@everymatrix/player-rglimits 1.99.56 → 1.99.59
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.
- package/components/{PlayerRglimits-CaPoOOeL.js → PlayerRglimits-CFO_50TB.js} +21 -39
- package/components/{PlayerRglimits-DZrMfm1n.cjs → PlayerRglimits-D7vDTfM9.cjs} +1 -1
- package/components/{PlayerRglimits-CZaOSrsc.js → PlayerRglimits-DENKxT-g.js} +20 -38
- package/es2015/player-rglimits.cjs +1 -1
- package/es2015/player-rglimits.js +1 -1
- package/esnext/player-rglimits.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-b2193545-R7ZoV-kY.js → index-b2193545-D9zpmD3Q.js} +2 -3
- package/stencil/{index-b2193545-DsMHU6jb.js → index-b2193545-OkT1QrQq.js} +2 -3
- package/stencil/{ui-skeleton-xXZA3rYO.js → ui-skeleton-BjsoPeRQ.js} +2 -2
- package/stencil/{ui-skeleton-W50o8tfg.js → ui-skeleton-COR_76lv.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-CVY4B-CP.js → ui-skeleton-ed169f8f-BJHdC-wv.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-D3TjbVKy.js → ui-skeleton-ed169f8f-Df2MlRR-.js} +1 -1
|
@@ -10,7 +10,7 @@ var Bi = (e, t, i) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
qn.call(t, i) && Bi(e, i, t[i]);
|
|
11
11
|
return e;
|
|
12
12
|
}, br = (e, t) => zn(e, $n(t));
|
|
13
|
-
var ee = (e, t, i) =>
|
|
13
|
+
var ee = (e, t, i) => Bi(e, typeof t != "symbol" ? t + "" : t, i);
|
|
14
14
|
var Nt = (e, t, i) => new Promise((r, n) => {
|
|
15
15
|
var a = (u) => {
|
|
16
16
|
try {
|
|
@@ -27,7 +27,7 @@ var Nt = (e, t, i) => new Promise((r, n) => {
|
|
|
27
27
|
}, l = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(a, o);
|
|
28
28
|
l((i = i.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
30
|
+
import "../stencil/ui-skeleton-BjsoPeRQ.js";
|
|
31
31
|
function pe() {
|
|
32
32
|
}
|
|
33
33
|
function cn(e) {
|
|
@@ -71,8 +71,7 @@ function Qn(e, t, i) {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
function Zn(e) {
|
|
74
|
-
if (!e)
|
|
75
|
-
return document;
|
|
74
|
+
if (!e) return document;
|
|
76
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
77
76
|
return t && /** @type {ShadowRoot} */
|
|
78
77
|
t.host ? (
|
|
@@ -231,8 +230,7 @@ function Wt(e) {
|
|
|
231
230
|
zt = e;
|
|
232
231
|
}
|
|
233
232
|
function ra() {
|
|
234
|
-
if (!zt)
|
|
235
|
-
throw new Error("Function called outside component initialization");
|
|
233
|
+
if (!zt) throw new Error("Function called outside component initialization");
|
|
236
234
|
return zt;
|
|
237
235
|
}
|
|
238
236
|
function na(e) {
|
|
@@ -263,8 +261,7 @@ function Z() {
|
|
|
263
261
|
} catch (t) {
|
|
264
262
|
throw ft.length = 0, dt = 0, t;
|
|
265
263
|
}
|
|
266
|
-
for (Wt(null), ft.length = 0, dt = 0; $i.length; )
|
|
267
|
-
$i.pop()();
|
|
264
|
+
for (Wt(null), ft.length = 0, dt = 0; $i.length; ) $i.pop()();
|
|
268
265
|
for (let t = 0; t < pt.length; t += 1) {
|
|
269
266
|
const i = pt[t];
|
|
270
267
|
Ri.has(i) || (Ri.add(i), i());
|
|
@@ -1678,11 +1675,9 @@ function io(e, t) {
|
|
|
1678
1675
|
function ro(e) {
|
|
1679
1676
|
return function(t) {
|
|
1680
1677
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = t.match(e.matchPattern);
|
|
1681
|
-
if (!r)
|
|
1682
|
-
return null;
|
|
1678
|
+
if (!r) return null;
|
|
1683
1679
|
var n = r[0], a = t.match(e.parsePattern);
|
|
1684
|
-
if (!a)
|
|
1685
|
-
return null;
|
|
1680
|
+
if (!a) return null;
|
|
1686
1681
|
var o = e.valueCallback ? e.valueCallback(a[0]) : a[0];
|
|
1687
1682
|
o = i.valueCallback ? i.valueCallback(o) : o;
|
|
1688
1683
|
var l = t.slice(n.length);
|
|
@@ -1974,8 +1969,7 @@ var qi = function(e, t) {
|
|
|
1974
1969
|
return qi = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
1975
1970
|
i.__proto__ = r;
|
|
1976
1971
|
} || function(i, r) {
|
|
1977
|
-
for (var n in r)
|
|
1978
|
-
Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
|
|
1972
|
+
for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
|
|
1979
1973
|
}, qi(e, t);
|
|
1980
1974
|
};
|
|
1981
1975
|
function xi(e, t) {
|
|
@@ -1991,25 +1985,22 @@ var xe = function() {
|
|
|
1991
1985
|
return xe = Object.assign || function(t) {
|
|
1992
1986
|
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
1993
1987
|
i = arguments[r];
|
|
1994
|
-
for (var a in i)
|
|
1995
|
-
Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
1988
|
+
for (var a in i) Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
1996
1989
|
}
|
|
1997
1990
|
return t;
|
|
1998
1991
|
}, xe.apply(this, arguments);
|
|
1999
1992
|
};
|
|
2000
1993
|
function Wo(e, t) {
|
|
2001
1994
|
var i = {};
|
|
2002
|
-
for (var r in e)
|
|
2003
|
-
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
|
|
1995
|
+
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
|
|
2004
1996
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
2005
1997
|
for (var n = 0, r = Object.getOwnPropertySymbols(e); n < r.length; n++)
|
|
2006
1998
|
t.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[n]) && (i[r[n]] = e[r[n]]);
|
|
2007
1999
|
return i;
|
|
2008
2000
|
}
|
|
2009
2001
|
function Ii(e, t, i) {
|
|
2010
|
-
if (i || arguments.length === 2)
|
|
2011
|
-
|
|
2012
|
-
(a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
|
|
2002
|
+
if (i || arguments.length === 2) for (var r = 0, n = t.length, a; r < n; r++)
|
|
2003
|
+
(a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
|
|
2013
2004
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
2014
2005
|
}
|
|
2015
2006
|
function ji(e, t) {
|
|
@@ -2064,8 +2055,7 @@ var Xo = function() {
|
|
|
2064
2055
|
return yi = Object.assign || function(t) {
|
|
2065
2056
|
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
2066
2057
|
i = arguments[r];
|
|
2067
|
-
for (var a in i)
|
|
2068
|
-
Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
2058
|
+
for (var a in i) Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
2069
2059
|
}
|
|
2070
2060
|
return t;
|
|
2071
2061
|
}, yi.apply(this, arguments);
|
|
@@ -2211,8 +2201,7 @@ var X = function() {
|
|
|
2211
2201
|
return X = Object.assign || function(t) {
|
|
2212
2202
|
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
2213
2203
|
i = arguments[r];
|
|
2214
|
-
for (var a in i)
|
|
2215
|
-
Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
2204
|
+
for (var a in i) Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
2216
2205
|
}
|
|
2217
2206
|
return t;
|
|
2218
2207
|
}, X.apply(this, arguments);
|
|
@@ -3854,8 +3843,7 @@ function ll(e, t) {
|
|
|
3854
3843
|
i += u;
|
|
3855
3844
|
for (; o-- > 0; )
|
|
3856
3845
|
i = s + i;
|
|
3857
|
-
} else
|
|
3858
|
-
n === "J" ? i += "H" : i += n;
|
|
3846
|
+
} else n === "J" ? i += "H" : i += n;
|
|
3859
3847
|
}
|
|
3860
3848
|
return i;
|
|
3861
3849
|
}
|
|
@@ -4458,8 +4446,7 @@ function Ki(e) {
|
|
|
4458
4446
|
if (delete t.location, En(t) || xn(t))
|
|
4459
4447
|
for (var i in t.options)
|
|
4460
4448
|
delete t.options[i].location, Ki(t.options[i].value);
|
|
4461
|
-
else
|
|
4462
|
-
wn(t) && Sn(t.style) || (_n(t) || Tn(t)) && Xi(t.style) ? delete t.style.location : Cn(t) && Ki(t.children);
|
|
4449
|
+
else wn(t) && Sn(t.style) || (_n(t) || Tn(t)) && Xi(t.style) ? delete t.style.location : Cn(t) && Ki(t.children);
|
|
4463
4450
|
});
|
|
4464
4451
|
}
|
|
4465
4452
|
function Cl(e, t) {
|
|
@@ -5684,8 +5671,7 @@ function ps(e, t) {
|
|
|
5684
5671
|
}
|
|
5685
5672
|
}
|
|
5686
5673
|
function gs(e, t) {
|
|
5687
|
-
if (!e || !t)
|
|
5688
|
-
return;
|
|
5674
|
+
if (!e || !t) return;
|
|
5689
5675
|
const i = new URL(t);
|
|
5690
5676
|
fetch(i.href).then((r) => r.text()).then((r) => {
|
|
5691
5677
|
const n = document.createElement("style");
|
|
@@ -5695,8 +5681,7 @@ function gs(e, t) {
|
|
|
5695
5681
|
});
|
|
5696
5682
|
}
|
|
5697
5683
|
function bs(e, t, i, r = !1) {
|
|
5698
|
-
if (!window.emMessageBus)
|
|
5699
|
-
return;
|
|
5684
|
+
if (!window.emMessageBus) return;
|
|
5700
5685
|
if (!("adoptedStyleSheets" in Document.prototype) || !r)
|
|
5701
5686
|
return i = vs(e, t), i;
|
|
5702
5687
|
window[mt] || (window[mt] = {}), i = Ls(e, t);
|
|
@@ -5717,8 +5702,7 @@ function vs(e, t) {
|
|
|
5717
5702
|
}
|
|
5718
5703
|
function Ls(e, t) {
|
|
5719
5704
|
return window.emMessageBus.subscribe(t, (i) => {
|
|
5720
|
-
if (!e)
|
|
5721
|
-
return;
|
|
5705
|
+
if (!e) return;
|
|
5722
5706
|
const r = e.getRootNode(), n = window[mt];
|
|
5723
5707
|
let a = n[t] && n[t].sheet;
|
|
5724
5708
|
a ? n[t].refCount = n[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(i), n[t] = {
|
|
@@ -6359,13 +6343,11 @@ function Qr(e) {
|
|
|
6359
6343
|
if (
|
|
6360
6344
|
/*transdetailsurl*/
|
|
6361
6345
|
a[1]
|
|
6362
|
-
)
|
|
6363
|
-
return Bs;
|
|
6346
|
+
) return Bs;
|
|
6364
6347
|
if (
|
|
6365
6348
|
/*transactionspageurl*/
|
|
6366
6349
|
a[2]
|
|
6367
|
-
)
|
|
6368
|
-
return Ds;
|
|
6350
|
+
) return Ds;
|
|
6369
6351
|
}
|
|
6370
6352
|
let r = i(e), n = r && r(e);
|
|
6371
6353
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var zn=Object.defineProperty,$n=Object.defineProperties;var Vn=Object.getOwnPropertyDescriptors;var pr=Object.getOwnPropertySymbols;var qn=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable;var Bi=(e,t,i)=>t in e?zn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,gr=(e,t)=>{for(var i in t||(t={}))qn.call(t,i)&&Bi(e,i,t[i]);if(pr)for(var i of pr(t))Xn.call(t,i)&&Bi(e,i,t[i]);return e},br=(e,t)=>$n(e,Vn(t));var ee=(e,t,i)=>(Bi(e,typeof t!="symbol"?t+"":t,i),i);var Nt=(e,t,i)=>new Promise((r,n)=>{var a=u=>{try{l(i.next(u))}catch(s){n(s)}},o=u=>{try{l(i.throw(u))}catch(s){n(s)}},l=u=>u.done?r(u.value):Promise.resolve(u.value).then(a,o);l((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function pe(){}function cn(e){return e()}function vr(){return Object.create(null)}function Fe(e){e.forEach(cn)}function ir(e){return typeof e=="function"}function hn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Yn(e){return Object.keys(e).length===0}function fn(e,...t){if(e==null){for(const r of t)r(void 0);return pe}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function Qn(e,t,i){e.$$.on_destroy.push(fn(t,i))}function d(e,t){e.appendChild(t)}function Zn(e,t,i){const r=Jn(e);if(!r.getElementById(t)){const n=b("style");n.id=t,n.textContent=i,Kn(r,n)}}function Jn(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Kn(e,t){return d(e.head||e,t),t.sheet}function M(e,t,i){e.insertBefore(t,i||null)}function H(e){e.parentNode&&e.parentNode.removeChild(e)}function Ve(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function b(e){return document.createElement(e)}function ea(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function x(e){return document.createTextNode(e)}function w(){return x(" ")}function Le(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function Tt(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function p(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function ta(e){return Array.from(e.childNodes)}function P(e,t){t=""+t,e.data!==t&&(e.data=t)}function gt(e,t){e.value=t==null?"":t}function hi(e,t,i,r){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function bt(e,t,i){for(let r=0;r<e.options.length;r+=1){const n=e.options[r];if(n.__value===t){n.selected=!0;return}}(!i||t!==void 0)&&(e.selectedIndex=-1)}function Ui(e){const t=e.querySelector(":checked");return t&&t.__value}class ia{constructor(t=!1){ee(this,"is_svg",!1);ee(this,"e");ee(this,"n");ee(this,"t");ee(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,i,r=null){this.e||(this.is_svg?this.e=ea(i.nodeName):this.e=b(i.nodeType===11?"TEMPLATE":i.nodeName),this.t=i.tagName!=="TEMPLATE"?i:i.content,this.c(t)),this.i(r)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let i=0;i<this.n.length;i+=1)M(this.t,this.n[i],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(H)}}function ra(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let zt;function Wt(e){zt=e}function na(){if(!zt)throw new Error("Function called outside component initialization");return zt}function aa(e){na().$$.on_mount.push(e)}const ft=[],$i=[];let pt=[];const Lr=[],oa=Promise.resolve();let Vi=!1;function la(){Vi||(Vi=!0,oa.then(Z))}function vt(e){pt.push(e)}const Ri=new Set;let dt=0;function Z(){if(dt!==0)return;const e=zt;do{try{for(;dt<ft.length;){const t=ft[dt];dt++,Wt(t),sa(t.$$)}}catch(t){throw ft.length=0,dt=0,t}for(Wt(null),ft.length=0,dt=0;$i.length;)$i.pop()();for(let t=0;t<pt.length;t+=1){const i=pt[t];Ri.has(i)||(Ri.add(i),i())}pt.length=0}while(ft.length);for(;Lr.length;)Lr.pop()();Vi=!1,Ri.clear(),Wt(e)}function sa(e){if(e.fragment!==null){e.update(),Fe(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(vt)}}function ua(e){const t=[],i=[];pt.forEach(r=>e.indexOf(r)===-1?t.push(r):i.push(r)),i.forEach(r=>r()),pt=t}const da=new Set;function ca(e,t){e&&e.i&&(da.delete(e),e.i(t))}function _e(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ha(e,t,i){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,i),vt(()=>{const a=e.$$.on_mount.map(cn).filter(ir);e.$$.on_destroy?e.$$.on_destroy.push(...a):Fe(a),e.$$.on_mount=[]}),n.forEach(vt)}function fa(e,t){const i=e.$$;i.fragment!==null&&(ua(i.after_update),Fe(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function ma(e,t){e.$$.dirty[0]===-1&&(ft.push(e),la(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function pa(e,t,i,r,n,a,o=null,l=[-1]){const u=zt;Wt(e);const s=e.$$={fragment:null,ctx:[],props:a,update:pe,not_equal:n,bound:vr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:vr(),dirty:l,skip_bound:!1,root:t.target||u.$$.root};o&&o(s.root);let c=!1;if(s.ctx=i?i(e,t.props||{},(f,h,...v)=>{const g=v.length?v[0]:h;return s.ctx&&n(s.ctx[f],s.ctx[f]=g)&&(!s.skip_bound&&s.bound[f]&&s.bound[f](g),c&&ma(e,f)),h}):[],s.update(),c=!0,Fe(s.before_update),s.fragment=r?r(s.ctx):!1,t.target){if(t.hydrate){const f=ta(t.target);s.fragment&&s.fragment.l(f),f.forEach(H)}else s.fragment&&s.fragment.c();t.intro&&ca(e.$$.fragment),ha(e,t.target,t.anchor),Z()}Wt(u)}let mn;typeof HTMLElement=="function"&&(mn=class extends HTMLElement{constructor(t,i,r){super();ee(this,"$$ctor");ee(this,"$$s");ee(this,"$$c");ee(this,"$$cn",!1);ee(this,"$$d",{});ee(this,"$$r",!1);ee(this,"$$p_d",{});ee(this,"$$l",{});ee(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=i,r&&this.attachShadow({mode:"open"})}addEventListener(t,i,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const n=this.$$c.$on(t,i);this.$$l_u.set(i,n)}super.addEventListener(t,i,r)}removeEventListener(t,i,r){if(super.removeEventListener(t,i,r),this.$$c){const n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}connectedCallback(){return Nt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let o;return{c:function(){o=b("slot"),a!=="default"&&p(o,"name",a)},m:function(s,c){M(s,o,c)},d:function(s){s&&H(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},r=ra(this);for(const a of this.$$s)a in r&&(i[a]=[t(a)]);for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=mi(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:br(gr({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const o=mi(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const a in this.$$l)for(const o of this.$$l[a]){const l=this.$$c.$on(a,o);this.$$l_u.set(o,l)}this.$$l={}}})}attributeChangedCallback(t,i,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=mi(t,r,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$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(i=>this.$$p_d[i].attribute===t||!this.$$p_d[i].attribute&&i.toLowerCase()===t)||t}});function mi(e,t,i,r){var a;const n=(a=i[e])==null?void 0:a.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!i[e])return t;if(r==="toAttribute")switch(n){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(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ga(e,t,i,r,n,a){let o=class extends mn{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){var s;u=mi(l,u,t),this.$$d[l]=u,(s=this.$$c)==null||s.$set({[l]:u})}})}),r.forEach(l=>{Object.defineProperty(o.prototype,l,{get(){var u;return(u=this.$$c)==null?void 0:u[l]}})}),e.element=o,o}class ba{constructor(){ee(this,"$$");ee(this,"$$set")}$destroy(){fa(this,1),this.$destroy=pe}$on(t,i){if(!ir(i))return pe;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(i),()=>{const n=r.indexOf(i);n!==-1&&r.splice(n,1)}}$set(t){this.$$set&&!Yn(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const va="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(va);function bi(e){"@babel/helpers - typeof";return bi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bi(e)}function qe(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function oe(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function Se(e){oe(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||bi(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function La(e,t){oe(2,arguments);var i=Se(e).getTime(),r=qe(t);return new Date(i+r)}var ya={};function Ti(){return ya}function wa(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function _a(e){return oe(1,arguments),e instanceof Date||bi(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ta(e){if(oe(1,arguments),!_a(e)&&typeof e!="number")return!1;var t=Se(e);return!isNaN(Number(t))}function Ea(e,t){oe(2,arguments);var i=qe(t);return La(e,-i)}var xa=864e5;function Sa(e){oe(1,arguments);var t=Se(e),i=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),n=i-r;return Math.floor(n/xa)+1}function vi(e){oe(1,arguments);var t=1,i=Se(e),r=i.getUTCDay(),n=(r<t?7:0)+r-t;return i.setUTCDate(i.getUTCDate()-n),i.setUTCHours(0,0,0,0),i}function pn(e){oe(1,arguments);var t=Se(e),i=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(i+1,0,4),r.setUTCHours(0,0,0,0);var n=vi(r),a=new Date(0);a.setUTCFullYear(i,0,4),a.setUTCHours(0,0,0,0);var o=vi(a);return t.getTime()>=n.getTime()?i+1:t.getTime()>=o.getTime()?i:i-1}function Ca(e){oe(1,arguments);var t=pn(e),i=new Date(0);i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0);var r=vi(i);return r}var Pa=6048e5;function Aa(e){oe(1,arguments);var t=Se(e),i=vi(t).getTime()-Ca(t).getTime();return Math.round(i/Pa)+1}function Li(e,t){var i,r,n,a,o,l,u,s;oe(1,arguments);var c=Ti(),f=qe((i=(r=(n=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:c.weekStartsOn)!==null&&r!==void 0?r:(u=c.locale)===null||u===void 0||(s=u.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=Se(e),v=h.getUTCDay(),g=(v<f?7:0)+v-f;return h.setUTCDate(h.getUTCDate()-g),h.setUTCHours(0,0,0,0),h}function gn(e,t){var i,r,n,a,o,l,u,s;oe(1,arguments);var c=Se(e),f=c.getUTCFullYear(),h=Ti(),v=qe((i=(r=(n=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:h.firstWeekContainsDate)!==null&&r!==void 0?r:(u=h.locale)===null||u===void 0||(s=u.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(f+1,0,v),g.setUTCHours(0,0,0,0);var _=Li(g,t),I=new Date(0);I.setUTCFullYear(f,0,v),I.setUTCHours(0,0,0,0);var $=Li(I,t);return c.getTime()>=_.getTime()?f+1:c.getTime()>=$.getTime()?f:f-1}function Ha(e,t){var i,r,n,a,o,l,u,s;oe(1,arguments);var c=Ti(),f=qe((i=(r=(n=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:c.firstWeekContainsDate)!==null&&r!==void 0?r:(u=c.locale)===null||u===void 0||(s=u.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:1),h=gn(e,t),v=new Date(0);v.setUTCFullYear(h,0,f),v.setUTCHours(0,0,0,0);var g=Li(v,t);return g}var ka=6048e5;function Ma(e,t){oe(1,arguments);var i=Se(e),r=Li(i,t).getTime()-Ha(i,t).getTime();return Math.round(r/ka)+1}function B(e,t){for(var i=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return i+r}var Ie={y:function(t,i){var r=t.getUTCFullYear(),n=r>0?r:1-r;return B(i==="yy"?n%100:n,i.length)},M:function(t,i){var r=t.getUTCMonth();return i==="M"?String(r+1):B(r+1,2)},d:function(t,i){return B(t.getUTCDate(),i.length)},a:function(t,i){var r=t.getUTCHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,i){return B(t.getUTCHours()%12||12,i.length)},H:function(t,i){return B(t.getUTCHours(),i.length)},m:function(t,i){return B(t.getUTCMinutes(),i.length)},s:function(t,i){return B(t.getUTCSeconds(),i.length)},S:function(t,i){var r=i.length,n=t.getUTCMilliseconds(),a=Math.floor(n*Math.pow(10,r-3));return B(a,i.length)}},ct={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Oa={G:function(t,i,r){var n=t.getUTCFullYear()>0?1:0;switch(i){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,i,r){if(i==="yo"){var n=t.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return Ie.y(t,i)},Y:function(t,i,r,n){var a=gn(t,n),o=a>0?a:1-a;if(i==="YY"){var l=o%100;return B(l,2)}return i==="Yo"?r.ordinalNumber(o,{unit:"year"}):B(o,i.length)},R:function(t,i){var r=pn(t);return B(r,i.length)},u:function(t,i){var r=t.getUTCFullYear();return B(r,i.length)},Q:function(t,i,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(i){case"Q":return String(n);case"QQ":return B(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,i,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(i){case"q":return String(n);case"qq":return B(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,i,r){var n=t.getUTCMonth();switch(i){case"M":case"MM":return Ie.M(t,i);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,i,r){var n=t.getUTCMonth();switch(i){case"L":return String(n+1);case"LL":return B(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,i,r,n){var a=Ma(t,n);return i==="wo"?r.ordinalNumber(a,{unit:"week"}):B(a,i.length)},I:function(t,i,r){var n=Aa(t);return i==="Io"?r.ordinalNumber(n,{unit:"week"}):B(n,i.length)},d:function(t,i,r){return i==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):Ie.d(t,i)},D:function(t,i,r){var n=Sa(t);return i==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):B(n,i.length)},E:function(t,i,r){var n=t.getUTCDay();switch(i){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,i,r,n){var a=t.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(i){case"e":return String(o);case"ee":return B(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,i,r,n){var a=t.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(i){case"c":return String(o);case"cc":return B(o,i.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,i,r){var n=t.getUTCDay(),a=n===0?7:n;switch(i){case"i":return String(a);case"ii":return B(a,i.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,i,r){var n=t.getUTCHours(),a=n/12>=1?"pm":"am";switch(i){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,i,r){var n=t.getUTCHours(),a;switch(n===12?a=ct.noon:n===0?a=ct.midnight:a=n/12>=1?"pm":"am",i){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,i,r){var n=t.getUTCHours(),a;switch(n>=17?a=ct.evening:n>=12?a=ct.afternoon:n>=4?a=ct.morning:a=ct.night,i){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,i,r){if(i==="ho"){var n=t.getUTCHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return Ie.h(t,i)},H:function(t,i,r){return i==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Ie.H(t,i)},K:function(t,i,r){var n=t.getUTCHours()%12;return i==="Ko"?r.ordinalNumber(n,{unit:"hour"}):B(n,i.length)},k:function(t,i,r){var n=t.getUTCHours();return n===0&&(n=24),i==="ko"?r.ordinalNumber(n,{unit:"hour"}):B(n,i.length)},m:function(t,i,r){return i==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Ie.m(t,i)},s:function(t,i,r){return i==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Ie.s(t,i)},S:function(t,i){return Ie.S(t,i)},X:function(t,i,r,n){var a=n._originalDate||t,o=a.getTimezoneOffset();if(o===0)return"Z";switch(i){case"X":return wr(o);case"XXXX":case"XX":return $e(o);case"XXXXX":case"XXX":default:return $e(o,":")}},x:function(t,i,r,n){var a=n._originalDate||t,o=a.getTimezoneOffset();switch(i){case"x":return wr(o);case"xxxx":case"xx":return $e(o);case"xxxxx":case"xxx":default:return $e(o,":")}},O:function(t,i,r,n){var a=n._originalDate||t,o=a.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+yr(o,":");case"OOOO":default:return"GMT"+$e(o,":")}},z:function(t,i,r,n){var a=n._originalDate||t,o=a.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+yr(o,":");case"zzzz":default:return"GMT"+$e(o,":")}},t:function(t,i,r,n){var a=n._originalDate||t,o=Math.floor(a.getTime()/1e3);return B(o,i.length)},T:function(t,i,r,n){var a=n._originalDate||t,o=a.getTime();return B(o,i.length)}};function yr(e,t){var i=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),a=r%60;if(a===0)return i+String(n);var o=t;return i+String(n)+o+B(a,2)}function wr(e,t){if(e%60===0){var i=e>0?"-":"+";return i+B(Math.abs(e)/60,2)}return $e(e,t)}function $e(e,t){var i=t||"",r=e>0?"-":"+",n=Math.abs(e),a=B(Math.floor(n/60),2),o=B(n%60,2);return r+a+i+o}var _r=function(t,i){switch(t){case"P":return i.date({width:"short"});case"PP":return i.date({width:"medium"});case"PPP":return i.date({width:"long"});case"PPPP":default:return i.date({width:"full"})}},bn=function(t,i){switch(t){case"p":return i.time({width:"short"});case"pp":return i.time({width:"medium"});case"ppp":return i.time({width:"long"});case"pppp":default:return i.time({width:"full"})}},Da=function(t,i){var r=t.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return _r(t,i);var o;switch(n){case"P":o=i.dateTime({width:"short"});break;case"PP":o=i.dateTime({width:"medium"});break;case"PPP":o=i.dateTime({width:"long"});break;case"PPPP":default:o=i.dateTime({width:"full"});break}return o.replace("{{date}}",_r(n,i)).replace("{{time}}",bn(a,i))},Ba={p:bn,P:Da},Ua=["D","DD"],Ra=["YY","YYYY"];function Na(e){return Ua.indexOf(e)!==-1}function Ia(e){return Ra.indexOf(e)!==-1}function Tr(e,t,i){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ja={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Fa=function(t,i,r){var n,a=ja[t];return typeof a=="string"?n=a:i===1?n=a.one:n=a.other.replace("{{count}}",i.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function Ni(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=t.width?String(t.width):e.defaultWidth,r=e.formats[i]||e.formats[e.defaultWidth];return r}}var Ga={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Wa={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},za={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$a={date:Ni({formats:Ga,defaultWidth:"full"}),time:Ni({formats:Wa,defaultWidth:"full"}),dateTime:Ni({formats:za,defaultWidth:"full"})},Va={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},qa=function(t,i,r,n){return Va[t]};function It(e){return function(t,i){var r=i!=null&&i.context?String(i.context):"standalone",n;if(r==="formatting"&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=i!=null&&i.width?String(i.width):a;n=e.formattingValues[o]||e.formattingValues[a]}else{var l=e.defaultWidth,u=i!=null&&i.width?String(i.width):e.defaultWidth;n=e.values[u]||e.values[l]}var s=e.argumentCallback?e.argumentCallback(t):t;return n[s]}}var Xa={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ya={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Qa={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Za={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ja={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ka={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},eo=function(t,i){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},to={ordinalNumber:eo,era:It({values:Xa,defaultWidth:"wide"}),quarter:It({values:Ya,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:It({values:Qa,defaultWidth:"wide"}),day:It({values:Za,defaultWidth:"wide"}),dayPeriod:It({values:Ja,defaultWidth:"wide",formattingValues:Ka,defaultFormattingWidth:"wide"})};function jt(e){return function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=i.width,n=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(n);if(!a)return null;var o=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?ro(l,function(f){return f.test(o)}):io(l,function(f){return f.test(o)}),s;s=e.valueCallback?e.valueCallback(u):u,s=i.valueCallback?i.valueCallback(s):s;var c=t.slice(o.length);return{value:s,rest:c}}}function io(e,t){for(var i in e)if(e.hasOwnProperty(i)&&t(e[i]))return i}function ro(e,t){for(var i=0;i<e.length;i++)if(t(e[i]))return i}function no(e){return function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var n=r[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=i.valueCallback?i.valueCallback(o):o;var l=t.slice(n.length);return{value:o,rest:l}}}var ao=/^(\d+)(th|st|nd|rd)?/i,oo=/\d+/i,lo={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},so={any:[/^b/i,/^(a|c)/i]},uo={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},co={any:[/1/i,/2/i,/3/i,/4/i]},ho={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},fo={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},mo={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},po={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},go={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},bo={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},vo={ordinalNumber:no({matchPattern:ao,parsePattern:oo,valueCallback:function(t){return parseInt(t,10)}}),era:jt({matchPatterns:lo,defaultMatchWidth:"wide",parsePatterns:so,defaultParseWidth:"any"}),quarter:jt({matchPatterns:uo,defaultMatchWidth:"wide",parsePatterns:co,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:jt({matchPatterns:ho,defaultMatchWidth:"wide",parsePatterns:fo,defaultParseWidth:"any"}),day:jt({matchPatterns:mo,defaultMatchWidth:"wide",parsePatterns:po,defaultParseWidth:"any"}),dayPeriod:jt({matchPatterns:go,defaultMatchWidth:"any",parsePatterns:bo,defaultParseWidth:"any"})},Lo={code:"en-US",formatDistance:Fa,formatLong:$a,formatRelative:qa,localize:to,match:vo,options:{weekStartsOn:0,firstWeekContainsDate:1}},yo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,wo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,_o=/^'([^]*?)'?$/,To=/''/g,Eo=/[a-zA-Z]/;function xo(e,t,i){var r,n,a,o,l,u,s,c,f,h,v,g,_,I;oe(2,arguments);var $=String(t),U=Ti(),S=(r=(n=void 0)!==null&&n!==void 0?n:U.locale)!==null&&r!==void 0?r:Lo,R=qe((a=(o=(l=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&l!==void 0?l:U.firstWeekContainsDate)!==null&&o!==void 0?o:(s=U.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(R>=1&&R<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var j=qe((f=(h=(v=(g=void 0)!==null&&g!==void 0?g:void 0)!==null&&v!==void 0?v:U.weekStartsOn)!==null&&h!==void 0?h:(_=U.locale)===null||_===void 0||(I=_.options)===null||I===void 0?void 0:I.weekStartsOn)!==null&&f!==void 0?f:0);if(!(j>=0&&j<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!S.localize)throw new RangeError("locale must contain localize property");if(!S.formatLong)throw new RangeError("locale must contain formatLong property");var T=Se(e);if(!Ta(T))throw new RangeError("Invalid time value");var Y=wa(T),O=Ea(T,Y),Te={firstWeekContainsDate:R,weekStartsOn:j,locale:S,_originalDate:T},Q=$.match(wo).map(function(W){var V=W[0];if(V==="p"||V==="P"){var F=Ba[V];return F(W,S.formatLong)}return W}).join("").match(yo).map(function(W){if(W==="''")return"'";var V=W[0];if(V==="'")return So(W);var F=Oa[V];if(F)return Ia(W)&&Tr(W,t,String(e)),Na(W)&&Tr(W,t,String(e)),F(O,W,S.localize,Te);if(V.match(Eo))throw new RangeError("Format string contains an unescaped latin alphabet character `"+V+"`");return W}).join("");return Q}function So(e){var t=e.match(_o);return t?t[1].replace(To,"'"):e}const ht=[];function Co(e,t){return{subscribe:Ei(e,t).subscribe}}function Ei(e,t=pe){let i;const r=new Set;function n(l){if(hn(e,l)&&(e=l,i)){const u=!ht.length;for(const s of r)s[1](),ht.push(s,e);if(u){for(let s=0;s<ht.length;s+=2)ht[s][0](ht[s+1]);ht.length=0}}}function a(l){n(l(e))}function o(l,u=pe){const s=[l,u];return r.add(s),r.size===1&&(i=t(n,a)||pe),l(e),()=>{r.delete(s),r.size===0&&i&&(i(),i=null)}}return{set:n,update:a,subscribe:o}}function Et(e,t,i){const r=!Array.isArray(e),n=r?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return Co(i,(o,l)=>{let u=!1;const s=[];let c=0,f=pe;const h=()=>{if(c)return;f();const g=t(r?s[0]:s,o,l);a?o(g):f=ir(g)?g:pe},v=n.map((g,_)=>fn(g,I=>{s[_]=I,c&=~(1<<_),u&&h()},()=>{c|=1<<_}));return u=!0,h(),function(){Fe(v),f(),u=!1}})}function Po(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ao=function(t){return Ho(t)&&!ko(t)};function Ho(e){return!!e&&typeof e=="object"}function ko(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Do(e)}var Mo=typeof Symbol=="function"&&Symbol.for,Oo=Mo?Symbol.for("react.element"):60103;function Do(e){return e.$$typeof===Oo}function Bo(e){return Array.isArray(e)?[]:{}}function $t(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Lt(Bo(e),e,t):e}function Uo(e,t,i){return e.concat(t).map(function(r){return $t(r,i)})}function Ro(e,t){if(!t.customMerge)return Lt;var i=t.customMerge(e);return typeof i=="function"?i:Lt}function No(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Er(e){return Object.keys(e).concat(No(e))}function vn(e,t){try{return t in e}catch(i){return!1}}function Io(e,t){return vn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function jo(e,t,i){var r={};return i.isMergeableObject(e)&&Er(e).forEach(function(n){r[n]=$t(e[n],i)}),Er(t).forEach(function(n){Io(e,n)||(vn(e,n)&&i.isMergeableObject(t[n])?r[n]=Ro(n,i)(e[n],t[n],i):r[n]=$t(t[n],i))}),r}function Lt(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||Uo,i.isMergeableObject=i.isMergeableObject||Ao,i.cloneUnlessOtherwiseSpecified=$t;var r=Array.isArray(t),n=Array.isArray(e),a=r===n;return a?r?i.arrayMerge(e,t,i):jo(e,t,i):$t(t,i)}Lt.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return Lt(r,n,i)},{})};var Fo=Lt,Go=Fo;const Wo=Po(Go);var qi=function(e,t){return qi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(i[n]=r[n])},qi(e,t)};function xi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");qi(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var xe=function(){return xe=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},xe.apply(this,arguments)};function zo(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]]);return i}function Ii(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,a;r<n;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function ji(e,t){var i=t&&t.cache?t.cache:Zo,r=t&&t.serializer?t.serializer:Yo,n=t&&t.strategy?t.strategy:qo;return n(e,{cache:i,serializer:r})}function $o(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Vo(e,t,i,r){var n=$o(r)?r:i(r),a=t.get(n);return typeof a=="undefined"&&(a=e.call(this,r),t.set(n,a)),a}function Ln(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),a=t.get(n);return typeof a=="undefined"&&(a=e.apply(this,r),t.set(n,a)),a}function yn(e,t,i,r,n){return i.bind(t,e,r,n)}function qo(e,t){var i=e.length===1?Vo:Ln;return yn(e,this,i,t.cache.create(),t.serializer)}function Xo(e,t){return yn(e,this,Ln,t.cache.create(),t.serializer)}var Yo=function(){return JSON.stringify(arguments)},Qo=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,i){this.cache[t]=i},e}(),Zo={create:function(){return new Qo}},Fi={variadic:Xo},yi=function(){return yi=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},yi.apply(this,arguments)};var A;(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"})(A||(A={}));var G;(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"})(G||(G={}));var yt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(yt||(yt={}));function xr(e){return e.type===G.literal}function Jo(e){return e.type===G.argument}function wn(e){return e.type===G.number}function _n(e){return e.type===G.date}function Tn(e){return e.type===G.time}function En(e){return e.type===G.select}function xn(e){return e.type===G.plural}function Ko(e){return e.type===G.pound}function Sn(e){return e.type===G.tag}function Cn(e){return!!(e&&typeof e=="object"&&e.type===yt.number)}function Xi(e){return!!(e&&typeof e=="object"&&e.type===yt.dateTime)}var Pn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,el=/(?:[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 tl(e){var t={};return e.replace(el,function(i){var r=i.length;switch(i[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 X=function(){return X=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},X.apply(this,arguments)};var il=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function rl(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(il).filter(function(h){return h.length>0}),i=[],r=0,n=t;r<n.length;r++){var a=n[r],o=a.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var l=o[0],u=o.slice(1),s=0,c=u;s<c.length;s++){var f=c[s];if(f.length===0)throw new Error("Invalid number skeleton")}i.push({stem:l,options:u})}return i}function nl(e){return e.replace(/^(.*?)-/,"")}var Sr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,An=/^(@+)?(\+|#+)?[rs]?$/g,al=/(\*)(0+)|(#+)(0+)|(0+)/g,Hn=/^(0+)$/;function Cr(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(An,function(i,r,n){return typeof n!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):n==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof n=="string"?n.length:0)),""}),t}function kn(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 ol(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 i=e.slice(0,2);if(i==="+!"?(t.signDisplay="always",e=e.slice(2)):i==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Hn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Pr(e){var t={},i=kn(e);return i||t}function ll(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.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=nl(n.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=X(X(X({},t),{notation:"scientific"}),n.options.reduce(function(u,s){return X(X({},u),Pr(s))},{}));continue;case"engineering":t=X(X(X({},t),{notation:"engineering"}),n.options.reduce(function(u,s){return X(X({},u),Pr(s))},{}));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(n.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(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(al,function(u,s,c,f,h,v){if(s)t.minimumIntegerDigits=c.length;else{if(f&&h)throw new Error("We currently do not support maximum integer digits");if(v)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Hn.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Sr.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Sr,function(u,s,c,f,h,v){return c==="*"?t.minimumFractionDigits=s.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:h&&v?(t.minimumFractionDigits=h.length,t.maximumFractionDigits=h.length+v.length):(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length),""});var a=n.options[0];a==="w"?t=X(X({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=X(X({},t),Cr(a)));continue}if(An.test(n.stem)){t=X(X({},t),Cr(n.stem));continue}var o=kn(n.stem);o&&(t=X(X({},t),o));var l=ol(n.stem);l&&(t=X(X({},t),l))}return t}var fi={"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 sl(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){for(var a=0;r+1<e.length&&e.charAt(r+1)===n;)a++,r++;var o=1+(a&1),l=a<2?1:3+(a>>1),u="a",s=ul(t);for((s=="H"||s=="k")&&(l=0);l-- >0;)i+=u;for(;o-- >0;)i=s+i}else n==="J"?i+="H":i+=n}return i}function ul(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 i=e.language,r;i!=="root"&&(r=e.maximize().region);var n=fi[r||""]||fi[i||""]||fi["".concat(i,"-001")]||fi["001"];return n[0]}var Gi,dl=new RegExp("^".concat(Pn.source,"*")),cl=new RegExp("".concat(Pn.source,"*$"));function k(e,t){return{start:e,end:t}}var hl=!!String.prototype.startsWith&&"_a".startsWith("a",1),fl=!!String.fromCodePoint,ml=!!Object.fromEntries,pl=!!String.prototype.codePointAt,gl=!!String.prototype.trimStart,bl=!!String.prototype.trimEnd,vl=!!Number.isSafeInteger,Ll=vl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Yi=!0;try{var yl=On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Yi=((Gi=yl.exec("a"))===null||Gi===void 0?void 0:Gi[0])==="a"}catch(e){Yi=!1}var Ar=hl?function(t,i,r){return t.startsWith(i,r)}:function(t,i,r){return t.slice(r,r+i.length)===i},Qi=fl?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var r="",n=t.length,a=0,o;n>a;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r},Hr=ml?Object.fromEntries:function(t){for(var i={},r=0,n=t;r<n.length;r++){var a=n[r],o=a[0],l=a[1];i[o]=l}return i},Mn=pl?function(t,i){return t.codePointAt(i)}:function(t,i){var r=t.length;if(!(i<0||i>=r)){var n=t.charCodeAt(i),a;return n<55296||n>56319||i+1===r||(a=t.charCodeAt(i+1))<56320||a>57343?n:(n-55296<<10)+(a-56320)+65536}},wl=gl?function(t){return t.trimStart()}:function(t){return t.replace(dl,"")},_l=bl?function(t){return t.trimEnd()}:function(t){return t.replace(cl,"")};function On(e,t){return new RegExp(e,t)}var Zi;if(Yi){var kr=On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Zi=function(t,i){var r;kr.lastIndex=i;var n=kr.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else Zi=function(t,i){for(var r=[];;){var n=Mn(t,i);if(n===void 0||Dn(n)||Sl(n))break;r.push(n),i+=n>=65536?2:1}return Qi.apply(void 0,r)};var Tl=function(){function e(t,i){i===void 0&&(i={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!i.ignoreTag,this.locale=i.locale,this.requiresOtherClause=!!i.requiresOtherClause,this.shouldParseSkeletons=!!i.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,i,r){for(var n=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,r);if(o.err)return o;n.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(i==="plural"||i==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:G.pound,location:k(l,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(A.UNMATCHED_CLOSING_TAG,k(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Ji(this.peek()||0)){var o=this.parseTag(t,i);if(o.err)return o;n.push(o.val)}else{var o=this.parseLiteral(t,i);if(o.err)return o;n.push(o.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,i){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:G.literal,value:"<".concat(n,"/>"),location:k(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,i,!0);if(a.err)return a;var o=a.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ji(this.char()))return this.error(A.INVALID_TAG,k(l,this.clonePosition()));var u=this.clonePosition(),s=this.parseTagName();return n!==s?this.error(A.UNMATCHED_CLOSING_TAG,k(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:G.tag,value:n,children:o,location:k(r,this.clonePosition())},err:null}:this.error(A.INVALID_TAG,k(l,this.clonePosition())))}else return this.error(A.UNCLOSED_TAG,k(r,this.clonePosition()))}else return this.error(A.INVALID_TAG,k(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&xl(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var r=this.clonePosition(),n="";;){var a=this.tryParseQuote(i);if(a){n+=a;continue}var o=this.tryParseUnquoted(t,i);if(o){n+=o;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var u=k(r,this.clonePosition());return{val:{type:G.literal,value:n,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!El(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 i=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(r);this.bump()}return Qi.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(i==="plural"||i==="selectordinal")||r===125&&t>0?null:(this.bump(),Qi(r))},e.prototype.parseArgument=function(t,i){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(A.EMPTY_ARGUMENT,k(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(A.MALFORMED_ARGUMENT,k(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:G.argument,value:n,location:k(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition())):this.parseArgumentOptions(t,i,n,r);default:return this.error(A.MALFORMED_ARGUMENT,k(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),r=Zi(this.message,i),n=i+r.length;this.bumpTo(n);var a=this.clonePosition(),o=k(t,a);return{value:r,location:o}},e.prototype.parseArgumentOptions=function(t,i,r,n){var a,o=this.clonePosition(),l=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(l){case"":return this.error(A.EXPECT_ARGUMENT_TYPE,k(o,u));case"number":case"date":case"time":{this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var h=_l(f.val);if(h.length===0)return this.error(A.EXPECT_ARGUMENT_STYLE,k(this.clonePosition(),this.clonePosition()));var v=k(c,this.clonePosition());s={style:h,styleLocation:v}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var _=k(n,this.clonePosition());if(s&&Ar(s==null?void 0:s.style,"::",0)){var I=wl(s.style.slice(2));if(l==="number"){var f=this.parseNumberSkeletonFromString(I,s.styleLocation);return f.err?f:{val:{type:G.number,value:r,location:_,style:f.val},err:null}}else{if(I.length===0)return this.error(A.EXPECT_DATE_TIME_SKELETON,_);var $=I;this.locale&&($=sl(I,this.locale));var h={type:yt.dateTime,pattern:$,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?tl($):{}},U=l==="date"?G.date:G.time;return{val:{type:U,value:r,location:_,style:h},err:null}}}return{val:{type:l==="number"?G.number:l==="date"?G.date:G.time,value:r,location:_,style:(a=s==null?void 0:s.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS,k(S,yi({},S)));this.bumpSpace();var R=this.parseIdentifierIfPossible(),j=0;if(l!=="select"&&R.value==="offset"){if(!this.bumpIf(":"))return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),R=this.parseIdentifierIfPossible(),j=f.val}var T=this.tryParsePluralOrSelectOptions(t,l,i,R);if(T.err)return T;var g=this.tryParseArgumentClose(n);if(g.err)return g;var Y=k(n,this.clonePosition());return l==="select"?{val:{type:G.select,value:r,options:Hr(T.val),location:Y},err:null}:{val:{type:G.plural,value:r,options:Hr(T.val),offset:j,pluralType:l==="plural"?"cardinal":"ordinal",location:Y},err:null}}default:return this.error(A.INVALID_ARGUMENT_TYPE,k(o,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,k(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,k(n,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(i.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(i.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,i){var r=[];try{r=rl(t)}catch(n){return this.error(A.INVALID_NUMBER_SKELETON,i)}return{val:{type:yt.number,tokens:r,location:i,parsedOptions:this.shouldParseSkeletons?ll(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,r,n){for(var a,o=!1,l=[],u=new Set,s=n.value,c=n.location;;){if(s.length===0){var f=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR,A.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=k(f,this.clonePosition()),s=this.message.slice(f.offset,this.offset())}else break}if(u.has(s))return this.error(i==="select"?A.DUPLICATE_SELECT_ARGUMENT_SELECTOR:A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);s==="other"&&(o=!0),this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,k(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,i,r);if(g.err)return g;var _=this.tryParseArgumentClose(v);if(_.err)return _;l.push([s,{value:g.val,location:k(v,this.clonePosition())}]),u.add(s),this.bumpSpace(),a=this.parseIdentifierIfPossible(),s=a.value,c=a.location}return l.length===0?this.error(i==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR:A.EXPECT_PLURAL_ARGUMENT_SELECTOR,k(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(A.MISSING_OTHER_CLAUSE,k(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,o=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)a=!0,o=o*10+(l-48),this.bump();else break}var u=k(n,this.clonePosition());return a?(o*=r,Ll(o)?{val:o,err:null}:this.error(i,u)):this.error(t,u)},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 i=Mn(this.message,t);if(i===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(t,i){return{val:null,err:{kind:t,message:this.message,location:i}}},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(Ar(this.message,t,this.offset())){for(var i=0;i<t.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var i=this.offset(),r=this.message.indexOf(t,i);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 i=this.offset();if(i===t)break;if(i>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()&&Dn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),r=this.message.charCodeAt(i+(t>=65536?2:1));return r!=null?r:null},e}();function Ji(e){return e>=97&&e<=122||e>=65&&e<=90}function El(e){return Ji(e)||e===47}function xl(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 Dn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Sl(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 Ki(e){e.forEach(function(t){if(delete t.location,En(t)||xn(t))for(var i in t.options)delete t.options[i].location,Ki(t.options[i].value);else wn(t)&&Cn(t.style)||(_n(t)||Tn(t))&&Xi(t.style)?delete t.style.location:Sn(t)&&Ki(t.children)})}function Cl(e,t){t===void 0&&(t={}),t=yi({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new Tl(e,t).parse();if(i.err){var r=SyntaxError(A[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t!=null&&t.captureLocation||Ki(i.val),i.val}var wt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(wt||(wt={}));var Si=function(e){xi(t,e);function t(i,r,n){var a=e.call(this,i)||this;return a.code=r,a.originalMessage=n,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Mr=function(e){xi(t,e);function t(i,r,n,a){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),wt.INVALID_VALUE,a)||this}return t}(Si),Pl=function(e){xi(t,e);function t(i,r,n){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(r),wt.INVALID_VALUE,n)||this}return t}(Si),Al=function(e){xi(t,e);function t(i,r){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(r,'"'),wt.MISSING_VALUE,r)||this}return t}(Si),ae;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ae||(ae={}));function Hl(e){return e.length<2?e:e.reduce(function(t,i){var r=t[t.length-1];return!r||r.type!==ae.literal||i.type!==ae.literal?t.push(i):r.value+=i.value,t},[])}function kl(e){return typeof e=="function"}function pi(e,t,i,r,n,a,o){if(e.length===1&&xr(e[0]))return[{type:ae.literal,value:e[0].value}];for(var l=[],u=0,s=e;u<s.length;u++){var c=s[u];if(xr(c)){l.push({type:ae.literal,value:c.value});continue}if(Ko(c)){typeof a=="number"&&l.push({type:ae.literal,value:i.getNumberFormat(t).format(a)});continue}var f=c.value;if(!(n&&f in n))throw new Al(f,o);var h=n[f];if(Jo(c)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),l.push({type:typeof h=="string"?ae.literal:ae.object,value:h});continue}if(_n(c)){var v=typeof c.style=="string"?r.date[c.style]:Xi(c.style)?c.style.parsedOptions:void 0;l.push({type:ae.literal,value:i.getDateTimeFormat(t,v).format(h)});continue}if(Tn(c)){var v=typeof c.style=="string"?r.time[c.style]:Xi(c.style)?c.style.parsedOptions:r.time.medium;l.push({type:ae.literal,value:i.getDateTimeFormat(t,v).format(h)});continue}if(wn(c)){var v=typeof c.style=="string"?r.number[c.style]:Cn(c.style)?c.style.parsedOptions:void 0;v&&v.scale&&(h=h*(v.scale||1)),l.push({type:ae.literal,value:i.getNumberFormat(t,v).format(h)});continue}if(Sn(c)){var g=c.children,_=c.value,I=n[_];if(!kl(I))throw new Pl(_,"function",o);var $=pi(g,t,i,r,n,a),U=I($.map(function(j){return j.value}));Array.isArray(U)||(U=[U]),l.push.apply(l,U.map(function(j){return{type:typeof j=="string"?ae.literal:ae.object,value:j}}))}if(En(c)){var S=c.options[h]||c.options.other;if(!S)throw new Mr(c.value,h,Object.keys(c.options),o);l.push.apply(l,pi(S.value,t,i,r,n));continue}if(xn(c)){var S=c.options["=".concat(h)];if(!S){if(!Intl.PluralRules)throw new Si(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
"use strict";var zn=Object.defineProperty,$n=Object.defineProperties;var Vn=Object.getOwnPropertyDescriptors;var pr=Object.getOwnPropertySymbols;var qn=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable;var Bi=(e,t,i)=>t in e?zn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,gr=(e,t)=>{for(var i in t||(t={}))qn.call(t,i)&&Bi(e,i,t[i]);if(pr)for(var i of pr(t))Xn.call(t,i)&&Bi(e,i,t[i]);return e},br=(e,t)=>$n(e,Vn(t));var ee=(e,t,i)=>Bi(e,typeof t!="symbol"?t+"":t,i);var Nt=(e,t,i)=>new Promise((r,n)=>{var a=u=>{try{l(i.next(u))}catch(s){n(s)}},o=u=>{try{l(i.throw(u))}catch(s){n(s)}},l=u=>u.done?r(u.value):Promise.resolve(u.value).then(a,o);l((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function pe(){}function cn(e){return e()}function vr(){return Object.create(null)}function Fe(e){e.forEach(cn)}function ir(e){return typeof e=="function"}function hn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Yn(e){return Object.keys(e).length===0}function fn(e,...t){if(e==null){for(const r of t)r(void 0);return pe}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function Qn(e,t,i){e.$$.on_destroy.push(fn(t,i))}function d(e,t){e.appendChild(t)}function Zn(e,t,i){const r=Jn(e);if(!r.getElementById(t)){const n=b("style");n.id=t,n.textContent=i,Kn(r,n)}}function Jn(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Kn(e,t){return d(e.head||e,t),t.sheet}function M(e,t,i){e.insertBefore(t,i||null)}function H(e){e.parentNode&&e.parentNode.removeChild(e)}function Ve(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function b(e){return document.createElement(e)}function ea(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function x(e){return document.createTextNode(e)}function w(){return x(" ")}function Le(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function Tt(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function p(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function ta(e){return Array.from(e.childNodes)}function P(e,t){t=""+t,e.data!==t&&(e.data=t)}function gt(e,t){e.value=t==null?"":t}function hi(e,t,i,r){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function bt(e,t,i){for(let r=0;r<e.options.length;r+=1){const n=e.options[r];if(n.__value===t){n.selected=!0;return}}(!i||t!==void 0)&&(e.selectedIndex=-1)}function Ui(e){const t=e.querySelector(":checked");return t&&t.__value}class ia{constructor(t=!1){ee(this,"is_svg",!1);ee(this,"e");ee(this,"n");ee(this,"t");ee(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,i,r=null){this.e||(this.is_svg?this.e=ea(i.nodeName):this.e=b(i.nodeType===11?"TEMPLATE":i.nodeName),this.t=i.tagName!=="TEMPLATE"?i:i.content,this.c(t)),this.i(r)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let i=0;i<this.n.length;i+=1)M(this.t,this.n[i],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(H)}}function ra(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let zt;function Wt(e){zt=e}function na(){if(!zt)throw new Error("Function called outside component initialization");return zt}function aa(e){na().$$.on_mount.push(e)}const ft=[],$i=[];let pt=[];const Lr=[],oa=Promise.resolve();let Vi=!1;function la(){Vi||(Vi=!0,oa.then(Z))}function vt(e){pt.push(e)}const Ri=new Set;let dt=0;function Z(){if(dt!==0)return;const e=zt;do{try{for(;dt<ft.length;){const t=ft[dt];dt++,Wt(t),sa(t.$$)}}catch(t){throw ft.length=0,dt=0,t}for(Wt(null),ft.length=0,dt=0;$i.length;)$i.pop()();for(let t=0;t<pt.length;t+=1){const i=pt[t];Ri.has(i)||(Ri.add(i),i())}pt.length=0}while(ft.length);for(;Lr.length;)Lr.pop()();Vi=!1,Ri.clear(),Wt(e)}function sa(e){if(e.fragment!==null){e.update(),Fe(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(vt)}}function ua(e){const t=[],i=[];pt.forEach(r=>e.indexOf(r)===-1?t.push(r):i.push(r)),i.forEach(r=>r()),pt=t}const da=new Set;function ca(e,t){e&&e.i&&(da.delete(e),e.i(t))}function _e(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ha(e,t,i){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,i),vt(()=>{const a=e.$$.on_mount.map(cn).filter(ir);e.$$.on_destroy?e.$$.on_destroy.push(...a):Fe(a),e.$$.on_mount=[]}),n.forEach(vt)}function fa(e,t){const i=e.$$;i.fragment!==null&&(ua(i.after_update),Fe(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function ma(e,t){e.$$.dirty[0]===-1&&(ft.push(e),la(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function pa(e,t,i,r,n,a,o=null,l=[-1]){const u=zt;Wt(e);const s=e.$$={fragment:null,ctx:[],props:a,update:pe,not_equal:n,bound:vr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:vr(),dirty:l,skip_bound:!1,root:t.target||u.$$.root};o&&o(s.root);let c=!1;if(s.ctx=i?i(e,t.props||{},(f,h,...v)=>{const g=v.length?v[0]:h;return s.ctx&&n(s.ctx[f],s.ctx[f]=g)&&(!s.skip_bound&&s.bound[f]&&s.bound[f](g),c&&ma(e,f)),h}):[],s.update(),c=!0,Fe(s.before_update),s.fragment=r?r(s.ctx):!1,t.target){if(t.hydrate){const f=ta(t.target);s.fragment&&s.fragment.l(f),f.forEach(H)}else s.fragment&&s.fragment.c();t.intro&&ca(e.$$.fragment),ha(e,t.target,t.anchor),Z()}Wt(u)}let mn;typeof HTMLElement=="function"&&(mn=class extends HTMLElement{constructor(t,i,r){super();ee(this,"$$ctor");ee(this,"$$s");ee(this,"$$c");ee(this,"$$cn",!1);ee(this,"$$d",{});ee(this,"$$r",!1);ee(this,"$$p_d",{});ee(this,"$$l",{});ee(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=i,r&&this.attachShadow({mode:"open"})}addEventListener(t,i,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const n=this.$$c.$on(t,i);this.$$l_u.set(i,n)}super.addEventListener(t,i,r)}removeEventListener(t,i,r){if(super.removeEventListener(t,i,r),this.$$c){const n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}connectedCallback(){return Nt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let o;return{c:function(){o=b("slot"),a!=="default"&&p(o,"name",a)},m:function(s,c){M(s,o,c)},d:function(s){s&&H(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},r=ra(this);for(const a of this.$$s)a in r&&(i[a]=[t(a)]);for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=mi(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:br(gr({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const o=mi(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const a in this.$$l)for(const o of this.$$l[a]){const l=this.$$c.$on(a,o);this.$$l_u.set(o,l)}this.$$l={}}})}attributeChangedCallback(t,i,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=mi(t,r,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$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(i=>this.$$p_d[i].attribute===t||!this.$$p_d[i].attribute&&i.toLowerCase()===t)||t}});function mi(e,t,i,r){var a;const n=(a=i[e])==null?void 0:a.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!i[e])return t;if(r==="toAttribute")switch(n){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(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ga(e,t,i,r,n,a){let o=class extends mn{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){var s;u=mi(l,u,t),this.$$d[l]=u,(s=this.$$c)==null||s.$set({[l]:u})}})}),r.forEach(l=>{Object.defineProperty(o.prototype,l,{get(){var u;return(u=this.$$c)==null?void 0:u[l]}})}),e.element=o,o}class ba{constructor(){ee(this,"$$");ee(this,"$$set")}$destroy(){fa(this,1),this.$destroy=pe}$on(t,i){if(!ir(i))return pe;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(i),()=>{const n=r.indexOf(i);n!==-1&&r.splice(n,1)}}$set(t){this.$$set&&!Yn(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const va="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(va);function bi(e){"@babel/helpers - typeof";return bi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bi(e)}function qe(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function oe(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function Se(e){oe(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||bi(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function La(e,t){oe(2,arguments);var i=Se(e).getTime(),r=qe(t);return new Date(i+r)}var ya={};function Ti(){return ya}function wa(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function _a(e){return oe(1,arguments),e instanceof Date||bi(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ta(e){if(oe(1,arguments),!_a(e)&&typeof e!="number")return!1;var t=Se(e);return!isNaN(Number(t))}function Ea(e,t){oe(2,arguments);var i=qe(t);return La(e,-i)}var xa=864e5;function Sa(e){oe(1,arguments);var t=Se(e),i=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),n=i-r;return Math.floor(n/xa)+1}function vi(e){oe(1,arguments);var t=1,i=Se(e),r=i.getUTCDay(),n=(r<t?7:0)+r-t;return i.setUTCDate(i.getUTCDate()-n),i.setUTCHours(0,0,0,0),i}function pn(e){oe(1,arguments);var t=Se(e),i=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(i+1,0,4),r.setUTCHours(0,0,0,0);var n=vi(r),a=new Date(0);a.setUTCFullYear(i,0,4),a.setUTCHours(0,0,0,0);var o=vi(a);return t.getTime()>=n.getTime()?i+1:t.getTime()>=o.getTime()?i:i-1}function Ca(e){oe(1,arguments);var t=pn(e),i=new Date(0);i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0);var r=vi(i);return r}var Pa=6048e5;function Aa(e){oe(1,arguments);var t=Se(e),i=vi(t).getTime()-Ca(t).getTime();return Math.round(i/Pa)+1}function Li(e,t){var i,r,n,a,o,l,u,s;oe(1,arguments);var c=Ti(),f=qe((i=(r=(n=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:c.weekStartsOn)!==null&&r!==void 0?r:(u=c.locale)===null||u===void 0||(s=u.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=Se(e),v=h.getUTCDay(),g=(v<f?7:0)+v-f;return h.setUTCDate(h.getUTCDate()-g),h.setUTCHours(0,0,0,0),h}function gn(e,t){var i,r,n,a,o,l,u,s;oe(1,arguments);var c=Se(e),f=c.getUTCFullYear(),h=Ti(),v=qe((i=(r=(n=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:h.firstWeekContainsDate)!==null&&r!==void 0?r:(u=h.locale)===null||u===void 0||(s=u.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(f+1,0,v),g.setUTCHours(0,0,0,0);var _=Li(g,t),I=new Date(0);I.setUTCFullYear(f,0,v),I.setUTCHours(0,0,0,0);var $=Li(I,t);return c.getTime()>=_.getTime()?f+1:c.getTime()>=$.getTime()?f:f-1}function Ha(e,t){var i,r,n,a,o,l,u,s;oe(1,arguments);var c=Ti(),f=qe((i=(r=(n=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:c.firstWeekContainsDate)!==null&&r!==void 0?r:(u=c.locale)===null||u===void 0||(s=u.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:1),h=gn(e,t),v=new Date(0);v.setUTCFullYear(h,0,f),v.setUTCHours(0,0,0,0);var g=Li(v,t);return g}var ka=6048e5;function Ma(e,t){oe(1,arguments);var i=Se(e),r=Li(i,t).getTime()-Ha(i,t).getTime();return Math.round(r/ka)+1}function B(e,t){for(var i=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return i+r}var Ie={y:function(t,i){var r=t.getUTCFullYear(),n=r>0?r:1-r;return B(i==="yy"?n%100:n,i.length)},M:function(t,i){var r=t.getUTCMonth();return i==="M"?String(r+1):B(r+1,2)},d:function(t,i){return B(t.getUTCDate(),i.length)},a:function(t,i){var r=t.getUTCHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,i){return B(t.getUTCHours()%12||12,i.length)},H:function(t,i){return B(t.getUTCHours(),i.length)},m:function(t,i){return B(t.getUTCMinutes(),i.length)},s:function(t,i){return B(t.getUTCSeconds(),i.length)},S:function(t,i){var r=i.length,n=t.getUTCMilliseconds(),a=Math.floor(n*Math.pow(10,r-3));return B(a,i.length)}},ct={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Oa={G:function(t,i,r){var n=t.getUTCFullYear()>0?1:0;switch(i){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,i,r){if(i==="yo"){var n=t.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return Ie.y(t,i)},Y:function(t,i,r,n){var a=gn(t,n),o=a>0?a:1-a;if(i==="YY"){var l=o%100;return B(l,2)}return i==="Yo"?r.ordinalNumber(o,{unit:"year"}):B(o,i.length)},R:function(t,i){var r=pn(t);return B(r,i.length)},u:function(t,i){var r=t.getUTCFullYear();return B(r,i.length)},Q:function(t,i,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(i){case"Q":return String(n);case"QQ":return B(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,i,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(i){case"q":return String(n);case"qq":return B(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,i,r){var n=t.getUTCMonth();switch(i){case"M":case"MM":return Ie.M(t,i);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,i,r){var n=t.getUTCMonth();switch(i){case"L":return String(n+1);case"LL":return B(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,i,r,n){var a=Ma(t,n);return i==="wo"?r.ordinalNumber(a,{unit:"week"}):B(a,i.length)},I:function(t,i,r){var n=Aa(t);return i==="Io"?r.ordinalNumber(n,{unit:"week"}):B(n,i.length)},d:function(t,i,r){return i==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):Ie.d(t,i)},D:function(t,i,r){var n=Sa(t);return i==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):B(n,i.length)},E:function(t,i,r){var n=t.getUTCDay();switch(i){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,i,r,n){var a=t.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(i){case"e":return String(o);case"ee":return B(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,i,r,n){var a=t.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(i){case"c":return String(o);case"cc":return B(o,i.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,i,r){var n=t.getUTCDay(),a=n===0?7:n;switch(i){case"i":return String(a);case"ii":return B(a,i.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,i,r){var n=t.getUTCHours(),a=n/12>=1?"pm":"am";switch(i){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,i,r){var n=t.getUTCHours(),a;switch(n===12?a=ct.noon:n===0?a=ct.midnight:a=n/12>=1?"pm":"am",i){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,i,r){var n=t.getUTCHours(),a;switch(n>=17?a=ct.evening:n>=12?a=ct.afternoon:n>=4?a=ct.morning:a=ct.night,i){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,i,r){if(i==="ho"){var n=t.getUTCHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return Ie.h(t,i)},H:function(t,i,r){return i==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Ie.H(t,i)},K:function(t,i,r){var n=t.getUTCHours()%12;return i==="Ko"?r.ordinalNumber(n,{unit:"hour"}):B(n,i.length)},k:function(t,i,r){var n=t.getUTCHours();return n===0&&(n=24),i==="ko"?r.ordinalNumber(n,{unit:"hour"}):B(n,i.length)},m:function(t,i,r){return i==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Ie.m(t,i)},s:function(t,i,r){return i==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Ie.s(t,i)},S:function(t,i){return Ie.S(t,i)},X:function(t,i,r,n){var a=n._originalDate||t,o=a.getTimezoneOffset();if(o===0)return"Z";switch(i){case"X":return wr(o);case"XXXX":case"XX":return $e(o);case"XXXXX":case"XXX":default:return $e(o,":")}},x:function(t,i,r,n){var a=n._originalDate||t,o=a.getTimezoneOffset();switch(i){case"x":return wr(o);case"xxxx":case"xx":return $e(o);case"xxxxx":case"xxx":default:return $e(o,":")}},O:function(t,i,r,n){var a=n._originalDate||t,o=a.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+yr(o,":");case"OOOO":default:return"GMT"+$e(o,":")}},z:function(t,i,r,n){var a=n._originalDate||t,o=a.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+yr(o,":");case"zzzz":default:return"GMT"+$e(o,":")}},t:function(t,i,r,n){var a=n._originalDate||t,o=Math.floor(a.getTime()/1e3);return B(o,i.length)},T:function(t,i,r,n){var a=n._originalDate||t,o=a.getTime();return B(o,i.length)}};function yr(e,t){var i=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),a=r%60;if(a===0)return i+String(n);var o=t;return i+String(n)+o+B(a,2)}function wr(e,t){if(e%60===0){var i=e>0?"-":"+";return i+B(Math.abs(e)/60,2)}return $e(e,t)}function $e(e,t){var i=t||"",r=e>0?"-":"+",n=Math.abs(e),a=B(Math.floor(n/60),2),o=B(n%60,2);return r+a+i+o}var _r=function(t,i){switch(t){case"P":return i.date({width:"short"});case"PP":return i.date({width:"medium"});case"PPP":return i.date({width:"long"});case"PPPP":default:return i.date({width:"full"})}},bn=function(t,i){switch(t){case"p":return i.time({width:"short"});case"pp":return i.time({width:"medium"});case"ppp":return i.time({width:"long"});case"pppp":default:return i.time({width:"full"})}},Da=function(t,i){var r=t.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return _r(t,i);var o;switch(n){case"P":o=i.dateTime({width:"short"});break;case"PP":o=i.dateTime({width:"medium"});break;case"PPP":o=i.dateTime({width:"long"});break;case"PPPP":default:o=i.dateTime({width:"full"});break}return o.replace("{{date}}",_r(n,i)).replace("{{time}}",bn(a,i))},Ba={p:bn,P:Da},Ua=["D","DD"],Ra=["YY","YYYY"];function Na(e){return Ua.indexOf(e)!==-1}function Ia(e){return Ra.indexOf(e)!==-1}function Tr(e,t,i){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ja={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Fa=function(t,i,r){var n,a=ja[t];return typeof a=="string"?n=a:i===1?n=a.one:n=a.other.replace("{{count}}",i.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function Ni(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=t.width?String(t.width):e.defaultWidth,r=e.formats[i]||e.formats[e.defaultWidth];return r}}var Ga={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Wa={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},za={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$a={date:Ni({formats:Ga,defaultWidth:"full"}),time:Ni({formats:Wa,defaultWidth:"full"}),dateTime:Ni({formats:za,defaultWidth:"full"})},Va={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},qa=function(t,i,r,n){return Va[t]};function It(e){return function(t,i){var r=i!=null&&i.context?String(i.context):"standalone",n;if(r==="formatting"&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=i!=null&&i.width?String(i.width):a;n=e.formattingValues[o]||e.formattingValues[a]}else{var l=e.defaultWidth,u=i!=null&&i.width?String(i.width):e.defaultWidth;n=e.values[u]||e.values[l]}var s=e.argumentCallback?e.argumentCallback(t):t;return n[s]}}var Xa={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ya={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Qa={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Za={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ja={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ka={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},eo=function(t,i){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},to={ordinalNumber:eo,era:It({values:Xa,defaultWidth:"wide"}),quarter:It({values:Ya,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:It({values:Qa,defaultWidth:"wide"}),day:It({values:Za,defaultWidth:"wide"}),dayPeriod:It({values:Ja,defaultWidth:"wide",formattingValues:Ka,defaultFormattingWidth:"wide"})};function jt(e){return function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=i.width,n=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(n);if(!a)return null;var o=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?ro(l,function(f){return f.test(o)}):io(l,function(f){return f.test(o)}),s;s=e.valueCallback?e.valueCallback(u):u,s=i.valueCallback?i.valueCallback(s):s;var c=t.slice(o.length);return{value:s,rest:c}}}function io(e,t){for(var i in e)if(e.hasOwnProperty(i)&&t(e[i]))return i}function ro(e,t){for(var i=0;i<e.length;i++)if(t(e[i]))return i}function no(e){return function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var n=r[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=i.valueCallback?i.valueCallback(o):o;var l=t.slice(n.length);return{value:o,rest:l}}}var ao=/^(\d+)(th|st|nd|rd)?/i,oo=/\d+/i,lo={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},so={any:[/^b/i,/^(a|c)/i]},uo={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},co={any:[/1/i,/2/i,/3/i,/4/i]},ho={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},fo={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},mo={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},po={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},go={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},bo={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},vo={ordinalNumber:no({matchPattern:ao,parsePattern:oo,valueCallback:function(t){return parseInt(t,10)}}),era:jt({matchPatterns:lo,defaultMatchWidth:"wide",parsePatterns:so,defaultParseWidth:"any"}),quarter:jt({matchPatterns:uo,defaultMatchWidth:"wide",parsePatterns:co,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:jt({matchPatterns:ho,defaultMatchWidth:"wide",parsePatterns:fo,defaultParseWidth:"any"}),day:jt({matchPatterns:mo,defaultMatchWidth:"wide",parsePatterns:po,defaultParseWidth:"any"}),dayPeriod:jt({matchPatterns:go,defaultMatchWidth:"any",parsePatterns:bo,defaultParseWidth:"any"})},Lo={code:"en-US",formatDistance:Fa,formatLong:$a,formatRelative:qa,localize:to,match:vo,options:{weekStartsOn:0,firstWeekContainsDate:1}},yo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,wo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,_o=/^'([^]*?)'?$/,To=/''/g,Eo=/[a-zA-Z]/;function xo(e,t,i){var r,n,a,o,l,u,s,c,f,h,v,g,_,I;oe(2,arguments);var $=String(t),U=Ti(),S=(r=(n=void 0)!==null&&n!==void 0?n:U.locale)!==null&&r!==void 0?r:Lo,R=qe((a=(o=(l=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&l!==void 0?l:U.firstWeekContainsDate)!==null&&o!==void 0?o:(s=U.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(R>=1&&R<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var j=qe((f=(h=(v=(g=void 0)!==null&&g!==void 0?g:void 0)!==null&&v!==void 0?v:U.weekStartsOn)!==null&&h!==void 0?h:(_=U.locale)===null||_===void 0||(I=_.options)===null||I===void 0?void 0:I.weekStartsOn)!==null&&f!==void 0?f:0);if(!(j>=0&&j<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!S.localize)throw new RangeError("locale must contain localize property");if(!S.formatLong)throw new RangeError("locale must contain formatLong property");var T=Se(e);if(!Ta(T))throw new RangeError("Invalid time value");var Y=wa(T),O=Ea(T,Y),Te={firstWeekContainsDate:R,weekStartsOn:j,locale:S,_originalDate:T},Q=$.match(wo).map(function(W){var V=W[0];if(V==="p"||V==="P"){var F=Ba[V];return F(W,S.formatLong)}return W}).join("").match(yo).map(function(W){if(W==="''")return"'";var V=W[0];if(V==="'")return So(W);var F=Oa[V];if(F)return Ia(W)&&Tr(W,t,String(e)),Na(W)&&Tr(W,t,String(e)),F(O,W,S.localize,Te);if(V.match(Eo))throw new RangeError("Format string contains an unescaped latin alphabet character `"+V+"`");return W}).join("");return Q}function So(e){var t=e.match(_o);return t?t[1].replace(To,"'"):e}const ht=[];function Co(e,t){return{subscribe:Ei(e,t).subscribe}}function Ei(e,t=pe){let i;const r=new Set;function n(l){if(hn(e,l)&&(e=l,i)){const u=!ht.length;for(const s of r)s[1](),ht.push(s,e);if(u){for(let s=0;s<ht.length;s+=2)ht[s][0](ht[s+1]);ht.length=0}}}function a(l){n(l(e))}function o(l,u=pe){const s=[l,u];return r.add(s),r.size===1&&(i=t(n,a)||pe),l(e),()=>{r.delete(s),r.size===0&&i&&(i(),i=null)}}return{set:n,update:a,subscribe:o}}function Et(e,t,i){const r=!Array.isArray(e),n=r?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return Co(i,(o,l)=>{let u=!1;const s=[];let c=0,f=pe;const h=()=>{if(c)return;f();const g=t(r?s[0]:s,o,l);a?o(g):f=ir(g)?g:pe},v=n.map((g,_)=>fn(g,I=>{s[_]=I,c&=~(1<<_),u&&h()},()=>{c|=1<<_}));return u=!0,h(),function(){Fe(v),f(),u=!1}})}function Po(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ao=function(t){return Ho(t)&&!ko(t)};function Ho(e){return!!e&&typeof e=="object"}function ko(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Do(e)}var Mo=typeof Symbol=="function"&&Symbol.for,Oo=Mo?Symbol.for("react.element"):60103;function Do(e){return e.$$typeof===Oo}function Bo(e){return Array.isArray(e)?[]:{}}function $t(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Lt(Bo(e),e,t):e}function Uo(e,t,i){return e.concat(t).map(function(r){return $t(r,i)})}function Ro(e,t){if(!t.customMerge)return Lt;var i=t.customMerge(e);return typeof i=="function"?i:Lt}function No(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Er(e){return Object.keys(e).concat(No(e))}function vn(e,t){try{return t in e}catch(i){return!1}}function Io(e,t){return vn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function jo(e,t,i){var r={};return i.isMergeableObject(e)&&Er(e).forEach(function(n){r[n]=$t(e[n],i)}),Er(t).forEach(function(n){Io(e,n)||(vn(e,n)&&i.isMergeableObject(t[n])?r[n]=Ro(n,i)(e[n],t[n],i):r[n]=$t(t[n],i))}),r}function Lt(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||Uo,i.isMergeableObject=i.isMergeableObject||Ao,i.cloneUnlessOtherwiseSpecified=$t;var r=Array.isArray(t),n=Array.isArray(e),a=r===n;return a?r?i.arrayMerge(e,t,i):jo(e,t,i):$t(t,i)}Lt.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return Lt(r,n,i)},{})};var Fo=Lt,Go=Fo;const Wo=Po(Go);var qi=function(e,t){return qi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(i[n]=r[n])},qi(e,t)};function xi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");qi(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var xe=function(){return xe=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},xe.apply(this,arguments)};function zo(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]]);return i}function Ii(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,a;r<n;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function ji(e,t){var i=t&&t.cache?t.cache:Zo,r=t&&t.serializer?t.serializer:Yo,n=t&&t.strategy?t.strategy:qo;return n(e,{cache:i,serializer:r})}function $o(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Vo(e,t,i,r){var n=$o(r)?r:i(r),a=t.get(n);return typeof a=="undefined"&&(a=e.call(this,r),t.set(n,a)),a}function Ln(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),a=t.get(n);return typeof a=="undefined"&&(a=e.apply(this,r),t.set(n,a)),a}function yn(e,t,i,r,n){return i.bind(t,e,r,n)}function qo(e,t){var i=e.length===1?Vo:Ln;return yn(e,this,i,t.cache.create(),t.serializer)}function Xo(e,t){return yn(e,this,Ln,t.cache.create(),t.serializer)}var Yo=function(){return JSON.stringify(arguments)},Qo=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,i){this.cache[t]=i},e}(),Zo={create:function(){return new Qo}},Fi={variadic:Xo},yi=function(){return yi=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},yi.apply(this,arguments)};var A;(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"})(A||(A={}));var G;(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"})(G||(G={}));var yt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(yt||(yt={}));function xr(e){return e.type===G.literal}function Jo(e){return e.type===G.argument}function wn(e){return e.type===G.number}function _n(e){return e.type===G.date}function Tn(e){return e.type===G.time}function En(e){return e.type===G.select}function xn(e){return e.type===G.plural}function Ko(e){return e.type===G.pound}function Sn(e){return e.type===G.tag}function Cn(e){return!!(e&&typeof e=="object"&&e.type===yt.number)}function Xi(e){return!!(e&&typeof e=="object"&&e.type===yt.dateTime)}var Pn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,el=/(?:[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 tl(e){var t={};return e.replace(el,function(i){var r=i.length;switch(i[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 X=function(){return X=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},X.apply(this,arguments)};var il=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function rl(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(il).filter(function(h){return h.length>0}),i=[],r=0,n=t;r<n.length;r++){var a=n[r],o=a.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var l=o[0],u=o.slice(1),s=0,c=u;s<c.length;s++){var f=c[s];if(f.length===0)throw new Error("Invalid number skeleton")}i.push({stem:l,options:u})}return i}function nl(e){return e.replace(/^(.*?)-/,"")}var Sr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,An=/^(@+)?(\+|#+)?[rs]?$/g,al=/(\*)(0+)|(#+)(0+)|(0+)/g,Hn=/^(0+)$/;function Cr(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(An,function(i,r,n){return typeof n!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):n==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof n=="string"?n.length:0)),""}),t}function kn(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 ol(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 i=e.slice(0,2);if(i==="+!"?(t.signDisplay="always",e=e.slice(2)):i==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Hn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Pr(e){var t={},i=kn(e);return i||t}function ll(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.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=nl(n.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=X(X(X({},t),{notation:"scientific"}),n.options.reduce(function(u,s){return X(X({},u),Pr(s))},{}));continue;case"engineering":t=X(X(X({},t),{notation:"engineering"}),n.options.reduce(function(u,s){return X(X({},u),Pr(s))},{}));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(n.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(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(al,function(u,s,c,f,h,v){if(s)t.minimumIntegerDigits=c.length;else{if(f&&h)throw new Error("We currently do not support maximum integer digits");if(v)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Hn.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Sr.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Sr,function(u,s,c,f,h,v){return c==="*"?t.minimumFractionDigits=s.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:h&&v?(t.minimumFractionDigits=h.length,t.maximumFractionDigits=h.length+v.length):(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length),""});var a=n.options[0];a==="w"?t=X(X({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=X(X({},t),Cr(a)));continue}if(An.test(n.stem)){t=X(X({},t),Cr(n.stem));continue}var o=kn(n.stem);o&&(t=X(X({},t),o));var l=ol(n.stem);l&&(t=X(X({},t),l))}return t}var fi={"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 sl(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){for(var a=0;r+1<e.length&&e.charAt(r+1)===n;)a++,r++;var o=1+(a&1),l=a<2?1:3+(a>>1),u="a",s=ul(t);for((s=="H"||s=="k")&&(l=0);l-- >0;)i+=u;for(;o-- >0;)i=s+i}else n==="J"?i+="H":i+=n}return i}function ul(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 i=e.language,r;i!=="root"&&(r=e.maximize().region);var n=fi[r||""]||fi[i||""]||fi["".concat(i,"-001")]||fi["001"];return n[0]}var Gi,dl=new RegExp("^".concat(Pn.source,"*")),cl=new RegExp("".concat(Pn.source,"*$"));function k(e,t){return{start:e,end:t}}var hl=!!String.prototype.startsWith&&"_a".startsWith("a",1),fl=!!String.fromCodePoint,ml=!!Object.fromEntries,pl=!!String.prototype.codePointAt,gl=!!String.prototype.trimStart,bl=!!String.prototype.trimEnd,vl=!!Number.isSafeInteger,Ll=vl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Yi=!0;try{var yl=On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Yi=((Gi=yl.exec("a"))===null||Gi===void 0?void 0:Gi[0])==="a"}catch(e){Yi=!1}var Ar=hl?function(t,i,r){return t.startsWith(i,r)}:function(t,i,r){return t.slice(r,r+i.length)===i},Qi=fl?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var r="",n=t.length,a=0,o;n>a;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r},Hr=ml?Object.fromEntries:function(t){for(var i={},r=0,n=t;r<n.length;r++){var a=n[r],o=a[0],l=a[1];i[o]=l}return i},Mn=pl?function(t,i){return t.codePointAt(i)}:function(t,i){var r=t.length;if(!(i<0||i>=r)){var n=t.charCodeAt(i),a;return n<55296||n>56319||i+1===r||(a=t.charCodeAt(i+1))<56320||a>57343?n:(n-55296<<10)+(a-56320)+65536}},wl=gl?function(t){return t.trimStart()}:function(t){return t.replace(dl,"")},_l=bl?function(t){return t.trimEnd()}:function(t){return t.replace(cl,"")};function On(e,t){return new RegExp(e,t)}var Zi;if(Yi){var kr=On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Zi=function(t,i){var r;kr.lastIndex=i;var n=kr.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else Zi=function(t,i){for(var r=[];;){var n=Mn(t,i);if(n===void 0||Dn(n)||Sl(n))break;r.push(n),i+=n>=65536?2:1}return Qi.apply(void 0,r)};var Tl=function(){function e(t,i){i===void 0&&(i={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!i.ignoreTag,this.locale=i.locale,this.requiresOtherClause=!!i.requiresOtherClause,this.shouldParseSkeletons=!!i.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,i,r){for(var n=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,r);if(o.err)return o;n.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(i==="plural"||i==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:G.pound,location:k(l,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(A.UNMATCHED_CLOSING_TAG,k(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Ji(this.peek()||0)){var o=this.parseTag(t,i);if(o.err)return o;n.push(o.val)}else{var o=this.parseLiteral(t,i);if(o.err)return o;n.push(o.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,i){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:G.literal,value:"<".concat(n,"/>"),location:k(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,i,!0);if(a.err)return a;var o=a.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ji(this.char()))return this.error(A.INVALID_TAG,k(l,this.clonePosition()));var u=this.clonePosition(),s=this.parseTagName();return n!==s?this.error(A.UNMATCHED_CLOSING_TAG,k(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:G.tag,value:n,children:o,location:k(r,this.clonePosition())},err:null}:this.error(A.INVALID_TAG,k(l,this.clonePosition())))}else return this.error(A.UNCLOSED_TAG,k(r,this.clonePosition()))}else return this.error(A.INVALID_TAG,k(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&xl(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var r=this.clonePosition(),n="";;){var a=this.tryParseQuote(i);if(a){n+=a;continue}var o=this.tryParseUnquoted(t,i);if(o){n+=o;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var u=k(r,this.clonePosition());return{val:{type:G.literal,value:n,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!El(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 i=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(r);this.bump()}return Qi.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(i==="plural"||i==="selectordinal")||r===125&&t>0?null:(this.bump(),Qi(r))},e.prototype.parseArgument=function(t,i){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(A.EMPTY_ARGUMENT,k(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(A.MALFORMED_ARGUMENT,k(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:G.argument,value:n,location:k(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition())):this.parseArgumentOptions(t,i,n,r);default:return this.error(A.MALFORMED_ARGUMENT,k(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),r=Zi(this.message,i),n=i+r.length;this.bumpTo(n);var a=this.clonePosition(),o=k(t,a);return{value:r,location:o}},e.prototype.parseArgumentOptions=function(t,i,r,n){var a,o=this.clonePosition(),l=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(l){case"":return this.error(A.EXPECT_ARGUMENT_TYPE,k(o,u));case"number":case"date":case"time":{this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var h=_l(f.val);if(h.length===0)return this.error(A.EXPECT_ARGUMENT_STYLE,k(this.clonePosition(),this.clonePosition()));var v=k(c,this.clonePosition());s={style:h,styleLocation:v}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var _=k(n,this.clonePosition());if(s&&Ar(s==null?void 0:s.style,"::",0)){var I=wl(s.style.slice(2));if(l==="number"){var f=this.parseNumberSkeletonFromString(I,s.styleLocation);return f.err?f:{val:{type:G.number,value:r,location:_,style:f.val},err:null}}else{if(I.length===0)return this.error(A.EXPECT_DATE_TIME_SKELETON,_);var $=I;this.locale&&($=sl(I,this.locale));var h={type:yt.dateTime,pattern:$,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?tl($):{}},U=l==="date"?G.date:G.time;return{val:{type:U,value:r,location:_,style:h},err:null}}}return{val:{type:l==="number"?G.number:l==="date"?G.date:G.time,value:r,location:_,style:(a=s==null?void 0:s.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS,k(S,yi({},S)));this.bumpSpace();var R=this.parseIdentifierIfPossible(),j=0;if(l!=="select"&&R.value==="offset"){if(!this.bumpIf(":"))return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),R=this.parseIdentifierIfPossible(),j=f.val}var T=this.tryParsePluralOrSelectOptions(t,l,i,R);if(T.err)return T;var g=this.tryParseArgumentClose(n);if(g.err)return g;var Y=k(n,this.clonePosition());return l==="select"?{val:{type:G.select,value:r,options:Hr(T.val),location:Y},err:null}:{val:{type:G.plural,value:r,options:Hr(T.val),offset:j,pluralType:l==="plural"?"cardinal":"ordinal",location:Y},err:null}}default:return this.error(A.INVALID_ARGUMENT_TYPE,k(o,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,k(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,k(n,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(i.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(i.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,i){var r=[];try{r=rl(t)}catch(n){return this.error(A.INVALID_NUMBER_SKELETON,i)}return{val:{type:yt.number,tokens:r,location:i,parsedOptions:this.shouldParseSkeletons?ll(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,r,n){for(var a,o=!1,l=[],u=new Set,s=n.value,c=n.location;;){if(s.length===0){var f=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR,A.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=k(f,this.clonePosition()),s=this.message.slice(f.offset,this.offset())}else break}if(u.has(s))return this.error(i==="select"?A.DUPLICATE_SELECT_ARGUMENT_SELECTOR:A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);s==="other"&&(o=!0),this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,k(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,i,r);if(g.err)return g;var _=this.tryParseArgumentClose(v);if(_.err)return _;l.push([s,{value:g.val,location:k(v,this.clonePosition())}]),u.add(s),this.bumpSpace(),a=this.parseIdentifierIfPossible(),s=a.value,c=a.location}return l.length===0?this.error(i==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR:A.EXPECT_PLURAL_ARGUMENT_SELECTOR,k(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(A.MISSING_OTHER_CLAUSE,k(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,o=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)a=!0,o=o*10+(l-48),this.bump();else break}var u=k(n,this.clonePosition());return a?(o*=r,Ll(o)?{val:o,err:null}:this.error(i,u)):this.error(t,u)},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 i=Mn(this.message,t);if(i===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(t,i){return{val:null,err:{kind:t,message:this.message,location:i}}},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(Ar(this.message,t,this.offset())){for(var i=0;i<t.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var i=this.offset(),r=this.message.indexOf(t,i);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 i=this.offset();if(i===t)break;if(i>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()&&Dn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),r=this.message.charCodeAt(i+(t>=65536?2:1));return r!=null?r:null},e}();function Ji(e){return e>=97&&e<=122||e>=65&&e<=90}function El(e){return Ji(e)||e===47}function xl(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 Dn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Sl(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 Ki(e){e.forEach(function(t){if(delete t.location,En(t)||xn(t))for(var i in t.options)delete t.options[i].location,Ki(t.options[i].value);else wn(t)&&Cn(t.style)||(_n(t)||Tn(t))&&Xi(t.style)?delete t.style.location:Sn(t)&&Ki(t.children)})}function Cl(e,t){t===void 0&&(t={}),t=yi({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new Tl(e,t).parse();if(i.err){var r=SyntaxError(A[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t!=null&&t.captureLocation||Ki(i.val),i.val}var wt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(wt||(wt={}));var Si=function(e){xi(t,e);function t(i,r,n){var a=e.call(this,i)||this;return a.code=r,a.originalMessage=n,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Mr=function(e){xi(t,e);function t(i,r,n,a){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),wt.INVALID_VALUE,a)||this}return t}(Si),Pl=function(e){xi(t,e);function t(i,r,n){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(r),wt.INVALID_VALUE,n)||this}return t}(Si),Al=function(e){xi(t,e);function t(i,r){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(r,'"'),wt.MISSING_VALUE,r)||this}return t}(Si),ae;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ae||(ae={}));function Hl(e){return e.length<2?e:e.reduce(function(t,i){var r=t[t.length-1];return!r||r.type!==ae.literal||i.type!==ae.literal?t.push(i):r.value+=i.value,t},[])}function kl(e){return typeof e=="function"}function pi(e,t,i,r,n,a,o){if(e.length===1&&xr(e[0]))return[{type:ae.literal,value:e[0].value}];for(var l=[],u=0,s=e;u<s.length;u++){var c=s[u];if(xr(c)){l.push({type:ae.literal,value:c.value});continue}if(Ko(c)){typeof a=="number"&&l.push({type:ae.literal,value:i.getNumberFormat(t).format(a)});continue}var f=c.value;if(!(n&&f in n))throw new Al(f,o);var h=n[f];if(Jo(c)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),l.push({type:typeof h=="string"?ae.literal:ae.object,value:h});continue}if(_n(c)){var v=typeof c.style=="string"?r.date[c.style]:Xi(c.style)?c.style.parsedOptions:void 0;l.push({type:ae.literal,value:i.getDateTimeFormat(t,v).format(h)});continue}if(Tn(c)){var v=typeof c.style=="string"?r.time[c.style]:Xi(c.style)?c.style.parsedOptions:r.time.medium;l.push({type:ae.literal,value:i.getDateTimeFormat(t,v).format(h)});continue}if(wn(c)){var v=typeof c.style=="string"?r.number[c.style]:Cn(c.style)?c.style.parsedOptions:void 0;v&&v.scale&&(h=h*(v.scale||1)),l.push({type:ae.literal,value:i.getNumberFormat(t,v).format(h)});continue}if(Sn(c)){var g=c.children,_=c.value,I=n[_];if(!kl(I))throw new Pl(_,"function",o);var $=pi(g,t,i,r,n,a),U=I($.map(function(j){return j.value}));Array.isArray(U)||(U=[U]),l.push.apply(l,U.map(function(j){return{type:typeof j=="string"?ae.literal:ae.object,value:j}}))}if(En(c)){var S=c.options[h]||c.options.other;if(!S)throw new Mr(c.value,h,Object.keys(c.options),o);l.push.apply(l,pi(S.value,t,i,r,n));continue}if(xn(c)){var S=c.options["=".concat(h)];if(!S){if(!Intl.PluralRules)throw new Si(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
3
|
`,wt.MISSING_INTL_API,o);var R=i.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0));S=c.options[R]||c.options.other}if(!S)throw new Mr(c.value,h,Object.keys(c.options),o);l.push.apply(l,pi(S.value,t,i,r,n,h-(c.offset||0)));continue}}return Hl(l)}function Ml(e,t){return t?xe(xe(xe({},e||{}),t||{}),Object.keys(e).reduce(function(i,r){return i[r]=xe(xe({},e[r]),t[r]||{}),i},{})):e}function Ol(e,t){return t?Object.keys(e).reduce(function(i,r){return i[r]=Ml(e[r],t[r]),i},xe({},e)):e}function Wi(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function Dl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ji(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,Ii([void 0],i,!1)))},{cache:Wi(e.number),strategy:Fi.variadic}),getDateTimeFormat:ji(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,Ii([void 0],i,!1)))},{cache:Wi(e.dateTime),strategy:Fi.variadic}),getPluralRules:ji(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,Ii([void 0],i,!1)))},{cache:Wi(e.pluralRules),strategy:Fi.variadic})}}var Bl=function(){function e(t,i,r,n){i===void 0&&(i=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var s=a.formatToParts(u);if(s.length===1)return s[0].value;var c=s.reduce(function(f,h){return!f.length||h.type!==ae.literal||typeof f[f.length-1]!="string"?f.push(h.value):f[f.length-1]+=h.value,f},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(u){return pi(a.ast,a.locales,a.formatters,a.formats,u,void 0,a.message)},this.resolvedOptions=function(){var u;return{locale:((u=a.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=n||{};o.formatters;var l=zo(o,["formatters"]);this.ast=e.__parse(t,xe(xe({},l),{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=Ol(e.formats,r),this.formatters=n&&n.formatters||Dl(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 i=Intl.NumberFormat.supportedLocalesOf(t);return i.length>0?new Intl.Locale(i[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Cl,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 Ul(e,t){if(t==null)return;if(t in e)return e[t];const i=t.split(".");let r=e;for(let n=0;n<i.length;n++)if(typeof r=="object"){if(n>0){const a=i.slice(n,i.length).join(".");if(a in r){r=r[a];break}}r=r[i[n]]}else r=void 0;return r}const je={},Rl=(e,t,i)=>i&&(t in je||(je[t]={}),e in je[t]||(je[t][e]=i),i),Bn=(e,t)=>{if(t==null)return;if(t in je&&e in je[t])return je[t][e];const i=Ci(t);for(let r=0;r<i.length;r++){const n=i[r],a=Il(n,e);if(a)return Rl(e,t,a)}};let rr;const qt=Ei({});function Nl(e){return rr[e]||null}function Un(e){return e in rr}function Il(e,t){if(!Un(e))return null;const i=Nl(e);return Ul(i,t)}function jl(e){if(e==null)return;const t=Ci(e);for(let i=0;i<t.length;i++){const r=t[i];if(Un(r))return r}}function Rn(e,...t){delete je[e],qt.update(i=>(i[e]=Wo.all([i[e]||{},...t]),i))}Et([qt],([e])=>Object.keys(e));qt.subscribe(e=>rr=e);const gi={};function Fl(e,t){gi[e].delete(t),gi[e].size===0&&delete gi[e]}function Nn(e){return gi[e]}function Gl(e){return Ci(e).map(t=>{const i=Nn(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function er(e){return e==null?!1:Ci(e).some(t=>{var i;return(i=Nn(t))==null?void 0:i.size})}function Wl(e,t){return Promise.all(t.map(r=>(Fl(e,r),r().then(n=>n.default||n)))).then(r=>Rn(e,...r))}const Ft={};function In(e){if(!er(e))return e in Ft?Ft[e]:Promise.resolve();const t=Gl(e);return Ft[e]=Promise.all(t.map(([i,r])=>Wl(i,r))).then(()=>{if(er(e))return In(e);delete Ft[e]}),Ft[e]}const zl={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"}}},$l={fallbackLocale:null,loadingDelay:200,formats:zl,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Vl=$l;function _t(){return Vl}const zi=Ei(!1);var ql=Object.defineProperty,Xl=Object.defineProperties,Yl=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Zl=Object.prototype.propertyIsEnumerable,Dr=(e,t,i)=>t in e?ql(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Jl=(e,t)=>{for(var i in t||(t={}))Ql.call(t,i)&&Dr(e,i,t[i]);if(Or)for(var i of Or(t))Zl.call(t,i)&&Dr(e,i,t[i]);return e},Kl=(e,t)=>Xl(e,Yl(t));let tr;const wi=Ei(null);function Br(e){return e.split("-").map((t,i,r)=>r.slice(0,i+1).join("-")).reverse()}function Ci(e,t=_t().fallbackLocale){const i=Br(e);return t?[...new Set([...i,...Br(t)])]:i}function Xe(){return tr!=null?tr:void 0}wi.subscribe(e=>{tr=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const es=e=>{if(e&&jl(e)&&er(e)){const{loadingDelay:t}=_t();let i;return typeof window!="undefined"&&Xe()!=null&&t?i=window.setTimeout(()=>zi.set(!0),t):zi.set(!0),In(e).then(()=>{wi.set(e)}).finally(()=>{clearTimeout(i),zi.set(!1)})}return wi.set(e)},xt=Kl(Jl({},wi),{set:es}),Pi=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var ts=Object.defineProperty,_i=Object.getOwnPropertySymbols,jn=Object.prototype.hasOwnProperty,Fn=Object.prototype.propertyIsEnumerable,Ur=(e,t,i)=>t in e?ts(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,nr=(e,t)=>{for(var i in t||(t={}))jn.call(t,i)&&Ur(e,i,t[i]);if(_i)for(var i of _i(t))Fn.call(t,i)&&Ur(e,i,t[i]);return e},St=(e,t)=>{var i={};for(var r in e)jn.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&_i)for(var r of _i(e))t.indexOf(r)<0&&Fn.call(e,r)&&(i[r]=e[r]);return i};const Vt=(e,t)=>{const{formats:i}=_t();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},is=Pi(e=>{var t=e,{locale:i,format:r}=t,n=St(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Vt("number",r)),new Intl.NumberFormat(i,n)}),rs=Pi(e=>{var t=e,{locale:i,format:r}=t,n=St(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Vt("date",r):Object.keys(n).length===0&&(n=Vt("date","short")),new Intl.DateTimeFormat(i,n)}),ns=Pi(e=>{var t=e,{locale:i,format:r}=t,n=St(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Vt("time",r):Object.keys(n).length===0&&(n=Vt("time","short")),new Intl.DateTimeFormat(i,n)}),as=(e={})=>{var t=e,{locale:i=Xe()}=t,r=St(t,["locale"]);return is(nr({locale:i},r))},os=(e={})=>{var t=e,{locale:i=Xe()}=t,r=St(t,["locale"]);return rs(nr({locale:i},r))},ls=(e={})=>{var t=e,{locale:i=Xe()}=t,r=St(t,["locale"]);return ns(nr({locale:i},r))},ss=Pi((e,t=Xe())=>new Bl(e,t,_t().formats,{ignoreTag:_t().ignoreTag})),us=(e,t={})=>{var i,r,n,a;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:l,locale:u=Xe(),default:s}=o;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Bn(e,u);if(!c)c=(a=(n=(r=(i=_t()).handleMissingMessage)==null?void 0:r.call(i,{locale:u,id:e,defaultValue:s}))!=null?n:s)!=null?a:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!l)return c;let f=c;try{f=ss(c,u).format(l)}catch(h){h instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,h.message)}return f},ds=(e,t)=>ls(t).format(e),cs=(e,t)=>os(t).format(e),hs=(e,t)=>as(t).format(e),fs=(e,t=Xe())=>Bn(e,t),ms=Et([xt,qt],()=>us);Et([xt],()=>ds);Et([xt],()=>cs);Et([xt],()=>hs);Et([xt,qt],()=>fs);function Rr(e,t){Rn(e,t)}function ps(e){xt.set(e)}const Nr={en:{noLimitToDisplay:"The user has not set a limit...",depositLimitHeader:"Deposit limit",lossLimitHeader:"Loss limit",wageringLimitHeader:"Wagering limit",spentAmount:"Spent amount",remainingAmount:"Remaining amount",limitPeriod:"Limit period",displayedProduct:"Product",futureLimit:"Future limit",additionalLink1:"Last deposit transaction details",additionalLink2:"Transactions in period",limitRemoved:"This limit has been removed and is valid until",limitUpdated:"This limit will be applied beginning with",changeLimitLabel:"Period",futureAmount:"Future amount",limitTypeLabel:"Limit type",fetchLimitDefError:"Failed to fetch limit definitions.",fetchLimitBalanceError:"Failed to fetch limit balance.",invalidUrl:"Failed to construct 'URL': Invalid URL",startLabel:"Start",resetLabel:"Reset",infoLabel:"Info",walletLabel:"Wallet",walletsLabel:"Wallets",addLimitTitle:"Add limit",editLimitTitle:"Edit Limit",deleteLimitTitle:"Delete limit",cancelScheduleTitle:"Cancel schedule",addLimitText:"Add monetary limit",limitWalletTypeLabel:"Wallet type"},"zh-hk":{noLimitToDisplay:"使用者尚未設定限額...",depositLimitHeader:"存款限額",lossLimitHeader:"損失限額",wageringLimitHeader:"押注限額",spentAmount:"花費金額",remainingAmount:"剩餘金額",limitPeriod:"限制期限",displayedProduct:"產品",futureLimit:"未來限額",additionalLink1:"最後存款交易詳情",additionalLink2:"期間交易",limitRemoved:"此限額已移除,有效期至",limitUpdated:"此限額將自以下日期開始生效",changeLimitLabel:"期限",futureAmount:"未來金額",limitTypeLabel:"限額類型",fetchLimitDefError:"無法獲取限額定義。",fetchLimitBalanceError:"無法獲取限額餘額。",invalidUrl:"無法構建 'URL':URL 無效",startLabel:"開始",resetLabel:"重設",infoLabel:"信息",walletLabel:"錢包",walletsLabel:"錢包",addLimitTitle:"新增限制",editLimitTitle:"編輯限制",deleteLimitTitle:"刪除限制",cancelScheduleTitle:"取消行程",addLimitText:"新增貨幣限額",limitWalletTypeLabel:"钱包类型"},de:{noLimitToDisplay:"Der Benutzer hat kein Limit festgelegt...",depositLimitHeader:"Einzahlungslimit",lossLimitHeader:"Verlustgrenze",wageringLimitHeader:"Wetteinsatzgrenze",spentAmount:"Ausgegebener Betrag",remainingAmount:"Verbleibender Betrag",limitPeriod:"Begrenzungszeitraum",displayedProduct:"Produkt",futureLimit:"Zukünftiges Limit",additionalLink1:"Details zur letzten Einzahlungstransaktion",additionalLink2:"Transaktionen im Zeitraum",limitRemoved:"Dieses Limit wurde entfernt und ist gültig bis",limitUpdated:"Dieses Limit wird ab dem folgenden Datum angewendet",changeLimitLabel:"Zeitraum",futureAmount:"Zukünftiger Betrag",limitTypeLabel:"Limit Typ",fetchLimitDefError:"Fehler beim Abrufen von Limitdefinitionen.",fetchLimitBalanceError:"Fehler beim Abrufen des Limitbetrags.",invalidUrl:"Fehler beim Erstellen der URL: Ungültige URL",startLabel:"Start",resetLabel:"Zurücksetzen",infoLabel:"Info",walletLabel:"Brieftasche",walletsLabel:"Brieftaschen",addLimitTitle:"Limit hinzufügen",editLimitTitle:"Limit bearbeiten",deleteLimitTitle:"Limit löschen",cancelScheduleTitle:"Zeitplan abbrechen",addLimitText:"Geldlimit hinzufügen",limitWalletTypeLabel:"Geldbörsentyp"},it:{noLimitToDisplay:"L'utente non ha impostato un limite...",depositLimitHeader:"Limite di deposito",lossLimitHeader:"Limite di perdita",wageringLimitHeader:"Limite di scommessa",spentAmount:"Importo speso",remainingAmount:"Importo residuo",limitPeriod:"Periodo limite",displayedProduct:"Prodotto",futureLimit:"Limite futuro",additionalLink1:"Dettagli della transazione dell'ultimo deposito",additionalLink2:"Deposito nel periodo",limitRemoved:"Questo limite è stato rimosso ed è valido fino a",limitUpdated:"Questo limite sarà applicato a partire da",changeLimitLabel:"Cambia limite",futureAmount:"Importo futuro",limitTypeLabel:"Tipo di limite",fetchLimitDefError:"Impossibile recuperare le definizioni di limite.",fetchLimitBalanceError:"Impossibile recuperare il saldo limite.",invalidUrl:"Impossibile costruire l'URL: URL non valido",startLabel:"Inizio",resetLabel:"Ripristina",infoLabel:"Info",walletLabel:"Portafoglio",walletsLabel:"Portafogli",addLimitTitle:"Aggiungi limite",editLimitTitle:"Modifica limite",deleteLimitTitle:"Elimina limite",cancelScheduleTitle:"Annulla pianificazione",addLimitText:"Aggiungi limite monetario",limitWalletTypeLabel:"Tipo di portafoglio"},fr:{noLimitToDisplay:"L'utilisateur n'a pas fixé de limite...",depositLimitHeader:"Limite de dépôt",lossLimitHeader:"Limite de perte",wageringLimitHeader:"Limite de mise",spentAmount:"Montant dépensé",remainingAmount:"Montant restant",limitPeriod:"Délai limite",displayedProduct:"Produit",futureLimit:"Limite future",additionalLink1:"Détails de la transaction du dernier dépôt",additionalLink2:"Dépôt en période",limitRemoved:"Cette limite a été supprimée et est valide jusqu'à",limitUpdated:"Cette limite sera appliquée à partir de",changeLimitLabel:"Changer de limite",futureAmount:"Montant futur",limitTypeLabel:"Type de limite",fetchLimitDefError:"Échec du téléchargement des définitions de limite.",fetchLimitBalanceError:"Échec du téléchargement du solde limite.",invalidUrl:"Échec de la construction de 'URL' : URL non valide",startLabel:"Démarrer",resetLabel:"Réinitialiser",infoLabel:"Info",walletLabel:"Portefeuille",walletsLabel:"Portefeuilles",addLimitTitle:"Ajouter une limite",editLimitTitle:"Modifier la limite",deleteLimitTitle:"Supprimer la limite",cancelScheduleTitle:"Annuler le planning",addLimitText:"Ajouter une limite monétaire",limitWalletTypeLabel:"Type de portefeuille"},es:{noLimitToDisplay:"El usuario no ha establecido un límite...",depositLimitHeader:"Límite de depósito",lossLimitHeader:"Límite de pérdida",wageringLimitHeader:"Límite de apuesta",spentAmount:"Monto gastado",remainingAmount:"Monto restante",limitPeriod:"Período de límite",displayedProduct:"Producto",futureLimit:"Límite futuro",additionalLink1:"Detalles de la última transacción de depósito",additionalLink2:"Depósito en el período",limitRemoved:"Este límite ha sido eliminado y es válido hasta",limitUpdated:"Este límite se aplicará a partir de",changeLimitLabel:"Cambiar límite",futureAmount:"Monto futuro",limitTypeLabel:"Tipo de límite",fetchLimitDefError:"Error al obtener definiciones de límite.",fetchLimitBalanceError:"Error al obtener el saldo del límite.",invalidUrl:"Error al construir 'URL': URL inválida",startLabel:"Comienzo",resetLabel:"Reiniciar",infoLabel:"Información",walletLabel:"Cartera",walletsLabel:"Carteras",addLimitTitle:"Agregar límite",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación",addLimitText:"Agregar límite monetario",limitWalletTypeLabel:"Tipo de billetera"},el:{noLimitToDisplay:"Ο χρήστης δεν έχει ορίσει όριο...",depositLimitHeader:"Όριο κατάθεσης",lossLimitHeader:"Όριο απώλειας",wageringLimitHeader:"Όριο στοίχημα",spentAmount:"Ποσό που έχει δαπανηθεί",remainingAmount:"Υπόλοιπο ποσό",limitPeriod:"Περίοδος ορίου",displayedProduct:"Προϊόν",futureLimit:"Μελλοντικό όριο",additionalLink1:"Λεπτομέρειες της τελευταίας συναλλαγής κατάθεσης",additionalLink2:"Καταθέσεις κατά την περίοδο",limitRemoved:"Αυτό το όριο έχει καταργηθεί και είναι έγκυρο μέχρι",limitUpdated:"Αυτό το όριο θα εφαρμοστεί από",changeLimitLabel:"Αλλαγή ορίου",futureAmount:"Μελλοντικό ποσό",limitTypeLabel:"Τύπος ορίου",fetchLimitDefError:"Αποτυχία λήψης ορισμών ορίου.",fetchLimitBalanceError:"Αποτυχία λήψης υπολοίπου ορίου.",invalidUrl:"Αποτυχία κατασκευής 'URL': Μη έγκυρη διεύθυνση URL",startLabel:"Έναρξη",resetLabel:"Επαναφορά",infoLabel:"Πληροφορίες",walletLabel:"Πορτοφόλι",walletsLabel:"Πορτοφόλια",addLimitTitle:"Προσθήκη ορίου",editLimitTitle:"Επεξεργασία ορίου",deleteLimitTitle:"Διαγραφή ορίου",cancelScheduleTitle:"Ακύρωση προγράμματος",addLimitText:"Προσθήκη νομισματικού ορίου",limitWalletTypeLabel:"Τύπος πορτοφολιού"},tr:{noLimitToDisplay:"Kullanıcı bir sınırlama belirlemedi...",depositLimitHeader:"Yatırım limiti",lossLimitHeader:"Kayıp limiti",wageringLimitHeader:"Bahis limiti",spentAmount:"Harcamış miktar",remainingAmount:"Kalan miktar",limitPeriod:"Limit süresi",displayedProduct:"Ürün",futureLimit:"Gelecek limit",additionalLink1:"Son yatırım işlemi detayları",additionalLink2:"Dönemdeki işlemler",limitRemoved:"Bu limit kaldırıldı ve geçerli",limitUpdated:"Bu limit aşağıdaki tarihte uygulanacaktır",changeLimitLabel:"Dönem",futureAmount:"Gelecek miktar",limitTypeLabel:"Limit türü",fetchLimitDefError:"Limit tanımları alınamadı.",fetchLimitBalanceError:"Limit bakiyesi alınamadı.",invalidUrl:"'URL' oluşturulamadı: Geçersiz URL",startLabel:"Başlangıç",resetLabel:"Sıfırla",infoLabel:"Bilgi",walletLabel:"Cüzdan",walletsLabel:"Cüzdanlar",addLimitTitle:"Sınır ekle",editLimitTitle:"Sınırı Düzenle",deleteLimitTitle:"Sınırı sil",cancelScheduleTitle:"Programı iptal et",addLimitText:"Para limiti ekle",limitWalletTypeLabel:"Cüzdan türü"},ru:{noLimitToDisplay:"Пользователь не установил лимит...",depositLimitHeader:"Лимит депозита",lossLimitHeader:"Лимит потерь",wageringLimitHeader:"Лимит ставок",spentAmount:"Потраченная сумма",remainingAmount:"Оставшаяся сумма",limitPeriod:"Период лимита",displayedProduct:"Продукт",futureLimit:"Будущий лимит",additionalLink1:"Детали последней транзакции депозита",additionalLink2:"Транзакции за период",limitRemoved:"Этот лимит был удален и действует до",limitUpdated:"Этот лимит будет применен с",changeLimitLabel:"Изменить лимит",futureAmount:"Будущая сумма",limitTypeLabel:"Тип лимита",fetchLimitDefError:"Не удалось получить определения лимита.",fetchLimitBalanceError:"Не удалось получить баланс лимита.",invalidUrl:"Не удалось построить 'URL': Недопустимый URL",startLabel:"Начало",resetLabel:"Сброс",infoLabel:"Информация",walletLabel:"Кошелек",walletsLabel:"Кошельки",addLimitTitle:"Добавить лимит",editLimitTitle:"Изменить лимит",deleteLimitTitle:"Удалить лимит",cancelScheduleTitle:"Отменить расписание",addLimitText:"Добавить денежный лимит",limitWalletTypeLabel:"Тип кошелька"},ro:{noLimitToDisplay:"Utilizatorul nu a setat nicio limită...",depositLimitHeader:"Limită de depunere",lossLimitHeader:"Limită de pierdere",wageringLimitHeader:"Limită de pariere",spentAmount:"Suma cheltuită",remainingAmount:"Suma rămasă",limitPeriod:"Perioadă limită",displayedProduct:"Produs",futureLimit:"Limită viitoare",additionalLink1:"Detalii ultima tranzacție de depunere",additionalLink2:"Tranzacții în perioadă",limitRemoved:"Această limită a fost eliminată și este validă până la",limitUpdated:"Această limită va fi aplicată începând cu",changeLimitLabel:"Schimbă limita",futureAmount:"Suma viitoare",limitTypeLabel:"Tipul limitei",fetchLimitDefError:"Eșec la preluarea definițiilor de limită.",fetchLimitBalanceError:"Eșec la preluarea balanței limitelor.",invalidUrl:"Eșec la construirea 'URL-ului': URL invalid",startLabel:"Start",resetLabel:"Resetare",infoLabel:"Info",walletLabel:"Portofel",walletsLabel:"Portofele",addLimitTitle:"Adăugați limită",editLimitTitle:"Editați limita",deleteLimitTitle:"Ștergeți limita",cancelScheduleTitle:"Anulați programul",addLimitText:"Adăugați o limită monetară",limitWalletTypeLabel:"Tip portofel"},hr:{noLimitToDisplay:"Korisnik nije postavio limit...",depositLimitHeader:"Limit uplate",lossLimitHeader:"Limit gubitka",wageringLimitHeader:"Limit klađenja",spentAmount:"Potrošeni iznos",remainingAmount:"Preostali iznos",limitPeriod:"Period limita",displayedProduct:"Proizvod",futureLimit:"Budući limit",additionalLink1:"Detalji posljednje transakcije uplate",additionalLink2:"Transakcije u periodu",limitRemoved:"Ovaj limit je uklonjen i važi do",limitUpdated:"Ovaj limit će biti primijenjen počevši od",changeLimitLabel:"Promijeni limit",futureAmount:"Budući iznos",limitTypeLabel:"Vrsta limita",fetchLimitDefError:"Nije uspjelo preuzimanje definicija limita.",fetchLimitBalanceError:"Nije uspjelo preuzimanje stanja limita.",invalidUrl:"Nije uspjelo konstruiranje 'URL'-a: Nevaljan URL",startLabel:"Početak",resetLabel:"Resetiraj",infoLabel:"Informacije",walletLabel:"Novčanik",walletsLabel:"Novčanici",addLimitTitle:"Dodaj ograničenje",editLimitTitle:"Uredi ograničenje",deleteLimitTitle:"Ograničenje brisanja",cancelScheduleTitle:"Otkaži raspored",addLimitText:"Dodaj novčani limit",limitWalletTypeLabel:"Vrsta novčanika"},hu:{noLimitToDisplay:"A felhasználó nem állított be korlátot...",depositLimitHeader:"Befizetési limit",lossLimitHeader:"Veszteségkorlát",wageringLimitHeader:"Tétlimit",spentAmount:"Elköltött összeg",remainingAmount:"Fennmaradó összeg",limitPeriod:"Korlát időtartama",displayedProduct:"Termék",futureLimit:"Jövőbeli limit",additionalLink1:"Legutóbbi befizetési tranzakció részletei",additionalLink2:"Tranzakciók időszakban",limitRemoved:"Ez a korlát eltávolításra került és érvényes",limitUpdated:"Ez a korlát alkalmazásra kerül a következőtől",changeLimitLabel:"Korlát módosítása",futureAmount:"Jövőbeli összeg",limitTypeLabel:"Korlát típusa",fetchLimitDefError:"Nem sikerült letölteni a korlát definíciókat.",fetchLimitBalanceError:"Nem sikerült letölteni a korlát egyenlegét.",invalidUrl:"Nem sikerült létrehozni az 'URL'-t: Érvénytelen URL",startLabel:"Indítás",resetLabel:"Visszaállítás",infoLabel:"Információ",walletLabel:"Pénztárca",walletsLabel:"Pénztárcák",addLimitTitle:"Korlát hozzáadása",editLimitTitle:"Korlát szerkesztése",deleteLimitTitle:"Korlát törlése",cancelScheduleTitle:"Ütemezés törlése",addLimitText:"Pénzösszeg hozzáadása",limitWalletTypeLabel:"Pénztárca típusa"},pl:{noLimitToDisplay:"Użytkownik nie ustawił limitu...",depositLimitHeader:"Limit depozytu",lossLimitHeader:"Limit strat",wageringLimitHeader:"Limit zakładów",spentAmount:"Wydana kwota",remainingAmount:"Pozostała kwota",limitPeriod:"Okres limitu",displayedProduct:"Produkt",futureLimit:"Przyszły limit",additionalLink1:"Szczegóły ostatniej transakcji depozytowej",additionalLink2:"Transakcje w okresie",limitRemoved:"Ten limit został usunięty i jest ważny do",limitUpdated:"Ten limit będzie obowiązywać począwszy od",changeLimitLabel:"Zmień limit",futureAmount:"Przyszła kwota",limitTypeLabel:"Typ limitu",fetchLimitDefError:"Nie udało się pobrać definicji limitu.",fetchLimitBalanceError:"Nie udało się pobrać salda limitu.",invalidUrl:"Nie udało się skonstruować 'URL': Nieprawidłowy URL",startLabel:"Start",resetLabel:"Resetuj",infoLabel:"Informacje",walletLabel:"Portfel",walletsLabel:"Portfele",addLimitTitle:"Dodaj limit",editLimitTitle:"Limit edycji",deleteLimitTitle:"Usuń limit",cancelScheduleTitle:"Anuluj harmonogram",addLimitText:"Dodaj limit pieniężny",limitWalletTypeLabel:"Typ portfela"},pt:{noLimitToDisplay:"O usuário não definiu um limite...",depositLimitHeader:"Limite de depósito",lossLimitHeader:"Limite de perdas",wageringLimitHeader:"Limite de apostas",spentAmount:"Valor gasto",remainingAmount:"Valor restante",limitPeriod:"Período do limite",displayedProduct:"Produto",futureLimit:"Limite futuro",additionalLink1:"Detalhes da última transação de depósito",additionalLink2:"Transações no período",limitRemoved:"Este limite foi removido e é válido até",limitUpdated:"Este limite será aplicado a partir de",changeLimitLabel:"Alterar limite",futureAmount:"Valor futuro",limitTypeLabel:"Tipo de limite",fetchLimitDefError:"Falha ao buscar definições de limite.",fetchLimitBalanceError:"Falha ao buscar saldo do limite.",invalidUrl:"Falha ao construir 'URL': URL inválida",startLabel:"Iniciar",resetLabel:"Redefinir",infoLabel:"Informação",walletLabel:"Carteira",walletsLabel:"Carteiras",addLimitTitle:"Adicionar limite",editLimitTitle:"Editar Limite",deleteLimitTitle:"Excluir limite",cancelScheduleTitle:"Cancelar agendamento",addLimitText:"Adicionar limite monetário",limitWalletTypeLabel:"Tipo de carteira"},sl:{noLimitToDisplay:"Uporabnik ni določil omejitve...",depositLimitHeader:"Omejitev pologa",lossLimitHeader:"Omejitev izgub",wageringLimitHeader:"Omejitev stav",spentAmount:"Porabljen znesek",remainingAmount:"Preostali znesek",limitPeriod:"Obdobje omejitve",displayedProduct:"Izdelek",futureLimit:"Prihodnja omejitev",additionalLink1:"Podrobnosti zadnje transakcije pologa",additionalLink2:"Transakcije v obdobju",limitRemoved:"Ta omejitev je bila odstranjena in velja do",limitUpdated:"Ta omejitev bo veljavna od",changeLimitLabel:"Spremeni omejitev",futureAmount:"Prihodnji znesek",limitTypeLabel:"Vrsta omejitve",fetchLimitDefError:"Pridobivanje definicij omejitev ni uspelo.",fetchLimitBalanceError:"Pridobivanje stanja omejitev ni uspelo.",invalidUrl:"Izgradnja 'URL'-ja ni uspela: Neveljaven URL",startLabel:"Začni",resetLabel:"Ponastavi",infoLabel:"Informacije",walletLabel:"Denarnica",walletsLabel:"Denarnice",addLimitTitle:"Dodaj omejitev",editLimitTitle:"Uredi omejitev",deleteLimitTitle:"Omejitev brisanja",cancelScheduleTitle:"Prekliči razpored",addLimitText:"Dodaj denarno omejitev",limitWalletTypeLabel:"Vrsta denarnice"},sr:{noLimitToDisplay:"Korisnik nije postavio limit...",depositLimitHeader:"Limit depozita",lossLimitHeader:"Limit gubitka",wageringLimitHeader:"Limit klađenja",spentAmount:"Potrošeni iznos",remainingAmount:"Preostali iznos",limitPeriod:"Period limita",displayedProduct:"Proizvod",futureLimit:"Budući limit",additionalLink1:"Detalji poslednje transakcije depozita",additionalLink2:"Transakcije u periodu",limitRemoved:"Ovaj limit je uklonjen i važi do",limitUpdated:"Ovaj limit će se primeniti počevši od",changeLimitLabel:"Promeni limit",futureAmount:"Budući iznos",limitTypeLabel:"Vrsta limita",fetchLimitDefError:"Neuspeh u dobavljanju definicija limita.",fetchLimitBalanceError:"Neuspeh u dobavljanju stanja limita.",invalidUrl:"Neuspeh u konstrukciji 'URL'-a: Neispravan URL",startLabel:"Početak",resetLabel:"Resetuj",infoLabel:"Informacije",walletLabel:"Novčanik",walletsLabel:"Novčanici",addLimitTitle:"Додај ограничење",editLimitTitle:"Ограничење уређивања",deleteLimitTitle:"Избриши ограничење",cancelScheduleTitle:"Откажи распоред",addLimitText:"Додај новчано ограничење",limitWalletTypeLabel:"Тип новчаника"},"es-mx":{noLimitToDisplay:"El usuario no ha establecido un límite...",depositLimitHeader:"Límite de depósito",lossLimitHeader:"Límite de pérdida",wageringLimitHeader:"Límite de apuesta",spentAmount:"Monto gastado",remainingAmount:"Monto restante",limitPeriod:"Período de límite",displayedProduct:"Producto",futureLimit:"Límite futuro",additionalLink1:"Detalles de la última transacción de depósito",additionalLink2:"Transacciones en el período",limitRemoved:"Este límite ha sido eliminado y es válido hasta",limitUpdated:"Este límite se aplicará a partir de",changeLimitLabel:"Cambiar límite",futureAmount:"Monto futuro",limitTypeLabel:"Tipo de límite",fetchLimitDefError:"Error al obtener definiciones de límite.",fetchLimitBalanceError:"Error al obtener el saldo del límite.",invalidUrl:"Error al construir 'URL': URL inválida",startLabel:"Inicio",resetLabel:"Reiniciar",infoLabel:"Información",walletLabel:"Cartera",walletsLabel:"Carteras",addLimitTitle:"Agregar límite",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación",addLimitText:"Agregar límite monetario",limitWalletTypeLabel:"Tipo de billetera"},"pt-br":{noLimitToDisplay:"O usuário não definiu um limite...",depositLimitHeader:"Limite de depósito",lossLimitHeader:"Limite de perda",wageringLimitHeader:"Limite de apostas",spentAmount:"Valor gasto",remainingAmount:"Valor restante",limitPeriod:"Período de limite",displayedProduct:"Produto",futureLimit:"Limite futuro",additionalLink1:"Detalhes da última transação de depósito",additionalLink2:"Transações no período",limitRemoved:"Este limite foi removido e é válido até",limitUpdated:"Este limite será aplicado a partir de",changeLimitLabel:"Alterar limite",futureAmount:"Valor futuro",limitTypeLabel:"Tipo de limite",fetchLimitDefError:"Falha ao buscar definições de limite.",fetchLimitBalanceError:"Falha ao buscar saldo do limite.",invalidUrl:"Falha ao construir 'URL': URL inválida",startLabel:"Iniciar",resetLabel:"Redefinir",infoLabel:"Informação",walletLabel:"Carteira",walletsLabel:"Carteiras",addLimitTitle:"Agregar límite",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación",addLimitText:"Agregar límite monetario",limitWalletTypeLabel:"Tipo de carteira"}},mt="__WIDGET_GLOBAL_STYLE_CACHE__";function gs(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function bs(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then(r=>r.text()).then(r=>{const n=document.createElement("style");n.innerHTML=r,e&&e.appendChild(n)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function vs(e,t,i,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return i=Ls(e,t),i;window[mt]||(window[mt]={}),i=ys(e,t);const a=i.unsubscribe.bind(i),o=()=>{if(window[mt][t]){const l=window[mt][t];l.refCount>1?l.refCount=l.refCount-1:delete window[mt][t]}a()};return i.unsubscribe=o,i}function Ls(e,t){const i=document.createElement("style");return window.emMessageBus.subscribe(t,r=>{e&&(i.innerHTML=r,e.appendChild(i))})}function ys(e,t){return window.emMessageBus.subscribe(t,i=>{if(!e)return;const r=e.getRootNode(),n=window[mt];let a=n[t]&&n[t].sheet;a?n[t].refCount=n[t].refCount+1:(a=new CSSStyleSheet,a.replaceSync(i),n[t]={sheet:a,refCount:1});const o=r.adoptedStyleSheets||[];o.includes(a)||(r.adoptedStyleSheets=[...o,a])})}const ws=`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 386 193" fill="none">
|
|
4
4
|
<path d="M4 193a189 189 0 0 1 379 0" stroke="url(#a)" stroke-width="6" stroke-dasharray="2 2"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import "../stencil/ui-skeleton-COR_76lv.js";
|
|
2
2
|
function me() {
|
|
3
3
|
}
|
|
4
4
|
function an(e) {
|
|
@@ -42,8 +42,7 @@ function In(e, t, i) {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
function jn(e) {
|
|
45
|
-
if (!e)
|
|
46
|
-
return document;
|
|
45
|
+
if (!e) return document;
|
|
47
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
48
47
|
return t && /** @type {ShadowRoot} */
|
|
49
48
|
t.host ? (
|
|
@@ -202,8 +201,7 @@ function Ft(e) {
|
|
|
202
201
|
Gt = e;
|
|
203
202
|
}
|
|
204
203
|
function Vn() {
|
|
205
|
-
if (!Gt)
|
|
206
|
-
throw new Error("Function called outside component initialization");
|
|
204
|
+
if (!Gt) throw new Error("Function called outside component initialization");
|
|
207
205
|
return Gt;
|
|
208
206
|
}
|
|
209
207
|
function qn(e) {
|
|
@@ -234,8 +232,7 @@ function Z() {
|
|
|
234
232
|
} catch (t) {
|
|
235
233
|
throw ht.length = 0, ut = 0, t;
|
|
236
234
|
}
|
|
237
|
-
for (Ft(null), ht.length = 0, ut = 0; Gi.length; )
|
|
238
|
-
Gi.pop()();
|
|
235
|
+
for (Ft(null), ht.length = 0, ut = 0; Gi.length; ) Gi.pop()();
|
|
239
236
|
for (let t = 0; t < mt.length; t += 1) {
|
|
240
237
|
const i = mt[t];
|
|
241
238
|
Di.has(i) || (Di.add(i), i());
|
|
@@ -1641,11 +1638,9 @@ function $a(e, t) {
|
|
|
1641
1638
|
function Va(e) {
|
|
1642
1639
|
return function(t) {
|
|
1643
1640
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = t.match(e.matchPattern);
|
|
1644
|
-
if (!r)
|
|
1645
|
-
return null;
|
|
1641
|
+
if (!r) return null;
|
|
1646
1642
|
var n = r[0], a = t.match(e.parsePattern);
|
|
1647
|
-
if (!a)
|
|
1648
|
-
return null;
|
|
1643
|
+
if (!a) return null;
|
|
1649
1644
|
var o = e.valueCallback ? e.valueCallback(a[0]) : a[0];
|
|
1650
1645
|
o = i.valueCallback ? i.valueCallback(o) : o;
|
|
1651
1646
|
var l = t.slice(n.length);
|
|
@@ -1937,8 +1932,7 @@ var zi = function(e, t) {
|
|
|
1937
1932
|
return zi = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
1938
1933
|
i.__proto__ = r;
|
|
1939
1934
|
} || function(i, r) {
|
|
1940
|
-
for (var n in r)
|
|
1941
|
-
Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
|
|
1935
|
+
for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
|
|
1942
1936
|
}, zi(e, t);
|
|
1943
1937
|
};
|
|
1944
1938
|
function Ti(e, t) {
|
|
@@ -1954,25 +1948,22 @@ var Ee = function() {
|
|
|
1954
1948
|
return Ee = Object.assign || function(t) {
|
|
1955
1949
|
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
1956
1950
|
i = arguments[r];
|
|
1957
|
-
for (var a in i)
|
|
1958
|
-
Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
1951
|
+
for (var a in i) Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
1959
1952
|
}
|
|
1960
1953
|
return t;
|
|
1961
1954
|
}, Ee.apply(this, arguments);
|
|
1962
1955
|
};
|
|
1963
1956
|
function Mo(e, t) {
|
|
1964
1957
|
var i = {};
|
|
1965
|
-
for (var r in e)
|
|
1966
|
-
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
|
|
1958
|
+
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
|
|
1967
1959
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1968
1960
|
for (var n = 0, r = Object.getOwnPropertySymbols(e); n < r.length; n++)
|
|
1969
1961
|
t.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[n]) && (i[r[n]] = e[r[n]]);
|
|
1970
1962
|
return i;
|
|
1971
1963
|
}
|
|
1972
1964
|
function Ui(e, t, i) {
|
|
1973
|
-
if (i || arguments.length === 2)
|
|
1974
|
-
|
|
1975
|
-
(a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
|
|
1965
|
+
if (i || arguments.length === 2) for (var r = 0, n = t.length, a; r < n; r++)
|
|
1966
|
+
(a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
|
|
1976
1967
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
1977
1968
|
}
|
|
1978
1969
|
function Ri(e, t) {
|
|
@@ -2027,8 +2018,7 @@ var Ro = function() {
|
|
|
2027
2018
|
return vi = Object.assign || function(t) {
|
|
2028
2019
|
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
2029
2020
|
i = arguments[r];
|
|
2030
|
-
for (var a in i)
|
|
2031
|
-
Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
2021
|
+
for (var a in i) Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
2032
2022
|
}
|
|
2033
2023
|
return t;
|
|
2034
2024
|
}, vi.apply(this, arguments);
|
|
@@ -2174,8 +2164,7 @@ var X = function() {
|
|
|
2174
2164
|
return X = Object.assign || function(t) {
|
|
2175
2165
|
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
2176
2166
|
i = arguments[r];
|
|
2177
|
-
for (var a in i)
|
|
2178
|
-
Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
2167
|
+
for (var a in i) Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
2179
2168
|
}
|
|
2180
2169
|
return t;
|
|
2181
2170
|
}, X.apply(this, arguments);
|
|
@@ -3817,8 +3806,7 @@ function Qo(e, t) {
|
|
|
3817
3806
|
i += d;
|
|
3818
3807
|
for (; o-- > 0; )
|
|
3819
3808
|
i = u + i;
|
|
3820
|
-
} else
|
|
3821
|
-
n === "J" ? i += "H" : i += n;
|
|
3809
|
+
} else n === "J" ? i += "H" : i += n;
|
|
3822
3810
|
}
|
|
3823
3811
|
return i;
|
|
3824
3812
|
}
|
|
@@ -4421,8 +4409,7 @@ function Qi(e) {
|
|
|
4421
4409
|
if (delete t.location, vn(t) || Ln(t))
|
|
4422
4410
|
for (var i in t.options)
|
|
4423
4411
|
delete t.options[i].location, Qi(t.options[i].value);
|
|
4424
|
-
else
|
|
4425
|
-
pn(t) && wn(t.style) || (gn(t) || bn(t)) && $i(t.style) ? delete t.style.location : yn(t) && Qi(t.children);
|
|
4412
|
+
else pn(t) && wn(t.style) || (gn(t) || bn(t)) && $i(t.style) ? delete t.style.location : yn(t) && Qi(t.children);
|
|
4426
4413
|
});
|
|
4427
4414
|
}
|
|
4428
4415
|
function pl(e, t) {
|
|
@@ -5647,8 +5634,7 @@ function ns(e, t) {
|
|
|
5647
5634
|
}
|
|
5648
5635
|
}
|
|
5649
5636
|
function as(e, t) {
|
|
5650
|
-
if (!e || !t)
|
|
5651
|
-
return;
|
|
5637
|
+
if (!e || !t) return;
|
|
5652
5638
|
const i = new URL(t);
|
|
5653
5639
|
fetch(i.href).then((r) => r.text()).then((r) => {
|
|
5654
5640
|
const n = document.createElement("style");
|
|
@@ -5658,8 +5644,7 @@ function as(e, t) {
|
|
|
5658
5644
|
});
|
|
5659
5645
|
}
|
|
5660
5646
|
function os(e, t, i, r = !1) {
|
|
5661
|
-
if (!window.emMessageBus)
|
|
5662
|
-
return;
|
|
5647
|
+
if (!window.emMessageBus) return;
|
|
5663
5648
|
if (!("adoptedStyleSheets" in Document.prototype) || !r)
|
|
5664
5649
|
return i = ls(e, t), i;
|
|
5665
5650
|
window[ft] || (window[ft] = {}), i = ss(e, t);
|
|
@@ -5680,8 +5665,7 @@ function ls(e, t) {
|
|
|
5680
5665
|
}
|
|
5681
5666
|
function ss(e, t) {
|
|
5682
5667
|
return window.emMessageBus.subscribe(t, (i) => {
|
|
5683
|
-
if (!e)
|
|
5684
|
-
return;
|
|
5668
|
+
if (!e) return;
|
|
5685
5669
|
const r = e.getRootNode(), n = window[ft];
|
|
5686
5670
|
let a = n[t] && n[t].sheet;
|
|
5687
5671
|
a ? n[t].refCount = n[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(i), n[t] = {
|
|
@@ -6322,13 +6306,11 @@ function zr(e) {
|
|
|
6322
6306
|
if (
|
|
6323
6307
|
/*transdetailsurl*/
|
|
6324
6308
|
a[1]
|
|
6325
|
-
)
|
|
6326
|
-
return Es;
|
|
6309
|
+
) return Es;
|
|
6327
6310
|
if (
|
|
6328
6311
|
/*transactionspageurl*/
|
|
6329
6312
|
a[2]
|
|
6330
|
-
)
|
|
6331
|
-
return Ts;
|
|
6313
|
+
) return Ts;
|
|
6332
6314
|
}
|
|
6333
6315
|
let r = i(e), n = r && r(e);
|
|
6334
6316
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerRglimits-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerRglimits-D7vDTfM9.cjs")).then(({default:t})=>{!customElements.get("player-rglimits")&&customElements.define("player-rglimits",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerRglimits-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerRglimits-CFO_50TB.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-rglimits") && customElements.define("player-rglimits", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@ var $e = Object.defineProperty, ce = (e, t) => {
|
|
|
26
26
|
case "ui-skeleton":
|
|
27
27
|
return import(
|
|
28
28
|
/* webpackMode: "lazy" */
|
|
29
|
-
"./ui-skeleton-
|
|
29
|
+
"./ui-skeleton-COR_76lv.js"
|
|
30
30
|
).then(l, E);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -151,8 +151,7 @@ var Se = (e) => {
|
|
|
151
151
|
}
|
|
152
152
|
t.$flags$ & 4 && (i.innerHTML += G), l && l.add(n);
|
|
153
153
|
}
|
|
154
|
-
} else
|
|
155
|
-
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
154
|
+
} else e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
156
155
|
return n;
|
|
157
156
|
}, Le = (e) => {
|
|
158
157
|
const t = e.$cmpMeta$, r = e.$hostElement$, s = S("attachStyles", t.$tagName$);
|
|
@@ -42,7 +42,7 @@ var ce = Object.defineProperty, ue = (e, t) => {
|
|
|
42
42
|
case "ui-skeleton":
|
|
43
43
|
return import(
|
|
44
44
|
/* webpackMode: "lazy" */
|
|
45
|
-
"./ui-skeleton-
|
|
45
|
+
"./ui-skeleton-BjsoPeRQ.js"
|
|
46
46
|
).then(l, E);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -167,8 +167,7 @@ var be = (e) => {
|
|
|
167
167
|
}
|
|
168
168
|
t.$flags$ & 4 && (o.innerHTML += J), l && l.add(n);
|
|
169
169
|
}
|
|
170
|
-
} else
|
|
171
|
-
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
170
|
+
} else e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
172
171
|
return n;
|
|
173
172
|
}, Oe = (e) => {
|
|
174
173
|
const t = e.$cmpMeta$, s = e.$hostElement$, r = S("attachStyles", t.$tagName$);
|
|
@@ -14,9 +14,9 @@ var n = (t, e, o) => new Promise((m, s) => {
|
|
|
14
14
|
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(u, g);
|
|
15
15
|
a((o = o.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as p, p as l } from "./index-b2193545-
|
|
17
|
+
import { b as p, p as l } from "./index-b2193545-OkT1QrQq.js";
|
|
18
18
|
import { g as h } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
19
|
-
import { U as k } from "./ui-skeleton-ed169f8f-
|
|
19
|
+
import { U as k } from "./ui-skeleton-ed169f8f-BJHdC-wv.js";
|
|
20
20
|
var c = () => {
|
|
21
21
|
const t = import.meta.url, e = {};
|
|
22
22
|
return t !== "" && (e.resourcesUrl = new URL(".", t).href), l(e);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as e, p as o } from "./index-b2193545-
|
|
1
|
+
import { b as e, p as o } from "./index-b2193545-D9zpmD3Q.js";
|
|
2
2
|
import { g as a } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
3
|
-
import { U as g } from "./ui-skeleton-ed169f8f-
|
|
3
|
+
import { U as g } from "./ui-skeleton-ed169f8f-Df2MlRR-.js";
|
|
4
4
|
var i = () => {
|
|
5
5
|
const r = import.meta.url, t = {};
|
|
6
6
|
return r !== "" && (t.resourcesUrl = new URL(".", r).href), o(t);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as n, h as t, H as r } from "./index-b2193545-
|
|
1
|
+
import { r as n, h as t, H as r } from "./index-b2193545-OkT1QrQq.js";
|
|
2
2
|
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
n(this, e), this.stylingValue = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as n, h as t, H as r } from "./index-b2193545-
|
|
1
|
+
import { r as n, h as t, H as r } from "./index-b2193545-D9zpmD3Q.js";
|
|
2
2
|
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
n(this, e), this.stylingValue = {
|