@everymatrix/casino-tournaments-slider-controller 1.87.26 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ "use strict";var Ur=Object.defineProperty,Gr=Object.defineProperties;var Fr=Object.getOwnPropertyDescriptors;var yn=Object.getOwnPropertySymbols;var Qr=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable;var jt=(e,t,n)=>t in e?Ur(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wn=(e,t)=>{for(var n in t||(t={}))Qr.call(t,n)&&jt(e,n,t[n]);if(yn)for(var n of yn(t))jr.call(t,n)&&jt(e,n,t[n]);return e},xn=(e,t)=>Gr(e,Fr(t));var pe=(e,t,n)=>(jt(e,typeof t!="symbol"?t+"":t,n),n);var In=(e,t,n)=>new Promise((r,i)=>{var o=l=>{try{s(n.next(l))}catch(a){i(a)}},u=l=>{try{s(n.throw(l))}catch(a){i(a)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(o,u);s((n=n.apply(e,t)).next())});function me(){}const Kn=e=>e;function $n(e){return e()}function Bn(){return Object.create(null)}function Le(e){e.forEach($n)}function Lt(e){return typeof e=="function"}function pn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Et;function Jr(e,t){return e===t?!0:(Et||(Et=document.createElement("a")),Et.href=t,e===Et.href)}function Xr(e){return Object.keys(e).length===0}function er(e,...t){if(e==null){for(const r of t)r(void 0);return me}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function zr(e,t,n){e.$$.on_destroy.push(er(t,n))}const tr=typeof window!="undefined";let Vr=tr?()=>window.performance.now():()=>Date.now(),mn=tr?e=>requestAnimationFrame(e):me;const Ze=new Set;function nr(e){Ze.forEach(t=>{t.c(e)||(Ze.delete(t),t.f())}),Ze.size!==0&&mn(nr)}function Zr(e){let t;return Ze.size===0&&mn(nr),{promise:new Promise(n=>{Ze.add(t={c:e,f:n})}),abort(){Ze.delete(t)}}}function S(e,t){e.appendChild(t)}function rr(e,t,n){const r=gn(e);if(!r.getElementById(t)){const i=Z("style");i.id=t,i.textContent=n,ir(r,i)}}function gn(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function qr(e){const t=Z("style");return t.textContent="/* empty */",ir(gn(e),t),t.sheet}function ir(e,t){return S(e.head||e,t),t.sheet}function Pe(e,t,n){e.insertBefore(t,n||null)}function He(e){e.parentNode&&e.parentNode.removeChild(e)}function Yr(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function Z(e){return document.createElement(e)}function he(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Nt(e){return document.createTextNode(e)}function ve(){return Nt(" ")}function yt(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function d(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Q(e,t,n){const r=t.toLowerCase();r in e?e[r]=typeof e[r]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:d(e,t,n)}function Jt(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}function Wr(e){return Array.from(e.childNodes)}function An(e,t){t=""+t,e.data!==t&&(e.data=t)}function Kr(e,t,n,r){e.style.setProperty(t,n,"")}function $r(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}function ei(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const Tt=new Map;let Ht=0;function ti(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function ni(e,t){const n={stylesheet:qr(t),rules:{}};return Tt.set(e,n),n}function Cn(e,t,n,r,i,o,u,s=0){const l=16.666/r;let a=`{
2
+ `;for(let I=0;I<=1;I+=l){const C=t+(n-t)*o(I);a+=I*100+`%{${u(C,1-C)}}
3
+ `}const c=a+`100% {${u(n,1-n)}}
4
+ }`,p=`__svelte_${ti(c)}_${s}`,m=gn(e),{stylesheet:B,rules:b}=Tt.get(m)||ni(m,e);b[p]||(b[p]=!0,B.insertRule(`@keyframes ${p} ${c}`,B.cssRules.length));const y=e.style.animation||"";return e.style.animation=`${y?`${y}, `:""}${p} ${r}ms linear ${i}ms 1 both`,Ht+=1,p}function ri(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?o=>o.indexOf(t)<0:o=>o.indexOf("__svelte")===-1),i=n.length-r.length;i&&(e.style.animation=r.join(", "),Ht-=i,Ht||ii())}function ii(){mn(()=>{Ht||(Tt.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&He(t)}),Tt.clear())})}let at;function st(e){at=e}function oi(){if(!at)throw new Error("Function called outside component initialization");return at}function or(e){oi().$$.on_mount.push(e)}const ze=[],_e=[];let qe=[];const Tn=[],si=Promise.resolve();let tn=!1;function ai(){tn||(tn=!0,si.then(le))}function ut(e){qe.push(e)}const Xt=new Set;let Je=0;function le(){if(Je!==0)return;const e=at;do{try{for(;Je<ze.length;){const t=ze[Je];Je++,st(t),ui(t.$$)}}catch(t){throw ze.length=0,Je=0,t}for(st(null),ze.length=0,Je=0;_e.length;)_e.pop()();for(let t=0;t<qe.length;t+=1){const n=qe[t];Xt.has(n)||(Xt.add(n),n())}qe.length=0}while(ze.length);for(;Tn.length;)Tn.pop()();tn=!1,Xt.clear(),st(e)}function ui(e){if(e.fragment!==null){e.update(),Le(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ut)}}function li(e){const t=[],n=[];qe.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),qe=t}let it;function hi(){return it||(it=Promise.resolve(),it.then(()=>{it=null})),it}function zt(e,t,n){e.dispatchEvent($r(`${t?"intro":"outro"}${n}`))}const wt=new Set;let Te;function fi(){Te={r:0,c:[],p:Te}}function ci(){Te.r||Le(Te.c),Te=Te.p}function xt(e,t){e&&e.i&&(wt.delete(e),e.i(t))}function Hn(e,t,n,r){if(e&&e.o){if(wt.has(e))return;wt.add(e),Te.c.push(()=>{wt.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}const di={duration:0};function Rn(e,t,n,r){let o=t(e,n,{direction:"both"}),u=r?0:1,s=null,l=null,a=null,c;function p(){a&&ri(e,a)}function m(b,y){const I=b.b-u;return y*=Math.abs(I),{a:u,b:b.b,d:I,duration:y,start:b.start,end:b.start+y,group:b.group}}function B(b){const{delay:y=0,duration:I=300,easing:C=Kn,tick:_=me,css:N}=o||di,H={start:Vr()+y,b};b||(H.group=Te,Te.r+=1),"inert"in e&&(b?c!==void 0&&(e.inert=c):(c=e.inert,e.inert=!0)),s||l?l=H:(N&&(p(),a=Cn(e,u,b,I,y,C,N)),b&&_(0,1),s=m(H,I),ut(()=>zt(e,b,"start")),Zr(L=>{if(l&&L>l.start&&(s=m(l,I),l=null,zt(e,s.b,"start"),N&&(p(),a=Cn(e,u,s.b,s.duration,0,C,o.css))),s){if(L>=s.end)_(u=s.b,1-u),zt(e,s.b,"end"),l||(s.b?p():--s.group.r||Le(s.group.c)),s=null;else if(L>=s.start){const w=L-s.start;u=s.a+s.d*C(w/s.duration),_(u,1-u)}}return!!(s||l)}))}return{run(b){Lt(o)?hi().then(()=>{o=o({direction:b?"in":"out"}),B(b)}):B(b)},end(){p(),s=l=null}}}function Sn(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function pi(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),ut(()=>{const o=e.$$.on_mount.map($n).filter(Lt);e.$$.on_destroy?e.$$.on_destroy.push(...o):Le(o),e.$$.on_mount=[]}),i.forEach(ut)}function mi(e,t){const n=e.$$;n.fragment!==null&&(li(n.after_update),Le(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function gi(e,t){e.$$.dirty[0]===-1&&(ze.push(e),ai(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function sr(e,t,n,r,i,o,u=null,s=[-1]){const l=at;st(e);const a=e.$$={fragment:null,ctx:[],props:o,update:me,not_equal:i,bound:Bn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Bn(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};u&&u(a.root);let c=!1;if(a.ctx=n?n(e,t.props||{},(p,m,...B)=>{const b=B.length?B[0]:m;return a.ctx&&i(a.ctx[p],a.ctx[p]=b)&&(!a.skip_bound&&a.bound[p]&&a.bound[p](b),c&&gi(e,p)),m}):[],a.update(),c=!0,Le(a.before_update),a.fragment=r?r(a.ctx):!1,t.target){if(t.hydrate){const p=Wr(t.target);a.fragment&&a.fragment.l(p),p.forEach(He)}else a.fragment&&a.fragment.c();t.intro&&xt(e.$$.fragment),pi(e,t.target,t.anchor),le()}st(l)}let ar;typeof HTMLElement=="function"&&(ar=class extends HTMLElement{constructor(t,n,r){super();pe(this,"$$ctor");pe(this,"$$s");pe(this,"$$c");pe(this,"$$cn",!1);pe(this,"$$d",{});pe(this,"$$r",!1);pe(this,"$$p_d",{});pe(this,"$$l",{});pe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(t,n,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,r)}removeEventListener(t,n,r){if(super.removeEventListener(t,n,r),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return In(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let u;return{c:function(){u=Z("slot"),o!=="default"&&d(u,"name",o)},m:function(a,c){Pe(a,u,c)},d:function(a){a&&He(u)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=ei(this);for(const o of this.$$s)o in r&&(n[o]=[t(o)]);for(const o of this.attributes){const u=this.$$g_p(o.name);u in this.$$d||(this.$$d[u]=It(u,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:xn(wn({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const u=It(o,this.$$d[o],this.$$p_d,"toAttribute");u==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,u)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const u of this.$$l[o]){const s=this.$$c.$on(o,u);this.$$l_u.set(u,s)}this.$$l={}}})}attributeChangedCallback(t,n,r){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=It(t,r,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function It(e,t,n,r){var o;const i=(o=n[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ur(e,t,n,r,i,o){let u=class extends ar{constructor(){super(e,n,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(u.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var a;l=It(s,l,t),this.$$d[s]=l,(a=this.$$c)==null||a.$set({[s]:l})}})}),r.forEach(s=>{Object.defineProperty(u.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),e.element=u,u}class lr{constructor(){pe(this,"$$");pe(this,"$$set")}$destroy(){mi(this,1),this.$destroy=me}$on(t,n){if(!Lt(n))return me;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!Xr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ai="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ai);function On(e,{delay:t=0,duration:n=400,easing:r=Kn}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:o=>`opacity: ${o*i}`}}const Xe=[];function vi(e,t){return{subscribe:Dt(e,t).subscribe}}function Dt(e,t=me){let n;const r=new Set;function i(s){if(pn(e,s)&&(e=s,n)){const l=!Xe.length;for(const a of r)a[1](),Xe.push(a,e);if(l){for(let a=0;a<Xe.length;a+=2)Xe[a][0](Xe[a+1]);Xe.length=0}}}function o(s){i(s(e))}function u(s,l=me){const a=[s,l];return r.add(a),r.size===1&&(n=t(i,o)||me),s(e),()=>{r.delete(a),r.size===0&&n&&(n(),n=null)}}return{set:i,update:o,subscribe:u}}function et(e,t,n){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return vi(n,(u,s)=>{let l=!1;const a=[];let c=0,p=me;const m=()=>{if(c)return;p();const b=t(r?a[0]:a,u,s);o?u(b):p=Lt(b)?b:me},B=i.map((b,y)=>er(b,I=>{a[y]=I,c&=~(1<<y),l&&m()},()=>{c|=1<<y}));return l=!0,m(),function(){Le(B),p(),l=!1}})}var Ei=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function bi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yi=function(t){return wi(t)&&!xi(t)};function wi(e){return!!e&&typeof e=="object"}function xi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ci(e)}var Ii=typeof Symbol=="function"&&Symbol.for,Bi=Ii?Symbol.for("react.element"):60103;function Ci(e){return e.$$typeof===Bi}function Ti(e){return Array.isArray(e)?[]:{}}function lt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ye(Ti(e),e,t):e}function Hi(e,t,n){return e.concat(t).map(function(r){return lt(r,n)})}function Ri(e,t){if(!t.customMerge)return Ye;var n=t.customMerge(e);return typeof n=="function"?n:Ye}function Si(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ln(e){return Object.keys(e).concat(Si(e))}function hr(e,t){try{return t in e}catch(n){return!1}}function Oi(e,t){return hr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Li(e,t,n){var r={};return n.isMergeableObject(e)&&Ln(e).forEach(function(i){r[i]=lt(e[i],n)}),Ln(t).forEach(function(i){Oi(e,i)||(hr(e,i)&&n.isMergeableObject(t[i])?r[i]=Ri(i,n)(e[i],t[i],n):r[i]=lt(t[i],n))}),r}function Ye(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||Hi,n.isMergeableObject=n.isMergeableObject||yi,n.cloneUnlessOtherwiseSpecified=lt;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):Li(e,t,n):lt(t,n)}Ye.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return Ye(r,i,n)},{})};var Ni=Ye,Di=Ni;const _i=bi(Di);var nn=function(e,t){return nn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},nn(e,t)};function _t(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");nn(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ye=function(){return ye=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ye.apply(this,arguments)};function Pi(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Vt(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function Zt(e,t){var n=t&&t.cache?t.cache:ji,r=t&&t.serializer?t.serializer:Fi,i=t&&t.strategy?t.strategy:Ui;return i(e,{cache:n,serializer:r})}function Mi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ki(e,t,n,r){var i=Mi(r)?r:n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,r),t.set(i,o)),o}function fr(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,r),t.set(i,o)),o}function cr(e,t,n,r,i){return n.bind(t,e,r,i)}function Ui(e,t){var n=e.length===1?ki:fr;return cr(e,this,n,t.cache.create(),t.serializer)}function Gi(e,t){return cr(e,this,fr,t.cache.create(),t.serializer)}var Fi=function(){return JSON.stringify(arguments)},Qi=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,n){this.cache[t]=n},e}(),ji={create:function(){return new Qi}},qt={variadic:Gi},Rt=function(){return Rt=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Rt.apply(this,arguments)};var k;(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"})(k||(k={}));var V;(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"})(V||(V={}));var We;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(We||(We={}));function Nn(e){return e.type===V.literal}function Ji(e){return e.type===V.argument}function dr(e){return e.type===V.number}function pr(e){return e.type===V.date}function mr(e){return e.type===V.time}function gr(e){return e.type===V.select}function Ar(e){return e.type===V.plural}function Xi(e){return e.type===V.pound}function vr(e){return e.type===V.tag}function Er(e){return!!(e&&typeof e=="object"&&e.type===We.number)}function rn(e){return!!(e&&typeof e=="object"&&e.type===We.dateTime)}var br=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,zi=/(?:[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 Vi(e){var t={};return e.replace(zi,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var q=function(){return q=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},q.apply(this,arguments)};var Zi=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function qi(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Zi).filter(function(m){return m.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r],u=o.split("/");if(u.length===0)throw new Error("Invalid number skeleton");for(var s=u[0],l=u.slice(1),a=0,c=l;a<c.length;a++){var p=c[a];if(p.length===0)throw new Error("Invalid number skeleton")}n.push({stem:s,options:l})}return n}function Yi(e){return e.replace(/^(.*?)-/,"")}var Dn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,yr=/^(@+)?(\+|#+)?[rs]?$/g,Wi=/(\*)(0+)|(#+)(0+)|(0+)/g,wr=/^(0+)$/;function _n(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(yr,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function xr(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 Ki(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!wr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Pn(e){var t={},n=xr(e);return n||t}function $i(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Yi(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=q(q(q({},t),{notation:"scientific"}),i.options.reduce(function(l,a){return q(q({},l),Pn(a))},{}));continue;case"engineering":t=q(q(q({},t),{notation:"engineering"}),i.options.reduce(function(l,a){return q(q({},l),Pn(a))},{}));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(Wi,function(l,a,c,p,m,B){if(a)t.minimumIntegerDigits=c.length;else{if(p&&m)throw new Error("We currently do not support maximum integer digits");if(B)throw new Error("We currently do not support exact integer digits")}return""});continue}if(wr.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Dn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Dn,function(l,a,c,p,m,B){return c==="*"?t.minimumFractionDigits=a.length:p&&p[0]==="#"?t.maximumFractionDigits=p.length:m&&B?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+B.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""});var o=i.options[0];o==="w"?t=q(q({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=q(q({},t),_n(o)));continue}if(yr.test(i.stem)){t=q(q({},t),_n(i.stem));continue}var u=xr(i.stem);u&&(t=q(q({},t),u));var s=Ki(i.stem);s&&(t=q(q({},t),s))}return t}var bt={"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 eo(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var u=1+(o&1),s=o<2?1:3+(o>>1),l="a",a=to(t);for((a=="H"||a=="k")&&(s=0);s-- >0;)n+=l;for(;u-- >0;)n=a+n}else i==="J"?n+="H":n+=i}return n}function to(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=bt[r||""]||bt[n||""]||bt["".concat(n,"-001")]||bt["001"];return i[0]}var Yt,no=new RegExp("^".concat(br.source,"*")),ro=new RegExp("".concat(br.source,"*$"));function U(e,t){return{start:e,end:t}}var io=!!String.prototype.startsWith&&"_a".startsWith("a",1),oo=!!String.fromCodePoint,so=!!Object.fromEntries,ao=!!String.prototype.codePointAt,uo=!!String.prototype.trimStart,lo=!!String.prototype.trimEnd,ho=!!Number.isSafeInteger,fo=ho?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},on=!0;try{var co=Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");on=((Yt=co.exec("a"))===null||Yt===void 0?void 0:Yt[0])==="a"}catch(e){on=!1}var Mn=io?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},sn=oo?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0,u;i>o;){if(u=t[o++],u>1114111)throw RangeError(u+" is not a valid code point");r+=u<65536?String.fromCharCode(u):String.fromCharCode(((u-=65536)>>10)+55296,u%1024+56320)}return r},kn=so?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var o=i[r],u=o[0],s=o[1];n[u]=s}return n},Ir=ao?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),o;return i<55296||i>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},po=uo?function(t){return t.trimStart()}:function(t){return t.replace(no,"")},mo=lo?function(t){return t.trimEnd()}:function(t){return t.replace(ro,"")};function Br(e,t){return new RegExp(e,t)}var an;if(on){var Un=Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");an=function(t,n){var r;Un.lastIndex=n;var i=Un.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else an=function(t,n){for(var r=[];;){var i=Ir(t,n);if(i===void 0||Cr(i)||Eo(i))break;r.push(i),n+=i>=65536?2:1}return sn.apply(void 0,r)};var go=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var u=this.parseArgument(t,r);if(u.err)return u;i.push(u.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:V.pound,location:U(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(k.UNMATCHED_CLOSING_TAG,U(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&un(this.peek()||0)){var u=this.parseTag(t,n);if(u.err)return u;i.push(u.val)}else{var u=this.parseLiteral(t,n);if(u.err)return u;i.push(u.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:V.literal,value:"<".concat(i,"/>"),location:U(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var u=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!un(this.char()))return this.error(k.INVALID_TAG,U(s,this.clonePosition()));var l=this.clonePosition(),a=this.parseTagName();return i!==a?this.error(k.UNMATCHED_CLOSING_TAG,U(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:V.tag,value:i,children:u,location:U(r,this.clonePosition())},err:null}:this.error(k.INVALID_TAG,U(s,this.clonePosition())))}else return this.error(k.UNCLOSED_TAG,U(r,this.clonePosition()))}else return this.error(k.INVALID_TAG,U(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&vo(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(n);if(o){i+=o;continue}var u=this.tryParseUnquoted(t,n);if(u){i+=u;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var l=U(r,this.clonePosition());return{val:{type:V.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ao(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return sn.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),sn(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,U(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(k.EMPTY_ARGUMENT,U(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(k.MALFORMED_ARGUMENT,U(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,U(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:V.argument,value:i,location:U(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,U(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(k.MALFORMED_ARGUMENT,U(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=an(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),u=U(t,o);return{value:r,location:u}},e.prototype.parseArgumentOptions=function(t,n,r,i){var o,u=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(k.EXPECT_ARGUMENT_TYPE,U(u,l));case"number":case"date":case"time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var m=mo(p.val);if(m.length===0)return this.error(k.EXPECT_ARGUMENT_STYLE,U(this.clonePosition(),this.clonePosition()));var B=U(c,this.clonePosition());a={style:m,styleLocation:B}}var b=this.tryParseArgumentClose(i);if(b.err)return b;var y=U(i,this.clonePosition());if(a&&Mn(a==null?void 0:a.style,"::",0)){var I=po(a.style.slice(2));if(s==="number"){var p=this.parseNumberSkeletonFromString(I,a.styleLocation);return p.err?p:{val:{type:V.number,value:r,location:y,style:p.val},err:null}}else{if(I.length===0)return this.error(k.EXPECT_DATE_TIME_SKELETON,y);var C=I;this.locale&&(C=eo(I,this.locale));var m={type:We.dateTime,pattern:C,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?Vi(C):{}},_=s==="date"?V.date:V.time;return{val:{type:_,value:r,location:y,style:m},err:null}}}return{val:{type:s==="number"?V.number:s==="date"?V.date:V.time,value:r,location:y,style:(o=a==null?void 0:a.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var N=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS,U(N,Rt({},N)));this.bumpSpace();var H=this.parseIdentifierIfPossible(),L=0;if(s!=="select"&&H.value==="offset"){if(!this.bumpIf(":"))return this.error(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,U(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),H=this.parseIdentifierIfPossible(),L=p.val}var w=this.tryParsePluralOrSelectOptions(t,s,n,H);if(w.err)return w;var b=this.tryParseArgumentClose(i);if(b.err)return b;var G=U(i,this.clonePosition());return s==="select"?{val:{type:V.select,value:r,options:kn(w.val),location:G},err:null}:{val:{type:V.plural,value:r,options:kn(w.val),offset:L,pluralType:s==="plural"?"cardinal":"ordinal",location:G},err:null}}default:return this.error(k.INVALID_ARGUMENT_TYPE,U(u,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,U(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(k.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,U(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=qi(t)}catch(i){return this.error(k.INVALID_NUMBER_SKELETON,n)}return{val:{type:We.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?$i(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var o,u=!1,s=[],l=new Set,a=i.value,c=i.location;;){if(a.length===0){var p=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_SELECTOR,k.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;c=U(p,this.clonePosition()),a=this.message.slice(p.offset,this.offset())}else break}if(l.has(a))return this.error(n==="select"?k.DUPLICATE_SELECT_ARGUMENT_SELECTOR:k.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);a==="other"&&(u=!0),this.bumpSpace();var B=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?k.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:k.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,U(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(t+1,n,r);if(b.err)return b;var y=this.tryParseArgumentClose(B);if(y.err)return y;s.push([a,{value:b.val,location:U(B,this.clonePosition())}]),l.add(a),this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=o.value,c=o.location}return s.length===0?this.error(n==="select"?k.EXPECT_SELECT_ARGUMENT_SELECTOR:k.EXPECT_PLURAL_ARGUMENT_SELECTOR,U(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!u?this.error(k.MISSING_OTHER_CLAUSE,U(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,u=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,u=u*10+(s-48),this.bump();else break}var l=U(i,this.clonePosition());return o?(u*=r,fo(u)?{val:u,err:null}:this.error(n,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=Ir(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Mn(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Cr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function un(e){return e>=97&&e<=122||e>=65&&e<=90}function Ao(e){return un(e)||e===47}function vo(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 Cr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Eo(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 ln(e){e.forEach(function(t){if(delete t.location,gr(t)||Ar(t))for(var n in t.options)delete t.options[n].location,ln(t.options[n].value);else dr(t)&&Er(t.style)||(pr(t)||mr(t))&&rn(t.style)?delete t.style.location:vr(t)&&ln(t.children)})}function bo(e,t){t===void 0&&(t={}),t=Rt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new go(e,t).parse();if(n.err){var r=SyntaxError(k[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||ln(n.val),n.val}var Ke;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ke||(Ke={}));var Pt=function(e){_t(t,e);function t(n,r,i){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Gn=function(e){_t(t,e);function t(n,r,i,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Ke.INVALID_VALUE,o)||this}return t}(Pt),yo=function(e){_t(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Ke.INVALID_VALUE,i)||this}return t}(Pt),wo=function(e){_t(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Ke.MISSING_VALUE,r)||this}return t}(Pt),se;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(se||(se={}));function xo(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==se.literal||n.type!==se.literal?t.push(n):r.value+=n.value,t},[])}function Io(e){return typeof e=="function"}function Bt(e,t,n,r,i,o,u){if(e.length===1&&Nn(e[0]))return[{type:se.literal,value:e[0].value}];for(var s=[],l=0,a=e;l<a.length;l++){var c=a[l];if(Nn(c)){s.push({type:se.literal,value:c.value});continue}if(Xi(c)){typeof o=="number"&&s.push({type:se.literal,value:n.getNumberFormat(t).format(o)});continue}var p=c.value;if(!(i&&p in i))throw new wo(p,u);var m=i[p];if(Ji(c)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),s.push({type:typeof m=="string"?se.literal:se.object,value:m});continue}if(pr(c)){var B=typeof c.style=="string"?r.date[c.style]:rn(c.style)?c.style.parsedOptions:void 0;s.push({type:se.literal,value:n.getDateTimeFormat(t,B).format(m)});continue}if(mr(c)){var B=typeof c.style=="string"?r.time[c.style]:rn(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:se.literal,value:n.getDateTimeFormat(t,B).format(m)});continue}if(dr(c)){var B=typeof c.style=="string"?r.number[c.style]:Er(c.style)?c.style.parsedOptions:void 0;B&&B.scale&&(m=m*(B.scale||1)),s.push({type:se.literal,value:n.getNumberFormat(t,B).format(m)});continue}if(vr(c)){var b=c.children,y=c.value,I=i[y];if(!Io(I))throw new yo(y,"function",u);var C=Bt(b,t,n,r,i,o),_=I(C.map(function(L){return L.value}));Array.isArray(_)||(_=[_]),s.push.apply(s,_.map(function(L){return{type:typeof L=="string"?se.literal:se.object,value:L}}))}if(gr(c)){var N=c.options[m]||c.options.other;if(!N)throw new Gn(c.value,m,Object.keys(c.options),u);s.push.apply(s,Bt(N.value,t,n,r,i));continue}if(Ar(c)){var N=c.options["=".concat(m)];if(!N){if(!Intl.PluralRules)throw new Pt(`Intl.PluralRules is not available in this environment.
5
+ Try polyfilling it using "@formatjs/intl-pluralrules"
6
+ `,Ke.MISSING_INTL_API,u);var H=n.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));N=c.options[H]||c.options.other}if(!N)throw new Gn(c.value,m,Object.keys(c.options),u);s.push.apply(s,Bt(N.value,t,n,r,i,m-(c.offset||0)));continue}}return xo(s)}function Bo(e,t){return t?ye(ye(ye({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=ye(ye({},e[r]),t[r]||{}),n},{})):e}function Co(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=Bo(e[r],t[r]),n},ye({},e)):e}function Wt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function To(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Zt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,Vt([void 0],n,!1)))},{cache:Wt(e.number),strategy:qt.variadic}),getDateTimeFormat:Zt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,Vt([void 0],n,!1)))},{cache:Wt(e.dateTime),strategy:qt.variadic}),getPluralRules:Zt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,Vt([void 0],n,!1)))},{cache:Wt(e.pluralRules),strategy:qt.variadic})}}var Ho=function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var a=o.formatToParts(l);if(a.length===1)return a[0].value;var c=a.reduce(function(p,m){return!p.length||m.type!==se.literal||typeof p[p.length-1]!="string"?p.push(m.value):p[p.length-1]+=m.value,p},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return Bt(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var u=i||{};u.formatters;var s=Pi(u,["formatters"]);this.ast=e.__parse(t,ye(ye({},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=Co(e.formats,r),this.formatters=i&&i.formatters||To(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=bo,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 Ro(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){const o=n.slice(i,n.length).join(".");if(o in r){r=r[o];break}}r=r[n[i]]}else r=void 0;return r}const Se={},So=(e,t,n)=>n&&(t in Se||(Se[t]={}),e in Se[t]||(Se[t][e]=n),n),Tr=(e,t)=>{if(t==null)return;if(t in Se&&e in Se[t])return Se[t][e];const n=Mt(t);for(let r=0;r<n.length;r++){const i=n[r],o=Lo(i,e);if(o)return So(e,t,o)}};let vn;const tt=Dt({});function Oo(e){return vn[e]||null}function Hr(e){return e in vn}function Lo(e,t){if(!Hr(e))return null;const n=Oo(e);return Ro(n,t)}function No(e){if(e==null)return;const t=Mt(e);for(let n=0;n<t.length;n++){const r=t[n];if(Hr(r))return r}}function Rr(e,...t){delete Se[e],tt.update(n=>(n[e]=_i.all([n[e]||{},...t]),n))}et([tt],([e])=>Object.keys(e));tt.subscribe(e=>vn=e);const Ct={};function Do(e,t){Ct[e].delete(t),Ct[e].size===0&&delete Ct[e]}function Sr(e){return Ct[e]}function _o(e){return Mt(e).map(t=>{const n=Sr(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function hn(e){return e==null?!1:Mt(e).some(t=>{var n;return(n=Sr(t))==null?void 0:n.size})}function Po(e,t){return Promise.all(t.map(r=>(Do(e,r),r().then(i=>i.default||i)))).then(r=>Rr(e,...r))}const ot={};function Or(e){if(!hn(e))return e in ot?ot[e]:Promise.resolve();const t=_o(e);return ot[e]=Promise.all(t.map(([n,r])=>Po(n,r))).then(()=>{if(hn(e))return Or(e);delete ot[e]}),ot[e]}const Mo={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"}}},ko={fallbackLocale:null,loadingDelay:200,formats:Mo,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Uo=ko;function $e(){return Uo}const Kt=Dt(!1);var Go=Object.defineProperty,Fo=Object.defineProperties,Qo=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,jo=Object.prototype.hasOwnProperty,Jo=Object.prototype.propertyIsEnumerable,Qn=(e,t,n)=>t in e?Go(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xo=(e,t)=>{for(var n in t||(t={}))jo.call(t,n)&&Qn(e,n,t[n]);if(Fn)for(var n of Fn(t))Jo.call(t,n)&&Qn(e,n,t[n]);return e},zo=(e,t)=>Fo(e,Qo(t));let fn;const St=Dt(null);function jn(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function Mt(e,t=$e().fallbackLocale){const n=jn(e);return t?[...new Set([...n,...jn(t)])]:n}function Me(){return fn!=null?fn:void 0}St.subscribe(e=>{fn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Vo=e=>{if(e&&No(e)&&hn(e)){const{loadingDelay:t}=$e();let n;return typeof window!="undefined"&&Me()!=null&&t?n=window.setTimeout(()=>Kt.set(!0),t):Kt.set(!0),Or(e).then(()=>{St.set(e)}).finally(()=>{clearTimeout(n),Kt.set(!1)})}return St.set(e)},Oe=zo(Xo({},St),{set:Vo}),kt=e=>{const t=Object.create(null);return r=>{const i=JSON.stringify(r);return i in t?t[i]:t[i]=e(r)}};var Zo=Object.defineProperty,Ot=Object.getOwnPropertySymbols,Lr=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable,Jn=(e,t,n)=>t in e?Zo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,En=(e,t)=>{for(var n in t||(t={}))Lr.call(t,n)&&Jn(e,n,t[n]);if(Ot)for(var n of Ot(t))Nr.call(t,n)&&Jn(e,n,t[n]);return e},nt=(e,t)=>{var n={};for(var r in e)Lr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ot)for(var r of Ot(e))t.indexOf(r)<0&&Nr.call(e,r)&&(n[r]=e[r]);return n};const ht=(e,t)=>{const{formats:n}=$e();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qo=kt(e=>{var t=e,{locale:n,format:r}=t,i=nt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=ht("number",r)),new Intl.NumberFormat(n,i)}),Yo=kt(e=>{var t=e,{locale:n,format:r}=t,i=nt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=ht("date",r):Object.keys(i).length===0&&(i=ht("date","short")),new Intl.DateTimeFormat(n,i)}),Wo=kt(e=>{var t=e,{locale:n,format:r}=t,i=nt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=ht("time",r):Object.keys(i).length===0&&(i=ht("time","short")),new Intl.DateTimeFormat(n,i)}),Ko=(e={})=>{var t=e,{locale:n=Me()}=t,r=nt(t,["locale"]);return qo(En({locale:n},r))},$o=(e={})=>{var t=e,{locale:n=Me()}=t,r=nt(t,["locale"]);return Yo(En({locale:n},r))},es=(e={})=>{var t=e,{locale:n=Me()}=t,r=nt(t,["locale"]);return Wo(En({locale:n},r))},ts=kt((e,t=Me())=>new Ho(e,t,$e().formats,{ignoreTag:$e().ignoreTag})),ns=(e,t={})=>{var n,r,i,o;let u=t;typeof e=="object"&&(u=e,e=u.id);const{values:s,locale:l=Me(),default:a}=u;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Tr(e,l);if(!c)c=(o=(i=(r=(n=$e()).handleMissingMessage)==null?void 0:r.call(n,{locale:l,id:e,defaultValue:a}))!=null?i:a)!=null?o: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 p=c;try{p=ts(c,l).format(s)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return p},rs=(e,t)=>es(t).format(e),is=(e,t)=>$o(t).format(e),os=(e,t)=>Ko(t).format(e),ss=(e,t=Me())=>Tr(e,t),as=et([Oe,tt],()=>ns);et([Oe],()=>rs);et([Oe],()=>is);et([Oe],()=>os);et([Oe,tt],()=>ss);function us({withLocale:e,translations:t}){Oe.subscribe(n=>{n==null&&(tt.set(t),Oe.set(e))})}function Xn(e,t){Rr(e,t)}function ls(e){Oe.set(e)}const zn={en:{loading:"Loading"},hr:{loading:"Učitavanje"},ro:{loading:"Se încarcă"},tr:{loading:"Yükleniyor"},el:{loading:"Φο’ρτωση"},es:{loading:"Cargando"},hu:{loading:"Betöltés"},"en-us":{loading:"Loading"}};var cn={exports:{}};/** @license
7
+ * eventsource.js
8
+ * Available under MIT License (MIT)
9
+ * https://github.com/Yaffle/EventSource/
10
+ */(function(e,t){(function(n){var r=n.setTimeout,i=n.clearTimeout,o=n.XMLHttpRequest,u=n.XDomainRequest,s=n.ActiveXObject,l=n.EventSource,a=n.document,c=n.Promise,p=n.fetch,m=n.Response,B=n.TextDecoder,b=n.TextEncoder,y=n.AbortController;if(typeof window!="undefined"&&typeof a!="undefined"&&!("readyState"in a)&&a.body==null&&(a.readyState="loading",window.addEventListener("load",function(h){a.readyState="complete"},!1)),o==null&&s!=null&&(o=function(){return new s("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(h){function g(){}return g.prototype=h,new g}),Date.now||(Date.now=function(){return new Date().getTime()}),y==null){var I=p;p=function(h,g){var E=g.signal;return I(h,{headers:g.headers,credentials:g.credentials,cache:g.cache}).then(function(A){var T=A.body.getReader();return E._reader=T,E._aborted&&E._reader.cancel(),{status:A.status,statusText:A.statusText,headers:A.headers,body:{getReader:function(){return T}}}})},y=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function C(){this.bitsNeeded=0,this.codePoint=0}C.prototype.decode=function(h){function g(F,f,v){if(v===1)return F>=128>>f&&F<<f<=2047;if(v===2)return F>=2048>>f&&F<<f<=55295||F>=57344>>f&&F<<f<=65535;if(v===3)return F>=65536>>f&&F<<f<=1114111;throw new Error}function E(F,f){if(F===6*1)return f>>6>15?3:f>31?2:1;if(F===6*2)return f>15?3:2;if(F===6*3)return 3;throw new Error}for(var A=65533,T="",x=this.bitsNeeded,D=this.codePoint,z=0;z<h.length;z+=1){var P=h[z];x!==0&&(P<128||P>191||!g(D<<6|P&63,x-6,E(x,D)))&&(x=0,D=A,T+=String.fromCharCode(D)),x===0?(P>=0&&P<=127?(x=0,D=P):P>=192&&P<=223?(x=6*1,D=P&31):P>=224&&P<=239?(x=6*2,D=P&15):P>=240&&P<=247?(x=6*3,D=P&7):(x=0,D=A),x!==0&&!g(D,x,E(x,D))&&(x=0,D=A)):(x-=6,D=D<<6|P&63),x===0&&(D<=65535?T+=String.fromCharCode(D):(T+=String.fromCharCode(55296+(D-65535-1>>10)),T+=String.fromCharCode(56320+(D-65535-1&1023))))}return this.bitsNeeded=x,this.codePoint=D,T};var _=function(){try{return new B().decode(new b().encode("test"),{stream:!0})==="test"}catch(h){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+h)}return!1};(B==null||b==null||!_())&&(B=C);var N=function(){};function H(h){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=N,this.onload=N,this.onerror=N,this.onreadystatechange=N,this._contentType="",this._xhr=h,this._sendTimeout=0,this._abort=N}H.prototype.open=function(h,g){this._abort(!0);var E=this,A=this._xhr,T=1,x=0;this._abort=function(v){E._sendTimeout!==0&&(i(E._sendTimeout),E._sendTimeout=0),(T===1||T===2||T===3)&&(T=4,A.onload=N,A.onerror=N,A.onabort=N,A.onprogress=N,A.onreadystatechange=N,A.abort(),x!==0&&(i(x),x=0),v||(E.readyState=4,E.onabort(null),E.onreadystatechange())),T=0};var D=function(){if(T===1){var v=0,O="",Y=void 0;if("contentType"in A)v=200,O="OK",Y=A.contentType;else try{v=A.status,O=A.statusText,Y=A.getResponseHeader("Content-Type")}catch(xe){v=0,O="",Y=void 0}v!==0&&(T=2,E.readyState=2,E.status=v,E.statusText=O,E._contentType=Y,E.onreadystatechange())}},z=function(){if(D(),T===2||T===3){T=3;var v="";try{v=A.responseText}catch(O){}E.readyState=3,E.responseText=v,E.onprogress()}},P=function(v,O){if((O==null||O.preventDefault==null)&&(O={preventDefault:N}),z(),T===1||T===2||T===3){if(T=4,x!==0&&(i(x),x=0),E.readyState=4,v==="load")E.onload(O);else if(v==="error")E.onerror(O);else if(v==="abort")E.onabort(O);else throw new TypeError;E.onreadystatechange()}},F=function(v){A!=null&&(A.readyState===4?(!("onload"in A)||!("onerror"in A)||!("onabort"in A))&&P(A.responseText===""?"error":"load",v):A.readyState===3?"onprogress"in A||z():A.readyState===2&&D())},f=function(){x=r(function(){f()},500),A.readyState===3&&z()};"onload"in A&&(A.onload=function(v){P("load",v)}),"onerror"in A&&(A.onerror=function(v){P("error",v)}),"onabort"in A&&(A.onabort=function(v){P("abort",v)}),"onprogress"in A&&(A.onprogress=z),"onreadystatechange"in A&&(A.onreadystatechange=function(v){F(v)}),("contentType"in A||!("ontimeout"in o.prototype))&&(g+=(g.indexOf("?")===-1?"?":"&")+"padding=true"),A.open(h,g,!0),"readyState"in A&&(x=r(function(){f()},0))},H.prototype.abort=function(){this._abort(!1)},H.prototype.getResponseHeader=function(h){return this._contentType},H.prototype.setRequestHeader=function(h,g){var E=this._xhr;"setRequestHeader"in E&&E.setRequestHeader(h,g)},H.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},H.prototype.send=function(){if((!("ontimeout"in o.prototype)||!("sendAsBinary"in o.prototype)&&!("mozAnon"in o.prototype))&&a!=null&&a.readyState!=null&&a.readyState!=="complete"){var h=this;h._sendTimeout=r(function(){h._sendTimeout=0,h.send()},4);return}var g=this._xhr;"withCredentials"in g&&(g.withCredentials=this.withCredentials);try{g.send(void 0)}catch(E){throw E}};function L(h){return h.replace(/[A-Z]/g,function(g){return String.fromCharCode(g.charCodeAt(0)+32)})}function w(h){for(var g=Object.create(null),E=h.split(`\r
11
+ `),A=0;A<E.length;A+=1){var T=E[A],x=T.split(": "),D=x.shift(),z=x.join(": ");g[L(D)]=z}this._map=g}w.prototype.get=function(h){return this._map[L(h)]},o!=null&&o.HEADERS_RECEIVED==null&&(o.HEADERS_RECEIVED=2);function G(){}G.prototype.open=function(h,g,E,A,T,x,D){h.open("GET",T);var z=0;h.onprogress=function(){var F=h.responseText,f=F.slice(z);z+=f.length,E(f)},h.onerror=function(F){F.preventDefault(),A(new Error("NetworkError"))},h.onload=function(){A(null)},h.onabort=function(){A(null)},h.onreadystatechange=function(){if(h.readyState===o.HEADERS_RECEIVED){var F=h.status,f=h.statusText,v=h.getResponseHeader("Content-Type"),O=h.getAllResponseHeaders();g(F,f,v,new w(O))}},h.withCredentials=x;for(var P in D)Object.prototype.hasOwnProperty.call(D,P)&&h.setRequestHeader(P,D[P]);return h.send(),h};function R(h){this._headers=h}R.prototype.get=function(h){return this._headers.get(h)};function te(){}te.prototype.open=function(h,g,E,A,T,x,D){var z=null,P=new y,F=P.signal,f=new B;return p(T,{headers:D,credentials:x?"include":"same-origin",signal:F,cache:"no-store"}).then(function(v){return z=v.body.getReader(),g(v.status,v.statusText,v.headers.get("Content-Type"),new R(v.headers)),new c(function(O,Y){var xe=function(){z.read().then(function(re){if(re.done)O(void 0);else{var ne=f.decode(re.value,{stream:!0});E(ne),xe()}}).catch(function(re){Y(re)})};xe()})}).catch(function(v){if(v.name!=="AbortError")return v}).then(function(v){A(v)}),{abort:function(){z!=null&&z.cancel(),P.abort()}}};function ae(){this._listeners=Object.create(null)}function we(h){r(function(){throw h},0)}ae.prototype.dispatchEvent=function(h){h.target=this;var g=this._listeners[h.type];if(g!=null)for(var E=g.length,A=0;A<E;A+=1){var T=g[A];try{typeof T.handleEvent=="function"?T.handleEvent(h):T.call(this,h)}catch(x){we(x)}}},ae.prototype.addEventListener=function(h,g){h=String(h);var E=this._listeners,A=E[h];A==null&&(A=[],E[h]=A);for(var T=!1,x=0;x<A.length;x+=1)A[x]===g&&(T=!0);T||A.push(g)},ae.prototype.removeEventListener=function(h,g){h=String(h);var E=this._listeners,A=E[h];if(A!=null){for(var T=[],x=0;x<A.length;x+=1)A[x]!==g&&T.push(A[x]);T.length===0?delete E[h]:E[h]=T}};function X(h){this.type=h,this.target=void 0}function M(h,g){X.call(this,h),this.data=g.data,this.lastEventId=g.lastEventId}M.prototype=Object.create(X.prototype);function j(h,g){X.call(this,h),this.status=g.status,this.statusText=g.statusText,this.headers=g.headers}j.prototype=Object.create(X.prototype);function J(h,g){X.call(this,h),this.error=g.error}J.prototype=Object.create(X.prototype);var W=-1,Ee=0,Re=1,Ne=2,ke=-1,ue=0,Ue=1,ge=2,ft=3,Ut=/^text\/event\-stream(;.*)?$/i,ct=1e3,dt=18e6,Ge=function(h,g){var E=h==null?g:parseInt(h,10);return E!==E&&(E=g),Fe(E)},Fe=function(h){return Math.min(Math.max(h,ct),dt)},be=function(h,g,E){try{typeof g=="function"&&g.call(h,E)}catch(A){we(A)}};function fe(h,g){ae.call(this),g=g||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,Gt(this,h,g)}function pt(){return o!=null&&"withCredentials"in o.prototype||u==null?new o:new u}var mt=p!=null&&m!=null&&"body"in m.prototype;function Gt(h,g,E){g=String(g);var A=!!E.withCredentials,T=E.lastEventIdQueryParameterName||"lastEventId",x=Fe(1e3),D=Ge(E.heartbeatTimeout,45e3),z="",P=x,F=!1,f=0,v=E.headers||{},O=E.Transport,Y=mt&&O==null?void 0:new H(O!=null?new O:pt()),xe=O!=null&&typeof O!="string"?new O:Y==null?new te:new G,re=void 0,ne=0,Ae=W,Qe="",At="",Ie="",vt="",ie=ue,Ft=0,De=0,Mr=function($,K,ce,de){if(Ae===Ee)if($===200&&ce!=null&&Ut.test(ce)){Ae=Re,F=Date.now(),P=x,h.readyState=Re;var oe=new j("open",{status:$,statusText:K,headers:de});h.dispatchEvent(oe),be(h,h.onopen,oe)}else{var ee="";$!==200?(K&&(K=K.replace(/\s+/g," ")),ee="EventSource's response has a status "+$+" "+K+" that is not 200. Aborting the connection."):ee="EventSource's response has a Content-Type specifying an unsupported type: "+(ce==null?"-":ce.replace(/\s+/g," "))+". Aborting the connection.",Qt();var oe=new j("error",{status:$,statusText:K,headers:de});h.dispatchEvent(oe),be(h,h.onerror,oe),console.error(ee)}},kr=function($){if(Ae===Re){for(var K=-1,ce=0;ce<$.length;ce+=1){var de=$.charCodeAt(ce);(de===10||de===13)&&(K=ce)}var oe=(K!==-1?vt:"")+$.slice(0,K+1);vt=(K===-1?vt:"")+$.slice(K+1),$!==""&&(F=Date.now(),f+=$.length);for(var ee=0;ee<oe.length;ee+=1){var de=oe.charCodeAt(ee);if(ie===ke&&de===10)ie=ue;else if(ie===ke&&(ie=ue),de===13||de===10){if(ie!==ue){ie===Ue&&(De=ee+1);var Be=oe.slice(Ft,De-1),Ce=oe.slice(De+(De<ee&&oe.charCodeAt(De)===32?1:0),ee);Be==="data"?(Qe+=`
12
+ `,Qe+=Ce):Be==="id"?At=Ce:Be==="event"?Ie=Ce:Be==="retry"?(x=Ge(Ce,x),P=x):Be==="heartbeatTimeout"&&(D=Ge(Ce,D),ne!==0&&(i(ne),ne=r(function(){rt()},D)))}if(ie===ue){if(Qe!==""){z=At,Ie===""&&(Ie="message");var je=new M(Ie,{data:Qe.slice(1),lastEventId:At});if(h.dispatchEvent(je),Ie==="open"?be(h,h.onopen,je):Ie==="message"?be(h,h.onmessage,je):Ie==="error"&&be(h,h.onerror,je),Ae===Ne)return}Qe="",Ie=""}ie=de===13?ke:ue}else ie===ue&&(Ft=ee,ie=Ue),ie===Ue?de===58&&(De=ee+1,ie=ge):ie===ge&&(ie=ft)}}},bn=function($){if(Ae===Re||Ae===Ee){Ae=W,ne!==0&&(i(ne),ne=0),ne=r(function(){rt()},P),P=Fe(Math.min(x*16,P*2)),h.readyState=Ee;var K=new J("error",{error:$});h.dispatchEvent(K),be(h,h.onerror,K),$!=null&&console.error($)}},Qt=function(){Ae=Ne,re!=null&&(re.abort(),re=void 0),ne!==0&&(i(ne),ne=0),h.readyState=Ne},rt=function(){if(ne=0,Ae!==W){if(!F&&re!=null)bn(new Error("No activity within "+D+" milliseconds. "+(Ae===Ee?"No response received.":f+" chars received.")+" Reconnecting.")),re!=null&&(re.abort(),re=void 0);else{var $=Math.max((F||Date.now())+D-Date.now(),1);F=!1,ne=r(function(){rt()},$)}return}F=!1,f=0,ne=r(function(){rt()},D),Ae=Ee,Qe="",Ie="",At=z,vt="",Ft=0,De=0,ie=ue;var K=g;if(g.slice(0,5)!=="data:"&&g.slice(0,5)!=="blob:"&&z!==""){var ce=g.indexOf("?");K=ce===-1?g:g.slice(0,ce+1)+g.slice(ce+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(Ce,je){return je===T?"":Ce}),K+=(g.indexOf("?")===-1?"?":"&")+T+"="+encodeURIComponent(z)}var de=h.withCredentials,oe={};oe.Accept="text/event-stream";var ee=h.headers;if(ee!=null)for(var Be in ee)Object.prototype.hasOwnProperty.call(ee,Be)&&(oe[Be]=ee[Be]);try{re=xe.open(Y,Mr,kr,bn,K,de,oe)}catch(Ce){throw Qt(),Ce}};h.url=g,h.readyState=Ee,h.withCredentials=A,h.headers=v,h._close=Qt,rt()}fe.prototype=Object.create(ae.prototype),fe.prototype.CONNECTING=Ee,fe.prototype.OPEN=Re,fe.prototype.CLOSED=Ne,fe.prototype.close=function(){this._close()},fe.CONNECTING=Ee,fe.OPEN=Re,fe.CLOSED=Ne,fe.prototype.withCredentials=void 0;var gt=l;o!=null&&(l==null||!("withCredentials"in l.prototype))&&(gt=fe),function(h){{var g=h(t);g!==void 0&&(e.exports=g)}}(function(h){h.EventSourcePolyfill=fe,h.NativeEventSource=l,h.EventSource=gt})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:Ei:globalThis)})(cn,cn.exports);var hs=cn.exports;const fs=`
13
+ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6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ERERJqQCoCIiEgTUgEQERFpQuYdQBovzHzteNK+VxL4O2AKsB8w3jmWOFi8+G76+xPvGNJglUoUqtVKX0trdU1HW8tlcXv7nIPvX/Sgdy5pLBWAJhJmnnYISfQFsL8Hqt55xJ8KgACYwbhxnQ+N7Wx753NWLpnrnUcaQwWgCYTj3thOZctXwN6PbvyyAxUA2ZGZMWGPzls7xlZmPfeBWzd455H60h6AkgsnnDaRytZ5YB9CN38RGUQIgfWPb5m6/tHuVfcfMO0Y7zxSXyoAJRaOf9XBWHwzcLR3FhEpjm3dve1r1m68/v4DjprhnUXqRwWgpMLLXj0GC5cQ2N87i4gUT39fLV63buMV9z7vqAO9s0h9qACUVVT7X+Bw7xgiUlzdPX2tWx7butg7h9SHCkAJhekvfyXwGu8cIlJ8mzZt2+/PE1/yr945JHsqACUTmB0Roi965xCR8tiwYcunAzMr3jkkWyoAZXP8TacCR3jHEJHy6O7ua7t34qZPeOeQbKkAlE0UXucdQUTKp7e3723eGSRbKgAlMjD9b6d75xCR8tmyuedFQfeMUtH/mWXy0hufC0z0jiEi5dPXX4vuP/Co471zSHZUAMqkagd7RxCR8kqS9DjvDJIdFYAySUxv9BOR+knCPt4RJDsqAGUSpS3eEUSkvIKFdu8Mkh0VABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCoCIiEgTUgEQERFpQioAIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCoCIiEgTUgEQERFpQioAIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCkCZpFGfdwQRKS8L1u2dQbKjAlAmcdjgHUFEysviaI13BsmOCkCZJPYX7wgiUl5WCYu8M0h2VADK5Lrf3w884h1DRMqn2lJJDn5oiQpAiagAlIhBAH7nnUNEyqerq/1Og9Q7h2RHBaBsApd6RxCR8mlrrf7UO4NkSwWgbK47+koIf/KOISLl0d7e0n3I6rHneeeQbKkAlIwxO4XoX71ziEh5jN9jzOeMeTXvHJItFYASsoW/vwILv/HOISLFN25c58rnr1ryFe8ckj1hLOs1AAAA8klEQVQVgLKKus8EVnjHEJHiam9r6Z0wZuwx3jmkPlQASsrmzduCxa9BjwWKyAi0tMTJnnuPO/XAR25Y6Z1F6kMFoMRswWX3Q3I0cKN3FhEpjs6uti377D3myIMfvnmBdxapHxWAkrOFV6wm3jYTwlcBvStARHbJzNhzzzFLxu47bv/nrrz1Vu88Ul/mHUAaJxz/qoMhfAHjDUCLdx7xt3jx3fT3J94xxJmZMW5cxwNjujre+dxHbp7vnUcaQwWgCYWTTx5HX/XlpPZqjMOBA4A9vHNJ46kANKdKJQ7Vatzb2lpd09ZevbQ9bj9fa/3N5/8DLDrhXaS1FJcAAAAASUVORK5CYII=
14
+ `,Ve="__WIDGET_GLOBAL_STYLE_CACHE__";function Dr(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function _r(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(r=>r.text()).then(r=>{const i=document.createElement("style");i.innerHTML=r,e&&e.appendChild(i)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function dn(e,t,n,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return n=cs(e,t),n;window[Ve]||(window[Ve]={}),n=ds(e,t);const o=n.unsubscribe.bind(n),u=()=>{if(window[Ve][t]){const s=window[Ve][t];s.refCount>1?s.refCount=s.refCount-1:delete window[Ve][t]}o()};return n.unsubscribe=u,n}function cs(e,t){const n=document.createElement("style");return window.emMessageBus.subscribe(t,r=>{e&&(n.innerHTML=r,e.appendChild(n))})}function ds(e,t){return window.emMessageBus.subscribe(t,n=>{var s;if(!e)return;const r=e.getRootNode(),i=window[Ve];let o=(s=i[t])==null?void 0:s.sheet;o?i[t].refCount=i[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(n),i[t]={sheet:o,refCount:1});const u=r.adoptedStyleSheets||[];u.includes(o)||(r.adoptedStyleSheets=[...u,o])})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsRank-7fKG3_eZ.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-rank")&&customElements.define("casino-tournaments-rank",t.element)})}function ps(e){rr(e,"svelte-8x54mj",".casino-tournaments-slider-controller{position:relative;width:100%;background:#212223;color:#fff;display:inline-flex;padding:10px 5px;border:1px solid #ff8364;border-radius:5px;min-height:70px;-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.5)}.TournamentInfo{width:calc(100% - 4px);padding:2px;display:flex;flex-direction:column;justify-content:center}.TournamentInfo .name{white-space:nowrap;width:99%;text-align:center;text-transform:capitalize;font-size:11px;margin-bottom:5px;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.TournamentInfo .TournamentNameLink{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.TournamentInfo .circle{text-align:center;height:7px;height:5px;margin-top:3px}.TournamentInfo .circle svg{color:#C4C4C4;margin:0 2px;vertical-align:top;margin-top:3px}.TournamentInfo .circle svg.active{color:white}.ArrowLeft{left:1px}.ArrowRight{right:1px}.ArrowLeft,.ArrowRight{position:absolute;cursor:pointer;top:calc(50% - 7px);margin:0px;display:flex;width:7px}.ArrowLeft.Disabled svg,.ArrowRight.Disabled svg{color:darkgrey}.ArrowLeft svg,.ArrowRight svg{vertical-align:middle;width:11px;height:11px;color:#FF8364}section#animator{position:absolute;right:0;top:0;opacity:0;display:none;cursor:pointer;text-align:center;align-items:center;flex-direction:column}section#animator .restoreButton{color:#000;display:inline-flex}casino-tournaments-rank::part(Rank),casino-tournaments-rank::part(Prize){background-color:transparent;padding:0px;margin:0px;line-height:14px}casino-tournaments-rank::part(RankText),casino-tournaments-rank::part(PrizeText){line-height:16px;margin:auto}casino-tournaments-rank::part(Rank_Arror_UP),casino-tournaments-rank::part(Rank_Arror_Down){padding:0px 3px}casino-tournaments-rank::part(PrizeText){font-weight:normal}casino-tournaments-rank::part(Rank){color:#ff8364;font-size:10px}casino-tournaments-rank::part(Prize){color:#fdd500;font-size:10px}")}function Vn(e,t,n){const r=e.slice();return r[63]=t[n],r[65]=n,r}function Zn(e){let t,n,r,i=e[14]("loading")+"",o,u,s,l,a,c;return{c(){t=Z("div"),n=Z("div"),r=Z("span"),o=Nt(i),u=ve(),s=Z("div"),l=Z("casino-tournaments-rank"),a=ve(),c=Z("div"),c.innerHTML="",d(r,"part","TournamentInfo_Name_link"),d(n,"part","TournamentInfo_Name"),d(n,"class","name"),Q(l,"displayin","col"),Q(l,"showicon","false"),Q(l,"userrank","-"),Q(l,"prize","-"),Q(l,"overallrank","-"),Q(l,"tournamentid",""),Q(l,"mbsource",e[3]),Q(l,"clientstyling",e[1]),Q(l,"clientstylingurl",e[2]),d(s,"part","TournamentInfo_Rank"),d(s,"class","rank"),d(c,"part","TournamentInfo_Points"),d(c,"class","circle"),d(t,"part","TournamentLoading"),d(t,"class","TournamentInfo SearchLoading"),Kr(t,"height","200px")},m(p,m){Pe(p,t,m),S(t,n),S(n,r),S(r,o),S(t,u),S(t,s),S(s,l),S(t,a),S(t,c)},p(p,m){m[0]&16384&&i!==(i=p[14]("loading")+"")&&An(o,i),m[0]&8&&Q(l,"mbsource",p[3]),m[0]&2&&Q(l,"clientstyling",p[1]),m[0]&4&&Q(l,"clientstylingurl",p[2])},d(p){p&&He(t)}}}function qn(e){let t,n,r,i=e[8].name+"",o,u,s,l,a,c,p,m,B,b,y,I,C,_,N,H=Sn(e[5]),L=[];for(let w=0;w<H.length;w+=1)L[w]=Yn(Vn(e,H,w));return{c(){t=Z("div"),n=Z("div"),r=Z("span"),o=Nt(i),s=ve(),l=Z("div"),a=Z("casino-tournaments-rank"),b=ve(),y=Z("div");for(let w=0;w<L.length;w+=1)L[w].c();d(r,"part","TournamentInfo_Name_link"),d(r,"class","TournamentNameLink"),d(r,"title",u=e[8].name),d(n,"part","TournamentInfo_Name"),d(n,"class","name"),Q(a,"displayin","col"),Q(a,"showicon","false"),Q(a,"userrank",c=e[8].rank),Q(a,"mbsource",e[3]),Q(a,"prize",p=e[8].prize),Q(a,"overallrank",m=e[8].overallRank),Q(a,"tournamentid",B=e[8].id),Q(a,"clientstyling",e[1]),Q(a,"clientstylingurl",e[2]),d(l,"part","TournamentInfo_Rank"),d(l,"class","rank"),d(y,"part","TournamentInfo_Points"),d(y,"class","circle"),d(t,"part","TournamentInfo"),d(t,"class","TournamentInfo")},m(w,G){Pe(w,t,G),S(t,n),S(n,r),S(r,o),S(t,s),S(t,l),S(l,a),S(t,b),S(t,y);for(let R=0;R<L.length;R+=1)L[R]&&L[R].m(y,null);e[28](t),C=!0,_||(N=yt(r,"click",e[27]),_=!0)},p(w,G){if((!C||G[0]&256)&&i!==(i=w[8].name+"")&&An(o,i),(!C||G[0]&256&&u!==(u=w[8].name))&&d(r,"title",u),(!C||G[0]&256&&c!==(c=w[8].rank))&&Q(a,"userrank",c),(!C||G[0]&8)&&Q(a,"mbsource",w[3]),(!C||G[0]&256&&p!==(p=w[8].prize))&&Q(a,"prize",p),(!C||G[0]&256&&m!==(m=w[8].overallRank))&&Q(a,"overallrank",m),(!C||G[0]&256&&B!==(B=w[8].id))&&Q(a,"tournamentid",B),(!C||G[0]&2)&&Q(a,"clientstyling",w[1]),(!C||G[0]&4)&&Q(a,"clientstylingurl",w[2]),G[0]&96){H=Sn(w[5]);let R;for(R=0;R<H.length;R+=1){const te=Vn(w,H,R);L[R]?L[R].p(te,G):(L[R]=Yn(te),L[R].c(),L[R].m(y,null))}for(;R<L.length;R+=1)L[R].d(1);L.length=H.length}},i(w){C||(w&&ut(()=>{C&&(I||(I=Rn(t,On,{delay:250,duration:300},!0)),I.run(1))}),C=!0)},o(w){w&&(I||(I=Rn(t,On,{delay:250,duration:300},!1)),I.run(0)),C=!1},d(w){w&&He(t),Yr(L,w),e[28](null),w&&I&&I.end(),_=!1,N()}}}function Yn(e){let t,n,r;return{c(){t=he("svg"),n=he("circle"),d(n,"cx","2.77888"),d(n,"cy","2.50837"),d(n,"r","2.28571"),d(n,"fill","currentColor"),d(n,"stroke","currentColor"),d(t,"class",r=e[6]==e[65]?"active":""),d(t,"width","6"),d(t,"height","5"),d(t,"viewBox","0 0 6 5"),d(t,"fill","none"),d(t,"xmlns","http://www.w3.org/2000/svg")},m(i,o){Pe(i,t,o),S(t,n)},p(i,o){o[0]&64&&r!==(r=i[6]==i[65]?"active":"")&&d(t,"class",r)},d(i){i&&He(t)}}}function Wn(e){let t,n;return{c(){t=he("svg"),n=he("path"),d(n,"fill-rule","evenodd"),d(n,"clip-rule","evenodd"),d(n,"d","M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"),d(t,"width","6"),d(t,"height","10"),d(t,"fill","currentColor"),d(t,"viewBox","0 0 6 10"),d(t,"xmlns","http://www.w3.org/2000/svg")},m(r,i){Pe(r,t,i),S(t,n)},d(r){r&&He(t)}}}function ms(e){let t,n,r,i,o,u,s,l,a,c,p,m,B,b,y,I,C,_,N,H,L,w,G,R,te,ae,we,X=!e[5]&&Zn(e),M=e[5]&&e[5].length>0&&qn(e),j=e[10]&&Wn();return{c(){t=Z("div"),n=Z("div"),r=Z("div"),i=he("svg"),o=he("path"),s=ve(),X&&X.c(),l=ve(),M&&M.c(),a=ve(),c=Z("div"),p=he("svg"),m=he("path"),B=ve(),j&&j.c(),b=ve(),y=Z("section"),I=Z("div"),C=he("svg"),_=he("rect"),N=he("defs"),H=he("pattern"),L=he("use"),w=he("image"),R=ve(),te=Z("div"),te.innerHTML='<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>',d(o,"fill-rule","evenodd"),d(o,"clip-rule","evenodd"),d(o,"d","M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"),d(i,"width","6"),d(i,"height","10"),d(i,"viewBox","0 0 6 10"),d(i,"fill","currentColor"),d(i,"xmlns","http://www.w3.org/2000/svg"),d(r,"part","Tournaments_ArrowLeft"),d(r,"class",u="ArrowLeft "+(e[9]?"Disabled":"")),d(m,"fill-rule","evenodd"),d(m,"clip-rule","evenodd"),d(m,"d","M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"),d(p,"width","6"),d(p,"height","10"),d(p,"fill","currentColor"),d(p,"viewBox","0 0 6 10"),d(p,"xmlns","http://www.w3.org/2000/svg"),d(c,"part","Tournaments_ArrowRight"),d(c,"class","ArrowRight"),d(n,"part","Tournaments"),d(n,"class","casino-tournaments-slider-controller"),d(_,"width",e[0]),d(_,"height",e[0]),d(_,"fill","url(#pattern0)"),Jt(L,"xlink:href","#image0_2606_356"),d(L,"transform","scale(0.00195312)"),d(H,"id","pattern0"),d(H,"patternContentUnits","objectBoundingBox"),d(H,"width","1"),d(H,"height","1"),d(w,"id","image0_2606_356"),d(w,"width","512"),d(w,"height","512"),Jt(w,"xlink:href",e[13]),d(C,"width",e[0]),d(C,"height",e[0]),d(C,"viewBox",G=`0 0 ${e[0]} ${e[0]}`),d(C,"fill","none"),d(C,"xmlns","http://www.w3.org/2000/svg"),d(C,"xmlns:xlink","http://www.w3.org/1999/xlink"),d(I,"class","svg"),d(I,"part","Icon"),d(te,"class","restoreButton"),d(te,"part","RestoreButton"),d(y,"id","animator"),d(y,"part","Animator")},m(J,W){Pe(J,t,W),S(t,n),S(n,r),S(r,i),S(i,o),S(n,s),X&&X.m(n,null),S(n,l),M&&M.m(n,null),S(n,a),S(n,c),S(c,p),S(p,m),S(c,B),j&&j.m(c,null),e[30](n),S(t,b),S(t,y),S(y,I),S(I,C),S(C,_),S(C,N),S(N,H),S(H,L),S(N,w),S(y,R),S(y,te),e[31](y),e[33](t),ae||(we=[yt(r,"click",e[26]),yt(c,"click",e[29]),yt(y,"click",e[32])],ae=!0)},p(J,W){W[0]&512&&u!==(u="ArrowLeft "+(J[9]?"Disabled":""))&&d(r,"class",u),J[5]?X&&(X.d(1),X=null):X?X.p(J,W):(X=Zn(J),X.c(),X.m(n,l)),J[5]&&J[5].length>0?M?(M.p(J,W),W[0]&32&&xt(M,1)):(M=qn(J),M.c(),xt(M,1),M.m(n,a)):M&&(fi(),Hn(M,1,1,()=>{M=null}),ci()),J[10]?j||(j=Wn(),j.c(),j.m(c,null)):j&&(j.d(1),j=null),W[0]&1&&d(_,"width",J[0]),W[0]&1&&d(_,"height",J[0]),W[0]&8192&&Jt(w,"xlink:href",J[13]),W[0]&1&&d(C,"width",J[0]),W[0]&1&&d(C,"height",J[0]),W[0]&1&&G!==(G=`0 0 ${J[0]} ${J[0]}`)&&d(C,"viewBox",G)},i(J){xt(M)},o(J){Hn(M)},d(J){J&&He(t),X&&X.d(),M&&M.d(),j&&j.d(),e[30](null),e[31](null),e[33](null),ae=!1,Le(we)}}}let $t=1,en=300;function gs(e,t,n){let r,i;zr(e,as,f=>n(14,i=f));let{session:o=""}=t,{endpoint:u=""}=t,{lang:s="en"}=t,{tournamentsshownnumber:l=5}=t,{looptime:a="5"}=t,{iconsize:c="9"}=t,{icon:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:B=""}=t,{translationurl:b=""}=t,{mbsource:y}=t,I,C,_=[],N,H=0,L=!0,w=!1,G,R,te=null,ae=null,we,X=!1,M,j;us({withLocale:"en",translations:{}});const J=()=>{fetch(b).then(v=>v.json()).then(v=>{Object.keys(v).forEach(O=>{Xn(O,v[O])})}).catch(v=>{console.log(v)})};Object.keys(zn).forEach(f=>{Xn(f,zn[f])});const W=f=>{f.data&&f.data.type=="TournamentList"&&n(5,_=f.data.tournamentList)},Ee=()=>{o.length>0&&o!="false"},Re=()=>{ls(s)},Ne=()=>{_.length!==0&&(ge.curTournament.hide(),setTimeout(()=>{n(6,H=(H+1)%_.length),ge.curTournament.show()},en*1.5))},ke=()=>{clearInterval(we),we=setInterval(()=>{X||Ne()},Number(a)*1e3)},ue=f=>{ge.curTournament.hide(),ke(),f>0&&w&&Ut(),!(f>0&&w||f<0&&L)&&setTimeout(()=>{n(6,H=H+f),ge.curTournament.show()},en*1.5)},Ue=f=>setTimeout(()=>f(),$t*1e3),ge={icon:{init(){n(11,M.style.transition=`all ${$t}s ease-in-out`,M)},show(){n(11,M.style.display="flex",M),Ue(()=>n(11,M.style.opacity="1",M))},hide(){n(11,M.style.display="none",M),n(11,M.style.opacity="0",M)}},slider:{init(){n(7,R.style.transition=`all ${$t}s ease-in-out`,R)},show(){n(7,R.style.opacity="1",R),n(7,R.style.transform=null,R),document.querySelector("body").style["overflow-x"]="hidden"},hide(){this.init(),n(7,R.style.opacity="0",R),n(7,R.style.transform=`translateX(${R.clientWidth+20}px)`,R),Ue(()=>document.querySelector("body").setAttribute("style",null))}},curTournament:{init(){n(12,j.style.transition=`all ${en}ms linear`,j)},show(){n(12,j.style.opacity="1",j)},hide(){this.init(),n(12,j.style.opacity="0",j)}}},ft=()=>{ge.slider.show(),ge.icon.hide(),X=!1},Ut=()=>{ge.slider.hide(),ge.icon.show(),X=!0},ct=f=>({id:f.tournament.id,name:f.tournament.nameOrTitle,rank:f.leaderBoard?f.leaderBoard.rank:"-",overallRank:f.endRank,prize:f.leaderBoard&&f.leaderBoard.prizeName?f.leaderBoard.prizeName:"-"}),dt=f=>{window.postMessage({type:"MyTournamentFromNavClicked",tournamentid:f,showLeaderboard:!0},window.location.href)},Ge=(f,v,O)=>(f.append("pagination",`offset=${v},limit=${O}`),f.append("sortField","StartTime"),f.append("sortOrder","desc"),f.append("fields","id,nameOrTitle,state"),f.append("language",s),f.append("filter","state=Running"),f),Fe=f=>{let v=ct(f),O=_.findIndex(Y=>Y.id==v.id);H==O&&window.postMessage({type:`TournamentRankInfo_${v.id}}`,rankInfo:{rank:v.rank,overallRank:v.overallRank,prize:v.prize}},window.location.href),n(5,_[O]=v,_)},be=f=>{if(f.data)try{let v=f.data,O=JSON.parse(v);O.messageType=="PlayerLeaderBoardsUpdate"&&O.items?O.items.forEach((Y,xe)=>{Fe(Y)}):O.messageType=="PlayerLeaderBoardUpdate"&&O.item&&Fe(O.item)}catch(v){console.log(v)}},fe=f=>f.touches||f.originalEvent.touches,pt=f=>{const v=fe(f)[0];te=v.clientX,ae=v.clientY},mt=f=>{if(!te||!ae)return;let v=f.touches[0].clientX,O=f.touches[0].clientY,Y=te-v,xe=ae-O;Math.abs(Y)>Math.abs(xe)&&(Y>0?ue(1):ue(-1)),te=null,ae=null},Gt=()=>{R.addEventListener("touchstart",pt,{passive:!0}),R.addEventListener("touchmove",mt,{passive:!0})},gt=()=>{if(!u)return;G&&(G.removeEventListener("message",be),G.close());let f=new URL(`${u}/v1/tournaments/leaderboard/player/updates`);Ge(f.searchParams,0,l),G=new hs.EventSourcePolyfill(f.href,{headers:{accept:"text/event-stream","X-SessionId":o}}),typeof G!="undefined"&&G.addEventListener("message",be)},h=()=>{if(!u||!o)return;let f=new URL(`${u}/v1/tournaments/leaderboard/player`),v=new Headers;Ge(f.searchParams,0,l),o&&v.append("X-SessionID",o),fetch(f,{method:"GET",headers:v}).then(Y=>Y.json()).then(Y=>{if(!Y.items)return;n(5,_=[]),Y.items.forEach((re,ne)=>{_.push(ct(re))}),n(8,N=_[H]),gt(),ke()})};let g=!1;or(()=>(n(25,g=!0),window.addEventListener("message",W,!1),setTimeout(()=>{n(18,s="tr")},5e3),()=>{clearInterval(we),window.removeEventListener("message",W),G&&G.removeEventListener("message",be),R.removeEventListener("touchstart",pt),R.removeEventListener("touchmove",mt)}));const E=()=>ue(-1),A=()=>dt(N.id);function T(f){_e[f?"unshift":"push"](()=>{j=f,n(12,j)})}const x=()=>ue(1);function D(f){_e[f?"unshift":"push"](()=>{R=f,n(7,R)})}function z(f){_e[f?"unshift":"push"](()=>{M=f,n(11,M)})}const P=()=>ft();function F(f){_e[f?"unshift":"push"](()=>{I=f,n(4,I)})}return e.$$set=f=>{"session"in f&&n(19,o=f.session),"endpoint"in f&&n(20,u=f.endpoint),"lang"in f&&n(18,s=f.lang),"tournamentsshownnumber"in f&&n(21,l=f.tournamentsshownnumber),"looptime"in f&&n(22,a=f.looptime),"iconsize"in f&&n(0,c=f.iconsize),"icon"in f&&n(23,p=f.icon),"clientstyling"in f&&n(1,m=f.clientstyling),"clientstylingurl"in f&&n(2,B=f.clientstylingurl),"translationurl"in f&&n(24,b=f.translationurl),"mbsource"in f&&n(3,y=f.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&18&&m&&I&&Dr(I,m),e.$$.dirty[0]&20&&B&&I&&_r(I,B),e.$$.dirty[0]&24&&y&&I&&dn(I,`${y}.Style`,C),e.$$.dirty[0]&24&&y&&I&&dn(I,`${y}.Style`,C),e.$$.dirty[0]&8388608&&n(13,r=p||fs),e.$$.dirty[0]&36962304&&g&&u&&l&&s&&h(),e.$$.dirty[0]&128&&R&&Gt(),e.$$.dirty[0]&524288&&o&&Ee(),e.$$.dirty[0]&262144&&s&&Re(),e.$$.dirty[0]&16777216&&b&&J(),e.$$.dirty[0]&96&&n(8,N=_[H]),e.$$.dirty[0]&96&&n(10,w=H==_.length-1),e.$$.dirty[0]&64&&n(9,L=H==0)},[c,m,B,y,I,_,H,R,N,L,w,M,j,r,i,ue,ft,dt,s,o,u,l,a,p,b,g,E,A,T,x,D,z,P,F]}class Pr extends lr{constructor(t){super(),sr(this,t,gs,ms,pn,{session:19,endpoint:20,lang:18,tournamentsshownnumber:21,looptime:22,iconsize:0,icon:23,clientstyling:1,clientstylingurl:2,translationurl:24,mbsource:3},ps,[-1,-1,-1])}get session(){return this.$$.ctx[19]}set session(t){this.$$set({session:t}),le()}get endpoint(){return this.$$.ctx[20]}set endpoint(t){this.$$set({endpoint:t}),le()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),le()}get tournamentsshownnumber(){return this.$$.ctx[21]}set tournamentsshownnumber(t){this.$$set({tournamentsshownnumber:t}),le()}get looptime(){return this.$$.ctx[22]}set looptime(t){this.$$set({looptime:t}),le()}get iconsize(){return this.$$.ctx[0]}set iconsize(t){this.$$set({iconsize:t}),le()}get icon(){return this.$$.ctx[23]}set icon(t){this.$$set({icon:t}),le()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),le()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),le()}get translationurl(){return this.$$.ctx[24]}set translationurl(t){this.$$set({translationurl:t}),le()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),le()}}ur(Pr,{session:{},endpoint:{},lang:{},tournamentsshownnumber:{},looptime:{},iconsize:{},icon:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);const As=Object.freeze(Object.defineProperty({__proto__:null,default:Pr},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsSliderController_ce=As;exports.SvelteComponent=lr;exports.append=S;exports.append_styles=rr;exports.attr=d;exports.binding_callbacks=_e;exports.create_custom_element=ur;exports.detach=He;exports.element=Z;exports.flush=le;exports.init=sr;exports.insert=Pe;exports.noop=me;exports.onMount=or;exports.safe_not_equal=pn;exports.setClientStyling=Dr;exports.setClientStylingURL=_r;exports.setStreamStyling=dn;exports.set_data=An;exports.space=ve;exports.src_url_equal=Jr;exports.text=Nt;