@everymatrix/casino-filter 1.87.37 → 1.87.39

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.
@@ -10,7 +10,7 @@ var Qe = (e, t, r) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writ
10
10
  Xr.call(t, r) && Qe(e, r, t[r]);
11
11
  return e;
12
12
  }, Pt = (e, t) => kr(e, jr(t));
13
- var $ = (e, t, r) => (Qe(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var D = (e, t, r) => (Qe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var Ft = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
@@ -27,7 +27,7 @@ var Ft = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function D() {
30
+ function $() {
31
31
  }
32
32
  function sr(e) {
33
33
  return e();
@@ -35,7 +35,7 @@ function sr(e) {
35
35
  function Ct() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ne(e) {
38
+ function ie(e) {
39
39
  e.forEach(sr);
40
40
  }
41
41
  function St(e) {
@@ -55,7 +55,7 @@ function lr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return D;
58
+ return $;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -112,7 +112,7 @@ function j(e) {
112
112
  function G() {
113
113
  return j(" ");
114
114
  }
115
- function $e(e, t, r, n) {
115
+ function De(e, t, r, n) {
116
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
117
  }
118
118
  function d(e, t, r) {
@@ -121,7 +121,7 @@ function d(e, t, r) {
121
121
  function qr(e) {
122
122
  return Array.from(e.childNodes);
123
123
  }
124
- function te(e, t) {
124
+ function re(e, t) {
125
125
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
126
126
  t);
127
127
  }
@@ -137,65 +137,65 @@ function Kr(e) {
137
137
  }
138
138
  ), t;
139
139
  }
140
- let we;
141
- function Se(e) {
142
- we = e;
140
+ let Te;
141
+ function we(e) {
142
+ Te = e;
143
143
  }
144
144
  function en() {
145
- if (!we)
145
+ if (!Te)
146
146
  throw new Error("Function called outside component initialization");
147
- return we;
147
+ return Te;
148
148
  }
149
149
  function tn(e) {
150
150
  en().$$.on_mount.push(e);
151
151
  }
152
- const ce = [], ot = [];
153
- let pe = [];
152
+ const fe = [], ot = [];
153
+ let de = [];
154
154
  const Lt = [], rn = /* @__PURE__ */ Promise.resolve();
155
155
  let st = !1;
156
156
  function nn() {
157
157
  st || (st = !0, rn.then(M));
158
158
  }
159
159
  function at(e) {
160
- pe.push(e);
160
+ de.push(e);
161
161
  }
162
162
  const Ye = /* @__PURE__ */ new Set();
163
- let ue = 0;
163
+ let he = 0;
164
164
  function M() {
165
- if (ue !== 0)
165
+ if (he !== 0)
166
166
  return;
167
- const e = we;
167
+ const e = Te;
168
168
  do {
169
169
  try {
170
- for (; ue < ce.length; ) {
171
- const t = ce[ue];
172
- ue++, Se(t), on(t.$$);
170
+ for (; he < fe.length; ) {
171
+ const t = fe[he];
172
+ he++, we(t), on(t.$$);
173
173
  }
174
174
  } catch (t) {
175
- throw ce.length = 0, ue = 0, t;
175
+ throw fe.length = 0, he = 0, t;
176
176
  }
177
- for (Se(null), ce.length = 0, ue = 0; ot.length; )
177
+ for (we(null), fe.length = 0, he = 0; ot.length; )
178
178
  ot.pop()();
179
- for (let t = 0; t < pe.length; t += 1) {
180
- const r = pe[t];
179
+ for (let t = 0; t < de.length; t += 1) {
180
+ const r = de[t];
181
181
  Ye.has(r) || (Ye.add(r), r());
182
182
  }
183
- pe.length = 0;
184
- } while (ce.length);
183
+ de.length = 0;
184
+ } while (fe.length);
185
185
  for (; Lt.length; )
186
186
  Lt.pop()();
187
- st = !1, Ye.clear(), Se(e);
187
+ st = !1, Ye.clear(), we(e);
188
188
  }
189
189
  function on(e) {
190
190
  if (e.fragment !== null) {
191
- e.update(), ne(e.before_update);
191
+ e.update(), ie(e.before_update);
192
192
  const t = e.dirty;
193
193
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
194
194
  }
195
195
  }
196
196
  function sn(e) {
197
197
  const t = [], r = [];
198
- pe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), pe = t;
198
+ de.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), de = t;
199
199
  }
200
200
  const an = /* @__PURE__ */ new Set();
201
201
  function ln(e, t) {
@@ -208,25 +208,25 @@ function un(e, t, r) {
208
208
  const { fragment: n, after_update: i } = e.$$;
209
209
  n && n.m(t, r), at(() => {
210
210
  const o = e.$$.on_mount.map(sr).filter(St);
211
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
211
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
212
212
  }), i.forEach(at);
213
213
  }
214
214
  function hn(e, t) {
215
215
  const r = e.$$;
216
- r.fragment !== null && (sn(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
+ r.fragment !== null && (sn(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
217
217
  }
218
218
  function cn(e, t) {
219
- e.$$.dirty[0] === -1 && (ce.push(e), nn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
+ e.$$.dirty[0] === -1 && (fe.push(e), nn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
220
220
  }
221
221
  function fn(e, t, r, n, i, o, s = null, a = [-1]) {
222
- const u = we;
223
- Se(e);
222
+ const u = Te;
223
+ we(e);
224
224
  const l = e.$$ = {
225
225
  fragment: null,
226
226
  ctx: [],
227
227
  // state
228
228
  props: o,
229
- update: D,
229
+ update: $,
230
230
  not_equal: i,
231
231
  bound: Ct(),
232
232
  // lifecycle
@@ -245,9 +245,9 @@ function fn(e, t, r, n, i, o, s = null, a = [-1]) {
245
245
  s && s(l.root);
246
246
  let h = !1;
247
247
  if (l.ctx = r ? r(e, t.props || {}, (p, f, ...g) => {
248
- const _ = g.length ? g[0] : f;
249
- return l.ctx && i(l.ctx[p], l.ctx[p] = _) && (!l.skip_bound && l.bound[p] && l.bound[p](_), h && cn(e, p)), f;
250
- }) : [], l.update(), h = !0, ne(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
248
+ const y = g.length ? g[0] : f;
249
+ return l.ctx && i(l.ctx[p], l.ctx[p] = y) && (!l.skip_bound && l.bound[p] && l.bound[p](y), h && cn(e, p)), f;
250
+ }) : [], l.update(), h = !0, ie(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
251
251
  if (t.hydrate) {
252
252
  const p = qr(t.target);
253
253
  l.fragment && l.fragment.l(p), p.forEach(V);
@@ -255,30 +255,30 @@ function fn(e, t, r, n, i, o, s = null, a = [-1]) {
255
255
  l.fragment && l.fragment.c();
256
256
  t.intro && ln(e.$$.fragment), un(e, t.target, t.anchor), M();
257
257
  }
258
- Se(u);
258
+ we(u);
259
259
  }
260
260
  let ur;
261
261
  typeof HTMLElement == "function" && (ur = class extends HTMLElement {
262
262
  constructor(t, r, n) {
263
263
  super();
264
264
  /** The Svelte component constructor */
265
- $(this, "$$ctor");
265
+ D(this, "$$ctor");
266
266
  /** Slots */
267
- $(this, "$$s");
267
+ D(this, "$$s");
268
268
  /** The Svelte component instance */
269
- $(this, "$$c");
269
+ D(this, "$$c");
270
270
  /** Whether or not the custom element is connected */
271
- $(this, "$$cn", !1);
271
+ D(this, "$$cn", !1);
272
272
  /** Component props data */
273
- $(this, "$$d", {});
273
+ D(this, "$$d", {});
274
274
  /** `true` if currently in the process of reflecting component props back to attributes */
275
- $(this, "$$r", !1);
275
+ D(this, "$$r", !1);
276
276
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
277
- $(this, "$$p_d", {});
277
+ D(this, "$$p_d", {});
278
278
  /** @type {Record<string, Function[]>} Event listeners */
279
- $(this, "$$l", {});
279
+ D(this, "$$l", {});
280
280
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
281
- $(this, "$$l_u", /* @__PURE__ */ new Map());
281
+ D(this, "$$l_u", /* @__PURE__ */ new Map());
282
282
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
283
283
  }
284
284
  addEventListener(t, r, n) {
@@ -448,7 +448,7 @@ class dn {
448
448
  *
449
449
  * @type {any}
450
450
  */
451
- $(this, "$$");
451
+ D(this, "$$");
452
452
  /**
453
453
  * ### PRIVATE API
454
454
  *
@@ -456,11 +456,11 @@ class dn {
456
456
  *
457
457
  * @type {any}
458
458
  */
459
- $(this, "$$set");
459
+ D(this, "$$set");
460
460
  }
461
461
  /** @returns {void} */
462
462
  $destroy() {
463
- hn(this, 1), this.$destroy = D;
463
+ hn(this, 1), this.$destroy = $;
464
464
  }
465
465
  /**
466
466
  * @template {Extract<keyof Events, string>} K
@@ -470,7 +470,7 @@ class dn {
470
470
  */
471
471
  $on(t, r) {
472
472
  if (!St(r))
473
- return D;
473
+ return $;
474
474
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
475
475
  return n.push(r), () => {
476
476
  const i = n.indexOf(r);
@@ -509,7 +509,7 @@ var lt = function(e, t) {
509
509
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
510
510
  }, lt(e, t);
511
511
  };
512
- function Ae(e, t) {
512
+ function Be(e, t) {
513
513
  if (typeof t != "function" && t !== null)
514
514
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
515
515
  lt(e, t);
@@ -620,9 +620,9 @@ var je = function() {
620
620
  this._finalizers = null;
621
621
  try {
622
622
  for (var f = ut(p), g = f.next(); !g.done; g = f.next()) {
623
- var _ = g.value;
623
+ var y = g.value;
624
624
  try {
625
- Mt(_);
625
+ Mt(y);
626
626
  } catch (b) {
627
627
  o = o != null ? o : [], b instanceof qe ? o = ct(ct([], ht(o)), ht(b.errors)) : o.push(b);
628
628
  }
@@ -701,7 +701,7 @@ function Me(e) {
701
701
  e();
702
702
  }
703
703
  var pr = function(e) {
704
- Ae(t, e);
704
+ Be(t, e);
705
705
  function t(r) {
706
706
  var n = e.call(this) || this;
707
707
  return n.isStopped = !1, r ? (n.destination = r, fr(r) && r.add(n)) : n.destination = xn, n;
@@ -763,7 +763,7 @@ var pr = function(e) {
763
763
  }
764
764
  }, e;
765
765
  }(), pt = function(e) {
766
- Ae(t, e);
766
+ Be(t, e);
767
767
  function t(r, n, i) {
768
768
  var o = e.call(this) || this, s;
769
769
  return z(r) || !r ? s = {
@@ -819,7 +819,7 @@ var Ut = function() {
819
819
  }
820
820
  }, e.prototype.forEach = function(t, r) {
821
821
  var n = this;
822
- return r = $t(r), new r(function(i, o) {
822
+ return r = Dt(r), new r(function(i, o) {
823
823
  var s = new pt({
824
824
  next: function(a) {
825
825
  try {
@@ -844,7 +844,7 @@ var Ut = function() {
844
844
  return wn(t)(this);
845
845
  }, e.prototype.toPromise = function(t) {
846
846
  var r = this;
847
- return t = $t(t), new t(function(n, i) {
847
+ return t = Dt(t), new t(function(n, i) {
848
848
  var o;
849
849
  r.subscribe(function(s) {
850
850
  return o = s;
@@ -858,7 +858,7 @@ var Ut = function() {
858
858
  return new e(t);
859
859
  }, e;
860
860
  }();
861
- function $t(e) {
861
+ function Dt(e) {
862
862
  var t;
863
863
  return (t = e != null ? e : bn.Promise) !== null && t !== void 0 ? t : Promise;
864
864
  }
@@ -873,13 +873,13 @@ var An = hr(function(e) {
873
873
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
874
874
  };
875
875
  }), dr = function(e) {
876
- Ae(t, e);
876
+ Be(t, e);
877
877
  function t() {
878
878
  var r = e.call(this) || this;
879
879
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
880
880
  }
881
881
  return t.prototype.lift = function(r) {
882
- var n = new Dt(this, this);
882
+ var n = new $t(this, this);
883
883
  return n.operator = r, n;
884
884
  }, t.prototype._throwIfClosed = function() {
885
885
  if (this.closed)
@@ -950,10 +950,10 @@ var An = hr(function(e) {
950
950
  var r = new Ut();
951
951
  return r.source = this, r;
952
952
  }, t.create = function(r, n) {
953
- return new Dt(r, n);
953
+ return new $t(r, n);
954
954
  }, t;
955
- }(Ut), Dt = function(e) {
956
- Ae(t, e);
955
+ }(Ut), $t = function(e) {
956
+ Be(t, e);
957
957
  function t(r, n) {
958
958
  var i = e.call(this) || this;
959
959
  return i.destination = r, i.source = n, i;
@@ -977,7 +977,7 @@ var An = hr(function(e) {
977
977
  },
978
978
  delegate: void 0
979
979
  }, Bn = function(e) {
980
- Ae(t, e);
980
+ Be(t, e);
981
981
  function t(r, n, i) {
982
982
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = mr);
983
983
  var o = e.call(this) || this;
@@ -1006,39 +1006,39 @@ const Gt = [], kt = {}, Pn = (e, t = 0) => {
1006
1006
  kt[e] = r, Gt.push(e);
1007
1007
  }
1008
1008
  return kt[e];
1009
- }, he = [];
1009
+ }, ce = [];
1010
1010
  function Fn(e, t) {
1011
1011
  return {
1012
1012
  subscribe: Ve(e, t).subscribe
1013
1013
  };
1014
1014
  }
1015
- function Ve(e, t = D) {
1015
+ function Ve(e, t = $) {
1016
1016
  let r;
1017
1017
  const n = /* @__PURE__ */ new Set();
1018
1018
  function i(a) {
1019
1019
  if (ar(e, a) && (e = a, r)) {
1020
- const u = !he.length;
1020
+ const u = !ce.length;
1021
1021
  for (const l of n)
1022
- l[1](), he.push(l, e);
1022
+ l[1](), ce.push(l, e);
1023
1023
  if (u) {
1024
- for (let l = 0; l < he.length; l += 2)
1025
- he[l][0](he[l + 1]);
1026
- he.length = 0;
1024
+ for (let l = 0; l < ce.length; l += 2)
1025
+ ce[l][0](ce[l + 1]);
1026
+ ce.length = 0;
1027
1027
  }
1028
1028
  }
1029
1029
  }
1030
1030
  function o(a) {
1031
1031
  i(a(e));
1032
1032
  }
1033
- function s(a, u = D) {
1033
+ function s(a, u = $) {
1034
1034
  const l = [a, u];
1035
- return n.add(l), n.size === 1 && (r = t(i, o) || D), a(e), () => {
1035
+ return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
1036
1036
  n.delete(l), n.size === 0 && r && (r(), r = null);
1037
1037
  };
1038
1038
  }
1039
1039
  return { set: i, update: o, subscribe: s };
1040
1040
  }
1041
- function ve(e, t, r) {
1041
+ function ye(e, t, r) {
1042
1042
  const n = !Array.isArray(e), i = n ? [e] : e;
1043
1043
  if (!i.every(Boolean))
1044
1044
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1046,16 +1046,16 @@ function ve(e, t, r) {
1046
1046
  return Fn(r, (s, a) => {
1047
1047
  let u = !1;
1048
1048
  const l = [];
1049
- let h = 0, p = D;
1049
+ let h = 0, p = $;
1050
1050
  const f = () => {
1051
1051
  if (h)
1052
1052
  return;
1053
1053
  p();
1054
- const _ = t(n ? l[0] : l, s, a);
1055
- o ? s(_) : p = St(_) ? _ : D;
1054
+ const y = t(n ? l[0] : l, s, a);
1055
+ o ? s(y) : p = St(y) ? y : $;
1056
1056
  }, g = i.map(
1057
- (_, b) => lr(
1058
- _,
1057
+ (y, b) => lr(
1058
+ y,
1059
1059
  (w) => {
1060
1060
  l[b] = w, h &= ~(1 << b), u && f();
1061
1061
  },
@@ -1065,7 +1065,7 @@ function ve(e, t, r) {
1065
1065
  )
1066
1066
  );
1067
1067
  return u = !0, f(), function() {
1068
- ne(g), p(), u = !1;
1068
+ ie(g), p(), u = !1;
1069
1069
  };
1070
1070
  });
1071
1071
  }
@@ -1089,19 +1089,19 @@ function Rn(e) {
1089
1089
  function Un(e) {
1090
1090
  return Array.isArray(e) ? [] : {};
1091
1091
  }
1092
- function Te(e, t) {
1093
- return t.clone !== !1 && t.isMergeableObject(e) ? de(Un(e), e, t) : e;
1092
+ function He(e, t) {
1093
+ return t.clone !== !1 && t.isMergeableObject(e) ? me(Un(e), e, t) : e;
1094
1094
  }
1095
- function $n(e, t, r) {
1095
+ function Dn(e, t, r) {
1096
1096
  return e.concat(t).map(function(n) {
1097
- return Te(n, r);
1097
+ return He(n, r);
1098
1098
  });
1099
1099
  }
1100
- function Dn(e, t) {
1100
+ function $n(e, t) {
1101
1101
  if (!t.customMerge)
1102
- return de;
1102
+ return me;
1103
1103
  var r = t.customMerge(e);
1104
- return typeof r == "function" ? r : de;
1104
+ return typeof r == "function" ? r : me;
1105
1105
  }
1106
1106
  function Gn(e) {
1107
1107
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -1124,24 +1124,24 @@ function kn(e, t) {
1124
1124
  function jn(e, t, r) {
1125
1125
  var n = {};
1126
1126
  return r.isMergeableObject(e) && jt(e).forEach(function(i) {
1127
- n[i] = Te(e[i], r);
1127
+ n[i] = He(e[i], r);
1128
1128
  }), jt(t).forEach(function(i) {
1129
- kn(e, i) || (br(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dn(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
1129
+ kn(e, i) || (br(e, i) && r.isMergeableObject(t[i]) ? n[i] = $n(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1130
1130
  }), n;
1131
1131
  }
1132
- function de(e, t, r) {
1133
- r = r || {}, r.arrayMerge = r.arrayMerge || $n, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = Te;
1132
+ function me(e, t, r) {
1133
+ r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = He;
1134
1134
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1135
- return o ? n ? r.arrayMerge(e, t, r) : jn(e, t, r) : Te(t, r);
1135
+ return o ? n ? r.arrayMerge(e, t, r) : jn(e, t, r) : He(t, r);
1136
1136
  }
1137
- de.all = function(t, r) {
1137
+ me.all = function(t, r) {
1138
1138
  if (!Array.isArray(t))
1139
1139
  throw new Error("first argument should be an array");
1140
1140
  return t.reduce(function(n, i) {
1141
- return de(n, i, r);
1141
+ return me(n, i, r);
1142
1142
  }, {});
1143
1143
  };
1144
- var Vn = de, Xn = Vn;
1144
+ var Vn = me, Xn = Vn;
1145
1145
  const Wn = /* @__PURE__ */ Cn(Xn);
1146
1146
  var dt = function(e, t) {
1147
1147
  return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -1233,28 +1233,28 @@ var qn = function() {
1233
1233
  }
1234
1234
  }, tt = {
1235
1235
  variadic: Yn
1236
- }, De = function() {
1237
- return De = Object.assign || function(t) {
1236
+ }, $e = function() {
1237
+ return $e = Object.assign || function(t) {
1238
1238
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1239
1239
  r = arguments[n];
1240
1240
  for (var o in r)
1241
1241
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1242
1242
  }
1243
1243
  return t;
1244
- }, De.apply(this, arguments);
1244
+ }, $e.apply(this, arguments);
1245
1245
  };
1246
- var y;
1246
+ var _;
1247
1247
  (function(e) {
1248
1248
  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";
1249
- })(y || (y = {}));
1249
+ })(_ || (_ = {}));
1250
1250
  var B;
1251
1251
  (function(e) {
1252
1252
  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";
1253
1253
  })(B || (B = {}));
1254
- var me;
1254
+ var be;
1255
1255
  (function(e) {
1256
1256
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1257
- })(me || (me = {}));
1257
+ })(be || (be = {}));
1258
1258
  function Vt(e) {
1259
1259
  return e.type === B.literal;
1260
1260
  }
@@ -1283,10 +1283,10 @@ function wr(e) {
1283
1283
  return e.type === B.tag;
1284
1284
  }
1285
1285
  function Tr(e) {
1286
- return !!(e && typeof e == "object" && e.type === me.number);
1286
+ return !!(e && typeof e == "object" && e.type === be.number);
1287
1287
  }
1288
1288
  function mt(e) {
1289
- return !!(e && typeof e == "object" && e.type === me.dateTime);
1289
+ return !!(e && typeof e == "object" && e.type === be.dateTime);
1290
1290
  }
1291
1291
  var Hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[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;
1292
1292
  function ii(e) {
@@ -3188,7 +3188,7 @@ var Hi = (
3188
3188
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3189
3189
  if (n)
3190
3190
  break;
3191
- return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3191
+ return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3192
3192
  } else if (o === 60 && !this.ignoreTag && yt(this.peek() || 0)) {
3193
3193
  var s = this.parseTag(t, r);
3194
3194
  if (s.err)
@@ -3223,9 +3223,9 @@ var Hi = (
3223
3223
  var s = o.val, a = this.clonePosition();
3224
3224
  if (this.bumpIf("</")) {
3225
3225
  if (this.isEOF() || !yt(this.char()))
3226
- return this.error(y.INVALID_TAG, x(a, this.clonePosition()));
3226
+ return this.error(_.INVALID_TAG, x(a, this.clonePosition()));
3227
3227
  var u = this.clonePosition(), l = this.parseTagName();
3228
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, x(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3228
+ return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, x(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3229
3229
  val: {
3230
3230
  type: B.tag,
3231
3231
  value: i,
@@ -3233,11 +3233,11 @@ var Hi = (
3233
3233
  location: x(n, this.clonePosition())
3234
3234
  },
3235
3235
  err: null
3236
- } : this.error(y.INVALID_TAG, x(a, this.clonePosition())));
3236
+ } : this.error(_.INVALID_TAG, x(a, this.clonePosition())));
3237
3237
  } else
3238
- return this.error(y.UNCLOSED_TAG, x(n, this.clonePosition()));
3238
+ return this.error(_.UNCLOSED_TAG, x(n, this.clonePosition()));
3239
3239
  } else
3240
- return this.error(y.INVALID_TAG, x(n, this.clonePosition()));
3240
+ return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
3241
3241
  }, e.prototype.parseTagName = function() {
3242
3242
  var t = this.offset();
3243
3243
  for (this.bump(); !this.isEOF() && Bi(this.char()); )
@@ -3312,14 +3312,14 @@ var Hi = (
3312
3312
  }, e.prototype.parseArgument = function(t, r) {
3313
3313
  var n = this.clonePosition();
3314
3314
  if (this.bump(), this.bumpSpace(), this.isEOF())
3315
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3315
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3316
3316
  if (this.char() === 125)
3317
- return this.bump(), this.error(y.EMPTY_ARGUMENT, x(n, this.clonePosition()));
3317
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, x(n, this.clonePosition()));
3318
3318
  var i = this.parseIdentifierIfPossible().value;
3319
3319
  if (!i)
3320
- return this.error(y.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3320
+ return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3321
3321
  if (this.bumpSpace(), this.isEOF())
3322
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3322
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3323
3323
  switch (this.char()) {
3324
3324
  case 125:
3325
3325
  return this.bump(), {
@@ -3332,9 +3332,9 @@ var Hi = (
3332
3332
  err: null
3333
3333
  };
3334
3334
  case 44:
3335
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3335
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3336
3336
  default:
3337
- return this.error(y.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3337
+ return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3338
3338
  }
3339
3339
  }, e.prototype.parseIdentifierIfPossible = function() {
3340
3340
  var t = this.clonePosition(), r = this.offset(), n = vt(this.message, r), i = r + n.length;
@@ -3345,7 +3345,7 @@ var Hi = (
3345
3345
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3346
3346
  switch (a) {
3347
3347
  case "":
3348
- return this.error(y.EXPECT_ARGUMENT_TYPE, x(s, u));
3348
+ return this.error(_.EXPECT_ARGUMENT_TYPE, x(s, u));
3349
3349
  case "number":
3350
3350
  case "date":
3351
3351
  case "time": {
@@ -3358,13 +3358,13 @@ var Hi = (
3358
3358
  return p;
3359
3359
  var f = Ti(p.val);
3360
3360
  if (f.length === 0)
3361
- return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3361
+ return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3362
3362
  var g = x(h, this.clonePosition());
3363
3363
  l = { style: f, styleLocation: g };
3364
3364
  }
3365
- var _ = this.tryParseArgumentClose(i);
3366
- if (_.err)
3367
- return _;
3365
+ var y = this.tryParseArgumentClose(i);
3366
+ if (y.err)
3367
+ return y;
3368
3368
  var b = x(i, this.clonePosition());
3369
3369
  if (l && Zt(l == null ? void 0 : l.style, "::", 0)) {
3370
3370
  var w = wi(l.style.slice(2));
@@ -3376,11 +3376,11 @@ var Hi = (
3376
3376
  };
3377
3377
  } else {
3378
3378
  if (w.length === 0)
3379
- return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3379
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3380
3380
  var T = w;
3381
3381
  this.locale && (T = ci(w, this.locale));
3382
3382
  var f = {
3383
- type: me.dateTime,
3383
+ type: be.dateTime,
3384
3384
  pattern: T,
3385
3385
  location: l.styleLocation,
3386
3386
  parsedOptions: this.shouldParseSkeletons ? ii(T) : {}
@@ -3406,14 +3406,14 @@ var Hi = (
3406
3406
  case "select": {
3407
3407
  var m = this.clonePosition();
3408
3408
  if (this.bumpSpace(), !this.bumpIf(","))
3409
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(m, De({}, m)));
3409
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(m, $e({}, m)));
3410
3410
  this.bumpSpace();
3411
3411
  var C = this.parseIdentifierIfPossible(), L = 0;
3412
3412
  if (a !== "select" && C.value === "offset") {
3413
3413
  if (!this.bumpIf(":"))
3414
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3414
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3415
3415
  this.bumpSpace();
3416
- var p = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3416
+ var p = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3417
3417
  if (p.err)
3418
3418
  return p;
3419
3419
  this.bumpSpace(), C = this.parseIdentifierIfPossible(), L = p.val;
@@ -3421,9 +3421,9 @@ var Hi = (
3421
3421
  var R = this.tryParsePluralOrSelectOptions(t, a, r, C);
3422
3422
  if (R.err)
3423
3423
  return R;
3424
- var _ = this.tryParseArgumentClose(i);
3425
- if (_.err)
3426
- return _;
3424
+ var y = this.tryParseArgumentClose(i);
3425
+ if (y.err)
3426
+ return y;
3427
3427
  var X = x(i, this.clonePosition());
3428
3428
  return a === "select" ? {
3429
3429
  val: {
@@ -3446,10 +3446,10 @@ var Hi = (
3446
3446
  };
3447
3447
  }
3448
3448
  default:
3449
- return this.error(y.INVALID_ARGUMENT_TYPE, x(s, u));
3449
+ return this.error(_.INVALID_ARGUMENT_TYPE, x(s, u));
3450
3450
  }
3451
3451
  }, e.prototype.tryParseArgumentClose = function(t) {
3452
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3452
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3453
3453
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3454
3454
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3455
3455
  var n = this.char();
@@ -3458,7 +3458,7 @@ var Hi = (
3458
3458
  this.bump();
3459
3459
  var i = this.clonePosition();
3460
3460
  if (!this.bumpUntil("'"))
3461
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
3461
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
3462
3462
  this.bump();
3463
3463
  break;
3464
3464
  }
@@ -3490,11 +3490,11 @@ var Hi = (
3490
3490
  try {
3491
3491
  n = si(t);
3492
3492
  } catch (i) {
3493
- return this.error(y.INVALID_NUMBER_SKELETON, r);
3493
+ return this.error(_.INVALID_NUMBER_SKELETON, r);
3494
3494
  }
3495
3495
  return {
3496
3496
  val: {
3497
- type: me.number,
3497
+ type: be.number,
3498
3498
  tokens: n,
3499
3499
  location: r,
3500
3500
  parsedOptions: this.shouldParseSkeletons ? hi(n) : {}
@@ -3506,7 +3506,7 @@ var Hi = (
3506
3506
  if (l.length === 0) {
3507
3507
  var p = this.clonePosition();
3508
3508
  if (r !== "select" && this.bumpIf("=")) {
3509
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3509
+ var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3510
3510
  if (f.err)
3511
3511
  return f;
3512
3512
  h = x(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
@@ -3514,26 +3514,26 @@ var Hi = (
3514
3514
  break;
3515
3515
  }
3516
3516
  if (u.has(l))
3517
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3517
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3518
3518
  l === "other" && (s = !0), this.bumpSpace();
3519
3519
  var g = this.clonePosition();
3520
3520
  if (!this.bumpIf("{"))
3521
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3522
- var _ = this.parseMessage(t + 1, r, n);
3523
- if (_.err)
3524
- return _;
3521
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3522
+ var y = this.parseMessage(t + 1, r, n);
3523
+ if (y.err)
3524
+ return y;
3525
3525
  var b = this.tryParseArgumentClose(g);
3526
3526
  if (b.err)
3527
3527
  return b;
3528
3528
  a.push([
3529
3529
  l,
3530
3530
  {
3531
- value: _.val,
3531
+ value: y.val,
3532
3532
  location: x(g, this.clonePosition())
3533
3533
  }
3534
3534
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3535
3535
  }
3536
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3536
+ return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3537
3537
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3538
3538
  var n = 1, i = this.clonePosition();
3539
3539
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3636,18 +3636,18 @@ function _t(e) {
3636
3636
  });
3637
3637
  }
3638
3638
  function Fi(e, t) {
3639
- t === void 0 && (t = {}), t = De({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3639
+ t === void 0 && (t = {}), t = $e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3640
3640
  var r = new Hi(e, t).parse();
3641
3641
  if (r.err) {
3642
- var n = SyntaxError(y[r.err.kind]);
3642
+ var n = SyntaxError(_[r.err.kind]);
3643
3643
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3644
3644
  }
3645
3645
  return t != null && t.captureLocation || _t(r.val), r.val;
3646
3646
  }
3647
- var be;
3647
+ var ge;
3648
3648
  (function(e) {
3649
3649
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3650
- })(be || (be = {}));
3650
+ })(ge || (ge = {}));
3651
3651
  var We = (
3652
3652
  /** @class */
3653
3653
  function(e) {
@@ -3665,7 +3665,7 @@ var We = (
3665
3665
  function(e) {
3666
3666
  Xe(t, e);
3667
3667
  function t(r, n, i, o) {
3668
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3668
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ge.INVALID_VALUE, o) || this;
3669
3669
  }
3670
3670
  return t;
3671
3671
  }(We)
@@ -3674,7 +3674,7 @@ var We = (
3674
3674
  function(e) {
3675
3675
  Xe(t, e);
3676
3676
  function t(r, n, i) {
3677
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3677
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ge.INVALID_VALUE, i) || this;
3678
3678
  }
3679
3679
  return t;
3680
3680
  }(We)
@@ -3683,7 +3683,7 @@ var We = (
3683
3683
  function(e) {
3684
3684
  Xe(t, e);
3685
3685
  function t(r, n) {
3686
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3686
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ge.MISSING_VALUE, n) || this;
3687
3687
  }
3688
3688
  return t;
3689
3689
  }(We)
@@ -3760,10 +3760,10 @@ function Re(e, t, r, n, i, o, s) {
3760
3760
  continue;
3761
3761
  }
3762
3762
  if (wr(h)) {
3763
- var _ = h.children, b = h.value, w = i[b];
3763
+ var y = h.children, b = h.value, w = i[b];
3764
3764
  if (!Li(w))
3765
3765
  throw new Ci(b, "function", s);
3766
- var T = Re(_, t, r, n, i, o), S = w(T.map(function(L) {
3766
+ var T = Re(y, t, r, n, i, o), S = w(T.map(function(L) {
3767
3767
  return L.value;
3768
3768
  }));
3769
3769
  Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
@@ -3786,7 +3786,7 @@ function Re(e, t, r, n, i, o, s) {
3786
3786
  if (!Intl.PluralRules)
3787
3787
  throw new We(`Intl.PluralRules is not available in this environment.
3788
3788
  Try polyfilling it using "@formatjs/intl-pluralrules"
3789
- `, be.MISSING_INTL_API, s);
3789
+ `, ge.MISSING_INTL_API, s);
3790
3790
  var C = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3791
3791
  m = h.options[C] || h.options.other;
3792
3792
  }
@@ -3966,7 +3966,7 @@ var Ui = (
3966
3966
  }, e;
3967
3967
  }()
3968
3968
  );
3969
- function $i(e, t) {
3969
+ function Di(e, t) {
3970
3970
  if (t == null)
3971
3971
  return;
3972
3972
  if (t in e)
@@ -3987,20 +3987,20 @@ function $i(e, t) {
3987
3987
  n = void 0;
3988
3988
  return n;
3989
3989
  }
3990
- const Y = {}, Di = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), Ir = (e, t) => {
3990
+ const q = {}, $i = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Ir = (e, t) => {
3991
3991
  if (t == null)
3992
3992
  return;
3993
- if (t in Y && e in Y[t])
3994
- return Y[t][e];
3993
+ if (t in q && e in q[t])
3994
+ return q[t][e];
3995
3995
  const r = ze(t);
3996
3996
  for (let n = 0; n < r.length; n++) {
3997
3997
  const i = r[n], o = ki(i, e);
3998
3998
  if (o)
3999
- return Di(e, t, o);
3999
+ return $i(e, t, o);
4000
4000
  }
4001
4001
  };
4002
4002
  let wt;
4003
- const ye = Ve({});
4003
+ const _e = Ve({});
4004
4004
  function Gi(e) {
4005
4005
  return wt[e] || null;
4006
4006
  }
@@ -4011,7 +4011,7 @@ function ki(e, t) {
4011
4011
  if (!Lr(e))
4012
4012
  return null;
4013
4013
  const r = Gi(e);
4014
- return $i(r, t);
4014
+ return Di(r, t);
4015
4015
  }
4016
4016
  function ji(e) {
4017
4017
  if (e == null)
@@ -4024,13 +4024,13 @@ function ji(e) {
4024
4024
  }
4025
4025
  }
4026
4026
  function Nr(e, ...t) {
4027
- delete Y[e], ye.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4027
+ delete q[e], _e.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4028
4028
  }
4029
- ve(
4030
- [ye],
4029
+ ye(
4030
+ [_e],
4031
4031
  ([e]) => Object.keys(e)
4032
4032
  );
4033
- ye.subscribe((e) => wt = e);
4033
+ _e.subscribe((e) => wt = e);
4034
4034
  const Ue = {};
4035
4035
  function Vi(e, t) {
4036
4036
  Ue[e].delete(t), Ue[e].size === 0 && delete Ue[e];
@@ -4057,20 +4057,20 @@ function Wi(e, t) {
4057
4057
  t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
4058
4058
  ).then((n) => Nr(e, ...n));
4059
4059
  }
4060
- const Ee = {};
4060
+ const Se = {};
4061
4061
  function Rr(e) {
4062
4062
  if (!xt(e))
4063
- return e in Ee ? Ee[e] : Promise.resolve();
4063
+ return e in Se ? Se[e] : Promise.resolve();
4064
4064
  const t = Xi(e);
4065
- return Ee[e] = Promise.all(
4065
+ return Se[e] = Promise.all(
4066
4066
  t.map(
4067
4067
  ([r, n]) => Wi(r, n)
4068
4068
  )
4069
4069
  ).then(() => {
4070
4070
  if (xt(e))
4071
4071
  return Rr(e);
4072
- delete Ee[e];
4073
- }), Ee[e];
4072
+ delete Se[e];
4073
+ }), Se[e];
4074
4074
  }
4075
4075
  const zi = {
4076
4076
  number: {
@@ -4109,7 +4109,7 @@ const zi = {
4109
4109
  handleMissingMessage: void 0,
4110
4110
  ignoreTag: !0
4111
4111
  }, Ji = Zi;
4112
- function ge() {
4112
+ function ve() {
4113
4113
  return Ji;
4114
4114
  }
4115
4115
  const it = Ve(!1);
@@ -4126,11 +4126,11 @@ const Ge = Ve(null);
4126
4126
  function er(e) {
4127
4127
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4128
4128
  }
4129
- function ze(e, t = ge().fallbackLocale) {
4129
+ function ze(e, t = ve().fallbackLocale) {
4130
4130
  const r = er(e);
4131
4131
  return t ? [.../* @__PURE__ */ new Set([...r, ...er(t)])] : r;
4132
4132
  }
4133
- function ie() {
4133
+ function oe() {
4134
4134
  return Et != null ? Et : void 0;
4135
4135
  }
4136
4136
  Ge.subscribe((e) => {
@@ -4138,9 +4138,9 @@ Ge.subscribe((e) => {
4138
4138
  });
4139
4139
  const no = (e) => {
4140
4140
  if (e && ji(e) && xt(e)) {
4141
- const { loadingDelay: t } = ge();
4141
+ const { loadingDelay: t } = ve();
4142
4142
  let r;
4143
- return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
4143
+ return typeof window != "undefined" && oe() != null && t ? r = window.setTimeout(
4144
4144
  () => it.set(!0),
4145
4145
  t
4146
4146
  ) : it.set(!0), Rr(e).then(() => {
@@ -4150,7 +4150,7 @@ const no = (e) => {
4150
4150
  });
4151
4151
  }
4152
4152
  return Ge.set(e);
4153
- }, re = ro(to({}, Ge), {
4153
+ }, ne = ro(to({}, Ge), {
4154
4154
  set: no
4155
4155
  }), Ze = (e) => {
4156
4156
  const t = /* @__PURE__ */ Object.create(null);
@@ -4159,75 +4159,75 @@ const no = (e) => {
4159
4159
  return i in t ? t[i] : t[i] = e(n);
4160
4160
  };
4161
4161
  };
4162
- var io = Object.defineProperty, ke = Object.getOwnPropertySymbols, Ur = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
4162
+ var io = Object.defineProperty, ke = Object.getOwnPropertySymbols, Ur = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
4163
4163
  for (var r in t || (t = {}))
4164
4164
  Ur.call(t, r) && tr(e, r, t[r]);
4165
4165
  if (ke)
4166
4166
  for (var r of ke(t))
4167
- $r.call(t, r) && tr(e, r, t[r]);
4167
+ Dr.call(t, r) && tr(e, r, t[r]);
4168
4168
  return e;
4169
- }, _e = (e, t) => {
4169
+ }, xe = (e, t) => {
4170
4170
  var r = {};
4171
4171
  for (var n in e)
4172
4172
  Ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4173
4173
  if (e != null && ke)
4174
4174
  for (var n of ke(e))
4175
- t.indexOf(n) < 0 && $r.call(e, n) && (r[n] = e[n]);
4175
+ t.indexOf(n) < 0 && Dr.call(e, n) && (r[n] = e[n]);
4176
4176
  return r;
4177
4177
  };
4178
- const He = (e, t) => {
4179
- const { formats: r } = ge();
4178
+ const Ae = (e, t) => {
4179
+ const { formats: r } = ve();
4180
4180
  if (e in r && t in r[e])
4181
4181
  return r[e][t];
4182
4182
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4183
4183
  }, oo = Ze(
4184
4184
  (e) => {
4185
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4185
+ var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4186
4186
  if (r == null)
4187
4187
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4188
- return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4188
+ return n && (i = Ae("number", n)), new Intl.NumberFormat(r, i);
4189
4189
  }
4190
4190
  ), so = Ze(
4191
4191
  (e) => {
4192
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4192
+ var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4193
4193
  if (r == null)
4194
4194
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4195
- return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4195
+ return n ? i = Ae("date", n) : Object.keys(i).length === 0 && (i = Ae("date", "short")), new Intl.DateTimeFormat(r, i);
4196
4196
  }
4197
4197
  ), ao = Ze(
4198
4198
  (e) => {
4199
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4199
+ var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4200
4200
  if (r == null)
4201
4201
  throw new Error(
4202
4202
  '[svelte-i18n] A "locale" must be set to format time values'
4203
4203
  );
4204
- return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4204
+ return n ? i = Ae("time", n) : Object.keys(i).length === 0 && (i = Ae("time", "short")), new Intl.DateTimeFormat(r, i);
4205
4205
  }
4206
4206
  ), lo = (e = {}) => {
4207
4207
  var t = e, {
4208
- locale: r = ie()
4209
- } = t, n = _e(t, [
4208
+ locale: r = oe()
4209
+ } = t, n = xe(t, [
4210
4210
  "locale"
4211
4211
  ]);
4212
4212
  return oo(Tt({ locale: r }, n));
4213
4213
  }, uo = (e = {}) => {
4214
4214
  var t = e, {
4215
- locale: r = ie()
4216
- } = t, n = _e(t, [
4215
+ locale: r = oe()
4216
+ } = t, n = xe(t, [
4217
4217
  "locale"
4218
4218
  ]);
4219
4219
  return so(Tt({ locale: r }, n));
4220
4220
  }, ho = (e = {}) => {
4221
4221
  var t = e, {
4222
- locale: r = ie()
4223
- } = t, n = _e(t, [
4222
+ locale: r = oe()
4223
+ } = t, n = xe(t, [
4224
4224
  "locale"
4225
4225
  ]);
4226
4226
  return ao(Tt({ locale: r }, n));
4227
4227
  }, co = Ze(
4228
4228
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4229
- (e, t = ie()) => new Ui(e, t, ge().formats, {
4230
- ignoreTag: ge().ignoreTag
4229
+ (e, t = oe()) => new Ui(e, t, ve().formats, {
4230
+ ignoreTag: ve().ignoreTag
4231
4231
  })
4232
4232
  ), fo = (e, t = {}) => {
4233
4233
  var r, n, i, o;
@@ -4235,7 +4235,7 @@ const He = (e, t) => {
4235
4235
  typeof e == "object" && (s = e, e = s.id);
4236
4236
  const {
4237
4237
  values: a,
4238
- locale: u = ie(),
4238
+ locale: u = oe(),
4239
4239
  default: l
4240
4240
  } = s;
4241
4241
  if (u == null)
@@ -4244,7 +4244,7 @@ const He = (e, t) => {
4244
4244
  );
4245
4245
  let h = Ir(e, u);
4246
4246
  if (!h)
4247
- h = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4247
+ h = (o = (i = (n = (r = ve()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4248
4248
  else if (typeof h != "string")
4249
4249
  return console.warn(
4250
4250
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4261,15 +4261,15 @@ const He = (e, t) => {
4261
4261
  );
4262
4262
  }
4263
4263
  return p;
4264
- }, po = (e, t) => ho(t).format(e), mo = (e, t) => uo(t).format(e), bo = (e, t) => lo(t).format(e), go = (e, t = ie()) => Ir(e, t), vo = ve([re, ye], () => fo);
4265
- ve([re], () => po);
4266
- ve([re], () => mo);
4267
- ve([re], () => bo);
4268
- ve([re, ye], () => go);
4264
+ }, po = (e, t) => ho(t).format(e), mo = (e, t) => uo(t).format(e), bo = (e, t) => lo(t).format(e), go = (e, t = oe()) => Ir(e, t), vo = ye([ne, _e], () => fo);
4265
+ ye([ne], () => po);
4266
+ ye([ne], () => mo);
4267
+ ye([ne], () => bo);
4268
+ ye([ne, _e], () => go);
4269
4269
  window.emWidgets = { topic: Pn };
4270
4270
  const yo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4271
4271
  String(Number.MAX_SAFE_INTEGER).length;
4272
- const fe = "__WIDGET_GLOBAL_STYLE_CACHE__";
4272
+ const pe = "__WIDGET_GLOBAL_STYLE_CACHE__";
4273
4273
  function _o(e, t) {
4274
4274
  if (e) {
4275
4275
  const r = document.createElement("style");
@@ -4292,11 +4292,11 @@ function Eo(e, t, r, n = !1) {
4292
4292
  return;
4293
4293
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
4294
4294
  return r = So(e, t), r;
4295
- window[fe] || (window[fe] = {}), r = wo(e, t);
4295
+ window[pe] || (window[pe] = {}), r = wo(e, t);
4296
4296
  const o = r.unsubscribe.bind(r), s = () => {
4297
- if (window[fe][t]) {
4298
- const a = window[fe][t];
4299
- a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[fe][t];
4297
+ if (window[pe][t]) {
4298
+ const a = window[pe][t];
4299
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[pe][t];
4300
4300
  }
4301
4301
  o();
4302
4302
  };
@@ -4313,7 +4313,7 @@ function wo(e, t) {
4313
4313
  var a;
4314
4314
  if (!e)
4315
4315
  return;
4316
- const n = e.getRootNode(), i = window[fe];
4316
+ const n = e.getRootNode(), i = window[pe];
4317
4317
  let o = (a = i[t]) == null ? void 0 : a.sheet;
4318
4318
  o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4319
4319
  sheet: o,
@@ -4324,8 +4324,8 @@ function wo(e, t) {
4324
4324
  });
4325
4325
  }
4326
4326
  function To({ withLocale: e, translations: t }) {
4327
- re.subscribe((r) => {
4328
- r == null && (ye.set(t), re.set(e));
4327
+ ne.subscribe((r) => {
4328
+ r == null && (_e.set(t), ne.set(e));
4329
4329
  });
4330
4330
  }
4331
4331
  function rr(e, t) {
@@ -4452,37 +4452,37 @@ function Ao(e) {
4452
4452
  let t, r, n, i, o, s, a, u, l = (
4453
4453
  /*$_*/
4454
4454
  e[11]("filterby") + ""
4455
- ), h, p, f, g, _ = (
4455
+ ), h, p, f, g, y = (
4456
4456
  /*$_*/
4457
4457
  e[11]("providers") + ""
4458
- ), b, w, T, S, m, C, L, R, X, O, J, Be, W, q = (
4458
+ ), b, w, T, S, m, C, L, R, X, O, J, Q, W, K = (
4459
4459
  /*$_*/
4460
4460
  e[11]("clear") + ""
4461
- ), oe, K, ee, se, ae, xe;
4461
+ ), se, ee, te, ae, le, Ee;
4462
4462
  function Pe(c, E) {
4463
4463
  return (
4464
4464
  /*fullSelection*/
4465
4465
  c[7] ? Fo : Po
4466
4466
  );
4467
4467
  }
4468
- let le = Pe(e), U = le(e), Q = Nt(
4468
+ let ue = Pe(e), U = ue(e), Y = Nt(
4469
4469
  /*vendorArray*/
4470
4470
  e[5]
4471
4471
  ), I = [];
4472
- for (let c = 0; c < Q.length; c += 1)
4473
- I[c] = or(ir(e, Q, c));
4472
+ for (let c = 0; c < Y.length; c += 1)
4473
+ I[c] = or(ir(e, Y, c));
4474
4474
  return {
4475
4475
  c() {
4476
- t = A("div"), r = A("div"), n = A("div"), i = Oe("svg"), o = Oe("path"), s = G(), a = A("div"), u = A("span"), h = j(l), p = G(), f = A("div"), g = A("span"), b = j(_), w = G(), U.c(), T = G(), S = A("span"), m = Oe("svg"), C = Oe("path"), X = G(), O = A("div"), J = A("ul");
4476
+ t = A("div"), r = A("div"), n = A("div"), i = Oe("svg"), o = Oe("path"), s = G(), a = A("div"), u = A("span"), h = j(l), p = G(), f = A("div"), g = A("span"), b = j(y), w = G(), U.c(), T = G(), S = A("span"), m = Oe("svg"), C = Oe("path"), X = G(), O = A("div"), J = A("ul");
4477
4477
  for (let c = 0; c < I.length; c += 1)
4478
4478
  I[c].c();
4479
- Be = G(), W = A("button"), oe = j(q), d(o, "id", "noun_filter_736223"), d(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), d(o, "transform", "translate(-5 -6.2)"), d(o, "fill", "#fff"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "16"), d(i, "height", "16"), d(i, "viewBox", "0 0 16 16"), d(u, "class", "FilterName"), d(f, "class", "FilterValueContainer"), d(a, "class", "FilterTextContainer"), d(n, "class", "FilterMainArea"), d(C, "id", "arrow"), d(C, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), d(C, "transform", "translate(-274.511 -441.088)"), d(C, "fill", "#d1d1d1"), d(m, "xmlns", "http://www.w3.org/2000/svg"), d(m, "width", "14"), d(m, "height", "6.835"), d(m, "viewBox", "0 0 14 6.835"), d(S, "class", L = "TriangleInactive " + /*isFilterActive*/
4479
+ Q = G(), W = A("button"), se = j(K), d(o, "id", "noun_filter_736223"), d(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), d(o, "transform", "translate(-5 -6.2)"), d(o, "fill", "#fff"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "16"), d(i, "height", "16"), d(i, "viewBox", "0 0 16 16"), d(u, "class", "FilterName"), d(f, "class", "FilterValueContainer"), d(a, "class", "FilterTextContainer"), d(n, "class", "FilterMainArea"), d(C, "id", "arrow"), d(C, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), d(C, "transform", "translate(-274.511 -441.088)"), d(C, "fill", "#d1d1d1"), d(m, "xmlns", "http://www.w3.org/2000/svg"), d(m, "width", "14"), d(m, "height", "6.835"), d(m, "viewBox", "0 0 14 6.835"), d(S, "class", L = "TriangleInactive " + /*isFilterActive*/
4480
4480
  (e[4] ? "TriangleActive" : "")), d(r, "class", R = "FilterSelector " + /*isFilterActive*/
4481
- (e[4] ? "FilterSelectorOpen" : "")), d(J, "class", "FilterDropdown"), d(W, "class", "ClearFilters"), W.disabled = K = /*fullSelection*/
4481
+ (e[4] ? "FilterSelectorOpen" : "")), d(J, "class", "FilterDropdown"), d(W, "class", "ClearFilters"), W.disabled = ee = /*fullSelection*/
4482
4482
  e[7] && /*selectedVendorArray*/
4483
4483
  e[6].length != /*vendorArray*/
4484
- e[5].length, d(O, "class", ee = "FilterDropdownContainer " + /*isFilterActive*/
4485
- (e[4] ? "FilterOpen" : "")), d(t, "class", se = "FilterContainer " + /*addfilterselector*/
4484
+ e[5].length, d(O, "class", te = "FilterDropdownContainer " + /*isFilterActive*/
4485
+ (e[4] ? "FilterOpen" : "")), d(t, "class", ae = "FilterContainer " + /*addfilterselector*/
4486
4486
  (e[0] == "true" && /*addsortingselector*/
4487
4487
  e[1] == "true" ? "FilerContainerSplit" : ""));
4488
4488
  },
@@ -4490,60 +4490,60 @@ function Ao(e) {
4490
4490
  Z(c, t, E), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, u), v(u, h), v(a, p), v(a, f), v(f, g), v(g, b), v(f, w), U.m(f, null), v(r, T), v(r, S), v(S, m), v(m, C), v(t, X), v(t, O), v(O, J);
4491
4491
  for (let H = 0; H < I.length; H += 1)
4492
4492
  I[H] && I[H].m(J, null);
4493
- v(O, Be), v(O, W), v(W, oe), ae || (xe = [
4494
- $e(
4493
+ v(O, Q), v(O, W), v(W, se), le || (Ee = [
4494
+ De(
4495
4495
  r,
4496
4496
  "click",
4497
4497
  /*click_handler*/
4498
- e[24]
4498
+ e[25]
4499
4499
  ),
4500
- $e(
4500
+ De(
4501
4501
  W,
4502
4502
  "click",
4503
4503
  /*click_handler_2*/
4504
- e[27]
4504
+ e[28]
4505
4505
  )
4506
- ], ae = !0);
4506
+ ], le = !0);
4507
4507
  },
4508
4508
  p(c, E) {
4509
4509
  if (E[0] & /*$_*/
4510
4510
  2048 && l !== (l = /*$_*/
4511
- c[11]("filterby") + "") && te(h, l), E[0] & /*$_*/
4512
- 2048 && _ !== (_ = /*$_*/
4513
- c[11]("providers") + "") && te(b, _), le === (le = Pe(c)) && U ? U.p(c, E) : (U.d(1), U = le(c), U && (U.c(), U.m(f, null))), E[0] & /*isFilterActive*/
4511
+ c[11]("filterby") + "") && re(h, l), E[0] & /*$_*/
4512
+ 2048 && y !== (y = /*$_*/
4513
+ c[11]("providers") + "") && re(b, y), ue === (ue = Pe(c)) && U ? U.p(c, E) : (U.d(1), U = ue(c), U && (U.c(), U.m(f, null))), E[0] & /*isFilterActive*/
4514
4514
  16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
4515
4515
  (c[4] ? "TriangleActive" : "")) && d(S, "class", L), E[0] & /*isFilterActive*/
4516
4516
  16 && R !== (R = "FilterSelector " + /*isFilterActive*/
4517
4517
  (c[4] ? "FilterSelectorOpen" : "")) && d(r, "class", R), E[0] & /*filterbylogo, vendorArray, filterByVendors*/
4518
4518
  8228) {
4519
- Q = Nt(
4519
+ Y = Nt(
4520
4520
  /*vendorArray*/
4521
4521
  c[5]
4522
4522
  );
4523
4523
  let H;
4524
- for (H = 0; H < Q.length; H += 1) {
4525
- const F = ir(c, Q, H);
4524
+ for (H = 0; H < Y.length; H += 1) {
4525
+ const F = ir(c, Y, H);
4526
4526
  I[H] ? I[H].p(F, E) : (I[H] = or(F), I[H].c(), I[H].m(J, null));
4527
4527
  }
4528
4528
  for (; H < I.length; H += 1)
4529
4529
  I[H].d(1);
4530
- I.length = Q.length;
4530
+ I.length = Y.length;
4531
4531
  }
4532
4532
  E[0] & /*$_*/
4533
- 2048 && q !== (q = /*$_*/
4534
- c[11]("clear") + "") && te(oe, q), E[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4535
- 224 && K !== (K = /*fullSelection*/
4533
+ 2048 && K !== (K = /*$_*/
4534
+ c[11]("clear") + "") && re(se, K), E[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4535
+ 224 && ee !== (ee = /*fullSelection*/
4536
4536
  c[7] && /*selectedVendorArray*/
4537
4537
  c[6].length != /*vendorArray*/
4538
- c[5].length) && (W.disabled = K), E[0] & /*isFilterActive*/
4539
- 16 && ee !== (ee = "FilterDropdownContainer " + /*isFilterActive*/
4540
- (c[4] ? "FilterOpen" : "")) && d(O, "class", ee), E[0] & /*addfilterselector, addsortingselector*/
4541
- 3 && se !== (se = "FilterContainer " + /*addfilterselector*/
4538
+ c[5].length) && (W.disabled = ee), E[0] & /*isFilterActive*/
4539
+ 16 && te !== (te = "FilterDropdownContainer " + /*isFilterActive*/
4540
+ (c[4] ? "FilterOpen" : "")) && d(O, "class", te), E[0] & /*addfilterselector, addsortingselector*/
4541
+ 3 && ae !== (ae = "FilterContainer " + /*addfilterselector*/
4542
4542
  (c[0] == "true" && /*addsortingselector*/
4543
- c[1] == "true" ? "FilerContainerSplit" : "")) && d(t, "class", se);
4543
+ c[1] == "true" ? "FilerContainerSplit" : "")) && d(t, "class", ae);
4544
4544
  },
4545
4545
  d(c) {
4546
- c && V(t), U.d(), Yr(I, c), ae = !1, ne(xe);
4546
+ c && V(t), U.d(), Yr(I, c), le = !1, ie(Ee);
4547
4547
  }
4548
4548
  };
4549
4549
  }
@@ -4583,7 +4583,7 @@ function Po(e) {
4583
4583
  },
4584
4584
  p(n, i) {
4585
4585
  i[0] & /*selectionNumber*/
4586
- 256 && te(
4586
+ 256 && re(
4587
4587
  r,
4588
4588
  /*selectionNumber*/
4589
4589
  n[8]
@@ -4609,7 +4609,7 @@ function Fo(e) {
4609
4609
  p(i, o) {
4610
4610
  o[0] & /*$_*/
4611
4611
  2048 && r !== (r = /*$_*/
4612
- i[11]("all") + "") && te(n, r);
4612
+ i[11]("all") + "") && re(n, r);
4613
4613
  },
4614
4614
  d(i) {
4615
4615
  i && V(t);
@@ -4654,9 +4654,9 @@ function Oo(e) {
4654
4654
  p(p, f) {
4655
4655
  f[0] & /*vendorArray*/
4656
4656
  32 && n !== (n = /*vendor*/
4657
- p[37].name + "") && te(i, n), f[0] & /*vendorArray*/
4657
+ p[37].name + "") && re(i, n), f[0] & /*vendorArray*/
4658
4658
  32 && u !== (u = /*vendor*/
4659
- p[37].games.total + "") && te(l, u);
4659
+ p[37].games.total + "") && re(l, u);
4660
4660
  },
4661
4661
  d(p) {
4662
4662
  p && V(t);
@@ -4666,7 +4666,7 @@ function Oo(e) {
4666
4666
  function or(e) {
4667
4667
  let t, r, n, i, o, s, a, u, l, h, p, f;
4668
4668
  function g() {
4669
- e[25].call(
4669
+ e[26].call(
4670
4670
  n,
4671
4671
  /*each_value*/
4672
4672
  e[38],
@@ -4674,10 +4674,10 @@ function or(e) {
4674
4674
  e[39]
4675
4675
  );
4676
4676
  }
4677
- function _() {
4677
+ function y() {
4678
4678
  return (
4679
4679
  /*click_handler_1*/
4680
- e[26](
4680
+ e[27](
4681
4681
  /*vendor*/
4682
4682
  e[37]
4683
4683
  )
@@ -4706,8 +4706,8 @@ function or(e) {
4706
4706
  m(S, m) {
4707
4707
  Z(S, t, m), v(t, r), v(r, n), n.checked = /*vendor*/
4708
4708
  e[37].isFilterSelected, v(r, o), v(r, s), v(r, a), T && T.m(r, null), v(t, u), p || (f = [
4709
- $e(n, "change", g),
4710
- $e(n, "click", _)
4709
+ De(n, "change", g),
4710
+ De(n, "click", y)
4711
4711
  ], p = !0);
4712
4712
  },
4713
4713
  p(S, m) {
@@ -4722,7 +4722,7 @@ function or(e) {
4722
4722
  e[37].name) && (t.value = h);
4723
4723
  },
4724
4724
  d(S) {
4725
- S && V(t), T && T.d(), p = !1, ne(f);
4725
+ S && V(t), T && T.d(), p = !1, ie(f);
4726
4726
  }
4727
4727
  };
4728
4728
  }
@@ -4744,22 +4744,22 @@ function Io(e) {
4744
4744
  t = A("div"), i && i.c();
4745
4745
  },
4746
4746
  m(o, s) {
4747
- Z(o, t, s), i && i.m(t, null), e[28](t);
4747
+ Z(o, t, s), i && i.m(t, null), e[29](t);
4748
4748
  },
4749
4749
  p(o, s) {
4750
4750
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4751
4751
  },
4752
- i: D,
4753
- o: D,
4752
+ i: $,
4753
+ o: $,
4754
4754
  d(o) {
4755
- o && V(t), i && i.d(), e[28](null);
4755
+ o && V(t), i && i.d(), e[29](null);
4756
4756
  }
4757
4757
  };
4758
4758
  }
4759
4759
  function Lo(e, t, r) {
4760
4760
  let n;
4761
4761
  zr(e, vo, (c) => r(11, n = c));
4762
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector: p = "false" } = t, { addsortingselector: f = "false" } = t, { filterbylogo: g = "false" } = t, { mbsource: _ } = t, { usesinglevendorfilter: b = "false" } = t, w = !1, T = window.navigator.userAgent, S = [], m = [], C = {}, L = !1, R = 0, X = !0, O, J = !1, Be;
4762
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector: p = "false" } = t, { addsortingselector: f = "false" } = t, { filterbylogo: g = "false" } = t, { mbsource: y } = t, { usesinglevendorfilter: b = "false" } = t, w = !1, T = window.navigator.userAgent, S = [], m = [], C = {}, L = !1, R = 0, X = !0, O, J = !1, Q;
4763
4763
  To({ withLocale: "en", translations: {} });
4764
4764
  const W = () => {
4765
4765
  fetch(a).then((E) => E.json()).then((E) => {
@@ -4773,64 +4773,64 @@ function Lo(e, t, r) {
4773
4773
  Object.keys(nr).forEach((c) => {
4774
4774
  rr(c, nr[c]);
4775
4775
  }), C[h] && (C = { [h]: [] });
4776
- const q = () => {
4776
+ const K = () => {
4777
4777
  r(4, w = !w), window.postMessage({ type: "FilterOpened" }, window.location.href);
4778
- }, oe = (c) => (r(9, X = !0), new Promise((E, H) => {
4778
+ }, se = (c) => (r(9, X = !0), new Promise((E, H) => {
4779
4779
  fetch(c).then((F) => F.json()).then((F) => {
4780
4780
  F = F.items, E(F.items), r(6, m = []);
4781
4781
  let Je = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4782
- const Dr = b === "true" ? "*" : h;
4782
+ const $r = b === "true" ? "*" : h;
4783
4783
  F.forEach((Fe) => {
4784
4784
  var Ht;
4785
- Je || (Je = { currentCategoryId: [] }), ((Ht = Je[Dr]) == null ? void 0 : Ht.indexOf(Fe.id)) >= 0 ? (Fe.isFilterSelected = !0, m.push(Fe)) : Fe.isFilterSelected = !1;
4786
- }), r(5, S = F), ee();
4785
+ Je || (Je = { currentCategoryId: [] }), ((Ht = Je[$r]) == null ? void 0 : Ht.indexOf(Fe.id)) >= 0 ? (Fe.isFilterSelected = !0, m.push(Fe)) : Fe.isFilterSelected = !1;
4786
+ }), r(5, S = F), te();
4787
4787
  }).catch((F) => {
4788
4788
  console.error(F), r(10, J = !0), H(F);
4789
4789
  }).finally(() => {
4790
4790
  r(9, X = !1);
4791
4791
  });
4792
- })), K = (c) => {
4792
+ })), ee = (c) => {
4793
4793
  let E = localStorage.getItem("vendorFiltersByCategory");
4794
4794
  c.isFilterSelected = !c.isFilterSelected, !m.length || m.filter((F) => F.name === c.name).length == 0 ? m.push(c) : r(6, m = m.filter((F) => F.name !== c.name));
4795
4795
  const H = b === "true" ? "*" : h;
4796
4796
  E == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(C = {
4797
4797
  [H]: m.map((F) => F.id)
4798
- })) : (E = JSON.parse(E), E[H] = m.map((F) => F.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(E))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), ee();
4799
- }, ee = () => {
4798
+ })) : (E = JSON.parse(E), E[H] = m.map((F) => F.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(E))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), te();
4799
+ }, te = () => {
4800
4800
  r(7, L = m.length === S.length || m.length == 0), r(8, R = m.length);
4801
- }, se = () => {
4801
+ }, ae = () => {
4802
4802
  if (S.length && b === "true")
4803
4803
  return;
4804
4804
  const c = new URL(`${i}/v1/casino/vendors`);
4805
- r(4, w = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", yo(T)), b === "true" || ((h.match(/\$/g) || []).length > 1 ? (c.searchParams.append("filter", `games(subGroups=${h})`), c.searchParams.append("subVendors", `games(subGroups=${h})`)) : c.searchParams.append("filter", `games(groups=${h})`)), oe(c);
4806
- }, ae = () => {
4805
+ r(4, w = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", yo(T)), b === "true" || ((h.match(/\$/g) || []).length > 1 ? (c.searchParams.append("filter", `games(subGroups=${h})`), c.searchParams.append("subVendors", `games(subGroups=${h})`)) : c.searchParams.append("filter", `games(groups=${h})`)), se(c);
4806
+ }, le = () => {
4807
4807
  r(6, m = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(C = {
4808
4808
  [b === "true" ? "*" : h]: m.map((c) => c.id)
4809
4809
  })), S.forEach((c) => c.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, w = !1);
4810
- }, xe = (c) => {
4810
+ }, Ee = (c) => {
4811
4811
  c.data.type == "SortingOpened" && r(4, w = !1);
4812
4812
  };
4813
- tn(() => (window.addEventListener("message", xe, !1), () => {
4814
- window.removeEventListener("message", xe);
4813
+ tn(() => (window.addEventListener("message", Ee, !1), () => {
4814
+ window.emMessageBus != null && Q && Q.unsubscribe(), window.removeEventListener("message", Ee);
4815
4815
  }));
4816
- const Pe = () => q();
4817
- function le(c, E) {
4816
+ const Pe = () => K();
4817
+ function ue(c, E) {
4818
4818
  c[E].isFilterSelected = this.checked, r(5, S);
4819
4819
  }
4820
- const U = (c) => K(c), Q = () => ae();
4820
+ const U = (c) => ee(c), Y = () => le();
4821
4821
  function I(c) {
4822
4822
  ot[c ? "unshift" : "push"](() => {
4823
4823
  O = c, r(3, O);
4824
4824
  });
4825
4825
  }
4826
4826
  return e.$$set = (c) => {
4827
- "endpoint" in c && r(15, i = c.endpoint), "datasource" in c && r(16, o = c.datasource), "lang" in c && r(17, s = c.lang), "translationurl" in c && r(18, a = c.translationurl), "clientstyling" in c && r(19, u = c.clientstyling), "clientstylingurl" in c && r(20, l = c.clientstylingurl), "categoryid" in c && r(21, h = c.categoryid), "addfilterselector" in c && r(0, p = c.addfilterselector), "addsortingselector" in c && r(1, f = c.addsortingselector), "filterbylogo" in c && r(2, g = c.filterbylogo), "mbsource" in c && r(22, _ = c.mbsource), "usesinglevendorfilter" in c && r(23, b = c.usesinglevendorfilter);
4827
+ "endpoint" in c && r(15, i = c.endpoint), "datasource" in c && r(16, o = c.datasource), "lang" in c && r(17, s = c.lang), "translationurl" in c && r(18, a = c.translationurl), "clientstyling" in c && r(19, u = c.clientstyling), "clientstylingurl" in c && r(20, l = c.clientstylingurl), "categoryid" in c && r(21, h = c.categoryid), "addfilterselector" in c && r(0, p = c.addfilterselector), "addsortingselector" in c && r(1, f = c.addsortingselector), "filterbylogo" in c && r(2, g = c.filterbylogo), "mbsource" in c && r(22, y = c.mbsource), "usesinglevendorfilter" in c && r(23, b = c.usesinglevendorfilter);
4828
4828
  }, e.$$.update = () => {
4829
4829
  e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4830
- 2195460 && i && o && h && g && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4830
+ 2195460 && i && o && h && g && ae(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4831
4831
  524296 && u && O && _o(O, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4832
- 1048584 && l && O && xo(O, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4833
- 4194312 && O && Eo(O, `${_}.Style`, Be), e.$$.dirty[0] & /*translationurl*/
4832
+ 1048584 && l && O && xo(O, l), e.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
4833
+ 20971528 && y && O && r(24, Q = Eo(O, `${y}.Style`, Q, !0)), e.$$.dirty[0] & /*translationurl*/
4834
4834
  262144 && a && W();
4835
4835
  }, [
4836
4836
  p,
@@ -4845,9 +4845,9 @@ function Lo(e, t, r) {
4845
4845
  X,
4846
4846
  J,
4847
4847
  n,
4848
- q,
4849
4848
  K,
4850
- ae,
4849
+ ee,
4850
+ le,
4851
4851
  i,
4852
4852
  o,
4853
4853
  s,
@@ -4855,12 +4855,13 @@ function Lo(e, t, r) {
4855
4855
  u,
4856
4856
  l,
4857
4857
  h,
4858
- _,
4858
+ y,
4859
4859
  b,
4860
+ Q,
4860
4861
  Pe,
4861
- le,
4862
+ ue,
4862
4863
  U,
4863
- Q,
4864
+ Y,
4864
4865
  I
4865
4866
  ];
4866
4867
  }