@everymatrix/casino-header-controller 1.44.0 → 1.45.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +0,0 @@
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 C(){return Object.create(null)}function I(e){e.forEach(f)}function E(e){return"function"==typeof e}function S(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let M;function T(e,t){return(M=M||document.createElement("a")).href=t,e===M.href}function A(e,...t){if(null==e)return v;let r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function ve(e,t,r){e.$$.on_destroy.push(A(t,r))}function H(e){return e&&E(e.destroy)?e.destroy:v}var B="undefined"!=typeof window;let _=B?()=>window.performance.now():()=>Date.now(),z=B?e=>requestAnimationFrame(e):v,W=new Set;function V(t){W.forEach(e=>{e.c(t)||(W.delete(e),e.f())}),0!==W.size&&z(V)}B="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function L(e,t){e.appendChild(t)}function X(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function F(e,t,r){e.insertBefore(t,r||null)}function R(e){e.parentNode&&e.parentNode.removeChild(e)}function O(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function k(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function D(e){return document.createTextNode(e)}function P(){return D(" ")}function c(){return D("")}function N(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function U(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function G(e,t,r){t in e?e[t]="boolean"==typeof e[t]&&""===r||r:U(e,t,r)}function j(e,t){e.data!==(t=""+t)&&(e.data=t)}function Z(e,t,r,n){null==r?e.style.removeProperty(t):e.style.setProperty(t,r,n?"important":"")}function Y(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 we(e){e=e.querySelector(":checked");return e&&e.__value}function K(e){var t,r={};for(t of e)r[t.name]=t.value;return r}let J=new Map,Q,q=0;function ee(e,r,n,t,o,i,a,s=0){var l=16.666/t;let c="{\n";for(let t=0;t<=1;t+=l){let e=r+(n-r)*i(t);c+=100*t+`%{${a(e,1-e)}}
2
- `}var u,h=c+`100% {${a(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=X(e),{stylesheet:d,rules:f}=J.get(p)||(p=p,u={stylesheet:(u=e,f=k("style"),u=X(u),d=f,L(u.head||u,d),d.sheet,f.sheet),rules:{}},J.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`,q+=1,s}function te(e){Q=e}function xe(e){(()=>{if(Q)return Q;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e)}let re=[],ye=[],ne=[],oe=[],ie=Promise.resolve(),ae=!1;function $(e){ne.push(e)}let se=new Set,le,ce=0;function p(){if(0===ce){let e=Q;do{try{for(;ce<re.length;){let e=re[ce];ce++,te(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),I(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach($))}}catch(e){throw re.length=0,ce=0,e}for(te(null),re.length=0,ce=0;ye.length;)ye.pop()();for(let e=0;e<ne.length;e+=1){var n=ne[e];se.has(n)||(se.add(n),n())}}while(ne.length=0,re.length);for(;oe.length;)oe.pop()();ae=!1,se.clear(),te(e)}}function ue(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 he=new Set,pe;function de(e,t){e&&e.i&&(he.delete(e),e.i(t))}function fe(e,t,r,n){e&&e.o?he.has(e)||(he.add(e),pe.c.push(()=>{he.delete(e),n&&(r&&e.d(1),n())}),e.o(t)):n&&n()}let me={duration:0};function ge(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(", "),q-=r)||z(()=>{q||(J.forEach(e=>{e=e.stylesheet.ownerNode;e&&R(e)}),J.clear())}))}function m(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:i}=c||me,a={start:_()+t,b:e};if(e||((a.group=pe).r+=1),h||p)p=a;else{i&&(f(),d=ee(l,u,e,r,t,n,i)),e&&o(0,1),h=m(a,r),$(()=>ue(l,e,"start"));{var s=e=>(p&&e>p.start&&(h=m(p,r),p=null,ue(l,h.b,"start"),i)&&(f(),d=ee(l,u,h.b,h.duration,0,n,c.css)),h&&(e>=h.end?(o(u=h.b,1-u),ue(l,h.b,"end"),p||(h.b?f():--h.group.r||I(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===W.size&&z(V),new Promise(e=>{W.add(t={c:s,f:e})})}}}return{run(e){E(c)?(le||(le=Promise.resolve()).then(()=>{le=null}),le.then(()=>{c=c(n),o(e)})):o(e)},end(){f(),h=p=null}}}function Ce(e,t){e.d(1),t.delete(e.key)}function Ee(o,n,i,a,s,l,c,t,u,h,p,d){let f=o.length,m=l.length,g=f;for(var y={};g--;)y[o[g].key]=g;var b=[],v=new Map,w=new Map,x=[];for(g=m;g--;){let e=d(s,l,g),t=i(e),r=c.get(t);r?a&&x.push(()=>r.p(e,n)):(r=h(t,e)).c(),v.set(t,b[g]=r),t in y&&w.set(t,Math.abs(g-y[t]))}var C=new Set,E=new Set;function T(e){de(e,1),e.m(t,p),c.set(e.key,e),p=e.first,m--}for(;f&&m;){let e=b[m-1],t=o[f-1],r=e.key,n=t.key;e===t?(p=e.first,f--,m--):v.has(n)?!c.has(r)||C.has(r)?T(e):E.has(n)?f--:w.get(r)>w.get(n)?(E.add(r),T(e)):(C.add(n),f--):(u(t,c),f--)}for(;f--;){let e=o[f];v.has(e.key)||u(e,c)}for(;m;)T(b[m-1]);return I(x),b}function Te(n,t,e,r,o,i,a,s=[-1]){var l=Q;te(n);let 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(t.context||(l?l.$$.context:[])),callbacks:C(),dirty:s,skip_bound:!1,root:t.target||l.$$.root},u=(a&&a(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]&&(re.push(e),ae||(ae=!0,ie.then(p)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],c.update(),u=!0,I(c.before_update),c.fragment=!!r&&r(c.ctx),t.target){if(t.hydrate){i=t.target;let e=Array.from(i.childNodes);c.fragment&&c.fragment.l(e),e.forEach(R)}else c.fragment&&c.fragment.c();t.intro&&de(n.$$.fragment);var h=n,s=t.customElement,{fragment:a,after_update:e}=h.$$;a&&a.m(t.target,t.anchor),s||$(()=>{var e=h.$$.on_mount.map(f).filter(E);h.$$.on_destroy?h.$$.on_destroy.push(...e):I(e),h.$$.on_mount=[]}),e.forEach($),p()}te(l)}let $e;"function"==typeof HTMLElement&&($e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(f).filter(E);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){I(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;let t=[],r=[];ne.forEach(e=>(-1===n.indexOf(e)?t:r).push(e)),r.forEach(e=>e()),ne=t}I(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=v}$on(e,t){if(!E(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 Se,Me,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Ae="URLSearchParams"in l,He="Symbol"in l&&"iterator"in Symbol,Be="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),_e="FormData"in l,Ie="ArrayBuffer"in l;function Le(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Fe(e){return e="string"!=typeof e?String(e):e}function Re(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return He&&(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 De(e){var t=new FileReader,r=ke(t);return t.readAsArrayBuffer(e),r}function Pe(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:Be&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:_e&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Ae&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ie&&Be&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Pe(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ie&&(ArrayBuffer.prototype.isPrototypeOf(e)||Me(e))?this._bodyArrayBuffer=Pe(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):Ae&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Be&&(this.blob=function(){var e=Oe(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return Oe(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(Be)return this.blob().then(De);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(je)}),this.json=function(){return this.text().then(JSON.parse)},this}Ie&&(Se=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Me=ArrayBuffer.isView||function(e){return e&&-1<Se.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=Le(e),t=Fe(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},u.prototype.delete=function(e){delete this.map[Le(e)]},u.prototype.get=function(e){return e=Le(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(Le(e))},u.prototype.set=function(e,t){this.map[Le(e)]=Fe(t)},u.prototype.forEach=function(e,t){for(var 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)}),Re(r)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Re(t)},u.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),Re(r)},He&&(u.prototype[Symbol.iterator]=u.prototype.entries);var Ue=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Ge(e,t){if(!(this instanceof Ge))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n=(t=t||{}).body;if(e instanceof Ge){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 je(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)}Ge.prototype.clone=function(){return new Ge(this,{body:this._bodyInit})},Ne.call(Ge.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 i=new Ge(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=(0===i.url.indexOf("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,(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&&(Be?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(Le(e)),a.setRequestHeader(e,Fe(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=Ge,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=((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 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;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,mt=t,gt=Function.prototype.bind;function t(e){var t=ft.call(this)||this;return t.isStopped=!1,e?it(t.destination=e)&&e.add(t):t.destination=Tt,t}function yt(e,t){return gt.call(e,t)}Ct.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Et(e)}},Ct.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Et(e)}else Et(e)},Ct.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Et(e)}};var bt,vt=Ct,wt=(Ke(xt,bt=mt),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 Ct(e){this.partialObserver=e}function Et(e){var t=e;ut.setTimeout(function(){throw t})}var Tt={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,i=(n=e)&&n instanceof mt||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},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=St(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=St(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 $t=o;function o(e){e&&(this._subscribe=e)}function St(e){return null!=(e=null!=e?e:st)?e:Promise}var Mt,At,Ht,Bt=et(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),n=(Ke(i,Ht=$t),i.prototype.lift=function(e){var t=new _t(this,this);return t.operator=e,t},i.prototype._throwIfClosed=function(){if(this.closed)throw new Bt},i.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}}}})},i.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)}})},i.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()}})},i.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(i.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),i.prototype._trySubscribe=function(e){return this._throwIfClosed(),Ht.prototype._trySubscribe.call(this,e)},i.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},i.prototype._innerSubscribe=function(e){var t=this,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)}))},i.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},i.prototype.asObservable=function(){var e=new $t;return e.source=this,e},i.create=function(e,t){return new _t(e,t)},i),_t=(Ke(Rt,At=n),Rt.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},Rt.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},Rt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Rt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:ot},Rt),It={now:function(){return(It.delegate||Date).now()},delegate:void 0},Lt=(Ke(Ft,Mt=n),Ft.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(),Mt.prototype.next.call(this,e)},Ft.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},Ft.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)}},Ft);function Ft(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=It);var n=Mt.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 Rt(e,t){var r=At.call(this)||this;return r.destination=e,r.source=t,r}function i(){var e=Ht.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={},Dt=[];function Pt(n,o=v){let i,a=new Set;function s(e){if(S(n,e)&&(n=e,i)){let e=!Dt.length;for(let e of a)e[1](),Dt.push(e,n);if(e){for(let e=0;e<Dt.length;e+=2)Dt[e][0](Dt[e+1]);Dt.length=0}}}return{set:s,update:function(e){s(e(n))},subscribe:function(e,t=v){let 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){let l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Pt(t,t=>{let r=!1,n=[],o=0,i=v,a=()=>{var e;o||(i(),e=s(l?n[0]:n,t),u?t(e):i=E(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(){I(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===Gt);var t}var Gt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function jt(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 jt(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]=jt(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]=jt(o[e],i))}),a}function Zt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||zt,r.isMergeableObject=r.isMergeableObject||Ut,r.cloneUnlessOtherwiseSpecified=jt;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):Xt(e,t,r):jt(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 m,y,Qt,g=function(){return(g=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}(n=m=m||{})[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 mr(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 gr(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 gr(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=g(g(g({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return g(g({},e),yr(t))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return g(g({},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=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):i&&(a=g(g({},a),mr(i)))}else pr.test(o.stem)?a=g(g({},a),mr(o.stem)):((i=gr(o.stem))&&(a=g(g({},a),i)),(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))&&(a=g(g({},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(n.source,"*")),xr=new RegExp("".concat(n.source,"*$"));function b(e,t){return{start:e,end:t}}var n=!!String.prototype.startsWith,Cr=!!String.fromCodePoint,Er=!!Object.fromEntries,Tr=!!String.prototype.codePointAt,$r=!!String.prototype.trimStart,Sr=!!String.prototype.trimEnd,Mr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ar=!0;try{Ar="a"===(null==(Yr=kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Yr[0])}catch(v){Ar=!1}var Hr,Br,_r=n?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ir=Cr?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},Lr=Er?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},Fr=Tr?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},Rr=$r?function(e){return e.trimStart()}:function(e){return e.replace(wr,"")},Or=Sr?function(e){return e.trimEnd()}:function(e){return e.replace(xr,"")};function kr(e,t){return new RegExp(e,t)}Br=Ar?(Hr=kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Hr.lastIndex=t,null!=(t=Hr.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var o=Fr(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)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.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(m.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Pr(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}},a.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()||!Pr(this.char())?this.error(m.INVALID_TAG,b(e,this.clonePosition())):(r=this.clonePosition(),o!==this.parseTagName()?this.error(m.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(m.INVALID_TAG,b(e,this.clonePosition())))):this.error(m.UNCLOSED_TAG,b(n,this.clonePosition()))):this.error(m.INVALID_TAG,b(n,this.clonePosition()))},a.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())},a.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}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Pr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.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)},a.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))},a.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,b(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(m.MALFORMED_ARGUMENT,b(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.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(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(m.MALFORMED_ARGUMENT,b(r,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Br(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:b(e,this.clonePosition())}},a.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(m.EXPECT_ARGUMENT_TYPE,b(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=Or(h.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(n)).err?c:(d=b(n,this.clonePosition()),l&&_r(null==l?void 0:l.style,"::",0)?(f=Rr(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(m.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 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=(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(m.EXPECT_SELECT_ARGUMENT_OPTIONS,b(u,g({},u)));this.bumpSpace();var h,p=this.parseIdentifierIfPossible(),d=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),p=this.parseIdentifierIfPossible(),d=h.val}var f,l=this.tryParsePluralOrSelectOptions(e,a,t,p);return l.err?l:(c=this.tryParseArgumentClose(n)).err?c:(f=b(n,this.clonePosition()),"select"===a?{val:{type:y.select,value:r,options:Lr(l.val),location:f},err:null}:{val:{type:y.plural,value:r,options:Lr(l.val),offset:d,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null});default:return this.error(m.INVALID_ARGUMENT_TYPE,b(i,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.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(m.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}},a.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 i=o[0],o=o.slice(1),a=0,s=o;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t})(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:Qt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?br(r):{}},err:null}},a.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(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=b(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,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?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(m.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:i,err:null}},a.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?Mr(i*=r)?{val:i,err:null}:this.error(t,n):this.error(e,n)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Fr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.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))},a.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},a.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)},a.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}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Nr(this.char());)this.bump()},a.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 Dr=a;function a(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 Pr(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=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Dr(e,t).parse();if(e.err)throw(r=SyntaxError(m[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 Gr(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?jr:zr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function jr(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,jr,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,m=o[f];if("function"!=typeof m)throw new on(f,"function",a);f=m(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(!(g=u.options[h]||u.options.other))throw new nn(u.value,h,Object.keys(u.options),a);s.push.apply(s,hn(g.value,t,r,n,o))}else if(ir(u)){if(!(g=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 m=r.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new nn(u.value,h,Object.keys(u.options),a);s.push.apply(s,hn(g.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,i,a=this;if(void 0===t&&(t=s.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=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,(i=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=i[t])?g(g(g({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=g(g({},r[t]),n[t]||{}),e},{})):r),e},g({},o)):o),this.formatters=n&&n.formatters||{getNumberFormat:Gr(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:Gr(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:Gr(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={},mn=(e,t,r)=>r&&(t in fn||(fn[t]={}),e in fn[t]||(fn[t][e]=r),r),gn=(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 mn(t,r,o)}}},yn,bn=Pt({});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 Cn(e){return xn[e]}function En(e){return null!=e&&On(e).some(e=>null==(e=Cn(e))?void 0:e.size)}function Tn(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 $n={};let Sn={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 Mn=Pt(!1);var An=Object.defineProperty,Cr=Object.defineProperties,Er=Object.getOwnPropertyDescriptors,Hn=Object.getOwnPropertySymbols,Bn=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,In=(e,t,r)=>t in e?An(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let Ln,Fn=Pt(null);function Rn(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function On(e,t=Sn.fallbackLocale){e=Rn(e);return t?[...new Set([...e,...Rn(t)])]:e}function kn(){return null!=Ln?Ln:void 0}Fn.subscribe(e=>{Ln=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let be=Cr(((e,t)=>{for(var r in t=t||{})Bn.call(t,r)&&In(e,r,t[r]);if(Hn)for(var r of Hn(t))_n.call(t,r)&&In(e,r,t[r]);return e})({},Fn),Er({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)&&En(t)){var r=Sn.loadingDelay;let e;return"undefined"!=typeof window&&null!=kn()&&r?e=window.setTimeout(()=>Mn.set(!0),r):Mn.set(!0),function e(t){var r;return En(t)?(r=On(t).map(e=>{var t=Cn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),$n[t]=Promise.all(r.map(([e,t])=>Tn(e,t))).then(()=>{if(En(t))return e(t);delete $n[t]}),$n[t]):t in $n?$n[t]:Promise.resolve()}(t).then(()=>{Fn.set(t)}).finally(()=>{clearTimeout(e),Mn.set(!1)})}return Fn.set(t)}}));var Tr=r=>{let n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Dn=Object.defineProperty,Pn=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable,Gn=(e,t,r)=>t in e?Dn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,jn=(e,t)=>{for(var r in t=t||{})Nn.call(t,r)&&Gn(e,r,t[r]);if(Pn)for(var r of Pn(t))Un.call(t,r)&&Gn(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&&Pn)for(var n of Pn(e))t.indexOf(n)<0&&Un.call(e,n)&&(r[n]=e[n]);return r};let Wn=(e,t)=>{var r=Sn.formats;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Vn=Tr(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=Tr(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=Tr(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=Tr((e,t=kn())=>new dn(e,t,Sn.formats,{ignoreTag:Sn.ignoreTag})),Kn=Nt([be,bn],()=>(e,t={})=>{let r,n,o,i,a=t;"object"==typeof e&&(e=(a=e).id);var{values:s,locale:l=kn(),default:c}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=gn(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!=(i=null!=(o=null==(n=(r=Sn).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:c}))?o:c)?i: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([be],()=>(e,t)=>((e={})=>{var{locale:t=kn()}=e,e=zn(e,["locale"]);return Zn(jn({locale:t},e))})(t).format(e)),Nt([be],()=>(e,t)=>((e={})=>{var{locale:t=kn()}=e,e=zn(e,["locale"]);return Xn(jn({locale:t},e))})(t).format(e)),Nt([be],()=>(e,t)=>((e={})=>{var{locale:t=kn()}=e,e=zn(e,["locale"]);return Vn(jn({locale:t},e))})(t).format(e)),Nt([be,bn],()=>(e,t=kn())=>gn(e,t)),window.emWidgets={topic:(e,t=0)=>(-1==Ot.indexOf(e)&&(t=new Lt(t),kt[e]=t,Ot.push(e)),kt[e])},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),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 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],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]=mo(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);F(t,n,r)},p(e,t){77775&t[0]&&(i=e[9],o=Ee(o,t,a,1,e,i,r,n.parentNode,Ce,mo,n,no))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&R(n)}}}function so(e){let r,n,o=e[50].name+"";return{c(){r=k("button"),n=D(o),U(r,"class","CategoryButton")},m(e,t){F(e,r,t),L(r,n)},p(e,t){512&t[0]&&o!==(o=e[50].name+"")&&j(n,o)},d(e){e&&R(r)}}}function lo(e){let r,n,o,i=e[50].label+"";return{c(){r=k("a"),n=D(i),U(r,"href",o=e[50].path)},m(e,t){F(e,r,t),L(r,n)},p(e,t){512&t[0]&&i!==(i=e[50].label+"")&&j(n,i),512&t[0]&&o!==(o=e[50].path)&&U(r,"href",o)},d(e){e&&R(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),F(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&&R(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=k("ul");for(let e=0;e<a.length;e+=1)a[e].c();U(o,"class","DropDown")},m(e,t){F(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&&R(o),O(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=k("li"),o=k("a"),i=D(u),s=P(),U(o,"class",a="SubDropDown "+(r[52]!=r[6]||r[7]!=r[58]&&r[8]!=r[58]?"":"active"))},m(e,t){F(e,n,t),L(n,o),L(o,i),L(n,s),l||(c=N(n,"click",h),l=!0)},p(e,t){r=e,1024&t[0]&&u!==(u=r[56]?.name+"")&&j(i,u),1984&t[0]&&a!==(a="SubDropDown "+(r[52]!=r[6]||r[7]!=r[58]&&r[8]!=r[58]?"":"active"))&&U(o,"class",a)},d(e){e&&R(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){F(e,n,t),i&&i.m(e,t),F(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&&R(n),i&&i.d(e),e&&R(o)}}}function fo(t){let n,o=[],r=new Map,i=t[53].items,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);F(t,n,r)},p(e,t){10176&t[0]&&(i=e[53].items,o=Ee(o,t,a,1,e,i,r,n.parentNode,Ce,po,n,io))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&R(n)}}}function mo(e,r){let n,o,i,a,s,l,c,u,h,p,d;function f(e){return"headerMain"===e[0]?lo:so}let m=f(r),g=m(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=k("li"),o=k("div"),i=k("img"),l=P(),g.c(),c=P(),y&&y.c(),u=P(),U(i,"class",a="CategoryIconImg "+("true"===r[3]?"":"DisplayNone")),T(i.src,s=r[16](r[50]))||U(i,"src",s),U(o,"class","CategoryIcon"),U(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")),U(n,"part","CarouselItem"),this.first=n},m(e,t){F(e,n,t),L(n,o),L(o,i),L(n,l),g.m(n,null),L(n,c),y&&y.m(n,null),L(n,u),p||(d=N(n,"click",b),p=!0)},p(e,t){r=e,8&t[0]&&a!==(a="CategoryIconImg "+("true"===r[3]?"":"DisplayNone"))&&U(i,"class",a),512&t[0]&&!T(i.src,s=r[16](r[50]))&&U(i,"src",s),m===(m=f(r))&&g?g.p(r,t):(g.d(1),(g=m(r))&&(g.c(),g.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"))&&U(n,"class",h)},d(e){e&&R(n),g.d(),y&&y.d(),p=!1,d()}}}function go(r){let n,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b=0<r[9].length&&ao(r);return{c(){n=k("div"),o=k("div"),(i=k("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=P(),s=k("div"),l=k("ul"),(c=k("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',u=P(),b&&b.c(),h=P(),(p=k("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,U(i,"class","CarouselLeftArrow"),U(c,"class","TouchOnly"),U(l,"id","CarouselNav"),U(l,"class","CarouselItems"),U(s,"class","CarouselNavWrap"),U(p,"class","CarouselRightArrow"),U(o,"class",d="CarouselContainer CarouselContainerMobile "+("headerMain"===r[0]?"CarouselContainerHeaderMain":"")),U(o,"style",f="headerMain"===r[0]?"max-width: auto":void 0),U(n,"class",m="CarouselWrapper "+("headerMain"===r[0]?"CarouselWrapperHeaderMain":""))},m(e,t){F(e,n,t),L(n,o),L(o,i),L(o,a),L(o,s),L(s,l),L(l,c),L(l,u),b&&b.m(l,null),r[34](l),r[35](s),L(o,h),L(o,p),r[37](n),g||(y=[N(i,"click",r[31]),N(p,"click",r[36])],g=!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":""))&&U(o,"class",d),1&t[0]&&f!==(f="headerMain"===e[0]?"max-width: auto":void 0)&&U(o,"style",f),1&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&U(n,"class",m)},i:v,o:v,d(e){e&&R(n),b&&b.d(),r[34](null),r[35](null),r[37](null),g=!1,I(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:m=""}=e,{activeindex:g="0"}=e,{showsubgroups:y="false"}=e,{categoriesicon:b="false"}=e,{lobbyiconimage:v=""}=e,{mygamesiconimage:w=""}=e;var x,C;({withLocale:x,translations:C}={withLocale:"en",translations:{}}),be.subscribe(e=>{null==e&&(bn.set(C),be.set(x))}),Object.keys(ro).forEach(e=>{to(e,ro[e])});let E,T,$,S,M,O=window.navigator.userAgent;Qn(O);let A,H=[],B=[],_=[],I=(e,t,r,n,o)=>{e.subGroups&&null===n||(R(),i(6,T=t),i(6,T),"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,$=null),i(8,S=null)):(i(7,$=n),i(7,$),i(8,S=$),window.postMessage({type:l,itemId:r.id,subIndex:n,subItem:r},window.location.href)))},L=()=>{A.scrollBy({left:-250,behavior:"smooth"})},F=()=>{A.scrollBy({left:250,behavior:"smooth"})},k=e=>{"SliderData"==e.data.type&&e.data.identity==h&&(i(9,H=e.data.data),i(11,_=new Array(H.length).fill(!1)),"true"==y)&&H.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&&m&&n.id&&(r=new URL(`${a}/v1/casino/groups/${s}/${n.id}/subGroups?language=`+m),fetch(r.href).then(e=>e.json()).then(e=>{e.index=o,i(10,B=B.concat(e)),"false"==y&&window.postMessage({type:l,itemId:n.id,index:o,item:n},window.location.href);let r=[];B.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(()=>{E.querySelectorAll(".DropDown")&&R()})),"headerMain"==c)&&window.postMessage({type:l,item:n},window.location.href)}),"GoToHomepage"==e.data.type&&H.forEach((e,t)=>{e.path.endsWith("/casino")&&(i(6,T=t),i(6,T))})},R=()=>{var t=E.querySelectorAll(".DropDown");document.activeElement.blur(),A.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+A.scrollLeft+"px)";A.classList.remove("isScrolling")};return xe(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",k,!1),setTimeout(()=>{A.addEventListener("scroll",R)},500),()=>{window.removeEventListener("message",k),E.removeEventListener("scroll",R)})),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,m=e.lang),"activeindex"in e&&i(1,g=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&&M&&((e=document.createElement("style")).innerHTML=o,M.appendChild(e)),8388624&t.$$.dirty[0]&&u&&M){let t=document.createElement("style"),e=new URL(u);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{M.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&m&&(e=m,be.set(e))},[c,g,y,b,M,E,T,$,S,H,B,_,A,I,L,F,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,m,v,w,()=>L(),(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){ye[e?"unshift":"push"](()=>{E=e,i(5,E)})},function(e){ye[e?"unshift":"push"](()=>{A=e,i(12,A)})},()=>F(),function(e){ye[e?"unshift":"push"](()=>{M=e,i(4,M)})}]}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 $e{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),Te(this,{target:this.shadowRoot,props:K(this.attributes),customElement:!0},yo,go,S,{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&&F(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 Co(e,t,r){e=e.slice();return e[1]=t[r],e}function Eo(e,t,r){e=e.slice();return e[54]=t[r],e}function To(e,t,r){e=e.slice();return e[57]=t[r],e}function $o(n){let r,o,i,t,a,s,l,c,u,h,p,d,f,m,g,y,b,v=n[4],w=[];for(let e=0;e<v.length;e+=1)w[e]=So(To(n,v,e));let x=n[6],C=[];for(let e=0;e<x.length;e+=1)C[e]=Mo(Eo(n,x,e));let E=1<n[10].length&&Ao(n);return{c(){r=k("div"),o=k("span"),(i=k("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>',a=P(),s=k("div"),l=k("ul");for(let e=0;e<w.length;e+=1)w[e].c();u=P(),h=k("ul");for(let e=0;e<C.length;e+=1)C[e].c();d=P(),E&&E.c(),U(i,"name","close"),U(o,"class",t=n[7]?"ModalCloseBtn":""),U(o,"role","button"),U(l,"class",c="HamburgerPrimaryMenu "+(n[8]?"HamburgerPrimaryMenuFixed":"")),U(h,"class",p="HamburgerSecondaryMenu "+(n[8]?"HamburgerSecondaryMenuFixed":"")),U(s,"class",f="HamburgerModalContainer "+(n[7]?"ActiveHamburgerMenu":"")),U(r,"class","HamburgerModalWindow"),U(r,"part","HamburgerModalWindow")},m(e,t){F(e,r,t),L(r,o),L(o,i),L(r,a),L(r,s),L(s,l);for(let e=0;e<w.length;e+=1)w[e]&&w[e].m(l,null);L(s,u),L(s,h);for(let e=0;e<C.length;e+=1)C[e]&&C[e].m(h,null);L(s,d),E&&E.m(s,null),n[35](r),g=!0,y||(b=N(o,"click",n[14]),y=!0)},p(e,r){if(n=e,(!g||128&r[0]&&t!==(t=n[7]?"ModalCloseBtn":""))&&U(o,"class",t),32816&r[0]){let t;for(v=n[4],t=0;t<v.length;t+=1){let e=To(n,v,t);w[t]?w[t].p(e,r):(w[t]=So(e),w[t].c(),w[t].m(l,null))}for(;t<w.length;t+=1)w[t].d(1);w.length=v.length}if((!g||256&r[0]&&c!==(c="HamburgerPrimaryMenu "+(n[8]?"HamburgerPrimaryMenuFixed":"")))&&U(l,"class",c),65600&r[0]){let t;for(x=n[6],t=0;t<x.length;t+=1){let e=Eo(n,x,t);C[t]?C[t].p(e,r):(C[t]=Mo(e),C[t].c(),C[t].m(h,null))}for(;t<C.length;t+=1)C[t].d(1);C.length=x.length}(!g||256&r[0]&&p!==(p="HamburgerSecondaryMenu "+(n[8]?"HamburgerSecondaryMenuFixed":"")))&&U(h,"class",p),1<n[10].length?E?E.p(n,r):((E=Ao(n)).c(),E.m(s,null)):E&&(E.d(1),E=null),(!g||128&r[0]&&f!==(f="HamburgerModalContainer "+(n[7]?"ActiveHamburgerMenu":"")))&&U(s,"class",f)},i(e){g||($(()=>{g&&(m=m||ge(r,bo,{transitionDuration:Ro},!0)).run(1)}),g=!0)},o(e){(m=m||ge(r,bo,{transitionDuration:Ro},!1)).run(0),g=!1},d(e){e&&R(r),O(w,e),O(C,e),E&&E.d(),n[35](null),e&&m&&m.end(),y=!1,b()}}}function So(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=k("li"),o=k("div"),i=k("img"),s=P(),l=D(d),c=P(),T(i.src,a=r[57].img)||U(i,"src",a),U(i,"alt","menu icon"),U(o,"class","HamburgerItemContainer"),U(n,"class",u=r[5]===r[57].id?"ActiveItem":"")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(o,s),L(o,l),L(n,c),h||(p=N(n,"click",f),h=!0)},p(e,t){r=e,16&t[0]&&!T(i.src,a=r[57].img)&&U(i,"src",a),16&t[0]&&d!==(d=r[57].label+"")&&j(l,d),48&t[0]&&u!==(u=r[5]===r[57].id?"ActiveItem":"")&&U(n,"class",u)},d(e){e&&R(n),h=!1,p()}}}function Mo(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=k("li"),o=k("img"),a=P(),s=D(h),l=P(),T(o.src,i=r[54].img)||U(o,"src",i),U(o,"alt","menu icon")},m(e,t){F(e,n,t),L(n,o),L(n,a),L(n,s),L(n,l),c||(u=N(n,"click",p),c=!0)},p(e,t){r=e,64&t[0]&&!T(o.src,i=r[54].img)&&U(o,"src",i),64&t[0]&&h!==(h=r[54].label+"")&&j(s,h)},d(e){e&&R(n),c=!1,u()}}}function Ao(e){let r,n,o,i,a=e[13]("language")+"";function s(e){return"true"!==e[0]?Bo:Ho}let l=s(e),c=l(e);return{c(){r=k("div"),n=k("span"),o=D(a),i=P(),c.c(),U(n,"class","LanguageSelect"),U(r,"class","LanguageSelectorTitle")},m(e,t){F(e,r,t),L(r,n),L(n,o),L(r,i),c.m(r,null)},p(e,t){8192&t[0]&&a!==(a=e[13]("language")+"")&&j(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&&R(r),c.d()}}}function Ho(r){let n,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,C=r[12].slice(-2)+"",E=r[11]&&_o(r);return{c(){n=k("div"),o=k("div"),i=k("span"),a=k("img"),l=P(),c=k("span"),u=D(C),h=P(),p=k("span"),d=e("svg"),f=e("g"),m=e("g"),g=e("g"),y=e("path"),v=P(),E&&E.c(),T(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[20](r[12].slice(-2))}.svg`)||U(a,"src",s),U(i,"class","FlagIcon"),U(c,"class","LanguageName"),U(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"),U(g,"transform","translate(56 160)"),U(m,"fill","#000"),U(m,"transform","translate(-260 -6684)"),U(f,"fill","none"),U(f,"fill-rule","evenodd"),U(d,"xmlns","http://www.w3.org/2000/svg"),U(d,"width","20"),U(d,"height","11"),U(d,"viewBox","0 0 20 11"),U(d,"id","arrow"),U(p,"class",b="TriangleInactive "+(r[11]?"TriangleActive":"")),U(o,"class","SelectedOption Item ItemLanguage"),U(n,"class","LanguageDropdown")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(i,a),L(o,l),L(o,c),L(c,u),L(o,h),L(o,p),L(p,d),L(d,f),L(f,m),L(m,g),L(g,y),L(n,v),E&&E.m(n,null),w||(x=N(o,"click",r[33]),w=!0)},p(e,t){5120&t[0]&&!T(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[20](e[12].slice(-2))}.svg`)&&U(a,"src",s),4096&t[0]&&C!==(C=e[12].slice(-2)+"")&&j(u,C),2048&t[0]&&b!==(b="TriangleInactive "+(e[11]?"TriangleActive":""))&&U(p,"class",b),e[11]?E?E.p(e,t):((E=_o(e)).c(),E.m(n,null)):E&&(E.d(1),E=null)},d(e){e&&R(n),E&&E.d(),w=!1,x()}}}function Bo(r){let o,n,i,a=r[10],s=[];for(let e=0;e<a.length;e+=1)s[e]=Lo(Co(r,a,e));return{c(){o=k("select");for(let e=0;e<s.length;e+=1)s[e].c();U(o,"class","Item ItemLanguage NoFlag"),void 0===r[12]&&$(()=>r[31].call(o))},m(e,t){F(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);Y(o,r[12],!0),n||(i=[N(o,"change",r[31]),N(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=Co(t,a,e);s[e]?s[e].p(n,r):(s[e]=Lo(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]&&Y(o,t[12])},d(e){e&&R(o),O(s,e),n=!1,I(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=k("div");for(let e=0;e<a.length;e+=1)a[e].c();U(o,"class","OptionList")},m(e,t){F(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&&R(o),O(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=k("div"),o=k("span"),i=k("img"),s=P(),l=k("span"),c=D(d),u=P(),T(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[20](r[51])}.svg`)||U(i,"src",a),U(o,"class","FlagIcon"),U(l,"class","LanguageName"),U(n,"class","LanguageOption")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(n,s),L(n,l),L(l,c),L(n,u),h||(p=N(n,"click",f),h=!0)},p(e,t){r=e,1024&t[0]&&!T(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[20](r[51])}.svg`)&&U(i,"src",a),1024&t[0]&&d!==(d=r[51]+"")&&j(c,d)},d(e){e&&R(n),h=!1,p()}}}function Lo(e){let r,n,o,i=e[1].slice(-2)+"";return{c(){r=k("option"),n=D(i),r.__value=o=e[1],r.value=r.__value,r.selected=!0},m(e,t){F(e,r,t),L(r,n)},p(e,t){1024&t[0]&&i!==(i=e[1].slice(-2)+"")&&j(n,i),1024&t[0]&&o!==(o=e[1])&&(r.__value=o,r.value=r.__value)},d(e){e&&R(r)}}}function Fo(r){let n,o,i=!0===r[9]&&$o(r);return{c(){n=k("div"),i&&i.c(),this.c=v},m(e,t){F(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=$o(e)).c(),de(i,1),i.m(n,null)):i&&(pe={r:0,c:[],p:pe},fe(i,1,1,()=>{i=null}),pe.r||I(pe.c),pe=pe.p)},i(e){o||(de(i),o=!0)},o(e){fe(i),o=!1},d(e){e&&R(n),i&&i.d(),r[36](null)}}}let Ro=350;function Oo(t,e,n){let r;ve(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:m=""}=e,O=window.navigator.userAgent,g=[],y="",b=[],v=!1,w=!1,x=!1,C=!0,E=[],T=!1,$=!1,S="",M=(Object.keys(wo).forEach(e=>{vo(e,wo[e])}),()=>{n(9,x=!1),n(7,v=!1),n(8,w=!1),n(11,$=!1),window.postMessage({type:"CloseHamburgerMenu",showhamburger:!0},window.location.href)}),A=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&&!T?e(i):_(r)}))},H=(e,t)=>{n(5,y=e),n(6,b=t||[]),"function"==typeof gtag&&gtag("event","ChangeMenu",{context:"HamburgerMenu",menuItem:""+y})},B=()=>{var e=g.filter(e=>{let t,r=!1;return null!=(t=e.children)&&t.forEach(e=>{e.path.includes(c)&&(r=!0)}),r});0<e.length&&H(e[0].id,e[0].children)},_=e=>{fetch(e).then(e=>e.json()).then(e=>{n(4,g=e.filter(e=>"banner"!==(null==e?void 0:e.type))),B(),n(28,C=!1),i=e,T=!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),M()},L=()=>{T=!0,window.postMessage({type:"LanguageChanged",selectedLanguage:S},window.location.href)},F=e=>{n(12,S=e),n(11,$=!1),L()},R=()=>{n(11,$=!$)};return xe(()=>(window.addEventListener("message",A,!1),Jn(O),()=>{window.removeEventListener("message",A)})),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,m=e.countryflaghamburger)},t.$$.update=()=>{if(8388610&t.$$.dirty[0]&&l&&u&&(e=l,be.set(e),T&&_(s),n(10,E=u.replace(/ /g,"").split(",")),n(10,E=E.map(e=>e.toUpperCase())),n(12,S=l.toUpperCase())),272629760&t.$$.dirty[0]&&c&&!C&&B(),16777216&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{vo(e,t[e])})}).catch(e=>{console.log(e)}),33554436&t.$$.dirty[0]&&p&&a&&((e=document.createElement("style")).innerHTML=p,a.appendChild(e)),67108868&t.$$.dirty[0]&&d&&a){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[m,l,a,void 0,g,y,b,v,w,x,E,$,S,r,M,H,I,L,F,R,e=>"EN"==(e=f?f.includes(e.toLowerCase())?f.slice(-2):e:e)?"US":e.toUpperCase(),s,c,u,h,p,d,f,C,e=>H(e.id,e.children),(e,t)=>{I(e),t.preventDefault()},function(){S=we(this),n(12,S),n(10,E)},()=>L(),()=>R(),e=>F(e),function(e){ye[e?"unshift":"push"](()=>{o=e,n(3,o)})},function(e){ye[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 $e{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),Te(this,{target:this.shadowRoot,props:K(this.attributes),customElement:!0},Oo,Fo,S,{menuitemsurl:21,lang:1,activecategory:22,languageslist:23,translationurl:24,clientstyling:25,clientstylingurl:26,customlocaleidentifier:27,countryflaghamburger:0},null,[-1,-1]),e&&(e.target&&F(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 Do={en:{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit"},"zh-hk":{Title:"您的結餘",Total:"總結餘",Real:"現金結餘",Bonus:"紅利結餘",Credit:"信用結餘",Casino:"賭場",Sports:"體育",DepositButton:"存款"},de:{Title:"Ihr Guthaben",Total:"Gesamtguthaben",Real:"Barguthaben",Bonus:"Bonusguthaben",Credit:"Kreditguthaben",Casino:"Casino",Sports:"Sport",DepositButton:"Einzahlen"},it:{Title:"Il tuo saldo",Total:"Saldo totale",Real:"Saldo in contanti",Bonus:"Saldo bonus",Credit:"Saldo di credito",Casino:"Casinò",Sports:"Sport",DepositButton:"Deposita"},fr:{Title:"Votre solde",Total:"Solde total",Real:"Solde en espèces",Bonus:"Solde bonus",Credit:"Solde de crédit",Casino:"Casino",Sports:"Sports",DepositButton:"Dépôt"},es:{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito"},tr:{Title:"Bakiyeniz",Total:"Toplam Bakiye",Real:"Nakit Bakiye",Bonus:"Bonus Bakiyesi",Credit:"Kredi Bakiyesi",Casino:"Kumarhane",Sports:"Spor",DepositButton:"Yatır"},ru:{Title:"Ваш баланс",Total:"Общий баланс",Real:"Денежный баланс",Bonus:"Бонусный баланс",Credit:"Кредитный баланс",Casino:"Казино",Sports:"Спорт",DepositButton:"Депозит"},ro:{Title:"Soldul tău",Total:"Sold total",Real:"Sold în numerar",Bonus:"Sold bonus",Credit:"Sold credit",Casino:"Cazinou",Sports:"Sporturi",DepositButton:"Depozit"},hr:{Title:"Vaš saldo",Total:"Ukupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Casino",Sports:"Sportovi",DepositButton:"Depozit"},hu:{Title:"Az egyenleged",Total:"Teljes egyenleg",Real:"Készpénz egyenleg",Bonus:"Bónusz egyenleg",Credit:"Hitel egyenleg",Casino:"Kaszinó",Sports:"Sport",DepositButton:"Befizetés"},pl:{Title:"Twoje saldo",Total:"Całkowite saldo",Real:"Saldo gotówkowe",Bonus:"Saldo bonusowe",Credit:"Saldo kredytowe",Casino:"Kasyno",Sports:"Sport",DepositButton:"Wpłać"},pt:{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar"},sl:{Title:"Vaš saldo",Total:"Skupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Šport",DepositButton:"Depozit"},sr:{Title:"Vaš saldo",Total:"Ukupan saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Sport",DepositButton:"Depozit"},"pt-br":{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar"},"es-mx":{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito"}};var Po=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,L=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 F(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=u,this.onload=u,this.onerror=u,this.onreadystatechange=u,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=u}function m(e){return e.replace(/[A-Z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+32)})}function g(e){for(var t=Object.create(null),r=e.split("\r\n"),n=0;n<r.length;n+=1){var o=r[n].split(": "),i=o.shift(),o=o.join(": ");t[m(i)]=o}this._map=t}function R(){}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 D(e,t){v.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function P(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 G(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==L&&null!=r&&(L=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&&(()=>{try{return"test"===(new d).decode((new l).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}})()||(d=c),F.prototype.open=function(e,t){this._abort(!0);function 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 L.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),i.open(e,t,!0),"readyState"in i&&(n=_(function(){c()},0))},F.prototype.abort=function(){this._abort(!1)},F.prototype.getResponseHeader=function(e){return this._contentType},F.prototype.setRequestHeader=function(e,t){var r=this._xhr;"setRequestHeader"in r&&r.setRequestHeader(e,t)},F.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},F.prototype.send=function(){if("ontimeout"in L.prototype&&("sendAsBinary"in L.prototype||"mozAnon"in L.prototype)||null==a||null==a.readyState||"complete"===a.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(e){throw e}}else{var t=this;t._sendTimeout=_(function(){t._sendTimeout=0,t.send()},4)}},g.prototype.get=function(e){return this._map[m(e)]},null!=L&&null==L.HEADERS_RECEIVED&&(L.HEADERS_RECEIVED=2),R.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===L.HEADERS_RECEIVED&&(e=o.status,t=o.statusText,r=o.getResponseHeader("Content-Type"),n=o.getAllResponseHeaders(),i(e,t,r,new g(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}},D.prototype=Object.create(v.prototype),P.prototype=Object.create(v.prototype),N.prototype=Object.create(v.prototype);var j=/^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,m,g,y,b,v,w,x,C,E,T,$,S,M,A,H,B;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 F(new(null!=e?e:null!=L&&"withCredentials"in L.prototype||null==o?L:o)),m=new(null!=e&&"string"!=typeof e?e:null==s?O:R),g=void 0,b=-1,C=x=w=v="",$=T=E=y=0,S=function(e,t,r,n){var o,i;0===b&&(200===e&&null!=r&&j.test(r)?(b=1,d=Date.now(),p=c,l.readyState=1,o=new P("open",{status:e,statusText:t,headers:n}),l.dispatchEvent(o),G(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.",H(),o=new P("error",{status:e,statusText:t,headers:n}),l.dispatchEvent(o),G(l,l.onerror,o),console.error(i)))},M=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?C:"")+e.slice(0,t+1);C=(-1===t?C:"")+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===E&&a==="\n".charCodeAt(0))E=0;else if(-1===E&&(E=0),a==="\r".charCodeAt(0)||a==="\n".charCodeAt(0)){if(0!==E&&(1===E&&($=o+1),s=n.slice(T,$-1),i=n.slice($+($<o&&n.charCodeAt($)===" ".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(){B()},u))),0===E){if(""!==v){h=w;var s=new D(x=""===x?"message":x,{data:v.slice(1),lastEventId:w});if(l.dispatchEvent(s),"open"===x?G(l,l.onopen,s):"message"===x?G(l,l.onmessage,s):"error"===x&&G(l,l.onerror,s),2===b)return}x=v=""}E=a==="\r".charCodeAt(0)?-1:0}else 0===E&&(T=o,E=1),1===E?a===":".charCodeAt(0)&&($=o+1,E=2):2===E&&(E=3)}}},A=function(e){var t;1!==b&&0!==b||(b=-1,0!==y&&(I(y),y=0),y=_(function(){B()},p),p=z(Math.min(16*c,2*p)),l.readyState=0,t=new N("error",{error:e}),l.dispatchEvent(t),G(l,l.onerror,t),null!=e&&console.error(e))},H=function(){b=2,null!=g&&(g.abort(),g=void 0),0!==y&&(I(y),y=0),l.readyState=2},B=function(){if(y=0,-1===b){d=!1,f=0,y=_(function(){B()},u),w=h,C=x=v="",E=$=T=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{g=m.open(s,S,M,A,e,t,r)}catch(e){throw H(),e}}else d||null==g?(e=Math.max((d||Date.now())+u-Date.now(),1),d=!1,y=_(function(){B()},e)):(A(new Error("No activity within "+u+" milliseconds. "+(0===b?"No response received.":f+" chars received.")+" Reconnecting.")),null!=g&&(g.abort(),g=void 0))},l.url=i,l.readyState=0,l.withCredentials=t,l.headers=r,l._close=H,B()}var W=null!=p&&null!=s&&"body"in s.prototype;(w.prototype=Object.create(k.prototype)).CONNECTING=0,w.prototype.OPEN=1,w.prototype.CLOSED=2,w.prototype.close=function(){this._close()},w.CONNECTING=0,w.OPEN=1,w.CLOSED=2,w.prototype.withCredentials=void 0,t=i,null==L||null!=i&&"withCredentials"in i.prototype||(t=w),(s=e).EventSourcePolyfill=w,s.NativeEventSource=i,s.EventSource=t}),No=Ze(function(e,t){function l(e,t){if(!(this instanceof l))return new l(e,t);t=Object.assign({},o,t);var 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(e,t,r){e=e.slice();return e[44]=t[r],e}function Go(e,t,r){e=e.slice();return e[47]=t[r],e}function jo(r){let n,o,i,a,s,l,c,u,h,p,d,f,m,g,y,e=r[4]("Title")+"",b=r[4]("DepositButton")+"",v=Object.keys(r[3]),w=[];for(let e=0;e<v.length;e+=1)w[e]=Wo(Uo(r,v,e));return{c(){n=k("div"),o=k("div"),i=P(),a=k("div"),s=k("div"),l=k("p"),c=D(e),u=P(),h=k("div");for(let e=0;e<w.length;e+=1)w[e].c();p=P(),d=k("div"),f=k("button"),m=D(b),U(o,"class","BalanceModalClose"),U(l,"class","BalanceModalTitle"),U(s,"class","BalanceModalHeader"),U(h,"class","BalanceModalBody"),U(f,"class","BalanceModalAction"),U(d,"class","BalanceModalFooter"),U(a,"class","BalanceModal"),U(n,"class","BalanceModalWrapper")},m(e,t){F(e,n,t),L(n,o),L(n,i),L(n,a),L(a,s),L(s,l),L(l,c),L(a,u),L(a,h);for(let e=0;e<w.length;e+=1)w[e]&&w[e].m(h,null);L(a,p),L(a,d),L(d,f),L(f,m),g||(y=[N(o,"click",r[22]),N(f,"click",r[23])],g=!0)},p(t,r){if(16&r[0]&&e!==(e=t[4]("Title")+"")&&j(c,e),60&r[0]){let e;for(v=Object.keys(t[3]),e=0;e<v.length;e+=1){var n=Uo(t,v,e);w[e]?w[e].p(n,r):(w[e]=Wo(n),w[e].c(),w[e].m(h,null))}for(;e<w.length;e+=1)w[e].d(1);w.length=v.length}16&r[0]&&b!==(b=t[4]("DepositButton")+"")&&j(m,b)},d(e){e&&R(n),O(w,e),g=!1,I(y)}}}function zo(e){let r,n,o,i,a,s,l,c,u,h,p,d,f=e[4](e[44])+"",m=(e[47].productType?e[4](e[47].productType):"")+"",g=(e[47].amount?e[5](e[47].amount):"0")+"";return{c(){r=k("div"),n=k("p"),o=D(f),i=P(),a=D(m),s=P(),l=k("p"),c=k("span"),u=D(g),h=P(),p=k("span"),d=D(e[2]),U(n,"class","BalanceModalText"),U(c,"class","BalanceModalAmount"),U(p,"class","BalanceModalCurrency"),U(l,"class","BalanceModalValue"),U(r,"class","BalanceModalRowLine")},m(e,t){F(e,r,t),L(r,n),L(n,o),L(n,i),L(n,a),L(r,s),L(r,l),L(l,c),L(c,u),L(l,h),L(l,p),L(p,d)},p(e,t){24&t[0]&&f!==(f=e[4](e[44])+"")&&j(o,f),24&t[0]&&m!==(m=(e[47].productType?e[4](e[47].productType):"")+"")&&j(a,m),8&t[0]&&g!==(g=(e[47].amount?e[5](e[47].amount):"0")+"")&&j(u,g),4&t[0]&&j(d,e[2])},d(e){e&&R(r)}}}function Wo(t){let o,i,a=t[3][t[44]],s=[];for(let e=0;e<a.length;e+=1)s[e]=zo(Go(t,a,e));return{c(){o=k("div");for(let e=0;e<s.length;e+=1)s[e].c();i=P(),U(o,"class","BalanceModalRowBoth")},m(e,t){F(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);L(o,i)},p(t,r){if(60&r[0]){let e;for(a=t[3][t[44]],e=0;e<a.length;e+=1){var n=Go(t,a,e);s[e]?s[e].p(n,r):(s[e]=zo(n),s[e].c(),s[e].m(o,i))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}},d(e){e&&R(o),O(s,e)}}}function Vo(r){let n,o,i;return{c(){U(n=k("div"),"class","ShowBalanceModalOverlay")},m(e,t){F(e,n,t),o||(i=N(n,"click",r[24]),o=!0)},p:v,d(e){e&&R(n),o=!1,i()}}}function Xo(r){let n,o,i,a,s,l,c,u,h,p,d,f,m=(r[3].Total?r[5](r[3].Total[0].amount):"0")+"",g=r[1]&&jo(r),y=r[1]&&Vo(r);return{c(){n=k("div"),o=k("div"),i=k("p"),a=D(m),s=P(),l=D(r[2]),c=P(),(u=k("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=P(),g&&g.c(),p=P(),y&&y.c(),this.c=v,U(i,"class","BalanceValue"),U(i,"part","BalanceValue"),U(o,"class","ShowBalance"),U(o,"part","ShowBalance")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(i,a),L(i,s),L(i,l),L(i,c),L(i,u),L(o,h),g&&g.m(o,null),L(n,p),y&&y.m(n,null),r[25](n),d||(f=N(i,"click",r[21]),d=!0)},p(e,t){8&t[0]&&m!==(m=(e[3].Total?e[5](e[3].Total[0].amount):"0")+"")&&j(a,m),4&t[0]&&j(l,e[2]),e[1]?g?g.p(e,t):((g=jo(e)).c(),g.m(o,null)):g&&(g.d(1),g=null),e[1]?y?y.p(e,t):((y=Vo(e)).c(),y.m(n,null)):y&&(y.d(1),y=null)},i:v,o:v,d(e){e&&R(n),g&&g.d(),y&&y.d(),r[25](null),d=!1,f()}}}function Zo(t,e,i){let r;ve(t,Kn,e=>i(4,r=e));let o,n,a,{userid:s=""}=e,{session:l=""}=e,{endpoint:c=""}=e,{lang:u="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{translationurl:d=""}=e,{customlocaleidentifier:f=""}=e,{gmversion:m="gmcore"}=e,{displaybalanceoption:g="All"}=e,{totalcalculationmode:y=""}=e,{currencyseparator:b=""}=e,{currencydecimal:v=""}=e,{currencyprecision:w=""}=e,x=!1,C=!1,E="",T=[],$={},S=["totalAmount","totalCashAmount","totalRealAmount","totalWithdrawableAmount"],M=(Object.keys(Do).forEach(e=>ko(e,Do[e])),()=>{if(f.includes(u))return f}),A=()=>{if(a&&a.close(),!(l.length<1)){let e,t;switch(m){case"gm16":e=new URL(`${c}/v2/player/${s}/information/updates`),t=e=>e.data&&"BALANCE_UPDATE_V2"===e.data.type&&B(e.data.body);break;case"gmcore":e=new URL(`${c}/v1/player/${s}/balance/updates`),t=e=>e.data&&H(e.data.body)}var r={accept:"text/event-stream","X-SessionId":l},r=new Po.EventSourcePolyfill(e,{headers:r});(a=r).addEventListener("message",t)}},H=e=>{let t,r,n;try{n=JSON.parse(e)}catch(e){console.log("Balance stream failed: ",e),A()}let o="0";T=T.map(e=>(n.balanceChange&&n.balanceChange[e.id]&&(e=Object.assign(Object.assign({},e),{balanceAmount:n.balanceChange[e.id].afterAmount})),o=(parseFloat(null==e?void 0:e.balanceAmount)+parseFloat(o)).toString(),e)),i(3,$.Real=[{amount:null==(t=T[0])?void 0:t.balanceAmount}],$),i(3,$.Bonus=[{amount:null==(r=T[1])?void 0:r.balanceAmount}],$),i(3,$.Total=[{amount:Number(o)}],$)},B=e=>{let t;try{t=JSON.parse(e)}catch(e){console.log("Balance stream failed: ",e),A()}var n=t.body;for(let[t,r]of Object.entries(n)){for(let e of $[t])e.productType&&r.productType&&r.productType===e.productType&&(e.amount=r.afterAmount);i(3,$.Total[0].amount=o($.Total[0].amount,t,r),$)}},_=()=>{i(1,C=!1),window.postMessage({type:"GoToDeposit"},window.location.href),"function"==typeof gtag&&gtag("event","GoToDeposit",{context:"PlayerAccountBalanceModal"})},I=e=>e.data&&"LogoutSuccessfull"===e.data.type&&a.close();return xe(()=>(window.addEventListener("message",I,!1),()=>{window.removeEventListener("message",I),a&&a.close()})),t.$$set=e=>{"userid"in e&&i(8,s=e.userid),"session"in e&&i(9,l=e.session),"endpoint"in e&&i(10,c=e.endpoint),"lang"in e&&i(11,u=e.lang),"clientstyling"in e&&i(12,h=e.clientstyling),"clientstylingurl"in e&&i(13,p=e.clientstylingurl),"translationurl"in e&&i(14,d=e.translationurl),"customlocaleidentifier"in e&&i(15,f=e.customlocaleidentifier),"gmversion"in e&&i(16,m=e.gmversion),"displaybalanceoption"in e&&i(17,g=e.displaybalanceoption),"totalcalculationmode"in e&&i(7,y=e.totalcalculationmode),"currencyseparator"in e&&i(18,b=e.currencyseparator),"currencydecimal"in e&&i(19,v=e.currencydecimal),"currencyprecision"in e&&i(20,w=e.currencyprecision)},t.$$.update=()=>{if(2048&t.$$.dirty[0]&&u&&M(),200448&t.$$.dirty[0]&&c&&s&&l&&u&&m&&g&&(()=>{var e,t,r=u;switch(be.set(r),S.includes(y)||(console.error(`Unsupported value ('${y}') for totalcalculationmode parameter. Only the following values are supported ${S}. Using default value ('${S[2]}').`),i(7,y=S[2])),o=(()=>{switch(y){case"totalAmount":return(e,t,r)=>"CreditLine"!==r.walletType?e+r.affectedAmount:e;case"totalCashAmount":return(e,t,r)=>"CreditLine"===r.walletType||"Bonus"!==t&&"Real"!==t?e:e+r.affectedAmount;case"totalRealAmount":return(e,t,r)=>"CreditLine"!==r.walletType&&"Real"===t?e+r.affectedAmount:"CreditLine"===r.walletType&&"Real"===t?e-Math.abs(r.affectedAmount):e;case"totalWithdrawableAmount":return(e,t,r)=>"CreditLine"===r.walletType||"Real"!==t&&"RealNegativeRemainder"!==t?"DepositWagering"===t?e-r.affectedAmount:e:e+r.affectedAmount}})(),console.log("gmversion :>> ",m),m){case"gmcore":(async()=>{var e,t,r=new URL(`${c}/v1/player/${s}/account`);try{x=!0;var n=await fetch(r,{method:"GET",headers:{"X-SessionID":l}}),o=await n.json();if(console.log("data :>> ",o),!n.ok)throw x=!1,new Error("Failed to fetch balance data !");x=!1,T=o.items,i(2,E=Object.keys(o.totalAmount)[0]),i(3,$.Total=[{amount:o.totalAmount[E]}],$),i(3,$.Real=[{amount:null==(e=T.find(e=>"Casino"===e.displayName))?void 0:e.balanceAmount}],$),i(3,$.Bonus=[{amount:null==(t=T.find(e=>"UBS"===e.displayName))?void 0:t.balanceAmount}],$)}catch(e){x=!1,console.log("Balance error: ",e)}finally{x=!1}})();break;case"gm16":x=!0,e=new URL(`${c}/v2/player/${s}/balance`),(t=new Headers).append("X-SessionID",l),fetch(e,{method:"GET",headers:t}).then(e=>e.json()).then(t=>{x=!1;let[e,r]=Object.entries(t[y])[0];if(i(2,E=e),i(3,$.Total=[{amount:r}],$),t.items[0].productType){let e=t.items;i(3,$.Bonus=[],$),i(3,$.Real=[],$),i(3,$.Credit=[],$),g&&"All"!==g&&(e=t.items.filter(e=>e.productType===g));for(let t of e)if("Real"!==t.type){if("Bonus"===t.type){let e=$.Bonus.findIndex(e=>e.productType===t.productType);0<e?i(3,$.Bonus[e].amount+=t.amount,$):$.Bonus.push({amount:t.amount,productType:t.productType})}}else{t.creditLine&&$.Credit.push({amount:t.creditLine,productType:t.productType});let e=$.Real.findIndex(e=>e.productType===t.productType);0<e?i(3,$.Real[e].amount+=t.amount,$):$.Real.push({amount:t.amount,productType:t.productType})}}else{let e=Object.values(t.totalBonusAmount)[0];i(3,$.Bonus=[{amount:e}],$);for(let e of t.items)"Real"===e.type&&(e.creditLine&&i(3,$.Credit=[{amount:e.creditLine}],$),$.Real?i(3,$.Real[0].amount+=e.amount,$):i(3,$.Real=[{amount:e.amount}],$))}}).catch(e=>{throw x=!1,new Error("Failed to fetch balance data !")});break;default:throw Error("Invalid apiversion attribute: "+m)}})(),1920&t.$$.dirty[0]&&c&&s&&l&&y&&A(),4097&t.$$.dirty[0]&&h&&n&&((e=document.createElement("style")).innerHTML=h,n.appendChild(e)),8193&t.$$.dirty[0]&&p&&n){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e;16384&t.$$.dirty[0]&&d&&fetch(d).then(e=>e.json()).then(t=>Object.keys(t).forEach(e=>ko(e,t[e]))).catch(e=>console.log(e))},[n,C,E,$,r,e=>f?new Intl.NumberFormat(M(),{useGrouping:!0}).format(e):(b&&v?No(e,{separator:b,decimal:v,symbol:"",precision:parseInt(w||"2",10)}):No(e,{separator:".",decimal:",",symbol:"",precision:parseInt(w||"2",10)})).format(),_,y,s,l,c,u,h,p,d,f,m,g,b,v,w,()=>i(1,C=!0),()=>i(1,C=!1),()=>_(),()=>i(1,C=!1),function(e){ye[e?"unshift":"push"](()=>{n=e,i(0,n)})}]}function Yo(e,t){wn(e,t)}customElements.get("player-account-balance-modal")||customElements.define("player-account-balance-modal",class extends $e{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))}.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),Te(this,{target:this.shadowRoot,props:K(this.attributes),customElement:!0},Zo,Xo,S,{userid:8,session:9,endpoint:10,lang:11,clientstyling:12,clientstylingurl:13,translationurl:14,customlocaleidentifier:15,gmversion:16,displaybalanceoption:17,totalcalculationmode:7,currencyseparator:18,currencydecimal:19,currencyprecision:20},null,[-1,-1]),e&&(e.target&&F(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","totalcalculationmode","currencyseparator","currencydecimal","currencyprecision"]}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),p()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),p()}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),p()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[14]}set translationurl(e){this.$$set({translationurl:e}),p()}get customlocaleidentifier(){return this.$$.ctx[15]}set customlocaleidentifier(e){this.$$set({customlocaleidentifier:e}),p()}get gmversion(){return this.$$.ctx[16]}set gmversion(e){this.$$set({gmversion:e}),p()}get displaybalanceoption(){return this.$$.ctx[17]}set displaybalanceoption(e){this.$$set({displaybalanceoption:e}),p()}get totalcalculationmode(){return this.$$.ctx[7]}set totalcalculationmode(e){this.$$set({totalcalculationmode:e}),p()}get currencyseparator(){return this.$$.ctx[18]}set currencyseparator(e){this.$$set({currencyseparator:e}),p()}get currencydecimal(){return this.$$.ctx[19]}set currencydecimal(e){this.$$set({currencydecimal:e}),p()}get currencyprecision(){return this.$$.ctx[20]}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=k("div"),T((n=k("iframe")).src,o=e[3])||U(n,"src",o),U(n,"title","Deposit Iframe"),U(r,"class","DepositIframeWrapper")},m(e,t){F(e,r,t),L(r,n)},p(e,t){8&t&&!T(n.src,o=e[3])&&U(n,"src",o)},d(e){e&&R(r)}}}function Qo(e){let r,n,o=e[4]("loading")+"";return{c(){r=k("p"),n=D(o)},m(e,t){F(e,r,t),L(r,n)},p(e,t){16&t&&o!==(o=e[4]("loading")+"")&&j(n,o)},d(e){e&&R(r)}}}function qo(r){let n,o,i,a,s,l=r[4]("titleDeposit")+"",c=r[5]&&(r=>{let n,o,i,a,s,l,c,u,h,p,d,f,m,g=r[4]("titleDeposit")+"";return{c(){n=k("div"),o=e("svg"),i=e("defs"),a=e("style"),s=D(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),l=e("g"),c=e("g"),u=e("path"),h=P(),p=k("h2"),d=D(g),U(u,"class","aaa"),U(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),U(u,"transform","translate(15 15) rotate(180)"),U(c,"transform","translate(20 158)"),U(l,"transform","translate(-20 -158)"),U(o,"xmlns","http://www.w3.org/2000/svg"),U(o,"width","15"),U(o,"height","15"),U(o,"viewBox","0 0 15 15"),U(p,"class","DepositTitleMobile"),U(n,"class","MenuReturnButton")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(i,a),L(a,s),L(o,l),L(l,c),L(c,u),L(n,h),L(n,p),L(p,d),f||(m=N(n,"click",r[17]),f=!0)},p(e,t){16&t&&g!==(g=e[4]("titleDeposit")+"")&&j(d,g)},d(e){e&&R(n),f=!1,m()}}})(r);function u(e){return e[1]?Qo:Jo}let h=u(r),p=h(r);return{c(){n=k("div"),c&&c.c(),o=P(),i=k("h2"),a=D(l),s=P(),p.c(),this.c=v,U(i,"class","DepositTitle "+(r[5]?"DepositTitleNone":"")),U(n,"class","DepositWrapper "+(r[5]?"DepositWrapperMobile":"")),Z(n,"--dynamic-height",r[2])},m(e,t){F(e,n,t),c&&c.m(n,null),L(n,o),L(n,i),L(i,a),L(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")+"")&&j(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&&Z(n,"--dynamic-height",e[2])},i:v,o:v,d(e){e&&R(n),c&&c.d(),p.d(),r[18](null)}}}function ei(n,e,o){let i,t;ve(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:m=""}=e,{shortcashierenabled:g="false"}=e,y=window.navigator.userAgent,b="PC"!==Qn(y),v=!0,w=0,x="",C=(Object.keys(Ko).forEach(e=>{Yo(e,Ko[e])}),()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:b},window.location.href)}),E=e=>{if(e.data)switch("ProfileDetailsData"===e.data.type&&o(7,m=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 xe(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),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,m=e.playercurrency),"shortcashierenabled"in e&&o(16,g=e.shortcashierenabled)},n.$$.update=()=>{if(2048&n.$$.dirty&&u&&(r=u,be.set(r)),65536&n.$$.dirty&&(i="true"===g.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&&m&&u&&g){var e=new URL(`${s}/v1/player/${c}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(e.searchParams.append("language",u),i&&e.searchParams.append("isShortCashier",g),h)switch(m){case"USD":w=.4;break;case"CDF":w=1e3}var t={method:"POST",headers:{"X-SessionId":l,currency:m||"EUR",amount:w,cashierMode:"Default",IsShortCashier:g,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,C,m,s,l,c,u,h,p,d,f,g,()=>C(),function(e){ye[e?"unshift":"push"](()=>{a=e,o(0,a)})}]}customElements.get("player-deposit")||customElements.define("player-deposit",class extends $e{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),Te(this,{target:this.shadowRoot,props:K(this.attributes),customElement:!0},ei,qo,S,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,shortcashierenabled:16},null),e&&(e.target&&F(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==";let ri=B.document;function ni(e,t,r){e=e.slice();return e[112]=t[r],e}function oi(e,t,r){e=e.slice();return e[115]=t[r],e}function ii(e,t,r){e=e.slice();return e[115]=t[r],e}function ai(e,t,r){e=e.slice();return e[112]=t[r],e}function si(e,t,r){e=e.slice();return e[115]=t[r],e}function li(e,t,r){e=e.slice();return e[115]=t[r],e}function ci(r){let n,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,e=r[46]("login")+"",t=r[46]("register")+"";function C(e){return e[38]?di:pi}let E=C(r),T=E(r),$=!r[32]&&fi(r),S=1<r[42].length&&mi(r),M=r[35],A=[];for(let e=0;e<M.length;e+=1)A[e]=xi(ni(r,M,e));return{c(){n=k("header"),o=k("div"),i=k("div"),T.c(),a=P(),s=k("nav"),$&&$.c(),l=P(),c=k("div"),u=k("div"),h=k("div"),p=D(e),d=P(),f=k("div"),m=D(t),g=P(),S&&S.c(),y=P(),b=k("nav"),v=k("ul");for(let e=0;e<A.length;e+=1)A[e].c();U(i,"class","HeaderBranding"),U(s,"class","HeaderMainNav"),U(h,"class","Item ItemLogin"),U(h,"tabindex","0"),U(f,"class","Item ItemRegister"),U(f,"tabindex","0"),U(u,"class","HeaderItemsMenu"),U(c,"class","HeaderTopActions"),U(o,"class","HeaderContainer"),U(v,"class","HeaderItemsMenuSecondary"),U(b,"class","HeaderSecondaryNav"),U(n,"class","HeaderWrapper")},m(e,t){F(e,n,t),L(n,o),L(o,i),T.m(i,null),L(o,a),L(o,s),$&&$.m(s,null),L(o,l),L(o,c),L(c,u),L(u,h),L(h,p),L(u,d),L(u,f),L(f,m),L(u,g),S&&S.m(u,null),L(n,y),L(n,b),L(b,v);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(v,null);r[90](n),w||(x=[N(i,"click",r[82]),N(h,"click",r[83]),N(f,"click",r[84])],w=!0)},p(r,n){if(E===(E=C(r))&&T?T.p(r,n):(T.d(1),(T=E(r))&&(T.c(),T.m(i,null))),r[32]?$&&($.d(1),$=null):$?$.p(r,n):(($=fi(r)).c(),$.m(s,null)),32768&n[1]&&e!==(e=r[46]("login")+"")&&j(p,e),32768&n[1]&&t!==(t=r[46]("register")+"")&&j(m,t),1<r[42].length?S?S.p(r,n):((S=mi(r)).c(),S.m(u,null)):S&&(S.d(1),S=null),1048600&n[1]){let t;for(M=r[35],t=0;t<M.length;t+=1){let e=ni(r,M,t);A[t]?A[t].p(e,n):(A[t]=xi(e),A[t].c(),A[t].m(v,null))}for(;t<A.length;t+=1)A[t].d(1);A.length=M.length}},d(e){e&&R(n),T.d(),$&&$.d(),S&&S.d(),O(A,e),r[90](null),w=!1,I(x)}}}function ui(r){let n,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,C,E,T,$,S=r[46]("login")+"",M=r[46]("register")+"";function A(e){return e[38]?Ei:Ci}let H=A(r),B=H(r);return{c(){n=k("header"),o=k("div"),i=k("div"),a=e("svg"),s=e("defs"),l=e("style"),c=D(".a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n "),u=e("g"),h=e("rect"),p=e("rect"),d=e("rect"),f=P(),m=k("div"),B.c(),g=P(),y=k("div"),b=k("div"),v=k("div"),w=D(S),x=P(),C=k("div"),E=D(M),U(h,"class","a"),U(h,"width","18"),U(h,"height","2"),U(h,"transform","translate(14 13)"),U(p,"class","a"),U(p,"width","22"),U(p,"height","2"),U(p,"transform","translate(14 20)"),U(d,"class","a"),U(d,"width","22"),U(d,"height","2"),U(d,"transform","translate(14 27)"),U(u,"transform","translate(-14 -13)"),U(a,"xmlns","http://www.w3.org/2000/svg"),U(a,"width","22"),U(a,"height","16"),U(a,"viewBox","0 0 22 16"),U(i,"class","HeaderMobileMainNav"),U(m,"class","HeaderBranding"),U(v,"class","Item ItemLogin"),U(C,"class","Item ItemRegister"),U(b,"class","HeaderItemsMenu"),U(y,"class","HeaderTopActions"),U(o,"class","HeaderContainer"),U(n,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(i,a),L(a,s),L(s,l),L(l,c),L(a,u),L(u,h),L(u,p),L(u,d),L(o,f),L(o,m),B.m(m,null),L(o,g),L(o,y),L(y,b),L(b,v),L(v,w),L(b,x),L(b,C),L(C,E),r[81](n),T||($=[N(a,"click",r[77]),N(m,"click",r[78]),N(v,"click",r[79]),N(C,"click",r[80])],T=!0)},p(e,t){H===(H=A(e))&&B?B.p(e,t):(B.d(1),(B=H(e))&&(B.c(),B.m(m,null))),32768&t[1]&&S!==(S=e[46]("login")+"")&&j(w,S),32768&t[1]&&M!==(M=e[46]("register")+"")&&j(E,M)},d(e){e&&R(n),B.d(),r[81](null),T=!1,I($)}}}function hi(e){let r;function n(e){return e[40]?$i:Ti}let o=n(e),i=o(e);return{c(){i.c(),r=c()},m(e,t){i.m(e,t),F(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&&R(r)}}}function pi(e){let r,t;return{c(){T((r=k("img")).src,t=ti)||U(r,"src",t),U(r,"alt","Logo")},m(e,t){F(e,r,t)},p:v,d(e){e&&R(r)}}}function di(e){let r,n;return{c(){T((r=k("img")).src,n=e[44])||U(r,"src",n),U(r,"alt","Logo")},m(e,t){F(e,r,t)},p(e,t){8192&t[1]&&!T(r.src,n=e[44])&&U(r,"src",n)},d(e){e&&R(r)}}}function fi(r){let n,o,i;return{c(){G(n=k("casino-slider"),"class","HeaderItemsMenu"),G(n,"part","HeaderItemsMenu"),G(n,"identity",Vi),G(n,"isprimarymenu","true"),G(n,"actionevent",r[23]),G(n,"activeindex",r[33]),G(n,"location","headerMain"),G(n,"endpoint",r[2]),G(n,"lang",r[3]),G(n,"clientstyling",r[25]),G(n,"clientstylingurl",r[26])},m(e,t){F(e,n,t),o||(i=H(r[50].call(null,n)),o=!0)},p(e,t){8388608&t[0]&&G(n,"actionevent",e[23]),4&t[1]&&G(n,"activeindex",e[33]),4&t[0]&&G(n,"endpoint",e[2]),8&t[0]&&G(n,"lang",e[3]),33554432&t[0]&&G(n,"clientstyling",e[25]),67108864&t[0]&&G(n,"clientstylingurl",e[26])},d(e){e&&R(n),o=!1,i()}}}function mi(e){let r;function n(e){return"true"!==e[8]?yi:gi}let o=n(e),i=o(e);return{c(){i.c(),r=c()},m(e,t){i.m(e,t),F(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&&R(r)}}}function gi(r){let n,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v=r[36].slice(-2)+"",w=r[39]&&bi(r);return{c(){n=k("div"),o=k("div"),i=k("span"),a=k("img"),l=P(),c=k("span"),u=D(v),h=P(),p=k("span"),d=e("svg"),f=e("path"),g=P(),w&&w.c(),T(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[54](r[36].slice(-2))}.svg`)||U(a,"src",s),U(i,"class","FlagIcon"),U(c,"class","LanguageName"),U(f,"id","arrow"),U(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"),U(f,"transform","translate(-274.511 -441.088)"),U(f,"fill","#d1d1d1"),U(d,"xmlns","http://www.w3.org/2000/svg"),U(d,"width","14"),U(d,"height","6.835"),U(d,"viewBox","0 0 14 6.835"),U(p,"class",m="TriangleInactive "+(r[39]?"TriangleActive":"")),U(o,"class","SelectedOption Item ItemLanguage"),U(n,"class","LanguageDropdown")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(i,a),L(o,l),L(o,c),L(c,u),L(o,h),L(o,p),L(p,d),L(d,f),L(n,g),w&&w.m(n,null),y||(b=N(o,"click",r[87]),y=!0)},p(e,t){2080&t[1]&&!T(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[54](e[36].slice(-2))}.svg`)&&U(a,"src",s),32&t[1]&&v!==(v=e[36].slice(-2)+"")&&j(u,v),256&t[1]&&m!==(m="TriangleInactive "+(e[39]?"TriangleActive":""))&&U(p,"class",m),e[39]?w?w.p(e,t):((w=bi(e)).c(),w.m(n,null)):w&&(w.d(1),w=null)},d(e){e&&R(n),w&&w.d(),y=!1,b()}}}function yi(r){let o,n,i,a=r[42],s=[];for(let e=0;e<a.length;e+=1)s[e]=wi(ii(r,a,e));return{c(){o=k("select");for(let e=0;e<s.length;e+=1)s[e].c();U(o,"class","Item ItemLanguage NoFlag"),void 0===r[36]&&$(()=>r[85].call(o))},m(e,t){F(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);Y(o,r[36],!0),n||(i=[N(o,"change",r[85]),N(o,"change",r[86])],n=!0)},p(t,r){if(2048&r[1]){let e;for(a=t[42],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}2080&r[1]&&Y(o,t[36])},d(e){e&&R(o),O(s,e),n=!1,I(i)}}}function bi(t){let o,i=t[42],a=[];for(let e=0;e<i.length;e+=1)a[e]=vi(oi(t,i,e));return{c(){o=k("div");for(let e=0;e<a.length;e+=1)a[e].c();U(o,"class","OptionList")},m(e,t){F(e,o,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(o,null)},p(t,r){if(10487808&r[1]){let e;for(i=t[42],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&&R(o),O(a,e)}}}function vi(r){let n,o,i,a,s,l,c,u,h,p,d=r[115].slice(-2)+"";function f(){return r[88](r[115])}return{c(){n=k("div"),o=k("span"),i=k("img"),s=P(),l=k("span"),c=D(d),u=P(),T(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[54](r[115].slice(-2))}.svg`)||U(i,"src",a),U(o,"class","FlagIcon"),U(l,"class","LanguageName"),U(n,"class","LanguageOption")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(n,s),L(n,l),L(l,c),L(n,u),h||(p=N(n,"click",f),h=!0)},p(e,t){r=e,2048&t[1]&&!T(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[54](r[115].slice(-2))}.svg`)&&U(i,"src",a),2048&t[1]&&d!==(d=r[115].slice(-2)+"")&&j(c,d)},d(e){e&&R(n),h=!1,p()}}}function wi(e){let r,n,o,i=e[115].slice(-2)+"";return{c(){r=k("option"),n=D(i),r.__value=o=e[115],r.value=r.__value},m(e,t){F(e,r,t),L(r,n)},p(e,t){2048&t[1]&&i!==(i=e[115].slice(-2)+"")&&j(n,i),2048&t[1]&&o!==(o=e[115])&&(r.__value=o,r.value=r.__value)},d(e){e&&R(r)}}}function xi(r){let n,o,i,a,s,l,c,u=r[112].label+"";function h(){return r[89](r[112])}return{c(){n=k("li"),o=k("button"),i=D(u),a=P(),U(n,"class",s="ItemSecondary "+(-1<r[34]?.toString().indexOf("$")?r[34]?.split("$").pop()==r[112].id.split("$").pop()?"active":"":r[34]==r[112].id?"active":"")),U(n,"part","ItemSecondary")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(n,a),l||(c=N(o,"click",h),l=!0)},p(e,t){r=e,16&t[1]&&u!==(u=r[112].label+"")&&j(i,u),24&t[1]&&s!==(s="ItemSecondary "+(-1<r[34]?.toString().indexOf("$")?r[34]?.split("$").pop()==r[112].id.split("$").pop()?"active":"":r[34]==r[112].id?"active":""))&&U(n,"class",s)},d(e){e&&R(n),l=!1,c()}}}function Ci(e){let r,t;return{c(){T((r=k("img")).src,t=ti)||U(r,"src",t),U(r,"alt","Logo")},m(e,t){F(e,r,t)},p:v,d(e){e&&R(r)}}}function Ei(e){let r,n;return{c(){T((r=k("img")).src,n=e[44])||U(r,"src",n),U(r,"alt","Logo")},m(e,t){F(e,r,t)},p(e,t){8192&t[1]&&!T(r.src,n=e[44])&&U(r,"src",n)},d(e){e&&R(r)}}}function Ti(r){let n,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,C,E,T,e=r[46]("deposit")+"";function t(e){return e[38]?Mi:Si}let $=t(r),S=$(r),M=!r[32]&&Ai(r),A=r[45]&&Hi(r),H=1<r[42].length&&Ii(r),B=r[35],_=[];for(let e=0;e<B.length;e+=1)_[e]=Di(ai(r,B,e));return{c(){n=k("header"),o=k("div"),i=k("div"),S.c(),a=P(),s=k("nav"),M&&M.c(),l=P(),c=k("div"),u=k("div"),h=k("player-account-balance-modal"),p=P(),d=k("div"),f=k("div"),m=D(e),g=P(),A&&A.c(),y=P(),(b=k("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=P(),H&&H.c(),w=P(),x=k("nav"),C=k("ul");for(let e=0;e<_.length;e+=1)_[e].c();U(i,"class","HeaderBranding"),U(s,"class","HeaderMainNav"),G(h,"session",r[0]),G(h,"userid",r[1]),G(h,"endpoint",r[2]),G(h,"lang",r[3]),G(h,"clientstyling",r[25]),G(h,"clientstylingurl",r[26]),G(h,"customlocaleidentifier",r[6]),G(h,"gmversion",r[7]),G(h,"displaybalanceoption",r[9]),G(h,"totalcalculationmode",r[30]),G(h,"currencyseparator",r[27]),G(h,"currencydecimal",r[28]),G(h,"currencyprecision",r[29]),U(f,"class","Item ItemDeposit"),U(f,"part","Item ItemDeposit"),U(b,"class","Item ItemAccount"),U(b,"part","Item ItemAccount"),U(u,"class","HeaderItemsMenu PrimaryMenu"),U(c,"class","HeaderTopActions"),U(o,"class","HeaderContainer"),U(C,"class","HeaderItemsMenuSecondary"),U(x,"class","HeaderSecondaryNav"),U(n,"class","HeaderWrapper")},m(e,t){F(e,n,t),L(n,o),L(o,i),S.m(i,null),L(o,a),L(o,s),M&&M.m(s,null),L(o,l),L(o,c),L(c,u),L(u,h),L(u,p),L(u,d),L(d,f),L(f,m),L(d,g),A&&A.m(d,null),L(u,y),L(u,b),L(u,v),H&&H.m(u,null),L(n,w),L(n,x),L(x,C);for(let e=0;e<_.length;e+=1)_[e]&&_[e].m(C,null);r[76](n),E||(T=[N(i,"click",r[66]),N(f,"click",r[67]),N(b,"click",r[70])],E=!0)},p(r,n){if($===($=t(r))&&S?S.p(r,n):(S.d(1),(S=$(r))&&(S.c(),S.m(i,null))),r[32]?M&&(M.d(1),M=null):M?M.p(r,n):((M=Ai(r)).c(),M.m(s,null)),1&n[0]&&G(h,"session",r[0]),2&n[0]&&G(h,"userid",r[1]),4&n[0]&&G(h,"endpoint",r[2]),8&n[0]&&G(h,"lang",r[3]),33554432&n[0]&&G(h,"clientstyling",r[25]),67108864&n[0]&&G(h,"clientstylingurl",r[26]),64&n[0]&&G(h,"customlocaleidentifier",r[6]),128&n[0]&&G(h,"gmversion",r[7]),512&n[0]&&G(h,"displaybalanceoption",r[9]),1073741824&n[0]&&G(h,"totalcalculationmode",r[30]),134217728&n[0]&&G(h,"currencyseparator",r[27]),268435456&n[0]&&G(h,"currencydecimal",r[28]),536870912&n[0]&&G(h,"currencyprecision",r[29]),32768&n[1]&&e!==(e=r[46]("deposit")+"")&&j(m,e),r[45]?A?A.p(r,n):((A=Hi(r)).c(),A.m(d,null)):A&&(A.d(1),A=null),1<r[42].length?H?H.p(r,n):((H=Ii(r)).c(),H.m(u,null)):H&&(H.d(1),H=null),1048600&n[1]){let t;for(B=r[35],t=0;t<B.length;t+=1){let e=ai(r,B,t);_[t]?_[t].p(e,n):(_[t]=Di(e),_[t].c(),_[t].m(C,null))}for(;t<_.length;t+=1)_[t].d(1);_.length=B.length}},d(e){e&&R(n),S.d(),M&&M.d(),A&&A.d(),H&&H.d(),O(_,e),r[76](null),E=!1,I(T)}}}function $i(r){let n,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x=r[46]("deposit")+"",C=!r[43]&&Pi(r);function E(e){return e[38]?Ui:Ni}let T=E(r),$=T(r),S=r[45]&&Gi(r);return{c(){n=k("header"),o=k("div"),i=k("div"),C&&C.c(),a=P(),s=k("div"),$.c(),l=P(),c=k("div"),u=k("div"),h=k("player-account-balance-modal"),p=P(),d=k("div"),f=k("div"),m=D(x),g=P(),S&&S.c(),y=P(),(b=k("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>',U(i,"class","HeaderMobileMainNav"),U(s,"class","HeaderBranding"),G(h,"session",r[0]),G(h,"userid",r[1]),G(h,"endpoint",r[2]),G(h,"lang",r[3]),G(h,"clientstyling",r[25]),G(h,"clientstylingurl",r[26]),G(h,"customlocaleidentifier",r[6]),G(h,"gmversion",r[7]),G(h,"displaybalanceoption",r[9]),G(h,"totalcalculationmode",r[30]),G(h,"currencyseparator",r[27]),G(h,"currencydecimal",r[28]),G(h,"currencyprecision",r[29]),U(f,"class","Item ItemDeposit"),U(f,"part","Item ItemDeposit"),U(b,"class","Item ItemAccount"),U(b,"part","Item ItemAccount"),U(u,"class","HeaderItemsMenu PrimaryMenu"),U(u,"part","HeaderItemsMenu PrimaryMenu"),U(c,"class","HeaderTopActions"),U(c,"part","HeaderTopActions"),U(o,"class","HeaderContainer"),U(n,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){F(e,n,t),L(n,o),L(o,i),C&&C.m(i,null),L(o,a),L(o,s),$.m(s,null),L(o,l),L(o,c),L(c,u),L(u,h),L(u,p),L(u,d),L(d,f),L(f,m),L(d,g),S&&S.m(d,null),L(u,y),L(u,b),r[65](n),v||(w=[N(s,"click",r[60]),N(f,"click",r[61]),N(b,"click",r[64])],v=!0)},p(e,t){e[43]?C&&(C.d(1),C=null):C?C.p(e,t):((C=Pi(e)).c(),C.m(i,null)),T===(T=E(e))&&$?$.p(e,t):($.d(1),($=T(e))&&($.c(),$.m(s,null))),1&t[0]&&G(h,"session",e[0]),2&t[0]&&G(h,"userid",e[1]),4&t[0]&&G(h,"endpoint",e[2]),8&t[0]&&G(h,"lang",e[3]),33554432&t[0]&&G(h,"clientstyling",e[25]),67108864&t[0]&&G(h,"clientstylingurl",e[26]),64&t[0]&&G(h,"customlocaleidentifier",e[6]),128&t[0]&&G(h,"gmversion",e[7]),512&t[0]&&G(h,"displaybalanceoption",e[9]),1073741824&t[0]&&G(h,"totalcalculationmode",e[30]),134217728&t[0]&&G(h,"currencyseparator",e[27]),268435456&t[0]&&G(h,"currencydecimal",e[28]),536870912&t[0]&&G(h,"currencyprecision",e[29]),32768&t[1]&&x!==(x=e[46]("deposit")+"")&&j(m,x),e[45]?S?S.p(e,t):((S=Gi(e)).c(),S.m(d,null)):S&&(S.d(1),S=null)},d(e){e&&R(n),C&&C.d(),$.d(),S&&S.d(),r[65](null),v=!1,I(w)}}}function Si(e){let r,t;return{c(){T((r=k("img")).src,t=ti)||U(r,"src",t),U(r,"alt","Logo")},m(e,t){F(e,r,t)},p:v,d(e){e&&R(r)}}}function Mi(e){let r,n;return{c(){T((r=k("img")).src,n=e[44])||U(r,"src",n),U(r,"alt","Logo")},m(e,t){F(e,r,t)},p(e,t){8192&t[1]&&!T(r.src,n=e[44])&&U(r,"src",n)},d(e){e&&R(r)}}}function Ai(r){let n,o,i;return{c(){G(n=k("casino-slider"),"class","HeaderItemsMenu"),G(n,"part","HeaderItemsMenu"),G(n,"identity",Vi),G(n,"isprimarymenu","true"),G(n,"actionevent",r[23]),G(n,"activeindex",r[33]),G(n,"endpoint",r[2]),G(n,"lang",r[3]),G(n,"location","headerMain"),G(n,"showsubgroups",r[24]),G(n,"clientstyling",r[25]),G(n,"clientstylingurl",r[26])},m(e,t){F(e,n,t),o||(i=H(r[50].call(null,n)),o=!0)},p(e,t){8388608&t[0]&&G(n,"actionevent",e[23]),4&t[1]&&G(n,"activeindex",e[33]),4&t[0]&&G(n,"endpoint",e[2]),8&t[0]&&G(n,"lang",e[3]),16777216&t[0]&&G(n,"showsubgroups",e[24]),33554432&t[0]&&G(n,"clientstyling",e[25]),67108864&t[0]&&G(n,"clientstylingurl",e[26])},d(e){e&&R(n),o=!1,i()}}}function Hi(r){let n,o,i,a,s,l,c,u;function h(e){return"gmcore"===e[7]?_i:Bi}let p=h(r),d=p(r);return{c(){n=k("div"),o=P(),i=k("div"),a=k("div"),(s=k("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=P(),d.c(),U(n,"class","ShortCashierWindow"),U(s,"class","ClosePopUpButtonShortCashier"),U(a,"class","ShortCashierContainer"),U(i,"class","ShortCashierContainerWrapper")},m(e,t){F(e,n,t),F(e,o,t),F(e,i,t),L(i,a),L(a,s),L(a,l),d.m(a,null),c||(u=[N(n,"click",r[68]),N(s,"click",r[69])],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&&R(n),e&&R(o),e&&R(i),d.d(),c=!1,I(u)}}}function Bi(e){let r,n,o,i,a,s,l,c,u;return{c(){G(r=k("user-deposit-withdrawal"),"endpoint",e[2]),G(r,"type","deposit"),G(r,"channel","Desktop"),G(r,"language",e[3]),G(r,"is-short-cashier",e[13]),G(r,"product-type",e[14]),G(r,"user-id",e[1]),G(r,"session",e[0]),G(r,"success-url",n="https://"+window.location.hostname+"/"+e[3]+e[15]),G(r,"cancel-url",o="https://"+window.location.hostname+"/"+e[3]+e[17]),G(r,"fail-url",i="https://"+window.location.hostname+"/"+e[3]+e[16]),G(r,"sports-url",a="https://"+window.location.hostname+"/"+e[3]+e[18]),G(r,"casino-url",s="https://"+window.location.hostname+"/"+e[3]+e[19]),G(r,"contact-url",l="https://"+window.location.hostname+"/"+e[3]+e[20]),G(r,"home-url",c="https://"+window.location.hostname+"/"+e[3]+e[21]),G(r,"deposit-url",u="https://"+window.location.hostname+"/"+e[3]+e[22]),G(r,"client-styling",e[25]),G(r,"client-styling-url",e[26])},m(e,t){F(e,r,t)},p(e,t){4&t[0]&&G(r,"endpoint",e[2]),8&t[0]&&G(r,"language",e[3]),8192&t[0]&&G(r,"is-short-cashier",e[13]),16384&t[0]&&G(r,"product-type",e[14]),2&t[0]&&G(r,"user-id",e[1]),1&t[0]&&G(r,"session",e[0]),32776&t[0]&&n!==(n="https://"+window.location.hostname+"/"+e[3]+e[15])&&G(r,"success-url",n),131080&t[0]&&o!==(o="https://"+window.location.hostname+"/"+e[3]+e[17])&&G(r,"cancel-url",o),65544&t[0]&&i!==(i="https://"+window.location.hostname+"/"+e[3]+e[16])&&G(r,"fail-url",i),262152&t[0]&&a!==(a="https://"+window.location.hostname+"/"+e[3]+e[18])&&G(r,"sports-url",a),524296&t[0]&&s!==(s="https://"+window.location.hostname+"/"+e[3]+e[19])&&G(r,"casino-url",s),1048584&t[0]&&l!==(l="https://"+window.location.hostname+"/"+e[3]+e[20])&&G(r,"contact-url",l),2097160&t[0]&&c!==(c="https://"+window.location.hostname+"/"+e[3]+e[21])&&G(r,"home-url",c),4194312&t[0]&&u!==(u="https://"+window.location.hostname+"/"+e[3]+e[22])&&G(r,"deposit-url",u),33554432&t[0]&&G(r,"client-styling",e[25]),67108864&t[0]&&G(r,"client-styling-url",e[26])},d(e){e&&R(r)}}}function _i(e){let r;return{c(){G(r=k("player-deposit"),"endpoint",e[2]),G(r,"session",e[0]),G(r,"playerid",e[1]),G(r,"lang",e[3]),G(r,"hasdefaultamount",e[11]),G(r,"playercurrency",e[12]),G(r,"shortcashierenabled",e[13]),G(r,"clientstyling",e[25]),G(r,"clientstylingurl",e[26])},m(e,t){F(e,r,t)},p(e,t){4&t[0]&&G(r,"endpoint",e[2]),1&t[0]&&G(r,"session",e[0]),2&t[0]&&G(r,"playerid",e[1]),8&t[0]&&G(r,"lang",e[3]),2048&t[0]&&G(r,"hasdefaultamount",e[11]),4096&t[0]&&G(r,"playercurrency",e[12]),8192&t[0]&&G(r,"shortcashierenabled",e[13]),33554432&t[0]&&G(r,"clientstyling",e[25]),67108864&t[0]&&G(r,"clientstylingurl",e[26])},d(e){e&&R(r)}}}function Ii(e){let r;function n(e){return"true"!==e[8]?Fi:Li}let o=n(e),i=o(e);return{c(){i.c(),r=c()},m(e,t){i.m(e,t),F(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&&R(r)}}}function Li(r){let n,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v=r[36].slice(-2)+"",w=r[39]&&Ri(r);return{c(){n=k("div"),o=k("div"),i=k("span"),a=k("img"),l=P(),c=k("span"),u=D(v),h=P(),p=k("span"),d=e("svg"),f=e("path"),g=P(),w&&w.c(),T(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[54](r[36].slice(-2))}.svg`)||U(a,"src",s),U(i,"class","FlagIcon"),U(c,"class","LanguageName"),U(f,"id","arrow"),U(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"),U(f,"transform","translate(-274.511 -441.088)"),U(f,"fill","#d1d1d1"),U(d,"xmlns","http://www.w3.org/2000/svg"),U(d,"width","14"),U(d,"height","6.835"),U(d,"viewBox","0 0 14 6.835"),U(p,"class",m="TriangleInactive "+(r[39]?"TriangleActive":"")),U(o,"class","SelectedOption Item ItemLanguage"),U(n,"class","LanguageDropdown")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(i,a),L(o,l),L(o,c),L(c,u),L(o,h),L(o,p),L(p,d),L(d,f),L(n,g),w&&w.m(n,null),y||(b=N(o,"click",r[73]),y=!0)},p(e,t){2080&t[1]&&!T(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[54](e[36].slice(-2))}.svg`)&&U(a,"src",s),32&t[1]&&v!==(v=e[36].slice(-2)+"")&&j(u,v),256&t[1]&&m!==(m="TriangleInactive "+(e[39]?"TriangleActive":""))&&U(p,"class",m),e[39]?w?w.p(e,t):((w=Ri(e)).c(),w.m(n,null)):w&&(w.d(1),w=null)},d(e){e&&R(n),w&&w.d(),y=!1,b()}}}function Fi(r){let o,n,i,a=r[42],s=[];for(let e=0;e<a.length;e+=1)s[e]=ki(li(r,a,e));return{c(){o=k("select");for(let e=0;e<s.length;e+=1)s[e].c();U(o,"class","Item ItemLanguage NoFlag"),void 0===r[36]&&$(()=>r[71].call(o))},m(e,t){F(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);Y(o,r[36],!0),n||(i=[N(o,"change",r[71]),N(o,"change",r[72])],n=!0)},p(t,r){if(2048&r[1]){let e;for(a=t[42],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}2080&r[1]&&Y(o,t[36])},d(e){e&&R(o),O(s,e),n=!1,I(i)}}}function Ri(t){let o,i=t[42],a=[];for(let e=0;e<i.length;e+=1)a[e]=Oi(si(t,i,e));return{c(){o=k("div");for(let e=0;e<a.length;e+=1)a[e].c();U(o,"class","OptionList")},m(e,t){F(e,o,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(o,null)},p(t,r){if(10487808&r[1]){let e;for(i=t[42],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&&R(o),O(a,e)}}}function Oi(r){let n,o,i,a,s,l,c,u,h,p,d=r[115].slice(-2)+"";function f(){return r[74](r[115])}return{c(){n=k("div"),o=k("span"),i=k("img"),s=P(),l=k("span"),c=D(d),u=P(),T(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[54](r[115].slice(-2))}.svg`)||U(i,"src",a),U(o,"class","FlagIcon"),U(l,"class","LanguageName"),U(n,"class","LanguageOption")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(n,s),L(n,l),L(l,c),L(n,u),h||(p=N(n,"click",f),h=!0)},p(e,t){r=e,2048&t[1]&&!T(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${r[54](r[115].slice(-2))}.svg`)&&U(i,"src",a),2048&t[1]&&d!==(d=r[115].slice(-2)+"")&&j(c,d)},d(e){e&&R(n),h=!1,p()}}}function ki(e){let r,n,o,i=e[115].slice(-2)+"";return{c(){r=k("option"),n=D(i),r.__value=o=e[115],r.value=r.__value,r.selected=!0},m(e,t){F(e,r,t),L(r,n)},p(e,t){2048&t[1]&&i!==(i=e[115].slice(-2)+"")&&j(n,i),2048&t[1]&&o!==(o=e[115])&&(r.__value=o,r.value=r.__value)},d(e){e&&R(r)}}}function Di(r){let n,o,i,a,s,l,c,u=r[112].label+"";function h(){return r[75](r[112])}return{c(){n=k("li"),o=k("button"),i=D(u),a=P(),U(n,"class",s="ItemSecondary "+(-1<r[34]?.toString().indexOf("$")?r[34]?.split("$").pop()==r[112].id.split("$").pop()?"active":"":r[34]==r[112].id?"active":"")),U(n,"part","ItemSecondary")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(n,a),l||(c=N(o,"click",h),l=!0)},p(e,t){r=e,16&t[1]&&u!==(u=r[112].label+"")&&j(i,u),24&t[1]&&s!==(s="ItemSecondary "+(-1<r[34]?.toString().indexOf("$")?r[34]?.split("$").pop()==r[112].id.split("$").pop()?"active":"":r[34]==r[112].id?"active":""))&&U(n,"class",s)},d(e){e&&R(n),l=!1,c()}}}function Pi(r){let n,o,i,a,s,l,c,u,h,p;return{c(){n=e("svg"),o=e("defs"),i=e("style"),a=D(".a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n "),s=e("g"),l=e("rect"),c=e("rect"),u=e("rect"),U(l,"class","a"),U(l,"width","18"),U(l,"height","2"),U(l,"transform","translate(14 13)"),U(c,"class","a"),U(c,"width","22"),U(c,"height","2"),U(c,"transform","translate(14 20)"),U(u,"class","a"),U(u,"width","22"),U(u,"height","2"),U(u,"transform","translate(14 27)"),U(s,"transform","translate(-14 -13)"),U(n,"xmlns","http://www.w3.org/2000/svg"),U(n,"width","22"),U(n,"height","16"),U(n,"viewBox","0 0 22 16")},m(e,t){F(e,n,t),L(n,o),L(o,i),L(i,a),L(n,s),L(s,l),L(s,c),L(s,u),h||(p=N(n,"click",r[59]),h=!0)},p:v,d(e){e&&R(n),h=!1,p()}}}function Ni(e){let r,t;return{c(){T((r=k("img")).src,t=ti)||U(r,"src",t),U(r,"alt","Logo")},m(e,t){F(e,r,t)},p:v,d(e){e&&R(r)}}}function Ui(e){let r,n;return{c(){T((r=k("img")).src,n=e[44])||U(r,"src",n),U(r,"alt","Logo")},m(e,t){F(e,r,t)},p(e,t){8192&t[1]&&!T(r.src,n=e[44])&&U(r,"src",n)},d(e){e&&R(r)}}}function Gi(r){let n,o,i,a,s,l,c,u;function h(e){return"gmcore"===e[7]?zi:ji}let p=h(r),d=p(r);return{c(){n=k("div"),o=P(),i=k("div"),a=k("div"),(s=k("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=P(),d.c(),U(n,"class","ShortCashierWindow"),U(s,"class","ClosePopUpButtonShortCashier"),U(a,"class","ShortCashierContainerMobile"),U(i,"class","ShortCashierContainerWrapperMobile")},m(e,t){F(e,n,t),F(e,o,t),F(e,i,t),L(i,a),L(a,s),L(a,l),d.m(a,null),c||(u=[N(n,"click",r[62]),N(s,"click",r[63])],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&&R(n),e&&R(o),e&&R(i),d.d(),c=!1,I(u)}}}function ji(e){let r,n,o,i,a,s,l,c,u;return{c(){G(r=k("user-deposit-withdrawal"),"endpoint",e[2]),G(r,"type","deposit"),G(r,"channel","Mobile"),G(r,"language",e[3]),G(r,"is-short-cashier",e[13]),G(r,"product-type",e[14]),G(r,"user-id",e[1]),G(r,"session",e[0]),G(r,"success-url",n="https://"+window.location.hostname+"/"+e[3]+e[15]),G(r,"cancel-url",o="https://"+window.location.hostname+"/"+e[3]+e[17]),G(r,"fail-url",i="https://"+window.location.hostname+"/"+e[3]+e[16]),G(r,"sports-url",a="https://"+window.location.hostname+"/"+e[3]+e[18]),G(r,"casino-url",s="https://"+window.location.hostname+"/"+e[3]+e[19]),G(r,"contact-url",l="https://"+window.location.hostname+"/"+e[3]+e[20]),G(r,"home-url",c="https://"+window.location.hostname+"/"+e[3]+e[21]),G(r,"deposit-url",u="https://"+window.location.hostname+"/"+e[3]+e[22]),G(r,"client-styling",e[25]),G(r,"client-styling-url",e[26])},m(e,t){F(e,r,t)},p(e,t){4&t[0]&&G(r,"endpoint",e[2]),8&t[0]&&G(r,"language",e[3]),8192&t[0]&&G(r,"is-short-cashier",e[13]),16384&t[0]&&G(r,"product-type",e[14]),2&t[0]&&G(r,"user-id",e[1]),1&t[0]&&G(r,"session",e[0]),32776&t[0]&&n!==(n="https://"+window.location.hostname+"/"+e[3]+e[15])&&G(r,"success-url",n),131080&t[0]&&o!==(o="https://"+window.location.hostname+"/"+e[3]+e[17])&&G(r,"cancel-url",o),65544&t[0]&&i!==(i="https://"+window.location.hostname+"/"+e[3]+e[16])&&G(r,"fail-url",i),262152&t[0]&&a!==(a="https://"+window.location.hostname+"/"+e[3]+e[18])&&G(r,"sports-url",a),524296&t[0]&&s!==(s="https://"+window.location.hostname+"/"+e[3]+e[19])&&G(r,"casino-url",s),1048584&t[0]&&l!==(l="https://"+window.location.hostname+"/"+e[3]+e[20])&&G(r,"contact-url",l),2097160&t[0]&&c!==(c="https://"+window.location.hostname+"/"+e[3]+e[21])&&G(r,"home-url",c),4194312&t[0]&&u!==(u="https://"+window.location.hostname+"/"+e[3]+e[22])&&G(r,"deposit-url",u),33554432&t[0]&&G(r,"client-styling",e[25]),67108864&t[0]&&G(r,"client-styling-url",e[26])},d(e){e&&R(r)}}}function zi(e){let r;return{c(){G(r=k("player-deposit"),"endpoint",e[2]),G(r,"session",e[0]),G(r,"playerid",e[1]),G(r,"lang",e[3]),G(r,"hasdefaultamount",e[11]),G(r,"playercurrency",e[12]),G(r,"shortcashierenabled",e[13]),G(r,"clientstyling",e[25]),G(r,"clientstylingurl",e[26])},m(e,t){F(e,r,t)},p(e,t){4&t[0]&&G(r,"endpoint",e[2]),1&t[0]&&G(r,"session",e[0]),2&t[0]&&G(r,"playerid",e[1]),8&t[0]&&G(r,"lang",e[3]),2048&t[0]&&G(r,"hasdefaultamount",e[11]),4096&t[0]&&G(r,"playercurrency",e[12]),8192&t[0]&&G(r,"shortcashierenabled",e[13]),33554432&t[0]&&G(r,"clientstyling",e[25]),67108864&t[0]&&G(r,"clientstylingurl",e[26])},d(e){e&&R(r)}}}function Wi(e){let r,n,o,i;function a(e){return e[41]?hi:e[40]?ui:ci}let s=a(e),l=s(e);return{c(){r=k("script"),n=P(),l.c(),o=P(),i=k("casino-hamburger-menu"),this.c=v,U(r,"type","module"),T(r.src,"https://unpkg.com/@everymatrix/user-deposit-withdrawal")||U(r,"src","https://unpkg.com/@everymatrix/user-deposit-withdrawal"),G(i,"menuitemsurl",e[37]),G(i,"activecategory",e[5]),G(i,"lang",e[3]),G(i,"countryflaghamburger",e[10]),G(i,"customlocaleidentifier",e[6]),G(i,"languageslist",e[4]),G(i,"clientstyling",e[25]),G(i,"clientstylingurl",e[26])},m(e,t){L(ri.head,r),F(e,n,t),l.m(e,t),F(e,o,t),F(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))),64&t[1]&&G(i,"menuitemsurl",e[37]),32&t[0]&&G(i,"activecategory",e[5]),8&t[0]&&G(i,"lang",e[3]),1024&t[0]&&G(i,"countryflaghamburger",e[10]),64&t[0]&&G(i,"customlocaleidentifier",e[6]),16&t[0]&&G(i,"languageslist",e[4]),33554432&t[0]&&G(i,"clientstyling",e[25]),67108864&t[0]&&G(i,"clientstylingurl",e[26])},i:v,o:v,d(e){R(r),e&&R(n),l.d(e),e&&R(o),e&&R(i)}}}let Vi="HeaderMenu";function Xi(r,e,n){let o,O;ve(r,Kn,e=>n(46,O=e));let k,D,i,{session:a=""}=e,{userid:P=""}=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:G="false"}=e,{displaybalanceoption:j="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:m=""}=e,{clientstylingurl:g=""}=e,{currencyseparator:oe=""}=e,{currencydecimal:ie=""}=e,{currencyprecision:ae=""}=e,{totalcalculationmode:se=""}=e;var le,ce;({withLocale:le,translations:ce}={withLocale:"en",translations:{}}),be.subscribe(e=>{null==e&&(bn.set(ce),be.set(le))}),Object.keys(eo).forEach(e=>{qn(e,eo[e])});let y,b,ue,v=[],w=[],x="",C=!0,E=!1,T=!1,he=!1,$=window.navigator.userAgent,S=!1,M=[],A=!1,pe="",H=!1,B=e=>{switch(e){case"login":window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href),"function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"HeaderController"});break;case"register":window.postMessage({type:"OpenLoginRegisterModal",transition:"Register"},window.location.href),"function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"HeaderController"});break;case"lobby":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"myaccount":window.postMessage({type:"PlayerAccountMenuActive",isMobile:Jn($)},window.location.href);break;case"deposit":o?(n(45,H=!0),window.postMessage({type:"DisableScroll"},window.location.href)):window.postMessage({type:"GoToDeposit"},window.location.href),"function"==typeof gtag&&gtag("event","GoToDeposit",{context:"HeaderController"});break;case"language":window.postMessage({type:"LanguageChanged",selectedLanguage:x},window.location.href)}},_=()=>{n(43,A=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},de=e=>{if(e.data)switch(e.data.type){case"UserSessionID":e.data.userid,e.data.session,n(41,S=!0);break;case"CloseHamburgerMenu":window.postMessage({type:"EnableScroll"},window.location.href),e.data.showhamburger&&n(43,A=!1);break;case"LogoutSuccessfull":n(41,S=!1);break;case"LanguageChanged":fe(),ge(b);break;case"OpenShortCashier":B("deposit");break;case"CloseShortCashier":I();break;case"RequestHeaderHeight":window.postMessage({type:"HeaderHeight",headerHeight:i.clientHeight},window.location.href)}},I=e=>{n(45,H=!1),window.postMessage({type:"EnableScroll"},window.location.href),null!=e&&e.stopPropagation()},fe=()=>{b=new URL(`${s}/${x.toLowerCase()}/menu`),n(37,y=new URL(`${s}/${x.toLowerCase()}/hamburger-menu`)),ue=new URL(`${s}/${x.toLowerCase()}/op-options/style`);var e=Qn($);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)},me=(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(32,C=!0),new Promise((t,r)=>{fetch(e).then(e=>e.json()).then(e=>{v=e.desktop.primary,n(35,w=e.desktop.secondary),n(32,C=!1),t(e)},e=>{n(32,C=!1),console.error(e),r(e)})})),L=e=>{window.postMessage({type:"NavigateTo",itemId:e.id,item:e,path:e.path,externalLink:e.externalLink||!1,target:(null==(e=e.attrs)?void 0:e.target)||null},window.location.href)},F=e=>{n(36,x=e),n(39,T=!1),B("language")},R=()=>{n(39,T=!T)};return xe(async()=>(window.addEventListener("message",de,!1),Jn($)&&n(40,he=!0),()=>{window.removeEventListener("message",de)})),r.$$set=e=>{"session"in e&&n(0,a=e.session),"userid"in e&&n(1,P=e.userid),"endpoint"in e&&n(2,N=e.endpoint),"cmsendpoint"in e&&n(55,s=e.cmsendpoint),"cmsenv"in e&&n(56,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(57,h=e.translationurl),"customlocaleidentifier"in e&&n(6,p=e.customlocaleidentifier),"gmversion"in e&&n(7,U=e.gmversion),"countryflagheader"in e&&n(8,G=e.countryflagheader),"displaybalanceoption"in e&&n(9,j=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(58,f=e.userroles),"showsubgroups"in e&&n(24,ne=e.showsubgroups),"clientstyling"in e&&n(25,m=e.clientstyling),"clientstylingurl"in e&&n(26,g=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),"totalcalculationmode"in e&&n(30,se=e.totalcalculationmode)},r.$$.update=()=>{if(32&r.$$.dirty[0]|2&r.$$.dirty[1]&&u&&!C&&(n(33,k=me(u,v)),n(34,D=me(u,w))),1&r.$$.dirty[0]&&a&&n(41,S=!0),8192&r.$$.dirty[0]&&(o="true"===d.toLocaleLowerCase()),8&r.$$.dirty[0]&&l&&(t=l,be.set(t)),24&r.$$.dirty[0]|150994944&r.$$.dirty[1]&&s&&l&&c&&f&&(n(42,M=c.replace(/ /g,"").split(",")),n(42,M=M.map(e=>e.toUpperCase())),n(36,x=l.toUpperCase()),fe(),e=ue,n(38,E=!1),new Promise((t,r)=>{fetch(e).then(e=>e.json()).then(e=>{0<e.logoUrl.length&&("null"!=e.logoUrl||"false"!=e.logoUrl)?(n(44,pe=e.logoUrl),n(38,E=!0)):n(38,E=!1),t(e)},e=>{n(38,E=!1),console.error(e),r(e)})}),setTimeout(()=>{ge(b)})),67108864&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)}),33554432&r.$$.dirty[0]|1&r.$$.dirty[1]&&m&&i&&((t=document.createElement("style")).innerHTML=m,i.appendChild(t)),67108864&r.$$.dirty[0]|1&r.$$.dirty[1]&&g&&i){let e=new URL(g),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,P,N,l,c,u,p,U,G,j,z,W,V,d,X,Z,Y,K,J,Q,q,ee,te,re,ne,m,g,oe,ie,ae,se,i,C,k,D,w,x,y,E,T,he,S,M,A,pe,H,O,B,_,I,()=>{window.postMessage({type:"SliderData",identity:Vi,data:v},window.location.href)},L,F,R,e=>"EN"==(e=p?p.includes(e.toLowerCase())?p.slice(-2):e:e)?"US":e.toUpperCase(),s,t,h,f,()=>_(),()=>B("lobby"),()=>B("deposit"),e=>I(e),e=>I(e),()=>B("myaccount"),function(e){ye[e?"unshift":"push"](()=>{i=e,n(31,i)})},()=>B("lobby"),()=>B("deposit"),e=>I(e),e=>I(e),()=>B("myaccount"),function(){x=we(this),n(36,x),n(42,M)},()=>B("language"),()=>R(),e=>F(e),e=>L(e),function(e){ye[e?"unshift":"push"](()=>{i=e,n(31,i)})},()=>_(),()=>B("lobby"),()=>B("login"),()=>B("register"),function(e){ye[e?"unshift":"push"](()=>{i=e,n(31,i)})},()=>B("lobby"),()=>B("login"),()=>B("register"),function(){x=we(this),n(36,x),n(42,M)},()=>B("language"),()=>R(),e=>F(e),e=>L(e),function(e){ye[e?"unshift":"push"](()=>{i=e,n(31,i)})}]}class Zi extends $e{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),Te(this,{target:this.shadowRoot,props:K(this.attributes),customElement:!0},Xi,Wi,S,{session:0,userid:1,endpoint:2,cmsendpoint:55,cmsenv:56,lang:3,languageslist:4,activecategory:5,translationurl:57,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:58,showsubgroups:24,clientstyling:25,clientstylingurl:26,currencyseparator:27,currencydecimal:28,currencyprecision:29,totalcalculationmode:30},null,[-1,-1,-1,-1,-1]),e&&(e.target&&F(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","totalcalculationmode"]}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[55]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),p()}get cmsenv(){return this.$$.ctx[56]}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[57]}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[58]}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()}get totalcalculationmode(){return this.$$.ctx[30]}set totalcalculationmode(e){this.$$set({totalcalculationmode:e}),p()}}return customElements.get("casino-header-controller")||customElements.define("casino-header-controller",Zi),Zi});
4
- //# sourceMappingURL=casino-header-controller.js.map