@everymatrix/casino-promotions-nd 1.99.57 → 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.
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-skeleton-W50o8tfg.js";
1
+ import "../stencil/ui-skeleton-COR_76lv.js";
2
2
  function te() {
3
3
  }
4
4
  function Cr(e) {
@@ -60,8 +60,7 @@ function Ar(e, t, o) {
60
60
  }
61
61
  }
62
62
  function ti(e) {
63
- if (!e)
64
- return document;
63
+ if (!e) return document;
65
64
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
66
65
  return t && /** @type {ShadowRoot} */
67
66
  t.host ? (
@@ -162,8 +161,7 @@ function Ze(e) {
162
161
  Qe = e;
163
162
  }
164
163
  function si() {
165
- if (!Qe)
166
- throw new Error("Function called outside component initialization");
164
+ if (!Qe) throw new Error("Function called outside component initialization");
167
165
  return Qe;
168
166
  }
169
167
  function li(e) {
@@ -197,8 +195,7 @@ function D() {
197
195
  } catch (t) {
198
196
  throw Oe.length = 0, He = 0, t;
199
197
  }
200
- for (Ze(null), Oe.length = 0, He = 0; ve.length; )
201
- ve.pop()();
198
+ for (Ze(null), Oe.length = 0, He = 0; ve.length; ) ve.pop()();
202
199
  for (let t = 0; t < Ne.length; t += 1) {
203
200
  const o = Ne[t];
204
201
  Bt.has(o) || (Bt.add(o), o());
@@ -238,13 +235,11 @@ function _e(e, t) {
238
235
  }
239
236
  function ke(e, t, o, r) {
240
237
  if (e && e.o) {
241
- if (lt.has(e))
242
- return;
238
+ if (lt.has(e)) return;
243
239
  lt.add(e), Te.c.push(() => {
244
240
  lt.delete(e), r && (o && e.d(1), r());
245
241
  }), e.o(t);
246
- } else
247
- r && r();
242
+ } else r && r();
248
243
  }
249
244
  function W(e) {
250
245
  return e?.length !== void 0 ? e : Array.from(e);
@@ -668,8 +663,7 @@ var Rt = function(e, t) {
668
663
  return Rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(o, r) {
669
664
  o.__proto__ = r;
670
665
  } || function(o, r) {
671
- for (var n in r)
672
- Object.prototype.hasOwnProperty.call(r, n) && (o[n] = r[n]);
666
+ for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (o[n] = r[n]);
673
667
  }, Rt(e, t);
674
668
  };
675
669
  function gt(e, t) {
@@ -685,25 +679,22 @@ var ce = function() {
685
679
  return ce = Object.assign || function(t) {
686
680
  for (var o, r = 1, n = arguments.length; r < n; r++) {
687
681
  o = arguments[r];
688
- for (var i in o)
689
- Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
682
+ for (var i in o) Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
690
683
  }
691
684
  return t;
692
685
  }, ce.apply(this, arguments);
693
686
  };
694
687
  function Pi(e, t) {
695
688
  var o = {};
696
- for (var r in e)
697
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (o[r] = e[r]);
689
+ for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (o[r] = e[r]);
698
690
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
699
691
  for (var n = 0, r = Object.getOwnPropertySymbols(e); n < r.length; n++)
700
692
  t.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[n]) && (o[r[n]] = e[r[n]]);
701
693
  return o;
702
694
  }
703
695
  function At(e, t, o) {
704
- if (o || arguments.length === 2)
705
- for (var r = 0, n = t.length, i; r < n; r++)
706
- (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
696
+ if (o || arguments.length === 2) for (var r = 0, n = t.length, i; r < n; r++)
697
+ (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
707
698
  return e.concat(i || Array.prototype.slice.call(t));
708
699
  }
709
700
  function Pt(e, t) {
@@ -758,8 +749,7 @@ var Ni = function() {
758
749
  return ht = Object.assign || function(t) {
759
750
  for (var o, r = 1, n = arguments.length; r < n; r++) {
760
751
  o = arguments[r];
761
- for (var i in o)
762
- Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
752
+ for (var i in o) Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
763
753
  }
764
754
  return t;
765
755
  }, ht.apply(this, arguments);
@@ -905,8 +895,7 @@ var Z = function() {
905
895
  return Z = Object.assign || function(t) {
906
896
  for (var o, r = 1, n = arguments.length; r < n; r++) {
907
897
  o = arguments[r];
908
- for (var i in o)
909
- Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
898
+ for (var i in o) Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
910
899
  }
911
900
  return t;
912
901
  }, Z.apply(this, arguments);
@@ -2548,8 +2537,7 @@ function qi(e, t) {
2548
2537
  o += a;
2549
2538
  for (; s-- > 0; )
2550
2539
  o = u + o;
2551
- } else
2552
- n === "J" ? o += "H" : o += n;
2540
+ } else n === "J" ? o += "H" : o += n;
2553
2541
  }
2554
2542
  return o;
2555
2543
  }
@@ -3152,8 +3140,7 @@ function Vt(e) {
3152
3140
  if (delete t.location, Xr(t) || $r(t))
3153
3141
  for (var o in t.options)
3154
3142
  delete t.options[o].location, Vt(t.options[o].value);
3155
- else
3156
- zr(t) && Zr(t.style) || (Vr(t) || Wr(t)) && Dt(t.style) ? delete t.style.location : qr(t) && Vt(t.children);
3143
+ else zr(t) && Zr(t.style) || (Vr(t) || Wr(t)) && Dt(t.style) ? delete t.style.location : qr(t) && Vt(t.children);
3157
3144
  });
3158
3145
  }
3159
3146
  function ps(e, t) {
@@ -3816,8 +3803,7 @@ var $t = function(e, t) {
3816
3803
  return $t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(o, r) {
3817
3804
  o.__proto__ = r;
3818
3805
  } || function(o, r) {
3819
- for (var n in r)
3820
- Object.prototype.hasOwnProperty.call(r, n) && (o[n] = r[n]);
3806
+ for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (o[n] = r[n]);
3821
3807
  }, $t(e, t);
3822
3808
  };
3823
3809
  function et(e, t) {
@@ -3831,40 +3817,34 @@ function et(e, t) {
3831
3817
  }
3832
3818
  function qt(e) {
3833
3819
  var t = typeof Symbol == "function" && Symbol.iterator, o = t && e[t], r = 0;
3834
- if (o)
3835
- return o.call(e);
3836
- if (e && typeof e.length == "number")
3837
- return {
3838
- next: function() {
3839
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
3840
- }
3841
- };
3820
+ if (o) return o.call(e);
3821
+ if (e && typeof e.length == "number") return {
3822
+ next: function() {
3823
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
3824
+ }
3825
+ };
3842
3826
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3843
3827
  }
3844
3828
  function Zt(e, t) {
3845
3829
  var o = typeof Symbol == "function" && e[Symbol.iterator];
3846
- if (!o)
3847
- return e;
3830
+ if (!o) return e;
3848
3831
  var r = o.call(e), n, i = [], s;
3849
3832
  try {
3850
- for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; )
3851
- i.push(n.value);
3833
+ for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; ) i.push(n.value);
3852
3834
  } catch (l) {
3853
3835
  s = { error: l };
3854
3836
  } finally {
3855
3837
  try {
3856
3838
  n && !n.done && (o = r.return) && o.call(r);
3857
3839
  } finally {
3858
- if (s)
3859
- throw s.error;
3840
+ if (s) throw s.error;
3860
3841
  }
3861
3842
  }
3862
3843
  return i;
3863
3844
  }
3864
3845
  function Qt(e, t, o) {
3865
- if (arguments.length === 2)
3866
- for (var r = 0, n = t.length, i; r < n; r++)
3867
- (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
3846
+ if (arguments.length === 2) for (var r = 0, n = t.length, i; r < n; r++)
3847
+ (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
3868
3848
  return e.concat(i || t);
3869
3849
  }
3870
3850
  function ge(e) {
@@ -3913,8 +3893,7 @@ var wt = function() {
3913
3893
  try {
3914
3894
  a && !a.done && (o = l.return) && o.call(l);
3915
3895
  } finally {
3916
- if (t)
3917
- throw t.error;
3896
+ if (t) throw t.error;
3918
3897
  }
3919
3898
  }
3920
3899
  else
@@ -3944,8 +3923,7 @@ var wt = function() {
3944
3923
  try {
3945
3924
  g && !g.done && (n = d.return) && n.call(d);
3946
3925
  } finally {
3947
- if (r)
3948
- throw r.error;
3926
+ if (r) throw r.error;
3949
3927
  }
3950
3928
  }
3951
3929
  }
@@ -4212,8 +4190,7 @@ var ml = fn(function(e) {
4212
4190
  try {
4213
4191
  l && !l.done && (i = s.return) && i.call(s);
4214
4192
  } finally {
4215
- if (n)
4216
- throw n.error;
4193
+ if (n) throw n.error;
4217
4194
  }
4218
4195
  }
4219
4196
  }
@@ -4528,8 +4505,7 @@ function bl(e, t) {
4528
4505
  }
4529
4506
  }
4530
4507
  function vl(e, t) {
4531
- if (!e || !t)
4532
- return;
4508
+ if (!e || !t) return;
4533
4509
  const o = new URL(t);
4534
4510
  fetch(o.href).then((r) => r.text()).then((r) => {
4535
4511
  const n = document.createElement("style");
@@ -4539,8 +4515,7 @@ function vl(e, t) {
4539
4515
  });
4540
4516
  }
4541
4517
  function yl(e, t, o, r = !1) {
4542
- if (!window.emMessageBus)
4543
- return;
4518
+ if (!window.emMessageBus) return;
4544
4519
  if (!("adoptedStyleSheets" in Document.prototype) || !r)
4545
4520
  return o = wl(e, t), o;
4546
4521
  window[Ie] || (window[Ie] = {}), o = El(e, t);
@@ -4561,8 +4536,7 @@ function wl(e, t) {
4561
4536
  }
4562
4537
  function El(e, t) {
4563
4538
  return window.emMessageBus.subscribe(t, (o) => {
4564
- if (!e)
4565
- return;
4539
+ if (!e) return;
4566
4540
  const r = e.getRootNode(), n = window[Ie];
4567
4541
  let i = n[t] && n[t].sheet;
4568
4542
  i ? n[t].refCount = n[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(o), n[t] = {
@@ -4666,12 +4640,10 @@ function Pl(e, t, o) {
4666
4640
  })).filter((n) => n.promotions.length > 0);
4667
4641
  }
4668
4642
  function Hl(e, t, o, r) {
4669
- if (!r(e) || t !== ie && !(e.categories || []).includes(t))
4670
- return !1;
4643
+ if (!r(e) || t !== ie && !(e.categories || []).includes(t)) return !1;
4671
4644
  if (o !== ie) {
4672
4645
  const n = e.subcategories;
4673
- if (!n || !Array.isArray(n) || !n.map((i) => String(i)).includes(o))
4674
- return !1;
4646
+ if (!n || !Array.isArray(n) || !n.map((i) => String(i)).includes(o)) return !1;
4675
4647
  }
4676
4648
  return !0;
4677
4649
  }
@@ -5557,13 +5529,11 @@ function $l(e) {
5557
5529
  /*isRedesignVariant*/
5558
5530
  C[6] && /*currentPromotion*/
5559
5531
  C[26]
5560
- )
5561
- return oa;
5532
+ ) return oa;
5562
5533
  if (
5563
5534
  /*promoDetailsHasLink*/
5564
5535
  C[18]
5565
- )
5566
- return ta;
5536
+ ) return ta;
5567
5537
  }
5568
5538
  let pe = xe(e), ne = pe && pe(e), me = W(
5569
5539
  /*promoDetailsTabs*/
@@ -6426,18 +6396,15 @@ function oa(e) {
6426
6396
  s[34](
6427
6397
  /*currentPromotion*/
6428
6398
  s[26]
6429
- ))), t)
6430
- return ia;
6399
+ ))), t) return ia;
6431
6400
  if (
6432
6401
  /*promoDetailsHasLink*/
6433
6402
  s[18]
6434
- )
6435
- return na;
6403
+ ) return na;
6436
6404
  if (
6437
6405
  /*showoptinbutton*/
6438
6406
  s[0] === "true"
6439
- )
6440
- return ra;
6407
+ ) return ra;
6441
6408
  }
6442
6409
  let n = r(e, [-1, -1, -1, -1, -1]), i = n && n(e);
6443
6410
  return {
@@ -6641,13 +6608,11 @@ function yr(e) {
6641
6608
  /*isRedesignVariant*/
6642
6609
  x[6] && /*currentPromotion*/
6643
6610
  x[26]
6644
- )
6645
- return ua;
6611
+ ) return ua;
6646
6612
  if (
6647
6613
  /*promoDetailsHasLink*/
6648
6614
  x[18]
6649
- )
6650
- return aa;
6615
+ ) return aa;
6651
6616
  }
6652
6617
  let H = I(e), S = H && H(e), T = (
6653
6618
  /*promoDetailsTabs*/
@@ -6793,18 +6758,15 @@ function ua(e) {
6793
6758
  s[34](
6794
6759
  /*currentPromotion*/
6795
6760
  s[26]
6796
- ))), t)
6797
- return ha;
6761
+ ))), t) return ha;
6798
6762
  if (
6799
6763
  /*promoDetailsHasLink*/
6800
6764
  s[18]
6801
- )
6802
- return fa;
6765
+ ) return fa;
6803
6766
  if (
6804
6767
  /*showoptinbutton*/
6805
6768
  s[0] === "true"
6806
- )
6807
- return ca;
6769
+ ) return ca;
6808
6770
  }
6809
6771
  let n = r(e, [-1, -1, -1, -1, -1]), i = n && n(e);
6810
6772
  return {
@@ -1,4 +1,4 @@
1
- "use strict";var si=Object.defineProperty,li=Object.defineProperties;var ai=Object.getOwnPropertyDescriptors;var vo=Object.getOwnPropertySymbols;var ui=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable;var Ht=(e,t,o)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,it=(e,t)=>{for(var o in t||(t={}))ui.call(t,o)&&Ht(e,o,t[o]);if(vo)for(var o of vo(t))ci.call(t,o)&&Ht(e,o,t[o]);return e},yo=(e,t)=>li(e,ai(t));var ce=(e,t,o)=>(Ht(e,typeof t!="symbol"?t+"":t,o),o);var ie=(e,t,o)=>new Promise((r,n)=>{var i=a=>{try{l(o.next(a))}catch(u){n(u)}},s=a=>{try{l(o.throw(a))}catch(u){n(u)}},l=a=>a.done?r(a.value):Promise.resolve(a.value).then(i,s);l((o=o.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function oe(){}function Or(e){return e()}function wo(){return Object.create(null)}function Se(e){e.forEach(Or)}function ro(e){return typeof e=="function"}function no(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let st;function me(e,t){return e===t?!0:(st||(st=document.createElement("a")),st.href=t,e===st.href)}function Eo(e){return e.split(",").map(t=>t.trim().split(" ").filter(Boolean))}function bt(e,t){const o=Eo(e.srcset),r=Eo(t||"");return r.length===o.length&&r.every(([n,i],s)=>i===o[s][1]&&(me(o[s][0],n)||me(n,o[s][0])))}function fi(e){return Object.keys(e).length===0}function Ir(e,...t){if(e==null){for(const r of t)r(void 0);return oe}const o=e.subscribe(...t);return o.unsubscribe?()=>o.unsubscribe():o}function hi(e,t,o){e.$$.on_destroy.push(Ir(t,o))}function p(e,t){e.appendChild(t)}function Nr(e,t,o){const r=pi(e);if(!r.getElementById(t)){const n=_("style");n.id=t,n.textContent=o,mi(r,n)}}function pi(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function mi(e,t){return p(e.head||e,t),t.sheet}function E(e,t,o){e.insertBefore(t,o||null)}function w(e){e.parentNode&&e.parentNode.removeChild(e)}function ae(e,t){for(let o=0;o<e.length;o+=1)e[o]&&e[o].d(t)}function _(e){return document.createElement(e)}function j(e){return document.createTextNode(e)}function B(){return j(" ")}function he(){return j("")}function K(e,t,o,r){return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}function f(e,t,o){o==null?e.removeAttribute(t):e.getAttribute(t)!==o&&e.setAttribute(t,o)}function di(e){return Array.from(e.childNodes)}function z(e,t){t=""+t,e.data!==t&&(e.data=t)}let lt;function _i(){if(lt===void 0){lt=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){lt=!0}}return lt}function Mr(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const r=_("iframe");r.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1;const n=_i();let i;return n?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=K(window,"message",s=>{s.source===r.contentWindow&&t()})):(r.src="about:blank",r.onload=()=>{i=K(r.contentWindow,"resize",t),t()}),p(e,r),()=>{(n||i&&r.contentWindow)&&i(),w(r)}}function te(e,t,o){e.classList.toggle(t,!!o)}function gi(e){const t={};return e.childNodes.forEach(o=>{t[o.slot||"default"]=!0}),t}let Ye;function Je(e){Ye=e}function bi(){if(!Ye)throw new Error("Function called outside component initialization");return Ye}function vi(e){bi().$$.on_mount.push(e)}const Ne=[],we=[];let Fe=[];const xo=[],Fr=Promise.resolve();let Gt=!1;function Rr(){Gt||(Gt=!0,Fr.then(G))}function Dr(){return Rr(),Fr}function Ke(e){Fe.push(e)}const Lt=new Set;let Oe=0;function G(){if(Oe!==0)return;const e=Ye;do{try{for(;Oe<Ne.length;){const t=Ne[Oe];Oe++,Je(t),yi(t.$$)}}catch(t){throw Ne.length=0,Oe=0,t}for(Je(null),Ne.length=0,Oe=0;we.length;)we.pop()();for(let t=0;t<Fe.length;t+=1){const o=Fe[t];Lt.has(o)||(Lt.add(o),o())}Fe.length=0}while(Ne.length);for(;xo.length;)xo.pop()();Gt=!1,Lt.clear(),Je(e)}function yi(e){if(e.fragment!==null){e.update(),Se(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ke)}}function wi(e){const t=[],o=[];Fe.forEach(r=>e.indexOf(r)===-1?t.push(r):o.push(r)),o.forEach(r=>r()),Fe=t}const ct=new Set;let Ce;function io(){Ce={r:0,c:[],p:Ce}}function so(){Ce.r||Se(Ce.c),Ce=Ce.p}function be(e,t){e&&e.i&&(ct.delete(e),e.i(t))}function Be(e,t,o,r){if(e&&e.o){if(ct.has(e))return;ct.add(e),Ce.c.push(()=>{ct.delete(e),r&&(o&&e.d(1),r())}),e.o(t)}else r&&r()}function W(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ei(e){e&&e.c()}function Ur(e,t,o){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,o),Ke(()=>{const i=e.$$.on_mount.map(Or).filter(ro);e.$$.on_destroy?e.$$.on_destroy.push(...i):Se(i),e.$$.on_mount=[]}),n.forEach(Ke)}function Gr(e,t){const o=e.$$;o.fragment!==null&&(wi(o.after_update),Se(o.on_destroy),o.fragment&&o.fragment.d(t),o.on_destroy=o.fragment=null,o.ctx=[])}function xi(e,t){e.$$.dirty[0]===-1&&(Ne.push(e),Rr(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function jr(e,t,o,r,n,i,s=null,l=[-1]){const a=Ye;Je(e);const u=e.$$={fragment:null,ctx:[],props:i,update:oe,not_equal:n,bound:wo(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(a?a.$$.context:[])),callbacks:wo(),dirty:l,skip_bound:!1,root:t.target||a.$$.root};s&&s(u.root);let c=!1;if(u.ctx=o?o(e,t.props||{},(h,d,...g)=>{const b=g.length?g[0]:d;return u.ctx&&n(u.ctx[h],u.ctx[h]=b)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](b),c&&xi(e,h)),d}):[],u.update(),c=!0,Se(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const h=di(t.target);u.fragment&&u.fragment.l(h),h.forEach(w)}else u.fragment&&u.fragment.c();t.intro&&be(e.$$.fragment),Ur(e,t.target,t.anchor),G()}Je(a)}let zr;typeof HTMLElement=="function"&&(zr=class extends HTMLElement{constructor(t,o,r){super();ce(this,"$$ctor");ce(this,"$$s");ce(this,"$$c");ce(this,"$$cn",!1);ce(this,"$$d",{});ce(this,"$$r",!1);ce(this,"$$p_d",{});ce(this,"$$l",{});ce(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=o,r&&this.attachShadow({mode:"open"})}addEventListener(t,o,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(o),this.$$c){const n=this.$$c.$on(t,o);this.$$l_u.set(o,n)}super.addEventListener(t,o,r)}removeEventListener(t,o,r){if(super.removeEventListener(t,o,r),this.$$c){const n=this.$$l_u.get(o);n&&(n(),this.$$l_u.delete(o))}}connectedCallback(){return ie(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let s;return{c:function(){s=_("slot"),i!=="default"&&f(s,"name",i)},m:function(u,c){E(u,s,c)},d:function(u){u&&w(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const o={},r=gi(this);for(const i of this.$$s)i in r&&(o[i]=[t(i)]);for(const i of this.attributes){const s=this.$$g_p(i.name);s in this.$$d||(this.$$d[s]=ft(s,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:yo(it({},this.$$d),{$$slots:o,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const s=ft(i,this.$$d[i],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,s)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const i in this.$$l)for(const s of this.$$l[i]){const l=this.$$c.$on(i,s);this.$$l_u.set(s,l)}this.$$l={}}})}attributeChangedCallback(t,o,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=ft(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(o=>this.$$p_d[o].attribute===t||!this.$$p_d[o].attribute&&o.toLowerCase()===t)||t}});function ft(e,t,o,r){var i;const n=(i=o[e])==null?void 0:i.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!o[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 Vr(e,t,o,r,n,i){let s=class extends zr{constructor(){super(e,o,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(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){var u;a=ft(l,a,t),this.$$d[l]=a,(u=this.$$c)==null||u.$set({[l]:a})}})}),r.forEach(l=>{Object.defineProperty(s.prototype,l,{get(){var a;return(a=this.$$c)==null?void 0:a[l]}})}),e.element=s,s}class Wr{constructor(){ce(this,"$$");ce(this,"$$set")}$destroy(){Gr(this,1),this.$destroy=oe}$on(t,o){if(!ro(o))return oe;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(o),()=>{const n=r.indexOf(o);n!==-1&&r.splice(n,1)}}$set(t){this.$$set&&!fi(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Si="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Si);const Ie=[];function Ti(e,t){return{subscribe:vt(e,t).subscribe}}function vt(e,t=oe){let o;const r=new Set;function n(l){if(no(e,l)&&(e=l,o)){const a=!Ie.length;for(const u of r)u[1](),Ie.push(u,e);if(a){for(let u=0;u<Ie.length;u+=2)Ie[u][0](Ie[u+1]);Ie.length=0}}}function i(l){n(l(e))}function s(l,a=oe){const u=[l,a];return r.add(u),r.size===1&&(o=t(n,i)||oe),l(e),()=>{r.delete(u),r.size===0&&o&&(o(),o=null)}}return{set:n,update:i,subscribe:s}}function ze(e,t,o){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 i=t.length<2;return Ti(o,(s,l)=>{let a=!1;const u=[];let c=0,h=oe;const d=()=>{if(c)return;h();const b=t(r?u[0]:u,s,l);i?s(b):h=ro(b)?b:oe},g=n.map((b,y)=>Ir(b,U=>{u[y]=U,c&=~(1<<y),a&&d()},()=>{c|=1<<y}));return a=!0,d(),function(){Se(g),h(),a=!1}})}function ki(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ci=function(t){return Bi(t)&&!Pi(t)};function Bi(e){return!!e&&typeof e=="object"}function Pi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Li(e)}var Ai=typeof Symbol=="function"&&Symbol.for,Hi=Ai?Symbol.for("react.element"):60103;function Li(e){return e.$$typeof===Hi}function Oi(e){return Array.isArray(e)?[]:{}}function et(e,t){return t.clone!==!1&&t.isMergeableObject(e)?De(Oi(e),e,t):e}function Ii(e,t,o){return e.concat(t).map(function(r){return et(r,o)})}function Ni(e,t){if(!t.customMerge)return De;var o=t.customMerge(e);return typeof o=="function"?o:De}function Mi(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function So(e){return Object.keys(e).concat(Mi(e))}function Xr(e,t){try{return t in e}catch(o){return!1}}function Fi(e,t){return Xr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ri(e,t,o){var r={};return o.isMergeableObject(e)&&So(e).forEach(function(n){r[n]=et(e[n],o)}),So(t).forEach(function(n){Fi(e,n)||(Xr(e,n)&&o.isMergeableObject(t[n])?r[n]=Ni(n,o)(e[n],t[n],o):r[n]=et(t[n],o))}),r}function De(e,t,o){o=o||{},o.arrayMerge=o.arrayMerge||Ii,o.isMergeableObject=o.isMergeableObject||Ci,o.cloneUnlessOtherwiseSpecified=et;var r=Array.isArray(t),n=Array.isArray(e),i=r===n;return i?r?o.arrayMerge(e,t,o):Ri(e,t,o):et(t,o)}De.all=function(t,o){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return De(r,n,o)},{})};var Di=De,Ui=Di;const Gi=ki(Ui);var jt=function(e,t){return jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])},jt(e,t)};function yt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");jt(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}var pe=function(){return pe=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},pe.apply(this,arguments)};function ji(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[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])&&(o[r[n]]=e[r[n]]);return o}function Ot(e,t,o){if(o||arguments.length===2)for(var r=0,n=t.length,i;r<n;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function It(e,t){var o=t&&t.cache?t.cache:Zi,r=t&&t.serializer?t.serializer:$i,n=t&&t.strategy?t.strategy:Wi;return n(e,{cache:o,serializer:r})}function zi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Vi(e,t,o,r){var n=zi(r)?r:o(r),i=t.get(n);return typeof i=="undefined"&&(i=e.call(this,r),t.set(n,i)),i}function $r(e,t,o){var r=Array.prototype.slice.call(arguments,3),n=o(r),i=t.get(n);return typeof i=="undefined"&&(i=e.apply(this,r),t.set(n,i)),i}function qr(e,t,o,r,n){return o.bind(t,e,r,n)}function Wi(e,t){var o=e.length===1?Vi:$r;return qr(e,this,o,t.cache.create(),t.serializer)}function Xi(e,t){return qr(e,this,$r,t.cache.create(),t.serializer)}var $i=function(){return JSON.stringify(arguments)},qi=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,o){this.cache[t]=o},e}(),Zi={create:function(){return new qi}},Nt={variadic:Xi},dt=function(){return dt=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},dt.apply(this,arguments)};var F;(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"})(F||(F={}));var q;(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"})(q||(q={}));var Ue;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ue||(Ue={}));function To(e){return e.type===q.literal}function Qi(e){return e.type===q.argument}function Zr(e){return e.type===q.number}function Qr(e){return e.type===q.date}function Jr(e){return e.type===q.time}function Yr(e){return e.type===q.select}function Kr(e){return e.type===q.plural}function Ji(e){return e.type===q.pound}function en(e){return e.type===q.tag}function tn(e){return!!(e&&typeof e=="object"&&e.type===Ue.number)}function zt(e){return!!(e&&typeof e=="object"&&e.type===Ue.dateTime)}var on=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Yi=/(?:[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 Ki(e){var t={};return e.replace(Yi,function(o){var r=o.length;switch(o[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 J=function(){return J=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},J.apply(this,arguments)};var es=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ts(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(es).filter(function(d){return d.length>0}),o=[],r=0,n=t;r<n.length;r++){var i=n[r],s=i.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var l=s[0],a=s.slice(1),u=0,c=a;u<c.length;u++){var h=c[u];if(h.length===0)throw new Error("Invalid number skeleton")}o.push({stem:l,options:a})}return o}function os(e){return e.replace(/^(.*?)-/,"")}var ko=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,rn=/^(@+)?(\+|#+)?[rs]?$/g,rs=/(\*)(0+)|(#+)(0+)|(0+)/g,nn=/^(0+)$/;function Co(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(rn,function(o,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 sn(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 ns(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 o=e.slice(0,2);if(o==="+!"?(t.signDisplay="always",e=e.slice(2)):o==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!nn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Bo(e){var t={},o=sn(e);return o||t}function is(e){for(var t={},o=0,r=e;o<r.length;o++){var n=r[o];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=os(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=J(J(J({},t),{notation:"scientific"}),n.options.reduce(function(a,u){return J(J({},a),Bo(u))},{}));continue;case"engineering":t=J(J(J({},t),{notation:"engineering"}),n.options.reduce(function(a,u){return J(J({},a),Bo(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(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(rs,function(a,u,c,h,d,g){if(u)t.minimumIntegerDigits=c.length;else{if(h&&d)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(nn.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(ko.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(ko,function(a,u,c,h,d,g){return c==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:d&&g?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+g.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var i=n.options[0];i==="w"?t=J(J({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=J(J({},t),Co(i)));continue}if(rn.test(n.stem)){t=J(J({},t),Co(n.stem));continue}var s=sn(n.stem);s&&(t=J(J({},t),s));var l=ns(n.stem);l&&(t=J(J({},t),l))}return t}var at={"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 ss(e,t){for(var o="",r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){for(var i=0;r+1<e.length&&e.charAt(r+1)===n;)i++,r++;var s=1+(i&1),l=i<2?1:3+(i>>1),a="a",u=ls(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)o+=a;for(;s-- >0;)o=u+o}else n==="J"?o+="H":o+=n}return o}function ls(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 o=e.language,r;o!=="root"&&(r=e.maximize().region);var n=at[r||""]||at[o||""]||at["".concat(o,"-001")]||at["001"];return n[0]}var Mt,as=new RegExp("^".concat(on.source,"*")),us=new RegExp("".concat(on.source,"*$"));function D(e,t){return{start:e,end:t}}var cs=!!String.prototype.startsWith&&"_a".startsWith("a",1),fs=!!String.fromCodePoint,hs=!!Object.fromEntries,ps=!!String.prototype.codePointAt,ms=!!String.prototype.trimStart,ds=!!String.prototype.trimEnd,_s=!!Number.isSafeInteger,gs=_s?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Vt=!0;try{var bs=an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Vt=((Mt=bs.exec("a"))===null||Mt===void 0?void 0:Mt[0])==="a"}catch(e){Vt=!1}var Po=cs?function(t,o,r){return t.startsWith(o,r)}:function(t,o,r){return t.slice(r,r+o.length)===o},Wt=fs?String.fromCodePoint:function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];for(var r="",n=t.length,i=0,s;n>i;){if(s=t[i++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Ao=hs?Object.fromEntries:function(t){for(var o={},r=0,n=t;r<n.length;r++){var i=n[r],s=i[0],l=i[1];o[s]=l}return o},ln=ps?function(t,o){return t.codePointAt(o)}:function(t,o){var r=t.length;if(!(o<0||o>=r)){var n=t.charCodeAt(o),i;return n<55296||n>56319||o+1===r||(i=t.charCodeAt(o+1))<56320||i>57343?n:(n-55296<<10)+(i-56320)+65536}},vs=ms?function(t){return t.trimStart()}:function(t){return t.replace(as,"")},ys=ds?function(t){return t.trimEnd()}:function(t){return t.replace(us,"")};function an(e,t){return new RegExp(e,t)}var Xt;if(Vt){var Ho=an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xt=function(t,o){var r;Ho.lastIndex=o;var n=Ho.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else Xt=function(t,o){for(var r=[];;){var n=ln(t,o);if(n===void 0||un(n)||Ss(n))break;r.push(n),o+=n>=65536?2:1}return Wt.apply(void 0,r)};var ws=function(){function e(t,o){o===void 0&&(o={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!o.ignoreTag,this.locale=o.locale,this.requiresOtherClause=!!o.requiresOtherClause,this.shouldParseSkeletons=!!o.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,o,r){for(var n=[];!this.isEOF();){var i=this.char();if(i===123){var s=this.parseArgument(t,r);if(s.err)return s;n.push(s.val)}else{if(i===125&&t>0)break;if(i===35&&(o==="plural"||o==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:q.pound,location:D(l,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(F.UNMATCHED_CLOSING_TAG,D(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&$t(this.peek()||0)){var s=this.parseTag(t,o);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(t,o);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,o){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:q.literal,value:"<".concat(n,"/>"),location:D(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,o,!0);if(i.err)return i;var s=i.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!$t(this.char()))return this.error(F.INVALID_TAG,D(l,this.clonePosition()));var a=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(F.UNMATCHED_CLOSING_TAG,D(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:q.tag,value:n,children:s,location:D(r,this.clonePosition())},err:null}:this.error(F.INVALID_TAG,D(l,this.clonePosition())))}else return this.error(F.UNCLOSED_TAG,D(r,this.clonePosition()))}else return this.error(F.INVALID_TAG,D(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&xs(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,o){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(o);if(i){n+=i;continue}var s=this.tryParseUnquoted(t,o);if(s){n+=s;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var a=D(r,this.clonePosition());return{val:{type:q.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Es(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 o=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)o.push(39),this.bump();else{this.bump();break}else o.push(r);this.bump()}return Wt.apply(void 0,o)},e.prototype.tryParseUnquoted=function(t,o){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(o==="plural"||o==="selectordinal")||r===125&&t>0?null:(this.bump(),Wt(r))},e.prototype.parseArgument=function(t,o){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(F.EMPTY_ARGUMENT,D(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(F.MALFORMED_ARGUMENT,D(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:q.argument,value:n,location:D(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition())):this.parseArgumentOptions(t,o,n,r);default:return this.error(F.MALFORMED_ARGUMENT,D(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),o=this.offset(),r=Xt(this.message,o),n=o+r.length;this.bumpTo(n);var i=this.clonePosition(),s=D(t,i);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,o,r,n){var i,s=this.clonePosition(),l=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(l){case"":return this.error(F.EXPECT_ARGUMENT_TYPE,D(s,a));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var d=ys(h.val);if(d.length===0)return this.error(F.EXPECT_ARGUMENT_STYLE,D(this.clonePosition(),this.clonePosition()));var g=D(c,this.clonePosition());u={style:d,styleLocation:g}}var b=this.tryParseArgumentClose(n);if(b.err)return b;var y=D(n,this.clonePosition());if(u&&Po(u==null?void 0:u.style,"::",0)){var U=vs(u.style.slice(2));if(l==="number"){var h=this.parseNumberSkeletonFromString(U,u.styleLocation);return h.err?h:{val:{type:q.number,value:r,location:y,style:h.val},err:null}}else{if(U.length===0)return this.error(F.EXPECT_DATE_TIME_SKELETON,y);var X=U;this.locale&&(X=ss(U,this.locale));var d={type:Ue.dateTime,pattern:X,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Ki(X):{}},A=l==="date"?q.date:q.time;return{val:{type:A,value:r,location:y,style:d},err:null}}}return{val:{type:l==="number"?q.number:l==="date"?q.date:q.time,value:r,location:y,style:(i=u==null?void 0:u.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var C=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(F.EXPECT_SELECT_ARGUMENT_OPTIONS,D(C,dt({},C)));this.bumpSpace();var P=this.parseIdentifierIfPossible(),V=0;if(l!=="select"&&P.value==="offset"){if(!this.bumpIf(":"))return this.error(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),P=this.parseIdentifierIfPossible(),V=h.val}var T=this.tryParsePluralOrSelectOptions(t,l,o,P);if(T.err)return T;var b=this.tryParseArgumentClose(n);if(b.err)return b;var R=D(n,this.clonePosition());return l==="select"?{val:{type:q.select,value:r,options:Ao(T.val),location:R},err:null}:{val:{type:q.plural,value:r,options:Ao(T.val),offset:V,pluralType:l==="plural"?"cardinal":"ordinal",location:R},err:null}}default:return this.error(F.INVALID_ARGUMENT_TYPE,D(s,a))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,o=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(F.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,D(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(o.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(o.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,o){var r=[];try{r=ts(t)}catch(n){return this.error(F.INVALID_NUMBER_SKELETON,o)}return{val:{type:Ue.number,tokens:r,location:o,parsedOptions:this.shouldParseSkeletons?is(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,o,r,n){for(var i,s=!1,l=[],a=new Set,u=n.value,c=n.location;;){if(u.length===0){var h=this.clonePosition();if(o!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_SELECTOR,F.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=D(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(a.has(u))return this.error(o==="select"?F.DUPLICATE_SELECT_ARGUMENT_SELECTOR:F.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(o==="select"?F.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:F.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,D(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(t+1,o,r);if(b.err)return b;var y=this.tryParseArgumentClose(g);if(y.err)return y;l.push([u,{value:b.val,location:D(g,this.clonePosition())}]),a.add(u),this.bumpSpace(),i=this.parseIdentifierIfPossible(),u=i.value,c=i.location}return l.length===0?this.error(o==="select"?F.EXPECT_SELECT_ARGUMENT_SELECTOR:F.EXPECT_PLURAL_ARGUMENT_SELECTOR,D(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(F.MISSING_OTHER_CLAUSE,D(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,o){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,s=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)i=!0,s=s*10+(l-48),this.bump();else break}var a=D(n,this.clonePosition());return i?(s*=r,gs(s)?{val:s,err:null}:this.error(o,a)):this.error(t,a)},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 o=ln(this.message,t);if(o===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return o},e.prototype.error=function(t,o){return{val:null,err:{kind:t,message:this.message,location:o}}},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(Po(this.message,t,this.offset())){for(var o=0;o<t.length;o++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var o=this.offset(),r=this.message.indexOf(t,o);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 o=this.offset();if(o===t)break;if(o>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()&&un(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),o=this.offset(),r=this.message.charCodeAt(o+(t>=65536?2:1));return r!=null?r:null},e}();function $t(e){return e>=97&&e<=122||e>=65&&e<=90}function Es(e){return $t(e)||e===47}function xs(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 un(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ss(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 qt(e){e.forEach(function(t){if(delete t.location,Yr(t)||Kr(t))for(var o in t.options)delete t.options[o].location,qt(t.options[o].value);else Zr(t)&&tn(t.style)||(Qr(t)||Jr(t))&&zt(t.style)?delete t.style.location:en(t)&&qt(t.children)})}function Ts(e,t){t===void 0&&(t={}),t=dt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var o=new ws(e,t).parse();if(o.err){var r=SyntaxError(F[o.err.kind]);throw r.location=o.err.location,r.originalMessage=o.err.message,r}return t!=null&&t.captureLocation||qt(o.val),o.val}var Ge;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ge||(Ge={}));var wt=function(e){yt(t,e);function t(o,r,n){var i=e.call(this,o)||this;return i.code=r,i.originalMessage=n,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Lo=function(e){yt(t,e);function t(o,r,n,i){return e.call(this,'Invalid values for "'.concat(o,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Ge.INVALID_VALUE,i)||this}return t}(wt),ks=function(e){yt(t,e);function t(o,r,n){return e.call(this,'Value for "'.concat(o,'" must be of type ').concat(r),Ge.INVALID_VALUE,n)||this}return t}(wt),Cs=function(e){yt(t,e);function t(o,r){return e.call(this,'The intl string context variable "'.concat(o,'" was not provided to the string "').concat(r,'"'),Ge.MISSING_VALUE,r)||this}return t}(wt),ue;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ue||(ue={}));function Bs(e){return e.length<2?e:e.reduce(function(t,o){var r=t[t.length-1];return!r||r.type!==ue.literal||o.type!==ue.literal?t.push(o):r.value+=o.value,t},[])}function Ps(e){return typeof e=="function"}function ht(e,t,o,r,n,i,s){if(e.length===1&&To(e[0]))return[{type:ue.literal,value:e[0].value}];for(var l=[],a=0,u=e;a<u.length;a++){var c=u[a];if(To(c)){l.push({type:ue.literal,value:c.value});continue}if(Ji(c)){typeof i=="number"&&l.push({type:ue.literal,value:o.getNumberFormat(t).format(i)});continue}var h=c.value;if(!(n&&h in n))throw new Cs(h,s);var d=n[h];if(Qi(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),l.push({type:typeof d=="string"?ue.literal:ue.object,value:d});continue}if(Qr(c)){var g=typeof c.style=="string"?r.date[c.style]:zt(c.style)?c.style.parsedOptions:void 0;l.push({type:ue.literal,value:o.getDateTimeFormat(t,g).format(d)});continue}if(Jr(c)){var g=typeof c.style=="string"?r.time[c.style]:zt(c.style)?c.style.parsedOptions:r.time.medium;l.push({type:ue.literal,value:o.getDateTimeFormat(t,g).format(d)});continue}if(Zr(c)){var g=typeof c.style=="string"?r.number[c.style]:tn(c.style)?c.style.parsedOptions:void 0;g&&g.scale&&(d=d*(g.scale||1)),l.push({type:ue.literal,value:o.getNumberFormat(t,g).format(d)});continue}if(en(c)){var b=c.children,y=c.value,U=n[y];if(!Ps(U))throw new ks(y,"function",s);var X=ht(b,t,o,r,n,i),A=U(X.map(function(V){return V.value}));Array.isArray(A)||(A=[A]),l.push.apply(l,A.map(function(V){return{type:typeof V=="string"?ue.literal:ue.object,value:V}}))}if(Yr(c)){var C=c.options[d]||c.options.other;if(!C)throw new Lo(c.value,d,Object.keys(c.options),s);l.push.apply(l,ht(C.value,t,o,r,n));continue}if(Kr(c)){var C=c.options["=".concat(d)];if(!C){if(!Intl.PluralRules)throw new wt(`Intl.PluralRules is not available in this environment.
1
+ "use strict";var si=Object.defineProperty,li=Object.defineProperties;var ai=Object.getOwnPropertyDescriptors;var vo=Object.getOwnPropertySymbols;var ui=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable;var Ht=(e,t,o)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,it=(e,t)=>{for(var o in t||(t={}))ui.call(t,o)&&Ht(e,o,t[o]);if(vo)for(var o of vo(t))ci.call(t,o)&&Ht(e,o,t[o]);return e},yo=(e,t)=>li(e,ai(t));var ce=(e,t,o)=>Ht(e,typeof t!="symbol"?t+"":t,o);var ie=(e,t,o)=>new Promise((r,n)=>{var i=a=>{try{l(o.next(a))}catch(u){n(u)}},s=a=>{try{l(o.throw(a))}catch(u){n(u)}},l=a=>a.done?r(a.value):Promise.resolve(a.value).then(i,s);l((o=o.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function oe(){}function Or(e){return e()}function wo(){return Object.create(null)}function Se(e){e.forEach(Or)}function ro(e){return typeof e=="function"}function no(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let st;function me(e,t){return e===t?!0:(st||(st=document.createElement("a")),st.href=t,e===st.href)}function Eo(e){return e.split(",").map(t=>t.trim().split(" ").filter(Boolean))}function bt(e,t){const o=Eo(e.srcset),r=Eo(t||"");return r.length===o.length&&r.every(([n,i],s)=>i===o[s][1]&&(me(o[s][0],n)||me(n,o[s][0])))}function fi(e){return Object.keys(e).length===0}function Ir(e,...t){if(e==null){for(const r of t)r(void 0);return oe}const o=e.subscribe(...t);return o.unsubscribe?()=>o.unsubscribe():o}function hi(e,t,o){e.$$.on_destroy.push(Ir(t,o))}function p(e,t){e.appendChild(t)}function Nr(e,t,o){const r=pi(e);if(!r.getElementById(t)){const n=_("style");n.id=t,n.textContent=o,mi(r,n)}}function pi(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function mi(e,t){return p(e.head||e,t),t.sheet}function E(e,t,o){e.insertBefore(t,o||null)}function w(e){e.parentNode&&e.parentNode.removeChild(e)}function ae(e,t){for(let o=0;o<e.length;o+=1)e[o]&&e[o].d(t)}function _(e){return document.createElement(e)}function j(e){return document.createTextNode(e)}function B(){return j(" ")}function he(){return j("")}function K(e,t,o,r){return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}function f(e,t,o){o==null?e.removeAttribute(t):e.getAttribute(t)!==o&&e.setAttribute(t,o)}function di(e){return Array.from(e.childNodes)}function z(e,t){t=""+t,e.data!==t&&(e.data=t)}let lt;function _i(){if(lt===void 0){lt=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){lt=!0}}return lt}function Mr(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const r=_("iframe");r.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1;const n=_i();let i;return n?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=K(window,"message",s=>{s.source===r.contentWindow&&t()})):(r.src="about:blank",r.onload=()=>{i=K(r.contentWindow,"resize",t),t()}),p(e,r),()=>{(n||i&&r.contentWindow)&&i(),w(r)}}function te(e,t,o){e.classList.toggle(t,!!o)}function gi(e){const t={};return e.childNodes.forEach(o=>{t[o.slot||"default"]=!0}),t}let Ye;function Je(e){Ye=e}function bi(){if(!Ye)throw new Error("Function called outside component initialization");return Ye}function vi(e){bi().$$.on_mount.push(e)}const Ne=[],we=[];let Fe=[];const xo=[],Fr=Promise.resolve();let Gt=!1;function Rr(){Gt||(Gt=!0,Fr.then(G))}function Dr(){return Rr(),Fr}function Ke(e){Fe.push(e)}const Lt=new Set;let Oe=0;function G(){if(Oe!==0)return;const e=Ye;do{try{for(;Oe<Ne.length;){const t=Ne[Oe];Oe++,Je(t),yi(t.$$)}}catch(t){throw Ne.length=0,Oe=0,t}for(Je(null),Ne.length=0,Oe=0;we.length;)we.pop()();for(let t=0;t<Fe.length;t+=1){const o=Fe[t];Lt.has(o)||(Lt.add(o),o())}Fe.length=0}while(Ne.length);for(;xo.length;)xo.pop()();Gt=!1,Lt.clear(),Je(e)}function yi(e){if(e.fragment!==null){e.update(),Se(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ke)}}function wi(e){const t=[],o=[];Fe.forEach(r=>e.indexOf(r)===-1?t.push(r):o.push(r)),o.forEach(r=>r()),Fe=t}const ct=new Set;let Ce;function io(){Ce={r:0,c:[],p:Ce}}function so(){Ce.r||Se(Ce.c),Ce=Ce.p}function be(e,t){e&&e.i&&(ct.delete(e),e.i(t))}function Be(e,t,o,r){if(e&&e.o){if(ct.has(e))return;ct.add(e),Ce.c.push(()=>{ct.delete(e),r&&(o&&e.d(1),r())}),e.o(t)}else r&&r()}function W(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ei(e){e&&e.c()}function Ur(e,t,o){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,o),Ke(()=>{const i=e.$$.on_mount.map(Or).filter(ro);e.$$.on_destroy?e.$$.on_destroy.push(...i):Se(i),e.$$.on_mount=[]}),n.forEach(Ke)}function Gr(e,t){const o=e.$$;o.fragment!==null&&(wi(o.after_update),Se(o.on_destroy),o.fragment&&o.fragment.d(t),o.on_destroy=o.fragment=null,o.ctx=[])}function xi(e,t){e.$$.dirty[0]===-1&&(Ne.push(e),Rr(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function jr(e,t,o,r,n,i,s=null,l=[-1]){const a=Ye;Je(e);const u=e.$$={fragment:null,ctx:[],props:i,update:oe,not_equal:n,bound:wo(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(a?a.$$.context:[])),callbacks:wo(),dirty:l,skip_bound:!1,root:t.target||a.$$.root};s&&s(u.root);let c=!1;if(u.ctx=o?o(e,t.props||{},(h,d,...g)=>{const b=g.length?g[0]:d;return u.ctx&&n(u.ctx[h],u.ctx[h]=b)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](b),c&&xi(e,h)),d}):[],u.update(),c=!0,Se(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const h=di(t.target);u.fragment&&u.fragment.l(h),h.forEach(w)}else u.fragment&&u.fragment.c();t.intro&&be(e.$$.fragment),Ur(e,t.target,t.anchor),G()}Je(a)}let zr;typeof HTMLElement=="function"&&(zr=class extends HTMLElement{constructor(t,o,r){super();ce(this,"$$ctor");ce(this,"$$s");ce(this,"$$c");ce(this,"$$cn",!1);ce(this,"$$d",{});ce(this,"$$r",!1);ce(this,"$$p_d",{});ce(this,"$$l",{});ce(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=o,r&&this.attachShadow({mode:"open"})}addEventListener(t,o,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(o),this.$$c){const n=this.$$c.$on(t,o);this.$$l_u.set(o,n)}super.addEventListener(t,o,r)}removeEventListener(t,o,r){if(super.removeEventListener(t,o,r),this.$$c){const n=this.$$l_u.get(o);n&&(n(),this.$$l_u.delete(o))}}connectedCallback(){return ie(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let s;return{c:function(){s=_("slot"),i!=="default"&&f(s,"name",i)},m:function(u,c){E(u,s,c)},d:function(u){u&&w(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const o={},r=gi(this);for(const i of this.$$s)i in r&&(o[i]=[t(i)]);for(const i of this.attributes){const s=this.$$g_p(i.name);s in this.$$d||(this.$$d[s]=ft(s,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:yo(it({},this.$$d),{$$slots:o,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const s=ft(i,this.$$d[i],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,s)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const i in this.$$l)for(const s of this.$$l[i]){const l=this.$$c.$on(i,s);this.$$l_u.set(s,l)}this.$$l={}}})}attributeChangedCallback(t,o,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=ft(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(o=>this.$$p_d[o].attribute===t||!this.$$p_d[o].attribute&&o.toLowerCase()===t)||t}});function ft(e,t,o,r){var i;const n=(i=o[e])==null?void 0:i.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!o[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 Vr(e,t,o,r,n,i){let s=class extends zr{constructor(){super(e,o,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(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){var u;a=ft(l,a,t),this.$$d[l]=a,(u=this.$$c)==null||u.$set({[l]:a})}})}),r.forEach(l=>{Object.defineProperty(s.prototype,l,{get(){var a;return(a=this.$$c)==null?void 0:a[l]}})}),e.element=s,s}class Wr{constructor(){ce(this,"$$");ce(this,"$$set")}$destroy(){Gr(this,1),this.$destroy=oe}$on(t,o){if(!ro(o))return oe;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(o),()=>{const n=r.indexOf(o);n!==-1&&r.splice(n,1)}}$set(t){this.$$set&&!fi(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Si="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Si);const Ie=[];function Ti(e,t){return{subscribe:vt(e,t).subscribe}}function vt(e,t=oe){let o;const r=new Set;function n(l){if(no(e,l)&&(e=l,o)){const a=!Ie.length;for(const u of r)u[1](),Ie.push(u,e);if(a){for(let u=0;u<Ie.length;u+=2)Ie[u][0](Ie[u+1]);Ie.length=0}}}function i(l){n(l(e))}function s(l,a=oe){const u=[l,a];return r.add(u),r.size===1&&(o=t(n,i)||oe),l(e),()=>{r.delete(u),r.size===0&&o&&(o(),o=null)}}return{set:n,update:i,subscribe:s}}function ze(e,t,o){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 i=t.length<2;return Ti(o,(s,l)=>{let a=!1;const u=[];let c=0,h=oe;const d=()=>{if(c)return;h();const b=t(r?u[0]:u,s,l);i?s(b):h=ro(b)?b:oe},g=n.map((b,y)=>Ir(b,U=>{u[y]=U,c&=~(1<<y),a&&d()},()=>{c|=1<<y}));return a=!0,d(),function(){Se(g),h(),a=!1}})}function ki(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ci=function(t){return Bi(t)&&!Pi(t)};function Bi(e){return!!e&&typeof e=="object"}function Pi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Li(e)}var Ai=typeof Symbol=="function"&&Symbol.for,Hi=Ai?Symbol.for("react.element"):60103;function Li(e){return e.$$typeof===Hi}function Oi(e){return Array.isArray(e)?[]:{}}function et(e,t){return t.clone!==!1&&t.isMergeableObject(e)?De(Oi(e),e,t):e}function Ii(e,t,o){return e.concat(t).map(function(r){return et(r,o)})}function Ni(e,t){if(!t.customMerge)return De;var o=t.customMerge(e);return typeof o=="function"?o:De}function Mi(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function So(e){return Object.keys(e).concat(Mi(e))}function Xr(e,t){try{return t in e}catch(o){return!1}}function Fi(e,t){return Xr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ri(e,t,o){var r={};return o.isMergeableObject(e)&&So(e).forEach(function(n){r[n]=et(e[n],o)}),So(t).forEach(function(n){Fi(e,n)||(Xr(e,n)&&o.isMergeableObject(t[n])?r[n]=Ni(n,o)(e[n],t[n],o):r[n]=et(t[n],o))}),r}function De(e,t,o){o=o||{},o.arrayMerge=o.arrayMerge||Ii,o.isMergeableObject=o.isMergeableObject||Ci,o.cloneUnlessOtherwiseSpecified=et;var r=Array.isArray(t),n=Array.isArray(e),i=r===n;return i?r?o.arrayMerge(e,t,o):Ri(e,t,o):et(t,o)}De.all=function(t,o){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return De(r,n,o)},{})};var Di=De,Ui=Di;const Gi=ki(Ui);var jt=function(e,t){return jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])},jt(e,t)};function yt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");jt(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}var pe=function(){return pe=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},pe.apply(this,arguments)};function ji(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[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])&&(o[r[n]]=e[r[n]]);return o}function Ot(e,t,o){if(o||arguments.length===2)for(var r=0,n=t.length,i;r<n;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function It(e,t){var o=t&&t.cache?t.cache:Zi,r=t&&t.serializer?t.serializer:$i,n=t&&t.strategy?t.strategy:Wi;return n(e,{cache:o,serializer:r})}function zi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Vi(e,t,o,r){var n=zi(r)?r:o(r),i=t.get(n);return typeof i=="undefined"&&(i=e.call(this,r),t.set(n,i)),i}function $r(e,t,o){var r=Array.prototype.slice.call(arguments,3),n=o(r),i=t.get(n);return typeof i=="undefined"&&(i=e.apply(this,r),t.set(n,i)),i}function qr(e,t,o,r,n){return o.bind(t,e,r,n)}function Wi(e,t){var o=e.length===1?Vi:$r;return qr(e,this,o,t.cache.create(),t.serializer)}function Xi(e,t){return qr(e,this,$r,t.cache.create(),t.serializer)}var $i=function(){return JSON.stringify(arguments)},qi=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,o){this.cache[t]=o},e}(),Zi={create:function(){return new qi}},Nt={variadic:Xi},dt=function(){return dt=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},dt.apply(this,arguments)};var F;(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"})(F||(F={}));var q;(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"})(q||(q={}));var Ue;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ue||(Ue={}));function To(e){return e.type===q.literal}function Qi(e){return e.type===q.argument}function Zr(e){return e.type===q.number}function Qr(e){return e.type===q.date}function Jr(e){return e.type===q.time}function Yr(e){return e.type===q.select}function Kr(e){return e.type===q.plural}function Ji(e){return e.type===q.pound}function en(e){return e.type===q.tag}function tn(e){return!!(e&&typeof e=="object"&&e.type===Ue.number)}function zt(e){return!!(e&&typeof e=="object"&&e.type===Ue.dateTime)}var on=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Yi=/(?:[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 Ki(e){var t={};return e.replace(Yi,function(o){var r=o.length;switch(o[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 J=function(){return J=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},J.apply(this,arguments)};var es=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ts(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(es).filter(function(d){return d.length>0}),o=[],r=0,n=t;r<n.length;r++){var i=n[r],s=i.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var l=s[0],a=s.slice(1),u=0,c=a;u<c.length;u++){var h=c[u];if(h.length===0)throw new Error("Invalid number skeleton")}o.push({stem:l,options:a})}return o}function os(e){return e.replace(/^(.*?)-/,"")}var ko=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,rn=/^(@+)?(\+|#+)?[rs]?$/g,rs=/(\*)(0+)|(#+)(0+)|(0+)/g,nn=/^(0+)$/;function Co(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(rn,function(o,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 sn(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 ns(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 o=e.slice(0,2);if(o==="+!"?(t.signDisplay="always",e=e.slice(2)):o==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!nn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Bo(e){var t={},o=sn(e);return o||t}function is(e){for(var t={},o=0,r=e;o<r.length;o++){var n=r[o];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=os(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=J(J(J({},t),{notation:"scientific"}),n.options.reduce(function(a,u){return J(J({},a),Bo(u))},{}));continue;case"engineering":t=J(J(J({},t),{notation:"engineering"}),n.options.reduce(function(a,u){return J(J({},a),Bo(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(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(rs,function(a,u,c,h,d,g){if(u)t.minimumIntegerDigits=c.length;else{if(h&&d)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(nn.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(ko.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(ko,function(a,u,c,h,d,g){return c==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:d&&g?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+g.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var i=n.options[0];i==="w"?t=J(J({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=J(J({},t),Co(i)));continue}if(rn.test(n.stem)){t=J(J({},t),Co(n.stem));continue}var s=sn(n.stem);s&&(t=J(J({},t),s));var l=ns(n.stem);l&&(t=J(J({},t),l))}return t}var at={"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 ss(e,t){for(var o="",r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){for(var i=0;r+1<e.length&&e.charAt(r+1)===n;)i++,r++;var s=1+(i&1),l=i<2?1:3+(i>>1),a="a",u=ls(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)o+=a;for(;s-- >0;)o=u+o}else n==="J"?o+="H":o+=n}return o}function ls(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 o=e.language,r;o!=="root"&&(r=e.maximize().region);var n=at[r||""]||at[o||""]||at["".concat(o,"-001")]||at["001"];return n[0]}var Mt,as=new RegExp("^".concat(on.source,"*")),us=new RegExp("".concat(on.source,"*$"));function D(e,t){return{start:e,end:t}}var cs=!!String.prototype.startsWith&&"_a".startsWith("a",1),fs=!!String.fromCodePoint,hs=!!Object.fromEntries,ps=!!String.prototype.codePointAt,ms=!!String.prototype.trimStart,ds=!!String.prototype.trimEnd,_s=!!Number.isSafeInteger,gs=_s?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Vt=!0;try{var bs=an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Vt=((Mt=bs.exec("a"))===null||Mt===void 0?void 0:Mt[0])==="a"}catch(e){Vt=!1}var Po=cs?function(t,o,r){return t.startsWith(o,r)}:function(t,o,r){return t.slice(r,r+o.length)===o},Wt=fs?String.fromCodePoint:function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];for(var r="",n=t.length,i=0,s;n>i;){if(s=t[i++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Ao=hs?Object.fromEntries:function(t){for(var o={},r=0,n=t;r<n.length;r++){var i=n[r],s=i[0],l=i[1];o[s]=l}return o},ln=ps?function(t,o){return t.codePointAt(o)}:function(t,o){var r=t.length;if(!(o<0||o>=r)){var n=t.charCodeAt(o),i;return n<55296||n>56319||o+1===r||(i=t.charCodeAt(o+1))<56320||i>57343?n:(n-55296<<10)+(i-56320)+65536}},vs=ms?function(t){return t.trimStart()}:function(t){return t.replace(as,"")},ys=ds?function(t){return t.trimEnd()}:function(t){return t.replace(us,"")};function an(e,t){return new RegExp(e,t)}var Xt;if(Vt){var Ho=an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xt=function(t,o){var r;Ho.lastIndex=o;var n=Ho.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else Xt=function(t,o){for(var r=[];;){var n=ln(t,o);if(n===void 0||un(n)||Ss(n))break;r.push(n),o+=n>=65536?2:1}return Wt.apply(void 0,r)};var ws=function(){function e(t,o){o===void 0&&(o={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!o.ignoreTag,this.locale=o.locale,this.requiresOtherClause=!!o.requiresOtherClause,this.shouldParseSkeletons=!!o.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,o,r){for(var n=[];!this.isEOF();){var i=this.char();if(i===123){var s=this.parseArgument(t,r);if(s.err)return s;n.push(s.val)}else{if(i===125&&t>0)break;if(i===35&&(o==="plural"||o==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:q.pound,location:D(l,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(F.UNMATCHED_CLOSING_TAG,D(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&$t(this.peek()||0)){var s=this.parseTag(t,o);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(t,o);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,o){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:q.literal,value:"<".concat(n,"/>"),location:D(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,o,!0);if(i.err)return i;var s=i.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!$t(this.char()))return this.error(F.INVALID_TAG,D(l,this.clonePosition()));var a=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(F.UNMATCHED_CLOSING_TAG,D(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:q.tag,value:n,children:s,location:D(r,this.clonePosition())},err:null}:this.error(F.INVALID_TAG,D(l,this.clonePosition())))}else return this.error(F.UNCLOSED_TAG,D(r,this.clonePosition()))}else return this.error(F.INVALID_TAG,D(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&xs(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,o){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(o);if(i){n+=i;continue}var s=this.tryParseUnquoted(t,o);if(s){n+=s;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var a=D(r,this.clonePosition());return{val:{type:q.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Es(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 o=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)o.push(39),this.bump();else{this.bump();break}else o.push(r);this.bump()}return Wt.apply(void 0,o)},e.prototype.tryParseUnquoted=function(t,o){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(o==="plural"||o==="selectordinal")||r===125&&t>0?null:(this.bump(),Wt(r))},e.prototype.parseArgument=function(t,o){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(F.EMPTY_ARGUMENT,D(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(F.MALFORMED_ARGUMENT,D(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:q.argument,value:n,location:D(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition())):this.parseArgumentOptions(t,o,n,r);default:return this.error(F.MALFORMED_ARGUMENT,D(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),o=this.offset(),r=Xt(this.message,o),n=o+r.length;this.bumpTo(n);var i=this.clonePosition(),s=D(t,i);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,o,r,n){var i,s=this.clonePosition(),l=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(l){case"":return this.error(F.EXPECT_ARGUMENT_TYPE,D(s,a));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var d=ys(h.val);if(d.length===0)return this.error(F.EXPECT_ARGUMENT_STYLE,D(this.clonePosition(),this.clonePosition()));var g=D(c,this.clonePosition());u={style:d,styleLocation:g}}var b=this.tryParseArgumentClose(n);if(b.err)return b;var y=D(n,this.clonePosition());if(u&&Po(u==null?void 0:u.style,"::",0)){var U=vs(u.style.slice(2));if(l==="number"){var h=this.parseNumberSkeletonFromString(U,u.styleLocation);return h.err?h:{val:{type:q.number,value:r,location:y,style:h.val},err:null}}else{if(U.length===0)return this.error(F.EXPECT_DATE_TIME_SKELETON,y);var X=U;this.locale&&(X=ss(U,this.locale));var d={type:Ue.dateTime,pattern:X,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Ki(X):{}},A=l==="date"?q.date:q.time;return{val:{type:A,value:r,location:y,style:d},err:null}}}return{val:{type:l==="number"?q.number:l==="date"?q.date:q.time,value:r,location:y,style:(i=u==null?void 0:u.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var C=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(F.EXPECT_SELECT_ARGUMENT_OPTIONS,D(C,dt({},C)));this.bumpSpace();var P=this.parseIdentifierIfPossible(),V=0;if(l!=="select"&&P.value==="offset"){if(!this.bumpIf(":"))return this.error(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),P=this.parseIdentifierIfPossible(),V=h.val}var T=this.tryParsePluralOrSelectOptions(t,l,o,P);if(T.err)return T;var b=this.tryParseArgumentClose(n);if(b.err)return b;var R=D(n,this.clonePosition());return l==="select"?{val:{type:q.select,value:r,options:Ao(T.val),location:R},err:null}:{val:{type:q.plural,value:r,options:Ao(T.val),offset:V,pluralType:l==="plural"?"cardinal":"ordinal",location:R},err:null}}default:return this.error(F.INVALID_ARGUMENT_TYPE,D(s,a))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,o=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(F.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,D(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(o.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(o.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,o){var r=[];try{r=ts(t)}catch(n){return this.error(F.INVALID_NUMBER_SKELETON,o)}return{val:{type:Ue.number,tokens:r,location:o,parsedOptions:this.shouldParseSkeletons?is(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,o,r,n){for(var i,s=!1,l=[],a=new Set,u=n.value,c=n.location;;){if(u.length===0){var h=this.clonePosition();if(o!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_SELECTOR,F.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=D(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(a.has(u))return this.error(o==="select"?F.DUPLICATE_SELECT_ARGUMENT_SELECTOR:F.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(o==="select"?F.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:F.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,D(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(t+1,o,r);if(b.err)return b;var y=this.tryParseArgumentClose(g);if(y.err)return y;l.push([u,{value:b.val,location:D(g,this.clonePosition())}]),a.add(u),this.bumpSpace(),i=this.parseIdentifierIfPossible(),u=i.value,c=i.location}return l.length===0?this.error(o==="select"?F.EXPECT_SELECT_ARGUMENT_SELECTOR:F.EXPECT_PLURAL_ARGUMENT_SELECTOR,D(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(F.MISSING_OTHER_CLAUSE,D(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,o){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,s=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)i=!0,s=s*10+(l-48),this.bump();else break}var a=D(n,this.clonePosition());return i?(s*=r,gs(s)?{val:s,err:null}:this.error(o,a)):this.error(t,a)},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 o=ln(this.message,t);if(o===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return o},e.prototype.error=function(t,o){return{val:null,err:{kind:t,message:this.message,location:o}}},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(Po(this.message,t,this.offset())){for(var o=0;o<t.length;o++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var o=this.offset(),r=this.message.indexOf(t,o);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 o=this.offset();if(o===t)break;if(o>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()&&un(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),o=this.offset(),r=this.message.charCodeAt(o+(t>=65536?2:1));return r!=null?r:null},e}();function $t(e){return e>=97&&e<=122||e>=65&&e<=90}function Es(e){return $t(e)||e===47}function xs(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 un(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ss(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 qt(e){e.forEach(function(t){if(delete t.location,Yr(t)||Kr(t))for(var o in t.options)delete t.options[o].location,qt(t.options[o].value);else Zr(t)&&tn(t.style)||(Qr(t)||Jr(t))&&zt(t.style)?delete t.style.location:en(t)&&qt(t.children)})}function Ts(e,t){t===void 0&&(t={}),t=dt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var o=new ws(e,t).parse();if(o.err){var r=SyntaxError(F[o.err.kind]);throw r.location=o.err.location,r.originalMessage=o.err.message,r}return t!=null&&t.captureLocation||qt(o.val),o.val}var Ge;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ge||(Ge={}));var wt=function(e){yt(t,e);function t(o,r,n){var i=e.call(this,o)||this;return i.code=r,i.originalMessage=n,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Lo=function(e){yt(t,e);function t(o,r,n,i){return e.call(this,'Invalid values for "'.concat(o,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Ge.INVALID_VALUE,i)||this}return t}(wt),ks=function(e){yt(t,e);function t(o,r,n){return e.call(this,'Value for "'.concat(o,'" must be of type ').concat(r),Ge.INVALID_VALUE,n)||this}return t}(wt),Cs=function(e){yt(t,e);function t(o,r){return e.call(this,'The intl string context variable "'.concat(o,'" was not provided to the string "').concat(r,'"'),Ge.MISSING_VALUE,r)||this}return t}(wt),ue;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ue||(ue={}));function Bs(e){return e.length<2?e:e.reduce(function(t,o){var r=t[t.length-1];return!r||r.type!==ue.literal||o.type!==ue.literal?t.push(o):r.value+=o.value,t},[])}function Ps(e){return typeof e=="function"}function ht(e,t,o,r,n,i,s){if(e.length===1&&To(e[0]))return[{type:ue.literal,value:e[0].value}];for(var l=[],a=0,u=e;a<u.length;a++){var c=u[a];if(To(c)){l.push({type:ue.literal,value:c.value});continue}if(Ji(c)){typeof i=="number"&&l.push({type:ue.literal,value:o.getNumberFormat(t).format(i)});continue}var h=c.value;if(!(n&&h in n))throw new Cs(h,s);var d=n[h];if(Qi(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),l.push({type:typeof d=="string"?ue.literal:ue.object,value:d});continue}if(Qr(c)){var g=typeof c.style=="string"?r.date[c.style]:zt(c.style)?c.style.parsedOptions:void 0;l.push({type:ue.literal,value:o.getDateTimeFormat(t,g).format(d)});continue}if(Jr(c)){var g=typeof c.style=="string"?r.time[c.style]:zt(c.style)?c.style.parsedOptions:r.time.medium;l.push({type:ue.literal,value:o.getDateTimeFormat(t,g).format(d)});continue}if(Zr(c)){var g=typeof c.style=="string"?r.number[c.style]:tn(c.style)?c.style.parsedOptions:void 0;g&&g.scale&&(d=d*(g.scale||1)),l.push({type:ue.literal,value:o.getNumberFormat(t,g).format(d)});continue}if(en(c)){var b=c.children,y=c.value,U=n[y];if(!Ps(U))throw new ks(y,"function",s);var X=ht(b,t,o,r,n,i),A=U(X.map(function(V){return V.value}));Array.isArray(A)||(A=[A]),l.push.apply(l,A.map(function(V){return{type:typeof V=="string"?ue.literal:ue.object,value:V}}))}if(Yr(c)){var C=c.options[d]||c.options.other;if(!C)throw new Lo(c.value,d,Object.keys(c.options),s);l.push.apply(l,ht(C.value,t,o,r,n));continue}if(Kr(c)){var C=c.options["=".concat(d)];if(!C){if(!Intl.PluralRules)throw new wt(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,Ge.MISSING_INTL_API,s);var P=o.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));C=c.options[P]||c.options.other}if(!C)throw new Lo(c.value,d,Object.keys(c.options),s);l.push.apply(l,ht(C.value,t,o,r,n,d-(c.offset||0)));continue}}return Bs(l)}function As(e,t){return t?pe(pe(pe({},e||{}),t||{}),Object.keys(e).reduce(function(o,r){return o[r]=pe(pe({},e[r]),t[r]||{}),o},{})):e}function Hs(e,t){return t?Object.keys(e).reduce(function(o,r){return o[r]=As(e[r],t[r]),o},pe({},e)):e}function Ft(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,o){e[t]=o}}}}}function Ls(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:It(function(){for(var t,o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,Ot([void 0],o,!1)))},{cache:Ft(e.number),strategy:Nt.variadic}),getDateTimeFormat:It(function(){for(var t,o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,Ot([void 0],o,!1)))},{cache:Ft(e.dateTime),strategy:Nt.variadic}),getPluralRules:It(function(){for(var t,o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,Ot([void 0],o,!1)))},{cache:Ft(e.pluralRules),strategy:Nt.variadic})}}var Os=function(){function e(t,o,r,n){o===void 0&&(o=e.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(a){var u=i.formatToParts(a);if(u.length===1)return u[0].value;var c=u.reduce(function(h,d){return!h.length||d.type!==ue.literal||typeof h[h.length-1]!="string"?h.push(d.value):h[h.length-1]+=d.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(a){return ht(i.ast,i.locales,i.formatters,i.formats,a,void 0,i.message)},this.resolvedOptions=function(){var a;return{locale:((a=i.resolvedLocale)===null||a===void 0?void 0:a.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=o,this.resolvedLocale=e.resolveLocale(o),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=n||{};s.formatters;var l=ji(s,["formatters"]);this.ast=e.__parse(t,pe(pe({},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=Hs(e.formats,r),this.formatters=n&&n.formatters||Ls(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 o=Intl.NumberFormat.supportedLocalesOf(t);return o.length>0?new Intl.Locale(o[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Ts,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 Is(e,t){if(t==null)return;if(t in e)return e[t];const o=t.split(".");let r=e;for(let n=0;n<o.length;n++)if(typeof r=="object"){if(n>0){const i=o.slice(n,o.length).join(".");if(i in r){r=r[i];break}}r=r[o[n]]}else r=void 0;return r}const Ee={},Ns=(e,t,o)=>o&&(t in Ee||(Ee[t]={}),e in Ee[t]||(Ee[t][e]=o),o),cn=(e,t)=>{if(t==null)return;if(t in Ee&&e in Ee[t])return Ee[t][e];const o=Et(t);for(let r=0;r<o.length;r++){const n=o[r],i=Fs(n,e);if(i)return Ns(e,t,i)}};let lo;const Ve=vt({});function Ms(e){return lo[e]||null}function fn(e){return e in lo}function Fs(e,t){if(!fn(e))return null;const o=Ms(e);return Is(o,t)}function Rs(e){if(e==null)return;const t=Et(e);for(let o=0;o<t.length;o++){const r=t[o];if(fn(r))return r}}function hn(e,...t){delete Ee[e],Ve.update(o=>(o[e]=Gi.all([o[e]||{},...t]),o))}ze([Ve],([e])=>Object.keys(e));Ve.subscribe(e=>lo=e);const pt={};function Ds(e,t){pt[e].delete(t),pt[e].size===0&&delete pt[e]}function pn(e){return pt[e]}function Us(e){return Et(e).map(t=>{const o=pn(t);return[t,o?[...o]:[]]}).filter(([,t])=>t.length>0)}function Zt(e){return e==null?!1:Et(e).some(t=>{var o;return(o=pn(t))==null?void 0:o.size})}function Gs(e,t){return Promise.all(t.map(r=>(Ds(e,r),r().then(n=>n.default||n)))).then(r=>hn(e,...r))}const Qe={};function mn(e){if(!Zt(e))return e in Qe?Qe[e]:Promise.resolve();const t=Us(e);return Qe[e]=Promise.all(t.map(([o,r])=>Gs(o,r))).then(()=>{if(Zt(e))return mn(e);delete Qe[e]}),Qe[e]}const js={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"}}},zs={fallbackLocale:null,loadingDelay:200,formats:js,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Vs=zs;function je(){return Vs}const Rt=vt(!1);var Ws=Object.defineProperty,Xs=Object.defineProperties,$s=Object.getOwnPropertyDescriptors,Oo=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,Zs=Object.prototype.propertyIsEnumerable,Io=(e,t,o)=>t in e?Ws(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Qs=(e,t)=>{for(var o in t||(t={}))qs.call(t,o)&&Io(e,o,t[o]);if(Oo)for(var o of Oo(t))Zs.call(t,o)&&Io(e,o,t[o]);return e},Js=(e,t)=>Xs(e,$s(t));let Qt;const _t=vt(null);function No(e){return e.split("-").map((t,o,r)=>r.slice(0,o+1).join("-")).reverse()}function Et(e,t=je().fallbackLocale){const o=No(e);return t?[...new Set([...o,...No(t)])]:o}function Pe(){return Qt!=null?Qt:void 0}_t.subscribe(e=>{Qt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ys=e=>{if(e&&Rs(e)&&Zt(e)){const{loadingDelay:t}=je();let o;return typeof window!="undefined"&&Pe()!=null&&t?o=window.setTimeout(()=>Rt.set(!0),t):Rt.set(!0),mn(e).then(()=>{_t.set(e)}).finally(()=>{clearTimeout(o),Rt.set(!1)})}return _t.set(e)},xe=Js(Qs({},_t),{set:Ys}),xt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var Ks=Object.defineProperty,gt=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,Mo=(e,t,o)=>t in e?Ks(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,ao=(e,t)=>{for(var o in t||(t={}))dn.call(t,o)&&Mo(e,o,t[o]);if(gt)for(var o of gt(t))_n.call(t,o)&&Mo(e,o,t[o]);return e},We=(e,t)=>{var o={};for(var r in e)dn.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&gt)for(var r of gt(e))t.indexOf(r)<0&&_n.call(e,r)&&(o[r]=e[r]);return o};const tt=(e,t)=>{const{formats:o}=je();if(e in o&&t in o[e])return o[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},el=xt(e=>{var t=e,{locale:o,format:r}=t,n=We(t,["locale","format"]);if(o==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=tt("number",r)),new Intl.NumberFormat(o,n)}),tl=xt(e=>{var t=e,{locale:o,format:r}=t,n=We(t,["locale","format"]);if(o==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=tt("date",r):Object.keys(n).length===0&&(n=tt("date","short")),new Intl.DateTimeFormat(o,n)}),ol=xt(e=>{var t=e,{locale:o,format:r}=t,n=We(t,["locale","format"]);if(o==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=tt("time",r):Object.keys(n).length===0&&(n=tt("time","short")),new Intl.DateTimeFormat(o,n)}),rl=(e={})=>{var t=e,{locale:o=Pe()}=t,r=We(t,["locale"]);return el(ao({locale:o},r))},nl=(e={})=>{var t=e,{locale:o=Pe()}=t,r=We(t,["locale"]);return tl(ao({locale:o},r))},il=(e={})=>{var t=e,{locale:o=Pe()}=t,r=We(t,["locale"]);return ol(ao({locale:o},r))},sl=xt((e,t=Pe())=>new Os(e,t,je().formats,{ignoreTag:je().ignoreTag})),ll=(e,t={})=>{var o,r,n,i;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:l,locale:a=Pe(),default:u}=s;if(a==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=cn(e,a);if(!c)c=(i=(n=(r=(o=je()).handleMissingMessage)==null?void 0:r.call(o,{locale:a,id:e,defaultValue:u}))!=null?n:u)!=null?i: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 h=c;try{h=sl(c,a).format(l)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return h},al=(e,t)=>il(t).format(e),ul=(e,t)=>nl(t).format(e),cl=(e,t)=>rl(t).format(e),fl=(e,t=Pe())=>cn(e,t),hl=ze([xe,Ve],()=>ll);ze([xe],()=>al);ze([xe],()=>ul);ze([xe],()=>cl);ze([xe,Ve],()=>fl);function pl({withLocale:e,translations:t}){xe.subscribe(o=>{o==null&&(Ve.set(t),xe.set(e))})}function Fo(e,t){hn(e,t)}function ml(e){xe.set(e)}/*! *****************************************************************************
4
4
  Copyright (c) Microsoft Corporation.
@@ -10,7 +10,7 @@ var Ht = (e, t, o) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writ
10
10
  ui.call(t, o) && Ht(e, o, t[o]);
11
11
  return e;
12
12
  }, yo = (e, t) => si(e, li(t));
13
- var ce = (e, t, o) => (Ht(e, typeof t != "symbol" ? t + "" : t, o), o);
13
+ var ce = (e, t, o) => Ht(e, typeof t != "symbol" ? t + "" : t, o);
14
14
  var ie = (e, t, o) => new Promise((r, n) => {
15
15
  var i = (a) => {
16
16
  try {
@@ -27,7 +27,7 @@ var ie = (e, t, o) => new Promise((r, n) => {
27
27
  }, l = (a) => a.done ? r(a.value) : Promise.resolve(a.value).then(i, s);
28
28
  l((o = o.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-skeleton-xXZA3rYO.js";
30
+ import "../stencil/ui-skeleton-BjsoPeRQ.js";
31
31
  function oe() {
32
32
  }
33
33
  function Or(e) {
@@ -89,8 +89,7 @@ function Nr(e, t, o) {
89
89
  }
90
90
  }
91
91
  function hi(e) {
92
- if (!e)
93
- return document;
92
+ if (!e) return document;
94
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
95
94
  return t && /** @type {ShadowRoot} */
96
95
  t.host ? (
@@ -191,8 +190,7 @@ function Je(e) {
191
190
  Ye = e;
192
191
  }
193
192
  function gi() {
194
- if (!Ye)
195
- throw new Error("Function called outside component initialization");
193
+ if (!Ye) throw new Error("Function called outside component initialization");
196
194
  return Ye;
197
195
  }
198
196
  function bi(e) {
@@ -226,8 +224,7 @@ function G() {
226
224
  } catch (t) {
227
225
  throw Ne.length = 0, Oe = 0, t;
228
226
  }
229
- for (Je(null), Ne.length = 0, Oe = 0; we.length; )
230
- we.pop()();
227
+ for (Je(null), Ne.length = 0, Oe = 0; we.length; ) we.pop()();
231
228
  for (let t = 0; t < Fe.length; t += 1) {
232
229
  const o = Fe[t];
233
230
  Lt.has(o) || (Lt.add(o), o());
@@ -267,13 +264,11 @@ function be(e, t) {
267
264
  }
268
265
  function Be(e, t, o, r) {
269
266
  if (e && e.o) {
270
- if (ct.has(e))
271
- return;
267
+ if (ct.has(e)) return;
272
268
  ct.add(e), Ce.c.push(() => {
273
269
  ct.delete(e), r && (o && e.d(1), r());
274
270
  }), e.o(t);
275
- } else
276
- r && r();
271
+ } else r && r();
277
272
  }
278
273
  function W(e) {
279
274
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
@@ -705,8 +700,7 @@ var jt = function(e, t) {
705
700
  return jt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(o, r) {
706
701
  o.__proto__ = r;
707
702
  } || function(o, r) {
708
- for (var n in r)
709
- Object.prototype.hasOwnProperty.call(r, n) && (o[n] = r[n]);
703
+ for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (o[n] = r[n]);
710
704
  }, jt(e, t);
711
705
  };
712
706
  function yt(e, t) {
@@ -722,25 +716,22 @@ var pe = function() {
722
716
  return pe = Object.assign || function(t) {
723
717
  for (var o, r = 1, n = arguments.length; r < n; r++) {
724
718
  o = arguments[r];
725
- for (var i in o)
726
- Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
719
+ for (var i in o) Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
727
720
  }
728
721
  return t;
729
722
  }, pe.apply(this, arguments);
730
723
  };
731
724
  function Gi(e, t) {
732
725
  var o = {};
733
- for (var r in e)
734
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (o[r] = e[r]);
726
+ for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (o[r] = e[r]);
735
727
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
736
728
  for (var n = 0, r = Object.getOwnPropertySymbols(e); n < r.length; n++)
737
729
  t.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[n]) && (o[r[n]] = e[r[n]]);
738
730
  return o;
739
731
  }
740
732
  function Ot(e, t, o) {
741
- if (o || arguments.length === 2)
742
- for (var r = 0, n = t.length, i; r < n; r++)
743
- (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
733
+ if (o || arguments.length === 2) for (var r = 0, n = t.length, i; r < n; r++)
734
+ (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
744
735
  return e.concat(i || Array.prototype.slice.call(t));
745
736
  }
746
737
  function It(e, t) {
@@ -795,8 +786,7 @@ var Xi = function() {
795
786
  return dt = Object.assign || function(t) {
796
787
  for (var o, r = 1, n = arguments.length; r < n; r++) {
797
788
  o = arguments[r];
798
- for (var i in o)
799
- Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
789
+ for (var i in o) Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
800
790
  }
801
791
  return t;
802
792
  }, dt.apply(this, arguments);
@@ -942,8 +932,7 @@ var J = function() {
942
932
  return J = Object.assign || function(t) {
943
933
  for (var o, r = 1, n = arguments.length; r < n; r++) {
944
934
  o = arguments[r];
945
- for (var i in o)
946
- Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
935
+ for (var i in o) Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
947
936
  }
948
937
  return t;
949
938
  }, J.apply(this, arguments);
@@ -2585,8 +2574,7 @@ function is(e, t) {
2585
2574
  o += a;
2586
2575
  for (; s-- > 0; )
2587
2576
  o = u + o;
2588
- } else
2589
- n === "J" ? o += "H" : o += n;
2577
+ } else n === "J" ? o += "H" : o += n;
2590
2578
  }
2591
2579
  return o;
2592
2580
  }
@@ -3189,8 +3177,7 @@ function qt(e) {
3189
3177
  if (delete t.location, Yr(t) || Kr(t))
3190
3178
  for (var o in t.options)
3191
3179
  delete t.options[o].location, qt(t.options[o].value);
3192
- else
3193
- Zr(t) && tn(t.style) || (Qr(t) || Jr(t)) && zt(t.style) ? delete t.style.location : en(t) && qt(t.children);
3180
+ else Zr(t) && tn(t.style) || (Qr(t) || Jr(t)) && zt(t.style) ? delete t.style.location : en(t) && qt(t.children);
3194
3181
  });
3195
3182
  }
3196
3183
  function Ss(e, t) {
@@ -3853,8 +3840,7 @@ var Jt = function(e, t) {
3853
3840
  return Jt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(o, r) {
3854
3841
  o.__proto__ = r;
3855
3842
  } || function(o, r) {
3856
- for (var n in r)
3857
- Object.prototype.hasOwnProperty.call(r, n) && (o[n] = r[n]);
3843
+ for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (o[n] = r[n]);
3858
3844
  }, Jt(e, t);
3859
3845
  };
3860
3846
  function ot(e, t) {
@@ -3868,40 +3854,34 @@ function ot(e, t) {
3868
3854
  }
3869
3855
  function Yt(e) {
3870
3856
  var t = typeof Symbol == "function" && Symbol.iterator, o = t && e[t], r = 0;
3871
- if (o)
3872
- return o.call(e);
3873
- if (e && typeof e.length == "number")
3874
- return {
3875
- next: function() {
3876
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
3877
- }
3878
- };
3857
+ if (o) return o.call(e);
3858
+ if (e && typeof e.length == "number") return {
3859
+ next: function() {
3860
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
3861
+ }
3862
+ };
3879
3863
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3880
3864
  }
3881
3865
  function Kt(e, t) {
3882
3866
  var o = typeof Symbol == "function" && e[Symbol.iterator];
3883
- if (!o)
3884
- return e;
3867
+ if (!o) return e;
3885
3868
  var r = o.call(e), n, i = [], s;
3886
3869
  try {
3887
- for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; )
3888
- i.push(n.value);
3870
+ for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; ) i.push(n.value);
3889
3871
  } catch (l) {
3890
3872
  s = { error: l };
3891
3873
  } finally {
3892
3874
  try {
3893
3875
  n && !n.done && (o = r.return) && o.call(r);
3894
3876
  } finally {
3895
- if (s)
3896
- throw s.error;
3877
+ if (s) throw s.error;
3897
3878
  }
3898
3879
  }
3899
3880
  return i;
3900
3881
  }
3901
3882
  function eo(e, t, o) {
3902
- if (arguments.length === 2)
3903
- for (var r = 0, n = t.length, i; r < n; r++)
3904
- (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
3883
+ if (arguments.length === 2) for (var r = 0, n = t.length, i; r < n; r++)
3884
+ (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
3905
3885
  return e.concat(i || t);
3906
3886
  }
3907
3887
  function ve(e) {
@@ -3950,8 +3930,7 @@ var St = function() {
3950
3930
  try {
3951
3931
  a && !a.done && (o = l.return) && o.call(l);
3952
3932
  } finally {
3953
- if (t)
3954
- throw t.error;
3933
+ if (t) throw t.error;
3955
3934
  }
3956
3935
  }
3957
3936
  else
@@ -3981,8 +3960,7 @@ var St = function() {
3981
3960
  try {
3982
3961
  g && !g.done && (n = d.return) && n.call(d);
3983
3962
  } finally {
3984
- if (r)
3985
- throw r.error;
3963
+ if (r) throw r.error;
3986
3964
  }
3987
3965
  }
3988
3966
  }
@@ -4249,8 +4227,7 @@ var Tl = gn(function(e) {
4249
4227
  try {
4250
4228
  l && !l.done && (i = s.return) && i.call(s);
4251
4229
  } finally {
4252
- if (n)
4253
- throw n.error;
4230
+ if (n) throw n.error;
4254
4231
  }
4255
4232
  }
4256
4233
  }
@@ -4565,8 +4542,7 @@ function Al(e, t) {
4565
4542
  }
4566
4543
  }
4567
4544
  function Pl(e, t) {
4568
- if (!e || !t)
4569
- return;
4545
+ if (!e || !t) return;
4570
4546
  const o = new URL(t);
4571
4547
  fetch(o.href).then((r) => r.text()).then((r) => {
4572
4548
  const n = document.createElement("style");
@@ -4576,8 +4552,7 @@ function Pl(e, t) {
4576
4552
  });
4577
4553
  }
4578
4554
  function Hl(e, t, o, r = !1) {
4579
- if (!window.emMessageBus)
4580
- return;
4555
+ if (!window.emMessageBus) return;
4581
4556
  if (!("adoptedStyleSheets" in Document.prototype) || !r)
4582
4557
  return o = Ll(e, t), o;
4583
4558
  window[Me] || (window[Me] = {}), o = Ol(e, t);
@@ -4598,8 +4573,7 @@ function Ll(e, t) {
4598
4573
  }
4599
4574
  function Ol(e, t) {
4600
4575
  return window.emMessageBus.subscribe(t, (o) => {
4601
- if (!e)
4602
- return;
4576
+ if (!e) return;
4603
4577
  const r = e.getRootNode(), n = window[Me];
4604
4578
  let i = n[t] && n[t].sheet;
4605
4579
  i ? n[t].refCount = n[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(o), n[t] = {
@@ -4707,12 +4681,10 @@ function Gl(e, t, o) {
4707
4681
  })).filter((n) => n.promotions.length > 0);
4708
4682
  }
4709
4683
  function jl(e, t, o, r) {
4710
- if (!r(e) || t !== le && !(e.categories || []).includes(t))
4711
- return !1;
4684
+ if (!r(e) || t !== le && !(e.categories || []).includes(t)) return !1;
4712
4685
  if (o !== le) {
4713
4686
  const n = e.subcategories;
4714
- if (!n || !Array.isArray(n) || !n.map((i) => String(i)).includes(o))
4715
- return !1;
4687
+ if (!n || !Array.isArray(n) || !n.map((i) => String(i)).includes(o)) return !1;
4716
4688
  }
4717
4689
  return !0;
4718
4690
  }
@@ -5606,13 +5578,11 @@ function na(e) {
5606
5578
  /*isRedesignVariant*/
5607
5579
  k[6] && /*currentPromotion*/
5608
5580
  k[26]
5609
- )
5610
- return pa;
5581
+ ) return pa;
5611
5582
  if (
5612
5583
  /*promoDetailsHasLink*/
5613
5584
  k[18]
5614
- )
5615
- return ha;
5585
+ ) return ha;
5616
5586
  }
5617
5587
  let de = Te(e), se = de && de(e), _e = W(
5618
5588
  /*promoDetailsTabs*/
@@ -6475,18 +6445,15 @@ function pa(e) {
6475
6445
  s[34](
6476
6446
  /*currentPromotion*/
6477
6447
  s[26]
6478
- ))), t)
6479
- return _a;
6448
+ ))), t) return _a;
6480
6449
  if (
6481
6450
  /*promoDetailsHasLink*/
6482
6451
  s[18]
6483
- )
6484
- return da;
6452
+ ) return da;
6485
6453
  if (
6486
6454
  /*showoptinbutton*/
6487
6455
  s[0] === "true"
6488
- )
6489
- return ma;
6456
+ ) return ma;
6490
6457
  }
6491
6458
  let n = r(e, [-1, -1, -1, -1, -1]), i = n && n(e);
6492
6459
  return {
@@ -6690,13 +6657,11 @@ function kr(e) {
6690
6657
  /*isRedesignVariant*/
6691
6658
  x[6] && /*currentPromotion*/
6692
6659
  x[26]
6693
- )
6694
- return ya;
6660
+ ) return ya;
6695
6661
  if (
6696
6662
  /*promoDetailsHasLink*/
6697
6663
  x[18]
6698
- )
6699
- return va;
6664
+ ) return va;
6700
6665
  }
6701
6666
  let H = I(e), L = H && H(e), S = (
6702
6667
  /*promoDetailsTabs*/
@@ -6842,18 +6807,15 @@ function ya(e) {
6842
6807
  s[34](
6843
6808
  /*currentPromotion*/
6844
6809
  s[26]
6845
- ))), t)
6846
- return xa;
6810
+ ))), t) return xa;
6847
6811
  if (
6848
6812
  /*promoDetailsHasLink*/
6849
6813
  s[18]
6850
- )
6851
- return Ea;
6814
+ ) return Ea;
6852
6815
  if (
6853
6816
  /*showoptinbutton*/
6854
6817
  s[0] === "true"
6855
- )
6856
- return wa;
6818
+ ) return wa;
6857
6819
  }
6858
6820
  let n = r(e, [-1, -1, -1, -1, -1]), i = n && n(e);
6859
6821
  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/CasinoPromotionsNd-acHkUZb4.cjs")).then(({default:t})=>{!customElements.get("casino-promotions-nd")&&customElements.define("casino-promotions-nd",t.element)})}
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/CasinoPromotionsNd-CXaddEYG.cjs")).then(({default:t})=>{!customElements.get("casino-promotions-nd")&&customElements.define("casino-promotions-nd",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoPromotionsNd-Dixk2C51.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoPromotionsNd-DWHK2JOu.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-promotions-nd") && customElements.define("casino-promotions-nd", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoPromotionsNd-C1NP3vUM.js";
1
+ import { C as s } from "../components/CasinoPromotionsNd-B3OVWuTD.js";
2
2
  function o(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-promotions-nd",
3
- "version": "1.99.57",
3
+ "version": "1.99.59",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-promotions-nd.cjs",
6
6
  "module": "esnext/casino-promotions-nd.js",
@@ -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-W50o8tfg.js"
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-xXZA3rYO.js"
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-DsMHU6jb.js";
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-D3TjbVKy.js";
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-R7ZoV-kY.js";
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-CVY4B-CP.js";
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-R7ZoV-kY.js";
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-DsMHU6jb.js";
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 = {