@everymatrix/casino-header-controller 0.0.248 → 0.0.251

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function y(){}const f=e=>e;function d(e){return e()}function p(){return Object.create(null)}function te(e){e.forEach(d)}function g(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let n;function k(e,t){return n=n||document.createElement("a"),n.href=t,e===n.href}function h(e,...t){if(null==e)return y;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function D(e,t,n){e.$$.on_destroy.push(h(t,n))}function s(e){return e&&g(e.destroy)?e.destroy:y}var e="undefined"!=typeof window;let b=e?()=>window.performance.now():()=>Date.now(),v=e?e=>requestAnimationFrame(e):y;const w=new Set;function E(t){w.forEach(e=>{e.c(t)||(w.delete(e),e.f())}),0!==w.size&&v(E)}function ne(e,t){e.appendChild(t)}function A(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function re(e,t,n){e.insertBefore(t,n||null)}function oe(e){e.parentNode.removeChild(e)}function N(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function ae(e){return document.createElement(e)}function R(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ie(e){return document.createTextNode(e)}function se(){return ie(" ")}function M(){return ie("")}function le(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function ce(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function L(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:ce(e,t,n)}function ue(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function U(t,n){for(let e=0;e<t.options.length;e+=1){const r=t.options[e];if(r.__value===n)return r.selected=!0,0}t.selectedIndex=-1}function P(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}function m(e,t,n){e.classList[n?"add":"remove"](t)}function r(e){const t={};for(const n of e)t[n.name]=n.value;return t}const T=new Map;let C,I=0;function x(e,t,n,r,o,a,i,s=0){var l,c=16.666/r;let u="{\n";for(let e=0;e<=1;e+=c){const r=t+(n-t)*a(e);u+=100*e+`%{${i(r,1-r)}}
2
2
  `}const d=u+`100% {${i(n,1-n)}}
3
- }`,p=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_`+s,h=A(e),{stylesheet:m,rules:f}=T.get(h)||(l=h,g={stylesheet:(s=e,g=ae("style"),ne((s=A(s)).head||s,g),g.sheet),rules:{}},T.set(l,g),g);f[p]||(f[p]=!0,m.insertRule(`@keyframes ${p} `+d,m.cssRules.length));var g=e.style.animation||"";return e.style.animation=(g?g+", ":"")+p+` ${r}ms linear ${o}ms 1 both`,I+=1,p}function S(e){C=e}function j(e){!function(){if(!C)throw new Error("Function called outside component initialization");return C}().$$.on_mount.push(e)}const B=[],F=[],o=[],a=[],H=Promise.resolve();let O=!1;function G(e){o.push(e)}const i=new Set;let _,l=0;function W(){const e=C;do{for(;l<B.length;){const e=B[l];l++,S(e),function(e){{var t;null!==e.fragment&&(e.update(),te(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(G))}}(e.$$)}for(S(null),B.length=0,l=0;F.length;)F.pop()();for(let e=0;e<o.length;e+=1){const t=o[e];i.has(t)||(i.add(t),t())}}while(o.length=0,B.length);for(;a.length;)a.pop()();O=!1,i.clear(),S(e)}function Z(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}((t?"intro":"outro")+n))}const c=new Set;let z;function Q(e,t){e&&e.i&&(c.delete(e),e.i(t))}function u(e,t,n,r){e&&e.o&&(c.has(e)||(c.add(e),z.c.push(()=>{c.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const V={duration:0};function Y(s,e,t,n){let l=e(s,t),c=n?0:1,u=null,d=null,p=null;function h(){p&&function(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),o=n.length-r.length;o&&(e.style.animation=r.join(", "),I-=o,I||v(()=>{I||(T.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),T.clear())}))}(s,p)}function m(e,t){var n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:r=f,tick:o=y,css:a}=l||V,i={start:b()+t,b:e};e||(i.group=z,z.r+=1),u||d?d=i:(a&&(h(),p=x(s,c,e,n,t,r,a)),e&&o(0,1),u=m(i,n),G(()=>Z(s,e,"start")),function(t){let n;0===w.size&&v(E),new Promise(e=>{w.add(n={c:t,f:e})})}(e=>{return d&&e>d.start&&(u=m(d,n),d=null,Z(s,u.b,"start"),a&&(h(),p=x(s,c,u.b,u.duration,0,r,l.css))),u&&(e>=u.end?(o(c=u.b,1-c),Z(s,u.b,"end"),d||(u.b?h():--u.group.r||te(u.group.c)),u=null):e>=u.start&&(e=e-u.start,c=u.a+u.d*r(e/u.duration),o(c,1-c))),!(!u&&!d)}))}return{run(e){g(l)?(_||(_=Promise.resolve(),_.then(()=>{_=null})),_.then(()=>{l=l(),r(e)})):r(e)},end(){h(),u=d=null}}}function X(e,t){e.d(1),t.delete(e.key)}function J(r,e,t,n,o,a,i,s=[-1]){var l=C;S(r);const c=r.$$={fragment:null,ctx:null,props:a,update:y,not_equal:o,bound:p(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:p(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};i&&i(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(B.push(e),O||(O=!0,H.then(W)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,te(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const y=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(y),y.forEach(oe)}else c.fragment&&c.fragment.c();e.intro&&Q(r.$$.fragment),function(t,e,n,r){const{fragment:o,on_mount:a,on_destroy:i,after_update:s}=t.$$;o&&o.m(e,n),r||G(()=>{var e=a.map(d).filter(g);i?i.push(...e):te(e),t.$$.on_mount=[]}),s.forEach(G)}(r,e.target,e.anchor,e.customElement),W()}S(l)}let $;"function"==typeof HTMLElement&&($=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(d).filter(g);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){te(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(te(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=y}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var K,q,ee="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==ee&&ee,de="URLSearchParams"in ee,pe="Symbol"in ee&&"iterator"in Symbol,he="FileReader"in ee&&"Blob"in ee&&function(){try{return new Blob,!0}catch(e){return!1}}(),me="FormData"in ee,fe="ArrayBuffer"in ee;function ge(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 be(e){return e="string"!=typeof e?String(e):e}function ye(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return pe&&(e[Symbol.iterator]=function(){return e}),e}function ve(t){this.map={},t instanceof ve?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function we(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Ee(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Ae(e){var t=new FileReader,n=Ee(t);return t.readAsArrayBuffer(e),n}function Me(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Te(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:he&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:me&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:de&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():fe&&he&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Me(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):fe&&(ArrayBuffer.prototype.isPrototypeOf(e)||q(e))?this._bodyArrayBuffer=Me(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):de&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},he&&(this.blob=function(){var e=we(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?we(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Ae)}),this.text=function(){var e,t,n=we(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=Ee(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},me&&(this.formData=function(){return this.text().then(xe)}),this.json=function(){return this.text().then(JSON.parse)},this}fe&&(K=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],q=ArrayBuffer.isView||function(e){return e&&-1<K.indexOf(Object.prototype.toString.call(e))}),ve.prototype.append=function(e,t){e=ge(e),t=be(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ve.prototype.delete=function(e){delete this.map[ge(e)]},ve.prototype.get=function(e){return e=ge(e),this.has(e)?this.map[e]:null},ve.prototype.has=function(e){return this.map.hasOwnProperty(ge(e))},ve.prototype.set=function(e,t){this.map[ge(e)]=be(t)},ve.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ve.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),ye(n)},ve.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ye(t)},ve.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),ye(n)},pe&&(ve.prototype[Symbol.iterator]=ve.prototype.entries);var Ce=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ie(e,t){if(!(this instanceof Ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof Ie){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ve(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ve(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<Ce.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function xe(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function Se(e,t){if(!(this instanceof Se))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ve(t.headers),this.url=t.url||"",this._initBody(e)}Ie.prototype.clone=function(){return new Ie(this,{body:this._bodyInit})},Te.call(Ie.prototype),Te.call(Se.prototype),Se.prototype.clone=function(){return new Se(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ve(this.headers),url:this.url})},Se.error=function(){var e=new Se(null,{status:0,statusText:""});return e.type="error",e};var Re=[301,302,303,307,308];Se.redirect=function(e,t){if(-1===Re.indexOf(t))throw new RangeError("Invalid status code");return new Se(null,{status:t,headers:{location:e}})};var Be=ee.DOMException;try{new Be}catch(y){(Be=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Be.prototype.constructor=Be}function ke(r,i){return new Promise(function(o,e){var t=new Ie(r,i);if(t.signal&&t.signal.aborted)return e(new Be("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new ve,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;setTimeout(function(){o(new Se(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new Be("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&ee.location.href?ee.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(he?a.responseType="blob":fe&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!i||"object"!=typeof i.headers||i.headers instanceof ve?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(i.headers).forEach(function(e){a.setRequestHeader(e,be(i.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}ke.polyfill=!0,ee.fetch||(ee.fetch=ke,ee.Headers=ve,ee.Request=Ie,ee.Response=Se);var Le="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};self.fetch.bind(self);var Fe=function(e,t){return(Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function He(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Fe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ne(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function De(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function Ue(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function Pe(e){return"function"==typeof e}function je(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 Oe=je(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 Ge(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var _e=(Ze.prototype.unsubscribe=function(){var e,t,n,r,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var i=Ne(a),s=i.next();!s.done;s=i.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(Pe(a))try{a()}catch(e){o=e instanceof Oe?e.errors:[e]}a=this._teardowns;if(a){this._teardowns=null;try{for(var l=Ne(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{Qe(u)}catch(e){o=null!=o?o:[],e instanceof Oe?o=Ue(Ue([],De(o)),De(e.errors)):o.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(o)throw new Oe(o)}},Ze.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Qe(e);else{if(e instanceof Ze){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Ze.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Ze.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Ze.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ge(t,e)},Ze.prototype.remove=function(e){var t=this._teardowns;t&&Ge(t,e),e instanceof Ze&&e._removeParent(this)},Ze.EMPTY=((gn=new Ze).closed=!0,gn),Ze),We=_e.EMPTY;function Ze(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function ze(e){return e instanceof _e||e&&"closed"in e&&Pe(e.remove)&&Pe(e.add)&&Pe(e.unsubscribe)}function Qe(e){Pe(e)?e():e.unsubscribe()}var Ve=void 0,Ye=!1,Xe=!1,Je={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Je.delegate;return((null==n?void 0:n.setTimeout)||setTimeout).apply(void 0,Ue([],De(e)))},clearTimeout:function(e){var t=Je.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function $e(){}var Ke=null;function qe(e){if(Ye){var t=!Ke;if(t&&(Ke={errorThrown:!1,error:null}),e(),t){var n=Ke,t=n.errorThrown,n=n.error;if(Ke=null,t)throw n}}else e()}var et,tt,nt=(He(at,tt=_e),at.create=function(e,t,n){return new rt(e,t,n)},at.prototype.next=function(e){this.isStopped||this._next(e)},at.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},at.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},at.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,tt.prototype.unsubscribe.call(this),this.destination=null)},at.prototype._next=function(e){this.destination.next(e)},at.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},at.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},at),rt=(He(ot,et=nt),ot);function ot(e,t,n){var r,o,a=et.call(this)||this;return Pe(e)?o=e:e&&(o=e.next,t=e.error,n=e.complete,a&&Xe?(r=Object.create(e)).unsubscribe=function(){return a.unsubscribe()}:r=e,o=null==o?void 0:o.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),a.destination={next:o?it(o):$e,error:it(null!=t?t:st),complete:n?it(n):$e},a}function at(e){var t=tt.call(this)||this;return t.isStopped=!1,e?ze(t.destination=e)&&e.add(t):t.destination=lt,t}function it(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,Ue([],De(e)))}catch(e){t=e,Je.setTimeout(function(){throw t})}}}function st(e){throw e}var lt={closed:!0,next:$e,error:st,complete:$e},ct="function"==typeof Symbol&&Symbol.observable||"@@observable";function ut(e){return e}var dt=(pt.prototype.lift=function(e){var t=new pt;return t.source=this,t.operator=e,t},pt.prototype.subscribe=function(e,t,n){var r,o=this,a=(r=e)&&r instanceof nt||r&&Pe(r.next)&&Pe(r.error)&&Pe(r.complete)&&ze(r)?e:new rt(e,t,n);return qe(function(){var e=o.operator,t=o.source;a.add(e?e.call(a,t):t?o._subscribe(a):o._trySubscribe(a))}),a},pt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},pt.prototype.forEach=function(r,e){var o=this;return new(e=ht(e))(function(e,t){var n=o.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},pt.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},pt.prototype[ct]=function(){return this},pt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?ut:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},pt.prototype.toPromise=function(e){var r=this;return new(e=ht(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},pt.create=function(e){return new pt(e)},pt);function pt(e){e&&(this._subscribe=e)}function ht(e){return null!==(e=null!=e?e:Ve)&&void 0!==e?e:Promise}var mt,ft,gt,bt=je(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),yt=(He(Tt,gt=dt),Tt.prototype.lift=function(e){var t=new vt(this,this);return t.operator=e,t},Tt.prototype._throwIfClosed=function(){if(this.closed)throw new bt},Tt.prototype.next=function(a){var i=this;qe(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){var n=i.observers.slice();try{for(var r=Ne(n),o=r.next();!o.done;o=r.next())o.value.next(a)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Tt.prototype.error=function(t){var n=this;qe(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},Tt.prototype.complete=function(){var t=this;qe(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Tt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Tt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Tt.prototype._trySubscribe=function(e){return this._throwIfClosed(),gt.prototype._trySubscribe.call(this,e)},Tt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Tt.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?We:(r.push(e),new _e(function(){return Ge(r,e)}))},Tt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Tt.prototype.asObservable=function(){var e=new dt;return e.source=this,e},Tt.create=function(e,t){return new vt(e,t)},Tt),vt=(He(Mt,ft=yt),Mt.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},Mt.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},Mt.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},Mt.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:We},Mt),wt={now:function(){return(wt.delegate||Date).now()},delegate:void 0},Et=(He(At,mt=yt),At.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,o=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),o||r.push(a.now()+t)),this._trimBuffer(),mt.prototype.next.call(this,e)},At.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),o=0;o<r.length&&!e.closed;o+=n?1:2)e.next(r[o]);return this._checkFinalizedStatuses(e),t},At.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var a=t.now(),i=0,s=1;s<n.length&&n[s]<=a;s+=2)i=s;i&&n.splice(0,i+1)}},At);function At(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=wt);var r=mt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function Mt(e,t){var n=ft.call(this)||this;return n.destination=e,n.source=t,n}function Tt(){var e=gt.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ct=[],It={};const xt=[];function St(r,o=y){let a;const i=new Set;function s(e){if(t(r,e)&&(r=e,a)){const e=!xt.length;for(const e of i)e[1](),xt.push(e,r);if(e){for(let e=0;e<xt.length;e+=2)xt[e][0](xt[e+1]);xt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=y){const n=[e,t];return i.add(n),1===i.size&&(a=o(s)||y),e(r),()=>{i.delete(n),0===i.size&&(a(),a=null)}}}}function Rt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:St(t,t=>{let n=!1;const r=[];let o=0,a=y;const i=()=>{var e;o||(a(),e=s(l?r[0]:r,t),u?t(e):a=g(e)?e:y)},e=c.map((e,t)=>h(e,e=>{r[t]=e,o&=~(1<<t),n&&i()},()=>{o|=1<<t}));return n=!0,i(),function(){te(e),a()}}).subscribe}}function Bt(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===kt));var t}var kt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Lt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ut(Array.isArray(e)?[]:{},e,t):e}function Ft(e,t,n){return e.concat(t).map(function(e){return Lt(e,n)})}function Ht(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Nt(e,t){try{return t in e}catch(e){return!1}}function Dt(r,o,a){var i={};return a.isMergeableObject(r)&&Ht(r).forEach(function(e){i[e]=Lt(r[e],a)}),Ht(o).forEach(function(t){var e,n;(!Nt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Nt(r,t)&&a.isMergeableObject(o[t])?i[t]=function(e){if(!e.customMerge)return Ut;e=e.customMerge(t);return"function"==typeof e?e:Ut}(a)(r[t],o[t],a):i[t]=Lt(o[t],a))}),i}function Ut(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Ft,n.isMergeableObject=n.isMergeableObject||Bt,n.cloneUnlessOtherwiseSpecified=Lt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Dt(e,t,n):Lt(t,n)}Ut.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Ut(e,t,n)},{})};var Pt=Ut,jt=function(e,t){return(jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Ot(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}jt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Gt,_t,Wt,Zt=function(){return(Zt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function zt(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function Qt(e){return e.type===_t.literal}function Vt(e){return e.type===_t.number}function Yt(e){return e.type===_t.date}function Xt(e){return e.type===_t.time}function Jt(e){return e.type===_t.select}function $t(e){return e.type===_t.plural}function Kt(e){return e.type===_t.tag}function qt(e){return e&&"object"==typeof e&&e.type===Wt.number}function en(e){return e&&"object"==typeof e&&e.type===Wt.dateTime}(bn=Gt=Gt||{})[bn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",bn[bn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",bn[bn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",bn[bn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",bn[bn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",bn[bn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",bn[bn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",bn[bn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",bn[bn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",bn[bn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",bn[bn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",bn[bn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",bn[bn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",bn[bn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",bn[bn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",bn[bn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",bn[bn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",bn[bn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",bn[bn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",bn[bn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",bn[bn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",bn[bn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",bn[bn.INVALID_TAG=23]="INVALID_TAG",bn[bn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",bn[bn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",bn[bn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(yn=_t=_t||{})[yn.literal=0]="literal",yn[yn.argument=1]="argument",yn[yn.number=2]="number",yn[yn.date=3]="date",yn[yn.time=4]="time",yn[yn.select=5]="select",yn[yn.plural=6]="plural",yn[yn.pound=7]="pound",yn[yn.tag=8]="tag",(vn=Wt=Wt||{})[vn.number=0]="number",vn[vn.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,tn=/(?:[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 nn,rn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,on=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,an=/^(@+)?(\+|#+)?$/g,sn=/(\*)(0+)|(#+)(0+)|(0+)/g,ln=/^(0+)$/;function cn(e){var r={};return e.replace(an,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function un(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 dn(e){return un(e)||{}}function pn(e){for(var i={},t=0,n=e;t<n.length;t++){var r,o=n[t];switch(o.stem){case"percent":case"%":i.style="percent";continue;case"%x100":i.style="percent",i.scale=100;continue;case"currency":i.style="currency",i.currency=o.options[0];continue;case"group-off":case",_":i.useGrouping=!1;continue;case"precision-integer":case".":i.maximumFractionDigits=0;continue;case"measure-unit":case"unit":i.style="unit",i.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":i.notation="compact",i.compactDisplay="short";continue;case"compact-long":case"KK":i.notation="compact",i.compactDisplay="long";continue;case"scientific":i=Zt(Zt(Zt({},i),{notation:"scientific"}),o.options.reduce(function(e,t){return Zt(Zt({},e),dn(t))},{}));continue;case"engineering":i=Zt(Zt(Zt({},i),{notation:"engineering"}),o.options.reduce(function(e,t){return Zt(Zt({},e),dn(t))},{}));continue;case"notation-simple":i.notation="standard";continue;case"unit-width-narrow":i.currencyDisplay="narrowSymbol",i.unitDisplay="narrow";continue;case"unit-width-short":i.currencyDisplay="code",i.unitDisplay="short";continue;case"unit-width-full-name":i.currencyDisplay="name",i.unitDisplay="long";continue;case"unit-width-iso-code":i.currencyDisplay="symbol";continue;case"scale":i.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(sn,function(e,t,n,r,o,a){if(t)i.minimumIntegerDigits=n.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ln.test(o.stem))i.minimumIntegerDigits=o.stem.length;else if(on.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(on,function(e,t,n,r,o,a){return"*"===n?i.minimumFractionDigits=t.length:r&&"#"===r[0]?i.maximumFractionDigits=r.length:o&&a?(i.minimumFractionDigits=o.length,i.maximumFractionDigits=o.length+a.length):(i.minimumFractionDigits=t.length,i.maximumFractionDigits=t.length),""}),o.options.length&&(i=Zt(Zt({},i),cn(o.options[0])))}else an.test(o.stem)?i=Zt(Zt({},i),cn(o.stem)):((r=un(o.stem))&&(i=Zt(Zt({},i),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!ln.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(i=Zt(Zt({},i),r)))}return i}var hn=new RegExp("^"+e.source+"*"),mn=new RegExp(e.source+"*$");function fn(e,t){return{start:e,end:t}}var gn=!!String.prototype.startsWith,ct=!!String.fromCodePoint,yt=!!Object.fromEntries,bn=!!String.prototype.codePointAt,yn=!!String.prototype.trimStart,vn=!!String.prototype.trimEnd,wn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(nn=Rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===nn?void 0:nn[0])}catch(y){e=!1}var En,An,Mn=gn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Tn=ct?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,a=0;a<o;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Cn=yt?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],a=o[0],o=o[1];t[a]=o}return t},In=bn?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,o=e.charCodeAt(t);return o<55296||56319<o||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?o:r-56320+(o-55296<<10)+65536}},xn=yn?function(e){return e.trimStart()}:function(e){return e.replace(hn,"")},Sn=vn?function(e){return e.trimEnd()}:function(e){return e.replace(mn,"")};function Rn(e,t){return new RegExp(e,t)}An=e?(En=Rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return En.lastIndex=t,null!==(e=En.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var o=In(e,t);if(void 0===o||Fn(o)||(33<=(n=o)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(o),t+=65536<=o?2:1}return Tn.apply(void 0,r)};var Bn=(kn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},kn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o,a=this.char();if(123===a){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Gt.UNMATCHED_CLOSING_TAG,fn(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Ln(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{a=this.clonePosition();this.bump(),r.push({type:_t.pound,location:fn(a,this.clonePosition())})}}}return{val:r,err:null}},kn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:_t.literal,value:"<"+r+"/>",location:fn(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ln(this.char()))return this.error(Gt.INVALID_TAG,fn(t,this.clonePosition()));o=this.clonePosition();return r!==this.parseTagName()?this.error(Gt.UNMATCHED_CLOSING_TAG,fn(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:_t.tag,value:r,children:e,location:fn(n,this.clonePosition())},err:null}:this.error(Gt.INVALID_TAG,fn(t,this.clonePosition())))}return this.error(Gt.UNCLOSED_TAG,fn(n,this.clonePosition()))}return this.error(Gt.INVALID_TAG,fn(n,this.clonePosition()))},kn.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())},kn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{o=this.tryParseUnquoted(e,t);if(o)r+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}n=fn(n,this.clonePosition());return{val:{type:_t.literal,value:r,location:n},err:null}},kn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ln(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},kn.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Tn.apply(void 0,t)},kn.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Tn(n))},kn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Gt.EXPECT_ARGUMENT_CLOSING_BRACE,fn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Gt.EMPTY_ARGUMENT,fn(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Gt.MALFORMED_ARGUMENT,fn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Gt.EXPECT_ARGUMENT_CLOSING_BRACE,fn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:_t.argument,value:r,location:fn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Gt.EXPECT_ARGUMENT_CLOSING_BRACE,fn(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Gt.MALFORMED_ARGUMENT,fn(n,this.clonePosition()))}},kn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=An(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:fn(e,this.clonePosition())}},kn.prototype.parseArgumentOptions=function(e,t,n,r){var o,a=this.clonePosition(),i=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(i){case"":return this.error(Gt.EXPECT_ARGUMENT_TYPE,fn(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((p=this.parseSimpleArgStyleIfPossible()).err)return p;if(0===(d=Sn(p.val)).length)return this.error(Gt.EXPECT_ARGUMENT_STYLE,fn(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:fn(c,this.clonePosition())}}if((h=this.tryParseArgumentClose(r)).err)return h;var u=fn(r,this.clonePosition());if(l&&Mn(null==l?void 0:l.style,"::",0)){c=xn(l.style.slice(2));if("number"===i)return(p=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?p:{val:{type:_t.number,value:n,location:u,style:p.val},err:null};if(0===c.length)return this.error(Gt.EXPECT_DATE_TIME_SKELETON,u);var d={type:Wt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(tn,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):{}};return{val:{type:"date"===i?_t.date:_t.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===i?_t.number:"date"===i?_t.date:_t.time,value:n,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Gt.EXPECT_SELECT_ARGUMENT_OPTIONS,fn(l,Zt({},l)));this.bumpSpace();var p,u=this.parseIdentifierIfPossible(),l=0;if("select"!==i&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(Gt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,fn(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(Gt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Gt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=p.val}u=this.tryParsePluralOrSelectOptions(e,i,t,u);if(u.err)return u;if((h=this.tryParseArgumentClose(r)).err)return h;var h=fn(r,this.clonePosition());return"select"===i?{val:{type:_t.select,value:n,options:Cn(u.val),location:h},err:null}:{val:{type:_t.plural,value:n,options:Cn(u.val),offset:l,pluralType:"plural"===i?"cardinal":"ordinal",location:h},err:null};default:return this.error(Gt.INVALID_ARGUMENT_TYPE,fn(a,s))}},kn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Gt.EXPECT_ARGUMENT_CLOSING_BRACE,fn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},kn.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Gt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,fn(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},kn.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(rn).filter(function(e){return 0<e.length});n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],o=o.slice(1),i=0,s=o;i<s.length;i++)if(0===s[i].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:o})}return t}(e)}catch(e){return this.error(Gt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Wt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?pn(n):{}},err:null}},kn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o=!1,a=[],i=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Gt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Gt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=fn(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(i.has(s))return this.error("select"===t?Gt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Gt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Gt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Gt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,fn(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;c=this.tryParseArgumentClose(d);if(c.err)return c;a.push([s,{value:u.val,location:fn(d,this.clonePosition())}]),i.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?Gt.EXPECT_SELECT_ARGUMENT_SELECTOR:Gt.EXPECT_PLURAL_ARGUMENT_SELECTOR,fn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Gt.MISSING_OTHER_CLAUSE,fn(this.clonePosition(),this.clonePosition())):{val:a,err:null}},kn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var i=this.char();if(!(48<=i&&i<=57))break;o=!0,a=10*a+(i-48),this.bump()}r=fn(r,this.clonePosition());return o?wn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},kn.prototype.offset=function(){return this.position.offset},kn.prototype.isEOF=function(){return this.offset()===this.message.length},kn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},kn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=In(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},kn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},kn.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))},kn.prototype.bumpIf=function(e){if(Mn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},kn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},kn.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},kn.prototype.bumpSpace=function(){for(;!this.isEOF()&&Fn(this.char());)this.bump()},kn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},kn);function kn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Ln(e){return 97<=e&&e<=122||65<=e&&e<=90}function Fn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Hn(e,t){t=Zt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Bn(e,t).parse();if(n.err){e=SyntaxError(Gt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Jt(e)||$t(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Vt(e)&&qt(e.style)||(Yt(e)||Xt(e))&&en(e.style)?delete e.style.location:Kt(e)&&n(e.children)})}(n.val),n.val}function Nn(e,t){var n=t&&t.cache?t.cache:_n,r=t&&t.serializer?t.serializer:jn;return(t&&t.strategy?t.strategy:function(e,t){return Pn(e,this,1===e.length?Dn:Un,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Dn(e,t,n,r){var o=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(o);return void 0===n&&(n=e.call(this,r),t.set(o,n)),n}function Un(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),n=t.get(o);return void 0===n&&(n=e.apply(this,r),t.set(o,n)),n}function Pn(e,t,n,r,o){return n.bind(t,e,r,o)}var jn=function(){return JSON.stringify(arguments)};function On(){this.cache=Object.create(null)}On.prototype.has=function(e){return e in this.cache},On.prototype.get=function(e){return this.cache[e]},On.prototype.set=function(e,t){this.cache[e]=t};var Gn,_n={create:function(){return new On}},Wn={variadic:function(e,t){return Pn(e,this,Un,t.cache.create(),t.serializer)},monadic:function(e,t){return Pn(e,this,Dn,t.cache.create(),t.serializer)}};(e=Gn=Gn||{}).MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";var Zn,zn,Qn,Vn,Yn,Xn=(Ot(nr,Yn=Error),nr.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},nr),Jn=(Ot(tr,Vn=Xn),tr),$n=(Ot(er,Qn=Xn),er),Kn=(Ot(qn,zn=Xn),qn);function qn(e,t){return zn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Gn.MISSING_VALUE,t)||this}function er(e,t,n){return Qn.call(this,'Value for "'+e+'" must be of type '+t,Gn.INVALID_VALUE,n)||this}function tr(e,t,n,r){return Vn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',Gn.INVALID_VALUE,r)||this}function nr(e,t,n){e=Yn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function rr(e,t,n,r,o,a,i){if(1===e.length&&Qt(e[0]))return[{type:Zn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Qt(u))s.push({type:Zn.literal,value:u.value});else if(u.type===_t.pound)"number"==typeof a&&s.push({type:Zn.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(o&&d in o))throw new Kn(d,i);var p=o[d];if(u.type===_t.argument)p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),s.push({type:"string"==typeof p?Zn.literal:Zn.object,value:p});else if(Yt(u)){var h="string"==typeof u.style?r.date[u.style]:en(u.style)?u.style.parsedOptions:void 0;s.push({type:Zn.literal,value:n.getDateTimeFormat(t,h).format(p)})}else if(Xt(u))h="string"==typeof u.style?r.time[u.style]:en(u.style)?u.style.parsedOptions:void 0,s.push({type:Zn.literal,value:n.getDateTimeFormat(t,h).format(p)});else if(Vt(u))(h="string"==typeof u.style?r.number[u.style]:qt(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(p*=h.scale||1),s.push({type:Zn.literal,value:n.getNumberFormat(t,h).format(p)});else{if(Kt(u)){var m=u.children,f=u.value,d=o[f];if("function"!=typeof d)throw new $n(f,"function",i);m=d(rr(m,t,n,r,o,a).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?Zn.literal:Zn.object,value:e}}))}if(Jt(u)){if(!(g=u.options[p]||u.options.other))throw new Jn(u.value,p,Object.keys(u.options),i);s.push.apply(s,rr(g.value,t,n,r,o))}else if($t(u)){if(!(g=u.options["="+p])){if(!Intl.PluralRules)throw new Xn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Gn.MISSING_INTL_API,i);var m=n.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new Jn(u.value,p,Object.keys(u.options),i);s.push.apply(s,rr(g.value,t,n,r,o,p-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Zn.literal&&t.type===Zn.literal?n.value+=t.value:e.push(t),e},[])}function or(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=Zn=Zn||{})[e.literal=0]="literal",e[e.object=1]="object";var ar=(Object.defineProperty(ir,"defaultLocale",{get:function(){return ir.memoizedDefaultLocale=!ir.memoizedDefaultLocale?(new Intl.NumberFormat).resolvedOptions().locale:ir.memoizedDefaultLocale},enumerable:!1,configurable:!0}),ir.memoizedDefaultLocale=null,ir.__parse=Hn,ir.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"}}},ir);function ir(e,t,n,r){var o,a,i=this;if(void 0===t&&(t=ir.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=i.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===Zn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return rr(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},"string"==typeof e){if(this.message=e,!ir.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ir.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}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=ir.formats,(a=n)?Object.keys(o).reduce(function(e,t){var n,r;return e[t]=(n=o[t],(r=a[t])?Zt(Zt(Zt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=Zt(Zt({},n[t]),r[t]||{}),e},{})):n),e},Zt({},o)):o),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:Nn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,zt([void 0],t)))},{cache:or((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:Wn.variadic}),getDateTimeFormat:Nn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,zt([void 0],t)))},{cache:or(r.dateTime),strategy:Wn.variadic}),getPluralRules:Nn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,zt([void 0],t)))},{cache:or(r.pluralRules),strategy:Wn.variadic})}}const sr={},lr=(e,t,n)=>n&&(t in sr||(sr[t]={}),e in sr[t]||(sr[t][e]=n),n),cr=(t,n)=>{if(null!=n){if(n in sr&&t in sr[n])return sr[n][t];var r,o=Cr(n);for(let e=0;e<o.length;e++){var a=(r=o[e],a=t,pr(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return ur[e]||null}(r),a):null);if(a)return lr(t,n,a)}}};let ur;const dr=St({});function pr(e){return e in ur}function hr(t,...n){delete sr[t],dr.update(e=>(e[t]=Pt.all([e[t]||{},...n]),e))}Rt([dr],([e])=>Object.keys(e)),dr.subscribe(e=>ur=e);const mr={};function fr(e){return mr[e]}function gr(e){return Cr(e).some(e=>{return null===(e=fr(e))||void 0===e?void 0:e.size})}const br={};function yr(e){if(!gr(e))return e in br?br[e]:void 0;const t=Cr(e).map(e=>{var t=fr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return br[e]=Promise.all(t.map(([e,t])=>function(t,e){return Promise.all(e.map(e=>(function(e,t){mr[e].delete(t),0===mr[e].size&&delete mr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>hr(t,...e))}(e,t))).then(()=>gr(e)?yr(e):void delete br[e]),br[e]}function vr(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}const wr={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const Er=St(!1);let Ar;const Mr=St(null);function Tr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Cr(e,t=wr.fallbackLocale){e=Tr(e);return t?[...new Set([...e,...Tr(t)])]:e}Mr.subscribe(e=>{Ar=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Ir=Mr.set;Mr.set=t=>{if(function(e){if(null!=e){var t=Cr(e);for(let e=0;e<t.length;e++){var n=t[e];if(pr(n))return n}}}(t)&&gr(t)){var n=wr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ar&&n?e=window.setTimeout(()=>Er.set(!0),n):Er.set(!0),yr(t).then(()=>{Ir(t)}).finally(()=>{clearTimeout(e),Er.set(!1)})}return Ir(t)},Mr.update=e=>Ir(e(Ar));const xr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Sr=(e,t)=>{var n=wr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Rr=xr(e=>{var{locale:t,format:n}=e,e=vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Sr("number",n)),new Intl.NumberFormat(t,e)}),Br=xr(e=>{var{locale:t,format:n}=e,e=vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Sr("date",n):0===Object.keys(e).length&&(e=Sr("date","short")),new Intl.DateTimeFormat(t,e)}),kr=xr(e=>{var{locale:t,format:n}=e,e=vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Sr("time",n):0===Object.keys(e).length&&(e=Sr("time","short")),new Intl.DateTimeFormat(t,e)}),Lr=xr((e,t=Ar)=>new ar(e,t,wr.formats,{ignoreTag:wr.ignoreTag})),Fr=Rt([Mr,dr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=Ar,default:o}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let a=cr(e,r);if(a){if("string"!=typeof a)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof a}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),a}else console.warn(`[svelte-i18n] The message "${e}" was not found in "${Cr(r).join('", "')}".`+(gr(Ar)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":"")),a=o||e;if(!n)return a;let i=a;try{i=Lr(a,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return i});Rt([Mr],()=>(e,t)=>((e={})=>{var{locale:t=Ar}=e,e=vr(e,["locale"]);return kr(Object.assign({locale:t},e))})(t).format(e)),Rt([Mr],()=>(e,t)=>((e={})=>{var{locale:t=Ar}=e,e=vr(e,["locale"]);return Br(Object.assign({locale:t},e))})(t).format(e)),Rt([Mr],()=>(e,t)=>((e={})=>{var{locale:t=Ar}=e,e=vr(e,["locale"]);return Rr(Object.assign({locale:t},e))})(t).format(e)),Rt([Mr,dr],()=>(e,t=Ar)=>cr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ct.indexOf(e)&&(t=new Et(t),It[e]=t,Ct.push(e)),It[e]}};const Hr=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)),Nr={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"},fallbackSecondaryMenu:{promotions:"Promotions"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},fallbackSecondaryMenu:{promotions:"Promosyonlar"}},ro:{headerItem:{login:"Autentificare",register:"Inregistreaza-te",deposit:"Depozit"},fallbackSecondaryMenu:{promotions:"Promotii"}}},Dr={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"},fallbackMainMenu:{sports:"Sports",casino:"Casino",liveCasino:"Live Casino",virtualSports:"Virtual Sports",tournaments:"Tournaments"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},fallbackMainMenu:{sports:"Spor Dalları",casino:"Kumarhane",liveCasino:"Canlı kumarhane",virtualSports:"Sanal Sporlar",tournaments:"Turnuvalar"}},ro:{headerItem:{login:"Autentificare",register:"Inregistreaza-te",deposit:"Depozit"},fallbackMainMenu:{sports:"Sport",casino:"Cazino",liveCasino:"Cazinou live",virtualSports:"Sport virtual",tournaments:"Turnee"}}};function Ur(e,t,n){const r=e.slice();return r[33]=t[n],r[35]=n,r}function Pr(t){let r,o=[],n=new Map,a=t[0];const i=e=>e[33].id;for(let e=0;e<a.length;e+=1){var s=Ur(t,a,e),l=i(s);n.set(l,o[e]=Gr(l,s))}return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=M()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);re(t,r,n)},p(e,t){295&t[0]&&(a=e[0],o=function(t,n,r,o,a,i,s,l,e,c,u,d){let p=t.length,h=i.length,m=p;const f={};for(;m--;)f[t[m].key]=m;const g=[],b=new Map,y=new Map;for(m=h;m--;){const t=d(a,i,m),l=r(t);let e=s.get(l);e?o&&e.p(t,n):(e=c(l,t),e.c()),b.set(l,g[m]=e),l in f&&y.set(l,Math.abs(m-f[l]))}const v=new Set,w=new Set;function E(e){Q(e,1),e.m(l,u),s.set(e.key,e),u=e.first,h--}for(;p&&h;){const n=g[h-1],r=t[p-1],o=n.key,a=r.key;n===r?(u=n.first,p--,h--):b.has(a)?!s.has(o)||v.has(o)?E(n):w.has(a)?p--:y.get(o)>y.get(a)?(w.add(o),E(n)):(v.add(a),p--):(e(r,s),p--)}for(;p--;){const n=t[p];b.has(n.key)||e(n,s)}for(;h;)E(g[h-1]);return g}(o,t,i,1,e,a,n,r.parentNode,X,Gr,r,Ur))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&oe(r)}}}function jr(e){let n,r,o,a=e[33].name+"",i="FAVORITES"===e[33].id?"("+e[1]+")":"";return{c(){n=ie(a),r=se(),o=ie(i)},m(e,t){re(e,n,t),re(e,r,t),re(e,o,t)},p(e,t){1&t[0]&&a!==(a=e[33].name+"")&&ue(n,a),3&t[0]&&i!==(i="FAVORITES"===e[33].id?"("+e[1]+")":"")&&ue(o,i)},d(e){e&&oe(n),e&&oe(r),e&&oe(o)}}}function Or(e){let n,r,o=e[33].label+"";return{c(){n=ae("a"),r=ie(o)},m(e,t){re(e,n,t),ne(n,r)},p(e,t){1&t[0]&&o!==(o=e[33].label+"")&&ue(r,o)},d(e){e&&oe(n)}}}function Gr(e,n){let r,o,a,i;function s(e){return"headerMain"===e[2]?Or:jr}let l=s(n),c=l(n);function u(...e){return n[21](n[33],n[35],...e)}return{key:e,first:null,c(){r=ae("li"),c.c(),o=se(),ce(r,"class","CarouselItem"),ce(r,"part","CarouselItem"),m(r,"active",n[5]==n[35]),this.first=r},m(e,t){re(e,r,t),c.m(r,null),ne(r,o),a||(i=le(r,"click",u),a=!0)},p(e,t){l===(l=s(n=e))&&c?c.p(n,t):(c.d(1),c=l(n),c&&(c.c(),c.m(r,o))),33&t[0]&&m(r,"active",n[5]==n[35])},d(e){e&&oe(r),c.d(),a=!1,i()}}}function _r(n){let r,o,a,i,s,l,c,u,d,p,h,m,f,g,b=0<n[0].length&&Pr(n);return{c(){r=ae("div"),o=ae("div"),a=ae("div"),a.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',i=se(),s=ae("ul"),b&&b.c(),l=se(),c=ae("div"),c.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=y,ce(a,"class","CarouselLeftArrow"),ce(a,"part","CarouselLeftArrow"),ce(s,"class","CarouselItems"),ce(s,"part","CarouselItems"),ce(c,"class","CarouselRightArrow"),ce(c,"part","CarouselRightArrow"),ce(o,"class",u="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),ce(o,"part",d="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),ce(o,"style",p="headerMain"===n[2]?"max-width: auto":`max-width: ${n[3]}px`),ce(r,"class",h="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":"")),ce(r,"part",m="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":""))},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(o,i),ne(o,s),b&&b.m(s,null),n[22](s),ne(o,l),ne(o,c),n[24](r),f||(g=[le(a,"click",n[20]),le(c,"click",n[23])],f=!0)},p(e,t){0<e[0].length?b?b.p(e,t):(b=Pr(e),b.c(),b.m(s,null)):b&&(b.d(1),b=null),4&t[0]&&u!==(u="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&ce(o,"class",u),4&t[0]&&d!==(d="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&ce(o,"part",d),12&t[0]&&p!==(p="headerMain"===e[2]?"max-width: auto":`max-width: ${e[3]}px`)&&ce(o,"style",p),4&t[0]&&h!==(h="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&ce(r,"class",h),4&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&ce(r,"part",m)},i:y,o:y,d(e){e&&oe(r),b&&b.d(),n[22](null),n[24](null),f=!1,te(g)}}}function Wr(t,e,n){let r;D(t,Fr,e=>n(25,r=e));let{sliderdata:o=[]}=e,{onclickeventname:a="defaultEvent"}=e,{actionevent:i="defaultEvent"}=e,{favoritesnumber:s="0"}=e,{location:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{identity:d=""}=e,{containermaxwidth:p=""}=e,{isprimarymenu:h=!1}=e,{issecondarymenu:m=!1}=e,{lang:f=""}=e,{activeindex:g=""}=e;var b,y;({withLocale:b,translations:y}={withLocale:"en",translations:{}}),Mr.subscribe(e=>{null==e&&(dr.set(y),Mr.set(b))}),Object.keys(Dr).forEach(e=>{hr(e,Dr[e])});let v,w,E,A="PC"!=((e=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),M=[{id:0,label:r("fallbackMainMenu.sports"),path:"/sports"},{id:1,label:r("fallbackMainMenu.casino"),path:"/casino"},{id:2,label:r("fallbackMainMenu.liveCasino"),path:"/live-casino"},{id:3,label:r("fallbackMainMenu.virtualSports"),path:"/virtual-sports"},{id:4,label:r("fallbackMainMenu.tournaments"),path:"/tournaments"}],T=(e,t)=>{n(5,w=t),window.postMessage({type:i,itemId:e.id,index:t,item:e},window.location.href)},C=()=>{v.scrollBy({left:-250,behavior:"smooth"})},I=()=>{v.scrollBy({left:250,behavior:"smooth"})};const x=e=>{"SliderData"==e.data.type&&e.data.identity==d&&n(0,o=e.data.data)};return j(()=>(h&&!o.length&&n(0,o=M),window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)})),t.$$set=e=>{"sliderdata"in e&&n(0,o=e.sliderdata),"onclickeventname"in e&&n(11,a=e.onclickeventname),"actionevent"in e&&n(12,i=e.actionevent),"favoritesnumber"in e&&n(1,s=e.favoritesnumber),"location"in e&&n(2,l=e.location),"clientstyling"in e&&n(13,c=e.clientstyling),"clientstylingurl"in e&&n(14,u=e.clientstylingurl),"identity"in e&&n(15,d=e.identity),"containermaxwidth"in e&&n(3,p=e.containermaxwidth),"isprimarymenu"in e&&n(16,h=e.isprimarymenu),"issecondarymenu"in e&&n(17,m=e.issecondarymenu),"lang"in e&&n(18,f=e.lang),"activeindex"in e&&n(19,g=e.activeindex)},t.$$.update=()=>{var e;524288&t.$$.dirty[0]&&(g||0==g)&&n(5,w=parseInt(g,10)),8192&t.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{E.appendChild(e)})})(),16384&t.$$.dirty[0]&&u&&(()=>{let t=document.createElement("style"),e=new URL(u);u&&fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{E.appendChild(t)},1)})})(),262144&t.$$.dirty[0]&&f&&(e=f,Mr.set(e))},[o,s,l,p,v,w,E,A,T,C,I,a,i,c,u,d,h,m,f,g,()=>C(),(e,t,n)=>T(e,t),function(e){F[e?"unshift":"push"](()=>{v=e,n(4,v)})},()=>I(),function(e){F[e?"unshift":"push"](()=>{E=e,n(6,E)})}]}function Zr(e,{delay:t=0,duration:n=400,easing:r=f}={}){const o=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*o}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:12.8px 19.2px;font-size:16px;text-align:center;line-height:25.6px;transition:all 150ms ease-in-out;white-space:nowrap}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:38.4px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-top:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",J(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Wr,_r,t,{sliderdata:0,onclickeventname:11,actionevent:12,favoritesnumber:1,location:2,clientstyling:13,clientstylingurl:14,identity:15,containermaxwidth:3,isprimarymenu:16,issecondarymenu:17,lang:18,activeindex:19},null,[-1,-1]),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),W()))}static get observedAttributes(){return["sliderdata","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex"]}get sliderdata(){return this.$$.ctx[0]}set sliderdata(e){this.$$set({sliderdata:e}),W()}get onclickeventname(){return this.$$.ctx[11]}set onclickeventname(e){this.$$set({onclickeventname:e}),W()}get actionevent(){return this.$$.ctx[12]}set actionevent(e){this.$$set({actionevent:e}),W()}get favoritesnumber(){return this.$$.ctx[1]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),W()}get location(){return this.$$.ctx[2]}set location(e){this.$$set({location:e}),W()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),W()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),W()}get identity(){return this.$$.ctx[15]}set identity(e){this.$$set({identity:e}),W()}get containermaxwidth(){return this.$$.ctx[3]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),W()}get isprimarymenu(){return this.$$.ctx[16]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),W()}get issecondarymenu(){return this.$$.ctx[17]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),W()}get lang(){return this.$$.ctx[18]}set lang(e){this.$$set({lang:e}),W()}get activeindex(){return this.$$.ctx[19]}set activeindex(e){this.$$set({activeindex:e}),W()}});const zr={en:{languageSelector:{language:"Select Language"}},tr:{languageSelector:{language:"Dil Seçin"}},ro:{languageSelector:{language:"Selecteaza limba"}}};function Qr(e,t,n){const r=e.slice();return r[0]=t[n],r}function Vr(e,t,n){const r=e.slice();return r[33]=t[n],r}function Yr(e,t,n){const r=e.slice();return r[36]=t[n],r}function Xr(n){let r,o,a,i,s,l,c,u,d,p,h,m,f,g,b,y,v,w,E,A,M,T,t,C,I,x,S=n[10]("languageSelector.language")+"",R=n[2],B=[];for(let e=0;e<R.length;e+=1)B[e]=Jr(Yr(n,R,e));let k=n[4],L=[];for(let e=0;e<k.length;e+=1)L[e]=$r(Vr(n,k,e));let F=n[8],H=[];for(let e=0;e<F.length;e+=1)H[e]=Kr(Qr(n,F,e));return{c(){r=ae("div"),o=ae("span"),a=ae("slot"),a.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>',l=se(),c=ae("div"),u=ae("ul");for(let e=0;e<B.length;e+=1)B[e].c();h=se(),m=ae("ul");for(let e=0;e<L.length;e+=1)L[e].c();b=se(),y=ae("div"),v=ae("span"),w=ie(S),E=se(),A=ae("select");for(let e=0;e<H.length;e+=1)H[e].c();ce(a,"name","close"),ce(o,"class",i=n[5]?"ModalCloseBtn":""),ce(o,"part",s=n[5]?"ModalCloseBtn":""),ce(o,"role","button"),ce(u,"class",d="HamburgerPrimaryMenu "+(n[6]?"HamburgerPrimaryMenuFixed":"")),ce(u,"part",p="HamburgerPrimaryMenu "+(n[6]?"HamburgerPrimaryMenuFixed":"")),ce(m,"class",f="HamburgerSecondaryMenu "+(n[6]?"HamburgerSecondaryMenuFixed":"")),ce(m,"part",g="HamburgerSecondaryMenu "+(n[6]?"HamburgerSecondaryMenuFixed":"")),ce(A,"class","Item ItemLanguage"),ce(A,"part","Item ItemLanguage"),void 0===n[9]&&G(()=>n[19].call(A)),ce(y,"class","LanguageSelectorTitle"),ce(y,"part","LanguageSelectorTitle"),ce(c,"class",M="HamburgerModalContainer "+(n[5]?"ActiveHamburgerMenu":"")),ce(c,"part",T="HamburgerModalContainer "+(n[5]?"ActiveHamburgerMenu":"")),ce(r,"class","HamburgerModalWindow"),ce(r,"part","HamburgerModalWindow")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(r,l),ne(r,c),ne(c,u);for(let e=0;e<B.length;e+=1)B[e].m(u,null);ne(c,h),ne(c,m);for(let e=0;e<L.length;e+=1)L[e].m(m,null);ne(c,b),ne(c,y),ne(y,v),ne(v,w),ne(y,E),ne(y,A);for(let e=0;e<H.length;e+=1)H[e].m(A,null);U(A,n[9]),n[21](r),C=!0,I||(x=[le(o,"click",n[11]),le(A,"change",n[19]),le(A,"change",n[20])],I=!0)},p(e,t){if(n=e,(!C||32&t[0]&&i!==(i=n[5]?"ModalCloseBtn":""))&&ce(o,"class",i),(!C||32&t[0]&&s!==(s=n[5]?"ModalCloseBtn":""))&&ce(o,"part",s),4108&t[0]){let e;for(R=n[2],e=0;e<R.length;e+=1){const o=Yr(n,R,e);B[e]?B[e].p(o,t):(B[e]=Jr(o),B[e].c(),B[e].m(u,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=R.length}if((!C||64&t[0]&&d!==(d="HamburgerPrimaryMenu "+(n[6]?"HamburgerPrimaryMenuFixed":"")))&&ce(u,"class",d),(!C||64&t[0]&&p!==(p="HamburgerPrimaryMenu "+(n[6]?"HamburgerPrimaryMenuFixed":"")))&&ce(u,"part",p),16&t[0]){let e;for(k=n[4],e=0;e<k.length;e+=1){const o=Vr(n,k,e);L[e]?L[e].p(o,t):(L[e]=$r(o),L[e].c(),L[e].m(m,null))}for(;e<L.length;e+=1)L[e].d(1);L.length=k.length}if((!C||64&t[0]&&f!==(f="HamburgerSecondaryMenu "+(n[6]?"HamburgerSecondaryMenuFixed":"")))&&ce(m,"class",f),(!C||64&t[0]&&g!==(g="HamburgerSecondaryMenu "+(n[6]?"HamburgerSecondaryMenuFixed":"")))&&ce(m,"part",g),(!C||1024&t[0])&&S!==(S=n[10]("languageSelector.language")+"")&&ue(w,S),256&t[0]){let e;for(F=n[8],e=0;e<F.length;e+=1){const o=Qr(n,F,e);H[e]?H[e].p(o,t):(H[e]=Kr(o),H[e].c(),H[e].m(A,null))}for(;e<H.length;e+=1)H[e].d(1);H.length=F.length}768&t[0]&&U(A,n[9]),(!C||32&t[0]&&M!==(M="HamburgerModalContainer "+(n[5]?"ActiveHamburgerMenu":"")))&&ce(c,"class",M),(!C||32&t[0]&&T!==(T="HamburgerModalContainer "+(n[5]?"ActiveHamburgerMenu":"")))&&ce(c,"part",T)},i(e){C||(G(()=>{t=t||Y(r,Zr,{transitionDuration:eo},!0),t.run(1)}),C=!0)},o(e){t=t||Y(r,Zr,{transitionDuration:eo},!1),t.run(0),C=!1},d(e){e&&oe(r),N(B,e),N(L,e),N(H,e),n[21](null),e&&t&&t.end(),I=!1,te(x)}}}function Jr(n){let r,o,a,i,s,l,c,u,d,p,h,m=n[36].label+"";function f(){return n[18](n[36])}return{c(){r=ae("li"),o=ae("div"),a=ae("img"),s=se(),l=ie(m),c=se(),k(a.src,i=n[36].img)||ce(a,"src",i),ce(a,"alt","menu icon"),ce(o,"class","HamburgerItemContainer"),ce(o,"part","HamburgerItemContainer"),ce(r,"class",u=n[3]===n[36].id?"ActiveItem":""),ce(r,"part",d=n[3]===n[36].id?"ActiveItem":"")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(o,s),ne(o,l),ne(r,c),p||(h=le(r,"click",f),p=!0)},p(e,t){n=e,4&t[0]&&!k(a.src,i=n[36].img)&&ce(a,"src",i),4&t[0]&&m!==(m=n[36].label+"")&&ue(l,m),12&t[0]&&u!==(u=n[3]===n[36].id?"ActiveItem":"")&&ce(r,"class",u),12&t[0]&&d!==(d=n[3]===n[36].id?"ActiveItem":"")&&ce(r,"part",d)},d(e){e&&oe(r),p=!1,h()}}}function $r(e){let n,r,o,a,i,s,l,c,u=e[33].label+"";return{c(){n=ae("li"),r=ae("a"),o=ae("img"),i=se(),s=ie(u),c=se(),k(o.src,a=e[33].img)||ce(o,"src",a),ce(o,"alt","menu icon"),ce(r,"href",l=e[33].path)},m(e,t){re(e,n,t),ne(n,r),ne(r,o),ne(r,i),ne(r,s),ne(n,c)},p(e,t){16&t[0]&&!k(o.src,a=e[33].img)&&ce(o,"src",a),16&t[0]&&u!==(u=e[33].label+"")&&ue(s,u),16&t[0]&&l!==(l=e[33].path)&&ce(r,"href",l)},d(e){e&&oe(n)}}}function Kr(e){let n,r,o,a=e[0]+"";return{c(){n=ae("option"),r=ie(a),n.__value=o=e[0],n.value=n.__value,n.selected=!0},m(e,t){re(e,n,t),ne(n,r)},p(e,t){256&t[0]&&a!==(a=e[0]+"")&&ue(r,a),256&t[0]&&o!==(o=e[0])&&(n.__value=o,n.value=n.__value)},d(e){e&&oe(n)}}}function qr(e){let n,r,o=!0===e[7]&&Xr(e);return{c(){o&&o.c(),n=M(),this.c=y},m(e,t){o&&o.m(e,t),re(e,n,t),r=!0},p(e,t){!0===e[7]?o?(o.p(e,t),128&t[0]&&Q(o,1)):(o=Xr(e),o.c(),Q(o,1),o.m(n.parentNode,n)):o&&(z={r:0,c:[],p:z},u(o,1,1,()=>{o=null}),z.r||te(z.c),z=z.p)},i(e){r||(Q(o),r=!0)},o(e){u(o),r=!1},d(e){o&&o.d(e),e&&oe(n)}}}let eo=350;function to(t,e,r){let n;D(t,Fr,e=>r(10,n=e));let o,a,{menuitemsurl:i=""}=e,{lang:s="en"}=e,{activecategory:l=""}=e,{languageslist:c=""}=e,u=window.navigator.userAgent,d=[],p="",h=[],m=!1,f=!1,g=!1,b=!0,y=[],v=!1,w="";Object.keys(zr).forEach(e=>{hr(e,zr[e])});const E=e=>{var n;"OpenHamburgerMenuModal"===e.data.type&&(window.postMessage({type:"DisableScroll"},window.location.href),r(7,g=!0),setTimeout(()=>{r(5,m=!0)},500),setTimeout(()=>{r(6,f=!0)},1500),n=i,new Promise((e,t)=>{a&&!v?e(a):M(n)}))},A=(e,t)=>{r(3,p=e),r(4,h=t||[])},M=e=>{fetch(e).then(e=>e.json()).then(e=>{r(2,d=e),d.length&&A(d[0].id,d[0].children),r(17,b=!1),a=e,v=!1},e=>{console.error(e)})},T=()=>{v=!0,window.postMessage({type:"LanguageChanged",selectedLanguage:w},window.location.href)};return j(()=>(window.addEventListener("message",E,!1),Hr(u),()=>{window.removeEventListener("message",E)})),t.$$set=e=>{"menuitemsurl"in e&&r(14,i=e.menuitemsurl),"lang"in e&&r(0,s=e.lang),"activecategory"in e&&r(15,l=e.activecategory),"languageslist"in e&&r(16,c=e.languageslist)},t.$$.update=()=>{var e;65537&t.$$.dirty[0]&&s&&c&&(e=s,Mr.set(e),v&&M(i),r(8,y=c.replace(/ /g,"").split(",")),r(8,y=y.map(e=>e.toUpperCase())),r(9,w=s.toUpperCase())),163840&t.$$.dirty[0]&&l&&!b&&(0<(e=d.filter(e=>e.path==l)).length&&A(e[0].id,e[0].children))},[s,void 0,d,p,h,m,f,g,y,w,n,()=>{r(7,g=!1),r(5,m=!1),r(6,f=!1),window.postMessage({type:"CloseHamburgerMenu",showhamburger:!0},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},A,T,i,l,c,b,e=>A(e.id,e.children),function(){w=P(this),r(9,w),r(8,y)},()=>T(),function(e){F[e?"unshift":"push"](()=>{o=e,r(1,o)})}]}customElements.get("casino-hamburger-menu")||customElements.define("casino-hamburger-menu",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>.LanguageSelectorTitle{width:94%;position:absolute;bottom:3%}.LanguageSelectorTitle span{display:inline;color:var(--emfe-w-color-gray-150, #828282);margin:0 20px;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:88%;margin:0 20px;text-align:left;line-height:34px;background:transparent;color:var(--emfe-w-color-white, #FFFFFF);border:none}.ItemLanguage option{color:var(--emfe-w-color-contrast, #07072A)}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:10;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-color-black, #000000);width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width .4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:24px;height:24px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color: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-color-contrast, #07072A);white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid 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-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}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emfe-w-color-white, #FFFFFF);font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emfe-w-color-primary, #D0046C)}</style>",J(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},to,qr,t,{menuitemsurl:14,lang:0,activecategory:15,languageslist:16},null,[-1,-1]),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),W()))}static get observedAttributes(){return["menuitemsurl","lang","activecategory","languageslist"]}get menuitemsurl(){return this.$$.ctx[14]}set menuitemsurl(e){this.$$set({menuitemsurl:e}),W()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),W()}get activecategory(){return this.$$.ctx[15]}set activecategory(e){this.$$set({activecategory:e}),W()}get languageslist(){return this.$$.ctx[16]}set languageslist(e){this.$$set({languageslist:e}),W()}});const no={en:{balanceModal:{balanceTitle:"Your Balance",totalBalance:"Total Balance",cashBalance:"Cash Balance",bonusBalance:"Bonus Balance",depositButton:"Deposit"}},de:{balanceModal:{balanceTitle:"Dein Kontostand",totalBalance:"Gesamtsaldo",cashBalance:"Barguthaben",bonusBalance:"Bonusguthaben",depositButton:"Anzahlung"}},it:{balanceModal:{balanceTitle:"Il tuo bilancio",totalBalance:"Saldo totale",cashBalance:"Saldo in contanti",bonusBalance:"Saldo bonus",depositButton:"Depositare"}},fr:{balanceModal:{balanceTitle:"Votre solde",totalBalance:"Solde total",cashBalance:"Solde de trésorerie",bonusBalance:"Solde du bonus",depositButton:"Dépôt"}},es:{balanceModal:{balanceTitle:"Tu balance",totalBalance:"Balance total",cashBalance:"Saldo en efectivo",bonusBalance:"Saldo de bonificación",depositButton:"Depositar"}},tr:{balanceModal:{balanceTitle:"Bakiyeniz",totalBalance:"Toplam Bakiye",cashBalance:"Nakit dengesi",bonusBalance:"Bonus Bakiyesi",depositButton:"Depozito"}},ru:{balanceModal:{balanceTitle:"Ваш баланс",totalBalance:"Итоговый баланс",cashBalance:"Денежных баланс",bonusBalance:"Бонусный баланс",depositButton:"Депозит"}},ro:{balanceModal:{balanceTitle:"Balanta Ta",totalBalance:"Balanta Totala",cashBalance:"Balanta Cash",bonusBalance:"Balanta Bonus",depositButton:"Depunere"}},hr:{balanceModal:{balanceTitle:"Vaše stanje",totalBalance:"Ukupno stanje",cashBalance:"Stanje gotovine",bonusBalance:"Bonus saldo",depositButton:"Polog"}},hu:{balanceModal:{balanceTitle:"Az egyensúlyod",totalBalance:"Teljes egyenleg",cashBalance:"Pénzforgalmi egyenleg",bonusBalance:"Bónuszegyenleg",depositButton:"Letét"}},pl:{balanceModal:{balanceTitle:"Twój balans",totalBalance:"Saldo całkowite",cashBalance:"Saldo środków pieniężnych",bonusBalance:"Saldo bonusowe",depositButton:"Depozyt"}},pt:{balanceModal:{balanceTitle:"Seu balanço",totalBalance:"Balanço total",cashBalance:"Saldo de caixa",bonusBalance:"Saldo de bônus",depositButton:"Depósito"}},sl:{balanceModal:{balanceTitle:"Vaše stanje",totalBalance:"Skupno stanje",cashBalance:"Stanje gotovine",bonusBalance:"Bonus stanje",depositButton:"Polog"}},sr:{balanceModal:{balanceTitle:"Стање",totalBalance:"Укупно стање",cashBalance:"Новчано стање",bonusBalance:"Бонус Баланце",depositButton:"Депозит"}}};var ro,oo,ao=(oo=(ro={path:void 0,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&ro.path)}}).exports,function(e){var r,k=e.setTimeout,L=e.clearTimeout,F=e.XMLHttpRequest,o=e.XDomainRequest,t=e.ActiveXObject,n=e.EventSource,a=e.document,d=e.Promise,p=e.fetch,i=e.Response,h=e.TextDecoder,s=e.TextEncoder,m=e.AbortController;function l(){this.bitsNeeded=0,this.codePoint=0}"undefined"==typeof window||void 0===a||"readyState"in a||null!=a.body||(a.readyState="loading",window.addEventListener("load",function(e){a.readyState="complete"},!1)),null==F&&null!=t&&(F=function(){return new t("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==m&&(r=p,p=function(e,t){var n=t.signal;return r(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then(function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}})},m=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}),l.prototype.decode=function(e){function t(e,t,n){if(1===n)return 128>>t<=e&&e<<t<=2047;if(2===n)return 2048>>t<=e&&e<<t<=55295||57344>>t<=e&&e<<t<=65535;if(3===n)return 65536>>t<=e&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return 15<t>>6?3:31<t?2:1;if(12===e)return 15<t?3:2;if(18===e)return 3;throw new Error}for(var r="",o=this.bitsNeeded,a=this.codePoint,i=0;i<e.length;i+=1){var s=e[i];0!==o&&(s<128||191<s||!t(a<<6|63&s,o-6,n(o,a)))&&(o=0,a=65533,r+=String.fromCharCode(a)),0===o?(a=0<=s&&s<=127?(o=0,s):192<=s&&s<=223?(o=6,31&s):224<=s&&s<=239?(o=12,15&s):240<=s&&s<=247?(o=18,7&s):(o=0,65533),0===o||t(a,o,n(o,a))||(o=0,a=65533)):(o-=6,a=a<<6|63&s),0===o&&(a<=65535?r+=String.fromCharCode(a):(r+=String.fromCharCode(55296+(a-65535-1>>10)),r+=String.fromCharCode(56320+(a-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=a,r},null!=h&&null!=s&&function(){try{return"test"===(new h).decode((new s).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}}()||(h=l);function u(){}function H(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 c(e){return e.replace(/[A-Z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+32)})}function f(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var o=n[r].split(": "),a=o.shift(),o=o.join(": ");t[c(a)]=o}this._map=t}function N(){}function g(e){this._headers=e}function D(){}function b(){this._listeners=Object.create(null)}function y(e){k(function(){throw e},0)}function v(e){this.type=e,this.target=void 0}function U(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 j(e,t){v.call(this,e),this.error=t.error}H.prototype.open=function(e,t){this._abort(!0);var o=this,a=this._xhr,i=1,n=0;this._abort=function(e){0!==o._sendTimeout&&(L(o._sendTimeout),o._sendTimeout=0),1!==i&&2!==i&&3!==i||(i=4,a.onload=u,a.onerror=u,a.onabort=u,a.onprogress=u,a.onreadystatechange=u,a.abort(),0!==n&&(L(n),n=0),e||(o.readyState=4,o.onabort(null),o.onreadystatechange())),i=0};function r(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:u}),l(),1===i||2===i||3===i){if(i=4,0!==n&&(L(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 s=function(){if(1===i){var t=0,n="",r=void 0;if("contentType"in a)t=200,n="OK",r=a.contentType;else try{t=a.status,n=a.statusText,r=a.getResponseHeader("Content-Type")}catch(e){n="",r=void(t=0)}0!==t&&(i=2,o.readyState=2,o.status=t,o.statusText=n,o._contentType=r,o.onreadystatechange())}},l=function(){if(s(),2===i||3===i){i=3;var e="";try{e=a.responseText}catch(e){}o.readyState=3,o.responseText=e,o.onprogress()}},c=function(){n=k(function(){c()},500),3===a.readyState&&l()};"onload"in a&&(a.onload=function(e){r("load",e)}),"onerror"in a&&(a.onerror=function(e){r("error",e)}),"onabort"in a&&(a.onabort=function(e){r("abort",e)}),"onprogress"in a&&(a.onprogress=l),"onreadystatechange"in a&&(a.onreadystatechange=function(e){e=e,null!=a&&(4===a.readyState?"onload"in a&&"onerror"in a&&"onabort"in a||r(""===a.responseText?"error":"load",e):3===a.readyState?"onprogress"in a||l():2===a.readyState&&s())}),!("contentType"in a)&&"ontimeout"in F.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),a.open(e,t,!0),"readyState"in a&&(n=k(function(){c()},0))},H.prototype.abort=function(){this._abort(!1)},H.prototype.getResponseHeader=function(e){return this._contentType},H.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},H.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},H.prototype.send=function(){if("ontimeout"in F.prototype&&("sendAsBinary"in F.prototype||"mozAnon"in F.prototype)||null==a||null==a.readyState||"complete"===a.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(e){throw e}}else{var t=this;t._sendTimeout=k(function(){t._sendTimeout=0,t.send()},4)}},f.prototype.get=function(e){return this._map[c(e)]},null!=F&&null==F.HEADERS_RECEIVED&&(F.HEADERS_RECEIVED=2),N.prototype.open=function(o,a,t,n,e,r,i){o.open("GET",e);var s,l=0;for(s in o.onprogress=function(){var e=o.responseText.slice(l);l+=e.length,t(e)},o.onerror=function(e){e.preventDefault(),n(new Error("NetworkError"))},o.onload=function(){n(null)},o.onabort=function(){n(null)},o.onreadystatechange=function(){var e,t,n,r;o.readyState===F.HEADERS_RECEIVED&&(e=o.status,t=o.statusText,n=o.getResponseHeader("Content-Type"),r=o.getAllResponseHeaders(),a(e,t,n,new f(r)))},o.withCredentials=r,i)Object.prototype.hasOwnProperty.call(i,s)&&o.setRequestHeader(s,i[s]);return o.send(),o},g.prototype.get=function(e){return this._headers.get(e)},D.prototype.open=function(e,t,o,n,r,a,i){var s=null,l=new m,c=l.signal,u=new h;return p(r,{headers:i,credentials:a?"include":"same-origin",signal:c,cache:"no-store"}).then(function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new g(e.headers)),new d(function(t,n){function r(){s.read().then(function(e){e.done?t(void 0):(e=u.decode(e.value,{stream:!0}),o(e),r())}).catch(function(e){n(e)})}r()})}).catch(function(e){return"AbortError"===e.name?void 0:e}).then(function(e){n(e)}),{abort:function(){null!=s&&s.cancel(),l.abort()}}},b.prototype.dispatchEvent=function(e){var t=(e.target=this)._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var o=t[r];try{"function"==typeof o.handleEvent?o.handleEvent(e):o.call(this,e)}catch(e){y(e)}}},b.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(n[e]=r=[]);for(var o=!1,a=0;a<r.length;a+=1)r[a]===t&&(o=!0);o||r.push(t)},b.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var o=[],a=0;a<r.length;a+=1)r[a]!==t&&o.push(r[a]);0===o.length?delete n[e]:n[e]=o}},U.prototype=Object.create(v.prototype),P.prototype=Object.create(v.prototype),j.prototype=Object.create(v.prototype);function O(e,t){return e=null==e?t:parseInt(e,10),W(e=e!=e?t:e)}function G(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){y(e)}}var _=/^text\/event\-stream(;.*)?$/i,W=function(e){return Math.min(Math.max(e,1e3),18e6)};function w(e,t){b.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,function(l,a,e){a=String(a);var t=Boolean(e.withCredentials),i=e.lastEventIdQueryParameterName||"lastEventId",c=W(1e3),u=O(e.heartbeatTimeout,45e3),d="",p=c,h=!1,m=0,n=e.headers||{},e=e.Transport,s=Z&&null==e?void 0:new H(new(null!=e?e:null!=F&&"withCredentials"in F.prototype||null==o?F:o)),f=new(null!=e&&"string"!=typeof e?e:null==s?D:N),g=void 0,b=0,y=-1,v="",w="",E="",A="",M=0,T=0,C=0,I=function(e,t,n,r){var o,a;0===y&&(200===e&&null!=n&&_.test(n)?(y=1,h=Date.now(),p=c,l.readyState=1,o=new P("open",{status:e,statusText:t,headers:r}),l.dispatchEvent(o),G(l,l.onopen,o)):(a="",a=200!==e?"EventSource's response has a status "+e+" "+(t=t&&t.replace(/\s+/g," "))+" that is not 200. Aborting the connection.":"EventSource's response has a Content-Type specifying an unsupported type: "+(null==n?"-":n.replace(/\s+/g," "))+". Aborting the connection.",R(),o=new P("error",{status:e,statusText:t,headers:r}),l.dispatchEvent(o),G(l,l.onerror,o),console.error(a)))},x=function(e){if(1===y){for(var t=-1,n=0;n<e.length;n+=1)(i=e.charCodeAt(n))!=="\n".charCodeAt(0)&&i!=="\r".charCodeAt(0)||(t=n);var r=(-1!==t?A:"")+e.slice(0,t+1);A=(-1===t?A:"")+e.slice(t+1),""!==e&&(h=Date.now(),m+=e.length);for(var o=0;o<r.length;o+=1){var a,i=r.charCodeAt(o);if(-1===M&&i==="\n".charCodeAt(0))M=0;else if(-1===M&&(M=0),i==="\r".charCodeAt(0)||i==="\n".charCodeAt(0)){if(0!==M&&(1===M&&(C=o+1),a=r.slice(T,C-1),s=r.slice(C+(C<o&&r.charCodeAt(C)===" ".charCodeAt(0)?1:0),o),"data"===a?(v+="\n",v+=s):"id"===a?w=s:"event"===a?E=s:"retry"===a?(c=O(s,c),p=c):"heartbeatTimeout"===a&&(u=O(s,u),0!==b&&(L(b),b=k(function(){B()},u)))),0===M){if(""!==v){d=w;var s=new U(E=""===E?"message":E,{data:v.slice(1),lastEventId:w});if(l.dispatchEvent(s),"open"===E?G(l,l.onopen,s):"message"===E?G(l,l.onmessage,s):"error"===E&&G(l,l.onerror,s),2===y)return}E=v=""}M=i==="\r".charCodeAt(0)?-1:0}else 0===M&&(T=o,M=1),1===M?i===":".charCodeAt(0)&&(C=o+1,M=2):2===M&&(M=3)}}},S=function(e){var t;1!==y&&0!==y||(y=-1,0!==b&&(L(b),b=0),b=k(function(){B()},p),p=W(Math.min(16*c,2*p)),l.readyState=0,t=new j("error",{error:e}),l.dispatchEvent(t),G(l,l.onerror,t),null!=e&&console.error(e))},R=function(){y=2,null!=g&&(g.abort(),g=void 0),0!==b&&(L(b),b=0),l.readyState=2},B=function(){if(b=0,-1===y){h=!1,m=0,b=k(function(){B()},u),w=d,A=E=v="",M=C=T=y=0;var e=a;"data:"!==a.slice(0,5)&&"blob:"!==a.slice(0,5)&&""!==d&&(e=-1===(t=a.indexOf("?"))?a:a.slice(0,t+1)+a.slice(t+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(e,t){return t===i?"":e}),e+=(-1===a.indexOf("?")?"?":"&")+i+"="+encodeURIComponent(d));var t=l.withCredentials,n={Accept:"text/event-stream"},r=l.headers;if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o]);try{g=f.open(s,I,x,S,e,t,n)}catch(e){throw R(),e}}else h||null==g?(t=Math.max((h||Date.now())+u-Date.now(),1),h=!1,b=k(function(){B()},t)):(S(new Error("No activity within "+u+" milliseconds. "+(0===y?"No response received.":m+" chars received.")+" Reconnecting.")),null!=g&&(g.abort(),g=void 0))};l.url=a,l.readyState=0,l.withCredentials=t,l.headers=n,l._close=R,B()}(this,e,t)}var Z=null!=p&&null!=i&&"body"in i.prototype;(w.prototype=Object.create(b.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;e=n;null==F||null!=n&&"withCredentials"in n.prototype||(e=w),(i=oo).EventSourcePolyfill=w,i.NativeEventSource=n,i.EventSource=e}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:Le:globalThis),ro.exports);function io(n){let r,o,a,i,s,l,c,u,d,p,h,m,f,g,b,y,v,w,E,A,M,T,C,I,x,S,R,B,k,L,F,H,N,D,U,P,j,O,G,_,W,Z,z,Q,V,Y,X,J=n[5]("balanceModal.balanceTitle")+"",$=n[5]("balanceModal.totalBalance")+"",K=n[5]("balanceModal.cashBalance")+"",q=n[5]("balanceModal.bonusBalance")+"",ee=n[5]("balanceModal.depositButton")+"";return{c(){r=ae("div"),o=ae("div"),a=se(),i=ae("div"),s=ae("div"),l=ae("p"),c=ie(J),u=se(),d=ae("div"),p=ae("div"),h=ae("p"),m=ie($),f=se(),g=ae("p"),b=ae("span"),y=ie(n[0]),v=se(),w=ae("span"),E=ie(n[3]),A=se(),M=ae("div"),T=ae("p"),C=ie(K),I=se(),x=ae("p"),S=ae("span"),R=ie(n[1]),B=se(),k=ae("span"),L=ie(n[3]),F=se(),H=ae("div"),N=ae("p"),D=ie(q),U=se(),P=ae("p"),j=ae("span"),O=ie(n[2]),G=se(),_=ae("span"),W=ie(n[3]),Z=se(),z=ae("div"),Q=ae("button"),V=ie(ee),ce(o,"class","BalanceModalClose"),ce(l,"class","BalanceModalTitle"),ce(l,"part","BalanceModalTitle"),ce(s,"class","BalanceModalHeader"),ce(s,"part","BalanceModalHeader"),ce(h,"class","BalanceModalText"),ce(h,"part","BalanceModalText"),ce(b,"class","BalanceModalAmount"),ce(b,"part","BalanceModalAmount"),ce(w,"class","BalanceModalCurrency"),ce(w,"part","BalanceModalCurrency"),ce(g,"class","BalanceModalValue"),ce(g,"part","BalanceModalValue"),ce(p,"class","BalanceModalRow"),ce(p,"part","BalanceModalRow"),ce(T,"class","BalanceModalText"),ce(T,"part","BalanceModalText"),ce(S,"class","BalanceModalAmount"),ce(S,"part","BalanceModalAmount"),ce(k,"class","BalanceModalCurrency"),ce(k,"part","BalanceModalCurrency"),ce(x,"class","BalanceModalValue"),ce(x,"part","BalanceModalValue"),ce(M,"class","BalanceModalRow"),ce(M,"part","BalanceModalRow"),ce(N,"class","BalanceModalText"),ce(N,"part","BalanceModalText"),ce(j,"class","BalanceModalAmount"),ce(j,"part","BalanceModalAmount"),ce(_,"class","BalanceModalCurrency"),ce(_,"part","BalanceModalCurrency"),ce(P,"class","BalanceModalValue"),ce(P,"part","BalanceModalValue"),ce(H,"class","BalanceModalRow"),ce(H,"part","BalanceModalRow"),ce(d,"class","BalanceModalBody"),ce(d,"part","BalanceModalBody"),ce(Q,"class","BalanceModalAction"),ce(Q,"part","BalanceModalAction"),ce(z,"class","BalanceModalFooter"),ce(z,"part","BalanceModalFooter"),ce(i,"class","BalanceModal"),ce(i,"part","BalanceModal"),ce(r,"class","BalanceModalWrapper"),ce(r,"part","BalanceModalWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(r,a),ne(r,i),ne(i,s),ne(s,l),ne(l,c),ne(i,u),ne(i,d),ne(d,p),ne(p,h),ne(h,m),ne(p,f),ne(p,g),ne(g,b),ne(b,y),ne(g,v),ne(g,w),ne(w,E),ne(d,A),ne(d,M),ne(M,T),ne(T,C),ne(M,I),ne(M,x),ne(x,S),ne(S,R),ne(x,B),ne(x,k),ne(k,L),ne(d,F),ne(d,H),ne(H,N),ne(N,D),ne(H,U),ne(H,P),ne(P,j),ne(j,O),ne(P,G),ne(P,_),ne(_,W),ne(i,Z),ne(i,z),ne(z,Q),ne(Q,V),Y||(X=[le(o,"click",n[13]),le(Q,"click",n[14])],Y=!0)},p(e,t){32&t&&J!==(J=e[5]("balanceModal.balanceTitle")+"")&&ue(c,J),32&t&&$!==($=e[5]("balanceModal.totalBalance")+"")&&ue(m,$),1&t&&ue(y,e[0]),8&t&&ue(E,e[3]),32&t&&K!==(K=e[5]("balanceModal.cashBalance")+"")&&ue(C,K),2&t&&ue(R,e[1]),8&t&&ue(L,e[3]),32&t&&q!==(q=e[5]("balanceModal.bonusBalance")+"")&&ue(D,q),4&t&&ue(O,e[2]),8&t&&ue(W,e[3]),32&t&&ee!==(ee=e[5]("balanceModal.depositButton")+"")&&ue(V,ee)},d(e){e&&oe(r),Y=!1,te(X)}}}function so(n){let r,o,a;return{c(){r=ae("div"),ce(r,"class","ShowBalanceModalOverlay"),ce(r,"part","ShowBalanceModalOverlay")},m(e,t){re(e,r,t),o||(a=le(r,"click",n[15]),o=!0)},p:y,d(e){e&&oe(r),o=!1,a()}}}function lo(n){let r,o,a,i,s,l,c,u,d,p,h,m,f=n[4]&&io(n),g=n[4]&&so(n);return{c(){r=ae("div"),o=ae("p"),a=ie(n[0]),i=se(),s=ie(n[3]),l=se(),c=ae("span"),c.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>',u=se(),f&&f.c(),d=se(),g&&g.c(),p=M(),this.c=y,ce(o,"class","BalanceValue"),ce(o,"part","BalanceValue"),ce(r,"class","ShowBalance"),ce(r,"part","ShowBalance")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(o,i),ne(o,s),ne(o,l),ne(o,c),ne(r,u),f&&f.m(r,null),re(e,d,t),g&&g.m(e,t),re(e,p,t),h||(m=le(o,"click",n[12]),h=!0)},p(e,[t]){1&t&&ue(a,e[0]),8&t&&ue(s,e[3]),e[4]?f?f.p(e,t):(f=io(e),f.c(),f.m(r,null)):f&&(f.d(1),f=null),e[4]?g?g.p(e,t):(g=so(e),g.c(),g.m(p.parentNode,p)):g&&(g.d(1),g=null)},i:y,o:y,d(e){e&&oe(r),f&&f.d(),e&&oe(d),g&&g.d(e),e&&oe(p),h=!1,m()}}}function co(e,t,r){let n;D(e,Fr,e=>r(5,n=e));let o,a,i,{userid:s=""}=t,{session:l=""}=t,{endpoint:c=""}=t,{lang:u="en"}=t,d="",p="",h="",m="",f=!1;Object.keys(no).forEach(e=>{hr(e,no[e])});const g=e=>{switch(e){case"balance":r(4,f=!0);break;case"closebalance":r(4,f=!1)}},b=e=>{"message"==e.type&&((e=JSON.parse(e.data)).balanceChange&&e.balanceChange[a]&&r(1,p=e.balanceChange[a].afterAmount),e.balanceChange&&e.balanceChange[i]&&r(2,h=e.balanceChange[i].afterAmount),r(0,d=(parseFloat(p)+parseFloat(h)).toFixed(2)))},y=()=>{g("closebalance"),window.postMessage({type:"GoToDeposit"},window.location.href)},v=()=>{var e,t=u;Mr.set(t),o=new ao.EventSourcePolyfill(`${c}/player/${s}/balance/updates`,{headers:{accept:"text/event-stream","X-SessionID":l}}),e=`${c}/player/${s}/account`,new Promise((t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":l}}).then(e=>e.json()).then(e=>{e.items.forEach(e=>{"Casino"==e.displayName&&(a=e.id,r(1,p=e.balanceAmount),r(3,m=e.currency)),"UBS"==e.displayName&&(i=e.id,r(2,h=e.balanceAmount))}),r(0,d=(parseFloat(p)+parseFloat(h)).toFixed(2)),o.addEventListener("open",b),o.addEventListener("message",b),o.addEventListener("error",b),t(e)},e=>{console.error(e),n(e)})})};return j(()=>()=>{o.removeEventListener("open",b),o.removeEventListener("message",b),o.removeEventListener("error",b)}),e.$$set=e=>{"userid"in e&&r(8,s=e.userid),"session"in e&&r(9,l=e.session),"endpoint"in e&&r(10,c=e.endpoint),"lang"in e&&r(11,u=e.lang)},e.$$.update=()=>{3840&e.$$.dirty&&c&&s&&l&&u&&v()},[d,p,h,m,f,n,g,y,s,l,c,u,()=>g("balance"),()=>g("closebalance"),()=>y(),()=>g("closebalance")]}customElements.get("player-account-balance-modal")||customElements.define("player-account-balance-modal",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer}.ShowBalance .BalanceValue svg{width:16px}.BalanceModalWrapper{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-50%);padding:10px;box-shadow:0px 30px 30px var(--emfe-w-color-primary, #D0046C) 1A;border-radius:5px;z-index:3;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:50%;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, #FD2839);position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:\"\";background: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-color-contrast, #07072A)}.BalanceModalRow{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.BalanceModalRow:last-child{border-bottom:none}.BalanceModalRow .BalanceModalText{color:var(--emfe-w-color-gray-300, #58586B);font-size:14px;text-transform:capitalize}.BalanceModalRow .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emfe-w-color-contrast, #07072A)}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background: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-color-primary-600, #99034F)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:2}</style>",J(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},co,lo,t,{userid:8,session:9,endpoint:10,lang:11},null),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),W()))}static get observedAttributes(){return["userid","session","endpoint","lang"]}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),W()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),W()}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),W()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),W()}});var uo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkM1M0ZDQjNDQzFFQTExRUJCODU2QjREQ0ZBNkNCRkQ0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkM1M0ZDQjNEQzFFQTExRUJCODU2QjREQ0ZBNkNCRkQ0Ij4gPHhtcE1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t,n){const r=e.slice();return r[58]=t[n],r}function ho(e,t,n){const r=e.slice();return r[61]=t[n],r}function mo(e,t,n){const r=e.slice();return r[58]=t[n],r}function fo(e,t,n){const r=e.slice();return r[61]=t[n],r}function go(n){let r,o,a,i,e,s,l,c,u,d,p,h,m,f,g,b,y,v,w,E,A,M,T=n[16]("headerItem.login")+"",C=n[16]("headerItem.register")+"",I=!n[7]&&vo(n),x=n[14],S=[];for(let e=0;e<x.length;e+=1)S[e]=wo(ho(n,x,e));let R=n[9],B=[];for(let e=0;e<R.length;e+=1)B[e]=Eo(po(n,R,e));return{c(){r=ae("header"),o=ae("div"),a=ae("div"),i=ae("img"),s=se(),l=ae("nav"),I&&I.c(),c=se(),u=ae("div"),d=ae("div"),p=ae("div"),h=ie(T),m=se(),f=ae("div"),g=ie(C),b=se(),y=ae("select");for(let e=0;e<S.length;e+=1)S[e].c();v=se(),w=ae("nav"),E=ae("ul");for(let e=0;e<B.length;e+=1)B[e].c();k(i.src,e=uo)||ce(i,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRv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l1vRTM0JhPEMVlANnkuiAgwEyExSE4/KZMBd7sBknI35FUtWt/KYrEMg807wnIpo2jNiLmYJi/rKkohmak5U4RfgVeUQDm/6j+/TVeApUAaI39NqCFkOuTEN3MuZ+9kkG3Bhot8pjEUX0T4WcGizFCsAc4ZEi9/N1AlxJQ5njZ7hZVmEpFgSJAGetIs+n+H5tFMbveXdbL7woC+jj/2v70Z+F5E6FeYBTmdyXrZFLMXp3OZlfBJZOQWyt/NseyKAL4PB3wEZPfvigBE18P6bASZBtODLcCzbtKl54jhg3DN47P/80z2uMsqf7kE6bgN27QlHzrP4yoP+nwteyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII="),ce(i,"alt","Everymatrix logo"),ce(a,"class","HeaderBranding"),ce(a,"part","HeaderBranding"),ce(l,"class","HeaderMainNav"),ce(l,"part","HeaderMainNav"),ce(p,"class","Item ItemLogin"),ce(p,"part","Item ItemLogin"),ce(p,"tabindex","0"),ce(f,"class","Item ItemRegister"),ce(f,"part","Item ItemRegister"),ce(f,"tabindex","0"),ce(y,"class","Item ItemLanguage"),ce(y,"part","Item ItemLanguage"),void 0===n[10]&&G(()=>n[41].call(y)),ce(d,"class","HeaderItemsMenu"),ce(d,"part","HeaderItemsMenu"),ce(u,"class","HeaderTopActions"),ce(u,"part","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(o,"part","HeaderContainer"),ce(E,"class","HeaderItemsMenuSecondary"),ce(E,"part","HeaderItemsMenuSecondary"),ce(w,"class","HeaderSecondaryNav"),ce(w,"part","HeaderSecondaryNav"),ce(r,"class","HeaderWrapper"),ce(r,"part","HeaderWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(a,i),ne(o,s),ne(o,l),I&&I.m(l,null),ne(o,c),ne(o,u),ne(u,d),ne(d,p),ne(p,h),ne(d,m),ne(d,f),ne(f,g),ne(d,b),ne(d,y);for(let e=0;e<S.length;e+=1)S[e].m(y,null);U(y,n[10]),ne(r,v),ne(r,w),ne(w,E);for(let e=0;e<B.length;e+=1)B[e].m(E,null);A||(M=[le(a,"click",n[38]),le(p,"click",n[39]),le(f,"click",n[40]),le(y,"change",n[41]),le(y,"change",n[42])],A=!0)},p(t,n){if(t[7]?I&&(I.d(1),I=null):I?I.p(t,n):(I=vo(t),I.c(),I.m(l,null)),65536&n[0]&&T!==(T=t[16]("headerItem.login")+"")&&ue(h,T),65536&n[0]&&C!==(C=t[16]("headerItem.register")+"")&&ue(g,C),16384&n[0]){let e;for(x=t[14],e=0;e<x.length;e+=1){var r=ho(t,x,e);S[e]?S[e].p(r,n):(S[e]=wo(r),S[e].c(),S[e].m(y,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=x.length}if(17408&n[0]&&U(y,t[10]),512&n[0]){let e;for(R=t[9],e=0;e<R.length;e+=1){var o=po(t,R,e);B[e]?B[e].p(o,n):(B[e]=Eo(o),B[e].c(),B[e].m(E,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=R.length}},d(e){e&&oe(r),I&&I.d(),N(S,e),N(B,e),A=!1,te(M)}}}function bo(n){let r,o,a,i,s,l,c,u,d,p,h,m,f,g,e,b,y,v,w,E,A,M,T,C,I,x=n[16]("headerItem.login")+"",S=n[16]("headerItem.register")+"";return{c(){r=ae("header"),o=ae("div"),a=ae("div"),i=R("svg"),s=R("defs"),l=R("style"),c=ie(".a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n "),u=R("g"),d=R("rect"),p=R("rect"),h=R("rect"),m=se(),f=ae("div"),g=ae("img"),b=se(),y=ae("div"),v=ae("div"),w=ae("div"),E=ie(x),A=se(),M=ae("div"),T=ie(S),ce(d,"class","a"),ce(d,"width","18"),ce(d,"height","2"),ce(d,"transform","translate(14 13)"),ce(p,"class","a"),ce(p,"width","22"),ce(p,"height","2"),ce(p,"transform","translate(14 20)"),ce(h,"class","a"),ce(h,"width","22"),ce(h,"height","2"),ce(h,"transform","translate(14 27)"),ce(u,"transform","translate(-14 -13)"),ce(i,"xmlns","http://www.w3.org/2000/svg"),ce(i,"width","22"),ce(i,"height","16"),ce(i,"viewBox","0 0 22 16"),ce(a,"class","HeaderMobileMainNav"),ce(a,"part","HeaderMobileMainNav"),k(g.src,e=uo)||ce(g,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkM1M0ZDQjNDQzFFQTExRUJCODU2QjREQ0ZBNkNCRkQ0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkM1M0ZDQjNEQzFFQTExRUJCODU2Q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A5rdms466ozkAAAAASUVORK5CYII="),ce(g,"alt","Everymatrix logo"),ce(f,"class","HeaderBranding"),ce(f,"part","HeaderBranding"),ce(w,"class","Item ItemLogin"),ce(w,"part","Item ItemLogin"),ce(M,"class","Item ItemRegister"),ce(M,"part","Item ItemRegister"),ce(v,"class","HeaderItemsMenu"),ce(v,"part","HeaderItemsMenu"),ce(y,"class","HeaderTopActions"),ce(y,"part","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(o,"part","HeaderContainer"),ce(r,"class","HeaderWrapper HeaderMobileWrapper"),ce(r,"part","HeaderWrapper HeaderMobileWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(a,i),ne(i,s),ne(s,l),ne(l,c),ne(i,u),ne(u,d),ne(u,p),ne(u,h),ne(o,m),ne(o,f),ne(f,g),ne(o,b),ne(o,y),ne(y,v),ne(v,w),ne(w,E),ne(v,A),ne(v,M),ne(M,T),C||(I=[le(i,"click",n[34]),le(f,"click",n[35]),le(w,"click",n[36]),le(M,"click",n[37])],C=!0)},p(e,t){65536&t[0]&&x!==(x=e[16]("headerItem.login")+"")&&ue(E,x),65536&t[0]&&S!==(S=e[16]("headerItem.register")+"")&&ue(T,S)},d(e){e&&oe(r),C=!1,te(I)}}}function yo(e){let n;function r(e){return e[12]?Mo:Ao}let o=r(e),a=o(e);return{c(){a.c(),n=M()},m(e,t){a.m(e,t),re(e,n,t)},p(e,t){o===(o=r(e))&&a?a.p(e,t):(a.d(1),a=o(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&oe(n)}}}function vo(n){let r,o,a,i;return{c(){r=ae("casino-slider"),L(r,"class","HeaderItemsMenu"),L(r,"part","HeaderItemsMenu"),L(r,"identity",Ro),L(r,"isprimarymenu","true"),L(r,"actionevent",n[6]),L(r,"activeindex",n[8]),L(r,"location","headerMain")},m(e,t){re(e,r,t),a||(i=s(o=n[19].call(null,r)),a=!0)},p(e,t){64&t[0]&&L(r,"actionevent",e[6]),256&t[0]&&L(r,"activeindex",e[8])},d(e){e&&oe(r),a=!1,i()}}}function wo(e){let n,r,o,a=e[61]+"";return{c(){n=ae("option"),r=ie(a),n.__value=o=e[61],n.value=n.__value},m(e,t){re(e,n,t),ne(n,r)},p(e,t){16384&t[0]&&a!==(a=e[61]+"")&&ue(r,a),16384&t[0]&&o!==(o=e[61])&&(n.__value=o,n.value=n.__value)},d(e){e&&oe(n)}}}function Eo(e){let n,r,o,a,i=e[58].label+"";return{c(){n=ae("li"),r=ae("a"),o=ie(i),ce(r,"href",a=e[58].path),ce(n,"class","ItemSecondary"),ce(n,"part","ItemSecondary")},m(e,t){re(e,n,t),ne(n,r),ne(r,o)},p(e,t){512&t[0]&&i!==(i=e[58].label+"")&&ue(o,i),512&t[0]&&a!==(a=e[58].path)&&ce(r,"href",a)},d(e){e&&oe(n)}}}function Ao(n){let r,o,a,i,e,s,l,c,u,d,p,h,m,f,g,b,y,v,w,E,A,M,T,C=n[16]("headerItem.deposit")+"",I=!n[7]&&To(n),x=n[14],S=[];for(let e=0;e<x.length;e+=1)S[e]=Co(fo(n,x,e));let R=n[9],B=[];for(let e=0;e<R.length;e+=1)B[e]=Io(mo(n,R,e));return{c(){r=ae("header"),o=ae("div"),a=ae("div"),i=ae("img"),s=se(),l=ae("nav"),I&&I.c(),c=se(),u=ae("div"),d=ae("div"),p=ae("player-account-balance-modal"),h=se(),m=ae("div"),f=ie(C),g=se(),b=ae("div"),b.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>',y=se(),v=ae("select");for(let e=0;e<S.length;e+=1)S[e].c();w=se(),E=ae("nav"),A=ae("ul");for(let e=0;e<B.length;e+=1)B[e].c();k(i.src,e=uo)||ce(i,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkM1M0ZDQjNDQzFFQTExRUJCODU2QjREQ0ZBNkNCRkQ0IiB4bXBNTT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wteyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII="),ce(i,"alt","Everymatrix logo"),ce(a,"class","HeaderBranding"),ce(a,"part","HeaderBranding"),ce(l,"class","HeaderMainNav"),ce(l,"part","HeaderMainNav"),L(p,"session",n[0]),L(p,"userid",n[1]),L(p,"endpoint",n[2]),L(p,"lang",n[3]),ce(m,"class","Item ItemDeposit"),ce(m,"part","Item ItemDeposit"),ce(b,"class","Item ItemAccount"),ce(b,"part","Item ItemAccount"),ce(v,"class","Item ItemLanguage"),ce(v,"part","Item ItemLanguage"),void 0===n[10]&&G(()=>n[32].call(v)),ce(d,"class","HeaderItemsMenu PrimaryMenu"),ce(d,"part","HeaderItemsMenu PrimaryMenu"),ce(u,"class","HeaderTopActions"),ce(u,"part","HeaderItemsMenu"),ce(o,"class","HeaderContainer"),ce(o,"part","HeaderContainer"),ce(A,"class","HeaderItemsMenuSecondary"),ce(A,"part","HeaderItemsMenuSecondary"),ce(E,"class","HeaderSecondaryNav"),ce(E,"part","HeaderSecondaryNav"),ce(r,"class","HeaderWrapper"),ce(r,"part","HeaderWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(a,i),ne(o,s),ne(o,l),I&&I.m(l,null),ne(o,c),ne(o,u),ne(u,d),ne(d,p),ne(d,h),ne(d,m),ne(m,f),ne(d,g),ne(d,b),ne(d,y),ne(d,v);for(let e=0;e<S.length;e+=1)S[e].m(v,null);U(v,n[10]),ne(r,w),ne(r,E),ne(E,A);for(let e=0;e<B.length;e+=1)B[e].m(A,null);M||(T=[le(a,"click",n[29]),le(m,"click",n[30]),le(b,"click",n[31]),le(v,"change",n[32]),le(v,"change",n[33])],M=!0)},p(t,n){if(t[7]?I&&(I.d(1),I=null):I?I.p(t,n):(I=To(t),I.c(),I.m(l,null)),1&n[0]&&L(p,"session",t[0]),2&n[0]&&L(p,"userid",t[1]),4&n[0]&&L(p,"endpoint",t[2]),8&n[0]&&L(p,"lang",t[3]),65536&n[0]&&C!==(C=t[16]("headerItem.deposit")+"")&&ue(f,C),16384&n[0]){let e;for(x=t[14],e=0;e<x.length;e+=1){var r=fo(t,x,e);S[e]?S[e].p(r,n):(S[e]=Co(r),S[e].c(),S[e].m(v,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=x.length}if(17408&n[0]&&U(v,t[10]),512&n[0]){let e;for(R=t[9],e=0;e<R.length;e+=1){var o=mo(t,R,e);B[e]?B[e].p(o,n):(B[e]=Io(o),B[e].c(),B[e].m(A,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=R.length}},d(e){e&&oe(r),I&&I.d(),N(S,e),N(B,e),M=!1,te(T)}}}function Mo(n){let r,o,a,i,s,l,e,c,u,d,p,h,m,f,g,b,y,v=!n[15]&&xo(n);return{c(){r=ae("header"),o=ae("div"),a=ae("div"),v&&v.c(),i=se(),s=ae("div"),l=ae("img"),c=se(),u=ae("div"),d=ae("div"),p=ae("player-account-balance-modal"),h=se(),m=ae("div"),m.textContent="Deposit",f=se(),g=ae("div"),g.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>',ce(a,"class","HeaderMobileMainNav"),ce(a,"part","HeaderMobileMainNav"),k(l.src,e=uo)||ce(l,"src","data:image/png;base64,iVBORw0KGg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HB5cIDNQNW45RPlLBIz8Yw37ucQ3Yh9tYwjWBfu6AZgUTmIfAlWZTuQtpSNoG1e5Bs0hyypSp6iulUFRiE10PsElXXZ9YC7jeliuJZ4saEz5LAJ3qIHbDHyi0LyjHMyh4QTmp0CfRVu1nEZefN6xNeFlzRcGTe15LLchnN7sAJwNgQgnAnF8P34sgFsbuKMG9yj7d/DOmAoaIbhrlZA2V7iH94Tg10EE2sTJ39Jn3wqe1bn/1xZJaTnkqfCoegOlhTK26/sgjgNvj4OzcWlo572RN0oJVulX0TRCGobvp0ZMidumw26NRYihH1nTlAaLQU1hLWzCJHNk9Qzoa2yAY8iTzTyDVxV4eBcjkkGTBhLbtIjGSXmdWntzUNwYvFQ9aARffpgcG+BcOf6m1TCg8n+r0pCxHujnta1Z0vRnqO/CJ7o+sVQGz7GwWvD9x1ecjDm8xJ3uxBIwpXCAL5SpbBT3rXr1p8YazWdAeuxrEcLz7Vc2TxaZl1vRTM0JhPEMVlANnkuiAgwEyExSE4/KZMBd7sBknI35FUtWt/KYrEMg807wnIpo2jNiLmYJi/rKkohmak5U4RfgVeUQDm/6j+/TVeApUAaI39NqCFkOuTEN3MuZ+9kkG3Bhot8pjEUX0T4WcGizFCsAc4ZEi9/N1AlxJQ5njZ7hZVmEpFgSJAGetIs+n+H5tFMbveXdbL7woC+jj/2v70Z+F5E6FeYBTmdyXrZFLMXp3OZlfBJZOQWyt/NseyKAL4PB3wEZPfvigBE18P6bASZBtODLcCzbtKl54jhg3DN47P/80z2uMsqf7kE6bgN27QlHzrP4yoP+nwteyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII="),ce(l,"alt","Everymatrix logo"),ce(s,"class","HeaderBranding"),ce(s,"part","HeaderBranding"),L(p,"session",n[0]),L(p,"userid",n[1]),L(p,"endpoint",n[2]),L(p,"lang",n[3]),ce(m,"class","Item ItemDeposit"),ce(m,"part","Item ItemDeposit"),ce(g,"class","Item ItemAccount"),ce(g,"part","Item ItemAccount"),ce(d,"class","HeaderItemsMenu PrimaryMenu"),ce(d,"part","HeaderItemsMenu PrimaryMenu"),ce(u,"class","HeaderTopActions"),ce(u,"part","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(o,"part","HeaderContainer"),ce(r,"class","HeaderWrapper HeaderMobileWrapper"),ce(r,"part","HeaderWrapper HeaderMobileWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),v&&v.m(a,null),ne(o,i),ne(o,s),ne(s,l),ne(o,c),ne(o,u),ne(u,d),ne(d,p),ne(d,h),ne(d,m),ne(d,f),ne(d,g),b||(y=[le(s,"click",n[26]),le(m,"click",n[27]),le(g,"click",n[28])],b=!0)},p(e,t){e[15]?v&&(v.d(1),v=null):v?v.p(e,t):(v=xo(e),v.c(),v.m(a,null)),1&t[0]&&L(p,"session",e[0]),2&t[0]&&L(p,"userid",e[1]),4&t[0]&&L(p,"endpoint",e[2]),8&t[0]&&L(p,"lang",e[3])},d(e){e&&oe(r),v&&v.d(),b=!1,te(y)}}}function To(n){let r,o,a,i;return{c(){r=ae("casino-slider"),L(r,"class","HeaderItemsMenu"),L(r,"part","HeaderItemsMenu"),L(r,"identity",Ro),L(r,"isprimarymenu","true"),L(r,"actionevent",n[6]),L(r,"activeindex",n[8]),L(r,"location","headerMain")},m(e,t){re(e,r,t),a||(i=s(o=n[19].call(null,r)),a=!0)},p(e,t){64&t[0]&&L(r,"actionevent",e[6]),256&t[0]&&L(r,"activeindex",e[8])},d(e){e&&oe(r),a=!1,i()}}}function Co(e){let n,r,o,a=e[61]+"";return{c(){n=ae("option"),r=ie(a),n.__value=o=e[61],n.value=n.__value,n.selected=!0},m(e,t){re(e,n,t),ne(n,r)},p(e,t){16384&t[0]&&a!==(a=e[61]+"")&&ue(r,a),16384&t[0]&&o!==(o=e[61])&&(n.__value=o,n.value=n.__value)},d(e){e&&oe(n)}}}function Io(e){let n,r,o,a,i=e[58].label+"";return{c(){n=ae("li"),r=ae("a"),o=ie(i),ce(r,"href",a=e[58].path),ce(n,"class","ItemSecondary"),ce(n,"part","ItemSecondary")},m(e,t){re(e,n,t),ne(n,r),ne(r,o)},p(e,t){512&t[0]&&i!==(i=e[58].label+"")&&ue(o,i),512&t[0]&&a!==(a=e[58].path)&&ce(r,"href",a)},d(e){e&&oe(n)}}}function xo(n){let r,o,a,i,s,l,c,u,d,p;return{c(){r=R("svg"),o=R("defs"),a=R("style"),i=ie(".a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n "),s=R("g"),l=R("rect"),c=R("rect"),u=R("rect"),ce(l,"class","a"),ce(l,"width","18"),ce(l,"height","2"),ce(l,"transform","translate(14 13)"),ce(c,"class","a"),ce(c,"width","22"),ce(c,"height","2"),ce(c,"transform","translate(14 20)"),ce(u,"class","a"),ce(u,"width","22"),ce(u,"height","2"),ce(u,"transform","translate(14 27)"),ce(s,"transform","translate(-14 -13)"),ce(r,"xmlns","http://www.w3.org/2000/svg"),ce(r,"width","22"),ce(r,"height","16"),ce(r,"viewBox","0 0 22 16")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(a,i),ne(r,s),ne(s,l),ne(s,c),ne(s,u),d||(p=le(r,"click",n[25]),d=!0)},p:y,d(e){e&&oe(r),d=!1,p()}}}function So(e){let n,r;function o(e){return e[13]?yo:e[12]?bo:go}let a=o(e),i=a(e);return{c(){i.c(),n=se(),r=ae("casino-hamburger-menu"),this.c=y,L(r,"menuitemsurl",e[11]),L(r,"activecategory",e[5]),L(r,"lang",e[3]),L(r,"languageslist",e[4])},m(e,t){i.m(e,t),re(e,n,t),re(e,r,t)},p(e,t){a===(a=o(e))&&i?i.p(e,t):(i.d(1),i=a(e),i&&(i.c(),i.m(n.parentNode,n))),2048&t[0]&&L(r,"menuitemsurl",e[11]),32&t[0]&&L(r,"activecategory",e[5]),8&t[0]&&L(r,"lang",e[3]),16&t[0]&&L(r,"languageslist",e[4])},i:y,o:y,d(e){i.d(e),e&&oe(n),e&&oe(r)}}}let Ro="HeaderMenu";function Bo(t,e,r){let n;D(t,Fr,e=>r(16,n=e));let{session:o=""}=e,{userid:a=""}=e,{endpoint:i=""}=e,{cmsendpoint:s=""}=e,{cmsenv:l="stage"}=e,{lang:c="en"}=e,{languageslist:u="en, ro"}=e,{activecategory:d=""}=e,{operatorid:p=""}=e,{pagetag:h=""}=e,{positiontag:m=""}=e,{actionevent:f=""}=e,g=0;var b,y;({withLocale:b,translations:y}={withLocale:"en",translations:{}}),Mr.subscribe(e=>{null==e&&(dr.set(y),Mr.set(b))}),Object.keys(Nr).forEach(e=>{hr(e,Nr[e])});let v,w,E=[],A=[],M="",T=!0,C=!1,I=window.navigator.userAgent,x=!1,S=[],R=!1,B=[{id:0,label:n("fallbackSecondaryMenu.promotions"),path:"/promotions"}];const k=e=>{switch(e){case"login":window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href);break;case"register":window.postMessage({type:"OpenLoginRegisterModal",transition:"Register"},window.location.href);break;case"lobby":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"myaccount":window.postMessage({type:"PlayerAccountMenuActive"},window.location.href);break;case"deposit":window.postMessage({type:"GoToDeposit"},window.location.href);break;case"language":window.postMessage({type:"LanguageChanged",selectedLanguage:M},window.location.href)}},L=()=>{r(15,R=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},F=e=>{if(e.data)switch(e.data.type){case"UserSessionID":e.data.userid,e.data.session,r(13,x=!0);break;case"CloseHamburgerMenu":e.data.showhamburger&&r(15,R=!1);break;case"LogoutSuccessfull":r(13,x=!1);break;case"LanguageChanged":H(),N(w)}},H=()=>{w=new URL(`${s}/${M.toLowerCase()}/menu`),r(11,v=new URL(`${s}/${M.toLowerCase()}/hamburger-menu`)),w.searchParams.append("device","dk"),w.searchParams.append("env",l),w.searchParams.append("language",M.toLowerCase()),w.searchParams.append("platform","dk"),v.searchParams.append("device","dk"),v.searchParams.append("env",l),v.searchParams.append("language",M.toLowerCase()),v.searchParams.append("platform","dk")},N=e=>(r(7,T=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{E=e.desktop.primary,r(9,A=e.desktop.secondary),A.length||r(9,A=B),r(7,T=!1),t(e)},e=>{r(7,T=!1),console.error(e),n(e)})}));return j(async()=>(window.addEventListener("message",F,!1),Hr(I)&&r(12,C=!0),()=>{window.removeEventListener("message",F)})),t.$$set=e=>{"session"in e&&r(0,o=e.session),"userid"in e&&r(1,a=e.userid),"endpoint"in e&&r(2,i=e.endpoint),"cmsendpoint"in e&&r(20,s=e.cmsendpoint),"cmsenv"in e&&r(21,l=e.cmsenv),"lang"in e&&r(3,c=e.lang),"languageslist"in e&&r(4,u=e.languageslist),"activecategory"in e&&r(5,d=e.activecategory),"operatorid"in e&&r(22,p=e.operatorid),"pagetag"in e&&r(23,h=e.pagetag),"positiontag"in e&&r(24,m=e.positiontag),"actionevent"in e&&r(6,f=e.actionevent)},t.$$.update=()=>{var e;160&t.$$.dirty[0]&&d&&!T&&r(8,g=E.map(e=>e.path).indexOf(d)),1&t.$$.dirty[0]&&o&&r(13,x=!0),8&t.$$.dirty[0]&&c&&(e=c,Mr.set(e)),1048600&t.$$.dirty[0]&&s&&c&&u&&(r(14,S=u.replace(/ /g,"").split(",")),r(14,S=S.map(e=>e.toUpperCase())),r(10,M=c.toUpperCase()),H(),N(w))},[o,a,i,c,u,d,f,T,g,A,M,v,C,x,S,R,n,k,L,e=>{window.postMessage({type:"SliderData",identity:Ro,data:E},window.location.href)},s,l,p,h,m,()=>L(),()=>k("lobby"),()=>k("deposit"),()=>k("myaccount"),()=>k("lobby"),()=>k("deposit"),()=>k("myaccount"),function(){M=P(this),r(10,M),r(14,S)},()=>k("language"),()=>L(),()=>k("lobby"),()=>k("login"),()=>k("register"),()=>k("lobby"),()=>k("login"),()=>k("register"),function(){M=P(this),r(10,M),r(14,S)},()=>k("language")]}class ko extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.HeaderWrapper{background:var(--emfe-w-color-header-bg, #050518)}.HeaderContainer{max-width:1300px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderBranding{width:150px;cursor:pointer}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:var(--emfe-w-color-header-bg, #050518);border-top:1px solid var(--emfe-w-color-gray-300, #58586B)}.HeaderItemsMenu{display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;align-items:center}.HeaderItemsMenu .Item{padding:0 15px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;border:solid 1px var(--emfe-w-color-white, #FFFFFF);height:44px;text-align:center;line-height:44px;margin-right:20px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:var(--emfe-w-color-primary, #D0046C);font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:var(--emfe-w-color-primary, #D0046C)}.ItemLanguage{height:44px;width:76px;text-align:center;line-height:44px;background:transparent;color:var(--emfe-w-color-white, #FFFFFF);border:none;cursor:pointer}.ItemLanguage option{color:var(--emfe-w-color-contrast, #07072A)}.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-color-white, #FFFFFF);font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary .ItemSecondary{padding:0 15px;cursor:pointer;transition-duration:0.15s}.HeaderItemsMenuSecondary .ItemSecondary a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}.HeaderItemsMenuSecondary .ItemSecondary:hover a{color:var(--emfe-w-color-primary, #D0046C)}.HeaderMobileWrapper .HeaderContainer{height:55px;padding:0 15px;gap:10px}.HeaderMobileWrapper .HeaderBranding{width:80px}.HeaderMobileWrapper .HeaderBranding img{width:100%}.HeaderMobileWrapper .HeaderItemsMenu .Item{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}</style>",J(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Bo,So,t,{session:0,userid:1,endpoint:2,cmsendpoint:20,cmsenv:21,lang:3,languageslist:4,activecategory:5,operatorid:22,pagetag:23,positiontag:24,actionevent:6},null,[-1,-1,-1]),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),W()))}static get observedAttributes(){return["session","userid","endpoint","cmsendpoint","cmsenv","lang","languageslist","activecategory","operatorid","pagetag","positiontag","actionevent"]}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),W()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),W()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),W()}get cmsendpoint(){return this.$$.ctx[20]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),W()}get cmsenv(){return this.$$.ctx[21]}set cmsenv(e){this.$$set({cmsenv:e}),W()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),W()}get languageslist(){return this.$$.ctx[4]}set languageslist(e){this.$$set({languageslist:e}),W()}get activecategory(){return this.$$.ctx[5]}set activecategory(e){this.$$set({activecategory:e}),W()}get operatorid(){return this.$$.ctx[22]}set operatorid(e){this.$$set({operatorid:e}),W()}get pagetag(){return this.$$.ctx[23]}set pagetag(e){this.$$set({pagetag:e}),W()}get positiontag(){return this.$$.ctx[24]}set positiontag(e){this.$$set({positiontag:e}),W()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),W()}}return customElements.get("casino-header-controller")||customElements.define("casino-header-controller",ko),ko});
3
+ }`,p=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_`+s,h=A(e),{stylesheet:m,rules:f}=T.get(h)||(l=h,g={stylesheet:(s=e,g=ae("style"),ne((s=A(s)).head||s,g),g.sheet),rules:{}},T.set(l,g),g);f[p]||(f[p]=!0,m.insertRule(`@keyframes ${p} `+d,m.cssRules.length));var g=e.style.animation||"";return e.style.animation=(g?g+", ":"")+p+` ${r}ms linear ${o}ms 1 both`,I+=1,p}function S(e){C=e}function j(e){!function(){if(!C)throw new Error("Function called outside component initialization");return C}().$$.on_mount.push(e)}const B=[],F=[],o=[],a=[],H=Promise.resolve();let O=!1;function G(e){o.push(e)}const i=new Set;let _,l=0;function W(){const e=C;do{for(;l<B.length;){const e=B[l];l++,S(e),function(e){{var t;null!==e.fragment&&(e.update(),te(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(G))}}(e.$$)}for(S(null),B.length=0,l=0;F.length;)F.pop()();for(let e=0;e<o.length;e+=1){const t=o[e];i.has(t)||(i.add(t),t())}}while(o.length=0,B.length);for(;a.length;)a.pop()();O=!1,i.clear(),S(e)}function Z(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}((t?"intro":"outro")+n))}const c=new Set;let z;function Q(e,t){e&&e.i&&(c.delete(e),e.i(t))}function u(e,t,n,r){e&&e.o&&(c.has(e)||(c.add(e),z.c.push(()=>{c.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const V={duration:0};function Y(s,e,t,n){let l=e(s,t),c=n?0:1,u=null,d=null,p=null;function h(){p&&function(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),o=n.length-r.length;o&&(e.style.animation=r.join(", "),I-=o,I||v(()=>{I||(T.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),T.clear())}))}(s,p)}function m(e,t){var n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:r=f,tick:o=y,css:a}=l||V,i={start:b()+t,b:e};e||(i.group=z,z.r+=1),u||d?d=i:(a&&(h(),p=x(s,c,e,n,t,r,a)),e&&o(0,1),u=m(i,n),G(()=>Z(s,e,"start")),function(t){let n;0===w.size&&v(E),new Promise(e=>{w.add(n={c:t,f:e})})}(e=>{return d&&e>d.start&&(u=m(d,n),d=null,Z(s,u.b,"start"),a&&(h(),p=x(s,c,u.b,u.duration,0,r,l.css))),u&&(e>=u.end?(o(c=u.b,1-c),Z(s,u.b,"end"),d||(u.b?h():--u.group.r||te(u.group.c)),u=null):e>=u.start&&(e=e-u.start,c=u.a+u.d*r(e/u.duration),o(c,1-c))),!(!u&&!d)}))}return{run(e){g(l)?(_||(_=Promise.resolve(),_.then(()=>{_=null})),_.then(()=>{l=l(),r(e)})):r(e)},end(){h(),u=d=null}}}function X(e,t){e.d(1),t.delete(e.key)}function J(r,e,t,n,o,a,i,s=[-1]){var l=C;S(r);const c=r.$$={fragment:null,ctx:null,props:a,update:y,not_equal:o,bound:p(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:p(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};i&&i(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(B.push(e),O||(O=!0,H.then(W)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,te(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const y=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(y),y.forEach(oe)}else c.fragment&&c.fragment.c();e.intro&&Q(r.$$.fragment),function(t,e,n,r){const{fragment:o,on_mount:a,on_destroy:i,after_update:s}=t.$$;o&&o.m(e,n),r||G(()=>{var e=a.map(d).filter(g);i?i.push(...e):te(e),t.$$.on_mount=[]}),s.forEach(G)}(r,e.target,e.anchor,e.customElement),W()}S(l)}let $;"function"==typeof HTMLElement&&($=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(d).filter(g);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){te(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(te(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=y}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var K,q,ee="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==ee&&ee,de="URLSearchParams"in ee,pe="Symbol"in ee&&"iterator"in Symbol,he="FileReader"in ee&&"Blob"in ee&&function(){try{return new Blob,!0}catch(e){return!1}}(),me="FormData"in ee,fe="ArrayBuffer"in ee;function ge(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 be(e){return e="string"!=typeof e?String(e):e}function ye(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return pe&&(e[Symbol.iterator]=function(){return e}),e}function ve(t){this.map={},t instanceof ve?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function we(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Ee(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Ae(e){var t=new FileReader,n=Ee(t);return t.readAsArrayBuffer(e),n}function Me(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Te(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:he&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:me&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:de&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():fe&&he&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Me(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):fe&&(ArrayBuffer.prototype.isPrototypeOf(e)||q(e))?this._bodyArrayBuffer=Me(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):de&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},he&&(this.blob=function(){var e=we(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?we(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Ae)}),this.text=function(){var e,t,n=we(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=Ee(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},me&&(this.formData=function(){return this.text().then(xe)}),this.json=function(){return this.text().then(JSON.parse)},this}fe&&(K=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],q=ArrayBuffer.isView||function(e){return e&&-1<K.indexOf(Object.prototype.toString.call(e))}),ve.prototype.append=function(e,t){e=ge(e),t=be(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ve.prototype.delete=function(e){delete this.map[ge(e)]},ve.prototype.get=function(e){return e=ge(e),this.has(e)?this.map[e]:null},ve.prototype.has=function(e){return this.map.hasOwnProperty(ge(e))},ve.prototype.set=function(e,t){this.map[ge(e)]=be(t)},ve.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ve.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),ye(n)},ve.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ye(t)},ve.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),ye(n)},pe&&(ve.prototype[Symbol.iterator]=ve.prototype.entries);var Ce=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ie(e,t){if(!(this instanceof Ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof Ie){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ve(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ve(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<Ce.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function xe(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function Se(e,t){if(!(this instanceof Se))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ve(t.headers),this.url=t.url||"",this._initBody(e)}Ie.prototype.clone=function(){return new Ie(this,{body:this._bodyInit})},Te.call(Ie.prototype),Te.call(Se.prototype),Se.prototype.clone=function(){return new Se(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ve(this.headers),url:this.url})},Se.error=function(){var e=new Se(null,{status:0,statusText:""});return e.type="error",e};var Re=[301,302,303,307,308];Se.redirect=function(e,t){if(-1===Re.indexOf(t))throw new RangeError("Invalid status code");return new Se(null,{status:t,headers:{location:e}})};var Be=ee.DOMException;try{new Be}catch(y){(Be=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Be.prototype.constructor=Be}function ke(r,i){return new Promise(function(o,e){var t=new Ie(r,i);if(t.signal&&t.signal.aborted)return e(new Be("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new ve,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;setTimeout(function(){o(new Se(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new Be("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&ee.location.href?ee.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(he?a.responseType="blob":fe&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!i||"object"!=typeof i.headers||i.headers instanceof ve?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(i.headers).forEach(function(e){a.setRequestHeader(e,be(i.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}ke.polyfill=!0,ee.fetch||(ee.fetch=ke,ee.Headers=ve,ee.Request=Ie,ee.Response=Se);var Le="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};self.fetch.bind(self);var Fe=function(e,t){return(Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function He(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Fe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ne(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function De(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function Ue(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function Pe(e){return"function"==typeof e}function je(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 Oe=je(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 Ge(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var _e=(Ze.prototype.unsubscribe=function(){var e,t,n,r,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var i=Ne(a),s=i.next();!s.done;s=i.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(Pe(a))try{a()}catch(e){o=e instanceof Oe?e.errors:[e]}a=this._teardowns;if(a){this._teardowns=null;try{for(var l=Ne(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{Qe(u)}catch(e){o=null!=o?o:[],e instanceof Oe?o=Ue(Ue([],De(o)),De(e.errors)):o.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(o)throw new Oe(o)}},Ze.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Qe(e);else{if(e instanceof Ze){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Ze.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Ze.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Ze.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ge(t,e)},Ze.prototype.remove=function(e){var t=this._teardowns;t&&Ge(t,e),e instanceof Ze&&e._removeParent(this)},Ze.EMPTY=((gn=new Ze).closed=!0,gn),Ze),We=_e.EMPTY;function Ze(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function ze(e){return e instanceof _e||e&&"closed"in e&&Pe(e.remove)&&Pe(e.add)&&Pe(e.unsubscribe)}function Qe(e){Pe(e)?e():e.unsubscribe()}var Ve=void 0,Ye=!1,Xe=!1,Je={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Je.delegate;return((null==n?void 0:n.setTimeout)||setTimeout).apply(void 0,Ue([],De(e)))},clearTimeout:function(e){var t=Je.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function $e(){}var Ke=null;function qe(e){if(Ye){var t=!Ke;if(t&&(Ke={errorThrown:!1,error:null}),e(),t){var n=Ke,t=n.errorThrown,n=n.error;if(Ke=null,t)throw n}}else e()}var et,tt,nt=(He(at,tt=_e),at.create=function(e,t,n){return new rt(e,t,n)},at.prototype.next=function(e){this.isStopped||this._next(e)},at.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},at.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},at.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,tt.prototype.unsubscribe.call(this),this.destination=null)},at.prototype._next=function(e){this.destination.next(e)},at.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},at.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},at),rt=(He(ot,et=nt),ot);function ot(e,t,n){var r,o,a=et.call(this)||this;return Pe(e)?o=e:e&&(o=e.next,t=e.error,n=e.complete,a&&Xe?(r=Object.create(e)).unsubscribe=function(){return a.unsubscribe()}:r=e,o=null==o?void 0:o.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),a.destination={next:o?it(o):$e,error:it(null!=t?t:st),complete:n?it(n):$e},a}function at(e){var t=tt.call(this)||this;return t.isStopped=!1,e?ze(t.destination=e)&&e.add(t):t.destination=lt,t}function it(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,Ue([],De(e)))}catch(e){t=e,Je.setTimeout(function(){throw t})}}}function st(e){throw e}var lt={closed:!0,next:$e,error:st,complete:$e},ct="function"==typeof Symbol&&Symbol.observable||"@@observable";function ut(e){return e}var dt=(pt.prototype.lift=function(e){var t=new pt;return t.source=this,t.operator=e,t},pt.prototype.subscribe=function(e,t,n){var r,o=this,a=(r=e)&&r instanceof nt||r&&Pe(r.next)&&Pe(r.error)&&Pe(r.complete)&&ze(r)?e:new rt(e,t,n);return qe(function(){var e=o.operator,t=o.source;a.add(e?e.call(a,t):t?o._subscribe(a):o._trySubscribe(a))}),a},pt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},pt.prototype.forEach=function(r,e){var o=this;return new(e=ht(e))(function(e,t){var n=o.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},pt.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},pt.prototype[ct]=function(){return this},pt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?ut:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},pt.prototype.toPromise=function(e){var r=this;return new(e=ht(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},pt.create=function(e){return new pt(e)},pt);function pt(e){e&&(this._subscribe=e)}function ht(e){return null!==(e=null!=e?e:Ve)&&void 0!==e?e:Promise}var mt,ft,gt,bt=je(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),yt=(He(Tt,gt=dt),Tt.prototype.lift=function(e){var t=new vt(this,this);return t.operator=e,t},Tt.prototype._throwIfClosed=function(){if(this.closed)throw new bt},Tt.prototype.next=function(a){var i=this;qe(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){var n=i.observers.slice();try{for(var r=Ne(n),o=r.next();!o.done;o=r.next())o.value.next(a)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Tt.prototype.error=function(t){var n=this;qe(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},Tt.prototype.complete=function(){var t=this;qe(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Tt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Tt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Tt.prototype._trySubscribe=function(e){return this._throwIfClosed(),gt.prototype._trySubscribe.call(this,e)},Tt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Tt.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?We:(r.push(e),new _e(function(){return Ge(r,e)}))},Tt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Tt.prototype.asObservable=function(){var e=new dt;return e.source=this,e},Tt.create=function(e,t){return new vt(e,t)},Tt),vt=(He(Mt,ft=yt),Mt.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},Mt.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},Mt.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},Mt.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:We},Mt),wt={now:function(){return(wt.delegate||Date).now()},delegate:void 0},Et=(He(At,mt=yt),At.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,o=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),o||r.push(a.now()+t)),this._trimBuffer(),mt.prototype.next.call(this,e)},At.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),o=0;o<r.length&&!e.closed;o+=n?1:2)e.next(r[o]);return this._checkFinalizedStatuses(e),t},At.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var a=t.now(),i=0,s=1;s<n.length&&n[s]<=a;s+=2)i=s;i&&n.splice(0,i+1)}},At);function At(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=wt);var r=mt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function Mt(e,t){var n=ft.call(this)||this;return n.destination=e,n.source=t,n}function Tt(){var e=gt.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ct=[],It={};const xt=[];function St(r,o=y){let a;const i=new Set;function s(e){if(t(r,e)&&(r=e,a)){const e=!xt.length;for(const e of i)e[1](),xt.push(e,r);if(e){for(let e=0;e<xt.length;e+=2)xt[e][0](xt[e+1]);xt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=y){const n=[e,t];return i.add(n),1===i.size&&(a=o(s)||y),e(r),()=>{i.delete(n),0===i.size&&(a(),a=null)}}}}function Rt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:St(t,t=>{let n=!1;const r=[];let o=0,a=y;const i=()=>{var e;o||(a(),e=s(l?r[0]:r,t),u?t(e):a=g(e)?e:y)},e=c.map((e,t)=>h(e,e=>{r[t]=e,o&=~(1<<t),n&&i()},()=>{o|=1<<t}));return n=!0,i(),function(){te(e),a()}}).subscribe}}function Bt(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===kt));var t}var kt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Lt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ut(Array.isArray(e)?[]:{},e,t):e}function Ft(e,t,n){return e.concat(t).map(function(e){return Lt(e,n)})}function Ht(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Nt(e,t){try{return t in e}catch(e){return!1}}function Dt(r,o,a){var i={};return a.isMergeableObject(r)&&Ht(r).forEach(function(e){i[e]=Lt(r[e],a)}),Ht(o).forEach(function(t){var e,n;(!Nt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Nt(r,t)&&a.isMergeableObject(o[t])?i[t]=function(e){if(!e.customMerge)return Ut;e=e.customMerge(t);return"function"==typeof e?e:Ut}(a)(r[t],o[t],a):i[t]=Lt(o[t],a))}),i}function Ut(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Ft,n.isMergeableObject=n.isMergeableObject||Bt,n.cloneUnlessOtherwiseSpecified=Lt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Dt(e,t,n):Lt(t,n)}Ut.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Ut(e,t,n)},{})};var Pt=Ut,jt=function(e,t){return(jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Ot(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}jt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Gt,_t,Wt,Zt=function(){return(Zt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function zt(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function Qt(e){return e.type===_t.literal}function Vt(e){return e.type===_t.number}function Yt(e){return e.type===_t.date}function Xt(e){return e.type===_t.time}function Jt(e){return e.type===_t.select}function $t(e){return e.type===_t.plural}function Kt(e){return e.type===_t.tag}function qt(e){return e&&"object"==typeof e&&e.type===Wt.number}function en(e){return e&&"object"==typeof e&&e.type===Wt.dateTime}(bn=Gt=Gt||{})[bn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",bn[bn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",bn[bn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",bn[bn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",bn[bn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",bn[bn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",bn[bn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",bn[bn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",bn[bn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",bn[bn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",bn[bn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",bn[bn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",bn[bn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",bn[bn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",bn[bn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",bn[bn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",bn[bn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",bn[bn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",bn[bn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",bn[bn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",bn[bn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",bn[bn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",bn[bn.INVALID_TAG=23]="INVALID_TAG",bn[bn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",bn[bn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",bn[bn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(yn=_t=_t||{})[yn.literal=0]="literal",yn[yn.argument=1]="argument",yn[yn.number=2]="number",yn[yn.date=3]="date",yn[yn.time=4]="time",yn[yn.select=5]="select",yn[yn.plural=6]="plural",yn[yn.pound=7]="pound",yn[yn.tag=8]="tag",(vn=Wt=Wt||{})[vn.number=0]="number",vn[vn.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,tn=/(?:[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 nn,rn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,on=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,an=/^(@+)?(\+|#+)?$/g,sn=/(\*)(0+)|(#+)(0+)|(0+)/g,ln=/^(0+)$/;function cn(e){var r={};return e.replace(an,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function un(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 dn(e){return un(e)||{}}function pn(e){for(var i={},t=0,n=e;t<n.length;t++){var r,o=n[t];switch(o.stem){case"percent":case"%":i.style="percent";continue;case"%x100":i.style="percent",i.scale=100;continue;case"currency":i.style="currency",i.currency=o.options[0];continue;case"group-off":case",_":i.useGrouping=!1;continue;case"precision-integer":case".":i.maximumFractionDigits=0;continue;case"measure-unit":case"unit":i.style="unit",i.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":i.notation="compact",i.compactDisplay="short";continue;case"compact-long":case"KK":i.notation="compact",i.compactDisplay="long";continue;case"scientific":i=Zt(Zt(Zt({},i),{notation:"scientific"}),o.options.reduce(function(e,t){return Zt(Zt({},e),dn(t))},{}));continue;case"engineering":i=Zt(Zt(Zt({},i),{notation:"engineering"}),o.options.reduce(function(e,t){return Zt(Zt({},e),dn(t))},{}));continue;case"notation-simple":i.notation="standard";continue;case"unit-width-narrow":i.currencyDisplay="narrowSymbol",i.unitDisplay="narrow";continue;case"unit-width-short":i.currencyDisplay="code",i.unitDisplay="short";continue;case"unit-width-full-name":i.currencyDisplay="name",i.unitDisplay="long";continue;case"unit-width-iso-code":i.currencyDisplay="symbol";continue;case"scale":i.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(sn,function(e,t,n,r,o,a){if(t)i.minimumIntegerDigits=n.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ln.test(o.stem))i.minimumIntegerDigits=o.stem.length;else if(on.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(on,function(e,t,n,r,o,a){return"*"===n?i.minimumFractionDigits=t.length:r&&"#"===r[0]?i.maximumFractionDigits=r.length:o&&a?(i.minimumFractionDigits=o.length,i.maximumFractionDigits=o.length+a.length):(i.minimumFractionDigits=t.length,i.maximumFractionDigits=t.length),""}),o.options.length&&(i=Zt(Zt({},i),cn(o.options[0])))}else an.test(o.stem)?i=Zt(Zt({},i),cn(o.stem)):((r=un(o.stem))&&(i=Zt(Zt({},i),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!ln.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(i=Zt(Zt({},i),r)))}return i}var hn=new RegExp("^"+e.source+"*"),mn=new RegExp(e.source+"*$");function fn(e,t){return{start:e,end:t}}var gn=!!String.prototype.startsWith,ct=!!String.fromCodePoint,yt=!!Object.fromEntries,bn=!!String.prototype.codePointAt,yn=!!String.prototype.trimStart,vn=!!String.prototype.trimEnd,wn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(nn=Rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===nn?void 0:nn[0])}catch(y){e=!1}var En,An,Mn=gn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Tn=ct?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,a=0;a<o;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Cn=yt?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],a=o[0],o=o[1];t[a]=o}return t},In=bn?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,o=e.charCodeAt(t);return o<55296||56319<o||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?o:r-56320+(o-55296<<10)+65536}},xn=yn?function(e){return e.trimStart()}:function(e){return e.replace(hn,"")},Sn=vn?function(e){return e.trimEnd()}:function(e){return e.replace(mn,"")};function Rn(e,t){return new RegExp(e,t)}An=e?(En=Rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return En.lastIndex=t,null!==(e=En.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var o=In(e,t);if(void 0===o||Fn(o)||(33<=(n=o)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(o),t+=65536<=o?2:1}return Tn.apply(void 0,r)};var Bn=(kn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},kn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o,a=this.char();if(123===a){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Gt.UNMATCHED_CLOSING_TAG,fn(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Ln(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{a=this.clonePosition();this.bump(),r.push({type:_t.pound,location:fn(a,this.clonePosition())})}}}return{val:r,err:null}},kn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:_t.literal,value:"<"+r+"/>",location:fn(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ln(this.char()))return this.error(Gt.INVALID_TAG,fn(t,this.clonePosition()));o=this.clonePosition();return r!==this.parseTagName()?this.error(Gt.UNMATCHED_CLOSING_TAG,fn(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:_t.tag,value:r,children:e,location:fn(n,this.clonePosition())},err:null}:this.error(Gt.INVALID_TAG,fn(t,this.clonePosition())))}return this.error(Gt.UNCLOSED_TAG,fn(n,this.clonePosition()))}return this.error(Gt.INVALID_TAG,fn(n,this.clonePosition()))},kn.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())},kn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{o=this.tryParseUnquoted(e,t);if(o)r+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}n=fn(n,this.clonePosition());return{val:{type:_t.literal,value:r,location:n},err:null}},kn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ln(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},kn.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Tn.apply(void 0,t)},kn.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Tn(n))},kn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Gt.EXPECT_ARGUMENT_CLOSING_BRACE,fn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Gt.EMPTY_ARGUMENT,fn(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Gt.MALFORMED_ARGUMENT,fn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Gt.EXPECT_ARGUMENT_CLOSING_BRACE,fn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:_t.argument,value:r,location:fn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Gt.EXPECT_ARGUMENT_CLOSING_BRACE,fn(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Gt.MALFORMED_ARGUMENT,fn(n,this.clonePosition()))}},kn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=An(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:fn(e,this.clonePosition())}},kn.prototype.parseArgumentOptions=function(e,t,n,r){var o,a=this.clonePosition(),i=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(i){case"":return this.error(Gt.EXPECT_ARGUMENT_TYPE,fn(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((p=this.parseSimpleArgStyleIfPossible()).err)return p;if(0===(d=Sn(p.val)).length)return this.error(Gt.EXPECT_ARGUMENT_STYLE,fn(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:fn(c,this.clonePosition())}}if((h=this.tryParseArgumentClose(r)).err)return h;var u=fn(r,this.clonePosition());if(l&&Mn(null==l?void 0:l.style,"::",0)){c=xn(l.style.slice(2));if("number"===i)return(p=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?p:{val:{type:_t.number,value:n,location:u,style:p.val},err:null};if(0===c.length)return this.error(Gt.EXPECT_DATE_TIME_SKELETON,u);var d={type:Wt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(tn,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):{}};return{val:{type:"date"===i?_t.date:_t.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===i?_t.number:"date"===i?_t.date:_t.time,value:n,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Gt.EXPECT_SELECT_ARGUMENT_OPTIONS,fn(l,Zt({},l)));this.bumpSpace();var p,u=this.parseIdentifierIfPossible(),l=0;if("select"!==i&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(Gt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,fn(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(Gt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Gt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=p.val}u=this.tryParsePluralOrSelectOptions(e,i,t,u);if(u.err)return u;if((h=this.tryParseArgumentClose(r)).err)return h;var h=fn(r,this.clonePosition());return"select"===i?{val:{type:_t.select,value:n,options:Cn(u.val),location:h},err:null}:{val:{type:_t.plural,value:n,options:Cn(u.val),offset:l,pluralType:"plural"===i?"cardinal":"ordinal",location:h},err:null};default:return this.error(Gt.INVALID_ARGUMENT_TYPE,fn(a,s))}},kn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Gt.EXPECT_ARGUMENT_CLOSING_BRACE,fn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},kn.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Gt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,fn(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},kn.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(rn).filter(function(e){return 0<e.length});n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],o=o.slice(1),i=0,s=o;i<s.length;i++)if(0===s[i].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:o})}return t}(e)}catch(e){return this.error(Gt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Wt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?pn(n):{}},err:null}},kn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o=!1,a=[],i=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Gt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Gt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=fn(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(i.has(s))return this.error("select"===t?Gt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Gt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Gt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Gt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,fn(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;c=this.tryParseArgumentClose(d);if(c.err)return c;a.push([s,{value:u.val,location:fn(d,this.clonePosition())}]),i.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?Gt.EXPECT_SELECT_ARGUMENT_SELECTOR:Gt.EXPECT_PLURAL_ARGUMENT_SELECTOR,fn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Gt.MISSING_OTHER_CLAUSE,fn(this.clonePosition(),this.clonePosition())):{val:a,err:null}},kn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var i=this.char();if(!(48<=i&&i<=57))break;o=!0,a=10*a+(i-48),this.bump()}r=fn(r,this.clonePosition());return o?wn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},kn.prototype.offset=function(){return this.position.offset},kn.prototype.isEOF=function(){return this.offset()===this.message.length},kn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},kn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=In(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},kn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},kn.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))},kn.prototype.bumpIf=function(e){if(Mn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},kn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},kn.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},kn.prototype.bumpSpace=function(){for(;!this.isEOF()&&Fn(this.char());)this.bump()},kn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},kn);function kn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Ln(e){return 97<=e&&e<=122||65<=e&&e<=90}function Fn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Hn(e,t){t=Zt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Bn(e,t).parse();if(n.err){e=SyntaxError(Gt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Jt(e)||$t(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Vt(e)&&qt(e.style)||(Yt(e)||Xt(e))&&en(e.style)?delete e.style.location:Kt(e)&&n(e.children)})}(n.val),n.val}function Nn(e,t){var n=t&&t.cache?t.cache:_n,r=t&&t.serializer?t.serializer:jn;return(t&&t.strategy?t.strategy:function(e,t){return Pn(e,this,1===e.length?Dn:Un,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Dn(e,t,n,r){var o=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(o);return void 0===n&&(n=e.call(this,r),t.set(o,n)),n}function Un(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),n=t.get(o);return void 0===n&&(n=e.apply(this,r),t.set(o,n)),n}function Pn(e,t,n,r,o){return n.bind(t,e,r,o)}var jn=function(){return JSON.stringify(arguments)};function On(){this.cache=Object.create(null)}On.prototype.has=function(e){return e in this.cache},On.prototype.get=function(e){return this.cache[e]},On.prototype.set=function(e,t){this.cache[e]=t};var Gn,_n={create:function(){return new On}},Wn={variadic:function(e,t){return Pn(e,this,Un,t.cache.create(),t.serializer)},monadic:function(e,t){return Pn(e,this,Dn,t.cache.create(),t.serializer)}};(e=Gn=Gn||{}).MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";var Zn,zn,Qn,Vn,Yn,Xn=(Ot(nr,Yn=Error),nr.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},nr),Jn=(Ot(tr,Vn=Xn),tr),$n=(Ot(er,Qn=Xn),er),Kn=(Ot(qn,zn=Xn),qn);function qn(e,t){return zn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Gn.MISSING_VALUE,t)||this}function er(e,t,n){return Qn.call(this,'Value for "'+e+'" must be of type '+t,Gn.INVALID_VALUE,n)||this}function tr(e,t,n,r){return Vn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',Gn.INVALID_VALUE,r)||this}function nr(e,t,n){e=Yn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function rr(e,t,n,r,o,a,i){if(1===e.length&&Qt(e[0]))return[{type:Zn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Qt(u))s.push({type:Zn.literal,value:u.value});else if(u.type===_t.pound)"number"==typeof a&&s.push({type:Zn.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(o&&d in o))throw new Kn(d,i);var p=o[d];if(u.type===_t.argument)p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),s.push({type:"string"==typeof p?Zn.literal:Zn.object,value:p});else if(Yt(u)){var h="string"==typeof u.style?r.date[u.style]:en(u.style)?u.style.parsedOptions:void 0;s.push({type:Zn.literal,value:n.getDateTimeFormat(t,h).format(p)})}else if(Xt(u))h="string"==typeof u.style?r.time[u.style]:en(u.style)?u.style.parsedOptions:void 0,s.push({type:Zn.literal,value:n.getDateTimeFormat(t,h).format(p)});else if(Vt(u))(h="string"==typeof u.style?r.number[u.style]:qt(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(p*=h.scale||1),s.push({type:Zn.literal,value:n.getNumberFormat(t,h).format(p)});else{if(Kt(u)){var m=u.children,f=u.value,d=o[f];if("function"!=typeof d)throw new $n(f,"function",i);m=d(rr(m,t,n,r,o,a).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?Zn.literal:Zn.object,value:e}}))}if(Jt(u)){if(!(g=u.options[p]||u.options.other))throw new Jn(u.value,p,Object.keys(u.options),i);s.push.apply(s,rr(g.value,t,n,r,o))}else if($t(u)){if(!(g=u.options["="+p])){if(!Intl.PluralRules)throw new Xn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Gn.MISSING_INTL_API,i);var m=n.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new Jn(u.value,p,Object.keys(u.options),i);s.push.apply(s,rr(g.value,t,n,r,o,p-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Zn.literal&&t.type===Zn.literal?n.value+=t.value:e.push(t),e},[])}function or(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=Zn=Zn||{})[e.literal=0]="literal",e[e.object=1]="object";var ar=(Object.defineProperty(ir,"defaultLocale",{get:function(){return ir.memoizedDefaultLocale=!ir.memoizedDefaultLocale?(new Intl.NumberFormat).resolvedOptions().locale:ir.memoizedDefaultLocale},enumerable:!1,configurable:!0}),ir.memoizedDefaultLocale=null,ir.__parse=Hn,ir.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"}}},ir);function ir(e,t,n,r){var o,a,i=this;if(void 0===t&&(t=ir.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=i.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===Zn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return rr(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},"string"==typeof e){if(this.message=e,!ir.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ir.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}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=ir.formats,(a=n)?Object.keys(o).reduce(function(e,t){var n,r;return e[t]=(n=o[t],(r=a[t])?Zt(Zt(Zt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=Zt(Zt({},n[t]),r[t]||{}),e},{})):n),e},Zt({},o)):o),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:Nn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,zt([void 0],t)))},{cache:or((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:Wn.variadic}),getDateTimeFormat:Nn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,zt([void 0],t)))},{cache:or(r.dateTime),strategy:Wn.variadic}),getPluralRules:Nn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,zt([void 0],t)))},{cache:or(r.pluralRules),strategy:Wn.variadic})}}const sr={},lr=(e,t,n)=>n&&(t in sr||(sr[t]={}),e in sr[t]||(sr[t][e]=n),n),cr=(t,n)=>{if(null!=n){if(n in sr&&t in sr[n])return sr[n][t];var r,o=Cr(n);for(let e=0;e<o.length;e++){var a=(r=o[e],a=t,pr(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return ur[e]||null}(r),a):null);if(a)return lr(t,n,a)}}};let ur;const dr=St({});function pr(e){return e in ur}function hr(t,...n){delete sr[t],dr.update(e=>(e[t]=Pt.all([e[t]||{},...n]),e))}Rt([dr],([e])=>Object.keys(e)),dr.subscribe(e=>ur=e);const mr={};function fr(e){return mr[e]}function gr(e){return Cr(e).some(e=>{return null===(e=fr(e))||void 0===e?void 0:e.size})}const br={};function yr(e){if(!gr(e))return e in br?br[e]:void 0;const t=Cr(e).map(e=>{var t=fr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return br[e]=Promise.all(t.map(([e,t])=>function(t,e){return Promise.all(e.map(e=>(function(e,t){mr[e].delete(t),0===mr[e].size&&delete mr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>hr(t,...e))}(e,t))).then(()=>gr(e)?yr(e):void delete br[e]),br[e]}function vr(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}const wr={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const Er=St(!1);let Ar;const Mr=St(null);function Tr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Cr(e,t=wr.fallbackLocale){e=Tr(e);return t?[...new Set([...e,...Tr(t)])]:e}Mr.subscribe(e=>{Ar=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Ir=Mr.set;Mr.set=t=>{if(function(e){if(null!=e){var t=Cr(e);for(let e=0;e<t.length;e++){var n=t[e];if(pr(n))return n}}}(t)&&gr(t)){var n=wr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ar&&n?e=window.setTimeout(()=>Er.set(!0),n):Er.set(!0),yr(t).then(()=>{Ir(t)}).finally(()=>{clearTimeout(e),Er.set(!1)})}return Ir(t)},Mr.update=e=>Ir(e(Ar));const xr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Sr=(e,t)=>{var n=wr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Rr=xr(e=>{var{locale:t,format:n}=e,e=vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Sr("number",n)),new Intl.NumberFormat(t,e)}),Br=xr(e=>{var{locale:t,format:n}=e,e=vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Sr("date",n):0===Object.keys(e).length&&(e=Sr("date","short")),new Intl.DateTimeFormat(t,e)}),kr=xr(e=>{var{locale:t,format:n}=e,e=vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Sr("time",n):0===Object.keys(e).length&&(e=Sr("time","short")),new Intl.DateTimeFormat(t,e)}),Lr=xr((e,t=Ar)=>new ar(e,t,wr.formats,{ignoreTag:wr.ignoreTag})),Fr=Rt([Mr,dr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=Ar,default:o}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let a=cr(e,r);if(a){if("string"!=typeof a)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof a}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),a}else console.warn(`[svelte-i18n] The message "${e}" was not found in "${Cr(r).join('", "')}".`+(gr(Ar)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":"")),a=o||e;if(!n)return a;let i=a;try{i=Lr(a,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return i});Rt([Mr],()=>(e,t)=>((e={})=>{var{locale:t=Ar}=e,e=vr(e,["locale"]);return kr(Object.assign({locale:t},e))})(t).format(e)),Rt([Mr],()=>(e,t)=>((e={})=>{var{locale:t=Ar}=e,e=vr(e,["locale"]);return Br(Object.assign({locale:t},e))})(t).format(e)),Rt([Mr],()=>(e,t)=>((e={})=>{var{locale:t=Ar}=e,e=vr(e,["locale"]);return Rr(Object.assign({locale:t},e))})(t).format(e)),Rt([Mr,dr],()=>(e,t=Ar)=>cr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ct.indexOf(e)&&(t=new Et(t),It[e]=t,Ct.push(e)),It[e]}};const Hr=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)),Nr={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"},fallbackSecondaryMenu:{promotions:"Promotions"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},fallbackSecondaryMenu:{promotions:"Promosyonlar"}},ro:{headerItem:{login:"Autentificare",register:"Inregistreaza-te",deposit:"Depozit"},fallbackSecondaryMenu:{promotions:"Promotii"}}},Dr={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"},fallbackMainMenu:{sports:"Sports",casino:"Casino",liveCasino:"Live Casino",virtualSports:"Virtual Sports",tournaments:"Tournaments"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},fallbackMainMenu:{sports:"Spor Dalları",casino:"Kumarhane",liveCasino:"Canlı kumarhane",virtualSports:"Sanal Sporlar",tournaments:"Turnuvalar"}},ro:{headerItem:{login:"Autentificare",register:"Inregistreaza-te",deposit:"Depozit"},fallbackMainMenu:{sports:"Sport",casino:"Cazino",liveCasino:"Cazinou live",virtualSports:"Sport virtual",tournaments:"Turnee"}}};function Ur(e,t,n){const r=e.slice();return r[33]=t[n],r[35]=n,r}function Pr(t){let r,o=[],n=new Map,a=t[0];const i=e=>e[33].id;for(let e=0;e<a.length;e+=1){var s=Ur(t,a,e),l=i(s);n.set(l,o[e]=Gr(l,s))}return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=M()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);re(t,r,n)},p(e,t){295&t[0]&&(a=e[0],o=function(t,n,r,o,a,i,s,l,e,c,u,d){let p=t.length,h=i.length,m=p;const f={};for(;m--;)f[t[m].key]=m;const g=[],b=new Map,y=new Map;for(m=h;m--;){const t=d(a,i,m),l=r(t);let e=s.get(l);e?o&&e.p(t,n):(e=c(l,t),e.c()),b.set(l,g[m]=e),l in f&&y.set(l,Math.abs(m-f[l]))}const v=new Set,w=new Set;function E(e){Q(e,1),e.m(l,u),s.set(e.key,e),u=e.first,h--}for(;p&&h;){const n=g[h-1],r=t[p-1],o=n.key,a=r.key;n===r?(u=n.first,p--,h--):b.has(a)?!s.has(o)||v.has(o)?E(n):w.has(a)?p--:y.get(o)>y.get(a)?(w.add(o),E(n)):(v.add(a),p--):(e(r,s),p--)}for(;p--;){const n=t[p];b.has(n.key)||e(n,s)}for(;h;)E(g[h-1]);return g}(o,t,i,1,e,a,n,r.parentNode,X,Gr,r,Ur))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&oe(r)}}}function jr(e){let n,r,o,a=e[33].name+"",i="FAVORITES"===e[33].id?"("+e[1]+")":"";return{c(){n=ie(a),r=se(),o=ie(i)},m(e,t){re(e,n,t),re(e,r,t),re(e,o,t)},p(e,t){1&t[0]&&a!==(a=e[33].name+"")&&ue(n,a),3&t[0]&&i!==(i="FAVORITES"===e[33].id?"("+e[1]+")":"")&&ue(o,i)},d(e){e&&oe(n),e&&oe(r),e&&oe(o)}}}function Or(e){let n,r,o=e[33].label+"";return{c(){n=ae("a"),r=ie(o)},m(e,t){re(e,n,t),ne(n,r)},p(e,t){1&t[0]&&o!==(o=e[33].label+"")&&ue(r,o)},d(e){e&&oe(n)}}}function Gr(e,n){let r,o,a,i;function s(e){return"headerMain"===e[2]?Or:jr}let l=s(n),c=l(n);function u(...e){return n[21](n[33],n[35],...e)}return{key:e,first:null,c(){r=ae("li"),c.c(),o=se(),ce(r,"class","CarouselItem"),ce(r,"part","CarouselItem"),m(r,"active",n[5]==n[35]),this.first=r},m(e,t){re(e,r,t),c.m(r,null),ne(r,o),a||(i=le(r,"click",u),a=!0)},p(e,t){l===(l=s(n=e))&&c?c.p(n,t):(c.d(1),c=l(n),c&&(c.c(),c.m(r,o))),33&t[0]&&m(r,"active",n[5]==n[35])},d(e){e&&oe(r),c.d(),a=!1,i()}}}function _r(n){let r,o,a,i,s,l,c,u,d,p,h,m,f,g,b=0<n[0].length&&Pr(n);return{c(){r=ae("div"),o=ae("div"),a=ae("div"),a.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',i=se(),s=ae("ul"),b&&b.c(),l=se(),c=ae("div"),c.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=y,ce(a,"class","CarouselLeftArrow"),ce(a,"part","CarouselLeftArrow"),ce(s,"class","CarouselItems"),ce(s,"part","CarouselItems"),ce(c,"class","CarouselRightArrow"),ce(c,"part","CarouselRightArrow"),ce(o,"class",u="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),ce(o,"part",d="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),ce(o,"style",p="headerMain"===n[2]?"max-width: auto":`max-width: ${n[3]}px`),ce(r,"class",h="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":"")),ce(r,"part",m="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":""))},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(o,i),ne(o,s),b&&b.m(s,null),n[22](s),ne(o,l),ne(o,c),n[24](r),f||(g=[le(a,"click",n[20]),le(c,"click",n[23])],f=!0)},p(e,t){0<e[0].length?b?b.p(e,t):(b=Pr(e),b.c(),b.m(s,null)):b&&(b.d(1),b=null),4&t[0]&&u!==(u="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&ce(o,"class",u),4&t[0]&&d!==(d="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&ce(o,"part",d),12&t[0]&&p!==(p="headerMain"===e[2]?"max-width: auto":`max-width: ${e[3]}px`)&&ce(o,"style",p),4&t[0]&&h!==(h="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&ce(r,"class",h),4&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&ce(r,"part",m)},i:y,o:y,d(e){e&&oe(r),b&&b.d(),n[22](null),n[24](null),f=!1,te(g)}}}function Wr(t,e,n){let r;D(t,Fr,e=>n(25,r=e));let{sliderdata:o=[]}=e,{onclickeventname:a="defaultEvent"}=e,{actionevent:i="defaultEvent"}=e,{favoritesnumber:s="0"}=e,{location:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{identity:d=""}=e,{containermaxwidth:p=""}=e,{isprimarymenu:h=!1}=e,{issecondarymenu:m=!1}=e,{lang:f=""}=e,{activeindex:g=""}=e;var b,y;({withLocale:b,translations:y}={withLocale:"en",translations:{}}),Mr.subscribe(e=>{null==e&&(dr.set(y),Mr.set(b))}),Object.keys(Dr).forEach(e=>{hr(e,Dr[e])});let v,w,E,A="PC"!=((e=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),M=[{id:0,label:r("fallbackMainMenu.sports"),path:"/sports"},{id:1,label:r("fallbackMainMenu.casino"),path:"/casino"},{id:2,label:r("fallbackMainMenu.liveCasino"),path:"/live-casino"},{id:3,label:r("fallbackMainMenu.virtualSports"),path:"/virtual-sports"},{id:4,label:r("fallbackMainMenu.tournaments"),path:"/tournaments"}],T=(e,t)=>{n(5,w=t),window.postMessage({type:i,itemId:e.id,index:t,item:e},window.location.href)},C=()=>{v.scrollBy({left:-250,behavior:"smooth"})},I=()=>{v.scrollBy({left:250,behavior:"smooth"})};const x=e=>{"SliderData"==e.data.type&&e.data.identity==d&&n(0,o=e.data.data)};return j(()=>(h&&!o.length&&n(0,o=M),window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)})),t.$$set=e=>{"sliderdata"in e&&n(0,o=e.sliderdata),"onclickeventname"in e&&n(11,a=e.onclickeventname),"actionevent"in e&&n(12,i=e.actionevent),"favoritesnumber"in e&&n(1,s=e.favoritesnumber),"location"in e&&n(2,l=e.location),"clientstyling"in e&&n(13,c=e.clientstyling),"clientstylingurl"in e&&n(14,u=e.clientstylingurl),"identity"in e&&n(15,d=e.identity),"containermaxwidth"in e&&n(3,p=e.containermaxwidth),"isprimarymenu"in e&&n(16,h=e.isprimarymenu),"issecondarymenu"in e&&n(17,m=e.issecondarymenu),"lang"in e&&n(18,f=e.lang),"activeindex"in e&&n(19,g=e.activeindex)},t.$$.update=()=>{var e;524288&t.$$.dirty[0]&&(g||0==g)&&n(5,w=parseInt(g,10)),8192&t.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{E.appendChild(e)})})(),16384&t.$$.dirty[0]&&u&&(()=>{let t=document.createElement("style"),e=new URL(u);u&&fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{E.appendChild(t)},1)})})(),262144&t.$$.dirty[0]&&f&&(e=f,Mr.set(e))},[o,s,l,p,v,w,E,A,T,C,I,a,i,c,u,d,h,m,f,g,()=>C(),(e,t,n)=>T(e,t),function(e){F[e?"unshift":"push"](()=>{v=e,n(4,v)})},()=>I(),function(e){F[e?"unshift":"push"](()=>{E=e,n(6,E)})}]}function Zr(e,{delay:t=0,duration:n=400,easing:r=f}={}){const o=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*o}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:12.8px 19.2px;font-size:16px;text-align:center;line-height:25.6px;transition:all 150ms ease-in-out;white-space:nowrap}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:38.4px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-top:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",J(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Wr,_r,t,{sliderdata:0,onclickeventname:11,actionevent:12,favoritesnumber:1,location:2,clientstyling:13,clientstylingurl:14,identity:15,containermaxwidth:3,isprimarymenu:16,issecondarymenu:17,lang:18,activeindex:19},null,[-1,-1]),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),W()))}static get observedAttributes(){return["sliderdata","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex"]}get sliderdata(){return this.$$.ctx[0]}set sliderdata(e){this.$$set({sliderdata:e}),W()}get onclickeventname(){return this.$$.ctx[11]}set onclickeventname(e){this.$$set({onclickeventname:e}),W()}get actionevent(){return this.$$.ctx[12]}set actionevent(e){this.$$set({actionevent:e}),W()}get favoritesnumber(){return this.$$.ctx[1]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),W()}get location(){return this.$$.ctx[2]}set location(e){this.$$set({location:e}),W()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),W()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),W()}get identity(){return this.$$.ctx[15]}set identity(e){this.$$set({identity:e}),W()}get containermaxwidth(){return this.$$.ctx[3]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),W()}get isprimarymenu(){return this.$$.ctx[16]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),W()}get issecondarymenu(){return this.$$.ctx[17]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),W()}get lang(){return this.$$.ctx[18]}set lang(e){this.$$set({lang:e}),W()}get activeindex(){return this.$$.ctx[19]}set activeindex(e){this.$$set({activeindex:e}),W()}});const zr={en:{languageSelector:{language:"Select Language"}},tr:{languageSelector:{language:"Dil Seçin"}},ro:{languageSelector:{language:"Selecteaza limba"}}};function Qr(e,t,n){const r=e.slice();return r[0]=t[n],r}function Vr(e,t,n){const r=e.slice();return r[33]=t[n],r}function Yr(e,t,n){const r=e.slice();return r[36]=t[n],r}function Xr(n){let r,o,a,i,s,l,c,u,d,p,h,m,f,g,b,y,v,w,E,A,M,T,t,C,I,x,S=n[10]("languageSelector.language")+"",R=n[2],B=[];for(let e=0;e<R.length;e+=1)B[e]=Jr(Yr(n,R,e));let k=n[4],L=[];for(let e=0;e<k.length;e+=1)L[e]=$r(Vr(n,k,e));let F=n[8],H=[];for(let e=0;e<F.length;e+=1)H[e]=Kr(Qr(n,F,e));return{c(){r=ae("div"),o=ae("span"),a=ae("slot"),a.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>',l=se(),c=ae("div"),u=ae("ul");for(let e=0;e<B.length;e+=1)B[e].c();h=se(),m=ae("ul");for(let e=0;e<L.length;e+=1)L[e].c();b=se(),y=ae("div"),v=ae("span"),w=ie(S),E=se(),A=ae("select");for(let e=0;e<H.length;e+=1)H[e].c();ce(a,"name","close"),ce(o,"class",i=n[5]?"ModalCloseBtn":""),ce(o,"part",s=n[5]?"ModalCloseBtn":""),ce(o,"role","button"),ce(u,"class",d="HamburgerPrimaryMenu "+(n[6]?"HamburgerPrimaryMenuFixed":"")),ce(u,"part",p="HamburgerPrimaryMenu "+(n[6]?"HamburgerPrimaryMenuFixed":"")),ce(m,"class",f="HamburgerSecondaryMenu "+(n[6]?"HamburgerSecondaryMenuFixed":"")),ce(m,"part",g="HamburgerSecondaryMenu "+(n[6]?"HamburgerSecondaryMenuFixed":"")),ce(A,"class","Item ItemLanguage"),ce(A,"part","Item ItemLanguage"),void 0===n[9]&&G(()=>n[19].call(A)),ce(y,"class","LanguageSelectorTitle"),ce(y,"part","LanguageSelectorTitle"),ce(c,"class",M="HamburgerModalContainer "+(n[5]?"ActiveHamburgerMenu":"")),ce(c,"part",T="HamburgerModalContainer "+(n[5]?"ActiveHamburgerMenu":"")),ce(r,"class","HamburgerModalWindow"),ce(r,"part","HamburgerModalWindow")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(r,l),ne(r,c),ne(c,u);for(let e=0;e<B.length;e+=1)B[e].m(u,null);ne(c,h),ne(c,m);for(let e=0;e<L.length;e+=1)L[e].m(m,null);ne(c,b),ne(c,y),ne(y,v),ne(v,w),ne(y,E),ne(y,A);for(let e=0;e<H.length;e+=1)H[e].m(A,null);U(A,n[9]),n[21](r),C=!0,I||(x=[le(o,"click",n[11]),le(A,"change",n[19]),le(A,"change",n[20])],I=!0)},p(e,t){if(n=e,(!C||32&t[0]&&i!==(i=n[5]?"ModalCloseBtn":""))&&ce(o,"class",i),(!C||32&t[0]&&s!==(s=n[5]?"ModalCloseBtn":""))&&ce(o,"part",s),4108&t[0]){let e;for(R=n[2],e=0;e<R.length;e+=1){const o=Yr(n,R,e);B[e]?B[e].p(o,t):(B[e]=Jr(o),B[e].c(),B[e].m(u,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=R.length}if((!C||64&t[0]&&d!==(d="HamburgerPrimaryMenu "+(n[6]?"HamburgerPrimaryMenuFixed":"")))&&ce(u,"class",d),(!C||64&t[0]&&p!==(p="HamburgerPrimaryMenu "+(n[6]?"HamburgerPrimaryMenuFixed":"")))&&ce(u,"part",p),16&t[0]){let e;for(k=n[4],e=0;e<k.length;e+=1){const o=Vr(n,k,e);L[e]?L[e].p(o,t):(L[e]=$r(o),L[e].c(),L[e].m(m,null))}for(;e<L.length;e+=1)L[e].d(1);L.length=k.length}if((!C||64&t[0]&&f!==(f="HamburgerSecondaryMenu "+(n[6]?"HamburgerSecondaryMenuFixed":"")))&&ce(m,"class",f),(!C||64&t[0]&&g!==(g="HamburgerSecondaryMenu "+(n[6]?"HamburgerSecondaryMenuFixed":"")))&&ce(m,"part",g),(!C||1024&t[0])&&S!==(S=n[10]("languageSelector.language")+"")&&ue(w,S),256&t[0]){let e;for(F=n[8],e=0;e<F.length;e+=1){const o=Qr(n,F,e);H[e]?H[e].p(o,t):(H[e]=Kr(o),H[e].c(),H[e].m(A,null))}for(;e<H.length;e+=1)H[e].d(1);H.length=F.length}768&t[0]&&U(A,n[9]),(!C||32&t[0]&&M!==(M="HamburgerModalContainer "+(n[5]?"ActiveHamburgerMenu":"")))&&ce(c,"class",M),(!C||32&t[0]&&T!==(T="HamburgerModalContainer "+(n[5]?"ActiveHamburgerMenu":"")))&&ce(c,"part",T)},i(e){C||(G(()=>{t=t||Y(r,Zr,{transitionDuration:eo},!0),t.run(1)}),C=!0)},o(e){t=t||Y(r,Zr,{transitionDuration:eo},!1),t.run(0),C=!1},d(e){e&&oe(r),N(B,e),N(L,e),N(H,e),n[21](null),e&&t&&t.end(),I=!1,te(x)}}}function Jr(n){let r,o,a,i,s,l,c,u,d,p,h,m=n[36].label+"";function f(){return n[18](n[36])}return{c(){r=ae("li"),o=ae("div"),a=ae("img"),s=se(),l=ie(m),c=se(),k(a.src,i=n[36].img)||ce(a,"src",i),ce(a,"alt","menu icon"),ce(o,"class","HamburgerItemContainer"),ce(o,"part","HamburgerItemContainer"),ce(r,"class",u=n[3]===n[36].id?"ActiveItem":""),ce(r,"part",d=n[3]===n[36].id?"ActiveItem":"")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(o,s),ne(o,l),ne(r,c),p||(h=le(r,"click",f),p=!0)},p(e,t){n=e,4&t[0]&&!k(a.src,i=n[36].img)&&ce(a,"src",i),4&t[0]&&m!==(m=n[36].label+"")&&ue(l,m),12&t[0]&&u!==(u=n[3]===n[36].id?"ActiveItem":"")&&ce(r,"class",u),12&t[0]&&d!==(d=n[3]===n[36].id?"ActiveItem":"")&&ce(r,"part",d)},d(e){e&&oe(r),p=!1,h()}}}function $r(e){let n,r,o,a,i,s,l,c,u=e[33].label+"";return{c(){n=ae("li"),r=ae("a"),o=ae("img"),i=se(),s=ie(u),c=se(),k(o.src,a=e[33].img)||ce(o,"src",a),ce(o,"alt","menu icon"),ce(r,"href",l=e[33].path)},m(e,t){re(e,n,t),ne(n,r),ne(r,o),ne(r,i),ne(r,s),ne(n,c)},p(e,t){16&t[0]&&!k(o.src,a=e[33].img)&&ce(o,"src",a),16&t[0]&&u!==(u=e[33].label+"")&&ue(s,u),16&t[0]&&l!==(l=e[33].path)&&ce(r,"href",l)},d(e){e&&oe(n)}}}function Kr(e){let n,r,o,a=e[0]+"";return{c(){n=ae("option"),r=ie(a),n.__value=o=e[0],n.value=n.__value,n.selected=!0},m(e,t){re(e,n,t),ne(n,r)},p(e,t){256&t[0]&&a!==(a=e[0]+"")&&ue(r,a),256&t[0]&&o!==(o=e[0])&&(n.__value=o,n.value=n.__value)},d(e){e&&oe(n)}}}function qr(e){let n,r,o=!0===e[7]&&Xr(e);return{c(){o&&o.c(),n=M(),this.c=y},m(e,t){o&&o.m(e,t),re(e,n,t),r=!0},p(e,t){!0===e[7]?o?(o.p(e,t),128&t[0]&&Q(o,1)):(o=Xr(e),o.c(),Q(o,1),o.m(n.parentNode,n)):o&&(z={r:0,c:[],p:z},u(o,1,1,()=>{o=null}),z.r||te(z.c),z=z.p)},i(e){r||(Q(o),r=!0)},o(e){u(o),r=!1},d(e){o&&o.d(e),e&&oe(n)}}}let eo=350;function to(t,e,r){let n;D(t,Fr,e=>r(10,n=e));let o,a,{menuitemsurl:i=""}=e,{lang:s="en"}=e,{activecategory:l=""}=e,{languageslist:c=""}=e,u=window.navigator.userAgent,d=[],p="",h=[],m=!1,f=!1,g=!1,b=!0,y=[],v=!1,w="";Object.keys(zr).forEach(e=>{hr(e,zr[e])});const E=e=>{var n;"OpenHamburgerMenuModal"===e.data.type&&(window.postMessage({type:"DisableScroll"},window.location.href),r(7,g=!0),setTimeout(()=>{r(5,m=!0)},500),setTimeout(()=>{r(6,f=!0)},1500),n=i,new Promise((e,t)=>{a&&!v?e(a):M(n)}))},A=(e,t)=>{r(3,p=e),r(4,h=t||[])},M=e=>{fetch(e).then(e=>e.json()).then(e=>{r(2,d=e),d.length&&A(d[0].id,d[0].children),r(17,b=!1),a=e,v=!1},e=>{console.error(e)})},T=()=>{v=!0,window.postMessage({type:"LanguageChanged",selectedLanguage:w},window.location.href)};return j(()=>(window.addEventListener("message",E,!1),Hr(u),()=>{window.removeEventListener("message",E)})),t.$$set=e=>{"menuitemsurl"in e&&r(14,i=e.menuitemsurl),"lang"in e&&r(0,s=e.lang),"activecategory"in e&&r(15,l=e.activecategory),"languageslist"in e&&r(16,c=e.languageslist)},t.$$.update=()=>{var e;65537&t.$$.dirty[0]&&s&&c&&(e=s,Mr.set(e),v&&M(i),r(8,y=c.replace(/ /g,"").split(",")),r(8,y=y.map(e=>e.toUpperCase())),r(9,w=s.toUpperCase())),163840&t.$$.dirty[0]&&l&&!b&&(0<(e=d.filter(e=>e.path==l)).length&&A(e[0].id,e[0].children))},[s,void 0,d,p,h,m,f,g,y,w,n,()=>{r(7,g=!1),r(5,m=!1),r(6,f=!1),window.postMessage({type:"CloseHamburgerMenu",showhamburger:!0},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},A,T,i,l,c,b,e=>A(e.id,e.children),function(){w=P(this),r(9,w),r(8,y)},()=>T(),function(e){F[e?"unshift":"push"](()=>{o=e,r(1,o)})}]}customElements.get("casino-hamburger-menu")||customElements.define("casino-hamburger-menu",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>.LanguageSelectorTitle{width:94%;position:absolute;bottom:3%}.LanguageSelectorTitle span{display:inline;color:var(--emfe-w-color-gray-150, #828282);margin:0 20px;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:88%;margin:0 20px;text-align:left;line-height:34px;background:transparent;color:var(--emfe-w-color-white, #FFFFFF);border:none}.ItemLanguage option{color:var(--emfe-w-color-contrast, #07072A)}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:10;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-color-black, #000000);width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width .4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:9px;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-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-color-contrast, #07072A);white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid 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-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}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emfe-w-color-white, #FFFFFF);font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emfe-w-color-primary, #D0046C)}</style>",J(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},to,qr,t,{menuitemsurl:14,lang:0,activecategory:15,languageslist:16},null,[-1,-1]),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),W()))}static get observedAttributes(){return["menuitemsurl","lang","activecategory","languageslist"]}get menuitemsurl(){return this.$$.ctx[14]}set menuitemsurl(e){this.$$set({menuitemsurl:e}),W()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),W()}get activecategory(){return this.$$.ctx[15]}set activecategory(e){this.$$set({activecategory:e}),W()}get languageslist(){return this.$$.ctx[16]}set languageslist(e){this.$$set({languageslist:e}),W()}});const no={en:{balanceModal:{balanceTitle:"Your Balance",totalBalance:"Total Balance",cashBalance:"Cash Balance",bonusBalance:"Bonus Balance",depositButton:"Deposit"}},de:{balanceModal:{balanceTitle:"Dein Kontostand",totalBalance:"Gesamtsaldo",cashBalance:"Barguthaben",bonusBalance:"Bonusguthaben",depositButton:"Anzahlung"}},it:{balanceModal:{balanceTitle:"Il tuo bilancio",totalBalance:"Saldo totale",cashBalance:"Saldo in contanti",bonusBalance:"Saldo bonus",depositButton:"Depositare"}},fr:{balanceModal:{balanceTitle:"Votre solde",totalBalance:"Solde total",cashBalance:"Solde de trésorerie",bonusBalance:"Solde du bonus",depositButton:"Dépôt"}},es:{balanceModal:{balanceTitle:"Tu balance",totalBalance:"Balance total",cashBalance:"Saldo en efectivo",bonusBalance:"Saldo de bonificación",depositButton:"Depositar"}},tr:{balanceModal:{balanceTitle:"Bakiyeniz",totalBalance:"Toplam Bakiye",cashBalance:"Nakit dengesi",bonusBalance:"Bonus Bakiyesi",depositButton:"Depozito"}},ru:{balanceModal:{balanceTitle:"Ваш баланс",totalBalance:"Итоговый баланс",cashBalance:"Денежных баланс",bonusBalance:"Бонусный баланс",depositButton:"Депозит"}},ro:{balanceModal:{balanceTitle:"Balanta Ta",totalBalance:"Balanta Totala",cashBalance:"Balanta Cash",bonusBalance:"Balanta Bonus",depositButton:"Depunere"}},hr:{balanceModal:{balanceTitle:"Vaše stanje",totalBalance:"Ukupno stanje",cashBalance:"Stanje gotovine",bonusBalance:"Bonus saldo",depositButton:"Polog"}},hu:{balanceModal:{balanceTitle:"Az egyensúlyod",totalBalance:"Teljes egyenleg",cashBalance:"Pénzforgalmi egyenleg",bonusBalance:"Bónuszegyenleg",depositButton:"Letét"}},pl:{balanceModal:{balanceTitle:"Twój balans",totalBalance:"Saldo całkowite",cashBalance:"Saldo środków pieniężnych",bonusBalance:"Saldo bonusowe",depositButton:"Depozyt"}},pt:{balanceModal:{balanceTitle:"Seu balanço",totalBalance:"Balanço total",cashBalance:"Saldo de caixa",bonusBalance:"Saldo de bônus",depositButton:"Depósito"}},sl:{balanceModal:{balanceTitle:"Vaše stanje",totalBalance:"Skupno stanje",cashBalance:"Stanje gotovine",bonusBalance:"Bonus stanje",depositButton:"Polog"}},sr:{balanceModal:{balanceTitle:"Стање",totalBalance:"Укупно стање",cashBalance:"Новчано стање",bonusBalance:"Бонус Баланце",depositButton:"Депозит"}}};var ro,oo,ao=(oo=(ro={path:void 0,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&ro.path)}}).exports,function(e){var r,k=e.setTimeout,L=e.clearTimeout,F=e.XMLHttpRequest,o=e.XDomainRequest,t=e.ActiveXObject,n=e.EventSource,a=e.document,d=e.Promise,p=e.fetch,i=e.Response,h=e.TextDecoder,s=e.TextEncoder,m=e.AbortController;function l(){this.bitsNeeded=0,this.codePoint=0}"undefined"==typeof window||void 0===a||"readyState"in a||null!=a.body||(a.readyState="loading",window.addEventListener("load",function(e){a.readyState="complete"},!1)),null==F&&null!=t&&(F=function(){return new t("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==m&&(r=p,p=function(e,t){var n=t.signal;return r(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then(function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}})},m=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}),l.prototype.decode=function(e){function t(e,t,n){if(1===n)return 128>>t<=e&&e<<t<=2047;if(2===n)return 2048>>t<=e&&e<<t<=55295||57344>>t<=e&&e<<t<=65535;if(3===n)return 65536>>t<=e&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return 15<t>>6?3:31<t?2:1;if(12===e)return 15<t?3:2;if(18===e)return 3;throw new Error}for(var r="",o=this.bitsNeeded,a=this.codePoint,i=0;i<e.length;i+=1){var s=e[i];0!==o&&(s<128||191<s||!t(a<<6|63&s,o-6,n(o,a)))&&(o=0,a=65533,r+=String.fromCharCode(a)),0===o?(a=0<=s&&s<=127?(o=0,s):192<=s&&s<=223?(o=6,31&s):224<=s&&s<=239?(o=12,15&s):240<=s&&s<=247?(o=18,7&s):(o=0,65533),0===o||t(a,o,n(o,a))||(o=0,a=65533)):(o-=6,a=a<<6|63&s),0===o&&(a<=65535?r+=String.fromCharCode(a):(r+=String.fromCharCode(55296+(a-65535-1>>10)),r+=String.fromCharCode(56320+(a-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=a,r},null!=h&&null!=s&&function(){try{return"test"===(new h).decode((new s).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}}()||(h=l);function u(){}function H(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 c(e){return e.replace(/[A-Z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+32)})}function f(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var o=n[r].split(": "),a=o.shift(),o=o.join(": ");t[c(a)]=o}this._map=t}function N(){}function g(e){this._headers=e}function D(){}function b(){this._listeners=Object.create(null)}function y(e){k(function(){throw e},0)}function v(e){this.type=e,this.target=void 0}function U(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 j(e,t){v.call(this,e),this.error=t.error}H.prototype.open=function(e,t){this._abort(!0);var o=this,a=this._xhr,i=1,n=0;this._abort=function(e){0!==o._sendTimeout&&(L(o._sendTimeout),o._sendTimeout=0),1!==i&&2!==i&&3!==i||(i=4,a.onload=u,a.onerror=u,a.onabort=u,a.onprogress=u,a.onreadystatechange=u,a.abort(),0!==n&&(L(n),n=0),e||(o.readyState=4,o.onabort(null),o.onreadystatechange())),i=0};function r(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:u}),l(),1===i||2===i||3===i){if(i=4,0!==n&&(L(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 s=function(){if(1===i){var t=0,n="",r=void 0;if("contentType"in a)t=200,n="OK",r=a.contentType;else try{t=a.status,n=a.statusText,r=a.getResponseHeader("Content-Type")}catch(e){n="",r=void(t=0)}0!==t&&(i=2,o.readyState=2,o.status=t,o.statusText=n,o._contentType=r,o.onreadystatechange())}},l=function(){if(s(),2===i||3===i){i=3;var e="";try{e=a.responseText}catch(e){}o.readyState=3,o.responseText=e,o.onprogress()}},c=function(){n=k(function(){c()},500),3===a.readyState&&l()};"onload"in a&&(a.onload=function(e){r("load",e)}),"onerror"in a&&(a.onerror=function(e){r("error",e)}),"onabort"in a&&(a.onabort=function(e){r("abort",e)}),"onprogress"in a&&(a.onprogress=l),"onreadystatechange"in a&&(a.onreadystatechange=function(e){e=e,null!=a&&(4===a.readyState?"onload"in a&&"onerror"in a&&"onabort"in a||r(""===a.responseText?"error":"load",e):3===a.readyState?"onprogress"in a||l():2===a.readyState&&s())}),!("contentType"in a)&&"ontimeout"in F.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),a.open(e,t,!0),"readyState"in a&&(n=k(function(){c()},0))},H.prototype.abort=function(){this._abort(!1)},H.prototype.getResponseHeader=function(e){return this._contentType},H.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},H.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},H.prototype.send=function(){if("ontimeout"in F.prototype&&("sendAsBinary"in F.prototype||"mozAnon"in F.prototype)||null==a||null==a.readyState||"complete"===a.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(e){throw e}}else{var t=this;t._sendTimeout=k(function(){t._sendTimeout=0,t.send()},4)}},f.prototype.get=function(e){return this._map[c(e)]},null!=F&&null==F.HEADERS_RECEIVED&&(F.HEADERS_RECEIVED=2),N.prototype.open=function(o,a,t,n,e,r,i){o.open("GET",e);var s,l=0;for(s in o.onprogress=function(){var e=o.responseText.slice(l);l+=e.length,t(e)},o.onerror=function(e){e.preventDefault(),n(new Error("NetworkError"))},o.onload=function(){n(null)},o.onabort=function(){n(null)},o.onreadystatechange=function(){var e,t,n,r;o.readyState===F.HEADERS_RECEIVED&&(e=o.status,t=o.statusText,n=o.getResponseHeader("Content-Type"),r=o.getAllResponseHeaders(),a(e,t,n,new f(r)))},o.withCredentials=r,i)Object.prototype.hasOwnProperty.call(i,s)&&o.setRequestHeader(s,i[s]);return o.send(),o},g.prototype.get=function(e){return this._headers.get(e)},D.prototype.open=function(e,t,o,n,r,a,i){var s=null,l=new m,c=l.signal,u=new h;return p(r,{headers:i,credentials:a?"include":"same-origin",signal:c,cache:"no-store"}).then(function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new g(e.headers)),new d(function(t,n){function r(){s.read().then(function(e){e.done?t(void 0):(e=u.decode(e.value,{stream:!0}),o(e),r())}).catch(function(e){n(e)})}r()})}).catch(function(e){return"AbortError"===e.name?void 0:e}).then(function(e){n(e)}),{abort:function(){null!=s&&s.cancel(),l.abort()}}},b.prototype.dispatchEvent=function(e){var t=(e.target=this)._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var o=t[r];try{"function"==typeof o.handleEvent?o.handleEvent(e):o.call(this,e)}catch(e){y(e)}}},b.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(n[e]=r=[]);for(var o=!1,a=0;a<r.length;a+=1)r[a]===t&&(o=!0);o||r.push(t)},b.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var o=[],a=0;a<r.length;a+=1)r[a]!==t&&o.push(r[a]);0===o.length?delete n[e]:n[e]=o}},U.prototype=Object.create(v.prototype),P.prototype=Object.create(v.prototype),j.prototype=Object.create(v.prototype);function O(e,t){return e=null==e?t:parseInt(e,10),W(e=e!=e?t:e)}function G(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){y(e)}}var _=/^text\/event\-stream(;.*)?$/i,W=function(e){return Math.min(Math.max(e,1e3),18e6)};function w(e,t){b.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,function(l,a,e){a=String(a);var t=Boolean(e.withCredentials),i=e.lastEventIdQueryParameterName||"lastEventId",c=W(1e3),u=O(e.heartbeatTimeout,45e3),d="",p=c,h=!1,m=0,n=e.headers||{},e=e.Transport,s=Z&&null==e?void 0:new H(new(null!=e?e:null!=F&&"withCredentials"in F.prototype||null==o?F:o)),f=new(null!=e&&"string"!=typeof e?e:null==s?D:N),g=void 0,b=0,y=-1,v="",w="",E="",A="",M=0,T=0,C=0,I=function(e,t,n,r){var o,a;0===y&&(200===e&&null!=n&&_.test(n)?(y=1,h=Date.now(),p=c,l.readyState=1,o=new P("open",{status:e,statusText:t,headers:r}),l.dispatchEvent(o),G(l,l.onopen,o)):(a="",a=200!==e?"EventSource's response has a status "+e+" "+(t=t&&t.replace(/\s+/g," "))+" that is not 200. Aborting the connection.":"EventSource's response has a Content-Type specifying an unsupported type: "+(null==n?"-":n.replace(/\s+/g," "))+". Aborting the connection.",R(),o=new P("error",{status:e,statusText:t,headers:r}),l.dispatchEvent(o),G(l,l.onerror,o),console.error(a)))},x=function(e){if(1===y){for(var t=-1,n=0;n<e.length;n+=1)(i=e.charCodeAt(n))!=="\n".charCodeAt(0)&&i!=="\r".charCodeAt(0)||(t=n);var r=(-1!==t?A:"")+e.slice(0,t+1);A=(-1===t?A:"")+e.slice(t+1),""!==e&&(h=Date.now(),m+=e.length);for(var o=0;o<r.length;o+=1){var a,i=r.charCodeAt(o);if(-1===M&&i==="\n".charCodeAt(0))M=0;else if(-1===M&&(M=0),i==="\r".charCodeAt(0)||i==="\n".charCodeAt(0)){if(0!==M&&(1===M&&(C=o+1),a=r.slice(T,C-1),s=r.slice(C+(C<o&&r.charCodeAt(C)===" ".charCodeAt(0)?1:0),o),"data"===a?(v+="\n",v+=s):"id"===a?w=s:"event"===a?E=s:"retry"===a?(c=O(s,c),p=c):"heartbeatTimeout"===a&&(u=O(s,u),0!==b&&(L(b),b=k(function(){B()},u)))),0===M){if(""!==v){d=w;var s=new U(E=""===E?"message":E,{data:v.slice(1),lastEventId:w});if(l.dispatchEvent(s),"open"===E?G(l,l.onopen,s):"message"===E?G(l,l.onmessage,s):"error"===E&&G(l,l.onerror,s),2===y)return}E=v=""}M=i==="\r".charCodeAt(0)?-1:0}else 0===M&&(T=o,M=1),1===M?i===":".charCodeAt(0)&&(C=o+1,M=2):2===M&&(M=3)}}},S=function(e){var t;1!==y&&0!==y||(y=-1,0!==b&&(L(b),b=0),b=k(function(){B()},p),p=W(Math.min(16*c,2*p)),l.readyState=0,t=new j("error",{error:e}),l.dispatchEvent(t),G(l,l.onerror,t),null!=e&&console.error(e))},R=function(){y=2,null!=g&&(g.abort(),g=void 0),0!==b&&(L(b),b=0),l.readyState=2},B=function(){if(b=0,-1===y){h=!1,m=0,b=k(function(){B()},u),w=d,A=E=v="",M=C=T=y=0;var e=a;"data:"!==a.slice(0,5)&&"blob:"!==a.slice(0,5)&&""!==d&&(e=-1===(t=a.indexOf("?"))?a:a.slice(0,t+1)+a.slice(t+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(e,t){return t===i?"":e}),e+=(-1===a.indexOf("?")?"?":"&")+i+"="+encodeURIComponent(d));var t=l.withCredentials,n={Accept:"text/event-stream"},r=l.headers;if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o]);try{g=f.open(s,I,x,S,e,t,n)}catch(e){throw R(),e}}else h||null==g?(t=Math.max((h||Date.now())+u-Date.now(),1),h=!1,b=k(function(){B()},t)):(S(new Error("No activity within "+u+" milliseconds. "+(0===y?"No response received.":m+" chars received.")+" Reconnecting.")),null!=g&&(g.abort(),g=void 0))};l.url=a,l.readyState=0,l.withCredentials=t,l.headers=n,l._close=R,B()}(this,e,t)}var Z=null!=p&&null!=i&&"body"in i.prototype;(w.prototype=Object.create(b.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;e=n;null==F||null!=n&&"withCredentials"in n.prototype||(e=w),(i=oo).EventSourcePolyfill=w,i.NativeEventSource=n,i.EventSource=e}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:Le:globalThis),ro.exports);function io(n){let r,o,a,i,s,l,c,u,d,p,h,m,f,g,b,y,v,w,E,A,M,T,C,I,x,S,R,B,k,L,F,H,N,D,U,P,j,O,G,_,W,Z,z,Q,V,Y,X,J=n[5]("balanceModal.balanceTitle")+"",$=n[5]("balanceModal.totalBalance")+"",K=n[5]("balanceModal.cashBalance")+"",q=n[5]("balanceModal.bonusBalance")+"",ee=n[5]("balanceModal.depositButton")+"";return{c(){r=ae("div"),o=ae("div"),a=se(),i=ae("div"),s=ae("div"),l=ae("p"),c=ie(J),u=se(),d=ae("div"),p=ae("div"),h=ae("p"),m=ie($),f=se(),g=ae("p"),b=ae("span"),y=ie(n[0]),v=se(),w=ae("span"),E=ie(n[3]),A=se(),M=ae("div"),T=ae("p"),C=ie(K),I=se(),x=ae("p"),S=ae("span"),R=ie(n[1]),B=se(),k=ae("span"),L=ie(n[3]),F=se(),H=ae("div"),N=ae("p"),D=ie(q),U=se(),P=ae("p"),j=ae("span"),O=ie(n[2]),G=se(),_=ae("span"),W=ie(n[3]),Z=se(),z=ae("div"),Q=ae("button"),V=ie(ee),ce(o,"class","BalanceModalClose"),ce(l,"class","BalanceModalTitle"),ce(l,"part","BalanceModalTitle"),ce(s,"class","BalanceModalHeader"),ce(s,"part","BalanceModalHeader"),ce(h,"class","BalanceModalText"),ce(h,"part","BalanceModalText"),ce(b,"class","BalanceModalAmount"),ce(b,"part","BalanceModalAmount"),ce(w,"class","BalanceModalCurrency"),ce(w,"part","BalanceModalCurrency"),ce(g,"class","BalanceModalValue"),ce(g,"part","BalanceModalValue"),ce(p,"class","BalanceModalRow"),ce(p,"part","BalanceModalRow"),ce(T,"class","BalanceModalText"),ce(T,"part","BalanceModalText"),ce(S,"class","BalanceModalAmount"),ce(S,"part","BalanceModalAmount"),ce(k,"class","BalanceModalCurrency"),ce(k,"part","BalanceModalCurrency"),ce(x,"class","BalanceModalValue"),ce(x,"part","BalanceModalValue"),ce(M,"class","BalanceModalRow"),ce(M,"part","BalanceModalRow"),ce(N,"class","BalanceModalText"),ce(N,"part","BalanceModalText"),ce(j,"class","BalanceModalAmount"),ce(j,"part","BalanceModalAmount"),ce(_,"class","BalanceModalCurrency"),ce(_,"part","BalanceModalCurrency"),ce(P,"class","BalanceModalValue"),ce(P,"part","BalanceModalValue"),ce(H,"class","BalanceModalRow"),ce(H,"part","BalanceModalRow"),ce(d,"class","BalanceModalBody"),ce(d,"part","BalanceModalBody"),ce(Q,"class","BalanceModalAction"),ce(Q,"part","BalanceModalAction"),ce(z,"class","BalanceModalFooter"),ce(z,"part","BalanceModalFooter"),ce(i,"class","BalanceModal"),ce(i,"part","BalanceModal"),ce(r,"class","BalanceModalWrapper"),ce(r,"part","BalanceModalWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(r,a),ne(r,i),ne(i,s),ne(s,l),ne(l,c),ne(i,u),ne(i,d),ne(d,p),ne(p,h),ne(h,m),ne(p,f),ne(p,g),ne(g,b),ne(b,y),ne(g,v),ne(g,w),ne(w,E),ne(d,A),ne(d,M),ne(M,T),ne(T,C),ne(M,I),ne(M,x),ne(x,S),ne(S,R),ne(x,B),ne(x,k),ne(k,L),ne(d,F),ne(d,H),ne(H,N),ne(N,D),ne(H,U),ne(H,P),ne(P,j),ne(j,O),ne(P,G),ne(P,_),ne(_,W),ne(i,Z),ne(i,z),ne(z,Q),ne(Q,V),Y||(X=[le(o,"click",n[13]),le(Q,"click",n[14])],Y=!0)},p(e,t){32&t&&J!==(J=e[5]("balanceModal.balanceTitle")+"")&&ue(c,J),32&t&&$!==($=e[5]("balanceModal.totalBalance")+"")&&ue(m,$),1&t&&ue(y,e[0]),8&t&&ue(E,e[3]),32&t&&K!==(K=e[5]("balanceModal.cashBalance")+"")&&ue(C,K),2&t&&ue(R,e[1]),8&t&&ue(L,e[3]),32&t&&q!==(q=e[5]("balanceModal.bonusBalance")+"")&&ue(D,q),4&t&&ue(O,e[2]),8&t&&ue(W,e[3]),32&t&&ee!==(ee=e[5]("balanceModal.depositButton")+"")&&ue(V,ee)},d(e){e&&oe(r),Y=!1,te(X)}}}function so(n){let r,o,a;return{c(){r=ae("div"),ce(r,"class","ShowBalanceModalOverlay"),ce(r,"part","ShowBalanceModalOverlay")},m(e,t){re(e,r,t),o||(a=le(r,"click",n[15]),o=!0)},p:y,d(e){e&&oe(r),o=!1,a()}}}function lo(n){let r,o,a,i,s,l,c,u,d,p,h,m,f=n[4]&&io(n),g=n[4]&&so(n);return{c(){r=ae("div"),o=ae("p"),a=ie(n[0]),i=se(),s=ie(n[3]),l=se(),c=ae("span"),c.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>',u=se(),f&&f.c(),d=se(),g&&g.c(),p=M(),this.c=y,ce(o,"class","BalanceValue"),ce(o,"part","BalanceValue"),ce(r,"class","ShowBalance"),ce(r,"part","ShowBalance")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(o,i),ne(o,s),ne(o,l),ne(o,c),ne(r,u),f&&f.m(r,null),re(e,d,t),g&&g.m(e,t),re(e,p,t),h||(m=le(o,"click",n[12]),h=!0)},p(e,[t]){1&t&&ue(a,e[0]),8&t&&ue(s,e[3]),e[4]?f?f.p(e,t):(f=io(e),f.c(),f.m(r,null)):f&&(f.d(1),f=null),e[4]?g?g.p(e,t):(g=so(e),g.c(),g.m(p.parentNode,p)):g&&(g.d(1),g=null)},i:y,o:y,d(e){e&&oe(r),f&&f.d(),e&&oe(d),g&&g.d(e),e&&oe(p),h=!1,m()}}}function co(e,t,r){let n;D(e,Fr,e=>r(5,n=e));let o,a,i,{userid:s=""}=t,{session:l=""}=t,{endpoint:c=""}=t,{lang:u="en"}=t,d="",p="",h="",m="",f=!1;Object.keys(no).forEach(e=>{hr(e,no[e])});const g=e=>{switch(e){case"balance":r(4,f=!0);break;case"closebalance":r(4,f=!1)}},b=e=>{"message"==e.type&&((e=JSON.parse(e.data)).balanceChange&&e.balanceChange[a]&&r(1,p=e.balanceChange[a].afterAmount),e.balanceChange&&e.balanceChange[i]&&r(2,h=e.balanceChange[i].afterAmount),r(0,d=(parseFloat(p)+parseFloat(h)).toFixed(2)))},y=()=>{g("closebalance"),window.postMessage({type:"GoToDeposit"},window.location.href)},v=()=>{var e,t=u;Mr.set(t),o=new ao.EventSourcePolyfill(`${c}/player/${s}/balance/updates`,{headers:{accept:"text/event-stream","X-SessionID":l}}),e=`${c}/player/${s}/account`,new Promise((t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":l}}).then(e=>e.json()).then(e=>{e.items.forEach(e=>{"Casino"==e.displayName&&(a=e.id,r(1,p=e.balanceAmount),r(3,m=e.currency)),"UBS"==e.displayName&&(i=e.id,r(2,h=e.balanceAmount))}),r(0,d=(parseFloat(p)+parseFloat(h)).toFixed(2)),o.addEventListener("open",b),o.addEventListener("message",b),o.addEventListener("error",b),t(e)},e=>{console.error(e),n(e)})})};return j(()=>()=>{o.removeEventListener("open",b),o.removeEventListener("message",b),o.removeEventListener("error",b)}),e.$$set=e=>{"userid"in e&&r(8,s=e.userid),"session"in e&&r(9,l=e.session),"endpoint"in e&&r(10,c=e.endpoint),"lang"in e&&r(11,u=e.lang)},e.$$.update=()=>{3840&e.$$.dirty&&c&&s&&l&&u&&v()},[d,p,h,m,f,n,g,y,s,l,c,u,()=>g("balance"),()=>g("closebalance"),()=>y(),()=>g("closebalance")]}customElements.get("player-account-balance-modal")||customElements.define("player-account-balance-modal",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer}.ShowBalance .BalanceValue svg{width:16px}.BalanceModalWrapper{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-50%);padding:10px;box-shadow:0px 30px 30px var(--emfe-w-color-primary, #D0046C) 1A;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:50%;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, #FD2839);position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:\"\";background: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-color-contrast, #07072A)}.BalanceModalRow{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.BalanceModalRow:last-child{border-bottom:none}.BalanceModalRow .BalanceModalText{color:var(--emfe-w-color-gray-300, #58586B);font-size:14px;text-transform:capitalize}.BalanceModalRow .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emfe-w-color-contrast, #07072A)}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background: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-color-primary-600, #99034F)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}</style>",J(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},co,lo,t,{userid:8,session:9,endpoint:10,lang:11},null),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),W()))}static get observedAttributes(){return["userid","session","endpoint","lang"]}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),W()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),W()}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),W()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),W()}});var uo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlg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9tYwjWBfu6AZgUTmIfAlWZTuQtpSNoG1e5Bs0hyypSp6iulUFRiE10PsElXXZ9YC7jeliuJZ4saEz5LAJ3qIHbDHyi0LyjHMyh4QTmp0CfRVu1nEZefN6xNeFlzRcGTe15LLchnN7sAJwNgQgnAnF8P34sgFsbuKMG9yj7d/DOmAoaIbhrlZA2V7iH94Tg10EE2sTJ39Jn3wqe1bn/1xZJaTnkqfCoegOlhTK26/sgjgNvj4OzcWlo572RN0oJVulX0TRCGobvp0ZMidumw26NRYihH1nTlAaLQU1hLWzCJHNk9Qzoa2yAY8iTzTyDVxV4eBcjkkGTBhLbtIjGSXmdWntzUNwYvFQ9aARffpgcG+BcOf6m1TCg8n+r0pCxHujnta1Z0vRnqO/CJ7o+sVQGz7GwWvD9x1ecjDm8xJ3uxBIwpXCAL5SpbBT3rXr1p8YazWdAeuxrEcLz7Vc2TxaZl1vRTM0JhPEMVlANnkuiAgwEyExSE4/KZMBd7sBknI35FUtWt/KYrEMg807wnIpo2jNiLmYJi/rKkohmak5U4RfgVeUQDm/6j+/TVeApUAaI39NqCFkOuTEN3MuZ+9kkG3Bhot8pjEUX0T4WcGizFCsAc4ZEi9/N1AlxJQ5njZ7hZVmEpFgSJAGetIs+n+H5tFMbveXdbL7woC+jj/2v70Z+F5E6FeYBTmdyXrZFLMXp3OZlfBJZOQWyt/NseyKAL4PB3wEZPfvigBE18P6bASZBtODLcCzbtKl54jhg3DN47P/80z2uMsqf7kE6bgN27QlHzrP4yoP+nwteyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII=";function po(e,t,n){const r=e.slice();return r[58]=t[n],r}function ho(e,t,n){const r=e.slice();return r[61]=t[n],r}function mo(e,t,n){const r=e.slice();return r[58]=t[n],r}function fo(e,t,n){const r=e.slice();return r[61]=t[n],r}function go(n){let r,o,a,i,e,s,l,c,u,d,p,h,m,f,g,b,y,v,w,E,A,M,T=n[16]("headerItem.login")+"",C=n[16]("headerItem.register")+"",I=!n[7]&&vo(n),x=n[14],S=[];for(let e=0;e<x.length;e+=1)S[e]=wo(ho(n,x,e));let R=n[9],B=[];for(let e=0;e<R.length;e+=1)B[e]=Eo(po(n,R,e));return{c(){r=ae("header"),o=ae("div"),a=ae("div"),i=ae("img"),s=se(),l=ae("nav"),I&&I.c(),c=se(),u=ae("div"),d=ae("div"),p=ae("div"),h=ie(T),m=se(),f=ae("div"),g=ie(C),b=se(),y=ae("select");for(let e=0;e<S.length;e+=1)S[e].c();v=se(),w=ae("nav"),E=ae("ul");for(let e=0;e<B.length;e+=1)B[e].c();k(i.src,e=uo)||ce(i,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yV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GetIs+n+H5tFMbveXdbL7woC+jj/2v70Z+F5E6FeYBTmdyXrZFLMXp3OZlfBJZOQWyt/NseyKAL4PB3wEZPfvigBE18P6bASZBtODLcCzbtKl54jhg3DN47P/80z2uMsqf7kE6bgN27QlHzrP4yoP+nwteyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII="),ce(i,"alt","Everymatrix logo"),ce(a,"class","HeaderBranding"),ce(a,"part","HeaderBranding"),ce(l,"class","HeaderMainNav"),ce(l,"part","HeaderMainNav"),ce(p,"class","Item ItemLogin"),ce(p,"part","Item ItemLogin"),ce(p,"tabindex","0"),ce(f,"class","Item ItemRegister"),ce(f,"part","Item ItemRegister"),ce(f,"tabindex","0"),ce(y,"class","Item ItemLanguage"),ce(y,"part","Item ItemLanguage"),void 0===n[10]&&G(()=>n[41].call(y)),ce(d,"class","HeaderItemsMenu"),ce(d,"part","HeaderItemsMenu"),ce(u,"class","HeaderTopActions"),ce(u,"part","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(o,"part","HeaderContainer"),ce(E,"class","HeaderItemsMenuSecondary"),ce(E,"part","HeaderItemsMenuSecondary"),ce(w,"class","HeaderSecondaryNav"),ce(w,"part","HeaderSecondaryNav"),ce(r,"class","HeaderWrapper"),ce(r,"part","HeaderWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(a,i),ne(o,s),ne(o,l),I&&I.m(l,null),ne(o,c),ne(o,u),ne(u,d),ne(d,p),ne(p,h),ne(d,m),ne(d,f),ne(f,g),ne(d,b),ne(d,y);for(let e=0;e<S.length;e+=1)S[e].m(y,null);U(y,n[10]),ne(r,v),ne(r,w),ne(w,E);for(let e=0;e<B.length;e+=1)B[e].m(E,null);A||(M=[le(a,"click",n[38]),le(p,"click",n[39]),le(f,"click",n[40]),le(y,"change",n[41]),le(y,"change",n[42])],A=!0)},p(t,n){if(t[7]?I&&(I.d(1),I=null):I?I.p(t,n):(I=vo(t),I.c(),I.m(l,null)),65536&n[0]&&T!==(T=t[16]("headerItem.login")+"")&&ue(h,T),65536&n[0]&&C!==(C=t[16]("headerItem.register")+"")&&ue(g,C),16384&n[0]){let e;for(x=t[14],e=0;e<x.length;e+=1){var r=ho(t,x,e);S[e]?S[e].p(r,n):(S[e]=wo(r),S[e].c(),S[e].m(y,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=x.length}if(17408&n[0]&&U(y,t[10]),512&n[0]){let e;for(R=t[9],e=0;e<R.length;e+=1){var o=po(t,R,e);B[e]?B[e].p(o,n):(B[e]=Eo(o),B[e].c(),B[e].m(E,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=R.length}},d(e){e&&oe(r),I&&I.d(),N(S,e),N(B,e),A=!1,te(M)}}}function bo(n){let r,o,a,i,s,l,c,u,d,p,h,m,f,g,e,b,y,v,w,E,A,M,T,C,I,x=n[16]("headerItem.login")+"",S=n[16]("headerItem.register")+"";return{c(){r=ae("header"),o=ae("div"),a=ae("div"),i=R("svg"),s=R("defs"),l=R("style"),c=ie(".a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n "),u=R("g"),d=R("rect"),p=R("rect"),h=R("rect"),m=se(),f=ae("div"),g=ae("img"),b=se(),y=ae("div"),v=ae("div"),w=ae("div"),E=ie(x),A=se(),M=ae("div"),T=ie(S),ce(d,"class","a"),ce(d,"width","18"),ce(d,"height","2"),ce(d,"transform","translate(14 13)"),ce(p,"class","a"),ce(p,"width","22"),ce(p,"height","2"),ce(p,"transform","translate(14 20)"),ce(h,"class","a"),ce(h,"width","22"),ce(h,"height","2"),ce(h,"transform","translate(14 27)"),ce(u,"transform","translate(-14 -13)"),ce(i,"xmlns","http://www.w3.org/2000/svg"),ce(i,"width","22"),ce(i,"height","16"),ce(i,"viewBox","0 0 22 16"),ce(a,"class","HeaderMobileMainNav"),ce(a,"part","HeaderMobileMainNav"),k(g.src,e=uo)||ce(g,"src","data:image/png;base64,iVBORw0KGgoA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5cIDNQNW45RPlLBIz8Yw37ucQ3Yh9tYwjWBfu6AZgUTmIfAlWZTuQtpSNoG1e5Bs0hyypSp6iulUFRiE10PsElXXZ9YC7jeliuJZ4saEz5LAJ3qIHbDHyi0LyjHMyh4QTmp0CfRVu1nEZefN6xNeFlzRcGTe15LLchnN7sAJwNgQgnAnF8P34sgFsbuKMG9yj7d/DOmAoaIbhrlZA2V7iH94Tg10EE2sTJ39Jn3wqe1bn/1xZJaTnkqfCoegOlhTK26/sgjgNvj4OzcWlo572RN0oJVulX0TRCGobvp0ZMidumw26NRYihH1nTlAaLQU1hLWzCJHNk9Qzoa2yAY8iTzTyDVxV4eBcjkkGTBhLbtIjGSXmdWntzUNwYvFQ9aARffpgcG+BcOf6m1TCg8n+r0pCxHujnta1Z0vRnqO/CJ7o+sVQGz7GwWvD9x1ecjDm8xJ3uxBIwpXCAL5SpbBT3rXr1p8YazWdAeuxrEcLz7Vc2TxaZl1vRTM0JhPEMVlANnkuiAgwEyExSE4/KZMBd7sBknI35FUtWt/KYrEMg807wnIpo2jNiLmYJi/rKkohmak5U4RfgVeUQDm/6j+/TVeApUAaI39NqCFkOuTEN3MuZ+9kkG3Bhot8pjEUX0T4WcGizFCsAc4ZEi9/N1AlxJQ5njZ7hZVmEpFgSJAGetIs+n+H5tFMbveXdbL7woC+jj/2v70Z+F5E6FeYBTmdyXrZFLMXp3OZlfBJZOQWyt/NseyKAL4PB3wEZPfvigBE18P6bASZBtODLcCzbtKl54jhg3DN47P/80z2uMsqf7kE6bgN27QlHzrP4yoP+nwteyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII="),ce(g,"alt","Everymatrix logo"),ce(f,"class","HeaderBranding"),ce(f,"part","HeaderBranding"),ce(w,"class","Item ItemLogin"),ce(w,"part","Item ItemLogin"),ce(M,"class","Item ItemRegister"),ce(M,"part","Item ItemRegister"),ce(v,"class","HeaderItemsMenu"),ce(v,"part","HeaderItemsMenu"),ce(y,"class","HeaderTopActions"),ce(y,"part","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(o,"part","HeaderContainer"),ce(r,"class","HeaderWrapper HeaderMobileWrapper"),ce(r,"part","HeaderWrapper HeaderMobileWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(a,i),ne(i,s),ne(s,l),ne(l,c),ne(i,u),ne(u,d),ne(u,p),ne(u,h),ne(o,m),ne(o,f),ne(f,g),ne(o,b),ne(o,y),ne(y,v),ne(v,w),ne(w,E),ne(v,A),ne(v,M),ne(M,T),C||(I=[le(i,"click",n[34]),le(f,"click",n[35]),le(w,"click",n[36]),le(M,"click",n[37])],C=!0)},p(e,t){65536&t[0]&&x!==(x=e[16]("headerItem.login")+"")&&ue(E,x),65536&t[0]&&S!==(S=e[16]("headerItem.register")+"")&&ue(T,S)},d(e){e&&oe(r),C=!1,te(I)}}}function yo(e){let n;function r(e){return e[12]?Mo:Ao}let o=r(e),a=o(e);return{c(){a.c(),n=M()},m(e,t){a.m(e,t),re(e,n,t)},p(e,t){o===(o=r(e))&&a?a.p(e,t):(a.d(1),a=o(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&oe(n)}}}function vo(n){let r,o,a,i;return{c(){r=ae("casino-slider"),L(r,"class","HeaderItemsMenu"),L(r,"part","HeaderItemsMenu"),L(r,"identity",Ro),L(r,"isprimarymenu","true"),L(r,"actionevent",n[6]),L(r,"activeindex",n[8]),L(r,"location","headerMain")},m(e,t){re(e,r,t),a||(i=s(o=n[19].call(null,r)),a=!0)},p(e,t){64&t[0]&&L(r,"actionevent",e[6]),256&t[0]&&L(r,"activeindex",e[8])},d(e){e&&oe(r),a=!1,i()}}}function wo(e){let n,r,o,a=e[61]+"";return{c(){n=ae("option"),r=ie(a),n.__value=o=e[61],n.value=n.__value},m(e,t){re(e,n,t),ne(n,r)},p(e,t){16384&t[0]&&a!==(a=e[61]+"")&&ue(r,a),16384&t[0]&&o!==(o=e[61])&&(n.__value=o,n.value=n.__value)},d(e){e&&oe(n)}}}function Eo(e){let n,r,o,a,i=e[58].label+"";return{c(){n=ae("li"),r=ae("a"),o=ie(i),ce(r,"href",a=e[58].path),ce(n,"class","ItemSecondary"),ce(n,"part","ItemSecondary")},m(e,t){re(e,n,t),ne(n,r),ne(r,o)},p(e,t){512&t[0]&&i!==(i=e[58].label+"")&&ue(o,i),512&t[0]&&a!==(a=e[58].path)&&ce(r,"href",a)},d(e){e&&oe(n)}}}function Ao(n){let r,o,a,i,e,s,l,c,u,d,p,h,m,f,g,b,y,v,w,E,A,M,T,C=n[16]("headerItem.deposit")+"",I=!n[7]&&To(n),x=n[14],S=[];for(let e=0;e<x.length;e+=1)S[e]=Co(fo(n,x,e));let R=n[9],B=[];for(let e=0;e<R.length;e+=1)B[e]=Io(mo(n,R,e));return{c(){r=ae("header"),o=ae("div"),a=ae("div"),i=ae("img"),s=se(),l=ae("nav"),I&&I.c(),c=se(),u=ae("div"),d=ae("div"),p=ae("player-account-balance-modal"),h=se(),m=ae("div"),f=ie(C),g=se(),b=ae("div"),b.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>',y=se(),v=ae("select");for(let e=0;e<S.length;e+=1)S[e].c();w=se(),E=ae("nav"),A=ae("ul");for(let e=0;e<B.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ijGwqhP451KjeQdRLcbfe2jzwbREbxthN57a4MURUE6TDarYV/3z/tauZsnBHB5cIDNQNW45RPlLBIz8Yw37ucQ3Yh9tYwjWBfu6AZgUTmIfAlWZTuQtpSNoG1e5Bs0hyypSp6iulUFRiE10PsElXXZ9YC7jeliuJZ4saEz5LAJ3qIHbDHyi0LyjHMyh4QTmp0CfRVu1nEZefN6xNeFlzRcGTe15LLchnN7sAJwNgQgnAnF8P34sgFsbuKMG9yj7d/DOmAoaIbhrlZA2V7iH94Tg10EE2sTJ39Jn3wqe1bn/1xZJaTnkqfCoegOlhTK26/sgjgNvj4OzcWlo572RN0oJVulX0TRCGobvp0ZMidumw26NRYihH1nTlAaLQU1hLWzCJHNk9Qzoa2yAY8iTzTyDVxV4eBcjkkGTBhLbtIjGSXmdWntzUNwYvFQ9aARffpgcG+BcOf6m1TCg8n+r0pCxHujnta1Z0vRnqO/CJ7o+sVQGz7GwWvD9x1ecjDm8xJ3uxBIwpXCAL5SpbBT3rXr1p8YazWdAeuxrEcLz7Vc2TxaZl1vRTM0JhPEMVlANnkuiAgwEyExSE4/KZMBd7sBknI35FUtWt/KYrEMg807wnIpo2jNiLmYJi/rKkohmak5U4RfgVeUQDm/6j+/TVeApUAaI39NqCFkOuTEN3MuZ+9kkG3Bhot8pjEUX0T4WcGizFCsAc4ZEi9/N1AlxJQ5njZ7hZVmEpFgSJAGetIs+n+H5tFMbveXdbL7woC+jj/2v70Z+F5E6FeYBTmdyXrZFLMXp3OZlfBJZOQWyt/NseyKAL4PB3wEZPfvigBE18P6bASZBtODLcCzbtKl54jhg3DN47P/80z2uMsqf7kE6bgN27QlHzrP4yoP+nwteyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII="),ce(i,"alt","Everymatrix logo"),ce(a,"class","HeaderBranding"),ce(a,"part","HeaderBranding"),ce(l,"class","HeaderMainNav"),ce(l,"part","HeaderMainNav"),L(p,"session",n[0]),L(p,"userid",n[1]),L(p,"endpoint",n[2]),L(p,"lang",n[3]),ce(m,"class","Item ItemDeposit"),ce(m,"part","Item ItemDeposit"),ce(b,"class","Item ItemAccount"),ce(b,"part","Item ItemAccount"),ce(v,"class","Item ItemLanguage"),ce(v,"part","Item ItemLanguage"),void 0===n[10]&&G(()=>n[32].call(v)),ce(d,"class","HeaderItemsMenu PrimaryMenu"),ce(d,"part","HeaderItemsMenu PrimaryMenu"),ce(u,"class","HeaderTopActions"),ce(u,"part","HeaderItemsMenu"),ce(o,"class","HeaderContainer"),ce(o,"part","HeaderContainer"),ce(A,"class","HeaderItemsMenuSecondary"),ce(A,"part","HeaderItemsMenuSecondary"),ce(E,"class","HeaderSecondaryNav"),ce(E,"part","HeaderSecondaryNav"),ce(r,"class","HeaderWrapper"),ce(r,"part","HeaderWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(a,i),ne(o,s),ne(o,l),I&&I.m(l,null),ne(o,c),ne(o,u),ne(u,d),ne(d,p),ne(d,h),ne(d,m),ne(m,f),ne(d,g),ne(d,b),ne(d,y),ne(d,v);for(let e=0;e<S.length;e+=1)S[e].m(v,null);U(v,n[10]),ne(r,w),ne(r,E),ne(E,A);for(let e=0;e<B.length;e+=1)B[e].m(A,null);M||(T=[le(a,"click",n[29]),le(m,"click",n[30]),le(b,"click",n[31]),le(v,"change",n[32]),le(v,"change",n[33])],M=!0)},p(t,n){if(t[7]?I&&(I.d(1),I=null):I?I.p(t,n):(I=To(t),I.c(),I.m(l,null)),1&n[0]&&L(p,"session",t[0]),2&n[0]&&L(p,"userid",t[1]),4&n[0]&&L(p,"endpoint",t[2]),8&n[0]&&L(p,"lang",t[3]),65536&n[0]&&C!==(C=t[16]("headerItem.deposit")+"")&&ue(f,C),16384&n[0]){let e;for(x=t[14],e=0;e<x.length;e+=1){var r=fo(t,x,e);S[e]?S[e].p(r,n):(S[e]=Co(r),S[e].c(),S[e].m(v,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=x.length}if(17408&n[0]&&U(v,t[10]),512&n[0]){let e;for(R=t[9],e=0;e<R.length;e+=1){var o=mo(t,R,e);B[e]?B[e].p(o,n):(B[e]=Io(o),B[e].c(),B[e].m(A,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=R.length}},d(e){e&&oe(r),I&&I.d(),N(S,e),N(B,e),M=!1,te(T)}}}function Mo(n){let r,o,a,i,s,l,e,c,u,d,p,h,m,f,g,b,y,v=!n[15]&&xo(n);return{c(){r=ae("header"),o=ae("div"),a=ae("div"),v&&v.c(),i=se(),s=ae("div"),l=ae("img"),c=se(),u=ae("div"),d=ae("div"),p=ae("player-account-balance-modal"),h=se(),m=ae("div"),m.textContent="Deposit",f=se(),g=ae("div"),g.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>',ce(a,"class","HeaderMobileMainNav"),ce(a,"part","HeaderMobileMainNav"),k(l.src,e=uo)||ce(l,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5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F8P34sgFsbuKMG9yj7d/DOmAoaIbhrlZA2V7iH94Tg10EE2sTJ39Jn3wqe1bn/1xZJaTnkqfCoegOlhTK26/sgjgNvj4OzcWlo572RN0oJVulX0TRCGobvp0ZMidumw26NRYihH1nTlAaLQU1hLWzCJHNk9Qzoa2yAY8iTzTyDVxV4eBcjkkGTBhLbtIjGSXmdWntzUNwYvFQ9aARffpgcG+BcOf6m1TCg8n+r0pCxHujnta1Z0vRnqO/CJ7o+sVQGz7GwWvD9x1ecjDm8xJ3uxBIwpXCAL5SpbBT3rXr1p8YazWdAeuxrEcLz7Vc2TxaZl1vRTM0JhPEMVlANnkuiAgwEyExSE4/KZMBd7sBknI35FUtWt/KYrEMg807wnIpo2jNiLmYJi/rKkohmak5U4RfgVeUQDm/6j+/TVeApUAaI39NqCFkOuTEN3MuZ+9kkG3Bhot8pjEUX0T4WcGizFCsAc4ZEi9/N1AlxJQ5njZ7hZVmEpFgSJAGetIs+n+H5tFMbveXdbL7woC+jj/2v70Z+F5E6FeYBTmdyXrZFLMXp3OZlfBJZOQWyt/NseyKAL4PB3wEZPfvigBE18P6bASZBtODLcCzbtKl54jhg3DN47P/80z2uMsqf7kE6bgN27QlHzrP4yoP+nwteyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII="),ce(l,"alt","Everymatrix logo"),ce(s,"class","HeaderBranding"),ce(s,"part","HeaderBranding"),L(p,"session",n[0]),L(p,"userid",n[1]),L(p,"endpoint",n[2]),L(p,"lang",n[3]),ce(m,"class","Item ItemDeposit"),ce(m,"part","Item ItemDeposit"),ce(g,"class","Item ItemAccount"),ce(g,"part","Item ItemAccount"),ce(d,"class","HeaderItemsMenu PrimaryMenu"),ce(d,"part","HeaderItemsMenu PrimaryMenu"),ce(u,"class","HeaderTopActions"),ce(u,"part","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(o,"part","HeaderContainer"),ce(r,"class","HeaderWrapper HeaderMobileWrapper"),ce(r,"part","HeaderWrapper HeaderMobileWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),v&&v.m(a,null),ne(o,i),ne(o,s),ne(s,l),ne(o,c),ne(o,u),ne(u,d),ne(d,p),ne(d,h),ne(d,m),ne(d,f),ne(d,g),b||(y=[le(s,"click",n[26]),le(m,"click",n[27]),le(g,"click",n[28])],b=!0)},p(e,t){e[15]?v&&(v.d(1),v=null):v?v.p(e,t):(v=xo(e),v.c(),v.m(a,null)),1&t[0]&&L(p,"session",e[0]),2&t[0]&&L(p,"userid",e[1]),4&t[0]&&L(p,"endpoint",e[2]),8&t[0]&&L(p,"lang",e[3])},d(e){e&&oe(r),v&&v.d(),b=!1,te(y)}}}function To(n){let r,o,a,i;return{c(){r=ae("casino-slider"),L(r,"class","HeaderItemsMenu"),L(r,"part","HeaderItemsMenu"),L(r,"identity",Ro),L(r,"isprimarymenu","true"),L(r,"actionevent",n[6]),L(r,"activeindex",n[8]),L(r,"location","headerMain")},m(e,t){re(e,r,t),a||(i=s(o=n[19].call(null,r)),a=!0)},p(e,t){64&t[0]&&L(r,"actionevent",e[6]),256&t[0]&&L(r,"activeindex",e[8])},d(e){e&&oe(r),a=!1,i()}}}function Co(e){let n,r,o,a=e[61]+"";return{c(){n=ae("option"),r=ie(a),n.__value=o=e[61],n.value=n.__value,n.selected=!0},m(e,t){re(e,n,t),ne(n,r)},p(e,t){16384&t[0]&&a!==(a=e[61]+"")&&ue(r,a),16384&t[0]&&o!==(o=e[61])&&(n.__value=o,n.value=n.__value)},d(e){e&&oe(n)}}}function Io(e){let n,r,o,a,i=e[58].label+"";return{c(){n=ae("li"),r=ae("a"),o=ie(i),ce(r,"href",a=e[58].path),ce(n,"class","ItemSecondary"),ce(n,"part","ItemSecondary")},m(e,t){re(e,n,t),ne(n,r),ne(r,o)},p(e,t){512&t[0]&&i!==(i=e[58].label+"")&&ue(o,i),512&t[0]&&a!==(a=e[58].path)&&ce(r,"href",a)},d(e){e&&oe(n)}}}function xo(n){let r,o,a,i,s,l,c,u,d,p;return{c(){r=R("svg"),o=R("defs"),a=R("style"),i=ie(".a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n "),s=R("g"),l=R("rect"),c=R("rect"),u=R("rect"),ce(l,"class","a"),ce(l,"width","18"),ce(l,"height","2"),ce(l,"transform","translate(14 13)"),ce(c,"class","a"),ce(c,"width","22"),ce(c,"height","2"),ce(c,"transform","translate(14 20)"),ce(u,"class","a"),ce(u,"width","22"),ce(u,"height","2"),ce(u,"transform","translate(14 27)"),ce(s,"transform","translate(-14 -13)"),ce(r,"xmlns","http://www.w3.org/2000/svg"),ce(r,"width","22"),ce(r,"height","16"),ce(r,"viewBox","0 0 22 16")},m(e,t){re(e,r,t),ne(r,o),ne(o,a),ne(a,i),ne(r,s),ne(s,l),ne(s,c),ne(s,u),d||(p=le(r,"click",n[25]),d=!0)},p:y,d(e){e&&oe(r),d=!1,p()}}}function So(e){let n,r;function o(e){return e[13]?yo:e[12]?bo:go}let a=o(e),i=a(e);return{c(){i.c(),n=se(),r=ae("casino-hamburger-menu"),this.c=y,L(r,"menuitemsurl",e[11]),L(r,"activecategory",e[5]),L(r,"lang",e[3]),L(r,"languageslist",e[4])},m(e,t){i.m(e,t),re(e,n,t),re(e,r,t)},p(e,t){a===(a=o(e))&&i?i.p(e,t):(i.d(1),i=a(e),i&&(i.c(),i.m(n.parentNode,n))),2048&t[0]&&L(r,"menuitemsurl",e[11]),32&t[0]&&L(r,"activecategory",e[5]),8&t[0]&&L(r,"lang",e[3]),16&t[0]&&L(r,"languageslist",e[4])},i:y,o:y,d(e){i.d(e),e&&oe(n),e&&oe(r)}}}let Ro="HeaderMenu";function Bo(t,e,r){let n;D(t,Fr,e=>r(16,n=e));let{session:o=""}=e,{userid:a=""}=e,{endpoint:i=""}=e,{cmsendpoint:s=""}=e,{cmsenv:l="stage"}=e,{lang:c="en"}=e,{languageslist:u="en, ro"}=e,{activecategory:d=""}=e,{operatorid:p=""}=e,{pagetag:h=""}=e,{positiontag:m=""}=e,{actionevent:f=""}=e,g=0;var b,y;({withLocale:b,translations:y}={withLocale:"en",translations:{}}),Mr.subscribe(e=>{null==e&&(dr.set(y),Mr.set(b))}),Object.keys(Nr).forEach(e=>{hr(e,Nr[e])});let v,w,E=[],A=[],M="",T=!0,C=!1,I=window.navigator.userAgent,x=!1,S=[],R=!1,B=[{id:0,label:n("fallbackSecondaryMenu.promotions"),path:"/promotions"}];const k=e=>{switch(e){case"login":window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href);break;case"register":window.postMessage({type:"OpenLoginRegisterModal",transition:"Register"},window.location.href);break;case"lobby":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"myaccount":window.postMessage({type:"PlayerAccountMenuActive"},window.location.href);break;case"deposit":window.postMessage({type:"GoToDeposit"},window.location.href);break;case"language":window.postMessage({type:"LanguageChanged",selectedLanguage:M},window.location.href)}},L=()=>{r(15,R=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},F=e=>{if(e.data)switch(e.data.type){case"UserSessionID":e.data.userid,e.data.session,r(13,x=!0);break;case"CloseHamburgerMenu":e.data.showhamburger&&r(15,R=!1);break;case"LogoutSuccessfull":r(13,x=!1);break;case"LanguageChanged":H(),N(w)}},H=()=>{w=new URL(`${s}/${M.toLowerCase()}/menu`),r(11,v=new URL(`${s}/${M.toLowerCase()}/hamburger-menu`)),w.searchParams.append("device","dk"),w.searchParams.append("env",l),w.searchParams.append("language",M.toLowerCase()),w.searchParams.append("platform","dk"),v.searchParams.append("device","dk"),v.searchParams.append("env",l),v.searchParams.append("language",M.toLowerCase()),v.searchParams.append("platform","dk")},N=e=>(r(7,T=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{E=e.desktop.primary,r(9,A=e.desktop.secondary),A.length||r(9,A=B),r(7,T=!1),t(e)},e=>{r(7,T=!1),console.error(e),n(e)})}));return j(async()=>(window.addEventListener("message",F,!1),Hr(I)&&r(12,C=!0),()=>{window.removeEventListener("message",F)})),t.$$set=e=>{"session"in e&&r(0,o=e.session),"userid"in e&&r(1,a=e.userid),"endpoint"in e&&r(2,i=e.endpoint),"cmsendpoint"in e&&r(20,s=e.cmsendpoint),"cmsenv"in e&&r(21,l=e.cmsenv),"lang"in e&&r(3,c=e.lang),"languageslist"in e&&r(4,u=e.languageslist),"activecategory"in e&&r(5,d=e.activecategory),"operatorid"in e&&r(22,p=e.operatorid),"pagetag"in e&&r(23,h=e.pagetag),"positiontag"in e&&r(24,m=e.positiontag),"actionevent"in e&&r(6,f=e.actionevent)},t.$$.update=()=>{var e;160&t.$$.dirty[0]&&d&&!T&&r(8,g=E.map(e=>e.path).indexOf(d)),1&t.$$.dirty[0]&&o&&r(13,x=!0),8&t.$$.dirty[0]&&c&&(e=c,Mr.set(e)),1048600&t.$$.dirty[0]&&s&&c&&u&&(r(14,S=u.replace(/ /g,"").split(",")),r(14,S=S.map(e=>e.toUpperCase())),r(10,M=c.toUpperCase()),H(),N(w))},[o,a,i,c,u,d,f,T,g,A,M,v,C,x,S,R,n,k,L,e=>{window.postMessage({type:"SliderData",identity:Ro,data:E},window.location.href)},s,l,p,h,m,()=>L(),()=>k("lobby"),()=>k("deposit"),()=>k("myaccount"),()=>k("lobby"),()=>k("deposit"),()=>k("myaccount"),function(){M=P(this),r(10,M),r(14,S)},()=>k("language"),()=>L(),()=>k("lobby"),()=>k("login"),()=>k("register"),()=>k("lobby"),()=>k("login"),()=>k("register"),function(){M=P(this),r(10,M),r(14,S)},()=>k("language")]}class ko extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.HeaderWrapper{background:var(--emfe-w-color-header-bg, #050518)}.HeaderContainer{max-width:1300px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderBranding{width:150px;cursor:pointer}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:var(--emfe-w-color-header-bg, #050518);border-top:1px solid var(--emfe-w-color-gray-300, #58586B)}.HeaderItemsMenu{display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;align-items:center}.HeaderItemsMenu .Item{padding:0 15px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;border:solid 1px var(--emfe-w-color-white, #FFFFFF);height:44px;text-align:center;line-height:44px;margin-right:20px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:var(--emfe-w-color-primary, #D0046C);font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:var(--emfe-w-color-primary, #D0046C)}.ItemLanguage{height:44px;width:76px;text-align:center;line-height:44px;background:transparent;color:var(--emfe-w-color-white, #FFFFFF);border:none;cursor:pointer}.ItemLanguage option{color:var(--emfe-w-color-contrast, #07072A)}.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-color-white, #FFFFFF);font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary .ItemSecondary{padding:0 15px;cursor:pointer;transition-duration:0.15s}.HeaderItemsMenuSecondary .ItemSecondary a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}.HeaderItemsMenuSecondary .ItemSecondary:hover a{color:var(--emfe-w-color-primary, #D0046C)}.HeaderMobileWrapper .HeaderContainer{height:55px;padding:0 15px;gap:10px}.HeaderMobileWrapper .HeaderBranding{width:80px}.HeaderMobileWrapper .HeaderBranding img{width:100%}.HeaderMobileWrapper .HeaderItemsMenu .Item{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}</style>",J(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Bo,So,t,{session:0,userid:1,endpoint:2,cmsendpoint:20,cmsenv:21,lang:3,languageslist:4,activecategory:5,operatorid:22,pagetag:23,positiontag:24,actionevent:6},null,[-1,-1,-1]),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),W()))}static get observedAttributes(){return["session","userid","endpoint","cmsendpoint","cmsenv","lang","languageslist","activecategory","operatorid","pagetag","positiontag","actionevent"]}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),W()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),W()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),W()}get cmsendpoint(){return this.$$.ctx[20]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),W()}get cmsenv(){return this.$$.ctx[21]}set cmsenv(e){this.$$set({cmsenv:e}),W()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),W()}get languageslist(){return this.$$.ctx[4]}set languageslist(e){this.$$set({languageslist:e}),W()}get activecategory(){return this.$$.ctx[5]}set activecategory(e){this.$$set({activecategory:e}),W()}get operatorid(){return this.$$.ctx[22]}set operatorid(e){this.$$set({operatorid:e}),W()}get pagetag(){return this.$$.ctx[23]}set pagetag(e){this.$$set({pagetag:e}),W()}get positiontag(){return this.$$.ctx[24]}set positiontag(e){this.$$set({positiontag:e}),W()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),W()}}return customElements.get("casino-header-controller")||customElements.define("casino-header-controller",ko),ko});
4
4
  //# sourceMappingURL=casino-header-controller.js.map