@aikaara/chat-sdk 1.4.7 → 1.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- class Ll {
1
+ class jl {
2
2
  identifier;
3
3
  callbacks = {};
4
4
  sendFn;
@@ -63,7 +63,7 @@ class bo {
63
63
  this.ws && (this.ws.onclose = null, this.ws.close(), this.ws = null), this.subscriptions.forEach((e) => e._notifyDisconnected()), this.subscriptions.clear();
64
64
  }
65
65
  subscribe(e) {
66
- const t = JSON.stringify(e), r = new Ll(t, (o) => {
66
+ const t = JSON.stringify(e), r = new jl(t, (o) => {
67
67
  this.send({
68
68
  command: "message",
69
69
  identifier: t,
@@ -142,7 +142,7 @@ class bo {
142
142
  }
143
143
  }
144
144
  }
145
- class $s {
145
+ class qs {
146
146
  handlers = /* @__PURE__ */ new Map();
147
147
  on(e, t) {
148
148
  return this.handlers.has(e) || this.handlers.set(e, /* @__PURE__ */ new Set()), this.handlers.get(e).add(t), () => this.off(e, t);
@@ -163,8 +163,8 @@ class $s {
163
163
  this.handlers.clear();
164
164
  }
165
165
  }
166
- const jl = 1e3, Nl = 10, Ul = 400, Bl = 600, yo = "#6366f1", Dl = 12, Fl = "system-ui, -apple-system, sans-serif", vo = "Type a message...", $l = "bottom-right", ql = "light", Hl = { x: 20, y: 20 }, zr = "aikaara_conversation_id";
167
- class Wl extends $s {
166
+ const Nl = 1e3, Ul = 10, Bl = 400, Dl = 600, yo = "#6366f1", Fl = 12, $l = "system-ui, -apple-system, sans-serif", vo = "Type a message...", ql = "bottom-right", Hl = "light", Wl = { x: 20, y: 20 }, zr = "aikaara_conversation_id";
167
+ class zl extends qs {
168
168
  client;
169
169
  config;
170
170
  state = "disconnected";
@@ -220,13 +220,13 @@ class Wl extends $s {
220
220
  this.state !== e && (this.state = e, this.emit("connection:state", e));
221
221
  }
222
222
  scheduleReconnect() {
223
- const e = this.config.maxReconnectAttempts ?? Nl;
223
+ const e = this.config.maxReconnectAttempts ?? Ul;
224
224
  if (this.reconnectAttempt >= e) {
225
225
  this.emit("error", new Error("Max reconnection attempts reached"));
226
226
  return;
227
227
  }
228
228
  this.setState("reconnecting");
229
- const r = (this.config.reconnectInterval ?? jl) * Math.pow(2, this.reconnectAttempt);
229
+ const r = (this.config.reconnectInterval ?? Nl) * Math.pow(2, this.reconnectAttempt);
230
230
  this.reconnectAttempt++, this.reconnectTimer = setTimeout(async () => {
231
231
  try {
232
232
  const o = this.buildWsUrl(this.config.baseUrl, this.config.userToken);
@@ -246,7 +246,7 @@ class Wl extends $s {
246
246
  return `${e.replace(/^http/, "ws")}/cable?token=${t}`;
247
247
  }
248
248
  }
249
- class zl {
249
+ class Vl {
250
250
  baseUrl;
251
251
  apiKey;
252
252
  authToken;
@@ -353,7 +353,7 @@ class zl {
353
353
  return r && (n.body = JSON.stringify(r)), fetch(e, n);
354
354
  }
355
355
  }
356
- class Vl {
356
+ class Gl {
357
357
  _messages = [];
358
358
  optimisticCounter = 0;
359
359
  get messages() {
@@ -481,7 +481,7 @@ function _o(a) {
481
481
  const e = a.attachments && a.attachments[0];
482
482
  if (e && typeof e.fileUrl == "string")
483
483
  return e.fileUrl;
484
- const t = qs(a);
484
+ const t = Hs(a);
485
485
  if (t) return t;
486
486
  }
487
487
  function ko(a) {
@@ -499,19 +499,19 @@ function jr(a) {
499
499
  return e.cloudFileId;
500
500
  const t = (a.metadata ?? {}).attributes;
501
501
  if (t && typeof t.cloudFileId == "string") return t.cloudFileId;
502
- const r = qs(a);
502
+ const r = Hs(a);
503
503
  if (r) {
504
504
  const o = /[?&]cloudFileId=([^&]+)/.exec(r);
505
505
  if (o) return decodeURIComponent(o[1]);
506
506
  }
507
507
  }
508
- function qs(a) {
508
+ function Hs(a) {
509
509
  const e = a.template;
510
510
  if (e?.templateId !== "7") return;
511
511
  const r = e.payload?.elements?.[0]?.action?.url;
512
512
  return typeof r == "string" ? r : void 0;
513
513
  }
514
- class Gl {
514
+ class Kl {
515
515
  _conversationId;
516
516
  persist;
517
517
  constructor(e, t = !0) {
@@ -545,23 +545,23 @@ class Gl {
545
545
  }
546
546
  }
547
547
  }
548
- var to = Object.defineProperty, Kl = Object.getOwnPropertyDescriptor, Yl = Object.getOwnPropertyNames, Ql = Object.prototype.hasOwnProperty, Ve = (a, e) => () => (a && (e = a(a = 0)), e), pe = (a, e) => () => (e || a((e = { exports: {} }).exports, e), e.exports), Ft = (a, e) => {
548
+ var to = Object.defineProperty, Yl = Object.getOwnPropertyDescriptor, Ql = Object.getOwnPropertyNames, Jl = Object.prototype.hasOwnProperty, Ve = (a, e) => () => (a && (e = a(a = 0)), e), pe = (a, e) => () => (e || a((e = { exports: {} }).exports, e), e.exports), Ft = (a, e) => {
549
549
  for (var t in e) to(a, t, { get: e[t], enumerable: !0 });
550
- }, Jl = (a, e, t, r) => {
551
- if (e && typeof e == "object" || typeof e == "function") for (let o of Yl(e)) !Ql.call(a, o) && o !== t && to(a, o, { get: () => e[o], enumerable: !(r = Kl(e, o)) || r.enumerable });
550
+ }, Xl = (a, e, t, r) => {
551
+ if (e && typeof e == "object" || typeof e == "function") for (let o of Ql(e)) !Jl.call(a, o) && o !== t && to(a, o, { get: () => e[o], enumerable: !(r = Yl(e, o)) || r.enumerable });
552
552
  return a;
553
- }, Pe = (a) => Jl(to({}, "__esModule", { value: !0 }), a), le = Ve(() => {
553
+ }, Pe = (a) => Xl(to({}, "__esModule", { value: !0 }), a), le = Ve(() => {
554
554
  }), Re = {};
555
- Ft(Re, { _debugEnd: () => Ln, _debugProcess: () => Rn, _events: () => Yn, _eventsCount: () => Qn, _exiting: () => vn, _fatalExceptions: () => On, _getActiveHandles: () => Ys, _getActiveRequests: () => Ks, _kill: () => kn, _linkedBinding: () => Vs, _maxListeners: () => Kn, _preload_modules: () => Vn, _rawDebug: () => gn, _startProfilerIdleNotifier: () => jn, _stopProfilerIdleNotifier: () => Nn, _tickCallback: () => Mn, abort: () => Fn, addListener: () => Jn, allowedNodeEnvironmentFlags: () => Tn, arch: () => tn, argv: () => on, argv0: () => zn, assert: () => Qs, binding: () => un, browser: () => mn, chdir: () => fn, config: () => wn, cpuUsage: () => Kt, cwd: () => dn, debugPort: () => Wn, default: () => no, dlopen: () => Gs, domain: () => yn, emit: () => ri, emitWarning: () => cn, env: () => nn, execArgv: () => sn, execPath: () => Hn, exit: () => An, features: () => Cn, hasUncaughtExceptionCaptureCallback: () => Js, hrtime: () => ur, kill: () => En, listeners: () => Zs, memoryUsage: () => Sn, moduleLoadList: () => bn, nextTick: () => Ws, off: () => Zn, on: () => st, once: () => Xn, openStdin: () => In, pid: () => $n, platform: () => rn, ppid: () => qn, prependListener: () => ni, prependOnceListener: () => ii, reallyExit: () => _n, release: () => pn, removeAllListeners: () => ti, removeListener: () => ei, resourceUsage: () => xn, setSourceMapsEnabled: () => Gn, setUncaughtExceptionCaptureCallback: () => Pn, stderr: () => Bn, stdin: () => Dn, stdout: () => Un, title: () => en, umask: () => hn, uptime: () => Xs, version: () => an, versions: () => ln });
555
+ Ft(Re, { _debugEnd: () => Ln, _debugProcess: () => Rn, _events: () => Yn, _eventsCount: () => Qn, _exiting: () => vn, _fatalExceptions: () => On, _getActiveHandles: () => Qs, _getActiveRequests: () => Ys, _kill: () => kn, _linkedBinding: () => Gs, _maxListeners: () => Kn, _preload_modules: () => Vn, _rawDebug: () => gn, _startProfilerIdleNotifier: () => jn, _stopProfilerIdleNotifier: () => Nn, _tickCallback: () => Mn, abort: () => Fn, addListener: () => Jn, allowedNodeEnvironmentFlags: () => Tn, arch: () => tn, argv: () => on, argv0: () => zn, assert: () => Js, binding: () => un, browser: () => mn, chdir: () => fn, config: () => wn, cpuUsage: () => Kt, cwd: () => dn, debugPort: () => Wn, default: () => no, dlopen: () => Ks, domain: () => yn, emit: () => ri, emitWarning: () => cn, env: () => nn, execArgv: () => sn, execPath: () => Hn, exit: () => An, features: () => Cn, hasUncaughtExceptionCaptureCallback: () => Xs, hrtime: () => ur, kill: () => En, listeners: () => ea, memoryUsage: () => Sn, moduleLoadList: () => bn, nextTick: () => zs, off: () => Zn, on: () => st, once: () => Xn, openStdin: () => In, pid: () => $n, platform: () => rn, ppid: () => qn, prependListener: () => ni, prependOnceListener: () => ii, reallyExit: () => _n, release: () => pn, removeAllListeners: () => ti, removeListener: () => ei, resourceUsage: () => xn, setSourceMapsEnabled: () => Gn, setUncaughtExceptionCaptureCallback: () => Pn, stderr: () => Bn, stdin: () => Dn, stdout: () => Un, title: () => en, umask: () => hn, uptime: () => Zs, version: () => an, versions: () => ln });
556
556
  function ro(a) {
557
557
  throw new Error("Node.js process " + a + " is not supported by JSPM core outside of Node.js");
558
558
  }
559
- function Xl() {
560
- !It || !Et || (It = !1, Et.length ? nt = Et.concat(nt) : Xt = -1, nt.length && Hs());
559
+ function Zl() {
560
+ !It || !Et || (It = !1, Et.length ? nt = Et.concat(nt) : Xt = -1, nt.length && Ws());
561
561
  }
562
- function Hs() {
562
+ function Ws() {
563
563
  if (!It) {
564
- var a = setTimeout(Xl, 0);
564
+ var a = setTimeout(Zl, 0);
565
565
  It = !0;
566
566
  for (var e = nt.length; e; ) {
567
567
  for (Et = nt, nt = []; ++Xt < e; ) Et && Et[Xt].run();
@@ -570,35 +570,35 @@ function Hs() {
570
570
  Et = null, It = !1, clearTimeout(a);
571
571
  }
572
572
  }
573
- function Ws(a) {
573
+ function zs(a) {
574
574
  var e = new Array(arguments.length - 1);
575
575
  if (arguments.length > 1) for (var t = 1; t < arguments.length; t++) e[t - 1] = arguments[t];
576
- nt.push(new zs(a, e)), nt.length === 1 && !It && setTimeout(Hs, 0);
576
+ nt.push(new Vs(a, e)), nt.length === 1 && !It && setTimeout(Ws, 0);
577
577
  }
578
- function zs(a, e) {
578
+ function Vs(a, e) {
579
579
  this.fun = a, this.array = e;
580
580
  }
581
581
  function Fe() {
582
582
  }
583
- function Vs(a) {
583
+ function Gs(a) {
584
584
  ro("_linkedBinding");
585
585
  }
586
- function Gs(a) {
586
+ function Ks(a) {
587
587
  ro("dlopen");
588
588
  }
589
- function Ks() {
589
+ function Ys() {
590
590
  return [];
591
591
  }
592
- function Ys() {
592
+ function Qs() {
593
593
  return [];
594
594
  }
595
- function Qs(a, e) {
595
+ function Js(a, e) {
596
596
  if (!a) throw new Error(e || "assertion error");
597
597
  }
598
- function Js() {
598
+ function Xs() {
599
599
  return !1;
600
600
  }
601
- function Xs() {
601
+ function Zs() {
602
602
  return lt.now() / 1e3;
603
603
  }
604
604
  function ur(a) {
@@ -608,11 +608,11 @@ function ur(a) {
608
608
  function st() {
609
609
  return no;
610
610
  }
611
- function Zs(a) {
611
+ function ea(a) {
612
612
  return [];
613
613
  }
614
- var nt, It, Et, Xt, en, tn, rn, nn, on, sn, an, ln, cn, un, hn, dn, fn, pn, mn, gn, bn, yn, vn, wn, _n, kn, Kt, xn, Sn, En, An, In, Tn, Cn, On, Pn, Mn, Rn, Ln, jn, Nn, Un, Bn, Dn, Fn, $n, qn, Hn, Wn, zn, Vn, Gn, lt, Vr, hr, Kn, Yn, Qn, Jn, Xn, Zn, ei, ti, ri, ni, ii, no, Zl = Ve(() => {
615
- le(), ue(), ce(), nt = [], It = !1, Xt = -1, zs.prototype.run = function() {
614
+ var nt, It, Et, Xt, en, tn, rn, nn, on, sn, an, ln, cn, un, hn, dn, fn, pn, mn, gn, bn, yn, vn, wn, _n, kn, Kt, xn, Sn, En, An, In, Tn, Cn, On, Pn, Mn, Rn, Ln, jn, Nn, Un, Bn, Dn, Fn, $n, qn, Hn, Wn, zn, Vn, Gn, lt, Vr, hr, Kn, Yn, Qn, Jn, Xn, Zn, ei, ti, ri, ni, ii, no, ec = Ve(() => {
615
+ le(), ue(), ce(), nt = [], It = !1, Xt = -1, Vs.prototype.run = function() {
616
616
  this.fun.apply(null, this.array);
617
617
  }, en = "browser", tn = "x64", rn = "browser", nn = { PATH: "/usr/bin", LANG: typeof navigator < "u" ? navigator.language + ".UTF-8" : void 0, PWD: "/", HOME: "/home", TMP: "/tmp" }, on = ["/usr/bin/node"], sn = [], an = "v16.8.0", ln = {}, cn = function(a, e) {
618
618
  console.warn((e ? e + ": " : "") + a);
@@ -628,11 +628,11 @@ var nt, It, Et, Xt, en, tn, rn, nn, on, sn, an, ln, cn, un, hn, dn, fn, pn, mn,
628
628
  }, xn = Kt, Sn = Kt, En = Fe, An = Fe, In = Fe, Tn = {}, Cn = { inspector: !1, debug: !1, uv: !1, ipv6: !1, tls_alpn: !1, tls_sni: !1, tls_ocsp: !1, tls: !1, cached_builtins: !0 }, On = Fe, Pn = Fe, Mn = Fe, Rn = Fe, Ln = Fe, jn = Fe, Nn = Fe, Un = void 0, Bn = void 0, Dn = void 0, Fn = Fe, $n = 2, qn = 1, Hn = "/bin/usr/node", Wn = 9229, zn = "node", Vn = [], Gn = Fe, lt = { now: typeof performance < "u" ? performance.now.bind(performance) : void 0, timing: typeof performance < "u" ? performance.timing : void 0 }, lt.now === void 0 && (Vr = Date.now(), lt.timing && lt.timing.navigationStart && (Vr = lt.timing.navigationStart), lt.now = () => Date.now() - Vr), hr = 1e9, ur.bigint = function(a) {
629
629
  var e = ur(a);
630
630
  return typeof BigInt > "u" ? e[0] * hr + e[1] : BigInt(e[0] * hr) + BigInt(e[1]);
631
- }, Kn = 10, Yn = {}, Qn = 0, Jn = st, Xn = st, Zn = st, ei = st, ti = st, ri = Fe, ni = st, ii = st, no = { version: an, versions: ln, arch: tn, platform: rn, browser: mn, release: pn, _rawDebug: gn, moduleLoadList: bn, binding: un, _linkedBinding: Vs, _events: Yn, _eventsCount: Qn, _maxListeners: Kn, on: st, addListener: Jn, once: Xn, off: Zn, removeListener: ei, removeAllListeners: ti, emit: ri, prependListener: ni, prependOnceListener: ii, listeners: Zs, domain: yn, _exiting: vn, config: wn, dlopen: Gs, uptime: Xs, _getActiveRequests: Ks, _getActiveHandles: Ys, reallyExit: _n, _kill: kn, cpuUsage: Kt, resourceUsage: xn, memoryUsage: Sn, kill: En, exit: An, openStdin: In, allowedNodeEnvironmentFlags: Tn, assert: Qs, features: Cn, _fatalExceptions: On, setUncaughtExceptionCaptureCallback: Pn, hasUncaughtExceptionCaptureCallback: Js, emitWarning: cn, nextTick: Ws, _tickCallback: Mn, _debugProcess: Rn, _debugEnd: Ln, _startProfilerIdleNotifier: jn, _stopProfilerIdleNotifier: Nn, stdout: Un, stdin: Dn, stderr: Bn, abort: Fn, umask: hn, chdir: fn, cwd: dn, env: nn, title: en, argv: on, execArgv: sn, pid: $n, ppid: qn, execPath: Hn, debugPort: Wn, hrtime: ur, argv0: zn, _preload_modules: Vn, setSourceMapsEnabled: Gn };
631
+ }, Kn = 10, Yn = {}, Qn = 0, Jn = st, Xn = st, Zn = st, ei = st, ti = st, ri = Fe, ni = st, ii = st, no = { version: an, versions: ln, arch: tn, platform: rn, browser: mn, release: pn, _rawDebug: gn, moduleLoadList: bn, binding: un, _linkedBinding: Gs, _events: Yn, _eventsCount: Qn, _maxListeners: Kn, on: st, addListener: Jn, once: Xn, off: Zn, removeListener: ei, removeAllListeners: ti, emit: ri, prependListener: ni, prependOnceListener: ii, listeners: ea, domain: yn, _exiting: vn, config: wn, dlopen: Ks, uptime: Zs, _getActiveRequests: Ys, _getActiveHandles: Qs, reallyExit: _n, _kill: kn, cpuUsage: Kt, resourceUsage: xn, memoryUsage: Sn, kill: En, exit: An, openStdin: In, allowedNodeEnvironmentFlags: Tn, assert: Js, features: Cn, _fatalExceptions: On, setUncaughtExceptionCaptureCallback: Pn, hasUncaughtExceptionCaptureCallback: Xs, emitWarning: cn, nextTick: zs, _tickCallback: Mn, _debugProcess: Rn, _debugEnd: Ln, _startProfilerIdleNotifier: jn, _stopProfilerIdleNotifier: Nn, stdout: Un, stdin: Dn, stderr: Bn, abort: Fn, umask: hn, chdir: fn, cwd: dn, env: nn, title: en, argv: on, execArgv: sn, pid: $n, ppid: qn, execPath: Hn, debugPort: Wn, hrtime: ur, argv0: zn, _preload_modules: Vn, setSourceMapsEnabled: Gn };
632
632
  }), ce = Ve(() => {
633
- Zl();
633
+ ec();
634
634
  });
635
- function ec() {
635
+ function tc() {
636
636
  if (oi) return Lt;
637
637
  oi = !0, Lt.byteLength = s, Lt.toByteArray = c, Lt.fromByteArray = p;
638
638
  for (var a = [], e = [], t = typeof Uint8Array < "u" ? Uint8Array : Array, r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", o = 0, n = r.length; o < n; ++o) a[o] = r[o], e[r.charCodeAt(o)] = o;
@@ -670,7 +670,7 @@ function ec() {
670
670
  }
671
671
  return Lt;
672
672
  }
673
- function tc() {
673
+ function rc() {
674
674
  return si ? Yt : (si = !0, Yt.read = function(a, e, t, r, o) {
675
675
  var n, i, s = o * 8 - r - 1, l = (1 << s) - 1, c = l >> 1, u = -7, h = t ? o - 1 : 0, p = t ? -1 : 1, b = a[e + h];
676
676
  for (h += p, n = b & (1 << -u) - 1, b >>= -u, u += s; u > 0; n = n * 256 + a[e + h], h += p, u -= 8) ;
@@ -688,10 +688,10 @@ function tc() {
688
688
  a[t + b - f] |= g * 128;
689
689
  }, Yt);
690
690
  }
691
- function rc() {
691
+ function nc() {
692
692
  if (ai) return bt;
693
693
  ai = !0;
694
- let a = ec(), e = tc(), t = typeof Symbol == "function" && typeof Symbol.for == "function" ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : null;
694
+ let a = tc(), e = rc(), t = typeof Symbol == "function" && typeof Symbol.for == "function" ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : null;
695
695
  bt.Buffer = i, bt.SlowBuffer = w, bt.INSPECT_MAX_BYTES = 50;
696
696
  let r = 2147483647;
697
697
  bt.kMaxLength = r, i.TYPED_ARRAY_SUPPORT = o(), !i.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");
@@ -1446,12 +1446,12 @@ function rc() {
1446
1446
  }
1447
1447
  return bt;
1448
1448
  }
1449
- var Lt, oi, Yt, si, bt, ai, nc = Ve(() => {
1449
+ var Lt, oi, Yt, si, bt, ai, ic = Ve(() => {
1450
1450
  le(), ue(), ce(), Lt = {}, oi = !1, Yt = {}, si = !1, bt = {}, ai = !1;
1451
1451
  }), Ue = {};
1452
- Ft(Ue, { Buffer: () => Nr, INSPECT_MAX_BYTES: () => ea, default: () => at, kMaxLength: () => ta });
1453
- var at, Nr, ea, ta, Be = Ve(() => {
1454
- le(), ue(), ce(), nc(), at = rc(), at.Buffer, at.SlowBuffer, at.INSPECT_MAX_BYTES, at.kMaxLength, Nr = at.Buffer, ea = at.INSPECT_MAX_BYTES, ta = at.kMaxLength;
1452
+ Ft(Ue, { Buffer: () => Nr, INSPECT_MAX_BYTES: () => ta, default: () => at, kMaxLength: () => ra });
1453
+ var at, Nr, ta, ra, Be = Ve(() => {
1454
+ le(), ue(), ce(), ic(), at = nc(), at.Buffer, at.SlowBuffer, at.INSPECT_MAX_BYTES, at.kMaxLength, Nr = at.Buffer, ta = at.INSPECT_MAX_BYTES, ra = at.kMaxLength;
1455
1455
  }), ue = Ve(() => {
1456
1456
  Be();
1457
1457
  }), je = pe((a, e) => {
@@ -1516,7 +1516,7 @@ var at, Nr, ea, ta, Be = Ve(() => {
1516
1516
  }, Symbol, SymbolFor: Symbol.for, SymbolAsyncIterator: Symbol.asyncIterator, SymbolHasInstance: Symbol.hasInstance, SymbolIterator: Symbol.iterator, SymbolDispose: Symbol.dispose || /* @__PURE__ */ Symbol("Symbol.dispose"), SymbolAsyncDispose: Symbol.asyncDispose || /* @__PURE__ */ Symbol("Symbol.asyncDispose"), TypedArrayPrototypeSet(r, o, n) {
1517
1517
  return r.set(o, n);
1518
1518
  }, Boolean, Uint8Array };
1519
- }), ra = pe((a, e) => {
1519
+ }), na = pe((a, e) => {
1520
1520
  le(), ue(), ce(), e.exports = { format(t, ...r) {
1521
1521
  return t.replace(/%([sdifj])/g, function(...[o, n]) {
1522
1522
  let i = r.shift();
@@ -1542,7 +1542,7 @@ var at, Nr, ea, ta, Be = Ve(() => {
1542
1542
  } };
1543
1543
  }), We = pe((a, e) => {
1544
1544
  le(), ue(), ce();
1545
- var { format: t, inspect: r } = ra(), { AggregateError: o } = je(), n = globalThis.AggregateError || o, i = /* @__PURE__ */ Symbol("kIsNodeError"), s = ["string", "function", "number", "object", "Function", "Object", "boolean", "bigint", "symbol"], l = /^([A-Z][a-z0-9]*)+$/, c = "__node_internal_", u = {};
1545
+ var { format: t, inspect: r } = na(), { AggregateError: o } = je(), n = globalThis.AggregateError || o, i = /* @__PURE__ */ Symbol("kIsNodeError"), s = ["string", "function", "number", "object", "Function", "Object", "boolean", "bigint", "symbol"], l = /^([A-Z][a-z0-9]*)+$/, c = "__node_internal_", u = {};
1546
1546
  function h(m, _) {
1547
1547
  if (!m) throw new u.ERR_INTERNAL_ASSERTION(_);
1548
1548
  }
@@ -1697,8 +1697,8 @@ var at, Nr, ea, ta, Be = Ve(() => {
1697
1697
  var { AbortController: t, AbortSignal: r } = typeof self < "u" ? self : typeof window < "u" ? window : void 0;
1698
1698
  e.exports = t, e.exports.AbortSignal = r, e.exports.default = t;
1699
1699
  }), wt = {};
1700
- Ft(wt, { EventEmitter: () => na, default: () => jt, defaultMaxListeners: () => ia, init: () => oa, listenerCount: () => sa, on: () => aa, once: () => la });
1701
- function ic() {
1700
+ Ft(wt, { EventEmitter: () => ia, default: () => jt, defaultMaxListeners: () => oa, init: () => sa, listenerCount: () => aa, on: () => la, once: () => ca });
1701
+ function oc() {
1702
1702
  if (li) return Qt;
1703
1703
  li = !0;
1704
1704
  var a = typeof Reflect == "object" ? Reflect : null, e = a && typeof a.apply == "function" ? a.apply : function(x, v, E) {
@@ -1869,8 +1869,8 @@ function ic() {
1869
1869
  }
1870
1870
  return Qt;
1871
1871
  }
1872
- var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
1873
- le(), ue(), ce(), Qt = {}, li = !1, jt = ic(), jt.once, jt.once = function(a, e) {
1872
+ var Qt, li, jt, ia, oa, sa, aa, la, ca, Ct = Ve(() => {
1873
+ le(), ue(), ce(), Qt = {}, li = !1, jt = oc(), jt.once, jt.once = function(a, e) {
1874
1874
  return new Promise((t, r) => {
1875
1875
  function o(...i) {
1876
1876
  n !== void 0 && a.removeListener("error", n), t(i);
@@ -1908,10 +1908,10 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
1908
1908
  let u = r.shift();
1909
1909
  u ? u.reject(c) : o = c, i.return();
1910
1910
  }
1911
- }, { EventEmitter: na, defaultMaxListeners: ia, init: oa, listenerCount: sa, on: aa, once: la } = jt;
1911
+ }, { EventEmitter: ia, defaultMaxListeners: oa, init: sa, listenerCount: aa, on: la, once: ca } = jt;
1912
1912
  }), ze = pe((a, e) => {
1913
1913
  le(), ue(), ce();
1914
- var t = (Be(), Pe(Ue)), { format: r, inspect: o } = ra(), { codes: { ERR_INVALID_ARG_TYPE: n } } = We(), { kResistStopPropagation: i, AggregateError: s, SymbolDispose: l } = je(), c = globalThis.AbortSignal || er().AbortSignal, u = globalThis.AbortController || er().AbortController, h = Object.getPrototypeOf(async function() {
1914
+ var t = (Be(), Pe(Ue)), { format: r, inspect: o } = na(), { codes: { ERR_INVALID_ARG_TYPE: n } } = We(), { kResistStopPropagation: i, AggregateError: s, SymbolDispose: l } = je(), c = globalThis.AbortSignal || er().AbortSignal, u = globalThis.AbortController || er().AbortController, h = Object.getPrototypeOf(async function() {
1915
1915
  }).constructor, p = globalThis.Blob || t.Blob, b = typeof p < "u" ? function(y) {
1916
1916
  return y instanceof p;
1917
1917
  } : function(y) {
@@ -2506,7 +2506,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
2506
2506
  }
2507
2507
  return b;
2508
2508
  };
2509
- }), oc = pe((a, e) => {
2509
+ }), sc = pe((a, e) => {
2510
2510
  le(), ue(), ce();
2511
2511
  var { StringPrototypeSlice: t, SymbolIterator: r, TypedArrayPrototypeSet: o, Uint8Array: n } = je(), { Buffer: i } = (Be(), Pe(Ue)), { inspect: s } = ze();
2512
2512
  e.exports = class {
@@ -2609,7 +2609,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
2609
2609
  return c(p.objectMode);
2610
2610
  }
2611
2611
  e.exports = { getHighWaterMark: h, getDefaultHighWaterMark: c, setDefaultHighWaterMark: u };
2612
- }), sc = pe((a, e) => {
2612
+ }), ac = pe((a, e) => {
2613
2613
  le(), ue(), ce();
2614
2614
  var t = (Be(), Pe(Ue)), r = t.Buffer;
2615
2615
  function o(i, s) {
@@ -2633,9 +2633,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
2633
2633
  if (typeof i != "number") throw new TypeError("Argument must be a number");
2634
2634
  return t.SlowBuffer(i);
2635
2635
  };
2636
- }), ac = pe((a) => {
2636
+ }), lc = pe((a) => {
2637
2637
  le(), ue(), ce();
2638
- var e = sc().Buffer, t = e.isEncoding || function(m) {
2638
+ var e = ac().Buffer, t = e.isEncoding || function(m) {
2639
2639
  switch (m = "" + m, m && m.toLowerCase()) {
2640
2640
  case "hex":
2641
2641
  case "utf8":
@@ -2779,7 +2779,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
2779
2779
  function w(m) {
2780
2780
  return m && m.length ? this.write(m) : "";
2781
2781
  }
2782
- }), ca = pe((a, e) => {
2782
+ }), ua = pe((a, e) => {
2783
2783
  le(), ue(), ce();
2784
2784
  var t = Ot(), { PromisePrototypeThen: r, SymbolAsyncIterator: o, SymbolIterator: n } = je(), { Buffer: i } = (Be(), Pe(Ue)), { ERR_INVALID_ARG_TYPE: s, ERR_STREAM_NULL_VALUES: l } = We().codes;
2785
2785
  function c(u, h, p) {
@@ -2834,7 +2834,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
2834
2834
  e.exports = se, se.ReadableState = ve;
2835
2835
  var { EventEmitter: g } = (Ct(), Pe(wt)), { Stream: y, prependListener: w } = io(), { Buffer: m } = (Be(), Pe(Ue)), { addAbortSignal: _ } = Dr(), x = _t(), v = ze().debuglog("stream", (C) => {
2836
2836
  v = C;
2837
- }), E = oc(), S = $t(), { getHighWaterMark: I, getDefaultHighWaterMark: O } = Fr(), { aggregateTwoErrors: P, codes: { ERR_INVALID_ARG_TYPE: N, ERR_METHOD_NOT_IMPLEMENTED: T, ERR_OUT_OF_RANGE: q, ERR_STREAM_PUSH_AFTER_EOF: D, ERR_STREAM_UNSHIFT_AFTER_END_EVENT: U }, AbortError: ae } = We(), { validateObject: Y } = tr(), V = f("kPaused"), { StringDecoder: re } = ac(), F = ca();
2837
+ }), E = sc(), S = $t(), { getHighWaterMark: I, getDefaultHighWaterMark: O } = Fr(), { aggregateTwoErrors: P, codes: { ERR_INVALID_ARG_TYPE: N, ERR_METHOD_NOT_IMPLEMENTED: T, ERR_OUT_OF_RANGE: q, ERR_STREAM_PUSH_AFTER_EOF: D, ERR_STREAM_UNSHIFT_AFTER_END_EVENT: U }, AbortError: ae } = We(), { validateObject: Y } = tr(), V = f("kPaused"), { StringDecoder: re } = lc(), F = ua();
2838
2838
  c(se.prototype, y.prototype), c(se, y);
2839
2839
  var Z = () => {
2840
2840
  }, { errorOrDestroy: M } = S, J = 1, be = 2, te = 4, we = 8, G = 16, j = 32, ne = 64, W = 128, K = 256, Q = 512, ge = 1024, oe = 2048, R = 4096, $ = 8192, ee = 16384, de = 32768, fe = 65536, ye = 1 << 17, H = 1 << 18;
@@ -3414,9 +3414,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
3414
3414
  }, Y.toWeb = function(R) {
3415
3415
  return oe().newWritableStreamFromStreamWritable(R);
3416
3416
  };
3417
- }), lc = pe((a, e) => {
3417
+ }), cc = pe((a, e) => {
3418
3418
  le(), ue(), ce();
3419
- var t = Ot(), r = (Be(), Pe(Ue)), { isReadable: o, isWritable: n, isIterable: i, isNodeStream: s, isReadableNodeStream: l, isWritableNodeStream: c, isDuplexNodeStream: u, isReadableStream: h, isWritableStream: p } = dt(), b = _t(), { AbortError: f, codes: { ERR_INVALID_ARG_TYPE: g, ERR_INVALID_RETURN_VALUE: y } } = We(), { destroyer: w } = $t(), m = ut(), _ = $r(), x = oo(), { createDeferredPromise: v } = ze(), E = ca(), S = globalThis.Blob || r.Blob, I = typeof S < "u" ? function(D) {
3419
+ var t = Ot(), r = (Be(), Pe(Ue)), { isReadable: o, isWritable: n, isIterable: i, isNodeStream: s, isReadableNodeStream: l, isWritableNodeStream: c, isDuplexNodeStream: u, isReadableStream: h, isWritableStream: p } = dt(), b = _t(), { AbortError: f, codes: { ERR_INVALID_ARG_TYPE: g, ERR_INVALID_RETURN_VALUE: y } } = We(), { destroyer: w } = $t(), m = ut(), _ = $r(), x = oo(), { createDeferredPromise: v } = ze(), E = ua(), S = globalThis.Blob || r.Blob, I = typeof S < "u" ? function(D) {
3420
3420
  return D instanceof S;
3421
3421
  } : function(D) {
3422
3422
  return !1;
@@ -3571,9 +3571,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
3571
3571
  };
3572
3572
  var h;
3573
3573
  l.from = function(p) {
3574
- return h || (h = lc()), h(p, "body");
3574
+ return h || (h = cc()), h(p, "body");
3575
3575
  };
3576
- }), ua = pe((a, e) => {
3576
+ }), ha = pe((a, e) => {
3577
3577
  le(), ue(), ce();
3578
3578
  var { ObjectSetPrototypeOf: t, Symbol: r } = je();
3579
3579
  e.exports = l;
@@ -3614,11 +3614,11 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
3614
3614
  this[s] = null, h();
3615
3615
  }
3616
3616
  };
3617
- }), ha = pe((a, e) => {
3617
+ }), da = pe((a, e) => {
3618
3618
  le(), ue(), ce();
3619
3619
  var { ObjectSetPrototypeOf: t } = je();
3620
3620
  e.exports = o;
3621
- var r = ua();
3621
+ var r = ha();
3622
3622
  t(o.prototype, r.prototype), t(o, r);
3623
3623
  function o(n) {
3624
3624
  if (!(this instanceof o)) return new o(n);
@@ -3742,7 +3742,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
3742
3742
  if (!x(ye, !0)) throw new b("AsyncIterable", `transform[${ve - 1}]`, ye);
3743
3743
  } else {
3744
3744
  var me;
3745
- q || (q = ha());
3745
+ q || (q = da());
3746
3746
  let B = new q({ objectMode: !0 }), X = (me = ye) === null || me === void 0 ? void 0 : me.then;
3747
3747
  if (typeof X == "function") ee++, X.call(ye, (z) => {
3748
3748
  R = z, z != null && B.write(z), k && B.end(), t.nextTick(de);
@@ -3795,7 +3795,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
3795
3795
  }), s(we, { readable: !1, writable: !0 }, G);
3796
3796
  }
3797
3797
  e.exports = { pipelineImpl: J, pipeline: M };
3798
- }), da = pe((a, e) => {
3798
+ }), fa = pe((a, e) => {
3799
3799
  le(), ue(), ce();
3800
3800
  var { pipeline: t } = so(), r = ut(), { destroyer: o } = $t(), { isNodeStream: n, isReadable: i, isWritable: s, isWebStream: l, isTransformStream: c, isWritableStream: u, isReadableStream: h } = dt(), { AbortError: p, codes: { ERR_INVALID_ARG_VALUE: b, ERR_MISSING_ARGS: f } } = We(), g = _t();
3801
3801
  e.exports = function(...y) {
@@ -3891,9 +3891,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
3891
3891
  !T && v !== null && (T = new p()), x = null, m = null, _ = null, v === null ? q(T) : (v = q, n(O) && o(O, T));
3892
3892
  }, E;
3893
3893
  };
3894
- }), cc = pe((a, e) => {
3894
+ }), uc = pe((a, e) => {
3895
3895
  le(), ue(), ce();
3896
- var t = globalThis.AbortController || er().AbortController, { codes: { ERR_INVALID_ARG_VALUE: r, ERR_INVALID_ARG_TYPE: o, ERR_MISSING_ARGS: n, ERR_OUT_OF_RANGE: i }, AbortError: s } = We(), { validateAbortSignal: l, validateInteger: c, validateObject: u } = tr(), h = je().Symbol("kWeak"), p = je().Symbol("kResistStopPropagation"), { finished: b } = _t(), f = da(), { addAbortSignalNoValidate: g } = Dr(), { isWritable: y, isNodeStream: w } = dt(), { deprecate: m } = ze(), { ArrayPrototypePush: _, Boolean: x, MathFloor: v, Number: E, NumberIsNaN: S, Promise: I, PromiseReject: O, PromiseResolve: P, PromisePrototypeThen: N, Symbol: T } = je(), q = T("kEmpty"), D = T("kEof");
3896
+ var t = globalThis.AbortController || er().AbortController, { codes: { ERR_INVALID_ARG_VALUE: r, ERR_INVALID_ARG_TYPE: o, ERR_MISSING_ARGS: n, ERR_OUT_OF_RANGE: i }, AbortError: s } = We(), { validateAbortSignal: l, validateInteger: c, validateObject: u } = tr(), h = je().Symbol("kWeak"), p = je().Symbol("kResistStopPropagation"), { finished: b } = _t(), f = fa(), { addAbortSignalNoValidate: g } = Dr(), { isWritable: y, isNodeStream: w } = dt(), { deprecate: m } = ze(), { ArrayPrototypePush: _, Boolean: x, MathFloor: v, Number: E, NumberIsNaN: S, Promise: I, PromiseReject: O, PromiseResolve: P, PromisePrototypeThen: N, Symbol: T } = je(), q = T("kEmpty"), D = T("kEof");
3897
3897
  function U(W, K) {
3898
3898
  if (K != null && u(K, "options"), K?.signal != null && l(K.signal, "options.signal"), w(W) && !y(W)) throw new r("stream", W, "must be writable");
3899
3899
  let Q = f(this, W);
@@ -4069,10 +4069,10 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4069
4069
  }).call(this);
4070
4070
  }
4071
4071
  e.exports.streamReturningOperators = { asIndexedPairs: m(Y, "readable.asIndexedPairs will be removed in a future version."), drop: j, filter: M, flatMap: we, map: ae, take: ne, compose: U }, e.exports.promiseReturningOperators = { every: re, forEach: Z, reduce: be, toArray: te, some: V, find: F };
4072
- }), fa = pe((a, e) => {
4072
+ }), pa = pe((a, e) => {
4073
4073
  le(), ue(), ce();
4074
4074
  var { ArrayPrototypePop: t, Promise: r } = je(), { isIterable: o, isNodeStream: n, isWebStream: i } = dt(), { pipelineImpl: s } = so(), { finished: l } = _t();
4075
- pa();
4075
+ ma();
4076
4076
  function c(...u) {
4077
4077
  return new r((h, p) => {
4078
4078
  let b, f, g = u[u.length - 1];
@@ -4086,9 +4086,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4086
4086
  });
4087
4087
  }
4088
4088
  e.exports = { finished: l, pipeline: c };
4089
- }), pa = pe((a, e) => {
4089
+ }), ma = pe((a, e) => {
4090
4090
  le(), ue(), ce();
4091
- var { Buffer: t } = (Be(), Pe(Ue)), { ObjectDefineProperty: r, ObjectKeys: o, ReflectApply: n } = je(), { promisify: { custom: i } } = ze(), { streamReturningOperators: s, promiseReturningOperators: l } = cc(), { codes: { ERR_ILLEGAL_CONSTRUCTOR: c } } = We(), u = da(), { setDefaultHighWaterMark: h, getDefaultHighWaterMark: p } = Fr(), { pipeline: b } = so(), { destroyer: f } = $t(), g = _t(), y = fa(), w = dt(), m = e.exports = io().Stream;
4091
+ var { Buffer: t } = (Be(), Pe(Ue)), { ObjectDefineProperty: r, ObjectKeys: o, ReflectApply: n } = je(), { promisify: { custom: i } } = ze(), { streamReturningOperators: s, promiseReturningOperators: l } = uc(), { codes: { ERR_ILLEGAL_CONSTRUCTOR: c } } = We(), u = fa(), { setDefaultHighWaterMark: h, getDefaultHighWaterMark: p } = Fr(), { pipeline: b } = so(), { destroyer: f } = $t(), g = _t(), y = pa(), w = dt(), m = e.exports = io().Stream;
4092
4092
  m.isDestroyed = w.isDestroyed, m.isDisturbed = w.isDisturbed, m.isErrored = w.isErrored, m.isReadable = w.isReadable, m.isWritable = w.isWritable, m.Readable = $r();
4093
4093
  for (let x of o(s)) {
4094
4094
  let v = function(...S) {
@@ -4104,7 +4104,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4104
4104
  }, E = l[x];
4105
4105
  r(v, "name", { __proto__: null, value: E.name }), r(v, "length", { __proto__: null, value: E.length }), r(m.Readable.prototype, x, { __proto__: null, value: v, enumerable: !1, configurable: !0, writable: !0 });
4106
4106
  }
4107
- m.Writable = oo(), m.Duplex = ut(), m.Transform = ua(), m.PassThrough = ha(), m.pipeline = b;
4107
+ m.Writable = oo(), m.Duplex = ut(), m.Transform = ha(), m.PassThrough = da(), m.pipeline = b;
4108
4108
  var { addAbortSignal: _ } = Dr();
4109
4109
  m.addAbortSignal = _, m.finished = g, m.destroy = f, m.compose = u, m.setDefaultHighWaterMark = h, m.getDefaultHighWaterMark = p, r(m, "promises", { __proto__: null, configurable: !0, enumerable: !0, get() {
4110
4110
  return y;
@@ -4119,11 +4119,11 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4119
4119
  };
4120
4120
  }), Pt = pe((a, e) => {
4121
4121
  le(), ue(), ce();
4122
- var t = pa(), r = fa(), o = t.Readable.destroy;
4122
+ var t = ma(), r = pa(), o = t.Readable.destroy;
4123
4123
  e.exports = t.Readable, e.exports._uint8ArrayToBuffer = t._uint8ArrayToBuffer, e.exports._isUint8Array = t._isUint8Array, e.exports.isDisturbed = t.isDisturbed, e.exports.isErrored = t.isErrored, e.exports.isReadable = t.isReadable, e.exports.Readable = t.Readable, e.exports.Writable = t.Writable, e.exports.Duplex = t.Duplex, e.exports.Transform = t.Transform, e.exports.PassThrough = t.PassThrough, e.exports.addAbortSignal = t.addAbortSignal, e.exports.finished = t.finished, e.exports.destroy = t.destroy, e.exports.destroy = o, e.exports.pipeline = t.pipeline, e.exports.compose = t.compose, Object.defineProperty(t, "promises", { configurable: !0, enumerable: !0, get() {
4124
4124
  return r;
4125
4125
  } }), e.exports.Stream = t.Stream, e.exports.default = e.exports;
4126
- }), uc = pe((a, e) => {
4126
+ }), hc = pe((a, e) => {
4127
4127
  le(), ue(), ce(), typeof Object.create == "function" ? e.exports = function(t, r) {
4128
4128
  r && (t.super_ = r, t.prototype = Object.create(r.prototype, { constructor: { value: t, enumerable: !1, writable: !0, configurable: !0 } }));
4129
4129
  } : e.exports = function(t, r) {
@@ -4134,7 +4134,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4134
4134
  o.prototype = r.prototype, t.prototype = new o(), t.prototype.constructor = t;
4135
4135
  }
4136
4136
  };
4137
- }), hc = pe((a, e) => {
4137
+ }), dc = pe((a, e) => {
4138
4138
  le(), ue(), ce();
4139
4139
  var { Buffer: t } = (Be(), Pe(Ue)), r = /* @__PURE__ */ Symbol.for("BufferList");
4140
4140
  function o(n) {
@@ -4258,9 +4258,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4258
4258
  }, o.isBufferList = function(n) {
4259
4259
  return n != null && n[r];
4260
4260
  }, e.exports = o;
4261
- }), dc = pe((a, e) => {
4261
+ }), fc = pe((a, e) => {
4262
4262
  le(), ue(), ce();
4263
- var t = Pt().Duplex, r = uc(), o = hc();
4263
+ var t = Pt().Duplex, r = hc(), o = dc();
4264
4264
  function n(i) {
4265
4265
  if (!(this instanceof n)) return new n(i);
4266
4266
  if (typeof i == "function") {
@@ -4290,7 +4290,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4290
4290
  }, n.prototype._isBufferList = function(i) {
4291
4291
  return i instanceof n || i instanceof o || n.isBufferList(i);
4292
4292
  }, n.isBufferList = o.isBufferList, e.exports = n, e.exports.BufferListStream = n, e.exports.BufferList = o;
4293
- }), fc = pe((a, e) => {
4293
+ }), pc = pe((a, e) => {
4294
4294
  le(), ue(), ce();
4295
4295
  var t = class {
4296
4296
  constructor() {
@@ -4298,7 +4298,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4298
4298
  }
4299
4299
  };
4300
4300
  e.exports = t;
4301
- }), ma = pe((a, e) => {
4301
+ }), ga = pe((a, e) => {
4302
4302
  le(), ue(), ce();
4303
4303
  var t = e.exports, { Buffer: r } = (Be(), Pe(Ue));
4304
4304
  t.types = { 0: "reserved", 1: "connect", 2: "connack", 3: "publish", 4: "puback", 5: "pubrec", 6: "pubrel", 7: "pubcomp", 8: "subscribe", 9: "suback", 10: "unsubscribe", 11: "unsuback", 12: "pingreq", 13: "pingresp", 14: "disconnect", 15: "auth" }, t.requiredHeaderFlags = { 1: 0, 2: 0, 4: 0, 5: 0, 6: 2, 7: 0, 8: 2, 9: 0, 10: 2, 11: 0, 12: 0, 13: 0, 14: 0, 15: 0 }, t.requiredHeaderFlagsErrors = {};
@@ -4324,7 +4324,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4324
4324
  })));
4325
4325
  }
4326
4326
  t.PUBLISH_HEADER = o("publish"), t.SUBSCRIBE_HEADER = o("subscribe"), t.SUBSCRIBE_OPTIONS_QOS_MASK = 3, t.SUBSCRIBE_OPTIONS_NL_MASK = 1, t.SUBSCRIBE_OPTIONS_NL_SHIFT = 2, t.SUBSCRIBE_OPTIONS_RAP_MASK = 1, t.SUBSCRIBE_OPTIONS_RAP_SHIFT = 3, t.SUBSCRIBE_OPTIONS_RH_MASK = 3, t.SUBSCRIBE_OPTIONS_RH_SHIFT = 4, t.SUBSCRIBE_OPTIONS_RH = [0, 16, 32], t.SUBSCRIBE_OPTIONS_NL = 4, t.SUBSCRIBE_OPTIONS_RAP = 8, t.SUBSCRIBE_OPTIONS_QOS = [0, 1, 2], t.UNSUBSCRIBE_HEADER = o("unsubscribe"), t.ACKS = { unsuback: o("unsuback"), puback: o("puback"), pubcomp: o("pubcomp"), pubrel: o("pubrel"), pubrec: o("pubrec") }, t.SUBACK_HEADER = r.from([t.codes.suback << t.CMD_SHIFT]), t.VERSION3 = r.from([3]), t.VERSION4 = r.from([4]), t.VERSION5 = r.from([5]), t.VERSION131 = r.from([131]), t.VERSION132 = r.from([132]), t.QOS = [0, 1, 2].map((n) => r.from([n])), t.EMPTY = { pingreq: r.from([t.codes.pingreq << 4, 0]), pingresp: r.from([t.codes.pingresp << 4, 0]), disconnect: r.from([t.codes.disconnect << 4, 0]) }, t.MQTT5_PUBACK_PUBREC_CODES = { 0: "Success", 16: "No matching subscribers", 128: "Unspecified error", 131: "Implementation specific error", 135: "Not authorized", 144: "Topic Name invalid", 145: "Packet identifier in use", 151: "Quota exceeded", 153: "Payload format invalid" }, t.MQTT5_PUBREL_PUBCOMP_CODES = { 0: "Success", 146: "Packet Identifier not found" }, t.MQTT5_SUBACK_CODES = { 0: "Granted QoS 0", 1: "Granted QoS 1", 2: "Granted QoS 2", 128: "Unspecified error", 131: "Implementation specific error", 135: "Not authorized", 143: "Topic Filter invalid", 145: "Packet Identifier in use", 151: "Quota exceeded", 158: "Shared Subscriptions not supported", 161: "Subscription Identifiers not supported", 162: "Wildcard Subscriptions not supported" }, t.MQTT5_UNSUBACK_CODES = { 0: "Success", 17: "No subscription existed", 128: "Unspecified error", 131: "Implementation specific error", 135: "Not authorized", 143: "Topic Filter invalid", 145: "Packet Identifier in use" }, t.MQTT5_DISCONNECT_CODES = { 0: "Normal disconnection", 4: "Disconnect with Will Message", 128: "Unspecified error", 129: "Malformed Packet", 130: "Protocol Error", 131: "Implementation specific error", 135: "Not authorized", 137: "Server busy", 139: "Server shutting down", 141: "Keep Alive timeout", 142: "Session taken over", 143: "Topic Filter invalid", 144: "Topic Name invalid", 147: "Receive Maximum exceeded", 148: "Topic Alias invalid", 149: "Packet too large", 150: "Message rate too high", 151: "Quota exceeded", 152: "Administrative action", 153: "Payload format invalid", 154: "Retain not supported", 155: "QoS not supported", 156: "Use another server", 157: "Server moved", 158: "Shared Subscriptions not supported", 159: "Connection rate exceeded", 160: "Maximum connect time", 161: "Subscription Identifiers not supported", 162: "Wildcard Subscriptions not supported" }, t.MQTT5_AUTH_CODES = { 0: "Success", 24: "Continue authentication", 25: "Re-authenticate" };
4327
- }), pc = pe((a, e) => {
4327
+ }), mc = pe((a, e) => {
4328
4328
  le(), ue(), ce();
4329
4329
  var t = 1e3, r = t * 60, o = r * 60, n = o * 24, i = n * 7, s = n * 365.25;
4330
4330
  e.exports = function(p, b) {
@@ -4396,10 +4396,10 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4396
4396
  var y = b >= f * 1.5;
4397
4397
  return Math.round(p / f) + " " + g + (y ? "s" : "");
4398
4398
  }
4399
- }), mc = pe((a, e) => {
4399
+ }), gc = pe((a, e) => {
4400
4400
  le(), ue(), ce();
4401
4401
  function t(r) {
4402
- n.debug = n, n.default = n, n.coerce = h, n.disable = c, n.enable = s, n.enabled = u, n.humanize = pc(), n.destroy = p, Object.keys(r).forEach((b) => {
4402
+ n.debug = n, n.default = n, n.coerce = h, n.disable = c, n.enable = s, n.enabled = u, n.humanize = mc(), n.destroy = p, Object.keys(r).forEach((b) => {
4403
4403
  n[b] = r[b];
4404
4404
  }), n.names = [], n.skips = [], n.formatters = {};
4405
4405
  function o(b) {
@@ -4509,7 +4509,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4509
4509
  } catch {
4510
4510
  }
4511
4511
  }
4512
- e.exports = mc()(a);
4512
+ e.exports = gc()(a);
4513
4513
  var { formatters: s } = e.exports;
4514
4514
  s.j = function(l) {
4515
4515
  try {
@@ -4518,9 +4518,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4518
4518
  return "[UnexpectedJSONParseError]: " + c.message;
4519
4519
  }
4520
4520
  };
4521
- }), gc = pe((a, e) => {
4521
+ }), bc = pe((a, e) => {
4522
4522
  le(), ue(), ce();
4523
- var t = dc(), { EventEmitter: r } = (Ct(), Pe(wt)), o = fc(), n = ma(), i = ht()("mqtt-packet:parser"), s = class ci extends r {
4523
+ var t = fc(), { EventEmitter: r } = (Ct(), Pe(wt)), o = pc(), n = ga(), i = ht()("mqtt-packet:parser"), s = class ci extends r {
4524
4524
  constructor() {
4525
4525
  super(), this.parser = this.constructor.parser;
4526
4526
  }
@@ -4871,7 +4871,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4871
4871
  }
4872
4872
  };
4873
4873
  e.exports = s;
4874
- }), bc = pe((a, e) => {
4874
+ }), yc = pe((a, e) => {
4875
4875
  le(), ue(), ce();
4876
4876
  var { Buffer: t } = (Be(), Pe(Ue)), r = 65536, o = {}, n = t.isBuffer(t.from([1, 2]).subarray(0, 1));
4877
4877
  function i(u) {
@@ -4893,7 +4893,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4893
4893
  return h.writeUInt32BE(u, 0), h;
4894
4894
  }
4895
4895
  e.exports = { cache: o, generateCache: s, generateNumber: i, genBufVariableByteInt: l, generate4ByteBuffer: c };
4896
- }), yc = pe((a, e) => {
4896
+ }), vc = pe((a, e) => {
4897
4897
  le(), ue(), ce(), typeof Re > "u" || !Re.version || Re.version.indexOf("v0.") === 0 || Re.version.indexOf("v1.") === 0 && Re.version.indexOf("v1.8.") !== 0 ? e.exports = { nextTick: t } : e.exports = Re;
4898
4898
  function t(r, o, n, i) {
4899
4899
  if (typeof r != "function") throw new TypeError('"callback" argument must be a function');
@@ -4921,9 +4921,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
4921
4921
  });
4922
4922
  }
4923
4923
  }
4924
- }), ga = pe((a, e) => {
4924
+ }), ba = pe((a, e) => {
4925
4925
  le(), ue(), ce();
4926
- var t = ma(), { Buffer: r } = (Be(), Pe(Ue)), o = r.allocUnsafe(0), n = r.from([0]), i = bc(), s = yc().nextTick, l = ht()("mqtt-packet:writeToStream"), c = i.cache, u = i.generateNumber, h = i.generateCache, p = i.genBufVariableByteInt, b = i.generate4ByteBuffer, f = Y, g = !0;
4926
+ var t = ga(), { Buffer: r } = (Be(), Pe(Ue)), o = r.allocUnsafe(0), n = r.from([0]), i = yc(), s = vc().nextTick, l = ht()("mqtt-packet:writeToStream"), c = i.cache, u = i.generateNumber, h = i.generateCache, p = i.genBufVariableByteInt, b = i.generate4ByteBuffer, f = Y, g = !0;
4927
4927
  function y(G, j, ne) {
4928
4928
  switch (l("generate called"), j.cork && (j.cork(), s(w, j)), g && (g = !1, h()), l("generate: packet.cmd: %s", G.cmd), G.cmd) {
4929
4929
  case "connect":
@@ -5304,9 +5304,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
5304
5304
  return typeof G == "string" || G instanceof r;
5305
5305
  }
5306
5306
  e.exports = y;
5307
- }), vc = pe((a, e) => {
5307
+ }), wc = pe((a, e) => {
5308
5308
  le(), ue(), ce();
5309
- var t = ga(), { EventEmitter: r } = (Ct(), Pe(wt)), { Buffer: o } = (Be(), Pe(Ue));
5309
+ var t = ba(), { EventEmitter: r } = (Ct(), Pe(wt)), { Buffer: o } = (Be(), Pe(Ue));
5310
5310
  function n(s, l) {
5311
5311
  let c = new i();
5312
5312
  return t(s, c, l), c.concat();
@@ -5330,9 +5330,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
5330
5330
  }
5331
5331
  };
5332
5332
  e.exports = n;
5333
- }), wc = pe((a) => {
5334
- le(), ue(), ce(), a.parser = gc().parser, a.generate = vc(), a.writeToStream = ga();
5335
- }), _c = pe((a, e) => {
5333
+ }), _c = pe((a) => {
5334
+ le(), ue(), ce(), a.parser = bc().parser, a.generate = wc(), a.writeToStream = ba();
5335
+ }), kc = pe((a, e) => {
5336
5336
  le(), ue(), ce(), e.exports = r;
5337
5337
  function t(n) {
5338
5338
  return n instanceof Nr ? Nr.from(n) : new n.constructor(n.buffer.slice(), n.byteOffset, n.length);
@@ -5432,9 +5432,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
5432
5432
  return i.pop(), s.pop(), f;
5433
5433
  }
5434
5434
  }
5435
- }), kc = pe((a, e) => {
5436
- le(), ue(), ce(), e.exports = _c()();
5437
- }), ba = pe((a) => {
5435
+ }), xc = pe((a, e) => {
5436
+ le(), ue(), ce(), e.exports = kc()();
5437
+ }), ya = pe((a) => {
5438
5438
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 }), a.validateTopic = e, a.validateTopics = t;
5439
5439
  function e(r) {
5440
5440
  let o = r.split("/");
@@ -5449,7 +5449,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
5449
5449
  for (let o = 0; o < r.length; o++) if (!e(r[o])) return r[o];
5450
5450
  return null;
5451
5451
  }
5452
- }), ya = pe((a) => {
5452
+ }), va = pe((a) => {
5453
5453
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 });
5454
5454
  var e = Pt(), t = { objectMode: !0 }, r = { clean: !0 }, o = class {
5455
5455
  options;
@@ -5485,7 +5485,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
5485
5485
  }
5486
5486
  };
5487
5487
  a.default = o;
5488
- }), xc = pe((a) => {
5488
+ }), Sc = pe((a) => {
5489
5489
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 });
5490
5490
  var e = [0, 16, 128, 131, 135, 144, 145, 151, 153], t = (r, o, n) => {
5491
5491
  r.log("handlePublish: packet %o", o), n = typeof n < "u" ? n : r.noop;
@@ -5540,21 +5540,21 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
5540
5540
  }
5541
5541
  };
5542
5542
  a.default = t;
5543
- }), Sc = pe((a, e) => {
5543
+ }), Ec = pe((a, e) => {
5544
5544
  e.exports = { version: "5.15.0" };
5545
5545
  }), qt = pe((a) => {
5546
5546
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 }), a.MQTTJS_VERSION = a.nextTick = a.ErrorWithSubackPacket = a.ErrorWithReasonCode = void 0, a.applyMixin = r;
5547
- var e = class va extends Error {
5547
+ var e = class wa extends Error {
5548
5548
  code;
5549
5549
  constructor(n, i) {
5550
- super(n), this.code = i, Object.setPrototypeOf(this, va.prototype), Object.getPrototypeOf(this).name = "ErrorWithReasonCode";
5550
+ super(n), this.code = i, Object.setPrototypeOf(this, wa.prototype), Object.getPrototypeOf(this).name = "ErrorWithReasonCode";
5551
5551
  }
5552
5552
  };
5553
5553
  a.ErrorWithReasonCode = e;
5554
- var t = class wa extends Error {
5554
+ var t = class _a extends Error {
5555
5555
  packet;
5556
5556
  constructor(n, i) {
5557
- super(n), this.packet = i, Object.setPrototypeOf(this, wa.prototype), Object.getPrototypeOf(this).name = "ErrorWithSubackPacket";
5557
+ super(n), this.packet = i, Object.setPrototypeOf(this, _a.prototype), Object.getPrototypeOf(this).name = "ErrorWithSubackPacket";
5558
5558
  }
5559
5559
  };
5560
5560
  a.ErrorWithSubackPacket = t;
@@ -5569,7 +5569,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
5569
5569
  }
5570
5570
  a.nextTick = typeof Re?.nextTick == "function" ? Re.nextTick : (o) => {
5571
5571
  setTimeout(o, 0);
5572
- }, a.MQTTJS_VERSION = Sc().version;
5572
+ }, a.MQTTJS_VERSION = Ec().version;
5573
5573
  }), qr = pe((a) => {
5574
5574
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 }), a.ReasonCodes = void 0;
5575
5575
  var e = qt();
@@ -5623,7 +5623,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
5623
5623
  r.disconnecting && Object.keys(r.outgoing).length === 0 && r.emit("outgoingEmpty");
5624
5624
  };
5625
5625
  a.default = t;
5626
- }), Ec = pe((a) => {
5626
+ }), Ac = pe((a) => {
5627
5627
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 });
5628
5628
  var e = qt(), t = qr(), r = (o, n) => {
5629
5629
  let { options: i } = o, s = i.protocolVersion, l = s === 5 ? n.reasonCode : n.returnCode;
@@ -5645,7 +5645,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
5645
5645
  });
5646
5646
  };
5647
5647
  a.default = r;
5648
- }), Ac = pe((a) => {
5648
+ }), Ic = pe((a) => {
5649
5649
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 }), a.LRUCache = void 0;
5650
5650
  var e = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, t = /* @__PURE__ */ new Set(), r = typeof Re == "object" && Re ? Re : {}, o = (b, f, g, y) => {
5651
5651
  typeof r.emitWarning == "function" ? r.emitWarning(b, f, g, y) : console.error(`[${g}] ${f}: ${b}`);
@@ -5701,7 +5701,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
5701
5701
  pop() {
5702
5702
  return this.heap[--this.length];
5703
5703
  }
5704
- }, p = class _a {
5704
+ }, p = class ka {
5705
5705
  #l;
5706
5706
  #h;
5707
5707
  #m;
@@ -5794,7 +5794,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
5794
5794
  if (this.#l === 0 && this.ttl === 0 && this.#h === 0) throw new TypeError("At least one of max, maxSize, or ttl is required");
5795
5795
  if (!this.ttlAutopurge && !this.#l && !this.#h) {
5796
5796
  let Z = "LRU_CACHE_UNBOUNDED";
5797
- s(Z) && (t.add(Z), o("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", Z, _a));
5797
+ s(Z) && (t.add(Z), o("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", Z, ka));
5798
5798
  }
5799
5799
  }
5800
5800
  getRemainingTTL(f) {
@@ -6189,7 +6189,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
6189
6189
  var r = class extends t {
6190
6190
  };
6191
6191
  a.Container = r;
6192
- }), Ic = pe((a) => {
6192
+ }), Tc = pe((a) => {
6193
6193
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = void 0;
6194
6194
  var e = ft(), t = class extends e.Base {
6195
6195
  constructor(o = []) {
@@ -6213,7 +6213,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
6213
6213
  }
6214
6214
  }, r = t;
6215
6215
  a.default = r;
6216
- }), Tc = pe((a) => {
6216
+ }), Cc = pe((a) => {
6217
6217
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = void 0;
6218
6218
  var e = ft(), t = class extends e.Base {
6219
6219
  constructor(o = []) {
@@ -6245,7 +6245,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
6245
6245
  }
6246
6246
  }, r = t;
6247
6247
  a.default = r;
6248
- }), Cc = pe((a) => {
6248
+ }), Oc = pe((a) => {
6249
6249
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = void 0;
6250
6250
  var e = ft(), t = class extends e.Base {
6251
6251
  constructor(o = [], n = function(s, l) {
@@ -6321,7 +6321,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
6321
6321
  function e() {
6322
6322
  throw new RangeError("Iterator access denied!");
6323
6323
  }
6324
- }), ka = pe((a) => {
6324
+ }), xa = pe((a) => {
6325
6325
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.RandomIterator = void 0;
6326
6326
  var e = ft(), t = pt(), r = class extends e.ContainerIterator {
6327
6327
  constructor(o, n) {
@@ -6343,18 +6343,18 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
6343
6343
  }
6344
6344
  };
6345
6345
  a.RandomIterator = r;
6346
- }), Oc = pe((a) => {
6346
+ }), Pc = pe((a) => {
6347
6347
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = void 0;
6348
- var e = r(ao()), t = ka();
6348
+ var e = r(ao()), t = xa();
6349
6349
  function r(s) {
6350
6350
  return s && s.t ? s : { default: s };
6351
6351
  }
6352
- var o = class xa extends t.RandomIterator {
6352
+ var o = class Sa extends t.RandomIterator {
6353
6353
  constructor(l, c, u) {
6354
6354
  super(l, u), this.container = c;
6355
6355
  }
6356
6356
  copy() {
6357
- return new xa(this.o, this.container, this.iteratorType);
6357
+ return new Sa(this.o, this.container, this.iteratorType);
6358
6358
  }
6359
6359
  }, n = class extends e.default {
6360
6360
  constructor(s = [], l = !0) {
@@ -6444,13 +6444,13 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
6444
6444
  }
6445
6445
  }, i = n;
6446
6446
  a.default = i;
6447
- }), Pc = pe((a) => {
6447
+ }), Mc = pe((a) => {
6448
6448
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = void 0;
6449
6449
  var e = o(ao()), t = ft(), r = pt();
6450
6450
  function o(l) {
6451
6451
  return l && l.t ? l : { default: l };
6452
6452
  }
6453
- var n = class Sa extends t.ContainerIterator {
6453
+ var n = class Ea extends t.ContainerIterator {
6454
6454
  constructor(c, u, h, p) {
6455
6455
  super(p), this.o = c, this.h = u, this.container = h, this.iteratorType === 0 ? (this.pre = function() {
6456
6456
  return this.o.L === this.h && (0, r.throwIteratorAccessError)(), this.o = this.o.L, this;
@@ -6469,7 +6469,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
6469
6469
  this.o === this.h && (0, r.throwIteratorAccessError)(), this.o.l = c;
6470
6470
  }
6471
6471
  copy() {
6472
- return new Sa(this.o, this.h, this.container, this.iteratorType);
6472
+ return new Ea(this.o, this.h, this.container, this.iteratorType);
6473
6473
  }
6474
6474
  }, i = class extends e.default {
6475
6475
  constructor(l = []) {
@@ -6629,18 +6629,18 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
6629
6629
  }
6630
6630
  }, s = i;
6631
6631
  a.default = s;
6632
- }), Mc = pe((a) => {
6632
+ }), Rc = pe((a) => {
6633
6633
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = void 0;
6634
- var e = r(ao()), t = ka();
6634
+ var e = r(ao()), t = xa();
6635
6635
  function r(s) {
6636
6636
  return s && s.t ? s : { default: s };
6637
6637
  }
6638
- var o = class Ea extends t.RandomIterator {
6638
+ var o = class Aa extends t.RandomIterator {
6639
6639
  constructor(l, c, u) {
6640
6640
  super(l, u), this.container = c;
6641
6641
  }
6642
6642
  copy() {
6643
- return new Ea(this.o, this.container, this.iteratorType);
6643
+ return new Aa(this.o, this.container, this.iteratorType);
6644
6644
  }
6645
6645
  }, n = class extends e.default {
6646
6646
  constructor(s = [], l = 4096) {
@@ -6814,7 +6814,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
6814
6814
  }
6815
6815
  }, i = n;
6816
6816
  a.default = i;
6817
- }), Rc = pe((a) => {
6817
+ }), Lc = pe((a) => {
6818
6818
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.TreeNodeEnableIndex = a.TreeNode = void 0;
6819
6819
  var e = class {
6820
6820
  constructor(r, o) {
@@ -6869,9 +6869,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
6869
6869
  }
6870
6870
  };
6871
6871
  a.TreeNodeEnableIndex = t;
6872
- }), Aa = pe((a) => {
6872
+ }), Ia = pe((a) => {
6873
6873
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = void 0;
6874
- var e = Rc(), t = ft(), r = pt(), o = class extends t.Container {
6874
+ var e = Lc(), t = ft(), r = pt(), o = class extends t.Container {
6875
6875
  constructor(i = function(l, c) {
6876
6876
  return l < c ? -1 : l > c ? 1 : 0;
6877
6877
  }, s = !1) {
@@ -7123,7 +7123,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7123
7123
  }
7124
7124
  }, n = o;
7125
7125
  a.default = n;
7126
- }), Ia = pe((a) => {
7126
+ }), Ta = pe((a) => {
7127
7127
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = void 0;
7128
7128
  var e = ft(), t = pt(), r = class extends e.ContainerIterator {
7129
7129
  constructor(n, i, s) {
@@ -7149,13 +7149,13 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7149
7149
  }
7150
7150
  }, o = r;
7151
7151
  a.default = o;
7152
- }), Lc = pe((a) => {
7152
+ }), jc = pe((a) => {
7153
7153
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = void 0;
7154
- var e = o(Aa()), t = o(Ia()), r = pt();
7154
+ var e = o(Ia()), t = o(Ta()), r = pt();
7155
7155
  function o(l) {
7156
7156
  return l && l.t ? l : { default: l };
7157
7157
  }
7158
- var n = class Ta extends t.default {
7158
+ var n = class Ca extends t.default {
7159
7159
  constructor(c, u, h, p) {
7160
7160
  super(c, u, p), this.container = h;
7161
7161
  }
@@ -7163,7 +7163,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7163
7163
  return this.o === this.h && (0, r.throwIteratorAccessError)(), this.o.u;
7164
7164
  }
7165
7165
  copy() {
7166
- return new Ta(this.o, this.h, this.container, this.iteratorType);
7166
+ return new Ca(this.o, this.h, this.container, this.iteratorType);
7167
7167
  }
7168
7168
  }, i = class extends e.default {
7169
7169
  constructor(l = [], c, u) {
@@ -7228,13 +7228,13 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7228
7228
  }
7229
7229
  }, s = i;
7230
7230
  a.default = s;
7231
- }), jc = pe((a) => {
7231
+ }), Nc = pe((a) => {
7232
7232
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = void 0;
7233
- var e = o(Aa()), t = o(Ia()), r = pt();
7233
+ var e = o(Ia()), t = o(Ta()), r = pt();
7234
7234
  function o(l) {
7235
7235
  return l && l.t ? l : { default: l };
7236
7236
  }
7237
- var n = class Ca extends t.default {
7237
+ var n = class Oa extends t.default {
7238
7238
  constructor(c, u, h, p) {
7239
7239
  super(c, u, p), this.container = h;
7240
7240
  }
@@ -7250,7 +7250,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7250
7250
  } });
7251
7251
  }
7252
7252
  copy() {
7253
- return new Ca(this.o, this.h, this.container, this.iteratorType);
7253
+ return new Oa(this.o, this.h, this.container, this.iteratorType);
7254
7254
  }
7255
7255
  }, i = class extends e.default {
7256
7256
  constructor(l = [], c, u) {
@@ -7322,15 +7322,15 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7322
7322
  }
7323
7323
  }, s = i;
7324
7324
  a.default = s;
7325
- }), Oa = pe((a) => {
7325
+ }), Pa = pe((a) => {
7326
7326
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = e;
7327
7327
  function e(t) {
7328
7328
  let r = typeof t;
7329
7329
  return r === "object" && t !== null || r === "function";
7330
7330
  }
7331
- }), Pa = pe((a) => {
7331
+ }), Ma = pe((a) => {
7332
7332
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.HashContainerIterator = a.HashContainer = void 0;
7333
- var e = ft(), t = o(Oa()), r = pt();
7333
+ var e = ft(), t = o(Pa()), r = pt();
7334
7334
  function o(s) {
7335
7335
  return s && s.t ? s : { default: s };
7336
7336
  }
@@ -7406,9 +7406,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7406
7406
  }
7407
7407
  };
7408
7408
  a.HashContainer = i;
7409
- }), Nc = pe((a) => {
7409
+ }), Uc = pe((a) => {
7410
7410
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = void 0;
7411
- var e = Pa(), t = pt(), r = class Ma extends e.HashContainerIterator {
7411
+ var e = Ma(), t = pt(), r = class Ra extends e.HashContainerIterator {
7412
7412
  constructor(s, l, c, u) {
7413
7413
  super(s, l, u), this.container = c;
7414
7414
  }
@@ -7416,7 +7416,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7416
7416
  return this.o === this.h && (0, t.throwIteratorAccessError)(), this.o.u;
7417
7417
  }
7418
7418
  copy() {
7419
- return new Ma(this.o, this.h, this.container, this.iteratorType);
7419
+ return new Ra(this.o, this.h, this.container, this.iteratorType);
7420
7420
  }
7421
7421
  }, o = class extends e.HashContainer {
7422
7422
  constructor(i = []) {
@@ -7469,13 +7469,13 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7469
7469
  }
7470
7470
  }, n = o;
7471
7471
  a.default = n;
7472
- }), Uc = pe((a) => {
7472
+ }), Bc = pe((a) => {
7473
7473
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), a.default = void 0;
7474
- var e = Pa(), t = o(Oa()), r = pt();
7474
+ var e = Ma(), t = o(Pa()), r = pt();
7475
7475
  function o(l) {
7476
7476
  return l && l.t ? l : { default: l };
7477
7477
  }
7478
- var n = class Ra extends e.HashContainerIterator {
7478
+ var n = class La extends e.HashContainerIterator {
7479
7479
  constructor(c, u, h, p) {
7480
7480
  super(c, u, p), this.container = h;
7481
7481
  }
@@ -7491,7 +7491,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7491
7491
  } });
7492
7492
  }
7493
7493
  copy() {
7494
- return new Ra(this.o, this.h, this.container, this.iteratorType);
7494
+ return new La(this.o, this.h, this.container, this.iteratorType);
7495
7495
  }
7496
7496
  }, i = class extends e.HashContainer {
7497
7497
  constructor(l = []) {
@@ -7552,7 +7552,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7552
7552
  }
7553
7553
  }, s = i;
7554
7554
  a.default = s;
7555
- }), Bc = pe((a) => {
7555
+ }), Dc = pe((a) => {
7556
7556
  le(), ue(), ce(), Object.defineProperty(a, "t", { value: !0 }), Object.defineProperty(a, "Deque", { enumerable: !0, get: function() {
7557
7557
  return i.default;
7558
7558
  } }), Object.defineProperty(a, "HashMap", { enumerable: !0, get: function() {
@@ -7574,13 +7574,13 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7574
7574
  } }), Object.defineProperty(a, "Vector", { enumerable: !0, get: function() {
7575
7575
  return o.default;
7576
7576
  } });
7577
- var e = h(Ic()), t = h(Tc()), r = h(Cc()), o = h(Oc()), n = h(Pc()), i = h(Mc()), s = h(Lc()), l = h(jc()), c = h(Nc()), u = h(Uc());
7577
+ var e = h(Tc()), t = h(Cc()), r = h(Oc()), o = h(Pc()), n = h(Mc()), i = h(Rc()), s = h(jc()), l = h(Nc()), c = h(Uc()), u = h(Bc());
7578
7578
  function h(p) {
7579
7579
  return p && p.t ? p : { default: p };
7580
7580
  }
7581
- }), Dc = pe((a, e) => {
7581
+ }), Fc = pe((a, e) => {
7582
7582
  le(), ue(), ce();
7583
- var t = Bc().OrderedSet, r = ht()("number-allocator:trace"), o = ht()("number-allocator:error");
7583
+ var t = Dc().OrderedSet, r = ht()("number-allocator:trace"), o = ht()("number-allocator:error");
7584
7584
  function n(s, l) {
7585
7585
  this.low = s, this.high = l;
7586
7586
  }
@@ -7639,13 +7639,13 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7639
7639
  console.log("length:" + this.ss.size());
7640
7640
  for (let s of this.ss) console.log(s);
7641
7641
  }, e.exports = i;
7642
- }), La = pe((a, e) => {
7642
+ }), ja = pe((a, e) => {
7643
7643
  le(), ue(), ce();
7644
- var t = Dc();
7644
+ var t = Fc();
7645
7645
  e.exports.NumberAllocator = t;
7646
- }), Fc = pe((a) => {
7646
+ }), $c = pe((a) => {
7647
7647
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 });
7648
- var e = Ac(), t = La(), r = class {
7648
+ var e = Ic(), t = ja(), r = class {
7649
7649
  aliasToTopic;
7650
7650
  topicToAlias;
7651
7651
  max;
@@ -7674,13 +7674,13 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7674
7674
  }
7675
7675
  };
7676
7676
  a.default = r;
7677
- }), $c = pe((a) => {
7677
+ }), qc = pe((a) => {
7678
7678
  le(), ue(), ce();
7679
7679
  var e = a && a.__importDefault || function(i) {
7680
7680
  return i && i.__esModule ? i : { default: i };
7681
7681
  };
7682
7682
  Object.defineProperty(a, "__esModule", { value: !0 });
7683
- var t = qr(), r = e(Fc()), o = qt(), n = (i, s) => {
7683
+ var t = qr(), r = e($c()), o = qt(), n = (i, s) => {
7684
7684
  i.log("_handleConnack");
7685
7685
  let { options: l } = i, c = l.protocolVersion === 5 ? s.reasonCode : s.returnCode;
7686
7686
  if (clearTimeout(i.connackTimer), delete i.topicAliasSend, s.properties) {
@@ -7700,7 +7700,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7700
7700
  }
7701
7701
  };
7702
7702
  a.default = n;
7703
- }), qc = pe((a) => {
7703
+ }), Hc = pe((a) => {
7704
7704
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 });
7705
7705
  var e = (t, r, o) => {
7706
7706
  t.log("handling pubrel packet");
@@ -7713,13 +7713,13 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7713
7713
  });
7714
7714
  };
7715
7715
  a.default = e;
7716
- }), Hc = pe((a) => {
7716
+ }), Wc = pe((a) => {
7717
7717
  le(), ue(), ce();
7718
7718
  var e = a && a.__importDefault || function(l) {
7719
7719
  return l && l.__esModule ? l : { default: l };
7720
7720
  };
7721
7721
  Object.defineProperty(a, "__esModule", { value: !0 });
7722
- var t = e(xc()), r = e(Ec()), o = e($c()), n = e(qr()), i = e(qc()), s = (l, c, u) => {
7722
+ var t = e(Sc()), r = e(Ac()), o = e(qc()), n = e(qr()), i = e(Hc()), s = (l, c, u) => {
7723
7723
  let { options: h } = l;
7724
7724
  if (h.protocolVersion === 5 && h.properties && h.properties.maximumPacketSize && h.properties.maximumPacketSize < c.length) return l.emit("error", new Error(`exceeding packets size ${c.cmd}`)), l.end({ reasonCode: 149, properties: { reasonString: "Maximum packet size was exceeded" } }), l;
7725
7725
  switch (l.log("_handlePacket :: emitting packetreceive"), l.emit("packetreceive", c), c.cmd) {
@@ -7754,7 +7754,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7754
7754
  }
7755
7755
  };
7756
7756
  a.default = s;
7757
- }), ja = pe((a) => {
7757
+ }), Na = pe((a) => {
7758
7758
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 });
7759
7759
  var e = class {
7760
7760
  nextId;
@@ -7777,7 +7777,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7777
7777
  }
7778
7778
  };
7779
7779
  a.default = e;
7780
- }), Wc = pe((a) => {
7780
+ }), zc = pe((a) => {
7781
7781
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 });
7782
7782
  var e = class {
7783
7783
  aliasToTopic;
@@ -7797,7 +7797,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7797
7797
  }
7798
7798
  };
7799
7799
  a.default = e;
7800
- }), zc = pe((a) => {
7800
+ }), Vc = pe((a) => {
7801
7801
  le(), ue(), ce();
7802
7802
  var e = a && a.__importDefault || function(n) {
7803
7803
  return n && n.__esModule ? n : { default: n };
@@ -7817,7 +7817,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7817
7817
  }, e.exports.__esModule = !0, e.exports.default = e.exports, t(r);
7818
7818
  }
7819
7819
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
7820
- }), Vc = pe((a, e) => {
7820
+ }), Gc = pe((a, e) => {
7821
7821
  le(), ue(), ce();
7822
7822
  var t = Hr().default;
7823
7823
  function r(o, n) {
@@ -7831,28 +7831,28 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7831
7831
  return (n === "string" ? String : Number)(o);
7832
7832
  }
7833
7833
  e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
7834
- }), Gc = pe((a, e) => {
7834
+ }), Kc = pe((a, e) => {
7835
7835
  le(), ue(), ce();
7836
- var t = Hr().default, r = Vc();
7836
+ var t = Hr().default, r = Gc();
7837
7837
  function o(n) {
7838
7838
  var i = r(n, "string");
7839
7839
  return t(i) == "symbol" ? i : i + "";
7840
7840
  }
7841
7841
  e.exports = o, e.exports.__esModule = !0, e.exports.default = e.exports;
7842
- }), Kc = pe((a, e) => {
7842
+ }), Yc = pe((a, e) => {
7843
7843
  le(), ue(), ce();
7844
- var t = Gc();
7844
+ var t = Kc();
7845
7845
  function r(o, n, i) {
7846
7846
  return (n = t(n)) in o ? Object.defineProperty(o, n, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : o[n] = i, o;
7847
7847
  }
7848
7848
  e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
7849
- }), Yc = pe((a, e) => {
7849
+ }), Qc = pe((a, e) => {
7850
7850
  le(), ue(), ce();
7851
7851
  function t(r) {
7852
7852
  if (Array.isArray(r)) return r;
7853
7853
  }
7854
7854
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
7855
- }), Qc = pe((a, e) => {
7855
+ }), Jc = pe((a, e) => {
7856
7856
  le(), ue(), ce();
7857
7857
  function t(r, o) {
7858
7858
  var n = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
@@ -7876,7 +7876,7 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7876
7876
  }
7877
7877
  }
7878
7878
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
7879
- }), Jc = pe((a, e) => {
7879
+ }), Xc = pe((a, e) => {
7880
7880
  le(), ue(), ce();
7881
7881
  function t(r, o) {
7882
7882
  (o == null || o > r.length) && (o = r.length);
@@ -7884,9 +7884,9 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7884
7884
  return i;
7885
7885
  }
7886
7886
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
7887
- }), Xc = pe((a, e) => {
7887
+ }), Zc = pe((a, e) => {
7888
7888
  le(), ue(), ce();
7889
- var t = Jc();
7889
+ var t = Xc();
7890
7890
  function r(o, n) {
7891
7891
  if (o) {
7892
7892
  if (typeof o == "string") return t(o, n);
@@ -7895,21 +7895,21 @@ var Qt, li, jt, na, ia, oa, sa, aa, la, Ct = Ve(() => {
7895
7895
  }
7896
7896
  }
7897
7897
  e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
7898
- }), Zc = pe((a, e) => {
7898
+ }), eu = pe((a, e) => {
7899
7899
  le(), ue(), ce();
7900
7900
  function t() {
7901
7901
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7902
7902
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
7903
7903
  }
7904
7904
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
7905
- }), eu = pe((a, e) => {
7905
+ }), tu = pe((a, e) => {
7906
7906
  le(), ue(), ce();
7907
- var t = Yc(), r = Qc(), o = Xc(), n = Zc();
7907
+ var t = Qc(), r = Jc(), o = Zc(), n = eu();
7908
7908
  function i(s, l) {
7909
7909
  return t(s) || r(s, l) || o(s, l) || n();
7910
7910
  }
7911
7911
  e.exports = i, e.exports.__esModule = !0, e.exports.default = e.exports;
7912
- }), Na = pe((a, e) => {
7912
+ }), Ua = pe((a, e) => {
7913
7913
  le(), ue(), ce(), (function(t, r) {
7914
7914
  typeof a == "object" && typeof e < "u" ? r(a) : typeof define == "function" && define.amd ? define(["exports"], r) : (t = typeof globalThis < "u" ? globalThis : t || self, r(t.fastUniqueNumbers = {}));
7915
7915
  })(a, function(t) {
@@ -7937,7 +7937,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7937
7937
  }, c = /* @__PURE__ */ new WeakMap(), u = o(c), h = l(u, c), p = r(h);
7938
7938
  t.addUniqueNumber = p, t.generateUniqueNumber = h;
7939
7939
  });
7940
- }), tu = pe((a, e) => {
7940
+ }), ru = pe((a, e) => {
7941
7941
  le(), ue(), ce();
7942
7942
  function t(o, n, i, s, l, c, u) {
7943
7943
  try {
@@ -7963,13 +7963,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7963
7963
  };
7964
7964
  }
7965
7965
  e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
7966
- }), Ua = pe((a, e) => {
7966
+ }), Ba = pe((a, e) => {
7967
7967
  le(), ue(), ce();
7968
7968
  function t(r, o) {
7969
7969
  this.v = r, this.k = o;
7970
7970
  }
7971
7971
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
7972
- }), Ba = pe((a, e) => {
7972
+ }), Da = pe((a, e) => {
7973
7973
  le(), ue(), ce();
7974
7974
  function t(r, o, n, i) {
7975
7975
  var s = Object.defineProperty;
@@ -7988,9 +7988,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7988
7988
  }, e.exports.__esModule = !0, e.exports.default = e.exports, t(r, o, n, i);
7989
7989
  }
7990
7990
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
7991
- }), Da = pe((a, e) => {
7991
+ }), Fa = pe((a, e) => {
7992
7992
  le(), ue(), ce();
7993
- var t = Ba();
7993
+ var t = Da();
7994
7994
  function r() {
7995
7995
  var o, n, i = typeof Symbol == "function" ? Symbol : {}, s = i.iterator || "@@iterator", l = i.toStringTag || "@@toStringTag";
7996
7996
  function c(w, m, _, x) {
@@ -8053,9 +8053,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8053
8053
  }, e.exports.__esModule = !0, e.exports.default = e.exports)();
8054
8054
  }
8055
8055
  e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
8056
- }), Fa = pe((a, e) => {
8056
+ }), $a = pe((a, e) => {
8057
8057
  le(), ue(), ce();
8058
- var t = Ua(), r = Ba();
8058
+ var t = Ba(), r = Da();
8059
8059
  function o(n, i) {
8060
8060
  function s(c, u, h, p) {
8061
8061
  try {
@@ -8086,16 +8086,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8086
8086
  }, !0);
8087
8087
  }
8088
8088
  e.exports = o, e.exports.__esModule = !0, e.exports.default = e.exports;
8089
- }), $a = pe((a, e) => {
8089
+ }), qa = pe((a, e) => {
8090
8090
  le(), ue(), ce();
8091
- var t = Da(), r = Fa();
8091
+ var t = Fa(), r = $a();
8092
8092
  function o(n, i, s, l, c) {
8093
8093
  return new r(t().w(n, i, s, l), c || Promise);
8094
8094
  }
8095
8095
  e.exports = o, e.exports.__esModule = !0, e.exports.default = e.exports;
8096
- }), ru = pe((a, e) => {
8096
+ }), nu = pe((a, e) => {
8097
8097
  le(), ue(), ce();
8098
- var t = $a();
8098
+ var t = qa();
8099
8099
  function r(o, n, i, s, l) {
8100
8100
  var c = t(o, n, i, s, l);
8101
8101
  return c.next().then(function(u) {
@@ -8103,7 +8103,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8103
8103
  });
8104
8104
  }
8105
8105
  e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
8106
- }), nu = pe((a, e) => {
8106
+ }), iu = pe((a, e) => {
8107
8107
  le(), ue(), ce();
8108
8108
  function t(r) {
8109
8109
  var o = Object(r), n = [];
@@ -8114,7 +8114,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8114
8114
  };
8115
8115
  }
8116
8116
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
8117
- }), iu = pe((a, e) => {
8117
+ }), ou = pe((a, e) => {
8118
8118
  le(), ue(), ce();
8119
8119
  var t = Hr().default;
8120
8120
  function r(o) {
@@ -8129,9 +8129,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8129
8129
  throw new TypeError(t(o) + " is not iterable");
8130
8130
  }
8131
8131
  e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
8132
- }), ou = pe((a, e) => {
8132
+ }), su = pe((a, e) => {
8133
8133
  le(), ue(), ce();
8134
- var t = Ua(), r = Da(), o = ru(), n = $a(), i = Fa(), s = nu(), l = iu();
8134
+ var t = Ba(), r = Fa(), o = nu(), n = qa(), i = $a(), s = iu(), l = ou();
8135
8135
  function c() {
8136
8136
  var u = r(), h = u.m(c), p = (Object.getPrototypeOf ? Object.getPrototypeOf(h) : h.__proto__).constructor;
8137
8137
  function b(y) {
@@ -8178,18 +8178,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8178
8178
  }, e.exports.__esModule = !0, e.exports.default = e.exports)();
8179
8179
  }
8180
8180
  e.exports = c, e.exports.__esModule = !0, e.exports.default = e.exports;
8181
- }), su = pe((a, e) => {
8181
+ }), au = pe((a, e) => {
8182
8182
  le(), ue(), ce();
8183
- var t = ou()();
8183
+ var t = su()();
8184
8184
  e.exports = t;
8185
8185
  try {
8186
8186
  regeneratorRuntime = t;
8187
8187
  } catch {
8188
8188
  typeof globalThis == "object" ? globalThis.regeneratorRuntime = t : Function("r", "regeneratorRuntime = r")(t);
8189
8189
  }
8190
- }), au = pe((a, e) => {
8190
+ }), lu = pe((a, e) => {
8191
8191
  le(), ue(), ce(), (function(t, r) {
8192
- typeof a == "object" && typeof e < "u" ? r(a, Kc(), eu(), Na(), tu(), su()) : typeof define == "function" && define.amd ? define(["exports", "@babel/runtime/helpers/defineProperty", "@babel/runtime/helpers/slicedToArray", "fast-unique-numbers", "@babel/runtime/helpers/asyncToGenerator", "@babel/runtime/regenerator"], r) : (t = typeof globalThis < "u" ? globalThis : t || self, r(t.brokerFactory = {}, t._defineProperty, t._slicedToArray, t.fastUniqueNumbers, t._asyncToGenerator, t._regeneratorRuntime));
8192
+ typeof a == "object" && typeof e < "u" ? r(a, Yc(), tu(), Ua(), ru(), au()) : typeof define == "function" && define.amd ? define(["exports", "@babel/runtime/helpers/defineProperty", "@babel/runtime/helpers/slicedToArray", "fast-unique-numbers", "@babel/runtime/helpers/asyncToGenerator", "@babel/runtime/regenerator"], r) : (t = typeof globalThis < "u" ? globalThis : t || self, r(t.brokerFactory = {}, t._defineProperty, t._slicedToArray, t.fastUniqueNumbers, t._asyncToGenerator, t._regeneratorRuntime));
8193
8193
  })(a, function(t, r, o, n, i, s) {
8194
8194
  var l = function(m) {
8195
8195
  return typeof m.start == "function";
@@ -8318,9 +8318,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8318
8318
  };
8319
8319
  t.createBroker = w;
8320
8320
  });
8321
- }), lu = pe((a, e) => {
8321
+ }), cu = pe((a, e) => {
8322
8322
  le(), ue(), ce(), (function(t, r) {
8323
- typeof a == "object" && typeof e < "u" ? r(a, Hr(), au(), Na()) : typeof define == "function" && define.amd ? define(["exports", "@babel/runtime/helpers/typeof", "broker-factory", "fast-unique-numbers"], r) : (t = typeof globalThis < "u" ? globalThis : t || self, r(t.workerTimersBroker = {}, t._typeof, t.brokerFactory, t.fastUniqueNumbers));
8323
+ typeof a == "object" && typeof e < "u" ? r(a, Hr(), lu(), Ua()) : typeof define == "function" && define.amd ? define(["exports", "@babel/runtime/helpers/typeof", "broker-factory", "fast-unique-numbers"], r) : (t = typeof globalThis < "u" ? globalThis : t || self, r(t.workerTimersBroker = {}, t._typeof, t.brokerFactory, t.fastUniqueNumbers));
8324
8324
  })(a, function(t, r, o, n) {
8325
8325
  var i = /* @__PURE__ */ new Map([[0, null]]), s = /* @__PURE__ */ new Map([[0, null]]), l = o.createBroker({ clearInterval: function(u) {
8326
8326
  var h = u.call;
@@ -8368,9 +8368,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8368
8368
  };
8369
8369
  t.load = c, t.wrap = l;
8370
8370
  });
8371
- }), cu = pe((a, e) => {
8371
+ }), uu = pe((a, e) => {
8372
8372
  le(), ue(), ce(), (function(t, r) {
8373
- typeof a == "object" && typeof e < "u" ? r(a, lu()) : typeof define == "function" && define.amd ? define(["exports", "worker-timers-broker"], r) : (t = typeof globalThis < "u" ? globalThis : t || self, r(t.workerTimers = {}, t.workerTimersBroker));
8373
+ typeof a == "object" && typeof e < "u" ? r(a, cu()) : typeof define == "function" && define.amd ? define(["exports", "worker-timers-broker"], r) : (t = typeof globalThis < "u" ? globalThis : t || self, r(t.workerTimers = {}, t.workerTimersBroker));
8374
8374
  })(a, function(t, r) {
8375
8375
  var o = function(h, p) {
8376
8376
  var b = null;
@@ -8398,7 +8398,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8398
8398
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 }), a.isReactNativeBrowser = a.isWebWorker = void 0;
8399
8399
  var e = () => typeof window < "u" ? typeof navigator < "u" && navigator.userAgent?.toLowerCase().indexOf(" electron/") > -1 && Re?.versions ? !Object.prototype.hasOwnProperty.call(Re.versions, "electron") : typeof window.document < "u" : !1, t = () => !!(typeof self == "object" && self?.constructor?.name?.includes("WorkerGlobalScope") && typeof Deno > "u"), r = () => typeof navigator < "u" && navigator.product === "ReactNative", o = e() || t() || r();
8400
8400
  a.isWebWorker = t(), a.isReactNativeBrowser = r(), a.default = o;
8401
- }), uu = pe((a) => {
8401
+ }), hu = pe((a) => {
8402
8402
  le(), ue(), ce();
8403
8403
  var e = a && a.__createBinding || (Object.create ? function(c, u, h, p) {
8404
8404
  p === void 0 && (p = h);
@@ -8428,7 +8428,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8428
8428
  };
8429
8429
  })();
8430
8430
  Object.defineProperty(a, "__esModule", { value: !0 });
8431
- var o = cu(), n = r(Wr()), i = { set: o.setInterval, clear: o.clearInterval }, s = { set: (c, u) => setInterval(c, u), clear: (c) => clearInterval(c) }, l = (c) => {
8431
+ var o = uu(), n = r(Wr()), i = { set: o.setInterval, clear: o.clearInterval }, s = { set: (c, u) => setInterval(c, u), clear: (c) => clearInterval(c) }, l = (c) => {
8432
8432
  switch (c) {
8433
8433
  case "native":
8434
8434
  return s;
@@ -8439,13 +8439,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8439
8439
  }
8440
8440
  };
8441
8441
  a.default = l;
8442
- }), qa = pe((a) => {
8442
+ }), Ha = pe((a) => {
8443
8443
  le(), ue(), ce();
8444
8444
  var e = a && a.__importDefault || function(o) {
8445
8445
  return o && o.__esModule ? o : { default: o };
8446
8446
  };
8447
8447
  Object.defineProperty(a, "__esModule", { value: !0 });
8448
- var t = e(uu()), r = class {
8448
+ var t = e(hu()), r = class {
8449
8449
  _keepalive;
8450
8450
  timerId;
8451
8451
  timer;
@@ -8518,7 +8518,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8518
8518
  return v && v.__esModule ? v : { default: v };
8519
8519
  };
8520
8520
  Object.defineProperty(a, "__esModule", { value: !0 });
8521
- var n = o(wc()), i = Pt(), s = o(kc()), l = o(ht()), c = r(ba()), u = o(ya()), h = o(Hc()), p = o(ja()), b = o(Wc()), f = qt(), g = zc(), y = o(qa()), w = r(Wr()), m = globalThis.setImmediate || ((...v) => {
8521
+ var n = o(_c()), i = Pt(), s = o(xc()), l = o(ht()), c = r(ya()), u = o(va()), h = o(Wc()), p = o(Na()), b = o(zc()), f = qt(), g = Vc(), y = o(Ha()), w = r(Wr()), m = globalThis.setImmediate || ((...v) => {
8522
8522
  let E = v.shift();
8523
8523
  (0, f.nextTick)(() => {
8524
8524
  E(...v);
@@ -9020,9 +9020,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9020
9020
  }
9021
9021
  };
9022
9022
  a.default = x;
9023
- }), hu = pe((a) => {
9023
+ }), du = pe((a) => {
9024
9024
  le(), ue(), ce(), Object.defineProperty(a, "__esModule", { value: !0 });
9025
- var e = La(), t = class {
9025
+ var e = ja(), t = class {
9026
9026
  numberAllocator;
9027
9027
  lastId;
9028
9028
  constructor() {
@@ -9046,7 +9046,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9046
9046
  };
9047
9047
  a.default = t;
9048
9048
  });
9049
- function du() {
9049
+ function fu() {
9050
9050
  if (di) return dr;
9051
9051
  di = !0;
9052
9052
  let a = 2147483647, e = 36, t = 1, r = 26, o = 38, n = 700, i = 72, s = 128, l = "-", c = /^xn--/, u = /[^\0-\x7F]/, h = /[\x2E\u3002\uFF0E\uFF61]/g, p = { overflow: "Overflow: input needs wider integers to process", "not-basic": "Illegal input >= 0x80 (not a basic code point)", "invalid-input": "Invalid input" }, b = e - t, f = Math.floor, g = String.fromCharCode;
@@ -9137,10 +9137,10 @@ function du() {
9137
9137
  });
9138
9138
  } }, dr;
9139
9139
  }
9140
- var dr, di, yt, fu = Ve(() => {
9141
- le(), ue(), ce(), dr = {}, di = !1, yt = du(), yt.decode, yt.encode, yt.toASCII, yt.toUnicode, yt.ucs2, yt.version;
9140
+ var dr, di, yt, pu = Ve(() => {
9141
+ le(), ue(), ce(), dr = {}, di = !1, yt = fu(), yt.decode, yt.encode, yt.toASCII, yt.toUnicode, yt.ucs2, yt.version;
9142
9142
  });
9143
- function pu() {
9143
+ function mu() {
9144
9144
  return pi || (pi = !0, fi = function() {
9145
9145
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1;
9146
9146
  if (typeof Symbol.iterator == "symbol") return !0;
@@ -9159,36 +9159,36 @@ function pu() {
9159
9159
  return !0;
9160
9160
  }), fi;
9161
9161
  }
9162
- function mu() {
9162
+ function gu() {
9163
9163
  return gi || (gi = !0, mi = Error), mi;
9164
9164
  }
9165
- function gu() {
9165
+ function bu() {
9166
9166
  return yi || (yi = !0, bi = EvalError), bi;
9167
9167
  }
9168
- function bu() {
9168
+ function yu() {
9169
9169
  return wi || (wi = !0, vi = RangeError), vi;
9170
9170
  }
9171
- function yu() {
9171
+ function vu() {
9172
9172
  return ki || (ki = !0, _i = ReferenceError), _i;
9173
9173
  }
9174
- function Ha() {
9174
+ function Wa() {
9175
9175
  return Si || (Si = !0, xi = SyntaxError), xi;
9176
9176
  }
9177
9177
  function rr() {
9178
9178
  return Ai || (Ai = !0, Ei = TypeError), Ei;
9179
9179
  }
9180
- function vu() {
9180
+ function wu() {
9181
9181
  return Ti || (Ti = !0, Ii = URIError), Ii;
9182
9182
  }
9183
- function wu() {
9183
+ function _u() {
9184
9184
  if (Ci) return fr;
9185
9185
  Ci = !0;
9186
- var a = typeof Symbol < "u" && Symbol, e = pu();
9186
+ var a = typeof Symbol < "u" && Symbol, e = mu();
9187
9187
  return fr = function() {
9188
9188
  return typeof a != "function" || typeof Symbol != "function" || typeof a("foo") != "symbol" || typeof /* @__PURE__ */ Symbol("bar") != "symbol" ? !1 : e();
9189
9189
  }, fr;
9190
9190
  }
9191
- function _u() {
9191
+ function ku() {
9192
9192
  if (Oi) return pr;
9193
9193
  Oi = !0;
9194
9194
  var a = { __proto__: null, foo: {} }, e = Object;
@@ -9196,7 +9196,7 @@ function _u() {
9196
9196
  return { __proto__: a }.foo === a.foo && !(a instanceof e);
9197
9197
  }, pr;
9198
9198
  }
9199
- function ku() {
9199
+ function xu() {
9200
9200
  if (Pi) return mr;
9201
9201
  Pi = !0;
9202
9202
  var a = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, r = "[object Function]", o = function(s, l) {
@@ -9231,10 +9231,10 @@ function ku() {
9231
9231
  function lo() {
9232
9232
  if (Mi) return gr;
9233
9233
  Mi = !0;
9234
- var a = ku();
9234
+ var a = xu();
9235
9235
  return gr = Function.prototype.bind || a, gr;
9236
9236
  }
9237
- function xu() {
9237
+ function Su() {
9238
9238
  if (Ri) return br;
9239
9239
  Ri = !0;
9240
9240
  var a = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = lo();
@@ -9243,7 +9243,7 @@ function xu() {
9243
9243
  function Ht() {
9244
9244
  if (Li) return yr;
9245
9245
  Li = !0;
9246
- var a, e = mu(), t = gu(), r = bu(), o = yu(), n = Ha(), i = rr(), s = vu(), l = Function, c = function(Y) {
9246
+ var a, e = gu(), t = bu(), r = yu(), o = vu(), n = Wa(), i = rr(), s = wu(), l = Function, c = function(Y) {
9247
9247
  try {
9248
9248
  return l('"use strict"; return (' + Y + ").constructor;")();
9249
9249
  } catch {
@@ -9266,7 +9266,7 @@ function Ht() {
9266
9266
  return h;
9267
9267
  }
9268
9268
  }
9269
- })() : h, b = wu()(), f = _u()(), g = Object.getPrototypeOf || (f ? function(Y) {
9269
+ })() : h, b = _u()(), f = ku()(), g = Object.getPrototypeOf || (f ? function(Y) {
9270
9270
  return Y.__proto__;
9271
9271
  } : null), y = {}, w = typeof Uint8Array > "u" || !g ? a : g(Uint8Array), m = { __proto__: null, "%AggregateError%": typeof AggregateError > "u" ? a : AggregateError, "%Array%": Array, "%ArrayBuffer%": typeof ArrayBuffer > "u" ? a : ArrayBuffer, "%ArrayIteratorPrototype%": b && g ? g([][Symbol.iterator]()) : a, "%AsyncFromSyncIteratorPrototype%": a, "%AsyncFunction%": y, "%AsyncGenerator%": y, "%AsyncGeneratorFunction%": y, "%AsyncIteratorPrototype%": y, "%Atomics%": typeof Atomics > "u" ? a : Atomics, "%BigInt%": typeof BigInt > "u" ? a : BigInt, "%BigInt64Array%": typeof BigInt64Array > "u" ? a : BigInt64Array, "%BigUint64Array%": typeof BigUint64Array > "u" ? a : BigUint64Array, "%Boolean%": Boolean, "%DataView%": typeof DataView > "u" ? a : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": e, "%eval%": eval, "%EvalError%": t, "%Float32Array%": typeof Float32Array > "u" ? a : Float32Array, "%Float64Array%": typeof Float64Array > "u" ? a : Float64Array, "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? a : FinalizationRegistry, "%Function%": l, "%GeneratorFunction%": y, "%Int8Array%": typeof Int8Array > "u" ? a : Int8Array, "%Int16Array%": typeof Int16Array > "u" ? a : Int16Array, "%Int32Array%": typeof Int32Array > "u" ? a : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": b && g ? g(g([][Symbol.iterator]())) : a, "%JSON%": typeof JSON == "object" ? JSON : a, "%Map%": typeof Map > "u" ? a : Map, "%MapIteratorPrototype%": typeof Map > "u" || !b || !g ? a : g((/* @__PURE__ */ new Map())[Symbol.iterator]()), "%Math%": Math, "%Number%": Number, "%Object%": Object, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": typeof Promise > "u" ? a : Promise, "%Proxy%": typeof Proxy > "u" ? a : Proxy, "%RangeError%": r, "%ReferenceError%": o, "%Reflect%": typeof Reflect > "u" ? a : Reflect, "%RegExp%": RegExp, "%Set%": typeof Set > "u" ? a : Set, "%SetIteratorPrototype%": typeof Set > "u" || !b || !g ? a : g((/* @__PURE__ */ new Set())[Symbol.iterator]()), "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? a : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": b && g ? g(""[Symbol.iterator]()) : a, "%Symbol%": b ? Symbol : a, "%SyntaxError%": n, "%ThrowTypeError%": p, "%TypedArray%": w, "%TypeError%": i, "%Uint8Array%": typeof Uint8Array > "u" ? a : Uint8Array, "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? a : Uint8ClampedArray, "%Uint16Array%": typeof Uint16Array > "u" ? a : Uint16Array, "%Uint32Array%": typeof Uint32Array > "u" ? a : Uint32Array, "%URIError%": s, "%WeakMap%": typeof WeakMap > "u" ? a : WeakMap, "%WeakRef%": typeof WeakRef > "u" ? a : WeakRef, "%WeakSet%": typeof WeakSet > "u" ? a : WeakSet };
9272
9272
  if (g) try {
@@ -9288,7 +9288,7 @@ function Ht() {
9288
9288
  Z && g && (re = g(Z.prototype));
9289
9289
  }
9290
9290
  return m[V] = re, re;
9291
- }, v = { __proto__: null, "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, E = lo(), S = xu(), I = E.call(Function.call, Array.prototype.concat), O = E.call(Function.apply, Array.prototype.splice), P = E.call(Function.call, String.prototype.replace), N = E.call(Function.call, String.prototype.slice), T = E.call(Function.call, RegExp.prototype.exec), q = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, D = /\\(\\)?/g, U = function(Y) {
9291
+ }, v = { __proto__: null, "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, E = lo(), S = Su(), I = E.call(Function.call, Array.prototype.concat), O = E.call(Function.apply, Array.prototype.splice), P = E.call(Function.call, String.prototype.replace), N = E.call(Function.call, String.prototype.slice), T = E.call(Function.call, RegExp.prototype.exec), q = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, D = /\\(\\)?/g, U = function(Y) {
9292
9292
  var V = N(Y, 0, 1), re = N(Y, -1);
9293
9293
  if (V === "%" && re !== "%") throw new n("invalid intrinsic syntax, expected closing `%`");
9294
9294
  if (re === "%" && V !== "%") throw new n("invalid intrinsic syntax, expected opening `%`");
@@ -9341,7 +9341,7 @@ function co() {
9341
9341
  }
9342
9342
  return vr = e, vr;
9343
9343
  }
9344
- function Wa() {
9344
+ function za() {
9345
9345
  if (Ni) return wr;
9346
9346
  Ni = !0;
9347
9347
  var a = Ht(), e = a("%Object.getOwnPropertyDescriptor%", !0);
@@ -9352,10 +9352,10 @@ function Wa() {
9352
9352
  }
9353
9353
  return wr = e, wr;
9354
9354
  }
9355
- function Su() {
9355
+ function Eu() {
9356
9356
  if (Ui) return _r;
9357
9357
  Ui = !0;
9358
- var a = co(), e = Ha(), t = rr(), r = Wa();
9358
+ var a = co(), e = Wa(), t = rr(), r = za();
9359
9359
  return _r = function(o, n, i) {
9360
9360
  if (!o || typeof o != "object" && typeof o != "function") throw new t("`obj` must be an object or a function`");
9361
9361
  if (typeof n != "string" && typeof n != "symbol") throw new t("`property` must be a string or a symbol`");
@@ -9369,7 +9369,7 @@ function Su() {
9369
9369
  else throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
9370
9370
  }, _r;
9371
9371
  }
9372
- function Eu() {
9372
+ function Au() {
9373
9373
  if (Bi) return kr;
9374
9374
  Bi = !0;
9375
9375
  var a = co(), e = function() {
@@ -9384,10 +9384,10 @@ function Eu() {
9384
9384
  }
9385
9385
  }, kr = e, kr;
9386
9386
  }
9387
- function Au() {
9387
+ function Iu() {
9388
9388
  if (Di) return xr;
9389
9389
  Di = !0;
9390
- var a = Ht(), e = Su(), t = Eu()(), r = Wa(), o = rr(), n = a("%Math.floor%");
9390
+ var a = Ht(), e = Eu(), t = Au()(), r = za(), o = rr(), n = a("%Math.floor%");
9391
9391
  return xr = function(i, s) {
9392
9392
  if (typeof i != "function") throw new o("`fn` is not a function");
9393
9393
  if (typeof s != "number" || s < 0 || s > 4294967295 || n(s) !== s) throw new o("`length` must be a positive 32-bit integer");
@@ -9399,10 +9399,10 @@ function Au() {
9399
9399
  return (c || u || !l) && (t ? e(i, "length", s, !0, !0) : e(i, "length", s)), i;
9400
9400
  }, xr;
9401
9401
  }
9402
- function Iu() {
9402
+ function Tu() {
9403
9403
  if (Fi) return Nt;
9404
9404
  Fi = !0;
9405
- var a = lo(), e = Ht(), t = Au(), r = rr(), o = e("%Function.prototype.apply%"), n = e("%Function.prototype.call%"), i = e("%Reflect.apply%", !0) || a.call(n, o), s = co(), l = e("%Math.max%");
9405
+ var a = lo(), e = Ht(), t = Iu(), r = rr(), o = e("%Function.prototype.apply%"), n = e("%Function.prototype.call%"), i = e("%Reflect.apply%", !0) || a.call(n, o), s = co(), l = e("%Math.max%");
9406
9406
  Nt = function(u) {
9407
9407
  if (typeof u != "function") throw new r("a function is required");
9408
9408
  var h = i(a, n, arguments);
@@ -9413,27 +9413,27 @@ function Iu() {
9413
9413
  };
9414
9414
  return s ? s(Nt, "apply", { value: c }) : Nt.apply = c, Nt;
9415
9415
  }
9416
- function Tu() {
9416
+ function Cu() {
9417
9417
  if ($i) return Sr;
9418
9418
  $i = !0;
9419
- var a = Ht(), e = Iu(), t = e(a("String.prototype.indexOf"));
9419
+ var a = Ht(), e = Tu(), t = e(a("String.prototype.indexOf"));
9420
9420
  return Sr = function(r, o) {
9421
9421
  var n = a(r, !!o);
9422
9422
  return typeof n == "function" && t(r, ".prototype.") > -1 ? e(n) : n;
9423
9423
  }, Sr;
9424
9424
  }
9425
- var fi, pi, mi, gi, bi, yi, vi, wi, _i, ki, xi, Si, Ei, Ai, Ii, Ti, fr, Ci, pr, Oi, mr, Pi, gr, Mi, br, Ri, yr, Li, vr, ji, wr, Ni, _r, Ui, kr, Bi, xr, Di, Nt, Fi, Sr, $i, Cu = Ve(() => {
9425
+ var fi, pi, mi, gi, bi, yi, vi, wi, _i, ki, xi, Si, Ei, Ai, Ii, Ti, fr, Ci, pr, Oi, mr, Pi, gr, Mi, br, Ri, yr, Li, vr, ji, wr, Ni, _r, Ui, kr, Bi, xr, Di, Nt, Fi, Sr, $i, Ou = Ve(() => {
9426
9426
  le(), ue(), ce(), fi = {}, pi = !1, mi = {}, gi = !1, bi = {}, yi = !1, vi = {}, wi = !1, _i = {}, ki = !1, xi = {}, Si = !1, Ei = {}, Ai = !1, Ii = {}, Ti = !1, fr = {}, Ci = !1, pr = {}, Oi = !1, mr = {}, Pi = !1, gr = {}, Mi = !1, br = {}, Ri = !1, yr = {}, Li = !1, vr = {}, ji = !1, wr = {}, Ni = !1, _r = {}, Ui = !1, kr = {}, Bi = !1, xr = {}, Di = !1, Nt = {}, Fi = !1, Sr = {}, $i = !1;
9427
9427
  });
9428
9428
  function uo(a) {
9429
9429
  throw new Error("Node.js process " + a + " is not supported by JSPM core outside of Node.js");
9430
9430
  }
9431
- function Ou() {
9432
- !Tt || !At || (Tt = !1, At.length ? it = At.concat(it) : Zt = -1, it.length && za());
9431
+ function Pu() {
9432
+ !Tt || !At || (Tt = !1, At.length ? it = At.concat(it) : Zt = -1, it.length && Va());
9433
9433
  }
9434
- function za() {
9434
+ function Va() {
9435
9435
  if (!Tt) {
9436
- var a = setTimeout(Ou, 0);
9436
+ var a = setTimeout(Pu, 0);
9437
9437
  Tt = !0;
9438
9438
  for (var e = it.length; e; ) {
9439
9439
  for (At = it, it = []; ++Zt < e; ) At && At[Zt].run();
@@ -9442,35 +9442,35 @@ function za() {
9442
9442
  At = null, Tt = !1, clearTimeout(a);
9443
9443
  }
9444
9444
  }
9445
- function Pu(a) {
9445
+ function Mu(a) {
9446
9446
  var e = new Array(arguments.length - 1);
9447
9447
  if (arguments.length > 1) for (var t = 1; t < arguments.length; t++) e[t - 1] = arguments[t];
9448
- it.push(new Va(a, e)), it.length === 1 && !Tt && setTimeout(za, 0);
9448
+ it.push(new Ga(a, e)), it.length === 1 && !Tt && setTimeout(Va, 0);
9449
9449
  }
9450
- function Va(a, e) {
9450
+ function Ga(a, e) {
9451
9451
  this.fun = a, this.array = e;
9452
9452
  }
9453
9453
  function $e() {
9454
9454
  }
9455
- function Mu(a) {
9455
+ function Ru(a) {
9456
9456
  uo("_linkedBinding");
9457
9457
  }
9458
- function Ru(a) {
9458
+ function Lu(a) {
9459
9459
  uo("dlopen");
9460
9460
  }
9461
- function Lu() {
9461
+ function ju() {
9462
9462
  return [];
9463
9463
  }
9464
- function ju() {
9464
+ function Nu() {
9465
9465
  return [];
9466
9466
  }
9467
- function Nu(a, e) {
9467
+ function Uu(a, e) {
9468
9468
  if (!a) throw new Error(e || "assertion error");
9469
9469
  }
9470
- function Uu() {
9470
+ function Bu() {
9471
9471
  return !1;
9472
9472
  }
9473
- function Bu() {
9473
+ function Du() {
9474
9474
  return ct.now() / 1e3;
9475
9475
  }
9476
9476
  function Gr(a) {
@@ -9480,11 +9480,11 @@ function Gr(a) {
9480
9480
  function gt() {
9481
9481
  return ho;
9482
9482
  }
9483
- function Du(a) {
9483
+ function Fu(a) {
9484
9484
  return [];
9485
9485
  }
9486
- var it, Tt, At, Zt, xo, So, Eo, Ao, Io, To, Co, Oo, Po, Mo, Ro, Lo, jo, No, Uo, Bo, Do, Fo, $o, qo, Ho, or, Wo, zo, Vo, Go, Ko, Yo, Qo, Jo, Xo, Zo, es, ts, rs, ns, is, os, ss, as, ls, cs, us, hs, ds, fs, ps, ct, Kr, Er, ms, gs, bs, ys, vs, ws, _s, ks, xs, Ss, Es, ho, Ga = Ve(() => {
9487
- le(), ue(), ce(), it = [], Tt = !1, Zt = -1, Va.prototype.run = function() {
9486
+ var it, Tt, At, Zt, xo, So, Eo, Ao, Io, To, Co, Oo, Po, Mo, Ro, Lo, jo, No, Uo, Bo, Do, Fo, $o, qo, Ho, or, Wo, zo, Vo, Go, Ko, Yo, Qo, Jo, Xo, Zo, es, ts, rs, ns, is, os, ss, as, ls, cs, us, hs, ds, fs, ps, ct, Kr, Er, ms, gs, bs, ys, vs, ws, _s, ks, xs, Ss, Es, ho, Ka = Ve(() => {
9487
+ le(), ue(), ce(), it = [], Tt = !1, Zt = -1, Ga.prototype.run = function() {
9488
9488
  this.fun.apply(null, this.array);
9489
9489
  }, xo = "browser", So = "x64", Eo = "browser", Ao = { PATH: "/usr/bin", LANG: navigator.language + ".UTF-8", PWD: "/", HOME: "/home", TMP: "/tmp" }, Io = ["/usr/bin/node"], To = [], Co = "v16.8.0", Oo = {}, Po = function(a, e) {
9490
9490
  console.warn((e ? e + ": " : "") + a);
@@ -9500,9 +9500,9 @@ var it, Tt, At, Zt, xo, So, Eo, Ao, Io, To, Co, Oo, Po, Mo, Ro, Lo, jo, No, Uo,
9500
9500
  }, Wo = or, zo = or, Vo = $e, Go = $e, Ko = $e, Yo = {}, Qo = { inspector: !1, debug: !1, uv: !1, ipv6: !1, tls_alpn: !1, tls_sni: !1, tls_ocsp: !1, tls: !1, cached_builtins: !0 }, Jo = $e, Xo = $e, Zo = $e, es = $e, ts = $e, rs = $e, ns = $e, is = void 0, os = void 0, ss = void 0, as = $e, ls = 2, cs = 1, us = "/bin/usr/node", hs = 9229, ds = "node", fs = [], ps = $e, ct = { now: typeof performance < "u" ? performance.now.bind(performance) : void 0, timing: typeof performance < "u" ? performance.timing : void 0 }, ct.now === void 0 && (Kr = Date.now(), ct.timing && ct.timing.navigationStart && (Kr = ct.timing.navigationStart), ct.now = () => Date.now() - Kr), Er = 1e9, Gr.bigint = function(a) {
9501
9501
  var e = Gr(a);
9502
9502
  return typeof BigInt > "u" ? e[0] * Er + e[1] : BigInt(e[0] * Er) + BigInt(e[1]);
9503
- }, ms = 10, gs = {}, bs = 0, ys = gt, vs = gt, ws = gt, _s = gt, ks = gt, xs = $e, Ss = gt, Es = gt, ho = { version: Co, versions: Oo, arch: So, platform: Eo, release: No, _rawDebug: Uo, moduleLoadList: Bo, binding: Mo, _linkedBinding: Mu, _events: gs, _eventsCount: bs, _maxListeners: ms, on: gt, addListener: ys, once: vs, off: ws, removeListener: _s, removeAllListeners: ks, emit: xs, prependListener: Ss, prependOnceListener: Es, listeners: Du, domain: Do, _exiting: Fo, config: $o, dlopen: Ru, uptime: Bu, _getActiveRequests: Lu, _getActiveHandles: ju, reallyExit: qo, _kill: Ho, cpuUsage: or, resourceUsage: Wo, memoryUsage: zo, kill: Vo, exit: Go, openStdin: Ko, allowedNodeEnvironmentFlags: Yo, assert: Nu, features: Qo, _fatalExceptions: Jo, setUncaughtExceptionCaptureCallback: Xo, hasUncaughtExceptionCaptureCallback: Uu, emitWarning: Po, nextTick: Pu, _tickCallback: Zo, _debugProcess: es, _debugEnd: ts, _startProfilerIdleNotifier: rs, _stopProfilerIdleNotifier: ns, stdout: is, stdin: ss, stderr: os, abort: as, umask: Ro, chdir: jo, cwd: Lo, env: Ao, title: xo, argv: Io, execArgv: To, pid: ls, ppid: cs, execPath: us, debugPort: hs, hrtime: Gr, argv0: ds, _preload_modules: fs, setSourceMapsEnabled: ps };
9503
+ }, ms = 10, gs = {}, bs = 0, ys = gt, vs = gt, ws = gt, _s = gt, ks = gt, xs = $e, Ss = gt, Es = gt, ho = { version: Co, versions: Oo, arch: So, platform: Eo, release: No, _rawDebug: Uo, moduleLoadList: Bo, binding: Mo, _linkedBinding: Ru, _events: gs, _eventsCount: bs, _maxListeners: ms, on: gt, addListener: ys, once: vs, off: ws, removeListener: _s, removeAllListeners: ks, emit: xs, prependListener: Ss, prependOnceListener: Es, listeners: Fu, domain: Do, _exiting: Fo, config: $o, dlopen: Lu, uptime: Du, _getActiveRequests: ju, _getActiveHandles: Nu, reallyExit: qo, _kill: Ho, cpuUsage: or, resourceUsage: Wo, memoryUsage: zo, kill: Vo, exit: Go, openStdin: Ko, allowedNodeEnvironmentFlags: Yo, assert: Uu, features: Qo, _fatalExceptions: Jo, setUncaughtExceptionCaptureCallback: Xo, hasUncaughtExceptionCaptureCallback: Bu, emitWarning: Po, nextTick: Mu, _tickCallback: Zo, _debugProcess: es, _debugEnd: ts, _startProfilerIdleNotifier: rs, _stopProfilerIdleNotifier: ns, stdout: is, stdin: ss, stderr: os, abort: as, umask: Ro, chdir: jo, cwd: Lo, env: Ao, title: xo, argv: Io, execArgv: To, pid: ls, ppid: cs, execPath: us, debugPort: hs, hrtime: Gr, argv0: ds, _preload_modules: fs, setSourceMapsEnabled: ps };
9504
9504
  });
9505
- function Fu() {
9505
+ function $u() {
9506
9506
  if (qi) return Ar;
9507
9507
  qi = !0;
9508
9508
  var a = ho;
@@ -9653,11 +9653,11 @@ function Fu() {
9653
9653
  }, sep: "/", delimiter: ":", win32: null, posix: null };
9654
9654
  return o.posix = o, Ar = o, Ar;
9655
9655
  }
9656
- var Ar, qi, Hi, $u = Ve(() => {
9657
- le(), ue(), ce(), Ga(), Ar = {}, qi = !1, Hi = Fu();
9658
- }), Ka = {};
9659
- Ft(Ka, { URL: () => il, Url: () => Za, default: () => qe, fileURLToPath: () => Qa, format: () => el, parse: () => nl, pathToFileURL: () => Ja, resolve: () => tl, resolveObject: () => rl });
9660
- function qu() {
9656
+ var Ar, qi, Hi, qu = Ve(() => {
9657
+ le(), ue(), ce(), Ka(), Ar = {}, qi = !1, Hi = $u();
9658
+ }), Ya = {};
9659
+ Ft(Ya, { URL: () => ol, Url: () => el, default: () => qe, fileURLToPath: () => Ja, format: () => tl, parse: () => il, pathToFileURL: () => Xa, resolve: () => rl, resolveObject: () => nl });
9660
+ function Hu() {
9661
9661
  if (Wi) return Ir;
9662
9662
  Wi = !0;
9663
9663
  var a = typeof Map == "function" && Map.prototype, e = Object.getOwnPropertyDescriptor && a ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, t = a && e && typeof e.get == "function" ? e.get : null, r = a && Map.prototype.forEach, o = typeof Set == "function" && Set.prototype, n = Object.getOwnPropertyDescriptor && o ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, i = o && n && typeof n.get == "function" ? n.get : null, s = o && Set.prototype.forEach, l = typeof WeakMap == "function" && WeakMap.prototype, c = l ? WeakMap.prototype.has : null, u = typeof WeakSet == "function" && WeakSet.prototype, h = u ? WeakSet.prototype.has : null, p = typeof WeakRef == "function" && WeakRef.prototype, b = p ? WeakRef.prototype.deref : null, f = Boolean.prototype.valueOf, g = Object.prototype.toString, y = Function.prototype.toString, w = String.prototype.match, m = String.prototype.slice, _ = String.prototype.replace, x = String.prototype.toUpperCase, v = String.prototype.toLowerCase, E = RegExp.prototype.test, S = Array.prototype.concat, I = Array.prototype.join, O = Array.prototype.slice, P = Math.floor, N = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, T = Object.getOwnPropertySymbols, q = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, D = typeof Symbol == "function" && typeof Symbol.iterator == "object", U = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === D || !0) ? Symbol.toStringTag : null, ae = Object.prototype.propertyIsEnumerable, Y = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(z) {
@@ -9675,7 +9675,7 @@ function qu() {
9675
9675
  }
9676
9676
  return _.call(ie, Ee, "$&_");
9677
9677
  }
9678
- var re = Xa, F = re.custom, Z = K(F) ? F : null;
9678
+ var re = Za, F = re.custom, Z = K(F) ? F : null;
9679
9679
  Ir = function z(ie, Ee, Ae, Ie) {
9680
9680
  var Ce = Ee || {};
9681
9681
  if (oe(Ce, "quoteStyle") && Ce.quoteStyle !== "single" && Ce.quoteStyle !== "double") throw new TypeError('option "quoteStyle" must be "single" or "double"');
@@ -9952,10 +9952,10 @@ function qu() {
9952
9952
  }
9953
9953
  return Ir;
9954
9954
  }
9955
- function Hu() {
9955
+ function Wu() {
9956
9956
  if (zi) return Cr;
9957
9957
  zi = !0;
9958
- var a = Ht(), e = Tu(), t = qu(), r = rr(), o = a("%WeakMap%", !0), n = a("%Map%", !0), i = e("WeakMap.prototype.get", !0), s = e("WeakMap.prototype.set", !0), l = e("WeakMap.prototype.has", !0), c = e("Map.prototype.get", !0), u = e("Map.prototype.set", !0), h = e("Map.prototype.has", !0), p = function(y, w) {
9958
+ var a = Ht(), e = Cu(), t = Hu(), r = rr(), o = a("%WeakMap%", !0), n = a("%Map%", !0), i = e("WeakMap.prototype.get", !0), s = e("WeakMap.prototype.set", !0), l = e("WeakMap.prototype.has", !0), c = e("Map.prototype.get", !0), u = e("Map.prototype.set", !0), h = e("Map.prototype.has", !0), p = function(y, w) {
9959
9959
  for (var m = y, _; (_ = m.next) !== null; m = _) if (_.key === w) return m.next = _.next, _.next = y.next, y.next = _, _;
9960
9960
  }, b = function(y, w) {
9961
9961
  var m = p(y, w);
@@ -9998,7 +9998,7 @@ function fo() {
9998
9998
  return String(r);
9999
9999
  } }, RFC1738: t.RFC1738, RFC3986: t.RFC3986 }, Or;
10000
10000
  }
10001
- function Ya() {
10001
+ function Qa() {
10002
10002
  if (Gi) return Pr;
10003
10003
  Gi = !0;
10004
10004
  var a = fo(), e = Object.prototype.hasOwnProperty, t = Array.isArray, r = (function() {
@@ -10097,10 +10097,10 @@ function Ya() {
10097
10097
  };
10098
10098
  return Pr = { arrayToObject: n, assign: s, combine: f, compact: h, decode: l, encode: u, isBuffer: b, isRegExp: p, maybeMap: g, merge: i }, Pr;
10099
10099
  }
10100
- function Wu() {
10100
+ function zu() {
10101
10101
  if (Ki) return Mr;
10102
10102
  Ki = !0;
10103
- var a = Hu(), e = Ya(), t = fo(), r = Object.prototype.hasOwnProperty, o = { brackets: function(g) {
10103
+ var a = Wu(), e = Qa(), t = fo(), r = Object.prototype.hasOwnProperty, o = { brackets: function(g) {
10104
10104
  return g + "[]";
10105
10105
  }, comma: "comma", indices: function(g, y) {
10106
10106
  return g + "[" + y + "]";
@@ -10189,10 +10189,10 @@ function Wu() {
10189
10189
  return m.charsetSentinel && (m.charset === "iso-8859-1" ? T += "utf8=%26%2310003%3B&" : T += "utf8=%E2%9C%93&"), N.length > 0 ? T + N : "";
10190
10190
  }, Mr;
10191
10191
  }
10192
- function zu() {
10192
+ function Vu() {
10193
10193
  if (Yi) return Rr;
10194
10194
  Yi = !0;
10195
- var a = Ya(), e = Object.prototype.hasOwnProperty, t = Array.isArray, r = { allowDots: !1, allowEmptyArrays: !1, allowPrototypes: !1, allowSparse: !1, arrayLimit: 20, charset: "utf-8", charsetSentinel: !1, comma: !1, decodeDotInKeys: !1, decoder: a.decode, delimiter: "&", depth: 5, duplicates: "combine", ignoreQueryPrefix: !1, interpretNumericEntities: !1, parameterLimit: 1e3, parseArrays: !0, plainObjects: !1, strictDepth: !1, strictNullHandling: !1 }, o = function(p) {
10195
+ var a = Qa(), e = Object.prototype.hasOwnProperty, t = Array.isArray, r = { allowDots: !1, allowEmptyArrays: !1, allowPrototypes: !1, allowSparse: !1, arrayLimit: 20, charset: "utf-8", charsetSentinel: !1, comma: !1, decodeDotInKeys: !1, decoder: a.decode, delimiter: "&", depth: 5, duplicates: "combine", ignoreQueryPrefix: !1, interpretNumericEntities: !1, parameterLimit: 1e3, parseArrays: !0, plainObjects: !1, strictDepth: !1, strictNullHandling: !1 }, o = function(p) {
10196
10196
  return p.replace(/&#(\d+);/g, function(b, f) {
10197
10197
  return String.fromCharCode(parseInt(f, 10));
10198
10198
  });
@@ -10262,13 +10262,13 @@ function zu() {
10262
10262
  return f.allowSparse === !0 ? y : a.compact(y);
10263
10263
  }, Rr;
10264
10264
  }
10265
- function Vu() {
10265
+ function Gu() {
10266
10266
  if (Qi) return Lr;
10267
10267
  Qi = !0;
10268
- var a = Wu(), e = zu(), t = fo();
10268
+ var a = zu(), e = Vu(), t = fo();
10269
10269
  return Lr = { formats: t, parse: e, stringify: a }, Lr;
10270
10270
  }
10271
- function Gu() {
10271
+ function Ku() {
10272
10272
  if (Ji) return vt;
10273
10273
  Ji = !0;
10274
10274
  var a = yt;
@@ -10276,7 +10276,7 @@ function Gu() {
10276
10276
  this.protocol = null, this.slashes = null, this.auth = null, this.host = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.query = null, this.pathname = null, this.path = null, this.href = null;
10277
10277
  }
10278
10278
  var t = /^([a-z0-9.+-]+:)/i, r = /:[0-9]*$/, o = /^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/, n = ["<", ">", '"', "`", " ", "\r", `
10279
- `, " "], i = ["{", "}", "|", "\\", "^", "`"].concat(n), s = ["'"].concat(i), l = ["%", "/", "?", ";", "#"].concat(s), c = ["/", "?", "#"], u = 255, h = /^[+a-z0-9A-Z_-]{0,63}$/, p = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, b = { javascript: !0, "javascript:": !0 }, f = { javascript: !0, "javascript:": !0 }, g = { http: !0, https: !0, ftp: !0, gopher: !0, file: !0, "http:": !0, "https:": !0, "ftp:": !0, "gopher:": !0, "file:": !0 }, y = Vu();
10279
+ `, " "], i = ["{", "}", "|", "\\", "^", "`"].concat(n), s = ["'"].concat(i), l = ["%", "/", "?", ";", "#"].concat(s), c = ["/", "?", "#"], u = 255, h = /^[+a-z0-9A-Z_-]{0,63}$/, p = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, b = { javascript: !0, "javascript:": !0 }, f = { javascript: !0, "javascript:": !0 }, g = { http: !0, https: !0, ftp: !0, gopher: !0, file: !0, "http:": !0, "https:": !0, "ftp:": !0, "gopher:": !0, "file:": !0 }, y = Gu();
10280
10280
  function w(v, E, S) {
10281
10281
  if (v && typeof v == "object" && v instanceof e) return v;
10282
10282
  var I = new e();
@@ -10429,26 +10429,26 @@ function Gu() {
10429
10429
  E && (E = E[0], E !== ":" && (this.port = E.substr(1)), v = v.substr(0, v.length - E.length)), v && (this.hostname = v);
10430
10430
  }, vt.parse = w, vt.resolve = _, vt.resolveObject = x, vt.format = m, vt.Url = e, vt;
10431
10431
  }
10432
- function Qa(a) {
10432
+ function Ja(a) {
10433
10433
  if (typeof a == "string") a = new URL(a);
10434
10434
  else if (!(a instanceof URL)) throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");
10435
10435
  if (a.protocol !== "file:") throw new Deno.errors.InvalidData("invalid url scheme");
10436
- return Ur ? Ku(a) : Yu(a);
10436
+ return Ur ? Yu(a) : Qu(a);
10437
10437
  }
10438
- function Ku(a) {
10438
+ function Yu(a) {
10439
10439
  let e = a.hostname, t = a.pathname;
10440
10440
  for (let r = 0; r < t.length; r++) if (t[r] === "%") {
10441
10441
  let o = t.codePointAt(r + 2) || 32;
10442
10442
  if (t[r + 1] === "2" && o === 102 || t[r + 1] === "5" && o === 99) throw new Deno.errors.InvalidData("must not include encoded \\ or / characters");
10443
10443
  }
10444
- if (t = t.replace(cl, "\\"), t = decodeURIComponent(t), e !== "") return `\\\\${e}${t}`;
10444
+ if (t = t.replace(ul, "\\"), t = decodeURIComponent(t), e !== "") return `\\\\${e}${t}`;
10445
10445
  {
10446
10446
  let r = t.codePointAt(1) | 32, o = t[2];
10447
- if (r < al || r > ll || o !== ":") throw new Deno.errors.InvalidData("file url path must be absolute");
10447
+ if (r < ll || r > cl || o !== ":") throw new Deno.errors.InvalidData("file url path must be absolute");
10448
10448
  return t.slice(1);
10449
10449
  }
10450
10450
  }
10451
- function Yu(a) {
10451
+ function Qu(a) {
10452
10452
  if (a.hostname !== "") throw new Deno.errors.InvalidData("invalid file url hostname");
10453
10453
  let e = a.pathname;
10454
10454
  for (let t = 0; t < e.length; t++) if (e[t] === "%") {
@@ -10457,16 +10457,16 @@ function Yu(a) {
10457
10457
  }
10458
10458
  return decodeURIComponent(e);
10459
10459
  }
10460
- function Ja(a) {
10460
+ function Xa(a) {
10461
10461
  let e = Hi.resolve(a), t = a.charCodeAt(a.length - 1);
10462
- (t === sl || Ur && t === ol) && e[e.length - 1] !== Hi.sep && (e += "/");
10462
+ (t === al || Ur && t === sl) && e[e.length - 1] !== Hi.sep && (e += "/");
10463
10463
  let r = new URL("file://");
10464
- return e.includes("%") && (e = e.replace(ul, "%25")), !Ur && e.includes("\\") && (e = e.replace(hl, "%5C")), e.includes(`
10465
- `) && (e = e.replace(dl, "%0A")), e.includes("\r") && (e = e.replace(fl, "%0D")), e.includes(" ") && (e = e.replace(pl, "%09")), r.pathname = e, r;
10464
+ return e.includes("%") && (e = e.replace(hl, "%25")), !Ur && e.includes("\\") && (e = e.replace(dl, "%5C")), e.includes(`
10465
+ `) && (e = e.replace(fl, "%0A")), e.includes("\r") && (e = e.replace(pl, "%0D")), e.includes(" ") && (e = e.replace(ml, "%09")), r.pathname = e, r;
10466
10466
  }
10467
- var Xa, Ir, Wi, Tr, Cr, zi, Or, Vi, Pr, Gi, Mr, Ki, Rr, Yi, Lr, Qi, vt, Ji, qe, As, Za, el, tl, rl, nl, il, ol, sl, al, ll, Ur, cl, ul, hl, dl, fl, pl, Qu = Ve(() => {
10468
- le(), ue(), ce(), fu(), Cu(), $u(), Ga(), Xa = Object.freeze(/* @__PURE__ */ Object.create(null)), Ir = {}, Wi = !1, Tr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : global, Cr = {}, zi = !1, Or = {}, Vi = !1, Pr = {}, Gi = !1, Mr = {}, Ki = !1, Rr = {}, Yi = !1, Lr = {}, Qi = !1, vt = {}, Ji = !1, qe = Gu(), qe.parse, qe.resolve, qe.resolveObject, qe.format, qe.Url, As = typeof Deno < "u" ? Deno.build.os === "windows" ? "win32" : Deno.build.os : void 0, qe.URL = typeof URL < "u" ? URL : null, qe.pathToFileURL = Ja, qe.fileURLToPath = Qa, Za = qe.Url, el = qe.format, tl = qe.resolve, rl = qe.resolveObject, nl = qe.parse, il = qe.URL, ol = 92, sl = 47, al = 97, ll = 122, Ur = As === "win32", cl = /\//g, ul = /%/g, hl = /\\/g, dl = /\n/g, fl = /\r/g, pl = /\t/g;
10469
- }), Ju = pe((a, e) => {
10467
+ var Za, Ir, Wi, Tr, Cr, zi, Or, Vi, Pr, Gi, Mr, Ki, Rr, Yi, Lr, Qi, vt, Ji, qe, As, el, tl, rl, nl, il, ol, sl, al, ll, cl, Ur, ul, hl, dl, fl, pl, ml, Ju = Ve(() => {
10468
+ le(), ue(), ce(), pu(), Ou(), qu(), Ka(), Za = Object.freeze(/* @__PURE__ */ Object.create(null)), Ir = {}, Wi = !1, Tr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : global, Cr = {}, zi = !1, Or = {}, Vi = !1, Pr = {}, Gi = !1, Mr = {}, Ki = !1, Rr = {}, Yi = !1, Lr = {}, Qi = !1, vt = {}, Ji = !1, qe = Ku(), qe.parse, qe.resolve, qe.resolveObject, qe.format, qe.Url, As = typeof Deno < "u" ? Deno.build.os === "windows" ? "win32" : Deno.build.os : void 0, qe.URL = typeof URL < "u" ? URL : null, qe.pathToFileURL = Xa, qe.fileURLToPath = Ja, el = qe.Url, tl = qe.format, rl = qe.resolve, nl = qe.resolveObject, il = qe.parse, ol = qe.URL, sl = 92, al = 47, ll = 97, cl = 122, Ur = As === "win32", ul = /\//g, hl = /%/g, dl = /\\/g, fl = /\n/g, pl = /\r/g, ml = /\t/g;
10469
+ }), Xu = pe((a, e) => {
10470
10470
  le(), ue(), ce(), e.exports = function() {
10471
10471
  throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object");
10472
10472
  };
@@ -10520,7 +10520,7 @@ var Xa, Ir, Wi, Tr, Cr, zi, Or, Vi, Pr, Gi, Mr, Ki, Rr, Yi, Lr, Qi, vt, Ji, qe,
10520
10520
  return w && w.__esModule ? w : { default: w };
10521
10521
  };
10522
10522
  Object.defineProperty(a, "__esModule", { value: !0 }), a.streamBuilder = a.browserStreamBuilder = void 0;
10523
- var t = (Be(), Pe(Ue)), r = e(Ju()), o = e(ht()), n = Pt(), i = e(Wr()), s = po(), l = (0, o.default)("mqttjs:ws"), c = ["rejectUnauthorized", "ca", "cert", "key", "pfx", "passphrase"];
10523
+ var t = (Be(), Pe(Ue)), r = e(Xu()), o = e(ht()), n = Pt(), i = e(Wr()), s = po(), l = (0, o.default)("mqttjs:ws"), c = ["rejectUnauthorized", "ca", "cert", "key", "pfx", "passphrase"];
10524
10524
  function u(w, m) {
10525
10525
  let _ = `${w.protocol}://${w.hostname}:${w.port}${w.path}`;
10526
10526
  return typeof w.transformWsUrl == "function" && (_ = w.transformWsUrl(_, w, m)), _;
@@ -10609,13 +10609,13 @@ var Xa, Ir, Wi, Tr, Cr, zi, Or, Vi, Pr, Gi, Mr, Ki, Rr, Yi, Lr, Qi, vt, Ji, qe,
10609
10609
  };
10610
10610
  a.browserStreamBuilder = y;
10611
10611
  }), mo = {};
10612
- Ft(mo, { Server: () => Le, Socket: () => Le, Stream: () => Le, _createServerHandle: () => Le, _normalizeArgs: () => Le, _setSimultaneousAccepts: () => Le, connect: () => Le, createConnection: () => Le, createServer: () => Le, default: () => ml, isIP: () => Le, isIPv4: () => Le, isIPv6: () => Le });
10612
+ Ft(mo, { Server: () => Le, Socket: () => Le, Stream: () => Le, _createServerHandle: () => Le, _normalizeArgs: () => Le, _setSimultaneousAccepts: () => Le, connect: () => Le, createConnection: () => Le, createServer: () => Le, default: () => gl, isIP: () => Le, isIPv4: () => Le, isIPv6: () => Le });
10613
10613
  function Le() {
10614
10614
  throw new Error("Node.js net module is not supported by JSPM core outside of Node.js");
10615
10615
  }
10616
- var ml, gl = Ve(() => {
10617
- le(), ue(), ce(), ml = { _createServerHandle: Le, _normalizeArgs: Le, _setSimultaneousAccepts: Le, connect: Le, createConnection: Le, createServer: Le, isIP: Le, isIPv4: Le, isIPv6: Le, Server: Le, Socket: Le, Stream: Le };
10618
- }), bl = pe((a, e) => {
10616
+ var gl, bl = Ve(() => {
10617
+ le(), ue(), ce(), gl = { _createServerHandle: Le, _normalizeArgs: Le, _setSimultaneousAccepts: Le, connect: Le, createConnection: Le, createServer: Le, isIP: Le, isIPv4: Le, isIPv6: Le, Server: Le, Socket: Le, Stream: Le };
10618
+ }), yl = pe((a, e) => {
10619
10619
  le(), ue(), ce(), e.exports = {};
10620
10620
  }), Is = pe((a) => {
10621
10621
  le(), ue(), ce();
@@ -10623,23 +10623,23 @@ var ml, gl = Ve(() => {
10623
10623
  return s && s.__esModule ? s : { default: s };
10624
10624
  };
10625
10625
  Object.defineProperty(a, "__esModule", { value: !0 });
10626
- var t = e((gl(), Pe(mo))), r = e(ht()), o = e(bl()), n = (0, r.default)("mqttjs:tcp"), i = (s, l) => {
10626
+ var t = e((bl(), Pe(mo))), r = e(ht()), o = e(yl()), n = (0, r.default)("mqttjs:tcp"), i = (s, l) => {
10627
10627
  if (l.port = l.port || 1883, l.hostname = l.hostname || l.host || "localhost", l.socksProxy) return (0, o.default)(l.hostname, l.port, l.socksProxy, { timeout: l.socksTimeout });
10628
10628
  let { port: c, path: u } = l, h = l.hostname;
10629
10629
  return n("port %d and host %s", c, h), t.default.createConnection({ port: c, host: h, path: u });
10630
10630
  };
10631
10631
  a.default = i;
10632
- }), yl = {};
10633
- Ft(yl, { default: () => vl });
10634
- var vl, Xu = Ve(() => {
10635
- le(), ue(), ce(), vl = {};
10632
+ }), vl = {};
10633
+ Ft(vl, { default: () => wl });
10634
+ var wl, Zu = Ve(() => {
10635
+ le(), ue(), ce(), wl = {};
10636
10636
  }), Ts = pe((a) => {
10637
10637
  le(), ue(), ce();
10638
10638
  var e = a && a.__importDefault || function(c) {
10639
10639
  return c && c.__esModule ? c : { default: c };
10640
10640
  };
10641
10641
  Object.defineProperty(a, "__esModule", { value: !0 });
10642
- var t = (Xu(), Pe(yl)), r = e((gl(), Pe(mo))), o = e(ht()), n = e(bl()), i = (0, o.default)("mqttjs:tls");
10642
+ var t = (Zu(), Pe(vl)), r = e((bl(), Pe(mo))), o = e(ht()), n = e(yl()), i = (0, o.default)("mqttjs:tls");
10643
10643
  function s(c) {
10644
10644
  let { host: u, port: h, socksProxy: p, ...b } = c;
10645
10645
  if (p !== void 0) {
@@ -10770,13 +10770,13 @@ var vl, Xu = Ve(() => {
10770
10770
  return o = f.my, o.connectSocket({ url: y, protocols: g }), n = l(), i = new r.BufferedDuplex(f, n, o), h(), i;
10771
10771
  };
10772
10772
  a.default = p;
10773
- }), Zu = pe((a) => {
10773
+ }), eh = pe((a) => {
10774
10774
  le(), ue(), ce();
10775
10775
  var e = a && a.__importDefault || function(h) {
10776
10776
  return h && h.__esModule ? h : { default: h };
10777
10777
  };
10778
10778
  Object.defineProperty(a, "__esModule", { value: !0 }), a.connectAsync = u;
10779
- var t = e(ht()), r = e((Qu(), Pe(Ka))), o = e(ui()), n = e(Wr());
10779
+ var t = e(ht()), r = e((Ju(), Pe(Ya))), o = e(ui()), n = e(Wr());
10780
10780
  typeof Re?.nextTick != "function" && (Re.nextTick = setImmediate);
10781
10781
  var i = (0, t.default)("mqttjs"), s = null;
10782
10782
  function l(h) {
@@ -10882,23 +10882,23 @@ var vl, Xu = Ve(() => {
10882
10882
  Object.defineProperty(a, "__esModule", { value: !0 }), a.ReasonCodes = a.KeepaliveManager = a.UniqueMessageIdProvider = a.DefaultMessageIdProvider = a.Store = a.MqttClient = a.connectAsync = a.connect = a.Client = void 0;
10883
10883
  var i = n(ui());
10884
10884
  a.MqttClient = i.default;
10885
- var s = n(ja());
10885
+ var s = n(Na());
10886
10886
  a.DefaultMessageIdProvider = s.default;
10887
- var l = n(hu());
10887
+ var l = n(du());
10888
10888
  a.UniqueMessageIdProvider = l.default;
10889
- var c = n(ya());
10889
+ var c = n(va());
10890
10890
  a.Store = c.default;
10891
- var u = r(Zu());
10891
+ var u = r(eh());
10892
10892
  a.connect = u.default, Object.defineProperty(a, "connectAsync", { enumerable: !0, get: function() {
10893
10893
  return u.connectAsync;
10894
10894
  } });
10895
- var h = n(qa());
10896
- a.KeepaliveManager = h.default, a.Client = i.default, o(ui(), a), o(qt(), a), o(ba(), a);
10895
+ var h = n(Ha());
10896
+ a.KeepaliveManager = h.default, a.Client = i.default, o(ui(), a), o(qt(), a), o(ya(), a);
10897
10897
  var p = qr();
10898
10898
  Object.defineProperty(a, "ReasonCodes", { enumerable: !0, get: function() {
10899
10899
  return p.ReasonCodes;
10900
10900
  } });
10901
- }), eh = pe((a) => {
10901
+ }), th = pe((a) => {
10902
10902
  le(), ue(), ce();
10903
10903
  var e = a && a.__createBinding || (Object.create ? function(i, s, l, c) {
10904
10904
  c === void 0 && (c = l);
@@ -10933,25 +10933,25 @@ var vl, Xu = Ve(() => {
10933
10933
  var n = r(Ps());
10934
10934
  a.default = n, o(Ps(), a);
10935
10935
  });
10936
- const th = eh();
10937
- const rh = {
10936
+ const rh = th();
10937
+ const nh = {
10938
10938
  inbound: "apps/{appId}/users/{userId}/messages/{conversationId}/clientadded",
10939
10939
  inboundUpdate: "apps/{appId}/users/{userId}/messages/{conversationId}/{messageId}/update",
10940
10940
  outbound: "apps/{appId}/outgoing/users/{userId}/messages/{conversationId}/outgoing",
10941
10941
  presence: "apps/{appId}/users/{userId}/presence/{clientId}",
10942
10942
  wildcardSubscribe: "apps/{appId}/users/{userId}/#"
10943
- }, nh = 300, ih = {
10943
+ }, ih = 300, oh = {
10944
10944
  templateId: "7",
10945
10945
  type: "link",
10946
10946
  isDeepLink: !0
10947
- }, oh = {
10947
+ }, sh = {
10948
10948
  channelType: "group",
10949
10949
  channel: "chat21",
10950
10950
  requestChannel: "chat21",
10951
10951
  platform: "WEBSITE",
10952
10952
  medium: "CHATBUDDY"
10953
10953
  };
10954
- class sh {
10954
+ class ah {
10955
10955
  client = null;
10956
10956
  config;
10957
10957
  currentToken;
@@ -10978,7 +10978,7 @@ class sh {
10978
10978
  inboundRegex;
10979
10979
  inboundUpdateRegex;
10980
10980
  constructor(e) {
10981
- this.config = e, this.currentToken = e.jwtToken, this.appId = e.appId ?? "tilechat", this.clientId = e.clientId ?? this.freshClientId(), this.topics = { ...rh, ...e.topicTemplates ?? {} }, this.maxReconnectAttempts = e.maxReconnectAttempts ?? 1 / 0, this.reconnectMaxDelayMs = e.reconnectMaxDelayMs ?? 3e4, this.inboundRegex = this.buildTopicRegex(
10981
+ this.config = e, this.currentToken = e.jwtToken, this.appId = e.appId ?? "tilechat", this.clientId = e.clientId ?? this.freshClientId(), this.topics = { ...nh, ...e.topicTemplates ?? {} }, this.maxReconnectAttempts = e.maxReconnectAttempts ?? 1 / 0, this.reconnectMaxDelayMs = e.reconnectMaxDelayMs ?? 3e4, this.inboundRegex = this.buildTopicRegex(
10982
10982
  this.topics.inbound,
10983
10983
  ["conversationId"]
10984
10984
  ), this.inboundUpdateRegex = this.buildTopicRegex(
@@ -11030,7 +11030,7 @@ class sh {
11030
11030
  () => c("connect-timeout"),
11031
11031
  r + 500
11032
11032
  );
11033
- this.client = th.connect(this.config.mqttEndpoint, o), this.client.on("connect", () => {
11033
+ this.client = rh.connect(this.config.mqttEndpoint, o), this.client.on("connect", () => {
11034
11034
  if (this.connectedAt = Date.now(), s || l(() => n()), this.debugLog("CONNECT", { endpoint: this.config.mqttEndpoint, clientId: this.clientId }), this.notifyStateChange(!0), this.config.enablePresence !== !1) {
11035
11035
  const h = this.config.presencePayloadConnected ?? { connected: !0 };
11036
11036
  this.client.publish(e, JSON.stringify(h), { qos: 0, retain: !1 }), this.debugLog("PUBLISH", { topic: e, payload: h });
@@ -11095,9 +11095,9 @@ class sh {
11095
11095
  publishFileMessage(e, t) {
11096
11096
  if (!this.client) return;
11097
11097
  const r = {
11098
- ...ih,
11098
+ ...oh,
11099
11099
  ...this.config.fileTemplate ?? {},
11100
- ...ah(t)
11100
+ ...lh(t)
11101
11101
  }, o = {
11102
11102
  metadata: {
11103
11103
  contentType: "300",
@@ -11136,7 +11136,7 @@ class sh {
11136
11136
  * Send a read receipt for a message. Tiledesk widgets publish
11137
11137
  * `{"status":300}` to apps/{appId}/users/{userId}/messages/{convId}/{msgId}/update.
11138
11138
  */
11139
- publishReadReceipt(e, t, r = nh) {
11139
+ publishReadReceipt(e, t, r = ih) {
11140
11140
  if (!this.client) return;
11141
11141
  const o = this.renderTemplate(this.topics.inboundUpdate, { conversationId: e, messageId: t });
11142
11142
  this.client.publish(o, JSON.stringify({ status: r }), {
@@ -11267,7 +11267,7 @@ class sh {
11267
11267
  this.messageHandlers.forEach((c) => c(o, l));
11268
11268
  }
11269
11269
  buildOutgoingEnvelope(e, t) {
11270
- const r = { ...oh, ...this.config.messageDefaults ?? {} }, o = this.config.senderFullname ?? this.config.userName ?? this.config.userId, n = this.config.recipientFullnameResolver?.(e), i = {
11270
+ const r = { ...sh, ...this.config.messageDefaults ?? {} }, o = this.config.senderFullname ?? this.config.userName ?? this.config.userId, n = this.config.recipientFullnameResolver?.(e), i = {
11271
11271
  projectId: this.config.projectId,
11272
11272
  ...r.departmentId ? { departmentId: r.departmentId } : {},
11273
11273
  ...this.config.userName ? { userFullname: this.config.userName } : {},
@@ -11341,20 +11341,20 @@ class sh {
11341
11341
  return new RegExp(`^${r}$`);
11342
11342
  }
11343
11343
  }
11344
- function ah(a) {
11344
+ function lh(a) {
11345
11345
  const e = {};
11346
11346
  for (const [t, r] of Object.entries(a))
11347
11347
  r !== void 0 && (e[t] = r);
11348
11348
  return e;
11349
11349
  }
11350
- function lh(a, e) {
11350
+ function ch(a, e) {
11351
11351
  return (a.sender ?? "").toString() === e;
11352
11352
  }
11353
- function ch(a, e) {
11353
+ function uh(a, e) {
11354
11354
  const t = (a.sender ?? "").toString(), r = e.systemSenders ?? ["metadata", "system"], o = e.botSenderPrefix ?? "bot_";
11355
11355
  return t ? t === e.userId ? "user" : t.startsWith(o) ? "assistant" : r.includes(t) ? "system" : "agent" : "system";
11356
11356
  }
11357
- function wl(a) {
11357
+ function _l(a) {
11358
11358
  const e = { raw: a }, t = a.metadata;
11359
11359
  if (t && typeof t == "object" && (typeof t.contentType == "string" && (e.contentType = t.contentType), typeof t.templateId == "string" && (e.templateId = t.templateId), t.payload !== void 0 && (e.payload = t.payload)), typeof a.text == "string" && a.text.trim().startsWith("{"))
11360
11360
  try {
@@ -11371,8 +11371,8 @@ function wl(a) {
11371
11371
  }
11372
11372
  return e;
11373
11373
  }
11374
- function uh(a) {
11375
- const e = wl(a);
11374
+ function hh(a) {
11375
+ const e = _l(a);
11376
11376
  if (e.contentType !== "300") return null;
11377
11377
  const t = e.payload, r = t && Array.isArray(t.elements) ? t.elements : null;
11378
11378
  if (!r || r.length === 0) return null;
@@ -11385,10 +11385,10 @@ function uh(a) {
11385
11385
  };
11386
11386
  }
11387
11387
  function Ms(a, e, t) {
11388
- const r = ch(a, t), o = wl(a), n = uh(a);
11388
+ const r = uh(a, t), o = _l(a), n = hh(a);
11389
11389
  let i = "";
11390
11390
  o.innerMessage ? i = o.innerMessage : typeof a.text == "string" && (a.text.trim().startsWith("{") ? o.contentType !== "300" && (i = a.text) : i = a.text);
11391
- const s = typeof a.message_id == "string" ? a.message_id : `td_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`, l = typeof a.timestamp == "number" ? new Date(a.timestamp).toISOString() : (/* @__PURE__ */ new Date()).toISOString(), c = r === "assistant" ? "assistant" : r === "agent" ? "agent" : r === "system" ? "system" : "user", u = typeof a.status == "number" ? hh(a.status) : "delivered", h = {
11391
+ const s = typeof a.message_id == "string" ? a.message_id : `td_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`, l = typeof a.timestamp == "number" ? new Date(a.timestamp).toISOString() : (/* @__PURE__ */ new Date()).toISOString(), c = r === "assistant" ? "assistant" : r === "agent" ? "agent" : r === "system" ? "system" : "user", u = typeof a.status == "number" ? dh(a.status) : "delivered", h = {
11392
11392
  id: s,
11393
11393
  externalId: s,
11394
11394
  conversationId: e,
@@ -11415,10 +11415,10 @@ function Ms(a, e, t) {
11415
11415
  }
11416
11416
  ]), { message: h, template: o };
11417
11417
  }
11418
- function hh(a) {
11418
+ function dh(a) {
11419
11419
  return a < 0 ? "error" : a >= 250 ? "read" : a >= 150 ? "delivered" : "sent";
11420
11420
  }
11421
- class dh extends $s {
11421
+ class fh extends qs {
11422
11422
  connection = null;
11423
11423
  tiledesk = null;
11424
11424
  api;
@@ -11431,7 +11431,7 @@ class dh extends $s {
11431
11431
  historyAdapter;
11432
11432
  tiledeskUnsubs = [];
11433
11433
  constructor(e, t) {
11434
- super(), this.config = e, this.mode = e.transport ?? "aikaara", this.uploadAdapter = t?.uploadAdapter ?? null, this.historyAdapter = t?.historyAdapter ?? null, this.api = new zl(e.baseUrl, e.userToken, e.apiKey, e.authToken), this.messageStore = new Vl(), this.conversationManager = new Gl(e.conversationId), this.usesAikaara() && (this.connection = new Wl(e), this.connection.on("connection:state", (r) => {
11434
+ super(), this.config = e, this.mode = e.transport ?? "aikaara", this.uploadAdapter = t?.uploadAdapter ?? null, this.historyAdapter = t?.historyAdapter ?? null, this.api = new Vl(e.baseUrl, e.userToken, e.apiKey, e.authToken), this.messageStore = new Gl(), this.conversationManager = new Kl(e.conversationId), this.usesAikaara() && (this.connection = new zl(e), this.connection.on("connection:state", (r) => {
11435
11435
  this.emit("connection:state", r), this.config.onConnectionStateChange?.(r);
11436
11436
  }), this.connection.on("error", (r) => {
11437
11437
  this.emit("error", r), this.config.onError?.(r);
@@ -11449,7 +11449,7 @@ class dh extends $s {
11449
11449
  throw new Error("AikaaraChatClient: tiledesk transport requires `config.tiledesk` (TiledeskTransportConfig)");
11450
11450
  if (!t?.userId)
11451
11451
  throw new Error("AikaaraChatClient: tiledesk transport requires `config.tiledeskIdentity.userId`");
11452
- this.tiledesk = new sh({
11452
+ this.tiledesk = new ah({
11453
11453
  ...e,
11454
11454
  userId: t.userId,
11455
11455
  userName: t.userName ?? e.userName,
@@ -11644,7 +11644,7 @@ class dh extends $s {
11644
11644
  systemSenders: this.config.tiledesk?.messageDefaults?.attributes?.systemSenders
11645
11645
  });
11646
11646
  if (this.mode === "dual" && n.role === "assistant") return;
11647
- if (lh(e, o)) {
11647
+ if (ch(e, o)) {
11648
11648
  const c = this.messageStore.reconcileOptimistic(n);
11649
11649
  if (c) {
11650
11650
  this.emit("message:updated", c);
@@ -11782,12 +11782,12 @@ const Rs = {
11782
11782
  doc: "application/msword",
11783
11783
  json: "application/json"
11784
11784
  };
11785
- function fh(a) {
11785
+ function ph(a) {
11786
11786
  const e = a.lastIndexOf(".");
11787
11787
  return e < 0 || e === a.length - 1 ? "" : a.slice(e + 1).toLowerCase();
11788
11788
  }
11789
- function ph(a, e, t) {
11790
- const r = fh(a.name || "");
11789
+ function mh(a, e, t) {
11790
+ const r = ph(a.name || "");
11791
11791
  if (r && e && e[r]) return e[r];
11792
11792
  const o = a.type;
11793
11793
  return o && o.trim().length > 0 ? o : r && Rs[r] ? Rs[r] : t;
@@ -11795,7 +11795,7 @@ function ph(a, e, t) {
11795
11795
  function Yr(a, e) {
11796
11796
  return a.replace(/\{(\w+)\}/g, (t, r) => e[r] ?? "");
11797
11797
  }
11798
- function mh(a, e) {
11798
+ function gh(a, e) {
11799
11799
  const t = e.split(".");
11800
11800
  let r = a;
11801
11801
  for (const o of t)
@@ -11804,11 +11804,11 @@ function mh(a, e) {
11804
11804
  else return "";
11805
11805
  return typeof r == "string" ? r : "";
11806
11806
  }
11807
- function gh(a) {
11807
+ function bh(a) {
11808
11808
  const e = a.signedUrlPath ?? "data.s3SignedUrl";
11809
11809
  return {
11810
11810
  async upload(t, r) {
11811
- const o = t.name || `upload-${Date.now()}`, n = ph(
11811
+ const o = t.name || `upload-${Date.now()}`, n = mh(
11812
11812
  t,
11813
11813
  a.contentTypeMap,
11814
11814
  a.contentTypeFallback ?? "application/octet-stream"
@@ -11834,7 +11834,7 @@ function gh(a) {
11834
11834
  });
11835
11835
  if (!h.ok)
11836
11836
  throw new Error(`Sign request failed: ${h.status}`);
11837
- const p = await h.json().catch(() => ({})), b = mh(p, e);
11837
+ const p = await h.json().catch(() => ({})), b = gh(p, e);
11838
11838
  if (!b) throw new Error(`Sign response missing path "${e}"`);
11839
11839
  const f = a.s3HostRewrite ? b.replace(/^https:\/\/[^/]+/i, a.s3HostRewrite) : b, g = await fetch(f, {
11840
11840
  method: "PUT",
@@ -11868,7 +11868,7 @@ function gh(a) {
11868
11868
  }
11869
11869
  };
11870
11870
  }
11871
- function _l(a) {
11871
+ function kl(a) {
11872
11872
  return {
11873
11873
  async upload(e, t) {
11874
11874
  const r = new FormData(), o = a.fieldName ?? "file";
@@ -11901,9 +11901,9 @@ function _l(a) {
11901
11901
  }
11902
11902
  };
11903
11903
  }
11904
- const bh = "/tilechat/{userId}/conversations/{conversationId}/messages?pageSize={pageSize}";
11905
- function yh(a) {
11906
- const e = a.apiBase.replace(/\/$/, ""), t = a.pageSize ?? 200, r = a.pathTemplate ?? bh;
11904
+ const yh = "/tilechat/{userId}/conversations/{conversationId}/messages?pageSize={pageSize}";
11905
+ function vh(a) {
11906
+ const e = a.apiBase.replace(/\/$/, ""), t = a.pageSize ?? 200, r = a.pathTemplate ?? yh;
11907
11907
  return {
11908
11908
  async fetchMessages(o, n) {
11909
11909
  const i = r.replace("{userId}", encodeURIComponent(n.userId)).replace("{conversationId}", encodeURIComponent(o)).replace("{appId}", encodeURIComponent(n.appId ?? "tilechat")).replace("{projectId}", encodeURIComponent(n.projectId ?? "")).replace("{pageSize}", String(t)), s = i.startsWith("http") ? i : `${e}${i.startsWith("/") ? i : `/${i}`}`, l = {
@@ -11927,7 +11927,7 @@ function yh(a) {
11927
11927
  }
11928
11928
  };
11929
11929
  }
11930
- const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-Z]{4}0[A-Z0-9]{6}$", kl = "^[0-9]{6}$", kh = {
11930
+ const wh = "^[A-Z]{5}[0-9]{4}[A-Z]$", _h = "^[A-Z]{4}[0-9]{5}[A-Z]$", kh = "^[A-Z]{4}0[A-Z0-9]{6}$", xl = "^[0-9]{6}$", xh = {
11931
11931
  id: "house-property",
11932
11932
  title: "House Property",
11933
11933
  icon: "🏠",
@@ -11966,7 +11966,7 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
11966
11966
  title: "Property Address",
11967
11967
  fields: [
11968
11968
  { id: "housePropertyAddress", type: "text", label: "Address" },
11969
- { id: "housePropertyPincode", type: "text", label: "Pincode", maxLength: 6, pattern: kl }
11969
+ { id: "housePropertyPincode", type: "text", label: "Pincode", maxLength: 6, pattern: xl }
11970
11970
  ]
11971
11971
  },
11972
11972
  {
@@ -11988,13 +11988,13 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
11988
11988
  showWhen: { field: "hasCoOwnedProperty", equals: !0 },
11989
11989
  fields: [
11990
11990
  { id: "coOwnerName", type: "text", label: "Co-Owner Name", required: !0 },
11991
- { id: "coOwnerPan", type: "text", label: "Co-Owner PAN", required: !0, pattern: vh, maxLength: 10 },
11991
+ { id: "coOwnerPan", type: "text", label: "Co-Owner PAN", required: !0, pattern: wh, maxLength: 10 },
11992
11992
  { id: "coOwnerShare", type: "text", label: "Co-Owner Share (%)", placeholder: "e.g. 50", maxLength: 5 }
11993
11993
  ]
11994
11994
  }
11995
11995
  ],
11996
11996
  submitLabel: "Save"
11997
- }, xh = {
11997
+ }, Sh = {
11998
11998
  id: "salary-hra",
11999
11999
  title: "Salary / HRA / Allowances",
12000
12000
  icon: "💰",
@@ -12013,7 +12013,7 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12013
12013
  type: "text",
12014
12014
  label: "TAN (Tax Deduction Account Number)",
12015
12015
  required: !0,
12016
- pattern: wh,
12016
+ pattern: _h,
12017
12017
  maxLength: 10
12018
12018
  }
12019
12019
  ]
@@ -12033,7 +12033,7 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12033
12033
  }
12034
12034
  ],
12035
12035
  submitLabel: "Save"
12036
- }, Sh = {
12036
+ }, Eh = {
12037
12037
  id: "deductions",
12038
12038
  title: "Deductions",
12039
12039
  icon: "📋",
@@ -12068,7 +12068,7 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12068
12068
  }
12069
12069
  ],
12070
12070
  submitLabel: "Save"
12071
- }, Eh = {
12071
+ }, Ah = {
12072
12072
  id: "other-sources",
12073
12073
  title: "Income from Other Sources",
12074
12074
  icon: "💵",
@@ -12093,7 +12093,7 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12093
12093
  }
12094
12094
  ],
12095
12095
  submitLabel: "Save"
12096
- }, Ah = {
12096
+ }, Ih = {
12097
12097
  id: "capital-gains",
12098
12098
  title: "Capital Gains",
12099
12099
  icon: "📈",
@@ -12122,7 +12122,7 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12122
12122
  }
12123
12123
  ],
12124
12124
  submitLabel: "Save"
12125
- }, Ih = {
12125
+ }, Th = {
12126
12126
  id: "crypto-income",
12127
12127
  title: "Crypto Income",
12128
12128
  icon: "🪙",
@@ -12139,7 +12139,7 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12139
12139
  }
12140
12140
  ],
12141
12141
  submitLabel: "Save"
12142
- }, Th = {
12142
+ }, Ch = {
12143
12143
  id: "business-profession",
12144
12144
  title: "Business / Profession",
12145
12145
  icon: "💼",
@@ -12157,7 +12157,7 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12157
12157
  }
12158
12158
  ],
12159
12159
  submitLabel: "Save"
12160
- }, Ch = {
12160
+ }, Oh = {
12161
12161
  id: "agricultural-income",
12162
12162
  title: "Agricultural Income",
12163
12163
  icon: "🌾",
@@ -12166,7 +12166,7 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12166
12166
  { id: "agricultureIncomeGt5Lakh", type: "yes-no", label: "Is agricultural income above ₹5,00,000?" }
12167
12167
  ],
12168
12168
  submitLabel: "Save"
12169
- }, Oh = {
12169
+ }, Ph = {
12170
12170
  id: "exempt-income",
12171
12171
  title: "Other Exempt Income",
12172
12172
  icon: "🧾",
@@ -12175,7 +12175,7 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12175
12175
  { id: "exemptIncomeNature", type: "text", label: "Nature of Exempt Income", placeholder: "e.g. PPF interest, gratuity" }
12176
12176
  ],
12177
12177
  submitLabel: "Save"
12178
- }, Ph = {
12178
+ }, Mh = {
12179
12179
  id: "tax-paid-tds",
12180
12180
  title: "Tax Paid / TDS",
12181
12181
  icon: "🧮",
@@ -12199,7 +12199,7 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12199
12199
  }
12200
12200
  ],
12201
12201
  submitLabel: "Save"
12202
- }, Mh = {
12202
+ }, Rh = {
12203
12203
  id: "bank-details",
12204
12204
  title: "Personal / Bank Details",
12205
12205
  icon: "🏦",
@@ -12210,7 +12210,7 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12210
12210
  title: "Bank Account (for refund)",
12211
12211
  fields: [
12212
12212
  { id: "bankAccountNumber", type: "text", label: "Bank Account Number", required: !0 },
12213
- { id: "bankIfscCode", type: "text", label: "IFSC Code", required: !0, pattern: _h, maxLength: 11 }
12213
+ { id: "bankIfscCode", type: "text", label: "IFSC Code", required: !0, pattern: kh, maxLength: 11 }
12214
12214
  ]
12215
12215
  },
12216
12216
  {
@@ -12222,13 +12222,13 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12222
12222
  { id: "immovableAssetDescription", type: "text", label: "Description" },
12223
12223
  { id: "immovableAssetFlatNo", type: "text", label: "Flat / House No." },
12224
12224
  { id: "immovableAssetArea", type: "text", label: "Area / Locality" },
12225
- { id: "immovableAssetPincode", type: "text", label: "Pincode", maxLength: 6, pattern: kl },
12225
+ { id: "immovableAssetPincode", type: "text", label: "Pincode", maxLength: 6, pattern: xl },
12226
12226
  { id: "immovableAssetCost", type: "number", label: "Cost of Asset", currency: "₹", min: 0 }
12227
12227
  ]
12228
12228
  }
12229
12229
  ],
12230
12230
  submitLabel: "Save"
12231
- }, Rh = {
12231
+ }, Lh = {
12232
12232
  id: "have-a-question",
12233
12233
  title: "I only have a question",
12234
12234
  icon: "❓",
@@ -12244,23 +12244,23 @@ const vh = "^[A-Z]{5}[0-9]{4}[A-Z]$", wh = "^[A-Z]{4}[0-9]{5}[A-Z]$", _h = "^[A-
12244
12244
  }
12245
12245
  ],
12246
12246
  submitLabel: "Send Question"
12247
- }, Lh = [
12248
- xh,
12249
- Th,
12250
- Ah,
12251
- Eh,
12252
- Ih,
12247
+ }, jh = [
12248
+ Sh,
12253
12249
  Ch,
12250
+ Ih,
12251
+ Ah,
12252
+ Th,
12254
12253
  Oh,
12255
- kh,
12256
- Sh,
12257
12254
  Ph,
12255
+ xh,
12256
+ Eh,
12258
12257
  Mh,
12259
- Rh
12258
+ Rh,
12259
+ Lh
12260
12260
  ];
12261
- function jh(a, e) {
12261
+ function Nh(a, e) {
12262
12262
  const t = a || {}, r = {
12263
- userId: Bh(e.userId),
12263
+ userId: Dh(e.userId),
12264
12264
  assessmentYear: e.assessmentYear,
12265
12265
  isRevised: e.isRevised || "N"
12266
12266
  };
@@ -12279,9 +12279,9 @@ function jh(a, e) {
12279
12279
  amount: Oe(t.immovableAssetCost)
12280
12280
  };
12281
12281
  Object.values(o).some((s) => s !== void 0) && (r.immovableAsset = [o]);
12282
- const n = Qr(t.hpDetails, Nh);
12282
+ const n = Qr(t.hpDetails, Uh);
12283
12283
  n.length && (r.hpDetails = n);
12284
- const i = Qr(t.salaryDetails, Uh);
12284
+ const i = Qr(t.salaryDetails, Bh);
12285
12285
  if (i.length) {
12286
12286
  r.salaryIncome = i;
12287
12287
  const s = Qr(t.salaryDetails, (c) => ({
@@ -12289,18 +12289,18 @@ function jh(a, e) {
12289
12289
  employerName: Me(c.employerName)
12290
12290
  }));
12291
12291
  s.length && (r.salary = s);
12292
- const l = xl(t.salaryDetails)[0] ?? {};
12292
+ const l = Sl(t.salaryDetails)[0] ?? {};
12293
12293
  r.hraAmount = Oe(l.hraReceived), r.leaveTravelAllowanceAmount = Oe(l.leaveTravelAllowance), r.leaveEncashmentAllowanceAmount = Oe(l.leaveEncashment), r.anyOtherAllowanceAmount = Oe(l.anyOtherAllowance), r.salaryIncomeFlag = !0;
12294
12294
  }
12295
12295
  return Br(r);
12296
12296
  }
12297
- function Nh(a) {
12297
+ function Uh(a) {
12298
12298
  const e = {
12299
12299
  loanType: "HOME_LOAN",
12300
12300
  loanTakenFrom: Me(a.loanTakenFrom),
12301
12301
  bankOrInstituteName: Me(a.lenderName),
12302
12302
  loanAccountNo: Me(a.loanAccountNumber),
12303
- loanSanctionDate: Dh(a.sanctionDate),
12303
+ loanSanctionDate: Fh(a.sanctionDate),
12304
12304
  totalLoanAmount: Oe(a.totalLoanAmount),
12305
12305
  interest: Oe(a.homeLoanInterest)
12306
12306
  }, t = Object.entries(e).some(([r, o]) => r !== "loanType" && o !== void 0);
@@ -12321,7 +12321,7 @@ function Nh(a) {
12321
12321
  loanDetails: t ? [e] : void 0
12322
12322
  };
12323
12323
  }
12324
- function Uh(a) {
12324
+ function Bh(a) {
12325
12325
  return {
12326
12326
  grossSalaryIncome: Oe(a.grossSalary),
12327
12327
  salary: Oe(a.basicSalary),
@@ -12337,7 +12337,7 @@ function Uh(a) {
12337
12337
  }
12338
12338
  };
12339
12339
  }
12340
- function Bh(a) {
12340
+ function Dh(a) {
12341
12341
  if (a === void 0 || a === "") return;
12342
12342
  const e = Number(a);
12343
12343
  return Number.isFinite(e) && String(e) === String(a) ? e : a;
@@ -12355,16 +12355,16 @@ function Me(a) {
12355
12355
  function Xi(a) {
12356
12356
  return a === !0 || a === !1 ? a : void 0;
12357
12357
  }
12358
- function Dh(a) {
12358
+ function Fh(a) {
12359
12359
  const e = Me(a);
12360
12360
  if (e)
12361
12361
  return e.includes("T") ? e : /^\d{4}-\d{2}-\d{2}$/.test(e) ? `${e}T00:00:00Z` : e;
12362
12362
  }
12363
- function xl(a) {
12363
+ function Sl(a) {
12364
12364
  return Array.isArray(a) ? a.filter((e) => e && typeof e == "object") : [];
12365
12365
  }
12366
12366
  function Qr(a, e) {
12367
- return xl(a).map((t) => Br(e(t))).filter((t) => t !== void 0);
12367
+ return Sl(a).map((t) => Br(e(t))).filter((t) => t !== void 0);
12368
12368
  }
12369
12369
  function Br(a) {
12370
12370
  if (Array.isArray(a)) {
@@ -12388,7 +12388,7 @@ function Ls() {
12388
12388
  return console.warn(
12389
12389
  "[smart-edit] API disabled: window.__aikaara_runtime__.getChatJwt is missing — the chat was not mounted via the SDK mountFromSlug path."
12390
12390
  ), null;
12391
- const t = e.getChatJwt, r = a.__aikaara_descriptor__ ?? {}, o = Hh(r.api?.baseUrl) ?? Wh(r.auth?.endpoint) ?? "", n = r.itr?.automationSubmitUrl || Fh(e.configBase, e.slug);
12391
+ const t = e.getChatJwt, r = a.__aikaara_descriptor__ ?? {}, o = Wh(r.api?.baseUrl) ?? zh(r.auth?.endpoint) ?? "", n = r.itr?.automationSubmitUrl || $h(e.configBase, e.slug);
12392
12392
  return !n && !o ? (console.warn(
12393
12393
  `[smart-edit] API disabled: no submit URL could be derived (configBase=${e.configBase ?? "undefined"}, slug=${e.slug ?? "undefined"}).`
12394
12394
  ), null) : (console.info(
@@ -12399,18 +12399,18 @@ function Ls() {
12399
12399
  ), {
12400
12400
  baseUrl: o,
12401
12401
  getToken: () => t(),
12402
- headers: zh(r.auth?.headers),
12403
- assessmentYear: r.itr?.assessmentYear || Gh(),
12402
+ headers: Vh(r.auth?.headers),
12403
+ assessmentYear: r.itr?.assessmentYear || Kh(),
12404
12404
  isRevised: "N",
12405
- userId: Vh(e.identity),
12405
+ userId: Gh(e.identity),
12406
12406
  submitUrl: n
12407
12407
  });
12408
12408
  }
12409
- function Fh(a, e) {
12409
+ function $h(a, e) {
12410
12410
  return !a || !e ? void 0 : `${a.replace(/\/+$/, "")}/api/v1/projects/by-slug/${encodeURIComponent(e)}/itr/automation-data`;
12411
12411
  }
12412
- async function $h(a) {
12413
- const e = await a.getToken(), t = a.userId || Sl(e, "sub");
12412
+ async function qh(a) {
12413
+ const e = await a.getToken(), t = a.userId || El(e, "sub");
12414
12414
  if (!t)
12415
12415
  throw new Error("[smart-edit] could not resolve userId for GET /itr/automation/eligible");
12416
12416
  const r = new URLSearchParams({
@@ -12429,10 +12429,10 @@ async function $h(a) {
12429
12429
  const n = await o.text().catch(() => "");
12430
12430
  throw new Error(`[smart-edit] GET /itr/automation/eligible → ${o.status} ${n.slice(0, 200)}`);
12431
12431
  }
12432
- return El(await o.json().catch(() => ({})));
12432
+ return Al(await o.json().catch(() => ({})));
12433
12433
  }
12434
- async function qh(a, e) {
12435
- const t = await a.getToken(), r = a.userId || Sl(t, "sub"), o = jh(e, {
12434
+ async function Hh(a, e) {
12435
+ const t = await a.getToken(), r = a.userId || El(t, "sub"), o = Nh(e, {
12436
12436
  userId: r,
12437
12437
  assessmentYear: a.assessmentYear,
12438
12438
  isRevised: a.isRevised
@@ -12452,14 +12452,14 @@ async function qh(a, e) {
12452
12452
  const l = await s.text().catch(() => "");
12453
12453
  throw new Error(`[smart-edit] PUT ${n} → ${s.status} ${l.slice(0, 200)}`);
12454
12454
  }
12455
- return El(await s.json().catch(() => ({})));
12455
+ return Al(await s.json().catch(() => ({})));
12456
12456
  }
12457
- function Hh(a) {
12457
+ function Wh(a) {
12458
12458
  if (!a) return null;
12459
12459
  let e = a.trim().replace(/\/+$/, "");
12460
12460
  return e = e.replace(/\/itr$/i, ""), e || null;
12461
12461
  }
12462
- function Wh(a) {
12462
+ function zh(a) {
12463
12463
  if (!a) return null;
12464
12464
  try {
12465
12465
  return new URL(a).origin;
@@ -12467,7 +12467,7 @@ function Wh(a) {
12467
12467
  return null;
12468
12468
  }
12469
12469
  }
12470
- function zh(a) {
12470
+ function Vh(a) {
12471
12471
  const e = {};
12472
12472
  if (!a) return e;
12473
12473
  const t = /^(authorization|content-type|accept)$/i;
@@ -12475,12 +12475,12 @@ function zh(a) {
12475
12475
  !t.test(r) && typeof o == "string" && (e[r] = o);
12476
12476
  return e;
12477
12477
  }
12478
- function Vh(a) {
12478
+ function Gh(a) {
12479
12479
  if (!a) return;
12480
12480
  const e = a.userId ?? a.id ?? a.ext_uid ?? a.extUid;
12481
12481
  return e == null || e === "" ? void 0 : String(e);
12482
12482
  }
12483
- function Sl(a, e) {
12483
+ function El(a, e) {
12484
12484
  try {
12485
12485
  const t = a.split(".")[1];
12486
12486
  if (!t) return "";
@@ -12492,18 +12492,18 @@ function Sl(a, e) {
12492
12492
  return "";
12493
12493
  }
12494
12494
  }
12495
- function El(a) {
12495
+ function Al(a) {
12496
12496
  if (a && typeof a == "object") {
12497
12497
  const e = a;
12498
12498
  return e.data && typeof e.data == "object" ? e.data : e;
12499
12499
  }
12500
12500
  return {};
12501
12501
  }
12502
- function Gh() {
12502
+ function Kh() {
12503
12503
  const a = /* @__PURE__ */ new Date(), e = a.getMonth() >= 3 ? a.getFullYear() : a.getFullYear() - 1;
12504
12504
  return `${e}-${e + 1}`;
12505
12505
  }
12506
- class Kh {
12506
+ class Yh {
12507
12507
  client;
12508
12508
  panel;
12509
12509
  bubble;
@@ -12515,7 +12515,7 @@ class Kh {
12515
12515
  isEmbed = !1;
12516
12516
  smartEditModal = null;
12517
12517
  constructor(e, t, r) {
12518
- this.client = new dh(e, {
12518
+ this.client = new fh(e, {
12519
12519
  uploadAdapter: r?.uploadAdapter,
12520
12520
  historyAdapter: r?.historyAdapter
12521
12521
  }), this.isEmbed = e.display === "embed", this.bubble = t.querySelector("aikaara-chat-bubble"), this.panel = t.querySelector(".aikaara-panel"), this.header = t.querySelector("aikaara-chat-header"), this.messageList = t.querySelector("aikaara-message-list"), this.input = t.querySelector("aikaara-chat-input"), this.errorBanner = t.querySelector("aikaara-error-banner"), e.welcomeMessage && this.messageList.setWelcomeMessage(e.welcomeMessage), e.showTimestamps !== void 0 && this.messageList.setShowTimestamps(e.showTimestamps), (e.linkHandlers || e.getLinkBearer) && this.messageList.setLinkConfig(e.linkHandlers ?? [], e.getLinkBearer), e.chatActions !== void 0 && this.header.setActions(e.chatActions), this.wireEvents();
@@ -12627,11 +12627,11 @@ class Kh {
12627
12627
  */
12628
12628
  async openSmartEdit() {
12629
12629
  const e = this.ensureSmartEditModal();
12630
- e.open({ schemas: Lh, data: {} });
12630
+ e.open({ schemas: jh, data: {} });
12631
12631
  const t = Ls();
12632
12632
  if (!(!t || !t.baseUrl))
12633
12633
  try {
12634
- const r = await $h(t);
12634
+ const r = await qh(t);
12635
12635
  e.setData(r);
12636
12636
  } catch (r) {
12637
12637
  console.warn("[smart-edit] fetch failed", r), this.errorBanner.show(
@@ -12663,7 +12663,7 @@ class Kh {
12663
12663
  return;
12664
12664
  }
12665
12665
  try {
12666
- await qh(t, e);
12666
+ await Hh(t, e);
12667
12667
  } catch (r) {
12668
12668
  console.warn("[smart-edit] save failed", r), this.errorBanner.show(
12669
12669
  "Failed to save your ITR details. Please try again.",
@@ -12679,7 +12679,7 @@ class Kh {
12679
12679
  }, 200)));
12680
12680
  }
12681
12681
  }
12682
- class Yh extends HTMLElement {
12682
+ class Qh extends HTMLElement {
12683
12683
  shadow;
12684
12684
  controller = null;
12685
12685
  _config = {};
@@ -12725,13 +12725,13 @@ class Yh extends HTMLElement {
12725
12725
  apiKey: this.getAttribute("api-key") || this._config.apiKey,
12726
12726
  title: this.getAttribute("title") || this._config.title || "Chat",
12727
12727
  subtitle: this.getAttribute("subtitle") || this._config.subtitle,
12728
- theme: this.getAttribute("theme") || this._config.theme || ql,
12728
+ theme: this.getAttribute("theme") || this._config.theme || Hl,
12729
12729
  primaryColor: this.getAttribute("primary-color") || this._config.primaryColor || yo,
12730
- position: this.getAttribute("position") || this._config.position || $l,
12731
- width: Number(this.getAttribute("width")) || this._config.width || Ul,
12732
- height: Number(this.getAttribute("height")) || this._config.height || Bl,
12733
- fontFamily: this._config.fontFamily || Fl,
12734
- borderRadius: this._config.borderRadius ?? Dl,
12730
+ position: this.getAttribute("position") || this._config.position || ql,
12731
+ width: Number(this.getAttribute("width")) || this._config.width || Bl,
12732
+ height: Number(this.getAttribute("height")) || this._config.height || Dl,
12733
+ fontFamily: this._config.fontFamily || $l,
12734
+ borderRadius: this._config.borderRadius ?? Fl,
12735
12735
  placeholder: this.getAttribute("placeholder") || this._config.placeholder || vo,
12736
12736
  welcomeMessage: this.getAttribute("welcome-message") || this._config.welcomeMessage,
12737
12737
  avatarUrl: this.getAttribute("avatar-url") || this._config.avatarUrl,
@@ -12745,7 +12745,7 @@ class Yh extends HTMLElement {
12745
12745
  chatActions: this._config.chatActions,
12746
12746
  showBubble: this._config.showBubble ?? !0,
12747
12747
  display: (this.getAttribute("display") || this._config.display) ?? "popup",
12748
- offset: this._config.offset || Hl,
12748
+ offset: this._config.offset || Wl,
12749
12749
  conversationId: this._config.conversationId,
12750
12750
  systemPromptId: this._config.systemPromptId,
12751
12751
  channel: this._config.channel,
@@ -12948,7 +12948,7 @@ class Yh extends HTMLElement {
12948
12948
  }
12949
12949
  async initController() {
12950
12950
  const e = this.getConfig(), t = e.transport ?? "aikaara";
12951
- (t === "aikaara" || t === "dual") && (!e.baseUrl || !e.userToken) || (this.controller?.disconnect(), this.controller = new Kh(e, this.shadow, {
12951
+ (t === "aikaara" || t === "dual") && (!e.baseUrl || !e.userToken) || (this.controller?.disconnect(), this.controller = new Yh(e, this.shadow, {
12952
12952
  uploadAdapter: this._config.uploadAdapter,
12953
12953
  historyAdapter: this._config.historyAdapter
12954
12954
  }), await this.controller.connect());
@@ -12968,7 +12968,7 @@ class Yh extends HTMLElement {
12968
12968
  }
12969
12969
  }
12970
12970
  }
12971
- class Qh extends HTMLElement {
12971
+ class Jh extends HTMLElement {
12972
12972
  shadow;
12973
12973
  constructor() {
12974
12974
  super(), this.shadow = this.attachShadow({ mode: "open" });
@@ -13021,12 +13021,12 @@ class Qh extends HTMLElement {
13021
13021
  t && (t.innerHTML = e);
13022
13022
  }
13023
13023
  }
13024
- const Jh = [
13024
+ const Xh = [
13025
13025
  { id: "edit-itr", label: "Edit ITR Details", icon: "edit" }
13026
13026
  ];
13027
- class Xh extends HTMLElement {
13027
+ class Zh extends HTMLElement {
13028
13028
  shadow;
13029
- actions = Jh;
13029
+ actions = Xh;
13030
13030
  menuOpen = !1;
13031
13031
  outsideClickHandler = null;
13032
13032
  static get observedAttributes() {
@@ -13252,7 +13252,7 @@ class Xh extends HTMLElement {
13252
13252
  this.setAttribute("status", e);
13253
13253
  }
13254
13254
  }
13255
- const Zh = /<\s*(br|i|b|em|strong|small|sub|sup|p|div|span|ul|ol|li|a|img|code|pre)\b/i, ed = /&(quot|apos|amp|lt|gt|nbsp|#\d+|#x[0-9a-f]+);/i, td = {
13255
+ const ed = /<\s*(br|i|b|em|strong|small|sub|sup|p|div|span|ul|ol|li|a|img|code|pre)\b/i, td = /&(quot|apos|amp|lt|gt|nbsp|#\d+|#x[0-9a-f]+);/i, rd = {
13256
13256
  "&quot;": '"',
13257
13257
  "&apos;": "'",
13258
13258
  "&lt;": "<",
@@ -13260,14 +13260,14 @@ const Zh = /<\s*(br|i|b|em|strong|small|sub|sup|p|div|span|ul|ol|li|a|img|code|p
13260
13260
  "&amp;": "&",
13261
13261
  "&nbsp;": " "
13262
13262
  };
13263
- function rd(a) {
13264
- return a.replace(/&(quot|apos|lt|gt|nbsp);/gi, (e) => td[e.toLowerCase()] ?? e).replace(/&#(\d+);/g, (e, t) => String.fromCharCode(parseInt(t, 10))).replace(/&#x([0-9a-f]+);/gi, (e, t) => String.fromCharCode(parseInt(t, 16))).replace(/&amp;/gi, "&");
13263
+ function nd(a) {
13264
+ return a.replace(/&(quot|apos|lt|gt|nbsp);/gi, (e) => rd[e.toLowerCase()] ?? e).replace(/&#(\d+);/g, (e, t) => String.fromCharCode(parseInt(t, 10))).replace(/&#x([0-9a-f]+);/gi, (e, t) => String.fromCharCode(parseInt(t, 16))).replace(/&amp;/gi, "&");
13265
13265
  }
13266
13266
  function Ut(a) {
13267
- if (Zh.test(a))
13267
+ if (ed.test(a))
13268
13268
  return a;
13269
- const e = ed.test(a) ? rd(a) : a;
13270
- let t = nd(e);
13269
+ const e = td.test(a) ? nd(a) : a;
13270
+ let t = id(e);
13271
13271
  return t = t.replace(/```(\w*)\n([\s\S]*?)```/g, (r, o, n) => `<pre><code>${n.trim()}</code></pre>`), t = t.replace(/`([^`]+)`/g, "<code>$1</code>"), t = t.replace(/\*\*(.+?)\*\*/g, "<strong>$1</strong>"), t = t.replace(/\*(.+?)\*/g, "<em>$1</em>"), t = t.replace(
13272
13272
  /\[([^\]]+)\]\((https?:\/\/[^\s)]+)\)/g,
13273
13273
  '<a href="$2" target="_self" rel="noopener noreferrer">$1</a>'
@@ -13279,7 +13279,7 @@ function Ut(a) {
13279
13279
  }
13280
13280
  ), t = t.replace(/\n/g, "<br>"), t;
13281
13281
  }
13282
- function nd(a) {
13282
+ function id(a) {
13283
13283
  const e = {
13284
13284
  "&": "&amp;",
13285
13285
  "<": "&lt;",
@@ -13289,7 +13289,7 @@ function nd(a) {
13289
13289
  };
13290
13290
  return a.replace(/[&<>"']/g, (t) => e[t]);
13291
13291
  }
13292
- const id = /* @__PURE__ */ new Set([
13292
+ const od = /* @__PURE__ */ new Set([
13293
13293
  "p",
13294
13294
  "br",
13295
13295
  "hr",
@@ -13324,7 +13324,7 @@ const id = /* @__PURE__ */ new Set([
13324
13324
  "tr",
13325
13325
  "th",
13326
13326
  "td"
13327
- ]), od = {
13327
+ ]), sd = {
13328
13328
  a: /* @__PURE__ */ new Set(["href", "target", "rel"]),
13329
13329
  img: /* @__PURE__ */ new Set(["src", "alt", "width", "height"]),
13330
13330
  code: /* @__PURE__ */ new Set(["class"]),
@@ -13334,29 +13334,29 @@ const id = /* @__PURE__ */ new Set([
13334
13334
  };
13335
13335
  function Bt(a) {
13336
13336
  const e = document.createElement("template");
13337
- return e.innerHTML = a, Al(e.content), e.innerHTML;
13337
+ return e.innerHTML = a, Il(e.content), e.innerHTML;
13338
13338
  }
13339
- function Al(a) {
13339
+ function Il(a) {
13340
13340
  const e = Array.from(a.childNodes);
13341
13341
  for (const t of e)
13342
13342
  if (t.nodeType === Node.ELEMENT_NODE) {
13343
13343
  const r = t, o = r.tagName.toLowerCase();
13344
- if (!id.has(o)) {
13344
+ if (!od.has(o)) {
13345
13345
  const s = document.createTextNode(r.textContent || "");
13346
13346
  a.replaceChild(s, t);
13347
13347
  continue;
13348
13348
  }
13349
- const n = od[o] || /* @__PURE__ */ new Set(), i = Array.from(r.attributes);
13349
+ const n = sd[o] || /* @__PURE__ */ new Set(), i = Array.from(r.attributes);
13350
13350
  for (const s of i)
13351
13351
  n.has(s.name) || r.removeAttribute(s.name);
13352
13352
  if (r.hasAttribute("href")) {
13353
13353
  const s = r.getAttribute("href") || "";
13354
13354
  !s.startsWith("http://") && !s.startsWith("https://") && !s.startsWith("/") && r.removeAttribute("href");
13355
13355
  }
13356
- Al(t);
13356
+ Il(t);
13357
13357
  }
13358
13358
  }
13359
- function sd(a, e = {}) {
13359
+ function ad(a, e = {}) {
13360
13360
  const { width: t = 600, height: r = 700, closeOnTypes: o } = e, n = Math.round(window.screenX + (window.outerWidth - t) / 2), i = Math.round(window.screenY + (window.outerHeight - r) / 2), s = window.open(
13361
13361
  a,
13362
13362
  "aikaara_popup",
@@ -13374,7 +13374,7 @@ function sd(a, e = {}) {
13374
13374
  }, 500);
13375
13375
  return s;
13376
13376
  }
13377
- function ad(a) {
13377
+ function ld(a) {
13378
13378
  const e = Date.now() - a.getTime(), t = Math.round(e / 1e3);
13379
13379
  if (t < 5) return "just now";
13380
13380
  if (t < 60) return `${t}s ago`;
@@ -13385,7 +13385,7 @@ function ad(a) {
13385
13385
  const n = Math.round(o / 24);
13386
13386
  return n === 1 ? "Yesterday" : n < 7 ? `${n} d ago` : a.toLocaleDateString(void 0, { month: "short", day: "2-digit" });
13387
13387
  }
13388
- class ld extends HTMLElement {
13388
+ class cd extends HTMLElement {
13389
13389
  shadow;
13390
13390
  container;
13391
13391
  welcomeMessage = "";
@@ -13432,12 +13432,14 @@ class ld extends HTMLElement {
13432
13432
  );
13433
13433
  }), this.addEventListener("click", (e) => {
13434
13434
  const t = e.composedPath?.() ?? [], r = t.find(
13435
- (n) => n && n.tagName === "A"
13435
+ (i) => i && i.tagName === "A"
13436
13436
  );
13437
- !r || !r.href || r.dataset.noModal !== void 0 || r.target === "_blank" || r.target === "_self" || r.classList.contains("attachment") || t.some((n) => {
13438
- if (!n || !n.classList) return !1;
13439
- const i = n.classList;
13440
- return i.contains("bubble") && i.contains("user");
13437
+ if (!r || !r.href || r.dataset.noModal !== void 0 || r.target === "_blank" || r.classList.contains("attachment")) return;
13438
+ const o = this.linkHandlers.some((i) => js(r.href, i.match));
13439
+ r.target === "_self" && !o || t.some((i) => {
13440
+ if (!i || !i.classList) return !1;
13441
+ const s = i.classList;
13442
+ return s.contains("bubble") && s.contains("user");
13441
13443
  }) || /^https?:\/\//i.test(r.href) && (e.preventDefault(), this.handleLinkClick(r.href, r.textContent?.trim() || void 0));
13442
13444
  }), this.shadow.innerHTML = `
13443
13445
  <style>
@@ -13636,7 +13638,7 @@ class ld extends HTMLElement {
13636
13638
  if (n.role === "user") {
13637
13639
  const i = n.metadata?.attributes?.action;
13638
13640
  if (i) {
13639
- const s = cd(i);
13641
+ const s = ud(i);
13640
13642
  if (i.message_id && t.set(i.message_id, s), Object.keys(s).length > 0)
13641
13643
  for (let l = o - 1; l >= 0; l--) {
13642
13644
  const c = e[l];
@@ -13774,7 +13776,7 @@ class ld extends HTMLElement {
13774
13776
  case "date":
13775
13777
  return r;
13776
13778
  case "relative":
13777
- return ad(t);
13779
+ return ld(t);
13778
13780
  case "time-24":
13779
13781
  return t.toLocaleTimeString(void 0, { hour: "2-digit", minute: "2-digit", hour12: !1 });
13780
13782
  case "time-seconds":
@@ -13794,13 +13796,13 @@ class ld extends HTMLElement {
13794
13796
  * data, or opens in a new tab depending on the matched handler.
13795
13797
  */
13796
13798
  async handleLinkClick(e, t) {
13797
- const r = this.linkHandlers.find((b) => ud(e, b.match)), o = r?.target ?? "iframe";
13799
+ const r = this.linkHandlers.find((b) => js(e, b.match)), o = r?.target ?? "iframe";
13798
13800
  if (o === "tab") {
13799
13801
  window.open(e, "_blank", "noopener,noreferrer");
13800
13802
  return;
13801
13803
  }
13802
13804
  if (o === "popup") {
13803
- sd(e);
13805
+ ad(e);
13804
13806
  return;
13805
13807
  }
13806
13808
  const n = this.getOrCreateModal(), i = r?.title ?? t ?? "Link";
@@ -13808,7 +13810,7 @@ class ld extends HTMLElement {
13808
13810
  requestAnimationFrame(() => n.show?.(e, i));
13809
13811
  return;
13810
13812
  }
13811
- const s = hd(e), l = Il(r.fetch.url, s), c = {
13813
+ const s = hd(e), l = Tl(r.fetch.url, s), c = {
13812
13814
  accept: "application/json",
13813
13815
  ...r.fetch.headers ?? {}
13814
13816
  }, u = r.fetch.authHeader ?? "session";
@@ -13854,13 +13856,13 @@ class ld extends HTMLElement {
13854
13856
  return e || (e = document.createElement("aikaara-link-modal"), document.body.appendChild(e)), e;
13855
13857
  }
13856
13858
  }
13857
- function cd(a) {
13859
+ function ud(a) {
13858
13860
  const e = /* @__PURE__ */ new Set(["message_id", "formAction", "requestType"]), t = {};
13859
13861
  for (const [r, o] of Object.entries(a))
13860
13862
  e.has(r) || (Array.isArray(o) && o.every((n) => typeof n == "string") ? t[r] = o : typeof o == "string" && (t[r] = [o]));
13861
13863
  return t;
13862
13864
  }
13863
- function ud(a, e) {
13865
+ function js(a, e) {
13864
13866
  const t = e.replace(/[.+^${}()|[\]\\]/g, "\\$&");
13865
13867
  return new RegExp("^" + t.replace(/\*/g, ".*").replace(/\?/g, ".") + "$", "i").test(a);
13866
13868
  }
@@ -13874,11 +13876,11 @@ function hd(a) {
13874
13876
  return {};
13875
13877
  }
13876
13878
  }
13877
- function Il(a, e) {
13879
+ function Tl(a, e) {
13878
13880
  return a.replace(/\{(\w+)\}/g, (t, r) => e[r] ?? "");
13879
13881
  }
13880
13882
  function Zi(a, e) {
13881
- if (typeof a == "string") return Il(a, e);
13883
+ if (typeof a == "string") return Tl(a, e);
13882
13884
  if (Array.isArray(a)) return a.map((t) => Zi(t, e));
13883
13885
  if (a && typeof a == "object") {
13884
13886
  const t = {};
@@ -13979,7 +13981,7 @@ class dd extends HTMLElement {
13979
13981
  ${n ? `<aikaara-template-renderer
13980
13982
  content-type="${n}"
13981
13983
  template-id="${i}"
13982
- inner-message="${js(s)}"
13984
+ inner-message="${Ns(s)}"
13983
13985
  ></aikaara-template-renderer>` : ""}
13984
13986
  ${this.renderAttachments()}
13985
13987
  </div>
@@ -14002,13 +14004,13 @@ class dd extends HTMLElement {
14002
14004
  }
14003
14005
  renderAttachments() {
14004
14006
  return this.attachments.length ? `<div class="attachments">${this.attachments.map(
14005
- (t) => `<a class="attachment" href="${js(t.fileUrl)}" target="_blank" rel="noopener noreferrer">
14007
+ (t) => `<a class="attachment" href="${Ns(t.fileUrl)}" target="_blank" rel="noopener noreferrer">
14006
14008
  📎 ${fd(t.fileName)}
14007
14009
  </a>`
14008
14010
  ).join("")}</div>` : "";
14009
14011
  }
14010
14012
  }
14011
- function js(a) {
14013
+ function Ns(a) {
14012
14014
  return String(a).replace(/[&<>"']/g, (e) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" })[e]);
14013
14015
  }
14014
14016
  function fd(a) {
@@ -14326,7 +14328,7 @@ class bd extends HTMLElement {
14326
14328
  }
14327
14329
  }
14328
14330
  const Jr = /* @__PURE__ */ new Map();
14329
- function Tl(a) {
14331
+ function Cl(a) {
14330
14332
  const e = Jr.get(a);
14331
14333
  if (e) return e;
14332
14334
  const t = new Promise((r, o) => {
@@ -14468,7 +14470,7 @@ class _d extends HTMLElement {
14468
14470
  `; this.firstChild; ) this.removeChild(this.firstChild);
14469
14471
  if (!e) return;
14470
14472
  const r = t ? wd(t) : void 0, o = r?.render ?? (t ? `aikaara-template-${t}` : `aikaara-template-${e}`), n = vd[o];
14471
- if (n && !customElements.get(o) ? n().then(() => this.render()).catch((i) => console.warn(`[aikaara-template-renderer] native template ${o} failed to load`, i)) : r?.scriptUrl && !customElements.get(o) && Tl(r.scriptUrl).then(() => yd(o)).then(() => this.render()).catch((i) => console.warn(`[aikaara-template-renderer] failed to lazy-load ${r.scriptUrl}`, i)), customElements.get(o)) {
14473
+ if (n && !customElements.get(o) ? n().then(() => this.render()).catch((i) => console.warn(`[aikaara-template-renderer] native template ${o} failed to load`, i)) : r?.scriptUrl && !customElements.get(o) && Cl(r.scriptUrl).then(() => yd(o)).then(() => this.render()).catch((i) => console.warn(`[aikaara-template-renderer] failed to lazy-load ${r.scriptUrl}`, i)), customElements.get(o)) {
14472
14474
  const i = document.createElement(o);
14473
14475
  if (r?.props) {
14474
14476
  for (const [s, l] of Object.entries(r.props))
@@ -14550,7 +14552,7 @@ class _d extends HTMLElement {
14550
14552
  */
14551
14553
  mountLinkButton(e) {
14552
14554
  const t = this.renderGen;
14553
- import("./AikaaraLinkButton-BRR8kKL8.mjs").then(({ registerAikaaraLinkButton: r, AikaaraLinkButton: o }) => {
14555
+ import("./AikaaraLinkButton-CnQoe1id.mjs").then(({ registerAikaaraLinkButton: r, AikaaraLinkButton: o }) => {
14554
14556
  if (t !== this.renderGen) return;
14555
14557
  r();
14556
14558
  const n = document.createElement("aikaara-link-button");
@@ -14629,12 +14631,12 @@ class Ed extends HTMLElement {
14629
14631
  color: var(--aikaara-text-secondary, #9ca3af);
14630
14632
  }
14631
14633
  </style>
14632
- <span class="pill">${Ns(e)}</span>
14633
- ${t ? `<span class="sub">${Ns(t)}</span>` : ""}
14634
+ <span class="pill">${Us(e)}</span>
14635
+ ${t ? `<span class="sub">${Us(t)}</span>` : ""}
14634
14636
  `;
14635
14637
  }
14636
14638
  }
14637
- function Ns(a) {
14639
+ function Us(a) {
14638
14640
  return String(a).replace(/[&<>]/g, (e) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;" })[e]);
14639
14641
  }
14640
14642
  class Ad extends HTMLElement {
@@ -14723,7 +14725,7 @@ class Ad extends HTMLElement {
14723
14725
  .row[aria-checked="true"] .check { opacity: 1; }
14724
14726
  .text { flex: 1; }
14725
14727
  </style>
14726
- <div class="row" role="checkbox" tabindex="${this.preSelectedDisabled ? "-1" : "0"}" aria-checked="${s}" aria-disabled="${this.preSelectedDisabled}" data-value="${Us(i.value)}">
14728
+ <div class="row" role="checkbox" tabindex="${this.preSelectedDisabled ? "-1" : "0"}" aria-checked="${s}" aria-disabled="${this.preSelectedDisabled}" data-value="${Bs(i.value)}">
14727
14729
  <span class="box" aria-hidden="true">
14728
14730
  <svg class="check" viewBox="0 0 16 16" fill="none" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
14729
14731
  <path d="M3 8 L7 12 L13 4" />
@@ -14780,7 +14782,7 @@ class Ad extends HTMLElement {
14780
14782
  ${t.map(
14781
14783
  (i) => `
14782
14784
  <button class="opt" type="button"
14783
- data-value="${Us(i.value)}"
14785
+ data-value="${Bs(i.value)}"
14784
14786
  role="${o ? "checkbox" : "radio"}"
14785
14787
  aria-pressed="${this.selected.has(i.value)}"
14786
14788
  ${this.preSelectedDisabled ? 'disabled aria-disabled="true"' : ""}>
@@ -14796,7 +14798,7 @@ class Ad extends HTMLElement {
14796
14798
  function ar(a) {
14797
14799
  return String(a).replace(/[&<>]/g, (e) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;" })[e]);
14798
14800
  }
14799
- function Us(a) {
14801
+ function Bs(a) {
14800
14802
  return String(a).replace(/[&<>"']/g, (e) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" })[e]);
14801
14803
  }
14802
14804
  class Id extends HTMLElement {
@@ -15413,13 +15415,13 @@ class jd extends HTMLElement {
15413
15415
  t.innerHTML = `
15414
15416
  <span class="header-spacer"></span>
15415
15417
  <div class="modal-title">Correct Your ITR Details</div>
15416
- <button class="icon-btn close-btn" type="button" aria-label="Close">${Bs}</button>
15418
+ <button class="icon-btn close-btn" type="button" aria-label="Close">${Ds}</button>
15417
15419
  `;
15418
15420
  const r = this.shadow.querySelector(".modal-body"), o = this.schemas.map(
15419
15421
  (i) => `
15420
15422
  <button class="chip" type="button" data-section-id="${Ud(i.id)}">
15421
15423
  <span class="chip-icon">${i.icon ?? "📄"}</span>
15422
- <span class="chip-label">${Ds(i.title)}</span>
15424
+ <span class="chip-label">${Fs(i.title)}</span>
15423
15425
  </button>`
15424
15426
  ).join("");
15425
15427
  r.innerHTML = `
@@ -15451,8 +15453,8 @@ class jd extends HTMLElement {
15451
15453
  const t = this.schemas.find((n) => n.id === this.activeSectionId), r = this.shadow.querySelector(".modal-header");
15452
15454
  r.innerHTML = `
15453
15455
  <button class="icon-btn back-btn" type="button" aria-label="Back">${Nd}</button>
15454
- <div class="modal-title">${Ds(t?.title ?? "Edit")}</div>
15455
- <button class="icon-btn close-btn" type="button" aria-label="Close">${Bs}</button>
15456
+ <div class="modal-title">${Fs(t?.title ?? "Edit")}</div>
15457
+ <button class="icon-btn close-btn" type="button" aria-label="Close">${Ds}</button>
15456
15458
  `;
15457
15459
  const o = this.shadow.querySelector(".modal-footer");
15458
15460
  o.style.display = "none", o.innerHTML = "", this.bindCommon(), r.querySelector(".back-btn")?.addEventListener("click", () => this.backToPicker()), this.mountActiveForm();
@@ -15626,11 +15628,11 @@ class jd extends HTMLElement {
15626
15628
  `;
15627
15629
  }
15628
15630
  }
15629
- const Bs = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>', Nd = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="19" y1="12" x2="5" y2="12"/><polyline points="12 19 5 12 12 5"/></svg>';
15631
+ const Ds = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>', Nd = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="19" y1="12" x2="5" y2="12"/><polyline points="12 19 5 12 12 5"/></svg>';
15630
15632
  function Ud(a) {
15631
15633
  return a.replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
15632
15634
  }
15633
- function Ds(a) {
15635
+ function Fs(a) {
15634
15636
  return a.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
15635
15637
  }
15636
15638
  class Bd extends HTMLElement {
@@ -16038,10 +16040,10 @@ function Ke(a) {
16038
16040
  }
16039
16041
  function Dd() {
16040
16042
  const a = [
16041
- ["aikaara-chat-widget", Yh],
16042
- ["aikaara-chat-bubble", Qh],
16043
- ["aikaara-chat-header", Xh],
16044
- ["aikaara-message-list", ld],
16043
+ ["aikaara-chat-widget", Qh],
16044
+ ["aikaara-chat-bubble", Jh],
16045
+ ["aikaara-chat-header", Zh],
16046
+ ["aikaara-message-list", cd],
16045
16047
  ["aikaara-message-bubble", dd],
16046
16048
  ["aikaara-chat-input", pd],
16047
16049
  ["aikaara-typing-indicator", md],
@@ -16072,7 +16074,7 @@ function lr(a, e, t = "") {
16072
16074
  else return t;
16073
16075
  return typeof o == "string" ? o : t;
16074
16076
  }
16075
- function Fs(a) {
16077
+ function $s(a) {
16076
16078
  try {
16077
16079
  const e = a.split(".")[1];
16078
16080
  if (!e) return 0;
@@ -16105,7 +16107,7 @@ class Fd {
16105
16107
  */
16106
16108
  prime(e, t = {}) {
16107
16109
  if (!e) return;
16108
- const r = Fs(e) || Date.now() + 3600 * 1e3;
16110
+ const r = $s(e) || Date.now() + 3600 * 1e3;
16109
16111
  this.cache = {
16110
16112
  token: e,
16111
16113
  requestId: t.requestId ?? this.cache?.requestId ?? "",
@@ -16134,7 +16136,7 @@ class Fd {
16134
16136
  }
16135
16137
  const l = await s.json().catch(() => ({})), c = lr(l, this.descriptor.tokenPath ?? "data.token"), u = this.descriptor.tokenStripPrefix, h = u ? c.replace(new RegExp(`^${u}`, "i"), "").trim() : c;
16136
16138
  if (!h) throw new Error("Session auth response missing token");
16137
- const p = lr(l, this.descriptor.requestIdPath ?? "data.requestId"), b = this.cache?.requestId || p || "", f = lr(l, this.descriptor.fullNamePath ?? "data.fullName"), g = lr(l, this.descriptor.userPath ?? "data.userId"), y = Fs(h) || Date.now() + 3600 * 1e3;
16139
+ const p = lr(l, this.descriptor.requestIdPath ?? "data.requestId"), b = this.cache?.requestId || p || "", f = lr(l, this.descriptor.fullNamePath ?? "data.fullName"), g = lr(l, this.descriptor.userPath ?? "data.userId"), y = $s(h) || Date.now() + 3600 * 1e3;
16138
16140
  return this.cache = { token: h, requestId: b, fullName: f, userId: g, expiresAt: y }, this.cache;
16139
16141
  }
16140
16142
  }
@@ -16434,7 +16436,7 @@ function tf(a, e, t) {
16434
16436
  } catch {
16435
16437
  return o;
16436
16438
  }
16437
- const i = Cl(n, t);
16439
+ const i = Ol(n, t);
16438
16440
  return typeof i == "string" ? i : void 0;
16439
16441
  } catch {
16440
16442
  return;
@@ -16444,7 +16446,7 @@ async function rf(a, e, t) {
16444
16446
  if (typeof window > "u") return;
16445
16447
  const r = Date.now() + e;
16446
16448
  for (; Date.now() < r; ) {
16447
- const o = Cl(window, a);
16449
+ const o = Ol(window, a);
16448
16450
  if (typeof o == "string" && o.length > 0) return o;
16449
16451
  if (typeof o == "function")
16450
16452
  try {
@@ -16480,7 +16482,7 @@ function nf(a) {
16480
16482
  function of(a) {
16481
16483
  return a ? a.split(/[,\s]+/).map((e) => e.trim()).filter(Boolean) : [];
16482
16484
  }
16483
- function Cl(a, e) {
16485
+ function Ol(a, e) {
16484
16486
  if (!e) return a;
16485
16487
  const t = e.split(".").filter(Boolean);
16486
16488
  let r = a;
@@ -16510,7 +16512,7 @@ function go(a, e, t) {
16510
16512
  const r = `${af}:${a}:${e}`;
16511
16513
  return t ? `${r}:${t}` : r;
16512
16514
  }
16513
- function Ol(a, e, t) {
16515
+ function Pl(a, e, t) {
16514
16516
  try {
16515
16517
  return localStorage.getItem(go(a, e, t));
16516
16518
  } catch {
@@ -16651,7 +16653,7 @@ function cf(a, e) {
16651
16653
  }
16652
16654
  return !1;
16653
16655
  }
16654
- async function Pl(a, e) {
16656
+ async function Ml(a, e) {
16655
16657
  const t = await fetch(a, {
16656
16658
  method: "GET",
16657
16659
  headers: { accept: "application/json", ...e ?? {} }
@@ -16667,10 +16669,10 @@ async function Pl(a, e) {
16667
16669
  }
16668
16670
  return r;
16669
16671
  }
16670
- function Ml(a, e) {
16672
+ function Rl(a, e) {
16671
16673
  return a.replace("{projectId}", e).replace("{uuid}", sf().replace(/-/g, ""));
16672
16674
  }
16673
- function Rl(a) {
16675
+ function Ll(a) {
16674
16676
  const e = a._preload;
16675
16677
  if (!Array.isArray(e) || e.length === 0) return;
16676
16678
  const t = Array.from(
@@ -16678,18 +16680,18 @@ function Rl(a) {
16678
16680
  e.map((r) => r && typeof r == "object" ? r.scriptUrl : null).filter((r) => typeof r == "string" && r.length > 0)
16679
16681
  )
16680
16682
  );
16681
- t.length !== 0 && Promise.allSettled(t.map((r) => Tl(r)));
16683
+ t.length !== 0 && Promise.allSettled(t.map((r) => Cl(r)));
16682
16684
  }
16683
16685
  async function uf(a) {
16684
16686
  const e = {
16685
- ...a.config ?? (a.configUrl ? await Pl(a.configUrl, a.configHeaders) : {}),
16687
+ ...a.config ?? (a.configUrl ? await Ml(a.configUrl, a.configHeaders) : {}),
16686
16688
  ...a.overrides ?? {}
16687
16689
  };
16688
- Rl(e);
16690
+ Ll(e);
16689
16691
  const t = e.transport ?? "tiledesk", r = e.tiledesk;
16690
16692
  if ((t === "tiledesk" || t === "dual") && !r)
16691
16693
  throw new Error("mount: descriptor.tiledesk is required for tiledesk/dual transport");
16692
- const o = r?.projectId ?? "", n = a.identity.userId, i = a.conversationScope || void 0, s = a.forceNewConversation ? null : Ol(n, o, i), l = r?.requestIdTemplate ?? "support-group-{projectId}-{uuid}", c = a.conversationId ?? s ?? Ml(l, o);
16694
+ const o = r?.projectId ?? "", n = a.identity.userId, i = a.conversationScope || void 0, s = a.forceNewConversation ? null : Pl(n, o, i), l = r?.requestIdTemplate ?? "support-group-{projectId}-{uuid}", c = a.conversationId ?? s ?? Rl(l, o);
16693
16695
  (a.conversationId || !s || a.forceNewConversation) && o && lf(n, o, c, i);
16694
16696
  const u = await a.tokenProvider(), h = a.tokenProvider, p = a.historyTokenProvider ?? h, b = r ? {
16695
16697
  mqttEndpoint: r.mqttEndpoint,
@@ -16718,11 +16720,11 @@ async function uf(a) {
16718
16720
  debug: r.debug,
16719
16721
  senderFullname: a.identity.senderFullname ?? a.identity.userName,
16720
16722
  tokenProvider: h
16721
- } : void 0, f = a.uploadAdapter ?? (e.uploadEndpoint ? _l({
16723
+ } : void 0, f = a.uploadAdapter ?? (e.uploadEndpoint ? kl({
16722
16724
  endpoint: e.uploadEndpoint,
16723
16725
  fieldName: e.uploadFieldName,
16724
16726
  extraFields: e.uploadExtraFields
16725
- }) : void 0), g = a.historyAdapter ?? (e.historyApiBase ? yh({
16727
+ }) : void 0), g = a.historyAdapter ?? (e.historyApiBase ? vh({
16726
16728
  apiBase: e.historyApiBase,
16727
16729
  pageSize: e.historyPageSize ?? 200,
16728
16730
  pathTemplate: e.historyPathTemplate,
@@ -16788,7 +16790,7 @@ async function df(a) {
16788
16790
  const e = (a.configBase ?? "https://api.aikaara.com").replace(/\/$/, ""), t = `${e}/api/v1/widget_configs/${encodeURIComponent(a.slug)}`;
16789
16791
  let r = null;
16790
16792
  try {
16791
- r = await Pl(t, a.configHeaders);
16793
+ r = await Ml(t, a.configHeaders);
16792
16794
  } catch (I) {
16793
16795
  if (!a.fallbackConfig) throw I;
16794
16796
  console.warn(
@@ -16801,7 +16803,7 @@ async function df(a) {
16801
16803
  ...r ?? {},
16802
16804
  ...a.overrides ?? {}
16803
16805
  };
16804
- if (Rl(o), o.templates && Object.keys(o.templates).length > 0) {
16806
+ if (Ll(o), o.templates && Object.keys(o.templates).length > 0) {
16805
16807
  o.components = { ...o.components ?? {} };
16806
16808
  for (const [I, O] of Object.entries(o.templates)) {
16807
16809
  const P = `template:${I}`;
@@ -16875,7 +16877,7 @@ async function df(a) {
16875
16877
  }
16876
16878
  const y = new Fd(o.auth, u);
16877
16879
  if (f) {
16878
- const I = o.tiledesk?.projectId ?? "", O = I ? Ol(s, I) : null, P = o.tiledesk?.requestIdTemplate ?? "support-group-{projectId}-{uuid}", N = O ?? (I ? Ml(P, I) : "");
16880
+ const I = o.tiledesk?.projectId ?? "", O = I ? Pl(s, I) : null, P = o.tiledesk?.requestIdTemplate ?? "support-group-{projectId}-{uuid}", N = O ?? (I ? Rl(P, I) : "");
16879
16881
  y.prime(f, { requestId: N, fullName: l });
16880
16882
  }
16881
16883
  const w = await y.get();
@@ -16896,10 +16898,10 @@ async function df(a) {
16896
16898
  } catch (I) {
16897
16899
  return console.warn("[aikaara-chat-sdk] partner auto-refresh failed", I), null;
16898
16900
  }
16899
- } : null, x = o.upload, v = async () => `Bearer ${x && "tokenSource" in x && x.tokenSource === "chat" ? (await y.get()).token : await Dt(a.user.token)}`, E = a.hooks?.upload ?? (x && x.mode === "presigned-3step" ? gh({
16901
+ } : null, x = o.upload, v = async () => `Bearer ${x && "tokenSource" in x && x.tokenSource === "chat" ? (await y.get()).token : await Dt(a.user.token)}`, E = a.hooks?.upload ?? (x && x.mode === "presigned-3step" ? bh({
16900
16902
  ...x,
16901
16903
  authHeader: v
16902
- }) : x && x.mode === "direct" ? _l({
16904
+ }) : x && x.mode === "direct" ? kl({
16903
16905
  endpoint: x.endpoint,
16904
16906
  fieldName: x.fieldName,
16905
16907
  extraFields: x.extraFields,
@@ -16962,49 +16964,49 @@ async function df(a) {
16962
16964
  export {
16963
16965
  bo as A,
16964
16966
  df as B,
16965
- Ll as C,
16967
+ jl as C,
16966
16968
  uf as D,
16967
- $s as E,
16968
- wl as F,
16969
+ qs as E,
16970
+ _l as F,
16969
16971
  pf as G,
16970
- sd as H,
16972
+ ad as H,
16971
16973
  Od as I,
16972
16974
  Ld as J,
16973
16975
  Pd as K,
16974
16976
  Cd as L,
16975
- Vl as M,
16977
+ Gl as M,
16976
16978
  Ad as N,
16977
16979
  Bd as O,
16978
16980
  jd as P,
16979
16981
  Id as Q,
16980
16982
  Ed as R,
16981
16983
  Fd as S,
16982
- sh as T,
16984
+ ah as T,
16983
16985
  _d as U,
16984
- Qh as a,
16985
- dh as b,
16986
- Xh as c,
16986
+ Jh as a,
16987
+ fh as b,
16988
+ Zh as c,
16987
16989
  pd as d,
16988
- Yh as e,
16990
+ Qh as e,
16989
16991
  bd as f,
16990
16992
  dd as g,
16991
- ld as h,
16993
+ cd as h,
16992
16994
  gd as i,
16993
16995
  md as j,
16994
- zl as k,
16995
- Wl as l,
16996
- Gl as m,
16996
+ Vl as k,
16997
+ zl as l,
16998
+ Kl as m,
16997
16999
  Vd as n,
16998
17000
  Ye as o,
16999
17001
  Jd as p,
17000
17002
  ff as q,
17001
17003
  Dd as r,
17002
17004
  $d as s,
17003
- _l as t,
17004
- gh as u,
17005
- yh as v,
17005
+ kl as t,
17006
+ bh as u,
17007
+ vh as v,
17006
17008
  Qd as w,
17007
- uh as x,
17008
- ch as y,
17009
- lh as z
17009
+ hh as x,
17010
+ uh as y,
17011
+ ch as z
17010
17012
  };