@everymatrix/casino-tournaments-limited-controller 1.56.3 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +0,0 @@
1
- "use strict";var Kr=Object.defineProperty,$r=Object.defineProperties;var ei=Object.getOwnPropertyDescriptors;var ht=Object.getOwnPropertySymbols;var Sn=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable;var jt=(e,t,n)=>t in e?Kr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ft=(e,t)=>{for(var n in t||(t={}))Sn.call(t,n)&&jt(e,n,t[n]);if(ht)for(var n of ht(t))Hn.call(t,n)&&jt(e,n,t[n]);return e},ct=(e,t)=>$r(e,ei(t));var Qt=(e,t)=>{var n={};for(var r in e)Sn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ht)for(var r of ht(e))t.indexOf(r)<0&&Hn.call(e,r)&&(n[r]=e[r]);return n};var le=(e,t,n)=>(jt(e,typeof t!="symbol"?t+"":t,n),n);var dt=(e,t,n)=>new Promise((r,i)=>{var o=l=>{try{a(n.next(l))}catch(u){i(u)}},s=l=>{try{a(n.throw(l))}catch(u){i(u)}},a=l=>l.done?r(l.value):Promise.resolve(l.value).then(o,s);a((n=n.apply(e,t)).next())});function K(){}function ar(e){return e()}function Rn(){return Object.create(null)}function rt(e){e.forEach(ar)}function gn(e){return typeof e=="function"}function Rt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function ti(e){return Object.keys(e).length===0}function ur(e,...t){if(e==null){for(const r of t)r(void 0);return K}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ni(e,t,n){e.$$.on_destroy.push(ur(t,n))}function M(e,t){e.appendChild(t)}function vn(e,t,n){const r=ri(e);if(!r.getElementById(t)){const i=G("style");i.id=t,i.textContent=n,ii(r,i)}}function ri(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ii(e,t){return M(e.head||e,t),t.sheet}function W(e,t,n){e.insertBefore(t,n||null)}function X(e){e.parentNode&&e.parentNode.removeChild(e)}function It(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function G(e){return document.createElement(e)}function Me(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Be(e){return document.createTextNode(e)}function pe(){return Be(" ")}function $e(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function x(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function pt(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:x(e,t,n)}function lr(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}function oi(e){return Array.from(e.childNodes)}function Re(e,t){t=""+t,e.data!==t&&(e.data=t)}let mt;function si(){if(mt===void 0){mt=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){mt=!0}}return mt}function ai(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const r=G("iframe");r.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1;const i=si();let o;return i?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",o=$e(window,"message",s=>{s.source===r.contentWindow&&t()})):(r.src="about:blank",r.onload=()=>{o=$e(r.contentWindow,"resize",t),t()}),M(e,r),()=>{(i||o&&r.contentWindow)&&o(),X(r)}}function gt(e,t,n){e.classList.toggle(t,!!n)}function ui(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let et;function Ke(e){et=e}function li(){if(!et)throw new Error("Function called outside component initialization");return et}function An(e){li().$$.on_mount.push(e)}const ke=[],Bt=[];let Ue=[];const On=[],hi=Promise.resolve();let $t=!1;function fi(){$t||($t=!0,hi.then(he))}function Tt(e){Ue.push(e)}const zt=new Set;let De=0;function he(){if(De!==0)return;const e=et;do{try{for(;De<ke.length;){const t=ke[De];De++,Ke(t),ci(t.$$)}}catch(t){throw ke.length=0,De=0,t}for(Ke(null),ke.length=0,De=0;Bt.length;)Bt.pop()();for(let t=0;t<Ue.length;t+=1){const n=Ue[t];zt.has(n)||(zt.add(n),n())}Ue.length=0}while(ke.length);for(;On.length;)On.pop()();$t=!1,zt.clear(),Ke(e)}function ci(e){if(e.fragment!==null){e.update(),rt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Tt)}}function di(e){const t=[],n=[];Ue.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),Ue=t}const pi=new Set;function mi(e,t){e&&e.i&&(pi.delete(e),e.i(t))}function He(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function gi(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),Tt(()=>{const o=e.$$.on_mount.map(ar).filter(gn);e.$$.on_destroy?e.$$.on_destroy.push(...o):rt(o),e.$$.on_mount=[]}),i.forEach(Tt)}function vi(e,t){const n=e.$$;n.fragment!==null&&(di(n.after_update),rt(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Ai(e,t){e.$$.dirty[0]===-1&&(ke.push(e),fi(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function bn(e,t,n,r,i,o,s=null,a=[-1]){const l=et;Ke(e);const u=e.$$={fragment:null,ctx:[],props:o,update:K,not_equal:i,bound:Rn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Rn(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};s&&s(u.root);let c=!1;if(u.ctx=n?n(e,t.props||{},(f,d,...E)=>{const T=E.length?E[0]:d;return u.ctx&&i(u.ctx[f],u.ctx[f]=T)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](T),c&&Ai(e,f)),d}):[],u.update(),c=!0,rt(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const f=oi(t.target);u.fragment&&u.fragment.l(f),f.forEach(X)}else u.fragment&&u.fragment.c();t.intro&&mi(e.$$.fragment),gi(e,t.target,t.anchor),he()}Ke(l)}let hr;typeof HTMLElement=="function"&&(hr=class extends HTMLElement{constructor(t,n,r){super();le(this,"$$ctor");le(this,"$$s");le(this,"$$c");le(this,"$$cn",!1);le(this,"$$d",{});le(this,"$$r",!1);le(this,"$$p_d",{});le(this,"$$l",{});le(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 dt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=G("slot"),o!=="default"&&x(s,"name",o)},m:function(u,c){W(u,s,c)},d:function(u){u&&X(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=ui(this);for(const o of this.$$s)o in r&&(n[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=Et(s,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:ct(ft({},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 s=Et(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,n,r){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Et(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 Et(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 En(e,t,n,r,i,o){let s=class extends hr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var u;l=Et(a,l,t),this.$$d[a]=l,(u=this.$$c)==null||u.$set({[a]:l})}})}),r.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=s,s}class yn{constructor(){le(this,"$$");le(this,"$$set")}$destroy(){vi(this,1),this.$destroy=K}$on(t,n){if(!gn(n))return K;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&&!ti(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const bi="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(bi);function vt(e){return e.toString().padStart(2,"0")}function Nn(e){const t=new Date(e),n=[vt(t.getDate()),vt(t.getMonth()+1),t.getFullYear()%100].join("."),r=[vt(t.getHours()),vt(t.getMinutes())].join(":"),i=t.getHours()>=12?"PM":"AM";return[n,r+" "+i]}const Ei=`
2
- data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7d13uF1Vnf/x93fvc25PIYAQmorYCCTBUBVSqJbBNlZ0sI3+1BkLguKMo8Yyo0IAxdFnnLGPZewgKlLTIIQSQxK6SE8hJJB+29l7/f64QQMkN7fsc7577/N5PQ+PSu7d6wMmd3/OWmuvbUimwtxJXcTxywmcDkwFDgTGA+abTGQnbr8Dkpp3CpFniuNApdJDS8sqqtXfkFTPtzMfXesdq0x0U8pImDv5AKLwObAzgDbvPCJDogIgRWEGXV330NF6hr1p3RLvOGWgAjBKYe7MCvHjnyNwFtDunUdkWFQApGiiCMZ0LSSZcKq964Ee7zhFFnkHKLKwaNIEosf/SOBf0c1fRKT+0hQ2bjqB2to14Zf7vcg7TpGpAIxQuPqwfeiPFwMneWcREWk6PdvGsX7dsvDDfQ7zjlJUKgAjEG6f1EI1+jnwfO8sIiJNq6+vhb6Ni8KPJoz1jlJEKgAj8Vj8DWC6dwwRkabX3TOGWv8N3jGKSAVgmMK8qUdhvMc7h4iI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Uxv9BOR+knCPt4RJDsqAGUSpS3eEUSkvIKFdu8Mkh0VABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCoCIiEgTUgEQERFpQioAIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCoCIiEgTUgEQERFpQioAIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCkCZpFGfdwQRKS8L1u2dQbKjAlAmcdjgHUFEysviaI13BsmOCkCZJPYX7wgiUl5WCYu8M0h2VADK5Lrf3w884h1DRMqn2lJJDn5oiQpAiagAlIhBAH7nnUNEyqerq/1Og9Q7h2RHBaBsApd6RxCR8mlrrf7UO4NkSwWgbK47+koIf/KOISLl0d7e0n3I6rHneeeQbKkAlIwxO4XoX71ziEh5jN9jzOeMeTXvHJItFYASsoW/vwILv/HOISLFN25c58rnr1ryFe8ckj1hLOs1AAAA8klEQVQVgLKKus8EVnjHEJHiam9r6Z0wZuwx3jmkPlQASsrmzduCxa9BjwWKyAi0tMTJnnuPO/XAR25Y6Z1F6kMFoMRswWX3Q3I0cKN3FhEpjs6uti377D3myIMfvnmBdxapHxWAkrOFV6wm3jYTwlcBvStARHbJzNhzzzFLxu47bv/nrrz1Vu88Ul/mHUAaJxz/qoMhfAHjDUCLdx7xt3jx3fT3J94xxJmZMW5cxwNjujre+dxHbp7vnUcaQwWgCYWTTx5HX/XlpPZqjMOBA4A9vHNJ46kANKdKJQ7Vatzb2lpd09ZevbQ9bj9fa/3N5/8DLDrhXaS1FJcAAAAASUVORK5CYII=
3
- `;function yi(e){vn(e,"svelte-1theew5",".lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#fff;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function wi(e){let t;return{c(){t=G("div"),t.innerHTML="<div></div><div></div><div></div><div></div>",x(t,"class","lds-ellipsis")},m(n,r){W(n,t,r)},p:K,i:K,o:K,d(n){n&&X(t)}}}class xi extends yn{constructor(t){super(),bn(this,t,null,wi,Rt,{},yi)}}customElements.define("casino-tournaments-limited-controller-loader",En(xi,{},[],[],!0));/*! *****************************************************************************
4
- Copyright (c) Microsoft Corporation.
5
-
6
- Permission to use, copy, modify, and/or distribute this software for any
7
- purpose with or without fee is hereby granted.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
- PERFORMANCE OF THIS SOFTWARE.
16
- ***************************************************************************** */var en=function(e,t){return en=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])},en(e,t)};function Ee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");en(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var P=function(){return P=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},P.apply(this,arguments)};function Ii(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 tn(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function nn(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o}function Fe(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||t)}function be(e){return typeof e=="function"}function fr(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Jt=fr(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
17
- `+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
18
- `):"",this.name="UnsubscriptionError",this.errors=n}});function rn(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ot=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=tn(s),l=a.next();!l.done;l=a.next()){var u=l.value;u.remove(this)}}catch(I){t={error:I}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}else s.remove(this);var c=this.initialTeardown;if(be(c))try{c()}catch(I){o=I instanceof Jt?I.errors:[I]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var d=tn(f),E=d.next();!E.done;E=d.next()){var T=E.value;try{_n(T)}catch(I){o=o!=null?o:[],I instanceof Jt?o=Fe(Fe([],nn(o)),nn(I.errors)):o.push(I)}}}catch(I){r={error:I}}finally{try{E&&!E.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}}if(o)throw new Jt(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)_n(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&rn(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&rn(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),cr=Ot.EMPTY;function dr(e){return e instanceof Ot||e&&"closed"in e&&be(e.remove)&&be(e.add)&&be(e.unsubscribe)}function _n(e){be(e)?e():e.unsubscribe()}var pr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Bi={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,Fe([e,t],nn(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Ti(e){Bi.setTimeout(function(){throw e})}function Pn(){}function yt(e){e()}var mr=function(e){Ee(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,dr(n)&&n.add(r)):r.destination=Ri,r}return t.create=function(n,r,i){return new on(n,r,i)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ot),Ci=Function.prototype.bind;function Xt(e,t){return Ci.call(e,t)}var Si=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){At(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){At(r)}else At(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){At(n)}},e}(),on=function(e){Ee(t,e);function t(n,r,i){var o=e.call(this)||this,s;if(be(n)||!n)s={next:n!=null?n:void 0,error:r!=null?r:void 0,complete:i!=null?i:void 0};else{var a;o&&pr.useDeprecatedNextContext?(a=Object.create(n),a.unsubscribe=function(){return o.unsubscribe()},s={next:n.next&&Xt(n.next,a),error:n.error&&Xt(n.error,a),complete:n.complete&&Xt(n.complete,a)}):s=n}return o.destination=new Si(s),o}return t}(mr);function At(e){Ti(e)}function Hi(e){throw e}var Ri={closed:!0,next:Pn,error:Hi,complete:Pn},Oi=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ni(e){return e}function _i(e){return e.length===0?Ni:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var Dn=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,o=Di(t)?t:new on(t,n,r);return yt(function(){var s=i,a=s.operator,l=s.source;o.add(a?a.call(o,l):l?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=Ln(n),new n(function(i,o){var s=new on({next:function(a){try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});r.subscribe(s)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[Oi]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return _i(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Ln(t),new t(function(r,i){var o;n.subscribe(function(s){return o=s},function(s){return i(s)},function(){return r(o)})})},e.create=function(t){return new e(t)},e}();function Ln(e){var t;return(t=e!=null?e:pr.Promise)!==null&&t!==void 0?t:Promise}function Pi(e){return e&&be(e.next)&&be(e.error)&&be(e.complete)}function Di(e){return e&&e instanceof mr||Pi(e)&&dr(e)}var Li=fr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),gr=function(e){Ee(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Mn(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Li},t.prototype.next=function(n){var r=this;yt(function(){var i,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=tn(r.currentObservers),a=s.next();!a.done;a=s.next()){var l=a.value;l.next(n)}}catch(u){i={error:u}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;yt(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;yt(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?cr:(this.currentObservers=null,a.push(n),new Ot(function(){r.currentObservers=null,rn(a,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,o=r.thrownError,s=r.isStopped;i?n.error(o):s&&n.complete()},t.prototype.asObservable=function(){var n=new Dn;return n.source=this,n},t.create=function(n,r){return new Mn(n,r)},t}(Dn),Mn=function(e){Ee(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:cr},t}(gr),vr={now:function(){return(vr.delegate||Date).now()},delegate:void 0},Mi=function(e){Ee(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=vr);var o=e.call(this)||this;return o._bufferSize=n,o._windowTime=r,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,n),o._windowTime=Math.max(1,r),o}return t.prototype.next=function(n){var r=this,i=r.isStopped,o=r._buffer,s=r._infiniteTimeWindow,a=r._timestampProvider,l=r._windowTime;i||(o.push(n),!s&&o.push(a.now()+l)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),l=0;l<a.length&&!n.closed;l+=o?1:2)n.next(a[l]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,i=n._timestampProvider,o=n._buffer,s=n._infiniteTimeWindow,a=(s?1:2)*r;if(r<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var l=i.now(),u=0,c=1;c<o.length&&o[c]<=l;c+=2)u=c;u&&o.splice(0,u+1)}},t}(gr);const kn=[],Un={},ki=(e,t=0)=>{if(kn.indexOf(e)==-1){const n=new Mi(t);Un[e]=n,kn.push(e)}return Un[e]},Le=[];function Ui(e,t){return{subscribe:Nt(e,t).subscribe}}function Nt(e,t=K){let n;const r=new Set;function i(a){if(Rt(e,a)&&(e=a,n)){const l=!Le.length;for(const u of r)u[1](),Le.push(u,e);if(l){for(let u=0;u<Le.length;u+=2)Le[u][0](Le[u+1]);Le.length=0}}}function o(a){i(a(e))}function s(a,l=K){const u=[a,l];return r.add(u),r.size===1&&(n=t(i,o)||K),a(e),()=>{r.delete(u),r.size===0&&n&&(n(),n=null)}}return{set:i,update:o,subscribe:s}}function Je(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 Ui(n,(s,a)=>{let l=!1;const u=[];let c=0,f=K;const d=()=>{if(c)return;f();const T=t(r?u[0]:u,s,a);o?s(T):f=gn(T)?T:K},E=i.map((T,I)=>ur(T,U=>{u[I]=U,c&=~(1<<I),l&&d()},()=>{c|=1<<I}));return l=!0,d(),function(){rt(E),f(),l=!1}})}var Fi=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Gi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ji=function(t){return Qi(t)&&!zi(t)};function Qi(e){return!!e&&typeof e=="object"}function zi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Vi(e)}var Ji=typeof Symbol=="function"&&Symbol.for,Xi=Ji?Symbol.for("react.element"):60103;function Vi(e){return e.$$typeof===Xi}function Zi(e){return Array.isArray(e)?[]:{}}function tt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ge(Zi(e),e,t):e}function Wi(e,t,n){return e.concat(t).map(function(r){return tt(r,n)})}function Yi(e,t){if(!t.customMerge)return Ge;var n=t.customMerge(e);return typeof n=="function"?n:Ge}function qi(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Fn(e){return Object.keys(e).concat(qi(e))}function Ar(e,t){try{return t in e}catch(n){return!1}}function Ki(e,t){return Ar(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function $i(e,t,n){var r={};return n.isMergeableObject(e)&&Fn(e).forEach(function(i){r[i]=tt(e[i],n)}),Fn(t).forEach(function(i){Ki(e,i)||(Ar(e,i)&&n.isMergeableObject(t[i])?r[i]=Yi(i,n)(e[i],t[i],n):r[i]=tt(t[i],n))}),r}function Ge(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||Wi,n.isMergeableObject=n.isMergeableObject||ji,n.cloneUnlessOtherwiseSpecified=tt;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):$i(e,t,n):tt(t,n)}Ge.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return Ge(r,i,n)},{})};var eo=Ge,to=eo;const no=Gi(to);function Vt(e,t){var n=t&&t.cache?t.cache:uo,r=t&&t.serializer?t.serializer:ao,i=t&&t.strategy?t.strategy:io;return i(e,{cache:n,serializer:r})}function ro(e){return e==null||typeof e=="number"||typeof e=="boolean"}function br(e,t,n,r){var i=ro(r)?r:n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,r),t.set(i,o)),o}function Er(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 wn(e,t,n,r,i){return n.bind(t,e,r,i)}function io(e,t){var n=e.length===1?br:Er;return wn(e,this,n,t.cache.create(),t.serializer)}function oo(e,t){return wn(e,this,Er,t.cache.create(),t.serializer)}function so(e,t){return wn(e,this,br,t.cache.create(),t.serializer)}var ao=function(){return JSON.stringify(arguments)};function xn(){this.cache=Object.create(null)}xn.prototype.get=function(e){return this.cache[e]};xn.prototype.set=function(e,t){this.cache[e]=t};var uo={create:function(){return new xn}},Zt={variadic:oo,monadic:so},H;(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"})(H||(H={}));var j;(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"})(j||(j={}));var je;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(je||(je={}));function Gn(e){return e.type===j.literal}function lo(e){return e.type===j.argument}function yr(e){return e.type===j.number}function wr(e){return e.type===j.date}function xr(e){return e.type===j.time}function Ir(e){return e.type===j.select}function Br(e){return e.type===j.plural}function ho(e){return e.type===j.pound}function Tr(e){return e.type===j.tag}function Cr(e){return!!(e&&typeof e=="object"&&e.type===je.number)}function sn(e){return!!(e&&typeof e=="object"&&e.type===je.dateTime)}var Sr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,fo=/(?:[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 co(e){var t={};return e.replace(fo,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 po=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function mo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(po).filter(function(d){return d.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],l=s.slice(1),u=0,c=l;u<c.length;u++){var f=c[u];if(f.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:l})}return n}function go(e){return e.replace(/^(.*?)-/,"")}var jn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Hr=/^(@+)?(\+|#+)?[rs]?$/g,vo=/(\*)(0+)|(#+)(0+)|(0+)/g,Rr=/^(0+)$/;function Qn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Hr,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 Or(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 Ao(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)),!Rr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function zn(e){var t={},n=Or(e);return n||t}function bo(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=go(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=P(P(P({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return P(P({},l),zn(u))},{}));continue;case"engineering":t=P(P(P({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return P(P({},l),zn(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(vo,function(l,u,c,f,d,E){if(u)t.minimumIntegerDigits=c.length;else{if(f&&d)throw new Error("We currently do not support maximum integer digits");if(E)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Rr.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(jn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(jn,function(l,u,c,f,d,E){return c==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:d&&E?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+E.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=i.options[0];o==="w"?t=P(P({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=P(P({},t),Qn(o)));continue}if(Hr.test(i.stem)){t=P(P({},t),Qn(i.stem));continue}var s=Or(i.stem);s&&(t=P(P({},t),s));var a=Ao(i.stem);a&&(t=P(P({},t),a))}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 s=1+(o&1),a=o<2?1:3+(o>>1),l="a",u=yo(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)n+=l;for(;s-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function yo(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 Wt,wo=new RegExp("^".concat(Sr.source,"*")),xo=new RegExp("".concat(Sr.source,"*$"));function O(e,t){return{start:e,end:t}}var Io=!!String.prototype.startsWith&&"_a".startsWith("a",1),Bo=!!String.fromCodePoint,To=!!Object.fromEntries,Co=!!String.prototype.codePointAt,So=!!String.prototype.trimStart,Ho=!!String.prototype.trimEnd,Ro=!!Number.isSafeInteger,Oo=Ro?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},an=!0;try{var No=_r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");an=((Wt=No.exec("a"))===null||Wt===void 0?void 0:Wt[0])==="a"}catch(e){an=!1}var Jn=Io?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},un=Bo?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Xn=To?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var o=i[r],s=o[0],a=o[1];n[s]=a}return n},Nr=Co?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}},_o=So?function(t){return t.trimStart()}:function(t){return t.replace(wo,"")},Po=Ho?function(t){return t.trimEnd()}:function(t){return t.replace(xo,"")};function _r(e,t){return new RegExp(e,t)}var ln;if(an){var Vn=_r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ln=function(t,n){var r;Vn.lastIndex=n;var i=Vn.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else ln=function(t,n){for(var r=[];;){var i=Nr(t,n);if(i===void 0||Pr(i)||ko(i))break;r.push(i),n+=i>=65536?2:1}return un.apply(void 0,r)};var Do=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 s=this.parseArgument(t,r);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:j.pound,location:O(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(H.UNMATCHED_CLOSING_TAG,O(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&hn(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,n);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:j.literal,value:"<".concat(i,"/>"),location:O(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!hn(this.char()))return this.error(H.INVALID_TAG,O(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(H.UNMATCHED_CLOSING_TAG,O(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:j.tag,value:i,children:s,location:O(r,this.clonePosition())},err:null}:this.error(H.INVALID_TAG,O(a,this.clonePosition())))}else return this.error(H.UNCLOSED_TAG,O(r,this.clonePosition()))}else return this.error(H.INVALID_TAG,O(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Mo(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 s=this.tryParseUnquoted(t,n);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var l=O(r,this.clonePosition());return{val:{type:j.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Lo(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 un.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(),un(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,O(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(H.EMPTY_ARGUMENT,O(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(H.MALFORMED_ARGUMENT,O(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,O(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:j.argument,value:i,location:O(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,O(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(H.MALFORMED_ARGUMENT,O(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=ln(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),s=O(t,o);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,n,r,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(H.EXPECT_ARGUMENT_TYPE,O(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var d=Po(f.val);if(d.length===0)return this.error(H.EXPECT_ARGUMENT_STYLE,O(this.clonePosition(),this.clonePosition()));var E=O(c,this.clonePosition());u={style:d,styleLocation:E}}var T=this.tryParseArgumentClose(i);if(T.err)return T;var I=O(i,this.clonePosition());if(u&&Jn(u==null?void 0:u.style,"::",0)){var U=_o(u.style.slice(2));if(a==="number"){var f=this.parseNumberSkeletonFromString(U,u.styleLocation);return f.err?f:{val:{type:j.number,value:r,location:I,style:f.val},err:null}}else{if(U.length===0)return this.error(H.EXPECT_DATE_TIME_SKELETON,I);var V=U;this.locale&&(V=Eo(U,this.locale));var d={type:je.dateTime,pattern:V,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?co(V):{}},S=a==="date"?j.date:j.time;return{val:{type:S,value:r,location:I,style:d},err:null}}}return{val:{type:a==="number"?j.number:a==="date"?j.date:j.time,value:r,location:I,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS,O(A,P({},A)));this.bumpSpace();var B=this.parseIdentifierIfPossible(),N=0;if(a!=="select"&&B.value==="offset"){if(!this.bumpIf(":"))return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),B=this.parseIdentifierIfPossible(),N=f.val}var Y=this.tryParsePluralOrSelectOptions(t,a,n,B);if(Y.err)return Y;var T=this.tryParseArgumentClose(i);if(T.err)return T;var F=O(i,this.clonePosition());return a==="select"?{val:{type:j.select,value:r,options:Xn(Y.val),location:F},err:null}:{val:{type:j.plural,value:r,options:Xn(Y.val),offset:N,pluralType:a==="plural"?"cardinal":"ordinal",location:F},err:null}}default:return this.error(H.INVALID_ARGUMENT_TYPE,O(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,O(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(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,O(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(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=mo(t)}catch(i){return this.error(H.INVALID_NUMBER_SKELETON,n)}return{val:{type:je.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?bo(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var o,s=!1,a=[],l=new Set,u=i.value,c=i.location;;){if(u.length===0){var f=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR,H.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=O(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(l.has(u))return this.error(n==="select"?H.DUPLICATE_SELECT_ARGUMENT_SELECTOR:H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var E=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,O(this.clonePosition(),this.clonePosition()));var T=this.parseMessage(t+1,n,r);if(T.err)return T;var I=this.tryParseArgumentClose(E);if(I.err)return I;a.push([u,{value:T.val,location:O(E,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return a.length===0?this.error(n==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR:H.EXPECT_PLURAL_ARGUMENT_SELECTOR,O(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(H.MISSING_OTHER_CLAUSE,O(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var l=O(i,this.clonePosition());return o?(s*=r,Oo(s)?{val:s,err:null}:this.error(n,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=Nr(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(Jn(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()&&Pr(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 hn(e){return e>=97&&e<=122||e>=65&&e<=90}function Lo(e){return hn(e)||e===47}function Mo(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 Pr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ko(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 fn(e){e.forEach(function(t){if(delete t.location,Ir(t)||Br(t))for(var n in t.options)delete t.options[n].location,fn(t.options[n].value);else yr(t)&&Cr(t.style)||(wr(t)||xr(t))&&sn(t.style)?delete t.style.location:Tr(t)&&fn(t.children)})}function Uo(e,t){t===void 0&&(t={}),t=P({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Do(e,t).parse();if(n.err){var r=SyntaxError(H[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||fn(n.val),n.val}var Qe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Qe||(Qe={}));var _t=function(e){Ee(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),Zn=function(e){Ee(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('", "'),'"'),Qe.INVALID_VALUE,o)||this}return t}(_t),Fo=function(e){Ee(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Qe.INVALID_VALUE,i)||this}return t}(_t),Go=function(e){Ee(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,'"'),Qe.MISSING_VALUE,r)||this}return t}(_t),oe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(oe||(oe={}));function jo(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==oe.literal||n.type!==oe.literal?t.push(n):r.value+=n.value,t},[])}function Qo(e){return typeof e=="function"}function wt(e,t,n,r,i,o,s){if(e.length===1&&Gn(e[0]))return[{type:oe.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Gn(c)){a.push({type:oe.literal,value:c.value});continue}if(ho(c)){typeof o=="number"&&a.push({type:oe.literal,value:n.getNumberFormat(t).format(o)});continue}var f=c.value;if(!(i&&f in i))throw new Go(f,s);var d=i[f];if(lo(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),a.push({type:typeof d=="string"?oe.literal:oe.object,value:d});continue}if(wr(c)){var E=typeof c.style=="string"?r.date[c.style]:sn(c.style)?c.style.parsedOptions:void 0;a.push({type:oe.literal,value:n.getDateTimeFormat(t,E).format(d)});continue}if(xr(c)){var E=typeof c.style=="string"?r.time[c.style]:sn(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:oe.literal,value:n.getDateTimeFormat(t,E).format(d)});continue}if(yr(c)){var E=typeof c.style=="string"?r.number[c.style]:Cr(c.style)?c.style.parsedOptions:void 0;E&&E.scale&&(d=d*(E.scale||1)),a.push({type:oe.literal,value:n.getNumberFormat(t,E).format(d)});continue}if(Tr(c)){var T=c.children,I=c.value,U=i[I];if(!Qo(U))throw new Fo(I,"function",s);var V=wt(T,t,n,r,i,o),S=U(V.map(function(N){return N.value}));Array.isArray(S)||(S=[S]),a.push.apply(a,S.map(function(N){return{type:typeof N=="string"?oe.literal:oe.object,value:N}}))}if(Ir(c)){var A=c.options[d]||c.options.other;if(!A)throw new Zn(c.value,d,Object.keys(c.options),s);a.push.apply(a,wt(A.value,t,n,r,i));continue}if(Br(c)){var A=c.options["=".concat(d)];if(!A){if(!Intl.PluralRules)throw new _t(`Intl.PluralRules is not available in this environment.
19
- Try polyfilling it using "@formatjs/intl-pluralrules"
20
- `,Qe.MISSING_INTL_API,s);var B=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));A=c.options[B]||c.options.other}if(!A)throw new Zn(c.value,d,Object.keys(c.options),s);a.push.apply(a,wt(A.value,t,n,r,i,d-(c.offset||0)));continue}}return jo(a)}function zo(e,t){return t?P(P(P({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=P(P({},e[r]),t[r]||{}),n},{})):e}function Jo(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=zo(e[r],t[r]),n},P({},e)):e}function Yt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Xo(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Vt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,Fe([void 0],n,!1)))},{cache:Yt(e.number),strategy:Zt.variadic}),getDateTimeFormat:Vt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,Fe([void 0],n,!1)))},{cache:Yt(e.dateTime),strategy:Zt.variadic}),getPluralRules:Vt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,Fe([void 0],n,!1)))},{cache:Yt(e.pluralRules),strategy:Zt.variadic})}}var Vo=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 u=o.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(f,d){return!f.length||d.type!==oe.literal||typeof f[f.length-1]!="string"?f.push(d.value):f[f.length-1]+=d.value,f},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return wt(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 s=i||{};s.formatters;var a=Ii(s,["formatters"]);this.ast=e.__parse(t,P(P({},a),{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=Jo(e.formats,r),this.formatters=i&&i.formatters||Xo(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=Uo,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 Zo(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 Ie={},Wo=(e,t,n)=>n&&(t in Ie||(Ie[t]={}),e in Ie[t]||(Ie[t][e]=n),n),Dr=(e,t)=>{if(t==null)return;if(t in Ie&&e in Ie[t])return Ie[t][e];const n=Pt(t);for(let r=0;r<n.length;r++){const i=n[r],o=qo(i,e);if(o)return Wo(e,t,o)}};let In;const Xe=Nt({});function Yo(e){return In[e]||null}function Lr(e){return e in In}function qo(e,t){if(!Lr(e))return null;const n=Yo(e);return Zo(n,t)}function Ko(e){if(e==null)return;const t=Pt(e);for(let n=0;n<t.length;n++){const r=t[n];if(Lr(r))return r}}function Mr(e,...t){delete Ie[e],Xe.update(n=>(n[e]=no.all([n[e]||{},...t]),n))}Je([Xe],([e])=>Object.keys(e));Xe.subscribe(e=>In=e);const xt={};function $o(e,t){xt[e].delete(t),xt[e].size===0&&delete xt[e]}function kr(e){return xt[e]}function es(e){return Pt(e).map(t=>{const n=kr(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function cn(e){return e==null?!1:Pt(e).some(t=>{var n;return(n=kr(t))==null?void 0:n.size})}function ts(e,t){return Promise.all(t.map(r=>($o(e,r),r().then(i=>i.default||i)))).then(r=>Mr(e,...r))}const qe={};function Ur(e){if(!cn(e))return e in qe?qe[e]:Promise.resolve();const t=es(e);return qe[e]=Promise.all(t.map(([n,r])=>ts(n,r))).then(()=>{if(cn(e))return Ur(e);delete qe[e]}),qe[e]}const ns={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"}}},rs={fallbackLocale:null,loadingDelay:200,formats:ns,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},is=rs;function ze(){return is}const qt=Nt(!1);var os=Object.defineProperty,ss=Object.defineProperties,as=Object.getOwnPropertyDescriptors,Wn=Object.getOwnPropertySymbols,us=Object.prototype.hasOwnProperty,ls=Object.prototype.propertyIsEnumerable,Yn=(e,t,n)=>t in e?os(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hs=(e,t)=>{for(var n in t||(t={}))us.call(t,n)&&Yn(e,n,t[n]);if(Wn)for(var n of Wn(t))ls.call(t,n)&&Yn(e,n,t[n]);return e},fs=(e,t)=>ss(e,as(t));let dn;const Ct=Nt(null);function qn(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function Pt(e,t=ze().fallbackLocale){const n=qn(e);return t?[...new Set([...n,...qn(t)])]:n}function Oe(){return dn!=null?dn:void 0}Ct.subscribe(e=>{dn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const cs=e=>{if(e&&Ko(e)&&cn(e)){const{loadingDelay:t}=ze();let n;return typeof window!="undefined"&&Oe()!=null&&t?n=window.setTimeout(()=>qt.set(!0),t):qt.set(!0),Ur(e).then(()=>{Ct.set(e)}).finally(()=>{clearTimeout(n),qt.set(!1)})}return Ct.set(e)},Te=fs(hs({},Ct),{set:cs}),Dt=e=>{const t=Object.create(null);return r=>{const i=JSON.stringify(r);return i in t?t[i]:t[i]=e(r)}};var ds=Object.defineProperty,St=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,Gr=Object.prototype.propertyIsEnumerable,Kn=(e,t,n)=>t in e?ds(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bn=(e,t)=>{for(var n in t||(t={}))Fr.call(t,n)&&Kn(e,n,t[n]);if(St)for(var n of St(t))Gr.call(t,n)&&Kn(e,n,t[n]);return e},Ve=(e,t)=>{var n={};for(var r in e)Fr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&St)for(var r of St(e))t.indexOf(r)<0&&Gr.call(e,r)&&(n[r]=e[r]);return n};const nt=(e,t)=>{const{formats:n}=ze();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ps=Dt(e=>{var t=e,{locale:n,format:r}=t,i=Ve(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=nt("number",r)),new Intl.NumberFormat(n,i)}),ms=Dt(e=>{var t=e,{locale:n,format:r}=t,i=Ve(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=nt("date",r):Object.keys(i).length===0&&(i=nt("date","short")),new Intl.DateTimeFormat(n,i)}),gs=Dt(e=>{var t=e,{locale:n,format:r}=t,i=Ve(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=nt("time",r):Object.keys(i).length===0&&(i=nt("time","short")),new Intl.DateTimeFormat(n,i)}),vs=(e={})=>{var t=e,{locale:n=Oe()}=t,r=Ve(t,["locale"]);return ps(Bn({locale:n},r))},As=(e={})=>{var t=e,{locale:n=Oe()}=t,r=Ve(t,["locale"]);return ms(Bn({locale:n},r))},bs=(e={})=>{var t=e,{locale:n=Oe()}=t,r=Ve(t,["locale"]);return gs(Bn({locale:n},r))},Es=Dt((e,t=Oe())=>new Vo(e,t,ze().formats,{ignoreTag:ze().ignoreTag})),ys=(e,t={})=>{var n,r,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:l=Oe(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Dr(e,l);if(!c)c=(o=(i=(r=(n=ze()).handleMissingMessage)==null?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=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(!a)return c;let f=c;try{f=Es(c,l).format(a)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return f},ws=(e,t)=>bs(t).format(e),xs=(e,t)=>As(t).format(e),Is=(e,t)=>vs(t).format(e),Bs=(e,t=Oe())=>Dr(e,t),Ts=Je([Te,Xe],()=>ys);Je([Te],()=>ws);Je([Te],()=>xs);Je([Te],()=>Is);Je([Te,Xe],()=>Bs);window.emWidgets={topic:ki};const Cs=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Ss=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",{userAgent:Hs}=window.navigator;Cs(window.navigator.userAgent);Ss(Hs);const $n=e=>{switch(e){case"Unstarted":return"Scheduled";case"Running":return"Ongoing";case"Closing":return"Finished";case"Closed":return"Finished";default:console.error("matching status failed")}},Ht={en:{500:"500 - Internal server error",scheduled:"Upcoming",ongoing:"Running",finished:"Closed",last:"last",loading:"Loading, please wait ...",noTournaments:"No tournaments found",nothing:"Nothing to show here.",name:"Name",rank:"Rank",enddate:"End Date",prize:"Prize",myTournaments:"My Tournaments"},hr:{500:"500 - Interna pogreška poslužitelja",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",last:"zadnje",loading:"Učitavanje, molimo pričekajte ...",noTournaments:"Nema pronađenih turnira",nothing:"Nema ničega za prikazati ovdje.",name:"Ime",rank:"Poredak",enddate:"Datum završetka",prize:"Nagrada",myTournaments:"Moji turniri"},"zh-hk":{500:"500内部服务器错误",scheduled:"即将到来",ongoing:"跑步",finished:"关闭",last:"最后的",loading:"加载请稍候 ...",noTournaments:"没有找到比赛",nothing:"这里没有什么可显示的。",name:"姓名",rank:"秩",enddate:"结束日期",prize:"奖",myTournaments:"我的锦标赛"},fr:{500:"500 - Erreur interne du serveur",scheduled:"A venir",ongoing:"Fonctionnement",finished:"Fermé",last:"dernière",loading:"Chargement, veuillez patienter ...",noTournaments:"Aucun tournoi trouvé",nothing:"Rien à montrer ici.",name:"Nom",rank:"Rang",enddate:"Date de fin",prize:"Prix",myTournaments:"Mes tournois"},ro:{500:"500 - Eroare internă de server",scheduled:"Urmează",ongoing:"Rulează",finished:"Închis",last:"ultimul",loading:"Se încarcă...",noTournaments:"Niciun turneu",nothing:"Niciun turneu disponibil aici",name:"Nume",rank:"Poziție",enddate:"Data finalizării",prize:"Premiu",myTournaments:"Turneele Mele"},tr:{500:"500 - Dahili sunucu hatası",scheduled:"Yaklaşan",ongoing:"Devam eden",finished:"Kapalı",last:"son",loading:"Yükleniyor, lütfen bekleyin ...",noTournaments:"Turnuva bulunamadı",nothing:"Burada gösterilecek bir şey yok.",prizes:"Ödüller",name:"Ad",rank:"Sıra",enddate:"Bitiş Tarihi",prize:"Ödül",myTournaments:"Turnuvalarım"},el:{500:"500 - Σφάλμα Διακομιστή",showMore:"Περισσότερα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",last:"τελευταίος",loading:"Φορτώνει, παρακαλούμε περιμένετε ...",noTournaments:"Δεν βρέθηκαν τουρνουά",nothing:"Δεν υπάρχει τίποτα εδώ.",prizes:"Έπαθλα",name:"Ονομα",rank:"Τάξη",enddate:"Ημερομηνία λήξης",prize:"Βραβείο",myTournaments:"Τα τουρνουά μου"},es:{500:"500 - Error servidor interno",scheduled:"Próximamente",ongoing:"En vivo",finished:"Cerrado",last:"último",loading:"Cargando…",noTournaments:"No se encontraron Torneos",nothing:"Nada que mostrar aquí.",name:"Nombre",rank:"Ranking",enddate:"Fecha fin",prize:"Premio",myTournaments:"Mis Torneos"},hu:{500:"500 - Belső szerver hiba",scheduled:"Közelgő",ongoing:"Jelenleg folyó",finished:"Lezárt",last:"Legutóbbi",loading:"Betöltés, kérjük várjon...",noTournaments:"Verseny nem található",nothing:"Nincs megjelenítendő adat.",name:"Név",rank:"rangsor",enddate:"Befejezés dátuma",prize:"Díj",myTournaments:"Versenyeim"},"en-us":{500:"500 - Internal server error",scheduled:"Upcoming",ongoing:"Running",finished:"Closed",last:"last",loading:"Loading, please wait ...",noTournaments:"No tournaments found",nothing:"Nothing to show here.",name:"Name",rank:"Rank",enddate:"End Date",prize:"Prize",myTournaments:"My Tournaments"}};function jr({withLocale:e,translations:t}){Te.subscribe(n=>{n==null&&(Xe.set(t),Te.set(e))})}function pn(e,t){Mr(e,t)}function Rs(e){Te.set(e)}const Os=()=>{jr({withLocale:"en",translations:{}}),Object.keys(Ht).forEach(e=>{pn(e,Ht[e])})};var mn={exports:{}};/** @license
21
- * eventsource.js
22
- * Available under MIT License (MIT)
23
- * https://github.com/Yaffle/EventSource/
24
- */(function(e,t){(function(n){var r=n.setTimeout,i=n.clearTimeout,o=n.XMLHttpRequest,s=n.XDomainRequest,a=n.ActiveXObject,l=n.EventSource,u=n.document,c=n.Promise,f=n.fetch,d=n.Response,E=n.TextDecoder,T=n.TextEncoder,I=n.AbortController;if(typeof window!="undefined"&&typeof u!="undefined"&&!("readyState"in u)&&u.body==null&&(u.readyState="loading",window.addEventListener("load",function(h){u.readyState="complete"},!1)),o==null&&a!=null&&(o=function(){return new a("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(h){function m(){}return m.prototype=h,new m}),Date.now||(Date.now=function(){return new Date().getTime()}),I==null){var U=f;f=function(h,m){var g=m.signal;return U(h,{headers:m.headers,credentials:m.credentials,cache:m.cache}).then(function(p){var y=p.body.getReader();return g._reader=y,g._aborted&&g._reader.cancel(),{status:p.status,statusText:p.statusText,headers:p.headers,body:{getReader:function(){return y}}}})},I=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function V(){this.bitsNeeded=0,this.codePoint=0}V.prototype.decode=function(h){function m(L,k,w){if(w===1)return L>=128>>k&&L<<k<=2047;if(w===2)return L>=2048>>k&&L<<k<=55295||L>=57344>>k&&L<<k<=65535;if(w===3)return L>=65536>>k&&L<<k<=1114111;throw new Error}function g(L,k){if(L===6*1)return k>>6>15?3:k>31?2:1;if(L===6*2)return k>15?3:2;if(L===6*3)return 3;throw new Error}for(var p=65533,y="",b=this.bitsNeeded,C=this.codePoint,z=0;z<h.length;z+=1){var R=h[z];b!==0&&(R<128||R>191||!m(C<<6|R&63,b-6,g(b,C)))&&(b=0,C=p,y+=String.fromCharCode(C)),b===0?(R>=0&&R<=127?(b=0,C=R):R>=192&&R<=223?(b=6*1,C=R&31):R>=224&&R<=239?(b=6*2,C=R&15):R>=240&&R<=247?(b=6*3,C=R&7):(b=0,C=p),b!==0&&!m(C,b,g(b,C))&&(b=0,C=p)):(b-=6,C=C<<6|R&63),b===0&&(C<=65535?y+=String.fromCharCode(C):(y+=String.fromCharCode(55296+(C-65535-1>>10)),y+=String.fromCharCode(56320+(C-65535-1&1023))))}return this.bitsNeeded=b,this.codePoint=C,y};var S=function(){try{return new E().decode(new T().encode("test"),{stream:!0})==="test"}catch(h){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+h)}return!1};(E==null||T==null||!S())&&(E=V);var A=function(){};function B(h){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=A,this.onload=A,this.onerror=A,this.onreadystatechange=A,this._contentType="",this._xhr=h,this._sendTimeout=0,this._abort=A}B.prototype.open=function(h,m){this._abort(!0);var g=this,p=this._xhr,y=1,b=0;this._abort=function(w){g._sendTimeout!==0&&(i(g._sendTimeout),g._sendTimeout=0),(y===1||y===2||y===3)&&(y=4,p.onload=A,p.onerror=A,p.onabort=A,p.onprogress=A,p.onreadystatechange=A,p.abort(),b!==0&&(i(b),b=0),w||(g.readyState=4,g.onabort(null),g.onreadystatechange())),y=0};var C=function(){if(y===1){var w=0,J="",me=void 0;if("contentType"in p)w=200,J="OK",me=p.contentType;else try{w=p.status,J=p.statusText,me=p.getResponseHeader("Content-Type")}catch(We){w=0,J="",me=void 0}w!==0&&(y=2,g.readyState=2,g.status=w,g.statusText=J,g._contentType=me,g.onreadystatechange())}},z=function(){if(C(),y===2||y===3){y=3;var w="";try{w=p.responseText}catch(J){}g.readyState=3,g.responseText=w,g.onprogress()}},R=function(w,J){if((J==null||J.preventDefault==null)&&(J={preventDefault:A}),z(),y===1||y===2||y===3){if(y=4,b!==0&&(i(b),b=0),g.readyState=4,w==="load")g.onload(J);else if(w==="error")g.onerror(J);else if(w==="abort")g.onabort(J);else throw new TypeError;g.onreadystatechange()}},L=function(w){p!=null&&(p.readyState===4?(!("onload"in p)||!("onerror"in p)||!("onabort"in p))&&R(p.responseText===""?"error":"load",w):p.readyState===3?"onprogress"in p||z():p.readyState===2&&C())},k=function(){b=r(function(){k()},500),p.readyState===3&&z()};"onload"in p&&(p.onload=function(w){R("load",w)}),"onerror"in p&&(p.onerror=function(w){R("error",w)}),"onabort"in p&&(p.onabort=function(w){R("abort",w)}),"onprogress"in p&&(p.onprogress=z),"onreadystatechange"in p&&(p.onreadystatechange=function(w){L(w)}),("contentType"in p||!("ontimeout"in o.prototype))&&(m+=(m.indexOf("?")===-1?"?":"&")+"padding=true"),p.open(h,m,!0),"readyState"in p&&(b=r(function(){k()},0))},B.prototype.abort=function(){this._abort(!1)},B.prototype.getResponseHeader=function(h){return this._contentType},B.prototype.setRequestHeader=function(h,m){var g=this._xhr;"setRequestHeader"in g&&g.setRequestHeader(h,m)},B.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},B.prototype.send=function(){if((!("ontimeout"in o.prototype)||!("sendAsBinary"in o.prototype)&&!("mozAnon"in o.prototype))&&u!=null&&u.readyState!=null&&u.readyState!=="complete"){var h=this;h._sendTimeout=r(function(){h._sendTimeout=0,h.send()},4);return}var m=this._xhr;"withCredentials"in m&&(m.withCredentials=this.withCredentials);try{m.send(void 0)}catch(g){throw g}};function N(h){return h.replace(/[A-Z]/g,function(m){return String.fromCharCode(m.charCodeAt(0)+32)})}function Y(h){for(var m=Object.create(null),g=h.split(`\r
25
- `),p=0;p<g.length;p+=1){var y=g[p],b=y.split(": "),C=b.shift(),z=b.join(": ");m[N(C)]=z}this._map=m}Y.prototype.get=function(h){return this._map[N(h)]},o!=null&&o.HEADERS_RECEIVED==null&&(o.HEADERS_RECEIVED=2);function F(){}F.prototype.open=function(h,m,g,p,y,b,C){h.open("GET",y);var z=0;h.onprogress=function(){var L=h.responseText,k=L.slice(z);z+=k.length,g(k)},h.onerror=function(L){L.preventDefault(),p(new Error("NetworkError"))},h.onload=function(){p(null)},h.onabort=function(){p(null)},h.onreadystatechange=function(){if(h.readyState===o.HEADERS_RECEIVED){var L=h.status,k=h.statusText,w=h.getResponseHeader("Content-Type"),J=h.getAllResponseHeaders();m(L,k,w,new Y(J))}},h.withCredentials=b;for(var R in C)Object.prototype.hasOwnProperty.call(C,R)&&h.setRequestHeader(R,C[R]);return h.send(),h};function Q(h){this._headers=h}Q.prototype.get=function(h){return this._headers.get(h)};function $(){}$.prototype.open=function(h,m,g,p,y,b,C){var z=null,R=new I,L=R.signal,k=new E;return f(y,{headers:C,credentials:b?"include":"same-origin",signal:L,cache:"no-store"}).then(function(w){return z=w.body.getReader(),m(w.status,w.statusText,w.headers.get("Content-Type"),new Q(w.headers)),new c(function(J,me){var We=function(){z.read().then(function(se){if(se.done)J(void 0);else{var ne=k.decode(se.value,{stream:!0});g(ne),We()}}).catch(function(se){me(se)})};We()})}).catch(function(w){if(w.name!=="AbortError")return w}).then(function(w){p(w)}),{abort:function(){z!=null&&z.cancel(),R.abort()}}};function Ce(){this._listeners=Object.create(null)}function it(h){r(function(){throw h},0)}Ce.prototype.dispatchEvent=function(h){h.target=this;var m=this._listeners[h.type];if(m!=null)for(var g=m.length,p=0;p<g;p+=1){var y=m[p];try{typeof y.handleEvent=="function"?y.handleEvent(h):y.call(this,h)}catch(b){it(b)}}},Ce.prototype.addEventListener=function(h,m){h=String(h);var g=this._listeners,p=g[h];p==null&&(p=[],g[h]=p);for(var y=!1,b=0;b<p.length;b+=1)p[b]===m&&(y=!0);y||p.push(m)},Ce.prototype.removeEventListener=function(h,m){h=String(h);var g=this._listeners,p=g[h];if(p!=null){for(var y=[],b=0;b<p.length;b+=1)p[b]!==m&&y.push(p[b]);y.length===0?delete g[h]:g[h]=y}};function ye(h){this.type=h,this.target=void 0}function ot(h,m){ye.call(this,h),this.data=m.data,this.lastEventId=m.lastEventId}ot.prototype=Object.create(ye.prototype);function we(h,m){ye.call(this,h),this.status=m.status,this.statusText=m.statusText,this.headers=m.headers}we.prototype=Object.create(ye.prototype);function st(h,m){ye.call(this,h),this.error=m.error}st.prototype=Object.create(ye.prototype);var Ze=-1,de=0,xe=1,v=2,D=-1,_=0,ee=1,at=2,Lt=3,Mt=/^text\/event\-stream(;.*)?$/i,Jr=1e3,Xr=18e6,kt=function(h,m){var g=h==null?m:parseInt(h,10);return g!==g&&(g=m),Ut(g)},Ut=function(h){return Math.min(Math.max(h,Jr),Xr)},Ne=function(h,m,g){try{typeof m=="function"&&m.call(h,g)}catch(p){it(p)}};function fe(h,m){Ce.call(this),m=m||{},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,Wr(this,h,m)}function Vr(){return o!=null&&"withCredentials"in o.prototype||s==null?new o:new s}var Zr=f!=null&&d!=null&&"body"in d.prototype;function Wr(h,m,g){m=String(m);var p=!!g.withCredentials,y=g.lastEventIdQueryParameterName||"lastEventId",b=Ut(1e3),C=kt(g.heartbeatTimeout,45e3),z="",R=b,L=!1,k=0,w=g.headers||{},J=g.Transport,me=Zr&&J==null?void 0:new B(J!=null?new J:Vr()),We=J!=null&&typeof J!="string"?new J:me==null?new $:new F,se=void 0,ne=0,ce=Ze,_e="",ut="",ge="",lt="",re=_,Ft=0,Se=0,Yr=function(q,Z,ae,ue){if(ce===de)if(q===200&&ae!=null&&Mt.test(ae)){ce=xe,L=Date.now(),R=b,h.readyState=xe;var ie=new we("open",{status:q,statusText:Z,headers:ue});h.dispatchEvent(ie),Ne(h,h.onopen,ie)}else{var te="";q!==200?(Z&&(Z=Z.replace(/\s+/g," ")),te="EventSource's response has a status "+q+" "+Z+" that is not 200. Aborting the connection."):te="EventSource's response has a Content-Type specifying an unsupported type: "+(ae==null?"-":ae.replace(/\s+/g," "))+". Aborting the connection.",Gt();var ie=new we("error",{status:q,statusText:Z,headers:ue});h.dispatchEvent(ie),Ne(h,h.onerror,ie),console.error(te)}},qr=function(q){if(ce===xe){for(var Z=-1,ae=0;ae<q.length;ae+=1){var ue=q.charCodeAt(ae);(ue===10||ue===13)&&(Z=ae)}var ie=(Z!==-1?lt:"")+q.slice(0,Z+1);lt=(Z===-1?lt:"")+q.slice(Z+1),q!==""&&(L=Date.now(),k+=q.length);for(var te=0;te<ie.length;te+=1){var ue=ie.charCodeAt(te);if(re===D&&ue===10)re=_;else if(re===D&&(re=_),ue===13||ue===10){if(re!==_){re===ee&&(Se=te+1);var ve=ie.slice(Ft,Se-1),Ae=ie.slice(Se+(Se<te&&ie.charCodeAt(Se)===32?1:0),te);ve==="data"?(_e+=`
26
- `,_e+=Ae):ve==="id"?ut=Ae:ve==="event"?ge=Ae:ve==="retry"?(b=kt(Ae,b),R=b):ve==="heartbeatTimeout"&&(C=kt(Ae,C),ne!==0&&(i(ne),ne=r(function(){Ye()},C)))}if(re===_){if(_e!==""){z=ut,ge===""&&(ge="message");var Pe=new ot(ge,{data:_e.slice(1),lastEventId:ut});if(h.dispatchEvent(Pe),ge==="open"?Ne(h,h.onopen,Pe):ge==="message"?Ne(h,h.onmessage,Pe):ge==="error"&&Ne(h,h.onerror,Pe),ce===v)return}_e="",ge=""}re=ue===13?D:_}else re===_&&(Ft=te,re=ee),re===ee?ue===58&&(Se=te+1,re=at):re===at&&(re=Lt)}}},Cn=function(q){if(ce===xe||ce===de){ce=Ze,ne!==0&&(i(ne),ne=0),ne=r(function(){Ye()},R),R=Ut(Math.min(b*16,R*2)),h.readyState=de;var Z=new st("error",{error:q});h.dispatchEvent(Z),Ne(h,h.onerror,Z),q!=null&&console.error(q)}},Gt=function(){ce=v,se!=null&&(se.abort(),se=void 0),ne!==0&&(i(ne),ne=0),h.readyState=v},Ye=function(){if(ne=0,ce!==Ze){if(!L&&se!=null)Cn(new Error("No activity within "+C+" milliseconds. "+(ce===de?"No response received.":k+" chars received.")+" Reconnecting.")),se!=null&&(se.abort(),se=void 0);else{var q=Math.max((L||Date.now())+C-Date.now(),1);L=!1,ne=r(function(){Ye()},q)}return}L=!1,k=0,ne=r(function(){Ye()},C),ce=de,_e="",ge="",ut=z,lt="",Ft=0,Se=0,re=_;var Z=m;if(m.slice(0,5)!=="data:"&&m.slice(0,5)!=="blob:"&&z!==""){var ae=m.indexOf("?");Z=ae===-1?m:m.slice(0,ae+1)+m.slice(ae+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(Ae,Pe){return Pe===y?"":Ae}),Z+=(m.indexOf("?")===-1?"?":"&")+y+"="+encodeURIComponent(z)}var ue=h.withCredentials,ie={};ie.Accept="text/event-stream";var te=h.headers;if(te!=null)for(var ve in te)Object.prototype.hasOwnProperty.call(te,ve)&&(ie[ve]=te[ve]);try{se=We.open(me,Yr,qr,Cn,Z,ue,ie)}catch(Ae){throw Gt(),Ae}};h.url=m,h.readyState=de,h.withCredentials=p,h.headers=w,h._close=Gt,Ye()}fe.prototype=Object.create(Ce.prototype),fe.prototype.CONNECTING=de,fe.prototype.OPEN=xe,fe.prototype.CLOSED=v,fe.prototype.close=function(){this._close()},fe.CONNECTING=de,fe.OPEN=xe,fe.CLOSED=v,fe.prototype.withCredentials=void 0;var Tn=l;o!=null&&(l==null||!("withCredentials"in l.prototype))&&(Tn=fe),function(h){{var m=h(t);m!==void 0&&(e.exports=m)}}(function(h){h.EventSourcePolyfill=fe,h.NativeEventSource=l,h.EventSource=Tn})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:Fi:globalThis)})(mn,mn.exports);var Ns=mn.exports;const Qr=e=>window.postMessage(e,window.location.href),_s=(e,t)=>{Qr({type:"TournamentsTabTotalUpdate",state:e,total:t})},Kt=(e,t)=>{Qr({type:"TournamentsTabLocaleTextUpdate",state:e,text:t})},Ps=e=>n=>{Object.keys(e).map(r=>{if(n.data&&n.data.type==r){const i=n.data,{type:o}=i,s=Qt(i,["type"]);e[r](s)}})},Ds=e=>{const t=Ps(e);An(()=>(window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}))},Ls=(e,t=null)=>{let n={accept:"text/event-stream"};return t&&(n["X-SessionID"]=t),new Ns.EventSourcePolyfill(e,{headers:n})},Ms=(e,t,n)=>{e&&(e.removeEventListener("message",n),e.close());let r=t;return typeof r!="undefined"&&r.addEventListener("message",n),r},ks=e=>n=>{let r=n.data;if(r)try{let i=JSON.parse(r);if(!i)return;Object.keys(e).map(o=>{if(i.messageType==o){const s=i,{messageType:a}=s,l=Qt(s,["messageType"]);console.log(a,l),e[o](l)}})}catch(i){console.error(i)}};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("./CasinoTournamentsTab-BAmMkGn1.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-tab")&&customElements.define("casino-tournaments-tab",t.element)})}function Us(e){vn(e,"svelte-1l19mel",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CloseButton{position:absolute;right:1.5625vw;font-size:3.4375vw;color:#FFFFFF;cursor:pointer}.NoContent{padding:120px}.Root{background:#282828}.Root .top-wrapper{padding:1.875vw;display:flex;background:#333333}.Root .top-wrapper .svg{width:10.9375vw;height:10.9375vw}.Root .top-wrapper .text{color:white;font-size:5vw;padding-left:3.125vw;font-weight:bold;line-height:5.9375vw;padding-top:2.1875vw}.Root section{padding:0 3.75vw}table{width:100%;border-collapse:collapse;font-size:3.75vw;line-height:4.375vw;@import url("https://rsms.me/inter/inter.css");}table div{font:initial;font-family:"Inter", sans-serif}@supports (font-variation-settings: normal){table div{font:initial;font-family:"Inter var", sans-serif}}table thead{background:#1C1C1C;color:#F7F7F7}table th,table td{padding:2.5vw 1.5625vw;overflow-wrap:break-word}table td{color:#B5B5B5}.Title{color:#FF8364;text-decoration-line:underline;word-break:break-word}.Title:active{opacity:0.6}.Prize .Rank:active{color:#FFD700}.Loading{display:flex;justify-content:center;padding:9.375vw}')}function er(e,t,n){const r=e.slice();return r[33]=t[n],r[35]=n,r}function tr(e,t,n){const r=e.slice();return r[36]=t[n],r}function nr(e,t,n){const r=e.slice();return r[33]=t[n],r}function Fs(e){let t;return{c(){t=Me("image"),x(t,"id","image0_2606_356"),x(t,"width","512"),x(t,"height","512"),lr(t,"xlink:href",e[7])},m(n,r){W(n,t,r)},p:K,d(n){n&&X(t)}}}function Gs(e){let t,n,r;function i(a,l){return a[5]?zs:Qs}let o=i(e),s=o(e);return{c(){t=G("section"),n=G("casino-tournaments-tab"),r=pe(),s.c(),pt(n,"tabs",e[1]),pt(n,"tab",e[0])},m(a,l){W(a,t,l),M(t,n),M(t,r),s.m(t,null)},p(a,l){l[0]&2&&pt(n,"tabs",a[1]),l[0]&1&&pt(n,"tab",a[0]),o===(o=i(a))&&s?s.p(a,l):(s.d(1),s=o(a),s&&(s.c(),s.m(t,null)))},d(a){a&&X(t),s.d()}}}function js(e){let t;return{c(){t=G("div"),t.innerHTML="<casino-tournaments-limited-controller-loader></casino-tournaments-limited-controller-loader>",x(t,"class","Loading")},m(n,r){W(n,t,r)},p:K,d(n){n&&X(t)}}}function Qs(e){let t;return{c(){t=G("div"),x(t,"class","NoContent")},m(n,r){W(n,t,r)},p:K,d(n){n&&X(t)}}}function zs(e){let t,n,r,i,o=He([e[6]("name"),e[6]("rank"),e[6]("enddate"),e[6]("prize")]),s=[];for(let u=0;u<4;u+=1)s[u]=rr(nr(e,o,u));let a=He(e[5]),l=[];for(let u=0;u<a.length;u+=1)l[u]=sr(er(e,a,u));return{c(){t=G("table"),n=G("thead"),r=G("tr");for(let u=0;u<4;u+=1)s[u].c();i=pe();for(let u=0;u<l.length;u+=1)l[u].c()},m(u,c){W(u,t,c),M(t,n),M(n,r);for(let f=0;f<4;f+=1)s[f]&&s[f].m(r,null);M(t,i);for(let f=0;f<l.length;f+=1)l[f]&&l[f].m(t,null)},p(u,c){if(c[0]&64){o=He([u[6]("name"),u[6]("rank"),u[6]("enddate"),u[6]("prize")]);let f;for(f=0;f<4;f+=1){const d=nr(u,o,f);s[f]?s[f].p(d,c):(s[f]=rr(d),s[f].c(),s[f].m(r,null))}for(;f<4;f+=1)s[f].d(1)}if(c[0]&32){a=He(u[5]);let f;for(f=0;f<a.length;f+=1){const d=er(u,a,f);l[f]?l[f].p(d,c):(l[f]=sr(d),l[f].c(),l[f].m(t,null))}for(;f<l.length;f+=1)l[f].d(1);l.length=a.length}},d(u){u&&X(t),It(s,u),It(l,u)}}}function rr(e){let t,n=e[33]+"",r;return{c(){t=G("th"),r=Be(n)},m(i,o){W(i,t,o),M(t,r)},p(i,o){o[0]&64&&n!==(n=i[33]+"")&&Re(r,n)},d(i){i&&X(t)}}}function ir(e){let t,n=e[33].title+"",r,i,o,s=(e[33].rank||" -")+"",a,l,u,c,f,d=(e[33].prize||" -")+"",E,T,I;function U(){return e[20](e[33])}let V=He(Nn(e[33].enddate)),S=[];for(let A=0;A<V.length;A+=1)S[A]=or(tr(e,V,A));return{c(){t=G("td"),r=Be(n),i=pe(),o=G("td"),a=Be(s),l=pe(),u=G("td");for(let A=0;A<S.length;A+=1)S[A].c();c=pe(),f=G("td"),E=Be(d),x(t,"class","Title"),x(t,"part","Title"),x(o,"class","Rank"),gt(o,"active",e[33].prize),x(u,"class","EndDate"),x(u,"part","EndDate"),x(u,"nowrap",""),x(f,"class","Prize"),gt(f,"active",e[33].prize)},m(A,B){W(A,t,B),M(t,r),W(A,i,B),W(A,o,B),M(o,a),W(A,l,B),W(A,u,B);for(let N=0;N<S.length;N+=1)S[N]&&S[N].m(u,null);W(A,c,B),W(A,f,B),M(f,E),T||(I=$e(t,"click",U),T=!0)},p(A,B){if(e=A,B[0]&32&&n!==(n=e[33].title+"")&&Re(r,n),B[0]&32&&s!==(s=(e[33].rank||" -")+"")&&Re(a,s),B[0]&32&&gt(o,"active",e[33].prize),B[0]&32){V=He(Nn(e[33].enddate));let N;for(N=0;N<V.length;N+=1){const Y=tr(e,V,N);S[N]?S[N].p(Y,B):(S[N]=or(Y),S[N].c(),S[N].m(u,null))}for(;N<S.length;N+=1)S[N].d(1);S.length=V.length}B[0]&32&&d!==(d=(e[33].prize||" -")+"")&&Re(E,d),B[0]&32&&gt(f,"active",e[33].prize)},d(A){A&&(X(t),X(i),X(o),X(l),X(u),X(c),X(f)),It(S,A),T=!1,I()}}}function or(e){let t,n=e[36]+"",r;return{c(){t=G("p"),r=Be(n)},m(i,o){W(i,t,o),M(t,r)},p(i,o){o[0]&32&&n!==(n=i[36]+"")&&Re(r,n)},d(i){i&&X(t)}}}function sr(e){let t,n,r,i=e[33]&&ir(e);return{c(){t=G("tbody"),n=G("tr"),i&&i.c(),r=pe()},m(o,s){W(o,t,s),M(t,n),i&&i.m(n,null),M(t,r)},p(o,s){o[33]?i?i.p(o,s):(i=ir(o),i.c(),i.m(n,null)):i&&(i.d(1),i=null)},d(o){o&&X(t),i&&i.d()}}}function Js(e){let t,n,r,i,o,s,a,l,u,c,f,d,E=e[6]("myTournaments")+"",T,I,U,V,S,A,B=e[7]&&Fs(e);function N(Q,$){return Q[4]?js:Gs}let Y=N(e),F=Y(e);return{c(){t=G("div"),n=G("div"),r=G("div"),i=Me("svg"),o=Me("rect"),s=Me("defs"),a=Me("pattern"),l=Me("use"),B&&B.c(),f=pe(),d=G("div"),T=Be(E),I=pe(),U=G("div"),U.textContent="X",V=pe(),F.c(),x(o,"width",e[3]),x(o,"height",e[3]),x(o,"fill","url(#pattern0)"),lr(l,"xlink:href","#image0_2606_356"),x(l,"transform","scale(0.00195312)"),x(a,"id","pattern0"),x(a,"patternContentUnits","objectBoundingBox"),x(a,"width","1"),x(a,"height","1"),x(i,"width",e[3]),x(i,"height",e[3]),x(i,"viewBox",u=`0 0 ${e[3]} ${e[3]}`),x(i,"fill","none"),x(i,"xmlns","http://www.w3.org/2000/svg"),x(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),x(r,"class","svg"),Tt(()=>e[18].call(r)),x(d,"class","text"),x(U,"class","CloseButton"),x(U,"part","CloseButton"),x(n,"class","top-wrapper"),x(t,"class","Root"),x(t,"part","Root")},m(Q,$){W(Q,t,$),M(t,n),M(n,r),M(r,i),M(i,o),M(i,s),M(s,a),M(a,l),B&&B.m(s,null),c=ai(r,e[18].bind(r)),M(n,f),M(n,d),M(d,T),M(n,I),M(n,U),M(t,V),F.m(t,null),e[21](t),S||(A=$e(U,"click",e[19]),S=!0)},p(Q,$){$[0]&8&&x(o,"width",Q[3]),$[0]&8&&x(o,"height",Q[3]),Q[7]&&B.p(Q,$),$[0]&8&&x(i,"width",Q[3]),$[0]&8&&x(i,"height",Q[3]),$[0]&8&&u!==(u=`0 0 ${Q[3]} ${Q[3]}`)&&x(i,"viewBox",u),$[0]&64&&E!==(E=Q[6]("myTournaments")+"")&&Re(T,E),Y===(Y=N(Q))&&F?F.p(Q,$):(F.d(1),F=Y(Q),F&&(F.c(),F.m(t,null)))},i:K,o:K,d(Q){Q&&X(t),B&&B.d(),c(),F.d(),e[21](null),S=!1,A()}}}function Xs(e,t,n){let r,i,o,s,a;ni(e,Ts,v=>n(6,a=v));let{endpoint:l=""}=t,{lang:u="en"}=t,{session:c=""}=t,{state:f=void 0}=t,{states:d="Scheduled,Ongoing,Finished"}=t,{filter:E=""}=t,{clientstyling:T=""}=t,{clientstylingurl:I=""}=t,{translationurl:U=""}=t;jr({withLocale:"en",translations:{}});const V=()=>{fetch(U).then(D=>D.json()).then(D=>{Object.keys(D).forEach(_=>{pn(_,D[_])}),we()}).catch(D=>{console.log(D)})};Object.keys(Ht).forEach(v=>{pn(v,Ht[v])});let S,A,B=0,N=Ei,Y=!0,F={};const Q=v=>{let D={};i.map(_=>{D[_]||(D[_]=[])}),v.items.map(_=>{const{id:ee,nameOrTitle:at,endTime:Lt}=_.tournament,Mt={id:ee,title:at,rank:_.leaderBoard&&`#${_.leaderBoard.rank}/${_.endRank}`,enddate:Lt,prize:_.leaderBoard&&_.leaderBoard.prizeName};D[$n(_.tournament.state)].push(Mt)}),n(15,F=D)},$=ks({PlayerLeaderBoardsUpdate:v=>{Q(v),o.map(D=>{_s(D,F[D].length)})},TournamentUpdate:v=>{if(v.item){const D=v.item;let _=$n(D.state);n(15,F=ct(ft({},F),{[_]:F[_].map(ee=>ee.id===D.id?ct(ft({},ee),{title:D.nameOrTitle,enddate:D.endTime}):ee)}))}}}),Ce=(v,D)=>dt(this,null,function*(){const _=`${l}/v1/tournaments`,ee=new URL(_);ee.searchParams.append("pagination",`offset=${v},limit=${D}`),ee.searchParams.append("sortField","StartTime"),ee.searchParams.append("sortOrder","desc"),ee.searchParams.append("language",u),ee.searchParams.append("XSessionId",c),E&&ee.searchParams.append("filter",E),A=Ms(A,Ls(`${_}/leaderboard/player/updates?${ee.searchParams.toString()}`),$)});Os();const it=()=>{Ce(0,30),Rs(u),we()},ye=()=>{let v=document.createElement("style");v.innerHTML=T,S.appendChild(v)},ot=()=>{let v=new URL(I),D=document.createElement("style");fetch(v.href).then(_=>_.text()).then(_=>{D.innerHTML=_,setTimeout(()=>{S.appendChild(D)},1),setTimeout(()=>{},500)})},we=()=>{setTimeout(()=>{const v=D=>a(`${D}`);Kt("Scheduled",v("scheduled")),Kt("Ongoing",v("ongoing")),Kt("Finished",`${v("finished")} (${v("last")} 48h)`)},1)};An(()=>()=>{A&&A.removeEventListener("message",$)}),Ds({TournamentsTabSwitch:v=>dt(this,null,function*(){return n(16,r=v.tab)})});function st(){B=this.clientWidth,n(3,B)}const Ze=()=>window.postMessage({type:"OnCloseThumbnail"},window.location.href),de=v=>{window.postMessage({type:"MyTournamentFromNavClicked",tournamentId:v.id,showLeaderboard:!0},window.location.href)};function xe(v){Bt[v?"unshift":"push"](()=>{S=v,n(2,S)})}return e.$$set=v=>{"endpoint"in v&&n(8,l=v.endpoint),"lang"in v&&n(9,u=v.lang),"session"in v&&n(10,c=v.session),"state"in v&&n(0,f=v.state),"states"in v&&n(1,d=v.states),"filter"in v&&n(11,E=v.filter),"clientstyling"in v&&n(12,T=v.clientstyling),"clientstylingurl"in v&&n(13,I=v.clientstylingurl),"translationurl"in v&&n(14,U=v.translationurl)},e.$$.update=()=>{e.$$.dirty[0]&1&&n(16,r=f),e.$$.dirty[0]&2&&n(17,i=d.split(",")),e.$$.dirty[0]&131072&&(o=i.filter(v=>v!=="Finished")),e.$$.dirty[0]&98304&&n(5,s=F[r]),e.$$.dirty[0]&3840&&l&&E&&u&&c&&it(),e.$$.dirty[0]&4100&&T&&S&&ye(),e.$$.dirty[0]&8196&&I&&S&&ot(),e.$$.dirty[0]&16384&&U&&V(),e.$$.dirty[0]&512&&u&&we(),e.$$.dirty[0]&32768&&Object.keys(F).length&&(n(4,Y=!1),we())},[f,d,S,B,Y,s,a,N,l,u,c,E,T,I,U,F,r,i,st,Ze,de,xe]}class zr extends yn{constructor(t){super(),bn(this,t,Xs,Js,Rt,{endpoint:8,lang:9,session:10,state:0,states:1,filter:11,clientstyling:12,clientstylingurl:13,translationurl:14},Us,[-1,-1])}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),he()}get lang(){return this.$$.ctx[9]}set lang(t){this.$$set({lang:t}),he()}get session(){return this.$$.ctx[10]}set session(t){this.$$set({session:t}),he()}get state(){return this.$$.ctx[0]}set state(t){this.$$set({state:t}),he()}get states(){return this.$$.ctx[1]}set states(t){this.$$set({states:t}),he()}get filter(){return this.$$.ctx[11]}set filter(t){this.$$set({filter:t}),he()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),he()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),he()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),he()}}En(zr,{endpoint:{},lang:{},session:{},state:{},states:{},filter:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);const Vs=Object.freeze(Object.defineProperty({__proto__:null,default:zr},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsLimitedController_ce=Vs;exports.SvelteComponent=yn;exports.append=M;exports.append_styles=vn;exports.attr=x;exports.binding_callbacks=Bt;exports.create_custom_element=En;exports.destroy_each=It;exports.detach=X;exports.element=G;exports.ensure_array_like=He;exports.flush=he;exports.init=bn;exports.insert=W;exports.listen=$e;exports.noop=K;exports.onMount=An;exports.safe_not_equal=Rt;exports.set_data=Re;exports.space=pe;exports.text=Be;