@everymatrix/casino-game-thumbnail-nd 1.99.48 → 1.99.50

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,4 +1,4 @@
1
- "use strict";var sa=Object.defineProperty,la=Object.defineProperties;var ua=Object.getOwnPropertyDescriptors;var en=Object.getOwnPropertySymbols;var fa=Object.prototype.hasOwnProperty,ca=Object.prototype.propertyIsEnumerable;var fr=(e,t,r)=>t in e?sa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tn=(e,t)=>{for(var r in t||(t={}))fa.call(t,r)&&fr(e,r,t[r]);if(en)for(var r of en(t))ca.call(t,r)&&fr(e,r,t[r]);return e},rn=(e,t)=>la(e,ua(t));var $=(e,t,r)=>(fr(e,typeof t!="symbol"?t+"":t,r),r);var Ct=(e,t,r)=>new Promise((n,i)=>{var a=l=>{try{s(r.next(l))}catch(u){i(u)}},o=l=>{try{s(r.throw(l))}catch(u){i(u)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,o);s((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-image-BX-FBhad.cjs");function te(){}function Jn(e){return e()}function nn(){return Object.create(null)}function mt(e){e.forEach(Jn)}function Fr(e){return typeof e=="function"}function Kn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let St;function an(e,t){return e===t?!0:(St||(St=document.createElement("a")),St.href=t,e===St.href)}function ha(e){return Object.keys(e).length===0}function ei(e,...t){if(e==null){for(const n of t)n(void 0);return te}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function ma(e,t,r){e.$$.on_destroy.push(ei(t,r))}function w(e,t){e.appendChild(t)}function da(e,t,r){const n=pa(e);if(!n.getElementById(t)){const i=C("style");i.id=t,i.textContent=r,ga(n,i)}}function pa(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ga(e,t){return w(e.head||e,t),t.sheet}function B(e,t,r){e.insertBefore(t,r||null)}function I(e){e.parentNode&&e.parentNode.removeChild(e)}function ti(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function C(e){return document.createElement(e)}function oe(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function q(e){return document.createTextNode(e)}function Y(){return q(" ")}function dt(){return q("")}function kr(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function p(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Ae(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:p(e,t,r)}function ba(e){return Array.from(e.childNodes)}function re(e,t){t=""+t,e.data!==t&&(e.data=t)}function on(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function sn(e,t,r){e.classList.toggle(t,!!r)}class ut{constructor(t=!1){$(this,"is_svg",!1);$(this,"e");$(this,"n");$(this,"t");$(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,r,n=null){this.e||(this.is_svg?this.e=oe(r.nodeName):this.e=C(r.nodeType===11?"TEMPLATE":r.nodeName),this.t=r.tagName!=="TEMPLATE"?r:r.content,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let r=0;r<this.n.length;r+=1)B(this.t,this.n[r],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(I)}}function va(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ft;function st(e){ft=e}function ya(){if(!ft)throw new Error("Function called outside component initialization");return ft}function wa(e){ya().$$.on_mount.push(e)}const Re=[],lt=[];let ke=[];const ln=[],ri=Promise.resolve();let _r=!1;function ni(){_r||(_r=!0,ri.then(S))}function nt(){return ni(),ri}function xr(e){ke.push(e)}const cr=new Set;let Me=0;function S(){if(Me!==0)return;const e=ft;do{try{for(;Me<Re.length;){const t=Re[Me];Me++,st(t),_a(t.$$)}}catch(t){throw Re.length=0,Me=0,t}for(st(null),Re.length=0,Me=0;lt.length;)lt.pop()();for(let t=0;t<ke.length;t+=1){const r=ke[t];cr.has(r)||(cr.add(r),r())}ke.length=0}while(Re.length);for(;ln.length;)ln.pop()();_r=!1,cr.clear(),st(e)}function _a(e){if(e.fragment!==null){e.update(),mt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(xr)}}function xa(e){const t=[],r=[];ke.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),ke=t}const Ea=new Set;function Ta(e,t){e&&e.i&&(Ea.delete(e),e.i(t))}function At(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ca(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),xr(()=>{const a=e.$$.on_mount.map(Jn).filter(Fr);e.$$.on_destroy?e.$$.on_destroy.push(...a):mt(a),e.$$.on_mount=[]}),i.forEach(xr)}function Sa(e,t){const r=e.$$;r.fragment!==null&&(xa(r.after_update),mt(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Ga(e,t){e.$$.dirty[0]===-1&&(Re.push(e),ni(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Oa(e,t,r,n,i,a,o=null,s=[-1]){const l=ft;st(e);const u=e.$$={fragment:null,ctx:[],props:a,update:te,not_equal:i,bound:nn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:nn(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};o&&o(u.root);let c=!1;if(u.ctx=r?r(e,t.props||{},(h,m,...d)=>{const g=d.length?d[0]:m;return u.ctx&&i(u.ctx[h],u.ctx[h]=g)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](g),c&&Ga(e,h)),m}):[],u.update(),c=!0,mt(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const h=ba(t.target);u.fragment&&u.fragment.l(h),h.forEach(I)}else u.fragment&&u.fragment.c();t.intro&&Ta(e.$$.fragment),Ca(e,t.target,t.anchor),S()}st(l)}let ii;typeof HTMLElement=="function"&&(ii=class extends HTMLElement{constructor(t,r,n){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Ct(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let o;return{c:function(){o=C("slot"),a!=="default"&&p(o,"name",a)},m:function(u,c){B(u,o,c)},d:function(u){u&&I(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=va(this);for(const a of this.$$s)a in n&&(r[a]=[t(a)]);for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=Lt(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:rn(tn({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const o=Lt(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const o of this.$$l[a]){const s=this.$$c.$on(a,o);this.$$l_u.set(o,s)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Lt(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Lt(e,t,r,n){var a;const i=(a=r[e])==null?void 0:a.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function La(e,t,r,n,i,a){let o=class extends ii{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(o.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var u;l=Lt(s,l,t),this.$$d[s]=l,(u=this.$$c)==null||u.$set({[s]:l})}})}),n.forEach(s=>{Object.defineProperty(o.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),e.element=o,o}class Ia{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){Sa(this,1),this.$destroy=te}$on(t,r){if(!Fr(r))return te;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!ha(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Pa="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Pa);function Mt(e){"@babel/helpers - typeof";return Mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(e)}function Ge(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function K(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function de(e){K(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Mt(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ba(e,t){K(2,arguments);var r=de(e).getTime(),n=Ge(t);return new Date(r+n)}var Ha={};function Ut(){return Ha}function Aa(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Ma(e){return K(1,arguments),e instanceof Date||Mt(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Na(e){if(K(1,arguments),!Ma(e)&&typeof e!="number")return!1;var t=de(e);return!isNaN(Number(t))}function Da(e,t){K(2,arguments);var r=Ge(t);return Ba(e,-r)}var Ra=864e5;function Fa(e){K(1,arguments);var t=de(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),i=r-n;return Math.floor(i/Ra)+1}function Nt(e){K(1,arguments);var t=1,r=de(e),n=r.getUTCDay(),i=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function ai(e){K(1,arguments);var t=de(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=Nt(n),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var o=Nt(a);return t.getTime()>=i.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function ka(e){K(1,arguments);var t=ai(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=Nt(r);return n}var Ua=6048e5;function Wa(e){K(1,arguments);var t=de(e),r=Nt(t).getTime()-ka(t).getTime();return Math.round(r/Ua)+1}function Dt(e,t){var r,n,i,a,o,s,l,u;K(1,arguments);var c=Ut(),h=Ge((r=(n=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&n!==void 0?n:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=de(e),d=m.getUTCDay(),g=(d<h?7:0)+d-h;return m.setUTCDate(m.getUTCDate()-g),m.setUTCHours(0,0,0,0),m}function oi(e,t){var r,n,i,a,o,s,l,u;K(1,arguments);var c=de(e),h=c.getUTCFullYear(),m=Ut(),d=Ge((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:m.firstWeekContainsDate)!==null&&n!==void 0?n:(l=m.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(h+1,0,d),g.setUTCHours(0,0,0,0);var _=Dt(g,t),y=new Date(0);y.setUTCFullYear(h,0,d),y.setUTCHours(0,0,0,0);var E=Dt(y,t);return c.getTime()>=_.getTime()?h+1:c.getTime()>=E.getTime()?h:h-1}function ja(e,t){var r,n,i,a,o,s,l,u;K(1,arguments);var c=Ut(),h=Ge((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:c.firstWeekContainsDate)!==null&&n!==void 0?n:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&r!==void 0?r:1),m=oi(e,t),d=new Date(0);d.setUTCFullYear(m,0,h),d.setUTCHours(0,0,0,0);var g=Dt(d,t);return g}var Va=6048e5;function za(e,t){K(1,arguments);var r=de(e),n=Dt(r,t).getTime()-ja(r,t).getTime();return Math.round(n/Va)+1}function H(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var xe={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return H(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):H(n+1,2)},d:function(t,r){return H(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return H(t.getUTCHours()%12||12,r.length)},H:function(t,r){return H(t.getUTCHours(),r.length)},m:function(t,r){return H(t.getUTCMinutes(),r.length)},s:function(t,r){return H(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,i=t.getUTCMilliseconds(),a=Math.floor(i*Math.pow(10,n-3));return H(a,r.length)}},Ne={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ya={G:function(t,r,n){var i=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var i=t.getUTCFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return xe.y(t,r)},Y:function(t,r,n,i){var a=oi(t,i),o=a>0?a:1-a;if(r==="YY"){var s=o%100;return H(s,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):H(o,r.length)},R:function(t,r){var n=ai(t);return H(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return H(n,r.length)},Q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return H(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return H(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,r,n){var i=t.getUTCMonth();switch(r){case"M":case"MM":return xe.M(t,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,r,n){var i=t.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return H(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,r,n,i){var a=za(t,i);return r==="wo"?n.ordinalNumber(a,{unit:"week"}):H(a,r.length)},I:function(t,r,n){var i=Wa(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):H(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):xe.d(t,r)},D:function(t,r,n){var i=Fa(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):H(i,r.length)},E:function(t,r,n){var i=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,r,n,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return H(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,r,n,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return H(o,r.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,r,n){var i=t.getUTCDay(),a=i===0?7:i;switch(r){case"i":return String(a);case"ii":return H(a,r.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,r,n){var i=t.getUTCHours(),a=i/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,r,n){var i=t.getUTCHours(),a;switch(i===12?a=Ne.noon:i===0?a=Ne.midnight:a=i/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,r,n){var i=t.getUTCHours(),a;switch(i>=17?a=Ne.evening:i>=12?a=Ne.afternoon:i>=4?a=Ne.morning:a=Ne.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return xe.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):xe.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):H(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):H(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):xe.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):xe.s(t,r)},S:function(t,r){return xe.S(t,r)},X:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();if(o===0)return"Z";switch(r){case"X":return fn(o);case"XXXX":case"XX":return Se(o);case"XXXXX":case"XXX":default:return Se(o,":")}},x:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"x":return fn(o);case"xxxx":case"xx":return Se(o);case"xxxxx":case"xxx":default:return Se(o,":")}},O:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+un(o,":");case"OOOO":default:return"GMT"+Se(o,":")}},z:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+un(o,":");case"zzzz":default:return"GMT"+Se(o,":")}},t:function(t,r,n,i){var a=i._originalDate||t,o=Math.floor(a.getTime()/1e3);return H(o,r.length)},T:function(t,r,n,i){var a=i._originalDate||t,o=a.getTime();return H(o,r.length)}};function un(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),a=n%60;if(a===0)return r+String(i);var o=t;return r+String(i)+o+H(a,2)}function fn(e,t){if(e%60===0){var r=e>0?"-":"+";return r+H(Math.abs(e)/60,2)}return Se(e,t)}function Se(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),a=H(Math.floor(i/60),2),o=H(i%60,2);return n+a+r+o}var cn=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},si=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},$a=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return cn(t,r);var o;switch(i){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",cn(i,r)).replace("{{time}}",si(a,r))},Xa={p:si,P:$a},Za=["D","DD"],qa=["YY","YYYY"];function Qa(e){return Za.indexOf(e)!==-1}function Ja(e){return qa.indexOf(e)!==-1}function hn(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Ka={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},eo=function(t,r,n){var i,a=Ka[t];return typeof a=="string"?i=a:r===1?i=a.one:i=a.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function hr(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var to={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ro={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},no={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},io={date:hr({formats:to,defaultWidth:"full"}),time:hr({formats:ro,defaultWidth:"full"}),dateTime:hr({formats:no,defaultWidth:"full"})},ao={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},oo=function(t,r,n,i){return ao[t]};function it(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=r!=null&&r.width?String(r.width):a;i=e.formattingValues[o]||e.formattingValues[a]}else{var s=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[l]||e.values[s]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var so={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},lo={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},uo={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},fo={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},co={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ho={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},mo=function(t,r){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},po={ordinalNumber:mo,era:it({values:so,defaultWidth:"wide"}),quarter:it({values:lo,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:it({values:uo,defaultWidth:"wide"}),day:it({values:fo,defaultWidth:"wide"}),dayPeriod:it({values:co,defaultWidth:"wide",formattingValues:ho,defaultFormattingWidth:"wide"})};function at(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o=a[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?bo(s,function(h){return h.test(o)}):go(s,function(h){return h.test(o)}),u;u=e.valueCallback?e.valueCallback(l):l,u=r.valueCallback?r.valueCallback(u):u;var c=t.slice(o.length);return{value:u,rest:c}}}function go(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function bo(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function vo(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=r.valueCallback?r.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var yo=/^(\d+)(th|st|nd|rd)?/i,wo=/\d+/i,_o={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},xo={any:[/^b/i,/^(a|c)/i]},Eo={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},To={any:[/1/i,/2/i,/3/i,/4/i]},Co={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},So={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Go={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Oo={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Lo={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Io={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Po={ordinalNumber:vo({matchPattern:yo,parsePattern:wo,valueCallback:function(t){return parseInt(t,10)}}),era:at({matchPatterns:_o,defaultMatchWidth:"wide",parsePatterns:xo,defaultParseWidth:"any"}),quarter:at({matchPatterns:Eo,defaultMatchWidth:"wide",parsePatterns:To,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:at({matchPatterns:Co,defaultMatchWidth:"wide",parsePatterns:So,defaultParseWidth:"any"}),day:at({matchPatterns:Go,defaultMatchWidth:"wide",parsePatterns:Oo,defaultParseWidth:"any"}),dayPeriod:at({matchPatterns:Lo,defaultMatchWidth:"any",parsePatterns:Io,defaultParseWidth:"any"})},Bo={code:"en-US",formatDistance:eo,formatLong:io,formatRelative:oo,localize:po,match:Po,options:{weekStartsOn:0,firstWeekContainsDate:1}},Ho=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ao=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Mo=/^'([^]*?)'?$/,No=/''/g,Do=/[a-zA-Z]/;function mn(e,t,r){var n,i,a,o,s,l,u,c,h,m,d,g,_,y;K(2,arguments);var E=String(t),F=Ut(),N=(n=(i=void 0)!==null&&i!==void 0?i:F.locale)!==null&&n!==void 0?n:Bo,A=Ge((a=(o=(s=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&s!==void 0?s:F.firstWeekContainsDate)!==null&&o!==void 0?o:(u=F.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var P=Ge((h=(m=(d=(g=void 0)!==null&&g!==void 0?g:void 0)!==null&&d!==void 0?d:F.weekStartsOn)!==null&&m!==void 0?m:(_=F.locale)===null||_===void 0||(y=_.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&h!==void 0?h:0);if(!(P>=0&&P<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!N.localize)throw new RangeError("locale must contain localize property");if(!N.formatLong)throw new RangeError("locale must contain formatLong property");var v=de(e);if(!Na(v))throw new RangeError("Invalid time value");var M=Aa(v),pe=Da(v,M),bt={firstWeekContainsDate:A,weekStartsOn:P,locale:N,_originalDate:v},ue=E.match(Ao).map(function(V){var Q=V[0];if(Q==="p"||Q==="P"){var ge=Xa[Q];return ge(V,N.formatLong)}return V}).join("").match(Ho).map(function(V){if(V==="''")return"'";var Q=V[0];if(Q==="'")return Ro(V);var ge=Ya[Q];if(ge)return Ja(V)&&hn(V,t,String(e)),Qa(V)&&hn(V,t,String(e)),ge(pe,V,N.localize,bt);if(Q.match(Do))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Q+"`");return V}).join("");return ue}function Ro(e){var t=e.match(Mo);return t?t[1].replace(No,"'"):e}/*! *****************************************************************************
1
+ "use strict";var sa=Object.defineProperty,la=Object.defineProperties;var ua=Object.getOwnPropertyDescriptors;var en=Object.getOwnPropertySymbols;var fa=Object.prototype.hasOwnProperty,ca=Object.prototype.propertyIsEnumerable;var fr=(e,t,r)=>t in e?sa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tn=(e,t)=>{for(var r in t||(t={}))fa.call(t,r)&&fr(e,r,t[r]);if(en)for(var r of en(t))ca.call(t,r)&&fr(e,r,t[r]);return e},rn=(e,t)=>la(e,ua(t));var $=(e,t,r)=>(fr(e,typeof t!="symbol"?t+"":t,r),r);var Ct=(e,t,r)=>new Promise((n,i)=>{var a=l=>{try{s(r.next(l))}catch(u){i(u)}},o=l=>{try{s(r.throw(l))}catch(u){i(u)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,o);s((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-image-BX-FBhad.cjs");function te(){}function Jn(e){return e()}function nn(){return Object.create(null)}function mt(e){e.forEach(Jn)}function Fr(e){return typeof e=="function"}function Kn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let St;function an(e,t){return e===t?!0:(St||(St=document.createElement("a")),St.href=t,e===St.href)}function ha(e){return Object.keys(e).length===0}function ei(e,...t){if(e==null){for(const n of t)n(void 0);return te}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function ma(e,t,r){e.$$.on_destroy.push(ei(t,r))}function w(e,t){e.appendChild(t)}function da(e,t,r){const n=pa(e);if(!n.getElementById(t)){const i=C("style");i.id=t,i.textContent=r,ga(n,i)}}function pa(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ga(e,t){return w(e.head||e,t),t.sheet}function B(e,t,r){e.insertBefore(t,r||null)}function I(e){e.parentNode&&e.parentNode.removeChild(e)}function ti(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function C(e){return document.createElement(e)}function oe(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function q(e){return document.createTextNode(e)}function Y(){return q(" ")}function dt(){return q("")}function kr(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function p(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Ae(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:p(e,t,r)}function ba(e){return Array.from(e.childNodes)}function re(e,t){t=""+t,e.data!==t&&(e.data=t)}function on(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function sn(e,t,r){e.classList.toggle(t,!!r)}class ut{constructor(t=!1){$(this,"is_svg",!1);$(this,"e");$(this,"n");$(this,"t");$(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,r,n=null){this.e||(this.is_svg?this.e=oe(r.nodeName):this.e=C(r.nodeType===11?"TEMPLATE":r.nodeName),this.t=r.tagName!=="TEMPLATE"?r:r.content,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let r=0;r<this.n.length;r+=1)B(this.t,this.n[r],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(I)}}function va(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ft;function st(e){ft=e}function ya(){if(!ft)throw new Error("Function called outside component initialization");return ft}function wa(e){ya().$$.on_mount.push(e)}const Re=[],lt=[];let ke=[];const ln=[],ri=Promise.resolve();let _r=!1;function ni(){_r||(_r=!0,ri.then(S))}function nt(){return ni(),ri}function xr(e){ke.push(e)}const cr=new Set;let Me=0;function S(){if(Me!==0)return;const e=ft;do{try{for(;Me<Re.length;){const t=Re[Me];Me++,st(t),_a(t.$$)}}catch(t){throw Re.length=0,Me=0,t}for(st(null),Re.length=0,Me=0;lt.length;)lt.pop()();for(let t=0;t<ke.length;t+=1){const r=ke[t];cr.has(r)||(cr.add(r),r())}ke.length=0}while(Re.length);for(;ln.length;)ln.pop()();_r=!1,cr.clear(),st(e)}function _a(e){if(e.fragment!==null){e.update(),mt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(xr)}}function xa(e){const t=[],r=[];ke.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),ke=t}const Ea=new Set;function Ta(e,t){e&&e.i&&(Ea.delete(e),e.i(t))}function At(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ca(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),xr(()=>{const a=e.$$.on_mount.map(Jn).filter(Fr);e.$$.on_destroy?e.$$.on_destroy.push(...a):mt(a),e.$$.on_mount=[]}),i.forEach(xr)}function Sa(e,t){const r=e.$$;r.fragment!==null&&(xa(r.after_update),mt(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Ga(e,t){e.$$.dirty[0]===-1&&(Re.push(e),ni(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Oa(e,t,r,n,i,a,o=null,s=[-1]){const l=ft;st(e);const u=e.$$={fragment:null,ctx:[],props:a,update:te,not_equal:i,bound:nn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:nn(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};o&&o(u.root);let c=!1;if(u.ctx=r?r(e,t.props||{},(h,m,...d)=>{const g=d.length?d[0]:m;return u.ctx&&i(u.ctx[h],u.ctx[h]=g)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](g),c&&Ga(e,h)),m}):[],u.update(),c=!0,mt(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const h=ba(t.target);u.fragment&&u.fragment.l(h),h.forEach(I)}else u.fragment&&u.fragment.c();t.intro&&Ta(e.$$.fragment),Ca(e,t.target,t.anchor),S()}st(l)}let ii;typeof HTMLElement=="function"&&(ii=class extends HTMLElement{constructor(t,r,n){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Ct(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let o;return{c:function(){o=C("slot"),a!=="default"&&p(o,"name",a)},m:function(u,c){B(u,o,c)},d:function(u){u&&I(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=va(this);for(const a of this.$$s)a in n&&(r[a]=[t(a)]);for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=Lt(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:rn(tn({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const o=Lt(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const o of this.$$l[a]){const s=this.$$c.$on(a,o);this.$$l_u.set(o,s)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Lt(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Lt(e,t,r,n){var a;const i=(a=r[e])==null?void 0:a.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function La(e,t,r,n,i,a){let o=class extends ii{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(o.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var u;l=Lt(s,l,t),this.$$d[s]=l,(u=this.$$c)==null||u.$set({[s]:l})}})}),n.forEach(s=>{Object.defineProperty(o.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),e.element=o,o}class Ia{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){Sa(this,1),this.$destroy=te}$on(t,r){if(!Fr(r))return te;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!ha(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Pa="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Pa);function Mt(e){"@babel/helpers - typeof";return Mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(e)}function Ge(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function K(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function de(e){K(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Mt(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ba(e,t){K(2,arguments);var r=de(e).getTime(),n=Ge(t);return new Date(r+n)}var Ha={};function Ut(){return Ha}function Aa(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Ma(e){return K(1,arguments),e instanceof Date||Mt(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Na(e){if(K(1,arguments),!Ma(e)&&typeof e!="number")return!1;var t=de(e);return!isNaN(Number(t))}function Da(e,t){K(2,arguments);var r=Ge(t);return Ba(e,-r)}var Ra=864e5;function Fa(e){K(1,arguments);var t=de(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),i=r-n;return Math.floor(i/Ra)+1}function Nt(e){K(1,arguments);var t=1,r=de(e),n=r.getUTCDay(),i=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function ai(e){K(1,arguments);var t=de(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=Nt(n),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var o=Nt(a);return t.getTime()>=i.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function ka(e){K(1,arguments);var t=ai(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=Nt(r);return n}var Ua=6048e5;function ja(e){K(1,arguments);var t=de(e),r=Nt(t).getTime()-ka(t).getTime();return Math.round(r/Ua)+1}function Dt(e,t){var r,n,i,a,o,s,l,u;K(1,arguments);var c=Ut(),h=Ge((r=(n=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&n!==void 0?n:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=de(e),d=m.getUTCDay(),g=(d<h?7:0)+d-h;return m.setUTCDate(m.getUTCDate()-g),m.setUTCHours(0,0,0,0),m}function oi(e,t){var r,n,i,a,o,s,l,u;K(1,arguments);var c=de(e),h=c.getUTCFullYear(),m=Ut(),d=Ge((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:m.firstWeekContainsDate)!==null&&n!==void 0?n:(l=m.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(h+1,0,d),g.setUTCHours(0,0,0,0);var _=Dt(g,t),y=new Date(0);y.setUTCFullYear(h,0,d),y.setUTCHours(0,0,0,0);var E=Dt(y,t);return c.getTime()>=_.getTime()?h+1:c.getTime()>=E.getTime()?h:h-1}function Wa(e,t){var r,n,i,a,o,s,l,u;K(1,arguments);var c=Ut(),h=Ge((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:c.firstWeekContainsDate)!==null&&n!==void 0?n:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&r!==void 0?r:1),m=oi(e,t),d=new Date(0);d.setUTCFullYear(m,0,h),d.setUTCHours(0,0,0,0);var g=Dt(d,t);return g}var Va=6048e5;function za(e,t){K(1,arguments);var r=de(e),n=Dt(r,t).getTime()-Wa(r,t).getTime();return Math.round(n/Va)+1}function H(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var xe={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return H(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):H(n+1,2)},d:function(t,r){return H(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return H(t.getUTCHours()%12||12,r.length)},H:function(t,r){return H(t.getUTCHours(),r.length)},m:function(t,r){return H(t.getUTCMinutes(),r.length)},s:function(t,r){return H(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,i=t.getUTCMilliseconds(),a=Math.floor(i*Math.pow(10,n-3));return H(a,r.length)}},Ne={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ya={G:function(t,r,n){var i=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var i=t.getUTCFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return xe.y(t,r)},Y:function(t,r,n,i){var a=oi(t,i),o=a>0?a:1-a;if(r==="YY"){var s=o%100;return H(s,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):H(o,r.length)},R:function(t,r){var n=ai(t);return H(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return H(n,r.length)},Q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return H(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return H(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,r,n){var i=t.getUTCMonth();switch(r){case"M":case"MM":return xe.M(t,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,r,n){var i=t.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return H(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,r,n,i){var a=za(t,i);return r==="wo"?n.ordinalNumber(a,{unit:"week"}):H(a,r.length)},I:function(t,r,n){var i=ja(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):H(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):xe.d(t,r)},D:function(t,r,n){var i=Fa(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):H(i,r.length)},E:function(t,r,n){var i=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,r,n,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return H(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,r,n,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return H(o,r.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,r,n){var i=t.getUTCDay(),a=i===0?7:i;switch(r){case"i":return String(a);case"ii":return H(a,r.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,r,n){var i=t.getUTCHours(),a=i/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,r,n){var i=t.getUTCHours(),a;switch(i===12?a=Ne.noon:i===0?a=Ne.midnight:a=i/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,r,n){var i=t.getUTCHours(),a;switch(i>=17?a=Ne.evening:i>=12?a=Ne.afternoon:i>=4?a=Ne.morning:a=Ne.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return xe.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):xe.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):H(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):H(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):xe.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):xe.s(t,r)},S:function(t,r){return xe.S(t,r)},X:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();if(o===0)return"Z";switch(r){case"X":return fn(o);case"XXXX":case"XX":return Se(o);case"XXXXX":case"XXX":default:return Se(o,":")}},x:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"x":return fn(o);case"xxxx":case"xx":return Se(o);case"xxxxx":case"xxx":default:return Se(o,":")}},O:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+un(o,":");case"OOOO":default:return"GMT"+Se(o,":")}},z:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+un(o,":");case"zzzz":default:return"GMT"+Se(o,":")}},t:function(t,r,n,i){var a=i._originalDate||t,o=Math.floor(a.getTime()/1e3);return H(o,r.length)},T:function(t,r,n,i){var a=i._originalDate||t,o=a.getTime();return H(o,r.length)}};function un(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),a=n%60;if(a===0)return r+String(i);var o=t;return r+String(i)+o+H(a,2)}function fn(e,t){if(e%60===0){var r=e>0?"-":"+";return r+H(Math.abs(e)/60,2)}return Se(e,t)}function Se(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),a=H(Math.floor(i/60),2),o=H(i%60,2);return n+a+r+o}var cn=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},si=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},$a=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return cn(t,r);var o;switch(i){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",cn(i,r)).replace("{{time}}",si(a,r))},Xa={p:si,P:$a},Za=["D","DD"],qa=["YY","YYYY"];function Qa(e){return Za.indexOf(e)!==-1}function Ja(e){return qa.indexOf(e)!==-1}function hn(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Ka={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},eo=function(t,r,n){var i,a=Ka[t];return typeof a=="string"?i=a:r===1?i=a.one:i=a.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function hr(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var to={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ro={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},no={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},io={date:hr({formats:to,defaultWidth:"full"}),time:hr({formats:ro,defaultWidth:"full"}),dateTime:hr({formats:no,defaultWidth:"full"})},ao={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},oo=function(t,r,n,i){return ao[t]};function it(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=r!=null&&r.width?String(r.width):a;i=e.formattingValues[o]||e.formattingValues[a]}else{var s=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[l]||e.values[s]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var so={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},lo={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},uo={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},fo={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},co={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ho={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},mo=function(t,r){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},po={ordinalNumber:mo,era:it({values:so,defaultWidth:"wide"}),quarter:it({values:lo,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:it({values:uo,defaultWidth:"wide"}),day:it({values:fo,defaultWidth:"wide"}),dayPeriod:it({values:co,defaultWidth:"wide",formattingValues:ho,defaultFormattingWidth:"wide"})};function at(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o=a[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?bo(s,function(h){return h.test(o)}):go(s,function(h){return h.test(o)}),u;u=e.valueCallback?e.valueCallback(l):l,u=r.valueCallback?r.valueCallback(u):u;var c=t.slice(o.length);return{value:u,rest:c}}}function go(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function bo(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function vo(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=r.valueCallback?r.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var yo=/^(\d+)(th|st|nd|rd)?/i,wo=/\d+/i,_o={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},xo={any:[/^b/i,/^(a|c)/i]},Eo={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},To={any:[/1/i,/2/i,/3/i,/4/i]},Co={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},So={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Go={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Oo={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Lo={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Io={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Po={ordinalNumber:vo({matchPattern:yo,parsePattern:wo,valueCallback:function(t){return parseInt(t,10)}}),era:at({matchPatterns:_o,defaultMatchWidth:"wide",parsePatterns:xo,defaultParseWidth:"any"}),quarter:at({matchPatterns:Eo,defaultMatchWidth:"wide",parsePatterns:To,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:at({matchPatterns:Co,defaultMatchWidth:"wide",parsePatterns:So,defaultParseWidth:"any"}),day:at({matchPatterns:Go,defaultMatchWidth:"wide",parsePatterns:Oo,defaultParseWidth:"any"}),dayPeriod:at({matchPatterns:Lo,defaultMatchWidth:"any",parsePatterns:Io,defaultParseWidth:"any"})},Bo={code:"en-US",formatDistance:eo,formatLong:io,formatRelative:oo,localize:po,match:Po,options:{weekStartsOn:0,firstWeekContainsDate:1}},Ho=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ao=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Mo=/^'([^]*?)'?$/,No=/''/g,Do=/[a-zA-Z]/;function mn(e,t,r){var n,i,a,o,s,l,u,c,h,m,d,g,_,y;K(2,arguments);var E=String(t),F=Ut(),N=(n=(i=void 0)!==null&&i!==void 0?i:F.locale)!==null&&n!==void 0?n:Bo,A=Ge((a=(o=(s=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&s!==void 0?s:F.firstWeekContainsDate)!==null&&o!==void 0?o:(u=F.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var P=Ge((h=(m=(d=(g=void 0)!==null&&g!==void 0?g:void 0)!==null&&d!==void 0?d:F.weekStartsOn)!==null&&m!==void 0?m:(_=F.locale)===null||_===void 0||(y=_.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&h!==void 0?h:0);if(!(P>=0&&P<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!N.localize)throw new RangeError("locale must contain localize property");if(!N.formatLong)throw new RangeError("locale must contain formatLong property");var v=de(e);if(!Na(v))throw new RangeError("Invalid time value");var M=Aa(v),pe=Da(v,M),bt={firstWeekContainsDate:A,weekStartsOn:P,locale:N,_originalDate:v},ue=E.match(Ao).map(function(V){var Q=V[0];if(Q==="p"||Q==="P"){var ge=Xa[Q];return ge(V,N.formatLong)}return V}).join("").match(Ho).map(function(V){if(V==="''")return"'";var Q=V[0];if(Q==="'")return Ro(V);var ge=Ya[Q];if(ge)return Ja(V)&&hn(V,t,String(e)),Qa(V)&&hn(V,t,String(e)),ge(pe,V,N.localize,bt);if(Q.match(Do))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Q+"`");return V}).join("");return ue}function Ro(e){var t=e.match(Mo);return t?t[1].replace(No,"'"):e}/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -13,9 +13,9 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
13
  PERFORMANCE OF THIS SOFTWARE.
14
14
  ***************************************************************************** */var Er=function(e,t){return Er=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Er(e,t)};function pt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Er(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Tr(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Cr(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function Sr(e,t,r){if(arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||t)}function ve(e){return typeof e=="function"}function li(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var mr=li(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
15
15
  `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
16
- `):"",this.name="UnsubscriptionError",this.errors=r}});function Gr(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Wt=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,a;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Tr(o),l=s.next();!l.done;l=s.next()){var u=l.value;u.remove(this)}}catch(_){t={error:_}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else o.remove(this);var c=this.initialTeardown;if(ve(c))try{c()}catch(_){a=_ instanceof mr?_.errors:[_]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=Tr(h),d=m.next();!d.done;d=m.next()){var g=d.value;try{dn(g)}catch(_){a=a!=null?a:[],_ instanceof mr?a=Sr(Sr([],Cr(a)),Cr(_.errors)):a.push(_)}}}catch(_){n={error:_}}finally{try{d&&!d.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}}if(a)throw new mr(a)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)dn(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Gr(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Gr(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ui=Wt.EMPTY;function fi(e){return e instanceof Wt||e&&"closed"in e&&ve(e.remove)&&ve(e.add)&&ve(e.unsubscribe)}function dn(e){ve(e)?e():e.unsubscribe()}var Fo={Promise:void 0},ko={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Sr([e,t],Cr(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Uo(e){ko.setTimeout(function(){throw e})}function pn(){}function It(e){e()}var ci=function(e){pt(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,fi(r)&&r.add(n)):n.destination=Vo,n}return t.create=function(r,n,i){return new Or(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Wt),Wo=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Gt(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Gt(n)}else Gt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Gt(r)}},e}(),Or=function(e){pt(t,e);function t(r,n,i){var a=e.call(this)||this,o;return ve(r)||!r?o={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:o=r,a.destination=new Wo(o),a}return t}(ci);function Gt(e){Uo(e)}function jo(e){throw e}var Vo={closed:!0,next:pn,error:jo,complete:pn},zo=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Yo(e){return e}function $o(e){return e.length===0?Yo:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var gn=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,a=Zo(t)?t:new Or(t,r,n);return It(function(){var o=i,s=o.operator,l=o.source;a.add(s?s.call(a,l):l?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=bn(r),new r(function(i,a){var o=new Or({next:function(s){try{t(s)}catch(l){a(l),o.unsubscribe()}},error:a,complete:i});n.subscribe(o)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[zo]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return $o(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=bn(t),new t(function(n,i){var a;r.subscribe(function(o){return a=o},function(o){return i(o)},function(){return n(a)})})},e.create=function(t){return new e(t)},e}();function bn(e){var t;return(t=e!=null?e:Fo.Promise)!==null&&t!==void 0?t:Promise}function Xo(e){return e&&ve(e.next)&&ve(e.error)&&ve(e.complete)}function Zo(e){return e&&e instanceof ci||Xo(e)&&fi(e)}var qo=li(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),hi=function(e){pt(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new vn(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new qo},t.prototype.next=function(r){var n=this;It(function(){var i,a;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=Tr(n.currentObservers),s=o.next();!s.done;s=o.next()){var l=s.value;l.next(r)}}catch(u){i={error:u}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;It(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;It(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,a=i.hasError,o=i.isStopped,s=i.observers;return a||o?ui:(this.currentObservers=null,s.push(r),new Wt(function(){n.currentObservers=null,Gr(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,a=n.thrownError,o=n.isStopped;i?r.error(a):o&&r.complete()},t.prototype.asObservable=function(){var r=new gn;return r.source=this,r},t.create=function(r,n){return new vn(r,n)},t}(gn),vn=function(e){pt(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:ui},t}(hi),mi={now:function(){return(mi.delegate||Date).now()},delegate:void 0},Qo=function(e){pt(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=mi);var a=e.call(this)||this;return a._bufferSize=r,a._windowTime=n,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,r),a._windowTime=Math.max(1,n),a}return t.prototype.next=function(r){var n=this,i=n.isStopped,a=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,l=n._windowTime;i||(a.push(r),!o&&a.push(s.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,a=i._infiniteTimeWindow,o=i._buffer,s=o.slice(),l=0;l<s.length&&!r.closed;l+=a?1:2)r.next(s[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,a=r._buffer,o=r._infiniteTimeWindow,s=(o?1:2)*n;if(n<1/0&&s<a.length&&a.splice(0,a.length-s),!o){for(var l=i.now(),u=0,c=1;c<a.length&&a[c]<=l;c+=2)u=c;u&&a.splice(0,u+1)}},t}(hi);const yn=[],wn={},Jo=(e,t=0)=>{if(yn.indexOf(e)==-1){const r=new Qo(t);wn[e]=r,yn.push(e)}return wn[e]},De=[];function Ko(e,t){return{subscribe:jt(e,t).subscribe}}function jt(e,t=te){let r;const n=new Set;function i(s){if(Kn(e,s)&&(e=s,r)){const l=!De.length;for(const u of n)u[1](),De.push(u,e);if(l){for(let u=0;u<De.length;u+=2)De[u][0](De[u+1]);De.length=0}}}function a(s){i(s(e))}function o(s,l=te){const u=[s,l];return n.add(u),n.size===1&&(r=t(i,a)||te),s(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:a,subscribe:o}}function ze(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return Ko(r,(o,s)=>{let l=!1;const u=[];let c=0,h=te;const m=()=>{if(c)return;h();const g=t(n?u[0]:u,o,s);a?o(g):h=Fr(g)?g:te},d=i.map((g,_)=>ei(g,y=>{u[_]=y,c&=~(1<<_),l&&m()},()=>{c|=1<<_}));return l=!0,m(),function(){mt(d),h(),l=!1}})}function es(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ts=function(t){return rs(t)&&!ns(t)};function rs(e){return!!e&&typeof e=="object"}function ns(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||os(e)}var is=typeof Symbol=="function"&&Symbol.for,as=is?Symbol.for("react.element"):60103;function os(e){return e.$$typeof===as}function ss(e){return Array.isArray(e)?[]:{}}function ct(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ue(ss(e),e,t):e}function ls(e,t,r){return e.concat(t).map(function(n){return ct(n,r)})}function us(e,t){if(!t.customMerge)return Ue;var r=t.customMerge(e);return typeof r=="function"?r:Ue}function fs(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function _n(e){return Object.keys(e).concat(fs(e))}function di(e,t){try{return t in e}catch(r){return!1}}function cs(e,t){return di(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function hs(e,t,r){var n={};return r.isMergeableObject(e)&&_n(e).forEach(function(i){n[i]=ct(e[i],r)}),_n(t).forEach(function(i){cs(e,i)||(di(e,i)&&r.isMergeableObject(t[i])?n[i]=us(i,r)(e[i],t[i],r):n[i]=ct(t[i],r))}),n}function Ue(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||ls,r.isMergeableObject=r.isMergeableObject||ts,r.cloneUnlessOtherwiseSpecified=ct;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):hs(e,t,r):ct(t,r)}Ue.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Ue(n,i,r)},{})};var ms=Ue,ds=ms;const ps=es(ds);var Lr=function(e,t){return Lr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Lr(e,t)};function Vt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Lr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var me=function(){return me=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},me.apply(this,arguments)};function gs(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function dr(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function pr(e,t){var r=t&&t.cache?t.cache:Es,n=t&&t.serializer?t.serializer:_s,i=t&&t.strategy?t.strategy:ys;return i(e,{cache:r,serializer:n})}function bs(e){return e==null||typeof e=="number"||typeof e=="boolean"}function vs(e,t,r,n){var i=bs(n)?n:r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.call(this,n),t.set(i,a)),a}function pi(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.apply(this,n),t.set(i,a)),a}function gi(e,t,r,n,i){return r.bind(t,e,n,i)}function ys(e,t){var r=e.length===1?vs:pi;return gi(e,this,r,t.cache.create(),t.serializer)}function ws(e,t){return gi(e,this,pi,t.cache.create(),t.serializer)}var _s=function(){return JSON.stringify(arguments)},xs=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Es={create:function(){return new xs}},gr={variadic:ws},Rt=function(){return Rt=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Rt.apply(this,arguments)};var G;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(G||(G={}));var U;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(U||(U={}));var We;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(We||(We={}));function xn(e){return e.type===U.literal}function Ts(e){return e.type===U.argument}function bi(e){return e.type===U.number}function vi(e){return e.type===U.date}function yi(e){return e.type===U.time}function wi(e){return e.type===U.select}function _i(e){return e.type===U.plural}function Cs(e){return e.type===U.pound}function xi(e){return e.type===U.tag}function Ei(e){return!!(e&&typeof e=="object"&&e.type===We.number)}function Ir(e){return!!(e&&typeof e=="object"&&e.type===We.dateTime)}var Ti=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ss=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Gs(e){var t={};return e.replace(Ss,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var j=function(){return j=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},j.apply(this,arguments)};var Os=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ls(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Os).filter(function(m){return m.length>0}),r=[],n=0,i=t;n<i.length;n++){var a=i[n],o=a.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var s=o[0],l=o.slice(1),u=0,c=l;u<c.length;u++){var h=c[u];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:l})}return r}function Is(e){return e.replace(/^(.*?)-/,"")}var En=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ci=/^(@+)?(\+|#+)?[rs]?$/g,Ps=/(\*)(0+)|(#+)(0+)|(0+)/g,Si=/^(0+)$/;function Tn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ci,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Gi(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 Bs(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Si.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Cn(e){var t={},r=Gi(e);return r||t}function Hs(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Is(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=j(j(j({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return j(j({},l),Cn(u))},{}));continue;case"engineering":t=j(j(j({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return j(j({},l),Cn(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ps,function(l,u,c,h,m,d){if(u)t.minimumIntegerDigits=c.length;else{if(h&&m)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Si.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(En.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(En,function(l,u,c,h,m,d){return c==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:m&&d?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+d.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=j(j({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=j(j({},t),Tn(a)));continue}if(Ci.test(i.stem)){t=j(j({},t),Tn(i.stem));continue}var o=Gi(i.stem);o&&(t=j(j({},t),o));var s=Bs(i.stem);s&&(t=j(j({},t),s))}return t}var Ot={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function As(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var a=0;n+1<e.length&&e.charAt(n+1)===i;)a++,n++;var o=1+(a&1),s=a<2?1:3+(a>>1),l="a",u=Ms(t);for((u=="H"||u=="k")&&(s=0);s-- >0;)r+=l;for(;o-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Ms(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Ot[n||""]||Ot[r||""]||Ot["".concat(r,"-001")]||Ot["001"];return i[0]}var br,Ns=new RegExp("^".concat(Ti.source,"*")),Ds=new RegExp("".concat(Ti.source,"*$"));function O(e,t){return{start:e,end:t}}var Rs=!!String.prototype.startsWith&&"_a".startsWith("a",1),Fs=!!String.fromCodePoint,ks=!!Object.fromEntries,Us=!!String.prototype.codePointAt,Ws=!!String.prototype.trimStart,js=!!String.prototype.trimEnd,Vs=!!Number.isSafeInteger,zs=Vs?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Pr=!0;try{var Ys=Li("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Pr=((br=Ys.exec("a"))===null||br===void 0?void 0:br[0])==="a"}catch(e){Pr=!1}var Sn=Rs?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Br=Fs?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,a=0,o;i>a;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},Gn=ks?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var a=i[n],o=a[0],s=a[1];r[o]=s}return r},Oi=Us?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},$s=Ws?function(t){return t.trimStart()}:function(t){return t.replace(Ns,"")},Xs=js?function(t){return t.trimEnd()}:function(t){return t.replace(Ds,"")};function Li(e,t){return new RegExp(e,t)}var Hr;if(Pr){var On=Li("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Hr=function(t,r){var n;On.lastIndex=r;var i=On.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Hr=function(t,r){for(var n=[];;){var i=Oi(t,r);if(i===void 0||Ii(i)||Js(i))break;n.push(i),r+=i>=65536?2:1}return Br.apply(void 0,n)};var Zs=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,n);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:U.pound,location:O(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(G.UNMATCHED_CLOSING_TAG,O(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Ar(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:U.literal,value:"<".concat(i,"/>"),location:O(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,r,!0);if(a.err)return a;var o=a.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ar(this.char()))return this.error(G.INVALID_TAG,O(s,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(G.UNMATCHED_CLOSING_TAG,O(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:U.tag,value:i,children:o,location:O(n,this.clonePosition())},err:null}:this.error(G.INVALID_TAG,O(s,this.clonePosition())))}else return this.error(G.UNCLOSED_TAG,O(n,this.clonePosition()))}else return this.error(G.INVALID_TAG,O(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Qs(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,r);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var l=O(n,this.clonePosition());return{val:{type:U.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!qs(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Br.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Br(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE,O(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(G.EMPTY_ARGUMENT,O(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(G.MALFORMED_ARGUMENT,O(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE,O(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:U.argument,value:i,location:O(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE,O(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(G.MALFORMED_ARGUMENT,O(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Hr(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),o=O(t,a);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(G.EXPECT_ARGUMENT_TYPE,O(o,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var m=Xs(h.val);if(m.length===0)return this.error(G.EXPECT_ARGUMENT_STYLE,O(this.clonePosition(),this.clonePosition()));var d=O(c,this.clonePosition());u={style:m,styleLocation:d}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var _=O(i,this.clonePosition());if(u&&Sn(u==null?void 0:u.style,"::",0)){var y=$s(u.style.slice(2));if(s==="number"){var h=this.parseNumberSkeletonFromString(y,u.styleLocation);return h.err?h:{val:{type:U.number,value:n,location:_,style:h.val},err:null}}else{if(y.length===0)return this.error(G.EXPECT_DATE_TIME_SKELETON,_);var E=y;this.locale&&(E=As(y,this.locale));var m={type:We.dateTime,pattern:E,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Gs(E):{}},F=s==="date"?U.date:U.time;return{val:{type:F,value:n,location:_,style:m},err:null}}}return{val:{type:s==="number"?U.number:s==="date"?U.date:U.time,value:n,location:_,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var N=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(G.EXPECT_SELECT_ARGUMENT_OPTIONS,O(N,Rt({},N)));this.bumpSpace();var A=this.parseIdentifierIfPossible(),P=0;if(s!=="select"&&A.value==="offset"){if(!this.bumpIf(":"))return this.error(G.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(G.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,G.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),A=this.parseIdentifierIfPossible(),P=h.val}var v=this.tryParsePluralOrSelectOptions(t,s,r,A);if(v.err)return v;var g=this.tryParseArgumentClose(i);if(g.err)return g;var M=O(i,this.clonePosition());return s==="select"?{val:{type:U.select,value:n,options:Gn(v.val),location:M},err:null}:{val:{type:U.plural,value:n,options:Gn(v.val),offset:P,pluralType:s==="plural"?"cardinal":"ordinal",location:M},err:null}}default:return this.error(G.INVALID_ARGUMENT_TYPE,O(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE,O(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(G.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,O(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Ls(t)}catch(i){return this.error(G.INVALID_NUMBER_SKELETON,r)}return{val:{type:We.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Hs(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var a,o=!1,s=[],l=new Set,u=i.value,c=i.location;;){if(u.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(G.EXPECT_PLURAL_ARGUMENT_SELECTOR,G.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;c=O(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?G.DUPLICATE_SELECT_ARGUMENT_SELECTOR:G.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?G.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:G.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,O(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var _=this.tryParseArgumentClose(d);if(_.err)return _;s.push([u,{value:g.val,location:O(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,c=a.location}return s.length===0?this.error(r==="select"?G.EXPECT_SELECT_ARGUMENT_SELECTOR:G.EXPECT_PLURAL_ARGUMENT_SELECTOR,O(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(G.MISSING_OTHER_CLAUSE,O(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,o=o*10+(s-48),this.bump();else break}var l=O(i,this.clonePosition());return a?(o*=n,zs(o)?{val:o,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Oi(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Sn(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ii(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Ar(e){return e>=97&&e<=122||e>=65&&e<=90}function qs(e){return Ar(e)||e===47}function Qs(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ii(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Js(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Mr(e){e.forEach(function(t){if(delete t.location,wi(t)||_i(t))for(var r in t.options)delete t.options[r].location,Mr(t.options[r].value);else bi(t)&&Ei(t.style)||(vi(t)||yi(t))&&Ir(t.style)?delete t.style.location:xi(t)&&Mr(t.children)})}function Ks(e,t){t===void 0&&(t={}),t=Rt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Zs(e,t).parse();if(r.err){var n=SyntaxError(G[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Mr(r.val),r.val}var je;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(je||(je={}));var zt=function(e){Vt(t,e);function t(r,n,i){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ln=function(e){Vt(t,e);function t(r,n,i,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),je.INVALID_VALUE,a)||this}return t}(zt),el=function(e){Vt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),je.INVALID_VALUE,i)||this}return t}(zt),tl=function(e){Vt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),je.MISSING_VALUE,n)||this}return t}(zt),J;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(J||(J={}));function rl(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==J.literal||r.type!==J.literal?t.push(r):n.value+=r.value,t},[])}function nl(e){return typeof e=="function"}function Pt(e,t,r,n,i,a,o){if(e.length===1&&xn(e[0]))return[{type:J.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(xn(c)){s.push({type:J.literal,value:c.value});continue}if(Cs(c)){typeof a=="number"&&s.push({type:J.literal,value:r.getNumberFormat(t).format(a)});continue}var h=c.value;if(!(i&&h in i))throw new tl(h,o);var m=i[h];if(Ts(c)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),s.push({type:typeof m=="string"?J.literal:J.object,value:m});continue}if(vi(c)){var d=typeof c.style=="string"?n.date[c.style]:Ir(c.style)?c.style.parsedOptions:void 0;s.push({type:J.literal,value:r.getDateTimeFormat(t,d).format(m)});continue}if(yi(c)){var d=typeof c.style=="string"?n.time[c.style]:Ir(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:J.literal,value:r.getDateTimeFormat(t,d).format(m)});continue}if(bi(c)){var d=typeof c.style=="string"?n.number[c.style]:Ei(c.style)?c.style.parsedOptions:void 0;d&&d.scale&&(m=m*(d.scale||1)),s.push({type:J.literal,value:r.getNumberFormat(t,d).format(m)});continue}if(xi(c)){var g=c.children,_=c.value,y=i[_];if(!nl(y))throw new el(_,"function",o);var E=Pt(g,t,r,n,i,a),F=y(E.map(function(P){return P.value}));Array.isArray(F)||(F=[F]),s.push.apply(s,F.map(function(P){return{type:typeof P=="string"?J.literal:J.object,value:P}}))}if(wi(c)){var N=c.options[m]||c.options.other;if(!N)throw new Ln(c.value,m,Object.keys(c.options),o);s.push.apply(s,Pt(N.value,t,r,n,i));continue}if(_i(c)){var N=c.options["=".concat(m)];if(!N){if(!Intl.PluralRules)throw new zt(`Intl.PluralRules is not available in this environment.
16
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function Gr(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var jt=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,a;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Tr(o),l=s.next();!l.done;l=s.next()){var u=l.value;u.remove(this)}}catch(_){t={error:_}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else o.remove(this);var c=this.initialTeardown;if(ve(c))try{c()}catch(_){a=_ instanceof mr?_.errors:[_]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=Tr(h),d=m.next();!d.done;d=m.next()){var g=d.value;try{dn(g)}catch(_){a=a!=null?a:[],_ instanceof mr?a=Sr(Sr([],Cr(a)),Cr(_.errors)):a.push(_)}}}catch(_){n={error:_}}finally{try{d&&!d.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}}if(a)throw new mr(a)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)dn(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Gr(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Gr(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ui=jt.EMPTY;function fi(e){return e instanceof jt||e&&"closed"in e&&ve(e.remove)&&ve(e.add)&&ve(e.unsubscribe)}function dn(e){ve(e)?e():e.unsubscribe()}var Fo={Promise:void 0},ko={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Sr([e,t],Cr(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Uo(e){ko.setTimeout(function(){throw e})}function pn(){}function It(e){e()}var ci=function(e){pt(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,fi(r)&&r.add(n)):n.destination=Vo,n}return t.create=function(r,n,i){return new Or(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(jt),jo=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Gt(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Gt(n)}else Gt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Gt(r)}},e}(),Or=function(e){pt(t,e);function t(r,n,i){var a=e.call(this)||this,o;return ve(r)||!r?o={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:o=r,a.destination=new jo(o),a}return t}(ci);function Gt(e){Uo(e)}function Wo(e){throw e}var Vo={closed:!0,next:pn,error:Wo,complete:pn},zo=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Yo(e){return e}function $o(e){return e.length===0?Yo:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var gn=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,a=Zo(t)?t:new Or(t,r,n);return It(function(){var o=i,s=o.operator,l=o.source;a.add(s?s.call(a,l):l?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=bn(r),new r(function(i,a){var o=new Or({next:function(s){try{t(s)}catch(l){a(l),o.unsubscribe()}},error:a,complete:i});n.subscribe(o)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[zo]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return $o(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=bn(t),new t(function(n,i){var a;r.subscribe(function(o){return a=o},function(o){return i(o)},function(){return n(a)})})},e.create=function(t){return new e(t)},e}();function bn(e){var t;return(t=e!=null?e:Fo.Promise)!==null&&t!==void 0?t:Promise}function Xo(e){return e&&ve(e.next)&&ve(e.error)&&ve(e.complete)}function Zo(e){return e&&e instanceof ci||Xo(e)&&fi(e)}var qo=li(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),hi=function(e){pt(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new vn(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new qo},t.prototype.next=function(r){var n=this;It(function(){var i,a;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=Tr(n.currentObservers),s=o.next();!s.done;s=o.next()){var l=s.value;l.next(r)}}catch(u){i={error:u}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;It(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;It(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,a=i.hasError,o=i.isStopped,s=i.observers;return a||o?ui:(this.currentObservers=null,s.push(r),new jt(function(){n.currentObservers=null,Gr(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,a=n.thrownError,o=n.isStopped;i?r.error(a):o&&r.complete()},t.prototype.asObservable=function(){var r=new gn;return r.source=this,r},t.create=function(r,n){return new vn(r,n)},t}(gn),vn=function(e){pt(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:ui},t}(hi),mi={now:function(){return(mi.delegate||Date).now()},delegate:void 0},Qo=function(e){pt(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=mi);var a=e.call(this)||this;return a._bufferSize=r,a._windowTime=n,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,r),a._windowTime=Math.max(1,n),a}return t.prototype.next=function(r){var n=this,i=n.isStopped,a=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,l=n._windowTime;i||(a.push(r),!o&&a.push(s.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,a=i._infiniteTimeWindow,o=i._buffer,s=o.slice(),l=0;l<s.length&&!r.closed;l+=a?1:2)r.next(s[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,a=r._buffer,o=r._infiniteTimeWindow,s=(o?1:2)*n;if(n<1/0&&s<a.length&&a.splice(0,a.length-s),!o){for(var l=i.now(),u=0,c=1;c<a.length&&a[c]<=l;c+=2)u=c;u&&a.splice(0,u+1)}},t}(hi);const yn=[],wn={},Jo=(e,t=0)=>{if(yn.indexOf(e)==-1){const r=new Qo(t);wn[e]=r,yn.push(e)}return wn[e]},De=[];function Ko(e,t){return{subscribe:Wt(e,t).subscribe}}function Wt(e,t=te){let r;const n=new Set;function i(s){if(Kn(e,s)&&(e=s,r)){const l=!De.length;for(const u of n)u[1](),De.push(u,e);if(l){for(let u=0;u<De.length;u+=2)De[u][0](De[u+1]);De.length=0}}}function a(s){i(s(e))}function o(s,l=te){const u=[s,l];return n.add(u),n.size===1&&(r=t(i,a)||te),s(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:a,subscribe:o}}function ze(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return Ko(r,(o,s)=>{let l=!1;const u=[];let c=0,h=te;const m=()=>{if(c)return;h();const g=t(n?u[0]:u,o,s);a?o(g):h=Fr(g)?g:te},d=i.map((g,_)=>ei(g,y=>{u[_]=y,c&=~(1<<_),l&&m()},()=>{c|=1<<_}));return l=!0,m(),function(){mt(d),h(),l=!1}})}function es(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ts=function(t){return rs(t)&&!ns(t)};function rs(e){return!!e&&typeof e=="object"}function ns(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||os(e)}var is=typeof Symbol=="function"&&Symbol.for,as=is?Symbol.for("react.element"):60103;function os(e){return e.$$typeof===as}function ss(e){return Array.isArray(e)?[]:{}}function ct(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ue(ss(e),e,t):e}function ls(e,t,r){return e.concat(t).map(function(n){return ct(n,r)})}function us(e,t){if(!t.customMerge)return Ue;var r=t.customMerge(e);return typeof r=="function"?r:Ue}function fs(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function _n(e){return Object.keys(e).concat(fs(e))}function di(e,t){try{return t in e}catch(r){return!1}}function cs(e,t){return di(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function hs(e,t,r){var n={};return r.isMergeableObject(e)&&_n(e).forEach(function(i){n[i]=ct(e[i],r)}),_n(t).forEach(function(i){cs(e,i)||(di(e,i)&&r.isMergeableObject(t[i])?n[i]=us(i,r)(e[i],t[i],r):n[i]=ct(t[i],r))}),n}function Ue(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||ls,r.isMergeableObject=r.isMergeableObject||ts,r.cloneUnlessOtherwiseSpecified=ct;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):hs(e,t,r):ct(t,r)}Ue.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Ue(n,i,r)},{})};var ms=Ue,ds=ms;const ps=es(ds);var Lr=function(e,t){return Lr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Lr(e,t)};function Vt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Lr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var me=function(){return me=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},me.apply(this,arguments)};function gs(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function dr(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function pr(e,t){var r=t&&t.cache?t.cache:Es,n=t&&t.serializer?t.serializer:_s,i=t&&t.strategy?t.strategy:ys;return i(e,{cache:r,serializer:n})}function bs(e){return e==null||typeof e=="number"||typeof e=="boolean"}function vs(e,t,r,n){var i=bs(n)?n:r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.call(this,n),t.set(i,a)),a}function pi(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.apply(this,n),t.set(i,a)),a}function gi(e,t,r,n,i){return r.bind(t,e,n,i)}function ys(e,t){var r=e.length===1?vs:pi;return gi(e,this,r,t.cache.create(),t.serializer)}function ws(e,t){return gi(e,this,pi,t.cache.create(),t.serializer)}var _s=function(){return JSON.stringify(arguments)},xs=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Es={create:function(){return new xs}},gr={variadic:ws},Rt=function(){return Rt=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Rt.apply(this,arguments)};var G;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(G||(G={}));var U;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(U||(U={}));var je;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(je||(je={}));function xn(e){return e.type===U.literal}function Ts(e){return e.type===U.argument}function bi(e){return e.type===U.number}function vi(e){return e.type===U.date}function yi(e){return e.type===U.time}function wi(e){return e.type===U.select}function _i(e){return e.type===U.plural}function Cs(e){return e.type===U.pound}function xi(e){return e.type===U.tag}function Ei(e){return!!(e&&typeof e=="object"&&e.type===je.number)}function Ir(e){return!!(e&&typeof e=="object"&&e.type===je.dateTime)}var Ti=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ss=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Gs(e){var t={};return e.replace(Ss,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var W=function(){return W=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},W.apply(this,arguments)};var Os=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ls(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Os).filter(function(m){return m.length>0}),r=[],n=0,i=t;n<i.length;n++){var a=i[n],o=a.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var s=o[0],l=o.slice(1),u=0,c=l;u<c.length;u++){var h=c[u];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:l})}return r}function Is(e){return e.replace(/^(.*?)-/,"")}var En=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ci=/^(@+)?(\+|#+)?[rs]?$/g,Ps=/(\*)(0+)|(#+)(0+)|(0+)/g,Si=/^(0+)$/;function Tn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ci,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Gi(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 Bs(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Si.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Cn(e){var t={},r=Gi(e);return r||t}function Hs(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Is(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=W(W(W({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return W(W({},l),Cn(u))},{}));continue;case"engineering":t=W(W(W({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return W(W({},l),Cn(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ps,function(l,u,c,h,m,d){if(u)t.minimumIntegerDigits=c.length;else{if(h&&m)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Si.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(En.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(En,function(l,u,c,h,m,d){return c==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:m&&d?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+d.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=W(W({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=W(W({},t),Tn(a)));continue}if(Ci.test(i.stem)){t=W(W({},t),Tn(i.stem));continue}var o=Gi(i.stem);o&&(t=W(W({},t),o));var s=Bs(i.stem);s&&(t=W(W({},t),s))}return t}var Ot={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function As(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var a=0;n+1<e.length&&e.charAt(n+1)===i;)a++,n++;var o=1+(a&1),s=a<2?1:3+(a>>1),l="a",u=Ms(t);for((u=="H"||u=="k")&&(s=0);s-- >0;)r+=l;for(;o-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Ms(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Ot[n||""]||Ot[r||""]||Ot["".concat(r,"-001")]||Ot["001"];return i[0]}var br,Ns=new RegExp("^".concat(Ti.source,"*")),Ds=new RegExp("".concat(Ti.source,"*$"));function O(e,t){return{start:e,end:t}}var Rs=!!String.prototype.startsWith&&"_a".startsWith("a",1),Fs=!!String.fromCodePoint,ks=!!Object.fromEntries,Us=!!String.prototype.codePointAt,js=!!String.prototype.trimStart,Ws=!!String.prototype.trimEnd,Vs=!!Number.isSafeInteger,zs=Vs?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Pr=!0;try{var Ys=Li("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Pr=((br=Ys.exec("a"))===null||br===void 0?void 0:br[0])==="a"}catch(e){Pr=!1}var Sn=Rs?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Br=Fs?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,a=0,o;i>a;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},Gn=ks?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var a=i[n],o=a[0],s=a[1];r[o]=s}return r},Oi=Us?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},$s=js?function(t){return t.trimStart()}:function(t){return t.replace(Ns,"")},Xs=Ws?function(t){return t.trimEnd()}:function(t){return t.replace(Ds,"")};function Li(e,t){return new RegExp(e,t)}var Hr;if(Pr){var On=Li("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Hr=function(t,r){var n;On.lastIndex=r;var i=On.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Hr=function(t,r){for(var n=[];;){var i=Oi(t,r);if(i===void 0||Ii(i)||Js(i))break;n.push(i),r+=i>=65536?2:1}return Br.apply(void 0,n)};var Zs=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,n);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:U.pound,location:O(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(G.UNMATCHED_CLOSING_TAG,O(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Ar(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:U.literal,value:"<".concat(i,"/>"),location:O(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,r,!0);if(a.err)return a;var o=a.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ar(this.char()))return this.error(G.INVALID_TAG,O(s,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(G.UNMATCHED_CLOSING_TAG,O(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:U.tag,value:i,children:o,location:O(n,this.clonePosition())},err:null}:this.error(G.INVALID_TAG,O(s,this.clonePosition())))}else return this.error(G.UNCLOSED_TAG,O(n,this.clonePosition()))}else return this.error(G.INVALID_TAG,O(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Qs(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,r);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var l=O(n,this.clonePosition());return{val:{type:U.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!qs(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Br.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Br(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE,O(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(G.EMPTY_ARGUMENT,O(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(G.MALFORMED_ARGUMENT,O(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE,O(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:U.argument,value:i,location:O(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE,O(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(G.MALFORMED_ARGUMENT,O(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Hr(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),o=O(t,a);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(G.EXPECT_ARGUMENT_TYPE,O(o,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var m=Xs(h.val);if(m.length===0)return this.error(G.EXPECT_ARGUMENT_STYLE,O(this.clonePosition(),this.clonePosition()));var d=O(c,this.clonePosition());u={style:m,styleLocation:d}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var _=O(i,this.clonePosition());if(u&&Sn(u==null?void 0:u.style,"::",0)){var y=$s(u.style.slice(2));if(s==="number"){var h=this.parseNumberSkeletonFromString(y,u.styleLocation);return h.err?h:{val:{type:U.number,value:n,location:_,style:h.val},err:null}}else{if(y.length===0)return this.error(G.EXPECT_DATE_TIME_SKELETON,_);var E=y;this.locale&&(E=As(y,this.locale));var m={type:je.dateTime,pattern:E,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Gs(E):{}},F=s==="date"?U.date:U.time;return{val:{type:F,value:n,location:_,style:m},err:null}}}return{val:{type:s==="number"?U.number:s==="date"?U.date:U.time,value:n,location:_,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var N=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(G.EXPECT_SELECT_ARGUMENT_OPTIONS,O(N,Rt({},N)));this.bumpSpace();var A=this.parseIdentifierIfPossible(),P=0;if(s!=="select"&&A.value==="offset"){if(!this.bumpIf(":"))return this.error(G.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(G.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,G.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),A=this.parseIdentifierIfPossible(),P=h.val}var v=this.tryParsePluralOrSelectOptions(t,s,r,A);if(v.err)return v;var g=this.tryParseArgumentClose(i);if(g.err)return g;var M=O(i,this.clonePosition());return s==="select"?{val:{type:U.select,value:n,options:Gn(v.val),location:M},err:null}:{val:{type:U.plural,value:n,options:Gn(v.val),offset:P,pluralType:s==="plural"?"cardinal":"ordinal",location:M},err:null}}default:return this.error(G.INVALID_ARGUMENT_TYPE,O(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE,O(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(G.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,O(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Ls(t)}catch(i){return this.error(G.INVALID_NUMBER_SKELETON,r)}return{val:{type:je.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Hs(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var a,o=!1,s=[],l=new Set,u=i.value,c=i.location;;){if(u.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(G.EXPECT_PLURAL_ARGUMENT_SELECTOR,G.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;c=O(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?G.DUPLICATE_SELECT_ARGUMENT_SELECTOR:G.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?G.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:G.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,O(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var _=this.tryParseArgumentClose(d);if(_.err)return _;s.push([u,{value:g.val,location:O(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,c=a.location}return s.length===0?this.error(r==="select"?G.EXPECT_SELECT_ARGUMENT_SELECTOR:G.EXPECT_PLURAL_ARGUMENT_SELECTOR,O(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(G.MISSING_OTHER_CLAUSE,O(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,o=o*10+(s-48),this.bump();else break}var l=O(i,this.clonePosition());return a?(o*=n,zs(o)?{val:o,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Oi(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Sn(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ii(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Ar(e){return e>=97&&e<=122||e>=65&&e<=90}function qs(e){return Ar(e)||e===47}function Qs(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ii(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Js(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Mr(e){e.forEach(function(t){if(delete t.location,wi(t)||_i(t))for(var r in t.options)delete t.options[r].location,Mr(t.options[r].value);else bi(t)&&Ei(t.style)||(vi(t)||yi(t))&&Ir(t.style)?delete t.style.location:xi(t)&&Mr(t.children)})}function Ks(e,t){t===void 0&&(t={}),t=Rt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Zs(e,t).parse();if(r.err){var n=SyntaxError(G[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Mr(r.val),r.val}var We;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(We||(We={}));var zt=function(e){Vt(t,e);function t(r,n,i){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ln=function(e){Vt(t,e);function t(r,n,i,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),We.INVALID_VALUE,a)||this}return t}(zt),el=function(e){Vt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),We.INVALID_VALUE,i)||this}return t}(zt),tl=function(e){Vt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),We.MISSING_VALUE,n)||this}return t}(zt),J;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(J||(J={}));function rl(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==J.literal||r.type!==J.literal?t.push(r):n.value+=r.value,t},[])}function nl(e){return typeof e=="function"}function Pt(e,t,r,n,i,a,o){if(e.length===1&&xn(e[0]))return[{type:J.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(xn(c)){s.push({type:J.literal,value:c.value});continue}if(Cs(c)){typeof a=="number"&&s.push({type:J.literal,value:r.getNumberFormat(t).format(a)});continue}var h=c.value;if(!(i&&h in i))throw new tl(h,o);var m=i[h];if(Ts(c)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),s.push({type:typeof m=="string"?J.literal:J.object,value:m});continue}if(vi(c)){var d=typeof c.style=="string"?n.date[c.style]:Ir(c.style)?c.style.parsedOptions:void 0;s.push({type:J.literal,value:r.getDateTimeFormat(t,d).format(m)});continue}if(yi(c)){var d=typeof c.style=="string"?n.time[c.style]:Ir(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:J.literal,value:r.getDateTimeFormat(t,d).format(m)});continue}if(bi(c)){var d=typeof c.style=="string"?n.number[c.style]:Ei(c.style)?c.style.parsedOptions:void 0;d&&d.scale&&(m=m*(d.scale||1)),s.push({type:J.literal,value:r.getNumberFormat(t,d).format(m)});continue}if(xi(c)){var g=c.children,_=c.value,y=i[_];if(!nl(y))throw new el(_,"function",o);var E=Pt(g,t,r,n,i,a),F=y(E.map(function(P){return P.value}));Array.isArray(F)||(F=[F]),s.push.apply(s,F.map(function(P){return{type:typeof P=="string"?J.literal:J.object,value:P}}))}if(wi(c)){var N=c.options[m]||c.options.other;if(!N)throw new Ln(c.value,m,Object.keys(c.options),o);s.push.apply(s,Pt(N.value,t,r,n,i));continue}if(_i(c)){var N=c.options["=".concat(m)];if(!N){if(!Intl.PluralRules)throw new zt(`Intl.PluralRules is not available in this environment.
17
17
  Try polyfilling it using "@formatjs/intl-pluralrules"
18
- `,je.MISSING_INTL_API,o);var A=r.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));N=c.options[A]||c.options.other}if(!N)throw new Ln(c.value,m,Object.keys(c.options),o);s.push.apply(s,Pt(N.value,t,r,n,i,m-(c.offset||0)));continue}}return rl(s)}function il(e,t){return t?me(me(me({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=me(me({},e[n]),t[n]||{}),r},{})):e}function al(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=il(e[n],t[n]),r},me({},e)):e}function vr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function ol(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:pr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,dr([void 0],r,!1)))},{cache:vr(e.number),strategy:gr.variadic}),getDateTimeFormat:pr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,dr([void 0],r,!1)))},{cache:vr(e.dateTime),strategy:gr.variadic}),getPluralRules:pr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,dr([void 0],r,!1)))},{cache:vr(e.pluralRules),strategy:gr.variadic})}}var sl=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=a.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(h,m){return!h.length||m.type!==J.literal||typeof h[h.length-1]!="string"?h.push(m.value):h[h.length-1]+=m.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return Pt(a.ast,a.locales,a.formatters,a.formats,l,void 0,a.message)},this.resolvedOptions=function(){var l;return{locale:((l=a.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var s=gs(o,["formatters"]);this.ast=e.__parse(t,me(me({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=al(e.formats,n),this.formatters=i&&i.formatters||ol(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Ks,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function ll(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const a=r.slice(i,r.length).join(".");if(a in n){n=n[a];break}}n=n[r[i]]}else n=void 0;return n}const Ee={},ul=(e,t,r)=>r&&(t in Ee||(Ee[t]={}),e in Ee[t]||(Ee[t][e]=r),r),Pi=(e,t)=>{if(t==null)return;if(t in Ee&&e in Ee[t])return Ee[t][e];const r=Yt(t);for(let n=0;n<r.length;n++){const i=r[n],a=cl(i,e);if(a)return ul(e,t,a)}};let Ur;const gt=jt({});function fl(e){return Ur[e]||null}function Bi(e){return e in Ur}function cl(e,t){if(!Bi(e))return null;const r=fl(e);return ll(r,t)}function hl(e){if(e==null)return;const t=Yt(e);for(let r=0;r<t.length;r++){const n=t[r];if(Bi(n))return n}}function Hi(e,...t){delete Ee[e],gt.update(r=>(r[e]=ps.all([r[e]||{},...t]),r))}ze([gt],([e])=>Object.keys(e));gt.subscribe(e=>Ur=e);const Bt={};function ml(e,t){Bt[e].delete(t),Bt[e].size===0&&delete Bt[e]}function Ai(e){return Bt[e]}function dl(e){return Yt(e).map(t=>{const r=Ai(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Nr(e){return e==null?!1:Yt(e).some(t=>{var r;return(r=Ai(t))==null?void 0:r.size})}function pl(e,t){return Promise.all(t.map(n=>(ml(e,n),n().then(i=>i.default||i)))).then(n=>Hi(e,...n))}const ot={};function Mi(e){if(!Nr(e))return e in ot?ot[e]:Promise.resolve();const t=dl(e);return ot[e]=Promise.all(t.map(([r,n])=>pl(r,n))).then(()=>{if(Nr(e))return Mi(e);delete ot[e]}),ot[e]}const gl={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"}}},bl={fallbackLocale:null,loadingDelay:200,formats:gl,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},vl=bl;function Ve(){return vl}const yr=jt(!1);var yl=Object.defineProperty,wl=Object.defineProperties,_l=Object.getOwnPropertyDescriptors,In=Object.getOwnPropertySymbols,xl=Object.prototype.hasOwnProperty,El=Object.prototype.propertyIsEnumerable,Pn=(e,t,r)=>t in e?yl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Tl=(e,t)=>{for(var r in t||(t={}))xl.call(t,r)&&Pn(e,r,t[r]);if(In)for(var r of In(t))El.call(t,r)&&Pn(e,r,t[r]);return e},Cl=(e,t)=>wl(e,_l(t));let Dr;const Ft=jt(null);function Bn(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Yt(e,t=Ve().fallbackLocale){const r=Bn(e);return t?[...new Set([...r,...Bn(t)])]:r}function Oe(){return Dr!=null?Dr:void 0}Ft.subscribe(e=>{Dr=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Sl=e=>{if(e&&hl(e)&&Nr(e)){const{loadingDelay:t}=Ve();let r;return typeof window!="undefined"&&Oe()!=null&&t?r=window.setTimeout(()=>yr.set(!0),t):yr.set(!0),Mi(e).then(()=>{Ft.set(e)}).finally(()=>{clearTimeout(r),yr.set(!1)})}return Ft.set(e)},Ye=Cl(Tl({},Ft),{set:Sl}),$t=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Gl=Object.defineProperty,kt=Object.getOwnPropertySymbols,Ni=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,Hn=(e,t,r)=>t in e?Gl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Wr=(e,t)=>{for(var r in t||(t={}))Ni.call(t,r)&&Hn(e,r,t[r]);if(kt)for(var r of kt(t))Di.call(t,r)&&Hn(e,r,t[r]);return e},$e=(e,t)=>{var r={};for(var n in e)Ni.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&kt)for(var n of kt(e))t.indexOf(n)<0&&Di.call(e,n)&&(r[n]=e[n]);return r};const ht=(e,t)=>{const{formats:r}=Ve();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ol=$t(e=>{var t=e,{locale:r,format:n}=t,i=$e(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ht("number",n)),new Intl.NumberFormat(r,i)}),Ll=$t(e=>{var t=e,{locale:r,format:n}=t,i=$e(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ht("date",n):Object.keys(i).length===0&&(i=ht("date","short")),new Intl.DateTimeFormat(r,i)}),Il=$t(e=>{var t=e,{locale:r,format:n}=t,i=$e(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ht("time",n):Object.keys(i).length===0&&(i=ht("time","short")),new Intl.DateTimeFormat(r,i)}),Pl=(e={})=>{var t=e,{locale:r=Oe()}=t,n=$e(t,["locale"]);return Ol(Wr({locale:r},n))},Bl=(e={})=>{var t=e,{locale:r=Oe()}=t,n=$e(t,["locale"]);return Ll(Wr({locale:r},n))},Hl=(e={})=>{var t=e,{locale:r=Oe()}=t,n=$e(t,["locale"]);return Il(Wr({locale:r},n))},Al=$t((e,t=Oe())=>new sl(e,t,Ve().formats,{ignoreTag:Ve().ignoreTag})),Ml=(e,t={})=>{var r,n,i,a;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:s,locale:l=Oe(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Pi(e,l);if(!c)c=(a=(i=(n=(r=Ve()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?a:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!s)return c;let h=c;try{h=Al(c,l).format(s)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return h},Nl=(e,t)=>Hl(t).format(e),Dl=(e,t)=>Bl(t).format(e),Rl=(e,t)=>Pl(t).format(e),Fl=(e,t=Oe())=>Pi(e,t),kl=ze([Ye,gt],()=>Ml);ze([Ye],()=>Nl);ze([Ye],()=>Dl);ze([Ye],()=>Rl);ze([Ye,gt],()=>Fl);window.emWidgets={topic:Jo};const ee=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)),Ul=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;function Wl(e,t){Hi(e,t)}function jl(e){Ye.set(e)}const Fe="__WIDGET_GLOBAL_STYLE_CACHE__";function Vl(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function An(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function zl(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Yl(e,t),r;window[Fe]||(window[Fe]={}),r=$l(e,t);const a=r.unsubscribe.bind(r),o=()=>{if(window[Fe][t]){const s=window[Fe][t];s.refCount>1?s.refCount=s.refCount-1:delete window[Fe][t]}a()};return r.unsubscribe=o,r}function Yl(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function $l(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[Fe];let a=i[t]&&i[t].sheet;a?i[t].refCount=i[t].refCount+1:(a=new CSSStyleSheet,a.replaceSync(r),i[t]={sheet:a,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(a)||(n.adoptedStyleSheets=[...o,a])})}const Xl={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"},"en-us":{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},Mn={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 Zl(e,t,r){return window.emMessageBus&&(t=window.emMessageBus.subscribe(e,r)),t}function ql(e){da(e,"svelte-r2e11f",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameContainer.WithGameName.pb-0:not(.CasinoGamesGridSlider){padding-bottom:0px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 10px)}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameTopContainer{display:flex;gap:10px;margin-left:auto}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 12px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 1s ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #FFF)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px;z-index:20}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoContainer{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:space-between;padding:8px 10px;pointer-events:none;z-index:10;height:100%}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoTop,.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom{display:flex;justify-content:space-between;align-items:center;width:100%;pointer-events:auto;gap:6px;min-width:0}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom{margin-bottom:2px}.GameInnerContainer.HasDisplayGameTiles .InfoTopLeft{display:flex;align-items:center;gap:4px;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.GameInnerContainer.HasDisplayGameTiles .DealerName{font-size:11px;font-weight:600;color:#ffffff;text-shadow:0 1px 3px rgba(0, 0, 0, 0.9);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.GameInnerContainer.HasDisplayGameTiles .CornerPlayers{display:flex;align-items:center;gap:3px;background:rgba(0, 0, 0, 0.75);padding:2px 5px;border-radius:4px;font-size:10px;color:#ffffff;font-weight:600;flex-shrink:0;text-shadow:0 1px 2px rgba(0, 0, 0, 0.9)}.GameInnerContainer.HasDisplayGameTiles .CornerPlayers svg{fill:#ffffff !important;width:10px;height:10px;flex-shrink:0}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons{background:rgba(0, 0, 0, 0.65);padding:2px 4px;border-radius:4px;display:inline-flex !important;flex-direction:row !important;align-items:center !important;gap:2px !important;flex-shrink:1;min-width:0;overflow:hidden}.GameInnerContainer.HasDisplayGameTiles .FullTable{display:inline-flex !important;background:rgba(180, 0, 0, 0.85) !important;color:#ffffff !important;padding:2px 5px !important;border-radius:3px;font-size:9px !important;font-weight:600;white-space:nowrap;text-transform:uppercase}.GameInnerContainer.HasDisplayGameTiles .LatestResult{background:rgba(30, 30, 30, 0.9) !important;border:1px solid rgba(255, 255, 255, 0.3) !important;color:#ffffff !important;padding:1px 3px !important;border-radius:3px;font-size:10px !important;font-weight:bold;min-width:14px;text-align:center;display:inline-block;flex-shrink:0}.GameInnerContainer.HasDisplayGameTiles .OpenSeat,.GameInnerContainer.HasDisplayGameTiles .ClosedSeat{display:inline-flex !important;width:10px !important;height:10px !important;margin:0 1px !important;flex-shrink:0}.GameInnerContainer.HasDisplayGameTiles .OpenSeat svg,.GameInnerContainer.HasDisplayGameTiles .ClosedSeat svg{width:100% !important;height:100% !important}.GameInnerContainer.HasDisplayGameTiles .OpenSeat svg{fill:rgba(255, 255, 255, 0.25) !important;stroke:#ffffff !important;stroke-width:1px}.GameInnerContainer.HasDisplayGameTiles .ClosedSeat svg{fill:#ffffff !important;stroke:#ffffff !important}.GameInnerContainer.HasDisplayGameTiles .CornerRoulette{background:transparent !important;padding:0 !important;min-width:0;overflow:hidden;flex-shrink:1}.GameInnerContainer.HasDisplayGameTiles .CornerLimits{background:rgba(0, 0, 0, 0.75);padding:3px 6px;border-radius:4px;font-size:10px;color:#ffffff;font-weight:500;text-shadow:0 1px 2px rgba(0, 0, 0, 0.9);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:1;min-width:0;max-width:75%;margin-left:auto}.GameInnerContainer:hover,.GameInnerContainer:active{transition:2s;cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1);transition:1s}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}@media(max-width: 768px){.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoContainer{padding:4px 6px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoTop{flex-direction:column !important;align-items:flex-start !important;gap:1px !important}.GameInnerContainer.HasDisplayGameTiles .InfoTopLeft{width:100% !important;max-width:100% !important}.GameInnerContainer.HasDisplayGameTiles .InfoTopRight{align-self:flex-start !important}.GameInnerContainer.HasDisplayGameTiles .DealerName{font-size:10px;white-space:normal !important;word-break:break-word;line-height:1.1}.GameInnerContainer.HasDisplayGameTiles .CornerPlayers{font-size:8.5px;padding:1px 3px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom{flex-direction:column !important;align-items:stretch !important;gap:2px !important;margin-bottom:1px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons{width:100% !important;max-width:100% !important;justify-content:center !important;flex-wrap:wrap !important;overflow:visible !important;background:rgba(0, 0, 0, 0.75) !important;padding:1px 2px !important;border-radius:3px;order:1}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons:empty{display:none !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .LatestResult{font-size:7.5px !important;padding:0px 1px !important;min-width:9px !important;border-width:1px !important;margin:0 0.5px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .Double{display:flex;flex-direction:column;gap:1px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .Double .LatestResult{font-size:7px !important;padding:0px 1px !important;min-width:8px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .FullTable{font-size:7.5px !important;padding:1px 2px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .OpenSeat,.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .ClosedSeat{width:7px !important;height:7px !important;margin:0 0.5px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .CornerLimits{width:100% !important;max-width:100% !important;margin-left:0 !important;text-align:center !important;font-size:9px !important;padding:1px 4px !important;order:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15;margin-left:auto}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transition:2s;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 14px)}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg)}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)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg)}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{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}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px)}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}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}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoContainer{padding-top:5px}}')}function Nn(e,t,r){const n=e.slice();return n[114]=t[r],n[116]=r,n}function Dn(e,t,r){const n=e.slice();return n[111]=t[r],n}function Rn(e){let t,r,n,i=!ee(e[39]),a,o,s=e[38]("playNow")+"",l,u,c,h=i&&Ql();return{c(){t=C("div"),r=C("div"),n=C("button"),h&&h.c(),a=Y(),o=C("span"),l=q(s),p(n,"class","GameInfoBtn"),p(r,"class","GameInfo"),p(t,"class","GameInfoWrapper")},m(m,d){B(m,t,d),w(t,r),w(r,n),h&&h.m(n,null),w(n,a),w(n,o),w(o,l),u||(c=kr(t,"click",e[72]),u=!0)},p(m,d){d[1]&128&&s!==(s=m[38]("playNow")+"")&&re(l,s)},d(m){m&&I(t),h&&h.d(),u=!1,c()}}}function Ql(e){let t,r,n,i,a,o;return{c(){t=oe("svg"),r=oe("g"),n=oe("g"),i=oe("path"),a=oe("path"),o=oe("path"),p(i,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),p(i,"stroke","none"),p(a,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),p(a,"stroke","none"),p(a,"fill","#fff"),p(n,"id","Ellipse_664_copy"),p(n,"data-name","Ellipse 664 copy"),p(n,"transform","translate(26 13)"),p(n,"fill","rgba(249,165,2,0)"),p(o,"id","Rounded_Rectangle_683"),p(o,"data-name","Rounded Rectangle 683"),p(o,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),p(o,"transform","translate(-1102 -885)"),p(o,"fill","#fff"),p(r,"id","Group_5260"),p(r,"data-name","Group 5260"),p(r,"transform","translate(-26 -13)"),p(t,"xmlns","http://www.w3.org/2000/svg"),p(t,"width","28"),p(t,"height","28"),p(t,"viewBox","0 0 28 28")},m(s,l){B(s,t,l),w(t,r),w(r,n),w(n,i),w(n,a),w(r,o)},d(s){s&&I(t)}}}function Jl(e){let t,r,n=e[45](e[35])+"",i,a,o=e[44](e[27],e[28],e[26])+"";return{c(){t=C("div"),r=new ut(!1),i=Y(),a=new ut(!1),r.a=i,a.a=null,p(t,"class","LiveProps")},m(s,l){B(s,t,l),r.m(n,t),w(t,i),a.m(o,t)},p(s,l){l[1]&16&&n!==(n=s[45](s[35])+"")&&r.p(n),l[0]&469762048&&o!==(o=s[44](s[27],s[28],s[26])+"")&&a.p(o)},d(s){s&&I(t)}}}function Kl(e){let t,r,n,i,a,o,s,l,u,c=e[7]&&Fn(e),h=e[8]&&kn(e),m=e[35]&&Un(e),d=e[36]&&Wn(e),g=(e[15]||e[13])&&jn(e),_=e[27]!=null&&$n(e);return{c(){t=C("div"),r=C("div"),c&&c.c(),n=Y(),h&&h.c(),i=Y(),m&&m.c(),a=Y(),o=C("div"),d&&d.c(),s=Y(),l=C("div"),g&&g.c(),u=Y(),_&&_.c(),p(r,"class","InfoTopLeft"),p(o,"class","InfoTopRight"),p(t,"class","GameExtraInfoTop"),p(l,"class","GameExtraInfoBottom")},m(y,E){B(y,t,E),w(t,r),c&&c.m(r,null),w(r,n),h&&h.m(r,null),w(r,i),m&&m.m(r,null),w(t,a),w(t,o),d&&d.m(o,null),B(y,s,E),B(y,l,E),g&&g.m(l,null),w(l,u),_&&_.m(l,null)},p(y,E){y[7]?c?c.p(y,E):(c=Fn(y),c.c(),c.m(r,n)):c&&(c.d(1),c=null),y[8]?h?h.p(y,E):(h=kn(y),h.c(),h.m(r,i)):h&&(h.d(1),h=null),y[35]?m?m.p(y,E):(m=Un(y),m.c(),m.m(r,null)):m&&(m.d(1),m=null),y[36]?d?d.p(y,E):(d=Wn(y),d.c(),d.m(o,null)):d&&(d.d(1),d=null),y[15]||y[13]?g?g.p(y,E):(g=jn(y),g.c(),g.m(l,u)):g&&(g.d(1),g=null),y[27]!=null?_?_.p(y,E):(_=$n(y),_.c(),_.m(l,null)):_&&(_.d(1),_=null)},d(y){y&&(I(t),I(s),I(l)),c&&c.d(),h&&h.d(),m&&m.d(),d&&d.d(),g&&g.d(),_&&_.d()}}}function Fn(e){let t,r=e[38]("new")+"",n;return{c(){t=C("span"),n=q(r),p(t,"class","GameExtraInfoLabel NewGameTag")},m(i,a){B(i,t,a),w(t,n)},p(i,a){a[1]&128&&r!==(r=i[38]("new")+"")&&re(n,r)},d(i){i&&I(t)}}}function kn(e){let t,r;return{c(){t=C("span"),r=q(e[8]),p(t,"class","GameExtraInfoLabel PopularGameTag")},m(n,i){B(n,t,i),w(t,r)},p(n,i){i[0]&256&&re(r,n[8])},d(n){n&&I(t)}}}function Un(e){let t,r=e[38]("dealer")+"",n,i,a;return{c(){t=C("span"),n=q(r),i=q(": "),a=q(e[35]),p(t,"class","DealerName")},m(o,s){B(o,t,s),w(t,n),w(t,i),w(t,a)},p(o,s){s[1]&128&&r!==(r=o[38]("dealer")+"")&&re(n,r),s[1]&16&&re(a,o[35])},d(o){o&&I(t)}}}function Wn(e){let t,r,n,i,a,o;return{c(){t=C("span"),r=oe("svg"),n=oe("path"),i=Y(),a=C("span"),o=q(e[36]),p(n,"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"),p(r,"fill","var(--emw--casino-thumbnail-animation-color, #FFFFFF);"),p(r,"width","13"),p(r,"height","13"),p(r,"viewBox","0 0 13 14"),p(r,"xmlns","http://www.w3.org/2000/svg"),p(a,"class","NrOfPlayers"),p(t,"class","BetLimitRight CornerPlayers")},m(s,l){B(s,t,l),w(t,r),w(r,n),w(t,i),w(t,a),w(a,o)},p(s,l){l[1]&32&&re(o,s[36])},d(s){s&&I(t)}}}function jn(e){let t;function r(a,o){if(!a[23]&&a[21]&&a[22])return ru;if(a[23]&&a[20]&&a[20]===Ht)return tu;if(a[23]&&a[20]&&a[20]===Rr&&a[16]&&a[16].length>0)return eu}let n=r(e),i=n&&n(e);return{c(){i&&i.c(),t=dt()},m(a,o){i&&i.m(a,o),B(a,t,o)},p(a,o){n===(n=r(a))&&i?i.p(a,o):(i&&i.d(1),i=n&&n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&I(t),i&&i.d(a)}}}function eu(e){let t,r,n,i=At(new Array(Qn)),a=[];for(let o=0;o<i.length;o+=1)a[o]=zn(Nn(e,i,o));return{c(){t=C("div"),r=C("div");for(let o=0;o<a.length;o+=1)a[o].c();p(r,"class","LiveIcons"),p(t,"class",n=e[31]+" CornerRoulette")},m(o,s){B(o,t,s),w(t,r);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(r,null);e[73](r)},p(o,s){if(s[0]&1073807360|s[1]&32770){i=At(new Array(Qn));let l;for(l=0;l<i.length;l+=1){const u=Nn(o,i,l);a[l]?a[l].p(u,s):(a[l]=zn(u),a[l].c(),a[l].m(r,null))}for(;l<a.length;l+=1)a[l].d(1);a.length=i.length}s[1]&1&&n!==(n=o[31]+" CornerRoulette")&&p(t,"class",n)},d(o){o&&I(t),ti(a,o),e[73](null)}}}function tu(e){let t,r;function n(o,s){return o[33]?ou:au}let i=n(e),a=i(e);return{c(){t=C("div"),r=C("div"),a.c(),p(r,"class","LiveIcons"),p(t,"class","GameProp LiveProps BlackjackDisplay")},m(o,s){B(o,t,s),w(t,r),a.m(r,null)},p(o,s){i===(i=n(o))&&a?a.p(o,s):(a.d(1),a=i(o),a&&(a.c(),a.m(r,null)))},d(o){o&&I(t),a.d()}}}function ru(e){let t,r=e[38]("opens")+"",n,i,a,o=mn(new Date(e[21]),e[22])+"",s;return{c(){t=C("div"),n=q(r),i=Y(),a=C("span"),s=q(o),p(t,"class","ClosedGame")},m(l,u){B(l,t,u),w(t,n),w(t,i),w(t,a),w(a,s)},p(l,u){u[1]&128&&r!==(r=l[38]("opens")+"")&&re(n,r),u[0]&6291456&&o!==(o=mn(new Date(l[21]),l[22])+"")&&re(s,o)},d(l){l&&I(t)}}}function Vn(e){let t,r;function n(o,s){return s[0]&1073807360&&(t=null),t==null&&(t=!!(o[30]&&Array.isArray(o[16][o[116]])&&o[16][o[116]].length>=2)),t?iu:nu}let i=n(e,[-1,-1,-1,-1]),a=i(e);return{c(){a.c(),r=dt()},m(o,s){a.m(o,s),B(o,r,s)},p(o,s){i===(i=n(o,s))&&a?a.p(o,s):(a.d(1),a=i(o),a&&(a.c(),a.m(r.parentNode,r)))},d(o){o&&I(r),a.d(o)}}}function nu(e){let t,r=e[46](`LatestResult ${e[116]===0?"First":""}`,e[116],Array.isArray(e[16][e[116]])?e[16][e[116]][0]:e[16][e[116]],e[32][Array.isArray(e[16][e[116]])?e[16][e[116]][0]:e[16][e[116]]])+"",n;return{c(){t=new ut(!1),n=dt(),t.a=n},m(i,a){t.m(r,i,a),B(i,n,a)},p(i,a){a[0]&65536|a[1]&2&&r!==(r=i[46](`LatestResult ${i[116]===0?"First":""}`,i[116],Array.isArray(i[16][i[116]])?i[16][i[116]][0]:i[16][i[116]],i[32][Array.isArray(i[16][i[116]])?i[16][i[116]][0]:i[16][i[116]]])+"")&&t.p(r)},d(i){i&&(I(n),t.d())}}}function iu(e){let t,r,n=e[46](`LatestResult ${e[116]===0?"First":""}`,`first${e[116]}${e[16][e[116]][0]}`,e[16][e[116]][0],e[32][e[16][e[116]][0]])+"",i,a,o=e[46](`LatestResult ${e[116]===0?"First":""}`,`second${e[116]}${e[16][e[116]][1]}`,e[16][e[116]][1],e[32][e[16][e[116]][1]])+"",s;return{c(){t=C("div"),r=new ut(!1),i=Y(),a=new ut(!1),s=Y(),r.a=i,a.a=s,p(t,"class","Double")},m(l,u){B(l,t,u),r.m(n,t),w(t,i),a.m(o,t),w(t,s)},p(l,u){u[0]&65536|u[1]&2&&n!==(n=l[46](`LatestResult ${l[116]===0?"First":""}`,`first${l[116]}${l[16][l[116]][0]}`,l[16][l[116]][0],l[32][l[16][l[116]][0]])+"")&&r.p(n),u[0]&65536|u[1]&2&&o!==(o=l[46](`LatestResult ${l[116]===0?"First":""}`,`second${l[116]}${l[16][l[116]][1]}`,l[16][l[116]][1],l[32][l[16][l[116]][1]])+"")&&a.p(o)},d(l){l&&I(t)}}}function zn(e){let t,r=e[16][e[116]]!==void 0&&Vn(e);return{c(){r&&r.c(),t=dt()},m(n,i){r&&r.m(n,i),B(n,t,i)},p(n,i){n[16][n[116]]!==void 0?r?r.p(n,i):(r=Vn(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&I(t),r&&r.d(n)}}}function au(e){let t,r=At(e[25]),n=[];for(let i=0;i<r.length;i+=1)n[i]=Yn(Dn(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=dt()},m(i,a){for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(i,a);B(i,t,a)},p(i,a){if(a[0]&570425344|a[1]&4096){r=At(i[25]);let o;for(o=0;o<r.length;o+=1){const s=Dn(i,r,o);n[o]?n[o].p(s,a):(n[o]=Yn(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(i){i&&I(t),ti(n,i)}}}function ou(e){let t,r=e[38]("full")+"",n;return{c(){t=C("span"),n=q(r),p(t,"class","FullTable")},m(i,a){B(i,t,a),w(t,n)},p(i,a){a[1]&128&&r!==(r=i[38]("full")+"")&&re(n,r)},d(i){i&&I(t)}}}function Yn(e){let t,r,n,i,a,o;return{c(){t=C("span"),r=oe("svg"),n=oe("path"),i=oe("path"),a=Y(),p(n,"d","M11.58 6c-1.7 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"),p(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),p(r,"xmlns","http://www.w3.org/2000/svg"),p(r,"width","13"),p(r,"height","14"),p(r,"viewBox","0 0 13 14"),p(t,"class",o=e[43](e[29],e[111].toString())?"ClosedSeat":"OpenSeat")},m(s,l){B(s,t,l),w(t,r),w(r,n),w(r,i),w(t,a)},p(s,l){l[0]&570425344&&o!==(o=s[43](s[29],s[111].toString())?"ClosedSeat":"OpenSeat")&&p(t,"class",o)},d(s){s&&I(t)}}}function $n(e){let t,r,n,i,a=e[42](e[27])+"",o,s=e[28]!=null?` - ${e[42](e[28])}`:"+",l;return{c(){t=C("div"),r=C("span"),n=q(e[26]),i=Y(),o=q(a),l=q(s),p(t,"class","CornerLimits")},m(u,c){B(u,t,c),w(t,r),w(r,n),w(t,i),w(t,o),w(t,l)},p(u,c){c[0]&67108864&&re(n,u[26]),c[0]&134217728&&a!==(a=u[42](u[27])+"")&&re(o,a),c[0]&268435456&&s!==(s=u[28]!=null?` - ${u[42](u[28])}`:"+")&&re(l,s)},d(u){u&&I(t)}}}function su(e){let t;return{c(){t=C("div"),t.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',p(t,"class","FavIconContainer")},m(r,n){B(r,t,n)},p:te,d(r){r&&I(t)}}}function lu(e){let t,r,n=e[5]&&Xn(e);function i(s,l){if(s[0]&&s[18]&&s[2]==="true")return fu;if(!s[0]&&s[18]&&s[2]==="true")return uu}let a=i(e),o=a&&a(e);return{c(){t=C("div"),n&&n.c(),r=Y(),o&&o.c(),p(t,"class","GameTopContainer")},m(s,l){B(s,t,l),n&&n.m(t,null),w(t,r),o&&o.m(t,null)},p(s,l){s[5]?n?n.p(s,l):(n=Xn(s),n.c(),n.m(t,r)):n&&(n.d(1),n=null),a===(a=i(s))&&o?o.p(s,l):(o&&o.d(1),o=a&&a(s),o&&(o.c(),o.m(t,null)))},d(s){s&&I(t),n&&n.d(),o&&o.d()}}}function Xn(e){let t;return{c(){t=C("span"),p(t,"class","GameInfoVendor"),on(t,"background-image","url("+e[5]+")")},m(r,n){B(r,t,n)},p(r,n){n[0]&32&&on(t,"background-image","url("+r[5]+")")},d(r){r&&I(t)}}}function uu(e){let t,r,n;return{c(){t=C("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',p(t,"class","FavIconContainer")},m(i,a){B(i,t,a),r||(n=kr(t,"click",e[75]),r=!0)},p:te,d(i){i&&I(t),r=!1,n()}}}function fu(e){let t,r,n;return{c(){t=C("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',p(t,"class","FavIconContainer")},m(i,a){B(i,t,a),r||(n=kr(t,"click",e[74]),r=!0)},p:te,d(i){i&&I(t),r=!1,n()}}}function Zn(e){let t,r;return{c(){t=C("p"),r=q(e[4]),p(t,"class","GameNameBelow"),p(t,"title",e[4])},m(n,i){B(n,t,i),w(t,r)},p(n,i){i[0]&16&&re(r,n[4]),i[0]&16&&p(t,"title",n[4])},d(n){n&&I(t)}}}function cu(e){let t,r,n,i,a,o,s,l,u,c,h,m,d,g=e[1]&&Rn(e);function _(v,M){if(v[12]==="true")return Kl;if(v[15]||v[13])return Jl}let y=_(e),E=y&&y(e);function F(v,M){if(M[0]&4096&&(c=null),c==null&&(c=!ee(v[39])&&v[12]==="false"),c)return lu;if(v[0]&&v[18]&&v[2]==="true"&&v[12]==="false")return su}let N=F(e,[-1,-1,-1,-1]),A=N&&N(e),P=e[10]==="true"&&Zn(e);return{c(){var v;t=C("div"),r=C("div"),n=C("ui-image"),o=Y(),g&&g.c(),s=Y(),l=C("div"),E&&E.c(),u=Y(),A&&A.c(),m=Y(),P&&P.c(),an(n.src,i=e[37])||Ae(n,"src",i),Ae(n,"class",a=`GameBg GameBg-${e[9]}`),Ae(n,"alt","Game thumbnail"),Ae(n,"loading","lazy"),p(l,"class","GameExtraInfoContainer"),p(r,"class",h="GameInnerContainer "+(e[15]&&!e[23]&&((v=e[24])!=null&&v.value)||e[15]&&e[33]?"GameInnerContainerUnavailable":"")+" "+(e[12]==="true"?"HasDisplayGameTiles":"")),p(t,"class",d=`GameContainer ${e[34]} ${e[11]=="true"?"CasinoGamesGridSlider":""} ${e[3]&&ee(e[39])?"pb-0":""}`),sn(t,"WithGameName",e[10])},m(v,M){B(v,t,M),w(t,r),w(r,n),e[71](n),w(r,o),g&&g.m(r,null),w(r,s),w(r,l),E&&E.m(l,null),w(l,u),A&&A.m(l,null),w(t,m),P&&P.m(t,null),e[76](t)},p(v,M){var pe;M[1]&64&&!an(n.src,i=v[37])&&Ae(n,"src",i),M[0]&512&&a!==(a=`GameBg GameBg-${v[9]}`)&&Ae(n,"class",a),v[1]?g?g.p(v,M):(g=Rn(v),g.c(),g.m(r,s)):g&&(g.d(1),g=null),y===(y=_(v))&&E?E.p(v,M):(E&&E.d(1),E=y&&y(v),E&&(E.c(),E.m(l,u))),N===(N=F(v,M))&&A?A.p(v,M):(A&&A.d(1),A=N&&N(v),A&&(A.c(),A.m(l,null))),M[0]&25202688|M[1]&4&&h!==(h="GameInnerContainer "+(v[15]&&!v[23]&&((pe=v[24])!=null&&pe.value)||v[15]&&v[33]?"GameInnerContainerUnavailable":"")+" "+(v[12]==="true"?"HasDisplayGameTiles":""))&&p(r,"class",h),v[10]==="true"?P?P.p(v,M):(P=Zn(v),P.c(),P.m(t,null)):P&&(P.d(1),P=null),M[0]&2056|M[1]&8&&d!==(d=`GameContainer ${v[34]} ${v[11]=="true"?"CasinoGamesGridSlider":""} ${v[3]&&ee(v[39])?"pb-0":""}`)&&p(t,"class",d),M[0]&3080|M[1]&8&&sn(t,"WithGameName",v[10])},i:te,o:te,d(v){v&&I(t),e[71](null),g&&g.d(),E&&E.d(),A&&A.d(),P&&P.d(),e[76](null)}}}const Ht="blackjack",Rr="roulette",wr="doubleballroulette",qn=7,hu=",",Qn=5;function mu(e,t,r){let n,i;ma(e,kl,f=>r(38,i=f));let{session:a=""}=t,{userid:o=""}=t,{lang:s="en"}=t,{clientstyling:l=""}=t,{mbsource:u}=t,{clientstylingurl:c=""}=t,{translationurl:h=""}=t,{favorites:m=""}=t,{gamethumbnail:d=""}=t,{icon:g}=t,{gamename:_=""}=t,{gamevendor:y=""}=t,{gamelaunchurl:E=""}=t,{gameid:F=""}=t,{gameisnew:N=!1}=t,{gametag:A=""}=t,{gamefunmode:P=!1}=t,{gamefavorite:v=!1}=t,{gamecellsize:M=""}=t,{showfavoredcategory:pe=!1}=t,{showgamename:bt=""}=t,{currency:ue=""}=t,{gamepagemodalurl:V="false"}=t,{endpoint:Q=""}=t,{categoryid:ge=""}=t,{livelobbyendpoint:Xe=""}=t,{connectlive:Le=""}=t,{visibilityconnect:Ze=""}=t,{integratedgameframedesktop:vt="false"}=t,{integratedgameframemobile:Ie="false"}=t,{casinogamesgridslider:jr="false"}=t,{allowsingleclickgameentry:Xt="false"}=t,{livelobbydataendpoint:Vr=""}=t,{displaygametiles:zr=""}=t,{livetabledata:se="false"}=t,yt=!1,Zt,wt,qe,Fi,qt,ne=window.navigator.userAgent,fe,x,ye,_t,xt,Qt="HH:mm",be,we,Jt=[],Qe="EUR",Je,Ke,Pe,Te,Kt,er,Be,_e,ie,et,tr,Ce,rr,le="",tt,nr,He;const ki=[Ht],ir=[Rr,wr],ar={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},or={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"},sr=f=>{Object.keys(f).forEach(b=>{Wl(b,f[b])})},Ui=()=>{fetch(h).then(b=>b.json()).then(b=>{sr(b)}).catch(b=>{console.log(b)})};sr(Xl);const Yr=f=>{f.data.type===`AddFavoriteThumbnail_${F}`&&!pe&&r(0,v=!0),f.data.type===`RemoveFavoriteThumbnail_${F}`&&!pe&&r(0,v=!1),f.data.type==="UserSessionID"&&(r(18,yt=!0),Zt=f.data.session,wt=f.data.userID),f.data.type==="CategoryUpdate"&&r(15,x=null)},$r=f=>{if(window.postMessage({type:"SearchedItemClicked",gameId:f},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${f}`,userId:`${wt||"Not logged in"}`}),ee(ne)&&Xt==="true"&&yt){Wi(f);return}if(ee(ne)&&Ie=="true"){window.postMessage({type:"OpenGameFrame",gameId:f,gamefunmode:P,gamepagemodalurl:V,isMobile:ee(ne),source:"GameThumbnail",identifier:"Lobby",subVendor:y,launchUrl:E},window.location.href);return}if(ee(ne)&&Ie=="false"){window.postMessage({type:"ShowGameModal",gameId:f,isMobile:ee(ne)},window.location.href);return}!ee(ne)&&vt=="true"?window.postMessage({type:"OpenGameFrame",gameId:f,gamefunmode:P,gamepagemodalurl:V,isMobile:ee(ne),identifier:"Lobby",subVendor:y,launchUrl:E},window.location.href):!ee(ne)&&vt=="false"&&window.postMessage({type:"ShowGameModal",gameId:f,isMobile:ee(ne)},window.location.href)},Wi=f=>Ct(this,null,function*(){let b=new URL(`${Q}/v1/casino/games/${f}`);b.searchParams.append("language",s),b.searchParams.append("expand","vendor");const L=(yield(yield fetch(b.href)).json())[0],W=new URL(L.launchUrl);W.searchParams.append("_sid",Zt),W.searchParams.append("funMode","false"),Ie==="false"?window.open(W,"_blank"):Ie==="true"&&window.postMessage({type:"OpenIntegratedGameFrame",subVendor:L.subVendor,gameId:L.id,launchUrl:W==null?void 0:W.href},window.location.href)}),lr=f=>{v?window.postMessage({type:`SetUnfavoredGame${ge}`,id:f},window.location.href):window.postMessage({type:`SetFavoredGame${ge}`,id:f},window.location.href)},ji=()=>{jl(s)},Vi=()=>{r(18,yt=!0),Zt=a,wt=o},zi=(f,b)=>`${Q}/v1/encoder/lobby/updates/${f}/${b}`,Xr=()=>{Xe&&EventSource&&!ye&&y&&F&&(ye=new EventSource(zi(y,F)),ye.addEventListener("message",Qr))},Zr=()=>{ye&&(ye.close(),ye=void 0)},qr=()=>{var f,b,T,D,L,W,z;if(se)try{const R=typeof se=="string"?JSON.parse(se):se;r(23,be=(f=R.IsOpen)!=null?f:!0),r(35,nr=((b=R.Dealer)==null?void 0:b.DealerName)||((T=R.dealer)==null?void 0:T.dealerName)||""),r(36,He=(L=(D=R.Players)!=null?D:R.NumberOfPlayers)!=null?L:0),r(27,Je=null),r(28,Ke=null),r(26,Qe="");const ae=R.BetLimits||R.betLimits||[];if(Array.isArray(ae)&&ae.length>0){const k=ae.find(Kr=>(Kr.Currency||Kr.currency)===ue)||ae[0];r(27,Je=(W=k.Min)!=null?W:k.min),r(28,Ke=(z=k.Max)!=null?z:k.max);const he=k.Currency||k.currency||ue;r(26,Qe=Mn[he]||he)}r(20,_t=Jr(R));const X=R.SeatDetails||R.seatDetails;(X||_t===Ht)&&(Pe=(X==null?void 0:X.TotalSeats)||(X==null?void 0:X.totalSeats)||qn,r(29,Te=(X==null?void 0:X.TakenSeats)||(X==null?void 0:X.takenSeats)||[]),r(33,Ce=Te.length>=Pe),r(25,Jt=Array.from({length:Pe},(k,he)=>(he+1).toString())));const Tt=R.Results||R.results||R.CurrentRouletteNumbers||R.currentRouletteNumbers||[],ce=Et(Tt);r(16,ie=ce.filter(k=>typeof k!="object"&&k!=="")),Be=R.VendorCategory||R.Category||"";const Z=(Be||"").toLowerCase();if(r(30,_e=Z===wr),_e&&Array.isArray(ie)){const k=[];for(let he=0;he<ie.length;he+=2)he+1<ie.length&&k.push([ie[he],ie[he+1]]);r(16,ie=k)}r(32,tr=rt(ir,Z)?or:ar),r(31,et="GameProp LiveProps RoulleteProps"),r(31,et+=_e?" Double":"")}catch(R){console.error("Error while mapping live table data:",R)}},Et=f=>{if(f==null)return[];if(typeof f!="object")return[f];let b=[];if(Array.isArray(f))for(const T of f)b=b.concat(Et(T));else{const T=["Value","value","Number","number","Text","text","Name","name"];let D=!1;for(const L of T)f[L]!==void 0&&f[L]!==null&&(typeof f[L]!="object"?(b.push(f[L]),D=!0):(b=b.concat(Et(f[L])),D=!0));if(!D)for(const L of Object.keys(f))b=b.concat(Et(f[L]))}return b},Qr=f=>Ct(this,null,function*(){const{type:b,data:T}=f;let D;switch(b){case"message":{if(T)try{D=JSON.parse(T)}catch(L){console.error("MESSAGE PARSING ERROR: ",L)}if(D){const{InternalTableId:L,MessageType:W,Results:z,Seats:R,Open:ae}=D;if(L)switch(W){case"SeatsUpdated":{R&&Array.isArray(R)&&(r(29,Te=R),r(15,x.currentOccupiedSeats=R,x),yield nt());break}case"RouletteResultsUpdated":{z&&Array.isArray(z)&&(Kt=z,r(15,x.currentRouletteNumbers=z,x),yield nt());break}case"DoubleBallRouletteResultsUpdated":{z&&Array.isArray(z)&&(er=z,r(15,x.currentDoubleBallRouletteNumbers=z,x),yield nt());break}case"TableOpened":{r(23,be=ae),r(15,x.isOpen=ae,x),yield nt();break}case"TableClosed":{r(23,be=ae),r(15,x.isOpen=ae,x),yield nt();break}}}}}}),Yi=()=>{let f=new URL(`${Xe.split("?")[0]}`);f.searchParams.append("platform",Ul(ne)),f.searchParams.append("language",s),fetch(f).then(b=>b.json()).then(b=>{const{details:T}=b[0];r(15,x=T)})},ur=(f,b=hu)=>f!=null?`${f}`.replace(/\B(?=(\d{3})+(?!\d))/g,b):"",rt=(f,b)=>f.some(T=>T===b),Jr=f=>{let b=null;if(f){const T=f.vendorCategory||f.VendorCategory||f.Category||"",D=(f.TableName||"").toLowerCase(),L=(f.VendorTableId||"").toLowerCase(),W=T.toLowerCase();rt(ki,W)||D.includes("blackjack")||L.includes("bj")||L.includes("bsk")?b=Ht:(rt(ir,W)||D.includes("roulette")||L.includes("roul"))&&(b=Rr)}return b},$i=(f,b,T)=>{let D,L;return f!=null&&b!==void 0&&b!==null&&(L=`
18
+ `,We.MISSING_INTL_API,o);var A=r.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));N=c.options[A]||c.options.other}if(!N)throw new Ln(c.value,m,Object.keys(c.options),o);s.push.apply(s,Pt(N.value,t,r,n,i,m-(c.offset||0)));continue}}return rl(s)}function il(e,t){return t?me(me(me({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=me(me({},e[n]),t[n]||{}),r},{})):e}function al(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=il(e[n],t[n]),r},me({},e)):e}function vr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function ol(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:pr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,dr([void 0],r,!1)))},{cache:vr(e.number),strategy:gr.variadic}),getDateTimeFormat:pr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,dr([void 0],r,!1)))},{cache:vr(e.dateTime),strategy:gr.variadic}),getPluralRules:pr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,dr([void 0],r,!1)))},{cache:vr(e.pluralRules),strategy:gr.variadic})}}var sl=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=a.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(h,m){return!h.length||m.type!==J.literal||typeof h[h.length-1]!="string"?h.push(m.value):h[h.length-1]+=m.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return Pt(a.ast,a.locales,a.formatters,a.formats,l,void 0,a.message)},this.resolvedOptions=function(){var l;return{locale:((l=a.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var s=gs(o,["formatters"]);this.ast=e.__parse(t,me(me({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=al(e.formats,n),this.formatters=i&&i.formatters||ol(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Ks,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function ll(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const a=r.slice(i,r.length).join(".");if(a in n){n=n[a];break}}n=n[r[i]]}else n=void 0;return n}const Ee={},ul=(e,t,r)=>r&&(t in Ee||(Ee[t]={}),e in Ee[t]||(Ee[t][e]=r),r),Pi=(e,t)=>{if(t==null)return;if(t in Ee&&e in Ee[t])return Ee[t][e];const r=Yt(t);for(let n=0;n<r.length;n++){const i=r[n],a=cl(i,e);if(a)return ul(e,t,a)}};let Ur;const gt=Wt({});function fl(e){return Ur[e]||null}function Bi(e){return e in Ur}function cl(e,t){if(!Bi(e))return null;const r=fl(e);return ll(r,t)}function hl(e){if(e==null)return;const t=Yt(e);for(let r=0;r<t.length;r++){const n=t[r];if(Bi(n))return n}}function Hi(e,...t){delete Ee[e],gt.update(r=>(r[e]=ps.all([r[e]||{},...t]),r))}ze([gt],([e])=>Object.keys(e));gt.subscribe(e=>Ur=e);const Bt={};function ml(e,t){Bt[e].delete(t),Bt[e].size===0&&delete Bt[e]}function Ai(e){return Bt[e]}function dl(e){return Yt(e).map(t=>{const r=Ai(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Nr(e){return e==null?!1:Yt(e).some(t=>{var r;return(r=Ai(t))==null?void 0:r.size})}function pl(e,t){return Promise.all(t.map(n=>(ml(e,n),n().then(i=>i.default||i)))).then(n=>Hi(e,...n))}const ot={};function Mi(e){if(!Nr(e))return e in ot?ot[e]:Promise.resolve();const t=dl(e);return ot[e]=Promise.all(t.map(([r,n])=>pl(r,n))).then(()=>{if(Nr(e))return Mi(e);delete ot[e]}),ot[e]}const gl={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"}}},bl={fallbackLocale:null,loadingDelay:200,formats:gl,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},vl=bl;function Ve(){return vl}const yr=Wt(!1);var yl=Object.defineProperty,wl=Object.defineProperties,_l=Object.getOwnPropertyDescriptors,In=Object.getOwnPropertySymbols,xl=Object.prototype.hasOwnProperty,El=Object.prototype.propertyIsEnumerable,Pn=(e,t,r)=>t in e?yl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Tl=(e,t)=>{for(var r in t||(t={}))xl.call(t,r)&&Pn(e,r,t[r]);if(In)for(var r of In(t))El.call(t,r)&&Pn(e,r,t[r]);return e},Cl=(e,t)=>wl(e,_l(t));let Dr;const Ft=Wt(null);function Bn(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Yt(e,t=Ve().fallbackLocale){const r=Bn(e);return t?[...new Set([...r,...Bn(t)])]:r}function Oe(){return Dr!=null?Dr:void 0}Ft.subscribe(e=>{Dr=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Sl=e=>{if(e&&hl(e)&&Nr(e)){const{loadingDelay:t}=Ve();let r;return typeof window!="undefined"&&Oe()!=null&&t?r=window.setTimeout(()=>yr.set(!0),t):yr.set(!0),Mi(e).then(()=>{Ft.set(e)}).finally(()=>{clearTimeout(r),yr.set(!1)})}return Ft.set(e)},Ye=Cl(Tl({},Ft),{set:Sl}),$t=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Gl=Object.defineProperty,kt=Object.getOwnPropertySymbols,Ni=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,Hn=(e,t,r)=>t in e?Gl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,jr=(e,t)=>{for(var r in t||(t={}))Ni.call(t,r)&&Hn(e,r,t[r]);if(kt)for(var r of kt(t))Di.call(t,r)&&Hn(e,r,t[r]);return e},$e=(e,t)=>{var r={};for(var n in e)Ni.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&kt)for(var n of kt(e))t.indexOf(n)<0&&Di.call(e,n)&&(r[n]=e[n]);return r};const ht=(e,t)=>{const{formats:r}=Ve();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ol=$t(e=>{var t=e,{locale:r,format:n}=t,i=$e(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ht("number",n)),new Intl.NumberFormat(r,i)}),Ll=$t(e=>{var t=e,{locale:r,format:n}=t,i=$e(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ht("date",n):Object.keys(i).length===0&&(i=ht("date","short")),new Intl.DateTimeFormat(r,i)}),Il=$t(e=>{var t=e,{locale:r,format:n}=t,i=$e(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ht("time",n):Object.keys(i).length===0&&(i=ht("time","short")),new Intl.DateTimeFormat(r,i)}),Pl=(e={})=>{var t=e,{locale:r=Oe()}=t,n=$e(t,["locale"]);return Ol(jr({locale:r},n))},Bl=(e={})=>{var t=e,{locale:r=Oe()}=t,n=$e(t,["locale"]);return Ll(jr({locale:r},n))},Hl=(e={})=>{var t=e,{locale:r=Oe()}=t,n=$e(t,["locale"]);return Il(jr({locale:r},n))},Al=$t((e,t=Oe())=>new sl(e,t,Ve().formats,{ignoreTag:Ve().ignoreTag})),Ml=(e,t={})=>{var r,n,i,a;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:s,locale:l=Oe(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Pi(e,l);if(!c)c=(a=(i=(n=(r=Ve()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?a:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!s)return c;let h=c;try{h=Al(c,l).format(s)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return h},Nl=(e,t)=>Hl(t).format(e),Dl=(e,t)=>Bl(t).format(e),Rl=(e,t)=>Pl(t).format(e),Fl=(e,t=Oe())=>Pi(e,t),kl=ze([Ye,gt],()=>Ml);ze([Ye],()=>Nl);ze([Ye],()=>Dl);ze([Ye],()=>Rl);ze([Ye,gt],()=>Fl);window.emWidgets={topic:Jo};const ee=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)),Ul=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;function jl(e,t){Hi(e,t)}function Wl(e){Ye.set(e)}const Fe="__WIDGET_GLOBAL_STYLE_CACHE__";function Vl(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function An(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function zl(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Yl(e,t),r;window[Fe]||(window[Fe]={}),r=$l(e,t);const a=r.unsubscribe.bind(r),o=()=>{if(window[Fe][t]){const s=window[Fe][t];s.refCount>1?s.refCount=s.refCount-1:delete window[Fe][t]}a()};return r.unsubscribe=o,r}function Yl(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function $l(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[Fe];let a=i[t]&&i[t].sheet;a?i[t].refCount=i[t].refCount+1:(a=new CSSStyleSheet,a.replaceSync(r),i[t]={sheet:a,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(a)||(n.adoptedStyleSheets=[...o,a])})}const Xl={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"},"en-us":{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},Mn={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 Zl(e,t,r,n=!1){if(window.emMessageBus){const i=n?a=>{!a||typeof a!="object"||Array.isArray(a)||Object.keys(a).forEach(o=>r(o,a[o]))}:r;t=window.emMessageBus.subscribe(e,i)}return t}function ql(e){da(e,"svelte-r2e11f",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameContainer.WithGameName.pb-0:not(.CasinoGamesGridSlider){padding-bottom:0px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 10px)}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameTopContainer{display:flex;gap:10px;margin-left:auto}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 12px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 1s ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #FFF)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px;z-index:20}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoContainer{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:space-between;padding:8px 10px;pointer-events:none;z-index:10;height:100%}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoTop,.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom{display:flex;justify-content:space-between;align-items:center;width:100%;pointer-events:auto;gap:6px;min-width:0}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom{margin-bottom:2px}.GameInnerContainer.HasDisplayGameTiles .InfoTopLeft{display:flex;align-items:center;gap:4px;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.GameInnerContainer.HasDisplayGameTiles .DealerName{font-size:11px;font-weight:600;color:#ffffff;text-shadow:0 1px 3px rgba(0, 0, 0, 0.9);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.GameInnerContainer.HasDisplayGameTiles .CornerPlayers{display:flex;align-items:center;gap:3px;background:rgba(0, 0, 0, 0.75);padding:2px 5px;border-radius:4px;font-size:10px;color:#ffffff;font-weight:600;flex-shrink:0;text-shadow:0 1px 2px rgba(0, 0, 0, 0.9)}.GameInnerContainer.HasDisplayGameTiles .CornerPlayers svg{fill:#ffffff !important;width:10px;height:10px;flex-shrink:0}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons{background:rgba(0, 0, 0, 0.65);padding:2px 4px;border-radius:4px;display:inline-flex !important;flex-direction:row !important;align-items:center !important;gap:2px !important;flex-shrink:1;min-width:0;overflow:hidden}.GameInnerContainer.HasDisplayGameTiles .FullTable{display:inline-flex !important;background:rgba(180, 0, 0, 0.85) !important;color:#ffffff !important;padding:2px 5px !important;border-radius:3px;font-size:9px !important;font-weight:600;white-space:nowrap;text-transform:uppercase}.GameInnerContainer.HasDisplayGameTiles .LatestResult{background:rgba(30, 30, 30, 0.9) !important;border:1px solid rgba(255, 255, 255, 0.3) !important;color:#ffffff !important;padding:1px 3px !important;border-radius:3px;font-size:10px !important;font-weight:bold;min-width:14px;text-align:center;display:inline-block;flex-shrink:0}.GameInnerContainer.HasDisplayGameTiles .OpenSeat,.GameInnerContainer.HasDisplayGameTiles .ClosedSeat{display:inline-flex !important;width:10px !important;height:10px !important;margin:0 1px !important;flex-shrink:0}.GameInnerContainer.HasDisplayGameTiles .OpenSeat svg,.GameInnerContainer.HasDisplayGameTiles .ClosedSeat svg{width:100% !important;height:100% !important}.GameInnerContainer.HasDisplayGameTiles .OpenSeat svg{fill:rgba(255, 255, 255, 0.25) !important;stroke:#ffffff !important;stroke-width:1px}.GameInnerContainer.HasDisplayGameTiles .ClosedSeat svg{fill:#ffffff !important;stroke:#ffffff !important}.GameInnerContainer.HasDisplayGameTiles .CornerRoulette{background:transparent !important;padding:0 !important;min-width:0;overflow:hidden;flex-shrink:1}.GameInnerContainer.HasDisplayGameTiles .CornerLimits{background:rgba(0, 0, 0, 0.75);padding:3px 6px;border-radius:4px;font-size:10px;color:#ffffff;font-weight:500;text-shadow:0 1px 2px rgba(0, 0, 0, 0.9);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:1;min-width:0;max-width:75%;margin-left:auto}.GameInnerContainer:hover,.GameInnerContainer:active{transition:2s;cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1);transition:1s}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}@media(max-width: 768px){.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoContainer{padding:4px 6px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoTop{flex-direction:column !important;align-items:flex-start !important;gap:1px !important}.GameInnerContainer.HasDisplayGameTiles .InfoTopLeft{width:100% !important;max-width:100% !important}.GameInnerContainer.HasDisplayGameTiles .InfoTopRight{align-self:flex-start !important}.GameInnerContainer.HasDisplayGameTiles .DealerName{font-size:10px;white-space:normal !important;word-break:break-word;line-height:1.1}.GameInnerContainer.HasDisplayGameTiles .CornerPlayers{font-size:8.5px;padding:1px 3px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom{flex-direction:column !important;align-items:stretch !important;gap:2px !important;margin-bottom:1px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons{width:100% !important;max-width:100% !important;justify-content:center !important;flex-wrap:wrap !important;overflow:visible !important;background:rgba(0, 0, 0, 0.75) !important;padding:1px 2px !important;border-radius:3px;order:1}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons:empty{display:none !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .LatestResult{font-size:7.5px !important;padding:0px 1px !important;min-width:9px !important;border-width:1px !important;margin:0 0.5px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .Double{display:flex;flex-direction:column;gap:1px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .Double .LatestResult{font-size:7px !important;padding:0px 1px !important;min-width:8px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .FullTable{font-size:7.5px !important;padding:1px 2px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .OpenSeat,.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .ClosedSeat{width:7px !important;height:7px !important;margin:0 0.5px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .CornerLimits{width:100% !important;max-width:100% !important;margin-left:0 !important;text-align:center !important;font-size:9px !important;padding:1px 4px !important;order:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15;margin-left:auto}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transition:2s;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 14px)}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg)}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)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg)}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{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}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px)}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}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}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoContainer{padding-top:5px}}')}function Nn(e,t,r){const n=e.slice();return n[114]=t[r],n[116]=r,n}function Dn(e,t,r){const n=e.slice();return n[111]=t[r],n}function Rn(e){let t,r,n,i=!ee(e[39]),a,o,s=e[38]("playNow")+"",l,u,c,h=i&&Ql();return{c(){t=C("div"),r=C("div"),n=C("button"),h&&h.c(),a=Y(),o=C("span"),l=q(s),p(n,"class","GameInfoBtn"),p(r,"class","GameInfo"),p(t,"class","GameInfoWrapper")},m(m,d){B(m,t,d),w(t,r),w(r,n),h&&h.m(n,null),w(n,a),w(n,o),w(o,l),u||(c=kr(t,"click",e[72]),u=!0)},p(m,d){d[1]&128&&s!==(s=m[38]("playNow")+"")&&re(l,s)},d(m){m&&I(t),h&&h.d(),u=!1,c()}}}function Ql(e){let t,r,n,i,a,o;return{c(){t=oe("svg"),r=oe("g"),n=oe("g"),i=oe("path"),a=oe("path"),o=oe("path"),p(i,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),p(i,"stroke","none"),p(a,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),p(a,"stroke","none"),p(a,"fill","#fff"),p(n,"id","Ellipse_664_copy"),p(n,"data-name","Ellipse 664 copy"),p(n,"transform","translate(26 13)"),p(n,"fill","rgba(249,165,2,0)"),p(o,"id","Rounded_Rectangle_683"),p(o,"data-name","Rounded Rectangle 683"),p(o,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),p(o,"transform","translate(-1102 -885)"),p(o,"fill","#fff"),p(r,"id","Group_5260"),p(r,"data-name","Group 5260"),p(r,"transform","translate(-26 -13)"),p(t,"xmlns","http://www.w3.org/2000/svg"),p(t,"width","28"),p(t,"height","28"),p(t,"viewBox","0 0 28 28")},m(s,l){B(s,t,l),w(t,r),w(r,n),w(n,i),w(n,a),w(r,o)},d(s){s&&I(t)}}}function Jl(e){let t,r,n=e[45](e[35])+"",i,a,o=e[44](e[27],e[28],e[26])+"";return{c(){t=C("div"),r=new ut(!1),i=Y(),a=new ut(!1),r.a=i,a.a=null,p(t,"class","LiveProps")},m(s,l){B(s,t,l),r.m(n,t),w(t,i),a.m(o,t)},p(s,l){l[1]&16&&n!==(n=s[45](s[35])+"")&&r.p(n),l[0]&469762048&&o!==(o=s[44](s[27],s[28],s[26])+"")&&a.p(o)},d(s){s&&I(t)}}}function Kl(e){let t,r,n,i,a,o,s,l,u,c=e[7]&&Fn(e),h=e[8]&&kn(e),m=e[35]&&Un(e),d=e[36]&&jn(e),g=(e[15]||e[13])&&Wn(e),_=e[27]!=null&&$n(e);return{c(){t=C("div"),r=C("div"),c&&c.c(),n=Y(),h&&h.c(),i=Y(),m&&m.c(),a=Y(),o=C("div"),d&&d.c(),s=Y(),l=C("div"),g&&g.c(),u=Y(),_&&_.c(),p(r,"class","InfoTopLeft"),p(o,"class","InfoTopRight"),p(t,"class","GameExtraInfoTop"),p(l,"class","GameExtraInfoBottom")},m(y,E){B(y,t,E),w(t,r),c&&c.m(r,null),w(r,n),h&&h.m(r,null),w(r,i),m&&m.m(r,null),w(t,a),w(t,o),d&&d.m(o,null),B(y,s,E),B(y,l,E),g&&g.m(l,null),w(l,u),_&&_.m(l,null)},p(y,E){y[7]?c?c.p(y,E):(c=Fn(y),c.c(),c.m(r,n)):c&&(c.d(1),c=null),y[8]?h?h.p(y,E):(h=kn(y),h.c(),h.m(r,i)):h&&(h.d(1),h=null),y[35]?m?m.p(y,E):(m=Un(y),m.c(),m.m(r,null)):m&&(m.d(1),m=null),y[36]?d?d.p(y,E):(d=jn(y),d.c(),d.m(o,null)):d&&(d.d(1),d=null),y[15]||y[13]?g?g.p(y,E):(g=Wn(y),g.c(),g.m(l,u)):g&&(g.d(1),g=null),y[27]!=null?_?_.p(y,E):(_=$n(y),_.c(),_.m(l,null)):_&&(_.d(1),_=null)},d(y){y&&(I(t),I(s),I(l)),c&&c.d(),h&&h.d(),m&&m.d(),d&&d.d(),g&&g.d(),_&&_.d()}}}function Fn(e){let t,r=e[38]("new")+"",n;return{c(){t=C("span"),n=q(r),p(t,"class","GameExtraInfoLabel NewGameTag")},m(i,a){B(i,t,a),w(t,n)},p(i,a){a[1]&128&&r!==(r=i[38]("new")+"")&&re(n,r)},d(i){i&&I(t)}}}function kn(e){let t,r;return{c(){t=C("span"),r=q(e[8]),p(t,"class","GameExtraInfoLabel PopularGameTag")},m(n,i){B(n,t,i),w(t,r)},p(n,i){i[0]&256&&re(r,n[8])},d(n){n&&I(t)}}}function Un(e){let t,r=e[38]("dealer")+"",n,i,a;return{c(){t=C("span"),n=q(r),i=q(": "),a=q(e[35]),p(t,"class","DealerName")},m(o,s){B(o,t,s),w(t,n),w(t,i),w(t,a)},p(o,s){s[1]&128&&r!==(r=o[38]("dealer")+"")&&re(n,r),s[1]&16&&re(a,o[35])},d(o){o&&I(t)}}}function jn(e){let t,r,n,i,a,o;return{c(){t=C("span"),r=oe("svg"),n=oe("path"),i=Y(),a=C("span"),o=q(e[36]),p(n,"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"),p(r,"fill","var(--emw--casino-thumbnail-animation-color, #FFFFFF);"),p(r,"width","13"),p(r,"height","13"),p(r,"viewBox","0 0 13 14"),p(r,"xmlns","http://www.w3.org/2000/svg"),p(a,"class","NrOfPlayers"),p(t,"class","BetLimitRight CornerPlayers")},m(s,l){B(s,t,l),w(t,r),w(r,n),w(t,i),w(t,a),w(a,o)},p(s,l){l[1]&32&&re(o,s[36])},d(s){s&&I(t)}}}function Wn(e){let t;function r(a,o){if(!a[23]&&a[21]&&a[22])return ru;if(a[23]&&a[20]&&a[20]===Ht)return tu;if(a[23]&&a[20]&&a[20]===Rr&&a[16]&&a[16].length>0)return eu}let n=r(e),i=n&&n(e);return{c(){i&&i.c(),t=dt()},m(a,o){i&&i.m(a,o),B(a,t,o)},p(a,o){n===(n=r(a))&&i?i.p(a,o):(i&&i.d(1),i=n&&n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&I(t),i&&i.d(a)}}}function eu(e){let t,r,n,i=At(new Array(Qn)),a=[];for(let o=0;o<i.length;o+=1)a[o]=zn(Nn(e,i,o));return{c(){t=C("div"),r=C("div");for(let o=0;o<a.length;o+=1)a[o].c();p(r,"class","LiveIcons"),p(t,"class",n=e[31]+" CornerRoulette")},m(o,s){B(o,t,s),w(t,r);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(r,null);e[73](r)},p(o,s){if(s[0]&1073807360|s[1]&32770){i=At(new Array(Qn));let l;for(l=0;l<i.length;l+=1){const u=Nn(o,i,l);a[l]?a[l].p(u,s):(a[l]=zn(u),a[l].c(),a[l].m(r,null))}for(;l<a.length;l+=1)a[l].d(1);a.length=i.length}s[1]&1&&n!==(n=o[31]+" CornerRoulette")&&p(t,"class",n)},d(o){o&&I(t),ti(a,o),e[73](null)}}}function tu(e){let t,r;function n(o,s){return o[33]?ou:au}let i=n(e),a=i(e);return{c(){t=C("div"),r=C("div"),a.c(),p(r,"class","LiveIcons"),p(t,"class","GameProp LiveProps BlackjackDisplay")},m(o,s){B(o,t,s),w(t,r),a.m(r,null)},p(o,s){i===(i=n(o))&&a?a.p(o,s):(a.d(1),a=i(o),a&&(a.c(),a.m(r,null)))},d(o){o&&I(t),a.d()}}}function ru(e){let t,r=e[38]("opens")+"",n,i,a,o=mn(new Date(e[21]),e[22])+"",s;return{c(){t=C("div"),n=q(r),i=Y(),a=C("span"),s=q(o),p(t,"class","ClosedGame")},m(l,u){B(l,t,u),w(t,n),w(t,i),w(t,a),w(a,s)},p(l,u){u[1]&128&&r!==(r=l[38]("opens")+"")&&re(n,r),u[0]&6291456&&o!==(o=mn(new Date(l[21]),l[22])+"")&&re(s,o)},d(l){l&&I(t)}}}function Vn(e){let t,r;function n(o,s){return s[0]&1073807360&&(t=null),t==null&&(t=!!(o[30]&&Array.isArray(o[16][o[116]])&&o[16][o[116]].length>=2)),t?iu:nu}let i=n(e,[-1,-1,-1,-1]),a=i(e);return{c(){a.c(),r=dt()},m(o,s){a.m(o,s),B(o,r,s)},p(o,s){i===(i=n(o,s))&&a?a.p(o,s):(a.d(1),a=i(o),a&&(a.c(),a.m(r.parentNode,r)))},d(o){o&&I(r),a.d(o)}}}function nu(e){let t,r=e[46](`LatestResult ${e[116]===0?"First":""}`,e[116],Array.isArray(e[16][e[116]])?e[16][e[116]][0]:e[16][e[116]],e[32][Array.isArray(e[16][e[116]])?e[16][e[116]][0]:e[16][e[116]]])+"",n;return{c(){t=new ut(!1),n=dt(),t.a=n},m(i,a){t.m(r,i,a),B(i,n,a)},p(i,a){a[0]&65536|a[1]&2&&r!==(r=i[46](`LatestResult ${i[116]===0?"First":""}`,i[116],Array.isArray(i[16][i[116]])?i[16][i[116]][0]:i[16][i[116]],i[32][Array.isArray(i[16][i[116]])?i[16][i[116]][0]:i[16][i[116]]])+"")&&t.p(r)},d(i){i&&(I(n),t.d())}}}function iu(e){let t,r,n=e[46](`LatestResult ${e[116]===0?"First":""}`,`first${e[116]}${e[16][e[116]][0]}`,e[16][e[116]][0],e[32][e[16][e[116]][0]])+"",i,a,o=e[46](`LatestResult ${e[116]===0?"First":""}`,`second${e[116]}${e[16][e[116]][1]}`,e[16][e[116]][1],e[32][e[16][e[116]][1]])+"",s;return{c(){t=C("div"),r=new ut(!1),i=Y(),a=new ut(!1),s=Y(),r.a=i,a.a=s,p(t,"class","Double")},m(l,u){B(l,t,u),r.m(n,t),w(t,i),a.m(o,t),w(t,s)},p(l,u){u[0]&65536|u[1]&2&&n!==(n=l[46](`LatestResult ${l[116]===0?"First":""}`,`first${l[116]}${l[16][l[116]][0]}`,l[16][l[116]][0],l[32][l[16][l[116]][0]])+"")&&r.p(n),u[0]&65536|u[1]&2&&o!==(o=l[46](`LatestResult ${l[116]===0?"First":""}`,`second${l[116]}${l[16][l[116]][1]}`,l[16][l[116]][1],l[32][l[16][l[116]][1]])+"")&&a.p(o)},d(l){l&&I(t)}}}function zn(e){let t,r=e[16][e[116]]!==void 0&&Vn(e);return{c(){r&&r.c(),t=dt()},m(n,i){r&&r.m(n,i),B(n,t,i)},p(n,i){n[16][n[116]]!==void 0?r?r.p(n,i):(r=Vn(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&I(t),r&&r.d(n)}}}function au(e){let t,r=At(e[25]),n=[];for(let i=0;i<r.length;i+=1)n[i]=Yn(Dn(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=dt()},m(i,a){for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(i,a);B(i,t,a)},p(i,a){if(a[0]&570425344|a[1]&4096){r=At(i[25]);let o;for(o=0;o<r.length;o+=1){const s=Dn(i,r,o);n[o]?n[o].p(s,a):(n[o]=Yn(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(i){i&&I(t),ti(n,i)}}}function ou(e){let t,r=e[38]("full")+"",n;return{c(){t=C("span"),n=q(r),p(t,"class","FullTable")},m(i,a){B(i,t,a),w(t,n)},p(i,a){a[1]&128&&r!==(r=i[38]("full")+"")&&re(n,r)},d(i){i&&I(t)}}}function Yn(e){let t,r,n,i,a,o;return{c(){t=C("span"),r=oe("svg"),n=oe("path"),i=oe("path"),a=Y(),p(n,"d","M11.58 6c-1.7 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"),p(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),p(r,"xmlns","http://www.w3.org/2000/svg"),p(r,"width","13"),p(r,"height","14"),p(r,"viewBox","0 0 13 14"),p(t,"class",o=e[43](e[29],e[111].toString())?"ClosedSeat":"OpenSeat")},m(s,l){B(s,t,l),w(t,r),w(r,n),w(r,i),w(t,a)},p(s,l){l[0]&570425344&&o!==(o=s[43](s[29],s[111].toString())?"ClosedSeat":"OpenSeat")&&p(t,"class",o)},d(s){s&&I(t)}}}function $n(e){let t,r,n,i,a=e[42](e[27])+"",o,s=e[28]!=null?` - ${e[42](e[28])}`:"+",l;return{c(){t=C("div"),r=C("span"),n=q(e[26]),i=Y(),o=q(a),l=q(s),p(t,"class","CornerLimits")},m(u,c){B(u,t,c),w(t,r),w(r,n),w(t,i),w(t,o),w(t,l)},p(u,c){c[0]&67108864&&re(n,u[26]),c[0]&134217728&&a!==(a=u[42](u[27])+"")&&re(o,a),c[0]&268435456&&s!==(s=u[28]!=null?` - ${u[42](u[28])}`:"+")&&re(l,s)},d(u){u&&I(t)}}}function su(e){let t;return{c(){t=C("div"),t.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',p(t,"class","FavIconContainer")},m(r,n){B(r,t,n)},p:te,d(r){r&&I(t)}}}function lu(e){let t,r,n=e[5]&&Xn(e);function i(s,l){if(s[0]&&s[18]&&s[2]==="true")return fu;if(!s[0]&&s[18]&&s[2]==="true")return uu}let a=i(e),o=a&&a(e);return{c(){t=C("div"),n&&n.c(),r=Y(),o&&o.c(),p(t,"class","GameTopContainer")},m(s,l){B(s,t,l),n&&n.m(t,null),w(t,r),o&&o.m(t,null)},p(s,l){s[5]?n?n.p(s,l):(n=Xn(s),n.c(),n.m(t,r)):n&&(n.d(1),n=null),a===(a=i(s))&&o?o.p(s,l):(o&&o.d(1),o=a&&a(s),o&&(o.c(),o.m(t,null)))},d(s){s&&I(t),n&&n.d(),o&&o.d()}}}function Xn(e){let t;return{c(){t=C("span"),p(t,"class","GameInfoVendor"),on(t,"background-image","url("+e[5]+")")},m(r,n){B(r,t,n)},p(r,n){n[0]&32&&on(t,"background-image","url("+r[5]+")")},d(r){r&&I(t)}}}function uu(e){let t,r,n;return{c(){t=C("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',p(t,"class","FavIconContainer")},m(i,a){B(i,t,a),r||(n=kr(t,"click",e[75]),r=!0)},p:te,d(i){i&&I(t),r=!1,n()}}}function fu(e){let t,r,n;return{c(){t=C("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',p(t,"class","FavIconContainer")},m(i,a){B(i,t,a),r||(n=kr(t,"click",e[74]),r=!0)},p:te,d(i){i&&I(t),r=!1,n()}}}function Zn(e){let t,r;return{c(){t=C("p"),r=q(e[4]),p(t,"class","GameNameBelow"),p(t,"title",e[4])},m(n,i){B(n,t,i),w(t,r)},p(n,i){i[0]&16&&re(r,n[4]),i[0]&16&&p(t,"title",n[4])},d(n){n&&I(t)}}}function cu(e){let t,r,n,i,a,o,s,l,u,c,h,m,d,g=e[1]&&Rn(e);function _(v,M){if(v[12]==="true")return Kl;if(v[15]||v[13])return Jl}let y=_(e),E=y&&y(e);function F(v,M){if(M[0]&4096&&(c=null),c==null&&(c=!ee(v[39])&&v[12]==="false"),c)return lu;if(v[0]&&v[18]&&v[2]==="true"&&v[12]==="false")return su}let N=F(e,[-1,-1,-1,-1]),A=N&&N(e),P=e[10]==="true"&&Zn(e);return{c(){var v;t=C("div"),r=C("div"),n=C("ui-image"),o=Y(),g&&g.c(),s=Y(),l=C("div"),E&&E.c(),u=Y(),A&&A.c(),m=Y(),P&&P.c(),an(n.src,i=e[37])||Ae(n,"src",i),Ae(n,"class",a=`GameBg GameBg-${e[9]}`),Ae(n,"alt","Game thumbnail"),Ae(n,"loading","lazy"),p(l,"class","GameExtraInfoContainer"),p(r,"class",h="GameInnerContainer "+(e[15]&&!e[23]&&((v=e[24])!=null&&v.value)||e[15]&&e[33]?"GameInnerContainerUnavailable":"")+" "+(e[12]==="true"?"HasDisplayGameTiles":"")),p(t,"class",d=`GameContainer ${e[34]} ${e[11]=="true"?"CasinoGamesGridSlider":""} ${e[3]&&ee(e[39])?"pb-0":""}`),sn(t,"WithGameName",e[10])},m(v,M){B(v,t,M),w(t,r),w(r,n),e[71](n),w(r,o),g&&g.m(r,null),w(r,s),w(r,l),E&&E.m(l,null),w(l,u),A&&A.m(l,null),w(t,m),P&&P.m(t,null),e[76](t)},p(v,M){var pe;M[1]&64&&!an(n.src,i=v[37])&&Ae(n,"src",i),M[0]&512&&a!==(a=`GameBg GameBg-${v[9]}`)&&Ae(n,"class",a),v[1]?g?g.p(v,M):(g=Rn(v),g.c(),g.m(r,s)):g&&(g.d(1),g=null),y===(y=_(v))&&E?E.p(v,M):(E&&E.d(1),E=y&&y(v),E&&(E.c(),E.m(l,u))),N===(N=F(v,M))&&A?A.p(v,M):(A&&A.d(1),A=N&&N(v),A&&(A.c(),A.m(l,null))),M[0]&25202688|M[1]&4&&h!==(h="GameInnerContainer "+(v[15]&&!v[23]&&((pe=v[24])!=null&&pe.value)||v[15]&&v[33]?"GameInnerContainerUnavailable":"")+" "+(v[12]==="true"?"HasDisplayGameTiles":""))&&p(r,"class",h),v[10]==="true"?P?P.p(v,M):(P=Zn(v),P.c(),P.m(t,null)):P&&(P.d(1),P=null),M[0]&2056|M[1]&8&&d!==(d=`GameContainer ${v[34]} ${v[11]=="true"?"CasinoGamesGridSlider":""} ${v[3]&&ee(v[39])?"pb-0":""}`)&&p(t,"class",d),M[0]&3080|M[1]&8&&sn(t,"WithGameName",v[10])},i:te,o:te,d(v){v&&I(t),e[71](null),g&&g.d(),E&&E.d(),A&&A.d(),P&&P.d(),e[76](null)}}}const Ht="blackjack",Rr="roulette",wr="doubleballroulette",qn=7,hu=",",Qn=5;function mu(e,t,r){let n,i;ma(e,kl,f=>r(38,i=f));let{session:a=""}=t,{userid:o=""}=t,{lang:s="en"}=t,{clientstyling:l=""}=t,{mbsource:u}=t,{clientstylingurl:c=""}=t,{translationurl:h=""}=t,{favorites:m=""}=t,{gamethumbnail:d=""}=t,{icon:g}=t,{gamename:_=""}=t,{gamevendor:y=""}=t,{gamelaunchurl:E=""}=t,{gameid:F=""}=t,{gameisnew:N=!1}=t,{gametag:A=""}=t,{gamefunmode:P=!1}=t,{gamefavorite:v=!1}=t,{gamecellsize:M=""}=t,{showfavoredcategory:pe=!1}=t,{showgamename:bt=""}=t,{currency:ue=""}=t,{gamepagemodalurl:V="false"}=t,{endpoint:Q=""}=t,{categoryid:ge=""}=t,{livelobbyendpoint:Xe=""}=t,{connectlive:Le=""}=t,{visibilityconnect:Ze=""}=t,{integratedgameframedesktop:vt="false"}=t,{integratedgameframemobile:Ie="false"}=t,{casinogamesgridslider:Wr="false"}=t,{allowsingleclickgameentry:Xt="false"}=t,{livelobbydataendpoint:Vr=""}=t,{displaygametiles:zr=""}=t,{livetabledata:se="false"}=t,yt=!1,Zt,wt,qe,Fi,qt,ne=window.navigator.userAgent,fe,x,ye,_t,xt,Qt="HH:mm",be,we,Jt=[],Qe="EUR",Je,Ke,Pe,Te,Kt,er,Be,_e,ie,et,tr,Ce,rr,le="",tt,nr,He;const ki=[Ht],ir=[Rr,wr],ar={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},or={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"},sr=f=>{Object.keys(f).forEach(b=>{jl(b,f[b])})},Ui=()=>{fetch(h).then(b=>b.json()).then(b=>{sr(b)}).catch(b=>{console.log(b)})};sr(Xl);const Yr=f=>{f.data.type===`AddFavoriteThumbnail_${F}`&&!pe&&r(0,v=!0),f.data.type===`RemoveFavoriteThumbnail_${F}`&&!pe&&r(0,v=!1),f.data.type==="UserSessionID"&&(r(18,yt=!0),Zt=f.data.session,wt=f.data.userID),f.data.type==="CategoryUpdate"&&r(15,x=null)},$r=f=>{if(window.postMessage({type:"SearchedItemClicked",gameId:f},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${f}`,userId:`${wt||"Not logged in"}`}),ee(ne)&&Xt==="true"&&yt){ji(f);return}if(ee(ne)&&Ie=="true"){window.postMessage({type:"OpenGameFrame",gameId:f,gamefunmode:P,gamepagemodalurl:V,isMobile:ee(ne),source:"GameThumbnail",identifier:"Lobby",subVendor:y,launchUrl:E},window.location.href);return}if(ee(ne)&&Ie=="false"){window.postMessage({type:"ShowGameModal",gameId:f,isMobile:ee(ne)},window.location.href);return}!ee(ne)&&vt=="true"?window.postMessage({type:"OpenGameFrame",gameId:f,gamefunmode:P,gamepagemodalurl:V,isMobile:ee(ne),identifier:"Lobby",subVendor:y,launchUrl:E},window.location.href):!ee(ne)&&vt=="false"&&window.postMessage({type:"ShowGameModal",gameId:f,isMobile:ee(ne)},window.location.href)},ji=f=>Ct(this,null,function*(){let b=new URL(`${Q}/v1/casino/games/${f}`);b.searchParams.append("language",s),b.searchParams.append("expand","vendor");const L=(yield(yield fetch(b.href)).json())[0],j=new URL(L.launchUrl);j.searchParams.append("_sid",Zt),j.searchParams.append("funMode","false"),Ie==="false"?window.open(j,"_blank"):Ie==="true"&&window.postMessage({type:"OpenIntegratedGameFrame",subVendor:L.subVendor,gameId:L.id,launchUrl:j==null?void 0:j.href},window.location.href)}),lr=f=>{v?window.postMessage({type:`SetUnfavoredGame${ge}`,id:f},window.location.href):window.postMessage({type:`SetFavoredGame${ge}`,id:f},window.location.href)},Wi=()=>{Wl(s)},Vi=()=>{r(18,yt=!0),Zt=a,wt=o},zi=(f,b)=>`${Q}/v1/encoder/lobby/updates/${f}/${b}`,Xr=()=>{Xe&&EventSource&&!ye&&y&&F&&(ye=new EventSource(zi(y,F)),ye.addEventListener("message",Qr))},Zr=()=>{ye&&(ye.close(),ye=void 0)},qr=()=>{var f,b,T,D,L,j,z;if(se)try{const R=typeof se=="string"?JSON.parse(se):se;r(23,be=(f=R.IsOpen)!=null?f:!0),r(35,nr=((b=R.Dealer)==null?void 0:b.DealerName)||((T=R.dealer)==null?void 0:T.dealerName)||""),r(36,He=(L=(D=R.Players)!=null?D:R.NumberOfPlayers)!=null?L:0),r(27,Je=null),r(28,Ke=null),r(26,Qe="");const ae=R.BetLimits||R.betLimits||[];if(Array.isArray(ae)&&ae.length>0){const k=ae.find(Kr=>(Kr.Currency||Kr.currency)===ue)||ae[0];r(27,Je=(j=k.Min)!=null?j:k.min),r(28,Ke=(z=k.Max)!=null?z:k.max);const he=k.Currency||k.currency||ue;r(26,Qe=Mn[he]||he)}r(20,_t=Jr(R));const X=R.SeatDetails||R.seatDetails;(X||_t===Ht)&&(Pe=(X==null?void 0:X.TotalSeats)||(X==null?void 0:X.totalSeats)||qn,r(29,Te=(X==null?void 0:X.TakenSeats)||(X==null?void 0:X.takenSeats)||[]),r(33,Ce=Te.length>=Pe),r(25,Jt=Array.from({length:Pe},(k,he)=>(he+1).toString())));const Tt=R.Results||R.results||R.CurrentRouletteNumbers||R.currentRouletteNumbers||[],ce=Et(Tt);r(16,ie=ce.filter(k=>typeof k!="object"&&k!=="")),Be=R.VendorCategory||R.Category||"";const Z=(Be||"").toLowerCase();if(r(30,_e=Z===wr),_e&&Array.isArray(ie)){const k=[];for(let he=0;he<ie.length;he+=2)he+1<ie.length&&k.push([ie[he],ie[he+1]]);r(16,ie=k)}r(32,tr=rt(ir,Z)?or:ar),r(31,et="GameProp LiveProps RoulleteProps"),r(31,et+=_e?" Double":"")}catch(R){console.error("Error while mapping live table data:",R)}},Et=f=>{if(f==null)return[];if(typeof f!="object")return[f];let b=[];if(Array.isArray(f))for(const T of f)b=b.concat(Et(T));else{const T=["Value","value","Number","number","Text","text","Name","name"];let D=!1;for(const L of T)f[L]!==void 0&&f[L]!==null&&(typeof f[L]!="object"?(b.push(f[L]),D=!0):(b=b.concat(Et(f[L])),D=!0));if(!D)for(const L of Object.keys(f))b=b.concat(Et(f[L]))}return b},Qr=f=>Ct(this,null,function*(){const{type:b,data:T}=f;let D;switch(b){case"message":{if(T)try{D=JSON.parse(T)}catch(L){console.error("MESSAGE PARSING ERROR: ",L)}if(D){const{InternalTableId:L,MessageType:j,Results:z,Seats:R,Open:ae}=D;if(L)switch(j){case"SeatsUpdated":{R&&Array.isArray(R)&&(r(29,Te=R),r(15,x.currentOccupiedSeats=R,x),yield nt());break}case"RouletteResultsUpdated":{z&&Array.isArray(z)&&(Kt=z,r(15,x.currentRouletteNumbers=z,x),yield nt());break}case"DoubleBallRouletteResultsUpdated":{z&&Array.isArray(z)&&(er=z,r(15,x.currentDoubleBallRouletteNumbers=z,x),yield nt());break}case"TableOpened":{r(23,be=ae),r(15,x.isOpen=ae,x),yield nt();break}case"TableClosed":{r(23,be=ae),r(15,x.isOpen=ae,x),yield nt();break}}}}}}),Yi=()=>{let f=new URL(`${Xe.split("?")[0]}`);f.searchParams.append("platform",Ul(ne)),f.searchParams.append("language",s),fetch(f).then(b=>b.json()).then(b=>{const{details:T}=b[0];r(15,x=T)})},ur=(f,b=hu)=>f!=null?`${f}`.replace(/\B(?=(\d{3})+(?!\d))/g,b):"",rt=(f,b)=>f.some(T=>T===b),Jr=f=>{let b=null;if(f){const T=f.vendorCategory||f.VendorCategory||f.Category||"",D=(f.TableName||"").toLowerCase(),L=(f.VendorTableId||"").toLowerCase(),j=T.toLowerCase();rt(ki,j)||D.includes("blackjack")||L.includes("bj")||L.includes("bsk")?b=Ht:(rt(ir,j)||D.includes("roulette")||L.includes("roul"))&&(b=Rr)}return b},$i=(f,b,T)=>{let D,L;return f!=null&&b!==void 0&&b!==null&&(L=`
19
19
  <span>
20
20
  ${T}
21
21
  </span>
@@ -33,7 +33,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
33
33
  <p class="LiveLimits">
34
34
  <span class="DealerName">${i("dealer")}: ${f}</span>
35
35
  </p>
36
- `:"",Zi=f=>{Pe=f.totalSeats||qn,r(29,Te=f.currentOccupiedSeats||[]);const b=[];for(let T=1;T<=Pe;T++)b.push(T);return{seats:b}},qi=(f,b,T,D="")=>{const L=`${f} ${D}`,W=b.toString().match(/first0|second0|0/g);return b===0||W&&W.length!==0?`
36
+ `:"",Zi=f=>{Pe=f.totalSeats||qn,r(29,Te=f.currentOccupiedSeats||[]);const b=[];for(let T=1;T<=Pe;T++)b.push(T);return{seats:b}},qi=(f,b,T,D="")=>{const L=`${f} ${D}`,j=b.toString().match(/first0|second0|0/g);return b===0||j&&j.length!==0?`
37
37
  <span
38
38
  id=${b}
39
39
  class="${L}"
@@ -44,4 +44,4 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
44
44
  <span id=${b} class="${L}">
45
45
  ${T}
46
46
  </span>
47
- `},Qi=()=>{const f="FirstElementAnimated",b=tt.getElementsByClassName("First")[0];b&&(b.classList.add(f),setTimeout(()=>{b.classList.remove(f)},2e3))},Ji=()=>{var f,b,T,D,L;if(x&&Object.keys(x).length>0){r(23,be=(b=(f=x.isOpen)!=null?f:x.IsOpen)!=null?b:be);const W=x.betLimit||x.BetLimits;if(W){const Z=(W.min||W.Min||{})[ue],k=(W.max||W.Max||{})[ue];Z!=null&&r(27,Je=Z),k!=null&&r(28,Ke=k)}r(24,we=(x==null?void 0:x.openHours)||(x==null?void 0:x.OpenHours)||we);const z=Zi(x);if(z!=null&&z.seats&&Array.isArray(z.seats)&&z.seats.length>0&&r(25,Jt=z.seats),we&&(we!=null&&we.value)){const{value:{startTime:Z,originalTimeFormat:k}}=we;r(21,xt=Z||xt),r(22,Qt=k||Qt)}if(be){const Z=Jr(x);Z&&r(20,_t=Z)}r(26,Qe=Mn[ue]||Qe);const R=x.currentRouletteNumbers||x.CurrentRouletteNumbers;R&&(Kt=R);const ae=x.currentDoubleBallRouletteNumbers||x.CurrentDoubleBallRouletteNumbers;ae&&(er=ae);const X=x.vendorCategory||x.VendorCategory;X&&(Be=X);const Tt=Be!=null&&typeof Be=="string"?Be.toLowerCase():"";r(30,_e=Tt===wr);let ce=(_e?er:Kt)||ie||[];if(_e&&Array.isArray(ce)&&ce.length>0&&!Array.isArray(ce[0])){const Z=[];for(let k=0;k<ce.length;k+=2)k+1<ce.length&&Z.push([ce[k],ce[k+1]]);r(16,ie=Z)}else r(16,ie=ce);if(r(31,et="GameProp LiveProps RoulleteProps"),r(31,et+=_e?" Double":""),r(32,tr=rt(ir,Tt)?or:ar),rr=Ce,r(33,Ce=Array.isArray(Te)&&Te.length===Pe),x.dealer){const Z=x.dealer.DealerName||x.dealer.dealerName;Z&&r(35,nr=Z)}r(36,He=(L=(D=(T=x.numberOfPlayers)!=null?T:x.Players)!=null?D:x.NumberOfPlayers)!=null?L:He),r(34,le="ListGame"),x.isOpen&&x.currentRouletteNumbers&&r(34,le+=" GameBackdrop"),be&&Ce&&Je&&Ke&&x.currentOccupiedSeats?r(34,le+=" GameContainerDimmed"):be===!1&&xt&&r(34,le+=" GameContainerFullyDimmed"),fe&&(!rr&&Ce?(r(34,le+=" PulsatingRedShadow"),r(34,le=le.replace(" PulsatingGreenShadow",""))):rr&&!Ce&&(r(34,le+=" PulsatingGreenShadow"),r(34,le=le.replace(" PulsatingRedShadow",""))))}},Ki=()=>{Le==="disconnect"?Zr():Le==="connect"&&Xr()},ea=()=>{Ze==="disconnect"?Zr():Ze==="connect"&&Le==="connect"&&Xr()};wa(()=>(qr(),window.addEventListener("message",Yr,!1),()=>{qe&&qe.unsubscribe(),window.removeEventListener("message",Yr),ye&&ye.removeEventListener("message",Qr)}));function ta(f){lt[f?"unshift":"push"](()=>{qt=f,r(19,qt)})}const ra=()=>$r(F);function na(f){lt[f?"unshift":"push"](()=>{tt=f,r(17,tt)})}const ia=()=>lr(F),aa=()=>lr(F);function oa(f){lt[f?"unshift":"push"](()=>{fe=f,r(14,fe)})}return e.$$set=f=>{"session"in f&&r(47,a=f.session),"userid"in f&&r(48,o=f.userid),"lang"in f&&r(1,s=f.lang),"clientstyling"in f&&r(49,l=f.clientstyling),"mbsource"in f&&r(50,u=f.mbsource),"clientstylingurl"in f&&r(51,c=f.clientstylingurl),"translationurl"in f&&r(52,h=f.translationurl),"favorites"in f&&r(2,m=f.favorites),"gamethumbnail"in f&&r(53,d=f.gamethumbnail),"icon"in f&&r(3,g=f.icon),"gamename"in f&&r(4,_=f.gamename),"gamevendor"in f&&r(5,y=f.gamevendor),"gamelaunchurl"in f&&r(54,E=f.gamelaunchurl),"gameid"in f&&r(6,F=f.gameid),"gameisnew"in f&&r(7,N=f.gameisnew),"gametag"in f&&r(8,A=f.gametag),"gamefunmode"in f&&r(55,P=f.gamefunmode),"gamefavorite"in f&&r(0,v=f.gamefavorite),"gamecellsize"in f&&r(9,M=f.gamecellsize),"showfavoredcategory"in f&&r(56,pe=f.showfavoredcategory),"showgamename"in f&&r(10,bt=f.showgamename),"currency"in f&&r(57,ue=f.currency),"gamepagemodalurl"in f&&r(58,V=f.gamepagemodalurl),"endpoint"in f&&r(59,Q=f.endpoint),"categoryid"in f&&r(60,ge=f.categoryid),"livelobbyendpoint"in f&&r(61,Xe=f.livelobbyendpoint),"connectlive"in f&&r(62,Le=f.connectlive),"visibilityconnect"in f&&r(63,Ze=f.visibilityconnect),"integratedgameframedesktop"in f&&r(64,vt=f.integratedgameframedesktop),"integratedgameframemobile"in f&&r(65,Ie=f.integratedgameframemobile),"casinogamesgridslider"in f&&r(11,jr=f.casinogamesgridslider),"allowsingleclickgameentry"in f&&r(66,Xt=f.allowsingleclickgameentry),"livelobbydataendpoint"in f&&r(67,Vr=f.livelobbydataendpoint),"displaygametiles"in f&&r(12,zr=f.displaygametiles),"livetabledata"in f&&r(13,se=f.livetabledata)},e.$$.update=()=>{e.$$.dirty[2]&1&&Le&&Ki(),e.$$.dirty[2]&2&&Ze&&ea(),e.$$.dirty[0]&2&&s&&ji(),e.$$.dirty[1]&268632064&&a&&o&&Q&&Vi(),e.$$.dirty[0]&16384|e.$$.dirty[1]&262144&&l&&fe&&Vl(fe,l),e.$$.dirty[0]&16384|e.$$.dirty[1]&1048576&&c&&fe&&An(fe,c),e.$$.dirty[0]&16384|e.$$.dirty[1]&524288|e.$$.dirty[2]&256&&u&&fe&&r(70,qe=zl(fe,`${u}.Style`,qe,!0)),e.$$.dirty[1]&2621440&&u&&!h&&Zl(`${u}.Translation`,Fi,sr),e.$$.dirty[0]&4,e.$$.dirty[1]&2097152&&h&&Ui(),e.$$.dirty[0]&512|e.$$.dirty[1]&1048576&&M&&c&&An(),e.$$.dirty[1]&1342177280&&Q&&Xe&&Yi(),e.$$.dirty[0]&32768&&x&&Ji(),e.$$.dirty[0]&196608&&tt&&ie&&Qi(),e.$$.dirty[0]&8200|e.$$.dirty[1]&4194304&&r(37,n=(()=>{var f,b;if(se)try{const T=typeof se=="string"?JSON.parse(se):se,D=((b=(f=T==null?void 0:T.VideoSnapshot)==null?void 0:f.Thumbnails)==null?void 0:b.Medium)||(T==null?void 0:T.Image)||(T==null?void 0:T.TableImage);if(D)return D}catch(T){}return g&&ee(ne)?g:d})()),e.$$.dirty[0]&8192|e.$$.dirty[1]&67108864&&(se||ue)&&qr()},[v,s,m,g,_,y,F,N,A,M,bt,jr,zr,se,fe,x,ie,tt,yt,qt,_t,xt,Qt,be,we,Jt,Qe,Je,Ke,Te,_e,et,tr,Ce,le,nr,He,n,i,ne,$r,lr,ur,rt,$i,Xi,qi,a,o,l,u,c,h,d,E,P,pe,ue,V,Q,ge,Xe,Le,Ze,vt,Ie,Xt,Vr,ar,or,qe,ta,ra,na,ia,aa,oa]}class Ri extends Ia{constructor(t){super(),Oa(this,t,mu,cu,Kn,{session:47,userid:48,lang:1,clientstyling:49,mbsource:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:53,icon:3,gamename:4,gamevendor:5,gamelaunchurl:54,gameid:6,gameisnew:7,gametag:8,gamefunmode:55,gamefavorite:0,gamecellsize:9,showfavoredcategory:56,showgamename:10,currency:57,gamepagemodalurl:58,endpoint:59,categoryid:60,livelobbyendpoint:61,connectlive:62,visibilityconnect:63,integratedgameframedesktop:64,integratedgameframemobile:65,casinogamesgridslider:11,allowsingleclickgameentry:66,livelobbydataendpoint:67,displaygametiles:12,livetabledata:13,MONEY_WHEEL_COLOR_MAP:68,ROULETTE_COLOR_MAP:69},ql,[-1,-1,-1,-1])}get session(){return this.$$.ctx[47]}set session(t){this.$$set({session:t}),S()}get userid(){return this.$$.ctx[48]}set userid(t){this.$$set({userid:t}),S()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),S()}get clientstyling(){return this.$$.ctx[49]}set clientstyling(t){this.$$set({clientstyling:t}),S()}get mbsource(){return this.$$.ctx[50]}set mbsource(t){this.$$set({mbsource:t}),S()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),S()}get translationurl(){return this.$$.ctx[52]}set translationurl(t){this.$$set({translationurl:t}),S()}get favorites(){return this.$$.ctx[2]}set favorites(t){this.$$set({favorites:t}),S()}get gamethumbnail(){return this.$$.ctx[53]}set gamethumbnail(t){this.$$set({gamethumbnail:t}),S()}get icon(){return this.$$.ctx[3]}set icon(t){this.$$set({icon:t}),S()}get gamename(){return this.$$.ctx[4]}set gamename(t){this.$$set({gamename:t}),S()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(t){this.$$set({gamevendor:t}),S()}get gamelaunchurl(){return this.$$.ctx[54]}set gamelaunchurl(t){this.$$set({gamelaunchurl:t}),S()}get gameid(){return this.$$.ctx[6]}set gameid(t){this.$$set({gameid:t}),S()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(t){this.$$set({gameisnew:t}),S()}get gametag(){return this.$$.ctx[8]}set gametag(t){this.$$set({gametag:t}),S()}get gamefunmode(){return this.$$.ctx[55]}set gamefunmode(t){this.$$set({gamefunmode:t}),S()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(t){this.$$set({gamefavorite:t}),S()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(t){this.$$set({gamecellsize:t}),S()}get showfavoredcategory(){return this.$$.ctx[56]}set showfavoredcategory(t){this.$$set({showfavoredcategory:t}),S()}get showgamename(){return this.$$.ctx[10]}set showgamename(t){this.$$set({showgamename:t}),S()}get currency(){return this.$$.ctx[57]}set currency(t){this.$$set({currency:t}),S()}get gamepagemodalurl(){return this.$$.ctx[58]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),S()}get endpoint(){return this.$$.ctx[59]}set endpoint(t){this.$$set({endpoint:t}),S()}get categoryid(){return this.$$.ctx[60]}set categoryid(t){this.$$set({categoryid:t}),S()}get livelobbyendpoint(){return this.$$.ctx[61]}set livelobbyendpoint(t){this.$$set({livelobbyendpoint:t}),S()}get connectlive(){return this.$$.ctx[62]}set connectlive(t){this.$$set({connectlive:t}),S()}get visibilityconnect(){return this.$$.ctx[63]}set visibilityconnect(t){this.$$set({visibilityconnect:t}),S()}get integratedgameframedesktop(){return this.$$.ctx[64]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),S()}get integratedgameframemobile(){return this.$$.ctx[65]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),S()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),S()}get allowsingleclickgameentry(){return this.$$.ctx[66]}set allowsingleclickgameentry(t){this.$$set({allowsingleclickgameentry:t}),S()}get livelobbydataendpoint(){return this.$$.ctx[67]}set livelobbydataendpoint(t){this.$$set({livelobbydataendpoint:t}),S()}get displaygametiles(){return this.$$.ctx[12]}set displaygametiles(t){this.$$set({displaygametiles:t}),S()}get livetabledata(){return this.$$.ctx[13]}set livetabledata(t){this.$$set({livetabledata:t}),S()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[68]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[69]}}La(Ri,{session:{},userid:{},lang:{},clientstyling:{},mbsource:{},clientstylingurl:{},translationurl:{},favorites:{},gamethumbnail:{},icon:{},gamename:{},gamevendor:{},gamelaunchurl:{},gameid:{},gameisnew:{type:"Boolean"},gametag:{},gamefunmode:{type:"Boolean"},gamefavorite:{type:"Boolean"},gamecellsize:{},showfavoredcategory:{type:"Boolean"},showgamename:{},currency:{},gamepagemodalurl:{},endpoint:{},categoryid:{},livelobbyendpoint:{},connectlive:{},visibilityconnect:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinogamesgridslider:{},allowsingleclickgameentry:{},livelobbydataendpoint:{},displaygametiles:{},livetabledata:{}},[],["MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"],!0);exports.default=Ri;
47
+ `},Qi=()=>{const f="FirstElementAnimated",b=tt.getElementsByClassName("First")[0];b&&(b.classList.add(f),setTimeout(()=>{b.classList.remove(f)},2e3))},Ji=()=>{var f,b,T,D,L;if(x&&Object.keys(x).length>0){r(23,be=(b=(f=x.isOpen)!=null?f:x.IsOpen)!=null?b:be);const j=x.betLimit||x.BetLimits;if(j){const Z=(j.min||j.Min||{})[ue],k=(j.max||j.Max||{})[ue];Z!=null&&r(27,Je=Z),k!=null&&r(28,Ke=k)}r(24,we=(x==null?void 0:x.openHours)||(x==null?void 0:x.OpenHours)||we);const z=Zi(x);if(z!=null&&z.seats&&Array.isArray(z.seats)&&z.seats.length>0&&r(25,Jt=z.seats),we&&(we!=null&&we.value)){const{value:{startTime:Z,originalTimeFormat:k}}=we;r(21,xt=Z||xt),r(22,Qt=k||Qt)}if(be){const Z=Jr(x);Z&&r(20,_t=Z)}r(26,Qe=Mn[ue]||Qe);const R=x.currentRouletteNumbers||x.CurrentRouletteNumbers;R&&(Kt=R);const ae=x.currentDoubleBallRouletteNumbers||x.CurrentDoubleBallRouletteNumbers;ae&&(er=ae);const X=x.vendorCategory||x.VendorCategory;X&&(Be=X);const Tt=Be!=null&&typeof Be=="string"?Be.toLowerCase():"";r(30,_e=Tt===wr);let ce=(_e?er:Kt)||ie||[];if(_e&&Array.isArray(ce)&&ce.length>0&&!Array.isArray(ce[0])){const Z=[];for(let k=0;k<ce.length;k+=2)k+1<ce.length&&Z.push([ce[k],ce[k+1]]);r(16,ie=Z)}else r(16,ie=ce);if(r(31,et="GameProp LiveProps RoulleteProps"),r(31,et+=_e?" Double":""),r(32,tr=rt(ir,Tt)?or:ar),rr=Ce,r(33,Ce=Array.isArray(Te)&&Te.length===Pe),x.dealer){const Z=x.dealer.DealerName||x.dealer.dealerName;Z&&r(35,nr=Z)}r(36,He=(L=(D=(T=x.numberOfPlayers)!=null?T:x.Players)!=null?D:x.NumberOfPlayers)!=null?L:He),r(34,le="ListGame"),x.isOpen&&x.currentRouletteNumbers&&r(34,le+=" GameBackdrop"),be&&Ce&&Je&&Ke&&x.currentOccupiedSeats?r(34,le+=" GameContainerDimmed"):be===!1&&xt&&r(34,le+=" GameContainerFullyDimmed"),fe&&(!rr&&Ce?(r(34,le+=" PulsatingRedShadow"),r(34,le=le.replace(" PulsatingGreenShadow",""))):rr&&!Ce&&(r(34,le+=" PulsatingGreenShadow"),r(34,le=le.replace(" PulsatingRedShadow",""))))}},Ki=()=>{Le==="disconnect"?Zr():Le==="connect"&&Xr()},ea=()=>{Ze==="disconnect"?Zr():Ze==="connect"&&Le==="connect"&&Xr()};wa(()=>(qr(),window.addEventListener("message",Yr,!1),()=>{qe&&qe.unsubscribe(),window.removeEventListener("message",Yr),ye&&ye.removeEventListener("message",Qr)}));function ta(f){lt[f?"unshift":"push"](()=>{qt=f,r(19,qt)})}const ra=()=>$r(F);function na(f){lt[f?"unshift":"push"](()=>{tt=f,r(17,tt)})}const ia=()=>lr(F),aa=()=>lr(F);function oa(f){lt[f?"unshift":"push"](()=>{fe=f,r(14,fe)})}return e.$$set=f=>{"session"in f&&r(47,a=f.session),"userid"in f&&r(48,o=f.userid),"lang"in f&&r(1,s=f.lang),"clientstyling"in f&&r(49,l=f.clientstyling),"mbsource"in f&&r(50,u=f.mbsource),"clientstylingurl"in f&&r(51,c=f.clientstylingurl),"translationurl"in f&&r(52,h=f.translationurl),"favorites"in f&&r(2,m=f.favorites),"gamethumbnail"in f&&r(53,d=f.gamethumbnail),"icon"in f&&r(3,g=f.icon),"gamename"in f&&r(4,_=f.gamename),"gamevendor"in f&&r(5,y=f.gamevendor),"gamelaunchurl"in f&&r(54,E=f.gamelaunchurl),"gameid"in f&&r(6,F=f.gameid),"gameisnew"in f&&r(7,N=f.gameisnew),"gametag"in f&&r(8,A=f.gametag),"gamefunmode"in f&&r(55,P=f.gamefunmode),"gamefavorite"in f&&r(0,v=f.gamefavorite),"gamecellsize"in f&&r(9,M=f.gamecellsize),"showfavoredcategory"in f&&r(56,pe=f.showfavoredcategory),"showgamename"in f&&r(10,bt=f.showgamename),"currency"in f&&r(57,ue=f.currency),"gamepagemodalurl"in f&&r(58,V=f.gamepagemodalurl),"endpoint"in f&&r(59,Q=f.endpoint),"categoryid"in f&&r(60,ge=f.categoryid),"livelobbyendpoint"in f&&r(61,Xe=f.livelobbyendpoint),"connectlive"in f&&r(62,Le=f.connectlive),"visibilityconnect"in f&&r(63,Ze=f.visibilityconnect),"integratedgameframedesktop"in f&&r(64,vt=f.integratedgameframedesktop),"integratedgameframemobile"in f&&r(65,Ie=f.integratedgameframemobile),"casinogamesgridslider"in f&&r(11,Wr=f.casinogamesgridslider),"allowsingleclickgameentry"in f&&r(66,Xt=f.allowsingleclickgameentry),"livelobbydataendpoint"in f&&r(67,Vr=f.livelobbydataendpoint),"displaygametiles"in f&&r(12,zr=f.displaygametiles),"livetabledata"in f&&r(13,se=f.livetabledata)},e.$$.update=()=>{e.$$.dirty[2]&1&&Le&&Ki(),e.$$.dirty[2]&2&&Ze&&ea(),e.$$.dirty[0]&2&&s&&Wi(),e.$$.dirty[1]&268632064&&a&&o&&Q&&Vi(),e.$$.dirty[0]&16384|e.$$.dirty[1]&262144&&l&&fe&&Vl(fe,l),e.$$.dirty[0]&16384|e.$$.dirty[1]&1048576&&c&&fe&&An(fe,c),e.$$.dirty[0]&16384|e.$$.dirty[1]&524288|e.$$.dirty[2]&256&&u&&fe&&r(70,qe=zl(fe,`${u}.Style`,qe,!0)),e.$$.dirty[1]&2621440&&u&&!h&&Zl(`${u}.Translation`,Fi,sr),e.$$.dirty[0]&4,e.$$.dirty[1]&2097152&&h&&Ui(),e.$$.dirty[0]&512|e.$$.dirty[1]&1048576&&M&&c&&An(),e.$$.dirty[1]&1342177280&&Q&&Xe&&Yi(),e.$$.dirty[0]&32768&&x&&Ji(),e.$$.dirty[0]&196608&&tt&&ie&&Qi(),e.$$.dirty[0]&8200|e.$$.dirty[1]&4194304&&r(37,n=(()=>{var f,b;if(se)try{const T=typeof se=="string"?JSON.parse(se):se,D=((b=(f=T==null?void 0:T.VideoSnapshot)==null?void 0:f.Thumbnails)==null?void 0:b.Medium)||(T==null?void 0:T.Image)||(T==null?void 0:T.TableImage);if(D)return D}catch(T){}return g&&ee(ne)?g:d})()),e.$$.dirty[0]&8192|e.$$.dirty[1]&67108864&&(se||ue)&&qr()},[v,s,m,g,_,y,F,N,A,M,bt,Wr,zr,se,fe,x,ie,tt,yt,qt,_t,xt,Qt,be,we,Jt,Qe,Je,Ke,Te,_e,et,tr,Ce,le,nr,He,n,i,ne,$r,lr,ur,rt,$i,Xi,qi,a,o,l,u,c,h,d,E,P,pe,ue,V,Q,ge,Xe,Le,Ze,vt,Ie,Xt,Vr,ar,or,qe,ta,ra,na,ia,aa,oa]}class Ri extends Ia{constructor(t){super(),Oa(this,t,mu,cu,Kn,{session:47,userid:48,lang:1,clientstyling:49,mbsource:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:53,icon:3,gamename:4,gamevendor:5,gamelaunchurl:54,gameid:6,gameisnew:7,gametag:8,gamefunmode:55,gamefavorite:0,gamecellsize:9,showfavoredcategory:56,showgamename:10,currency:57,gamepagemodalurl:58,endpoint:59,categoryid:60,livelobbyendpoint:61,connectlive:62,visibilityconnect:63,integratedgameframedesktop:64,integratedgameframemobile:65,casinogamesgridslider:11,allowsingleclickgameentry:66,livelobbydataendpoint:67,displaygametiles:12,livetabledata:13,MONEY_WHEEL_COLOR_MAP:68,ROULETTE_COLOR_MAP:69},ql,[-1,-1,-1,-1])}get session(){return this.$$.ctx[47]}set session(t){this.$$set({session:t}),S()}get userid(){return this.$$.ctx[48]}set userid(t){this.$$set({userid:t}),S()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),S()}get clientstyling(){return this.$$.ctx[49]}set clientstyling(t){this.$$set({clientstyling:t}),S()}get mbsource(){return this.$$.ctx[50]}set mbsource(t){this.$$set({mbsource:t}),S()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),S()}get translationurl(){return this.$$.ctx[52]}set translationurl(t){this.$$set({translationurl:t}),S()}get favorites(){return this.$$.ctx[2]}set favorites(t){this.$$set({favorites:t}),S()}get gamethumbnail(){return this.$$.ctx[53]}set gamethumbnail(t){this.$$set({gamethumbnail:t}),S()}get icon(){return this.$$.ctx[3]}set icon(t){this.$$set({icon:t}),S()}get gamename(){return this.$$.ctx[4]}set gamename(t){this.$$set({gamename:t}),S()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(t){this.$$set({gamevendor:t}),S()}get gamelaunchurl(){return this.$$.ctx[54]}set gamelaunchurl(t){this.$$set({gamelaunchurl:t}),S()}get gameid(){return this.$$.ctx[6]}set gameid(t){this.$$set({gameid:t}),S()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(t){this.$$set({gameisnew:t}),S()}get gametag(){return this.$$.ctx[8]}set gametag(t){this.$$set({gametag:t}),S()}get gamefunmode(){return this.$$.ctx[55]}set gamefunmode(t){this.$$set({gamefunmode:t}),S()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(t){this.$$set({gamefavorite:t}),S()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(t){this.$$set({gamecellsize:t}),S()}get showfavoredcategory(){return this.$$.ctx[56]}set showfavoredcategory(t){this.$$set({showfavoredcategory:t}),S()}get showgamename(){return this.$$.ctx[10]}set showgamename(t){this.$$set({showgamename:t}),S()}get currency(){return this.$$.ctx[57]}set currency(t){this.$$set({currency:t}),S()}get gamepagemodalurl(){return this.$$.ctx[58]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),S()}get endpoint(){return this.$$.ctx[59]}set endpoint(t){this.$$set({endpoint:t}),S()}get categoryid(){return this.$$.ctx[60]}set categoryid(t){this.$$set({categoryid:t}),S()}get livelobbyendpoint(){return this.$$.ctx[61]}set livelobbyendpoint(t){this.$$set({livelobbyendpoint:t}),S()}get connectlive(){return this.$$.ctx[62]}set connectlive(t){this.$$set({connectlive:t}),S()}get visibilityconnect(){return this.$$.ctx[63]}set visibilityconnect(t){this.$$set({visibilityconnect:t}),S()}get integratedgameframedesktop(){return this.$$.ctx[64]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),S()}get integratedgameframemobile(){return this.$$.ctx[65]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),S()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),S()}get allowsingleclickgameentry(){return this.$$.ctx[66]}set allowsingleclickgameentry(t){this.$$set({allowsingleclickgameentry:t}),S()}get livelobbydataendpoint(){return this.$$.ctx[67]}set livelobbydataendpoint(t){this.$$set({livelobbydataendpoint:t}),S()}get displaygametiles(){return this.$$.ctx[12]}set displaygametiles(t){this.$$set({displaygametiles:t}),S()}get livetabledata(){return this.$$.ctx[13]}set livetabledata(t){this.$$set({livetabledata:t}),S()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[68]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[69]}}La(Ri,{session:{},userid:{},lang:{},clientstyling:{},mbsource:{},clientstylingurl:{},translationurl:{},favorites:{},gamethumbnail:{},icon:{},gamename:{},gamevendor:{},gamelaunchurl:{},gameid:{},gameisnew:{type:"Boolean"},gametag:{},gamefunmode:{type:"Boolean"},gamefavorite:{type:"Boolean"},gamecellsize:{},showfavoredcategory:{type:"Boolean"},showgamename:{},currency:{},gamepagemodalurl:{},endpoint:{},categoryid:{},livelobbyendpoint:{},connectlive:{},visibilityconnect:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinogamesgridslider:{},allowsingleclickgameentry:{},livelobbydataendpoint:{},displaygametiles:{},livetabledata:{}},[],["MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"],!0);exports.default=Ri;