@everymatrix/casino-lobby 1.19.1 → 1.19.3
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.
- package/dist/casino-lobby.js +1 -1
- package/dist/casino-lobby.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-lobby.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(s){"use strict";(e=s)&&"object"==typeof e&&0 in e;function N(){}const b=e=>e;function p(e){return e()}function h(){return Object.create(null)}function H(e){e.forEach(p)}function k(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let u;function ce(e,t){return(u=u||document.createElement("a")).href=t,e===u.href}function w(e,...t){if(null==e)return N;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function lt(e,t,n){e.$$.on_destroy.push(w(t,n))}function S(e){return e&&k(e.destroy)?e.destroy:N}var e="undefined"!=typeof window;let x=e?()=>window.performance.now():()=>Date.now(),$=e?e=>requestAnimationFrame(e):N;const F=new Set;function M(t){F.forEach(e=>{e.c(t)||(F.delete(e),e.f())}),0!==F.size&&$(M)}function de(e,t){e.appendChild(t)}function E(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function ue(e,t,n){e.insertBefore(t,n||null)}function me(e){e.parentNode&&e.parentNode.removeChild(e)}function j(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function pe(e){return document.createElement(e)}function z(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function he(e){return document.createTextNode(e)}function ge(){return he(" ")}function c(){return he("")}function U(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function C(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.data!==(t=""+t)&&(e.data=t)}function L(e,t){e.value=null==t?"":t}function P(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}let G;function R(e,t,n){e.classList[n?"add":"remove"](t)}class _{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=z(t.nodeName):this.e=pe(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(("TEMPLATE"===this.e.nodeName?this.e.content:this.e).childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)ue(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(me)}}function r(e){var t={};for(const n of e)t[n.name]=n.value;return t}const I=new Map;let T,D=0;function B(e,t,n,r,i,a,o,s=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*a(e);c+=100*e+`%{${o(r,1-r)}}
|
|
2
2
|
`}var d,u=c+`100% {${o(n,1-n)}}
|
|
3
|
-
}`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,m=E(e),{stylesheet:p,rules:h}=I.get(m)||(m=m,d={stylesheet:(d=e,h=pe("style"),d=E(d),p=h,de(d.head||d,p),p.sheet,h.sheet),rules:{}},I.set(m,d),d),m=(h[s]||(h[s]=!0,p.insertRule(`@keyframes ${s} `+u,p.cssRules.length)),e.style.animation||"");return e.style.animation=(m?m+", ":"")+s+` ${r}ms linear ${i}ms 1 both`,D+=1,s}function A(e){T=e}function Ie(){if(T)return T;throw new Error("Function called outside component initialization")}function rt(e){Ie().$$.on_mount.push(e)}const O=[],it=[];let W=[];const Y=[],V=Promise.resolve();let Z=!1;function q(){Z||(Z=!0,V.then(m))}function Ce(){return q(),V}function J(e){W.push(e)}const K=new Set;let X,Q=0;function m(){if(0===Q){const r=T;do{try{for(;Q<O.length;){const r=O[Q];Q++,A(r),e=t=void 0;var e,t=r.$$;null!==t.fragment&&(t.update(),H(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(J))}}catch(r){throw O.length=0,Q=0,r}for(A(null),O.length=0,Q=0;it.length;)it.pop()();for(let e=0;e<W.length;e+=1){var n=W[e];K.has(n)||(K.add(n),n())}}while(W.length=0,O.length);for(;Y.length;)Y.pop()();Z=!1,K.clear(),A(r)}}function ee(e,t,n){var r;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(r=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),r))}const te=new Set;let ne;function re(e,t){e&&e.i&&(te.delete(e),e.i(t))}function ie(e,t,n,r){e&&e.o?te.has(e)||(te.add(e),ne.c.push(()=>{te.delete(e),r&&(n&&e.d(1),r())}),e.o(t)):r&&r()}const ae={duration:0};function oe(l,e,t,n){const r={direction:"both"};let c=e(l,t,r),d=n?0:1,u=null,m=null,p=null;function h(){var e,t,n,r;p&&(e=l,t=p,n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-r.length)||(e.style.animation=r.join(", "),D-=n)||$(()=>{D||(I.forEach(e=>{e=e.stylesheet.ownerNode;e&&me(e)}),I.clear())}))}function g(e,t){var n=e.b-d;return t*=Math.abs(n),{a:d,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:n=300,easing:r=b,tick:i=N,css:a}=c||ae,o={start:x()+t,b:e};if(e||((o.group=ne).r+=1),u||m)m=o;else{a&&(h(),p=B(l,d,e,n,t,r,a)),e&&i(0,1),u=g(o,n),J(()=>ee(l,e,"start"));{var s=e=>{if(m&&e>m.start&&(u=g(m,n),m=null,ee(l,u.b,"start"),a)&&(h(),p=B(l,d,u.b,u.duration,0,r,c.css)),u)if(e>=u.end)i(d=u.b,1-d),ee(l,u.b,"end"),m||(u.b?h():--u.group.r||H(u.group.c)),u=null;else if(e>=u.start){const l=e-u.start;d=u.a+u.d*r(l/u.duration),i(d,1-d)}return!(!u&&!m)};let t;0===F.size&&$(M),new Promise(e=>{F.add(t={c:s,f:e})})}}}return{run(e){k(c)?(X||(X=Promise.resolve()).then(()=>{X=null}),X.then(()=>{c=c(r),i(e)})):i(e)},end(){h(),u=m=null}}}function se(e,t){e.d(1),t.delete(e.key)}function le(t,n,r,i,a,o,s,l,e,c,d,u){let m=t.length,p=o.length,h=m;for(var g={};h--;)g[t[h].key]=h;var f=[],y=new Map,v=new Map,b=[];for(h=p;h--;){const t=u(a,o,h),H=r(t);let e=s.get(H);e?i&&b.push(()=>e.p(t,n)):(e=c(H,t)).c(),y.set(H,f[h]=e),H in g&&v.set(H,Math.abs(h-g[H]))}var w=new Set,x=new Set;function $(e){re(e,1),e.m(l,d),s.set(e.key,e),d=e.first,p--}for(;m&&p;){const n=f[p-1],r=t[m-1],i=n.key,a=r.key;n===r?(d=n.first,m--,p--):y.has(a)?!s.has(i)||w.has(i)?$(n):x.has(a)?m--:v.get(i)>v.get(a)?(x.add(i),$(n)):(w.add(a),m--):(e(r,s),m--)}for(;m--;){const n=t[m];y.has(n.key)||e(n,s)}for(;p;)$(f[p-1]);return H(b),f}function i(r,e,t,n,i,a,o,s=[-1]){var l=T;A(r);const c=r.$$={fragment:null,ctx:[],props:a,update:N,not_equal:i,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:h(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d)&&(n=e,-1===(e=r).$$.dirty[0]&&(O.push(e),q(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),d=!0,H(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const r=Array.from(a.childNodes);c.fragment&&c.fragment.l(r),r.forEach(me)}else c.fragment&&c.fragment.c();e.intro&&re(r.$$.fragment);var u=r,s=e.target,o=e.anchor,t=e.customElement,{fragment:n,after_update:a}=u.$$;n&&n.m(s,o),t||J(()=>{var e=u.$$.on_mount.map(p).filter(k);u.$$.on_destroy?u.$$.on_destroy.push(...e):H(e),u.$$.on_mount=[]}),a.forEach(J),m()}A(l)}let t;"function"==typeof HTMLElement&&(t=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(p).filter(k);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){H(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const r=[],i=[];W.forEach(e=>(-1===n.indexOf(e)?r:i).push(e)),i.forEach(e=>e()),W=r}H(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=N}$on(e,t){if(!k(t))return N;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 ve,be,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},we="URLSearchParams"in l,xe="Symbol"in l&&"iterator"in Symbol,$e="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),Fe="FormData"in l,ke="ArrayBuffer"in l;function Se(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 Me(e){return e="string"!=typeof e?String(e):e}function Ee(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return xe&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Le(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(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 _e(e){var t=new FileReader,n=Ge(t);return t.readAsArrayBuffer(e),n}function Te(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Pe(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:$e&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Fe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:we&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ke&&$e&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Te(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ke&&(ArrayBuffer.prototype.isPrototypeOf(e)||be(e))?this._bodyArrayBuffer=Te(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):we&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},$e&&(this.blob=function(){var e=Le(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return Le(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if($e)return this.blob().then(_e);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r=Le(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=Ge(e),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?n[1]:"utf-8",e.readAsText(r,n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Fe&&(this.formData=function(){return this.text().then(Be)}),this.json=function(){return this.text().then(JSON.parse)},this}ke&&(ve=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],be=ArrayBuffer.isView||function(e){return e&&-1<ve.indexOf(Object.prototype.toString.call(e))}),d.prototype.append=function(e,t){e=Se(e),t=Me(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[Se(e)]},d.prototype.get=function(e){return e=Se(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(Se(e))},d.prototype.set=function(e,t){this.map[Se(e)]=Me(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Ee(n)},d.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ee(t)},d.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Ee(n)},xe&&(d.prototype[Symbol.iterator]=d.prototype.entries);var Re=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function De(e,t){if(!(this instanceof De))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 De){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(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 d(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Re.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Be(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Ae(e,t){if(!(this instanceof Ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}De.prototype.clone=function(){return new De(this,{body:this._bodyInit})},Pe.call(De.prototype),Pe.call(Ae.prototype),Ae.prototype.clone=function(){return new Ae(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},Ae.error=function(){var e=new Ae(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Ne=[301,302,303,307,308],Oe=(Ae.redirect=function(e,t){if(-1===Ne.indexOf(t))throw new RangeError("Invalid status code");return new Ae(null,{status:t,headers:{location:e}})},l.DOMException);try{new Oe}catch(s){(Oe=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Oe.prototype.constructor=Oe}function He(r,s){return new Promise(function(i,e){var a=new De(r,s);if(a.signal&&a.signal.aborted)return e(new Oe("Aborted","AbortError"));var n,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,r,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",r=new d,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{r.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),r)},n=(a.url.startsWith("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){i(new Ae(n,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new Oe("Aborted","AbortError"))},0)},o.open(a.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(a.url),!0),"include"===a.credentials?o.withCredentials=!0:"omit"===a.credentials&&(o.withCredentials=!1),"responseType"in o&&($e?o.responseType="blob":ke&&(o.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof d||l.Headers&&s.headers instanceof l.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(Se(e)),o.setRequestHeader(e,Me(s.headers[e]))}),a.headers.forEach(function(e,t){-1===n.indexOf(t)&&o.setRequestHeader(t,e)})):a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),a.signal&&(a.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&a.signal.removeEventListener("abort",t)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})}function _n(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}He.polyfill=!0,l.fetch||(l.fetch=He,l.Headers=d,l.Request=De,l.Response=Ae);var je=self.fetch.bind(self),ze=function(e,t){return(ze=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 Ue(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}ze(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function We(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 Ye(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function Ve(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Ze(e){return"function"==typeof e}function qe(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 Je=qe(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 Ke(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}et.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=We(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(Ze(a))try{a()}catch(e){i=e instanceof Je?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=We(a),c=l.next();!c.done;c=l.next()){var d=c.value;try{nt(d)}catch(e){i=null!=i?i:[],e instanceof Je?i=Ve(Ve([],Ye(i)),Ye(e.errors)):i.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(i)throw new Je(i)}},et.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)nt(e);else{if(e instanceof et){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},et.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},et.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},et.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ke(t,e)},et.prototype.remove=function(e){var t=this._finalizers;t&&Ke(t,e),e instanceof et&&e._removeParent(this)},et.EMPTY=((e=new et).closed=!0,e);var Xe=et,Qe=Xe.EMPTY;function et(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function tt(e){return e instanceof Xe||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function nt(e){Ze(e)?e():e.unsubscribe()}var ct=void 0,dt=!1,ut=!1,mt={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=mt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,Ve([e,t],Ye(n))):setTimeout.apply(void 0,Ve([e,t],Ye(n)))},clearTimeout:function(e){var t=mt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function pt(){}var ht=null;function gt(e){if(dt){var t=!ht;if(t&&(ht={errorThrown:!1,error:null}),e(),t){var t=ht,n=t.errorThrown,t=t.error;if(ht=null,n)throw t}}else e()}Ue(bt,ft=Xe),bt.create=function(e,t,n){return new Ft(e,t,n)},bt.prototype.next=function(e){this.isStopped||this._next(e)},bt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},bt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},bt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ft.prototype.unsubscribe.call(this),this.destination=null)},bt.prototype._next=function(e){this.destination.next(e)},bt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},bt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ft,yt=bt,vt=Function.prototype.bind;function bt(e){var t=ft.call(this)||this;return t.isStopped=!1,e?tt(t.destination=e)&&e.add(t):t.destination=Mt,t}function wt(e,t){return vt.call(e,t)}kt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){St(e)}},kt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){St(e)}else St(e)},kt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){St(e)}};var xt,$t=kt,Ft=(Ue(Ct,xt=yt),Ct);function Ct(e,t,n){var r=xt.call(this)||this,n=Ze(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&ut?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&wt(e.next,t),error:e.error&&wt(e.error,t),complete:e.complete&&wt(e.complete,t)}):e;return r.destination=new $t(n),r}function kt(e){this.partialObserver=e}function St(e){var t=e;mt.setTimeout(function(){throw t})}var Mt={closed:!0,next:pt,error:function(e){throw e},complete:pt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";Lt.prototype.lift=function(e){var t=new Lt;return t.source=this,t.operator=e,t},Lt.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof yt||r&&Ze(r.next)&&Ze(r.error)&&Ze(r.complete)&&tt(r)?e:new Ft(e,t,n);return gt(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},Lt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Lt.prototype.forEach=function(r,e){var i=this;return new(e=Gt(e))(function(e,t){var n=new Ft({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},Lt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Lt.prototype[e]=function(){return this},Lt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Lt.prototype.toPromise=function(e){var r=this;return new(e=Gt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Lt.create=function(e){return new Lt(e)};var Et=Lt;function Lt(e){e&&(this._subscribe=e)}function Gt(e){return null!=(e=null!=e?e:ct)?e:Promise}var _t,It,Tt,Pt=qe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Ue(Ot,Tt=Et),Ot.prototype.lift=function(e){var t=new Rt(this,this);return t.operator=e,t},Ot.prototype._throwIfClosed=function(){if(this.closed)throw new Pt},Ot.prototype.next=function(i){var a=this;gt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=We(a.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Ot.prototype.error=function(t){var n=this;gt(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)}})},Ot.prototype.complete=function(){var t=this;gt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Ot.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Ot.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Ot.prototype._trySubscribe=function(e){return this._throwIfClosed(),Tt.prototype._trySubscribe.call(this,e)},Ot.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Ot.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?Qe:(this.currentObservers=null,i.push(e),new Xe(function(){t.currentObservers=null,Ke(i,e)}))},Ot.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Ot.prototype.asObservable=function(){var e=new Et;return e.source=this,e},Ot.create=function(e,t){return new Rt(e,t)},Ot),Rt=(Ue(Nt,It=e),Nt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Nt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Nt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Nt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Qe},Nt),Dt={now:function(){return(Dt.delegate||Date).now()},delegate:void 0},Bt=(Ue(At,_t=e),At.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i)||r.push(a.now()+t),this._trimBuffer(),_t.prototype.next.call(this,e)},At.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},At.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},At);function At(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Dt);var r=_t.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 Nt(e,t){var n=It.call(this)||this;return n.destination=e,n.source=t,n}function Ot(){var e=Tt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ht=[],jt={};const zt=[];function Ut(r,i=N){let a;const o=new Set;function s(e){if(n(r,e)&&(r=e,a)){const e=!zt.length;for(const e of o)e[1](),zt.push(e,r);if(e){for(let e=0;e<zt.length;e+=2)zt[e][0](zt[e+1]);zt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=N){const n=[e,t];return o.add(n),1===o.size&&(a=i(s)||N),e(r),()=>{o.delete(n),0===o.size&&a&&(a(),a=null)}}}}function Wt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:Ut(t,t=>{let n=!1;const r=[];let i=0,a=N;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),d?t(e):a=k(e)?e:N)},e=c.map((e,t)=>w(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){H(e),a(),n=!1}}).subscribe}}function Yt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Vt);var t}var Vt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Zt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Qt(Array.isArray(e)?[]:{},e,t):e}function qt(e,t,n){return e.concat(t).map(function(e){return Zt(e,n)})}function Jt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Kt(e,t){try{return t in e}catch(e){return!1}}function Xt(r,i,a){var o={};return a.isMergeableObject(r)&&Jt(r).forEach(function(e){o[e]=Zt(r[e],a)}),Jt(i).forEach(function(e){var t,n;(!Kt(t=r,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Kt(r,e)&&a.isMergeableObject(i[e])?o[e]=((t=a).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Qt)(r[e],i[e],a):o[e]=Zt(i[e],a))}),o}function Qt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||qt,n.isMergeableObject=n.isMergeableObject||Yt,n.cloneUnlessOtherwiseSpecified=Zt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Xt(e,t,n):Zt(t,n)}Qt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Qt(e,t,n)},{});throw new Error("first argument should be an array")};var en=Qt,tn=function(e,t){return(tn=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 nn(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}tn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,rn,f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function an(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function on(e){return e.type===y.literal}function sn(e){return e.type===y.number}function ln(e){return e.type===y.date}function cn(e){return e.type===y.time}function dn(e){return e.type===y.select}function un(e){return e.type===y.plural}function mn(e){return e.type===y.tag}function pn(e){return e&&"object"==typeof e&&e.type===rn.number}function hn(e){return e&&"object"==typeof e&&e.type===rn.dateTime}(e=g=g||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=rn=rn||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,gn=/(?:[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 fn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,yn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,vn=/^(@+)?(\+|#+)?[rs]?$/g,bn=/(\*)(0+)|(#+)(0+)|(0+)/g,wn=/^(0+)$/;function xn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(vn,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 $n(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 Fn(e){return $n(e)||{}}function Cn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=f(f(f({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return f(f({},e),Fn(t))},{}));continue;case"engineering":o=f(f(f({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return f(f({},e),Fn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(bn,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(wn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(yn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(yn,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=i.options[0];"w"===a?o=f(f({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=f(f({},o),xn(a)))}else vn.test(i.stem)?o=f(f({},o),xn(i.stem)):((a=$n(i.stem))&&(o=f(f({},o),a)),(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)),!wn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=f(f({},o),r)))}return o}var kn={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Sn=new RegExp("^".concat(e.source,"*")),Mn=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,En=!!String.fromCodePoint,Ln=!!Object.fromEntries,Gn=!!String.prototype.codePointAt,In=!!String.prototype.trimStart,Tn=!!String.prototype.trimEnd,Pn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Rn=!0;try{Rn="a"===(null==(nr=Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:nr[0])}catch(s){Rn=!1}var Dn,Bn,An=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Nn=En?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},On=Ln?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},Hn=Gn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},jn=In?function(e){return e.trimStart()}:function(e){return e.replace(Sn,"")},zn=Tn?function(e){return e.trimEnd()}:function(e){return e.replace(Mn,"")};function Un(e,t){return new RegExp(e,t)}Bn=Rn?(Dn=Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Dn.lastIndex=t,null!=(t=Dn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=Hn(e,t);if(void 0===i||Vn(i)||33<=(n=i)&&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(i),t+=65536<=i?2:1}return Nn.apply(void 0,r)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Yn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}else{a=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(a,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var n,r=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(i,"/>"),location:v(r,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Yn(this.char())?this.error(g.INVALID_TAG,v(e,this.clonePosition())):(n=this.clonePosition(),i!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,v(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:v(r,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,v(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,v(r,this.clonePosition()))):this.error(g.INVALID_TAG,v(r,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Yn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var 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 Nn.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Nn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,v(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Bn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(m=zn(u.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(r)).err?c:(p=v(r,this.clonePosition()),l&&An(null==l?void 0:l.style,"::",0)?(h=jn(l.style.slice(2)),"number"===o?(u=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?u:{val:{type:y.number,value:n,location:p,style:u.val},err:null}:0===h.length?this.error(g.EXPECT_DATE_TIME_SKELETON,p):(d=h,this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(kn[t||""]||kn[n||""]||kn["".concat(n,"-001")]||kn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale)),m={type:rn.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},d.replace(gn,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.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":i.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":i.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":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.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":i.minute=["numeric","2-digit"][t-1];break;case"s":i.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":i.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""}),i):{}},{val:{type:"date"===o?y.date:y.time,value:n,location:p,style:m},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:p,style:null!=(h=null==l?void 0:l.style)?h:null},err:null});case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,v(d,f({},d)));this.bumpSpace();var u,m=this.parseIdentifierIfPossible(),p=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),m=this.parseIdentifierIfPossible(),p=u.val}var h,l=this.tryParsePluralOrSelectOptions(e,o,t,m);return l.err?l:(c=this.tryParseArgumentClose(r)).err?c:(h=v(r,this.clonePosition()),"select"===o?{val:{type:y.select,value:n,options:On(l.val),location:h},err:null}:{val:{type:y.plural,value:n,options:On(l.val),offset:p,pluralType:"plural"===o?"cardinal":"ordinal",location:h},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,v(a,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(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}},a.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(fn).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:rn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Cn(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;a.push([s,{value:c.val,location:v(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(g.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=v(r,this.clonePosition());return i?Pn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Hn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},a.prototype.bumpIf=function(e){if(An(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Vn(this.char());)this.bump()},a.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Wn=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Yn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Vn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Zn(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Wn(e,t).parse();if(e.err)throw(n=SyntaxError(g[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,dn(e)||un(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else sn(e)&&pn(e.style)||(ln(e)||cn(e))&&hn(e.style)?delete e.style.location:mn(e)&&n(e.children)})}(e.val),e.val}function qn(e,t){var n=t&&t.cache?t.cache:rr,r=t&&t.serializer?t.serializer:Qn;return(t&&t.strategy?t.strategy:function(e,t){return Xn(e,this,1===e.length?Jn:Kn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Jn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function Kn(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function Xn(e,t,n,r,i){return n.bind(t,e,r,i)}var Qn=function(){return JSON.stringify(arguments)};function er(){this.cache=Object.create(null)}er.prototype.get=function(e){return this.cache[e]},er.prototype.set=function(e,t){this.cache[e]=t};var tr,nr,rr={create:function(){return new er}},ir={variadic:function(e,t){return Xn(e,this,Kn,t.cache.create(),t.serializer)},monadic:function(e,t){return Xn(e,this,Jn,t.cache.create(),t.serializer)}};(nr=tr=tr||{}).MISSING_VALUE="MISSING_VALUE",nr.INVALID_VALUE="INVALID_VALUE",nr.MISSING_INTL_API="MISSING_INTL_API";nn(yr,cr=Error),yr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ar,or,sr,lr,cr,dr=yr,ur=(nn(fr,lr=dr),fr),mr=(nn(gr,sr=dr),gr),pr=(nn(hr,or=dr),hr);function hr(e,t){return or.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),tr.MISSING_VALUE,t)||this}function gr(e,t,n){return sr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),tr.INVALID_VALUE,n)||this}function fr(e,t,n,r){return lr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),tr.INVALID_VALUE,r)||this}function yr(e,t,n){e=cr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function vr(e,t,n,r,i,a,o){if(1===e.length&&on(e[0]))return[{type:ar.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(on(d))s.push({type:ar.literal,value:d.value});else if(d.type===y.pound)"number"==typeof a&&s.push({type:ar.literal,value:n.getNumberFormat(t).format(a)});else{var u=d.value;if(!(i&&u in i))throw new pr(u,o);u=i[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?ar.literal:ar.object,value:u});else if(ln(d)){var m="string"==typeof d.style?r.date[d.style]:hn(d.style)?d.style.parsedOptions:void 0;s.push({type:ar.literal,value:n.getDateTimeFormat(t,m).format(u)})}else if(cn(d))m="string"==typeof d.style?r.time[d.style]:hn(d.style)?d.style.parsedOptions:r.time.medium,s.push({type:ar.literal,value:n.getDateTimeFormat(t,m).format(u)});else if(sn(d))(m="string"==typeof d.style?r.number[d.style]:pn(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),s.push({type:ar.literal,value:n.getNumberFormat(t,m).format(u)});else{if(mn(d)){var p=d.children,h=d.value,g=i[h];if("function"!=typeof g)throw new mr(h,"function",o);h=g(vr(p,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(e){return{type:"string"==typeof e?ar.literal:ar.object,value:e}}))}if(dn(d)){if(!(f=d.options[u]||d.options.other))throw new ur(d.value,u,Object.keys(d.options),o);s.push.apply(s,vr(f.value,t,n,r,i))}else if(un(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new dr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',tr.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[g]||d.options.other}if(!f)throw new ur(d.value,u,Object.keys(d.options),o);s.push.apply(s,vr(f.value,t,n,r,i,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===ar.literal&&t.type===ar.literal?n.value+=t.value:e.push(t),e},[])}function br(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=ar=ar||{})[e.literal=0]="literal",e[e.object=1]="object";Object.defineProperty(xr,"defaultLocale",{get:function(){return xr.memoizedDefaultLocale||(xr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),xr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),xr.memoizedDefaultLocale=null,xr.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},xr.__parse=Zn,xr.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var wr=xr;function xr(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=xr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===ar.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return vr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=xr.resolveLocale(t),"string"==typeof e){if(this.message=e,!xr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=xr.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=xr.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?f(f(f({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),r[t]||{}),e},{})):n),e},f({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,an([void 0],t,!1)))},{cache:br((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:ir.variadic}),getDateTimeFormat:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,an([void 0],t,!1)))},{cache:br(t.dateTime),strategy:ir.variadic}),getPluralRules:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,an([void 0],t,!1)))},{cache:br(t.pluralRules),strategy:ir.variadic})}}const $r={},Fr=(e,t,n)=>n&&(t in $r||($r[t]={}),e in $r[t]||($r[t][e]=n),n),Cr=(t,n)=>{if(null!=n){if(n in $r&&t in $r[n])return $r[n][t];var r=zr(n);for(let e=0;e<r.length;e++){var i=function(e,t){if(!Mr(e))return null;e=function(e){return kr[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var r=n.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const n=r.slice(e,r.length).join(".");if(n in t){t=t[n];break}}t=t[r[e]]}else t=void 0;return t}}}(r[e],t);if(i)return Fr(t,n,i)}}};let kr;const Sr=Ut({});function Mr(e){return e in kr}function o(t,...n){delete $r[t],Sr.update(e=>(e[t]=en.all([e[t]||{},...n]),e))}Wt([Sr],([e])=>Object.keys(e)),Sr.subscribe(e=>kr=e);const Er={};function Lr(e){return Er[e]}function Gr(e){return null!=e&&zr(e).some(e=>{return null==(e=Lr(e))?void 0:e.size})}function _r(r,e){return Promise.all(e.map(e=>{return t=r,n=e,Er[t].delete(n),0===Er[t].size&&delete Er[t],e().then(e=>e.default||e);var t,n})).then(e=>o(r,...e))}const Ir={};const Tr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Pr=Ut(!1);var Rr=Object.defineProperty,En=Object.defineProperties,Ln=Object.getOwnPropertyDescriptors,Dr=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable,Nr=(e,t,n)=>t in e?Rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Or;const Hr=Ut(null);function jr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function zr(e,t=Tr.fallbackLocale){e=jr(e);return t?[...new Set([...e,...jr(t)])]:e}function Ur(){return null!=Or?Or:void 0}Hr.subscribe(e=>{Or=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const at=En(((e,t)=>{for(var n in t=t||{})Br.call(t,n)&&Nr(e,n,t[n]);if(Dr)for(var n of Dr(t))Ar.call(t,n)&&Nr(e,n,t[n]);return e})({},Hr),Ln({set:t=>{if(t&&function(e){if(null!=e){var t=zr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Mr(n))return n}}}(t)&&Gr(t)){var n=Tr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ur()&&n?e=window.setTimeout(()=>Pr.set(!0),n):Pr.set(!0),function e(t){var n;return Gr(t)?(n=zr(t).map(e=>{var t=Lr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Ir[t]=Promise.all(n.map(([e,t])=>_r(e,t))).then(()=>{if(Gr(t))return e(t);delete Ir[t]}),Ir[t]):t in Ir?Ir[t]:Promise.resolve()}(t).then(()=>{Hr.set(t)}).finally(()=>{clearTimeout(e),Pr.set(!1)})}return Hr.set(t)}}));var Gn=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Wr=Object.defineProperty,Yr=Object.getOwnPropertySymbols,Vr=Object.prototype.hasOwnProperty,Zr=Object.prototype.propertyIsEnumerable,qr=(e,t,n)=>t in e?Wr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jr=(e,t)=>{for(var n in t=t||{})Vr.call(t,n)&&qr(e,n,t[n]);if(Yr)for(var n of Yr(t))Zr.call(t,n)&&qr(e,n,t[n]);return e},Kr=(e,t)=>{var n={};for(r in e)Vr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Yr)for(var r of Yr(e))t.indexOf(r)<0&&Zr.call(e,r)&&(n[r]=e[r]);return n};const Xr=(e,t)=>{var n=Tr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Qr=Gn(e=>{var{locale:t,format:n}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Xr("number",n)),new Intl.NumberFormat(t,e)}),ei=Gn(e=>{var{locale:t,format:n}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Xr("date",n):0===Object.keys(e).length&&(e=Xr("date","short")),new Intl.DateTimeFormat(t,e)}),ti=Gn(e=>{var{locale:t,format:n}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Xr("time",n):0===Object.keys(e).length&&(e=Xr("time","short")),new Intl.DateTimeFormat(t,e)}),ni=Gn((e,t=Ur())=>new wr(e,t,Tr.formats,{ignoreTag:Tr.ignoreTag})),ri=Wt([at,Sr],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:a,locale:o=Ur(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Cr(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=Tr).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!a)return l;let c=l;try{c=ni(l,o).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),ot=(Wt([at],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Kr(e,["locale"]);return ti(Jr({locale:t},e))})(t).format(e)),Wt([at],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Kr(e,["locale"]);return ei(Jr({locale:t},e))})(t).format(e)),Wt([at],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Kr(e,["locale"]);return Qr(Jr({locale:t},e))})(t).format(e)),Wt([at,Sr],()=>(e,t=Ur())=>Cr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ht.indexOf(e)&&(t=new Bt(t),jt[e]=t,Ht.push(e)),jt[e]}},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),st=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function ii(r,i){return new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",i),je(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function ai(e){at.set(e)}function oi(e,t){o(e,t)}const si={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobby",myGamesName:"My games"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Lobby",myGamesName:"My games"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"}};function li(e,t){o(e,t)}const ci={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"prijava",register:"registracija",deposit:"uplata"}};function di(e,t,n){e=e.slice();return e[47]=t[n],e[49]=n,e}function ui(e,t,n){e=e.slice();return e[50]=t[n],e}function mi(e,t,n){e=e.slice();return e[53]=t[n],e[55]=n,e}function pi(t){let r,i=[],n=new Map,a=t[9];const o=e=>e[47].id;for(let e=0;e<a.length;e+=1){var s=di(t,a,e),l=o(s);n.set(l,i[e]=xi(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,r,n)},p(e,t){12237&t[0]&&(a=e[9],i=le(i,t,o,1,e,a,n,r.parentNode,se,xi,r,di))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&me(r)}}}function hi(e){let n,r,i=e[47].name+"";return{c(){n=pe("a"),r=he(i),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[0]&&i!==(i=e[47].name+"")&&ye(r,i)},d(e){e&&me(n)}}}function gi(e){let n,r,i=e[47].label+"";return{c(){n=pe("a"),r=he(i),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[0]&&i!==(i=e[47].label+"")&&ye(r,i)},d(e){e&&me(n)}}}function fi(e){let n,r=0<e[10].length&&"true"==e[3]&&yi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){0<e[10].length&&"true"==e[3]?r?r.p(e,t):((r=yi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function yi(t){let i,a=t[10],o=[];for(let e=0;e<a.length;e+=1)o[e]=wi(ui(t,a,e));return{c(){i=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class","DropDown")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(i,null)},p(t,n){if(10176&n[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){var r=ui(t,a,e);o[e]?o[e].p(r,n):(o[e]=wi(r),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&me(i),j(o,e)}}}function vi(n){let r,i,a,o,s,l,c,d=n[53]?.name+"";function u(...e){return n[29](n[47],n[49],n[53],n[55],...e)}return{c(){r=pe("li"),i=pe("a"),a=he(d),s=ge(),fe(i,"class",o="SubDropDown "+(n[49]!=n[6]||n[7]!=n[55]&&n[8]!=n[55]?"":"active"))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,s),l||(c=U(r,"click",u),l=!0)},p(e,t){n=e,1024&t[0]&&d!==(d=n[53]?.name+"")&&ye(a,d),1984&t[0]&&o!==(o="SubDropDown "+(n[49]!=n[6]||n[7]!=n[55]&&n[8]!=n[55]?"":"active"))&&fe(i,"class",o)},d(e){e&&me(r),l=!1,c()}}}function bi(e,n){let r,i,a=n[49]==n[50].index&&vi(n);return{key:e,first:null,c(){r=c(),a&&a.c(),i=c(),this.first=r},m(e,t){ue(e,r,t),a&&a.m(e,t),ue(e,i,t)},p(e,t){(n=e)[49]==n[50].index?a?a.p(n,t):((a=vi(n)).c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(e){e&&me(r),a&&a.d(e),e&&me(i)}}}function wi(t){let r,i=[],n=new Map,a=t[50].items;const o=e=>e[53].id;for(let e=0;e<a.length;e+=1){var s=mi(t,a,e),l=o(s);n.set(l,i[e]=bi(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,r,n)},p(e,t){10176&t[0]&&(a=e[50].items,i=le(i,t,o,1,e,a,n,r.parentNode,se,bi,r,mi))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&me(r)}}}function xi(e,n){let r,i,a,o,s,l;function c(e){return"headerMain"===e[0]?gi:hi}let d=c(n),u=d(n),m=1==n[11][n[49]]&&fi(n);function p(...e){return n[30](n[47],n[49],...e)}return{key:e,first:null,c(){r=pe("li"),u.c(),i=ge(),m&&m.c(),a=ge(),fe(r,"class",o="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[47].id.split("$").pop()?"active":"":n[2]==n[47].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),fe(r,"part","CarouselItem"),this.first=r},m(e,t){ue(e,r,t),u.m(r,null),de(r,i),m&&m.m(r,null),de(r,a),s||(l=U(r,"click",p),s=!0)},p(e,t){d===(d=c(n=e))&&u?u.p(n,t):(u.d(1),(u=d(n))&&(u.c(),u.m(r,i))),1==n[11][n[49]]?m?m.p(n,t):((m=fi(n)).c(),m.m(r,a)):m&&(m.d(1),m=null),517&t[0]&&o!==(o="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[47].id.split("$").pop()?"active":"":n[2]==n[47].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&fe(r,"class",o)},d(e){e&&me(r),u.d(),m&&m.d(),s=!1,l()}}}function $i(n){let r,i,a,o,s,l,c,d,u,m,p,h,g,f,y,v=0<n[9].length&&pi(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("div")).innerHTML='<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=ge(),s=pe("div"),l=pe("ul"),(c=pe("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',d=ge(),v&&v.c(),u=ge(),(m=pe("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',this.c=N,fe(a,"class","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(m,"class","CarouselRightArrow"),fe(i,"class",p="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(i,"style",h="headerMain"===n[0]?"max-width: auto":`max-width: ${n[1]}px`),fe(r,"class",g="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),de(s,l),de(l,c),de(l,d),v&&v.m(l,null),n[31](l),n[32](s),de(i,u),de(i,m),n[34](r),f||(y=[U(a,"click",n[28]),U(m,"click",n[33])],f=!0)},p(e,t){0<e[9].length?v?v.p(e,t):((v=pi(e)).c(),v.m(l,null)):v&&(v.d(1),v=null),1&t[0]&&p!==(p="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(i,"class",p),3&t[0]&&h!==(h="headerMain"===e[0]?"max-width: auto":`max-width: ${e[1]}px`)&&fe(i,"style",h),1&t[0]&&g!==(g="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(r,"class",g)},i:N,o:N,d(e){e&&me(r),v&&v.d(),n[31](null),n[32](null),n[34](null),f=!1,H(y)}}}function Fi(t,e,a){let{endpoint:o=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:r="0"}=e,{location:c=""}=e,{clientstyling:i=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{translationurl:m=""}=e,{containermaxwidth:p=""}=e,{isprimarymenu:h=!1}=e,{issecondarymenu:g=!1}=e,{lang:f=""}=e,{activeindex:y="0"}=e,{showsubgroups:v="false"}=e;var b,w;({withLocale:b,translations:w}={withLocale:"en",translations:{}}),at.subscribe(e=>{null==e&&(Sr.set(w),at.set(b))}),Object.keys(ci).forEach(e=>{li(e,ci[e])});let x,$,F,C,k,S=window.navigator.userAgent;st(S);let M,E=[],L=[],G=[],_=(e,t,n,r,i)=>{e.subGroups&&null===r||(R(),a(6,$=t),a(6,$),"secondary"!=i?(window.postMessage({type:l,itemId:e.id,index:t,item:e,externalLink:e.externalLink||!1,target:(null==(i=e.attrs)?void 0:i.target)||null},window.location.href),a(7,F=null),a(8,C=null)):(a(7,F=r),a(7,F),a(8,C=F),window.postMessage({type:l,itemId:n.id,subIndex:r,subItem:n},window.location.href)))},I=()=>{M.scrollBy({left:-250,behavior:"smooth"})},T=()=>{M.scrollBy({left:250,behavior:"smooth"})};const P=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(a(9,E=e.data.data),a(11,G=new Array(E.length).fill(!1)),"true"==v)&&E.forEach((e,t)=>{var r,i,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(a(11,G[t]=!0,G),r=e,i=t,"secondaryMenu"==c&&o&&s&&f&&r.id&&(n=new URL(`${o}/casino/groups/${s}/${r.id}/subGroups?language=`+f),fetch(n.href).then(e=>e.json()).then(e=>{e.index=i,a(10,L=L.concat(e)),"false"==v&&window.postMessage({type:l,itemId:r.id,index:i,item:r},window.location.href);const n=[];L.map(e=>(e.items.forEach(t=>{n.find(e=>t.id==e)||n.push(t.id)}),n.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:n},window.location.href)}).then(()=>{x.querySelectorAll(".DropDown")&&R()})),"headerMain"==c)&&window.postMessage({type:l,item:r},window.location.href)}),"GoToHomepage"==e.data.type&&E.forEach((e,t)=>{e.path.endsWith("/casino")&&(a(6,$=t),a(6,$))})},R=()=>{var t=x.querySelectorAll(".DropDown");document.activeElement.blur(),M.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+M.scrollLeft+"px)";M.classList.remove("isScrolling")};return rt(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",P,!1),setTimeout(()=>{M.addEventListener("scroll",R)},500),()=>{window.removeEventListener("message",P),x.removeEventListener("scroll",R)})),t.$$set=e=>{"endpoint"in e&&a(16,o=e.endpoint),"datasource"in e&&a(17,s=e.datasource),"onclickeventname"in e&&a(18,n=e.onclickeventname),"actionevent"in e&&a(19,l=e.actionevent),"favoritesnumber"in e&&a(20,r=e.favoritesnumber),"location"in e&&a(0,c=e.location),"clientstyling"in e&&a(21,i=e.clientstyling),"clientstylingurl"in e&&a(22,d=e.clientstylingurl),"identity"in e&&a(23,u=e.identity),"translationurl"in e&&a(24,m=e.translationurl),"containermaxwidth"in e&&a(1,p=e.containermaxwidth),"isprimarymenu"in e&&a(25,h=e.isprimarymenu),"issecondarymenu"in e&&a(26,g=e.issecondarymenu),"lang"in e&&a(27,f=e.lang),"activeindex"in e&&a(2,y=e.activeindex),"showsubgroups"in e&&a(3,v=e.showsubgroups)},t.$$.update=()=>{if(t.$$.dirty[0],16777216&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{li(e,t[e])})}).catch(e=>{console.log(e)}),2097168&t.$$.dirty[0]&&i&&k&&((e=document.createElement("style")).innerHTML=i,k.appendChild(e)),4194320&t.$$.dirty[0]&&d&&k){let t=document.createElement("style"),e=new URL(d);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{k.appendChild(t)},1)})}var e;134217728&t.$$.dirty[0]&&f&&(e=f,at.set(e))},[c,p,y,v,k,x,$,F,C,E,L,G,M,_,I,T,o,s,n,l,r,i,d,u,m,h,g,f,()=>I(),(e,t,n,r,i)=>{_(e,t,n,r,"secondary"),i.stopPropagation()},(e,t,n)=>{_(e,t,null,null,"main"),n.preventDefault()},function(e){it[e?"unshift":"push"](()=>{x=e,a(5,x)})},function(e){it[e?"unshift":"push"](()=>{M=e,a(12,M)})},()=>T(),function(e){it[e?"unshift":"push"](()=>{k=e,a(4,k)})}]}function Ci(n){let r,i,a,o;return{c(){r=pe("div"),C(i=pe("casino-slider"),"lang",n[3]),C(i,"datasource",n[2]),C(i,"endpoint",n[1]),C(i,"identity",Ei),C(i,"favoritesnumber",n[13]),C(i,"showsubgroups",n[9]),C(i,"clientstyling",n[4]),C(i,"clientstylingurl",n[5]),C(i,"containermaxwidth",n[6]),C(i,"activeindex",n[0]),C(i,"actionevent",n[7]),C(i,"location",n[8]),fe(r,"class","CasinoCategoriesContainer"),fe(r,"part","CasinoCategoriesContainer")},m(e,t){ue(e,r,t),de(r,i),a||(o=S(n[14].call(null,i)),a=!0)},p(e,t){8&t[0]&&C(i,"lang",e[3]),4&t[0]&&C(i,"datasource",e[2]),2&t[0]&&C(i,"endpoint",e[1]),8192&t[0]&&C(i,"favoritesnumber",e[13]),512&t[0]&&C(i,"showsubgroups",e[9]),16&t[0]&&C(i,"clientstyling",e[4]),32&t[0]&&C(i,"clientstylingurl",e[5]),64&t[0]&&C(i,"containermaxwidth",e[6]),1&t[0]&&C(i,"activeindex",e[0]),128&t[0]&&C(i,"actionevent",e[7]),256&t[0]&&C(i,"location",e[8])},d(e){e&&me(r),a=!1,o()}}}function ki(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Si(e){let n;return{c(){fe(n=pe("div"),"class","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Mi(n){let r;function i(e){return e[10]?Si:e[12]?ki:Ci}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=N},m(e,t){ue(e,r,t),o.m(r,null),n[24](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o.d(),n[24](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;padding:7px 10px;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Fi,$i,n,{endpoint:16,datasource:17,onclickeventname:18,actionevent:19,favoritesnumber:20,location:0,clientstyling:21,clientstylingurl:22,identity:23,translationurl:24,containermaxwidth:1,isprimarymenu:25,issecondarymenu:26,lang:27,activeindex:2,showsubgroups:3},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups"]}get endpoint(){return this.$$.ctx[16]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[17]}set datasource(e){this.$$set({datasource:e}),m()}get onclickeventname(){return this.$$.ctx[18]}set onclickeventname(e){this.$$set({onclickeventname:e}),m()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),m()}get favoritesnumber(){return this.$$.ctx[20]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),m()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),m()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get identity(){return this.$$.ctx[23]}set identity(e){this.$$set({identity:e}),m()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),m()}get containermaxwidth(){return this.$$.ctx[1]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),m()}get isprimarymenu(){return this.$$.ctx[25]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),m()}get issecondarymenu(){return this.$$.ctx[26]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),m()}get lang(){return this.$$.ctx[27]}set lang(e){this.$$set({lang:e}),m()}get activeindex(){return this.$$.ctx[2]}set activeindex(e){this.$$set({activeindex:e}),m()}get showsubgroups(){return this.$$.ctx[3]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}});let Ei="CasinoSliderData";function Li(n,e,i){let r;lt(n,ri,e=>i(30,r=e));let a,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{userid:t=""}=e,{session:m=""}=e,{mostplayed:p=""}=e,{lastplayed:h="false"}=e,{favorites:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{containermaxwidth:v=""}=e,{activecategory:b=""}=e,{actionevent:w=""}=e,{sessioncheck:x=""}=e,{location:$="secondaryMenu"}=e,{showsubgroups:F="false"}=e,{filteredcategories:C=""}=e,{translationurl:k=""}=e,S=!0,M=[],E=!1,L=window.navigator.userAgent,G=!1,_=!1;Object.keys(si).forEach(e=>{oi(e,si[e])});const I=()=>{window.postMessage({type:"SliderData",identity:Ei,data:M},window.location.href)};return n.$$set=e=>{"endpoint"in e&&i(1,c=e.endpoint),"datasource"in e&&i(2,d=e.datasource),"lang"in e&&i(3,u=e.lang),"userid"in e&&i(15,t=e.userid),"session"in e&&i(16,m=e.session),"mostplayed"in e&&i(17,p=e.mostplayed),"lastplayed"in e&&i(18,h=e.lastplayed),"favorites"in e&&i(19,g=e.favorites),"clientstyling"in e&&i(4,f=e.clientstyling),"clientstylingurl"in e&&i(5,y=e.clientstylingurl),"containermaxwidth"in e&&i(6,v=e.containermaxwidth),"activecategory"in e&&i(0,b=e.activecategory),"actionevent"in e&&i(7,w=e.actionevent),"sessioncheck"in e&&i(20,x=e.sessioncheck),"location"in e&&i(8,$=e.location),"showsubgroups"in e&&i(9,F=e.showsubgroups),"filteredcategories"in e&&i(21,C=e.filteredcategories),"translationurl"in e&&i(22,k=e.translationurl)},n.$$.update=()=>{if(14&n.$$.dirty[0]&&c&&d&&u&&(a=r("myGamesName"),o=r("lobbyName"),c||(s="Endpoint is missing! Please provide a valid endpointURL.",i(12,E=!0),i(10,S=!1),console.error(s)),d||(s="Datasource is missing! Please provide a valid datasource.",i(12,E=!0),i(10,S=!1),console.error(s)),(!u||u.length<2)&&(s="Language is missing! Please provide a valid language (alpha2code)",i(12,E=!0),i(10,S=!1),console.error(s)),E||((t=new URL(c+"/casino/groups/"+d)).searchParams.append("datasource",d),t.searchParams.append("language",u),t.searchParams.append("platform",st(L)),fetch(t).then(e=>e.json()).then(e=>{let r=C.split(","),t=e.items.filter(e=>{let t=!1;if(0<e.games.total&&(t=!0,C))for(var n of r)e.flags==n&&(t=!1);return t});(M=(M=[]).concat(t)).unshift({id:"LOBBY",name:o,href:"",games:[]}),i(10,S=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{i(12,E=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{i(12,E=!0),console.error("There was an error while fetching the categories",e)}))),984066&n.$$.dirty[0]&&c&&m&&(p||h||g)&&!S&&(0!=G||"true"!=g&&"true"!=p&&"true"!=h||M.splice(1,0,{id:"MYGAMES",name:a,href:"",games:[]}),Ce(),G=!0,i(23,_=!0),I()),8455169&n.$$.dirty[0]&&!S&&b&&(!m||_)&&(t=b.split("$"),i(0,b=2<t.length?b.split("$").slice(0,2).join("$"):b)),2064&n.$$.dirty[0]&&f&&l&&((e=document.createElement("style")).innerHTML=f,l.appendChild(e)),4194304&n.$$.dirty[0]&&k&&fetch(k).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{oi(e,t[e])})}).catch(e=>{console.log(e)}),2080&n.$$.dirty[0]&&y&&l){let t=document.createElement("style"),e=new URL(y);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})}var e,t},i(13,0),[b,c,d,u,f,y,v,w,$,F,S,l,E,0,I,t,m,p,h,g,x,C,k,_,function(e){it[e?"unshift":"push"](()=>{l=e,i(11,l)})}]}function Gi(e,t){o(e,t)}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoCategoriesLoading{height:52px}p{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Li,Mi,n,{endpoint:1,datasource:2,lang:3,userid:15,session:16,mostplayed:17,lastplayed:18,favorites:19,clientstyling:4,clientstylingurl:5,containermaxwidth:6,activecategory:0,actionevent:7,sessioncheck:20,location:8,showsubgroups:9,filteredcategories:21,translationurl:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","lastplayed","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories","translationurl"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get userid(){return this.$$.ctx[15]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[16]}set session(e){this.$$set({session:e}),m()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get favorites(){return this.$$.ctx[19]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get containermaxwidth(){return this.$$.ctx[6]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),m()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),m()}get actionevent(){return this.$$.ctx[7]}set actionevent(e){this.$$set({actionevent:e}),m()}get sessioncheck(){return this.$$.ctx[20]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get location(){return this.$$.ctx[8]}set location(e){this.$$set({location:e}),m()}get showsubgroups(){return this.$$.ctx[9]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get filteredcategories(){return this.$$.ctx[21]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get translationurl(){return this.$$.ctx[22]}set translationurl(e){this.$$set({translationurl:e}),m()}});const _i={en:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"},"zh-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"},de:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"},it:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"},fr:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"},es:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Borrar",noGamesPlayed:"No has jugado ningún juego! Juega Ya"},tr:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"},ru:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"},ro:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"},hr:{500:"pogreška na serveru",search:"traži",loading:"Učitavanje",searchMobile:"traži",break:"Take 1 day break from playing",breakButton:"Držite gumb na 3 sekunde za 24-satno zaključavanje",searchGames:"pretraži igrice",filters:"Filteri",clear:"Očisti",noGamesPlayed:"Nema odigranih igara"},hu:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"},pl:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"},pt:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"},sl:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"},sr:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}};function Ii(e,t){o(e,t)}const Ti={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"},tr:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"},hr:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Rezultat pretraživanja",recentSearchedItems:"Nedavno Pretraženo",noRecentSearch:"Još nema započetih pretraživanja. Jednostavno pretražite igru",noResults:"Oprostite, nema rezultata. Molimo pokušajte ponovo",favorites:"Favoriti",noFavoritesMobile:"Stisnite na ikonu zvjezdice u gornjem desnom kutu kako bi je dodali u favorite",noFavorites:"Stisnite na ikonu zvjezdice u gornjem desnom kutu kako bi je dodali u favorite",noFavoritesTitle:"Nemate favoriziranih igara",waiting:"Čekanje"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}};Ri=Pi={path:void 0,exports:{},require:function(e,t){return _n(null==t&&Pi.path)}},Pi.exports,Ri.exports=function(){var D;function h(){return D.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function B(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function A(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function s(e){return void 0===e}function N(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function O(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return _t(e,t,n,r,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function z(e){if(null==e._isValid){var t=f(e),n=W.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function U(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},Y=h.momentProperties=[],V=!1;function Z(e,t){var n,r,i,a=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(i=t[r=Y[n]])||(e[r]=i);return e}function q(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,h.updateOffset(this),V=!1)}function l(e){return e instanceof q||null!=e&&null!=e._isAMomentObject}function J(e){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return j(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,a),s){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}J(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var K={};function X(e,t){null!=h.deprecationHandler&&h.deprecationHandler(e,t),K[e]||(J(t),K[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=j({},e);for(n in t)g(t,n)&&(B(e[n])&&B(t[n])?(r[n]={},j(r[n],e[n]),j(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)g(e,n)&&!g(t,n)&&B(e[n])&&(r[n]=j({},r[n]));return r}function ee(e){null!=e&&this.set(e)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function a(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},ae={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=i),t&&(ae[t[0]]=function(){return a(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,a=i.length;t<a;t++)ae[i[t]]?i[t]=ae[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=d(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function u(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)g(e,n)&&(t=u(n))&&(r[t]=e[n]);return r}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function m(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function p(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?m(e):t}function me(t,n){return function(e){return null!=e?(he(this,t,e),h.updateOffset(this,n),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=p(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,$e=/[+-]?\d{1,6}/,Fe=/\d+/,Ce=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,Se=/Z|[+-]\d\d(?::?\d\d)?/gi,b=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,n,r){Ee[e]=d(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return g(Ee,e)?Ee[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ee={},Le={};function $(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),N(n)&&(i=function(e,t){t[n]=p(e)}),r=e.length,t=0;t<r;t++)Le[e[t]]=i}function Ge(e,i){$(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var F,C=0,k=1,S=2,M=3,E=4,L=5,_e=6,Ie=7,Te=8;function Pe(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?ue(e)?29:28:31-n%7%2)}F=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",v),w("MM",v,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),$(["M","MM"],function(e,t){t[k]=p(e)-1}),$(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[k]=r:f(n).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Be=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae=b,Ne=b;function Oe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!N(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function He(e){return null!=e?(Oe(this,e),h.updateOffset(this,!0),this):pe(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=x(n[a]),r[a]=x(r[a]);for(a=0;a<24;a++)i[a]=x(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function ze(e){return ue(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",Ce),w("YY",v,y),w("YYYY",xe,fe),w("YYYYY",$e,ye),w("YYYYYY",$e,ye),$(["YYYYY","YYYYYY"],C),$("YYYY",function(e,t){t[C]=2===e.length?h.parseTwoDigitYear(e):p(e)}),$("YY",function(e,t){t[C]=h.parseTwoDigitYear(e)}),$("Y",function(e,t){t[C]=parseInt(e,10)}),h.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var Ue=me("FullYear",!0);function We(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Ye(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var a,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,i),n=t<=0?ze(a=e-1)+t:t>ze(e)?(a=e+1,t-ze(e)):(a=e,t);return{year:a,dayOfYear:n}}function qe(e,t,n){var r,i,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+G(i=e.year()-1,t,n):a>G(e.year(),t,n)?(r=a-G(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function G(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(ze(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",v),w("ww",v,y),w("W",v),w("WW",v,y),Ge(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=p(e)});function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",v),w("e",v),w("E",v),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Ge(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),Ge(["d","e","E"],function(e,t,n,r){t[r]=p(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=b,tt=b,nt=b;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=x(this.weekdaysMin(r,"")),n=x(this.weekdaysShort(r,"")),r=x(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function at(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",v),w("h",v),w("k",v),w("HH",v,y),w("hh",v,y),w("kk",v,y),w("hmm",ve),w("hmmss",be),w("Hmm",ve),w("Hmmss",be),$(["H","HH"],M),$(["k","kk"],function(e,t,n){e=p(e);t[M]=24===e?0:e}),$(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),$(["h","hh"],function(e,t,n){t[M]=p(e),f(n).bigHour=!0}),$("hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[E]=p(e.substr(r)),f(n).bigHour=!0}),$("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[E]=p(e.substr(r,2)),t[L]=p(e.substr(i)),f(n).bigHour=!0}),$("Hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[E]=p(e.substr(r))}),$("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[E]=p(e.substr(r,2)),t[L]=p(e.substr(i))});b=me("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:De,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},_={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=dt(e[a]).split("-")).length,n=(n=dt(e[a+1]))?n.split("-"):null;0<t;){if(r=mt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return st}function mt(t){var e;if(void 0===_[t]&&Ri&&Ri.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,_n(),pt(e)}catch(e){_[t]=null}return _[t]}function pt(e,t){return e&&((t=s(t)?I(e):ht(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function ht(e,t){if(null===t)return delete _[e],null;var n,r=lt;if(t.abbr=e,null!=_[e])X("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=_[e]._config;else if(null!=t.parentLocale)if(null!=_[t.parentLocale])r=_[t.parentLocale]._config;else{if(null==(n=mt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return _[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){ht(e.name,e.config)}),pt(e),_[e]}function I(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=mt(e))return t;e=[e]}return ut(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[k]<0||11<t[k]?k:t[S]<1||t[S]>Pe(t[C],t[k])?S:t[M]<0||24<t[M]||24===t[M]&&(0!==t[E]||0!==t[L]||0!==t[_e])?M:t[E]<0||59<t[E]?E:t[L]<0||59<t[L]?L:t[_e]<0||999<t[_e]?_e:-1,f(e)._overflowDayOfYear&&(t<C||S<t)&&(t=S),f(e)._overflowWeeks&&-1===t&&(t=Ie),f(e)._overflowWeekday&&-1===t&&(t=Te),f(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xt=/^\/?Date\((-?\d+)/i,$t=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ft={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ct(e){var t,n,r,i,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=bt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(bt[t][1].exec(l[1])){i=bt[t][0],r=!1!==bt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Lt(e)}else e._isValid=!1}function kt(e,t,n,r,i,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&e.push(parseInt(a,10)),e}function St(e){var t,n,r,i,a=$t.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=kt(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&Xe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=a[8],r=a[9],i=a[10],n?Ft[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function Et(e){var t,n,r,i,a,o,s,l,c,d,u,m=[];if(!e._d){for(d=e,u=new Date(h.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[S]&&null==e._a[k]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,r=Mt(u.GG,d._a[C],qe(T(),1,4).year),i=Mt(u.W,1),((a=Mt(u.E,1))<1||7<a)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=qe(T(),o,s),r=Mt(u.gg,d._a[C],c.year),i=Mt(u.w,c.week),null!=u.d?((a=u.d)<0||6<a)&&(l=!0):null!=u.e?(a=u.e+o,(u.e<0||6<u.e)&&(l=!0)):a=o),i<1||i>G(r,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=Ze(r,i,a,o,s),d._a[C]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[C],n[C]),(e._dayOfYear>ze(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(u,0,e._dayOfYear),e._a[k]=l.getUTCMonth(),e._a[S]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[E]&&0===e._a[L]&&0===e._a[_e]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:We).apply(null,m),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==h.ISO_8601)if(e._f!==h.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,i=""+e._i,a=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(i.match(Me(r,e))||[])[0])&&(0<(u=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(u),i=i.slice(i.indexOf(t)+t.length),o+=t.length),ae[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),u=r,p=e,null!=(m=t)&&g(Le,u)&&Le[u](m,p._a,p,u)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=a-o,0<i.length&&f(e).unusedInput.push(i),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(a=e._locale,c=e._a[M],null==(d=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,d):null!=a.isPM?((a=a.isPM(d))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[C]=e._locale.erasConvertYear(d,e._a[C])),Et(e),gt(e)}else St(e);else Ct(e);var c,d,u,m,p}function Gt(e){var t,n=e._i,r=e._f;{var i,a;return(e._locale=e._locale||I(e._l),null===n||void 0===r&&""===n)?U({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new q(gt(n)):(O(n)?e._d=n:o(r)?function(e){var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)a=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Lt(t),z(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o)&&(s=!0);j(e,n||t)}(e):r?Lt(e):s(r=(n=e)._i)?n._d=new Date(h.now()):O(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(a=xt.exec(i._i))?(Ct(i),!1===i._isValid&&(delete i._isValid,St(i),!1===i._isValid)&&(delete i._isValid,i._strict?i._isValid=!1:h.createFromInputFallback(i))):i._d=new Date(+a[1])):o(r)?(n._a=H(r.slice(0),function(e){return parseInt(e,10)}),Et(n)):B(r)?(i=n)._d||(t=void 0===(a=ce(i._i)).day?a.date:a.day,i._a=H([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),Et(i)):N(r)?n._d=new Date(r):h.createFromInputFallback(n),z(e)||(e._d=null),e))}}function _t(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(B(e)&&A(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(i=new q(gt(Gt(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function T(e,t,n,r){return _t(e,t,n,r,!1)}h.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=T.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),be=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=T.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});function It(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return T();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Tt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Tt.length;for(t in e)if(g(e,t)&&(-1===F.call(Tt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Tt[n]]){if(r)return!1;parseFloat(e[Tt[n]])!==p(e[Tt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=I(),this._bubble()}function Rt(e){return e instanceof Pt}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Bt(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}Bt("Z",":"),Bt("ZZ",""),w("Z",Se),w("ZZ",Se),$(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(Se,e)});var At=/([\+\-]|\d\d)/gi;function Nt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(At)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Ot(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||O(e)?e:T(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),h.updateOffset(t,!1),t):T(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var zt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(e,t){var n,r,i=e;return Rt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:N(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(t=zt.exec(e))?(n="-"===t[1]?-1:1,i={y:0,d:p(t[S])*n,h:p(t[M])*n,m:p(t[E])*n,s:p(t[L])*n,ms:p(Dt(1e3*t[_e]))*n}):(t=Ut.exec(e))?(n="-"===t[1]?-1:1,i={y:Wt(t[2],n),M:Wt(t[3],n),w:Wt(t[4],n),d:Wt(t[5],n),h:Wt(t[6],n),m:Wt(t[7],n),s:Wt(t[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=T(i.from),n=T(i.to),t=t.isValid()&&n.isValid()?(n=Ot(n,t),t.isBefore(n)?r=Yt(t,n):((r=Yt(n,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=t.milliseconds,i.M=t.months),r=new Pt(i),Rt(e)&&g(e,"_locale")&&(r._locale=e._locale),Rt(e)&&g(e,"_isValid")&&(r._isValid=e._isValid),r}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Yt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(X(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,P(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,a=Dt(t._days),t=Dt(t._months);e.isValid()&&(r=null==r||r,t&&Oe(e,pe(e,"Month")+t*n),a&&he(e,"Date",pe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r)&&h.updateOffset(e,a||t)}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Re=Vt(1,"add"),Ke=Vt(-1,"subtract");function qt(e){return"string"==typeof e||e instanceof String}function Jt(e){return l(e)||O(e)||qt(e)||N(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!N(e)&&qt(t)}).length),n&&r)||function(e){var t,n,r=B(e)&&!A(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],i=i||g(e,n);return r&&i}(e)||null==e;var t,n,r}function Kt(e,t){var n,r;return e.date()<t.date()?-Kt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(n,"months"))<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=I(e))&&(this._locale=e),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(x(i[a].name)),e.push(x(i[a].abbr)),n.push(x(i[a].narrow)),r.push(x(i[a].name)),r.push(x(i[a].abbr)),r.push(x(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function sn(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var a;return null==e?qe(this,r,i).year:(t>(a=G(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=Ye(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),$(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),w("y",Fe),w("yy",Fe),w("yyy",Fe),w("yyyy",Fe),w("yo",function(e,t){return t._eraYearOrdinalRegex||Fe}),$(["y","yy","yyy","yyyy"],C),$(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[C]=n._locale.eraYearOrdinalParse(e,i):t[C]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",Ce),w("g",Ce),w("GG",v,y),w("gg",v,y),w("GGGG",xe,fe),w("gggg",xe,fe),w("GGGGG",$e,ye),w("ggggg",$e,ye),Ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=p(e)}),Ge(["gg","GG"],function(e,t,n,r){t[r]=h.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",i),$("Q",function(e,t){t[k]=3*(p(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",v),w("DD",v,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),$(["D","DD"],S),$("Do",function(e,t){t[S]=p(e.match(v)[0])});xe=me("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),$(["DDD","DDDD"],function(e,t,n){n._dayOfYear=p(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",v),w("mm",v,y),$(["m","mm"],E);fe=me("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",v),w("ss",v,y),$(["s","ss"],L);var cn,$e=me("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,i),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Fe);function dn(e,t){t[_e]=p(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")$(cn,dn);ye=me("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=q.prototype;function un(e){return e}i.add=Re,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=B(e)&&!A(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||g(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||T(),n=Ot(e,this).startOf("day"),n=h.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,T(e)))},i.clone=function(){return new q(this)},i.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Ot(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=u(t)){case"year":a=Kt(this,r)/12;break;case"month":a=Kt(this,r);break;case"quarter":a=Kt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:m(a)},i.endOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}this._d.setTime(t),h.updateOffset(this,!0)}return this},i.format=function(e){return e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||T(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(T(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||T(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(T(),e)},i.get=function(e){return d(this[e=u(e)])?this[e]():this},i.invalidAt=function(){return f(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:T(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:T(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:T(e),t=l(t)?t:T(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:T(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return z(this)},i.lang=Qe,i.locale=Xt,i.localeData=Qt,i.max=be,i.min=ve,i.parsingFlags=function(){return j({},f(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)g(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}this._d.setTime(t),h.updateOffset(this,!0)}return this},i.subtract=Ke,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},i.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-h(n[r].since).year())*e+n[r].offset;return this.year()},i.year=Ue,i.isLeapYear=function(){return ue(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=He,i.daysInMonth=function(){return Pe(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return G(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return G(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return G(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return G(this.isoWeekYear(),1,4)},i.date=xe,i.day=i.days=function(e){var t,n,r;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,r=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=r.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},i.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},i.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},i.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},i.hour=i.hours=b,i.minute=i.minutes=fe,i.second=i.seconds=$e,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Ht(this);if("string"==typeof e){if(null===(e=Nt(Se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ht(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,P(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ht(this),"m"),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Nt(ke,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?T(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=jt,i.isUTC=jt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",xe),i.months=e("months accessor is deprecated. Use month instead",He),i.years=e("years accessor is deprecated. Use year instead",Ue),i.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(Z(t={},this),(t=Gt(t))._a?(e=(t._isUTC?c:T)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&p(e[o])!==p(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function mn(e,t,n,r){var i=I(),r=c().set(r,t);return i[n](r,e)}function pn(e,t,n){if(N(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=mn(e,i,n,"month");return r}function hn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),N(t)&&(n=t,t=void 0),t||"");var i,a=I(),o=e?a._week.dow:0,s=[];if(null!=n)return mn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=mn(t,(i+o)%7,r,"day");return s}y.calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=un,y.postformat=un,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return d(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)g(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var n,r=this._eras||I("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=h(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=h(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?h(e.since).year():h(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Be).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Be.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=F.call(this._shortMonthsParse,e))?i:null:-1!==(i=F.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=F.call(this._shortMonthsParse,e))||-1!==(i=F.call(this._longMonthsParse,e))?i:null:-1!==(i=F.call(this._longMonthsParse,e))||-1!==(i=F.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return qe(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Je(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=F.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=F.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=F.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=F.call(this._weekdaysParse,e))||-1!==(i=F.call(this._shortWeekdaysParse,e))||-1!==(i=F.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=F.call(this._shortWeekdaysParse,e))||-1!==(i=F.call(this._weekdaysParse,e))||-1!==(i=F.call(this._minWeekdaysParse,e))?i:null:-1!==(i=F.call(this._minWeekdaysParse,e))||-1!==(i=F.call(this._weekdaysParse,e))||-1!==(i=F.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},pt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===p(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),h.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),h.langData=e("moment.langData is deprecated. Use moment.localeData instead.",I);var gn=Math.abs;function fn(e,t,n,r){t=P(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),ge=wn("s"),Re=wn("m"),be=wn("h"),ve=wn("d"),Ke=wn("w"),b=wn("M"),fe=wn("Q"),$e=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),Ue=xn("minutes"),y=xn("hours"),$n=xn("days"),Fn=xn("months"),Cn=xn("years");var kn=Math.round,Sn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var i=P(e).abs(),a=kn(i.as("s")),o=kn(i.as("m")),s=kn(i.as("h")),l=kn(i.as("d")),c=kn(i.as("M")),d=kn(i.as("w")),i=kn(i.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||(o<=1?["m"]:o<n.m&&["mm",o])||(s<=1?["h"]:s<n.h&&["hh",s])||(l<=1?["d"]:l<n.d&&["dd",l]);return(a=(a=null!=n.w?a||(d<=1?["w"]:d<n.w&&["ww",d]):a)||(c<=1?["M"]:c<n.M&&["MM",c])||(i<=1?["y"]:["yy",i]))[2]=t,a[3]=0<+e,a[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,a)}var En=Math.abs;function Ln(e){return(0<e)-(e<0)||+e}function Gn(){var e,t,n,r,i,a,o,s,l,c,d;return this.isValid()?(s=En(this._milliseconds)/1e3,l=En(this._days),c=En(this._months),(d=this.asSeconds())?(e=m(s/60),t=m(e/60),s%=60,e%=60,n=m(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=Ln(this._months)!==Ln(d)?"-":"",a=Ln(this._days)!==Ln(d)?"-":"",o=Ln(this._milliseconds)!==Ln(d)?"-":"",(d<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"):this.localeData().invalidDate()}var R=Pt.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},R.add=function(e,t){return fn(this,e,t,1)},R.subtract=function(e,t){return fn(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+vn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},R.asMilliseconds=we,R.asSeconds=ge,R.asMinutes=Re,R.asHours=be,R.asDays=ve,R.asWeeks=Ke,R.asMonths=b,R.asQuarters=fe,R.asYears=$e,R.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},R._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(bn(n)+t),n=t=0),r.milliseconds=e%1e3,e=m(e/1e3),r.seconds=e%60,e=m(e/60),r.minutes=e%60,e=m(e/60),r.hours=e%24,t+=m(e/24),n+=e=m(vn(t)),t-=yn(bn(e)),e=m(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},R.clone=function(){return P(this)},R.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=xe,R.minutes=Ue,R.hours=y,R.days=$n,R.weeks=function(){return m(this.days()/7)},R.months=Fn,R.years=Cn,R.humanize=function(e,t){var n,r;return this.isValid()?(n=!1,r=Sn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Sn,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),t=Mn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},R.toISOString=Gn,R.toString=Gn,R.toJSON=Gn,R.locale=Xt,R.localeData=Qt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gn),R.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",Ce),w("X",/[+-]?\d+(\.\d{1,3})?/),$("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),$("x",function(e,t,n){n._d=new Date(p(e))}),h.version="2.29.4",D=T,h.fn=i,h.min=function(){return It("isBefore",[].slice.call(arguments,0))},h.max=function(){return It("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=c,h.unix=function(e){return T(1e3*e)},h.months=function(e,t){return pn(e,t,"months")},h.isDate=O,h.locale=pt,h.invalid=U,h.duration=P,h.isMoment=l,h.weekdays=function(e,t,n){return hn(e,t,n,"weekdays")},h.parseZone=function(){return T.apply(null,arguments).parseZone()},h.localeData=I,h.isDuration=Rt,h.monthsShort=function(e,t){return pn(e,t,"monthsShort")},h.weekdaysMin=function(e,t,n){return hn(e,t,n,"weekdaysMin")},h.defineLocale=ht,h.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=_[e]&&null!=_[e].parentLocale?_[e].set(Q(_[e]._config,t)):(t=Q(r=null!=(n=mt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=_[e],_[e]=r),pt(e)):null!=_[e]&&(null!=_[e].parentLocale?(_[e]=_[e].parentLocale,e===pt()&&pt(e)):null!=_[e]&&delete _[e]),_[e]},h.locales=function(){return te(_)},h.weekdaysShort=function(e,t,n){return hn(e,t,n,"weekdaysShort")},h.normalizeUnits=u,h.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},h.relativeTimeThreshold=function(e,t){return void 0!==Sn[e]&&(void 0===t?Sn[e]:(Sn[e]=t,"s"===e&&(Sn.ss=t-1),!0))},h.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},h.prototype=i,h.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},h}();var Pi,Ri,Di=Pi.exports;function Bi(e,t){o(e,t)}const Ai={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır",full:"masa dolu - bet behind",dealer:"Dealer"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Počnite sada!",new:"NOVI",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},Ni={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Oi(e,t,n){e=e.slice();return e[102]=t[n],e[104]=n,e}function Hi(e,t,n){e=e.slice();return e[99]=t[n],e}function ji(e){let n;function r(e){return e[17]?Ui:zi}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&me(n)}}}function zi(e){let n;return{c(){(n=pe("div")).innerHTML="<div></div><div></div>",fe(n,"class","LoaderRipple")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Ui(n){let r,i,a;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(r,"class","FavIconContainer")},m(e,t){ue(e,r,t),i||(a=U(r,"click",n[62]),i=!0)},p:N,d(e){e&&me(r),i=!1,a()}}}function Wi(n){let r,i,a,o,s=n[36]("playNow")+"";return{c(){r=pe("button"),i=he(s),fe(r,"class","GameInfoBtn")},m(e,t){ue(e,r,t),de(r,i),a||(o=U(r,"click",n[63]),a=!0)},p(e,t){32&t[1]&&s!==(s=e[36]("playNow")+"")&&ye(i,s)},d(e){e&&me(r),a=!1,o()}}}function Yi(e){let n;return{c(){(n=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Vi(n){let r,i,a;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(r,"class","FavIconContainer")},m(e,t){ue(e,r,t),i||(a=U(r,"click",n[64]),i=!0)},p:N,d(e){e&&me(r),i=!1,a()}}}function Zi(e){let n,r,i=e[36]("new")+"";return{c(){n=pe("span"),r=he(i),fe(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&i!==(i=e[36]("new")+"")&&ye(r,i)},d(e){e&&me(n)}}}function qi(e){let n,r;return{c(){n=pe("span"),r=he(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&ye(r,e[8])},d(e){e&&me(n)}}}function Ji(e){let n,r,i=!e[23]&&e[21]&&e[22]&&Ki(e);function a(e){return e[23]&&e[20]&&e[20]===ca?Qi:e[23]&&e[20]&&e[20]===da?Xi:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ge(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){!e[23]&&e[21]&&e[22]?i?i.p(e,t):((i=Ki(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&me(n),s&&s.d(e),e&&me(r)}}}function Ki(e){let n,r,i,a,o,s,l,c,d,u,m=e[36]("opens")+"",p=Di.utc(e[21]).local().format(e[22])+"",h=e[42](e[35])+"",g=e[41](e[27],e[28],e[26])+"";return{c(){n=pe("div"),r=pe("div"),i=he(m),a=ge(),o=pe("span"),s=he(p),l=ge(),c=new _(!1),d=ge(),u=new _(!1),fe(r,"class","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,a),de(r,o),de(o,s),de(n,l),c.m(h,n),de(n,d),u.m(g,n)},p(e,t){32&t[1]&&m!==(m=e[36]("opens")+"")&&ye(i,m),6291456&t[0]&&p!==(p=Di.utc(e[21]).local().format(e[22])+"")&&ye(s,p),16&t[1]&&h!==(h=e[42](e[35])+"")&&c.p(h),469762048&t[0]&&g!==(g=e[41](e[27],e[28],e[26])+"")&&u.p(g)},d(e){e&&me(n)}}}function Xi(n){let r,i,a,o,s,l,c=n[42](n[35])+"",d=n[41](n[27],n[28],n[26])+"",u=new Array(ma),m=[];for(let e=0;e<u.length;e+=1)m[e]=ra(Oi(n,u,e));return{c(){r=pe("div"),i=pe("div");for(let e=0;e<m.length;e+=1)m[e].c();a=ge(),o=new _(!1),s=ge(),l=new _(!1),fe(i,"class","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[31])},m(e,t){ue(e,r,t),de(r,i);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(i,null);n[65](i),de(r,a),o.m(c,r),de(r,s),l.m(d,r)},p(t,n){if(1073758208&n[0]|4098&n[1]){let e;for(u=new Array(ma),e=0;e<u.length;e+=1){const o=Oi(t,u,e);m[e]?m[e].p(o,n):(m[e]=ra(o),m[e].c(),m[e].m(i,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}16&n[1]&&c!==(c=t[42](t[35])+"")&&o.p(c),469762048&n[0]&&d!==(d=t[41](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(r,"class",t[31])},d(e){e&&me(r),j(m,e),n[65](null)}}}function Qi(e){let n,r,i,a,o,s,l=e[42](e[35])+"",c=e[41](e[27],e[28],e[26])+"";function d(e){return e[33]?aa:ia}let u=d(e),m=u(e);return{c(){n=pe("div"),r=pe("div"),m.c(),i=ge(),a=new _(!1),o=ge(),s=new _(!1),fe(r,"class","LiveIcons"),a.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){ue(e,n,t),de(n,r),m.m(r,null),de(n,i),a.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(r,null))),16&t[1]&&l!==(l=e[42](e[35])+"")&&a.p(l),469762048&t[0]&&c!==(c=e[41](e[27],e[28],e[26])+"")&&s.p(c)},d(e){e&&me(n),m.d()}}}function ea(e){let n;function r(e){return e[30]?na:ta}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&me(n)}}}function ta(e){let n,r,i=e[43]("LatestResult "+(0===e[104]?"First":""),e[104],e[14][e[104]],e[32][e[14][e[104]]])+"";return{c(){n=new _(!1),r=c(),n.a=r},m(e,t){n.m(i,e,t),ue(e,r,t)},p(e,t){16384&t[0]|2&t[1]&&i!==(i=e[43]("LatestResult "+(0===e[104]?"First":""),e[104],e[14][e[104]],e[32][e[14][e[104]]])+"")&&n.p(i)},d(e){e&&me(r),e&&n.d()}}}function na(e){let n,r,i,a,o,s=e[43]("LatestResult "+(0===e[104]?"First":""),"first"+e[104]+e[14][e[104]][0],e[14][e[104]][0],e[32][e[14][e[104]][0]])+"",l=e[43]("LatestResult "+(0===e[104]?"First":""),"second"+e[104]+e[14][e[104]][1],e[14][e[104]][1],e[32][e[14][e[104]][1]])+"";return{c(){n=pe("div"),r=new _(!1),i=ge(),a=new _(!1),o=ge(),r.a=i,a.a=o,fe(n,"class","Double")},m(e,t){ue(e,n,t),r.m(s,n),de(n,i),a.m(l,n),de(n,o)},p(e,t){16384&t[0]|2&t[1]&&s!==(s=e[43]("LatestResult "+(0===e[104]?"First":""),"first"+e[104]+e[14][e[104]][0],e[14][e[104]][0],e[32][e[14][e[104]][0]])+"")&&r.p(s),16384&t[0]|2&t[1]&&l!==(l=e[43]("LatestResult "+(0===e[104]?"First":""),"second"+e[104]+e[14][e[104]][1],e[14][e[104]][1],e[32][e[14][e[104]][1]])+"")&&a.p(l)},d(e){e&&me(n)}}}function ra(e){let n,r=e[14]&&e[14][e[104]]&&ea(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[14]&&e[14][e[104]]?r?r.p(e,t):((r=ea(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function ia(t){let i,a=t[25],o=[];for(let e=0;e<a.length;e+=1)o[e]=oa(Hi(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,i,n)},p(t,n){if(570425344&n[0]|512&n[1]){let e;for(a=t[25],e=0;e<a.length;e+=1){var r=Hi(t,a,e);o[e]?o[e].p(r,n):(o[e]=oa(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){j(o,e),e&&me(i)}}}function aa(e){let n,r,i=e[36]("full")+"";return{c(){n=pe("span"),r=he(i),fe(n,"class","FullTable")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&i!==(i=e[36]("full")+"")&&ye(r,i)},d(e){e&&me(n)}}}function oa(e){let n,r,i,a,o,s;return{c(){n=pe("span"),r=z("svg"),i=z("path"),a=z("path"),o=ge(),fe(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"width","13"),fe(r,"height","14"),fe(r,"viewBox","0 0 13 14"),fe(n,"class",s=e[40](e[29],e[99].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,a),de(n,o)},p(e,t){570425344&t[0]&&s!==(s=e[40](e[29],e[99].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s)},d(e){e&&me(n)}}}function sa(e){let n,r;return{c(){n=pe("p"),r=he(e[4]),fe(n,"class","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&ye(r,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&me(n)}}}function la(n){let r,i,a,o,s,l,c,d,u,m,p,h,g,f,y,v,b,w,x,$,F,C,k,S,M,E=!ot(n[37])&&!n[0]&&n[16],L=(n[5]||"-")+"",G=E&&ji(n),_=n[1]&&Wi(n);function A(e,t){return 65541&t[0]&&(b=null),65541&t[0]&&(w=null),(b=null==b?!(ot(e[37])||!e[0]||!e[16]||!e[2]):b)?Vi:(w=null==w?!!(ot(e[37])&&e[0]&&e[16]&&e[2]):w)?Yi:void 0}let I=A(n,[-1,-1,-1,-1]),T=I&&I(n),P=n[7]&&Zi(n),R=n[8]&&qi(n),D=n[13]&&Ji(n),B=n[10]&&sa(n);return{c(){r=pe("div"),i=pe("div"),a=pe("img"),l=ge(),c=pe("div"),d=pe("div"),G&&G.c(),u=ge(),m=pe("p"),p=he(n[4]),h=ge(),_&&_.c(),g=ge(),f=pe("span"),y=he(L),v=ge(),T&&T.c(),x=ge(),$=pe("div"),P&&P.c(),F=ge(),R&&R.c(),C=ge(),D&&D.c(),S=ge(),B&&B.c(),this.c=N,ce(a.src,o=n[3])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[9]} `+(n[18]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(m,"class","GameInfoName"),fe(m,"title",n[4]),fe(d,"class","GameInfo"),fe(f,"class","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe($,"class","GameExtraInfo"),fe(i,"class",k="GameInnerContainer "+(n[13]&&!n[23]&&n[24].value||n[13]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"class",M=`GameContainer ${n[34]} `+("true"==n[11]?"CasinoGamesGridSlider":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[61](a),de(i,l),de(i,c),de(c,d),G&&G.m(d,null),de(d,u),de(d,m),de(m,p),de(d,h),_&&_.m(d,null),de(c,g),de(c,f),de(f,y),de(i,v),T&&T.m(i,null),de(i,x),de(i,$),P&&P.m($,null),de($,F),R&&R.m($,null),de($,C),D&&D.m($,null),de(r,S),B&&B.m(r,null),n[66](r)},p(e,t){8&t[0]&&!ce(a.src,o=e[3])&&fe(a,"src",o),262656&t[0]&&s!==(s=`GameBg GameBg-${e[9]} `+(e[18]?"Loaded":""))&&fe(a,"class",s),(E=65537&t[0]?!ot(e[37])&&!e[0]&&e[16]:E)?G?G.p(e,t):((G=ji(e)).c(),G.m(d,u)):G&&(G.d(1),G=null),16&t[0]&&ye(p,e[4]),16&t[0]&&fe(m,"title",e[4]),e[1]?_?_.p(e,t):((_=Wi(e)).c(),_.m(d,null)):_&&(_.d(1),_=null),32&t[0]&&L!==(L=(e[5]||"-")+"")&&ye(y,L),I===(I=A(e,t))&&T?T.p(e,t):(T&&T.d(1),(T=I&&I(e))&&(T.c(),T.m(i,x))),e[7]?P?P.p(e,t):((P=Zi(e)).c(),P.m($,F)):P&&(P.d(1),P=null),e[8]?R?R.p(e,t):((R=qi(e)).c(),R.m($,C)):R&&(R.d(1),R=null),e[13]?D?D.p(e,t):((D=Ji(e)).c(),D.m($,null)):D&&(D.d(1),D=null),25174016&t[0]|4&t[1]&&k!==(k="GameInnerContainer "+(e[13]&&!e[23]&&e[24].value||e[13]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(i,"class",k),e[10]?B?B.p(e,t):((B=sa(e)).c(),B.m(r,null)):B&&(B.d(1),B=null),2048&t[0]|8&t[1]&&M!==(M=`GameContainer ${e[34]} `+("true"==e[11]?"CasinoGamesGridSlider":""))&&fe(r,"class",M)},i:N,o:N,d(e){e&&me(r),n[61](null),G&&G.d(),_&&_.d(),T&&T.d(),P&&P.d(),R&&R.d(),D&&D.d(),B&&B.d(),n[66](null)}}}const ca="blackjack",da="roulette",ua="doubleballroulette",ma=5;function pa(a,e,o){let t;lt(a,ri,e=>o(36,t=e));let D,s,l,c,n,B,A,d,u,N,O,H,m,j,z,U,p,W,Y,V,h,Z,g,q,J,{session:K=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:v=""}=e,{clientstylingurl:b=""}=e,{translationurl:w=""}=e,{favorites:x=""}=e,{gamethumbnail:X=""}=e,{gamename:Q=""}=e,{gamevendor:r=""}=e,{gameid:i=""}=e,{gameisnew:ee=""}=e,{gametag:te=""}=e,{gamefunmode:$=!1}=e,{gamefavorite:F=!1}=e,{gamecellsize:ne=""}=e,{showfavoredcategory:C=!1}=e,{showgamename:re=!1}=e,{currency:k=""}=e,{gamepagemodalurl:S="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:E=""}=e,{connectlive:L=""}=e,{visibilityconnect:G=""}=e,{integratedgameframedesktop:_="false"}=e,{integratedgameframemobile:I="false"}=e,{casinogamesgridslider:ie="false"}=e,ae=!1,oe=!1,se=!1,T=window.navigator.userAgent,le="HH:mm",ce,de=[],ue="EUR",P="";const me=[ca],pe=[da,ua],he={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ge={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},fe=(Object.keys(Ai).forEach(e=>{Bi(e,Ai[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+i||C||o(0,F=!0),e.data.type!=="RemoveFavoriteThumbnail_"+i||C||o(0,F=!1),"UserSessionID"===e.data.type&&(o(16,ae=!0),e.data.session,D=e.data.userID),"CategoryUpdate"===e.data.type&&o(13,c=null)}),ye=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(D||"Not logged in")}),ot(T)&&"true"==I?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:$,gamepagemodalurl:S,isMobile:ot(T),source:"GameThumbnail",identifier:"Lobby"},window.location.href):ot(T)&&"false"==I&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:ot(T)},window.location.href),ot(T)||"true"!=_?ot(T)||"false"!=_||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:ot(T)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:$,gamepagemodalurl:S,isMobile:ot(T),identifier:"Lobby"},window.location.href)},ve=e=>{F?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},be=()=>{E&&EventSource&&!n&&r&&i&&(n=new EventSource(`${M}/encoder/lobby/updates/${r}/`+i)).addEventListener("message",xe)},we=()=>{n&&(n.close(),n=void 0)},xe=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:a}=r;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(29,m=i),o(13,c.currentOccupiedSeats=i,c),await Ce());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,o(13,c.currentRouletteNumbers=n,c),await Ce());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(z=n,o(13,c.currentDoubleBallRouletteNumbers=n,c),await Ce());break;case"TableOpened":case"TableClosed":o(23,d=a),o(13,c.isOpen=a,c),await Ce()}}}},$e=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t),Fe=()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return rt(()=>(window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),n&&n.removeEventListener("message",xe)})),a.$$set=e=>{"session"in e&&o(44,K=e.session),"userid"in e&&o(45,f=e.userid),"lang"in e&&o(1,y=e.lang),"clientstyling"in e&&o(46,v=e.clientstyling),"clientstylingurl"in e&&o(47,b=e.clientstylingurl),"translationurl"in e&&o(48,w=e.translationurl),"favorites"in e&&o(2,x=e.favorites),"gamethumbnail"in e&&o(3,X=e.gamethumbnail),"gamename"in e&&o(4,Q=e.gamename),"gamevendor"in e&&o(5,r=e.gamevendor),"gameid"in e&&o(6,i=e.gameid),"gameisnew"in e&&o(7,ee=e.gameisnew),"gametag"in e&&o(8,te=e.gametag),"gamefunmode"in e&&o(49,$=e.gamefunmode),"gamefavorite"in e&&o(0,F=e.gamefavorite),"gamecellsize"in e&&o(9,ne=e.gamecellsize),"showfavoredcategory"in e&&o(50,C=e.showfavoredcategory),"showgamename"in e&&o(10,re=e.showgamename),"currency"in e&&o(51,k=e.currency),"gamepagemodalurl"in e&&o(52,S=e.gamepagemodalurl),"endpoint"in e&&o(53,M=e.endpoint),"livelobbyendpoint"in e&&o(54,E=e.livelobbyendpoint),"connectlive"in e&&o(55,L=e.connectlive),"visibilityconnect"in e&&o(56,G=e.visibilityconnect),"integratedgameframedesktop"in e&&o(57,_=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(58,I=e.integratedgameframemobile),"casinogamesgridslider"in e&&o(11,ie=e.casinogamesgridslider)},a.$$.update=()=>{if(16777216&a.$$.dirty[1]&&L&&("disconnect"===L?we():"connect"===L&&be()),33554432&a.$$.dirty[1]&&G&&("disconnect"===G?we():"connect"===G&&"connect"===L&&be()),2&a.$$.dirty[0]&&y&&(n=y,at.set(n)),4218880&a.$$.dirty[1]&&K&&f&&M&&(o(16,ae=!0),D=f),8&a.$$.dirty[0]&&X&&s&&o(19,s.onload=()=>{o(18,se=!0)},s),4096&a.$$.dirty[0]|32768&a.$$.dirty[1]&&v&&l&&((n=document.createElement("style")).innerHTML=v,l.appendChild(n)),4096&a.$$.dirty[0]|65536&a.$$.dirty[1]&&b&&l&&Fe(),4&a.$$.dirty[0]&&x&&"true"==x&&o(17,oe=!0),131072&a.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Bi(e,t[e])})}).catch(e=>{console.log(e)}),512&a.$$.dirty[0]|65536&a.$$.dirty[1]&&ne&&b&&Fe(),12582912&a.$$.dirty[1]&&M&&E&&((t=new URL(""+E.split("?")[0])).searchParams.append("platform",st(T)),t.searchParams.append("language",y),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(13,c=e)})),8192&a.$$.dirty[0]&&c&&c&&(o(23,d=c.isOpen),ce=c.betLimit||{},o(24,u=c.openHours),o(25,de=(e=>{H=e.totalSeats||7,o(29,m=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=H;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],o(21,A=t),o(22,le=e||le)),d&&o(20,B=(e=>{let t=null;if(e){var n=e["vendorCategory"];if(n){const e=n.toLowerCase();R(me,e)?t=ca:R(pe,e)&&(t=da)}}return t})(c)),o(26,ue=Ni[k]),o(27,N=(ce.min||{})[k]),o(28,O=(ce.max||{})[k]),j=c.currentRouletteNumbers,z=c.currentDoubleBallRouletteNumbers,U=c.vendorCategory,o(30,p=U.toLowerCase()===ua),o(14,W=(p?z:j)||[]),o(31,Y="GameProp LiveProps RoulleteProps"),o(31,Y+=p?" Double":""),o(32,V=R(pe,U.toLowerCase())?ge:he),Z=h,o(33,h=Array.isArray(m)&&m.length===H),c.dealer&&o(35,q=c.dealer.DealerName),J=c.numberOfPlayers,o(34,P="ListGame"),c.isOpen&&c.currentRouletteNumbers&&o(34,P+=" GameBackdrop"),d&&h&&N&&O&&c.currentOccupiedSeats?o(34,P+=" GameContainerDimmed"):!1===d&&A&&o(34,P+=" GameContainerFullyDimmed"),l)&&(!Z&&h?(o(34,P+=" PulsatingRedShadow"),o(34,P=P.replace(" PulsatingGreenShadow",""))):Z&&!h&&(o(34,P+=" PulsatingGreenShadow"),o(34,P=P.replace(" PulsatingRedShadow","")))),49152&a.$$.dirty[0]&&g&&W){const r="FirstElementAnimated",i=g.getElementsByClassName("First")[0];i&&(i.classList.add(r),setTimeout(()=>{i.classList.remove(r)},2e3))}var e,t,n},[F,y,x,X,Q,r,i,ee,te,ne,re,ie,l,c,W,g,ae,oe,se,s,B,A,le,d,u,de,ue,N,O,m,p,Y,V,h,P,q,t,T,ye,ve,R,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
|
|
3
|
+
}`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,m=E(e),{stylesheet:p,rules:h}=I.get(m)||(m=m,d={stylesheet:(d=e,h=pe("style"),d=E(d),p=h,de(d.head||d,p),p.sheet,h.sheet),rules:{}},I.set(m,d),d),m=(h[s]||(h[s]=!0,p.insertRule(`@keyframes ${s} `+u,p.cssRules.length)),e.style.animation||"");return e.style.animation=(m?m+", ":"")+s+` ${r}ms linear ${i}ms 1 both`,D+=1,s}function A(e){T=e}function Ie(){if(T)return T;throw new Error("Function called outside component initialization")}function rt(e){Ie().$$.on_mount.push(e)}const O=[],it=[];let W=[];const Y=[],V=Promise.resolve();let Z=!1;function q(){Z||(Z=!0,V.then(m))}function Ce(){return q(),V}function J(e){W.push(e)}const K=new Set;let X,Q=0;function m(){if(0===Q){const r=T;do{try{for(;Q<O.length;){const r=O[Q];Q++,A(r),e=t=void 0;var e,t=r.$$;null!==t.fragment&&(t.update(),H(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(J))}}catch(r){throw O.length=0,Q=0,r}for(A(null),O.length=0,Q=0;it.length;)it.pop()();for(let e=0;e<W.length;e+=1){var n=W[e];K.has(n)||(K.add(n),n())}}while(W.length=0,O.length);for(;Y.length;)Y.pop()();Z=!1,K.clear(),A(r)}}function ee(e,t,n){var r;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(r=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),r))}const te=new Set;let ne;function re(e,t){e&&e.i&&(te.delete(e),e.i(t))}function ie(e,t,n,r){e&&e.o?te.has(e)||(te.add(e),ne.c.push(()=>{te.delete(e),r&&(n&&e.d(1),r())}),e.o(t)):r&&r()}const ae={duration:0};function oe(l,e,t,n){const r={direction:"both"};let c=e(l,t,r),d=n?0:1,u=null,m=null,p=null;function h(){var e,t,n,r;p&&(e=l,t=p,n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-r.length)||(e.style.animation=r.join(", "),D-=n)||$(()=>{D||(I.forEach(e=>{e=e.stylesheet.ownerNode;e&&me(e)}),I.clear())}))}function g(e,t){var n=e.b-d;return t*=Math.abs(n),{a:d,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:n=300,easing:r=b,tick:i=N,css:a}=c||ae,o={start:x()+t,b:e};if(e||((o.group=ne).r+=1),u||m)m=o;else{a&&(h(),p=B(l,d,e,n,t,r,a)),e&&i(0,1),u=g(o,n),J(()=>ee(l,e,"start"));{var s=e=>{if(m&&e>m.start&&(u=g(m,n),m=null,ee(l,u.b,"start"),a)&&(h(),p=B(l,d,u.b,u.duration,0,r,c.css)),u)if(e>=u.end)i(d=u.b,1-d),ee(l,u.b,"end"),m||(u.b?h():--u.group.r||H(u.group.c)),u=null;else if(e>=u.start){const l=e-u.start;d=u.a+u.d*r(l/u.duration),i(d,1-d)}return!(!u&&!m)};let t;0===F.size&&$(M),new Promise(e=>{F.add(t={c:s,f:e})})}}}return{run(e){k(c)?(X||(X=Promise.resolve()).then(()=>{X=null}),X.then(()=>{c=c(r),i(e)})):i(e)},end(){h(),u=m=null}}}function se(e,t){e.d(1),t.delete(e.key)}function le(t,n,r,i,a,o,s,l,e,c,d,u){let m=t.length,p=o.length,h=m;for(var g={};h--;)g[t[h].key]=h;var f=[],y=new Map,v=new Map,b=[];for(h=p;h--;){const t=u(a,o,h),H=r(t);let e=s.get(H);e?i&&b.push(()=>e.p(t,n)):(e=c(H,t)).c(),y.set(H,f[h]=e),H in g&&v.set(H,Math.abs(h-g[H]))}var w=new Set,x=new Set;function $(e){re(e,1),e.m(l,d),s.set(e.key,e),d=e.first,p--}for(;m&&p;){const n=f[p-1],r=t[m-1],i=n.key,a=r.key;n===r?(d=n.first,m--,p--):y.has(a)?!s.has(i)||w.has(i)?$(n):x.has(a)?m--:v.get(i)>v.get(a)?(x.add(i),$(n)):(w.add(a),m--):(e(r,s),m--)}for(;m--;){const n=t[m];y.has(n.key)||e(n,s)}for(;p;)$(f[p-1]);return H(b),f}function i(r,e,t,n,i,a,o,s=[-1]){var l=T;A(r);const c=r.$$={fragment:null,ctx:[],props:a,update:N,not_equal:i,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:h(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d)&&(n=e,-1===(e=r).$$.dirty[0]&&(O.push(e),q(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),d=!0,H(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const r=Array.from(a.childNodes);c.fragment&&c.fragment.l(r),r.forEach(me)}else c.fragment&&c.fragment.c();e.intro&&re(r.$$.fragment);var u=r,s=e.target,o=e.anchor,t=e.customElement,{fragment:n,after_update:a}=u.$$;n&&n.m(s,o),t||J(()=>{var e=u.$$.on_mount.map(p).filter(k);u.$$.on_destroy?u.$$.on_destroy.push(...e):H(e),u.$$.on_mount=[]}),a.forEach(J),m()}A(l)}let t;"function"==typeof HTMLElement&&(t=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(p).filter(k);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){H(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const r=[],i=[];W.forEach(e=>(-1===n.indexOf(e)?r:i).push(e)),i.forEach(e=>e()),W=r}H(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=N}$on(e,t){if(!k(t))return N;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 ve,be,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},we="URLSearchParams"in l,xe="Symbol"in l&&"iterator"in Symbol,$e="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),Fe="FormData"in l,ke="ArrayBuffer"in l;function Se(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 Me(e){return e="string"!=typeof e?String(e):e}function Ee(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return xe&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Le(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(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 _e(e){var t=new FileReader,n=Ge(t);return t.readAsArrayBuffer(e),n}function Te(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Pe(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:$e&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Fe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:we&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ke&&$e&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Te(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ke&&(ArrayBuffer.prototype.isPrototypeOf(e)||be(e))?this._bodyArrayBuffer=Te(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):we&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},$e&&(this.blob=function(){var e=Le(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return Le(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if($e)return this.blob().then(_e);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r=Le(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=Ge(e),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?n[1]:"utf-8",e.readAsText(r,n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Fe&&(this.formData=function(){return this.text().then(Be)}),this.json=function(){return this.text().then(JSON.parse)},this}ke&&(ve=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],be=ArrayBuffer.isView||function(e){return e&&-1<ve.indexOf(Object.prototype.toString.call(e))}),d.prototype.append=function(e,t){e=Se(e),t=Me(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[Se(e)]},d.prototype.get=function(e){return e=Se(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(Se(e))},d.prototype.set=function(e,t){this.map[Se(e)]=Me(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Ee(n)},d.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ee(t)},d.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Ee(n)},xe&&(d.prototype[Symbol.iterator]=d.prototype.entries);var Re=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function De(e,t){if(!(this instanceof De))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 De){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(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 d(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Re.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Be(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Ae(e,t){if(!(this instanceof Ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}De.prototype.clone=function(){return new De(this,{body:this._bodyInit})},Pe.call(De.prototype),Pe.call(Ae.prototype),Ae.prototype.clone=function(){return new Ae(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},Ae.error=function(){var e=new Ae(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Ne=[301,302,303,307,308],Oe=(Ae.redirect=function(e,t){if(-1===Ne.indexOf(t))throw new RangeError("Invalid status code");return new Ae(null,{status:t,headers:{location:e}})},l.DOMException);try{new Oe}catch(s){(Oe=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Oe.prototype.constructor=Oe}function He(r,s){return new Promise(function(i,e){var a=new De(r,s);if(a.signal&&a.signal.aborted)return e(new Oe("Aborted","AbortError"));var n,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,r,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",r=new d,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{r.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),r)},n=(a.url.startsWith("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){i(new Ae(n,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new Oe("Aborted","AbortError"))},0)},o.open(a.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(a.url),!0),"include"===a.credentials?o.withCredentials=!0:"omit"===a.credentials&&(o.withCredentials=!1),"responseType"in o&&($e?o.responseType="blob":ke&&(o.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof d||l.Headers&&s.headers instanceof l.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(Se(e)),o.setRequestHeader(e,Me(s.headers[e]))}),a.headers.forEach(function(e,t){-1===n.indexOf(t)&&o.setRequestHeader(t,e)})):a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),a.signal&&(a.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&a.signal.removeEventListener("abort",t)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})}function _n(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}He.polyfill=!0,l.fetch||(l.fetch=He,l.Headers=d,l.Request=De,l.Response=Ae);var je=self.fetch.bind(self),ze=function(e,t){return(ze=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 Ue(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}ze(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function We(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 Ye(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function Ve(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Ze(e){return"function"==typeof e}function qe(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 Je=qe(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 Ke(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}et.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=We(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(Ze(a))try{a()}catch(e){i=e instanceof Je?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=We(a),c=l.next();!c.done;c=l.next()){var d=c.value;try{nt(d)}catch(e){i=null!=i?i:[],e instanceof Je?i=Ve(Ve([],Ye(i)),Ye(e.errors)):i.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(i)throw new Je(i)}},et.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)nt(e);else{if(e instanceof et){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},et.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},et.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},et.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ke(t,e)},et.prototype.remove=function(e){var t=this._finalizers;t&&Ke(t,e),e instanceof et&&e._removeParent(this)},et.EMPTY=((e=new et).closed=!0,e);var Xe=et,Qe=Xe.EMPTY;function et(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function tt(e){return e instanceof Xe||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function nt(e){Ze(e)?e():e.unsubscribe()}var ct=void 0,dt=!1,ut=!1,mt={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=mt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,Ve([e,t],Ye(n))):setTimeout.apply(void 0,Ve([e,t],Ye(n)))},clearTimeout:function(e){var t=mt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function pt(){}var ht=null;function gt(e){if(dt){var t=!ht;if(t&&(ht={errorThrown:!1,error:null}),e(),t){var t=ht,n=t.errorThrown,t=t.error;if(ht=null,n)throw t}}else e()}Ue(bt,ft=Xe),bt.create=function(e,t,n){return new Ft(e,t,n)},bt.prototype.next=function(e){this.isStopped||this._next(e)},bt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},bt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},bt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ft.prototype.unsubscribe.call(this),this.destination=null)},bt.prototype._next=function(e){this.destination.next(e)},bt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},bt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ft,yt=bt,vt=Function.prototype.bind;function bt(e){var t=ft.call(this)||this;return t.isStopped=!1,e?tt(t.destination=e)&&e.add(t):t.destination=Mt,t}function wt(e,t){return vt.call(e,t)}kt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){St(e)}},kt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){St(e)}else St(e)},kt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){St(e)}};var xt,$t=kt,Ft=(Ue(Ct,xt=yt),Ct);function Ct(e,t,n){var r=xt.call(this)||this,n=Ze(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&ut?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&wt(e.next,t),error:e.error&&wt(e.error,t),complete:e.complete&&wt(e.complete,t)}):e;return r.destination=new $t(n),r}function kt(e){this.partialObserver=e}function St(e){var t=e;mt.setTimeout(function(){throw t})}var Mt={closed:!0,next:pt,error:function(e){throw e},complete:pt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";Lt.prototype.lift=function(e){var t=new Lt;return t.source=this,t.operator=e,t},Lt.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof yt||r&&Ze(r.next)&&Ze(r.error)&&Ze(r.complete)&&tt(r)?e:new Ft(e,t,n);return gt(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},Lt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Lt.prototype.forEach=function(r,e){var i=this;return new(e=Gt(e))(function(e,t){var n=new Ft({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},Lt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Lt.prototype[e]=function(){return this},Lt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Lt.prototype.toPromise=function(e){var r=this;return new(e=Gt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Lt.create=function(e){return new Lt(e)};var Et=Lt;function Lt(e){e&&(this._subscribe=e)}function Gt(e){return null!=(e=null!=e?e:ct)?e:Promise}var _t,It,Tt,Pt=qe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Ue(Ot,Tt=Et),Ot.prototype.lift=function(e){var t=new Rt(this,this);return t.operator=e,t},Ot.prototype._throwIfClosed=function(){if(this.closed)throw new Pt},Ot.prototype.next=function(i){var a=this;gt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=We(a.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Ot.prototype.error=function(t){var n=this;gt(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)}})},Ot.prototype.complete=function(){var t=this;gt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Ot.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Ot.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Ot.prototype._trySubscribe=function(e){return this._throwIfClosed(),Tt.prototype._trySubscribe.call(this,e)},Ot.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Ot.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?Qe:(this.currentObservers=null,i.push(e),new Xe(function(){t.currentObservers=null,Ke(i,e)}))},Ot.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Ot.prototype.asObservable=function(){var e=new Et;return e.source=this,e},Ot.create=function(e,t){return new Rt(e,t)},Ot),Rt=(Ue(Nt,It=e),Nt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Nt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Nt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Nt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Qe},Nt),Dt={now:function(){return(Dt.delegate||Date).now()},delegate:void 0},Bt=(Ue(At,_t=e),At.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i)||r.push(a.now()+t),this._trimBuffer(),_t.prototype.next.call(this,e)},At.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},At.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},At);function At(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Dt);var r=_t.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 Nt(e,t){var n=It.call(this)||this;return n.destination=e,n.source=t,n}function Ot(){var e=Tt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ht=[],jt={};const zt=[];function Ut(r,i=N){let a;const o=new Set;function s(e){if(n(r,e)&&(r=e,a)){const e=!zt.length;for(const e of o)e[1](),zt.push(e,r);if(e){for(let e=0;e<zt.length;e+=2)zt[e][0](zt[e+1]);zt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=N){const n=[e,t];return o.add(n),1===o.size&&(a=i(s)||N),e(r),()=>{o.delete(n),0===o.size&&a&&(a(),a=null)}}}}function Wt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:Ut(t,t=>{let n=!1;const r=[];let i=0,a=N;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),d?t(e):a=k(e)?e:N)},e=c.map((e,t)=>w(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){H(e),a(),n=!1}}).subscribe}}function Yt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Vt);var t}var Vt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Zt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Qt(Array.isArray(e)?[]:{},e,t):e}function qt(e,t,n){return e.concat(t).map(function(e){return Zt(e,n)})}function Jt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Kt(e,t){try{return t in e}catch(e){return!1}}function Xt(r,i,a){var o={};return a.isMergeableObject(r)&&Jt(r).forEach(function(e){o[e]=Zt(r[e],a)}),Jt(i).forEach(function(e){var t,n;(!Kt(t=r,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Kt(r,e)&&a.isMergeableObject(i[e])?o[e]=((t=a).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Qt)(r[e],i[e],a):o[e]=Zt(i[e],a))}),o}function Qt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||qt,n.isMergeableObject=n.isMergeableObject||Yt,n.cloneUnlessOtherwiseSpecified=Zt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Xt(e,t,n):Zt(t,n)}Qt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Qt(e,t,n)},{});throw new Error("first argument should be an array")};var en=Qt,tn=function(e,t){return(tn=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 nn(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}tn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,rn,f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function an(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function on(e){return e.type===y.literal}function sn(e){return e.type===y.number}function ln(e){return e.type===y.date}function cn(e){return e.type===y.time}function dn(e){return e.type===y.select}function un(e){return e.type===y.plural}function mn(e){return e.type===y.tag}function pn(e){return e&&"object"==typeof e&&e.type===rn.number}function hn(e){return e&&"object"==typeof e&&e.type===rn.dateTime}(e=g=g||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=rn=rn||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,gn=/(?:[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 fn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,yn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,vn=/^(@+)?(\+|#+)?[rs]?$/g,bn=/(\*)(0+)|(#+)(0+)|(0+)/g,wn=/^(0+)$/;function xn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(vn,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 $n(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 Fn(e){return $n(e)||{}}function Cn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=f(f(f({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return f(f({},e),Fn(t))},{}));continue;case"engineering":o=f(f(f({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return f(f({},e),Fn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(bn,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(wn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(yn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(yn,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=i.options[0];"w"===a?o=f(f({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=f(f({},o),xn(a)))}else vn.test(i.stem)?o=f(f({},o),xn(i.stem)):((a=$n(i.stem))&&(o=f(f({},o),a)),(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)),!wn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=f(f({},o),r)))}return o}var kn={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Sn=new RegExp("^".concat(e.source,"*")),Mn=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,En=!!String.fromCodePoint,Ln=!!Object.fromEntries,Gn=!!String.prototype.codePointAt,In=!!String.prototype.trimStart,Tn=!!String.prototype.trimEnd,Pn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Rn=!0;try{Rn="a"===(null==(nr=Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:nr[0])}catch(s){Rn=!1}var Dn,Bn,An=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Nn=En?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},On=Ln?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},Hn=Gn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},jn=In?function(e){return e.trimStart()}:function(e){return e.replace(Sn,"")},zn=Tn?function(e){return e.trimEnd()}:function(e){return e.replace(Mn,"")};function Un(e,t){return new RegExp(e,t)}Bn=Rn?(Dn=Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Dn.lastIndex=t,null!=(t=Dn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=Hn(e,t);if(void 0===i||Vn(i)||33<=(n=i)&&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(i),t+=65536<=i?2:1}return Nn.apply(void 0,r)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Yn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}else{a=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(a,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var n,r=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(i,"/>"),location:v(r,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Yn(this.char())?this.error(g.INVALID_TAG,v(e,this.clonePosition())):(n=this.clonePosition(),i!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,v(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:v(r,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,v(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,v(r,this.clonePosition()))):this.error(g.INVALID_TAG,v(r,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Yn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var 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 Nn.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Nn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,v(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Bn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(m=zn(u.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(r)).err?c:(p=v(r,this.clonePosition()),l&&An(null==l?void 0:l.style,"::",0)?(h=jn(l.style.slice(2)),"number"===o?(u=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?u:{val:{type:y.number,value:n,location:p,style:u.val},err:null}:0===h.length?this.error(g.EXPECT_DATE_TIME_SKELETON,p):(d=h,this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(kn[t||""]||kn[n||""]||kn["".concat(n,"-001")]||kn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale)),m={type:rn.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},d.replace(gn,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.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":i.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":i.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":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.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":i.minute=["numeric","2-digit"][t-1];break;case"s":i.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":i.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""}),i):{}},{val:{type:"date"===o?y.date:y.time,value:n,location:p,style:m},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:p,style:null!=(h=null==l?void 0:l.style)?h:null},err:null});case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,v(d,f({},d)));this.bumpSpace();var u,m=this.parseIdentifierIfPossible(),p=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),m=this.parseIdentifierIfPossible(),p=u.val}var h,l=this.tryParsePluralOrSelectOptions(e,o,t,m);return l.err?l:(c=this.tryParseArgumentClose(r)).err?c:(h=v(r,this.clonePosition()),"select"===o?{val:{type:y.select,value:n,options:On(l.val),location:h},err:null}:{val:{type:y.plural,value:n,options:On(l.val),offset:p,pluralType:"plural"===o?"cardinal":"ordinal",location:h},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,v(a,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(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}},a.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(fn).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:rn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Cn(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;a.push([s,{value:c.val,location:v(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(g.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=v(r,this.clonePosition());return i?Pn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Hn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},a.prototype.bumpIf=function(e){if(An(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Vn(this.char());)this.bump()},a.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Wn=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Yn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Vn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Zn(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Wn(e,t).parse();if(e.err)throw(n=SyntaxError(g[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,dn(e)||un(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else sn(e)&&pn(e.style)||(ln(e)||cn(e))&&hn(e.style)?delete e.style.location:mn(e)&&n(e.children)})}(e.val),e.val}function qn(e,t){var n=t&&t.cache?t.cache:rr,r=t&&t.serializer?t.serializer:Qn;return(t&&t.strategy?t.strategy:function(e,t){return Xn(e,this,1===e.length?Jn:Kn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Jn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function Kn(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function Xn(e,t,n,r,i){return n.bind(t,e,r,i)}var Qn=function(){return JSON.stringify(arguments)};function er(){this.cache=Object.create(null)}er.prototype.get=function(e){return this.cache[e]},er.prototype.set=function(e,t){this.cache[e]=t};var tr,nr,rr={create:function(){return new er}},ir={variadic:function(e,t){return Xn(e,this,Kn,t.cache.create(),t.serializer)},monadic:function(e,t){return Xn(e,this,Jn,t.cache.create(),t.serializer)}};(nr=tr=tr||{}).MISSING_VALUE="MISSING_VALUE",nr.INVALID_VALUE="INVALID_VALUE",nr.MISSING_INTL_API="MISSING_INTL_API";nn(yr,cr=Error),yr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ar,or,sr,lr,cr,dr=yr,ur=(nn(fr,lr=dr),fr),mr=(nn(gr,sr=dr),gr),pr=(nn(hr,or=dr),hr);function hr(e,t){return or.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),tr.MISSING_VALUE,t)||this}function gr(e,t,n){return sr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),tr.INVALID_VALUE,n)||this}function fr(e,t,n,r){return lr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),tr.INVALID_VALUE,r)||this}function yr(e,t,n){e=cr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function vr(e,t,n,r,i,a,o){if(1===e.length&&on(e[0]))return[{type:ar.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(on(d))s.push({type:ar.literal,value:d.value});else if(d.type===y.pound)"number"==typeof a&&s.push({type:ar.literal,value:n.getNumberFormat(t).format(a)});else{var u=d.value;if(!(i&&u in i))throw new pr(u,o);u=i[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?ar.literal:ar.object,value:u});else if(ln(d)){var m="string"==typeof d.style?r.date[d.style]:hn(d.style)?d.style.parsedOptions:void 0;s.push({type:ar.literal,value:n.getDateTimeFormat(t,m).format(u)})}else if(cn(d))m="string"==typeof d.style?r.time[d.style]:hn(d.style)?d.style.parsedOptions:r.time.medium,s.push({type:ar.literal,value:n.getDateTimeFormat(t,m).format(u)});else if(sn(d))(m="string"==typeof d.style?r.number[d.style]:pn(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),s.push({type:ar.literal,value:n.getNumberFormat(t,m).format(u)});else{if(mn(d)){var p=d.children,h=d.value,g=i[h];if("function"!=typeof g)throw new mr(h,"function",o);h=g(vr(p,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(e){return{type:"string"==typeof e?ar.literal:ar.object,value:e}}))}if(dn(d)){if(!(f=d.options[u]||d.options.other))throw new ur(d.value,u,Object.keys(d.options),o);s.push.apply(s,vr(f.value,t,n,r,i))}else if(un(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new dr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',tr.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[g]||d.options.other}if(!f)throw new ur(d.value,u,Object.keys(d.options),o);s.push.apply(s,vr(f.value,t,n,r,i,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===ar.literal&&t.type===ar.literal?n.value+=t.value:e.push(t),e},[])}function br(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=ar=ar||{})[e.literal=0]="literal",e[e.object=1]="object";Object.defineProperty(xr,"defaultLocale",{get:function(){return xr.memoizedDefaultLocale||(xr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),xr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),xr.memoizedDefaultLocale=null,xr.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},xr.__parse=Zn,xr.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var wr=xr;function xr(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=xr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===ar.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return vr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=xr.resolveLocale(t),"string"==typeof e){if(this.message=e,!xr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=xr.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=xr.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?f(f(f({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),r[t]||{}),e},{})):n),e},f({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,an([void 0],t,!1)))},{cache:br((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:ir.variadic}),getDateTimeFormat:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,an([void 0],t,!1)))},{cache:br(t.dateTime),strategy:ir.variadic}),getPluralRules:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,an([void 0],t,!1)))},{cache:br(t.pluralRules),strategy:ir.variadic})}}const $r={},Fr=(e,t,n)=>n&&(t in $r||($r[t]={}),e in $r[t]||($r[t][e]=n),n),Cr=(t,n)=>{if(null!=n){if(n in $r&&t in $r[n])return $r[n][t];var r=zr(n);for(let e=0;e<r.length;e++){var i=function(e,t){if(!Mr(e))return null;e=function(e){return kr[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var r=n.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const n=r.slice(e,r.length).join(".");if(n in t){t=t[n];break}}t=t[r[e]]}else t=void 0;return t}}}(r[e],t);if(i)return Fr(t,n,i)}}};let kr;const Sr=Ut({});function Mr(e){return e in kr}function o(t,...n){delete $r[t],Sr.update(e=>(e[t]=en.all([e[t]||{},...n]),e))}Wt([Sr],([e])=>Object.keys(e)),Sr.subscribe(e=>kr=e);const Er={};function Lr(e){return Er[e]}function Gr(e){return null!=e&&zr(e).some(e=>{return null==(e=Lr(e))?void 0:e.size})}function _r(r,e){return Promise.all(e.map(e=>{return t=r,n=e,Er[t].delete(n),0===Er[t].size&&delete Er[t],e().then(e=>e.default||e);var t,n})).then(e=>o(r,...e))}const Ir={};const Tr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Pr=Ut(!1);var Rr=Object.defineProperty,En=Object.defineProperties,Ln=Object.getOwnPropertyDescriptors,Dr=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable,Nr=(e,t,n)=>t in e?Rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Or;const Hr=Ut(null);function jr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function zr(e,t=Tr.fallbackLocale){e=jr(e);return t?[...new Set([...e,...jr(t)])]:e}function Ur(){return null!=Or?Or:void 0}Hr.subscribe(e=>{Or=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const at=En(((e,t)=>{for(var n in t=t||{})Br.call(t,n)&&Nr(e,n,t[n]);if(Dr)for(var n of Dr(t))Ar.call(t,n)&&Nr(e,n,t[n]);return e})({},Hr),Ln({set:t=>{if(t&&function(e){if(null!=e){var t=zr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Mr(n))return n}}}(t)&&Gr(t)){var n=Tr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ur()&&n?e=window.setTimeout(()=>Pr.set(!0),n):Pr.set(!0),function e(t){var n;return Gr(t)?(n=zr(t).map(e=>{var t=Lr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Ir[t]=Promise.all(n.map(([e,t])=>_r(e,t))).then(()=>{if(Gr(t))return e(t);delete Ir[t]}),Ir[t]):t in Ir?Ir[t]:Promise.resolve()}(t).then(()=>{Hr.set(t)}).finally(()=>{clearTimeout(e),Pr.set(!1)})}return Hr.set(t)}}));var Gn=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Wr=Object.defineProperty,Yr=Object.getOwnPropertySymbols,Vr=Object.prototype.hasOwnProperty,Zr=Object.prototype.propertyIsEnumerable,qr=(e,t,n)=>t in e?Wr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jr=(e,t)=>{for(var n in t=t||{})Vr.call(t,n)&&qr(e,n,t[n]);if(Yr)for(var n of Yr(t))Zr.call(t,n)&&qr(e,n,t[n]);return e},Kr=(e,t)=>{var n={};for(r in e)Vr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Yr)for(var r of Yr(e))t.indexOf(r)<0&&Zr.call(e,r)&&(n[r]=e[r]);return n};const Xr=(e,t)=>{var n=Tr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Qr=Gn(e=>{var{locale:t,format:n}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Xr("number",n)),new Intl.NumberFormat(t,e)}),ei=Gn(e=>{var{locale:t,format:n}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Xr("date",n):0===Object.keys(e).length&&(e=Xr("date","short")),new Intl.DateTimeFormat(t,e)}),ti=Gn(e=>{var{locale:t,format:n}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Xr("time",n):0===Object.keys(e).length&&(e=Xr("time","short")),new Intl.DateTimeFormat(t,e)}),ni=Gn((e,t=Ur())=>new wr(e,t,Tr.formats,{ignoreTag:Tr.ignoreTag})),ri=Wt([at,Sr],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:a,locale:o=Ur(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Cr(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=Tr).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!a)return l;let c=l;try{c=ni(l,o).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),ot=(Wt([at],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Kr(e,["locale"]);return ti(Jr({locale:t},e))})(t).format(e)),Wt([at],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Kr(e,["locale"]);return ei(Jr({locale:t},e))})(t).format(e)),Wt([at],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Kr(e,["locale"]);return Qr(Jr({locale:t},e))})(t).format(e)),Wt([at,Sr],()=>(e,t=Ur())=>Cr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ht.indexOf(e)&&(t=new Bt(t),jt[e]=t,Ht.push(e)),jt[e]}},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),st=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function ii(r,i){return new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",i),je(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function ai(e){at.set(e)}function oi(e,t){o(e,t)}const si={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobby",myGamesName:"My games"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Lobby",myGamesName:"My games"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"}};function li(e,t){o(e,t)}const ci={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"prijava",register:"registracija",deposit:"uplata"}};function di(e,t,n){e=e.slice();return e[47]=t[n],e[49]=n,e}function ui(e,t,n){e=e.slice();return e[50]=t[n],e}function mi(e,t,n){e=e.slice();return e[53]=t[n],e[55]=n,e}function pi(t){let r,i=[],n=new Map,a=t[9];const o=e=>e[47].id;for(let e=0;e<a.length;e+=1){var s=di(t,a,e),l=o(s);n.set(l,i[e]=xi(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,r,n)},p(e,t){12237&t[0]&&(a=e[9],i=le(i,t,o,1,e,a,n,r.parentNode,se,xi,r,di))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&me(r)}}}function hi(e){let n,r,i=e[47].name+"";return{c(){n=pe("a"),r=he(i),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[0]&&i!==(i=e[47].name+"")&&ye(r,i)},d(e){e&&me(n)}}}function gi(e){let n,r,i=e[47].label+"";return{c(){n=pe("a"),r=he(i),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[0]&&i!==(i=e[47].label+"")&&ye(r,i)},d(e){e&&me(n)}}}function fi(e){let n,r=0<e[10].length&&"true"==e[3]&&yi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){0<e[10].length&&"true"==e[3]?r?r.p(e,t):((r=yi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function yi(t){let i,a=t[10],o=[];for(let e=0;e<a.length;e+=1)o[e]=wi(ui(t,a,e));return{c(){i=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class","DropDown")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(i,null)},p(t,n){if(10176&n[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){var r=ui(t,a,e);o[e]?o[e].p(r,n):(o[e]=wi(r),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&me(i),j(o,e)}}}function vi(n){let r,i,a,o,s,l,c,d=n[53]?.name+"";function u(...e){return n[29](n[47],n[49],n[53],n[55],...e)}return{c(){r=pe("li"),i=pe("a"),a=he(d),s=ge(),fe(i,"class",o="SubDropDown "+(n[49]!=n[6]||n[7]!=n[55]&&n[8]!=n[55]?"":"active"))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,s),l||(c=U(r,"click",u),l=!0)},p(e,t){n=e,1024&t[0]&&d!==(d=n[53]?.name+"")&&ye(a,d),1984&t[0]&&o!==(o="SubDropDown "+(n[49]!=n[6]||n[7]!=n[55]&&n[8]!=n[55]?"":"active"))&&fe(i,"class",o)},d(e){e&&me(r),l=!1,c()}}}function bi(e,n){let r,i,a=n[49]==n[50].index&&vi(n);return{key:e,first:null,c(){r=c(),a&&a.c(),i=c(),this.first=r},m(e,t){ue(e,r,t),a&&a.m(e,t),ue(e,i,t)},p(e,t){(n=e)[49]==n[50].index?a?a.p(n,t):((a=vi(n)).c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(e){e&&me(r),a&&a.d(e),e&&me(i)}}}function wi(t){let r,i=[],n=new Map,a=t[50].items;const o=e=>e[53].id;for(let e=0;e<a.length;e+=1){var s=mi(t,a,e),l=o(s);n.set(l,i[e]=bi(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,r,n)},p(e,t){10176&t[0]&&(a=e[50].items,i=le(i,t,o,1,e,a,n,r.parentNode,se,bi,r,mi))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&me(r)}}}function xi(e,n){let r,i,a,o,s,l;function c(e){return"headerMain"===e[0]?gi:hi}let d=c(n),u=d(n),m=1==n[11][n[49]]&&fi(n);function p(...e){return n[30](n[47],n[49],...e)}return{key:e,first:null,c(){r=pe("li"),u.c(),i=ge(),m&&m.c(),a=ge(),fe(r,"class",o="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[47].id.split("$").pop()?"active":"":n[2]==n[47].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),fe(r,"part","CarouselItem"),this.first=r},m(e,t){ue(e,r,t),u.m(r,null),de(r,i),m&&m.m(r,null),de(r,a),s||(l=U(r,"click",p),s=!0)},p(e,t){d===(d=c(n=e))&&u?u.p(n,t):(u.d(1),(u=d(n))&&(u.c(),u.m(r,i))),1==n[11][n[49]]?m?m.p(n,t):((m=fi(n)).c(),m.m(r,a)):m&&(m.d(1),m=null),517&t[0]&&o!==(o="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[47].id.split("$").pop()?"active":"":n[2]==n[47].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&fe(r,"class",o)},d(e){e&&me(r),u.d(),m&&m.d(),s=!1,l()}}}function $i(n){let r,i,a,o,s,l,c,d,u,m,p,h,g,f,y,v=0<n[9].length&&pi(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("div")).innerHTML='<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=ge(),s=pe("div"),l=pe("ul"),(c=pe("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',d=ge(),v&&v.c(),u=ge(),(m=pe("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',this.c=N,fe(a,"class","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(m,"class","CarouselRightArrow"),fe(i,"class",p="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(i,"style",h="headerMain"===n[0]?"max-width: auto":`max-width: ${n[1]}px`),fe(r,"class",g="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),de(s,l),de(l,c),de(l,d),v&&v.m(l,null),n[31](l),n[32](s),de(i,u),de(i,m),n[34](r),f||(y=[U(a,"click",n[28]),U(m,"click",n[33])],f=!0)},p(e,t){0<e[9].length?v?v.p(e,t):((v=pi(e)).c(),v.m(l,null)):v&&(v.d(1),v=null),1&t[0]&&p!==(p="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(i,"class",p),3&t[0]&&h!==(h="headerMain"===e[0]?"max-width: auto":`max-width: ${e[1]}px`)&&fe(i,"style",h),1&t[0]&&g!==(g="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(r,"class",g)},i:N,o:N,d(e){e&&me(r),v&&v.d(),n[31](null),n[32](null),n[34](null),f=!1,H(y)}}}function Fi(t,e,a){let{endpoint:o=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:r="0"}=e,{location:c=""}=e,{clientstyling:i=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{translationurl:m=""}=e,{containermaxwidth:p=""}=e,{isprimarymenu:h=!1}=e,{issecondarymenu:g=!1}=e,{lang:f=""}=e,{activeindex:y="0"}=e,{showsubgroups:v="false"}=e;var b,w;({withLocale:b,translations:w}={withLocale:"en",translations:{}}),at.subscribe(e=>{null==e&&(Sr.set(w),at.set(b))}),Object.keys(ci).forEach(e=>{li(e,ci[e])});let x,$,F,C,k,S=window.navigator.userAgent;st(S);let M,E=[],L=[],G=[],_=(e,t,n,r,i)=>{e.subGroups&&null===r||(R(),a(6,$=t),a(6,$),"secondary"!=i?(window.postMessage({type:"NavigateTo",itemId:e.id,index:t,item:e,path:e.path,externalLink:e.externalLink||!1,target:(null==(i=e.attrs)?void 0:i.target)||null},window.location.href),a(7,F=null),a(8,C=null)):(a(7,F=r),a(7,F),a(8,C=F),window.postMessage({type:l,itemId:n.id,subIndex:r,subItem:n},window.location.href)))},I=()=>{M.scrollBy({left:-250,behavior:"smooth"})},T=()=>{M.scrollBy({left:250,behavior:"smooth"})};const P=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(a(9,E=e.data.data),a(11,G=new Array(E.length).fill(!1)),"true"==v)&&E.forEach((e,t)=>{var r,i,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(a(11,G[t]=!0,G),r=e,i=t,"secondaryMenu"==c&&o&&s&&f&&r.id&&(n=new URL(`${o}/casino/groups/${s}/${r.id}/subGroups?language=`+f),fetch(n.href).then(e=>e.json()).then(e=>{e.index=i,a(10,L=L.concat(e)),"false"==v&&window.postMessage({type:l,itemId:r.id,index:i,item:r},window.location.href);const n=[];L.map(e=>(e.items.forEach(t=>{n.find(e=>t.id==e)||n.push(t.id)}),n.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:n},window.location.href)}).then(()=>{x.querySelectorAll(".DropDown")&&R()})),"headerMain"==c)&&window.postMessage({type:l,item:r},window.location.href)}),"GoToHomepage"==e.data.type&&E.forEach((e,t)=>{e.path.endsWith("/casino")&&(a(6,$=t),a(6,$))})},R=()=>{var t=x.querySelectorAll(".DropDown");document.activeElement.blur(),M.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+M.scrollLeft+"px)";M.classList.remove("isScrolling")};return rt(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",P,!1),setTimeout(()=>{M.addEventListener("scroll",R)},500),()=>{window.removeEventListener("message",P),x.removeEventListener("scroll",R)})),t.$$set=e=>{"endpoint"in e&&a(16,o=e.endpoint),"datasource"in e&&a(17,s=e.datasource),"onclickeventname"in e&&a(18,n=e.onclickeventname),"actionevent"in e&&a(19,l=e.actionevent),"favoritesnumber"in e&&a(20,r=e.favoritesnumber),"location"in e&&a(0,c=e.location),"clientstyling"in e&&a(21,i=e.clientstyling),"clientstylingurl"in e&&a(22,d=e.clientstylingurl),"identity"in e&&a(23,u=e.identity),"translationurl"in e&&a(24,m=e.translationurl),"containermaxwidth"in e&&a(1,p=e.containermaxwidth),"isprimarymenu"in e&&a(25,h=e.isprimarymenu),"issecondarymenu"in e&&a(26,g=e.issecondarymenu),"lang"in e&&a(27,f=e.lang),"activeindex"in e&&a(2,y=e.activeindex),"showsubgroups"in e&&a(3,v=e.showsubgroups)},t.$$.update=()=>{if(t.$$.dirty[0],16777216&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{li(e,t[e])})}).catch(e=>{console.log(e)}),2097168&t.$$.dirty[0]&&i&&k&&((e=document.createElement("style")).innerHTML=i,k.appendChild(e)),4194320&t.$$.dirty[0]&&d&&k){let t=document.createElement("style"),e=new URL(d);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{k.appendChild(t)},1)})}var e;134217728&t.$$.dirty[0]&&f&&(e=f,at.set(e))},[c,p,y,v,k,x,$,F,C,E,L,G,M,_,I,T,o,s,n,l,r,i,d,u,m,h,g,f,()=>I(),(e,t,n,r,i)=>{_(e,t,n,r,"secondary"),i.stopPropagation()},(e,t,n)=>{_(e,t,null,null,"main"),n.preventDefault()},function(e){it[e?"unshift":"push"](()=>{x=e,a(5,x)})},function(e){it[e?"unshift":"push"](()=>{M=e,a(12,M)})},()=>T(),function(e){it[e?"unshift":"push"](()=>{k=e,a(4,k)})}]}function Ci(n){let r,i,a,o;return{c(){r=pe("div"),C(i=pe("casino-slider"),"lang",n[3]),C(i,"datasource",n[2]),C(i,"endpoint",n[1]),C(i,"identity",Ei),C(i,"favoritesnumber",n[13]),C(i,"showsubgroups",n[9]),C(i,"clientstyling",n[4]),C(i,"clientstylingurl",n[5]),C(i,"containermaxwidth",n[6]),C(i,"activeindex",n[0]),C(i,"actionevent",n[7]),C(i,"location",n[8]),fe(r,"class","CasinoCategoriesContainer"),fe(r,"part","CasinoCategoriesContainer")},m(e,t){ue(e,r,t),de(r,i),a||(o=S(n[14].call(null,i)),a=!0)},p(e,t){8&t[0]&&C(i,"lang",e[3]),4&t[0]&&C(i,"datasource",e[2]),2&t[0]&&C(i,"endpoint",e[1]),8192&t[0]&&C(i,"favoritesnumber",e[13]),512&t[0]&&C(i,"showsubgroups",e[9]),16&t[0]&&C(i,"clientstyling",e[4]),32&t[0]&&C(i,"clientstylingurl",e[5]),64&t[0]&&C(i,"containermaxwidth",e[6]),1&t[0]&&C(i,"activeindex",e[0]),128&t[0]&&C(i,"actionevent",e[7]),256&t[0]&&C(i,"location",e[8])},d(e){e&&me(r),a=!1,o()}}}function ki(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Si(e){let n;return{c(){fe(n=pe("div"),"class","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Mi(n){let r;function i(e){return e[10]?Si:e[12]?ki:Ci}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=N},m(e,t){ue(e,r,t),o.m(r,null),n[24](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o.d(),n[24](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;padding:7px 10px;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Fi,$i,n,{endpoint:16,datasource:17,onclickeventname:18,actionevent:19,favoritesnumber:20,location:0,clientstyling:21,clientstylingurl:22,identity:23,translationurl:24,containermaxwidth:1,isprimarymenu:25,issecondarymenu:26,lang:27,activeindex:2,showsubgroups:3},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups"]}get endpoint(){return this.$$.ctx[16]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[17]}set datasource(e){this.$$set({datasource:e}),m()}get onclickeventname(){return this.$$.ctx[18]}set onclickeventname(e){this.$$set({onclickeventname:e}),m()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),m()}get favoritesnumber(){return this.$$.ctx[20]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),m()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),m()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get identity(){return this.$$.ctx[23]}set identity(e){this.$$set({identity:e}),m()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),m()}get containermaxwidth(){return this.$$.ctx[1]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),m()}get isprimarymenu(){return this.$$.ctx[25]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),m()}get issecondarymenu(){return this.$$.ctx[26]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),m()}get lang(){return this.$$.ctx[27]}set lang(e){this.$$set({lang:e}),m()}get activeindex(){return this.$$.ctx[2]}set activeindex(e){this.$$set({activeindex:e}),m()}get showsubgroups(){return this.$$.ctx[3]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}});let Ei="CasinoSliderData";function Li(n,e,i){let r;lt(n,ri,e=>i(30,r=e));let a,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{userid:t=""}=e,{session:m=""}=e,{mostplayed:p=""}=e,{lastplayed:h="false"}=e,{favorites:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{containermaxwidth:v=""}=e,{activecategory:b=""}=e,{actionevent:w=""}=e,{sessioncheck:x=""}=e,{location:$="secondaryMenu"}=e,{showsubgroups:F="false"}=e,{filteredcategories:C=""}=e,{translationurl:k=""}=e,S=!0,M=[],E=!1,L=window.navigator.userAgent,G=!1,_=!1;Object.keys(si).forEach(e=>{oi(e,si[e])});const I=()=>{window.postMessage({type:"SliderData",identity:Ei,data:M},window.location.href)};return n.$$set=e=>{"endpoint"in e&&i(1,c=e.endpoint),"datasource"in e&&i(2,d=e.datasource),"lang"in e&&i(3,u=e.lang),"userid"in e&&i(15,t=e.userid),"session"in e&&i(16,m=e.session),"mostplayed"in e&&i(17,p=e.mostplayed),"lastplayed"in e&&i(18,h=e.lastplayed),"favorites"in e&&i(19,g=e.favorites),"clientstyling"in e&&i(4,f=e.clientstyling),"clientstylingurl"in e&&i(5,y=e.clientstylingurl),"containermaxwidth"in e&&i(6,v=e.containermaxwidth),"activecategory"in e&&i(0,b=e.activecategory),"actionevent"in e&&i(7,w=e.actionevent),"sessioncheck"in e&&i(20,x=e.sessioncheck),"location"in e&&i(8,$=e.location),"showsubgroups"in e&&i(9,F=e.showsubgroups),"filteredcategories"in e&&i(21,C=e.filteredcategories),"translationurl"in e&&i(22,k=e.translationurl)},n.$$.update=()=>{if(14&n.$$.dirty[0]&&c&&d&&u&&(a=r("myGamesName"),o=r("lobbyName"),c||(s="Endpoint is missing! Please provide a valid endpointURL.",i(12,E=!0),i(10,S=!1),console.error(s)),d||(s="Datasource is missing! Please provide a valid datasource.",i(12,E=!0),i(10,S=!1),console.error(s)),(!u||u.length<2)&&(s="Language is missing! Please provide a valid language (alpha2code)",i(12,E=!0),i(10,S=!1),console.error(s)),E||((t=new URL(c+"/casino/groups/"+d)).searchParams.append("datasource",d),t.searchParams.append("language",u),t.searchParams.append("platform",st(L)),fetch(t).then(e=>e.json()).then(e=>{let r=C.split(","),t=e.items.filter(e=>{let t=!1;if(0<e.games.total&&(t=!0,C))for(var n of r)e.flags==n&&(t=!1);return t});(M=(M=[]).concat(t)).unshift({id:"LOBBY",name:o,href:"",games:[]}),i(10,S=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{i(12,E=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{i(12,E=!0),console.error("There was an error while fetching the categories",e)}))),984066&n.$$.dirty[0]&&c&&m&&(p||h||g)&&!S&&(0!=G||"true"!=g&&"true"!=p&&"true"!=h||M.splice(1,0,{id:"MYGAMES",name:a,href:"",games:[]}),Ce(),G=!0,i(23,_=!0),I()),8455169&n.$$.dirty[0]&&!S&&b&&(!m||_)&&(t=b.split("$"),i(0,b=2<t.length?b.split("$").slice(0,2).join("$"):b)),2064&n.$$.dirty[0]&&f&&l&&((e=document.createElement("style")).innerHTML=f,l.appendChild(e)),4194304&n.$$.dirty[0]&&k&&fetch(k).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{oi(e,t[e])})}).catch(e=>{console.log(e)}),2080&n.$$.dirty[0]&&y&&l){let t=document.createElement("style"),e=new URL(y);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})}var e,t},i(13,0),[b,c,d,u,f,y,v,w,$,F,S,l,E,0,I,t,m,p,h,g,x,C,k,_,function(e){it[e?"unshift":"push"](()=>{l=e,i(11,l)})}]}function Gi(e,t){o(e,t)}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoCategoriesLoading{height:52px}p{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Li,Mi,n,{endpoint:1,datasource:2,lang:3,userid:15,session:16,mostplayed:17,lastplayed:18,favorites:19,clientstyling:4,clientstylingurl:5,containermaxwidth:6,activecategory:0,actionevent:7,sessioncheck:20,location:8,showsubgroups:9,filteredcategories:21,translationurl:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","lastplayed","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories","translationurl"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get userid(){return this.$$.ctx[15]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[16]}set session(e){this.$$set({session:e}),m()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get favorites(){return this.$$.ctx[19]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get containermaxwidth(){return this.$$.ctx[6]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),m()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),m()}get actionevent(){return this.$$.ctx[7]}set actionevent(e){this.$$set({actionevent:e}),m()}get sessioncheck(){return this.$$.ctx[20]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get location(){return this.$$.ctx[8]}set location(e){this.$$set({location:e}),m()}get showsubgroups(){return this.$$.ctx[9]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get filteredcategories(){return this.$$.ctx[21]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get translationurl(){return this.$$.ctx[22]}set translationurl(e){this.$$set({translationurl:e}),m()}});const _i={en:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"},"zh-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"},de:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"},it:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"},fr:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"},es:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Borrar",noGamesPlayed:"No has jugado ningún juego! Juega Ya"},tr:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"},ru:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"},ro:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"},hr:{500:"pogreška na serveru",search:"traži",loading:"Učitavanje",searchMobile:"traži",break:"Take 1 day break from playing",breakButton:"Držite gumb na 3 sekunde za 24-satno zaključavanje",searchGames:"pretraži igrice",filters:"Filteri",clear:"Očisti",noGamesPlayed:"Nema odigranih igara"},hu:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"},pl:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"},pt:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"},sl:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"},sr:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}};function Ii(e,t){o(e,t)}const Ti={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"},tr:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"},hr:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Rezultat pretraživanja",recentSearchedItems:"Nedavno Pretraženo",noRecentSearch:"Još nema započetih pretraživanja. Jednostavno pretražite igru",noResults:"Oprostite, nema rezultata. Molimo pokušajte ponovo",favorites:"Favoriti",noFavoritesMobile:"Stisnite na ikonu zvjezdice u gornjem desnom kutu kako bi je dodali u favorite",noFavorites:"Stisnite na ikonu zvjezdice u gornjem desnom kutu kako bi je dodali u favorite",noFavoritesTitle:"Nemate favoriziranih igara",waiting:"Čekanje"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}};Ri=Pi={path:void 0,exports:{},require:function(e,t){return _n(null==t&&Pi.path)}},Pi.exports,Ri.exports=function(){var D;function h(){return D.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function B(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function A(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function s(e){return void 0===e}function N(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function O(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return _t(e,t,n,r,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function z(e){if(null==e._isValid){var t=f(e),n=W.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function U(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},Y=h.momentProperties=[],V=!1;function Z(e,t){var n,r,i,a=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(i=t[r=Y[n]])||(e[r]=i);return e}function q(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,h.updateOffset(this),V=!1)}function l(e){return e instanceof q||null!=e&&null!=e._isAMomentObject}function J(e){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return j(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,a),s){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}J(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var K={};function X(e,t){null!=h.deprecationHandler&&h.deprecationHandler(e,t),K[e]||(J(t),K[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=j({},e);for(n in t)g(t,n)&&(B(e[n])&&B(t[n])?(r[n]={},j(r[n],e[n]),j(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)g(e,n)&&!g(t,n)&&B(e[n])&&(r[n]=j({},r[n]));return r}function ee(e){null!=e&&this.set(e)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function a(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},ae={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=i),t&&(ae[t[0]]=function(){return a(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,a=i.length;t<a;t++)ae[i[t]]?i[t]=ae[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=d(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function u(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)g(e,n)&&(t=u(n))&&(r[t]=e[n]);return r}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function m(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function p(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?m(e):t}function me(t,n){return function(e){return null!=e?(he(this,t,e),h.updateOffset(this,n),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=p(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,$e=/[+-]?\d{1,6}/,Fe=/\d+/,Ce=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,Se=/Z|[+-]\d\d(?::?\d\d)?/gi,b=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,n,r){Ee[e]=d(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return g(Ee,e)?Ee[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ee={},Le={};function $(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),N(n)&&(i=function(e,t){t[n]=p(e)}),r=e.length,t=0;t<r;t++)Le[e[t]]=i}function Ge(e,i){$(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var F,C=0,k=1,S=2,M=3,E=4,L=5,_e=6,Ie=7,Te=8;function Pe(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?ue(e)?29:28:31-n%7%2)}F=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",v),w("MM",v,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),$(["M","MM"],function(e,t){t[k]=p(e)-1}),$(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[k]=r:f(n).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Be=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae=b,Ne=b;function Oe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!N(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function He(e){return null!=e?(Oe(this,e),h.updateOffset(this,!0),this):pe(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=x(n[a]),r[a]=x(r[a]);for(a=0;a<24;a++)i[a]=x(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function ze(e){return ue(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",Ce),w("YY",v,y),w("YYYY",xe,fe),w("YYYYY",$e,ye),w("YYYYYY",$e,ye),$(["YYYYY","YYYYYY"],C),$("YYYY",function(e,t){t[C]=2===e.length?h.parseTwoDigitYear(e):p(e)}),$("YY",function(e,t){t[C]=h.parseTwoDigitYear(e)}),$("Y",function(e,t){t[C]=parseInt(e,10)}),h.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var Ue=me("FullYear",!0);function We(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Ye(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var a,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,i),n=t<=0?ze(a=e-1)+t:t>ze(e)?(a=e+1,t-ze(e)):(a=e,t);return{year:a,dayOfYear:n}}function qe(e,t,n){var r,i,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+G(i=e.year()-1,t,n):a>G(e.year(),t,n)?(r=a-G(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function G(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(ze(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",v),w("ww",v,y),w("W",v),w("WW",v,y),Ge(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=p(e)});function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",v),w("e",v),w("E",v),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Ge(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),Ge(["d","e","E"],function(e,t,n,r){t[r]=p(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=b,tt=b,nt=b;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=x(this.weekdaysMin(r,"")),n=x(this.weekdaysShort(r,"")),r=x(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function at(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",v),w("h",v),w("k",v),w("HH",v,y),w("hh",v,y),w("kk",v,y),w("hmm",ve),w("hmmss",be),w("Hmm",ve),w("Hmmss",be),$(["H","HH"],M),$(["k","kk"],function(e,t,n){e=p(e);t[M]=24===e?0:e}),$(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),$(["h","hh"],function(e,t,n){t[M]=p(e),f(n).bigHour=!0}),$("hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[E]=p(e.substr(r)),f(n).bigHour=!0}),$("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[E]=p(e.substr(r,2)),t[L]=p(e.substr(i)),f(n).bigHour=!0}),$("Hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[E]=p(e.substr(r))}),$("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[E]=p(e.substr(r,2)),t[L]=p(e.substr(i))});b=me("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:De,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},_={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=dt(e[a]).split("-")).length,n=(n=dt(e[a+1]))?n.split("-"):null;0<t;){if(r=mt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return st}function mt(t){var e;if(void 0===_[t]&&Ri&&Ri.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,_n(),pt(e)}catch(e){_[t]=null}return _[t]}function pt(e,t){return e&&((t=s(t)?I(e):ht(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function ht(e,t){if(null===t)return delete _[e],null;var n,r=lt;if(t.abbr=e,null!=_[e])X("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=_[e]._config;else if(null!=t.parentLocale)if(null!=_[t.parentLocale])r=_[t.parentLocale]._config;else{if(null==(n=mt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return _[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){ht(e.name,e.config)}),pt(e),_[e]}function I(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=mt(e))return t;e=[e]}return ut(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[k]<0||11<t[k]?k:t[S]<1||t[S]>Pe(t[C],t[k])?S:t[M]<0||24<t[M]||24===t[M]&&(0!==t[E]||0!==t[L]||0!==t[_e])?M:t[E]<0||59<t[E]?E:t[L]<0||59<t[L]?L:t[_e]<0||999<t[_e]?_e:-1,f(e)._overflowDayOfYear&&(t<C||S<t)&&(t=S),f(e)._overflowWeeks&&-1===t&&(t=Ie),f(e)._overflowWeekday&&-1===t&&(t=Te),f(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xt=/^\/?Date\((-?\d+)/i,$t=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ft={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ct(e){var t,n,r,i,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=bt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(bt[t][1].exec(l[1])){i=bt[t][0],r=!1!==bt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Lt(e)}else e._isValid=!1}function kt(e,t,n,r,i,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&e.push(parseInt(a,10)),e}function St(e){var t,n,r,i,a=$t.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=kt(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&Xe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=a[8],r=a[9],i=a[10],n?Ft[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function Et(e){var t,n,r,i,a,o,s,l,c,d,u,m=[];if(!e._d){for(d=e,u=new Date(h.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[S]&&null==e._a[k]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,r=Mt(u.GG,d._a[C],qe(T(),1,4).year),i=Mt(u.W,1),((a=Mt(u.E,1))<1||7<a)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=qe(T(),o,s),r=Mt(u.gg,d._a[C],c.year),i=Mt(u.w,c.week),null!=u.d?((a=u.d)<0||6<a)&&(l=!0):null!=u.e?(a=u.e+o,(u.e<0||6<u.e)&&(l=!0)):a=o),i<1||i>G(r,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=Ze(r,i,a,o,s),d._a[C]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[C],n[C]),(e._dayOfYear>ze(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(u,0,e._dayOfYear),e._a[k]=l.getUTCMonth(),e._a[S]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[E]&&0===e._a[L]&&0===e._a[_e]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:We).apply(null,m),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==h.ISO_8601)if(e._f!==h.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,i=""+e._i,a=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(i.match(Me(r,e))||[])[0])&&(0<(u=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(u),i=i.slice(i.indexOf(t)+t.length),o+=t.length),ae[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),u=r,p=e,null!=(m=t)&&g(Le,u)&&Le[u](m,p._a,p,u)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=a-o,0<i.length&&f(e).unusedInput.push(i),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(a=e._locale,c=e._a[M],null==(d=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,d):null!=a.isPM?((a=a.isPM(d))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[C]=e._locale.erasConvertYear(d,e._a[C])),Et(e),gt(e)}else St(e);else Ct(e);var c,d,u,m,p}function Gt(e){var t,n=e._i,r=e._f;{var i,a;return(e._locale=e._locale||I(e._l),null===n||void 0===r&&""===n)?U({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new q(gt(n)):(O(n)?e._d=n:o(r)?function(e){var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)a=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Lt(t),z(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o)&&(s=!0);j(e,n||t)}(e):r?Lt(e):s(r=(n=e)._i)?n._d=new Date(h.now()):O(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(a=xt.exec(i._i))?(Ct(i),!1===i._isValid&&(delete i._isValid,St(i),!1===i._isValid)&&(delete i._isValid,i._strict?i._isValid=!1:h.createFromInputFallback(i))):i._d=new Date(+a[1])):o(r)?(n._a=H(r.slice(0),function(e){return parseInt(e,10)}),Et(n)):B(r)?(i=n)._d||(t=void 0===(a=ce(i._i)).day?a.date:a.day,i._a=H([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),Et(i)):N(r)?n._d=new Date(r):h.createFromInputFallback(n),z(e)||(e._d=null),e))}}function _t(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(B(e)&&A(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(i=new q(gt(Gt(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function T(e,t,n,r){return _t(e,t,n,r,!1)}h.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=T.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),be=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=T.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});function It(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return T();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Tt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Tt.length;for(t in e)if(g(e,t)&&(-1===F.call(Tt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Tt[n]]){if(r)return!1;parseFloat(e[Tt[n]])!==p(e[Tt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=I(),this._bubble()}function Rt(e){return e instanceof Pt}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Bt(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}Bt("Z",":"),Bt("ZZ",""),w("Z",Se),w("ZZ",Se),$(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(Se,e)});var At=/([\+\-]|\d\d)/gi;function Nt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(At)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Ot(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||O(e)?e:T(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),h.updateOffset(t,!1),t):T(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var zt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(e,t){var n,r,i=e;return Rt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:N(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(t=zt.exec(e))?(n="-"===t[1]?-1:1,i={y:0,d:p(t[S])*n,h:p(t[M])*n,m:p(t[E])*n,s:p(t[L])*n,ms:p(Dt(1e3*t[_e]))*n}):(t=Ut.exec(e))?(n="-"===t[1]?-1:1,i={y:Wt(t[2],n),M:Wt(t[3],n),w:Wt(t[4],n),d:Wt(t[5],n),h:Wt(t[6],n),m:Wt(t[7],n),s:Wt(t[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=T(i.from),n=T(i.to),t=t.isValid()&&n.isValid()?(n=Ot(n,t),t.isBefore(n)?r=Yt(t,n):((r=Yt(n,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=t.milliseconds,i.M=t.months),r=new Pt(i),Rt(e)&&g(e,"_locale")&&(r._locale=e._locale),Rt(e)&&g(e,"_isValid")&&(r._isValid=e._isValid),r}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Yt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(X(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,P(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,a=Dt(t._days),t=Dt(t._months);e.isValid()&&(r=null==r||r,t&&Oe(e,pe(e,"Month")+t*n),a&&he(e,"Date",pe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r)&&h.updateOffset(e,a||t)}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Re=Vt(1,"add"),Ke=Vt(-1,"subtract");function qt(e){return"string"==typeof e||e instanceof String}function Jt(e){return l(e)||O(e)||qt(e)||N(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!N(e)&&qt(t)}).length),n&&r)||function(e){var t,n,r=B(e)&&!A(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],i=i||g(e,n);return r&&i}(e)||null==e;var t,n,r}function Kt(e,t){var n,r;return e.date()<t.date()?-Kt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(n,"months"))<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=I(e))&&(this._locale=e),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(x(i[a].name)),e.push(x(i[a].abbr)),n.push(x(i[a].narrow)),r.push(x(i[a].name)),r.push(x(i[a].abbr)),r.push(x(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function sn(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var a;return null==e?qe(this,r,i).year:(t>(a=G(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=Ye(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),$(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),w("y",Fe),w("yy",Fe),w("yyy",Fe),w("yyyy",Fe),w("yo",function(e,t){return t._eraYearOrdinalRegex||Fe}),$(["y","yy","yyy","yyyy"],C),$(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[C]=n._locale.eraYearOrdinalParse(e,i):t[C]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",Ce),w("g",Ce),w("GG",v,y),w("gg",v,y),w("GGGG",xe,fe),w("gggg",xe,fe),w("GGGGG",$e,ye),w("ggggg",$e,ye),Ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=p(e)}),Ge(["gg","GG"],function(e,t,n,r){t[r]=h.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",i),$("Q",function(e,t){t[k]=3*(p(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",v),w("DD",v,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),$(["D","DD"],S),$("Do",function(e,t){t[S]=p(e.match(v)[0])});xe=me("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),$(["DDD","DDDD"],function(e,t,n){n._dayOfYear=p(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",v),w("mm",v,y),$(["m","mm"],E);fe=me("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",v),w("ss",v,y),$(["s","ss"],L);var cn,$e=me("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,i),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Fe);function dn(e,t){t[_e]=p(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")$(cn,dn);ye=me("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=q.prototype;function un(e){return e}i.add=Re,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=B(e)&&!A(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||g(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||T(),n=Ot(e,this).startOf("day"),n=h.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,T(e)))},i.clone=function(){return new q(this)},i.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Ot(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=u(t)){case"year":a=Kt(this,r)/12;break;case"month":a=Kt(this,r);break;case"quarter":a=Kt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:m(a)},i.endOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}this._d.setTime(t),h.updateOffset(this,!0)}return this},i.format=function(e){return e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||T(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(T(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||T(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(T(),e)},i.get=function(e){return d(this[e=u(e)])?this[e]():this},i.invalidAt=function(){return f(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:T(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:T(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:T(e),t=l(t)?t:T(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:T(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return z(this)},i.lang=Qe,i.locale=Xt,i.localeData=Qt,i.max=be,i.min=ve,i.parsingFlags=function(){return j({},f(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)g(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}this._d.setTime(t),h.updateOffset(this,!0)}return this},i.subtract=Ke,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},i.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-h(n[r].since).year())*e+n[r].offset;return this.year()},i.year=Ue,i.isLeapYear=function(){return ue(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=He,i.daysInMonth=function(){return Pe(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return G(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return G(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return G(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return G(this.isoWeekYear(),1,4)},i.date=xe,i.day=i.days=function(e){var t,n,r;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,r=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=r.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},i.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},i.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},i.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},i.hour=i.hours=b,i.minute=i.minutes=fe,i.second=i.seconds=$e,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Ht(this);if("string"==typeof e){if(null===(e=Nt(Se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ht(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,P(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ht(this),"m"),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Nt(ke,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?T(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=jt,i.isUTC=jt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",xe),i.months=e("months accessor is deprecated. Use month instead",He),i.years=e("years accessor is deprecated. Use year instead",Ue),i.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(Z(t={},this),(t=Gt(t))._a?(e=(t._isUTC?c:T)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&p(e[o])!==p(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function mn(e,t,n,r){var i=I(),r=c().set(r,t);return i[n](r,e)}function pn(e,t,n){if(N(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=mn(e,i,n,"month");return r}function hn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),N(t)&&(n=t,t=void 0),t||"");var i,a=I(),o=e?a._week.dow:0,s=[];if(null!=n)return mn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=mn(t,(i+o)%7,r,"day");return s}y.calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=un,y.postformat=un,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return d(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)g(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var n,r=this._eras||I("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=h(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=h(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?h(e.since).year():h(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Be).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Be.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=F.call(this._shortMonthsParse,e))?i:null:-1!==(i=F.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=F.call(this._shortMonthsParse,e))||-1!==(i=F.call(this._longMonthsParse,e))?i:null:-1!==(i=F.call(this._longMonthsParse,e))||-1!==(i=F.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return qe(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Je(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=F.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=F.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=F.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=F.call(this._weekdaysParse,e))||-1!==(i=F.call(this._shortWeekdaysParse,e))||-1!==(i=F.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=F.call(this._shortWeekdaysParse,e))||-1!==(i=F.call(this._weekdaysParse,e))||-1!==(i=F.call(this._minWeekdaysParse,e))?i:null:-1!==(i=F.call(this._minWeekdaysParse,e))||-1!==(i=F.call(this._weekdaysParse,e))||-1!==(i=F.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},pt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===p(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),h.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),h.langData=e("moment.langData is deprecated. Use moment.localeData instead.",I);var gn=Math.abs;function fn(e,t,n,r){t=P(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),ge=wn("s"),Re=wn("m"),be=wn("h"),ve=wn("d"),Ke=wn("w"),b=wn("M"),fe=wn("Q"),$e=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),Ue=xn("minutes"),y=xn("hours"),$n=xn("days"),Fn=xn("months"),Cn=xn("years");var kn=Math.round,Sn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var i=P(e).abs(),a=kn(i.as("s")),o=kn(i.as("m")),s=kn(i.as("h")),l=kn(i.as("d")),c=kn(i.as("M")),d=kn(i.as("w")),i=kn(i.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||(o<=1?["m"]:o<n.m&&["mm",o])||(s<=1?["h"]:s<n.h&&["hh",s])||(l<=1?["d"]:l<n.d&&["dd",l]);return(a=(a=null!=n.w?a||(d<=1?["w"]:d<n.w&&["ww",d]):a)||(c<=1?["M"]:c<n.M&&["MM",c])||(i<=1?["y"]:["yy",i]))[2]=t,a[3]=0<+e,a[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,a)}var En=Math.abs;function Ln(e){return(0<e)-(e<0)||+e}function Gn(){var e,t,n,r,i,a,o,s,l,c,d;return this.isValid()?(s=En(this._milliseconds)/1e3,l=En(this._days),c=En(this._months),(d=this.asSeconds())?(e=m(s/60),t=m(e/60),s%=60,e%=60,n=m(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=Ln(this._months)!==Ln(d)?"-":"",a=Ln(this._days)!==Ln(d)?"-":"",o=Ln(this._milliseconds)!==Ln(d)?"-":"",(d<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"):this.localeData().invalidDate()}var R=Pt.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},R.add=function(e,t){return fn(this,e,t,1)},R.subtract=function(e,t){return fn(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+vn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},R.asMilliseconds=we,R.asSeconds=ge,R.asMinutes=Re,R.asHours=be,R.asDays=ve,R.asWeeks=Ke,R.asMonths=b,R.asQuarters=fe,R.asYears=$e,R.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},R._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(bn(n)+t),n=t=0),r.milliseconds=e%1e3,e=m(e/1e3),r.seconds=e%60,e=m(e/60),r.minutes=e%60,e=m(e/60),r.hours=e%24,t+=m(e/24),n+=e=m(vn(t)),t-=yn(bn(e)),e=m(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},R.clone=function(){return P(this)},R.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=xe,R.minutes=Ue,R.hours=y,R.days=$n,R.weeks=function(){return m(this.days()/7)},R.months=Fn,R.years=Cn,R.humanize=function(e,t){var n,r;return this.isValid()?(n=!1,r=Sn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Sn,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),t=Mn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},R.toISOString=Gn,R.toString=Gn,R.toJSON=Gn,R.locale=Xt,R.localeData=Qt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gn),R.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",Ce),w("X",/[+-]?\d+(\.\d{1,3})?/),$("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),$("x",function(e,t,n){n._d=new Date(p(e))}),h.version="2.29.4",D=T,h.fn=i,h.min=function(){return It("isBefore",[].slice.call(arguments,0))},h.max=function(){return It("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=c,h.unix=function(e){return T(1e3*e)},h.months=function(e,t){return pn(e,t,"months")},h.isDate=O,h.locale=pt,h.invalid=U,h.duration=P,h.isMoment=l,h.weekdays=function(e,t,n){return hn(e,t,n,"weekdays")},h.parseZone=function(){return T.apply(null,arguments).parseZone()},h.localeData=I,h.isDuration=Rt,h.monthsShort=function(e,t){return pn(e,t,"monthsShort")},h.weekdaysMin=function(e,t,n){return hn(e,t,n,"weekdaysMin")},h.defineLocale=ht,h.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=_[e]&&null!=_[e].parentLocale?_[e].set(Q(_[e]._config,t)):(t=Q(r=null!=(n=mt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=_[e],_[e]=r),pt(e)):null!=_[e]&&(null!=_[e].parentLocale?(_[e]=_[e].parentLocale,e===pt()&&pt(e)):null!=_[e]&&delete _[e]),_[e]},h.locales=function(){return te(_)},h.weekdaysShort=function(e,t,n){return hn(e,t,n,"weekdaysShort")},h.normalizeUnits=u,h.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},h.relativeTimeThreshold=function(e,t){return void 0!==Sn[e]&&(void 0===t?Sn[e]:(Sn[e]=t,"s"===e&&(Sn.ss=t-1),!0))},h.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},h.prototype=i,h.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},h}();var Pi,Ri,Di=Pi.exports;function Bi(e,t){o(e,t)}const Ai={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır",full:"masa dolu - bet behind",dealer:"Dealer"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Počnite sada!",new:"NOVI",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},Ni={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Oi(e,t,n){e=e.slice();return e[102]=t[n],e[104]=n,e}function Hi(e,t,n){e=e.slice();return e[99]=t[n],e}function ji(e){let n;function r(e){return e[17]?Ui:zi}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&me(n)}}}function zi(e){let n;return{c(){(n=pe("div")).innerHTML="<div></div><div></div>",fe(n,"class","LoaderRipple")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Ui(n){let r,i,a;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(r,"class","FavIconContainer")},m(e,t){ue(e,r,t),i||(a=U(r,"click",n[62]),i=!0)},p:N,d(e){e&&me(r),i=!1,a()}}}function Wi(n){let r,i,a,o,s=n[36]("playNow")+"";return{c(){r=pe("button"),i=he(s),fe(r,"class","GameInfoBtn")},m(e,t){ue(e,r,t),de(r,i),a||(o=U(r,"click",n[63]),a=!0)},p(e,t){32&t[1]&&s!==(s=e[36]("playNow")+"")&&ye(i,s)},d(e){e&&me(r),a=!1,o()}}}function Yi(e){let n;return{c(){(n=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Vi(n){let r,i,a;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(r,"class","FavIconContainer")},m(e,t){ue(e,r,t),i||(a=U(r,"click",n[64]),i=!0)},p:N,d(e){e&&me(r),i=!1,a()}}}function Zi(e){let n,r,i=e[36]("new")+"";return{c(){n=pe("span"),r=he(i),fe(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&i!==(i=e[36]("new")+"")&&ye(r,i)},d(e){e&&me(n)}}}function qi(e){let n,r;return{c(){n=pe("span"),r=he(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&ye(r,e[8])},d(e){e&&me(n)}}}function Ji(e){let n,r,i=!e[23]&&e[21]&&e[22]&&Ki(e);function a(e){return e[23]&&e[20]&&e[20]===ca?Qi:e[23]&&e[20]&&e[20]===da?Xi:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ge(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){!e[23]&&e[21]&&e[22]?i?i.p(e,t):((i=Ki(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&me(n),s&&s.d(e),e&&me(r)}}}function Ki(e){let n,r,i,a,o,s,l,c,d,u,m=e[36]("opens")+"",p=Di.utc(e[21]).local().format(e[22])+"",h=e[42](e[35])+"",g=e[41](e[27],e[28],e[26])+"";return{c(){n=pe("div"),r=pe("div"),i=he(m),a=ge(),o=pe("span"),s=he(p),l=ge(),c=new _(!1),d=ge(),u=new _(!1),fe(r,"class","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,a),de(r,o),de(o,s),de(n,l),c.m(h,n),de(n,d),u.m(g,n)},p(e,t){32&t[1]&&m!==(m=e[36]("opens")+"")&&ye(i,m),6291456&t[0]&&p!==(p=Di.utc(e[21]).local().format(e[22])+"")&&ye(s,p),16&t[1]&&h!==(h=e[42](e[35])+"")&&c.p(h),469762048&t[0]&&g!==(g=e[41](e[27],e[28],e[26])+"")&&u.p(g)},d(e){e&&me(n)}}}function Xi(n){let r,i,a,o,s,l,c=n[42](n[35])+"",d=n[41](n[27],n[28],n[26])+"",u=new Array(ma),m=[];for(let e=0;e<u.length;e+=1)m[e]=ra(Oi(n,u,e));return{c(){r=pe("div"),i=pe("div");for(let e=0;e<m.length;e+=1)m[e].c();a=ge(),o=new _(!1),s=ge(),l=new _(!1),fe(i,"class","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[31])},m(e,t){ue(e,r,t),de(r,i);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(i,null);n[65](i),de(r,a),o.m(c,r),de(r,s),l.m(d,r)},p(t,n){if(1073758208&n[0]|4098&n[1]){let e;for(u=new Array(ma),e=0;e<u.length;e+=1){const o=Oi(t,u,e);m[e]?m[e].p(o,n):(m[e]=ra(o),m[e].c(),m[e].m(i,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}16&n[1]&&c!==(c=t[42](t[35])+"")&&o.p(c),469762048&n[0]&&d!==(d=t[41](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(r,"class",t[31])},d(e){e&&me(r),j(m,e),n[65](null)}}}function Qi(e){let n,r,i,a,o,s,l=e[42](e[35])+"",c=e[41](e[27],e[28],e[26])+"";function d(e){return e[33]?aa:ia}let u=d(e),m=u(e);return{c(){n=pe("div"),r=pe("div"),m.c(),i=ge(),a=new _(!1),o=ge(),s=new _(!1),fe(r,"class","LiveIcons"),a.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){ue(e,n,t),de(n,r),m.m(r,null),de(n,i),a.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(r,null))),16&t[1]&&l!==(l=e[42](e[35])+"")&&a.p(l),469762048&t[0]&&c!==(c=e[41](e[27],e[28],e[26])+"")&&s.p(c)},d(e){e&&me(n),m.d()}}}function ea(e){let n;function r(e){return e[30]?na:ta}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&me(n)}}}function ta(e){let n,r,i=e[43]("LatestResult "+(0===e[104]?"First":""),e[104],e[14][e[104]],e[32][e[14][e[104]]])+"";return{c(){n=new _(!1),r=c(),n.a=r},m(e,t){n.m(i,e,t),ue(e,r,t)},p(e,t){16384&t[0]|2&t[1]&&i!==(i=e[43]("LatestResult "+(0===e[104]?"First":""),e[104],e[14][e[104]],e[32][e[14][e[104]]])+"")&&n.p(i)},d(e){e&&me(r),e&&n.d()}}}function na(e){let n,r,i,a,o,s=e[43]("LatestResult "+(0===e[104]?"First":""),"first"+e[104]+e[14][e[104]][0],e[14][e[104]][0],e[32][e[14][e[104]][0]])+"",l=e[43]("LatestResult "+(0===e[104]?"First":""),"second"+e[104]+e[14][e[104]][1],e[14][e[104]][1],e[32][e[14][e[104]][1]])+"";return{c(){n=pe("div"),r=new _(!1),i=ge(),a=new _(!1),o=ge(),r.a=i,a.a=o,fe(n,"class","Double")},m(e,t){ue(e,n,t),r.m(s,n),de(n,i),a.m(l,n),de(n,o)},p(e,t){16384&t[0]|2&t[1]&&s!==(s=e[43]("LatestResult "+(0===e[104]?"First":""),"first"+e[104]+e[14][e[104]][0],e[14][e[104]][0],e[32][e[14][e[104]][0]])+"")&&r.p(s),16384&t[0]|2&t[1]&&l!==(l=e[43]("LatestResult "+(0===e[104]?"First":""),"second"+e[104]+e[14][e[104]][1],e[14][e[104]][1],e[32][e[14][e[104]][1]])+"")&&a.p(l)},d(e){e&&me(n)}}}function ra(e){let n,r=e[14]&&e[14][e[104]]&&ea(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[14]&&e[14][e[104]]?r?r.p(e,t):((r=ea(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function ia(t){let i,a=t[25],o=[];for(let e=0;e<a.length;e+=1)o[e]=oa(Hi(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,i,n)},p(t,n){if(570425344&n[0]|512&n[1]){let e;for(a=t[25],e=0;e<a.length;e+=1){var r=Hi(t,a,e);o[e]?o[e].p(r,n):(o[e]=oa(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){j(o,e),e&&me(i)}}}function aa(e){let n,r,i=e[36]("full")+"";return{c(){n=pe("span"),r=he(i),fe(n,"class","FullTable")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&i!==(i=e[36]("full")+"")&&ye(r,i)},d(e){e&&me(n)}}}function oa(e){let n,r,i,a,o,s;return{c(){n=pe("span"),r=z("svg"),i=z("path"),a=z("path"),o=ge(),fe(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"width","13"),fe(r,"height","14"),fe(r,"viewBox","0 0 13 14"),fe(n,"class",s=e[40](e[29],e[99].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,a),de(n,o)},p(e,t){570425344&t[0]&&s!==(s=e[40](e[29],e[99].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s)},d(e){e&&me(n)}}}function sa(e){let n,r;return{c(){n=pe("p"),r=he(e[4]),fe(n,"class","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&ye(r,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&me(n)}}}function la(n){let r,i,a,o,s,l,c,d,u,m,p,h,g,f,y,v,b,w,x,$,F,C,k,S,M,E=!ot(n[37])&&!n[0]&&n[16],L=(n[5]||"-")+"",G=E&&ji(n),_=n[1]&&Wi(n);function A(e,t){return 65541&t[0]&&(b=null),65541&t[0]&&(w=null),(b=null==b?!(ot(e[37])||!e[0]||!e[16]||!e[2]):b)?Vi:(w=null==w?!!(ot(e[37])&&e[0]&&e[16]&&e[2]):w)?Yi:void 0}let I=A(n,[-1,-1,-1,-1]),T=I&&I(n),P=n[7]&&Zi(n),R=n[8]&&qi(n),D=n[13]&&Ji(n),B=n[10]&&sa(n);return{c(){r=pe("div"),i=pe("div"),a=pe("img"),l=ge(),c=pe("div"),d=pe("div"),G&&G.c(),u=ge(),m=pe("p"),p=he(n[4]),h=ge(),_&&_.c(),g=ge(),f=pe("span"),y=he(L),v=ge(),T&&T.c(),x=ge(),$=pe("div"),P&&P.c(),F=ge(),R&&R.c(),C=ge(),D&&D.c(),S=ge(),B&&B.c(),this.c=N,ce(a.src,o=n[3])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[9]} `+(n[18]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(m,"class","GameInfoName"),fe(m,"title",n[4]),fe(d,"class","GameInfo"),fe(f,"class","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe($,"class","GameExtraInfo"),fe(i,"class",k="GameInnerContainer "+(n[13]&&!n[23]&&n[24].value||n[13]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"class",M=`GameContainer ${n[34]} `+("true"==n[11]?"CasinoGamesGridSlider":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[61](a),de(i,l),de(i,c),de(c,d),G&&G.m(d,null),de(d,u),de(d,m),de(m,p),de(d,h),_&&_.m(d,null),de(c,g),de(c,f),de(f,y),de(i,v),T&&T.m(i,null),de(i,x),de(i,$),P&&P.m($,null),de($,F),R&&R.m($,null),de($,C),D&&D.m($,null),de(r,S),B&&B.m(r,null),n[66](r)},p(e,t){8&t[0]&&!ce(a.src,o=e[3])&&fe(a,"src",o),262656&t[0]&&s!==(s=`GameBg GameBg-${e[9]} `+(e[18]?"Loaded":""))&&fe(a,"class",s),(E=65537&t[0]?!ot(e[37])&&!e[0]&&e[16]:E)?G?G.p(e,t):((G=ji(e)).c(),G.m(d,u)):G&&(G.d(1),G=null),16&t[0]&&ye(p,e[4]),16&t[0]&&fe(m,"title",e[4]),e[1]?_?_.p(e,t):((_=Wi(e)).c(),_.m(d,null)):_&&(_.d(1),_=null),32&t[0]&&L!==(L=(e[5]||"-")+"")&&ye(y,L),I===(I=A(e,t))&&T?T.p(e,t):(T&&T.d(1),(T=I&&I(e))&&(T.c(),T.m(i,x))),e[7]?P?P.p(e,t):((P=Zi(e)).c(),P.m($,F)):P&&(P.d(1),P=null),e[8]?R?R.p(e,t):((R=qi(e)).c(),R.m($,C)):R&&(R.d(1),R=null),e[13]?D?D.p(e,t):((D=Ji(e)).c(),D.m($,null)):D&&(D.d(1),D=null),25174016&t[0]|4&t[1]&&k!==(k="GameInnerContainer "+(e[13]&&!e[23]&&e[24].value||e[13]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(i,"class",k),e[10]?B?B.p(e,t):((B=sa(e)).c(),B.m(r,null)):B&&(B.d(1),B=null),2048&t[0]|8&t[1]&&M!==(M=`GameContainer ${e[34]} `+("true"==e[11]?"CasinoGamesGridSlider":""))&&fe(r,"class",M)},i:N,o:N,d(e){e&&me(r),n[61](null),G&&G.d(),_&&_.d(),T&&T.d(),P&&P.d(),R&&R.d(),D&&D.d(),B&&B.d(),n[66](null)}}}const ca="blackjack",da="roulette",ua="doubleballroulette",ma=5;function pa(a,e,o){let t;lt(a,ri,e=>o(36,t=e));let D,s,l,c,n,B,A,d,u,N,O,H,m,j,z,U,p,W,Y,V,h,Z,g,q,J,{session:K=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:v=""}=e,{clientstylingurl:b=""}=e,{translationurl:w=""}=e,{favorites:x=""}=e,{gamethumbnail:X=""}=e,{gamename:Q=""}=e,{gamevendor:r=""}=e,{gameid:i=""}=e,{gameisnew:ee=""}=e,{gametag:te=""}=e,{gamefunmode:$=!1}=e,{gamefavorite:F=!1}=e,{gamecellsize:ne=""}=e,{showfavoredcategory:C=!1}=e,{showgamename:re=!1}=e,{currency:k=""}=e,{gamepagemodalurl:S="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:E=""}=e,{connectlive:L=""}=e,{visibilityconnect:G=""}=e,{integratedgameframedesktop:_="false"}=e,{integratedgameframemobile:I="false"}=e,{casinogamesgridslider:ie="false"}=e,ae=!1,oe=!1,se=!1,T=window.navigator.userAgent,le="HH:mm",ce,de=[],ue="EUR",P="";const me=[ca],pe=[da,ua],he={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ge={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},fe=(Object.keys(Ai).forEach(e=>{Bi(e,Ai[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+i||C||o(0,F=!0),e.data.type!=="RemoveFavoriteThumbnail_"+i||C||o(0,F=!1),"UserSessionID"===e.data.type&&(o(16,ae=!0),e.data.session,D=e.data.userID),"CategoryUpdate"===e.data.type&&o(13,c=null)}),ye=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(D||"Not logged in")}),ot(T)&&"true"==I?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:$,gamepagemodalurl:S,isMobile:ot(T),source:"GameThumbnail",identifier:"Lobby"},window.location.href):ot(T)&&"false"==I&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:ot(T)},window.location.href),ot(T)||"true"!=_?ot(T)||"false"!=_||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:ot(T)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:$,gamepagemodalurl:S,isMobile:ot(T),identifier:"Lobby"},window.location.href)},ve=e=>{F?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},be=()=>{E&&EventSource&&!n&&r&&i&&(n=new EventSource(`${M}/encoder/lobby/updates/${r}/`+i)).addEventListener("message",xe)},we=()=>{n&&(n.close(),n=void 0)},xe=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:a}=r;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(29,m=i),o(13,c.currentOccupiedSeats=i,c),await Ce());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,o(13,c.currentRouletteNumbers=n,c),await Ce());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(z=n,o(13,c.currentDoubleBallRouletteNumbers=n,c),await Ce());break;case"TableOpened":case"TableClosed":o(23,d=a),o(13,c.isOpen=a,c),await Ce()}}}},$e=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t),Fe=()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return rt(()=>(window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),n&&n.removeEventListener("message",xe)})),a.$$set=e=>{"session"in e&&o(44,K=e.session),"userid"in e&&o(45,f=e.userid),"lang"in e&&o(1,y=e.lang),"clientstyling"in e&&o(46,v=e.clientstyling),"clientstylingurl"in e&&o(47,b=e.clientstylingurl),"translationurl"in e&&o(48,w=e.translationurl),"favorites"in e&&o(2,x=e.favorites),"gamethumbnail"in e&&o(3,X=e.gamethumbnail),"gamename"in e&&o(4,Q=e.gamename),"gamevendor"in e&&o(5,r=e.gamevendor),"gameid"in e&&o(6,i=e.gameid),"gameisnew"in e&&o(7,ee=e.gameisnew),"gametag"in e&&o(8,te=e.gametag),"gamefunmode"in e&&o(49,$=e.gamefunmode),"gamefavorite"in e&&o(0,F=e.gamefavorite),"gamecellsize"in e&&o(9,ne=e.gamecellsize),"showfavoredcategory"in e&&o(50,C=e.showfavoredcategory),"showgamename"in e&&o(10,re=e.showgamename),"currency"in e&&o(51,k=e.currency),"gamepagemodalurl"in e&&o(52,S=e.gamepagemodalurl),"endpoint"in e&&o(53,M=e.endpoint),"livelobbyendpoint"in e&&o(54,E=e.livelobbyendpoint),"connectlive"in e&&o(55,L=e.connectlive),"visibilityconnect"in e&&o(56,G=e.visibilityconnect),"integratedgameframedesktop"in e&&o(57,_=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(58,I=e.integratedgameframemobile),"casinogamesgridslider"in e&&o(11,ie=e.casinogamesgridslider)},a.$$.update=()=>{if(16777216&a.$$.dirty[1]&&L&&("disconnect"===L?we():"connect"===L&&be()),33554432&a.$$.dirty[1]&&G&&("disconnect"===G?we():"connect"===G&&"connect"===L&&be()),2&a.$$.dirty[0]&&y&&(n=y,at.set(n)),4218880&a.$$.dirty[1]&&K&&f&&M&&(o(16,ae=!0),D=f),8&a.$$.dirty[0]&&X&&s&&o(19,s.onload=()=>{o(18,se=!0)},s),4096&a.$$.dirty[0]|32768&a.$$.dirty[1]&&v&&l&&((n=document.createElement("style")).innerHTML=v,l.appendChild(n)),4096&a.$$.dirty[0]|65536&a.$$.dirty[1]&&b&&l&&Fe(),4&a.$$.dirty[0]&&x&&"true"==x&&o(17,oe=!0),131072&a.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Bi(e,t[e])})}).catch(e=>{console.log(e)}),512&a.$$.dirty[0]|65536&a.$$.dirty[1]&&ne&&b&&Fe(),12582912&a.$$.dirty[1]&&M&&E&&((t=new URL(""+E.split("?")[0])).searchParams.append("platform",st(T)),t.searchParams.append("language",y),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(13,c=e)})),8192&a.$$.dirty[0]&&c&&c&&(o(23,d=c.isOpen),ce=c.betLimit||{},o(24,u=c.openHours),o(25,de=(e=>{H=e.totalSeats||7,o(29,m=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=H;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],o(21,A=t),o(22,le=e||le)),d&&o(20,B=(e=>{let t=null;if(e){var n=e["vendorCategory"];if(n){const e=n.toLowerCase();R(me,e)?t=ca:R(pe,e)&&(t=da)}}return t})(c)),o(26,ue=Ni[k]),o(27,N=(ce.min||{})[k]),o(28,O=(ce.max||{})[k]),j=c.currentRouletteNumbers,z=c.currentDoubleBallRouletteNumbers,U=c.vendorCategory,o(30,p=U.toLowerCase()===ua),o(14,W=(p?z:j)||[]),o(31,Y="GameProp LiveProps RoulleteProps"),o(31,Y+=p?" Double":""),o(32,V=R(pe,U.toLowerCase())?ge:he),Z=h,o(33,h=Array.isArray(m)&&m.length===H),c.dealer&&o(35,q=c.dealer.DealerName),J=c.numberOfPlayers,o(34,P="ListGame"),c.isOpen&&c.currentRouletteNumbers&&o(34,P+=" GameBackdrop"),d&&h&&N&&O&&c.currentOccupiedSeats?o(34,P+=" GameContainerDimmed"):!1===d&&A&&o(34,P+=" GameContainerFullyDimmed"),l)&&(!Z&&h?(o(34,P+=" PulsatingRedShadow"),o(34,P=P.replace(" PulsatingGreenShadow",""))):Z&&!h&&(o(34,P+=" PulsatingGreenShadow"),o(34,P=P.replace(" PulsatingRedShadow","")))),49152&a.$$.dirty[0]&&g&&W){const r="FirstElementAnimated",i=g.getElementsByClassName("First")[0];i&&(i.classList.add(r),setTimeout(()=>{i.classList.remove(r)},2e3))}var e,t,n},[F,y,x,X,Q,r,i,ee,te,ne,re,ie,l,c,W,g,ae,oe,se,s,B,A,le,d,u,de,ue,N,O,m,p,Y,V,h,P,q,t,T,ye,ve,R,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
|
|
4
4
|
<span>
|
|
5
5
|
${n}
|
|
6
6
|
</span>
|