@streamlayer/sdk-web 1.5.1 → 1.5.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.
package/lib/es/index.js CHANGED
@@ -12,14 +12,14 @@ import { Events as An } from "@streamlayer/sl-eslib/sports/events/events_connect
12
12
  import { Client as nt } from "@streamlayer/sl-eslib/sdkSettings/client/client_connect";
13
13
  import { Users as br } from "@streamlayer/sl-eslib/users/users_connect";
14
14
  import { Feed as Z } from "@streamlayer/sl-eslib/interactive/feed/interactive.feed_connect";
15
- import { Leaderboard as En } from "@streamlayer/sl-eslib/interactive/leaderboard/interactive.leaderboard_connect";
15
+ import { Leaderboard as In } from "@streamlayer/sl-eslib/interactive/leaderboard/interactive.leaderboard_connect";
16
16
  import "@streamlayer/sl-eslib/interactive/leaderboard/interactive.leaderboard_pb";
17
17
  import { LinksClient as Ai } from "@streamlayer/sl-eslib/shortLinks/linksClient_connect";
18
- import { Kind as x, TopicSubType as we, TopicType as H, PollOpenedFrom as re, Category as K, ScreenOrientation as Ur } from "@streamlayer/sl-eslib/analytics/v1/common/analytics.common_pb";
19
- import { AnalyticsService as In } from "@streamlayer/sl-eslib/analytics/v2/streaming/streaming_connect";
18
+ import { Kind as Q, TopicSubType as we, TopicType as x, PollOpenedFrom as re, Category as z, ScreenOrientation as Ur } from "@streamlayer/sl-eslib/analytics/v1/common/analytics.common_pb";
19
+ import { AnalyticsService as En } from "@streamlayer/sl-eslib/analytics/v2/streaming/streaming_connect";
20
20
  import { InteractionActionType as xr } from "@streamlayer/sl-eslib/analytics/v1/interactions/interactions_pb";
21
21
  import { NotificationKind as fe, NotificationType as Qr } from "@streamlayer/sl-eslib/analytics/v1/notifications/notifications_pb";
22
- function Ei(t) {
22
+ function Ii(t) {
23
23
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
24
24
  }
25
25
  var Tn = { exports: {} }, $ = Tn.exports = {}, se, ae;
@@ -56,7 +56,7 @@ function On(t) {
56
56
  }
57
57
  }
58
58
  }
59
- function Ii(t) {
59
+ function Ei(t) {
60
60
  if (ae === clearTimeout)
61
61
  return clearTimeout(t);
62
62
  if ((ae === ir || !ae) && clearTimeout)
@@ -84,7 +84,7 @@ function _n() {
84
84
  _e && _e[ft].run();
85
85
  ft = -1, e = ge.length;
86
86
  }
87
- _e = null, xe = !1, Ii(t);
87
+ _e = null, xe = !1, Ei(t);
88
88
  }
89
89
  }
90
90
  $.nextTick = function(t) {
@@ -133,7 +133,7 @@ $.umask = function() {
133
133
  return 0;
134
134
  };
135
135
  var Oi = Tn.exports;
136
- const A = /* @__PURE__ */ Ei(Oi), _i = gi({
136
+ const A = /* @__PURE__ */ Ii(Oi), _i = gi({
137
137
  level: "trace",
138
138
  enabled: typeof window < "u" && !!window.localStorage.getItem("SL_DEBUG"),
139
139
  browser: {
@@ -315,7 +315,7 @@ class ce extends Lt {
315
315
  key = () => this.getStore().key;
316
316
  off = () => this.getStore().off();
317
317
  }
318
- const Q = new ki();
318
+ const G = new ki();
319
319
  async function* Di(t, e) {
320
320
  for await (const r of e) {
321
321
  t.response.message = r, t.received_at = Date.now(), t.id = kn++;
@@ -859,10 +859,10 @@ const eo = (t, e, r) => {
859
859
  t.store.unsubscribe();
860
860
  }, r();
861
861
  }, to = (t) => {
862
- const { client: e } = t.createPromiseClient(En, { method: "list" });
862
+ const { client: e } = t.createPromiseClient(In, { method: "list" });
863
863
  return (r) => e.list(r);
864
864
  }, Nn = (t) => {
865
- const { client: e } = t.createPromiseClient(En, { method: "summary" });
865
+ const { client: e } = t.createPromiseClient(In, { method: "summary" });
866
866
  return (r) => e.summary(r);
867
867
  }, ro = (t, e) => {
868
868
  const { client: r, queryKey: n } = e.createPromiseClient(br, {
@@ -1046,7 +1046,7 @@ const ho = (t) => {
1046
1046
  const i = r.transport, o = ve("advertisement"), s = new po(), a = J({}), u = lo(t, i), d = () => {
1047
1047
  a.setKey("hasNotification", !1);
1048
1048
  const b = a.get(), g = b.data?.question.id, S = b.data?.promotion?.type;
1049
- g && Q.emit("advertisement", {
1049
+ g && G.emit("advertisement", {
1050
1050
  action: "notification-opened",
1051
1051
  payload: {
1052
1052
  id: g,
@@ -1055,7 +1055,7 @@ const ho = (t) => {
1055
1055
  });
1056
1056
  }, c = () => {
1057
1057
  const b = a.get(), g = b.data?.question.id, S = b.data?.promotion?.type, C = a.get()?.isOpened;
1058
- g && !C && (o.debug({ id: g }, "markAsViewed: %o"), s.setShowed(g), a.setKey("isOpened", !0), Q.emit("advertisement", {
1058
+ g && !C && (o.debug({ id: g }, "markAsViewed: %o"), s.setShowed(g), a.setKey("isOpened", !0), G.emit("advertisement", {
1059
1059
  action: "opened",
1060
1060
  payload: {
1061
1061
  id: g,
@@ -1084,7 +1084,7 @@ const ho = (t) => {
1084
1084
  })));
1085
1085
  };
1086
1086
  a.subscribe((b, g) => {
1087
- b.data && !b.isOpened && Q.emit("advertisement", {
1087
+ b.data && !b.isOpened && G.emit("advertisement", {
1088
1088
  action: "received",
1089
1089
  payload: {
1090
1090
  id: b.data.question.id,
@@ -1093,7 +1093,7 @@ const ho = (t) => {
1093
1093
  isViewed: !!s.isViewed(b.data.question.id)
1094
1094
  },
1095
1095
  skipAnalytics: b.data.question.id === g?.data?.question.id
1096
- }), !b?.data && g?.data && Q.emit("advertisement", {
1096
+ }), !b?.data && g?.data && G.emit("advertisement", {
1097
1097
  action: "closed",
1098
1098
  payload: {
1099
1099
  id: g.data.question.id,
@@ -1292,7 +1292,7 @@ class go {
1292
1292
  this.logger.debug({ notificationId: e }, "active queue tick skipped, notification not exist");
1293
1293
  return;
1294
1294
  }
1295
- Q.emit("notification", {
1295
+ G.emit("notification", {
1296
1296
  action: "received",
1297
1297
  payload: {
1298
1298
  questionId: r.data.questionId,
@@ -1317,7 +1317,7 @@ class go {
1317
1317
  const s = new Map(this.notificationsList.get());
1318
1318
  s.delete(e), this.notificationsList.set(s);
1319
1319
  const a = this.timeouts.get(e);
1320
- a !== void 0 && (clearTimeout(a), this.timeouts.delete(e)), this.logger.debug({ notificationId: e }, "notification hidden"), i.hiding && Q.emit("notification", {
1320
+ a !== void 0 && (clearTimeout(a), this.timeouts.delete(e)), this.logger.debug({ notificationId: e }, "notification hidden"), i.hiding && G.emit("notification", {
1321
1321
  action: "closed",
1322
1322
  payload: {
1323
1323
  questionId: i.data.questionId,
@@ -1365,7 +1365,7 @@ class vo {
1365
1365
  if (e.data && e.emitEvent) {
1366
1366
  const n = e.action;
1367
1367
  e.action = (...i) => {
1368
- n && n(...i), Q.emit("notification", {
1368
+ n && n(...i), G.emit("notification", {
1369
1369
  action: "opened",
1370
1370
  payload: {
1371
1371
  questionId: e.data.questionId,
@@ -1418,7 +1418,7 @@ var qe;
1418
1418
  (function(t) {
1419
1419
  t.ONBOARDING = "onboarding", t.ONBOARDING_IO = "onboarding_io";
1420
1420
  })(qe || (qe = {}));
1421
- class Eo extends He {
1421
+ class Io extends He {
1422
1422
  constructor() {
1423
1423
  super("gamification-session", window.sessionStorage);
1424
1424
  }
@@ -1430,7 +1430,7 @@ class Eo extends He {
1430
1430
  class Dn extends He {
1431
1431
  sessionStorage;
1432
1432
  constructor() {
1433
- super("gamification"), this.sessionStorage = new Eo();
1433
+ super("gamification"), this.sessionStorage = new Io();
1434
1434
  }
1435
1435
  saveOnboardingStatus = ({ userId: e, eventId: r, organizationId: n }, i) => {
1436
1436
  this.write(qe.ONBOARDING, n, e, r, i);
@@ -1441,11 +1441,11 @@ class Dn extends He {
1441
1441
  };
1442
1442
  getOnboardingInstantOpen = ({ userId: e, eventId: r, organizationId: n }) => this.sessionStorage.readValue([qe.ONBOARDING_IO, n, e, r]);
1443
1443
  }
1444
- const Io = {
1444
+ const Eo = {
1445
1445
  pageSize: 10
1446
1446
  }, To = (t, e, r, n, i) => {
1447
1447
  let o = 0;
1448
- const s = q({ pageSize: Io.pageSize, page: 0 }), a = J({
1448
+ const s = q({ pageSize: Eo.pageSize, page: 0 }), a = J({
1449
1449
  data: [],
1450
1450
  key: Date.now(),
1451
1451
  hasMore: !0,
@@ -1797,7 +1797,7 @@ const Je = new je(), Fo = (t, e, r) => {
1797
1797
  break;
1798
1798
  }
1799
1799
  }
1800
- }, o = Q.listen(i), s = t.activeFeature.subscribe((a) => {
1800
+ }, o = G.listen(i), s = t.activeFeature.subscribe((a) => {
1801
1801
  a ? t.ui.enableApp() : t.ui.disableApp();
1802
1802
  });
1803
1803
  return () => {
@@ -1965,7 +1965,7 @@ const qo = (t, e, r, n) => {
1965
1965
  organizationId: e.organizationId.get() || "",
1966
1966
  userId: e.userId.get() || "",
1967
1967
  eventId: d
1968
- }, M.Completed), Q.emit("poll", {
1968
+ }, M.Completed), G.emit("poll", {
1969
1969
  action: "onboardingPassed",
1970
1970
  payload: {}
1971
1971
  }), t.openFeature();
@@ -2067,7 +2067,7 @@ class Ko extends Ln {
2067
2067
  if (i === Y.RESOLVED && o === _.PREDICTION) {
2068
2068
  const u = this.background.getCurrentSessionId({
2069
2069
  prefix: `notification-id:${s}`
2070
- }), d = [...this.feedList.getValues().data || []], c = d.findIndex((G) => G.id === s), f = d[c];
2070
+ }), d = [...this.feedList.getValues().data || []], c = d.findIndex((K) => K.id === s), f = d[c];
2071
2071
  let p = f?.attributes?.attributes?.value?.answerId;
2072
2072
  const v = sr(s, this.transport), b = v.subscribe(() => {
2073
2073
  });
@@ -2075,8 +2075,8 @@ class Ko extends Ln {
2075
2075
  let g = v.get().data;
2076
2076
  g || (g = await uo(s, this.transport)), b(), window.requestAnimationFrame(() => {
2077
2077
  v.invalidate();
2078
- }), p || (p = g?.answers.find(({ youVoted: G }) => G)?.id);
2079
- const S = a.find(({ correct: G }) => G), C = p ? a.find(({ id: G }) => G === p) : void 0, R = !!C?.correct;
2078
+ }), p || (p = g?.answers.find(({ youVoted: K }) => K)?.id);
2079
+ const S = a.find(({ correct: K }) => K), C = p ? a.find(({ id: K }) => K === p) : void 0, R = !!C?.correct;
2080
2080
  if (f && d[c]?.attributes?.attributes.case === "question") {
2081
2081
  try {
2082
2082
  d[c].attributes.attributes.value.answerId = p, d[c].attributes.attributes.value.openForVoting = !1, p && (d[c].attributes.attributes.value.status = R ? ct.WON : ct.LOST);
@@ -2158,7 +2158,7 @@ class Ko extends Ln {
2158
2158
  }
2159
2159
  });
2160
2160
  }
2161
- i === -1 && (r.unshift(n), Q.emit("poll", {
2161
+ i === -1 && (r.unshift(n), G.emit("poll", {
2162
2162
  action: "received",
2163
2163
  payload: {
2164
2164
  questionId: n.id,
@@ -2180,7 +2180,7 @@ class Ko extends Ln {
2180
2180
  return;
2181
2181
  const u = a.findIndex((f) => f.id === e), d = a[u], c = d?.attributes?.attributes.case === "question" && d.attributes.attributes.value;
2182
2182
  if (c) {
2183
- Q.emit("poll", {
2183
+ G.emit("poll", {
2184
2184
  action: "voted",
2185
2185
  payload: {
2186
2186
  questionId: e,
@@ -2222,7 +2222,7 @@ class Ko extends Ln {
2222
2222
  animateHiding: !1
2223
2223
  });
2224
2224
  let n = r?.attributes?.type;
2225
- return n || (n = (this.feedList.getStore().value?.data || []).find((o) => o.id === e)?.attributes?.type), Q.emit("poll", {
2225
+ return n || (n = (this.feedList.getStore().value?.data || []).find((o) => o.id === e)?.attributes?.type), G.emit("poll", {
2226
2226
  action: "opened",
2227
2227
  payload: {
2228
2228
  questionId: e,
@@ -2432,14 +2432,14 @@ class Jo {
2432
2432
  break;
2433
2433
  }
2434
2434
  };
2435
- return Q.listen(r);
2435
+ return G.listen(r);
2436
2436
  });
2437
2437
  }
2438
2438
  accepted = () => {
2439
2439
  this.analytics.write("invitation", {
2440
2440
  common: {
2441
2441
  ...this.analytics.commonStore.getValues(),
2442
- kind: x.INVITATION_ACCEPTED
2442
+ kind: Q.INVITATION_ACCEPTED
2443
2443
  },
2444
2444
  category: Rr.GAMES,
2445
2445
  from: Vr.UNSET
@@ -2449,7 +2449,7 @@ class Jo {
2449
2449
  this.analytics.write("invitation", {
2450
2450
  common: {
2451
2451
  ...this.analytics.commonStore.getValues(),
2452
- kind: x.INVITATION_SENT
2452
+ kind: Q.INVITATION_SENT
2453
2453
  },
2454
2454
  category: Rr.GAMES,
2455
2455
  from: e || Vr.UNSET
@@ -2471,14 +2471,14 @@ class Xo {
2471
2471
  break;
2472
2472
  }
2473
2473
  };
2474
- return Q.listen(r);
2474
+ return G.listen(r);
2475
2475
  });
2476
2476
  }
2477
2477
  tap = () => {
2478
2478
  this.analytics.write("interactions", {
2479
2479
  common: {
2480
2480
  ...this.analytics.commonStore.getValues(),
2481
- kind: x.INTERACTIONS
2481
+ kind: Q.INTERACTIONS
2482
2482
  },
2483
2483
  actionType: xr.TAP
2484
2484
  });
@@ -2487,7 +2487,7 @@ class Xo {
2487
2487
  this.analytics.write("interactions", {
2488
2488
  common: {
2489
2489
  ...this.analytics.commonStore.getValues(),
2490
- kind: x.INTERACTIONS
2490
+ kind: Q.INTERACTIONS
2491
2491
  },
2492
2492
  actionType: xr.SCROLL
2493
2493
  });
@@ -2528,16 +2528,16 @@ class es {
2528
2528
  }
2529
2529
  }
2530
2530
  };
2531
- return Q.listen(r);
2531
+ return G.listen(r);
2532
2532
  });
2533
2533
  }
2534
2534
  received = ({ id: e }, { topicSubType: r }) => {
2535
2535
  this.analytics.write("games", {
2536
2536
  common: {
2537
2537
  ...this.analytics.commonStore.getValues(),
2538
- kind: x.POLLS_RECEIVED,
2538
+ kind: Q.POLLS_RECEIVED,
2539
2539
  topicId: e,
2540
- topicType: H.POLLS_PROMOTION,
2540
+ topicType: x.POLLS_PROMOTION,
2541
2541
  topicSubType: r
2542
2542
  },
2543
2543
  pollOpenedFrom: re.UNSET
@@ -2547,9 +2547,9 @@ class es {
2547
2547
  this.analytics.write("games", {
2548
2548
  common: {
2549
2549
  ...this.analytics.commonStore.getValues(),
2550
- kind: x.POLLS_OPENED,
2550
+ kind: Q.POLLS_OPENED,
2551
2551
  topicId: e,
2552
- topicType: H.POLLS_PROMOTION,
2552
+ topicType: x.POLLS_PROMOTION,
2553
2553
  topicSubType: r
2554
2554
  },
2555
2555
  pollOpenedFrom: re.UNSET
@@ -2560,7 +2560,8 @@ class es {
2560
2560
  common: {
2561
2561
  ...this.analytics.commonStore.getValues(),
2562
2562
  topicId: e,
2563
- kind: x.AD_VIDEO_PLAYED,
2563
+ kind: Q.AD_VIDEO_PLAYED,
2564
+ topicType: x.POLLS_PROMOTION,
2564
2565
  topicSubType: r
2565
2566
  },
2566
2567
  pollOpenedFrom: re.UNSET
@@ -2571,7 +2572,8 @@ class es {
2571
2572
  common: {
2572
2573
  ...this.analytics.commonStore.getValues(),
2573
2574
  topicId: e,
2574
- kind: x.AD_BUTTON_NAVIGATED,
2575
+ kind: Q.AD_BUTTON_NAVIGATED,
2576
+ topicType: x.POLLS_PROMOTION,
2575
2577
  topicSubType: r
2576
2578
  },
2577
2579
  pollOpenedFrom: re.UNSET
@@ -2582,7 +2584,8 @@ class es {
2582
2584
  common: {
2583
2585
  ...this.analytics.commonStore.getValues(),
2584
2586
  topicId: e,
2585
- kind: x.AD_BANNER_NAVIGATED,
2587
+ kind: Q.AD_BANNER_NAVIGATED,
2588
+ topicType: x.POLLS_PROMOTION,
2586
2589
  topicSubType: r
2587
2590
  },
2588
2591
  pollOpenedFrom: re.UNSET
@@ -2590,34 +2593,34 @@ class es {
2590
2593
  };
2591
2594
  }
2592
2595
  const Ze = {
2593
- [_.UNSET]: H.UNSET,
2594
- [_.FACTOID]: H.POLLS_INSIGHT,
2595
- [_.POLL]: H.POLLS_POLL,
2596
- [_.PREDICTION]: H.POLLS_PREDICTION,
2597
- [_.PROMOTION]: H.POLLS_PROMOTION,
2598
- [_.TRIVIA]: H.POLLS_TRIVIA,
2599
- [_.TWEET]: H.POLLS_TWITTER
2596
+ [_.UNSET]: x.UNSET,
2597
+ [_.FACTOID]: x.POLLS_INSIGHT,
2598
+ [_.POLL]: x.POLLS_POLL,
2599
+ [_.PREDICTION]: x.POLLS_PREDICTION,
2600
+ [_.PROMOTION]: x.POLLS_PROMOTION,
2601
+ [_.TRIVIA]: x.POLLS_TRIVIA,
2602
+ [_.TWEET]: x.POLLS_TWITTER
2600
2603
  };
2601
2604
  _.UNSET + "", fe.UNSET, _.FACTOID + "", fe.POLLS, _.POLL + "", fe.POLLS, _.PREDICTION + "", fe.POLLS, _.PROMOTION + "", fe.POLLS, _.TRIVIA + "", fe.POLLS, _.TWEET + "", fe.POLLS;
2602
2605
  const ts = {
2603
- [D.UNSET]: K.UNSET,
2604
- [D.INPLAY]: K.INPLAY,
2605
- [D.MESSAGING]: K.MESSAGING,
2606
- [D.STATISTICS]: K.STATS,
2607
- [D.BETTING]: K.BETTING,
2608
- [D.TWITTER]: K.TWITTER,
2609
- [D.MERCHANDISE]: K.MERCHANDISE,
2610
- [D.CONTESTS]: K.CONTESTS,
2611
- [D.VOICE_CHAT]: K.CALLING,
2612
- [D.TICKETS]: K.TICKETS,
2613
- [D.WHOIS_WATCHING]: K.WHOISWATCHING,
2614
- [D.PROFILE]: K.PROFILE,
2615
- [D.GAMES]: K.POLLS,
2606
+ [D.UNSET]: z.UNSET,
2607
+ [D.INPLAY]: z.INPLAY,
2608
+ [D.MESSAGING]: z.MESSAGING,
2609
+ [D.STATISTICS]: z.STATS,
2610
+ [D.BETTING]: z.BETTING,
2611
+ [D.TWITTER]: z.TWITTER,
2612
+ [D.MERCHANDISE]: z.MERCHANDISE,
2613
+ [D.CONTESTS]: z.CONTESTS,
2614
+ [D.VOICE_CHAT]: z.CALLING,
2615
+ [D.TICKETS]: z.TICKETS,
2616
+ [D.WHOIS_WATCHING]: z.WHOISWATCHING,
2617
+ [D.PROFILE]: z.PROFILE,
2618
+ [D.GAMES]: z.POLLS,
2616
2619
  // ??
2617
- [D.GOLF_STATISTICS]: K.STATS,
2620
+ [D.GOLF_STATISTICS]: z.STATS,
2618
2621
  // ??
2619
- [D.HIGHLIGHTS]: K.HIGHLIGHTS,
2620
- [D.PUBLIC_CHAT]: K.PUBLIC_CHAT
2622
+ [D.HIGHLIGHTS]: z.HIGHLIGHTS,
2623
+ [D.PUBLIC_CHAT]: z.PUBLIC_CHAT
2621
2624
  };
2622
2625
  class rs {
2623
2626
  analytics;
@@ -2634,16 +2637,16 @@ class rs {
2634
2637
  break;
2635
2638
  }
2636
2639
  };
2637
- return Q.listen(r);
2640
+ return G.listen(r);
2638
2641
  });
2639
2642
  }
2640
2643
  received = ({ questionId: e, questionType: r }) => {
2641
2644
  this.analytics.write("notification", {
2642
2645
  common: {
2643
2646
  ...this.analytics.commonStore.getValues(),
2644
- kind: x.NOTIFICATION_RECEIVED,
2647
+ kind: Q.NOTIFICATION_RECEIVED,
2645
2648
  topicId: e,
2646
- topicType: r ? Ze[r] : H.UNSET
2649
+ topicType: r ? Ze[r] : x.UNSET
2647
2650
  },
2648
2651
  notificationKind: fe.POLLS,
2649
2652
  notificationType: Qr.IN_APP
@@ -2653,9 +2656,9 @@ class rs {
2653
2656
  this.analytics.write("notification", {
2654
2657
  common: {
2655
2658
  ...this.analytics.commonStore.getValues(),
2656
- kind: x.NOTIFICATION_OPENED,
2659
+ kind: Q.NOTIFICATION_OPENED,
2657
2660
  topicId: e,
2658
- topicType: r ? Ze[r] : H.UNSET
2661
+ topicType: r ? Ze[r] : x.UNSET
2659
2662
  },
2660
2663
  notificationKind: fe.POLLS,
2661
2664
  notificationType: Qr.IN_APP
@@ -2686,7 +2689,7 @@ class ns {
2686
2689
  break;
2687
2690
  }
2688
2691
  };
2689
- return Q.listen(r);
2692
+ return G.listen(r);
2690
2693
  });
2691
2694
  }
2692
2695
  // event when a poll is received from subscription or active question request
@@ -2694,9 +2697,9 @@ class ns {
2694
2697
  this.analytics.write("games", {
2695
2698
  common: {
2696
2699
  ...this.analytics.commonStore.getValues(),
2697
- kind: x.POLLS_RECEIVED,
2700
+ kind: Q.POLLS_RECEIVED,
2698
2701
  topicId: e,
2699
- topicType: r ? Ze[r] : H.UNSET
2702
+ topicType: r ? Ze[r] : x.UNSET
2700
2703
  },
2701
2704
  pollOpenedFrom: re.UNSET
2702
2705
  });
@@ -2706,9 +2709,9 @@ class ns {
2706
2709
  this.analytics.write("games", {
2707
2710
  common: {
2708
2711
  ...this.analytics.commonStore.getValues(),
2709
- kind: x.POLLS_OPENED,
2712
+ kind: Q.POLLS_OPENED,
2710
2713
  topicId: e,
2711
- topicType: r ? Ze[r] : H.UNSET
2714
+ topicType: r ? Ze[r] : x.UNSET
2712
2715
  },
2713
2716
  pollOpenedFrom: n === "list" ? re.PICK_HISTORY : re.IN_APP
2714
2717
  });
@@ -2718,9 +2721,9 @@ class ns {
2718
2721
  this.analytics.write("games", {
2719
2722
  common: {
2720
2723
  ...this.analytics.commonStore.getValues(),
2721
- kind: x.POLLS_VOTE,
2724
+ kind: Q.POLLS_VOTE,
2722
2725
  topicId: e,
2723
- topicType: r ? Ze[r] : H.UNSET
2726
+ topicType: r ? Ze[r] : x.UNSET
2724
2727
  },
2725
2728
  pollOpenedFrom: re.UNSET
2726
2729
  });
@@ -2730,7 +2733,7 @@ class ns {
2730
2733
  this.analytics.write("games", {
2731
2734
  common: {
2732
2735
  ...this.analytics.commonStore.getValues(),
2733
- kind: x.GAMES_JOINED
2736
+ kind: Q.GAMES_JOINED
2734
2737
  },
2735
2738
  pollOpenedFrom: re.UNSET
2736
2739
  });
@@ -2740,7 +2743,7 @@ class ns {
2740
2743
  this.analytics.write("games", {
2741
2744
  common: {
2742
2745
  ...this.analytics.commonStore.getValues(),
2743
- kind: x.POLLS_NAVIGATED
2746
+ kind: Q.POLLS_NAVIGATED
2744
2747
  },
2745
2748
  pollOpenedFrom: re.UNSET
2746
2749
  });
@@ -2748,7 +2751,7 @@ class ns {
2748
2751
  }
2749
2752
  const is = ({ transport: t, $commonStore: e }) => {
2750
2753
  let r;
2751
- const n = q(!1), i = 5e3, { client: o, queryKey: s } = t.createPromiseClient(In, {
2754
+ const n = q(!1), i = 5e3, { client: o, queryKey: s } = t.createPromiseClient(En, {
2752
2755
  method: "send",
2753
2756
  params: [n]
2754
2757
  }), a = t.nanoquery.createFetcherStore(s, {
@@ -2761,7 +2764,7 @@ const is = ({ transport: t, $commonStore: e }) => {
2761
2764
  value: {
2762
2765
  common: {
2763
2766
  ...p,
2764
- kind: x.SESSION_HEARTBEAT
2767
+ kind: Q.SESSION_HEARTBEAT
2765
2768
  }
2766
2769
  }
2767
2770
  }
@@ -2798,7 +2801,7 @@ class os {
2798
2801
  connected = !1;
2799
2802
  constructor(e) {
2800
2803
  this.listeners = /* @__PURE__ */ new Set(), this.listenersCancels = /* @__PURE__ */ new Set(), this.commonStore = new Ce(J({}), "common-analytics"), this.connectToSDK(e), this.heartbeat = is({ transport: e.analyticsTransport, $commonStore: this.commonStore }), this.notifications = new rs(this), this.polls = new ns(this), this.invitation = new Jo(this), this.interactions = new Xo(this), this.advertisement = new es(this);
2801
- const { client: r } = e.analyticsTransport.createPromiseClient(In, {
2804
+ const { client: r } = e.analyticsTransport.createPromiseClient(En, {
2802
2805
  method: "send"
2803
2806
  });
2804
2807
  this.analyticsClient = r;
@@ -2892,7 +2895,7 @@ function $n(t, e, r) {
2892
2895
  unshift: S,
2893
2896
  empty: W,
2894
2897
  kill: R,
2895
- killAndDrain: G,
2898
+ killAndDrain: K,
2896
2899
  error: ee
2897
2900
  };
2898
2901
  return u;
@@ -2941,7 +2944,7 @@ function $n(t, e, r) {
2941
2944
  function R() {
2942
2945
  i = null, o = null, u.drain = W;
2943
2946
  }
2944
- function G() {
2947
+ function K() {
2945
2948
  i = null, o = null, u.drain(), u.drain = W;
2946
2949
  }
2947
2950
  function ee(P) {
@@ -3254,7 +3257,7 @@ var zn = Ar.exports, Nt = {}, Hn = {}, Wn = function() {
3254
3257
  return !0;
3255
3258
  }, vs = Wn, Ft = function() {
3256
3259
  return vs() && !!Symbol.toStringTag;
3257
- }, Ss = Error, ws = EvalError, As = RangeError, Es = ReferenceError, Yn = SyntaxError, Dt = TypeError, Is = URIError, en = typeof Symbol < "u" && Symbol, Ts = Wn, Os = function() {
3260
+ }, Ss = Error, ws = EvalError, As = RangeError, Is = ReferenceError, Yn = SyntaxError, Dt = TypeError, Es = URIError, en = typeof Symbol < "u" && Symbol, Ts = Wn, Os = function() {
3258
3261
  return typeof en != "function" || typeof Symbol != "function" || typeof en("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : Ts();
3259
3262
  }, Bt = {
3260
3263
  __proto__: null,
@@ -3299,7 +3302,7 @@ var zn = Ar.exports, Nt = {}, Hn = {}, Wn = function() {
3299
3302
  d.prototype = r.prototype, i.prototype = new d(), d.prototype = null;
3300
3303
  }
3301
3304
  return i;
3302
- }, Vs = Rs, Er = Function.prototype.bind || Vs, $s = Function.prototype.call, Ms = Object.prototype.hasOwnProperty, Bs = Er, js = Bs.call($s, Ms), I, qs = Ss, Us = ws, xs = As, Qs = Es, Ke = Yn, Ge = Dt, Gs = Is, Jn = Function, jt = function(t) {
3305
+ }, Vs = Rs, Ir = Function.prototype.bind || Vs, $s = Function.prototype.call, Ms = Object.prototype.hasOwnProperty, Bs = Ir, js = Bs.call($s, Ms), E, qs = Ss, Us = ws, xs = As, Qs = Is, Ke = Yn, Ge = Dt, Gs = Es, Jn = Function, jt = function(t) {
3303
3306
  try {
3304
3307
  return Jn('"use strict"; return (' + t + ").constructor;")();
3305
3308
  } catch {
@@ -3325,23 +3328,23 @@ var qt = function() {
3325
3328
  }
3326
3329
  }() : qt, $e = Os(), zs = Cs(), B = Object.getPrototypeOf || (zs ? function(t) {
3327
3330
  return t.__proto__;
3328
- } : null), Be = {}, Hs = typeof Uint8Array > "u" || !B ? I : B(Uint8Array), Pe = {
3331
+ } : null), Be = {}, Hs = typeof Uint8Array > "u" || !B ? E : B(Uint8Array), Pe = {
3329
3332
  __proto__: null,
3330
- "%AggregateError%": typeof AggregateError > "u" ? I : AggregateError,
3333
+ "%AggregateError%": typeof AggregateError > "u" ? E : AggregateError,
3331
3334
  "%Array%": Array,
3332
- "%ArrayBuffer%": typeof ArrayBuffer > "u" ? I : ArrayBuffer,
3333
- "%ArrayIteratorPrototype%": $e && B ? B([][Symbol.iterator]()) : I,
3334
- "%AsyncFromSyncIteratorPrototype%": I,
3335
+ "%ArrayBuffer%": typeof ArrayBuffer > "u" ? E : ArrayBuffer,
3336
+ "%ArrayIteratorPrototype%": $e && B ? B([][Symbol.iterator]()) : E,
3337
+ "%AsyncFromSyncIteratorPrototype%": E,
3335
3338
  "%AsyncFunction%": Be,
3336
3339
  "%AsyncGenerator%": Be,
3337
3340
  "%AsyncGeneratorFunction%": Be,
3338
3341
  "%AsyncIteratorPrototype%": Be,
3339
- "%Atomics%": typeof Atomics > "u" ? I : Atomics,
3340
- "%BigInt%": typeof BigInt > "u" ? I : BigInt,
3341
- "%BigInt64Array%": typeof BigInt64Array > "u" ? I : BigInt64Array,
3342
- "%BigUint64Array%": typeof BigUint64Array > "u" ? I : BigUint64Array,
3342
+ "%Atomics%": typeof Atomics > "u" ? E : Atomics,
3343
+ "%BigInt%": typeof BigInt > "u" ? E : BigInt,
3344
+ "%BigInt64Array%": typeof BigInt64Array > "u" ? E : BigInt64Array,
3345
+ "%BigUint64Array%": typeof BigUint64Array > "u" ? E : BigUint64Array,
3343
3346
  "%Boolean%": Boolean,
3344
- "%DataView%": typeof DataView > "u" ? I : DataView,
3347
+ "%DataView%": typeof DataView > "u" ? E : DataView,
3345
3348
  "%Date%": Date,
3346
3349
  "%decodeURI%": decodeURI,
3347
3350
  "%decodeURIComponent%": decodeURIComponent,
@@ -3351,49 +3354,49 @@ var qt = function() {
3351
3354
  "%eval%": eval,
3352
3355
  // eslint-disable-line no-eval
3353
3356
  "%EvalError%": Us,
3354
- "%Float32Array%": typeof Float32Array > "u" ? I : Float32Array,
3355
- "%Float64Array%": typeof Float64Array > "u" ? I : Float64Array,
3356
- "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? I : FinalizationRegistry,
3357
+ "%Float32Array%": typeof Float32Array > "u" ? E : Float32Array,
3358
+ "%Float64Array%": typeof Float64Array > "u" ? E : Float64Array,
3359
+ "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? E : FinalizationRegistry,
3357
3360
  "%Function%": Jn,
3358
3361
  "%GeneratorFunction%": Be,
3359
- "%Int8Array%": typeof Int8Array > "u" ? I : Int8Array,
3360
- "%Int16Array%": typeof Int16Array > "u" ? I : Int16Array,
3361
- "%Int32Array%": typeof Int32Array > "u" ? I : Int32Array,
3362
+ "%Int8Array%": typeof Int8Array > "u" ? E : Int8Array,
3363
+ "%Int16Array%": typeof Int16Array > "u" ? E : Int16Array,
3364
+ "%Int32Array%": typeof Int32Array > "u" ? E : Int32Array,
3362
3365
  "%isFinite%": isFinite,
3363
3366
  "%isNaN%": isNaN,
3364
- "%IteratorPrototype%": $e && B ? B(B([][Symbol.iterator]())) : I,
3365
- "%JSON%": typeof JSON == "object" ? JSON : I,
3366
- "%Map%": typeof Map > "u" ? I : Map,
3367
- "%MapIteratorPrototype%": typeof Map > "u" || !$e || !B ? I : B((/* @__PURE__ */ new Map())[Symbol.iterator]()),
3367
+ "%IteratorPrototype%": $e && B ? B(B([][Symbol.iterator]())) : E,
3368
+ "%JSON%": typeof JSON == "object" ? JSON : E,
3369
+ "%Map%": typeof Map > "u" ? E : Map,
3370
+ "%MapIteratorPrototype%": typeof Map > "u" || !$e || !B ? E : B((/* @__PURE__ */ new Map())[Symbol.iterator]()),
3368
3371
  "%Math%": Math,
3369
3372
  "%Number%": Number,
3370
3373
  "%Object%": Object,
3371
3374
  "%parseFloat%": parseFloat,
3372
3375
  "%parseInt%": parseInt,
3373
- "%Promise%": typeof Promise > "u" ? I : Promise,
3374
- "%Proxy%": typeof Proxy > "u" ? I : Proxy,
3376
+ "%Promise%": typeof Promise > "u" ? E : Promise,
3377
+ "%Proxy%": typeof Proxy > "u" ? E : Proxy,
3375
3378
  "%RangeError%": xs,
3376
3379
  "%ReferenceError%": Qs,
3377
- "%Reflect%": typeof Reflect > "u" ? I : Reflect,
3380
+ "%Reflect%": typeof Reflect > "u" ? E : Reflect,
3378
3381
  "%RegExp%": RegExp,
3379
- "%Set%": typeof Set > "u" ? I : Set,
3380
- "%SetIteratorPrototype%": typeof Set > "u" || !$e || !B ? I : B((/* @__PURE__ */ new Set())[Symbol.iterator]()),
3381
- "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? I : SharedArrayBuffer,
3382
+ "%Set%": typeof Set > "u" ? E : Set,
3383
+ "%SetIteratorPrototype%": typeof Set > "u" || !$e || !B ? E : B((/* @__PURE__ */ new Set())[Symbol.iterator]()),
3384
+ "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? E : SharedArrayBuffer,
3382
3385
  "%String%": String,
3383
- "%StringIteratorPrototype%": $e && B ? B(""[Symbol.iterator]()) : I,
3384
- "%Symbol%": $e ? Symbol : I,
3386
+ "%StringIteratorPrototype%": $e && B ? B(""[Symbol.iterator]()) : E,
3387
+ "%Symbol%": $e ? Symbol : E,
3385
3388
  "%SyntaxError%": Ke,
3386
3389
  "%ThrowTypeError%": Ks,
3387
3390
  "%TypedArray%": Hs,
3388
3391
  "%TypeError%": Ge,
3389
- "%Uint8Array%": typeof Uint8Array > "u" ? I : Uint8Array,
3390
- "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? I : Uint8ClampedArray,
3391
- "%Uint16Array%": typeof Uint16Array > "u" ? I : Uint16Array,
3392
- "%Uint32Array%": typeof Uint32Array > "u" ? I : Uint32Array,
3392
+ "%Uint8Array%": typeof Uint8Array > "u" ? E : Uint8Array,
3393
+ "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? E : Uint8ClampedArray,
3394
+ "%Uint16Array%": typeof Uint16Array > "u" ? E : Uint16Array,
3395
+ "%Uint32Array%": typeof Uint32Array > "u" ? E : Uint32Array,
3393
3396
  "%URIError%": Gs,
3394
- "%WeakMap%": typeof WeakMap > "u" ? I : WeakMap,
3395
- "%WeakRef%": typeof WeakRef > "u" ? I : WeakRef,
3396
- "%WeakSet%": typeof WeakSet > "u" ? I : WeakSet
3397
+ "%WeakMap%": typeof WeakMap > "u" ? E : WeakMap,
3398
+ "%WeakRef%": typeof WeakRef > "u" ? E : WeakRef,
3399
+ "%WeakSet%": typeof WeakSet > "u" ? E : WeakSet
3397
3400
  };
3398
3401
  if (B)
3399
3402
  try {
@@ -3471,7 +3474,7 @@ var Ys = function t(e) {
3471
3474
  "%URIErrorPrototype%": ["URIError", "prototype"],
3472
3475
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
3473
3476
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
3474
- }, it = Er, wt = js, Js = it.call(Function.call, Array.prototype.concat), Xs = it.call(Function.apply, Array.prototype.splice), nn = it.call(Function.call, String.prototype.replace), At = it.call(Function.call, String.prototype.slice), Zs = it.call(Function.call, RegExp.prototype.exec), ea = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, ta = /\\(\\)?/g, ra = function(e) {
3477
+ }, it = Ir, wt = js, Js = it.call(Function.call, Array.prototype.concat), Xs = it.call(Function.apply, Array.prototype.splice), nn = it.call(Function.call, String.prototype.replace), At = it.call(Function.call, String.prototype.slice), Zs = it.call(Function.call, RegExp.prototype.exec), ea = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, ta = /\\(\\)?/g, ra = function(e) {
3475
3478
  var r = At(e, 0, 1), n = At(e, -1);
3476
3479
  if (r === "%" && n !== "%")
3477
3480
  throw new Ke("invalid intrinsic syntax, expected closing `%`");
@@ -3525,7 +3528,7 @@ var Ys = function t(e) {
3525
3528
  }
3526
3529
  return a;
3527
3530
  }, Xn = { exports: {} }, Ut, on;
3528
- function Ir() {
3531
+ function Er() {
3529
3532
  if (on) return Ut;
3530
3533
  on = 1;
3531
3534
  var t = ot, e = t("%Object.defineProperty%", !0) || !1;
@@ -3544,7 +3547,7 @@ if (ht)
3544
3547
  } catch {
3545
3548
  ht = null;
3546
3549
  }
3547
- var Rt = ht, sn = Ir(), oa = Yn, Me = Dt, an = Rt, sa = function(e, r, n) {
3550
+ var Rt = ht, sn = Er(), oa = Yn, Me = Dt, an = Rt, sa = function(e, r, n) {
3548
3551
  if (!e || typeof e != "object" && typeof e != "function")
3549
3552
  throw new Me("`obj` must be an object or a function`");
3550
3553
  if (typeof r != "string" && typeof r != "symbol")
@@ -3569,7 +3572,7 @@ var Rt = ht, sn = Ir(), oa = Yn, Me = Dt, an = Rt, sa = function(e, r, n) {
3569
3572
  e[r] = n;
3570
3573
  else
3571
3574
  throw new oa("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
3572
- }, ar = Ir(), Zn = function() {
3575
+ }, ar = Er(), Zn = function() {
3573
3576
  return !!ar;
3574
3577
  };
3575
3578
  Zn.hasArrayLengthDefineBug = function() {
@@ -3606,7 +3609,7 @@ var aa = Zn, ua = ot, un = sa, ca = aa(), cn = Rt, ln = Dt, la = ua("%Math.floor
3606
3609
  )), e;
3607
3610
  };
3608
3611
  (function(t) {
3609
- var e = Er, r = ot, n = da, i = Dt, o = r("%Function.prototype.apply%"), s = r("%Function.prototype.call%"), a = r("%Reflect.apply%", !0) || e.call(s, o), u = Ir(), d = r("%Math.max%");
3612
+ var e = Ir, r = ot, n = da, i = Dt, o = r("%Function.prototype.apply%"), s = r("%Function.prototype.call%"), a = r("%Reflect.apply%", !0) || e.call(s, o), u = Er(), d = r("%Math.max%");
3610
3613
  t.exports = function(p) {
3611
3614
  if (typeof p != "function")
3612
3615
  throw new i("a function is required");
@@ -3684,7 +3687,7 @@ var Aa = /^\s*class\b/, lr = function(e) {
3684
3687
  } catch {
3685
3688
  return !1;
3686
3689
  }
3687
- }, mt = Object.prototype.toString, Ea = "[object Object]", Ia = "[object Function]", Ta = "[object GeneratorFunction]", Oa = "[object HTMLAllCollection]", _a = "[object HTML document.all class]", Ca = "[object HTMLCollection]", La = typeof Symbol == "function" && !!Symbol.toStringTag, ka = !(0 in [,]), dr = function() {
3690
+ }, mt = Object.prototype.toString, Ia = "[object Object]", Ea = "[object Function]", Ta = "[object GeneratorFunction]", Oa = "[object HTMLAllCollection]", _a = "[object HTML document.all class]", Ca = "[object HTMLCollection]", La = typeof Symbol == "function" && !!Symbol.toStringTag, ka = !(0 in [,]), dr = function() {
3688
3691
  return !1;
3689
3692
  };
3690
3693
  if (typeof document == "object") {
@@ -3693,7 +3696,7 @@ if (typeof document == "object") {
3693
3696
  if ((ka || !e) && (typeof e > "u" || typeof e == "object"))
3694
3697
  try {
3695
3698
  var r = mt.call(e);
3696
- return (r === Oa || r === _a || r === Ca || r === Ea) && e("") == null;
3699
+ return (r === Oa || r === _a || r === Ca || r === Ia) && e("") == null;
3697
3700
  } catch {
3698
3701
  }
3699
3702
  return !1;
@@ -3721,7 +3724,7 @@ var Na = Ue ? function(e) {
3721
3724
  if (lr(e))
3722
3725
  return !1;
3723
3726
  var r = mt.call(e);
3724
- return r !== Ia && r !== Ta && !/^\[object HTML/.test(r) ? !1 : Gt(e);
3727
+ return r !== Ea && r !== Ta && !/^\[object HTML/.test(r) ? !1 : Gt(e);
3725
3728
  }, Fa = Na, Da = Object.prototype.toString, oi = Object.prototype.hasOwnProperty, Ra = function(e, r, n) {
3726
3729
  for (var i = 0, o = e.length; i < o; i++)
3727
3730
  oi.call(e, i) && (n == null ? r(e[i], i, e) : r.call(n, e[i], i, e));
@@ -3752,13 +3755,13 @@ var Na = Ue ? function(e) {
3752
3755
  for (var e = [], r = 0; r < Kt.length; r++)
3753
3756
  typeof ja[Kt[r]] == "function" && (e[e.length] = Kt[r]);
3754
3757
  return e;
3755
- }, Et = si, qa = ai, dn = Tr, _r = Or, gt = Rt, Ua = _r("Object.prototype.toString"), ui = Ft(), fn = typeof globalThis > "u" ? vr : globalThis, fr = qa(), Cr = _r("String.prototype.slice"), zt = Object.getPrototypeOf, xa = _r("Array.prototype.indexOf", !0) || function(e, r) {
3758
+ }, It = si, qa = ai, dn = Tr, _r = Or, gt = Rt, Ua = _r("Object.prototype.toString"), ui = Ft(), fn = typeof globalThis > "u" ? vr : globalThis, fr = qa(), Cr = _r("String.prototype.slice"), zt = Object.getPrototypeOf, xa = _r("Array.prototype.indexOf", !0) || function(e, r) {
3756
3759
  for (var n = 0; n < e.length; n += 1)
3757
3760
  if (e[n] === r)
3758
3761
  return n;
3759
3762
  return -1;
3760
- }, It = { __proto__: null };
3761
- ui && gt && zt ? Et(fr, function(t) {
3763
+ }, Et = { __proto__: null };
3764
+ ui && gt && zt ? It(fr, function(t) {
3762
3765
  var e = new fn[t]();
3763
3766
  if (Symbol.toStringTag in e) {
3764
3767
  var r = zt(e), n = gt(r, Symbol.toStringTag);
@@ -3766,15 +3769,15 @@ ui && gt && zt ? Et(fr, function(t) {
3766
3769
  var i = zt(r);
3767
3770
  n = gt(i, Symbol.toStringTag);
3768
3771
  }
3769
- It["$" + t] = dn(n.get);
3772
+ Et["$" + t] = dn(n.get);
3770
3773
  }
3771
- }) : Et(fr, function(t) {
3774
+ }) : It(fr, function(t) {
3772
3775
  var e = new fn[t](), r = e.slice || e.set;
3773
- r && (It["$" + t] = dn(r));
3776
+ r && (Et["$" + t] = dn(r));
3774
3777
  });
3775
3778
  var Qa = function(e) {
3776
3779
  var r = !1;
3777
- return Et(It, function(n, i) {
3780
+ return It(Et, function(n, i) {
3778
3781
  if (!r)
3779
3782
  try {
3780
3783
  "$" + n(e) === i && (r = Cr(i, 1));
@@ -3783,7 +3786,7 @@ var Qa = function(e) {
3783
3786
  }), r;
3784
3787
  }, Ga = function(e) {
3785
3788
  var r = !1;
3786
- return Et(It, function(n, i) {
3789
+ return It(Et, function(n, i) {
3787
3790
  if (!r)
3788
3791
  try {
3789
3792
  n(e), r = Cr(i, 1);
@@ -3897,10 +3900,10 @@ var Ya = function(e) {
3897
3900
  return n(y) === "Uint8ClampedArray";
3898
3901
  }
3899
3902
  t.isUint8ClampedArray = R;
3900
- function G(y) {
3903
+ function K(y) {
3901
3904
  return n(y) === "Uint16Array";
3902
3905
  }
3903
- t.isUint16Array = G;
3906
+ t.isUint16Array = K;
3904
3907
  function ee(y) {
3905
3908
  return n(y) === "Uint32Array";
3906
3909
  }
@@ -3929,10 +3932,10 @@ var Ya = function(e) {
3929
3932
  return n(y) === "BigInt64Array";
3930
3933
  }
3931
3934
  t.isBigInt64Array = Ne;
3932
- function Ee(y) {
3935
+ function Ie(y) {
3933
3936
  return n(y) === "BigUint64Array";
3934
3937
  }
3935
- t.isBigUint64Array = Ee;
3938
+ t.isBigUint64Array = Ie;
3936
3939
  function le(y) {
3937
3940
  return u(y) === "[object Map]";
3938
3941
  }
@@ -3993,10 +3996,10 @@ var Ya = function(e) {
3993
3996
  return u(y) === "[object AsyncFunction]";
3994
3997
  }
3995
3998
  t.isAsyncFunction = k;
3996
- function E(y) {
3999
+ function I(y) {
3997
4000
  return u(y) === "[object Map Iterator]";
3998
4001
  }
3999
- t.isMapIterator = E;
4002
+ t.isMapIterator = I;
4000
4003
  function O(y) {
4001
4004
  return u(y) === "[object Set Iterator]";
4002
4005
  }
@@ -4005,14 +4008,14 @@ var Ya = function(e) {
4005
4008
  return u(y) === "[object Generator]";
4006
4009
  }
4007
4010
  t.isGeneratorObject = F;
4008
- function z(y) {
4011
+ function H(y) {
4009
4012
  return u(y) === "[object WebAssembly.Module]";
4010
4013
  }
4011
- t.isWebAssemblyCompiledModule = z;
4012
- function Ie(y) {
4014
+ t.isWebAssemblyCompiledModule = H;
4015
+ function Ee(y) {
4013
4016
  return b(y, d);
4014
4017
  }
4015
- t.isNumberObject = Ie;
4018
+ t.isNumberObject = Ee;
4016
4019
  function at(y) {
4017
4020
  return b(y, c);
4018
4021
  }
@@ -4030,7 +4033,7 @@ var Ya = function(e) {
4030
4033
  }
4031
4034
  t.isSymbolObject = Fr;
4032
4035
  function hi(y) {
4033
- return Ie(y) || at(y) || Ve(y) || ut(y) || Fr(y);
4036
+ return Ee(y) || at(y) || Ve(y) || ut(y) || Fr(y);
4034
4037
  }
4035
4038
  t.isBoxedPrimitive = hi;
4036
4039
  function yi(y) {
@@ -4095,8 +4098,8 @@ var ru = hr.exports;
4095
4098
  default:
4096
4099
  return O;
4097
4100
  }
4098
- }), E = w[m]; m < L; E = w[++m])
4099
- R(E) || !ie(E) ? k += " " + E : k += " " + s(E);
4101
+ }), I = w[m]; m < L; I = w[++m])
4102
+ R(I) || !ie(I) ? k += " " + I : k += " " + s(I);
4100
4103
  return k;
4101
4104
  }, t.deprecate = function(l, h) {
4102
4105
  if (typeof A < "u" && A.noDeprecation === !0)
@@ -4189,8 +4192,8 @@ var ru = hr.exports;
4189
4192
  var L = f(l, h);
4190
4193
  if (L)
4191
4194
  return L;
4192
- var k = Object.keys(h), E = d(k);
4193
- if (l.showHidden && (k = Object.getOwnPropertyNames(h)), Ee(h) && (k.indexOf("message") >= 0 || k.indexOf("description") >= 0))
4195
+ var k = Object.keys(h), I = d(k);
4196
+ if (l.showHidden && (k = Object.getOwnPropertyNames(h)), Ie(h) && (k.indexOf("message") >= 0 || k.indexOf("description") >= 0))
4194
4197
  return p(h);
4195
4198
  if (k.length === 0) {
4196
4199
  if (le(h)) {
@@ -4201,23 +4204,23 @@ var ru = hr.exports;
4201
4204
  return l.stylize(RegExp.prototype.toString.call(h), "regexp");
4202
4205
  if (Ne(h))
4203
4206
  return l.stylize(Date.prototype.toString.call(h), "date");
4204
- if (Ee(h))
4207
+ if (Ie(h))
4205
4208
  return p(h);
4206
4209
  }
4207
- var F = "", z = !1, Ie = ["{", "}"];
4208
- if (S(h) && (z = !0, Ie = ["[", "]"]), le(h)) {
4210
+ var F = "", H = !1, Ee = ["{", "}"];
4211
+ if (S(h) && (H = !0, Ee = ["[", "]"]), le(h)) {
4209
4212
  var at = h.name ? ": " + h.name : "";
4210
4213
  F = " [Function" + at + "]";
4211
4214
  }
4212
- if (ne(h) && (F = " " + RegExp.prototype.toString.call(h)), Ne(h) && (F = " " + Date.prototype.toUTCString.call(h)), Ee(h) && (F = " " + p(h)), k.length === 0 && (!z || h.length == 0))
4213
- return Ie[0] + F + Ie[1];
4215
+ if (ne(h) && (F = " " + RegExp.prototype.toString.call(h)), Ne(h) && (F = " " + Date.prototype.toUTCString.call(h)), Ie(h) && (F = " " + p(h)), k.length === 0 && (!H || h.length == 0))
4216
+ return Ee[0] + F + Ee[1];
4214
4217
  if (m < 0)
4215
4218
  return ne(h) ? l.stylize(RegExp.prototype.toString.call(h), "regexp") : l.stylize("[Object]", "special");
4216
4219
  l.seen.push(h);
4217
4220
  var Ve;
4218
- return z ? Ve = v(l, h, m, E, k) : Ve = k.map(function(ut) {
4219
- return b(l, h, m, E, ut, z);
4220
- }), l.seen.pop(), g(Ve, F, Ie);
4221
+ return H ? Ve = v(l, h, m, I, k) : Ve = k.map(function(ut) {
4222
+ return b(l, h, m, I, ut, H);
4223
+ }), l.seen.pop(), g(Ve, F, Ee);
4221
4224
  }
4222
4225
  function f(l, h) {
4223
4226
  if (T(h))
@@ -4237,13 +4240,13 @@ var ru = hr.exports;
4237
4240
  return "[" + Error.prototype.toString.call(l) + "]";
4238
4241
  }
4239
4242
  function v(l, h, m, w, L) {
4240
- for (var k = [], E = 0, O = h.length; E < O; ++E)
4241
- De(h, String(E)) ? k.push(b(
4243
+ for (var k = [], I = 0, O = h.length; I < O; ++I)
4244
+ De(h, String(I)) ? k.push(b(
4242
4245
  l,
4243
4246
  h,
4244
4247
  m,
4245
4248
  w,
4246
- String(E),
4249
+ String(I),
4247
4250
  !0
4248
4251
  )) : k.push("");
4249
4252
  return L.forEach(function(F) {
@@ -4258,23 +4261,23 @@ var ru = hr.exports;
4258
4261
  }), k;
4259
4262
  }
4260
4263
  function b(l, h, m, w, L, k) {
4261
- var E, O, F;
4262
- if (F = Object.getOwnPropertyDescriptor(h, L) || { value: h[L] }, F.get ? F.set ? O = l.stylize("[Getter/Setter]", "special") : O = l.stylize("[Getter]", "special") : F.set && (O = l.stylize("[Setter]", "special")), De(w, L) || (E = "[" + L + "]"), O || (l.seen.indexOf(F.value) < 0 ? (R(m) ? O = c(l, F.value, null) : O = c(l, F.value, m - 1), O.indexOf(`
4264
+ var I, O, F;
4265
+ if (F = Object.getOwnPropertyDescriptor(h, L) || { value: h[L] }, F.get ? F.set ? O = l.stylize("[Getter/Setter]", "special") : O = l.stylize("[Getter]", "special") : F.set && (O = l.stylize("[Setter]", "special")), De(w, L) || (I = "[" + L + "]"), O || (l.seen.indexOf(F.value) < 0 ? (R(m) ? O = c(l, F.value, null) : O = c(l, F.value, m - 1), O.indexOf(`
4263
4266
  `) > -1 && (k ? O = O.split(`
4264
- `).map(function(z) {
4265
- return " " + z;
4267
+ `).map(function(H) {
4268
+ return " " + H;
4266
4269
  }).join(`
4267
4270
  `).slice(2) : O = `
4268
4271
  ` + O.split(`
4269
- `).map(function(z) {
4270
- return " " + z;
4272
+ `).map(function(H) {
4273
+ return " " + H;
4271
4274
  }).join(`
4272
- `))) : O = l.stylize("[Circular]", "special")), T(E)) {
4275
+ `))) : O = l.stylize("[Circular]", "special")), T(I)) {
4273
4276
  if (k && L.match(/^\d+$/))
4274
4277
  return O;
4275
- E = JSON.stringify("" + L), E.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (E = E.slice(1, -1), E = l.stylize(E, "name")) : (E = E.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), E = l.stylize(E, "string"));
4278
+ I = JSON.stringify("" + L), I.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (I = I.slice(1, -1), I = l.stylize(I, "name")) : (I = I.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), I = l.stylize(I, "string"));
4276
4279
  }
4277
- return E + ": " + O;
4280
+ return I + ": " + O;
4278
4281
  }
4279
4282
  function g(l, h, m) {
4280
4283
  var w = l.reduce(function(L, k) {
@@ -4298,10 +4301,10 @@ var ru = hr.exports;
4298
4301
  return l === null;
4299
4302
  }
4300
4303
  t.isNull = R;
4301
- function G(l) {
4304
+ function K(l) {
4302
4305
  return l == null;
4303
4306
  }
4304
- t.isNullOrUndefined = G;
4307
+ t.isNullOrUndefined = K;
4305
4308
  function ee(l) {
4306
4309
  return typeof l == "number";
4307
4310
  }
@@ -4330,10 +4333,10 @@ var ru = hr.exports;
4330
4333
  return ie(l) && Se(l) === "[object Date]";
4331
4334
  }
4332
4335
  t.isDate = Ne, t.types.isDate = Ne;
4333
- function Ee(l) {
4336
+ function Ie(l) {
4334
4337
  return ie(l) && (Se(l) === "[object Error]" || l instanceof Error);
4335
4338
  }
4336
- t.isError = Ee, t.types.isNativeError = Ee;
4339
+ t.isError = Ie, t.types.isNativeError = Ie;
4337
4340
  function le(l) {
4338
4341
  return typeof l == "function";
4339
4342
  }
@@ -4398,15 +4401,15 @@ var ru = hr.exports;
4398
4401
  }), m;
4399
4402
  }
4400
4403
  function m() {
4401
- for (var w, L, k = new Promise(function(F, z) {
4402
- w = F, L = z;
4403
- }), E = [], O = 0; O < arguments.length; O++)
4404
- E.push(arguments[O]);
4405
- E.push(function(F, z) {
4406
- F ? L(F) : w(z);
4404
+ for (var w, L, k = new Promise(function(F, H) {
4405
+ w = F, L = H;
4406
+ }), I = [], O = 0; O < arguments.length; O++)
4407
+ I.push(arguments[O]);
4408
+ I.push(function(F, H) {
4409
+ F ? L(F) : w(H);
4407
4410
  });
4408
4411
  try {
4409
- h.apply(this, E);
4412
+ h.apply(this, I);
4410
4413
  } catch (F) {
4411
4414
  L(F);
4412
4415
  }
@@ -4438,15 +4441,15 @@ var ru = hr.exports;
4438
4441
  var L = m.pop();
4439
4442
  if (typeof L != "function")
4440
4443
  throw new TypeError("The last argument must be of type Function");
4441
- var k = this, E = function() {
4444
+ var k = this, I = function() {
4442
4445
  return L.apply(k, arguments);
4443
4446
  };
4444
4447
  l.apply(this, m).then(
4445
4448
  function(O) {
4446
- A.nextTick(E.bind(null, null, O));
4449
+ A.nextTick(I.bind(null, null, O));
4447
4450
  },
4448
4451
  function(O) {
4449
- A.nextTick(Re.bind(null, O, E));
4452
+ A.nextTick(Re.bind(null, O, I));
4450
4453
  }
4451
4454
  );
4452
4455
  }
@@ -4674,8 +4677,8 @@ function cu(t) {
4674
4677
  function g(...S) {
4675
4678
  if (!g.enabled)
4676
4679
  return;
4677
- const C = g, R = Number(/* @__PURE__ */ new Date()), G = R - (f || R);
4678
- C.diff = G, C.prev = f, C.curr = R, f = R, S[0] = r.coerce(S[0]), typeof S[0] != "string" && S.unshift("%O");
4680
+ const C = g, R = Number(/* @__PURE__ */ new Date()), K = R - (f || R);
4681
+ C.diff = K, C.prev = f, C.curr = R, f = R, S[0] = r.coerce(S[0]), typeof S[0] != "string" && S.unshift("%O");
4679
4682
  let ee = 0;
4680
4683
  S[0] = S[0].replace(/%([a-zA-Z%])/g, (V, T) => {
4681
4684
  if (V === "%%")
@@ -4991,8 +4994,8 @@ const Sn = Mn, Su = zn.EventEmitter, wu = Nt.inherits, {
4991
4994
  AVV_ERR_EXPOSE_ALREADY_DEFINED: Zt,
4992
4995
  AVV_ERR_CALLBACK_NOT_FN: et,
4993
4996
  AVV_ERR_PLUGIN_NOT_VALID: Au,
4994
- AVV_ERR_ROOT_PLG_BOOTED: Eu,
4995
- AVV_ERR_READY_TIMEOUT: Iu
4997
+ AVV_ERR_ROOT_PLG_BOOTED: Iu,
4998
+ AVV_ERR_READY_TIMEOUT: Eu
4996
4999
  } = li, Tu = au, mr = vu, ze = di("avvio"), _t = Symbol("kAvvio"), er = Symbol("kThenifyDoNotWrap");
4997
5000
  function Ou(t, e, r) {
4998
5001
  const n = e.expose || {}, i = n.use || "use", o = n.after || "after", s = n.ready || "ready", a = n.onClose || "onClose", u = n.close || "close";
@@ -5075,7 +5078,7 @@ U.prototype._loadRegistered = function() {
5075
5078
  Object.defineProperty(U.prototype, "then", { get: fi });
5076
5079
  U.prototype._addPlugin = function(t, e, r) {
5077
5080
  if (t = Cu(t), e = e || {}, this.booted)
5078
- throw new Eu();
5081
+ throw new Iu();
5079
5082
  const n = this._current[0], i = new mr(this, t, e, r);
5080
5083
  if (i.once("start", (o, s, a) => {
5081
5084
  const u = this.pluginTree.start(n.name, s, a);
@@ -5177,7 +5180,7 @@ function Lu(t, e, r, n) {
5177
5180
  ze("setting up ready timeout", i, this._timeout);
5178
5181
  let o = setTimeout(() => {
5179
5182
  ze("timed out", i), o = null;
5180
- const a = new Iu(i);
5183
+ const a = new Eu(i);
5181
5184
  a.fn = t, this._error = a, n(a);
5182
5185
  }, this._timeout);
5183
5186
  t.length === 2 ? t(e, s.bind(this)) : t(e, r, s.bind(this));