@everymatrix/casino-page 0.0.361 → 0.0.362

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function Z(){}function C(e){return e()}function _(){return Object.create(null)}function K(e){e.forEach(C)}function F(e){return"function"==typeof e}function d(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let i,T;function ce(e,t){return(i=i||document.createElement("a")).href=t,e===i.href}function h(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ve(e,t,n){e.$$.on_destroy.push(h(t,n))}function p(e){return e&&F(e.destroy)?e.destroy:Z}function ue(e,t){e.appendChild(t)}function de(e,t,n){e.insertBefore(t,n||null)}function he(e){e.parentNode.removeChild(e)}function M(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 G(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function me(e){return document.createTextNode(e)}function fe(){return me(" ")}function l(){return me("")}function X(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function ge(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function w(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:ge(e,t,n)}function ye(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function k(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function m(e,t,n){e.classList[n?"add":"remove"](t)}class L{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=G(t.nodeName):this.e=pe(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)de(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(he)}}function o(e){const t={};for(const n of e)t[n.name]=n.value;return t}function $(e){T=e}function Ze(e){!function(){if(T)return T;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const I=[],Ue=[],P=[],R=[],A=Promise.resolve();let B=!1;function D(){B||(B=!0,A.then(g))}function ve(){return D(),A}function O(e){P.push(e)}const N=new Set;let H=0;function g(){const e=T;do{for(;H<I.length;){const e=I[H];H++,$(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),K(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(O))}for($(null),I.length=0,H=0;Ue.length;)Ue.pop()();for(let e=0;e<P.length;e+=1){const r=P[e];N.has(r)||(N.add(r),r())}}while(P.length=0,I.length);for(;R.length;)R.pop()();B=!1,N.clear(),$(e)}const W=new Set;function U(r,e,t,n,a,i,o,s=[-1]){var l=T;$(r);const c=r.$$={fragment:null,ctx:null,props:i,update:Z,not_equal:a,bound:_(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:_(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&a(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(I.push(e),D(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,K(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){i=e.target;const Z=Array.from(i.childNodes);c.fragment&&c.fragment.l(Z),Z.forEach(he)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(W.delete(s),s.i(void 0));{var d=r;o=e.target;t=e.anchor;n=e.customElement;const{fragment:h,on_mount:p,on_destroy:m,after_update:f}=d.$$;h&&h.m(o,t),n||O(()=>{var e=p.map(C).filter(F);m?m.push(...e):K(e),d.$$.on_mount=[]}),f.forEach(O)}g()}$(l)}let j;"function"==typeof HTMLElement&&(j=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(C).filter(F);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){K(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(K(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var Y,z,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,V="URLSearchParams"in s,J="Symbol"in s&&"iterator"in Symbol,q="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),Q="FormData"in s,ee="ArrayBuffer"in s;function te(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 ne(e){return e="string"!=typeof e?String(e):e}function re(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return J&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function ae(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ie(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function oe(e){var t=new FileReader,n=ie(t);return t.readAsArrayBuffer(e),n}function se(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function le(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:q&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Q&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:V&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ee&&q&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=se(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ee&&(ArrayBuffer.prototype.isPrototypeOf(e)||z(e))?this._bodyArrayBuffer=se(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):V&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},q&&(this.blob=function(){var e=ae(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?ae(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(oe)}),this.text=function(){var e,t,n=ae(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,t=ie(e=new FileReader),e.readAsText(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)},Q&&(this.formData=function(){return this.text().then(xe)}),this.json=function(){return this.text().then(JSON.parse)},this}ee&&(Y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],z=ArrayBuffer.isView||function(e){return e&&-1<Y.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=te(e),t=ne(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},c.prototype.delete=function(e){delete this.map[te(e)]},c.prototype.get=function(e){return e=te(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(te(e))},c.prototype.set=function(e,t){this.map[te(e)]=ne(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),re(n)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),re(t)},c.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),re(n)},J&&(c.prototype[Symbol.iterator]=c.prototype.entries);var be=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function we(e,t){if(!(this instanceof we))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 we){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(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 c(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<be.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function xe(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Se(e,t){if(!(this instanceof Se))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}we.prototype.clone=function(){return new we(this,{body:this._bodyInit})},le.call(we.prototype),le.call(Se.prototype),Se.prototype.clone=function(){return new Se(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},Se.error=function(){var e=new Se(null,{status:0,statusText:""});return e.type="error",e};var Ce=[301,302,303,307,308],_e=(Se.redirect=function(e,t){if(-1===Ce.indexOf(t))throw new RangeError("Invalid status code");return new Se(null,{status:t,headers:{location:e}})},s.DOMException);try{new _e}catch(Z){(_e=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),_e.prototype.constructor=_e}function ke(r,o){return new Promise(function(a,e){var t=new we(r,o);if(t.signal&&t.signal.aborted)return e(new _e("Aborted","AbortError"));var i=new XMLHttpRequest;function n(){i.abort()}i.onload=function(){var e,n,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=new c,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 e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL"),"response"in i?i.response:i.responseText);setTimeout(function(){a(new Se(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new _e("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(q?i.responseType="blob":ee&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof c?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){i.setRequestHeader(e,ne(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",n)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}function Ln(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}ke.polyfill=!0,s.fetch||(s.fetch=ke,s.Headers=c,s.Request=we,s.Response=Se);var Me=self.fetch.bind(self),Ge=function(e,t){return(Ge=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 Fe(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}Ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Te(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 Ee(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function Le(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function $e(e){return"function"==typeof e}function Ie(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 Pe=Ie(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 Re(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}n.prototype.unsubscribe=function(){var e,t,n,r,a;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var o=Te(i),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 i.remove(this);i=this.initialTeardown;if($e(i))try{i()}catch(e){a=e instanceof Pe?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=Te(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{Oe(u)}catch(e){a=null!=a?a:[],e instanceof Pe?a=Le(Le([],Ee(a)),Ee(e.errors)):a.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(a)throw new Pe(a)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Oe(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},n.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},n.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},n.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Re(t,e)},n.prototype.remove=function(e){var t=this._finalizers;t&&Re(t,e),e instanceof n&&e._removeParent(this)},n.EMPTY=((e=new n).closed=!0,e);var Ae=n,Be=Ae.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function De(e){return e instanceof Ae||e&&"closed"in e&&$e(e.remove)&&$e(e.add)&&$e(e.unsubscribe)}function Oe(e){$e(e)?e():e.unsubscribe()}var Ne=void 0,He=!1,We=!1,Ke={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=Ke.delegate;return null!=a&&a.setTimeout?a.setTimeout.apply(a,Le([e,t],Ee(n))):setTimeout.apply(void 0,Le([e,t],Ee(n)))},clearTimeout:function(e){var t=Ke.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Xe(){}var Je=null;function qe(e){if(He){var t=!Je;if(t&&(Je={errorThrown:!1,error:null}),e(),t){var t=Je,n=t.errorThrown,t=t.error;if(Je=null,n)throw t}}else e()}Fe(nt,Qe=Ae),nt.create=function(e,t,n){return new ot(e,t,n)},nt.prototype.next=function(e){this.isStopped||this._next(e)},nt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},nt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},nt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Qe.prototype.unsubscribe.call(this),this.destination=null)},nt.prototype._next=function(e){this.destination.next(e)},nt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},nt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Qe,et=nt,tt=Function.prototype.bind;function nt(e){var t=Qe.call(this)||this;return t.isStopped=!1,e?De(t.destination=e)&&e.add(t):t.destination=ut,t}function rt(e,t){return tt.call(e,t)}lt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){ct(e)}},lt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){ct(e)}else ct(e)},lt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){ct(e)}};var at,it=lt,ot=(Fe(st,at=et),st);function st(e,t,n){var r=at.call(this)||this,n=$e(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&We?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&rt(e.next,t),error:e.error&&rt(e.error,t),complete:e.complete&&rt(e.complete,t)}):e;return r.destination=new it(n),r}function lt(e){this.partialObserver=e}function ct(e){var t=e;Ke.setTimeout(function(){throw t})}var ut={closed:!0,next:Xe,error:function(e){throw e},complete:Xe},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function dt(e){return e}r.prototype.lift=function(e){var t=new r;return t.source=this,t.operator=e,t},r.prototype.subscribe=function(e,t,n){var r,a=this,i=(r=e)&&r instanceof et||r&&$e(r.next)&&$e(r.error)&&$e(r.complete)&&De(r)?e:new ot(e,t,n);return qe(function(){var e=a.operator,t=a.source;i.add(e?e.call(i,t):t?a._subscribe(i):a._trySubscribe(i))}),i},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(r,e){var a=this;return new(e=pt(e))(function(e,t){var n=new ot({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});a.subscribe(n)})},r.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},r.prototype[e]=function(){return this},r.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?dt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},r.prototype.toPromise=function(e){var r=this;return new(e=pt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},r.create=function(e){return new r(e)};var ht=r;function r(e){e&&(this._subscribe=e)}function pt(e){return null!=(e=null!=e?e:Ne)?e:Promise}var mt,ft,gt,yt=Ie(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Fe(t,gt=ht),t.prototype.lift=function(e){var t=new bt(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new yt},t.prototype.next=function(a){var i=this;qe(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=Te(i.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(a)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},t.prototype.error=function(t){var n=this;qe(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},t.prototype.complete=function(){var t=this;qe(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),gt.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,a=this.observers;return n||r?Be:(this.currentObservers=null,a.push(e),new Ae(function(){t.currentObservers=null,Re(a,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},t.prototype.asObservable=function(){var e=new ht;return e.source=this,e},t.create=function(e,t){return new bt(e,t)},t),bt=(Fe(St,ft=e),St.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},St.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},St.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},St.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Be},St),vt={now:function(){return(vt.delegate||Date).now()},delegate:void 0},wt=(Fe(xt,mt=e),xt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,a=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),a||r.push(i.now()+t)),this._trimBuffer(),mt.prototype.next.call(this,e)},xt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),a=0;a<r.length&&!e.closed;a+=n?1:2)e.next(r[a]);return this._checkFinalizedStatuses(e),t},xt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,a=(r?1:2)*e;if(e<1/0&&a<n.length&&n.splice(0,n.length-a),!r){for(var i=t.now(),o=0,s=1;s<n.length&&n[s]<=i;s+=2)o=s;o&&n.splice(0,o+1)}},xt);function xt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=vt);var r=mt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function St(e,t){var n=ft.call(this)||this;return n.destination=e,n.source=t,n}function t(){var e=gt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ct=[],_t={};const kt=[];function Mt(r,a=Z){let i;const o=new Set;function s(e){if(d(r,e)&&(r=e,i)){const e=!kt.length;for(const e of o)e[1](),kt.push(e,r);if(e){for(let e=0;e<kt.length;e+=2)kt[e][0](kt[e+1]);kt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.add(n),1===o.size&&(i=a(s)||Z),e(r),()=>{o.delete(n),0===o.size&&(i(),i=null)}}}}function Gt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Mt(t,t=>{let n=!1;const r=[];let a=0,i=Z;const o=()=>{var e;a||(i(),e=s(l?r[0]:r,t),u?t(e):i=F(e)?e:Z)},e=c.map((e,t)=>h(e,e=>{r[t]=e,a&=~(1<<t),n&&o()},()=>{a|=1<<t}));return n=!0,o(),function(){K(e),i()}}).subscribe}}function Ft(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Tt));var t}var Tt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Et(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Rt(Array.isArray(e)?[]:{},e,t):e}function Lt(e,t,n){return e.concat(t).map(function(e){return Et(e,n)})}function $t(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function It(e,t){try{return t in e}catch(e){return!1}}function Pt(r,a,i){var o={};return i.isMergeableObject(r)&&$t(r).forEach(function(e){o[e]=Et(r[e],i)}),$t(a).forEach(function(t){var e,n;(!It(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(It(r,t)&&i.isMergeableObject(a[t])?o[t]=function(e){if(!e.customMerge)return Rt;e=e.customMerge(t);return"function"==typeof e?e:Rt}(i)(r[t],a[t],i):o[t]=Et(a[t],i))}),o}function Rt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Lt,n.isMergeableObject=n.isMergeableObject||Ft,n.cloneUnlessOtherwiseSpecified=Et;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Pt(e,t,n):Et(t,n)}Rt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Rt(e,t,n)},{});throw new Error("first argument should be an array")};var At=Rt,Bt=function(e,t){return(Bt=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 Dt(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}Bt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var f,y,Ot,b=function(){return(b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function Nt(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function Ht(e){return e.type===y.literal}function Wt(e){return e.type===y.number}function Ut(e){return e.type===y.date}function jt(e){return e.type===y.time}function Yt(e){return e.type===y.select}function zt(e){return e.type===y.plural}function Vt(e){return e.type===y.tag}function Zt(e){return e&&"object"==typeof e&&e.type===Ot.number}function Kt(e){return e&&"object"==typeof e&&e.type===Ot.dateTime}(e=f=f||{})[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=Ot=Ot||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Xt=/(?:[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 Jt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,qt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Qt=/^(@+)?(\+|#+)?[rs]?$/g,en=/(\*)(0+)|(#+)(0+)|(0+)/g,tn=/^(0+)$/;function nn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(Qt,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function rn(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 an(e){return rn(e)||{}}function on(e){for(var o={},t=0,n=e;t<n.length;t++){var r,a=n[t];switch(a.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=a.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=a.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=b(b(b({},o),{notation:"scientific"}),a.options.reduce(function(e,t){return b(b({},e),an(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),a.options.reduce(function(e,t){return b(b({},e),an(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(a.options[0]);continue;case"integer-width":if(1<a.options.length)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(en,function(e,t,n,r,a,i){if(t)o.minimumIntegerDigits=n.length;else{if(r&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(tn.test(a.stem))o.minimumIntegerDigits=a.stem.length;else if(qt.test(a.stem)){if(1<a.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(qt,function(e,t,n,r,a,i){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:a&&i?(o.minimumFractionDigits=a.length,o.maximumFractionDigits=a.length+i.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var i=a.options[0];"w"===i?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):i&&(o=b(b({},o),nn(i)))}else Qt.test(a.stem)?o=b(b({},o),nn(a.stem)):((i=rn(a.stem))&&(o=b(b({},o),i)),(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)),!tn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(a.stem))&&(o=b(b({},o),r)))}return o}var sn={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 ln=new RegExp("^".concat(e.source,"*")),cn=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,un=!!String.fromCodePoint,dn=!!Object.fromEntries,hn=!!String.prototype.codePointAt,pn=!!String.prototype.trimStart,mn=!!String.prototype.trimEnd,fn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},gn=!0;try{gn="a"===(null==(Dn=kn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Dn[0])}catch(Z){gn=!1}var yn,bn,vn=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},wn=un?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",a=e.length,i=0;i<a;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},xn=dn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n],i=a[0],a=a[1];t[i]=a}return t},Sn=hn?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},Cn=pn?function(e){return e.trimStart()}:function(e){return e.replace(ln,"")},_n=mn?function(e){return e.trimEnd()}:function(e){return e.replace(cn,"")};function kn(e,t){return new RegExp(e,t)}bn=gn?(yn=kn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return yn.lastIndex=t,null!=(t=yn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var a=Sn(e,t);if(void 0===a||Fn(a)||(33<=(n=a)&&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(a),t+=65536<=a?2:1}return wn.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 a,i=this.char();if(123===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(f.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Gn(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{i=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(i,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Gn(this.char()))return this.error(f.INVALID_TAG,v(e,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,v(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(n,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,v(e,this.clonePosition())))}return this.error(f.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(f.INVALID_TAG,v(n,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var a=this.tryParseQuote(t);if(a)r+=a;else{a=this.tryParseUnquoted(e,t);if(a)r+=a;else{a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}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&&(Gn(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 wn.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),wn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,v(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(f.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.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(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(f.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 a,i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,v(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=_n(m.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var u=v(r,this.clonePosition());if(l&&vn(null==l?void 0:l.style,"::",0)){var d=Cn(l.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?m:{val:{type:y.number,value:n,location:u,style:m.val},err:null};if(0===d.length)return this.error(f.EXPECT_DATE_TIME_SKELETON,u);var h=d,p=(this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if("j"===a){for(var i=0;r+1<e.length&&e.charAt(r+1)===a;)i++,r++;var o=1+(1&i),s=i<2?1:3+(i>>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),(sn[t||""]||sn[n||""]||sn["".concat(n,"-001")]||sn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===a?"H":a}return n}(d,this.locale)),{type:Ot.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(a={},h.replace(Xt,function(e){var t=e.length;switch(e[0]){case"G":a.era=4===t?"long":5===t?"narrow":"short";break;case"y":a.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":a.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":a.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":a.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"a":a.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":a.hourCycle="h12",a.hour=["numeric","2-digit"][t-1];break;case"H":a.hourCycle="h23",a.hour=["numeric","2-digit"][t-1];break;case"K":a.hourCycle="h11",a.hour=["numeric","2-digit"][t-1];break;case"k":a.hourCycle="h24",a.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":a.minute=["numeric","2-digit"][t-1];break;case"s":a.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":a.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""}),a):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:u,style:p},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:u,style:null!=(d=null==l?void 0:l.style)?d:null},err:null};case"plural":case"selectordinal":case"select":h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,v(h,b({},h)));this.bumpSpace();var m,p=this.parseIdentifierIfPossible(),u=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),p=this.parseIdentifierIfPossible(),u=m.val}l=this.tryParsePluralOrSelectOptions(e,o,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;d=v(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:xn(l.val),location:d},err:null}:{val:{type:y.plural,value:n,options:xn(l.val),offset:u,pluralType:"plural"===o?"cardinal":"ordinal",location:d},err:null};default:return this.error(f.INVALID_ARGUMENT_TYPE,v(i,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.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(f.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(Jt).filter(function(e){return 0<e.length});n<r.length;n++){var a=r[n].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var i=a[0],a=a.slice(1),o=0,s=a;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:a})}return t}(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ot.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?on(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var a=!1,i=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(a=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;i.push([s,{value:c.val,location:v(u,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===i.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(f.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:i,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,i=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;a=!0,i=10*i+(o-48),this.bump()}r=v(r,this.clonePosition());return a?fn(i*=n)?{val:i,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=Sn(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(vn(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()&&Fn(this.char());)this.bump()},a.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Mn=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 Gn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Fn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Tn(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Mn(e,t).parse();if(e.err)throw(n=SyntaxError(f[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,Yt(e)||zt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Wt(e)&&Zt(e.style)||(Ut(e)||jt(e))&&Kt(e.style)?delete e.style.location:Vt(e)&&n(e.children)})}(e.val),e.val}function En(e,t){var n=t&&t.cache?t.cache:On,r=t&&t.serializer?t.serializer:Rn;return(t&&t.strategy?t.strategy:function(e,t){return Pn(e,this,1===e.length?$n:In,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function $n(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),a=t.get(n);return void 0===a&&(a=e.call(this,r),t.set(n,a)),a}function In(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),a=t.get(n);return void 0===a&&(a=e.apply(this,r),t.set(n,a)),a}function Pn(e,t,n,r,a){return n.bind(t,e,r,a)}var Rn=function(){return JSON.stringify(arguments)};function An(){this.cache=Object.create(null)}An.prototype.get=function(e){return this.cache[e]},An.prototype.set=function(e,t){this.cache[e]=t};var Bn,Dn,On={create:function(){return new An}},Nn={variadic:function(e,t){return Pn(e,this,In,t.cache.create(),t.serializer)},monadic:function(e,t){return Pn(e,this,$n,t.cache.create(),t.serializer)}};(Dn=Bn=Bn||{}).MISSING_VALUE="MISSING_VALUE",Dn.INVALID_VALUE="INVALID_VALUE",Dn.MISSING_INTL_API="MISSING_INTL_API";Dt(qn,jn=Error),qn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var x,Hn,Wn,Un,jn,Yn=qn,zn=(Dt(Jn,Un=Yn),Jn),Vn=(Dt(Xn,Wn=Yn),Xn),Zn=(Dt(Kn,Hn=Yn),Kn);function Kn(e,t){return Hn.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Bn.MISSING_VALUE,t)||this}function Xn(e,t,n){return Wn.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Bn.INVALID_VALUE,n)||this}function Jn(e,t,n,r){return Un.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Bn.INVALID_VALUE,r)||this}function qn(e,t,n){e=jn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Qn(e,t,n,r,a,i,o){if(1===e.length&&Ht(e[0]))return[{type:x.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Ht(u))s.push({type:x.literal,value:u.value});else if(u.type===y.pound)"number"==typeof i&&s.push({type:x.literal,value:n.getNumberFormat(t).format(i)});else{var d=u.value;if(!(a&&d in a))throw new Zn(d,o);d=a[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?x.literal:x.object,value:d});else if(Ut(u)){var h="string"==typeof u.style?r.date[u.style]:Kt(u.style)?u.style.parsedOptions:void 0;s.push({type:x.literal,value:n.getDateTimeFormat(t,h).format(d)})}else if(jt(u))h="string"==typeof u.style?r.time[u.style]:Kt(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:x.literal,value:n.getDateTimeFormat(t,h).format(d)});else if(Wt(u))(h="string"==typeof u.style?r.number[u.style]:Zt(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),s.push({type:x.literal,value:n.getNumberFormat(t,h).format(d)});else{if(Vt(u)){var p=u.children,m=u.value,f=a[m];if("function"!=typeof f)throw new Vn(m,"function",o);m=f(Qn(p,t,n,r,a,i).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?x.literal:x.object,value:e}}))}if(Yt(u)){if(!(g=u.options[d]||u.options.other))throw new zn(u.value,d,Object.keys(u.options),o);s.push.apply(s,Qn(g.value,t,n,r,a))}else if(zt(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new Yn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Bn.MISSING_INTL_API,o);var f=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new zn(u.value,d,Object.keys(u.options),o);s.push.apply(s,Qn(g.value,t,n,r,a,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===x.literal&&t.type===x.literal?n.value+=t.value:e.push(t),e},[])}function er(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=x=x||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(u,"defaultLocale",{get:function(){return u.memoizedDefaultLocale||(u.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),u.memoizedDefaultLocale},enumerable:!1,configurable:!0}),u.memoizedDefaultLocale=null,u.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])},u.__parse=Tn,u.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 tr=u;function u(e,t,n,r){var a,i,o=this;if(void 0===t&&(t=u.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===x.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Qn(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=u.resolveLocale(t),"string"==typeof e){if(this.message=e,!u.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=u.__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=(a=u.formats,(i=n)?Object.keys(a).reduce(function(e,t){var n,r;return e[t]=(n=a[t],(r=i[t])?b(b(b({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),r[t]||{}),e},{})):n),e},b({},a)):a),this.formatters=r&&r.formatters||{getNumberFormat:En(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Nt([void 0],t,!1)))},{cache:er((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Nn.variadic}),getDateTimeFormat:En(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Nt([void 0],t,!1)))},{cache:er(t.dateTime),strategy:Nn.variadic}),getPluralRules:En(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Nt([void 0],t,!1)))},{cache:er(t.pluralRules),strategy:Nn.variadic})}}const nr={},rr=(e,t,n)=>n&&(t in nr||(nr[t]={}),e in nr[t]||(nr[t][e]=n),n),ar=(t,n)=>{if(null!=n){if(n in nr&&t in nr[n])return nr[n][t];var r=wr(n);for(let e=0;e<r.length;e++){var a=function(e,n){if(!sr(e))return null;e=function(e){return ir[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const a=r.split(".");let t=e;for(let e=0;e<a.length;e++)if("object"==typeof t){if(0<e){const r=a.slice(e,a.length).join(".");if(r in t){t=t[r];break}}t=t[a[e]]}else t=void 0;return t}}(r[e],t);if(a)return rr(t,n,a)}}};let ir;const or=Mt({});function sr(e){return e in ir}function lr(t,...n){delete nr[t],or.update(e=>(e[t]=At.all([e[t]||{},...n]),e))}Gt([or],([e])=>Object.keys(e)),or.subscribe(e=>ir=e);const cr={};function ur(e){return cr[e]}function dr(e){return null!=e&&wr(e).some(e=>{return null==(e=ur(e))?void 0:e.size})}const hr={};function pr(e){if(!dr(e))return e in hr?hr[e]:Promise.resolve();const t=wr(e).map(e=>{var t=ur(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return hr[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return cr[t].delete(n),0===cr[t].size&&delete cr[t],e().then(e=>e.default||e)}));return n.then(e=>lr(r,...e))}})).then(()=>{if(dr(e))return pr(e);delete hr[e]}),hr[e]}function mr(e,t){var n={};for(a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n}const fr={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 gr=Mt(!1);let yr;const br=Mt(null);function vr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function wr(e,t=fr.fallbackLocale){e=vr(e);return t?[...new Set([...e,...vr(t)])]:e}function xr(){return null!=yr?yr:void 0}br.subscribe(e=>{yr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const je=Object.assign(Object.assign({},br),{set:t=>{if(t&&function(e){if(null!=e){var t=wr(e);for(let e=0;e<t.length;e++){var n=t[e];if(sr(n))return n}}}(t)&&dr(t)){var n=fr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=xr()&&n?e=window.setTimeout(()=>gr.set(!0),n):gr.set(!0),pr(t).then(()=>{br.set(t)}).finally(()=>{clearTimeout(e),gr.set(!1)})}return br.set(t)}}),Sr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Cr=(e,t)=>{var n=fr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},_r=Sr(e=>{var{locale:t,format:n}=e,e=mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Cr("number",n)),new Intl.NumberFormat(t,e)}),kr=Sr(e=>{var{locale:t,format:n}=e,e=mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Cr("date",n):0===Object.keys(e).length&&(e=Cr("date","short")),new Intl.DateTimeFormat(t,e)}),Mr=Sr(e=>{var{locale:t,format:n}=e,e=mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Cr("time",n):0===Object.keys(e).length&&(e=Cr("time","short")),new Intl.DateTimeFormat(t,e)}),Gr=Sr((e,t=xr())=>new tr(e,t,fr.formats,{ignoreTag:fr.ignoreTag})),Fr=Gt([je,or],()=>(e,t={})=>{var n,r;let a=t;"object"==typeof e&&(e=(a=e).id);var{values:i,locale:o=xr(),default:s}=a;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=ar(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=fr).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!i)return l;let c=l;try{c=Gr(l,o).format(i)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Ye=(Gt([je],()=>(e,t)=>((e={})=>{var{locale:t=xr()}=e,e=mr(e,["locale"]);return Mr(Object.assign({locale:t},e))})(t).format(e)),Gt([je],()=>(e,t)=>((e={})=>{var{locale:t=xr()}=e,e=mr(e,["locale"]);return kr(Object.assign({locale:t},e))})(t).format(e)),Gt([je],()=>(e,t)=>((e={})=>{var{locale:t=xr()}=e,e=mr(e,["locale"]);return _r(Object.assign({locale:t},e))})(t).format(e)),Gt([je,or],()=>(e,t=xr())=>ar(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ct.indexOf(e)&&(t=new wt(t),_t[e]=t,Ct.push(e)),_t[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))),ze=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Tr={en:{casinoPage:{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:{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{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:{casinoPage:{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:{casinoPage:{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:{casinoPage:{500:"Error 500 - Error Interno del Servidor",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tómate un descanso de 1 día del juego.",breakButton:"Tómese un descanso de 24 horas del juego",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Limpio",noGamesPlayed:"No has probado ningún juego!"}},tr:{casinoPage:{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:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{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:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{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:{casinoPage:{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:{casinoPage:{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:{casinoPage:{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:{casinoPage:{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!"}}},Er={en:{gamesCategorySection:{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:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{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:{gamesCategorySection:{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:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},tr:{gamesCategorySection:{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:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{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:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{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:{gamesCategorySection:{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:{gamesCategorySection:{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:{gamesCategorySection:{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:{gamesCategorySection:{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."}}},Lr={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Hat soeben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function $r(e,t,n){const r=e.slice();return r[57]=t[n],r}function Ir(e,t,n){const r=e.slice();return r[60]=t[n],r}function Pr(n){let i,r,o,a,s,l,c,u,e,d,h,p,m,f,g,y,b,v,w,x,S=n[14],C=[];for(let e=0;e<S.length;e+=1)C[e]=Dr(Ir(n,S,e));let _=n[7],k=[];for(let e=0;e<_.length;e+=1)k[e]=Or($r(n,_,e));return{c(){i=pe("div"),r=pe("div"),o=pe("div");for(let e=0;e<C.length;e+=1)C[e].c();a=fe(),s=pe("div"),l=pe("button"),c=G("svg"),u=G("path"),d=fe(),h=pe("button"),p=G("svg"),m=G("path"),y=fe(),b=pe("div");for(let e=0;e<k.length;e+=1)k[e].c();ge(o,"class","WinnerButtonsContainer"),ge(u,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),ge(u,"id","Path_36"),ge(u,"data-name","Path 36"),ge(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),ge(u,"transform","translate(14.656 0) rotate(90)"),ge(u,"fill","#fff"),ge(c,"id","Component_46_2"),ge(c,"data-name","Component 46 – 2"),ge(c,"xmlns","http://www.w3.org/2000/svg"),ge(c,"width","15"),ge(c,"height","15"),ge(c,"viewBox","0 0 16 24.656"),ge(l,"class","SliderButton"),ge(m,"style",f=n[8]>=n[7].length?"fill:#F6F6F62E":""),ge(m,"id","Path_36"),ge(m,"data-name","Path 36"),ge(m,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),ge(m,"transform","translate(0 24.656) rotate(-90)"),ge(m,"fill","#fff"),ge(p,"id","Component_46_2"),ge(p,"data-name","Component 46 – 2"),ge(p,"xmlns","http://www.w3.org/2000/svg"),ge(p,"width","15"),ge(p,"height","15"),ge(p,"viewBox","0 0 16 24.656"),ge(h,"class","SliderButton"),ge(s,"class",g="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),ge(r,"class","WinnersHeader"),ge(b,"class","WinnersSlider"),ge(i,"class",v="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){de(e,i,t),ue(i,r),ue(r,o);for(let e=0;e<C.length;e+=1)C[e].m(o,null);ue(r,a),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(s,d),ue(s,h),ue(h,p),ue(p,m),ue(i,y),ue(i,b);for(let e=0;e<k.length;e+=1)k[e].m(b,null);n[38](b),w||(x=[X(l,"click",n[35]),X(h,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for(S=t[14],e=0;e<S.length;e+=1){var r=Ir(t,S,e);C[e]?C[e].p(r,n):(C[e]=Dr(r),C[e].c(),C[e].m(o,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=S.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&ge(u,"style",e),384&n[0]&&f!==(f=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&ge(m,"style",f),8&n[0]&&g!==(g="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&ge(s,"class",g),435348&n[0]){let e;for(_=t[7],e=0;e<_.length;e+=1){var a=$r(t,_,e);k[e]?k[e].p(a,n):(k[e]=Or(a),k[e].c(),k[e].m(b,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=_.length}512&n[0]&&v!==(v="CasinoWinners "+(t[9]?"Mobile":""))&&ge(i,"class",v)},d(e){e&&he(i),M(C,e),M(k,e),n[38](null),w=!1,K(x)}}}function Rr(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ar(n){let r,a,i,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=pe("button"),a=me(l),ge(r,"class",i="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){de(e,r,t),ue(r,a),o||(s=X(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(a,l),65&t[0]&&i!==(i="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&ge(r,"class",i)},d(e){e&&he(r),o=!1,s()}}}function Br(n){let r,a,i,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=pe("button"),a=me(c),i=fe(),ge(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){de(e,r,t),ue(r,a),ue(r,i),s||(l=X(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(a,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&ge(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function Dr(e){let n,r,a="recent"==e[60]&&Ar(e),i="top"==e[60]&&Br(e);return{c(){a&&a.c(),n=fe(),i&&i.c(),r=l()},m(e,t){a&&a.m(e,t),de(e,n,t),i&&i.m(e,t),de(e,r,t)},p(e,t){"recent"==e[60]?a?a.p(e,t):((a=Ar(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"top"==e[60]?i?i.p(e,t):((i=Br(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&he(n),i&&i.d(e),e&&he(r)}}}function Or(n){let r,a,i,o,s,l,c,u,d,h,p,m,f,g,y,b,v,w,x,S,C,_,k,M,G=n[57].gameName+"",F=n[17](n[57].username)+"",T=n[15]("Translations.won")+"",E=n[57].specifiedCurrencyAmount.toFixed(2)+"",L=(n[4]?n[10]:n[2])+"";function $(){return n[37](n[57])}return{c(){r=pe("div"),a=pe("div"),i=pe("img"),l=fe(),c=pe("p"),u=me(G),d=fe(),h=pe("p"),p=me(F),m=fe(),f=pe("p"),g=me(T),y=fe(),b=pe("p"),v=me(E),w=fe(),x=pe("span"),S=me(L),C=fe(),ce(i.src,o=n[57]?.gameModel?.thumbnail)||ge(i,"src",o),ge(i,"alt",s=n[57]?.gameModel?.thumbnail),ge(i,"class","WinnersImage"),ge(f,"class","WinnerUsername"),ge(a,"class","WinnerCard"),ge(r,"class",_="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,l),ue(a,c),ue(c,u),ue(a,d),ue(a,h),ue(h,p),ue(a,m),ue(a,f),ue(f,g),ue(a,y),ue(a,b),ue(b,v),ue(b,w),ue(b,x),ue(x,S),ue(r,C),k||(M=X(i,"click",$),k=!0)},p(e,t){n=e,128&t[0]&&!ce(i.src,o=n[57]?.gameModel?.thumbnail)&&ge(i,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&ge(i,"alt",s),128&t[0]&&G!==(G=n[57].gameName+"")&&ye(u,G),128&t[0]&&F!==(F=n[17](n[57].username)+"")&&ye(p,F),32768&t[0]&&T!==(T=n[15]("Translations.won")+"")&&ye(g,T),128&t[0]&&E!==(E=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,E),1044&t[0]&&L!==(L=(n[4]?n[10]:n[2])+"")&&ye(S,L),8192&t[0]&&_!==(_="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&ge(r,"class",_)},d(e){e&&he(r),k=!1,M()}}}function Nr(n){let r;function a(e){return e[12]?Rr:Pr}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[39](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[39](null)}}}function Hr(t,e,i){let n;Ve(t,Fr,e=>i(15,n=e));let r,o,a,s,l,c,u,d,h,p,{endpoint:m=""}=e,{session:f=""}=e,{periodrecent:g="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:b="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:w="1"}=e,{lang:x="en"}=e,{isrecentavailable:S="true"}=e,{istopavailable:C="true"}=e,{defaultcurrency:_=""}=e,{clientstyling:k=""}=e,{clientstylingurl:M=""}=e,{enableautoscroll:G=""}=e,{tabsorder:F=""}=e,T=[],E=0,L=0,A=window.navigator.userAgent,$=!0,I=!1;Object.keys(Lr).forEach(e=>{lr(e,Lr[e])});const B=()=>{const e=new URL(`${m}/casino/${o}-winners`);e.searchParams.append("limit","recent"==o?b:v),e.searchParams.append("specifiedCurrency",p),e.searchParams.append("period","recent"==o?g:y),e.searchParams.append("language",x),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{i(7,T=[]),i(7,T=e.items.map(e=>e)),i(12,$=!1),setTimeout(()=>{i(8,L=Math.round(r.offsetWidth/225)),O(),"true"==G&&(E=0,L<u?d=setInterval(()=>{R()},3e3):clearInterval(d))})})},P=e=>{o!==e&&(i(6,o=e),i(7,T=[]),B())},D=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},O=n=>{const e=[...r.children];u=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==o?setTimeout(()=>{i(13,I=!0)},10):i(13,I=!1)},N=()=>{O(E)},H=()=>{var e=T.length;L>=T.length||(0===E?E=e-L:E-L<0?E=0:E-=L,N())},R=()=>{var e=T.length;L>=T.length||("true"==G&&(E===e-L?E=0:E++),"false"==G&&(E===e-L?E=0:e-L<E+L?E=e-L:E+=L),N())};return Ze(()=>(i(9,a=Ye(A)),()=>{clearInterval(d)})),t.$$set=e=>{"endpoint"in e&&i(22,m=e.endpoint),"session"in e&&i(23,f=e.session),"periodrecent"in e&&i(24,g=e.periodrecent),"periodtop"in e&&i(25,y=e.periodtop),"numberusersrecent"in e&&i(26,b=e.numberusersrecent),"numberuserstop"in e&&i(27,v=e.numberuserstop),"amountlimit"in e&&i(21,w=e.amountlimit),"lang"in e&&i(28,x=e.lang),"isrecentavailable"in e&&i(0,S=e.isrecentavailable),"istopavailable"in e&&i(1,C=e.istopavailable),"defaultcurrency"in e&&i(2,_=e.defaultcurrency),"clientstyling"in e&&i(29,k=e.clientstyling),"clientstylingurl"in e&&i(30,M=e.clientstylingurl),"enableautoscroll"in e&&i(3,G=e.enableautoscroll),"tabsorder"in e&&i(31,F=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&S&&C&&g&&y&&b&&v&&w&&x&&F&&null!=s&&(i(14,h=F.split(",")),i(6,o=h[0]),"false"==S&&i(21,w=""),i(32,p=s?l:_)),4194304&t.$$.dirty[0]&&m&&(r=m,a=f,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",a),Me(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,i(10,l=e.Currency),i(4,s=!0)},e=>{i(4,s=!1)})),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&m&&p&&G&&B(),268435456&t.$$.dirty[0]&&x&&(e=x,je.set(e)),536870912&t.$$.dirty[0]&&k){let e=document.createElement("style");e.innerHTML=k,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&M){let e=new URL(M),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e,r,a},[S,C,_,G,s,r,o,T,L,a,l,c,$,I,h,n,P,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),D,H,R,w,m,f,g,y,b,v,x,k,M,F,p,()=>P("recent"),()=>P("top"),()=>H(),()=>R(),e=>D(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){Ue[e?"unshift":"push"](()=>{r=e,i(5,r)})},function(e){Ue[e?"unshift":"push"](()=>{c=e,i(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:192px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:192px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",U(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Hr,Nr,d,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),g()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),g()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),g()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),g()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),g()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),g()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),g()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),g()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),g()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),g()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),g()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),g()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),g()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),g()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),g()}});Ur=Wr={path:void 0,exports:{},require:function(e,t){return Ln(null==t&&Wr.path)}},Wr.exports,Ur.exports=function(){var A;function m(){return A.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 f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function D(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function O(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function N(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],r=e.length,a=0;a<r;++a)n.push(t(e[a],a));return n}function W(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return Lt(e,t,n,r,!0).utc()}function g(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 U(e){if(null==e._isValid){var t=g(e),n=Y.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 j(e){var t=c(NaN);return null!=e?W(g(t),e):g(t).userInvalidated=!0,t}var Y=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},z=m.momentProperties=[],V=!1;function Z(e,t){var n,r,a,i=z.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=g(t)),s(t._locale)||(e._locale=t._locale),0<i)for(n=0;n<i;n++)s(a=t[r=z[n]])||(e[r]=a);return e}function K(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,m.updateOffset(this),V=!1)}function l(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function X(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,o){var s=!0;return W(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,i),s){for(var e,t,n=[],r=arguments.length,a=0;a<r;a++){if(e="","object"==typeof arguments[a]){for(t in e+="\n["+a+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[a];n.push(e)}X(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var J={};function q(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),J[e]||(X(t),J[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=W({},e);for(n in t)f(t,n)&&(B(e[n])&&B(t[n])?(r[n]={},W(r[n],e[n]),W(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)f(e,n)&&!f(t,n)&&B(e[n])&&(r[n]=W({},r[n]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};function i(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,ae={},ie={};function r(e,t,n,r){var a="string"==typeof r?function(){return this[r]()}:r;e&&(ie[e]=a),t&&(ie[t[0]]=function(){return i(a.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ae[t]=ae[t]||function(r){for(var e,a=r.match(ne),t=0,i=a.length;t<i;t++)ie[a[t]]?a[t]=ie[a[t]]:a[t]=(e=a[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<i;n++)t+=u(a[n])?a[n].call(e,r):a[n];return t}}(t),ae[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 d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)f(e,n)&&(t=d(n))&&(r[t]=e[n]);return r}var ue={};function n(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function h(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)?h(e):t}function he(t,n){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,n),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&de(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 a=/\d/,y=/\d\d/,fe=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,Se=/[+-]?\d{1,6}/,Ce=/\d+/,_e=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,Me=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[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){Fe[e]=u(n)?n:function(e,t){return e&&r?r:n}}function Ge(e,t){return f(Fe,e)?Fe[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Fe={},Te={};function S(e,n){var t,r,a=n;for("string"==typeof e&&(e=[e]),O(n)&&(a=function(e,t){t[n]=p(e)}),r=e.length,t=0;t<r;t++)Te[e[t]]=a}function Ee(e,a){S(e,function(e,t,n,r){n._w=n._w||{},a(e,n._w,n,r)})}var C,_=0,k=1,M=2,G=3,F=4,T=5,Le=6,$e=7,Ie=8;function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?de(e)?29:28:31-n%7%2}C=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",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[k]=p(e)-1}),S(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[k]=r:g(n).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Be=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=v,Oe=v;function Ne(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!O(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?(Ne(this,e),m.updateOffset(this,!0),this):pe(this,"Month")}function We(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],a=[],i=0;i<12;i++)t=c([2e3,i]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),a.push(this.months(t,"")),a.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),a.sort(e),i=0;i<12;i++)n[i]=x(n[i]),r[i]=x(r[i]);for(i=0;i<24;i++)a[i]=x(a[i]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return de(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?i(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",_e),w("YY",b,y),w("YYYY",xe,ge),w("YYYYY",Se,ye),w("YYYYYY",Se,ye),S(["YYYYY","YYYYYY"],_),S("YYYY",function(e,t){t[_]=2===e.length?m.parseTwoDigitYear(e):p(e)}),S("YY",function(e,t){t[_]=m.parseTwoDigitYear(e)}),S("Y",function(e,t){t[_]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var je=he("FullYear",!0);function Ye(e,t,n,r,a,i,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,o),s}function ze(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+ze(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,a){var i,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,a),n=t<=0?Ue(i=e-1)+t:t>Ue(e)?(i=e+1,t-Ue(e)):(i=e,t);return{year:i,dayOfYear:n}}function Ke(e,t,n){var r,a,i=Ve(e.year(),t,n),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?r=i+E(a=e.year()-1,t,n):i>E(e.year(),t,n)?(r=i-E(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function E(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(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",b),w("ww",b,y),w("W",b),w("WW",b,y),Ee(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=p(e)});function Xe(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",b),w("e",b),w("E",b),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)}),Ee(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),Ee(["d","e","E"],function(e,t,n,r){t[r]=p(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,a=[],i=[],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,"")),a.push(t),i.push(n),o.push(r),s.push(t),s.push(n),s.push(r);a.sort(e),i.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("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function at(){return this.hours()%12||12}function it(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,at),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)}),r("hmmss",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)+i(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+i(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+i(this.minutes(),2)+i(this.seconds(),2)}),it("a",!0),it("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),S(["H","HH"],G),S(["k","kk"],function(e,t,n){e=p(e);t[G]=24===e?0:e}),S(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),S(["h","hh"],function(e,t,n){t[G]=p(e),g(n).bigHour=!0}),S("hmm",function(e,t,n){var r=e.length-2;t[G]=p(e.substr(0,r)),t[F]=p(e.substr(r)),g(n).bigHour=!0}),S("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[G]=p(e.substr(0,r)),t[F]=p(e.substr(r,2)),t[T]=p(e.substr(a)),g(n).bigHour=!0}),S("Hmm",function(e,t,n){var r=e.length-2;t[G]=p(e.substr(0,r)),t[F]=p(e.substr(r))}),S("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[G]=p(e.substr(0,r)),t[F]=p(e.substr(r,2)),t[T]=p(e.substr(a))});v=he("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:Ae,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},L={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,n,r,a,i=0;i<e.length;){for(t=(a=ut(e[i]).split("-")).length,n=(n=ut(e[i+1]))?n.split("-"):null;0<t;){if(r=ht(a.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}(a,n)>=t-1)break;t--}i++}return st}function ht(t){var e;if(void 0===L[t]&&Ur&&Ur.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Ln(),pt(e)}catch(e){L[t]=null}return L[t]}function pt(e,t){return e&&((t=s(t)?$(e):mt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function mt(e,t){if(null===t)return delete L[e],null;var n,r=lt;if(t.abbr=e,null!=L[e])q("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=L[e]._config;else if(null!=t.parentLocale)if(null!=L[t.parentLocale])r=L[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return L[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),pt(e),L[e]}function $(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=ht(e))return t;e=[e]}return dt(e)}function ft(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[k]<0||11<t[k]?k:t[M]<1||t[M]>Pe(t[_],t[k])?M:t[G]<0||24<t[G]||24===t[G]&&(0!==t[F]||0!==t[T]||0!==t[Le])?G:t[F]<0||59<t[F]?F:t[T]<0||59<t[T]?T:t[Le]<0||999<t[Le]?Le:-1,g(e)._overflowDayOfYear&&(t<_||M<t)&&(t=M),g(e)._overflowWeeks&&-1===t&&(t=$e),g(e)._overflowWeekday&&-1===t&&(t=Ie),g(e).overflow=t),e}var gt=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["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,St=/^(?:(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}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _t(e){var t,n,r,a,i,o,s=e._i,l=gt.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(g(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){a=vt[t][0],r=!1!==vt[t][2];break}if(null==a)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){i=(l[2]||" ")+wt[t][0];break}if(null==i)return e._isValid=!1}if(!r&&null!=i)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=a+(i||"")+(o||""),Tt(e)}else e._isValid=!1}function kt(e,t,n,r,a,i){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ae.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&e.push(parseInt(i,10)),e}function Mt(e){var t,n,r,a,i=St.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=kt(i[4],i[3],i[2],i[5],i[6],i[7]),n=i[1],r=t,a=e,n&&qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(a).weekdayMismatch=!0,a._isValid=!1):(e._a=t,e._tzm=(n=i[8],r=i[9],a=i[10],n?Ct[n]:r?0:((n=parseInt(a,10))-(r=n%100))/100*60+r),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Gt(e,t,n){return null!=e?e:null!=t?t:n}function Ft(e){var t,n,r,a,i,o,s,l,c,u,d,h=[];if(!e._d){for(u=e,d=new Date(m.now()),n=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[M]&&null==e._a[k]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,s=4,r=Gt(d.GG,u._a[_],Ke(I(),1,4).year),a=Gt(d.W,1),((i=Gt(d.E,1))<1||7<i)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Ke(I(),o,s),r=Gt(d.gg,u._a[_],c.year),a=Gt(d.w,c.week),null!=d.d?((i=d.d)<0||6<i)&&(l=!0):null!=d.e?(i=d.e+o,(d.e<0||6<d.e)&&(l=!0)):i=o),a<1||a>E(r,o,s)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=Ze(r,a,i,o,s),u._a[_]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=Gt(e._a[_],n[_]),(e._dayOfYear>Ue(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=ze(d,0,e._dayOfYear),e._a[k]=l.getUTCMonth(),e._a[M]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[G]&&0===e._a[F]&&0===e._a[T]&&0===e._a[Le]&&(e._nextDay=!0,e._a[G]=0),e._d=(e._useUTC?ze:Ye).apply(null,h),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[G]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Tt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r,a=""+e._i,i=a.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(a.match(Ge(r,e))||[])[0])&&(0<(d=a.substr(0,a.indexOf(t))).length&&g(e).unusedInput.push(d),a=a.slice(a.indexOf(t)+t.length),o+=t.length),ie[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),d=r,p=e,null!=(h=t)&&f(Te,d)&&Te[d](h,p._a,p,d)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=i-o,0<a.length&&g(e).unusedInput.push(a),e._a[G]<=12&&!0===g(e).bigHour&&0<e._a[G]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[G]=(i=e._locale,c=e._a[G],null==(u=e._meridiem)?c:null!=i.meridiemHour?i.meridiemHour(c,u):null!=i.isPM?((i=i.isPM(u))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[_]=e._locale.erasConvertYear(u,e._a[_])),Ft(e),ft(e)}else Mt(e);else _t(e);var c,u,d,h,p}function Et(e){var t,n=e._i,r=e._f;{var a,i;if(e._locale=e._locale||$(e._l),null===n||void 0===r&&""===n)return j({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new K(ft(n)):(N(n)?e._d=n:o(r)?function(e){var t,n,r,a,i,o,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(a=0;a<l;a++)i=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Tt(t),U(t)&&(o=!0),i=(i+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||o)&&(r=i,n=t,o&&(s=!0));W(e,n||t)}(e):r?Tt(e):s(r=(n=e)._i)?n._d=new Date(m.now()):N(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(a=n,null===(i=xt.exec(a._i))?(_t(a),!1===a._isValid&&(delete a._isValid,Mt(a),!1===a._isValid&&(delete a._isValid,a._strict?a._isValid=!1:m.createFromInputFallback(a)))):a._d=new Date(+i[1])):o(r)?(n._a=H(r.slice(0),function(e){return parseInt(e,10)}),Ft(n)):B(r)?(a=n)._d||(t=void 0===(i=ce(a._i)).day?i.date:i.day,a._a=H([i.year,i.month,t,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Ft(a)):O(r)?n._d=new Date(r):m.createFromInputFallback(n),U(e)||(e._d=null),e)}}function Lt(e,t,n,r,a){var i={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(B(e)&&D(e)||o(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=n,i._i=e,i._f=t,i._strict=r,(a=new K(ft(Et(a=i))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function I(e,t,n,r){return Lt(e,t,n,r,!1)}m.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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function $t(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return I();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var It=["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,a=e.week||e.isoWeek||0,i=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,a=It.length;for(t in e)if(f(e,t)&&(-1===C.call(It,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[It[n]]){if(r)return!1;parseFloat(e[It[n]])!==p(e[It[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+i+7*a,this._months=+r+3*n+12*t,this._data={},this._locale=$(),this._bubble()}function Rt(e){return e instanceof Pt}function At(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+i(~~(e/60),2)+n+i(~~e%60,2)})}Bt("Z",":"),Bt("ZZ",""),w("Z",Me),w("ZZ",Me),S(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ot(Me,e)});var Dt=/([\+\-]|\d\d)/gi;function Ot(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Dt)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Nt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||N(e)?e:I(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):I(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function Wt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?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,a=e,i=null;return Rt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:O(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(i=Ut.exec(e))?(n="-"===i[1]?-1:1,a={y:0,d:p(i[M])*n,h:p(i[G])*n,m:p(i[F])*n,s:p(i[T])*n,ms:p(At(1e3*i[Le]))*n}):(i=jt.exec(e))?(n="-"===i[1]?-1:1,a={y:Yt(i[2],n),M:Yt(i[3],n),w:Yt(i[4],n),d:Yt(i[5],n),h:Yt(i[6],n),m:Yt(i[7],n),s:Yt(i[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(t=I(a.from),i=I(a.to),n=t.isValid()&&i.isValid()?(i=Nt(i,t),t.isBefore(i)?r=zt(t,i):((r=zt(i,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(a={}).ms=n.milliseconds,a.M=n.months),i=new Pt(a),Rt(e)&&f(e,"_locale")&&(i._locale=e._locale),Rt(e)&&f(e,"_isValid")&&(i._isValid=e._isValid),i}function Yt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(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,a){return function(e,t){var n;return null===t||isNaN(+t)||(q(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(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 a=t._milliseconds,i=At(t._days),t=At(t._months);e.isValid()&&(r=null==r||r,t&&Ne(e,pe(e,"Month")+t*n),i&&me(e,"Date",pe(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&m.updateOffset(e,i||t))}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Re=Vt(1,"add"),Je=Vt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||N(e)||Kt(e)||O(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!O(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=B(e)&&!D(e),a=!1,i=["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=i.length;for(t=0;t<o;t+=1)n=i[t],a=a||f(e,n);return r&&a}(e)||null==e;var t,n,r}function Jt(e,t){if(e.date()<t.date())return-Jt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function qt(e){return void 0===e?this._locale._abbr:(null!=(e=$(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.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=[],a=this.eras(),i=0,o=a.length;i<o;++i)t.push(x(a[i].name)),e.push(x(a[i].abbr)),n.push(x(a[i].narrow)),r.push(x(a[i].name)),r.push(x(a[i].abbr)),r.push(x(a[i].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,a){var i;return null==e?Ke(this,r,a).year:(t>(i=E(e,r,a))&&(t=i),function(e,t,n,r,a){e=Ze(e,t,n,r,a),t=ze(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,a))}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)}),S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),S(["y","yy","yyy","yyyy"],_),S(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[_]=n._locale.eraYearOrdinalParse(e,a):t[_]=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",_e),w("g",_e),w("GG",b,y),w("gg",b,y),w("GGGG",xe,ge),w("gggg",xe,ge),w("GGGGG",Se,ye),w("ggggg",Se,ye),Ee(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=p(e)}),Ee(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",a),S("Q",function(e,t){t[k]=3*(p(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],M),S("Do",function(e,t){t[M]=p(e.match(b)[0])});xe=he("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",fe),S(["DDD","DDDD"],function(e,t,n){n._dayOfYear=p(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),S(["m","mm"],F);ge=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),S(["s","ss"],T);var cn,Se=he("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,a),w("SS",we,y),w("SSS",we,fe),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function un(e,t){t[Le]=p(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")S(cn,un);ye=he("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");a=K.prototype;function dn(e){return e}a.add=Re,a.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=B(e)&&!D(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a=0;a<r.length;a+=1)n=n||f(e,r[a]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||I(),n=Nt(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,I(e)))},a.clone=function(){return new K(this)},a.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=d(t)){case"year":i=Jt(this,r)/12;break;case"month":i=Jt(this,r);break;case"quarter":i=Jt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:h(i)},a.endOf=function(e){var t,n;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;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}return this._d.setTime(t),m.updateOffset(this,!0),this},a.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},a.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.fromNow=function(e){return this.from(I(),e)},a.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.toNow=function(e){return this.to(I(),e)},a.get=function(e){return u(this[e=d(e)])?this[e]():this},a.invalidAt=function(){return g(this).overflow},a.isAfter=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},a.isBefore=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},a.isBetween=function(e,t,n,r){return e=l(e)?e:I(e),t=l(t)?t:I(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))},a.isSame=function(e,t){var e=l(e)?e:I(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},a.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},a.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},a.isValid=function(){return U(this)},a.lang=Qe,a.locale=qt,a.localeData=Qt,a.max=ve,a.min=be,a.parsingFlags=function(){return W({},g(this))},a.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)f(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,a=0;a<r;a++)this[n[a].unit](e[n[a].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},a.startOf=function(e){var t,n;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;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)}return this._d.setTime(t),m.updateOffset(this,!0),this},a.subtract=Je,a.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},a.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()}},a.toDate=function(){return new Date(this.valueOf())},a.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.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"):u(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")},a.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return 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+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(a[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},a.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},a.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""},a.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""},a.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""},a.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,a=n.length;r<a;++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()-m(n[r].since).year())*e+n[r].offset;return this.year()},a.year=je,a.isLeapYear=function(){return de(this.year())},a.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},a.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},a.quarter=a.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},a.month=He,a.daysInMonth=function(){return Pe(this.year(),this.month())},a.week=a.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},a.isoWeek=a.isoWeeks=function(e){var t=Ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},a.weeksInYear=function(){var e=this.localeData()._week;return E(this.year(),e.dow,e.doy)},a.weeksInWeekYear=function(){var e=this.localeData()._week;return E(this.weekYear(),e.dow,e.doy)},a.isoWeeksInYear=function(){return E(this.year(),1,4)},a.isoWeeksInISOWeekYear=function(){return E(this.isoWeekYear(),1,4)},a.date=xe,a.day=a.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},a.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},a.isoWeekday=function(e){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;var t,n},a.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")},a.hour=a.hours=v,a.minute=a.minutes=ge,a.second=a.seconds=Se,a.millisecond=a.milliseconds=ye,a.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?a:Ht(this);if("string"==typeof e){if(null===(e=Ot(Me,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"),a!==e&&(!t||this._changeInProgress?Zt(this,P(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},a.utc=function(e){return this.utcOffset(0,e)},a.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},a.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ot(ke,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},a.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?I(e).utcOffset():0,(this.utcOffset()-e)%60==0)},a.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},a.isLocal=function(){return!!this.isValid()&&!this._isUTC},a.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},a.isUtc=Wt,a.isUTC=Wt,a.zoneAbbr=function(){return this._isUTC?"UTC":""},a.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},a.dates=e("dates accessor is deprecated. Use date instead.",xe),a.months=e("months accessor is deprecated. Use month instead",He),a.years=e("years accessor is deprecated. Use year instead",je),a.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()}),a.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Et(t))._a?(e=(t._isUTC?c:I)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&p(e[o])!==p(t[o]))&&i++;return i+a}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function hn(e,t,n,r){var a=$(),r=c().set(r,t);return a[n](r,e)}function pn(e,t,n){if(O(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");for(var r=[],a=0;a<12;a++)r[a]=hn(e,a,n,"month");return r}function mn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),O(t)&&(n=t,t=void 0),t||"");var a,i=$(),o=e?i._week.dow:0,s=[];if(null!=n)return hn(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=hn(t,(a+o)%7,r,"day");return s}y.calendar=function(e,t,n){return u(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=dn,y.postformat=dn,y.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return u(a)?a(e,t,n,r):a.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(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)f(e,n)&&(u(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||$("en")._eras,a=0,i=r.length;a<i;++a)switch("string"==typeof r[a].since&&(n=m(r[a].since).startOf("day"),r[a].since=n.valueOf()),typeof r[a].until){case"undefined":r[a].until=1/0;break;case"string":n=m(r[a].until).startOf("day").valueOf(),r[a].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,a,i,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(i=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(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[i,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return f(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return f(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,a;if(this._monthsParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=C.call(this._shortMonthsParse,e))?a:null:-1!==(a=C.call(this._longMonthsParse,e))?a:null:"MMM"===t?-1!==(a=C.call(this._shortMonthsParse,e))||-1!==(a=C.call(this._longMonthsParse,e))?a:null:-1!==(a=C.call(this._longMonthsParse,e))||-1!==(a=C.call(this._shortMonthsParse,e))?a:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(a.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?(f(this,"_monthsRegex")||We.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||We.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ke(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?Xe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,a;if(this._weekdaysParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=C.call(this._weekdaysParse,e))?a:null:"ddd"===t?-1!==(a=C.call(this._shortWeekdaysParse,e))?a:null:-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:"dddd"===t?-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._shortWeekdaysParse,e))||-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:"ddd"===t?-1!==(a=C.call(this._shortWeekdaysParse,e))||-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:-1!==(a=C.call(this._minWeekdaysParse,e))||-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._shortWeekdaysParse,e))?a:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(a.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?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(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")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",$);var fn=Math.abs;function gn(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 bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),fe=wn("s"),Re=wn("m"),ve=wn("h"),be=wn("d"),Je=wn("w"),v=wn("M"),ge=wn("Q"),Se=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),je=xn("minutes"),y=xn("hours"),Sn=xn("days"),Cn=xn("months"),_n=xn("years");var kn=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(e,t,n,r){var a=P(e).abs(),i=kn(a.as("s")),o=kn(a.as("m")),s=kn(a.as("h")),l=kn(a.as("d")),c=kn(a.as("M")),u=kn(a.as("w")),a=kn(a.as("y")),i=(i<=n.ss?["s",i]:i<n.s&&["ss",i])||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(i=(i=null!=n.w?i||u<=1&&["w"]||u<n.w&&["ww",u]:i)||c<=1&&["M"]||c<n.M&&["MM",c]||a<=1&&["y"]||["yy",a])[2]=t,i[3]=0<+e,i[4]=r,function(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}.apply(null,i)}var Fn=Math.abs;function Tn(e){return(0<e)-(e<0)||+e}function En(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,o,s=Fn(this._milliseconds)/1e3,l=Fn(this._days),c=Fn(this._months),u=this.asSeconds();return u?(e=h(s/60),t=h(e/60),s%=60,e%=60,n=h(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",a=Tn(this._months)!==Tn(u)?"-":"",i=Tn(this._days)!==Tn(u)?"-":"",o=Tn(this._milliseconds)!==Tn(u)?"-":"",(u<0?"-":"")+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(l?i+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}var R=Pt.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=fn(this._milliseconds),this._days=fn(this._days),this._months=fn(this._months),e.milliseconds=fn(e.milliseconds),e.seconds=fn(e.seconds),e.minutes=fn(e.minutes),e.hours=fn(e.hours),e.months=fn(e.months),e.years=fn(e.years),this},R.add=function(e,t){return gn(this,e,t,1)},R.subtract=function(e,t){return gn(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(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=fe,R.asMinutes=Re,R.asHours=ve,R.asDays=be,R.asWeeks=Je,R.asMonths=v,R.asQuarters=ge,R.asYears=Se,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(vn(n)+t),n=t=0),r.milliseconds=e%1e3,e=h(e/1e3),r.seconds=e%60,e=h(e/60),r.minutes=e%60,e=h(e/60),r.hours=e%24,t+=h(e/24),n+=e=h(bn(t)),t-=yn(vn(e)),e=h(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=d(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=xe,R.minutes=je,R.hours=y,R.days=Sn,R.weeks=function(){return h(this.days()/7)},R.months=Cn,R.years=_n,R.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Mn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Mn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Gn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},R.toISOString=En,R.toString=En,R.toJSON=En,R.locale=qt,R.localeData=Qt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",En),R.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",_e),w("X",/[+-]?\d+(\.\d{1,3})?/),S("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),S("x",function(e,t,n){n._d=new Date(p(e))}),m.version="2.29.3",A=I,m.fn=a,m.min=function(){return $t("isBefore",[].slice.call(arguments,0))},m.max=function(){return $t("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return I(1e3*e)},m.months=function(e,t){return pn(e,t,"months")},m.isDate=N,m.locale=pt,m.invalid=j,m.duration=P,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return I.apply(null,arguments).parseZone()},m.localeData=$,m.isDuration=Rt,m.monthsShort=function(e,t){return pn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=L[e]&&null!=L[e].parentLocale?L[e].set(Q(L[e]._config,t)):(t=Q(r=null!=(n=ht(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=L[e],L[e]=r),pt(e)):null!=L[e]&&(null!=L[e].parentLocale?(L[e]=L[e].parentLocale,e===pt()&&pt(e)):null!=L[e]&&delete L[e]),L[e]},m.locales=function(){return te(L)},m.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Mn[e]&&(void 0===t?Mn[e]:(Mn[e]=t,"s"===e&&(Mn.ss=t-1),!0))},m.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"},m.prototype=a,m.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"},m}();var Wr,Ur,jr=Wr.exports;const Yr={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},zr={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 Vr(e,t,n){const r=e.slice();return r[105]=t[n],r[107]=n,r}function Zr(e,t,n){const r=e.slice();return r[102]=t[n],r}function Kr(e){let n,r=!Ye(e[36])&&!e[0]&&e[13],a=r&&Xr(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),de(e,n,t)},p(e,t){(r=8193&t[0]?!Ye(e[36])&&!e[0]&&e[13]:r)?a?a.p(e,t):((a=Xr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&he(n)}}}function Xr(n){let r,a,i;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: white" 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>',ge(r,"class","FavIconContainer"),ge(r,"part","FavIconContainer")},m(e,t){de(e,r,t),a||(i=X(r,"click",n[64]),a=!0)},p:Z,d(e){e&&he(r),a=!1,i()}}}function Jr(e){let n;return{c(){(n=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="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: white" 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>',ge(n,"class","FavIconContainer"),ge(n,"part","FavIconContainer")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function qr(n){let r,a,i;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="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: white" 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>',ge(r,"class","FavIconContainer"),ge(r,"part","FavIconContainer")},m(e,t){de(e,r,t),a||(i=X(r,"click",n[66]),a=!0)},p:Z,d(e){e&&he(r),a=!1,i()}}}function Qr(e){let n,r,a=e[35]("gameThumbnail.new")+"";return{c(){n=pe("span"),r=me(a),ge(n,"class","GameExtraInfoLabel NewGameTag"),ge(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&a!==(a=e[35]("gameThumbnail.new")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ea(e){let n,r,a=e[35]("gameThumbnail.hot")+"";return{c(){n=pe("span"),r=me(a),ge(n,"class","GameExtraInfoLabel PopularGameTag"),ge(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&a!==(a=e[35]("gameThumbnail.hot")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ta(e){let n,r,a=!e[22]&&e[20]&&e[21]&&na(e);function i(e){return e[22]&&e[19]&&e[19]===ma?aa:e[22]&&e[19]&&e[19]===fa?ra:void 0}let o=i(e),s=o&&o(e);return{c(){a&&a.c(),n=fe(),s&&s.c(),r=l()},m(e,t){a&&a.m(e,t),de(e,n,t),s&&s.m(e,t),de(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?a?a.p(e,t):((a=na(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){a&&a.d(e),e&&he(n),s&&s.d(e),e&&he(r)}}}function na(e){let n,r,a,i,o,s,l,c,u,d,h=e[35]("gameThumbnail.opens")+"",p=jr.utc(e[20]).local().format(e[21])+"",m=e[45](e[34])+"",f=e[44](e[26],e[27],e[25])+"";return{c(){n=pe("div"),r=pe("div"),a=me(h),i=fe(),o=pe("span"),s=me(p),l=fe(),c=new L(!1),u=fe(),d=new L(!1),ge(r,"class","ClosedGame"),ge(r,"part","ClosedGame"),c.a=u,d.a=null,ge(n,"class","GameProp LiveProps"),ge(n,"part","GameProp LiveProps")},m(e,t){de(e,n,t),ue(n,r),ue(r,a),ue(r,i),ue(r,o),ue(o,s),ue(n,l),c.m(m,n),ue(n,u),d.m(f,n)},p(e,t){16&t[1]&&h!==(h=e[35]("gameThumbnail.opens")+"")&&ye(a,h),3145728&t[0]&&p!==(p=jr.utc(e[20]).local().format(e[21])+"")&&ye(s,p),8&t[1]&&m!==(m=e[45](e[34])+"")&&c.p(m),234881024&t[0]&&f!==(f=e[44](e[26],e[27],e[25])+"")&&d.p(f)},d(e){e&&he(n)}}}function ra(n){let r,a,i,o,s,l,c=n[45](n[34])+"",u=n[44](n[26],n[27],n[25])+"",d=new Array(ya),h=[];for(let e=0;e<d.length;e+=1)h[e]=la(Vr(n,d,e));return{c(){r=pe("div"),a=pe("div");for(let e=0;e<h.length;e+=1)h[e].c();i=fe(),o=new L(!1),s=fe(),l=new L(!1),ge(a,"class","LiveIcons"),ge(a,"part","LiveIcons"),o.a=s,l.a=null,ge(r,"class",n[30]),ge(r,"part",n[30])},m(e,t){de(e,r,t),ue(r,a);for(let e=0;e<h.length;e+=1)h[e].m(a,null);n[67](a),ue(r,i),o.m(c,r),ue(r,s),l.m(u,r)},p(t,n){if(536872960&n[0]|32769&n[1]){let e;for(d=new Array(ya),e=0;e<d.length;e+=1){const o=Vr(t,d,e);h[e]?h[e].p(o,n):(h[e]=la(o),h[e].c(),h[e].m(a,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}8&n[1]&&c!==(c=t[45](t[34])+"")&&o.p(c),234881024&n[0]&&u!==(u=t[44](t[26],t[27],t[25])+"")&&l.p(u),1073741824&n[0]&&ge(r,"class",t[30]),1073741824&n[0]&&ge(r,"part",t[30])},d(e){e&&he(r),M(h,e),n[67](null)}}}function aa(e){let n,r,a,i,o,s,l=e[45](e[34])+"",c=e[44](e[26],e[27],e[25])+"";function u(e){return e[32]?ua:ca}let d=u(e),h=d(e);return{c(){n=pe("div"),r=pe("div"),h.c(),a=fe(),i=new L(!1),o=fe(),s=new L(!1),ge(r,"class","LiveIcons"),ge(r,"part","LiveIcons"),i.a=o,s.a=null,ge(n,"class","GameProp LiveProps BlackjackDisplay"),ge(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){de(e,n,t),ue(n,r),h.m(r,null),ue(n,a),i.m(l,n),ue(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,null))),8&t[1]&&l!==(l=e[45](e[34])+"")&&i.p(l),234881024&t[0]&&c!==(c=e[44](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&he(n),h.d()}}}function ia(e){let n;function r(e){return e[29]?sa:oa}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),de(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&he(n)}}}function oa(e){let n,r,a=e[46]("LatestResult "+(0===e[107]?"First":""),e[107],e[11][e[107]],e[31][e[11][e[107]]])+"";return{c(){n=new L(!1),r=l(),n.a=r},m(e,t){n.m(a,e,t),de(e,r,t)},p(e,t){2048&t[0]|1&t[1]&&a!==(a=e[46]("LatestResult "+(0===e[107]?"First":""),e[107],e[11][e[107]],e[31][e[11][e[107]]])+"")&&n.p(a)},d(e){e&&he(r),e&&n.d()}}}function sa(e){let n,r,a,i,o,s=e[46]("LatestResult "+(0===e[107]?"First":""),"first"+e[107]+e[11][e[107]][0],e[11][e[107]][0],e[31][e[11][e[107]][0]])+"",l=e[46]("LatestResult "+(0===e[107]?"First":""),"second"+e[107]+e[11][e[107]][1],e[11][e[107]][1],e[31][e[11][e[107]][1]])+"";return{c(){n=pe("div"),r=new L(!1),a=fe(),i=new L(!1),o=fe(),r.a=a,i.a=o,ge(n,"class","Double"),ge(n,"part","Double")},m(e,t){de(e,n,t),r.m(s,n),ue(n,a),i.m(l,n),ue(n,o)},p(e,t){2048&t[0]|1&t[1]&&s!==(s=e[46]("LatestResult "+(0===e[107]?"First":""),"first"+e[107]+e[11][e[107]][0],e[11][e[107]][0],e[31][e[11][e[107]][0]])+"")&&r.p(s),2048&t[0]|1&t[1]&&l!==(l=e[46]("LatestResult "+(0===e[107]?"First":""),"second"+e[107]+e[11][e[107]][1],e[11][e[107]][1],e[31][e[11][e[107]][1]])+"")&&i.p(l)},d(e){e&&he(n)}}}function la(e){let n,r=e[11]&&e[11][e[107]]&&ia(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[11]&&e[11][e[107]]?r?r.p(e,t):((r=ia(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ca(t){let a,i=t[24],o=[];for(let e=0;e<i.length;e+=1)o[e]=da(Zr(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);de(t,a,n)},p(t,n){if(285212672&n[0]|4096&n[1]){let e;for(i=t[24],e=0;e<i.length;e+=1){var r=Zr(t,i,e);o[e]?o[e].p(r,n):(o[e]=da(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){M(o,e),e&&he(a)}}}function ua(e){let n,r,a=e[35]("gameThumbnail.full")+"";return{c(){n=pe("span"),r=me(a),ge(n,"class","FullTable"),ge(n,"part","FullTable")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&a!==(a=e[35]("gameThumbnail.full")+"")&&ye(r,a)},d(e){e&&he(n)}}}function da(e){let n,r,a,i,o,s,l;return{c(){n=pe("span"),r=G("svg"),a=G("path"),i=G("path"),o=fe(),ge(a,"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"),ge(i,"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"),ge(r,"xmlns","http://www.w3.org/2000/svg"),ge(r,"width","13"),ge(r,"height","14"),ge(r,"viewBox","0 0 13 14"),ge(n,"class",s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat"),ge(n,"part",l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")},m(e,t){de(e,n,t),ue(n,r),ue(r,a),ue(r,i),ue(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&ge(n,"class",s),285212672&t[0]&&l!==(l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&ge(n,"part",l)},d(e){e&&he(n)}}}function ha(e){let n,r;return{c(){n=pe("p"),r=me(e[3]),ge(n,"class","GameNameBelow"),ge(n,"part","GameNameBelow"),ge(n,"title",e[3])},m(e,t){de(e,n,t),ue(n,r)},p(e,t){8&t[0]&&ye(r,e[3]),8&t[0]&&ge(n,"title",e[3])},d(e){e&&he(n)}}}function pa(n){let r,a,i,o,s,l,D,c,u,d,h,p,O,m,f,g,y,N,b,v,H,w,x,S,C,_,W,k,M,U,G,F,j,Y,T=n[35]("gameThumbnail.playNow")+"",E=(n[4]||"-")+"",z=0<parseInt(n[7]),L=n[14]&&Kr(n);function V(e,t){return 8195&t[0]&&(w=null),8195&t[0]&&(x=null),(w=null==w?!(Ye(e[36])||!e[0]||!e[13]||!e[1]):w)?qr:(x=null==x?!!(Ye(e[36])&&e[0]&&e[13]&&e[1]):x)?Jr:void 0}let $=V(n,[-1,-1,-1,-1]),I=$&&$(n),P=n[6]&&Qr(n),R=z&&ea(n),A=n[10]&&ta(n),B=n[9]&&ha(n);return{c(){r=pe("div"),a=pe("div"),i=pe("img"),D=fe(),c=pe("div"),u=pe("div"),L&&L.c(),d=fe(),h=pe("p"),p=me(n[3]),O=fe(),m=pe("button"),f=me(T),N=fe(),b=pe("span"),v=me(E),H=fe(),I&&I.c(),S=fe(),C=pe("div"),P&&P.c(),_=fe(),R&&R.c(),W=fe(),A&&A.c(),U=fe(),B&&B.c(),this.c=Z,ce(i.src,o=n[2])||ge(i,"src",o),ge(i,"class",s=`GameBg GameBg-${n[8]} ${n[15]?"GameContainerHovered":""} `+(n[16]?"Loaded":"")),ge(i,"part",l="GameBg "+(n[15]?"GameContainerHovered":"")+" "+(n[16]?"Loaded":"")),ge(i,"alt",""),ge(i,"loading","lazy"),ge(h,"class","GameInfoName"),ge(h,"part","GameInfoName"),ge(h,"title",n[3]),ge(m,"class","GameInfoBtn"),ge(m,"part","GameInfoBtn"),ge(u,"class",g="GameInfo "+(n[15]?"GameHovered":"")),ge(u,"part",y="GameInfo "+(n[15]?"GameHovered":"")),ge(b,"class","GameInfoVendor"),ge(b,"part","GameInfoVendor"),ge(c,"class","GameInfoWrapper"),ge(c,"part","GameInfoWrapper"),ge(C,"class","GameExtraInfo"),ge(C,"part","GameExtraInfo"),ge(a,"class",k="GameInnerContainer "+(n[10]&&!n[22]&&n[23].value||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),ge(a,"part",M="GameInnerContainer "+(n[10]&&!n[22]||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),ge(r,"class",G="GameContainer "+n[33]),ge(r,"part",F="GameContainer "+n[33])},m(e,t){de(e,r,t),ue(r,a),ue(a,i),n[63](i),ue(a,D),ue(a,c),ue(c,u),L&&L.m(u,null),ue(u,d),ue(u,h),ue(h,p),ue(u,O),ue(u,m),ue(m,f),ue(c,N),ue(c,b),ue(b,v),ue(a,H),I&&I.m(a,null),ue(a,S),ue(a,C),P&&P.m(C,null),ue(C,_),R&&R.m(C,null),ue(C,W),A&&A.m(C,null),ue(r,U),B&&B.m(r,null),n[68](r),j||(Y=[X(m,"click",n[65]),X(a,"mouseenter",n[41]),X(a,"mouseleave",n[42]),X(a,"touchstart",n[39],{passive:!0}),X(a,"touchend",n[40],{passive:!0})],j=!0)},p(e,t){4&t[0]&&!ce(i.src,o=e[2])&&ge(i,"src",o),98560&t[0]&&s!==(s=`GameBg GameBg-${e[8]} ${e[15]?"GameContainerHovered":""} `+(e[16]?"Loaded":""))&&ge(i,"class",s),98304&t[0]&&l!==(l="GameBg "+(e[15]?"GameContainerHovered":"")+" "+(e[16]?"Loaded":""))&&ge(i,"part",l),e[14]?L?L.p(e,t):((L=Kr(e)).c(),L.m(u,d)):L&&(L.d(1),L=null),8&t[0]&&ye(p,e[3]),8&t[0]&&ge(h,"title",e[3]),16&t[1]&&T!==(T=e[35]("gameThumbnail.playNow")+"")&&ye(f,T),32768&t[0]&&g!==(g="GameInfo "+(e[15]?"GameHovered":""))&&ge(u,"class",g),32768&t[0]&&y!==(y="GameInfo "+(e[15]?"GameHovered":""))&&ge(u,"part",y),16&t[0]&&E!==(E=(e[4]||"-")+"")&&ye(v,E),$===($=V(e,t))&&I?I.p(e,t):(I&&I.d(1),(I=$&&$(e))&&(I.c(),I.m(a,S))),e[6]?P?P.p(e,t):((P=Qr(e)).c(),P.m(C,_)):P&&(P.d(1),P=null),(z=128&t[0]?0<parseInt(e[7]):z)?R?R.p(e,t):((R=ea(e)).c(),R.m(C,W)):R&&(R.d(1),R=null),e[10]?A?A.p(e,t):((A=ta(e)).c(),A.m(C,null)):A&&(A.d(1),A=null),12583936&t[0]|2&t[1]&&k!==(k="GameInnerContainer "+(e[10]&&!e[22]&&e[23].value||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&ge(a,"class",k),4195328&t[0]|2&t[1]&&M!==(M="GameInnerContainer "+(e[10]&&!e[22]||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&ge(a,"part",M),e[9]?B?B.p(e,t):((B=ha(e)).c(),B.m(r,null)):B&&(B.d(1),B=null),4&t[1]&&G!==(G="GameContainer "+e[33])&&ge(r,"class",G),4&t[1]&&F!==(F="GameContainer "+e[33])&&ge(r,"part",F)},i:Z,o:Z,d(e){e&&he(r),n[63](null),L&&L.d(),I&&I.d(),P&&P.d(),R&&R.d(),A&&A.d(),B&&B.d(),n[68](null),j=!1,K(Y)}}}const ma="blackjack",fa="roulette",ga="doubleballroulette",ya=5;function ba(a,e,o){let t;Ve(a,Fr,e=>o(35,t=e));let i,s,l,n,A,c,u,d,h,p,m,f,g,y,b,v,B,D,O,w,N,x,H,W,{session:U=""}=e,{userid:j=""}=e,{lang:Y=""}=e,{clientstyling:S=""}=e,{clientstylingurl:C=""}=e,{favorites:_=""}=e,{gamethumbnail:z=""}=e,{gamename:V=""}=e,{gamevendor:r=""}=e,{gameid:k=""}=e,{gameisnew:Z=""}=e,{gamepopularity:K=""}=e,{gamefunmode:X=!1}=e,{searchitem:J=!1}=e,{gamefavorite:M=!1}=e,{gamecellsize:q=""}=e,{showfavoredcategory:G=!1}=e,{showgamename:Q=!1}=e,{currency:F=""}=e,{gamepagemodalurl:ee="false"}=e,{endpoint:T=""}=e,{livelobbyendpoint:E=""}=e,{connectlive:L=""}=e,{visibilityconnect:$=""}=e,te=!1,ne=!1,re=!1,I=window.navigator.userAgent,ae="HH:mm",ie,oe=[],se="EUR",P="";const le=[ma],ce=[fa,ga],ue={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},de={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"},he=(Object.keys(Yr).forEach(e=>{lr(e,Yr[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+k||G||o(0,M=!0),e.data.type!=="RemoveFavoriteThumbnail_"+k||G||o(0,M=!1),"UserSessionID"===e.data.type&&(o(13,te=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(10,l=null)}),pe=e=>{J&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),Ye(I)?window.postMessage({type:"ShowGameModal",gameId:e},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:X,gamepagemodalurl:ee,isMobile:Ye(I)},window.location.href)},me=e=>{var t="thumbnail";M?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},fe=()=>{E&&EventSource&&!n&&r&&k&&(n=new EventSource(`${T}/encoder/lobby/updates/${r}/`+k)).addEventListener("message",ye)},ge=()=>{n&&(n.close(),n=void 0)},ye=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:a,Open:i}=r;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(o(28,f=a),o(10,l.currentOccupiedSeats=a,l),await ve());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(g=n,o(10,l.currentRouletteNumbers=n,l),await ve());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(y=n,o(10,l.currentDoubleBallRouletteNumbers=n,l),await ve());break;case"TableOpened":case"TableClosed":o(22,u=i),o(10,l.isOpen=i,l),await ve()}}}},be=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t);return Ze(()=>(window.addEventListener("message",he,!1),()=>{window.removeEventListener("message",he),n&&n.removeEventListener("message",ye)})),a.$$set=e=>{"session"in e&&o(47,U=e.session),"userid"in e&&o(48,j=e.userid),"lang"in e&&o(49,Y=e.lang),"clientstyling"in e&&o(50,S=e.clientstyling),"clientstylingurl"in e&&o(51,C=e.clientstylingurl),"favorites"in e&&o(1,_=e.favorites),"gamethumbnail"in e&&o(2,z=e.gamethumbnail),"gamename"in e&&o(3,V=e.gamename),"gamevendor"in e&&o(4,r=e.gamevendor),"gameid"in e&&o(5,k=e.gameid),"gameisnew"in e&&o(6,Z=e.gameisnew),"gamepopularity"in e&&o(7,K=e.gamepopularity),"gamefunmode"in e&&o(52,X=e.gamefunmode),"searchitem"in e&&o(53,J=e.searchitem),"gamefavorite"in e&&o(0,M=e.gamefavorite),"gamecellsize"in e&&o(8,q=e.gamecellsize),"showfavoredcategory"in e&&o(54,G=e.showfavoredcategory),"showgamename"in e&&o(9,Q=e.showgamename),"currency"in e&&o(55,F=e.currency),"gamepagemodalurl"in e&&o(56,ee=e.gamepagemodalurl),"endpoint"in e&&o(57,T=e.endpoint),"livelobbyendpoint"in e&&o(58,E=e.livelobbyendpoint),"connectlive"in e&&o(59,L=e.connectlive),"visibilityconnect"in e&&o(60,$=e.visibilityconnect)},a.$$.update=()=>{if(268435456&a.$$.dirty[1]&&L&&("disconnect"===L?ge():"connect"===L&&fe()),536870912&a.$$.dirty[1]&&$&&("disconnect"===$?ge():"connect"===$&&"connect"===L&&fe()),a.$$.dirty[1],67305472&a.$$.dirty[1]&&U&&j&&T&&o(13,te=!0),4&a.$$.dirty[0]&&z&&i&&o(17,i.onload=()=>{o(16,re=!0)},i),524288&a.$$.dirty[1]&&S){let e=document.createElement("style");e.innerHTML=S,setTimeout(()=>{s.appendChild(e)})}if(2&a.$$.dirty[0]&&_&&"true"==_&&o(14,ne=!0),256&a.$$.dirty[0]|1048576&a.$$.dirty[1]&&q&&C){let e=new URL(C),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)})})}if(201326592&a.$$.dirty[1]&&T&&E){let e=new URL(""+E.split("?")[0]);e.searchParams.append("platform",ze(I)),e.searchParams.append("language",Y),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(10,l=e)})}if(1024&a.$$.dirty[0]&&l&&l&&(o(22,u=l.isOpen),ie=l.betLimit||{},o(23,d=l.openHours),o(24,oe=(e=>{m=e.totalSeats||7,o(28,f=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=m;e++)t.push(e);return{seats:t}})(l).seats),d&&d.value&&({startTime:e,originalTimeFormat:t}=d["value"],o(20,c=e),o(21,ae=t||ae)),u&&o(19,A=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();R(le,e)?t=ma:R(ce,e)&&(t=fa)}}return t})(l)),o(25,se=zr[F]),o(26,h=(ie.min||{})[F]),o(27,p=(ie.max||{})[F]),g=l.currentRouletteNumbers,y=l.currentDoubleBallRouletteNumbers,b=l.vendorCategory,o(29,v=b.toLowerCase()===ga),o(11,B=(v?y:g)||[]),o(30,D="GameProp LiveProps RoulleteProps"),o(30,D+=v?" Double":""),o(31,O=R(ce,b.toLowerCase())?de:ue),N=w,o(32,w=Array.isArray(f)&&f.length===m),l.dealer&&o(34,H=l.dealer.DealerName),W=l.numberOfPlayers,o(33,P="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(33,P+=" GameBackdrop"),u&&w&&h&&p&&l.currentOccupiedSeats?o(33,P+=" GameContainerDimmed"):!1===u&&c&&o(33,P+=" GameContainerFullyDimmed"),s&&(!N&&w?(o(33,P+=" PulsatingRedShadow"),o(33,P=P.replace(" PulsatingGreenShadow",""))):N&&!w&&(o(33,P+=" PulsatingGreenShadow"),o(33,P=P.replace(" PulsatingRedShadow",""))))),6144&a.$$.dirty[0]&&x&&B){const n="FirstElementAnimated",r=x.getElementsByClassName("First")[0];r&&(r.classList.add(n),setTimeout(()=>{r.classList.remove(n)},2e3))}var e,t},[M,_,z,V,r,k,Z,K,q,Q,l,B,x,te,ne,!1,re,i,s,A,c,ae,u,d,oe,se,h,p,f,v,D,O,w,P,H,t,I,pe,me,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},R,(e,t,n)=>{let r,a;return null!=e&&null!=t&&(a=`
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function Z(){}function C(e){return e()}function _(){return Object.create(null)}function K(e){e.forEach(C)}function F(e){return"function"==typeof e}function d(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let i,T;function ce(e,t){return(i=i||document.createElement("a")).href=t,e===i.href}function h(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ve(e,t,n){e.$$.on_destroy.push(h(t,n))}function p(e){return e&&F(e.destroy)?e.destroy:Z}function ue(e,t){e.appendChild(t)}function de(e,t,n){e.insertBefore(t,n||null)}function he(e){e.parentNode.removeChild(e)}function M(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 G(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function me(e){return document.createTextNode(e)}function fe(){return me(" ")}function l(){return me("")}function X(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function ge(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function w(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:ge(e,t,n)}function ye(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function k(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function m(e,t,n){e.classList[n?"add":"remove"](t)}class L{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=G(t.nodeName):this.e=pe(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)de(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(he)}}function o(e){const t={};for(const n of e)t[n.name]=n.value;return t}function $(e){T=e}function Ze(e){!function(){if(T)return T;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const I=[],Ue=[],P=[],R=[],A=Promise.resolve();let B=!1;function D(){B||(B=!0,A.then(g))}function ve(){return D(),A}function O(e){P.push(e)}const N=new Set;let H=0;function g(){const e=T;do{for(;H<I.length;){const e=I[H];H++,$(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),K(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(O))}for($(null),I.length=0,H=0;Ue.length;)Ue.pop()();for(let e=0;e<P.length;e+=1){const r=P[e];N.has(r)||(N.add(r),r())}}while(P.length=0,I.length);for(;R.length;)R.pop()();B=!1,N.clear(),$(e)}const W=new Set;function U(r,e,t,n,a,i,o,s=[-1]){var l=T;$(r);const c=r.$$={fragment:null,ctx:null,props:i,update:Z,not_equal:a,bound:_(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:_(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&a(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(I.push(e),D(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,K(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){i=e.target;const Z=Array.from(i.childNodes);c.fragment&&c.fragment.l(Z),Z.forEach(he)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(W.delete(s),s.i(void 0));{var d=r;o=e.target;t=e.anchor;n=e.customElement;const{fragment:h,on_mount:p,on_destroy:m,after_update:f}=d.$$;h&&h.m(o,t),n||O(()=>{var e=p.map(C).filter(F);m?m.push(...e):K(e),d.$$.on_mount=[]}),f.forEach(O)}g()}$(l)}let j;"function"==typeof HTMLElement&&(j=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(C).filter(F);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){K(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(K(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var Y,z,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,V="URLSearchParams"in s,J="Symbol"in s&&"iterator"in Symbol,q="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),Q="FormData"in s,ee="ArrayBuffer"in s;function te(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 ne(e){return e="string"!=typeof e?String(e):e}function re(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return J&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function ae(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ie(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function oe(e){var t=new FileReader,n=ie(t);return t.readAsArrayBuffer(e),n}function se(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function le(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:q&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Q&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:V&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ee&&q&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=se(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ee&&(ArrayBuffer.prototype.isPrototypeOf(e)||z(e))?this._bodyArrayBuffer=se(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):V&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},q&&(this.blob=function(){var e=ae(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?ae(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(oe)}),this.text=function(){var e,t,n=ae(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,t=ie(e=new FileReader),e.readAsText(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)},Q&&(this.formData=function(){return this.text().then(xe)}),this.json=function(){return this.text().then(JSON.parse)},this}ee&&(Y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],z=ArrayBuffer.isView||function(e){return e&&-1<Y.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=te(e),t=ne(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},c.prototype.delete=function(e){delete this.map[te(e)]},c.prototype.get=function(e){return e=te(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(te(e))},c.prototype.set=function(e,t){this.map[te(e)]=ne(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),re(n)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),re(t)},c.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),re(n)},J&&(c.prototype[Symbol.iterator]=c.prototype.entries);var be=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function we(e,t){if(!(this instanceof we))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 we){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(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 c(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<be.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function xe(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Se(e,t){if(!(this instanceof Se))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}we.prototype.clone=function(){return new we(this,{body:this._bodyInit})},le.call(we.prototype),le.call(Se.prototype),Se.prototype.clone=function(){return new Se(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},Se.error=function(){var e=new Se(null,{status:0,statusText:""});return e.type="error",e};var Ce=[301,302,303,307,308],_e=(Se.redirect=function(e,t){if(-1===Ce.indexOf(t))throw new RangeError("Invalid status code");return new Se(null,{status:t,headers:{location:e}})},s.DOMException);try{new _e}catch(Z){(_e=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),_e.prototype.constructor=_e}function ke(r,o){return new Promise(function(a,e){var t=new we(r,o);if(t.signal&&t.signal.aborted)return e(new _e("Aborted","AbortError"));var i=new XMLHttpRequest;function n(){i.abort()}i.onload=function(){var e,n,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=new c,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 e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL"),"response"in i?i.response:i.responseText);setTimeout(function(){a(new Se(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new _e("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(q?i.responseType="blob":ee&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof c?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){i.setRequestHeader(e,ne(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",n)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}function Ln(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}ke.polyfill=!0,s.fetch||(s.fetch=ke,s.Headers=c,s.Request=we,s.Response=Se);var Me=self.fetch.bind(self),Ge=function(e,t){return(Ge=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 Fe(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}Ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Te(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 Ee(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function Le(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function $e(e){return"function"==typeof e}function Ie(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 Pe=Ie(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 Re(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}n.prototype.unsubscribe=function(){var e,t,n,r,a;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var o=Te(i),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 i.remove(this);i=this.initialTeardown;if($e(i))try{i()}catch(e){a=e instanceof Pe?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=Te(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{Oe(u)}catch(e){a=null!=a?a:[],e instanceof Pe?a=Le(Le([],Ee(a)),Ee(e.errors)):a.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(a)throw new Pe(a)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Oe(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},n.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},n.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},n.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Re(t,e)},n.prototype.remove=function(e){var t=this._finalizers;t&&Re(t,e),e instanceof n&&e._removeParent(this)},n.EMPTY=((e=new n).closed=!0,e);var Ae=n,Be=Ae.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function De(e){return e instanceof Ae||e&&"closed"in e&&$e(e.remove)&&$e(e.add)&&$e(e.unsubscribe)}function Oe(e){$e(e)?e():e.unsubscribe()}var Ne=void 0,He=!1,We=!1,Ke={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=Ke.delegate;return null!=a&&a.setTimeout?a.setTimeout.apply(a,Le([e,t],Ee(n))):setTimeout.apply(void 0,Le([e,t],Ee(n)))},clearTimeout:function(e){var t=Ke.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Xe(){}var Je=null;function qe(e){if(He){var t=!Je;if(t&&(Je={errorThrown:!1,error:null}),e(),t){var t=Je,n=t.errorThrown,t=t.error;if(Je=null,n)throw t}}else e()}Fe(nt,Qe=Ae),nt.create=function(e,t,n){return new ot(e,t,n)},nt.prototype.next=function(e){this.isStopped||this._next(e)},nt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},nt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},nt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Qe.prototype.unsubscribe.call(this),this.destination=null)},nt.prototype._next=function(e){this.destination.next(e)},nt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},nt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Qe,et=nt,tt=Function.prototype.bind;function nt(e){var t=Qe.call(this)||this;return t.isStopped=!1,e?De(t.destination=e)&&e.add(t):t.destination=ut,t}function rt(e,t){return tt.call(e,t)}lt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){ct(e)}},lt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){ct(e)}else ct(e)},lt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){ct(e)}};var at,it=lt,ot=(Fe(st,at=et),st);function st(e,t,n){var r=at.call(this)||this,n=$e(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&We?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&rt(e.next,t),error:e.error&&rt(e.error,t),complete:e.complete&&rt(e.complete,t)}):e;return r.destination=new it(n),r}function lt(e){this.partialObserver=e}function ct(e){var t=e;Ke.setTimeout(function(){throw t})}var ut={closed:!0,next:Xe,error:function(e){throw e},complete:Xe},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function dt(e){return e}r.prototype.lift=function(e){var t=new r;return t.source=this,t.operator=e,t},r.prototype.subscribe=function(e,t,n){var r,a=this,i=(r=e)&&r instanceof et||r&&$e(r.next)&&$e(r.error)&&$e(r.complete)&&De(r)?e:new ot(e,t,n);return qe(function(){var e=a.operator,t=a.source;i.add(e?e.call(i,t):t?a._subscribe(i):a._trySubscribe(i))}),i},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(r,e){var a=this;return new(e=pt(e))(function(e,t){var n=new ot({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});a.subscribe(n)})},r.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},r.prototype[e]=function(){return this},r.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?dt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},r.prototype.toPromise=function(e){var r=this;return new(e=pt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},r.create=function(e){return new r(e)};var ht=r;function r(e){e&&(this._subscribe=e)}function pt(e){return null!=(e=null!=e?e:Ne)?e:Promise}var mt,ft,gt,yt=Ie(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Fe(t,gt=ht),t.prototype.lift=function(e){var t=new bt(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new yt},t.prototype.next=function(a){var i=this;qe(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=Te(i.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(a)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},t.prototype.error=function(t){var n=this;qe(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},t.prototype.complete=function(){var t=this;qe(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),gt.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,a=this.observers;return n||r?Be:(this.currentObservers=null,a.push(e),new Ae(function(){t.currentObservers=null,Re(a,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},t.prototype.asObservable=function(){var e=new ht;return e.source=this,e},t.create=function(e,t){return new bt(e,t)},t),bt=(Fe(St,ft=e),St.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},St.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},St.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},St.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Be},St),vt={now:function(){return(vt.delegate||Date).now()},delegate:void 0},wt=(Fe(xt,mt=e),xt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,a=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),a||r.push(i.now()+t)),this._trimBuffer(),mt.prototype.next.call(this,e)},xt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),a=0;a<r.length&&!e.closed;a+=n?1:2)e.next(r[a]);return this._checkFinalizedStatuses(e),t},xt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,a=(r?1:2)*e;if(e<1/0&&a<n.length&&n.splice(0,n.length-a),!r){for(var i=t.now(),o=0,s=1;s<n.length&&n[s]<=i;s+=2)o=s;o&&n.splice(0,o+1)}},xt);function xt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=vt);var r=mt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function St(e,t){var n=ft.call(this)||this;return n.destination=e,n.source=t,n}function t(){var e=gt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ct=[],_t={};const kt=[];function Mt(r,a=Z){let i;const o=new Set;function s(e){if(d(r,e)&&(r=e,i)){const e=!kt.length;for(const e of o)e[1](),kt.push(e,r);if(e){for(let e=0;e<kt.length;e+=2)kt[e][0](kt[e+1]);kt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.add(n),1===o.size&&(i=a(s)||Z),e(r),()=>{o.delete(n),0===o.size&&(i(),i=null)}}}}function Gt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Mt(t,t=>{let n=!1;const r=[];let a=0,i=Z;const o=()=>{var e;a||(i(),e=s(l?r[0]:r,t),u?t(e):i=F(e)?e:Z)},e=c.map((e,t)=>h(e,e=>{r[t]=e,a&=~(1<<t),n&&o()},()=>{a|=1<<t}));return n=!0,o(),function(){K(e),i()}}).subscribe}}function Ft(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Tt));var t}var Tt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Et(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Rt(Array.isArray(e)?[]:{},e,t):e}function Lt(e,t,n){return e.concat(t).map(function(e){return Et(e,n)})}function $t(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function It(e,t){try{return t in e}catch(e){return!1}}function Pt(r,a,i){var o={};return i.isMergeableObject(r)&&$t(r).forEach(function(e){o[e]=Et(r[e],i)}),$t(a).forEach(function(t){var e,n;(!It(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(It(r,t)&&i.isMergeableObject(a[t])?o[t]=function(e){if(!e.customMerge)return Rt;e=e.customMerge(t);return"function"==typeof e?e:Rt}(i)(r[t],a[t],i):o[t]=Et(a[t],i))}),o}function Rt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Lt,n.isMergeableObject=n.isMergeableObject||Ft,n.cloneUnlessOtherwiseSpecified=Et;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Pt(e,t,n):Et(t,n)}Rt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Rt(e,t,n)},{});throw new Error("first argument should be an array")};var At=Rt,Bt=function(e,t){return(Bt=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 Dt(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}Bt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var f,y,Ot,b=function(){return(b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function Nt(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function Ht(e){return e.type===y.literal}function Wt(e){return e.type===y.number}function Ut(e){return e.type===y.date}function jt(e){return e.type===y.time}function Yt(e){return e.type===y.select}function zt(e){return e.type===y.plural}function Vt(e){return e.type===y.tag}function Zt(e){return e&&"object"==typeof e&&e.type===Ot.number}function Kt(e){return e&&"object"==typeof e&&e.type===Ot.dateTime}(e=f=f||{})[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=Ot=Ot||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Xt=/(?:[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 Jt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,qt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Qt=/^(@+)?(\+|#+)?[rs]?$/g,en=/(\*)(0+)|(#+)(0+)|(0+)/g,tn=/^(0+)$/;function nn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(Qt,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function rn(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 an(e){return rn(e)||{}}function on(e){for(var o={},t=0,n=e;t<n.length;t++){var r,a=n[t];switch(a.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=a.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=a.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=b(b(b({},o),{notation:"scientific"}),a.options.reduce(function(e,t){return b(b({},e),an(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),a.options.reduce(function(e,t){return b(b({},e),an(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(a.options[0]);continue;case"integer-width":if(1<a.options.length)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(en,function(e,t,n,r,a,i){if(t)o.minimumIntegerDigits=n.length;else{if(r&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(tn.test(a.stem))o.minimumIntegerDigits=a.stem.length;else if(qt.test(a.stem)){if(1<a.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(qt,function(e,t,n,r,a,i){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:a&&i?(o.minimumFractionDigits=a.length,o.maximumFractionDigits=a.length+i.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var i=a.options[0];"w"===i?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):i&&(o=b(b({},o),nn(i)))}else Qt.test(a.stem)?o=b(b({},o),nn(a.stem)):((i=rn(a.stem))&&(o=b(b({},o),i)),(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)),!tn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(a.stem))&&(o=b(b({},o),r)))}return o}var sn={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 ln=new RegExp("^".concat(e.source,"*")),cn=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,un=!!String.fromCodePoint,dn=!!Object.fromEntries,hn=!!String.prototype.codePointAt,pn=!!String.prototype.trimStart,mn=!!String.prototype.trimEnd,fn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},gn=!0;try{gn="a"===(null==(Dn=kn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Dn[0])}catch(Z){gn=!1}var yn,bn,vn=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},wn=un?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",a=e.length,i=0;i<a;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},xn=dn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n],i=a[0],a=a[1];t[i]=a}return t},Sn=hn?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},Cn=pn?function(e){return e.trimStart()}:function(e){return e.replace(ln,"")},_n=mn?function(e){return e.trimEnd()}:function(e){return e.replace(cn,"")};function kn(e,t){return new RegExp(e,t)}bn=gn?(yn=kn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return yn.lastIndex=t,null!=(t=yn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var a=Sn(e,t);if(void 0===a||Fn(a)||(33<=(n=a)&&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(a),t+=65536<=a?2:1}return wn.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 a,i=this.char();if(123===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(f.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Gn(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{i=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(i,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Gn(this.char()))return this.error(f.INVALID_TAG,v(e,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,v(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(n,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,v(e,this.clonePosition())))}return this.error(f.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(f.INVALID_TAG,v(n,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var a=this.tryParseQuote(t);if(a)r+=a;else{a=this.tryParseUnquoted(e,t);if(a)r+=a;else{a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}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&&(Gn(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 wn.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),wn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,v(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(f.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.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(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(f.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 a,i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,v(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=_n(m.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var u=v(r,this.clonePosition());if(l&&vn(null==l?void 0:l.style,"::",0)){var d=Cn(l.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?m:{val:{type:y.number,value:n,location:u,style:m.val},err:null};if(0===d.length)return this.error(f.EXPECT_DATE_TIME_SKELETON,u);var h=d,p=(this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if("j"===a){for(var i=0;r+1<e.length&&e.charAt(r+1)===a;)i++,r++;var o=1+(1&i),s=i<2?1:3+(i>>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),(sn[t||""]||sn[n||""]||sn["".concat(n,"-001")]||sn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===a?"H":a}return n}(d,this.locale)),{type:Ot.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(a={},h.replace(Xt,function(e){var t=e.length;switch(e[0]){case"G":a.era=4===t?"long":5===t?"narrow":"short";break;case"y":a.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":a.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":a.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":a.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"a":a.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":a.hourCycle="h12",a.hour=["numeric","2-digit"][t-1];break;case"H":a.hourCycle="h23",a.hour=["numeric","2-digit"][t-1];break;case"K":a.hourCycle="h11",a.hour=["numeric","2-digit"][t-1];break;case"k":a.hourCycle="h24",a.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":a.minute=["numeric","2-digit"][t-1];break;case"s":a.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":a.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""}),a):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:u,style:p},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:u,style:null!=(d=null==l?void 0:l.style)?d:null},err:null};case"plural":case"selectordinal":case"select":h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,v(h,b({},h)));this.bumpSpace();var m,p=this.parseIdentifierIfPossible(),u=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),p=this.parseIdentifierIfPossible(),u=m.val}l=this.tryParsePluralOrSelectOptions(e,o,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;d=v(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:xn(l.val),location:d},err:null}:{val:{type:y.plural,value:n,options:xn(l.val),offset:u,pluralType:"plural"===o?"cardinal":"ordinal",location:d},err:null};default:return this.error(f.INVALID_ARGUMENT_TYPE,v(i,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.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(f.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(Jt).filter(function(e){return 0<e.length});n<r.length;n++){var a=r[n].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var i=a[0],a=a.slice(1),o=0,s=a;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:a})}return t}(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ot.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?on(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var a=!1,i=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(a=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;i.push([s,{value:c.val,location:v(u,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===i.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(f.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:i,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,i=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;a=!0,i=10*i+(o-48),this.bump()}r=v(r,this.clonePosition());return a?fn(i*=n)?{val:i,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=Sn(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(vn(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()&&Fn(this.char());)this.bump()},a.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Mn=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 Gn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Fn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Tn(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Mn(e,t).parse();if(e.err)throw(n=SyntaxError(f[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,Yt(e)||zt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Wt(e)&&Zt(e.style)||(Ut(e)||jt(e))&&Kt(e.style)?delete e.style.location:Vt(e)&&n(e.children)})}(e.val),e.val}function En(e,t){var n=t&&t.cache?t.cache:On,r=t&&t.serializer?t.serializer:Rn;return(t&&t.strategy?t.strategy:function(e,t){return Pn(e,this,1===e.length?$n:In,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function $n(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),a=t.get(n);return void 0===a&&(a=e.call(this,r),t.set(n,a)),a}function In(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),a=t.get(n);return void 0===a&&(a=e.apply(this,r),t.set(n,a)),a}function Pn(e,t,n,r,a){return n.bind(t,e,r,a)}var Rn=function(){return JSON.stringify(arguments)};function An(){this.cache=Object.create(null)}An.prototype.get=function(e){return this.cache[e]},An.prototype.set=function(e,t){this.cache[e]=t};var Bn,Dn,On={create:function(){return new An}},Nn={variadic:function(e,t){return Pn(e,this,In,t.cache.create(),t.serializer)},monadic:function(e,t){return Pn(e,this,$n,t.cache.create(),t.serializer)}};(Dn=Bn=Bn||{}).MISSING_VALUE="MISSING_VALUE",Dn.INVALID_VALUE="INVALID_VALUE",Dn.MISSING_INTL_API="MISSING_INTL_API";Dt(qn,jn=Error),qn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var x,Hn,Wn,Un,jn,Yn=qn,zn=(Dt(Jn,Un=Yn),Jn),Vn=(Dt(Xn,Wn=Yn),Xn),Zn=(Dt(Kn,Hn=Yn),Kn);function Kn(e,t){return Hn.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Bn.MISSING_VALUE,t)||this}function Xn(e,t,n){return Wn.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Bn.INVALID_VALUE,n)||this}function Jn(e,t,n,r){return Un.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Bn.INVALID_VALUE,r)||this}function qn(e,t,n){e=jn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Qn(e,t,n,r,a,i,o){if(1===e.length&&Ht(e[0]))return[{type:x.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Ht(u))s.push({type:x.literal,value:u.value});else if(u.type===y.pound)"number"==typeof i&&s.push({type:x.literal,value:n.getNumberFormat(t).format(i)});else{var d=u.value;if(!(a&&d in a))throw new Zn(d,o);d=a[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?x.literal:x.object,value:d});else if(Ut(u)){var h="string"==typeof u.style?r.date[u.style]:Kt(u.style)?u.style.parsedOptions:void 0;s.push({type:x.literal,value:n.getDateTimeFormat(t,h).format(d)})}else if(jt(u))h="string"==typeof u.style?r.time[u.style]:Kt(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:x.literal,value:n.getDateTimeFormat(t,h).format(d)});else if(Wt(u))(h="string"==typeof u.style?r.number[u.style]:Zt(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),s.push({type:x.literal,value:n.getNumberFormat(t,h).format(d)});else{if(Vt(u)){var p=u.children,m=u.value,f=a[m];if("function"!=typeof f)throw new Vn(m,"function",o);m=f(Qn(p,t,n,r,a,i).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?x.literal:x.object,value:e}}))}if(Yt(u)){if(!(g=u.options[d]||u.options.other))throw new zn(u.value,d,Object.keys(u.options),o);s.push.apply(s,Qn(g.value,t,n,r,a))}else if(zt(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new Yn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Bn.MISSING_INTL_API,o);var f=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new zn(u.value,d,Object.keys(u.options),o);s.push.apply(s,Qn(g.value,t,n,r,a,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===x.literal&&t.type===x.literal?n.value+=t.value:e.push(t),e},[])}function er(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=x=x||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(u,"defaultLocale",{get:function(){return u.memoizedDefaultLocale||(u.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),u.memoizedDefaultLocale},enumerable:!1,configurable:!0}),u.memoizedDefaultLocale=null,u.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])},u.__parse=Tn,u.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 tr=u;function u(e,t,n,r){var a,i,o=this;if(void 0===t&&(t=u.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===x.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Qn(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=u.resolveLocale(t),"string"==typeof e){if(this.message=e,!u.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=u.__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=(a=u.formats,(i=n)?Object.keys(a).reduce(function(e,t){var n,r;return e[t]=(n=a[t],(r=i[t])?b(b(b({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),r[t]||{}),e},{})):n),e},b({},a)):a),this.formatters=r&&r.formatters||{getNumberFormat:En(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Nt([void 0],t,!1)))},{cache:er((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Nn.variadic}),getDateTimeFormat:En(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Nt([void 0],t,!1)))},{cache:er(t.dateTime),strategy:Nn.variadic}),getPluralRules:En(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Nt([void 0],t,!1)))},{cache:er(t.pluralRules),strategy:Nn.variadic})}}const nr={},rr=(e,t,n)=>n&&(t in nr||(nr[t]={}),e in nr[t]||(nr[t][e]=n),n),ar=(t,n)=>{if(null!=n){if(n in nr&&t in nr[n])return nr[n][t];var r=wr(n);for(let e=0;e<r.length;e++){var a=function(e,n){if(!sr(e))return null;e=function(e){return ir[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const a=r.split(".");let t=e;for(let e=0;e<a.length;e++)if("object"==typeof t){if(0<e){const r=a.slice(e,a.length).join(".");if(r in t){t=t[r];break}}t=t[a[e]]}else t=void 0;return t}}(r[e],t);if(a)return rr(t,n,a)}}};let ir;const or=Mt({});function sr(e){return e in ir}function lr(t,...n){delete nr[t],or.update(e=>(e[t]=At.all([e[t]||{},...n]),e))}Gt([or],([e])=>Object.keys(e)),or.subscribe(e=>ir=e);const cr={};function ur(e){return cr[e]}function dr(e){return null!=e&&wr(e).some(e=>{return null==(e=ur(e))?void 0:e.size})}const hr={};function pr(e){if(!dr(e))return e in hr?hr[e]:Promise.resolve();const t=wr(e).map(e=>{var t=ur(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return hr[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return cr[t].delete(n),0===cr[t].size&&delete cr[t],e().then(e=>e.default||e)}));return n.then(e=>lr(r,...e))}})).then(()=>{if(dr(e))return pr(e);delete hr[e]}),hr[e]}function mr(e,t){var n={};for(a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n}const fr={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 gr=Mt(!1);let yr;const br=Mt(null);function vr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function wr(e,t=fr.fallbackLocale){e=vr(e);return t?[...new Set([...e,...vr(t)])]:e}function xr(){return null!=yr?yr:void 0}br.subscribe(e=>{yr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const je=Object.assign(Object.assign({},br),{set:t=>{if(t&&function(e){if(null!=e){var t=wr(e);for(let e=0;e<t.length;e++){var n=t[e];if(sr(n))return n}}}(t)&&dr(t)){var n=fr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=xr()&&n?e=window.setTimeout(()=>gr.set(!0),n):gr.set(!0),pr(t).then(()=>{br.set(t)}).finally(()=>{clearTimeout(e),gr.set(!1)})}return br.set(t)}}),Sr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Cr=(e,t)=>{var n=fr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},_r=Sr(e=>{var{locale:t,format:n}=e,e=mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Cr("number",n)),new Intl.NumberFormat(t,e)}),kr=Sr(e=>{var{locale:t,format:n}=e,e=mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Cr("date",n):0===Object.keys(e).length&&(e=Cr("date","short")),new Intl.DateTimeFormat(t,e)}),Mr=Sr(e=>{var{locale:t,format:n}=e,e=mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Cr("time",n):0===Object.keys(e).length&&(e=Cr("time","short")),new Intl.DateTimeFormat(t,e)}),Gr=Sr((e,t=xr())=>new tr(e,t,fr.formats,{ignoreTag:fr.ignoreTag})),Fr=Gt([je,or],()=>(e,t={})=>{var n,r;let a=t;"object"==typeof e&&(e=(a=e).id);var{values:i,locale:o=xr(),default:s}=a;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=ar(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=fr).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!i)return l;let c=l;try{c=Gr(l,o).format(i)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Ye=(Gt([je],()=>(e,t)=>((e={})=>{var{locale:t=xr()}=e,e=mr(e,["locale"]);return Mr(Object.assign({locale:t},e))})(t).format(e)),Gt([je],()=>(e,t)=>((e={})=>{var{locale:t=xr()}=e,e=mr(e,["locale"]);return kr(Object.assign({locale:t},e))})(t).format(e)),Gt([je],()=>(e,t)=>((e={})=>{var{locale:t=xr()}=e,e=mr(e,["locale"]);return _r(Object.assign({locale:t},e))})(t).format(e)),Gt([je,or],()=>(e,t=xr())=>ar(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ct.indexOf(e)&&(t=new wt(t),_t[e]=t,Ct.push(e)),_t[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))),ze=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Tr={en:{casinoPage:{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:{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{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:{casinoPage:{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:{casinoPage:{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:{casinoPage:{500:"Error 500 - Error Interno del Servidor",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tómate un descanso de 1 día del juego.",breakButton:"Tómese un descanso de 24 horas del juego",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Limpio",noGamesPlayed:"No has probado ningún juego!"}},tr:{casinoPage:{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:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{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:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{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:{casinoPage:{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:{casinoPage:{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:{casinoPage:{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:{casinoPage:{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!"}}},Er={en:{gamesCategorySection:{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:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{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:{gamesCategorySection:{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:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},tr:{gamesCategorySection:{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:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{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:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{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:{gamesCategorySection:{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:{gamesCategorySection:{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:{gamesCategorySection:{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:{gamesCategorySection:{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."}}},Lr={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Hat soeben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function $r(e,t,n){const r=e.slice();return r[57]=t[n],r}function Ir(e,t,n){const r=e.slice();return r[60]=t[n],r}function Pr(n){let i,r,o,a,s,l,c,u,e,d,h,p,m,f,g,y,b,v,w,x,S=n[14],C=[];for(let e=0;e<S.length;e+=1)C[e]=Dr(Ir(n,S,e));let _=n[7],k=[];for(let e=0;e<_.length;e+=1)k[e]=Or($r(n,_,e));return{c(){i=pe("div"),r=pe("div"),o=pe("div");for(let e=0;e<C.length;e+=1)C[e].c();a=fe(),s=pe("div"),l=pe("button"),c=G("svg"),u=G("path"),d=fe(),h=pe("button"),p=G("svg"),m=G("path"),y=fe(),b=pe("div");for(let e=0;e<k.length;e+=1)k[e].c();ge(o,"class","WinnerButtonsContainer"),ge(u,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),ge(u,"id","Path_36"),ge(u,"data-name","Path 36"),ge(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),ge(u,"transform","translate(14.656 0) rotate(90)"),ge(u,"fill","#fff"),ge(c,"id","Component_46_2"),ge(c,"data-name","Component 46 – 2"),ge(c,"xmlns","http://www.w3.org/2000/svg"),ge(c,"width","15"),ge(c,"height","15"),ge(c,"viewBox","0 0 16 24.656"),ge(l,"class","SliderButton"),ge(m,"style",f=n[8]>=n[7].length?"fill:#F6F6F62E":""),ge(m,"id","Path_36"),ge(m,"data-name","Path 36"),ge(m,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),ge(m,"transform","translate(0 24.656) rotate(-90)"),ge(m,"fill","#fff"),ge(p,"id","Component_46_2"),ge(p,"data-name","Component 46 – 2"),ge(p,"xmlns","http://www.w3.org/2000/svg"),ge(p,"width","15"),ge(p,"height","15"),ge(p,"viewBox","0 0 16 24.656"),ge(h,"class","SliderButton"),ge(s,"class",g="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),ge(r,"class","WinnersHeader"),ge(b,"class","WinnersSlider"),ge(i,"class",v="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){de(e,i,t),ue(i,r),ue(r,o);for(let e=0;e<C.length;e+=1)C[e].m(o,null);ue(r,a),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(s,d),ue(s,h),ue(h,p),ue(p,m),ue(i,y),ue(i,b);for(let e=0;e<k.length;e+=1)k[e].m(b,null);n[38](b),w||(x=[X(l,"click",n[35]),X(h,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for(S=t[14],e=0;e<S.length;e+=1){var r=Ir(t,S,e);C[e]?C[e].p(r,n):(C[e]=Dr(r),C[e].c(),C[e].m(o,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=S.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&ge(u,"style",e),384&n[0]&&f!==(f=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&ge(m,"style",f),8&n[0]&&g!==(g="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&ge(s,"class",g),435348&n[0]){let e;for(_=t[7],e=0;e<_.length;e+=1){var a=$r(t,_,e);k[e]?k[e].p(a,n):(k[e]=Or(a),k[e].c(),k[e].m(b,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=_.length}512&n[0]&&v!==(v="CasinoWinners "+(t[9]?"Mobile":""))&&ge(i,"class",v)},d(e){e&&he(i),M(C,e),M(k,e),n[38](null),w=!1,K(x)}}}function Rr(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ar(n){let r,a,i,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=pe("button"),a=me(l),ge(r,"class",i="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){de(e,r,t),ue(r,a),o||(s=X(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(a,l),65&t[0]&&i!==(i="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&ge(r,"class",i)},d(e){e&&he(r),o=!1,s()}}}function Br(n){let r,a,i,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=pe("button"),a=me(c),i=fe(),ge(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){de(e,r,t),ue(r,a),ue(r,i),s||(l=X(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(a,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&ge(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function Dr(e){let n,r,a="recent"==e[60]&&Ar(e),i="top"==e[60]&&Br(e);return{c(){a&&a.c(),n=fe(),i&&i.c(),r=l()},m(e,t){a&&a.m(e,t),de(e,n,t),i&&i.m(e,t),de(e,r,t)},p(e,t){"recent"==e[60]?a?a.p(e,t):((a=Ar(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"top"==e[60]?i?i.p(e,t):((i=Br(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&he(n),i&&i.d(e),e&&he(r)}}}function Or(n){let r,a,i,o,s,l,c,u,d,h,p,m,f,g,y,b,v,w,x,S,C,_,k,M,G=n[57].gameName+"",F=n[17](n[57].username)+"",T=n[15]("Translations.won")+"",E=n[57].specifiedCurrencyAmount.toFixed(2)+"",L=(n[4]?n[10]:n[2])+"";function $(){return n[37](n[57])}return{c(){r=pe("div"),a=pe("div"),i=pe("img"),l=fe(),c=pe("p"),u=me(G),d=fe(),h=pe("p"),p=me(F),m=fe(),f=pe("p"),g=me(T),y=fe(),b=pe("p"),v=me(E),w=fe(),x=pe("span"),S=me(L),C=fe(),ce(i.src,o=n[57]?.gameModel?.thumbnail)||ge(i,"src",o),ge(i,"alt",s=n[57]?.gameModel?.thumbnail),ge(i,"class","WinnersImage"),ge(f,"class","WinnerUsername"),ge(a,"class","WinnerCard"),ge(r,"class",_="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,l),ue(a,c),ue(c,u),ue(a,d),ue(a,h),ue(h,p),ue(a,m),ue(a,f),ue(f,g),ue(a,y),ue(a,b),ue(b,v),ue(b,w),ue(b,x),ue(x,S),ue(r,C),k||(M=X(i,"click",$),k=!0)},p(e,t){n=e,128&t[0]&&!ce(i.src,o=n[57]?.gameModel?.thumbnail)&&ge(i,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&ge(i,"alt",s),128&t[0]&&G!==(G=n[57].gameName+"")&&ye(u,G),128&t[0]&&F!==(F=n[17](n[57].username)+"")&&ye(p,F),32768&t[0]&&T!==(T=n[15]("Translations.won")+"")&&ye(g,T),128&t[0]&&E!==(E=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,E),1044&t[0]&&L!==(L=(n[4]?n[10]:n[2])+"")&&ye(S,L),8192&t[0]&&_!==(_="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&ge(r,"class",_)},d(e){e&&he(r),k=!1,M()}}}function Nr(n){let r;function a(e){return e[12]?Rr:Pr}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[39](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[39](null)}}}function Hr(t,e,i){let n;Ve(t,Fr,e=>i(15,n=e));let r,o,a,s,l,c,u,d,h,p,{endpoint:m=""}=e,{session:f=""}=e,{periodrecent:g="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:b="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:w="1"}=e,{lang:x="en"}=e,{isrecentavailable:S="true"}=e,{istopavailable:C="true"}=e,{defaultcurrency:_=""}=e,{clientstyling:k=""}=e,{clientstylingurl:M=""}=e,{enableautoscroll:G=""}=e,{tabsorder:F=""}=e,T=[],E=0,L=0,A=window.navigator.userAgent,$=!0,I=!1;Object.keys(Lr).forEach(e=>{lr(e,Lr[e])});const B=()=>{const e=new URL(`${m}/casino/${o}-winners`);e.searchParams.append("limit","recent"==o?b:v),e.searchParams.append("specifiedCurrency",p),e.searchParams.append("period","recent"==o?g:y),e.searchParams.append("language",x),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{i(7,T=[]),i(7,T=e.items.map(e=>e)),i(12,$=!1),setTimeout(()=>{i(8,L=Math.round(r.offsetWidth/225)),O(),"true"==G&&(E=0,L<u?d=setInterval(()=>{R()},3e3):clearInterval(d))})})},P=e=>{o!==e&&(i(6,o=e),i(7,T=[]),B())},D=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},O=n=>{const e=[...r.children];u=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==o?setTimeout(()=>{i(13,I=!0)},10):i(13,I=!1)},N=()=>{O(E)},H=()=>{var e=T.length;L>=T.length||(0===E?E=e-L:E-L<0?E=0:E-=L,N())},R=()=>{var e=T.length;L>=T.length||("true"==G&&(E===e-L?E=0:E++),"false"==G&&(E===e-L?E=0:e-L<E+L?E=e-L:E+=L),N())};return Ze(()=>(i(9,a=Ye(A)),()=>{clearInterval(d)})),t.$$set=e=>{"endpoint"in e&&i(22,m=e.endpoint),"session"in e&&i(23,f=e.session),"periodrecent"in e&&i(24,g=e.periodrecent),"periodtop"in e&&i(25,y=e.periodtop),"numberusersrecent"in e&&i(26,b=e.numberusersrecent),"numberuserstop"in e&&i(27,v=e.numberuserstop),"amountlimit"in e&&i(21,w=e.amountlimit),"lang"in e&&i(28,x=e.lang),"isrecentavailable"in e&&i(0,S=e.isrecentavailable),"istopavailable"in e&&i(1,C=e.istopavailable),"defaultcurrency"in e&&i(2,_=e.defaultcurrency),"clientstyling"in e&&i(29,k=e.clientstyling),"clientstylingurl"in e&&i(30,M=e.clientstylingurl),"enableautoscroll"in e&&i(3,G=e.enableautoscroll),"tabsorder"in e&&i(31,F=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&S&&C&&g&&y&&b&&v&&w&&x&&F&&null!=s&&(i(14,h=F.split(",")),i(6,o=h[0]),"false"==S&&i(21,w=""),i(32,p=s?l:_)),4194304&t.$$.dirty[0]&&m&&(r=m,a=f,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",a),Me(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,i(10,l=e.Currency),i(4,s=!0)},e=>{i(4,s=!1)})),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&m&&p&&G&&B(),268435456&t.$$.dirty[0]&&x&&(e=x,je.set(e)),536870912&t.$$.dirty[0]&&k){let e=document.createElement("style");e.innerHTML=k,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&M){let e=new URL(M),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e,r,a},[S,C,_,G,s,r,o,T,L,a,l,c,$,I,h,n,P,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),D,H,R,w,m,f,g,y,b,v,x,k,M,F,p,()=>P("recent"),()=>P("top"),()=>H(),()=>R(),e=>D(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){Ue[e?"unshift":"push"](()=>{r=e,i(5,r)})},function(e){Ue[e?"unshift":"push"](()=>{c=e,i(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:192px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:192px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",U(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Hr,Nr,d,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),g()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),g()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),g()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),g()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),g()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),g()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),g()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),g()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),g()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),g()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),g()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),g()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),g()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),g()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),g()}});Ur=Wr={path:void 0,exports:{},require:function(e,t){return Ln(null==t&&Wr.path)}},Wr.exports,Ur.exports=function(){var A;function m(){return A.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 f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function D(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function O(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function N(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],r=e.length,a=0;a<r;++a)n.push(t(e[a],a));return n}function W(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return Lt(e,t,n,r,!0).utc()}function g(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 U(e){if(null==e._isValid){var t=g(e),n=Y.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 j(e){var t=c(NaN);return null!=e?W(g(t),e):g(t).userInvalidated=!0,t}var Y=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},z=m.momentProperties=[],V=!1;function Z(e,t){var n,r,a,i=z.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=g(t)),s(t._locale)||(e._locale=t._locale),0<i)for(n=0;n<i;n++)s(a=t[r=z[n]])||(e[r]=a);return e}function K(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,m.updateOffset(this),V=!1)}function l(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function X(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,o){var s=!0;return W(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,i),s){for(var e,t,n=[],r=arguments.length,a=0;a<r;a++){if(e="","object"==typeof arguments[a]){for(t in e+="\n["+a+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[a];n.push(e)}X(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var J={};function q(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),J[e]||(X(t),J[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=W({},e);for(n in t)f(t,n)&&(B(e[n])&&B(t[n])?(r[n]={},W(r[n],e[n]),W(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)f(e,n)&&!f(t,n)&&B(e[n])&&(r[n]=W({},r[n]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};function i(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,ae={},ie={};function r(e,t,n,r){var a="string"==typeof r?function(){return this[r]()}:r;e&&(ie[e]=a),t&&(ie[t[0]]=function(){return i(a.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ae[t]=ae[t]||function(r){for(var e,a=r.match(ne),t=0,i=a.length;t<i;t++)ie[a[t]]?a[t]=ie[a[t]]:a[t]=(e=a[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<i;n++)t+=u(a[n])?a[n].call(e,r):a[n];return t}}(t),ae[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 d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)f(e,n)&&(t=d(n))&&(r[t]=e[n]);return r}var ue={};function n(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function h(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)?h(e):t}function he(t,n){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,n),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&de(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 a=/\d/,y=/\d\d/,fe=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,Se=/[+-]?\d{1,6}/,Ce=/\d+/,_e=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,Me=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[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){Fe[e]=u(n)?n:function(e,t){return e&&r?r:n}}function Ge(e,t){return f(Fe,e)?Fe[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Fe={},Te={};function S(e,n){var t,r,a=n;for("string"==typeof e&&(e=[e]),O(n)&&(a=function(e,t){t[n]=p(e)}),r=e.length,t=0;t<r;t++)Te[e[t]]=a}function Ee(e,a){S(e,function(e,t,n,r){n._w=n._w||{},a(e,n._w,n,r)})}var C,_=0,k=1,M=2,G=3,F=4,T=5,Le=6,$e=7,Ie=8;function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?de(e)?29:28:31-n%7%2}C=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",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[k]=p(e)-1}),S(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[k]=r:g(n).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Be=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=v,Oe=v;function Ne(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!O(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?(Ne(this,e),m.updateOffset(this,!0),this):pe(this,"Month")}function We(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],a=[],i=0;i<12;i++)t=c([2e3,i]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),a.push(this.months(t,"")),a.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),a.sort(e),i=0;i<12;i++)n[i]=x(n[i]),r[i]=x(r[i]);for(i=0;i<24;i++)a[i]=x(a[i]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return de(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?i(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",_e),w("YY",b,y),w("YYYY",xe,ge),w("YYYYY",Se,ye),w("YYYYYY",Se,ye),S(["YYYYY","YYYYYY"],_),S("YYYY",function(e,t){t[_]=2===e.length?m.parseTwoDigitYear(e):p(e)}),S("YY",function(e,t){t[_]=m.parseTwoDigitYear(e)}),S("Y",function(e,t){t[_]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var je=he("FullYear",!0);function Ye(e,t,n,r,a,i,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,o),s}function ze(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+ze(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,a){var i,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,a),n=t<=0?Ue(i=e-1)+t:t>Ue(e)?(i=e+1,t-Ue(e)):(i=e,t);return{year:i,dayOfYear:n}}function Ke(e,t,n){var r,a,i=Ve(e.year(),t,n),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?r=i+E(a=e.year()-1,t,n):i>E(e.year(),t,n)?(r=i-E(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function E(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(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",b),w("ww",b,y),w("W",b),w("WW",b,y),Ee(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=p(e)});function Xe(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",b),w("e",b),w("E",b),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)}),Ee(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),Ee(["d","e","E"],function(e,t,n,r){t[r]=p(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,a=[],i=[],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,"")),a.push(t),i.push(n),o.push(r),s.push(t),s.push(n),s.push(r);a.sort(e),i.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("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function at(){return this.hours()%12||12}function it(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,at),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)}),r("hmmss",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)+i(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+i(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+i(this.minutes(),2)+i(this.seconds(),2)}),it("a",!0),it("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),S(["H","HH"],G),S(["k","kk"],function(e,t,n){e=p(e);t[G]=24===e?0:e}),S(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),S(["h","hh"],function(e,t,n){t[G]=p(e),g(n).bigHour=!0}),S("hmm",function(e,t,n){var r=e.length-2;t[G]=p(e.substr(0,r)),t[F]=p(e.substr(r)),g(n).bigHour=!0}),S("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[G]=p(e.substr(0,r)),t[F]=p(e.substr(r,2)),t[T]=p(e.substr(a)),g(n).bigHour=!0}),S("Hmm",function(e,t,n){var r=e.length-2;t[G]=p(e.substr(0,r)),t[F]=p(e.substr(r))}),S("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[G]=p(e.substr(0,r)),t[F]=p(e.substr(r,2)),t[T]=p(e.substr(a))});v=he("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:Ae,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},L={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,n,r,a,i=0;i<e.length;){for(t=(a=ut(e[i]).split("-")).length,n=(n=ut(e[i+1]))?n.split("-"):null;0<t;){if(r=ht(a.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}(a,n)>=t-1)break;t--}i++}return st}function ht(t){var e;if(void 0===L[t]&&Ur&&Ur.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Ln(),pt(e)}catch(e){L[t]=null}return L[t]}function pt(e,t){return e&&((t=s(t)?$(e):mt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function mt(e,t){if(null===t)return delete L[e],null;var n,r=lt;if(t.abbr=e,null!=L[e])q("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=L[e]._config;else if(null!=t.parentLocale)if(null!=L[t.parentLocale])r=L[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return L[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),pt(e),L[e]}function $(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=ht(e))return t;e=[e]}return dt(e)}function ft(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[k]<0||11<t[k]?k:t[M]<1||t[M]>Pe(t[_],t[k])?M:t[G]<0||24<t[G]||24===t[G]&&(0!==t[F]||0!==t[T]||0!==t[Le])?G:t[F]<0||59<t[F]?F:t[T]<0||59<t[T]?T:t[Le]<0||999<t[Le]?Le:-1,g(e)._overflowDayOfYear&&(t<_||M<t)&&(t=M),g(e)._overflowWeeks&&-1===t&&(t=$e),g(e)._overflowWeekday&&-1===t&&(t=Ie),g(e).overflow=t),e}var gt=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["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,St=/^(?:(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}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _t(e){var t,n,r,a,i,o,s=e._i,l=gt.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(g(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){a=vt[t][0],r=!1!==vt[t][2];break}if(null==a)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){i=(l[2]||" ")+wt[t][0];break}if(null==i)return e._isValid=!1}if(!r&&null!=i)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=a+(i||"")+(o||""),Tt(e)}else e._isValid=!1}function kt(e,t,n,r,a,i){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ae.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&e.push(parseInt(i,10)),e}function Mt(e){var t,n,r,a,i=St.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=kt(i[4],i[3],i[2],i[5],i[6],i[7]),n=i[1],r=t,a=e,n&&qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(a).weekdayMismatch=!0,a._isValid=!1):(e._a=t,e._tzm=(n=i[8],r=i[9],a=i[10],n?Ct[n]:r?0:((n=parseInt(a,10))-(r=n%100))/100*60+r),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Gt(e,t,n){return null!=e?e:null!=t?t:n}function Ft(e){var t,n,r,a,i,o,s,l,c,u,d,h=[];if(!e._d){for(u=e,d=new Date(m.now()),n=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[M]&&null==e._a[k]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,s=4,r=Gt(d.GG,u._a[_],Ke(I(),1,4).year),a=Gt(d.W,1),((i=Gt(d.E,1))<1||7<i)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Ke(I(),o,s),r=Gt(d.gg,u._a[_],c.year),a=Gt(d.w,c.week),null!=d.d?((i=d.d)<0||6<i)&&(l=!0):null!=d.e?(i=d.e+o,(d.e<0||6<d.e)&&(l=!0)):i=o),a<1||a>E(r,o,s)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=Ze(r,a,i,o,s),u._a[_]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=Gt(e._a[_],n[_]),(e._dayOfYear>Ue(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=ze(d,0,e._dayOfYear),e._a[k]=l.getUTCMonth(),e._a[M]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[G]&&0===e._a[F]&&0===e._a[T]&&0===e._a[Le]&&(e._nextDay=!0,e._a[G]=0),e._d=(e._useUTC?ze:Ye).apply(null,h),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[G]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Tt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r,a=""+e._i,i=a.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(a.match(Ge(r,e))||[])[0])&&(0<(d=a.substr(0,a.indexOf(t))).length&&g(e).unusedInput.push(d),a=a.slice(a.indexOf(t)+t.length),o+=t.length),ie[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),d=r,p=e,null!=(h=t)&&f(Te,d)&&Te[d](h,p._a,p,d)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=i-o,0<a.length&&g(e).unusedInput.push(a),e._a[G]<=12&&!0===g(e).bigHour&&0<e._a[G]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[G]=(i=e._locale,c=e._a[G],null==(u=e._meridiem)?c:null!=i.meridiemHour?i.meridiemHour(c,u):null!=i.isPM?((i=i.isPM(u))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[_]=e._locale.erasConvertYear(u,e._a[_])),Ft(e),ft(e)}else Mt(e);else _t(e);var c,u,d,h,p}function Et(e){var t,n=e._i,r=e._f;{var a,i;if(e._locale=e._locale||$(e._l),null===n||void 0===r&&""===n)return j({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new K(ft(n)):(N(n)?e._d=n:o(r)?function(e){var t,n,r,a,i,o,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(a=0;a<l;a++)i=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Tt(t),U(t)&&(o=!0),i=(i+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||o)&&(r=i,n=t,o&&(s=!0));W(e,n||t)}(e):r?Tt(e):s(r=(n=e)._i)?n._d=new Date(m.now()):N(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(a=n,null===(i=xt.exec(a._i))?(_t(a),!1===a._isValid&&(delete a._isValid,Mt(a),!1===a._isValid&&(delete a._isValid,a._strict?a._isValid=!1:m.createFromInputFallback(a)))):a._d=new Date(+i[1])):o(r)?(n._a=H(r.slice(0),function(e){return parseInt(e,10)}),Ft(n)):B(r)?(a=n)._d||(t=void 0===(i=ce(a._i)).day?i.date:i.day,a._a=H([i.year,i.month,t,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Ft(a)):O(r)?n._d=new Date(r):m.createFromInputFallback(n),U(e)||(e._d=null),e)}}function Lt(e,t,n,r,a){var i={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(B(e)&&D(e)||o(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=n,i._i=e,i._f=t,i._strict=r,(a=new K(ft(Et(a=i))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function I(e,t,n,r){return Lt(e,t,n,r,!1)}m.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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function $t(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return I();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var It=["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,a=e.week||e.isoWeek||0,i=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,a=It.length;for(t in e)if(f(e,t)&&(-1===C.call(It,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[It[n]]){if(r)return!1;parseFloat(e[It[n]])!==p(e[It[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+i+7*a,this._months=+r+3*n+12*t,this._data={},this._locale=$(),this._bubble()}function Rt(e){return e instanceof Pt}function At(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+i(~~(e/60),2)+n+i(~~e%60,2)})}Bt("Z",":"),Bt("ZZ",""),w("Z",Me),w("ZZ",Me),S(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ot(Me,e)});var Dt=/([\+\-]|\d\d)/gi;function Ot(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Dt)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Nt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||N(e)?e:I(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):I(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function Wt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?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,a=e,i=null;return Rt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:O(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(i=Ut.exec(e))?(n="-"===i[1]?-1:1,a={y:0,d:p(i[M])*n,h:p(i[G])*n,m:p(i[F])*n,s:p(i[T])*n,ms:p(At(1e3*i[Le]))*n}):(i=jt.exec(e))?(n="-"===i[1]?-1:1,a={y:Yt(i[2],n),M:Yt(i[3],n),w:Yt(i[4],n),d:Yt(i[5],n),h:Yt(i[6],n),m:Yt(i[7],n),s:Yt(i[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(t=I(a.from),i=I(a.to),n=t.isValid()&&i.isValid()?(i=Nt(i,t),t.isBefore(i)?r=zt(t,i):((r=zt(i,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(a={}).ms=n.milliseconds,a.M=n.months),i=new Pt(a),Rt(e)&&f(e,"_locale")&&(i._locale=e._locale),Rt(e)&&f(e,"_isValid")&&(i._isValid=e._isValid),i}function Yt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(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,a){return function(e,t){var n;return null===t||isNaN(+t)||(q(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(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 a=t._milliseconds,i=At(t._days),t=At(t._months);e.isValid()&&(r=null==r||r,t&&Ne(e,pe(e,"Month")+t*n),i&&me(e,"Date",pe(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&m.updateOffset(e,i||t))}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Re=Vt(1,"add"),Je=Vt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||N(e)||Kt(e)||O(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!O(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=B(e)&&!D(e),a=!1,i=["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=i.length;for(t=0;t<o;t+=1)n=i[t],a=a||f(e,n);return r&&a}(e)||null==e;var t,n,r}function Jt(e,t){if(e.date()<t.date())return-Jt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function qt(e){return void 0===e?this._locale._abbr:(null!=(e=$(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.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=[],a=this.eras(),i=0,o=a.length;i<o;++i)t.push(x(a[i].name)),e.push(x(a[i].abbr)),n.push(x(a[i].narrow)),r.push(x(a[i].name)),r.push(x(a[i].abbr)),r.push(x(a[i].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,a){var i;return null==e?Ke(this,r,a).year:(t>(i=E(e,r,a))&&(t=i),function(e,t,n,r,a){e=Ze(e,t,n,r,a),t=ze(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,a))}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)}),S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),S(["y","yy","yyy","yyyy"],_),S(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[_]=n._locale.eraYearOrdinalParse(e,a):t[_]=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",_e),w("g",_e),w("GG",b,y),w("gg",b,y),w("GGGG",xe,ge),w("gggg",xe,ge),w("GGGGG",Se,ye),w("ggggg",Se,ye),Ee(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=p(e)}),Ee(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",a),S("Q",function(e,t){t[k]=3*(p(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],M),S("Do",function(e,t){t[M]=p(e.match(b)[0])});xe=he("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",fe),S(["DDD","DDDD"],function(e,t,n){n._dayOfYear=p(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),S(["m","mm"],F);ge=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),S(["s","ss"],T);var cn,Se=he("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,a),w("SS",we,y),w("SSS",we,fe),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function un(e,t){t[Le]=p(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")S(cn,un);ye=he("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");a=K.prototype;function dn(e){return e}a.add=Re,a.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=B(e)&&!D(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a=0;a<r.length;a+=1)n=n||f(e,r[a]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||I(),n=Nt(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,I(e)))},a.clone=function(){return new K(this)},a.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=d(t)){case"year":i=Jt(this,r)/12;break;case"month":i=Jt(this,r);break;case"quarter":i=Jt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:h(i)},a.endOf=function(e){var t,n;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;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}return this._d.setTime(t),m.updateOffset(this,!0),this},a.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},a.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.fromNow=function(e){return this.from(I(),e)},a.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.toNow=function(e){return this.to(I(),e)},a.get=function(e){return u(this[e=d(e)])?this[e]():this},a.invalidAt=function(){return g(this).overflow},a.isAfter=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},a.isBefore=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},a.isBetween=function(e,t,n,r){return e=l(e)?e:I(e),t=l(t)?t:I(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))},a.isSame=function(e,t){var e=l(e)?e:I(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},a.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},a.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},a.isValid=function(){return U(this)},a.lang=Qe,a.locale=qt,a.localeData=Qt,a.max=ve,a.min=be,a.parsingFlags=function(){return W({},g(this))},a.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)f(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,a=0;a<r;a++)this[n[a].unit](e[n[a].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},a.startOf=function(e){var t,n;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;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)}return this._d.setTime(t),m.updateOffset(this,!0),this},a.subtract=Je,a.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},a.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()}},a.toDate=function(){return new Date(this.valueOf())},a.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.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"):u(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")},a.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return 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+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(a[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},a.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},a.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""},a.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""},a.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""},a.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,a=n.length;r<a;++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()-m(n[r].since).year())*e+n[r].offset;return this.year()},a.year=je,a.isLeapYear=function(){return de(this.year())},a.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},a.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},a.quarter=a.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},a.month=He,a.daysInMonth=function(){return Pe(this.year(),this.month())},a.week=a.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},a.isoWeek=a.isoWeeks=function(e){var t=Ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},a.weeksInYear=function(){var e=this.localeData()._week;return E(this.year(),e.dow,e.doy)},a.weeksInWeekYear=function(){var e=this.localeData()._week;return E(this.weekYear(),e.dow,e.doy)},a.isoWeeksInYear=function(){return E(this.year(),1,4)},a.isoWeeksInISOWeekYear=function(){return E(this.isoWeekYear(),1,4)},a.date=xe,a.day=a.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},a.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},a.isoWeekday=function(e){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;var t,n},a.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")},a.hour=a.hours=v,a.minute=a.minutes=ge,a.second=a.seconds=Se,a.millisecond=a.milliseconds=ye,a.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?a:Ht(this);if("string"==typeof e){if(null===(e=Ot(Me,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"),a!==e&&(!t||this._changeInProgress?Zt(this,P(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},a.utc=function(e){return this.utcOffset(0,e)},a.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},a.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ot(ke,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},a.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?I(e).utcOffset():0,(this.utcOffset()-e)%60==0)},a.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},a.isLocal=function(){return!!this.isValid()&&!this._isUTC},a.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},a.isUtc=Wt,a.isUTC=Wt,a.zoneAbbr=function(){return this._isUTC?"UTC":""},a.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},a.dates=e("dates accessor is deprecated. Use date instead.",xe),a.months=e("months accessor is deprecated. Use month instead",He),a.years=e("years accessor is deprecated. Use year instead",je),a.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()}),a.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Et(t))._a?(e=(t._isUTC?c:I)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&p(e[o])!==p(t[o]))&&i++;return i+a}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function hn(e,t,n,r){var a=$(),r=c().set(r,t);return a[n](r,e)}function pn(e,t,n){if(O(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");for(var r=[],a=0;a<12;a++)r[a]=hn(e,a,n,"month");return r}function mn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),O(t)&&(n=t,t=void 0),t||"");var a,i=$(),o=e?i._week.dow:0,s=[];if(null!=n)return hn(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=hn(t,(a+o)%7,r,"day");return s}y.calendar=function(e,t,n){return u(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=dn,y.postformat=dn,y.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return u(a)?a(e,t,n,r):a.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(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)f(e,n)&&(u(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||$("en")._eras,a=0,i=r.length;a<i;++a)switch("string"==typeof r[a].since&&(n=m(r[a].since).startOf("day"),r[a].since=n.valueOf()),typeof r[a].until){case"undefined":r[a].until=1/0;break;case"string":n=m(r[a].until).startOf("day").valueOf(),r[a].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,a,i,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(i=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(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[i,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return f(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return f(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,a;if(this._monthsParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=C.call(this._shortMonthsParse,e))?a:null:-1!==(a=C.call(this._longMonthsParse,e))?a:null:"MMM"===t?-1!==(a=C.call(this._shortMonthsParse,e))||-1!==(a=C.call(this._longMonthsParse,e))?a:null:-1!==(a=C.call(this._longMonthsParse,e))||-1!==(a=C.call(this._shortMonthsParse,e))?a:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(a.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?(f(this,"_monthsRegex")||We.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||We.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ke(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?Xe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,a;if(this._weekdaysParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=C.call(this._weekdaysParse,e))?a:null:"ddd"===t?-1!==(a=C.call(this._shortWeekdaysParse,e))?a:null:-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:"dddd"===t?-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._shortWeekdaysParse,e))||-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:"ddd"===t?-1!==(a=C.call(this._shortWeekdaysParse,e))||-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:-1!==(a=C.call(this._minWeekdaysParse,e))||-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._shortWeekdaysParse,e))?a:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(a.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?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(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")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",$);var fn=Math.abs;function gn(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 bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),fe=wn("s"),Re=wn("m"),ve=wn("h"),be=wn("d"),Je=wn("w"),v=wn("M"),ge=wn("Q"),Se=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),je=xn("minutes"),y=xn("hours"),Sn=xn("days"),Cn=xn("months"),_n=xn("years");var kn=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(e,t,n,r){var a=P(e).abs(),i=kn(a.as("s")),o=kn(a.as("m")),s=kn(a.as("h")),l=kn(a.as("d")),c=kn(a.as("M")),u=kn(a.as("w")),a=kn(a.as("y")),i=(i<=n.ss?["s",i]:i<n.s&&["ss",i])||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(i=(i=null!=n.w?i||u<=1&&["w"]||u<n.w&&["ww",u]:i)||c<=1&&["M"]||c<n.M&&["MM",c]||a<=1&&["y"]||["yy",a])[2]=t,i[3]=0<+e,i[4]=r,function(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}.apply(null,i)}var Fn=Math.abs;function Tn(e){return(0<e)-(e<0)||+e}function En(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,o,s=Fn(this._milliseconds)/1e3,l=Fn(this._days),c=Fn(this._months),u=this.asSeconds();return u?(e=h(s/60),t=h(e/60),s%=60,e%=60,n=h(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",a=Tn(this._months)!==Tn(u)?"-":"",i=Tn(this._days)!==Tn(u)?"-":"",o=Tn(this._milliseconds)!==Tn(u)?"-":"",(u<0?"-":"")+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(l?i+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}var R=Pt.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=fn(this._milliseconds),this._days=fn(this._days),this._months=fn(this._months),e.milliseconds=fn(e.milliseconds),e.seconds=fn(e.seconds),e.minutes=fn(e.minutes),e.hours=fn(e.hours),e.months=fn(e.months),e.years=fn(e.years),this},R.add=function(e,t){return gn(this,e,t,1)},R.subtract=function(e,t){return gn(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(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=fe,R.asMinutes=Re,R.asHours=ve,R.asDays=be,R.asWeeks=Je,R.asMonths=v,R.asQuarters=ge,R.asYears=Se,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(vn(n)+t),n=t=0),r.milliseconds=e%1e3,e=h(e/1e3),r.seconds=e%60,e=h(e/60),r.minutes=e%60,e=h(e/60),r.hours=e%24,t+=h(e/24),n+=e=h(bn(t)),t-=yn(vn(e)),e=h(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=d(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=xe,R.minutes=je,R.hours=y,R.days=Sn,R.weeks=function(){return h(this.days()/7)},R.months=Cn,R.years=_n,R.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Mn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Mn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Gn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},R.toISOString=En,R.toString=En,R.toJSON=En,R.locale=qt,R.localeData=Qt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",En),R.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",_e),w("X",/[+-]?\d+(\.\d{1,3})?/),S("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),S("x",function(e,t,n){n._d=new Date(p(e))}),m.version="2.29.3",A=I,m.fn=a,m.min=function(){return $t("isBefore",[].slice.call(arguments,0))},m.max=function(){return $t("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return I(1e3*e)},m.months=function(e,t){return pn(e,t,"months")},m.isDate=N,m.locale=pt,m.invalid=j,m.duration=P,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return I.apply(null,arguments).parseZone()},m.localeData=$,m.isDuration=Rt,m.monthsShort=function(e,t){return pn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=L[e]&&null!=L[e].parentLocale?L[e].set(Q(L[e]._config,t)):(t=Q(r=null!=(n=ht(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=L[e],L[e]=r),pt(e)):null!=L[e]&&(null!=L[e].parentLocale?(L[e]=L[e].parentLocale,e===pt()&&pt(e)):null!=L[e]&&delete L[e]),L[e]},m.locales=function(){return te(L)},m.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Mn[e]&&(void 0===t?Mn[e]:(Mn[e]=t,"s"===e&&(Mn.ss=t-1),!0))},m.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"},m.prototype=a,m.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"},m}();var Wr,Ur,jr=Wr.exports;const Yr={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},zr={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 Vr(e,t,n){const r=e.slice();return r[105]=t[n],r[107]=n,r}function Zr(e,t,n){const r=e.slice();return r[102]=t[n],r}function Kr(e){let n,r=!Ye(e[36])&&!e[0]&&e[13],a=r&&Xr(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),de(e,n,t)},p(e,t){(r=8193&t[0]?!Ye(e[36])&&!e[0]&&e[13]:r)?a?a.p(e,t):((a=Xr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&he(n)}}}function Xr(n){let r,a,i;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: white" 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>',ge(r,"class","FavIconContainer"),ge(r,"part","FavIconContainer")},m(e,t){de(e,r,t),a||(i=X(r,"click",n[64]),a=!0)},p:Z,d(e){e&&he(r),a=!1,i()}}}function Jr(e){let n;return{c(){(n=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="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: white" 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>',ge(n,"class","FavIconContainer"),ge(n,"part","FavIconContainer")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function qr(n){let r,a,i;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="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: white" 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>',ge(r,"class","FavIconContainer"),ge(r,"part","FavIconContainer")},m(e,t){de(e,r,t),a||(i=X(r,"click",n[66]),a=!0)},p:Z,d(e){e&&he(r),a=!1,i()}}}function Qr(e){let n,r,a=e[35]("gameThumbnail.new")+"";return{c(){n=pe("span"),r=me(a),ge(n,"class","GameExtraInfoLabel NewGameTag"),ge(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&a!==(a=e[35]("gameThumbnail.new")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ea(e){let n,r,a=e[35]("gameThumbnail.hot")+"";return{c(){n=pe("span"),r=me(a),ge(n,"class","GameExtraInfoLabel PopularGameTag"),ge(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&a!==(a=e[35]("gameThumbnail.hot")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ta(e){let n,r,a=!e[22]&&e[20]&&e[21]&&na(e);function i(e){return e[22]&&e[19]&&e[19]===ma?aa:e[22]&&e[19]&&e[19]===fa?ra:void 0}let o=i(e),s=o&&o(e);return{c(){a&&a.c(),n=fe(),s&&s.c(),r=l()},m(e,t){a&&a.m(e,t),de(e,n,t),s&&s.m(e,t),de(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?a?a.p(e,t):((a=na(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){a&&a.d(e),e&&he(n),s&&s.d(e),e&&he(r)}}}function na(e){let n,r,a,i,o,s,l,c,u,d,h=e[35]("gameThumbnail.opens")+"",p=jr.utc(e[20]).local().format(e[21])+"",m=e[45](e[34])+"",f=e[44](e[26],e[27],e[25])+"";return{c(){n=pe("div"),r=pe("div"),a=me(h),i=fe(),o=pe("span"),s=me(p),l=fe(),c=new L(!1),u=fe(),d=new L(!1),ge(r,"class","ClosedGame"),ge(r,"part","ClosedGame"),c.a=u,d.a=null,ge(n,"class","GameProp LiveProps"),ge(n,"part","GameProp LiveProps")},m(e,t){de(e,n,t),ue(n,r),ue(r,a),ue(r,i),ue(r,o),ue(o,s),ue(n,l),c.m(m,n),ue(n,u),d.m(f,n)},p(e,t){16&t[1]&&h!==(h=e[35]("gameThumbnail.opens")+"")&&ye(a,h),3145728&t[0]&&p!==(p=jr.utc(e[20]).local().format(e[21])+"")&&ye(s,p),8&t[1]&&m!==(m=e[45](e[34])+"")&&c.p(m),234881024&t[0]&&f!==(f=e[44](e[26],e[27],e[25])+"")&&d.p(f)},d(e){e&&he(n)}}}function ra(n){let r,a,i,o,s,l,c=n[45](n[34])+"",u=n[44](n[26],n[27],n[25])+"",d=new Array(ya),h=[];for(let e=0;e<d.length;e+=1)h[e]=la(Vr(n,d,e));return{c(){r=pe("div"),a=pe("div");for(let e=0;e<h.length;e+=1)h[e].c();i=fe(),o=new L(!1),s=fe(),l=new L(!1),ge(a,"class","LiveIcons"),ge(a,"part","LiveIcons"),o.a=s,l.a=null,ge(r,"class",n[30]),ge(r,"part",n[30])},m(e,t){de(e,r,t),ue(r,a);for(let e=0;e<h.length;e+=1)h[e].m(a,null);n[67](a),ue(r,i),o.m(c,r),ue(r,s),l.m(u,r)},p(t,n){if(536872960&n[0]|32769&n[1]){let e;for(d=new Array(ya),e=0;e<d.length;e+=1){const o=Vr(t,d,e);h[e]?h[e].p(o,n):(h[e]=la(o),h[e].c(),h[e].m(a,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}8&n[1]&&c!==(c=t[45](t[34])+"")&&o.p(c),234881024&n[0]&&u!==(u=t[44](t[26],t[27],t[25])+"")&&l.p(u),1073741824&n[0]&&ge(r,"class",t[30]),1073741824&n[0]&&ge(r,"part",t[30])},d(e){e&&he(r),M(h,e),n[67](null)}}}function aa(e){let n,r,a,i,o,s,l=e[45](e[34])+"",c=e[44](e[26],e[27],e[25])+"";function u(e){return e[32]?ua:ca}let d=u(e),h=d(e);return{c(){n=pe("div"),r=pe("div"),h.c(),a=fe(),i=new L(!1),o=fe(),s=new L(!1),ge(r,"class","LiveIcons"),ge(r,"part","LiveIcons"),i.a=o,s.a=null,ge(n,"class","GameProp LiveProps BlackjackDisplay"),ge(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){de(e,n,t),ue(n,r),h.m(r,null),ue(n,a),i.m(l,n),ue(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,null))),8&t[1]&&l!==(l=e[45](e[34])+"")&&i.p(l),234881024&t[0]&&c!==(c=e[44](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&he(n),h.d()}}}function ia(e){let n;function r(e){return e[29]?sa:oa}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),de(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&he(n)}}}function oa(e){let n,r,a=e[46]("LatestResult "+(0===e[107]?"First":""),e[107],e[11][e[107]],e[31][e[11][e[107]]])+"";return{c(){n=new L(!1),r=l(),n.a=r},m(e,t){n.m(a,e,t),de(e,r,t)},p(e,t){2048&t[0]|1&t[1]&&a!==(a=e[46]("LatestResult "+(0===e[107]?"First":""),e[107],e[11][e[107]],e[31][e[11][e[107]]])+"")&&n.p(a)},d(e){e&&he(r),e&&n.d()}}}function sa(e){let n,r,a,i,o,s=e[46]("LatestResult "+(0===e[107]?"First":""),"first"+e[107]+e[11][e[107]][0],e[11][e[107]][0],e[31][e[11][e[107]][0]])+"",l=e[46]("LatestResult "+(0===e[107]?"First":""),"second"+e[107]+e[11][e[107]][1],e[11][e[107]][1],e[31][e[11][e[107]][1]])+"";return{c(){n=pe("div"),r=new L(!1),a=fe(),i=new L(!1),o=fe(),r.a=a,i.a=o,ge(n,"class","Double"),ge(n,"part","Double")},m(e,t){de(e,n,t),r.m(s,n),ue(n,a),i.m(l,n),ue(n,o)},p(e,t){2048&t[0]|1&t[1]&&s!==(s=e[46]("LatestResult "+(0===e[107]?"First":""),"first"+e[107]+e[11][e[107]][0],e[11][e[107]][0],e[31][e[11][e[107]][0]])+"")&&r.p(s),2048&t[0]|1&t[1]&&l!==(l=e[46]("LatestResult "+(0===e[107]?"First":""),"second"+e[107]+e[11][e[107]][1],e[11][e[107]][1],e[31][e[11][e[107]][1]])+"")&&i.p(l)},d(e){e&&he(n)}}}function la(e){let n,r=e[11]&&e[11][e[107]]&&ia(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[11]&&e[11][e[107]]?r?r.p(e,t):((r=ia(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ca(t){let a,i=t[24],o=[];for(let e=0;e<i.length;e+=1)o[e]=da(Zr(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);de(t,a,n)},p(t,n){if(285212672&n[0]|4096&n[1]){let e;for(i=t[24],e=0;e<i.length;e+=1){var r=Zr(t,i,e);o[e]?o[e].p(r,n):(o[e]=da(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){M(o,e),e&&he(a)}}}function ua(e){let n,r,a=e[35]("gameThumbnail.full")+"";return{c(){n=pe("span"),r=me(a),ge(n,"class","FullTable"),ge(n,"part","FullTable")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&a!==(a=e[35]("gameThumbnail.full")+"")&&ye(r,a)},d(e){e&&he(n)}}}function da(e){let n,r,a,i,o,s,l;return{c(){n=pe("span"),r=G("svg"),a=G("path"),i=G("path"),o=fe(),ge(a,"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"),ge(i,"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"),ge(r,"xmlns","http://www.w3.org/2000/svg"),ge(r,"width","13"),ge(r,"height","14"),ge(r,"viewBox","0 0 13 14"),ge(n,"class",s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat"),ge(n,"part",l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")},m(e,t){de(e,n,t),ue(n,r),ue(r,a),ue(r,i),ue(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&ge(n,"class",s),285212672&t[0]&&l!==(l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&ge(n,"part",l)},d(e){e&&he(n)}}}function ha(e){let n,r;return{c(){n=pe("p"),r=me(e[3]),ge(n,"class","GameNameBelow"),ge(n,"part","GameNameBelow"),ge(n,"title",e[3])},m(e,t){de(e,n,t),ue(n,r)},p(e,t){8&t[0]&&ye(r,e[3]),8&t[0]&&ge(n,"title",e[3])},d(e){e&&he(n)}}}function pa(n){let r,a,i,o,s,l,D,c,u,d,h,p,O,m,f,g,y,N,b,v,H,w,x,S,C,_,W,k,M,U,G,F,j,Y,T=n[35]("gameThumbnail.playNow")+"",E=(n[4]||"-")+"",z=0<parseInt(n[7]),L=n[14]&&Kr(n);function V(e,t){return 8195&t[0]&&(w=null),8195&t[0]&&(x=null),(w=null==w?!(Ye(e[36])||!e[0]||!e[13]||!e[1]):w)?qr:(x=null==x?!!(Ye(e[36])&&e[0]&&e[13]&&e[1]):x)?Jr:void 0}let $=V(n,[-1,-1,-1,-1]),I=$&&$(n),P=n[6]&&Qr(n),R=z&&ea(n),A=n[10]&&ta(n),B=n[9]&&ha(n);return{c(){r=pe("div"),a=pe("div"),i=pe("img"),D=fe(),c=pe("div"),u=pe("div"),L&&L.c(),d=fe(),h=pe("p"),p=me(n[3]),O=fe(),m=pe("button"),f=me(T),N=fe(),b=pe("span"),v=me(E),H=fe(),I&&I.c(),S=fe(),C=pe("div"),P&&P.c(),_=fe(),R&&R.c(),W=fe(),A&&A.c(),U=fe(),B&&B.c(),this.c=Z,ce(i.src,o=n[2])||ge(i,"src",o),ge(i,"class",s=`GameBg GameBg-${n[8]} ${n[15]?"GameContainerHovered":""} `+(n[16]?"Loaded":"")),ge(i,"part",l="GameBg "+(n[15]?"GameContainerHovered":"")+" "+(n[16]?"Loaded":"")),ge(i,"alt",""),ge(i,"loading","lazy"),ge(h,"class","GameInfoName"),ge(h,"part","GameInfoName"),ge(h,"title",n[3]),ge(m,"class","GameInfoBtn"),ge(m,"part","GameInfoBtn"),ge(u,"class",g="GameInfo "+(n[15]?"GameHovered":"")),ge(u,"part",y="GameInfo "+(n[15]?"GameHovered":"")),ge(b,"class","GameInfoVendor"),ge(b,"part","GameInfoVendor"),ge(c,"class","GameInfoWrapper"),ge(c,"part","GameInfoWrapper"),ge(C,"class","GameExtraInfo"),ge(C,"part","GameExtraInfo"),ge(a,"class",k="GameInnerContainer "+(n[10]&&!n[22]&&n[23].value||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),ge(a,"part",M="GameInnerContainer "+(n[10]&&!n[22]||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),ge(r,"class",G="GameContainer "+n[33]),ge(r,"part",F="GameContainer "+n[33])},m(e,t){de(e,r,t),ue(r,a),ue(a,i),n[63](i),ue(a,D),ue(a,c),ue(c,u),L&&L.m(u,null),ue(u,d),ue(u,h),ue(h,p),ue(u,O),ue(u,m),ue(m,f),ue(c,N),ue(c,b),ue(b,v),ue(a,H),I&&I.m(a,null),ue(a,S),ue(a,C),P&&P.m(C,null),ue(C,_),R&&R.m(C,null),ue(C,W),A&&A.m(C,null),ue(r,U),B&&B.m(r,null),n[68](r),j||(Y=[X(m,"click",n[65]),X(a,"mouseenter",n[41]),X(a,"mouseleave",n[42]),X(a,"touchstart",n[39],{passive:!0}),X(a,"touchend",n[40],{passive:!0})],j=!0)},p(e,t){4&t[0]&&!ce(i.src,o=e[2])&&ge(i,"src",o),98560&t[0]&&s!==(s=`GameBg GameBg-${e[8]} ${e[15]?"GameContainerHovered":""} `+(e[16]?"Loaded":""))&&ge(i,"class",s),98304&t[0]&&l!==(l="GameBg "+(e[15]?"GameContainerHovered":"")+" "+(e[16]?"Loaded":""))&&ge(i,"part",l),e[14]?L?L.p(e,t):((L=Kr(e)).c(),L.m(u,d)):L&&(L.d(1),L=null),8&t[0]&&ye(p,e[3]),8&t[0]&&ge(h,"title",e[3]),16&t[1]&&T!==(T=e[35]("gameThumbnail.playNow")+"")&&ye(f,T),32768&t[0]&&g!==(g="GameInfo "+(e[15]?"GameHovered":""))&&ge(u,"class",g),32768&t[0]&&y!==(y="GameInfo "+(e[15]?"GameHovered":""))&&ge(u,"part",y),16&t[0]&&E!==(E=(e[4]||"-")+"")&&ye(v,E),$===($=V(e,t))&&I?I.p(e,t):(I&&I.d(1),(I=$&&$(e))&&(I.c(),I.m(a,S))),e[6]?P?P.p(e,t):((P=Qr(e)).c(),P.m(C,_)):P&&(P.d(1),P=null),(z=128&t[0]?0<parseInt(e[7]):z)?R?R.p(e,t):((R=ea(e)).c(),R.m(C,W)):R&&(R.d(1),R=null),e[10]?A?A.p(e,t):((A=ta(e)).c(),A.m(C,null)):A&&(A.d(1),A=null),12583936&t[0]|2&t[1]&&k!==(k="GameInnerContainer "+(e[10]&&!e[22]&&e[23].value||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&ge(a,"class",k),4195328&t[0]|2&t[1]&&M!==(M="GameInnerContainer "+(e[10]&&!e[22]||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&ge(a,"part",M),e[9]?B?B.p(e,t):((B=ha(e)).c(),B.m(r,null)):B&&(B.d(1),B=null),4&t[1]&&G!==(G="GameContainer "+e[33])&&ge(r,"class",G),4&t[1]&&F!==(F="GameContainer "+e[33])&&ge(r,"part",F)},i:Z,o:Z,d(e){e&&he(r),n[63](null),L&&L.d(),I&&I.d(),P&&P.d(),R&&R.d(),A&&A.d(),B&&B.d(),n[68](null),j=!1,K(Y)}}}const ma="blackjack",fa="roulette",ga="doubleballroulette",ya=5;function ba(a,e,o){let t;Ve(a,Fr,e=>o(35,t=e));let i,s,l,n,A,c,u,d,h,p,m,f,g,y,b,v,B,D,O,w,N,x,H,W,{session:U=""}=e,{userid:j=""}=e,{lang:Y=""}=e,{clientstyling:S=""}=e,{clientstylingurl:C=""}=e,{favorites:_=""}=e,{gamethumbnail:z=""}=e,{gamename:V=""}=e,{gamevendor:r=""}=e,{gameid:k=""}=e,{gameisnew:Z=""}=e,{gamepopularity:K=""}=e,{gamefunmode:X=!1}=e,{searchitem:J=!1}=e,{gamefavorite:M=!1}=e,{gamecellsize:q=""}=e,{showfavoredcategory:G=!1}=e,{showgamename:Q=!1}=e,{currency:F=""}=e,{gamepagemodalurl:ee="false"}=e,{endpoint:T=""}=e,{livelobbyendpoint:E=""}=e,{connectlive:L=""}=e,{visibilityconnect:$=""}=e,te=!1,ne=!1,re=!1,I=window.navigator.userAgent,ae="HH:mm",ie,oe=[],se="EUR",P="";const le=[ma],ce=[fa,ga],ue={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},de={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"},he=(Object.keys(Yr).forEach(e=>{lr(e,Yr[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+k||G||o(0,M=!0),e.data.type!=="RemoveFavoriteThumbnail_"+k||G||o(0,M=!1),"UserSessionID"===e.data.type&&(o(13,te=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(10,l=null)}),pe=e=>{J&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),Ye(I)?window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ye(I)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:X,gamepagemodalurl:ee,isMobile:Ye(I)},window.location.href)},me=e=>{var t="thumbnail";M?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},fe=()=>{E&&EventSource&&!n&&r&&k&&(n=new EventSource(`${T}/encoder/lobby/updates/${r}/`+k)).addEventListener("message",ye)},ge=()=>{n&&(n.close(),n=void 0)},ye=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:a,Open:i}=r;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(o(28,f=a),o(10,l.currentOccupiedSeats=a,l),await ve());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(g=n,o(10,l.currentRouletteNumbers=n,l),await ve());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(y=n,o(10,l.currentDoubleBallRouletteNumbers=n,l),await ve());break;case"TableOpened":case"TableClosed":o(22,u=i),o(10,l.isOpen=i,l),await ve()}}}},be=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t);return Ze(()=>(window.addEventListener("message",he,!1),()=>{window.removeEventListener("message",he),n&&n.removeEventListener("message",ye)})),a.$$set=e=>{"session"in e&&o(47,U=e.session),"userid"in e&&o(48,j=e.userid),"lang"in e&&o(49,Y=e.lang),"clientstyling"in e&&o(50,S=e.clientstyling),"clientstylingurl"in e&&o(51,C=e.clientstylingurl),"favorites"in e&&o(1,_=e.favorites),"gamethumbnail"in e&&o(2,z=e.gamethumbnail),"gamename"in e&&o(3,V=e.gamename),"gamevendor"in e&&o(4,r=e.gamevendor),"gameid"in e&&o(5,k=e.gameid),"gameisnew"in e&&o(6,Z=e.gameisnew),"gamepopularity"in e&&o(7,K=e.gamepopularity),"gamefunmode"in e&&o(52,X=e.gamefunmode),"searchitem"in e&&o(53,J=e.searchitem),"gamefavorite"in e&&o(0,M=e.gamefavorite),"gamecellsize"in e&&o(8,q=e.gamecellsize),"showfavoredcategory"in e&&o(54,G=e.showfavoredcategory),"showgamename"in e&&o(9,Q=e.showgamename),"currency"in e&&o(55,F=e.currency),"gamepagemodalurl"in e&&o(56,ee=e.gamepagemodalurl),"endpoint"in e&&o(57,T=e.endpoint),"livelobbyendpoint"in e&&o(58,E=e.livelobbyendpoint),"connectlive"in e&&o(59,L=e.connectlive),"visibilityconnect"in e&&o(60,$=e.visibilityconnect)},a.$$.update=()=>{if(268435456&a.$$.dirty[1]&&L&&("disconnect"===L?ge():"connect"===L&&fe()),536870912&a.$$.dirty[1]&&$&&("disconnect"===$?ge():"connect"===$&&"connect"===L&&fe()),a.$$.dirty[1],67305472&a.$$.dirty[1]&&U&&j&&T&&o(13,te=!0),4&a.$$.dirty[0]&&z&&i&&o(17,i.onload=()=>{o(16,re=!0)},i),524288&a.$$.dirty[1]&&S){let e=document.createElement("style");e.innerHTML=S,setTimeout(()=>{s.appendChild(e)})}if(2&a.$$.dirty[0]&&_&&"true"==_&&o(14,ne=!0),256&a.$$.dirty[0]|1048576&a.$$.dirty[1]&&q&&C){let e=new URL(C),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)})})}if(201326592&a.$$.dirty[1]&&T&&E){let e=new URL(""+E.split("?")[0]);e.searchParams.append("platform",ze(I)),e.searchParams.append("language",Y),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(10,l=e)})}if(1024&a.$$.dirty[0]&&l&&l&&(o(22,u=l.isOpen),ie=l.betLimit||{},o(23,d=l.openHours),o(24,oe=(e=>{m=e.totalSeats||7,o(28,f=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=m;e++)t.push(e);return{seats:t}})(l).seats),d&&d.value&&({startTime:e,originalTimeFormat:t}=d["value"],o(20,c=e),o(21,ae=t||ae)),u&&o(19,A=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();R(le,e)?t=ma:R(ce,e)&&(t=fa)}}return t})(l)),o(25,se=zr[F]),o(26,h=(ie.min||{})[F]),o(27,p=(ie.max||{})[F]),g=l.currentRouletteNumbers,y=l.currentDoubleBallRouletteNumbers,b=l.vendorCategory,o(29,v=b.toLowerCase()===ga),o(11,B=(v?y:g)||[]),o(30,D="GameProp LiveProps RoulleteProps"),o(30,D+=v?" Double":""),o(31,O=R(ce,b.toLowerCase())?de:ue),N=w,o(32,w=Array.isArray(f)&&f.length===m),l.dealer&&o(34,H=l.dealer.DealerName),W=l.numberOfPlayers,o(33,P="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(33,P+=" GameBackdrop"),u&&w&&h&&p&&l.currentOccupiedSeats?o(33,P+=" GameContainerDimmed"):!1===u&&c&&o(33,P+=" GameContainerFullyDimmed"),s&&(!N&&w?(o(33,P+=" PulsatingRedShadow"),o(33,P=P.replace(" PulsatingGreenShadow",""))):N&&!w&&(o(33,P+=" PulsatingGreenShadow"),o(33,P=P.replace(" PulsatingRedShadow",""))))),6144&a.$$.dirty[0]&&x&&B){const n="FirstElementAnimated",r=x.getElementsByClassName("First")[0];r&&(r.classList.add(n),setTimeout(()=>{r.classList.remove(n)},2e3))}var e,t},[M,_,z,V,r,k,Z,K,q,Q,l,B,x,te,ne,!1,re,i,s,A,c,ae,u,d,oe,se,h,p,f,v,D,O,w,P,H,t,I,pe,me,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},R,(e,t,n)=>{let r,a;return null!=e&&null!=t&&(a=`
2
2
  <span>
3
3
  ${n}
4
4
  </span>