@everymatrix/casino-game-thumbnail 0.0.200 → 0.0.204
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function F(){}function h(e){return e()}function f(){return Object.create(null)}function j(e){e.forEach(h)}function p(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function G(e,...t){if(null==e)return F;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function B(e,t){e.appendChild(t)}function V(e,t,r){e.insertBefore(t,r||null)}function z(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function X(e){return document.createTextNode(e)}function e(){return X(" ")}function H(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function W(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Y(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}let M;function m(e){M=e}const d=[],$=[],n=[],o=[],y=Promise.resolve();let g=!1;function b(e){n.push(e)}let i=!1;const s=new Set;function v(){if(!i){i=!0;do{for(let e=0;e<d.length;e+=1){var t=d[e];m(t),function(e){{var t;null!==e.fragment&&(e.update(),j(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(b))}}(t.$$)}for(m(null),d.length=0;$.length;)$.pop()();for(let e=0;e<n.length;e+=1){const r=n[e];s.has(r)||(s.add(r),r())}}while(n.length=0,d.length);for(;o.length;)o.pop()();g=!1,i=!1,s.clear()}}const E=new Set;function a(n,e,t,r,o,i,s=[-1]){var a,u=M;m(n);const l=n.$$={fragment:null,ctx:null,props:i,update:F,not_equal:o,bound:f(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:e.context||[]),callbacks:f(),dirty:s,skip_bound:!1};let c=!1;if(l.ctx=t?t(n,e.props||{},(e,t,...r)=>{r=r.length?r[0]:t;return l.ctx&&o(l.ctx[e],l.ctx[e]=r)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](r),c&&(r=e,-1===(e=n).$$.dirty[0]&&(d.push(e),g||(g=!0,y.then(v)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],l.update(),c=!0,j(l.before_update),l.fragment=!!r&&r(l.ctx),e.target){if(e.hydrate){const F=(r=e.target,Array.from(r.childNodes));l.fragment&&l.fragment.l(F),F.forEach(z)}else l.fragment&&l.fragment.c();e.intro&&(a=n.$$.fragment)&&a.i&&(E.delete(a),a.i(void 0)),function(t,e,r,n){const{fragment:o,on_mount:i,on_destroy:s,after_update:a}=t.$$;o&&o.m(e,r),n||b(()=>{var e=i.map(h).filter(p);s?s.push(...e):j(e),t.$$.on_mount=[]}),a.forEach(b)}(n,e.target,e.anchor,e.customElement),v()}m(u)}let u;"function"==typeof HTMLElement&&(u=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,r){this[e]=r}disconnectedCallback(){j(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(j(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=F}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var l,c,w="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==w&&w,_="URLSearchParams"in w,T="Symbol"in w&&"iterator"in Symbol,A="FileReader"in w&&"Blob"in w&&function(){try{return new Blob,!0}catch(e){return!1}}(),S="FormData"in w,P="ArrayBuffer"in w;function I(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 O(e){return e="string"!=typeof e?String(e):e}function L(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return T&&(e[Symbol.iterator]=function(){return e}),e}function N(t){this.map={},t instanceof N?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 C(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function x(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function R(e){var t=new FileReader,r=x(t);return t.readAsArrayBuffer(e),r}function U(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function D(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:A&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:S&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:_&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():P&&A&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=U(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):P&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=U(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):_&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},A&&(this.blob=function(){var e=C(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?C(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(R)}),this.text=function(){var e,t,r=C(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,r=x(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},S&&(this.formData=function(){return this.text().then(K)}),this.json=function(){return this.text().then(JSON.parse)},this}P&&(l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&-1<l.indexOf(Object.prototype.toString.call(e))}),N.prototype.append=function(e,t){e=I(e),t=O(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},N.prototype.delete=function(e){delete this.map[I(e)]},N.prototype.get=function(e){return e=I(e),this.has(e)?this.map[e]:null},N.prototype.has=function(e){return this.map.hasOwnProperty(I(e))},N.prototype.set=function(e,t){this.map[I(e)]=O(t)},N.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},N.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),L(r)},N.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),L(t)},N.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),L(r)},T&&(N.prototype[Symbol.iterator]=N.prototype.entries);var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function q(e,t){if(!(this instanceof q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n=(t=t||{}).body;if(e instanceof q){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new N(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=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 N(t.headers)),this.method=(e=(r=t.method||this.method||"GET").toUpperCase(),-1<k.indexOf(e)?e:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"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 K(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),r.append(decodeURIComponent(e),decodeURIComponent(t)))}),r}function Z(e,t){if(!(this instanceof Z))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 N(t.headers),this.url=t.url||"",this._initBody(e)}q.prototype.clone=function(){return new q(this,{body:this._bodyInit})},D.call(q.prototype),D.call(Z.prototype),Z.prototype.clone=function(){return new Z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new N(this.headers),url:this.url})},Z.error=function(){var e=new Z(null,{status:0,statusText:""});return e.type="error",e};var J=[301,302,303,307,308];Z.redirect=function(e,t){if(-1===J.indexOf(t))throw new RangeError("Invalid status code");return new Z(null,{status:t,headers:{location:e}})};var Q=w.DOMException;try{new Q}catch(F){(Q=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Q.prototype.constructor=Q}function ee(n,s){return new Promise(function(o,e){var t=new q(n,s);if(t.signal&&t.signal.aborted)return e(new Q("Aborted","AbortError"));var i=new XMLHttpRequest;function r(){i.abort()}i.onload=function(){var e,r,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",r=new N,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(),r.append(e,t))}),r)};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var n="response"in i?i.response:i.responseText;setTimeout(function(){o(new Z(n,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 Q("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&w.location.href?w.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&&(A?i.responseType="blob":P&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof N?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){i.setRequestHeader(e,O(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",r)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}ee.polyfill=!0,w.fetch||(w.fetch=ee,w.Headers=N,w.Request=q,w.Response=Z),self.fetch.bind(self);var te=function(e,t){return(te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function re(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}te(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function ne(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function oe(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function ie(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function se(e){return"function"==typeof e}function ae(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var ue=ae(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 le(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var ce=(fe.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=ne(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(se(i))try{i()}catch(e){o=e instanceof ue?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var u=ne(i),l=u.next();!l.done;l=u.next()){var c=l.value;try{me(c)}catch(e){o=null!=o?o:[],e instanceof ue?o=ie(ie([],oe(o)),oe(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}if(o)throw new ue(o)}},fe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)me(e);else{if(e instanceof fe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},fe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},fe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},fe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&le(t,e)},fe.prototype.remove=function(e){var t=this._teardowns;t&&le(t,e),e instanceof fe&&e._removeParent(this)},fe.EMPTY=((Mt=new fe).closed=!0,Mt),fe),he=ce.EMPTY;function fe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function pe(e){return e instanceof ce||e&&"closed"in e&&se(e.remove)&&se(e.add)&&se(e.unsubscribe)}function me(e){se(e)?e():e.unsubscribe()}var de=void 0,ye=!1,ge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,ie([],oe(e)))};function be(){}function ve(e){e()}var Ee,we,_e=(re(Se,we=ce),Se.create=function(e,t,r){return new Te(e,t,r)},Se.prototype.next=function(e){this.isStopped||this._next(e)},Se.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Se.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Se.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,we.prototype.unsubscribe.call(this),this.destination=null)},Se.prototype._next=function(e){this.destination.next(e)},Se.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Se.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Se),Te=(re(Ae,Ee=_e),Ae);function Ae(e,t,r){var n,o,i=Ee.call(this)||this;return se(e)?o=e:e&&(o=e.next,t=e.error,r=e.complete,i&&ye?(n=Object.create(e)).unsubscribe=function(){return i.unsubscribe()}:n=e,o=null==o?void 0:o.bind(n),t=null==t?void 0:t.bind(n),r=null==r?void 0:r.bind(n)),i.destination={next:o?Pe(o):be,error:Pe(null!=t?t:Ie),complete:r?Pe(r):be},i}function Se(e){var t=we.call(this)||this;return t.isStopped=!1,e?pe(t.destination=e)&&e.add(t):t.destination=Oe,t}function Pe(n){return function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];try{n.apply(void 0,ie([],oe(e)))}catch(e){t=e,ge(function(){throw t})}}}function Ie(e){throw e}var Oe={closed:!0,next:be,error:Ie,complete:be},Le="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ne(e){return e}var Ce=(xe.prototype.lift=function(e){var t=new xe;return t.source=this,t.operator=e,t},xe.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof _e||n&&se(n.next)&&se(n.error)&&se(n.complete)&&pe(n)?e:new Te(e,t,r);return ve(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},xe.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},xe.prototype.forEach=function(n,e){var o=this;return new(e=Re(e))(function(e,t){var r=o.subscribe(function(e){try{n(e)}catch(e){t(e),null==r||r.unsubscribe()}},t,e)})},xe.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},xe.prototype[Le]=function(){return this},xe.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Ne:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},xe.prototype.toPromise=function(e){var n=this;return new(e=Re(e))(function(e,t){var r;n.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},xe.create=function(e){return new xe(e)},xe);function xe(e){e&&(this._subscribe=e)}function Re(e){return null!==(e=null!=e?e:de)&&void 0!==e?e:Promise}var Ue,Ge,Me,$e=ae(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),De=(re(ze,Me=Ce),ze.prototype.lift=function(e){var t=new ke(this,this);return t.operator=e,t},ze.prototype._throwIfClosed=function(){if(this.closed)throw new $e},ze.prototype.next=function(i){var s=this;ve(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var r=s.observers.slice();try{for(var n=ne(r),o=n.next();!o.done;o=n.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},ze.prototype.error=function(t){var r=this;ve(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},ze.prototype.complete=function(){var t=this;ve(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},ze.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(ze.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),ze.prototype._trySubscribe=function(e){return this._throwIfClosed(),Me.prototype._trySubscribe.call(this,e)},ze.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},ze.prototype._innerSubscribe=function(e){var t=this.hasError,r=this.isStopped,n=this.observers;return t||r?he:(n.push(e),new ce(function(){return le(n,e)}))},ze.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},ze.prototype.asObservable=function(){var e=new Ce;return e.source=this,e},ze.create=function(e,t){return new ke(e,t)},ze),ke=(re(Ve,Ge=De),Ve.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},Ve.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},Ve.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)},Ve.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:he},Ve),Fe={now:function(){return(Fe.delegate||Date).now()},delegate:void 0},je=(re(Be,Ue=De),Be.prototype.next=function(e){var t=this,r=t.isStopped,n=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;r||(n.push(e),o||n.push(i.now()+t)),this._trimBuffer(),Ue.prototype.next.call(this,e)},Be.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},Be.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,o=(n?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var i=t.now(),s=0,a=1;a<r.length&&r[a]<=i;a+=2)s=a;s&&r.splice(0,s+1)}},Be);function Be(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Fe);var n=Ue.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function Ve(e,t){var r=Ge.call(this)||this;return r.destination=e,r.source=t,r}function ze(){var e=Me.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Xe=[],He={};const We=[];function Ye(n,o=F){let i;const s=[];function a(e){if(r(n,e)&&(n=e,i)){const e=!We.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),We.push(t,n)}if(e){for(let e=0;e<We.length;e+=2)We[e][0](We[e+1]);We.length=0}}}return{set:a,update:function(e){a(e(n))},subscribe:function(e,t=F){const r=[e,t];return s.push(r),1===s.length&&(i=o(a)||F),e(n),()=>{var e=s.indexOf(r);-1!==e&&s.splice(e,1),0===s.length&&(i(),i=null)}}}}function qe(e,a,t){const u=!Array.isArray(e),l=u?[e]:e,c=a.length<2;return{subscribe:Ye(t,t=>{let r=!1;const n=[];let o=0,i=F;const s=()=>{var e;o||(i(),e=a(u?n[0]:n,t),c?t(e):i=p(e)?e:F)},e=l.map((e,t)=>G(e,e=>{n[t]=e,o&=~(1<<t),r&&s()},()=>{o|=1<<t}));return r=!0,s(),function(){j(e),i()}}).subscribe}}var Ke=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Ze));var t},Ze="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Je(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nt(Array.isArray(e)?[]:{},e,t):e}function Qe(e,t,r){return e.concat(t).map(function(e){return Je(e,r)})}function et(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function tt(e,t){try{return t in e}catch(e){return!1}}function rt(n,o,i){var s={};return i.isMergeableObject(n)&&et(n).forEach(function(e){s[e]=Je(n[e],i)}),et(o).forEach(function(t){var e,r;(!tt(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(tt(n,t)&&i.isMergeableObject(o[t])?s[t]=function(){if(!i.customMerge)return nt;var e=i.customMerge(t);return"function"==typeof e?e:nt}()(n[t],o[t],i):s[t]=Je(o[t],i))}),s}function nt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Qe,r.isMergeableObject=r.isMergeableObject||Ke,r.cloneUnlessOtherwiseSpecified=Je;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):rt(e,t,r):Je(t,r)}nt.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return nt(e,t,r)},{})};var ot=nt,it=function(e,t){return(it=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function st(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}it(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var at,ut,lt,ct=function(){return(ct=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function ht(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function ft(e){return e.type===ut.literal}function pt(e){return e.type===ut.number}function mt(e){return e.type===ut.date}function dt(e){return e.type===ut.time}function yt(e){return e.type===ut.select}function gt(e){return e.type===ut.plural}function bt(e){return e.type===ut.tag}function vt(e){return e&&"object"==typeof e&&e.type===lt.number}function Et(e){return e&&"object"==typeof e&&e.type===lt.dateTime}($t=at=at||{})[$t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",$t[$t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",$t[$t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",$t[$t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",$t[$t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",$t[$t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",$t[$t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",$t[$t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",$t[$t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",$t[$t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",$t[$t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",$t[$t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",$t[$t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",$t[$t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",$t[$t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",$t[$t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",$t[$t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",$t[$t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",$t[$t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",$t[$t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",$t[$t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",$t[$t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",$t[$t.INVALID_TAG=23]="INVALID_TAG",$t[$t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",$t[$t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",$t[$t.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Dt=ut=ut||{})[Dt.literal=0]="literal",Dt[Dt.argument=1]="argument",Dt[Dt.number=2]="number",Dt[Dt.date=3]="date",Dt[Dt.time=4]="time",Dt[Dt.select=5]="select",Dt[Dt.plural=6]="plural",Dt[Dt.pound=7]="pound",Dt[Dt.tag=8]="tag",(kt=lt=lt||{})[kt.number=0]="number",kt[kt.dateTime=1]="dateTime";var wt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,_t=/(?:[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 Tt,At=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,St=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pt=/^(@+)?(\+|#+)?$/g,It=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function Lt(e){var n={};return e.replace(Pt,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function Nt(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 Ct(e){return Nt(e)||{}}function xt(e){for(var s={},t=0,r=e;t<r.length;t++){var n,o=r[t];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=ct(ct(ct({},s),{notation:"scientific"}),o.options.reduce(function(e,t){return ct(ct({},e),Ct(t))},{}));continue;case"engineering":s=ct(ct(ct({},s),{notation:"engineering"}),o.options.reduce(function(e,t){return ct(ct({},e),Ct(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(It,function(e,t,r,n,o,i){if(t)s.minimumIntegerDigits=r.length;else{if(n&&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(Ot.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(St.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(St,function(e,t,r,n,o,i){return"*"===r?s.minimumFractionDigits=t.length:n&&"#"===n[0]?s.maximumFractionDigits=n.length:o&&i?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),o.options.length&&(s=ct(ct({},s),Lt(o.options[0])))}else Pt.test(o.stem)?s=ct(ct({},s),Lt(o.stem)):((n=Nt(o.stem))&&(s=ct(ct({},s),n)),(n=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 r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ot.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(s=ct(ct({},s),n)))}return s}var Rt=new RegExp("^"+wt.source+"*"),Ut=new RegExp(wt.source+"*$");function Gt(e,t){return{start:e,end:t}}var Mt=!!String.prototype.startsWith,Le=!!String.fromCodePoint,De=!!Object.fromEntries,$t=!!String.prototype.codePointAt,Dt=!!String.prototype.trimStart,kt=!!String.prototype.trimEnd,Ft=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},wt=!0;try{wt="a"===(null===(Tt=qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Tt?void 0:Tt[0])}catch(F){wt=!1}var jt,Bt,Vt=Mt?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},zt=Le?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,i=0;i<o;){if(1114111<(r=e[i++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Xt=De?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],i=o[0],o=o[1];t[i]=o}return t},Ht=$t?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var n,o=e.charCodeAt(t);return o<55296||56319<o||t+1===r||(n=e.charCodeAt(t+1))<56320||57343<n?o:n-56320+(o-55296<<10)+65536}},Wt=Dt?function(e){return e.trimStart()}:function(e){return e.replace(Rt,"")},Yt=kt?function(e){return e.trimEnd()}:function(e){return e.replace(Ut,"")};function qt(e,t){return new RegExp(e,t)}Bt=wt?(jt=qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return jt.lastIndex=t,null!==(e=jt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var r,n=[];;){var o=Ht(e,t);if(void 0===o||Qt(o)||(33<=(r=o)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;n.push(o),t+=65536<=o?2:1}return zt.apply(void 0,n)};var Kt=(Zt.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Zt.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.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(r)break;return this.error(at.UNMATCHED_CLOSING_TAG,Gt(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Jt(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{i=this.clonePosition();this.bump(),n.push({type:ut.pound,location:Gt(i,this.clonePosition())})}}}return{val:n,err:null}},Zt.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ut.literal,value:"<"+n+"/>",location:Gt(r,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()||!Jt(this.char()))return this.error(at.INVALID_TAG,Gt(t,this.clonePosition()));o=this.clonePosition();return n!==this.parseTagName()?this.error(at.UNMATCHED_CLOSING_TAG,Gt(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ut.tag,value:n,children:e,location:Gt(r,this.clonePosition())},err:null}:this.error(at.INVALID_TAG,Gt(t,this.clonePosition())))}return this.error(at.UNCLOSED_TAG,Gt(r,this.clonePosition()))}return this.error(at.INVALID_TAG,Gt(r,this.clonePosition()))},Zt.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())},Zt.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{o=this.tryParseUnquoted(e,t);if(o)n+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}r=Gt(r,this.clonePosition());return{val:{type:ut.literal,value:n,location:r},err:null}},Zt.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Jt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Zt.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 r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return zt.apply(void 0,t)},Zt.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),zt(r))},Zt.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(at.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(at.EMPTY_ARGUMENT,Gt(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(at.MALFORMED_ARGUMENT,Gt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(at.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ut.argument,value:n,location:Gt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(at.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(at.MALFORMED_ARGUMENT,Gt(r,this.clonePosition()))}},Zt.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Bt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:Gt(e,this.clonePosition())}},Zt.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(at.EXPECT_ARGUMENT_TYPE,Gt(i,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((f=this.parseSimpleArgStyleIfPossible()).err)return f;if(0===(h=Yt(f.val)).length)return this.error(at.EXPECT_ARGUMENT_STYLE,Gt(this.clonePosition(),this.clonePosition()));u={style:h,styleLocation:Gt(l,this.clonePosition())}}if((p=this.tryParseArgumentClose(n)).err)return p;var c=Gt(n,this.clonePosition());if(u&&Vt(null==u?void 0:u.style,"::",0)){l=Wt(u.style.slice(2));if("number"===s)return(f=this.parseNumberSkeletonFromString(l,u.styleLocation)).err?f:{val:{type:ut.number,value:r,location:c,style:f.val},err:null};if(0===l.length)return this.error(at.EXPECT_DATE_TIME_SKELETON,c);var h={type:lt.dateTime,pattern:l,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},l.replace(_t,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"===s?ut.date:ut.time,value:r,location:c,style:h},err:null}}return{val:{type:"number"===s?ut.number:"date"===s?ut.date:ut.time,value:r,location:c,style:null!==(c=null==u?void 0:u.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(at.EXPECT_SELECT_ARGUMENT_OPTIONS,Gt(u,ct({},u)));this.bumpSpace();var f,c=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(at.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Gt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(f=this.tryParseDecimalInteger(at.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,at.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return f;this.bumpSpace(),c=this.parseIdentifierIfPossible(),u=f.val}c=this.tryParsePluralOrSelectOptions(e,s,t,c);if(c.err)return c;if((p=this.tryParseArgumentClose(n)).err)return p;var p=Gt(n,this.clonePosition());return"select"===s?{val:{type:ut.select,value:r,options:Xt(c.val),location:p},err:null}:{val:{type:ut.plural,value:r,options:Xt(c.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null};default:return this.error(at.INVALID_ARGUMENT_TYPE,Gt(i,a))}},Zt.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(at.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Zt.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(at.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Gt(r,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}},Zt.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(At).filter(function(e){return 0<e.length});r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(at.INVALID_NUMBER_SKELETON,t)}return{val:{type:lt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?xt(r):{}},err:null}},Zt.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o=!1,i=[],s=new Set,a=n.value,u=n.location;;){if(0===a.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(at.EXPECT_PLURAL_ARGUMENT_SELECTOR,at.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=Gt(l,this.clonePosition()),a=this.message.slice(l.offset,this.offset())}if(s.has(a))return this.error("select"===t?at.DUPLICATE_SELECT_ARGUMENT_SELECTOR:at.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?at.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:at.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Gt(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;l=this.tryParseArgumentClose(h);if(l.err)return l;i.push([a,{value:c.val,location:Gt(h,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,u=h.location}return 0===i.length?this.error("select"===t?at.EXPECT_SELECT_ARGUMENT_SELECTOR:at.EXPECT_PLURAL_ARGUMENT_SELECTOR,Gt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(at.MISSING_OTHER_CLAUSE,Gt(this.clonePosition(),this.clonePosition())):{val:i,err:null}},Zt.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,i=10*i+(s-48),this.bump()}n=Gt(n,this.clonePosition());return o?Ft(i*=r)?{val:i,err:null}:this.error(t,n):this.error(e,n)},Zt.prototype.offset=function(){return this.position.offset},Zt.prototype.isEOF=function(){return this.offset()===this.message.length},Zt.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Zt.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ht(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Zt.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Zt.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))},Zt.prototype.bumpIf=function(e){if(Vt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Zt.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)},Zt.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}},Zt.prototype.bumpSpace=function(){for(;!this.isEOF()&&Qt(this.char());)this.bump()},Zt.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},Zt);function Zt(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 Jt(e){return 97<=e&&e<=122||65<=e&&e<=90}function Qt(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function er(e,t){t=ct({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r=new Kt(e,t).parse();if(r.err){e=SyntaxError(at[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,yt(e)||gt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else pt(e)&&vt(e.style)||(mt(e)||dt(e))&&Et(e.style)?delete e.style.location:bt(e)&&r(e.children)})}(r.val),r.val}function tr(e,t){var r=t&&t.cache?t.cache:ur,n=t&&t.serializer?t.serializer:ir;return(t&&t.strategy?t.strategy:function(e,t){return or(e,this,1===e.length?rr:nr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function rr(e,t,r,n){var o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=t.get(o);return void 0===r&&(r=e.call(this,n),t.set(o,r)),r}function nr(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),r=t.get(o);return void 0===r&&(r=e.apply(this,n),t.set(o,r)),r}function or(e,t,r,n,o){return r.bind(t,e,n,o)}var ir=function(){return JSON.stringify(arguments)};function sr(){this.cache=Object.create(null)}sr.prototype.has=function(e){return e in this.cache},sr.prototype.get=function(e){return this.cache[e]},sr.prototype.set=function(e,t){this.cache[e]=t};var ar,ur={create:function(){return new sr}},lr={variadic:function(e,t){return or(e,this,nr,t.cache.create(),t.serializer)},monadic:function(e,t){return or(e,this,rr,t.cache.create(),t.serializer)}};(wt=ar=ar||{}).MISSING_VALUE="MISSING_VALUE",wt.INVALID_VALUE="INVALID_VALUE",wt.MISSING_INTL_API="MISSING_INTL_API";var cr,hr,fr,pr,mr,dr=(st(_r,mr=Error),_r.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},_r),yr=(st(wr,pr=dr),wr),gr=(st(Er,fr=dr),Er),br=(st(vr,hr=dr),vr);function vr(e,t){return hr.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',ar.MISSING_VALUE,t)||this}function Er(e,t,r){return fr.call(this,'Value for "'+e+'" must be of type '+t,ar.INVALID_VALUE,r)||this}function wr(e,t,r,n){return pr.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',ar.INVALID_VALUE,n)||this}function _r(e,t,r){e=mr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Tr(e,t,r,n,o,i,s){if(1===e.length&&ft(e[0]))return[{type:cr.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];if(ft(c))a.push({type:cr.literal,value:c.value});else if(c.type===ut.pound)"number"==typeof i&&a.push({type:cr.literal,value:r.getNumberFormat(t).format(i)});else{var h=c.value;if(!(o&&h in o))throw new br(h,s);var f=o[h];if(c.type===ut.argument)f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),a.push({type:"string"==typeof f?cr.literal:cr.object,value:f});else if(mt(c)){var p="string"==typeof c.style?n.date[c.style]:Et(c.style)?c.style.parsedOptions:void 0;a.push({type:cr.literal,value:r.getDateTimeFormat(t,p).format(f)})}else if(dt(c))p="string"==typeof c.style?n.time[c.style]:Et(c.style)?c.style.parsedOptions:void 0,a.push({type:cr.literal,value:r.getDateTimeFormat(t,p).format(f)});else if(pt(c))(p="string"==typeof c.style?n.number[c.style]:vt(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(f*=p.scale||1),a.push({type:cr.literal,value:r.getNumberFormat(t,p).format(f)});else{if(bt(c)){var m=c.children,d=c.value,h=o[d];if("function"!=typeof h)throw new gr(d,"function",s);m=h(Tr(m,t,r,n,o,i).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?cr.literal:cr.object,value:e}}))}if(yt(c)){if(!(y=c.options[f]||c.options.other))throw new yr(c.value,f,Object.keys(c.options),s);a.push.apply(a,Tr(y.value,t,r,n,o))}else if(gt(c)){if(!(y=c.options["="+f])){if(!Intl.PluralRules)throw new dr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ar.MISSING_INTL_API,s);var m=r.getPluralRules(t,{type:c.pluralType}).select(f-(c.offset||0)),y=c.options[m]||c.options.other}if(!y)throw new yr(c.value,f,Object.keys(c.options),s);a.push.apply(a,Tr(y.value,t,r,n,o,f-(c.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===cr.literal&&t.type===cr.literal?r.value+=t.value:e.push(t),e},[])}function Ar(r){return{create:function(){return{has:function(e){return e in r},get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(wt=cr=cr||{})[wt.literal=0]="literal",wt[wt.object=1]="object";var Sr=(Object.defineProperty(Pr,"defaultLocale",{get:function(){return Pr.memoizedDefaultLocale||(Pr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Pr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Pr.memoizedDefaultLocale=null,Pr.__parse=er,Pr.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"}}},Pr);function Pr(e,t,r,n){var o,i,s=this;if(void 0===t&&(t=Pr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===cr.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 Tr(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!Pr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Pr.__parse(e,{ignoreTag:null==n?void 0:n.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=Pr.formats,(i=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=i[t])?ct(ct(ct({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=ct(ct({},r[t]),n[t]||{}),e},{})):r),e},ct({},o)):o),this.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:tr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ht([void 0],t)))},{cache:Ar((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:lr.variadic}),getDateTimeFormat:tr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ht([void 0],t)))},{cache:Ar(n.dateTime),strategy:lr.variadic}),getPluralRules:tr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ht([void 0],t)))},{cache:Ar(n.pluralRules),strategy:lr.variadic})}}const Ir={},Or=(t,r)=>{if(null!=r){if(r in Ir&&t in Ir[r])return Ir[r][t];var n,o,i=zr(r);for(let e=0;e<i.length;e++){var s=(n=i[e],o=t,Cr(n)?function(e,t){if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(0<e){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(function(e){return Lr[e]||null}(n),o):null);if(s)return n=t,o=r,(s=s)&&(o in Ir||(Ir[o]={}),n in Ir[o]||(Ir[o][n]=s),s)}}};let Lr;const Nr=Ye({});function Cr(e){return e in Lr}function xr(t,...r){delete Ir[t],Nr.update(e=>(e[t]=ot.all([e[t]||{},...r]),e))}qe([Nr],([e])=>Object.keys(e)),Nr.subscribe(e=>Lr=e);const Rr={};function Ur(e){return Rr[e]}function Gr(e){return zr(e).some(e=>{return null===(e=Ur(e))||void 0===e?void 0:e.size})}const Mr={};function $r(e){if(!Gr(e))return e in Mr?Mr[e]:void 0;const t=zr(e).map(e=>{var t=Ur(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Mr[e]=Promise.all(t.map(([e,r])=>function(t){return Promise.all(r.map(e=>(function(e,t){Rr[e].delete(t),0===Rr[e].size&&delete Rr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>xr(t,...e))}(e))).then(()=>Gr(e)?$r(e):void delete Mr[e]),Mr[e]}function Dr(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}const kr={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 Fr=Ye(!1);let jr;const Br=Ye(null);function Vr(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function zr(e,t=kr.fallbackLocale){e=Vr(e);return t?[...new Set([...e,...Vr(t)])]:e}Br.subscribe(e=>{jr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Xr=Br.set;Br.set=t=>{if(function(e){if(null!=e){var t=zr(e);for(let e=0;e<t.length;e++){var r=t[e];if(Cr(r))return r}}}(t)&&Gr(t)){var{loadingDelay:r}=kr;let e;return"undefined"!=typeof window&&null!=jr&&r?e=window.setTimeout(()=>Fr.set(!0),r):Fr.set(!0),$r(t).then(()=>{Xr(t)}).finally(()=>{clearTimeout(e),Fr.set(!1)})}return Xr(t)},Br.update=e=>Xr(e(jr));const Hr=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Wr=(e,t)=>{var{formats:r}=kr;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yr=Hr(e=>{var{locale:t,format:r}=e,e=Dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Wr("number",r)),new Intl.NumberFormat(t,e)}),qr=Hr(e=>{var{locale:t,format:r}=e,e=Dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Wr("date",r):0===Object.keys(e).length&&(e=Wr("date","short")),new Intl.DateTimeFormat(t,e)}),Kr=Hr(e=>{var{locale:t,format:r}=e,e=Dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Wr("time",r):0===Object.keys(e).length&&(e=Wr("time","short")),new Intl.DateTimeFormat(t,e)}),Zr=Hr((e,t=jr)=>new Sr(e,t,kr.formats,{ignoreTag:kr.ignoreTag})),Jr=qe([Br,Nr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:r,locale:n=jr,default:o}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Or(e,n);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 kr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${zr(n).join('", "')}".${Gr(jr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||e;if(!r)return i;let s=i;try{s=Zr(i,n).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});qe([Br],()=>(e,t)=>((e={})=>{var{locale:t=jr}=e,e=Dr(e,["locale"]);return Kr(Object.assign({locale:t},e))})(t).format(e)),qe([Br],()=>(e,t)=>((e={})=>{var{locale:t=jr}=e,e=Dr(e,["locale"]);return qr(Object.assign({locale:t},e))})(t).format(e)),qe([Br],()=>(e,t)=>((e={})=>{var{locale:t=jr}=e,e=Dr(e,["locale"]);return Yr(Object.assign({locale:t},e))})(t).format(e)),qe([Br,Nr],()=>(e,t=jr)=>Or(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Xe.indexOf(e)&&(t=new je(t),He[e]=t,Xe.push(e)),He[e]}};const Qr=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)),en={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 tn(e){let r,n=!Qr(e[16])&&!e[0]&&e[9],o=n&&rn(e);return{c(){o&&o.c(),r=X("")},m(e,t){o&&o.m(e,t),V(e,r,t)},p(e,t){513&t[0]&&(n=!Qr(e[16])&&!e[0]&&e[9]),n?o?o.p(e,t):(o=rn(e),o.c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){o&&o.d(e),e&&z(r)}}}function rn(r){let n,o,i;return{c(){n=t("div"),n.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(n,"class","FavIconContainer")},m(e,t){V(e,n,t),o||(i=H(n,"click",r[35]),o=!0)},p:F,d(e){e&&z(n),o=!1,i()}}}function nn(e){let r;return{c(){r=t("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){V(e,r,t)},p:F,d(e){e&&z(r)}}}function on(r){let n,o,i;return{c(){n=t("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){V(e,n,t),o||(i=H(n,"click",r[39]),o=!0)},p:F,d(e){e&&z(n),o=!1,i()}}}function sn(e){let r,n,o=e[15]("gameThumbnail.new")+"";return{c(){r=t("span"),n=X(o),W(r,"class","GameExtraInfoLabel NewGameTag")},m(e,t){V(e,r,t),B(r,n)},p(e,t){32768&t[0]&&o!==(o=e[15]("gameThumbnail.new")+"")&&Y(n,o)},d(e){e&&z(r)}}}function an(e){let r,n,o=e[15]("gameThumbnail.hot")+"";return{c(){r=t("span"),n=X(o),W(r,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){V(e,r,t),B(r,n)},p(e,t){32768&t[0]&&o!==(o=e[15]("gameThumbnail.hot")+"")&&Y(n,o)},d(e){e&&z(r)}}}function un(e){let r,n;return{c(){r=t("p"),n=X(e[3]),W(r,"class","GameNameBelow"),W(r,"title",e[3])},m(e,t){V(e,r,t),B(r,n)},p(e,t){8&t[0]&&Y(n,e[3]),8&t[0]&&W(r,"title",e[3])},d(e){e&&z(r)}}}function ln(r){let n,o,i,s,a,u,l,c,h,f,p,m,d,y,g,b,v,E,w,_,T,A,S,P,I,O,L,N=r[15]("gameThumbnail.playNow")+"",C=(r[4]||"-")+"",x=0<parseInt(r[7]),R=r[14]&&tn(r);function U(e,t){return(null==_||515&t[0])&&(_=!(Qr(e[16])||!e[0]||!e[9]||!e[1])),_?on:((null==T||515&t[0])&&(T=!!(Qr(e[16])&&e[0]&&e[9]&&e[1])),T?nn:void 0)}let G=U(r,[-1]),M=G&&G(r),$=r[6]&&sn(r),D=x&&an(r),k=r[8]&&un(r);return{c(){n=t("div"),o=t("div"),i=t("img"),u=e(),l=t("div"),c=t("div"),R&&R.c(),h=e(),f=t("p"),p=X(r[3]),m=e(),d=t("button"),y=X(N),b=e(),v=t("span"),E=X(C),w=e(),M&&M.c(),A=e(),S=t("div"),$&&$.c(),P=e(),D&&D.c(),I=e(),k&&k.c(),this.c=F,i.src!==(s=r[2])&&W(i,"src",s),W(i,"class",a="GameBg "+(r[10]?"GameContainerHovered":"")+" "+(r[11]?"Loaded":"")),W(i,"alt",""),W(i,"loading","lazy"),W(f,"class","GameInfoName"),W(f,"title",r[3]),W(d,"class","GameInfoBtn"),W(c,"class",g="GameInfo "+(r[10]?"GameHovered":"")),W(v,"class","GameInfoVendor"),W(l,"class","GameInfoWrapper"),W(S,"class","GameExtraInfo"),W(o,"class","GameInnerContainer"),W(n,"class","GameContainer")},m(e,t){V(e,n,t),B(n,o),B(o,i),r[34](i),B(o,u),B(o,l),B(l,c),R&&R.m(c,null),B(c,h),B(c,f),B(f,p),B(c,m),B(c,d),B(d,y),B(l,b),B(l,v),B(v,E),B(o,w),M&&M.m(o,null),B(o,A),B(o,S),$&&$.m(S,null),B(S,P),D&&D.m(S,null),B(n,I),k&&k.m(n,null),r[40](n),O||(L=[H(d,"click",r[36]),H(l,"mouseenter",r[37]),H(l,"mouseleave",r[38]),H(o,"mouseenter",r[23]),H(o,"mouseleave",r[24]),H(o,"touchstart",r[21],{passive:!0}),H(o,"touchleave",r[22])],O=!0)},p(e,t){4&t[0]&&i.src!==(s=e[2])&&W(i,"src",s),3072&t[0]&&a!==(a="GameBg "+(e[10]?"GameContainerHovered":"")+" "+(e[11]?"Loaded":""))&&W(i,"class",a),e[14]?R?R.p(e,t):(R=tn(e),R.c(),R.m(c,h)):R&&(R.d(1),R=null),8&t[0]&&Y(p,e[3]),8&t[0]&&W(f,"title",e[3]),32768&t[0]&&N!==(N=e[15]("gameThumbnail.playNow")+"")&&Y(y,N),1024&t[0]&&g!==(g="GameInfo "+(e[10]?"GameHovered":""))&&W(c,"class",g),16&t[0]&&C!==(C=(e[4]||"-")+"")&&Y(E,C),G===(G=U(e,t))&&M?M.p(e,t):(M&&M.d(1),M=G&&G(e),M&&(M.c(),M.m(o,A))),e[6]?$?$.p(e,t):($=sn(e),$.c(),$.m(S,P)):$&&($.d(1),$=null),128&t[0]&&(x=0<parseInt(e[7])),x?D?D.p(e,t):(D=an(e),D.c(),D.m(S,null)):D&&(D.d(1),D=null),e[8]?k?k.p(e,t):(k=un(e),k.c(),k.m(n,null)):k&&(k.d(1),k=null)},i:F,o:F,d(e){e&&z(n),r[34](null),R&&R.d(),M&&M.d(),$&&$.d(),D&&D.d(),k&&k.d(),r[40](null),O=!1,j(L)}}}function cn(e,t,r){let n;var o=Jr;e.$$.on_destroy.push(G(o,e=>r(15,n=e)));let i,s,{session:a=""}=t,{userid:u=""}=t,{lang:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:h=""}=t,{favorites:f=""}=t,{gamethumbnail:p=""}=t,{gamename:m=""}=t,{gamevendor:d=""}=t,{gameid:y=""}=t,{gameisnew:g=""}=t,{gamepopularity:b=""}=t,{gamefunmode:v=!1}=t,{searchitem:E=!1}=t,{gamefavorite:w=!1}=t,{showfavoredcategory:_=!1}=t,{showgamename:T=!1}=t,{endpoint:A=""}=t,S=!1,P=!1,I=!1,O=window.navigator.userAgent;Object.keys(en).forEach(e=>{xr(e,en[e])});const L=()=>{r(10,P=!0)},N=()=>{r(10,P=!1)},C=e=>{e.data.type!==`AddFavoriteThumbnail_${y}`||_||r(0,w=!0),e.data.type!==`RemoveFavoriteThumbnail_${y}`||_||r(0,w=!1),"UserSessionID"===e.data.type&&(r(9,S=!0),e.data.session,e.data.userID)},x=e=>{Qr(O)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:v},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),E&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},R=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)};let U=!1;return t=()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}),function(){if(!M)throw new Error("Function called outside component initialization");return M}().$$.on_mount.push(t),e.$$set=e=>{"session"in e&&r(25,a=e.session),"userid"in e&&r(26,u=e.userid),"lang"in e&&r(27,l=e.lang),"clientstyling"in e&&r(28,c=e.clientstyling),"clientstylingurl"in e&&r(29,h=e.clientstylingurl),"favorites"in e&&r(1,f=e.favorites),"gamethumbnail"in e&&r(2,p=e.gamethumbnail),"gamename"in e&&r(3,m=e.gamename),"gamevendor"in e&&r(4,d=e.gamevendor),"gameid"in e&&r(5,y=e.gameid),"gameisnew"in e&&r(6,g=e.gameisnew),"gamepopularity"in e&&r(7,b=e.gamepopularity),"gamefunmode"in e&&r(30,v=e.gamefunmode),"searchitem"in e&&r(31,E=e.searchitem),"gamefavorite"in e&&r(0,w=e.gamefavorite),"showfavoredcategory"in e&&r(32,_=e.showfavoredcategory),"showgamename"in e&&r(8,T=e.showgamename),"endpoint"in e&&r(33,A=e.endpoint)},e.$$.update=()=>{e.$$.dirty[0],100663296&e.$$.dirty[0]|4&e.$$.dirty[1]&&a&&u&&A&&r(9,S=!0),4&e.$$.dirty[0]&&p&&i&&r(12,i.onload=()=>{r(11,I=!0)},i),268435456&e.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{s.appendChild(e)})})(),2&e.$$.dirty[0]&&f&&"true"==f&&r(14,U=!0),536870912&e.$$.dirty[0]&&h&&(()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)})})})()},[w,f,p,m,d,y,g,b,T,S,P,I,i,s,U,n,O,L,N,x,R,()=>{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,u,l,c,h,v,E,_,A,function(e){$[e?"unshift":"push"](()=>{i=e,r(12,i)})},()=>R(y),()=>x(y),()=>L(),()=>N(),()=>R(y),function(e){$[e?"unshift":"push"](()=>{s=e,r(13,s)})}]}class hn extends u{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}.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:#DB2777;color:#FDF2F8;font-size:16px;border:2px solid #9D174D;border-radius:4.8px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid #F9A8D4}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14.4px;font-weight:normal}.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:#DC2626;color:#FEF2F2;font-weight:bold;text-transform:uppercase;border-radius:4.8px}.GameNameBelow{color:#fff;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>",a(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},cn,ln,r,{session:25,userid:26,lang:27,clientstyling:28,clientstylingurl:29,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:30,searchitem:31,gamefavorite:0,showfavoredcategory:32,showgamename:8,endpoint:33},[-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),v()))}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[25]}set session(e){this.$set({session:e}),v()}get userid(){return this.$$.ctx[26]}set userid(e){this.$set({userid:e}),v()}get lang(){return this.$$.ctx[27]}set lang(e){this.$set({lang:e}),v()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(e){this.$set({clientstyling:e}),v()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(e){this.$set({clientstylingurl:e}),v()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),v()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),v()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),v()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),v()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),v()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),v()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),v()}get gamefunmode(){return this.$$.ctx[30]}set gamefunmode(e){this.$set({gamefunmode:e}),v()}get searchitem(){return this.$$.ctx[31]}set searchitem(e){this.$set({searchitem:e}),v()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),v()}get showfavoredcategory(){return this.$$.ctx[32]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),v()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),v()}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$set({endpoint:e}),v()}}return customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",hn),hn});
|
|
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 F(){}function h(e){return e()}function f(){return Object.create(null)}function j(e){e.forEach(h)}function p(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function G(e,...t){if(null==e)return F;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function B(e,t){e.appendChild(t)}function V(e,t,r){e.insertBefore(t,r||null)}function z(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function X(e){return document.createTextNode(e)}function e(){return X(" ")}function H(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function W(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Y(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}let M;function m(e){M=e}const d=[],$=[],n=[],o=[],y=Promise.resolve();let g=!1;function b(e){n.push(e)}let i=!1;const s=new Set;function v(){if(!i){i=!0;do{for(let e=0;e<d.length;e+=1){var t=d[e];m(t),function(e){{var t;null!==e.fragment&&(e.update(),j(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(b))}}(t.$$)}for(m(null),d.length=0;$.length;)$.pop()();for(let e=0;e<n.length;e+=1){const r=n[e];s.has(r)||(s.add(r),r())}}while(n.length=0,d.length);for(;o.length;)o.pop()();g=!1,i=!1,s.clear()}}const E=new Set;function a(n,e,t,r,o,i,s=[-1]){var a,u=M;m(n);const l=n.$$={fragment:null,ctx:null,props:i,update:F,not_equal:o,bound:f(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:e.context||[]),callbacks:f(),dirty:s,skip_bound:!1};let c=!1;if(l.ctx=t?t(n,e.props||{},(e,t,...r)=>{r=r.length?r[0]:t;return l.ctx&&o(l.ctx[e],l.ctx[e]=r)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](r),c&&(r=e,-1===(e=n).$$.dirty[0]&&(d.push(e),g||(g=!0,y.then(v)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],l.update(),c=!0,j(l.before_update),l.fragment=!!r&&r(l.ctx),e.target){if(e.hydrate){const F=(r=e.target,Array.from(r.childNodes));l.fragment&&l.fragment.l(F),F.forEach(z)}else l.fragment&&l.fragment.c();e.intro&&(a=n.$$.fragment)&&a.i&&(E.delete(a),a.i(void 0)),function(t,e,r,n){const{fragment:o,on_mount:i,on_destroy:s,after_update:a}=t.$$;o&&o.m(e,r),n||b(()=>{var e=i.map(h).filter(p);s?s.push(...e):j(e),t.$$.on_mount=[]}),a.forEach(b)}(n,e.target,e.anchor,e.customElement),v()}m(u)}let u;"function"==typeof HTMLElement&&(u=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,r){this[e]=r}disconnectedCallback(){j(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(j(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=F}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var l,c,w="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==w&&w,_="URLSearchParams"in w,T="Symbol"in w&&"iterator"in Symbol,A="FileReader"in w&&"Blob"in w&&function(){try{return new Blob,!0}catch(e){return!1}}(),S="FormData"in w,P="ArrayBuffer"in w;function I(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 O(e){return e="string"!=typeof e?String(e):e}function L(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return T&&(e[Symbol.iterator]=function(){return e}),e}function N(t){this.map={},t instanceof N?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 C(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function x(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function R(e){var t=new FileReader,r=x(t);return t.readAsArrayBuffer(e),r}function U(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function D(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:A&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:S&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:_&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():P&&A&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=U(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):P&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=U(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):_&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},A&&(this.blob=function(){var e=C(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?C(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(R)}),this.text=function(){var e,t,r=C(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,r=x(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},S&&(this.formData=function(){return this.text().then(K)}),this.json=function(){return this.text().then(JSON.parse)},this}P&&(l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&-1<l.indexOf(Object.prototype.toString.call(e))}),N.prototype.append=function(e,t){e=I(e),t=O(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},N.prototype.delete=function(e){delete this.map[I(e)]},N.prototype.get=function(e){return e=I(e),this.has(e)?this.map[e]:null},N.prototype.has=function(e){return this.map.hasOwnProperty(I(e))},N.prototype.set=function(e,t){this.map[I(e)]=O(t)},N.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},N.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),L(r)},N.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),L(t)},N.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),L(r)},T&&(N.prototype[Symbol.iterator]=N.prototype.entries);var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function q(e,t){if(!(this instanceof q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n=(t=t||{}).body;if(e instanceof q){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new N(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=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 N(t.headers)),this.method=(e=(r=t.method||this.method||"GET").toUpperCase(),-1<k.indexOf(e)?e:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"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 K(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),r.append(decodeURIComponent(e),decodeURIComponent(t)))}),r}function Z(e,t){if(!(this instanceof Z))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 N(t.headers),this.url=t.url||"",this._initBody(e)}q.prototype.clone=function(){return new q(this,{body:this._bodyInit})},D.call(q.prototype),D.call(Z.prototype),Z.prototype.clone=function(){return new Z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new N(this.headers),url:this.url})},Z.error=function(){var e=new Z(null,{status:0,statusText:""});return e.type="error",e};var J=[301,302,303,307,308];Z.redirect=function(e,t){if(-1===J.indexOf(t))throw new RangeError("Invalid status code");return new Z(null,{status:t,headers:{location:e}})};var Q=w.DOMException;try{new Q}catch(F){(Q=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Q.prototype.constructor=Q}function ee(n,s){return new Promise(function(o,e){var t=new q(n,s);if(t.signal&&t.signal.aborted)return e(new Q("Aborted","AbortError"));var i=new XMLHttpRequest;function r(){i.abort()}i.onload=function(){var e,r,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",r=new N,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(),r.append(e,t))}),r)};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var n="response"in i?i.response:i.responseText;setTimeout(function(){o(new Z(n,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 Q("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&w.location.href?w.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&&(A?i.responseType="blob":P&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof N?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){i.setRequestHeader(e,O(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",r)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}ee.polyfill=!0,w.fetch||(w.fetch=ee,w.Headers=N,w.Request=q,w.Response=Z),self.fetch.bind(self);var te=function(e,t){return(te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function re(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}te(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function ne(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function oe(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function ie(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function se(e){return"function"==typeof e}function ae(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var ue=ae(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 le(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var ce=(fe.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=ne(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(se(i))try{i()}catch(e){o=e instanceof ue?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var u=ne(i),l=u.next();!l.done;l=u.next()){var c=l.value;try{me(c)}catch(e){o=null!=o?o:[],e instanceof ue?o=ie(ie([],oe(o)),oe(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}if(o)throw new ue(o)}},fe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)me(e);else{if(e instanceof fe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},fe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},fe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},fe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&le(t,e)},fe.prototype.remove=function(e){var t=this._teardowns;t&&le(t,e),e instanceof fe&&e._removeParent(this)},fe.EMPTY=((Mt=new fe).closed=!0,Mt),fe),he=ce.EMPTY;function fe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function pe(e){return e instanceof ce||e&&"closed"in e&&se(e.remove)&&se(e.add)&&se(e.unsubscribe)}function me(e){se(e)?e():e.unsubscribe()}var de=void 0,ye=!1,ge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,ie([],oe(e)))};function be(){}function ve(e){e()}var Ee,we,_e=(re(Se,we=ce),Se.create=function(e,t,r){return new Te(e,t,r)},Se.prototype.next=function(e){this.isStopped||this._next(e)},Se.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Se.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Se.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,we.prototype.unsubscribe.call(this),this.destination=null)},Se.prototype._next=function(e){this.destination.next(e)},Se.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Se.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Se),Te=(re(Ae,Ee=_e),Ae);function Ae(e,t,r){var n,o,i=Ee.call(this)||this;return se(e)?o=e:e&&(o=e.next,t=e.error,r=e.complete,i&&ye?(n=Object.create(e)).unsubscribe=function(){return i.unsubscribe()}:n=e,o=null==o?void 0:o.bind(n),t=null==t?void 0:t.bind(n),r=null==r?void 0:r.bind(n)),i.destination={next:o?Pe(o):be,error:Pe(null!=t?t:Ie),complete:r?Pe(r):be},i}function Se(e){var t=we.call(this)||this;return t.isStopped=!1,e?pe(t.destination=e)&&e.add(t):t.destination=Oe,t}function Pe(n){return function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];try{n.apply(void 0,ie([],oe(e)))}catch(e){t=e,ge(function(){throw t})}}}function Ie(e){throw e}var Oe={closed:!0,next:be,error:Ie,complete:be},Le="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ne(e){return e}var Ce=(xe.prototype.lift=function(e){var t=new xe;return t.source=this,t.operator=e,t},xe.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof _e||n&&se(n.next)&&se(n.error)&&se(n.complete)&&pe(n)?e:new Te(e,t,r);return ve(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},xe.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},xe.prototype.forEach=function(n,e){var o=this;return new(e=Re(e))(function(e,t){var r=o.subscribe(function(e){try{n(e)}catch(e){t(e),null==r||r.unsubscribe()}},t,e)})},xe.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},xe.prototype[Le]=function(){return this},xe.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Ne:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},xe.prototype.toPromise=function(e){var n=this;return new(e=Re(e))(function(e,t){var r;n.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},xe.create=function(e){return new xe(e)},xe);function xe(e){e&&(this._subscribe=e)}function Re(e){return null!==(e=null!=e?e:de)&&void 0!==e?e:Promise}var Ue,Ge,Me,$e=ae(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),De=(re(ze,Me=Ce),ze.prototype.lift=function(e){var t=new ke(this,this);return t.operator=e,t},ze.prototype._throwIfClosed=function(){if(this.closed)throw new $e},ze.prototype.next=function(i){var s=this;ve(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var r=s.observers.slice();try{for(var n=ne(r),o=n.next();!o.done;o=n.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},ze.prototype.error=function(t){var r=this;ve(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},ze.prototype.complete=function(){var t=this;ve(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},ze.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(ze.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),ze.prototype._trySubscribe=function(e){return this._throwIfClosed(),Me.prototype._trySubscribe.call(this,e)},ze.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},ze.prototype._innerSubscribe=function(e){var t=this.hasError,r=this.isStopped,n=this.observers;return t||r?he:(n.push(e),new ce(function(){return le(n,e)}))},ze.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},ze.prototype.asObservable=function(){var e=new Ce;return e.source=this,e},ze.create=function(e,t){return new ke(e,t)},ze),ke=(re(Ve,Ge=De),Ve.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},Ve.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},Ve.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)},Ve.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:he},Ve),Fe={now:function(){return(Fe.delegate||Date).now()},delegate:void 0},je=(re(Be,Ue=De),Be.prototype.next=function(e){var t=this,r=t.isStopped,n=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;r||(n.push(e),o||n.push(i.now()+t)),this._trimBuffer(),Ue.prototype.next.call(this,e)},Be.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},Be.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,o=(n?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var i=t.now(),s=0,a=1;a<r.length&&r[a]<=i;a+=2)s=a;s&&r.splice(0,s+1)}},Be);function Be(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Fe);var n=Ue.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function Ve(e,t){var r=Ge.call(this)||this;return r.destination=e,r.source=t,r}function ze(){var e=Me.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Xe=[],He={};const We=[];function Ye(n,o=F){let i;const s=[];function a(e){if(r(n,e)&&(n=e,i)){const e=!We.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),We.push(t,n)}if(e){for(let e=0;e<We.length;e+=2)We[e][0](We[e+1]);We.length=0}}}return{set:a,update:function(e){a(e(n))},subscribe:function(e,t=F){const r=[e,t];return s.push(r),1===s.length&&(i=o(a)||F),e(n),()=>{var e=s.indexOf(r);-1!==e&&s.splice(e,1),0===s.length&&(i(),i=null)}}}}function qe(e,a,t){const u=!Array.isArray(e),l=u?[e]:e,c=a.length<2;return{subscribe:Ye(t,t=>{let r=!1;const n=[];let o=0,i=F;const s=()=>{var e;o||(i(),e=a(u?n[0]:n,t),c?t(e):i=p(e)?e:F)},e=l.map((e,t)=>G(e,e=>{n[t]=e,o&=~(1<<t),r&&s()},()=>{o|=1<<t}));return r=!0,s(),function(){j(e),i()}}).subscribe}}var Ke=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Ze));var t},Ze="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Je(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nt(Array.isArray(e)?[]:{},e,t):e}function Qe(e,t,r){return e.concat(t).map(function(e){return Je(e,r)})}function et(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function tt(e,t){try{return t in e}catch(e){return!1}}function rt(n,o,i){var s={};return i.isMergeableObject(n)&&et(n).forEach(function(e){s[e]=Je(n[e],i)}),et(o).forEach(function(t){var e,r;(!tt(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(tt(n,t)&&i.isMergeableObject(o[t])?s[t]=function(){if(!i.customMerge)return nt;var e=i.customMerge(t);return"function"==typeof e?e:nt}()(n[t],o[t],i):s[t]=Je(o[t],i))}),s}function nt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Qe,r.isMergeableObject=r.isMergeableObject||Ke,r.cloneUnlessOtherwiseSpecified=Je;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):rt(e,t,r):Je(t,r)}nt.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return nt(e,t,r)},{})};var ot=nt,it=function(e,t){return(it=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function st(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}it(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var at,ut,lt,ct=function(){return(ct=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function ht(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function ft(e){return e.type===ut.literal}function pt(e){return e.type===ut.number}function mt(e){return e.type===ut.date}function dt(e){return e.type===ut.time}function yt(e){return e.type===ut.select}function gt(e){return e.type===ut.plural}function bt(e){return e.type===ut.tag}function vt(e){return e&&"object"==typeof e&&e.type===lt.number}function Et(e){return e&&"object"==typeof e&&e.type===lt.dateTime}($t=at=at||{})[$t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",$t[$t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",$t[$t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",$t[$t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",$t[$t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",$t[$t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",$t[$t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",$t[$t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",$t[$t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",$t[$t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",$t[$t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",$t[$t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",$t[$t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",$t[$t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",$t[$t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",$t[$t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",$t[$t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",$t[$t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",$t[$t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",$t[$t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",$t[$t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",$t[$t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",$t[$t.INVALID_TAG=23]="INVALID_TAG",$t[$t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",$t[$t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",$t[$t.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Dt=ut=ut||{})[Dt.literal=0]="literal",Dt[Dt.argument=1]="argument",Dt[Dt.number=2]="number",Dt[Dt.date=3]="date",Dt[Dt.time=4]="time",Dt[Dt.select=5]="select",Dt[Dt.plural=6]="plural",Dt[Dt.pound=7]="pound",Dt[Dt.tag=8]="tag",(kt=lt=lt||{})[kt.number=0]="number",kt[kt.dateTime=1]="dateTime";var wt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,_t=/(?:[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 Tt,At=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,St=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pt=/^(@+)?(\+|#+)?$/g,It=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function Lt(e){var n={};return e.replace(Pt,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function Nt(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 Ct(e){return Nt(e)||{}}function xt(e){for(var s={},t=0,r=e;t<r.length;t++){var n,o=r[t];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=ct(ct(ct({},s),{notation:"scientific"}),o.options.reduce(function(e,t){return ct(ct({},e),Ct(t))},{}));continue;case"engineering":s=ct(ct(ct({},s),{notation:"engineering"}),o.options.reduce(function(e,t){return ct(ct({},e),Ct(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(It,function(e,t,r,n,o,i){if(t)s.minimumIntegerDigits=r.length;else{if(n&&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(Ot.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(St.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(St,function(e,t,r,n,o,i){return"*"===r?s.minimumFractionDigits=t.length:n&&"#"===n[0]?s.maximumFractionDigits=n.length:o&&i?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),o.options.length&&(s=ct(ct({},s),Lt(o.options[0])))}else Pt.test(o.stem)?s=ct(ct({},s),Lt(o.stem)):((n=Nt(o.stem))&&(s=ct(ct({},s),n)),(n=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 r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ot.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(s=ct(ct({},s),n)))}return s}var Rt=new RegExp("^"+wt.source+"*"),Ut=new RegExp(wt.source+"*$");function Gt(e,t){return{start:e,end:t}}var Mt=!!String.prototype.startsWith,Le=!!String.fromCodePoint,De=!!Object.fromEntries,$t=!!String.prototype.codePointAt,Dt=!!String.prototype.trimStart,kt=!!String.prototype.trimEnd,Ft=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},wt=!0;try{wt="a"===(null===(Tt=qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Tt?void 0:Tt[0])}catch(F){wt=!1}var jt,Bt,Vt=Mt?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},zt=Le?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,i=0;i<o;){if(1114111<(r=e[i++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Xt=De?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],i=o[0],o=o[1];t[i]=o}return t},Ht=$t?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var n,o=e.charCodeAt(t);return o<55296||56319<o||t+1===r||(n=e.charCodeAt(t+1))<56320||57343<n?o:n-56320+(o-55296<<10)+65536}},Wt=Dt?function(e){return e.trimStart()}:function(e){return e.replace(Rt,"")},Yt=kt?function(e){return e.trimEnd()}:function(e){return e.replace(Ut,"")};function qt(e,t){return new RegExp(e,t)}Bt=wt?(jt=qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return jt.lastIndex=t,null!==(e=jt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var r,n=[];;){var o=Ht(e,t);if(void 0===o||Qt(o)||(33<=(r=o)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;n.push(o),t+=65536<=o?2:1}return zt.apply(void 0,n)};var Kt=(Zt.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Zt.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.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(r)break;return this.error(at.UNMATCHED_CLOSING_TAG,Gt(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Jt(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{i=this.clonePosition();this.bump(),n.push({type:ut.pound,location:Gt(i,this.clonePosition())})}}}return{val:n,err:null}},Zt.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ut.literal,value:"<"+n+"/>",location:Gt(r,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()||!Jt(this.char()))return this.error(at.INVALID_TAG,Gt(t,this.clonePosition()));o=this.clonePosition();return n!==this.parseTagName()?this.error(at.UNMATCHED_CLOSING_TAG,Gt(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ut.tag,value:n,children:e,location:Gt(r,this.clonePosition())},err:null}:this.error(at.INVALID_TAG,Gt(t,this.clonePosition())))}return this.error(at.UNCLOSED_TAG,Gt(r,this.clonePosition()))}return this.error(at.INVALID_TAG,Gt(r,this.clonePosition()))},Zt.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())},Zt.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{o=this.tryParseUnquoted(e,t);if(o)n+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}r=Gt(r,this.clonePosition());return{val:{type:ut.literal,value:n,location:r},err:null}},Zt.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Jt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Zt.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 r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return zt.apply(void 0,t)},Zt.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),zt(r))},Zt.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(at.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(at.EMPTY_ARGUMENT,Gt(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(at.MALFORMED_ARGUMENT,Gt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(at.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ut.argument,value:n,location:Gt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(at.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(at.MALFORMED_ARGUMENT,Gt(r,this.clonePosition()))}},Zt.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Bt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:Gt(e,this.clonePosition())}},Zt.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(at.EXPECT_ARGUMENT_TYPE,Gt(i,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((f=this.parseSimpleArgStyleIfPossible()).err)return f;if(0===(h=Yt(f.val)).length)return this.error(at.EXPECT_ARGUMENT_STYLE,Gt(this.clonePosition(),this.clonePosition()));u={style:h,styleLocation:Gt(l,this.clonePosition())}}if((p=this.tryParseArgumentClose(n)).err)return p;var c=Gt(n,this.clonePosition());if(u&&Vt(null==u?void 0:u.style,"::",0)){l=Wt(u.style.slice(2));if("number"===s)return(f=this.parseNumberSkeletonFromString(l,u.styleLocation)).err?f:{val:{type:ut.number,value:r,location:c,style:f.val},err:null};if(0===l.length)return this.error(at.EXPECT_DATE_TIME_SKELETON,c);var h={type:lt.dateTime,pattern:l,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},l.replace(_t,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"===s?ut.date:ut.time,value:r,location:c,style:h},err:null}}return{val:{type:"number"===s?ut.number:"date"===s?ut.date:ut.time,value:r,location:c,style:null!==(c=null==u?void 0:u.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(at.EXPECT_SELECT_ARGUMENT_OPTIONS,Gt(u,ct({},u)));this.bumpSpace();var f,c=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(at.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Gt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(f=this.tryParseDecimalInteger(at.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,at.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return f;this.bumpSpace(),c=this.parseIdentifierIfPossible(),u=f.val}c=this.tryParsePluralOrSelectOptions(e,s,t,c);if(c.err)return c;if((p=this.tryParseArgumentClose(n)).err)return p;var p=Gt(n,this.clonePosition());return"select"===s?{val:{type:ut.select,value:r,options:Xt(c.val),location:p},err:null}:{val:{type:ut.plural,value:r,options:Xt(c.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null};default:return this.error(at.INVALID_ARGUMENT_TYPE,Gt(i,a))}},Zt.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(at.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Zt.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(at.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Gt(r,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}},Zt.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(At).filter(function(e){return 0<e.length});r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(at.INVALID_NUMBER_SKELETON,t)}return{val:{type:lt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?xt(r):{}},err:null}},Zt.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o=!1,i=[],s=new Set,a=n.value,u=n.location;;){if(0===a.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(at.EXPECT_PLURAL_ARGUMENT_SELECTOR,at.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=Gt(l,this.clonePosition()),a=this.message.slice(l.offset,this.offset())}if(s.has(a))return this.error("select"===t?at.DUPLICATE_SELECT_ARGUMENT_SELECTOR:at.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?at.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:at.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Gt(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;l=this.tryParseArgumentClose(h);if(l.err)return l;i.push([a,{value:c.val,location:Gt(h,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,u=h.location}return 0===i.length?this.error("select"===t?at.EXPECT_SELECT_ARGUMENT_SELECTOR:at.EXPECT_PLURAL_ARGUMENT_SELECTOR,Gt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(at.MISSING_OTHER_CLAUSE,Gt(this.clonePosition(),this.clonePosition())):{val:i,err:null}},Zt.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,i=10*i+(s-48),this.bump()}n=Gt(n,this.clonePosition());return o?Ft(i*=r)?{val:i,err:null}:this.error(t,n):this.error(e,n)},Zt.prototype.offset=function(){return this.position.offset},Zt.prototype.isEOF=function(){return this.offset()===this.message.length},Zt.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Zt.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ht(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Zt.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Zt.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))},Zt.prototype.bumpIf=function(e){if(Vt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Zt.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)},Zt.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}},Zt.prototype.bumpSpace=function(){for(;!this.isEOF()&&Qt(this.char());)this.bump()},Zt.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},Zt);function Zt(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 Jt(e){return 97<=e&&e<=122||65<=e&&e<=90}function Qt(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function er(e,t){t=ct({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r=new Kt(e,t).parse();if(r.err){e=SyntaxError(at[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,yt(e)||gt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else pt(e)&&vt(e.style)||(mt(e)||dt(e))&&Et(e.style)?delete e.style.location:bt(e)&&r(e.children)})}(r.val),r.val}function tr(e,t){var r=t&&t.cache?t.cache:ur,n=t&&t.serializer?t.serializer:ir;return(t&&t.strategy?t.strategy:function(e,t){return or(e,this,1===e.length?rr:nr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function rr(e,t,r,n){var o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=t.get(o);return void 0===r&&(r=e.call(this,n),t.set(o,r)),r}function nr(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),r=t.get(o);return void 0===r&&(r=e.apply(this,n),t.set(o,r)),r}function or(e,t,r,n,o){return r.bind(t,e,n,o)}var ir=function(){return JSON.stringify(arguments)};function sr(){this.cache=Object.create(null)}sr.prototype.has=function(e){return e in this.cache},sr.prototype.get=function(e){return this.cache[e]},sr.prototype.set=function(e,t){this.cache[e]=t};var ar,ur={create:function(){return new sr}},lr={variadic:function(e,t){return or(e,this,nr,t.cache.create(),t.serializer)},monadic:function(e,t){return or(e,this,rr,t.cache.create(),t.serializer)}};(wt=ar=ar||{}).MISSING_VALUE="MISSING_VALUE",wt.INVALID_VALUE="INVALID_VALUE",wt.MISSING_INTL_API="MISSING_INTL_API";var cr,hr,fr,pr,mr,dr=(st(_r,mr=Error),_r.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},_r),yr=(st(wr,pr=dr),wr),gr=(st(Er,fr=dr),Er),br=(st(vr,hr=dr),vr);function vr(e,t){return hr.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',ar.MISSING_VALUE,t)||this}function Er(e,t,r){return fr.call(this,'Value for "'+e+'" must be of type '+t,ar.INVALID_VALUE,r)||this}function wr(e,t,r,n){return pr.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',ar.INVALID_VALUE,n)||this}function _r(e,t,r){e=mr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Tr(e,t,r,n,o,i,s){if(1===e.length&&ft(e[0]))return[{type:cr.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];if(ft(c))a.push({type:cr.literal,value:c.value});else if(c.type===ut.pound)"number"==typeof i&&a.push({type:cr.literal,value:r.getNumberFormat(t).format(i)});else{var h=c.value;if(!(o&&h in o))throw new br(h,s);var f=o[h];if(c.type===ut.argument)f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),a.push({type:"string"==typeof f?cr.literal:cr.object,value:f});else if(mt(c)){var p="string"==typeof c.style?n.date[c.style]:Et(c.style)?c.style.parsedOptions:void 0;a.push({type:cr.literal,value:r.getDateTimeFormat(t,p).format(f)})}else if(dt(c))p="string"==typeof c.style?n.time[c.style]:Et(c.style)?c.style.parsedOptions:void 0,a.push({type:cr.literal,value:r.getDateTimeFormat(t,p).format(f)});else if(pt(c))(p="string"==typeof c.style?n.number[c.style]:vt(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(f*=p.scale||1),a.push({type:cr.literal,value:r.getNumberFormat(t,p).format(f)});else{if(bt(c)){var m=c.children,d=c.value,h=o[d];if("function"!=typeof h)throw new gr(d,"function",s);m=h(Tr(m,t,r,n,o,i).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?cr.literal:cr.object,value:e}}))}if(yt(c)){if(!(y=c.options[f]||c.options.other))throw new yr(c.value,f,Object.keys(c.options),s);a.push.apply(a,Tr(y.value,t,r,n,o))}else if(gt(c)){if(!(y=c.options["="+f])){if(!Intl.PluralRules)throw new dr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ar.MISSING_INTL_API,s);var m=r.getPluralRules(t,{type:c.pluralType}).select(f-(c.offset||0)),y=c.options[m]||c.options.other}if(!y)throw new yr(c.value,f,Object.keys(c.options),s);a.push.apply(a,Tr(y.value,t,r,n,o,f-(c.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===cr.literal&&t.type===cr.literal?r.value+=t.value:e.push(t),e},[])}function Ar(r){return{create:function(){return{has:function(e){return e in r},get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(wt=cr=cr||{})[wt.literal=0]="literal",wt[wt.object=1]="object";var Sr=(Object.defineProperty(Pr,"defaultLocale",{get:function(){return Pr.memoizedDefaultLocale||(Pr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Pr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Pr.memoizedDefaultLocale=null,Pr.__parse=er,Pr.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"}}},Pr);function Pr(e,t,r,n){var o,i,s=this;if(void 0===t&&(t=Pr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===cr.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 Tr(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!Pr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Pr.__parse(e,{ignoreTag:null==n?void 0:n.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=Pr.formats,(i=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=i[t])?ct(ct(ct({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=ct(ct({},r[t]),n[t]||{}),e},{})):r),e},ct({},o)):o),this.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:tr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ht([void 0],t)))},{cache:Ar((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:lr.variadic}),getDateTimeFormat:tr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ht([void 0],t)))},{cache:Ar(n.dateTime),strategy:lr.variadic}),getPluralRules:tr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ht([void 0],t)))},{cache:Ar(n.pluralRules),strategy:lr.variadic})}}const Ir={},Or=(t,r)=>{if(null!=r){if(r in Ir&&t in Ir[r])return Ir[r][t];var n,o,i=zr(r);for(let e=0;e<i.length;e++){var s=(n=i[e],o=t,Cr(n)?function(e,t){if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(0<e){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(function(e){return Lr[e]||null}(n),o):null);if(s)return n=t,o=r,(s=s)&&(o in Ir||(Ir[o]={}),n in Ir[o]||(Ir[o][n]=s),s)}}};let Lr;const Nr=Ye({});function Cr(e){return e in Lr}function xr(t,...r){delete Ir[t],Nr.update(e=>(e[t]=ot.all([e[t]||{},...r]),e))}qe([Nr],([e])=>Object.keys(e)),Nr.subscribe(e=>Lr=e);const Rr={};function Ur(e){return Rr[e]}function Gr(e){return zr(e).some(e=>{return null===(e=Ur(e))||void 0===e?void 0:e.size})}const Mr={};function $r(e){if(!Gr(e))return e in Mr?Mr[e]:void 0;const t=zr(e).map(e=>{var t=Ur(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Mr[e]=Promise.all(t.map(([e,r])=>function(t){return Promise.all(r.map(e=>(function(e,t){Rr[e].delete(t),0===Rr[e].size&&delete Rr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>xr(t,...e))}(e))).then(()=>Gr(e)?$r(e):void delete Mr[e]),Mr[e]}function Dr(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}const kr={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 Fr=Ye(!1);let jr;const Br=Ye(null);function Vr(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function zr(e,t=kr.fallbackLocale){e=Vr(e);return t?[...new Set([...e,...Vr(t)])]:e}Br.subscribe(e=>{jr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Xr=Br.set;Br.set=t=>{if(function(e){if(null!=e){var t=zr(e);for(let e=0;e<t.length;e++){var r=t[e];if(Cr(r))return r}}}(t)&&Gr(t)){var{loadingDelay:r}=kr;let e;return"undefined"!=typeof window&&null!=jr&&r?e=window.setTimeout(()=>Fr.set(!0),r):Fr.set(!0),$r(t).then(()=>{Xr(t)}).finally(()=>{clearTimeout(e),Fr.set(!1)})}return Xr(t)},Br.update=e=>Xr(e(jr));const Hr=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Wr=(e,t)=>{var{formats:r}=kr;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yr=Hr(e=>{var{locale:t,format:r}=e,e=Dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Wr("number",r)),new Intl.NumberFormat(t,e)}),qr=Hr(e=>{var{locale:t,format:r}=e,e=Dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Wr("date",r):0===Object.keys(e).length&&(e=Wr("date","short")),new Intl.DateTimeFormat(t,e)}),Kr=Hr(e=>{var{locale:t,format:r}=e,e=Dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Wr("time",r):0===Object.keys(e).length&&(e=Wr("time","short")),new Intl.DateTimeFormat(t,e)}),Zr=Hr((e,t=jr)=>new Sr(e,t,kr.formats,{ignoreTag:kr.ignoreTag})),Jr=qe([Br,Nr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:r,locale:n=jr,default:o}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Or(e,n);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 kr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${zr(n).join('", "')}".${Gr(jr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||e;if(!r)return i;let s=i;try{s=Zr(i,n).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});qe([Br],()=>(e,t)=>((e={})=>{var{locale:t=jr}=e,e=Dr(e,["locale"]);return Kr(Object.assign({locale:t},e))})(t).format(e)),qe([Br],()=>(e,t)=>((e={})=>{var{locale:t=jr}=e,e=Dr(e,["locale"]);return qr(Object.assign({locale:t},e))})(t).format(e)),qe([Br],()=>(e,t)=>((e={})=>{var{locale:t=jr}=e,e=Dr(e,["locale"]);return Yr(Object.assign({locale:t},e))})(t).format(e)),qe([Br,Nr],()=>(e,t=jr)=>Or(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Xe.indexOf(e)&&(t=new je(t),He[e]=t,Xe.push(e)),He[e]}};const Qr=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)),en={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 tn(e){let r,n=!Qr(e[16])&&!e[0]&&e[9],o=n&&rn(e);return{c(){o&&o.c(),r=X("")},m(e,t){o&&o.m(e,t),V(e,r,t)},p(e,t){513&t[0]&&(n=!Qr(e[16])&&!e[0]&&e[9]),n?o?o.p(e,t):(o=rn(e),o.c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){o&&o.d(e),e&&z(r)}}}function rn(r){let n,o,i;return{c(){n=t("div"),n.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(n,"class","FavIconContainer")},m(e,t){V(e,n,t),o||(i=H(n,"click",r[35]),o=!0)},p:F,d(e){e&&z(n),o=!1,i()}}}function nn(e){let r;return{c(){r=t("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){V(e,r,t)},p:F,d(e){e&&z(r)}}}function on(r){let n,o,i;return{c(){n=t("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){V(e,n,t),o||(i=H(n,"click",r[39]),o=!0)},p:F,d(e){e&&z(n),o=!1,i()}}}function sn(e){let r,n,o=e[15]("gameThumbnail.new")+"";return{c(){r=t("span"),n=X(o),W(r,"class","GameExtraInfoLabel NewGameTag")},m(e,t){V(e,r,t),B(r,n)},p(e,t){32768&t[0]&&o!==(o=e[15]("gameThumbnail.new")+"")&&Y(n,o)},d(e){e&&z(r)}}}function an(e){let r,n,o=e[15]("gameThumbnail.hot")+"";return{c(){r=t("span"),n=X(o),W(r,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){V(e,r,t),B(r,n)},p(e,t){32768&t[0]&&o!==(o=e[15]("gameThumbnail.hot")+"")&&Y(n,o)},d(e){e&&z(r)}}}function un(e){let r,n;return{c(){r=t("p"),n=X(e[3]),W(r,"class","GameNameBelow"),W(r,"title",e[3])},m(e,t){V(e,r,t),B(r,n)},p(e,t){8&t[0]&&Y(n,e[3]),8&t[0]&&W(r,"title",e[3])},d(e){e&&z(r)}}}function ln(r){let n,o,i,s,a,u,l,c,h,f,p,m,d,y,g,b,v,E,w,_,T,A,S,P,I,O,L,N=r[15]("gameThumbnail.playNow")+"",C=(r[4]||"-")+"",x=0<parseInt(r[7]),R=r[14]&&tn(r);function U(e,t){return(null==_||515&t[0])&&(_=!(Qr(e[16])||!e[0]||!e[9]||!e[1])),_?on:((null==T||515&t[0])&&(T=!!(Qr(e[16])&&e[0]&&e[9]&&e[1])),T?nn:void 0)}let G=U(r,[-1]),M=G&&G(r),$=r[6]&&sn(r),D=x&&an(r),k=r[8]&&un(r);return{c(){n=t("div"),o=t("div"),i=t("img"),u=e(),l=t("div"),c=t("div"),R&&R.c(),h=e(),f=t("p"),p=X(r[3]),m=e(),d=t("button"),y=X(N),b=e(),v=t("span"),E=X(C),w=e(),M&&M.c(),A=e(),S=t("div"),$&&$.c(),P=e(),D&&D.c(),I=e(),k&&k.c(),this.c=F,i.src!==(s=r[2])&&W(i,"src",s),W(i,"class",a="GameBg "+(r[10]?"GameContainerHovered":"")+" "+(r[11]?"Loaded":"")),W(i,"alt",""),W(i,"loading","lazy"),W(f,"class","GameInfoName"),W(f,"title",r[3]),W(d,"class","GameInfoBtn"),W(c,"class",g="GameInfo "+(r[10]?"GameHovered":"")),W(v,"class","GameInfoVendor"),W(l,"class","GameInfoWrapper"),W(S,"class","GameExtraInfo"),W(o,"class","GameInnerContainer"),W(n,"class","GameContainer")},m(e,t){V(e,n,t),B(n,o),B(o,i),r[34](i),B(o,u),B(o,l),B(l,c),R&&R.m(c,null),B(c,h),B(c,f),B(f,p),B(c,m),B(c,d),B(d,y),B(l,b),B(l,v),B(v,E),B(o,w),M&&M.m(o,null),B(o,A),B(o,S),$&&$.m(S,null),B(S,P),D&&D.m(S,null),B(n,I),k&&k.m(n,null),r[40](n),O||(L=[H(d,"click",r[36]),H(l,"mouseenter",r[37]),H(l,"mouseleave",r[38]),H(o,"mouseenter",r[23]),H(o,"mouseleave",r[24]),H(o,"touchstart",r[21],{passive:!0}),H(o,"touchleave",r[22])],O=!0)},p(e,t){4&t[0]&&i.src!==(s=e[2])&&W(i,"src",s),3072&t[0]&&a!==(a="GameBg "+(e[10]?"GameContainerHovered":"")+" "+(e[11]?"Loaded":""))&&W(i,"class",a),e[14]?R?R.p(e,t):(R=tn(e),R.c(),R.m(c,h)):R&&(R.d(1),R=null),8&t[0]&&Y(p,e[3]),8&t[0]&&W(f,"title",e[3]),32768&t[0]&&N!==(N=e[15]("gameThumbnail.playNow")+"")&&Y(y,N),1024&t[0]&&g!==(g="GameInfo "+(e[10]?"GameHovered":""))&&W(c,"class",g),16&t[0]&&C!==(C=(e[4]||"-")+"")&&Y(E,C),G===(G=U(e,t))&&M?M.p(e,t):(M&&M.d(1),M=G&&G(e),M&&(M.c(),M.m(o,A))),e[6]?$?$.p(e,t):($=sn(e),$.c(),$.m(S,P)):$&&($.d(1),$=null),128&t[0]&&(x=0<parseInt(e[7])),x?D?D.p(e,t):(D=an(e),D.c(),D.m(S,null)):D&&(D.d(1),D=null),e[8]?k?k.p(e,t):(k=un(e),k.c(),k.m(n,null)):k&&(k.d(1),k=null)},i:F,o:F,d(e){e&&z(n),r[34](null),R&&R.d(),M&&M.d(),$&&$.d(),D&&D.d(),k&&k.d(),r[40](null),O=!1,j(L)}}}function cn(e,t,r){let n;var o=Jr;e.$$.on_destroy.push(G(o,e=>r(15,n=e)));let i,s,{session:a=""}=t,{userid:u=""}=t,{lang:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:h=""}=t,{favorites:f=""}=t,{gamethumbnail:p=""}=t,{gamename:m=""}=t,{gamevendor:d=""}=t,{gameid:y=""}=t,{gameisnew:g=""}=t,{gamepopularity:b=""}=t,{gamefunmode:v=!1}=t,{searchitem:E=!1}=t,{gamefavorite:w=!1}=t,{showfavoredcategory:_=!1}=t,{showgamename:T=!1}=t,{endpoint:A=""}=t,S=!1,P=!1,I=!1,O=window.navigator.userAgent;Object.keys(en).forEach(e=>{xr(e,en[e])});const L=()=>{r(10,P=!0)},N=()=>{r(10,P=!1)},C=e=>{e.data.type!==`AddFavoriteThumbnail_${y}`||_||r(0,w=!0),e.data.type!==`RemoveFavoriteThumbnail_${y}`||_||r(0,w=!1),"UserSessionID"===e.data.type&&(r(9,S=!0),e.data.session,e.data.userID)},x=e=>{Qr(O)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:v},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),E&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},R=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)};let U=!1;return t=()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}),function(){if(!M)throw new Error("Function called outside component initialization");return M}().$$.on_mount.push(t),e.$$set=e=>{"session"in e&&r(25,a=e.session),"userid"in e&&r(26,u=e.userid),"lang"in e&&r(27,l=e.lang),"clientstyling"in e&&r(28,c=e.clientstyling),"clientstylingurl"in e&&r(29,h=e.clientstylingurl),"favorites"in e&&r(1,f=e.favorites),"gamethumbnail"in e&&r(2,p=e.gamethumbnail),"gamename"in e&&r(3,m=e.gamename),"gamevendor"in e&&r(4,d=e.gamevendor),"gameid"in e&&r(5,y=e.gameid),"gameisnew"in e&&r(6,g=e.gameisnew),"gamepopularity"in e&&r(7,b=e.gamepopularity),"gamefunmode"in e&&r(30,v=e.gamefunmode),"searchitem"in e&&r(31,E=e.searchitem),"gamefavorite"in e&&r(0,w=e.gamefavorite),"showfavoredcategory"in e&&r(32,_=e.showfavoredcategory),"showgamename"in e&&r(8,T=e.showgamename),"endpoint"in e&&r(33,A=e.endpoint)},e.$$.update=()=>{e.$$.dirty[0],100663296&e.$$.dirty[0]|4&e.$$.dirty[1]&&a&&u&&A&&r(9,S=!0),4&e.$$.dirty[0]&&p&&i&&r(12,i.onload=()=>{r(11,I=!0)},i),268435456&e.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{s.appendChild(e)})})(),2&e.$$.dirty[0]&&f&&"true"==f&&r(14,U=!0),536870912&e.$$.dirty[0]&&h&&(()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)})})})()},[w,f,p,m,d,y,g,b,T,S,P,I,i,s,U,n,O,L,N,x,R,()=>{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,u,l,c,h,v,E,_,A,function(e){$[e?"unshift":"push"](()=>{i=e,r(12,i)})},()=>R(y),()=>x(y),()=>L(),()=>N(),()=>R(y),function(e){$[e?"unshift":"push"](()=>{s=e,r(13,s)})}]}class hn extends u{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:#DB2777;color:#FDF2F8;font-size:16px;border:2px solid #9D174D;border-radius:4.8px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid #F9A8D4}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14.4px;font-weight:normal}.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:#DC2626;color:#FEF2F2;font-weight:bold;text-transform:uppercase;border-radius:4.8px}.GameNameBelow{color:#fff;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>",a(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},cn,ln,r,{session:25,userid:26,lang:27,clientstyling:28,clientstylingurl:29,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:30,searchitem:31,gamefavorite:0,showfavoredcategory:32,showgamename:8,endpoint:33},[-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),v()))}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[25]}set session(e){this.$set({session:e}),v()}get userid(){return this.$$.ctx[26]}set userid(e){this.$set({userid:e}),v()}get lang(){return this.$$.ctx[27]}set lang(e){this.$set({lang:e}),v()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(e){this.$set({clientstyling:e}),v()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(e){this.$set({clientstylingurl:e}),v()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),v()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),v()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),v()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),v()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),v()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),v()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),v()}get gamefunmode(){return this.$$.ctx[30]}set gamefunmode(e){this.$set({gamefunmode:e}),v()}get searchitem(){return this.$$.ctx[31]}set searchitem(e){this.$set({searchitem:e}),v()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),v()}get showfavoredcategory(){return this.$$.ctx[32]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),v()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),v()}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$set({endpoint:e}),v()}}return customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",hn),hn});
|
|
2
2
|
//# sourceMappingURL=casino-game-thumbnail.js.map
|