@everymatrix/casino-game-thumbnail 1.44.0 → 1.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,31 +0,0 @@
1
- ((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()})(this,function(){function R(){}function L(e){return e()}function k(){return Object.create(null)}function f(e){e.forEach(L)}function M(e){return"function"==typeof e}function C(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let O,Le;function V(e,t){return(O=O||document.createElement("a")).href=t,e===O.href}function ke(e,...t){if(null==e)return R;let n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function H(e,t){e.appendChild(t)}function B(e,t,n){e.insertBefore(t,n||null)}function Y(e){e.parentNode&&e.parentNode.removeChild(e)}function D(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function U(e){return document.createElement(e)}function I(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function t(e){return document.createTextNode(e)}function $(){return t(" ")}function P(){return t("")}function A(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function j(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function W(e,t){e.data!==(t=""+t)&&(e.data=t)}function z(e,t,n){e.classList[n?"add":"remove"](t)}class g{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=I(t.nodeName):this.e=U(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(("TEMPLATE"===this.e.nodeName?this.e.content:this.e).childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)B(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(Y)}}function N(e){Le=e}let m=[],Me=[],i=[],F=[],Z=Promise.resolve(),K=!1;function X(){K||(K=!0,Z.then(p))}function Ce(){return X(),Z}function J(e){i.push(e)}let q=new Set,a=0;function p(){if(0===a){let e=Le;do{try{for(;a<m.length;){let e=m[a];a++,N(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),f(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(J))}}catch(e){throw m.length=0,a=0,e}for(N(null),m.length=0,a=0;Me.length;)Me.pop()();for(let e=0;e<i.length;e+=1){var r=i[e];q.has(r)||(q.add(r),r())}}while(i.length=0,m.length);for(;F.length;)F.pop()();K=!1,q.clear(),N(e)}}let Q=new Set;let ee;function Cn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}"function"==typeof HTMLElement&&(ee=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(L).filter(M);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){f(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;let t=[],n=[];i.forEach(e=>(-1===r.indexOf(e)?t:n).push(e)),n.forEach(e=>e()),i=t}f(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=R}$on(e,t){if(!M(t))return R;let n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});On=te={path:void 0,exports:{},require:function(e,t){return Cn(null==t&&te.path)}},te.exports,On.exports=(()=>{var N;function m(){return N.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function s(e){return void 0===e}function H(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function B(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function Y(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function U(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return Dt(e,t,n,r,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function $(e){var t,n,r=e._d&&!isNaN(e._d.getTime());return r&&(t=g(e),n=W.call(t.parsedDateParts,function(e){return null!=e}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||(t.meridiem,n)),e._strict)&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e)?r:(e._isValid=r,e._isValid)}function j(e){var t=u(NaN);return null!=e?U(g(t),e):g(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},V=m.momentProperties=[],z=!1;function Z(e,t){var n,r,i,a=V.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=g(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(i=t[r=V[n]])||(e[r]=i);return e}function K(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,m.updateOffset(this),z=!1)}function l(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function X(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return U(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,a),s){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}X(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var J={};function q(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),J[e]||(X(t),J[e]=!0)}function h(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=U({},e);for(n in t)p(t,n)&&(F(e[n])&&F(t[n])?(r[n]={},U(r[n],e[n]),U(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)p(e,n)&&!p(t,n)&&F(e[n])&&(r[n]=U({},r[n]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function a(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ne=/(\[[^\[]*\])|(\\)?([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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},ae={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=i),t&&(ae[t[0]]=function(){return a(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ie[t]=ie[t]||(r=>{for(var e,i=r.match(ne),t=0,a=i.length;t<a;t++)ae[i[t]]?i[t]=ae[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=h(i[n])?i[n].call(e,r):i[n];return t}})(t),ie[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function c(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ue(e){var t,n,r={};for(n in e)p(e,n)&&(t=c(n))&&(r[t]=e[n]);return r}var he={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},ce=/\d/,t=/\d\d/,de=/\d{3}/,fe=/\d{4}/,me=/[+-]?\d{6}/,n=/\d\d?/,pe=/\d\d\d\d?/,ge=/\d\d\d\d\d\d?/,ye=/\d{1,3}/,be=/\d{1,4}/,ve=/[+-]?\d{1,6}/,we=/\d+/,_e=/[+-]?\d+/,Ee=/Z|[+-]\d\d:?\d\d/gi,Se=/Z|[+-]\d\d(?::?\d\d)?/gi,i=/[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,d=/^[1-9]\d?/,f=/^([1-9]\d|\d)/;function y(e,n,r){xe[e]=h(n)?n:function(e,t){return e&&r?r:n}}function Te(e,t){return p(xe,e)?xe[e](t._strict,t._locale):new RegExp(b(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function b(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function v(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?v(e):t}var xe={},Ge={};function _(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),H(n)&&(i=function(e,t){t[n]=w(e)}),r=e.length,t=0;t<r;t++)Ge[e[t]]=i}function Le(e,i){_(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}function ke(e){return e%4==0&&e%100!=0||e%400==0}var E=0,S=1,T=2,x=3,G=4,L=5,Me=6,Ce=7,Oe=8;function De(e){return ke(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),y("Y",_e),y("YY",n,t),y("YYYY",be,fe),y("YYYYY",ve,me),y("YYYYYY",ve,me),_(["YYYYY","YYYYYY"],E),_("YYYY",function(e,t){t[E]=2===e.length?m.parseTwoDigitYear(e):w(e)}),_("YY",function(e,t){t[E]=m.parseTwoDigitYear(e)}),_("Y",function(e,t){t[E]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return w(e)+(68<w(e)?1900:2e3)};var k,Ie=Pe("FullYear",!0);function Pe(t,n){return function(e){return null!=e?(Ne(this,t,e),m.updateOffset(this,n),this):Ae(this,t)}}function Ae(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Ne(e,t,n){var r,i,a;if(e.isValid()&&!isNaN(n)){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return i?r.setUTCMilliseconds(n):r.setMilliseconds(n);case"Seconds":return i?r.setUTCSeconds(n):r.setSeconds(n);case"Minutes":return i?r.setUTCMinutes(n):r.setMinutes(n);case"Hours":return i?r.setUTCHours(n):r.setHours(n);case"Date":return i?r.setUTCDate(n):r.setDate(n);case"FullYear":break;default:return}t=n,a=e.month(),e=29!==(e=e.date())||1!==a||ke(t)?e:28,i?r.setUTCFullYear(t,a,e):r.setFullYear(t,a,e)}}function Fe(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?ke(e)?29:28:31-n%7%2)}k=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),y("M",n,d),y("MM",n,t),y("MMM",function(e,t){return t.monthsShortRegex(e)}),y("MMMM",function(e,t){return t.monthsRegex(e)}),_(["M","MM"],function(e,t){t[S]=w(e)-1}),_(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[S]=r:g(n).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),He="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Be=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ye=i,Ue=i;function $e(e,t){if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!H(t=e.localeData().monthsParse(t)))return;var n=(n=e.date())<29?n:Math.min(n,Fe(e.year(),t));e._isUTC?e._d.setUTCMonth(t,n):e._d.setMonth(t,n)}}function je(e){return null!=e?($e(this,e),m.updateOffset(this,!0),this):Ae(this,"Month")}function We(){function e(e,t){return t.length-e.length}for(var t,n,r=[],i=[],a=[],o=0;o<12;o++)n=u([2e3,o]),t=b(this.monthsShort(n,"")),n=b(this.months(n,"")),r.push(t),i.push(n),a.push(n),a.push(t);r.sort(e),i.sort(e),a.sort(e),this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ve(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ze(e,t,n){n=7+t-n;return-(7+ze(e,0,n).getUTCDay()-t)%7+n-1}function Ke(e,t,n,r,i){var a,t=1+7*(t-1)+(7+n-r)%7+Ze(e,r,i),n=t<=0?De(a=e-1)+t:t>De(e)?(a=e+1,t-De(e)):(a=e,t);return{year:a,dayOfYear:n}}function Xe(e,t,n){var r,i,a=Ze(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+M(i=e.year()-1,t,n):a>M(e.year(),t,n)?(r=a-M(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function M(e,t,n){var r=Ze(e,t,n),t=Ze(e+1,t,n);return(De(e)-r+t)/7}function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),y("w",n,d),y("ww",n,t),y("W",n,d),y("WW",n,t),Le(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)}),r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),y("d",n),y("e",n),y("E",n),y("dd",function(e,t){return t.weekdaysMinRegex(e)}),y("ddd",function(e,t){return t.weekdaysShortRegex(e)}),y("dddd",function(e,t){return t.weekdaysRegex(e)}),Le(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),Le(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),et="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),tt=i,nt=i,rt=i;function it(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=u([2e3,1]).day(l),t=b(this.weekdaysMin(r,"")),n=b(this.weekdaysShort(r,"")),r=b(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function at(){return this.hours()%12||12}function ot(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,at),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+at.apply(this)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+at.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),ot("a",!0),ot("A",!1),y("a",st),y("A",st),y("H",n,f),y("h",n,d),y("k",n,d),y("HH",n,t),y("hh",n,t),y("kk",n,t),y("hmm",pe),y("hmmss",ge),y("Hmm",pe),y("Hmmss",ge),_(["H","HH"],x),_(["k","kk"],function(e,t,n){e=w(e);t[x]=24===e?0:e}),_(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),_(["h","hh"],function(e,t,n){t[x]=w(e),g(n).bigHour=!0}),_("hmm",function(e,t,n){var r=e.length-2;t[x]=w(e.substr(0,r)),t[G]=w(e.substr(r)),g(n).bigHour=!0}),_("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[x]=w(e.substr(0,r)),t[G]=w(e.substr(r,2)),t[L]=w(e.substr(i)),g(n).bigHour=!0}),_("Hmm",function(e,t,n){var r=e.length-2;t[x]=w(e.substr(0,r)),t[G]=w(e.substr(r))}),_("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[x]=w(e.substr(0,r)),t[G]=w(e.substr(r,2)),t[L]=w(e.substr(i))}),i=Pe("Hours",!0);var lt,ut={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:He,week:{dow:0,doy:6},weekdays:qe,weekdaysMin:et,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},C={},ht={};function ct(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=ct(e[a]).split("-")).length,n=(n=ct(e[a+1]))?n.split("-"):null;0<t;){if(r=ft(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&((e,t)=>{for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n})(i,n)>=t-1)break;t--}a++}return lt}function ft(t){var e,n;if(void 0===C[t]&&On&&On.exports&&(n=t)&&n.match("^[^/\\\\]*$"))try{e=lt._abbr,Cn(),mt(e)}catch(e){C[t]=null}return C[t]}function mt(e,t){return e&&((t=s(t)?O(e):pt(e,t))?lt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function pt(e,t){if(null===t)return delete C[e],null;var n,r=ut;if(t.abbr=e,null!=C[e])q("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=C[e]._config;else if(null!=t.parentLocale)if(null!=C[t.parentLocale])r=C[t.parentLocale]._config;else{if(null==(n=ft(t.parentLocale)))return ht[t.parentLocale]||(ht[t.parentLocale]=[]),ht[t.parentLocale].push({name:e,config:t}),null;r=n._config}return C[e]=new ee(Q(r,t)),ht[e]&&ht[e].forEach(function(e){pt(e.name,e.config)}),mt(e),C[e]}function O(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return lt;if(!o(e)){if(t=ft(e))return t;e=[e]}return dt(e)}function gt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[S]<0||11<t[S]?S:t[T]<1||t[T]>Fe(t[E],t[S])?T:t[x]<0||24<t[x]||24===t[x]&&(0!==t[G]||0!==t[L]||0!==t[Me])?x:t[G]<0||59<t[G]?G:t[L]<0||59<t[L]?L:t[Me]<0||999<t[Me]?Me:-1,g(e)._overflowDayOfYear&&(t<E||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=Ce),g(e)._overflowWeekday&&-1===t&&(t=Oe),g(e).overflow=t),e}var yt=/^\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)?)?$/,bt=/^\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)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,wt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_t=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Et=/^\/?Date\((-?\d+)/i,St=/^(?:(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}))$/,Tt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xt(e){var t,n,r,i,a,o,s=e._i,l=yt.exec(s)||bt.exec(s),s=wt.length,u=_t.length;if(l){for(g(e).iso=!0,t=0,n=s;t<n;t++)if(wt[t][1].exec(l[1])){i=wt[t][0],r=!1!==wt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=u;t<n;t++)if(_t[t][1].exec(l[3])){a=(l[2]||" ")+_t[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Ct(e)}else e._isValid=!1}function Gt(e,t,n,r,i,a){e=[(e=>(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e)(e),He.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&e.push(parseInt(a,10)),e}function Lt(e){var t,n,r,i,a=St.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Gt(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&Qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=a[8],r=a[9],i=a[10],n?Tt[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,r,i,a,o,s,l,u,h,c,d=[];if(!e._d){for(h=e,c=new Date(m.now()),n=h._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()],e._w&&null==e._a[T]&&null==e._a[S]&&(null!=(c=(h=e)._w).GG||null!=c.W||null!=c.E?(o=1,s=4,r=kt(c.GG,h._a[E],Xe(D(),1,4).year),i=kt(c.W,1),((a=kt(c.E,1))<1||7<a)&&(l=!0)):(o=h._locale._week.dow,s=h._locale._week.doy,u=Xe(D(),o,s),r=kt(c.gg,h._a[E],u.year),i=kt(c.w,u.week),null!=c.d?((a=c.d)<0||6<a)&&(l=!0):null!=c.e?(a=c.e+o,(c.e<0||6<c.e)&&(l=!0)):a=o),i<1||i>M(r,o,s)?g(h)._overflowWeeks=!0:null!=l?g(h)._overflowWeekday=!0:(u=Ke(r,i,a,o,s),h._a[E]=u.year,h._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(c=kt(e._a[E],n[E]),(e._dayOfYear>De(c)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=ze(c,0,e._dayOfYear),e._a[S]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=n[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[x]&&0===e._a[G]&&0===e._a[L]&&0===e._a[Me]&&(e._nextDay=!0,e._a[x]=0),e._d=(e._useUTC?ze:Ve).apply(null,d),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[x]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Ct(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r,i=""+e._i,a=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(i.match(Te(r,e))||[])[0])&&(0<(c=i.substr(0,i.indexOf(t))).length&&g(e).unusedInput.push(c),i=i.slice(i.indexOf(t)+t.length),o+=t.length),ae[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),c=r,f=e,null!=(d=t)&&p(Ge,c)&&Ge[c](d,f._a,f,c)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=a-o,0<i.length&&g(e).unusedInput.push(i),e._a[x]<=12&&!0===g(e).bigHour&&0<e._a[x]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[x]=(a=e._locale,u=e._a[x],null==(h=e._meridiem)?u:null!=a.meridiemHour?a.meridiemHour(u,h):null!=a.isPM?((a=a.isPM(h))&&u<12&&(u+=12),u=a||12!==u?u:0):u),null!==(h=g(e).era)&&(e._a[E]=e._locale.erasConvertYear(h,e._a[E])),Mt(e),gt(e)}else Lt(e);else xt(e);var u,h,c,d,f}function Ot(e){var t,n=e._i,r=e._f;{var i,a;return(e._locale=e._locale||O(e._l),null===n||void 0===r&&""===n)?j({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new K(gt(n)):(B(n)?e._d=n:o(r)?(e=>{var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)a=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ct(t),$(t)&&(o=!0),a=(a+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o)&&(s=!0);U(e,n||t)})(e):r?Ct(e):s(r=(n=e)._i)?n._d=new Date(m.now()):B(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(a=Et.exec(i._i))?(xt(i),!1===i._isValid&&(delete i._isValid,Lt(i),!1===i._isValid)&&(delete i._isValid,i._strict?i._isValid=!1:m.createFromInputFallback(i))):i._d=new Date(+a[1])):o(r)?(n._a=Y(r.slice(0),function(e){return parseInt(e,10)}),Mt(n)):F(r)?(i=n)._d||(t=void 0===(a=ue(i._i)).day?a.date:a.day,i._a=Y([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),Mt(i)):H(r)?n._d=new Date(r):m.createFromInputFallback(n),$(e)||(e._d=null),e))}}function Dt(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(F(e)&&R(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(i=new K(gt(Ot(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function D(e,t,n,r){return Dt(e,t,n,r,!1)}function It(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return D();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}m.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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){},pe=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),ge=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function At(e){var e=ue(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=(e=>{var t,n,r=!1,i=Pt.length;for(t in e)if(p(e,t)&&(-1===k.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Pt[n]]){if(r)return!1;parseFloat(e[Pt[n]])!==w(e[Pt[n]])&&(r=!0)}return!0})(e),this._milliseconds=+u+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=O(),this._bubble()}function Nt(e){return e instanceof At}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Rt(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}Rt("Z",":"),Rt("ZZ",""),y("Z",Se),y("ZZ",Se),_(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Bt(Se,e)});var Ht=/([\+\-]|\d\d)/gi;function Bt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ht)||["-",0,0])[1]+w(e[2]))?0:"+"===e[0]?t:-t}function Yt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||B(e)?e:D(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):D(e).local()}function Ut(e){return-Math.round(e._d.getTimezoneOffset())}function $t(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function I(e,t){var n,r,i=e;return Nt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:H(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(t=jt.exec(e))?(n="-"===t[1]?-1:1,i={y:0,d:w(t[T])*n,h:w(t[x])*n,m:w(t[G])*n,s:w(t[L])*n,ms:w(Ft(1e3*t[Me]))*n}):(t=Wt.exec(e))?(n="-"===t[1]?-1:1,i={y:Vt(t[2],n),M:Vt(t[3],n),w:Vt(t[4],n),d:Vt(t[5],n),h:Vt(t[6],n),m:Vt(t[7],n),s:Vt(t[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=D(i.from),n=D(i.to),t=t.isValid()&&n.isValid()?(n=Yt(n,t),t.isBefore(n)?r=zt(t,n):((r=zt(n,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=t.milliseconds,i.M=t.months),r=new At(i),Nt(e)&&p(e,"_locale")&&(r._locale=e._locale),Nt(e)&&p(e,"_isValid")&&(r._isValid=e._isValid),r}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Zt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(q(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Kt(this,I(e,t),r),this}}function Kt(e,t,n,r){var i=t._milliseconds,a=Ft(t._days),t=Ft(t._months);e.isValid()&&(r=null==r||r,t&&$e(e,Ae(e,"Month")+t*n),a&&Ne(e,"Date",Ae(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r)&&m.updateOffset(e,a||t)}function Xt(e){return"string"==typeof e||e instanceof String}function Jt(e){return l(e)||B(e)||Xt(e)||H(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!H(e)&&Xt(t)}).length),n&&r)||(e=>{var t,n,r=F(e)&&!R(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],i=i||p(e,n);return r&&i})(e)||null==e;var t,n,r}function qt(e,t){var n,r;return e.date()<t.date()?-qt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(n,"months"))<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function Qt(e){return void 0===e?this._locale._abbr:(null!=(e=O(e))&&(this._locale=e),this)}function en(){return this._locale}I.fn=At.prototype,I.invalid=function(){return I(NaN)},Re=Zt(1,"add"),qe=Zt(-1,"subtract"),m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",et=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});var tn=126227808e5;function nn(e,t){return(e%t+t)%t}function rn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-tn:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-tn:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){for(var e,t,n,r=[],i=[],a=[],o=[],s=this.eras(),l=0,u=s.length;l<u;++l)e=b(s[l].name),t=b(s[l].abbr),n=b(s[l].narrow),i.push(e),r.push(t),a.push(n),o.push(e),o.push(t),o.push(n);this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function ln(e,t){r(0,[e,e.length],0,t)}function un(e,t,n,r,i){var a;return null==e?Xe(this,r,i).year:(t>(a=M(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ke(e,t,n,r,i),t=ze(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),y("N",on),y("NN",on),y("NNN",on),y("NNNN",function(e,t){return t.erasNameRegex(e)}),y("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),_(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),y("y",we),y("yy",we),y("yyy",we),y("yyyy",we),y("yo",function(e,t){return t._eraYearOrdinalRegex||we}),_(["y","yy","yyy","yyyy"],E),_(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[E]=n._locale.eraYearOrdinalParse(e,i):t[E]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),y("G",_e),y("g",_e),y("GG",n,t),y("gg",n,t),y("GGGG",be,fe),y("gggg",be,fe),y("GGGGG",ve,me),y("ggggg",ve,me),Le(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),Le(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),y("Q",ce),_("Q",function(e,t){t[S]=3*(w(e)-1)}),r("D",["DD",2],"Do","date"),y("D",n,d),y("DD",n,t),y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),_(["D","DD"],T),_("Do",function(e,t){t[T]=w(e.match(n)[0])}),be=Pe("Date",!0),r("DDD",["DDDD",3],"DDDo","dayOfYear"),y("DDD",ye),y("DDDD",de),_(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),r("m",["mm",2],0,"minute"),y("m",n,f),y("mm",n,t),_(["m","mm"],G),fe=Pe("Minutes",!1),r("s",["ss",2],0,"second"),y("s",n,f),y("ss",n,t),_(["s","ss"],L);var hn,ve=Pe("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),y("S",ye,ce),y("SS",ye,t),y("SSS",ye,de),hn="SSSS";hn.length<=9;hn+="S")y(hn,we);function cn(e,t){t[Me]=w(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")_(hn,cn);function dn(e){return e}function fn(e,t,n,r){var i=O(),r=u().set(r,t);return i[n](r,e)}function mn(e,t,n){if(H(e)&&(t=e,e=void 0),e=e||"",null!=t)return fn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=fn(e,i,n,"month");return r}function pn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),H(t)&&(n=t,t=void 0),t||"");var i,a=O(),o=e?a._week.dow:0,s=[];if(null!=n)return fn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fn(t,(i+o)%7,r,"day");return s}me=Pe("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName"),(d=K.prototype).add=Re,d.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):(e=>{for(var t=F(e)&&!R(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||p(e,r[i]);return t&&n})(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||D(),n=Yt(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(h(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,D(e)))},d.clone=function(){return new K(this)},d.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Yt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=c(t)){case"year":a=qt(this,r)/12;break;case"month":a=qt(this,r);break;case"quarter":a=qt(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:v(a)},d.endOf=function(e){var t,n;if(void 0!==(e=c(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}this._d.setTime(t),m.updateOffset(this,!0)}return this},d.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},d.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||D(e).isValid())?I({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},d.fromNow=function(e){return this.from(D(),e)},d.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||D(e).isValid())?I({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},d.toNow=function(e){return this.to(D(),e)},d.get=function(e){return h(this[e=c(e)])?this[e]():this},d.invalidAt=function(){return g(this).overflow},d.isAfter=function(e,t){return e=l(e)?e:D(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},d.isBefore=function(e,t){return e=l(e)?e:D(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},d.isBetween=function(e,t,n,r){return e=l(e)?e:D(e),t=l(t)?t:D(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},d.isSame=function(e,t){var e=l(e)?e:D(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},d.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},d.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},d.isValid=function(){return $(this)},d.lang=et,d.locale=Qt,d.localeData=en,d.max=ge,d.min=pe,d.parsingFlags=function(){return U({},g(this))},d.set=function(e,t){if("object"==typeof e)for(var n=(e=>{var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:he[t]});return n.sort(function(e,t){return e.priority-t.priority}),n})(e=ue(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(h(this[e=c(e)]))return this[e](t);return this},d.startOf=function(e){var t,n;if(void 0!==(e=c(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?an:rn,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-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}this._d.setTime(t),m.updateOffset(this,!0)}return this},d.subtract=qe,d.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},d.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},d.toDate=function(){return new Date(this.valueOf())},d.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):h(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},d.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(d[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},d.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},d.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},d.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},d.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},d.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-m(n[r].since).year())*e+n[r].offset;return this.year()},d.year=Ie,d.isLeapYear=function(){return ke(this.year())},d.weekYear=function(e){return un.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},d.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},d.quarter=d.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},d.month=je,d.daysInMonth=function(){return Fe(this.year(),this.month())},d.week=d.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},d.isoWeek=d.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},d.weeksInYear=function(){var e=this.localeData()._week;return M(this.year(),e.dow,e.doy)},d.weeksInWeekYear=function(){var e=this.localeData()._week;return M(this.weekYear(),e.dow,e.doy)},d.isoWeeksInYear=function(){return M(this.year(),1,4)},d.isoWeeksInISOWeekYear=function(){return M(this.isoWeekYear(),1,4)},d.date=be,d.day=d.days=function(e){var t,n,r;return this.isValid()?(t=Ae(this,"Day"),null!=e?(n=e,r=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=r.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},d.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},d.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},d.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},d.hour=d.hours=i,d.minute=d.minutes=fe,d.second=d.seconds=ve,d.millisecond=d.milliseconds=me,d.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Ut(this);if("string"==typeof e){if(null===(e=Bt(Se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ut(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Kt(this,I(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},d.utc=function(e){return this.utcOffset(0,e)},d.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ut(this),"m"),this},d.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Bt(Ee,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},d.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?D(e).utcOffset():0,(this.utcOffset()-e)%60==0)},d.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},d.isLocal=function(){return!!this.isValid()&&!this._isUTC},d.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},d.isUtc=$t,d.isUTC=$t,d.zoneAbbr=function(){return this._isUTC?"UTC":""},d.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},d.dates=e("dates accessor is deprecated. Use date instead.",be),d.months=e("months accessor is deprecated. Use month instead",je),d.years=e("years accessor is deprecated. Use year instead",Ie),d.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),d.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(Z(t={},this),(t=Ot(t))._a?(e=(t._isUTC?u:D)(t._a),this._isDSTShifted=this.isValid()&&0<((e,t,n)=>{for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&w(e[o])!==w(t[o]))&&a++;return a+i})(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),(f=ee.prototype).calendar=function(e,t,n){return h(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},f.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},f.invalidDate=function(){return this._invalidDate},f.ordinal=function(e){return this._ordinal.replace("%d",e)},f.preparse=dn,f.postformat=dn,f.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return h(i)?i(e,t,n,r):i.replace(/%d/i,e)},f.pastFuture=function(e,t){return h(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},f.set=function(e){var t,n;for(n in e)p(e,n)&&(h(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},f.eras=function(e,t){for(var n,r=this._eras||O("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=m(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},f.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},f.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},f.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},f.erasNameRegex=function(e){return p(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},f.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},f.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Be).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},f.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Be.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},f.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=u([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=k.call(this._shortMonthsParse,e))?i:null:-1!==(i=k.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=k.call(this._shortMonthsParse,e))||-1!==(i=k.call(this._longMonthsParse,e))?i:null:-1!==(i=k.call(this._longMonthsParse,e))||-1!==(i=k.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},f.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||We.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Ue),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},f.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||We.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Ye),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},f.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},f.firstDayOfYear=function(){return this._week.doy},f.firstDayOfWeek=function(){return this._week.dow},f.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Je(t,this._week.dow):e?t[e.day()]:t},f.weekdaysMin=function(e){return!0===e?Je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},f.weekdaysShort=function(e){return!0===e?Je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},f.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=k.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=k.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=k.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=k.call(this._weekdaysParse,e))||-1!==(i=k.call(this._shortWeekdaysParse,e))||-1!==(i=k.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=k.call(this._shortWeekdaysParse,e))||-1!==(i=k.call(this._weekdaysParse,e))||-1!==(i=k.call(this._minWeekdaysParse,e))?i:null:-1!==(i=k.call(this._minWeekdaysParse,e))||-1!==(i=k.call(this._weekdaysParse,e))||-1!==(i=k.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},f.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=tt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},f.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=nt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},f.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},f.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},f.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",mt),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",O);var P=Math.abs;function gn(e,t,n,r){t=I(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}function _n(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=wn("ms"),t=wn("s"),ye=wn("m"),de=wn("h"),Re=wn("d"),ge=wn("w"),pe=wn("M"),qe=wn("Q"),i=wn("y"),fe=ce;var ve=_n("milliseconds"),me=_n("seconds"),be=_n("minutes"),Ie=_n("hours"),f=_n("days"),En=_n("months"),Sn=_n("years"),Tn=Math.round,xn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(e,t,n,r){var i=I(e).abs(),a=Tn(i.as("s")),o=Tn(i.as("m")),s=Tn(i.as("h")),l=Tn(i.as("d")),u=Tn(i.as("M")),h=Tn(i.as("w")),i=Tn(i.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||(o<=1?["m"]:o<n.m&&["mm",o])||(s<=1?["h"]:s<n.h&&["hh",s])||(l<=1?["d"]:l<n.d&&["dd",l]);return(a=(a=null!=n.w?a||(h<=1?["w"]:h<n.w&&["ww",h]):a)||(u<=1?["M"]:u<n.M&&["MM",u])||(i<=1?["y"]:["yy",i]))[2]=t,a[3]=0<+e,a[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,a)}var Ln=Math.abs;function kn(e){return(0<e)-(e<0)||+e}function Mn(){var e,t,n,r,i,a,o,s,l,u,h;return this.isValid()?(s=Ln(this._milliseconds)/1e3,l=Ln(this._days),u=Ln(this._months),(h=this.asSeconds())?(e=v(s/60),t=v(e/60),s%=60,e%=60,n=v(u/12),u%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=kn(this._months)!==kn(h)?"-":"",a=kn(this._days)!==kn(h)?"-":"",o=kn(this._milliseconds)!==kn(h)?"-":"",(h<0?"-":"")+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"):this.localeData().invalidDate()}var A=At.prototype;return A.isValid=function(){return this._isValid},A.abs=function(){var e=this._data;return this._milliseconds=P(this._milliseconds),this._days=P(this._days),this._months=P(this._months),e.milliseconds=P(e.milliseconds),e.seconds=P(e.seconds),e.minutes=P(e.minutes),e.hours=P(e.hours),e.months=P(e.months),e.years=P(e.years),this},A.add=function(e,t){return gn(this,e,t,1)},A.subtract=function(e,t){return gn(this,e,t,-1)},A.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=c(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},A.asMilliseconds=ce,A.asSeconds=t,A.asMinutes=ye,A.asHours=de,A.asDays=Re,A.asWeeks=ge,A.asMonths=pe,A.asQuarters=qe,A.asYears=i,A.valueOf=fe,A._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),r.milliseconds=e%1e3,e=v(e/1e3),r.seconds=e%60,e=v(e/60),r.minutes=e%60,e=v(e/60),r.hours=e%24,t+=v(e/24),n+=e=v(bn(t)),t-=yn(vn(e)),e=v(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},A.clone=function(){return I(this)},A.get=function(e){return e=c(e),this.isValid()?this[e+"s"]():NaN},A.milliseconds=ve,A.seconds=me,A.minutes=be,A.hours=Ie,A.days=f,A.weeks=function(){return v(this.days()/7)},A.months=En,A.years=Sn,A.humanize=function(e,t){var n,r;return this.isValid()?(n=!1,r=xn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},xn,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),t=Gn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},A.toISOString=Mn,A.toString=Mn,A.toJSON=Mn,A.locale=Qt,A.localeData=en,A.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mn),A.lang=et,r("X",0,0,"unix"),r("x",0,0,"valueOf"),y("x",_e),y("X",/[+-]?\d+(\.\d{1,3})?/),_("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),_("x",function(e,t,n){n._d=new Date(w(e))}),m.version="2.30.1",N=D,m.fn=d,m.min=function(){return It("isBefore",[].slice.call(arguments,0))},m.max=function(){return It("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=u,m.unix=function(e){return D(1e3*e)},m.months=function(e,t){return mn(e,t,"months")},m.isDate=B,m.locale=mt,m.invalid=j,m.duration=I,m.isMoment=l,m.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},m.parseZone=function(){return D.apply(null,arguments).parseZone()},m.localeData=O,m.isDuration=Nt,m.monthsShort=function(e,t){return mn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},m.defineLocale=pt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=ut,null!=C[e]&&null!=C[e].parentLocale?C[e].set(Q(C[e]._config,t)):(t=Q(r=null!=(n=ft(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=C[e],C[e]=r),mt(e)):null!=C[e]&&(null!=C[e].parentLocale?(C[e]=C[e].parentLocale,e===mt()&&mt(e)):null!=C[e]&&delete C[e]),C[e]},m.locales=function(){return te(C)},m.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},m.normalizeUnits=c,m.relativeTimeRounding=function(e){return void 0===e?Tn:"function"==typeof e&&(Tn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==xn[e]&&(void 0===t?xn[e]:(xn[e]=t,"s"===e&&(xn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},m.prototype=d,m.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"},m})();var te,On,ne,re,ie=te.exports,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},ae="URLSearchParams"in l,oe="Symbol"in l&&"iterator"in Symbol,se="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),le="FormData"in l,ue="ArrayBuffer"in l;function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function he(e){return e="string"!=typeof e?String(e):e}function ce(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return oe&&(e[Symbol.iterator]=function(){return e}),e}function h(t){this.map={},t instanceof h?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function de(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function fe(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function me(e){var t=new FileReader,n=fe(t);return t.readAsArrayBuffer(e),n}function pe(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function ge(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:se&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:le&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ae&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ue&&se&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=pe(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ue&&(ArrayBuffer.prototype.isPrototypeOf(e)||re(e))?this._bodyArrayBuffer=pe(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ae&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},se&&(this.blob=function(){var e=de(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return de(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(se)return this.blob().then(me);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r=de(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=fe(e=new FileReader),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?n[1]:"utf-8",e.readAsText(r,n),t;if(this._bodyArrayBuffer)return Promise.resolve((e=>{for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")})(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},le&&(this.formData=function(){return this.text().then(be)}),this.json=function(){return this.text().then(JSON.parse)},this}ue&&(ne=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],re=ArrayBuffer.isView||function(e){return e&&-1<ne.indexOf(Object.prototype.toString.call(e))}),h.prototype.append=function(e,t){e=u(e),t=he(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},h.prototype.delete=function(e){delete this.map[u(e)]},h.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},h.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},h.prototype.set=function(e,t){this.map[u(e)]=he(t)},h.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},h.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),ce(n)},h.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ce(t)},h.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),ce(n)},oe&&(h.prototype[Symbol.iterator]=h.prototype.entries);var ye=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new h(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<ye.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||(()=>{if("AbortController"in l)return(new AbortController).signal})(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function be(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function d(e,t){if(!(this instanceof d))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},ge.call(c.prototype),ge.call(d.prototype),d.prototype.clone=function(){return new d(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},d.error=function(){var e=new d(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var ve=[301,302,303,307,308],we=(d.redirect=function(e,t){if(-1===ve.indexOf(t))throw new RangeError("Invalid status code");return new d(null,{status:t,headers:{location:e}})},l.DOMException);try{new we}catch(R){(we=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),we.prototype.constructor=we}function _e(r,s){return new Promise(function(i,e){var a=new c(r,s);if(a.signal&&a.signal.aborted)return e(new we("Aborted","AbortError"));var n,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,r,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",r=new h,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{r.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),r)},n=(0===a.url.indexOf("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){i(new d(n,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new we("Aborted","AbortError"))},0)},o.open(a.method,(t=>{try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}})(a.url),!0),"include"===a.credentials?o.withCredentials=!0:"omit"===a.credentials&&(o.withCredentials=!1),"responseType"in o&&(se?o.responseType="blob":ue&&(o.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof h||l.Headers&&s.headers instanceof l.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(u(e)),o.setRequestHeader(e,he(s.headers[e]))}),a.headers.forEach(function(e,t){-1===n.indexOf(t)&&o.setRequestHeader(t,e)})):a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),a.signal&&(a.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&a.signal.removeEventListener("abort",t)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})}_e.polyfill=!0,l.fetch||(l.fetch=_e,l.Headers=h,l.Request=c,l.Response=d),self.fetch.bind(self);var Ee=function(e,t){return(Ee=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function Se(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ee(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Te(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function xe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function Oe(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function y(e){return"function"==typeof e}function De(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ie=De(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Pe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}n.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Te(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(y(a))try{a()}catch(e){i=e instanceof Ie?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Te(a),u=l.next();!u.done;u=l.next()){var h=u.value;try{Re(h)}catch(e){i=null!=i?i:[],e instanceof Ie?i=Oe(Oe([],xe(i)),xe(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new Ie(i)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Re(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},n.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},n.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},n.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Pe(t,e)},n.prototype.remove=function(e){var t=this._finalizers;t&&Pe(t,e),e instanceof n&&e._removeParent(this)},n.EMPTY=((r=new n).closed=!0,r);var Ae=n,Ne=Ae.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Fe(e){return e instanceof Ae||e&&"closed"in e&&y(e.remove)&&y(e.add)&&y(e.unsubscribe)}function Re(e){y(e)?e():e.unsubscribe()}var He=void 0,Be=!1,Ye=!1,Ue={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Ue.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,Oe([e,t],xe(n))):setTimeout.apply(void 0,Oe([e,t],xe(n)))},clearTimeout:function(e){var t=Ue.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function $e(){}var je=null;function We(e){if(Be){var t=!je;if(t&&(je={errorThrown:!1,error:null}),e(),t){var t=je,n=t.errorThrown;if(je=null,n)throw t.error}}else e()}Se(e,Ve=Ae),e.create=function(e,t,n){return new qe(e,t,n)},e.prototype.next=function(e){this.isStopped||this._next(e)},e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ve.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(e){this.destination.next(e)},e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Ve,ze=e,Ze=Function.prototype.bind;function e(e){var t=Ve.call(this)||this;return t.isStopped=!1,e?Fe(t.destination=e)&&e.add(t):t.destination=nt,t}function Ke(e,t){return Ze.call(e,t)}et.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){tt(e)}},et.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){tt(e)}else tt(e)},et.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){tt(e)}};var Xe,Je=et,qe=(Se(Qe,Xe=ze),Qe);function Qe(e,t,n){var r=Xe.call(this)||this,n=y(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&Ye?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Ke(e.next,t),error:e.error&&Ke(e.error,t),complete:e.complete&&Ke(e.complete,t)}):e;return r.destination=new Je(n),r}function et(e){this.partialObserver=e}function tt(e){var t=e;Ue.setTimeout(function(){throw t})}var nt={closed:!0,next:$e,error:function(e){throw e},complete:$e},r="function"==typeof Symbol&&Symbol.observable||"@@observable";o.prototype.lift=function(e){var t=new o;return t.source=this,t.operator=e,t},o.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof ze||r&&y(r.next)&&y(r.error)&&y(r.complete)&&Fe(r)?e:new qe(e,t,n);return We(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},o.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},o.prototype.forEach=function(r,e){var i=this;return new(e=it(e))(function(e,t){var n=new qe({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},o.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},o.prototype[r]=function(){return this},o.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},o.prototype.toPromise=function(e){var r=this;return new(e=it(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},o.create=function(e){return new o(e)};var rt=o;function o(e){e&&(this._subscribe=e)}function it(e){return null!=(e=null!=e?e:He)?e:Promise}var at,ot,st,lt=De(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),r=(Se(s,st=rt),s.prototype.lift=function(e){var t=new ut(this,this);return t.operator=e,t},s.prototype._throwIfClosed=function(){if(this.closed)throw new lt},s.prototype.next=function(i){var a=this;We(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=Te(a.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},s.prototype.error=function(t){var n=this;We(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},s.prototype.complete=function(){var t=this;We(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},s.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(s.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),s.prototype._trySubscribe=function(e){return this._throwIfClosed(),st.prototype._trySubscribe.call(this,e)},s.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},s.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?Ne:(this.currentObservers=null,i.push(e),new Ae(function(){t.currentObservers=null,Pe(i,e)}))},s.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},s.prototype.asObservable=function(){var e=new rt;return e.source=this,e},s.create=function(e,t){return new ut(e,t)},s),ut=(Se(ft,ot=r),ft.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},ft.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},ft.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},ft.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ne},ft),ht={now:function(){return(ht.delegate||Date).now()},delegate:void 0},ct=(Se(dt,at=r),dt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i)||r.push(a.now()+t),this._trimBuffer(),at.prototype.next.call(this,e)},dt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},dt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},dt);function dt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=ht);var r=at.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function ft(e,t){var n=ot.call(this)||this;return n.destination=e,n.source=t,n}function s(){var e=st.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let mt=[],pt={},gt=[];function yt(r,i=R){let a,o=new Set;function s(e){if(C(r,e)&&(r=e,a)){let e=!gt.length;for(let e of o)e[1](),gt.push(e,r);if(e){for(let e=0;e<gt.length;e+=2)gt[e][0](gt[e+1]);gt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=R){let n=[e,t];return o.add(n),1===o.size&&(a=i(s)||R),e(r),()=>{o.delete(n),0===o.size&&a&&(a(),a=null)}}}}function bt(e,s,t){let l=!Array.isArray(e),u=l?[e]:e,h=s.length<2;return{subscribe:yt(t,t=>{let n=!1,r=[],i=0,a=R,o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),h?t(e):a=M(e)?e:R)},e=u.map((e,t)=>ke(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){f(e),a(),n=!1}}).subscribe}}function vt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===wt);var t}var wt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function _t(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Gt(Array.isArray(e)?[]:{},e,t):e}function Et(e,t,n){return e.concat(t).map(function(e){return _t(e,n)})}function St(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Tt(e,t){try{return t in e}catch(e){return!1}}function xt(r,i,a){var o={};return a.isMergeableObject(r)&&St(r).forEach(function(e){o[e]=_t(r[e],a)}),St(i).forEach(function(e){var t,n;(!Tt(t=r,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Tt(r,e)&&a.isMergeableObject(i[e])?o[e]=((t=a).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Gt)(r[e],i[e],a):o[e]=_t(i[e],a))}),o}function Gt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Et,n.isMergeableObject=n.isMergeableObject||vt,n.cloneUnlessOtherwiseSpecified=_t;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):xt(e,t,n):_t(t,n)}Gt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Gt(e,t,n)},{});throw new Error("first argument should be an array")};var Lt=Gt,kt=function(e,t){return(kt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function Mt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}kt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var b,v,Ct,w=function(){return(w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Ot(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Dt(e){return e.type===v.literal}function It(e){return e.type===v.number}function Pt(e){return e.type===v.date}function At(e){return e.type===v.time}function Nt(e){return e.type===v.select}function Ft(e){return e.type===v.plural}function Rt(e){return e.type===v.tag}function Ht(e){return e&&"object"==typeof e&&e.type===Ct.number}function Bt(e){return e&&"object"==typeof e&&e.type===Ct.dateTime}(r=b=b||{})[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",(r=v=v||{})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",(r=Ct=Ct||{})[r.number=0]="number",r[r.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Yt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var Ut=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,$t=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,jt=/^(@+)?(\+|#+)?[rs]?$/g,Wt=/(\*)(0+)|(#+)(0+)|(0+)/g,Vt=/^(0+)$/;function zt(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(jt,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Zt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Kt(e){return Zt(e)||{}}function Xt(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=w(w(w({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return w(w({},e),Kt(t))},{}));continue;case"engineering":o=w(w(w({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return w(w({},e),Kt(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Wt,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Vt.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if($t.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace($t,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=i.options[0];"w"===a?o=w(w({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=w(w({},o),zt(a)))}else jt.test(i.stem)?o=w(w({},o),zt(i.stem)):((a=Zt(i.stem))&&(o=w(w({},o),a)),(r=(e=>{var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Vt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t})(i.stem))&&(o=w(w({},o),r)))}return o}var Jt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var qt=new RegExp("^".concat(r.source,"*")),Qt=new RegExp("".concat(r.source,"*$"));function _(e,t){return{start:e,end:t}}var r=!!String.prototype.startsWith,en=!!String.fromCodePoint,tn=!!Object.fromEntries,nn=!!String.prototype.codePointAt,rn=!!String.prototype.trimStart,an=!!String.prototype.trimEnd,on=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},sn=!0;try{sn="a"===(null==(kn=gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:kn[0])}catch(R){sn=!1}var ln,un,hn=r?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},cn=en?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},dn=tn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];t[i[0]]=i[1]}return t},fn=nn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},mn=rn?function(e){return e.trimStart()}:function(e){return e.replace(qt,"")},pn=an?function(e){return e.trimEnd()}:function(e){return e.replace(Qt,"")};function gn(e,t){return new RegExp(e,t)}un=sn?(ln=gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return ln.lastIndex=t,null!=(t=ln.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=fn(e,t);if(void 0===i||vn(i)||33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094)break;r.push(i),t+=65536<=i?2:1}return cn.apply(void 0,r)};E.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},E.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(b.UNMATCHED_CLOSING_TAG,_(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&bn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}else{a=this.clonePosition();this.bump(),r.push({type:v.pound,location:_(a,this.clonePosition())})}}}return{val:r,err:null}},E.prototype.parseTag=function(e,t){var n,r=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:v.literal,value:"<".concat(i,"/>"),location:_(r,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!bn(this.char())?this.error(b.INVALID_TAG,_(e,this.clonePosition())):(n=this.clonePosition(),i!==this.parseTagName()?this.error(b.UNMATCHED_CLOSING_TAG,_(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:v.tag,value:i,children:t,location:_(r,this.clonePosition())},err:null}:this.error(b.INVALID_TAG,_(e,this.clonePosition())))):this.error(b.UNCLOSED_TAG,_(r,this.clonePosition()))):this.error(b.INVALID_TAG,_(r,this.clonePosition()))},E.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},E.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=_(n,this.clonePosition());return{val:{type:v.literal,value:r,location:n},err:null}},E.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(bn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},E.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return cn.apply(void 0,t)},E.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),cn(n))},E.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,_(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(b.EMPTY_ARGUMENT,_(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(b.MALFORMED_ARGUMENT,_(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,_(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:v.argument,value:r,location:_(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,_(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(b.MALFORMED_ARGUMENT,_(n,this.clonePosition()))}},E.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=un(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:_(e,this.clonePosition())}},E.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(b.EXPECT_ARGUMENT_TYPE,_(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((c=this.parseSimpleArgStyleIfPossible()).err)return c;if(0===(d=pn(c.val)).length)return this.error(b.EXPECT_ARGUMENT_STYLE,_(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:_(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(r)).err?u:(f=_(r,this.clonePosition()),l&&hn(null==l?void 0:l.style,"::",0)?(m=mn(l.style.slice(2)),"number"===o?(c=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?c:{val:{type:v.number,value:n,location:f,style:c.val},err:null}:0===m.length?this.error(b.EXPECT_DATE_TIME_SKELETON,f):(h=m,this.locale&&(h=((e,t)=>{for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=(e=>{var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(Jt[t||""]||Jt[n||""]||Jt["".concat(n,"-001")]||Jt["001"])[0]})(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===i?"H":i}return n})(m,this.locale)),d={type:Ct.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},h.replace(Yt,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}},{val:{type:"date"===o?v.date:v.time,value:n,location:f,style:d},err:null})):{val:{type:"number"===o?v.number:"date"===o?v.date:v.time,value:n,location:f,style:null!=(m=null==l?void 0:l.style)?m:null},err:null});case"plural":case"selectordinal":case"select":var h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,_(h,w({},h)));this.bumpSpace();var c,d=this.parseIdentifierIfPossible(),f=0;if("select"!==o&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,_(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(c=this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return c;this.bumpSpace(),d=this.parseIdentifierIfPossible(),f=c.val}var m,l=this.tryParsePluralOrSelectOptions(e,o,t,d);return l.err?l:(u=this.tryParseArgumentClose(r)).err?u:(m=_(r,this.clonePosition()),"select"===o?{val:{type:v.select,value:n,options:dn(l.val),location:m},err:null}:{val:{type:v.plural,value:n,options:dn(l.val),offset:f,pluralType:"plural"===o?"cardinal":"ordinal",location:m},err:null});default:return this.error(b.INVALID_ARGUMENT_TYPE,_(a,s))}},E.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,_(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},E.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,_(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},E.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=(e=>{if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(Ut).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t})(e)}catch(e){return this.error(b.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ct.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Xt(n):{}},err:null}},E.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR,b.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;l=_(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(o.has(s))return this.error("select"===t?b.DUPLICATE_SELECT_ARGUMENT_SELECTOR:b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,_(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;var c=this.tryParseArgumentClose(h);if(c.err)return c;a.push([s,{value:u.val,location:_(h,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(c=this.parseIdentifierIfPossible()).value,l=c.location}return 0===a.length?this.error("select"===t?b.EXPECT_SELECT_ARGUMENT_SELECTOR:b.EXPECT_PLURAL_ARGUMENT_SELECTOR,_(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(b.MISSING_OTHER_CLAUSE,_(this.clonePosition(),this.clonePosition())):{val:a,err:null}},E.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=_(r,this.clonePosition());return i?on(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},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 e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=fn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},E.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},E.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},E.prototype.bumpIf=function(e){if(hn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},E.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},E.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},E.prototype.bumpSpace=function(){for(;!this.isEOF()&&vn(this.char());)this.bump()},E.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var yn=E;function E(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function bn(e){return 97<=e&&e<=122||65<=e&&e<=90}function vn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function wn(e,t){t=w({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new yn(e,t).parse();if(e.err)throw(n=SyntaxError(b[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Nt(e)||Ft(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else It(e)&&Ht(e.style)||(Pt(e)||At(e))&&Bt(e.style)?delete e.style.location:Rt(e)&&n(e.children)})}(e.val),e.val}function _n(e,t){var n=t&&t.cache?t.cache:Mn,r=t&&t.serializer?t.serializer:xn;return(t&&t.strategy?t.strategy:function(e,t){return Tn(e,this,1===e.length?En:Sn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function En(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function Sn(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function Tn(e,t,n,r,i){return n.bind(t,e,r,i)}var xn=function(){return JSON.stringify(arguments)};function Gn(){this.cache=Object.create(null)}Gn.prototype.get=function(e){return this.cache[e]},Gn.prototype.set=function(e,t){this.cache[e]=t};var Ln,kn,Mn={create:function(){return new Gn}},Dn={variadic:function(e,t){return Tn(e,this,Sn,t.cache.create(),t.serializer)},monadic:function(e,t){return Tn(e,this,En,t.cache.create(),t.serializer)}};(kn=Ln=Ln||{}).MISSING_VALUE="MISSING_VALUE",kn.INVALID_VALUE="INVALID_VALUE",kn.MISSING_INTL_API="MISSING_INTL_API";Mt(jn,Nn=Error),jn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var S,In,Pn,An,Nn,Fn=jn,Rn=(Mt($n,An=Fn),$n),Hn=(Mt(Un,Pn=Fn),Un),Bn=(Mt(Yn,In=Fn),Yn);function Yn(e,t){return In.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Ln.MISSING_VALUE,t)||this}function Un(e,t,n){return Pn.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Ln.INVALID_VALUE,n)||this}function $n(e,t,n,r){return An.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Ln.INVALID_VALUE,r)||this}function jn(e,t,n){e=Nn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Wn(e,t,n,r,i,a,o){if(1===e.length&&Dt(e[0]))return[{type:S.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var h=u[l];if(Dt(h))s.push({type:S.literal,value:h.value});else if(h.type===v.pound)"number"==typeof a&&s.push({type:S.literal,value:n.getNumberFormat(t).format(a)});else{var c=h.value;if(!(i&&c in i))throw new Bn(c,o);c=i[c];if(h.type===v.argument)c&&"string"!=typeof c&&"number"!=typeof c||(c="string"==typeof c||"number"==typeof c?String(c):""),s.push({type:"string"==typeof c?S.literal:S.object,value:c});else if(Pt(h)){var d="string"==typeof h.style?r.date[h.style]:Bt(h.style)?h.style.parsedOptions:void 0;s.push({type:S.literal,value:n.getDateTimeFormat(t,d).format(c)})}else if(At(h))d="string"==typeof h.style?r.time[h.style]:Bt(h.style)?h.style.parsedOptions:r.time.medium,s.push({type:S.literal,value:n.getDateTimeFormat(t,d).format(c)});else if(It(h))(d="string"==typeof h.style?r.number[h.style]:Ht(h.style)?h.style.parsedOptions:void 0)&&d.scale&&(c*=d.scale||1),s.push({type:S.literal,value:n.getNumberFormat(t,d).format(c)});else{if(Rt(h)){var f=h.children,m=h.value,p=i[m];if("function"!=typeof p)throw new Hn(m,"function",o);m=p(Wn(f,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?S.literal:S.object,value:e}}))}if(Nt(h)){if(!(g=h.options[c]||h.options.other))throw new Rn(h.value,c,Object.keys(h.options),o);s.push.apply(s,Wn(g.value,t,n,r,i))}else if(Ft(h)){if(!(g=h.options["=".concat(c)])){if(!Intl.PluralRules)throw new Fn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ln.MISSING_INTL_API,o);var p=n.getPluralRules(t,{type:h.pluralType}).select(c-(h.offset||0)),g=h.options[p]||h.options.other}if(!g)throw new Rn(h.value,c,Object.keys(h.options),o);s.push.apply(s,Wn(g.value,t,n,r,i,c-(h.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===S.literal&&t.type===S.literal?n.value+=t.value:e.push(t),e},[])}function Vn(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(r=S=S||{})[r.literal=0]="literal",r[r.object=1]="object";Object.defineProperty(T,"defaultLocale",{get:function(){return T.memoizedDefaultLocale||(T.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),T.memoizedDefaultLocale},enumerable:!1,configurable:!0}),T.memoizedDefaultLocale=null,T.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},T.__parse=wn,T.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"}}};var zn=T;function T(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=T.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===S.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return Wn(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=T.resolveLocale(t),"string"==typeof e){if(this.message=e,!T.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=T.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=T.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?w(w(w({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=w(w({},n[t]),r[t]||{}),e},{})):n),e},w({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:_n(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Ot([void 0],t,!1)))},{cache:Vn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Dn.variadic}),getDateTimeFormat:_n(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Ot([void 0],t,!1)))},{cache:Vn(t.dateTime),strategy:Dn.variadic}),getPluralRules:_n(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Ot([void 0],t,!1)))},{cache:Vn(t.pluralRules),strategy:Dn.variadic})}}let x={},Zn=(e,t,n)=>n&&(t in x||(x[t]={}),e in x[t]||(x[t][e]=n),n),Kn=(t,n)=>{if(null!=n){if(n in x&&t in x[n])return x[n][t];var r=pr(n);for(let e=0;e<r.length;e++){var i=((e,t)=>{if(!qn(e))return null;e=(e=>Xn[e]||null)(e);var r=t;if(null!=r){if(r in e)return e[r];var i=r.split(".");let n=e;for(let t=0;t<i.length;t++)if("object"==typeof n){if(0<t){let e=i.slice(t,i.length).join(".");if(e in n){n=n[e];break}}n=n[i[t]]}else n=void 0;return n}})(r[e],t);if(i)return Zn(t,n,i)}}},Xn,Jn=yt({});function qn(e){return e in Xn}function Qn(t,...n){delete x[t],Jn.update(e=>(e[t]=Lt.all([e[t]||{},...n]),e))}bt([Jn],([e])=>Object.keys(e)),Jn.subscribe(e=>Xn=e);let er={};function tr(e){return er[e]}function nr(e){return null!=e&&pr(e).some(e=>null==(e=tr(e))?void 0:e.size)}function rr(r,e){return Promise.all(e.map(e=>{return t=r,n=e,er[t].delete(n),0===er[t].size&&delete er[t],e().then(e=>e.default||e);var t,n})).then(e=>Qn(r,...e))}let ir={};let ar={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};let or=yt(!1);var sr=Object.defineProperty,en=Object.defineProperties,tn=Object.getOwnPropertyDescriptors,lr=Object.getOwnPropertySymbols,ur=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable,cr=(e,t,n)=>t in e?sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let dr,fr=yt(null);function mr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function pr(e,t=ar.fallbackLocale){e=mr(e);return t?[...new Set([...e,...mr(t)])]:e}function G(){return null!=dr?dr:void 0}fr.subscribe(e=>{dr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let gr=en(((e,t)=>{for(var n in t=t||{})ur.call(t,n)&&cr(e,n,t[n]);if(lr)for(var n of lr(t))hr.call(t,n)&&cr(e,n,t[n]);return e})({},fr),tn({set:t=>{if(t&&(e=>{if(null!=e){var t=pr(e);for(let e=0;e<t.length;e++){var n=t[e];if(qn(n))return n}}})(t)&&nr(t)){var n=ar.loadingDelay;let e;return"undefined"!=typeof window&&null!=G()&&n?e=window.setTimeout(()=>or.set(!0),n):or.set(!0),function e(t){var n;return nr(t)?(n=pr(t).map(e=>{var t=tr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),ir[t]=Promise.all(n.map(([e,t])=>rr(e,t))).then(()=>{if(nr(t))return e(t);delete ir[t]}),ir[t]):t in ir?ir[t]:Promise.resolve()}(t).then(()=>{fr.set(t)}).finally(()=>{clearTimeout(e),or.set(!1)})}return fr.set(t)}}));var nn=n=>{let r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},yr=Object.defineProperty,br=Object.getOwnPropertySymbols,vr=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable,_r=(e,t,n)=>t in e?yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Er=(e,t)=>{for(var n in t=t||{})vr.call(t,n)&&_r(e,n,t[n]);if(br)for(var n of br(t))wr.call(t,n)&&_r(e,n,t[n]);return e},Sr=(e,t)=>{var n={};for(r in e)vr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&br)for(var r of br(e))t.indexOf(r)<0&&wr.call(e,r)&&(n[r]=e[r]);return n};let Tr=(e,t)=>{var n=ar.formats;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},xr=nn(e=>{var{locale:t,format:n}=e,e=Sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Tr("number",n)),new Intl.NumberFormat(t,e)}),Gr=nn(e=>{var{locale:t,format:n}=e,e=Sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Tr("date",n):0===Object.keys(e).length&&(e=Tr("date","short")),new Intl.DateTimeFormat(t,e)}),Lr=nn(e=>{var{locale:t,format:n}=e,e=Sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Tr("time",n):0===Object.keys(e).length&&(e=Tr("time","short")),new Intl.DateTimeFormat(t,e)}),kr=nn((e,t=G())=>new zn(e,t,ar.formats,{ignoreTag:ar.ignoreTag})),Mr=bt([gr,Jn],()=>(e,t={})=>{let n,r,i,a,o=t;"object"==typeof e&&(e=(o=e).id);var{values:s,locale:l=G(),default:u}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Kn(e,l);if(h){if("string"!=typeof h)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}else h=null!=(a=null!=(i=null==(r=(n=ar).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))?i:u)?a:e;if(!s)return h;let c=h;try{c=kr(h,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Ge=(bt([gr],()=>(e,t)=>((e={})=>{var{locale:t=G()}=e,e=Sr(e,["locale"]);return Lr(Er({locale:t},e))})(t).format(e)),bt([gr],()=>(e,t)=>((e={})=>{var{locale:t=G()}=e,e=Sr(e,["locale"]);return Gr(Er({locale:t},e))})(t).format(e)),bt([gr],()=>(e,t)=>((e={})=>{var{locale:t=G()}=e,e=Sr(e,["locale"]);return xr(Er({locale:t},e))})(t).format(e)),bt([gr,Jn],()=>(e,t=G())=>Kn(e,t)),window.emWidgets={topic:(e,t=0)=>(-1==mt.indexOf(e)&&(t=new ct(t),pt[e]=t,mt.push(e)),pt[e])},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)));function Cr(e,t){Qn(e,t)}let Or={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"}},Dr={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 Ir(e,t,n){e=e.slice();return e[104]=t[n],e[106]=n,e}function Pr(e,t,n){e=e.slice();return e[101]=t[n],e}function Ar(n){let r,i,a,o,s=n[35]("playNow")+"";return{c(){r=U("button"),i=t(s),j(r,"class","GameInfoBtn")},m(e,t){B(e,r,t),H(r,i),a||(o=A(r,"click",n[63]),a=!0)},p(e,t){16&t[1]&&s!==(s=e[35]("playNow")+"")&&W(i,s)},d(e){e&&Y(r),a=!1,o()}}}function Nr(e){let n,r,i=e[35]("new")+"";return{c(){n=U("span"),r=t(i),j(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){B(e,n,t),H(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("new")+"")&&W(r,i)},d(e){e&&Y(n)}}}function Fr(e){let n,r;return{c(){n=U("span"),r=t(e[8]),j(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){B(e,n,t),H(n,r)},p(e,t){256&t[0]&&W(r,e[8])},d(e){e&&Y(n)}}}function Rr(e){let n,r,i=!e[22]&&e[20]&&e[21]&&Hr(e);function a(e){return e[22]&&e[19]===ei?Yr:e[22]&&e[19]&&e[19]===ti?Br:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=$(),s&&s.c(),r=P()},m(e,t){i&&i.m(e,t),B(e,n,t),s&&s.m(e,t),B(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=Hr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&Y(n),s&&s.d(e),e&&Y(r)}}}function Hr(e){let n,r,i,a,o,s,l,u,h,c,d=e[35]("opens")+"",f=ie.utc(e[20]).local().format(e[21])+"",m=e[41](e[34])+"",p=e[40](e[26],e[27],e[25])+"";return{c(){n=U("div"),r=U("div"),i=t(d),a=$(),o=U("span"),s=t(f),l=$(),u=new g(!1),h=$(),c=new g(!1),j(r,"class","ClosedGame"),u.a=h,c.a=null,j(n,"class","GameProp LiveProps")},m(e,t){B(e,n,t),H(n,r),H(r,i),H(r,a),H(r,o),H(o,s),H(n,l),u.m(m,n),H(n,h),c.m(p,n)},p(e,t){16&t[1]&&d!==(d=e[35]("opens")+"")&&W(i,d),3145728&t[0]&&f!==(f=ie.utc(e[20]).local().format(e[21])+"")&&W(s,f),8&t[1]&&m!==(m=e[41](e[34])+"")&&u.p(m),234881024&t[0]&&p!==(p=e[40](e[26],e[27],e[25])+"")&&c.p(p)},d(e){e&&Y(n)}}}function Br(n){let i,a,r,o,s,l,u=n[41](n[34])+"",h=n[40](n[26],n[27],n[25])+"",c=new Array(ri),d=[];for(let e=0;e<c.length;e+=1)d[e]=Wr(Ir(n,c,e));return{c(){i=U("div"),a=U("div");for(let e=0;e<d.length;e+=1)d[e].c();r=$(),o=new g(!1),s=$(),l=new g(!1),j(a,"class","LiveIcons"),o.a=s,l.a=null,j(i,"class",n[30])},m(e,t){B(e,i,t),H(i,a);for(let e=0;e<d.length;e+=1)d[e]&&d[e].m(a,null);n[64](a),H(i,r),o.m(u,i),H(i,s),l.m(h,i)},p(n,r){if(536887296&r[0]|2049&r[1]){let t;for(c=new Array(ri),t=0;t<c.length;t+=1){let e=Ir(n,c,t);d[t]?d[t].p(e,r):(d[t]=Wr(e),d[t].c(),d[t].m(a,null))}for(;t<d.length;t+=1)d[t].d(1);d.length=c.length}8&r[1]&&u!==(u=n[41](n[34])+"")&&o.p(u),234881024&r[0]&&h!==(h=n[40](n[26],n[27],n[25])+"")&&l.p(h),1073741824&r[0]&&j(i,"class",n[30])},d(e){e&&Y(i),D(d,e),n[64](null)}}}function Yr(e){let n,r,i,a,o,s,l=e[41](e[34])+"",u=e[40](e[26],e[27],e[25])+"";function h(e){return e[32]?zr:Vr}let c=h(e),d=c(e);return{c(){n=U("div"),r=U("div"),d.c(),i=$(),a=new g(!1),o=$(),s=new g(!1),j(r,"class","LiveIcons"),a.a=o,s.a=null,j(n,"class","GameProp LiveProps BlackjackDisplay"),j(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){B(e,n,t),H(n,r),d.m(r,null),H(n,i),a.m(l,n),H(n,o),s.m(u,n)},p(e,t){c===(c=h(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(r,null))),8&t[1]&&l!==(l=e[41](e[34])+"")&&a.p(l),234881024&t[0]&&u!==(u=e[40](e[26],e[27],e[25])+"")&&s.p(u)},d(e){e&&Y(n),d.d()}}}function Ur(e){let n;function r(e){return e[29]?jr:$r}let i=r(e),a=i(e);return{c(){a.c(),n=P()},m(e,t){a.m(e,t),B(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Y(n)}}}function $r(e){let n,r,i=e[42]("LatestResult "+(0===e[106]?"First":""),e[106],e[14][e[106]],e[31][e[14][e[106]]])+"";return{c(){n=new g(!1),r=P(),n.a=r},m(e,t){n.m(i,e,t),B(e,r,t)},p(e,t){16384&t[0]|1&t[1]&&i!==(i=e[42]("LatestResult "+(0===e[106]?"First":""),e[106],e[14][e[106]],e[31][e[14][e[106]]])+"")&&n.p(i)},d(e){e&&Y(r),e&&n.d()}}}function jr(e){let n,r,i,a,o,s=e[42]("LatestResult "+(0===e[106]?"First":""),"first"+e[106]+e[14][e[106]][0],e[14][e[106]][0],e[31][e[14][e[106]][0]])+"",l=e[42]("LatestResult "+(0===e[106]?"First":""),"second"+e[106]+e[14][e[106]][1],e[14][e[106]][1],e[31][e[14][e[106]][1]])+"";return{c(){n=U("div"),r=new g(!1),i=$(),a=new g(!1),o=$(),r.a=i,a.a=o,j(n,"class","Double")},m(e,t){B(e,n,t),r.m(s,n),H(n,i),a.m(l,n),H(n,o)},p(e,t){16384&t[0]|1&t[1]&&s!==(s=e[42]("LatestResult "+(0===e[106]?"First":""),"first"+e[106]+e[14][e[106]][0],e[14][e[106]][0],e[31][e[14][e[106]][0]])+"")&&r.p(s),16384&t[0]|1&t[1]&&l!==(l=e[42]("LatestResult "+(0===e[106]?"First":""),"second"+e[106]+e[14][e[106]][1],e[14][e[106]][1],e[31][e[14][e[106]][1]])+"")&&a.p(l)},d(e){e&&Y(n)}}}function Wr(e){let n,r=e[14]&&e[14][e[106]]&&Ur(e);return{c(){r&&r.c(),n=P()},m(e,t){r&&r.m(e,t),B(e,n,t)},p(e,t){e[14]&&e[14][e[106]]?r?r.p(e,t):((r=Ur(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Y(n)}}}function Vr(t){let i,a=t[24],o=[];for(let e=0;e<a.length;e+=1)o[e]=Zr(Pr(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=P()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);B(t,i,n)},p(t,n){if(285212672&n[0]|256&n[1]){let e;for(a=t[24],e=0;e<a.length;e+=1){var r=Pr(t,a,e);o[e]?o[e].p(r,n):(o[e]=Zr(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){D(o,e),e&&Y(i)}}}function zr(e){let n,r,i=e[35]("full")+"";return{c(){n=U("span"),r=t(i),j(n,"class","FullTable")},m(e,t){B(e,n,t),H(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("full")+"")&&W(r,i)},d(e){e&&Y(n)}}}function Zr(e){let n,r,i,a,o,s;return{c(){n=U("span"),r=I("svg"),i=I("path"),a=I("path"),o=$(),j(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),j(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),j(r,"xmlns","http://www.w3.org/2000/svg"),j(r,"width","13"),j(r,"height","14"),j(r,"viewBox","0 0 13 14"),j(n,"class",s=e[39](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){B(e,n,t),H(n,r),H(r,i),H(r,a),H(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[39](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")&&j(n,"class",s)},d(e){e&&Y(n)}}}function Kr(e){let n;return{c(){(n=U("div")).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(--emfe-w-color-white, #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>',j(n,"class","FavIconContainer")},m(e,t){B(e,n,t)},p:R,d(e){e&&Y(n)}}}function Xr(n){let r,i,a;return{c(){(r=U("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',j(r,"class","FavIconContainer")},m(e,t){B(e,r,t),i||(a=A(r,"click",n[66]),i=!0)},p:R,d(e){e&&Y(r),i=!1,a()}}}function Jr(n){let r,i,a;return{c(){(r=U("div")).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(--emfe-w-color-white, #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>',j(r,"class","FavIconContainer")},m(e,t){B(e,r,t),i||(a=A(r,"click",n[65]),i=!0)},p:R,d(e){e&&Y(r),i=!1,a()}}}function qr(e){let n,r;return{c(){n=U("p"),r=t(e[4]),j(n,"class","GameNameBelow"),j(n,"title",e[4])},m(e,t){B(e,n,t),H(n,r)},p(e,t){16&t[0]&&W(r,e[4]),16&t[0]&&j(n,"title",e[4])},d(e){e&&Y(n)}}}function Qr(n){let r,i,a,o,s,l,u,h,c,d,f,m,p,g,y,b,v,w,_,E,S,T,x,G,L,k,M=(n[5]||"-")+"",C=n[1]&&Ar(n),O=n[7]&&Nr(n),D=n[8]&&Fr(n),I=n[13]&&Rr(n);function P(e,t){return 65541&t[0]&&(S=null),65537&t[0]&&(T=null),65541&t[0]&&(x=null),(S=null==S?!(Ge(e[36])||!e[0]||!e[16]||!e[2]):S)?Jr:(T=null==T?!(Ge(e[36])||e[0]||!e[16]):T)?Xr:(x=null==x?!!(Ge(e[36])&&e[0]&&e[16]&&e[2]):x)?Kr:void 0}let A=P(n,[-1,-1,-1,-1]),N=A&&A(n),F="true"===n[10]&&qr(n);return{c(){r=U("div"),i=U("div"),a=U("img"),l=$(),u=U("div"),h=U("div"),c=U("p"),d=t(n[4]),f=$(),C&&C.c(),m=$(),p=U("span"),g=t(M),y=$(),b=U("div"),v=U("div"),O&&O.c(),w=$(),D&&D.c(),_=$(),I&&I.c(),E=$(),N&&N.c(),L=$(),F&&F.c(),this.c=R,V(a.src,o=n[3])||j(a,"src",o),j(a,"class",s=`GameBg GameBg-${n[9]} `+(n[17]?"Loaded":"")),j(a,"alt",""),j(a,"loading","lazy"),j(c,"class","GameInfoName"),j(c,"title",n[4]),j(h,"class","GameInfo"),j(p,"class","GameInfoVendor"),j(u,"class","GameInfoWrapper"),j(v,"class","GameExtraInfo"),j(b,"class","GameExtraInfoContainer"),j(i,"class",G="GameInnerContainer "+(n[13]&&!n[22]&&n[23].value||n[13]&&n[32]?"GameInnerContainerUnavailable":"")),j(r,"class",k=`GameContainer ${n[33]} `+("true"==n[11]?"CasinoGamesGridSlider":"")),z(r,"WithGameName",n[10])},m(e,t){B(e,r,t),H(r,i),H(i,a),n[62](a),H(i,l),H(i,u),H(u,h),H(h,c),H(c,d),H(h,f),C&&C.m(h,null),H(u,m),H(u,p),H(p,g),H(i,y),H(i,b),H(b,v),O&&O.m(v,null),H(v,w),D&&D.m(v,null),H(v,_),I&&I.m(v,null),H(b,E),N&&N.m(b,null),H(r,L),F&&F.m(r,null),n[67](r)},p(e,t){8&t[0]&&!V(a.src,o=e[3])&&j(a,"src",o),131584&t[0]&&s!==(s=`GameBg GameBg-${e[9]} `+(e[17]?"Loaded":""))&&j(a,"class",s),16&t[0]&&W(d,e[4]),16&t[0]&&j(c,"title",e[4]),e[1]?C?C.p(e,t):((C=Ar(e)).c(),C.m(h,null)):C&&(C.d(1),C=null),32&t[0]&&M!==(M=(e[5]||"-")+"")&&W(g,M),e[7]?O?O.p(e,t):((O=Nr(e)).c(),O.m(v,w)):O&&(O.d(1),O=null),e[8]?D?D.p(e,t):((D=Fr(e)).c(),D.m(v,_)):D&&(D.d(1),D=null),e[13]?I?I.p(e,t):((I=Rr(e)).c(),I.m(v,null)):I&&(I.d(1),I=null),A===(A=P(e,t))&&N?N.p(e,t):(N&&N.d(1),(N=A&&A(e))&&(N.c(),N.m(b,null))),12591104&t[0]|2&t[1]&&G!==(G="GameInnerContainer "+(e[13]&&!e[22]&&e[23].value||e[13]&&e[32]?"GameInnerContainerUnavailable":""))&&j(i,"class",G),"true"===e[10]?F?F.p(e,t):((F=qr(e)).c(),F.m(r,null)):F&&(F.d(1),F=null),2048&t[0]|4&t[1]&&k!==(k=`GameContainer ${e[33]} `+("true"==e[11]?"CasinoGamesGridSlider":""))&&j(r,"class",k),3072&t[0]|4&t[1]&&z(r,"WithGameName",e[10])},i:R,o:R,d(e){e&&Y(r),n[62](null),C&&C.d(),O&&O.d(),D&&D.d(),I&&I.d(),N&&N.d(),F&&F.d(),n[67](null)}}}let ei="blackjack",ti="roulette",ni="doubleballroulette",ri=5;function ii(r,e,o){let N,F;F=Mr,r.$$.on_destroy.push(ke(F,e=>o(35,N=e)));let R,i,a,s,t,H,B,l,u,Y,U,$,h,j,W,V,c,z,Z,K,d,X,f,J,q,{session:Q=""}=e,{userid:m=""}=e,{lang:p="en"}=e,{clientstyling:g=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{favorites:ee=""}=e,{gamethumbnail:te=""}=e,{gamename:ne=""}=e,{gamevendor:n=""}=e,{gamelaunchurl:v=""}=e,{gameid:w=""}=e,{gameisnew:re=""}=e,{gametag:ie=""}=e,{gamefunmode:_=!1}=e,{gamefavorite:E=!1}=e,{gamecellsize:ae=""}=e,{showfavoredcategory:S=!1}=e,{showgamename:oe=""}=e,{currency:T=""}=e,{gamepagemodalurl:x="false"}=e,{endpoint:G=""}=e,{categoryid:L=""}=e,{livelobbyendpoint:k=""}=e,{connectlive:M=""}=e,{visibilityconnect:C=""}=e,{integratedgameframedesktop:O="false"}=e,{integratedgameframemobile:D="false"}=e,{casinogamesgridslider:se="false"}=e,le=!1,ue=!1,I=window.navigator.userAgent,he="HH:mm",ce,de=[],fe="EUR",P="",me=[ei],pe=[ti,ni],ge={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ye={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"},be=(Object.keys(Or).forEach(e=>{Cr(e,Or[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+w||S||o(0,E=!0),e.data.type!=="RemoveFavoriteThumbnail_"+w||S||o(0,E=!1),"UserSessionID"===e.data.type&&(o(16,le=!0),e.data.session,R=e.data.userID),"CategoryUpdate"===e.data.type&&o(13,s=null)}),ve=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(R||"Not logged in")}),Ge(I)&&"true"==D?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:_,gamepagemodalurl:x,isMobile:Ge(I),source:"GameThumbnail",identifier:"Lobby",subVendor:n,launchUrl:v},window.location.href):Ge(I)&&"false"==D&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ge(I)},window.location.href),Ge(I)||"true"!=O?Ge(I)||"false"!=O||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ge(I)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:_,gamepagemodalurl:x,isMobile:Ge(I),identifier:"Lobby",subVendor:n,launchUrl:v},window.location.href)},we=e=>{E?window.postMessage({type:"SetUnfavoredGame"+L,id:e},window.location.href):window.postMessage({type:"SetFavoredGame"+L,id:e},window.location.href)},_e=()=>{k&&EventSource&&!t&&n&&w&&(t=new EventSource(`${G}/v1/encoder/lobby/updates/${n}/`+w)).addEventListener("message",Se)},Ee=()=>{t&&(t.close(),t=void 0)},Se=async e=>{let{type:t,data:n}=e,a;if("message"===t){if(n)try{a=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(a){let{InternalTableId:e,MessageType:t,Results:n,Seats:r,Open:i}=a;if(e)switch(t){case"SeatsUpdated":r&&Array.isArray(r)&&(o(28,h=r),o(13,s.currentOccupiedSeats=r,s),await Ce());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,o(13,s.currentRouletteNumbers=n,s),await Ce());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(W=n,o(13,s.currentDoubleBallRouletteNumbers=n,s),await Ce());break;case"TableOpened":case"TableClosed":o(22,l=i),o(13,s.isOpen=i,s),await Ce()}}}},Te=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",A=(e,t)=>e.some(e=>e===t),xe=()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})};return e=()=>(window.addEventListener("message",be,!1),()=>{window.removeEventListener("message",be),t&&t.removeEventListener("message",Se)}),(()=>{if(Le)return Le;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e),r.$$set=e=>{"session"in e&&o(43,Q=e.session),"userid"in e&&o(44,m=e.userid),"lang"in e&&o(1,p=e.lang),"clientstyling"in e&&o(45,g=e.clientstyling),"clientstylingurl"in e&&o(46,y=e.clientstylingurl),"translationurl"in e&&o(47,b=e.translationurl),"favorites"in e&&o(2,ee=e.favorites),"gamethumbnail"in e&&o(3,te=e.gamethumbnail),"gamename"in e&&o(4,ne=e.gamename),"gamevendor"in e&&o(5,n=e.gamevendor),"gamelaunchurl"in e&&o(48,v=e.gamelaunchurl),"gameid"in e&&o(6,w=e.gameid),"gameisnew"in e&&o(7,re=e.gameisnew),"gametag"in e&&o(8,ie=e.gametag),"gamefunmode"in e&&o(49,_=e.gamefunmode),"gamefavorite"in e&&o(0,E=e.gamefavorite),"gamecellsize"in e&&o(9,ae=e.gamecellsize),"showfavoredcategory"in e&&o(50,S=e.showfavoredcategory),"showgamename"in e&&o(10,oe=e.showgamename),"currency"in e&&o(51,T=e.currency),"gamepagemodalurl"in e&&o(52,x=e.gamepagemodalurl),"endpoint"in e&&o(53,G=e.endpoint),"categoryid"in e&&o(54,L=e.categoryid),"livelobbyendpoint"in e&&o(55,k=e.livelobbyendpoint),"connectlive"in e&&o(56,M=e.connectlive),"visibilityconnect"in e&&o(57,C=e.visibilityconnect),"integratedgameframedesktop"in e&&o(58,O=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(59,D=e.integratedgameframemobile),"casinogamesgridslider"in e&&o(11,se=e.casinogamesgridslider)},r.$$.update=()=>{if(33554432&r.$$.dirty[1]&&M&&("disconnect"===M?Ee():"connect"===M&&_e()),67108864&r.$$.dirty[1]&&C&&("disconnect"===C?Ee():"connect"===C&&"connect"===M&&_e()),2&r.$$.dirty[0]&&p&&(n=p,gr.set(n)),4206592&r.$$.dirty[1]&&Q&&m&&G&&(o(16,le=!0),R=m),8&r.$$.dirty[0]&&te&&i&&o(18,i.onload=()=>{o(17,ue=!0)},i),4096&r.$$.dirty[0]|16384&r.$$.dirty[1]&&g&&a&&((n=document.createElement("style")).innerHTML=g,a.appendChild(n)),4096&r.$$.dirty[0]|32768&r.$$.dirty[1]&&y&&a&&xe(),r.$$.dirty[0],65536&r.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Cr(e,t[e])})}).catch(e=>{console.log(e)}),512&r.$$.dirty[0]|32768&r.$$.dirty[1]&&ae&&y&&xe(),20971520&r.$$.dirty[1]&&G&&k&&((t=new URL(""+k.split("?")[0])).searchParams.append("platform",(e=I).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),t.searchParams.append("language",p),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(13,s=e)})),8192&r.$$.dirty[0]&&s&&(o(22,l=s.isOpen),ce=s.betLimit||{},o(23,u=s.openHours),o(24,de=(e=>{$=e.totalSeats||7,o(28,h=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=$;e++)t.push(e);return{seats:t}})(s).seats),u&&u.value&&({startTime:e,originalTimeFormat:t}=u.value,o(20,B=e),o(21,he=t||he)),l&&o(19,H=(e=>{let t=null;if(e){var n=e.vendorCategory;if(n){let e=n.toLowerCase();A(me,e)?t=ei:A(pe,e)&&(t=ti)}}return t})(s)),o(25,fe=Dr[T]),o(26,Y=(ce.min||{})[T]),o(27,U=(ce.max||{})[T]),j=s.currentRouletteNumbers,W=s.currentDoubleBallRouletteNumbers,V=s.vendorCategory,o(29,c=V.toLowerCase()===ni),o(14,z=(c?W:j)||[]),o(30,Z="GameProp LiveProps RoulleteProps"),o(30,Z+=c?" Double":""),o(31,K=A(pe,V.toLowerCase())?ye:ge),X=d,o(32,d=Array.isArray(h)&&h.length===$),s.dealer&&o(34,J=s.dealer.DealerName),q=s.numberOfPlayers,o(33,P="ListGame"),s.isOpen&&s.currentRouletteNumbers&&o(33,P+=" GameBackdrop"),l&&d&&Y&&U&&s.currentOccupiedSeats?o(33,P+=" GameContainerDimmed"):!1===l&&B&&o(33,P+=" GameContainerFullyDimmed"),a)&&(!X&&d?(o(33,P+=" PulsatingRedShadow"),o(33,P=P.replace(" PulsatingGreenShadow",""))):X&&!d&&(o(33,P+=" PulsatingGreenShadow"),o(33,P=P.replace(" PulsatingRedShadow","")))),49152&r.$$.dirty[0]&&f&&z){let e="FirstElementAnimated",t=f.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))}var e,t,n},[E,p,ee,te,ne,n,w,re,ie,ae,oe,se,a,s,z,f,le,ue,i,H,B,he,l,u,de,fe,Y,U,h,c,Z,K,d,P,J,N,I,ve,we,A,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
2
- <span>
3
- ${n}
4
- </span>
5
- ${Te(e)}-`+Te(t)),(r=q?`
6
- <svg fill="var(--emfe-w-color-white, #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>
7
- <span class="NrOfPlayers">${q}</span>`:r)||i?`
8
- <p class="LiveLimits">
9
- <span class="BetLimitLeft">
10
- ${i||""}
11
- </span>
12
- <span class="BetLimitRight">
13
- ${r||""}
14
- </span>
15
- </p>`:""},e=>e?`
16
- <p class="LiveLimits">
17
- <span class="DealerName">${N("dealer")}: ${e}</span>
18
- </p>
19
- `:"",(e,t,n,r="")=>{e=e+" "+r,r=t.toString().match(/first0|second0|0/g);return 0===t||r&&0!==r.length?`
20
- <span
21
- id=${t}
22
- class="${e}"
23
- >
24
- ${n}
25
- </span>
26
- `:`
27
- <span id=${t} class="${e}">
28
- ${n}
29
- </span>
30
- `},Q,m,g,y,b,v,_,S,T,x,G,L,k,M,C,O,D,ge,ye,function(e){Me[e?"unshift":"push"](()=>{i=e,o(18,i)})},()=>ve(w),function(e){Me[e?"unshift":"push"](()=>{f=e,o(15,f)})},()=>we(w),()=>we(w),function(e){Me[e?"unshift":"push"](()=>{a=e,o(12,a)})}]}class ai extends ee{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{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)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.GameInnerContainer:hover .GameExtraInfo{opacity:0.3}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.UnfavoredIcon{display:none}.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.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:0px;right:0;width:100%;padding:0;background:linear-gradient(to top, var(--emfe-w-color-black, #000000), var(--emfe-w-color-black, #000000), transparent);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.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 #fff;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{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t);{var a=this,n=(t={target:this.shadowRoot,props:(e=>{var t,n={};for(t of e)n[t.name]=t.value;return n})(this.attributes),customElement:!0},ii),o=Qr,s=C,l={session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},u=null,h=[-1,-1,-1,-1],c=Le;N(a);let r=a.$$={fragment:null,ctx:[],props:l,update:R,not_equal:s,bound:k(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:k(),dirty:h,skip_bound:!1,root:t.target||c.$$.root},i=(u&&u(r.root),!1);if(r.ctx=n?n(a,t.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return r.ctx&&s(r.ctx[e],r.ctx[e]=n)&&(!r.skip_bound&&r.bound[e]&&r.bound[e](n),i)&&(n=e,-1===(e=a).$$.dirty[0]&&(m.push(e),X(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],r.update(),i=!0,f(r.before_update),r.fragment=!!o&&o(r.ctx),t.target){if(t.hydrate){l=t.target;let e=Array.from(l.childNodes);r.fragment&&r.fragment.l(e),e.forEach(Y)}else r.fragment&&r.fragment.c();t.intro&&(h=a.$$.fragment)&&h.i&&(Q.delete(h),h.i(void 0));var d=a,u=t.customElement,{fragment:n,after_update:o}=d.$$;n&&n.m(t.target,t.anchor),u||J(()=>{var e=d.$$.on_mount.map(L).filter(M);d.$$.on_destroy?d.$$.on_destroy.push(...e):f(e),d.$$.on_mount=[]}),o.forEach(J),p()}N(c)}e&&(e.target&&B(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),p()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),p()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),p()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),p()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),p()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),p()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),p()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),p()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),p()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),p()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),p()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),p()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),p()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),p()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),p()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),p()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),p()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),p()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),p()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),p()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),p()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),p()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),p()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),p()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),p()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),p()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}}return customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",ai),ai});
31
- //# sourceMappingURL=casino-game-thumbnail.js.map