@everymatrix/casino-header-controller 0.0.200 → 0.0.204
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,2 +1,2 @@
|
|
|
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 C(){}const m=e=>e;function u(e){return e()}function d(){return Object.create(null)}function te(e){e.forEach(u)}function g(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function A(e,...t){if(null==e)return C;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}var e="undefined"!=typeof window;let b=e?()=>window.performance.now():()=>Date.now(),y=e?e=>requestAnimationFrame(e):C;const v=new Set;function w(t){v.forEach(e=>{e.c(t)||(v.delete(e),e.f())}),0!==v.size&&y(w)}function ne(e,t){e.appendChild(t)}function re(e,t,n){e.insertBefore(t,n||null)}function oe(e){e.parentNode.removeChild(e)}function R(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function ie(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ae(e){return document.createTextNode(e)}function se(){return ae(" ")}function E(){return ae("")}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 B(e,t,n){t in e?e[t]=n:ce(e,t,n)}function ue(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function k(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}}function S(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}function h(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 Set;let p,M=0;function I(e,t,n,r,o,i,a,s=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*i(e);c+=100*e+`%{${a(r,1-r)}}\n`}const u=c+`100% {${a(n,1-n)}}\n}`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_${s}`,h=e.ownerDocument;T.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(ie("style")).sheet),f=h.__svelte_rules||(h.__svelte_rules={});f[d]||(f[d]=!0,p.insertRule(`@keyframes ${d} ${u}`,p.cssRules.length));s=e.style.animation||"";return e.style.animation=`${s?`${s}, `:""}${d} ${r}ms linear ${o}ms 1 both`,M+=1,d}function f(e){p=e}function L(e){!function(){if(!p)throw new Error("Function called outside component initialization");return p}().$$.on_mount.push(e)}const x=[],N=[],o=[],i=[],D=Promise.resolve();let U=!1;function H(e){o.push(e)}let a=!1;const s=new Set;function j(){if(!a){a=!0;do{for(let e=0;e<x.length;e+=1){var t=x[e];f(t),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(H))}}(t.$$)}for(f(null),x.length=0;N.length;)N.pop()();for(let e=0;e<o.length;e+=1){const n=o[e];s.has(n)||(s.add(n),n())}}while(o.length=0,x.length);for(;i.length;)i.pop()();U=!1,a=!1,s.clear()}}let P;function O(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 l=new Set;let G;function _(e,t){e&&e.i&&(l.delete(e),e.i(t))}function c(e,t,n,r){e&&e.o&&(l.has(e)||(l.add(e),G.c.push(()=>{l.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const F={duration:0};function W(s,e,t,n){let l=e(s,t),c=n?0:1,u=null,d=null,h=null;function p(){h&&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(", "),M-=o,M||y(()=>{M||(T.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),T.clear())}))}(s,h)}function f(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=m,tick:o=C,css:i}=l||F,a={start:b()+t,b:e};e||(a.group=G,G.r+=1),u||d?d=a:(i&&(p(),h=I(s,c,e,n,t,r,i)),e&&o(0,1),u=f(a,n),H(()=>O(s,e,"start")),function(t){let n;0===v.size&&y(w),new Promise(e=>{v.add(n={c:t,f:e})})}(e=>{return d&&e>d.start&&(u=f(d,n),d=null,O(s,u.b,"start"),i&&(p(),h=I(s,c,u.b,u.duration,0,r,l.css))),u&&(e>=u.end?(o(c=u.b,1-c),O(s,u.b,"end"),d||(u.b?p():--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)?(P||(P=Promise.resolve(),P.then(()=>{P=null})),P.then(()=>{l=l(),r(e)})):r(e)},end(){p(),u=d=null}}}function Z(e,t){e.d(1),t.delete(e.key)}function z(r,e,t,n,o,i,a=[-1]){var s=p;f(r);const l=r.$$={fragment:null,ctx:null,props:i,update:C,not_equal:o,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s?s.$$.context:e.context||[]),callbacks:d(),dirty:a,skip_bound:!1};let c=!1;if(l.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return l.ctx&&o(l.ctx[e],l.ctx[e]=n)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&(x.push(e),U||(U=!0,D.then(j)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],l.update(),c=!0,te(l.before_update),l.fragment=!!n&&n(l.ctx),e.target){if(e.hydrate){const C=(n=e.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(C),C.forEach(oe)}else l.fragment&&l.fragment.c();e.intro&&_(r.$$.fragment),function(t,e,n,r){const{fragment:o,on_mount:i,on_destroy:a,after_update:s}=t.$$;o&&o.m(e,n),r||H(()=>{var e=i.map(u).filter(g);a?a.push(...e):te(e),t.$$.on_mount=[]}),s.forEach(H)}(r,e.target,e.anchor,e.customElement),j()}f(s)}let Q;"function"==typeof HTMLElement&&(Q=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(u).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=C}$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 V,Y,X="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==X&&X,J="URLSearchParams"in X,K="Symbol"in X&&"iterator"in Symbol,q="FileReader"in X&&"Blob"in X&&function(){try{return new Blob,!0}catch(e){return!1}}(),$="FormData"in X,ee="ArrayBuffer"in X;function de(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 he(e){return e="string"!=typeof e?String(e):e}function pe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return K&&(e[Symbol.iterator]=function(){return e}),e}function fe(t){this.map={},t instanceof fe?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 me(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ge(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function be(e){var t=new FileReader,n=ge(t);return t.readAsArrayBuffer(e),n}function ye(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ve(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:q&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:$&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:J&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ee&&q&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ye(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ee&&(ArrayBuffer.prototype.isPrototypeOf(e)||Y(e))?this._bodyArrayBuffer=ye(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):J&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},q&&(this.blob=function(){var e=me(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?me(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(be)}),this.text=function(){var e,t,n=me(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ge(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)},$&&(this.formData=function(){return this.text().then(Ae)}),this.json=function(){return this.text().then(JSON.parse)},this}ee&&(V=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Y=ArrayBuffer.isView||function(e){return e&&-1<V.indexOf(Object.prototype.toString.call(e))}),fe.prototype.append=function(e,t){e=de(e),t=he(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},fe.prototype.delete=function(e){delete this.map[de(e)]},fe.prototype.get=function(e){return e=de(e),this.has(e)?this.map[e]:null},fe.prototype.has=function(e){return this.map.hasOwnProperty(de(e))},fe.prototype.set=function(e,t){this.map[de(e)]=he(t)},fe.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},fe.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),pe(n)},fe.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),pe(t)},fe.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),pe(n)},K&&(fe.prototype[Symbol.iterator]=fe.prototype.entries);var we=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ee(e,t){if(!(this instanceof Ee))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 Ee){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new fe(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 fe(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<we.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 Ae(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 Te(e,t){if(!(this instanceof Te))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 fe(t.headers),this.url=t.url||"",this._initBody(e)}Ee.prototype.clone=function(){return new Ee(this,{body:this._bodyInit})},ve.call(Ee.prototype),ve.call(Te.prototype),Te.prototype.clone=function(){return new Te(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new fe(this.headers),url:this.url})},Te.error=function(){var e=new Te(null,{status:0,statusText:""});return e.type="error",e};var Me=[301,302,303,307,308];Te.redirect=function(e,t){if(-1===Me.indexOf(t))throw new RangeError("Invalid status code");return new Te(null,{status:t,headers:{location:e}})};var Ce=X.DOMException;try{new Ce}catch(C){(Ce=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Ce.prototype.constructor=Ce}function Ie(r,a){return new Promise(function(o,e){var t=new Ee(r,a);if(t.signal&&t.signal.aborted)return e(new Ce("Aborted","AbortError"));var i=new XMLHttpRequest;function n(){i.abort()}i.onload=function(){var e,n,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=new fe,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 i?i.responseURL:t.headers.get("X-Request-URL");var r="response"in i?i.response:i.responseText;setTimeout(function(){o(new Te(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new Ce("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&X.location.href?X.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(q?i.responseType="blob":ee&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof fe?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){i.setRequestHeader(e,he(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",n)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}Ie.polyfill=!0,X.fetch||(X.fetch=Ie,X.Headers=fe,X.Request=Ee,X.Response=Te);var xe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};self.fetch.bind(self);var Se=function(e,t){return(Se=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 Re(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}Se(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Be(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 ke(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Le(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function Ne(e){return"function"==typeof e}function De(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 Ue=De(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 He(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var je=(Oe.prototype.unsubscribe=function(){var e,t,n,r,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=Be(i),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(Ne(i))try{i()}catch(e){o=e instanceof Ue?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var l=Be(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{_e(u)}catch(e){o=null!=o?o:[],e instanceof Ue?o=Le(Le([],ke(o)),ke(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 Ue(o)}},Oe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)_e(e);else{if(e instanceof Oe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Oe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Oe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Oe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&He(t,e)},Oe.prototype.remove=function(e){var t=this._teardowns;t&&He(t,e),e instanceof Oe&&e._removeParent(this)},Oe.EMPTY=((cn=new Oe).closed=!0,cn),Oe),Pe=je.EMPTY;function Oe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Ge(e){return e instanceof je||e&&"closed"in e&&Ne(e.remove)&&Ne(e.add)&&Ne(e.unsubscribe)}function _e(e){Ne(e)?e():e.unsubscribe()}var Fe=void 0,We=!1,Ze=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,Le([],ke(e)))};function ze(){}function Qe(e){e()}var Ve,Ye,Xe=(Re(qe,Ye=je),qe.create=function(e,t,n){return new Je(e,t,n)},qe.prototype.next=function(e){this.isStopped||this._next(e)},qe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},qe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},qe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ye.prototype.unsubscribe.call(this),this.destination=null)},qe.prototype._next=function(e){this.destination.next(e)},qe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},qe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},qe),Je=(Re(Ke,Ve=Xe),Ke);function Ke(e,t,n){var r,o,i=Ve.call(this)||this;return Ne(e)?o=e:e&&(o=e.next,t=e.error,n=e.complete,i&&We?(r=Object.create(e)).unsubscribe=function(){return i.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)),i.destination={next:o?$e(o):ze,error:$e(null!=t?t:et),complete:n?$e(n):ze},i}function qe(e){var t=Ye.call(this)||this;return t.isStopped=!1,e?Ge(t.destination=e)&&e.add(t):t.destination=tt,t}function $e(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,Le([],ke(e)))}catch(e){t=e,Ze(function(){throw t})}}}function et(e){throw e}var tt={closed:!0,next:ze,error:et,complete:ze},nt="function"==typeof Symbol&&Symbol.observable||"@@observable";function rt(e){return e}var ot=(it.prototype.lift=function(e){var t=new it;return t.source=this,t.operator=e,t},it.prototype.subscribe=function(e,t,n){var r,o=this,i=(r=e)&&r instanceof Xe||r&&Ne(r.next)&&Ne(r.error)&&Ne(r.complete)&&Ge(r)?e:new Je(e,t,n);return Qe(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},it.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},it.prototype.forEach=function(r,e){var o=this;return new(e=at(e))(function(e,t){var n=o.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},it.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},it.prototype[nt]=function(){return this},it.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?rt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},it.prototype.toPromise=function(e){var r=this;return new(e=at(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},it.create=function(e){return new it(e)},it);function it(e){e&&(this._subscribe=e)}function at(e){return null!==(e=null!=e?e:Fe)&&void 0!==e?e:Promise}var st,lt,ct,ut=De(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),dt=(Re(bt,ct=ot),bt.prototype.lift=function(e){var t=new ht(this,this);return t.operator=e,t},bt.prototype._throwIfClosed=function(){if(this.closed)throw new ut},bt.prototype.next=function(i){var a=this;Qe(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){var n=a.observers.slice();try{for(var r=Be(n),o=r.next();!o.done;o=r.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},bt.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)}})},bt.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()}})},bt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(bt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),bt.prototype._trySubscribe=function(e){return this._throwIfClosed(),ct.prototype._trySubscribe.call(this,e)},bt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},bt.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?Pe:(r.push(e),new je(function(){return He(r,e)}))},bt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},bt.prototype.asObservable=function(){var e=new ot;return e.source=this,e},bt.create=function(e,t){return new ht(e,t)},bt),ht=(Re(gt,lt=dt),gt.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)},gt.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)},gt.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)},gt.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:Pe},gt),pt={now:function(){return(pt.delegate||Date).now()},delegate:void 0},ft=(Re(mt,st=dt),mt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),o||r.push(i.now()+t)),this._trimBuffer(),st.prototype.next.call(this,e)},mt.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},mt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var i=t.now(),a=0,s=1;s<n.length&&n[s]<=i;s+=2)a=s;a&&n.splice(0,a+1)}},mt);function mt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=pt);var r=st.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 gt(e,t){var n=lt.call(this)||this;return n.destination=e,n.source=t,n}function bt(){var e=ct.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let yt=[],vt={};const wt=[];function Et(r,o=C){let i;const a=[];function s(e){if(n(r,e)&&(r=e,i)){const e=!wt.length;for(let e=0;e<a.length;e+=1){const t=a[e];t[1](),wt.push(t,r)}if(e){for(let e=0;e<wt.length;e+=2)wt[e][0](wt[e+1]);wt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=C){const n=[e,t];return a.push(n),1===a.length&&(i=o(s)||C),e(r),()=>{var e=a.indexOf(n);-1!==e&&a.splice(e,1),0===a.length&&(i(),i=null)}}}}function At(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Et(t,t=>{let n=!1;const r=[];let o=0,i=C;const a=()=>{var e;o||(i(),e=s(l?r[0]:r,t),u?t(e):i=g(e)?e:C)},e=c.map((e,t)=>A(e,e=>{r[t]=e,o&=~(1<<t),n&&a()},()=>{o|=1<<t}));return n=!0,a(),function(){te(e),i()}}).subscribe}}var Tt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Mt));var t},Mt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ct(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Bt(Array.isArray(e)?[]:{},e,t):e}function It(e,t,n){return e.concat(t).map(function(e){return Ct(e,n)})}function xt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function St(e,t){try{return t in e}catch(e){return!1}}function Rt(r,o,i){var a={};return i.isMergeableObject(r)&&xt(r).forEach(function(e){a[e]=Ct(r[e],i)}),xt(o).forEach(function(t){var e,n;(!St(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(St(r,t)&&i.isMergeableObject(o[t])?a[t]=function(){if(!i.customMerge)return Bt;var e=i.customMerge(t);return"function"==typeof e?e:Bt}()(r[t],o[t],i):a[t]=Ct(o[t],i))}),a}function Bt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||It,n.isMergeableObject=n.isMergeableObject||Tt,n.cloneUnlessOtherwiseSpecified=Ct;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Rt(e,t,n):Ct(t,n)}Bt.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Bt(e,t,n)},{})};var kt=Bt,Lt=function(e,t){return(Lt=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 Nt(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}Lt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Dt,Ut,Ht,jt=function(){return(jt=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 Pt(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function Ot(e){return e.type===Ut.literal}function Gt(e){return e.type===Ut.number}function _t(e){return e.type===Ut.date}function Ft(e){return e.type===Ut.time}function Wt(e){return e.type===Ut.select}function Zt(e){return e.type===Ut.plural}function zt(e){return e.type===Ut.tag}function Qt(e){return e&&"object"==typeof e&&e.type===Ht.number}function Vt(e){return e&&"object"==typeof e&&e.type===Ht.dateTime}(un=Dt=Dt||{})[un.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",un[un.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",un[un.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",un[un.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",un[un.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",un[un.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",un[un.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",un[un.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",un[un.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",un[un.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",un[un.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",un[un.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",un[un.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",un[un.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",un[un.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",un[un.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",un[un.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",un[un.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",un[un.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",un[un.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",un[un.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",un[un.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",un[un.INVALID_TAG=23]="INVALID_TAG",un[un.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",un[un.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",un[un.UNCLOSED_TAG=27]="UNCLOSED_TAG",(dn=Ut=Ut||{})[dn.literal=0]="literal",dn[dn.argument=1]="argument",dn[dn.number=2]="number",dn[dn.date=3]="date",dn[dn.time=4]="time",dn[dn.select=5]="select",dn[dn.plural=6]="plural",dn[dn.pound=7]="pound",dn[dn.tag=8]="tag",(hn=Ht=Ht||{})[hn.number=0]="number",hn[hn.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Yt=/(?:[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 Xt,Jt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Kt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,qt=/^(@+)?(\+|#+)?$/g,$t=/(\*)(0+)|(#+)(0+)|(0+)/g,en=/^(0+)$/;function tn(e){var r={};return e.replace(qt,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 nn(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 rn(e){return nn(e)||{}}function on(e){for(var a={},t=0,n=e;t<n.length;t++){var r,o=n[t];switch(o.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=o.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=jt(jt(jt({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return jt(jt({},e),rn(t))},{}));continue;case"engineering":a=jt(jt(jt({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return jt(jt({},e),rn(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace($t,function(e,t,n,r,o,i){if(t)a.minimumIntegerDigits=n.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(en.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(Kt.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Kt,function(e,t,n,r,o,i){return"*"===n?a.minimumFractionDigits=t.length:r&&"#"===r[0]?a.maximumFractionDigits=r.length:o&&i?(a.minimumFractionDigits=o.length,a.maximumFractionDigits=o.length+i.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""}),o.options.length&&(a=jt(jt({},a),tn(o.options[0])))}else qt.test(o.stem)?a=jt(jt({},a),tn(o.stem)):((r=nn(o.stem))&&(a=jt(jt({},a),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)),!en.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=jt(jt({},a),r)))}return a}var an=new RegExp("^"+e.source+"*"),sn=new RegExp(e.source+"*$");function ln(e,t){return{start:e,end:t}}var cn=!!String.prototype.startsWith,nt=!!String.fromCodePoint,dt=!!Object.fromEntries,un=!!String.prototype.codePointAt,dn=!!String.prototype.trimStart,hn=!!String.prototype.trimEnd,pn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(Xt=An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Xt?void 0:Xt[0])}catch(C){e=!1}var fn,mn,gn=cn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},bn=nt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,i=0;i<o;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},yn=dt?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],o=o[1];t[i]=o}return t},vn=un?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}},wn=dn?function(e){return e.trimStart()}:function(e){return e.replace(an,"")},En=hn?function(e){return e.trimEnd()}:function(e){return e.replace(sn,"")};function An(e,t){return new RegExp(e,t)}mn=e?(fn=An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return fn.lastIndex=t,null!==(e=fn.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var o=vn(e,t);if(void 0===o||In(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 bn.apply(void 0,r)};var Tn=(Mn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Mn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Dt.UNMATCHED_CLOSING_TAG,ln(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Cn(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{i=this.clonePosition();this.bump(),r.push({type:Ut.pound,location:ln(i,this.clonePosition())})}}}return{val:r,err:null}},Mn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ut.literal,value:"<"+r+"/>",location:ln(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()||!Cn(this.char()))return this.error(Dt.INVALID_TAG,ln(t,this.clonePosition()));o=this.clonePosition();return r!==this.parseTagName()?this.error(Dt.UNMATCHED_CLOSING_TAG,ln(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ut.tag,value:r,children:e,location:ln(n,this.clonePosition())},err:null}:this.error(Dt.INVALID_TAG,ln(t,this.clonePosition())))}return this.error(Dt.UNCLOSED_TAG,ln(n,this.clonePosition()))}return this.error(Dt.INVALID_TAG,ln(n,this.clonePosition()))},Mn.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())},Mn.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=ln(n,this.clonePosition());return{val:{type:Ut.literal,value:r,location:n},err:null}},Mn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Cn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Mn.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 bn.apply(void 0,t)},Mn.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(),bn(n))},Mn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Dt.EXPECT_ARGUMENT_CLOSING_BRACE,ln(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Dt.EMPTY_ARGUMENT,ln(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Dt.MALFORMED_ARGUMENT,ln(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Dt.EXPECT_ARGUMENT_CLOSING_BRACE,ln(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ut.argument,value:r,location:ln(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Dt.EXPECT_ARGUMENT_CLOSING_BRACE,ln(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Dt.MALFORMED_ARGUMENT,ln(n,this.clonePosition()))}},Mn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=mn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:ln(e,this.clonePosition())}},Mn.prototype.parseArgumentOptions=function(e,t,n,r){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Dt.EXPECT_ARGUMENT_TYPE,ln(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=En(h.val)).length)return this.error(Dt.EXPECT_ARGUMENT_STYLE,ln(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:ln(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(r)).err)return p;var u=ln(r,this.clonePosition());if(l&&gn(null==l?void 0:l.style,"::",0)){c=wn(l.style.slice(2));if("number"===a)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:Ut.number,value:n,location:u,style:h.val},err:null};if(0===c.length)return this.error(Dt.EXPECT_DATE_TIME_SKELETON,u);var d={type:Ht.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(Yt,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"===a?Ut.date:Ut.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===a?Ut.number:"date"===a?Ut.date:Ut.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(Dt.EXPECT_SELECT_ARGUMENT_OPTIONS,ln(l,jt({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(Dt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ln(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Dt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Dt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=h.val}u=this.tryParsePluralOrSelectOptions(e,a,t,u);if(u.err)return u;if((p=this.tryParseArgumentClose(r)).err)return p;var p=ln(r,this.clonePosition());return"select"===a?{val:{type:Ut.select,value:n,options:yn(u.val),location:p},err:null}:{val:{type:Ut.plural,value:n,options:yn(u.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:p},err:null};default:return this.error(Dt.INVALID_ARGUMENT_TYPE,ln(i,s))}},Mn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Dt.EXPECT_ARGUMENT_CLOSING_BRACE,ln(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Mn.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(Dt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ln(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}},Mn.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(Jt).filter(function(e){return 0<e.length});n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),a=0,s=o;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(Dt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ht.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?on(n):{}},err:null}},Mn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o=!1,i=[],a=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Dt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Dt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=ln(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?Dt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Dt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Dt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Dt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ln(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;i.push([s,{value:u.val,location:ln(d,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===i.length?this.error("select"===t?Dt.EXPECT_SELECT_ARGUMENT_SELECTOR:Dt.EXPECT_PLURAL_ARGUMENT_SELECTOR,ln(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Dt.MISSING_OTHER_CLAUSE,ln(this.clonePosition(),this.clonePosition())):{val:i,err:null}},Mn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}r=ln(r,this.clonePosition());return o?pn(i*=n)?{val:i,err:null}:this.error(t,r):this.error(e,r)},Mn.prototype.offset=function(){return this.position.offset},Mn.prototype.isEOF=function(){return this.offset()===this.message.length},Mn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Mn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=vn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Mn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Mn.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))},Mn.prototype.bumpIf=function(e){if(gn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Mn.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)},Mn.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}},Mn.prototype.bumpSpace=function(){for(;!this.isEOF()&&In(this.char());)this.bump()},Mn.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},Mn);function Mn(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 Cn(e){return 97<=e&&e<=122||65<=e&&e<=90}function In(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function xn(e,t){t=jt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Tn(e,t).parse();if(n.err){e=SyntaxError(Dt[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,Wt(e)||Zt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Gt(e)&&Qt(e.style)||(_t(e)||Ft(e))&&Vt(e.style)?delete e.style.location:zt(e)&&n(e.children)})}(n.val),n.val}function Sn(e,t){var n=t&&t.cache?t.cache:Un,r=t&&t.serializer?t.serializer:Ln;return(t&&t.strategy?t.strategy:function(e,t){return kn(e,this,1===e.length?Rn:Bn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Rn(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 Bn(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 kn(e,t,n,r,o){return n.bind(t,e,r,o)}var Ln=function(){return JSON.stringify(arguments)};function Nn(){this.cache=Object.create(null)}Nn.prototype.has=function(e){return e in this.cache},Nn.prototype.get=function(e){return this.cache[e]},Nn.prototype.set=function(e,t){this.cache[e]=t};var Dn,Un={create:function(){return new Nn}},Hn={variadic:function(e,t){return kn(e,this,Bn,t.cache.create(),t.serializer)},monadic:function(e,t){return kn(e,this,Rn,t.cache.create(),t.serializer)}};(e=Dn=Dn||{}).MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";var jn,Pn,On,Gn,_n,Fn=(Nt(Xn,_n=Error),Xn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Xn),Wn=(Nt(Yn,Gn=Fn),Yn),Zn=(Nt(Vn,On=Fn),Vn),zn=(Nt(Qn,Pn=Fn),Qn);function Qn(e,t){return Pn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Dn.MISSING_VALUE,t)||this}function Vn(e,t,n){return On.call(this,'Value for "'+e+'" must be of type '+t,Dn.INVALID_VALUE,n)||this}function Yn(e,t,n,r){return Gn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',Dn.INVALID_VALUE,r)||this}function Xn(e,t,n){e=_n.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Jn(e,t,n,r,o,i,a){if(1===e.length&&Ot(e[0]))return[{type:jn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Ot(u))s.push({type:jn.literal,value:u.value});else if(u.type===Ut.pound)"number"==typeof i&&s.push({type:jn.literal,value:n.getNumberFormat(t).format(i)});else{var d=u.value;if(!(o&&d in o))throw new zn(d,a);var h=o[d];if(u.type===Ut.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?jn.literal:jn.object,value:h});else if(_t(u)){var p="string"==typeof u.style?r.date[u.style]:Vt(u.style)?u.style.parsedOptions:void 0;s.push({type:jn.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(Ft(u))p="string"==typeof u.style?r.time[u.style]:Vt(u.style)?u.style.parsedOptions:void 0,s.push({type:jn.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(Gt(u))(p="string"==typeof u.style?r.number[u.style]:Qt(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:jn.literal,value:n.getNumberFormat(t,p).format(h)});else{if(zt(u)){var f=u.children,m=u.value,d=o[m];if("function"!=typeof d)throw new Zn(m,"function",a);f=d(Jn(f,t,n,r,o,i).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),s.push.apply(s,f.map(function(e){return{type:"string"==typeof e?jn.literal:jn.object,value:e}}))}if(Wt(u)){if(!(g=u.options[h]||u.options.other))throw new Wn(u.value,h,Object.keys(u.options),a);s.push.apply(s,Jn(g.value,t,n,r,o))}else if(Zt(u)){if(!(g=u.options["="+h])){if(!Intl.PluralRules)throw new Fn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Dn.MISSING_INTL_API,a);var f=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new Wn(u.value,h,Object.keys(u.options),a);s.push.apply(s,Jn(g.value,t,n,r,o,h-(u.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===jn.literal&&t.type===jn.literal?n.value+=t.value:e.push(t),e},[])}function Kn(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=jn=jn||{})[e.literal=0]="literal",e[e.object=1]="object";var qn=(Object.defineProperty($n,"defaultLocale",{get:function(){return $n.memoizedDefaultLocale||($n.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),$n.memoizedDefaultLocale},enumerable:!1,configurable:!0}),$n.memoizedDefaultLocale=null,$n.__parse=xn,$n.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"}}},$n);function $n(e,t,n,r){var o,i,a=this;if(void 0===t&&(t=$n.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===jn.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 Jn(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof e){if(this.message=e,!$n.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=$n.__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=$n.formats,(i=n)?Object.keys(o).reduce(function(e,t){var n,r;return e[t]=(n=o[t],(r=i[t])?jt(jt(jt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=jt(jt({},n[t]),r[t]||{}),e},{})):n),e},jt({},o)):o),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:Sn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Pt([void 0],t)))},{cache:Kn((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:Hn.variadic}),getDateTimeFormat:Sn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Pt([void 0],t)))},{cache:Kn(r.dateTime),strategy:Hn.variadic}),getPluralRules:Sn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Pt([void 0],t)))},{cache:Kn(r.pluralRules),strategy:Hn.variadic})}}const er={},tr=(t,n)=>{if(null!=n){if(n in er&&t in er[n])return er[n][t];var r,o,i=br(n);for(let e=0;e<i.length;e++){var a=(r=i[e],o=t,or(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 nr[e]||null}(r),o):null);if(a)return r=t,o=n,(a=a)&&(o in er||(er[o]={}),r in er[o]||(er[o][r]=a),a)}}};let nr;const rr=Et({});function or(e){return e in nr}function ir(t,...n){delete er[t],rr.update(e=>(e[t]=kt.all([e[t]||{},...n]),e))}At([rr],([e])=>Object.keys(e)),rr.subscribe(e=>nr=e);const ar={};function sr(e){return ar[e]}function lr(e){return br(e).some(e=>{return null===(e=sr(e))||void 0===e?void 0:e.size})}const cr={};function ur(e){if(!lr(e))return e in cr?cr[e]:void 0;const t=br(e).map(e=>{var t=sr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return cr[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){ar[e].delete(t),0===ar[e].size&&delete ar[e]}(t,e),e().then(e=>e.default||e)))).then(e=>ir(t,...e))}(e))).then(()=>lr(e)?ur(e):void delete cr[e]),cr[e]}function dr(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 hr={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 pr=Et(!1);let fr;const mr=Et(null);function gr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function br(e,t=hr.fallbackLocale){e=gr(e);return t?[...new Set([...e,...gr(t)])]:e}mr.subscribe(e=>{fr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const yr=mr.set;mr.set=t=>{if(function(e){if(null!=e){var t=br(e);for(let e=0;e<t.length;e++){var n=t[e];if(or(n))return n}}}(t)&&lr(t)){var{loadingDelay:n}=hr;let e;return"undefined"!=typeof window&&null!=fr&&n?e=window.setTimeout(()=>pr.set(!0),n):pr.set(!0),ur(t).then(()=>{yr(t)}).finally(()=>{clearTimeout(e),pr.set(!1)})}return yr(t)},mr.update=e=>yr(e(fr));const vr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},wr=(e,t)=>{var{formats:n}=hr;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Er=vr(e=>{var{locale:t,format:n}=e,e=dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=wr("number",n)),new Intl.NumberFormat(t,e)}),Ar=vr(e=>{var{locale:t,format:n}=e,e=dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=wr("date",n):0===Object.keys(e).length&&(e=wr("date","short")),new Intl.DateTimeFormat(t,e)}),Tr=vr(e=>{var{locale:t,format:n}=e,e=dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=wr("time",n):0===Object.keys(e).length&&(e=wr("time","short")),new Intl.DateTimeFormat(t,e)}),Mr=vr((e,t=fr)=>new qn(e,t,hr.formats,{ignoreTag:hr.ignoreTag})),Cr=At([mr,rr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=fr,default:o}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=tr(e,r);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else hr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${br(r).join('", "')}".${lr(fr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||e;if(!n)return i;let a=i;try{a=Mr(i,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return a});At([mr],()=>(e,t)=>((e={})=>{var{locale:t=fr}=e,e=dr(e,["locale"]);return Tr(Object.assign({locale:t},e))})(t).format(e)),At([mr],()=>(e,t)=>((e={})=>{var{locale:t=fr}=e,e=dr(e,["locale"]);return Ar(Object.assign({locale:t},e))})(t).format(e)),At([mr],()=>(e,t)=>((e={})=>{var{locale:t=fr}=e,e=dr(e,["locale"]);return Er(Object.assign({locale:t},e))})(t).format(e)),At([mr,rr],()=>(e,t=fr)=>tr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==yt.indexOf(e)&&(t=new ft(t),vt[e]=t,yt.push(e)),vt[e]}};const Ir=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));function xr(e,t,n){const r=e.slice();return r[24]=t[n],r[26]=n,r}function Sr(t){let r,o=[],n=new Map,i=t[0];const a=e=>e[24].id;for(let e=0;e<i.length;e+=1){var s=xr(t,i,e),l=a(s);n.set(l,o[e]=kr(l,s))}return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=E()},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&&(i=e[0],o=function(t,n,r,o,i,a,s,l,e,c,u,d){let h=t.length,p=a.length,f=h;const m={};for(;f--;)m[t[f].key]=f;const g=[],b=new Map,y=new Map;for(f=p;f--;){const t=d(i,a,f),l=r(t);let e=s.get(l);e?o&&e.p(t,n):(e=c(l,t),e.c()),b.set(l,g[f]=e),l in m&&y.set(l,Math.abs(f-m[l]))}const v=new Set,w=new Set;function E(e){_(e,1),e.m(l,u),s.set(e.key,e),u=e.first,p--}for(;h&&p;){const n=g[p-1],r=t[h-1],o=n.key,i=r.key;n===r?(u=n.first,h--,p--):b.has(i)?!s.has(o)||v.has(o)?E(n):w.has(i)?h--:y.get(o)>y.get(i)?(w.add(o),E(n)):(v.add(i),h--):(e(r,s),h--)}for(;h--;){const n=t[h];b.has(n.key)||e(n,s)}for(;p;)E(g[p-1]);return g}(o,t,a,1,e,i,n,r.parentNode,Z,kr,r,xr))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&oe(r)}}}function Rr(e){let n,r,o,i=e[24].name+"",a="FAVORITES"===e[24].id?"("+e[1]+")":"";return{c(){n=ae(i),r=se(),o=ae(a)},m(e,t){re(e,n,t),re(e,r,t),re(e,o,t)},p(e,t){1&t&&i!==(i=e[24].name+"")&&ue(n,i),3&t&&a!==(a="FAVORITES"===e[24].id?"("+e[1]+")":"")&&ue(o,a)},d(e){e&&oe(n),e&&oe(r),e&&oe(o)}}}function Br(e){let n,r,o,i=e[24].label+"";return{c(){n=ie("a"),r=ae(i),ce(n,"href",o=e[24].path)},m(e,t){re(e,n,t),ne(n,r)},p(e,t){1&t&&i!==(i=e[24].label+"")&&ue(r,i),1&t&&o!==(o=e[24].path)&&ce(n,"href",o)},d(e){e&&oe(n)}}}function kr(e,n){let r,o,i,a;function s(e){return"headerMain"===e[2]?Br:Rr}let l=s(n),c=l(n);function u(...e){return n[16](n[24],n[26],...e)}return{key:e,first:null,c(){r=ie("li"),c.c(),o=se(),ce(r,"class","CarouselItem"),h(r,"active",n[5]==n[26]),this.first=r},m(e,t){re(e,r,t),c.m(r,null),ne(r,o),i||(a=le(r,"click",u),i=!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&&h(r,"active",n[5]==n[26])},d(e){e&&oe(r),c.d(),i=!1,a()}}}function Lr(n){let r,o,i,a,s,l,c,u,d,h,p,f,m=0<n[0].length&&Sr(n);return{c(){r=ie("div"),o=ie("div"),i=ie("div"),i.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>',a=se(),s=ie("ul"),m&&m.c(),l=se(),c=ie("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=C,ce(i,"class","CarouselLeftArrow"),ce(s,"class","CarouselItems"),ce(c,"class","CarouselRightArrow"),ce(o,"class",u="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),ce(o,"style",d="headerMain"===n[2]?"max-width: auto":`max-width: ${n[3]}px`),ce(r,"class",h="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":""))},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(o,a),ne(o,s),m&&m.m(s,null),n[17](s),ne(o,l),ne(o,c),n[19](r),p||(f=[le(i,"click",n[15]),le(c,"click",n[18])],p=!0)},p(e,[t]){0<e[0].length?m?m.p(e,t):(m=Sr(e),m.c(),m.m(s,null)):m&&(m.d(1),m=null),4&t&&u!==(u="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&ce(o,"class",u),12&t&&d!==(d="headerMain"===e[2]?"max-width: auto":`max-width: ${e[3]}px`)&&ce(o,"style",d),4&t&&h!==(h="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&ce(r,"class",h)},i:C,o:C,d(e){e&&oe(r),m&&m.d(),n[17](null),n[19](null),p=!1,te(f)}}}function Nr(e,t,n){let r,o,i,{sliderdata:a=[]}=t,{onclickeventname:s="defaultEvent"}=t,{favoritesnumber:l="0"}=t,{location:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{identity:h=""}=t,{containermaxwidth:p=""}=t,f="PC"!=((t=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),m=(e,t)=>{n(5,o=t),window.postMessage({type:s,itemId:e,index:t},window.location.href)};const g=e=>{e.data&&"SetSliderIndex"==e.data.type&&n(5,o=e.data.categoryData?a.map(e=>e.id).indexOf(e.data.categoryData.id):0),e.data&&e.data.type==`SetSliderIndex_${h}`&&n(5,o=e.data.index)};let b=()=>{r.scrollBy({left:-300,behavior:"smooth"})},y=()=>{r.scrollBy({left:300,behavior:"smooth"})};return L(()=>(window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)})),e.$$set=e=>{"sliderdata"in e&&n(0,a=e.sliderdata),"onclickeventname"in e&&n(11,s=e.onclickeventname),"favoritesnumber"in e&&n(1,l=e.favoritesnumber),"location"in e&&n(2,c=e.location),"clientstyling"in e&&n(12,u=e.clientstyling),"clientstylingurl"in e&&n(13,d=e.clientstylingurl),"identity"in e&&n(14,h=e.identity),"containermaxwidth"in e&&n(3,p=e.containermaxwidth)},e.$$.update=()=>{4096&e.$$.dirty&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,setTimeout(()=>{i.appendChild(e)})})(),8192&e.$$.dirty&&d&&(()=>{let t=document.createElement("style");d&&fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},[a,l,c,p,r,o,i,f,m,b,y,s,u,d,h,()=>b(),(e,t,n)=>m(e.id,t),function(e){N[e?"unshift":"push"](()=>{r=e,n(4,r)})},()=>y(),function(e){N[e?"unshift":"push"](()=>{i=e,n(6,i)})}]}function Dr(e,{delay:t=0,duration:n=400,easing:r=m}={}){const o=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*o}}function Ur(e,t,n){const r=e.slice();return r[17]=t[n],r}function Hr(e,t,n){const r=e.slice();return r[20]=t[n],r}function jr(n){let r,o,i,a,s,l,c,u,d,h,p,f,t,m,g,b,y=n[1],v=[];for(let e=0;e<y.length;e+=1)v[e]=Pr(Hr(n,y,e));let w=n[3],E=[];for(let e=0;e<w.length;e+=1)E[e]=Or(Ur(n,w,e));return{c(){r=ie("div"),o=ie("span"),i=ie("slot"),i.innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',s=se(),l=ie("div"),c=ie("ul");for(let e=0;e<v.length;e+=1)v[e].c();d=se(),h=ie("ul");for(let e=0;e<E.length;e+=1)E[e].c();ce(i,"name","close"),ce(o,"class",a=n[4]?"ModalCloseBtn":""),ce(o,"role","button"),ce(c,"class",u="HamburgerPrimaryMenu "+(n[5]?"HamburgerPrimaryMenuFixed":"")),ce(h,"class",p="HamburgerSecondaryMenu "+(n[5]?"HamburgerSecondaryMenuFixed":"")),ce(l,"class",f="HamburgerModalContainer "+(n[4]?"ActiveHamburgerMenu":"")),ce(r,"class","HamburgerModalWindow")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(r,s),ne(r,l),ne(l,c);for(let e=0;e<v.length;e+=1)v[e].m(c,null);ne(l,d),ne(l,h);for(let e=0;e<E.length;e+=1)E[e].m(h,null);n[12](r),m=!0,g||(b=le(o,"click",n[7]),g=!0)},p(e,t){if(n=e,(!m||16&t&&a!==(a=n[4]?"ModalCloseBtn":""))&&ce(o,"class",a),262&t){let e;for(y=n[1],e=0;e<y.length;e+=1){const o=Hr(n,y,e);v[e]?v[e].p(o,t):(v[e]=Pr(o),v[e].c(),v[e].m(c,null))}for(;e<v.length;e+=1)v[e].d(1);v.length=y.length}if((!m||32&t&&u!==(u="HamburgerPrimaryMenu "+(n[5]?"HamburgerPrimaryMenuFixed":"")))&&ce(c,"class",u),8&t){let e;for(w=n[3],e=0;e<w.length;e+=1){const o=Ur(n,w,e);E[e]?E[e].p(o,t):(E[e]=Or(o),E[e].c(),E[e].m(h,null))}for(;e<E.length;e+=1)E[e].d(1);E.length=w.length}(!m||32&t&&p!==(p="HamburgerSecondaryMenu "+(n[5]?"HamburgerSecondaryMenuFixed":"")))&&ce(h,"class",p),(!m||16&t&&f!==(f="HamburgerModalContainer "+(n[4]?"ActiveHamburgerMenu":"")))&&ce(l,"class",f)},i(e){m||(H(()=>{t=t||W(r,Dr,{transitionDuration:_r},!0),t.run(1)}),m=!0)},o(e){t=t||W(r,Dr,{transitionDuration:_r},!1),t.run(0),m=!1},d(e){e&&oe(r),R(v,e),R(E,e),n[12](null),e&&t&&t.end(),g=!1,b()}}}function Pr(n){let r,o,i,a,s,l,c,u,d,h,p=n[20].label+"";function f(){return n[11](n[20])}return{c(){r=ie("li"),o=ie("div"),i=ie("img"),s=se(),l=ae(p),c=se(),i.src!==(a=n[20].img)&&ce(i,"src",a),ce(i,"alt","menu icon"),ce(o,"class","HamburgerItemContainer"),ce(r,"class",u=n[2]===n[20].id?"ActiveItem":"")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(o,s),ne(o,l),ne(r,c),d||(h=le(r,"click",f),d=!0)},p(e,t){n=e,2&t&&i.src!==(a=n[20].img)&&ce(i,"src",a),2&t&&p!==(p=n[20].label+"")&&ue(l,p),6&t&&u!==(u=n[2]===n[20].id?"ActiveItem":"")&&ce(r,"class",u)},d(e){e&&oe(r),d=!1,h()}}}function Or(e){let n,r,o,i,a,s,l,c,u=e[17].label+"";return{c(){n=ie("li"),r=ie("a"),o=ie("img"),a=se(),s=ae(u),c=se(),o.src!==(i=e[17].img)&&ce(o,"src",i),ce(o,"alt","menu icon"),ce(r,"href",l=e[17].path)},m(e,t){re(e,n,t),ne(n,r),ne(r,o),ne(r,a),ne(r,s),ne(n,c)},p(e,t){8&t&&o.src!==(i=e[17].img)&&ce(o,"src",i),8&t&&u!==(u=e[17].label+"")&&ue(s,u),8&t&&l!==(l=e[17].path)&&ce(r,"href",l)},d(e){e&&oe(n)}}}function Gr(e){let n,r,o=!0===e[6]&&jr(e);return{c(){o&&o.c(),n=E(),this.c=C},m(e,t){o&&o.m(e,t),re(e,n,t),r=!0},p(e,[t]){!0===e[6]?o?(o.p(e,t),64&t&&_(o,1)):(o=jr(e),o.c(),_(o,1),o.m(n.parentNode,n)):o&&(G={r:0,c:[],p:G},c(o,1,1,()=>{o=null}),G.r||te(G.c),G=G.p)},i(e){r||(_(o),r=!0)},o(e){c(o),r=!1},d(e){o&&o.d(e),e&&oe(n)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends Q{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:#D0046C;background:-webkit-linear-gradient(to left, #FD2839, #D0046C);background:linear-gradient(to left, #FD2839, #D0046C)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;width:100%;color:#ffffff;margin:0 auto;padding:0 10px}.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:#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 #D0046C;color:#D0046C}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:#fff;text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",z(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Nr,Lr,n,{sliderdata:0,onclickeventname:11,favoritesnumber:1,location:2,clientstyling:12,clientstylingurl:13,identity:14,containermaxwidth:3}),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["sliderdata","onclickeventname","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth"]}get sliderdata(){return this.$$.ctx[0]}set sliderdata(e){this.$set({sliderdata:e}),j()}get onclickeventname(){return this.$$.ctx[11]}set onclickeventname(e){this.$set({onclickeventname:e}),j()}get favoritesnumber(){return this.$$.ctx[1]}set favoritesnumber(e){this.$set({favoritesnumber:e}),j()}get location(){return this.$$.ctx[2]}set location(e){this.$set({location:e}),j()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$set({clientstylingurl:e}),j()}get identity(){return this.$$.ctx[14]}set identity(e){this.$set({identity:e}),j()}get containermaxwidth(){return this.$$.ctx[3]}set containermaxwidth(e){this.$set({containermaxwidth:e}),j()}});let _r=350;function Fr(e,t,r){let n,{language:o=""}=t,{menuitemsurl:i=""}=t,a=window.navigator.userAgent,s=[],l="",c=[],u=!1,d=!1,h=!1;const p=e=>{"OpenHamburgerMenuModal"===e.data.type&&(window.postMessage({type:"DisableScroll"},window.location.href),r(6,h=!0),setTimeout(()=>{r(4,u=!0)},500),setTimeout(()=>{r(5,d=!0)},1500),m(i))},f=(e,t)=>{r(2,l=e),r(3,c=t||[])},m=e=>new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{r(1,s=e),s.length&&f(s[0].id,s[0].children),t(e)},e=>{console.error(e),n(e)})});return L(()=>(window.addEventListener("message",p,!1),Ir(a),()=>{window.removeEventListener("message",p)})),e.$$set=e=>{"language"in e&&r(9,o=e.language),"menuitemsurl"in e&&r(10,i=e.menuitemsurl)},[void 0,s,l,c,u,d,h,()=>{r(6,h=!1),r(4,u=!1),r(5,d=!1),window.postMessage({type:"CloseHamburgerMenu",showhamburger:!0},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},f,o,i,e=>f(e.id,e.children),function(e){N[e?"unshift":"push"](()=>{n=e,r(0,n)})}]}customElements.get("casino-hamburger-menu")||customElements.define("casino-hamburger-menu",class extends Q{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}.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:#000;width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width .6s 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:#fff;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:#fff}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:#07072A;white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid #D0046C;width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:#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:#fff}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid #707070}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:#D0046C}</style>",z(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Fr,Gr,n,{language:9,menuitemsurl:10}),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["language","menuitemsurl"]}get language(){return this.$$.ctx[9]}set language(e){this.$set({language:e}),j()}get menuitemsurl(){return this.$$.ctx[10]}set menuitemsurl(e){this.$set({menuitemsurl:e}),j()}});const Wr={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 Zr,zr,Qr=(zr=(Zr={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&&Zr.path)}}).exports,function(e){var r,k=e.setTimeout,L=e.clearTimeout,N=e.XMLHttpRequest,o=e.XDomainRequest,t=e.ActiveXObject,n=e.EventSource,i=e.document,d=e.Promise,h=e.fetch,a=e.Response,p=e.TextDecoder,s=e.TextEncoder,f=e.AbortController;function l(){this.bitsNeeded=0,this.codePoint=0}"undefined"==typeof window||void 0===i||"readyState"in i||null!=i.body||(i.readyState="loading",window.addEventListener("load",function(e){i.readyState="complete"},!1)),null==N&&null!=t&&(N=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==f&&(r=h,h=function(e,t){var n=t.signal;return r(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then(function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}})},f=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}),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,i=this.codePoint,a=0;a<e.length;a+=1){var s=e[a];0!==o&&(s<128||191<s||!t(i<<6|63&s,o-6,n(o,i)))&&(o=0,i=65533,r+=String.fromCharCode(i)),0===o?(i=0<=s&&s<=127?(o=0,s):192<=s&&s<=223?(o=6,31&s):224<=s&&s<=239?(o=12,15&s):240<=s&&s<=247?(o=18,7&s):(o=0,65533),0===o||t(i,o,n(o,i))||(o=0,i=65533)):(o-=6,i=i<<6|63&s),0===o&&(i<=65535?r+=String.fromCharCode(i):(r+=String.fromCharCode(55296+(i-65535-1>>10)),r+=String.fromCharCode(56320+(i-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=i,r},null!=p&&null!=s&&function(){try{return"test"===(new p).decode((new s).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}}()||(p=l);var u=function(){};function D(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 m(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var o=n[r].split(": "),i=o.shift(),o=o.join(": ");t[c(i)]=o}this._map=t}function U(){}function g(e){this._headers=e}function H(){}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 j(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 O(e,t){v.call(this,e),this.error=t.error}D.prototype.open=function(e,t){this._abort(!0);var o=this,i=this._xhr,a=1,n=0;this._abort=function(e){0!==o._sendTimeout&&(L(o._sendTimeout),o._sendTimeout=0),1!==a&&2!==a&&3!==a||(a=4,i.onload=u,i.onerror=u,i.onabort=u,i.onprogress=u,i.onreadystatechange=u,i.abort(),0!==n&&(L(n),n=0),e||(o.readyState=4,o.onabort(null),o.onreadystatechange())),a=0};function r(){if(1===a){var t=0,n="",r=void 0;if("contentType"in i)t=200,n="OK",r=i.contentType;else try{t=i.status,n=i.statusText,r=i.getResponseHeader("Content-Type")}catch(e){n="",r=void(t=0)}0!==t&&(a=2,o.readyState=2,o.status=t,o.statusText=n,o._contentType=r,o.onreadystatechange())}}function s(){if(r(),2===a||3===a){a=3;var e="";try{e=i.responseText}catch(e){}o.readyState=3,o.responseText=e,o.onprogress()}}function l(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:u}),s(),1===a||2===a||3===a){if(a=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 c=function(){n=k(function(){c()},500),3===i.readyState&&s()};"onload"in i&&(i.onload=function(e){l("load",e)}),"onerror"in i&&(i.onerror=function(e){l("error",e)}),"onabort"in i&&(i.onabort=function(e){l("abort",e)}),"onprogress"in i&&(i.onprogress=s),"onreadystatechange"in i&&(i.onreadystatechange=function(e){e=e,null!=i&&(4===i.readyState?"onload"in i&&"onerror"in i&&"onabort"in i||l(""===i.responseText?"error":"load",e):3===i.readyState?"onprogress"in i||s():2===i.readyState&&r())}),!("contentType"in i)&&"ontimeout"in N.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),i.open(e,t,!0),"readyState"in i&&(n=k(function(){c()},0))},D.prototype.abort=function(){this._abort(!1)},D.prototype.getResponseHeader=function(e){return this._contentType},D.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},D.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},D.prototype.send=function(){if("ontimeout"in N.prototype&&("sendAsBinary"in N.prototype||"mozAnon"in N.prototype)||null==i||null==i.readyState||"complete"===i.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(e){throw e}}else{var t=this;t._sendTimeout=k(function(){t._sendTimeout=0,t.send()},4)}},m.prototype.get=function(e){return this._map[c(e)]},null!=N&&null==N.HEADERS_RECEIVED&&(N.HEADERS_RECEIVED=2),U.prototype.open=function(o,i,t,n,e,r,a){o.open("GET",e);var s,l=0;for(s in o.onprogress=function(){var e=o.responseText.slice(l);l+=e.length,t(e)},o.onerror=function(e){e.preventDefault(),n(new Error("NetworkError"))},o.onload=function(){n(null)},o.onabort=function(){n(null)},o.onreadystatechange=function(){var e,t,n,r;o.readyState===N.HEADERS_RECEIVED&&(e=o.status,t=o.statusText,n=o.getResponseHeader("Content-Type"),r=o.getAllResponseHeaders(),i(e,t,n,new m(r)))},o.withCredentials=r,a)Object.prototype.hasOwnProperty.call(a,s)&&o.setRequestHeader(s,a[s]);return o.send(),o},g.prototype.get=function(e){return this._headers.get(e)},H.prototype.open=function(e,t,o,n,r,i,a){var s=null,l=new f,c=l.signal,u=new p;return h(r,{headers:a,credentials:i?"include":"same-origin",signal:c,cache:"no-store"}).then(function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new g(e.headers)),new d(function(t,n){var r=function(){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,i=0;i<r.length;i+=1)r[i]===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=[],i=0;i<r.length;i+=1)r[i]!==t&&o.push(r[i]);0===o.length?delete n[e]:n[e]=o}},j.prototype=Object.create(v.prototype),P.prototype=Object.create(v.prototype),O.prototype=Object.create(v.prototype);function G(e,t){return e=null==e?t:parseInt(e,10),W(e=e!=e?t:e)}function _(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){y(e)}}var F=/^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,i,e){i=String(i);function a(e,t,n,r){var o,i;0===E&&(200===e&&null!=n&&F.test(n)?(E=1,m=Date.now(),f=d,l.readyState=1,o=new P("open",{status:e,statusText:t,headers:r}),l.dispatchEvent(o),_(l,l.onopen,o)):(i="",i=200!==e?"EventSource's response has a status "+e+" "+(t=t&&t.replace(/\s+/g," "))+" that is not 200. Aborting the connection.":"EventSource's response has a Content-Type specifying an unsupported type: "+(null==n?"-":n.replace(/\s+/g," "))+". Aborting the connection.",R(),o=new P("error",{status:e,statusText:t,headers:r}),l.dispatchEvent(o),_(l,l.onerror,o),console.error(i)))}function s(e){if(1===E){for(var t=-1,n=0;n<e.length;n+=1)(a=e.charCodeAt(n))!=="\n".charCodeAt(0)&&a!=="\r".charCodeAt(0)||(t=n);var r=(-1!==t?C:"")+e.slice(0,t+1);C=(-1===t?C:"")+e.slice(t+1),""!==e&&(m=Date.now(),g+=e.length);for(var o=0;o<r.length;o+=1){var i,a=r.charCodeAt(o);if(-1===I&&a==="\n".charCodeAt(0))I=0;else if(-1===I&&(I=0),a==="\r".charCodeAt(0)||a==="\n".charCodeAt(0)){if(0!==I&&(1===I&&(S=o+1),i=r.slice(x,S-1),s=r.slice(S+(S<o&&r.charCodeAt(S)===" ".charCodeAt(0)?1:0),o),"data"===i?(A+="\n",A+=s):"id"===i?T=s:"event"===i?M=s:"retry"===i?(d=G(s,d),f=d):"heartbeatTimeout"===i&&(h=G(s,h),0!==w&&(L(w),w=k(function(){B()},h)))),0===I){if(""!==A){p=T;var s=new j(M=""===M?"message":M,{data:A.slice(1),lastEventId:T});if(l.dispatchEvent(s),"open"===M?_(l,l.onopen,s):"message"===M?_(l,l.onmessage,s):"error"===M&&_(l,l.onerror,s),2===E)return}M=A=""}I=a==="\r".charCodeAt(0)?-1:0}else 0===I&&(x=o,I=1),1===I?a===":".charCodeAt(0)&&(S=o+1,I=2):2===I&&(I=3)}}}function c(e){var t;1!==E&&0!==E||(E=-1,0!==w&&(L(w),w=0),w=k(function(){B()},f),f=W(Math.min(16*d,2*f)),l.readyState=0,t=new O("error",{error:e}),l.dispatchEvent(t),_(l,l.onerror,t),null!=e&&console.error(e))}var t=Boolean(e.withCredentials),u=e.lastEventIdQueryParameterName||"lastEventId",d=W(1e3),h=G(e.heartbeatTimeout,45e3),p="",f=d,m=!1,g=0,n=e.headers||{},e=e.Transport,b=Z&&null==e?void 0:new D(new(null!=e?e:null!=N&&"withCredentials"in N.prototype||null==o?N:o)),y=new(null!=e&&"string"!=typeof e?e:null==b?H:U),v=void 0,w=0,E=-1,A="",T="",M="",C="",I=0,x=0,S=0,R=function(){E=2,null!=v&&(v.abort(),v=void 0),0!==w&&(L(w),w=0),l.readyState=2},B=function(){if(w=0,-1===E){m=!1,g=0,w=k(function(){B()},h),T=p,C=M=A="",I=S=x=E=0;var e=i;"data:"!==i.slice(0,5)&&"blob:"!==i.slice(0,5)&&""!==p&&(e=-1===(t=i.indexOf("?"))?i:i.slice(0,t+1)+i.slice(t+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(e,t){return t===u?"":e}),e+=(-1===i.indexOf("?")?"?":"&")+u+"="+encodeURIComponent(p));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{v=y.open(b,a,s,c,e,t,n)}catch(e){throw R(),e}}else m||null==v?(t=Math.max((m||Date.now())+h-Date.now(),1),m=!1,w=k(function(){B()},t)):(c(new Error("No activity within "+h+" milliseconds. "+(0===E?"No response received.":g+" chars received.")+" Reconnecting.")),null!=v&&(v.abort(),v=void 0))};l.url=i,l.readyState=0,l.withCredentials=t,l.headers=n,l._close=R,B()}(this,e,t)}var Z=null!=h&&null!=a&&"body"in a.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==N||null!=n&&"withCredentials"in n.prototype||(e=w),(a=zr).EventSourcePolyfill=w,a.NativeEventSource=n,a.EventSource=e}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:xe:globalThis),Zr.exports);function Vr(n){let r,o,i,a,s,l,c,u,d,h,p,f,m,g,b,y,v,w,E,A,T,M,C,I,x,S,R,B,k,L,N,D,U,H,j,P,O,G,_,F,W,Z,z,Q,V,Y,X,J=n[5]("balanceModal.balanceTitle")+"",K=n[5]("balanceModal.totalBalance")+"",q=n[5]("balanceModal.cashBalance")+"",$=n[5]("balanceModal.bonusBalance")+"",ee=n[5]("balanceModal.depositButton")+"";return{c(){r=ie("div"),o=ie("div"),i=se(),a=ie("div"),s=ie("div"),l=ie("p"),c=ae(J),u=se(),d=ie("div"),h=ie("div"),p=ie("p"),f=ae(K),m=se(),g=ie("p"),b=ie("span"),y=ae(n[0]),v=se(),w=ie("span"),E=ae(n[3]),A=se(),T=ie("div"),M=ie("p"),C=ae(q),I=se(),x=ie("p"),S=ie("span"),R=ae(n[1]),B=se(),k=ie("span"),L=ae(n[3]),N=se(),D=ie("div"),U=ie("p"),H=ae($),j=se(),P=ie("p"),O=ie("span"),G=ae(n[2]),_=se(),F=ie("span"),W=ae(n[3]),Z=se(),z=ie("div"),Q=ie("button"),V=ae(ee),ce(o,"class","BalanceModalClose"),ce(l,"class","BalanceModalTitle"),ce(s,"class","BalanceModalHeader"),ce(p,"class","BalanceModalText"),ce(b,"class","BalanceModalAmount"),ce(w,"class","BalanceModalCurrency"),ce(g,"class","BalanceModalValue"),ce(h,"class","BalanceModalRow"),ce(M,"class","BalanceModalText"),ce(S,"class","BalanceModalAmount"),ce(k,"class","BalanceModalCurrency"),ce(x,"class","BalanceModalValue"),ce(T,"class","BalanceModalRow"),ce(U,"class","BalanceModalText"),ce(O,"class","BalanceModalAmount"),ce(F,"class","BalanceModalCurrency"),ce(P,"class","BalanceModalValue"),ce(D,"class","BalanceModalRow"),ce(d,"class","BalanceModalBody"),ce(Q,"class","BalanceModalAction"),ce(z,"class","BalanceModalFooter"),ce(a,"class","BalanceModal"),ce(r,"class","BalanceModalWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(r,i),ne(r,a),ne(a,s),ne(s,l),ne(l,c),ne(a,u),ne(a,d),ne(d,h),ne(h,p),ne(p,f),ne(h,m),ne(h,g),ne(g,b),ne(b,y),ne(g,v),ne(g,w),ne(w,E),ne(d,A),ne(d,T),ne(T,M),ne(M,C),ne(T,I),ne(T,x),ne(x,S),ne(S,R),ne(x,B),ne(x,k),ne(k,L),ne(d,N),ne(d,D),ne(D,U),ne(U,H),ne(D,j),ne(D,P),ne(P,O),ne(O,G),ne(P,_),ne(P,F),ne(F,W),ne(a,Z),ne(a,z),ne(z,Q),ne(Q,V),Y||(X=[le(o,"click",n[12]),le(Q,"click",n[13])],Y=!0)},p(e,t){32&t&&J!==(J=e[5]("balanceModal.balanceTitle")+"")&&ue(c,J),32&t&&K!==(K=e[5]("balanceModal.totalBalance")+"")&&ue(f,K),1&t&&ue(y,e[0]),8&t&&ue(E,e[3]),32&t&&q!==(q=e[5]("balanceModal.cashBalance")+"")&&ue(C,q),2&t&&ue(R,e[1]),8&t&&ue(L,e[3]),32&t&&$!==($=e[5]("balanceModal.bonusBalance")+"")&&ue(H,$),4&t&&ue(G,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 Yr(n){let r,o,i;return{c(){r=ie("div"),ce(r,"class","ShowBalanceModalOverlay")},m(e,t){re(e,r,t),o||(i=le(r,"click",n[14]),o=!0)},p:C,d(e){e&&oe(r),o=!1,i()}}}function Xr(n){let r,o,i,a,s,l,c,u,d,h,p,f,m=n[4]&&Vr(n),g=n[4]&&Yr(n);return{c(){r=ie("div"),o=ie("p"),i=ae(n[0]),a=se(),s=ae(n[3]),l=se(),c=ie("span"),c.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:#fff;}</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(),m&&m.c(),d=se(),g&&g.c(),h=E(),this.c=C,ce(o,"class","BalanceValue"),ce(r,"class","ShowBalance")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(o,a),ne(o,s),ne(o,l),ne(o,c),ne(r,u),m&&m.m(r,null),re(e,d,t),g&&g.m(e,t),re(e,h,t),p||(f=le(o,"click",n[11]),p=!0)},p(e,[t]){1&t&&ue(i,e[0]),8&t&&ue(s,e[3]),e[4]?m?m.p(e,t):(m=Vr(e),m.c(),m.m(r,null)):m&&(m.d(1),m=null),e[4]?g?g.p(e,t):(g=Yr(e),g.c(),g.m(h.parentNode,h)):g&&(g.d(1),g=null)},i:C,o:C,d(e){e&&oe(r),m&&m.d(),e&&oe(d),g&&g.d(e),e&&oe(h),p=!1,f()}}}function Jr(e,t,r){let n;var o,i,a=Cr;e.$$.on_destroy.push(A(a,e=>r(5,n=e)));let s,l,c,{userid:u=""}=t,{session:d=""}=t,{endpoint:h=""}=t,p="",f="",m="",g="",b=!1;[{withLocale:o,translations:i}]=[{withLocale:"en",translations:{}}],mr.subscribe(e=>{null==e&&(rr.set(i),mr.set(o))}),Object.keys(Wr).forEach(e=>{ir(e,Wr[e])});const y=e=>{switch(e){case"balance":r(4,b=!0);break;case"closebalance":r(4,b=!1)}},v=e=>{"message"==e.type&&((e=JSON.parse(e.data)).balanceChange&&e.balanceChange[l]&&r(1,f=e.balanceChange[l].afterAmount),e.balanceChange&&e.balanceChange[c]&&r(2,m=e.balanceChange[c].afterAmount),r(0,p=(parseFloat(f)+parseFloat(m)).toFixed(2)))},w=()=>{window.postMessage({type:"GoToDeposit"},window.location.href)},E=()=>{var e;s=new Qr.EventSourcePolyfill(`${h}/player/${u}/balance/updates`,{headers:{accept:"text/event-stream","X-SessionID":d}}),e=`${h}/player/${u}/account`,new Promise((t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":d}}).then(e=>e.json()).then(e=>{e.items.forEach(e=>{"Casino"==e.displayName&&(l=e.id,r(1,f=e.balanceAmount),r(3,g=e.currency)),"UBS"==e.displayName&&(c=e.id,r(2,m=e.balanceAmount))}),r(0,p=(parseFloat(f)+parseFloat(m)).toFixed(2)),s.addEventListener("open",v),s.addEventListener("message",v),s.addEventListener("error",v),t(e)},e=>{console.error(e),n(e)})})};return L(()=>()=>{s.removeEventListener("open",v),s.removeEventListener("message",v),s.removeEventListener("error",v)}),e.$$set=e=>{"userid"in e&&r(8,u=e.userid),"session"in e&&r(9,d=e.session),"endpoint"in e&&r(10,h=e.endpoint)},e.$$.update=()=>{1792&e.$$.dirty&&h&&u&&d&&E()},[p,f,m,g,b,n,y,w,u,d,h,()=>y("balance"),()=>y("closebalance"),()=>w(),()=>y("closebalance")]}customElements.get("player-account-balance-modal")||customElements.define("player-account-balance-modal",class extends Q{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:#fff;position:absolute;top:45px;left:50%;transform:translateX(-50%);padding:10px;box-shadow:0px 30px 30px #D0046C1A;border-radius:5px;z-index:3;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:\"\";background:#fff;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:#FD2839;position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:\"\";background:#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:#07072A}.BalanceModalRow{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid #D1D1D1}.BalanceModalRow:last-child{border-bottom:none}.BalanceModalRow .BalanceModalText{color:#58586B;font-size:14px;text-transform:capitalize}.BalanceModalRow .BalanceModalValue{font-size:14px;font-weight:bold;color:#07072A}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:#FD2839;font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover{background:#f00215}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:2}</style>",z(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Jr,Xr,n,{userid:8,session:9,endpoint:10}),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["userid","session","endpoint"]}get userid(){return this.$$.ctx[8]}set userid(e){this.$set({userid:e}),j()}get session(){return this.$$.ctx[9]}set session(e){this.$set({session:e}),j()}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$set({endpoint:e}),j()}});var Kr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZ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5LAJ3qIHbDHyi0LyjHMyh4QTmp0CfRVu1nEZefN6xNeFlzRcGTe15LLchnN7sAJwNgQgnAnF8P34sgFsbuKMG9yj7d/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 qr(e,t,n){const r=e.slice();return r[48]=t[n],r}function $r(e,t,n){const r=e.slice();return r[4]=t[n],r}function eo(e,t,n){const r=e.slice();return r[48]=t[n],r}function to(e,t,n){const r=e.slice();return r[4]=t[n],r}function no(n){let r,o,i,a,e,s,l,c,u,d,h,p,f,m,g,b,y,v,w,E,A=!n[9]&&io(n),T=n[13],M=[];for(let e=0;e<T.length;e+=1)M[e]=ao($r(n,T,e));let C=n[6],I=[];for(let e=0;e<C.length;e+=1)I[e]=so(qr(n,C,e));return{c(){r=ie("header"),o=ie("div"),i=ie("div"),a=ie("img"),s=se(),l=ie("nav"),A&&A.c(),c=se(),u=ie("div"),d=ie("div"),h=ie("div"),h.textContent="Login",p=se(),f=ie("div"),f.textContent="Register",m=se(),g=ie("select");for(let e=0;e<M.length;e+=1)M[e].c();b=se(),y=ie("nav"),v=ie("ul");for(let e=0;e<I.length;e+=1)I[e].c();a.src!==(e=Kr)&&ce(a,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkM1M0ZDQjNDQzFFQTExRUJCOD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P/80z2uMsqf7kE6bgN27QlHzrP4yoP+nwteyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII="),ce(a,"alt","Everymatrix logo"),ce(i,"class","HeaderBranding"),ce(l,"class","HeaderMainNav"),ce(h,"class","Item ItemLogin"),ce(f,"class","Item ItemRegister"),ce(g,"class","Item ItemLanguage"),void 0===n[7]&&H(()=>n[34].call(g)),ce(d,"class","HeaderItemsMenu"),ce(u,"class","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(v,"class","HeaderItemsMenuSecondary"),ce(y,"class","HeaderSecondaryNav"),ce(r,"class","HeaderWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(i,a),ne(o,s),ne(o,l),A&&A.m(l,null),ne(o,c),ne(o,u),ne(u,d),ne(d,h),ne(d,p),ne(d,f),ne(d,m),ne(d,g);for(let e=0;e<M.length;e+=1)M[e].m(g,null);k(g,n[7]),ne(r,b),ne(r,y),ne(y,v);for(let e=0;e<I.length;e+=1)I[e].m(v,null);w||(E=[le(i,"click",n[31]),le(h,"click",n[32]),le(f,"click",n[33]),le(g,"change",n[34]),le(g,"change",n[35])],w=!0)},p(t,n){if(t[9]?A&&(A.d(1),A=null):A?A.p(t,n):(A=io(t),A.c(),A.m(l,null)),8192&n[0]){let e;for(T=t[13],e=0;e<T.length;e+=1){var r=$r(t,T,e);M[e]?M[e].p(r,n):(M[e]=ao(r),M[e].c(),M[e].m(g,null))}for(;e<M.length;e+=1)M[e].d(1);M.length=T.length}if(8320&n[0]&&k(g,t[7]),64&n[0]){let e;for(C=t[6],e=0;e<C.length;e+=1){var o=qr(t,C,e);I[e]?I[e].p(o,n):(I[e]=so(o),I[e].c(),I[e].m(v,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=C.length}},d(e){e&&oe(r),A&&A.d(),R(M,e),R(I,e),w=!1,te(E)}}}function ro(n){let r,o,i,a,s,l,c,u,d,h,p,f,m,g,e,b,y,v,w,E,A,T,M;return{c(){r=ie("header"),o=ie("div"),i=ie("div"),a=t("svg"),s=t("defs"),l=t("style"),c=ae(".a {\n fill: #fff;\n }\n "),u=t("g"),d=t("rect"),h=t("rect"),p=t("rect"),f=se(),m=ie("div"),g=ie("img"),b=se(),y=ie("div"),v=ie("div"),w=ie("div"),w.textContent="Login",E=se(),A=ie("div"),A.textContent="Register",ce(d,"class","a"),ce(d,"width","18"),ce(d,"height","2"),ce(d,"transform","translate(14 13)"),ce(h,"class","a"),ce(h,"width","22"),ce(h,"height","2"),ce(h,"transform","translate(14 20)"),ce(p,"class","a"),ce(p,"width","22"),ce(p,"height","2"),ce(p,"transform","translate(14 27)"),ce(u,"transform","translate(-14 -13)"),ce(a,"xmlns","http://www.w3.org/2000/svg"),ce(a,"width","22"),ce(a,"height","16"),ce(a,"viewBox","0 0 22 16"),ce(i,"class","HeaderMobileMainNav"),g.src!==(e=Kr)&&ce(g,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bW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SE4/KZMBd7sBknI35FUtWt/KYrEMg807wnIpo2jNiLmYJi/rKkohmak5U4RfgVeUQDm/6j+/TVeApUAaI39NqCFkOuTEN3MuZ+9kkG3Bhot8pjEUX0T4WcGizFCsAc4ZEi9/N1AlxJQ5njZ7hZVmEpFgSJAGetIs+n+H5tFMbveXdbL7woC+jj/2v70Z+F5E6FeYBTmdyXrZFLMXp3OZlfBJZOQWyt/NseyKAL4PB3wEZPfvigBE18P6bASZBtODLcCzbtKl54jhg3DN47P/80z2uMsqf7kE6bgN27QlHzrP4yoP+nwteyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII="),ce(g,"alt","Everymatrix logo"),ce(m,"class","HeaderBranding"),ce(w,"class","Item ItemLogin"),ce(A,"class","Item ItemRegister"),ce(v,"class","HeaderItemsMenu"),ce(y,"class","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(r,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(i,a),ne(a,s),ne(s,l),ne(l,c),ne(a,u),ne(u,d),ne(u,h),ne(u,p),ne(o,f),ne(o,m),ne(m,g),ne(o,b),ne(o,y),ne(y,v),ne(v,w),ne(v,E),ne(v,A),T||(M=[le(a,"click",n[27]),le(m,"click",n[28]),le(w,"click",n[29]),le(A,"click",n[30])],T=!0)},p:C,d(e){e&&oe(r),T=!1,te(M)}}}function oo(e){let n;function r(e){return e[10]?co:lo}let o=r(e),i=o(e);return{c(){i.c(),n=E()},m(e,t){i.m(e,t),re(e,n,t)},p(e,t){o===(o=r(e))&&i?i.p(e,t):(i.d(1),i=o(e),i&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&oe(n)}}}function io(e){let n;return{c(){n=ie("casino-slider"),B(n,"class","HeaderItemsMenu"),B(n,"sliderdata",e[5]),B(n,"identity",e[3]),B(n,"onclickeventname",""),B(n,"location","headerMain")},m(e,t){re(e,n,t)},p(e,t){32&t[0]&&B(n,"sliderdata",e[5]),8&t[0]&&B(n,"identity",e[3])},d(e){e&&oe(n)}}}function ao(e){let n,r,t=e[4].code+"";return{c(){n=ie("option"),r=ae(t),n.__value=e[4].code,n.value=n.__value},m(e,t){re(e,n,t),ne(n,r)},p:C,d(e){e&&oe(n)}}}function so(e){let n,r,o,i,a=e[48].label+"";return{c(){n=ie("li"),r=ie("a"),o=ae(a),ce(r,"href",i=e[48].path),ce(n,"class","ItemSecondary")},m(e,t){re(e,n,t),ne(n,r),ne(r,o)},p(e,t){64&t[0]&&a!==(a=e[48].label+"")&&ue(o,a),64&t[0]&&i!==(i=e[48].path)&&ce(r,"href",i)},d(e){e&&oe(n)}}}function lo(n){let r,o,i,a,e,s,l,c,u,d,h,p,f,m,g,b,y,v,w,E,A,T,M=!n[9]&&uo(n),C=n[13],I=[];for(let e=0;e<C.length;e+=1)I[e]=ho(to(n,C,e));let x=n[6],S=[];for(let e=0;e<x.length;e+=1)S[e]=po(eo(n,x,e));return{c(){r=ie("header"),o=ie("div"),i=ie("div"),a=ie("img"),s=se(),l=ie("nav"),M&&M.c(),c=se(),u=ie("div"),d=ie("div"),h=ie("player-account-balance-modal"),p=se(),f=ie("div"),f.textContent="Deposit",m=se(),g=ie("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: #fff;\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)"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"),ce(i,"class","HeaderBranding"),ce(l,"class","HeaderMainNav"),B(h,"session",n[0]),B(h,"userid",n[1]),B(h,"endpoint",n[2]),ce(f,"class","Item ItemDeposit"),ce(g,"class","Item ItemAccount"),ce(y,"class","Item ItemLanguage"),void 0===n[7]&&H(()=>n[25].call(y)),ce(d,"class","HeaderItemsMenu PrimaryMenu"),ce(u,"class","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(E,"class","HeaderItemsMenuSecondary"),ce(w,"class","HeaderSecondaryNav"),ce(r,"class","HeaderWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(i,a),ne(o,s),ne(o,l),M&&M.m(l,null),ne(o,c),ne(o,u),ne(u,d),ne(d,h),ne(d,p),ne(d,f),ne(d,m),ne(d,g),ne(d,b),ne(d,y);for(let e=0;e<I.length;e+=1)I[e].m(y,null);k(y,n[7]),ne(r,v),ne(r,w),ne(w,E);for(let e=0;e<S.length;e+=1)S[e].m(E,null);A||(T=[le(i,"click",n[22]),le(f,"click",n[23]),le(g,"click",n[24]),le(y,"change",n[25]),le(y,"change",n[26])],A=!0)},p(t,n){if(t[9]?M&&(M.d(1),M=null):M?M.p(t,n):(M=uo(t),M.c(),M.m(l,null)),1&n[0]&&B(h,"session",t[0]),2&n[0]&&B(h,"userid",t[1]),4&n[0]&&B(h,"endpoint",t[2]),8192&n[0]){let e;for(C=t[13],e=0;e<C.length;e+=1){var r=to(t,C,e);I[e]?I[e].p(r,n):(I[e]=ho(r),I[e].c(),I[e].m(y,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=C.length}if(8320&n[0]&&k(y,t[7]),64&n[0]){let e;for(x=t[6],e=0;e<x.length;e+=1){var o=eo(t,x,e);S[e]?S[e].p(o,n):(S[e]=po(o),S[e].c(),S[e].m(E,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=x.length}},d(e){e&&oe(r),M&&M.d(),R(I,e),R(S,e),A=!1,te(T)}}}function co(n){let r,o,i,a,s,l,e,c,u,d,h,p,f,m,g,b,y,v=!n[12]&&fo(n);return{c(){r=ie("header"),o=ie("div"),i=ie("div"),v&&v.c(),a=se(),s=ie("div"),l=ie("img"),c=se(),u=ie("div"),d=ie("div"),h=ie("player-account-balance-modal"),p=se(),f=ie("div"),f.textContent="Deposit",m=se(),g=ie("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: #fff;\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(i,"class","HeaderMobileMainNav"),l.src!==(e=Kr)&&ce(l,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGl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Dm8xJ3uxBIwpXCAL5SpbBT3rXr1p8YazWdAeuxrEcLz7Vc2TxaZl1vRTM0JhPEMVlANnkuiAgwEyExSE4/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"),B(h,"session",n[0]),B(h,"userid",n[1]),B(h,"endpoint",n[2]),ce(f,"class","Item ItemDeposit"),ce(g,"class","Item ItemAccount"),ce(d,"class","HeaderItemsMenu PrimaryMenu"),ce(u,"class","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(r,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),v&&v.m(i,null),ne(o,a),ne(o,s),ne(s,l),ne(o,c),ne(o,u),ne(u,d),ne(d,h),ne(d,p),ne(d,f),ne(d,m),ne(d,g),b||(y=[le(s,"click",n[19]),le(f,"click",n[20]),le(g,"click",n[21])],b=!0)},p(e,t){e[12]?v&&(v.d(1),v=null):v?v.p(e,t):(v=fo(e),v.c(),v.m(i,null)),1&t[0]&&B(h,"session",e[0]),2&t[0]&&B(h,"userid",e[1]),4&t[0]&&B(h,"endpoint",e[2])},d(e){e&&oe(r),v&&v.d(),b=!1,te(y)}}}function uo(e){let n;return{c(){n=ie("casino-slider"),B(n,"class","HeaderItemsMenu"),B(n,"sliderdata",e[5]),B(n,"identity",e[3]),B(n,"onclickeventname",""),B(n,"location","headerMain")},m(e,t){re(e,n,t)},p(e,t){32&t[0]&&B(n,"sliderdata",e[5]),8&t[0]&&B(n,"identity",e[3])},d(e){e&&oe(n)}}}function ho(e){let n,r,t=e[4].code+"";return{c(){n=ie("option"),r=ae(t),n.__value=e[4].code,n.value=n.__value},m(e,t){re(e,n,t),ne(n,r)},p:C,d(e){e&&oe(n)}}}function po(e){let n,r,o,i,a=e[48].label+"";return{c(){n=ie("li"),r=ie("a"),o=ae(a),ce(r,"href",i=e[48].path),ce(n,"class","ItemSecondary")},m(e,t){re(e,n,t),ne(n,r),ne(r,o)},p(e,t){64&t[0]&&a!==(a=e[48].label+"")&&ue(o,a),64&t[0]&&i!==(i=e[48].path)&&ce(r,"href",i)},d(e){e&&oe(n)}}}function fo(n){let r,o,i,a,s,l,c,u,d,h;return{c(){r=t("svg"),o=t("defs"),i=t("style"),a=ae(".a {\n fill: #fff;\n }\n "),s=t("g"),l=t("rect"),c=t("rect"),u=t("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,i),ne(i,a),ne(r,s),ne(s,l),ne(s,c),ne(s,u),d||(h=le(r,"click",n[18]),d=!0)},p:C,d(e){e&&oe(r),d=!1,h()}}}function mo(e){let n,r;function o(e){return e[11]?oo:e[10]?ro:no}let i=o(e),a=i(e);return{c(){a.c(),n=se(),r=ie("casino-hamburger-menu"),this.c=C,B(r,"menuitemsurl",e[8]),B(r,"language","")},m(e,t){a.m(e,t),re(e,n,t),re(e,r,t)},p(e,t){i===(i=o(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n))),256&t[0]&&B(r,"menuitemsurl",e[8])},i:C,o:C,d(e){a.d(e),e&&oe(n),e&&oe(r)}}}function go(e,t,r){var n=this&&this.__awaiter||function(e,a,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{i(l.next(e))}catch(e){t(e)}}function o(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,o)}i((l=l.apply(e,a||[])).next())})};let o,i,{session:a=""}=t,{userid:s=""}=t,{endpoint:l=""}=t,{cmsendpoint:c=""}=t,{cmsenv:u="stage"}=t,{lang:d=""}=t,{identity:h=""}=t,p=[],f=[],m=[{code:"EN"},{code:"TR"},{code:"RO"}],g="",b=!0,y=!1,v=window.navigator.userAgent,w=!1,E=!0,A=!1;const T=e=>{switch(e){case"login":E=!0,window.postMessage({type:"OpenLoginRegisterModal",login:E},window.location.href);break;case"register":E=!1,window.postMessage({type:"OpenLoginRegisterModal",login:E},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:g},window.location.href)}},M=()=>{r(12,A=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},C=e=>{if(e.data)switch(e.data.type){case"UserSessionID":e.data.userid,e.data.session,r(11,w=!0);break;case"CloseHamburgerMenu":e.data.showhamburger&&r(12,A=!1);break;case"LogoutSuccessfull":r(11,w=!1);break;case"LanguageChanged":I(),x(i)}},I=()=>{i=new URL(`${c}/${g.toLowerCase()}/menu`),r(8,o=new URL(`${c}/${g.toLowerCase()}/hamburger-menu`)),i.searchParams.append("device","dk"),i.searchParams.append("env",u),i.searchParams.append("language",g.toLowerCase()),i.searchParams.append("platform","dk"),o.searchParams.append("device","dk"),o.searchParams.append("env",u),o.searchParams.append("language",g.toLowerCase()),o.searchParams.append("platform","dk")},x=e=>(r(9,b=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{r(5,p=e.desktop.primary),r(6,f=e.desktop.secondary),r(9,b=!1),t(e)},e=>{r(9,b=!1),console.error(e),n(e)})}));return L(()=>n(void 0,void 0,void 0,function*(){return window.addEventListener("message",C,!1),Ir(v)&&r(10,y=!0),()=>{window.removeEventListener("message",C)}})),e.$$set=e=>{"session"in e&&r(0,a=e.session),"userid"in e&&r(1,s=e.userid),"endpoint"in e&&r(2,l=e.endpoint),"cmsendpoint"in e&&r(16,c=e.cmsendpoint),"cmsenv"in e&&r(17,u=e.cmsenv),"lang"in e&&r(4,d=e.lang),"identity"in e&&r(3,h=e.identity)},e.$$.update=()=>{1&e.$$.dirty[0]&&a&&r(11,w=!0),65552&e.$$.dirty[0]&&c&&d&&(r(7,g=d.toUpperCase()),I(),x(i))},[a,s,l,h,d,p,f,g,o,b,y,w,A,m,T,M,c,u,()=>M(),()=>T("lobby"),()=>T("deposit"),()=>T("myaccount"),()=>T("lobby"),()=>T("deposit"),()=>T("myaccount"),function(){g=S(this),r(7,g),r(13,m)},()=>T("language"),()=>M(),()=>T("lobby"),()=>T("login"),()=>T("register"),()=>T("lobby"),()=>T("login"),()=>T("register"),function(){g=S(this),r(7,g),r(13,m)},()=>T("language")]}class bo extends Q{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:#050518}.HeaderContainer{max-width:1280px;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:#050518;border-top:1px solid #58586B}.HeaderItemsMenu{display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:#FFF;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 #FFF;height:44px;text-align:center;line-height:44px;margin-right:20px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:#E32D2C;font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:#D0046C}.ItemLanguage{height:44px;width:76px;text-align:center;line-height:44px;background:transparent;color:#fff;border:none;cursor:pointer}.ItemLanguage option{color:#0a0c19}.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:#FFF;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:#fff;text-decoration:none}.HeaderItemsMenuSecondary .ItemSecondary:hover a{color:#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>",z(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},go,mo,n,{session:0,userid:1,endpoint:2,cmsendpoint:16,cmsenv:17,lang:4,identity:3},[-1,-1]),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["session","userid","endpoint","cmsendpoint","cmsenv","lang","identity"]}get session(){return this.$$.ctx[0]}set session(e){this.$set({session:e}),j()}get userid(){return this.$$.ctx[1]}set userid(e){this.$set({userid:e}),j()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$set({endpoint:e}),j()}get cmsendpoint(){return this.$$.ctx[16]}set cmsendpoint(e){this.$set({cmsendpoint:e}),j()}get cmsenv(){return this.$$.ctx[17]}set cmsenv(e){this.$set({cmsenv:e}),j()}get lang(){return this.$$.ctx[4]}set lang(e){this.$set({lang:e}),j()}get identity(){return this.$$.ctx[3]}set identity(e){this.$set({identity:e}),j()}}return customElements.get("casino-header-controller")||customElements.define("casino-header-controller",bo),bo});
|
|
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 C(){}const m=e=>e;function u(e){return e()}function d(){return Object.create(null)}function te(e){e.forEach(u)}function g(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function T(e,...t){if(null==e)return C;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}var e="undefined"!=typeof window;let b=e?()=>window.performance.now():()=>Date.now(),y=e?e=>requestAnimationFrame(e):C;const v=new Set;function w(t){v.forEach(e=>{e.c(t)||(v.delete(e),e.f())}),0!==v.size&&y(w)}function ne(e,t){e.appendChild(t)}function re(e,t,n){e.insertBefore(t,n||null)}function oe(e){e.parentNode.removeChild(e)}function R(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function ie(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ae(e){return document.createTextNode(e)}function se(){return ae(" ")}function E(){return ae("")}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 B(e,t,n){t in e?e[t]=n:ce(e,t,n)}function ue(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function k(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}}function N(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}function h(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 A=new Set;let p,M=0;function I(e,t,n,r,o,i,a,s=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*i(e);c+=100*e+`%{${a(r,1-r)}}\n`}const u=c+`100% {${a(n,1-n)}}\n}`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_${s}`,h=e.ownerDocument;A.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(ie("style")).sheet),f=h.__svelte_rules||(h.__svelte_rules={});f[d]||(f[d]=!0,p.insertRule(`@keyframes ${d} ${u}`,p.cssRules.length));s=e.style.animation||"";return e.style.animation=`${s?`${s}, `:""}${d} ${r}ms linear ${o}ms 1 both`,M+=1,d}function f(e){p=e}function D(e){!function(){if(!p)throw new Error("Function called outside component initialization");return p}().$$.on_mount.push(e)}const x=[],S=[],o=[],i=[],L=Promise.resolve();let U=!1;function H(e){o.push(e)}let a=!1;const s=new Set;function j(){if(!a){a=!0;do{for(let e=0;e<x.length;e+=1){var t=x[e];f(t),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(H))}}(t.$$)}for(f(null),x.length=0;S.length;)S.pop()();for(let e=0;e<o.length;e+=1){const n=o[e];s.has(n)||(s.add(n),n())}}while(o.length=0,x.length);for(;i.length;)i.pop()();U=!1,a=!1,s.clear()}}let P;function O(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 l=new Set;let G;function _(e,t){e&&e.i&&(l.delete(e),e.i(t))}function c(e,t,n,r){e&&e.o&&(l.has(e)||(l.add(e),G.c.push(()=>{l.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const F={duration:0};function W(s,e,t,n){let l=e(s,t),c=n?0:1,u=null,d=null,h=null;function p(){h&&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(", "),M-=o,M||y(()=>{M||(A.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),A.clear())}))}(s,h)}function f(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=m,tick:o=C,css:i}=l||F,a={start:b()+t,b:e};e||(a.group=G,G.r+=1),u||d?d=a:(i&&(p(),h=I(s,c,e,n,t,r,i)),e&&o(0,1),u=f(a,n),H(()=>O(s,e,"start")),function(t){let n;0===v.size&&y(w),new Promise(e=>{v.add(n={c:t,f:e})})}(e=>{return d&&e>d.start&&(u=f(d,n),d=null,O(s,u.b,"start"),i&&(p(),h=I(s,c,u.b,u.duration,0,r,l.css))),u&&(e>=u.end?(o(c=u.b,1-c),O(s,u.b,"end"),d||(u.b?p():--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)?(P||(P=Promise.resolve(),P.then(()=>{P=null})),P.then(()=>{l=l(),r(e)})):r(e)},end(){p(),u=d=null}}}function Z(e,t){e.d(1),t.delete(e.key)}function z(r,e,t,n,o,i,a=[-1]){var s=p;f(r);const l=r.$$={fragment:null,ctx:null,props:i,update:C,not_equal:o,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s?s.$$.context:e.context||[]),callbacks:d(),dirty:a,skip_bound:!1};let c=!1;if(l.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return l.ctx&&o(l.ctx[e],l.ctx[e]=n)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&(x.push(e),U||(U=!0,L.then(j)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],l.update(),c=!0,te(l.before_update),l.fragment=!!n&&n(l.ctx),e.target){if(e.hydrate){const C=(n=e.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(C),C.forEach(oe)}else l.fragment&&l.fragment.c();e.intro&&_(r.$$.fragment),function(t,e,n,r){const{fragment:o,on_mount:i,on_destroy:a,after_update:s}=t.$$;o&&o.m(e,n),r||H(()=>{var e=i.map(u).filter(g);a?a.push(...e):te(e),t.$$.on_mount=[]}),s.forEach(H)}(r,e.target,e.anchor,e.customElement),j()}f(s)}let Q;"function"==typeof HTMLElement&&(Q=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(u).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=C}$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 V,Y,X="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==X&&X,J="URLSearchParams"in X,K="Symbol"in X&&"iterator"in Symbol,$="FileReader"in X&&"Blob"in X&&function(){try{return new Blob,!0}catch(e){return!1}}(),q="FormData"in X,ee="ArrayBuffer"in X;function de(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 he(e){return e="string"!=typeof e?String(e):e}function pe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return K&&(e[Symbol.iterator]=function(){return e}),e}function fe(t){this.map={},t instanceof fe?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 me(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ge(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function be(e){var t=new FileReader,n=ge(t);return t.readAsArrayBuffer(e),n}function ye(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ve(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:$&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:q&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:J&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ee&&$&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ye(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ee&&(ArrayBuffer.prototype.isPrototypeOf(e)||Y(e))?this._bodyArrayBuffer=ye(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):J&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},$&&(this.blob=function(){var e=me(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?me(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(be)}),this.text=function(){var e,t,n=me(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ge(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)},q&&(this.formData=function(){return this.text().then(Ae)}),this.json=function(){return this.text().then(JSON.parse)},this}ee&&(V=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Y=ArrayBuffer.isView||function(e){return e&&-1<V.indexOf(Object.prototype.toString.call(e))}),fe.prototype.append=function(e,t){e=de(e),t=he(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},fe.prototype.delete=function(e){delete this.map[de(e)]},fe.prototype.get=function(e){return e=de(e),this.has(e)?this.map[e]:null},fe.prototype.has=function(e){return this.map.hasOwnProperty(de(e))},fe.prototype.set=function(e,t){this.map[de(e)]=he(t)},fe.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},fe.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),pe(n)},fe.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),pe(t)},fe.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),pe(n)},K&&(fe.prototype[Symbol.iterator]=fe.prototype.entries);var we=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ee(e,t){if(!(this instanceof Ee))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 Ee){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new fe(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 fe(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<we.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 Ae(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 Te(e,t){if(!(this instanceof Te))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 fe(t.headers),this.url=t.url||"",this._initBody(e)}Ee.prototype.clone=function(){return new Ee(this,{body:this._bodyInit})},ve.call(Ee.prototype),ve.call(Te.prototype),Te.prototype.clone=function(){return new Te(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new fe(this.headers),url:this.url})},Te.error=function(){var e=new Te(null,{status:0,statusText:""});return e.type="error",e};var Me=[301,302,303,307,308];Te.redirect=function(e,t){if(-1===Me.indexOf(t))throw new RangeError("Invalid status code");return new Te(null,{status:t,headers:{location:e}})};var Ce=X.DOMException;try{new Ce}catch(C){(Ce=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Ce.prototype.constructor=Ce}function Ie(r,a){return new Promise(function(o,e){var t=new Ee(r,a);if(t.signal&&t.signal.aborted)return e(new Ce("Aborted","AbortError"));var i=new XMLHttpRequest;function n(){i.abort()}i.onload=function(){var e,n,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=new fe,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 i?i.responseURL:t.headers.get("X-Request-URL");var r="response"in i?i.response:i.responseText;setTimeout(function(){o(new Te(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new Ce("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&X.location.href?X.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&($?i.responseType="blob":ee&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof fe?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){i.setRequestHeader(e,he(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",n)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}Ie.polyfill=!0,X.fetch||(X.fetch=Ie,X.Headers=fe,X.Request=Ee,X.Response=Te);var xe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};self.fetch.bind(self);var Se=function(e,t){return(Se=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 Re(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}Se(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Be(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 ke(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Le(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function Ne(e){return"function"==typeof e}function De(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 Ue=De(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 He(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var je=(Oe.prototype.unsubscribe=function(){var e,t,n,r,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=Be(i),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(Ne(i))try{i()}catch(e){o=e instanceof Ue?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var l=Be(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{_e(u)}catch(e){o=null!=o?o:[],e instanceof Ue?o=Le(Le([],ke(o)),ke(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 Ue(o)}},Oe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)_e(e);else{if(e instanceof Oe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Oe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Oe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Oe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&He(t,e)},Oe.prototype.remove=function(e){var t=this._teardowns;t&&He(t,e),e instanceof Oe&&e._removeParent(this)},Oe.EMPTY=((cn=new Oe).closed=!0,cn),Oe),Pe=je.EMPTY;function Oe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Ge(e){return e instanceof je||e&&"closed"in e&&Ne(e.remove)&&Ne(e.add)&&Ne(e.unsubscribe)}function _e(e){Ne(e)?e():e.unsubscribe()}var Fe=void 0,We=!1,Ze=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,Le([],ke(e)))};function ze(){}function Qe(e){e()}var Ve,Ye,Xe=(Re($e,Ye=je),$e.create=function(e,t,n){return new Je(e,t,n)},$e.prototype.next=function(e){this.isStopped||this._next(e)},$e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},$e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},$e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ye.prototype.unsubscribe.call(this),this.destination=null)},$e.prototype._next=function(e){this.destination.next(e)},$e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},$e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},$e),Je=(Re(Ke,Ve=Xe),Ke);function Ke(e,t,n){var r,o,i=Ve.call(this)||this;return Ne(e)?o=e:e&&(o=e.next,t=e.error,n=e.complete,i&&We?(r=Object.create(e)).unsubscribe=function(){return i.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)),i.destination={next:o?qe(o):ze,error:qe(null!=t?t:et),complete:n?qe(n):ze},i}function $e(e){var t=Ye.call(this)||this;return t.isStopped=!1,e?Ge(t.destination=e)&&e.add(t):t.destination=tt,t}function qe(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,Le([],ke(e)))}catch(e){t=e,Ze(function(){throw t})}}}function et(e){throw e}var tt={closed:!0,next:ze,error:et,complete:ze},nt="function"==typeof Symbol&&Symbol.observable||"@@observable";function rt(e){return e}var ot=(it.prototype.lift=function(e){var t=new it;return t.source=this,t.operator=e,t},it.prototype.subscribe=function(e,t,n){var r,o=this,i=(r=e)&&r instanceof Xe||r&&Ne(r.next)&&Ne(r.error)&&Ne(r.complete)&&Ge(r)?e:new Je(e,t,n);return Qe(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},it.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},it.prototype.forEach=function(r,e){var o=this;return new(e=at(e))(function(e,t){var n=o.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},it.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},it.prototype[nt]=function(){return this},it.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?rt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},it.prototype.toPromise=function(e){var r=this;return new(e=at(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},it.create=function(e){return new it(e)},it);function it(e){e&&(this._subscribe=e)}function at(e){return null!==(e=null!=e?e:Fe)&&void 0!==e?e:Promise}var st,lt,ct,ut=De(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),dt=(Re(bt,ct=ot),bt.prototype.lift=function(e){var t=new ht(this,this);return t.operator=e,t},bt.prototype._throwIfClosed=function(){if(this.closed)throw new ut},bt.prototype.next=function(i){var a=this;Qe(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){var n=a.observers.slice();try{for(var r=Be(n),o=r.next();!o.done;o=r.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},bt.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)}})},bt.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()}})},bt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(bt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),bt.prototype._trySubscribe=function(e){return this._throwIfClosed(),ct.prototype._trySubscribe.call(this,e)},bt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},bt.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?Pe:(r.push(e),new je(function(){return He(r,e)}))},bt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},bt.prototype.asObservable=function(){var e=new ot;return e.source=this,e},bt.create=function(e,t){return new ht(e,t)},bt),ht=(Re(gt,lt=dt),gt.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)},gt.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)},gt.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)},gt.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:Pe},gt),pt={now:function(){return(pt.delegate||Date).now()},delegate:void 0},ft=(Re(mt,st=dt),mt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),o||r.push(i.now()+t)),this._trimBuffer(),st.prototype.next.call(this,e)},mt.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},mt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var i=t.now(),a=0,s=1;s<n.length&&n[s]<=i;s+=2)a=s;a&&n.splice(0,a+1)}},mt);function mt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=pt);var r=st.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 gt(e,t){var n=lt.call(this)||this;return n.destination=e,n.source=t,n}function bt(){var e=ct.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let yt=[],vt={};const wt=[];function Et(r,o=C){let i;const a=[];function s(e){if(n(r,e)&&(r=e,i)){const e=!wt.length;for(let e=0;e<a.length;e+=1){const t=a[e];t[1](),wt.push(t,r)}if(e){for(let e=0;e<wt.length;e+=2)wt[e][0](wt[e+1]);wt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=C){const n=[e,t];return a.push(n),1===a.length&&(i=o(s)||C),e(r),()=>{var e=a.indexOf(n);-1!==e&&a.splice(e,1),0===a.length&&(i(),i=null)}}}}function At(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Et(t,t=>{let n=!1;const r=[];let o=0,i=C;const a=()=>{var e;o||(i(),e=s(l?r[0]:r,t),u?t(e):i=g(e)?e:C)},e=c.map((e,t)=>T(e,e=>{r[t]=e,o&=~(1<<t),n&&a()},()=>{o|=1<<t}));return n=!0,a(),function(){te(e),i()}}).subscribe}}var Tt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Mt));var t},Mt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ct(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Bt(Array.isArray(e)?[]:{},e,t):e}function It(e,t,n){return e.concat(t).map(function(e){return Ct(e,n)})}function xt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function St(e,t){try{return t in e}catch(e){return!1}}function Rt(r,o,i){var a={};return i.isMergeableObject(r)&&xt(r).forEach(function(e){a[e]=Ct(r[e],i)}),xt(o).forEach(function(t){var e,n;(!St(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(St(r,t)&&i.isMergeableObject(o[t])?a[t]=function(){if(!i.customMerge)return Bt;var e=i.customMerge(t);return"function"==typeof e?e:Bt}()(r[t],o[t],i):a[t]=Ct(o[t],i))}),a}function Bt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||It,n.isMergeableObject=n.isMergeableObject||Tt,n.cloneUnlessOtherwiseSpecified=Ct;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Rt(e,t,n):Ct(t,n)}Bt.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Bt(e,t,n)},{})};var kt=Bt,Lt=function(e,t){return(Lt=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 Nt(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}Lt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Dt,Ut,Ht,jt=function(){return(jt=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 Pt(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function Ot(e){return e.type===Ut.literal}function Gt(e){return e.type===Ut.number}function _t(e){return e.type===Ut.date}function Ft(e){return e.type===Ut.time}function Wt(e){return e.type===Ut.select}function Zt(e){return e.type===Ut.plural}function zt(e){return e.type===Ut.tag}function Qt(e){return e&&"object"==typeof e&&e.type===Ht.number}function Vt(e){return e&&"object"==typeof e&&e.type===Ht.dateTime}(un=Dt=Dt||{})[un.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",un[un.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",un[un.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",un[un.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",un[un.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",un[un.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",un[un.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",un[un.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",un[un.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",un[un.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",un[un.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",un[un.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",un[un.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",un[un.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",un[un.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",un[un.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",un[un.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",un[un.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",un[un.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",un[un.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",un[un.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",un[un.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",un[un.INVALID_TAG=23]="INVALID_TAG",un[un.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",un[un.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",un[un.UNCLOSED_TAG=27]="UNCLOSED_TAG",(dn=Ut=Ut||{})[dn.literal=0]="literal",dn[dn.argument=1]="argument",dn[dn.number=2]="number",dn[dn.date=3]="date",dn[dn.time=4]="time",dn[dn.select=5]="select",dn[dn.plural=6]="plural",dn[dn.pound=7]="pound",dn[dn.tag=8]="tag",(hn=Ht=Ht||{})[hn.number=0]="number",hn[hn.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Yt=/(?:[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 Xt,Jt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Kt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$t=/^(@+)?(\+|#+)?$/g,qt=/(\*)(0+)|(#+)(0+)|(0+)/g,en=/^(0+)$/;function tn(e){var r={};return e.replace($t,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 nn(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 rn(e){return nn(e)||{}}function on(e){for(var a={},t=0,n=e;t<n.length;t++){var r,o=n[t];switch(o.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=o.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=jt(jt(jt({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return jt(jt({},e),rn(t))},{}));continue;case"engineering":a=jt(jt(jt({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return jt(jt({},e),rn(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(qt,function(e,t,n,r,o,i){if(t)a.minimumIntegerDigits=n.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(en.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(Kt.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Kt,function(e,t,n,r,o,i){return"*"===n?a.minimumFractionDigits=t.length:r&&"#"===r[0]?a.maximumFractionDigits=r.length:o&&i?(a.minimumFractionDigits=o.length,a.maximumFractionDigits=o.length+i.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""}),o.options.length&&(a=jt(jt({},a),tn(o.options[0])))}else $t.test(o.stem)?a=jt(jt({},a),tn(o.stem)):((r=nn(o.stem))&&(a=jt(jt({},a),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)),!en.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=jt(jt({},a),r)))}return a}var an=new RegExp("^"+e.source+"*"),sn=new RegExp(e.source+"*$");function ln(e,t){return{start:e,end:t}}var cn=!!String.prototype.startsWith,nt=!!String.fromCodePoint,dt=!!Object.fromEntries,un=!!String.prototype.codePointAt,dn=!!String.prototype.trimStart,hn=!!String.prototype.trimEnd,pn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(Xt=An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Xt?void 0:Xt[0])}catch(C){e=!1}var fn,mn,gn=cn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},bn=nt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,i=0;i<o;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},yn=dt?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],o=o[1];t[i]=o}return t},vn=un?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}},wn=dn?function(e){return e.trimStart()}:function(e){return e.replace(an,"")},En=hn?function(e){return e.trimEnd()}:function(e){return e.replace(sn,"")};function An(e,t){return new RegExp(e,t)}mn=e?(fn=An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return fn.lastIndex=t,null!==(e=fn.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var o=vn(e,t);if(void 0===o||In(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 bn.apply(void 0,r)};var Tn=(Mn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Mn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Dt.UNMATCHED_CLOSING_TAG,ln(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Cn(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{i=this.clonePosition();this.bump(),r.push({type:Ut.pound,location:ln(i,this.clonePosition())})}}}return{val:r,err:null}},Mn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ut.literal,value:"<"+r+"/>",location:ln(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()||!Cn(this.char()))return this.error(Dt.INVALID_TAG,ln(t,this.clonePosition()));o=this.clonePosition();return r!==this.parseTagName()?this.error(Dt.UNMATCHED_CLOSING_TAG,ln(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ut.tag,value:r,children:e,location:ln(n,this.clonePosition())},err:null}:this.error(Dt.INVALID_TAG,ln(t,this.clonePosition())))}return this.error(Dt.UNCLOSED_TAG,ln(n,this.clonePosition()))}return this.error(Dt.INVALID_TAG,ln(n,this.clonePosition()))},Mn.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())},Mn.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=ln(n,this.clonePosition());return{val:{type:Ut.literal,value:r,location:n},err:null}},Mn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Cn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Mn.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 bn.apply(void 0,t)},Mn.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(),bn(n))},Mn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Dt.EXPECT_ARGUMENT_CLOSING_BRACE,ln(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Dt.EMPTY_ARGUMENT,ln(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Dt.MALFORMED_ARGUMENT,ln(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Dt.EXPECT_ARGUMENT_CLOSING_BRACE,ln(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ut.argument,value:r,location:ln(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Dt.EXPECT_ARGUMENT_CLOSING_BRACE,ln(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Dt.MALFORMED_ARGUMENT,ln(n,this.clonePosition()))}},Mn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=mn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:ln(e,this.clonePosition())}},Mn.prototype.parseArgumentOptions=function(e,t,n,r){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Dt.EXPECT_ARGUMENT_TYPE,ln(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=En(h.val)).length)return this.error(Dt.EXPECT_ARGUMENT_STYLE,ln(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:ln(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(r)).err)return p;var u=ln(r,this.clonePosition());if(l&&gn(null==l?void 0:l.style,"::",0)){c=wn(l.style.slice(2));if("number"===a)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:Ut.number,value:n,location:u,style:h.val},err:null};if(0===c.length)return this.error(Dt.EXPECT_DATE_TIME_SKELETON,u);var d={type:Ht.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(Yt,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"===a?Ut.date:Ut.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===a?Ut.number:"date"===a?Ut.date:Ut.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(Dt.EXPECT_SELECT_ARGUMENT_OPTIONS,ln(l,jt({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(Dt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ln(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Dt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Dt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=h.val}u=this.tryParsePluralOrSelectOptions(e,a,t,u);if(u.err)return u;if((p=this.tryParseArgumentClose(r)).err)return p;var p=ln(r,this.clonePosition());return"select"===a?{val:{type:Ut.select,value:n,options:yn(u.val),location:p},err:null}:{val:{type:Ut.plural,value:n,options:yn(u.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:p},err:null};default:return this.error(Dt.INVALID_ARGUMENT_TYPE,ln(i,s))}},Mn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Dt.EXPECT_ARGUMENT_CLOSING_BRACE,ln(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Mn.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(Dt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ln(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}},Mn.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(Jt).filter(function(e){return 0<e.length});n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),a=0,s=o;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(Dt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ht.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?on(n):{}},err:null}},Mn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o=!1,i=[],a=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Dt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Dt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=ln(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?Dt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Dt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Dt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Dt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ln(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;i.push([s,{value:u.val,location:ln(d,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===i.length?this.error("select"===t?Dt.EXPECT_SELECT_ARGUMENT_SELECTOR:Dt.EXPECT_PLURAL_ARGUMENT_SELECTOR,ln(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Dt.MISSING_OTHER_CLAUSE,ln(this.clonePosition(),this.clonePosition())):{val:i,err:null}},Mn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}r=ln(r,this.clonePosition());return o?pn(i*=n)?{val:i,err:null}:this.error(t,r):this.error(e,r)},Mn.prototype.offset=function(){return this.position.offset},Mn.prototype.isEOF=function(){return this.offset()===this.message.length},Mn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Mn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=vn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Mn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Mn.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))},Mn.prototype.bumpIf=function(e){if(gn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Mn.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)},Mn.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}},Mn.prototype.bumpSpace=function(){for(;!this.isEOF()&&In(this.char());)this.bump()},Mn.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},Mn);function Mn(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 Cn(e){return 97<=e&&e<=122||65<=e&&e<=90}function In(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function xn(e,t){t=jt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Tn(e,t).parse();if(n.err){e=SyntaxError(Dt[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,Wt(e)||Zt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Gt(e)&&Qt(e.style)||(_t(e)||Ft(e))&&Vt(e.style)?delete e.style.location:zt(e)&&n(e.children)})}(n.val),n.val}function Sn(e,t){var n=t&&t.cache?t.cache:Un,r=t&&t.serializer?t.serializer:Ln;return(t&&t.strategy?t.strategy:function(e,t){return kn(e,this,1===e.length?Rn:Bn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Rn(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 Bn(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 kn(e,t,n,r,o){return n.bind(t,e,r,o)}var Ln=function(){return JSON.stringify(arguments)};function Nn(){this.cache=Object.create(null)}Nn.prototype.has=function(e){return e in this.cache},Nn.prototype.get=function(e){return this.cache[e]},Nn.prototype.set=function(e,t){this.cache[e]=t};var Dn,Un={create:function(){return new Nn}},Hn={variadic:function(e,t){return kn(e,this,Bn,t.cache.create(),t.serializer)},monadic:function(e,t){return kn(e,this,Rn,t.cache.create(),t.serializer)}};(e=Dn=Dn||{}).MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";var jn,Pn,On,Gn,_n,Fn=(Nt(Xn,_n=Error),Xn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Xn),Wn=(Nt(Yn,Gn=Fn),Yn),Zn=(Nt(Vn,On=Fn),Vn),zn=(Nt(Qn,Pn=Fn),Qn);function Qn(e,t){return Pn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Dn.MISSING_VALUE,t)||this}function Vn(e,t,n){return On.call(this,'Value for "'+e+'" must be of type '+t,Dn.INVALID_VALUE,n)||this}function Yn(e,t,n,r){return Gn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',Dn.INVALID_VALUE,r)||this}function Xn(e,t,n){e=_n.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Jn(e,t,n,r,o,i,a){if(1===e.length&&Ot(e[0]))return[{type:jn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Ot(u))s.push({type:jn.literal,value:u.value});else if(u.type===Ut.pound)"number"==typeof i&&s.push({type:jn.literal,value:n.getNumberFormat(t).format(i)});else{var d=u.value;if(!(o&&d in o))throw new zn(d,a);var h=o[d];if(u.type===Ut.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?jn.literal:jn.object,value:h});else if(_t(u)){var p="string"==typeof u.style?r.date[u.style]:Vt(u.style)?u.style.parsedOptions:void 0;s.push({type:jn.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(Ft(u))p="string"==typeof u.style?r.time[u.style]:Vt(u.style)?u.style.parsedOptions:void 0,s.push({type:jn.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(Gt(u))(p="string"==typeof u.style?r.number[u.style]:Qt(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:jn.literal,value:n.getNumberFormat(t,p).format(h)});else{if(zt(u)){var f=u.children,m=u.value,d=o[m];if("function"!=typeof d)throw new Zn(m,"function",a);f=d(Jn(f,t,n,r,o,i).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),s.push.apply(s,f.map(function(e){return{type:"string"==typeof e?jn.literal:jn.object,value:e}}))}if(Wt(u)){if(!(g=u.options[h]||u.options.other))throw new Wn(u.value,h,Object.keys(u.options),a);s.push.apply(s,Jn(g.value,t,n,r,o))}else if(Zt(u)){if(!(g=u.options["="+h])){if(!Intl.PluralRules)throw new Fn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Dn.MISSING_INTL_API,a);var f=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new Wn(u.value,h,Object.keys(u.options),a);s.push.apply(s,Jn(g.value,t,n,r,o,h-(u.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===jn.literal&&t.type===jn.literal?n.value+=t.value:e.push(t),e},[])}function Kn(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=jn=jn||{})[e.literal=0]="literal",e[e.object=1]="object";var $n=(Object.defineProperty(qn,"defaultLocale",{get:function(){return qn.memoizedDefaultLocale||(qn.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),qn.memoizedDefaultLocale},enumerable:!1,configurable:!0}),qn.memoizedDefaultLocale=null,qn.__parse=xn,qn.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"}}},qn);function qn(e,t,n,r){var o,i,a=this;if(void 0===t&&(t=qn.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===jn.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 Jn(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof e){if(this.message=e,!qn.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=qn.__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=qn.formats,(i=n)?Object.keys(o).reduce(function(e,t){var n,r;return e[t]=(n=o[t],(r=i[t])?jt(jt(jt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=jt(jt({},n[t]),r[t]||{}),e},{})):n),e},jt({},o)):o),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:Sn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Pt([void 0],t)))},{cache:Kn((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:Hn.variadic}),getDateTimeFormat:Sn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Pt([void 0],t)))},{cache:Kn(r.dateTime),strategy:Hn.variadic}),getPluralRules:Sn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Pt([void 0],t)))},{cache:Kn(r.pluralRules),strategy:Hn.variadic})}}const er={},tr=(t,n)=>{if(null!=n){if(n in er&&t in er[n])return er[n][t];var r,o,i=br(n);for(let e=0;e<i.length;e++){var a=(r=i[e],o=t,or(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 nr[e]||null}(r),o):null);if(a)return r=t,o=n,(a=a)&&(o in er||(er[o]={}),r in er[o]||(er[o][r]=a),a)}}};let nr;const rr=Et({});function or(e){return e in nr}function ir(t,...n){delete er[t],rr.update(e=>(e[t]=kt.all([e[t]||{},...n]),e))}At([rr],([e])=>Object.keys(e)),rr.subscribe(e=>nr=e);const ar={};function sr(e){return ar[e]}function lr(e){return br(e).some(e=>{return null===(e=sr(e))||void 0===e?void 0:e.size})}const cr={};function ur(e){if(!lr(e))return e in cr?cr[e]:void 0;const t=br(e).map(e=>{var t=sr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return cr[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){ar[e].delete(t),0===ar[e].size&&delete ar[e]}(t,e),e().then(e=>e.default||e)))).then(e=>ir(t,...e))}(e))).then(()=>lr(e)?ur(e):void delete cr[e]),cr[e]}function dr(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 hr={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 pr=Et(!1);let fr;const mr=Et(null);function gr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function br(e,t=hr.fallbackLocale){e=gr(e);return t?[...new Set([...e,...gr(t)])]:e}mr.subscribe(e=>{fr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const yr=mr.set;mr.set=t=>{if(function(e){if(null!=e){var t=br(e);for(let e=0;e<t.length;e++){var n=t[e];if(or(n))return n}}}(t)&&lr(t)){var{loadingDelay:n}=hr;let e;return"undefined"!=typeof window&&null!=fr&&n?e=window.setTimeout(()=>pr.set(!0),n):pr.set(!0),ur(t).then(()=>{yr(t)}).finally(()=>{clearTimeout(e),pr.set(!1)})}return yr(t)},mr.update=e=>yr(e(fr));const vr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},wr=(e,t)=>{var{formats:n}=hr;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Er=vr(e=>{var{locale:t,format:n}=e,e=dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=wr("number",n)),new Intl.NumberFormat(t,e)}),Ar=vr(e=>{var{locale:t,format:n}=e,e=dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=wr("date",n):0===Object.keys(e).length&&(e=wr("date","short")),new Intl.DateTimeFormat(t,e)}),Tr=vr(e=>{var{locale:t,format:n}=e,e=dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=wr("time",n):0===Object.keys(e).length&&(e=wr("time","short")),new Intl.DateTimeFormat(t,e)}),Mr=vr((e,t=fr)=>new $n(e,t,hr.formats,{ignoreTag:hr.ignoreTag})),Cr=At([mr,rr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=fr,default:o}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=tr(e,r);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else hr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${br(r).join('", "')}".${lr(fr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||e;if(!n)return i;let a=i;try{a=Mr(i,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return a});At([mr],()=>(e,t)=>((e={})=>{var{locale:t=fr}=e,e=dr(e,["locale"]);return Tr(Object.assign({locale:t},e))})(t).format(e)),At([mr],()=>(e,t)=>((e={})=>{var{locale:t=fr}=e,e=dr(e,["locale"]);return Ar(Object.assign({locale:t},e))})(t).format(e)),At([mr],()=>(e,t)=>((e={})=>{var{locale:t=fr}=e,e=dr(e,["locale"]);return Er(Object.assign({locale:t},e))})(t).format(e)),At([mr,rr],()=>(e,t=fr)=>tr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==yt.indexOf(e)&&(t=new ft(t),vt[e]=t,yt.push(e)),vt[e]}};const Ir=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));function xr(e,t,n){const r=e.slice();return r[24]=t[n],r[26]=n,r}function Sr(t){let r,o=[],n=new Map,i=t[0];const a=e=>e[24].id;for(let e=0;e<i.length;e+=1){var s=xr(t,i,e),l=a(s);n.set(l,o[e]=kr(l,s))}return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=E()},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&&(i=e[0],o=function(t,n,r,o,i,a,s,l,e,c,u,d){let h=t.length,p=a.length,f=h;const m={};for(;f--;)m[t[f].key]=f;const g=[],b=new Map,y=new Map;for(f=p;f--;){const t=d(i,a,f),l=r(t);let e=s.get(l);e?o&&e.p(t,n):(e=c(l,t),e.c()),b.set(l,g[f]=e),l in m&&y.set(l,Math.abs(f-m[l]))}const v=new Set,w=new Set;function E(e){_(e,1),e.m(l,u),s.set(e.key,e),u=e.first,p--}for(;h&&p;){const n=g[p-1],r=t[h-1],o=n.key,i=r.key;n===r?(u=n.first,h--,p--):b.has(i)?!s.has(o)||v.has(o)?E(n):w.has(i)?h--:y.get(o)>y.get(i)?(w.add(o),E(n)):(v.add(i),h--):(e(r,s),h--)}for(;h--;){const n=t[h];b.has(n.key)||e(n,s)}for(;p;)E(g[p-1]);return g}(o,t,a,1,e,i,n,r.parentNode,Z,kr,r,xr))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&oe(r)}}}function Rr(e){let n,r,o,i=e[24].name+"",a="FAVORITES"===e[24].id?"("+e[1]+")":"";return{c(){n=ae(i),r=se(),o=ae(a)},m(e,t){re(e,n,t),re(e,r,t),re(e,o,t)},p(e,t){1&t&&i!==(i=e[24].name+"")&&ue(n,i),3&t&&a!==(a="FAVORITES"===e[24].id?"("+e[1]+")":"")&&ue(o,a)},d(e){e&&oe(n),e&&oe(r),e&&oe(o)}}}function Br(e){let n,r,o,i=e[24].label+"";return{c(){n=ie("a"),r=ae(i),ce(n,"href",o=e[24].path)},m(e,t){re(e,n,t),ne(n,r)},p(e,t){1&t&&i!==(i=e[24].label+"")&&ue(r,i),1&t&&o!==(o=e[24].path)&&ce(n,"href",o)},d(e){e&&oe(n)}}}function kr(e,n){let r,o,i,a;function s(e){return"headerMain"===e[2]?Br:Rr}let l=s(n),c=l(n);function u(...e){return n[16](n[24],n[26],...e)}return{key:e,first:null,c(){r=ie("li"),c.c(),o=se(),ce(r,"class","CarouselItem"),h(r,"active",n[5]==n[26]),this.first=r},m(e,t){re(e,r,t),c.m(r,null),ne(r,o),i||(a=le(r,"click",u),i=!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&&h(r,"active",n[5]==n[26])},d(e){e&&oe(r),c.d(),i=!1,a()}}}function Lr(n){let r,o,i,a,s,l,c,u,d,h,p,f,m=0<n[0].length&&Sr(n);return{c(){r=ie("div"),o=ie("div"),i=ie("div"),i.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>',a=se(),s=ie("ul"),m&&m.c(),l=se(),c=ie("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=C,ce(i,"class","CarouselLeftArrow"),ce(s,"class","CarouselItems"),ce(c,"class","CarouselRightArrow"),ce(o,"class",u="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),ce(o,"style",d="headerMain"===n[2]?"max-width: auto":`max-width: ${n[3]}px`),ce(r,"class",h="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":""))},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(o,a),ne(o,s),m&&m.m(s,null),n[17](s),ne(o,l),ne(o,c),n[19](r),p||(f=[le(i,"click",n[15]),le(c,"click",n[18])],p=!0)},p(e,[t]){0<e[0].length?m?m.p(e,t):(m=Sr(e),m.c(),m.m(s,null)):m&&(m.d(1),m=null),4&t&&u!==(u="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&ce(o,"class",u),12&t&&d!==(d="headerMain"===e[2]?"max-width: auto":`max-width: ${e[3]}px`)&&ce(o,"style",d),4&t&&h!==(h="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&ce(r,"class",h)},i:C,o:C,d(e){e&&oe(r),m&&m.d(),n[17](null),n[19](null),p=!1,te(f)}}}function Nr(e,t,n){let r,o,i,{sliderdata:a=[]}=t,{onclickeventname:s="defaultEvent"}=t,{favoritesnumber:l="0"}=t,{location:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{identity:h=""}=t,{containermaxwidth:p=""}=t,f="PC"!=((t=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),m=(e,t)=>{n(5,o=t),window.postMessage({type:s,itemId:e,index:t},window.location.href)};const g=e=>{e.data&&"SetSliderIndex"==e.data.type&&n(5,o=e.data.categoryData?a.map(e=>e.id).indexOf(e.data.categoryData.id):0),e.data&&e.data.type==`SetSliderIndex_${h}`&&n(5,o=e.data.index)};let b=()=>{r.scrollBy({left:-300,behavior:"smooth"})},y=()=>{r.scrollBy({left:300,behavior:"smooth"})};return D(()=>(window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)})),e.$$set=e=>{"sliderdata"in e&&n(0,a=e.sliderdata),"onclickeventname"in e&&n(11,s=e.onclickeventname),"favoritesnumber"in e&&n(1,l=e.favoritesnumber),"location"in e&&n(2,c=e.location),"clientstyling"in e&&n(12,u=e.clientstyling),"clientstylingurl"in e&&n(13,d=e.clientstylingurl),"identity"in e&&n(14,h=e.identity),"containermaxwidth"in e&&n(3,p=e.containermaxwidth)},e.$$.update=()=>{4096&e.$$.dirty&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,setTimeout(()=>{i.appendChild(e)})})(),8192&e.$$.dirty&&d&&(()=>{let t=document.createElement("style");d&&fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},[a,l,c,p,r,o,i,f,m,b,y,s,u,d,h,()=>b(),(e,t,n)=>m(e.id,t),function(e){S[e?"unshift":"push"](()=>{r=e,n(4,r)})},()=>y(),function(e){S[e?"unshift":"push"](()=>{i=e,n(6,i)})}]}function Dr(e,{delay:t=0,duration:n=400,easing:r=m}={}){const o=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*o}}function Ur(e,t,n){const r=e.slice();return r[17]=t[n],r}function Hr(e,t,n){const r=e.slice();return r[20]=t[n],r}function jr(n){let r,o,i,a,s,l,c,u,d,h,p,f,t,m,g,b,y=n[1],v=[];for(let e=0;e<y.length;e+=1)v[e]=Pr(Hr(n,y,e));let w=n[3],E=[];for(let e=0;e<w.length;e+=1)E[e]=Or(Ur(n,w,e));return{c(){r=ie("div"),o=ie("span"),i=ie("slot"),i.innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',s=se(),l=ie("div"),c=ie("ul");for(let e=0;e<v.length;e+=1)v[e].c();d=se(),h=ie("ul");for(let e=0;e<E.length;e+=1)E[e].c();ce(i,"name","close"),ce(o,"class",a=n[4]?"ModalCloseBtn":""),ce(o,"role","button"),ce(c,"class",u="HamburgerPrimaryMenu "+(n[5]?"HamburgerPrimaryMenuFixed":"")),ce(h,"class",p="HamburgerSecondaryMenu "+(n[5]?"HamburgerSecondaryMenuFixed":"")),ce(l,"class",f="HamburgerModalContainer "+(n[4]?"ActiveHamburgerMenu":"")),ce(r,"class","HamburgerModalWindow")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(r,s),ne(r,l),ne(l,c);for(let e=0;e<v.length;e+=1)v[e].m(c,null);ne(l,d),ne(l,h);for(let e=0;e<E.length;e+=1)E[e].m(h,null);n[12](r),m=!0,g||(b=le(o,"click",n[7]),g=!0)},p(e,t){if(n=e,(!m||16&t&&a!==(a=n[4]?"ModalCloseBtn":""))&&ce(o,"class",a),262&t){let e;for(y=n[1],e=0;e<y.length;e+=1){const o=Hr(n,y,e);v[e]?v[e].p(o,t):(v[e]=Pr(o),v[e].c(),v[e].m(c,null))}for(;e<v.length;e+=1)v[e].d(1);v.length=y.length}if((!m||32&t&&u!==(u="HamburgerPrimaryMenu "+(n[5]?"HamburgerPrimaryMenuFixed":"")))&&ce(c,"class",u),8&t){let e;for(w=n[3],e=0;e<w.length;e+=1){const o=Ur(n,w,e);E[e]?E[e].p(o,t):(E[e]=Or(o),E[e].c(),E[e].m(h,null))}for(;e<E.length;e+=1)E[e].d(1);E.length=w.length}(!m||32&t&&p!==(p="HamburgerSecondaryMenu "+(n[5]?"HamburgerSecondaryMenuFixed":"")))&&ce(h,"class",p),(!m||16&t&&f!==(f="HamburgerModalContainer "+(n[4]?"ActiveHamburgerMenu":"")))&&ce(l,"class",f)},i(e){m||(H(()=>{t=t||W(r,Dr,{transitionDuration:_r},!0),t.run(1)}),m=!0)},o(e){t=t||W(r,Dr,{transitionDuration:_r},!1),t.run(0),m=!1},d(e){e&&oe(r),R(v,e),R(E,e),n[12](null),e&&t&&t.end(),g=!1,b()}}}function Pr(n){let r,o,i,a,s,l,c,u,d,h,p=n[20].label+"";function f(){return n[11](n[20])}return{c(){r=ie("li"),o=ie("div"),i=ie("img"),s=se(),l=ae(p),c=se(),i.src!==(a=n[20].img)&&ce(i,"src",a),ce(i,"alt","menu icon"),ce(o,"class","HamburgerItemContainer"),ce(r,"class",u=n[2]===n[20].id?"ActiveItem":"")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(o,s),ne(o,l),ne(r,c),d||(h=le(r,"click",f),d=!0)},p(e,t){n=e,2&t&&i.src!==(a=n[20].img)&&ce(i,"src",a),2&t&&p!==(p=n[20].label+"")&&ue(l,p),6&t&&u!==(u=n[2]===n[20].id?"ActiveItem":"")&&ce(r,"class",u)},d(e){e&&oe(r),d=!1,h()}}}function Or(e){let n,r,o,i,a,s,l,c,u=e[17].label+"";return{c(){n=ie("li"),r=ie("a"),o=ie("img"),a=se(),s=ae(u),c=se(),o.src!==(i=e[17].img)&&ce(o,"src",i),ce(o,"alt","menu icon"),ce(r,"href",l=e[17].path)},m(e,t){re(e,n,t),ne(n,r),ne(r,o),ne(r,a),ne(r,s),ne(n,c)},p(e,t){8&t&&o.src!==(i=e[17].img)&&ce(o,"src",i),8&t&&u!==(u=e[17].label+"")&&ue(s,u),8&t&&l!==(l=e[17].path)&&ce(r,"href",l)},d(e){e&&oe(n)}}}function Gr(e){let n,r,o=!0===e[6]&&jr(e);return{c(){o&&o.c(),n=E(),this.c=C},m(e,t){o&&o.m(e,t),re(e,n,t),r=!0},p(e,[t]){!0===e[6]?o?(o.p(e,t),64&t&&_(o,1)):(o=jr(e),o.c(),_(o,1),o.m(n.parentNode,n)):o&&(G={r:0,c:[],p:G},c(o,1,1,()=>{o=null}),G.r||te(G.c),G=G.p)},i(e){r||(_(o),r=!0)},o(e){c(o),r=!1},d(e){o&&o.d(e),e&&oe(n)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends Q{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:#D0046C;background:-webkit-linear-gradient(to left, #FD2839, #D0046C);background:linear-gradient(to left, #FD2839, #D0046C)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;width:100%;color:#ffffff;margin:0 auto;padding:0 10px}.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:#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 #D0046C;color:#D0046C}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:#fff;text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",z(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Nr,Lr,n,{sliderdata:0,onclickeventname:11,favoritesnumber:1,location:2,clientstyling:12,clientstylingurl:13,identity:14,containermaxwidth:3}),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["sliderdata","onclickeventname","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth"]}get sliderdata(){return this.$$.ctx[0]}set sliderdata(e){this.$set({sliderdata:e}),j()}get onclickeventname(){return this.$$.ctx[11]}set onclickeventname(e){this.$set({onclickeventname:e}),j()}get favoritesnumber(){return this.$$.ctx[1]}set favoritesnumber(e){this.$set({favoritesnumber:e}),j()}get location(){return this.$$.ctx[2]}set location(e){this.$set({location:e}),j()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$set({clientstylingurl:e}),j()}get identity(){return this.$$.ctx[14]}set identity(e){this.$set({identity:e}),j()}get containermaxwidth(){return this.$$.ctx[3]}set containermaxwidth(e){this.$set({containermaxwidth:e}),j()}});let _r=350;function Fr(e,t,r){let n,{language:o=""}=t,{menuitemsurl:i=""}=t,a=window.navigator.userAgent,s=[],l="",c=[],u=!1,d=!1,h=!1;const p=e=>{"OpenHamburgerMenuModal"===e.data.type&&(window.postMessage({type:"DisableScroll"},window.location.href),r(6,h=!0),setTimeout(()=>{r(4,u=!0)},500),setTimeout(()=>{r(5,d=!0)},1500),m(i))},f=(e,t)=>{r(2,l=e),r(3,c=t||[])},m=e=>new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{r(1,s=e),s.length&&f(s[0].id,s[0].children),t(e)},e=>{console.error(e),n(e)})});return D(()=>(window.addEventListener("message",p,!1),Ir(a),()=>{window.removeEventListener("message",p)})),e.$$set=e=>{"language"in e&&r(9,o=e.language),"menuitemsurl"in e&&r(10,i=e.menuitemsurl)},[void 0,s,l,c,u,d,h,()=>{r(6,h=!1),r(4,u=!1),r(5,d=!1),window.postMessage({type:"CloseHamburgerMenu",showhamburger:!0},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},f,o,i,e=>f(e.id,e.children),function(e){S[e?"unshift":"push"](()=>{n=e,r(0,n)})}]}customElements.get("casino-hamburger-menu")||customElements.define("casino-hamburger-menu",class extends Q{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}.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:#000;width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width .6s 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:#fff;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:#fff}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:#07072A;white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid #D0046C;width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:#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:#fff}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid #707070}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:#D0046C}</style>",z(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Fr,Gr,n,{language:9,menuitemsurl:10}),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["language","menuitemsurl"]}get language(){return this.$$.ctx[9]}set language(e){this.$set({language:e}),j()}get menuitemsurl(){return this.$$.ctx[10]}set menuitemsurl(e){this.$set({menuitemsurl:e}),j()}});const Wr={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 Zr,zr,Qr=(zr=(Zr={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&&Zr.path)}}).exports,function(e){var r,k=e.setTimeout,L=e.clearTimeout,N=e.XMLHttpRequest,o=e.XDomainRequest,t=e.ActiveXObject,n=e.EventSource,i=e.document,d=e.Promise,h=e.fetch,a=e.Response,p=e.TextDecoder,s=e.TextEncoder,f=e.AbortController;function l(){this.bitsNeeded=0,this.codePoint=0}"undefined"==typeof window||void 0===i||"readyState"in i||null!=i.body||(i.readyState="loading",window.addEventListener("load",function(e){i.readyState="complete"},!1)),null==N&&null!=t&&(N=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==f&&(r=h,h=function(e,t){var n=t.signal;return r(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then(function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}})},f=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}),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,i=this.codePoint,a=0;a<e.length;a+=1){var s=e[a];0!==o&&(s<128||191<s||!t(i<<6|63&s,o-6,n(o,i)))&&(o=0,i=65533,r+=String.fromCharCode(i)),0===o?(i=0<=s&&s<=127?(o=0,s):192<=s&&s<=223?(o=6,31&s):224<=s&&s<=239?(o=12,15&s):240<=s&&s<=247?(o=18,7&s):(o=0,65533),0===o||t(i,o,n(o,i))||(o=0,i=65533)):(o-=6,i=i<<6|63&s),0===o&&(i<=65535?r+=String.fromCharCode(i):(r+=String.fromCharCode(55296+(i-65535-1>>10)),r+=String.fromCharCode(56320+(i-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=i,r},null!=p&&null!=s&&function(){try{return"test"===(new p).decode((new s).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}}()||(p=l);var u=function(){};function D(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 m(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var o=n[r].split(": "),i=o.shift(),o=o.join(": ");t[c(i)]=o}this._map=t}function U(){}function g(e){this._headers=e}function H(){}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 j(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 O(e,t){v.call(this,e),this.error=t.error}D.prototype.open=function(e,t){this._abort(!0);var o=this,i=this._xhr,a=1,n=0;this._abort=function(e){0!==o._sendTimeout&&(L(o._sendTimeout),o._sendTimeout=0),1!==a&&2!==a&&3!==a||(a=4,i.onload=u,i.onerror=u,i.onabort=u,i.onprogress=u,i.onreadystatechange=u,i.abort(),0!==n&&(L(n),n=0),e||(o.readyState=4,o.onabort(null),o.onreadystatechange())),a=0};function r(){if(1===a){var t=0,n="",r=void 0;if("contentType"in i)t=200,n="OK",r=i.contentType;else try{t=i.status,n=i.statusText,r=i.getResponseHeader("Content-Type")}catch(e){n="",r=void(t=0)}0!==t&&(a=2,o.readyState=2,o.status=t,o.statusText=n,o._contentType=r,o.onreadystatechange())}}function s(){if(r(),2===a||3===a){a=3;var e="";try{e=i.responseText}catch(e){}o.readyState=3,o.responseText=e,o.onprogress()}}function l(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:u}),s(),1===a||2===a||3===a){if(a=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 c=function(){n=k(function(){c()},500),3===i.readyState&&s()};"onload"in i&&(i.onload=function(e){l("load",e)}),"onerror"in i&&(i.onerror=function(e){l("error",e)}),"onabort"in i&&(i.onabort=function(e){l("abort",e)}),"onprogress"in i&&(i.onprogress=s),"onreadystatechange"in i&&(i.onreadystatechange=function(e){e=e,null!=i&&(4===i.readyState?"onload"in i&&"onerror"in i&&"onabort"in i||l(""===i.responseText?"error":"load",e):3===i.readyState?"onprogress"in i||s():2===i.readyState&&r())}),!("contentType"in i)&&"ontimeout"in N.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),i.open(e,t,!0),"readyState"in i&&(n=k(function(){c()},0))},D.prototype.abort=function(){this._abort(!1)},D.prototype.getResponseHeader=function(e){return this._contentType},D.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},D.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},D.prototype.send=function(){if("ontimeout"in N.prototype&&("sendAsBinary"in N.prototype||"mozAnon"in N.prototype)||null==i||null==i.readyState||"complete"===i.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(e){throw e}}else{var t=this;t._sendTimeout=k(function(){t._sendTimeout=0,t.send()},4)}},m.prototype.get=function(e){return this._map[c(e)]},null!=N&&null==N.HEADERS_RECEIVED&&(N.HEADERS_RECEIVED=2),U.prototype.open=function(o,i,t,n,e,r,a){o.open("GET",e);var s,l=0;for(s in o.onprogress=function(){var e=o.responseText.slice(l);l+=e.length,t(e)},o.onerror=function(e){e.preventDefault(),n(new Error("NetworkError"))},o.onload=function(){n(null)},o.onabort=function(){n(null)},o.onreadystatechange=function(){var e,t,n,r;o.readyState===N.HEADERS_RECEIVED&&(e=o.status,t=o.statusText,n=o.getResponseHeader("Content-Type"),r=o.getAllResponseHeaders(),i(e,t,n,new m(r)))},o.withCredentials=r,a)Object.prototype.hasOwnProperty.call(a,s)&&o.setRequestHeader(s,a[s]);return o.send(),o},g.prototype.get=function(e){return this._headers.get(e)},H.prototype.open=function(e,t,o,n,r,i,a){var s=null,l=new f,c=l.signal,u=new p;return h(r,{headers:a,credentials:i?"include":"same-origin",signal:c,cache:"no-store"}).then(function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new g(e.headers)),new d(function(t,n){var r=function(){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,i=0;i<r.length;i+=1)r[i]===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=[],i=0;i<r.length;i+=1)r[i]!==t&&o.push(r[i]);0===o.length?delete n[e]:n[e]=o}},j.prototype=Object.create(v.prototype),P.prototype=Object.create(v.prototype),O.prototype=Object.create(v.prototype);function G(e,t){return e=null==e?t:parseInt(e,10),W(e=e!=e?t:e)}function _(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){y(e)}}var F=/^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,i,e){i=String(i);function a(e,t,n,r){var o,i;0===E&&(200===e&&null!=n&&F.test(n)?(E=1,m=Date.now(),f=d,l.readyState=1,o=new P("open",{status:e,statusText:t,headers:r}),l.dispatchEvent(o),_(l,l.onopen,o)):(i="",i=200!==e?"EventSource's response has a status "+e+" "+(t=t&&t.replace(/\s+/g," "))+" that is not 200. Aborting the connection.":"EventSource's response has a Content-Type specifying an unsupported type: "+(null==n?"-":n.replace(/\s+/g," "))+". Aborting the connection.",R(),o=new P("error",{status:e,statusText:t,headers:r}),l.dispatchEvent(o),_(l,l.onerror,o),console.error(i)))}function s(e){if(1===E){for(var t=-1,n=0;n<e.length;n+=1)(a=e.charCodeAt(n))!=="\n".charCodeAt(0)&&a!=="\r".charCodeAt(0)||(t=n);var r=(-1!==t?C:"")+e.slice(0,t+1);C=(-1===t?C:"")+e.slice(t+1),""!==e&&(m=Date.now(),g+=e.length);for(var o=0;o<r.length;o+=1){var i,a=r.charCodeAt(o);if(-1===I&&a==="\n".charCodeAt(0))I=0;else if(-1===I&&(I=0),a==="\r".charCodeAt(0)||a==="\n".charCodeAt(0)){if(0!==I&&(1===I&&(S=o+1),i=r.slice(x,S-1),s=r.slice(S+(S<o&&r.charCodeAt(S)===" ".charCodeAt(0)?1:0),o),"data"===i?(A+="\n",A+=s):"id"===i?T=s:"event"===i?M=s:"retry"===i?(d=G(s,d),f=d):"heartbeatTimeout"===i&&(h=G(s,h),0!==w&&(L(w),w=k(function(){B()},h)))),0===I){if(""!==A){p=T;var s=new j(M=""===M?"message":M,{data:A.slice(1),lastEventId:T});if(l.dispatchEvent(s),"open"===M?_(l,l.onopen,s):"message"===M?_(l,l.onmessage,s):"error"===M&&_(l,l.onerror,s),2===E)return}M=A=""}I=a==="\r".charCodeAt(0)?-1:0}else 0===I&&(x=o,I=1),1===I?a===":".charCodeAt(0)&&(S=o+1,I=2):2===I&&(I=3)}}}function c(e){var t;1!==E&&0!==E||(E=-1,0!==w&&(L(w),w=0),w=k(function(){B()},f),f=W(Math.min(16*d,2*f)),l.readyState=0,t=new O("error",{error:e}),l.dispatchEvent(t),_(l,l.onerror,t),null!=e&&console.error(e))}var t=Boolean(e.withCredentials),u=e.lastEventIdQueryParameterName||"lastEventId",d=W(1e3),h=G(e.heartbeatTimeout,45e3),p="",f=d,m=!1,g=0,n=e.headers||{},e=e.Transport,b=Z&&null==e?void 0:new D(new(null!=e?e:null!=N&&"withCredentials"in N.prototype||null==o?N:o)),y=new(null!=e&&"string"!=typeof e?e:null==b?H:U),v=void 0,w=0,E=-1,A="",T="",M="",C="",I=0,x=0,S=0,R=function(){E=2,null!=v&&(v.abort(),v=void 0),0!==w&&(L(w),w=0),l.readyState=2},B=function(){if(w=0,-1===E){m=!1,g=0,w=k(function(){B()},h),T=p,C=M=A="",I=S=x=E=0;var e=i;"data:"!==i.slice(0,5)&&"blob:"!==i.slice(0,5)&&""!==p&&(e=-1===(t=i.indexOf("?"))?i:i.slice(0,t+1)+i.slice(t+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(e,t){return t===u?"":e}),e+=(-1===i.indexOf("?")?"?":"&")+u+"="+encodeURIComponent(p));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{v=y.open(b,a,s,c,e,t,n)}catch(e){throw R(),e}}else m||null==v?(t=Math.max((m||Date.now())+h-Date.now(),1),m=!1,w=k(function(){B()},t)):(c(new Error("No activity within "+h+" milliseconds. "+(0===E?"No response received.":g+" chars received.")+" Reconnecting.")),null!=v&&(v.abort(),v=void 0))};l.url=i,l.readyState=0,l.withCredentials=t,l.headers=n,l._close=R,B()}(this,e,t)}var Z=null!=h&&null!=a&&"body"in a.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==N||null!=n&&"withCredentials"in n.prototype||(e=w),(a=zr).EventSourcePolyfill=w,a.NativeEventSource=n,a.EventSource=e}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:xe:globalThis),Zr.exports);function Vr(n){let r,o,i,a,s,l,c,u,d,h,p,f,m,g,b,y,v,w,E,A,T,M,C,I,x,S,R,B,k,L,N,D,U,H,j,P,O,G,_,F,W,Z,z,Q,V,Y,X,J=n[5]("balanceModal.balanceTitle")+"",K=n[5]("balanceModal.totalBalance")+"",$=n[5]("balanceModal.cashBalance")+"",q=n[5]("balanceModal.bonusBalance")+"",ee=n[5]("balanceModal.depositButton")+"";return{c(){r=ie("div"),o=ie("div"),i=se(),a=ie("div"),s=ie("div"),l=ie("p"),c=ae(J),u=se(),d=ie("div"),h=ie("div"),p=ie("p"),f=ae(K),m=se(),g=ie("p"),b=ie("span"),y=ae(n[0]),v=se(),w=ie("span"),E=ae(n[3]),A=se(),T=ie("div"),M=ie("p"),C=ae($),I=se(),x=ie("p"),S=ie("span"),R=ae(n[1]),B=se(),k=ie("span"),L=ae(n[3]),N=se(),D=ie("div"),U=ie("p"),H=ae(q),j=se(),P=ie("p"),O=ie("span"),G=ae(n[2]),_=se(),F=ie("span"),W=ae(n[3]),Z=se(),z=ie("div"),Q=ie("button"),V=ae(ee),ce(o,"class","BalanceModalClose"),ce(l,"class","BalanceModalTitle"),ce(s,"class","BalanceModalHeader"),ce(p,"class","BalanceModalText"),ce(b,"class","BalanceModalAmount"),ce(w,"class","BalanceModalCurrency"),ce(g,"class","BalanceModalValue"),ce(h,"class","BalanceModalRow"),ce(M,"class","BalanceModalText"),ce(S,"class","BalanceModalAmount"),ce(k,"class","BalanceModalCurrency"),ce(x,"class","BalanceModalValue"),ce(T,"class","BalanceModalRow"),ce(U,"class","BalanceModalText"),ce(O,"class","BalanceModalAmount"),ce(F,"class","BalanceModalCurrency"),ce(P,"class","BalanceModalValue"),ce(D,"class","BalanceModalRow"),ce(d,"class","BalanceModalBody"),ce(Q,"class","BalanceModalAction"),ce(z,"class","BalanceModalFooter"),ce(a,"class","BalanceModal"),ce(r,"class","BalanceModalWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(r,i),ne(r,a),ne(a,s),ne(s,l),ne(l,c),ne(a,u),ne(a,d),ne(d,h),ne(h,p),ne(p,f),ne(h,m),ne(h,g),ne(g,b),ne(b,y),ne(g,v),ne(g,w),ne(w,E),ne(d,A),ne(d,T),ne(T,M),ne(M,C),ne(T,I),ne(T,x),ne(x,S),ne(S,R),ne(x,B),ne(x,k),ne(k,L),ne(d,N),ne(d,D),ne(D,U),ne(U,H),ne(D,j),ne(D,P),ne(P,O),ne(O,G),ne(P,_),ne(P,F),ne(F,W),ne(a,Z),ne(a,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&&K!==(K=e[5]("balanceModal.totalBalance")+"")&&ue(f,K),1&t&&ue(y,e[0]),8&t&&ue(E,e[3]),32&t&&$!==($=e[5]("balanceModal.cashBalance")+"")&&ue(C,$),2&t&&ue(R,e[1]),8&t&&ue(L,e[3]),32&t&&q!==(q=e[5]("balanceModal.bonusBalance")+"")&&ue(H,q),4&t&&ue(G,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 Yr(n){let r,o,i;return{c(){r=ie("div"),ce(r,"class","ShowBalanceModalOverlay")},m(e,t){re(e,r,t),o||(i=le(r,"click",n[15]),o=!0)},p:C,d(e){e&&oe(r),o=!1,i()}}}function Xr(n){let r,o,i,a,s,l,c,u,d,h,p,f,m=n[4]&&Vr(n),g=n[4]&&Yr(n);return{c(){r=ie("div"),o=ie("p"),i=ae(n[0]),a=se(),s=ae(n[3]),l=se(),c=ie("span"),c.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:#fff;}</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(),m&&m.c(),d=se(),g&&g.c(),h=E(),this.c=C,ce(o,"class","BalanceValue"),ce(r,"class","ShowBalance")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(o,a),ne(o,s),ne(o,l),ne(o,c),ne(r,u),m&&m.m(r,null),re(e,d,t),g&&g.m(e,t),re(e,h,t),p||(f=le(o,"click",n[12]),p=!0)},p(e,[t]){1&t&&ue(i,e[0]),8&t&&ue(s,e[3]),e[4]?m?m.p(e,t):(m=Vr(e),m.c(),m.m(r,null)):m&&(m.d(1),m=null),e[4]?g?g.p(e,t):(g=Yr(e),g.c(),g.m(h.parentNode,h)):g&&(g.d(1),g=null)},i:C,o:C,d(e){e&&oe(r),m&&m.d(),e&&oe(d),g&&g.d(e),e&&oe(h),p=!1,f()}}}function Jr(e,t,r){let n;var o,i,a=Cr;e.$$.on_destroy.push(T(a,e=>r(5,n=e)));let s,l,c,{userid:u=""}=t,{session:d=""}=t,{endpoint:h=""}=t,{lang:p="en"}=t,f="",m="",g="",b="",y=!1;[{withLocale:o,translations:i}]=[{withLocale:"en",translations:{}}],mr.subscribe(e=>{null==e&&(rr.set(i),mr.set(o))}),Object.keys(Wr).forEach(e=>{ir(e,Wr[e])});const v=e=>{switch(e){case"balance":r(4,y=!0);break;case"closebalance":r(4,y=!1)}},w=e=>{"message"==e.type&&((e=JSON.parse(e.data)).balanceChange&&e.balanceChange[l]&&r(1,m=e.balanceChange[l].afterAmount),e.balanceChange&&e.balanceChange[c]&&r(2,g=e.balanceChange[c].afterAmount),r(0,f=(parseFloat(m)+parseFloat(g)).toFixed(2)))},E=()=>{window.postMessage({type:"GoToDeposit"},window.location.href)},A=()=>{var e,t=p;mr.set(t),s=new Qr.EventSourcePolyfill(`${h}/player/${u}/balance/updates`,{headers:{accept:"text/event-stream","X-SessionID":d}}),e=`${h}/player/${u}/account`,new Promise((t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":d}}).then(e=>e.json()).then(e=>{e.items.forEach(e=>{"Casino"==e.displayName&&(l=e.id,r(1,m=e.balanceAmount),r(3,b=e.currency)),"UBS"==e.displayName&&(c=e.id,r(2,g=e.balanceAmount))}),r(0,f=(parseFloat(m)+parseFloat(g)).toFixed(2)),s.addEventListener("open",w),s.addEventListener("message",w),s.addEventListener("error",w),t(e)},e=>{console.error(e),n(e)})})};return D(()=>()=>{s.removeEventListener("open",w),s.removeEventListener("message",w),s.removeEventListener("error",w)}),e.$$set=e=>{"userid"in e&&r(8,u=e.userid),"session"in e&&r(9,d=e.session),"endpoint"in e&&r(10,h=e.endpoint),"lang"in e&&r(11,p=e.lang)},e.$$.update=()=>{3840&e.$$.dirty&&h&&u&&d&&p&&A()},[f,m,g,b,y,n,v,E,u,d,h,p,()=>v("balance"),()=>v("closebalance"),()=>E(),()=>v("closebalance")]}customElements.get("player-account-balance-modal")||customElements.define("player-account-balance-modal",class extends Q{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:#fff;position:absolute;top:45px;left:50%;transform:translateX(-50%);padding:10px;box-shadow:0px 30px 30px #D0046C1A;border-radius:5px;z-index:3;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:\"\";background:#fff;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:#FD2839;position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:\"\";background:#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:#07072A}.BalanceModalRow{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid #D1D1D1}.BalanceModalRow:last-child{border-bottom:none}.BalanceModalRow .BalanceModalText{color:#58586B;font-size:14px;text-transform:capitalize}.BalanceModalRow .BalanceModalValue{font-size:14px;font-weight:bold;color:#07072A}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:#FD2839;font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover{background:#f00215}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:2}</style>",z(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Jr,Xr,n,{userid:8,session:9,endpoint:10,lang:11}),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["userid","session","endpoint","lang"]}get userid(){return this.$$.ctx[8]}set userid(e){this.$set({userid:e}),j()}get session(){return this.$$.ctx[9]}set session(e){this.$set({session:e}),j()}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$set({endpoint:e}),j()}get lang(){return this.$$.ctx[11]}set lang(e){this.$set({lang:e}),j()}});var Kr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkO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P6bASZBtODLcCzbtKl54jhg3DN47P/80z2uMsqf7kE6bgN27QlHzrP4yoP+nwteyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII=";function $r(e,t,n){const r=e.slice();return r[53]=t[n],r}function qr(e,t,n){const r=e.slice();return r[9]=t[n],r}function eo(e,t,n){const r=e.slice();return r[53]=t[n],r}function to(e,t,n){const r=e.slice();return r[9]=t[n],r}function no(e){let n,r,o,i,a;return{c(){n=ie("link"),o=se(),i=ie("script"),ce(n,"rel","import"),ce(n,"href",r=e[5]+"/assets/widgets/0.11.4/index.html"),i.src!==(a=e[5]+"/assets/widgets/0.11.4/bower_components/webcomponentsjs/webcomponents-lite.js")&&ce(i,"src",a)},m(e,t){re(e,n,t),re(e,o,t),re(e,i,t)},p(e,t){32&t[0]&&r!==(r=e[5]+"/assets/widgets/0.11.4/index.html")&&ce(n,"href",r),32&t[0]&&i.src!==(a=e[5]+"/assets/widgets/0.11.4/bower_components/webcomponentsjs/webcomponents-lite.js")&&ce(i,"src",a)},d(e){e&&oe(n),e&&oe(o),e&&oe(i)}}}function ro(n){let r,o,i,a,e,s,l,c,u,d,h,p,f,m,g,b,y,v,w,E,A=!n[14]&&ao(n),T=n[18],M=[];for(let e=0;e<T.length;e+=1)M[e]=so(qr(n,T,e));let C=n[11],I=[];for(let e=0;e<C.length;e+=1)I[e]=lo($r(n,C,e));return{c(){r=ie("header"),o=ie("div"),i=ie("div"),a=ie("img"),s=se(),l=ie("nav"),A&&A.c(),c=se(),u=ie("div"),d=ie("div"),h=ie("div"),h.textContent="Login",p=se(),f=ie("div"),f.textContent="Register",m=se(),g=ie("select");for(let e=0;e<M.length;e+=1)M[e].c();b=se(),y=ie("nav"),v=ie("ul");for(let e=0;e<I.length;e+=1)I[e].c();a.src!==(e=Kr)&&ce(a,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAA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WBfu6AZgUTmIfAlWZTuQtpSNoG1e5Bs0hyypSp6iulUFRiE10PsElXXZ9YC7jeliuJZ4saEz5LAJ3qIHbDHyi0LyjHMyh4QTmp0CfRVu1nEZefN6xNeFlzRcGTe15LLchnN7sAJwNgQgnAnF8P34sgFsbuKMG9yj7d/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(a,"alt","Everymatrix logo"),ce(i,"class","HeaderBranding"),ce(l,"class","HeaderMainNav"),ce(h,"class","Item ItemLogin"),ce(f,"class","Item ItemRegister"),ce(g,"class","Item ItemLanguage"),void 0===n[12]&&H(()=>n[39].call(g)),ce(d,"class","HeaderItemsMenu"),ce(u,"class","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(v,"class","HeaderItemsMenuSecondary"),ce(y,"class","HeaderSecondaryNav"),ce(r,"class","HeaderWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(i,a),ne(o,s),ne(o,l),A&&A.m(l,null),ne(o,c),ne(o,u),ne(u,d),ne(d,h),ne(d,p),ne(d,f),ne(d,m),ne(d,g);for(let e=0;e<M.length;e+=1)M[e].m(g,null);k(g,n[12]),ne(r,b),ne(r,y),ne(y,v);for(let e=0;e<I.length;e+=1)I[e].m(v,null);w||(E=[le(i,"click",n[36]),le(h,"click",n[37]),le(f,"click",n[38]),le(g,"change",n[39]),le(g,"change",n[40])],w=!0)},p(t,n){if(t[14]?A&&(A.d(1),A=null):A?A.p(t,n):(A=ao(t),A.c(),A.m(l,null)),262144&n[0]){let e;for(T=t[18],e=0;e<T.length;e+=1){var r=qr(t,T,e);M[e]?M[e].p(r,n):(M[e]=so(r),M[e].c(),M[e].m(g,null))}for(;e<M.length;e+=1)M[e].d(1);M.length=T.length}if(266240&n[0]&&k(g,t[12]),2048&n[0]){let e;for(C=t[11],e=0;e<C.length;e+=1){var o=$r(t,C,e);I[e]?I[e].p(o,n):(I[e]=lo(o),I[e].c(),I[e].m(v,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=C.length}},d(e){e&&oe(r),A&&A.d(),R(M,e),R(I,e),w=!1,te(E)}}}function oo(n){let r,o,i,a,s,l,c,u,d,h,p,f,m,g,e,b,y,v,w,E,A,T,M;return{c(){r=ie("header"),o=ie("div"),i=ie("div"),a=t("svg"),s=t("defs"),l=t("style"),c=ae(".a {\n fill: #fff;\n }\n "),u=t("g"),d=t("rect"),h=t("rect"),p=t("rect"),f=se(),m=ie("div"),g=ie("img"),b=se(),y=ie("div"),v=ie("div"),w=ie("div"),w.textContent="Login",E=se(),A=ie("div"),A.textContent="Register",ce(d,"class","a"),ce(d,"width","18"),ce(d,"height","2"),ce(d,"transform","translate(14 13)"),ce(h,"class","a"),ce(h,"width","22"),ce(h,"height","2"),ce(h,"transform","translate(14 20)"),ce(p,"class","a"),ce(p,"width","22"),ce(p,"height","2"),ce(p,"transform","translate(14 27)"),ce(u,"transform","translate(-14 -13)"),ce(a,"xmlns","http://www.w3.org/2000/svg"),ce(a,"width","22"),ce(a,"height","16"),ce(a,"viewBox","0 0 22 16"),ce(i,"class","HeaderMobileMainNav"),g.src!==(e=Kr)&&ce(g,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkM1M0ZDQjNDQzFFQTExRUJCODU2QjREQ0ZBNkNCRkQ0IiB4bXBNTTp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teyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII="),ce(g,"alt","Everymatrix logo"),ce(m,"class","HeaderBranding"),ce(w,"class","Item ItemLogin"),ce(A,"class","Item ItemRegister"),ce(v,"class","HeaderItemsMenu"),ce(y,"class","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(r,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(i,a),ne(a,s),ne(s,l),ne(l,c),ne(a,u),ne(u,d),ne(u,h),ne(u,p),ne(o,f),ne(o,m),ne(m,g),ne(o,b),ne(o,y),ne(y,v),ne(v,w),ne(v,E),ne(v,A),T||(M=[le(a,"click",n[32]),le(m,"click",n[33]),le(w,"click",n[34]),le(A,"click",n[35])],T=!0)},p:C,d(e){e&&oe(r),T=!1,te(M)}}}function io(e){let n;function r(e){return e[15]?uo:co}let o=r(e),i=o(e);return{c(){i.c(),n=E()},m(e,t){i.m(e,t),re(e,n,t)},p(e,t){o===(o=r(e))&&i?i.p(e,t):(i.d(1),i=o(e),i&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&oe(n)}}}function ao(e){let n;return{c(){n=ie("casino-slider"),B(n,"class","HeaderItemsMenu"),B(n,"sliderdata",e[10]),B(n,"identity",e[3]),B(n,"onclickeventname",""),B(n,"location","headerMain")},m(e,t){re(e,n,t)},p(e,t){1024&t[0]&&B(n,"sliderdata",e[10]),8&t[0]&&B(n,"identity",e[3])},d(e){e&&oe(n)}}}function so(e){let n,r,t=e[9].code+"";return{c(){n=ie("option"),r=ae(t),n.__value=e[9].code,n.value=n.__value},m(e,t){re(e,n,t),ne(n,r)},p:C,d(e){e&&oe(n)}}}function lo(e){let n,r,o,i,a=e[53].label+"";return{c(){n=ie("li"),r=ie("a"),o=ae(a),ce(r,"href",i=e[53].path),ce(n,"class","ItemSecondary")},m(e,t){re(e,n,t),ne(n,r),ne(r,o)},p(e,t){2048&t[0]&&a!==(a=e[53].label+"")&&ue(o,a),2048&t[0]&&i!==(i=e[53].path)&&ce(r,"href",i)},d(e){e&&oe(n)}}}function co(n){let r,o,i,a,e,s,l,c,u,d,h,p,f,m,g,b,y,v,w,E,A,T,M=!n[14]&&ho(n),C=n[18],I=[];for(let e=0;e<C.length;e+=1)I[e]=po(to(n,C,e));let x=n[11],S=[];for(let e=0;e<x.length;e+=1)S[e]=fo(eo(n,x,e));return{c(){r=ie("header"),o=ie("div"),i=ie("div"),a=ie("img"),s=se(),l=ie("nav"),M&&M.c(),c=se(),u=ie("div"),d=ie("div"),h=ie("player-account-balance-modal"),p=se(),f=ie("div"),f.textContent="Deposit",m=se(),g=ie("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: #fff;\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>',b=se(),y=ie("select");for(let e=0;e<I.length;e+=1)I[e].c();v=se(),w=ie("nav"),E=ie("ul");for(let e=0;e<S.length;e+=1)S[e].c();a.src!==(e=Kr)&&ce(a,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVN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15LLchnN7sAJwNgQgnAnF8P34sgFsbuKMG9yj7d/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(a,"alt","Everymatrix logo"),ce(i,"class","HeaderBranding"),ce(l,"class","HeaderMainNav"),B(h,"session",n[0]),B(h,"userid",n[1]),B(h,"endpoint",n[2]),B(h,"lang",n[9]),ce(f,"class","Item ItemDeposit"),ce(g,"class","Item ItemAccount"),ce(y,"class","Item ItemLanguage"),void 0===n[12]&&H(()=>n[30].call(y)),ce(d,"class","HeaderItemsMenu PrimaryMenu"),ce(u,"class","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(E,"class","HeaderItemsMenuSecondary"),ce(w,"class","HeaderSecondaryNav"),ce(r,"class","HeaderWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),ne(i,a),ne(o,s),ne(o,l),M&&M.m(l,null),ne(o,c),ne(o,u),ne(u,d),ne(d,h),ne(d,p),ne(d,f),ne(d,m),ne(d,g),ne(d,b),ne(d,y);for(let e=0;e<I.length;e+=1)I[e].m(y,null);k(y,n[12]),ne(r,v),ne(r,w),ne(w,E);for(let e=0;e<S.length;e+=1)S[e].m(E,null);A||(T=[le(i,"click",n[27]),le(f,"click",n[28]),le(g,"click",n[29]),le(y,"change",n[30]),le(y,"change",n[31])],A=!0)},p(t,n){if(t[14]?M&&(M.d(1),M=null):M?M.p(t,n):(M=ho(t),M.c(),M.m(l,null)),1&n[0]&&B(h,"session",t[0]),2&n[0]&&B(h,"userid",t[1]),4&n[0]&&B(h,"endpoint",t[2]),512&n[0]&&B(h,"lang",t[9]),262144&n[0]){let e;for(C=t[18],e=0;e<C.length;e+=1){var r=to(t,C,e);I[e]?I[e].p(r,n):(I[e]=po(r),I[e].c(),I[e].m(y,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=C.length}if(266240&n[0]&&k(y,t[12]),2048&n[0]){let e;for(x=t[11],e=0;e<x.length;e+=1){var o=eo(t,x,e);S[e]?S[e].p(o,n):(S[e]=fo(o),S[e].c(),S[e].m(E,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=x.length}},d(e){e&&oe(r),M&&M.d(),R(I,e),R(S,e),A=!1,te(T)}}}function uo(n){let r,o,i,a,s,l,e,c,u,d,h,p,f,m,g,b,y,v=!n[17]&&mo(n);return{c(){r=ie("header"),o=ie("div"),i=ie("div"),v&&v.c(),a=se(),s=ie("div"),l=ie("img"),c=se(),u=ie("div"),d=ie("div"),h=ie("player-account-balance-modal"),p=se(),f=ie("div"),f.textContent="Deposit",m=se(),g=ie("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: #fff;\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(i,"class","HeaderMobileMainNav"),l.src!==(e=Kr)&&ce(l,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAyCAYAAABhwlgFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG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2v70Z+F5E6FeYBTmdyXrZFLMXp3OZlfBJZOQWyt/NseyKAL4PB3wEZPfvigBE18P6bASZBtODLcCzbtKl54jhg3DN47P/80z2uMsqf7kE6bgN27QlHzrP4yoP+nwteyAs8q9rT2hDauCH2BVtYO03feXsekDkQ57jEwmuzQOg9/pGw/5H8K8AA5rdms466ozkAAAAASUVORK5CYII="),ce(l,"alt","Everymatrix logo"),ce(s,"class","HeaderBranding"),B(h,"session",n[0]),B(h,"userid",n[1]),B(h,"endpoint",n[2]),B(h,"lang",n[9]),ce(f,"class","Item ItemDeposit"),ce(g,"class","Item ItemAccount"),ce(d,"class","HeaderItemsMenu PrimaryMenu"),ce(u,"class","HeaderTopActions"),ce(o,"class","HeaderContainer"),ce(r,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){re(e,r,t),ne(r,o),ne(o,i),v&&v.m(i,null),ne(o,a),ne(o,s),ne(s,l),ne(o,c),ne(o,u),ne(u,d),ne(d,h),ne(d,p),ne(d,f),ne(d,m),ne(d,g),b||(y=[le(s,"click",n[24]),le(f,"click",n[25]),le(g,"click",n[26])],b=!0)},p(e,t){e[17]?v&&(v.d(1),v=null):v?v.p(e,t):(v=mo(e),v.c(),v.m(i,null)),1&t[0]&&B(h,"session",e[0]),2&t[0]&&B(h,"userid",e[1]),4&t[0]&&B(h,"endpoint",e[2]),512&t[0]&&B(h,"lang",e[9])},d(e){e&&oe(r),v&&v.d(),b=!1,te(y)}}}function ho(e){let n;return{c(){n=ie("casino-slider"),B(n,"class","HeaderItemsMenu"),B(n,"sliderdata",e[10]),B(n,"identity",e[3]),B(n,"onclickeventname",""),B(n,"location","headerMain")},m(e,t){re(e,n,t)},p(e,t){1024&t[0]&&B(n,"sliderdata",e[10]),8&t[0]&&B(n,"identity",e[3])},d(e){e&&oe(n)}}}function po(e){let n,r,t=e[9].code+"";return{c(){n=ie("option"),r=ae(t),n.__value=e[9].code,n.value=n.__value},m(e,t){re(e,n,t),ne(n,r)},p:C,d(e){e&&oe(n)}}}function fo(e){let n,r,o,i,a=e[53].label+"";return{c(){n=ie("li"),r=ie("a"),o=ae(a),ce(r,"href",i=e[53].path),ce(n,"class","ItemSecondary")},m(e,t){re(e,n,t),ne(n,r),ne(r,o)},p(e,t){2048&t[0]&&a!==(a=e[53].label+"")&&ue(o,a),2048&t[0]&&i!==(i=e[53].path)&&ce(r,"href",i)},d(e){e&&oe(n)}}}function mo(n){let r,o,i,a,s,l,c,u,d,h;return{c(){r=t("svg"),o=t("defs"),i=t("style"),a=ae(".a {\n fill: #fff;\n }\n "),s=t("g"),l=t("rect"),c=t("rect"),u=t("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,i),ne(i,a),ne(r,s),ne(s,l),ne(s,c),ne(s,u),d||(h=le(r,"click",n[23]),d=!0)},p:C,d(e){e&&oe(r),d=!1,h()}}}function go(e){let n;return{c(){n=ie("bannermatrix-banner"),B(n,"operator-id",e[6]),B(n,"page-tag",e[7]),B(n,"position-tag",e[8])},m(e,t){re(e,n,t)},p(e,t){64&t[0]&&B(n,"operator-id",e[6]),128&t[0]&&B(n,"page-tag",e[7]),256&t[0]&&B(n,"position-tag",e[8])},d(e){e&&oe(n)}}}function bo(e){let n,r,o,i,a,s,l=e[5]&&no(e);function c(e){return e[16]?io:e[15]?oo:ro}let u=c(e),d=u(e),h="true"==e[4]&&go(e);return{c(){l&&l.c(),n=E(),r=se(),d.c(),o=se(),i=ie("casino-hamburger-menu"),a=se(),h&&h.c(),s=E(),this.c=C,B(i,"menuitemsurl",e[13]),B(i,"language","")},m(e,t){l&&l.m(document.head,null),ne(document.head,n),re(e,r,t),d.m(e,t),re(e,o,t),re(e,i,t),re(e,a,t),h&&h.m(e,t),re(e,s,t)},p(e,t){e[5]?l?l.p(e,t):(l=no(e),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null),u===(u=c(e))&&d?d.p(e,t):(d.d(1),d=u(e),d&&(d.c(),d.m(o.parentNode,o))),8192&t[0]&&B(i,"menuitemsurl",e[13]),"true"==e[4]?h?h.p(e,t):(h=go(e),h.c(),h.m(s.parentNode,s)):h&&(h.d(1),h=null)},i:C,o:C,d(e){l&&l.d(e),oe(n),e&&oe(r),d.d(e),e&&oe(o),e&&oe(i),e&&oe(a),h&&h.d(e),e&&oe(s)}}}function yo(e,t,r){var n=this&&this.__awaiter||function(e,a,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{i(l.next(e))}catch(e){t(e)}}function o(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,o)}i((l=l.apply(e,a||[])).next())})};let o,i,{session:a=""}=t,{userid:s=""}=t,{endpoint:l=""}=t,{cmsendpoint:c=""}=t,{cmsenv:u="stage"}=t,{lang:d=""}=t,{identity:h=""}=t,{showbanner:p=""}=t,{bannermatrix:f=""}=t,{operatorid:m=""}=t,{pagetag:g=""}=t,{positiontag:b=""}=t,y=[],v=[],w=[{code:"EN"},{code:"TR"},{code:"RO"}],E="",A=!0,T=!1,M=window.navigator.userAgent,C=!1,I=!0,x=!1;const S=e=>{switch(e){case"login":I=!0,window.postMessage({type:"OpenLoginRegisterModal",login:I},window.location.href);break;case"register":I=!1,window.postMessage({type:"OpenLoginRegisterModal",login:I},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:E},window.location.href)}},R=()=>{r(17,x=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},B=e=>{if(e.data)switch(e.data.type){case"UserSessionID":e.data.userid,e.data.session,r(16,C=!0);break;case"CloseHamburgerMenu":e.data.showhamburger&&r(17,x=!1);break;case"LogoutSuccessfull":r(16,C=!1);break;case"LanguageChanged":k(),L(i)}},k=()=>{i=new URL(`${c}/${E.toLowerCase()}/menu`),r(13,o=new URL(`${c}/${E.toLowerCase()}/hamburger-menu`)),i.searchParams.append("device","dk"),i.searchParams.append("env",u),i.searchParams.append("language",E.toLowerCase()),i.searchParams.append("platform","dk"),o.searchParams.append("device","dk"),o.searchParams.append("env",u),o.searchParams.append("language",E.toLowerCase()),o.searchParams.append("platform","dk")},L=e=>(r(14,A=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{r(10,y=e.desktop.primary),r(11,v=e.desktop.secondary),r(14,A=!1),t(e)},e=>{r(14,A=!1),console.error(e),n(e)})}));return D(()=>n(void 0,void 0,void 0,function*(){return window.addEventListener("message",B,!1),Ir(M)&&r(15,T=!0),()=>{window.removeEventListener("message",B)}})),e.$$set=e=>{"session"in e&&r(0,a=e.session),"userid"in e&&r(1,s=e.userid),"endpoint"in e&&r(2,l=e.endpoint),"cmsendpoint"in e&&r(21,c=e.cmsendpoint),"cmsenv"in e&&r(22,u=e.cmsenv),"lang"in e&&r(9,d=e.lang),"identity"in e&&r(3,h=e.identity),"showbanner"in e&&r(4,p=e.showbanner),"bannermatrix"in e&&r(5,f=e.bannermatrix),"operatorid"in e&&r(6,m=e.operatorid),"pagetag"in e&&r(7,g=e.pagetag),"positiontag"in e&&r(8,b=e.positiontag)},e.$$.update=()=>{1&e.$$.dirty[0]&&a&&r(16,C=!0),2097664&e.$$.dirty[0]&&c&&d&&(r(12,E=d.toUpperCase()),k(),L(i))},[a,s,l,h,p,f,m,g,b,d,y,v,E,o,A,T,C,x,w,S,R,c,u,()=>R(),()=>S("lobby"),()=>S("deposit"),()=>S("myaccount"),()=>S("lobby"),()=>S("deposit"),()=>S("myaccount"),function(){E=N(this),r(12,E),r(18,w)},()=>S("language"),()=>R(),()=>S("lobby"),()=>S("login"),()=>S("register"),()=>S("lobby"),()=>S("login"),()=>S("register"),function(){E=N(this),r(12,E),r(18,w)},()=>S("language")]}class vo extends Q{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:#050518}.HeaderContainer{max-width:1280px;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:#050518;border-top:1px solid #58586B}.HeaderItemsMenu{display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:#FFF;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 #FFF;height:44px;text-align:center;line-height:44px;margin-right:20px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:#E32D2C;font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:#D0046C}.ItemLanguage{height:44px;width:76px;text-align:center;line-height:44px;background:transparent;color:#fff;border:none;cursor:pointer}.ItemLanguage option{color:#0a0c19}.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:#FFF;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:#fff;text-decoration:none}.HeaderItemsMenuSecondary .ItemSecondary:hover a{color:#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>",z(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},yo,bo,n,{session:0,userid:1,endpoint:2,cmsendpoint:21,cmsenv:22,lang:9,identity:3,showbanner:4,bannermatrix:5,operatorid:6,pagetag:7,positiontag:8},[-1,-1]),e&&(e.target&&re(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["session","userid","endpoint","cmsendpoint","cmsenv","lang","identity","showbanner","bannermatrix","operatorid","pagetag","positiontag"]}get session(){return this.$$.ctx[0]}set session(e){this.$set({session:e}),j()}get userid(){return this.$$.ctx[1]}set userid(e){this.$set({userid:e}),j()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$set({endpoint:e}),j()}get cmsendpoint(){return this.$$.ctx[21]}set cmsendpoint(e){this.$set({cmsendpoint:e}),j()}get cmsenv(){return this.$$.ctx[22]}set cmsenv(e){this.$set({cmsenv:e}),j()}get lang(){return this.$$.ctx[9]}set lang(e){this.$set({lang:e}),j()}get identity(){return this.$$.ctx[3]}set identity(e){this.$set({identity:e}),j()}get showbanner(){return this.$$.ctx[4]}set showbanner(e){this.$set({showbanner:e}),j()}get bannermatrix(){return this.$$.ctx[5]}set bannermatrix(e){this.$set({bannermatrix:e}),j()}get operatorid(){return this.$$.ctx[6]}set operatorid(e){this.$set({operatorid:e}),j()}get pagetag(){return this.$$.ctx[7]}set pagetag(e){this.$set({pagetag:e}),j()}get positiontag(){return this.$$.ctx[8]}set positiontag(e){this.$set({positiontag:e}),j()}}return customElements.get("casino-header-controller")||customElements.define("casino-header-controller",vo),vo});
|
|
2
2
|
//# sourceMappingURL=casino-header-controller.js.map
|