@everymatrix/casino-games-category-section 0.0.228 → 0.0.232
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 k(){}function h(e){return e()}function m(){return Object.create(null)}function D(e){e.forEach(h)}function p(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function d(e,...t){if(null==e)return k;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Z(e,t,n){e.$$.on_destroy.push(d(t,n))}function j(e,t){e.appendChild(t)}function z(e,t,n){e.insertBefore(t,n||null)}function B(e){e.parentNode.removeChild(e)}function l(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function V(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 H(){return t(" ")}function c(){return t("")}function X(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function W(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function y(e,t,n){t in e?e[t]=n:W(e,t,n)}function q(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function f(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}function r(e){const t={};for(const n of e)t[n.name]=n.value;return t}let g;function v(e){g=e}function J(e){!function(){if(!g)throw new Error("Function called outside component initialization");return g}().$$.on_mount.push(e)}const b=[],Q=[],o=[],e=[],w=Promise.resolve();let E=!1;function _(e){o.push(e)}let i=!1;const a=new Set;function T(){if(!i){i=!0;do{for(let e=0;e<b.length;e+=1){var t=b[e];v(t),function(e){{var t;null!==e.fragment&&(e.update(),D(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(_))}}(t.$$)}for(v(null),b.length=0;Q.length;)Q.pop()();for(let e=0;e<o.length;e+=1){const n=o[e];a.has(n)||(a.add(n),n())}}while(o.length=0,b.length);for(;e.length;)e.pop()();E=!1,i=!1,a.clear()}}const S=new Set;function s(r,e,t,n,o,i,a=[-1]){var s,l=g;v(r);const c=r.$$={fragment:null,ctx:null,props:i,update:k,not_equal:o,bound:m(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:m(),dirty:a,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&&o(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(b.push(e),E||(E=!0,w.then(T)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,D(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const k=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(k),k.forEach(B)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(S.delete(s),s.i(void 0)),function(t,e,n,r){const{fragment:o,on_mount:i,on_destroy:a,after_update:s}=t.$$;o&&o.m(e,n),r||_(()=>{var e=i.map(h).filter(p);a?a.push(...e):D(e),t.$$.on_mount=[]}),s.forEach(_)}(r,e.target,e.anchor,e.customElement),T()}v(l)}let A;"function"==typeof HTMLElement&&(A=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(h).filter(p);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){D(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(D(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=k}$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 x,C,I="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==I&&I,P="URLSearchParams"in I,M="Symbol"in I&&"iterator"in Symbol,N="FileReader"in I&&"Blob"in I&&function(){try{return new Blob,!0}catch(e){return!1}}(),L="FormData"in I,O="ArrayBuffer"in I;function R(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 G(e){return e="string"!=typeof e?String(e):e}function $(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return M&&(e[Symbol.iterator]=function(){return e}),e}function F(t){this.map={},t instanceof F?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 K(e){var t=new FileReader,n=Y(t);return t.readAsArrayBuffer(e),n}function ee(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function te(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:N&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:L&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:P&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():O&&N&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ee(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):O&&(ArrayBuffer.prototype.isPrototypeOf(e)||C(e))?this._bodyArrayBuffer=ee(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):P&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},N&&(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(K)}),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)},L&&(this.formData=function(){return this.text().then(oe)}),this.json=function(){return this.text().then(JSON.parse)},this}O&&(x=["[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<x.indexOf(Object.prototype.toString.call(e))}),F.prototype.append=function(e,t){e=R(e),t=G(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},F.prototype.delete=function(e){delete this.map[R(e)]},F.prototype.get=function(e){return e=R(e),this.has(e)?this.map[e]:null},F.prototype.has=function(e){return this.map.hasOwnProperty(R(e))},F.prototype.set=function(e,t){this.map[R(e)]=G(t)},F.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},F.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),$(n)},F.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),$(t)},F.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),$(n)},M&&(F.prototype[Symbol.iterator]=F.prototype.entries);var ne=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function re(e,t){if(!(this instanceof re))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 re){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new F(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 F(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<ne.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 oe(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 F(t.headers),this.url=t.url||"",this._initBody(e)}re.prototype.clone=function(){return new re(this,{body:this._bodyInit})},te.call(re.prototype),te.call(ie.prototype),ie.prototype.clone=function(){return new ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new F(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 se=I.DOMException;try{new se}catch(k){(se=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),se.prototype.constructor=se}function le(r,a){return new Promise(function(o,e){var t=new re(r,a);if(t.signal&&t.signal.aborted)return e(new se("Aborted","AbortError"));var i=new XMLHttpRequest;function n(){i.abort()}i.onload=function(){var e,n,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=new F,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var r="response"in i?i.response:i.responseText;setTimeout(function(){o(new ie(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new se("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&I.location.href?I.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(N?i.responseType="blob":O&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof F?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){i.setRequestHeader(e,G(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",n)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}le.polyfill=!0,I.fetch||(I.fetch=le,I.Headers=F,I.Request=re,I.Response=ie),self.fetch.bind(self);var ce=function(e,t){return(ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function ue(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ce(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function he(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 me(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function pe(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function de(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 ge=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 ye(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var ve=(we.prototype.unsubscribe=function(){var e,t,n,r,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=he(i),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(de(i))try{i()}catch(e){o=e instanceof ge?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var l=he(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{_e(u)}catch(e){o=null!=o?o:[],e instanceof ge?o=pe(pe([],me(o)),me(e.errors)):o.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(o)throw new ge(o)}},we.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)_e(e);else{if(e instanceof we){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},we.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},we.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},we.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ye(t,e)},we.prototype.remove=function(e){var t=this._teardowns;t&&ye(t,e),e instanceof we&&e._removeParent(this)},we.EMPTY=((Vt=new we).closed=!0,Vt),we),be=ve.EMPTY;function we(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Ee(e){return e instanceof ve||e&&"closed"in e&&de(e.remove)&&de(e.add)&&de(e.unsubscribe)}function _e(e){de(e)?e():e.unsubscribe()}var Te=void 0,Se=!1,Ae=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,pe([],me(e)))};function xe(){}function Ce(e){e()}var Ie,Pe,Me=(ue(Oe,Pe=ve),Oe.create=function(e,t,n){return new Ne(e,t,n)},Oe.prototype.next=function(e){this.isStopped||this._next(e)},Oe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Oe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Oe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Pe.prototype.unsubscribe.call(this),this.destination=null)},Oe.prototype._next=function(e){this.destination.next(e)},Oe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Oe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Oe),Ne=(ue(Le,Ie=Me),Le);function Le(e,t,n){var r,o,i=Ie.call(this)||this;return de(e)?o=e:e&&(o=e.next,t=e.error,n=e.complete,i&&Se?(r=Object.create(e)).unsubscribe=function(){return i.unsubscribe()}:r=e,o=null==o?void 0:o.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),i.destination={next:o?Re(o):xe,error:Re(null!=t?t:Ge),complete:n?Re(n):xe},i}function Oe(e){var t=Pe.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,pe([],me(e)))}catch(e){t=e,Ae(function(){throw t})}}}function Ge(e){throw e}var $e={closed:!0,next:xe,error:Ge,complete:xe},Fe="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ue(e){return e}var ke=(De.prototype.lift=function(e){var t=new De;return t.source=this,t.operator=e,t},De.prototype.subscribe=function(e,t,n){var r,o=this,i=(r=e)&&r instanceof Me||r&&de(r.next)&&de(r.error)&&de(r.complete)&&Ee(r)?e:new Ne(e,t,n);return Ce(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},De.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},De.prototype.forEach=function(r,e){var o=this;return new(e=je(e))(function(e,t){var n=o.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},De.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},De.prototype[Fe]=function(){return this},De.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Ue:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},De.prototype.toPromise=function(e){var r=this;return new(e=je(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},De.create=function(e){return new De(e)},De);function De(e){e&&(this._subscribe=e)}function je(e){return null!==(e=null!=e?e:Te)&&void 0!==e?e:Promise}var ze,Be,Ve,He=fe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Xe=(ue(Je,Ve=ke),Je.prototype.lift=function(e){var t=new We(this,this);return t.operator=e,t},Je.prototype._throwIfClosed=function(){if(this.closed)throw new He},Je.prototype.next=function(i){var a=this;Ce(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){var n=a.observers.slice();try{for(var r=he(n),o=r.next();!o.done;o=r.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Je.prototype.error=function(t){var n=this;Ce(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)}})},Je.prototype.complete=function(){var t=this;Ce(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Je.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Je.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Je.prototype._trySubscribe=function(e){return this._throwIfClosed(),Ve.prototype._trySubscribe.call(this,e)},Je.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Je.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?be:(r.push(e),new ve(function(){return ye(r,e)}))},Je.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Je.prototype.asObservable=function(){var e=new ke;return e.source=this,e},Je.create=function(e,t){return new We(e,t)},Je),We=(ue(Ze,Be=Xe),Ze.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)},Ze.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)},Ze.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)},Ze.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:be},Ze),qe={now:function(){return(qe.delegate||Date).now()},delegate:void 0},Ye=(ue(Ke,ze=Xe),Ke.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),o||r.push(i.now()+t)),this._trimBuffer(),ze.prototype.next.call(this,e)},Ke.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),o=0;o<r.length&&!e.closed;o+=n?1:2)e.next(r[o]);return this._checkFinalizedStatuses(e),t},Ke.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var i=t.now(),a=0,s=1;s<n.length&&n[s]<=i;s+=2)a=s;a&&n.splice(0,a+1)}},Ke);function Ke(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=qe);var r=ze.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 Ze(e,t){var n=Be.call(this)||this;return n.destination=e,n.source=t,n}function Je(){var e=Ve.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Qe=[],et={};const tt=[];function nt(r,o=k){let i;const a=[];function s(e){if(n(r,e)&&(r=e,i)){const e=!tt.length;for(let e=0;e<a.length;e+=1){const t=a[e];t[1](),tt.push(t,r)}if(e){for(let e=0;e<tt.length;e+=2)tt[e][0](tt[e+1]);tt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=k){const n=[e,t];return a.push(n),1===a.length&&(i=o(s)||k),e(r),()=>{var e=a.indexOf(n);-1!==e&&a.splice(e,1),0===a.length&&(i(),i=null)}}}}function rt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:nt(t,t=>{let n=!1;const r=[];let o=0,i=k;const a=()=>{var e;o||(i(),e=s(l?r[0]:r,t),u?t(e):i=p(e)?e:k)},e=c.map((e,t)=>d(e,e=>{r[t]=e,o&=~(1<<t),n&&a()},()=>{o|=1<<t}));return n=!0,a(),function(){D(e),i()}}).subscribe}}var ot=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===it));var t},it="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function at(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ht(Array.isArray(e)?[]:{},e,t):e}function st(e,t,n){return e.concat(t).map(function(e){return at(e,n)})}function lt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function ct(e,t){try{return t in e}catch(e){return!1}}function ut(r,o,i){var a={};return i.isMergeableObject(r)&<(r).forEach(function(e){a[e]=at(r[e],i)}),lt(o).forEach(function(t){var e,n;(!ct(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(ct(r,t)&&i.isMergeableObject(o[t])?a[t]=function(){if(!i.customMerge)return ht;var e=i.customMerge(t);return"function"==typeof e?e:ht}()(r[t],o[t],i):a[t]=at(o[t],i))}),a}function ht(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||st,n.isMergeableObject=n.isMergeableObject||ot,n.cloneUnlessOtherwiseSpecified=at;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ut(e,t,n):at(t,n)}ht.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return ht(e,t,n)},{})};var mt=ht,pt=function(e,t){return(pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function dt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}pt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ft,gt,yt,vt=function(){return(vt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function bt(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function wt(e){return e.type===gt.literal}function Et(e){return e.type===gt.number}function _t(e){return e.type===gt.date}function Tt(e){return e.type===gt.time}function St(e){return e.type===gt.select}function At(e){return e.type===gt.plural}function xt(e){return e.type===gt.tag}function Ct(e){return e&&"object"==typeof e&&e.type===yt.number}function It(e){return e&&"object"==typeof e&&e.type===yt.dateTime}(Ht=ft=ft||{})[Ht.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Ht[Ht.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Ht[Ht.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Ht[Ht.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Ht[Ht.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Ht[Ht.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Ht[Ht.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Ht[Ht.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Ht[Ht.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Ht[Ht.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Ht[Ht.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Ht[Ht.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Ht[Ht.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Ht[Ht.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Ht[Ht.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Ht[Ht.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Ht[Ht.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Ht[Ht.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Ht[Ht.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Ht[Ht.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Ht[Ht.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Ht[Ht.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Ht[Ht.INVALID_TAG=23]="INVALID_TAG",Ht[Ht.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Ht[Ht.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Ht[Ht.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Xt=gt=gt||{})[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",(Wt=yt=yt||{})[Wt.number=0]="number",Wt[Wt.dateTime=1]="dateTime";var Pt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Mt=/(?:[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 Nt,Lt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Ot=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Rt=/^(@+)?(\+|#+)?$/g,Gt=/(\*)(0+)|(#+)(0+)|(0+)/g,$t=/^(0+)$/;function Ft(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 Ut(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 kt(e){return Ut(e)||{}}function Dt(e){for(var a={},t=0,n=e;t<n.length;t++){var r,o=n[t];switch(o.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=o.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=vt(vt(vt({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return vt(vt({},e),kt(t))},{}));continue;case"engineering":a=vt(vt(vt({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return vt(vt({},e),kt(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Gt,function(e,t,n,r,o,i){if(t)a.minimumIntegerDigits=n.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if($t.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(Ot.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Ot,function(e,t,n,r,o,i){return"*"===n?a.minimumFractionDigits=t.length:r&&"#"===r[0]?a.maximumFractionDigits=r.length:o&&i?(a.minimumFractionDigits=o.length,a.maximumFractionDigits=o.length+i.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""}),o.options.length&&(a=vt(vt({},a),Ft(o.options[0])))}else Rt.test(o.stem)?a=vt(vt({},a),Ft(o.stem)):((r=Ut(o.stem))&&(a=vt(vt({},a),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!$t.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=vt(vt({},a),r)))}return a}var jt=new RegExp("^"+Pt.source+"*"),zt=new RegExp(Pt.source+"*$");function Bt(e,t){return{start:e,end:t}}var Vt=!!String.prototype.startsWith,Fe=!!String.fromCodePoint,Xe=!!Object.fromEntries,Ht=!!String.prototype.codePointAt,Xt=!!String.prototype.trimStart,Wt=!!String.prototype.trimEnd,qt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Pt=!0;try{Pt="a"===(null===(Nt=rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Nt?void 0:Nt[0])}catch(k){Pt=!1}var Yt,Kt,Zt=Vt?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Jt=Fe?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,i=0;i<o;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Qt=Xe?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],o=o[1];t[i]=o}return t},en=Ht?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,o=e.charCodeAt(t);return o<55296||56319<o||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?o:r-56320+(o-55296<<10)+65536}},tn=Xt?function(e){return e.trimStart()}:function(e){return e.replace(jt,"")},nn=Wt?function(e){return e.trimEnd()}:function(e){return e.replace(zt,"")};function rn(e,t){return new RegExp(e,t)}Kt=Pt?(Yt=rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Yt.lastIndex=t,null!==(e=Yt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var o=en(e,t);if(void 0===o||ln(o)||(33<=(n=o)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(o),t+=65536<=o?2:1}return Jt.apply(void 0,r)};var on=(an.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},an.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(ft.UNMATCHED_CLOSING_TAG,Bt(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&sn(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{i=this.clonePosition();this.bump(),r.push({type:gt.pound,location:Bt(i,this.clonePosition())})}}}return{val:r,err:null}},an.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:gt.literal,value:"<"+r+"/>",location:Bt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!sn(this.char()))return this.error(ft.INVALID_TAG,Bt(t,this.clonePosition()));o=this.clonePosition();return r!==this.parseTagName()?this.error(ft.UNMATCHED_CLOSING_TAG,Bt(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:gt.tag,value:r,children:e,location:Bt(n,this.clonePosition())},err:null}:this.error(ft.INVALID_TAG,Bt(t,this.clonePosition())))}return this.error(ft.UNCLOSED_TAG,Bt(n,this.clonePosition()))}return this.error(ft.INVALID_TAG,Bt(n,this.clonePosition()))},an.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())},an.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{o=this.tryParseUnquoted(e,t);if(o)r+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}n=Bt(n,this.clonePosition());return{val:{type:gt.literal,value:r,location:n},err:null}},an.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(sn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},an.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 Jt.apply(void 0,t)},an.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(),Jt(n))},an.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ft.EMPTY_ARGUMENT,Bt(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(ft.MALFORMED_ARGUMENT,Bt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:gt.argument,value:r,location:Bt(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(ft.MALFORMED_ARGUMENT,Bt(n,this.clonePosition()))}},an.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Kt(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Bt(e,this.clonePosition())}},an.prototype.parseArgumentOptions=function(e,t,n,r){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(ft.EXPECT_ARGUMENT_TYPE,Bt(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(h=nn(m.val)).length)return this.error(ft.EXPECT_ARGUMENT_STYLE,Bt(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Bt(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(r)).err)return p;var u=Bt(r,this.clonePosition());if(l&&Zt(null==l?void 0:l.style,"::",0)){c=tn(l.style.slice(2));if("number"===a)return(m=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?m:{val:{type:gt.number,value:n,location:u,style:m.val},err:null};if(0===c.length)return this.error(ft.EXPECT_DATE_TIME_SKELETON,u);var h={type:yt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(Mt,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":o.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":o.minute=["numeric","2-digit"][t-1];break;case"s":o.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),o):{}};return{val:{type:"date"===a?gt.date:gt.time,value:n,location:u,style:h},err:null}}return{val:{type:"number"===a?gt.number:"date"===a?gt.date:gt.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(ft.EXPECT_SELECT_ARGUMENT_OPTIONS,Bt(l,vt({},l)));this.bumpSpace();var m,u=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Bt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=m.val}u=this.tryParsePluralOrSelectOptions(e,a,t,u);if(u.err)return u;if((p=this.tryParseArgumentClose(r)).err)return p;var p=Bt(r,this.clonePosition());return"select"===a?{val:{type:gt.select,value:n,options:Qt(u.val),location:p},err:null}:{val:{type:gt.plural,value:n,options:Qt(u.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:p},err:null};default:return this.error(ft.INVALID_ARGUMENT_TYPE,Bt(i,s))}},an.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},an.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(ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Bt(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}},an.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(Lt).filter(function(e){return 0<e.length});n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),a=0,s=o;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(ft.INVALID_NUMBER_SKELETON,t)}return{val:{type:yt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Dt(n):{}},err:null}},an.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o=!1,i=[],a=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,ft.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Bt(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Bt(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;c=this.tryParseArgumentClose(h);if(c.err)return c;i.push([s,{value:u.val,location:Bt(h,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===i.length?this.error("select"===t?ft.EXPECT_SELECT_ARGUMENT_SELECTOR:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,Bt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ft.MISSING_OTHER_CLAUSE,Bt(this.clonePosition(),this.clonePosition())):{val:i,err:null}},an.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}r=Bt(r,this.clonePosition());return o?qt(i*=n)?{val:i,err:null}:this.error(t,r):this.error(e,r)},an.prototype.offset=function(){return this.position.offset},an.prototype.isEOF=function(){return this.offset()===this.message.length},an.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},an.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=en(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},an.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},an.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))},an.prototype.bumpIf=function(e){if(Zt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},an.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)},an.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}},an.prototype.bumpSpace=function(){for(;!this.isEOF()&&ln(this.char());)this.bump()},an.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},an);function an(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 sn(e){return 97<=e&&e<=122||65<=e&&e<=90}function ln(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function cn(e,t){t=vt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new on(e,t).parse();if(n.err){e=SyntaxError(ft[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,St(e)||At(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Et(e)&&Ct(e.style)||(_t(e)||Tt(e))&&It(e.style)?delete e.style.location:xt(e)&&n(e.children)})}(n.val),n.val}function un(e,t){var n=t&&t.cache?t.cache:yn,r=t&&t.serializer?t.serializer:dn;return(t&&t.strategy?t.strategy:function(e,t){return pn(e,this,1===e.length?hn:mn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function hn(e,t,n,r){var o=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(o);return void 0===n&&(n=e.call(this,r),t.set(o,n)),n}function mn(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),n=t.get(o);return void 0===n&&(n=e.apply(this,r),t.set(o,n)),n}function pn(e,t,n,r,o){return n.bind(t,e,r,o)}var dn=function(){return JSON.stringify(arguments)};function fn(){this.cache=Object.create(null)}fn.prototype.has=function(e){return e in this.cache},fn.prototype.get=function(e){return this.cache[e]},fn.prototype.set=function(e,t){this.cache[e]=t};var gn,yn={create:function(){return new fn}},vn={variadic:function(e,t){return pn(e,this,mn,t.cache.create(),t.serializer)},monadic:function(e,t){return pn(e,this,hn,t.cache.create(),t.serializer)}};(Pt=gn=gn||{}).MISSING_VALUE="MISSING_VALUE",Pt.INVALID_VALUE="INVALID_VALUE",Pt.MISSING_INTL_API="MISSING_INTL_API";var bn,wn,En,_n,Tn,Sn=(dt(Nn,Tn=Error),Nn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Nn),An=(dt(Mn,_n=Sn),Mn),xn=(dt(Pn,En=Sn),Pn),Cn=(dt(In,wn=Sn),In);function In(e,t){return wn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',gn.MISSING_VALUE,t)||this}function Pn(e,t,n){return En.call(this,'Value for "'+e+'" must be of type '+t,gn.INVALID_VALUE,n)||this}function Mn(e,t,n,r){return _n.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',gn.INVALID_VALUE,r)||this}function Nn(e,t,n){e=Tn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Ln(e,t,n,r,o,i,a){if(1===e.length&&wt(e[0]))return[{type:bn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(wt(u))s.push({type:bn.literal,value:u.value});else if(u.type===gt.pound)"number"==typeof i&&s.push({type:bn.literal,value:n.getNumberFormat(t).format(i)});else{var h=u.value;if(!(o&&h in o))throw new Cn(h,a);var m=o[h];if(u.type===gt.argument)m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),s.push({type:"string"==typeof m?bn.literal:bn.object,value:m});else if(_t(u)){var p="string"==typeof u.style?r.date[u.style]:It(u.style)?u.style.parsedOptions:void 0;s.push({type:bn.literal,value:n.getDateTimeFormat(t,p).format(m)})}else if(Tt(u))p="string"==typeof u.style?r.time[u.style]:It(u.style)?u.style.parsedOptions:void 0,s.push({type:bn.literal,value:n.getDateTimeFormat(t,p).format(m)});else if(Et(u))(p="string"==typeof u.style?r.number[u.style]:Ct(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(m*=p.scale||1),s.push({type:bn.literal,value:n.getNumberFormat(t,p).format(m)});else{if(xt(u)){var d=u.children,f=u.value,h=o[f];if("function"!=typeof h)throw new xn(f,"function",a);d=h(Ln(d,t,n,r,o,i).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),s.push.apply(s,d.map(function(e){return{type:"string"==typeof e?bn.literal:bn.object,value:e}}))}if(St(u)){if(!(g=u.options[m]||u.options.other))throw new An(u.value,m,Object.keys(u.options),a);s.push.apply(s,Ln(g.value,t,n,r,o))}else if(At(u)){if(!(g=u.options["="+m])){if(!Intl.PluralRules)throw new Sn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',gn.MISSING_INTL_API,a);var d=n.getPluralRules(t,{type:u.pluralType}).select(m-(u.offset||0)),g=u.options[d]||u.options.other}if(!g)throw new An(u.value,m,Object.keys(u.options),a);s.push.apply(s,Ln(g.value,t,n,r,o,m-(u.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===bn.literal&&t.type===bn.literal?n.value+=t.value:e.push(t),e},[])}function On(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}}}}}(Pt=bn=bn||{})[Pt.literal=0]="literal",Pt[Pt.object=1]="object";var Rn=(Object.defineProperty(Gn,"defaultLocale",{get:function(){return Gn.memoizedDefaultLocale||(Gn.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Gn.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Gn.memoizedDefaultLocale=null,Gn.__parse=cn,Gn.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"}}},Gn);function Gn(e,t,n,r){var o,i,a=this;if(void 0===t&&(t=Gn.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===bn.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 Ln(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof e){if(this.message=e,!Gn.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Gn.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=Gn.formats,(i=n)?Object.keys(o).reduce(function(e,t){var n,r;return e[t]=(n=o[t],(r=i[t])?vt(vt(vt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=vt(vt({},n[t]),r[t]||{}),e},{})):n),e},vt({},o)):o),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:un(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,bt([void 0],t)))},{cache:On((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:vn.variadic}),getDateTimeFormat:un(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,bt([void 0],t)))},{cache:On(r.dateTime),strategy:vn.variadic}),getPluralRules:un(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,bt([void 0],t)))},{cache:On(r.pluralRules),strategy:vn.variadic})}}const $n={},Fn=(t,n)=>{if(null!=n){if(n in $n&&t in $n[n])return $n[n][t];var r,o,i=Qn(n);for(let e=0;e<i.length;e++){var a=(r=i[e],o=t,Dn(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 Un[e]||null}(r),o):null);if(a)return r=t,o=n,(a=a)&&(o in $n||($n[o]={}),r in $n[o]||($n[o][r]=a),a)}}};let Un;const kn=nt({});function Dn(e){return e in Un}function jn(t,...n){delete $n[t],kn.update(e=>(e[t]=mt.all([e[t]||{},...n]),e))}rt([kn],([e])=>Object.keys(e)),kn.subscribe(e=>Un=e);const zn={};function Bn(e){return zn[e]}function Vn(e){return Qn(e).some(e=>{return null===(e=Bn(e))||void 0===e?void 0:e.size})}const Hn={};function Xn(e){if(!Vn(e))return e in Hn?Hn[e]:void 0;const t=Qn(e).map(e=>{var t=Bn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Hn[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){zn[e].delete(t),0===zn[e].size&&delete zn[e]}(t,e),e().then(e=>e.default||e)))).then(e=>jn(t,...e))}(e))).then(()=>Vn(e)?Xn(e):void delete Hn[e]),Hn[e]}function Wn(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}const qn={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 Yn=nt(!1);let Kn;const Zn=nt(null);function Jn(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Qn(e,t=qn.fallbackLocale){e=Jn(e);return t?[...new Set([...e,...Jn(t)])]:e}Zn.subscribe(e=>{Kn=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const er=Zn.set;Zn.set=t=>{if(function(e){if(null!=e){var t=Qn(e);for(let e=0;e<t.length;e++){var n=t[e];if(Dn(n))return n}}}(t)&&Vn(t)){var{loadingDelay:n}=qn;let e;return"undefined"!=typeof window&&null!=Kn&&n?e=window.setTimeout(()=>Yn.set(!0),n):Yn.set(!0),Xn(t).then(()=>{er(t)}).finally(()=>{clearTimeout(e),Yn.set(!1)})}return er(t)},Zn.update=e=>er(e(Kn));const tr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},nr=(e,t)=>{var{formats:n}=qn;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},rr=tr(e=>{var{locale:t,format:n}=e,e=Wn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=nr("number",n)),new Intl.NumberFormat(t,e)}),or=tr(e=>{var{locale:t,format:n}=e,e=Wn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=nr("date",n):0===Object.keys(e).length&&(e=nr("date","short")),new Intl.DateTimeFormat(t,e)}),ir=tr(e=>{var{locale:t,format:n}=e,e=Wn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=nr("time",n):0===Object.keys(e).length&&(e=nr("time","short")),new Intl.DateTimeFormat(t,e)}),ar=tr((e,t=Kn)=>new Rn(e,t,qn.formats,{ignoreTag:qn.ignoreTag})),sr=rt([Zn,kn],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=Kn,default:o}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Fn(e,r);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else qn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Qn(r).join('", "')}".${Vn(Kn)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||e;if(!n)return i;let a=i;try{a=ar(i,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return a});rt([Zn],()=>(e,t)=>((e={})=>{var{locale:t=Kn}=e,e=Wn(e,["locale"]);return ir(Object.assign({locale:t},e))})(t).format(e)),rt([Zn],()=>(e,t)=>((e={})=>{var{locale:t=Kn}=e,e=Wn(e,["locale"]);return or(Object.assign({locale:t},e))})(t).format(e)),rt([Zn],()=>(e,t)=>((e={})=>{var{locale:t=Kn}=e,e=Wn(e,["locale"]);return rr(Object.assign({locale:t},e))})(t).format(e)),rt([Zn,kn],()=>(e,t=Kn)=>Fn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Qe.indexOf(e)&&(t=new Ye(t),et[e]=t,Qe.push(e)),et[e]}};const lr=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)),cr={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."}}},ur={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće"}}};function hr(e){let n,r=!lr(e[15])&&!e[0]&&e[9],o=r&&mr(e);return{c(){o&&o.c(),n=c()},m(e,t){o&&o.m(e,t),z(e,n,t)},p(e,t){513&t[0]&&(r=!lr(e[15])&&!e[0]&&e[9]),r?o?o.p(e,t):(o=mr(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(e){o&&o.d(e),e&&B(n)}}}function mr(n){let r,o,i;return{c(){r=V("div"),r.innerHTML='<svg version="1.1" class="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>',W(r,"class","FavIconContainer")},m(e,t){z(e,r,t),o||(i=X(r,"click",n[32]),o=!0)},p:k,d(e){e&&B(r),o=!1,i()}}}function pr(e){let n;return{c(){n=V("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',W(n,"class","FavIconContainer")},m(e,t){z(e,n,t)},p:k,d(e){e&&B(n)}}}function dr(n){let r,o,i;return{c(){r=V("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',W(r,"class","FavIconContainer")},m(e,t){z(e,r,t),o||(i=X(r,"click",n[34]),o=!0)},p:k,d(e){e&&B(r),o=!1,i()}}}function fr(e){let n,r,o=e[14]("gameThumbnail.new")+"";return{c(){n=V("span"),r=t(o),W(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){z(e,n,t),j(n,r)},p(e,t){16384&t[0]&&o!==(o=e[14]("gameThumbnail.new")+"")&&q(r,o)},d(e){e&&B(n)}}}function gr(e){let n,r,o=e[14]("gameThumbnail.hot")+"";return{c(){n=V("span"),r=t(o),W(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){z(e,n,t),j(n,r)},p(e,t){16384&t[0]&&o!==(o=e[14]("gameThumbnail.hot")+"")&&q(r,o)},d(e){e&&B(n)}}}function yr(e){let n,r;return{c(){n=V("p"),r=t(e[3]),W(n,"class","GameNameBelow"),W(n,"title",e[3])},m(e,t){z(e,n,t),j(n,r)},p(e,t){8&t[0]&&q(r,e[3]),8&t[0]&&W(n,"title",e[3])},d(e){e&&B(n)}}}function vr(n){let r,o,i,a,s,l,c,u,h,m,p,d,f,g,y,v,b,w,E,_,T,S,A,x,C,I,P=n[14]("gameThumbnail.playNow")+"",M=(n[4]||"-")+"",N=0<parseInt(n[7]),L=n[10]&&hr(n);function O(e,t){return(null==E||515&t[0])&&(E=!(lr(e[15])||!e[0]||!e[9]||!e[1])),E?dr:((null==_||515&t[0])&&(_=!!(lr(e[15])&&e[0]&&e[9]&&e[1])),_?pr:void 0)}let R=O(n,[-1]),G=R&&R(n),$=n[6]&&fr(n),F=N&&gr(n),U=n[8]&&yr(n);return{c(){r=V("div"),o=V("div"),i=V("img"),l=H(),c=V("div"),u=V("div"),L&&L.c(),h=H(),m=V("p"),p=t(n[3]),d=H(),f=V("button"),g=t(P),y=H(),v=V("span"),b=t(M),w=H(),G&&G.c(),T=H(),S=V("div"),$&&$.c(),A=H(),F&&F.c(),x=H(),U&&U.c(),this.c=k,i.src!==(a=n[2])&&W(i,"src",a),W(i,"class",s="GameBg "+(n[11]?"Loaded":"")),W(i,"alt",""),W(i,"loading","lazy"),W(m,"class","GameInfoName"),W(m,"title",n[3]),W(f,"class","GameInfoBtn"),W(u,"class","GameInfo"),W(v,"class","GameInfoVendor"),W(c,"class","GameInfoWrapper"),W(S,"class","GameExtraInfo"),W(o,"class","GameInnerContainer"),W(r,"class","GameContainer")},m(e,t){z(e,r,t),j(r,o),j(o,i),n[31](i),j(o,l),j(o,c),j(c,u),L&&L.m(u,null),j(u,h),j(u,m),j(m,p),j(u,d),j(u,f),j(f,g),j(c,y),j(c,v),j(v,b),j(o,w),G&&G.m(o,null),j(o,T),j(o,S),$&&$.m(S,null),j(S,A),F&&F.m(S,null),j(r,x),U&&U.m(r,null),n[35](r),C||(I=[X(f,"click",n[33]),X(o,"mouseenter",n[20]),X(o,"mouseleave",n[21]),X(o,"touchstart",n[18],{passive:!0}),X(o,"touchleave",n[19])],C=!0)},p(e,t){4&t[0]&&i.src!==(a=e[2])&&W(i,"src",a),2048&t[0]&&s!==(s="GameBg "+(e[11]?"Loaded":""))&&W(i,"class",s),e[10]?L?L.p(e,t):(L=hr(e),L.c(),L.m(u,h)):L&&(L.d(1),L=null),8&t[0]&&q(p,e[3]),8&t[0]&&W(m,"title",e[3]),16384&t[0]&&P!==(P=e[14]("gameThumbnail.playNow")+"")&&q(g,P),16&t[0]&&M!==(M=(e[4]||"-")+"")&&q(b,M),R===(R=O(e,t))&&G?G.p(e,t):(G&&G.d(1),G=R&&R(e),G&&(G.c(),G.m(o,T))),e[6]?$?$.p(e,t):($=fr(e),$.c(),$.m(S,A)):$&&($.d(1),$=null),128&t[0]&&(N=0<parseInt(e[7])),N?F?F.p(e,t):(F=gr(e),F.c(),F.m(S,null)):F&&(F.d(1),F=null),e[8]?U?U.p(e,t):(U=yr(e),U.c(),U.m(r,null)):U&&(U.d(1),U=null)},i:k,o:k,d(e){e&&B(r),n[31](null),L&&L.d(),G&&G.d(),$&&$.d(),F&&F.d(),U&&U.d(),n[35](null),C=!1,D(I)}}}function br(e,t,n){let r;Z(e,sr,e=>n(14,r=e));let o,i,{session:a=""}=t,{userid:s=""}=t,{lang:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{favorites:h=""}=t,{gamethumbnail:m=""}=t,{gamename:p=""}=t,{gamevendor:d=""}=t,{gameid:f=""}=t,{gameisnew:g=""}=t,{gamepopularity:y=""}=t,{gamefunmode:v=!1}=t,{searchitem:b=!1}=t,{gamefavorite:w=!1}=t,{showfavoredcategory:E=!1}=t,{showgamename:_=!1}=t,{endpoint:T=""}=t,S=!1,A=!1,x=!1,C=window.navigator.userAgent;Object.keys(ur).forEach(e=>{jn(e,ur[e])});const I=e=>{e.data.type!==`AddFavoriteThumbnail_${f}`||E||n(0,w=!0),e.data.type!==`RemoveFavoriteThumbnail_${f}`||E||n(0,w=!1),"UserSessionID"===e.data.type&&(n(9,S=!0),e.data.session,e.data.userID)},P=e=>{lr(C)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:v},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),b&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},M=e=>{var t="thumbnail";w?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)};return J(()=>(window.addEventListener("message",I,!1),()=>{window.removeEventListener("message",I)})),e.$$set=e=>{"session"in e&&n(22,a=e.session),"userid"in e&&n(23,s=e.userid),"lang"in e&&n(24,l=e.lang),"clientstyling"in e&&n(25,c=e.clientstyling),"clientstylingurl"in e&&n(26,u=e.clientstylingurl),"favorites"in e&&n(1,h=e.favorites),"gamethumbnail"in e&&n(2,m=e.gamethumbnail),"gamename"in e&&n(3,p=e.gamename),"gamevendor"in e&&n(4,d=e.gamevendor),"gameid"in e&&n(5,f=e.gameid),"gameisnew"in e&&n(6,g=e.gameisnew),"gamepopularity"in e&&n(7,y=e.gamepopularity),"gamefunmode"in e&&n(27,v=e.gamefunmode),"searchitem"in e&&n(28,b=e.searchitem),"gamefavorite"in e&&n(0,w=e.gamefavorite),"showfavoredcategory"in e&&n(29,E=e.showfavoredcategory),"showgamename"in e&&n(8,_=e.showgamename),"endpoint"in e&&n(30,T=e.endpoint)},e.$$.update=()=>{e.$$.dirty[0],1086324736&e.$$.dirty[0]&&a&&s&&T&&n(9,S=!0),4&e.$$.dirty[0]&&m&&o&&n(12,o.onload=()=>{n(11,x=!0)},o),33554432&e.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{i.appendChild(e)})})(),2&e.$$.dirty[0]&&h&&"true"==h&&n(10,A=!0),67108864&e.$$.dirty[0]&&u&&(()=>{let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)})})})()},[w,h,m,p,d,f,g,y,_,S,A,x,o,i,r,C,P,M,()=>{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)},a,s,l,c,u,v,b,E,T,function(e){Q[e?"unshift":"push"](()=>{o=e,n(12,o)})},()=>M(f),()=>P(f),()=>M(f),function(e){Q[e?"unshift":"push"](()=>{i=e,n(13,i)})}]}function wr(e,t,n){const r=e.slice();return r[68]=t[n],r[70]=n,r}function Er(e,t,n){const r=e.slice();return r[68]=t[n],r[71]=t,r[70]=n,r}function _r(e,t,n){const r=e.slice();return r[68]=t[n],r[70]=n,r}function Tr(e){let n;function r(e){return e[9]?Cr:e[19]?xr:void 0}let o=r(e),i=o&&o(e);return{c(){n=V("div"),i&&i.c()},m(e,t){z(e,n,t),i&&i.m(n,null)},p(e,t){o===(o=r(e))&&i?i.p(e,t):(i&&i.d(1),i=o&&o(e),i&&(i.c(),i.m(n,null)))},d(e){e&&B(n),i&&i.d()}}}function Sr(e){let n,r,o;function i(e){return e[13]?Hr:e[10].length?Br:Vr}let a=i(e),s=a(e);function l(e){return e[10]?Wr:Xr}let c=l(e),u=c(e);return{c(){n=V("div"),r=V("div"),s.c(),o=H(),u.c(),W(r,"class","CasinoGamesHeader Searched "+(lr(e[23])?"CasinoGamesHeaderMobile":"")),W(n,"class","CasinoGamesContainer")},m(e,t){z(e,n,t),j(n,r),s.m(r,null),j(n,o),u.m(n,null)},p(e,t){a===(a=i(e))&&s?s.p(e,t):(s.d(1),s=a(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&&B(n),s.d(),u.d()}}}function Ar(e){let n;function r(e){return e[15]?Zr:Kr}let o=r(e),i=o(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),z(e,n,t)},p(e,t){o!==(o=r(e))&&(i.d(1),i=o(e),i&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&B(n)}}}function xr(n){let r,o,i,a,s,l,c,u=n[21].name+"";function h(e){return e[21]?Pr:Ir}let m=h(n),p=m(n);return{c(){r=V("div"),o=V("div"),i=V("h3"),a=t(u),s=H(),l=V("ul"),p.c(),W(i,"class","CategoryName"),W(o,"class","CasinoGamesHeader"),W(l,"class",c=(0!=n[21].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),W(r,"class","CasinoGamesContainer")},m(e,t){z(e,r,t),j(r,o),j(o,i),j(i,a),n[38](i),j(r,s),j(r,l),p.m(l,null),n[39](l)},p(e,t){2097152&t[0]&&u!==(u=e[21].name+"")&&q(a,u),m===(m=h(e))&&p?p.p(e,t):(p.d(1),p=m(e),p&&(p.c(),p.m(l,null))),2097152&t[0]&&c!==(c=(0!=e[21].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&W(l,"class",c)},d(e){e&&B(r),n[38](null),p.d(),n[39](null)}}}function Cr(n){let r,o,i,a,s,l,c=n[9].name+"",u=n[11]&&kr(n);function h(e){return 0!==e[10].length?jr:Dr}let m=h(n),p=m(n);return{c(){r=V("div"),o=V("div"),i=V("h3"),a=t(c),s=H(),u&&u.c(),l=H(),p.c(),W(i,"class","CategoryName"),W(o,"class","CasinoGamesHeader"),W(r,"class","CasinoGamesContainer")},m(e,t){z(e,r,t),j(r,o),j(o,i),j(i,a),n[34](i),j(o,s),u&&u.m(o,null),j(r,l),p.m(r,null)},p(e,t){512&t[0]&&c!==(c=e[9].name+"")&&q(a,c),e[11]?u?u.p(e,t):(u=kr(e),u.c(),u.m(o,null)):u&&(u.d(1),u=null),m===(m=h(e))&&p?p.p(e,t):(p.d(1),p=m(e),p&&(p.c(),p.m(r,null)))},d(e){e&&B(r),n[34](null),u&&u.d(),p.d()}}}function Ir(e){let n;return{c(){n=V("p"),n.textContent="Waiting"},m(e,t){z(e,n,t)},p:k,d(e){e&&B(n)}}}function Pr(t){let r,o=t[21].items,i=[];for(let e=0;e<o.length;e+=1)i[e]=Ur(wr(t,o,e));let a=null;return o.length||(a=Mr(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c(),a&&a.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);z(t,r,n),a&&a.m(t,n)},p(t,n){if(11010175&n[0]){let e;for(o=t[21].items,e=0;e<o.length;e+=1){const a=wr(t,o,e);i[e]?i[e].p(a,n):(i[e]=Ur(a),i[e].c(),i[e].m(r.parentNode,r))}for(;e<i.length;e+=1)i[e].d(1);i.length=o.length,!o.length&&a?a.p(t,n):o.length?a&&(a.d(1),a=null):(a=Mr(t),a.c(),a.m(r.parentNode,r))}},d(e){l(i,e),e&&B(r),a&&a.d(e)}}}function Mr(e){let n,r,o,i,a,s,l,c=(t=e,(lr(t[23])?Lr:Nr)(e));var t;return{c(){n=V("p"),r=u("svg"),o=u("path"),i=H(),a=V("span"),a.textContent="You do not have any favored games yet.",s=H(),c.c(),l=H(),f(o,"fill","white"),W(o,"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"),W(r,"version","1.1"),W(r,"class","UnfavoredIcon"),W(r,"xmlns","http://www.w3.org/2000/svg"),W(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),W(r,"x","50px"),W(r,"y","50px"),W(r,"viewBox","0 0 512.001 512.001"),f(r,"enable-background","new 0 0 512.001 512.001"),W(r,"xml:space","preserve"),W(a,"class","NoFavoriteText NoFavoriteTextHighlight"),W(n,"class","NoFavoriteGames "+(lr(e[23])?"NoFavoriteGamesMobile":""))},m(e,t){z(e,n,t),j(n,r),j(r,o),j(n,i),j(n,a),j(n,s),c.m(n,null),j(n,l)},p:k,d(e){e&&B(n),c.d()}}}function Nr(e){let n;return{c(){n=V("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",W(n,"class","NoFavoriteText")},m(e,t){z(e,n,t)},d(e){e&&B(n)}}}function Lr(e){let n;return{c(){n=V("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",W(n,"class","NoFavoriteText")},m(e,t){z(e,n,t)},d(e){e&&B(n)}}}function Or(e){let n,r=e[68].gameModel.isFavorite&&Rr(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){e[68].gameModel.isFavorite?r?r.p(e,t):(r=Rr(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&B(n)}}}function Rr(e){let n,r=function(e){let n,r,o;function i(e,t){return null==n&&(n=!!lr(e[23])),n?$r:((null==r||2097152&t[0])&&(r=!!e[68].gameModel.platform.includes("PC")),r?Gr:void 0)}let a=i(e,[-1]),s=a&&a(e);return{c(){s&&s.c(),o=c()},m(e,t){s&&s.m(e,t),z(e,o,t)},p(e,t){a===(a=i(e,t))&&s?s.p(e,t):(s&&s.d(1),s=a&&a(e),s&&(s.c(),s.m(o.parentNode,o)))},d(e){s&&s.d(e),e&&B(o)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&B(n)}}}function Gr(e){let n,r,o,i,a,s,l,c,u,h,m;return{c(){n=V("casino-game-thumbnail"),y(n,"class",r=""+(Qr+(e[68].cellSize||"1x1"))),y(n,"session",e[2]),y(n,"userid",e[3]),y(n,"lang",e[1]),y(n,"favorites",e[4]),y(n,"gamethumbnail",o=e[68].gameModel.thumbnail),y(n,"gamename",i=e[68].gameModel.name),y(n,"gamevendor",a=e[68].gameModel.vendor.name),y(n,"gameisnew",s=e[68].gameModel.isNew),y(n,"gamepopularity",l=e[68].gameModel.popularity),y(n,"gamecellsize",c=e[68].gameModel.cellSize),y(n,"gameid",u=e[68].gameModel.id),y(n,"gamefunmode",h=e[68].gameModel.hasFunMode),y(n,"gamefavorite",m=e[68].gameModel.isFavorite),y(n,"showfavoredcategory",e[19]),y(n,"clientstyling",e[5]),y(n,"clientstylingurl",e[6]),y(n,"endpoint",e[0])},m(e,t){z(e,n,t)},p(e,t){2097152&t[0]&&r!==(r=""+(Qr+(e[68].cellSize||"1x1")))&&y(n,"class",r),4&t[0]&&y(n,"session",e[2]),8&t[0]&&y(n,"userid",e[3]),2&t[0]&&y(n,"lang",e[1]),16&t[0]&&y(n,"favorites",e[4]),2097152&t[0]&&o!==(o=e[68].gameModel.thumbnail)&&y(n,"gamethumbnail",o),2097152&t[0]&&i!==(i=e[68].gameModel.name)&&y(n,"gamename",i),2097152&t[0]&&a!==(a=e[68].gameModel.vendor.name)&&y(n,"gamevendor",a),2097152&t[0]&&s!==(s=e[68].gameModel.isNew)&&y(n,"gameisnew",s),2097152&t[0]&&l!==(l=e[68].gameModel.popularity)&&y(n,"gamepopularity",l),2097152&t[0]&&c!==(c=e[68].gameModel.cellSize)&&y(n,"gamecellsize",c),2097152&t[0]&&u!==(u=e[68].gameModel.id)&&y(n,"gameid",u),2097152&t[0]&&h!==(h=e[68].gameModel.hasFunMode)&&y(n,"gamefunmode",h),2097152&t[0]&&m!==(m=e[68].gameModel.isFavorite)&&y(n,"gamefavorite",m),524288&t[0]&&y(n,"showfavoredcategory",e[19]),32&t[0]&&y(n,"clientstyling",e[5]),64&t[0]&&y(n,"clientstylingurl",e[6]),1&t[0]&&y(n,"endpoint",e[0])},d(e){e&&B(n)}}}function $r(e){let n,r=e[68].gameModel.platform.includes("iPad")||e[68].gameModel.platform.includes("iPhone")||e[68].gameModel.platform.includes("Android"),o=r&&Fr(e);return{c(){o&&o.c(),n=c()},m(e,t){o&&o.m(e,t),z(e,n,t)},p(e,t){2097152&t[0]&&(r=e[68].gameModel.platform.includes("iPad")||e[68].gameModel.platform.includes("iPhone")||e[68].gameModel.platform.includes("Android")),r?o?o.p(e,t):(o=Fr(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(e){o&&o.d(e),e&&B(n)}}}function Fr(e){let n,r,o,i,a,s,l,c,u,h,m;return{c(){n=V("casino-game-thumbnail"),y(n,"class",r=""+(Qr+(e[68].cellSize||"1x1"))),y(n,"session",e[2]),y(n,"userid",e[3]),y(n,"lang",e[1]),y(n,"favorites",e[4]),y(n,"gamethumbnail",o=e[68].gameModel.thumbnail),y(n,"gamename",i=e[68].gameModel.name),y(n,"gamevendor",a=e[68].gameModel.vendor.name),y(n,"gameisnew",s=e[68].gameModel.isNew),y(n,"gamepopularity",l=e[68].gameModel.popularity),y(n,"gamecellsize",c=e[68].gameModel.cellSize),y(n,"gameid",u=e[68].gameModel.id),y(n,"gamefunmode",h=e[68].gameModel.hasFunMode),y(n,"gamefavorite",m=e[68].gameModel.isFavorite),y(n,"showfavoredcategory",e[19]),y(n,"clientstyling",e[5]),y(n,"clientstylingurl",e[6]),y(n,"endpoint",e[0])},m(e,t){z(e,n,t)},p(e,t){2097152&t[0]&&r!==(r=""+(Qr+(e[68].cellSize||"1x1")))&&y(n,"class",r),4&t[0]&&y(n,"session",e[2]),8&t[0]&&y(n,"userid",e[3]),2&t[0]&&y(n,"lang",e[1]),16&t[0]&&y(n,"favorites",e[4]),2097152&t[0]&&o!==(o=e[68].gameModel.thumbnail)&&y(n,"gamethumbnail",o),2097152&t[0]&&i!==(i=e[68].gameModel.name)&&y(n,"gamename",i),2097152&t[0]&&a!==(a=e[68].gameModel.vendor.name)&&y(n,"gamevendor",a),2097152&t[0]&&s!==(s=e[68].gameModel.isNew)&&y(n,"gameisnew",s),2097152&t[0]&&l!==(l=e[68].gameModel.popularity)&&y(n,"gamepopularity",l),2097152&t[0]&&c!==(c=e[68].gameModel.cellSize)&&y(n,"gamecellsize",c),2097152&t[0]&&u!==(u=e[68].gameModel.id)&&y(n,"gameid",u),2097152&t[0]&&h!==(h=e[68].gameModel.hasFunMode)&&y(n,"gamefunmode",h),2097152&t[0]&&m!==(m=e[68].gameModel.isFavorite)&&y(n,"gamefavorite",m),524288&t[0]&&y(n,"showfavoredcategory",e[19]),32&t[0]&&y(n,"clientstyling",e[5]),64&t[0]&&y(n,"clientstylingurl",e[6]),1&t[0]&&y(n,"endpoint",e[0])},d(e){e&&B(n)}}}function Ur(e){let n,r=e[68].gameModel&&Or(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){e[68].gameModel?r?r.p(e,t):(r=Or(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&B(n)}}}function kr(n){let r,o,i,a,s,l,c,u,h=n[22]("gamesCategorySection.viewAll")+"",m=n[9].games.total+"";return{c(){r=V("a"),o=V("span"),i=t(h),a=t(" ("),s=t(m),l=t(")"),W(o,"class","CategoryLoadMore"),W(r,"class","CategoryNameLink")},m(e,t){z(e,r,t),j(r,o),j(o,i),j(o,a),j(o,s),j(o,l),c||(u=X(r,"click",n[35]),c=!0)},p(e,t){4194304&t[0]&&h!==(h=e[22]("gamesCategorySection.viewAll")+"")&&q(i,h),512&t[0]&&m!==(m=e[9].games.total+"")&&q(s,m)},d(e){e&&B(r),c=!1,u()}}}function Dr(e){let n;return{c(){n=V("p"),n.textContent="You don't have any games in this category.",W(n,"class","NoSearchResults")},m(e,t){z(e,n,t)},p:k,d(e){e&&B(n)}}}function jr(n){let o,e,i=n[10],a=[];for(let e=0;e<i.length;e+=1)a[e]=zr(Er(n,i,e));return{c(){o=V("ul");for(let e=0;e<a.length;e+=1)a[e].c();W(o,"class",e=(0===n[21].items.length&&n[19]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){z(e,o,t);for(let e=0;e<a.length;e+=1)a[e].m(o,null);n[37](o)},p(t,n){if(1279&n[0]){let e;for(i=t[10],e=0;e<i.length;e+=1){var r=Er(t,i,e);a[e]?a[e].p(r,n):(a[e]=zr(r),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length}2621440&n[0]&&e!==(e=(0===t[21].items.length&&t[19]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&W(o,"class",e)},d(e){e&&B(o),l(a,e),n[37](null)}}}function zr(e){let n,r=function(n){let r,o,i,a,s,l,c,u,h,m,p,d=n[70];const f=()=>n[36](r,d),g=()=>n[36](null,d);return{c(){r=V("casino-game-thumbnail"),y(r,"session",n[2]),y(r,"userid",n[3]),y(r,"lang",n[1]),y(r,"class",o=""+(Qr+(n[68].cellSize||"1x1"))),y(r,"favorites",n[4]),y(r,"gamethumbnail",i=n[68].thumbnail),y(r,"gamename",a=n[68].name),y(r,"gamevendor",s=n[68].vendor.name),y(r,"gameisnew",l=n[68].isNew),y(r,"gamepopularity",c=n[68].popularity),y(r,"gamecellsize",u=n[68].cellSize),y(r,"gameid",h=n[68].id),y(r,"gamefunmode",m=n[68].hasFunMode),y(r,"gamefavorite",p=n[68].isFavorite),y(r,"clientstyling",n[5]),y(r,"clientstylingurl",n[6]),y(r,"endpoint",n[0])},m(e,t){z(e,r,t),f()},p(e,t){n=e,4&t[0]&&y(r,"session",n[2]),8&t[0]&&y(r,"userid",n[3]),2&t[0]&&y(r,"lang",n[1]),1024&t[0]&&o!==(o=""+(Qr+(n[68].cellSize||"1x1")))&&y(r,"class",o),16&t[0]&&y(r,"favorites",n[4]),1024&t[0]&&i!==(i=n[68].thumbnail)&&y(r,"gamethumbnail",i),1024&t[0]&&a!==(a=n[68].name)&&y(r,"gamename",a),1024&t[0]&&s!==(s=n[68].vendor.name)&&y(r,"gamevendor",s),1024&t[0]&&l!==(l=n[68].isNew)&&y(r,"gameisnew",l),1024&t[0]&&c!==(c=n[68].popularity)&&y(r,"gamepopularity",c),1024&t[0]&&u!==(u=n[68].cellSize)&&y(r,"gamecellsize",u),1024&t[0]&&h!==(h=n[68].id)&&y(r,"gameid",h),1024&t[0]&&m!==(m=n[68].hasFunMode)&&y(r,"gamefunmode",m),1024&t[0]&&p!==(p=n[68].isFavorite)&&y(r,"gamefavorite",p),32&t[0]&&y(r,"clientstyling",n[5]),64&t[0]&&y(r,"clientstylingurl",n[6]),1&t[0]&&y(r,"endpoint",n[0]),d!==n[70]&&(g(),d=n[70],f())},d(e){e&&B(r),g()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&B(n)}}}function Br(e){let n,r,o=e[22]("gamesCategorySection.searchedItems")+"";return{c(){n=V("h3"),r=t(o),W(n,"class","StatusText")},m(e,t){z(e,n,t),j(n,r)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamesCategorySection.searchedItems")+"")&&q(r,o)},d(e){e&&B(n)}}}function Vr(e){let n,r,o=e[22]("gamesCategorySection.noResults")+"";return{c(){n=V("h3"),r=t(o),W(n,"class","StatusText")},m(e,t){z(e,n,t),j(n,r)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamesCategorySection.noResults")+"")&&q(r,o)},d(e){e&&B(n)}}}function Hr(e){let n,r,o=e[22]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=V("h3"),r=t(o),W(n,"class","StatusText")},m(e,t){z(e,n,t),j(n,r)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamesCategorySection.recentSearchedItems")+"")&&q(r,o)},d(e){e&&B(n)}}}function Xr(e){let n;return{c(){n=V("p"),n.textContent="Waiting",W(n,"class","SearchWaiting")},m(e,t){z(e,n,t)},p:k,d(e){e&&B(n)}}}function Wr(t){let r,o,i=!t[16]&&qr(t),a=t[10],s=[];for(let e=0;e<a.length;e+=1)s[e]=Yr(_r(t,a,e));return{c(){i&&i.c(),r=H(),o=V("ul");for(let e=0;e<s.length;e+=1)s[e].c();W(o,"class","CasinoGamesGrid")},m(e,t){i&&i.m(e,t),z(e,r,t),z(e,o,t);for(let e=0;e<s.length;e+=1)s[e].m(o,null)},p(t,n){if(t[16]?i&&(i.d(1),i=null):i?i.p(t,n):(i=qr(t),i.c(),i.m(r.parentNode,r)),17535&n[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){const i=_r(t,a,e);s[e]?s[e].p(i,n):(s[e]=Yr(i),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}},d(e){i&&i.d(e),e&&B(r),e&&B(o),l(s,e)}}}function qr(e){let n,r,o=e[22]("gamesCategorySection.noRecentSearch")+"";return{c(){n=V("p"),r=t(o),W(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(lr(e[23])?"NoRecentSearchesMobile":""))},m(e,t){z(e,n,t),j(n,r)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamesCategorySection.noRecentSearch")+"")&&q(r,o)},d(e){e&&B(n)}}}function Yr(e){let n,r,o,i,a,s,l,c,u,h,m;return{c(){n=V("casino-game-thumbnail"),y(n,"class",r=""+(Qr+(e[68].cellSize||"1x1"))),y(n,"session",e[2]),y(n,"userid",e[3]),y(n,"lang",e[1]),y(n,"searchitem",e[14]),y(n,"favorites",e[4]),y(n,"gamethumbnail",o=e[68].thumbnail),y(n,"gamename",i=e[68].name),y(n,"gamevendor",a=e[68].vendor.name),y(n,"gameisnew",s=e[68].isNew),y(n,"gamepopularity",l=e[68].popularity),y(n,"gamecellsize",c=e[68].cellSize),y(n,"gameid",u=e[68].id),y(n,"gamefunmode",h=e[68].hasFunMode),y(n,"gamefavorite",m=e[68].isFavorite),y(n,"clientstyling",e[5]),y(n,"clientstylingurl",e[6]),y(n,"endpoint",e[0])},m(e,t){z(e,n,t)},p(e,t){1024&t[0]&&r!==(r=""+(Qr+(e[68].cellSize||"1x1")))&&y(n,"class",r),4&t[0]&&y(n,"session",e[2]),8&t[0]&&y(n,"userid",e[3]),2&t[0]&&y(n,"lang",e[1]),16384&t[0]&&y(n,"searchitem",e[14]),16&t[0]&&y(n,"favorites",e[4]),1024&t[0]&&o!==(o=e[68].thumbnail)&&y(n,"gamethumbnail",o),1024&t[0]&&i!==(i=e[68].name)&&y(n,"gamename",i),1024&t[0]&&a!==(a=e[68].vendor.name)&&y(n,"gamevendor",a),1024&t[0]&&s!==(s=e[68].isNew)&&y(n,"gameisnew",s),1024&t[0]&&l!==(l=e[68].popularity)&&y(n,"gamepopularity",l),1024&t[0]&&c!==(c=e[68].cellSize)&&y(n,"gamecellsize",c),1024&t[0]&&u!==(u=e[68].id)&&y(n,"gameid",u),1024&t[0]&&h!==(h=e[68].hasFunMode)&&y(n,"gamefunmode",h),1024&t[0]&&m!==(m=e[68].isFavorite)&&y(n,"gamefavorite",m),32&t[0]&&y(n,"clientstyling",e[5]),64&t[0]&&y(n,"clientstylingurl",e[6]),1&t[0]&&y(n,"endpoint",e[0])},d(e){e&&B(n)}}}function Kr(e){let n;return{c(){n=V("p"),n.textContent="500 Error - Internal Server Error.",W(n,"class","SearchLoading")},m(e,t){z(e,n,t)},d(e){e&&B(n)}}}function Zr(e){let n;return{c(){n=V("p"),n.textContent="404 Error - No result found.",W(n,"class","SearchLoading")},m(e,t){z(e,n,t)},d(e){e&&B(n)}}}function Jr(n){let r;function o(e){return e[8]?Ar:e[12]?Sr:Tr}let i=o(n),a=i(n);return{c(){r=V("div"),a.c(),this.c=k,W(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){z(e,r,t),a.m(r,null),n[40](r)},p(e,t){i===(i=o(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(r,null)))},i:k,o:k,d(e){e&&B(r),a.d(),n[40](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends A{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%}.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)}.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;top:8px;left:8px}.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}</style>",s(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},br,vr,n,{session:22,userid:23,lang:24,clientstyling:25,clientstylingurl:26,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:27,searchitem:28,gamefavorite:0,showfavoredcategory:29,showgamename:8,endpoint:30},[-1,-1]),e&&(e.target&&z(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","endpoint"]}get session(){return this.$$.ctx[22]}set session(e){this.$set({session:e}),T()}get userid(){return this.$$.ctx[23]}set userid(e){this.$set({userid:e}),T()}get lang(){return this.$$.ctx[24]}set lang(e){this.$set({lang:e}),T()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$set({clientstyling:e}),T()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$set({clientstylingurl:e}),T()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),T()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),T()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),T()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),T()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),T()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),T()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),T()}get gamefunmode(){return this.$$.ctx[27]}set gamefunmode(e){this.$set({gamefunmode:e}),T()}get searchitem(){return this.$$.ctx[28]}set searchitem(e){this.$set({searchitem:e}),T()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),T()}get showfavoredcategory(){return this.$$.ctx[29]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),T()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),T()}get endpoint(){return this.$$.ctx[30]}set endpoint(e){this.$set({endpoint:e}),T()}});const Qr="game-tile-";function eo(e,t,s){let n;Z(e,sr,e=>s(22,n=e));var r=this&&this.__awaiter||function(e,a,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{i(l.next(e))}catch(e){t(e)}}function o(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,o)}i((l=l.apply(e,a||[])).next())})};let o,i,a,l,c,u,h,m,{endpoint:p=""}=t,{datasource:d=""}=t,{lang:f=""}=t,{session:g=""}=t,{userid:y=""}=t,{favorites:v=""}=t,{clientstyling:b=""}=t,{clientstylingurl:w=""}=t,{categoryid:E=""}=t,{categoryindex:_=0}=t,{categorygames:T=0}=t,{once:S=!0}=t,{top:A=0}=t,{bottom:x=0}=t,{left:C=0}=t,{right:I=0}=t,P=!1,M=!0,N=window.navigator.userAgent,L=[],O=!0,R=40,G=!1,$=!1,F=!1,U=!1,k=!0,D=!1,j=!1,z=!1,B=new Array(1e3),V={items:[],count:0,name:""};Object.keys(cr).forEach(e=>{jn(e,cr[e])});let H=new IntersectionObserver((e,t)=>{e.forEach(t=>r(void 0,void 0,void 0,function*(){var e=t.target.elems_index;t.isIntersecting&&1.2*e>R&&q(E)}))});const X=(e,r,o,t=0)=>{let i=new URL(`${p}/casino/groups/${d}/${E}`),a=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",(e=N).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),i.searchParams.append("pagination",`games(offset=${r},limit=${o})`),i.searchParams.append("language",f),window.postMessage({type:"CategoryVendors",categoryid:E},window.location.href),a&&a[E])if(a[E].length&&!1===M&&!1===D){let t="";s(15,U=!0),a[E].forEach(e=>{t+=t?`, id=${e}`:`id=${e}`}),i.searchParams.append("filter",`games(vendor(${t}))`)}else s(15,U=!1);var e;fetch(i).then(e=>e.json()).then(e=>{s(8,P=!1),c=e.games.total,t(e)},e=>{s(8,P=!0),console.error(e),n(e)})})},W=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(12,G=!1),M=!1,s(11,O=!1),j=!0,s(10,L=t.data.mostPlayedGames),s(9,a={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(12,G=!0),j=!1,s(13,$=!0),0<t.data.searchData.length?(s(10,L=t.data.searchData),s(16,k=!0),L&&L.forEach(e=>{e.isFavorite=Y(e.id)})):(s(10,L=[]),s(16,k=!1));break;case"OutOfRecentSearches":s(12,G=!1),s(13,$=!1);break;case"SearchData":s(12,G=!0),j=!1,s(13,$=!1),s(10,L=t.data.searchData.items||[]),s(14,F=!0),t.data.receivedFavoriteResults&&(h=t.data.receivedFavoriteResults.items),L&&L.forEach(e=>{e.isFavorite=Y(e.id)});break;case`CategoryData_${E}`:s(12,G=!1),M=!0,s(11,O=!0),s(14,F=!1),j=!1,z=!1,t.data.receivedFavoriteResults&&(h=t.data.receivedFavoriteResults.items),X(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(9,a=e),s(10,L=a.games.items),L&&L.forEach(e=>{e.isFavorite=Y(e.id)})});break;case"CategoryChange":R=20;break;case"CategoryUpdate":s(12,G=!1),M=!1,s(14,F=!1),j=!1,s(11,O=!1),z=!0,s(25,E=t.data.itemId),X(0,0,R).then(e=>{s(9,a=e),a.games.items.forEach(e=>{e.isFavorite=Y(e.id)}),s(10,L=a.games.items),s(11,O=!1)});break;case"FavoriteUpdate":s(12,G=!1),j=!1,M=!0,s(10,L=a.games.items),L.forEach(e=>{e.isFavorite=Y(e.id)}),s(11,O=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(h=t.data.receivedFavoriteResults.items,t.data.triggerFactor&&!D?window.postMessage({type:"FavoriteUpdate"},window.location.href):M||j||window.postMessage({type:"CategoryUpdate",itemId:E},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(21,V.items=(n=e,V.items,r=window.navigator.userAgent,lr(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})),V),s(21,V.name="Favorites",V),s(19,D=!0));break;case"UserSessionID":o=t.data.session,i=t.data.userID,"true"==v&&i&&i.length&&o&&0<o.length&&(e=>{let r={method:"GET",headers:{"X-SessionID":o}};new Promise((t,n)=>{fetch(e,r).then(e=>e.json()).then(e=>{h=e?e.items:[],L.forEach(e=>{e.isFavorite=Y(e.id)});e=L;s(10,L=void 0),s(10,L=e),t(h)}).catch(e=>{console.error(e),n(e)})})})(`${p}/player/${i}/favorites/`)}var n,r},q=e=>{R+=10,R<=c&&X(0,0,R).then(e=>{s(9,a=e),s(10,L=a.games.items),L.forEach(e=>{e.isFavorite=Y(e.id)})})},Y=t=>!!h&&-1!==h.findIndex(e=>e.id==t),K=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return J(()=>(window.addEventListener("message",W,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",W)})),e.$$set=e=>{"endpoint"in e&&s(0,p=e.endpoint),"datasource"in e&&s(26,d=e.datasource),"lang"in e&&s(1,f=e.lang),"session"in e&&s(2,g=e.session),"userid"in e&&s(3,y=e.userid),"favorites"in e&&s(4,v=e.favorites),"clientstyling"in e&&s(5,b=e.clientstyling),"clientstylingurl"in e&&s(6,w=e.clientstylingurl),"categoryid"in e&&s(25,E=e.categoryid),"categoryindex"in e&&s(27,_=e.categoryindex),"categorygames"in e&&s(28,T=e.categorygames),"once"in e&&s(29,S=e.once),"top"in e&&s(30,A=e.top),"bottom"in e&&s(31,x=e.bottom),"left"in e&&s(32,C=e.left),"right"in e&&s(33,I=e.right)},e.$$.update=()=>{128&e.$$.dirty[0]&&B&&z&&B.forEach((e,t)=>{e&&(e.elems_index=t,H.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&b&&(()=>{let e=document.createElement("style");e.innerHTML=b,setTimeout(()=>{m.appendChild(e)})})(),64&e.$$.dirty[0]&&w&&(()=>{let t=document.createElement("style");fetch(new URL(w)).then(e=>e.text()).then(e=>{t.innerHTML=e,m&&setTimeout(()=>{m.appendChild(t)},1)})})()},[p,f,g,y,v,b,w,B,P,a,L,O,G,$,F,U,k,l,u,D,m,V,n,N,K,E,d,_,T,S,A,x,C,I,function(e){Q[e?"unshift":"push"](()=>{u=e,s(18,u)})},e=>K(a.id,a),function(e,t){Q[e?"unshift":"push"](()=>{B[t]=e,s(7,B)})},function(e){Q[e?"unshift":"push"](()=>{l=e,s(17,l)})},function(e){Q[e?"unshift":"push"](()=>{u=e,s(18,u)})},function(e){Q[e?"unshift":"push"](()=>{l=e,s(17,l)})},function(e){Q[e?"unshift":"push"](()=>{m=e,s(20,m)})}]}class to extends A{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:left;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoRecentSearchesCenter.NoRecentSearchesMobile{text-align:left}.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}.CasinoGamesHeader.CasinoGamesHeaderMobile.Searched{justify-content:flex-start}.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:dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",s(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},eo,Jr,n,{endpoint:0,datasource:26,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,categoryid:25,categoryindex:27,categorygames:28,once:29,top:30,bottom:31,left:32,right:33},[-1,-1,-1]),e&&(e.target&&z(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","categoryid","categoryindex","categorygames","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),T()}get datasource(){return this.$$.ctx[26]}set datasource(e){this.$set({datasource:e}),T()}get lang(){return this.$$.ctx[1]}set lang(e){this.$set({lang:e}),T()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),T()}get userid(){return this.$$.ctx[3]}set userid(e){this.$set({userid:e}),T()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$set({favorites:e}),T()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),T()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),T()}get categoryid(){return this.$$.ctx[25]}set categoryid(e){this.$set({categoryid:e}),T()}get categoryindex(){return this.$$.ctx[27]}set categoryindex(e){this.$set({categoryindex:e}),T()}get categorygames(){return this.$$.ctx[28]}set categorygames(e){this.$set({categorygames:e}),T()}get once(){return this.$$.ctx[29]}set once(e){this.$set({once:e}),T()}get top(){return this.$$.ctx[30]}set top(e){this.$set({top:e}),T()}get bottom(){return this.$$.ctx[31]}set bottom(e){this.$set({bottom:e}),T()}get left(){return this.$$.ctx[32]}set left(e){this.$set({left:e}),T()}get right(){return this.$$.ctx[33]}set right(e){this.$set({right:e}),T()}}return customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",to),to});
|
|
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 k(){}function h(e){return e()}function m(){return Object.create(null)}function D(e){e.forEach(h)}function p(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function d(e,...t){if(null==e)return k;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Z(e,t,n){e.$$.on_destroy.push(d(t,n))}function j(e,t){e.appendChild(t)}function z(e,t,n){e.insertBefore(t,n||null)}function B(e){e.parentNode.removeChild(e)}function l(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function V(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 H(){return t(" ")}function c(){return t("")}function X(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function W(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function y(e,t,n){t in e?e[t]=n:W(e,t,n)}function q(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function f(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}function r(e){const t={};for(const n of e)t[n.name]=n.value;return t}let g;function v(e){g=e}function J(e){!function(){if(!g)throw new Error("Function called outside component initialization");return g}().$$.on_mount.push(e)}const b=[],Q=[],o=[],e=[],w=Promise.resolve();let E=!1;function _(e){o.push(e)}let i=!1;const a=new Set;function T(){if(!i){i=!0;do{for(let e=0;e<b.length;e+=1){var t=b[e];v(t),function(e){{var t;null!==e.fragment&&(e.update(),D(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(_))}}(t.$$)}for(v(null),b.length=0;Q.length;)Q.pop()();for(let e=0;e<o.length;e+=1){const n=o[e];a.has(n)||(a.add(n),n())}}while(o.length=0,b.length);for(;e.length;)e.pop()();E=!1,i=!1,a.clear()}}const S=new Set;function s(r,e,t,n,o,i,a=[-1]){var s,l=g;v(r);const c=r.$$={fragment:null,ctx:null,props:i,update:k,not_equal:o,bound:m(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:m(),dirty:a,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&&o(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(b.push(e),E||(E=!0,w.then(T)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,D(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const k=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(k),k.forEach(B)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(S.delete(s),s.i(void 0)),function(t,e,n,r){const{fragment:o,on_mount:i,on_destroy:a,after_update:s}=t.$$;o&&o.m(e,n),r||_(()=>{var e=i.map(h).filter(p);a?a.push(...e):D(e),t.$$.on_mount=[]}),s.forEach(_)}(r,e.target,e.anchor,e.customElement),T()}v(l)}let A;"function"==typeof HTMLElement&&(A=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(h).filter(p);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){D(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(D(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=k}$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 x,C,I="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==I&&I,P="URLSearchParams"in I,M="Symbol"in I&&"iterator"in Symbol,N="FileReader"in I&&"Blob"in I&&function(){try{return new Blob,!0}catch(e){return!1}}(),L="FormData"in I,O="ArrayBuffer"in I;function R(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 G(e){return e="string"!=typeof e?String(e):e}function $(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return M&&(e[Symbol.iterator]=function(){return e}),e}function F(t){this.map={},t instanceof F?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 K(e){var t=new FileReader,n=Y(t);return t.readAsArrayBuffer(e),n}function ee(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function te(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:N&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:L&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:P&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():O&&N&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ee(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):O&&(ArrayBuffer.prototype.isPrototypeOf(e)||C(e))?this._bodyArrayBuffer=ee(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):P&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},N&&(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(K)}),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)},L&&(this.formData=function(){return this.text().then(oe)}),this.json=function(){return this.text().then(JSON.parse)},this}O&&(x=["[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<x.indexOf(Object.prototype.toString.call(e))}),F.prototype.append=function(e,t){e=R(e),t=G(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},F.prototype.delete=function(e){delete this.map[R(e)]},F.prototype.get=function(e){return e=R(e),this.has(e)?this.map[e]:null},F.prototype.has=function(e){return this.map.hasOwnProperty(R(e))},F.prototype.set=function(e,t){this.map[R(e)]=G(t)},F.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},F.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),$(n)},F.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),$(t)},F.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),$(n)},M&&(F.prototype[Symbol.iterator]=F.prototype.entries);var ne=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function re(e,t){if(!(this instanceof re))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 re){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new F(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 F(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<ne.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 oe(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 F(t.headers),this.url=t.url||"",this._initBody(e)}re.prototype.clone=function(){return new re(this,{body:this._bodyInit})},te.call(re.prototype),te.call(ie.prototype),ie.prototype.clone=function(){return new ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new F(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 se=I.DOMException;try{new se}catch(k){(se=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),se.prototype.constructor=se}function le(r,a){return new Promise(function(o,e){var t=new re(r,a);if(t.signal&&t.signal.aborted)return e(new se("Aborted","AbortError"));var i=new XMLHttpRequest;function n(){i.abort()}i.onload=function(){var e,n,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=new F,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var r="response"in i?i.response:i.responseText;setTimeout(function(){o(new ie(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new se("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&I.location.href?I.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(N?i.responseType="blob":O&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof F?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){i.setRequestHeader(e,G(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",n)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}le.polyfill=!0,I.fetch||(I.fetch=le,I.Headers=F,I.Request=re,I.Response=ie),self.fetch.bind(self);var ce=function(e,t){return(ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function ue(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ce(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function he(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 me(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function pe(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function de(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 ge=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 ye(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var ve=(we.prototype.unsubscribe=function(){var e,t,n,r,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=he(i),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(de(i))try{i()}catch(e){o=e instanceof ge?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var l=he(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{_e(u)}catch(e){o=null!=o?o:[],e instanceof ge?o=pe(pe([],me(o)),me(e.errors)):o.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(o)throw new ge(o)}},we.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)_e(e);else{if(e instanceof we){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},we.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},we.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},we.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ye(t,e)},we.prototype.remove=function(e){var t=this._teardowns;t&&ye(t,e),e instanceof we&&e._removeParent(this)},we.EMPTY=((Vt=new we).closed=!0,Vt),we),be=ve.EMPTY;function we(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Ee(e){return e instanceof ve||e&&"closed"in e&&de(e.remove)&&de(e.add)&&de(e.unsubscribe)}function _e(e){de(e)?e():e.unsubscribe()}var Te=void 0,Se=!1,Ae=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,pe([],me(e)))};function xe(){}function Ce(e){e()}var Ie,Pe,Me=(ue(Oe,Pe=ve),Oe.create=function(e,t,n){return new Ne(e,t,n)},Oe.prototype.next=function(e){this.isStopped||this._next(e)},Oe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Oe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Oe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Pe.prototype.unsubscribe.call(this),this.destination=null)},Oe.prototype._next=function(e){this.destination.next(e)},Oe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Oe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Oe),Ne=(ue(Le,Ie=Me),Le);function Le(e,t,n){var r,o,i=Ie.call(this)||this;return de(e)?o=e:e&&(o=e.next,t=e.error,n=e.complete,i&&Se?(r=Object.create(e)).unsubscribe=function(){return i.unsubscribe()}:r=e,o=null==o?void 0:o.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),i.destination={next:o?Re(o):xe,error:Re(null!=t?t:Ge),complete:n?Re(n):xe},i}function Oe(e){var t=Pe.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,pe([],me(e)))}catch(e){t=e,Ae(function(){throw t})}}}function Ge(e){throw e}var $e={closed:!0,next:xe,error:Ge,complete:xe},Fe="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ue(e){return e}var ke=(De.prototype.lift=function(e){var t=new De;return t.source=this,t.operator=e,t},De.prototype.subscribe=function(e,t,n){var r,o=this,i=(r=e)&&r instanceof Me||r&&de(r.next)&&de(r.error)&&de(r.complete)&&Ee(r)?e:new Ne(e,t,n);return Ce(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},De.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},De.prototype.forEach=function(r,e){var o=this;return new(e=je(e))(function(e,t){var n=o.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},De.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},De.prototype[Fe]=function(){return this},De.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Ue:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},De.prototype.toPromise=function(e){var r=this;return new(e=je(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},De.create=function(e){return new De(e)},De);function De(e){e&&(this._subscribe=e)}function je(e){return null!==(e=null!=e?e:Te)&&void 0!==e?e:Promise}var ze,Be,Ve,He=fe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Xe=(ue(Je,Ve=ke),Je.prototype.lift=function(e){var t=new We(this,this);return t.operator=e,t},Je.prototype._throwIfClosed=function(){if(this.closed)throw new He},Je.prototype.next=function(i){var a=this;Ce(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){var n=a.observers.slice();try{for(var r=he(n),o=r.next();!o.done;o=r.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Je.prototype.error=function(t){var n=this;Ce(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)}})},Je.prototype.complete=function(){var t=this;Ce(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Je.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Je.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Je.prototype._trySubscribe=function(e){return this._throwIfClosed(),Ve.prototype._trySubscribe.call(this,e)},Je.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Je.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?be:(r.push(e),new ve(function(){return ye(r,e)}))},Je.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Je.prototype.asObservable=function(){var e=new ke;return e.source=this,e},Je.create=function(e,t){return new We(e,t)},Je),We=(ue(Ze,Be=Xe),Ze.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)},Ze.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)},Ze.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)},Ze.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:be},Ze),qe={now:function(){return(qe.delegate||Date).now()},delegate:void 0},Ye=(ue(Ke,ze=Xe),Ke.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),o||r.push(i.now()+t)),this._trimBuffer(),ze.prototype.next.call(this,e)},Ke.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),o=0;o<r.length&&!e.closed;o+=n?1:2)e.next(r[o]);return this._checkFinalizedStatuses(e),t},Ke.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var i=t.now(),a=0,s=1;s<n.length&&n[s]<=i;s+=2)a=s;a&&n.splice(0,a+1)}},Ke);function Ke(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=qe);var r=ze.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 Ze(e,t){var n=Be.call(this)||this;return n.destination=e,n.source=t,n}function Je(){var e=Ve.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Qe=[],et={};const tt=[];function nt(r,o=k){let i;const a=[];function s(e){if(n(r,e)&&(r=e,i)){const e=!tt.length;for(let e=0;e<a.length;e+=1){const t=a[e];t[1](),tt.push(t,r)}if(e){for(let e=0;e<tt.length;e+=2)tt[e][0](tt[e+1]);tt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=k){const n=[e,t];return a.push(n),1===a.length&&(i=o(s)||k),e(r),()=>{var e=a.indexOf(n);-1!==e&&a.splice(e,1),0===a.length&&(i(),i=null)}}}}function rt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:nt(t,t=>{let n=!1;const r=[];let o=0,i=k;const a=()=>{var e;o||(i(),e=s(l?r[0]:r,t),u?t(e):i=p(e)?e:k)},e=c.map((e,t)=>d(e,e=>{r[t]=e,o&=~(1<<t),n&&a()},()=>{o|=1<<t}));return n=!0,a(),function(){D(e),i()}}).subscribe}}var ot=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===it));var t},it="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function at(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ht(Array.isArray(e)?[]:{},e,t):e}function st(e,t,n){return e.concat(t).map(function(e){return at(e,n)})}function lt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function ct(e,t){try{return t in e}catch(e){return!1}}function ut(r,o,i){var a={};return i.isMergeableObject(r)&<(r).forEach(function(e){a[e]=at(r[e],i)}),lt(o).forEach(function(t){var e,n;(!ct(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(ct(r,t)&&i.isMergeableObject(o[t])?a[t]=function(){if(!i.customMerge)return ht;var e=i.customMerge(t);return"function"==typeof e?e:ht}()(r[t],o[t],i):a[t]=at(o[t],i))}),a}function ht(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||st,n.isMergeableObject=n.isMergeableObject||ot,n.cloneUnlessOtherwiseSpecified=at;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ut(e,t,n):at(t,n)}ht.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return ht(e,t,n)},{})};var mt=ht,pt=function(e,t){return(pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function dt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}pt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ft,gt,yt,vt=function(){return(vt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function bt(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function wt(e){return e.type===gt.literal}function Et(e){return e.type===gt.number}function _t(e){return e.type===gt.date}function Tt(e){return e.type===gt.time}function St(e){return e.type===gt.select}function At(e){return e.type===gt.plural}function xt(e){return e.type===gt.tag}function Ct(e){return e&&"object"==typeof e&&e.type===yt.number}function It(e){return e&&"object"==typeof e&&e.type===yt.dateTime}(Ht=ft=ft||{})[Ht.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Ht[Ht.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Ht[Ht.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Ht[Ht.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Ht[Ht.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Ht[Ht.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Ht[Ht.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Ht[Ht.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Ht[Ht.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Ht[Ht.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Ht[Ht.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Ht[Ht.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Ht[Ht.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Ht[Ht.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Ht[Ht.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Ht[Ht.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Ht[Ht.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Ht[Ht.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Ht[Ht.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Ht[Ht.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Ht[Ht.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Ht[Ht.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Ht[Ht.INVALID_TAG=23]="INVALID_TAG",Ht[Ht.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Ht[Ht.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Ht[Ht.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Xt=gt=gt||{})[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",(Wt=yt=yt||{})[Wt.number=0]="number",Wt[Wt.dateTime=1]="dateTime";var Pt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Mt=/(?:[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 Nt,Lt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Ot=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Rt=/^(@+)?(\+|#+)?$/g,Gt=/(\*)(0+)|(#+)(0+)|(0+)/g,$t=/^(0+)$/;function Ft(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 Ut(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 kt(e){return Ut(e)||{}}function Dt(e){for(var a={},t=0,n=e;t<n.length;t++){var r,o=n[t];switch(o.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=o.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=vt(vt(vt({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return vt(vt({},e),kt(t))},{}));continue;case"engineering":a=vt(vt(vt({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return vt(vt({},e),kt(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Gt,function(e,t,n,r,o,i){if(t)a.minimumIntegerDigits=n.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if($t.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(Ot.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Ot,function(e,t,n,r,o,i){return"*"===n?a.minimumFractionDigits=t.length:r&&"#"===r[0]?a.maximumFractionDigits=r.length:o&&i?(a.minimumFractionDigits=o.length,a.maximumFractionDigits=o.length+i.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""}),o.options.length&&(a=vt(vt({},a),Ft(o.options[0])))}else Rt.test(o.stem)?a=vt(vt({},a),Ft(o.stem)):((r=Ut(o.stem))&&(a=vt(vt({},a),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!$t.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=vt(vt({},a),r)))}return a}var jt=new RegExp("^"+Pt.source+"*"),zt=new RegExp(Pt.source+"*$");function Bt(e,t){return{start:e,end:t}}var Vt=!!String.prototype.startsWith,Fe=!!String.fromCodePoint,Xe=!!Object.fromEntries,Ht=!!String.prototype.codePointAt,Xt=!!String.prototype.trimStart,Wt=!!String.prototype.trimEnd,qt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Pt=!0;try{Pt="a"===(null===(Nt=rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Nt?void 0:Nt[0])}catch(k){Pt=!1}var Yt,Kt,Zt=Vt?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Jt=Fe?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,i=0;i<o;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Qt=Xe?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],o=o[1];t[i]=o}return t},en=Ht?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,o=e.charCodeAt(t);return o<55296||56319<o||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?o:r-56320+(o-55296<<10)+65536}},tn=Xt?function(e){return e.trimStart()}:function(e){return e.replace(jt,"")},nn=Wt?function(e){return e.trimEnd()}:function(e){return e.replace(zt,"")};function rn(e,t){return new RegExp(e,t)}Kt=Pt?(Yt=rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Yt.lastIndex=t,null!==(e=Yt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var o=en(e,t);if(void 0===o||ln(o)||(33<=(n=o)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(o),t+=65536<=o?2:1}return Jt.apply(void 0,r)};var on=(an.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},an.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(ft.UNMATCHED_CLOSING_TAG,Bt(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&sn(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{i=this.clonePosition();this.bump(),r.push({type:gt.pound,location:Bt(i,this.clonePosition())})}}}return{val:r,err:null}},an.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:gt.literal,value:"<"+r+"/>",location:Bt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!sn(this.char()))return this.error(ft.INVALID_TAG,Bt(t,this.clonePosition()));o=this.clonePosition();return r!==this.parseTagName()?this.error(ft.UNMATCHED_CLOSING_TAG,Bt(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:gt.tag,value:r,children:e,location:Bt(n,this.clonePosition())},err:null}:this.error(ft.INVALID_TAG,Bt(t,this.clonePosition())))}return this.error(ft.UNCLOSED_TAG,Bt(n,this.clonePosition()))}return this.error(ft.INVALID_TAG,Bt(n,this.clonePosition()))},an.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())},an.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{o=this.tryParseUnquoted(e,t);if(o)r+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}n=Bt(n,this.clonePosition());return{val:{type:gt.literal,value:r,location:n},err:null}},an.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(sn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},an.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 Jt.apply(void 0,t)},an.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(),Jt(n))},an.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ft.EMPTY_ARGUMENT,Bt(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(ft.MALFORMED_ARGUMENT,Bt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:gt.argument,value:r,location:Bt(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(ft.MALFORMED_ARGUMENT,Bt(n,this.clonePosition()))}},an.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Kt(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Bt(e,this.clonePosition())}},an.prototype.parseArgumentOptions=function(e,t,n,r){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(ft.EXPECT_ARGUMENT_TYPE,Bt(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(h=nn(m.val)).length)return this.error(ft.EXPECT_ARGUMENT_STYLE,Bt(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Bt(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(r)).err)return p;var u=Bt(r,this.clonePosition());if(l&&Zt(null==l?void 0:l.style,"::",0)){c=tn(l.style.slice(2));if("number"===a)return(m=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?m:{val:{type:gt.number,value:n,location:u,style:m.val},err:null};if(0===c.length)return this.error(ft.EXPECT_DATE_TIME_SKELETON,u);var h={type:yt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(Mt,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":o.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":o.minute=["numeric","2-digit"][t-1];break;case"s":o.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),o):{}};return{val:{type:"date"===a?gt.date:gt.time,value:n,location:u,style:h},err:null}}return{val:{type:"number"===a?gt.number:"date"===a?gt.date:gt.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(ft.EXPECT_SELECT_ARGUMENT_OPTIONS,Bt(l,vt({},l)));this.bumpSpace();var m,u=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Bt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=m.val}u=this.tryParsePluralOrSelectOptions(e,a,t,u);if(u.err)return u;if((p=this.tryParseArgumentClose(r)).err)return p;var p=Bt(r,this.clonePosition());return"select"===a?{val:{type:gt.select,value:n,options:Qt(u.val),location:p},err:null}:{val:{type:gt.plural,value:n,options:Qt(u.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:p},err:null};default:return this.error(ft.INVALID_ARGUMENT_TYPE,Bt(i,s))}},an.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,Bt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},an.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(ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Bt(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}},an.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(Lt).filter(function(e){return 0<e.length});n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),a=0,s=o;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(ft.INVALID_NUMBER_SKELETON,t)}return{val:{type:yt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Dt(n):{}},err:null}},an.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o=!1,i=[],a=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,ft.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Bt(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Bt(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;c=this.tryParseArgumentClose(h);if(c.err)return c;i.push([s,{value:u.val,location:Bt(h,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===i.length?this.error("select"===t?ft.EXPECT_SELECT_ARGUMENT_SELECTOR:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,Bt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ft.MISSING_OTHER_CLAUSE,Bt(this.clonePosition(),this.clonePosition())):{val:i,err:null}},an.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}r=Bt(r,this.clonePosition());return o?qt(i*=n)?{val:i,err:null}:this.error(t,r):this.error(e,r)},an.prototype.offset=function(){return this.position.offset},an.prototype.isEOF=function(){return this.offset()===this.message.length},an.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},an.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=en(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},an.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},an.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))},an.prototype.bumpIf=function(e){if(Zt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},an.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)},an.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}},an.prototype.bumpSpace=function(){for(;!this.isEOF()&&ln(this.char());)this.bump()},an.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},an);function an(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 sn(e){return 97<=e&&e<=122||65<=e&&e<=90}function ln(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function cn(e,t){t=vt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new on(e,t).parse();if(n.err){e=SyntaxError(ft[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,St(e)||At(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Et(e)&&Ct(e.style)||(_t(e)||Tt(e))&&It(e.style)?delete e.style.location:xt(e)&&n(e.children)})}(n.val),n.val}function un(e,t){var n=t&&t.cache?t.cache:yn,r=t&&t.serializer?t.serializer:dn;return(t&&t.strategy?t.strategy:function(e,t){return pn(e,this,1===e.length?hn:mn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function hn(e,t,n,r){var o=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(o);return void 0===n&&(n=e.call(this,r),t.set(o,n)),n}function mn(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),n=t.get(o);return void 0===n&&(n=e.apply(this,r),t.set(o,n)),n}function pn(e,t,n,r,o){return n.bind(t,e,r,o)}var dn=function(){return JSON.stringify(arguments)};function fn(){this.cache=Object.create(null)}fn.prototype.has=function(e){return e in this.cache},fn.prototype.get=function(e){return this.cache[e]},fn.prototype.set=function(e,t){this.cache[e]=t};var gn,yn={create:function(){return new fn}},vn={variadic:function(e,t){return pn(e,this,mn,t.cache.create(),t.serializer)},monadic:function(e,t){return pn(e,this,hn,t.cache.create(),t.serializer)}};(Pt=gn=gn||{}).MISSING_VALUE="MISSING_VALUE",Pt.INVALID_VALUE="INVALID_VALUE",Pt.MISSING_INTL_API="MISSING_INTL_API";var bn,wn,En,_n,Tn,Sn=(dt(Nn,Tn=Error),Nn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Nn),An=(dt(Mn,_n=Sn),Mn),xn=(dt(Pn,En=Sn),Pn),Cn=(dt(In,wn=Sn),In);function In(e,t){return wn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',gn.MISSING_VALUE,t)||this}function Pn(e,t,n){return En.call(this,'Value for "'+e+'" must be of type '+t,gn.INVALID_VALUE,n)||this}function Mn(e,t,n,r){return _n.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',gn.INVALID_VALUE,r)||this}function Nn(e,t,n){e=Tn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Ln(e,t,n,r,o,i,a){if(1===e.length&&wt(e[0]))return[{type:bn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(wt(u))s.push({type:bn.literal,value:u.value});else if(u.type===gt.pound)"number"==typeof i&&s.push({type:bn.literal,value:n.getNumberFormat(t).format(i)});else{var h=u.value;if(!(o&&h in o))throw new Cn(h,a);var m=o[h];if(u.type===gt.argument)m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),s.push({type:"string"==typeof m?bn.literal:bn.object,value:m});else if(_t(u)){var p="string"==typeof u.style?r.date[u.style]:It(u.style)?u.style.parsedOptions:void 0;s.push({type:bn.literal,value:n.getDateTimeFormat(t,p).format(m)})}else if(Tt(u))p="string"==typeof u.style?r.time[u.style]:It(u.style)?u.style.parsedOptions:void 0,s.push({type:bn.literal,value:n.getDateTimeFormat(t,p).format(m)});else if(Et(u))(p="string"==typeof u.style?r.number[u.style]:Ct(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(m*=p.scale||1),s.push({type:bn.literal,value:n.getNumberFormat(t,p).format(m)});else{if(xt(u)){var d=u.children,f=u.value,h=o[f];if("function"!=typeof h)throw new xn(f,"function",a);d=h(Ln(d,t,n,r,o,i).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),s.push.apply(s,d.map(function(e){return{type:"string"==typeof e?bn.literal:bn.object,value:e}}))}if(St(u)){if(!(g=u.options[m]||u.options.other))throw new An(u.value,m,Object.keys(u.options),a);s.push.apply(s,Ln(g.value,t,n,r,o))}else if(At(u)){if(!(g=u.options["="+m])){if(!Intl.PluralRules)throw new Sn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',gn.MISSING_INTL_API,a);var d=n.getPluralRules(t,{type:u.pluralType}).select(m-(u.offset||0)),g=u.options[d]||u.options.other}if(!g)throw new An(u.value,m,Object.keys(u.options),a);s.push.apply(s,Ln(g.value,t,n,r,o,m-(u.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===bn.literal&&t.type===bn.literal?n.value+=t.value:e.push(t),e},[])}function On(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}}}}}(Pt=bn=bn||{})[Pt.literal=0]="literal",Pt[Pt.object=1]="object";var Rn=(Object.defineProperty(Gn,"defaultLocale",{get:function(){return Gn.memoizedDefaultLocale||(Gn.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Gn.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Gn.memoizedDefaultLocale=null,Gn.__parse=cn,Gn.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"}}},Gn);function Gn(e,t,n,r){var o,i,a=this;if(void 0===t&&(t=Gn.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===bn.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 Ln(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof e){if(this.message=e,!Gn.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Gn.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=Gn.formats,(i=n)?Object.keys(o).reduce(function(e,t){var n,r;return e[t]=(n=o[t],(r=i[t])?vt(vt(vt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=vt(vt({},n[t]),r[t]||{}),e},{})):n),e},vt({},o)):o),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:un(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,bt([void 0],t)))},{cache:On((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:vn.variadic}),getDateTimeFormat:un(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,bt([void 0],t)))},{cache:On(r.dateTime),strategy:vn.variadic}),getPluralRules:un(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,bt([void 0],t)))},{cache:On(r.pluralRules),strategy:vn.variadic})}}const $n={},Fn=(t,n)=>{if(null!=n){if(n in $n&&t in $n[n])return $n[n][t];var r,o,i=Qn(n);for(let e=0;e<i.length;e++){var a=(r=i[e],o=t,Dn(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 Un[e]||null}(r),o):null);if(a)return r=t,o=n,(a=a)&&(o in $n||($n[o]={}),r in $n[o]||($n[o][r]=a),a)}}};let Un;const kn=nt({});function Dn(e){return e in Un}function jn(t,...n){delete $n[t],kn.update(e=>(e[t]=mt.all([e[t]||{},...n]),e))}rt([kn],([e])=>Object.keys(e)),kn.subscribe(e=>Un=e);const zn={};function Bn(e){return zn[e]}function Vn(e){return Qn(e).some(e=>{return null===(e=Bn(e))||void 0===e?void 0:e.size})}const Hn={};function Xn(e){if(!Vn(e))return e in Hn?Hn[e]:void 0;const t=Qn(e).map(e=>{var t=Bn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Hn[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){zn[e].delete(t),0===zn[e].size&&delete zn[e]}(t,e),e().then(e=>e.default||e)))).then(e=>jn(t,...e))}(e))).then(()=>Vn(e)?Xn(e):void delete Hn[e]),Hn[e]}function Wn(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}const qn={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 Yn=nt(!1);let Kn;const Zn=nt(null);function Jn(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Qn(e,t=qn.fallbackLocale){e=Jn(e);return t?[...new Set([...e,...Jn(t)])]:e}Zn.subscribe(e=>{Kn=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const er=Zn.set;Zn.set=t=>{if(function(e){if(null!=e){var t=Qn(e);for(let e=0;e<t.length;e++){var n=t[e];if(Dn(n))return n}}}(t)&&Vn(t)){var{loadingDelay:n}=qn;let e;return"undefined"!=typeof window&&null!=Kn&&n?e=window.setTimeout(()=>Yn.set(!0),n):Yn.set(!0),Xn(t).then(()=>{er(t)}).finally(()=>{clearTimeout(e),Yn.set(!1)})}return er(t)},Zn.update=e=>er(e(Kn));const tr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},nr=(e,t)=>{var{formats:n}=qn;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},rr=tr(e=>{var{locale:t,format:n}=e,e=Wn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=nr("number",n)),new Intl.NumberFormat(t,e)}),or=tr(e=>{var{locale:t,format:n}=e,e=Wn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=nr("date",n):0===Object.keys(e).length&&(e=nr("date","short")),new Intl.DateTimeFormat(t,e)}),ir=tr(e=>{var{locale:t,format:n}=e,e=Wn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=nr("time",n):0===Object.keys(e).length&&(e=nr("time","short")),new Intl.DateTimeFormat(t,e)}),ar=tr((e,t=Kn)=>new Rn(e,t,qn.formats,{ignoreTag:qn.ignoreTag})),sr=rt([Zn,kn],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=Kn,default:o}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Fn(e,r);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else qn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Qn(r).join('", "')}".${Vn(Kn)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||e;if(!n)return i;let a=i;try{a=ar(i,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return a});rt([Zn],()=>(e,t)=>((e={})=>{var{locale:t=Kn}=e,e=Wn(e,["locale"]);return ir(Object.assign({locale:t},e))})(t).format(e)),rt([Zn],()=>(e,t)=>((e={})=>{var{locale:t=Kn}=e,e=Wn(e,["locale"]);return or(Object.assign({locale:t},e))})(t).format(e)),rt([Zn],()=>(e,t)=>((e={})=>{var{locale:t=Kn}=e,e=Wn(e,["locale"]);return rr(Object.assign({locale:t},e))})(t).format(e)),rt([Zn,kn],()=>(e,t=Kn)=>Fn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Qe.indexOf(e)&&(t=new Ye(t),et[e]=t,Qe.push(e)),et[e]}};const lr=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)),cr={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."}}},ur={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće"}}};function hr(e){let n,r=!lr(e[15])&&!e[0]&&e[9],o=r&&mr(e);return{c(){o&&o.c(),n=c()},m(e,t){o&&o.m(e,t),z(e,n,t)},p(e,t){513&t[0]&&(r=!lr(e[15])&&!e[0]&&e[9]),r?o?o.p(e,t):(o=mr(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(e){o&&o.d(e),e&&B(n)}}}function mr(n){let r,o,i;return{c(){r=V("div"),r.innerHTML='<svg version="1.1" class="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>',W(r,"class","FavIconContainer")},m(e,t){z(e,r,t),o||(i=X(r,"click",n[32]),o=!0)},p:k,d(e){e&&B(r),o=!1,i()}}}function pr(e){let n;return{c(){n=V("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',W(n,"class","FavIconContainer")},m(e,t){z(e,n,t)},p:k,d(e){e&&B(n)}}}function dr(n){let r,o,i;return{c(){r=V("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',W(r,"class","FavIconContainer")},m(e,t){z(e,r,t),o||(i=X(r,"click",n[34]),o=!0)},p:k,d(e){e&&B(r),o=!1,i()}}}function fr(e){let n,r,o=e[14]("gameThumbnail.new")+"";return{c(){n=V("span"),r=t(o),W(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){z(e,n,t),j(n,r)},p(e,t){16384&t[0]&&o!==(o=e[14]("gameThumbnail.new")+"")&&q(r,o)},d(e){e&&B(n)}}}function gr(e){let n,r,o=e[14]("gameThumbnail.hot")+"";return{c(){n=V("span"),r=t(o),W(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){z(e,n,t),j(n,r)},p(e,t){16384&t[0]&&o!==(o=e[14]("gameThumbnail.hot")+"")&&q(r,o)},d(e){e&&B(n)}}}function yr(e){let n,r;return{c(){n=V("p"),r=t(e[3]),W(n,"class","GameNameBelow"),W(n,"title",e[3])},m(e,t){z(e,n,t),j(n,r)},p(e,t){8&t[0]&&q(r,e[3]),8&t[0]&&W(n,"title",e[3])},d(e){e&&B(n)}}}function vr(n){let r,o,i,a,s,l,c,u,h,m,p,d,f,g,y,v,b,w,E,_,T,S,A,x,C,I,P=n[14]("gameThumbnail.playNow")+"",M=(n[4]||"-")+"",N=0<parseInt(n[7]),L=n[10]&&hr(n);function O(e,t){return(null==E||515&t[0])&&(E=!(lr(e[15])||!e[0]||!e[9]||!e[1])),E?dr:((null==_||515&t[0])&&(_=!!(lr(e[15])&&e[0]&&e[9]&&e[1])),_?pr:void 0)}let R=O(n,[-1]),G=R&&R(n),$=n[6]&&fr(n),F=N&&gr(n),U=n[8]&&yr(n);return{c(){r=V("div"),o=V("div"),i=V("img"),l=H(),c=V("div"),u=V("div"),L&&L.c(),h=H(),m=V("p"),p=t(n[3]),d=H(),f=V("button"),g=t(P),y=H(),v=V("span"),b=t(M),w=H(),G&&G.c(),T=H(),S=V("div"),$&&$.c(),A=H(),F&&F.c(),x=H(),U&&U.c(),this.c=k,i.src!==(a=n[2])&&W(i,"src",a),W(i,"class",s="GameBg "+(n[11]?"Loaded":"")),W(i,"alt",""),W(i,"loading","lazy"),W(m,"class","GameInfoName"),W(m,"title",n[3]),W(f,"class","GameInfoBtn"),W(u,"class","GameInfo"),W(v,"class","GameInfoVendor"),W(c,"class","GameInfoWrapper"),W(S,"class","GameExtraInfo"),W(o,"class","GameInnerContainer"),W(r,"class","GameContainer")},m(e,t){z(e,r,t),j(r,o),j(o,i),n[31](i),j(o,l),j(o,c),j(c,u),L&&L.m(u,null),j(u,h),j(u,m),j(m,p),j(u,d),j(u,f),j(f,g),j(c,y),j(c,v),j(v,b),j(o,w),G&&G.m(o,null),j(o,T),j(o,S),$&&$.m(S,null),j(S,A),F&&F.m(S,null),j(r,x),U&&U.m(r,null),n[35](r),C||(I=[X(f,"click",n[33]),X(o,"mouseenter",n[20]),X(o,"mouseleave",n[21]),X(o,"touchstart",n[18],{passive:!0}),X(o,"touchleave",n[19])],C=!0)},p(e,t){4&t[0]&&i.src!==(a=e[2])&&W(i,"src",a),2048&t[0]&&s!==(s="GameBg "+(e[11]?"Loaded":""))&&W(i,"class",s),e[10]?L?L.p(e,t):(L=hr(e),L.c(),L.m(u,h)):L&&(L.d(1),L=null),8&t[0]&&q(p,e[3]),8&t[0]&&W(m,"title",e[3]),16384&t[0]&&P!==(P=e[14]("gameThumbnail.playNow")+"")&&q(g,P),16&t[0]&&M!==(M=(e[4]||"-")+"")&&q(b,M),R===(R=O(e,t))&&G?G.p(e,t):(G&&G.d(1),G=R&&R(e),G&&(G.c(),G.m(o,T))),e[6]?$?$.p(e,t):($=fr(e),$.c(),$.m(S,A)):$&&($.d(1),$=null),128&t[0]&&(N=0<parseInt(e[7])),N?F?F.p(e,t):(F=gr(e),F.c(),F.m(S,null)):F&&(F.d(1),F=null),e[8]?U?U.p(e,t):(U=yr(e),U.c(),U.m(r,null)):U&&(U.d(1),U=null)},i:k,o:k,d(e){e&&B(r),n[31](null),L&&L.d(),G&&G.d(),$&&$.d(),F&&F.d(),U&&U.d(),n[35](null),C=!1,D(I)}}}function br(e,t,n){let r;Z(e,sr,e=>n(14,r=e));let o,i,{session:a=""}=t,{userid:s=""}=t,{lang:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{favorites:h=""}=t,{gamethumbnail:m=""}=t,{gamename:p=""}=t,{gamevendor:d=""}=t,{gameid:f=""}=t,{gameisnew:g=""}=t,{gamepopularity:y=""}=t,{gamefunmode:v=!1}=t,{searchitem:b=!1}=t,{gamefavorite:w=!1}=t,{showfavoredcategory:E=!1}=t,{showgamename:_=!1}=t,{endpoint:T=""}=t,S=!1,A=!1,x=!1,C=window.navigator.userAgent;Object.keys(ur).forEach(e=>{jn(e,ur[e])});const I=e=>{e.data.type!==`AddFavoriteThumbnail_${f}`||E||n(0,w=!0),e.data.type!==`RemoveFavoriteThumbnail_${f}`||E||n(0,w=!1),"UserSessionID"===e.data.type&&(n(9,S=!0),e.data.session,e.data.userID)},P=e=>{lr(C)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:v},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),b&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},M=e=>{var t="thumbnail";w?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)};return J(()=>(window.addEventListener("message",I,!1),()=>{window.removeEventListener("message",I)})),e.$$set=e=>{"session"in e&&n(22,a=e.session),"userid"in e&&n(23,s=e.userid),"lang"in e&&n(24,l=e.lang),"clientstyling"in e&&n(25,c=e.clientstyling),"clientstylingurl"in e&&n(26,u=e.clientstylingurl),"favorites"in e&&n(1,h=e.favorites),"gamethumbnail"in e&&n(2,m=e.gamethumbnail),"gamename"in e&&n(3,p=e.gamename),"gamevendor"in e&&n(4,d=e.gamevendor),"gameid"in e&&n(5,f=e.gameid),"gameisnew"in e&&n(6,g=e.gameisnew),"gamepopularity"in e&&n(7,y=e.gamepopularity),"gamefunmode"in e&&n(27,v=e.gamefunmode),"searchitem"in e&&n(28,b=e.searchitem),"gamefavorite"in e&&n(0,w=e.gamefavorite),"showfavoredcategory"in e&&n(29,E=e.showfavoredcategory),"showgamename"in e&&n(8,_=e.showgamename),"endpoint"in e&&n(30,T=e.endpoint)},e.$$.update=()=>{e.$$.dirty[0],1086324736&e.$$.dirty[0]&&a&&s&&T&&n(9,S=!0),4&e.$$.dirty[0]&&m&&o&&n(12,o.onload=()=>{n(11,x=!0)},o),33554432&e.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{i.appendChild(e)})})(),2&e.$$.dirty[0]&&h&&"true"==h&&n(10,A=!0),67108864&e.$$.dirty[0]&&u&&(()=>{let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)})})})()},[w,h,m,p,d,f,g,y,_,S,A,x,o,i,r,C,P,M,()=>{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)},a,s,l,c,u,v,b,E,T,function(e){Q[e?"unshift":"push"](()=>{o=e,n(12,o)})},()=>M(f),()=>P(f),()=>M(f),function(e){Q[e?"unshift":"push"](()=>{i=e,n(13,i)})}]}function wr(e,t,n){const r=e.slice();return r[68]=t[n],r[70]=n,r}function Er(e,t,n){const r=e.slice();return r[68]=t[n],r[71]=t,r[70]=n,r}function _r(e,t,n){const r=e.slice();return r[68]=t[n],r[70]=n,r}function Tr(e){let n;function r(e){return e[9]?Cr:e[19]?xr:void 0}let o=r(e),i=o&&o(e);return{c(){n=V("div"),i&&i.c()},m(e,t){z(e,n,t),i&&i.m(n,null)},p(e,t){o===(o=r(e))&&i?i.p(e,t):(i&&i.d(1),i=o&&o(e),i&&(i.c(),i.m(n,null)))},d(e){e&&B(n),i&&i.d()}}}function Sr(e){let n,r,o;function i(e){return e[13]?Hr:e[10].length?Br:Vr}let a=i(e),s=a(e);function l(e){return e[10]?Wr:Xr}let c=l(e),u=c(e);return{c(){n=V("div"),r=V("div"),s.c(),o=H(),u.c(),W(r,"class","CasinoGamesHeader Searched "+(lr(e[23])?"CasinoGamesHeaderMobile":"")),W(n,"class","CasinoGamesContainer")},m(e,t){z(e,n,t),j(n,r),s.m(r,null),j(n,o),u.m(n,null)},p(e,t){a===(a=i(e))&&s?s.p(e,t):(s.d(1),s=a(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&&B(n),s.d(),u.d()}}}function Ar(e){let n;function r(e){return e[15]?Zr:Kr}let o=r(e),i=o(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),z(e,n,t)},p(e,t){o!==(o=r(e))&&(i.d(1),i=o(e),i&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&B(n)}}}function xr(n){let r,o,i,a,s,l,c,u=n[21].name+"";function h(e){return e[21]?Pr:Ir}let m=h(n),p=m(n);return{c(){r=V("div"),o=V("div"),i=V("h3"),a=t(u),s=H(),l=V("ul"),p.c(),W(i,"class","CategoryName"),W(o,"class","CasinoGamesHeader"),W(l,"class",c=(0!=n[21].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),W(r,"class","CasinoGamesContainer")},m(e,t){z(e,r,t),j(r,o),j(o,i),j(i,a),n[38](i),j(r,s),j(r,l),p.m(l,null),n[39](l)},p(e,t){2097152&t[0]&&u!==(u=e[21].name+"")&&q(a,u),m===(m=h(e))&&p?p.p(e,t):(p.d(1),p=m(e),p&&(p.c(),p.m(l,null))),2097152&t[0]&&c!==(c=(0!=e[21].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&W(l,"class",c)},d(e){e&&B(r),n[38](null),p.d(),n[39](null)}}}function Cr(n){let r,o,i,a,s,l,c=n[9].name+"",u=n[11]&&kr(n);function h(e){return 0!==e[10].length?jr:Dr}let m=h(n),p=m(n);return{c(){r=V("div"),o=V("div"),i=V("h3"),a=t(c),s=H(),u&&u.c(),l=H(),p.c(),W(i,"class","CategoryName"),W(o,"class","CasinoGamesHeader"),W(r,"class","CasinoGamesContainer")},m(e,t){z(e,r,t),j(r,o),j(o,i),j(i,a),n[34](i),j(o,s),u&&u.m(o,null),j(r,l),p.m(r,null)},p(e,t){512&t[0]&&c!==(c=e[9].name+"")&&q(a,c),e[11]?u?u.p(e,t):(u=kr(e),u.c(),u.m(o,null)):u&&(u.d(1),u=null),m===(m=h(e))&&p?p.p(e,t):(p.d(1),p=m(e),p&&(p.c(),p.m(r,null)))},d(e){e&&B(r),n[34](null),u&&u.d(),p.d()}}}function Ir(e){let n;return{c(){n=V("p"),n.textContent="Waiting"},m(e,t){z(e,n,t)},p:k,d(e){e&&B(n)}}}function Pr(t){let r,o=t[21].items,i=[];for(let e=0;e<o.length;e+=1)i[e]=Ur(wr(t,o,e));let a=null;return o.length||(a=Mr(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c(),a&&a.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);z(t,r,n),a&&a.m(t,n)},p(t,n){if(11010175&n[0]){let e;for(o=t[21].items,e=0;e<o.length;e+=1){const a=wr(t,o,e);i[e]?i[e].p(a,n):(i[e]=Ur(a),i[e].c(),i[e].m(r.parentNode,r))}for(;e<i.length;e+=1)i[e].d(1);i.length=o.length,!o.length&&a?a.p(t,n):o.length?a&&(a.d(1),a=null):(a=Mr(t),a.c(),a.m(r.parentNode,r))}},d(e){l(i,e),e&&B(r),a&&a.d(e)}}}function Mr(e){let n,r,o,i,a,s,l,c=(t=e,(lr(t[23])?Lr:Nr)(e));var t;return{c(){n=V("p"),r=u("svg"),o=u("path"),i=H(),a=V("span"),a.textContent="You do not have any favored games yet.",s=H(),c.c(),l=H(),f(o,"fill","white"),W(o,"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"),W(r,"version","1.1"),W(r,"class","UnfavoredIcon"),W(r,"xmlns","http://www.w3.org/2000/svg"),W(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),W(r,"x","50px"),W(r,"y","50px"),W(r,"viewBox","0 0 512.001 512.001"),f(r,"enable-background","new 0 0 512.001 512.001"),W(r,"xml:space","preserve"),W(a,"class","NoFavoriteText NoFavoriteTextHighlight"),W(n,"class","NoFavoriteGames "+(lr(e[23])?"NoFavoriteGamesMobile":""))},m(e,t){z(e,n,t),j(n,r),j(r,o),j(n,i),j(n,a),j(n,s),c.m(n,null),j(n,l)},p:k,d(e){e&&B(n),c.d()}}}function Nr(e){let n;return{c(){n=V("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",W(n,"class","NoFavoriteText")},m(e,t){z(e,n,t)},d(e){e&&B(n)}}}function Lr(e){let n;return{c(){n=V("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",W(n,"class","NoFavoriteText")},m(e,t){z(e,n,t)},d(e){e&&B(n)}}}function Or(e){let n,r=e[68].gameModel.isFavorite&&Rr(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){e[68].gameModel.isFavorite?r?r.p(e,t):(r=Rr(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&B(n)}}}function Rr(e){let n,r=function(e){let n,r,o;function i(e,t){return null==n&&(n=!!lr(e[23])),n?$r:((null==r||2097152&t[0])&&(r=!!e[68].gameModel.platform.includes("PC")),r?Gr:void 0)}let a=i(e,[-1]),s=a&&a(e);return{c(){s&&s.c(),o=c()},m(e,t){s&&s.m(e,t),z(e,o,t)},p(e,t){a===(a=i(e,t))&&s?s.p(e,t):(s&&s.d(1),s=a&&a(e),s&&(s.c(),s.m(o.parentNode,o)))},d(e){s&&s.d(e),e&&B(o)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&B(n)}}}function Gr(e){let n,r,o,i,a,s,l,c,u,h,m;return{c(){n=V("casino-game-thumbnail"),y(n,"class",r=""+(Qr+(e[68].cellSize||"1x1"))),y(n,"session",e[2]),y(n,"userid",e[3]),y(n,"lang",e[1]),y(n,"favorites",e[4]),y(n,"gamethumbnail",o=e[68].gameModel.thumbnail),y(n,"gamename",i=e[68].gameModel.name),y(n,"gamevendor",a=e[68].gameModel.vendor.name),y(n,"gameisnew",s=e[68].gameModel.isNew),y(n,"gamepopularity",l=e[68].gameModel.popularity),y(n,"gamecellsize",c=e[68].gameModel.cellSize),y(n,"gameid",u=e[68].gameModel.id),y(n,"gamefunmode",h=e[68].gameModel.hasFunMode),y(n,"gamefavorite",m=e[68].gameModel.isFavorite),y(n,"showfavoredcategory",e[19]),y(n,"clientstyling",e[5]),y(n,"clientstylingurl",e[6]),y(n,"endpoint",e[0])},m(e,t){z(e,n,t)},p(e,t){2097152&t[0]&&r!==(r=""+(Qr+(e[68].cellSize||"1x1")))&&y(n,"class",r),4&t[0]&&y(n,"session",e[2]),8&t[0]&&y(n,"userid",e[3]),2&t[0]&&y(n,"lang",e[1]),16&t[0]&&y(n,"favorites",e[4]),2097152&t[0]&&o!==(o=e[68].gameModel.thumbnail)&&y(n,"gamethumbnail",o),2097152&t[0]&&i!==(i=e[68].gameModel.name)&&y(n,"gamename",i),2097152&t[0]&&a!==(a=e[68].gameModel.vendor.name)&&y(n,"gamevendor",a),2097152&t[0]&&s!==(s=e[68].gameModel.isNew)&&y(n,"gameisnew",s),2097152&t[0]&&l!==(l=e[68].gameModel.popularity)&&y(n,"gamepopularity",l),2097152&t[0]&&c!==(c=e[68].gameModel.cellSize)&&y(n,"gamecellsize",c),2097152&t[0]&&u!==(u=e[68].gameModel.id)&&y(n,"gameid",u),2097152&t[0]&&h!==(h=e[68].gameModel.hasFunMode)&&y(n,"gamefunmode",h),2097152&t[0]&&m!==(m=e[68].gameModel.isFavorite)&&y(n,"gamefavorite",m),524288&t[0]&&y(n,"showfavoredcategory",e[19]),32&t[0]&&y(n,"clientstyling",e[5]),64&t[0]&&y(n,"clientstylingurl",e[6]),1&t[0]&&y(n,"endpoint",e[0])},d(e){e&&B(n)}}}function $r(e){let n,r=e[68].gameModel.platform.includes("iPad")||e[68].gameModel.platform.includes("iPhone")||e[68].gameModel.platform.includes("Android"),o=r&&Fr(e);return{c(){o&&o.c(),n=c()},m(e,t){o&&o.m(e,t),z(e,n,t)},p(e,t){2097152&t[0]&&(r=e[68].gameModel.platform.includes("iPad")||e[68].gameModel.platform.includes("iPhone")||e[68].gameModel.platform.includes("Android")),r?o?o.p(e,t):(o=Fr(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(e){o&&o.d(e),e&&B(n)}}}function Fr(e){let n,r,o,i,a,s,l,c,u,h,m;return{c(){n=V("casino-game-thumbnail"),y(n,"class",r=""+(Qr+(e[68].cellSize||"1x1"))),y(n,"session",e[2]),y(n,"userid",e[3]),y(n,"lang",e[1]),y(n,"favorites",e[4]),y(n,"gamethumbnail",o=e[68].gameModel.thumbnail),y(n,"gamename",i=e[68].gameModel.name),y(n,"gamevendor",a=e[68].gameModel.vendor.name),y(n,"gameisnew",s=e[68].gameModel.isNew),y(n,"gamepopularity",l=e[68].gameModel.popularity),y(n,"gamecellsize",c=e[68].gameModel.cellSize),y(n,"gameid",u=e[68].gameModel.id),y(n,"gamefunmode",h=e[68].gameModel.hasFunMode),y(n,"gamefavorite",m=e[68].gameModel.isFavorite),y(n,"showfavoredcategory",e[19]),y(n,"clientstyling",e[5]),y(n,"clientstylingurl",e[6]),y(n,"endpoint",e[0])},m(e,t){z(e,n,t)},p(e,t){2097152&t[0]&&r!==(r=""+(Qr+(e[68].cellSize||"1x1")))&&y(n,"class",r),4&t[0]&&y(n,"session",e[2]),8&t[0]&&y(n,"userid",e[3]),2&t[0]&&y(n,"lang",e[1]),16&t[0]&&y(n,"favorites",e[4]),2097152&t[0]&&o!==(o=e[68].gameModel.thumbnail)&&y(n,"gamethumbnail",o),2097152&t[0]&&i!==(i=e[68].gameModel.name)&&y(n,"gamename",i),2097152&t[0]&&a!==(a=e[68].gameModel.vendor.name)&&y(n,"gamevendor",a),2097152&t[0]&&s!==(s=e[68].gameModel.isNew)&&y(n,"gameisnew",s),2097152&t[0]&&l!==(l=e[68].gameModel.popularity)&&y(n,"gamepopularity",l),2097152&t[0]&&c!==(c=e[68].gameModel.cellSize)&&y(n,"gamecellsize",c),2097152&t[0]&&u!==(u=e[68].gameModel.id)&&y(n,"gameid",u),2097152&t[0]&&h!==(h=e[68].gameModel.hasFunMode)&&y(n,"gamefunmode",h),2097152&t[0]&&m!==(m=e[68].gameModel.isFavorite)&&y(n,"gamefavorite",m),524288&t[0]&&y(n,"showfavoredcategory",e[19]),32&t[0]&&y(n,"clientstyling",e[5]),64&t[0]&&y(n,"clientstylingurl",e[6]),1&t[0]&&y(n,"endpoint",e[0])},d(e){e&&B(n)}}}function Ur(e){let n,r=e[68].gameModel&&Or(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){e[68].gameModel?r?r.p(e,t):(r=Or(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&B(n)}}}function kr(n){let r,o,i,a,s,l,c,u,h=n[22]("gamesCategorySection.viewAll")+"",m=n[9].games.total+"";return{c(){r=V("a"),o=V("span"),i=t(h),a=t(" ("),s=t(m),l=t(")"),W(o,"class","CategoryLoadMore"),W(r,"class","CategoryNameLink")},m(e,t){z(e,r,t),j(r,o),j(o,i),j(o,a),j(o,s),j(o,l),c||(u=X(r,"click",n[35]),c=!0)},p(e,t){4194304&t[0]&&h!==(h=e[22]("gamesCategorySection.viewAll")+"")&&q(i,h),512&t[0]&&m!==(m=e[9].games.total+"")&&q(s,m)},d(e){e&&B(r),c=!1,u()}}}function Dr(e){let n;return{c(){n=V("p"),n.textContent="You don't have any games in this category.",W(n,"class","NoSearchResults")},m(e,t){z(e,n,t)},p:k,d(e){e&&B(n)}}}function jr(n){let o,e,i=n[10],a=[];for(let e=0;e<i.length;e+=1)a[e]=zr(Er(n,i,e));return{c(){o=V("ul");for(let e=0;e<a.length;e+=1)a[e].c();W(o,"class",e=(0===n[21].items.length&&n[19]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){z(e,o,t);for(let e=0;e<a.length;e+=1)a[e].m(o,null);n[37](o)},p(t,n){if(1279&n[0]){let e;for(i=t[10],e=0;e<i.length;e+=1){var r=Er(t,i,e);a[e]?a[e].p(r,n):(a[e]=zr(r),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length}2621440&n[0]&&e!==(e=(0===t[21].items.length&&t[19]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&W(o,"class",e)},d(e){e&&B(o),l(a,e),n[37](null)}}}function zr(e){let n,r=function(n){let r,o,i,a,s,l,c,u,h,m,p,d=n[70];const f=()=>n[36](r,d),g=()=>n[36](null,d);return{c(){r=V("casino-game-thumbnail"),y(r,"session",n[2]),y(r,"userid",n[3]),y(r,"lang",n[1]),y(r,"class",o=""+(Qr+(n[68].cellSize||"1x1"))),y(r,"favorites",n[4]),y(r,"gamethumbnail",i=n[68].thumbnail),y(r,"gamename",a=n[68].name),y(r,"gamevendor",s=n[68].vendor.name),y(r,"gameisnew",l=n[68].isNew),y(r,"gamepopularity",c=n[68].popularity),y(r,"gamecellsize",u=n[68].cellSize),y(r,"gameid",h=n[68].id),y(r,"gamefunmode",m=n[68].hasFunMode),y(r,"gamefavorite",p=n[68].isFavorite),y(r,"clientstyling",n[5]),y(r,"clientstylingurl",n[6]),y(r,"endpoint",n[0])},m(e,t){z(e,r,t),f()},p(e,t){n=e,4&t[0]&&y(r,"session",n[2]),8&t[0]&&y(r,"userid",n[3]),2&t[0]&&y(r,"lang",n[1]),1024&t[0]&&o!==(o=""+(Qr+(n[68].cellSize||"1x1")))&&y(r,"class",o),16&t[0]&&y(r,"favorites",n[4]),1024&t[0]&&i!==(i=n[68].thumbnail)&&y(r,"gamethumbnail",i),1024&t[0]&&a!==(a=n[68].name)&&y(r,"gamename",a),1024&t[0]&&s!==(s=n[68].vendor.name)&&y(r,"gamevendor",s),1024&t[0]&&l!==(l=n[68].isNew)&&y(r,"gameisnew",l),1024&t[0]&&c!==(c=n[68].popularity)&&y(r,"gamepopularity",c),1024&t[0]&&u!==(u=n[68].cellSize)&&y(r,"gamecellsize",u),1024&t[0]&&h!==(h=n[68].id)&&y(r,"gameid",h),1024&t[0]&&m!==(m=n[68].hasFunMode)&&y(r,"gamefunmode",m),1024&t[0]&&p!==(p=n[68].isFavorite)&&y(r,"gamefavorite",p),32&t[0]&&y(r,"clientstyling",n[5]),64&t[0]&&y(r,"clientstylingurl",n[6]),1&t[0]&&y(r,"endpoint",n[0]),d!==n[70]&&(g(),d=n[70],f())},d(e){e&&B(r),g()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&B(n)}}}function Br(e){let n,r,o=e[22]("gamesCategorySection.searchedItems")+"";return{c(){n=V("h3"),r=t(o),W(n,"class","StatusText")},m(e,t){z(e,n,t),j(n,r)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamesCategorySection.searchedItems")+"")&&q(r,o)},d(e){e&&B(n)}}}function Vr(e){let n,r,o=e[22]("gamesCategorySection.noResults")+"";return{c(){n=V("h3"),r=t(o),W(n,"class","StatusText")},m(e,t){z(e,n,t),j(n,r)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamesCategorySection.noResults")+"")&&q(r,o)},d(e){e&&B(n)}}}function Hr(e){let n,r,o=e[22]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=V("h3"),r=t(o),W(n,"class","StatusText")},m(e,t){z(e,n,t),j(n,r)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamesCategorySection.recentSearchedItems")+"")&&q(r,o)},d(e){e&&B(n)}}}function Xr(e){let n;return{c(){n=V("p"),n.textContent="Waiting",W(n,"class","SearchWaiting")},m(e,t){z(e,n,t)},p:k,d(e){e&&B(n)}}}function Wr(t){let r,o,i=!t[16]&&qr(t),a=t[10],s=[];for(let e=0;e<a.length;e+=1)s[e]=Yr(_r(t,a,e));return{c(){i&&i.c(),r=H(),o=V("ul");for(let e=0;e<s.length;e+=1)s[e].c();W(o,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),z(e,r,t),z(e,o,t);for(let e=0;e<s.length;e+=1)s[e].m(o,null)},p(t,n){if(t[16]?i&&(i.d(1),i=null):i?i.p(t,n):(i=qr(t),i.c(),i.m(r.parentNode,r)),17535&n[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){const i=_r(t,a,e);s[e]?s[e].p(i,n):(s[e]=Yr(i),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}},d(e){i&&i.d(e),e&&B(r),e&&B(o),l(s,e)}}}function qr(e){let n,r,o=e[22]("gamesCategorySection.noRecentSearch")+"";return{c(){n=V("p"),r=t(o),W(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(lr(e[23])?"NoRecentSearchesMobile":""))},m(e,t){z(e,n,t),j(n,r)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamesCategorySection.noRecentSearch")+"")&&q(r,o)},d(e){e&&B(n)}}}function Yr(e){let n,r,o,i,a,s,l,c,u,h,m;return{c(){n=V("casino-game-thumbnail"),y(n,"class",r=""+(Qr+(e[68].cellSize||"1x1"))),y(n,"session",e[2]),y(n,"userid",e[3]),y(n,"lang",e[1]),y(n,"searchitem",e[14]),y(n,"favorites",e[4]),y(n,"gamethumbnail",o=e[68].thumbnail),y(n,"gamename",i=e[68].name),y(n,"gamevendor",a=e[68].vendor.name),y(n,"gameisnew",s=e[68].isNew),y(n,"gamepopularity",l=e[68].popularity),y(n,"gamecellsize",c=e[68].cellSize),y(n,"gameid",u=e[68].id),y(n,"gamefunmode",h=e[68].hasFunMode),y(n,"gamefavorite",m=e[68].isFavorite),y(n,"clientstyling",e[5]),y(n,"clientstylingurl",e[6]),y(n,"endpoint",e[0])},m(e,t){z(e,n,t)},p(e,t){1024&t[0]&&r!==(r=""+(Qr+(e[68].cellSize||"1x1")))&&y(n,"class",r),4&t[0]&&y(n,"session",e[2]),8&t[0]&&y(n,"userid",e[3]),2&t[0]&&y(n,"lang",e[1]),16384&t[0]&&y(n,"searchitem",e[14]),16&t[0]&&y(n,"favorites",e[4]),1024&t[0]&&o!==(o=e[68].thumbnail)&&y(n,"gamethumbnail",o),1024&t[0]&&i!==(i=e[68].name)&&y(n,"gamename",i),1024&t[0]&&a!==(a=e[68].vendor.name)&&y(n,"gamevendor",a),1024&t[0]&&s!==(s=e[68].isNew)&&y(n,"gameisnew",s),1024&t[0]&&l!==(l=e[68].popularity)&&y(n,"gamepopularity",l),1024&t[0]&&c!==(c=e[68].cellSize)&&y(n,"gamecellsize",c),1024&t[0]&&u!==(u=e[68].id)&&y(n,"gameid",u),1024&t[0]&&h!==(h=e[68].hasFunMode)&&y(n,"gamefunmode",h),1024&t[0]&&m!==(m=e[68].isFavorite)&&y(n,"gamefavorite",m),32&t[0]&&y(n,"clientstyling",e[5]),64&t[0]&&y(n,"clientstylingurl",e[6]),1&t[0]&&y(n,"endpoint",e[0])},d(e){e&&B(n)}}}function Kr(e){let n;return{c(){n=V("p"),n.textContent="500 Error - Internal Server Error.",W(n,"class","SearchLoading")},m(e,t){z(e,n,t)},d(e){e&&B(n)}}}function Zr(e){let n;return{c(){n=V("p"),n.textContent="404 Error - No result found.",W(n,"class","SearchLoading")},m(e,t){z(e,n,t)},d(e){e&&B(n)}}}function Jr(n){let r;function o(e){return e[8]?Ar:e[12]?Sr:Tr}let i=o(n),a=i(n);return{c(){r=V("div"),a.c(),this.c=k,W(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){z(e,r,t),a.m(r,null),n[40](r)},p(e,t){i===(i=o(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(r,null)))},i:k,o:k,d(e){e&&B(r),a.d(),n[40](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends A{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%}.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)}.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;top:8px;left:8px}.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}</style>",s(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},br,vr,n,{session:22,userid:23,lang:24,clientstyling:25,clientstylingurl:26,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:27,searchitem:28,gamefavorite:0,showfavoredcategory:29,showgamename:8,endpoint:30},[-1,-1]),e&&(e.target&&z(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","endpoint"]}get session(){return this.$$.ctx[22]}set session(e){this.$set({session:e}),T()}get userid(){return this.$$.ctx[23]}set userid(e){this.$set({userid:e}),T()}get lang(){return this.$$.ctx[24]}set lang(e){this.$set({lang:e}),T()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$set({clientstyling:e}),T()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$set({clientstylingurl:e}),T()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),T()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),T()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),T()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),T()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),T()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),T()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),T()}get gamefunmode(){return this.$$.ctx[27]}set gamefunmode(e){this.$set({gamefunmode:e}),T()}get searchitem(){return this.$$.ctx[28]}set searchitem(e){this.$set({searchitem:e}),T()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),T()}get showfavoredcategory(){return this.$$.ctx[29]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),T()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),T()}get endpoint(){return this.$$.ctx[30]}set endpoint(e){this.$set({endpoint:e}),T()}});const Qr="game-tile-";function eo(e,t,s){let n;Z(e,sr,e=>s(22,n=e));var r=this&&this.__awaiter||function(e,a,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{i(l.next(e))}catch(e){t(e)}}function o(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,o)}i((l=l.apply(e,a||[])).next())})};let o,i,a,l,c,u,h,m,{endpoint:p=""}=t,{datasource:d=""}=t,{lang:f=""}=t,{session:g=""}=t,{userid:y=""}=t,{favorites:v=""}=t,{clientstyling:b=""}=t,{clientstylingurl:w=""}=t,{categoryid:E=""}=t,{categoryindex:_=0}=t,{categorygames:T=0}=t,{once:S=!0}=t,{top:A=0}=t,{bottom:x=0}=t,{left:C=0}=t,{right:I=0}=t,P=!1,M=!0,N=window.navigator.userAgent,L=[],O=!0,R=40,G=!1,$=!1,F=!1,U=!1,k=!0,D=!1,j=!1,z=!1,B=new Array(1e3),V={items:[],count:0,name:""};Object.keys(cr).forEach(e=>{jn(e,cr[e])});let H=new IntersectionObserver((e,t)=>{e.forEach(t=>r(void 0,void 0,void 0,function*(){var e=t.target.elems_index;t.isIntersecting&&1.2*e>R&&q(E)}))});const X=(e,r,o,t=0)=>{let i=new URL(`${p}/casino/groups/${d}/${E}`),a=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",(e=N).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),i.searchParams.append("pagination",`games(offset=${r},limit=${o})`),i.searchParams.append("language",f),window.postMessage({type:"CategoryVendors",categoryid:E},window.location.href),a&&a[E])if(a[E].length&&!1===M&&!1===D){let t="";s(15,U=!0),a[E].forEach(e=>{t+=t?`, id=${e}`:`id=${e}`}),i.searchParams.append("filter",`games(vendor(${t}))`)}else s(15,U=!1);var e;fetch(i).then(e=>e.json()).then(e=>{s(8,P=!1),c=e.games.total,t(e)},e=>{s(8,P=!0),console.error(e),n(e)})})},W=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(12,G=!1),M=!1,s(11,O=!1),j=!0,s(10,L=t.data.mostPlayedGames),s(9,a={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(12,G=!0),j=!1,s(13,$=!0),0<t.data.searchData.length?(s(10,L=t.data.searchData),s(16,k=!0),L&&L.forEach(e=>{e.isFavorite=Y(e.id)})):(s(10,L=[]),s(16,k=!1));break;case"OutOfRecentSearches":s(12,G=!1),s(13,$=!1);break;case"SearchData":s(12,G=!0),j=!1,s(13,$=!1),s(10,L=t.data.searchData.items||[]),s(14,F=!0),t.data.receivedFavoriteResults&&(h=t.data.receivedFavoriteResults.items),L&&L.forEach(e=>{e.isFavorite=Y(e.id)});break;case`CategoryData_${E}`:s(12,G=!1),M=!0,s(11,O=!0),s(14,F=!1),j=!1,z=!1,t.data.receivedFavoriteResults&&(h=t.data.receivedFavoriteResults.items),X(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(9,a=e),s(10,L=a.games.items),L&&L.forEach(e=>{e.isFavorite=Y(e.id)})});break;case"CategoryChange":R=20;break;case"CategoryUpdate":s(12,G=!1),M=!1,s(14,F=!1),j=!1,s(11,O=!1),z=!0,s(25,E=t.data.itemId),X(0,0,R).then(e=>{s(9,a=e),a.games.items.forEach(e=>{e.isFavorite=Y(e.id)}),s(10,L=a.games.items),s(11,O=!1)});break;case"FavoriteUpdate":s(12,G=!1),j=!1,M=!0,s(10,L=a.games.items),L.forEach(e=>{e.isFavorite=Y(e.id)}),s(11,O=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(h=t.data.receivedFavoriteResults.items,t.data.triggerFactor&&!D?window.postMessage({type:"FavoriteUpdate"},window.location.href):M||j||window.postMessage({type:"CategoryUpdate",itemId:E},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(21,V.items=(n=e,V.items,r=window.navigator.userAgent,lr(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})),V),s(21,V.name="Favorites",V),s(19,D=!0));break;case"UserSessionID":o=t.data.session,i=t.data.userID,"true"==v&&i&&i.length&&o&&0<o.length&&(e=>{let r={method:"GET",headers:{"X-SessionID":o}};new Promise((t,n)=>{fetch(e,r).then(e=>e.json()).then(e=>{h=e?e.items:[],L.forEach(e=>{e.isFavorite=Y(e.id)});e=L;s(10,L=void 0),s(10,L=e),t(h)}).catch(e=>{console.error(e),n(e)})})})(`${p}/player/${i}/favorites/`)}var n,r},q=e=>{R+=10,R<=c&&X(0,0,R).then(e=>{s(9,a=e),s(10,L=a.games.items),L.forEach(e=>{e.isFavorite=Y(e.id)})})},Y=t=>!!h&&-1!==h.findIndex(e=>e.id==t),K=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return J(()=>(window.addEventListener("message",W,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",W)})),e.$$set=e=>{"endpoint"in e&&s(0,p=e.endpoint),"datasource"in e&&s(26,d=e.datasource),"lang"in e&&s(1,f=e.lang),"session"in e&&s(2,g=e.session),"userid"in e&&s(3,y=e.userid),"favorites"in e&&s(4,v=e.favorites),"clientstyling"in e&&s(5,b=e.clientstyling),"clientstylingurl"in e&&s(6,w=e.clientstylingurl),"categoryid"in e&&s(25,E=e.categoryid),"categoryindex"in e&&s(27,_=e.categoryindex),"categorygames"in e&&s(28,T=e.categorygames),"once"in e&&s(29,S=e.once),"top"in e&&s(30,A=e.top),"bottom"in e&&s(31,x=e.bottom),"left"in e&&s(32,C=e.left),"right"in e&&s(33,I=e.right)},e.$$.update=()=>{128&e.$$.dirty[0]&&B&&z&&B.forEach((e,t)=>{e&&(e.elems_index=t,H.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&b&&(()=>{let e=document.createElement("style");e.innerHTML=b,setTimeout(()=>{m.appendChild(e)})})(),64&e.$$.dirty[0]&&w&&(()=>{let t=document.createElement("style");fetch(new URL(w)).then(e=>e.text()).then(e=>{t.innerHTML=e,m&&setTimeout(()=>{m.appendChild(t)},1)})})()},[p,f,g,y,v,b,w,B,P,a,L,O,G,$,F,U,k,l,u,D,m,V,n,N,K,E,d,_,T,S,A,x,C,I,function(e){Q[e?"unshift":"push"](()=>{u=e,s(18,u)})},e=>K(a.id,a),function(e,t){Q[e?"unshift":"push"](()=>{B[t]=e,s(7,B)})},function(e){Q[e?"unshift":"push"](()=>{l=e,s(17,l)})},function(e){Q[e?"unshift":"push"](()=>{u=e,s(18,u)})},function(e){Q[e?"unshift":"push"](()=>{l=e,s(17,l)})},function(e){Q[e?"unshift":"push"](()=>{m=e,s(20,m)})}]}class to extends A{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>",s(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},eo,Jr,n,{endpoint:0,datasource:26,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,categoryid:25,categoryindex:27,categorygames:28,once:29,top:30,bottom:31,left:32,right:33},[-1,-1,-1]),e&&(e.target&&z(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","categoryid","categoryindex","categorygames","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),T()}get datasource(){return this.$$.ctx[26]}set datasource(e){this.$set({datasource:e}),T()}get lang(){return this.$$.ctx[1]}set lang(e){this.$set({lang:e}),T()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),T()}get userid(){return this.$$.ctx[3]}set userid(e){this.$set({userid:e}),T()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$set({favorites:e}),T()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),T()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),T()}get categoryid(){return this.$$.ctx[25]}set categoryid(e){this.$set({categoryid:e}),T()}get categoryindex(){return this.$$.ctx[27]}set categoryindex(e){this.$set({categoryindex:e}),T()}get categorygames(){return this.$$.ctx[28]}set categorygames(e){this.$set({categorygames:e}),T()}get once(){return this.$$.ctx[29]}set once(e){this.$set({once:e}),T()}get top(){return this.$$.ctx[30]}set top(e){this.$set({top:e}),T()}get bottom(){return this.$$.ctx[31]}set bottom(e){this.$set({bottom:e}),T()}get left(){return this.$$.ctx[32]}set left(e){this.$set({left:e}),T()}get right(){return this.$$.ctx[33]}set right(e){this.$set({right:e}),T()}}return customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",to),to});
|
|
2
2
|
//# sourceMappingURL=casino-games-category-section.js.map
|