@everymatrix/casino-header-controller 1.38.0 → 1.39.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
|
|
1
|
-
|
2
|
-
`}var u,h=c+`100% {${
|
3
|
-
}`,s=`__svelte_${function(e){let t=5381,r=e.length;for(;r--;)t=(t<<5)-t^e.charCodeAt(r);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+` ${n}ms linear ${o}ms 1 both`,V+=1,s}function Z(e){W=e}function we(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 M(e){K.push(e)}const ee=new Set;let te,re=0;function p(){if(0===re){const n=W;do{try{for(;re<Y.length;){const n=Y[re];re++,Z(n),e=t=void 0;var e,t=n.$$;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(M))}}catch(n){throw Y.length=0,re=0,n}for(Z(null),Y.length=0,re=0;me.length;)me.pop()();for(let e=0;e<K.length;e+=1){var r=K[e];ee.has(r)||(ee.add(r),r())}}while(K.length=0,Y.length);for(;J.length;)J.pop()();q=!1,ee.clear(),Z(n)}}function ne(e,t,r){var n;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:r=!1}={}]=[(t?"intro":"outro")+r],(n=document.createEvent("CustomEvent")).initCustomEvent(e,t,r,void 0),n))}const oe=new Set;let pe;function de(e,t){e&&e.i&&(oe.delete(e),e.i(t))}function fe(e,t,r,n){e&&e.o?oe.has(e)||(oe.add(e),pe.c.push(()=>{oe.delete(e),n&&(r&&e.d(1),n())}),e.o(t)):n&&n()}const ge={duration:0};function xe(l,e,t,r){const n={direction:"both"};let c=e(l,t,n),u=r?0:1,h=null,p=null,d=null;function f(){var e,t,r,n;d&&(e=l,t=d,r=(e.style.animation||"").split(", "),n=r.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(r=r.length-n.length)||(e.style.animation=n.join(", "),V-=r)||k(()=>{V||(z.forEach(e=>{e=e.stylesheet.ownerNode;e&&se(e)}),z.clear())}))}function g(e,t){var r=e.b-u;return t*=Math.abs(r),{a:u,b:e.b,d:r,duration:t,start:e.start,end:e.start+t,group:e.group}}function o(e){const{delay:t=0,duration:r=300,easing:n=x,tick:o=v,css:i}=c||ge,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,r,t,n,i)),e&&o(0,1),h=g(a,r),M(()=>ne(l,e,"start"));{var s=e=>{return p&&e>p.start&&(h=g(p,r),p=null,ne(l,h.b,"start"),i)&&(f(),d=X(l,u,h.b,h.duration,0,n,c.css)),h&&(e>=h.end?(o(u=h.b,1-u),ne(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*n(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){T(c)?(te||(te=Promise.resolve()).then(()=>{te=null}),te.then(()=>{c=c(n),o(e)})):o(e)},end(){f(),h=p=null}}}function Ee(e,t){e.d(1),t.delete(e.key)}function Ce(t,r,n,o,i,a,s,l,e,c,u,h){let p=t.length,d=a.length,f=p;for(var g={};f--;)g[t[f].key]=f;var m=[],y=new Map,b=new Map,v=[];for(f=d;f--;){const t=h(i,a,f),P=n(t);let e=s.get(P);e?o&&v.push(()=>e.p(t,r)):(e=c(P,t)).c(),y.set(P,m[f]=e),P in g&&b.set(P,Math.abs(f-g[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 r=m[d-1],n=t[p-1],o=r.key,P=n.key;r===n?(u=r.first,p--,d--):y.has(P)?!s.has(o)||w.has(o)?E(r):x.has(P)?p--:b.get(o)>b.get(P)?(x.add(o),E(r)):(w.add(P),p--):(e(n,s),p--)}for(;p--;){const r=t[p];y.has(r.key)||e(r,s)}for(;d;)E(m[d-1]);return P(v),m}function Be(n,e,t,r,o,i,a,s=[-1]){var l=W;Z(n);const c=n.$$={fragment:null,ctx:[],props:i,update:v,not_equal:o,bound:C(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:C(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(n,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u)&&(r=e,-1===(e=n).$$.dirty[0]&&(Y.push(e),q||(q=!0,Q.then(p)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],c.update(),u=!0,P(c.before_update),c.fragment=!!r&&r(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(n.$$.fragment);var h=n,s=e.target,a=e.anchor,t=e.customElement,{fragment:r,after_update:i}=h.$$;r&&r.m(s,a),t||M(()=>{var e=h.$$.on_mount.map(E).filter(T);h.$$.on_destroy?h.$$.on_destroy.push(...e):P(e),h.$$.on_mount=[]}),i.forEach(M),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(T);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){P(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const n=[],o=[];K.forEach(e=>(-1===r.indexOf(e)?n:o).push(e)),o.forEach(e=>e()),K=n}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(t))return v;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var Te,$e,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Se="URLSearchParams"in l,Ae="Symbol"in l&&"iterator"in Symbol,He="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 Fe(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 Le(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(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function Re(e){var t=new FileReader,r=ke(t);return t.readAsArrayBuffer(e),r}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:He&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:_e&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Se&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ie&&He&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=De(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ie&&(ArrayBuffer.prototype.isPrototypeOf(e)||$e(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):Se&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},He&&(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(He)return this.blob().then(Re);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,n=Oe(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=ke(e),r=(r=/charset=([A-Za-z0-9_-]+)/.exec(n.type))?r[1]:"utf-8",e.readAsText(n,r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.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&&(Te=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],$e=ArrayBuffer.isView||function(e){return e&&-1<Te.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=Fe(e),t=Le(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},u.prototype.delete=function(e){delete this.map[Fe(e)]},u.prototype.get=function(e){return e=Fe(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(Fe(e))},u.prototype.set=function(e,t){this.map[Fe(e)]=Le(t)},u.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},u.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),Pe(r)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Pe(t)},u.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),Pe(r)},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 r,n=(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,n||null==e._bodyInit||(n=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=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<Ue.indexOf(r)?r: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)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ge(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}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(n,s){return new Promise(function(o,e){var i=new je(n,s);if(i.signal&&i.signal.aborted)return e(new We("Aborted","AbortError"));var r,a=new XMLHttpRequest;function t(){a.abort()}a.onload=function(){var e,n,t={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=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(":"),r=t.shift().trim();if(r){t=t.join(":").trim();try{n.append(r,t)}catch(e){console.warn("Response "+e.message)}}}),n)},r=(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(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request 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&&(He?a.responseType="blob":Ie&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof u||l.Headers&&s.headers instanceof l.Headers)?(r=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){r.push(Fe(e)),a.setRequestHeader(e,Le(s.headers[e]))}),i.headers.forEach(function(e,t){-1===r.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,r){return e(r={path:t,exports:{},require:function(e,t){throw null==t&&r.path,new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}},r.exports),r.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 r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(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 r(){this.constructor=e}Ye(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Je(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qe(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function qe(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||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 rt(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,n,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){r={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(o)throw new tt(o)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)at(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&rt(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&rt(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((o=new r).closed=!0,o);var nt=r,ot=nt.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function it(e){return e instanceof nt||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 r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=ut.delegate;return null!=o&&o.setTimeout?o.setTimeout.apply(o,qe([e,t],Qe(r))):setTimeout.apply(void 0,qe([e,t],Qe(r)))},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,r=t.errorThrown,t=t.error;if(pt=null,r)throw t}}else e()}Ke(n,ft=nt),n.create=function(e,t,r){return new wt(e,t,r)},n.prototype.next=function(e){this.isStopped||this._next(e)},n.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ft.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(e){this.destination.next(e)},n.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ft,gt=n,mt=Function.prototype.bind;function n(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 mt.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=gt),xt);function xt(e,t,r){var n=bt.call(this)||this,r=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:n&&ct?((t=Object.create(e)).unsubscribe=function(){return n.unsubscribe()},{next:e.next&&yt(e.next,t),error:e.error&&yt(e.error,t),complete:e.complete&&yt(e.complete,t)}):e;return n.destination=new vt(r),n}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,r){var n,o=this,i=(n=e)&&n instanceof gt||n&&d(n.next)&&d(n.error)&&d(n.complete)&&it(n)?e:new wt(e,t,r);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(n,e){var o=this;return new(e=Tt(e))(function(e,t){var r=new wt({next:function(e){try{n(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});o.subscribe(r)})},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=[],r=0;r<arguments.length;r++)e[r]=arguments[r];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 n=this;return new(e=Tt(e))(function(e,t){var r;n.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},i.create=function(e){return new i(e)};var Mt=i;function i(e){e&&(this._subscribe=e)}function Tt(e){return null!=(e=null!=e?e:st)?e:Promise}var $t,St,At,Ht=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 Ht},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 r=Je(i.currentObservers),n=r.next();!n.done;n=r.next())n.value.next(o)}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var r=this;dt(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.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,r=this.hasError,n=this.isStopped,o=this.observers;return r||n?ot:(this.currentObservers=null,o.push(e),new nt(function(){t.currentObservers=null,rt(o,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&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,St=o),Pt.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},Pt.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.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},Ft=(Ke(Lt,$t=o),Lt.prototype.next=function(e){var t=this,r=t.isStopped,n=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;r||(n.push(e),o)||n.push(i.now()+t),this._trimBuffer(),$t.prototype.next.call(this,e)},Lt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},Lt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,o=(n?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var i=t.now(),a=0,s=1;s<r.length&&r[s]<=i;s+=2)a=s;a&&r.splice(0,a+1)}},Lt);function Lt(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=It);var n=$t.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function Pt(e,t){var r=St.call(this)||this;return r.destination=e,r.source=t,r}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(n,o=v){let i;const a=new Set;function s(e){if($(n,e)&&(n=e,i)){const e=!Rt.length;for(const e of a)e[1](),Rt.push(e,n);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(n))},subscribe:function(e,t=v){const r=[e,t];return a.add(r),1===a.size&&(i=o(s)||v),e(n),()=>{a.delete(r),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 r=!1;const n=[];let o=0,i=v;const a=()=>{var e;o||(i(),e=s(l?n[0]:n,t),u?t(e):i=T(e)?e:v)},e=c.map((e,t)=>A(e,e=>{n[t]=e,o&=~(1<<t),r&&a()},()=>{o|=1<<t}));return r=!0,a(),function(){P(e),i(),r=!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,r){return e.concat(t).map(function(e){return Gt(e,r)})}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(n,o,i){var a={};return i.isMergeableObject(n)&&Wt(n).forEach(function(e){a[e]=Gt(n[e],i)}),Wt(o).forEach(function(e){var t,r;(!Vt(t=n,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(Vt(n,e)&&i.isMergeableObject(o[e])?a[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Zt)(n[e],o[e],i):a[e]=Gt(o[e],i))}),a}function Zt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||zt,r.isMergeableObject=r.isMergeableObject||Ut,r.cloneUnlessOtherwiseSpecified=Gt;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):Xt(e,t,r):Gt(t,r)}Zt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Zt(e,t,r)},{});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 r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(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 r(){this.constructor=e}Kt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var g,y,Qt,m=function(){return(m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function qt(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function er(e){return e.type===y.literal}function tr(e){return e.type===y.number}function rr(e){return e.type===y.date}function nr(e){return e.type===y.time}function or(e){return e.type===y.select}function ir(e){return e.type===y.plural}function ar(e){return e.type===y.tag}function sr(e){return e&&"object"==typeof e&&e.type===Qt.number}function lr(e){return e&&"object"==typeof e&&e.type===Qt.dateTime}(o=g=g||{})[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]/,cr=/(?:[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 ur=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,hr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,pr=/^(@+)?(\+|#+)?[rs]?$/g,dr=/(\*)(0+)|(#+)(0+)|(0+)/g,fr=/^(0+)$/;function gr(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(pr,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function mr(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 yr(e){return mr(e)||{}}function br(e){for(var a={},t=0,r=e;t<r.length;t++){var n,o=r[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=m(m(m({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return m(m({},e),yr(t))},{}));continue;case"engineering":a=m(m(m({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return m(m({},e),yr(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(dr,function(e,t,r,n,o,i){if(t)a.minimumIntegerDigits=r.length;else{if(n&&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(fr.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(hr.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(hr,function(e,t,r,n,o,i){return"*"===r?a.minimumFractionDigits=t.length:n&&"#"===n[0]?a.maximumFractionDigits=n.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=m(m({},a),{trailingZeroDisplay:"stripIfInteger"}):i&&(a=m(m({},a),gr(i)))}else pr.test(o.stem)?a=m(m({},a),gr(o.stem)):((i=mr(o.stem))&&(a=m(m({},a),i)),(n=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 r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!fr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=m(m({},a),n)))}return a}var vr={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 wr=new RegExp("^".concat(o.source,"*")),xr=new RegExp("".concat(o.source,"*$"));function b(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,Er=!!String.fromCodePoint,Cr=!!Object.fromEntries,Br=!!String.prototype.codePointAt,Mr=!!String.prototype.trimStart,Tr=!!String.prototype.trimEnd,$r=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Sr=!0;try{Sr="a"===(null==(Yr=kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Yr[0])}catch(v){Sr=!1}var Ar,Hr,_r=o?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ir=Er?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,i=0;i<o;){if(1114111<(r=e[i++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Fr=Cr?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],i=o[0],o=o[1];t[i]=o}return t},Lr=Br?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0||n<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===n||(n=e.charCodeAt(t+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536},Pr=Mr?function(e){return e.trimStart()}:function(e){return e.replace(wr,"")},Or=Tr?function(e){return e.trimEnd()}:function(e){return e.replace(xr,"")};function kr(e,t){return new RegExp(e,t)}Hr=Sr?(Ar=kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Ar.lastIndex=t,null!=(t=Ar.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var o=Lr(e,t);if(void 0===o||Nr(o)||33<=(r=o)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;n.push(o),t+=65536<=o?2:1}return Ir.apply(void 0,n)};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,r){for(var n=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.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(r)break;return this.error(g.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Dr(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o}else if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}else{i=this.clonePosition();this.bump(),n.push({type:y.pound,location:b(i,this.clonePosition())})}}}return{val:n,err:null}},s.prototype.parseTag=function(e,t){var r,n=this.clonePosition(),o=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(o,"/>"),location:b(n,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()||!Dr(this.char())?this.error(g.INVALID_TAG,b(e,this.clonePosition())):(r=this.clonePosition(),o!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,b(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:o,children:t,location:b(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,b(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,b(n,this.clonePosition()))):this.error(g.INVALID_TAG,b(n,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 r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{o=this.tryParseUnquoted(e,t);if(o)n+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}r=b(r,this.clonePosition());return{val:{type:y.literal,value:n,location:r},err:null}},s.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Dr(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 r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ir.apply(void 0,t)},s.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Ir(r))},s.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,b(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(g.MALFORMED_ARGUMENT,b(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:n,location:b(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(g.MALFORMED_ARGUMENT,b(r,this.clonePosition()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Hr(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:b(e,this.clonePosition())}},s.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(g.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=Or(h.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(n)).err?c:(d=b(n,this.clonePosition()),l&&_r(null==l?void 0:l.style,"::",0)?(f=Pr(l.style.slice(2)),"number"===a?(h=this.parseNumberSkeletonFromString(f,l.styleLocation)).err?h:{val:{type:y.number,value:r,location:d,style:h.val},err:null}:0===f.length?this.error(g.EXPECT_DATE_TIME_SKELETON,d):(u=f,this.locale&&(u=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e.charAt(n);if("j"===o){for(var i=0;n+1<e.length&&e.charAt(n+1)===o;)i++,n++;var a=1+(1&i),s=i<2?1:3+(i>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(vr[t||""]||vr[r||""]||vr["".concat(r,"-001")]||vr["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===o?"H":o}return r}(f,this.locale)),p={type:Qt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},u.replace(cr,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:r,location:d,style:p},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:r,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(g.EXPECT_SELECT_ARGUMENT_OPTIONS,b(u,m({},u)));this.bumpSpace();var h,p=this.parseIdentifierIfPossible(),d=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.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(n)).err?c:(f=b(n,this.clonePosition()),"select"===a?{val:{type:y.select,value:r,options:Fr(l.val),location:f},err:null}:{val:{type:y.plural,value:r,options:Fr(l.val),offset:d,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,b(i,s))}},s.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},s.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,b(r,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 r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(ur).filter(function(e){return 0<e.length});r<n.length;r++){var o=n[r].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(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:Qt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?br(r):{}},err:null}},s.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o=!1,i=[],a=new Set,s=n.value,l=n.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=b(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);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?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(g.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:i,err:null}},s.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-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()}n=b(n,this.clonePosition());return o?$r(i*=r)?{val:i,err:null}:this.error(t,n):this.error(e,n)},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=Lr(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(_r(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()&&Nr(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 Rr=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 Dr(e){return 97<=e&&e<=122||65<=e&&e<=90}function Nr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Ur(e,t){t=m({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Rr(e,t).parse();if(e.err)throw(r=SyntaxError(g[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,or(e)||ir(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else tr(e)&&sr(e.style)||(rr(e)||nr(e))&&lr(e.style)?delete e.style.location:ar(e)&&r(e.children)})}(e.val),e.val}function jr(e,t){var r=t&&t.cache?t.cache:Kr,n=t&&t.serializer?t.serializer:Vr;return(t&&t.strategy?t.strategy:function(e,t){return Wr(e,this,1===e.length?Gr:zr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function Gr(e,t,r,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(r);return void 0===o&&(o=e.call(this,n),t.set(r,o)),o}function zr(e,t,r){var n=Array.prototype.slice.call(arguments,3),r=r(n),o=t.get(r);return void 0===o&&(o=e.apply(this,n),t.set(r,o)),o}function Wr(e,t,r,n,o){return r.bind(t,e,n,o)}var Vr=function(){return JSON.stringify(arguments)};function Xr(){this.cache=Object.create(null)}Xr.prototype.get=function(e){return this.cache[e]},Xr.prototype.set=function(e,t){this.cache[e]=t};var Zr,Yr,Kr={create:function(){return new Xr}},Jr={variadic:function(e,t){return Wr(e,this,zr,t.cache.create(),t.serializer)},monadic:function(e,t){return Wr(e,this,Gr,t.cache.create(),t.serializer)}};(Yr=Zr=Zr||{}).MISSING_VALUE="MISSING_VALUE",Yr.INVALID_VALUE="INVALID_VALUE",Yr.MISSING_INTL_API="MISSING_INTL_API";Jt(un,tn=Error),un.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var w,Qr,qr,en,tn,rn=un,nn=(Jt(cn,en=rn),cn),on=(Jt(ln,qr=rn),ln),an=(Jt(sn,Qr=rn),sn);function sn(e,t){return Qr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Zr.MISSING_VALUE,t)||this}function ln(e,t,r){return qr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Zr.INVALID_VALUE,r)||this}function cn(e,t,r,n){return en.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Zr.INVALID_VALUE,n)||this}function un(e,t,r){e=tn.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function hn(e,t,r,n,o,i,a){if(1===e.length&&er(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(er(u))s.push({type:w.literal,value:u.value});else if(u.type===y.pound)"number"==typeof i&&s.push({type:w.literal,value:r.getNumberFormat(t).format(i)});else{var h=u.value;if(!(o&&h in o))throw new an(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(rr(u)){var p="string"==typeof u.style?n.date[u.style]:lr(u.style)?u.style.parsedOptions:void 0;s.push({type:w.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(nr(u))p="string"==typeof u.style?n.time[u.style]:lr(u.style)?u.style.parsedOptions:n.time.medium,s.push({type:w.literal,value:r.getDateTimeFormat(t,p).format(h)});else if(tr(u))(p="string"==typeof u.style?n.number[u.style]:sr(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:w.literal,value:r.getNumberFormat(t,p).format(h)});else{if(ar(u)){var d=u.children,f=u.value,g=o[f];if("function"!=typeof g)throw new on(f,"function",a);f=g(hn(d,t,r,n,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(or(u)){if(!(m=u.options[h]||u.options.other))throw new nn(u.value,h,Object.keys(u.options),a);s.push.apply(s,hn(m.value,t,r,n,o))}else if(ir(u)){if(!(m=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new rn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Zr.MISSING_INTL_API,a);var g=r.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),m=u.options[g]||u.options.other}if(!m)throw new nn(u.value,h,Object.keys(u.options),a);s.push.apply(s,hn(m.value,t,r,n,o,h-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===w.literal&&t.type===w.literal?r.value+=t.value:e.push(t),e},[])}function pn(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[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=Ur,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 dn=f;function f(e,t,r,n){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 hn(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==n?void 0:n.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=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=i[t])?m(m(m({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=m(m({},r[t]),n[t]||{}),e},{})):r),e},m({},o)):o),this.formatters=n&&n.formatters||{getNumberFormat:jr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,qt([void 0],t,!1)))},{cache:pn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Jr.variadic}),getDateTimeFormat:jr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,qt([void 0],t,!1)))},{cache:pn(t.dateTime),strategy:Jr.variadic}),getPluralRules:jr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,qt([void 0],t,!1)))},{cache:pn(t.pluralRules),strategy:Jr.variadic})}}const fn={},gn=(e,t,r)=>r&&(t in fn||(fn[t]={}),e in fn[t]||(fn[t][e]=r),r),mn=(t,r)=>{if(null!=r){if(r in fn&&t in fn[r])return fn[r][t];var n=On(r);for(let e=0;e<n.length;e++){var o=function(e,t){if(!vn(e))return null;e=function(e){return yn[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var n=r.split(".");let t=e;for(let e=0;e<n.length;e++)if("object"==typeof t){if(0<e){const r=n.slice(e,n.length).join(".");if(r in t){t=t[r];break}}t=t[n[e]]}else t=void 0;return t}}}(n[e],t);if(o)return gn(t,r,o)}}};let yn;const bn=Dt({});function vn(e){return e in yn}function wn(t,...r){delete fn[t],bn.update(e=>(e[t]=Yt.all([e[t]||{},...r]),e))}Nt([bn],([e])=>Object.keys(e)),bn.subscribe(e=>yn=e);const xn={};function En(e){return xn[e]}function Cn(e){return null!=e&&On(e).some(e=>{return null==(e=En(e))?void 0:e.size})}function Bn(n,e){return Promise.all(e.map(e=>{return t=n,r=e,xn[t].delete(r),0===xn[t].size&&delete xn[t],e().then(e=>e.default||e);var t,r})).then(e=>wn(n,...e))}const Mn={};const Tn={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 $n=Dt(!1);var Sn=Object.defineProperty,Er=Object.defineProperties,Cr=Object.getOwnPropertyDescriptors,An=Object.getOwnPropertySymbols,Hn=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,In=(e,t,r)=>t in e?Sn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let Fn;const Ln=Dt(null);function Pn(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function On(e,t=Tn.fallbackLocale){e=Pn(e);return t?[...new Set([...e,...Pn(t)])]:e}function kn(){return null!=Fn?Fn:void 0}Ln.subscribe(e=>{Fn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ye=Er(((e,t)=>{for(var r in t=t||{})Hn.call(t,r)&&In(e,r,t[r]);if(An)for(var r of An(t))_n.call(t,r)&&In(e,r,t[r]);return e})({},Ln),Cr({set:t=>{if(t&&function(e){if(null!=e){var t=On(e);for(let e=0;e<t.length;e++){var r=t[e];if(vn(r))return r}}}(t)&&Cn(t)){var r=Tn["loadingDelay"];let e;return"undefined"!=typeof window&&null!=kn()&&r?e=window.setTimeout(()=>$n.set(!0),r):$n.set(!0),function e(t){var r;return Cn(t)?(r=On(t).map(e=>{var t=En(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Mn[t]=Promise.all(r.map(([e,t])=>Bn(e,t))).then(()=>{if(Cn(t))return e(t);delete Mn[t]}),Mn[t]):t in Mn?Mn[t]:Promise.resolve()}(t).then(()=>{Ln.set(t)}).finally(()=>{clearTimeout(e),$n.set(!1)})}return Ln.set(t)}}));var Br=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Rn=Object.defineProperty,Dn=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable,jn=(e,t,r)=>t in e?Rn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Gn=(e,t)=>{for(var r in t=t||{})Nn.call(t,r)&&jn(e,r,t[r]);if(Dn)for(var r of Dn(t))Un.call(t,r)&&jn(e,r,t[r]);return e},zn=(e,t)=>{var r={};for(n in e)Nn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Dn)for(var n of Dn(e))t.indexOf(n)<0&&Un.call(e,n)&&(r[n]=e[n]);return r};const Wn=(e,t)=>{var r=Tn["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Vn=Br(e=>{var{locale:t,format:r}=e,e=zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Wn("number",r)),new Intl.NumberFormat(t,e)}),Xn=Br(e=>{var{locale:t,format:r}=e,e=zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Wn("date",r):0===Object.keys(e).length&&(e=Wn("date","short")),new Intl.DateTimeFormat(t,e)}),Zn=Br(e=>{var{locale:t,format:r}=e,e=zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Wn("time",r):0===Object.keys(e).length&&(e=Wn("time","short")),new Intl.DateTimeFormat(t,e)}),Yn=Br((e,t=kn())=>new dn(e,t,Tn.formats,{ignoreTag:Tn.ignoreTag})),Kn=Nt([ye,bn],()=>(e,t={})=>{var r,n;let o=t;"object"==typeof e&&(e=(o=e).id);var{values:i,locale:a=kn(),default:s}=o;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=mn(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!=(n=null!=(r=null==(r=(n=Tn).handleMissingMessage)?void 0:r.call(n,{locale:a,id:e,defaultValue:s}))?r:s)?n:e;if(!i)return l;let c=l;try{c=Yn(l,a).format(i)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Jn=(Nt([ye],()=>(e,t)=>((e={})=>{var{locale:t=kn()}=e,e=zn(e,["locale"]);return Zn(Gn({locale:t},e))})(t).format(e)),Nt([ye],()=>(e,t)=>((e={})=>{var{locale:t=kn()}=e,e=zn(e,["locale"]);return Xn(Gn({locale:t},e))})(t).format(e)),Nt([ye],()=>(e,t)=>((e={})=>{var{locale:t=kn()}=e,e=zn(e,["locale"]);return Vn(Gn({locale:t},e))})(t).format(e)),Nt([ye,bn],()=>(e,t=kn())=>mn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ot.indexOf(e)&&(t=new Ft(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))),Qn=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function qn(e,t){wn(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ş",register:"Kayıt",deposit:"Yatır",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"},"pt-br":{login:"Entrar",register:"Registro",deposit:"Depósito",promotions:"Promoções"},"es-mx":{login:"Ingresar",register:"Registro",deposit:"Depósito",promotions:"Promociones"}};function to(e,t){wn(e,t)}const ro={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş",register:"Kayıt",deposit:"Para Yatır"},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"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"}};function no(e,t,r){e=e.slice();return e[50]=t[r],e[52]=r,e}function oo(e,t,r){e=e.slice();return e[53]=t[r],e}function io(e,t,r){e=e.slice();return e[56]=t[r],e[58]=r,e}function ao(t){let n,o=[],r=new Map,i=t[9];const a=e=>e[50].id;for(let e=0;e<i.length;e+=1){var s=no(t,i,e),l=a(s);r.set(l,o[e]=go(l,s))}return{c(){for(let e=0;e<o.length;e+=1)o[e].c();n=c()},m(t,r){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,r);ae(t,n,r)},p(e,t){77775&t[0]&&(i=e[9],o=Ce(o,t,a,1,e,i,r,n.parentNode,Ee,go,n,no))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&se(n)}}}function so(e){let r,n,o=e[50].name+"";return{c(){r=le("button"),n=t(o),ue(r,"class","CategoryButton")},m(e,t){ae(e,r,t),ie(r,n)},p(e,t){512&t[0]&&o!==(o=e[50].name+"")&&he(n,o)},d(e){e&&se(r)}}}function lo(e){let r,n,o,i=e[50].label+"";return{c(){r=le("a"),n=t(i),ue(r,"href",o=e[50].path)},m(e,t){ae(e,r,t),ie(r,n)},p(e,t){512&t[0]&&i!==(i=e[50].label+"")&&he(n,i),512&t[0]&&o!==(o=e[50].path)&&ue(r,"href",o)},d(e){e&&se(r)}}}function co(e){let r,n=0<e[10].length&&"true"==e[2]&&uo(e);return{c(){n&&n.c(),r=c()},m(e,t){n&&n.m(e,t),ae(e,r,t)},p(e,t){0<e[10].length&&"true"==e[2]?n?n.p(e,t):((n=uo(e)).c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&se(r)}}}function uo(t){let o,i=t[10],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,r){if(10176&r[0]){let e;for(i=t[10],e=0;e<i.length;e+=1){var n=oo(t,i,e);a[e]?a[e].p(n,r):(a[e]=fo(n),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),F(a,e)}}}function ho(r){let n,o,i,a,s,l,c,u=r[56]?.name+"";function h(...e){return r[32](r[50],r[52],r[56],r[58],...e)}return{c(){n=le("li"),o=le("a"),i=t(u),s=ce(),ue(o,"class",a="SubDropDown "+(r[52]!=r[6]||r[7]!=r[58]&&r[8]!=r[58]?"":"active"))},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),ie(n,s),l||(c=O(n,"click",h),l=!0)},p(e,t){r=e,1024&t[0]&&u!==(u=r[56]?.name+"")&&he(i,u),1984&t[0]&&a!==(a="SubDropDown "+(r[52]!=r[6]||r[7]!=r[58]&&r[8]!=r[58]?"":"active"))&&ue(o,"class",a)},d(e){e&&se(n),l=!1,c()}}}function po(e,r){let n,o,i=r[52]==r[53].index&&ho(r);return{key:e,first:null,c(){n=c(),i&&i.c(),o=c(),this.first=n},m(e,t){ae(e,n,t),i&&i.m(e,t),ae(e,o,t)},p(e,t){(r=e)[52]==r[53].index?i?i.p(r,t):((i=ho(r)).c(),i.m(o.parentNode,o)):i&&(i.d(1),i=null)},d(e){e&&se(n),i&&i.d(e),e&&se(o)}}}function fo(t){let n,o=[],r=new Map,i=t[53].items;const a=e=>e[56].id;for(let e=0;e<i.length;e+=1){var s=io(t,i,e),l=a(s);r.set(l,o[e]=po(l,s))}return{c(){for(let e=0;e<o.length;e+=1)o[e].c();n=c()},m(t,r){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,r);ae(t,n,r)},p(e,t){10176&t[0]&&(i=e[53].items,o=Ce(o,t,a,1,e,i,r,n.parentNode,Ee,po,n,io))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&se(n)}}}function go(e,r){let n,o,i,a,s,l,c,u,h,p,d;function f(e){return"headerMain"===e[0]?lo:so}let g=f(r),m=g(r),y=1==r[11][r[52]]&&co(r);function b(...e){return r[33](r[50],r[52],...e)}return{key:e,first:null,c(){n=le("li"),o=le("div"),i=le("img"),l=ce(),m.c(),c=ce(),y&&y.c(),u=ce(),ue(i,"class",a="CategoryIconImg "+("true"===r[3]?"":"DisplayNone")),B(i.src,s=r[16](r[50]))||ue(i,"src",s),ue(o,"class","CategoryIcon"),ue(n,"class",h="CarouselItem "+(-1<r[1]?.toString().indexOf("$")?r[1]?.split("$").pop()==r[50].id.split("$").pop()?"active":"":r[1]==r[50].id?"active":"")+" "+("headerMain"==r[0]?"":"SecondaryMenu")),ue(n,"part","CarouselItem"),this.first=n},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),ie(n,l),m.m(n,null),ie(n,c),y&&y.m(n,null),ie(n,u),p||(d=O(n,"click",b),p=!0)},p(e,t){r=e,8&t[0]&&a!==(a="CategoryIconImg "+("true"===r[3]?"":"DisplayNone"))&&ue(i,"class",a),512&t[0]&&!B(i.src,s=r[16](r[50]))&&ue(i,"src",s),g===(g=f(r))&&m?m.p(r,t):(m.d(1),(m=g(r))&&(m.c(),m.m(n,c))),1==r[11][r[52]]?y?y.p(r,t):((y=co(r)).c(),y.m(n,u)):y&&(y.d(1),y=null),515&t[0]&&h!==(h="CarouselItem "+(-1<r[1]?.toString().indexOf("$")?r[1]?.split("$").pop()==r[50].id.split("$").pop()?"active":"":r[1]==r[50].id?"active":"")+" "+("headerMain"==r[0]?"":"SecondaryMenu"))&&ue(n,"class",h)},d(e){e&&se(n),m.d(),y&&y.d(),p=!1,d()}}}function mo(r){let n,o,i,a,s,l,c,u,h,p,d,f,g,m,y,b=0<r[9].length&&ao(r);return{c(){n=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"===r[0]?"CarouselContainerHeaderMain":"")),ue(o,"style",f="headerMain"===r[0]?"max-width: auto":void 0),ue(n,"class",g="CarouselWrapper "+("headerMain"===r[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),ie(o,a),ie(o,s),ie(s,l),ie(l,c),ie(l,u),b&&b.m(l,null),r[34](l),r[35](s),ie(o,h),ie(o,p),r[37](n),m||(y=[O(i,"click",r[31]),O(p,"click",r[36])],m=!0)},p(e,t){0<e[9].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),1&t[0]&&f!==(f="headerMain"===e[0]?"max-width: auto":void 0)&&ue(o,"style",f),1&t[0]&&g!==(g="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&ue(n,"class",g)},i:v,o:v,d(e){e&&se(n),b&&b.d(),r[34](null),r[35](null),r[37](null),m=!1,P(y)}}}function yo(t,e,i){let{endpoint:a=""}=e,{datasource:s=""}=e,{onclickeventname:r="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:n="0"}=e,{location:c=""}=e,{clientstyling:o=""}=e,{clientstylingurl:u=""}=e,{identity:h=""}=e,{translationurl:p=""}=e,{isprimarymenu:d=!1}=e,{issecondarymenu:f=!1}=e,{lang:g=""}=e,{activeindex:m="0"}=e,{showsubgroups:y="false"}=e,{categoriesicon:b="false"}=e,{lobbyiconimage:v=""}=e,{mygamesiconimage:w=""}=e;var x,E;({withLocale:x,translations:E}={withLocale:"en",translations:{}}),ye.subscribe(e=>{null==e&&(bn.set(E),ye.set(x))}),Object.keys(ro).forEach(e=>{to(e,ro[e])});let C,B,M,T,$,O=window.navigator.userAgent;Qn(O);let S,A=[],H=[],_=[],I=(e,t,r,n,o)=>{e.subGroups&&null===n||(P(),i(6,B=t),i(6,B),"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(7,M=null),i(8,T=null)):(i(7,M=n),i(7,M),i(8,T=M),window.postMessage({type:l,itemId:r.id,subIndex:n,subItem:r},window.location.href)))},F=()=>{S.scrollBy({left:-250,behavior:"smooth"})},L=()=>{S.scrollBy({left:250,behavior:"smooth"})};const k=e=>{"SliderData"==e.data.type&&e.data.identity==h&&(i(9,A=e.data.data),i(11,_=new Array(A.length).fill(!1)),"true"==y)&&A.forEach((e,t)=>{var n,o,r;0<(null==(r=null==e?void 0:e.subGroups)?void 0:r.count)&&(i(11,_[t]=!0,_),n=e,o=t,"secondaryMenu"==c&&a&&s&&g&&n.id&&(r=new URL(`${a}/v1/casino/groups/${s}/${n.id}/subGroups?language=`+g),fetch(r.href).then(e=>e.json()).then(e=>{e.index=o,i(10,H=H.concat(e)),"false"==y&&window.postMessage({type:l,itemId:n.id,index:o,item:n},window.location.href);const r=[];H.map(e=>(e.items.forEach(t=>{r.find(e=>t.id==e)||r.push(t.id)}),r.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:r},window.location.href)}).then(()=>{C.querySelectorAll(".DropDown")&&P()})),"headerMain"==c)&&window.postMessage({type:l,item:n},window.location.href)}),"GoToHomepage"==e.data.type&&A.forEach((e,t)=>{e.path.endsWith("/casino")&&(i(6,B=t),i(6,B))})},P=()=>{var t=C.querySelectorAll(".DropDown");document.activeElement.blur(),S.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+S.scrollLeft+"px)";S.classList.remove("isScrolling")};return we(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",k,!1),setTimeout(()=>{S.addEventListener("scroll",P)},500),()=>{window.removeEventListener("message",k),C.removeEventListener("scroll",P)})),t.$$set=e=>{"endpoint"in e&&i(17,a=e.endpoint),"datasource"in e&&i(18,s=e.datasource),"onclickeventname"in e&&i(19,r=e.onclickeventname),"actionevent"in e&&i(20,l=e.actionevent),"favoritesnumber"in e&&i(21,n=e.favoritesnumber),"location"in e&&i(0,c=e.location),"clientstyling"in e&&i(22,o=e.clientstyling),"clientstylingurl"in e&&i(23,u=e.clientstylingurl),"identity"in e&&i(24,h=e.identity),"translationurl"in e&&i(25,p=e.translationurl),"isprimarymenu"in e&&i(26,d=e.isprimarymenu),"issecondarymenu"in e&&i(27,f=e.issecondarymenu),"lang"in e&&i(28,g=e.lang),"activeindex"in e&&i(1,m=e.activeindex),"showsubgroups"in e&&i(2,y=e.showsubgroups),"categoriesicon"in e&&i(3,b=e.categoriesicon),"lobbyiconimage"in e&&i(29,v=e.lobbyiconimage),"mygamesiconimage"in e&&i(30,w=e.mygamesiconimage)},t.$$.update=()=>{if(t.$$.dirty[0],33554432&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)}),4194320&t.$$.dirty[0]&&o&&$&&((e=document.createElement("style")).innerHTML=o,$.appendChild(e)),8388624&t.$$.dirty[0]&&u&&$){let t=document.createElement("style"),e=new URL(u);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&g&&(e=g,ye.set(e))},[c,m,y,b,$,C,B,M,T,A,H,_,S,I,F,L,e=>{let t="";return"LOBBY"===e.id?t=v:"MYGAMES"===e.id&&(t=w),e.icon||t},a,s,r,l,n,o,u,h,p,d,f,g,v,w,()=>F(),(e,t,r,n,o)=>{I(e,t,r,n,"secondary"),o.stopPropagation()},(e,t,r)=>{I(e,t,null,null,"main"),r.preventDefault()},function(e){me[e?"unshift":"push"](()=>{C=e,i(5,C)})},function(e){me[e?"unshift":"push"](()=>{S=e,i(12,S)})},()=>L(),function(e){me[e?"unshift":"push"](()=>{$=e,i(4,$)})}]}function bo(e,{delay:t=0,duration:r=400,easing:n=x}={}){const o=+getComputedStyle(e).opacity;return{delay:t,duration:r,easing:n,css:e=>"opacity: "+e*o}}function vo(e,t){wn(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;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.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 button{background:none;border:none;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.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,mo,$,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30},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","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups","categoriesicon","lobbyiconimage","mygamesiconimage"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),p()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),p()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),p()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),p()}get favoritesnumber(){return this.$$.ctx[21]}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[22]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),p()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),p()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),p()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),p()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),p()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),p()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),p()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),p()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),p()}get mygamesiconimage(){return this.$$.ctx[30]}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"},"pt-br":{language:"Escolha o seu idioma"},"es-mx":{language:"Escoger idioma"}};function xo(e,t,r){e=e.slice();return e[51]=t[r],e}function Eo(e,t,r){e=e.slice();return e[1]=t[r],e}function Co(e,t,r){e=e.slice();return e[54]=t[r],e}function Bo(e,t,r){e=e.slice();return e[57]=t[r],e}function Mo(r){let n,o,i,a,s,l,c,u,h,p,d,f,g,t,m,y,b,v=r[4],w=[];for(let e=0;e<v.length;e+=1)w[e]=To(Bo(r,v,e));let x=r[6],E=[];for(let e=0;e<x.length;e+=1)E[e]=$o(Co(r,x,e));let C=1<r[10].length&&So(r);return{c(){n=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=r[7]?"ModalCloseBtn":""),ue(o,"role","button"),ue(c,"class",u="HamburgerPrimaryMenu "+(r[8]?"HamburgerPrimaryMenuFixed":"")),ue(p,"class",d="HamburgerSecondaryMenu "+(r[8]?"HamburgerSecondaryMenuFixed":"")),ue(l,"class",g="HamburgerModalContainer "+(r[7]?"ActiveHamburgerMenu":"")),ue(n,"class","HamburgerModalWindow"),ue(n,"part","HamburgerModalWindow")},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),ie(n,s),ie(n,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),r[35](n),m=!0,y||(b=O(o,"click",r[14]),y=!0)},p(e,t){if(r=e,(!m||128&t[0]&&a!==(a=r[7]?"ModalCloseBtn":""))&&ue(o,"class",a),32816&t[0]){let e;for(v=r[4],e=0;e<v.length;e+=1){const o=Bo(r,v,e);w[e]?w[e].p(o,t):(w[e]=To(o),w[e].c(),w[e].m(c,null))}for(;e<w.length;e+=1)w[e].d(1);w.length=v.length}if((!m||256&t[0]&&u!==(u="HamburgerPrimaryMenu "+(r[8]?"HamburgerPrimaryMenuFixed":"")))&&ue(c,"class",u),65600&t[0]){let e;for(x=r[6],e=0;e<x.length;e+=1){const o=Co(r,x,e);E[e]?E[e].p(o,t):(E[e]=$o(o),E[e].c(),E[e].m(p,null))}for(;e<E.length;e+=1)E[e].d(1);E.length=x.length}(!m||256&t[0]&&d!==(d="HamburgerSecondaryMenu "+(r[8]?"HamburgerSecondaryMenuFixed":"")))&&ue(p,"class",d),1<r[10].length?C?C.p(r,t):((C=So(r)).c(),C.m(l,null)):C&&(C.d(1),C=null),(!m||128&t[0]&&g!==(g="HamburgerModalContainer "+(r[7]?"ActiveHamburgerMenu":"")))&&ue(l,"class",g)},i(e){m||(M(()=>{m&&(t=t||xe(n,bo,{transitionDuration:Po},!0)).run(1)}),m=!0)},o(e){(t=t||xe(n,bo,{transitionDuration:Po},!1)).run(0),m=!1},d(e){e&&se(n),F(w,e),F(E,e),C&&C.d(),r[35](null),e&&t&&t.end(),y=!1,b()}}}function To(r){let n,o,i,a,s,l,c,u,h,p,d=r[57].label+"";function f(){return r[29](r[57])}return{c(){n=le("li"),o=le("div"),i=le("img"),s=ce(),l=t(d),c=ce(),B(i.src,a=r[57].img)||ue(i,"src",a),ue(i,"alt","menu icon"),ue(o,"class","HamburgerItemContainer"),ue(n,"class",u=r[5]===r[57].id?"ActiveItem":"")},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),ie(o,s),ie(o,l),ie(n,c),h||(p=O(n,"click",f),h=!0)},p(e,t){r=e,16&t[0]&&!B(i.src,a=r[57].img)&&ue(i,"src",a),16&t[0]&&d!==(d=r[57].label+"")&&he(l,d),48&t[0]&&u!==(u=r[5]===r[57].id?"ActiveItem":"")&&ue(n,"class",u)},d(e){e&&se(n),h=!1,p()}}}function $o(r){let n,o,i,a,s,l,c,u,h=r[54].label+"";function p(...e){return r[30](r[54],...e)}return{c(){n=le("li"),o=le("img"),a=ce(),s=t(h),l=ce(),B(o.src,i=r[54].img)||ue(o,"src",i),ue(o,"alt","menu icon")},m(e,t){ae(e,n,t),ie(n,o),ie(n,a),ie(n,s),ie(n,l),c||(u=O(n,"click",p),c=!0)},p(e,t){r=e,64&t[0]&&!B(o.src,i=r[54].img)&&ue(o,"src",i),64&t[0]&&h!==(h=r[54].label+"")&&he(s,h)},d(e){e&&se(n),c=!1,u()}}}function So(e){let r,n,o,i,a=e[13]("language")+"";function s(e){return"true"!==e[0]?Ho:Ao}let l=s(e),c=l(e);return{c(){r=le("div"),n=le("span"),o=t(a),i=ce(),c.c(),ue(n,"class","LanguageSelect"),ue(r,"class","LanguageSelectorTitle")},m(e,t){ae(e,r,t),ie(r,n),ie(n,o),ie(r,i),c.m(r,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(r,null)))},d(e){e&&se(r),c.d()}}}function Ao(r){let n,o,i,a,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,E=r[12].slice(-2)+"",C=r[11]&&_o(r);return{c(){n=le("div"),o=le("div"),i=le("span"),a=le("img"),l=ce(),c=le("span"),u=t(E),h=ce(),p=le("span"),d=e("svg"),f=e("g"),g=e("g"),m=e("g"),y=e("path"),v=ce(),C&&C.c(),B(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[20](r[12].slice(-2))}.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(m,"transform","translate(56 160)"),ue(g,"fill","#000"),ue(g,"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 "+(r[11]?"TriangleActive":"")),ue(o,"class","SelectedOption Item ItemLanguage"),ue(n,"class","LanguageDropdown")},m(e,t){ae(e,n,t),ie(n,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,g),ie(g,m),ie(m,y),ie(n,v),C&&C.m(n,null),w||(x=O(o,"click",r[33]),w=!0)},p(e,t){5120&t[0]&&!B(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[20](e[12].slice(-2))}.svg`)&&ue(a,"src",s),4096&t[0]&&E!==(E=e[12].slice(-2)+"")&&he(u,E),2048&t[0]&&b!==(b="TriangleInactive "+(e[11]?"TriangleActive":""))&&ue(p,"class",b),e[11]?C?C.p(e,t):((C=_o(e)).c(),C.m(n,null)):C&&(C.d(1),C=null)},d(e){e&&se(n),C&&C.d(),w=!1,x()}}}function Ho(r){let o,n,i,a=r[10],s=[];for(let e=0;e<a.length;e+=1)s[e]=Fo(Eo(r,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===r[12]&&M(()=>r[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,r[12],!0),n||(i=[O(o,"change",r[31]),O(o,"change",r[32])],n=!0)},p(t,r){if(1024&r[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){var n=Eo(t,a,e);s[e]?s[e].p(n,r):(s[e]=Fo(n),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}5120&r[0]&&j(o,t[12])},d(e){e&&se(o),F(s,e),n=!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,r){if(1311744&r[0]){let e;for(i=t[10],e=0;e<i.length;e+=1){var n=xo(t,i,e);a[e]?a[e].p(n,r):(a[e]=Io(n),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),F(a,e)}}}function Io(r){let n,o,i,a,s,l,c,u,h,p,d=r[51]+"";function f(){return r[34](r[51])}return{c(){n=le("div"),o=le("span"),i=le("img"),s=ce(),l=le("span"),c=t(d),u=ce(),B(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[20](r[51])}.svg`)||ue(i,"src",a),ue(o,"class","FlagIcon"),ue(l,"class","LanguageName"),ue(n,"class","LanguageOption")},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),ie(n,s),ie(n,l),ie(l,c),ie(n,u),h||(p=O(n,"click",f),h=!0)},p(e,t){r=e,1024&t[0]&&!B(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[20](r[51])}.svg`)&&ue(i,"src",a),1024&t[0]&&d!==(d=r[51]+"")&&he(c,d)},d(e){e&&se(n),h=!1,p()}}}function Fo(e){let r,n,o,i=e[1].slice(-2)+"";return{c(){r=le("option"),n=t(i),r.__value=o=e[1],r.value=r.__value,r.selected=!0},m(e,t){ae(e,r,t),ie(r,n)},p(e,t){1024&t[0]&&i!==(i=e[1].slice(-2)+"")&&he(n,i),1024&t[0]&&o!==(o=e[1])&&(r.__value=o,r.value=r.__value)},d(e){e&&se(r)}}}function Lo(r){let n,o,i=!0===r[9]&&Mo(r);return{c(){n=le("div"),i&&i.c(),this.c=v},m(e,t){ae(e,n,t),i&&i.m(n,null),r[36](n),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(n,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(n),i&&i.d(),r[36](null)}}}let Po=350;function Oo(t,e,n){let r;be(t,Kn,e=>n(13,r=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:g=""}=e,O=window.navigator.userAgent,m=[],y="",b=[],v=!1,w=!1,x=!1,E=!0,C=[],B=!1,M=!1,T="";Object.keys(wo).forEach(e=>{vo(e,wo[e])});const $=()=>{n(9,x=!1),n(7,v=!1),n(8,w=!1),n(11,M=!1),window.postMessage({type:"CloseHamburgerMenu",showhamburger:!0},window.location.href)},S=e=>{var r;"OpenHamburgerMenuModal"===e.data.type&&(window.postMessage({type:"DisableScroll"},window.location.href),n(9,x=!0),setTimeout(()=>{n(7,v=!0)},500),setTimeout(()=>{n(8,w=!0)},1500),r=s,new Promise((e,t)=>{i&&!B?e(i):_(r)}))},A=(e,t)=>{n(5,y=e),n(6,b=t||[]),"function"==typeof gtag&>ag("event","ChangeMenu",{context:"HamburgerMenu",menuItem:""+y})},H=()=>{var e=m.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=>{n(4,m=e.filter(e=>"banner"!==(null==e?void 0:e.type))),H(),n(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),$()};const F=()=>{B=!0,window.postMessage({type:"LanguageChanged",selectedLanguage:T},window.location.href)},L=e=>{n(12,T=e),n(11,M=!1),F()},P=()=>{n(11,M=!M)};return we(()=>(window.addEventListener("message",S,!1),Jn(O),()=>{window.removeEventListener("message",S)})),t.$$set=e=>{"menuitemsurl"in e&&n(21,s=e.menuitemsurl),"lang"in e&&n(1,l=e.lang),"activecategory"in e&&n(22,c=e.activecategory),"languageslist"in e&&n(23,u=e.languageslist),"translationurl"in e&&n(24,h=e.translationurl),"clientstyling"in e&&n(25,p=e.clientstyling),"clientstylingurl"in e&&n(26,d=e.clientstylingurl),"customlocaleidentifier"in e&&n(27,f=e.customlocaleidentifier),"countryflaghamburger"in e&&n(0,g=e.countryflaghamburger)},t.$$.update=()=>{if(8388610&t.$$.dirty[0]&&l&&u&&(e=l,ye.set(e),B&&_(s),n(10,C=u.replace(/ /g,"").split(",")),n(10,C=C.map(e=>e.toUpperCase())),n(12,T=l.toUpperCase())),272629760&t.$$.dirty[0]&&c&&!E&&H(),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},[g,l,a,void 0,m,y,b,v,w,x,C,M,T,r,$,A,I,F,L,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(){T=ve(this),n(12,T),n(10,C)},()=>F(),()=>P(),e=>L(e),function(e){me[e?"unshift":"push"](()=>{o=e,n(3,o)})},function(e){me[e?"unshift":"push"](()=>{a=e,n(2,a)})}]}function ko(e,t){wn(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,Lo,$,{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:"Депозит"},"pt-br":{balanceTitle:"Seu balanço",totalBalance:"Balanço total",cashBalance:"Saldo de caixa",bonusBalance:"Saldo em títulos",depositButton:"Depósito"},"es-mx":{balanceTitle:"Su saldo",totalBalance:"Saldo total",cashBalance:"Saldo en efectivo",bonusBalance:"Saldo en bonos",depositButton:"Depósito"}};var Do=Ze(function(x,e){var n,t="undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:Xe:globalThis,_=t.setTimeout,I=t.clearTimeout,F=t.XMLHttpRequest,o=t.XDomainRequest,r=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 L(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 g(e){return e.replace(/[A-Z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+32)})}function m(e){for(var t=Object.create(null),r=e.split("\r\n"),n=0;n<r.length;n+=1){var o=r[n].split(": "),i=o.shift(),o=o.join(": ");t[g(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,r){try{"function"==typeof t&&t.call(e,r)}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==F&&null!=r&&(F=function(){return new r("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&&(n=p,p=function(e,t){var r=t.signal;return n(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then(function(e){var t=e.body.getReader();return r._reader=t,r._aborted&&r._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,r){if(1===r)return 128>>t<=e&&e<<t<=2047;if(2===r)return 2048>>t<=e&&e<<t<=55295||57344>>t<=e&&e<<t<=65535;if(3===r)return 65536>>t<=e&&e<<t<=1114111;throw new Error}function r(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 n="",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,r(o,i)))&&(o=0,i=65533,n+=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,r(o,i))||(o=0,i=65533)):(o-=6,i=i<<6|63&s),0===o&&(i<=65535?n+=String.fromCharCode(i):n=(n+=String.fromCharCode(55296+(i-65535-1>>10)))+String.fromCharCode(56320+(i-65535-1&1023)))}return this.bitsNeeded=o,this.codePoint=i,n},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),L.prototype.open=function(e,t){this._abort(!0);function r(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:u}),l(),1===a||2===a||3===a){if(a=4,0!==n&&(I(n),n=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,n=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!==n&&(I(n),n=0),e)||(o.readyState=4,o.onabort(null),o.onreadystatechange()),a=0},function(){if(1===a){var t=0,r="",n=void 0;if("contentType"in i)t=200,r="OK",n=i.contentType;else try{t=i.status,r=i.statusText,n=i.getResponseHeader("Content-Type")}catch(e){r="",n=void(t=0)}0!==t&&(a=2,o.readyState=2,o.status=t,o.statusText=r,o._contentType=n,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(){n=_(function(){c()},500),3===i.readyState&&l()};"onload"in i&&(i.onload=function(e){r("load",e)}),"onerror"in i&&(i.onerror=function(e){r("error",e)}),"onabort"in i&&(i.onabort=function(e){r("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||r(""===i.responseText?"error":"load",e):3===i.readyState?"onprogress"in i||l():2===i.readyState&&s())}),!("contentType"in i)&&"ontimeout"in F.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),i.open(e,t,!0),"readyState"in i&&(n=_(function(){c()},0))},L.prototype.abort=function(){this._abort(!1)},L.prototype.getResponseHeader=function(e){return this._contentType},L.prototype.setRequestHeader=function(e,t){var r=this._xhr;"setRequestHeader"in r&&r.setRequestHeader(e,t)},L.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},L.prototype.send=function(){if("ontimeout"in F.prototype&&("sendAsBinary"in F.prototype||"mozAnon"in F.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)}},m.prototype.get=function(e){return this._map[g(e)]},null!=F&&null==F.HEADERS_RECEIVED&&(F.HEADERS_RECEIVED=2),P.prototype.open=function(o,i,t,r,e,n,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(),r(new Error("NetworkError"))},o.onload=function(){r(null)},o.onabort=function(){r(null)},o.onreadystatechange=function(){var e,t,r,n;o.readyState===F.HEADERS_RECEIVED&&(e=o.status,t=o.statusText,r=o.getResponseHeader("Content-Type"),n=o.getAllResponseHeaders(),i(e,t,r,new m(n)))},o.withCredentials=n,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,r,n,i,a){var s=null,l=new f,c=l.signal,u=new d;return p(n,{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,r){function n(){s.read().then(function(e){e.done?t(void 0):(e=u.decode(e.value,{stream:!0}),o(e),n())}).catch(function(e){r(e)})}n()})}).catch(function(e){return"AbortError"===e.name?void 0:e}).then(function(e){r(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 r=t.length,n=0;n<r;n+=1){var o=t[n];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 r=this._listeners,n=r[e];null==n&&(r[e]=n=[]);for(var o=!1,i=0;i<n.length;i+=1)n[i]===t&&(o=!0);o||n.push(t)},k.prototype.removeEventListener=function(e,t){e=String(e);var r=this._listeners,n=r[e];if(null!=n){for(var o=[],i=0;i<n.length;i+=1)n[i]!==t&&o.push(n[i]);0===o.length?delete r[e]:r[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,r,s,g,m,y,b,v,w,x,E,C,B,M,T,$,S,A,H;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,r=e.headers||{},e=e.Transport,s=W&&null==e?void 0:new L(new(null!=e?e:null!=F&&"withCredentials"in F.prototype||null==o?F:o)),g=new(null!=e&&"string"!=typeof e?e:null==s?O:P),m=void 0,b=-1,E=x=w=v="",M=B=C=y=0,T=function(e,t,r,n){var o,i;0===b&&(200===e&&null!=r&&G.test(r)?(b=1,d=Date.now(),p=c,l.readyState=1,o=new D("open",{status:e,statusText:t,headers:n}),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==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",A(),o=new D("error",{status:e,statusText:t,headers:n}),l.dispatchEvent(o),j(l,l.onerror,o),console.error(i)))},$=function(e){if(1===b){for(var t=-1,r=0;r<e.length;r+=1)(a=e.charCodeAt(r))!=="\n".charCodeAt(0)&&a!=="\r".charCodeAt(0)||(t=r);var n=(-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<n.length;o+=1){var i,a=n.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=n.slice(B,M-1),i=n.slice(M+(M<o&&n.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(){H()},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)}}},S=function(e){var t;1!==b&&0!==b||(b=-1,0!==y&&(I(y),y=0),y=_(function(){H()},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!=m&&(m.abort(),m=void 0),0!==y&&(I(y),y=0),l.readyState=2},H=function(){if(y=0,-1===b){d=!1,f=0,y=_(function(){H()},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),r={Accept:"text/event-stream"},n=l.headers;if(null!=n)for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o]);try{m=g.open(s,T,$,S,e,t,r)}catch(e){throw A(),e}}else d||null==m?(e=Math.max((d||Date.now())+u-Date.now(),1),d=!1,y=_(function(){H()},e)):(S(new Error("No activity within "+u+" milliseconds. "+(0===b?"No response received.":f+" chars received.")+" Reconnecting.")),null!=m&&(m.abort(),m=void 0))},l.url=i,l.readyState=0,l.withCredentials=t,l.headers=r,l._close=A,H()}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==F||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 r=Math.pow(10,t.precision);this.intValue=e=n(e,t),this.value=e/r,t.increment=t.increment||1/r,t.groups=t.useVedic?a:i,this.s=t,this.p=r}function n(e,t,r){var r=!(2<arguments.length&&void 0!==r)||r,n=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)n=a?e.value:e;else if("string"==typeof e)o=new RegExp("[^-\\d"+n+"]","g"),n=new RegExp("\\"+n,"g"),n=e.replace(/\((.*)\)/,"-$1").replace(o,"").replace(n,".")||0;else{if(o)throw Error("Invalid Input");n=0}return i||(n=(n*t).toFixed(4)),r?Math.round(n):n}var o,i,a;e.exports=(o={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(e,t){var r=t.pattern,n=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?r:n).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,r=this.p;return l((this.intValue+n(e,t))/(t.fromCents?1:r),t)},subtract:function(e){var t=this.s,r=this.p;return l((this.intValue-n(e,t))/(t.fromCents?1:r),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/n(e,t,!1),t)},distribute:function(e){for(var t=this.intValue,r=this.p,n=this.s,o=[],i=Math[0<=t?"floor":"ceil"](t/e),a=Math.abs(t-i*e),r=n.fromCents?1:r;0!==e;e--){var s=l(i/r,n);0<a--&&(s=s[0<=t?"add":"subtract"](1/r)),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(r){let n,o,i,a,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,E,C,B,M,T,$,S,A=r[8]("balanceTitle")+"",H=r[8]("totalBalance")+"",_=r[8]("depositButton")+"";function I(e){return"gm16"==e[0]?Go:jo}let F=I(r),L=F(r);return{c(){n=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(H),g=ce(),m=le("p"),y=le("span"),b=t(r[4]),v=ce(),w=le("span"),x=t(r[5]),E=ce(),L.c(),C=ce(),B=le("div"),M=le("button"),T=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(m,"class","BalanceModalValue"),ue(p,"class","BalanceModalRow"),ue(h,"class","BalanceModalBody"),ue(M,"class","BalanceModalAction"),ue(B,"class","BalanceModalFooter"),ue(a,"class","BalanceModal"),ue(n,"class","BalanceModalWrapper")},m(e,t){ae(e,n,t),ie(n,o),ie(n,i),ie(n,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,g),ie(p,m),ie(m,y),ie(y,b),ie(m,v),ie(m,w),ie(w,x),ie(h,E),L.m(h,null),ie(a,C),ie(a,B),ie(B,M),ie(M,T),$||(S=[O(o,"click",r[24]),O(M,"click",r[25])],$=!0)},p(e,t){256&t[0]&&A!==(A=e[8]("balanceTitle")+"")&&he(c,A),256&t[0]&&H!==(H=e[8]("totalBalance")+"")&&he(f,H),16&t[0]&&he(b,e[4]),32&t[0]&&he(x,e[5]),F===(F=I(e))&&L?L.p(e,t):(L.d(1),(L=F(e))&&(L.c(),L.m(h,null))),256&t[0]&&_!==(_=e[8]("depositButton")+"")&&he(T,_)},d(e){e&&se(n),L.d(),$=!1,P(S)}}}function jo(e){let r,n,o,i,a,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,E,C=e[8]("cashBalance")+"",B=e[11](e[6][0]?.balanceAmount)+"",M=e[8]("bonusBalance")+"",T=e[11](e[6][1]?.balanceAmount)+"";return{c(){r=le("div"),n=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"),g=t(M),m=ce(),y=le("p"),b=le("span"),v=t(T),w=ce(),x=le("span"),E=t(e[5]),ue(n,"class","BalanceModalText"),ue(s,"class","BalanceModalAmount"),ue(u,"class","BalanceModalCurrency"),ue(a,"class","BalanceModalValue"),ue(r,"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,r,t),ie(r,n),ie(n,o),ie(r,i),ie(r,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,g),ie(d,m),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(g,M),64&t[0]&&T!==(T=e[11](e[6][1]?.balanceAmount)+"")&&he(v,T),32&t[0]&&he(E,e[5])},d(e){e&&se(r),e&&se(p),e&&se(d)}}}function Go(e){let r;function n(e){return"Casino"===e[1]||"Sports"===e[1]?Wo:"All"===e[1]?zo:void 0}let o=n(e),i=o&&o(e);return{c(){i&&i.c(),r=c()},m(e,t){i&&i.m(e,t),ae(e,r,t)},p(e,t){o===(o=n(e))&&i?i.p(e,t):(i&&i.d(1),(i=o&&o(e))&&(i.c(),i.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&se(r)}}}function zo(e){let r,n,o,i,k,R,a,s,l,D,c,u,N,h,p,d,U,j,f,g,m,G,y,z,W,b,v,w,V,X,Z,x,E,Y,K,C,J,Q,B,M,q,ee,te,T,$,re,ne,S,oe,A=e[8]("cashBalance")+"",H=e[11](e[7].Casino.Real)+"",_=e[8]("cashBalance")+"",I=e[11](e[7].Sports.Real)+"",F=e[8]("bonusBalance")+"",L=e[11](e[7].Casino.Bonus)+"",P=e[8]("bonusBalance")+"",O=e[11](e[7].Sports.Bonus)+"";return{c(){r=le("div"),n=le("div"),o=le("p"),i=t(A),k=t(" Casino"),R=ce(),a=le("p"),s=le("span"),l=t(H),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"),g=le("span"),m=t(I),G=ce(),y=le("span"),z=t(e[5]),W=ce(),b=le("div"),v=le("div"),w=le("p"),V=t(F),X=t(" Casino"),Z=ce(),x=le("p"),E=le("span"),Y=t(L),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(),T=le("p"),$=le("span"),re=t(O),ne=ce(),S=le("span"),oe=t(e[5]),ue(o,"class","BalanceModalText"),ue(s,"class","BalanceModalAmount"),ue(c,"class","BalanceModalCurrency"),ue(a,"class","BalanceModalValue"),ue(n,"class","BalanceModalRowLine"),ue(p,"class","BalanceModalText"),ue(g,"class","BalanceModalAmount"),ue(y,"class","BalanceModalCurrency"),ue(f,"class","BalanceModalValue"),ue(h,"class","BalanceModalRowLine"),ue(r,"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($,"class","BalanceModalAmount"),ue(S,"class","BalanceModalCurrency"),ue(T,"class","BalanceModalValue"),ue(B,"class","BalanceModalRowLine"),ue(b,"class","BalanceModalRowBoth")},m(e,t){ae(e,r,t),ie(r,n),ie(n,o),ie(o,i),ie(o,k),ie(n,R),ie(n,a),ie(a,s),ie(s,l),ie(a,D),ie(a,c),ie(c,u),ie(r,N),ie(r,h),ie(h,p),ie(p,d),ie(p,U),ie(h,j),ie(h,f),ie(f,g),ie(g,m),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,T),ie(T,$),ie($,re),ie(T,ne),ie(T,S),ie(S,oe)},p(e,t){256&t[0]&&A!==(A=e[8]("cashBalance")+"")&&he(i,A),128&t[0]&&H!==(H=e[11](e[7].Casino.Real)+"")&&he(l,H),32&t[0]&&he(u,e[5]),256&t[0]&&_!==(_=e[8]("cashBalance")+"")&&he(d,_),128&t[0]&&I!==(I=e[11](e[7].Sports.Real)+"")&&he(m,I),32&t[0]&&he(z,e[5]),256&t[0]&&F!==(F=e[8]("bonusBalance")+"")&&he(V,F),128&t[0]&&L!==(L=e[11](e[7].Casino.Bonus)+"")&&he(Y,L),32&t[0]&&he(J,e[5]),256&t[0]&&P!==(P=e[8]("bonusBalance")+"")&&he(q,P),128&t[0]&&O!==(O=e[11](e[7].Sports.Bonus)+"")&&he(re,O),32&t[0]&&he(oe,e[5])},d(e){e&&se(r),e&&se(W),e&&se(b)}}}function Wo(e){let r,n,o,i,a,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,E,C=e[8]("cashBalance")+"",B=e[7][e[1]||"Casino"].Real+"",M=e[8]("bonusBalance")+"",T=e[7][e[1]||"Casino"].Bonus+"";return{c(){r=le("div"),n=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"),g=t(M),m=ce(),y=le("p"),b=le("span"),v=t(T),w=ce(),x=le("span"),E=t(e[5]),ue(n,"class","BalanceModalText"),ue(s,"class","BalanceModalAmount"),ue(u,"class","BalanceModalCurrency"),ue(a,"class","BalanceModalValue"),ue(r,"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,r,t),ie(r,n),ie(n,o),ie(r,i),ie(r,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,g),ie(d,m),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(g,M),130&t[0]&&T!==(T=e[7][e[1]||"Casino"].Bonus+"")&&he(v,T),32&t[0]&&he(E,e[5])},d(e){e&&se(r),e&&se(p),e&&se(d)}}}function Vo(r){let n,o,i;return{c(){ue(n=le("div"),"class","ShowBalanceModalOverlay")},m(e,t){ae(e,n,t),o||(i=O(n,"click",r[26]),o=!0)},p:v,d(e){e&&se(n),o=!1,i()}}}function Xo(r){let n,o,i,a,s,l,c,u,h,p,d,f,g=r[3]&&Uo(r),m=r[3]&&Vo(r);return{c(){n=le("div"),o=le("div"),i=le("p"),a=t(r[4]),s=ce(),l=t(r[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(),g&&g.c(),p=ce(),m&&m.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,n,t),ie(n,o),ie(o,i),ie(i,a),ie(i,s),ie(i,l),ie(i,c),ie(i,u),ie(o,h),g&&g.m(o,null),ie(n,p),m&&m.m(n,null),r[27](n),d||(f=O(i,"click",r[23]),d=!0)},p(e,t){16&t[0]&&he(a,e[4]),32&t[0]&&he(l,e[5]),e[3]?g?g.p(e,t):((g=Uo(e)).c(),g.m(o,null)):g&&(g.d(1),g=null),e[3]?m?m.p(e,t):((m=Vo(e)).c(),m.m(n,null)):m&&(m.d(1),m=null)},i:v,o:v,d(e){e&&se(n),g&&g.d(),m&&m.d(),r[27](null),d=!1,f()}}}function Zo(t,e,a){let r;be(t,Kn,e=>a(8,r=e));let n,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:g="All"}=e,{currencyseparator:m=""}=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}},T=(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)}}),$=(e,t)=>{0<s.length?(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 n=JSON.parse(e.data)["balanceChange"];if("gmcore"===f)a(6,E=E.map(e=>{var t,r;return n&&n[e.id]&&(t=e,r=n[e.id].afterAmount,e=Object.assign(Object.assign({},t),{balanceAmount:r})),C=(parseFloat(null==e?void 0:e.balanceAmount)+parseFloat(C)).toString(),e})),a(4,w=H(Number(C)));else if("gm16"===f){for(var t in n)a(7,M.Casino[t]=n[t].afterAmount,M);a(4,w=H(M.Casino.Bonus+M.Casino.Real))}}catch(e){console.log("Balance stream failed: ",e),$(`${l}/v1/player/${i}/balance/updates`,s)}})):o&&o.close()},S=()=>{T("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},H=e=>{return d?new Intl.NumberFormat(A(),{useGrouping:!0}).format(e):(m&&y?No(e,{separator:m,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 we(()=>(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,g=e.displaybalanceoption),"currencyseparator"in e&&a(20,m=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&&g){var e=c;switch(ye.set(e),f){case"gmcore":(async e=>{try{B=!0;var t=await fetch(e,{method:"GET",headers:{"X-SessionID":s}}),r=await t.json();if(!t.ok)throw B=!1,new Error("Failed to fetch balance data !");B=!1,a(6,E=r.items),a(5,x=Object.keys(r.totalAmount)[0]),a(4,w=H(r.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"==g&&e.searchParams.append("productType","Casino"),"Sports"==g&&e.searchParams.append("productType","Sports"),"All"===g&&(e.searchParams.append("productType","Casino"),e.searchParams.append("productType","Sports"));var t=await fetch(e,{method:"GET",headers:{"X-SessionID":s}}),r=await t.json();if(!t.ok)throw B=!1,new Error("Failed to fetch balance data !");B=!1;for(const e of r.items){var{type:n,amount:o,productType:i}=e;"Casino"===g?a(7,M.Casino[n]=o,M):"Sports"===g?a(7,M.Sports[n]=o,M):"All"===g&&i&&n&&a(7,M[i][n]=o,M)}a(5,x=Object.keys(r.totalAmount)[0]),a(4,w=H(r.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&&$(`${l}/v1/player/${i}/balance/updates`,s),65540&t.$$.dirty[0]&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),131076&t.$$.dirty[0]&&h&&n){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}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,g,n,v,w,x,E,M,r,T,S,H,i,s,l,c,u,h,p,d,m,y,b,()=>T("balance"),()=>T("closebalance"),()=>S(),()=>T("closebalance"),function(e){me[e?"unshift":"push"](()=>{n=e,a(2,n)})}]}function Yo(e,t){wn(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,$,{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:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function Jo(e){let r,n,o;return{c(){r=le("div"),B((n=le("iframe")).src,o=e[3])||ue(n,"src",o),ue(n,"title","Deposit Iframe"),ue(r,"class","DepositIframeWrapper")},m(e,t){ae(e,r,t),ie(r,n)},p(e,t){8&t&&!B(n.src,o=e[3])&&ue(n,"src",o)},d(e){e&&se(r)}}}function Qo(e){let r,n,o=e[4]("loading")+"";return{c(){r=le("p"),n=t(o)},m(e,t){ae(e,r,t),ie(r,n)},p(e,t){16&t&&o!==(o=e[4]("loading")+"")&&he(n,o)},d(e){e&&se(r)}}}function qo(r){let n,o,i,a,s,l=r[4]("titleDeposit")+"",c=r[5]&&function(r){let n,o,i,a,s,l,c,u,h,p,d,f,g,m=r[4]("titleDeposit")+"";return{c(){n=le("div"),o=e("svg"),i=e("defs"),a=e("style"),s=t(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),l=e("g"),c=e("g"),u=e("path"),h=ce(),p=le("h2"),d=t(m),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(n,"class","MenuReturnButton")},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),ie(i,a),ie(a,s),ie(o,l),ie(l,c),ie(c,u),ie(n,h),ie(n,p),ie(p,d),f||(g=O(n,"click",r[17]),f=!0)},p(e,t){16&t&&m!==(m=e[4]("titleDeposit")+"")&&he(d,m)},d(e){e&&se(n),f=!1,g()}}}(r);function u(e){return e[1]?Qo:Jo}let h=u(r),p=h(r);return{c(){n=le("div"),c&&c.c(),o=ce(),i=le("h2"),a=t(l),s=ce(),p.c(),this.c=v,ue(i,"class","DepositTitle "+(r[5]?"DepositTitleNone":"")),ue(n,"class","DepositWrapper "+(r[5]?"DepositWrapperMobile":"")),U(n,"--dynamic-height",r[2])},m(e,t){ae(e,n,t),c&&c.m(n,null),ie(n,o),ie(n,i),ie(i,a),ie(n,s),p.m(n,null),r[18](n)},p(e,[t]){e[5]&&c.p(e,t),16&t&&l!==(l=e[4]("titleDeposit")+"")&&he(a,l),h===(h=u(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(n,null))),4&t&&U(n,"--dynamic-height",e[2])},i:v,o:v,d(e){e&&se(n),c&&c.d(),p.d(),r[18](null)}}}function ei(n,e,o){let i,t;be(n,Kn,e=>o(4,t=e));let a,r,{endpoint:s=""}=e,{session:l=""}=e,{playerid:c=""}=e,{lang:u="en"}=e,{hasdefaultamount:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:d=""}=e,{translationurl:f=""}=e,{playercurrency:g=""}=e,{shortcashierenabled:m="false"}=e,y=window.navigator.userAgent,b="PC"!==Qn(y),v=!0,w=0,x="";Object.keys(Ko).forEach(e=>{Yo(e,Ko[e])});const E=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:b},window.location.href)},C=e=>{if(e.data)switch("ProfileDetailsData"===e.data.type&&o(7,g=e.data.profileDetails.currency),e.data["MMFE:setQuickDepositHeight"]&&o(2,r=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 we(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)})),n.$$set=e=>{"endpoint"in e&&o(8,s=e.endpoint),"session"in e&&o(9,l=e.session),"playerid"in e&&o(10,c=e.playerid),"lang"in e&&o(11,u=e.lang),"hasdefaultamount"in e&&o(12,h=e.hasdefaultamount),"clientstyling"in e&&o(13,p=e.clientstyling),"clientstylingurl"in e&&o(14,d=e.clientstylingurl),"translationurl"in e&&o(15,f=e.translationurl),"playercurrency"in e&&o(7,g=e.playercurrency),"shortcashierenabled"in e&&o(16,m=e.shortcashierenabled)},n.$$.update=()=>{if(2048&n.$$.dirty&&u&&(r=u,ye.set(r)),65536&n.$$.dirty&&(i="true"===m.toLocaleLowerCase()),16385&n.$$.dirty&&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)})}if(8193&n.$$.dirty&&p&&a&&((r=document.createElement("style")).innerHTML=p,a.appendChild(r)),32768&n.$$.dirty&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Yo(e,t[e])})}).catch(e=>{console.log(e)}),69504&n.$$.dirty&&l&&c&&s&&g&&u&&m){var e=new URL(`${s}/v1/player/${c}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(e.searchParams.append("language",u),i&&e.searchParams.append("isShortCashier",m),h)switch(g){case"USD":w=.4;break;case"CDF":w=1e3}var t={method:"POST",headers:{"X-SessionId":l,currency:g||"EUR",amount:w,cashierMode:"Default",IsShortCashier:m,accept:"application/json"}};fetch(e.href,t).then(e=>e.json()).then(e=>{o(1,v=!1),o(3,x=e.CashierUrl)},e=>{console.error(e)})}var r},[a,v,r,x,t,b,E,g,s,l,c,u,h,p,d,f,m,()=>E(),function(e){me[e?"unshift":"push"](()=>{a=e,o(0,a)})}]}customElements.get("player-deposit")||customElements.define("player-deposit",class extends Me{constructor(e){super();var t=document.createElement("style");t.textContent=".DepositWrapper{background-color:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}",this.shadowRoot.appendChild(t),Be(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ei,qo,$,{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 ri=_["document"];function ni(e,t,r){e=e.slice();return e[111]=t[r],e}function oi(e,t,r){e=e.slice();return e[114]=t[r],e}function ii(e,t,r){e=e.slice();return e[114]=t[r],e}function ai(e,t,r){e=e.slice();return e[111]=t[r],e}function si(e,t,r){e=e.slice();return e[114]=t[r],e}function li(e,t,r){e=e.slice();return e[114]=t[r],e}function ci(r){let n,o,i,a,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,e=r[45]("login")+"",E=r[45]("register")+"";function C(e){return e[37]?di:pi}let B=C(r),M=B(r),T=!r[31]&&fi(r),$=1<r[41].length&&gi(r),S=r[34],A=[];for(let e=0;e<S.length;e+=1)A[e]=xi(ni(r,S,e));return{c(){n=le("header"),o=le("div"),i=le("div"),M.c(),a=ce(),s=le("nav"),T&&T.c(),l=ce(),c=le("div"),u=le("div"),h=le("div"),p=t(e),d=ce(),f=le("div"),g=t(E),m=ce(),$&&$.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(n,"class","HeaderWrapper")},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),M.m(i,null),ie(o,a),ie(o,s),T&&T.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,g),ie(u,m),$&&$.m(u,null),ie(n,y),ie(n,b),ie(b,v);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(v,null);r[89](n),w||(x=[O(i,"click",r[81]),O(h,"click",r[82]),O(f,"click",r[83])],w=!0)},p(t,r){if(B===(B=C(t))&&M?M.p(t,r):(M.d(1),(M=B(t))&&(M.c(),M.m(i,null))),t[31]?T&&(T.d(1),T=null):T?T.p(t,r):((T=fi(t)).c(),T.m(s,null)),16384&r[1]&&e!==(e=t[45]("login")+"")&&he(p,e),16384&r[1]&&E!==(E=t[45]("register")+"")&&he(g,E),1<t[41].length?$?$.p(t,r):(($=gi(t)).c(),$.m(u,null)):$&&($.d(1),$=null),524300&r[1]){let e;for(S=t[34],e=0;e<S.length;e+=1){const i=ni(t,S,e);A[e]?A[e].p(i,r):(A[e]=xi(i),A[e].c(),A[e].m(v,null))}for(;e<A.length;e+=1)A[e].d(1);A.length=S.length}},d(e){e&&se(n),M.d(),T&&T.d(),$&&$.d(),F(A,e),r[89](null),w=!1,P(x)}}}function ui(r){let n,o,i,a,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,E,C,B,M,T=r[45]("login")+"",$=r[45]("register")+"";function S(e){return e[37]?Ci:Ei}let A=S(r),H=A(r);return{c(){n=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(),g=le("div"),H.c(),m=ce(),y=le("div"),b=le("div"),v=le("div"),w=t(T),x=ce(),E=le("div"),C=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(g,"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(n,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){ae(e,n,t),ie(n,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,g),H.m(g,null),ie(o,m),ie(o,y),ie(y,b),ie(b,v),ie(v,w),ie(b,x),ie(b,E),ie(E,C),r[80](n),B||(M=[O(a,"click",r[76]),O(g,"click",r[77]),O(v,"click",r[78]),O(E,"click",r[79])],B=!0)},p(e,t){A===(A=S(e))&&H?H.p(e,t):(H.d(1),(H=A(e))&&(H.c(),H.m(g,null))),16384&t[1]&&T!==(T=e[45]("login")+"")&&he(w,T),16384&t[1]&&$!==($=e[45]("register")+"")&&he(C,$)},d(e){e&&se(n),H.d(),r[80](null),B=!1,P(M)}}}function hi(e){let r;function n(e){return e[39]?Mi:Bi}let o=n(e),i=o(e);return{c(){i.c(),r=c()},m(e,t){i.m(e,t),ae(e,r,t)},p(e,t){o===(o=n(e))&&i?i.p(e,t):(i.d(1),(i=o(e))&&(i.c(),i.m(r.parentNode,r)))},d(e){i.d(e),e&&se(r)}}}function pi(e){let r,t;return{c(){B((r=le("img")).src,t=ti)||ue(r,"src",t),ue(r,"alt","Logo")},m(e,t){ae(e,r,t)},p:v,d(e){e&&se(r)}}}function di(e){let r,n;return{c(){B((r=le("img")).src,n=e[43])||ue(r,"src",n),ue(r,"alt","Logo")},m(e,t){ae(e,r,t)},p(e,t){4096&t[1]&&!B(r.src,n=e[43])&&ue(r,"src",n)},d(e){e&&se(r)}}}function fi(r){let n,o,i;return{c(){L(n=le("casino-slider"),"class","HeaderItemsMenu"),L(n,"part","HeaderItemsMenu"),L(n,"identity",Vi),L(n,"isprimarymenu","true"),L(n,"actionevent",r[23]),L(n,"activeindex",r[32]),L(n,"location","headerMain"),L(n,"endpoint",r[2]),L(n,"lang",r[3]),L(n,"clientstyling",r[25]),L(n,"clientstylingurl",r[26])},m(e,t){ae(e,n,t),o||(i=H(r[49].call(null,n)),o=!0)},p(e,t){8388608&t[0]&&L(n,"actionevent",e[23]),2&t[1]&&L(n,"activeindex",e[32]),4&t[0]&&L(n,"endpoint",e[2]),8&t[0]&&L(n,"lang",e[3]),33554432&t[0]&&L(n,"clientstyling",e[25]),67108864&t[0]&&L(n,"clientstylingurl",e[26])},d(e){e&&se(n),o=!1,i()}}}function gi(e){let r;function n(e){return"true"!==e[8]?yi:mi}let o=n(e),i=o(e);return{c(){i.c(),r=c()},m(e,t){i.m(e,t),ae(e,r,t)},p(e,t){o===(o=n(e))&&i?i.p(e,t):(i.d(1),(i=o(e))&&(i.c(),i.m(r.parentNode,r)))},d(e){i.d(e),e&&se(r)}}}function mi(r){let n,o,i,a,s,l,c,u,h,p,d,f,g,m,y,b,v=r[35].slice(-2)+"",w=r[38]&&bi(r);return{c(){n=le("div"),o=le("div"),i=le("span"),a=le("img"),l=ce(),c=le("span"),u=t(v),h=ce(),p=le("span"),d=e("svg"),f=e("path"),m=ce(),w&&w.c(),B(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[53](r[35].slice(-2))}.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",g="TriangleInactive "+(r[38]?"TriangleActive":"")),ue(o,"class","SelectedOption Item ItemLanguage"),ue(n,"class","LanguageDropdown")},m(e,t){ae(e,n,t),ie(n,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(n,m),w&&w.m(n,null),y||(b=O(o,"click",r[86]),y=!0)},p(e,t){1040&t[1]&&!B(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[53](e[35].slice(-2))}.svg`)&&ue(a,"src",s),16&t[1]&&v!==(v=e[35].slice(-2)+"")&&he(u,v),128&t[1]&&g!==(g="TriangleInactive "+(e[38]?"TriangleActive":""))&&ue(p,"class",g),e[38]?w?w.p(e,t):((w=bi(e)).c(),w.m(n,null)):w&&(w.d(1),w=null)},d(e){e&&se(n),w&&w.d(),y=!1,b()}}}function yi(r){let o,n,i,a=r[41],s=[];for(let e=0;e<a.length;e+=1)s[e]=wi(ii(r,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===r[35]&&M(()=>r[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,r[35],!0),n||(i=[O(o,"change",r[84]),O(o,"change",r[85])],n=!0)},p(t,r){if(1024&r[1]){let e;for(a=t[41],e=0;e<a.length;e+=1){var n=ii(t,a,e);s[e]?s[e].p(n,r):(s[e]=wi(n),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}1040&r[1]&&j(o,t[35])},d(e){e&&se(o),F(s,e),n=!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,r){if(5243904&r[1]){let e;for(i=t[41],e=0;e<i.length;e+=1){var n=oi(t,i,e);a[e]?a[e].p(n,r):(a[e]=vi(n),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),F(a,e)}}}function vi(r){let n,o,i,a,s,l,c,u,h,p,d=r[114].slice(-2)+"";function f(){return r[87](r[114])}return{c(){n=le("div"),o=le("span"),i=le("img"),s=ce(),l=le("span"),c=t(d),u=ce(),B(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[53](r[114].slice(-2))}.svg`)||ue(i,"src",a),ue(o,"class","FlagIcon"),ue(l,"class","LanguageName"),ue(n,"class","LanguageOption")},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),ie(n,s),ie(n,l),ie(l,c),ie(n,u),h||(p=O(n,"click",f),h=!0)},p(e,t){r=e,1024&t[1]&&!B(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[53](r[114].slice(-2))}.svg`)&&ue(i,"src",a),1024&t[1]&&d!==(d=r[114].slice(-2)+"")&&he(c,d)},d(e){e&&se(n),h=!1,p()}}}function wi(e){let r,n,o,i=e[114].slice(-2)+"";return{c(){r=le("option"),n=t(i),r.__value=o=e[114],r.value=r.__value},m(e,t){ae(e,r,t),ie(r,n)},p(e,t){1024&t[1]&&i!==(i=e[114].slice(-2)+"")&&he(n,i),1024&t[1]&&o!==(o=e[114])&&(r.__value=o,r.value=r.__value)},d(e){e&&se(r)}}}function xi(r){let n,o,i,a,s,l,c,u=r[111].label+"";function h(){return r[88](r[111])}return{c(){n=le("li"),o=le("button"),i=t(u),a=ce(),ue(n,"class",s="ItemSecondary "+(-1<r[33]?.toString().indexOf("$")?r[33]?.split("$").pop()==r[111].id.split("$").pop()?"active":"":r[33]==r[111].id?"active":"")),ue(n,"part","ItemSecondary")},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),ie(n,a),l||(c=O(o,"click",h),l=!0)},p(e,t){r=e,8&t[1]&&u!==(u=r[111].label+"")&&he(i,u),12&t[1]&&s!==(s="ItemSecondary "+(-1<r[33]?.toString().indexOf("$")?r[33]?.split("$").pop()==r[111].id.split("$").pop()?"active":"":r[33]==r[111].id?"active":""))&&ue(n,"class",s)},d(e){e&&se(n),l=!1,c()}}}function Ei(e){let r,t;return{c(){B((r=le("img")).src,t=ti)||ue(r,"src",t),ue(r,"alt","Logo")},m(e,t){ae(e,r,t)},p:v,d(e){e&&se(r)}}}function Ci(e){let r,n;return{c(){B((r=le("img")).src,n=e[43])||ue(r,"src",n),ue(r,"alt","Logo")},m(e,t){ae(e,r,t)},p(e,t){4096&t[1]&&!B(r.src,n=e[43])&&ue(r,"src",n)},d(e){e&&se(r)}}}function Bi(r){let n,o,i,a,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,E,C,B,e=r[45]("deposit")+"";function M(e){return e[37]?$i:Ti}let T=M(r),$=T(r),S=!r[31]&&Si(r),A=r[44]&&Ai(r),H=1<r[41].length&&Ii(r),_=r[34],I=[];for(let e=0;e<_.length;e+=1)I[e]=Ri(ai(r,_,e));return{c(){n=le("header"),o=le("div"),i=le("div"),$.c(),a=ce(),s=le("nav"),S&&S.c(),l=ce(),c=le("div"),u=le("div"),h=le("player-account-balance-modal"),p=ce(),d=le("div"),f=le("div"),g=t(e),m=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(),H&&H.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"),L(h,"session",r[0]),L(h,"userid",r[1]),L(h,"endpoint",r[2]),L(h,"lang",r[3]),L(h,"clientstyling",r[25]),L(h,"clientstylingurl",r[26]),L(h,"customlocaleidentifier",r[6]),L(h,"gmversion",r[7]),L(h,"displaybalanceoption",r[9]),L(h,"currencyseparator",r[27]),L(h,"currencydecimal",r[28]),L(h,"currencyprecision",r[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(n,"class","HeaderWrapper")},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),$.m(i,null),ie(o,a),ie(o,s),S&&S.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,g),ie(d,m),A&&A.m(d,null),ie(u,y),ie(u,b),ie(u,v),H&&H.m(u,null),ie(n,w),ie(n,x),ie(x,E);for(let e=0;e<I.length;e+=1)I[e]&&I[e].m(E,null);r[75](n),C||(B=[O(i,"click",r[65]),O(f,"click",r[66]),O(b,"click",r[69])],C=!0)},p(t,r){if(T===(T=M(t))&&$?$.p(t,r):($.d(1),($=T(t))&&($.c(),$.m(i,null))),t[31]?S&&(S.d(1),S=null):S?S.p(t,r):((S=Si(t)).c(),S.m(s,null)),1&r[0]&&L(h,"session",t[0]),2&r[0]&&L(h,"userid",t[1]),4&r[0]&&L(h,"endpoint",t[2]),8&r[0]&&L(h,"lang",t[3]),33554432&r[0]&&L(h,"clientstyling",t[25]),67108864&r[0]&&L(h,"clientstylingurl",t[26]),64&r[0]&&L(h,"customlocaleidentifier",t[6]),128&r[0]&&L(h,"gmversion",t[7]),512&r[0]&&L(h,"displaybalanceoption",t[9]),134217728&r[0]&&L(h,"currencyseparator",t[27]),268435456&r[0]&&L(h,"currencydecimal",t[28]),536870912&r[0]&&L(h,"currencyprecision",t[29]),16384&r[1]&&e!==(e=t[45]("deposit")+"")&&he(g,e),t[44]?A?A.p(t,r):((A=Ai(t)).c(),A.m(d,null)):A&&(A.d(1),A=null),1<t[41].length?H?H.p(t,r):((H=Ii(t)).c(),H.m(u,null)):H&&(H.d(1),H=null),524300&r[1]){let e;for(_=t[34],e=0;e<_.length;e+=1){const i=ai(t,_,e);I[e]?I[e].p(i,r):(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(n),$.d(),S&&S.d(),A&&A.d(),H&&H.d(),F(I,e),r[75](null),C=!1,P(B)}}}function Mi(r){let n,o,i,a,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x=r[45]("deposit")+"",E=!r[42]&&Di(r);function C(e){return e[37]?Ui:Ni}let B=C(r),M=B(r),T=r[44]&&ji(r);return{c(){n=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"),g=t(x),m=ce(),T&&T.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"),L(h,"session",r[0]),L(h,"userid",r[1]),L(h,"endpoint",r[2]),L(h,"lang",r[3]),L(h,"clientstyling",r[25]),L(h,"clientstylingurl",r[26]),L(h,"customlocaleidentifier",r[6]),L(h,"gmversion",r[7]),L(h,"displaybalanceoption",r[9]),L(h,"currencyseparator",r[27]),L(h,"currencydecimal",r[28]),L(h,"currencyprecision",r[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(n,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){ae(e,n,t),ie(n,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,g),ie(d,m),T&&T.m(d,null),ie(u,y),ie(u,b),r[64](n),v||(w=[O(s,"click",r[59]),O(f,"click",r[60]),O(b,"click",r[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]&&L(h,"session",e[0]),2&t[0]&&L(h,"userid",e[1]),4&t[0]&&L(h,"endpoint",e[2]),8&t[0]&&L(h,"lang",e[3]),33554432&t[0]&&L(h,"clientstyling",e[25]),67108864&t[0]&&L(h,"clientstylingurl",e[26]),64&t[0]&&L(h,"customlocaleidentifier",e[6]),128&t[0]&&L(h,"gmversion",e[7]),512&t[0]&&L(h,"displaybalanceoption",e[9]),134217728&t[0]&&L(h,"currencyseparator",e[27]),268435456&t[0]&&L(h,"currencydecimal",e[28]),536870912&t[0]&&L(h,"currencyprecision",e[29]),16384&t[1]&&x!==(x=e[45]("deposit")+"")&&he(g,x),e[44]?T?T.p(e,t):((T=ji(e)).c(),T.m(d,null)):T&&(T.d(1),T=null)},d(e){e&&se(n),E&&E.d(),M.d(),T&&T.d(),r[64](null),v=!1,P(w)}}}function Ti(e){let r,t;return{c(){B((r=le("img")).src,t=ti)||ue(r,"src",t),ue(r,"alt","Logo")},m(e,t){ae(e,r,t)},p:v,d(e){e&&se(r)}}}function $i(e){let r,n;return{c(){B((r=le("img")).src,n=e[43])||ue(r,"src",n),ue(r,"alt","Logo")},m(e,t){ae(e,r,t)},p(e,t){4096&t[1]&&!B(r.src,n=e[43])&&ue(r,"src",n)},d(e){e&&se(r)}}}function Si(r){let n,o,i;return{c(){L(n=le("casino-slider"),"class","HeaderItemsMenu"),L(n,"part","HeaderItemsMenu"),L(n,"identity",Vi),L(n,"isprimarymenu","true"),L(n,"actionevent",r[23]),L(n,"activeindex",r[32]),L(n,"endpoint",r[2]),L(n,"lang",r[3]),L(n,"location","headerMain"),L(n,"showsubgroups",r[24]),L(n,"clientstyling",r[25]),L(n,"clientstylingurl",r[26])},m(e,t){ae(e,n,t),o||(i=H(r[49].call(null,n)),o=!0)},p(e,t){8388608&t[0]&&L(n,"actionevent",e[23]),2&t[1]&&L(n,"activeindex",e[32]),4&t[0]&&L(n,"endpoint",e[2]),8&t[0]&&L(n,"lang",e[3]),16777216&t[0]&&L(n,"showsubgroups",e[24]),33554432&t[0]&&L(n,"clientstyling",e[25]),67108864&t[0]&&L(n,"clientstylingurl",e[26])},d(e){e&&se(n),o=!1,i()}}}function Ai(r){let n,o,i,a,s,l,c,u;function h(e){return"gmcore"===e[7]?_i:Hi}let p=h(r),d=p(r);return{c(){n=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(n,"class","ShortCashierWindow"),ue(s,"class","ClosePopUpButtonShortCashier"),ue(a,"class","ShortCashierContainer"),ue(i,"class","ShortCashierContainerWrapper")},m(e,t){ae(e,n,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(n,"click",r[67]),O(s,"click",r[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(n),e&&se(o),e&&se(i),d.d(),c=!1,P(u)}}}function Hi(e){let r,n,o,i,a,s,l,c,u;return{c(){L(r=le("user-deposit-withdrawal"),"endpoint",e[2]),L(r,"type","deposit"),L(r,"channel","Desktop"),L(r,"language",e[3]),L(r,"is-short-cashier",e[13]),L(r,"product-type",e[14]),L(r,"user-id",e[1]),L(r,"session",e[0]),L(r,"success-url",n="https://"+window.location.hostname+"/"+e[3]+e[15]),L(r,"cancel-url",o="https://"+window.location.hostname+"/"+e[3]+e[17]),L(r,"fail-url",i="https://"+window.location.hostname+"/"+e[3]+e[16]),L(r,"sports-url",a="https://"+window.location.hostname+"/"+e[3]+e[18]),L(r,"casino-url",s="https://"+window.location.hostname+"/"+e[3]+e[19]),L(r,"contact-url",l="https://"+window.location.hostname+"/"+e[3]+e[20]),L(r,"home-url",c="https://"+window.location.hostname+"/"+e[3]+e[21]),L(r,"deposit-url",u="https://"+window.location.hostname+"/"+e[3]+e[22]),L(r,"client-styling",e[25]),L(r,"client-styling-url",e[26])},m(e,t){ae(e,r,t)},p(e,t){4&t[0]&&L(r,"endpoint",e[2]),8&t[0]&&L(r,"language",e[3]),8192&t[0]&&L(r,"is-short-cashier",e[13]),16384&t[0]&&L(r,"product-type",e[14]),2&t[0]&&L(r,"user-id",e[1]),1&t[0]&&L(r,"session",e[0]),32776&t[0]&&n!==(n="https://"+window.location.hostname+"/"+e[3]+e[15])&&L(r,"success-url",n),131080&t[0]&&o!==(o="https://"+window.location.hostname+"/"+e[3]+e[17])&&L(r,"cancel-url",o),65544&t[0]&&i!==(i="https://"+window.location.hostname+"/"+e[3]+e[16])&&L(r,"fail-url",i),262152&t[0]&&a!==(a="https://"+window.location.hostname+"/"+e[3]+e[18])&&L(r,"sports-url",a),524296&t[0]&&s!==(s="https://"+window.location.hostname+"/"+e[3]+e[19])&&L(r,"casino-url",s),1048584&t[0]&&l!==(l="https://"+window.location.hostname+"/"+e[3]+e[20])&&L(r,"contact-url",l),2097160&t[0]&&c!==(c="https://"+window.location.hostname+"/"+e[3]+e[21])&&L(r,"home-url",c),4194312&t[0]&&u!==(u="https://"+window.location.hostname+"/"+e[3]+e[22])&&L(r,"deposit-url",u),33554432&t[0]&&L(r,"client-styling",e[25]),67108864&t[0]&&L(r,"client-styling-url",e[26])},d(e){e&&se(r)}}}function _i(e){let r;return{c(){L(r=le("player-deposit"),"endpoint",e[2]),L(r,"session",e[0]),L(r,"playerid",e[1]),L(r,"lang",e[3]),L(r,"hasdefaultamount",e[11]),L(r,"playercurrency",e[12]),L(r,"shortcashierenabled",e[13]),L(r,"clientstyling",e[25]),L(r,"clientstylingurl",e[26])},m(e,t){ae(e,r,t)},p(e,t){4&t[0]&&L(r,"endpoint",e[2]),1&t[0]&&L(r,"session",e[0]),2&t[0]&&L(r,"playerid",e[1]),8&t[0]&&L(r,"lang",e[3]),2048&t[0]&&L(r,"hasdefaultamount",e[11]),4096&t[0]&&L(r,"playercurrency",e[12]),8192&t[0]&&L(r,"shortcashierenabled",e[13]),33554432&t[0]&&L(r,"clientstyling",e[25]),67108864&t[0]&&L(r,"clientstylingurl",e[26])},d(e){e&&se(r)}}}function Ii(e){let r;function n(e){return"true"!==e[8]?Li:Fi}let o=n(e),i=o(e);return{c(){i.c(),r=c()},m(e,t){i.m(e,t),ae(e,r,t)},p(e,t){o===(o=n(e))&&i?i.p(e,t):(i.d(1),(i=o(e))&&(i.c(),i.m(r.parentNode,r)))},d(e){i.d(e),e&&se(r)}}}function Fi(r){let n,o,i,a,s,l,c,u,h,p,d,f,g,m,y,b,v=r[35].slice(-2)+"",w=r[38]&&Pi(r);return{c(){n=le("div"),o=le("div"),i=le("span"),a=le("img"),l=ce(),c=le("span"),u=t(v),h=ce(),p=le("span"),d=e("svg"),f=e("path"),m=ce(),w&&w.c(),B(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[53](r[35].slice(-2))}.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",g="TriangleInactive "+(r[38]?"TriangleActive":"")),ue(o,"class","SelectedOption Item ItemLanguage"),ue(n,"class","LanguageDropdown")},m(e,t){ae(e,n,t),ie(n,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(n,m),w&&w.m(n,null),y||(b=O(o,"click",r[72]),y=!0)},p(e,t){1040&t[1]&&!B(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[53](e[35].slice(-2))}.svg`)&&ue(a,"src",s),16&t[1]&&v!==(v=e[35].slice(-2)+"")&&he(u,v),128&t[1]&&g!==(g="TriangleInactive "+(e[38]?"TriangleActive":""))&&ue(p,"class",g),e[38]?w?w.p(e,t):((w=Pi(e)).c(),w.m(n,null)):w&&(w.d(1),w=null)},d(e){e&&se(n),w&&w.d(),y=!1,b()}}}function Li(r){let o,n,i,a=r[41],s=[];for(let e=0;e<a.length;e+=1)s[e]=ki(li(r,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===r[35]&&M(()=>r[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,r[35],!0),n||(i=[O(o,"change",r[70]),O(o,"change",r[71])],n=!0)},p(t,r){if(1024&r[1]){let e;for(a=t[41],e=0;e<a.length;e+=1){var n=li(t,a,e);s[e]?s[e].p(n,r):(s[e]=ki(n),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}1040&r[1]&&j(o,t[35])},d(e){e&&se(o),F(s,e),n=!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,r){if(5243904&r[1]){let e;for(i=t[41],e=0;e<i.length;e+=1){var n=si(t,i,e);a[e]?a[e].p(n,r):(a[e]=Oi(n),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),F(a,e)}}}function Oi(r){let n,o,i,a,s,l,c,u,h,p,d=r[114].slice(-2)+"";function f(){return r[73](r[114])}return{c(){n=le("div"),o=le("span"),i=le("img"),s=ce(),l=le("span"),c=t(d),u=ce(),B(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[53](r[114].slice(-2))}.svg`)||ue(i,"src",a),ue(o,"class","FlagIcon"),ue(l,"class","LanguageName"),ue(n,"class","LanguageOption")},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),ie(n,s),ie(n,l),ie(l,c),ie(n,u),h||(p=O(n,"click",f),h=!0)},p(e,t){r=e,1024&t[1]&&!B(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[53](r[114].slice(-2))}.svg`)&&ue(i,"src",a),1024&t[1]&&d!==(d=r[114].slice(-2)+"")&&he(c,d)},d(e){e&&se(n),h=!1,p()}}}function ki(e){let r,n,o,i=e[114].slice(-2)+"";return{c(){r=le("option"),n=t(i),r.__value=o=e[114],r.value=r.__value,r.selected=!0},m(e,t){ae(e,r,t),ie(r,n)},p(e,t){1024&t[1]&&i!==(i=e[114].slice(-2)+"")&&he(n,i),1024&t[1]&&o!==(o=e[114])&&(r.__value=o,r.value=r.__value)},d(e){e&&se(r)}}}function Ri(r){let n,o,i,a,s,l,c,u=r[111].label+"";function h(){return r[74](r[111])}return{c(){n=le("li"),o=le("button"),i=t(u),a=ce(),ue(n,"class",s="ItemSecondary "+(-1<r[33]?.toString().indexOf("$")?r[33]?.split("$").pop()==r[111].id.split("$").pop()?"active":"":r[33]==r[111].id?"active":"")),ue(n,"part","ItemSecondary")},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),ie(n,a),l||(c=O(o,"click",h),l=!0)},p(e,t){r=e,8&t[1]&&u!==(u=r[111].label+"")&&he(i,u),12&t[1]&&s!==(s="ItemSecondary "+(-1<r[33]?.toString().indexOf("$")?r[33]?.split("$").pop()==r[111].id.split("$").pop()?"active":"":r[33]==r[111].id?"active":""))&&ue(n,"class",s)},d(e){e&&se(n),l=!1,c()}}}function Di(r){let n,o,i,a,s,l,c,u,h,p;return{c(){n=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(n,"xmlns","http://www.w3.org/2000/svg"),ue(n,"width","22"),ue(n,"height","16"),ue(n,"viewBox","0 0 22 16")},m(e,t){ae(e,n,t),ie(n,o),ie(o,i),ie(i,a),ie(n,s),ie(s,l),ie(s,c),ie(s,u),h||(p=O(n,"click",r[58]),h=!0)},p:v,d(e){e&&se(n),h=!1,p()}}}function Ni(e){let r,t;return{c(){B((r=le("img")).src,t=ti)||ue(r,"src",t),ue(r,"alt","Logo")},m(e,t){ae(e,r,t)},p:v,d(e){e&&se(r)}}}function Ui(e){let r,n;return{c(){B((r=le("img")).src,n=e[43])||ue(r,"src",n),ue(r,"alt","Logo")},m(e,t){ae(e,r,t)},p(e,t){4096&t[1]&&!B(r.src,n=e[43])&&ue(r,"src",n)},d(e){e&&se(r)}}}function ji(r){let n,o,i,a,s,l,c,u;function h(e){return"gmcore"===e[7]?zi:Gi}let p=h(r),d=p(r);return{c(){n=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(n,"class","ShortCashierWindow"),ue(s,"class","ClosePopUpButtonShortCashier"),ue(a,"class","ShortCashierContainerMobile"),ue(i,"class","ShortCashierContainerWrapperMobile")},m(e,t){ae(e,n,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(n,"click",r[61]),O(s,"click",r[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(n),e&&se(o),e&&se(i),d.d(),c=!1,P(u)}}}function Gi(e){let r,n,o,i,a,s,l,c,u;return{c(){L(r=le("user-deposit-withdrawal"),"endpoint",e[2]),L(r,"type","deposit"),L(r,"channel","Mobile"),L(r,"language",e[3]),L(r,"is-short-cashier",e[13]),L(r,"product-type",e[14]),L(r,"user-id",e[1]),L(r,"session",e[0]),L(r,"success-url",n="https://"+window.location.hostname+"/"+e[3]+e[15]),L(r,"cancel-url",o="https://"+window.location.hostname+"/"+e[3]+e[17]),L(r,"fail-url",i="https://"+window.location.hostname+"/"+e[3]+e[16]),L(r,"sports-url",a="https://"+window.location.hostname+"/"+e[3]+e[18]),L(r,"casino-url",s="https://"+window.location.hostname+"/"+e[3]+e[19]),L(r,"contact-url",l="https://"+window.location.hostname+"/"+e[3]+e[20]),L(r,"home-url",c="https://"+window.location.hostname+"/"+e[3]+e[21]),L(r,"deposit-url",u="https://"+window.location.hostname+"/"+e[3]+e[22]),L(r,"client-styling",e[25]),L(r,"client-styling-url",e[26])},m(e,t){ae(e,r,t)},p(e,t){4&t[0]&&L(r,"endpoint",e[2]),8&t[0]&&L(r,"language",e[3]),8192&t[0]&&L(r,"is-short-cashier",e[13]),16384&t[0]&&L(r,"product-type",e[14]),2&t[0]&&L(r,"user-id",e[1]),1&t[0]&&L(r,"session",e[0]),32776&t[0]&&n!==(n="https://"+window.location.hostname+"/"+e[3]+e[15])&&L(r,"success-url",n),131080&t[0]&&o!==(o="https://"+window.location.hostname+"/"+e[3]+e[17])&&L(r,"cancel-url",o),65544&t[0]&&i!==(i="https://"+window.location.hostname+"/"+e[3]+e[16])&&L(r,"fail-url",i),262152&t[0]&&a!==(a="https://"+window.location.hostname+"/"+e[3]+e[18])&&L(r,"sports-url",a),524296&t[0]&&s!==(s="https://"+window.location.hostname+"/"+e[3]+e[19])&&L(r,"casino-url",s),1048584&t[0]&&l!==(l="https://"+window.location.hostname+"/"+e[3]+e[20])&&L(r,"contact-url",l),2097160&t[0]&&c!==(c="https://"+window.location.hostname+"/"+e[3]+e[21])&&L(r,"home-url",c),4194312&t[0]&&u!==(u="https://"+window.location.hostname+"/"+e[3]+e[22])&&L(r,"deposit-url",u),33554432&t[0]&&L(r,"client-styling",e[25]),67108864&t[0]&&L(r,"client-styling-url",e[26])},d(e){e&&se(r)}}}function zi(e){let r;return{c(){L(r=le("player-deposit"),"endpoint",e[2]),L(r,"session",e[0]),L(r,"playerid",e[1]),L(r,"lang",e[3]),L(r,"hasdefaultamount",e[11]),L(r,"playercurrency",e[12]),L(r,"shortcashierenabled",e[13]),L(r,"clientstyling",e[25]),L(r,"clientstylingurl",e[26])},m(e,t){ae(e,r,t)},p(e,t){4&t[0]&&L(r,"endpoint",e[2]),1&t[0]&&L(r,"session",e[0]),2&t[0]&&L(r,"playerid",e[1]),8&t[0]&&L(r,"lang",e[3]),2048&t[0]&&L(r,"hasdefaultamount",e[11]),4096&t[0]&&L(r,"playercurrency",e[12]),8192&t[0]&&L(r,"shortcashierenabled",e[13]),33554432&t[0]&&L(r,"clientstyling",e[25]),67108864&t[0]&&L(r,"clientstylingurl",e[26])},d(e){e&&se(r)}}}function Wi(e){let r,n,o,i;function a(e){return e[40]?hi:e[39]?ui:ci}let s=a(e),l=s(e);return{c(){r=le("script"),n=ce(),l.c(),o=ce(),i=le("casino-hamburger-menu"),this.c=v,ue(r,"type","module"),B(r.src,"https://unpkg.com/@everymatrix/user-deposit-withdrawal")||ue(r,"src","https://unpkg.com/@everymatrix/user-deposit-withdrawal"),L(i,"menuitemsurl",e[36]),L(i,"activecategory",e[5]),L(i,"lang",e[3]),L(i,"countryflaghamburger",e[10]),L(i,"customlocaleidentifier",e[6]),L(i,"languageslist",e[4]),L(i,"clientstyling",e[25]),L(i,"clientstylingurl",e[26])},m(e,t){ie(ri.head,r),ae(e,n,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]&&L(i,"menuitemsurl",e[36]),32&t[0]&&L(i,"activecategory",e[5]),8&t[0]&&L(i,"lang",e[3]),1024&t[0]&&L(i,"countryflaghamburger",e[10]),64&t[0]&&L(i,"customlocaleidentifier",e[6]),16&t[0]&&L(i,"languageslist",e[4]),33554432&t[0]&&L(i,"clientstyling",e[25]),67108864&t[0]&&L(i,"clientstylingurl",e[26])},i:v,o:v,d(e){se(r),e&&se(n),l.d(e),e&&se(o),e&&se(i)}}}let Vi="HeaderMenu";function Xi(r,e,n){let o,O;be(r,Kn,e=>n(45,O=e));let k,R,i,{session:a=""}=e,{userid:D=""}=e,{endpoint:N=""}=e,{cmsendpoint:s=""}=e,{cmsenv:t="stage"}=e,{lang:l="en"}=e,{languageslist:c="en, ro"}=e,{activecategory:u=""}=e,{translationurl:h=""}=e,{customlocaleidentifier:p=""}=e,{gmversion:U=""}=e,{countryflagheader:j="false"}=e,{displaybalanceoption:G="All"}=e,{countryflaghamburger:z="false"}=e,{hasdefaultamount:W=""}=e,{playercurrency:V=""}=e,{shortcashierenabled:d=""}=e,{producttype:X=""}=e,{successurl:Z=""}=e,{failurl:Y=""}=e,{cancelurl:K=""}=e,{sportsurl:J=""}=e,{casinourl:Q=""}=e,{contacturl:q=""}=e,{homeurl:ee=""}=e,{depositurl:te=""}=e,{actionevent:re=""}=e,{userroles:f=""}=e,{showsubgroups:ne="false"}=e,{clientstyling:g=""}=e,{clientstylingurl:m=""}=e,{currencyseparator:oe=""}=e,{currencydecimal:ie=""}=e,{currencyprecision:ae=""}=e;var se,le;({withLocale:se,translations:le}={withLocale:"en",translations:{}}),ye.subscribe(e=>{null==e&&(bn.set(le),ye.set(se))}),Object.keys(eo).forEach(e=>{qn(e,eo[e])});let y,b,ce,v=[],w=[],x="",E=!0,C=!1,B=!1,ue=!1,M=window.navigator.userAgent,T=!1,$=[],S=!1,he="",A=!1;const H=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:Jn(M)},window.location.href);break;case"deposit":o?(n(44,A=!0),window.postMessage({type:"DisableScroll"},window.location.href)):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)}},_=()=>{n(42,S=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},pe=e=>{if(e.data)switch(e.data.type){case"UserSessionID":e.data.userid,e.data.session,n(40,T=!0);break;case"CloseHamburgerMenu":window.postMessage({type:"EnableScroll"},window.location.href),e.data.showhamburger&&n(42,S=!1);break;case"LogoutSuccessfull":n(40,T=!1);break;case"LanguageChanged":de(),ge(b);break;case"OpenShortCashier":H("deposit");break;case"CloseShortCashier":I();break;case"RequestHeaderHeight":window.postMessage({type:"HeaderHeight",headerHeight:i.clientHeight},window.location.href)}},I=e=>{n(44,A=!1),window.postMessage({type:"EnableScroll"},window.location.href),null!=e&&e.stopPropagation()},de=()=>{b=new URL(`${s}/${x.toLowerCase()}/menu`),n(36,y=new URL(`${s}/${x.toLowerCase()}/hamburger-menu`)),ce=new URL(`${s}/${x.toLowerCase()}/op-options/style`);var e=Qn(M);b.searchParams.append("env",t),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",t),y.searchParams.append("language",x.toLowerCase()),y.searchParams.append("userRoles",f)},fe=(t,e)=>{let r=e.find(e=>-1<t.indexOf("/sport")?-1<e.path.indexOf(t):!!e.path.includes(t)||void 0);return(r=r||e.find(e=>-1<e.path.split("/").indexOf(t.split("/")[1])))?r.id:-1},ge=e=>(n(31,E=!0),new Promise((t,r)=>{fetch(e).then(e=>e.json()).then(e=>{v=e.desktop.primary,n(34,w=e.desktop.secondary),n(31,E=!1),t(e)},e=>{n(31,E=!1),console.error(e),r(e)})})),F=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)},L=e=>{n(35,x=e),n(38,B=!1),H("language")},P=()=>{n(38,B=!B)};return we(async()=>(window.addEventListener("message",pe,!1),Jn(M)&&n(39,ue=!0),()=>{window.removeEventListener("message",pe)})),r.$$set=e=>{"session"in e&&n(0,a=e.session),"userid"in e&&n(1,D=e.userid),"endpoint"in e&&n(2,N=e.endpoint),"cmsendpoint"in e&&n(54,s=e.cmsendpoint),"cmsenv"in e&&n(55,t=e.cmsenv),"lang"in e&&n(3,l=e.lang),"languageslist"in e&&n(4,c=e.languageslist),"activecategory"in e&&n(5,u=e.activecategory),"translationurl"in e&&n(56,h=e.translationurl),"customlocaleidentifier"in e&&n(6,p=e.customlocaleidentifier),"gmversion"in e&&n(7,U=e.gmversion),"countryflagheader"in e&&n(8,j=e.countryflagheader),"displaybalanceoption"in e&&n(9,G=e.displaybalanceoption),"countryflaghamburger"in e&&n(10,z=e.countryflaghamburger),"hasdefaultamount"in e&&n(11,W=e.hasdefaultamount),"playercurrency"in e&&n(12,V=e.playercurrency),"shortcashierenabled"in e&&n(13,d=e.shortcashierenabled),"producttype"in e&&n(14,X=e.producttype),"successurl"in e&&n(15,Z=e.successurl),"failurl"in e&&n(16,Y=e.failurl),"cancelurl"in e&&n(17,K=e.cancelurl),"sportsurl"in e&&n(18,J=e.sportsurl),"casinourl"in e&&n(19,Q=e.casinourl),"contacturl"in e&&n(20,q=e.contacturl),"homeurl"in e&&n(21,ee=e.homeurl),"depositurl"in e&&n(22,te=e.depositurl),"actionevent"in e&&n(23,re=e.actionevent),"userroles"in e&&n(57,f=e.userroles),"showsubgroups"in e&&n(24,ne=e.showsubgroups),"clientstyling"in e&&n(25,g=e.clientstyling),"clientstylingurl"in e&&n(26,m=e.clientstylingurl),"currencyseparator"in e&&n(27,oe=e.currencyseparator),"currencydecimal"in e&&n(28,ie=e.currencydecimal),"currencyprecision"in e&&n(29,ae=e.currencyprecision)},r.$$.update=()=>{if(32&r.$$.dirty[0]|1&r.$$.dirty[1]&&u&&!E&&(n(32,k=fe(u,v)),n(33,R=fe(u,w))),1&r.$$.dirty[0]&&a&&n(40,T=!0),8192&r.$$.dirty[0]&&(o="true"===d.toLocaleLowerCase()),8&r.$$.dirty[0]&&l&&(t=l,ye.set(t)),24&r.$$.dirty[0]|75497472&r.$$.dirty[1]&&s&&l&&c&&f&&(n(41,$=c.replace(/ /g,"").split(",")),n(41,$=$.map(e=>e.toUpperCase())),n(35,x=l.toUpperCase()),de(),e=ce,n(37,C=!1),new Promise((t,r)=>{fetch(e).then(e=>e.json()).then(e=>{0<e.logoUrl.length&&("null"!=e.logoUrl||"false"!=e.logoUrl)?(n(43,he=e.logoUrl),n(37,C=!0)):n(37,C=!1),t(e)},e=>{n(37,C=!1),console.error(e),r(e)})}),setTimeout(()=>{ge(b)})),33554432&r.$$.dirty[1]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qn(e,t[e])})}).catch(e=>{console.log(e)}),1107296256&r.$$.dirty[0]&&g&&i&&((t=document.createElement("style")).innerHTML=g,i.appendChild(t)),1140850688&r.$$.dirty[0]&&m&&i){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,t},[a,D,N,l,c,u,p,U,j,G,z,W,V,d,X,Z,Y,K,J,Q,q,ee,te,re,ne,g,m,oe,ie,ae,i,E,k,R,w,x,y,C,B,ue,T,$,S,he,A,O,H,_,I,()=>{window.postMessage({type:"SliderData",identity:Vi,data:v},window.location.href)},F,L,P,e=>"EN"==(e=p?p.includes(e.toLowerCase())?p.slice(-2):e:e)?"US":e.toUpperCase(),s,t,h,f,()=>_(),()=>H("lobby"),()=>H("deposit"),e=>I(e),e=>I(e),()=>H("myaccount"),function(e){me[e?"unshift":"push"](()=>{i=e,n(30,i)})},()=>H("lobby"),()=>H("deposit"),e=>I(e),e=>I(e),()=>H("myaccount"),function(){x=ve(this),n(35,x),n(41,$)},()=>H("language"),()=>P(),e=>L(e),e=>F(e),function(e){me[e?"unshift":"push"](()=>{i=e,n(30,i)})},()=>_(),()=>H("lobby"),()=>H("login"),()=>H("register"),function(e){me[e?"unshift":"push"](()=>{i=e,n(30,i)})},()=>H("lobby"),()=>H("login"),()=>H("register"),function(){x=ve(this),n(35,x),n(41,$)},()=>H("language"),()=>P(),e=>L(e),e=>F(e),function(e){me[e?"unshift":"push"](()=>{i=e,n(30,i)})}]}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,$,{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,-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});
|
1
|
+
((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(){function v(){}let x=e=>e;function f(e){return e()}function E(){return Object.create(null)}function P(e){e.forEach(f)}function C(e){return"function"==typeof e}function T(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let $;function B(e,t){return($=$||document.createElement("a")).href=t,e===$.href}function S(e,...t){if(null==e)return v;let r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function be(e,t,r){e.$$.on_destroy.push(S(t,r))}function A(e){return e&&C(e.destroy)?e.destroy:v}var H="undefined"!=typeof window;let _=H?()=>window.performance.now():()=>Date.now(),L=H?e=>requestAnimationFrame(e):v,k=new Set;function R(t){k.forEach(e=>{e.c(t)||(k.delete(e),e.f())}),0!==k.size&&L(R)}H="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function ae(e,t){e.appendChild(t)}function D(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function ie(e,t,r){e.insertBefore(t,r||null)}function se(e){e.parentNode&&e.parentNode.removeChild(e)}function I(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function le(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ce(e){return document.createTextNode(e)}function ue(){return ce(" ")}function c(){return ce("")}function O(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function he(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function F(e,t,r){t in e?e[t]="boolean"==typeof e[t]&&""===r||r:he(e,t,r)}function pe(e,t){e.data!==(t=""+t)&&(e.data=t)}function N(e,t,r,n){null==r?e.style.removeProperty(t):e.style.setProperty(t,r,n?"important":"")}function U(t,r,e){for(let e=0;e<t.options.length;e+=1){var n=t.options[e];if(n.__value===r)return n.selected=!0}e&&void 0===r||(t.selectedIndex=-1)}function ve(e){e=e.querySelector(":checked");return e&&e.__value}function j(e){var t,r={};for(t of e)r[t.name]=t.value;return r}let G=new Map,z,W=0;function V(e,r,n,t,o,a,i,s=0){var l=16.666/t;let c="{\n";for(let t=0;t<=1;t+=l){let e=r+(n-r)*a(t);c+=100*t+`%{${i(e,1-e)}}
|
2
|
+
`}var u,h=c+`100% {${i(n,1-n)}}
|
3
|
+
}`,s=`__svelte_${(e=>{let t=5381,r=e.length;for(;r--;)t=(t<<5)-t^e.charCodeAt(r);return t>>>0})(h)}_`+s,p=D(e),{stylesheet:d,rules:f}=G.get(p)||(p=p,u={stylesheet:(u=e,f=le("style"),u=D(u),d=f,ae(u.head||u,d),d.sheet,f.sheet),rules:{}},G.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+` ${t}ms linear ${o}ms 1 both`,W+=1,s}function X(e){z=e}function we(e){(()=>{if(z)return z;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e)}let Z=[],me=[],Y=[],K=[],J=Promise.resolve(),Q=!1;function M(e){Y.push(e)}let q=new Set,ee,te=0;function p(){if(0===te){let e=z;do{try{for(;te<Z.length;){let e=Z[te];te++,X(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),P(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(M))}}catch(e){throw Z.length=0,te=0,e}for(X(null),Z.length=0,te=0;me.length;)me.pop()();for(let e=0;e<Y.length;e+=1){var n=Y[e];q.has(n)||(q.add(n),n())}}while(Y.length=0,Z.length);for(;K.length;)K.pop()();Q=!1,q.clear(),X(e)}}function re(e,t,r){var n;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:r=!1}={}]=[(t?"intro":"outro")+r],(n=document.createEvent("CustomEvent")).initCustomEvent(e,t,r,void 0),n))}let ne=new Set,oe;function de(e,t){e&&e.i&&(ne.delete(e),e.i(t))}function fe(e,t,r,n){e&&e.o?ne.has(e)||(ne.add(e),oe.c.push(()=>{ne.delete(e),n&&(r&&e.d(1),n())}),e.o(t)):n&&n()}let ge={duration:0};function xe(l,e,t,r){let n={direction:"both"},c=e(l,t,n),u=r?0:1,h=null,p=null,d=null;function f(){var e,t,r,n;d&&(e=l,t=d,r=(e.style.animation||"").split(", "),n=r.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(r=r.length-n.length)||(e.style.animation=n.join(", "),W-=r)||L(()=>{W||(G.forEach(e=>{e=e.stylesheet.ownerNode;e&&se(e)}),G.clear())}))}function g(e,t){var r=e.b-u;return t*=Math.abs(r),{a:u,b:e.b,d:r,duration:t,start:e.start,end:e.start+t,group:e.group}}function o(e){let{delay:t=0,duration:r=300,easing:n=x,tick:o=v,css:a}=c||ge,i={start:_()+t,b:e};if(e||((i.group=oe).r+=1),h||p)p=i;else{a&&(f(),d=V(l,u,e,r,t,n,a)),e&&o(0,1),h=g(i,r),M(()=>re(l,e,"start"));{var s=e=>(p&&e>p.start&&(h=g(p,r),p=null,re(l,h.b,"start"),a)&&(f(),d=V(l,u,h.b,h.duration,0,n,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*n(e/h.duration),o(u,1-u))),!(!h&&!p));let t;0===k.size&&L(R),new Promise(e=>{k.add(t={c:s,f:e})})}}}return{run(e){C(c)?(ee||(ee=Promise.resolve()).then(()=>{ee=null}),ee.then(()=>{c=c(n),o(e)})):o(e)},end(){f(),h=p=null}}}function Ee(e,t){e.d(1),t.delete(e.key)}function Ce(o,n,a,i,s,l,c,t,u,h,p,d){let f=o.length,g=l.length,m=f;for(var y={};m--;)y[o[m].key]=m;var b=[],v=new Map,w=new Map,x=[];for(m=g;m--;){let e=d(s,l,m),t=a(e),r=c.get(t);r?i&&x.push(()=>r.p(e,n)):(r=h(t,e)).c(),v.set(t,b[m]=r),t in y&&w.set(t,Math.abs(m-y[t]))}var E=new Set,C=new Set;function B(e){de(e,1),e.m(t,p),c.set(e.key,e),p=e.first,g--}for(;f&&g;){let e=b[g-1],t=o[f-1],r=e.key,n=t.key;e===t?(p=e.first,f--,g--):v.has(n)?!c.has(r)||E.has(r)?B(e):C.has(n)?f--:w.get(r)>w.get(n)?(C.add(r),B(e)):(E.add(n),f--):(u(t,c),f--)}for(;f--;){let e=o[f];v.has(e.key)||u(e,c)}for(;g;)B(b[g-1]);return P(x),b}function Be(n,t,e,r,o,a,i,s=[-1]){var l=z;X(n);let c=n.$$={fragment:null,ctx:[],props:a,update:v,not_equal:o,bound:E(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:E(),dirty:s,skip_bound:!1,root:t.target||l.$$.root},u=(i&&i(c.root),!1);if(c.ctx=e?e(n,t.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u)&&(r=e,-1===(e=n).$$.dirty[0]&&(Z.push(e),Q||(Q=!0,J.then(p)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],c.update(),u=!0,P(c.before_update),c.fragment=!!r&&r(c.ctx),t.target){if(t.hydrate){a=t.target;let e=Array.from(a.childNodes);c.fragment&&c.fragment.l(e),e.forEach(se)}else c.fragment&&c.fragment.c();t.intro&&de(n.$$.fragment);var h=n,s=t.customElement,{fragment:i,after_update:e}=h.$$;i&&i.m(t.target,t.anchor),s||M(()=>{var e=h.$$.on_mount.map(f).filter(C);h.$$.on_destroy?h.$$.on_destroy.push(...e):P(e),h.$$.on_mount=[]}),e.forEach(M),p()}X(l)}let Me;"function"==typeof HTMLElement&&(Me=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(f).filter(C);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){P(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;let t=[],r=[];Y.forEach(e=>(-1===n.indexOf(e)?t:r).push(e)),r.forEach(e=>e()),Y=t}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(!C(t))return v;let r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var Te,$e,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Se="URLSearchParams"in l,Ae="Symbol"in l&&"iterator"in Symbol,He="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),_e="FormData"in l,Ie="ArrayBuffer"in l;function Fe(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 Le(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(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function Re(e){var t=new FileReader,r=ke(t);return t.readAsArrayBuffer(e),r}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:He&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:_e&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Se&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ie&&He&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=De(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ie&&(ArrayBuffer.prototype.isPrototypeOf(e)||$e(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):Se&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},He&&(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(He)return this.blob().then(Re);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,n=Oe(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=ke(e),r=(r=/charset=([A-Za-z0-9_-]+)/.exec(n.type))?r[1]:"utf-8",e.readAsText(n,r),t;if(this._bodyArrayBuffer)return Promise.resolve((e=>{for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.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&&(Te=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],$e=ArrayBuffer.isView||function(e){return e&&-1<Te.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=Fe(e),t=Le(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},u.prototype.delete=function(e){delete this.map[Fe(e)]},u.prototype.get=function(e){return e=Fe(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(Fe(e))},u.prototype.set=function(e,t){this.map[Fe(e)]=Le(t)},u.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},u.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),Pe(r)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Pe(t)},u.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),Pe(r)},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 r,n=(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,n||null==e._bodyInit||(n=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=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<Ue.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||(()=>{if("AbortController"in l)return(new AbortController).signal})(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ge(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}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.ok=!1,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(n,s){return new Promise(function(o,e){var a=new je(n,s);if(a.signal&&a.signal.aborted)return e(new We("Aborted","AbortError"));var r,i=new XMLHttpRequest;function t(){i.abort()}i.onload=function(){var e,n,t={statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=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(":"),r=t.shift().trim();if(r){t=t.join(":").trim();try{n.append(r,t)}catch(e){console.warn("Response "+e.message)}}}),n)},r=(0===a.url.indexOf("file://")&&(i.status<200||599<i.status)?t.status=200:t.status=i.status,t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL"),"response"in i?i.response:i.responseText);setTimeout(function(){o(new h(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},i.onabort=function(){setTimeout(function(){e(new We("Aborted","AbortError"))},0)},i.open(a.method,(t=>{try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}})(a.url),!0),"include"===a.credentials?i.withCredentials=!0:"omit"===a.credentials&&(i.withCredentials=!1),"responseType"in i&&(He?i.responseType="blob":Ie&&(i.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof u||l.Headers&&s.headers instanceof l.Headers)?(r=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){r.push(Fe(e)),i.setRequestHeader(e,Le(s.headers[e]))}),a.headers.forEach(function(e,t){-1===r.indexOf(t)&&i.setRequestHeader(t,e)})):a.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),a.signal&&(a.signal.addEventListener("abort",t),i.onreadystatechange=function(){4===i.readyState&&a.signal.removeEventListener("abort",t)}),i.send(void 0===a._bodyInit?null:a._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,r){return e(r={path:t,exports:{},require:function(e,t){throw null==t&&r.path,new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}},r.exports),r.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 r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(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 r(){this.constructor=e}Ye(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Je(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qe(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||0<t--)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function qe(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||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 rt(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var i=Je(a),s=i.next();!s.done;s=i.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(d(a))try{a()}catch(e){o=e instanceof tt?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Je(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{it(u)}catch(e){o=null!=o?o:[],e instanceof tt?o=qe(qe([],Qe(o)),Qe(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(o)throw new tt(o)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)it(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&rt(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&rt(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((n=new r).closed=!0,n);var nt=r,ot=nt.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function at(e){return e instanceof nt||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function it(e){d(e)?e():e.unsubscribe()}var st=void 0,lt=!1,ct=!1,ut={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=ut.delegate;return null!=o&&o.setTimeout?o.setTimeout.apply(o,qe([e,t],Qe(r))):setTimeout.apply(void 0,qe([e,t],Qe(r)))},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,r=t.errorThrown;if(pt=null,r)throw t.error}}else e()}Ke(t,ft=nt),t.create=function(e,t,r){return new wt(e,t,r)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ft.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ft,gt=t,mt=Function.prototype.bind;function t(e){var t=ft.call(this)||this;return t.isStopped=!1,e?at(t.destination=e)&&e.add(t):t.destination=Bt,t}function yt(e,t){return mt.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=gt),xt);function xt(e,t,r){var n=bt.call(this)||this,r=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:n&&ct?((t=Object.create(e)).unsubscribe=function(){return n.unsubscribe()},{next:e.next&&yt(e.next,t),error:e.error&&yt(e.error,t),complete:e.complete&&yt(e.complete,t)}):e;return n.destination=new vt(r),n}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},n="function"==typeof Symbol&&Symbol.observable||"@@observable";o.prototype.lift=function(e){var t=new o;return t.source=this,t.operator=e,t},o.prototype.subscribe=function(e,t,r){var n,o=this,a=(n=e)&&n instanceof gt||n&&d(n.next)&&d(n.error)&&d(n.complete)&&at(n)?e:new wt(e,t,r);return dt(function(){var e=o.operator,t=o.source;a.add(e?e.call(a,t):t?o._subscribe(a):o._trySubscribe(a))}),a},o.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},o.prototype.forEach=function(n,e){var o=this;return new(e=Tt(e))(function(e,t){var r=new wt({next:function(e){try{n(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});o.subscribe(r)})},o.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},o.prototype[n]=function(){return this},o.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];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)},o.prototype.toPromise=function(e){var n=this;return new(e=Tt(e))(function(e,t){var r;n.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},o.create=function(e){return new o(e)};var Mt=o;function o(e){e&&(this._subscribe=e)}function Tt(e){return null!=(e=null!=e?e:st)?e:Promise}var $t,St,At,Ht=et(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),n=(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 Ht},a.prototype.next=function(o){var a=this;dt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var r=Je(a.currentObservers),n=r.next();!n.done;n=r.next())n.value.next(o)}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var r=this;dt(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.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,r=this.hasError,n=this.isStopped,o=this.observers;return r||n?ot:(this.currentObservers=null,o.push(e),new nt(function(){t.currentObservers=null,rt(o,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&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,St=n),Pt.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},Pt.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.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},Ft=(Ke(Lt,$t=n),Lt.prototype.next=function(e){var t=this,r=t.isStopped,n=t._buffer,o=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;r||(n.push(e),o)||n.push(a.now()+t),this._trimBuffer(),$t.prototype.next.call(this,e)},Lt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},Lt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,o=(n?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var a=t.now(),i=0,s=1;s<r.length&&r[s]<=a;s+=2)i=s;i&&r.splice(0,i+1)}},Lt);function Lt(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=It);var n=$t.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function Pt(e,t){var r=St.call(this)||this;return r.destination=e,r.source=t,r}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={},Rt=[];function Dt(n,o=v){let a,i=new Set;function s(e){if(T(n,e)&&(n=e,a)){let e=!Rt.length;for(let e of i)e[1](),Rt.push(e,n);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(n))},subscribe:function(e,t=v){let r=[e,t];return i.add(r),1===i.size&&(a=o(s)||v),e(n),()=>{i.delete(r),0===i.size&&a&&(a(),a=null)}}}}function Nt(e,s,t){let l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Dt(t,t=>{let r=!1,n=[],o=0,a=v,i=()=>{var e;o||(a(),e=s(l?n[0]:n,t),u?t(e):a=C(e)?e:v)},e=c.map((e,t)=>S(e,e=>{n[t]=e,o&=~(1<<t),r&&i()},()=>{o|=1<<t}));return r=!0,i(),function(){P(e),a(),r=!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,r){return e.concat(t).map(function(e){return Gt(e,r)})}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(n,o,a){var i={};return a.isMergeableObject(n)&&Wt(n).forEach(function(e){i[e]=Gt(n[e],a)}),Wt(o).forEach(function(e){var t,r;(!Vt(t=n,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(Vt(n,e)&&a.isMergeableObject(o[e])?i[e]=((t=a).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Zt)(n[e],o[e],a):i[e]=Gt(o[e],a))}),i}function Zt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||zt,r.isMergeableObject=r.isMergeableObject||Ut,r.cloneUnlessOtherwiseSpecified=Gt;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):Xt(e,t,r):Gt(t,r)}Zt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Zt(e,t,r)},{});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 r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(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 r(){this.constructor=e}Kt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var g,y,Qt,m=function(){return(m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function qt(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function er(e){return e.type===y.literal}function tr(e){return e.type===y.number}function rr(e){return e.type===y.date}function nr(e){return e.type===y.time}function or(e){return e.type===y.select}function ar(e){return e.type===y.plural}function ir(e){return e.type===y.tag}function sr(e){return e&&"object"==typeof e&&e.type===Qt.number}function lr(e){return e&&"object"==typeof e&&e.type===Qt.dateTime}(n=g=g||{})[n.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",n[n.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",n[n.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",n[n.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",n[n.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",n[n.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",n[n.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",n[n.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",n[n.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",n[n.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",n[n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",n[n.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",n[n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",n[n.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",n[n.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",n[n.INVALID_TAG=23]="INVALID_TAG",n[n.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",n[n.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",n[n.UNCLOSED_TAG=27]="UNCLOSED_TAG",(n=y=y||{})[n.literal=0]="literal",n[n.argument=1]="argument",n[n.number=2]="number",n[n.date=3]="date",n[n.time=4]="time",n[n.select=5]="select",n[n.plural=6]="plural",n[n.pound=7]="pound",n[n.tag=8]="tag",(n=Qt=Qt||{})[n.number=0]="number",n[n.dateTime=1]="dateTime";var n=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,cr=/(?:[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 ur=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,hr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,pr=/^(@+)?(\+|#+)?[rs]?$/g,dr=/(\*)(0+)|(#+)(0+)|(0+)/g,fr=/^(0+)$/;function gr(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(pr,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function mr(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 yr(e){return mr(e)||{}}function br(e){for(var i={},t=0,r=e;t<r.length;t++){var n,o=r[t];switch(o.stem){case"percent":case"%":i.style="percent";continue;case"%x100":i.style="percent",i.scale=100;continue;case"currency":i.style="currency",i.currency=o.options[0];continue;case"group-off":case",_":i.useGrouping=!1;continue;case"precision-integer":case".":i.maximumFractionDigits=0;continue;case"measure-unit":case"unit":i.style="unit",i.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":i.notation="compact",i.compactDisplay="short";continue;case"compact-long":case"KK":i.notation="compact",i.compactDisplay="long";continue;case"scientific":i=m(m(m({},i),{notation:"scientific"}),o.options.reduce(function(e,t){return m(m({},e),yr(t))},{}));continue;case"engineering":i=m(m(m({},i),{notation:"engineering"}),o.options.reduce(function(e,t){return m(m({},e),yr(t))},{}));continue;case"notation-simple":i.notation="standard";continue;case"unit-width-narrow":i.currencyDisplay="narrowSymbol",i.unitDisplay="narrow";continue;case"unit-width-short":i.currencyDisplay="code",i.unitDisplay="short";continue;case"unit-width-full-name":i.currencyDisplay="name",i.unitDisplay="long";continue;case"unit-width-iso-code":i.currencyDisplay="symbol";continue;case"scale":i.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(dr,function(e,t,r,n,o,a){if(t)i.minimumIntegerDigits=r.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(fr.test(o.stem))i.minimumIntegerDigits=o.stem.length;else if(hr.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(hr,function(e,t,r,n,o,a){return"*"===r?i.minimumFractionDigits=t.length:n&&"#"===n[0]?i.maximumFractionDigits=n.length:o&&a?(i.minimumFractionDigits=o.length,i.maximumFractionDigits=o.length+a.length):(i.minimumFractionDigits=t.length,i.maximumFractionDigits=t.length),""});var a=o.options[0];"w"===a?i=m(m({},i),{trailingZeroDisplay:"stripIfInteger"}):a&&(i=m(m({},i),gr(a)))}else pr.test(o.stem)?i=m(m({},i),gr(o.stem)):((a=mr(o.stem))&&(i=m(m({},i),a)),(n=(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 r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!fr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t})(o.stem))&&(i=m(m({},i),n)))}return i}var vr={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 wr=new RegExp("^".concat(n.source,"*")),xr=new RegExp("".concat(n.source,"*$"));function b(e,t){return{start:e,end:t}}var n=!!String.prototype.startsWith,Er=!!String.fromCodePoint,Cr=!!Object.fromEntries,Br=!!String.prototype.codePointAt,Mr=!!String.prototype.trimStart,Tr=!!String.prototype.trimEnd,$r=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Sr=!0;try{Sr="a"===(null==(Yr=kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Yr[0])}catch(v){Sr=!1}var Ar,Hr,_r=n?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ir=Er?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,a=0;a<o;){if(1114111<(r=e[a++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Fr=Cr?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r];t[o[0]]=o[1]}return t},Lr=Br?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0||n<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===n||(n=e.charCodeAt(t+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536},Pr=Mr?function(e){return e.trimStart()}:function(e){return e.replace(wr,"")},Or=Tr?function(e){return e.trimEnd()}:function(e){return e.replace(xr,"")};function kr(e,t){return new RegExp(e,t)}Hr=Sr?(Ar=kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Ar.lastIndex=t,null!=(t=Ar.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var o=Lr(e,t);if(void 0===o||Nr(o)||33<=(r=o)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;n.push(o),t+=65536<=o?2:1}return Ir.apply(void 0,n)};i.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},i.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o,a=this.char();if(123===a){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(g.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Dr(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o}else if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}else{a=this.clonePosition();this.bump(),n.push({type:y.pound,location:b(a,this.clonePosition())})}}}return{val:n,err:null}},i.prototype.parseTag=function(e,t){var r,n=this.clonePosition(),o=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(o,"/>"),location:b(n,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()||!Dr(this.char())?this.error(g.INVALID_TAG,b(e,this.clonePosition())):(r=this.clonePosition(),o!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,b(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:o,children:t,location:b(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,b(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,b(n,this.clonePosition()))):this.error(g.INVALID_TAG,b(n,this.clonePosition()))},i.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())},i.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{o=this.tryParseUnquoted(e,t);if(o)n+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}r=b(r,this.clonePosition());return{val:{type:y.literal,value:n,location:r},err:null}},i.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Dr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},i.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 r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ir.apply(void 0,t)},i.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Ir(r))},i.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,b(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(g.MALFORMED_ARGUMENT,b(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:n,location:b(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(g.MALFORMED_ARGUMENT,b(r,this.clonePosition()))}},i.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Hr(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:b(e,this.clonePosition())}},i.prototype.parseArgumentOptions=function(e,t,r,n){var o,a=this.clonePosition(),i=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(i){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,b(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=Or(h.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(n)).err?c:(d=b(n,this.clonePosition()),l&&_r(null==l?void 0:l.style,"::",0)?(f=Pr(l.style.slice(2)),"number"===i?(h=this.parseNumberSkeletonFromString(f,l.styleLocation)).err?h:{val:{type:y.number,value:r,location:d,style:h.val},err:null}:0===f.length?this.error(g.EXPECT_DATE_TIME_SKELETON,d):(u=f,this.locale&&(u=((e,t)=>{for(var r="",n=0;n<e.length;n++){var o=e.charAt(n);if("j"===o){for(var a=0;n+1<e.length&&e.charAt(n+1)===o;)a++,n++;var i=1+(1&a),s=a<2?1:3+(a>>1),l=(e=>{var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(vr[t||""]||vr[r||""]||vr["".concat(r,"-001")]||vr["001"])[0]})(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)r+="a";for(;0<i--;)r=l+r}else r+="J"===o?"H":o}return r})(f,this.locale)),p={type:Qt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},u.replace(cr,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"===i?y.date:y.time,value:r,location:d,style:p},err:null})):{val:{type:"number"===i?y.number:"date"===i?y.date:y.time,value:r,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(g.EXPECT_SELECT_ARGUMENT_OPTIONS,b(u,m({},u)));this.bumpSpace();var h,p=this.parseIdentifierIfPossible(),d=0;if("select"!==i&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),p=this.parseIdentifierIfPossible(),d=h.val}var f,l=this.tryParsePluralOrSelectOptions(e,i,t,p);return l.err?l:(c=this.tryParseArgumentClose(n)).err?c:(f=b(n,this.clonePosition()),"select"===i?{val:{type:y.select,value:r,options:Fr(l.val),location:f},err:null}:{val:{type:y.plural,value:r,options:Fr(l.val),offset:d,pluralType:"plural"===i?"cardinal":"ordinal",location:f},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,b(a,s))}},i.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},i.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,b(r,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}},i.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=(e=>{if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(ur).filter(function(e){return 0<e.length});r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],o=o.slice(1),i=0,s=o;i<s.length;i++)if(0===s[i].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:o})}return t})(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:Qt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?br(r):{}},err:null}},i.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o=!1,a=[],i=new Set,s=n.value,l=n.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=b(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(i.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;a.push([s,{value:c.val,location:b(u,this.clonePosition())}]),i.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(g.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:a,err:null}},i.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,a=0;!this.isEOF();){var i=this.char();if(!(48<=i&&i<=57))break;o=!0,a=10*a+(i-48),this.bump()}n=b(n,this.clonePosition());return o?$r(a*=r)?{val:a,err:null}:this.error(t,n):this.error(e,n)},i.prototype.offset=function(){return this.position.offset},i.prototype.isEOF=function(){return this.offset()===this.message.length},i.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},i.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Lr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},i.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},i.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))},i.prototype.bumpIf=function(e){if(_r(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},i.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)},i.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}},i.prototype.bumpSpace=function(){for(;!this.isEOF()&&Nr(this.char());)this.bump()},i.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 Rr=i;function i(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 Dr(e){return 97<=e&&e<=122||65<=e&&e<=90}function Nr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Ur(e,t){t=m({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Rr(e,t).parse();if(e.err)throw(r=SyntaxError(g[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,or(e)||ar(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else tr(e)&&sr(e.style)||(rr(e)||nr(e))&&lr(e.style)?delete e.style.location:ir(e)&&r(e.children)})}(e.val),e.val}function jr(e,t){var r=t&&t.cache?t.cache:Kr,n=t&&t.serializer?t.serializer:Vr;return(t&&t.strategy?t.strategy:function(e,t){return Wr(e,this,1===e.length?Gr:zr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function Gr(e,t,r,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(r);return void 0===o&&(o=e.call(this,n),t.set(r,o)),o}function zr(e,t,r){var n=Array.prototype.slice.call(arguments,3),r=r(n),o=t.get(r);return void 0===o&&(o=e.apply(this,n),t.set(r,o)),o}function Wr(e,t,r,n,o){return r.bind(t,e,n,o)}var Vr=function(){return JSON.stringify(arguments)};function Xr(){this.cache=Object.create(null)}Xr.prototype.get=function(e){return this.cache[e]},Xr.prototype.set=function(e,t){this.cache[e]=t};var Zr,Yr,Kr={create:function(){return new Xr}},Jr={variadic:function(e,t){return Wr(e,this,zr,t.cache.create(),t.serializer)},monadic:function(e,t){return Wr(e,this,Gr,t.cache.create(),t.serializer)}};(Yr=Zr=Zr||{}).MISSING_VALUE="MISSING_VALUE",Yr.INVALID_VALUE="INVALID_VALUE",Yr.MISSING_INTL_API="MISSING_INTL_API";Jt(un,tn=Error),un.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var w,Qr,qr,en,tn,rn=un,nn=(Jt(cn,en=rn),cn),on=(Jt(ln,qr=rn),ln),an=(Jt(sn,Qr=rn),sn);function sn(e,t){return Qr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Zr.MISSING_VALUE,t)||this}function ln(e,t,r){return qr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Zr.INVALID_VALUE,r)||this}function cn(e,t,r,n){return en.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Zr.INVALID_VALUE,n)||this}function un(e,t,r){e=tn.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function hn(e,t,r,n,o,a,i){if(1===e.length&&er(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(er(u))s.push({type:w.literal,value:u.value});else if(u.type===y.pound)"number"==typeof a&&s.push({type:w.literal,value:r.getNumberFormat(t).format(a)});else{var h=u.value;if(!(o&&h in o))throw new an(h,i);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(rr(u)){var p="string"==typeof u.style?n.date[u.style]:lr(u.style)?u.style.parsedOptions:void 0;s.push({type:w.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(nr(u))p="string"==typeof u.style?n.time[u.style]:lr(u.style)?u.style.parsedOptions:n.time.medium,s.push({type:w.literal,value:r.getDateTimeFormat(t,p).format(h)});else if(tr(u))(p="string"==typeof u.style?n.number[u.style]:sr(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:w.literal,value:r.getNumberFormat(t,p).format(h)});else{if(ir(u)){var d=u.children,f=u.value,g=o[f];if("function"!=typeof g)throw new on(f,"function",i);f=g(hn(d,t,r,n,o,a).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(or(u)){if(!(m=u.options[h]||u.options.other))throw new nn(u.value,h,Object.keys(u.options),i);s.push.apply(s,hn(m.value,t,r,n,o))}else if(ar(u)){if(!(m=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new rn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Zr.MISSING_INTL_API,i);var g=r.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),m=u.options[g]||u.options.other}if(!m)throw new nn(u.value,h,Object.keys(u.options),i);s.push.apply(s,hn(m.value,t,r,n,o,h-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===w.literal&&t.type===w.literal?r.value+=t.value:e.push(t),e},[])}function pn(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(n=w=w||{})[n.literal=0]="literal",n[n.object=1]="object";Object.defineProperty(s,"defaultLocale",{get:function(){return s.memoizedDefaultLocale||(s.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),s.memoizedDefaultLocale},enumerable:!1,configurable:!0}),s.memoizedDefaultLocale=null,s.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},s.__parse=Ur,s.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var dn=s;function s(e,t,r,n){var o,a,i=this;if(void 0===t&&(t=s.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=i.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 hn(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){return{locale:i.resolvedLocale.toString()}},this.getAst=function(){return i.ast},this.locales=t,this.resolvedLocale=s.resolveLocale(t),"string"==typeof e){if(this.message=e,!s.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=s.__parse(e,{ignoreTag:null==n?void 0:n.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=s.formats,(a=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=a[t])?m(m(m({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=m(m({},r[t]),n[t]||{}),e},{})):r),e},m({},o)):o),this.formatters=n&&n.formatters||{getNumberFormat:jr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,qt([void 0],t,!1)))},{cache:pn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Jr.variadic}),getDateTimeFormat:jr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,qt([void 0],t,!1)))},{cache:pn(t.dateTime),strategy:Jr.variadic}),getPluralRules:jr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,qt([void 0],t,!1)))},{cache:pn(t.pluralRules),strategy:Jr.variadic})}}let fn={},gn=(e,t,r)=>r&&(t in fn||(fn[t]={}),e in fn[t]||(fn[t][e]=r),r),mn=(t,r)=>{if(null!=r){if(r in fn&&t in fn[r])return fn[r][t];var n=On(r);for(let e=0;e<n.length;e++){var o=((e,t)=>{if(!vn(e))return null;e=(e=>yn[e]||null)(e);var n=t;if(null!=n){if(n in e)return e[n];var o=n.split(".");let r=e;for(let t=0;t<o.length;t++)if("object"==typeof r){if(0<t){let e=o.slice(t,o.length).join(".");if(e in r){r=r[e];break}}r=r[o[t]]}else r=void 0;return r}})(n[e],t);if(o)return gn(t,r,o)}}},yn,bn=Dt({});function vn(e){return e in yn}function wn(t,...r){delete fn[t],bn.update(e=>(e[t]=Yt.all([e[t]||{},...r]),e))}Nt([bn],([e])=>Object.keys(e)),bn.subscribe(e=>yn=e);let xn={};function En(e){return xn[e]}function Cn(e){return null!=e&&On(e).some(e=>null==(e=En(e))?void 0:e.size)}function Bn(n,e){return Promise.all(e.map(e=>{return t=n,r=e,xn[t].delete(r),0===xn[t].size&&delete xn[t],e().then(e=>e.default||e);var t,r})).then(e=>wn(n,...e))}let Mn={};let Tn={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};let $n=Dt(!1);var Sn=Object.defineProperty,Er=Object.defineProperties,Cr=Object.getOwnPropertyDescriptors,An=Object.getOwnPropertySymbols,Hn=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,In=(e,t,r)=>t in e?Sn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let Fn,Ln=Dt(null);function Pn(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function On(e,t=Tn.fallbackLocale){e=Pn(e);return t?[...new Set([...e,...Pn(t)])]:e}function kn(){return null!=Fn?Fn:void 0}Ln.subscribe(e=>{Fn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let ye=Er(((e,t)=>{for(var r in t=t||{})Hn.call(t,r)&&In(e,r,t[r]);if(An)for(var r of An(t))_n.call(t,r)&&In(e,r,t[r]);return e})({},Ln),Cr({set:t=>{if(t&&(e=>{if(null!=e){var t=On(e);for(let e=0;e<t.length;e++){var r=t[e];if(vn(r))return r}}})(t)&&Cn(t)){var r=Tn.loadingDelay;let e;return"undefined"!=typeof window&&null!=kn()&&r?e=window.setTimeout(()=>$n.set(!0),r):$n.set(!0),function e(t){var r;return Cn(t)?(r=On(t).map(e=>{var t=En(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Mn[t]=Promise.all(r.map(([e,t])=>Bn(e,t))).then(()=>{if(Cn(t))return e(t);delete Mn[t]}),Mn[t]):t in Mn?Mn[t]:Promise.resolve()}(t).then(()=>{Ln.set(t)}).finally(()=>{clearTimeout(e),$n.set(!1)})}return Ln.set(t)}}));var Br=r=>{let n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Rn=Object.defineProperty,Dn=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable,jn=(e,t,r)=>t in e?Rn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Gn=(e,t)=>{for(var r in t=t||{})Nn.call(t,r)&&jn(e,r,t[r]);if(Dn)for(var r of Dn(t))Un.call(t,r)&&jn(e,r,t[r]);return e},zn=(e,t)=>{var r={};for(n in e)Nn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Dn)for(var n of Dn(e))t.indexOf(n)<0&&Un.call(e,n)&&(r[n]=e[n]);return r};let Wn=(e,t)=>{var r=Tn.formats;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Vn=Br(e=>{var{locale:t,format:r}=e,e=zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Wn("number",r)),new Intl.NumberFormat(t,e)}),Xn=Br(e=>{var{locale:t,format:r}=e,e=zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Wn("date",r):0===Object.keys(e).length&&(e=Wn("date","short")),new Intl.DateTimeFormat(t,e)}),Zn=Br(e=>{var{locale:t,format:r}=e,e=zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Wn("time",r):0===Object.keys(e).length&&(e=Wn("time","short")),new Intl.DateTimeFormat(t,e)}),Yn=Br((e,t=kn())=>new dn(e,t,Tn.formats,{ignoreTag:Tn.ignoreTag})),Kn=Nt([ye,bn],()=>(e,t={})=>{let r,n,o,a,i=t;"object"==typeof e&&(e=(i=e).id);var{values:s,locale:l=kn(),default:c}=i;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=mn(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(a=null!=(o=null==(n=(r=Tn).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:c}))?o:c)?a:e;if(!s)return u;let h=u;try{h=Yn(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h}),Jn=(Nt([ye],()=>(e,t)=>((e={})=>{var{locale:t=kn()}=e,e=zn(e,["locale"]);return Zn(Gn({locale:t},e))})(t).format(e)),Nt([ye],()=>(e,t)=>((e={})=>{var{locale:t=kn()}=e,e=zn(e,["locale"]);return Xn(Gn({locale:t},e))})(t).format(e)),Nt([ye],()=>(e,t)=>((e={})=>{var{locale:t=kn()}=e,e=zn(e,["locale"]);return Vn(Gn({locale:t},e))})(t).format(e)),Nt([ye,bn],()=>(e,t=kn())=>mn(e,t)),window.emWidgets={topic:(e,t=0)=>(-1==Ot.indexOf(e)&&(t=new Ft(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))),Qn=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function qn(e,t){wn(e,t)}let 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ş",register:"Kayıt",deposit:"Yatır",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"},"pt-br":{login:"Entrar",register:"Registro",deposit:"Depósito",promotions:"Promoções"},"es-mx":{login:"Ingresar",register:"Registro",deposit:"Depósito",promotions:"Promociones"}};function to(e,t){wn(e,t)}let ro={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş",register:"Kayıt",deposit:"Para Yatır"},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"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"}};function no(e,t,r){e=e.slice();return e[50]=t[r],e[52]=r,e}function oo(e,t,r){e=e.slice();return e[53]=t[r],e}function ao(e,t,r){e=e.slice();return e[56]=t[r],e[58]=r,e}function io(t){let n,o=[],r=new Map,a=t[9],i=e=>e[50].id;for(let e=0;e<a.length;e+=1){var s=no(t,a,e),l=i(s);r.set(l,o[e]=go(l,s))}return{c(){for(let e=0;e<o.length;e+=1)o[e].c();n=c()},m(t,r){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,r);ie(t,n,r)},p(e,t){77775&t[0]&&(a=e[9],o=Ce(o,t,i,1,e,a,r,n.parentNode,Ee,go,n,no))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&se(n)}}}function so(e){let r,n,o=e[50].name+"";return{c(){r=le("button"),n=ce(o),he(r,"class","CategoryButton")},m(e,t){ie(e,r,t),ae(r,n)},p(e,t){512&t[0]&&o!==(o=e[50].name+"")&&pe(n,o)},d(e){e&&se(r)}}}function lo(e){let r,n,o,a=e[50].label+"";return{c(){r=le("a"),n=ce(a),he(r,"href",o=e[50].path)},m(e,t){ie(e,r,t),ae(r,n)},p(e,t){512&t[0]&&a!==(a=e[50].label+"")&&pe(n,a),512&t[0]&&o!==(o=e[50].path)&&he(r,"href",o)},d(e){e&&se(r)}}}function co(e){let r,n=0<e[10].length&&"true"==e[2]&&uo(e);return{c(){n&&n.c(),r=c()},m(e,t){n&&n.m(e,t),ie(e,r,t)},p(e,t){0<e[10].length&&"true"==e[2]?n?n.p(e,t):((n=uo(e)).c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&se(r)}}}function uo(t){let o,a=t[10],i=[];for(let e=0;e<a.length;e+=1)i[e]=fo(oo(t,a,e));return{c(){o=le("ul");for(let e=0;e<i.length;e+=1)i[e].c();he(o,"class","DropDown")},m(e,t){ie(e,o,t);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(o,null)},p(t,r){if(10176&r[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){var n=oo(t,a,e);i[e]?i[e].p(n,r):(i[e]=fo(n),i[e].c(),i[e].m(o,null))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length}},d(e){e&&se(o),I(i,e)}}}function ho(r){let n,o,a,i,s,l,c,u=r[56]?.name+"";function h(...e){return r[32](r[50],r[52],r[56],r[58],...e)}return{c(){n=le("li"),o=le("a"),a=ce(u),s=ue(),he(o,"class",i="SubDropDown "+(r[52]!=r[6]||r[7]!=r[58]&&r[8]!=r[58]?"":"active"))},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(n,s),l||(c=O(n,"click",h),l=!0)},p(e,t){r=e,1024&t[0]&&u!==(u=r[56]?.name+"")&&pe(a,u),1984&t[0]&&i!==(i="SubDropDown "+(r[52]!=r[6]||r[7]!=r[58]&&r[8]!=r[58]?"":"active"))&&he(o,"class",i)},d(e){e&&se(n),l=!1,c()}}}function po(e,r){let n,o,a=r[52]==r[53].index&&ho(r);return{key:e,first:null,c(){n=c(),a&&a.c(),o=c(),this.first=n},m(e,t){ie(e,n,t),a&&a.m(e,t),ie(e,o,t)},p(e,t){(r=e)[52]==r[53].index?a?a.p(r,t):((a=ho(r)).c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},d(e){e&&se(n),a&&a.d(e),e&&se(o)}}}function fo(t){let n,o=[],r=new Map,a=t[53].items,i=e=>e[56].id;for(let e=0;e<a.length;e+=1){var s=ao(t,a,e),l=i(s);r.set(l,o[e]=po(l,s))}return{c(){for(let e=0;e<o.length;e+=1)o[e].c();n=c()},m(t,r){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,r);ie(t,n,r)},p(e,t){10176&t[0]&&(a=e[53].items,o=Ce(o,t,i,1,e,a,r,n.parentNode,Ee,po,n,ao))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&se(n)}}}function go(e,r){let n,o,a,i,s,l,c,u,h,p,d;function f(e){return"headerMain"===e[0]?lo:so}let g=f(r),m=g(r),y=1==r[11][r[52]]&&co(r);function b(...e){return r[33](r[50],r[52],...e)}return{key:e,first:null,c(){n=le("li"),o=le("div"),a=le("img"),l=ue(),m.c(),c=ue(),y&&y.c(),u=ue(),he(a,"class",i="CategoryIconImg "+("true"===r[3]?"":"DisplayNone")),B(a.src,s=r[16](r[50]))||he(a,"src",s),he(o,"class","CategoryIcon"),he(n,"class",h="CarouselItem "+(-1<r[1]?.toString().indexOf("$")?r[1]?.split("$").pop()==r[50].id.split("$").pop()?"active":"":r[1]==r[50].id?"active":"")+" "+("headerMain"==r[0]?"":"SecondaryMenu")),he(n,"part","CarouselItem"),this.first=n},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(n,l),m.m(n,null),ae(n,c),y&&y.m(n,null),ae(n,u),p||(d=O(n,"click",b),p=!0)},p(e,t){r=e,8&t[0]&&i!==(i="CategoryIconImg "+("true"===r[3]?"":"DisplayNone"))&&he(a,"class",i),512&t[0]&&!B(a.src,s=r[16](r[50]))&&he(a,"src",s),g===(g=f(r))&&m?m.p(r,t):(m.d(1),(m=g(r))&&(m.c(),m.m(n,c))),1==r[11][r[52]]?y?y.p(r,t):((y=co(r)).c(),y.m(n,u)):y&&(y.d(1),y=null),515&t[0]&&h!==(h="CarouselItem "+(-1<r[1]?.toString().indexOf("$")?r[1]?.split("$").pop()==r[50].id.split("$").pop()?"active":"":r[1]==r[50].id?"active":"")+" "+("headerMain"==r[0]?"":"SecondaryMenu"))&&he(n,"class",h)},d(e){e&&se(n),m.d(),y&&y.d(),p=!1,d()}}}function mo(r){let n,o,a,i,s,l,c,u,h,p,d,f,g,m,y,b=0<r[9].length&&io(r);return{c(){n=le("div"),o=le("div"),(a=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>',i=ue(),s=le("div"),l=le("ul"),(c=le("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',u=ue(),b&&b.c(),h=ue(),(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,he(a,"class","CarouselLeftArrow"),he(c,"class","TouchOnly"),he(l,"id","CarouselNav"),he(l,"class","CarouselItems"),he(s,"class","CarouselNavWrap"),he(p,"class","CarouselRightArrow"),he(o,"class",d="CarouselContainer CarouselContainerMobile "+("headerMain"===r[0]?"CarouselContainerHeaderMain":"")),he(o,"style",f="headerMain"===r[0]?"max-width: auto":void 0),he(n,"class",g="CarouselWrapper "+("headerMain"===r[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(o,i),ae(o,s),ae(s,l),ae(l,c),ae(l,u),b&&b.m(l,null),r[34](l),r[35](s),ae(o,h),ae(o,p),r[37](n),m||(y=[O(a,"click",r[31]),O(p,"click",r[36])],m=!0)},p(e,t){0<e[9].length?b?b.p(e,t):((b=io(e)).c(),b.m(l,null)):b&&(b.d(1),b=null),1&t[0]&&d!==(d="CarouselContainer CarouselContainerMobile "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&he(o,"class",d),1&t[0]&&f!==(f="headerMain"===e[0]?"max-width: auto":void 0)&&he(o,"style",f),1&t[0]&&g!==(g="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&he(n,"class",g)},i:v,o:v,d(e){e&&se(n),b&&b.d(),r[34](null),r[35](null),r[37](null),m=!1,P(y)}}}function yo(t,e,a){let{endpoint:i=""}=e,{datasource:s=""}=e,{onclickeventname:r="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:n="0"}=e,{location:c=""}=e,{clientstyling:o=""}=e,{clientstylingurl:u=""}=e,{identity:h=""}=e,{translationurl:p=""}=e,{isprimarymenu:d=!1}=e,{issecondarymenu:f=!1}=e,{lang:g=""}=e,{activeindex:m="0"}=e,{showsubgroups:y="false"}=e,{categoriesicon:b="false"}=e,{lobbyiconimage:v=""}=e,{mygamesiconimage:w=""}=e;var x,E;({withLocale:x,translations:E}={withLocale:"en",translations:{}}),ye.subscribe(e=>{null==e&&(bn.set(E),ye.set(x))}),Object.keys(ro).forEach(e=>{to(e,ro[e])});let C,B,M,T,$,O=window.navigator.userAgent;Qn(O);let S,A=[],H=[],_=[],I=(e,t,r,n,o)=>{e.subGroups&&null===n||(P(),a(6,B=t),a(6,B),"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),a(7,M=null),a(8,T=null)):(a(7,M=n),a(7,M),a(8,T=M),window.postMessage({type:l,itemId:r.id,subIndex:n,subItem:r},window.location.href)))},F=()=>{S.scrollBy({left:-250,behavior:"smooth"})},L=()=>{S.scrollBy({left:250,behavior:"smooth"})},k=e=>{"SliderData"==e.data.type&&e.data.identity==h&&(a(9,A=e.data.data),a(11,_=new Array(A.length).fill(!1)),"true"==y)&&A.forEach((e,t)=>{var n,o,r;0<(null==(r=null==e?void 0:e.subGroups)?void 0:r.count)&&(a(11,_[t]=!0,_),n=e,o=t,"secondaryMenu"==c&&i&&s&&g&&n.id&&(r=new URL(`${i}/v1/casino/groups/${s}/${n.id}/subGroups?language=`+g),fetch(r.href).then(e=>e.json()).then(e=>{e.index=o,a(10,H=H.concat(e)),"false"==y&&window.postMessage({type:l,itemId:n.id,index:o,item:n},window.location.href);let r=[];H.map(e=>(e.items.forEach(t=>{r.find(e=>t.id==e)||r.push(t.id)}),r.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:r},window.location.href)}).then(()=>{C.querySelectorAll(".DropDown")&&P()})),"headerMain"==c)&&window.postMessage({type:l,item:n},window.location.href)}),"GoToHomepage"==e.data.type&&A.forEach((e,t)=>{e.path.endsWith("/casino")&&(a(6,B=t),a(6,B))})},P=()=>{var t=C.querySelectorAll(".DropDown");document.activeElement.blur(),S.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+S.scrollLeft+"px)";S.classList.remove("isScrolling")};return we(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",k,!1),setTimeout(()=>{S.addEventListener("scroll",P)},500),()=>{window.removeEventListener("message",k),C.removeEventListener("scroll",P)})),t.$$set=e=>{"endpoint"in e&&a(17,i=e.endpoint),"datasource"in e&&a(18,s=e.datasource),"onclickeventname"in e&&a(19,r=e.onclickeventname),"actionevent"in e&&a(20,l=e.actionevent),"favoritesnumber"in e&&a(21,n=e.favoritesnumber),"location"in e&&a(0,c=e.location),"clientstyling"in e&&a(22,o=e.clientstyling),"clientstylingurl"in e&&a(23,u=e.clientstylingurl),"identity"in e&&a(24,h=e.identity),"translationurl"in e&&a(25,p=e.translationurl),"isprimarymenu"in e&&a(26,d=e.isprimarymenu),"issecondarymenu"in e&&a(27,f=e.issecondarymenu),"lang"in e&&a(28,g=e.lang),"activeindex"in e&&a(1,m=e.activeindex),"showsubgroups"in e&&a(2,y=e.showsubgroups),"categoriesicon"in e&&a(3,b=e.categoriesicon),"lobbyiconimage"in e&&a(29,v=e.lobbyiconimage),"mygamesiconimage"in e&&a(30,w=e.mygamesiconimage)},t.$$.update=()=>{if(t.$$.dirty[0],33554432&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)}),4194320&t.$$.dirty[0]&&o&&$&&((e=document.createElement("style")).innerHTML=o,$.appendChild(e)),8388624&t.$$.dirty[0]&&u&&$){let t=document.createElement("style"),e=new URL(u);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&g&&(e=g,ye.set(e))},[c,m,y,b,$,C,B,M,T,A,H,_,S,I,F,L,e=>{let t="";return"LOBBY"===e.id?t=v:"MYGAMES"===e.id&&(t=w),e.icon||t},i,s,r,l,n,o,u,h,p,d,f,g,v,w,()=>F(),(e,t,r,n,o)=>{I(e,t,r,n,"secondary"),o.stopPropagation()},(e,t,r)=>{I(e,t,null,null,"main"),r.preventDefault()},function(e){me[e?"unshift":"push"](()=>{C=e,a(5,C)})},function(e){me[e?"unshift":"push"](()=>{S=e,a(12,S)})},()=>L(),function(e){me[e?"unshift":"push"](()=>{$=e,a(4,$)})}]}function bo(e,{delay:t=0,duration:r=400,easing:n=x}={}){let o=+getComputedStyle(e).opacity;return{delay:t,duration:r,easing:n,css:e=>"opacity: "+e*o}}function vo(e,t){wn(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;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.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 button{background:none;border:none;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.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:j(this.attributes),customElement:!0},yo,mo,T,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30},null,[-1,-1]),e&&(e.target&&ie(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","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups","categoriesicon","lobbyiconimage","mygamesiconimage"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),p()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),p()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),p()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),p()}get favoritesnumber(){return this.$$.ctx[21]}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[22]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),p()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),p()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),p()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),p()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),p()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),p()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),p()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),p()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),p()}get mygamesiconimage(){return this.$$.ctx[30]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),p()}});let 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"},"pt-br":{language:"Escolha o seu idioma"},"es-mx":{language:"Escoger idioma"}};function xo(e,t,r){e=e.slice();return e[51]=t[r],e}function Eo(e,t,r){e=e.slice();return e[1]=t[r],e}function Co(e,t,r){e=e.slice();return e[54]=t[r],e}function Bo(e,t,r){e=e.slice();return e[57]=t[r],e}function Mo(n){let r,o,a,t,i,s,l,c,u,h,p,d,f,g,m,y,b,v=n[4],w=[];for(let e=0;e<v.length;e+=1)w[e]=To(Bo(n,v,e));let x=n[6],E=[];for(let e=0;e<x.length;e+=1)E[e]=$o(Co(n,x,e));let C=1<n[10].length&&So(n);return{c(){r=le("div"),o=le("span"),(a=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>',i=ue(),s=le("div"),l=le("ul");for(let e=0;e<w.length;e+=1)w[e].c();u=ue(),h=le("ul");for(let e=0;e<E.length;e+=1)E[e].c();d=ue(),C&&C.c(),he(a,"name","close"),he(o,"class",t=n[7]?"ModalCloseBtn":""),he(o,"role","button"),he(l,"class",c="HamburgerPrimaryMenu "+(n[8]?"HamburgerPrimaryMenuFixed":"")),he(h,"class",p="HamburgerSecondaryMenu "+(n[8]?"HamburgerSecondaryMenuFixed":"")),he(s,"class",f="HamburgerModalContainer "+(n[7]?"ActiveHamburgerMenu":"")),he(r,"class","HamburgerModalWindow"),he(r,"part","HamburgerModalWindow")},m(e,t){ie(e,r,t),ae(r,o),ae(o,a),ae(r,i),ae(r,s),ae(s,l);for(let e=0;e<w.length;e+=1)w[e]&&w[e].m(l,null);ae(s,u),ae(s,h);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(h,null);ae(s,d),C&&C.m(s,null),n[35](r),m=!0,y||(b=O(o,"click",n[14]),y=!0)},p(e,r){if(n=e,(!m||128&r[0]&&t!==(t=n[7]?"ModalCloseBtn":""))&&he(o,"class",t),32816&r[0]){let t;for(v=n[4],t=0;t<v.length;t+=1){let e=Bo(n,v,t);w[t]?w[t].p(e,r):(w[t]=To(e),w[t].c(),w[t].m(l,null))}for(;t<w.length;t+=1)w[t].d(1);w.length=v.length}if((!m||256&r[0]&&c!==(c="HamburgerPrimaryMenu "+(n[8]?"HamburgerPrimaryMenuFixed":"")))&&he(l,"class",c),65600&r[0]){let t;for(x=n[6],t=0;t<x.length;t+=1){let e=Co(n,x,t);E[t]?E[t].p(e,r):(E[t]=$o(e),E[t].c(),E[t].m(h,null))}for(;t<E.length;t+=1)E[t].d(1);E.length=x.length}(!m||256&r[0]&&p!==(p="HamburgerSecondaryMenu "+(n[8]?"HamburgerSecondaryMenuFixed":"")))&&he(h,"class",p),1<n[10].length?C?C.p(n,r):((C=So(n)).c(),C.m(s,null)):C&&(C.d(1),C=null),(!m||128&r[0]&&f!==(f="HamburgerModalContainer "+(n[7]?"ActiveHamburgerMenu":"")))&&he(s,"class",f)},i(e){m||(M(()=>{m&&(g=g||xe(r,bo,{transitionDuration:Po},!0)).run(1)}),m=!0)},o(e){(g=g||xe(r,bo,{transitionDuration:Po},!1)).run(0),m=!1},d(e){e&&se(r),I(w,e),I(E,e),C&&C.d(),n[35](null),e&&g&&g.end(),y=!1,b()}}}function To(r){let n,o,a,i,s,l,c,u,h,p,d=r[57].label+"";function f(){return r[29](r[57])}return{c(){n=le("li"),o=le("div"),a=le("img"),s=ue(),l=ce(d),c=ue(),B(a.src,i=r[57].img)||he(a,"src",i),he(a,"alt","menu icon"),he(o,"class","HamburgerItemContainer"),he(n,"class",u=r[5]===r[57].id?"ActiveItem":"")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(o,s),ae(o,l),ae(n,c),h||(p=O(n,"click",f),h=!0)},p(e,t){r=e,16&t[0]&&!B(a.src,i=r[57].img)&&he(a,"src",i),16&t[0]&&d!==(d=r[57].label+"")&&pe(l,d),48&t[0]&&u!==(u=r[5]===r[57].id?"ActiveItem":"")&&he(n,"class",u)},d(e){e&&se(n),h=!1,p()}}}function $o(r){let n,o,a,i,s,l,c,u,h=r[54].label+"";function p(...e){return r[30](r[54],...e)}return{c(){n=le("li"),o=le("img"),i=ue(),s=ce(h),l=ue(),B(o.src,a=r[54].img)||he(o,"src",a),he(o,"alt","menu icon")},m(e,t){ie(e,n,t),ae(n,o),ae(n,i),ae(n,s),ae(n,l),c||(u=O(n,"click",p),c=!0)},p(e,t){r=e,64&t[0]&&!B(o.src,a=r[54].img)&&he(o,"src",a),64&t[0]&&h!==(h=r[54].label+"")&&pe(s,h)},d(e){e&&se(n),c=!1,u()}}}function So(e){let r,n,o,a,i=e[13]("language")+"";function s(e){return"true"!==e[0]?Ho:Ao}let l=s(e),c=l(e);return{c(){r=le("div"),n=le("span"),o=ce(i),a=ue(),c.c(),he(n,"class","LanguageSelect"),he(r,"class","LanguageSelectorTitle")},m(e,t){ie(e,r,t),ae(r,n),ae(n,o),ae(r,a),c.m(r,null)},p(e,t){8192&t[0]&&i!==(i=e[13]("language")+"")&&pe(o,i),l===(l=s(e))&&c?c.p(e,t):(c.d(1),(c=l(e))&&(c.c(),c.m(r,null)))},d(e){e&&se(r),c.d()}}}function Ao(r){let n,o,a,i,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,E=r[12].slice(-2)+"",C=r[11]&&_o(r);return{c(){n=le("div"),o=le("div"),a=le("span"),i=le("img"),l=ue(),c=le("span"),u=ce(E),h=ue(),p=le("span"),d=e("svg"),f=e("g"),g=e("g"),m=e("g"),y=e("path"),v=ue(),C&&C.c(),B(i.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[20](r[12].slice(-2))}.svg`)||he(i,"src",s),he(a,"class","FlagIcon"),he(c,"class","LanguageName"),he(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"),he(m,"transform","translate(56 160)"),he(g,"fill","#000"),he(g,"transform","translate(-260 -6684)"),he(f,"fill","none"),he(f,"fill-rule","evenodd"),he(d,"xmlns","http://www.w3.org/2000/svg"),he(d,"width","20"),he(d,"height","11"),he(d,"viewBox","0 0 20 11"),he(d,"id","arrow"),he(p,"class",b="TriangleInactive "+(r[11]?"TriangleActive":"")),he(o,"class","SelectedOption Item ItemLanguage"),he(n,"class","LanguageDropdown")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(a,i),ae(o,l),ae(o,c),ae(c,u),ae(o,h),ae(o,p),ae(p,d),ae(d,f),ae(f,g),ae(g,m),ae(m,y),ae(n,v),C&&C.m(n,null),w||(x=O(o,"click",r[33]),w=!0)},p(e,t){5120&t[0]&&!B(i.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[20](e[12].slice(-2))}.svg`)&&he(i,"src",s),4096&t[0]&&E!==(E=e[12].slice(-2)+"")&&pe(u,E),2048&t[0]&&b!==(b="TriangleInactive "+(e[11]?"TriangleActive":""))&&he(p,"class",b),e[11]?C?C.p(e,t):((C=_o(e)).c(),C.m(n,null)):C&&(C.d(1),C=null)},d(e){e&&se(n),C&&C.d(),w=!1,x()}}}function Ho(r){let o,n,a,i=r[10],s=[];for(let e=0;e<i.length;e+=1)s[e]=Fo(Eo(r,i,e));return{c(){o=le("select");for(let e=0;e<s.length;e+=1)s[e].c();he(o,"class","Item ItemLanguage NoFlag"),void 0===r[12]&&M(()=>r[31].call(o))},m(e,t){ie(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);U(o,r[12],!0),n||(a=[O(o,"change",r[31]),O(o,"change",r[32])],n=!0)},p(t,r){if(1024&r[0]){let e;for(i=t[10],e=0;e<i.length;e+=1){var n=Eo(t,i,e);s[e]?s[e].p(n,r):(s[e]=Fo(n),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}5120&r[0]&&U(o,t[12])},d(e){e&&se(o),I(s,e),n=!1,P(a)}}}function _o(t){let o,a=t[10],i=[];for(let e=0;e<a.length;e+=1)i[e]=Io(xo(t,a,e));return{c(){o=le("div");for(let e=0;e<i.length;e+=1)i[e].c();he(o,"class","OptionList")},m(e,t){ie(e,o,t);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(o,null)},p(t,r){if(1311744&r[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){var n=xo(t,a,e);i[e]?i[e].p(n,r):(i[e]=Io(n),i[e].c(),i[e].m(o,null))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length}},d(e){e&&se(o),I(i,e)}}}function Io(r){let n,o,a,i,s,l,c,u,h,p,d=r[51]+"";function f(){return r[34](r[51])}return{c(){n=le("div"),o=le("span"),a=le("img"),s=ue(),l=le("span"),c=ce(d),u=ue(),B(a.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[20](r[51])}.svg`)||he(a,"src",i),he(o,"class","FlagIcon"),he(l,"class","LanguageName"),he(n,"class","LanguageOption")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(n,s),ae(n,l),ae(l,c),ae(n,u),h||(p=O(n,"click",f),h=!0)},p(e,t){r=e,1024&t[0]&&!B(a.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[20](r[51])}.svg`)&&he(a,"src",i),1024&t[0]&&d!==(d=r[51]+"")&&pe(c,d)},d(e){e&&se(n),h=!1,p()}}}function Fo(e){let r,n,o,a=e[1].slice(-2)+"";return{c(){r=le("option"),n=ce(a),r.__value=o=e[1],r.value=r.__value,r.selected=!0},m(e,t){ie(e,r,t),ae(r,n)},p(e,t){1024&t[0]&&a!==(a=e[1].slice(-2)+"")&&pe(n,a),1024&t[0]&&o!==(o=e[1])&&(r.__value=o,r.value=r.__value)},d(e){e&&se(r)}}}function Lo(r){let n,o,a=!0===r[9]&&Mo(r);return{c(){n=le("div"),a&&a.c(),this.c=v},m(e,t){ie(e,n,t),a&&a.m(n,null),r[36](n),o=!0},p(e,t){!0===e[9]?a?(a.p(e,t),512&t[0]&&de(a,1)):((a=Mo(e)).c(),de(a,1),a.m(n,null)):a&&(oe={r:0,c:[],p:oe},fe(a,1,1,()=>{a=null}),oe.r||P(oe.c),oe=oe.p)},i(e){o||(de(a),o=!0)},o(e){fe(a),o=!1},d(e){e&&se(n),a&&a.d(),r[36](null)}}}let Po=350;function Oo(t,e,n){let r;be(t,Kn,e=>n(13,r=e));let o,a,i,{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:g=""}=e,O=window.navigator.userAgent,m=[],y="",b=[],v=!1,w=!1,x=!1,E=!0,C=[],B=!1,M=!1,T="",$=(Object.keys(wo).forEach(e=>{vo(e,wo[e])}),()=>{n(9,x=!1),n(7,v=!1),n(8,w=!1),n(11,M=!1),window.postMessage({type:"CloseHamburgerMenu",showhamburger:!0},window.location.href)}),S=e=>{var r;"OpenHamburgerMenuModal"===e.data.type&&(window.postMessage({type:"DisableScroll"},window.location.href),n(9,x=!0),setTimeout(()=>{n(7,v=!0)},500),setTimeout(()=>{n(8,w=!0)},1500),r=s,new Promise((e,t)=>{a&&!B?e(a):_(r)}))},A=(e,t)=>{n(5,y=e),n(6,b=t||[]),"function"==typeof gtag&>ag("event","ChangeMenu",{context:"HamburgerMenu",menuItem:""+y})},H=()=>{var e=m.filter(e=>{let t,r=!1;return null!=(t=e.children)&&t.forEach(e=>{e.path.includes(c)&&(r=!0)}),r});0<e.length&&A(e[0].id,e[0].children)},_=e=>{fetch(e).then(e=>e.json()).then(e=>{n(4,m=e.filter(e=>"banner"!==(null==e?void 0:e.type))),H(),n(28,E=!1),a=e,B=!1},e=>{console.error(e)})},I=e=>{window.postMessage({type:"NavigateTo",path:e.path,externalLink:e.externalLink||!1,target:e.attrs.target||null},window.location.href),$()},F=()=>{B=!0,window.postMessage({type:"LanguageChanged",selectedLanguage:T},window.location.href)},L=e=>{n(12,T=e),n(11,M=!1),F()},P=()=>{n(11,M=!M)};return we(()=>(window.addEventListener("message",S,!1),Jn(O),()=>{window.removeEventListener("message",S)})),t.$$set=e=>{"menuitemsurl"in e&&n(21,s=e.menuitemsurl),"lang"in e&&n(1,l=e.lang),"activecategory"in e&&n(22,c=e.activecategory),"languageslist"in e&&n(23,u=e.languageslist),"translationurl"in e&&n(24,h=e.translationurl),"clientstyling"in e&&n(25,p=e.clientstyling),"clientstylingurl"in e&&n(26,d=e.clientstylingurl),"customlocaleidentifier"in e&&n(27,f=e.customlocaleidentifier),"countryflaghamburger"in e&&n(0,g=e.countryflaghamburger)},t.$$.update=()=>{if(8388610&t.$$.dirty[0]&&l&&u&&(e=l,ye.set(e),B&&_(s),n(10,C=u.replace(/ /g,"").split(",")),n(10,C=C.map(e=>e.toUpperCase())),n(12,T=l.toUpperCase())),272629760&t.$$.dirty[0]&&c&&!E&&H(),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&&i&&((e=document.createElement("style")).innerHTML=p,i.appendChild(e)),67108868&t.$$.dirty[0]&&d&&i){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e},[g,l,i,void 0,m,y,b,v,w,x,C,M,T,r,$,A,I,F,L,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(){T=ve(this),n(12,T),n(10,C)},()=>F(),()=>P(),e=>L(e),function(e){me[e?"unshift":"push"](()=>{o=e,n(3,o)})},function(e){me[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function ko(e,t){wn(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:j(this.attributes),customElement:!0},Oo,Lo,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&&ie(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()}});let 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:"Депозит"},"pt-br":{balanceTitle:"Seu balanço",totalBalance:"Balanço total",cashBalance:"Saldo de caixa",bonusBalance:"Saldo em títulos",depositButton:"Depósito"},"es-mx":{balanceTitle:"Su saldo",totalBalance:"Saldo total",cashBalance:"Saldo en efectivo",bonusBalance:"Saldo en bonos",depositButton:"Depósito"}};var Do=Ze(function(x,e){var n,t="undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:Xe:globalThis,_=t.setTimeout,I=t.clearTimeout,F=t.XMLHttpRequest,o=t.XDomainRequest,r=t.ActiveXObject,a=t.EventSource,i=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 L(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 g(e){return e.replace(/[A-Z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+32)})}function m(e){for(var t=Object.create(null),r=e.split("\r\n"),n=0;n<r.length;n+=1){var o=r[n].split(": "),a=o.shift(),o=o.join(": ");t[g(a)]=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,r){try{"function"==typeof t&&t.call(e,r)}catch(e){b(e)}}"undefined"==typeof window||void 0===i||"readyState"in i||null!=i.body||(i.readyState="loading",window.addEventListener("load",function(e){i.readyState="complete"},!1)),null==F&&null!=r&&(F=function(){return new r("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&&(n=p,p=function(e,t){var r=t.signal;return n(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then(function(e){var t=e.body.getReader();return r._reader=t,r._aborted&&r._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,r){if(1===r)return 128>>t<=e&&e<<t<=2047;if(2===r)return 2048>>t<=e&&e<<t<=55295||57344>>t<=e&&e<<t<=65535;if(3===r)return 65536>>t<=e&&e<<t<=1114111;throw new Error}function r(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 n="",o=this.bitsNeeded,a=this.codePoint,i=0;i<e.length;i+=1){var s=e[i];0!==o&&(s<128||191<s||!t(a<<6|63&s,o-6,r(o,a)))&&(o=0,a=65533,n+=String.fromCharCode(a)),0===o?(a=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(a,o,r(o,a))||(o=0,a=65533)):(o-=6,a=a<<6|63&s),0===o&&(a<=65535?n+=String.fromCharCode(a):n=(n+=String.fromCharCode(55296+(a-65535-1>>10)))+String.fromCharCode(56320+(a-65535-1&1023)))}return this.bitsNeeded=o,this.codePoint=a,n},null!=d&&null!=l&&(()=>{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),L.prototype.open=function(e,t){this._abort(!0);function r(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:u}),l(),1===i||2===i||3===i){if(i=4,0!==n&&(I(n),n=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,a=this._xhr,i=1,n=0,s=(this._abort=function(e){0!==o._sendTimeout&&(I(o._sendTimeout),o._sendTimeout=0),1!==i&&2!==i&&3!==i||(i=4,a.onload=u,a.onerror=u,a.onabort=u,a.onprogress=u,a.onreadystatechange=u,a.abort(),0!==n&&(I(n),n=0),e)||(o.readyState=4,o.onabort(null),o.onreadystatechange()),i=0},function(){if(1===i){var t=0,r="",n=void 0;if("contentType"in a)t=200,r="OK",n=a.contentType;else try{t=a.status,r=a.statusText,n=a.getResponseHeader("Content-Type")}catch(e){r="",n=void(t=0)}0!==t&&(i=2,o.readyState=2,o.status=t,o.statusText=r,o._contentType=n,o.onreadystatechange())}}),l=function(){if(s(),2===i||3===i){i=3;var e="";try{e=a.responseText}catch(e){}o.readyState=3,o.responseText=e,o.onprogress()}},c=function(){n=_(function(){c()},500),3===a.readyState&&l()};"onload"in a&&(a.onload=function(e){r("load",e)}),"onerror"in a&&(a.onerror=function(e){r("error",e)}),"onabort"in a&&(a.onabort=function(e){r("abort",e)}),"onprogress"in a&&(a.onprogress=l),"onreadystatechange"in a&&(a.onreadystatechange=function(e){e=e,null!=a&&(4===a.readyState?"onload"in a&&"onerror"in a&&"onabort"in a||r(""===a.responseText?"error":"load",e):3===a.readyState?"onprogress"in a||l():2===a.readyState&&s())}),!("contentType"in a)&&"ontimeout"in F.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),a.open(e,t,!0),"readyState"in a&&(n=_(function(){c()},0))},L.prototype.abort=function(){this._abort(!1)},L.prototype.getResponseHeader=function(e){return this._contentType},L.prototype.setRequestHeader=function(e,t){var r=this._xhr;"setRequestHeader"in r&&r.setRequestHeader(e,t)},L.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},L.prototype.send=function(){if("ontimeout"in F.prototype&&("sendAsBinary"in F.prototype||"mozAnon"in F.prototype)||null==i||null==i.readyState||"complete"===i.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)}},m.prototype.get=function(e){return this._map[g(e)]},null!=F&&null==F.HEADERS_RECEIVED&&(F.HEADERS_RECEIVED=2),P.prototype.open=function(o,a,t,r,e,n,i){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(),r(new Error("NetworkError"))},o.onload=function(){r(null)},o.onabort=function(){r(null)},o.onreadystatechange=function(){var e,t,r,n;o.readyState===F.HEADERS_RECEIVED&&(e=o.status,t=o.statusText,r=o.getResponseHeader("Content-Type"),n=o.getAllResponseHeaders(),a(e,t,r,new m(n)))},o.withCredentials=n,i)Object.prototype.hasOwnProperty.call(i,s)&&o.setRequestHeader(s,i[s]);return o.send(),o},y.prototype.get=function(e){return this._headers.get(e)},O.prototype.open=function(e,t,o,r,n,a,i){var s=null,l=new f,c=l.signal,u=new d;return p(n,{headers:i,credentials:a?"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,r){function n(){s.read().then(function(e){e.done?t(void 0):(e=u.decode(e.value,{stream:!0}),o(e),n())}).catch(function(e){r(e)})}n()})}).catch(function(e){return"AbortError"===e.name?void 0:e}).then(function(e){r(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 r=t.length,n=0;n<r;n+=1){var o=t[n];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 r=this._listeners,n=r[e];null==n&&(r[e]=n=[]);for(var o=!1,a=0;a<n.length;a+=1)n[a]===t&&(o=!0);o||n.push(t)},k.prototype.removeEventListener=function(e,t){e=String(e);var r=this._listeners,n=r[e];if(null!=n){for(var o=[],a=0;a<n.length;a+=1)n[a]!==t&&o.push(n[a]);0===o.length?delete r[e]:r[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,a,i,c,u,h,p,d,f,r,s,g,m,y,b,v,w,x,E,C,B,M,T,$,S,A,H;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,a=e,e=t,a=String(a),t=Boolean(e.withCredentials),i=e.lastEventIdQueryParameterName||"lastEventId",c=z(1e3),u=U(e.heartbeatTimeout,45e3),h="",p=c,d=!1,f=0,r=e.headers||{},e=e.Transport,s=W&&null==e?void 0:new L(new(null!=e?e:null!=F&&"withCredentials"in F.prototype||null==o?F:o)),g=new(null!=e&&"string"!=typeof e?e:null==s?O:P),m=void 0,b=-1,E=x=w=v="",M=B=C=y=0,T=function(e,t,r,n){var o,a;0===b&&(200===e&&null!=r&&G.test(r)?(b=1,d=Date.now(),p=c,l.readyState=1,o=new D("open",{status:e,statusText:t,headers:n}),l.dispatchEvent(o),j(l,l.onopen,o)):(a="",a=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==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",A(),o=new D("error",{status:e,statusText:t,headers:n}),l.dispatchEvent(o),j(l,l.onerror,o),console.error(a)))},$=function(e){if(1===b){for(var t=-1,r=0;r<e.length;r+=1)(i=e.charCodeAt(r))!=="\n".charCodeAt(0)&&i!=="\r".charCodeAt(0)||(t=r);var n=(-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<n.length;o+=1){var a,i=n.charCodeAt(o);if(-1===C&&i==="\n".charCodeAt(0))C=0;else if(-1===C&&(C=0),i==="\r".charCodeAt(0)||i==="\n".charCodeAt(0)){if(0!==C&&(1===C&&(M=o+1),s=n.slice(B,M-1),a=n.slice(M+(M<o&&n.charCodeAt(M)===" ".charCodeAt(0)?1:0),o),"data"===s?v=v+"\n"+a:"id"===s?w=a:"event"===s?x=a:"retry"===s?(c=U(a,c),p=c):"heartbeatTimeout"===s&&(u=U(a,u),0!==y)&&(I(y),y=_(function(){H()},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=i==="\r".charCodeAt(0)?-1:0}else 0===C&&(B=o,C=1),1===C?i===":".charCodeAt(0)&&(M=o+1,C=2):2===C&&(C=3)}}},S=function(e){var t;1!==b&&0!==b||(b=-1,0!==y&&(I(y),y=0),y=_(function(){H()},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!=m&&(m.abort(),m=void 0),0!==y&&(I(y),y=0),l.readyState=2},H=function(){if(y=0,-1===b){d=!1,f=0,y=_(function(){H()},u),w=h,E=x=v="",C=M=B=b=0;var e=a,t=("data:"!==a.slice(0,5)&&"blob:"!==a.slice(0,5)&&""!==h&&(e=-1===(t=a.indexOf("?"))?a:a.slice(0,t+1)+a.slice(t+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(e,t){return t===i?"":e}),e+=(-1===a.indexOf("?")?"?":"&")+i+"="+encodeURIComponent(h)),l.withCredentials),r={Accept:"text/event-stream"},n=l.headers;if(null!=n)for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o]);try{m=g.open(s,T,$,S,e,t,r)}catch(e){throw A(),e}}else d||null==m?(e=Math.max((d||Date.now())+u-Date.now(),1),d=!1,y=_(function(){H()},e)):(S(new Error("No activity within "+u+" milliseconds. "+(0===b?"No response received.":f+" chars received.")+" Reconnecting.")),null!=m&&(m.abort(),m=void 0))},l.url=a,l.readyState=0,l.withCredentials=t,l.headers=r,l._close=A,H()}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=a,null==F||null!=a&&"withCredentials"in a.prototype||(t=w),(s=e).EventSourcePolyfill=w,s.NativeEventSource=a,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 r=Math.pow(10,t.precision);this.intValue=e=n(e,t),this.value=e/r,t.increment=t.increment||1/r,t.groups=t.useVedic?i:a,this.s=t,this.p=r}function n(e,t,r){var r=!(2<arguments.length&&void 0!==r)||r,n=t.decimal,o=t.errorOnInvalid,a=t.fromCents,t=Math.pow(10,t.precision),i=e instanceof l;if(i&&a)return e.intValue;if("number"==typeof e||i)n=i?e.value:e;else if("string"==typeof e)o=new RegExp("[^-\\d"+n+"]","g"),n=new RegExp("\\"+n,"g"),n=e.replace(/\((.*)\)/,"-$1").replace(o,"").replace(n,".")||0;else{if(o)throw Error("Invalid Input");n=0}return a||(n=(n*t).toFixed(4)),r?Math.round(n):n}var o,a,i;e.exports=(o={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(e,t){var r=t.pattern,n=t.negativePattern,o=t.symbol,a=t.separator,i=t.decimal;t=t.groups;var s=(l=(""+e).replace(/^-/,"").split("."))[0],l=l[1];return(0<=e.value?r:n).replace("!",o).replace("#",s.replace(t,"$1"+a)+(l?i+l:""))},fromCents:!1},a=/(\d)(?=(\d{3})+\b)/g,i=/(\d)(?=(\d\d)+\d\b)/g,l.prototype={add:function(e){var t=this.s,r=this.p;return l((this.intValue+n(e,t))/(t.fromCents?1:r),t)},subtract:function(e){var t=this.s,r=this.p;return l((this.intValue-n(e,t))/(t.fromCents?1:r),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/n(e,t,!1),t)},distribute:function(e){for(var t=this.intValue,r=this.p,n=this.s,o=[],a=Math[0<=t?"floor":"ceil"](t/e),i=Math.abs(t-a*e),r=n.fromCents?1:r;0!==e;e--){var s=l(a/r,n);0<i--&&(s=s[0<=t?"add":"subtract"](1/r)),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(r){let n,o,a,i,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,E,C,B,M,T,$,S,A=r[8]("balanceTitle")+"",H=r[8]("totalBalance")+"",_=r[8]("depositButton")+"";function I(e){return"gm16"==e[0]?Go:jo}let F=I(r),L=F(r);return{c(){n=le("div"),o=le("div"),a=ue(),i=le("div"),s=le("div"),l=le("p"),c=ce(A),u=ue(),h=le("div"),p=le("div"),d=le("p"),f=ce(H),g=ue(),m=le("p"),y=le("span"),b=ce(r[4]),v=ue(),w=le("span"),x=ce(r[5]),E=ue(),L.c(),C=ue(),B=le("div"),M=le("button"),T=ce(_),he(o,"class","BalanceModalClose"),he(l,"class","BalanceModalTitle"),he(s,"class","BalanceModalHeader"),he(d,"class","BalanceModalText"),he(y,"class","BalanceModalAmount"),he(w,"class","BalanceModalCurrency"),he(m,"class","BalanceModalValue"),he(p,"class","BalanceModalRow"),he(h,"class","BalanceModalBody"),he(M,"class","BalanceModalAction"),he(B,"class","BalanceModalFooter"),he(i,"class","BalanceModal"),he(n,"class","BalanceModalWrapper")},m(e,t){ie(e,n,t),ae(n,o),ae(n,a),ae(n,i),ae(i,s),ae(s,l),ae(l,c),ae(i,u),ae(i,h),ae(h,p),ae(p,d),ae(d,f),ae(p,g),ae(p,m),ae(m,y),ae(y,b),ae(m,v),ae(m,w),ae(w,x),ae(h,E),L.m(h,null),ae(i,C),ae(i,B),ae(B,M),ae(M,T),$||(S=[O(o,"click",r[24]),O(M,"click",r[25])],$=!0)},p(e,t){256&t[0]&&A!==(A=e[8]("balanceTitle")+"")&&pe(c,A),256&t[0]&&H!==(H=e[8]("totalBalance")+"")&&pe(f,H),16&t[0]&&pe(b,e[4]),32&t[0]&&pe(x,e[5]),F===(F=I(e))&&L?L.p(e,t):(L.d(1),(L=F(e))&&(L.c(),L.m(h,null))),256&t[0]&&_!==(_=e[8]("depositButton")+"")&&pe(T,_)},d(e){e&&se(n),L.d(),$=!1,P(S)}}}function jo(e){let r,n,o,a,i,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,E,C=e[8]("cashBalance")+"",B=e[11](e[6][0]?.balanceAmount)+"",M=e[8]("bonusBalance")+"",T=e[11](e[6][1]?.balanceAmount)+"";return{c(){r=le("div"),n=le("p"),o=ce(C),a=ue(),i=le("p"),s=le("span"),l=ce(B),c=ue(),u=le("span"),h=ce(e[5]),p=ue(),d=le("div"),f=le("p"),g=ce(M),m=ue(),y=le("p"),b=le("span"),v=ce(T),w=ue(),x=le("span"),E=ce(e[5]),he(n,"class","BalanceModalText"),he(s,"class","BalanceModalAmount"),he(u,"class","BalanceModalCurrency"),he(i,"class","BalanceModalValue"),he(r,"class","BalanceModalRow"),he(f,"class","BalanceModalText"),he(b,"class","BalanceModalAmount"),he(x,"class","BalanceModalCurrency"),he(y,"class","BalanceModalValue"),he(d,"class","BalanceModalRow")},m(e,t){ie(e,r,t),ae(r,n),ae(n,o),ae(r,a),ae(r,i),ae(i,s),ae(s,l),ae(i,c),ae(i,u),ae(u,h),ie(e,p,t),ie(e,d,t),ae(d,f),ae(f,g),ae(d,m),ae(d,y),ae(y,b),ae(b,v),ae(y,w),ae(y,x),ae(x,E)},p(e,t){256&t[0]&&C!==(C=e[8]("cashBalance")+"")&&pe(o,C),64&t[0]&&B!==(B=e[11](e[6][0]?.balanceAmount)+"")&&pe(l,B),32&t[0]&&pe(h,e[5]),256&t[0]&&M!==(M=e[8]("bonusBalance")+"")&&pe(g,M),64&t[0]&&T!==(T=e[11](e[6][1]?.balanceAmount)+"")&&pe(v,T),32&t[0]&&pe(E,e[5])},d(e){e&&se(r),e&&se(p),e&&se(d)}}}function Go(e){let r;function n(e){return"Casino"===e[1]||"Sports"===e[1]?Wo:"All"===e[1]?zo:void 0}let o=n(e),a=o&&o(e);return{c(){a&&a.c(),r=c()},m(e,t){a&&a.m(e,t),ie(e,r,t)},p(e,t){o===(o=n(e))&&a?a.p(e,t):(a&&a.d(1),(a=o&&o(e))&&(a.c(),a.m(r.parentNode,r)))},d(e){a&&a.d(e),e&&se(r)}}}function zo(e){let r,n,o,a,k,R,i,s,l,D,c,u,N,h,p,d,U,j,f,g,m,G,y,z,W,b,v,w,V,X,Z,x,E,Y,K,C,J,Q,B,M,q,ee,te,T,$,re,ne,S,oe,A=e[8]("cashBalance")+"",H=e[11](e[7].Casino.Real)+"",_=e[8]("cashBalance")+"",I=e[11](e[7].Sports.Real)+"",F=e[8]("bonusBalance")+"",L=e[11](e[7].Casino.Bonus)+"",P=e[8]("bonusBalance")+"",O=e[11](e[7].Sports.Bonus)+"";return{c(){r=le("div"),n=le("div"),o=le("p"),a=ce(A),k=ce(" Casino"),R=ue(),i=le("p"),s=le("span"),l=ce(H),D=ue(),c=le("span"),u=ce(e[5]),N=ue(),h=le("div"),p=le("p"),d=ce(_),U=ce(" Sports"),j=ue(),f=le("p"),g=le("span"),m=ce(I),G=ue(),y=le("span"),z=ce(e[5]),W=ue(),b=le("div"),v=le("div"),w=le("p"),V=ce(F),X=ce(" Casino"),Z=ue(),x=le("p"),E=le("span"),Y=ce(L),K=ue(),C=le("span"),J=ce(e[5]),Q=ue(),B=le("div"),M=le("p"),q=ce(P),ee=ce(" Sports"),te=ue(),T=le("p"),$=le("span"),re=ce(O),ne=ue(),S=le("span"),oe=ce(e[5]),he(o,"class","BalanceModalText"),he(s,"class","BalanceModalAmount"),he(c,"class","BalanceModalCurrency"),he(i,"class","BalanceModalValue"),he(n,"class","BalanceModalRowLine"),he(p,"class","BalanceModalText"),he(g,"class","BalanceModalAmount"),he(y,"class","BalanceModalCurrency"),he(f,"class","BalanceModalValue"),he(h,"class","BalanceModalRowLine"),he(r,"class","BalanceModalRowBoth"),he(w,"class","BalanceModalText"),he(E,"class","BalanceModalAmount"),he(C,"class","BalanceModalCurrency"),he(x,"class","BalanceModalValue"),he(v,"class","BalanceModalRowLine"),he(M,"class","BalanceModalText"),he($,"class","BalanceModalAmount"),he(S,"class","BalanceModalCurrency"),he(T,"class","BalanceModalValue"),he(B,"class","BalanceModalRowLine"),he(b,"class","BalanceModalRowBoth")},m(e,t){ie(e,r,t),ae(r,n),ae(n,o),ae(o,a),ae(o,k),ae(n,R),ae(n,i),ae(i,s),ae(s,l),ae(i,D),ae(i,c),ae(c,u),ae(r,N),ae(r,h),ae(h,p),ae(p,d),ae(p,U),ae(h,j),ae(h,f),ae(f,g),ae(g,m),ae(f,G),ae(f,y),ae(y,z),ie(e,W,t),ie(e,b,t),ae(b,v),ae(v,w),ae(w,V),ae(w,X),ae(v,Z),ae(v,x),ae(x,E),ae(E,Y),ae(x,K),ae(x,C),ae(C,J),ae(b,Q),ae(b,B),ae(B,M),ae(M,q),ae(M,ee),ae(B,te),ae(B,T),ae(T,$),ae($,re),ae(T,ne),ae(T,S),ae(S,oe)},p(e,t){256&t[0]&&A!==(A=e[8]("cashBalance")+"")&&pe(a,A),128&t[0]&&H!==(H=e[11](e[7].Casino.Real)+"")&&pe(l,H),32&t[0]&&pe(u,e[5]),256&t[0]&&_!==(_=e[8]("cashBalance")+"")&&pe(d,_),128&t[0]&&I!==(I=e[11](e[7].Sports.Real)+"")&&pe(m,I),32&t[0]&&pe(z,e[5]),256&t[0]&&F!==(F=e[8]("bonusBalance")+"")&&pe(V,F),128&t[0]&&L!==(L=e[11](e[7].Casino.Bonus)+"")&&pe(Y,L),32&t[0]&&pe(J,e[5]),256&t[0]&&P!==(P=e[8]("bonusBalance")+"")&&pe(q,P),128&t[0]&&O!==(O=e[11](e[7].Sports.Bonus)+"")&&pe(re,O),32&t[0]&&pe(oe,e[5])},d(e){e&&se(r),e&&se(W),e&&se(b)}}}function Wo(e){let r,n,o,a,i,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,E,C=e[8]("cashBalance")+"",B=e[7][e[1]||"Casino"].Real+"",M=e[8]("bonusBalance")+"",T=e[7][e[1]||"Casino"].Bonus+"";return{c(){r=le("div"),n=le("p"),o=ce(C),a=ue(),i=le("p"),s=le("span"),l=ce(B),c=ue(),u=le("span"),h=ce(e[5]),p=ue(),d=le("div"),f=le("p"),g=ce(M),m=ue(),y=le("p"),b=le("span"),v=ce(T),w=ue(),x=le("span"),E=ce(e[5]),he(n,"class","BalanceModalText"),he(s,"class","BalanceModalAmount"),he(u,"class","BalanceModalCurrency"),he(i,"class","BalanceModalValue"),he(r,"class","BalanceModalRow"),he(f,"class","BalanceModalText"),he(b,"class","BalanceModalAmount"),he(x,"class","BalanceModalCurrency"),he(y,"class","BalanceModalValue"),he(d,"class","BalanceModalRow")},m(e,t){ie(e,r,t),ae(r,n),ae(n,o),ae(r,a),ae(r,i),ae(i,s),ae(s,l),ae(i,c),ae(i,u),ae(u,h),ie(e,p,t),ie(e,d,t),ae(d,f),ae(f,g),ae(d,m),ae(d,y),ae(y,b),ae(b,v),ae(y,w),ae(y,x),ae(x,E)},p(e,t){256&t[0]&&C!==(C=e[8]("cashBalance")+"")&&pe(o,C),130&t[0]&&B!==(B=e[7][e[1]||"Casino"].Real+"")&&pe(l,B),32&t[0]&&pe(h,e[5]),256&t[0]&&M!==(M=e[8]("bonusBalance")+"")&&pe(g,M),130&t[0]&&T!==(T=e[7][e[1]||"Casino"].Bonus+"")&&pe(v,T),32&t[0]&&pe(E,e[5])},d(e){e&&se(r),e&&se(p),e&&se(d)}}}function Vo(r){let n,o,a;return{c(){he(n=le("div"),"class","ShowBalanceModalOverlay")},m(e,t){ie(e,n,t),o||(a=O(n,"click",r[26]),o=!0)},p:v,d(e){e&&se(n),o=!1,a()}}}function Xo(r){let n,o,a,i,s,l,c,u,h,p,d,f,g=r[3]&&Uo(r),m=r[3]&&Vo(r);return{c(){n=le("div"),o=le("div"),a=le("p"),i=ce(r[4]),s=ue(),l=ce(r[5]),c=ue(),(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=ue(),g&&g.c(),p=ue(),m&&m.c(),this.c=v,he(a,"class","BalanceValue"),he(a,"part","BalanceValue"),he(o,"class","ShowBalance"),he(o,"part","ShowBalance")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(a,i),ae(a,s),ae(a,l),ae(a,c),ae(a,u),ae(o,h),g&&g.m(o,null),ae(n,p),m&&m.m(n,null),r[27](n),d||(f=O(a,"click",r[23]),d=!0)},p(e,t){16&t[0]&&pe(i,e[4]),32&t[0]&&pe(l,e[5]),e[3]?g?g.p(e,t):((g=Uo(e)).c(),g.m(o,null)):g&&(g.d(1),g=null),e[3]?m?m.p(e,t):((m=Vo(e)).c(),m.m(n,null)):m&&(m.d(1),m=null)},i:v,o:v,d(e){e&&se(n),g&&g.d(),m&&m.d(),r[27](null),d=!1,f()}}}function Zo(t,e,i){let r;be(t,Kn,e=>i(8,r=e));let n,o,{userid:a=""}=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:g="All"}=e,{currencyseparator:m=""}=e,{currencydecimal:y=""}=e,{currencyprecision:b=""}=e,v=!1,w="",x="",E=[],C="0",B=!1,M={Casino:{Real:0,Bonus:0},Sports:{Real:0,Bonus:0}},T=(Object.keys(Ro).forEach(e=>{ko(e,Ro[e])}),e=>{switch(e){case"balance":i(3,v=!0);break;case"closebalance":i(3,v=!1)}}),$=(e,t)=>{0<s.length?(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 n=JSON.parse(e.data).balanceChange;if("gmcore"===f)i(6,E=E.map(e=>{var t,r;return n&&n[e.id]&&(t=e,r=n[e.id].afterAmount,e=Object.assign(Object.assign({},t),{balanceAmount:r})),C=(parseFloat(null==e?void 0:e.balanceAmount)+parseFloat(C)).toString(),e})),i(4,w=H(Number(C)));else if("gm16"===f){for(var t in n)i(7,M.Casino[t]=n[t].afterAmount,M);i(4,w=H(M.Casino.Bonus+M.Casino.Real))}}catch(e){console.log("Balance stream failed: ",e),$(`${l}/v1/player/${a}/balance/updates`,s)}})):o&&o.close()},S=()=>{T("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},H=e=>d?new Intl.NumberFormat(A(),{useGrouping:!0}).format(e):(m&&y?No(e,{separator:m,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 we(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_),o&&o.close()})),t.$$set=e=>{"userid"in e&&i(12,a=e.userid),"session"in e&&i(13,s=e.session),"endpoint"in e&&i(14,l=e.endpoint),"lang"in e&&i(15,c=e.lang),"clientstyling"in e&&i(16,u=e.clientstyling),"clientstylingurl"in e&&i(17,h=e.clientstylingurl),"translationurl"in e&&i(18,p=e.translationurl),"customlocaleidentifier"in e&&i(19,d=e.customlocaleidentifier),"gmversion"in e&&i(0,f=e.gmversion),"displaybalanceoption"in e&&i(1,g=e.displaybalanceoption),"currencyseparator"in e&&i(20,m=e.currencyseparator),"currencydecimal"in e&&i(21,y=e.currencydecimal),"currencyprecision"in e&&i(22,b=e.currencyprecision)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&A(),61443&t.$$.dirty[0]&&l&&a&&s&&c&&f&&g&&(()=>{var e=c;switch(ye.set(e),f){case"gmcore":(async e=>{try{B=!0;var t=await fetch(e,{method:"GET",headers:{"X-SessionID":s}}),r=await t.json();if(!t.ok)throw B=!1,new Error("Failed to fetch balance data !");B=!1,i(6,E=r.items),i(5,x=Object.keys(r.totalAmount)[0]),i(4,w=H(r.totalAmount[x]))}catch(e){B=!1,console.log("Balance error: ",e)}finally{B=!1}})(new URL(`${l}/v1/player/${a}/account`));break;case"gm16":(async e=>{try{B=!0,"Casino"==g&&e.searchParams.append("productType","Casino"),"Sports"==g&&e.searchParams.append("productType","Sports"),"All"===g&&(e.searchParams.append("productType","Casino"),e.searchParams.append("productType","Sports"));var t=await fetch(e,{method:"GET",headers:{"X-SessionID":s}}),r=await t.json();if(!t.ok)throw B=!1,new Error("Failed to fetch balance data !");B=!1;for(let e of r.items){var{type:n,amount:o,productType:a}=e;"Casino"===g?i(7,M.Casino[n]=o,M):"Sports"===g?i(7,M.Sports[n]=o,M):"All"===g&&a&&n&&i(7,M[a][n]=o,M)}i(5,x=Object.keys(r.totalAmount)[0]),i(4,w=H(r.totalAmount[x]))}catch(e){B=!1,console.log("Balance error: ",e)}finally{B=!1}})(new URL(`${l}/v1/player/${a}/balance`));break;default:throw Error("Invalid apiversion attribute: "+f)}})(),28672&t.$$.dirty[0]&&l&&a&&s&&$(`${l}/v1/player/${a}/balance/updates`,s),65540&t.$$.dirty[0]&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),131076&t.$$.dirty[0]&&h&&n){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e;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,g,n,v,w,x,E,M,r,T,S,H,a,s,l,c,u,h,p,d,m,y,b,()=>T("balance"),()=>T("closebalance"),()=>S(),()=>T("closebalance"),function(e){me[e?"unshift":"push"](()=>{n=e,i(2,n)})}]}function Yo(e,t){wn(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:j(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&&ie(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()}});let Ko={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function Jo(e){let r,n,o;return{c(){r=le("div"),B((n=le("iframe")).src,o=e[3])||he(n,"src",o),he(n,"title","Deposit Iframe"),he(r,"class","DepositIframeWrapper")},m(e,t){ie(e,r,t),ae(r,n)},p(e,t){8&t&&!B(n.src,o=e[3])&&he(n,"src",o)},d(e){e&&se(r)}}}function Qo(e){let r,n,o=e[4]("loading")+"";return{c(){r=le("p"),n=ce(o)},m(e,t){ie(e,r,t),ae(r,n)},p(e,t){16&t&&o!==(o=e[4]("loading")+"")&&pe(n,o)},d(e){e&&se(r)}}}function qo(r){let n,o,a,i,s,l=r[4]("titleDeposit")+"",c=r[5]&&(r=>{let n,o,a,i,s,l,c,u,h,p,d,f,g,m=r[4]("titleDeposit")+"";return{c(){n=le("div"),o=e("svg"),a=e("defs"),i=e("style"),s=ce(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),l=e("g"),c=e("g"),u=e("path"),h=ue(),p=le("h2"),d=ce(m),he(u,"class","aaa"),he(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),he(u,"transform","translate(15 15) rotate(180)"),he(c,"transform","translate(20 158)"),he(l,"transform","translate(-20 -158)"),he(o,"xmlns","http://www.w3.org/2000/svg"),he(o,"width","15"),he(o,"height","15"),he(o,"viewBox","0 0 15 15"),he(p,"class","DepositTitleMobile"),he(n,"class","MenuReturnButton")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(a,i),ae(i,s),ae(o,l),ae(l,c),ae(c,u),ae(n,h),ae(n,p),ae(p,d),f||(g=O(n,"click",r[17]),f=!0)},p(e,t){16&t&&m!==(m=e[4]("titleDeposit")+"")&&pe(d,m)},d(e){e&&se(n),f=!1,g()}}})(r);function u(e){return e[1]?Qo:Jo}let h=u(r),p=h(r);return{c(){n=le("div"),c&&c.c(),o=ue(),a=le("h2"),i=ce(l),s=ue(),p.c(),this.c=v,he(a,"class","DepositTitle "+(r[5]?"DepositTitleNone":"")),he(n,"class","DepositWrapper "+(r[5]?"DepositWrapperMobile":"")),N(n,"--dynamic-height",r[2])},m(e,t){ie(e,n,t),c&&c.m(n,null),ae(n,o),ae(n,a),ae(a,i),ae(n,s),p.m(n,null),r[18](n)},p(e,[t]){e[5]&&c.p(e,t),16&t&&l!==(l=e[4]("titleDeposit")+"")&&pe(i,l),h===(h=u(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(n,null))),4&t&&N(n,"--dynamic-height",e[2])},i:v,o:v,d(e){e&&se(n),c&&c.d(),p.d(),r[18](null)}}}function ea(n,e,o){let a,t;be(n,Kn,e=>o(4,t=e));let i,r,{endpoint:s=""}=e,{session:l=""}=e,{playerid:c=""}=e,{lang:u="en"}=e,{hasdefaultamount:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:d=""}=e,{translationurl:f=""}=e,{playercurrency:g=""}=e,{shortcashierenabled:m="false"}=e,y=window.navigator.userAgent,b="PC"!==Qn(y),v=!0,w=0,x="",E=(Object.keys(Ko).forEach(e=>{Yo(e,Ko[e])}),()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:b},window.location.href)}),C=e=>{if(e.data)switch("ProfileDetailsData"===e.data.type&&o(7,g=e.data.profileDetails.currency),e.data["MMFE:setQuickDepositHeight"]&&o(2,r=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 we(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)})),n.$$set=e=>{"endpoint"in e&&o(8,s=e.endpoint),"session"in e&&o(9,l=e.session),"playerid"in e&&o(10,c=e.playerid),"lang"in e&&o(11,u=e.lang),"hasdefaultamount"in e&&o(12,h=e.hasdefaultamount),"clientstyling"in e&&o(13,p=e.clientstyling),"clientstylingurl"in e&&o(14,d=e.clientstylingurl),"translationurl"in e&&o(15,f=e.translationurl),"playercurrency"in e&&o(7,g=e.playercurrency),"shortcashierenabled"in e&&o(16,m=e.shortcashierenabled)},n.$$.update=()=>{if(2048&n.$$.dirty&&u&&(r=u,ye.set(r)),65536&n.$$.dirty&&(a="true"===m.toLocaleLowerCase()),16385&n.$$.dirty&&d&&i){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}if(8193&n.$$.dirty&&p&&i&&((r=document.createElement("style")).innerHTML=p,i.appendChild(r)),32768&n.$$.dirty&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Yo(e,t[e])})}).catch(e=>{console.log(e)}),69504&n.$$.dirty&&l&&c&&s&&g&&u&&m){var e=new URL(`${s}/v1/player/${c}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(e.searchParams.append("language",u),a&&e.searchParams.append("isShortCashier",m),h)switch(g){case"USD":w=.4;break;case"CDF":w=1e3}var t={method:"POST",headers:{"X-SessionId":l,currency:g||"EUR",amount:w,cashierMode:"Default",IsShortCashier:m,accept:"application/json"}};fetch(e.href,t).then(e=>e.json()).then(e=>{o(1,v=!1),o(3,x=e.CashierUrl)},e=>{console.error(e)})}var r},[i,v,r,x,t,b,E,g,s,l,c,u,h,p,d,f,m,()=>E(),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{background-color:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}",this.shadowRoot.appendChild(t),Be(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ea,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&&ie(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 ta="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LjljY2M0ZGU5MywgMjAyMi8wMy8xNC0xNDowNzoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIzLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMzQjhCMTgyRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMzQjhCMTgzRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzNCOEIxODBFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzNCOEIxODFFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7HvIqyAAAAEElEQVR42mL4//8/A0CAAQAI/AL+26JNFgAAAABJRU5ErkJggg==";let ra=H.document;function na(e,t,r){e=e.slice();return e[111]=t[r],e}function oa(e,t,r){e=e.slice();return e[114]=t[r],e}function aa(e,t,r){e=e.slice();return e[114]=t[r],e}function ia(e,t,r){e=e.slice();return e[111]=t[r],e}function sa(e,t,r){e=e.slice();return e[114]=t[r],e}function la(e,t,r){e=e.slice();return e[114]=t[r],e}function ca(r){let n,o,a,i,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,e=r[45]("login")+"",t=r[45]("register")+"";function E(e){return e[37]?da:pa}let C=E(r),B=C(r),M=!r[31]&&fa(r),T=1<r[41].length&&ga(r),$=r[34],S=[];for(let e=0;e<$.length;e+=1)S[e]=xa(na(r,$,e));return{c(){n=le("header"),o=le("div"),a=le("div"),B.c(),i=ue(),s=le("nav"),M&&M.c(),l=ue(),c=le("div"),u=le("div"),h=le("div"),p=ce(e),d=ue(),f=le("div"),g=ce(t),m=ue(),T&&T.c(),y=ue(),b=le("nav"),v=le("ul");for(let e=0;e<S.length;e+=1)S[e].c();he(a,"class","HeaderBranding"),he(s,"class","HeaderMainNav"),he(h,"class","Item ItemLogin"),he(h,"tabindex","0"),he(f,"class","Item ItemRegister"),he(f,"tabindex","0"),he(u,"class","HeaderItemsMenu"),he(c,"class","HeaderTopActions"),he(o,"class","HeaderContainer"),he(v,"class","HeaderItemsMenuSecondary"),he(b,"class","HeaderSecondaryNav"),he(n,"class","HeaderWrapper")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),B.m(a,null),ae(o,i),ae(o,s),M&&M.m(s,null),ae(o,l),ae(o,c),ae(c,u),ae(u,h),ae(h,p),ae(u,d),ae(u,f),ae(f,g),ae(u,m),T&&T.m(u,null),ae(n,y),ae(n,b),ae(b,v);for(let e=0;e<S.length;e+=1)S[e]&&S[e].m(v,null);r[89](n),w||(x=[O(a,"click",r[81]),O(h,"click",r[82]),O(f,"click",r[83])],w=!0)},p(r,n){if(C===(C=E(r))&&B?B.p(r,n):(B.d(1),(B=C(r))&&(B.c(),B.m(a,null))),r[31]?M&&(M.d(1),M=null):M?M.p(r,n):((M=fa(r)).c(),M.m(s,null)),16384&n[1]&&e!==(e=r[45]("login")+"")&&pe(p,e),16384&n[1]&&t!==(t=r[45]("register")+"")&&pe(g,t),1<r[41].length?T?T.p(r,n):((T=ga(r)).c(),T.m(u,null)):T&&(T.d(1),T=null),524300&n[1]){let t;for($=r[34],t=0;t<$.length;t+=1){let e=na(r,$,t);S[t]?S[t].p(e,n):(S[t]=xa(e),S[t].c(),S[t].m(v,null))}for(;t<S.length;t+=1)S[t].d(1);S.length=$.length}},d(e){e&&se(n),B.d(),M&&M.d(),T&&T.d(),I(S,e),r[89](null),w=!1,P(x)}}}function ua(r){let n,o,a,i,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,E,C,B,M,T=r[45]("login")+"",$=r[45]("register")+"";function S(e){return e[37]?Ca:Ea}let A=S(r),H=A(r);return{c(){n=le("header"),o=le("div"),a=le("div"),i=e("svg"),s=e("defs"),l=e("style"),c=ce(".a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n "),u=e("g"),h=e("rect"),p=e("rect"),d=e("rect"),f=ue(),g=le("div"),H.c(),m=ue(),y=le("div"),b=le("div"),v=le("div"),w=ce(T),x=ue(),E=le("div"),C=ce($),he(h,"class","a"),he(h,"width","18"),he(h,"height","2"),he(h,"transform","translate(14 13)"),he(p,"class","a"),he(p,"width","22"),he(p,"height","2"),he(p,"transform","translate(14 20)"),he(d,"class","a"),he(d,"width","22"),he(d,"height","2"),he(d,"transform","translate(14 27)"),he(u,"transform","translate(-14 -13)"),he(i,"xmlns","http://www.w3.org/2000/svg"),he(i,"width","22"),he(i,"height","16"),he(i,"viewBox","0 0 22 16"),he(a,"class","HeaderMobileMainNav"),he(g,"class","HeaderBranding"),he(v,"class","Item ItemLogin"),he(E,"class","Item ItemRegister"),he(b,"class","HeaderItemsMenu"),he(y,"class","HeaderTopActions"),he(o,"class","HeaderContainer"),he(n,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(a,i),ae(i,s),ae(s,l),ae(l,c),ae(i,u),ae(u,h),ae(u,p),ae(u,d),ae(o,f),ae(o,g),H.m(g,null),ae(o,m),ae(o,y),ae(y,b),ae(b,v),ae(v,w),ae(b,x),ae(b,E),ae(E,C),r[80](n),B||(M=[O(i,"click",r[76]),O(g,"click",r[77]),O(v,"click",r[78]),O(E,"click",r[79])],B=!0)},p(e,t){A===(A=S(e))&&H?H.p(e,t):(H.d(1),(H=A(e))&&(H.c(),H.m(g,null))),16384&t[1]&&T!==(T=e[45]("login")+"")&&pe(w,T),16384&t[1]&&$!==($=e[45]("register")+"")&&pe(C,$)},d(e){e&&se(n),H.d(),r[80](null),B=!1,P(M)}}}function ha(e){let r;function n(e){return e[39]?Ma:Ba}let o=n(e),a=o(e);return{c(){a.c(),r=c()},m(e,t){a.m(e,t),ie(e,r,t)},p(e,t){o===(o=n(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(r.parentNode,r)))},d(e){a.d(e),e&&se(r)}}}function pa(e){let r,t;return{c(){B((r=le("img")).src,t=ta)||he(r,"src",t),he(r,"alt","Logo")},m(e,t){ie(e,r,t)},p:v,d(e){e&&se(r)}}}function da(e){let r,n;return{c(){B((r=le("img")).src,n=e[43])||he(r,"src",n),he(r,"alt","Logo")},m(e,t){ie(e,r,t)},p(e,t){4096&t[1]&&!B(r.src,n=e[43])&&he(r,"src",n)},d(e){e&&se(r)}}}function fa(r){let n,o,a;return{c(){F(n=le("casino-slider"),"class","HeaderItemsMenu"),F(n,"part","HeaderItemsMenu"),F(n,"identity",Va),F(n,"isprimarymenu","true"),F(n,"actionevent",r[23]),F(n,"activeindex",r[32]),F(n,"location","headerMain"),F(n,"endpoint",r[2]),F(n,"lang",r[3]),F(n,"clientstyling",r[25]),F(n,"clientstylingurl",r[26])},m(e,t){ie(e,n,t),o||(a=A(r[49].call(null,n)),o=!0)},p(e,t){8388608&t[0]&&F(n,"actionevent",e[23]),2&t[1]&&F(n,"activeindex",e[32]),4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"lang",e[3]),33554432&t[0]&&F(n,"clientstyling",e[25]),67108864&t[0]&&F(n,"clientstylingurl",e[26])},d(e){e&&se(n),o=!1,a()}}}function ga(e){let r;function n(e){return"true"!==e[8]?ya:ma}let o=n(e),a=o(e);return{c(){a.c(),r=c()},m(e,t){a.m(e,t),ie(e,r,t)},p(e,t){o===(o=n(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(r.parentNode,r)))},d(e){a.d(e),e&&se(r)}}}function ma(r){let n,o,a,i,s,l,c,u,h,p,d,f,g,m,y,b,v=r[35].slice(-2)+"",w=r[38]&&ba(r);return{c(){n=le("div"),o=le("div"),a=le("span"),i=le("img"),l=ue(),c=le("span"),u=ce(v),h=ue(),p=le("span"),d=e("svg"),f=e("path"),m=ue(),w&&w.c(),B(i.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[53](r[35].slice(-2))}.svg`)||he(i,"src",s),he(a,"class","FlagIcon"),he(c,"class","LanguageName"),he(f,"id","arrow"),he(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"),he(f,"transform","translate(-274.511 -441.088)"),he(f,"fill","#d1d1d1"),he(d,"xmlns","http://www.w3.org/2000/svg"),he(d,"width","14"),he(d,"height","6.835"),he(d,"viewBox","0 0 14 6.835"),he(p,"class",g="TriangleInactive "+(r[38]?"TriangleActive":"")),he(o,"class","SelectedOption Item ItemLanguage"),he(n,"class","LanguageDropdown")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(a,i),ae(o,l),ae(o,c),ae(c,u),ae(o,h),ae(o,p),ae(p,d),ae(d,f),ae(n,m),w&&w.m(n,null),y||(b=O(o,"click",r[86]),y=!0)},p(e,t){1040&t[1]&&!B(i.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[53](e[35].slice(-2))}.svg`)&&he(i,"src",s),16&t[1]&&v!==(v=e[35].slice(-2)+"")&&pe(u,v),128&t[1]&&g!==(g="TriangleInactive "+(e[38]?"TriangleActive":""))&&he(p,"class",g),e[38]?w?w.p(e,t):((w=ba(e)).c(),w.m(n,null)):w&&(w.d(1),w=null)},d(e){e&&se(n),w&&w.d(),y=!1,b()}}}function ya(r){let o,n,a,i=r[41],s=[];for(let e=0;e<i.length;e+=1)s[e]=wa(aa(r,i,e));return{c(){o=le("select");for(let e=0;e<s.length;e+=1)s[e].c();he(o,"class","Item ItemLanguage NoFlag"),void 0===r[35]&&M(()=>r[84].call(o))},m(e,t){ie(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);U(o,r[35],!0),n||(a=[O(o,"change",r[84]),O(o,"change",r[85])],n=!0)},p(t,r){if(1024&r[1]){let e;for(i=t[41],e=0;e<i.length;e+=1){var n=aa(t,i,e);s[e]?s[e].p(n,r):(s[e]=wa(n),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}1040&r[1]&&U(o,t[35])},d(e){e&&se(o),I(s,e),n=!1,P(a)}}}function ba(t){let o,a=t[41],i=[];for(let e=0;e<a.length;e+=1)i[e]=va(oa(t,a,e));return{c(){o=le("div");for(let e=0;e<i.length;e+=1)i[e].c();he(o,"class","OptionList")},m(e,t){ie(e,o,t);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(o,null)},p(t,r){if(5243904&r[1]){let e;for(a=t[41],e=0;e<a.length;e+=1){var n=oa(t,a,e);i[e]?i[e].p(n,r):(i[e]=va(n),i[e].c(),i[e].m(o,null))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length}},d(e){e&&se(o),I(i,e)}}}function va(r){let n,o,a,i,s,l,c,u,h,p,d=r[114].slice(-2)+"";function f(){return r[87](r[114])}return{c(){n=le("div"),o=le("span"),a=le("img"),s=ue(),l=le("span"),c=ce(d),u=ue(),B(a.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[53](r[114].slice(-2))}.svg`)||he(a,"src",i),he(o,"class","FlagIcon"),he(l,"class","LanguageName"),he(n,"class","LanguageOption")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(n,s),ae(n,l),ae(l,c),ae(n,u),h||(p=O(n,"click",f),h=!0)},p(e,t){r=e,1024&t[1]&&!B(a.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[53](r[114].slice(-2))}.svg`)&&he(a,"src",i),1024&t[1]&&d!==(d=r[114].slice(-2)+"")&&pe(c,d)},d(e){e&&se(n),h=!1,p()}}}function wa(e){let r,n,o,a=e[114].slice(-2)+"";return{c(){r=le("option"),n=ce(a),r.__value=o=e[114],r.value=r.__value},m(e,t){ie(e,r,t),ae(r,n)},p(e,t){1024&t[1]&&a!==(a=e[114].slice(-2)+"")&&pe(n,a),1024&t[1]&&o!==(o=e[114])&&(r.__value=o,r.value=r.__value)},d(e){e&&se(r)}}}function xa(r){let n,o,a,i,s,l,c,u=r[111].label+"";function h(){return r[88](r[111])}return{c(){n=le("li"),o=le("button"),a=ce(u),i=ue(),he(n,"class",s="ItemSecondary "+(-1<r[33]?.toString().indexOf("$")?r[33]?.split("$").pop()==r[111].id.split("$").pop()?"active":"":r[33]==r[111].id?"active":"")),he(n,"part","ItemSecondary")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(n,i),l||(c=O(o,"click",h),l=!0)},p(e,t){r=e,8&t[1]&&u!==(u=r[111].label+"")&&pe(a,u),12&t[1]&&s!==(s="ItemSecondary "+(-1<r[33]?.toString().indexOf("$")?r[33]?.split("$").pop()==r[111].id.split("$").pop()?"active":"":r[33]==r[111].id?"active":""))&&he(n,"class",s)},d(e){e&&se(n),l=!1,c()}}}function Ea(e){let r,t;return{c(){B((r=le("img")).src,t=ta)||he(r,"src",t),he(r,"alt","Logo")},m(e,t){ie(e,r,t)},p:v,d(e){e&&se(r)}}}function Ca(e){let r,n;return{c(){B((r=le("img")).src,n=e[43])||he(r,"src",n),he(r,"alt","Logo")},m(e,t){ie(e,r,t)},p(e,t){4096&t[1]&&!B(r.src,n=e[43])&&he(r,"src",n)},d(e){e&&se(r)}}}function Ba(r){let n,o,a,i,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x,E,C,B,e=r[45]("deposit")+"";function t(e){return e[37]?$a:Ta}let M=t(r),T=M(r),$=!r[31]&&Sa(r),S=r[44]&&Aa(r),A=1<r[41].length&&Ia(r),H=r[34],_=[];for(let e=0;e<H.length;e+=1)_[e]=Ra(ia(r,H,e));return{c(){n=le("header"),o=le("div"),a=le("div"),T.c(),i=ue(),s=le("nav"),$&&$.c(),l=ue(),c=le("div"),u=le("div"),h=le("player-account-balance-modal"),p=ue(),d=le("div"),f=le("div"),g=ce(e),m=ue(),S&&S.c(),y=ue(),(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=ue(),A&&A.c(),w=ue(),x=le("nav"),E=le("ul");for(let e=0;e<_.length;e+=1)_[e].c();he(a,"class","HeaderBranding"),he(s,"class","HeaderMainNav"),F(h,"session",r[0]),F(h,"userid",r[1]),F(h,"endpoint",r[2]),F(h,"lang",r[3]),F(h,"clientstyling",r[25]),F(h,"clientstylingurl",r[26]),F(h,"customlocaleidentifier",r[6]),F(h,"gmversion",r[7]),F(h,"displaybalanceoption",r[9]),F(h,"currencyseparator",r[27]),F(h,"currencydecimal",r[28]),F(h,"currencyprecision",r[29]),he(f,"class","Item ItemDeposit"),he(f,"part","Item ItemDeposit"),he(b,"class","Item ItemAccount"),he(b,"part","Item ItemAccount"),he(u,"class","HeaderItemsMenu PrimaryMenu"),he(c,"class","HeaderTopActions"),he(o,"class","HeaderContainer"),he(E,"class","HeaderItemsMenuSecondary"),he(x,"class","HeaderSecondaryNav"),he(n,"class","HeaderWrapper")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),T.m(a,null),ae(o,i),ae(o,s),$&&$.m(s,null),ae(o,l),ae(o,c),ae(c,u),ae(u,h),ae(u,p),ae(u,d),ae(d,f),ae(f,g),ae(d,m),S&&S.m(d,null),ae(u,y),ae(u,b),ae(u,v),A&&A.m(u,null),ae(n,w),ae(n,x),ae(x,E);for(let e=0;e<_.length;e+=1)_[e]&&_[e].m(E,null);r[75](n),C||(B=[O(a,"click",r[65]),O(f,"click",r[66]),O(b,"click",r[69])],C=!0)},p(r,n){if(M===(M=t(r))&&T?T.p(r,n):(T.d(1),(T=M(r))&&(T.c(),T.m(a,null))),r[31]?$&&($.d(1),$=null):$?$.p(r,n):(($=Sa(r)).c(),$.m(s,null)),1&n[0]&&F(h,"session",r[0]),2&n[0]&&F(h,"userid",r[1]),4&n[0]&&F(h,"endpoint",r[2]),8&n[0]&&F(h,"lang",r[3]),33554432&n[0]&&F(h,"clientstyling",r[25]),67108864&n[0]&&F(h,"clientstylingurl",r[26]),64&n[0]&&F(h,"customlocaleidentifier",r[6]),128&n[0]&&F(h,"gmversion",r[7]),512&n[0]&&F(h,"displaybalanceoption",r[9]),134217728&n[0]&&F(h,"currencyseparator",r[27]),268435456&n[0]&&F(h,"currencydecimal",r[28]),536870912&n[0]&&F(h,"currencyprecision",r[29]),16384&n[1]&&e!==(e=r[45]("deposit")+"")&&pe(g,e),r[44]?S?S.p(r,n):((S=Aa(r)).c(),S.m(d,null)):S&&(S.d(1),S=null),1<r[41].length?A?A.p(r,n):((A=Ia(r)).c(),A.m(u,null)):A&&(A.d(1),A=null),524300&n[1]){let t;for(H=r[34],t=0;t<H.length;t+=1){let e=ia(r,H,t);_[t]?_[t].p(e,n):(_[t]=Ra(e),_[t].c(),_[t].m(E,null))}for(;t<_.length;t+=1)_[t].d(1);_.length=H.length}},d(e){e&&se(n),T.d(),$&&$.d(),S&&S.d(),A&&A.d(),I(_,e),r[75](null),C=!1,P(B)}}}function Ma(r){let n,o,a,i,s,l,c,u,h,p,d,f,g,m,y,b,v,w,x=r[45]("deposit")+"",E=!r[42]&&Da(r);function C(e){return e[37]?Ua:Na}let B=C(r),M=B(r),T=r[44]&&ja(r);return{c(){n=le("header"),o=le("div"),a=le("div"),E&&E.c(),i=ue(),s=le("div"),M.c(),l=ue(),c=le("div"),u=le("div"),h=le("player-account-balance-modal"),p=ue(),d=le("div"),f=le("div"),g=ce(x),m=ue(),T&&T.c(),y=ue(),(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>',he(a,"class","HeaderMobileMainNav"),he(s,"class","HeaderBranding"),F(h,"session",r[0]),F(h,"userid",r[1]),F(h,"endpoint",r[2]),F(h,"lang",r[3]),F(h,"clientstyling",r[25]),F(h,"clientstylingurl",r[26]),F(h,"customlocaleidentifier",r[6]),F(h,"gmversion",r[7]),F(h,"displaybalanceoption",r[9]),F(h,"currencyseparator",r[27]),F(h,"currencydecimal",r[28]),F(h,"currencyprecision",r[29]),he(f,"class","Item ItemDeposit"),he(f,"part","Item ItemDeposit"),he(b,"class","Item ItemAccount"),he(b,"part","Item ItemAccount"),he(u,"class","HeaderItemsMenu PrimaryMenu"),he(u,"part","HeaderItemsMenu PrimaryMenu"),he(c,"class","HeaderTopActions"),he(c,"part","HeaderTopActions"),he(o,"class","HeaderContainer"),he(n,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),E&&E.m(a,null),ae(o,i),ae(o,s),M.m(s,null),ae(o,l),ae(o,c),ae(c,u),ae(u,h),ae(u,p),ae(u,d),ae(d,f),ae(f,g),ae(d,m),T&&T.m(d,null),ae(u,y),ae(u,b),r[64](n),v||(w=[O(s,"click",r[59]),O(f,"click",r[60]),O(b,"click",r[63])],v=!0)},p(e,t){e[42]?E&&(E.d(1),E=null):E?E.p(e,t):((E=Da(e)).c(),E.m(a,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")+"")&&pe(g,x),e[44]?T?T.p(e,t):((T=ja(e)).c(),T.m(d,null)):T&&(T.d(1),T=null)},d(e){e&&se(n),E&&E.d(),M.d(),T&&T.d(),r[64](null),v=!1,P(w)}}}function Ta(e){let r,t;return{c(){B((r=le("img")).src,t=ta)||he(r,"src",t),he(r,"alt","Logo")},m(e,t){ie(e,r,t)},p:v,d(e){e&&se(r)}}}function $a(e){let r,n;return{c(){B((r=le("img")).src,n=e[43])||he(r,"src",n),he(r,"alt","Logo")},m(e,t){ie(e,r,t)},p(e,t){4096&t[1]&&!B(r.src,n=e[43])&&he(r,"src",n)},d(e){e&&se(r)}}}function Sa(r){let n,o,a;return{c(){F(n=le("casino-slider"),"class","HeaderItemsMenu"),F(n,"part","HeaderItemsMenu"),F(n,"identity",Va),F(n,"isprimarymenu","true"),F(n,"actionevent",r[23]),F(n,"activeindex",r[32]),F(n,"endpoint",r[2]),F(n,"lang",r[3]),F(n,"location","headerMain"),F(n,"showsubgroups",r[24]),F(n,"clientstyling",r[25]),F(n,"clientstylingurl",r[26])},m(e,t){ie(e,n,t),o||(a=A(r[49].call(null,n)),o=!0)},p(e,t){8388608&t[0]&&F(n,"actionevent",e[23]),2&t[1]&&F(n,"activeindex",e[32]),4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"lang",e[3]),16777216&t[0]&&F(n,"showsubgroups",e[24]),33554432&t[0]&&F(n,"clientstyling",e[25]),67108864&t[0]&&F(n,"clientstylingurl",e[26])},d(e){e&&se(n),o=!1,a()}}}function Aa(r){let n,o,a,i,s,l,c,u;function h(e){return"gmcore"===e[7]?_a:Ha}let p=h(r),d=p(r);return{c(){n=le("div"),o=ue(),a=le("div"),i=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=ue(),d.c(),he(n,"class","ShortCashierWindow"),he(s,"class","ClosePopUpButtonShortCashier"),he(i,"class","ShortCashierContainer"),he(a,"class","ShortCashierContainerWrapper")},m(e,t){ie(e,n,t),ie(e,o,t),ie(e,a,t),ae(a,i),ae(i,s),ae(i,l),d.m(i,null),c||(u=[O(n,"click",r[67]),O(s,"click",r[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(i,null)))},d(e){e&&se(n),e&&se(o),e&&se(a),d.d(),c=!1,P(u)}}}function Ha(e){let r,n,o,a,i,s,l,c,u;return{c(){F(r=le("user-deposit-withdrawal"),"endpoint",e[2]),F(r,"type","deposit"),F(r,"channel","Desktop"),F(r,"language",e[3]),F(r,"is-short-cashier",e[13]),F(r,"product-type",e[14]),F(r,"user-id",e[1]),F(r,"session",e[0]),F(r,"success-url",n="https://"+window.location.hostname+"/"+e[3]+e[15]),F(r,"cancel-url",o="https://"+window.location.hostname+"/"+e[3]+e[17]),F(r,"fail-url",a="https://"+window.location.hostname+"/"+e[3]+e[16]),F(r,"sports-url",i="https://"+window.location.hostname+"/"+e[3]+e[18]),F(r,"casino-url",s="https://"+window.location.hostname+"/"+e[3]+e[19]),F(r,"contact-url",l="https://"+window.location.hostname+"/"+e[3]+e[20]),F(r,"home-url",c="https://"+window.location.hostname+"/"+e[3]+e[21]),F(r,"deposit-url",u="https://"+window.location.hostname+"/"+e[3]+e[22]),F(r,"client-styling",e[25]),F(r,"client-styling-url",e[26])},m(e,t){ie(e,r,t)},p(e,t){4&t[0]&&F(r,"endpoint",e[2]),8&t[0]&&F(r,"language",e[3]),8192&t[0]&&F(r,"is-short-cashier",e[13]),16384&t[0]&&F(r,"product-type",e[14]),2&t[0]&&F(r,"user-id",e[1]),1&t[0]&&F(r,"session",e[0]),32776&t[0]&&n!==(n="https://"+window.location.hostname+"/"+e[3]+e[15])&&F(r,"success-url",n),131080&t[0]&&o!==(o="https://"+window.location.hostname+"/"+e[3]+e[17])&&F(r,"cancel-url",o),65544&t[0]&&a!==(a="https://"+window.location.hostname+"/"+e[3]+e[16])&&F(r,"fail-url",a),262152&t[0]&&i!==(i="https://"+window.location.hostname+"/"+e[3]+e[18])&&F(r,"sports-url",i),524296&t[0]&&s!==(s="https://"+window.location.hostname+"/"+e[3]+e[19])&&F(r,"casino-url",s),1048584&t[0]&&l!==(l="https://"+window.location.hostname+"/"+e[3]+e[20])&&F(r,"contact-url",l),2097160&t[0]&&c!==(c="https://"+window.location.hostname+"/"+e[3]+e[21])&&F(r,"home-url",c),4194312&t[0]&&u!==(u="https://"+window.location.hostname+"/"+e[3]+e[22])&&F(r,"deposit-url",u),33554432&t[0]&&F(r,"client-styling",e[25]),67108864&t[0]&&F(r,"client-styling-url",e[26])},d(e){e&&se(r)}}}function _a(e){let r;return{c(){F(r=le("player-deposit"),"endpoint",e[2]),F(r,"session",e[0]),F(r,"playerid",e[1]),F(r,"lang",e[3]),F(r,"hasdefaultamount",e[11]),F(r,"playercurrency",e[12]),F(r,"shortcashierenabled",e[13]),F(r,"clientstyling",e[25]),F(r,"clientstylingurl",e[26])},m(e,t){ie(e,r,t)},p(e,t){4&t[0]&&F(r,"endpoint",e[2]),1&t[0]&&F(r,"session",e[0]),2&t[0]&&F(r,"playerid",e[1]),8&t[0]&&F(r,"lang",e[3]),2048&t[0]&&F(r,"hasdefaultamount",e[11]),4096&t[0]&&F(r,"playercurrency",e[12]),8192&t[0]&&F(r,"shortcashierenabled",e[13]),33554432&t[0]&&F(r,"clientstyling",e[25]),67108864&t[0]&&F(r,"clientstylingurl",e[26])},d(e){e&&se(r)}}}function Ia(e){let r;function n(e){return"true"!==e[8]?La:Fa}let o=n(e),a=o(e);return{c(){a.c(),r=c()},m(e,t){a.m(e,t),ie(e,r,t)},p(e,t){o===(o=n(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(r.parentNode,r)))},d(e){a.d(e),e&&se(r)}}}function Fa(r){let n,o,a,i,s,l,c,u,h,p,d,f,g,m,y,b,v=r[35].slice(-2)+"",w=r[38]&&Pa(r);return{c(){n=le("div"),o=le("div"),a=le("span"),i=le("img"),l=ue(),c=le("span"),u=ce(v),h=ue(),p=le("span"),d=e("svg"),f=e("path"),m=ue(),w&&w.c(),B(i.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[53](r[35].slice(-2))}.svg`)||he(i,"src",s),he(a,"class","FlagIcon"),he(c,"class","LanguageName"),he(f,"id","arrow"),he(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"),he(f,"transform","translate(-274.511 -441.088)"),he(f,"fill","#d1d1d1"),he(d,"xmlns","http://www.w3.org/2000/svg"),he(d,"width","14"),he(d,"height","6.835"),he(d,"viewBox","0 0 14 6.835"),he(p,"class",g="TriangleInactive "+(r[38]?"TriangleActive":"")),he(o,"class","SelectedOption Item ItemLanguage"),he(n,"class","LanguageDropdown")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(a,i),ae(o,l),ae(o,c),ae(c,u),ae(o,h),ae(o,p),ae(p,d),ae(d,f),ae(n,m),w&&w.m(n,null),y||(b=O(o,"click",r[72]),y=!0)},p(e,t){1040&t[1]&&!B(i.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[53](e[35].slice(-2))}.svg`)&&he(i,"src",s),16&t[1]&&v!==(v=e[35].slice(-2)+"")&&pe(u,v),128&t[1]&&g!==(g="TriangleInactive "+(e[38]?"TriangleActive":""))&&he(p,"class",g),e[38]?w?w.p(e,t):((w=Pa(e)).c(),w.m(n,null)):w&&(w.d(1),w=null)},d(e){e&&se(n),w&&w.d(),y=!1,b()}}}function La(r){let o,n,a,i=r[41],s=[];for(let e=0;e<i.length;e+=1)s[e]=ka(la(r,i,e));return{c(){o=le("select");for(let e=0;e<s.length;e+=1)s[e].c();he(o,"class","Item ItemLanguage NoFlag"),void 0===r[35]&&M(()=>r[70].call(o))},m(e,t){ie(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);U(o,r[35],!0),n||(a=[O(o,"change",r[70]),O(o,"change",r[71])],n=!0)},p(t,r){if(1024&r[1]){let e;for(i=t[41],e=0;e<i.length;e+=1){var n=la(t,i,e);s[e]?s[e].p(n,r):(s[e]=ka(n),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}1040&r[1]&&U(o,t[35])},d(e){e&&se(o),I(s,e),n=!1,P(a)}}}function Pa(t){let o,a=t[41],i=[];for(let e=0;e<a.length;e+=1)i[e]=Oa(sa(t,a,e));return{c(){o=le("div");for(let e=0;e<i.length;e+=1)i[e].c();he(o,"class","OptionList")},m(e,t){ie(e,o,t);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(o,null)},p(t,r){if(5243904&r[1]){let e;for(a=t[41],e=0;e<a.length;e+=1){var n=sa(t,a,e);i[e]?i[e].p(n,r):(i[e]=Oa(n),i[e].c(),i[e].m(o,null))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length}},d(e){e&&se(o),I(i,e)}}}function Oa(r){let n,o,a,i,s,l,c,u,h,p,d=r[114].slice(-2)+"";function f(){return r[73](r[114])}return{c(){n=le("div"),o=le("span"),a=le("img"),s=ue(),l=le("span"),c=ce(d),u=ue(),B(a.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[53](r[114].slice(-2))}.svg`)||he(a,"src",i),he(o,"class","FlagIcon"),he(l,"class","LanguageName"),he(n,"class","LanguageOption")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(n,s),ae(n,l),ae(l,c),ae(n,u),h||(p=O(n,"click",f),h=!0)},p(e,t){r=e,1024&t[1]&&!B(a.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[53](r[114].slice(-2))}.svg`)&&he(a,"src",i),1024&t[1]&&d!==(d=r[114].slice(-2)+"")&&pe(c,d)},d(e){e&&se(n),h=!1,p()}}}function ka(e){let r,n,o,a=e[114].slice(-2)+"";return{c(){r=le("option"),n=ce(a),r.__value=o=e[114],r.value=r.__value,r.selected=!0},m(e,t){ie(e,r,t),ae(r,n)},p(e,t){1024&t[1]&&a!==(a=e[114].slice(-2)+"")&&pe(n,a),1024&t[1]&&o!==(o=e[114])&&(r.__value=o,r.value=r.__value)},d(e){e&&se(r)}}}function Ra(r){let n,o,a,i,s,l,c,u=r[111].label+"";function h(){return r[74](r[111])}return{c(){n=le("li"),o=le("button"),a=ce(u),i=ue(),he(n,"class",s="ItemSecondary "+(-1<r[33]?.toString().indexOf("$")?r[33]?.split("$").pop()==r[111].id.split("$").pop()?"active":"":r[33]==r[111].id?"active":"")),he(n,"part","ItemSecondary")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(n,i),l||(c=O(o,"click",h),l=!0)},p(e,t){r=e,8&t[1]&&u!==(u=r[111].label+"")&&pe(a,u),12&t[1]&&s!==(s="ItemSecondary "+(-1<r[33]?.toString().indexOf("$")?r[33]?.split("$").pop()==r[111].id.split("$").pop()?"active":"":r[33]==r[111].id?"active":""))&&he(n,"class",s)},d(e){e&&se(n),l=!1,c()}}}function Da(r){let n,o,a,i,s,l,c,u,h,p;return{c(){n=e("svg"),o=e("defs"),a=e("style"),i=ce(".a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n "),s=e("g"),l=e("rect"),c=e("rect"),u=e("rect"),he(l,"class","a"),he(l,"width","18"),he(l,"height","2"),he(l,"transform","translate(14 13)"),he(c,"class","a"),he(c,"width","22"),he(c,"height","2"),he(c,"transform","translate(14 20)"),he(u,"class","a"),he(u,"width","22"),he(u,"height","2"),he(u,"transform","translate(14 27)"),he(s,"transform","translate(-14 -13)"),he(n,"xmlns","http://www.w3.org/2000/svg"),he(n,"width","22"),he(n,"height","16"),he(n,"viewBox","0 0 22 16")},m(e,t){ie(e,n,t),ae(n,o),ae(o,a),ae(a,i),ae(n,s),ae(s,l),ae(s,c),ae(s,u),h||(p=O(n,"click",r[58]),h=!0)},p:v,d(e){e&&se(n),h=!1,p()}}}function Na(e){let r,t;return{c(){B((r=le("img")).src,t=ta)||he(r,"src",t),he(r,"alt","Logo")},m(e,t){ie(e,r,t)},p:v,d(e){e&&se(r)}}}function Ua(e){let r,n;return{c(){B((r=le("img")).src,n=e[43])||he(r,"src",n),he(r,"alt","Logo")},m(e,t){ie(e,r,t)},p(e,t){4096&t[1]&&!B(r.src,n=e[43])&&he(r,"src",n)},d(e){e&&se(r)}}}function ja(r){let n,o,a,i,s,l,c,u;function h(e){return"gmcore"===e[7]?za:Ga}let p=h(r),d=p(r);return{c(){n=le("div"),o=ue(),a=le("div"),i=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=ue(),d.c(),he(n,"class","ShortCashierWindow"),he(s,"class","ClosePopUpButtonShortCashier"),he(i,"class","ShortCashierContainerMobile"),he(a,"class","ShortCashierContainerWrapperMobile")},m(e,t){ie(e,n,t),ie(e,o,t),ie(e,a,t),ae(a,i),ae(i,s),ae(i,l),d.m(i,null),c||(u=[O(n,"click",r[61]),O(s,"click",r[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(i,null)))},d(e){e&&se(n),e&&se(o),e&&se(a),d.d(),c=!1,P(u)}}}function Ga(e){let r,n,o,a,i,s,l,c,u;return{c(){F(r=le("user-deposit-withdrawal"),"endpoint",e[2]),F(r,"type","deposit"),F(r,"channel","Mobile"),F(r,"language",e[3]),F(r,"is-short-cashier",e[13]),F(r,"product-type",e[14]),F(r,"user-id",e[1]),F(r,"session",e[0]),F(r,"success-url",n="https://"+window.location.hostname+"/"+e[3]+e[15]),F(r,"cancel-url",o="https://"+window.location.hostname+"/"+e[3]+e[17]),F(r,"fail-url",a="https://"+window.location.hostname+"/"+e[3]+e[16]),F(r,"sports-url",i="https://"+window.location.hostname+"/"+e[3]+e[18]),F(r,"casino-url",s="https://"+window.location.hostname+"/"+e[3]+e[19]),F(r,"contact-url",l="https://"+window.location.hostname+"/"+e[3]+e[20]),F(r,"home-url",c="https://"+window.location.hostname+"/"+e[3]+e[21]),F(r,"deposit-url",u="https://"+window.location.hostname+"/"+e[3]+e[22]),F(r,"client-styling",e[25]),F(r,"client-styling-url",e[26])},m(e,t){ie(e,r,t)},p(e,t){4&t[0]&&F(r,"endpoint",e[2]),8&t[0]&&F(r,"language",e[3]),8192&t[0]&&F(r,"is-short-cashier",e[13]),16384&t[0]&&F(r,"product-type",e[14]),2&t[0]&&F(r,"user-id",e[1]),1&t[0]&&F(r,"session",e[0]),32776&t[0]&&n!==(n="https://"+window.location.hostname+"/"+e[3]+e[15])&&F(r,"success-url",n),131080&t[0]&&o!==(o="https://"+window.location.hostname+"/"+e[3]+e[17])&&F(r,"cancel-url",o),65544&t[0]&&a!==(a="https://"+window.location.hostname+"/"+e[3]+e[16])&&F(r,"fail-url",a),262152&t[0]&&i!==(i="https://"+window.location.hostname+"/"+e[3]+e[18])&&F(r,"sports-url",i),524296&t[0]&&s!==(s="https://"+window.location.hostname+"/"+e[3]+e[19])&&F(r,"casino-url",s),1048584&t[0]&&l!==(l="https://"+window.location.hostname+"/"+e[3]+e[20])&&F(r,"contact-url",l),2097160&t[0]&&c!==(c="https://"+window.location.hostname+"/"+e[3]+e[21])&&F(r,"home-url",c),4194312&t[0]&&u!==(u="https://"+window.location.hostname+"/"+e[3]+e[22])&&F(r,"deposit-url",u),33554432&t[0]&&F(r,"client-styling",e[25]),67108864&t[0]&&F(r,"client-styling-url",e[26])},d(e){e&&se(r)}}}function za(e){let r;return{c(){F(r=le("player-deposit"),"endpoint",e[2]),F(r,"session",e[0]),F(r,"playerid",e[1]),F(r,"lang",e[3]),F(r,"hasdefaultamount",e[11]),F(r,"playercurrency",e[12]),F(r,"shortcashierenabled",e[13]),F(r,"clientstyling",e[25]),F(r,"clientstylingurl",e[26])},m(e,t){ie(e,r,t)},p(e,t){4&t[0]&&F(r,"endpoint",e[2]),1&t[0]&&F(r,"session",e[0]),2&t[0]&&F(r,"playerid",e[1]),8&t[0]&&F(r,"lang",e[3]),2048&t[0]&&F(r,"hasdefaultamount",e[11]),4096&t[0]&&F(r,"playercurrency",e[12]),8192&t[0]&&F(r,"shortcashierenabled",e[13]),33554432&t[0]&&F(r,"clientstyling",e[25]),67108864&t[0]&&F(r,"clientstylingurl",e[26])},d(e){e&&se(r)}}}function Wa(e){let r,n,o,a;function i(e){return e[40]?ha:e[39]?ua:ca}let s=i(e),l=s(e);return{c(){r=le("script"),n=ue(),l.c(),o=ue(),a=le("casino-hamburger-menu"),this.c=v,he(r,"type","module"),B(r.src,"https://unpkg.com/@everymatrix/user-deposit-withdrawal")||he(r,"src","https://unpkg.com/@everymatrix/user-deposit-withdrawal"),F(a,"menuitemsurl",e[36]),F(a,"activecategory",e[5]),F(a,"lang",e[3]),F(a,"countryflaghamburger",e[10]),F(a,"customlocaleidentifier",e[6]),F(a,"languageslist",e[4]),F(a,"clientstyling",e[25]),F(a,"clientstylingurl",e[26])},m(e,t){ae(ra.head,r),ie(e,n,t),l.m(e,t),ie(e,o,t),ie(e,a,t)},p(e,t){s===(s=i(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(o.parentNode,o))),32&t[1]&&F(a,"menuitemsurl",e[36]),32&t[0]&&F(a,"activecategory",e[5]),8&t[0]&&F(a,"lang",e[3]),1024&t[0]&&F(a,"countryflaghamburger",e[10]),64&t[0]&&F(a,"customlocaleidentifier",e[6]),16&t[0]&&F(a,"languageslist",e[4]),33554432&t[0]&&F(a,"clientstyling",e[25]),67108864&t[0]&&F(a,"clientstylingurl",e[26])},i:v,o:v,d(e){se(r),e&&se(n),l.d(e),e&&se(o),e&&se(a)}}}let Va="HeaderMenu";function Xa(r,e,n){let o,O;be(r,Kn,e=>n(45,O=e));let k,R,a,{session:i=""}=e,{userid:D=""}=e,{endpoint:N=""}=e,{cmsendpoint:s=""}=e,{cmsenv:t="stage"}=e,{lang:l="en"}=e,{languageslist:c="en, ro"}=e,{activecategory:u=""}=e,{translationurl:h=""}=e,{customlocaleidentifier:p=""}=e,{gmversion:U=""}=e,{countryflagheader:j="false"}=e,{displaybalanceoption:G="All"}=e,{countryflaghamburger:z="false"}=e,{hasdefaultamount:W=""}=e,{playercurrency:V=""}=e,{shortcashierenabled:d=""}=e,{producttype:X=""}=e,{successurl:Z=""}=e,{failurl:Y=""}=e,{cancelurl:K=""}=e,{sportsurl:J=""}=e,{casinourl:Q=""}=e,{contacturl:q=""}=e,{homeurl:ee=""}=e,{depositurl:te=""}=e,{actionevent:re=""}=e,{userroles:f=""}=e,{showsubgroups:ne="false"}=e,{clientstyling:g=""}=e,{clientstylingurl:m=""}=e,{currencyseparator:oe=""}=e,{currencydecimal:ae=""}=e,{currencyprecision:ie=""}=e;var se,le;({withLocale:se,translations:le}={withLocale:"en",translations:{}}),ye.subscribe(e=>{null==e&&(bn.set(le),ye.set(se))}),Object.keys(eo).forEach(e=>{qn(e,eo[e])});let y,b,ce,v=[],w=[],x="",E=!0,C=!1,B=!1,ue=!1,M=window.navigator.userAgent,T=!1,$=[],S=!1,he="",A=!1,H=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:Jn(M)},window.location.href);break;case"deposit":o?(n(44,A=!0),window.postMessage({type:"DisableScroll"},window.location.href)):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)}},_=()=>{n(42,S=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},pe=e=>{if(e.data)switch(e.data.type){case"UserSessionID":e.data.userid,e.data.session,n(40,T=!0);break;case"CloseHamburgerMenu":window.postMessage({type:"EnableScroll"},window.location.href),e.data.showhamburger&&n(42,S=!1);break;case"LogoutSuccessfull":n(40,T=!1);break;case"LanguageChanged":de(),ge(b);break;case"OpenShortCashier":H("deposit");break;case"CloseShortCashier":I();break;case"RequestHeaderHeight":window.postMessage({type:"HeaderHeight",headerHeight:a.clientHeight},window.location.href)}},I=e=>{n(44,A=!1),window.postMessage({type:"EnableScroll"},window.location.href),null!=e&&e.stopPropagation()},de=()=>{b=new URL(`${s}/${x.toLowerCase()}/menu`),n(36,y=new URL(`${s}/${x.toLowerCase()}/hamburger-menu`)),ce=new URL(`${s}/${x.toLowerCase()}/op-options/style`);var e=Qn(M);b.searchParams.append("env",t),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",t),y.searchParams.append("language",x.toLowerCase()),y.searchParams.append("userRoles",f)},fe=(t,e)=>{let r=e.find(e=>-1<t.indexOf("/sport")?-1<e.path.indexOf(t):!!e.path.includes(t)||void 0);return(r=r||e.find(e=>-1<e.path.split("/").indexOf(t.split("/")[1])))?r.id:-1},ge=e=>(n(31,E=!0),new Promise((t,r)=>{fetch(e).then(e=>e.json()).then(e=>{v=e.desktop.primary,n(34,w=e.desktop.secondary),n(31,E=!1),t(e)},e=>{n(31,E=!1),console.error(e),r(e)})})),F=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)},L=e=>{n(35,x=e),n(38,B=!1),H("language")},P=()=>{n(38,B=!B)};return we(async()=>(window.addEventListener("message",pe,!1),Jn(M)&&n(39,ue=!0),()=>{window.removeEventListener("message",pe)})),r.$$set=e=>{"session"in e&&n(0,i=e.session),"userid"in e&&n(1,D=e.userid),"endpoint"in e&&n(2,N=e.endpoint),"cmsendpoint"in e&&n(54,s=e.cmsendpoint),"cmsenv"in e&&n(55,t=e.cmsenv),"lang"in e&&n(3,l=e.lang),"languageslist"in e&&n(4,c=e.languageslist),"activecategory"in e&&n(5,u=e.activecategory),"translationurl"in e&&n(56,h=e.translationurl),"customlocaleidentifier"in e&&n(6,p=e.customlocaleidentifier),"gmversion"in e&&n(7,U=e.gmversion),"countryflagheader"in e&&n(8,j=e.countryflagheader),"displaybalanceoption"in e&&n(9,G=e.displaybalanceoption),"countryflaghamburger"in e&&n(10,z=e.countryflaghamburger),"hasdefaultamount"in e&&n(11,W=e.hasdefaultamount),"playercurrency"in e&&n(12,V=e.playercurrency),"shortcashierenabled"in e&&n(13,d=e.shortcashierenabled),"producttype"in e&&n(14,X=e.producttype),"successurl"in e&&n(15,Z=e.successurl),"failurl"in e&&n(16,Y=e.failurl),"cancelurl"in e&&n(17,K=e.cancelurl),"sportsurl"in e&&n(18,J=e.sportsurl),"casinourl"in e&&n(19,Q=e.casinourl),"contacturl"in e&&n(20,q=e.contacturl),"homeurl"in e&&n(21,ee=e.homeurl),"depositurl"in e&&n(22,te=e.depositurl),"actionevent"in e&&n(23,re=e.actionevent),"userroles"in e&&n(57,f=e.userroles),"showsubgroups"in e&&n(24,ne=e.showsubgroups),"clientstyling"in e&&n(25,g=e.clientstyling),"clientstylingurl"in e&&n(26,m=e.clientstylingurl),"currencyseparator"in e&&n(27,oe=e.currencyseparator),"currencydecimal"in e&&n(28,ae=e.currencydecimal),"currencyprecision"in e&&n(29,ie=e.currencyprecision)},r.$$.update=()=>{if(32&r.$$.dirty[0]|1&r.$$.dirty[1]&&u&&!E&&(n(32,k=fe(u,v)),n(33,R=fe(u,w))),1&r.$$.dirty[0]&&i&&n(40,T=!0),8192&r.$$.dirty[0]&&(o="true"===d.toLocaleLowerCase()),8&r.$$.dirty[0]&&l&&(t=l,ye.set(t)),24&r.$$.dirty[0]|75497472&r.$$.dirty[1]&&s&&l&&c&&f&&(n(41,$=c.replace(/ /g,"").split(",")),n(41,$=$.map(e=>e.toUpperCase())),n(35,x=l.toUpperCase()),de(),e=ce,n(37,C=!1),new Promise((t,r)=>{fetch(e).then(e=>e.json()).then(e=>{0<e.logoUrl.length&&("null"!=e.logoUrl||"false"!=e.logoUrl)?(n(43,he=e.logoUrl),n(37,C=!0)):n(37,C=!1),t(e)},e=>{n(37,C=!1),console.error(e),r(e)})}),setTimeout(()=>{ge(b)})),33554432&r.$$.dirty[1]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qn(e,t[e])})}).catch(e=>{console.log(e)}),1107296256&r.$$.dirty[0]&&g&&a&&((t=document.createElement("style")).innerHTML=g,a.appendChild(t)),1140850688&r.$$.dirty[0]&&m&&a){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e,t},[i,D,N,l,c,u,p,U,j,G,z,W,V,d,X,Z,Y,K,J,Q,q,ee,te,re,ne,g,m,oe,ae,ie,a,E,k,R,w,x,y,C,B,ue,T,$,S,he,A,O,H,_,I,()=>{window.postMessage({type:"SliderData",identity:Va,data:v},window.location.href)},F,L,P,e=>"EN"==(e=p?p.includes(e.toLowerCase())?p.slice(-2):e:e)?"US":e.toUpperCase(),s,t,h,f,()=>_(),()=>H("lobby"),()=>H("deposit"),e=>I(e),e=>I(e),()=>H("myaccount"),function(e){me[e?"unshift":"push"](()=>{a=e,n(30,a)})},()=>H("lobby"),()=>H("deposit"),e=>I(e),e=>I(e),()=>H("myaccount"),function(){x=ve(this),n(35,x),n(41,$)},()=>H("language"),()=>P(),e=>L(e),e=>F(e),function(e){me[e?"unshift":"push"](()=>{a=e,n(30,a)})},()=>_(),()=>H("lobby"),()=>H("login"),()=>H("register"),function(e){me[e?"unshift":"push"](()=>{a=e,n(30,a)})},()=>H("lobby"),()=>H("login"),()=>H("register"),function(){x=ve(this),n(35,x),n(41,$)},()=>H("language"),()=>P(),e=>L(e),e=>F(e),function(e){me[e?"unshift":"push"](()=>{a=e,n(30,a)})}]}class Za 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:j(this.attributes),customElement:!0},Xa,Wa,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,-1]),e&&(e.target&&ie(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",Za),Za});
|
4
4
|
//# sourceMappingURL=casino-header-controller.js.map
|