@everymatrix/casino-game-page 0.0.288 → 0.0.291

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(e){"use strict";var t;(t=e)&&"object"==typeof t&&0 in t;function h(){}function d(e){return e()}function f(){return Object.create(null)}function O(e){e.forEach(d)}function p(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function be(e,...t){if(null==e)return h;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function x(e,t){e.appendChild(t)}function D(e,t,n){e.insertBefore(t,n||null)}function N(e){e.parentNode.removeChild(e)}function A(e){return document.createElement(e)}function y(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function L(e){return document.createTextNode(e)}function C(){return L(" ")}function o(){return L("")}function R(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function I(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function F(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function P(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}function Y(e,t,n){e.classList[n?"add":"remove"](t)}let Ee;function m(e){Ee=e}const g=[],Se=[],r=[],i=[],_=Promise.resolve();let v=!1;function w(e){r.push(e)}let s=!1;const a=new Set;function b(){if(!s){s=!0;do{for(let e=0;e<g.length;e+=1){var t=g[e];m(t),function(e){{var t;null!==e.fragment&&(e.update(),O(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(w))}}(t.$$)}for(m(null),g.length=0;Se.length;)Se.pop()();for(let e=0;e<r.length;e+=1){const n=r[e];a.has(n)||(a.add(n),n())}}while(r.length=0,g.length);for(;i.length;)i.pop()();v=!1,s=!1,a.clear()}}const E=new Set;function l(r,e,t,n,i,s,o=[-1]){var a,l=Ee;m(r);const u=r.$$={fragment:null,ctx:null,props:s,update:h,not_equal:i,bound:f(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:f(),dirty:o,skip_bound:!1};let c=!1;if(u.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return u.ctx&&i(u.ctx[e],u.ctx[e]=n)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&(g.push(e),v||(v=!0,_.then(b)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],u.update(),c=!0,O(u.before_update),u.fragment=!!n&&n(u.ctx),e.target){if(e.hydrate){const r=(n=e.target,Array.from(n.childNodes));u.fragment&&u.fragment.l(r),r.forEach(N)}else u.fragment&&u.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(E.delete(a),a.i(void 0)),function(t,e,n,r){const{fragment:i,on_mount:s,on_destroy:o,after_update:a}=t.$$;i&&i.m(e,n),r||w(()=>{var e=s.map(d).filter(p);o?o.push(...e):O(e),t.$$.on_mount=[]}),a.forEach(w)}(r,e.target,e.anchor,e.customElement),b()}m(l)}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(d).filter(p);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){O(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(O(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=h}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var c,S,T="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==T&&T,k="URLSearchParams"in T,M="Symbol"in T&&"iterator"in Symbol,U="FileReader"in T&&"Blob"in T&&function(){try{return new Blob,!0}catch(e){return!1}}(),G="FormData"in T,B="ArrayBuffer"in T;function j(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 $(e){return e="string"!=typeof e?String(e):e}function W(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return M&&(e[Symbol.iterator]=function(){return e}),e}function H(t){this.map={},t instanceof H?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 V(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function z(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Z(e){var t=new FileReader,n=z(t);return t.readAsArrayBuffer(e),n}function X(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function q(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:U&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:G&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:k&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():B&&U&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=X(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):B&&(ArrayBuffer.prototype.isPrototypeOf(e)||S(e))?this._bodyArrayBuffer=X(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):k&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},U&&(this.blob=function(){var e=V(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?V(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(Z)}),this.text=function(){var e,t,n=V(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,n=z(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},G&&(this.formData=function(){return this.text().then(Q)}),this.json=function(){return this.text().then(JSON.parse)},this}B&&(c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],S=ArrayBuffer.isView||function(e){return e&&-1<c.indexOf(Object.prototype.toString.call(e))}),H.prototype.append=function(e,t){e=j(e),t=$(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},H.prototype.delete=function(e){delete this.map[j(e)]},H.prototype.get=function(e){return e=j(e),this.has(e)?this.map[e]:null},H.prototype.has=function(e){return this.map.hasOwnProperty(j(e))},H.prototype.set=function(e,t){this.map[j(e)]=$(t)},H.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},H.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),W(n)},H.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),W(t)},H.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),W(n)},M&&(H.prototype[Symbol.iterator]=H.prototype.entries);var J=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function K(e,t){if(!(this instanceof K))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof K){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new H(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new H(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<J.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Q(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function ee(e,t){if(!(this instanceof ee))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 H(t.headers),this.url=t.url||"",this._initBody(e)}K.prototype.clone=function(){return new K(this,{body:this._bodyInit})},q.call(K.prototype),q.call(ee.prototype),ee.prototype.clone=function(){return new ee(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new H(this.headers),url:this.url})},ee.error=function(){var e=new ee(null,{status:0,statusText:""});return e.type="error",e};var te=[301,302,303,307,308];ee.redirect=function(e,t){if(-1===te.indexOf(t))throw new RangeError("Invalid status code");return new ee(null,{status:t,headers:{location:e}})};var ne=T.DOMException;try{new ne}catch(e){(ne=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),ne.prototype.constructor=ne}function re(r,o){return new Promise(function(i,e){var t=new K(r,o);if(t.signal&&t.signal.aborted)return e(new ne("Aborted","AbortError"));var s=new XMLHttpRequest;function n(){s.abort()}s.onload=function(){var e,n,t={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",n=new H,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;setTimeout(function(){i(new ee(r,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.onabort=function(){setTimeout(function(){e(new ne("Aborted","AbortError"))},0)},s.open(t.method,function(t){try{return""===t&&T.location.href?T.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?s.withCredentials=!0:"omit"===t.credentials&&(s.withCredentials=!1),"responseType"in s&&(U?s.responseType="blob":B&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof H?t.headers.forEach(function(e,t){s.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){s.setRequestHeader(e,$(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),s.onreadystatechange=function(){4===s.readyState&&t.signal.removeEventListener("abort",n)}),s.send(void 0===t._bodyInit?null:t._bodyInit)})}function Nn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}re.polyfill=!0,T.fetch||(T.fetch=re,T.Headers=H,T.Request=K,T.Response=ee);var Te=self.fetch.bind(self),ie=function(e,t){return(ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function se(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ie(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function oe(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ae(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,s=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=s.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o}function le(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function ue(e){return"function"==typeof e}function ce(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 he=ce(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 de(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var fe=(me.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var o=oe(s),a=o.next();!a.done;a=o.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else s.remove(this);s=this.initialTeardown;if(ue(s))try{s()}catch(e){i=e instanceof he?e.errors:[e]}s=this._teardowns;if(s){this._teardowns=null;try{for(var l=oe(s),u=l.next();!u.done;u=l.next()){var c=u.value;try{ye(c)}catch(e){i=null!=i?i:[],e instanceof he?i=le(le([],ae(i)),ae(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new he(i)}},me.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ye(e);else{if(e instanceof me){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},me.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},me.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},me.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&de(t,e)},me.prototype.remove=function(e){var t=this._teardowns;t&&de(t,e),e instanceof me&&e._removeParent(this)},me.EMPTY=(($t=new me).closed=!0,$t),me),pe=fe.EMPTY;function me(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function ge(e){return e instanceof fe||e&&"closed"in e&&ue(e.remove)&&ue(e.add)&&ue(e.unsubscribe)}function ye(e){ue(e)?e():e.unsubscribe()}var _e=void 0,ve=!1,we=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,le([],ae(e)))};function ke(){}function Me(e){e()}var Pe,Oe,xe=(se(Ae,Oe=fe),Ae.create=function(e,t,n){return new De(e,t,n)},Ae.prototype.next=function(e){this.isStopped||this._next(e)},Ae.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ae.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ae.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Oe.prototype.unsubscribe.call(this),this.destination=null)},Ae.prototype._next=function(e){this.destination.next(e)},Ae.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ae.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ae),De=(se(Ne,Pe=xe),Ne);function Ne(e,t,n){var r,i,s=Pe.call(this)||this;return ue(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,s&&ve?(r=Object.create(e)).unsubscribe=function(){return s.unsubscribe()}:r=e,i=null==i?void 0:i.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),s.destination={next:i?Le(i):ke,error:Le(null!=t?t:Ce),complete:n?Le(n):ke},s}function Ae(e){var t=Oe.call(this)||this;return t.isStopped=!1,e?ge(t.destination=e)&&e.add(t):t.destination=Re,t}function Le(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,le([],ae(e)))}catch(e){t=e,we(function(){throw t})}}}function Ce(e){throw e}var Re={closed:!0,next:ke,error:Ce,complete:ke},Ie="function"==typeof Symbol&&Symbol.observable||"@@observable";function Fe(e){return e}var Ye=(Ue.prototype.lift=function(e){var t=new Ue;return t.source=this,t.operator=e,t},Ue.prototype.subscribe=function(e,t,n){var r,i=this,s=(r=e)&&r instanceof xe||r&&ue(r.next)&&ue(r.error)&&ue(r.complete)&&ge(r)?e:new De(e,t,n);return Me(function(){var e=i.operator,t=i.source;s.add(e?e.call(s,t):t?i._subscribe(s):i._trySubscribe(s))}),s},Ue.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Ue.prototype.forEach=function(r,e){var i=this;return new(e=Ge(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},Ue.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Ue.prototype[Ie]=function(){return this},Ue.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Fe:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Ue.prototype.toPromise=function(e){var r=this;return new(e=Ge(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Ue.create=function(e){return new Ue(e)},Ue);function Ue(e){e&&(this._subscribe=e)}function Ge(e){return null!==(e=null!=e?e:_e)&&void 0!==e?e:Promise}var Be,je,$e,We=ce(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),He=(se(Je,$e=Ye),Je.prototype.lift=function(e){var t=new Ve(this,this);return t.operator=e,t},Je.prototype._throwIfClosed=function(){if(this.closed)throw new We},Je.prototype.next=function(s){var o=this;Me(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){var n=o.observers.slice();try{for(var r=oe(n),i=r.next();!i.done;i=r.next())i.value.next(s)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Je.prototype.error=function(t){var n=this;Me(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},Je.prototype.complete=function(){var t=this;Me(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Je.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Je.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Je.prototype._trySubscribe=function(e){return this._throwIfClosed(),$e.prototype._trySubscribe.call(this,e)},Je.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Je.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?pe:(r.push(e),new fe(function(){return de(r,e)}))},Je.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Je.prototype.asObservable=function(){var e=new Ye;return e.source=this,e},Je.create=function(e,t){return new Ve(e,t)},Je),Ve=(se(qe,je=He),qe.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},qe.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},qe.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)},qe.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:pe},qe),ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0},Ze=(se(Xe,Be=He),Xe.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,s=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(s.now()+t)),this._trimBuffer(),Be.prototype.next.call(this,e)},Xe.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},Xe.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var s=t.now(),o=0,a=1;a<n.length&&n[a]<=s;a+=2)o=a;o&&n.splice(0,o+1)}},Xe);function Xe(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=ze);var r=Be.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function qe(e,t){var n=je.call(this)||this;return n.destination=e,n.source=t,n}function Je(){var e=$e.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ke=[],Qe={};const et=[];function tt(r,i=h){let s;const o=[];function a(e){if(n(r,e)&&(r=e,s)){const e=!et.length;for(let e=0;e<o.length;e+=1){const s=o[e];s[1](),et.push(s,r)}if(e){for(let e=0;e<et.length;e+=2)et[e][0](et[e+1]);et.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=h){const n=[e,t];return o.push(n),1===o.length&&(s=i(a)||h),e(r),()=>{var e=o.indexOf(n);-1!==e&&o.splice(e,1),0===o.length&&(s(),s=null)}}}}function nt(e,a,t){const l=!Array.isArray(e),u=l?[e]:e,c=a.length<2;return{subscribe:tt(t,t=>{let n=!1;const r=[];let i=0,s=h;const o=()=>{var e;i||(s(),e=a(l?r[0]:r,t),c?t(e):s=p(e)?e:h)},e=u.map((e,t)=>be(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){O(e),s()}}).subscribe}}var rt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===it));var t},it="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function st(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ct(Array.isArray(e)?[]:{},e,t):e}function ot(e,t,n){return e.concat(t).map(function(e){return st(e,n)})}function at(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function lt(e,t){try{return t in e}catch(e){return!1}}function ut(r,i,s){var o={};return s.isMergeableObject(r)&&at(r).forEach(function(e){o[e]=st(r[e],s)}),at(i).forEach(function(t){var e,n;(!lt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(lt(r,t)&&s.isMergeableObject(i[t])?o[t]=function(){if(!s.customMerge)return ct;var e=s.customMerge(t);return"function"==typeof e?e:ct}()(r[t],i[t],s):o[t]=st(i[t],s))}),o}function ct(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||ot,n.isMergeableObject=n.isMergeableObject||rt,n.cloneUnlessOtherwiseSpecified=st;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ut(e,t,n):st(t,n)}ct.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return ct(e,t,n)},{})};var ht=ct,dt=function(e,t){return(dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function ft(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}dt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var pt,mt,gt,yt=function(){return(yt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function _t(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function vt(e){return e.type===mt.literal}function wt(e){return e.type===mt.number}function bt(e){return e.type===mt.date}function Et(e){return e.type===mt.time}function St(e){return e.type===mt.select}function Tt(e){return e.type===mt.plural}function kt(e){return e.type===mt.tag}function Mt(e){return e&&"object"==typeof e&&e.type===gt.number}function Pt(e){return e&&"object"==typeof e&&e.type===gt.dateTime}(Wt=pt=pt||{})[Wt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Wt[Wt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Wt[Wt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Wt[Wt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Wt[Wt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Wt[Wt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Wt[Wt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Wt[Wt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Wt[Wt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Wt[Wt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Wt[Wt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Wt[Wt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Wt[Wt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Wt[Wt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Wt[Wt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Wt[Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Wt[Wt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Wt[Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Wt[Wt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Wt[Wt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Wt[Wt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Wt[Wt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Wt[Wt.INVALID_TAG=23]="INVALID_TAG",Wt[Wt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Wt[Wt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Wt[Wt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Ht=mt=mt||{})[Ht.literal=0]="literal",Ht[Ht.argument=1]="argument",Ht[Ht.number=2]="number",Ht[Ht.date=3]="date",Ht[Ht.time=4]="time",Ht[Ht.select=5]="select",Ht[Ht.plural=6]="plural",Ht[Ht.pound=7]="pound",Ht[Ht.tag=8]="tag",(Vt=gt=gt||{})[Vt.number=0]="number",Vt[Vt.dateTime=1]="dateTime";var Ot=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,xt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var Dt,Nt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,At=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Lt=/^(@+)?(\+|#+)?$/g,Ct=/(\*)(0+)|(#+)(0+)|(0+)/g,Rt=/^(0+)$/;function It(e){var r={};return e.replace(Lt,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Ft(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 Yt(e){return Ft(e)||{}}function Ut(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=yt(yt(yt({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return yt(yt({},e),Yt(t))},{}));continue;case"engineering":o=yt(yt(yt({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return yt(yt({},e),Yt(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ct,function(e,t,n,r,i,s){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Rt.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(At.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(At,function(e,t,n,r,i,s){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&s?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+s.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""}),i.options.length&&(o=yt(yt({},o),It(i.options[0])))}else Lt.test(i.stem)?o=yt(yt({},o),It(i.stem)):((r=Ft(i.stem))&&(o=yt(yt({},o),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Rt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=yt(yt({},o),r)))}return o}var Gt=new RegExp("^"+Ot.source+"*"),Bt=new RegExp(Ot.source+"*$");function jt(e,t){return{start:e,end:t}}var $t=!!String.prototype.startsWith,Ie=!!String.fromCodePoint,He=!!Object.fromEntries,Wt=!!String.prototype.codePointAt,Ht=!!String.prototype.trimStart,Vt=!!String.prototype.trimEnd,zt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ot=!0;try{Ot="a"===(null===(Dt=nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Dt?void 0:Dt[0])}catch(e){Ot=!1}var Zt,Xt,qt=$t?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Jt=Ie?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,s=0;s<i;){if(1114111<(n=e[s++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Kt=He?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],s=i[0],i=i[1];t[s]=i}return t},Qt=Wt?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},en=Ht?function(e){return e.trimStart()}:function(e){return e.replace(Gt,"")},tn=Vt?function(e){return e.trimEnd()}:function(e){return e.replace(Bt,"")};function nn(e,t){return new RegExp(e,t)}Xt=Ot?(Zt=nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Zt.lastIndex=t,null!==(e=Zt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=Qt(e,t);if(void 0===i||an(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return Jt.apply(void 0,r)};var rn=(sn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},sn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,s=this.char();if(123===s){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(pt.UNMATCHED_CLOSING_TAG,jt(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&on(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{s=this.clonePosition();this.bump(),r.push({type:mt.pound,location:jt(s,this.clonePosition())})}}}return{val:r,err:null}},sn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:mt.literal,value:"<"+r+"/>",location:jt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!on(this.char()))return this.error(pt.INVALID_TAG,jt(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(pt.UNMATCHED_CLOSING_TAG,jt(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:mt.tag,value:r,children:e,location:jt(n,this.clonePosition())},err:null}:this.error(pt.INVALID_TAG,jt(t,this.clonePosition())))}return this.error(pt.UNCLOSED_TAG,jt(n,this.clonePosition()))}return this.error(pt.INVALID_TAG,jt(n,this.clonePosition()))},sn.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())},sn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=jt(n,this.clonePosition());return{val:{type:mt.literal,value:r,location:n},err:null}},sn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(on(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},sn.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Jt.apply(void 0,t)},sn.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Jt(n))},sn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,jt(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(pt.EMPTY_ARGUMENT,jt(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(pt.MALFORMED_ARGUMENT,jt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,jt(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:mt.argument,value:r,location:jt(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,jt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(pt.MALFORMED_ARGUMENT,jt(n,this.clonePosition()))}},sn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Xt(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:jt(e,this.clonePosition())}},sn.prototype.parseArgumentOptions=function(e,t,n,r){var i,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(pt.EXPECT_ARGUMENT_TYPE,jt(s,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(h=tn(d.val)).length)return this.error(pt.EXPECT_ARGUMENT_STYLE,jt(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:jt(u,this.clonePosition())}}if((f=this.tryParseArgumentClose(r)).err)return f;var c=jt(r,this.clonePosition());if(l&&qt(null==l?void 0:l.style,"::",0)){u=en(l.style.slice(2));if("number"===o)return(d=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?d:{val:{type:mt.number,value:n,location:c,style:d.val},err:null};if(0===u.length)return this.error(pt.EXPECT_DATE_TIME_SKELETON,c);var h={type:gt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},u.replace(xt,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===o?mt.date:mt.time,value:n,location:c,style:h},err:null}}return{val:{type:"number"===o?mt.number:"date"===o?mt.date:mt.time,value:n,location:c,style:null!==(c=null==l?void 0:l.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(pt.EXPECT_SELECT_ARGUMENT_OPTIONS,jt(l,yt({},l)));this.bumpSpace();var d,c=this.parseIdentifierIfPossible(),l=0;if("select"!==o&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,jt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,pt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=d.val}c=this.tryParsePluralOrSelectOptions(e,o,t,c);if(c.err)return c;if((f=this.tryParseArgumentClose(r)).err)return f;var f=jt(r,this.clonePosition());return"select"===o?{val:{type:mt.select,value:n,options:Kt(c.val),location:f},err:null}:{val:{type:mt.plural,value:n,options:Kt(c.val),offset:l,pluralType:"plural"===o?"cardinal":"ordinal",location:f},err:null};default:return this.error(pt.INVALID_ARGUMENT_TYPE,jt(s,a))}},sn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,jt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},sn.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(pt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,jt(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},sn.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(Nt).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var s=i[0],i=i.slice(1),o=0,a=i;o<a.length;o++)if(0===a[o].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:i})}return t}(e)}catch(e){return this.error(pt.INVALID_NUMBER_SKELETON,t)}return{val:{type:gt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ut(n):{}},err:null}},sn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,s=[],o=new Set,a=r.value,l=r.location;;){if(0===a.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(pt.EXPECT_PLURAL_ARGUMENT_SELECTOR,pt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=jt(u,this.clonePosition()),a=this.message.slice(u.offset,this.offset())}if(o.has(a))return this.error("select"===t?pt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:pt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?pt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:pt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,jt(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;u=this.tryParseArgumentClose(h);if(u.err)return u;s.push([a,{value:c.val,location:jt(h,this.clonePosition())}]),o.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?pt.EXPECT_SELECT_ARGUMENT_SELECTOR:pt.EXPECT_PLURAL_ARGUMENT_SELECTOR,jt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(pt.MISSING_OTHER_CLAUSE,jt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},sn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,s=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,s=10*s+(o-48),this.bump()}r=jt(r,this.clonePosition());return i?zt(s*=n)?{val:s,err:null}:this.error(t,r):this.error(e,r)},sn.prototype.offset=function(){return this.position.offset},sn.prototype.isEOF=function(){return this.offset()===this.message.length},sn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},sn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Qt(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},sn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},sn.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))},sn.prototype.bumpIf=function(e){if(qt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},sn.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)},sn.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}},sn.prototype.bumpSpace=function(){for(;!this.isEOF()&&an(this.char());)this.bump()},sn.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},sn);function sn(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 on(e){return 97<=e&&e<=122||65<=e&&e<=90}function an(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function ln(e,t){t=yt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new rn(e,t).parse();if(n.err){e=SyntaxError(pt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,St(e)||Tt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else wt(e)&&Mt(e.style)||(bt(e)||Et(e))&&Pt(e.style)?delete e.style.location:kt(e)&&n(e.children)})}(n.val),n.val}function un(e,t){var n=t&&t.cache?t.cache:gn,r=t&&t.serializer?t.serializer:fn;return(t&&t.strategy?t.strategy:function(e,t){return dn(e,this,1===e.length?cn:hn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function cn(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function hn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function dn(e,t,n,r,i){return n.bind(t,e,r,i)}var fn=function(){return JSON.stringify(arguments)};function pn(){this.cache=Object.create(null)}pn.prototype.has=function(e){return e in this.cache},pn.prototype.get=function(e){return this.cache[e]},pn.prototype.set=function(e,t){this.cache[e]=t};var mn,gn={create:function(){return new pn}},yn={variadic:function(e,t){return dn(e,this,hn,t.cache.create(),t.serializer)},monadic:function(e,t){return dn(e,this,cn,t.cache.create(),t.serializer)}};(Ot=mn=mn||{}).MISSING_VALUE="MISSING_VALUE",Ot.INVALID_VALUE="INVALID_VALUE",Ot.MISSING_INTL_API="MISSING_INTL_API";var _n,vn,wn,bn,En,Sn=(ft(Dn,En=Error),Dn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Dn),Tn=(ft(xn,bn=Sn),xn),kn=(ft(On,wn=Sn),On),Mn=(ft(Pn,vn=Sn),Pn);function Pn(e,t){return vn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',mn.MISSING_VALUE,t)||this}function On(e,t,n){return wn.call(this,'Value for "'+e+'" must be of type '+t,mn.INVALID_VALUE,n)||this}function xn(e,t,n,r){return bn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',mn.INVALID_VALUE,r)||this}function Dn(e,t,n){e=En.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function An(e,t,n,r,i,s,o){if(1===e.length&&vt(e[0]))return[{type:_n.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(vt(c))a.push({type:_n.literal,value:c.value});else if(c.type===mt.pound)"number"==typeof s&&a.push({type:_n.literal,value:n.getNumberFormat(t).format(s)});else{var h=c.value;if(!(i&&h in i))throw new Mn(h,o);var d=i[h];if(c.type===mt.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?_n.literal:_n.object,value:d});else if(bt(c)){var f="string"==typeof c.style?r.date[c.style]:Pt(c.style)?c.style.parsedOptions:void 0;a.push({type:_n.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(Et(c))f="string"==typeof c.style?r.time[c.style]:Pt(c.style)?c.style.parsedOptions:void 0,a.push({type:_n.literal,value:n.getDateTimeFormat(t,f).format(d)});else if(wt(c))(f="string"==typeof c.style?r.number[c.style]:Mt(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:_n.literal,value:n.getNumberFormat(t,f).format(d)});else{if(kt(c)){var p=c.children,m=c.value,h=i[m];if("function"!=typeof h)throw new kn(m,"function",o);p=h(An(p,t,n,r,i,s).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),a.push.apply(a,p.map(function(e){return{type:"string"==typeof e?_n.literal:_n.object,value:e}}))}if(St(c)){if(!(g=c.options[d]||c.options.other))throw new Tn(c.value,d,Object.keys(c.options),o);a.push.apply(a,An(g.value,t,n,r,i))}else if(Tt(c)){if(!(g=c.options["="+d])){if(!Intl.PluralRules)throw new Sn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',mn.MISSING_INTL_API,o);var p=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0)),g=c.options[p]||c.options.other}if(!g)throw new Tn(c.value,d,Object.keys(c.options),o);a.push.apply(a,An(g.value,t,n,r,i,d-(c.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===_n.literal&&t.type===_n.literal?n.value+=t.value:e.push(t),e},[])}function Ln(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(Ot=_n=_n||{})[Ot.literal=0]="literal",Ot[Ot.object=1]="object";var Cn=(Object.defineProperty(Rn,"defaultLocale",{get:function(){return Rn.memoizedDefaultLocale||(Rn.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Rn.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Rn.memoizedDefaultLocale=null,Rn.__parse=ln,Rn.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"}}},Rn);function Rn(e,t,n,r){var i,s,o=this;if(void 0===t&&(t=Rn.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===_n.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 An(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof e){if(this.message=e,!Rn.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Rn.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=Rn.formats,(s=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=s[t])?yt(yt(yt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=yt(yt({},n[t]),r[t]||{}),e},{})):n),e},yt({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:un(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,_t([void 0],t)))},{cache:Ln((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:yn.variadic}),getDateTimeFormat:un(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,_t([void 0],t)))},{cache:Ln(r.dateTime),strategy:yn.variadic}),getPluralRules:un(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,_t([void 0],t)))},{cache:Ln(r.pluralRules),strategy:yn.variadic})}}const In={},Fn=(t,n)=>{if(null!=n){if(n in In&&t in In[n])return In[n][t];var r,i,s=Qn(n);for(let e=0;e<s.length;e++){var o=(r=s[e],i=t,Gn(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return Yn[e]||null}(r),i):null);if(o)return r=t,i=n,(o=o)&&(i in In||(In[i]={}),r in In[i]||(In[i][r]=o),o)}}};let Yn;const Un=tt({});function Gn(e){return e in Yn}function Bn(t,...n){delete In[t],Un.update(e=>(e[t]=ht.all([e[t]||{},...n]),e))}nt([Un],([e])=>Object.keys(e)),Un.subscribe(e=>Yn=e);const jn={};function $n(e){return jn[e]}function Wn(e){return Qn(e).some(e=>{return null===(e=$n(e))||void 0===e?void 0:e.size})}const Hn={};function Vn(e){if(!Wn(e))return e in Hn?Hn[e]:void 0;const t=Qn(e).map(e=>{var t=$n(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Hn[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){jn[e].delete(t),0===jn[e].size&&delete jn[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Bn(t,...e))}(e))).then(()=>Wn(e)?Vn(e):void delete Hn[e]),Hn[e]}function zn(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Zn={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 Xn=tt(!1);let qn;const Jn=tt(null);function Kn(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Qn(e,t=Zn.fallbackLocale){e=Kn(e);return t?[...new Set([...e,...Kn(t)])]:e}Jn.subscribe(e=>{qn=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const er=Jn.set;Jn.set=t=>{if(function(e){if(null!=e){var t=Qn(e);for(let e=0;e<t.length;e++){var n=t[e];if(Gn(n))return n}}}(t)&&Wn(t)){var{loadingDelay:n}=Zn;let e;return"undefined"!=typeof window&&null!=qn&&n?e=window.setTimeout(()=>Xn.set(!0),n):Xn.set(!0),Vn(t).then(()=>{er(t)}).finally(()=>{clearTimeout(e),Xn.set(!1)})}return er(t)},Jn.update=e=>er(e(qn));const tr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},nr=(e,t)=>{var{formats:n}=Zn;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},rr=tr(e=>{var{locale:t,format:n}=e,e=zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=nr("number",n)),new Intl.NumberFormat(t,e)}),ir=tr(e=>{var{locale:t,format:n}=e,e=zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=nr("date",n):0===Object.keys(e).length&&(e=nr("date","short")),new Intl.DateTimeFormat(t,e)}),sr=tr(e=>{var{locale:t,format:n}=e,e=zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=nr("time",n):0===Object.keys(e).length&&(e=nr("time","short")),new Intl.DateTimeFormat(t,e)}),or=tr((e,t=qn)=>new Cn(e,t,Zn.formats,{ignoreTag:Zn.ignoreTag})),ar=nt([Jn,Un],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=qn,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let s=Fn(e,r);if(s){if("string"!=typeof s)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof s}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),s}else Zn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Qn(r).join('", "')}".${Wn(qn)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),s=i||e;if(!n)return s;let o=s;try{o=or(s,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return o});nt([Jn],()=>(e,t)=>((e={})=>{var{locale:t=qn}=e,e=zn(e,["locale"]);return sr(Object.assign({locale:t},e))})(t).format(e)),nt([Jn],()=>(e,t)=>((e={})=>{var{locale:t=qn}=e,e=zn(e,["locale"]);return ir(Object.assign({locale:t},e))})(t).format(e)),nt([Jn],()=>(e,t)=>((e={})=>{var{locale:t=qn}=e,e=zn(e,["locale"]);return rr(Object.assign({locale:t},e))})(t).format(e)),nt([Jn,Un],()=>(e,t=qn)=>Fn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ke.indexOf(e)&&(t=new Ze(t),Qe[e]=t,Ke.push(e)),Qe[e]}};const lr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",ur={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",break:"Tómate un descanso de 1 día del juego.",breakButton:"Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}};function cr(){"undefined"==typeof window||window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n=window.cstmNativeBridge.EVENTS[e];if(n){if("function"==typeof t){var r=window.cstmNativeBridge.eventListeners[n];return window.cstmNativeBridge.eventListeners[n]=function(){delete window.cstmNativeBridge.eventListeners[n],r&&r.apply(this,arguments),t.apply(this,arguments)},!0}console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];if("function"!=typeof t)return console.error("Native Bridge `"+e+"` method is not defined"),!1;e=Array.prototype.slice.call(arguments,1);return t.apply(this,e),!0};var hr,dr,fr=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},pr=function(e,...t){try{return cr(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},mr=(dr=hr={path:void 0,exports:{},require:function(e,t){return Nn(null==t&&hr.path)}},hr.exports,dr.exports=function(){var e;function p(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=0;r<e.length;++r)n.push(t(e[r],r));return n}function c(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return xt(e,t,n,r,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function d(e){if(null==e._isValid){var t=m(e),n=y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function g(e){var t=h(NaN);return null!=e?c(m(t),e):m(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},_=p.momentProperties=[],t=!1;function v(e,t){var n,r,i;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=m(t)),s(t._locale)||(e._locale=t._locale),0<_.length)for(n=0;n<_.length;n++)s(i=t[r=_[n]])||(e[r]=i);return e}function w(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,p.updateOffset(this),t=!1)}function b(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function E(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,s){var o=!0;return c(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,i),o){for(var e,t,n=[],r=0;r<arguments.length;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}E(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return s.apply(this,arguments)},s)}var S={};function T(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),S[e]||(E(t),S[e]=!0)}function k(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,r=c({},e);for(n in t)f(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},c(r[n],e[n]),c(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)f(e,n)&&!f(t,n)&&a(e[n])&&(r[n]=c({},r[n]));return r}function P(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var O=Object.keys||function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};function x(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var D=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,N=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,A={},L={};function C(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(L[e]=i),t&&(L[t[0]]=function(){return x(i.apply(this,arguments),t[1],t[2])}),n&&(L[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=I(t,e.localeData()),A[t]=A[t]||function(r){for(var e,i=r.match(D),t=0,s=i.length;t<s;t++)L[i[t]]?i[t]=L[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<s;n++)t+=k(i[n])?i[n].call(e,r):i[n];return t}}(t),A[t](e)):e.localeData().invalidDate()}function I(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(N.lastIndex=0;0<=n&&N.test(e);)e=e.replace(N,r),N.lastIndex=0,--n;return e}var F={};function Y(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function U(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function G(e){var t,n,r={};for(n in e)f(e,n)&&(t=U(n))&&(r[t]=e[n]);return r}var B={};function j(e,t){B[e]=t}function $(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function H(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?W(t):e}function V(t,n){return function(e){return null!=e?(Z(this,t,e),p.updateOffset(this,n),this):z(this,t)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&$(e.year())&&1===e.month()&&29===e.date()?(n=H(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Oe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X=/\d/,q=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ie=/\d{1,4}/,se=/[+-]?\d{1,6}/,oe=/\d+/,ae=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,n,r){pe[e]=k(n)?n:function(e,t){return e&&r?r:n}}function de(e,t){return f(pe,e)?pe[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pe={},me={};function ge(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),u(n)&&(r=function(e,t){t[n]=H(e)}),t=0;t<e.length;t++)me[e[t]]=r}function ye(e,i){ge(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var _e,ve=0,we=1,be=2,Ee=3,Se=4,Te=5,ke=6,Me=7,Pe=8;function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?$(e)?29:28:31-n%7%2}_e=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},C("M",["MM",2],"Mo",function(){return this.month()+1}),C("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),C("MMMM",0,0,function(e){return this.localeData().months(this,e)}),Y("month","M"),j("month",8),he("M",ee),he("MM",ee,q),he("MMM",function(e,t){return t.monthsShortRegex(e)}),he("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[we]=H(e)-1}),ge(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[we]=r:m(n).invalidMonth=e});var xe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ne=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae=ce,Le=ce;function Ce(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=H(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Re(e){return null!=e?(Ce(this,e),p.updateOffset(this,!0),this):z(this,"Month")}function Ie(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],s=0;s<12;s++)t=h([2e3,s]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),s=0;s<12;s++)n[s]=fe(n[s]),r[s]=fe(r[s]);for(s=0;s<24;s++)i[s]=fe(i[s]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Fe(e){return $(e)?366:365}C("Y",0,0,function(){var e=this.year();return e<=9999?x(e,4):"+"+e}),C(0,["YY",2],0,function(){return this.year()%100}),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),Y("year","y"),j("year",1),he("Y",ae),he("YY",ee,q),he("YYYY",ie,K),he("YYYYY",se,Q),he("YYYYYY",se,Q),ge(["YYYYY","YYYYYY"],ve),ge("YYYY",function(e,t){t[ve]=2===e.length?p.parseTwoDigitYear(e):H(e)}),ge("YY",function(e,t){t[ve]=p.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[ve]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return H(e)+(68<H(e)?1900:2e3)};var Ye=V("FullYear",!0);function Ue(e,t,n,r,i,s,o){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,r,i,s,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,s,o),a}function Ge(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Be(e,t,n){n=7+t-n;return-(7+Ge(e,0,n).getUTCDay()-t)%7+n-1}function je(e,t,n,r,i){var s,i=1+7*(t-1)+(7+n-r)%7+Be(e,r,i),i=i<=0?Fe(s=e-1)+i:i>Fe(e)?(s=e+1,i-Fe(e)):(s=e,i);return{year:s,dayOfYear:i}}function $e(e,t,n){var r,i,s=Be(e.year(),t,n),s=Math.floor((e.dayOfYear()-s-1)/7)+1;return s<1?r=s+We(i=e.year()-1,t,n):s>We(e.year(),t,n)?(r=s-We(e.year(),t,n),i=e.year()+1):(i=e.year(),r=s),{week:r,year:i}}function We(e,t,n){var r=Be(e,t,n),n=Be(e+1,t,n);return(Fe(e)-r+n)/7}C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),j("week",5),j("isoWeek",5),he("w",ee),he("ww",ee,q),he("W",ee),he("WW",ee,q),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=H(e)});function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}C("d",0,"do","day"),C("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),C("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),C("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),he("d",ee),he("e",ee),he("E",ee),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:m(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,r){t[r]=H(e)});var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ce,qe=ce,Je=ce;function Ke(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],s=[],o=[],a=[],l=0;l<7;l++)r=h([2e3,1]).day(l),t=fe(this.weekdaysMin(r,"")),n=fe(this.weekdaysShort(r,"")),r=fe(this.weekdays(r,"")),i.push(t),s.push(n),o.push(r),a.push(t),a.push(n),a.push(r);i.sort(e),s.sort(e),o.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){C(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}C("H",["HH",2],0,"hour"),C("h",["hh",2],0,Qe),C("k",["kk",2],0,function(){return this.hours()||24}),C("hmm",0,0,function(){return""+Qe.apply(this)+x(this.minutes(),2)}),C("hmmss",0,0,function(){return""+Qe.apply(this)+x(this.minutes(),2)+x(this.seconds(),2)}),C("Hmm",0,0,function(){return""+this.hours()+x(this.minutes(),2)}),C("Hmmss",0,0,function(){return""+this.hours()+x(this.minutes(),2)+x(this.seconds(),2)}),et("a",!0),et("A",!1),Y("hour","h"),j("hour",13),he("a",tt),he("A",tt),he("H",ee),he("h",ee),he("k",ee),he("HH",ee,q),he("hh",ee,q),he("kk",ee,q),he("hmm",te),he("hmmss",ne),he("Hmm",te),he("Hmmss",ne),ge(["H","HH"],Ee),ge(["k","kk"],function(e,t,n){e=H(e);t[Ee]=24===e?0:e}),ge(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ge(["h","hh"],function(e,t,n){t[Ee]=H(e),m(n).bigHour=!0}),ge("hmm",function(e,t,n){var r=e.length-2;t[Ee]=H(e.substr(0,r)),t[Se]=H(e.substr(r)),m(n).bigHour=!0}),ge("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ee]=H(e.substr(0,r)),t[Se]=H(e.substr(r,2)),t[Te]=H(e.substr(i)),m(n).bigHour=!0}),ge("Hmm",function(e,t,n){var r=e.length-2;t[Ee]=H(e.substr(0,r)),t[Se]=H(e.substr(r))}),ge("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ee]=H(e.substr(0,r)),t[Se]=H(e.substr(r,2)),t[Te]=H(e.substr(i))});var nt=V("Hours",!0);var rt,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:xe,monthsShort:De,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:Ze,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},st={},ot={};function at(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,s=0;s<e.length;){for(t=(i=at(e[s]).split("-")).length,n=(n=at(e[s+1]))?n.split("-"):null;0<t;){if(r=ut(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}s++}return rt}function ut(t){var e;if(void 0===st[t]&&dr&&dr.exports)try{e=rt._abbr,Nn(),ct(e)}catch(e){st[t]=null}return st[t]}function ct(e,t){return e&&((t=s(t)?dt(e):ht(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function ht(e,t){if(null===t)return delete st[e],null;var n,r=it;if(t.abbr=e,null!=st[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])r=st[t.parentLocale]._config;else{if(null==(n=ut(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;r=n._config}return st[e]=new P(M(r,t)),ot[e]&&ot[e].forEach(function(e){ht(e.name,e.config)}),ct(e),st[e]}function dt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!o(e)){if(t=ut(e))return t;e=[e]}return lt(e)}function ft(e){var t=e._a;return t&&-2===m(e).overflow&&(t=t[we]<0||11<t[we]?we:t[be]<1||t[be]>Oe(t[ve],t[we])?be:t[Ee]<0||24<t[Ee]||24===t[Ee]&&(0!==t[Se]||0!==t[Te]||0!==t[ke])?Ee:t[Se]<0||59<t[Se]?Se:t[Te]<0||59<t[Te]?Te:t[ke]<0||999<t[ke]?ke:-1,m(e)._overflowDayOfYear&&(t<ve||be<t)&&(t=be),m(e)._overflowWeeks&&-1===t&&(t=Me),m(e)._overflowWeekday&&-1===t&&(t=Pe),m(e).overflow=t),e}var pt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_t=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((-?\d+)/i,wt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,bt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,n,r,i,s,o,a=e._i,l=pt.exec(a)||mt.exec(a);if(l){for(m(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){i=yt[t][0],r=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[3])){s=(l[2]||" ")+_t[t][0];break}if(null==s)return e._isValid=!1}if(!r&&null!=s)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(s||"")+(o||""),Pt(e)}else e._isValid=!1}function St(e,t,n,r,i,s){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return s&&i.push(parseInt(s,10)),i}function Tt(e){var t,n,r,i,s=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));s?(t=St(s[4],s[3],s[2],s[5],s[6],s[7]),n=s[1],r=t,i=e,n&&ze.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(m(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=s[8],t=s[9],s=s[10],i?bt[i]:t?0:((t=parseInt(s,10))-(s=t%100))/100*60+s),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,r,i,s,o,a,l,u,c,h,d,f=[];if(!e._d){for(h=e,d=new Date(p.now()),n=h._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[be]&&null==e._a[we]&&(null!=(h=(i=e)._w).GG||null!=h.W||null!=h.E?(l=1,u=4,s=kt(h.GG,i._a[ve],$e(Dt(),1,4).year),o=kt(h.W,1),((a=kt(h.E,1))<1||7<a)&&(c=!0)):(l=i._locale._week.dow,u=i._locale._week.doy,d=$e(Dt(),l,u),s=kt(h.gg,i._a[ve],d.year),o=kt(h.w,d.week),null!=h.d?((a=h.d)<0||6<a)&&(c=!0):null!=h.e?(a=h.e+l,(h.e<0||6<h.e)&&(c=!0)):a=l),o<1||o>We(s,l,u)?m(i)._overflowWeeks=!0:null!=c?m(i)._overflowWeekday=!0:(u=je(s,o,a,l,u),i._a[ve]=u.year,i._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(r=kt(e._a[ve],n[ve]),(e._dayOfYear>Fe(r)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),r=Ge(r,0,e._dayOfYear),e._a[we]=r.getUTCMonth(),e._a[be]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=f[t]=n[t];for(;t<7;t++)e._a[t]=f[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ee]&&0===e._a[Se]&&0===e._a[Te]&&0===e._a[ke]&&(e._nextDay=!0,e._a[Ee]=0),e._d=(e._useUTC?Ge:Ue).apply(null,f),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ee]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(m(e).weekdayMismatch=!0)}}function Pt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],m(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,s=0,o=I(e._f,e._locale).match(D)||[],a=0;a<o.length;a++)n=o[a],(t=(r.match(de(n,e))||[])[0])&&(0<(h=r.substr(0,r.indexOf(t))).length&&m(e).unusedInput.push(h),r=r.slice(r.indexOf(t)+t.length),s+=t.length),L[n]?(t?m(e).empty=!1:m(e).unusedTokens.push(n),c=n,d=e,null!=(h=t)&&f(me,c)&&me[c](h,d._a,d,c)):e._strict&&!t&&m(e).unusedTokens.push(n);m(e).charsLeftOver=i-s,0<r.length&&m(e).unusedInput.push(r),e._a[Ee]<=12&&!0===m(e).bigHour&&0<e._a[Ee]&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[Ee]=(l=e._locale,u=e._a[Ee],null==(i=e._meridiem)?u:null!=l.meridiemHour?l.meridiemHour(u,i):null!=l.isPM?((i=l.isPM(i))&&u<12&&(u+=12),u=i||12!==u?u:0):u),null!==(u=m(e).era)&&(e._a[ve]=e._locale.erasConvertYear(u,e._a[ve])),Mt(e),ft(e)}else Tt(e);else Et(e);var l,u,c,h,d}function Ot(e){var t=e._i,n=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),b(t)?new w(ft(t)):(i(t)?e._d=t:o(n)?function(e){var t,n,r,i,s,o,a=!1;if(0===e._f.length)return m(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)s=0,o=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Pt(t),d(t)&&(o=!0),s+=m(t).charsLeftOver,s+=10*m(t).unusedTokens.length,m(t).score=s,a?s<r&&(r=s,n=t):(null==r||s<r||o)&&(r=s,n=t,o&&(a=!0));c(e,n||t)}(e):n?Pt(e):s(n=(t=e)._i)?t._d=new Date(p.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=vt.exec(e._i);null===t?(Et(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:p.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),Mt(t)):a(n)?function(e){var t,n;e._d||(n=void 0===(t=G(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Mt(e))}(t):u(n)?t._d=new Date(n):p.createFromInputFallback(t),d(e)||(e._d=null),e))}function xt(e,t,n,r,i){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,(s=new w(ft(Ot(s=s))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Dt(e,t,n,r){return xt(e,t,n,r,!1)}p.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};var Nt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),At=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Lt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return Dt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Ct=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rt(e){var t=G(e),n=t.year||0,r=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,o=t.day||0,a=t.hour||0,l=t.minute||0,u=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(f(e,t)&&(-1===_e.call(Ct,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Ct.length;++n)if(e[Ct[n]]){if(r)return!1;parseFloat(e[Ct[n]])!==H(e[Ct[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*u+6e4*l+1e3*a*60*60,this._days=+o+7*s,this._months=+i+3*r+12*n,this._data={},this._locale=dt(),this._bubble()}function It(e){return e instanceof Rt}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Yt(e,n){C(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+x(~~(e/60),2)+n+x(~~e%60,2)})}Yt("Z",":"),Yt("ZZ",""),he("Z",ue),he("ZZ",ue),ge(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Gt(ue,e)});var Ut=/([\+\-]|\d\d)/gi;function Gt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ut)||["-",0,0])[1]+H(e[2]))?0:"+"===e[0]?t:-t}function Bt(e,t){var n;return t._isUTC?(n=t.clone(),t=(b(e)||i(e)?e:Dt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),p.updateOffset(n,!1),n):Dt(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function $t(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Wt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ht=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vt(e,t){var n,r,i=e,s=null;return It(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(s=Wt.exec(e))?(n="-"===s[1]?-1:1,i={y:0,d:H(s[be])*n,h:H(s[Ee])*n,m:H(s[Se])*n,s:H(s[Te])*n,ms:H(Ft(1e3*s[ke]))*n}):(s=Ht.exec(e))?(n="-"===s[1]?-1:1,i={y:zt(s[2],n),M:zt(s[3],n),w:zt(s[4],n),d:zt(s[5],n),h:zt(s[6],n),m:zt(s[7],n),s:zt(s[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(s=Dt(i.from),n=Dt(i.to),r=s.isValid()&&n.isValid()?(n=Bt(n,s),s.isBefore(n)?r=Zt(s,n):((r=Zt(n,s)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Rt(i),It(e)&&f(e,"_locale")&&(i._locale=e._locale),It(e)&&f(e,"_isValid")&&(i._isValid=e._isValid),i}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Xt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(T(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,Vt(e,t),r),this}}function qt(e,t,n,r){var i=t._milliseconds,s=Ft(t._days),t=Ft(t._months);e.isValid()&&(r=null==r||r,t&&Ce(e,z(e,"Month")+t*n),s&&Z(e,"Date",z(e,"Date")+s*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&p.updateOffset(e,s||t))}Vt.fn=Rt.prototype,Vt.invalid=function(){return Vt(NaN)};var Jt=Xt(1,"add"),ce=Xt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return b(e)||i(e)||Kt(e)||u(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!u(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=a(e)&&!l(e),i=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<s.length;t+=1)n=s[t],i=i||f(e,n);return r&&i}(e)||null==e;var t,n,r}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=dt(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var rn=126227808e5;function sn(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function un(){for(var e=[],t=[],n=[],r=[],i=this.eras(),s=0,o=i.length;s<o;++s)t.push(fe(i[s].name)),e.push(fe(i[s].abbr)),n.push(fe(i[s].narrow)),r.push(fe(i[s].name)),r.push(fe(i[s].abbr)),r.push(fe(i[s].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function cn(e,t){C(0,[e,e.length],0,t)}function hn(e,t,n,r,i){var s;return null==e?$e(this,r,i).year:(t>(s=We(e,r,i))&&(t=s),function(e,t,n,r,i){i=je(e,t,n,r,i),i=Ge(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,i))}C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),he("N",ln),he("NN",ln),he("NNN",ln),he("NNNN",function(e,t){return t.erasNameRegex(e)}),he("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?m(n).era=r:m(n).invalidEra=e}),he("y",oe),he("yy",oe),he("yyy",oe),he("yyyy",oe),he("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),ge(["y","yy","yyy","yyyy"],ve),ge(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ve]=n._locale.eraYearOrdinalParse(e,i):t[ve]=parseInt(e,10)}),C(0,["gg",2],0,function(){return this.weekYear()%100}),C(0,["GG",2],0,function(){return this.isoWeekYear()%100}),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),he("G",ae),he("g",ae),he("GG",ee,q),he("gg",ee,q),he("GGGG",ie,K),he("gggg",ie,K),he("GGGGG",se,Q),he("ggggg",se,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=H(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),C("Q",0,"Qo","quarter"),Y("quarter","Q"),j("quarter",7),he("Q",X),ge("Q",function(e,t){t[we]=3*(H(e)-1)}),C("D",["DD",2],"Do","date"),Y("date","D"),j("date",9),he("D",ee),he("DD",ee,q),he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],be),ge("Do",function(e,t){t[be]=H(e.match(ee)[0])});ne=V("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),j("dayOfYear",4),he("DDD",re),he("DDDD",J),ge(["DDD","DDDD"],function(e,t,n){n._dayOfYear=H(e)}),C("m",["mm",2],0,"minute"),Y("minute","m"),j("minute",14),he("m",ee),he("mm",ee,q),ge(["m","mm"],Se);xe=V("Minutes",!1);C("s",["ss",2],0,"second"),Y("second","s"),j("second",15),he("s",ee),he("ss",ee,q),ge(["s","ss"],Te);var dn,Ve=V("Seconds",!1);for(C("S",0,0,function(){return~~(this.millisecond()/100)}),C(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,function(){return 10*this.millisecond()}),C(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),C(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),C(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),C(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),C(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Y("millisecond","ms"),j("millisecond",16),he("S",re,X),he("SS",re,q),he("SSS",re,J),dn="SSSS";dn.length<=9;dn+="S")he(dn,oe);function fn(e,t){t[ke]=H(1e3*("0."+e))}for(dn="S";dn.length<=9;dn+="S")ge(dn,fn);Ze=V("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");ie=w.prototype;function pn(e){return e}ie.add=Jt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||f(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Dt(),e=Bt(n,this).startOf("day"),e=p.calendarFormat(this,e)||"sameElse",t=t&&(k(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Dt(n)))},ie.clone=function(){return new w(this)},ie.diff=function(e,t,n){var r,i,s;if(!this.isValid())return NaN;if(!(r=Bt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=U(t)){case"year":s=en(this,r)/12;break;case"month":s=en(this,r);break;case"quarter":s=en(this,r)/3;break;case"second":s=(this-r)/1e3;break;case"minute":s=(this-r)/6e4;break;case"hour":s=(this-r)/36e5;break;case"day":s=(this-r-i)/864e5;break;case"week":s=(this-r-i)/6048e5;break;default:s=this-r}return n?s:W(s)},ie.endOf=function(e){var t,n;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-sn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-sn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-sn(t,1e3)-1}return this._d.setTime(t),p.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=R(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||Dt(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Dt(),e)},ie.to=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||Dt(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Dt(),e)},ie.get=function(e){return k(this[e=U(e)])?this[e]():this},ie.invalidAt=function(){return m(this).overflow},ie.isAfter=function(e,t){return e=b(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=b(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,r){return e=b(e)?e:Dt(e),t=b(t)?t:Dt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},ie.isSame=function(e,t){var e=b(e)?e:Dt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return d(this)},ie.lang=te,ie.locale=tn,ie.localeData=nn,ie.max=At,ie.min=Nt,ie.parsingFlags=function(){return c({},m(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)f(e,t)&&n.push({unit:t,priority:B[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=G(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(k(this[e=U(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:on,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=sn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=sn(t,6e4);break;case"second":t=this._d.valueOf(),t-=sn(t,1e3)}return this._d.setTime(t),p.updateOffset(this,!0),this},ie.subtract=ce,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?R(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):k(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(e,"Z")):R(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},ie.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},ie.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},ie.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-p(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Ye,ie.isLeapYear=function(){return $(this.year())},ie.weekYear=function(e){return hn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return hn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Re,ie.daysInMonth=function(){return Oe(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=$e(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return We(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return We(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return We(this.isoWeekYear(),1,4)},ie.date=ne,ie.day=ie.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},ie.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ie.hour=ie.hours=nt,ie.minute=ie.minutes=xe,ie.second=ie.seconds=Ve,ie.millisecond=ie.milliseconds=Ze,ie.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:jt(this);if("string"==typeof e){if(null===(e=Gt(ue,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?qt(this,Vt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Gt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Dt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=$t,ie.isUTC=$t,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=n("dates accessor is deprecated. Use date instead.",ne),ie.months=n("months accessor is deprecated. Use month instead",Re),ie.years=n("years accessor is deprecated. Use year instead",Ye),ie.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),ie.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Ot(t))._a?(e=(t._isUTC?h:Dt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&H(e[o])!==H(t[o]))&&s++;return s+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=P.prototype;function mn(e,t,n,r){var i=dt(),t=h().set(r,t);return i[n](t,e)}function gn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=mn(e,i,n,"month");return r}function yn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),u(t)&&(n=t,t=void 0),t||"");var i,s=dt(),o=e?s._week.dow:0,a=[];if(null!=n)return mn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)a[i]=mn(t,(i+o)%7,r,"day");return a}K.calendar=function(e,t,n){return k(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(D).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=pn,K.postformat=pn,K.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return k(i)?i(e,t,n,r):i.replace(/%d/i,e)},K.pastFuture=function(e,t){return k(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,n;for(n in e)f(e,n)&&(k(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(e,t){for(var n,r=this._eras||dt("en")._eras,i=0,s=r.length;i<s;++i)switch("string"==typeof r[i].since&&(n=p(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=p(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},K.erasParse=function(e,t,n){var r,i,s,o,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(s=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(s===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if(0<=[s,o,a].indexOf(e))return l[r]},K.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},K.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||un.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return f(this,"_erasNameRegex")||un.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||un.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Ne).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Ne.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,s,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)s=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,e))?i:null:-1!==(i=_e.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,e))||-1!==(i=_e.call(this._longMonthsParse,e))?i:null:-1!==(i=_e.call(this._longMonthsParse,e))||-1!==(i=_e.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},K.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ie.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ie.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return $e(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?He(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,s,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)s=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._shortWeekdaysParse,e))||-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,e))||-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,e))||-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===H(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=n("moment.lang is deprecated. Use moment.locale instead.",ct),p.langData=n("moment.langData is deprecated. Use moment.localeData instead.",dt);var _n=Math.abs;function vn(e,t,n,r){n=Vt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function En(e){return 146097*e/4800}function Sn(e){return function(){return this.as(e)}}se=Sn("ms"),Q=Sn("s"),X=Sn("m"),q=Sn("h"),re=Sn("d"),J=Sn("w"),Jt=Sn("M"),At=Sn("Q"),Nt=Sn("y");function Tn(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=Tn("milliseconds"),nt=Tn("seconds"),xe=Tn("minutes"),Ve=Tn("hours"),Ze=Tn("days"),ne=Tn("months"),Ye=Tn("years");var kn=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Pn(e,t,n,r){var i=Vt(e).abs(),s=kn(i.as("s")),o=kn(i.as("m")),a=kn(i.as("h")),l=kn(i.as("d")),u=kn(i.as("M")),c=kn(i.as("w")),i=kn(i.as("y")),l=(s<=n.ss?["s",s]:s<n.s&&["ss",s])||o<=1&&["m"]||o<n.m&&["mm",o]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||c<=1&&["w"]||c<n.w&&["ww",c]:l)||u<=1&&["M"]||u<n.M&&["MM",u]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}var On=Math.abs;function xn(e){return(0<e)-(e<0)||+e}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,s,o,a=On(this._milliseconds)/1e3,l=On(this._days),u=On(this._months),c=this.asSeconds();return c?(e=W(a/60),t=W(e/60),a%=60,e%=60,n=W(u/12),u%=12,r=a?a.toFixed(3).replace(/\.?0+$/,""):"",i=xn(this._months)!==xn(c)?"-":"",s=xn(this._days)!==xn(c)?"-":"",o=xn(this._milliseconds)!==xn(c)?"-":"",(c<0?"-":"")+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(l?s+l+"D":"")+(t||e||a?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(a?o+r+"S":"")):"P0D"}K=Rt.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},K.add=function(e,t){return vn(this,e,t,1)},K.subtract=function(e,t){return vn(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=U(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(En(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},K.asMilliseconds=se,K.asSeconds=Q,K.asMinutes=X,K.asHours=q,K.asDays=re,K.asWeeks=J,K.asMonths=Jt,K.asQuarters=At,K.asYears=Nt,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*H(this._months/12):NaN},K._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*wn(En(n)+t),n=t=0),r.milliseconds=e%1e3,e=W(e/1e3),r.seconds=e%60,e=W(e/60),r.minutes=e%60,e=W(e/60),r.hours=e%24,t+=W(e/24),n+=e=W(bn(t)),t-=wn(En(e)),e=W(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},K.clone=function(){return Vt(this)},K.get=function(e){return e=U(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=ce,K.seconds=nt,K.minutes=xe,K.hours=Ve,K.days=Ze,K.weeks=function(){return W(this.days()/7)},K.months=ne,K.years=Ye,K.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Mn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Mn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),r=Pn(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},K.toISOString=Dn,K.toString=Dn,K.toJSON=Dn,K.locale=tn,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),K.lang=te,C("X",0,0,"unix"),C("x",0,0,"valueOf"),he("x",ae),he("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,n){n._d=new Date(H(e))}),p.version="2.29.1",e=Dt,p.fn=ie,p.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=h,p.unix=function(e){return Dt(1e3*e)},p.months=function(e,t){return gn(e,t,"months")},p.isDate=i,p.locale=ct,p.invalid=g,p.duration=Vt,p.isMoment=b,p.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},p.parseZone=function(){return Dt.apply(null,arguments).parseZone()},p.localeData=dt,p.isDuration=It,p.monthsShort=function(e,t){return gn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},p.defineLocale=ht,p.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=st[e]&&null!=st[e].parentLocale?st[e].set(M(st[e]._config,t)):(t=M(r=null!=(n=ut(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new P(t)).parentLocale=st[e],st[e]=t),ct(e)):null!=st[e]&&(null!=st[e].parentLocale?(st[e]=st[e].parentLocale,e===ct()&&ct(e)):null!=st[e]&&delete st[e]),st[e]},p.locales=function(){return O(st)},p.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},p.normalizeUnits=U,p.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==Mn[e]&&(void 0===t?Mn[e]:(Mn[e]=t,"s"===e&&(Mn.ss=t-1),!0))},p.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},p.prototype=ie,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}(),hr.exports);function gr(n){let r,i=n[10]&&vr(n);return{c(){r=A("div"),i&&i.c(),I(r,"class","CasinoGamePageContainer"),I(r,"part","CasinoGamePageContainer")},m(e,t){D(e,r,t),i&&i.m(r,null),n[82](r)},p(e,t){e[10]?i?i.p(e,t):(i=vr(e),i.c(),i.m(r,null)):i&&(i.d(1),i=null)},d(e){e&&N(r),i&&i.d(),n[82](null)}}}function yr(e){let n;return{c(){n=A("p"),n.textContent="500 Error - Internal Server Error.",I(n,"class","SearchLoading"),I(n,"part","SearchLoading")},m(e,t){D(e,n,t)},p:h,d(e){e&&N(n)}}}function _r(e){let n;return{c(){n=A("p"),n.textContent="Loading, please wait ...",I(n,"class","SearchLoading"),I(n,"part","SearchLoading")},m(e,t){D(e,n,t)},p:h,d(e){e&&N(n)}}}function vr(e){let n;function r(e){return e[21]?Sr:e[4]?Er:e[11]?br:wr}let i=r(e),s=i(e);return{c(){s.c(),n=o()},m(e,t){s.m(e,t),D(e,n,t)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),s=i(e),s&&(s.c(),s.m(n.parentNode,n)))},d(e){s.d(e),e&&N(n)}}}function wr(n){let r,i,s,o,a,l,u,c,h,d,f,p,m,g,y,_,v,w,b=n[9].name+"",E=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";return{c(){r=A("div"),i=A("h3"),s=L(b),o=C(),a=A("img"),u=C(),c=A("div"),h=A("button"),d=L(E),f=C(),p=A("button"),m=L(S),g=C(),y=A("p"),_=L(n[2]),a.src!==(l=n[9].thumbnail)&&I(a,"src",l),I(a,"class","GameThumbnail"),I(a,"part","GameThumbnail"),I(a,"alt","game thumbnail"),I(a,"loading","lazy"),I(h,"class","LoginButton"),I(h,"part","LoginButton"),I(p,"class","RegisterButton"),I(p,"part","RegisterButton"),I(c,"class","ButtonsContainer"),I(c,"part","ButtonsContainer"),I(r,"class","GameDetails"),I(r,"part","GameDetails")},m(e,t){D(e,r,t),x(r,i),x(i,s),x(r,o),x(r,a),x(r,u),x(r,c),x(c,h),x(h,d),x(c,f),x(c,p),x(p,m),x(r,g),x(r,y),x(y,_),v||(w=[R(h,"click",n[80]),R(p,"click",n[81])],v=!0)},p(e,t){512&t[0]&&b!==(b=e[9].name+"")&&F(s,b),512&t[0]&&a.src!==(l=e[9].thumbnail)&&I(a,"src",l),33554432&t[0]&&E!==(E=e[25]("gamePage.signIn")+"")&&F(d,E),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&F(m,S),4&t[0]&&F(_,e[2])},d(e){e&&N(r),v=!1,O(w)}}}function br(n){let r,i,s,o,a,l,u,c,h,d,f,p,m,g,y,_,v,w,b,E=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";function T(e){return e[16]?kr:Tr}let k=T(n),M=k(n);return{c(){r=A("div"),i=A("div"),s=A("iframe"),a=C(),l=A("div"),u=A("div"),c=A("button"),h=L(E),d=C(),f=A("button"),p=L(S),m=C(),g=A("p"),y=A("span"),_=L(n[2]),v=C(),M.c(),I(s,"title","Games"),I(s,"class","GamesContainer"),I(s,"part","GamesContainer"),I(s,"aria-hidden","false"),s.src!==(o=n[9].launchUrl)&&I(s,"src",o),I(c,"class","LoginButton"),I(c,"part","LoginButton"),I(f,"class","RegisterButton"),I(f,"part","RegisterButton"),I(u,"class","ButtonsContainer"),I(u,"part","ButtonsContainer"),I(g,"class","Time"),I(g,"part","Time"),I(l,"class","BottomGame"),I(l,"part","BottomGame"),I(i,"id","IframeGame"),I(i,"part","IframeGame"),P(i,"width",n[16]?"100%":n[19]),P(i,"height",n[16]?"100%":n[20]),P(i,"max-width",n[16]||!n[13]?"none":n[9].width?Math.floor(n[9].width)+"px":"1280px"),P(i,"max-height",n[16]||!n[13]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),I(r,"id","IframeContainer"),I(r,"part","IframeContainer"),P(r,"width",n[17]),P(r,"height",n[18]),Y(r,"FullsScreenLayout",n[16])},m(e,t){D(e,r,t),x(r,i),x(i,s),n[71](s),x(i,a),x(i,l),x(l,u),x(u,c),x(c,h),x(u,d),x(u,f),x(f,p),x(l,m),x(l,g),x(g,y),x(y,_),n[74](g),x(l,v),M.m(l,null),n[77](l),n[78](i),n[79](r),w||(b=[R(c,"click",n[72]),R(f,"click",n[73])],w=!0)},p(e,t){512&t[0]&&s.src!==(o=e[9].launchUrl)&&I(s,"src",o),33554432&t[0]&&E!==(E=e[25]("gamePage.signIn")+"")&&F(h,E),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&F(p,S),4&t[0]&&F(_,e[2]),k===(k=T(e))&&M?M.p(e,t):(M.d(1),M=k(e),M&&(M.c(),M.m(l,null))),589824&t[0]&&P(i,"width",e[16]?"100%":e[19]),1114112&t[0]&&P(i,"height",e[16]?"100%":e[20]),74240&t[0]&&P(i,"max-width",e[16]||!e[13]?"none":e[9].width?Math.floor(e[9].width)+"px":"1280px"),74240&t[0]&&P(i,"max-height",e[16]||!e[13]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),131072&t[0]&&P(r,"width",e[17]),262144&t[0]&&P(r,"height",e[18]),65536&t[0]&&Y(r,"FullsScreenLayout",e[16])},d(e){e&&N(r),n[71](null),n[74](null),M.d(),n[77](null),n[78](null),n[79](null),w=!1,O(b)}}}function Er(n){let r,i,s,o,a,l,u,c,h,d,f,p,m,g,y,_,v,w,b=n[25]("gamePage.deposit")+"",E="true"===n[1]&&Mr(n);function S(e){return e[16]?Or:Pr}let T=S(n),k=T(n);return{c(){r=A("div"),i=A("div"),s=A("iframe"),a=C(),l=A("div"),u=A("button"),c=L(b),h=C(),d=A("p"),f=A("span"),p=L(n[2]),m=C(),E&&E.c(),g=C(),k.c(),I(s,"title","Games"),I(s,"id","IframeGame"),I(s,"class","GamesContainer"),I(s,"part","GamesContainer"),I(s,"aria-hidden","false"),s.src!==(o=n[9].launchUrl)&&I(s,"src",o),I(u,"class","DepositButton"),I(u,"part","DepositButton"),I(d,"class","Time"),I(d,"part","Time"),I(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),I(l,"part",_="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),I(i,"id","IframeGame"),I(i,"part","IframeGame"),P(i,"width",n[16]?"100%":n[19]),P(i,"height",n[16]?"100%":n[20]),P(i,"max-width",n[16]?"none":n[9].width?n[9].width+"px":"1280px"),P(i,"max-height",n[16]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),I(r,"id","IframeContainer"),I(r,"part","IframeContainer"),P(r,"width",n[17]),P(r,"height",n[18]),Y(r,"FullsScreenLayout",n[16])},m(e,t){D(e,r,t),x(r,i),x(i,s),n[62](s),x(i,a),x(i,l),x(l,u),x(u,c),x(l,h),x(l,d),x(d,f),x(f,p),n[64](d),x(l,m),E&&E.m(l,null),x(l,g),k.m(l,null),n[68](l),n[69](i),n[70](r),v||(w=R(u,"click",n[63]),v=!0)},p(e,t){512&t[0]&&s.src!==(o=e[9].launchUrl)&&I(s,"src",o),33554432&t[0]&&b!==(b=e[25]("gamePage.deposit")+"")&&F(c,b),4&t[0]&&F(p,e[2]),"true"===e[1]?E?E.p(e,t):(E=Mr(e),E.c(),E.m(l,g)):E&&(E.d(1),E=null),T===(T=S(e))&&k?k.p(e,t):(k.d(1),k=T(e),k&&(k.c(),k.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&I(l,"class",y),2&t[0]&&_!==(_="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&I(l,"part",_),589824&t[0]&&P(i,"width",e[16]?"100%":e[19]),1114112&t[0]&&P(i,"height",e[16]?"100%":e[20]),66048&t[0]&&P(i,"max-width",e[16]?"none":e[9].width?e[9].width+"px":"1280px"),66048&t[0]&&P(i,"max-height",e[16]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),131072&t[0]&&P(r,"width",e[17]),262144&t[0]&&P(r,"height",e[18]),65536&t[0]&&Y(r,"FullsScreenLayout",e[16])},d(e){e&&N(r),n[62](null),n[64](null),E&&E.d(),k.d(),n[68](null),n[69](null),n[70](null),v=!1,w()}}}function Sr(e){let n;function r(e){return e[4]?Nr:e[12]?Dr:xr}let i=r(e),s=i(e);return{c(){s.c(),n=o()},m(e,t){s.m(e,t),D(e,n,t)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),s=i(e),s&&(s.c(),s.m(n.parentNode,n)))},d(e){s.d(e),e&&N(n)}}}function Tr(n){let r,i,s;return{c(){r=A("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',I(r,"class","FullscreenButton"),I(r,"part","FullscreenButton")},m(e,t){D(e,r,t),i||(s=R(r,"click",n[76]),i=!0)},p:h,d(e){e&&N(r),i=!1,s()}}}function kr(n){let r,i,s;return{c(){r=A("button"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',I(r,"class","FullscreenButton"),I(r,"part","FullscreenButton")},m(e,t){D(e,r,t),i||(s=R(r,"click",n[75]),i=!0)},p:h,d(e){e&&N(r),i=!1,s()}}}function Mr(n){let r,i,s,o,a,l,u,c,h,d,f,p=n[25]("gamePage.break")+"",m=n[25]("gamePage.breakButton")+"";return{c(){r=A("div"),i=y("svg"),s=y("path"),o=C(),a=A("p"),l=L(p),u=C(),c=A("button"),h=L(m),I(s,"stroke-linecap","round"),I(s,"stroke-linejoin","round"),I(s,"stroke-width","2"),I(s,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),I(i,"class","w-1 h-1"),I(i,"part","w-1 h-1"),I(i,"fill","none"),I(i,"stroke","white"),I(i,"width","34px"),I(i,"height","34px"),I(i,"viewBox","0 0 24 24"),I(i,"xmlns","http://www.w3.org/2000/svg"),I(c,"class","Button"),I(c,"part","Button"),I(r,"class","PanicSection"),I(r,"part","PanicSection")},m(e,t){D(e,r,t),x(r,i),x(i,s),x(r,o),x(r,a),x(a,l),x(r,u),x(r,c),x(c,h),d||(f=R(c,"click",n[65]),d=!0)},p(e,t){33554432&t[0]&&p!==(p=e[25]("gamePage.break")+"")&&F(l,p),33554432&t[0]&&m!==(m=e[25]("gamePage.breakButton")+"")&&F(h,m)},d(e){e&&N(r),d=!1,f()}}}function Pr(n){let r,i,s;return{c(){r=A("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',I(r,"class","FullscreenButton"),I(r,"part","FullscreenButton")},m(e,t){D(e,r,t),i||(s=R(r,"click",n[67]),i=!0)},p:h,d(e){e&&N(r),i=!1,s()}}}function Or(n){let r,i,s;return{c(){r=A("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',I(r,"class","FullscreenButton"),I(r,"part","FullscreenButton")},m(e,t){D(e,r,t),i||(s=R(r,"click",n[66]),i=!0)},p:h,d(e){e&&N(r),i=!1,s()}}}function xr(n){let r,i,s,o,a,l,u,c,h,d,f,p,m,g,y,_,v,w,b=n[9].name+"",E=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";return{c(){r=A("div"),i=A("h3"),s=L(b),o=C(),a=A("img"),u=C(),c=A("div"),h=A("button"),d=L(E),f=C(),p=A("button"),m=L(S),g=C(),y=A("p"),_=L(n[2]),a.src!==(l=n[9].thumbnail)&&I(a,"src",l),I(a,"class","GameThumbnail"),I(a,"part","GameThumbnail"),I(a,"alt","game thumbnail"),I(a,"loading","lazy"),I(h,"class","LoginButton"),I(h,"part","LoginButton"),I(p,"class","RegisterButton"),I(p,"part","RegisterButton"),I(c,"class","ButtonsContainer"),I(c,"part","ButtonsContainer"),I(r,"class","GameDetails"),I(r,"part","GameDetails")},m(e,t){D(e,r,t),x(r,i),x(i,s),x(r,o),x(r,a),x(r,u),x(r,c),x(c,h),x(h,d),x(c,f),x(c,p),x(p,m),x(r,g),x(r,y),x(y,_),v||(w=[R(h,"click",n[60]),R(p,"click",n[61])],v=!0)},p(e,t){512&t[0]&&b!==(b=e[9].name+"")&&F(s,b),512&t[0]&&a.src!==(l=e[9].thumbnail)&&I(a,"src",l),33554432&t[0]&&E!==(E=e[25]("gamePage.signIn")+"")&&F(d,E),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&F(m,S),4&t[0]&&F(_,e[2])},d(e){e&&N(r),v=!1,O(w)}}}function Dr(n){let r,i,s,o,a,l,u,c,h,d,f,p,m,g,y,_,v,w,b,E,S,T=n[9].name+"",k=n[25]("gamePage.signIn")+"",M=n[25]("gamePage.register")+"",P=n[25]("gamePage.playForFun")+"";return{c(){r=A("div"),i=A("h3"),s=L(T),o=C(),a=A("img"),u=C(),c=A("div"),h=A("button"),d=L(k),f=C(),p=A("button"),m=L(M),g=C(),y=A("button"),_=L(P),v=C(),w=A("p"),b=L(n[2]),a.src!==(l=n[9].thumbnail)&&I(a,"src",l),I(a,"class","GameThumbnail"),I(a,"part","GameThumbnail"),I(a,"alt","game thumbnail"),I(a,"loading","lazy"),I(h,"class","LoginButton"),I(h,"part","LoginButton"),I(p,"class","RegisterButton"),I(p,"part","RegisterButton"),I(c,"class","ButtonsContainer"),I(c,"part","ButtonsContainer"),I(y,"class","FullWidthButton"),I(y,"part","FullWidthButton"),I(r,"class","GameDetails"),I(r,"part","GameDetails")},m(e,t){D(e,r,t),x(r,i),x(i,s),x(r,o),x(r,a),x(r,u),x(r,c),x(c,h),x(h,d),x(c,f),x(c,p),x(p,m),x(r,g),x(r,y),x(y,_),x(r,v),x(r,w),x(w,b),E||(S=[R(h,"click",n[57]),R(p,"click",n[58]),R(y,"click",n[59])],E=!0)},p(e,t){512&t[0]&&T!==(T=e[9].name+"")&&F(s,T),512&t[0]&&a.src!==(l=e[9].thumbnail)&&I(a,"src",l),33554432&t[0]&&k!==(k=e[25]("gamePage.signIn")+"")&&F(d,k),33554432&t[0]&&M!==(M=e[25]("gamePage.register")+"")&&F(m,M),33554432&t[0]&&P!==(P=e[25]("gamePage.playForFun")+"")&&F(_,P),4&t[0]&&F(b,e[2])},d(e){e&&N(r),E=!1,O(S)}}}function Nr(n){let r,i,s,o,a,l,u,c,h,d,f,p,m,g,y,_,v,w,b,E,S=n[9].name+"",T=n[25]("gamePage.deposit")+"",k=n[25]("gamePage.playNow")+"",M="true"==n[0]&&Ar(n),P="true"===n[1]&&Rr(n);return{c(){M&&M.c(),r=C(),i=A("div"),s=A("h3"),o=L(S),a=C(),l=A("img"),c=C(),h=A("div"),d=A("button"),f=L(T),p=C(),m=A("button"),g=L(k),y=C(),P&&P.c(),_=C(),v=A("p"),w=L(n[2]),l.src!==(u=n[9].thumbnail)&&I(l,"src",u),I(l,"class","GameThumbnail"),I(l,"part","GameThumbnail"),I(l,"alt","game thumbnail"),I(l,"loading","lazy"),I(d,"class","DepositButton"),I(d,"part","DepositButton"),I(m,"class","PlayNowButton"),I(m,"part","PlayNowButton"),I(h,"class","ButtonsContainer"),I(h,"part","ButtonsContainer"),I(i,"class","GameDetails"),I(i,"part","GameDetails")},m(e,t){M&&M.m(e,t),D(e,r,t),D(e,i,t),x(i,s),x(s,o),x(i,a),x(i,l),x(i,c),x(i,h),x(h,d),x(d,f),x(h,p),x(h,m),x(m,g),x(i,y),P&&P.m(i,null),x(i,_),x(i,v),x(v,w),b||(E=[R(d,"click",n[53]),R(m,"click",n[54])],b=!0)},p(e,t){"true"==e[0]?M?M.p(e,t):(M=Ar(e),M.c(),M.m(r.parentNode,r)):M&&(M.d(1),M=null),512&t[0]&&S!==(S=e[9].name+"")&&F(o,S),512&t[0]&&l.src!==(u=e[9].thumbnail)&&I(l,"src",u),33554432&t[0]&&T!==(T=e[25]("gamePage.deposit")+"")&&F(f,T),33554432&t[0]&&k!==(k=e[25]("gamePage.playNow")+"")&&F(g,k),"true"===e[1]?P?P.p(e,t):(P=Rr(e),P.c(),P.m(i,_)):P&&(P.d(1),P=null),4&t[0]&&F(w,e[2])},d(e){M&&M.d(e),e&&N(r),e&&N(i),P&&P.d(),b=!1,O(E)}}}function Ar(e){let n;function r(e){return e[9].isFavored?Cr:Lr}let i=r(e),s=i(e);return{c(){s.c(),n=o()},m(e,t){s.m(e,t),D(e,n,t)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),s=i(e),s&&(s.c(),s.m(n.parentNode,n)))},d(e){s.d(e),e&&N(n)}}}function Lr(n){let r,i,s;return{c(){r=A("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',I(r,"class","FavIconContainer"),I(r,"part","FavIconContainer")},m(e,t){D(e,r,t),i||(s=R(r,"click",n[52]),i=!0)},p:h,d(e){e&&N(r),i=!1,s()}}}function Cr(n){let r,i,s;return{c(){r=A("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',I(r,"class","FavIconContainer"),I(r,"part","FavIconContainer")},m(e,t){D(e,r,t),i||(s=R(r,"click",n[51]),i=!0)},p:h,d(e){e&&N(r),i=!1,s()}}}function Rr(n){let r,i,s,o,a,l,u,c,h,d,f,p,m=n[25]("gamePage.break")+"",g=n[25]("casinoPage.breakButton")+"";return{c(){r=A("div"),i=A("div"),s=y("svg"),o=y("path"),a=C(),l=A("p"),u=L(m),c=C(),h=A("button"),d=L(g),I(o,"stroke-linecap","round"),I(o,"stroke-linejoin","round"),I(o,"stroke-width","2"),I(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),I(s,"class","w-1 h-1"),I(s,"part","w-1 h-1"),I(s,"fill","none"),I(s,"stroke","white"),I(s,"width","34px"),I(s,"height","34px"),I(s,"viewBox","0 0 24 24"),I(s,"xmlns","http://www.w3.org/2000/svg"),I(i,"class","PanicText"),I(i,"part","PanicText"),I(h,"class","PanicButton"),I(h,"part","PanicButton"),Y(h,"PanicButtonAnimation",n[8]),I(r,"class","PanicSection "+("PC"!==lr(n[26])?"PanicSectionMobile":"")),I(r,"part","PanicSection "+("PC"!==lr(n[26])?"PanicSectionMobile":""))},m(e,t){D(e,r,t),x(r,i),x(i,s),x(s,o),x(i,a),x(i,l),x(l,u),x(r,c),x(r,h),x(h,d),n[55](h),f||(p=R(h,"click",n[56]),f=!0)},p(e,t){33554432&t[0]&&m!==(m=e[25]("gamePage.break")+"")&&F(u,m),33554432&t[0]&&g!==(g=e[25]("casinoPage.breakButton")+"")&&F(d,g),256&t[0]&&Y(h,"PanicButtonAnimation",e[8])},d(e){e&&N(r),n[55](null),f=!1,p()}}}function Ir(e){let n;function r(e){return e[6]?_r:e[5]?yr:gr}let i=r(e),s=i(e);return{c(){s.c(),n=o(),this.c=h},m(e,t){s.m(e,t),D(e,n,t)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),s=i(e),s&&(s.c(),s.m(n.parentNode,n)))},i:h,o:h,d(e){s.d(e),e&&N(n)}}}function Fr(t,e,s){let n;var r,i,o=ar;t.$$.on_destroy.push(be(o,e=>s(25,n=e)));let a,l,u,c,h,d,f,p,m,g,y,_,v,w,b,E,S,{endpoint:T=""}=e,{lang:k=""}=e,{session:M=""}=e,{userid:P=""}=e,{clientstyling:O=""}=e,{clientstylingurl:x=""}=e,{favorites:D=""}=e,{loginurl:N=""}=e,{registerurl:A=""}=e,{depositurl:L=""}=e,{loginevent:C=""}=e,{registerevent:R=""}=e,{depositevent:I=""}=e,{clockformat:F=""}=e,{haspanicbutton:Y="false"}=e,{playforfun:U="true"}=e,{checksession:G="true"}=e,{integratedgameframe:B="false"}=e,{gameid:j=""}=e,$=!1,W=!1,H=!0,V=!1,z=0,Z=!1,X=!1,q=!1,J=!0,K=!1,Q=window.navigator.userAgent,ee=!1,te=[],ne=!1;[{withLocale:r,translations:i}]=[{withLocale:"en",translations:{}}],Jn.subscribe(e=>{null==e&&(Un.set(i),Jn.set(r))}),Object.keys(ur).forEach(e=>{Bn(e,ur[e])});const re=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",k),u&&0<u.length&&(s(4,$=!0),t.searchParams.append("_sid",u),t.searchParams.append("funMode","false")),e.launchUrl=t,e},ie=(e,t)=>{let n=new URL(`${T}/casino/games/${e}`);n.searchParams.append("language",k),n.searchParams.append("expand","vendor"),s(13,J=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{s(9,d=re(e[0])),d.launchUrl&&(s(10,Z=!0),s(11,X="true"==U&&d.hasFunMode),s(12,q="true"==U&&d.hasAnonymousFunMode))},e=>{console.error("There was an error",e),s(5,W=!0)}).then(()=>{f&&(J?ue:le)()}),window.postMessage({type:"RequestModalSize"},window.location.href)},se=e=>{switch(e.data.type){case"GameLaunchID":ie(e.data.gameId,!0);break;case"LaunchGameFrame":ae(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":setTimeout(()=>{s(10,Z="true"===B)},500);break;case"UserSessionID":if(0<e.data.session.length){u=e.data.session,e.data.userID,s(4,$=!0);let t=setInterval(()=>{if(d){let e=new URL(d.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",u),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",k),s(9,d.launchUrl=e,d),clearInterval(t)}},250)}break;case"ModalSize":s(17,m=e.data.modalContainerSize.modalWidth),s(18,g=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(te=e.data.receivedFavoriteResults.items)}},oe=e=>{var t="gamepage";d.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href),s(9,d.isFavored=!1,d)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href),s(9,d.isFavored=!0,d))},ae=(e,r)=>{let t=new URL(`${T}/casino/games/${e}`);t.searchParams.append("language",k),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;s(9,d=re(e[0])),d.launchUrl&&s(9,d.isFavored=(t=d,e=r,s(12,q="true"==U&&t.hasAnonymousFunMode),s(11,X="true"==U&&e),s(10,Z=!0),n=t.id,-1!==te.findIndex(e=>e.id==n)),d)})},le=()=>{s(17,m=d.width),s(18,g=d.height),s(19,v=d.width),s(20,w=d.height),y=d.width,_=d.height},ue=()=>{let e=getComputedStyle(f),t=getComputedStyle(p),n=parseInt(e.width.slice(0,-2)),r=parseInt(e.height.slice(0,-2));var i=d.width/(d.height+100);y=parseInt(t.width),_=parseInt(t.height),n/i>r-E.clientHeight-S.clientHeight?(_=r-E.clientHeight-S.clientHeight,y=r*i):(y=n,_=n/i),s(19,v=y?Math.floor(y)+"px":"1280px"),s(20,w=_?Math.floor(_)+"px":"720px")},ce=e=>{var t;ne?(t={url:e.launchUrl,id:e.id,vendor:e.vendor.name},pr("OPEN_GAME",t)):"false"==B?window.open(e.launchUrl,"_blank"):"true"==B&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:e.id},window.location.href)},he=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:Z},window.location.href),Z&&(f&&ue(),window.addEventListener("ModalSize",se,!1))},de=()=>{C&&(window.postMessage({type:C,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),N&&(window.location=N)},fe=()=>{R&&(window.postMessage({type:R,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),A&&(window.location=A)},pe=()=>{I&&(window.postMessage({type:I},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),L&&(window.location=L)};function me(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!K||ge()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",me,!1),document.addEventListener("mozfullscreenchange",me,!1),document.addEventListener("fullscreenchange",me,!1),document.addEventListener("MSFullscreenChange",me,!1));const ge=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(K?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),s(16,K=!1)):(f.requestFullscreen?f.requestFullscreen():f.webkitRequestFullscreen?f.webkitRequestFullscreen():f.mozRequestFullScreen?f.mozRequestFullScreen():f.msRequestFullscreen&&f.msRequestFullscreen(),s(16,K=!0)))},ye=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},_e=setInterval(()=>{s(2,a=F?mr().format(F):mr().format("LTS"))},100),ve=e=>{z=0,h=setInterval(()=>{z+=1,s(8,V=!0),3<=z&&clearInterval(h)},1e3)},we=e=>{z<3&&s(8,V=!1),clearInterval(h)};return e=()=>(window.addEventListener("resize",he,!1),window.addEventListener("message",se,!1),ne=!!fr(Q),null==c||c.addEventListener("mousedown",ve,!1),null==c||c.addEventListener("touchstart",ve,!1),null==c||c.addEventListener("mouseup",we,!1),null==c||c.addEventListener("touchend",we,!1),()=>{window.removeEventListener("resize",he),window.removeEventListener("message",se),clearInterval(_e),null==c||c.removeEventListener("mousedown",ve),null==c||c.removeEventListener("touchstart",ve),null==c||c.removeEventListener("mouseup",we),null==c||c.removeEventListener("touchend",we)}),function(){if(!Ee)throw new Error("Function called outside component initialization");return Ee}().$$.on_mount.push(e),t.$$set=e=>{"endpoint"in e&&s(34,T=e.endpoint),"lang"in e&&s(35,k=e.lang),"session"in e&&s(36,M=e.session),"userid"in e&&s(37,P=e.userid),"clientstyling"in e&&s(38,O=e.clientstyling),"clientstylingurl"in e&&s(39,x=e.clientstylingurl),"favorites"in e&&s(0,D=e.favorites),"loginurl"in e&&s(40,N=e.loginurl),"registerurl"in e&&s(41,A=e.registerurl),"depositurl"in e&&s(42,L=e.depositurl),"loginevent"in e&&s(43,C=e.loginevent),"registerevent"in e&&s(44,R=e.registerevent),"depositevent"in e&&s(45,I=e.depositevent),"clockformat"in e&&s(46,F=e.clockformat),"haspanicbutton"in e&&s(1,Y=e.haspanicbutton),"playforfun"in e&&s(47,U=e.playforfun),"checksession"in e&&s(48,G=e.checksession),"integratedgameframe"in e&&s(49,B=e.integratedgameframe),"gameid"in e&&s(50,j=e.gameid)},t.$$.update=()=>{var r,i,e;16&t.$$.dirty[1]&&k&&(e=k,Jn.set(e),s(6,H=!1),s(21,ee=!!((e=Q).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)))),524312&t.$$.dirty[1]&&T&&j&&k&&ie(j),104&t.$$.dirty[1]&&M&&P&&T&&("true"==G?(r=T,i=M,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),Te(`${r}/player/session/player`,{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{u=e.Guid,e.UserID,s(4,$=!0)},e=>{s(4,$=!1),console.error("err on session",e)})):u=M),128&t.$$.dirty[1]&&O&&(()=>{let e=document.createElement("style");e.innerHTML=O,b.appendChild(e)})(),256&t.$$.dirty[1]&&x&&(()=>{let t=document.createElement("style");var e;x&&(e=new URL(x),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,b&&setTimeout(()=>{b.appendChild(t)},1)}))})()},[D,Y,a,l,$,W,H,c,V,d,Z,X,q,J,f,p,K,m,g,v,w,ee,b,E,S,n,Q,oe,ce,de,fe,pe,ge,ye,T,k,M,P,O,x,N,A,L,C,R,I,F,U,G,B,j,()=>oe(d.id),()=>oe(d.id),()=>pe(),()=>{ce(d)},function(e){Se[e?"unshift":"push"](()=>{c=e,s(7,c)})},()=>ye(),()=>de(),()=>fe(),()=>{ce(d)},()=>de(),()=>fe(),function(e){Se[e?"unshift":"push"](()=>{l=e,s(3,l)})},()=>pe(),function(e){Se[e?"unshift":"push"](()=>{S=e,s(24,S)})},()=>ye(),()=>ge(),()=>ge(),function(e){Se[e?"unshift":"push"](()=>{E=e,s(23,E)})},function(e){Se[e?"unshift":"push"](()=>{p=e,s(15,p)})},function(e){Se[e?"unshift":"push"](()=>{f=e,s(14,f)})},function(e){Se[e?"unshift":"push"](()=>{l=e,s(3,l)})},()=>de(),()=>fe(),function(e){Se[e?"unshift":"push"](()=>{S=e,s(24,S)})},()=>ge(),()=>ge(),function(e){Se[e?"unshift":"push"](()=>{E=e,s(23,E)})},function(e){Se[e?"unshift":"push"](()=>{p=e,s(15,p)})},function(e){Se[e?"unshift":"push"](()=>{f=e,s(14,f)})},()=>de(),()=>fe(),function(e){Se[e?"unshift":"push"](()=>{b=e,s(22,b)})}]}class Yr 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'}.CasinoGamePageContainer{height:100%}.BottomGame{padding-left:60px;padding-right:60px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-green, #48952a);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px;cursor:pointer}.PlayNowButton{background-color:var(--emfe-w-color-primary, #D0046C)}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.BottomGame .ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px;margin-top:20px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:center}#IframeGame{width:100%;height:100%}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicText{display:flex;align-items:center}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{transition:all 3000ms ease-in;background-color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-white, #FFFFFF)}</style>",l(this,{target:this.shadowRoot,props:function(e){const t={};for(const n of e)t[n.name]=n.value;return t}(this.attributes),customElement:!0},Fr,Ir,n,{endpoint:34,lang:35,session:36,userid:37,clientstyling:38,clientstylingurl:39,favorites:0,loginurl:40,registerurl:41,depositurl:42,loginevent:43,registerevent:44,depositevent:45,clockformat:46,haspanicbutton:1,playforfun:47,checksession:48,integratedgameframe:49,gameid:50},[-1,-1,-1,-1]),e&&(e.target&&D(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframe","gameid"]}get endpoint(){return this.$$.ctx[34]}set endpoint(e){this.$set({endpoint:e}),b()}get lang(){return this.$$.ctx[35]}set lang(e){this.$set({lang:e}),b()}get session(){return this.$$.ctx[36]}set session(e){this.$set({session:e}),b()}get userid(){return this.$$.ctx[37]}set userid(e){this.$set({userid:e}),b()}get clientstyling(){return this.$$.ctx[38]}set clientstyling(e){this.$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[39]}set clientstylingurl(e){this.$set({clientstylingurl:e}),b()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$set({favorites:e}),b()}get loginurl(){return this.$$.ctx[40]}set loginurl(e){this.$set({loginurl:e}),b()}get registerurl(){return this.$$.ctx[41]}set registerurl(e){this.$set({registerurl:e}),b()}get depositurl(){return this.$$.ctx[42]}set depositurl(e){this.$set({depositurl:e}),b()}get loginevent(){return this.$$.ctx[43]}set loginevent(e){this.$set({loginevent:e}),b()}get registerevent(){return this.$$.ctx[44]}set registerevent(e){this.$set({registerevent:e}),b()}get depositevent(){return this.$$.ctx[45]}set depositevent(e){this.$set({depositevent:e}),b()}get clockformat(){return this.$$.ctx[46]}set clockformat(e){this.$set({clockformat:e}),b()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$set({haspanicbutton:e}),b()}get playforfun(){return this.$$.ctx[47]}set playforfun(e){this.$set({playforfun:e}),b()}get checksession(){return this.$$.ctx[48]}set checksession(e){this.$set({checksession:e}),b()}get integratedgameframe(){return this.$$.ctx[49]}set integratedgameframe(e){this.$set({integratedgameframe:e}),b()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$set({gameid:e}),b()}}return customElements.get("casino-game-page")||customElements.define("casino-game-page",Yr),Yr});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(e){"use strict";var t;(t=e)&&"object"==typeof t&&0 in t;function h(){}function d(e){return e()}function f(){return Object.create(null)}function D(e){e.forEach(d)}function p(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function Se(e,...t){if(null==e)return h;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function O(e,t){e.appendChild(t)}function x(e,t,n){e.insertBefore(t,n||null)}function N(e){e.parentNode.removeChild(e)}function A(e){return document.createElement(e)}function c(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function C(e){return document.createTextNode(e)}function L(){return C(" ")}function s(){return C("")}function I(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function R(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function F(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function P(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}function Y(e,t,n){e.classList[n?"add":"remove"](t)}let Te;function m(e){Te=e}const g=[],ke=[],r=[],i=[],y=Promise.resolve();let _=!1;function v(e){r.push(e)}let o=!1;const a=new Set;function w(){if(!o){o=!0;do{for(let e=0;e<g.length;e+=1){var t=g[e];m(t),function(e){{var t;null!==e.fragment&&(e.update(),D(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(v))}}(t.$$)}for(m(null),g.length=0;ke.length;)ke.pop()();for(let e=0;e<r.length;e+=1){const n=r[e];a.has(n)||(a.add(n),n())}}while(r.length=0,g.length);for(;i.length;)i.pop()();_=!1,o=!1,a.clear()}}const b=new Set;function u(r,e,t,n,i,o,s=[-1]){var a,u=Te;m(r);const l=r.$$={fragment:null,ctx:null,props:o,update:h,not_equal:i,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(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return l.ctx&&i(l.ctx[e],l.ctx[e]=n)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&(g.push(e),_||(_=!0,y.then(w)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],l.update(),c=!0,D(l.before_update),l.fragment=!!n&&n(l.ctx),e.target){if(e.hydrate){const r=(n=e.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(r),r.forEach(N)}else l.fragment&&l.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(b.delete(a),a.i(void 0)),function(t,e,n,r){const{fragment:i,on_mount:o,on_destroy:s,after_update:a}=t.$$;i&&i.m(e,n),r||v(()=>{var e=o.map(d).filter(p);s?s.push(...e):D(e),t.$$.on_mount=[]}),a.forEach(v)}(r,e.target,e.anchor,e.customElement),w()}m(u)}let l;"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(d).filter(p);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){D(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(D(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=h}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var E,S,T="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==T&&T,k="URLSearchParams"in T,M="Symbol"in T&&"iterator"in Symbol,U="FileReader"in T&&"Blob"in T&&function(){try{return new Blob,!0}catch(e){return!1}}(),G="FormData"in T,B="ArrayBuffer"in T;function j(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 $(e){return e="string"!=typeof e?String(e):e}function W(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return M&&(e[Symbol.iterator]=function(){return e}),e}function H(t){this.map={},t instanceof H?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 V(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function z(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Z(e){var t=new FileReader,n=z(t);return t.readAsArrayBuffer(e),n}function X(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function q(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:U&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:G&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:k&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():B&&U&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=X(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):B&&(ArrayBuffer.prototype.isPrototypeOf(e)||S(e))?this._bodyArrayBuffer=X(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):k&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},U&&(this.blob=function(){var e=V(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?V(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(Z)}),this.text=function(){var e,t,n=V(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,n=z(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},G&&(this.formData=function(){return this.text().then(Q)}),this.json=function(){return this.text().then(JSON.parse)},this}B&&(E=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],S=ArrayBuffer.isView||function(e){return e&&-1<E.indexOf(Object.prototype.toString.call(e))}),H.prototype.append=function(e,t){e=j(e),t=$(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},H.prototype.delete=function(e){delete this.map[j(e)]},H.prototype.get=function(e){return e=j(e),this.has(e)?this.map[e]:null},H.prototype.has=function(e){return this.map.hasOwnProperty(j(e))},H.prototype.set=function(e,t){this.map[j(e)]=$(t)},H.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},H.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),W(n)},H.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),W(t)},H.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),W(n)},M&&(H.prototype[Symbol.iterator]=H.prototype.entries);var J=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function K(e,t){if(!(this instanceof K))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof K){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new H(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new H(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<J.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Q(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function ee(e,t){if(!(this instanceof ee))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 H(t.headers),this.url=t.url||"",this._initBody(e)}K.prototype.clone=function(){return new K(this,{body:this._bodyInit})},q.call(K.prototype),q.call(ee.prototype),ee.prototype.clone=function(){return new ee(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new H(this.headers),url:this.url})},ee.error=function(){var e=new ee(null,{status:0,statusText:""});return e.type="error",e};var te=[301,302,303,307,308];ee.redirect=function(e,t){if(-1===te.indexOf(t))throw new RangeError("Invalid status code");return new ee(null,{status:t,headers:{location:e}})};var ne=T.DOMException;try{new ne}catch(e){(ne=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),ne.prototype.constructor=ne}function re(r,s){return new Promise(function(i,e){var t=new K(r,s);if(t.signal&&t.signal.aborted)return e(new ne("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var e,n,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",n=new H,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL");var r="response"in o?o.response:o.responseText;setTimeout(function(){i(new ee(r,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new ne("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&T.location.href?T.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(U?o.responseType="blob":B&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof H?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){o.setRequestHeader(e,$(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",n)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}function Nn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}re.polyfill=!0,T.fetch||(T.fetch=re,T.Headers=H,T.Request=K,T.Response=ee);var Me=self.fetch.bind(self),ie=function(e,t){return(ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function oe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ie(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function se(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ae(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function ue(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function le(e){return"function"==typeof e}function ce(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 he=ce(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 de(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var fe=(me.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=se(o),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 o.remove(this);o=this.initialTeardown;if(le(o))try{o()}catch(e){i=e instanceof he?e.errors:[e]}o=this._teardowns;if(o){this._teardowns=null;try{for(var u=se(o),l=u.next();!l.done;l=u.next()){var c=l.value;try{ye(c)}catch(e){i=null!=i?i:[],e instanceof he?i=ue(ue([],ae(i)),ae(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new he(i)}},me.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ye(e);else{if(e instanceof me){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},me.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},me.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},me.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&de(t,e)},me.prototype.remove=function(e){var t=this._teardowns;t&&de(t,e),e instanceof me&&e._removeParent(this)},me.EMPTY=(($t=new me).closed=!0,$t),me),pe=fe.EMPTY;function me(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function ge(e){return e instanceof fe||e&&"closed"in e&&le(e.remove)&&le(e.add)&&le(e.unsubscribe)}function ye(e){le(e)?e():e.unsubscribe()}var _e=void 0,ve=!1,we=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,ue([],ae(e)))};function be(){}function Ee(e){e()}var Pe,De,Oe=(oe(Ae,De=fe),Ae.create=function(e,t,n){return new xe(e,t,n)},Ae.prototype.next=function(e){this.isStopped||this._next(e)},Ae.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ae.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ae.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,De.prototype.unsubscribe.call(this),this.destination=null)},Ae.prototype._next=function(e){this.destination.next(e)},Ae.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ae.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ae),xe=(oe(Ne,Pe=Oe),Ne);function Ne(e,t,n){var r,i,o=Pe.call(this)||this;return le(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,o&&ve?(r=Object.create(e)).unsubscribe=function(){return o.unsubscribe()}:r=e,i=null==i?void 0:i.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),o.destination={next:i?Ce(i):be,error:Ce(null!=t?t:Le),complete:n?Ce(n):be},o}function Ae(e){var t=De.call(this)||this;return t.isStopped=!1,e?ge(t.destination=e)&&e.add(t):t.destination=Ie,t}function Ce(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,ue([],ae(e)))}catch(e){t=e,we(function(){throw t})}}}function Le(e){throw e}var Ie={closed:!0,next:be,error:Le,complete:be},Re="function"==typeof Symbol&&Symbol.observable||"@@observable";function Fe(e){return e}var Ye=(Ue.prototype.lift=function(e){var t=new Ue;return t.source=this,t.operator=e,t},Ue.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof Oe||r&&le(r.next)&&le(r.error)&&le(r.complete)&&ge(r)?e:new xe(e,t,n);return Ee(function(){var e=i.operator,t=i.source;o.add(e?e.call(o,t):t?i._subscribe(o):i._trySubscribe(o))}),o},Ue.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Ue.prototype.forEach=function(r,e){var i=this;return new(e=Ge(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},Ue.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Ue.prototype[Re]=function(){return this},Ue.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Fe:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Ue.prototype.toPromise=function(e){var r=this;return new(e=Ge(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Ue.create=function(e){return new Ue(e)},Ue);function Ue(e){e&&(this._subscribe=e)}function Ge(e){return null!==(e=null!=e?e:_e)&&void 0!==e?e:Promise}var Be,je,$e,We=ce(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),He=(oe(Je,$e=Ye),Je.prototype.lift=function(e){var t=new Ve(this,this);return t.operator=e,t},Je.prototype._throwIfClosed=function(){if(this.closed)throw new We},Je.prototype.next=function(o){var s=this;Ee(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var r=se(n),i=r.next();!i.done;i=r.next())i.value.next(o)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Je.prototype.error=function(t){var n=this;Ee(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},Je.prototype.complete=function(){var t=this;Ee(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Je.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Je.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Je.prototype._trySubscribe=function(e){return this._throwIfClosed(),$e.prototype._trySubscribe.call(this,e)},Je.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Je.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?pe:(r.push(e),new fe(function(){return de(r,e)}))},Je.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Je.prototype.asObservable=function(){var e=new Ye;return e.source=this,e},Je.create=function(e,t){return new Ve(e,t)},Je),Ve=(oe(qe,je=He),qe.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},qe.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},qe.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)},qe.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:pe},qe),ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0},Ze=(oe(Xe,Be=He),Xe.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(o.now()+t)),this._trimBuffer(),Be.prototype.next.call(this,e)},Xe.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},Xe.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},Xe);function Xe(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=ze);var r=Be.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function qe(e,t){var n=je.call(this)||this;return n.destination=e,n.source=t,n}function Je(){var e=$e.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ke=[],Qe={};const et=[];function tt(r,i=h){let o;const s=[];function a(e){if(n(r,e)&&(r=e,o)){const e=!et.length;for(let e=0;e<s.length;e+=1){const o=s[e];o[1](),et.push(o,r)}if(e){for(let e=0;e<et.length;e+=2)et[e][0](et[e+1]);et.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=h){const n=[e,t];return s.push(n),1===s.length&&(o=i(a)||h),e(r),()=>{var e=s.indexOf(n);-1!==e&&s.splice(e,1),0===s.length&&(o(),o=null)}}}}function nt(e,a,t){const u=!Array.isArray(e),l=u?[e]:e,c=a.length<2;return{subscribe:tt(t,t=>{let n=!1;const r=[];let i=0,o=h;const s=()=>{var e;i||(o(),e=a(u?r[0]:r,t),c?t(e):o=p(e)?e:h)},e=l.map((e,t)=>Se(e,e=>{r[t]=e,i&=~(1<<t),n&&s()},()=>{i|=1<<t}));return n=!0,s(),function(){D(e),o()}}).subscribe}}var rt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===it));var t},it="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ot(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ct(Array.isArray(e)?[]:{},e,t):e}function st(e,t,n){return e.concat(t).map(function(e){return ot(e,n)})}function at(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function ut(e,t){try{return t in e}catch(e){return!1}}function lt(r,i,o){var s={};return o.isMergeableObject(r)&&at(r).forEach(function(e){s[e]=ot(r[e],o)}),at(i).forEach(function(t){var e,n;(!ut(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(ut(r,t)&&o.isMergeableObject(i[t])?s[t]=function(){if(!o.customMerge)return ct;var e=o.customMerge(t);return"function"==typeof e?e:ct}()(r[t],i[t],o):s[t]=ot(i[t],o))}),s}function ct(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||st,n.isMergeableObject=n.isMergeableObject||rt,n.cloneUnlessOtherwiseSpecified=ot;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):lt(e,t,n):ot(t,n)}ct.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return ct(e,t,n)},{})};var ht=ct,dt=function(e,t){return(dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function ft(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}dt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var pt,mt,gt,yt=function(){return(yt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function _t(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function vt(e){return e.type===mt.literal}function wt(e){return e.type===mt.number}function bt(e){return e.type===mt.date}function Et(e){return e.type===mt.time}function St(e){return e.type===mt.select}function Tt(e){return e.type===mt.plural}function kt(e){return e.type===mt.tag}function Mt(e){return e&&"object"==typeof e&&e.type===gt.number}function Pt(e){return e&&"object"==typeof e&&e.type===gt.dateTime}(Wt=pt=pt||{})[Wt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Wt[Wt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Wt[Wt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Wt[Wt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Wt[Wt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Wt[Wt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Wt[Wt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Wt[Wt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Wt[Wt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Wt[Wt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Wt[Wt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Wt[Wt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Wt[Wt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Wt[Wt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Wt[Wt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Wt[Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Wt[Wt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Wt[Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Wt[Wt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Wt[Wt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Wt[Wt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Wt[Wt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Wt[Wt.INVALID_TAG=23]="INVALID_TAG",Wt[Wt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Wt[Wt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Wt[Wt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Ht=mt=mt||{})[Ht.literal=0]="literal",Ht[Ht.argument=1]="argument",Ht[Ht.number=2]="number",Ht[Ht.date=3]="date",Ht[Ht.time=4]="time",Ht[Ht.select=5]="select",Ht[Ht.plural=6]="plural",Ht[Ht.pound=7]="pound",Ht[Ht.tag=8]="tag",(Vt=gt=gt||{})[Vt.number=0]="number",Vt[Vt.dateTime=1]="dateTime";var Dt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ot=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var xt,Nt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,At=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ct=/^(@+)?(\+|#+)?$/g,Lt=/(\*)(0+)|(#+)(0+)|(0+)/g,It=/^(0+)$/;function Rt(e){var r={};return e.replace(Ct,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Ft(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 Yt(e){return Ft(e)||{}}function Ut(e){for(var s={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.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=i.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=yt(yt(yt({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return yt(yt({},e),Yt(t))},{}));continue;case"engineering":s=yt(yt(yt({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return yt(yt({},e),Yt(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(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Lt,function(e,t,n,r,i,o){if(t)s.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(It.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(At.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(At,function(e,t,n,r,i,o){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),i.options.length&&(s=yt(yt({},s),Rt(i.options[0])))}else Ct.test(i.stem)?s=yt(yt({},s),Rt(i.stem)):((r=Ft(i.stem))&&(s=yt(yt({},s),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!It.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=yt(yt({},s),r)))}return s}var Gt=new RegExp("^"+Dt.source+"*"),Bt=new RegExp(Dt.source+"*$");function jt(e,t){return{start:e,end:t}}var $t=!!String.prototype.startsWith,Re=!!String.fromCodePoint,He=!!Object.fromEntries,Wt=!!String.prototype.codePointAt,Ht=!!String.prototype.trimStart,Vt=!!String.prototype.trimEnd,zt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dt=!0;try{Dt="a"===(null===(xt=nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===xt?void 0:xt[0])}catch(e){Dt=!1}var Zt,Xt,qt=$t?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Jt=Re?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;o<i;){if(1114111<(n=e[o++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Kt=He?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],i=i[1];t[o]=i}return t},Qt=Wt?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},en=Ht?function(e){return e.trimStart()}:function(e){return e.replace(Gt,"")},tn=Vt?function(e){return e.trimEnd()}:function(e){return e.replace(Bt,"")};function nn(e,t){return new RegExp(e,t)}Xt=Dt?(Zt=nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Zt.lastIndex=t,null!==(e=Zt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=Qt(e,t);if(void 0===i||an(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return Jt.apply(void 0,r)};var rn=(on.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},on.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(pt.UNMATCHED_CLOSING_TAG,jt(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&sn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{o=this.clonePosition();this.bump(),r.push({type:mt.pound,location:jt(o,this.clonePosition())})}}}return{val:r,err:null}},on.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:mt.literal,value:"<"+r+"/>",location:jt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!sn(this.char()))return this.error(pt.INVALID_TAG,jt(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(pt.UNMATCHED_CLOSING_TAG,jt(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:mt.tag,value:r,children:e,location:jt(n,this.clonePosition())},err:null}:this.error(pt.INVALID_TAG,jt(t,this.clonePosition())))}return this.error(pt.UNCLOSED_TAG,jt(n,this.clonePosition()))}return this.error(pt.INVALID_TAG,jt(n,this.clonePosition()))},on.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())},on.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=jt(n,this.clonePosition());return{val:{type:mt.literal,value:r,location:n},err:null}},on.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(sn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},on.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Jt.apply(void 0,t)},on.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Jt(n))},on.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,jt(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(pt.EMPTY_ARGUMENT,jt(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(pt.MALFORMED_ARGUMENT,jt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,jt(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:mt.argument,value:r,location:jt(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,jt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(pt.MALFORMED_ARGUMENT,jt(n,this.clonePosition()))}},on.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Xt(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:jt(e,this.clonePosition())}},on.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(pt.EXPECT_ARGUMENT_TYPE,jt(o,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(h=tn(d.val)).length)return this.error(pt.EXPECT_ARGUMENT_STYLE,jt(this.clonePosition(),this.clonePosition()));u={style:h,styleLocation:jt(l,this.clonePosition())}}if((f=this.tryParseArgumentClose(r)).err)return f;var c=jt(r,this.clonePosition());if(u&&qt(null==u?void 0:u.style,"::",0)){l=en(u.style.slice(2));if("number"===s)return(d=this.parseNumberSkeletonFromString(l,u.styleLocation)).err?d:{val:{type:mt.number,value:n,location:c,style:d.val},err:null};if(0===l.length)return this.error(pt.EXPECT_DATE_TIME_SKELETON,c);var h={type:gt.dateTime,pattern:l,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},l.replace(Ot,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===s?mt.date:mt.time,value:n,location:c,style:h},err:null}}return{val:{type:"number"===s?mt.number:"date"===s?mt.date:mt.time,value:n,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(pt.EXPECT_SELECT_ARGUMENT_OPTIONS,jt(u,yt({},u)));this.bumpSpace();var d,c=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,jt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,pt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),c=this.parseIdentifierIfPossible(),u=d.val}c=this.tryParsePluralOrSelectOptions(e,s,t,c);if(c.err)return c;if((f=this.tryParseArgumentClose(r)).err)return f;var f=jt(r,this.clonePosition());return"select"===s?{val:{type:mt.select,value:n,options:Kt(c.val),location:f},err:null}:{val:{type:mt.plural,value:n,options:Kt(c.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:f},err:null};default:return this.error(pt.INVALID_ARGUMENT_TYPE,jt(o,a))}},on.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,jt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},on.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(pt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,jt(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},on.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(Nt).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(pt.INVALID_NUMBER_SKELETON,t)}return{val:{type:gt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ut(n):{}},err:null}},on.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,o=[],s=new Set,a=r.value,u=r.location;;){if(0===a.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(pt.EXPECT_PLURAL_ARGUMENT_SELECTOR,pt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=jt(l,this.clonePosition()),a=this.message.slice(l.offset,this.offset())}if(s.has(a))return this.error("select"===t?pt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:pt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?pt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:pt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,jt(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;l=this.tryParseArgumentClose(h);if(l.err)return l;o.push([a,{value:c.val,location:jt(h,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,u=h.location}return 0===o.length?this.error("select"===t?pt.EXPECT_SELECT_ARGUMENT_SELECTOR:pt.EXPECT_PLURAL_ARGUMENT_SELECTOR,jt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(pt.MISSING_OTHER_CLAUSE,jt(this.clonePosition(),this.clonePosition())):{val:o,err:null}},on.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}r=jt(r,this.clonePosition());return i?zt(o*=n)?{val:o,err:null}:this.error(t,r):this.error(e,r)},on.prototype.offset=function(){return this.position.offset},on.prototype.isEOF=function(){return this.offset()===this.message.length},on.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},on.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Qt(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},on.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},on.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))},on.prototype.bumpIf=function(e){if(qt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},on.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)},on.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}},on.prototype.bumpSpace=function(){for(;!this.isEOF()&&an(this.char());)this.bump()},on.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},on);function on(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function sn(e){return 97<=e&&e<=122||65<=e&&e<=90}function an(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function un(e,t){t=yt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new rn(e,t).parse();if(n.err){e=SyntaxError(pt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,St(e)||Tt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else wt(e)&&Mt(e.style)||(bt(e)||Et(e))&&Pt(e.style)?delete e.style.location:kt(e)&&n(e.children)})}(n.val),n.val}function ln(e,t){var n=t&&t.cache?t.cache:gn,r=t&&t.serializer?t.serializer:fn;return(t&&t.strategy?t.strategy:function(e,t){return dn(e,this,1===e.length?cn:hn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function cn(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function hn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function dn(e,t,n,r,i){return n.bind(t,e,r,i)}var fn=function(){return JSON.stringify(arguments)};function pn(){this.cache=Object.create(null)}pn.prototype.has=function(e){return e in this.cache},pn.prototype.get=function(e){return this.cache[e]},pn.prototype.set=function(e,t){this.cache[e]=t};var mn,gn={create:function(){return new pn}},yn={variadic:function(e,t){return dn(e,this,hn,t.cache.create(),t.serializer)},monadic:function(e,t){return dn(e,this,cn,t.cache.create(),t.serializer)}};(Dt=mn=mn||{}).MISSING_VALUE="MISSING_VALUE",Dt.INVALID_VALUE="INVALID_VALUE",Dt.MISSING_INTL_API="MISSING_INTL_API";var _n,vn,wn,bn,En,Sn=(ft(xn,En=Error),xn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},xn),Tn=(ft(On,bn=Sn),On),kn=(ft(Dn,wn=Sn),Dn),Mn=(ft(Pn,vn=Sn),Pn);function Pn(e,t){return vn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',mn.MISSING_VALUE,t)||this}function Dn(e,t,n){return wn.call(this,'Value for "'+e+'" must be of type '+t,mn.INVALID_VALUE,n)||this}function On(e,t,n,r){return bn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',mn.INVALID_VALUE,r)||this}function xn(e,t,n){e=En.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function An(e,t,n,r,i,o,s){if(1===e.length&&vt(e[0]))return[{type:_n.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];if(vt(c))a.push({type:_n.literal,value:c.value});else if(c.type===mt.pound)"number"==typeof o&&a.push({type:_n.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;if(!(i&&h in i))throw new Mn(h,s);var d=i[h];if(c.type===mt.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?_n.literal:_n.object,value:d});else if(bt(c)){var f="string"==typeof c.style?r.date[c.style]:Pt(c.style)?c.style.parsedOptions:void 0;a.push({type:_n.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(Et(c))f="string"==typeof c.style?r.time[c.style]:Pt(c.style)?c.style.parsedOptions:void 0,a.push({type:_n.literal,value:n.getDateTimeFormat(t,f).format(d)});else if(wt(c))(f="string"==typeof c.style?r.number[c.style]:Mt(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:_n.literal,value:n.getNumberFormat(t,f).format(d)});else{if(kt(c)){var p=c.children,m=c.value,h=i[m];if("function"!=typeof h)throw new kn(m,"function",s);p=h(An(p,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),a.push.apply(a,p.map(function(e){return{type:"string"==typeof e?_n.literal:_n.object,value:e}}))}if(St(c)){if(!(g=c.options[d]||c.options.other))throw new Tn(c.value,d,Object.keys(c.options),s);a.push.apply(a,An(g.value,t,n,r,i))}else if(Tt(c)){if(!(g=c.options["="+d])){if(!Intl.PluralRules)throw new Sn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',mn.MISSING_INTL_API,s);var p=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0)),g=c.options[p]||c.options.other}if(!g)throw new Tn(c.value,d,Object.keys(c.options),s);a.push.apply(a,An(g.value,t,n,r,i,d-(c.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===_n.literal&&t.type===_n.literal?n.value+=t.value:e.push(t),e},[])}function Cn(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(Dt=_n=_n||{})[Dt.literal=0]="literal",Dt[Dt.object=1]="object";var Ln=(Object.defineProperty(In,"defaultLocale",{get:function(){return In.memoizedDefaultLocale||(In.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),In.memoizedDefaultLocale},enumerable:!1,configurable:!0}),In.memoizedDefaultLocale=null,In.__parse=un,In.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"}}},In);function In(e,t,n,r){var i,o,s=this;if(void 0===t&&(t=In.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===_n.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 An(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,!In.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=In.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=In.formats,(o=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=o[t])?yt(yt(yt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=yt(yt({},n[t]),r[t]||{}),e},{})):n),e},yt({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,_t([void 0],t)))},{cache:Cn((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:yn.variadic}),getDateTimeFormat:ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,_t([void 0],t)))},{cache:Cn(r.dateTime),strategy:yn.variadic}),getPluralRules:ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,_t([void 0],t)))},{cache:Cn(r.pluralRules),strategy:yn.variadic})}}const Rn={},Fn=(t,n)=>{if(null!=n){if(n in Rn&&t in Rn[n])return Rn[n][t];var r,i,o=Qn(n);for(let e=0;e<o.length;e++){var s=(r=o[e],i=t,Gn(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return Yn[e]||null}(r),i):null);if(s)return r=t,i=n,(s=s)&&(i in Rn||(Rn[i]={}),r in Rn[i]||(Rn[i][r]=s),s)}}};let Yn;const Un=tt({});function Gn(e){return e in Yn}function Bn(t,...n){delete Rn[t],Un.update(e=>(e[t]=ht.all([e[t]||{},...n]),e))}nt([Un],([e])=>Object.keys(e)),Un.subscribe(e=>Yn=e);const jn={};function $n(e){return jn[e]}function Wn(e){return Qn(e).some(e=>{return null===(e=$n(e))||void 0===e?void 0:e.size})}const Hn={};function Vn(e){if(!Wn(e))return e in Hn?Hn[e]:void 0;const t=Qn(e).map(e=>{var t=$n(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Hn[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){jn[e].delete(t),0===jn[e].size&&delete jn[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Bn(t,...e))}(e))).then(()=>Wn(e)?Vn(e):void delete Hn[e]),Hn[e]}function zn(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Zn={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 Xn=tt(!1);let qn;const Jn=tt(null);function Kn(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Qn(e,t=Zn.fallbackLocale){e=Kn(e);return t?[...new Set([...e,...Kn(t)])]:e}Jn.subscribe(e=>{qn=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const er=Jn.set;Jn.set=t=>{if(function(e){if(null!=e){var t=Qn(e);for(let e=0;e<t.length;e++){var n=t[e];if(Gn(n))return n}}}(t)&&Wn(t)){var{loadingDelay:n}=Zn;let e;return"undefined"!=typeof window&&null!=qn&&n?e=window.setTimeout(()=>Xn.set(!0),n):Xn.set(!0),Vn(t).then(()=>{er(t)}).finally(()=>{clearTimeout(e),Xn.set(!1)})}return er(t)},Jn.update=e=>er(e(qn));const tr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},nr=(e,t)=>{var{formats:n}=Zn;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},rr=tr(e=>{var{locale:t,format:n}=e,e=zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=nr("number",n)),new Intl.NumberFormat(t,e)}),ir=tr(e=>{var{locale:t,format:n}=e,e=zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=nr("date",n):0===Object.keys(e).length&&(e=nr("date","short")),new Intl.DateTimeFormat(t,e)}),or=tr(e=>{var{locale:t,format:n}=e,e=zn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=nr("time",n):0===Object.keys(e).length&&(e=nr("time","short")),new Intl.DateTimeFormat(t,e)}),sr=tr((e,t=qn)=>new Ln(e,t,Zn.formats,{ignoreTag:Zn.ignoreTag})),ar=nt([Jn,Un],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=qn,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=Fn(e,r);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else Zn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Qn(r).join('", "')}".${Wn(qn)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=i||e;if(!n)return o;let s=o;try{s=sr(o,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});nt([Jn],()=>(e,t)=>((e={})=>{var{locale:t=qn}=e,e=zn(e,["locale"]);return or(Object.assign({locale:t},e))})(t).format(e)),nt([Jn],()=>(e,t)=>((e={})=>{var{locale:t=qn}=e,e=zn(e,["locale"]);return ir(Object.assign({locale:t},e))})(t).format(e)),nt([Jn],()=>(e,t)=>((e={})=>{var{locale:t=qn}=e,e=zn(e,["locale"]);return rr(Object.assign({locale:t},e))})(t).format(e)),nt([Jn,Un],()=>(e,t=qn)=>Fn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ke.indexOf(e)&&(t=new Ze(t),Qe[e]=t,Ke.push(e)),Qe[e]}};const ur=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",lr={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Take 1 day break from playing - 24-hour Cool Off"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",breakButton:"Take 1 day break from playing - 24 Stunden Auszeit"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Take 1 day break from playing - 24-hour Cool Off"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Take 1 day break from playing - 24-hour Cool Off"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Take 1 day break from playing - 24-hour Cool Off"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Take 1 day break from playing - 24-hour Cool Off"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Take 1 day break from playing - 24-hour Cool Off"}}};function cr(){"undefined"==typeof window||window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n=window.cstmNativeBridge.EVENTS[e];if(n){if("function"==typeof t){var r=window.cstmNativeBridge.eventListeners[n];return window.cstmNativeBridge.eventListeners[n]=function(){delete window.cstmNativeBridge.eventListeners[n],r&&r.apply(this,arguments),t.apply(this,arguments)},!0}console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];if("function"!=typeof t)return console.error("Native Bridge `"+e+"` method is not defined"),!1;e=Array.prototype.slice.call(arguments,1);return t.apply(this,e),!0};var hr,dr,fr=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},pr=function(e,...t){try{return cr(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},mr=(dr=hr={path:void 0,exports:{},require:function(e,t){return Nn(null==t&&hr.path)}},hr.exports,dr.exports=function(){var e;function p(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function o(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=0;r<e.length;++r)n.push(t(e[r],r));return n}function c(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return Ot(e,t,n,r,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function d(e){if(null==e._isValid){var t=m(e),n=y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function g(e){var t=h(NaN);return null!=e?c(m(t),e):m(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},_=p.momentProperties=[],t=!1;function v(e,t){var n,r,i;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=m(t)),o(t._locale)||(e._locale=t._locale),0<_.length)for(n=0;n<_.length;n++)o(i=t[r=_[n]])||(e[r]=i);return e}function w(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,p.updateOffset(this),t=!1)}function b(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function E(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,o){var s=!0;return c(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,i),s){for(var e,t,n=[],r=0;r<arguments.length;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}E(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var S={};function T(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),S[e]||(E(t),S[e]=!0)}function k(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,r=c({},e);for(n in t)f(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},c(r[n],e[n]),c(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)f(e,n)&&!f(t,n)&&a(e[n])&&(r[n]=c({},r[n]));return r}function P(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var D=Object.keys||function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};function O(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var x=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,N=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,A={},C={};function L(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(C[e]=i),t&&(C[t[0]]=function(){return O(i.apply(this,arguments),t[1],t[2])}),n&&(C[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function I(e,t){return e.isValid()?(t=R(t,e.localeData()),A[t]=A[t]||function(r){for(var e,i=r.match(x),t=0,o=i.length;t<o;t++)C[i[t]]?i[t]=C[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=k(i[n])?i[n].call(e,r):i[n];return t}}(t),A[t](e)):e.localeData().invalidDate()}function R(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(N.lastIndex=0;0<=n&&N.test(e);)e=e.replace(N,r),N.lastIndex=0,--n;return e}var F={};function Y(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function U(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function G(e){var t,n,r={};for(n in e)f(e,n)&&(t=U(n))&&(r[t]=e[n]);return r}var B={};function j(e,t){B[e]=t}function $(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function H(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?W(t):e}function V(t,n){return function(e){return null!=e?(Z(this,t,e),p.updateOffset(this,n),this):z(this,t)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&$(e.year())&&1===e.month()&&29===e.date()?(n=H(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),De(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X=/\d/,q=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ie=/\d{1,4}/,oe=/[+-]?\d{1,6}/,se=/\d+/,ae=/[+-]?\d+/,ue=/Z|[+-]\d\d:?\d\d/gi,le=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,n,r){pe[e]=k(n)?n:function(e,t){return e&&r?r:n}}function de(e,t){return f(pe,e)?pe[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pe={},me={};function ge(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),l(n)&&(r=function(e,t){t[n]=H(e)}),t=0;t<e.length;t++)me[e[t]]=r}function ye(e,i){ge(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var _e,ve=0,we=1,be=2,Ee=3,Se=4,Te=5,ke=6,Me=7,Pe=8;function De(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?$(e)?29:28:31-n%7%2}_e=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},L("M",["MM",2],"Mo",function(){return this.month()+1}),L("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),L("MMMM",0,0,function(e){return this.localeData().months(this,e)}),Y("month","M"),j("month",8),he("M",ee),he("MM",ee,q),he("MMM",function(e,t){return t.monthsShortRegex(e)}),he("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[we]=H(e)-1}),ge(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[we]=r:m(n).invalidMonth=e});var Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),xe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ne=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae=ce,Ce=ce;function Le(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=H(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),De(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ie(e){return null!=e?(Le(this,e),p.updateOffset(this,!0),this):z(this,"Month")}function Re(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],o=0;o<12;o++)t=h([2e3,o]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),o=0;o<12;o++)n[o]=fe(n[o]),r[o]=fe(r[o]);for(o=0;o<24;o++)i[o]=fe(i[o]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Fe(e){return $(e)?366:365}L("Y",0,0,function(){var e=this.year();return e<=9999?O(e,4):"+"+e}),L(0,["YY",2],0,function(){return this.year()%100}),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),Y("year","y"),j("year",1),he("Y",ae),he("YY",ee,q),he("YYYY",ie,K),he("YYYYY",oe,Q),he("YYYYYY",oe,Q),ge(["YYYYY","YYYYYY"],ve),ge("YYYY",function(e,t){t[ve]=2===e.length?p.parseTwoDigitYear(e):H(e)}),ge("YY",function(e,t){t[ve]=p.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[ve]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return H(e)+(68<H(e)?1900:2e3)};var Ye=V("FullYear",!0);function Ue(e,t,n,r,i,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function Ge(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Be(e,t,n){n=7+t-n;return-(7+Ge(e,0,n).getUTCDay()-t)%7+n-1}function je(e,t,n,r,i){var o,i=1+7*(t-1)+(7+n-r)%7+Be(e,r,i),i=i<=0?Fe(o=e-1)+i:i>Fe(e)?(o=e+1,i-Fe(e)):(o=e,i);return{year:o,dayOfYear:i}}function $e(e,t,n){var r,i,o=Be(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+We(i=e.year()-1,t,n):o>We(e.year(),t,n)?(r=o-We(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function We(e,t,n){var r=Be(e,t,n),n=Be(e+1,t,n);return(Fe(e)-r+n)/7}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),j("week",5),j("isoWeek",5),he("w",ee),he("ww",ee,q),he("W",ee),he("WW",ee,q),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=H(e)});function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}L("d",0,"do","day"),L("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),L("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),L("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),he("d",ee),he("e",ee),he("E",ee),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:m(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,r){t[r]=H(e)});var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ce,qe=ce,Je=ce;function Ke(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],o=[],s=[],a=[],u=0;u<7;u++)r=h([2e3,1]).day(u),t=fe(this.weekdaysMin(r,"")),n=fe(this.weekdaysShort(r,"")),r=fe(this.weekdays(r,"")),i.push(t),o.push(n),s.push(r),a.push(t),a.push(n),a.push(r);i.sort(e),o.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){L(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,Qe),L("k",["kk",2],0,function(){return this.hours()||24}),L("hmm",0,0,function(){return""+Qe.apply(this)+O(this.minutes(),2)}),L("hmmss",0,0,function(){return""+Qe.apply(this)+O(this.minutes(),2)+O(this.seconds(),2)}),L("Hmm",0,0,function(){return""+this.hours()+O(this.minutes(),2)}),L("Hmmss",0,0,function(){return""+this.hours()+O(this.minutes(),2)+O(this.seconds(),2)}),et("a",!0),et("A",!1),Y("hour","h"),j("hour",13),he("a",tt),he("A",tt),he("H",ee),he("h",ee),he("k",ee),he("HH",ee,q),he("hh",ee,q),he("kk",ee,q),he("hmm",te),he("hmmss",ne),he("Hmm",te),he("Hmmss",ne),ge(["H","HH"],Ee),ge(["k","kk"],function(e,t,n){e=H(e);t[Ee]=24===e?0:e}),ge(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ge(["h","hh"],function(e,t,n){t[Ee]=H(e),m(n).bigHour=!0}),ge("hmm",function(e,t,n){var r=e.length-2;t[Ee]=H(e.substr(0,r)),t[Se]=H(e.substr(r)),m(n).bigHour=!0}),ge("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ee]=H(e.substr(0,r)),t[Se]=H(e.substr(r,2)),t[Te]=H(e.substr(i)),m(n).bigHour=!0}),ge("Hmm",function(e,t,n){var r=e.length-2;t[Ee]=H(e.substr(0,r)),t[Se]=H(e.substr(r))}),ge("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ee]=H(e.substr(0,r)),t[Se]=H(e.substr(r,2)),t[Te]=H(e.substr(i))});var nt=V("Hours",!0);var rt,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Oe,monthsShort:xe,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:Ze,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},ot={},st={};function at(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=at(e[o]).split("-")).length,n=(n=at(e[o+1]))?n.split("-"):null;0<t;){if(r=lt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}o++}return rt}function lt(t){var e;if(void 0===ot[t]&&dr&&dr.exports)try{e=rt._abbr,Nn(),ct(e)}catch(e){ot[t]=null}return ot[t]}function ct(e,t){return e&&((t=o(t)?dt(e):ht(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function ht(e,t){if(null===t)return delete ot[e],null;var n,r=it;if(t.abbr=e,null!=ot[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ot[e]._config;else if(null!=t.parentLocale)if(null!=ot[t.parentLocale])r=ot[t.parentLocale]._config;else{if(null==(n=lt(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ot[e]=new P(M(r,t)),st[e]&&st[e].forEach(function(e){ht(e.name,e.config)}),ct(e),ot[e]}function dt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!s(e)){if(t=lt(e))return t;e=[e]}return ut(e)}function ft(e){var t=e._a;return t&&-2===m(e).overflow&&(t=t[we]<0||11<t[we]?we:t[be]<1||t[be]>De(t[ve],t[we])?be:t[Ee]<0||24<t[Ee]||24===t[Ee]&&(0!==t[Se]||0!==t[Te]||0!==t[ke])?Ee:t[Se]<0||59<t[Se]?Se:t[Te]<0||59<t[Te]?Te:t[ke]<0||999<t[ke]?ke:-1,m(e)._overflowDayOfYear&&(t<ve||be<t)&&(t=be),m(e)._overflowWeeks&&-1===t&&(t=Me),m(e)._overflowWeekday&&-1===t&&(t=Pe),m(e).overflow=t),e}var pt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_t=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((-?\d+)/i,wt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,bt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,n,r,i,o,s,a=e._i,u=pt.exec(a)||mt.exec(a);if(u){for(m(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(u[1])){i=yt[t][0],r=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(u[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(u[3])){o=(u[2]||" ")+_t[t][0];break}if(null==o)return e._isValid=!1}if(!r&&null!=o)return e._isValid=!1;if(u[4]){if(!gt.exec(u[4]))return e._isValid=!1;s="Z"}e._f=i+(o||"")+(s||""),Pt(e)}else e._isValid=!1}function St(e,t,n,r,i,o){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),xe.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&i.push(parseInt(o,10)),i}function Tt(e){var t,n,r,i,o=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=St(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],r=t,i=e,n&&ze.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(m(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=o[8],t=o[9],o=o[10],i?bt[i]:t?0:((t=parseInt(o,10))-(o=t%100))/100*60+o),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,r,i,o,s,a,u,l,c,h,d,f=[];if(!e._d){for(h=e,d=new Date(p.now()),n=h._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[be]&&null==e._a[we]&&(null!=(h=(i=e)._w).GG||null!=h.W||null!=h.E?(u=1,l=4,o=kt(h.GG,i._a[ve],$e(xt(),1,4).year),s=kt(h.W,1),((a=kt(h.E,1))<1||7<a)&&(c=!0)):(u=i._locale._week.dow,l=i._locale._week.doy,d=$e(xt(),u,l),o=kt(h.gg,i._a[ve],d.year),s=kt(h.w,d.week),null!=h.d?((a=h.d)<0||6<a)&&(c=!0):null!=h.e?(a=h.e+u,(h.e<0||6<h.e)&&(c=!0)):a=u),s<1||s>We(o,u,l)?m(i)._overflowWeeks=!0:null!=c?m(i)._overflowWeekday=!0:(l=je(o,s,a,u,l),i._a[ve]=l.year,i._dayOfYear=l.dayOfYear)),null!=e._dayOfYear&&(r=kt(e._a[ve],n[ve]),(e._dayOfYear>Fe(r)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),r=Ge(r,0,e._dayOfYear),e._a[we]=r.getUTCMonth(),e._a[be]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=f[t]=n[t];for(;t<7;t++)e._a[t]=f[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ee]&&0===e._a[Se]&&0===e._a[Te]&&0===e._a[ke]&&(e._nextDay=!0,e._a[Ee]=0),e._d=(e._useUTC?Ge:Ue).apply(null,f),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ee]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(m(e).weekdayMismatch=!0)}}function Pt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],m(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,o=0,s=R(e._f,e._locale).match(x)||[],a=0;a<s.length;a++)n=s[a],(t=(r.match(de(n,e))||[])[0])&&(0<(h=r.substr(0,r.indexOf(t))).length&&m(e).unusedInput.push(h),r=r.slice(r.indexOf(t)+t.length),o+=t.length),C[n]?(t?m(e).empty=!1:m(e).unusedTokens.push(n),c=n,d=e,null!=(h=t)&&f(me,c)&&me[c](h,d._a,d,c)):e._strict&&!t&&m(e).unusedTokens.push(n);m(e).charsLeftOver=i-o,0<r.length&&m(e).unusedInput.push(r),e._a[Ee]<=12&&!0===m(e).bigHour&&0<e._a[Ee]&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[Ee]=(u=e._locale,l=e._a[Ee],null==(i=e._meridiem)?l:null!=u.meridiemHour?u.meridiemHour(l,i):null!=u.isPM?((i=u.isPM(i))&&l<12&&(l+=12),l=i||12!==l?l:0):l),null!==(l=m(e).era)&&(e._a[ve]=e._locale.erasConvertYear(l,e._a[ve])),Mt(e),ft(e)}else Tt(e);else Et(e);var u,l,c,h,d}function Dt(e){var t=e._i,n=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),b(t)?new w(ft(t)):(i(t)?e._d=t:s(n)?function(e){var t,n,r,i,o,s,a=!1;if(0===e._f.length)return m(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)o=0,s=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Pt(t),d(t)&&(s=!0),o+=m(t).charsLeftOver,o+=10*m(t).unusedTokens.length,m(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));c(e,n||t)}(e):n?Pt(e):o(n=(t=e)._i)?t._d=new Date(p.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=vt.exec(e._i);null===t?(Et(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:p.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):s(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),Mt(t)):a(n)?function(e){var t,n;e._d||(n=void 0===(t=G(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Mt(e))}(t):l(n)?t._d=new Date(n):p.createFromInputFallback(t),d(e)||(e._d=null),e))}function Ot(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&u(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(o=new w(ft(Dt(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function xt(e,t,n,r){return Ot(e,t,n,r,!1)}p.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};var Nt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=xt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),At=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=xt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Ct(e,t){var n,r;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return xt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Lt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var t=G(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,u=t.minute||0,l=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(f(e,t)&&(-1===_e.call(Lt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Lt.length;++n)if(e[Lt[n]]){if(r)return!1;parseFloat(e[Lt[n]])!==H(e[Lt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*l+6e4*u+1e3*a*60*60,this._days=+s+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=dt(),this._bubble()}function Rt(e){return e instanceof It}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Yt(e,n){L(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+O(~~(e/60),2)+n+O(~~e%60,2)})}Yt("Z",":"),Yt("ZZ",""),he("Z",le),he("ZZ",le),ge(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Gt(le,e)});var Ut=/([\+\-]|\d\d)/gi;function Gt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ut)||["-",0,0])[1]+H(e[2]))?0:"+"===e[0]?t:-t}function Bt(e,t){var n;return t._isUTC?(n=t.clone(),t=(b(e)||i(e)?e:xt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),p.updateOffset(n,!1),n):xt(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function $t(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Wt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ht=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vt(e,t){var n,r,i=e,o=null;return Rt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(o=Wt.exec(e))?(n="-"===o[1]?-1:1,i={y:0,d:H(o[be])*n,h:H(o[Ee])*n,m:H(o[Se])*n,s:H(o[Te])*n,ms:H(Ft(1e3*o[ke]))*n}):(o=Ht.exec(e))?(n="-"===o[1]?-1:1,i={y:zt(o[2],n),M:zt(o[3],n),w:zt(o[4],n),d:zt(o[5],n),h:zt(o[6],n),m:zt(o[7],n),s:zt(o[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(o=xt(i.from),n=xt(i.to),r=o.isValid()&&n.isValid()?(n=Bt(n,o),o.isBefore(n)?r=Zt(o,n):((r=Zt(n,o)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new It(i),Rt(e)&&f(e,"_locale")&&(i._locale=e._locale),Rt(e)&&f(e,"_isValid")&&(i._isValid=e._isValid),i}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Xt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(T(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,Vt(e,t),r),this}}function qt(e,t,n,r){var i=t._milliseconds,o=Ft(t._days),t=Ft(t._months);e.isValid()&&(r=null==r||r,t&&Le(e,z(e,"Month")+t*n),o&&Z(e,"Date",z(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&p.updateOffset(e,o||t))}Vt.fn=It.prototype,Vt.invalid=function(){return Vt(NaN)};var Jt=Xt(1,"add"),ce=Xt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return b(e)||i(e)||Kt(e)||l(e)||(n=s(t=e),r=!1,n&&(r=0===t.filter(function(e){return!l(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=a(e)&&!u(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)n=o[t],i=i||f(e,n);return r&&i}(e)||null==e;var t,n,r}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=dt(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var rn=126227808e5;function on(e,t){return(e%t+t)%t}function sn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function un(e,t){return t.erasAbbrRegex(e)}function ln(){for(var e=[],t=[],n=[],r=[],i=this.eras(),o=0,s=i.length;o<s;++o)t.push(fe(i[o].name)),e.push(fe(i[o].abbr)),n.push(fe(i[o].narrow)),r.push(fe(i[o].name)),r.push(fe(i[o].abbr)),r.push(fe(i[o].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function cn(e,t){L(0,[e,e.length],0,t)}function hn(e,t,n,r,i){var o;return null==e?$e(this,r,i).year:(t>(o=We(e,r,i))&&(t=o),function(e,t,n,r,i){i=je(e,t,n,r,i),i=Ge(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,i))}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),he("N",un),he("NN",un),he("NNN",un),he("NNNN",function(e,t){return t.erasNameRegex(e)}),he("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?m(n).era=r:m(n).invalidEra=e}),he("y",se),he("yy",se),he("yyy",se),he("yyyy",se),he("yo",function(e,t){return t._eraYearOrdinalRegex||se}),ge(["y","yy","yyy","yyyy"],ve),ge(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ve]=n._locale.eraYearOrdinalParse(e,i):t[ve]=parseInt(e,10)}),L(0,["gg",2],0,function(){return this.weekYear()%100}),L(0,["GG",2],0,function(){return this.isoWeekYear()%100}),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),he("G",ae),he("g",ae),he("GG",ee,q),he("gg",ee,q),he("GGGG",ie,K),he("gggg",ie,K),he("GGGGG",oe,Q),he("ggggg",oe,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=H(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),L("Q",0,"Qo","quarter"),Y("quarter","Q"),j("quarter",7),he("Q",X),ge("Q",function(e,t){t[we]=3*(H(e)-1)}),L("D",["DD",2],"Do","date"),Y("date","D"),j("date",9),he("D",ee),he("DD",ee,q),he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],be),ge("Do",function(e,t){t[be]=H(e.match(ee)[0])});ne=V("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),j("dayOfYear",4),he("DDD",re),he("DDDD",J),ge(["DDD","DDDD"],function(e,t,n){n._dayOfYear=H(e)}),L("m",["mm",2],0,"minute"),Y("minute","m"),j("minute",14),he("m",ee),he("mm",ee,q),ge(["m","mm"],Se);Oe=V("Minutes",!1);L("s",["ss",2],0,"second"),Y("second","s"),j("second",15),he("s",ee),he("ss",ee,q),ge(["s","ss"],Te);var dn,Ve=V("Seconds",!1);for(L("S",0,0,function(){return~~(this.millisecond()/100)}),L(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,function(){return 10*this.millisecond()}),L(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),L(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),L(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),L(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),L(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Y("millisecond","ms"),j("millisecond",16),he("S",re,X),he("SS",re,q),he("SSS",re,J),dn="SSSS";dn.length<=9;dn+="S")he(dn,se);function fn(e,t){t[ke]=H(1e3*("0."+e))}for(dn="S";dn.length<=9;dn+="S")ge(dn,fn);Ze=V("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");ie=w.prototype;function pn(e){return e}ie.add=Jt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!u(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||f(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||xt(),e=Bt(n,this).startOf("day"),e=p.calendarFormat(this,e)||"sameElse",t=t&&(k(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,xt(n)))},ie.clone=function(){return new w(this)},ie.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Bt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=U(t)){case"year":o=en(this,r)/12;break;case"month":o=en(this,r);break;case"quarter":o=en(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:W(o)},ie.endOf=function(e){var t,n;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-on(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-on(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-on(t,1e3)-1}return this._d.setTime(t),p.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=I(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||xt(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(xt(),e)},ie.to=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||xt(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(xt(),e)},ie.get=function(e){return k(this[e=U(e)])?this[e]():this},ie.invalidAt=function(){return m(this).overflow},ie.isAfter=function(e,t){return e=b(e)?e:xt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=b(e)?e:xt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,r){return e=b(e)?e:xt(e),t=b(t)?t:xt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},ie.isSame=function(e,t){var e=b(e)?e:xt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return d(this)},ie.lang=te,ie.locale=tn,ie.localeData=nn,ie.max=At,ie.min=Nt,ie.parsingFlags=function(){return c({},m(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)f(e,t)&&n.push({unit:t,priority:B[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=G(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(k(this[e=U(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=on(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=on(t,6e4);break;case"second":t=this._d.valueOf(),t-=on(t,1e3)}return this._d.setTime(t),p.updateOffset(this,!0),this},ie.subtract=ce,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?I(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):k(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(e,"Z")):I(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},ie.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},ie.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},ie.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-p(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Ye,ie.isLeapYear=function(){return $(this.year())},ie.weekYear=function(e){return hn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return hn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Ie,ie.daysInMonth=function(){return De(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=$e(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return We(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return We(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return We(this.isoWeekYear(),1,4)},ie.date=ne,ie.day=ie.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},ie.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ie.hour=ie.hours=nt,ie.minute=ie.minutes=Oe,ie.second=ie.seconds=Ve,ie.millisecond=ie.milliseconds=Ze,ie.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:jt(this);if("string"==typeof e){if(null===(e=Gt(le,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?qt(this,Vt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Gt(ue,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?xt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=$t,ie.isUTC=$t,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=n("dates accessor is deprecated. Use date instead.",ne),ie.months=n("months accessor is deprecated. Use month instead",Ie),ie.years=n("years accessor is deprecated. Use year instead",Ye),ie.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),ie.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Dt(t))._a?(e=(t._isUTC?h:xt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0,s=0;s<r;s++)(n&&e[s]!==t[s]||!n&&H(e[s])!==H(t[s]))&&o++;return o+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=P.prototype;function mn(e,t,n,r){var i=dt(),t=h().set(r,t);return i[n](t,e)}function gn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=mn(e,i,n,"month");return r}function yn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),l(t)&&(n=t,t=void 0),t||"");var i,o=dt(),s=e?o._week.dow:0,a=[];if(null!=n)return mn(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=mn(t,(i+s)%7,r,"day");return a}K.calendar=function(e,t,n){return k(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(x).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=pn,K.postformat=pn,K.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return k(i)?i(e,t,n,r):i.replace(/%d/i,e)},K.pastFuture=function(e,t){return k(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,n;for(n in e)f(e,n)&&(k(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(e,t){for(var n,r=this._eras||dt("en")._eras,i=0,o=r.length;i<o;++i)switch("string"==typeof r[i].since&&(n=p(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=p(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},K.erasParse=function(e,t,n){var r,i,o,s,a,u=this.eras();for(e=e.toUpperCase(),r=0,i=u.length;r<i;++r)if(o=u[r].name.toUpperCase(),s=u[r].abbr.toUpperCase(),a=u[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return u[r];break;case"NNNN":if(o===e)return u[r];break;case"NNNNN":if(a===e)return u[r]}else if(0<=[o,s,a].indexOf(e))return u[r]},K.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},K.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||ln.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return f(this,"_erasNameRegex")||ln.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||ln.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Ne).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Ne.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,e))?i:null:-1!==(i=_e.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,e))||-1!==(i=_e.call(this._longMonthsParse,e))?i:null:-1!==(i=_e.call(this._longMonthsParse,e))||-1!==(i=_e.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},K.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ce),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return $e(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?He(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._shortWeekdaysParse,e))||-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,e))||-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,e))||-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===H(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=n("moment.lang is deprecated. Use moment.locale instead.",ct),p.langData=n("moment.langData is deprecated. Use moment.localeData instead.",dt);var _n=Math.abs;function vn(e,t,n,r){n=Vt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function En(e){return 146097*e/4800}function Sn(e){return function(){return this.as(e)}}oe=Sn("ms"),Q=Sn("s"),X=Sn("m"),q=Sn("h"),re=Sn("d"),J=Sn("w"),Jt=Sn("M"),At=Sn("Q"),Nt=Sn("y");function Tn(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=Tn("milliseconds"),nt=Tn("seconds"),Oe=Tn("minutes"),Ve=Tn("hours"),Ze=Tn("days"),ne=Tn("months"),Ye=Tn("years");var kn=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Pn(e,t,n,r){var i=Vt(e).abs(),o=kn(i.as("s")),s=kn(i.as("m")),a=kn(i.as("h")),u=kn(i.as("d")),l=kn(i.as("M")),c=kn(i.as("w")),i=kn(i.as("y")),u=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||u<=1&&["d"]||u<n.d&&["dd",u];return(u=(u=null!=n.w?u||c<=1&&["w"]||c<n.w&&["ww",c]:u)||l<=1&&["M"]||l<n.M&&["MM",l]||i<=1&&["y"]||["yy",i])[2]=t,u[3]=0<+e,u[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,u)}var Dn=Math.abs;function On(e){return(0<e)-(e<0)||+e}function xn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,s,a=Dn(this._milliseconds)/1e3,u=Dn(this._days),l=Dn(this._months),c=this.asSeconds();return c?(e=W(a/60),t=W(e/60),a%=60,e%=60,n=W(l/12),l%=12,r=a?a.toFixed(3).replace(/\.?0+$/,""):"",i=On(this._months)!==On(c)?"-":"",o=On(this._days)!==On(c)?"-":"",s=On(this._milliseconds)!==On(c)?"-":"",(c<0?"-":"")+"P"+(n?i+n+"Y":"")+(l?i+l+"M":"")+(u?o+u+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+r+"S":"")):"P0D"}K=It.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},K.add=function(e,t){return vn(this,e,t,1)},K.subtract=function(e,t){return vn(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=U(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(En(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},K.asMilliseconds=oe,K.asSeconds=Q,K.asMinutes=X,K.asHours=q,K.asDays=re,K.asWeeks=J,K.asMonths=Jt,K.asQuarters=At,K.asYears=Nt,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*H(this._months/12):NaN},K._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*wn(En(n)+t),n=t=0),r.milliseconds=e%1e3,e=W(e/1e3),r.seconds=e%60,e=W(e/60),r.minutes=e%60,e=W(e/60),r.hours=e%24,t+=W(e/24),n+=e=W(bn(t)),t-=wn(En(e)),e=W(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},K.clone=function(){return Vt(this)},K.get=function(e){return e=U(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=ce,K.seconds=nt,K.minutes=Oe,K.hours=Ve,K.days=Ze,K.weeks=function(){return W(this.days()/7)},K.months=ne,K.years=Ye,K.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Mn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Mn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),r=Pn(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},K.toISOString=xn,K.toString=xn,K.toJSON=xn,K.locale=tn,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",xn),K.lang=te,L("X",0,0,"unix"),L("x",0,0,"valueOf"),he("x",ae),he("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,n){n._d=new Date(H(e))}),p.version="2.29.1",e=xt,p.fn=ie,p.min=function(){return Ct("isBefore",[].slice.call(arguments,0))},p.max=function(){return Ct("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=h,p.unix=function(e){return xt(1e3*e)},p.months=function(e,t){return gn(e,t,"months")},p.isDate=i,p.locale=ct,p.invalid=g,p.duration=Vt,p.isMoment=b,p.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},p.parseZone=function(){return xt.apply(null,arguments).parseZone()},p.localeData=dt,p.isDuration=Rt,p.monthsShort=function(e,t){return gn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},p.defineLocale=ht,p.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=ot[e]&&null!=ot[e].parentLocale?ot[e].set(M(ot[e]._config,t)):(t=M(r=null!=(n=lt(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new P(t)).parentLocale=ot[e],ot[e]=t),ct(e)):null!=ot[e]&&(null!=ot[e].parentLocale?(ot[e]=ot[e].parentLocale,e===ct()&&ct(e)):null!=ot[e]&&delete ot[e]),ot[e]},p.locales=function(){return D(ot)},p.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},p.normalizeUnits=U,p.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==Mn[e]&&(void 0===t?Mn[e]:(Mn[e]=t,"s"===e&&(Mn.ss=t-1),!0))},p.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},p.prototype=ie,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}(),hr.exports);function gr(n){let r,i=n[10]&&vr(n);return{c(){r=A("div"),i&&i.c(),R(r,"class","CasinoGamePageContainer"),R(r,"part","CasinoGamePageContainer")},m(e,t){x(e,r,t),i&&i.m(r,null),n[84](r)},p(e,t){e[10]?i?i.p(e,t):(i=vr(e),i.c(),i.m(r,null)):i&&(i.d(1),i=null)},d(e){e&&N(r),i&&i.d(),n[84](null)}}}function yr(e){let n;return{c(){n=A("p"),n.textContent="500 Error - Internal Server Error.",R(n,"class","SearchLoading"),R(n,"part","SearchLoading")},m(e,t){x(e,n,t)},p:h,d(e){e&&N(n)}}}function _r(e){let n;return{c(){n=A("p"),n.textContent="Loading, please wait ...",R(n,"class","SearchLoading"),R(n,"part","SearchLoading")},m(e,t){x(e,n,t)},p:h,d(e){e&&N(n)}}}function vr(e){let n;function r(e){return e[21]?Sr:e[5]?Er:e[11]?br:wr}let i=r(e),o=i(e);return{c(){o.c(),n=s()},m(e,t){o.m(e,t),x(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&N(n)}}}function wr(n){let r,i,o,s,a,u,l,c,h,d,f,p,m,g,y,_,v,w,b=n[9].name+"",E=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";return{c(){r=A("div"),i=A("h3"),o=C(b),s=L(),a=A("img"),l=L(),c=A("div"),h=A("button"),d=C(E),f=L(),p=A("button"),m=C(S),g=L(),y=A("p"),_=C(n[3]),a.src!==(u=n[9].thumbnail)&&R(a,"src",u),R(a,"class","GameThumbnail"),R(a,"part","GameThumbnail"),R(a,"alt","game thumbnail"),R(a,"loading","lazy"),R(h,"class","LoginButton"),R(h,"part","LoginButton"),R(p,"class","RegisterButton"),R(p,"part","RegisterButton"),R(c,"class","ButtonsContainer"),R(c,"part","ButtonsContainer"),R(r,"class","GameDetails"),R(r,"part","GameDetails")},m(e,t){x(e,r,t),O(r,i),O(i,o),O(r,s),O(r,a),O(r,l),O(r,c),O(c,h),O(h,d),O(c,f),O(c,p),O(p,m),O(r,g),O(r,y),O(y,_),v||(w=[I(h,"click",n[82]),I(p,"click",n[83])],v=!0)},p(e,t){512&t[0]&&b!==(b=e[9].name+"")&&F(o,b),512&t[0]&&a.src!==(u=e[9].thumbnail)&&R(a,"src",u),33554432&t[0]&&E!==(E=e[25]("gamePage.signIn")+"")&&F(d,E),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&F(m,S),8&t[0]&&F(_,e[3])},d(e){e&&N(r),v=!1,D(w)}}}function br(n){let r,i,o,s,a,u,l,c,h,d,f,p,m,g,y,_,v,w,b,E=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";function T(e){return e[16]?kr:Tr}let k=T(n),M=k(n);return{c(){r=A("div"),i=A("div"),o=A("iframe"),a=L(),u=A("div"),l=A("div"),c=A("button"),h=C(E),d=L(),f=A("button"),p=C(S),m=L(),g=A("p"),y=A("span"),_=C(n[3]),v=L(),M.c(),R(o,"title","Games"),R(o,"class","GamesContainer"),R(o,"part","GamesContainer"),R(o,"aria-hidden","false"),o.src!==(s=n[9].launchUrl)&&R(o,"src",s),R(c,"class","LoginButton"),R(c,"part","LoginButton"),R(f,"class","RegisterButton"),R(f,"part","RegisterButton"),R(l,"class","ButtonsContainer"),R(l,"part","ButtonsContainer"),R(g,"class","Time"),R(g,"part","Time"),R(u,"class","BottomGame"),R(u,"part","BottomGame"),R(i,"id","IframeGame"),R(i,"part","IframeGame"),P(i,"width",n[16]?"100%":n[19]),P(i,"height",n[16]?"100%":n[20]),P(i,"max-width",n[16]||!n[13]?"none":n[9].width?Math.floor(n[9].width)+"px":"1280px"),P(i,"max-height",n[16]||!n[13]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),R(r,"id","IframeContainer"),R(r,"part","IframeContainer"),P(r,"width",n[17]),P(r,"height",n[18]),Y(r,"FullsScreenLayout",n[16])},m(e,t){x(e,r,t),O(r,i),O(i,o),n[73](o),O(i,a),O(i,u),O(u,l),O(l,c),O(c,h),O(l,d),O(l,f),O(f,p),O(u,m),O(u,g),O(g,y),O(y,_),n[76](g),O(u,v),M.m(u,null),n[79](u),n[80](i),n[81](r),w||(b=[I(c,"click",n[74]),I(f,"click",n[75])],w=!0)},p(e,t){512&t[0]&&o.src!==(s=e[9].launchUrl)&&R(o,"src",s),33554432&t[0]&&E!==(E=e[25]("gamePage.signIn")+"")&&F(h,E),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&F(p,S),8&t[0]&&F(_,e[3]),k===(k=T(e))&&M?M.p(e,t):(M.d(1),M=k(e),M&&(M.c(),M.m(u,null))),589824&t[0]&&P(i,"width",e[16]?"100%":e[19]),1114112&t[0]&&P(i,"height",e[16]?"100%":e[20]),74240&t[0]&&P(i,"max-width",e[16]||!e[13]?"none":e[9].width?Math.floor(e[9].width)+"px":"1280px"),74240&t[0]&&P(i,"max-height",e[16]||!e[13]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),131072&t[0]&&P(r,"width",e[17]),262144&t[0]&&P(r,"height",e[18]),65536&t[0]&&Y(r,"FullsScreenLayout",e[16])},d(e){e&&N(r),n[73](null),n[76](null),M.d(),n[79](null),n[80](null),n[81](null),w=!1,D(b)}}}function Er(n){let r,i,o,s,a,u,l,c,h,d,f,p,m,g,y,_,v,w,b=n[25]("gamePage.deposit")+"",E="true"===n[1]&&Mr(n);function S(e){return e[16]?Dr:Pr}let T=S(n),k=T(n);return{c(){r=A("div"),i=A("div"),o=A("iframe"),a=L(),u=A("div"),l=A("button"),c=C(b),h=L(),d=A("p"),f=A("span"),p=C(n[3]),m=L(),E&&E.c(),g=L(),k.c(),R(o,"title","Games"),R(o,"id","IframeGame"),R(o,"class","GamesContainer"),R(o,"part","GamesContainer"),R(o,"aria-hidden","false"),o.src!==(s=n[9].launchUrl)&&R(o,"src",s),R(l,"class","DepositButton"),R(l,"part","DepositButton"),R(d,"class","Time"),R(d,"part","Time"),R(u,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),R(u,"part",_="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),R(i,"id","IframeGame"),R(i,"part","IframeGame"),P(i,"width",n[16]?"100%":n[19]),P(i,"height",n[16]?"100%":n[20]),P(i,"max-width",n[16]?"none":n[9].width?n[9].width+"px":"1280px"),P(i,"max-height",n[16]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),R(r,"id","IframeContainer"),R(r,"part","IframeContainer"),P(r,"width",n[17]),P(r,"height",n[18]),Y(r,"FullsScreenLayout",n[16])},m(e,t){x(e,r,t),O(r,i),O(i,o),n[63](o),O(i,a),O(i,u),O(u,l),O(l,c),O(u,h),O(u,d),O(d,f),O(f,p),n[65](d),O(u,m),E&&E.m(u,null),O(u,g),k.m(u,null),n[70](u),n[71](i),n[72](r),v||(w=I(l,"click",n[64]),v=!0)},p(e,t){512&t[0]&&o.src!==(s=e[9].launchUrl)&&R(o,"src",s),33554432&t[0]&&b!==(b=e[25]("gamePage.deposit")+"")&&F(c,b),8&t[0]&&F(p,e[3]),"true"===e[1]?E?E.p(e,t):(E=Mr(e),E.c(),E.m(u,g)):E&&(E.d(1),E=null),T===(T=S(e))&&k?k.p(e,t):(k.d(1),k=T(e),k&&(k.c(),k.m(u,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&R(u,"class",y),2&t[0]&&_!==(_="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&R(u,"part",_),589824&t[0]&&P(i,"width",e[16]?"100%":e[19]),1114112&t[0]&&P(i,"height",e[16]?"100%":e[20]),66048&t[0]&&P(i,"max-width",e[16]?"none":e[9].width?e[9].width+"px":"1280px"),66048&t[0]&&P(i,"max-height",e[16]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),131072&t[0]&&P(r,"width",e[17]),262144&t[0]&&P(r,"height",e[18]),65536&t[0]&&Y(r,"FullsScreenLayout",e[16])},d(e){e&&N(r),n[63](null),n[65](null),E&&E.d(),k.d(),n[70](null),n[71](null),n[72](null),v=!1,w()}}}function Sr(e){let n;function r(e){return e[5]?Nr:e[12]?xr:Or}let i=r(e),o=i(e);return{c(){o.c(),n=s()},m(e,t){o.m(e,t),x(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&N(n)}}}function Tr(n){let r,i,o;return{c(){r=A("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',R(r,"class","FullscreenButton"),R(r,"part","FullscreenButton")},m(e,t){x(e,r,t),i||(o=I(r,"click",n[78]),i=!0)},p:h,d(e){e&&N(r),i=!1,o()}}}function kr(n){let r,i,o;return{c(){r=A("button"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',R(r,"class","FullscreenButton"),R(r,"part","FullscreenButton")},m(e,t){x(e,r,t),i||(o=I(r,"click",n[77]),i=!0)},p:h,d(e){e&&N(r),i=!1,o()}}}function Mr(n){let r,i,o,s,a,u=n[25]("gamePage.breakButton")+"";return{c(){r=A("div"),i=A("button"),o=C(u),R(i,"class","Button"),R(i,"part","Button"),Y(i,"PanicButtonAnimation",n[8]),R(r,"class","PanicSection"),R(r,"part","PanicSection")},m(e,t){x(e,r,t),O(r,i),O(i,o),n[66](i),s||(a=I(i,"click",n[67]),s=!0)},p(e,t){33554432&t[0]&&u!==(u=e[25]("gamePage.breakButton")+"")&&F(o,u),256&t[0]&&Y(i,"PanicButtonAnimation",e[8])},d(e){e&&N(r),n[66](null),s=!1,a()}}}function Pr(n){let r,i,o;return{c(){r=A("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',R(r,"class","FullscreenButton"),R(r,"part","FullscreenButton")},m(e,t){x(e,r,t),i||(o=I(r,"click",n[69]),i=!0)},p:h,d(e){e&&N(r),i=!1,o()}}}function Dr(n){let r,i,o;return{c(){r=A("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',R(r,"class","FullscreenButton"),R(r,"part","FullscreenButton")},m(e,t){x(e,r,t),i||(o=I(r,"click",n[68]),i=!0)},p:h,d(e){e&&N(r),i=!1,o()}}}function Or(n){let r,i,o,s,a,u,l,c,h,d,f,p,m,g,y,_,v,w,b=n[9].name+"",E=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";return{c(){r=A("div"),i=A("h3"),o=C(b),s=L(),a=A("img"),l=L(),c=A("div"),h=A("button"),d=C(E),f=L(),p=A("button"),m=C(S),g=L(),y=A("p"),_=C(n[3]),a.src!==(u=n[9].thumbnail)&&R(a,"src",u),R(a,"class","GameThumbnail"),R(a,"part","GameThumbnail"),R(a,"alt","game thumbnail"),R(a,"loading","lazy"),R(h,"class","LoginButton"),R(h,"part","LoginButton"),R(p,"class","RegisterButton"),R(p,"part","RegisterButton"),R(c,"class","ButtonsContainer"),R(c,"part","ButtonsContainer"),R(r,"class","GameDetails"),R(r,"part","GameDetails")},m(e,t){x(e,r,t),O(r,i),O(i,o),O(r,s),O(r,a),O(r,l),O(r,c),O(c,h),O(h,d),O(c,f),O(c,p),O(p,m),O(r,g),O(r,y),O(y,_),v||(w=[I(h,"click",n[61]),I(p,"click",n[62])],v=!0)},p(e,t){512&t[0]&&b!==(b=e[9].name+"")&&F(o,b),512&t[0]&&a.src!==(u=e[9].thumbnail)&&R(a,"src",u),33554432&t[0]&&E!==(E=e[25]("gamePage.signIn")+"")&&F(d,E),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&F(m,S),8&t[0]&&F(_,e[3])},d(e){e&&N(r),v=!1,D(w)}}}function xr(n){let r,i,o,s,a,u,l,c,h,d,f,p,m,g,y,_,v,w,b,E,S,T=n[9].name+"",k=n[25]("gamePage.signIn")+"",M=n[25]("gamePage.register")+"",P=n[25]("gamePage.playForFun")+"";return{c(){r=A("div"),i=A("h3"),o=C(T),s=L(),a=A("img"),l=L(),c=A("div"),h=A("button"),d=C(k),f=L(),p=A("button"),m=C(M),g=L(),y=A("button"),_=C(P),v=L(),w=A("p"),b=C(n[3]),a.src!==(u=n[9].thumbnail)&&R(a,"src",u),R(a,"class","GameThumbnail"),R(a,"part","GameThumbnail"),R(a,"alt","game thumbnail"),R(a,"loading","lazy"),R(h,"class","LoginButton"),R(h,"part","LoginButton"),R(p,"class","RegisterButton"),R(p,"part","RegisterButton"),R(c,"class","ButtonsContainer"),R(c,"part","ButtonsContainer"),R(y,"class","FullWidthButton"),R(y,"part","FullWidthButton"),R(r,"class","GameDetails"),R(r,"part","GameDetails")},m(e,t){x(e,r,t),O(r,i),O(i,o),O(r,s),O(r,a),O(r,l),O(r,c),O(c,h),O(h,d),O(c,f),O(c,p),O(p,m),O(r,g),O(r,y),O(y,_),O(r,v),O(r,w),O(w,b),E||(S=[I(h,"click",n[58]),I(p,"click",n[59]),I(y,"click",n[60])],E=!0)},p(e,t){512&t[0]&&T!==(T=e[9].name+"")&&F(o,T),512&t[0]&&a.src!==(u=e[9].thumbnail)&&R(a,"src",u),33554432&t[0]&&k!==(k=e[25]("gamePage.signIn")+"")&&F(d,k),33554432&t[0]&&M!==(M=e[25]("gamePage.register")+"")&&F(m,M),33554432&t[0]&&P!==(P=e[25]("gamePage.playForFun")+"")&&F(_,P),8&t[0]&&F(b,e[3])},d(e){e&&N(r),E=!1,D(S)}}}function Nr(n){let r,i,o,s,a,u,l,c,h,d,f,p,m,g,y,_,v,w,b,E,S=n[9].name+"",T=n[25]("gamePage.deposit")+"",k=n[25]("gamePage.playNow")+"",M="true"==n[0]&&Ar(n),P="true"===n[1]&&Ir(n);return{c(){M&&M.c(),r=L(),i=A("div"),o=A("h3"),s=C(S),a=L(),u=A("img"),c=L(),h=A("div"),d=A("button"),f=C(T),p=L(),m=A("button"),g=C(k),y=L(),P&&P.c(),_=L(),v=A("p"),w=C(n[3]),u.src!==(l=n[9].thumbnail)&&R(u,"src",l),R(u,"class","GameThumbnail"),R(u,"part","GameThumbnail"),R(u,"alt","game thumbnail"),R(u,"loading","lazy"),R(d,"class","DepositButton"),R(d,"part","DepositButton"),R(m,"class","PlayNowButton"),R(m,"part","PlayNowButton"),R(h,"class","ButtonsContainer"),R(h,"part","ButtonsContainer"),R(i,"class","GameDetails"),R(i,"part","GameDetails")},m(e,t){M&&M.m(e,t),x(e,r,t),x(e,i,t),O(i,o),O(o,s),O(i,a),O(i,u),O(i,c),O(i,h),O(h,d),O(d,f),O(h,p),O(h,m),O(m,g),O(i,y),P&&P.m(i,null),O(i,_),O(i,v),O(v,w),b||(E=[I(d,"click",n[54]),I(m,"click",n[55])],b=!0)},p(e,t){"true"==e[0]?M?M.p(e,t):(M=Ar(e),M.c(),M.m(r.parentNode,r)):M&&(M.d(1),M=null),512&t[0]&&S!==(S=e[9].name+"")&&F(s,S),512&t[0]&&u.src!==(l=e[9].thumbnail)&&R(u,"src",l),33554432&t[0]&&T!==(T=e[25]("gamePage.deposit")+"")&&F(f,T),33554432&t[0]&&k!==(k=e[25]("gamePage.playNow")+"")&&F(g,k),"true"===e[1]?P?P.p(e,t):(P=Ir(e),P.c(),P.m(i,_)):P&&(P.d(1),P=null),8&t[0]&&F(w,e[3])},d(e){M&&M.d(e),e&&N(r),e&&N(i),P&&P.d(),b=!1,D(E)}}}function Ar(e){let n;function r(e){return e[9].isFavored?Lr:Cr}let i=r(e),o=i(e);return{c(){o.c(),n=s()},m(e,t){o.m(e,t),x(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&N(n)}}}function Cr(n){let r,i,o,s,a,u,l;return{c(){r=A("div"),i=c("svg"),o=c("path"),P(o,"fill","white"),R(o,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),R(i,"version","1.1"),R(i,"class","UnfavoredIcon"),R(i,"part","UnfavoredIcon"),R(i,"xmlns","http://www.w3.org/2000/svg"),R(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),R(i,"x","20px"),R(i,"y","20px"),R(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),R(i,"xml:space","preserve"),R(r,"class",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),R(r,"part",a="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){x(e,r,t),O(r,i),O(i,o),u||(l=I(r,"click",n[53]),u=!0)},p(e,t){2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&R(r,"class",s),2&t[0]&&a!==(a="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&R(r,"part",a)},d(e){e&&N(r),u=!1,l()}}}function Lr(n){let r,i,o,s,a,u,l;return{c(){r=A("div"),i=c("svg"),o=c("path"),P(o,"fill","white"),R(o,"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"),R(i,"version","1.1"),R(i,"class","FavoredIcon"),R(i,"part","FavoredIcon"),R(i,"xmlns","http://www.w3.org/2000/svg"),R(i,"viewBox","0 0 19.481 19.481"),R(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),R(i,"enable-background","new 0 0 19.481 19.481"),R(r,"class",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),R(r,"part",a="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){x(e,r,t),O(r,i),O(i,o),u||(l=I(r,"click",n[52]),u=!0)},p(e,t){2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&R(r,"class",s),2&t[0]&&a!==(a="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&R(r,"part",a)},d(e){e&&N(r),u=!1,l()}}}function Ir(n){let r,i,o,s,a,u=n[25]("gamePage.breakButton")+"";return{c(){r=A("div"),i=A("button"),o=C(u),R(i,"class","PanicButton "+("PC"!==ur(n[26])?"PanicButtonMobile":"")),R(i,"part","PanicButton "+("PC"!==ur(n[26])?"PanicButtonMobile":"")),Y(i,"PanicButtonAnimation",n[8]),R(r,"class","PanicSection "+("PC"!==ur(n[26])?"PanicSectionMobile":"")),R(r,"part","PanicSection "+("PC"!==ur(n[26])?"PanicSectionMobile":""))},m(e,t){x(e,r,t),O(r,i),O(i,o),n[56](i),s||(a=I(i,"click",n[57]),s=!0)},p(e,t){33554432&t[0]&&u!==(u=e[25]("gamePage.breakButton")+"")&&F(o,u),256&t[0]&&Y(i,"PanicButtonAnimation",e[8])},d(e){e&&N(r),n[56](null),s=!1,a()}}}function Rr(e){let n;function r(e){return e[7]?_r:e[6]?yr:gr}let i=r(e),o=i(e);return{c(){o.c(),n=s(),this.c=h},m(e,t){o.m(e,t),x(e,n,t)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(n.parentNode,n)))},i:h,o:h,d(e){o.d(e),e&&N(n)}}}function Fr(t,e,o){let n;var r,i,s=ar;t.$$.on_destroy.push(Se(s,e=>o(25,n=e)));let a,u,l,c,h,d,f,p,m,g,y,_,v,w,b,E,S,{endpoint:T=""}=e,{lang:k=""}=e,{session:M=""}=e,{userid:P=""}=e,{clientstyling:D=""}=e,{clientstylingurl:O=""}=e,{favorites:x=""}=e,{loginurl:N=""}=e,{registerurl:A=""}=e,{depositurl:C=""}=e,{loginevent:L=""}=e,{registerevent:I=""}=e,{depositevent:R=""}=e,{clockformat:F=""}=e,{haspanicbutton:Y="false"}=e,{playforfun:U="true"}=e,{checksession:G="true"}=e,{integratedgameframe:B="false"}=e,{gameid:j=""}=e,$=!1,W=!1,H=!0,V=!1,z=0,Z=!1,X=!1,q=!1,J=!0,K=!1,Q=window.navigator.userAgent,ee=!1,te=[],ne=!1,re="false";[{withLocale:r,translations:i}]=[{withLocale:"en",translations:{}}],Jn.subscribe(e=>{null==e&&(Un.set(i),Jn.set(r))}),Object.keys(lr).forEach(e=>{Bn(e,lr[e])});const ie=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",k),l&&0<l.length&&(o(5,$=!0),o(7,H=!1),t.searchParams.append("_sid",l),t.searchParams.append("funMode","false")),e.launchUrl=t,e},oe=(e,t)=>{let n=new URL(`${T}/casino/games/${e}`);n.searchParams.append("language",k),n.searchParams.append("expand","vendor"),o(13,J=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{o(9,d=ie(e[0])),d.launchUrl&&(o(10,Z=!0),o(11,X="true"==U&&d.hasFunMode),o(12,q="true"==U&&d.hasAnonymousFunMode))},e=>{console.error("There was an error",e),o(6,W=!0)}).then(()=>{f&&(J?he:ce)()}),window.postMessage({type:"RequestModalSize"},window.location.href)},se=()=>{o(8,V=!1),null==c||c.removeEventListener("mousedown",be),null==c||c.removeEventListener("touchstart",be),null==c||c.removeEventListener("mouseup",Ee),null==c||c.removeEventListener("touchend",Ee)},ae=e=>{switch(e.data.type){case"GameLaunchID":oe(e.data.gameId,!0);break;case"ShowGameModal":o(51,re="true");break;case"LaunchGameFrame":le(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":o(51,re="false"),se(),setTimeout(()=>{o(10,Z="true"===B)},500);break;case"UserSessionID":if(0<e.data.session.length){l=e.data.session,e.data.userID,o(5,$=!0);let t=setInterval(()=>{if(d){let e=new URL(d.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",l),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",k),o(9,d.launchUrl=e,d),clearInterval(t)}},250)}break;case"ModalSize":o(17,m=e.data.modalContainerSize.modalWidth),o(18,g=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(te=e.data.receivedFavoriteResults.items)}},ue=e=>{var t="gamepage";d.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href),o(9,d.isFavored=!1,d)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href),o(9,d.isFavored=!0,d))},le=(e,r)=>{let t=new URL(`${T}/casino/games/${e}`);t.searchParams.append("language",k),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;o(9,d=ie(e[0])),d.launchUrl&&o(9,d.isFavored=(t=d,e=r,o(12,q="true"==U&&t.hasAnonymousFunMode),o(11,X="true"==U&&e),o(10,Z=!0),n=t.id,-1!==te.findIndex(e=>e.id==n)),d)})},ce=()=>{o(17,m=d.width),o(18,g=d.height),o(19,v=d.width),o(20,w=d.height),y=d.width,_=d.height},he=()=>{let e=getComputedStyle(f),t=getComputedStyle(p),n=parseInt(e.width.slice(0,-2)),r=parseInt(e.height.slice(0,-2));var i=d.width/(d.height+100);y=parseInt(t.width),_=parseInt(t.height),n/i>r-E.clientHeight-S.clientHeight?(_=r-E.clientHeight-S.clientHeight,y=r*i):(y=n,_=n/i),o(19,v=y?Math.floor(y)+"px":"1280px"),o(20,w=_?Math.floor(_)+"px":"720px")},de=e=>{var t;ne?(t={url:e.launchUrl,id:e.id,vendor:e.vendor.name},pr("OPEN_GAME",t)):"false"==B?window.open(e.launchUrl,"_blank"):"true"==B&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:e.id},window.location.href)},fe=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:Z},window.location.href),Z&&(f&&he(),window.addEventListener("ModalSize",ae,!1))},pe=()=>{L&&(window.postMessage({type:L,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),N&&(window.location=N)},me=()=>{I&&(window.postMessage({type:I,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),A&&(window.location=A)},ge=()=>{R&&(window.postMessage({type:R},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)};function ye(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!K||_e()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ye,!1),document.addEventListener("mozfullscreenchange",ye,!1),document.addEventListener("fullscreenchange",ye,!1),document.addEventListener("MSFullscreenChange",ye,!1));const _e=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(K?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),o(16,K=!1)):(f.requestFullscreen?f.requestFullscreen():f.webkitRequestFullscreen?f.webkitRequestFullscreen():f.mozRequestFullScreen?f.mozRequestFullScreen():f.msRequestFullscreen&&f.msRequestFullscreen(),o(16,K=!0)))},ve=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)};setInterval(()=>{o(3,a=F?mr().format(F):mr().format("LTS"))},100);const we=()=>{var r,i;"true"==G?(r=T,i=M,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),Me(`${r}/player/session/player`,{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{l=e.Guid,e.UserID,o(5,$=!0)},e=>{o(5,$=!1),console.error("err on session",e)})):(l=M,o(5,$=!0))},be=e=>{z=0,h=setInterval(()=>{z+=1,o(8,V=!0),3<=z&&clearInterval(h)},1e3)},Ee=e=>{z<3&&o(8,V=!1),clearInterval(h)};return e=()=>(window.addEventListener("resize",fe,!1),window.addEventListener("message",ae,!1),ne=!!fr(Q),()=>{se(),window.removeEventListener("resize",fe),window.removeEventListener("message",ae)}),function(){if(!Te)throw new Error("Function called outside component initialization");return Te}().$$.on_mount.push(e),t.$$set=e=>{"endpoint"in e&&o(34,T=e.endpoint),"lang"in e&&o(35,k=e.lang),"session"in e&&o(36,M=e.session),"userid"in e&&o(37,P=e.userid),"clientstyling"in e&&o(38,D=e.clientstyling),"clientstylingurl"in e&&o(39,O=e.clientstylingurl),"favorites"in e&&o(0,x=e.favorites),"loginurl"in e&&o(40,N=e.loginurl),"registerurl"in e&&o(41,A=e.registerurl),"depositurl"in e&&o(42,C=e.depositurl),"loginevent"in e&&o(43,L=e.loginevent),"registerevent"in e&&o(44,I=e.registerevent),"depositevent"in e&&o(45,R=e.depositevent),"clockformat"in e&&o(46,F=e.clockformat),"haspanicbutton"in e&&o(1,Y=e.haspanicbutton),"playforfun"in e&&o(47,U=e.playforfun),"checksession"in e&&o(48,G=e.checksession),"integratedgameframe"in e&&o(49,B=e.integratedgameframe),"gameid"in e&&o(50,j=e.gameid)},t.$$.update=()=>{var e;16&t.$$.dirty[1]&&k&&(e=k,Jn.set(e),o(21,ee=!!((e=Q).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)))),524312&t.$$.dirty[1]&&T&&j&&k&&oe(j),104&t.$$.dirty[1]&&M&&P&&T&&we(),131112&t.$$.dirty[1]&&"false"==G&&M&&T&&we(),128&t.$$.dirty[1]&&D&&(()=>{let e=document.createElement("style");e.innerHTML=D,b.appendChild(e)})(),256&t.$$.dirty[1]&&O&&(()=>{let t=document.createElement("style");var e;O&&(e=new URL(O),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,b&&setTimeout(()=>{b.appendChild(t)},1)}))})(),4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==re&&c&&(null==c||c.addEventListener("mousedown",be,!1),null==c||c.addEventListener("touchstart",be,!1),null==c||c.addEventListener("mouseup",Ee,!1),null==c||c.addEventListener("touchend",Ee,!1))},[x,Y,c,a,u,$,W,H,V,d,Z,X,q,J,f,p,K,m,g,v,w,ee,b,E,S,n,Q,ue,de,pe,me,ge,_e,ve,T,k,M,P,D,O,N,A,C,L,I,R,F,U,G,B,j,re,()=>ue(d.id),()=>ue(d.id),()=>ge(),()=>{de(d)},function(e){ke[e?"unshift":"push"](()=>{c=e,o(2,c)})},()=>ve(),()=>pe(),()=>me(),()=>{de(d)},()=>pe(),()=>me(),function(e){ke[e?"unshift":"push"](()=>{u=e,o(4,u)})},()=>ge(),function(e){ke[e?"unshift":"push"](()=>{S=e,o(24,S)})},function(e){ke[e?"unshift":"push"](()=>{c=e,o(2,c)})},()=>ve(),()=>_e(),()=>_e(),function(e){ke[e?"unshift":"push"](()=>{E=e,o(23,E)})},function(e){ke[e?"unshift":"push"](()=>{p=e,o(15,p)})},function(e){ke[e?"unshift":"push"](()=>{f=e,o(14,f)})},function(e){ke[e?"unshift":"push"](()=>{u=e,o(4,u)})},()=>pe(),()=>me(),function(e){ke[e?"unshift":"push"](()=>{S=e,o(24,S)})},()=>_e(),()=>_e(),function(e){ke[e?"unshift":"push"](()=>{E=e,o(23,E)})},function(e){ke[e?"unshift":"push"](()=>{p=e,o(15,p)})},function(e){ke[e?"unshift":"push"](()=>{f=e,o(14,f)})},()=>pe(),()=>me(),function(e){ke[e?"unshift":"push"](()=>{b=e,o(22,b)})}]}class Yr extends l{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'}.CasinoGamePageContainer{height:100%}.BottomGame{padding-left:60px;padding-right:60px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-green, #48952a);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px;cursor:pointer}.PlayNowButton{background-color:var(--emfe-w-color-primary, #D0046C)}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.BottomGame .ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px;margin-top:20px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:center}#IframeGame{width:100%;height:100%}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:40px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, #FD2839 5%, #D0046C 100%);background:-moz-linear-gradient(135deg, #FD2839 5%, #D0046C 100%);background:-o-linear-gradient(135deg, #FD2839 5%, #D0046C 100%);width:240px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:240px}}</style>",u(this,{target:this.shadowRoot,props:function(e){const t={};for(const n of e)t[n.name]=n.value;return t}(this.attributes),customElement:!0},Fr,Rr,n,{endpoint:34,lang:35,session:36,userid:37,clientstyling:38,clientstylingurl:39,favorites:0,loginurl:40,registerurl:41,depositurl:42,loginevent:43,registerevent:44,depositevent:45,clockformat:46,haspanicbutton:1,playforfun:47,checksession:48,integratedgameframe:49,gameid:50},[-1,-1,-1,-1]),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),w()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframe","gameid"]}get endpoint(){return this.$$.ctx[34]}set endpoint(e){this.$set({endpoint:e}),w()}get lang(){return this.$$.ctx[35]}set lang(e){this.$set({lang:e}),w()}get session(){return this.$$.ctx[36]}set session(e){this.$set({session:e}),w()}get userid(){return this.$$.ctx[37]}set userid(e){this.$set({userid:e}),w()}get clientstyling(){return this.$$.ctx[38]}set clientstyling(e){this.$set({clientstyling:e}),w()}get clientstylingurl(){return this.$$.ctx[39]}set clientstylingurl(e){this.$set({clientstylingurl:e}),w()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$set({favorites:e}),w()}get loginurl(){return this.$$.ctx[40]}set loginurl(e){this.$set({loginurl:e}),w()}get registerurl(){return this.$$.ctx[41]}set registerurl(e){this.$set({registerurl:e}),w()}get depositurl(){return this.$$.ctx[42]}set depositurl(e){this.$set({depositurl:e}),w()}get loginevent(){return this.$$.ctx[43]}set loginevent(e){this.$set({loginevent:e}),w()}get registerevent(){return this.$$.ctx[44]}set registerevent(e){this.$set({registerevent:e}),w()}get depositevent(){return this.$$.ctx[45]}set depositevent(e){this.$set({depositevent:e}),w()}get clockformat(){return this.$$.ctx[46]}set clockformat(e){this.$set({clockformat:e}),w()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$set({haspanicbutton:e}),w()}get playforfun(){return this.$$.ctx[47]}set playforfun(e){this.$set({playforfun:e}),w()}get checksession(){return this.$$.ctx[48]}set checksession(e){this.$set({checksession:e}),w()}get integratedgameframe(){return this.$$.ctx[49]}set integratedgameframe(e){this.$set({integratedgameframe:e}),w()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$set({gameid:e}),w()}}return customElements.get("casino-game-page")||customElements.define("casino-game-page",Yr),Yr});
2
2
  //# sourceMappingURL=casino-game-page.js.map