@everymatrix/casino-games-category-section 0.0.249 → 0.0.252

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function Z(){}function d(e){return e()}function h(){return Object.create(null)}function X(e){e.forEach(d)}function m(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function f(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(f(t,n))}function K(e,t){e.appendChild(t)}function q(e,t,n){e.insertBefore(t,n||null)}function J(e){e.parentNode.removeChild(e)}function p(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Q(e){return document.createElement(e)}function u(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function t(e){return document.createTextNode(e)}function ee(){return t(" ")}function l(){return t("")}function te(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function ne(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]=n:ne(e,t,n)}function re(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function g(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}class y{constructor(e=null){this.a=e,this.e=this.n=null}m(e,t,n=null){this.e||(this.e=Q(t.nodeName),this.t=t,this.h(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)q(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(J)}}function r(e){const t={};for(const n of e)t[n.name]=n.value;return t}let v;function b(e){v=e}function be(e){!function(){if(!v)throw new Error("Function called outside component initialization");return v}().$$.on_mount.push(e)}const _=[],we=[],i=[],e=[],a=Promise.resolve();let o=!1;function S(){o||(o=!0,a.then(E))}function _e(){return S(),a}function x(e){i.push(e)}let s=!1;const c=new Set;function E(){if(!s){s=!0;do{for(let e=0;e<_.length;e+=1){var t=_[e];b(t),function(e){{var t;null!==e.fragment&&(e.update(),X(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(x))}}(t.$$)}for(b(null),_.length=0;we.length;)we.pop()();for(let e=0;e<i.length;e+=1){const n=i[e];c.has(n)||(c.add(n),n())}}while(i.length=0,_.length);for(;e.length;)e.pop()();o=!1,s=!1,c.clear()}}const T=new Set;function G(r,e,t,n,i,a,o=[-1]){var s,l=v;b(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:h(),dirty:o,skip_bound:!1};let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(_.push(e),S(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,X(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const Z=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(Z),Z.forEach(J)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(T.delete(s),s.i(void 0)),function(t,e,n,r){const{fragment:i,on_mount:a,on_destroy:o,after_update:s}=t.$$;i&&i.m(e,n),r||x(()=>{var e=a.map(d).filter(m);o?o.push(...e):X(e),t.$$.on_mount=[]}),s.forEach(x)}(r,e.target,e.anchor,e.customElement),E()}b(l)}let M;"function"==typeof HTMLElement&&(M=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(d).filter(m);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){X(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(X(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),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 L,C,k="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==k&&k,I="URLSearchParams"in k,D="Symbol"in k&&"iterator"in Symbol,O="FileReader"in k&&"Blob"in k&&function(){try{return new Blob,!0}catch(e){return!1}}(),F="FormData"in k,N="ArrayBuffer"in k;function P(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 R(e){return e="string"!=typeof e?String(e):e}function A(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return D&&(e[Symbol.iterator]=function(){return e}),e}function $(t){this.map={},t instanceof $?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 U(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Y(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function j(e){var t=new FileReader,n=Y(t);return t.readAsArrayBuffer(e),n}function H(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function z(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:O&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:F&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:I&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():N&&O&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=H(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):N&&(ArrayBuffer.prototype.isPrototypeOf(e)||C(e))?this._bodyArrayBuffer=H(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):I&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},O&&(this.blob=function(){var e=U(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?U(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(j)}),this.text=function(){var e,t,n=U(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,n=Y(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},F&&(this.formData=function(){return this.text().then(V)}),this.json=function(){return this.text().then(JSON.parse)},this}N&&(L=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],C=ArrayBuffer.isView||function(e){return e&&-1<L.indexOf(Object.prototype.toString.call(e))}),$.prototype.append=function(e,t){e=P(e),t=R(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},$.prototype.delete=function(e){delete this.map[P(e)]},$.prototype.get=function(e){return e=P(e),this.has(e)?this.map[e]:null},$.prototype.has=function(e){return this.map.hasOwnProperty(P(e))},$.prototype.set=function(e,t){this.map[P(e)]=R(t)},$.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},$.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),A(n)},$.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),A(t)},$.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),A(n)},D&&($.prototype[Symbol.iterator]=$.prototype.entries);var B=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function W(e,t){if(!(this instanceof W))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 W){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new $(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 $(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<B.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function V(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function ie(e,t){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');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 $(t.headers),this.url=t.url||"",this._initBody(e)}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})},z.call(W.prototype),z.call(ie.prototype),ie.prototype.clone=function(){return new ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new $(this.headers),url:this.url})},ie.error=function(){var e=new ie(null,{status:0,statusText:""});return e.type="error",e};var ae=[301,302,303,307,308];ie.redirect=function(e,t){if(-1===ae.indexOf(t))throw new RangeError("Invalid status code");return new ie(null,{status:t,headers:{location:e}})};var oe=k.DOMException;try{new oe}catch(Z){(oe=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),oe.prototype.constructor=oe}function se(r,o){return new Promise(function(i,e){var t=new W(r,o);if(t.signal&&t.signal.aborted)return e(new oe("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new $,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;setTimeout(function(){i(new ie(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new oe("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&k.location.href?k.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(O?a.responseType="blob":N&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof $?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,R(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function In(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}se.polyfill=!0,k.fetch||(k.fetch=se,k.Headers=$,k.Request=W,k.Response=ie),self.fetch.bind(self);var le=function(e,t){return(le=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 ce(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}le(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ue(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function de(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function he(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function me(e){return"function"==typeof e}function fe(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=fe(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function ge(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var ye=(xe.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=ue(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(me(a))try{a()}catch(e){i=e instanceof pe?e.errors:[e]}a=this._teardowns;if(a){this._teardowns=null;try{for(var l=ue(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{Te(u)}catch(e){i=null!=i?i:[],e instanceof pe?i=he(he([],de(i)),de(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new pe(i)}},xe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Te(e);else{if(e instanceof xe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},xe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},xe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},xe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ge(t,e)},xe.prototype.remove=function(e){var t=this._teardowns;t&&ge(t,e),e instanceof xe&&e._removeParent(this)},xe.EMPTY=((Vt=new xe).closed=!0,Vt),xe),Se=ye.EMPTY;function xe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Ee(e){return e instanceof ye||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function Te(e){me(e)?e():e.unsubscribe()}var Ge=void 0,Me=!1,Le=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,he([],de(e)))};function Ce(){}function ke(e){e()}var Ie,De,Oe=(ce(Pe,De=ye),Pe.create=function(e,t,n){return new Fe(e,t,n)},Pe.prototype.next=function(e){this.isStopped||this._next(e)},Pe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Pe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Pe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,De.prototype.unsubscribe.call(this),this.destination=null)},Pe.prototype._next=function(e){this.destination.next(e)},Pe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Pe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Pe),Fe=(ce(Ne,Ie=Oe),Ne);function Ne(e,t,n){var r,i,a=Ie.call(this)||this;return me(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,a&&Me?(r=Object.create(e)).unsubscribe=function(){return a.unsubscribe()}:r=e,i=null==i?void 0:i.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),a.destination={next:i?Re(i):Ce,error:Re(null!=t?t:Ae),complete:n?Re(n):Ce},a}function Pe(e){var t=De.call(this)||this;return t.isStopped=!1,e?Ee(t.destination=e)&&e.add(t):t.destination=$e,t}function Re(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,he([],de(e)))}catch(e){t=e,Le(function(){throw t})}}}function Ae(e){throw e}var $e={closed:!0,next:Ce,error:Ae,complete:Ce},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var je=(He.prototype.lift=function(e){var t=new He;return t.source=this,t.operator=e,t},He.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Oe||r&&me(r.next)&&me(r.error)&&me(r.complete)&&Ee(r)?e:new Fe(e,t,n);return ke(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},He.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},He.prototype.forEach=function(r,e){var i=this;return new(e=ze(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},He.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},He.prototype[Ue]=function(){return this},He.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Ye:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},He.prototype.toPromise=function(e){var r=this;return new(e=ze(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},He.create=function(e){return new He(e)},He);function He(e){e&&(this._subscribe=e)}function ze(e){return null!==(e=null!=e?e:Ge)&&void 0!==e?e:Promise}var Be,We,Ve,Ze=fe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Xe=(ce(tt,Ve=je),tt.prototype.lift=function(e){var t=new Ke(this,this);return t.operator=e,t},tt.prototype._throwIfClosed=function(){if(this.closed)throw new Ze},tt.prototype.next=function(a){var o=this;ke(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){var n=o.observers.slice();try{for(var r=ue(n),i=r.next();!i.done;i=r.next())i.value.next(a)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},tt.prototype.error=function(t){var n=this;ke(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},tt.prototype.complete=function(){var t=this;ke(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},tt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(tt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),tt.prototype._trySubscribe=function(e){return this._throwIfClosed(),Ve.prototype._trySubscribe.call(this,e)},tt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},tt.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?Se:(r.push(e),new ye(function(){return ge(r,e)}))},tt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},tt.prototype.asObservable=function(){var e=new je;return e.source=this,e},tt.create=function(e,t){return new Ke(e,t)},tt),Ke=(ce(et,We=Xe),et.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},et.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},et.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},et.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Se},et),qe={now:function(){return(qe.delegate||Date).now()},delegate:void 0},Je=(ce(Qe,Be=Xe),Qe.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(a.now()+t)),this._trimBuffer(),Be.prototype.next.call(this,e)},Qe.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},Qe.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},Qe);function Qe(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=qe);var r=Be.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 et(e,t){var n=We.call(this)||this;return n.destination=e,n.source=t,n}function tt(){var e=Ve.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let nt=[],rt={};const it=[];function at(r,i=Z){let a;const o=[];function s(e){if(n(r,e)&&(r=e,a)){const e=!it.length;for(let e=0;e<o.length;e+=1){const t=o[e];t[1](),it.push(t,r)}if(e){for(let e=0;e<it.length;e+=2)it[e][0](it[e+1]);it.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.push(n),1===o.length&&(a=i(s)||Z),e(r),()=>{var e=o.indexOf(n);-1!==e&&o.splice(e,1),0===o.length&&(a(),a=null)}}}}function ot(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:at(t,t=>{let n=!1;const r=[];let i=0,a=Z;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),u?t(e):a=m(e)?e:Z)},e=c.map((e,t)=>f(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){X(e),a()}}).subscribe}}var st=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===lt));var t},lt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ct(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ft(Array.isArray(e)?[]:{},e,t):e}function ut(e,t,n){return e.concat(t).map(function(e){return ct(e,n)})}function dt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function ht(e,t){try{return t in e}catch(e){return!1}}function mt(r,i,a){var o={};return a.isMergeableObject(r)&&dt(r).forEach(function(e){o[e]=ct(r[e],a)}),dt(i).forEach(function(t){var e,n;(!ht(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(ht(r,t)&&a.isMergeableObject(i[t])?o[t]=function(){if(!a.customMerge)return ft;var e=a.customMerge(t);return"function"==typeof e?e:ft}()(r[t],i[t],a):o[t]=ct(i[t],a))}),o}function ft(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||ut,n.isMergeableObject=n.isMergeableObject||st,n.cloneUnlessOtherwiseSpecified=ct;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):mt(e,t,n):ct(t,n)}ft.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return ft(e,t,n)},{})};var pt=ft,gt=function(e,t){return(gt=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 yt(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}gt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var vt,bt,wt,_t=function(){return(_t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function St(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function xt(e){return e.type===bt.literal}function Et(e){return e.type===bt.number}function Tt(e){return e.type===bt.date}function Gt(e){return e.type===bt.time}function Mt(e){return e.type===bt.select}function Lt(e){return e.type===bt.plural}function Ct(e){return e.type===bt.tag}function kt(e){return e&&"object"==typeof e&&e.type===wt.number}function It(e){return e&&"object"==typeof e&&e.type===wt.dateTime}(Zt=vt=vt||{})[Zt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Zt[Zt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Zt[Zt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Zt[Zt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Zt[Zt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Zt[Zt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Zt[Zt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Zt[Zt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Zt[Zt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Zt[Zt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Zt[Zt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Zt[Zt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Zt[Zt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Zt[Zt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Zt[Zt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Zt[Zt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Zt[Zt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Zt[Zt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Zt[Zt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Zt[Zt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Zt[Zt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Zt[Zt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Zt[Zt.INVALID_TAG=23]="INVALID_TAG",Zt[Zt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Zt[Zt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Zt[Zt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Xt=bt=bt||{})[Xt.literal=0]="literal",Xt[Xt.argument=1]="argument",Xt[Xt.number=2]="number",Xt[Xt.date=3]="date",Xt[Xt.time=4]="time",Xt[Xt.select=5]="select",Xt[Xt.plural=6]="plural",Xt[Xt.pound=7]="pound",Xt[Xt.tag=8]="tag",(Kt=wt=wt||{})[Kt.number=0]="number",Kt[Kt.dateTime=1]="dateTime";var Dt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ot=/(?:[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 Ft,Nt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Rt=/^(@+)?(\+|#+)?$/g,At=/(\*)(0+)|(#+)(0+)|(0+)/g,$t=/^(0+)$/;function Ut(e){var r={};return e.replace(Rt,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 Yt(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 jt(e){return Yt(e)||{}}function Ht(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=_t(_t(_t({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return _t(_t({},e),jt(t))},{}));continue;case"engineering":o=_t(_t(_t({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return _t(_t({},e),jt(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(At,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if($t.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(Pt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Pt,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""}),i.options.length&&(o=_t(_t({},o),Ut(i.options[0])))}else Rt.test(i.stem)?o=_t(_t({},o),Ut(i.stem)):((r=Yt(i.stem))&&(o=_t(_t({},o),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!$t.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=_t(_t({},o),r)))}return o}var zt=new RegExp("^"+Dt.source+"*"),Bt=new RegExp(Dt.source+"*$");function Wt(e,t){return{start:e,end:t}}var Vt=!!String.prototype.startsWith,Ue=!!String.fromCodePoint,Xe=!!Object.fromEntries,Zt=!!String.prototype.codePointAt,Xt=!!String.prototype.trimStart,Kt=!!String.prototype.trimEnd,qt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dt=!0;try{Dt="a"===(null===(Ft=sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ft?void 0:Ft[0])}catch(Z){Dt=!1}var Jt,Qt,en=Vt?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},tn=Ue?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},nn=Xe?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},rn=Zt?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},an=Xt?function(e){return e.trimStart()}:function(e){return e.replace(zt,"")},on=Kt?function(e){return e.trimEnd()}:function(e){return e.replace(Bt,"")};function sn(e,t){return new RegExp(e,t)}Qt=Dt?(Jt=sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Jt.lastIndex=t,null!==(e=Jt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=rn(e,t);if(void 0===i||dn(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return tn.apply(void 0,r)};var ln=(cn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},cn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(vt.UNMATCHED_CLOSING_TAG,Wt(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&un(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:bt.pound,location:Wt(a,this.clonePosition())})}}}return{val:r,err:null}},cn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:bt.literal,value:"<"+r+"/>",location:Wt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!un(this.char()))return this.error(vt.INVALID_TAG,Wt(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(vt.UNMATCHED_CLOSING_TAG,Wt(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:bt.tag,value:r,children:e,location:Wt(n,this.clonePosition())},err:null}:this.error(vt.INVALID_TAG,Wt(t,this.clonePosition())))}return this.error(vt.UNCLOSED_TAG,Wt(n,this.clonePosition()))}return this.error(vt.INVALID_TAG,Wt(n,this.clonePosition()))},cn.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())},cn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=Wt(n,this.clonePosition());return{val:{type:bt.literal,value:r,location:n},err:null}},cn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(un(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},cn.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return tn.apply(void 0,t)},cn.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),tn(n))},cn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(vt.EXPECT_ARGUMENT_CLOSING_BRACE,Wt(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(vt.EMPTY_ARGUMENT,Wt(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(vt.MALFORMED_ARGUMENT,Wt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(vt.EXPECT_ARGUMENT_CLOSING_BRACE,Wt(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:bt.argument,value:r,location:Wt(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(vt.EXPECT_ARGUMENT_CLOSING_BRACE,Wt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(vt.MALFORMED_ARGUMENT,Wt(n,this.clonePosition()))}},cn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Qt(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Wt(e,this.clonePosition())}},cn.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(vt.EXPECT_ARGUMENT_TYPE,Wt(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=on(h.val)).length)return this.error(vt.EXPECT_ARGUMENT_STYLE,Wt(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:Wt(c,this.clonePosition())}}if((m=this.tryParseArgumentClose(r)).err)return m;var u=Wt(r,this.clonePosition());if(l&&en(null==l?void 0:l.style,"::",0)){c=an(l.style.slice(2));if("number"===o)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:bt.number,value:n,location:u,style:h.val},err:null};if(0===c.length)return this.error(vt.EXPECT_DATE_TIME_SKELETON,u);var d={type:wt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(Ot,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===o?bt.date:bt.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===o?bt.number:"date"===o?bt.date:bt.time,value:n,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(vt.EXPECT_SELECT_ARGUMENT_OPTIONS,Wt(l,_t({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==o&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(vt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Wt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(vt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,vt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=h.val}u=this.tryParsePluralOrSelectOptions(e,o,t,u);if(u.err)return u;if((m=this.tryParseArgumentClose(r)).err)return m;var m=Wt(r,this.clonePosition());return"select"===o?{val:{type:bt.select,value:n,options:nn(u.val),location:m},err:null}:{val:{type:bt.plural,value:n,options:nn(u.val),offset:l,pluralType:"plural"===o?"cardinal":"ordinal",location:m},err:null};default:return this.error(vt.INVALID_ARGUMENT_TYPE,Wt(a,s))}},cn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(vt.EXPECT_ARGUMENT_CLOSING_BRACE,Wt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},cn.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(vt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Wt(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}},cn.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(Nt).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(vt.INVALID_NUMBER_SKELETON,t)}return{val:{type:wt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ht(n):{}},err:null}},cn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(vt.EXPECT_PLURAL_ARGUMENT_SELECTOR,vt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Wt(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?vt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:vt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?vt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:vt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Wt(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;c=this.tryParseArgumentClose(d);if(c.err)return c;a.push([s,{value:u.val,location:Wt(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?vt.EXPECT_SELECT_ARGUMENT_SELECTOR:vt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Wt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(vt.MISSING_OTHER_CLAUSE,Wt(this.clonePosition(),this.clonePosition())):{val:a,err:null}},cn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=Wt(r,this.clonePosition());return i?qt(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},cn.prototype.offset=function(){return this.position.offset},cn.prototype.isEOF=function(){return this.offset()===this.message.length},cn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},cn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=rn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},cn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},cn.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))},cn.prototype.bumpIf=function(e){if(en(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},cn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},cn.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},cn.prototype.bumpSpace=function(){for(;!this.isEOF()&&dn(this.char());)this.bump()},cn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},cn);function cn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function un(e){return 97<=e&&e<=122||65<=e&&e<=90}function dn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function hn(e,t){t=_t({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new ln(e,t).parse();if(n.err){e=SyntaxError(vt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Mt(e)||Lt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Et(e)&&kt(e.style)||(Tt(e)||Gt(e))&&It(e.style)?delete e.style.location:Ct(e)&&n(e.children)})}(n.val),n.val}function mn(e,t){var n=t&&t.cache?t.cache:wn,r=t&&t.serializer?t.serializer:yn;return(t&&t.strategy?t.strategy:function(e,t){return gn(e,this,1===e.length?fn:pn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function fn(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function pn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function gn(e,t,n,r,i){return n.bind(t,e,r,i)}var yn=function(){return JSON.stringify(arguments)};function vn(){this.cache=Object.create(null)}vn.prototype.has=function(e){return e in this.cache},vn.prototype.get=function(e){return this.cache[e]},vn.prototype.set=function(e,t){this.cache[e]=t};var bn,wn={create:function(){return new vn}},_n={variadic:function(e,t){return gn(e,this,pn,t.cache.create(),t.serializer)},monadic:function(e,t){return gn(e,this,fn,t.cache.create(),t.serializer)}};(Dt=bn=bn||{}).MISSING_VALUE="MISSING_VALUE",Dt.INVALID_VALUE="INVALID_VALUE",Dt.MISSING_INTL_API="MISSING_INTL_API";var Sn,xn,En,Tn,Gn,Mn=(yt(Nn,Gn=Error),Nn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Nn),Ln=(yt(Fn,Tn=Mn),Fn),Cn=(yt(On,En=Mn),On),kn=(yt(Dn,xn=Mn),Dn);function Dn(e,t){return xn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',bn.MISSING_VALUE,t)||this}function On(e,t,n){return En.call(this,'Value for "'+e+'" must be of type '+t,bn.INVALID_VALUE,n)||this}function Fn(e,t,n,r){return Tn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',bn.INVALID_VALUE,r)||this}function Nn(e,t,n){e=Gn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Pn(e,t,n,r,i,a,o){if(1===e.length&&xt(e[0]))return[{type:Sn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(xt(u))s.push({type:Sn.literal,value:u.value});else if(u.type===bt.pound)"number"==typeof a&&s.push({type:Sn.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new kn(d,o);var h=i[d];if(u.type===bt.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Sn.literal:Sn.object,value:h});else if(Tt(u)){var m="string"==typeof u.style?r.date[u.style]:It(u.style)?u.style.parsedOptions:void 0;s.push({type:Sn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(Gt(u))m="string"==typeof u.style?r.time[u.style]:It(u.style)?u.style.parsedOptions:void 0,s.push({type:Sn.literal,value:n.getDateTimeFormat(t,m).format(h)});else if(Et(u))(m="string"==typeof u.style?r.number[u.style]:kt(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Sn.literal,value:n.getNumberFormat(t,m).format(h)});else{if(Ct(u)){var f=u.children,p=u.value,d=i[p];if("function"!=typeof d)throw new Cn(p,"function",o);f=d(Pn(f,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),s.push.apply(s,f.map(function(e){return{type:"string"==typeof e?Sn.literal:Sn.object,value:e}}))}if(Mt(u)){if(!(g=u.options[h]||u.options.other))throw new Ln(u.value,h,Object.keys(u.options),o);s.push.apply(s,Pn(g.value,t,n,r,i))}else if(Lt(u)){if(!(g=u.options["="+h])){if(!Intl.PluralRules)throw new Mn('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(h-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new Ln(u.value,h,Object.keys(u.options),o);s.push.apply(s,Pn(g.value,t,n,r,i,h-(u.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Sn.literal&&t.type===Sn.literal?n.value+=t.value:e.push(t),e},[])}function Rn(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(Dt=Sn=Sn||{})[Dt.literal=0]="literal",Dt[Dt.object=1]="object";var An=(Object.defineProperty($n,"defaultLocale",{get:function(){return $n.memoizedDefaultLocale||($n.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),$n.memoizedDefaultLocale},enumerable:!1,configurable:!0}),$n.memoizedDefaultLocale=null,$n.__parse=hn,$n.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},$n);function $n(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=$n.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===Sn.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 Pn(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof e){if(this.message=e,!$n.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=$n.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=$n.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?_t(_t(_t({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=_t(_t({},n[t]),r[t]||{}),e},{})):n),e},_t({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:mn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,St([void 0],t)))},{cache:Rn((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:_n.variadic}),getDateTimeFormat:mn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,St([void 0],t)))},{cache:Rn(r.dateTime),strategy:_n.variadic}),getPluralRules:mn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,St([void 0],t)))},{cache:Rn(r.pluralRules),strategy:_n.variadic})}}const Un={},Yn=(t,n)=>{if(null!=n){if(n in Un&&t in Un[n])return Un[n][t];var r,i,a=rr(n);for(let e=0;e<a.length;e++){var o=(r=a[e],i=t,zn(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return jn[e]||null}(r),i):null);if(o)return r=t,i=n,(o=o)&&(i in Un||(Un[i]={}),r in Un[i]||(Un[i][r]=o),o)}}};let jn;const Hn=at({});function zn(e){return e in jn}function Bn(t,...n){delete Un[t],Hn.update(e=>(e[t]=pt.all([e[t]||{},...n]),e))}ot([Hn],([e])=>Object.keys(e)),Hn.subscribe(e=>jn=e);const Wn={};function Vn(e){return Wn[e]}function Zn(e){return rr(e).some(e=>{return null===(e=Vn(e))||void 0===e?void 0:e.size})}const Xn={};function Kn(e){if(!Zn(e))return e in Xn?Xn[e]:void 0;const t=rr(e).map(e=>{var t=Vn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Xn[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){Wn[e].delete(t),0===Wn[e].size&&delete Wn[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Bn(t,...e))}(e))).then(()=>Zn(e)?Kn(e):void delete Xn[e]),Xn[e]}function qn(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Jn={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const Qn=at(!1);let er;const tr=at(null);function nr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function rr(e,t=Jn.fallbackLocale){e=nr(e);return t?[...new Set([...e,...nr(t)])]:e}tr.subscribe(e=>{er=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const ir=tr.set;tr.set=t=>{if(function(e){if(null!=e){var t=rr(e);for(let e=0;e<t.length;e++){var n=t[e];if(zn(n))return n}}}(t)&&Zn(t)){var{loadingDelay:n}=Jn;let e;return"undefined"!=typeof window&&null!=er&&n?e=window.setTimeout(()=>Qn.set(!0),n):Qn.set(!0),Kn(t).then(()=>{ir(t)}).finally(()=>{clearTimeout(e),Qn.set(!1)})}return ir(t)},tr.update=e=>ir(e(er));const ar=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},or=(e,t)=>{var{formats:n}=Jn;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},sr=ar(e=>{var{locale:t,format:n}=e,e=qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=or("number",n)),new Intl.NumberFormat(t,e)}),lr=ar(e=>{var{locale:t,format:n}=e,e=qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=or("date",n):0===Object.keys(e).length&&(e=or("date","short")),new Intl.DateTimeFormat(t,e)}),cr=ar(e=>{var{locale:t,format:n}=e,e=qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=or("time",n):0===Object.keys(e).length&&(e=or("time","short")),new Intl.DateTimeFormat(t,e)}),ur=ar((e,t=er)=>new An(e,t,Jn.formats,{ignoreTag:Jn.ignoreTag})),dr=ot([tr,Hn],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=er,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let a=Yn(e,r);if(a){if("string"!=typeof a)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof a}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),a}else Jn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${rr(r).join('", "')}".${Zn(er)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),a=i||e;if(!n)return a;let o=a;try{o=ur(a,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return o});ot([tr],()=>(e,t)=>((e={})=>{var{locale:t=er}=e,e=qn(e,["locale"]);return cr(Object.assign({locale:t},e))})(t).format(e)),ot([tr],()=>(e,t)=>((e={})=>{var{locale:t=er}=e,e=qn(e,["locale"]);return lr(Object.assign({locale:t},e))})(t).format(e)),ot([tr],()=>(e,t)=>((e={})=>{var{locale:t=er}=e,e=qn(e,["locale"]);return sr(Object.assign({locale:t},e))})(t).format(e)),ot([tr,Hn],()=>(e,t=er)=>Yn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==nt.indexOf(e)&&(t=new Je(t),rt[e]=t,nt.push(e)),rt[e]}};const hr=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),mr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",fr={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again."}},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:"Montre plus",viewAll:"Voir tout",searchedItems:"Articles recherchés",recentSearchedItems:"Articles recherchés récemment",noRecentSearch:"Aucune recherche n'a encore commencé. Recherchez simplement un jeu.",noResults:"Désolé, aucun résultat trouvé. Veuillez réessayer"}},es:{gamesCategorySection:{showMore:"Mostrar más",viewAll:"Ver todo",searchedItems:"Artículos buscados",recentSearchedItems:"Elementos buscados recientemente",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo"}},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",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"}},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:"Mostrar tudo",searchedItems:"Procurar resultado",recentSearchedItems:"Pesquisado recentemente",noRecentSearch:"Nenhuma pesquisa iniciada. Pesquisar simplesmente um jogo.",noResults:"Desculpe, sem qualquer correspondência. Por favor, tente novamente."}},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."}}};var pr,gr,yr=(gr=pr={path:void 0,exports:{},require:function(e,t){return In(null==t&&pr.path)}},pr.exports,gr.exports=function(){var e;function f(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function a(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=0;r<e.length;++r)n.push(t(e[r],r));return n}function u(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return Ct(e,t,n,r,!0).utc()}function p(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 h(e){if(null==e._isValid){var t=p(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 g(e){var t=d(NaN);return null!=e?u(p(t),e):p(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},v=f.momentProperties=[],t=!1;function b(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=p(t)),a(t._locale)||(e._locale=t._locale),0<v.length)for(n=0;n<v.length;n++)a(i=t[r=v[n]])||(e[r]=i);return e}function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,f.updateOffset(this),t=!1)}function _(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function S(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,a){var o=!0;return u(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,i),o){for(var e,t,n=[],r=0;r<arguments.length;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}S(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var x={};function E(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),x[e]||(S(t),x[e]=!0)}function T(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function G(e,t){var n,r=u({},e);for(n in t)m(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)m(e,n)&&!m(t,n)&&s(e[n])&&(r[n]=u({},r[n]));return r}function M(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var L=Object.keys||function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};function C(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 k=/(\[[^\[]*\])|(\\)?([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,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D={},O={};function F(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(O[e]=i),t&&(O[t[0]]=function(){return C(i.apply(this,arguments),t[1],t[2])}),n&&(O[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=P(t,e.localeData()),D[t]=D[t]||function(r){for(var e,i=r.match(k),t=0,a=i.length;t<a;t++)O[i[t]]?i[t]=O[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=T(i[n])?i[n].call(e,r):i[n];return t}}(t),D[t](e)):e.localeData().invalidDate()}function P(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(I.lastIndex=0;0<=n&&I.test(e);)e=e.replace(I,r),I.lastIndex=0,--n;return e}var R={};function A(e,t){var n=e.toLowerCase();R[n]=R[n+"s"]=R[t]=e}function $(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)m(e,n)&&(t=$(n))&&(r[t]=e[n]);return r}var Y={};function j(e,t){Y[e]=t}function H(e){return e%4==0&&e%100!=0||e%400==0}function z(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function B(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?z(t):e}function W(t,n){return function(e){return null!=e?(Z(this,t,e),f.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&H(e.year())&&1===e.month()&&29===e.date()?(n=B(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Le(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X=/\d/,K=/\d\d/,q=/\d{3}/,J=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ie=/\d{1,4}/,ae=/[+-]?\d{1,6}/,oe=/\d+/,se=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[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 de(e,n,r){fe[e]=T(n)?n:function(e,t){return e&&r?r:n}}function he(e,t){return m(fe,e)?fe[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={},pe={};function ge(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),c(n)&&(r=function(e,t){t[n]=B(e)}),t=0;t<e.length;t++)pe[e[t]]=r}function ye(e,i){ge(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var ve,be=0,we=1,_e=2,Se=3,xe=4,Ee=5,Te=6,Ge=7,Me=8;function Le(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?H(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},F("M",["MM",2],"Mo",function(){return this.month()+1}),F("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),F("MMMM",0,0,function(e){return this.localeData().months(this,e)}),A("month","M"),j("month",8),de("M",ee),de("MM",ee,K),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[we]=B(e)-1}),ge(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[we]=r:p(n).invalidMonth=e});var Ce="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ke="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=ue,Oe=ue;function Fe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=B(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Le(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ne(e){return null!=e?(Fe(this,e),f.updateOffset(this,!0),this):V(this,"Month")}function Pe(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=d([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=me(n[a]),r[a]=me(r[a]);for(a=0;a<24;a++)i[a]=me(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Re(e){return H(e)?366:365}F("Y",0,0,function(){var e=this.year();return e<=9999?C(e,4):"+"+e}),F(0,["YY",2],0,function(){return this.year()%100}),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),A("year","y"),j("year",1),de("Y",se),de("YY",ee,K),de("YYYY",ie,J),de("YYYYY",ae,Q),de("YYYYYY",ae,Q),ge(["YYYYY","YYYYYY"],be),ge("YYYY",function(e,t){t[be]=2===e.length?f.parseTwoDigitYear(e):B(e)}),ge("YY",function(e,t){t[be]=f.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[be]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return B(e)+(68<B(e)?1900:2e3)};var Ae=W("FullYear",!0);function $e(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Ue(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 Ye(e,t,n){n=7+t-n;return-(7+Ue(e,0,n).getUTCDay()-t)%7+n-1}function je(e,t,n,r,i){var a,i=1+7*(t-1)+(7+n-r)%7+Ye(e,r,i),i=i<=0?Re(a=e-1)+i:i>Re(e)?(a=e+1,i-Re(e)):(a=e,i);return{year:a,dayOfYear:i}}function He(e,t,n){var r,i,a=Ye(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+ze(i=e.year()-1,t,n):a>ze(e.year(),t,n)?(r=a-ze(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function ze(e,t,n){var r=Ye(e,t,n),n=Ye(e+1,t,n);return(Re(e)-r+n)/7}F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),A("week","w"),A("isoWeek","W"),j("week",5),j("isoWeek",5),de("w",ee),de("ww",ee,K),de("W",ee),de("WW",ee,K),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=B(e)});function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}F("d",0,"do","day"),F("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),F("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),F("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),A("day","d"),A("weekday","e"),A("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),de("d",ee),de("e",ee),de("E",ee),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:p(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,r){t[r]=B(e)});var We="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ue,Ke=ue,qe=ue;function Je(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=d([2e3,1]).day(l),t=me(this.weekdaysMin(r,"")),n=me(this.weekdaysShort(r,"")),r=me(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){F(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}F("H",["HH",2],0,"hour"),F("h",["hh",2],0,Qe),F("k",["kk",2],0,function(){return this.hours()||24}),F("hmm",0,0,function(){return""+Qe.apply(this)+C(this.minutes(),2)}),F("hmmss",0,0,function(){return""+Qe.apply(this)+C(this.minutes(),2)+C(this.seconds(),2)}),F("Hmm",0,0,function(){return""+this.hours()+C(this.minutes(),2)}),F("Hmmss",0,0,function(){return""+this.hours()+C(this.minutes(),2)+C(this.seconds(),2)}),et("a",!0),et("A",!1),A("hour","h"),j("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,K),de("hh",ee,K),de("kk",ee,K),de("hmm",te),de("hmmss",ne),de("Hmm",te),de("Hmmss",ne),ge(["H","HH"],Se),ge(["k","kk"],function(e,t,n){e=B(e);t[Se]=24===e?0:e}),ge(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ge(["h","hh"],function(e,t,n){t[Se]=B(e),p(n).bigHour=!0}),ge("hmm",function(e,t,n){var r=e.length-2;t[Se]=B(e.substr(0,r)),t[xe]=B(e.substr(r)),p(n).bigHour=!0}),ge("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Se]=B(e.substr(0,r)),t[xe]=B(e.substr(r,2)),t[Ee]=B(e.substr(i)),p(n).bigHour=!0}),ge("Hmm",function(e,t,n){var r=e.length-2;t[Se]=B(e.substr(0,r)),t[xe]=B(e.substr(r))}),ge("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Se]=B(e.substr(0,r)),t[xe]=B(e.substr(r,2)),t[Ee]=B(e.substr(i))});var nt=W("Hours",!0);var rt,it={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:Ce,monthsShort:ke,week:{dow:0,doy:6},weekdays:We,weekdaysMin:Ze,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},at={},ot={};function st(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=st(e[a]).split("-")).length,n=(n=st(e[a+1]))?n.split("-"):null;0<t;){if(r=ct(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return rt}function ct(t){var e;if(void 0===at[t]&&gr&&gr.exports)try{e=rt._abbr,In(),ut(e)}catch(e){at[t]=null}return at[t]}function ut(e,t){return e&&((t=a(t)?ht(e):dt(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function dt(e,t){if(null===t)return delete at[e],null;var n,r=it;if(t.abbr=e,null!=at[e])E("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=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])r=at[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;r=n._config}return at[e]=new M(G(r,t)),ot[e]&&ot[e].forEach(function(e){dt(e.name,e.config)}),ut(e),at[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!o(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function mt(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[we]<0||11<t[we]?we:t[_e]<1||t[_e]>Le(t[be],t[we])?_e:t[Se]<0||24<t[Se]||24===t[Se]&&(0!==t[xe]||0!==t[Ee]||0!==t[Te])?Se:t[xe]<0||59<t[xe]?xe:t[Ee]<0||59<t[Ee]?Ee:t[Te]<0||999<t[Te]?Te:-1,p(e)._overflowDayOfYear&&(t<be||_e<t)&&(t=_e),p(e)._overflowWeeks&&-1===t&&(t=Ge),p(e)._overflowWeekday&&-1===t&&(t=Me),p(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pt=/^\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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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]],vt=[["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/]],bt=/^\/?Date\((-?\d+)/i,wt=/^(?:(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}))$/,_t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,r,i,a,o,s=e._i,l=ft.exec(s)||pt.exec(s);if(l){for(p(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){i=yt[t][0],r=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=vt.length;t<n;t++)if(vt[t][1].exec(l[3])){a=(l[2]||" ")+vt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Mt(e)}else e._isValid=!1}function xt(e,t,n,r,i,a){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),ke.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&i.push(parseInt(a,10)),i}function Et(e){var t,n,r,i,a=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=xt(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&Ve.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(p(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=a[8],t=a[9],a=a[10],i?_t[i]:t?0:((t=parseInt(a,10))-(a=t%100))/100*60+a),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0)):e._isValid=!1}function Tt(e,t,n){return null!=e?e:null!=t?t:n}function Gt(e){var t,n,r,i,a,o,s,l,c,u,d,h,m=[];if(!e._d){for(d=e,h=new Date(f.now()),n=d._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[_e]&&null==e._a[we]&&(null!=(d=(i=e)._w).GG||null!=d.W||null!=d.E?(l=1,c=4,a=Tt(d.GG,i._a[be],He(kt(),1,4).year),o=Tt(d.W,1),((s=Tt(d.E,1))<1||7<s)&&(u=!0)):(l=i._locale._week.dow,c=i._locale._week.doy,h=He(kt(),l,c),a=Tt(d.gg,i._a[be],h.year),o=Tt(d.w,h.week),null!=d.d?((s=d.d)<0||6<s)&&(u=!0):null!=d.e?(s=d.e+l,(d.e<0||6<d.e)&&(u=!0)):s=l),o<1||o>ze(a,l,c)?p(i)._overflowWeeks=!0:null!=u?p(i)._overflowWeekday=!0:(c=je(a,o,s,l,c),i._a[be]=c.year,i._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(r=Tt(e._a[be],n[be]),(e._dayOfYear>Re(r)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),r=Ue(r,0,e._dayOfYear),e._a[we]=r.getUTCMonth(),e._a[_e]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Se]&&0===e._a[xe]&&0===e._a[Ee]&&0===e._a[Te]&&(e._nextDay=!0,e._a[Se]=0),e._d=(e._useUTC?Ue:$e).apply(null,m),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Se]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(p(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],p(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,a=0,o=P(e._f,e._locale).match(k)||[],s=0;s<o.length;s++)n=o[s],(t=(r.match(he(n,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&p(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),a+=t.length),O[n]?(t?p(e).empty=!1:p(e).unusedTokens.push(n),u=n,h=e,null!=(d=t)&&m(pe,u)&&pe[u](d,h._a,h,u)):e._strict&&!t&&p(e).unusedTokens.push(n);p(e).charsLeftOver=i-a,0<r.length&&p(e).unusedInput.push(r),e._a[Se]<=12&&!0===p(e).bigHour&&0<e._a[Se]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Se]=(l=e._locale,c=e._a[Se],null==(i=e._meridiem)?c:null!=l.meridiemHour?l.meridiemHour(c,i):null!=l.isPM?((i=l.isPM(i))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(c=p(e).era)&&(e._a[be]=e._locale.erasConvertYear(c,e._a[be])),Gt(e),mt(e)}else Et(e);else St(e);var l,c,u,d,h}function Lt(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new w(mt(t)):(i(t)?e._d=t:o(n)?function(e){var t,n,r,i,a,o,s=!1;if(0===e._f.length)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)a=0,o=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Mt(t),h(t)&&(o=!0),a+=p(t).charsLeftOver,a+=10*p(t).unusedTokens.length,p(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));u(e,n||t)}(e):n?Mt(e):a(n=(t=e)._i)?t._d=new Date(f.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=bt.exec(e._i);null===t?(St(e),!1===e._isValid&&(delete e._isValid,Et(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:f.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),Gt(t)):s(n)?function(e){var t,n;e._d||(n=void 0===(t=U(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Gt(e))}(t):c(n)?t._d=new Date(n):f.createFromInputFallback(t),h(e)||(e._d=null),e))}function Ct(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(a=new w(mt(Lt(a=a))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function kt(e,t,n,r){return Ct(e,t,n,r,!1)}f.createFromInputFallback=n("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":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};var It=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),Dt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Ot(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return kt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Ft=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var t=U(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(m(e,t)&&(-1===ve.call(Ft,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Ft.length;++n)if(e[Ft[n]]){if(r)return!1;parseFloat(e[Ft[n]])!==B(e[Ft[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=ht(),this._bubble()}function Pt(e){return e instanceof Nt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,n){F(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+C(~~(e/60),2)+n+C(~~e%60,2)})}At("Z",":"),At("ZZ",""),de("Z",ce),de("ZZ",ce),ge(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(ce,e)});var $t=/([\+\-]|\d\d)/gi;function Ut(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match($t)||["-",0,0])[1]+B(e[2]))?0:"+"===e[0]?t:-t}function Yt(e,t){var n;return t._isUTC?(n=t.clone(),t=(_(e)||i(e)?e:kt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),f.updateOffset(n,!1),n):kt(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}f.updateOffset=function(){};var zt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Bt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Wt(e,t){var n,r,i=e,a=null;return Pt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=zt.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:B(a[_e])*n,h:B(a[Se])*n,m:B(a[xe])*n,s:B(a[Ee])*n,ms:B(Rt(1e3*a[Te]))*n}):(a=Bt.exec(e))?(n="-"===a[1]?-1:1,i={y:Vt(a[2],n),M:Vt(a[3],n),w:Vt(a[4],n),d:Vt(a[5],n),h:Vt(a[6],n),m:Vt(a[7],n),s:Vt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=kt(i.from),n=kt(i.to),r=a.isValid()&&n.isValid()?(n=Yt(n,a),a.isBefore(n)?r=Zt(a,n):((r=Zt(n,a)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Nt(i),Pt(e)&&m(e,"_locale")&&(i._locale=e._locale),Pt(e)&&m(e,"_isValid")&&(i._isValid=e._isValid),i}function Vt(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 Xt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(E(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Kt(this,Wt(e,t),r),this}}function Kt(e,t,n,r){var i=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(r=null==r||r,t&&Fe(e,V(e,"Month")+t*n),a&&Z(e,"Date",V(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&f.updateOffset(e,a||t))}Wt.fn=Nt.prototype,Wt.invalid=function(){return Wt(NaN)};var qt=Xt(1,"add"),ue=Xt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Qt(e){return _(e)||i(e)||Jt(e)||c(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!c(e)&&Jt(t)}).length),n&&r)||function(e){var t,n,r=s(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<a.length;t+=1)n=a[t],i=i||m(e,n);return r&&i}(e)||null==e;var t,n,r}function en(e,t){if(e.date()<t.date())return-en(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 tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("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 nn(){return this._locale}var rn=126227808e5;function an(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(me(i[a].name)),e.push(me(i[a].abbr)),n.push(me(i[a].narrow)),r.push(me(i[a].name)),r.push(me(i[a].abbr)),r.push(me(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function un(e,t){F(0,[e,e.length],0,t)}function dn(e,t,n,r,i){var a;return null==e?He(this,r,i).year:(t>(a=ze(e,r,i))&&(t=a),function(e,t,n,r,i){i=je(e,t,n,r,i),i=Ue(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,i))}F("N",0,0,"eraAbbr"),F("NN",0,0,"eraAbbr"),F("NNN",0,0,"eraAbbr"),F("NNNN",0,0,"eraName"),F("NNNNN",0,0,"eraNarrow"),F("y",["y",1],"yo","eraYear"),F("y",["yy",2],0,"eraYear"),F("y",["yyy",3],0,"eraYear"),F("y",["yyyy",4],0,"eraYear"),de("N",ln),de("NN",ln),de("NNN",ln),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?p(n).era=r:p(n).invalidEra=e}),de("y",oe),de("yy",oe),de("yyy",oe),de("yyyy",oe),de("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),ge(["y","yy","yyy","yyyy"],be),ge(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[be]=n._locale.eraYearOrdinalParse(e,i):t[be]=parseInt(e,10)}),F(0,["gg",2],0,function(){return this.weekYear()%100}),F(0,["GG",2],0,function(){return this.isoWeekYear()%100}),un("gggg","weekYear"),un("ggggg","weekYear"),un("GGGG","isoWeekYear"),un("GGGGG","isoWeekYear"),A("weekYear","gg"),A("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),de("G",se),de("g",se),de("GG",ee,K),de("gg",ee,K),de("GGGG",ie,J),de("gggg",ie,J),de("GGGGG",ae,Q),de("ggggg",ae,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=B(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=f.parseTwoDigitYear(e)}),F("Q",0,"Qo","quarter"),A("quarter","Q"),j("quarter",7),de("Q",X),ge("Q",function(e,t){t[we]=3*(B(e)-1)}),F("D",["DD",2],"Do","date"),A("date","D"),j("date",9),de("D",ee),de("DD",ee,K),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],_e),ge("Do",function(e,t){t[_e]=B(e.match(ee)[0])});ne=W("Date",!0);F("DDD",["DDDD",3],"DDDo","dayOfYear"),A("dayOfYear","DDD"),j("dayOfYear",4),de("DDD",re),de("DDDD",q),ge(["DDD","DDDD"],function(e,t,n){n._dayOfYear=B(e)}),F("m",["mm",2],0,"minute"),A("minute","m"),j("minute",14),de("m",ee),de("mm",ee,K),ge(["m","mm"],xe);Ce=W("Minutes",!1);F("s",["ss",2],0,"second"),A("second","s"),j("second",15),de("s",ee),de("ss",ee,K),ge(["s","ss"],Ee);var hn,We=W("Seconds",!1);for(F("S",0,0,function(){return~~(this.millisecond()/100)}),F(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,function(){return 10*this.millisecond()}),F(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),F(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),F(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),F(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),F(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),A("millisecond","ms"),j("millisecond",16),de("S",re,X),de("SS",re,K),de("SSS",re,q),hn="SSSS";hn.length<=9;hn+="S")de(hn,oe);function mn(e,t){t[Te]=B(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ge(hn,mn);Ze=W("Milliseconds",!1),F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");ie=w.prototype;function fn(e){return e}ie.add=qt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=s(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||m(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||kt(),e=Yt(n,this).startOf("day"),e=f.calendarFormat(this,e)||"sameElse",t=t&&(T(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,kt(n)))},ie.clone=function(){return new w(this)},ie.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Yt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=$(t)){case"year":a=en(this,r)/12;break;case"month":a=en(this,r);break;case"quarter":a=en(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:z(a)},ie.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,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-an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-an(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-an(t,1e3)-1}return this._d.setTime(t),f.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=N(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||kt(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(kt(),e)},ie.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||kt(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(kt(),e)},ie.get=function(e){return T(this[e=$(e)])?this[e]():this},ie.invalidAt=function(){return p(this).overflow},ie.isAfter=function(e,t){return e=_(e)?e:kt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=_(e)?e:kt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,r){return e=_(e)?e:kt(e),t=_(t)?t:kt(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))},ie.isSame=function(e,t){var e=_(e)?e:kt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return h(this)},ie.lang=te,ie.locale=tn,ie.localeData=nn,ie.max=Dt,ie.min=It,ie.parsingFlags=function(){return u({},p(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)m(e,t)&&n.push({unit:t,priority:Y[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=U(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(T(this[e=$(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,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-=an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=an(t,6e4);break;case"second":t=this._d.valueOf(),t-=an(t,1e3)}return this._d.setTime(t),f.updateOffset(this,!0),this},ie.subtract=ue,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.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()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?N(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(e,"Z")):N(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.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"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.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""},ie.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""},ie.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""},ie.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-f(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Ae,ie.isLeapYear=function(){return H(this.year())},ie.weekYear=function(e){return dn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return dn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Ne,ie.daysInMonth=function(){return Le(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=He(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return ze(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return ze(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return ze(this.isoWeekYear(),1,4)},ie.date=ne,ie.day=ie.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},ie.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")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.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")},ie.hour=ie.hours=nt,ie.minute=ie.minutes=Ce,ie.second=ie.seconds=We,ie.millisecond=ie.milliseconds=Ze,ie.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:jt(this);if("string"==typeof e){if(null===(e=Ut(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Kt(this,Wt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ut(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?kt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=Ht,ie.isUTC=Ht,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=n("dates accessor is deprecated. Use date instead.",ne),ie.months=n("months accessor is deprecated. Use month instead",Ne),ie.years=n("years accessor is deprecated. Use year instead",Ae),ie.zone=n("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()}),ie.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Lt(t))._a?(e=(t._isUTC?d:kt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&B(e[o])!==B(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});J=M.prototype;function pn(e,t,n,r){var i=ht(),t=d().set(r,t);return i[n](t,e)}function gn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=pn(e,i,n,"month");return r}function yn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),c(t)&&(n=t,t=void 0),t||"");var i,a=ht(),o=e?a._week.dow:0,s=[];if(null!=n)return pn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=pn(t,(i+o)%7,r,"day");return s}J.calendar=function(e,t,n){return T(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},J.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(k).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},J.invalidDate=function(){return this._invalidDate},J.ordinal=function(e){return this._ordinal.replace("%d",e)},J.preparse=fn,J.postformat=fn,J.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return T(i)?i(e,t,n,r):i.replace(/%d/i,e)},J.pastFuture=function(e,t){return T(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},J.set=function(e){var t,n;for(n in e)m(e,n)&&(T(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)},J.eras=function(e,t){for(var n,r=this._eras||ht("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=f(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=f(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},J.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},J.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*n},J.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},J.erasNameRegex=function(e){return m(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},J.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},J.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},J.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Ie.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},J.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))||-1!==(i=ve.call(this._longMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))||-1!==(i=ve.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},J.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},J.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},J.week=function(e){return He(e,this._week.dow,this._week.doy).week},J.firstDayOfYear=function(){return this._week.doy},J.firstDayOfWeek=function(){return this._week.dow},J.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?Be(t,this._week.dow):e?t[e.day()]:t},J.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},J.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},J.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},J.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},J.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},J.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},J.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},J.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ut("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===B(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=n("moment.lang is deprecated. Use moment.locale instead.",ut),f.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var vn=Math.abs;function bn(e,t,n,r){n=Wt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function _n(e){return 4800*e/146097}function Sn(e){return 146097*e/4800}function xn(e){return function(){return this.as(e)}}ae=xn("ms"),Q=xn("s"),X=xn("m"),K=xn("h"),re=xn("d"),q=xn("w"),qt=xn("M"),Dt=xn("Q"),It=xn("y");function En(e){return function(){return this.isValid()?this._data[e]:NaN}}ue=En("milliseconds"),nt=En("seconds"),Ce=En("minutes"),We=En("hours"),Ze=En("days"),ne=En("months"),Ae=En("years");var Tn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var i=Wt(e).abs(),a=Tn(i.as("s")),o=Tn(i.as("m")),s=Tn(i.as("h")),l=Tn(i.as("d")),c=Tn(i.as("M")),u=Tn(i.as("w")),i=Tn(i.as("y")),l=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||u<=1&&["w"]||u<n.w&&["ww",u]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}var Ln=Math.abs;function Cn(e){return(0<e)-(e<0)||+e}function kn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=Ln(this._milliseconds)/1e3,l=Ln(this._days),c=Ln(this._months),u=this.asSeconds();return u?(e=z(s/60),t=z(e/60),s%=60,e%=60,n=z(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=Cn(this._months)!==Cn(u)?"-":"",a=Cn(this._days)!==Cn(u)?"-":"",o=Cn(this._milliseconds)!==Cn(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}J=Nt.prototype;return J.isValid=function(){return this._isValid},J.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},J.add=function(e,t){return bn(this,e,t,1)},J.subtract=function(e,t){return bn(this,e,t,-1)},J.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+_n(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Sn(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)}},J.asMilliseconds=ae,J.asSeconds=Q,J.asMinutes=X,J.asHours=K,J.asDays=re,J.asWeeks=q,J.asMonths=qt,J.asQuarters=Dt,J.asYears=It,J.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*B(this._months/12):NaN},J._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*wn(Sn(n)+t),n=t=0),r.milliseconds=e%1e3,e=z(e/1e3),r.seconds=e%60,e=z(e/60),r.minutes=e%60,e=z(e/60),r.hours=e%24,t+=z(e/24),n+=e=z(_n(t)),t-=wn(Sn(e)),e=z(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},J.clone=function(){return Wt(this)},J.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},J.milliseconds=ue,J.seconds=nt,J.minutes=Ce,J.hours=We,J.days=Ze,J.weeks=function(){return z(this.days()/7)},J.months=ne,J.years=Ae,J.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),r=Mn(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},J.toISOString=kn,J.toString=kn,J.toJSON=kn,J.locale=tn,J.localeData=nn,J.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",kn),J.lang=te,F("X",0,0,"unix"),F("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,n){n._d=new Date(B(e))}),f.version="2.29.1",e=kt,f.fn=ie,f.min=function(){return Ot("isBefore",[].slice.call(arguments,0))},f.max=function(){return Ot("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=d,f.unix=function(e){return kt(1e3*e)},f.months=function(e,t){return gn(e,t,"months")},f.isDate=i,f.locale=ut,f.invalid=g,f.duration=Wt,f.isMoment=_,f.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},f.parseZone=function(){return kt.apply(null,arguments).parseZone()},f.localeData=ht,f.isDuration=Pt,f.monthsShort=function(e,t){return gn(e,t,"monthsShort")},f.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},f.defineLocale=dt,f.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=at[e]&&null!=at[e].parentLocale?at[e].set(G(at[e]._config,t)):(t=G(r=null!=(n=ct(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new M(t)).parentLocale=at[e],at[e]=t),ut(e)):null!=at[e]&&(null!=at[e].parentLocale?(at[e]=at[e].parentLocale,e===ut()&&ut(e)):null!=at[e]&&delete at[e]),at[e]},f.locales=function(){return L(at)},f.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},f.normalizeUnits=$,f.relativeTimeRounding=function(e){return void 0===e?Tn:"function"==typeof e&&(Tn=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},f.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},f.prototype=ie,f.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"},f}(),pr.exports);const vr={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"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:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE",opens:"Opens ",full:"table full - bet behind",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:"Opens ",full:"table full - bet behind",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"}}},br={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 wr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function _r(e,t,n){const r=e.slice();return r[101]=t[n],r}function Sr(e){let n,r=!hr(e[34])&&!e[0]&&e[12],i=r&&xr(e);return{c(){i&&i.c(),n=l()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){4097&t[0]&&(r=!hr(e[34])&&!e[0]&&e[12]),r?i?i.p(e,t):(i=xr(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&J(n)}}}function xr(n){let r,i,a;return{c(){r=Q("div"),r.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>',ne(r,"class","FavIconContainer"),ne(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=te(r,"click",n[61]),i=!0)},p:Z,d(e){e&&J(r),i=!1,a()}}}function Er(e){let n;return{c(){n=Q("div"),n.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>',ne(n,"class","FavIconContainer"),ne(n,"part","FavIconContainer")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function Tr(n){let r,i,a;return{c(){r=Q("div"),r.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>',ne(r,"class","FavIconContainer"),ne(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=te(r,"click",n[63]),i=!0)},p:Z,d(e){e&&J(r),i=!1,a()}}}function Gr(e){let n,r,i=e[33]("gameThumbnail.new")+"";return{c(){n=Q("span"),r=t(i),ne(n,"class","GameExtraInfoLabel NewGameTag"),ne(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){q(e,n,t),K(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.new")+"")&&re(r,i)},d(e){e&&J(n)}}}function Mr(e){let n,r,i=e[33]("gameThumbnail.hot")+"";return{c(){n=Q("span"),r=t(i),ne(n,"class","GameExtraInfoLabel PopularGameTag"),ne(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){q(e,n,t),K(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.hot")+"")&&re(r,i)},d(e){e&&J(n)}}}function Lr(e){let n,r,i=!e[21]&&e[19]&&e[20]&&Cr(e);function a(e){return e[21]&&e[18]&&e[18]===Yr?Ir:e[21]&&e[18]&&e[18]===jr?kr:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ee(),s&&s.c(),r=l()},m(e,t){i&&i.m(e,t),q(e,n,t),s&&s.m(e,t),q(e,r,t)},p(e,t){!e[21]&&e[19]&&e[20]?i?i.p(e,t):(i=Cr(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&J(n),s&&s.d(e),e&&J(r)}}}function Cr(e){let n,r,i,a,o,s,l,c,u,d,h=e[33]("gameThumbnail.opens")+"",m=yr.utc(e[19]).local().format(e[20])+"",f=e[43](e[32])+"",p=e[42](e[24],e[25],e[23])+"";return{c(){n=Q("div"),r=Q("div"),i=t(h),a=ee(),o=Q("span"),s=t(m),l=ee(),u=ee(),ne(r,"class","ClosedGame"),ne(r,"part","ClosedGame"),c=new y(u),d=new y(null),ne(n,"class","GameProp LiveProps"),ne(n,"part","GameProp LiveProps")},m(e,t){q(e,n,t),K(n,r),K(r,i),K(r,a),K(r,o),K(o,s),K(n,l),c.m(f,n),K(n,u),d.m(p,n)},p(e,t){4&t[1]&&h!==(h=e[33]("gameThumbnail.opens")+"")&&re(i,h),1572864&t[0]&&m!==(m=yr.utc(e[19]).local().format(e[20])+"")&&re(s,m),2&t[1]&&f!==(f=e[43](e[32])+"")&&c.p(f),58720256&t[0]&&p!==(p=e[42](e[24],e[25],e[23])+"")&&d.p(p)},d(e){e&&J(n)}}}function kr(n){let r,i,a,o,s,l,c=n[43](n[32])+"",u=n[42](n[24],n[25],n[23])+"",d=new Array(zr),h=[];for(let e=0;e<d.length;e+=1)h[e]=Nr(wr(n,d,e));return{c(){r=Q("div"),i=Q("div");for(let e=0;e<h.length;e+=1)h[e].c();a=ee(),s=ee(),ne(i,"class","LiveIcons"),ne(i,"part","LiveIcons"),o=new y(s),l=new y(null),ne(r,"class",n[28]),ne(r,"part",n[28])},m(e,t){q(e,r,t),K(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[64](i),K(r,a),o.m(c,r),K(r,s),l.m(u,r)},p(t,n){if(671089664&n[0]|8192&n[1]){let e;for(d=new Array(zr),e=0;e<d.length;e+=1){const o=wr(t,d,e);h[e]?h[e].p(o,n):(h[e]=Nr(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}2&n[1]&&c!==(c=t[43](t[32])+"")&&o.p(c),58720256&n[0]&&u!==(u=t[42](t[24],t[25],t[23])+"")&&l.p(u),268435456&n[0]&&ne(r,"class",t[28]),268435456&n[0]&&ne(r,"part",t[28])},d(e){e&&J(r),p(h,e),n[64](null)}}}function Ir(e){let n,r,i,a,o,s,l=e[43](e[32])+"",c=e[42](e[24],e[25],e[23])+"";function u(e){return e[30]?Rr:Pr}let d=u(e),h=d(e);return{c(){n=Q("div"),r=Q("div"),h.c(),i=ee(),o=ee(),ne(r,"class","LiveIcons"),ne(r,"part","LiveIcons"),a=new y(o),s=new y(null),ne(n,"class","GameProp LiveProps BlackjackDisplay"),ne(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){q(e,n,t),K(n,r),h.m(r,null),K(n,i),a.m(l,n),K(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&&(h.c(),h.m(r,null))),2&t[1]&&l!==(l=e[43](e[32])+"")&&a.p(l),58720256&t[0]&&c!==(c=e[42](e[24],e[25],e[23])+"")&&s.p(c)},d(e){e&&J(n),h.d()}}}function Dr(e){let n;function r(e){return e[27]?Fr:Or}let i=r(e),a=i(e);return{c(){a.c(),n=l()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&J(n)}}}function Or(e){let n,r,i=e[44]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[29][e[10][e[106]]])+"";return{c(){r=l(),n=new y(r)},m(e,t){n.m(i,e,t),q(e,r,t)},p(e,t){536871936&t[0]&&i!==(i=e[44]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[29][e[10][e[106]]])+"")&&n.p(i)},d(e){e&&J(r),e&&n.d()}}}function Fr(e){let n,r,i,a,o,s=e[44]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[29][e[10][e[106]][0]])+"",l=e[44]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[29][e[10][e[106]][1]])+"";return{c(){n=Q("div"),i=ee(),o=ee(),r=new y(i),a=new y(o),ne(n,"class","Double"),ne(n,"part","Double")},m(e,t){q(e,n,t),r.m(s,n),K(n,i),a.m(l,n),K(n,o)},p(e,t){536871936&t[0]&&s!==(s=e[44]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[29][e[10][e[106]][0]])+"")&&r.p(s),536871936&t[0]&&l!==(l=e[44]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[29][e[10][e[106]][1]])+"")&&a.p(l)},d(e){e&&J(n)}}}function Nr(e){let n,r=e[10]&&e[10][e[106]]&&Dr(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[10]&&e[10][e[106]]?r?r.p(e,t):(r=Dr(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&J(n)}}}function Pr(t){let i,a=t[22],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ar(_r(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(71303168&n[0]|1024&n[1]){let e;for(a=t[22],e=0;e<a.length;e+=1){var r=_r(t,a,e);o[e]?o[e].p(r,n):(o[e]=Ar(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){p(o,e),e&&J(i)}}}function Rr(e){let n,r,i=e[33]("gameThumbnail.full")+"";return{c(){n=Q("span"),r=t(i),ne(n,"class","FullTable"),ne(n,"part","FullTable")},m(e,t){q(e,n,t),K(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.full")+"")&&re(r,i)},d(e){e&&J(n)}}}function Ar(e){let n,r,i,a,o,s,l;return{c(){n=Q("span"),r=u("svg"),i=u("path"),a=u("path"),o=ee(),ne(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),ne(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),ne(r,"xmlns","http://www.w3.org/2000/svg"),ne(r,"width","13"),ne(r,"height","14"),ne(r,"viewBox","0 0 13 14"),ne(n,"class",s=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat"),ne(n,"part",l=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){q(e,n,t),K(n,r),K(r,i),K(r,a),K(n,o)},p(e,t){71303168&t[0]&&s!==(s=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")&&ne(n,"class",s),71303168&t[0]&&l!==(l=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")&&ne(n,"part",l)},d(e){e&&J(n)}}}function $r(e){let n,r;return{c(){n=Q("p"),r=t(e[3]),ne(n,"class","GameNameBelow"),ne(n,"part","GameNameBelow"),ne(n,"title",e[3])},m(e,t){q(e,n,t),K(n,r)},p(e,t){8&t[0]&&re(r,e[3]),8&t[0]&&ne(n,"title",e[3])},d(e){e&&J(n)}}}function Ur(n){let r,i,a,o,s,l,c,u,d,h,m,f,p,g,y,v,b,w,_,S,x,E,T,G,M,L,C,k,I,D,O,F,N,P,R=n[33]("gameThumbnail.playNow")+"",A=(n[4]||"-")+"",$=0<parseInt(n[7]),U=n[13]&&Sr(n);function Y(e,t){return(null==E||4099&t[0])&&(E=!(hr(e[34])||!e[0]||!e[12]||!e[1])),E?Tr:((null==T||4099&t[0])&&(T=!!(hr(e[34])&&e[0]&&e[12]&&e[1])),T?Er:void 0)}let j=Y(n,[-1]),H=j&&j(n),z=n[6]&&Gr(n),B=$&&Mr(n),W=n[9]&&Lr(n),V=n[8]&&$r(n);return{c(){r=Q("div"),i=Q("div"),a=Q("img"),c=ee(),u=Q("div"),d=Q("div"),U&&U.c(),h=ee(),m=Q("p"),f=t(n[3]),p=ee(),g=Q("button"),y=t(R),w=ee(),_=Q("span"),S=t(A),x=ee(),H&&H.c(),G=ee(),M=Q("div"),z&&z.c(),L=ee(),B&&B.c(),C=ee(),W&&W.c(),D=ee(),V&&V.c(),this.c=Z,a.src!==(o=n[2])&&ne(a,"src",o),ne(a,"class",s="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),ne(a,"part",l="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),ne(a,"alt",""),ne(a,"loading","lazy"),ne(m,"class","GameInfoName"),ne(m,"part","GameInfoName"),ne(m,"title",n[3]),ne(g,"class","GameInfoBtn"),ne(g,"part","GameInfoBtn"),ne(d,"class",v="GameInfo "+(n[14]?"GameHovered":"")),ne(d,"part",b="GameInfo "+(n[14]?"GameHovered":"")),ne(_,"class","GameInfoVendor"),ne(_,"part","GameInfoVendor"),ne(u,"class","GameInfoWrapper"),ne(u,"part","GameInfoWrapper"),ne(M,"class","GameExtraInfo"),ne(M,"part","GameExtraInfo"),ne(i,"class",k="GameInnerContainer "+(n[9]&&!n[21]||n[9]&&n[30]?"GameInnerContainerUnavailable":"")),ne(i,"part",I="GameInnerContainer "+(n[9]&&!n[21]||n[9]&&n[30]?"GameInnerContainerUnavailable":"")),ne(r,"class",O=`GameContainer ${n[31]}`),ne(r,"part",F=`GameContainer ${n[31]}`)},m(e,t){q(e,r,t),K(r,i),K(i,a),n[60](a),K(i,c),K(i,u),K(u,d),U&&U.m(d,null),K(d,h),K(d,m),K(m,f),K(d,p),K(d,g),K(g,y),K(u,w),K(u,_),K(_,S),K(i,x),H&&H.m(i,null),K(i,G),K(i,M),z&&z.m(M,null),K(M,L),B&&B.m(M,null),K(M,C),W&&W.m(M,null),K(r,D),V&&V.m(r,null),n[65](r),N||(P=[te(g,"click",n[62]),te(i,"mouseenter",n[39]),te(i,"mouseleave",n[40]),te(i,"touchstart",n[37],{passive:!0}),te(i,"touchleave",n[38])],N=!0)},p(e,t){4&t[0]&&a.src!==(o=e[2])&&ne(a,"src",o),49152&t[0]&&s!==(s="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&ne(a,"class",s),49152&t[0]&&l!==(l="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&ne(a,"part",l),e[13]?U?U.p(e,t):(U=Sr(e),U.c(),U.m(d,h)):U&&(U.d(1),U=null),8&t[0]&&re(f,e[3]),8&t[0]&&ne(m,"title",e[3]),4&t[1]&&R!==(R=e[33]("gameThumbnail.playNow")+"")&&re(y,R),16384&t[0]&&v!==(v="GameInfo "+(e[14]?"GameHovered":""))&&ne(d,"class",v),16384&t[0]&&b!==(b="GameInfo "+(e[14]?"GameHovered":""))&&ne(d,"part",b),16&t[0]&&A!==(A=(e[4]||"-")+"")&&re(S,A),j===(j=Y(e,t))&&H?H.p(e,t):(H&&H.d(1),H=j&&j(e),H&&(H.c(),H.m(i,G))),e[6]?z?z.p(e,t):(z=Gr(e),z.c(),z.m(M,L)):z&&(z.d(1),z=null),128&t[0]&&($=0<parseInt(e[7])),$?B?B.p(e,t):(B=Mr(e),B.c(),B.m(M,C)):B&&(B.d(1),B=null),e[9]?W?W.p(e,t):(W=Lr(e),W.c(),W.m(M,null)):W&&(W.d(1),W=null),1075839488&t[0]&&k!==(k="GameInnerContainer "+(e[9]&&!e[21]||e[9]&&e[30]?"GameInnerContainerUnavailable":""))&&ne(i,"class",k),1075839488&t[0]&&I!==(I="GameInnerContainer "+(e[9]&&!e[21]||e[9]&&e[30]?"GameInnerContainerUnavailable":""))&&ne(i,"part",I),e[8]?V?V.p(e,t):(V=$r(e),V.c(),V.m(r,null)):V&&(V.d(1),V=null),1&t[1]&&O!==(O=`GameContainer ${e[31]}`)&&ne(r,"class",O),1&t[1]&&F!==(F=`GameContainer ${e[31]}`)&&ne(r,"part",F)},i:Z,o:Z,d(e){e&&J(r),n[60](null),U&&U.d(),H&&H.d(),z&&z.d(),B&&B.d(),W&&W.d(),V&&V.d(),n[65](null),N=!1,X(P)}}}const Yr="blackjack",jr="roulette",Hr="doubleballroulette",zr=5;function Br(n,e,o){let t;ve(n,dr,e=>o(33,t=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}a((l=l.apply(e,o||[])).next())})};let i,a,s,l,c,u,d,h,m,f,p,g,y,v,b,w,_,S,x,E,T,G,M,L,{session:C=""}=e,{userid:k=""}=e,{lang:I=""}=e,{clientstyling:D=""}=e,{clientstylingurl:O=""}=e,{favorites:F=""}=e,{gamethumbnail:N=""}=e,{gamename:P=""}=e,{gamevendor:R=""}=e,{gameid:A=""}=e,{gameisnew:$=""}=e,{gamepopularity:U=""}=e,{gamefunmode:Y=!1}=e,{searchitem:j=!1}=e,{gamefavorite:H=!1}=e,{showfavoredcategory:z=!1}=e,{showgamename:B=!1}=e,{currency:W}=e,{endpoint:V=""}=e,{livelobbyendpoint:Z=""}=e,{connectlive:X}=e,{visibilityconnect:K=""}=e,q=!1,J=!1,Q=!1,ee=window.navigator.userAgent,te="HH:mm",ne,re=[],ie="EUR",ae="";const oe=[Yr],se=[jr,Hr],le={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ce={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"};Object.keys(vr).forEach(e=>{Bn(e,vr[e])});const ue=e=>{e.data.type!==`AddFavoriteThumbnail_${A}`||z||o(0,H=!0),e.data.type!==`RemoveFavoriteThumbnail_${A}`||z||o(0,H=!1),"UserSessionID"===e.data.type&&(o(12,q=!0),e.data.session,e.data.userID)},de=e=>{hr(ee)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:Y},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),j&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},he=e=>{var t="thumbnail";H?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},me=()=>{Z&&EventSource&&!l&&R&&A&&(l=new EventSource(`${V}/encoder/lobby/updates/${R}/${A}`),l.addEventListener("message",pe))},fe=()=>{l&&(l.close(),l=void 0)},pe=a=>r(void 0,void 0,void 0,function*(){const{type:e,data:t}=a;let n;if("message"===e){if(t)try{n=JSON.parse(t)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(n){const{InternalTableId:a,MessageType:e,Results:t,Seats:r,Open:i}=n;if(a)switch(e){case"SeatsUpdated":r&&Array.isArray(r)&&(o(26,g=r),o(9,s.currentOccupiedSeats=r,s),yield _e());break;case"RouletteResultsUpdated":t&&Array.isArray(t)&&(y=t,o(9,s.currentRouletteNumbers=t,s),yield _e());break;case"DoubleBallRouletteResultsUpdated":t&&Array.isArray(t)&&(v=t,o(9,s.currentDoubleBallRouletteNumbers=t,s),yield _e());break;case"TableOpened":case"TableClosed":o(21,d=i),o(9,s.isOpen=i,s),yield _e()}}}}),ge=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",ye=(e,t)=>e.some(e=>e===t);return be(()=>(window.addEventListener("message",ue,!1),()=>{window.removeEventListener("message",ue),l&&l.removeEventListener("message",pe)})),n.$$set=e=>{"session"in e&&o(45,C=e.session),"userid"in e&&o(46,k=e.userid),"lang"in e&&o(47,I=e.lang),"clientstyling"in e&&o(48,D=e.clientstyling),"clientstylingurl"in e&&o(49,O=e.clientstylingurl),"favorites"in e&&o(1,F=e.favorites),"gamethumbnail"in e&&o(2,N=e.gamethumbnail),"gamename"in e&&o(3,P=e.gamename),"gamevendor"in e&&o(4,R=e.gamevendor),"gameid"in e&&o(5,A=e.gameid),"gameisnew"in e&&o(6,$=e.gameisnew),"gamepopularity"in e&&o(7,U=e.gamepopularity),"gamefunmode"in e&&o(50,Y=e.gamefunmode),"searchitem"in e&&o(51,j=e.searchitem),"gamefavorite"in e&&o(0,H=e.gamefavorite),"showfavoredcategory"in e&&o(52,z=e.showfavoredcategory),"showgamename"in e&&o(8,B=e.showgamename),"currency"in e&&o(53,W=e.currency),"endpoint"in e&&o(54,V=e.endpoint),"livelobbyendpoint"in e&&o(55,Z=e.livelobbyendpoint),"connectlive"in e&&o(56,X=e.connectlive),"visibilityconnect"in e&&o(57,K=e.visibilityconnect)},n.$$.update=()=>{var e,t;33554432&n.$$.dirty[1]&&X&&("disconnect"===X?fe():"connect"===X&&me()),67108864&n.$$.dirty[1]&&K&&("disconnect"===K?fe():"connect"===K&&"connect"===X&&me()),n.$$.dirty[1],8437760&n.$$.dirty[1]&&C&&k&&V&&o(12,q=!0),4&n.$$.dirty[0]&&N&&i&&o(16,i.onload=()=>{o(15,Q=!0)},i),131072&n.$$.dirty[1]&&D&&(()=>{let e=document.createElement("style");e.innerHTML=D,setTimeout(()=>{a.appendChild(e)})})(),2&n.$$.dirty[0]&&F&&"true"==F&&o(13,J=!0),262144&n.$$.dirty[1]&&O&&(()=>{let e=new URL(O),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)})})})(),25165824&n.$$.dirty[1]&&V&&Z&&(()=>{let e=new URL(`${Z.split("?")[0]}`);e.searchParams.append("platform",mr(ee)),e.searchParams.append("language",I),fetch(e).then(e=>e.json()).then(e=>{var{details:e}=e[0];o(9,s=e)})})(),512&n.$$.dirty[0]&&s&&s&&(o(21,d=s.isOpen),ne=s.betLimit||{},h=s.openHours,o(22,re=(e=>{p=e.totalSeats||7,o(26,g=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=p;e++)t.push(e);return{seats:t}})(s).seats),h&&h.value&&({value:{startTime:e,originalTimeFormat:t}}=h,o(19,u=e),o(20,te=t||te)),d&&o(18,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();ye(oe,e)?t=Yr:ye(se,e)&&(t=jr)}}return t})(s)),o(23,ie=br[W]),o(24,m=(ne.min||{})[W]),o(25,f=(ne.max||{})[W]),y=s.currentRouletteNumbers,v=s.currentDoubleBallRouletteNumbers,b=s.vendorCategory,o(27,w=b.toLowerCase()===Hr),o(10,_=(w?v:y)||[]),o(28,S="GameProp LiveProps RoulleteProps"),o(28,S+=w?" Double":""),o(29,x=ye(se,b.toLowerCase())?ce:le),T=E,o(30,E=Array.isArray(g)&&g.length===p),s.dealer&&o(32,M=s.dealer.DealerName),L=s.numberOfPlayers,o(31,ae="ListGame"),d&&E&&m&&f&&s.currentOccupiedSeats?o(31,ae+=" GameContainerDimmed"):!1===d&&u&&o(31,ae+=" GameContainerFullyDimmed"),a&&(!T&&E?(o(31,ae+=" PulsatingRedShadow"),o(31,ae=ae.replace(" PulsatingGreenShadow",""))):T&&!E&&(o(31,ae+=" PulsatingGreenShadow"),o(31,ae=ae.replace(" PulsatingRedShadow",""))))),3072&n.$$.dirty[0]&&G&&_&&(()=>{const e="FirstElementAnimated",t=G.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))})()},[H,F,N,P,R,A,$,U,B,s,_,G,q,J,!1,Q,i,a,c,u,te,d,re,ie,m,f,g,w,S,x,E,ae,M,t,ee,de,he,()=>{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)},ye,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${ge(e)}-${ge(t)}`),L&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${L}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${t("gameThumbnail.dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{e=`${e} ${r}`,r=t.toString().match(/first0|second0|0/g);return 0===t||r&&0!==r.length?`\n <span\n id=${t}\n class="${e}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${e}">\n ${n}\n </span>\n `},C,k,I,D,O,Y,j,z,W,V,Z,X,K,le,ce,function(e){we[e?"unshift":"push"](()=>{i=e,o(16,i)})},()=>he(A),()=>de(A),()=>he(A),function(e){we[e?"unshift":"push"](()=>{G=e,o(11,G)})},function(e){we[e?"unshift":"push"](()=>{a=e,o(17,a)})}]}function Wr(e,t,n){const r=e.slice();return r[76]=t[n],r[78]=n,r}function Vr(e,t,n){const r=e.slice();return r[76]=t[n],r[79]=t,r[78]=n,r}function Zr(e,t,n){const r=e.slice();return r[76]=t[n],r[78]=n,r}function Xr(e){let n;function r(e){return e[11]?Qr:e[21]?Jr:void 0}let i=r(e),a=i&&i(e);return{c(){n=Q("div"),a&&a.c()},m(e,t){q(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),a=i&&i(e),a&&(a.c(),a.m(n,null)))},d(e){e&&J(n),a&&a.d()}}}function Kr(e){let n,r,i;function a(e){return e[15]?yi:e[12].length?pi:gi}let o=a(e),s=o(e);function l(e){return e[12]?bi:vi}let c=l(e),u=c(e);return{c(){n=Q("div"),r=Q("div"),s.c(),i=ee(),u.c(),ne(r,"class","CasinoGamesHeader Searched "+(hr(e[27])?"CasinoGamesHeaderMobile":"")),ne(r,"part","CasinoGamesHeader Searched "+(hr(e[27])?"CasinoGamesHeaderMobile":"")),ne(n,"class","CasinoGamesContainer"),ne(n,"part","CasinoGamesContainer")},m(e,t){q(e,n,t),K(n,r),s.m(r,null),K(n,i),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),u=c(e),u&&(u.c(),u.m(n,null)))},d(e){e&&J(n),s.d(),u.d()}}}function qr(e){let n;function r(e){return e[17]?xi:Si}let i=r(e),a=i(e);return{c(){a.c(),n=l()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&J(n)}}}function Jr(n){let r,i,a,o,s,l,c,u,d=n[25].name+"";function h(e){return e[25]?ti:ei}let m=h(n),f=m(n);return{c(){r=Q("div"),i=Q("div"),a=Q("h3"),o=t(d),s=ee(),l=Q("ul"),f.c(),ne(a,"class","CategoryName"),ne(a,"part","CategoryName"),ne(i,"class","CasinoGamesHeader"),ne(i,"part","CasinoGamesHeader"),ne(l,"class",c=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ne(l,"part",u=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ne(r,"class","CasinoGamesContainer"),ne(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),n[43](a),K(r,s),K(r,l),f.m(l,null),n[44](l)},p(e,t){33554432&t[0]&&d!==(d=e[25].name+"")&&re(o,d),m===(m=h(e))&&f?f.p(e,t):(f.d(1),f=m(e),f&&(f.c(),f.m(l,null))),33554432&t[0]&&c!==(c=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ne(l,"class",c),33554432&t[0]&&u!==(u=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ne(l,"part",u)},d(e){e&&J(r),n[43](null),f.d(),n[44](null)}}}function Qr(n){let r,i,a,o,s,l,c=n[11].name+"",u=n[13]&&di(n);function d(e){return 0!==e[12].length?mi:hi}let h=d(n),m=h(n);return{c(){r=Q("div"),i=Q("div"),a=Q("h3"),o=t(c),s=ee(),u&&u.c(),l=ee(),m.c(),ne(a,"class","CategoryName"),ne(a,"part","CategoryName"),ne(i,"class","CasinoGamesHeader"),ne(i,"part","CasinoGamesHeader"),ne(r,"class","CasinoGamesContainer"),ne(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),n[39](a),K(i,s),u&&u.m(i,null),K(r,l),m.m(r,null)},p(e,t){2048&t[0]&&c!==(c=e[11].name+"")&&re(o,c),e[13]?u?u.p(e,t):(u=di(e),u.c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&m?m.p(e,t):(m.d(1),m=h(e),m&&(m.c(),m.m(r,null)))},d(e){e&&J(r),n[39](null),u&&u.d(),m.d()}}}function ei(e){let n;return{c(){n=Q("p"),n.textContent="Waiting"},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function ti(t){let r,i=t[25].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=ui(Wr(t,i,e));let o=null;return i.length||(o=ni(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=l(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);q(t,r,n),o&&o.m(t,n)},p(t,n){if(169869823&n[0]){let e;for(i=t[25].items,e=0;e<i.length;e+=1){const o=Wr(t,i,e);a[e]?a[e].p(o,n):(a[e]=ui(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):(o=ni(t),o.c(),o.m(r.parentNode,r))}},d(e){p(a,e),e&&J(r),o&&o.d(e)}}}function ni(e){let n,r,i,a,o,s,l,c=(t=e,(hr(t[27])?ii:ri)(e));var t;return{c(){n=Q("p"),r=u("svg"),i=u("path"),a=ee(),o=Q("span"),o.textContent="You do not have any favored games yet.",s=ee(),c.c(),l=ee(),g(i,"fill","white"),ne(i,"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"),ne(r,"version","1.1"),ne(r,"class","UnfavoredIcon"),ne(r,"part","UnfavoredIcon"),ne(r,"xmlns","http://www.w3.org/2000/svg"),ne(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),ne(r,"x","50px"),ne(r,"y","50px"),ne(r,"viewBox","0 0 512.001 512.001"),g(r,"enable-background","new 0 0 512.001 512.001"),ne(r,"xml:space","preserve"),ne(o,"class","NoFavoriteText NoFavoriteTextHighlight"),ne(o,"part","NoFavoriteText NoFavoriteTextHighlight"),ne(n,"class","NoFavoriteGames "+(hr(e[27])?"NoFavoriteGamesMobile":"")),ne(n,"part","NoFavoriteGames "+(hr(e[27])?"NoFavoriteGamesMobile":""))},m(e,t){q(e,n,t),K(n,r),K(r,i),K(n,a),K(n,o),K(n,s),c.m(n,null),K(n,l)},p:Z,d(e){e&&J(n),c.d()}}}function ri(e){let n;return{c(){n=Q("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",ne(n,"class","NoFavoriteText"),ne(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function ii(e){let n;return{c(){n=Q("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",ne(n,"class","NoFavoriteText"),ne(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function ai(e){let n,r=e[76].gameModel.isFavorite&&oi(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[76].gameModel.isFavorite?r?r.p(e,t):(r=oi(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&J(n)}}}function oi(e){let n,r=function(e){let n,r,i;function a(e,t){return null==n&&(n=!!hr(e[27])),n?li:((null==r||33554432&t[0])&&(r=!!e[76].gameModel.platform.includes("PC")),r?si:void 0)}let o=a(e,[-1]),s=o&&o(e);return{c(){s&&s.c(),i=l()},m(e,t){s&&s.m(e,t),q(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&J(i)}}}(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&J(n)}}}function si(e){let n,r,i,a,o,s,l,c,u,d,h,m,f;return{c(){n=Q("casino-game-thumbnail"),w(n,"class",r=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"part",i=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[76].gameModel.thumbnail),w(n,"gamename",o=e[76].gameModel.name),w(n,"gamevendor",s=e[76].gameModel.vendor.name),w(n,"gameisnew",l=e[76].gameModel.isNew),w(n,"gamepopularity",c=e[76].gameModel.popularity),w(n,"gamecellsize",u=e[76].gameModel.cellSize),w(n,"gameid",d=e[76].gameModel.id),w(n,"gamefunmode",h=e[76].gameModel.hasFunMode),w(n,"gamefavorite",m=e[76].gameModel.isFavorite),w(n,"showfavoredcategory",e[21]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",f=e[76].gameModel.details?e[76].gameModel.href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"class",r),33554432&t[0]&&i!==(i=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[76].gameModel.thumbnail)&&w(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[76].gameModel.name)&&w(n,"gamename",o),33554432&t[0]&&s!==(s=e[76].gameModel.vendor.name)&&w(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[76].gameModel.isNew)&&w(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[76].gameModel.popularity)&&w(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[76].gameModel.cellSize)&&w(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[76].gameModel.id)&&w(n,"gameid",d),33554432&t[0]&&h!==(h=e[76].gameModel.hasFunMode)&&w(n,"gamefunmode",h),33554432&t[0]&&m!==(m=e[76].gameModel.isFavorite)&&w(n,"gamefavorite",m),2097152&t[0]&&w(n,"showfavoredcategory",e[21]),128&t[0]&&w(n,"currency",e[7]),33554432&t[0]&&f!==(f=e[76].gameModel.details?e[76].gameModel.href:"")&&w(n,"livelobbyendpoint",f),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8])},d(e){e&&J(n)}}}function li(e){let n,r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android"),i=r&&ci(e);return{c(){i&&i.c(),n=l()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){33554432&t[0]&&(r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android")),r?i?i.p(e,t):(i=ci(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&J(n)}}}function ci(e){let n,r,i,a,o,s,l,c,u,d,h,m,f;return{c(){n=Q("casino-game-thumbnail"),w(n,"class",r=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"part",i=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[76].gameModel.thumbnail),w(n,"gamename",o=e[76].gameModel.name),w(n,"gamevendor",s=e[76].gameModel.vendor.name),w(n,"gameisnew",l=e[76].gameModel.isNew),w(n,"gamepopularity",c=e[76].gameModel.popularity),w(n,"gamecellsize",u=e[76].gameModel.cellSize),w(n,"gameid",d=e[76].gameModel.id),w(n,"gamefunmode",h=e[76].gameModel.hasFunMode),w(n,"gamefavorite",m=e[76].gameModel.isFavorite),w(n,"showfavoredcategory",e[21]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",f=e[76].gameModel.details?e[76].gameModel.href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"class",r),33554432&t[0]&&i!==(i=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[76].gameModel.thumbnail)&&w(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[76].gameModel.name)&&w(n,"gamename",o),33554432&t[0]&&s!==(s=e[76].gameModel.vendor.name)&&w(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[76].gameModel.isNew)&&w(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[76].gameModel.popularity)&&w(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[76].gameModel.cellSize)&&w(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[76].gameModel.id)&&w(n,"gameid",d),33554432&t[0]&&h!==(h=e[76].gameModel.hasFunMode)&&w(n,"gamefunmode",h),33554432&t[0]&&m!==(m=e[76].gameModel.isFavorite)&&w(n,"gamefavorite",m),2097152&t[0]&&w(n,"showfavoredcategory",e[21]),128&t[0]&&w(n,"currency",e[7]),33554432&t[0]&&f!==(f=e[76].gameModel.details?e[76].gameModel.href:"")&&w(n,"livelobbyendpoint",f),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8])},d(e){e&&J(n)}}}function ui(e){let n,r=e[76].gameModel&&ai(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[76].gameModel?r?r.p(e,t):(r=ai(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&J(n)}}}function di(n){let r,i,a,o,s,l,c,u,d=n[26]("gamesCategorySection.viewAll")+"",h=n[11].games.total+"";return{c(){r=Q("a"),i=Q("span"),a=t(d),o=t(" ("),s=t(h),l=t(")"),ne(i,"class","CategoryLoadMore"),ne(i,"part","CategoryLoadMore"),ne(r,"class","CategoryNameLink"),ne(r,"part","CategoryNameLink")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),K(i,l),c||(u=te(r,"click",n[40]),c=!0)},p(e,t){67108864&t[0]&&d!==(d=e[26]("gamesCategorySection.viewAll")+"")&&re(a,d),2048&t[0]&&h!==(h=e[11].games.total+"")&&re(s,h)},d(e){e&&J(r),c=!1,u()}}}function hi(e){let n;return{c(){n=Q("p"),n.textContent="You don't have any games in this category.",ne(n,"class","NoSearchResults"),ne(n,"part","NoSearchResults")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function mi(n){let r,e,i,a=n[12],o=[];for(let e=0;e<a.length;e+=1)o[e]=fi(Vr(n,a,e));return{c(){r=Q("ul");for(let e=0;e<o.length;e+=1)o[e].c();ne(r,"class",e=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),ne(r,"part",i=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){q(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[42](r)},p(t,n){if(25170943&n[0]){let e;for(a=t[12],e=0;e<a.length;e+=1){const i=Vr(t,a,e);o[e]?o[e].p(i,n):(o[e]=fi(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}35651584&n[0]&&e!==(e=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ne(r,"class",e),35651584&n[0]&&i!==(i=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ne(r,"part",i)},d(e){e&&J(r),p(o,e),n[42](null)}}}function fi(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,m,f,p,g,y=n[78];const v=()=>n[41](r,y),b=()=>n[41](null,y);return{c(){r=Q("casino-game-thumbnail"),w(r,"session",n[2]),w(r,"userid",n[3]),w(r,"lang",n[1]),w(r,"class",i=""+(Ti+(n[76].cellSize||"1x1"))),w(r,"part",a=""+(Ti+(n[76].cellSize||"1x1"))),w(r,"favorites",n[4]),w(r,"gamethumbnail",o=n[76].thumbnail),w(r,"gamename",s=n[76].name),w(r,"gamevendor",l=n[76].vendor.name),w(r,"gameisnew",c=n[76].isNew),w(r,"gamepopularity",u=n[76].popularity),w(r,"gamecellsize",d=n[76].cellSize),w(r,"gameid",h=n[76].id),w(r,"gamefunmode",m=n[76].hasFunMode),w(r,"gamefavorite",f=n[76].isFavorite),w(r,"connectlive",p=1==n[23][n[76].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[24]),w(r,"currency",n[7]),w(r,"livelobbyendpoint",g=n[76].details?n[76].href:""),w(r,"clientstyling",n[5]),w(r,"clientstylingurl",n[6]),w(r,"endpoint",n[0]),w(r,"livecasino",n[8])},m(e,t){q(e,r,t),v()},p(e,t){n=e,4&t[0]&&w(r,"session",n[2]),8&t[0]&&w(r,"userid",n[3]),2&t[0]&&w(r,"lang",n[1]),4096&t[0]&&i!==(i=""+(Ti+(n[76].cellSize||"1x1")))&&w(r,"class",i),4096&t[0]&&a!==(a=""+(Ti+(n[76].cellSize||"1x1")))&&w(r,"part",a),16&t[0]&&w(r,"favorites",n[4]),4096&t[0]&&o!==(o=n[76].thumbnail)&&w(r,"gamethumbnail",o),4096&t[0]&&s!==(s=n[76].name)&&w(r,"gamename",s),4096&t[0]&&l!==(l=n[76].vendor.name)&&w(r,"gamevendor",l),4096&t[0]&&c!==(c=n[76].isNew)&&w(r,"gameisnew",c),4096&t[0]&&u!==(u=n[76].popularity)&&w(r,"gamepopularity",u),4096&t[0]&&d!==(d=n[76].cellSize)&&w(r,"gamecellsize",d),4096&t[0]&&h!==(h=n[76].id)&&w(r,"gameid",h),4096&t[0]&&m!==(m=n[76].hasFunMode)&&w(r,"gamefunmode",m),4096&t[0]&&f!==(f=n[76].isFavorite)&&w(r,"gamefavorite",f),8392704&t[0]&&p!==(p=1==n[23][n[76].id]?"connect":"disconnect")&&w(r,"connectlive",p),16777216&t[0]&&w(r,"visibilityconnect",n[24]),128&t[0]&&w(r,"currency",n[7]),4096&t[0]&&g!==(g=n[76].details?n[76].href:"")&&w(r,"livelobbyendpoint",g),32&t[0]&&w(r,"clientstyling",n[5]),64&t[0]&&w(r,"clientstylingurl",n[6]),1&t[0]&&w(r,"endpoint",n[0]),256&t[0]&&w(r,"livecasino",n[8]),y!==n[78]&&(b(),y=n[78],v())},d(e){e&&J(r),b()}}}(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&J(n)}}}function pi(e){let n,r,i=e[26]("gamesCategorySection.searchedItems")+"";return{c(){n=Q("h3"),r=t(i),ne(n,"class","StatusText"),ne(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.searchedItems")+"")&&re(r,i)},d(e){e&&J(n)}}}function gi(e){let n,r,i=e[26]("gamesCategorySection.noResults")+"";return{c(){n=Q("h3"),r=t(i),ne(n,"class","StatusText"),ne(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noResults")+"")&&re(r,i)},d(e){e&&J(n)}}}function yi(e){let n,r,i=e[26]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=Q("h3"),r=t(i),ne(n,"class","StatusText"),ne(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.recentSearchedItems")+"")&&re(r,i)},d(e){e&&J(n)}}}function vi(e){let n;return{c(){n=Q("p"),n.textContent="Waiting",ne(n,"class","SearchWaiting"),ne(n,"part","SearchWaiting")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function bi(t){let r,i,a=!t[18]&&wi(t),o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=_i(Zr(t,o,e));return{c(){a&&a.c(),r=ee(),i=Q("ul");for(let e=0;e<s.length;e+=1)s[e].c();ne(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),ne(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),q(e,r,t),q(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[18]?a&&(a.d(1),a=null):a?a.p(t,n):(a=wi(t),a.c(),a.m(r.parentNode,r)),70143&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){const a=Zr(t,o,e);s[e]?s[e].p(a,n):(s[e]=_i(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&J(r),e&&J(i),p(s,e)}}}function wi(e){let n,r,i=e[26]("gamesCategorySection.noRecentSearch")+"";return{c(){n=Q("p"),r=t(i),ne(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(hr(e[27])?"NoRecentSearchesMobile":"")),ne(n,"part","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(hr(e[27])?"NoRecentSearchesMobile":""))},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noRecentSearch")+"")&&re(r,i)},d(e){e&&J(n)}}}function _i(e){let n,r,i,a,o,s,l,c,u,d,h,m,f;return{c(){n=Q("casino-game-thumbnail"),w(n,"class",r=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"part",i=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"searchitem",e[16]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[76].thumbnail),w(n,"gamename",o=e[76].name),w(n,"gamevendor",s=e[76].vendor.name),w(n,"gameisnew",l=e[76].isNew),w(n,"gamepopularity",c=e[76].popularity),w(n,"gamecellsize",u=e[76].cellSize),w(n,"gameid",d=e[76].id),w(n,"gamefunmode",h=e[76].hasFunMode),w(n,"gamefavorite",m=e[76].isFavorite),w(n,"currency",e[7]),w(n,"livelobbyendpoint",f=e[76].details?e[76].href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){4096&t[0]&&r!==(r=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"class",r),4096&t[0]&&i!==(i=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),65536&t[0]&&w(n,"searchitem",e[16]),16&t[0]&&w(n,"favorites",e[4]),4096&t[0]&&a!==(a=e[76].thumbnail)&&w(n,"gamethumbnail",a),4096&t[0]&&o!==(o=e[76].name)&&w(n,"gamename",o),4096&t[0]&&s!==(s=e[76].vendor.name)&&w(n,"gamevendor",s),4096&t[0]&&l!==(l=e[76].isNew)&&w(n,"gameisnew",l),4096&t[0]&&c!==(c=e[76].popularity)&&w(n,"gamepopularity",c),4096&t[0]&&u!==(u=e[76].cellSize)&&w(n,"gamecellsize",u),4096&t[0]&&d!==(d=e[76].id)&&w(n,"gameid",d),4096&t[0]&&h!==(h=e[76].hasFunMode)&&w(n,"gamefunmode",h),4096&t[0]&&m!==(m=e[76].isFavorite)&&w(n,"gamefavorite",m),128&t[0]&&w(n,"currency",e[7]),4096&t[0]&&f!==(f=e[76].details?e[76].href:"")&&w(n,"livelobbyendpoint",f),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8])},d(e){e&&J(n)}}}function Si(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error.",ne(n,"class","SearchLoading"),ne(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function xi(e){let n;return{c(){n=Q("p"),n.textContent="404 Error - No result found.",ne(n,"class","SearchLoading"),ne(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function Ei(n){let r;function i(e){return e[10]?qr:e[14]?Kr:Xr}let a=i(n),o=a(n);return{c(){r=Q("div"),o.c(),this.c=Z,ne(r,"class","CasinoGamesCategorySectionContainer"),ne(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){q(e,r,t),o.m(r,null),n[45](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&J(r),o.d(),n[45](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends M{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}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:9.6px;text-align:center;font-size:17.6px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6.4px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:4.8px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14.4px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11.2px;padding:3.2px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:4.8px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:1.6px;margin:0 1px;margin-right:6.4px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:4.8px;padding:1.6px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 20px 5px 20px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",G(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Br,Ur,n,{session:45,userid:46,lang:47,clientstyling:48,clientstylingurl:49,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:50,searchitem:51,gamefavorite:0,showfavoredcategory:52,showgamename:8,currency:53,endpoint:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,MONEY_WHEEL_COLOR_MAP:58,ROULETTE_COLOR_MAP:59},[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),E()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","currency","endpoint","livelobbyendpoint","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[45]}set session(e){this.$set({session:e}),E()}get userid(){return this.$$.ctx[46]}set userid(e){this.$set({userid:e}),E()}get lang(){return this.$$.ctx[47]}set lang(e){this.$set({lang:e}),E()}get clientstyling(){return this.$$.ctx[48]}set clientstyling(e){this.$set({clientstyling:e}),E()}get clientstylingurl(){return this.$$.ctx[49]}set clientstylingurl(e){this.$set({clientstylingurl:e}),E()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),E()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),E()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),E()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),E()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),E()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),E()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),E()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$set({gamefunmode:e}),E()}get searchitem(){return this.$$.ctx[51]}set searchitem(e){this.$set({searchitem:e}),E()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),E()}get showfavoredcategory(){return this.$$.ctx[52]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),E()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),E()}get currency(){return this.$$.ctx[53]}set currency(e){this.$set({currency:e}),E()}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$set({endpoint:e}),E()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$set({livelobbyendpoint:e}),E()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$set({connectlive:e}),E()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$set({visibilityconnect:e}),E()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[58]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[59]}});const Ti="game-tile-";function Gi(e,t,s){let n;ve(e,dr,e=>s(26,n=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}a((l=l.apply(e,o||[])).next())})};let i,a,o,l,c,u,d,h,m,{endpoint:f=""}=t,{datasource:p=""}=t,{lang:g=""}=t,{session:y=""}=t,{userid:v=""}=t,{favorites:b=""}=t,{clientstyling:w=""}=t,{clientstylingurl:_=""}=t,{currency:S}=t,{categoryid:x=""}=t,{categoryindex:E=0}=t,{categorygames:T=0}=t,{livecasino:G="false"}=t,{once:M=!0}=t,{top:L=0}=t,{bottom:C=0}=t,{left:k=0}=t,{right:I=0}=t,D=!1,O=!0,F=window.navigator.userAgent,N=[],P=!0,R=40,A=!1,$=!1,U=!1,Y=!1,j=!0,H=!1,z=!1,B=!1,W=new Array(1e4),V={},Z={items:[],count:0,name:""};Object.keys(fr).forEach(e=>{Bn(e,fr[e])});let X=new IntersectionObserver((e,t)=>{e.forEach(n=>r(void 0,void 0,void 0,function*(){var e=n.target.gameid,t=n.target.elems_index;n.isIntersecting?(1.2*t>R&&J(x),s(23,V[e]=1,V)):s(23,V[e]=0,V)}))});const K=(e,r,i,t=0)=>{let a=new URL(`${f}/casino/groups/${p}/${x}`),o=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",mr(F)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:x},window.location.href),o&&o[x])if(o[x].length&&!1===O&&!1===H){let t="";s(17,Y=!0),o[x].forEach(e=>{t+=t?`, id=${e}`:`id=${e}`}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(17,Y=!1);fetch(a).then(e=>e.json()).then(e=>{s(38,m=!0),s(10,D=!1),c=e.games.total,t(e)},e=>{s(10,D=!0),console.error(e),n(e)})})},q=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(14,A=!1),O=!1,s(13,P=!1),z=!0,s(12,N=t.data.mostPlayedGames),s(11,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(14,A=!0),z=!1,s(15,$=!0),0<t.data.searchData.length?(s(12,N=t.data.searchData),s(18,j=!0),N&&N.forEach(e=>{e.isFavorite=Q(e.id)})):(s(12,N=[]),s(18,j=!1));break;case"OutOfRecentSearches":s(14,A=!1),s(15,$=!1);break;case"SearchData":s(14,A=!0),z=!1,s(15,$=!1),s(12,N=t.data.searchData.items||[]),s(16,U=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),N&&N.forEach(e=>{e.isFavorite=Q(e.id)});break;case`CategoryData_${x}`:s(14,A=!1),O=!0,s(13,P=!0),s(16,U=!1),z=!1,B=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),K(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(11,o=e),s(12,N=o.games.items),N&&N.forEach(e=>{e.isFavorite=Q(e.id)})});break;case"CategoryChange":R=20;break;case"CategoryUpdate":s(14,A=!1),O=!1,s(16,U=!1),z=!1,s(13,P=!1),B=!0,s(29,x=t.data.itemId),K(0,0,R).then(e=>{s(11,o=e),o.games.items.forEach(e=>{e.isFavorite=Q(e.id)}),s(12,N=o.games.items),s(13,P=!1)});break;case"FavoriteUpdate":s(14,A=!1),z=!1,O=!0,s(12,N=o.games.items),N.forEach(e=>{e.isFavorite=Q(e.id)}),s(13,P=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items,t.data.triggerFactor&&!H?window.postMessage({type:"FavoriteUpdate"},window.location.href):O||z||window.postMessage({type:"CategoryUpdate",itemId:x},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(25,Z.items=(n=e,Z.items,r=window.navigator.userAgent,hr(r)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),Z),s(25,Z.name="Favorites",Z),s(21,H=!0));break;case"UserSessionID":i=t.data.session,a=t.data.userID,"true"==b&&a&&a.length&&i&&0<i.length&&(e=>{let r={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(e,r).then(e=>e.json()).then(e=>{d=e?e.items:[],N.forEach(e=>{e.isFavorite=Q(e.id)});e=N;s(12,N=void 0),s(12,N=e),t(d)}).catch(e=>{console.error(e),n(e)})})})(`${f}/player/${a}/favorites/`)}var n,r},J=e=>{R+=1,R<=c&&K(0,0,R).then(e=>{s(11,o=e),s(12,N=o.games.items),N.forEach(e=>{e.isFavorite=Q(e.id)})})},Q=t=>!!d&&-1!==d.findIndex(e=>e.id==t),ee=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return be(()=>(window.addEventListener("message",q,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",q)})),e.$$set=e=>{"endpoint"in e&&s(0,f=e.endpoint),"datasource"in e&&s(30,p=e.datasource),"lang"in e&&s(1,g=e.lang),"session"in e&&s(2,y=e.session),"userid"in e&&s(3,v=e.userid),"favorites"in e&&s(4,b=e.favorites),"clientstyling"in e&&s(5,w=e.clientstyling),"clientstylingurl"in e&&s(6,_=e.clientstylingurl),"currency"in e&&s(7,S=e.currency),"categoryid"in e&&s(29,x=e.categoryid),"categoryindex"in e&&s(31,E=e.categoryindex),"categorygames"in e&&s(32,T=e.categorygames),"livecasino"in e&&s(8,G=e.livecasino),"once"in e&&s(33,M=e.once),"top"in e&&s(34,L=e.top),"bottom"in e&&s(35,C=e.bottom),"left"in e&&s(36,k=e.left),"right"in e&&s(37,I=e.right)},e.$$.update=()=>{512&e.$$.dirty[0]|128&e.$$.dirty[1]&&m&&W&&B&&W.forEach((e,t)=>{e&&(e.elems_index=t,X.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&w&&(()=>{let e=document.createElement("style");e.innerHTML=w,setTimeout(()=>{h.appendChild(e)})})(),64&e.$$.dirty[0]&&_&&(()=>{let t=document.createElement("style");fetch(new URL(_)).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)})})()},[f,g,y,v,b,w,_,S,G,W,D,o,N,P,A,$,U,Y,j,l,u,H,h,V,"",Z,n,F,ee,x,p,E,T,M,L,C,k,I,m,function(e){we[e?"unshift":"push"](()=>{u=e,s(20,u)})},e=>ee(o.id,o),function(e,t){we[e?"unshift":"push"](()=>{W[t]=e,s(9,W)})},function(e){we[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){we[e?"unshift":"push"](()=>{u=e,s(20,u)})},function(e){we[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){we[e?"unshift":"push"](()=>{h=e,s(22,h)})}]}class Mi extends M{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}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:12.8px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",G(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Gi,Ei,n,{endpoint:0,datasource:30,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:29,categoryindex:31,categorygames:32,livecasino:8,once:33,top:34,bottom:35,left:36,right:37},[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),E()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categoryindex","categorygames","livecasino","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),E()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$set({datasource:e}),E()}get lang(){return this.$$.ctx[1]}set lang(e){this.$set({lang:e}),E()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),E()}get userid(){return this.$$.ctx[3]}set userid(e){this.$set({userid:e}),E()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$set({favorites:e}),E()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),E()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),E()}get currency(){return this.$$.ctx[7]}set currency(e){this.$set({currency:e}),E()}get categoryid(){return this.$$.ctx[29]}set categoryid(e){this.$set({categoryid:e}),E()}get categoryindex(){return this.$$.ctx[31]}set categoryindex(e){this.$set({categoryindex:e}),E()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$set({categorygames:e}),E()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$set({livecasino:e}),E()}get once(){return this.$$.ctx[33]}set once(e){this.$set({once:e}),E()}get top(){return this.$$.ctx[34]}set top(e){this.$set({top:e}),E()}get bottom(){return this.$$.ctx[35]}set bottom(e){this.$set({bottom:e}),E()}get left(){return this.$$.ctx[36]}set left(e){this.$set({left:e}),E()}get right(){return this.$$.ctx[37]}set right(e){this.$set({right:e}),E()}}return customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",Mi),Mi});
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 d(e){return e()}function h(){return Object.create(null)}function X(e){e.forEach(d)}function m(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function f(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(f(t,n))}function K(e,t){e.appendChild(t)}function q(e,t,n){e.insertBefore(t,n||null)}function J(e){e.parentNode.removeChild(e)}function p(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Q(e){return document.createElement(e)}function u(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function t(e){return document.createTextNode(e)}function ee(){return t(" ")}function l(){return t("")}function te(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function ne(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]=n:ne(e,t,n)}function re(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function g(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}class y{constructor(e=null){this.a=e,this.e=this.n=null}m(e,t,n=null){this.e||(this.e=Q(t.nodeName),this.t=t,this.h(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)q(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(J)}}function r(e){const t={};for(const n of e)t[n.name]=n.value;return t}let v;function b(e){v=e}function be(e){!function(){if(!v)throw new Error("Function called outside component initialization");return v}().$$.on_mount.push(e)}const _=[],we=[],i=[],e=[],a=Promise.resolve();let o=!1;function S(){o||(o=!0,a.then(E))}function _e(){return S(),a}function x(e){i.push(e)}let s=!1;const c=new Set;function E(){if(!s){s=!0;do{for(let e=0;e<_.length;e+=1){var t=_[e];b(t),function(e){{var t;null!==e.fragment&&(e.update(),X(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(x))}}(t.$$)}for(b(null),_.length=0;we.length;)we.pop()();for(let e=0;e<i.length;e+=1){const n=i[e];c.has(n)||(c.add(n),n())}}while(i.length=0,_.length);for(;e.length;)e.pop()();o=!1,s=!1,c.clear()}}const T=new Set;function G(r,e,t,n,i,a,o=[-1]){var s,l=v;b(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:h(),dirty:o,skip_bound:!1};let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(_.push(e),S(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,X(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const Z=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(Z),Z.forEach(J)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(T.delete(s),s.i(void 0)),function(t,e,n,r){const{fragment:i,on_mount:a,on_destroy:o,after_update:s}=t.$$;i&&i.m(e,n),r||x(()=>{var e=a.map(d).filter(m);o?o.push(...e):X(e),t.$$.on_mount=[]}),s.forEach(x)}(r,e.target,e.anchor,e.customElement),E()}b(l)}let M;"function"==typeof HTMLElement&&(M=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(d).filter(m);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){X(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(X(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),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 L,C,k="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==k&&k,I="URLSearchParams"in k,D="Symbol"in k&&"iterator"in Symbol,O="FileReader"in k&&"Blob"in k&&function(){try{return new Blob,!0}catch(e){return!1}}(),F="FormData"in k,N="ArrayBuffer"in k;function P(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 R(e){return e="string"!=typeof e?String(e):e}function A(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return D&&(e[Symbol.iterator]=function(){return e}),e}function $(t){this.map={},t instanceof $?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 U(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Y(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function j(e){var t=new FileReader,n=Y(t);return t.readAsArrayBuffer(e),n}function H(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function z(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:O&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:F&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:I&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():N&&O&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=H(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):N&&(ArrayBuffer.prototype.isPrototypeOf(e)||C(e))?this._bodyArrayBuffer=H(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):I&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},O&&(this.blob=function(){var e=U(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?U(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(j)}),this.text=function(){var e,t,n=U(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,n=Y(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},F&&(this.formData=function(){return this.text().then(V)}),this.json=function(){return this.text().then(JSON.parse)},this}N&&(L=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],C=ArrayBuffer.isView||function(e){return e&&-1<L.indexOf(Object.prototype.toString.call(e))}),$.prototype.append=function(e,t){e=P(e),t=R(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},$.prototype.delete=function(e){delete this.map[P(e)]},$.prototype.get=function(e){return e=P(e),this.has(e)?this.map[e]:null},$.prototype.has=function(e){return this.map.hasOwnProperty(P(e))},$.prototype.set=function(e,t){this.map[P(e)]=R(t)},$.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},$.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),A(n)},$.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),A(t)},$.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),A(n)},D&&($.prototype[Symbol.iterator]=$.prototype.entries);var B=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function W(e,t){if(!(this instanceof W))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 W){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new $(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 $(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<B.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function V(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function ie(e,t){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');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 $(t.headers),this.url=t.url||"",this._initBody(e)}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})},z.call(W.prototype),z.call(ie.prototype),ie.prototype.clone=function(){return new ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new $(this.headers),url:this.url})},ie.error=function(){var e=new ie(null,{status:0,statusText:""});return e.type="error",e};var ae=[301,302,303,307,308];ie.redirect=function(e,t){if(-1===ae.indexOf(t))throw new RangeError("Invalid status code");return new ie(null,{status:t,headers:{location:e}})};var oe=k.DOMException;try{new oe}catch(Z){(oe=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),oe.prototype.constructor=oe}function se(r,o){return new Promise(function(i,e){var t=new W(r,o);if(t.signal&&t.signal.aborted)return e(new oe("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new $,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;setTimeout(function(){i(new ie(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new oe("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&k.location.href?k.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(O?a.responseType="blob":N&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof $?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,R(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function In(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}se.polyfill=!0,k.fetch||(k.fetch=se,k.Headers=$,k.Request=W,k.Response=ie),self.fetch.bind(self);var le=function(e,t){return(le=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 ce(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}le(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ue(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function de(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function he(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function me(e){return"function"==typeof e}function fe(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=fe(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function ge(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var ye=(xe.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=ue(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(me(a))try{a()}catch(e){i=e instanceof pe?e.errors:[e]}a=this._teardowns;if(a){this._teardowns=null;try{for(var l=ue(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{Te(u)}catch(e){i=null!=i?i:[],e instanceof pe?i=he(he([],de(i)),de(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new pe(i)}},xe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Te(e);else{if(e instanceof xe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},xe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},xe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},xe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ge(t,e)},xe.prototype.remove=function(e){var t=this._teardowns;t&&ge(t,e),e instanceof xe&&e._removeParent(this)},xe.EMPTY=((Vt=new xe).closed=!0,Vt),xe),Se=ye.EMPTY;function xe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Ee(e){return e instanceof ye||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function Te(e){me(e)?e():e.unsubscribe()}var Ge=void 0,Me=!1,Le=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,he([],de(e)))};function Ce(){}function ke(e){e()}var Ie,De,Oe=(ce(Pe,De=ye),Pe.create=function(e,t,n){return new Fe(e,t,n)},Pe.prototype.next=function(e){this.isStopped||this._next(e)},Pe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Pe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Pe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,De.prototype.unsubscribe.call(this),this.destination=null)},Pe.prototype._next=function(e){this.destination.next(e)},Pe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Pe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Pe),Fe=(ce(Ne,Ie=Oe),Ne);function Ne(e,t,n){var r,i,a=Ie.call(this)||this;return me(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,a&&Me?(r=Object.create(e)).unsubscribe=function(){return a.unsubscribe()}:r=e,i=null==i?void 0:i.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),a.destination={next:i?Re(i):Ce,error:Re(null!=t?t:Ae),complete:n?Re(n):Ce},a}function Pe(e){var t=De.call(this)||this;return t.isStopped=!1,e?Ee(t.destination=e)&&e.add(t):t.destination=$e,t}function Re(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,he([],de(e)))}catch(e){t=e,Le(function(){throw t})}}}function Ae(e){throw e}var $e={closed:!0,next:Ce,error:Ae,complete:Ce},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var je=(He.prototype.lift=function(e){var t=new He;return t.source=this,t.operator=e,t},He.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Oe||r&&me(r.next)&&me(r.error)&&me(r.complete)&&Ee(r)?e:new Fe(e,t,n);return ke(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},He.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},He.prototype.forEach=function(r,e){var i=this;return new(e=ze(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},He.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},He.prototype[Ue]=function(){return this},He.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Ye:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},He.prototype.toPromise=function(e){var r=this;return new(e=ze(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},He.create=function(e){return new He(e)},He);function He(e){e&&(this._subscribe=e)}function ze(e){return null!==(e=null!=e?e:Ge)&&void 0!==e?e:Promise}var Be,We,Ve,Ze=fe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Xe=(ce(tt,Ve=je),tt.prototype.lift=function(e){var t=new Ke(this,this);return t.operator=e,t},tt.prototype._throwIfClosed=function(){if(this.closed)throw new Ze},tt.prototype.next=function(a){var o=this;ke(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){var n=o.observers.slice();try{for(var r=ue(n),i=r.next();!i.done;i=r.next())i.value.next(a)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},tt.prototype.error=function(t){var n=this;ke(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},tt.prototype.complete=function(){var t=this;ke(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},tt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(tt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),tt.prototype._trySubscribe=function(e){return this._throwIfClosed(),Ve.prototype._trySubscribe.call(this,e)},tt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},tt.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?Se:(r.push(e),new ye(function(){return ge(r,e)}))},tt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},tt.prototype.asObservable=function(){var e=new je;return e.source=this,e},tt.create=function(e,t){return new Ke(e,t)},tt),Ke=(ce(et,We=Xe),et.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},et.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},et.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},et.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Se},et),qe={now:function(){return(qe.delegate||Date).now()},delegate:void 0},Je=(ce(Qe,Be=Xe),Qe.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(a.now()+t)),this._trimBuffer(),Be.prototype.next.call(this,e)},Qe.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},Qe.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},Qe);function Qe(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=qe);var r=Be.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 et(e,t){var n=We.call(this)||this;return n.destination=e,n.source=t,n}function tt(){var e=Ve.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let nt=[],rt={};const it=[];function at(r,i=Z){let a;const o=[];function s(e){if(n(r,e)&&(r=e,a)){const e=!it.length;for(let e=0;e<o.length;e+=1){const t=o[e];t[1](),it.push(t,r)}if(e){for(let e=0;e<it.length;e+=2)it[e][0](it[e+1]);it.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.push(n),1===o.length&&(a=i(s)||Z),e(r),()=>{var e=o.indexOf(n);-1!==e&&o.splice(e,1),0===o.length&&(a(),a=null)}}}}function ot(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:at(t,t=>{let n=!1;const r=[];let i=0,a=Z;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),u?t(e):a=m(e)?e:Z)},e=c.map((e,t)=>f(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){X(e),a()}}).subscribe}}var st=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===lt));var t},lt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ct(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ft(Array.isArray(e)?[]:{},e,t):e}function ut(e,t,n){return e.concat(t).map(function(e){return ct(e,n)})}function dt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function ht(e,t){try{return t in e}catch(e){return!1}}function mt(r,i,a){var o={};return a.isMergeableObject(r)&&dt(r).forEach(function(e){o[e]=ct(r[e],a)}),dt(i).forEach(function(t){var e,n;(!ht(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(ht(r,t)&&a.isMergeableObject(i[t])?o[t]=function(){if(!a.customMerge)return ft;var e=a.customMerge(t);return"function"==typeof e?e:ft}()(r[t],i[t],a):o[t]=ct(i[t],a))}),o}function ft(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||ut,n.isMergeableObject=n.isMergeableObject||st,n.cloneUnlessOtherwiseSpecified=ct;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):mt(e,t,n):ct(t,n)}ft.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return ft(e,t,n)},{})};var pt=ft,gt=function(e,t){return(gt=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 yt(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}gt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var vt,bt,wt,_t=function(){return(_t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function St(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function xt(e){return e.type===bt.literal}function Et(e){return e.type===bt.number}function Tt(e){return e.type===bt.date}function Gt(e){return e.type===bt.time}function Mt(e){return e.type===bt.select}function Lt(e){return e.type===bt.plural}function Ct(e){return e.type===bt.tag}function kt(e){return e&&"object"==typeof e&&e.type===wt.number}function It(e){return e&&"object"==typeof e&&e.type===wt.dateTime}(Zt=vt=vt||{})[Zt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Zt[Zt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Zt[Zt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Zt[Zt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Zt[Zt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Zt[Zt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Zt[Zt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Zt[Zt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Zt[Zt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Zt[Zt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Zt[Zt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Zt[Zt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Zt[Zt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Zt[Zt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Zt[Zt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Zt[Zt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Zt[Zt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Zt[Zt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Zt[Zt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Zt[Zt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Zt[Zt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Zt[Zt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Zt[Zt.INVALID_TAG=23]="INVALID_TAG",Zt[Zt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Zt[Zt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Zt[Zt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Xt=bt=bt||{})[Xt.literal=0]="literal",Xt[Xt.argument=1]="argument",Xt[Xt.number=2]="number",Xt[Xt.date=3]="date",Xt[Xt.time=4]="time",Xt[Xt.select=5]="select",Xt[Xt.plural=6]="plural",Xt[Xt.pound=7]="pound",Xt[Xt.tag=8]="tag",(Kt=wt=wt||{})[Kt.number=0]="number",Kt[Kt.dateTime=1]="dateTime";var Dt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ot=/(?:[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 Ft,Nt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Rt=/^(@+)?(\+|#+)?$/g,At=/(\*)(0+)|(#+)(0+)|(0+)/g,$t=/^(0+)$/;function Ut(e){var r={};return e.replace(Rt,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 Yt(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 jt(e){return Yt(e)||{}}function Ht(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=_t(_t(_t({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return _t(_t({},e),jt(t))},{}));continue;case"engineering":o=_t(_t(_t({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return _t(_t({},e),jt(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(At,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if($t.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(Pt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Pt,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""}),i.options.length&&(o=_t(_t({},o),Ut(i.options[0])))}else Rt.test(i.stem)?o=_t(_t({},o),Ut(i.stem)):((r=Yt(i.stem))&&(o=_t(_t({},o),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!$t.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=_t(_t({},o),r)))}return o}var zt=new RegExp("^"+Dt.source+"*"),Bt=new RegExp(Dt.source+"*$");function Wt(e,t){return{start:e,end:t}}var Vt=!!String.prototype.startsWith,Ue=!!String.fromCodePoint,Xe=!!Object.fromEntries,Zt=!!String.prototype.codePointAt,Xt=!!String.prototype.trimStart,Kt=!!String.prototype.trimEnd,qt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dt=!0;try{Dt="a"===(null===(Ft=sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ft?void 0:Ft[0])}catch(Z){Dt=!1}var Jt,Qt,en=Vt?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},tn=Ue?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},nn=Xe?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},rn=Zt?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},an=Xt?function(e){return e.trimStart()}:function(e){return e.replace(zt,"")},on=Kt?function(e){return e.trimEnd()}:function(e){return e.replace(Bt,"")};function sn(e,t){return new RegExp(e,t)}Qt=Dt?(Jt=sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Jt.lastIndex=t,null!==(e=Jt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=rn(e,t);if(void 0===i||dn(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return tn.apply(void 0,r)};var ln=(cn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},cn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(vt.UNMATCHED_CLOSING_TAG,Wt(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&un(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:bt.pound,location:Wt(a,this.clonePosition())})}}}return{val:r,err:null}},cn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:bt.literal,value:"<"+r+"/>",location:Wt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!un(this.char()))return this.error(vt.INVALID_TAG,Wt(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(vt.UNMATCHED_CLOSING_TAG,Wt(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:bt.tag,value:r,children:e,location:Wt(n,this.clonePosition())},err:null}:this.error(vt.INVALID_TAG,Wt(t,this.clonePosition())))}return this.error(vt.UNCLOSED_TAG,Wt(n,this.clonePosition()))}return this.error(vt.INVALID_TAG,Wt(n,this.clonePosition()))},cn.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())},cn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=Wt(n,this.clonePosition());return{val:{type:bt.literal,value:r,location:n},err:null}},cn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(un(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},cn.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return tn.apply(void 0,t)},cn.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),tn(n))},cn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(vt.EXPECT_ARGUMENT_CLOSING_BRACE,Wt(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(vt.EMPTY_ARGUMENT,Wt(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(vt.MALFORMED_ARGUMENT,Wt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(vt.EXPECT_ARGUMENT_CLOSING_BRACE,Wt(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:bt.argument,value:r,location:Wt(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(vt.EXPECT_ARGUMENT_CLOSING_BRACE,Wt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(vt.MALFORMED_ARGUMENT,Wt(n,this.clonePosition()))}},cn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Qt(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Wt(e,this.clonePosition())}},cn.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(vt.EXPECT_ARGUMENT_TYPE,Wt(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=on(h.val)).length)return this.error(vt.EXPECT_ARGUMENT_STYLE,Wt(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:Wt(c,this.clonePosition())}}if((m=this.tryParseArgumentClose(r)).err)return m;var u=Wt(r,this.clonePosition());if(l&&en(null==l?void 0:l.style,"::",0)){c=an(l.style.slice(2));if("number"===o)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:bt.number,value:n,location:u,style:h.val},err:null};if(0===c.length)return this.error(vt.EXPECT_DATE_TIME_SKELETON,u);var d={type:wt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(Ot,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===o?bt.date:bt.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===o?bt.number:"date"===o?bt.date:bt.time,value:n,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(vt.EXPECT_SELECT_ARGUMENT_OPTIONS,Wt(l,_t({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==o&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(vt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Wt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(vt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,vt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=h.val}u=this.tryParsePluralOrSelectOptions(e,o,t,u);if(u.err)return u;if((m=this.tryParseArgumentClose(r)).err)return m;var m=Wt(r,this.clonePosition());return"select"===o?{val:{type:bt.select,value:n,options:nn(u.val),location:m},err:null}:{val:{type:bt.plural,value:n,options:nn(u.val),offset:l,pluralType:"plural"===o?"cardinal":"ordinal",location:m},err:null};default:return this.error(vt.INVALID_ARGUMENT_TYPE,Wt(a,s))}},cn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(vt.EXPECT_ARGUMENT_CLOSING_BRACE,Wt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},cn.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(vt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Wt(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}},cn.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(Nt).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(vt.INVALID_NUMBER_SKELETON,t)}return{val:{type:wt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ht(n):{}},err:null}},cn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(vt.EXPECT_PLURAL_ARGUMENT_SELECTOR,vt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Wt(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?vt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:vt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?vt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:vt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Wt(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;c=this.tryParseArgumentClose(d);if(c.err)return c;a.push([s,{value:u.val,location:Wt(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?vt.EXPECT_SELECT_ARGUMENT_SELECTOR:vt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Wt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(vt.MISSING_OTHER_CLAUSE,Wt(this.clonePosition(),this.clonePosition())):{val:a,err:null}},cn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=Wt(r,this.clonePosition());return i?qt(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},cn.prototype.offset=function(){return this.position.offset},cn.prototype.isEOF=function(){return this.offset()===this.message.length},cn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},cn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=rn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},cn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},cn.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))},cn.prototype.bumpIf=function(e){if(en(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},cn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},cn.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},cn.prototype.bumpSpace=function(){for(;!this.isEOF()&&dn(this.char());)this.bump()},cn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},cn);function cn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function un(e){return 97<=e&&e<=122||65<=e&&e<=90}function dn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function hn(e,t){t=_t({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new ln(e,t).parse();if(n.err){e=SyntaxError(vt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Mt(e)||Lt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Et(e)&&kt(e.style)||(Tt(e)||Gt(e))&&It(e.style)?delete e.style.location:Ct(e)&&n(e.children)})}(n.val),n.val}function mn(e,t){var n=t&&t.cache?t.cache:wn,r=t&&t.serializer?t.serializer:yn;return(t&&t.strategy?t.strategy:function(e,t){return gn(e,this,1===e.length?fn:pn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function fn(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function pn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function gn(e,t,n,r,i){return n.bind(t,e,r,i)}var yn=function(){return JSON.stringify(arguments)};function vn(){this.cache=Object.create(null)}vn.prototype.has=function(e){return e in this.cache},vn.prototype.get=function(e){return this.cache[e]},vn.prototype.set=function(e,t){this.cache[e]=t};var bn,wn={create:function(){return new vn}},_n={variadic:function(e,t){return gn(e,this,pn,t.cache.create(),t.serializer)},monadic:function(e,t){return gn(e,this,fn,t.cache.create(),t.serializer)}};(Dt=bn=bn||{}).MISSING_VALUE="MISSING_VALUE",Dt.INVALID_VALUE="INVALID_VALUE",Dt.MISSING_INTL_API="MISSING_INTL_API";var Sn,xn,En,Tn,Gn,Mn=(yt(Nn,Gn=Error),Nn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Nn),Ln=(yt(Fn,Tn=Mn),Fn),Cn=(yt(On,En=Mn),On),kn=(yt(Dn,xn=Mn),Dn);function Dn(e,t){return xn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',bn.MISSING_VALUE,t)||this}function On(e,t,n){return En.call(this,'Value for "'+e+'" must be of type '+t,bn.INVALID_VALUE,n)||this}function Fn(e,t,n,r){return Tn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',bn.INVALID_VALUE,r)||this}function Nn(e,t,n){e=Gn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Pn(e,t,n,r,i,a,o){if(1===e.length&&xt(e[0]))return[{type:Sn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(xt(u))s.push({type:Sn.literal,value:u.value});else if(u.type===bt.pound)"number"==typeof a&&s.push({type:Sn.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new kn(d,o);var h=i[d];if(u.type===bt.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Sn.literal:Sn.object,value:h});else if(Tt(u)){var m="string"==typeof u.style?r.date[u.style]:It(u.style)?u.style.parsedOptions:void 0;s.push({type:Sn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(Gt(u))m="string"==typeof u.style?r.time[u.style]:It(u.style)?u.style.parsedOptions:void 0,s.push({type:Sn.literal,value:n.getDateTimeFormat(t,m).format(h)});else if(Et(u))(m="string"==typeof u.style?r.number[u.style]:kt(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Sn.literal,value:n.getNumberFormat(t,m).format(h)});else{if(Ct(u)){var f=u.children,p=u.value,d=i[p];if("function"!=typeof d)throw new Cn(p,"function",o);f=d(Pn(f,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),s.push.apply(s,f.map(function(e){return{type:"string"==typeof e?Sn.literal:Sn.object,value:e}}))}if(Mt(u)){if(!(g=u.options[h]||u.options.other))throw new Ln(u.value,h,Object.keys(u.options),o);s.push.apply(s,Pn(g.value,t,n,r,i))}else if(Lt(u)){if(!(g=u.options["="+h])){if(!Intl.PluralRules)throw new Mn('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(h-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new Ln(u.value,h,Object.keys(u.options),o);s.push.apply(s,Pn(g.value,t,n,r,i,h-(u.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Sn.literal&&t.type===Sn.literal?n.value+=t.value:e.push(t),e},[])}function Rn(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(Dt=Sn=Sn||{})[Dt.literal=0]="literal",Dt[Dt.object=1]="object";var An=(Object.defineProperty($n,"defaultLocale",{get:function(){return $n.memoizedDefaultLocale||($n.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),$n.memoizedDefaultLocale},enumerable:!1,configurable:!0}),$n.memoizedDefaultLocale=null,$n.__parse=hn,$n.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},$n);function $n(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=$n.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===Sn.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 Pn(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof e){if(this.message=e,!$n.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=$n.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=$n.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?_t(_t(_t({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=_t(_t({},n[t]),r[t]||{}),e},{})):n),e},_t({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:mn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,St([void 0],t)))},{cache:Rn((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:_n.variadic}),getDateTimeFormat:mn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,St([void 0],t)))},{cache:Rn(r.dateTime),strategy:_n.variadic}),getPluralRules:mn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,St([void 0],t)))},{cache:Rn(r.pluralRules),strategy:_n.variadic})}}const Un={},Yn=(t,n)=>{if(null!=n){if(n in Un&&t in Un[n])return Un[n][t];var r,i,a=rr(n);for(let e=0;e<a.length;e++){var o=(r=a[e],i=t,zn(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return jn[e]||null}(r),i):null);if(o)return r=t,i=n,(o=o)&&(i in Un||(Un[i]={}),r in Un[i]||(Un[i][r]=o),o)}}};let jn;const Hn=at({});function zn(e){return e in jn}function Bn(t,...n){delete Un[t],Hn.update(e=>(e[t]=pt.all([e[t]||{},...n]),e))}ot([Hn],([e])=>Object.keys(e)),Hn.subscribe(e=>jn=e);const Wn={};function Vn(e){return Wn[e]}function Zn(e){return rr(e).some(e=>{return null===(e=Vn(e))||void 0===e?void 0:e.size})}const Xn={};function Kn(e){if(!Zn(e))return e in Xn?Xn[e]:void 0;const t=rr(e).map(e=>{var t=Vn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Xn[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){Wn[e].delete(t),0===Wn[e].size&&delete Wn[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Bn(t,...e))}(e))).then(()=>Zn(e)?Kn(e):void delete Xn[e]),Xn[e]}function qn(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Jn={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const Qn=at(!1);let er;const tr=at(null);function nr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function rr(e,t=Jn.fallbackLocale){e=nr(e);return t?[...new Set([...e,...nr(t)])]:e}tr.subscribe(e=>{er=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const ir=tr.set;tr.set=t=>{if(function(e){if(null!=e){var t=rr(e);for(let e=0;e<t.length;e++){var n=t[e];if(zn(n))return n}}}(t)&&Zn(t)){var{loadingDelay:n}=Jn;let e;return"undefined"!=typeof window&&null!=er&&n?e=window.setTimeout(()=>Qn.set(!0),n):Qn.set(!0),Kn(t).then(()=>{ir(t)}).finally(()=>{clearTimeout(e),Qn.set(!1)})}return ir(t)},tr.update=e=>ir(e(er));const ar=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},or=(e,t)=>{var{formats:n}=Jn;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},sr=ar(e=>{var{locale:t,format:n}=e,e=qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=or("number",n)),new Intl.NumberFormat(t,e)}),lr=ar(e=>{var{locale:t,format:n}=e,e=qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=or("date",n):0===Object.keys(e).length&&(e=or("date","short")),new Intl.DateTimeFormat(t,e)}),cr=ar(e=>{var{locale:t,format:n}=e,e=qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=or("time",n):0===Object.keys(e).length&&(e=or("time","short")),new Intl.DateTimeFormat(t,e)}),ur=ar((e,t=er)=>new An(e,t,Jn.formats,{ignoreTag:Jn.ignoreTag})),dr=ot([tr,Hn],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=er,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let a=Yn(e,r);if(a){if("string"!=typeof a)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof a}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),a}else Jn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${rr(r).join('", "')}".${Zn(er)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),a=i||e;if(!n)return a;let o=a;try{o=ur(a,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return o});ot([tr],()=>(e,t)=>((e={})=>{var{locale:t=er}=e,e=qn(e,["locale"]);return cr(Object.assign({locale:t},e))})(t).format(e)),ot([tr],()=>(e,t)=>((e={})=>{var{locale:t=er}=e,e=qn(e,["locale"]);return lr(Object.assign({locale:t},e))})(t).format(e)),ot([tr],()=>(e,t)=>((e={})=>{var{locale:t=er}=e,e=qn(e,["locale"]);return sr(Object.assign({locale:t},e))})(t).format(e)),ot([tr,Hn],()=>(e,t=er)=>Yn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==nt.indexOf(e)&&(t=new Je(t),rt[e]=t,nt.push(e)),rt[e]}};const hr=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),mr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",fr={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again."}},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:"Montre plus",viewAll:"Voir tout",searchedItems:"Articles recherchés",recentSearchedItems:"Articles recherchés récemment",noRecentSearch:"Aucune recherche n'a encore commencé. Recherchez simplement un jeu.",noResults:"Désolé, aucun résultat trouvé. Veuillez réessayer"}},es:{gamesCategorySection:{showMore:"Mostrar más",viewAll:"Ver todo",searchedItems:"Artículos buscados",recentSearchedItems:"Elementos buscados recientemente",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo"}},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",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"}},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:"Mostrar tudo",searchedItems:"Procurar resultado",recentSearchedItems:"Pesquisado recentemente",noRecentSearch:"Nenhuma pesquisa iniciada. Pesquisar simplesmente um jogo.",noResults:"Desculpe, sem qualquer correspondência. Por favor, tente novamente."}},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."}}};var pr,gr,yr=(gr=pr={path:void 0,exports:{},require:function(e,t){return In(null==t&&pr.path)}},pr.exports,gr.exports=function(){var e;function f(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function a(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=0;r<e.length;++r)n.push(t(e[r],r));return n}function u(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return Ct(e,t,n,r,!0).utc()}function p(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 h(e){if(null==e._isValid){var t=p(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 g(e){var t=d(NaN);return null!=e?u(p(t),e):p(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},v=f.momentProperties=[],t=!1;function b(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=p(t)),a(t._locale)||(e._locale=t._locale),0<v.length)for(n=0;n<v.length;n++)a(i=t[r=v[n]])||(e[r]=i);return e}function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,f.updateOffset(this),t=!1)}function _(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function S(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,a){var o=!0;return u(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,i),o){for(var e,t,n=[],r=0;r<arguments.length;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}S(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var x={};function E(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),x[e]||(S(t),x[e]=!0)}function T(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function G(e,t){var n,r=u({},e);for(n in t)m(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)m(e,n)&&!m(t,n)&&s(e[n])&&(r[n]=u({},r[n]));return r}function M(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var L=Object.keys||function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};function C(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 k=/(\[[^\[]*\])|(\\)?([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,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D={},O={};function F(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(O[e]=i),t&&(O[t[0]]=function(){return C(i.apply(this,arguments),t[1],t[2])}),n&&(O[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=P(t,e.localeData()),D[t]=D[t]||function(r){for(var e,i=r.match(k),t=0,a=i.length;t<a;t++)O[i[t]]?i[t]=O[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=T(i[n])?i[n].call(e,r):i[n];return t}}(t),D[t](e)):e.localeData().invalidDate()}function P(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(I.lastIndex=0;0<=n&&I.test(e);)e=e.replace(I,r),I.lastIndex=0,--n;return e}var R={};function A(e,t){var n=e.toLowerCase();R[n]=R[n+"s"]=R[t]=e}function $(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)m(e,n)&&(t=$(n))&&(r[t]=e[n]);return r}var Y={};function j(e,t){Y[e]=t}function H(e){return e%4==0&&e%100!=0||e%400==0}function z(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function B(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?z(t):e}function W(t,n){return function(e){return null!=e?(Z(this,t,e),f.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&H(e.year())&&1===e.month()&&29===e.date()?(n=B(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Le(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X=/\d/,K=/\d\d/,q=/\d{3}/,J=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ie=/\d{1,4}/,ae=/[+-]?\d{1,6}/,oe=/\d+/,se=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[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 de(e,n,r){fe[e]=T(n)?n:function(e,t){return e&&r?r:n}}function he(e,t){return m(fe,e)?fe[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={},pe={};function ge(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),c(n)&&(r=function(e,t){t[n]=B(e)}),t=0;t<e.length;t++)pe[e[t]]=r}function ye(e,i){ge(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var ve,be=0,we=1,_e=2,Se=3,xe=4,Ee=5,Te=6,Ge=7,Me=8;function Le(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?H(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},F("M",["MM",2],"Mo",function(){return this.month()+1}),F("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),F("MMMM",0,0,function(e){return this.localeData().months(this,e)}),A("month","M"),j("month",8),de("M",ee),de("MM",ee,K),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[we]=B(e)-1}),ge(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[we]=r:p(n).invalidMonth=e});var Ce="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ke="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=ue,Oe=ue;function Fe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=B(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Le(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ne(e){return null!=e?(Fe(this,e),f.updateOffset(this,!0),this):V(this,"Month")}function Pe(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=d([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=me(n[a]),r[a]=me(r[a]);for(a=0;a<24;a++)i[a]=me(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Re(e){return H(e)?366:365}F("Y",0,0,function(){var e=this.year();return e<=9999?C(e,4):"+"+e}),F(0,["YY",2],0,function(){return this.year()%100}),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),A("year","y"),j("year",1),de("Y",se),de("YY",ee,K),de("YYYY",ie,J),de("YYYYY",ae,Q),de("YYYYYY",ae,Q),ge(["YYYYY","YYYYYY"],be),ge("YYYY",function(e,t){t[be]=2===e.length?f.parseTwoDigitYear(e):B(e)}),ge("YY",function(e,t){t[be]=f.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[be]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return B(e)+(68<B(e)?1900:2e3)};var Ae=W("FullYear",!0);function $e(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Ue(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 Ye(e,t,n){n=7+t-n;return-(7+Ue(e,0,n).getUTCDay()-t)%7+n-1}function je(e,t,n,r,i){var a,i=1+7*(t-1)+(7+n-r)%7+Ye(e,r,i),i=i<=0?Re(a=e-1)+i:i>Re(e)?(a=e+1,i-Re(e)):(a=e,i);return{year:a,dayOfYear:i}}function He(e,t,n){var r,i,a=Ye(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+ze(i=e.year()-1,t,n):a>ze(e.year(),t,n)?(r=a-ze(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function ze(e,t,n){var r=Ye(e,t,n),n=Ye(e+1,t,n);return(Re(e)-r+n)/7}F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),A("week","w"),A("isoWeek","W"),j("week",5),j("isoWeek",5),de("w",ee),de("ww",ee,K),de("W",ee),de("WW",ee,K),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=B(e)});function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}F("d",0,"do","day"),F("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),F("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),F("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),A("day","d"),A("weekday","e"),A("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),de("d",ee),de("e",ee),de("E",ee),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:p(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,r){t[r]=B(e)});var We="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ue,Ke=ue,qe=ue;function Je(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=d([2e3,1]).day(l),t=me(this.weekdaysMin(r,"")),n=me(this.weekdaysShort(r,"")),r=me(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){F(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}F("H",["HH",2],0,"hour"),F("h",["hh",2],0,Qe),F("k",["kk",2],0,function(){return this.hours()||24}),F("hmm",0,0,function(){return""+Qe.apply(this)+C(this.minutes(),2)}),F("hmmss",0,0,function(){return""+Qe.apply(this)+C(this.minutes(),2)+C(this.seconds(),2)}),F("Hmm",0,0,function(){return""+this.hours()+C(this.minutes(),2)}),F("Hmmss",0,0,function(){return""+this.hours()+C(this.minutes(),2)+C(this.seconds(),2)}),et("a",!0),et("A",!1),A("hour","h"),j("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,K),de("hh",ee,K),de("kk",ee,K),de("hmm",te),de("hmmss",ne),de("Hmm",te),de("Hmmss",ne),ge(["H","HH"],Se),ge(["k","kk"],function(e,t,n){e=B(e);t[Se]=24===e?0:e}),ge(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ge(["h","hh"],function(e,t,n){t[Se]=B(e),p(n).bigHour=!0}),ge("hmm",function(e,t,n){var r=e.length-2;t[Se]=B(e.substr(0,r)),t[xe]=B(e.substr(r)),p(n).bigHour=!0}),ge("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Se]=B(e.substr(0,r)),t[xe]=B(e.substr(r,2)),t[Ee]=B(e.substr(i)),p(n).bigHour=!0}),ge("Hmm",function(e,t,n){var r=e.length-2;t[Se]=B(e.substr(0,r)),t[xe]=B(e.substr(r))}),ge("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Se]=B(e.substr(0,r)),t[xe]=B(e.substr(r,2)),t[Ee]=B(e.substr(i))});var nt=W("Hours",!0);var rt,it={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:Ce,monthsShort:ke,week:{dow:0,doy:6},weekdays:We,weekdaysMin:Ze,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},at={},ot={};function st(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=st(e[a]).split("-")).length,n=(n=st(e[a+1]))?n.split("-"):null;0<t;){if(r=ct(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return rt}function ct(t){var e;if(void 0===at[t]&&gr&&gr.exports)try{e=rt._abbr,In(),ut(e)}catch(e){at[t]=null}return at[t]}function ut(e,t){return e&&((t=a(t)?ht(e):dt(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function dt(e,t){if(null===t)return delete at[e],null;var n,r=it;if(t.abbr=e,null!=at[e])E("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=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])r=at[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;r=n._config}return at[e]=new M(G(r,t)),ot[e]&&ot[e].forEach(function(e){dt(e.name,e.config)}),ut(e),at[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!o(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function mt(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[we]<0||11<t[we]?we:t[_e]<1||t[_e]>Le(t[be],t[we])?_e:t[Se]<0||24<t[Se]||24===t[Se]&&(0!==t[xe]||0!==t[Ee]||0!==t[Te])?Se:t[xe]<0||59<t[xe]?xe:t[Ee]<0||59<t[Ee]?Ee:t[Te]<0||999<t[Te]?Te:-1,p(e)._overflowDayOfYear&&(t<be||_e<t)&&(t=_e),p(e)._overflowWeeks&&-1===t&&(t=Ge),p(e)._overflowWeekday&&-1===t&&(t=Me),p(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pt=/^\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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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]],vt=[["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/]],bt=/^\/?Date\((-?\d+)/i,wt=/^(?:(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}))$/,_t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,r,i,a,o,s=e._i,l=ft.exec(s)||pt.exec(s);if(l){for(p(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){i=yt[t][0],r=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=vt.length;t<n;t++)if(vt[t][1].exec(l[3])){a=(l[2]||" ")+vt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Mt(e)}else e._isValid=!1}function xt(e,t,n,r,i,a){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),ke.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&i.push(parseInt(a,10)),i}function Et(e){var t,n,r,i,a=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=xt(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&Ve.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(p(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=a[8],t=a[9],a=a[10],i?_t[i]:t?0:((t=parseInt(a,10))-(a=t%100))/100*60+a),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0)):e._isValid=!1}function Tt(e,t,n){return null!=e?e:null!=t?t:n}function Gt(e){var t,n,r,i,a,o,s,l,c,u,d,h,m=[];if(!e._d){for(d=e,h=new Date(f.now()),n=d._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[_e]&&null==e._a[we]&&(null!=(d=(i=e)._w).GG||null!=d.W||null!=d.E?(l=1,c=4,a=Tt(d.GG,i._a[be],He(kt(),1,4).year),o=Tt(d.W,1),((s=Tt(d.E,1))<1||7<s)&&(u=!0)):(l=i._locale._week.dow,c=i._locale._week.doy,h=He(kt(),l,c),a=Tt(d.gg,i._a[be],h.year),o=Tt(d.w,h.week),null!=d.d?((s=d.d)<0||6<s)&&(u=!0):null!=d.e?(s=d.e+l,(d.e<0||6<d.e)&&(u=!0)):s=l),o<1||o>ze(a,l,c)?p(i)._overflowWeeks=!0:null!=u?p(i)._overflowWeekday=!0:(c=je(a,o,s,l,c),i._a[be]=c.year,i._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(r=Tt(e._a[be],n[be]),(e._dayOfYear>Re(r)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),r=Ue(r,0,e._dayOfYear),e._a[we]=r.getUTCMonth(),e._a[_e]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Se]&&0===e._a[xe]&&0===e._a[Ee]&&0===e._a[Te]&&(e._nextDay=!0,e._a[Se]=0),e._d=(e._useUTC?Ue:$e).apply(null,m),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Se]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(p(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],p(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,a=0,o=P(e._f,e._locale).match(k)||[],s=0;s<o.length;s++)n=o[s],(t=(r.match(he(n,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&p(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),a+=t.length),O[n]?(t?p(e).empty=!1:p(e).unusedTokens.push(n),u=n,h=e,null!=(d=t)&&m(pe,u)&&pe[u](d,h._a,h,u)):e._strict&&!t&&p(e).unusedTokens.push(n);p(e).charsLeftOver=i-a,0<r.length&&p(e).unusedInput.push(r),e._a[Se]<=12&&!0===p(e).bigHour&&0<e._a[Se]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Se]=(l=e._locale,c=e._a[Se],null==(i=e._meridiem)?c:null!=l.meridiemHour?l.meridiemHour(c,i):null!=l.isPM?((i=l.isPM(i))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(c=p(e).era)&&(e._a[be]=e._locale.erasConvertYear(c,e._a[be])),Gt(e),mt(e)}else Et(e);else St(e);var l,c,u,d,h}function Lt(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new w(mt(t)):(i(t)?e._d=t:o(n)?function(e){var t,n,r,i,a,o,s=!1;if(0===e._f.length)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)a=0,o=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Mt(t),h(t)&&(o=!0),a+=p(t).charsLeftOver,a+=10*p(t).unusedTokens.length,p(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));u(e,n||t)}(e):n?Mt(e):a(n=(t=e)._i)?t._d=new Date(f.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=bt.exec(e._i);null===t?(St(e),!1===e._isValid&&(delete e._isValid,Et(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:f.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),Gt(t)):s(n)?function(e){var t,n;e._d||(n=void 0===(t=U(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Gt(e))}(t):c(n)?t._d=new Date(n):f.createFromInputFallback(t),h(e)||(e._d=null),e))}function Ct(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(a=new w(mt(Lt(a=a))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function kt(e,t,n,r){return Ct(e,t,n,r,!1)}f.createFromInputFallback=n("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":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};var It=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),Dt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Ot(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return kt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Ft=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var t=U(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(m(e,t)&&(-1===ve.call(Ft,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Ft.length;++n)if(e[Ft[n]]){if(r)return!1;parseFloat(e[Ft[n]])!==B(e[Ft[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=ht(),this._bubble()}function Pt(e){return e instanceof Nt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,n){F(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+C(~~(e/60),2)+n+C(~~e%60,2)})}At("Z",":"),At("ZZ",""),de("Z",ce),de("ZZ",ce),ge(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(ce,e)});var $t=/([\+\-]|\d\d)/gi;function Ut(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match($t)||["-",0,0])[1]+B(e[2]))?0:"+"===e[0]?t:-t}function Yt(e,t){var n;return t._isUTC?(n=t.clone(),t=(_(e)||i(e)?e:kt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),f.updateOffset(n,!1),n):kt(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}f.updateOffset=function(){};var zt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Bt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Wt(e,t){var n,r,i=e,a=null;return Pt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=zt.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:B(a[_e])*n,h:B(a[Se])*n,m:B(a[xe])*n,s:B(a[Ee])*n,ms:B(Rt(1e3*a[Te]))*n}):(a=Bt.exec(e))?(n="-"===a[1]?-1:1,i={y:Vt(a[2],n),M:Vt(a[3],n),w:Vt(a[4],n),d:Vt(a[5],n),h:Vt(a[6],n),m:Vt(a[7],n),s:Vt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=kt(i.from),n=kt(i.to),r=a.isValid()&&n.isValid()?(n=Yt(n,a),a.isBefore(n)?r=Zt(a,n):((r=Zt(n,a)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Nt(i),Pt(e)&&m(e,"_locale")&&(i._locale=e._locale),Pt(e)&&m(e,"_isValid")&&(i._isValid=e._isValid),i}function Vt(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 Xt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(E(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Kt(this,Wt(e,t),r),this}}function Kt(e,t,n,r){var i=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(r=null==r||r,t&&Fe(e,V(e,"Month")+t*n),a&&Z(e,"Date",V(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&f.updateOffset(e,a||t))}Wt.fn=Nt.prototype,Wt.invalid=function(){return Wt(NaN)};var qt=Xt(1,"add"),ue=Xt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Qt(e){return _(e)||i(e)||Jt(e)||c(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!c(e)&&Jt(t)}).length),n&&r)||function(e){var t,n,r=s(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<a.length;t+=1)n=a[t],i=i||m(e,n);return r&&i}(e)||null==e;var t,n,r}function en(e,t){if(e.date()<t.date())return-en(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 tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("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 nn(){return this._locale}var rn=126227808e5;function an(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(me(i[a].name)),e.push(me(i[a].abbr)),n.push(me(i[a].narrow)),r.push(me(i[a].name)),r.push(me(i[a].abbr)),r.push(me(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function un(e,t){F(0,[e,e.length],0,t)}function dn(e,t,n,r,i){var a;return null==e?He(this,r,i).year:(t>(a=ze(e,r,i))&&(t=a),function(e,t,n,r,i){i=je(e,t,n,r,i),i=Ue(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,i))}F("N",0,0,"eraAbbr"),F("NN",0,0,"eraAbbr"),F("NNN",0,0,"eraAbbr"),F("NNNN",0,0,"eraName"),F("NNNNN",0,0,"eraNarrow"),F("y",["y",1],"yo","eraYear"),F("y",["yy",2],0,"eraYear"),F("y",["yyy",3],0,"eraYear"),F("y",["yyyy",4],0,"eraYear"),de("N",ln),de("NN",ln),de("NNN",ln),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?p(n).era=r:p(n).invalidEra=e}),de("y",oe),de("yy",oe),de("yyy",oe),de("yyyy",oe),de("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),ge(["y","yy","yyy","yyyy"],be),ge(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[be]=n._locale.eraYearOrdinalParse(e,i):t[be]=parseInt(e,10)}),F(0,["gg",2],0,function(){return this.weekYear()%100}),F(0,["GG",2],0,function(){return this.isoWeekYear()%100}),un("gggg","weekYear"),un("ggggg","weekYear"),un("GGGG","isoWeekYear"),un("GGGGG","isoWeekYear"),A("weekYear","gg"),A("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),de("G",se),de("g",se),de("GG",ee,K),de("gg",ee,K),de("GGGG",ie,J),de("gggg",ie,J),de("GGGGG",ae,Q),de("ggggg",ae,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=B(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=f.parseTwoDigitYear(e)}),F("Q",0,"Qo","quarter"),A("quarter","Q"),j("quarter",7),de("Q",X),ge("Q",function(e,t){t[we]=3*(B(e)-1)}),F("D",["DD",2],"Do","date"),A("date","D"),j("date",9),de("D",ee),de("DD",ee,K),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],_e),ge("Do",function(e,t){t[_e]=B(e.match(ee)[0])});ne=W("Date",!0);F("DDD",["DDDD",3],"DDDo","dayOfYear"),A("dayOfYear","DDD"),j("dayOfYear",4),de("DDD",re),de("DDDD",q),ge(["DDD","DDDD"],function(e,t,n){n._dayOfYear=B(e)}),F("m",["mm",2],0,"minute"),A("minute","m"),j("minute",14),de("m",ee),de("mm",ee,K),ge(["m","mm"],xe);Ce=W("Minutes",!1);F("s",["ss",2],0,"second"),A("second","s"),j("second",15),de("s",ee),de("ss",ee,K),ge(["s","ss"],Ee);var hn,We=W("Seconds",!1);for(F("S",0,0,function(){return~~(this.millisecond()/100)}),F(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,function(){return 10*this.millisecond()}),F(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),F(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),F(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),F(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),F(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),A("millisecond","ms"),j("millisecond",16),de("S",re,X),de("SS",re,K),de("SSS",re,q),hn="SSSS";hn.length<=9;hn+="S")de(hn,oe);function mn(e,t){t[Te]=B(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ge(hn,mn);Ze=W("Milliseconds",!1),F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");ie=w.prototype;function fn(e){return e}ie.add=qt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=s(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||m(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||kt(),e=Yt(n,this).startOf("day"),e=f.calendarFormat(this,e)||"sameElse",t=t&&(T(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,kt(n)))},ie.clone=function(){return new w(this)},ie.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Yt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=$(t)){case"year":a=en(this,r)/12;break;case"month":a=en(this,r);break;case"quarter":a=en(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:z(a)},ie.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,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-an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-an(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-an(t,1e3)-1}return this._d.setTime(t),f.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=N(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||kt(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(kt(),e)},ie.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||kt(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(kt(),e)},ie.get=function(e){return T(this[e=$(e)])?this[e]():this},ie.invalidAt=function(){return p(this).overflow},ie.isAfter=function(e,t){return e=_(e)?e:kt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=_(e)?e:kt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,r){return e=_(e)?e:kt(e),t=_(t)?t:kt(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))},ie.isSame=function(e,t){var e=_(e)?e:kt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return h(this)},ie.lang=te,ie.locale=tn,ie.localeData=nn,ie.max=Dt,ie.min=It,ie.parsingFlags=function(){return u({},p(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)m(e,t)&&n.push({unit:t,priority:Y[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=U(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(T(this[e=$(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,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-=an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=an(t,6e4);break;case"second":t=this._d.valueOf(),t-=an(t,1e3)}return this._d.setTime(t),f.updateOffset(this,!0),this},ie.subtract=ue,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.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()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?N(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(e,"Z")):N(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.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"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.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""},ie.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""},ie.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""},ie.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-f(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Ae,ie.isLeapYear=function(){return H(this.year())},ie.weekYear=function(e){return dn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return dn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Ne,ie.daysInMonth=function(){return Le(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=He(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return ze(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return ze(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return ze(this.isoWeekYear(),1,4)},ie.date=ne,ie.day=ie.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},ie.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")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.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")},ie.hour=ie.hours=nt,ie.minute=ie.minutes=Ce,ie.second=ie.seconds=We,ie.millisecond=ie.milliseconds=Ze,ie.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:jt(this);if("string"==typeof e){if(null===(e=Ut(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Kt(this,Wt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ut(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?kt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=Ht,ie.isUTC=Ht,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=n("dates accessor is deprecated. Use date instead.",ne),ie.months=n("months accessor is deprecated. Use month instead",Ne),ie.years=n("years accessor is deprecated. Use year instead",Ae),ie.zone=n("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()}),ie.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Lt(t))._a?(e=(t._isUTC?d:kt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&B(e[o])!==B(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});J=M.prototype;function pn(e,t,n,r){var i=ht(),t=d().set(r,t);return i[n](t,e)}function gn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=pn(e,i,n,"month");return r}function yn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),c(t)&&(n=t,t=void 0),t||"");var i,a=ht(),o=e?a._week.dow:0,s=[];if(null!=n)return pn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=pn(t,(i+o)%7,r,"day");return s}J.calendar=function(e,t,n){return T(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},J.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(k).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},J.invalidDate=function(){return this._invalidDate},J.ordinal=function(e){return this._ordinal.replace("%d",e)},J.preparse=fn,J.postformat=fn,J.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return T(i)?i(e,t,n,r):i.replace(/%d/i,e)},J.pastFuture=function(e,t){return T(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},J.set=function(e){var t,n;for(n in e)m(e,n)&&(T(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)},J.eras=function(e,t){for(var n,r=this._eras||ht("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=f(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=f(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},J.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},J.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*n},J.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},J.erasNameRegex=function(e){return m(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},J.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},J.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},J.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Ie.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},J.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))||-1!==(i=ve.call(this._longMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))||-1!==(i=ve.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},J.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},J.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},J.week=function(e){return He(e,this._week.dow,this._week.doy).week},J.firstDayOfYear=function(){return this._week.doy},J.firstDayOfWeek=function(){return this._week.dow},J.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?Be(t,this._week.dow):e?t[e.day()]:t},J.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},J.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},J.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},J.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},J.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},J.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},J.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},J.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ut("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===B(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=n("moment.lang is deprecated. Use moment.locale instead.",ut),f.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var vn=Math.abs;function bn(e,t,n,r){n=Wt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function _n(e){return 4800*e/146097}function Sn(e){return 146097*e/4800}function xn(e){return function(){return this.as(e)}}ae=xn("ms"),Q=xn("s"),X=xn("m"),K=xn("h"),re=xn("d"),q=xn("w"),qt=xn("M"),Dt=xn("Q"),It=xn("y");function En(e){return function(){return this.isValid()?this._data[e]:NaN}}ue=En("milliseconds"),nt=En("seconds"),Ce=En("minutes"),We=En("hours"),Ze=En("days"),ne=En("months"),Ae=En("years");var Tn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var i=Wt(e).abs(),a=Tn(i.as("s")),o=Tn(i.as("m")),s=Tn(i.as("h")),l=Tn(i.as("d")),c=Tn(i.as("M")),u=Tn(i.as("w")),i=Tn(i.as("y")),l=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||u<=1&&["w"]||u<n.w&&["ww",u]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}var Ln=Math.abs;function Cn(e){return(0<e)-(e<0)||+e}function kn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=Ln(this._milliseconds)/1e3,l=Ln(this._days),c=Ln(this._months),u=this.asSeconds();return u?(e=z(s/60),t=z(e/60),s%=60,e%=60,n=z(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=Cn(this._months)!==Cn(u)?"-":"",a=Cn(this._days)!==Cn(u)?"-":"",o=Cn(this._milliseconds)!==Cn(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}J=Nt.prototype;return J.isValid=function(){return this._isValid},J.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},J.add=function(e,t){return bn(this,e,t,1)},J.subtract=function(e,t){return bn(this,e,t,-1)},J.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+_n(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Sn(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)}},J.asMilliseconds=ae,J.asSeconds=Q,J.asMinutes=X,J.asHours=K,J.asDays=re,J.asWeeks=q,J.asMonths=qt,J.asQuarters=Dt,J.asYears=It,J.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*B(this._months/12):NaN},J._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*wn(Sn(n)+t),n=t=0),r.milliseconds=e%1e3,e=z(e/1e3),r.seconds=e%60,e=z(e/60),r.minutes=e%60,e=z(e/60),r.hours=e%24,t+=z(e/24),n+=e=z(_n(t)),t-=wn(Sn(e)),e=z(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},J.clone=function(){return Wt(this)},J.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},J.milliseconds=ue,J.seconds=nt,J.minutes=Ce,J.hours=We,J.days=Ze,J.weeks=function(){return z(this.days()/7)},J.months=ne,J.years=Ae,J.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),r=Mn(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},J.toISOString=kn,J.toString=kn,J.toJSON=kn,J.locale=tn,J.localeData=nn,J.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",kn),J.lang=te,F("X",0,0,"unix"),F("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,n){n._d=new Date(B(e))}),f.version="2.29.1",e=kt,f.fn=ie,f.min=function(){return Ot("isBefore",[].slice.call(arguments,0))},f.max=function(){return Ot("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=d,f.unix=function(e){return kt(1e3*e)},f.months=function(e,t){return gn(e,t,"months")},f.isDate=i,f.locale=ut,f.invalid=g,f.duration=Wt,f.isMoment=_,f.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},f.parseZone=function(){return kt.apply(null,arguments).parseZone()},f.localeData=ht,f.isDuration=Pt,f.monthsShort=function(e,t){return gn(e,t,"monthsShort")},f.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},f.defineLocale=dt,f.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=at[e]&&null!=at[e].parentLocale?at[e].set(G(at[e]._config,t)):(t=G(r=null!=(n=ct(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new M(t)).parentLocale=at[e],at[e]=t),ut(e)):null!=at[e]&&(null!=at[e].parentLocale?(at[e]=at[e].parentLocale,e===ut()&&ut(e)):null!=at[e]&&delete at[e]),at[e]},f.locales=function(){return L(at)},f.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},f.normalizeUnits=$,f.relativeTimeRounding=function(e){return void 0===e?Tn:"function"==typeof e&&(Tn=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},f.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},f.prototype=ie,f.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"},f}(),pr.exports);const vr={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"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:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE",opens:"Opens ",full:"table full - bet behind",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:"Opens ",full:"table full - bet behind",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"}}},br={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 wr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function _r(e,t,n){const r=e.slice();return r[101]=t[n],r}function Sr(e){let n,r=!hr(e[34])&&!e[0]&&e[12],i=r&&xr(e);return{c(){i&&i.c(),n=l()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){4097&t[0]&&(r=!hr(e[34])&&!e[0]&&e[12]),r?i?i.p(e,t):(i=xr(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&J(n)}}}function xr(n){let r,i,a;return{c(){r=Q("div"),r.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>',ne(r,"class","FavIconContainer"),ne(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=te(r,"click",n[61]),i=!0)},p:Z,d(e){e&&J(r),i=!1,a()}}}function Er(e){let n;return{c(){n=Q("div"),n.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>',ne(n,"class","FavIconContainer"),ne(n,"part","FavIconContainer")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function Tr(n){let r,i,a;return{c(){r=Q("div"),r.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>',ne(r,"class","FavIconContainer"),ne(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=te(r,"click",n[63]),i=!0)},p:Z,d(e){e&&J(r),i=!1,a()}}}function Gr(e){let n,r,i=e[33]("gameThumbnail.new")+"";return{c(){n=Q("span"),r=t(i),ne(n,"class","GameExtraInfoLabel NewGameTag"),ne(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){q(e,n,t),K(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.new")+"")&&re(r,i)},d(e){e&&J(n)}}}function Mr(e){let n,r,i=e[33]("gameThumbnail.hot")+"";return{c(){n=Q("span"),r=t(i),ne(n,"class","GameExtraInfoLabel PopularGameTag"),ne(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){q(e,n,t),K(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.hot")+"")&&re(r,i)},d(e){e&&J(n)}}}function Lr(e){let n,r,i=!e[21]&&e[19]&&e[20]&&Cr(e);function a(e){return e[21]&&e[18]&&e[18]===Yr?Ir:e[21]&&e[18]&&e[18]===jr?kr:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ee(),s&&s.c(),r=l()},m(e,t){i&&i.m(e,t),q(e,n,t),s&&s.m(e,t),q(e,r,t)},p(e,t){!e[21]&&e[19]&&e[20]?i?i.p(e,t):(i=Cr(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&J(n),s&&s.d(e),e&&J(r)}}}function Cr(e){let n,r,i,a,o,s,l,c,u,d,h=e[33]("gameThumbnail.opens")+"",m=yr.utc(e[19]).local().format(e[20])+"",f=e[43](e[32])+"",p=e[42](e[24],e[25],e[23])+"";return{c(){n=Q("div"),r=Q("div"),i=t(h),a=ee(),o=Q("span"),s=t(m),l=ee(),u=ee(),ne(r,"class","ClosedGame"),ne(r,"part","ClosedGame"),c=new y(u),d=new y(null),ne(n,"class","GameProp LiveProps"),ne(n,"part","GameProp LiveProps")},m(e,t){q(e,n,t),K(n,r),K(r,i),K(r,a),K(r,o),K(o,s),K(n,l),c.m(f,n),K(n,u),d.m(p,n)},p(e,t){4&t[1]&&h!==(h=e[33]("gameThumbnail.opens")+"")&&re(i,h),1572864&t[0]&&m!==(m=yr.utc(e[19]).local().format(e[20])+"")&&re(s,m),2&t[1]&&f!==(f=e[43](e[32])+"")&&c.p(f),58720256&t[0]&&p!==(p=e[42](e[24],e[25],e[23])+"")&&d.p(p)},d(e){e&&J(n)}}}function kr(n){let r,i,a,o,s,l,c=n[43](n[32])+"",u=n[42](n[24],n[25],n[23])+"",d=new Array(zr),h=[];for(let e=0;e<d.length;e+=1)h[e]=Nr(wr(n,d,e));return{c(){r=Q("div"),i=Q("div");for(let e=0;e<h.length;e+=1)h[e].c();a=ee(),s=ee(),ne(i,"class","LiveIcons"),ne(i,"part","LiveIcons"),o=new y(s),l=new y(null),ne(r,"class",n[28]),ne(r,"part",n[28])},m(e,t){q(e,r,t),K(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[64](i),K(r,a),o.m(c,r),K(r,s),l.m(u,r)},p(t,n){if(671089664&n[0]|8192&n[1]){let e;for(d=new Array(zr),e=0;e<d.length;e+=1){const o=wr(t,d,e);h[e]?h[e].p(o,n):(h[e]=Nr(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}2&n[1]&&c!==(c=t[43](t[32])+"")&&o.p(c),58720256&n[0]&&u!==(u=t[42](t[24],t[25],t[23])+"")&&l.p(u),268435456&n[0]&&ne(r,"class",t[28]),268435456&n[0]&&ne(r,"part",t[28])},d(e){e&&J(r),p(h,e),n[64](null)}}}function Ir(e){let n,r,i,a,o,s,l=e[43](e[32])+"",c=e[42](e[24],e[25],e[23])+"";function u(e){return e[30]?Rr:Pr}let d=u(e),h=d(e);return{c(){n=Q("div"),r=Q("div"),h.c(),i=ee(),o=ee(),ne(r,"class","LiveIcons"),ne(r,"part","LiveIcons"),a=new y(o),s=new y(null),ne(n,"class","GameProp LiveProps BlackjackDisplay"),ne(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){q(e,n,t),K(n,r),h.m(r,null),K(n,i),a.m(l,n),K(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&&(h.c(),h.m(r,null))),2&t[1]&&l!==(l=e[43](e[32])+"")&&a.p(l),58720256&t[0]&&c!==(c=e[42](e[24],e[25],e[23])+"")&&s.p(c)},d(e){e&&J(n),h.d()}}}function Dr(e){let n;function r(e){return e[27]?Fr:Or}let i=r(e),a=i(e);return{c(){a.c(),n=l()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&J(n)}}}function Or(e){let n,r,i=e[44]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[29][e[10][e[106]]])+"";return{c(){r=l(),n=new y(r)},m(e,t){n.m(i,e,t),q(e,r,t)},p(e,t){536871936&t[0]&&i!==(i=e[44]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[29][e[10][e[106]]])+"")&&n.p(i)},d(e){e&&J(r),e&&n.d()}}}function Fr(e){let n,r,i,a,o,s=e[44]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[29][e[10][e[106]][0]])+"",l=e[44]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[29][e[10][e[106]][1]])+"";return{c(){n=Q("div"),i=ee(),o=ee(),r=new y(i),a=new y(o),ne(n,"class","Double"),ne(n,"part","Double")},m(e,t){q(e,n,t),r.m(s,n),K(n,i),a.m(l,n),K(n,o)},p(e,t){536871936&t[0]&&s!==(s=e[44]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[29][e[10][e[106]][0]])+"")&&r.p(s),536871936&t[0]&&l!==(l=e[44]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[29][e[10][e[106]][1]])+"")&&a.p(l)},d(e){e&&J(n)}}}function Nr(e){let n,r=e[10]&&e[10][e[106]]&&Dr(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[10]&&e[10][e[106]]?r?r.p(e,t):(r=Dr(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&J(n)}}}function Pr(t){let i,a=t[22],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ar(_r(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(71303168&n[0]|1024&n[1]){let e;for(a=t[22],e=0;e<a.length;e+=1){var r=_r(t,a,e);o[e]?o[e].p(r,n):(o[e]=Ar(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){p(o,e),e&&J(i)}}}function Rr(e){let n,r,i=e[33]("gameThumbnail.full")+"";return{c(){n=Q("span"),r=t(i),ne(n,"class","FullTable"),ne(n,"part","FullTable")},m(e,t){q(e,n,t),K(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.full")+"")&&re(r,i)},d(e){e&&J(n)}}}function Ar(e){let n,r,i,a,o,s,l;return{c(){n=Q("span"),r=u("svg"),i=u("path"),a=u("path"),o=ee(),ne(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),ne(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),ne(r,"xmlns","http://www.w3.org/2000/svg"),ne(r,"width","13"),ne(r,"height","14"),ne(r,"viewBox","0 0 13 14"),ne(n,"class",s=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat"),ne(n,"part",l=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){q(e,n,t),K(n,r),K(r,i),K(r,a),K(n,o)},p(e,t){71303168&t[0]&&s!==(s=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")&&ne(n,"class",s),71303168&t[0]&&l!==(l=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")&&ne(n,"part",l)},d(e){e&&J(n)}}}function $r(e){let n,r;return{c(){n=Q("p"),r=t(e[3]),ne(n,"class","GameNameBelow"),ne(n,"part","GameNameBelow"),ne(n,"title",e[3])},m(e,t){q(e,n,t),K(n,r)},p(e,t){8&t[0]&&re(r,e[3]),8&t[0]&&ne(n,"title",e[3])},d(e){e&&J(n)}}}function Ur(n){let r,i,a,o,s,l,c,u,d,h,m,f,p,g,y,v,b,w,_,S,x,E,T,G,M,L,C,k,I,D,O,F,N,P,R=n[33]("gameThumbnail.playNow")+"",A=(n[4]||"-")+"",$=0<parseInt(n[7]),U=n[13]&&Sr(n);function Y(e,t){return(null==E||4099&t[0])&&(E=!(hr(e[34])||!e[0]||!e[12]||!e[1])),E?Tr:((null==T||4099&t[0])&&(T=!!(hr(e[34])&&e[0]&&e[12]&&e[1])),T?Er:void 0)}let j=Y(n,[-1]),H=j&&j(n),z=n[6]&&Gr(n),B=$&&Mr(n),W=n[9]&&Lr(n),V=n[8]&&$r(n);return{c(){r=Q("div"),i=Q("div"),a=Q("img"),c=ee(),u=Q("div"),d=Q("div"),U&&U.c(),h=ee(),m=Q("p"),f=t(n[3]),p=ee(),g=Q("button"),y=t(R),w=ee(),_=Q("span"),S=t(A),x=ee(),H&&H.c(),G=ee(),M=Q("div"),z&&z.c(),L=ee(),B&&B.c(),C=ee(),W&&W.c(),D=ee(),V&&V.c(),this.c=Z,a.src!==(o=n[2])&&ne(a,"src",o),ne(a,"class",s="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),ne(a,"part",l="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),ne(a,"alt",""),ne(a,"loading","lazy"),ne(m,"class","GameInfoName"),ne(m,"part","GameInfoName"),ne(m,"title",n[3]),ne(g,"class","GameInfoBtn"),ne(g,"part","GameInfoBtn"),ne(d,"class",v="GameInfo "+(n[14]?"GameHovered":"")),ne(d,"part",b="GameInfo "+(n[14]?"GameHovered":"")),ne(_,"class","GameInfoVendor"),ne(_,"part","GameInfoVendor"),ne(u,"class","GameInfoWrapper"),ne(u,"part","GameInfoWrapper"),ne(M,"class","GameExtraInfo"),ne(M,"part","GameExtraInfo"),ne(i,"class",k="GameInnerContainer "+(n[9]&&!n[21]||n[9]&&n[30]?"GameInnerContainerUnavailable":"")),ne(i,"part",I="GameInnerContainer "+(n[9]&&!n[21]||n[9]&&n[30]?"GameInnerContainerUnavailable":"")),ne(r,"class",O=`GameContainer ${n[31]}`),ne(r,"part",F=`GameContainer ${n[31]}`)},m(e,t){q(e,r,t),K(r,i),K(i,a),n[60](a),K(i,c),K(i,u),K(u,d),U&&U.m(d,null),K(d,h),K(d,m),K(m,f),K(d,p),K(d,g),K(g,y),K(u,w),K(u,_),K(_,S),K(i,x),H&&H.m(i,null),K(i,G),K(i,M),z&&z.m(M,null),K(M,L),B&&B.m(M,null),K(M,C),W&&W.m(M,null),K(r,D),V&&V.m(r,null),n[65](r),N||(P=[te(g,"click",n[62]),te(i,"mouseenter",n[39]),te(i,"mouseleave",n[40]),te(i,"touchstart",n[37],{passive:!0}),te(i,"touchleave",n[38])],N=!0)},p(e,t){4&t[0]&&a.src!==(o=e[2])&&ne(a,"src",o),49152&t[0]&&s!==(s="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&ne(a,"class",s),49152&t[0]&&l!==(l="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&ne(a,"part",l),e[13]?U?U.p(e,t):(U=Sr(e),U.c(),U.m(d,h)):U&&(U.d(1),U=null),8&t[0]&&re(f,e[3]),8&t[0]&&ne(m,"title",e[3]),4&t[1]&&R!==(R=e[33]("gameThumbnail.playNow")+"")&&re(y,R),16384&t[0]&&v!==(v="GameInfo "+(e[14]?"GameHovered":""))&&ne(d,"class",v),16384&t[0]&&b!==(b="GameInfo "+(e[14]?"GameHovered":""))&&ne(d,"part",b),16&t[0]&&A!==(A=(e[4]||"-")+"")&&re(S,A),j===(j=Y(e,t))&&H?H.p(e,t):(H&&H.d(1),H=j&&j(e),H&&(H.c(),H.m(i,G))),e[6]?z?z.p(e,t):(z=Gr(e),z.c(),z.m(M,L)):z&&(z.d(1),z=null),128&t[0]&&($=0<parseInt(e[7])),$?B?B.p(e,t):(B=Mr(e),B.c(),B.m(M,C)):B&&(B.d(1),B=null),e[9]?W?W.p(e,t):(W=Lr(e),W.c(),W.m(M,null)):W&&(W.d(1),W=null),1075839488&t[0]&&k!==(k="GameInnerContainer "+(e[9]&&!e[21]||e[9]&&e[30]?"GameInnerContainerUnavailable":""))&&ne(i,"class",k),1075839488&t[0]&&I!==(I="GameInnerContainer "+(e[9]&&!e[21]||e[9]&&e[30]?"GameInnerContainerUnavailable":""))&&ne(i,"part",I),e[8]?V?V.p(e,t):(V=$r(e),V.c(),V.m(r,null)):V&&(V.d(1),V=null),1&t[1]&&O!==(O=`GameContainer ${e[31]}`)&&ne(r,"class",O),1&t[1]&&F!==(F=`GameContainer ${e[31]}`)&&ne(r,"part",F)},i:Z,o:Z,d(e){e&&J(r),n[60](null),U&&U.d(),H&&H.d(),z&&z.d(),B&&B.d(),W&&W.d(),V&&V.d(),n[65](null),N=!1,X(P)}}}const Yr="blackjack",jr="roulette",Hr="doubleballroulette",zr=5;function Br(n,e,o){let t;ve(n,dr,e=>o(33,t=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}a((l=l.apply(e,o||[])).next())})};let i,a,s,l,c,u,d,h,m,f,p,g,y,v,b,w,_,S,x,E,T,G,M,L,{session:C=""}=e,{userid:k=""}=e,{lang:I=""}=e,{clientstyling:D=""}=e,{clientstylingurl:O=""}=e,{favorites:F=""}=e,{gamethumbnail:N=""}=e,{gamename:P=""}=e,{gamevendor:R=""}=e,{gameid:A=""}=e,{gameisnew:$=""}=e,{gamepopularity:U=""}=e,{gamefunmode:Y=!1}=e,{searchitem:j=!1}=e,{gamefavorite:H=!1}=e,{showfavoredcategory:z=!1}=e,{showgamename:B=!1}=e,{currency:W=""}=e,{endpoint:V=""}=e,{livelobbyendpoint:Z=""}=e,{connectlive:X=""}=e,{visibilityconnect:K=""}=e,q=!1,J=!1,Q=!1,ee=window.navigator.userAgent,te="HH:mm",ne,re=[],ie="EUR",ae="";const oe=[Yr],se=[jr,Hr],le={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ce={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"};Object.keys(vr).forEach(e=>{Bn(e,vr[e])});const ue=e=>{e.data.type!==`AddFavoriteThumbnail_${A}`||z||o(0,H=!0),e.data.type!==`RemoveFavoriteThumbnail_${A}`||z||o(0,H=!1),"UserSessionID"===e.data.type&&(o(12,q=!0),e.data.session,e.data.userID)},de=e=>{hr(ee)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:Y},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),j&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},he=e=>{var t="thumbnail";H?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},me=()=>{Z&&EventSource&&!l&&R&&A&&(l=new EventSource(`${V}/encoder/lobby/updates/${R}/${A}`),l.addEventListener("message",pe))},fe=()=>{l&&(l.close(),l=void 0)},pe=a=>r(void 0,void 0,void 0,function*(){const{type:e,data:t}=a;let n;if("message"===e){if(t)try{n=JSON.parse(t)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(n){const{InternalTableId:a,MessageType:e,Results:t,Seats:r,Open:i}=n;if(a)switch(e){case"SeatsUpdated":r&&Array.isArray(r)&&(o(26,g=r),o(9,s.currentOccupiedSeats=r,s),yield _e());break;case"RouletteResultsUpdated":t&&Array.isArray(t)&&(y=t,o(9,s.currentRouletteNumbers=t,s),yield _e());break;case"DoubleBallRouletteResultsUpdated":t&&Array.isArray(t)&&(v=t,o(9,s.currentDoubleBallRouletteNumbers=t,s),yield _e());break;case"TableOpened":case"TableClosed":o(21,d=i),o(9,s.isOpen=i,s),yield _e()}}}}),ge=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",ye=(e,t)=>e.some(e=>e===t);return be(()=>(window.addEventListener("message",ue,!1),()=>{window.removeEventListener("message",ue),l&&l.removeEventListener("message",pe)})),n.$$set=e=>{"session"in e&&o(45,C=e.session),"userid"in e&&o(46,k=e.userid),"lang"in e&&o(47,I=e.lang),"clientstyling"in e&&o(48,D=e.clientstyling),"clientstylingurl"in e&&o(49,O=e.clientstylingurl),"favorites"in e&&o(1,F=e.favorites),"gamethumbnail"in e&&o(2,N=e.gamethumbnail),"gamename"in e&&o(3,P=e.gamename),"gamevendor"in e&&o(4,R=e.gamevendor),"gameid"in e&&o(5,A=e.gameid),"gameisnew"in e&&o(6,$=e.gameisnew),"gamepopularity"in e&&o(7,U=e.gamepopularity),"gamefunmode"in e&&o(50,Y=e.gamefunmode),"searchitem"in e&&o(51,j=e.searchitem),"gamefavorite"in e&&o(0,H=e.gamefavorite),"showfavoredcategory"in e&&o(52,z=e.showfavoredcategory),"showgamename"in e&&o(8,B=e.showgamename),"currency"in e&&o(53,W=e.currency),"endpoint"in e&&o(54,V=e.endpoint),"livelobbyendpoint"in e&&o(55,Z=e.livelobbyendpoint),"connectlive"in e&&o(56,X=e.connectlive),"visibilityconnect"in e&&o(57,K=e.visibilityconnect)},n.$$.update=()=>{var e,t;33554432&n.$$.dirty[1]&&X&&("disconnect"===X?fe():"connect"===X&&me()),67108864&n.$$.dirty[1]&&K&&("disconnect"===K?fe():"connect"===K&&"connect"===X&&me()),n.$$.dirty[1],8437760&n.$$.dirty[1]&&C&&k&&V&&o(12,q=!0),4&n.$$.dirty[0]&&N&&i&&o(16,i.onload=()=>{o(15,Q=!0)},i),131072&n.$$.dirty[1]&&D&&(()=>{let e=document.createElement("style");e.innerHTML=D,setTimeout(()=>{a.appendChild(e)})})(),2&n.$$.dirty[0]&&F&&"true"==F&&o(13,J=!0),262144&n.$$.dirty[1]&&O&&(()=>{let e=new URL(O),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)})})})(),25165824&n.$$.dirty[1]&&V&&Z&&(()=>{let e=new URL(`${Z.split("?")[0]}`);e.searchParams.append("platform",mr(ee)),e.searchParams.append("language",I),fetch(e).then(e=>e.json()).then(e=>{var{details:e}=e[0];o(9,s=e)})})(),512&n.$$.dirty[0]&&s&&s&&(o(21,d=s.isOpen),ne=s.betLimit||{},h=s.openHours,o(22,re=(e=>{p=e.totalSeats||7,o(26,g=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=p;e++)t.push(e);return{seats:t}})(s).seats),h&&h.value&&({value:{startTime:e,originalTimeFormat:t}}=h,o(19,u=e),o(20,te=t||te)),d&&o(18,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();ye(oe,e)?t=Yr:ye(se,e)&&(t=jr)}}return t})(s)),o(23,ie=br[W]),o(24,m=(ne.min||{})[W]),o(25,f=(ne.max||{})[W]),y=s.currentRouletteNumbers,v=s.currentDoubleBallRouletteNumbers,b=s.vendorCategory,o(27,w=b.toLowerCase()===Hr),o(10,_=(w?v:y)||[]),o(28,S="GameProp LiveProps RoulleteProps"),o(28,S+=w?" Double":""),o(29,x=ye(se,b.toLowerCase())?ce:le),T=E,o(30,E=Array.isArray(g)&&g.length===p),s.dealer&&o(32,M=s.dealer.DealerName),L=s.numberOfPlayers,o(31,ae="ListGame"),s.isOpen&&s.currentRouletteNumbers&&o(31,ae+=" GameBackdrop"),d&&E&&m&&f&&s.currentOccupiedSeats?o(31,ae+=" GameContainerDimmed"):!1===d&&u&&o(31,ae+=" GameContainerFullyDimmed"),a&&(!T&&E?(o(31,ae+=" PulsatingRedShadow"),o(31,ae=ae.replace(" PulsatingGreenShadow",""))):T&&!E&&(o(31,ae+=" PulsatingGreenShadow"),o(31,ae=ae.replace(" PulsatingRedShadow",""))))),3072&n.$$.dirty[0]&&G&&_&&(()=>{const e="FirstElementAnimated",t=G.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))})()},[H,F,N,P,R,A,$,U,B,s,_,G,q,J,!1,Q,i,a,c,u,te,d,re,ie,m,f,g,w,S,x,E,ae,M,t,ee,de,he,()=>{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)},ye,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${ge(e)}-${ge(t)}`),L&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${L}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${t("gameThumbnail.dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{e=`${e} ${r}`,r=t.toString().match(/first0|second0|0/g);return 0===t||r&&0!==r.length?`\n <span\n id=${t}\n class="${e}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${e}">\n ${n}\n </span>\n `},C,k,I,D,O,Y,j,z,W,V,Z,X,K,le,ce,function(e){we[e?"unshift":"push"](()=>{i=e,o(16,i)})},()=>he(A),()=>de(A),()=>he(A),function(e){we[e?"unshift":"push"](()=>{G=e,o(11,G)})},function(e){we[e?"unshift":"push"](()=>{a=e,o(17,a)})}]}function Wr(e,t,n){const r=e.slice();return r[76]=t[n],r[78]=n,r}function Vr(e,t,n){const r=e.slice();return r[76]=t[n],r[79]=t,r[78]=n,r}function Zr(e,t,n){const r=e.slice();return r[76]=t[n],r[78]=n,r}function Xr(e){let n;function r(e){return e[11]?Qr:e[21]?Jr:void 0}let i=r(e),a=i&&i(e);return{c(){n=Q("div"),a&&a.c()},m(e,t){q(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),a=i&&i(e),a&&(a.c(),a.m(n,null)))},d(e){e&&J(n),a&&a.d()}}}function Kr(e){let n,r,i;function a(e){return e[15]?yi:e[12].length?pi:gi}let o=a(e),s=o(e);function l(e){return e[12]?bi:vi}let c=l(e),u=c(e);return{c(){n=Q("div"),r=Q("div"),s.c(),i=ee(),u.c(),ne(r,"class","CasinoGamesHeader Searched "+(hr(e[27])?"CasinoGamesHeaderMobile":"")),ne(r,"part","CasinoGamesHeader Searched "+(hr(e[27])?"CasinoGamesHeaderMobile":"")),ne(n,"class","CasinoGamesContainer"),ne(n,"part","CasinoGamesContainer")},m(e,t){q(e,n,t),K(n,r),s.m(r,null),K(n,i),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),u=c(e),u&&(u.c(),u.m(n,null)))},d(e){e&&J(n),s.d(),u.d()}}}function qr(e){let n;function r(e){return e[17]?xi:Si}let i=r(e),a=i(e);return{c(){a.c(),n=l()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&J(n)}}}function Jr(n){let r,i,a,o,s,l,c,u,d=n[25].name+"";function h(e){return e[25]?ti:ei}let m=h(n),f=m(n);return{c(){r=Q("div"),i=Q("div"),a=Q("h3"),o=t(d),s=ee(),l=Q("ul"),f.c(),ne(a,"class","CategoryName"),ne(a,"part","CategoryName"),ne(i,"class","CasinoGamesHeader"),ne(i,"part","CasinoGamesHeader"),ne(l,"class",c=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ne(l,"part",u=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ne(r,"class","CasinoGamesContainer"),ne(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),n[43](a),K(r,s),K(r,l),f.m(l,null),n[44](l)},p(e,t){33554432&t[0]&&d!==(d=e[25].name+"")&&re(o,d),m===(m=h(e))&&f?f.p(e,t):(f.d(1),f=m(e),f&&(f.c(),f.m(l,null))),33554432&t[0]&&c!==(c=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ne(l,"class",c),33554432&t[0]&&u!==(u=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ne(l,"part",u)},d(e){e&&J(r),n[43](null),f.d(),n[44](null)}}}function Qr(n){let r,i,a,o,s,l,c=n[11].name+"",u=n[13]&&di(n);function d(e){return 0!==e[12].length?mi:hi}let h=d(n),m=h(n);return{c(){r=Q("div"),i=Q("div"),a=Q("h3"),o=t(c),s=ee(),u&&u.c(),l=ee(),m.c(),ne(a,"class","CategoryName"),ne(a,"part","CategoryName"),ne(i,"class","CasinoGamesHeader"),ne(i,"part","CasinoGamesHeader"),ne(r,"class","CasinoGamesContainer"),ne(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),n[39](a),K(i,s),u&&u.m(i,null),K(r,l),m.m(r,null)},p(e,t){2048&t[0]&&c!==(c=e[11].name+"")&&re(o,c),e[13]?u?u.p(e,t):(u=di(e),u.c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&m?m.p(e,t):(m.d(1),m=h(e),m&&(m.c(),m.m(r,null)))},d(e){e&&J(r),n[39](null),u&&u.d(),m.d()}}}function ei(e){let n;return{c(){n=Q("p"),n.textContent="Waiting"},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function ti(t){let r,i=t[25].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=ui(Wr(t,i,e));let o=null;return i.length||(o=ni(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=l(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);q(t,r,n),o&&o.m(t,n)},p(t,n){if(169869823&n[0]){let e;for(i=t[25].items,e=0;e<i.length;e+=1){const o=Wr(t,i,e);a[e]?a[e].p(o,n):(a[e]=ui(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):(o=ni(t),o.c(),o.m(r.parentNode,r))}},d(e){p(a,e),e&&J(r),o&&o.d(e)}}}function ni(e){let n,r,i,a,o,s,l,c=(t=e,(hr(t[27])?ii:ri)(e));var t;return{c(){n=Q("p"),r=u("svg"),i=u("path"),a=ee(),o=Q("span"),o.textContent="You do not have any favored games yet.",s=ee(),c.c(),l=ee(),g(i,"fill","white"),ne(i,"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"),ne(r,"version","1.1"),ne(r,"class","UnfavoredIcon"),ne(r,"part","UnfavoredIcon"),ne(r,"xmlns","http://www.w3.org/2000/svg"),ne(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),ne(r,"x","50px"),ne(r,"y","50px"),ne(r,"viewBox","0 0 512.001 512.001"),g(r,"enable-background","new 0 0 512.001 512.001"),ne(r,"xml:space","preserve"),ne(o,"class","NoFavoriteText NoFavoriteTextHighlight"),ne(o,"part","NoFavoriteText NoFavoriteTextHighlight"),ne(n,"class","NoFavoriteGames "+(hr(e[27])?"NoFavoriteGamesMobile":"")),ne(n,"part","NoFavoriteGames "+(hr(e[27])?"NoFavoriteGamesMobile":""))},m(e,t){q(e,n,t),K(n,r),K(r,i),K(n,a),K(n,o),K(n,s),c.m(n,null),K(n,l)},p:Z,d(e){e&&J(n),c.d()}}}function ri(e){let n;return{c(){n=Q("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",ne(n,"class","NoFavoriteText"),ne(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function ii(e){let n;return{c(){n=Q("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",ne(n,"class","NoFavoriteText"),ne(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function ai(e){let n,r=e[76].gameModel.isFavorite&&oi(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[76].gameModel.isFavorite?r?r.p(e,t):(r=oi(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&J(n)}}}function oi(e){let n,r=function(e){let n,r,i;function a(e,t){return null==n&&(n=!!hr(e[27])),n?li:((null==r||33554432&t[0])&&(r=!!e[76].gameModel.platform.includes("PC")),r?si:void 0)}let o=a(e,[-1]),s=o&&o(e);return{c(){s&&s.c(),i=l()},m(e,t){s&&s.m(e,t),q(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&J(i)}}}(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&J(n)}}}function si(e){let n,r,i,a,o,s,l,c,u,d,h,m,f;return{c(){n=Q("casino-game-thumbnail"),w(n,"class",r=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"part",i=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[76].gameModel.thumbnail),w(n,"gamename",o=e[76].gameModel.name),w(n,"gamevendor",s=e[76].gameModel.vendor.name),w(n,"gameisnew",l=e[76].gameModel.isNew),w(n,"gamepopularity",c=e[76].gameModel.popularity),w(n,"gamecellsize",u=e[76].gameModel.cellSize),w(n,"gameid",d=e[76].gameModel.id),w(n,"gamefunmode",h=e[76].gameModel.hasFunMode),w(n,"gamefavorite",m=e[76].gameModel.isFavorite),w(n,"showfavoredcategory",e[21]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",f=e[76].gameModel.details?e[76].gameModel.href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"class",r),33554432&t[0]&&i!==(i=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[76].gameModel.thumbnail)&&w(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[76].gameModel.name)&&w(n,"gamename",o),33554432&t[0]&&s!==(s=e[76].gameModel.vendor.name)&&w(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[76].gameModel.isNew)&&w(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[76].gameModel.popularity)&&w(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[76].gameModel.cellSize)&&w(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[76].gameModel.id)&&w(n,"gameid",d),33554432&t[0]&&h!==(h=e[76].gameModel.hasFunMode)&&w(n,"gamefunmode",h),33554432&t[0]&&m!==(m=e[76].gameModel.isFavorite)&&w(n,"gamefavorite",m),2097152&t[0]&&w(n,"showfavoredcategory",e[21]),128&t[0]&&w(n,"currency",e[7]),33554432&t[0]&&f!==(f=e[76].gameModel.details?e[76].gameModel.href:"")&&w(n,"livelobbyendpoint",f),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8])},d(e){e&&J(n)}}}function li(e){let n,r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android"),i=r&&ci(e);return{c(){i&&i.c(),n=l()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){33554432&t[0]&&(r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android")),r?i?i.p(e,t):(i=ci(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&J(n)}}}function ci(e){let n,r,i,a,o,s,l,c,u,d,h,m,f;return{c(){n=Q("casino-game-thumbnail"),w(n,"class",r=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"part",i=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[76].gameModel.thumbnail),w(n,"gamename",o=e[76].gameModel.name),w(n,"gamevendor",s=e[76].gameModel.vendor.name),w(n,"gameisnew",l=e[76].gameModel.isNew),w(n,"gamepopularity",c=e[76].gameModel.popularity),w(n,"gamecellsize",u=e[76].gameModel.cellSize),w(n,"gameid",d=e[76].gameModel.id),w(n,"gamefunmode",h=e[76].gameModel.hasFunMode),w(n,"gamefavorite",m=e[76].gameModel.isFavorite),w(n,"showfavoredcategory",e[21]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",f=e[76].gameModel.details?e[76].gameModel.href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"class",r),33554432&t[0]&&i!==(i=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[76].gameModel.thumbnail)&&w(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[76].gameModel.name)&&w(n,"gamename",o),33554432&t[0]&&s!==(s=e[76].gameModel.vendor.name)&&w(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[76].gameModel.isNew)&&w(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[76].gameModel.popularity)&&w(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[76].gameModel.cellSize)&&w(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[76].gameModel.id)&&w(n,"gameid",d),33554432&t[0]&&h!==(h=e[76].gameModel.hasFunMode)&&w(n,"gamefunmode",h),33554432&t[0]&&m!==(m=e[76].gameModel.isFavorite)&&w(n,"gamefavorite",m),2097152&t[0]&&w(n,"showfavoredcategory",e[21]),128&t[0]&&w(n,"currency",e[7]),33554432&t[0]&&f!==(f=e[76].gameModel.details?e[76].gameModel.href:"")&&w(n,"livelobbyendpoint",f),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8])},d(e){e&&J(n)}}}function ui(e){let n,r=e[76].gameModel&&ai(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[76].gameModel?r?r.p(e,t):(r=ai(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&J(n)}}}function di(n){let r,i,a,o,s,l,c,u,d=n[26]("gamesCategorySection.viewAll")+"",h=n[11].games.total+"";return{c(){r=Q("a"),i=Q("span"),a=t(d),o=t(" ("),s=t(h),l=t(")"),ne(i,"class","CategoryLoadMore"),ne(i,"part","CategoryLoadMore"),ne(r,"class","CategoryNameLink"),ne(r,"part","CategoryNameLink")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),K(i,l),c||(u=te(r,"click",n[40]),c=!0)},p(e,t){67108864&t[0]&&d!==(d=e[26]("gamesCategorySection.viewAll")+"")&&re(a,d),2048&t[0]&&h!==(h=e[11].games.total+"")&&re(s,h)},d(e){e&&J(r),c=!1,u()}}}function hi(e){let n;return{c(){n=Q("p"),n.textContent="You don't have any games in this category.",ne(n,"class","NoSearchResults"),ne(n,"part","NoSearchResults")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function mi(n){let r,e,i,a=n[12],o=[];for(let e=0;e<a.length;e+=1)o[e]=fi(Vr(n,a,e));return{c(){r=Q("ul");for(let e=0;e<o.length;e+=1)o[e].c();ne(r,"class",e=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),ne(r,"part",i=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){q(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[42](r)},p(t,n){if(25170943&n[0]){let e;for(a=t[12],e=0;e<a.length;e+=1){const i=Vr(t,a,e);o[e]?o[e].p(i,n):(o[e]=fi(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}35651584&n[0]&&e!==(e=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ne(r,"class",e),35651584&n[0]&&i!==(i=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ne(r,"part",i)},d(e){e&&J(r),p(o,e),n[42](null)}}}function fi(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,m,f,p,g,y=n[78];const v=()=>n[41](r,y),b=()=>n[41](null,y);return{c(){r=Q("casino-game-thumbnail"),w(r,"session",n[2]),w(r,"userid",n[3]),w(r,"lang",n[1]),w(r,"class",i=""+(Ti+(n[76].cellSize||"1x1"))),w(r,"part",a=""+(Ti+(n[76].cellSize||"1x1"))),w(r,"favorites",n[4]),w(r,"gamethumbnail",o=n[76].thumbnail),w(r,"gamename",s=n[76].name),w(r,"gamevendor",l=n[76].vendor.name),w(r,"gameisnew",c=n[76].isNew),w(r,"gamepopularity",u=n[76].popularity),w(r,"gamecellsize",d=n[76].cellSize),w(r,"gameid",h=n[76].id),w(r,"gamefunmode",m=n[76].hasFunMode),w(r,"gamefavorite",f=n[76].isFavorite),w(r,"connectlive",p=1==n[23][n[76].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[24]),w(r,"currency",n[7]),w(r,"livelobbyendpoint",g=n[76].details?n[76].href:""),w(r,"clientstyling",n[5]),w(r,"clientstylingurl",n[6]),w(r,"endpoint",n[0]),w(r,"livecasino",n[8])},m(e,t){q(e,r,t),v()},p(e,t){n=e,4&t[0]&&w(r,"session",n[2]),8&t[0]&&w(r,"userid",n[3]),2&t[0]&&w(r,"lang",n[1]),4096&t[0]&&i!==(i=""+(Ti+(n[76].cellSize||"1x1")))&&w(r,"class",i),4096&t[0]&&a!==(a=""+(Ti+(n[76].cellSize||"1x1")))&&w(r,"part",a),16&t[0]&&w(r,"favorites",n[4]),4096&t[0]&&o!==(o=n[76].thumbnail)&&w(r,"gamethumbnail",o),4096&t[0]&&s!==(s=n[76].name)&&w(r,"gamename",s),4096&t[0]&&l!==(l=n[76].vendor.name)&&w(r,"gamevendor",l),4096&t[0]&&c!==(c=n[76].isNew)&&w(r,"gameisnew",c),4096&t[0]&&u!==(u=n[76].popularity)&&w(r,"gamepopularity",u),4096&t[0]&&d!==(d=n[76].cellSize)&&w(r,"gamecellsize",d),4096&t[0]&&h!==(h=n[76].id)&&w(r,"gameid",h),4096&t[0]&&m!==(m=n[76].hasFunMode)&&w(r,"gamefunmode",m),4096&t[0]&&f!==(f=n[76].isFavorite)&&w(r,"gamefavorite",f),8392704&t[0]&&p!==(p=1==n[23][n[76].id]?"connect":"disconnect")&&w(r,"connectlive",p),16777216&t[0]&&w(r,"visibilityconnect",n[24]),128&t[0]&&w(r,"currency",n[7]),4096&t[0]&&g!==(g=n[76].details?n[76].href:"")&&w(r,"livelobbyendpoint",g),32&t[0]&&w(r,"clientstyling",n[5]),64&t[0]&&w(r,"clientstylingurl",n[6]),1&t[0]&&w(r,"endpoint",n[0]),256&t[0]&&w(r,"livecasino",n[8]),y!==n[78]&&(b(),y=n[78],v())},d(e){e&&J(r),b()}}}(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&J(n)}}}function pi(e){let n,r,i=e[26]("gamesCategorySection.searchedItems")+"";return{c(){n=Q("h3"),r=t(i),ne(n,"class","StatusText"),ne(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.searchedItems")+"")&&re(r,i)},d(e){e&&J(n)}}}function gi(e){let n,r,i=e[26]("gamesCategorySection.noResults")+"";return{c(){n=Q("h3"),r=t(i),ne(n,"class","StatusText"),ne(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noResults")+"")&&re(r,i)},d(e){e&&J(n)}}}function yi(e){let n,r,i=e[26]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=Q("h3"),r=t(i),ne(n,"class","StatusText"),ne(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.recentSearchedItems")+"")&&re(r,i)},d(e){e&&J(n)}}}function vi(e){let n;return{c(){n=Q("p"),n.textContent="Waiting",ne(n,"class","SearchWaiting"),ne(n,"part","SearchWaiting")},m(e,t){q(e,n,t)},p:Z,d(e){e&&J(n)}}}function bi(t){let r,i,a=!t[18]&&wi(t),o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=_i(Zr(t,o,e));return{c(){a&&a.c(),r=ee(),i=Q("ul");for(let e=0;e<s.length;e+=1)s[e].c();ne(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),ne(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),q(e,r,t),q(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[18]?a&&(a.d(1),a=null):a?a.p(t,n):(a=wi(t),a.c(),a.m(r.parentNode,r)),70143&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){const a=Zr(t,o,e);s[e]?s[e].p(a,n):(s[e]=_i(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&J(r),e&&J(i),p(s,e)}}}function wi(e){let n,r,i=e[26]("gamesCategorySection.noRecentSearch")+"";return{c(){n=Q("p"),r=t(i),ne(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(hr(e[27])?"NoRecentSearchesMobile":"")),ne(n,"part","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(hr(e[27])?"NoRecentSearchesMobile":""))},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noRecentSearch")+"")&&re(r,i)},d(e){e&&J(n)}}}function _i(e){let n,r,i,a,o,s,l,c,u,d,h,m,f;return{c(){n=Q("casino-game-thumbnail"),w(n,"class",r=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"part",i=""+(Ti+(e[76].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"searchitem",e[16]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[76].thumbnail),w(n,"gamename",o=e[76].name),w(n,"gamevendor",s=e[76].vendor.name),w(n,"gameisnew",l=e[76].isNew),w(n,"gamepopularity",c=e[76].popularity),w(n,"gamecellsize",u=e[76].cellSize),w(n,"gameid",d=e[76].id),w(n,"gamefunmode",h=e[76].hasFunMode),w(n,"gamefavorite",m=e[76].isFavorite),w(n,"currency",e[7]),w(n,"livelobbyendpoint",f=e[76].details?e[76].href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){4096&t[0]&&r!==(r=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"class",r),4096&t[0]&&i!==(i=""+(Ti+(e[76].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),65536&t[0]&&w(n,"searchitem",e[16]),16&t[0]&&w(n,"favorites",e[4]),4096&t[0]&&a!==(a=e[76].thumbnail)&&w(n,"gamethumbnail",a),4096&t[0]&&o!==(o=e[76].name)&&w(n,"gamename",o),4096&t[0]&&s!==(s=e[76].vendor.name)&&w(n,"gamevendor",s),4096&t[0]&&l!==(l=e[76].isNew)&&w(n,"gameisnew",l),4096&t[0]&&c!==(c=e[76].popularity)&&w(n,"gamepopularity",c),4096&t[0]&&u!==(u=e[76].cellSize)&&w(n,"gamecellsize",u),4096&t[0]&&d!==(d=e[76].id)&&w(n,"gameid",d),4096&t[0]&&h!==(h=e[76].hasFunMode)&&w(n,"gamefunmode",h),4096&t[0]&&m!==(m=e[76].isFavorite)&&w(n,"gamefavorite",m),128&t[0]&&w(n,"currency",e[7]),4096&t[0]&&f!==(f=e[76].details?e[76].href:"")&&w(n,"livelobbyendpoint",f),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8])},d(e){e&&J(n)}}}function Si(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error.",ne(n,"class","SearchLoading"),ne(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function xi(e){let n;return{c(){n=Q("p"),n.textContent="404 Error - No result found.",ne(n,"class","SearchLoading"),ne(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&J(n)}}}function Ei(n){let r;function i(e){return e[10]?qr:e[14]?Kr:Xr}let a=i(n),o=a(n);return{c(){r=Q("div"),o.c(),this.c=Z,ne(r,"class","CasinoGamesCategorySectionContainer"),ne(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){q(e,r,t),o.m(r,null),n[45](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&J(r),o.d(),n[45](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends M{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}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:9.6px;text-align:center;font-size:17.6px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6.4px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:4.8px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14.4px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11.2px;padding:3.2px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:4.8px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:1.6px;margin:0 1px;margin-right:6.4px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:4.8px;padding:1.6px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 20px 5px 20px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",G(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Br,Ur,n,{session:45,userid:46,lang:47,clientstyling:48,clientstylingurl:49,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:50,searchitem:51,gamefavorite:0,showfavoredcategory:52,showgamename:8,currency:53,endpoint:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,MONEY_WHEEL_COLOR_MAP:58,ROULETTE_COLOR_MAP:59},[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),E()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","currency","endpoint","livelobbyendpoint","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[45]}set session(e){this.$set({session:e}),E()}get userid(){return this.$$.ctx[46]}set userid(e){this.$set({userid:e}),E()}get lang(){return this.$$.ctx[47]}set lang(e){this.$set({lang:e}),E()}get clientstyling(){return this.$$.ctx[48]}set clientstyling(e){this.$set({clientstyling:e}),E()}get clientstylingurl(){return this.$$.ctx[49]}set clientstylingurl(e){this.$set({clientstylingurl:e}),E()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),E()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),E()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),E()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),E()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),E()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),E()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),E()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$set({gamefunmode:e}),E()}get searchitem(){return this.$$.ctx[51]}set searchitem(e){this.$set({searchitem:e}),E()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),E()}get showfavoredcategory(){return this.$$.ctx[52]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),E()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),E()}get currency(){return this.$$.ctx[53]}set currency(e){this.$set({currency:e}),E()}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$set({endpoint:e}),E()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$set({livelobbyendpoint:e}),E()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$set({connectlive:e}),E()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$set({visibilityconnect:e}),E()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[58]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[59]}});const Ti="game-tile-";function Gi(e,t,s){let n;ve(e,dr,e=>s(26,n=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}a((l=l.apply(e,o||[])).next())})};let i,a,o,l,c,u,d,h,m,{endpoint:f=""}=t,{datasource:p=""}=t,{lang:g=""}=t,{session:y=""}=t,{userid:v=""}=t,{favorites:b=""}=t,{clientstyling:w=""}=t,{clientstylingurl:_=""}=t,{currency:S=""}=t,{categoryid:x=""}=t,{categoryindex:E=0}=t,{categorygames:T=0}=t,{livecasino:G="false"}=t,{once:M=!0}=t,{top:L=0}=t,{bottom:C=0}=t,{left:k=0}=t,{right:I=0}=t,D=!1,O=!0,F=window.navigator.userAgent,N=[],P=!0,R=40,A=!1,$=!1,U=!1,Y=!1,j=!0,H=!1,z=!1,B=!1,W=new Array(1e4),V={},Z={items:[],count:0,name:""};Object.keys(fr).forEach(e=>{Bn(e,fr[e])});let X=new IntersectionObserver((e,t)=>{e.forEach(n=>r(void 0,void 0,void 0,function*(){var e=n.target.gameid,t=n.target.elems_index;n.isIntersecting?(1.2*t>R&&J(x),s(23,V[e]=1,V)):s(23,V[e]=0,V)}))});const K=(e,r,i,t=0)=>{let a=new URL(`${f}/casino/groups/${p}/${x}`),o=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",mr(F)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:x},window.location.href),o&&o[x])if(o[x].length&&!1===O&&!1===H){let t="";s(17,Y=!0),o[x].forEach(e=>{t+=t?`, id=${e}`:`id=${e}`}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(17,Y=!1);fetch(a).then(e=>e.json()).then(e=>{s(38,m=!0),s(10,D=!1),c=e.games.total,t(e)},e=>{s(10,D=!0),console.error(e),n(e)})})},q=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(14,A=!1),O=!1,s(13,P=!1),z=!0,s(12,N=t.data.mostPlayedGames),s(11,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(14,A=!0),z=!1,s(15,$=!0),0<t.data.searchData.length?(s(12,N=t.data.searchData),s(18,j=!0),N&&N.forEach(e=>{e.isFavorite=Q(e.id)})):(s(12,N=[]),s(18,j=!1));break;case"OutOfRecentSearches":s(14,A=!1),s(15,$=!1);break;case"SearchData":s(14,A=!0),z=!1,s(15,$=!1),s(12,N=t.data.searchData.items||[]),s(16,U=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),N&&N.forEach(e=>{e.isFavorite=Q(e.id)});break;case`CategoryData_${x}`:s(14,A=!1),O=!0,s(13,P=!0),s(16,U=!1),z=!1,B=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),K(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(11,o=e),s(12,N=o.games.items),N&&N.forEach(e=>{e.isFavorite=Q(e.id)})});break;case"CategoryChange":R=20;break;case"CategoryUpdate":s(14,A=!1),O=!1,s(16,U=!1),z=!1,s(13,P=!1),B=!0,s(29,x=t.data.itemId),K(0,0,R).then(e=>{s(11,o=e),o.games.items.forEach(e=>{e.isFavorite=Q(e.id)}),s(12,N=o.games.items),s(13,P=!1)});break;case"FavoriteUpdate":s(14,A=!1),z=!1,O=!0,s(12,N=o.games.items),N.forEach(e=>{e.isFavorite=Q(e.id)}),s(13,P=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items,t.data.triggerFactor&&!H?window.postMessage({type:"FavoriteUpdate"},window.location.href):O||z||window.postMessage({type:"CategoryUpdate",itemId:x},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(25,Z.items=(n=e,Z.items,r=window.navigator.userAgent,hr(r)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),Z),s(25,Z.name="Favorites",Z),s(21,H=!0));break;case"UserSessionID":i=t.data.session,a=t.data.userID,"true"==b&&a&&a.length&&i&&0<i.length&&(e=>{let r={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(e,r).then(e=>e.json()).then(e=>{d=e?e.items:[],N.forEach(e=>{e.isFavorite=Q(e.id)});e=N;s(12,N=void 0),s(12,N=e),t(d)}).catch(e=>{console.error(e),n(e)})})})(`${f}/player/${a}/favorites/`)}var n,r},J=e=>{R+=1,R<=c&&K(0,0,R).then(e=>{s(11,o=e),s(12,N=o.games.items),N.forEach(e=>{e.isFavorite=Q(e.id)})})},Q=t=>!!d&&-1!==d.findIndex(e=>e.id==t),ee=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return be(()=>(window.addEventListener("message",q,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",q)})),e.$$set=e=>{"endpoint"in e&&s(0,f=e.endpoint),"datasource"in e&&s(30,p=e.datasource),"lang"in e&&s(1,g=e.lang),"session"in e&&s(2,y=e.session),"userid"in e&&s(3,v=e.userid),"favorites"in e&&s(4,b=e.favorites),"clientstyling"in e&&s(5,w=e.clientstyling),"clientstylingurl"in e&&s(6,_=e.clientstylingurl),"currency"in e&&s(7,S=e.currency),"categoryid"in e&&s(29,x=e.categoryid),"categoryindex"in e&&s(31,E=e.categoryindex),"categorygames"in e&&s(32,T=e.categorygames),"livecasino"in e&&s(8,G=e.livecasino),"once"in e&&s(33,M=e.once),"top"in e&&s(34,L=e.top),"bottom"in e&&s(35,C=e.bottom),"left"in e&&s(36,k=e.left),"right"in e&&s(37,I=e.right)},e.$$.update=()=>{512&e.$$.dirty[0]|128&e.$$.dirty[1]&&m&&W&&B&&W.forEach((e,t)=>{e&&(e.elems_index=t,X.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&w&&(()=>{let e=document.createElement("style");e.innerHTML=w,setTimeout(()=>{h.appendChild(e)})})(),64&e.$$.dirty[0]&&_&&(()=>{let t=document.createElement("style");fetch(new URL(_)).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)})})()},[f,g,y,v,b,w,_,S,G,W,D,o,N,P,A,$,U,Y,j,l,u,H,h,V,"",Z,n,F,ee,x,p,E,T,M,L,C,k,I,m,function(e){we[e?"unshift":"push"](()=>{u=e,s(20,u)})},e=>ee(o.id,o),function(e,t){we[e?"unshift":"push"](()=>{W[t]=e,s(9,W)})},function(e){we[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){we[e?"unshift":"push"](()=>{u=e,s(20,u)})},function(e){we[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){we[e?"unshift":"push"](()=>{h=e,s(22,h)})}]}class Mi extends M{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}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:12.8px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",G(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Gi,Ei,n,{endpoint:0,datasource:30,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:29,categoryindex:31,categorygames:32,livecasino:8,once:33,top:34,bottom:35,left:36,right:37},[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),E()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categoryindex","categorygames","livecasino","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),E()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$set({datasource:e}),E()}get lang(){return this.$$.ctx[1]}set lang(e){this.$set({lang:e}),E()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),E()}get userid(){return this.$$.ctx[3]}set userid(e){this.$set({userid:e}),E()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$set({favorites:e}),E()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),E()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),E()}get currency(){return this.$$.ctx[7]}set currency(e){this.$set({currency:e}),E()}get categoryid(){return this.$$.ctx[29]}set categoryid(e){this.$set({categoryid:e}),E()}get categoryindex(){return this.$$.ctx[31]}set categoryindex(e){this.$set({categoryindex:e}),E()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$set({categorygames:e}),E()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$set({livecasino:e}),E()}get once(){return this.$$.ctx[33]}set once(e){this.$set({once:e}),E()}get top(){return this.$$.ctx[34]}set top(e){this.$set({top:e}),E()}get bottom(){return this.$$.ctx[35]}set bottom(e){this.$set({bottom:e}),E()}get left(){return this.$$.ctx[36]}set left(e){this.$set({left:e}),E()}get right(){return this.$$.ctx[37]}set right(e){this.$set({right:e}),E()}}return customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",Mi),Mi});
2
2
  //# sourceMappingURL=casino-games-category-section.js.map