@streamlayer/react 1.8.1 → 1.8.2

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.
@@ -89,17 +89,17 @@ ee.env = {};
89
89
  ee.argv = [];
90
90
  ee.version = "";
91
91
  ee.versions = {};
92
- function $e() {
92
+ function Ke() {
93
93
  }
94
- ee.on = $e;
95
- ee.addListener = $e;
96
- ee.once = $e;
97
- ee.off = $e;
98
- ee.removeListener = $e;
99
- ee.removeAllListeners = $e;
100
- ee.emit = $e;
101
- ee.prependListener = $e;
102
- ee.prependOnceListener = $e;
94
+ ee.on = Ke;
95
+ ee.addListener = Ke;
96
+ ee.once = Ke;
97
+ ee.off = Ke;
98
+ ee.removeListener = Ke;
99
+ ee.removeAllListeners = Ke;
100
+ ee.emit = Ke;
101
+ ee.prependListener = Ke;
102
+ ee.prependOnceListener = Ke;
103
103
  ee.listeners = function(e) {
104
104
  return [];
105
105
  };
@@ -257,7 +257,7 @@ function je(e) {
257
257
  messageKey: e.messageKey || "msg",
258
258
  onChild: e.onChild || wt
259
259
  };
260
- m.levels = $c(e), m.level = l, m.setMaxListeners = m.getMaxListeners = m.emit = m.addListener = m.on = m.prependListener = m.once = m.prependOnceListener = m.removeListener = m.removeAllListeners = m.listeners = m.listenerCount = m.eventNames = m.write = m.flush = wt, m.serializers = a, m._serialize = s, m._stdErrSerialize = o, m.child = function(..._) {
260
+ m.levels = Kc(e), m.level = l, m.setMaxListeners = m.getMaxListeners = m.emit = m.addListener = m.on = m.prependListener = m.once = m.prependOnceListener = m.removeListener = m.removeAllListeners = m.listeners = m.listenerCount = m.eventNames = m.write = m.flush = wt, m.serializers = a, m._serialize = s, m._stdErrSerialize = o, m.child = function(..._) {
261
261
  return f.call(this, u, ..._);
262
262
  }, t && (m._logEvent = Pa());
263
263
  function d() {
@@ -295,14 +295,14 @@ function je(e) {
295
295
  }
296
296
  return m;
297
297
  }
298
- function $c(e) {
299
- const t = e.customLevels || {}, n = Object.assign({}, je.levels.values, t), a = Object.assign({}, je.levels.labels, Kc(t));
298
+ function Kc(e) {
299
+ const t = e.customLevels || {}, n = Object.assign({}, je.levels.values, t), a = Object.assign({}, je.levels.labels, $c(t));
300
300
  return {
301
301
  values: n,
302
302
  labels: a
303
303
  };
304
304
  }
305
- function Kc(e) {
305
+ function $c(e) {
306
306
  const t = {};
307
307
  return Object.keys(e).forEach(function(n) {
308
308
  t[e[n]] = n;
@@ -1367,7 +1367,7 @@ function Yr(e, t) {
1367
1367
  return Object.keys(t[n]).length > 0;
1368
1368
  }
1369
1369
  }
1370
- function $s(e, t) {
1370
+ function Ks(e, t) {
1371
1371
  const n = e.localName, a = !e.opt && !e.req;
1372
1372
  if (e.repeated)
1373
1373
  t[n] = [];
@@ -1399,7 +1399,7 @@ function jr(e, t) {
1399
1399
  return dt(t) || !e.fieldWrapper ? t : e.fieldWrapper.wrapField(t);
1400
1400
  }
1401
1401
  h.DOUBLE, h.FLOAT, h.INT64, h.UINT64, h.INT32, h.UINT32, h.BOOL, h.STRING, h.BYTES;
1402
- const Ks = {
1402
+ const $s = {
1403
1403
  ignoreUnknownFields: !1
1404
1404
  }, Ws = {
1405
1405
  emitDefaultValues: !1,
@@ -1408,7 +1408,7 @@ const Ks = {
1408
1408
  prettySpaces: 0
1409
1409
  };
1410
1410
  function Il(e) {
1411
- return e ? Object.assign(Object.assign({}, Ks), e) : Ks;
1411
+ return e ? Object.assign(Object.assign({}, $s), e) : $s;
1412
1412
  }
1413
1413
  function Ol(e) {
1414
1414
  return e ? Object.assign(Object.assign({}, Ws), e) : Ws;
@@ -1578,7 +1578,7 @@ function zs(e, t, n, a, s) {
1578
1578
  const l = aa(n.T, t, a.ignoreUnknownFields, !1);
1579
1579
  switch (l) {
1580
1580
  case An:
1581
- $s(n, e);
1581
+ Ks(n, e);
1582
1582
  break;
1583
1583
  case gn:
1584
1584
  break;
@@ -1592,7 +1592,7 @@ function zs(e, t, n, a, s) {
1592
1592
  const m = jt(n.T, t, n.L, !1);
1593
1593
  switch (m) {
1594
1594
  case An:
1595
- $s(n, e);
1595
+ Ks(n, e);
1596
1596
  break;
1597
1597
  default:
1598
1598
  e[o] = m;
@@ -1979,9 +1979,9 @@ function to(e, t, n, a) {
1979
1979
  Ul(n, o, e.no, t);
1980
1980
  else
1981
1981
  for (const r of t)
1982
- $t(n, o, e.no, r);
1982
+ Kt(n, o, e.no, r);
1983
1983
  else
1984
- $t(n, o, e.no, t);
1984
+ Kt(n, o, e.no, t);
1985
1985
  break;
1986
1986
  case "message":
1987
1987
  if (s) {
@@ -2013,12 +2013,12 @@ function Cl(e, t, n, a, s) {
2013
2013
  J(a == "true" || a == "false"), o = a == "true";
2014
2014
  break;
2015
2015
  }
2016
- switch ($t(e, n.K, 1, o), n.V.kind) {
2016
+ switch (Kt(e, n.K, 1, o), n.V.kind) {
2017
2017
  case "scalar":
2018
- $t(e, n.V.T, 2, s);
2018
+ Kt(e, n.V.T, 2, s);
2019
2019
  break;
2020
2020
  case "enum":
2021
- $t(e, h.INT32, 2, s);
2021
+ Kt(e, h.INT32, 2, s);
2022
2022
  break;
2023
2023
  case "message":
2024
2024
  J(s !== void 0), e.tag(2, Z.LengthDelimited).bytes(s.toBinary(t));
@@ -2030,21 +2030,21 @@ function no(e, t, n, a) {
2030
2030
  const s = jr(n.T, a);
2031
2031
  n.delimited ? e.tag(n.no, Z.StartGroup).raw(s.toBinary(t)).tag(n.no, Z.EndGroup) : e.tag(n.no, Z.LengthDelimited).bytes(s.toBinary(t));
2032
2032
  }
2033
- function $t(e, t, n, a) {
2033
+ function Kt(e, t, n, a) {
2034
2034
  J(a !== void 0);
2035
- let [s, o] = $r(t);
2035
+ let [s, o] = Kr(t);
2036
2036
  e.tag(n, s)[o](a);
2037
2037
  }
2038
2038
  function Ul(e, t, n, a) {
2039
2039
  if (!a.length)
2040
2040
  return;
2041
2041
  e.tag(n, Z.LengthDelimited).fork();
2042
- let [, s] = $r(t);
2042
+ let [, s] = Kr(t);
2043
2043
  for (let o = 0; o < a.length; o++)
2044
2044
  e[s](a[o]);
2045
2045
  e.join();
2046
2046
  }
2047
- function $r(e) {
2047
+ function Kr(e) {
2048
2048
  let t = Z.Varint;
2049
2049
  switch (e) {
2050
2050
  case h.BYTES:
@@ -2269,12 +2269,12 @@ class Bl {
2269
2269
  return this.members;
2270
2270
  }
2271
2271
  }
2272
- function Kr(e, t) {
2272
+ function $r(e, t) {
2273
2273
  const n = Wr(e);
2274
2274
  return t ? n : Yl(Ql(n));
2275
2275
  }
2276
2276
  function Vl(e) {
2277
- return Kr(e, !1);
2277
+ return $r(e, !1);
2278
2278
  }
2279
2279
  const ql = Wr;
2280
2280
  function Wr(e) {
@@ -2341,13 +2341,13 @@ class jl {
2341
2341
  return this._lookup[t];
2342
2342
  }
2343
2343
  }
2344
- function $l(e, t) {
2344
+ function Kl(e, t) {
2345
2345
  var n, a, s, o, r, c;
2346
2346
  const l = [];
2347
2347
  let m;
2348
2348
  for (const u of typeof e == "function" ? e() : e) {
2349
2349
  const d = u;
2350
- if (d.localName = Kr(u.name, u.oneof !== void 0), d.jsonName = (n = u.jsonName) !== null && n !== void 0 ? n : ql(u.name), d.repeated = (a = u.repeated) !== null && a !== void 0 ? a : !1, u.kind == "scalar" && (d.L = (s = u.L) !== null && s !== void 0 ? s : tt.BIGINT), d.delimited = (o = u.delimited) !== null && o !== void 0 ? o : !1, d.req = (r = u.req) !== null && r !== void 0 ? r : !1, d.opt = (c = u.opt) !== null && c !== void 0 ? c : !1, u.packed === void 0 && (d.packed = u.kind == "enum" || u.kind == "scalar" && u.T != h.BYTES && u.T != h.STRING), u.oneof !== void 0) {
2350
+ if (d.localName = $r(u.name, u.oneof !== void 0), d.jsonName = (n = u.jsonName) !== null && n !== void 0 ? n : ql(u.name), d.repeated = (a = u.repeated) !== null && a !== void 0 ? a : !1, u.kind == "scalar" && (d.L = (s = u.L) !== null && s !== void 0 ? s : tt.BIGINT), d.delimited = (o = u.delimited) !== null && o !== void 0 ? o : !1, d.req = (r = u.req) !== null && r !== void 0 ? r : !1, d.opt = (c = u.opt) !== null && c !== void 0 ? c : !1, u.packed === void 0 && (d.packed = u.kind == "enum" || u.kind == "scalar" && u.T != h.BYTES && u.T != h.STRING), u.oneof !== void 0) {
2351
2351
  const y = typeof u.oneof == "string" ? u.oneof : u.oneof.name;
2352
2352
  (!m || m.name != y) && (m = new jl(y)), d.oneof = m, m.addField(d);
2353
2353
  }
@@ -2357,7 +2357,7 @@ function $l(e, t) {
2357
2357
  }
2358
2358
  const i = Gl(
2359
2359
  "proto3",
2360
- (e) => new Bl(e, (t) => $l(t)),
2360
+ (e) => new Bl(e, (t) => Kl(t)),
2361
2361
  // TODO merge with proto2 and initExtensionField, also see initPartial, equals, clone
2362
2362
  (e) => {
2363
2363
  for (const t of e.getType().fields.byMember()) {
@@ -2568,14 +2568,14 @@ Ce.fields = i.util.newFieldList(() => [
2568
2568
  /* ScalarType.BYTES */
2569
2569
  }
2570
2570
  ]);
2571
- const Kl = /* @__PURE__ */ i.makeEnum(
2571
+ const $l = /* @__PURE__ */ i.makeEnum(
2572
2572
  "streamlayer.analytics.v1.common.ResultStatus",
2573
2573
  [
2574
2574
  { no: 0, name: "RESULT_STATUS_UNSET", localName: "UNSET" },
2575
2575
  { no: 1, name: "RESULT_STATUS_OK", localName: "OK" },
2576
2576
  { no: 2, name: "RESULT_STATUS_ERROR", localName: "ERROR" }
2577
2577
  ]
2578
- ), oe = /* @__PURE__ */ i.makeEnum(
2578
+ ), re = /* @__PURE__ */ i.makeEnum(
2579
2579
  "streamlayer.analytics.v1.common.Kind",
2580
2580
  [
2581
2581
  { no: 0, name: "KIND_UNSET", localName: "UNSET" },
@@ -2613,7 +2613,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
2613
2613
  { no: 32, name: "KIND_AD_BUTTON_NAVIGATED", localName: "AD_BUTTON_NAVIGATED" },
2614
2614
  { no: 33, name: "KIND_AD_BANNER_NAVIGATED", localName: "AD_BANNER_NAVIGATED" }
2615
2615
  ]
2616
- ), le = /* @__PURE__ */ i.makeEnum(
2616
+ ), me = /* @__PURE__ */ i.makeEnum(
2617
2617
  "streamlayer.analytics.v1.common.Category",
2618
2618
  [
2619
2619
  { no: 0, name: "CATEGORY_UNSET", localName: "UNSET" },
@@ -2658,7 +2658,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
2658
2658
  { no: 1, name: "SCREEN_ORIENTATION_PORTRAIT", localName: "PORTRAIT" },
2659
2659
  { no: 2, name: "SCREEN_ORIENTATION_LANDSCAPE", localName: "LANDSCAPE" }
2660
2660
  ]
2661
- ), pe = /* @__PURE__ */ i.makeEnum(
2661
+ ), se = /* @__PURE__ */ i.makeEnum(
2662
2662
  "streamlayer.analytics.v1.common.TopicType",
2663
2663
  [
2664
2664
  { no: 0, name: "TOPIC_TYPE_UNSET", localName: "UNSET" },
@@ -3204,7 +3204,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
3204
3204
  { no: 1, name: "QUESTION_SOURCE_AI", localName: "AI" },
3205
3205
  { no: 2, name: "QUESTION_SOURCE_CSV_IMPORT", localName: "CSV_IMPORT" }
3206
3206
  ]
3207
- ), ue = /* @__PURE__ */ i.makeEnum(
3207
+ ), de = /* @__PURE__ */ i.makeEnum(
3208
3208
  "streamlayer.interactive.QuestionStatus",
3209
3209
  [
3210
3210
  { no: 0, name: "QUESTION_STATUS_UNSET", localName: "UNSET" },
@@ -3988,7 +3988,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
3988
3988
  { no: 6, name: "sponsorship", kind: "message", T: Gt },
3989
3989
  { no: 7, name: "notification", kind: "message", T: ps },
3990
3990
  { no: 8, name: "answers", kind: "message", T: Im, repeated: !0 },
3991
- { no: 9, name: "status", kind: "enum", T: i.getEnumType(ue) },
3991
+ { no: 9, name: "status", kind: "enum", T: i.getEnumType(de) },
3992
3992
  { no: 10, name: "position", kind: "scalar", T: 13, opt: !0 },
3993
3993
  {
3994
3994
  no: 11,
@@ -4061,7 +4061,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
4061
4061
  { no: 6, name: "sponsorship", kind: "message", T: Gt },
4062
4062
  { no: 7, name: "notification", kind: "message", T: ps },
4063
4063
  { no: 8, name: "answers", kind: "message", T: Om, repeated: !0 },
4064
- { no: 9, name: "status", kind: "enum", T: i.getEnumType(ue) },
4064
+ { no: 9, name: "status", kind: "enum", T: i.getEnumType(de) },
4065
4065
  {
4066
4066
  no: 10,
4067
4067
  name: "position",
@@ -4251,7 +4251,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
4251
4251
  /* ScalarType.STRING */
4252
4252
  }
4253
4253
  ]
4254
- ), $m = /* @__PURE__ */ i.makeMessageType(
4254
+ ), Km = /* @__PURE__ */ i.makeMessageType(
4255
4255
  "streamlayer.interactive.Sort",
4256
4256
  () => [
4257
4257
  {
@@ -4274,7 +4274,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
4274
4274
  () => [
4275
4275
  { no: 1, name: "in_app_silence", kind: "enum", T: i.getEnumType(ei) }
4276
4276
  ]
4277
- ), Km = /* @__PURE__ */ i.makeMessageType(
4277
+ ), $m = /* @__PURE__ */ i.makeMessageType(
4278
4278
  "streamlayer.interactive.ImportError",
4279
4279
  () => [
4280
4280
  {
@@ -4303,7 +4303,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
4303
4303
  /* ScalarType.STRING */
4304
4304
  },
4305
4305
  { no: 2, name: "status", kind: "enum", T: i.getEnumType(bm) },
4306
- { no: 3, name: "errors", kind: "message", T: Km, repeated: !0 },
4306
+ { no: 3, name: "errors", kind: "message", T: $m, repeated: !0 },
4307
4307
  { no: 4, name: "last_updated", kind: "message", T: ye }
4308
4308
  ]
4309
4309
  ), zm = /* @__PURE__ */ i.makeMessageType(
@@ -4815,7 +4815,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
4815
4815
  T: 8
4816
4816
  /* ScalarType.BOOL */
4817
4817
  },
4818
- { no: 8, name: "question_status", kind: "enum", T: i.getEnumType(ue) }
4818
+ { no: 8, name: "question_status", kind: "enum", T: i.getEnumType(de) }
4819
4819
  ]
4820
4820
  ), Du = /* @__PURE__ */ i.makeMessageType(
4821
4821
  "streamlayer.interactive.feed.PickHistoryResponse",
@@ -5046,7 +5046,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
5046
5046
  /* ScalarType.BOOL */
5047
5047
  }
5048
5048
  ]
5049
- ), $u = /* @__PURE__ */ i.makeMessageType(
5049
+ ), Ku = /* @__PURE__ */ i.makeMessageType(
5050
5050
  "streamlayer.interactive.feed.GetRequest",
5051
5051
  () => [
5052
5052
  {
@@ -5057,7 +5057,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
5057
5057
  /* ScalarType.STRING */
5058
5058
  }
5059
5059
  ]
5060
- ), Ku = /* @__PURE__ */ i.makeMessageType(
5060
+ ), $u = /* @__PURE__ */ i.makeMessageType(
5061
5061
  "streamlayer.interactive.feed.GetResponse",
5062
5062
  () => [
5063
5063
  { no: 1, name: "data", kind: "message", T: Wu }
@@ -5154,7 +5154,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
5154
5154
  /* ScalarType.STRING */
5155
5155
  },
5156
5156
  { no: 2, name: "type", kind: "enum", T: i.getEnumType(C) },
5157
- { no: 3, name: "status", kind: "enum", T: i.getEnumType(ue) },
5157
+ { no: 3, name: "status", kind: "enum", T: i.getEnumType(de) },
5158
5158
  {
5159
5159
  no: 8,
5160
5160
  name: "created",
@@ -5203,7 +5203,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
5203
5203
  "streamlayer.interactive.feed.FeedListRequest.FeedListFilter",
5204
5204
  () => [
5205
5205
  { no: 1, name: "types", kind: "enum", T: i.getEnumType(C), repeated: !0 },
5206
- { no: 2, name: "statuses", kind: "enum", T: i.getEnumType(ue), repeated: !0 }
5206
+ { no: 2, name: "statuses", kind: "enum", T: i.getEnumType(de), repeated: !0 }
5207
5207
  ],
5208
5208
  { localName: "FeedListRequest_FeedListFilter" }
5209
5209
  ), nd = /* @__PURE__ */ i.makeMessageType(
@@ -6379,7 +6379,7 @@ const Kl = /* @__PURE__ */ i.makeEnum(
6379
6379
  ]
6380
6380
  );
6381
6381
  let oa = 0, io = [];
6382
- function $d() {
6382
+ function Kd() {
6383
6383
  return oa += 1, () => {
6384
6384
  if (oa -= 1, oa === 0) {
6385
6385
  let e = io;
@@ -6388,7 +6388,7 @@ function $d() {
6388
6388
  }
6389
6389
  };
6390
6390
  }
6391
- let ce = [], at = (e, t) => {
6391
+ let le = [], at = (e, t) => {
6392
6392
  let n = [], a = {
6393
6393
  get() {
6394
6394
  return a.lc || a.listen(() => {
@@ -6403,9 +6403,9 @@ let ce = [], at = (e, t) => {
6403
6403
  };
6404
6404
  },
6405
6405
  notify(s, o) {
6406
- let r = !ce.length;
6406
+ let r = !le.length;
6407
6407
  for (let c = 0; c < n.length; c += 2)
6408
- ce.push(
6408
+ le.push(
6409
6409
  n[c],
6410
6410
  n[c + 1],
6411
6411
  a.value,
@@ -6413,23 +6413,23 @@ let ce = [], at = (e, t) => {
6413
6413
  o
6414
6414
  );
6415
6415
  if (r) {
6416
- for (let c = 0; c < ce.length; c += 5) {
6416
+ for (let c = 0; c < le.length; c += 5) {
6417
6417
  let l;
6418
- for (let m = c + 1; !l && (m += 5) < ce.length; )
6419
- ce[m] < ce[c + 1] && (l = ce.push(
6420
- ce[c],
6421
- ce[c + 1],
6422
- ce[c + 2],
6423
- ce[c + 3],
6424
- ce[c + 4]
6418
+ for (let m = c + 1; !l && (m += 5) < le.length; )
6419
+ le[m] < le[c + 1] && (l = le.push(
6420
+ le[c],
6421
+ le[c + 1],
6422
+ le[c + 2],
6423
+ le[c + 3],
6424
+ le[c + 4]
6425
6425
  ));
6426
- l || ce[c](
6427
- ce[c + 2],
6428
- ce[c + 3],
6429
- ce[c + 4]
6426
+ l || le[c](
6427
+ le[c + 2],
6428
+ le[c + 3],
6429
+ le[c + 4]
6430
6430
  );
6431
6431
  }
6432
- ce.length = 0;
6432
+ le.length = 0;
6433
6433
  }
6434
6434
  },
6435
6435
  /* It will be called on last listener unsubscribing.
@@ -6448,7 +6448,7 @@ let ce = [], at = (e, t) => {
6448
6448
  };
6449
6449
  return a;
6450
6450
  };
6451
- const Kd = 0, Wd = 1, zd = 5, mn = 6, un = 10;
6451
+ const $d = 0, Wd = 1, zd = 5, mn = 6, un = 10;
6452
6452
  let hs = (e, t, n, a) => (e.events = e.events || {}, e.events[n + un] || (e.events[n + un] = a((s) => {
6453
6453
  e.events[n].reduceRight((o, r) => (r(o), o), {
6454
6454
  shared: {},
@@ -6457,7 +6457,7 @@ let hs = (e, t, n, a) => (e.events = e.events || {}, e.events[n + un] || (e.even
6457
6457
  })), e.events[n] = e.events[n] || [], e.events[n].push(t), () => {
6458
6458
  let s = e.events[n], o = s.indexOf(t);
6459
6459
  s.splice(o, 1), s.length || (delete e.events[n], e.events[n + un](), delete e.events[n + un]);
6460
- }), Jd = (e, t) => hs(e, t, Kd, (n) => {
6460
+ }), Jd = (e, t) => hs(e, t, $d, (n) => {
6461
6461
  let a = e.listen;
6462
6462
  return e.listen = (s) => (!e.lc && !e.starting && (e.starting = !0, n(), delete e.starting), a(s)), () => {
6463
6463
  e.listen = a;
@@ -7279,13 +7279,13 @@ function No(e) {
7279
7279
  const U = yield mt(L.read());
7280
7280
  if (U.done)
7281
7281
  break;
7282
- const { flags: $, data: ne } = U.value;
7283
- if (($ & ra) === ra) {
7282
+ const { flags: K, data: ne } = U.value;
7283
+ if ((K & ra) === ra) {
7284
7284
  if (O)
7285
7285
  throw "extra trailer";
7286
7286
  O = !0;
7287
- const K = fo(ne);
7288
- _o(K, b), K.forEach((W, B) => E.set(B, W));
7287
+ const $ = fo(ne);
7288
+ _o($, b), $.forEach((W, B) => E.set(B, W));
7289
7289
  continue;
7290
7290
  }
7291
7291
  if (O)
@@ -7374,10 +7374,10 @@ const Io = ({
7374
7374
  ...Mo,
7375
7375
  promise: c.get(E)
7376
7376
  });
7377
- }, { dedupeTime: $ = 4e3, fetcher: ne } = {
7377
+ }, { dedupeTime: K = 4e3, fetcher: ne } = {
7378
7378
  ...v,
7379
7379
  ...l
7380
- }, K = Lo();
7380
+ }, $ = Lo();
7381
7381
  if (c.has(E)) {
7382
7382
  w.value.loading || U();
7383
7383
  return;
@@ -7386,13 +7386,13 @@ const Io = ({
7386
7386
  const B = e.get(E);
7387
7387
  B && w.value.data !== B && O({ data: B, ...Xe });
7388
7388
  const V = r.get(E);
7389
- if (V && V + $ > K)
7389
+ if (V && V + K > $)
7390
7390
  return;
7391
7391
  }
7392
- const W = $d();
7392
+ const W = Kd();
7393
7393
  try {
7394
7394
  const B = ne(...b);
7395
- r.set(E, K), c.set(E, B), U();
7395
+ r.set(E, $), c.set(E, B), U();
7396
7396
  const V = await B;
7397
7397
  e.set(E, V), O({ data: V, ...Xe }), r.set(E, Lo());
7398
7398
  } catch (B) {
@@ -7414,10 +7414,10 @@ const Io = ({
7414
7414
  const { key: X } = v;
7415
7415
  X && f(X, V);
7416
7416
  };
7417
- let L, O, U, $, ne, K = [];
7417
+ let L, O, U, K, ne, $ = [];
7418
7418
  Jd(v, () => {
7419
7419
  const V = !L;
7420
- [ne, L] = Mp(E), $ = ne.subscribe((ke) => {
7420
+ [ne, L] = Mp(E), K = ne.subscribe((ke) => {
7421
7421
  if (ke) {
7422
7422
  const [he, g] = ke;
7423
7423
  v.key = he, m([he, g], v, A), O = he, U = g;
@@ -7436,7 +7436,7 @@ const Io = ({
7436
7436
  Fe > 0 && o.set(
7437
7437
  E,
7438
7438
  setInterval(ge, Fe)
7439
- ), qt && K.push(a.on(vo, ge)), ze && K.push(a.on(Ao, ge)), K.push(
7439
+ ), qt && $.push(a.on(vo, ge)), ze && $.push(a.on(Ao, ge)), $.push(
7440
7440
  a.on(wo, (ke) => {
7441
7441
  O && ca(O, ke) && m([O, U], v, A, !0);
7442
7442
  }),
@@ -7454,7 +7454,7 @@ const Io = ({
7454
7454
  const X = B(V);
7455
7455
  return V(v.value), W(), X;
7456
7456
  }, Xd(v, () => {
7457
- v.value = { ...Xe }, L == null || L(), K.forEach((V) => V()), K = [], $ == null || $(), clearInterval(o.get(E));
7457
+ v.value = { ...Xe }, L == null || L(), $.forEach((V) => V()), $ = [], K == null || K(), clearInterval(o.get(E));
7458
7458
  }), v;
7459
7459
  }, d = (E) => {
7460
7460
  e.delete(E), r.delete(E);
@@ -7481,14 +7481,14 @@ const Io = ({
7481
7481
  });
7482
7482
  const U = await L({
7483
7483
  data: v,
7484
- invalidate: ($) => {
7485
- O.push($);
7484
+ invalidate: (K) => {
7485
+ O.push(K);
7486
7486
  },
7487
- getCacheUpdater: ($, ne = !0) => [
7488
- (K) => {
7489
- f($, K), ne && O.push($);
7487
+ getCacheUpdater: (K, ne = !0) => [
7488
+ ($) => {
7489
+ f(K, $), ne && O.push(K);
7490
7490
  },
7491
- e.get($)
7491
+ e.get(K)
7492
7492
  ]
7493
7493
  });
7494
7494
  return w.setKey("data", U), U;
@@ -8286,7 +8286,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
8286
8286
  }
8287
8287
  ],
8288
8288
  { localName: "BaseballPlayByPlayStatistics_BaseballPlayByPlayDetailStatistics" }
8289
- ), $p = /* @__PURE__ */ i.makeMessageType(
8289
+ ), Kp = /* @__PURE__ */ i.makeMessageType(
8290
8290
  "streamlayer.sports.baseball.EventScore",
8291
8291
  () => [
8292
8292
  {
@@ -8335,7 +8335,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
8335
8335
  { no: 8, name: "home_team_record", kind: "message", T: st },
8336
8336
  { no: 9, name: "away_team_record", kind: "message", T: st }
8337
8337
  ]
8338
- ), Kp = /* @__PURE__ */ i.makeMessageType(
8338
+ ), $p = /* @__PURE__ */ i.makeMessageType(
8339
8339
  "streamlayer.sports.baseball.PlayByPlay",
8340
8340
  () => [
8341
8341
  { no: 1, name: "statistics", kind: "message", T: Yp, repeated: !0 }
@@ -9920,7 +9920,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
9920
9920
  /* ScalarType.INT32 */
9921
9921
  }
9922
9922
  ]
9923
- ), $T = /* @__PURE__ */ i.makeMessageType(
9923
+ ), KT = /* @__PURE__ */ i.makeMessageType(
9924
9924
  "streamlayer.sports.soccer.Standings",
9925
9925
  () => [
9926
9926
  { no: 1, name: "standings", kind: "message", T: jT, repeated: !0 }
@@ -9935,9 +9935,9 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
9935
9935
  T: 4
9936
9936
  /* ScalarType.UINT64 */
9937
9937
  },
9938
- { no: 2, name: "attributes", kind: "message", T: KT }
9938
+ { no: 2, name: "attributes", kind: "message", T: $T }
9939
9939
  ]
9940
- ), KT = /* @__PURE__ */ i.makeMessageType(
9940
+ ), $T = /* @__PURE__ */ i.makeMessageType(
9941
9941
  "streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes",
9942
9942
  () => [
9943
9943
  {
@@ -10005,7 +10005,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
10005
10005
  "streamlayer.sports.events.ScheduleAttributes",
10006
10006
  () => [
10007
10007
  { no: 1, name: "summary", kind: "message", T: kt },
10008
- { no: 2, name: "baseball", kind: "message", T: $p, oneof: "sport" },
10008
+ { no: 2, name: "baseball", kind: "message", T: Kp, oneof: "sport" },
10009
10009
  { no: 3, name: "basketball", kind: "message", T: tT, oneof: "sport" },
10010
10010
  { no: 4, name: "hockey", kind: "message", T: yT, oneof: "sport" },
10011
10011
  { no: 5, name: "soccer", kind: "message", T: AT, oneof: "sport" }
@@ -10141,7 +10141,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
10141
10141
  { no: 1, name: "meta", kind: "message", T: Yn },
10142
10142
  { no: 2, name: "data", kind: "message", T: Di, repeated: !0 }
10143
10143
  ]
10144
- ), $o = /* @__PURE__ */ i.makeMessageType(
10144
+ ), Ko = /* @__PURE__ */ i.makeMessageType(
10145
10145
  "streamlayer.sports.events.SummaryRequest",
10146
10146
  () => [
10147
10147
  {
@@ -10159,7 +10159,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
10159
10159
  /* ScalarType.STRING */
10160
10160
  }
10161
10161
  ]
10162
- ), Ko = /* @__PURE__ */ i.makeMessageType(
10162
+ ), $o = /* @__PURE__ */ i.makeMessageType(
10163
10163
  "streamlayer.sports.events.SummaryResponse",
10164
10164
  () => [
10165
10165
  { no: 1, name: "data", kind: "message", T: sy }
@@ -10280,7 +10280,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
10280
10280
  "streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes",
10281
10281
  () => [
10282
10282
  { no: 1, name: "summary", kind: "message", T: kt },
10283
- { no: 2, name: "baseball", kind: "message", T: Kp, oneof: "sports" },
10283
+ { no: 2, name: "baseball", kind: "message", T: $p, oneof: "sports" },
10284
10284
  { no: 3, name: "basketball", kind: "message", T: rT, oneof: "sports" },
10285
10285
  { no: 4, name: "hockey", kind: "message", T: ST, oneof: "sports" },
10286
10286
  { no: 5, name: "soccer", kind: "message", T: YT, oneof: "sports" }
@@ -10406,7 +10406,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
10406
10406
  { no: 2, name: "basketball", kind: "message", T: uT, oneof: "sports" },
10407
10407
  { no: 3, name: "hockey", kind: "message", T: IT, oneof: "sports" },
10408
10408
  { no: 4, name: "baseball", kind: "message", T: Zp, oneof: "sports" },
10409
- { no: 5, name: "soccer", kind: "message", T: $T, oneof: "sports" }
10409
+ { no: 5, name: "soccer", kind: "message", T: KT, oneof: "sports" }
10410
10410
  ],
10411
10411
  { localName: "StandingsResponse_ResponseData_StandingsResponseAttributes" }
10412
10412
  ), Ay = /* @__PURE__ */ i.makeMessageType(
@@ -10539,8 +10539,8 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
10539
10539
  */
10540
10540
  summary: {
10541
10541
  name: "Summary",
10542
- I: $o,
10543
- O: Ko,
10542
+ I: Ko,
10543
+ O: $o,
10544
10544
  kind: R.Unary
10545
10545
  },
10546
10546
  /**
@@ -10629,8 +10629,8 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
10629
10629
  */
10630
10630
  summarySubscription: {
10631
10631
  name: "SummarySubscription",
10632
- I: $o,
10633
- O: Ko,
10632
+ I: Ko,
10633
+ O: $o,
10634
10634
  kind: R.ServerStreaming
10635
10635
  }
10636
10636
  }
@@ -10697,14 +10697,14 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
10697
10697
  { no: 1, name: "SETTINGS_ALLOW_DISALLOW", localName: "DISALLOW" },
10698
10698
  { no: 2, name: "SETTINGS_ALLOW_ALLOW", localName: "ALLOW" }
10699
10699
  ]
10700
- ), $y = /* @__PURE__ */ i.makeEnum(
10700
+ ), Ky = /* @__PURE__ */ i.makeEnum(
10701
10701
  "streamlayer.sdkSettings.client.ManagedGroupType",
10702
10702
  [
10703
10703
  { no: 0, name: "MANAGED_GROUP_TYPE_UNSET", localName: "UNSET" },
10704
10704
  { no: 1, name: "MANAGED_GROUP_TYPE_CHAT", localName: "CHAT" },
10705
10705
  { no: 2, name: "MANAGED_GROUP_TYPE_WP", localName: "WP" }
10706
10706
  ]
10707
- ), Ky = /* @__PURE__ */ i.makeEnum(
10707
+ ), $y = /* @__PURE__ */ i.makeEnum(
10708
10708
  "streamlayer.sdkSettings.client.GroupType",
10709
10709
  [
10710
10710
  { no: 0, name: "GROUP_TYPE_UNSET", localName: "UNSET" },
@@ -10911,7 +10911,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
10911
10911
  T: 9
10912
10912
  /* ScalarType.STRING */
10913
10913
  },
10914
- { no: 3, name: "group_type", kind: "enum", T: i.getEnumType($y) }
10914
+ { no: 3, name: "group_type", kind: "enum", T: i.getEnumType(Ky) }
10915
10915
  ]
10916
10916
  ), Tf = /* @__PURE__ */ i.makeMessageType(
10917
10917
  "streamlayer.sdkSettings.client.DeepLinkData",
@@ -10952,7 +10952,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
10952
10952
  T: 9
10953
10953
  /* ScalarType.STRING */
10954
10954
  },
10955
- { no: 7, name: "group_type", kind: "enum", T: i.getEnumType(Ky) }
10955
+ { no: 7, name: "group_type", kind: "enum", T: i.getEnumType($y) }
10956
10956
  ]
10957
10957
  ), yf = /* @__PURE__ */ i.makeMessageType(
10958
10958
  "streamlayer.sdkSettings.client.GenerateDeepLinkRequest",
@@ -11414,10 +11414,10 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
11414
11414
  }
11415
11415
  ],
11416
11416
  { localName: "InviteRequest_InviteReferral" }
11417
- ), $f = /* @__PURE__ */ i.makeMessageType(
11417
+ ), Kf = /* @__PURE__ */ i.makeMessageType(
11418
11418
  "streamlayer.users.InviteResponse",
11419
11419
  []
11420
- ), Kf = /* @__PURE__ */ i.makeMessageType(
11420
+ ), $f = /* @__PURE__ */ i.makeMessageType(
11421
11421
  "streamlayer.users.BypassAuthRequest",
11422
11422
  () => [
11423
11423
  {
@@ -11559,7 +11559,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
11559
11559
  invite: {
11560
11560
  name: "Invite",
11561
11561
  I: Yf,
11562
- O: $f,
11562
+ O: Kf,
11563
11563
  kind: R.Unary
11564
11564
  },
11565
11565
  /**
@@ -11567,7 +11567,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
11567
11567
  */
11568
11568
  bypassAuth: {
11569
11569
  name: "BypassAuth",
11570
- I: Kf,
11570
+ I: $f,
11571
11571
  O: Wf,
11572
11572
  kind: R.Unary
11573
11573
  },
@@ -11625,8 +11625,8 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
11625
11625
  */
11626
11626
  get: {
11627
11627
  name: "Get",
11628
- I: $u,
11629
- O: Ku,
11628
+ I: Ku,
11629
+ O: $u,
11630
11630
  kind: R.Unary
11631
11631
  },
11632
11632
  /**
@@ -12117,7 +12117,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
12117
12117
  /* ScalarType.STRING */
12118
12118
  },
12119
12119
  { no: 3, name: "pagination", kind: "message", T: qn },
12120
- { no: 4, name: "sort", kind: "message", T: $m }
12120
+ { no: 4, name: "sort", kind: "message", T: Km }
12121
12121
  ]
12122
12122
  ), yg = /* @__PURE__ */ i.makeMessageType(
12123
12123
  "streamlayer.interactive.leaderboard.EventLeaderboardResponse",
@@ -12309,7 +12309,7 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
12309
12309
  ), zo = /* @__PURE__ */ i.makeMessageType(
12310
12310
  "streamlayer.analytics.v2.streaming.SendResponse",
12311
12311
  () => [
12312
- { no: 1, name: "result", kind: "enum", T: i.getEnumType(Kl) }
12312
+ { no: 1, name: "result", kind: "enum", T: i.getEnumType($l) }
12313
12313
  ]
12314
12314
  ), Ng = /* @__PURE__ */ i.makeMessageType(
12315
12315
  "streamlayer.analytics.v2.streaming.SendExtra",
@@ -12318,15 +12318,15 @@ const vo = 1, Ao = 2, wo = 3, ia = 4, Ro = (e, t) => {
12318
12318
  "streamlayer.analytics.v2.streaming.CommonData",
12319
12319
  () => [
12320
12320
  { no: 1, name: "event_id", kind: "scalar", T: 4, opt: !0 },
12321
- { no: 2, name: "category", kind: "enum", T: i.getEnumType(le), opt: !0 },
12322
- { no: 3, name: "kind", kind: "enum", T: i.getEnumType(oe), opt: !0 },
12321
+ { no: 2, name: "category", kind: "enum", T: i.getEnumType(me), opt: !0 },
12322
+ { no: 3, name: "kind", kind: "enum", T: i.getEnumType(re), opt: !0 },
12323
12323
  { no: 4, name: "screen_orientation", kind: "enum", T: i.getEnumType(Ca), opt: !0 },
12324
12324
  { no: 5, name: "session_id", kind: "scalar", T: 9, opt: !0 },
12325
12325
  { no: 6, name: "overlay_session_id", kind: "scalar", T: 9, opt: !0 },
12326
12326
  { no: 7, name: "topic_id", kind: "scalar", T: 9, opt: !0 },
12327
- { no: 8, name: "topic_type", kind: "enum", T: i.getEnumType(pe), opt: !0 },
12327
+ { no: 8, name: "topic_type", kind: "enum", T: i.getEnumType(se), opt: !0 },
12328
12328
  { no: 9, name: "parent_topic_id", kind: "scalar", T: 9, opt: !0 },
12329
- { no: 10, name: "parent_topic_type", kind: "enum", T: i.getEnumType(pe), opt: !0 },
12329
+ { no: 10, name: "parent_topic_type", kind: "enum", T: i.getEnumType(se), opt: !0 },
12330
12330
  { no: 11, name: "participants_count", kind: "scalar", T: 13, opt: !0 },
12331
12331
  { no: 12, name: "route_map", kind: "scalar", T: 9, opt: !0 },
12332
12332
  { no: 13, name: "track_timestamp", kind: "scalar", T: 4, opt: !0 },
@@ -12557,17 +12557,17 @@ te.env = {};
12557
12557
  te.argv = [];
12558
12558
  te.version = "";
12559
12559
  te.versions = {};
12560
- function Ke() {
12560
+ function $e() {
12561
12561
  }
12562
- te.on = Ke;
12563
- te.addListener = Ke;
12564
- te.once = Ke;
12565
- te.off = Ke;
12566
- te.removeListener = Ke;
12567
- te.removeAllListeners = Ke;
12568
- te.emit = Ke;
12569
- te.prependListener = Ke;
12570
- te.prependOnceListener = Ke;
12562
+ te.on = $e;
12563
+ te.addListener = $e;
12564
+ te.once = $e;
12565
+ te.off = $e;
12566
+ te.removeListener = $e;
12567
+ te.removeAllListeners = $e;
12568
+ te.emit = $e;
12569
+ te.prependListener = $e;
12570
+ te.prependOnceListener = $e;
12571
12571
  te.listeners = function(e) {
12572
12572
  return [];
12573
12573
  };
@@ -12601,7 +12601,7 @@ class Yg extends Event {
12601
12601
  }
12602
12602
  }
12603
12603
  const jg = We("event-bus");
12604
- class $g {
12604
+ class Kg {
12605
12605
  constructor(t = "sl-event-bus") {
12606
12606
  p(this, "name");
12607
12607
  p(this, "listeners");
@@ -12625,10 +12625,10 @@ class $g {
12625
12625
  window.removeEventListener(this.name, t), this.listeners.delete(t);
12626
12626
  }
12627
12627
  }
12628
- class Kg {
12628
+ class $g {
12629
12629
  }
12630
12630
  window.slStore = /* @__PURE__ */ Object.create(null);
12631
- class $n {
12631
+ class Kn {
12632
12632
  constructor(t, n) {
12633
12633
  /**
12634
12634
  * store instance (nanostores)
@@ -12648,7 +12648,7 @@ const Wg = (e) => {
12648
12648
  const t = Object.keys(e);
12649
12649
  return ep(t.map((n) => e[n].getStore()), (...n) => Object.fromEntries(t.map((a, s) => [a, n[s]])));
12650
12650
  };
12651
- class pt extends $n {
12651
+ class pt extends Kn {
12652
12652
  constructor() {
12653
12653
  super(...arguments);
12654
12654
  p(this, "getValues", () => this.getStore().get());
@@ -12669,10 +12669,10 @@ const zg = {
12669
12669
  [Y.PUBLIC_CHAT]: "publicChat",
12670
12670
  [Y.TWITTER]: "twitter"
12671
12671
  };
12672
- var Kt;
12672
+ var $t;
12673
12673
  (function(e) {
12674
12674
  e.Ready = "ready", e.Suspended = "suspended";
12675
- })(Kt || (Kt = {}));
12675
+ })($t || ($t = {}));
12676
12676
  class Qi {
12677
12677
  constructor({ settings: t, ...n }, a) {
12678
12678
  p(this, "status");
@@ -12682,10 +12682,10 @@ class Qi {
12682
12682
  p(this, "listeners", /* @__PURE__ */ new Set());
12683
12683
  p(this, "settingsKey");
12684
12684
  p(this, "enable", () => {
12685
- this.status.set(Kt.Ready);
12685
+ this.status.set($t.Ready);
12686
12686
  });
12687
12687
  p(this, "disable", () => {
12688
- this.status.set(Kt.Suspended);
12688
+ this.status.set($t.Suspended);
12689
12689
  });
12690
12690
  p(this, "setFeatureConfig", ({ settings: t, ...n }) => {
12691
12691
  var s;
@@ -12704,7 +12704,7 @@ class Qi {
12704
12704
  p(this, "update", (t, n) => {
12705
12705
  this.source === Ve.STREAM && n === Ve.ORGANIZATION || (this.setFeatureConfig(t), this.source = n);
12706
12706
  });
12707
- this.settingsKey = zg[n.type], this.status = at(Kt.Suspended), this.config = new pt(Ee(n), `feature:config:${this.settingsKey}`), this.settingsKey !== void 0 && (t == null ? void 0 : t.overlaySettings.case) === this.settingsKey ? this.settings = new pt(Ee(t.overlaySettings.value), `feature:settings:${this.settingsKey}`) : this.settings = new pt(Ee({}), `feature:settings:${this.settingsKey}`), this.source = a;
12707
+ this.settingsKey = zg[n.type], this.status = at($t.Suspended), this.config = new pt(Ee(n), `feature:config:${this.settingsKey}`), this.settingsKey !== void 0 && (t == null ? void 0 : t.overlaySettings.case) === this.settingsKey ? this.settings = new pt(Ee(t.overlaySettings.value), `feature:settings:${this.settingsKey}`) : this.settings = new pt(Ee({}), `feature:settings:${this.settingsKey}`), this.source = a;
12708
12708
  }
12709
12709
  get featureConfig() {
12710
12710
  return this.config.getStore();
@@ -12724,7 +12724,7 @@ class Qi {
12724
12724
  }
12725
12725
  }
12726
12726
  }
12727
- class be extends $n {
12727
+ class be extends Kn {
12728
12728
  constructor() {
12729
12729
  super(...arguments);
12730
12730
  p(this, "getValue", () => this.getStore().get());
@@ -12742,8 +12742,8 @@ class be extends $n {
12742
12742
  return this.getStore().get();
12743
12743
  }
12744
12744
  }
12745
- const re = (e) => at(e);
12746
- class Ue extends $n {
12745
+ const ie = (e) => at(e);
12746
+ class Ue extends Kn {
12747
12747
  constructor(n, a, s) {
12748
12748
  super(n, `api:${a}`);
12749
12749
  p(this, "atomStore");
@@ -12775,7 +12775,7 @@ class Ue extends $n {
12775
12775
  throw new Error("not implemented");
12776
12776
  }
12777
12777
  }
12778
- const de = new $g();
12778
+ const pe = new Kg();
12779
12779
  async function* Jg(e, t) {
12780
12780
  for await (const n of t) {
12781
12781
  e.response.message = n, e.received_at = Date.now(), e.id = Yi++;
@@ -12986,7 +12986,7 @@ class Zg {
12986
12986
  reconnectMaxDelay: s.reconnectMaxDelay ?? 3e4,
12987
12987
  reconnectMaxAttempts: s.reconnectMaxAttempts ?? 10,
12988
12988
  withStore: s.withStore ?? !1
12989
- }, this.headers = t, this.listeners = /* @__PURE__ */ new Map(), this.params = a, this.method = n, s.withStore && (this.store = new be(re(null), `subscription:${s.name}:store`)), "subscribe" in a && typeof a.subscribe == "function" && (this.paramsListener = a.subscribe((r) => {
12989
+ }, this.headers = t, this.listeners = /* @__PURE__ */ new Map(), this.params = a, this.method = n, s.withStore && (this.store = new be(ie(null), `subscription:${s.name}:store`)), "subscribe" in a && typeof a.subscribe == "function" && (this.paramsListener = a.subscribe((r) => {
12990
12990
  this.state.getValue("status") === Ie.Connected && (this.addStateLog(`params updated, reconnect => ${JSON.stringify(r)}`), this.reconnect());
12991
12991
  })), this.updateState(Ie.Ready);
12992
12992
  }
@@ -13275,7 +13275,7 @@ var qe;
13275
13275
  e.DISABLED = "disabled", e.INITIALIZATION = "initialization", e.READY = "ready", e.FAILED = "failed", e.SUSPENDED = "suspended";
13276
13276
  })(qe || (qe = {}));
13277
13277
  const pk = (e) => {
13278
- const t = new It(), n = new be(re(t.getExternalToken()), "userKey"), a = new be(re(t.getToken()), "userToken"), s = new Ue(ik(a.getStore(), e), "user", ({ data: r, error: c, loading: l }, m) => {
13278
+ const t = new It(), n = new be(ie(t.getExternalToken()), "userKey"), a = new be(ie(t.getToken()), "userToken"), s = new Ue(ik(a.getStore(), e), "user", ({ data: r, error: c, loading: l }, m) => {
13279
13279
  var u;
13280
13280
  if (!c)
13281
13281
  return (u = r == null ? void 0 : r.data) != null && u.id ? r.data.id : l === !1 ? void 0 : m;
@@ -13287,7 +13287,7 @@ const pk = (e) => {
13287
13287
  userSettings: o
13288
13288
  };
13289
13289
  }, Tk = (e) => {
13290
- const t = new be(re(void 0), "providerStreamId"), n = new Ue(sk(t.getStore(), e), "slStreamId", (o) => o == null ? void 0 : o.data), a = new Ue(ok(n.getAtomStore(), e), "streamSettings"), s = new Ue(rk(n.getAtomStore(), e), "streamSettings");
13290
+ const t = new be(ie(void 0), "providerStreamId"), n = new Ue(sk(t.getStore(), e), "slStreamId", (o) => o == null ? void 0 : o.data), a = new Ue(ok(n.getAtomStore(), e), "streamSettings"), s = new Ue(rk(n.getAtomStore(), e), "streamSettings");
13291
13291
  return n.getAtomStore().listen((o) => {
13292
13292
  (o === "" || o === void 0) && (a.getStore().mutate(void 0), s.getStore().mutate(void 0));
13293
13293
  }), {
@@ -13297,7 +13297,7 @@ const pk = (e) => {
13297
13297
  streamSummary: s
13298
13298
  };
13299
13299
  }, yk = (e) => {
13300
- const t = new be(re(void 0), "enabled"), n = new be(re(qe.DISABLED), "status"), a = new Ue(mk(t.getStore(), e), "organizationSettings", (c) => {
13300
+ const t = new be(ie(void 0), "enabled"), n = new be(ie(qe.DISABLED), "status"), a = new Ue(mk(t.getStore(), e), "organizationSettings", (c) => {
13301
13301
  var l;
13302
13302
  return (l = c == null ? void 0 : c.data) == null ? void 0 : l.id;
13303
13303
  }), s = new Ue(uk(a.getAtomStore(), e), "organizationAdvertising"), o = pk(e), r = Tk(e);
@@ -13316,7 +13316,7 @@ const pk = (e) => {
13316
13316
  organizationAdvertising: s
13317
13317
  };
13318
13318
  };
13319
- class fk extends $n {
13319
+ class fk extends Kn {
13320
13320
  constructor(n) {
13321
13321
  const a = yk(n), s = Wg(a);
13322
13322
  super(s, "core");
@@ -13348,7 +13348,7 @@ const gk = (e, t, n) => {
13348
13348
  }, kk = (e) => {
13349
13349
  const { client: t } = e.createPromiseClient(Gi, { method: "list" });
13350
13350
  return (n) => t.list(n);
13351
- }, $i = (e) => {
13351
+ }, Ki = (e) => {
13352
13352
  const { client: t } = e.createPromiseClient(Gi, { method: "summary" });
13353
13353
  return (n) => t.summary(n);
13354
13354
  }, hk = (e, t) => {
@@ -13417,7 +13417,7 @@ const gk = (e, t, n) => {
13417
13417
  return (s = (a = (await n.questionByUser({
13418
13418
  questionId: e
13419
13419
  })).data) == null ? void 0 : a.attributes) == null ? void 0 : s.question;
13420
- }, $a = (e, t) => {
13420
+ }, Ka = (e, t) => {
13421
13421
  const { client: n, queryKey: a } = t.createPromiseClient(Ne, { method: "questionByUser", params: [e] });
13422
13422
  return t.nanoquery.createFetcherStore(a, {
13423
13423
  fetcher: async (s, o, r) => {
@@ -13428,7 +13428,7 @@ const gk = (e, t, n) => {
13428
13428
  },
13429
13429
  dedupeTime: 1e3 * 60 * 5
13430
13430
  });
13431
- }, Ki = async (e, t) => {
13431
+ }, $i = async (e, t) => {
13432
13432
  var l;
13433
13433
  if (!e)
13434
13434
  return;
@@ -13449,7 +13449,7 @@ const gk = (e, t, n) => {
13449
13449
  eventId: c,
13450
13450
  filter: {
13451
13451
  types: l === Tt.ALLOWED ? [] : [C.FACTOID, C.PROMOTION, C.TWEET],
13452
- statuses: [ue.ACTIVE, ue.RESOLVED]
13452
+ statuses: [de.ACTIVE, de.RESOLVED]
13453
13453
  }
13454
13454
  })).data : [],
13455
13455
  dedupeTime: 0,
@@ -13469,7 +13469,7 @@ const gk = (e, t, n) => {
13469
13469
  eventId: r,
13470
13470
  filter: {
13471
13471
  types: [C.PROMOTION],
13472
- statuses: [ue.ACTIVE]
13472
+ statuses: [de.ACTIVE]
13473
13473
  },
13474
13474
  pagination: {
13475
13475
  page: 0,
@@ -13477,7 +13477,7 @@ const gk = (e, t, n) => {
13477
13477
  }
13478
13478
  })).data) == null ? void 0 : l[0];
13479
13479
  if (c.type === "promotion")
13480
- return Ki(c.id, t);
13480
+ return $i(c.id, t);
13481
13481
  },
13482
13482
  dedupeTime: 0,
13483
13483
  refetchInterval: 0
@@ -13490,7 +13490,7 @@ const gk = (e, t, n) => {
13490
13490
  return;
13491
13491
  const c = (m = n.get().data) == null ? void 0 : m.find((d) => d.id === (r == null ? void 0 : r.questionId)), l = (u = r == null ? void 0 : r.question) == null ? void 0 : u.openedFrom;
13492
13492
  return c ? (c.openedFrom = l, c) : r.question;
13493
- }), s = co(a, (r) => r && r.type === "question" ? r.id : void 0), o = $a(s, e);
13493
+ }), s = co(a, (r) => r && r.type === "question" ? r.id : void 0), o = Ka(s, e);
13494
13494
  return { $store: a, $extendedStore: o, updateExtendedQuestion: (r) => {
13495
13495
  const c = o.get().data, l = (m, u) => {
13496
13496
  if (!m || !u)
@@ -13546,7 +13546,7 @@ const Rk = (e) => {
13546
13546
  var N, E, b;
13547
13547
  c.setKey("hasNotification", !1);
13548
13548
  const T = c.get(), f = (N = T.data) == null ? void 0 : N.question.id, _ = (b = (E = T.data) == null ? void 0 : E.promotion) == null ? void 0 : b.type;
13549
- f && de.emit("advertisement", {
13549
+ f && pe.emit("advertisement", {
13550
13550
  action: "notification-opened",
13551
13551
  payload: {
13552
13552
  id: f,
@@ -13556,7 +13556,7 @@ const Rk = (e) => {
13556
13556
  }, u = () => {
13557
13557
  var E, b, w, v;
13558
13558
  const T = c.get(), f = (E = T.data) == null ? void 0 : E.question.id, _ = (w = (b = T.data) == null ? void 0 : b.promotion) == null ? void 0 : w.type, N = (v = c.get()) == null ? void 0 : v.isOpened;
13559
- f && !N && (o.debug({ id: f }, "markAsViewed: %o"), r.setShowed(f), c.setKey("isOpened", !0), de.emit("advertisement", {
13559
+ f && !N && (o.debug({ id: f }, "markAsViewed: %o"), r.setShowed(f), c.setKey("isOpened", !0), pe.emit("advertisement", {
13560
13560
  action: "opened",
13561
13561
  payload: {
13562
13562
  id: f,
@@ -13572,7 +13572,7 @@ const Rk = (e) => {
13572
13572
  hasNotification: ((_ = f == null ? void 0 : f.notification) == null ? void 0 : _.enabled) === Ua.NOTIFICATION_ENABLED,
13573
13573
  close: () => y(f.question.id),
13574
13574
  isViewed: !!r.isViewed(f.question.id)
13575
- }) : (c.setKey("loading", !0), Ki(T, s).then((N) => {
13575
+ }) : (c.setKey("loading", !0), $i(T, s).then((N) => {
13576
13576
  var E;
13577
13577
  return c.set({
13578
13578
  loading: !1,
@@ -13590,7 +13590,7 @@ const Rk = (e) => {
13590
13590
  };
13591
13591
  c.subscribe((T, f) => {
13592
13592
  var _, N, E, b;
13593
- T.data && !T.isOpened && de.emit("advertisement", {
13593
+ T.data && !T.isOpened && pe.emit("advertisement", {
13594
13594
  action: "received",
13595
13595
  payload: {
13596
13596
  id: T.data.question.id,
@@ -13599,7 +13599,7 @@ const Rk = (e) => {
13599
13599
  isViewed: !!r.isViewed(T.data.question.id)
13600
13600
  },
13601
13601
  skipAnalytics: T.data.question.id === ((E = f == null ? void 0 : f.data) == null ? void 0 : E.question.id)
13602
- }), !(T != null && T.data) && (f != null && f.data) && de.emit("advertisement", {
13602
+ }), !(T != null && T.data) && (f != null && f.data) && pe.emit("advertisement", {
13603
13603
  action: "closed",
13604
13604
  payload: {
13605
13605
  id: f.data.question.id,
@@ -13619,11 +13619,11 @@ const Rk = (e) => {
13619
13619
  }), t.addListener("promotion", (T) => {
13620
13620
  const f = Rk(T);
13621
13621
  if (f) {
13622
- if (f.question.status === ue.RESOLVED) {
13622
+ if (f.question.status === de.RESOLVED) {
13623
13623
  y(f.question.id), o.debug({ promotion: f }, "resolved: %o");
13624
13624
  return;
13625
13625
  }
13626
- if (f.question.status === ue.ACTIVE) {
13626
+ if (f.question.status === de.ACTIVE) {
13627
13627
  o.debug({ promotion: f }, "active: %o"), d(f.question.id, f);
13628
13628
  return;
13629
13629
  }
@@ -13697,7 +13697,7 @@ class Mk {
13697
13697
  p(this, "closeQuestion", (t) => {
13698
13698
  this.openedQuestionId.set(void 0), t && this.notifications.markAsViewed(this.getCurrentSessionId({ prefix: "notification", entity: t }));
13699
13699
  });
13700
- this.transport = t.transport, this.log = We("gamification-background"), this.slStreamId = t.stores.slStreamId.getAtomStore(), this.organizationId = t.stores.organizationSettings.getAtomStore(), this.userId = t.stores.user.getAtomStore(), this.moderationId = new be(re(void 0), "moderationId").getStore(), this.interactiveAllowed = new be(re(Tt.DISALLOWED), "interactiveAllowed").getStore(), this.openedQuestionId = new be(re(void 0), "openedQuestionId").getStore(), this.notifications = t.notifications, this.moderation = new Ue(Sk(this.slStreamId, t.transport), "gamification:moderation"), this.feedList = new Ue(Ok(this.slStreamId, this.interactiveAllowed, t.transport), "gamification:feedList"), this.activeQuestionId = _k(this.slStreamId, t.transport), this.openedQuestion = Ak(t.transport, this.openedQuestionId, this.feedList.getStore()), this.cancels.add(this.openedQuestionId.listen((n) => {
13700
+ this.transport = t.transport, this.log = We("gamification-background"), this.slStreamId = t.stores.slStreamId.getAtomStore(), this.organizationId = t.stores.organizationSettings.getAtomStore(), this.userId = t.stores.user.getAtomStore(), this.moderationId = new be(ie(void 0), "moderationId").getStore(), this.interactiveAllowed = new be(ie(Tt.DISALLOWED), "interactiveAllowed").getStore(), this.openedQuestionId = new be(ie(void 0), "openedQuestionId").getStore(), this.notifications = t.notifications, this.moderation = new Ue(Sk(this.slStreamId, t.transport), "gamification:moderation"), this.feedList = new Ue(Ok(this.slStreamId, this.interactiveAllowed, t.transport), "gamification:feedList"), this.activeQuestionId = _k(this.slStreamId, t.transport), this.openedQuestion = Ak(t.transport, this.openedQuestionId, this.feedList.getStore()), this.cancels.add(this.openedQuestionId.listen((n) => {
13701
13701
  this.log.debug({ item: n }, "received question"), n != null && n.questionId ? (this.questionSubscription = Nk(n.questionId, t.transport), this.questionSubscription.addListener("feed-subscription-opened-question", (a) => {
13702
13702
  var s, o;
13703
13703
  this.openedQuestion.updateExtendedQuestion((o = (s = a.data) == null ? void 0 : s.attributes) == null ? void 0 : o.question);
@@ -13706,7 +13706,7 @@ class Mk {
13706
13706
  var o, r, c, l;
13707
13707
  const a = (r = (o = this.activeQuestionId.get().data) == null ? void 0 : o.question) == null ? void 0 : r.id, s = (l = (c = n.data) == null ? void 0 : c.attributes) == null ? void 0 : l.question;
13708
13708
  if (!(!s || s.type === C.PROMOTION)) {
13709
- if (s.status === ue.RESOLVED) {
13709
+ if (s.status === de.RESOLVED) {
13710
13710
  a === s.id && this.activeQuestionId.mutate(void 0);
13711
13711
  return;
13712
13712
  }
@@ -13804,7 +13804,7 @@ class Pk {
13804
13804
  this.logger.debug({ notificationId: t }, "active queue tick skipped, notification not exist");
13805
13805
  return;
13806
13806
  }
13807
- de.emit("notification", {
13807
+ pe.emit("notification", {
13808
13808
  action: "received",
13809
13809
  payload: {
13810
13810
  questionId: n.data.questionId,
@@ -13829,7 +13829,7 @@ class Pk {
13829
13829
  const r = new Map(this.notificationsList.get());
13830
13830
  r.delete(t), this.notificationsList.set(r);
13831
13831
  const c = this.timeouts.get(t);
13832
- c !== void 0 && (clearTimeout(c), this.timeouts.delete(t)), this.logger.debug({ notificationId: t }, "notification hidden"), s.hiding && de.emit("notification", {
13832
+ c !== void 0 && (clearTimeout(c), this.timeouts.delete(t)), this.logger.debug({ notificationId: t }, "notification hidden"), s.hiding && pe.emit("notification", {
13833
13833
  action: "closed",
13834
13834
  payload: {
13835
13835
  questionId: s.data.questionId,
@@ -13844,7 +13844,7 @@ class Pk {
13844
13844
  p(this, "drain", () => {
13845
13845
  this.store.clear(), this.timeouts.clear(), this.waitingQueue.clear(), this.activeQueue.clear(), this.notificationsList.off(), this.notificationsList.set(/* @__PURE__ */ new Map());
13846
13846
  });
13847
- this.options = t, this.logger = We("notifications"), this.store = /* @__PURE__ */ new Map(), this.timeouts = /* @__PURE__ */ new Map(), this.waitingQueue = /* @__PURE__ */ new Set(), this.activeQueue = /* @__PURE__ */ new Set(), this.notificationsList = re(/* @__PURE__ */ new Map());
13847
+ this.options = t, this.logger = We("notifications"), this.store = /* @__PURE__ */ new Map(), this.timeouts = /* @__PURE__ */ new Map(), this.waitingQueue = /* @__PURE__ */ new Set(), this.activeQueue = /* @__PURE__ */ new Set(), this.notificationsList = ie(/* @__PURE__ */ new Map());
13848
13848
  }
13849
13849
  }
13850
13850
  var Mn;
@@ -13877,7 +13877,7 @@ class Ck {
13877
13877
  if (t.data && t.emitEvent) {
13878
13878
  const n = t.action;
13879
13879
  t.action = (...a) => {
13880
- n && n(...a), de.emit("notification", {
13880
+ n && n(...a), pe.emit("notification", {
13881
13881
  action: "opened",
13882
13882
  payload: {
13883
13883
  questionId: t.data.questionId,
@@ -13961,7 +13961,7 @@ const Vk = {
13961
13961
  pageSize: 10
13962
13962
  }, qk = (e, t, n, a, s) => {
13963
13963
  let o = 0;
13964
- const r = re({ pageSize: Vk.pageSize, page: 0 }), c = Ee({
13964
+ const r = ie({ pageSize: Vk.pageSize, page: 0 }), c = Ee({
13965
13965
  data: [],
13966
13966
  key: Date.now(),
13967
13967
  hasMore: !0,
@@ -14008,7 +14008,7 @@ class xk extends Bt {
14008
14008
  p(this, "del", this.remove);
14009
14009
  }
14010
14010
  }
14011
- const er = "sldl", Kn = "sldl_uid", zi = "sldl_eid", Ji = "sldl_e_eid", Hk = /* @__PURE__ */ new Set([Kn, zi, Ji]), tr = (e) => {
14011
+ const er = "sldl", $n = "sldl_uid", zi = "sldl_eid", Ji = "sldl_e_eid", Hk = /* @__PURE__ */ new Set([$n, zi, Ji]), tr = (e) => {
14012
14012
  const t = {}, n = {};
14013
14013
  for (const [a, s] of e)
14014
14014
  Hk.has(a) ? t[a] = s : n[a] = s;
@@ -14074,7 +14074,7 @@ const er = "sldl", Kn = "sldl_uid", zi = "sldl_eid", Ji = "sldl_e_eid", Hk = /*
14074
14074
  onDeepLinkHandlers: /* @__PURE__ */ new Set()
14075
14075
  }, e.sdk.getInviter = () => {
14076
14076
  const { data: c, used: l } = e.deepLink.getDeepLinkData();
14077
- return l ? c == null ? void 0 : c[Kn] : void 0;
14077
+ return l ? c == null ? void 0 : c[$n] : void 0;
14078
14078
  }, e.sdk.inviteDisplayed = () => {
14079
14079
  e.deepLink.$store.getStore().set({}), e.deepLink.$store.getStore().off(), a.del("sl-deep-link-store");
14080
14080
  }, e.deepLink.$store.subscribe((c) => a.set("sl-deep-link-store", JSON.stringify(c))), e.sdk.addDeepLinkHandler = (c) => {
@@ -14092,8 +14092,8 @@ const er = "sldl", Kn = "sldl_uid", zi = "sldl_eid", Ji = "sldl_e_eid", Hk = /*
14092
14092
  }
14093
14093
  };
14094
14094
  Yk(e.deepLink.$store, r), n();
14095
- }, $k = We("bypass");
14096
- class Kk extends Kg {
14095
+ }, Kk = We("bypass");
14096
+ class $k extends $g {
14097
14097
  constructor(n, a, s) {
14098
14098
  super();
14099
14099
  p(this, "$coreStore");
@@ -14113,8 +14113,8 @@ class Kk extends Kg {
14113
14113
  p(this, "login", async (n, a) => {
14114
14114
  var u, d, y;
14115
14115
  this.$coreStore.getValues().userKey.setValue(a);
14116
- const { used: s, data: o } = this.deepLink.getDeepLinkData(), r = s ? "" : o == null ? void 0 : o[Kn];
14117
- $k.debug({ inviterKey: r }, "login with inviterKey");
14116
+ const { used: s, data: o } = this.deepLink.getDeepLinkData(), r = s ? "" : o == null ? void 0 : o[$n];
14117
+ Kk.debug({ inviterKey: r }, "login with inviterKey");
14118
14118
  const c = await this.bypassLogin({
14119
14119
  schema: n,
14120
14120
  userKey: a,
@@ -14186,7 +14186,7 @@ class Kk extends Kg {
14186
14186
  }
14187
14187
  }
14188
14188
  const Ht = new It(), Wk = (e, t, n) => {
14189
- e.auth = new Kk(e.store, e.transport, e.deepLink), e.stores.status.listen((a) => {
14189
+ e.auth = new $k(e.store, e.transport, e.deepLink), e.stores.status.listen((a) => {
14190
14190
  a === qe.READY && e.auth.reLogin();
14191
14191
  }), e.sdk.userId = e.stores.user.getAtomStore, e.sdk.authorizationBypass = async (a, s) => {
14192
14192
  if (!(Ht.getSchema() === a && Ht.getExternalToken() === s && e.transport.getHeader("authorization")))
@@ -14320,7 +14320,7 @@ const Ht = new It(), Wk = (e, t, n) => {
14320
14320
  break;
14321
14321
  }
14322
14322
  }
14323
- }, o = de.listen(s), r = e.activeFeature.subscribe((c) => {
14323
+ }, o = pe.listen(s), r = e.activeFeature.subscribe((c) => {
14324
14324
  c ? e.ui.enableApp() : e.ui.disableApp();
14325
14325
  });
14326
14326
  return () => {
@@ -14390,7 +14390,7 @@ const Ht = new It(), Wk = (e, t, n) => {
14390
14390
  return Hn(s, () => eh(e, [t, n]).subscribe(async ({ data: o, error: r, loading: c }) => {
14391
14391
  var T;
14392
14392
  const l = r ? "https://masters.com" : o == null ? void 0 : o.url, m = a.get() || "", u = t.get() || "", d = n.get() || "", y = {
14393
- [Kn]: m,
14393
+ [$n]: m,
14394
14394
  [zi]: u,
14395
14395
  [Ji]: d
14396
14396
  };
@@ -14470,7 +14470,7 @@ const ah = (e, t, n, a) => {
14470
14470
  }
14471
14471
  }, sh = (e, t, n, a) => {
14472
14472
  let s = !1;
14473
- const o = new Wi(), r = re(ae.Unset);
14473
+ const o = new Wi(), r = ie(ae.Unset);
14474
14474
  r.subscribe((l) => {
14475
14475
  l !== ae.Unset && (l === ae.Optional || l === ae.Required ? s === !1 && (ah(e, t, a, o), s = !0) : e.onboardingProcessed.set(!0), l === ae.Completed && t.activeQuestionId.invalidate(), o.setOnboardingInstantOpen({
14476
14476
  userId: t.userId.get() || "",
@@ -14492,7 +14492,7 @@ const ah = (e, t, n, a) => {
14492
14492
  organizationId: t.organizationId.get() || "",
14493
14493
  userId: t.userId.get() || "",
14494
14494
  eventId: l
14495
- }, ae.Completed), de.emit("poll", {
14495
+ }, ae.Completed), pe.emit("poll", {
14496
14496
  action: "onboardingPassed",
14497
14497
  payload: {}
14498
14498
  }), e.openFeature();
@@ -14501,7 +14501,7 @@ const ah = (e, t, n, a) => {
14501
14501
  }
14502
14502
  } };
14503
14503
  }, oh = (e, t, n, a) => {
14504
- const s = Ee(void 0), o = $i(a), r = async () => {
14504
+ const s = Ee(void 0), o = Ki(a), r = async () => {
14505
14505
  var T, f;
14506
14506
  const l = e.get(), m = t.get(), u = (T = n.getStore().get().data) == null ? void 0 : T.map((_) => _.slId);
14507
14507
  if (!u)
@@ -14523,7 +14523,7 @@ const ah = (e, t, n, a) => {
14523
14523
  }), { $store: s, invalidate: c };
14524
14524
  }, rh = async (e, t, n, a, s) => {
14525
14525
  var u, d, y;
14526
- const o = $i(s), r = e.get(), c = t.get(), l = ((u = n.getStore().get().data) == null ? void 0 : u.map((T) => T.slId)) || [], m = {
14526
+ const o = Ki(s), r = e.get(), c = t.get(), l = ((u = n.getStore().get().data) == null ? void 0 : u.map((T) => T.slId)) || [], m = {
14527
14527
  eventId: r,
14528
14528
  userId: a,
14529
14529
  usersIds: [...l, c]
@@ -14584,18 +14584,18 @@ class ch extends Qi {
14584
14584
  if (!a || !(s != null && s.attributes))
14585
14585
  return;
14586
14586
  const { status: o, type: r, id: c, answers: l } = a;
14587
- if (o === ue.RESOLVED && r === C.PREDICTION) {
14587
+ if (o === de.RESOLVED && r === C.PREDICTION) {
14588
14588
  const v = this.background.getCurrentSessionId({
14589
14589
  prefix: `notification-id:${c}`
14590
14590
  }), A = [...this.feedList.getValues().data || []], L = A.findIndex((X) => X.id === c), O = A[L];
14591
14591
  let U = (_ = (f = (T = O == null ? void 0 : O.attributes) == null ? void 0 : T.attributes) == null ? void 0 : f.value) == null ? void 0 : _.answerId;
14592
- const $ = $a(c, this.transport), ne = $.subscribe(() => {
14592
+ const K = Ka(c, this.transport), ne = K.subscribe(() => {
14593
14593
  });
14594
- await $.get().promise;
14595
- let K = $.get().data;
14596
- K || (K = await Ik(c, this.transport)), ne(), window.requestAnimationFrame(() => {
14597
- $.invalidate();
14598
- }), U || (U = (N = K == null ? void 0 : K.answers.find(({ youVoted: X }) => X)) == null ? void 0 : N.id);
14594
+ await K.get().promise;
14595
+ let $ = K.get().data;
14596
+ $ || ($ = await Ik(c, this.transport)), ne(), window.requestAnimationFrame(() => {
14597
+ K.invalidate();
14598
+ }), U || (U = (N = $ == null ? void 0 : $.answers.find(({ youVoted: X }) => X)) == null ? void 0 : N.id);
14599
14599
  const W = l.find(({ correct: X }) => X), B = U ? l.find(({ id: X }) => X === U) : void 0, V = !!(B != null && B.correct);
14600
14600
  if (O && ((b = (E = A[L]) == null ? void 0 : E.attributes) == null ? void 0 : b.attributes.case) === "question") {
14601
14601
  try {
@@ -14624,7 +14624,7 @@ class ch extends Qi {
14624
14624
  },
14625
14625
  correctAnswerTitle: W == null ? void 0 : W.text,
14626
14626
  correct: !!V,
14627
- predictionResult: o === ue.RESOLVED,
14627
+ predictionResult: o === de.RESOLVED,
14628
14628
  questionTitle: a == null ? void 0 : a.subject
14629
14629
  }
14630
14630
  }
@@ -14633,7 +14633,7 @@ class ch extends Qi {
14633
14633
  })), this.cancels.add(this.background.feedSubscription.addListener("feed-subscription-questions-list", (n) => {
14634
14634
  var r, c, l, m, u;
14635
14635
  const a = [...((r = this.feedList.getStore().value) == null ? void 0 : r.data) || []], s = (l = (c = n.data) == null ? void 0 : c.attributes) == null ? void 0 : l.feedItem, o = a.findIndex((d) => d.id === (s == null ? void 0 : s.id));
14636
- if (s != null && s.attributes && s.attributes.attributes.case !== "promotion" && !(s.attributes.status !== ue.ACTIVE && s.attributes.status !== ue.RESOLVED)) {
14636
+ if (s != null && s.attributes && s.attributes.attributes.case !== "promotion" && !(s.attributes.status !== de.ACTIVE && s.attributes.status !== de.RESOLVED)) {
14637
14637
  if (o !== -1)
14638
14638
  if (s.attributes.attributes.case === "question" && ((m = a[o].attributes) == null ? void 0 : m.attributes.case) === "question") {
14639
14639
  const d = a[o];
@@ -14679,7 +14679,7 @@ class ch extends Qi {
14679
14679
  }
14680
14680
  });
14681
14681
  }
14682
- o === -1 && (a.unshift(s), de.emit("poll", {
14682
+ o === -1 && (a.unshift(s), pe.emit("poll", {
14683
14683
  action: "received",
14684
14684
  payload: {
14685
14685
  questionId: s.id,
@@ -14694,7 +14694,7 @@ class ch extends Qi {
14694
14694
  this.background.feedSubscription.removeListener("feed-subscription-prediction-close"), this.background.feedSubscription.removeListener("feed-subscription-questions-list");
14695
14695
  });
14696
14696
  p(this, "submitAnswer", async (n, a) => {
14697
- const s = $a(n, this.transport), o = s.subscribe(() => {
14697
+ const s = Ka(n, this.transport), o = s.subscribe(() => {
14698
14698
  }), r = { ...s.get().data || {} }, c = () => {
14699
14699
  var y;
14700
14700
  const l = this.feedList.getValues().data;
@@ -14702,7 +14702,7 @@ class ch extends Qi {
14702
14702
  return;
14703
14703
  const m = l.findIndex((T) => T.id === n), u = l[m], d = ((y = u == null ? void 0 : u.attributes) == null ? void 0 : y.attributes.case) === "question" && u.attributes.attributes.value;
14704
14704
  if (d) {
14705
- de.emit("poll", {
14705
+ pe.emit("poll", {
14706
14706
  action: "voted",
14707
14707
  payload: {
14708
14708
  questionId: n,
@@ -14714,7 +14714,7 @@ class ch extends Qi {
14714
14714
  const f = T.answers.find((b) => b.correct === !0), _ = T.answers.findIndex((b) => b.id === a), N = T.answers[_], E = T.answers.every(({ percentageDecimal: b }, w) => b === (r == null ? void 0 : r.answers[w].percentageDecimal));
14715
14715
  l[m].attributes.attributes.value.answerId = a, l[m].attributes.attributes.value.openForVoting = !1, l[m].attributes.attributes.value.text = (N == null ? void 0 : N.text) || "", f && (l[m].attributes.attributes.value.status = f.id === a ? Qt.WON : Qt.LOST), this.feedList.getStore().mutate([...l]), T.answers[_].correct = (f == null ? void 0 : f.id) === a, T.answers[_].youVoted = !0, E && T.answers.forEach((b) => {
14716
14716
  b.percentageDecimal = 0;
14717
- }), (f == null ? void 0 : f.id) === a && (T.answers[_].pointsEarned = T.status === ue.RESOLVED ? 0 : f.points), s.mutate({ ...T });
14717
+ }), (f == null ? void 0 : f.id) === a && (T.answers[_].pointsEarned = T.status === de.RESOLVED ? 0 : f.points), s.mutate({ ...T });
14718
14718
  }
14719
14719
  this.submitAnswerTimeout && clearTimeout(this.submitAnswerTimeout), this.submitAnswerTimeout = setTimeout(() => {
14720
14720
  this.userSummary.invalidate();
@@ -14745,7 +14745,7 @@ class ch extends Qi {
14745
14745
  animateHiding: !1
14746
14746
  });
14747
14747
  let s = (o = a == null ? void 0 : a.attributes) == null ? void 0 : o.type;
14748
- return s || (s = (l = (c = (((r = this.feedList.getStore().value) == null ? void 0 : r.data) || []).find((m) => m.id === n)) == null ? void 0 : c.attributes) == null ? void 0 : l.type), de.emit("poll", {
14748
+ return s || (s = (l = (c = (((r = this.feedList.getStore().value) == null ? void 0 : r.data) || []).find((m) => m.id === n)) == null ? void 0 : c.attributes) == null ? void 0 : l.type), pe.emit("poll", {
14749
14749
  action: "opened",
14750
14750
  payload: {
14751
14751
  questionId: n,
@@ -14796,7 +14796,7 @@ class ch extends Qi {
14796
14796
  p(this, "showInApp", (n) => {
14797
14797
  var s, o, r, c, l, m, u, d, y, T, f, _, N, E;
14798
14798
  const a = this.onboardingStatus.$store.get();
14799
- if (n && n.data && a && a !== ae.Unset && ((s = n.data.question) == null ? void 0 : s.id) !== void 0 && n.data.question.notification !== void 0 && ((r = (o = n.data.question) == null ? void 0 : o.bypassNotifications) == null ? void 0 : r.inAppSilence) !== ei.ON && n.data.question.status === ue.ACTIVE && !n.data.question.marketClosed) {
14799
+ if (n && n.data && a && a !== ae.Unset && ((s = n.data.question) == null ? void 0 : s.id) !== void 0 && n.data.question.notification !== void 0 && ((r = (o = n.data.question) == null ? void 0 : o.bypassNotifications) == null ? void 0 : r.inAppSilence) !== ei.ON && n.data.question.status === de.ACTIVE && !n.data.question.marketClosed) {
14800
14800
  if (ih.has(n.data.question.type))
14801
14801
  this.isInteractiveAllowed && this.notifications.add({
14802
14802
  type: et.QUESTION,
@@ -14889,7 +14889,7 @@ class ch extends Qi {
14889
14889
  }
14890
14890
  }
14891
14891
  });
14892
- this.background = new Mk(s), this.advertisement = this.background.advertisement, this.onQuestionActivate = s.onQuestionActivate, this.feedSubscription = this.background.feedSubscription, this.activeQuestionId = this.background.activeQuestionId, this.openedQuestionId = this.background.openedQuestionId, this.storage = new Wi(), this.feedList = this.background.feedList, this.friends = new Ue(hk(this.background.userId, s.transport), "gamification:friends"), this.currentUserId = this.background.userId, this.openedUser = re(void 0), this.onboardingProcessed = re(!1), this.leaderboardId = new be(re(this.settings.getValue("pinnedLeaderboardId")), "pinnedLeaderboardId").getStore(), this.onboardingStatus = sh(this, this.background, s.transport, s.notifications), this.notifications = s.notifications, this.transport = s.transport, this.closeFeature = (o = !0) => s.sdk.closeFeature(o), this.openFeature = () => s.sdk.openFeature(Y.GAMES), this.openedQuestion = this.background.openedQuestion, this.deepLink = nh(this.transport, this.background.slStreamId, s.stores.providerStreamId.getStore(), this.background.userId), this.userSummary = oh(this.background.slStreamId, this.background.userId, this.friends, this.transport), this.leaderboardList = qk(this.transport, this.background.slStreamId, this.background.userId, this.friends), this.connect(), this.cancels.add(this.userSummary.$store.listen((o, r) => {
14892
+ this.background = new Mk(s), this.advertisement = this.background.advertisement, this.onQuestionActivate = s.onQuestionActivate, this.feedSubscription = this.background.feedSubscription, this.activeQuestionId = this.background.activeQuestionId, this.openedQuestionId = this.background.openedQuestionId, this.storage = new Wi(), this.feedList = this.background.feedList, this.friends = new Ue(hk(this.background.userId, s.transport), "gamification:friends"), this.currentUserId = this.background.userId, this.openedUser = ie(void 0), this.onboardingProcessed = ie(!1), this.leaderboardId = new be(ie(this.settings.getValue("pinnedLeaderboardId")), "pinnedLeaderboardId").getStore(), this.onboardingStatus = sh(this, this.background, s.transport, s.notifications), this.notifications = s.notifications, this.transport = s.transport, this.closeFeature = (o = !0) => s.sdk.closeFeature(o), this.openFeature = () => s.sdk.openFeature(Y.GAMES), this.openedQuestion = this.background.openedQuestion, this.deepLink = nh(this.transport, this.background.slStreamId, s.stores.providerStreamId.getStore(), this.background.userId), this.userSummary = oh(this.background.slStreamId, this.background.userId, this.friends, this.transport), this.leaderboardList = qk(this.transport, this.background.slStreamId, this.background.userId, this.friends), this.connect(), this.cancels.add(this.userSummary.$store.listen((o, r) => {
14893
14893
  r != null && r.summary && (o != null && o.summary) && this.leaderboardList.invalidate();
14894
14894
  })), this.cancels.add(this.onboardingStatus.$store.listen(this.checkInteractiveFlag)), this.cancels.add(this.background.moderation.getStore().listen(this.checkInteractiveFlag)), this.cancels.add(this.settings.subscribe(this.checkInteractiveFlag)), this.cancels.add(this.onboardingStatus.$store.listen((o, r) => {
14895
14895
  (r === void 0 || o !== ae.Unset) && this.background.activeQuestionId.invalidate();
@@ -14911,7 +14911,7 @@ class mh extends Qi {
14911
14911
  }
14912
14912
  }
14913
14913
  const uh = (e, t, n) => e.type === Y.GAMES ? new ch(e, t, n) : new mh(e, t), dh = (e, t, n) => {
14914
- e.features = /* @__PURE__ */ new Map(), e.sdk.featuresList = new be(re(/* @__PURE__ */ new Set()), "features-list"), e.activeFeature = new be(re(Y.UNSET), "activeFeature"), e.sdk.getFeatures = () => e.features, e.sdk.getFeature = (a) => e.features.get(a), e.sdk.getActiveFeature = () => e.activeFeature.getStore(), e.sdk.openFeature = (a) => {
14914
+ e.features = /* @__PURE__ */ new Map(), e.sdk.featuresList = new be(ie(/* @__PURE__ */ new Set()), "features-list"), e.activeFeature = new be(ie(Y.UNSET), "activeFeature"), e.sdk.getFeatures = () => e.features, e.sdk.getFeature = (a) => e.features.get(a), e.sdk.getActiveFeature = () => e.activeFeature.getStore(), e.sdk.openFeature = (a) => {
14915
14915
  e.activeFeature.setValue(a);
14916
14916
  }, e.sdk.closeFeature = (a = !1) => {
14917
14917
  const s = e.activeFeature.getValue();
@@ -14984,7 +14984,7 @@ class ph {
14984
14984
  this.analytics.write("invitation", {
14985
14985
  common: {
14986
14986
  ...this.analytics.commonStore.getValues(),
14987
- kind: oe.INVITATION_ACCEPTED
14987
+ kind: re.INVITATION_ACCEPTED
14988
14988
  },
14989
14989
  category: Fa.GAMES,
14990
14990
  from: Ga.UNSET
@@ -14994,7 +14994,7 @@ class ph {
14994
14994
  this.analytics.write("invitation", {
14995
14995
  common: {
14996
14996
  ...this.analytics.commonStore.getValues(),
14997
- kind: oe.INVITATION_SENT
14997
+ kind: re.INVITATION_SENT
14998
14998
  },
14999
14999
  category: Fa.GAMES,
15000
15000
  from: t || Ga.UNSET
@@ -15010,7 +15010,7 @@ class ph {
15010
15010
  break;
15011
15011
  }
15012
15012
  };
15013
- return de.listen(n);
15013
+ return pe.listen(n);
15014
15014
  });
15015
15015
  }
15016
15016
  }
@@ -15021,7 +15021,7 @@ class Th {
15021
15021
  this.analytics.write("interactions", {
15022
15022
  common: {
15023
15023
  ...this.analytics.commonStore.getValues(),
15024
- kind: oe.INTERACTIONS
15024
+ kind: re.INTERACTIONS
15025
15025
  },
15026
15026
  actionType: xa.TAP
15027
15027
  });
@@ -15030,7 +15030,7 @@ class Th {
15030
15030
  this.analytics.write("interactions", {
15031
15031
  common: {
15032
15032
  ...this.analytics.commonStore.getValues(),
15033
- kind: oe.INTERACTIONS
15033
+ kind: re.INTERACTIONS
15034
15034
  },
15035
15035
  actionType: xa.SCROLL
15036
15036
  });
@@ -15048,7 +15048,7 @@ class Th {
15048
15048
  break;
15049
15049
  }
15050
15050
  };
15051
- return de.listen(n);
15051
+ return pe.listen(n);
15052
15052
  });
15053
15053
  }
15054
15054
  }
@@ -15068,9 +15068,9 @@ class fh {
15068
15068
  this.analytics.write("games", {
15069
15069
  common: {
15070
15070
  ...this.analytics.commonStore.getValues(),
15071
- kind: oe.POLLS_RECEIVED,
15071
+ kind: re.POLLS_RECEIVED,
15072
15072
  topicId: t,
15073
- topicType: pe.POLLS_PROMOTION,
15073
+ topicType: se.POLLS_PROMOTION,
15074
15074
  topicSubType: n
15075
15075
  },
15076
15076
  pollOpenedFrom: _e.UNSET
@@ -15080,9 +15080,9 @@ class fh {
15080
15080
  this.analytics.write("games", {
15081
15081
  common: {
15082
15082
  ...this.analytics.commonStore.getValues(),
15083
- kind: oe.POLLS_OPENED,
15083
+ kind: re.POLLS_OPENED,
15084
15084
  topicId: t,
15085
- topicType: pe.POLLS_PROMOTION,
15085
+ topicType: se.POLLS_PROMOTION,
15086
15086
  topicSubType: n
15087
15087
  },
15088
15088
  pollOpenedFrom: _e.UNSET
@@ -15093,7 +15093,8 @@ class fh {
15093
15093
  common: {
15094
15094
  ...this.analytics.commonStore.getValues(),
15095
15095
  topicId: t,
15096
- kind: oe.AD_VIDEO_PLAYED,
15096
+ kind: re.AD_VIDEO_PLAYED,
15097
+ topicType: se.POLLS_PROMOTION,
15097
15098
  topicSubType: n
15098
15099
  },
15099
15100
  pollOpenedFrom: _e.UNSET
@@ -15104,7 +15105,8 @@ class fh {
15104
15105
  common: {
15105
15106
  ...this.analytics.commonStore.getValues(),
15106
15107
  topicId: t,
15107
- kind: oe.AD_BUTTON_NAVIGATED,
15108
+ kind: re.AD_BUTTON_NAVIGATED,
15109
+ topicType: se.POLLS_PROMOTION,
15108
15110
  topicSubType: n
15109
15111
  },
15110
15112
  pollOpenedFrom: _e.UNSET
@@ -15115,7 +15117,8 @@ class fh {
15115
15117
  common: {
15116
15118
  ...this.analytics.commonStore.getValues(),
15117
15119
  topicId: t,
15118
- kind: oe.AD_BANNER_NAVIGATED,
15120
+ kind: re.AD_BANNER_NAVIGATED,
15121
+ topicType: se.POLLS_PROMOTION,
15119
15122
  topicSubType: n
15120
15123
  },
15121
15124
  pollOpenedFrom: _e.UNSET
@@ -15145,39 +15148,39 @@ class fh {
15145
15148
  }
15146
15149
  }
15147
15150
  };
15148
- return de.listen(n);
15151
+ return pe.listen(n);
15149
15152
  });
15150
15153
  }
15151
15154
  }
15152
15155
  const Wt = {
15153
- [C.UNSET]: pe.UNSET,
15154
- [C.FACTOID]: pe.POLLS_INSIGHT,
15155
- [C.POLL]: pe.POLLS_POLL,
15156
- [C.PREDICTION]: pe.POLLS_PREDICTION,
15157
- [C.PROMOTION]: pe.POLLS_PROMOTION,
15158
- [C.TRIVIA]: pe.POLLS_TRIVIA,
15159
- [C.TWEET]: pe.POLLS_TWITTER
15156
+ [C.UNSET]: se.UNSET,
15157
+ [C.FACTOID]: se.POLLS_INSIGHT,
15158
+ [C.POLL]: se.POLLS_POLL,
15159
+ [C.PREDICTION]: se.POLLS_PREDICTION,
15160
+ [C.PROMOTION]: se.POLLS_PROMOTION,
15161
+ [C.TRIVIA]: se.POLLS_TRIVIA,
15162
+ [C.TWEET]: se.POLLS_TWITTER
15160
15163
  };
15161
15164
  C.UNSET + "", Le.UNSET, C.FACTOID + "", Le.POLLS, C.POLL + "", Le.POLLS, C.PREDICTION + "", Le.POLLS, C.PROMOTION + "", Le.POLLS, C.TRIVIA + "", Le.POLLS, C.TWEET + "", Le.POLLS;
15162
15165
  const gh = {
15163
- [Y.UNSET]: le.UNSET,
15164
- [Y.INPLAY]: le.INPLAY,
15165
- [Y.MESSAGING]: le.MESSAGING,
15166
- [Y.STATISTICS]: le.STATS,
15167
- [Y.BETTING]: le.BETTING,
15168
- [Y.TWITTER]: le.TWITTER,
15169
- [Y.MERCHANDISE]: le.MERCHANDISE,
15170
- [Y.CONTESTS]: le.CONTESTS,
15171
- [Y.VOICE_CHAT]: le.CALLING,
15172
- [Y.TICKETS]: le.TICKETS,
15173
- [Y.WHOIS_WATCHING]: le.WHOISWATCHING,
15174
- [Y.PROFILE]: le.PROFILE,
15175
- [Y.GAMES]: le.POLLS,
15166
+ [Y.UNSET]: me.UNSET,
15167
+ [Y.INPLAY]: me.INPLAY,
15168
+ [Y.MESSAGING]: me.MESSAGING,
15169
+ [Y.STATISTICS]: me.STATS,
15170
+ [Y.BETTING]: me.BETTING,
15171
+ [Y.TWITTER]: me.TWITTER,
15172
+ [Y.MERCHANDISE]: me.MERCHANDISE,
15173
+ [Y.CONTESTS]: me.CONTESTS,
15174
+ [Y.VOICE_CHAT]: me.CALLING,
15175
+ [Y.TICKETS]: me.TICKETS,
15176
+ [Y.WHOIS_WATCHING]: me.WHOISWATCHING,
15177
+ [Y.PROFILE]: me.PROFILE,
15178
+ [Y.GAMES]: me.POLLS,
15176
15179
  // ??
15177
- [Y.GOLF_STATISTICS]: le.STATS,
15180
+ [Y.GOLF_STATISTICS]: me.STATS,
15178
15181
  // ??
15179
- [Y.HIGHLIGHTS]: le.HIGHLIGHTS,
15180
- [Y.PUBLIC_CHAT]: le.PUBLIC_CHAT
15182
+ [Y.HIGHLIGHTS]: me.HIGHLIGHTS,
15183
+ [Y.PUBLIC_CHAT]: me.PUBLIC_CHAT
15181
15184
  };
15182
15185
  class kh {
15183
15186
  constructor(t) {
@@ -15186,9 +15189,9 @@ class kh {
15186
15189
  this.analytics.write("notification", {
15187
15190
  common: {
15188
15191
  ...this.analytics.commonStore.getValues(),
15189
- kind: oe.NOTIFICATION_RECEIVED,
15192
+ kind: re.NOTIFICATION_RECEIVED,
15190
15193
  topicId: t,
15191
- topicType: n ? Wt[n] : pe.UNSET
15194
+ topicType: n ? Wt[n] : se.UNSET
15192
15195
  },
15193
15196
  notificationKind: Le.POLLS,
15194
15197
  notificationType: Ha.IN_APP
@@ -15198,9 +15201,9 @@ class kh {
15198
15201
  this.analytics.write("notification", {
15199
15202
  common: {
15200
15203
  ...this.analytics.commonStore.getValues(),
15201
- kind: oe.NOTIFICATION_OPENED,
15204
+ kind: re.NOTIFICATION_OPENED,
15202
15205
  topicId: t,
15203
- topicType: n ? Wt[n] : pe.UNSET
15206
+ topicType: n ? Wt[n] : se.UNSET
15204
15207
  },
15205
15208
  notificationKind: Le.POLLS,
15206
15209
  notificationType: Ha.IN_APP
@@ -15219,7 +15222,7 @@ class kh {
15219
15222
  break;
15220
15223
  }
15221
15224
  };
15222
- return de.listen(n);
15225
+ return pe.listen(n);
15223
15226
  });
15224
15227
  }
15225
15228
  }
@@ -15231,9 +15234,9 @@ class hh {
15231
15234
  this.analytics.write("games", {
15232
15235
  common: {
15233
15236
  ...this.analytics.commonStore.getValues(),
15234
- kind: oe.POLLS_RECEIVED,
15237
+ kind: re.POLLS_RECEIVED,
15235
15238
  topicId: t,
15236
- topicType: n ? Wt[n] : pe.UNSET
15239
+ topicType: n ? Wt[n] : se.UNSET
15237
15240
  },
15238
15241
  pollOpenedFrom: _e.UNSET
15239
15242
  });
@@ -15243,9 +15246,9 @@ class hh {
15243
15246
  this.analytics.write("games", {
15244
15247
  common: {
15245
15248
  ...this.analytics.commonStore.getValues(),
15246
- kind: oe.POLLS_OPENED,
15249
+ kind: re.POLLS_OPENED,
15247
15250
  topicId: t,
15248
- topicType: n ? Wt[n] : pe.UNSET
15251
+ topicType: n ? Wt[n] : se.UNSET
15249
15252
  },
15250
15253
  pollOpenedFrom: a === "list" ? _e.PICK_HISTORY : _e.IN_APP
15251
15254
  });
@@ -15255,9 +15258,9 @@ class hh {
15255
15258
  this.analytics.write("games", {
15256
15259
  common: {
15257
15260
  ...this.analytics.commonStore.getValues(),
15258
- kind: oe.POLLS_VOTE,
15261
+ kind: re.POLLS_VOTE,
15259
15262
  topicId: t,
15260
- topicType: n ? Wt[n] : pe.UNSET
15263
+ topicType: n ? Wt[n] : se.UNSET
15261
15264
  },
15262
15265
  pollOpenedFrom: _e.UNSET
15263
15266
  });
@@ -15267,7 +15270,7 @@ class hh {
15267
15270
  this.analytics.write("games", {
15268
15271
  common: {
15269
15272
  ...this.analytics.commonStore.getValues(),
15270
- kind: oe.GAMES_JOINED
15273
+ kind: re.GAMES_JOINED
15271
15274
  },
15272
15275
  pollOpenedFrom: _e.UNSET
15273
15276
  });
@@ -15277,7 +15280,7 @@ class hh {
15277
15280
  this.analytics.write("games", {
15278
15281
  common: {
15279
15282
  ...this.analytics.commonStore.getValues(),
15280
- kind: oe.POLLS_NAVIGATED
15283
+ kind: re.POLLS_NAVIGATED
15281
15284
  },
15282
15285
  pollOpenedFrom: _e.UNSET
15283
15286
  });
@@ -15304,13 +15307,13 @@ class hh {
15304
15307
  break;
15305
15308
  }
15306
15309
  };
15307
- return de.listen(n);
15310
+ return pe.listen(n);
15308
15311
  });
15309
15312
  }
15310
15313
  }
15311
15314
  const Sh = ({ transport: e, $commonStore: t }) => {
15312
15315
  let n;
15313
- const a = re(!1), s = 5e3, { client: o, queryKey: r } = e.createPromiseClient(Bi, {
15316
+ const a = ie(!1), s = 5e3, { client: o, queryKey: r } = e.createPromiseClient(Bi, {
15314
15317
  method: "send",
15315
15318
  params: [a]
15316
15319
  }), c = e.nanoquery.createFetcherStore(r, {
@@ -15323,7 +15326,7 @@ const Sh = ({ transport: e, $commonStore: t }) => {
15323
15326
  value: {
15324
15327
  common: {
15325
15328
  ...d,
15326
- kind: oe.SESSION_HEARTBEAT
15329
+ kind: re.SESSION_HEARTBEAT
15327
15330
  }
15328
15331
  }
15329
15332
  }
@@ -15823,7 +15826,7 @@ var cc = As.exports, zn = {}, lc = {}, mc = function() {
15823
15826
  foo: {}
15824
15827
  }, Hh = Object, Qh = function() {
15825
15828
  return { __proto__: pa }.foo === pa.foo && !(pa instanceof Hh);
15826
- }, Yh = "Function.prototype.bind called on incompatible ", jh = Object.prototype.toString, $h = Math.max, Kh = "[object Function]", cr = function(e, t) {
15829
+ }, Yh = "Function.prototype.bind called on incompatible ", jh = Object.prototype.toString, Kh = Math.max, $h = "[object Function]", cr = function(e, t) {
15827
15830
  for (var n = [], a = 0; a < e.length; a += 1)
15828
15831
  n[a] = e[a];
15829
15832
  for (var s = 0; s < t.length; s += 1)
@@ -15839,7 +15842,7 @@ var cc = As.exports, zn = {}, lc = {}, mc = function() {
15839
15842
  return n;
15840
15843
  }, Jh = function(e) {
15841
15844
  var t = this;
15842
- if (typeof t != "function" || jh.apply(t) !== Kh)
15845
+ if (typeof t != "function" || jh.apply(t) !== $h)
15843
15846
  throw new TypeError(Yh + t);
15844
15847
  for (var n = Wh(arguments, 1), a, s = function() {
15845
15848
  if (this instanceof a) {
@@ -15853,7 +15856,7 @@ var cc = As.exports, zn = {}, lc = {}, mc = function() {
15853
15856
  e,
15854
15857
  cr(n, arguments)
15855
15858
  );
15856
- }, o = $h(0, t.length - n.length), r = [], c = 0; c < o; c++)
15859
+ }, o = Kh(0, t.length - n.length), r = [], c = 0; c < o; c++)
15857
15860
  r[c] = "$" + c;
15858
15861
  if (a = Function("binder", "return function (" + zh(r, ",") + "){ return binder.apply(this,arguments); }")(s), t.prototype) {
15859
15862
  var l = function() {
@@ -15885,14 +15888,14 @@ var ya = function() {
15885
15888
  return ya;
15886
15889
  }
15887
15890
  }
15888
- }() : ya, Et = xh(), lS = Qh(), se = Object.getPrototypeOf || (lS ? function(e) {
15891
+ }() : ya, Et = xh(), lS = Qh(), oe = Object.getPrototypeOf || (lS ? function(e) {
15889
15892
  return e.__proto__;
15890
- } : null), Nt = {}, mS = typeof Uint8Array > "u" || !se ? G : se(Uint8Array), ft = {
15893
+ } : null), Nt = {}, mS = typeof Uint8Array > "u" || !oe ? G : oe(Uint8Array), ft = {
15891
15894
  __proto__: null,
15892
15895
  "%AggregateError%": typeof AggregateError > "u" ? G : AggregateError,
15893
15896
  "%Array%": Array,
15894
15897
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? G : ArrayBuffer,
15895
- "%ArrayIteratorPrototype%": Et && se ? se([][Symbol.iterator]()) : G,
15898
+ "%ArrayIteratorPrototype%": Et && oe ? oe([][Symbol.iterator]()) : G,
15896
15899
  "%AsyncFromSyncIteratorPrototype%": G,
15897
15900
  "%AsyncFunction%": Nt,
15898
15901
  "%AsyncGenerator%": Nt,
@@ -15923,10 +15926,10 @@ var ya = function() {
15923
15926
  "%Int32Array%": typeof Int32Array > "u" ? G : Int32Array,
15924
15927
  "%isFinite%": isFinite,
15925
15928
  "%isNaN%": isNaN,
15926
- "%IteratorPrototype%": Et && se ? se(se([][Symbol.iterator]())) : G,
15929
+ "%IteratorPrototype%": Et && oe ? oe(oe([][Symbol.iterator]())) : G,
15927
15930
  "%JSON%": typeof JSON == "object" ? JSON : G,
15928
15931
  "%Map%": typeof Map > "u" ? G : Map,
15929
- "%MapIteratorPrototype%": typeof Map > "u" || !Et || !se ? G : se((/* @__PURE__ */ new Map())[Symbol.iterator]()),
15932
+ "%MapIteratorPrototype%": typeof Map > "u" || !Et || !oe ? G : oe((/* @__PURE__ */ new Map())[Symbol.iterator]()),
15930
15933
  "%Math%": Math,
15931
15934
  "%Number%": Number,
15932
15935
  "%Object%": Object,
@@ -15939,10 +15942,10 @@ var ya = function() {
15939
15942
  "%Reflect%": typeof Reflect > "u" ? G : Reflect,
15940
15943
  "%RegExp%": RegExp,
15941
15944
  "%Set%": typeof Set > "u" ? G : Set,
15942
- "%SetIteratorPrototype%": typeof Set > "u" || !Et || !se ? G : se((/* @__PURE__ */ new Set())[Symbol.iterator]()),
15945
+ "%SetIteratorPrototype%": typeof Set > "u" || !Et || !oe ? G : oe((/* @__PURE__ */ new Set())[Symbol.iterator]()),
15943
15946
  "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? G : SharedArrayBuffer,
15944
15947
  "%String%": String,
15945
- "%StringIteratorPrototype%": Et && se ? se(""[Symbol.iterator]()) : G,
15948
+ "%StringIteratorPrototype%": Et && oe ? oe(""[Symbol.iterator]()) : G,
15946
15949
  "%Symbol%": Et ? Symbol : G,
15947
15950
  "%SyntaxError%": Ut,
15948
15951
  "%ThrowTypeError%": cS,
@@ -15957,11 +15960,11 @@ var ya = function() {
15957
15960
  "%WeakRef%": typeof WeakRef > "u" ? G : WeakRef,
15958
15961
  "%WeakSet%": typeof WeakSet > "u" ? G : WeakSet
15959
15962
  };
15960
- if (se)
15963
+ if (oe)
15961
15964
  try {
15962
15965
  null.error;
15963
15966
  } catch (e) {
15964
- var uS = se(se(e));
15967
+ var uS = oe(oe(e));
15965
15968
  ft["%Error.prototype%"] = uS;
15966
15969
  }
15967
15970
  var dS = function e(t) {
@@ -15977,7 +15980,7 @@ var dS = function e(t) {
15977
15980
  a && (n = a.prototype);
15978
15981
  } else if (t === "%AsyncIteratorPrototype%") {
15979
15982
  var s = e("%AsyncGenerator%");
15980
- s && se && (n = se(s.prototype));
15983
+ s && oe && (n = oe(s.prototype));
15981
15984
  }
15982
15985
  return ft[t] = n, n;
15983
15986
  }, lr = {
@@ -16131,14 +16134,14 @@ var Zn = En, dr = Rs(), _S = uc, bt = Xn, pr = Zn, ES = function(e, t, n) {
16131
16134
  e[t] = n;
16132
16135
  else
16133
16136
  throw new _S("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
16134
- }, Ka = Rs(), Tc = function() {
16135
- return !!Ka;
16137
+ }, $a = Rs(), Tc = function() {
16138
+ return !!$a;
16136
16139
  };
16137
16140
  Tc.hasArrayLengthDefineBug = function() {
16138
- if (!Ka)
16141
+ if (!$a)
16139
16142
  return null;
16140
16143
  try {
16141
- return Ka([], "length", { value: 1 }).length !== 1;
16144
+ return $a([], "length", { value: 1 }).length !== 1;
16142
16145
  } catch {
16143
16146
  return !0;
16144
16147
  }
@@ -16250,8 +16253,8 @@ var GS = /^\s*class\b/, Ja = function(e) {
16250
16253
  return !1;
16251
16254
  };
16252
16255
  if (typeof document == "object") {
16253
- var $S = document.all;
16254
- Nn.call($S) === Nn.call(document.all) && (Xa = function(e) {
16256
+ var KS = document.all;
16257
+ Nn.call(KS) === Nn.call(document.all) && (Xa = function(e) {
16255
16258
  if ((jS || !e) && (typeof e > "u" || typeof e == "object"))
16256
16259
  try {
16257
16260
  var t = Nn.call(e);
@@ -16261,7 +16264,7 @@ if (typeof document == "object") {
16261
16264
  return !1;
16262
16265
  });
16263
16266
  }
16264
- var KS = vt ? function(e) {
16267
+ var $S = vt ? function(e) {
16265
16268
  if (Xa(e))
16266
16269
  return !0;
16267
16270
  if (!e || typeof e != "function" && typeof e != "object")
@@ -16284,7 +16287,7 @@ var KS = vt ? function(e) {
16284
16287
  return !1;
16285
16288
  var t = Nn.call(e);
16286
16289
  return t !== VS && t !== qS && !/^\[object HTML/.test(t) ? !1 : ha(e);
16287
- }, WS = KS, zS = Object.prototype.toString, Sc = Object.prototype.hasOwnProperty, JS = function(e, t, n) {
16290
+ }, WS = $S, zS = Object.prototype.toString, Sc = Object.prototype.hasOwnProperty, JS = function(e, t, n) {
16288
16291
  for (var a = 0, s = e.length; a < s; a++)
16289
16292
  Sc.call(e, a) && (n == null ? t(e[a], a, e) : t.call(n, e[a], a, e));
16290
16293
  }, XS = function(e, t, n) {
@@ -16483,18 +16486,18 @@ var d_ = function(e) {
16483
16486
  return a(S) === "Float32Array";
16484
16487
  }
16485
16488
  e.isFloat32Array = U;
16486
- function $(S) {
16489
+ function K(S) {
16487
16490
  return a(S) === "Float64Array";
16488
16491
  }
16489
- e.isFloat64Array = $;
16492
+ e.isFloat64Array = K;
16490
16493
  function ne(S) {
16491
16494
  return a(S) === "BigInt64Array";
16492
16495
  }
16493
16496
  e.isBigInt64Array = ne;
16494
- function K(S) {
16497
+ function $(S) {
16495
16498
  return a(S) === "BigUint64Array";
16496
16499
  }
16497
- e.isBigUint64Array = K;
16500
+ e.isBigUint64Array = $;
16498
16501
  function W(S) {
16499
16502
  return l(S) === "[object Map]";
16500
16503
  }
@@ -16658,7 +16661,7 @@ var k_ = ts.exports;
16658
16661
  return Q;
16659
16662
  }
16660
16663
  }), F = M[I]; I < z; F = M[++I])
16661
- b(F) || !$(F) ? q += " " + F : q += " " + r(F);
16664
+ b(F) || !K(F) ? q += " " + F : q += " " + r(F);
16662
16665
  return q;
16663
16666
  }, e.deprecate = function(g, k) {
16664
16667
  if (typeof D < "u" && D.noDeprecation === !0)
@@ -16752,7 +16755,7 @@ var k_ = ts.exports;
16752
16755
  if (z)
16753
16756
  return z;
16754
16757
  var q = Object.keys(k), F = m(q);
16755
- if (g.showHidden && (q = Object.getOwnPropertyNames(k)), K(k) && (q.indexOf("message") >= 0 || q.indexOf("description") >= 0))
16758
+ if (g.showHidden && (q = Object.getOwnPropertyNames(k)), $(k) && (q.indexOf("message") >= 0 || q.indexOf("description") >= 0))
16756
16759
  return y(k);
16757
16760
  if (q.length === 0) {
16758
16761
  if (W(k)) {
@@ -16763,7 +16766,7 @@ var k_ = ts.exports;
16763
16766
  return g.stylize(RegExp.prototype.toString.call(k), "regexp");
16764
16767
  if (ne(k))
16765
16768
  return g.stylize(Date.prototype.toString.call(k), "date");
16766
- if (K(k))
16769
+ if ($(k))
16767
16770
  return y(k);
16768
16771
  }
16769
16772
  var Q = "", Oe = !1, rt = ["{", "}"];
@@ -16771,7 +16774,7 @@ var k_ = ts.exports;
16771
16774
  var sn = k.name ? ": " + k.name : "";
16772
16775
  Q = " [Function" + sn + "]";
16773
16776
  }
16774
- if (U(k) && (Q = " " + RegExp.prototype.toString.call(k)), ne(k) && (Q = " " + Date.prototype.toUTCString.call(k)), K(k) && (Q = " " + y(k)), q.length === 0 && (!Oe || k.length == 0))
16777
+ if (U(k) && (Q = " " + RegExp.prototype.toString.call(k)), ne(k) && (Q = " " + Date.prototype.toUTCString.call(k)), $(k) && (Q = " " + y(k)), q.length === 0 && (!Oe || k.length == 0))
16775
16778
  return rt[0] + Q + rt[1];
16776
16779
  if (I < 0)
16777
16780
  return U(k) ? g.stylize(RegExp.prototype.toString.call(k), "regexp") : g.stylize("[Object]", "special");
@@ -16881,21 +16884,21 @@ var k_ = ts.exports;
16881
16884
  }
16882
16885
  e.isUndefined = O;
16883
16886
  function U(g) {
16884
- return $(g) && V(g) === "[object RegExp]";
16887
+ return K(g) && V(g) === "[object RegExp]";
16885
16888
  }
16886
16889
  e.isRegExp = U, e.types.isRegExp = U;
16887
- function $(g) {
16890
+ function K(g) {
16888
16891
  return typeof g == "object" && g !== null;
16889
16892
  }
16890
- e.isObject = $;
16893
+ e.isObject = K;
16891
16894
  function ne(g) {
16892
- return $(g) && V(g) === "[object Date]";
16895
+ return K(g) && V(g) === "[object Date]";
16893
16896
  }
16894
16897
  e.isDate = ne, e.types.isDate = ne;
16895
- function K(g) {
16896
- return $(g) && (V(g) === "[object Error]" || g instanceof Error);
16898
+ function $(g) {
16899
+ return K(g) && (V(g) === "[object Error]" || g instanceof Error);
16897
16900
  }
16898
- e.isError = K, e.types.isNativeError = K;
16901
+ e.isError = $, e.types.isNativeError = $;
16899
16902
  function W(g) {
16900
16903
  return typeof g == "function";
16901
16904
  }
@@ -16936,7 +16939,7 @@ var k_ = ts.exports;
16936
16939
  e.log = function() {
16937
16940
  console.log("%s - %s", qt(), e.format.apply(e, arguments));
16938
16941
  }, e.inherits = k_, e._extend = function(g, k) {
16939
- if (!k || !$(k)) return g;
16942
+ if (!k || !K(k)) return g;
16940
16943
  for (var I = Object.keys(k), M = I.length; M--; )
16941
16944
  g[I[M]] = k[I[M]];
16942
16945
  return g;
@@ -17436,7 +17439,7 @@ var O_ = I_;
17436
17439
  };
17437
17440
  })(ns, ns.exports);
17438
17441
  var Oc = ns.exports;
17439
- const v_ = Zi, A_ = cc.EventEmitter, w_ = zn.inherits, me = Oc("avvio"), { AVV_ERR_READY_TIMEOUT: R_ } = Ic, Oa = Symbol.for("plugin-meta");
17442
+ const v_ = Zi, A_ = cc.EventEmitter, w_ = zn.inherits, ue = Oc("avvio"), { AVV_ERR_READY_TIMEOUT: R_ } = Ic, Oa = Symbol.for("plugin-meta");
17440
17443
  function L_(e, t) {
17441
17444
  return e[Oa] && e[Oa].name ? e[Oa].name : typeof t < "u" && typeof t != "function" && t.name ? t.name : e.name ? e.name : e.toString().split(`
17442
17445
  `).slice(0, 2).map((n) => n.trim()).join(" -- ");
@@ -17456,7 +17459,7 @@ Vt.prototype.exec = function(e, t) {
17456
17459
  let a = !1;
17457
17460
  const s = this.name;
17458
17461
  if (this.parent._error && !this.isAfter) {
17459
- me("skipping loading of plugin as parent errored and it is not an after", s), D.nextTick(t);
17462
+ ue("skipping loading of plugin as parent errored and it is not an after", s), D.nextTick(t);
17460
17463
  return;
17461
17464
  }
17462
17465
  if (this.isAfter)
@@ -17465,24 +17468,24 @@ Vt.prototype.exec = function(e, t) {
17465
17468
  try {
17466
17469
  this.server = this.parent.override(e, n, this.opts);
17467
17470
  } catch (l) {
17468
- return me("override errored", s), t(l);
17471
+ return ue("override errored", s), t(l);
17469
17472
  }
17470
- this.opts = typeof this.opts == "function" ? this.opts(this.server) : this.opts, me("exec", s);
17473
+ this.opts = typeof this.opts == "function" ? this.opts(this.server) : this.opts, ue("exec", s);
17471
17474
  let o;
17472
17475
  const r = (l) => {
17473
17476
  if (a) {
17474
- me("loading complete", s);
17477
+ ue("loading complete", s);
17475
17478
  return;
17476
17479
  }
17477
- this._error = l, me(l ? "exec errored" : "exec completed", s), a = !0, o && clearTimeout(o), t(l);
17480
+ this._error = l, ue(l ? "exec errored" : "exec completed", s), a = !0, o && clearTimeout(o), t(l);
17478
17481
  };
17479
- this.timeout > 0 && (me("setting up timeout", s, this.timeout), o = setTimeout(function() {
17480
- me("timed out", s), o = null;
17482
+ this.timeout > 0 && (ue("setting up timeout", s, this.timeout), o = setTimeout(function() {
17483
+ ue("timed out", s), o = null;
17481
17484
  const l = new R_(s);
17482
17485
  l.fn = n, r(l);
17483
17486
  }, this.timeout)), this.started = !0, this.emit("start", this.server ? this.server.name : null, this.name, Date.now());
17484
17487
  const c = n(this.server, this.opts, r);
17485
- c && typeof c.then == "function" && (me("exec: resolving promise", s), c.then(
17488
+ c && typeof c.then == "function" && (ue("exec: resolving promise", s), c.then(
17486
17489
  () => D.nextTick(r),
17487
17490
  (l) => D.nextTick(r, l)
17488
17491
  ));
@@ -17492,36 +17495,36 @@ Vt.prototype.loadedSoFar = function() {
17492
17495
  return Promise.resolve();
17493
17496
  const e = () => {
17494
17497
  this.server.after((n, a) => {
17495
- this._error = n, this.q.pause(), n ? (me("rejecting promise", this.name, n), this._promise.reject(n)) : (me("resolving promise", this.name), this._promise.resolve()), this._promise = null, D.nextTick(a, n);
17498
+ this._error = n, this.q.pause(), n ? (ue("rejecting promise", this.name, n), this._promise.reject(n)) : (ue("resolving promise", this.name), this._promise.resolve()), this._promise = null, D.nextTick(a, n);
17496
17499
  }), this.q.resume();
17497
17500
  };
17498
17501
  let t;
17499
17502
  return this._promise ? t = Promise.resolve() : (this._promise = M_(), t = this._promise.promise, this.server ? e() : this.on("start", e)), t;
17500
17503
  };
17501
17504
  Vt.prototype.enqueue = function(e, t) {
17502
- me("enqueue", this.name, e.name), this.emit("enqueue", this.server ? this.server.name : null, this.name, Date.now()), this.q.push(e, t);
17505
+ ue("enqueue", this.name, e.name), this.emit("enqueue", this.server ? this.server.name : null, this.name, Date.now()), this.q.push(e, t);
17503
17506
  };
17504
17507
  Vt.prototype.finish = function(e, t) {
17505
- me("finish", this.name, e);
17508
+ ue("finish", this.name, e);
17506
17509
  const n = () => {
17507
- this.loaded || (me("loaded", this.name), this.emit("loaded", this.server ? this.server.name : null, this.name, Date.now()), this.loaded = !0, t(e));
17510
+ this.loaded || (ue("loaded", this.name), this.emit("loaded", this.server ? this.server.name : null, this.name, Date.now()), this.loaded = !0, t(e));
17508
17511
  };
17509
17512
  if (e) {
17510
17513
  this._promise && (this._promise.reject(e), this._promise = null), n();
17511
17514
  return;
17512
17515
  }
17513
17516
  const a = () => {
17514
- if (me("check", this.name, this.q.length(), this.q.running(), this._promise), this.q.length() === 0 && this.q.running() === 0)
17517
+ if (ue("check", this.name, this.q.length(), this.q.running(), this._promise), this.q.length() === 0 && this.q.running() === 0)
17515
17518
  if (this._promise) {
17516
17519
  const s = () => {
17517
- me("wrap"), queueMicrotask(a);
17520
+ ue("wrap"), queueMicrotask(a);
17518
17521
  };
17519
17522
  this._promise.resolve(), this._promise.promise.then(s, s), this._promise = null;
17520
17523
  } else
17521
17524
  n();
17522
17525
  else
17523
- me("delayed", this.name), this.q.drain = () => {
17524
- me("drain", this.name), this.q.drain = D_, queueMicrotask(a);
17526
+ ue("delayed", this.name), this.q.drain = () => {
17527
+ ue("drain", this.name), this.q.drain = D_, queueMicrotask(a);
17525
17528
  };
17526
17529
  };
17527
17530
  queueMicrotask(a), this.q.resume();
@@ -17575,16 +17578,16 @@ function x_(e, t, n) {
17575
17578
  }, e[c] = function(m) {
17576
17579
  if (typeof m != "function")
17577
17580
  throw new zt(c, typeof m);
17578
- return n.onClose($_(m, this)), this;
17581
+ return n.onClose(K_(m, this)), this;
17579
17582
  }, e[l] = function(m) {
17580
17583
  if (m && typeof m != "function")
17581
17584
  throw new zt(l, typeof m);
17582
17585
  return m ? (n.close(wa(m, this)), this) : n.close();
17583
17586
  };
17584
17587
  }
17585
- function ie(e, t, n) {
17586
- if (typeof e == "function" && arguments.length === 1 && (n = e, t = {}, e = null), typeof t == "function" && (n = t, t = {}), t = t || {}, !(this instanceof ie)) {
17587
- const a = new ie(e, t, n);
17588
+ function ce(e, t, n) {
17589
+ if (typeof e == "function" && arguments.length === 1 && (n = e, t = {}, e = null), typeof t == "function" && (n = t, t = {}), t = t || {}, !(this instanceof ce)) {
17590
+ const a = new ce(e, t, n);
17588
17591
  return e && x_(e, t, a), a;
17589
17592
  }
17590
17593
  t.autostart !== !1 && (t.autostart = !0), e = e || this, this._timeout = Number(t.timeout) || 0, this._server = e, this._current = [], this._error = null, this._isOnCloseHandlerKey = Symbol("isOnCloseHandler"), this._lastUsed = null, this.setMaxListeners(0), n && this.once("start", n), this.started = !1, this.booted = !1, this.pluginTree = new q_(), this._readyQ = Or(this, Ac, 1), this._readyQ.pause(), this._readyQ.drain = () => {
@@ -17614,11 +17617,11 @@ function ie(e, t, n) {
17614
17617
  function H_(e, t, n) {
17615
17618
  this._doStart = n, t.autostart && this.start();
17616
17619
  }
17617
- F_(ie, U_);
17618
- ie.prototype.start = function() {
17620
+ F_(ce, U_);
17621
+ ce.prototype.start = function() {
17619
17622
  return this.started = !0, D.nextTick(this._doStart), this;
17620
17623
  };
17621
- ie.prototype.override = function(e, t, n) {
17624
+ ce.prototype.override = function(e, t, n) {
17622
17625
  return e;
17623
17626
  };
17624
17627
  function Q_(e) {
@@ -17626,16 +17629,16 @@ function Q_(e) {
17626
17629
  throw new G_(typeof e);
17627
17630
  return e;
17628
17631
  }
17629
- ie.prototype[Bn] = !0;
17630
- ie.prototype.use = function(e, t) {
17632
+ ce.prototype[Bn] = !0;
17633
+ ce.prototype.use = function(e, t) {
17631
17634
  return this._lastUsed = this._addPlugin(e, t, !1), this;
17632
17635
  };
17633
- ie.prototype._loadRegistered = function() {
17636
+ ce.prototype._loadRegistered = function() {
17634
17637
  const e = this._current[0];
17635
17638
  return !this.started && !this.booted && D.nextTick(() => this._root.q.resume()), e ? e.loadedSoFar() : Promise.resolve();
17636
17639
  };
17637
- Object.defineProperty(ie.prototype, "then", { get: vc });
17638
- ie.prototype._addPlugin = function(e, t, n) {
17640
+ Object.defineProperty(ce.prototype, "then", { get: vc });
17641
+ ce.prototype._addPlugin = function(e, t, n) {
17639
17642
  if (e = Q_(e), t = t || {}, this.booted)
17640
17643
  throw new B_();
17641
17644
  const a = this._current[0], s = new as(this, e, t, n);
@@ -17650,7 +17653,7 @@ ie.prototype._addPlugin = function(e, t, n) {
17650
17653
  o && (this._error = o);
17651
17654
  }), s;
17652
17655
  };
17653
- ie.prototype.after = function(e) {
17656
+ ce.prototype.after = function(e) {
17654
17657
  if (!e)
17655
17658
  return this._loadRegistered();
17656
17659
  this._addPlugin(t.bind(this), {}, !0);
@@ -17659,7 +17662,7 @@ ie.prototype.after = function(e) {
17659
17662
  }
17660
17663
  return this;
17661
17664
  };
17662
- ie.prototype.onClose = function(e) {
17665
+ ce.prototype.onClose = function(e) {
17663
17666
  if (typeof e != "function")
17664
17667
  throw new Error("not a function");
17665
17668
  e[this._isOnCloseHandlerKey] = !0, this._closeQ.unshift(e, t.bind(this));
@@ -17668,7 +17671,7 @@ ie.prototype.onClose = function(e) {
17668
17671
  }
17669
17672
  return this;
17670
17673
  };
17671
- ie.prototype.close = function(e) {
17674
+ ce.prototype.close = function(e) {
17672
17675
  let t;
17673
17676
  if (e) {
17674
17677
  if (typeof e != "function")
@@ -17685,7 +17688,7 @@ ie.prototype.close = function(e) {
17685
17688
  this._error = null, this._closeQ.push(e), D.nextTick(this._closeQ.resume.bind(this._closeQ));
17686
17689
  }), t;
17687
17690
  };
17688
- ie.prototype.ready = function(e) {
17691
+ ce.prototype.ready = function(e) {
17689
17692
  if (e) {
17690
17693
  if (typeof e != "function")
17691
17694
  throw new zt("ready", typeof e);
@@ -17700,10 +17703,10 @@ ie.prototype.ready = function(e) {
17700
17703
  }
17701
17704
  });
17702
17705
  };
17703
- ie.prototype.prettyPrint = function() {
17706
+ ce.prototype.prettyPrint = function() {
17704
17707
  return this.pluginTree.prittyPrint();
17705
17708
  };
17706
- ie.prototype.toJSON = function() {
17709
+ ce.prototype.toJSON = function() {
17707
17710
  return this.pluginTree.toJSON();
17708
17711
  };
17709
17712
  function vr() {
@@ -17757,7 +17760,7 @@ function j_(e, t) {
17757
17760
  )) : D.nextTick(t);
17758
17761
  } else e.length === 2 ? e(a ? n : this._error, t) : a ? e(n, t) : e(this._error, n, t);
17759
17762
  }
17760
- function $_(e, t) {
17763
+ function K_(e, t) {
17761
17764
  return n.bind(t);
17762
17765
  function n(a, s) {
17763
17766
  let o;
@@ -17779,16 +17782,16 @@ function wa(e, t) {
17779
17782
  }, s) : D.nextTick(s)) : e.length === 2 ? e(a, s) : e(a, this, s) : D.nextTick(s);
17780
17783
  }
17781
17784
  }
17782
- Os.exports = ie;
17785
+ Os.exports = ce;
17783
17786
  Os.exports.express = function(e) {
17784
- return ie(e, {
17787
+ return ce(e, {
17785
17788
  expose: {
17786
17789
  use: "load"
17787
17790
  }
17788
17791
  });
17789
17792
  };
17790
- var K_ = Os.exports;
17791
- const W_ = /* @__PURE__ */ bh(K_);
17793
+ var $_ = Os.exports;
17794
+ const W_ = /* @__PURE__ */ bh($_);
17792
17795
  (function() {
17793
17796
  if (window.requestAnimationFrame && window.cancelAnimationFrame)
17794
17797
  return;
@@ -17843,7 +17846,7 @@ const Z_ = ({
17843
17846
  d = !0;
17844
17847
  };
17845
17848
  const y = z_(e, n, a, {
17846
- version: "1.8.1",
17849
+ version: "1.8.2",
17847
17850
  onDeepLinkHandled: s,
17848
17851
  videoPlayerController: o,
17849
17852
  onContentActivate: r,
@@ -17879,7 +17882,7 @@ export {
17879
17882
  yo as g,
17880
17883
  hm as h,
17881
17884
  gt as i,
17882
- ue as j,
17885
+ de as j,
17883
17886
  Wo as k,
17884
17887
  Qt as l,
17885
17888
  sl as p,