@everymatrix/casino-game-thumbnail-nd 1.59.3 → 1.60.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,56 @@
1
+ "use strict";var To=Object.defineProperty,Mo=Object.defineProperties;var Go=Object.getOwnPropertyDescriptors;var Ii=Object.getOwnPropertySymbols;var ko=Object.prototype.hasOwnProperty,Co=Object.prototype.propertyIsEnumerable;var sr=(e,t,n)=>t in e?To(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Di=(e,t)=>{for(var n in t||(t={}))ko.call(t,n)&&sr(e,n,t[n]);if(Ii)for(var n of Ii(t))Co.call(t,n)&&sr(e,n,t[n]);return e},Fi=(e,t)=>Mo(e,Go(t));var re=(e,t,n)=>(sr(e,typeof t!="symbol"?t+"":t,n),n);var or=(e,t,n)=>new Promise((r,i)=>{var a=l=>{try{o(n.next(l))}catch(u){i(u)}},s=l=>{try{o(n.throw(l))}catch(u){i(u)}},o=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,s);o((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BtNRiNfn.cjs");function ue(){}function Ma(e){return e()}function Pi(){return Object.create(null)}function Vt(e){e.forEach(Ma)}function On(e){return typeof e=="function"}function Ga(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let an;function Ni(e,t){return e===t?!0:(an||(an=document.createElement("a")),an.href=t,e===an.href)}function Io(e){return Object.keys(e).length===0}function ka(e,...t){if(e==null){for(const r of t)r(void 0);return ue}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Do(e,t,n){e.$$.on_destroy.push(ka(t,n))}function Fo(e){return e&&On(e.destroy)?e.destroy:ue}function w(e,t){e.appendChild(t)}function Po(e,t,n){const r=No(e);if(!r.getElementById(t)){const i=F("style");i.id=t,i.textContent=n,Ro(r,i)}}function No(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Ro(e,t){return w(e.head||e,t),t.sheet}function H(e,t,n){e.insertBefore(t,n||null)}function A(e){e.parentNode&&e.parentNode.removeChild(e)}function Ca(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function F(e){return document.createElement(e)}function ke(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Ye(e){return document.createTextNode(e)}function ee(){return Ye(" ")}function $t(){return Ye("")}function Vr(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function y(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function lr(e,t,n){const r=t.toLowerCase();r in e?e[r]=typeof e[r]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:y(e,t,n)}function Ao(e){return Array.from(e.childNodes)}function it(e,t){t=""+t,e.data!==t&&(e.data=t)}function Ri(e,t,n,r){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,"")}function Ai(e,t,n){e.classList.toggle(t,!!n)}class Ue{constructor(t=!1){re(this,"is_svg",!1);re(this,"e");re(this,"n");re(this,"t");re(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,n,r=null){this.e||(this.is_svg?this.e=ke(n.nodeName):this.e=F(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(t)),this.i(r)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let n=0;n<this.n.length;n+=1)H(this.t,this.n[n],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(A)}}function Ho(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let Ht;function Pt(e){Ht=e}function Bo(){if(!Ht)throw new Error("Function called outside component initialization");return Ht}function Yo(e){Bo().$$.on_mount.push(e)}const ft=[],Nt=[];let mt=[];const Hi=[],Ia=Promise.resolve();let wr=!1;function Da(){wr||(wr=!0,Ia.then(k))}function Ct(){return Da(),Ia}function Sr(e){mt.push(e)}const ur=new Set;let lt=0;function k(){if(lt!==0)return;const e=Ht;do{try{for(;lt<ft.length;){const t=ft[lt];lt++,Pt(t),Uo(t.$$)}}catch(t){throw ft.length=0,lt=0,t}for(Pt(null),ft.length=0,lt=0;Nt.length;)Nt.pop()();for(let t=0;t<mt.length;t+=1){const n=mt[t];ur.has(n)||(ur.add(n),n())}mt.length=0}while(ft.length);for(;Hi.length;)Hi.pop()();wr=!1,ur.clear(),Pt(e)}function Uo(e){if(e.fragment!==null){e.update(),Vt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Sr)}}function Wo(e){const t=[],n=[];mt.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),mt=t}const jo=new Set;function Vo(e,t){e&&e.i&&(jo.delete(e),e.i(t))}function bn(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function $o(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),Sr(()=>{const a=e.$$.on_mount.map(Ma).filter(On);e.$$.on_destroy?e.$$.on_destroy.push(...a):Vt(a),e.$$.on_mount=[]}),i.forEach(Sr)}function zo(e,t){const n=e.$$;n.fragment!==null&&(Wo(n.after_update),Vt(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Zo(e,t){e.$$.dirty[0]===-1&&(ft.push(e),Da(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Xo(e,t,n,r,i,a,s=null,o=[-1]){const l=Ht;Pt(e);const u=e.$$={fragment:null,ctx:[],props:a,update:ue,not_equal:i,bound:Pi(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Pi(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};s&&s(u.root);let h=!1;if(u.ctx=n?n(e,t.props||{},(c,d,...b)=>{const x=b.length?b[0]:d;return u.ctx&&i(u.ctx[c],u.ctx[c]=x)&&(!u.skip_bound&&u.bound[c]&&u.bound[c](x),h&&Zo(e,c)),d}):[],u.update(),h=!0,Vt(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const c=Ao(t.target);u.fragment&&u.fragment.l(c),c.forEach(A)}else u.fragment&&u.fragment.c();t.intro&&Vo(e.$$.fragment),$o(e,t.target,t.anchor),k()}Pt(l)}let Fa;typeof HTMLElement=="function"&&(Fa=class extends HTMLElement{constructor(t,n,r){super();re(this,"$$ctor");re(this,"$$s");re(this,"$$c");re(this,"$$cn",!1);re(this,"$$d",{});re(this,"$$r",!1);re(this,"$$p_d",{});re(this,"$$l",{});re(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(t,n,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,r)}removeEventListener(t,n,r){if(super.removeEventListener(t,n,r),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return or(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let s;return{c:function(){s=F("slot"),a!=="default"&&y(s,"name",a)},m:function(u,h){H(u,s,h)},d:function(u){u&&A(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=Ho(this);for(const a of this.$$s)a in r&&(n[a]=[t(a)]);for(const a of this.attributes){const s=this.$$g_p(a.name);s in this.$$d||(this.$$d[s]=hn(s,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Fi(Di({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const s=hn(a,this.$$d[a],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const s of this.$$l[a]){const o=this.$$c.$on(a,s);this.$$l_u.set(s,o)}this.$$l={}}})}attributeChangedCallback(t,n,r){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=hn(t,r,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function hn(e,t,n,r){var a;const i=(a=n[e])==null?void 0:a.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Jo(e,t,n,r,i,a){let s=class extends Fa{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(s.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=hn(o,l,t),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),r.forEach(o=>{Object.defineProperty(s.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),e.element=s,s}class qo{constructor(){re(this,"$$");re(this,"$$set")}$destroy(){zo(this,1),this.$destroy=ue}$on(t,n){if(!On(n))return ue;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!Io(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Qo="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Qo);function Ko(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function el(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
2
+ //! version : 2.29.4
3
+ //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
+ //! license : MIT
5
+ //! momentjs.com
6
+ var Pa;function p(){return Pa.apply(null,arguments)}function tl(e){Pa=e}function xe(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function rt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function $r(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(I(e,t))return!1;return!0}function fe(e){return e===void 0}function We(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function zt(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Na(e,t){var n=[],r,i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function Xe(e,t){for(var n in t)I(t,n)&&(e[n]=t[n]);return I(t,"toString")&&(e.toString=t.toString),I(t,"valueOf")&&(e.valueOf=t.valueOf),e}function De(e,t,n,r){return ss(e,t,n,r,!0).utc()}function nl(){return{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}}function E(e){return e._pf==null&&(e._pf=nl()),e._pf}var xr;Array.prototype.some?xr=Array.prototype.some:xr=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function zr(e){if(e._isValid==null){var t=E(e),n=xr.call(t.parsedDateParts,function(i){return i!=null}),r=!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&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r}return e._isValid}function Tn(e){var t=De(NaN);return e!=null?Xe(E(t),e):E(t).userInvalidated=!0,t}var Bi=p.momentProperties=[],hr=!1;function Zr(e,t){var n,r,i,a=Bi.length;if(fe(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),fe(t._i)||(e._i=t._i),fe(t._f)||(e._f=t._f),fe(t._l)||(e._l=t._l),fe(t._strict)||(e._strict=t._strict),fe(t._tzm)||(e._tzm=t._tzm),fe(t._isUTC)||(e._isUTC=t._isUTC),fe(t._offset)||(e._offset=t._offset),fe(t._pf)||(e._pf=E(t)),fe(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)r=Bi[n],i=t[r],fe(i)||(e[r]=i);return e}function Zt(e){Zr(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),hr===!1&&(hr=!0,p.updateOffset(this),hr=!1)}function Ee(e){return e instanceof Zt||e!=null&&e._isAMomentObject!=null}function Ra(e){p.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function _e(e,t){var n=!0;return Xe(function(){if(p.deprecationHandler!=null&&p.deprecationHandler(null,e),n){var r=[],i,a,s,o=arguments.length;for(a=0;a<o;a++){if(i="",typeof arguments[a]=="object"){i+=`
7
+ [`+a+"] ";for(s in arguments[0])I(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[a];r.push(i)}Ra(e+`
8
+ Arguments: `+Array.prototype.slice.call(r).join("")+`
9
+ `+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Yi={};function Aa(e,t){p.deprecationHandler!=null&&p.deprecationHandler(e,t),Yi[e]||(Ra(t),Yi[e]=!0)}p.suppressDeprecationWarnings=!1;p.deprecationHandler=null;function Fe(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function rl(e){var t,n;for(n in e)I(e,n)&&(t=e[n],Fe(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Er(e,t){var n=Xe({},e),r;for(r in t)I(t,r)&&(rt(e[r])&&rt(t[r])?(n[r]={},Xe(n[r],e[r]),Xe(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)I(e,r)&&!I(t,r)&&rt(e[r])&&(n[r]=Xe({},n[r]));return n}function Xr(e){e!=null&&this.set(e)}var Lr;Object.keys?Lr=Object.keys:Lr=function(e){var t,n=[];for(t in e)I(e,t)&&n.push(t);return n};var il={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function al(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Fe(r)?r.call(t,n):r}function Ie(e,t,n){var r=""+Math.abs(e),i=t-r.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var Jr=/(\[[^\[]*\])|(\\)?([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,sn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,fr={},pt={};function _(e,t,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),e&&(pt[e]=i),t&&(pt[t[0]]=function(){return Ie(i.apply(this,arguments),t[1],t[2])}),n&&(pt[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function sl(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ol(e){var t=e.match(Jr),n,r;for(n=0,r=t.length;n<r;n++)pt[t[n]]?t[n]=pt[t[n]]:t[n]=sl(t[n]);return function(i){var a="",s;for(s=0;s<r;s++)a+=Fe(t[s])?t[s].call(i,e):t[s];return a}}function fn(e,t){return e.isValid()?(t=Ha(t,e.localeData()),fr[t]=fr[t]||ol(t),fr[t](e)):e.localeData().invalidDate()}function Ha(e,t){var n=5;function r(i){return t.longDateFormat(i)||i}for(sn.lastIndex=0;n>=0&&sn.test(e);)e=e.replace(sn,r),sn.lastIndex=0,n-=1;return e}var ll={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"};function ul(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(Jr).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var hl="Invalid date";function fl(){return this._invalidDate}var cl="%d",dl=/\d{1,2}/;function ml(e){return this._ordinal.replace("%d",e)}var pl={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"};function gl(e,t,n,r){var i=this._relativeTime[n];return Fe(i)?i(e,t,n,r):i.replace(/%d/i,e)}function bl(e,t){var n=this._relativeTime[e>0?"future":"past"];return Fe(n)?n(t):n.replace(/%s/i,t)}var Rt={};function ae(e,t){var n=e.toLowerCase();Rt[n]=Rt[n+"s"]=Rt[t]=e}function ve(e){return typeof e=="string"?Rt[e]||Rt[e.toLowerCase()]:void 0}function qr(e){var t={},n,r;for(r in e)I(e,r)&&(n=ve(r),n&&(t[n]=e[r]));return t}var Ba={};function se(e,t){Ba[e]=t}function yl(e){var t=[],n;for(n in e)I(e,n)&&t.push({unit:n,priority:Ba[n]});return t.sort(function(r,i){return r.priority-i.priority}),t}function Mn(e){return e%4===0&&e%100!==0||e%400===0}function ye(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function O(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=ye(t)),n}function xt(e,t){return function(n){return n!=null?(Ya(this,e,n),p.updateOffset(this,t),this):yn(this,e)}}function yn(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ya(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&Mn(e.year())&&e.month()===1&&e.date()===29?(n=O(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Fn(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function _l(e){return e=ve(e),Fe(this[e])?this[e]():this}function vl(e,t){if(typeof e=="object"){e=qr(e);var n=yl(e),r,i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(e=ve(e),Fe(this[e]))return this[e](t);return this}var Ua=/\d/,me=/\d\d/,Wa=/\d{3}/,Qr=/\d{4}/,Gn=/[+-]?\d{6}/,Y=/\d\d?/,ja=/\d\d\d\d?/,Va=/\d\d\d\d\d\d?/,kn=/\d{1,3}/,Kr=/\d{1,4}/,Cn=/[+-]?\d{1,6}/,Et=/\d+/,In=/[+-]?\d+/,wl=/Z|[+-]\d\d:?\d\d/gi,Dn=/Z|[+-]\d\d(?::?\d\d)?/gi,Sl=/[+-]?\d+(\.\d{1,3})?/,Xt=/[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,_n;_n={};function g(e,t,n){_n[e]=Fe(t)?t:function(r,i){return r&&n?n:t}}function xl(e,t){return I(_n,e)?_n[e](t._strict,t._locale):new RegExp(El(e))}function El(e){return de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,i,a){return n||r||i||a}))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Or={};function R(e,t){var n,r=t,i;for(typeof e=="string"&&(e=[e]),We(t)&&(r=function(a,s){s[t]=O(a)}),i=e.length,n=0;n<i;n++)Or[e[n]]=r}function Jt(e,t){R(e,function(n,r,i,a){i._w=i._w||{},t(n,i._w,i,a)})}function Ll(e,t,n){t!=null&&I(Or,e)&&Or[e](t,n._a,n,e)}var ie=0,Re=1,Ce=2,ne=3,Se=4,Ae=5,nt=6,Ol=7,Tl=8;function Ml(e,t){return(e%t+t)%t}var Z;Array.prototype.indexOf?Z=Array.prototype.indexOf:Z=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Fn(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Ml(t,12);return e+=(t-n)/12,n===1?Mn(e)?29:28:31-n%7%2}_("M",["MM",2],"Mo",function(){return this.month()+1});_("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});_("MMMM",0,0,function(e){return this.localeData().months(this,e)});ae("month","M");se("month",8);g("M",Y);g("MM",Y,me);g("MMM",function(e,t){return t.monthsShortRegex(e)});g("MMMM",function(e,t){return t.monthsRegex(e)});R(["M","MM"],function(e,t){t[Re]=O(e)-1});R(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);i!=null?t[Re]=i:E(n).invalidMonth=e});var Gl="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),$a="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),za=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,kl=Xt,Cl=Xt;function Il(e,t){return e?xe(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||za).test(t)?"format":"standalone"][e.month()]:xe(this._months)?this._months:this._months.standalone}function Dl(e,t){return e?xe(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[za.test(t)?"format":"standalone"][e.month()]:xe(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Fl(e,t,n){var r,i,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=De([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?t==="MMM"?(i=Z.call(this._shortMonthsParse,s),i!==-1?i:null):(i=Z.call(this._longMonthsParse,s),i!==-1?i:null):t==="MMM"?(i=Z.call(this._shortMonthsParse,s),i!==-1?i:(i=Z.call(this._longMonthsParse,s),i!==-1?i:null)):(i=Z.call(this._longMonthsParse,s),i!==-1?i:(i=Z.call(this._shortMonthsParse,s),i!==-1?i:null))}function Pl(e,t,n){var r,i,a;if(this._monthsParseExact)return Fl.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=De([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]&&(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(n&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function Za(e,t){var n;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=O(t);else if(t=e.localeData().monthsParse(t),!We(t))return e}return n=Math.min(e.date(),Fn(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Xa(e){return e!=null?(Za(this,e),p.updateOffset(this,!0),this):yn(this,"Month")}function Nl(){return Fn(this.year(),this.month())}function Rl(e){return this._monthsParseExact?(I(this,"_monthsRegex")||Ja.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(I(this,"_monthsShortRegex")||(this._monthsShortRegex=kl),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Al(e){return this._monthsParseExact?(I(this,"_monthsRegex")||Ja.call(this),e?this._monthsStrictRegex:this._monthsRegex):(I(this,"_monthsRegex")||(this._monthsRegex=Cl),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Ja(){function e(s,o){return o.length-s.length}var t=[],n=[],r=[],i,a;for(i=0;i<12;i++)a=De([2e3,i]),t.push(this.monthsShort(a,"")),n.push(this.months(a,"")),r.push(this.months(a,"")),r.push(this.monthsShort(a,""));for(t.sort(e),n.sort(e),r.sort(e),i=0;i<12;i++)t[i]=de(t[i]),n[i]=de(n[i]);for(i=0;i<24;i++)r[i]=de(r[i]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}_("Y",0,0,function(){var e=this.year();return e<=9999?Ie(e,4):"+"+e});_(0,["YY",2],0,function(){return this.year()%100});_(0,["YYYY",4],0,"year");_(0,["YYYYY",5],0,"year");_(0,["YYYYYY",6,!0],0,"year");ae("year","y");se("year",1);g("Y",In);g("YY",Y,me);g("YYYY",Kr,Qr);g("YYYYY",Cn,Gn);g("YYYYYY",Cn,Gn);R(["YYYYY","YYYYYY"],ie);R("YYYY",function(e,t){t[ie]=e.length===2?p.parseTwoDigitYear(e):O(e)});R("YY",function(e,t){t[ie]=p.parseTwoDigitYear(e)});R("Y",function(e,t){t[ie]=parseInt(e,10)});function At(e){return Mn(e)?366:365}p.parseTwoDigitYear=function(e){return O(e)+(O(e)>68?1900:2e3)};var qa=xt("FullYear",!0);function Hl(){return Mn(this.year())}function Bl(e,t,n,r,i,a,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,r,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,r,i,a,s),o}function Bt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function vn(e,t,n){var r=7+t-n,i=(7+Bt(e,0,r).getUTCDay()-t)%7;return-i+r-1}function Qa(e,t,n,r,i){var a=(7+n-r)%7,s=vn(e,r,i),o=1+7*(t-1)+a+s,l,u;return o<=0?(l=e-1,u=At(l)+o):o>At(e)?(l=e+1,u=o-At(e)):(l=e,u=o),{year:l,dayOfYear:u}}function Yt(e,t,n){var r=vn(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,a,s;return i<1?(s=e.year()-1,a=i+He(s,t,n)):i>He(e.year(),t,n)?(a=i-He(e.year(),t,n),s=e.year()+1):(s=e.year(),a=i),{week:a,year:s}}function He(e,t,n){var r=vn(e,t,n),i=vn(e+1,t,n);return(At(e)-r+i)/7}_("w",["ww",2],"wo","week");_("W",["WW",2],"Wo","isoWeek");ae("week","w");ae("isoWeek","W");se("week",5);se("isoWeek",5);g("w",Y);g("ww",Y,me);g("W",Y);g("WW",Y,me);Jt(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=O(e)});function Yl(e){return Yt(e,this._week.dow,this._week.doy).week}var Ul={dow:0,doy:6};function Wl(){return this._week.dow}function jl(){return this._week.doy}function Vl(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function $l(e){var t=Yt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}_("d",0,"do","day");_("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});_("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});_("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});_("e",0,0,"weekday");_("E",0,0,"isoWeekday");ae("day","d");ae("weekday","e");ae("isoWeekday","E");se("day",11);se("weekday",11);se("isoWeekday",11);g("d",Y);g("e",Y);g("E",Y);g("dd",function(e,t){return t.weekdaysMinRegex(e)});g("ddd",function(e,t){return t.weekdaysShortRegex(e)});g("dddd",function(e,t){return t.weekdaysRegex(e)});Jt(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i!=null?t.d=i:E(n).invalidWeekday=e});Jt(["d","e","E"],function(e,t,n,r){t[r]=O(e)});function zl(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Zl(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ei(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Xl="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ka="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Jl="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ql=Xt,Ql=Xt,Kl=Xt;function eu(e,t){var n=xe(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ei(n,this._week.dow):e?n[e.day()]:n}function tu(e){return e===!0?ei(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function nu(e){return e===!0?ei(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function ru(e,t,n){var r,i,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=De([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?t==="dddd"?(i=Z.call(this._weekdaysParse,s),i!==-1?i:null):t==="ddd"?(i=Z.call(this._shortWeekdaysParse,s),i!==-1?i:null):(i=Z.call(this._minWeekdaysParse,s),i!==-1?i:null):t==="dddd"?(i=Z.call(this._weekdaysParse,s),i!==-1||(i=Z.call(this._shortWeekdaysParse,s),i!==-1)?i:(i=Z.call(this._minWeekdaysParse,s),i!==-1?i:null)):t==="ddd"?(i=Z.call(this._shortWeekdaysParse,s),i!==-1||(i=Z.call(this._weekdaysParse,s),i!==-1)?i:(i=Z.call(this._minWeekdaysParse,s),i!==-1?i:null)):(i=Z.call(this._minWeekdaysParse,s),i!==-1||(i=Z.call(this._weekdaysParse,s),i!==-1)?i:(i=Z.call(this._shortWeekdaysParse,s),i!==-1?i:null))}function iu(e,t,n){var r,i,a;if(this._weekdaysParseExact)return ru.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=De([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]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function au(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=zl(e,this.localeData()),this.add(e-t,"d")):t}function su(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function ou(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Zl(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function lu(e){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||ti.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(I(this,"_weekdaysRegex")||(this._weekdaysRegex=ql),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function uu(e){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||ti.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(I(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ql),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function hu(e){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||ti.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(I(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Kl),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ti(){function e(h,c){return c.length-h.length}var t=[],n=[],r=[],i=[],a,s,o,l,u;for(a=0;a<7;a++)s=De([2e3,1]).day(a),o=de(this.weekdaysMin(s,"")),l=de(this.weekdaysShort(s,"")),u=de(this.weekdays(s,"")),t.push(o),n.push(l),r.push(u),i.push(o),i.push(l),i.push(u);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ni(){return this.hours()%12||12}function fu(){return this.hours()||24}_("H",["HH",2],0,"hour");_("h",["hh",2],0,ni);_("k",["kk",2],0,fu);_("hmm",0,0,function(){return""+ni.apply(this)+Ie(this.minutes(),2)});_("hmmss",0,0,function(){return""+ni.apply(this)+Ie(this.minutes(),2)+Ie(this.seconds(),2)});_("Hmm",0,0,function(){return""+this.hours()+Ie(this.minutes(),2)});_("Hmmss",0,0,function(){return""+this.hours()+Ie(this.minutes(),2)+Ie(this.seconds(),2)});function es(e,t){_(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}es("a",!0);es("A",!1);ae("hour","h");se("hour",13);function ts(e,t){return t._meridiemParse}g("a",ts);g("A",ts);g("H",Y);g("h",Y);g("k",Y);g("HH",Y,me);g("hh",Y,me);g("kk",Y,me);g("hmm",ja);g("hmmss",Va);g("Hmm",ja);g("Hmmss",Va);R(["H","HH"],ne);R(["k","kk"],function(e,t,n){var r=O(e);t[ne]=r===24?0:r});R(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});R(["h","hh"],function(e,t,n){t[ne]=O(e),E(n).bigHour=!0});R("hmm",function(e,t,n){var r=e.length-2;t[ne]=O(e.substr(0,r)),t[Se]=O(e.substr(r)),E(n).bigHour=!0});R("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ne]=O(e.substr(0,r)),t[Se]=O(e.substr(r,2)),t[Ae]=O(e.substr(i)),E(n).bigHour=!0});R("Hmm",function(e,t,n){var r=e.length-2;t[ne]=O(e.substr(0,r)),t[Se]=O(e.substr(r))});R("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ne]=O(e.substr(0,r)),t[Se]=O(e.substr(r,2)),t[Ae]=O(e.substr(i))});function cu(e){return(e+"").toLowerCase().charAt(0)==="p"}var du=/[ap]\.?m?\.?/i,mu=xt("Hours",!0);function pu(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var ns={calendar:il,longDateFormat:ll,invalidDate:hl,ordinal:cl,dayOfMonthOrdinalParse:dl,relativeTime:pl,months:Gl,monthsShort:$a,week:Ul,weekdays:Xl,weekdaysMin:Jl,weekdaysShort:Ka,meridiemParse:du},U={},It={},Ut;function gu(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function Ui(e){return e&&e.toLowerCase().replace("_","-")}function bu(e){for(var t=0,n,r,i,a;t<e.length;){for(a=Ui(e[t]).split("-"),n=a.length,r=Ui(e[t+1]),r=r?r.split("-"):null;n>0;){if(i=Pn(a.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&gu(a,r)>=n-1)break;n--}t++}return Ut}function yu(e){return e.match("^[^/\\\\]*$")!=null}function Pn(e){var t=null,n;if(U[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&yu(e))try{t=Ut._abbr,n=el,n("./locale/"+e),Qe(t)}catch(r){U[e]=null}return U[e]}function Qe(e,t){var n;return e&&(fe(t)?n=je(e):n=ri(e,t),n?Ut=n:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ut._abbr}function ri(e,t){if(t!==null){var n,r=ns;if(t.abbr=e,U[e]!=null)Aa("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=U[e]._config;else if(t.parentLocale!=null)if(U[t.parentLocale]!=null)r=U[t.parentLocale]._config;else if(n=Pn(t.parentLocale),n!=null)r=n._config;else return It[t.parentLocale]||(It[t.parentLocale]=[]),It[t.parentLocale].push({name:e,config:t}),null;return U[e]=new Xr(Er(r,t)),It[e]&&It[e].forEach(function(i){ri(i.name,i.config)}),Qe(e),U[e]}else return delete U[e],null}function _u(e,t){if(t!=null){var n,r,i=ns;U[e]!=null&&U[e].parentLocale!=null?U[e].set(Er(U[e]._config,t)):(r=Pn(e),r!=null&&(i=r._config),t=Er(i,t),r==null&&(t.abbr=e),n=new Xr(t),n.parentLocale=U[e],U[e]=n),Qe(e)}else U[e]!=null&&(U[e].parentLocale!=null?(U[e]=U[e].parentLocale,e===Qe()&&Qe(e)):U[e]!=null&&delete U[e]);return U[e]}function je(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ut;if(!xe(e)){if(t=Pn(e),t)return t;e=[e]}return bu(e)}function vu(){return Lr(U)}function ii(e){var t,n=e._a;return n&&E(e).overflow===-2&&(t=n[Re]<0||n[Re]>11?Re:n[Ce]<1||n[Ce]>Fn(n[ie],n[Re])?Ce:n[ne]<0||n[ne]>24||n[ne]===24&&(n[Se]!==0||n[Ae]!==0||n[nt]!==0)?ne:n[Se]<0||n[Se]>59?Se:n[Ae]<0||n[Ae]>59?Ae:n[nt]<0||n[nt]>999?nt:-1,E(e)._overflowDayOfYear&&(t<ie||t>Ce)&&(t=Ce),E(e)._overflowWeeks&&t===-1&&(t=Ol),E(e)._overflowWeekday&&t===-1&&(t=Tl),E(e).overflow=t),e}var wu=/^\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)?)?$/,Su=/^\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)?)?$/,xu=/Z|[+-]\d\d(?::?\d\d)?/,on=[["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]],cr=[["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/]],Eu=/^\/?Date\((-?\d+)/i,Lu=/^(?:(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}))$/,Ou={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function rs(e){var t,n,r=e._i,i=wu.exec(r)||Su.exec(r),a,s,o,l,u=on.length,h=cr.length;if(i){for(E(e).iso=!0,t=0,n=u;t<n;t++)if(on[t][1].exec(i[1])){s=on[t][0],a=on[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(i[3]){for(t=0,n=h;t<n;t++)if(cr[t][1].exec(i[3])){o=(i[2]||" ")+cr[t][0];break}if(o==null){e._isValid=!1;return}}if(!a&&o!=null){e._isValid=!1;return}if(i[4])if(xu.exec(i[4]))l="Z";else{e._isValid=!1;return}e._f=s+(o||"")+(l||""),si(e)}else e._isValid=!1}function Tu(e,t,n,r,i,a){var s=[Mu(e),$a.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&s.push(parseInt(a,10)),s}function Mu(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Gu(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ku(e,t,n){if(e){var r=Ka.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return E(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Cu(e,t,n){if(e)return Ou[e];if(t)return 0;var r=parseInt(n,10),i=r%100,a=(r-i)/100;return a*60+i}function is(e){var t=Lu.exec(Gu(e._i)),n;if(t){if(n=Tu(t[4],t[3],t[2],t[5],t[6],t[7]),!ku(t[1],n,e))return;e._a=n,e._tzm=Cu(t[8],t[9],t[10]),e._d=Bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),E(e).rfc2822=!0}else e._isValid=!1}function Iu(e){var t=Eu.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(rs(e),e._isValid===!1)delete e._isValid;else return;if(is(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:p.createFromInputFallback(e)}p.createFromInputFallback=_e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function ct(e,t,n){return e!=null?e:t!=null?t:n}function Du(e){var t=new Date(p.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ai(e){var t,n,r=[],i,a,s;if(!e._d){for(i=Du(e),e._w&&e._a[Ce]==null&&e._a[Re]==null&&Fu(e),e._dayOfYear!=null&&(s=ct(e._a[ie],i[ie]),(e._dayOfYear>At(s)||e._dayOfYear===0)&&(E(e)._overflowDayOfYear=!0),n=Bt(s,0,e._dayOfYear),e._a[Re]=n.getUTCMonth(),e._a[Ce]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ne]===24&&e._a[Se]===0&&e._a[Ae]===0&&e._a[nt]===0&&(e._nextDay=!0,e._a[ne]=0),e._d=(e._useUTC?Bt:Bl).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ne]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==a&&(E(e).weekdayMismatch=!0)}}function Fu(e){var t,n,r,i,a,s,o,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,s=4,n=ct(t.GG,e._a[ie],Yt(B(),1,4).year),r=ct(t.W,1),i=ct(t.E,1),(i<1||i>7)&&(l=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,u=Yt(B(),a,s),n=ct(t.gg,e._a[ie],u.year),r=ct(t.w,u.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a),r<1||r>He(n,a,s)?E(e)._overflowWeeks=!0:l!=null?E(e)._overflowWeekday=!0:(o=Qa(n,r,i,a,s),e._a[ie]=o.year,e._dayOfYear=o.dayOfYear)}p.ISO_8601=function(){};p.RFC_2822=function(){};function si(e){if(e._f===p.ISO_8601){rs(e);return}if(e._f===p.RFC_2822){is(e);return}e._a=[],E(e).empty=!0;var t=""+e._i,n,r,i,a,s,o=t.length,l=0,u,h;for(i=Ha(e._f,e._locale).match(Jr)||[],h=i.length,n=0;n<h;n++)a=i[n],r=(t.match(xl(a,e))||[])[0],r&&(s=t.substr(0,t.indexOf(r)),s.length>0&&E(e).unusedInput.push(s),t=t.slice(t.indexOf(r)+r.length),l+=r.length),pt[a]?(r?E(e).empty=!1:E(e).unusedTokens.push(a),Ll(a,r,e)):e._strict&&!r&&E(e).unusedTokens.push(a);E(e).charsLeftOver=o-l,t.length>0&&E(e).unusedInput.push(t),e._a[ne]<=12&&E(e).bigHour===!0&&e._a[ne]>0&&(E(e).bigHour=void 0),E(e).parsedDateParts=e._a.slice(0),E(e).meridiem=e._meridiem,e._a[ne]=Pu(e._locale,e._a[ne],e._meridiem),u=E(e).era,u!==null&&(e._a[ie]=e._locale.erasConvertYear(u,e._a[ie])),ai(e),ii(e)}function Pu(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Nu(e){var t,n,r,i,a,s,o=!1,l=e._f.length;if(l===0){E(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<l;i++)a=0,s=!1,t=Zr({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],si(t),zr(t)&&(s=!0),a+=E(t).charsLeftOver,a+=E(t).unusedTokens.length*10,E(t).score=a,o?a<r&&(r=a,n=t):(r==null||a<r||s)&&(r=a,n=t,s&&(o=!0));Xe(e,n||t)}function Ru(e){if(!e._d){var t=qr(e._i),n=t.day===void 0?t.date:t.day;e._a=Na([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),ai(e)}}function Au(e){var t=new Zt(ii(as(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function as(e){var t=e._i,n=e._f;return e._locale=e._locale||je(e._l),t===null||n===void 0&&t===""?Tn({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Ee(t)?new Zt(ii(t)):(zt(t)?e._d=t:xe(n)?Nu(e):n?si(e):Hu(e),zr(e)||(e._d=null),e))}function Hu(e){var t=e._i;fe(t)?e._d=new Date(p.now()):zt(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Iu(e):xe(t)?(e._a=Na(t.slice(0),function(n){return parseInt(n,10)}),ai(e)):rt(t)?Ru(e):We(t)?e._d=new Date(t):p.createFromInputFallback(e)}function ss(e,t,n,r,i){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(rt(e)&&$r(e)||xe(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,Au(a)}function B(e,t,n,r){return ss(e,t,n,r,!1)}var Bu=_e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=B.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Tn()}),Yu=_e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=B.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Tn()});function os(e,t){var n,r;if(t.length===1&&xe(t[0])&&(t=t[0]),!t.length)return B();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function Uu(){var e=[].slice.call(arguments,0);return os("isBefore",e)}function Wu(){var e=[].slice.call(arguments,0);return os("isAfter",e)}var ju=function(){return Date.now?Date.now():+new Date},Dt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Vu(e){var t,n=!1,r,i=Dt.length;for(t in e)if(I(e,t)&&!(Z.call(Dt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<i;++r)if(e[Dt[r]]){if(n)return!1;parseFloat(e[Dt[r]])!==O(e[Dt[r]])&&(n=!0)}return!0}function $u(){return this._isValid}function zu(){return Le(NaN)}function Nn(e){var t=qr(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,h=t.millisecond||0;this._isValid=Vu(t),this._milliseconds=+h+u*1e3+l*6e4+o*1e3*60*60,this._days=+s+a*7,this._months=+i+r*3+n*12,this._data={},this._locale=je(),this._bubble()}function cn(e){return e instanceof Nn}function Tr(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Zu(e,t,n){var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,s;for(s=0;s<r;s++)O(e[s])!==O(t[s])&&a++;return a+i}function ls(e,t){_(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+Ie(~~(n/60),2)+t+Ie(~~n%60,2)})}ls("Z",":");ls("ZZ","");g("Z",Dn);g("ZZ",Dn);R(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=oi(Dn,e)});var Xu=/([\+\-]|\d\d)/gi;function oi(e,t){var n=(t||"").match(e),r,i,a;return n===null?null:(r=n[n.length-1]||[],i=(r+"").match(Xu)||["-",0,0],a=+(i[1]*60)+O(i[2]),a===0?0:i[0]==="+"?a:-a)}function li(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(Ee(e)||zt(e)?e.valueOf():B(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),p.updateOffset(n,!1),n):B(e).local()}function Mr(e){return-Math.round(e._d.getTimezoneOffset())}p.updateOffset=function(){};function Ju(e,t,n){var r=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=oi(Dn,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(i=Mr(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?fs(this,Le(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Mr(this)}function qu(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Qu(e){return this.utcOffset(0,e)}function Ku(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Mr(this),"m")),this}function eh(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=oi(wl,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function th(e){return this.isValid()?(e=e?B(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function nh(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function rh(){if(!fe(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Zr(e,this),e=as(e),e._a?(t=e._isUTC?De(e._a):B(e._a),this._isDSTShifted=this.isValid()&&Zu(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ih(){return this.isValid()?!this._isUTC:!1}function ah(){return this.isValid()?this._isUTC:!1}function us(){return this.isValid()?this._isUTC&&this._offset===0:!1}var sh=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,oh=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Le(e,t){var n=e,r=null,i,a,s;return cn(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:We(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=sh.exec(e))?(i=r[1]==="-"?-1:1,n={y:0,d:O(r[Ce])*i,h:O(r[ne])*i,m:O(r[Se])*i,s:O(r[Ae])*i,ms:O(Tr(r[nt]*1e3))*i}):(r=oh.exec(e))?(i=r[1]==="-"?-1:1,n={y:tt(r[2],i),M:tt(r[3],i),w:tt(r[4],i),d:tt(r[5],i),h:tt(r[6],i),m:tt(r[7],i),s:tt(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(s=lh(B(n.from),B(n.to)),n={},n.ms=s.milliseconds,n.M=s.months),a=new Nn(n),cn(e)&&I(e,"_locale")&&(a._locale=e._locale),cn(e)&&I(e,"_isValid")&&(a._isValid=e._isValid),a}Le.fn=Nn.prototype;Le.invalid=zu;function tt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Wi(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function lh(e,t){var n;return e.isValid()&&t.isValid()?(t=li(t,e),e.isBefore(t)?n=Wi(e,t):(n=Wi(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function hs(e,t){return function(n,r){var i,a;return r!==null&&!isNaN(+r)&&(Aa(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),i=Le(n,r),fs(this,i,e),this}}function fs(e,t,n,r){var i=t._milliseconds,a=Tr(t._days),s=Tr(t._months);e.isValid()&&(r=r==null?!0:r,s&&Za(e,yn(e,"Month")+s*n),a&&Ya(e,"Date",yn(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&p.updateOffset(e,a||s))}var uh=hs(1,"add"),hh=hs(-1,"subtract");function cs(e){return typeof e=="string"||e instanceof String}function fh(e){return Ee(e)||zt(e)||cs(e)||We(e)||dh(e)||ch(e)||e===null||e===void 0}function ch(e){var t=rt(e)&&!$r(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,a,s=r.length;for(i=0;i<s;i+=1)a=r[i],n=n||I(e,a);return t&&n}function dh(e){var t=xe(e),n=!1;return t&&(n=e.filter(function(r){return!We(r)&&cs(e)}).length===0),t&&n}function mh(e){var t=rt(e)&&!$r(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,a;for(i=0;i<r.length;i+=1)a=r[i],n=n||I(e,a);return t&&n}function ph(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function gh(e,t){arguments.length===1&&(arguments[0]?fh(arguments[0])?(e=arguments[0],t=void 0):mh(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||B(),r=li(n,this).startOf("day"),i=p.calendarFormat(this,r)||"sameElse",a=t&&(Fe(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,B(n)))}function bh(){return new Zt(this)}function yh(e,t){var n=Ee(e)?e:B(e);return this.isValid()&&n.isValid()?(t=ve(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function _h(e,t){var n=Ee(e)?e:B(e);return this.isValid()&&n.isValid()?(t=ve(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function vh(e,t,n,r){var i=Ee(e)?e:B(e),a=Ee(t)?t:B(t);return this.isValid()&&i.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(i,n):!this.isBefore(i,n))&&(r[1]===")"?this.isBefore(a,n):!this.isAfter(a,n))):!1}function wh(e,t){var n=Ee(e)?e:B(e),r;return this.isValid()&&n.isValid()?(t=ve(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function Sh(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function xh(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Eh(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(r=li(e,this),!r.isValid())return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,t=ve(t),t){case"year":a=dn(this,r)/12;break;case"month":a=dn(this,r);break;case"quarter":a=dn(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:ye(a)}function dn(e,t){if(e.date()<t.date())return-dn(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),i,a;return t-r<0?(i=e.clone().add(n-1,"months"),a=(t-r)/(r-i)):(i=e.clone().add(n+1,"months"),a=(t-r)/(i-r)),-(n+a)||0}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Lh(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Oh(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?fn(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Fe(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",fn(n,"Z")):fn(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Th(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,i,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(n+r+i+a)}function Mh(e){e||(e=this.isUtc()?p.defaultFormatUtc:p.defaultFormat);var t=fn(this,e);return this.localeData().postformat(t)}function Gh(e,t){return this.isValid()&&(Ee(e)&&e.isValid()||B(e).isValid())?Le({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function kh(e){return this.from(B(),e)}function Ch(e,t){return this.isValid()&&(Ee(e)&&e.isValid()||B(e).isValid())?Le({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ih(e){return this.to(B(),e)}function ds(e){var t;return e===void 0?this._locale._abbr:(t=je(e),t!=null&&(this._locale=t),this)}var ms=_e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function ps(){return this._locale}var wn=1e3,gt=60*wn,Sn=60*gt,gs=(365*400+97)*24*Sn;function bt(e,t){return(e%t+t)%t}function bs(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-gs:new Date(e,t,n).valueOf()}function ys(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-gs:Date.UTC(e,t,n)}function Dh(e){var t,n;if(e=ve(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?ys:bs,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-=bt(t+(this._isUTC?0:this.utcOffset()*gt),Sn);break;case"minute":t=this._d.valueOf(),t-=bt(t,gt);break;case"second":t=this._d.valueOf(),t-=bt(t,wn);break}return this._d.setTime(t),p.updateOffset(this,!0),this}function Fh(e){var t,n;if(e=ve(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?ys:bs,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+=Sn-bt(t+(this._isUTC?0:this.utcOffset()*gt),Sn)-1;break;case"minute":t=this._d.valueOf(),t+=gt-bt(t,gt)-1;break;case"second":t=this._d.valueOf(),t+=wn-bt(t,wn)-1;break}return this._d.setTime(t),p.updateOffset(this,!0),this}function Ph(){return this._d.valueOf()-(this._offset||0)*6e4}function Nh(){return Math.floor(this.valueOf()/1e3)}function Rh(){return new Date(this.valueOf())}function Ah(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Hh(){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()}}function Bh(){return this.isValid()?this.toISOString():null}function Yh(){return zr(this)}function Uh(){return Xe({},E(this))}function Wh(){return E(this).overflow}function jh(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}_("N",0,0,"eraAbbr");_("NN",0,0,"eraAbbr");_("NNN",0,0,"eraAbbr");_("NNNN",0,0,"eraName");_("NNNNN",0,0,"eraNarrow");_("y",["y",1],"yo","eraYear");_("y",["yy",2],0,"eraYear");_("y",["yyy",3],0,"eraYear");_("y",["yyyy",4],0,"eraYear");g("N",ui);g("NN",ui);g("NNN",ui);g("NNNN",tf);g("NNNNN",nf);R(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?E(n).era=i:E(n).invalidEra=e});g("y",Et);g("yy",Et);g("yyy",Et);g("yyyy",Et);g("yo",rf);R(["y","yy","yyy","yyyy"],ie);R(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ie]=n._locale.eraYearOrdinalParse(e,i):t[ie]=parseInt(e,10)});function Vh(e,t){var n,r,i,a=this._eras||je("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":i=p(a[n].since).startOf("day"),a[n].since=i.valueOf();break}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=p(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf();break}}return a}function $h(e,t,n){var r,i,a=this.eras(),s,o,l;for(e=e.toUpperCase(),r=0,i=a.length;r<i;++r)if(s=a[r].name.toUpperCase(),o=a[r].abbr.toUpperCase(),l=a[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return a[r];break;case"NNNN":if(s===e)return a[r];break;case"NNNNN":if(l===e)return a[r];break}else if([s,o,l].indexOf(e)>=0)return a[r]}function zh(e,t){var n=e.since<=e.until?1:-1;return t===void 0?p(e.since).year():p(e.since).year()+(t-e.offset)*n}function Zh(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function Xh(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function Jh(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function qh(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.clone().startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-p(i[e].since).year())*n+i[e].offset;return this.year()}function Qh(e){return I(this,"_erasNameRegex")||hi.call(this),e?this._erasNameRegex:this._erasRegex}function Kh(e){return I(this,"_erasAbbrRegex")||hi.call(this),e?this._erasAbbrRegex:this._erasRegex}function ef(e){return I(this,"_erasNarrowRegex")||hi.call(this),e?this._erasNarrowRegex:this._erasRegex}function ui(e,t){return t.erasAbbrRegex(e)}function tf(e,t){return t.erasNameRegex(e)}function nf(e,t){return t.erasNarrowRegex(e)}function rf(e,t){return t._eraYearOrdinalRegex||Et}function hi(){var e=[],t=[],n=[],r=[],i,a,s=this.eras();for(i=0,a=s.length;i<a;++i)t.push(de(s[i].name)),e.push(de(s[i].abbr)),n.push(de(s[i].narrow)),r.push(de(s[i].name)),r.push(de(s[i].abbr)),r.push(de(s[i].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}_(0,["gg",2],0,function(){return this.weekYear()%100});_(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Rn(e,t){_(0,[e,e.length],0,t)}Rn("gggg","weekYear");Rn("ggggg","weekYear");Rn("GGGG","isoWeekYear");Rn("GGGGG","isoWeekYear");ae("weekYear","gg");ae("isoWeekYear","GG");se("weekYear",1);se("isoWeekYear",1);g("G",In);g("g",In);g("GG",Y,me);g("gg",Y,me);g("GGGG",Kr,Qr);g("gggg",Kr,Qr);g("GGGGG",Cn,Gn);g("ggggg",Cn,Gn);Jt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=O(e)});Jt(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)});function af(e){return _s.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function sf(e){return _s.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function of(){return He(this.year(),1,4)}function lf(){return He(this.isoWeekYear(),1,4)}function uf(){var e=this.localeData()._week;return He(this.year(),e.dow,e.doy)}function hf(){var e=this.localeData()._week;return He(this.weekYear(),e.dow,e.doy)}function _s(e,t,n,r,i){var a;return e==null?Yt(this,r,i).year:(a=He(e,r,i),t>a&&(t=a),ff.call(this,e,t,n,r,i))}function ff(e,t,n,r,i){var a=Qa(e,t,n,r,i),s=Bt(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}_("Q",0,"Qo","quarter");ae("quarter","Q");se("quarter",7);g("Q",Ua);R("Q",function(e,t){t[Re]=(O(e)-1)*3});function cf(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}_("D",["DD",2],"Do","date");ae("date","D");se("date",9);g("D",Y);g("DD",Y,me);g("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});R(["D","DD"],Ce);R("Do",function(e,t){t[Ce]=O(e.match(Y)[0])});var vs=xt("Date",!0);_("DDD",["DDDD",3],"DDDo","dayOfYear");ae("dayOfYear","DDD");se("dayOfYear",4);g("DDD",kn);g("DDDD",Wa);R(["DDD","DDDD"],function(e,t,n){n._dayOfYear=O(e)});function df(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}_("m",["mm",2],0,"minute");ae("minute","m");se("minute",14);g("m",Y);g("mm",Y,me);R(["m","mm"],Se);var mf=xt("Minutes",!1);_("s",["ss",2],0,"second");ae("second","s");se("second",15);g("s",Y);g("ss",Y,me);R(["s","ss"],Ae);var pf=xt("Seconds",!1);_("S",0,0,function(){return~~(this.millisecond()/100)});_(0,["SS",2],0,function(){return~~(this.millisecond()/10)});_(0,["SSS",3],0,"millisecond");_(0,["SSSS",4],0,function(){return this.millisecond()*10});_(0,["SSSSS",5],0,function(){return this.millisecond()*100});_(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});_(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});_(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});_(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});ae("millisecond","ms");se("millisecond",16);g("S",kn,Ua);g("SS",kn,me);g("SSS",kn,Wa);var Je,ws;for(Je="SSSS";Je.length<=9;Je+="S")g(Je,Et);function gf(e,t){t[nt]=O(("0."+e)*1e3)}for(Je="S";Je.length<=9;Je+="S")R(Je,gf);ws=xt("Milliseconds",!1);_("z",0,0,"zoneAbbr");_("zz",0,0,"zoneName");function bf(){return this._isUTC?"UTC":""}function yf(){return this._isUTC?"Coordinated Universal Time":""}var m=Zt.prototype;m.add=uh;m.calendar=gh;m.clone=bh;m.diff=Eh;m.endOf=Fh;m.format=Mh;m.from=Gh;m.fromNow=kh;m.to=Ch;m.toNow=Ih;m.get=_l;m.invalidAt=Wh;m.isAfter=yh;m.isBefore=_h;m.isBetween=vh;m.isSame=wh;m.isSameOrAfter=Sh;m.isSameOrBefore=xh;m.isValid=Yh;m.lang=ms;m.locale=ds;m.localeData=ps;m.max=Yu;m.min=Bu;m.parsingFlags=Uh;m.set=vl;m.startOf=Dh;m.subtract=hh;m.toArray=Ah;m.toObject=Hh;m.toDate=Rh;m.toISOString=Oh;m.inspect=Th;typeof Symbol!="undefined"&&Symbol.for!=null&&(m[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});m.toJSON=Bh;m.toString=Lh;m.unix=Nh;m.valueOf=Ph;m.creationData=jh;m.eraName=Zh;m.eraNarrow=Xh;m.eraAbbr=Jh;m.eraYear=qh;m.year=qa;m.isLeapYear=Hl;m.weekYear=af;m.isoWeekYear=sf;m.quarter=m.quarters=cf;m.month=Xa;m.daysInMonth=Nl;m.week=m.weeks=Vl;m.isoWeek=m.isoWeeks=$l;m.weeksInYear=uf;m.weeksInWeekYear=hf;m.isoWeeksInYear=of;m.isoWeeksInISOWeekYear=lf;m.date=vs;m.day=m.days=au;m.weekday=su;m.isoWeekday=ou;m.dayOfYear=df;m.hour=m.hours=mu;m.minute=m.minutes=mf;m.second=m.seconds=pf;m.millisecond=m.milliseconds=ws;m.utcOffset=Ju;m.utc=Qu;m.local=Ku;m.parseZone=eh;m.hasAlignedHourOffset=th;m.isDST=nh;m.isLocal=ih;m.isUtcOffset=ah;m.isUtc=us;m.isUTC=us;m.zoneAbbr=bf;m.zoneName=yf;m.dates=_e("dates accessor is deprecated. Use date instead.",vs);m.months=_e("months accessor is deprecated. Use month instead",Xa);m.years=_e("years accessor is deprecated. Use year instead",qa);m.zone=_e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",qu);m.isDSTShifted=_e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",rh);function _f(e){return B(e*1e3)}function vf(){return B.apply(null,arguments).parseZone()}function Ss(e){return e}var D=Xr.prototype;D.calendar=al;D.longDateFormat=ul;D.invalidDate=fl;D.ordinal=ml;D.preparse=Ss;D.postformat=Ss;D.relativeTime=gl;D.pastFuture=bl;D.set=rl;D.eras=Vh;D.erasParse=$h;D.erasConvertYear=zh;D.erasAbbrRegex=Kh;D.erasNameRegex=Qh;D.erasNarrowRegex=ef;D.months=Il;D.monthsShort=Dl;D.monthsParse=Pl;D.monthsRegex=Al;D.monthsShortRegex=Rl;D.week=Yl;D.firstDayOfYear=jl;D.firstDayOfWeek=Wl;D.weekdays=eu;D.weekdaysMin=nu;D.weekdaysShort=tu;D.weekdaysParse=iu;D.weekdaysRegex=lu;D.weekdaysShortRegex=uu;D.weekdaysMinRegex=hu;D.isPM=cu;D.meridiem=pu;function xn(e,t,n,r){var i=je(),a=De().set(r,t);return i[n](a,e)}function xs(e,t,n){if(We(e)&&(t=e,e=void 0),e=e||"",t!=null)return xn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=xn(e,r,n,"month");return i}function fi(e,t,n,r){typeof e=="boolean"?(We(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,We(t)&&(n=t,t=void 0),t=t||"");var i=je(),a=e?i._week.dow:0,s,o=[];if(n!=null)return xn(t,(n+a)%7,r,"day");for(s=0;s<7;s++)o[s]=xn(t,(s+a)%7,r,"day");return o}function wf(e,t){return xs(e,t,"months")}function Sf(e,t){return xs(e,t,"monthsShort")}function xf(e,t,n){return fi(e,t,n,"weekdays")}function Ef(e,t,n){return fi(e,t,n,"weekdaysShort")}function Lf(e,t,n){return fi(e,t,n,"weekdaysMin")}Qe("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,n=O(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});p.lang=_e("moment.lang is deprecated. Use moment.locale instead.",Qe);p.langData=_e("moment.langData is deprecated. Use moment.localeData instead.",je);var Pe=Math.abs;function Of(){var e=this._data;return this._milliseconds=Pe(this._milliseconds),this._days=Pe(this._days),this._months=Pe(this._months),e.milliseconds=Pe(e.milliseconds),e.seconds=Pe(e.seconds),e.minutes=Pe(e.minutes),e.hours=Pe(e.hours),e.months=Pe(e.months),e.years=Pe(e.years),this}function Es(e,t,n,r){var i=Le(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Tf(e,t){return Es(this,e,t,1)}function Mf(e,t){return Es(this,e,t,-1)}function ji(e){return e<0?Math.floor(e):Math.ceil(e)}function Gf(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,a,s,o,l;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=ji(Gr(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=ye(e/1e3),r.seconds=i%60,a=ye(i/60),r.minutes=a%60,s=ye(a/60),r.hours=s%24,t+=ye(s/24),l=ye(Ls(t)),n+=l,t-=ji(Gr(l)),o=ye(n/12),n%=12,r.days=t,r.months=n,r.years=o,this}function Ls(e){return e*4800/146097}function Gr(e){return e*146097/4800}function kf(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=ve(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+Ls(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Gr(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Cf(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+O(this._months/12)*31536e6:NaN}function Ve(e){return function(){return this.as(e)}}var If=Ve("ms"),Df=Ve("s"),Ff=Ve("m"),Pf=Ve("h"),Nf=Ve("d"),Rf=Ve("w"),Af=Ve("M"),Hf=Ve("Q"),Bf=Ve("y");function Yf(){return Le(this)}function Uf(e){return e=ve(e),this.isValid()?this[e+"s"]():NaN}function at(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wf=at("milliseconds"),jf=at("seconds"),Vf=at("minutes"),$f=at("hours"),zf=at("days"),Zf=at("months"),Xf=at("years");function Jf(){return ye(this.days()/7)}var Ne=Math.round,dt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function qf(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function Qf(e,t,n,r){var i=Le(e).abs(),a=Ne(i.as("s")),s=Ne(i.as("m")),o=Ne(i.as("h")),l=Ne(i.as("d")),u=Ne(i.as("M")),h=Ne(i.as("w")),c=Ne(i.as("y")),d=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||s<=1&&["m"]||s<n.m&&["mm",s]||o<=1&&["h"]||o<n.h&&["hh",o]||l<=1&&["d"]||l<n.d&&["dd",l];return n.w!=null&&(d=d||h<=1&&["w"]||h<n.w&&["ww",h]),d=d||u<=1&&["M"]||u<n.M&&["MM",u]||c<=1&&["y"]||["yy",c],d[2]=t,d[3]=+e>0,d[4]=r,qf.apply(null,d)}function Kf(e){return e===void 0?Ne:typeof e=="function"?(Ne=e,!0):!1}function ec(e,t){return dt[e]===void 0?!1:t===void 0?dt[e]:(dt[e]=t,e==="s"&&(dt.ss=t-1),!0)}function tc(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=dt,i,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},dt,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),a=Qf(this,!n,r,i),n&&(a=i.pastFuture(+this,a)),i.postformat(a)}var dr=Math.abs;function ut(e){return(e>0)-(e<0)||+e}function An(){if(!this.isValid())return this.localeData().invalidDate();var e=dr(this._milliseconds)/1e3,t=dr(this._days),n=dr(this._months),r,i,a,s,o=this.asSeconds(),l,u,h,c;return o?(r=ye(e/60),i=ye(r/60),e%=60,r%=60,a=ye(n/12),n%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=ut(this._months)!==ut(o)?"-":"",h=ut(this._days)!==ut(o)?"-":"",c=ut(this._milliseconds)!==ut(o)?"-":"",l+"P"+(a?u+a+"Y":"")+(n?u+n+"M":"")+(t?h+t+"D":"")+(i||r||e?"T":"")+(i?c+i+"H":"")+(r?c+r+"M":"")+(e?c+s+"S":"")):"P0D"}var G=Nn.prototype;G.isValid=$u;G.abs=Of;G.add=Tf;G.subtract=Mf;G.as=kf;G.asMilliseconds=If;G.asSeconds=Df;G.asMinutes=Ff;G.asHours=Pf;G.asDays=Nf;G.asWeeks=Rf;G.asMonths=Af;G.asQuarters=Hf;G.asYears=Bf;G.valueOf=Cf;G._bubble=Gf;G.clone=Yf;G.get=Uf;G.milliseconds=Wf;G.seconds=jf;G.minutes=Vf;G.hours=$f;G.days=zf;G.weeks=Jf;G.months=Zf;G.years=Xf;G.humanize=tc;G.toISOString=An;G.toString=An;G.toJSON=An;G.locale=ds;G.localeData=ps;G.toIsoString=_e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",An);G.lang=ms;_("X",0,0,"unix");_("x",0,0,"valueOf");g("x",In);g("X",Sl);R("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});R("x",function(e,t,n){n._d=new Date(O(e))});//! moment.js
10
+ p.version="2.29.4";tl(B);p.fn=m;p.min=Uu;p.max=Wu;p.now=ju;p.utc=De;p.unix=_f;p.months=wf;p.isDate=zt;p.locale=Qe;p.invalid=Tn;p.duration=Le;p.isMoment=Ee;p.weekdays=xf;p.parseZone=vf;p.localeData=je;p.isDuration=cn;p.monthsShort=Sf;p.weekdaysMin=Lf;p.defineLocale=ri;p.updateLocale=_u;p.locales=vu;p.weekdaysShort=Ef;p.normalizeUnits=ve;p.relativeTimeRounding=Kf;p.relativeTimeThreshold=ec;p.calendarFormat=ph;p.prototype=m;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"};/*! *****************************************************************************
11
+ Copyright (c) Microsoft Corporation.
12
+
13
+ Permission to use, copy, modify, and/or distribute this software for any
14
+ purpose with or without fee is hereby granted.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
17
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
19
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
20
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
21
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22
+ PERFORMANCE OF THIS SOFTWARE.
23
+ ***************************************************************************** */var kr=function(e,t){return kr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},kr(e,t)};function $e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");kr(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var C=function(){return C=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},C.apply(this,arguments)};function nc(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Cr(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ir(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(o){s={error:o}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return a}function yt(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||t)}function Be(e){return typeof e=="function"}function Os(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var mr=Os(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
24
+ `+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
25
+ `):"",this.name="UnsubscriptionError",this.errors=n}});function Dr(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Hn=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,a;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var o=Cr(s),l=o.next();!l.done;l=o.next()){var u=l.value;u.remove(this)}}catch(v){t={error:v}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}else s.remove(this);var h=this.initialTeardown;if(Be(h))try{h()}catch(v){a=v instanceof mr?v.errors:[v]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var d=Cr(c),b=d.next();!b.done;b=d.next()){var x=b.value;try{Vi(x)}catch(v){a=a!=null?a:[],v instanceof mr?a=yt(yt([],Ir(a)),Ir(v.errors)):a.push(v)}}}catch(v){r={error:v}}finally{try{b&&!b.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}}if(a)throw new mr(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Vi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&Dr(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&Dr(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ts=Hn.EMPTY;function Ms(e){return e instanceof Hn||e&&"closed"in e&&Be(e.remove)&&Be(e.add)&&Be(e.unsubscribe)}function Vi(e){Be(e)?e():e.unsubscribe()}var Gs={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},rc={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,yt([e,t],Ir(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function ic(e){rc.setTimeout(function(){throw e})}function $i(){}function mn(e){e()}var ks=function(e){$e(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,Ms(n)&&n.add(r)):r.destination=lc,r}return t.create=function(n,r,i){return new Fr(n,r,i)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Hn),ac=Function.prototype.bind;function pr(e,t){return ac.call(e,t)}var sc=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){ln(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){ln(r)}else ln(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){ln(n)}},e}(),Fr=function(e){$e(t,e);function t(n,r,i){var a=e.call(this)||this,s;if(Be(n)||!n)s={next:n!=null?n:void 0,error:r!=null?r:void 0,complete:i!=null?i:void 0};else{var o;a&&Gs.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=function(){return a.unsubscribe()},s={next:n.next&&pr(n.next,o),error:n.error&&pr(n.error,o),complete:n.complete&&pr(n.complete,o)}):s=n}return a.destination=new sc(s),a}return t}(ks);function ln(e){ic(e)}function oc(e){throw e}var lc={closed:!0,next:$i,error:oc,complete:$i},uc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function hc(e){return e}function fc(e){return e.length===0?hc:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var zi=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,a=dc(t)?t:new Fr(t,n,r);return mn(function(){var s=i,o=s.operator,l=s.source;a.add(o?o.call(a,l):l?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=Zi(n),new n(function(i,a){var s=new Fr({next:function(o){try{t(o)}catch(l){a(l),s.unsubscribe()}},error:a,complete:i});r.subscribe(s)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[uc]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return fc(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Zi(t),new t(function(r,i){var a;n.subscribe(function(s){return a=s},function(s){return i(s)},function(){return r(a)})})},e.create=function(t){return new e(t)},e}();function Zi(e){var t;return(t=e!=null?e:Gs.Promise)!==null&&t!==void 0?t:Promise}function cc(e){return e&&Be(e.next)&&Be(e.error)&&Be(e.complete)}function dc(e){return e&&e instanceof ks||cc(e)&&Ms(e)}var mc=Os(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Cs=function(e){$e(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Xi(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new mc},t.prototype.next=function(n){var r=this;mn(function(){var i,a;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=Cr(r.currentObservers),o=s.next();!o.done;o=s.next()){var l=o.value;l.next(n)}}catch(u){i={error:u}}finally{try{o&&!o.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;mn(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;mn(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,a=i.hasError,s=i.isStopped,o=i.observers;return a||s?Ts:(this.currentObservers=null,o.push(n),new Hn(function(){r.currentObservers=null,Dr(o,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,a=r.thrownError,s=r.isStopped;i?n.error(a):s&&n.complete()},t.prototype.asObservable=function(){var n=new zi;return n.source=this,n},t.create=function(n,r){return new Xi(n,r)},t}(zi),Xi=function(e){$e(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:Ts},t}(Cs),Is={now:function(){return(Is.delegate||Date).now()},delegate:void 0},pc=function(e){$e(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Is);var a=e.call(this)||this;return a._bufferSize=n,a._windowTime=r,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=r===1/0,a._bufferSize=Math.max(1,n),a._windowTime=Math.max(1,r),a}return t.prototype.next=function(n){var r=this,i=r.isStopped,a=r._buffer,s=r._infiniteTimeWindow,o=r._timestampProvider,l=r._windowTime;i||(a.push(n),!s&&a.push(o.now()+l)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),i=this,a=i._infiniteTimeWindow,s=i._buffer,o=s.slice(),l=0;l<o.length&&!n.closed;l+=a?1:2)n.next(o[l]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,i=n._timestampProvider,a=n._buffer,s=n._infiniteTimeWindow,o=(s?1:2)*r;if(r<1/0&&o<a.length&&a.splice(0,a.length-o),!s){for(var l=i.now(),u=0,h=1;h<a.length&&a[h]<=l;h+=2)u=h;u&&a.splice(0,u+1)}},t}(Cs);const Ji=[],qi={},gc=(e,t=0)=>{if(Ji.indexOf(e)==-1){const n=new pc(t);qi[e]=n,Ji.push(e)}return qi[e]},ht=[];function bc(e,t){return{subscribe:Bn(e,t).subscribe}}function Bn(e,t=ue){let n;const r=new Set;function i(o){if(Ga(e,o)&&(e=o,n)){const l=!ht.length;for(const u of r)u[1](),ht.push(u,e);if(l){for(let u=0;u<ht.length;u+=2)ht[u][0](ht[u+1]);ht.length=0}}}function a(o){i(o(e))}function s(o,l=ue){const u=[o,l];return r.add(u),r.size===1&&(n=t(i,a)||ue),o(e),()=>{r.delete(u),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:s}}function Lt(e,t,n){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return bc(n,(s,o)=>{let l=!1;const u=[];let h=0,c=ue;const d=()=>{if(h)return;c();const x=t(r?u[0]:u,s,o);a?s(x):c=On(x)?x:ue},b=i.map((x,v)=>ka(x,P=>{u[v]=P,h&=~(1<<v),l&&d()},()=>{h|=1<<v}));return l=!0,d(),function(){Vt(b),c(),l=!1}})}var yc=function(t){return _c(t)&&!vc(t)};function _c(e){return!!e&&typeof e=="object"}function vc(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||xc(e)}var wc=typeof Symbol=="function"&&Symbol.for,Sc=wc?Symbol.for("react.element"):60103;function xc(e){return e.$$typeof===Sc}function Ec(e){return Array.isArray(e)?[]:{}}function Wt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?_t(Ec(e),e,t):e}function Lc(e,t,n){return e.concat(t).map(function(r){return Wt(r,n)})}function Oc(e,t){if(!t.customMerge)return _t;var n=t.customMerge(e);return typeof n=="function"?n:_t}function Tc(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Qi(e){return Object.keys(e).concat(Tc(e))}function Ds(e,t){try{return t in e}catch(n){return!1}}function Mc(e,t){return Ds(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Gc(e,t,n){var r={};return n.isMergeableObject(e)&&Qi(e).forEach(function(i){r[i]=Wt(e[i],n)}),Qi(t).forEach(function(i){Mc(e,i)||(Ds(e,i)&&n.isMergeableObject(t[i])?r[i]=Oc(i,n)(e[i],t[i],n):r[i]=Wt(t[i],n))}),r}function _t(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||Lc,n.isMergeableObject=n.isMergeableObject||yc,n.cloneUnlessOtherwiseSpecified=Wt;var r=Array.isArray(t),i=Array.isArray(e),a=r===i;return a?r?n.arrayMerge(e,t,n):Gc(e,t,n):Wt(t,n)}_t.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return _t(r,i,n)},{})};var kc=_t,Cc=kc;const Ic=Ko(Cc);function gr(e,t){var n=t&&t.cache?t.cache:Ac,r=t&&t.serializer?t.serializer:Rc,i=t&&t.strategy?t.strategy:Fc;return i(e,{cache:n,serializer:r})}function Dc(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Fs(e,t,n,r){var i=Dc(r)?r:n(r),a=t.get(i);return typeof a=="undefined"&&(a=e.call(this,r),t.set(i,a)),a}function Ps(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a=="undefined"&&(a=e.apply(this,r),t.set(i,a)),a}function ci(e,t,n,r,i){return n.bind(t,e,r,i)}function Fc(e,t){var n=e.length===1?Fs:Ps;return ci(e,this,n,t.cache.create(),t.serializer)}function Pc(e,t){return ci(e,this,Ps,t.cache.create(),t.serializer)}function Nc(e,t){return ci(e,this,Fs,t.cache.create(),t.serializer)}var Rc=function(){return JSON.stringify(arguments)};function di(){this.cache=Object.create(null)}di.prototype.get=function(e){return this.cache[e]};di.prototype.set=function(e,t){this.cache[e]=t};var Ac={create:function(){return new di}},br={variadic:Pc,monadic:Nc},T;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(T||(T={}));var W;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(W||(W={}));var vt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(vt||(vt={}));function Ki(e){return e.type===W.literal}function Hc(e){return e.type===W.argument}function Ns(e){return e.type===W.number}function Rs(e){return e.type===W.date}function As(e){return e.type===W.time}function Hs(e){return e.type===W.select}function Bs(e){return e.type===W.plural}function Bc(e){return e.type===W.pound}function Ys(e){return e.type===W.tag}function Us(e){return!!(e&&typeof e=="object"&&e.type===vt.number)}function Pr(e){return!!(e&&typeof e=="object"&&e.type===vt.dateTime)}var Ws=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Yc=/(?:[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;function Uc(e){var t={};return e.replace(Yc,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"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":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-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":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<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""}),t}var Wc=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function jc(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Wc).filter(function(d){return d.length>0}),n=[],r=0,i=t;r<i.length;r++){var a=i[r],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var o=s[0],l=s.slice(1),u=0,h=l;u<h.length;u++){var c=h[u];if(c.length===0)throw new Error("Invalid number skeleton")}n.push({stem:o,options:l})}return n}function Vc(e){return e.replace(/^(.*?)-/,"")}var ea=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,js=/^(@+)?(\+|#+)?[rs]?$/g,$c=/(\*)(0+)|(#+)(0+)|(0+)/g,Vs=/^(0+)$/;function ta(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(js,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function $s(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 zc(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(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)),!Vs.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function na(e){var t={},n=$s(e);return n||t}function Zc(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Vc(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=C(C(C({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return C(C({},l),na(u))},{}));continue;case"engineering":t=C(C(C({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return C(C({},l),na(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace($c,function(l,u,h,c,d,b){if(u)t.minimumIntegerDigits=h.length;else{if(c&&d)throw new Error("We currently do not support maximum integer digits");if(b)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Vs.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ea.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ea,function(l,u,h,c,d,b){return h==="*"?t.minimumFractionDigits=u.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:d&&b?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+b.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=C(C({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=C(C({},t),ta(a)));continue}if(js.test(i.stem)){t=C(C({},t),ta(i.stem));continue}var s=$s(i.stem);s&&(t=C(C({},t),s));var o=zc(i.stem);o&&(t=C(C({},t),o))}return t}var un={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Xc(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var s=1+(a&1),o=a<2?1:3+(a>>1),l="a",u=Jc(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)n+=l;for(;s-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function Jc(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=un[r||""]||un[n||""]||un["".concat(n,"-001")]||un["001"];return i[0]}var yr,qc=new RegExp("^".concat(Ws.source,"*")),Qc=new RegExp("".concat(Ws.source,"*$"));function M(e,t){return{start:e,end:t}}var Kc=!!String.prototype.startsWith&&"_a".startsWith("a",1),ed=!!String.fromCodePoint,td=!!Object.fromEntries,nd=!!String.prototype.codePointAt,rd=!!String.prototype.trimStart,id=!!String.prototype.trimEnd,ad=!!Number.isSafeInteger,sd=ad?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Nr=!0;try{var od=Zs("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Nr=((yr=od.exec("a"))===null||yr===void 0?void 0:yr[0])==="a"}catch(e){Nr=!1}var ra=Kc?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},Rr=ed?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,a=0,s;i>a;){if(s=t[a++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},ia=td?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var a=i[r],s=a[0],o=a[1];n[s]=o}return n},zs=nd?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),a;return i<55296||i>56319||n+1===r||(a=t.charCodeAt(n+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},ld=rd?function(t){return t.trimStart()}:function(t){return t.replace(qc,"")},ud=id?function(t){return t.trimEnd()}:function(t){return t.replace(Qc,"")};function Zs(e,t){return new RegExp(e,t)}var Ar;if(Nr){var aa=Zs("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ar=function(t,n){var r;aa.lastIndex=n;var i=aa.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else Ar=function(t,n){for(var r=[];;){var i=zs(t,n);if(i===void 0||Xs(i)||dd(i))break;r.push(i),n+=i>=65536?2:1}return Rr.apply(void 0,r)};var hd=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(t,r);if(s.err)return s;i.push(s.val)}else{if(a===125&&t>0)break;if(a===35&&(n==="plural"||n==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:W.pound,location:M(o,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(T.UNMATCHED_CLOSING_TAG,M(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Hr(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,n);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:W.literal,value:"<".concat(i,"/>"),location:M(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,n,!0);if(a.err)return a;var s=a.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Hr(this.char()))return this.error(T.INVALID_TAG,M(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(T.UNMATCHED_CLOSING_TAG,M(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:W.tag,value:i,children:s,location:M(r,this.clonePosition())},err:null}:this.error(T.INVALID_TAG,M(o,this.clonePosition())))}else return this.error(T.UNCLOSED_TAG,M(r,this.clonePosition()))}else return this.error(T.INVALID_TAG,M(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&cd(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var a=this.tryParseQuote(n);if(a){i+=a;continue}var s=this.tryParseUnquoted(t,n);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=M(r,this.clonePosition());return{val:{type:W.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!fd(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return Rr.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),Rr(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,M(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(T.EMPTY_ARGUMENT,M(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(T.MALFORMED_ARGUMENT,M(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,M(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:W.argument,value:i,location:M(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,M(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(T.MALFORMED_ARGUMENT,M(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=Ar(this.message,n),i=n+r.length;this.bumpTo(i);var a=this.clonePosition(),s=M(t,a);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,n,r,i){var a,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(T.EXPECT_ARGUMENT_TYPE,M(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var d=ud(c.val);if(d.length===0)return this.error(T.EXPECT_ARGUMENT_STYLE,M(this.clonePosition(),this.clonePosition()));var b=M(h,this.clonePosition());u={style:d,styleLocation:b}}var x=this.tryParseArgumentClose(i);if(x.err)return x;var v=M(i,this.clonePosition());if(u&&ra(u==null?void 0:u.style,"::",0)){var P=ld(u.style.slice(2));if(o==="number"){var c=this.parseNumberSkeletonFromString(P,u.styleLocation);return c.err?c:{val:{type:W.number,value:r,location:v,style:c.val},err:null}}else{if(P.length===0)return this.error(T.EXPECT_DATE_TIME_SKELETON,v);var ce=P;this.locale&&(ce=Xc(P,this.locale));var d={type:vt.dateTime,pattern:ce,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Uc(ce):{}},pe=o==="date"?W.date:W.time;return{val:{type:pe,value:r,location:v,style:d},err:null}}}return{val:{type:o==="number"?W.number:o==="date"?W.date:W.time,value:r,location:v,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var X=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,M(X,C({},X)));this.bumpSpace();var oe=this.parseIdentifierIfPossible(),he=0;if(o!=="select"&&oe.value==="offset"){if(!this.bumpIf(":"))return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,M(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),oe=this.parseIdentifierIfPossible(),he=c.val}var j=this.tryParsePluralOrSelectOptions(t,o,n,oe);if(j.err)return j;var x=this.tryParseArgumentClose(i);if(x.err)return x;var J=M(i,this.clonePosition());return o==="select"?{val:{type:W.select,value:r,options:ia(j.val),location:J},err:null}:{val:{type:W.plural,value:r,options:ia(j.val),offset:he,pluralType:o==="plural"?"cardinal":"ordinal",location:J},err:null}}default:return this.error(T.INVALID_ARGUMENT_TYPE,M(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,M(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,M(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=jc(t)}catch(i){return this.error(T.INVALID_NUMBER_SKELETON,n)}return{val:{type:vt.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?Zc(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var a,s=!1,o=[],l=new Set,u=i.value,h=i.location;;){if(u.length===0){var c=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR,T.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;h=M(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(l.has(u))return this.error(n==="select"?T.DUPLICATE_SELECT_ARGUMENT_SELECTOR:T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(s=!0),this.bumpSpace();var b=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,M(this.clonePosition(),this.clonePosition()));var x=this.parseMessage(t+1,n,r);if(x.err)return x;var v=this.tryParseArgumentClose(b);if(v.err)return v;o.push([u,{value:x.val,location:M(b,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,h=a.location}return o.length===0?this.error(n==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR:T.EXPECT_PLURAL_ARGUMENT_SELECTOR,M(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(T.MISSING_OTHER_CLAUSE,M(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,s=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)a=!0,s=s*10+(o-48),this.bump();else break}var l=M(i,this.clonePosition());return a?(s*=r,sd(s)?{val:s,err:null}:this.error(n,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=zs(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(ra(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Xs(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function Hr(e){return e>=97&&e<=122||e>=65&&e<=90}function fd(e){return Hr(e)||e===47}function cd(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Xs(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function dd(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Br(e){e.forEach(function(t){if(delete t.location,Hs(t)||Bs(t))for(var n in t.options)delete t.options[n].location,Br(t.options[n].value);else Ns(t)&&Us(t.style)||(Rs(t)||As(t))&&Pr(t.style)?delete t.style.location:Ys(t)&&Br(t.children)})}function md(e,t){t===void 0&&(t={}),t=C({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new hd(e,t).parse();if(n.err){var r=SyntaxError(T[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||Br(n.val),n.val}var wt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(wt||(wt={}));var Yn=function(e){$e(t,e);function t(n,r,i){var a=e.call(this,n)||this;return a.code=r,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),sa=function(e){$e(t,e);function t(n,r,i,a){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),wt.INVALID_VALUE,a)||this}return t}(Yn),pd=function(e){$e(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),wt.INVALID_VALUE,i)||this}return t}(Yn),gd=function(e){$e(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),wt.MISSING_VALUE,r)||this}return t}(Yn),le;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(le||(le={}));function bd(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==le.literal||n.type!==le.literal?t.push(n):r.value+=n.value,t},[])}function yd(e){return typeof e=="function"}function pn(e,t,n,r,i,a,s){if(e.length===1&&Ki(e[0]))return[{type:le.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var h=u[l];if(Ki(h)){o.push({type:le.literal,value:h.value});continue}if(Bc(h)){typeof a=="number"&&o.push({type:le.literal,value:n.getNumberFormat(t).format(a)});continue}var c=h.value;if(!(i&&c in i))throw new gd(c,s);var d=i[c];if(Hc(h)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),o.push({type:typeof d=="string"?le.literal:le.object,value:d});continue}if(Rs(h)){var b=typeof h.style=="string"?r.date[h.style]:Pr(h.style)?h.style.parsedOptions:void 0;o.push({type:le.literal,value:n.getDateTimeFormat(t,b).format(d)});continue}if(As(h)){var b=typeof h.style=="string"?r.time[h.style]:Pr(h.style)?h.style.parsedOptions:r.time.medium;o.push({type:le.literal,value:n.getDateTimeFormat(t,b).format(d)});continue}if(Ns(h)){var b=typeof h.style=="string"?r.number[h.style]:Us(h.style)?h.style.parsedOptions:void 0;b&&b.scale&&(d=d*(b.scale||1)),o.push({type:le.literal,value:n.getNumberFormat(t,b).format(d)});continue}if(Ys(h)){var x=h.children,v=h.value,P=i[v];if(!yd(P))throw new pd(v,"function",s);var ce=pn(x,t,n,r,i,a),pe=P(ce.map(function(he){return he.value}));Array.isArray(pe)||(pe=[pe]),o.push.apply(o,pe.map(function(he){return{type:typeof he=="string"?le.literal:le.object,value:he}}))}if(Hs(h)){var X=h.options[d]||h.options.other;if(!X)throw new sa(h.value,d,Object.keys(h.options),s);o.push.apply(o,pn(X.value,t,n,r,i));continue}if(Bs(h)){var X=h.options["=".concat(d)];if(!X){if(!Intl.PluralRules)throw new Yn(`Intl.PluralRules is not available in this environment.
26
+ Try polyfilling it using "@formatjs/intl-pluralrules"
27
+ `,wt.MISSING_INTL_API,s);var oe=n.getPluralRules(t,{type:h.pluralType}).select(d-(h.offset||0));X=h.options[oe]||h.options.other}if(!X)throw new sa(h.value,d,Object.keys(h.options),s);o.push.apply(o,pn(X.value,t,n,r,i,d-(h.offset||0)));continue}}return bd(o)}function _d(e,t){return t?C(C(C({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=C(C({},e[r]),t[r]||{}),n},{})):e}function vd(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=_d(e[r],t[r]),n},C({},e)):e}function _r(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function wd(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:gr(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,yt([void 0],n,!1)))},{cache:_r(e.number),strategy:br.variadic}),getDateTimeFormat:gr(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,yt([void 0],n,!1)))},{cache:_r(e.dateTime),strategy:br.variadic}),getPluralRules:gr(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,yt([void 0],n,!1)))},{cache:_r(e.pluralRules),strategy:br.variadic})}}var Sd=function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=a.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(c,d){return!c.length||d.type!==le.literal||typeof c[c.length-1]!="string"?c.push(d.value):c[c.length-1]+=d.value,c},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return pn(a.ast,a.locales,a.formatters,a.formats,l,void 0,a.message)},this.resolvedOptions=function(){var l;return{locale:((l=a.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var o=nc(s,["formatters"]);this.ast=e.__parse(t,C(C({},o),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=vd(e.formats,r),this.formatters=i&&i.formatters||wd(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=md,e.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"}}},e}();function xd(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){const a=n.slice(i,n.length).join(".");if(a in r){r=r[a];break}}r=r[n[i]]}else r=void 0;return r}const qe={},Ed=(e,t,n)=>n&&(t in qe||(qe[t]={}),e in qe[t]||(qe[t][e]=n),n),Js=(e,t)=>{if(t==null)return;if(t in qe&&e in qe[t])return qe[t][e];const n=Un(t);for(let r=0;r<n.length;r++){const i=n[r],a=Od(i,e);if(a)return Ed(e,t,a)}};let mi;const qt=Bn({});function Ld(e){return mi[e]||null}function qs(e){return e in mi}function Od(e,t){if(!qs(e))return null;const n=Ld(e);return xd(n,t)}function Td(e){if(e==null)return;const t=Un(e);for(let n=0;n<t.length;n++){const r=t[n];if(qs(r))return r}}function Qs(e,...t){delete qe[e],qt.update(n=>(n[e]=Ic.all([n[e]||{},...t]),n))}Lt([qt],([e])=>Object.keys(e));qt.subscribe(e=>mi=e);const gn={};function Md(e,t){gn[e].delete(t),gn[e].size===0&&delete gn[e]}function Ks(e){return gn[e]}function Gd(e){return Un(e).map(t=>{const n=Ks(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function Yr(e){return e==null?!1:Un(e).some(t=>{var n;return(n=Ks(t))==null?void 0:n.size})}function kd(e,t){return Promise.all(t.map(r=>(Md(e,r),r().then(i=>i.default||i)))).then(r=>Qs(e,...r))}const Ft={};function eo(e){if(!Yr(e))return e in Ft?Ft[e]:Promise.resolve();const t=Gd(e);return Ft[e]=Promise.all(t.map(([n,r])=>kd(n,r))).then(()=>{if(Yr(e))return eo(e);delete Ft[e]}),Ft[e]}const Cd={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"}}},Id={fallbackLocale:null,loadingDelay:200,formats:Cd,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Dd=Id;function St(){return Dd}const vr=Bn(!1);var Fd=Object.defineProperty,Pd=Object.defineProperties,Nd=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,Rd=Object.prototype.hasOwnProperty,Ad=Object.prototype.propertyIsEnumerable,la=(e,t,n)=>t in e?Fd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hd=(e,t)=>{for(var n in t||(t={}))Rd.call(t,n)&&la(e,n,t[n]);if(oa)for(var n of oa(t))Ad.call(t,n)&&la(e,n,t[n]);return e},Bd=(e,t)=>Pd(e,Nd(t));let Ur;const En=Bn(null);function ua(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function Un(e,t=St().fallbackLocale){const n=ua(e);return t?[...new Set([...n,...ua(t)])]:n}function st(){return Ur!=null?Ur:void 0}En.subscribe(e=>{Ur=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Yd=e=>{if(e&&Td(e)&&Yr(e)){const{loadingDelay:t}=St();let n;return typeof window!="undefined"&&st()!=null&&t?n=window.setTimeout(()=>vr.set(!0),t):vr.set(!0),eo(e).then(()=>{En.set(e)}).finally(()=>{clearTimeout(n),vr.set(!1)})}return En.set(e)},Ot=Bd(Hd({},En),{set:Yd}),Wn=e=>{const t=Object.create(null);return r=>{const i=JSON.stringify(r);return i in t?t[i]:t[i]=e(r)}};var Ud=Object.defineProperty,Ln=Object.getOwnPropertySymbols,to=Object.prototype.hasOwnProperty,no=Object.prototype.propertyIsEnumerable,ha=(e,t,n)=>t in e?Ud(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pi=(e,t)=>{for(var n in t||(t={}))to.call(t,n)&&ha(e,n,t[n]);if(Ln)for(var n of Ln(t))no.call(t,n)&&ha(e,n,t[n]);return e},Tt=(e,t)=>{var n={};for(var r in e)to.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ln)for(var r of Ln(e))t.indexOf(r)<0&&no.call(e,r)&&(n[r]=e[r]);return n};const jt=(e,t)=>{const{formats:n}=St();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Wd=Wn(e=>{var t=e,{locale:n,format:r}=t,i=Tt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=jt("number",r)),new Intl.NumberFormat(n,i)}),jd=Wn(e=>{var t=e,{locale:n,format:r}=t,i=Tt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=jt("date",r):Object.keys(i).length===0&&(i=jt("date","short")),new Intl.DateTimeFormat(n,i)}),Vd=Wn(e=>{var t=e,{locale:n,format:r}=t,i=Tt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=jt("time",r):Object.keys(i).length===0&&(i=jt("time","short")),new Intl.DateTimeFormat(n,i)}),$d=(e={})=>{var t=e,{locale:n=st()}=t,r=Tt(t,["locale"]);return Wd(pi({locale:n},r))},zd=(e={})=>{var t=e,{locale:n=st()}=t,r=Tt(t,["locale"]);return jd(pi({locale:n},r))},Zd=(e={})=>{var t=e,{locale:n=st()}=t,r=Tt(t,["locale"]);return Vd(pi({locale:n},r))},Xd=Wn((e,t=st())=>new Sd(e,t,St().formats,{ignoreTag:St().ignoreTag})),Jd=(e,t={})=>{var n,r,i,a;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:o,locale:l=st(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Js(e,l);if(!h)h=(a=(i=(r=(n=St()).handleMissingMessage)==null?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?a:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!o)return h;let c=h;try{c=Xd(h,l).format(o)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return c},qd=(e,t)=>Zd(t).format(e),Qd=(e,t)=>zd(t).format(e),Kd=(e,t)=>$d(t).format(e),e0=(e,t=st())=>Js(e,t),t0=Lt([Ot,qt],()=>Jd);Lt([Ot],()=>qd);Lt([Ot],()=>Qd);Lt([Ot],()=>Kd);Lt([Ot,qt],()=>e0);window.emWidgets={topic:gc};const Ge=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),n0=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function fa(e,t){Qs(e,t)}function r0(e){Ot.set(e)}function i0(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function ca(e,t){const n=new URL(t);fetch(n.href).then(r=>r.text()).then(r=>{const i=document.createElement("style");i.innerHTML=r,e&&e.appendChild(i)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function a0(e,t,n){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(t,i=>{r.innerHTML=i,e&&e.appendChild(r)})}}const da={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"},"en-us":{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},s0={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function o0(e){Po(e,"svelte-pkh5u0",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 20px)}.GameInnerContainer ui-skeleton{position:absolute;top:0;left:0;width:100%;height:100%}.GameInnerContainer ui-skeleton>div{width:100%;height:100%}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameTopContainer{display:flex;gap:10px}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 12px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 1s ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #FFF)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px;position:absolute;top:0}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer:hover,.GameInnerContainer:active{transition:2s;cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1);transition:1s}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transition:2s;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 14px)}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{margin:0 2px;margin-right:5px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .Red{color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .Green{color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .Blue{color:var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7)}.ListGame .GameInnerContainer .Red{background-color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .Black{background-color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .Green{background-color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .White{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:var(--emw--casino-thumbnail-animation-color-type-b, #eeca3d)}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 25%, transparent 25%, transparent 50%, var(--emw--casino-thumbnail-animation-color-type-a, #212121) 50%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 75%, transparent 75%, var(--emw--casino-thumbnail-animation-color, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:var(--emw--border-radius-small, 5px);font-size:var(--emw--font-size-x-small, 12px);white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .ClosedGame span{font-size:inherit}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:inherit}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{padding:6px 8px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .UnfavoredIcon{width:25px;height:25px}.GameInfoVendor{width:45px;height:45px}.GameInnerContainer .GameExtraInfoContainer{padding-top:5px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px);padding:6px}.GameInnerContainer .GameInfoWrapper{padding:8px 10px}}')}function ma(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function pa(e,t,n){const r=e.slice();return r[101]=t[n],r}function ga(e){let t;return{c(){t=F("ui-skeleton"),lr(t,"width","100%"),lr(t,"height","100%"),lr(t,"structure","rectangle")},m(n,r){H(n,t,r)},d(n){n&&A(t)}}}function ba(e){let t,n=!Ge(e[36]),r,i,a=e[35]("playNow")+"",s,o,l,u=n&&l0();return{c(){t=F("button"),u&&u.c(),r=ee(),i=F("span"),s=Ye(a),y(t,"class","GameInfoBtn")},m(h,c){H(h,t,c),u&&u.m(t,null),w(t,r),w(t,i),w(i,s),o||(l=Vr(t,"click",e[65]),o=!0)},p(h,c){c[1]&16&&a!==(a=h[35]("playNow")+"")&&it(s,a)},d(h){h&&A(t),u&&u.d(),o=!1,l()}}}function l0(e){let t,n,r,i,a,s;return{c(){t=ke("svg"),n=ke("g"),r=ke("g"),i=ke("path"),a=ke("path"),s=ke("path"),y(i,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),y(i,"stroke","none"),y(a,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),y(a,"stroke","none"),y(a,"fill","#fff"),y(r,"id","Ellipse_664_copy"),y(r,"data-name","Ellipse 664 copy"),y(r,"transform","translate(26 13)"),y(r,"fill","rgba(249,165,2,0)"),y(s,"id","Rounded_Rectangle_683"),y(s,"data-name","Rounded Rectangle 683"),y(s,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),y(s,"transform","translate(-1102 -885)"),y(s,"fill","#fff"),y(n,"id","Group_5260"),y(n,"data-name","Group 5260"),y(n,"transform","translate(-26 -13)"),y(t,"xmlns","http://www.w3.org/2000/svg"),y(t,"width","28"),y(t,"height","28"),y(t,"viewBox","0 0 28 28")},m(o,l){H(o,t,l),w(t,n),w(n,r),w(r,i),w(r,a),w(n,s)},d(o){o&&A(t)}}}function ya(e){let t,n=e[35]("new")+"",r;return{c(){t=F("span"),r=Ye(n),y(t,"class","GameExtraInfoLabel NewGameTag")},m(i,a){H(i,t,a),w(t,r)},p(i,a){a[1]&16&&n!==(n=i[35]("new")+"")&&it(r,n)},d(i){i&&A(t)}}}function _a(e){let t,n;return{c(){t=F("span"),n=Ye(e[8]),y(t,"class","GameExtraInfoLabel PopularGameTag")},m(r,i){H(r,t,i),w(t,n)},p(r,i){i[0]&256&&it(n,r[8])},d(r){r&&A(t)}}}function va(e){let t,n,r=!e[22]&&e[20]&&e[21]&&wa(e);function i(o,l){if(o[22]&&o[19]&&o[19]===Wr)return h0;if(o[22]&&o[19]&&o[19]===jr)return u0}let a=i(e),s=a&&a(e);return{c(){r&&r.c(),t=ee(),s&&s.c(),n=$t()},m(o,l){r&&r.m(o,l),H(o,t,l),s&&s.m(o,l),H(o,n,l)},p(o,l){!o[22]&&o[20]&&o[21]?r?r.p(o,l):(r=wa(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=i(o))&&s?s.p(o,l):(s&&s.d(1),s=a&&a(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){o&&(A(t),A(n)),r&&r.d(o),s&&s.d(o)}}}function wa(e){let t,n,r=e[35]("opens")+"",i,a,s,o=p.utc(e[20]).local().format(e[21])+"",l,u,h,c=e[42](e[34])+"",d,b,x=e[41](e[26],e[27],e[25])+"";return{c(){t=F("div"),n=F("div"),i=Ye(r),a=ee(),s=F("span"),l=Ye(o),u=ee(),h=new Ue(!1),d=ee(),b=new Ue(!1),y(n,"class","ClosedGame"),h.a=d,b.a=null,y(t,"class","GameProp LiveProps")},m(v,P){H(v,t,P),w(t,n),w(n,i),w(n,a),w(n,s),w(s,l),w(t,u),h.m(c,t),w(t,d),b.m(x,t)},p(v,P){P[1]&16&&r!==(r=v[35]("opens")+"")&&it(i,r),P[0]&3145728&&o!==(o=p.utc(v[20]).local().format(v[21])+"")&&it(l,o),P[1]&8&&c!==(c=v[42](v[34])+"")&&h.p(c),P[0]&234881024&&x!==(x=v[41](v[26],v[27],v[25])+"")&&b.p(x)},d(v){v&&A(t)}}}function u0(e){let t,n,r,i,a=e[42](e[34])+"",s,o,l=e[41](e[26],e[27],e[25])+"",u=bn(new Array(Ta)),h=[];for(let c=0;c<u.length;c+=1)h[c]=xa(ma(e,u,c));return{c(){t=F("div"),n=F("div");for(let c=0;c<h.length;c+=1)h[c].c();r=ee(),i=new Ue(!1),s=ee(),o=new Ue(!1),y(n,"class","LiveIcons"),i.a=s,o.a=null,y(t,"class",e[30])},m(c,d){H(c,t,d),w(t,n);for(let b=0;b<h.length;b+=1)h[b]&&h[b].m(n,null);e[66](n),w(t,r),i.m(a,t),w(t,s),o.m(l,t)},p(c,d){if(d[0]&536887296|d[1]&4097){u=bn(new Array(Ta));let b;for(b=0;b<u.length;b+=1){const x=ma(c,u,b);h[b]?h[b].p(x,d):(h[b]=xa(x),h[b].c(),h[b].m(n,null))}for(;b<h.length;b+=1)h[b].d(1);h.length=u.length}d[1]&8&&a!==(a=c[42](c[34])+"")&&i.p(a),d[0]&234881024&&l!==(l=c[41](c[26],c[27],c[25])+"")&&o.p(l),d[0]&1073741824&&y(t,"class",c[30])},d(c){c&&A(t),Ca(h,c),e[66](null)}}}function h0(e){let t,n,r,i,a=e[42](e[34])+"",s,o,l=e[41](e[26],e[27],e[25])+"";function u(d,b){return d[32]?m0:d0}let h=u(e),c=h(e);return{c(){t=F("div"),n=F("div"),c.c(),r=ee(),i=new Ue(!1),s=ee(),o=new Ue(!1),y(n,"class","LiveIcons"),i.a=s,o.a=null,y(t,"class","GameProp LiveProps BlackjackDisplay"),y(t,"part","GameProp LiveProps BlackjackDisplay")},m(d,b){H(d,t,b),w(t,n),c.m(n,null),w(t,r),i.m(a,t),w(t,s),o.m(l,t)},p(d,b){h===(h=u(d))&&c?c.p(d,b):(c.d(1),c=h(d),c&&(c.c(),c.m(n,null))),b[1]&8&&a!==(a=d[42](d[34])+"")&&i.p(a),b[0]&234881024&&l!==(l=d[41](d[26],d[27],d[25])+"")&&o.p(l)},d(d){d&&A(t),c.d()}}}function Sa(e){let t;function n(a,s){return a[29]?c0:f0}let r=n(e),i=r(e);return{c(){i.c(),t=$t()},m(a,s){i.m(a,s),H(a,t,s)},p(a,s){r===(r=n(a))&&i?i.p(a,s):(i.d(1),i=r(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&A(t),i.d(a)}}}function f0(e){let t,n=e[43](`LatestResult ${e[106]===0?"First":""}`,e[106],e[14][e[106]],e[31][e[14][e[106]]])+"",r;return{c(){t=new Ue(!1),r=$t(),t.a=r},m(i,a){t.m(n,i,a),H(i,r,a)},p(i,a){a[0]&16384|a[1]&1&&n!==(n=i[43](`LatestResult ${i[106]===0?"First":""}`,i[106],i[14][i[106]],i[31][i[14][i[106]]])+"")&&t.p(n)},d(i){i&&(A(r),t.d())}}}function c0(e){let t,n,r=e[43](`LatestResult ${e[106]===0?"First":""}`,`first${e[106]}${e[14][e[106]][0]}`,e[14][e[106]][0],e[31][e[14][e[106]][0]])+"",i,a,s=e[43](`LatestResult ${e[106]===0?"First":""}`,`second${e[106]}${e[14][e[106]][1]}`,e[14][e[106]][1],e[31][e[14][e[106]][1]])+"",o;return{c(){t=F("div"),n=new Ue(!1),i=ee(),a=new Ue(!1),o=ee(),n.a=i,a.a=o,y(t,"class","Double")},m(l,u){H(l,t,u),n.m(r,t),w(t,i),a.m(s,t),w(t,o)},p(l,u){u[0]&16384|u[1]&1&&r!==(r=l[43](`LatestResult ${l[106]===0?"First":""}`,`first${l[106]}${l[14][l[106]][0]}`,l[14][l[106]][0],l[31][l[14][l[106]][0]])+"")&&n.p(r),u[0]&16384|u[1]&1&&s!==(s=l[43](`LatestResult ${l[106]===0?"First":""}`,`second${l[106]}${l[14][l[106]][1]}`,l[14][l[106]][1],l[31][l[14][l[106]][1]])+"")&&a.p(s)},d(l){l&&A(t)}}}function xa(e){let t,n=e[14]&&e[14][e[106]]&&Sa(e);return{c(){n&&n.c(),t=$t()},m(r,i){n&&n.m(r,i),H(r,t,i)},p(r,i){r[14]&&r[14][r[106]]?n?n.p(r,i):(n=Sa(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){r&&A(t),n&&n.d(r)}}}function d0(e){let t,n=bn(e[24]),r=[];for(let i=0;i<n.length;i+=1)r[i]=Ea(pa(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=$t()},m(i,a){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,a);H(i,t,a)},p(i,a){if(a[0]&285212672|a[1]&512){n=bn(i[24]);let s;for(s=0;s<n.length;s+=1){const o=pa(i,n,s);r[s]?r[s].p(o,a):(r[s]=Ea(o),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&A(t),Ca(r,i)}}}function m0(e){let t,n=e[35]("full")+"",r;return{c(){t=F("span"),r=Ye(n),y(t,"class","FullTable")},m(i,a){H(i,t,a),w(t,r)},p(i,a){a[1]&16&&n!==(n=i[35]("full")+"")&&it(r,n)},d(i){i&&A(t)}}}function Ea(e){let t,n,r,i,a,s;return{c(){t=F("span"),n=ke("svg"),r=ke("path"),i=ke("path"),a=ee(),y(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),y(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),y(n,"xmlns","http://www.w3.org/2000/svg"),y(n,"width","13"),y(n,"height","14"),y(n,"viewBox","0 0 13 14"),y(t,"class",s=e[40](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")},m(o,l){H(o,t,l),w(t,n),w(n,r),w(n,i),w(t,a)},p(o,l){l[0]&285212672&&s!==(s=o[40](o[28],o[101].toString())?"ClosedSeat":"OpenSeat")&&y(t,"class",s)},d(o){o&&A(t)}}}function p0(e){let t;return{c(){t=F("div"),t.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" 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>',y(t,"class","FavIconContainer")},m(n,r){H(n,t,r)},p:ue,d(n){n&&A(t)}}}function g0(e){let t,n,r;function i(o,l){if(o[0]&&o[16]&&o[2]==="true")return y0;if(!o[0]&&o[16])return b0}let a=i(e),s=a&&a(e);return{c(){t=F("div"),n=F("span"),r=ee(),s&&s.c(),y(n,"class","GameInfoVendor"),Ri(n,"background-image","url("+e[5]+")"),y(t,"class","GameTopContainer")},m(o,l){H(o,t,l),w(t,n),w(t,r),s&&s.m(t,null)},p(o,l){l[0]&32&&Ri(n,"background-image","url("+o[5]+")"),a===(a=i(o))&&s?s.p(o,l):(s&&s.d(1),s=a&&a(o),s&&(s.c(),s.m(t,null)))},d(o){o&&A(t),s&&s.d()}}}function b0(e){let t,n,r;return{c(){t=F("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_3" data-name="Subtraction 3" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',y(t,"class","FavIconContainer")},m(i,a){H(i,t,a),n||(r=Vr(t,"click",e[68]),n=!0)},p:ue,d(i){i&&A(t),n=!1,r()}}}function y0(e){let t,n,r;return{c(){t=F("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_4" data-name="Subtraction 4" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',y(t,"class","FavIconContainer")},m(i,a){H(i,t,a),n||(r=Vr(t,"click",e[67]),n=!0)},p:ue,d(i){i&&A(t),n=!1,r()}}}function La(e){let t,n;return{c(){t=F("p"),n=Ye(e[4]),y(t,"class","GameNameBelow"),y(t,"title",e[4])},m(r,i){H(r,t,i),w(t,n)},p(r,i){i[0]&16&&it(n,r[4]),i[0]&16&&y(t,"title",r[4])},d(r){r&&A(t)}}}function _0(e){let t,n,r,i,a,s,o,l,u,h,c,d,b,x,v,P,ce,pe,X,oe,he,j=!e[17]&&ga(),J=e[1]&&ba(e),q=e[7]&&ya(e),te=e[8]&&_a(e),Q=e[13]&&va(e);function Ke(S,V){if(P==null&&(P=!Ge(S[36])),P)return g0;if(S[0]&&S[16]&&S[2]==="true")return p0}let ge=Ke(e),$=ge&&ge(e),K=e[10]==="true"&&La(e);return{c(){t=F("div"),n=F("div"),r=F("img"),s=ee(),j&&j.c(),o=ee(),l=F("div"),u=F("div"),J&&J.c(),h=ee(),c=F("div"),d=F("div"),q&&q.c(),b=ee(),te&&te.c(),x=ee(),Q&&Q.c(),v=ee(),$&&$.c(),pe=ee(),K&&K.c(),Ni(r.src,i=e[3])||y(r,"src",i),y(r,"class",a=`GameBg GameBg-${e[9]} ${e[17]?"Loaded":""}`),y(r,"alt","Game thumbnail"),y(r,"loading","lazy"),y(u,"class","GameInfo"),y(l,"class","GameInfoWrapper"),y(d,"class","GameExtraInfo"),y(c,"class","GameExtraInfoContainer"),y(n,"class",ce="GameInnerContainer "+(e[13]&&!e[22]&&e[23].value||e[13]&&e[32]?"GameInnerContainerUnavailable":"")),y(t,"class",X=`GameContainer ${e[33]} ${e[11]=="true"?"CasinoGamesGridSlider":""}`),Ai(t,"WithGameName",e[10])},m(S,V){H(S,t,V),w(t,n),w(n,r),e[64](r),w(n,s),j&&j.m(n,null),w(n,o),w(n,l),w(l,u),J&&J.m(u,null),w(n,h),w(n,c),w(c,d),q&&q.m(d,null),w(d,b),te&&te.m(d,null),w(d,x),Q&&Q.m(d,null),w(c,v),$&&$.m(c,null),w(t,pe),K&&K.m(t,null),e[69](t),oe||(he=Fo(e[39].call(null,r)),oe=!0)},p(S,V){V[0]&8&&!Ni(r.src,i=S[3])&&y(r,"src",i),V[0]&131584&&a!==(a=`GameBg GameBg-${S[9]} ${S[17]?"Loaded":""}`)&&y(r,"class",a),S[17]?j&&(j.d(1),j=null):j||(j=ga(),j.c(),j.m(n,o)),S[1]?J?J.p(S,V):(J=ba(S),J.c(),J.m(u,null)):J&&(J.d(1),J=null),S[7]?q?q.p(S,V):(q=ya(S),q.c(),q.m(d,b)):q&&(q.d(1),q=null),S[8]?te?te.p(S,V):(te=_a(S),te.c(),te.m(d,x)):te&&(te.d(1),te=null),S[13]?Q?Q.p(S,V):(Q=va(S),Q.c(),Q.m(d,null)):Q&&(Q.d(1),Q=null),ge===(ge=Ke(S))&&$?$.p(S,V):($&&$.d(1),$=ge&&ge(S),$&&($.c(),$.m(c,null))),V[0]&12591104|V[1]&2&&ce!==(ce="GameInnerContainer "+(S[13]&&!S[22]&&S[23].value||S[13]&&S[32]?"GameInnerContainerUnavailable":""))&&y(n,"class",ce),S[10]==="true"?K?K.p(S,V):(K=La(S),K.c(),K.m(t,null)):K&&(K.d(1),K=null),V[0]&2048|V[1]&4&&X!==(X=`GameContainer ${S[33]} ${S[11]=="true"?"CasinoGamesGridSlider":""}`)&&y(t,"class",X),V[0]&3072|V[1]&4&&Ai(t,"WithGameName",S[10])},i:ue,o:ue,d(S){S&&A(t),e[64](null),j&&j.d(),J&&J.d(),q&&q.d(),te&&te.d(),Q&&Q.d(),$&&$.d(),K&&K.d(),e[69](null),oe=!1,he()}}}const Wr="blackjack",jr="roulette",Oa="doubleballroulette",v0=7,w0=",",Ta=5;function S0(e,t,n){let r;Do(e,t0,f=>n(35,r=f));let{session:i=""}=t,{userid:a=""}=t,{lang:s="en"}=t,{clientstyling:o=""}=t,{mbsource:l}=t,{clientstylingurl:u=""}=t,{translationurl:h=""}=t,{favorites:c=""}=t,{gamethumbnail:d=""}=t,{gamename:b=""}=t,{gamevendor:x=""}=t,{gamelaunchurl:v=""}=t,{gameid:P=""}=t,{gameisnew:ce=!1}=t,{gametag:pe=""}=t,{gamefunmode:X=!1}=t,{gamefavorite:oe=!1}=t,{gamecellsize:he=""}=t,{showfavoredcategory:j=!1}=t,{showgamename:J=""}=t,{currency:q=""}=t,{gamepagemodalurl:te="false"}=t,{endpoint:Q=""}=t,{categoryid:Ke=""}=t,{livelobbyendpoint:ge=""}=t,{connectlive:$=""}=t,{visibilityconnect:K=""}=t,{integratedgameframedesktop:S="false"}=t,{integratedgameframemobile:V="false"}=t,{casinogamesgridslider:gi="false"}=t,jn=!1,Qt,bi=!1,Vn,Oe=window.navigator.userAgent,Te,N,ze,yi,$n,zn="HH:mm",et,Zn={},Mt,_i=[],vi="EUR",Xn,Jn,qn,Gt,Qn,Kn,er,Kt,tr,nr,wi,ot,rr,we="",kt,Si,ir;const io=[Wr],xi=[jr,Oa],Ei={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},Li={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},ao=()=>{fetch(h).then(L=>L.json()).then(L=>{Object.keys(L).forEach(z=>{fa(z,L[z])})}).catch(L=>{console.log(L)})};Object.keys(da).forEach(f=>{fa(f,da[f])});const Oi=f=>{f.data.type===`AddFavoriteThumbnail_${P}`&&!j&&n(0,oe=!0),f.data.type===`RemoveFavoriteThumbnail_${P}`&&!j&&n(0,oe=!1),f.data.type==="UserSessionID"&&(n(16,jn=!0),f.data.session,Qt=f.data.userID),f.data.type==="CategoryUpdate"&&n(13,N=null)},Ti=f=>{window.postMessage({type:"SearchedItemClicked",gameId:f},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${f}`,userId:`${Qt||"Not logged in"}`}),Ge(Oe)&&V=="true"?window.postMessage({type:"OpenGameFrame",gameId:f,gamefunmode:X,gamepagemodalurl:te,isMobile:Ge(Oe),source:"GameThumbnail",identifier:"Lobby",subVendor:x,launchUrl:v},window.location.href):Ge(Oe)&&V=="false"&&window.postMessage({type:"ShowGameModal",gameId:f,isMobile:Ge(Oe)},window.location.href),!Ge(Oe)&&S=="true"?window.postMessage({type:"OpenGameFrame",gameId:f,gamefunmode:X,gamepagemodalurl:te,isMobile:Ge(Oe),identifier:"Lobby",subVendor:x,launchUrl:v},window.location.href):!Ge(Oe)&&S=="false"&&window.postMessage({type:"ShowGameModal",gameId:f,isMobile:Ge(Oe)},window.location.href)},ar=f=>{oe?window.postMessage({type:`SetUnfavoredGame${Ke}`,id:f},window.location.href):window.postMessage({type:`SetFavoredGame${Ke}`,id:f},window.location.href)},so=()=>{r0(s)},oo=()=>{n(16,jn=!0),Qt=a},lo=f=>{f.onload=()=>{n(17,bi=!0)}},uo=(f,L)=>`${Q}/v1/encoder/lobby/updates/${f}/${L}`,Mi=()=>{ge&&EventSource&&!ze&&x&&P&&(ze=new EventSource(uo(x,P)),ze.addEventListener("message",ki))},Gi=()=>{ze&&(ze.close(),ze=void 0)},ki=f=>or(this,null,function*(){const{type:L,data:z}=f;let be;switch(L){case"message":{if(z)try{be=JSON.parse(z)}catch(Me){console.error("MESSAGE PARSING ERROR: ",Me)}if(be){const{InternalTableId:Me,MessageType:tn,Results:Ze,Seats:nn,Open:rn}=be;if(Me)switch(tn){case"SeatsUpdated":{nn&&Array.isArray(nn)&&(n(28,Gt=nn),n(13,N.currentOccupiedSeats=nn,N),yield Ct());break}case"RouletteResultsUpdated":{Ze&&Array.isArray(Ze)&&(Qn=Ze,n(13,N.currentRouletteNumbers=Ze,N),yield Ct());break}case"DoubleBallRouletteResultsUpdated":{Ze&&Array.isArray(Ze)&&(Kn=Ze,n(13,N.currentDoubleBallRouletteNumbers=Ze,N),yield Ct());break}case"TableOpened":{n(22,et=rn),n(13,N.isOpen=rn,N),yield Ct();break}case"TableClosed":{n(22,et=rn),n(13,N.isOpen=rn,N),yield Ct();break}}}}}}),ho=()=>{let f=new URL(`${ge.split("?")[0]}`);f.searchParams.append("platform",n0(Oe)),f.searchParams.append("language",s),fetch(f).then(L=>L.json()).then(L=>{const{details:z}=L[0];n(13,N=z)})},Ci=(f,L=w0)=>f!=null?`${f}`.replace(/\B(?=(\d{3})+(?!\d))/g,L):"",en=(f,L)=>f.some(z=>z===L),fo=f=>{let L=null;if(f){const{vendorCategory:z}=f;if(z){const be=z.toLowerCase();en(io,be)?L=Wr:en(xi,be)&&(L=jr)}}return L},co=(f,L,z)=>{let be,Me;return f!=null&&L!==void 0&&L!==null&&(Me=`
28
+ <span>
29
+ ${z}
30
+ </span>
31
+ ${Ci(f)}-${Ci(L)}`),ir&&(be=`
32
+ <svg fill="var(--emw--casino-thumbnail-animation-color, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>
33
+ <span class="NrOfPlayers">${ir}</span>`),!be&&!Me?"":`
34
+ <p class="LiveLimits">
35
+ <span class="BetLimitLeft">
36
+ ${Me||""}
37
+ </span>
38
+ <span class="BetLimitRight">
39
+ ${be||""}
40
+ </span>
41
+ </p>`},mo=f=>f?`
42
+ <p class="LiveLimits">
43
+ <span class="DealerName">${r("dealer")}: ${f}</span>
44
+ </p>
45
+ `:"",po=f=>{qn=f.totalSeats||v0,n(28,Gt=f.currentOccupiedSeats||[]);const L=[];for(let z=1;z<=qn;z++)L.push(z);return{seats:L}},go=(f,L,z,be="")=>{const Me=`${f} ${be}`,tn=L.toString().match(/first0|second0|0/g);return L===0||tn&&tn.length!==0?`
46
+ <span
47
+ id=${L}
48
+ class="${Me}"
49
+ >
50
+ ${z}
51
+ </span>
52
+ `:`
53
+ <span id=${L} class="${Me}">
54
+ ${z}
55
+ </span>
56
+ `},bo=()=>{const f="FirstElementAnimated",L=kt.getElementsByClassName("First")[0];L&&(L.classList.add(f),setTimeout(()=>{L.classList.remove(f)},2e3))},yo=()=>{if(N){if(n(22,et=N.isOpen),Zn=N.betLimit||{},n(23,Mt=N.openHours),n(24,_i=po(N).seats),Mt&&Mt.value){const{value:{startTime:f,originalTimeFormat:L}}=Mt;n(20,$n=f),n(21,zn=L||zn)}et&&n(19,yi=fo(N)),n(25,vi=s0[q]),n(26,Xn=(Zn.min||{})[q]),n(27,Jn=(Zn.max||{})[q]),Qn=N.currentRouletteNumbers,Kn=N.currentDoubleBallRouletteNumbers,er=N.vendorCategory,n(29,Kt=er.toLowerCase()===Oa),n(14,tr=(Kt?Kn:Qn)||[]),n(30,nr="GameProp LiveProps RoulleteProps"),n(30,nr+=Kt?" Double":""),n(31,wi=en(xi,er.toLowerCase())?Li:Ei),rr=ot,n(32,ot=Array.isArray(Gt)&&Gt.length===qn),N.dealer&&n(34,Si=N.dealer.DealerName),ir=N.numberOfPlayers,n(33,we="ListGame"),N.isOpen&&N.currentRouletteNumbers&&n(33,we+=" GameBackdrop"),et&&ot&&Xn&&Jn&&N.currentOccupiedSeats?n(33,we+=" GameContainerDimmed"):et===!1&&$n&&n(33,we+=" GameContainerFullyDimmed"),Te&&(!rr&&ot?(n(33,we+=" PulsatingRedShadow"),n(33,we=we.replace(" PulsatingGreenShadow",""))):rr&&!ot&&(n(33,we+=" PulsatingGreenShadow"),n(33,we=we.replace(" PulsatingRedShadow",""))))}},_o=()=>{$==="disconnect"?Gi():$==="connect"&&Mi()},vo=()=>{K==="disconnect"?Gi():K==="connect"&&$==="connect"&&Mi()};Yo(()=>(window.addEventListener("message",Oi,!1),()=>{window.removeEventListener("message",Oi),ze&&ze.removeEventListener("message",ki)}));function wo(f){Nt[f?"unshift":"push"](()=>{Vn=f,n(18,Vn)})}const So=()=>Ti(P);function xo(f){Nt[f?"unshift":"push"](()=>{kt=f,n(15,kt)})}const Eo=()=>ar(P),Lo=()=>ar(P);function Oo(f){Nt[f?"unshift":"push"](()=>{Te=f,n(12,Te)})}return e.$$set=f=>{"session"in f&&n(44,i=f.session),"userid"in f&&n(45,a=f.userid),"lang"in f&&n(1,s=f.lang),"clientstyling"in f&&n(46,o=f.clientstyling),"mbsource"in f&&n(47,l=f.mbsource),"clientstylingurl"in f&&n(48,u=f.clientstylingurl),"translationurl"in f&&n(49,h=f.translationurl),"favorites"in f&&n(2,c=f.favorites),"gamethumbnail"in f&&n(3,d=f.gamethumbnail),"gamename"in f&&n(4,b=f.gamename),"gamevendor"in f&&n(5,x=f.gamevendor),"gamelaunchurl"in f&&n(50,v=f.gamelaunchurl),"gameid"in f&&n(6,P=f.gameid),"gameisnew"in f&&n(7,ce=f.gameisnew),"gametag"in f&&n(8,pe=f.gametag),"gamefunmode"in f&&n(51,X=f.gamefunmode),"gamefavorite"in f&&n(0,oe=f.gamefavorite),"gamecellsize"in f&&n(9,he=f.gamecellsize),"showfavoredcategory"in f&&n(52,j=f.showfavoredcategory),"showgamename"in f&&n(10,J=f.showgamename),"currency"in f&&n(53,q=f.currency),"gamepagemodalurl"in f&&n(54,te=f.gamepagemodalurl),"endpoint"in f&&n(55,Q=f.endpoint),"categoryid"in f&&n(56,Ke=f.categoryid),"livelobbyendpoint"in f&&n(57,ge=f.livelobbyendpoint),"connectlive"in f&&n(58,$=f.connectlive),"visibilityconnect"in f&&n(59,K=f.visibilityconnect),"integratedgameframedesktop"in f&&n(60,S=f.integratedgameframedesktop),"integratedgameframemobile"in f&&n(61,V=f.integratedgameframemobile),"casinogamesgridslider"in f&&n(11,gi=f.casinogamesgridslider)},e.$$.update=()=>{e.$$.dirty[1]&134217728&&$&&_o(),e.$$.dirty[1]&268435456&&K&&vo(),e.$$.dirty[0]&2&&s&&so(),e.$$.dirty[1]&16801792&&i&&a&&Q&&oo(),e.$$.dirty[0]&4096|e.$$.dirty[1]&32768&&o&&Te&&i0(Te,o),e.$$.dirty[0]&4096|e.$$.dirty[1]&131072&&u&&Te&&ca(Te,u),e.$$.dirty[0]&4096|e.$$.dirty[1]&65536&&l&&Te&&a0(Te,`${l}.Style`),e.$$.dirty[0]&4,e.$$.dirty[1]&262144&&h&&ao(),e.$$.dirty[0]&512|e.$$.dirty[1]&131072&&he&&u&&ca(),e.$$.dirty[1]&83886080&&Q&&ge&&ho(),e.$$.dirty[0]&8192&&N&&yo(),e.$$.dirty[0]&49152&&kt&&tr&&bo()},[oe,s,c,d,b,x,P,ce,pe,he,J,gi,Te,N,tr,kt,jn,bi,Vn,yi,$n,zn,et,Mt,_i,vi,Xn,Jn,Gt,Kt,nr,wi,ot,we,Si,r,Oe,Ti,ar,lo,en,co,mo,go,i,a,o,l,u,h,v,X,j,q,te,Q,Ke,ge,$,K,S,V,Ei,Li,wo,So,xo,Eo,Lo,Oo]}class ro extends qo{constructor(t){super(),Xo(this,t,S0,_0,Ga,{session:44,userid:45,lang:1,clientstyling:46,mbsource:47,clientstylingurl:48,translationurl:49,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:50,gameid:6,gameisnew:7,gametag:8,gamefunmode:51,gamefavorite:0,gamecellsize:9,showfavoredcategory:52,showgamename:10,currency:53,gamepagemodalurl:54,endpoint:55,categoryid:56,livelobbyendpoint:57,connectlive:58,visibilityconnect:59,integratedgameframedesktop:60,integratedgameframemobile:61,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:62,ROULETTE_COLOR_MAP:63},o0,[-1,-1,-1,-1])}get session(){return this.$$.ctx[44]}set session(t){this.$$set({session:t}),k()}get userid(){return this.$$.ctx[45]}set userid(t){this.$$set({userid:t}),k()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),k()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(t){this.$$set({clientstyling:t}),k()}get mbsource(){return this.$$.ctx[47]}set mbsource(t){this.$$set({mbsource:t}),k()}get clientstylingurl(){return this.$$.ctx[48]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),k()}get translationurl(){return this.$$.ctx[49]}set translationurl(t){this.$$set({translationurl:t}),k()}get favorites(){return this.$$.ctx[2]}set favorites(t){this.$$set({favorites:t}),k()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(t){this.$$set({gamethumbnail:t}),k()}get gamename(){return this.$$.ctx[4]}set gamename(t){this.$$set({gamename:t}),k()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(t){this.$$set({gamevendor:t}),k()}get gamelaunchurl(){return this.$$.ctx[50]}set gamelaunchurl(t){this.$$set({gamelaunchurl:t}),k()}get gameid(){return this.$$.ctx[6]}set gameid(t){this.$$set({gameid:t}),k()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(t){this.$$set({gameisnew:t}),k()}get gametag(){return this.$$.ctx[8]}set gametag(t){this.$$set({gametag:t}),k()}get gamefunmode(){return this.$$.ctx[51]}set gamefunmode(t){this.$$set({gamefunmode:t}),k()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(t){this.$$set({gamefavorite:t}),k()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(t){this.$$set({gamecellsize:t}),k()}get showfavoredcategory(){return this.$$.ctx[52]}set showfavoredcategory(t){this.$$set({showfavoredcategory:t}),k()}get showgamename(){return this.$$.ctx[10]}set showgamename(t){this.$$set({showgamename:t}),k()}get currency(){return this.$$.ctx[53]}set currency(t){this.$$set({currency:t}),k()}get gamepagemodalurl(){return this.$$.ctx[54]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),k()}get endpoint(){return this.$$.ctx[55]}set endpoint(t){this.$$set({endpoint:t}),k()}get categoryid(){return this.$$.ctx[56]}set categoryid(t){this.$$set({categoryid:t}),k()}get livelobbyendpoint(){return this.$$.ctx[57]}set livelobbyendpoint(t){this.$$set({livelobbyendpoint:t}),k()}get connectlive(){return this.$$.ctx[58]}set connectlive(t){this.$$set({connectlive:t}),k()}get visibilityconnect(){return this.$$.ctx[59]}set visibilityconnect(t){this.$$set({visibilityconnect:t}),k()}get integratedgameframedesktop(){return this.$$.ctx[60]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),k()}get integratedgameframemobile(){return this.$$.ctx[61]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),k()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),k()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[62]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[63]}}Jo(ro,{session:{},userid:{},lang:{},clientstyling:{},mbsource:{},clientstylingurl:{},translationurl:{},favorites:{},gamethumbnail:{},gamename:{},gamevendor:{},gamelaunchurl:{},gameid:{},gameisnew:{type:"Boolean"},gametag:{},gamefunmode:{type:"Boolean"},gamefavorite:{type:"Boolean"},gamecellsize:{},showfavoredcategory:{type:"Boolean"},showgamename:{},currency:{},gamepagemodalurl:{},endpoint:{},categoryid:{},livelobbyendpoint:{},connectlive:{},visibilityconnect:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinogamesgridslider:{}},[],["MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"],!0);exports.default=ro;