@2uinc/frontend-component-xpert-chatbot 1.15.4-beta.2 → 1.15.4-beta.4

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.
Files changed (2) hide show
  1. package/dist/lib/index.min.js +699 -688
  2. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import nt, { createContext as is, useMemo as os, useState as ye, useEffect as Me, useContext as Le, useRef as We, forwardRef as Io, createElement as sr, useCallback as Ht } from "react";
1
+ import nt, { createContext as is, useMemo as os, useState as ye, useEffect as Me, useContext as Oe, useRef as We, forwardRef as Io, createElement as sr, useCallback as Ht } from "react";
2
2
  const as = {
3
3
  xpertKey: "edx",
4
4
  chatApi: {
@@ -580,7 +580,7 @@ function Eo(e, t, n) {
580
580
  Vt.jsx = Eo;
581
581
  Vt.jsxs = Eo;
582
582
  ko.exports = Vt;
583
- var v = ko.exports;
583
+ var T = ko.exports;
584
584
  /*! js-cookie v3.0.5 | MIT */
585
585
  function tn(e) {
586
586
  for (var t = 1; t < arguments.length; t++) {
@@ -651,7 +651,7 @@ function ur(e, t) {
651
651
  }
652
652
  );
653
653
  }
654
- var Ee = ur(Ms, { path: "/" }), Co = { exports: {} }, xs = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", ws = xs, vs = ws;
654
+ var ke = ur(Ms, { path: "/" }), Co = { exports: {} }, xs = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", ws = xs, vs = ws;
655
655
  function Ao() {
656
656
  }
657
657
  function So() {
@@ -701,31 +701,31 @@ const N = /* @__PURE__ */ it(B);
701
701
  var dn = { exports: {} };
702
702
  dn.exports;
703
703
  (function(e, t) {
704
- var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", f = "[object Date]", m = "[object Error]", p = "[object Function]", T = "[object GeneratorFunction]", x = "[object Map]", k = "[object Number]", b = "[object Null]", z = "[object Object]", E = "[object Proxy]", _ = "[object RegExp]", Q = "[object Set]", M = "[object String]", L = "[object Undefined]", Y = "[object WeakMap]", q = "[object ArrayBuffer]", J = "[object DataView]", S = "[object Float32Array]", w = "[object Float64Array]", j = "[object Int8Array]", O = "[object Int16Array]", P = "[object Int32Array]", $ = "[object Uint8Array]", G = "[object Uint8ClampedArray]", Z = "[object Uint16Array]", ie = "[object Uint32Array]", h = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, we = /^(?:0|[1-9]\d*)$/, g = {};
705
- g[S] = g[w] = g[j] = g[O] = g[P] = g[$] = g[G] = g[Z] = g[ie] = !0, g[l] = g[s] = g[q] = g[c] = g[J] = g[f] = g[m] = g[p] = g[x] = g[k] = g[z] = g[_] = g[Q] = g[M] = g[Y] = !1;
706
- var me = typeof en == "object" && en && en.Object === Object && en, De = typeof self == "object" && self && self.Object === Object && self, ae = me || De || Function("return this")(), Ie = t && !t.nodeType && t, ve = Ie && !0 && e && !e.nodeType && e, Fe = ve && ve.exports === Ie, Pe = Fe && me.process, Ke = function() {
704
+ var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", f = "[object Date]", m = "[object Error]", p = "[object Function]", D = "[object GeneratorFunction]", x = "[object Map]", k = "[object Number]", b = "[object Null]", z = "[object Object]", E = "[object Proxy]", _ = "[object RegExp]", Q = "[object Set]", M = "[object String]", L = "[object Undefined]", Y = "[object WeakMap]", q = "[object ArrayBuffer]", ee = "[object DataView]", S = "[object Float32Array]", w = "[object Float64Array]", j = "[object Int8Array]", O = "[object Int16Array]", P = "[object Int32Array]", $ = "[object Uint8Array]", G = "[object Uint8ClampedArray]", Z = "[object Uint16Array]", ie = "[object Uint32Array]", h = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, we = /^(?:0|[1-9]\d*)$/, g = {};
705
+ g[S] = g[w] = g[j] = g[O] = g[P] = g[$] = g[G] = g[Z] = g[ie] = !0, g[l] = g[s] = g[q] = g[c] = g[ee] = g[f] = g[m] = g[p] = g[x] = g[k] = g[z] = g[_] = g[Q] = g[M] = g[Y] = !1;
706
+ var me = typeof en == "object" && en && en.Object === Object && en, De = typeof self == "object" && self && self.Object === Object && self, ae = me || De || Function("return this")(), Ie = t && !t.nodeType && t, ve = Ie && !0 && e && !e.nodeType && e, Le = ve && ve.exports === Ie, _e = Le && me.process, Ke = function() {
707
707
  try {
708
708
  var d = ve && ve.require && ve.require("util").types;
709
- return d || Pe && Pe.binding && Pe.binding("util");
709
+ return d || _e && _e.binding && _e.binding("util");
710
710
  } catch {
711
711
  }
712
712
  }(), lt = Ke && Ke.isTypedArray;
713
- function It(d, y, D) {
714
- switch (D.length) {
713
+ function It(d, y, I) {
714
+ switch (I.length) {
715
715
  case 0:
716
716
  return d.call(y);
717
717
  case 1:
718
- return d.call(y, D[0]);
718
+ return d.call(y, I[0]);
719
719
  case 2:
720
- return d.call(y, D[0], D[1]);
720
+ return d.call(y, I[0], I[1]);
721
721
  case 3:
722
- return d.call(y, D[0], D[1], D[2]);
722
+ return d.call(y, I[0], I[1], I[2]);
723
723
  }
724
- return d.apply(y, D);
724
+ return d.apply(y, I);
725
725
  }
726
726
  function Nt(d, y) {
727
- for (var D = -1, R = Array(d); ++D < d; )
728
- R[D] = y(D);
727
+ for (var I = -1, R = Array(d); ++I < d; )
728
+ R[I] = y(I);
729
729
  return R;
730
730
  }
731
731
  function kt(d) {
@@ -737,37 +737,37 @@ dn.exports;
737
737
  return d == null ? void 0 : d[y];
738
738
  }
739
739
  function yt(d, y) {
740
- return function(D) {
741
- return d(y(D));
740
+ return function(I) {
741
+ return d(y(I));
742
742
  };
743
743
  }
744
744
  var Je = Array.prototype, jt = Function.prototype, $e = Object.prototype, Ze = ae["__core-js_shared__"], F = jt.toString, W = $e.hasOwnProperty, be = function() {
745
745
  var d = /[^.]+$/.exec(Ze && Ze.keys && Ze.keys.IE_PROTO || "");
746
746
  return d ? "Symbol(src)_1." + d : "";
747
- }(), se = $e.toString, Te = F.call(Object), I = RegExp(
747
+ }(), se = $e.toString, Te = F.call(Object), v = RegExp(
748
748
  "^" + F.call(W).replace(h, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
749
- ), C = Fe ? ae.Buffer : void 0, U = ae.Symbol, K = ae.Uint8Array, ee = C ? C.allocUnsafe : void 0, de = yt(Object.getPrototypeOf, Object), Ne = Object.create, ke = $e.propertyIsEnumerable, st = Je.splice, Ae = U ? U.toStringTag : void 0, ce = function() {
749
+ ), C = Le ? ae.Buffer : void 0, U = ae.Symbol, K = ae.Uint8Array, J = C ? C.allocUnsafe : void 0, de = yt(Object.getPrototypeOf, Object), Ye = Object.create, He = $e.propertyIsEnumerable, st = Je.splice, Ee = U ? U.toStringTag : void 0, ce = function() {
750
750
  try {
751
751
  var d = Bn(Object, "defineProperty");
752
752
  return d({}, "", {}), d;
753
753
  } catch {
754
754
  }
755
- }(), Et = C ? C.isBuffer : void 0, Re = Math.max, rl = Date.now, ri = Bn(ae, "Map"), Ct = Bn(Object, "create"), il = function() {
755
+ }(), Et = C ? C.isBuffer : void 0, Fe = Math.max, rl = Date.now, ri = Bn(ae, "Map"), Ct = Bn(Object, "create"), il = function() {
756
756
  function d() {
757
757
  }
758
758
  return function(y) {
759
759
  if (!ct(y))
760
760
  return {};
761
- if (Ne)
762
- return Ne(y);
761
+ if (Ye)
762
+ return Ye(y);
763
763
  d.prototype = y;
764
- var D = new d();
765
- return d.prototype = void 0, D;
764
+ var I = new d();
765
+ return d.prototype = void 0, I;
766
766
  };
767
767
  }();
768
768
  function ut(d) {
769
- var y = -1, D = d == null ? 0 : d.length;
770
- for (this.clear(); ++y < D; ) {
769
+ var y = -1, I = d == null ? 0 : d.length;
770
+ for (this.clear(); ++y < I; ) {
771
771
  var R = d[y];
772
772
  this.set(R[0], R[1]);
773
773
  }
@@ -782,8 +782,8 @@ dn.exports;
782
782
  function ll(d) {
783
783
  var y = this.__data__;
784
784
  if (Ct) {
785
- var D = y[d];
786
- return D === r ? void 0 : D;
785
+ var I = y[d];
786
+ return I === r ? void 0 : I;
787
787
  }
788
788
  return W.call(y, d) ? y[d] : void 0;
789
789
  }
@@ -792,13 +792,13 @@ dn.exports;
792
792
  return Ct ? y[d] !== void 0 : W.call(y, d);
793
793
  }
794
794
  function ul(d, y) {
795
- var D = this.__data__;
796
- return this.size += this.has(d) ? 0 : 1, D[d] = Ct && y === void 0 ? r : y, this;
795
+ var I = this.__data__;
796
+ return this.size += this.has(d) ? 0 : 1, I[d] = Ct && y === void 0 ? r : y, this;
797
797
  }
798
798
  ut.prototype.clear = ol, ut.prototype.delete = al, ut.prototype.get = ll, ut.prototype.has = sl, ut.prototype.set = ul;
799
799
  function Xe(d) {
800
- var y = -1, D = d == null ? 0 : d.length;
801
- for (this.clear(); ++y < D; ) {
800
+ var y = -1, I = d == null ? 0 : d.length;
801
+ for (this.clear(); ++y < I; ) {
802
802
  var R = d[y];
803
803
  this.set(R[0], R[1]);
804
804
  }
@@ -807,27 +807,27 @@ dn.exports;
807
807
  this.__data__ = [], this.size = 0;
808
808
  }
809
809
  function pl(d) {
810
- var y = this.__data__, D = Zt(y, d);
811
- if (D < 0)
810
+ var y = this.__data__, I = Zt(y, d);
811
+ if (I < 0)
812
812
  return !1;
813
813
  var R = y.length - 1;
814
- return D == R ? y.pop() : st.call(y, D, 1), --this.size, !0;
814
+ return I == R ? y.pop() : st.call(y, I, 1), --this.size, !0;
815
815
  }
816
816
  function fl(d) {
817
- var y = this.__data__, D = Zt(y, d);
818
- return D < 0 ? void 0 : y[D][1];
817
+ var y = this.__data__, I = Zt(y, d);
818
+ return I < 0 ? void 0 : y[I][1];
819
819
  }
820
820
  function dl(d) {
821
821
  return Zt(this.__data__, d) > -1;
822
822
  }
823
823
  function hl(d, y) {
824
- var D = this.__data__, R = Zt(D, d);
825
- return R < 0 ? (++this.size, D.push([d, y])) : D[R][1] = y, this;
824
+ var I = this.__data__, R = Zt(I, d);
825
+ return R < 0 ? (++this.size, I.push([d, y])) : I[R][1] = y, this;
826
826
  }
827
827
  Xe.prototype.clear = cl, Xe.prototype.delete = pl, Xe.prototype.get = fl, Xe.prototype.has = dl, Xe.prototype.set = hl;
828
828
  function bt(d) {
829
- var y = -1, D = d == null ? 0 : d.length;
830
- for (this.clear(); ++y < D; ) {
829
+ var y = -1, I = d == null ? 0 : d.length;
830
+ for (this.clear(); ++y < I; ) {
831
831
  var R = d[y];
832
832
  this.set(R[0], R[1]);
833
833
  }
@@ -850,8 +850,8 @@ dn.exports;
850
850
  return Kt(this, d).has(d);
851
851
  }
852
852
  function Ml(d, y) {
853
- var D = Kt(this, d), R = D.size;
854
- return D.set(d, y), this.size += D.size == R ? 0 : 1, this;
853
+ var I = Kt(this, d), R = I.size;
854
+ return I.set(d, y), this.size += I.size == R ? 0 : 1, this;
855
855
  }
856
856
  bt.prototype.clear = gl, bt.prototype.delete = ml, bt.prototype.get = yl, bt.prototype.has = bl, bt.prototype.set = Ml;
857
857
  function Mt(d) {
@@ -862,8 +862,8 @@ dn.exports;
862
862
  this.__data__ = new Xe(), this.size = 0;
863
863
  }
864
864
  function wl(d) {
865
- var y = this.__data__, D = y.delete(d);
866
- return this.size = y.size, D;
865
+ var y = this.__data__, I = y.delete(d);
866
+ return this.size = y.size, I;
867
867
  }
868
868
  function vl(d) {
869
869
  return this.__data__.get(d);
@@ -872,50 +872,50 @@ dn.exports;
872
872
  return this.__data__.has(d);
873
873
  }
874
874
  function Dl(d, y) {
875
- var D = this.__data__;
876
- if (D instanceof Xe) {
877
- var R = D.__data__;
875
+ var I = this.__data__;
876
+ if (I instanceof Xe) {
877
+ var R = I.__data__;
878
878
  if (!ri || R.length < n - 1)
879
- return R.push([d, y]), this.size = ++D.size, this;
880
- D = this.__data__ = new bt(R);
879
+ return R.push([d, y]), this.size = ++I.size, this;
880
+ I = this.__data__ = new bt(R);
881
881
  }
882
- return D.set(d, y), this.size = D.size, this;
882
+ return I.set(d, y), this.size = I.size, this;
883
883
  }
884
884
  Mt.prototype.clear = xl, Mt.prototype.delete = wl, Mt.prototype.get = vl, Mt.prototype.has = Tl, Mt.prototype.set = Dl;
885
885
  function Il(d, y) {
886
- var D = Hn(d), R = !D && Yn(d), re = !D && !R && si(d), ue = !D && !R && !re && ci(d), he = D || R || re || ue, te = he ? Nt(d.length, String) : [], ge = te.length;
887
- for (var Ue in d)
888
- (y || W.call(d, Ue)) && !(he && // Safari 9 has enumerable `arguments.length` in strict mode.
889
- (Ue == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
890
- re && (Ue == "offset" || Ue == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
891
- ue && (Ue == "buffer" || Ue == "byteLength" || Ue == "byteOffset") || // Skip index properties.
892
- ai(Ue, ge))) && te.push(Ue);
886
+ var I = Hn(d), R = !I && Yn(d), re = !I && !R && si(d), ue = !I && !R && !re && ci(d), he = I || R || re || ue, te = he ? Nt(d.length, String) : [], ge = te.length;
887
+ for (var Pe in d)
888
+ (y || W.call(d, Pe)) && !(he && // Safari 9 has enumerable `arguments.length` in strict mode.
889
+ (Pe == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
890
+ re && (Pe == "offset" || Pe == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
891
+ ue && (Pe == "buffer" || Pe == "byteLength" || Pe == "byteOffset") || // Skip index properties.
892
+ ai(Pe, ge))) && te.push(Pe);
893
893
  return te;
894
894
  }
895
- function Rn(d, y, D) {
896
- (D !== void 0 && !Jt(d[y], D) || D === void 0 && !(y in d)) && Un(d, y, D);
895
+ function Rn(d, y, I) {
896
+ (I !== void 0 && !Jt(d[y], I) || I === void 0 && !(y in d)) && Un(d, y, I);
897
897
  }
898
- function Nl(d, y, D) {
898
+ function Nl(d, y, I) {
899
899
  var R = d[y];
900
- (!(W.call(d, y) && Jt(R, D)) || D === void 0 && !(y in d)) && Un(d, y, D);
900
+ (!(W.call(d, y) && Jt(R, I)) || I === void 0 && !(y in d)) && Un(d, y, I);
901
901
  }
902
902
  function Zt(d, y) {
903
- for (var D = d.length; D--; )
904
- if (Jt(d[D][0], y))
905
- return D;
903
+ for (var I = d.length; I--; )
904
+ if (Jt(d[I][0], y))
905
+ return I;
906
906
  return -1;
907
907
  }
908
- function Un(d, y, D) {
908
+ function Un(d, y, I) {
909
909
  y == "__proto__" && ce ? ce(d, y, {
910
910
  configurable: !0,
911
911
  enumerable: !0,
912
- value: D,
912
+ value: I,
913
913
  writable: !0
914
- }) : d[y] = D;
914
+ }) : d[y] = I;
915
915
  }
916
916
  var kl = Ul();
917
917
  function Xt(d) {
918
- return d == null ? d === void 0 ? L : b : Ae && Ae in Object(d) ? Bl(d) : Vl(d);
918
+ return d == null ? d === void 0 ? L : b : Ee && Ee in Object(d) ? Bl(d) : Vl(d);
919
919
  }
920
920
  function ii(d) {
921
921
  return At(d) && Xt(d) == l;
@@ -923,7 +923,7 @@ dn.exports;
923
923
  function jl(d) {
924
924
  if (!ct(d) || $l(d))
925
925
  return !1;
926
- var y = qn(d) ? I : ne;
926
+ var y = qn(d) ? v : ne;
927
927
  return y.test(Xl(d));
928
928
  }
929
929
  function El(d) {
@@ -932,33 +932,33 @@ dn.exports;
932
932
  function Cl(d) {
933
933
  if (!ct(d))
934
934
  return ql(d);
935
- var y = li(d), D = [];
935
+ var y = li(d), I = [];
936
936
  for (var R in d)
937
- R == "constructor" && (y || !W.call(d, R)) || D.push(R);
938
- return D;
937
+ R == "constructor" && (y || !W.call(d, R)) || I.push(R);
938
+ return I;
939
939
  }
940
- function oi(d, y, D, R, re) {
940
+ function oi(d, y, I, R, re) {
941
941
  d !== y && kl(y, function(ue, he) {
942
942
  if (re || (re = new Mt()), ct(ue))
943
- Al(d, y, he, D, oi, R, re);
943
+ Al(d, y, he, I, oi, R, re);
944
944
  else {
945
945
  var te = R ? R(Qn(d, he), ue, he + "", d, y, re) : void 0;
946
946
  te === void 0 && (te = ue), Rn(d, he, te);
947
947
  }
948
948
  }, pi);
949
949
  }
950
- function Al(d, y, D, R, re, ue, he) {
951
- var te = Qn(d, D), ge = Qn(y, D), Ue = he.get(ge);
952
- if (Ue) {
953
- Rn(d, D, Ue);
950
+ function Al(d, y, I, R, re, ue, he) {
951
+ var te = Qn(d, I), ge = Qn(y, I), Pe = he.get(ge);
952
+ if (Pe) {
953
+ Rn(d, I, Pe);
954
954
  return;
955
955
  }
956
- var Se = ue ? ue(te, ge, D + "", d, y, he) : void 0, St = Se === void 0;
956
+ var Ce = ue ? ue(te, ge, I + "", d, y, he) : void 0, St = Ce === void 0;
957
957
  if (St) {
958
958
  var Vn = Hn(ge), Wn = !Vn && si(ge), di = !Vn && !Wn && ci(ge);
959
- Se = ge, Vn || Wn || di ? Hn(te) ? Se = te : Kl(te) ? Se = Fl(te) : Wn ? (St = !1, Se = zl(ge, !0)) : di ? (St = !1, Se = _l(ge, !0)) : Se = [] : Jl(ge) || Yn(ge) ? (Se = te, Yn(te) ? Se = es(te) : (!ct(te) || qn(te)) && (Se = Ql(ge))) : St = !1;
959
+ Ce = ge, Vn || Wn || di ? Hn(te) ? Ce = te : Kl(te) ? Ce = Fl(te) : Wn ? (St = !1, Ce = zl(ge, !0)) : di ? (St = !1, Ce = _l(ge, !0)) : Ce = [] : Jl(ge) || Yn(ge) ? (Ce = te, Yn(te) ? Ce = es(te) : (!ct(te) || qn(te)) && (Ce = Ql(ge))) : St = !1;
960
960
  }
961
- St && (he.set(ge, Se), re(Se, ge, R, ue, he), he.delete(ge)), Rn(d, D, Se);
961
+ St && (he.set(ge, Ce), re(Ce, ge, R, ue, he), he.delete(ge)), Rn(d, I, Ce);
962
962
  }
963
963
  function Sl(d, y) {
964
964
  return Gl(Wl(d, y, fi), d + "");
@@ -974,7 +974,7 @@ dn.exports;
974
974
  function zl(d, y) {
975
975
  if (y)
976
976
  return d.slice();
977
- var D = d.length, R = ee ? ee(D) : new d.constructor(D);
977
+ var I = d.length, R = J ? J(I) : new d.constructor(I);
978
978
  return d.copy(R), R;
979
979
  }
980
980
  function Ll(d) {
@@ -982,74 +982,74 @@ dn.exports;
982
982
  return new K(y).set(new K(d)), y;
983
983
  }
984
984
  function _l(d, y) {
985
- var D = y ? Ll(d.buffer) : d.buffer;
986
- return new d.constructor(D, d.byteOffset, d.length);
985
+ var I = y ? Ll(d.buffer) : d.buffer;
986
+ return new d.constructor(I, d.byteOffset, d.length);
987
987
  }
988
988
  function Fl(d, y) {
989
- var D = -1, R = d.length;
990
- for (y || (y = Array(R)); ++D < R; )
991
- y[D] = d[D];
989
+ var I = -1, R = d.length;
990
+ for (y || (y = Array(R)); ++I < R; )
991
+ y[I] = d[I];
992
992
  return y;
993
993
  }
994
- function Pl(d, y, D, R) {
995
- var re = !D;
996
- D || (D = {});
994
+ function Pl(d, y, I, R) {
995
+ var re = !I;
996
+ I || (I = {});
997
997
  for (var ue = -1, he = y.length; ++ue < he; ) {
998
- var te = y[ue], ge = R ? R(D[te], d[te], te, D, d) : void 0;
999
- ge === void 0 && (ge = d[te]), re ? Un(D, te, ge) : Nl(D, te, ge);
998
+ var te = y[ue], ge = R ? R(I[te], d[te], te, I, d) : void 0;
999
+ ge === void 0 && (ge = d[te]), re ? Un(I, te, ge) : Nl(I, te, ge);
1000
1000
  }
1001
- return D;
1001
+ return I;
1002
1002
  }
1003
1003
  function Rl(d) {
1004
- return Sl(function(y, D) {
1005
- var R = -1, re = D.length, ue = re > 1 ? D[re - 1] : void 0, he = re > 2 ? D[2] : void 0;
1006
- for (ue = d.length > 3 && typeof ue == "function" ? (re--, ue) : void 0, he && Yl(D[0], D[1], he) && (ue = re < 3 ? void 0 : ue, re = 1), y = Object(y); ++R < re; ) {
1007
- var te = D[R];
1004
+ return Sl(function(y, I) {
1005
+ var R = -1, re = I.length, ue = re > 1 ? I[re - 1] : void 0, he = re > 2 ? I[2] : void 0;
1006
+ for (ue = d.length > 3 && typeof ue == "function" ? (re--, ue) : void 0, he && Yl(I[0], I[1], he) && (ue = re < 3 ? void 0 : ue, re = 1), y = Object(y); ++R < re; ) {
1007
+ var te = I[R];
1008
1008
  te && d(y, te, R, ue);
1009
1009
  }
1010
1010
  return y;
1011
1011
  });
1012
1012
  }
1013
1013
  function Ul(d) {
1014
- return function(y, D, R) {
1014
+ return function(y, I, R) {
1015
1015
  for (var re = -1, ue = Object(y), he = R(y), te = he.length; te--; ) {
1016
1016
  var ge = he[d ? te : ++re];
1017
- if (D(ue[ge], ge, ue) === !1)
1017
+ if (I(ue[ge], ge, ue) === !1)
1018
1018
  break;
1019
1019
  }
1020
1020
  return y;
1021
1021
  };
1022
1022
  }
1023
1023
  function Kt(d, y) {
1024
- var D = d.__data__;
1025
- return Hl(y) ? D[typeof y == "string" ? "string" : "hash"] : D.map;
1024
+ var I = d.__data__;
1025
+ return Hl(y) ? I[typeof y == "string" ? "string" : "hash"] : I.map;
1026
1026
  }
1027
1027
  function Bn(d, y) {
1028
- var D = mt(d, y);
1029
- return jl(D) ? D : void 0;
1028
+ var I = mt(d, y);
1029
+ return jl(I) ? I : void 0;
1030
1030
  }
1031
1031
  function Bl(d) {
1032
- var y = W.call(d, Ae), D = d[Ae];
1032
+ var y = W.call(d, Ee), I = d[Ee];
1033
1033
  try {
1034
- d[Ae] = void 0;
1034
+ d[Ee] = void 0;
1035
1035
  var R = !0;
1036
1036
  } catch {
1037
1037
  }
1038
1038
  var re = se.call(d);
1039
- return R && (y ? d[Ae] = D : delete d[Ae]), re;
1039
+ return R && (y ? d[Ee] = I : delete d[Ee]), re;
1040
1040
  }
1041
1041
  function Ql(d) {
1042
1042
  return typeof d.constructor == "function" && !li(d) ? il(de(d)) : {};
1043
1043
  }
1044
1044
  function ai(d, y) {
1045
- var D = typeof d;
1046
- return y = y ?? a, !!y && (D == "number" || D != "symbol" && we.test(d)) && d > -1 && d % 1 == 0 && d < y;
1045
+ var I = typeof d;
1046
+ return y = y ?? a, !!y && (I == "number" || I != "symbol" && we.test(d)) && d > -1 && d % 1 == 0 && d < y;
1047
1047
  }
1048
- function Yl(d, y, D) {
1049
- if (!ct(D))
1048
+ function Yl(d, y, I) {
1049
+ if (!ct(I))
1050
1050
  return !1;
1051
1051
  var R = typeof y;
1052
- return (R == "number" ? $n(D) && ai(y, D.length) : R == "string" && y in D) ? Jt(D[y], d) : !1;
1052
+ return (R == "number" ? $n(I) && ai(y, I.length) : R == "string" && y in I) ? Jt(I[y], d) : !1;
1053
1053
  }
1054
1054
  function Hl(d) {
1055
1055
  var y = typeof d;
@@ -1059,27 +1059,27 @@ dn.exports;
1059
1059
  return !!be && be in d;
1060
1060
  }
1061
1061
  function li(d) {
1062
- var y = d && d.constructor, D = typeof y == "function" && y.prototype || $e;
1063
- return d === D;
1062
+ var y = d && d.constructor, I = typeof y == "function" && y.prototype || $e;
1063
+ return d === I;
1064
1064
  }
1065
1065
  function ql(d) {
1066
1066
  var y = [];
1067
1067
  if (d != null)
1068
- for (var D in Object(d))
1069
- y.push(D);
1068
+ for (var I in Object(d))
1069
+ y.push(I);
1070
1070
  return y;
1071
1071
  }
1072
1072
  function Vl(d) {
1073
1073
  return se.call(d);
1074
1074
  }
1075
- function Wl(d, y, D) {
1076
- return y = Re(y === void 0 ? d.length - 1 : y, 0), function() {
1077
- for (var R = arguments, re = -1, ue = Re(R.length - y, 0), he = Array(ue); ++re < ue; )
1075
+ function Wl(d, y, I) {
1076
+ return y = Fe(y === void 0 ? d.length - 1 : y, 0), function() {
1077
+ for (var R = arguments, re = -1, ue = Fe(R.length - y, 0), he = Array(ue); ++re < ue; )
1078
1078
  he[re] = R[y + re];
1079
1079
  re = -1;
1080
1080
  for (var te = Array(y + 1); ++re < y; )
1081
1081
  te[re] = R[re];
1082
- return te[y] = D(he), It(d, this, te);
1082
+ return te[y] = I(he), It(d, this, te);
1083
1083
  };
1084
1084
  }
1085
1085
  function Qn(d, y) {
@@ -1088,10 +1088,10 @@ dn.exports;
1088
1088
  }
1089
1089
  var Gl = Zl(Ol);
1090
1090
  function Zl(d) {
1091
- var y = 0, D = 0;
1091
+ var y = 0, I = 0;
1092
1092
  return function() {
1093
- var R = rl(), re = o - (R - D);
1094
- if (D = R, re > 0) {
1093
+ var R = rl(), re = o - (R - I);
1094
+ if (I = R, re > 0) {
1095
1095
  if (++y >= i)
1096
1096
  return arguments[0];
1097
1097
  } else
@@ -1118,7 +1118,7 @@ dn.exports;
1118
1118
  var Yn = ii(function() {
1119
1119
  return arguments;
1120
1120
  }()) ? ii : function(d) {
1121
- return At(d) && W.call(d, "callee") && !ke.call(d, "callee");
1121
+ return At(d) && W.call(d, "callee") && !He.call(d, "callee");
1122
1122
  }, Hn = Array.isArray;
1123
1123
  function $n(d) {
1124
1124
  return d != null && ui(d.length) && !qn(d);
@@ -1131,7 +1131,7 @@ dn.exports;
1131
1131
  if (!ct(d))
1132
1132
  return !1;
1133
1133
  var y = Xt(d);
1134
- return y == p || y == T || y == u || y == E;
1134
+ return y == p || y == D || y == u || y == E;
1135
1135
  }
1136
1136
  function ui(d) {
1137
1137
  return typeof d == "number" && d > -1 && d % 1 == 0 && d <= a;
@@ -1149,8 +1149,8 @@ dn.exports;
1149
1149
  var y = de(d);
1150
1150
  if (y === null)
1151
1151
  return !0;
1152
- var D = W.call(y, "constructor") && y.constructor;
1153
- return typeof D == "function" && D instanceof D && F.call(D) == Te;
1152
+ var I = W.call(y, "constructor") && y.constructor;
1153
+ return typeof I == "function" && I instanceof I && F.call(I) == Te;
1154
1154
  }
1155
1155
  var ci = lt ? kt(lt) : El;
1156
1156
  function es(d) {
@@ -1159,8 +1159,8 @@ dn.exports;
1159
1159
  function pi(d) {
1160
1160
  return $n(d) ? Il(d, !0) : Cl(d);
1161
1161
  }
1162
- var ts = Rl(function(d, y, D) {
1163
- oi(d, y, D);
1162
+ var ts = Rl(function(d, y, I) {
1163
+ oi(d, y, I);
1164
1164
  });
1165
1165
  function ns(d) {
1166
1166
  return function() {
@@ -1309,7 +1309,7 @@ const Oo = /* @__PURE__ */ it(Ds), Is = {
1309
1309
  () => js(n, t),
1310
1310
  [t, n]
1311
1311
  );
1312
- return /* @__PURE__ */ v.jsx(zo.Provider, { value: { ...r }, children: e });
1312
+ return /* @__PURE__ */ T.jsx(zo.Provider, { value: { ...r }, children: e });
1313
1313
  };
1314
1314
  Lo.propTypes = {
1315
1315
  children: B.element.isRequired,
@@ -1388,7 +1388,7 @@ Lo.propTypes = {
1388
1388
  }).isRequired
1389
1389
  })
1390
1390
  };
1391
- const _e = zo;
1391
+ const ze = zo;
1392
1392
  var _o = { exports: {} };
1393
1393
  /*!
1394
1394
  Copyright (c) 2018 Jed Watson.
@@ -1446,7 +1446,7 @@ function wn({
1446
1446
  ...o
1447
1447
  }) {
1448
1448
  const a = ot();
1449
- return /* @__PURE__ */ v.jsx(
1449
+ return /* @__PURE__ */ T.jsx(
1450
1450
  "button",
1451
1451
  {
1452
1452
  id: "xpert_chatbot__floating-action-btn",
@@ -1487,8 +1487,8 @@ const Ot = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMj
1487
1487
  "degrees-moodle-support": Ot
1488
1488
  }, jr = ({ handleFloatingActionButtonClick: e }) => {
1489
1489
  var i, o;
1490
- const { xpertKey: t, launchButton: n } = Le(_e), r = ot();
1491
- return /* @__PURE__ */ v.jsx(
1490
+ const { xpertKey: t, launchButton: n } = Oe(ze), r = ot();
1491
+ return /* @__PURE__ */ T.jsx(
1492
1492
  wn,
1493
1493
  {
1494
1494
  onClick: e,
@@ -1497,7 +1497,7 @@ const Ot = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMj
1497
1497
  "aria-haspopup": "dialog",
1498
1498
  "aria-expanded": open,
1499
1499
  className: "xpert-chatbot-button",
1500
- children: /* @__PURE__ */ v.jsx(
1500
+ children: /* @__PURE__ */ T.jsx(
1501
1501
  "img",
1502
1502
  {
1503
1503
  "data-ot-ignore": "",
@@ -1522,8 +1522,8 @@ const Os = 1500, zs = `The parent container is wider than the chatbot launch but
1522
1522
  eyes follow your mouse when you hover near it.`, Er = ({
1523
1523
  handleFloatingActionButtonClick: e
1524
1524
  }) => {
1525
- var m, p, T, x, k, b, z;
1526
- const { xpertKey: t, launchButton: n } = Le(_e), r = !Ee.get(
1525
+ var m, p, D, x, k, b, z;
1526
+ const { xpertKey: t, launchButton: n } = Oe(ze), r = !ke.get(
1527
1527
  `${t}-proactive-message-xpert-chatbot`
1528
1528
  ), i = We(null), o = We(!1), a = r ? (m = n.animatedGraduate) == null ? void 0 : m.delayMs : ((p = n.animatedGraduate) == null ? void 0 : p.delayMs) * 2, [l, s] = ye(!1), u = ot();
1529
1529
  Me(() => {
@@ -1546,8 +1546,8 @@ eyes follow your mouse when you hover near it.`, Er = ({
1546
1546
  i.current.querySelectorAll(
1547
1547
  ".xpert_chatbot__animated_graduate__pupil"
1548
1548
  ).forEach((Y) => {
1549
- const q = Y.getBoundingClientRect(), J = (_.pageX - window.scrollX - q.left) / 30 / 16 + "rem", S = (_.pageY - window.scrollY - q.top) / 30 / 16 + "rem";
1550
- Y.style.transform = "translate3d(" + J + "," + S + ", 0rem)";
1549
+ const q = Y.getBoundingClientRect(), ee = (_.pageX - window.scrollX - q.left) / 30 / 16 + "rem", S = (_.pageY - window.scrollY - q.top) / 30 / 16 + "rem";
1550
+ Y.style.transform = "translate3d(" + ee + "," + S + ", 0rem)";
1551
1551
  });
1552
1552
  };
1553
1553
  return window.addEventListener("mousemove", E), () => {
@@ -1559,7 +1559,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
1559
1559
  }, f = () => {
1560
1560
  o.current = !1;
1561
1561
  };
1562
- return /* @__PURE__ */ v.jsxs(
1562
+ return /* @__PURE__ */ T.jsxs(
1563
1563
  "div",
1564
1564
  {
1565
1565
  role: "region",
@@ -1568,17 +1568,17 @@ eyes follow your mouse when you hover near it.`, Er = ({
1568
1568
  onMouseEnter: c,
1569
1569
  onMouseLeave: f,
1570
1570
  children: [
1571
- /* @__PURE__ */ v.jsx("div", { className: "xpert_chatbot__a11y-sr-only", children: zs }),
1572
- /* @__PURE__ */ v.jsx(
1571
+ /* @__PURE__ */ T.jsx("div", { className: "xpert_chatbot__a11y-sr-only", children: zs }),
1572
+ /* @__PURE__ */ T.jsx(
1573
1573
  wn,
1574
1574
  {
1575
1575
  onClick: e,
1576
1576
  label: "Open XPERT Chatbot",
1577
1577
  className: "xpert-chatbot-button__animated_graduate__launch-button",
1578
- style: u ? { ...(x = (T = n.style) == null ? void 0 : T.mobile) == null ? void 0 : x.animatedGraduateExperiment } : { ...(k = n.style) == null ? void 0 : k.animatedGraduateExperiment },
1578
+ style: u ? { ...(x = (D = n.style) == null ? void 0 : D.mobile) == null ? void 0 : x.animatedGraduateExperiment } : { ...(k = n.style) == null ? void 0 : k.animatedGraduateExperiment },
1579
1579
  "aria-haspopup": "dialog",
1580
1580
  "aria-expanded": open,
1581
- children: /* @__PURE__ */ v.jsx("div", { ref: i, children: /* @__PURE__ */ v.jsxs(
1581
+ children: /* @__PURE__ */ T.jsx("div", { ref: i, children: /* @__PURE__ */ T.jsxs(
1582
1582
  "svg",
1583
1583
  {
1584
1584
  style: {
@@ -1589,7 +1589,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
1589
1589
  xmlns: "http://www.w3.org/2000/svg",
1590
1590
  className: "xpert_chatbot__animated_graduate",
1591
1591
  children: [
1592
- /* @__PURE__ */ v.jsx(
1592
+ /* @__PURE__ */ T.jsx(
1593
1593
  "path",
1594
1594
  {
1595
1595
  d: "M28.7098 11.9636C29.3493 11.5582 30.1637 11.5523 30.8091 11.9482L57.7788 28.4938C59.0325 29.2629 59.0425 31.081 57.7974 31.8639L29.379 49.733C28.6963 50.1623 27.8215 50.1355 27.1663 49.6652L2.38715 31.8772C1.24528 31.0575 1.29468 29.343 2.48186 28.5904L28.7098 11.9636Z",
@@ -1597,7 +1597,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
1597
1597
  className: "xpert_chatbot__animated_graduate__cap"
1598
1598
  }
1599
1599
  ),
1600
- /* @__PURE__ */ v.jsx(
1600
+ /* @__PURE__ */ T.jsx(
1601
1601
  "path",
1602
1602
  {
1603
1603
  fillRule: "evenodd",
@@ -1607,7 +1607,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
1607
1607
  className: "xpert_chatbot__animated_graduate__face"
1608
1608
  }
1609
1609
  ),
1610
- /* @__PURE__ */ v.jsx(
1610
+ /* @__PURE__ */ T.jsx(
1611
1611
  "circle",
1612
1612
  {
1613
1613
  className: `xpert_chatbot__animated_graduate__eyeball ${l ? "xpert_chatbot__animated_graduate__eyeball_blink" : ""}`,
@@ -1617,7 +1617,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
1617
1617
  fill: "white"
1618
1618
  }
1619
1619
  ),
1620
- /* @__PURE__ */ v.jsx(
1620
+ /* @__PURE__ */ T.jsx(
1621
1621
  "mask",
1622
1622
  {
1623
1623
  id: "mask0_2271_69",
@@ -1626,10 +1626,10 @@ eyes follow your mouse when you hover near it.`, Er = ({
1626
1626
  y: "37",
1627
1627
  width: "15",
1628
1628
  height: "14",
1629
- children: /* @__PURE__ */ v.jsx("circle", { cx: "34.7137", cy: "44.0494", r: "6.94275", fill: "white" })
1629
+ children: /* @__PURE__ */ T.jsx("circle", { cx: "34.7137", cy: "44.0494", r: "6.94275", fill: "white" })
1630
1630
  }
1631
1631
  ),
1632
- /* @__PURE__ */ v.jsx("g", { mask: "url(#mask0_2271_69)", children: /* @__PURE__ */ v.jsx(
1632
+ /* @__PURE__ */ T.jsx("g", { mask: "url(#mask0_2271_69)", children: /* @__PURE__ */ T.jsx(
1633
1633
  "circle",
1634
1634
  {
1635
1635
  role: "img",
@@ -1641,7 +1641,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
1641
1641
  fill: "black"
1642
1642
  }
1643
1643
  ) }),
1644
- /* @__PURE__ */ v.jsx(
1644
+ /* @__PURE__ */ T.jsx(
1645
1645
  "circle",
1646
1646
  {
1647
1647
  className: `xpert_chatbot__animated_graduate__eyeball ${l ? "xpert_chatbot__animated_graduate__eyeball_blink" : ""}`,
@@ -1651,7 +1651,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
1651
1651
  fill: "white"
1652
1652
  }
1653
1653
  ),
1654
- /* @__PURE__ */ v.jsx(
1654
+ /* @__PURE__ */ T.jsx(
1655
1655
  "mask",
1656
1656
  {
1657
1657
  id: "mask1_2271_69",
@@ -1660,10 +1660,10 @@ eyes follow your mouse when you hover near it.`, Er = ({
1660
1660
  y: "37",
1661
1661
  width: "15",
1662
1662
  height: "14",
1663
- children: /* @__PURE__ */ v.jsx("circle", { cx: "18.8446", cy: "44.0494", r: "6.94275", fill: "white" })
1663
+ children: /* @__PURE__ */ T.jsx("circle", { cx: "18.8446", cy: "44.0494", r: "6.94275", fill: "white" })
1664
1664
  }
1665
1665
  ),
1666
- /* @__PURE__ */ v.jsx("g", { mask: "url(#mask1_2271_69)", children: /* @__PURE__ */ v.jsx(
1666
+ /* @__PURE__ */ T.jsx("g", { mask: "url(#mask1_2271_69)", children: /* @__PURE__ */ T.jsx(
1667
1667
  "circle",
1668
1668
  {
1669
1669
  role: "img",
@@ -1675,7 +1675,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
1675
1675
  fill: "black"
1676
1676
  }
1677
1677
  ) }),
1678
- /* @__PURE__ */ v.jsx(
1678
+ /* @__PURE__ */ T.jsx(
1679
1679
  "circle",
1680
1680
  {
1681
1681
  className: `xpert_chatbot__animated_graduate__mouth ${l ? "xpert_chatbot__animated_graduate__mouth_move" : ""}`,
@@ -1685,7 +1685,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
1685
1685
  fill: "#5DE3C0"
1686
1686
  }
1687
1687
  ),
1688
- /* @__PURE__ */ v.jsx(
1688
+ /* @__PURE__ */ T.jsx(
1689
1689
  "circle",
1690
1690
  {
1691
1691
  className: `xpert_chatbot__animated_graduate__mouth ${l ? "xpert_chatbot__animated_graduate__mouth_move" : ""}`,
@@ -1695,7 +1695,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
1695
1695
  fill: "#5DE3C0"
1696
1696
  }
1697
1697
  ),
1698
- /* @__PURE__ */ v.jsx(
1698
+ /* @__PURE__ */ T.jsx(
1699
1699
  "circle",
1700
1700
  {
1701
1701
  className: `xpert_chatbot__animated_graduate__mouth ${l ? "xpert_chatbot__animated_graduate__mouth_move" : ""}`,
@@ -1705,7 +1705,7 @@ eyes follow your mouse when you hover near it.`, Er = ({
1705
1705
  fill: "#5DE3C0"
1706
1706
  }
1707
1707
  ),
1708
- /* @__PURE__ */ v.jsx(
1708
+ /* @__PURE__ */ T.jsx(
1709
1709
  "path",
1710
1710
  {
1711
1711
  className: "xpert_chatbot__animated_graduate__cap_tassel",
@@ -1731,8 +1731,8 @@ Er.defaultProps = {
1731
1731
  const Ls = Er;
1732
1732
  const _s = () => {
1733
1733
  var n;
1734
- const e = ot(), { launchButton: t } = Le(_e);
1735
- return (n = t.message) != null && n.enabled ? /* @__PURE__ */ v.jsx(
1734
+ const e = ot(), { launchButton: t } = Oe(ze);
1735
+ return (n = t.message) != null && n.enabled ? /* @__PURE__ */ T.jsx(
1736
1736
  "div",
1737
1737
  {
1738
1738
  role: "alert",
@@ -2178,7 +2178,7 @@ var xi = {
2178
2178
  var j = w.activeElement;
2179
2179
  if (j)
2180
2180
  return j.shadowRoot && j.shadowRoot.activeElement !== null ? S(j.shadowRoot) : j;
2181
- }, T = function S(w) {
2181
+ }, D = function S(w) {
2182
2182
  if (w !== !1 && w !== p(document)) {
2183
2183
  if (!w || !w.focus) {
2184
2184
  S(f());
@@ -2269,7 +2269,7 @@ var xi = {
2269
2269
  // outside the trap causing the focus escape we're trying to fix)
2270
2270
  target: a.mostRecentlyFocusedNode,
2271
2271
  isBackward: o.isKeyBackward(a.recentNavEvent)
2272
- })), T(P || a.mostRecentlyFocusedNode || f());
2272
+ })), D(P || a.mostRecentlyFocusedNode || f());
2273
2273
  }
2274
2274
  a.recentNavEvent = void 0;
2275
2275
  }, E = function(w) {
@@ -2279,7 +2279,7 @@ var xi = {
2279
2279
  event: w,
2280
2280
  isBackward: j
2281
2281
  });
2282
- O && (Rt(w) && w.preventDefault(), T(O));
2282
+ O && (Rt(w) && w.preventDefault(), D(O));
2283
2283
  }, _ = function(w) {
2284
2284
  if (iu(w) && zt(o.escapeDeactivates, w) !== !1) {
2285
2285
  w.preventDefault(), l.deactivate();
@@ -2292,8 +2292,8 @@ var xi = {
2292
2292
  }, M = function() {
2293
2293
  if (a.active)
2294
2294
  return xi.activateTrap(i, l), a.delayInitialFocusTimer = o.delayInitialFocus ? wi(function() {
2295
- T(f());
2296
- }) : T(f()), r.addEventListener("focusin", z, !0), r.addEventListener("mousedown", b, {
2295
+ D(f());
2296
+ }) : D(f()), r.addEventListener("focusin", z, !0), r.addEventListener("mousedown", b, {
2297
2297
  capture: !0,
2298
2298
  passive: !1
2299
2299
  }), r.addEventListener("touchstart", b, {
@@ -2316,8 +2316,8 @@ var xi = {
2316
2316
  return $ === a.mostRecentlyFocusedNode;
2317
2317
  });
2318
2318
  });
2319
- j && T(f());
2320
- }, q = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(Y) : void 0, J = function() {
2319
+ j && D(f());
2320
+ }, q = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(Y) : void 0, ee = function() {
2321
2321
  q && (q.disconnect(), a.active && !a.paused && a.containers.map(function(w) {
2322
2322
  q.observe(w, {
2323
2323
  subtree: !0,
@@ -2338,7 +2338,7 @@ var xi = {
2338
2338
  var j = s(w, "onActivate"), O = s(w, "onPostActivate"), P = s(w, "checkCanFocusTrap");
2339
2339
  P || m(), a.active = !0, a.paused = !1, a.nodeFocusedBeforeActivation = r.activeElement, j == null || j();
2340
2340
  var $ = function() {
2341
- P && m(), M(), J(), O == null || O();
2341
+ P && m(), M(), ee(), O == null || O();
2342
2342
  };
2343
2343
  return P ? (P(a.containers.concat()).then($, $), this) : ($(), this);
2344
2344
  },
@@ -2350,12 +2350,12 @@ var xi = {
2350
2350
  onPostDeactivate: o.onPostDeactivate,
2351
2351
  checkCanReturnFocus: o.checkCanReturnFocus
2352
2352
  }, w);
2353
- clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, L(), a.active = !1, a.paused = !1, J(), xi.deactivateTrap(i, l);
2353
+ clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, L(), a.active = !1, a.paused = !1, ee(), xi.deactivateTrap(i, l);
2354
2354
  var O = s(j, "onDeactivate"), P = s(j, "onPostDeactivate"), $ = s(j, "checkCanReturnFocus"), G = s(j, "returnFocus", "returnFocusOnDeactivate");
2355
2355
  O == null || O();
2356
2356
  var Z = function() {
2357
2357
  wi(function() {
2358
- G && T(x(a.nodeFocusedBeforeActivation)), P == null || P();
2358
+ G && D(x(a.nodeFocusedBeforeActivation)), P == null || P();
2359
2359
  });
2360
2360
  };
2361
2361
  return G && $ ? ($(x(a.nodeFocusedBeforeActivation)).then(Z, Z), this) : (Z(), this);
@@ -2364,19 +2364,19 @@ var xi = {
2364
2364
  if (a.paused || !a.active)
2365
2365
  return this;
2366
2366
  var j = s(w, "onPause"), O = s(w, "onPostPause");
2367
- return a.paused = !0, j == null || j(), L(), J(), O == null || O(), this;
2367
+ return a.paused = !0, j == null || j(), L(), ee(), O == null || O(), this;
2368
2368
  },
2369
2369
  unpause: function(w) {
2370
2370
  if (!a.paused || !a.active)
2371
2371
  return this;
2372
2372
  var j = s(w, "onUnpause"), O = s(w, "onPostUnpause");
2373
- return a.paused = !1, j == null || j(), m(), M(), J(), O == null || O(), this;
2373
+ return a.paused = !1, j == null || j(), m(), M(), ee(), O == null || O(), this;
2374
2374
  },
2375
2375
  updateContainerElements: function(w) {
2376
2376
  var j = [].concat(w).filter(Boolean);
2377
2377
  return a.containers = j.map(function(O) {
2378
2378
  return typeof O == "string" ? r.querySelector(O) : O;
2379
- }), a.active && m(), J(), this;
2379
+ }), a.active && m(), ee(), this;
2380
2380
  }
2381
2381
  }, l.updateContainerElements(t), l;
2382
2382
  };
@@ -2494,8 +2494,8 @@ var rn = nt, H = B, xu = cu, wu = xu.createFocusTrap, vu = pu, Tu = vu.isFocusab
2494
2494
  }
2495
2495
  var p = u;
2496
2496
  if (typeof u == "string") {
2497
- var T;
2498
- if (p = (T = this.getDocument()) === null || T === void 0 ? void 0 : T.querySelector(u), !p)
2497
+ var D;
2498
+ if (p = (D = this.getDocument()) === null || D === void 0 ? void 0 : D.querySelector(u), !p)
2499
2499
  throw new Error("`".concat(l, "` as selector refers to no known node"));
2500
2500
  }
2501
2501
  return p;
@@ -2727,7 +2727,7 @@ function Ar({
2727
2727
  isMounted: i
2728
2728
  }) {
2729
2729
  const o = ot(), a = We(null);
2730
- return /* @__PURE__ */ v.jsx(
2730
+ return /* @__PURE__ */ T.jsx(
2731
2731
  Iu,
2732
2732
  {
2733
2733
  focusTrapOptions: {
@@ -2736,7 +2736,7 @@ function Ar({
2736
2736
  displayCheck: void 0
2737
2737
  }
2738
2738
  },
2739
- children: /* @__PURE__ */ v.jsx(
2739
+ children: /* @__PURE__ */ T.jsx(
2740
2740
  "div",
2741
2741
  {
2742
2742
  ref: a,
@@ -3089,10 +3089,10 @@ function Uu(e, t) {
3089
3089
  Ru(k) || (m[x] = k.toString());
3090
3090
  };
3091
3091
  p("width", c), p("height", f);
3092
- const T = [i.left, i.top, s, u];
3093
- return m.viewBox = T.join(" "), {
3092
+ const D = [i.left, i.top, s, u];
3093
+ return m.viewBox = D.join(" "), {
3094
3094
  attributes: m,
3095
- viewBox: T,
3095
+ viewBox: D,
3096
3096
  body: o
3097
3097
  };
3098
3098
  }
@@ -3384,11 +3384,11 @@ function ac(e, t, n, r) {
3384
3384
  const l = Date.now();
3385
3385
  let s = "pending", u = 0, c, f = null, m = [], p = [];
3386
3386
  typeof r == "function" && p.push(r);
3387
- function T() {
3387
+ function D() {
3388
3388
  f && (clearTimeout(f), f = null);
3389
3389
  }
3390
3390
  function x() {
3391
- s === "pending" && (s = "aborted"), T(), m.forEach((M) => {
3391
+ s === "pending" && (s = "aborted"), D(), m.forEach((M) => {
3392
3392
  M.status === "pending" && (M.status = "aborted");
3393
3393
  }), m = [];
3394
3394
  }
@@ -3418,7 +3418,7 @@ function ac(e, t, n, r) {
3418
3418
  }
3419
3419
  function _(M, L, Y) {
3420
3420
  const q = L !== "success";
3421
- switch (m = m.filter((J) => J !== M), s) {
3421
+ switch (m = m.filter((ee) => ee !== M), s) {
3422
3422
  case "pending":
3423
3423
  break;
3424
3424
  case "failed":
@@ -3436,23 +3436,23 @@ function ac(e, t, n, r) {
3436
3436
  c = Y, m.length || (a.length ? Q() : z());
3437
3437
  return;
3438
3438
  }
3439
- if (T(), E(), !e.random) {
3440
- const J = e.resources.indexOf(M.resource);
3441
- J !== -1 && J !== e.index && (e.index = J);
3439
+ if (D(), E(), !e.random) {
3440
+ const ee = e.resources.indexOf(M.resource);
3441
+ ee !== -1 && ee !== e.index && (e.index = ee);
3442
3442
  }
3443
- s = "completed", p.forEach((J) => {
3444
- J(Y);
3443
+ s = "completed", p.forEach((ee) => {
3444
+ ee(Y);
3445
3445
  });
3446
3446
  }
3447
3447
  function Q() {
3448
3448
  if (s !== "pending")
3449
3449
  return;
3450
- T();
3450
+ D();
3451
3451
  const M = a.shift();
3452
3452
  if (M === void 0) {
3453
3453
  if (m.length) {
3454
3454
  f = setTimeout(() => {
3455
- T(), s === "pending" && (E(), z());
3455
+ D(), s === "pending" && (E(), z());
3456
3456
  }, e.timeout);
3457
3457
  return;
3458
3458
  }
@@ -3923,7 +3923,7 @@ const Cc = (e, t, n) => {
3923
3923
  __html: Nc(Hu(u.body, b ? () => b + "ID" + k++ : "iconifyReact"))
3924
3924
  }, sr("svg", s);
3925
3925
  }
3926
- const { body: f, width: m, height: p } = e, T = o === "mask" || (o === "bg" ? !1 : f.indexOf("currentColor") !== -1), x = wc(f, {
3926
+ const { body: f, width: m, height: p } = e, D = o === "mask" || (o === "bg" ? !1 : f.indexOf("currentColor") !== -1), x = wc(f, {
3927
3927
  ...c,
3928
3928
  width: m + "",
3929
3929
  height: p + ""
@@ -3934,7 +3934,7 @@ const Cc = (e, t, n) => {
3934
3934
  width: _i(c.width),
3935
3935
  height: _i(c.height),
3936
3936
  ...jc,
3937
- ...T ? br : ua,
3937
+ ...D ? br : ua,
3938
3938
  ...l
3939
3939
  }, sr("span", s);
3940
3940
  };
@@ -3976,16 +3976,16 @@ function ca(e) {
3976
3976
  const [t, n] = ye(!!e.ssr), [r, i] = ye({});
3977
3977
  function o(p) {
3978
3978
  if (p) {
3979
- const T = e.icon;
3980
- if (typeof T == "object")
3979
+ const D = e.icon;
3980
+ if (typeof D == "object")
3981
3981
  return {
3982
3982
  name: "",
3983
- data: T
3983
+ data: D
3984
3984
  };
3985
- const x = Ni(T);
3985
+ const x = Ni(D);
3986
3986
  if (x)
3987
3987
  return {
3988
- name: T,
3988
+ name: D,
3989
3989
  data: x
3990
3990
  };
3991
3991
  }
@@ -4004,26 +4004,26 @@ function ca(e) {
4004
4004
  }
4005
4005
  function c() {
4006
4006
  var p;
4007
- const T = e.icon;
4008
- if (typeof T == "object") {
4007
+ const D = e.icon;
4008
+ if (typeof D == "object") {
4009
4009
  u({
4010
4010
  name: "",
4011
- data: T
4011
+ data: D
4012
4012
  });
4013
4013
  return;
4014
4014
  }
4015
- const x = Ni(T);
4015
+ const x = Ni(D);
4016
4016
  if (u({
4017
- name: T,
4017
+ name: D,
4018
4018
  data: x
4019
4019
  }))
4020
4020
  if (x === void 0) {
4021
- const k = mc([T], c);
4021
+ const k = mc([D], c);
4022
4022
  i({
4023
4023
  callback: k
4024
4024
  });
4025
4025
  } else
4026
- x && ((p = e.onLoad) === null || p === void 0 || p.call(e, T));
4026
+ x && ((p = e.onLoad) === null || p === void 0 || p.call(e, D));
4027
4027
  }
4028
4028
  Me(() => (n(!0), s), []), Me(() => {
4029
4029
  t && c();
@@ -4045,7 +4045,7 @@ Io((e, t) => ca({
4045
4045
  }));
4046
4046
  const Ac = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0xMjAtMTIwdi0zMDBoNjB2MTk4bDU1OC01NThINTQwdi02MGgzMDB2MzAwaC02MHYtMTk4TDIyMi0xODBoMTk4djYwSDEyMFoiLz48L3N2Zz4=", Sc = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0zNzAtMjg3aDM2MHYtOTBIMzcwdjkwWk0xODAtMTIwcS0yNCAwLTQyLTE4dC0xOC00MnYtNjAwcTAtMjQgMTgtNDJ0NDItMThoNjAwcTI0IDAgNDIgMTh0MTggNDJ2NjAwcTAgMjQtMTggNDJ0LTQyIDE4SDE4MFptMC02MGg2MDB2LTYwMEgxODB2NjAwWm0wLTYwMHY2MDAtNjAwWiIvPjwvc3ZnPg==";
4047
4047
  function pa({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
4048
- return ot() ? null : e ? /* @__PURE__ */ v.jsx(
4048
+ return ot() ? null : e ? /* @__PURE__ */ T.jsx(
4049
4049
  "button",
4050
4050
  {
4051
4051
  onClick: () => {
@@ -4060,7 +4060,7 @@ function pa({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
4060
4060
  },
4061
4061
  className: "xpert-chatbot-popup__header--btn-outline",
4062
4062
  "aria-expanded": !e,
4063
- children: /* @__PURE__ */ v.jsx(
4063
+ children: /* @__PURE__ */ T.jsx(
4064
4064
  "img",
4065
4065
  {
4066
4066
  "aria-hidden": !0,
@@ -4071,7 +4071,7 @@ function pa({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
4071
4071
  }
4072
4072
  )
4073
4073
  }
4074
- ) : /* @__PURE__ */ v.jsx(
4074
+ ) : /* @__PURE__ */ T.jsx(
4075
4075
  "button",
4076
4076
  {
4077
4077
  onClick: () => {
@@ -4085,7 +4085,7 @@ function pa({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
4085
4085
  cursor: "pointer"
4086
4086
  },
4087
4087
  "aria-expanded": !e,
4088
- children: /* @__PURE__ */ v.jsx(
4088
+ children: /* @__PURE__ */ T.jsx(
4089
4089
  "img",
4090
4090
  {
4091
4091
  "aria-hidden": !0,
@@ -4110,8 +4110,8 @@ function fa({
4110
4110
  onClose: r,
4111
4111
  isMounted: i
4112
4112
  }) {
4113
- return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
4114
- /* @__PURE__ */ v.jsx(
4113
+ return /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
4114
+ /* @__PURE__ */ T.jsx(
4115
4115
  "div",
4116
4116
  {
4117
4117
  style: {
@@ -4122,7 +4122,7 @@ function fa({
4122
4122
  paddingTop: "1.25rem",
4123
4123
  paddingBottom: "1.25rem"
4124
4124
  },
4125
- children: /* @__PURE__ */ v.jsx(
4125
+ children: /* @__PURE__ */ T.jsx(
4126
4126
  pa,
4127
4127
  {
4128
4128
  isMounted: i,
@@ -4133,7 +4133,7 @@ function fa({
4133
4133
  )
4134
4134
  }
4135
4135
  ),
4136
- /* @__PURE__ */ v.jsx(
4136
+ /* @__PURE__ */ T.jsx(
4137
4137
  "button",
4138
4138
  {
4139
4139
  style: {
@@ -4148,7 +4148,7 @@ function fa({
4148
4148
  onClick: r,
4149
4149
  "aria-label": "Close Xpert dialog",
4150
4150
  type: "button",
4151
- children: /* @__PURE__ */ v.jsx(
4151
+ children: /* @__PURE__ */ T.jsx(
4152
4152
  rt,
4153
4153
  {
4154
4154
  icon: "material-symbols:close",
@@ -4167,7 +4167,7 @@ fa.propTypes = {
4167
4167
  onClose: N.func.isRequired,
4168
4168
  isMounted: N.bool.isRequired
4169
4169
  };
4170
- const Rr = ({ backgroundColor: e, textColor: t }) => /* @__PURE__ */ v.jsxs(
4170
+ const Rr = ({ backgroundColor: e, textColor: t }) => /* @__PURE__ */ T.jsxs(
4171
4171
  "svg",
4172
4172
  {
4173
4173
  role: "banner",
@@ -4177,8 +4177,8 @@ const Rr = ({ backgroundColor: e, textColor: t }) => /* @__PURE__ */ v.jsxs(
4177
4177
  fill: "#none",
4178
4178
  xmlns: "http://www.w3.org/2000/svg",
4179
4179
  children: [
4180
- /* @__PURE__ */ v.jsx("path", { d: "M0 5 L0 20 L70 20 L70 5 Z", fill: t }),
4181
- /* @__PURE__ */ v.jsx(
4180
+ /* @__PURE__ */ T.jsx("path", { d: "M0 5 L0 20 L70 20 L70 5 Z", fill: t }),
4181
+ /* @__PURE__ */ T.jsx(
4182
4182
  "path",
4183
4183
  {
4184
4184
  fill: e,
@@ -4187,7 +4187,7 @@ const Rr = ({ backgroundColor: e, textColor: t }) => /* @__PURE__ */ v.jsxs(
4187
4187
  d: "M77 0H0V22H71.5L77 0ZM24.5938 10.2472L23.3324 7.27273H21.2997L23.2642 11.6364L19.7997 16H21.9517L24.2358 13.0213H24.304L25.5994 16H27.6832L25.6932 11.6364L29.0724 7.27273H26.929L24.6619 10.2472H24.5938ZM33.6832 7.27273H30.2401L28.7912 16H30.6364L31.1091 13.1705H32.6562C33.3295 13.1705 33.9233 13.0469 34.4375 12.7997C34.9517 12.5526 35.3693 12.2088 35.6903 11.7685C36.0142 11.3253 36.2244 10.8125 36.321 10.2301C36.4148 9.65057 36.375 9.1392 36.2017 8.69602C36.0312 8.25 35.733 7.90199 35.3068 7.65199C34.8835 7.39915 34.3423 7.27273 33.6832 7.27273ZM31.3561 11.6918H32.6009C32.9588 11.6918 33.2642 11.6307 33.517 11.5085C33.7727 11.3835 33.9759 11.2116 34.1264 10.9929C34.277 10.7713 34.375 10.517 34.4205 10.2301C34.4688 9.9375 34.4531 9.68324 34.3736 9.46733C34.294 9.25142 34.1477 9.08381 33.9347 8.96449C33.7244 8.84233 33.4418 8.78125 33.0866 8.78125H31.8423L31.3561 11.6918ZM43.8903 7.27273H38.0096L36.5607 16H42.4585L42.7141 14.4787H38.6616L39.0025 12.3949H42.7354L42.9911 10.8736H39.2582L39.5991 8.79403H43.6346L43.8903 7.27273ZM48.8004 7.27273H45.3572L43.9084 16H45.7536L46.2704 12.9062H47.6117L48.7536 16H50.7905L49.4991 12.6097C49.5278 12.5981 49.5563 12.5862 49.5845 12.5739C50.0959 12.3494 50.5107 12.0298 50.8288 11.6151C51.1499 11.2003 51.3587 10.7031 51.4553 10.1236C51.549 9.54403 51.5078 9.04119 51.3317 8.61506C51.1584 8.18608 50.8572 7.85511 50.4283 7.62216C50.0021 7.3892 49.4595 7.27273 48.8004 7.27273ZM46.5181 11.4233H47.7692C48.1214 11.4233 48.4226 11.375 48.6726 11.2784C48.9226 11.1818 49.12 11.0369 49.2649 10.8438C49.4126 10.6506 49.5092 10.4105 49.5547 10.1236C49.603 9.83097 49.5859 9.58665 49.5036 9.39062C49.4212 9.19176 49.272 9.04119 49.0561 8.93892C48.8402 8.83381 48.5561 8.78125 48.2038 8.78125H46.9595L46.5181 11.4233ZM52.9702 7.27273L52.7145 8.79403H55.3864L54.1932 16H56.017L57.2102 8.79403H59.8821L60.1378 7.27273H52.9702Z"
4188
4188
  }
4189
4189
  ),
4190
- /* @__PURE__ */ v.jsx("path", {})
4190
+ /* @__PURE__ */ T.jsx("path", {})
4191
4191
  ]
4192
4192
  }
4193
4193
  );
@@ -4207,9 +4207,9 @@ function da({
4207
4207
  setIsMounted: r,
4208
4208
  onClose: i
4209
4209
  }) {
4210
- var s, u, c, f, m, p, T, x, k;
4211
- const { primaryColor: o, conversationScreen: a } = Le(_e), l = ot();
4212
- return /* @__PURE__ */ v.jsxs(
4210
+ var s, u, c, f, m, p, D, x, k;
4211
+ const { primaryColor: o, conversationScreen: a } = Oe(ze), l = ot();
4212
+ return /* @__PURE__ */ T.jsxs(
4213
4213
  "div",
4214
4214
  {
4215
4215
  "data-testid": "xpert-conversations-header",
@@ -4221,7 +4221,7 @@ function da({
4221
4221
  ...(s = a.header.container) == null ? void 0 : s.style
4222
4222
  },
4223
4223
  children: [
4224
- /* @__PURE__ */ v.jsx(
4224
+ /* @__PURE__ */ T.jsx(
4225
4225
  "span",
4226
4226
  {
4227
4227
  className: "xpert-chatbot-popup__header_container",
@@ -4231,7 +4231,7 @@ function da({
4231
4231
  }
4232
4232
  }
4233
4233
  ),
4234
- ((m = (f = a == null ? void 0 : a.header) == null ? void 0 : f.logo) == null ? void 0 : m.type) === "edx" ? /* @__PURE__ */ v.jsx(
4234
+ ((m = (f = a == null ? void 0 : a.header) == null ? void 0 : f.logo) == null ? void 0 : m.type) === "edx" ? /* @__PURE__ */ T.jsx(
4235
4235
  "img",
4236
4236
  {
4237
4237
  "data-ot-ignore": "",
@@ -4241,14 +4241,14 @@ function da({
4241
4241
  "aria-hidden": !0,
4242
4242
  style: a.header.logo.style
4243
4243
  }
4244
- ) : /* @__PURE__ */ v.jsx(
4244
+ ) : /* @__PURE__ */ T.jsx(
4245
4245
  Oc,
4246
4246
  {
4247
4247
  backgroundColor: (p = a.header.logo.style) == null ? void 0 : p.backgroundColor,
4248
- textColor: (T = a.header.logo.style) == null ? void 0 : T.color
4248
+ textColor: (D = a.header.logo.style) == null ? void 0 : D.color
4249
4249
  }
4250
4250
  ),
4251
- /* @__PURE__ */ v.jsx(
4251
+ /* @__PURE__ */ T.jsx(
4252
4252
  fa,
4253
4253
  {
4254
4254
  isMounted: n,
@@ -4258,7 +4258,7 @@ function da({
4258
4258
  onClose: i
4259
4259
  }
4260
4260
  ),
4261
- /* @__PURE__ */ v.jsx(
4261
+ /* @__PURE__ */ T.jsx(
4262
4262
  "span",
4263
4263
  {
4264
4264
  className: "xpert-chatbot-popup__header_container",
@@ -4317,7 +4317,7 @@ function Pi(e) {
4317
4317
  function Ri(e) {
4318
4318
  return e && typeof e == "number" ? e : 1;
4319
4319
  }
4320
- class Qe extends Error {
4320
+ class Ue extends Error {
4321
4321
  /**
4322
4322
  * Create a message for `reason` at `place` from `origin`.
4323
4323
  *
@@ -4351,17 +4351,17 @@ class Qe extends Error {
4351
4351
  n && ("type" in n || "position" in n ? n.position && (o = n.position) : "start" in n || "end" in n ? o = n : ("line" in n || "column" in n) && (o.start = n)), this.name = Qt(n) || "1:1", this.message = typeof t == "object" ? t.message : t, this.stack = "", typeof t == "object" && t.stack && (this.stack = t.stack), this.reason = this.message, this.fatal, this.line = o.start.line, this.column = o.start.column, this.position = o, this.source = i[0], this.ruleId = i[1], this.file, this.actual, this.expected, this.url, this.note;
4352
4352
  }
4353
4353
  }
4354
- Qe.prototype.file = "";
4355
- Qe.prototype.name = "";
4356
- Qe.prototype.reason = "";
4357
- Qe.prototype.message = "";
4358
- Qe.prototype.stack = "";
4359
- Qe.prototype.fatal = null;
4360
- Qe.prototype.column = null;
4361
- Qe.prototype.line = null;
4362
- Qe.prototype.source = null;
4363
- Qe.prototype.ruleId = null;
4364
- Qe.prototype.position = null;
4354
+ Ue.prototype.file = "";
4355
+ Ue.prototype.name = "";
4356
+ Ue.prototype.reason = "";
4357
+ Ue.prototype.message = "";
4358
+ Ue.prototype.stack = "";
4359
+ Ue.prototype.fatal = null;
4360
+ Ue.prototype.column = null;
4361
+ Ue.prototype.line = null;
4362
+ Ue.prototype.source = null;
4363
+ Ue.prototype.ruleId = null;
4364
+ Ue.prototype.position = null;
4365
4365
  const qe = { basename: _c, dirname: Fc, extname: Pc, join: Rc, sep: "/" };
4366
4366
  function _c(e, t) {
4367
4367
  if (t !== void 0 && typeof t != "string")
@@ -4673,7 +4673,7 @@ class ga {
4673
4673
  * Message.
4674
4674
  */
4675
4675
  message(t, n, r) {
4676
- const i = new Qe(t, n, r);
4676
+ const i = new Ue(t, n, r);
4677
4677
  return this.path && (i.name = this.path + ":" + i.name, i.file = this.path), i.fatal = !1, this.messages.push(i), i;
4678
4678
  }
4679
4679
  /**
@@ -4844,7 +4844,7 @@ const Zc = ba().freeze(), ya = {}.hasOwnProperty;
4844
4844
  function ba() {
4845
4845
  const e = Wc(), t = [];
4846
4846
  let n = {}, r, i = -1;
4847
- return o.data = a, o.Parser = void 0, o.Compiler = void 0, o.freeze = l, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = f, o.runSync = m, o.process = p, o.processSync = T, o;
4847
+ return o.data = a, o.Parser = void 0, o.Compiler = void 0, o.freeze = l, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = f, o.runSync = m, o.process = p, o.processSync = D, o;
4848
4848
  function o() {
4849
4849
  const x = ba();
4850
4850
  let k = -1;
@@ -4961,7 +4961,7 @@ function ba() {
4961
4961
  }
4962
4962
  }
4963
4963
  }
4964
- function T(x) {
4964
+ function D(x) {
4965
4965
  let k;
4966
4966
  o.freeze(), er("processSync", o.Parser), tr("processSync", o.Compiler);
4967
4967
  const b = Ft(x);
@@ -5055,7 +5055,7 @@ function Ge(e, t, n, r) {
5055
5055
  for (n && e.splice(t, n); o < r.length; )
5056
5056
  a = r.slice(o, o + 1e4), a.unshift(t, 0), e.splice(...a), o += 1e4, t += 1e4;
5057
5057
  }
5058
- function Be(e, t) {
5058
+ function Re(e, t) {
5059
5059
  return e.length > 0 ? (Ge(e, e.length, 0, t), e) : t;
5060
5060
  }
5061
5061
  const Ji = {}.hasOwnProperty;
@@ -5090,7 +5090,7 @@ function op(e, t) {
5090
5090
  (t[n].add === "after" ? e : r).push(t[n]);
5091
5091
  Ge(e, 0, 0, r);
5092
5092
  }
5093
- const ap = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, Ve = at(/[A-Za-z]/), ze = at(/[\dA-Za-z]/), lp = at(/[#-'*+\--9=?A-Z^-~]/);
5093
+ const ap = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, Ve = at(/[A-Za-z]/), Se = at(/[\dA-Za-z]/), lp = at(/[#-'*+\--9=?A-Z^-~]/);
5094
5094
  function vr(e) {
5095
5095
  return (
5096
5096
  // Special whitespace codes (which have negative values), C0 and Control
@@ -5102,7 +5102,7 @@ const Tr = at(/\d/), sp = at(/[\dA-Fa-f]/), up = at(/[!-/:-@[-`{-~]/);
5102
5102
  function V(e) {
5103
5103
  return e !== null && e < -2;
5104
5104
  }
5105
- function Ce(e) {
5105
+ function je(e) {
5106
5106
  return e !== null && (e < 0 || e === 32);
5107
5107
  }
5108
5108
  function oe(e) {
@@ -5210,7 +5210,7 @@ function gp(e) {
5210
5210
  if (!i)
5211
5211
  return m(E);
5212
5212
  if (i.currentConstruct && i.currentConstruct.concrete)
5213
- return T(E);
5213
+ return D(E);
5214
5214
  t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
5215
5215
  }
5216
5216
  return t.containerState = {}, e.check(
@@ -5223,19 +5223,19 @@ function gp(e) {
5223
5223
  return i && z(), b(r), m(E);
5224
5224
  }
5225
5225
  function f(E) {
5226
- return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, T(E);
5226
+ return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, D(E);
5227
5227
  }
5228
5228
  function m(E) {
5229
5229
  return t.containerState = {}, e.attempt(
5230
5230
  eo,
5231
5231
  p,
5232
- T
5232
+ D
5233
5233
  )(E);
5234
5234
  }
5235
5235
  function p(E) {
5236
5236
  return r++, n.push([t.currentConstruct, t.containerState]), m(E);
5237
5237
  }
5238
- function T(E) {
5238
+ function D(E) {
5239
5239
  if (E === null) {
5240
5240
  i && z(), b(0), e.consume(E);
5241
5241
  return;
@@ -5266,17 +5266,17 @@ function gp(e) {
5266
5266
  )
5267
5267
  return;
5268
5268
  const L = t.events.length;
5269
- let Y = L, q, J;
5269
+ let Y = L, q, ee;
5270
5270
  for (; Y--; )
5271
5271
  if (t.events[Y][0] === "exit" && t.events[Y][1].type === "chunkFlow") {
5272
5272
  if (q) {
5273
- J = t.events[Y][1].end;
5273
+ ee = t.events[Y][1].end;
5274
5274
  break;
5275
5275
  }
5276
5276
  q = !0;
5277
5277
  }
5278
5278
  for (b(r), M = L; M < t.events.length; )
5279
- t.events[M][1].end = Object.assign({}, J), M++;
5279
+ t.events[M][1].end = Object.assign({}, ee), M++;
5280
5280
  Ge(
5281
5281
  t.events,
5282
5282
  Y + 1,
@@ -5306,7 +5306,7 @@ function mp(e, t, n) {
5306
5306
  );
5307
5307
  }
5308
5308
  function to(e) {
5309
- if (e === null || Ce(e) || pp(e))
5309
+ if (e === null || je(e) || pp(e))
5310
5310
  return 1;
5311
5311
  if (cp(e))
5312
5312
  return 2;
@@ -5352,27 +5352,27 @@ function yp(e, t) {
5352
5352
  type: s > 1 ? "strong" : "emphasis",
5353
5353
  start: Object.assign({}, a.start),
5354
5354
  end: Object.assign({}, l.end)
5355
- }, e[r][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, l.end), u = [], e[r][1].end.offset - e[r][1].start.offset && (u = Be(u, [
5355
+ }, e[r][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, l.end), u = [], e[r][1].end.offset - e[r][1].start.offset && (u = Re(u, [
5356
5356
  ["enter", e[r][1], t],
5357
5357
  ["exit", e[r][1], t]
5358
- ])), u = Be(u, [
5358
+ ])), u = Re(u, [
5359
5359
  ["enter", i, t],
5360
5360
  ["enter", a, t],
5361
5361
  ["exit", a, t],
5362
5362
  ["enter", o, t]
5363
- ]), u = Be(
5363
+ ]), u = Re(
5364
5364
  u,
5365
5365
  Ur(
5366
5366
  t.parser.constructs.insideSpan.null,
5367
5367
  e.slice(r + 1, n),
5368
5368
  t
5369
5369
  )
5370
- ), u = Be(u, [
5370
+ ), u = Re(u, [
5371
5371
  ["exit", o, t],
5372
5372
  ["enter", l, t],
5373
5373
  ["exit", l, t],
5374
5374
  ["exit", i, t]
5375
- ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = Be(u, [
5375
+ ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = Re(u, [
5376
5376
  ["enter", e[n][1], t],
5377
5377
  ["exit", e[n][1], t]
5378
5378
  ])) : c = 0, Ge(e, r - 1, n - r + 3, u), n = r + u.length - c - 2;
@@ -5414,10 +5414,10 @@ function xp(e, t, n) {
5414
5414
  return Ve(p) ? (e.consume(p), a) : u(p);
5415
5415
  }
5416
5416
  function a(p) {
5417
- return p === 43 || p === 45 || p === 46 || ze(p) ? (r = 1, l(p)) : u(p);
5417
+ return p === 43 || p === 45 || p === 46 || Se(p) ? (r = 1, l(p)) : u(p);
5418
5418
  }
5419
5419
  function l(p) {
5420
- return p === 58 ? (e.consume(p), r = 0, s) : (p === 43 || p === 45 || p === 46 || ze(p)) && r++ < 32 ? (e.consume(p), l) : (r = 0, u(p));
5420
+ return p === 58 ? (e.consume(p), r = 0, s) : (p === 43 || p === 45 || p === 46 || Se(p)) && r++ < 32 ? (e.consume(p), l) : (r = 0, u(p));
5421
5421
  }
5422
5422
  function s(p) {
5423
5423
  return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : p === null || p === 32 || p === 60 || vr(p) ? n(p) : (e.consume(p), s);
@@ -5426,15 +5426,15 @@ function xp(e, t, n) {
5426
5426
  return p === 64 ? (e.consume(p), c) : lp(p) ? (e.consume(p), u) : n(p);
5427
5427
  }
5428
5428
  function c(p) {
5429
- return ze(p) ? f(p) : n(p);
5429
+ return Se(p) ? f(p) : n(p);
5430
5430
  }
5431
5431
  function f(p) {
5432
5432
  return p === 46 ? (e.consume(p), r = 0, c) : p === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : m(p);
5433
5433
  }
5434
5434
  function m(p) {
5435
- if ((p === 45 || ze(p)) && r++ < 63) {
5436
- const T = p === 45 ? m : f;
5437
- return e.consume(p), T;
5435
+ if ((p === 45 || Se(p)) && r++ < 63) {
5436
+ const D = p === 45 ? m : f;
5437
+ return e.consume(p), D;
5438
5438
  }
5439
5439
  return n(p);
5440
5440
  }
@@ -5526,7 +5526,7 @@ function Np(e, t, n) {
5526
5526
  return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), s;
5527
5527
  }
5528
5528
  function s(f) {
5529
- return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, a = ze, c(f));
5529
+ return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, a = Se, c(f));
5530
5530
  }
5531
5531
  function u(f) {
5532
5532
  return f === 88 || f === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(f), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, a = sp, c) : (e.enter("characterReferenceValue"), o = 7, a = Tr, c(f));
@@ -5534,7 +5534,7 @@ function Np(e, t, n) {
5534
5534
  function c(f) {
5535
5535
  if (f === 59 && i) {
5536
5536
  const m = e.exit("characterReferenceValue");
5537
- return a === ze && !Br(r.sliceSerialize(m)) ? n(f) : (e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
5537
+ return a === Se && !Br(r.sliceSerialize(m)) ? n(f) : (e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
5538
5538
  }
5539
5539
  return a(f) && i++ < o ? (e.consume(f), c) : n(f);
5540
5540
  }
@@ -5575,10 +5575,10 @@ function kp(e, t, n) {
5575
5575
  function p(M) {
5576
5576
  return M === null || V(M) ? f(M) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
5577
5577
  contentType: "string"
5578
- }), T(M));
5578
+ }), D(M));
5579
5579
  }
5580
- function T(M) {
5581
- return M === null || V(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(M)) : M === 96 && M === l ? n(M) : (e.consume(M), T);
5580
+ function D(M) {
5581
+ return M === null || V(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(M)) : M === 96 && M === l ? n(M) : (e.consume(M), D);
5582
5582
  }
5583
5583
  function x(M) {
5584
5584
  return e.attempt(i, _, k)(M);
@@ -5605,8 +5605,8 @@ function kp(e, t, n) {
5605
5605
  }
5606
5606
  function Q(M, L, Y) {
5607
5607
  let q = 0;
5608
- return J;
5609
- function J(P) {
5608
+ return ee;
5609
+ function ee(P) {
5610
5610
  return M.enter("lineEnding"), M.consume(P), M.exit("lineEnding"), S;
5611
5611
  }
5612
5612
  function S(P) {
@@ -5740,7 +5740,7 @@ function _p(e, t) {
5740
5740
  const n = e[t][1], r = e[t][2];
5741
5741
  let i = t - 1;
5742
5742
  const o = [], a = n._tokenizer || r.parser[n.contentType](n.start), l = a.events, s = [], u = {};
5743
- let c, f, m = -1, p = n, T = 0, x = 0;
5743
+ let c, f, m = -1, p = n, D = 0, x = 0;
5744
5744
  const k = [x];
5745
5745
  for (; p; ) {
5746
5746
  for (; e[++i][1] !== p; )
@@ -5755,7 +5755,7 @@ function _p(e, t) {
5755
5755
  s.unshift([z, z + b.length - 1]), Ge(e, z, 2, b);
5756
5756
  }
5757
5757
  for (m = -1; ++m < s.length; )
5758
- u[T + s[m][0]] = T + s[m][1], T += s[m][1] - s[m][0] - 1;
5758
+ u[D + s[m][0]] = D + s[m][1], D += s[m][1] - s[m][0] - 1;
5759
5759
  return u;
5760
5760
  }
5761
5761
  const Fp = {
@@ -5821,13 +5821,13 @@ function Da(e, t, n, r, i, o, a, l, s) {
5821
5821
  }), p(b));
5822
5822
  }
5823
5823
  function p(b) {
5824
- return b === 62 ? (e.exit("chunkString"), e.exit(l), m(b)) : b === null || b === 60 || V(b) ? n(b) : (e.consume(b), b === 92 ? T : p);
5824
+ return b === 62 ? (e.exit("chunkString"), e.exit(l), m(b)) : b === null || b === 60 || V(b) ? n(b) : (e.consume(b), b === 92 ? D : p);
5825
5825
  }
5826
- function T(b) {
5826
+ function D(b) {
5827
5827
  return b === 60 || b === 62 || b === 92 ? (e.consume(b), p) : p(b);
5828
5828
  }
5829
5829
  function x(b) {
5830
- return !c && (b === null || b === 41 || Ce(b)) ? (e.exit("chunkString"), e.exit(l), e.exit(a), e.exit(r), t(b)) : c < u && b === 40 ? (e.consume(b), c++, x) : b === 41 ? (e.consume(b), c--, x) : b === null || b === 32 || b === 40 || vr(b) ? n(b) : (e.consume(b), b === 92 ? k : x);
5830
+ return !c && (b === null || b === 41 || je(b)) ? (e.exit("chunkString"), e.exit(l), e.exit(a), e.exit(r), t(b)) : c < u && b === 40 ? (e.consume(b), c++, x) : b === 41 ? (e.consume(b), c--, x) : b === null || b === 32 || b === 40 || vr(b) ? n(b) : (e.consume(b), b === 92 ? k : x);
5831
5831
  }
5832
5832
  function k(b) {
5833
5833
  return b === 40 || b === 41 || b === 92 ? (e.consume(b), x) : x(b);
@@ -5924,7 +5924,7 @@ function Hp(e, t, n) {
5924
5924
  ), p === 58 ? (e.enter("definitionMarker"), e.consume(p), e.exit("definitionMarker"), s) : n(p);
5925
5925
  }
5926
5926
  function s(p) {
5927
- return Ce(p) ? Yt(e, u)(p) : u(p);
5927
+ return je(p) ? Yt(e, u)(p) : u(p);
5928
5928
  }
5929
5929
  function u(p) {
5930
5930
  return Da(
@@ -5952,7 +5952,7 @@ function Hp(e, t, n) {
5952
5952
  function $p(e, t, n) {
5953
5953
  return r;
5954
5954
  function r(l) {
5955
- return Ce(l) ? Yt(e, i)(l) : n(l);
5955
+ return je(l) ? Yt(e, i)(l) : n(l);
5956
5956
  }
5957
5957
  function i(l) {
5958
5958
  return Na(
@@ -6017,7 +6017,7 @@ function Zp(e, t, n) {
6017
6017
  return e.enter("atxHeadingSequence"), a(c);
6018
6018
  }
6019
6019
  function a(c) {
6020
- return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null || Ce(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c);
6020
+ return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null || je(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c);
6021
6021
  }
6022
6022
  function l(c) {
6023
6023
  return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || V(c) ? (e.exit("atxHeading"), t(c)) : oe(c) ? fe(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), u(c));
@@ -6026,7 +6026,7 @@ function Zp(e, t, n) {
6026
6026
  return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), l(c));
6027
6027
  }
6028
6028
  function u(c) {
6029
- return c === null || c === 35 || Ce(c) ? (e.exit("atxHeadingText"), l(c)) : (e.consume(c), u);
6029
+ return c === null || c === 35 || je(c) ? (e.exit("atxHeadingText"), l(c)) : (e.consume(c), u);
6030
6030
  }
6031
6031
  }
6032
6032
  const Xp = [
@@ -6124,36 +6124,36 @@ function nf(e, t, n) {
6124
6124
  return g === 33 ? (e.consume(g), m) : g === 47 ? (e.consume(g), o = !0, x) : g === 63 ? (e.consume(g), i = 3, r.interrupt ? t : h) : Ve(g) ? (e.consume(g), a = String.fromCharCode(g), k) : n(g);
6125
6125
  }
6126
6126
  function m(g) {
6127
- return g === 45 ? (e.consume(g), i = 2, p) : g === 91 ? (e.consume(g), i = 5, l = 0, T) : Ve(g) ? (e.consume(g), i = 4, r.interrupt ? t : h) : n(g);
6127
+ return g === 45 ? (e.consume(g), i = 2, p) : g === 91 ? (e.consume(g), i = 5, l = 0, D) : Ve(g) ? (e.consume(g), i = 4, r.interrupt ? t : h) : n(g);
6128
6128
  }
6129
6129
  function p(g) {
6130
6130
  return g === 45 ? (e.consume(g), r.interrupt ? t : h) : n(g);
6131
6131
  }
6132
- function T(g) {
6132
+ function D(g) {
6133
6133
  const me = "CDATA[";
6134
- return g === me.charCodeAt(l++) ? (e.consume(g), l === me.length ? r.interrupt ? t : w : T) : n(g);
6134
+ return g === me.charCodeAt(l++) ? (e.consume(g), l === me.length ? r.interrupt ? t : w : D) : n(g);
6135
6135
  }
6136
6136
  function x(g) {
6137
6137
  return Ve(g) ? (e.consume(g), a = String.fromCharCode(g), k) : n(g);
6138
6138
  }
6139
6139
  function k(g) {
6140
- if (g === null || g === 47 || g === 62 || Ce(g)) {
6140
+ if (g === null || g === 47 || g === 62 || je(g)) {
6141
6141
  const me = g === 47, De = a.toLowerCase();
6142
6142
  return !me && !o && ao.includes(De) ? (i = 1, r.interrupt ? t(g) : w(g)) : Xp.includes(a.toLowerCase()) ? (i = 6, me ? (e.consume(g), b) : r.interrupt ? t(g) : w(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ? z(g) : E(g));
6143
6143
  }
6144
- return g === 45 || ze(g) ? (e.consume(g), a += String.fromCharCode(g), k) : n(g);
6144
+ return g === 45 || Se(g) ? (e.consume(g), a += String.fromCharCode(g), k) : n(g);
6145
6145
  }
6146
6146
  function b(g) {
6147
6147
  return g === 62 ? (e.consume(g), r.interrupt ? t : w) : n(g);
6148
6148
  }
6149
6149
  function z(g) {
6150
- return oe(g) ? (e.consume(g), z) : J(g);
6150
+ return oe(g) ? (e.consume(g), z) : ee(g);
6151
6151
  }
6152
6152
  function E(g) {
6153
- return g === 47 ? (e.consume(g), J) : g === 58 || g === 95 || Ve(g) ? (e.consume(g), _) : oe(g) ? (e.consume(g), E) : J(g);
6153
+ return g === 47 ? (e.consume(g), ee) : g === 58 || g === 95 || Ve(g) ? (e.consume(g), _) : oe(g) ? (e.consume(g), E) : ee(g);
6154
6154
  }
6155
6155
  function _(g) {
6156
- return g === 45 || g === 46 || g === 58 || g === 95 || ze(g) ? (e.consume(g), _) : Q(g);
6156
+ return g === 45 || g === 46 || g === 58 || g === 95 || Se(g) ? (e.consume(g), _) : Q(g);
6157
6157
  }
6158
6158
  function Q(g) {
6159
6159
  return g === 61 ? (e.consume(g), M) : oe(g) ? (e.consume(g), Q) : E(g);
@@ -6165,12 +6165,12 @@ function nf(e, t, n) {
6165
6165
  return g === s ? (e.consume(g), s = null, q) : g === null || V(g) ? n(g) : (e.consume(g), L);
6166
6166
  }
6167
6167
  function Y(g) {
6168
- return g === null || g === 34 || g === 39 || g === 47 || g === 60 || g === 61 || g === 62 || g === 96 || Ce(g) ? Q(g) : (e.consume(g), Y);
6168
+ return g === null || g === 34 || g === 39 || g === 47 || g === 60 || g === 61 || g === 62 || g === 96 || je(g) ? Q(g) : (e.consume(g), Y);
6169
6169
  }
6170
6170
  function q(g) {
6171
6171
  return g === 47 || g === 62 || oe(g) ? E(g) : n(g);
6172
6172
  }
6173
- function J(g) {
6173
+ function ee(g) {
6174
6174
  return g === 62 ? (e.consume(g), S) : n(g);
6175
6175
  }
6176
6176
  function S(g) {
@@ -6253,7 +6253,7 @@ function lf(e, t, n) {
6253
6253
  return h === 33 ? (e.consume(h), u) : h === 47 ? (e.consume(h), Q) : h === 63 ? (e.consume(h), E) : Ve(h) ? (e.consume(h), Y) : n(h);
6254
6254
  }
6255
6255
  function u(h) {
6256
- return h === 45 ? (e.consume(h), c) : h === 91 ? (e.consume(h), o = 0, T) : Ve(h) ? (e.consume(h), z) : n(h);
6256
+ return h === 45 ? (e.consume(h), c) : h === 91 ? (e.consume(h), o = 0, D) : Ve(h) ? (e.consume(h), z) : n(h);
6257
6257
  }
6258
6258
  function c(h) {
6259
6259
  return h === 45 ? (e.consume(h), p) : n(h);
@@ -6267,9 +6267,9 @@ function lf(e, t, n) {
6267
6267
  function p(h) {
6268
6268
  return h === 62 ? $(h) : h === 45 ? m(h) : f(h);
6269
6269
  }
6270
- function T(h) {
6270
+ function D(h) {
6271
6271
  const ne = "CDATA[";
6272
- return h === ne.charCodeAt(o++) ? (e.consume(h), o === ne.length ? x : T) : n(h);
6272
+ return h === ne.charCodeAt(o++) ? (e.consume(h), o === ne.length ? x : D) : n(h);
6273
6273
  }
6274
6274
  function x(h) {
6275
6275
  return h === null ? n(h) : h === 93 ? (e.consume(h), k) : V(h) ? (a = x, G(h)) : (e.consume(h), x);
@@ -6293,19 +6293,19 @@ function lf(e, t, n) {
6293
6293
  return Ve(h) ? (e.consume(h), M) : n(h);
6294
6294
  }
6295
6295
  function M(h) {
6296
- return h === 45 || ze(h) ? (e.consume(h), M) : L(h);
6296
+ return h === 45 || Se(h) ? (e.consume(h), M) : L(h);
6297
6297
  }
6298
6298
  function L(h) {
6299
6299
  return V(h) ? (a = L, G(h)) : oe(h) ? (e.consume(h), L) : $(h);
6300
6300
  }
6301
6301
  function Y(h) {
6302
- return h === 45 || ze(h) ? (e.consume(h), Y) : h === 47 || h === 62 || Ce(h) ? q(h) : n(h);
6302
+ return h === 45 || Se(h) ? (e.consume(h), Y) : h === 47 || h === 62 || je(h) ? q(h) : n(h);
6303
6303
  }
6304
6304
  function q(h) {
6305
- return h === 47 ? (e.consume(h), $) : h === 58 || h === 95 || Ve(h) ? (e.consume(h), J) : V(h) ? (a = q, G(h)) : oe(h) ? (e.consume(h), q) : $(h);
6305
+ return h === 47 ? (e.consume(h), $) : h === 58 || h === 95 || Ve(h) ? (e.consume(h), ee) : V(h) ? (a = q, G(h)) : oe(h) ? (e.consume(h), q) : $(h);
6306
6306
  }
6307
- function J(h) {
6308
- return h === 45 || h === 46 || h === 58 || h === 95 || ze(h) ? (e.consume(h), J) : S(h);
6307
+ function ee(h) {
6308
+ return h === 45 || h === 46 || h === 58 || h === 95 || Se(h) ? (e.consume(h), ee) : S(h);
6309
6309
  }
6310
6310
  function S(h) {
6311
6311
  return h === 61 ? (e.consume(h), w) : V(h) ? (a = S, G(h)) : oe(h) ? (e.consume(h), S) : q(h);
@@ -6317,10 +6317,10 @@ function lf(e, t, n) {
6317
6317
  return h === i ? (e.consume(h), i = void 0, P) : h === null ? n(h) : V(h) ? (a = j, G(h)) : (e.consume(h), j);
6318
6318
  }
6319
6319
  function O(h) {
6320
- return h === null || h === 34 || h === 39 || h === 60 || h === 61 || h === 96 ? n(h) : h === 47 || h === 62 || Ce(h) ? q(h) : (e.consume(h), O);
6320
+ return h === null || h === 34 || h === 39 || h === 60 || h === 61 || h === 96 ? n(h) : h === 47 || h === 62 || je(h) ? q(h) : (e.consume(h), O);
6321
6321
  }
6322
6322
  function P(h) {
6323
- return h === 47 || h === 62 || Ce(h) ? q(h) : n(h);
6323
+ return h === 47 || h === 62 || je(h) ? q(h) : n(h);
6324
6324
  }
6325
6325
  function $(h) {
6326
6326
  return h === 62 ? (e.consume(h), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(h);
@@ -6390,19 +6390,19 @@ function ff(e, t) {
6390
6390
  return l = [
6391
6391
  ["enter", s, t],
6392
6392
  ["enter", u, t]
6393
- ], l = Be(l, e.slice(o + 1, o + r + 3)), l = Be(l, [["enter", c, t]]), l = Be(
6393
+ ], l = Re(l, e.slice(o + 1, o + r + 3)), l = Re(l, [["enter", c, t]]), l = Re(
6394
6394
  l,
6395
6395
  Ur(
6396
6396
  t.parser.constructs.insideSpan.null,
6397
6397
  e.slice(o + r + 4, a - 3),
6398
6398
  t
6399
6399
  )
6400
- ), l = Be(l, [
6400
+ ), l = Re(l, [
6401
6401
  ["exit", c, t],
6402
6402
  e[a - 2],
6403
6403
  e[a - 1],
6404
6404
  ["exit", u, t]
6405
- ]), l = Be(l, e.slice(a + 1)), l = Be(l, [["exit", s, t]]), Ge(e, o, e.length, l), e;
6405
+ ]), l = Re(l, e.slice(a + 1)), l = Re(l, [["exit", s, t]]), Ge(e, o, e.length, l), e;
6406
6406
  }
6407
6407
  function df(e, t, n) {
6408
6408
  const r = this;
@@ -6454,7 +6454,7 @@ function hf(e, t, n) {
6454
6454
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), i;
6455
6455
  }
6456
6456
  function i(f) {
6457
- return Ce(f) ? Yt(e, o)(f) : o(f);
6457
+ return je(f) ? Yt(e, o)(f) : o(f);
6458
6458
  }
6459
6459
  function o(f) {
6460
6460
  return f === 41 ? c(f) : Da(
@@ -6470,7 +6470,7 @@ function hf(e, t, n) {
6470
6470
  )(f);
6471
6471
  }
6472
6472
  function a(f) {
6473
- return Ce(f) ? Yt(e, s)(f) : c(f);
6473
+ return je(f) ? Yt(e, s)(f) : c(f);
6474
6474
  }
6475
6475
  function l(f) {
6476
6476
  return n(f);
@@ -6486,7 +6486,7 @@ function hf(e, t, n) {
6486
6486
  )(f) : c(f);
6487
6487
  }
6488
6488
  function u(f) {
6489
- return Ce(f) ? Yt(e, c)(f) : c(f);
6489
+ return je(f) ? Yt(e, c)(f) : c(f);
6490
6490
  }
6491
6491
  function c(f) {
6492
6492
  return f === 41 ? (e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), e.exit("resource"), t) : n(f);
@@ -6589,7 +6589,7 @@ function vf(e, t, n) {
6589
6589
  return u === i ? (e.consume(u), r++, s) : (e.exit("thematicBreakSequence"), oe(u) ? fe(e, l, "whitespace")(u) : l(u));
6590
6590
  }
6591
6591
  }
6592
- const je = {
6592
+ const Ne = {
6593
6593
  name: "list",
6594
6594
  tokenize: If,
6595
6595
  continuation: {
@@ -6608,11 +6608,11 @@ function If(e, t, n) {
6608
6608
  let o = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, a = 0;
6609
6609
  return l;
6610
6610
  function l(p) {
6611
- const T = r.containerState.type || (p === 42 || p === 43 || p === 45 ? "listUnordered" : "listOrdered");
6612
- if (T === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : Tr(p)) {
6613
- if (r.containerState.type || (r.containerState.type = T, e.enter(T, {
6611
+ const D = r.containerState.type || (p === 42 || p === 43 || p === 45 ? "listUnordered" : "listOrdered");
6612
+ if (D === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : Tr(p)) {
6613
+ if (r.containerState.type || (r.containerState.type = D, e.enter(D, {
6614
6614
  _container: !0
6615
- })), T === "listUnordered")
6615
+ })), D === "listUnordered")
6616
6616
  return e.enter("listItemPrefix"), p === 42 || p === 45 ? e.check(fn, n, u)(p) : u(p);
6617
6617
  if (!r.interrupt || p === 49)
6618
6618
  return e.enter("listItemPrefix"), e.enter("listItemValue"), s(p);
@@ -6661,7 +6661,7 @@ function Nf(e, t, n) {
6661
6661
  function a(l) {
6662
6662
  return r.containerState._closeFlow = !0, r.interrupt = void 0, fe(
6663
6663
  e,
6664
- e.attempt(je, t, n),
6664
+ e.attempt(Ne, t, n),
6665
6665
  "linePrefix",
6666
6666
  r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
6667
6667
  )(l);
@@ -6906,14 +6906,14 @@ function Pf(e, t, n) {
6906
6906
  parser: e,
6907
6907
  sliceStream: p,
6908
6908
  sliceSerialize: m,
6909
- now: T,
6909
+ now: D,
6910
6910
  defineSkip: x,
6911
6911
  write: f
6912
6912
  };
6913
6913
  let c = t.tokenize.call(u, s);
6914
6914
  return t.resolveAll && o.push(t), u;
6915
6915
  function f(S) {
6916
- return a = Be(a, S), k(), a[a.length - 1] !== null ? [] : (Y(t, 0), u.events = Ur(o, u.events, u), u.events);
6916
+ return a = Re(a, S), k(), a[a.length - 1] !== null ? [] : (Y(t, 0), u.events = Ur(o, u.events, u), u.events);
6917
6917
  }
6918
6918
  function m(S, w) {
6919
6919
  return Uf(p(S), w);
@@ -6921,7 +6921,7 @@ function Pf(e, t, n) {
6921
6921
  function p(S) {
6922
6922
  return Rf(a, S);
6923
6923
  }
6924
- function T() {
6924
+ function D() {
6925
6925
  const { line: S, column: w, offset: j, _index: O, _bufferIndex: P } = r;
6926
6926
  return {
6927
6927
  line: S,
@@ -6932,7 +6932,7 @@ function Pf(e, t, n) {
6932
6932
  };
6933
6933
  }
6934
6934
  function x(S) {
6935
- i[S.line] = S.column, J();
6935
+ i[S.line] = S.column, ee();
6936
6936
  }
6937
6937
  function k() {
6938
6938
  let S;
@@ -6949,15 +6949,15 @@ function Pf(e, t, n) {
6949
6949
  c = c(S);
6950
6950
  }
6951
6951
  function z(S) {
6952
- V(S) ? (r.line++, r.column = 1, r.offset += S === -3 ? 2 : 1, J()) : S !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === a[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = S;
6952
+ V(S) ? (r.line++, r.column = 1, r.offset += S === -3 ? 2 : 1, ee()) : S !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === a[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = S;
6953
6953
  }
6954
6954
  function E(S, w) {
6955
6955
  const j = w || {};
6956
- return j.type = S, j.start = T(), u.events.push(["enter", j, u]), l.push(j), j;
6956
+ return j.type = S, j.start = D(), u.events.push(["enter", j, u]), l.push(j), j;
6957
6957
  }
6958
6958
  function _(S) {
6959
6959
  const w = l.pop();
6960
- return w.end = T(), u.events.push(["exit", w, u]), w;
6960
+ return w.end = D(), u.events.push(["exit", w, u]), w;
6961
6961
  }
6962
6962
  function Q(S, w) {
6963
6963
  Y(S, w.from);
@@ -6976,11 +6976,11 @@ function Pf(e, t, n) {
6976
6976
  function ne(ae) {
6977
6977
  return Ie;
6978
6978
  function Ie(ve) {
6979
- const Fe = ve !== null && ae[ve], Pe = ve !== null && ae.null, Ke = [
6979
+ const Le = ve !== null && ae[ve], _e = ve !== null && ae.null, Ke = [
6980
6980
  // To do: add more extension tests.
6981
6981
  /* c8 ignore next 2 */
6982
- ...Array.isArray(Fe) ? Fe : Fe ? [Fe] : [],
6983
- ...Array.isArray(Pe) ? Pe : Pe ? [Pe] : []
6982
+ ...Array.isArray(Le) ? Le : Le ? [Le] : [],
6983
+ ...Array.isArray(_e) ? _e : _e ? [_e] : []
6984
6984
  ];
6985
6985
  return we(Ke)(ve);
6986
6986
  }
@@ -7019,16 +7019,16 @@ function Pf(e, t, n) {
7019
7019
  ), S.resolveTo && (u.events = S.resolveTo(u.events, u));
7020
7020
  }
7021
7021
  function q() {
7022
- const S = T(), w = u.previous, j = u.currentConstruct, O = u.events.length, P = Array.from(l);
7022
+ const S = D(), w = u.previous, j = u.currentConstruct, O = u.events.length, P = Array.from(l);
7023
7023
  return {
7024
7024
  restore: $,
7025
7025
  from: O
7026
7026
  };
7027
7027
  function $() {
7028
- r = S, u.previous = w, u.currentConstruct = j, u.events.length = O, l = P, J();
7028
+ r = S, u.previous = w, u.currentConstruct = j, u.events.length = O, l = P, ee();
7029
7029
  }
7030
7030
  }
7031
- function J() {
7031
+ function ee() {
7032
7032
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
7033
7033
  }
7034
7034
  }
@@ -7089,19 +7089,19 @@ function Uf(e, t) {
7089
7089
  return r.join("");
7090
7090
  }
7091
7091
  const Bf = {
7092
- 42: je,
7093
- 43: je,
7094
- 45: je,
7095
- 48: je,
7096
- 49: je,
7097
- 50: je,
7098
- 51: je,
7099
- 52: je,
7100
- 53: je,
7101
- 54: je,
7102
- 55: je,
7103
- 56: je,
7104
- 57: je,
7092
+ 42: Ne,
7093
+ 43: Ne,
7094
+ 45: Ne,
7095
+ 48: Ne,
7096
+ 49: Ne,
7097
+ 50: Ne,
7098
+ 51: Ne,
7099
+ 52: Ne,
7100
+ 53: Ne,
7101
+ 54: Ne,
7102
+ 55: Ne,
7103
+ 56: Ne,
7104
+ 57: Ne,
7105
7105
  62: xa
7106
7106
  }, Qf = {
7107
7107
  91: Qp
@@ -7296,7 +7296,7 @@ function id(e) {
7296
7296
  label: s,
7297
7297
  link: l($e),
7298
7298
  listItem: l(F),
7299
- listItemValue: T,
7299
+ listItemValue: D,
7300
7300
  listOrdered: l(Ze, p),
7301
7301
  listUnordered: l(Ze),
7302
7302
  paragraph: l(W),
@@ -7312,8 +7312,8 @@ function id(e) {
7312
7312
  atxHeading: c(),
7313
7313
  atxHeadingSequence: L,
7314
7314
  autolink: c(),
7315
- autolinkEmail: Pe,
7316
- autolinkProtocol: Fe,
7315
+ autolinkEmail: _e,
7316
+ autolinkProtocol: Le,
7317
7317
  blockQuote: c(),
7318
7318
  characterEscapeValue: w,
7319
7319
  characterReferenceMarkerHexadecimal: Ie,
@@ -7352,7 +7352,7 @@ function id(e) {
7352
7352
  resourceDestinationString: we,
7353
7353
  resourceTitleString: g,
7354
7354
  resource: me,
7355
- setextHeading: c(J),
7355
+ setextHeading: c(ee),
7356
7356
  setextHeadingLineSequence: q,
7357
7357
  setextHeadingText: Y,
7358
7358
  strong: c(),
@@ -7362,7 +7362,7 @@ function id(e) {
7362
7362
  Aa(t, (e || {}).mdastExtensions || []);
7363
7363
  const n = {};
7364
7364
  return r;
7365
- function r(I) {
7365
+ function r(v) {
7366
7366
  let C = {
7367
7367
  type: "root",
7368
7368
  children: []
@@ -7378,25 +7378,25 @@ function id(e) {
7378
7378
  setData: o,
7379
7379
  getData: a
7380
7380
  }, K = [];
7381
- let ee = -1;
7382
- for (; ++ee < I.length; )
7383
- if (I[ee][1].type === "listOrdered" || I[ee][1].type === "listUnordered")
7384
- if (I[ee][0] === "enter")
7385
- K.push(ee);
7381
+ let J = -1;
7382
+ for (; ++J < v.length; )
7383
+ if (v[J][1].type === "listOrdered" || v[J][1].type === "listUnordered")
7384
+ if (v[J][0] === "enter")
7385
+ K.push(J);
7386
7386
  else {
7387
7387
  const de = K.pop();
7388
- ee = i(I, de, ee);
7388
+ J = i(v, de, J);
7389
7389
  }
7390
- for (ee = -1; ++ee < I.length; ) {
7391
- const de = t[I[ee][0]];
7392
- Ca.call(de, I[ee][1].type) && de[I[ee][1].type].call(
7390
+ for (J = -1; ++J < v.length; ) {
7391
+ const de = t[v[J][0]];
7392
+ Ca.call(de, v[J][1].type) && de[v[J][1].type].call(
7393
7393
  Object.assign(
7394
7394
  {
7395
- sliceSerialize: I[ee][2].sliceSerialize
7395
+ sliceSerialize: v[J][2].sliceSerialize
7396
7396
  },
7397
7397
  U
7398
7398
  ),
7399
- I[ee][1]
7399
+ v[J][1]
7400
7400
  );
7401
7401
  }
7402
7402
  if (U.tokenStack.length > 0) {
@@ -7405,65 +7405,65 @@ function id(e) {
7405
7405
  }
7406
7406
  for (C.position = {
7407
7407
  start: et(
7408
- I.length > 0 ? I[0][1].start : {
7408
+ v.length > 0 ? v[0][1].start : {
7409
7409
  line: 1,
7410
7410
  column: 1,
7411
7411
  offset: 0
7412
7412
  }
7413
7413
  ),
7414
7414
  end: et(
7415
- I.length > 0 ? I[I.length - 2][1].end : {
7415
+ v.length > 0 ? v[v.length - 2][1].end : {
7416
7416
  line: 1,
7417
7417
  column: 1,
7418
7418
  offset: 0
7419
7419
  }
7420
7420
  )
7421
- }, ee = -1; ++ee < t.transforms.length; )
7422
- C = t.transforms[ee](C) || C;
7421
+ }, J = -1; ++J < t.transforms.length; )
7422
+ C = t.transforms[J](C) || C;
7423
7423
  return C;
7424
7424
  }
7425
- function i(I, C, U) {
7426
- let K = C - 1, ee = -1, de = !1, Ne, ke, st, Ae;
7425
+ function i(v, C, U) {
7426
+ let K = C - 1, J = -1, de = !1, Ye, He, st, Ee;
7427
7427
  for (; ++K <= U; ) {
7428
- const ce = I[K];
7429
- if (ce[1].type === "listUnordered" || ce[1].type === "listOrdered" || ce[1].type === "blockQuote" ? (ce[0] === "enter" ? ee++ : ee--, Ae = void 0) : ce[1].type === "lineEndingBlank" ? ce[0] === "enter" && (Ne && !Ae && !ee && !st && (st = K), Ae = void 0) : ce[1].type === "linePrefix" || ce[1].type === "listItemValue" || ce[1].type === "listItemMarker" || ce[1].type === "listItemPrefix" || ce[1].type === "listItemPrefixWhitespace" || (Ae = void 0), !ee && ce[0] === "enter" && ce[1].type === "listItemPrefix" || ee === -1 && ce[0] === "exit" && (ce[1].type === "listUnordered" || ce[1].type === "listOrdered")) {
7430
- if (Ne) {
7428
+ const ce = v[K];
7429
+ if (ce[1].type === "listUnordered" || ce[1].type === "listOrdered" || ce[1].type === "blockQuote" ? (ce[0] === "enter" ? J++ : J--, Ee = void 0) : ce[1].type === "lineEndingBlank" ? ce[0] === "enter" && (Ye && !Ee && !J && !st && (st = K), Ee = void 0) : ce[1].type === "linePrefix" || ce[1].type === "listItemValue" || ce[1].type === "listItemMarker" || ce[1].type === "listItemPrefix" || ce[1].type === "listItemPrefixWhitespace" || (Ee = void 0), !J && ce[0] === "enter" && ce[1].type === "listItemPrefix" || J === -1 && ce[0] === "exit" && (ce[1].type === "listUnordered" || ce[1].type === "listOrdered")) {
7430
+ if (Ye) {
7431
7431
  let Et = K;
7432
- for (ke = void 0; Et--; ) {
7433
- const Re = I[Et];
7434
- if (Re[1].type === "lineEnding" || Re[1].type === "lineEndingBlank") {
7435
- if (Re[0] === "exit")
7432
+ for (He = void 0; Et--; ) {
7433
+ const Fe = v[Et];
7434
+ if (Fe[1].type === "lineEnding" || Fe[1].type === "lineEndingBlank") {
7435
+ if (Fe[0] === "exit")
7436
7436
  continue;
7437
- ke && (I[ke][1].type = "lineEndingBlank", de = !0), Re[1].type = "lineEnding", ke = Et;
7438
- } else if (!(Re[1].type === "linePrefix" || Re[1].type === "blockQuotePrefix" || Re[1].type === "blockQuotePrefixWhitespace" || Re[1].type === "blockQuoteMarker" || Re[1].type === "listItemIndent"))
7437
+ He && (v[He][1].type = "lineEndingBlank", de = !0), Fe[1].type = "lineEnding", He = Et;
7438
+ } else if (!(Fe[1].type === "linePrefix" || Fe[1].type === "blockQuotePrefix" || Fe[1].type === "blockQuotePrefixWhitespace" || Fe[1].type === "blockQuoteMarker" || Fe[1].type === "listItemIndent"))
7439
7439
  break;
7440
7440
  }
7441
- st && (!ke || st < ke) && (Ne._spread = !0), Ne.end = Object.assign(
7441
+ st && (!He || st < He) && (Ye._spread = !0), Ye.end = Object.assign(
7442
7442
  {},
7443
- ke ? I[ke][1].start : ce[1].end
7444
- ), I.splice(ke || K, 0, ["exit", Ne, ce[2]]), K++, U++;
7443
+ He ? v[He][1].start : ce[1].end
7444
+ ), v.splice(He || K, 0, ["exit", Ye, ce[2]]), K++, U++;
7445
7445
  }
7446
- ce[1].type === "listItemPrefix" && (Ne = {
7446
+ ce[1].type === "listItemPrefix" && (Ye = {
7447
7447
  type: "listItem",
7448
7448
  _spread: !1,
7449
7449
  start: Object.assign({}, ce[1].start),
7450
7450
  // @ts-expect-error: we’ll add `end` in a second.
7451
7451
  end: void 0
7452
- }, I.splice(K, 0, ["enter", Ne, ce[2]]), K++, U++, st = void 0, Ae = !0);
7452
+ }, v.splice(K, 0, ["enter", Ye, ce[2]]), K++, U++, st = void 0, Ee = !0);
7453
7453
  }
7454
7454
  }
7455
- return I[C][1]._spread = de, U;
7455
+ return v[C][1]._spread = de, U;
7456
7456
  }
7457
- function o(I, C) {
7458
- n[I] = C;
7457
+ function o(v, C) {
7458
+ n[v] = C;
7459
7459
  }
7460
- function a(I) {
7461
- return n[I];
7460
+ function a(v) {
7461
+ return n[v];
7462
7462
  }
7463
- function l(I, C) {
7463
+ function l(v, C) {
7464
7464
  return U;
7465
7465
  function U(K) {
7466
- u.call(this, I(K), K), C && C.call(this, K);
7466
+ u.call(this, v(K), K), C && C.call(this, K);
7467
7467
  }
7468
7468
  }
7469
7469
  function s() {
@@ -7472,29 +7472,29 @@ function id(e) {
7472
7472
  children: []
7473
7473
  });
7474
7474
  }
7475
- function u(I, C, U) {
7476
- return this.stack[this.stack.length - 1].children.push(I), this.stack.push(I), this.tokenStack.push([C, U]), I.position = {
7475
+ function u(v, C, U) {
7476
+ return this.stack[this.stack.length - 1].children.push(v), this.stack.push(v), this.tokenStack.push([C, U]), v.position = {
7477
7477
  start: et(C.start)
7478
- }, I;
7478
+ }, v;
7479
7479
  }
7480
- function c(I) {
7480
+ function c(v) {
7481
7481
  return C;
7482
7482
  function C(U) {
7483
- I && I.call(this, U), f.call(this, U);
7483
+ v && v.call(this, U), f.call(this, U);
7484
7484
  }
7485
7485
  }
7486
- function f(I, C) {
7486
+ function f(v, C) {
7487
7487
  const U = this.stack.pop(), K = this.tokenStack.pop();
7488
7488
  if (K)
7489
- K[0].type !== I.type && (C ? C.call(this, I, K[0]) : (K[1] || uo).call(this, I, K[0]));
7489
+ K[0].type !== v.type && (C ? C.call(this, v, K[0]) : (K[1] || uo).call(this, v, K[0]));
7490
7490
  else
7491
7491
  throw new Error(
7492
- "Cannot close `" + I.type + "` (" + Qt({
7493
- start: I.start,
7494
- end: I.end
7492
+ "Cannot close `" + v.type + "` (" + Qt({
7493
+ start: v.start,
7494
+ end: v.end
7495
7495
  }) + "): it’s not open"
7496
7496
  );
7497
- return U.position.end = et(I.end), U;
7497
+ return U.position.end = et(v.end), U;
7498
7498
  }
7499
7499
  function m() {
7500
7500
  return tp(this.stack.pop());
@@ -7502,134 +7502,134 @@ function id(e) {
7502
7502
  function p() {
7503
7503
  o("expectingFirstListItemValue", !0);
7504
7504
  }
7505
- function T(I) {
7505
+ function D(v) {
7506
7506
  if (a("expectingFirstListItemValue")) {
7507
7507
  const C = this.stack[this.stack.length - 2];
7508
- C.start = Number.parseInt(this.sliceSerialize(I), 10), o("expectingFirstListItemValue");
7508
+ C.start = Number.parseInt(this.sliceSerialize(v), 10), o("expectingFirstListItemValue");
7509
7509
  }
7510
7510
  }
7511
7511
  function x() {
7512
- const I = this.resume(), C = this.stack[this.stack.length - 1];
7513
- C.lang = I;
7512
+ const v = this.resume(), C = this.stack[this.stack.length - 1];
7513
+ C.lang = v;
7514
7514
  }
7515
7515
  function k() {
7516
- const I = this.resume(), C = this.stack[this.stack.length - 1];
7517
- C.meta = I;
7516
+ const v = this.resume(), C = this.stack[this.stack.length - 1];
7517
+ C.meta = v;
7518
7518
  }
7519
7519
  function b() {
7520
7520
  a("flowCodeInside") || (this.buffer(), o("flowCodeInside", !0));
7521
7521
  }
7522
7522
  function z() {
7523
- const I = this.resume(), C = this.stack[this.stack.length - 1];
7524
- C.value = I.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
7523
+ const v = this.resume(), C = this.stack[this.stack.length - 1];
7524
+ C.value = v.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
7525
7525
  }
7526
7526
  function E() {
7527
- const I = this.resume(), C = this.stack[this.stack.length - 1];
7528
- C.value = I.replace(/(\r?\n|\r)$/g, "");
7527
+ const v = this.resume(), C = this.stack[this.stack.length - 1];
7528
+ C.value = v.replace(/(\r?\n|\r)$/g, "");
7529
7529
  }
7530
- function _(I) {
7530
+ function _(v) {
7531
7531
  const C = this.resume(), U = this.stack[this.stack.length - 1];
7532
7532
  U.label = C, U.identifier = xt(
7533
- this.sliceSerialize(I)
7533
+ this.sliceSerialize(v)
7534
7534
  ).toLowerCase();
7535
7535
  }
7536
7536
  function Q() {
7537
- const I = this.resume(), C = this.stack[this.stack.length - 1];
7538
- C.title = I;
7537
+ const v = this.resume(), C = this.stack[this.stack.length - 1];
7538
+ C.title = v;
7539
7539
  }
7540
7540
  function M() {
7541
- const I = this.resume(), C = this.stack[this.stack.length - 1];
7542
- C.url = I;
7541
+ const v = this.resume(), C = this.stack[this.stack.length - 1];
7542
+ C.url = v;
7543
7543
  }
7544
- function L(I) {
7544
+ function L(v) {
7545
7545
  const C = this.stack[this.stack.length - 1];
7546
7546
  if (!C.depth) {
7547
- const U = this.sliceSerialize(I).length;
7547
+ const U = this.sliceSerialize(v).length;
7548
7548
  C.depth = U;
7549
7549
  }
7550
7550
  }
7551
7551
  function Y() {
7552
7552
  o("setextHeadingSlurpLineEnding", !0);
7553
7553
  }
7554
- function q(I) {
7554
+ function q(v) {
7555
7555
  const C = this.stack[this.stack.length - 1];
7556
- C.depth = this.sliceSerialize(I).charCodeAt(0) === 61 ? 1 : 2;
7556
+ C.depth = this.sliceSerialize(v).charCodeAt(0) === 61 ? 1 : 2;
7557
7557
  }
7558
- function J() {
7558
+ function ee() {
7559
7559
  o("setextHeadingSlurpLineEnding");
7560
7560
  }
7561
- function S(I) {
7561
+ function S(v) {
7562
7562
  const C = this.stack[this.stack.length - 1];
7563
7563
  let U = C.children[C.children.length - 1];
7564
7564
  (!U || U.type !== "text") && (U = se(), U.position = {
7565
- start: et(I.start)
7565
+ start: et(v.start)
7566
7566
  }, C.children.push(U)), this.stack.push(U);
7567
7567
  }
7568
- function w(I) {
7568
+ function w(v) {
7569
7569
  const C = this.stack.pop();
7570
- C.value += this.sliceSerialize(I), C.position.end = et(I.end);
7570
+ C.value += this.sliceSerialize(v), C.position.end = et(v.end);
7571
7571
  }
7572
- function j(I) {
7572
+ function j(v) {
7573
7573
  const C = this.stack[this.stack.length - 1];
7574
7574
  if (a("atHardBreak")) {
7575
7575
  const U = C.children[C.children.length - 1];
7576
- U.position.end = et(I.end), o("atHardBreak");
7576
+ U.position.end = et(v.end), o("atHardBreak");
7577
7577
  return;
7578
7578
  }
7579
- !a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(C.type) && (S.call(this, I), w.call(this, I));
7579
+ !a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(C.type) && (S.call(this, v), w.call(this, v));
7580
7580
  }
7581
7581
  function O() {
7582
7582
  o("atHardBreak", !0);
7583
7583
  }
7584
7584
  function P() {
7585
- const I = this.resume(), C = this.stack[this.stack.length - 1];
7586
- C.value = I;
7585
+ const v = this.resume(), C = this.stack[this.stack.length - 1];
7586
+ C.value = v;
7587
7587
  }
7588
7588
  function $() {
7589
- const I = this.resume(), C = this.stack[this.stack.length - 1];
7590
- C.value = I;
7589
+ const v = this.resume(), C = this.stack[this.stack.length - 1];
7590
+ C.value = v;
7591
7591
  }
7592
7592
  function G() {
7593
- const I = this.resume(), C = this.stack[this.stack.length - 1];
7594
- C.value = I;
7593
+ const v = this.resume(), C = this.stack[this.stack.length - 1];
7594
+ C.value = v;
7595
7595
  }
7596
7596
  function Z() {
7597
- const I = this.stack[this.stack.length - 1];
7597
+ const v = this.stack[this.stack.length - 1];
7598
7598
  if (a("inReference")) {
7599
7599
  const C = a("referenceType") || "shortcut";
7600
- I.type += "Reference", I.referenceType = C, delete I.url, delete I.title;
7600
+ v.type += "Reference", v.referenceType = C, delete v.url, delete v.title;
7601
7601
  } else
7602
- delete I.identifier, delete I.label;
7602
+ delete v.identifier, delete v.label;
7603
7603
  o("referenceType");
7604
7604
  }
7605
7605
  function ie() {
7606
- const I = this.stack[this.stack.length - 1];
7606
+ const v = this.stack[this.stack.length - 1];
7607
7607
  if (a("inReference")) {
7608
7608
  const C = a("referenceType") || "shortcut";
7609
- I.type += "Reference", I.referenceType = C, delete I.url, delete I.title;
7609
+ v.type += "Reference", v.referenceType = C, delete v.url, delete v.title;
7610
7610
  } else
7611
- delete I.identifier, delete I.label;
7611
+ delete v.identifier, delete v.label;
7612
7612
  o("referenceType");
7613
7613
  }
7614
- function h(I) {
7615
- const C = this.sliceSerialize(I), U = this.stack[this.stack.length - 2];
7614
+ function h(v) {
7615
+ const C = this.sliceSerialize(v), U = this.stack[this.stack.length - 2];
7616
7616
  U.label = td(C), U.identifier = xt(C).toLowerCase();
7617
7617
  }
7618
7618
  function ne() {
7619
- const I = this.stack[this.stack.length - 1], C = this.resume(), U = this.stack[this.stack.length - 1];
7619
+ const v = this.stack[this.stack.length - 1], C = this.resume(), U = this.stack[this.stack.length - 1];
7620
7620
  if (o("inReference", !0), U.type === "link") {
7621
- const K = I.children;
7621
+ const K = v.children;
7622
7622
  U.children = K;
7623
7623
  } else
7624
7624
  U.alt = C;
7625
7625
  }
7626
7626
  function we() {
7627
- const I = this.resume(), C = this.stack[this.stack.length - 1];
7628
- C.url = I;
7627
+ const v = this.resume(), C = this.stack[this.stack.length - 1];
7628
+ C.url = v;
7629
7629
  }
7630
7630
  function g() {
7631
- const I = this.resume(), C = this.stack[this.stack.length - 1];
7632
- C.title = I;
7631
+ const v = this.resume(), C = this.stack[this.stack.length - 1];
7632
+ C.title = v;
7633
7633
  }
7634
7634
  function me() {
7635
7635
  o("inReference");
@@ -7637,34 +7637,34 @@ function id(e) {
7637
7637
  function De() {
7638
7638
  o("referenceType", "collapsed");
7639
7639
  }
7640
- function ae(I) {
7640
+ function ae(v) {
7641
7641
  const C = this.resume(), U = this.stack[this.stack.length - 1];
7642
7642
  U.label = C, U.identifier = xt(
7643
- this.sliceSerialize(I)
7643
+ this.sliceSerialize(v)
7644
7644
  ).toLowerCase(), o("referenceType", "full");
7645
7645
  }
7646
- function Ie(I) {
7647
- o("characterReferenceType", I.type);
7646
+ function Ie(v) {
7647
+ o("characterReferenceType", v.type);
7648
7648
  }
7649
- function ve(I) {
7650
- const C = this.sliceSerialize(I), U = a("characterReferenceType");
7649
+ function ve(v) {
7650
+ const C = this.sliceSerialize(v), U = a("characterReferenceType");
7651
7651
  let K;
7652
7652
  U ? (K = Ea(
7653
7653
  C,
7654
7654
  U === "characterReferenceMarkerNumeric" ? 10 : 16
7655
7655
  ), o("characterReferenceType")) : K = Br(C);
7656
- const ee = this.stack.pop();
7657
- ee.value += K, ee.position.end = et(I.end);
7656
+ const J = this.stack.pop();
7657
+ J.value += K, J.position.end = et(v.end);
7658
7658
  }
7659
- function Fe(I) {
7660
- w.call(this, I);
7659
+ function Le(v) {
7660
+ w.call(this, v);
7661
7661
  const C = this.stack[this.stack.length - 1];
7662
- C.url = this.sliceSerialize(I);
7662
+ C.url = this.sliceSerialize(v);
7663
7663
  }
7664
- function Pe(I) {
7665
- w.call(this, I);
7664
+ function _e(v) {
7665
+ w.call(this, v);
7666
7666
  const C = this.stack[this.stack.length - 1];
7667
- C.url = "mailto:" + this.sliceSerialize(I);
7667
+ C.url = "mailto:" + this.sliceSerialize(v);
7668
7668
  }
7669
7669
  function Ke() {
7670
7670
  return {
@@ -7735,19 +7735,19 @@ function id(e) {
7735
7735
  children: []
7736
7736
  };
7737
7737
  }
7738
- function Ze(I) {
7738
+ function Ze(v) {
7739
7739
  return {
7740
7740
  type: "list",
7741
- ordered: I.type === "listOrdered",
7741
+ ordered: v.type === "listOrdered",
7742
7742
  start: null,
7743
- spread: I._spread,
7743
+ spread: v._spread,
7744
7744
  children: []
7745
7745
  };
7746
7746
  }
7747
- function F(I) {
7747
+ function F(v) {
7748
7748
  return {
7749
7749
  type: "listItem",
7750
- spread: I._spread,
7750
+ spread: v._spread,
7751
7751
  checked: null,
7752
7752
  children: []
7753
7753
  };
@@ -7890,7 +7890,7 @@ function Tt(e) {
7890
7890
  for (; ++n < e.length; ) {
7891
7891
  const o = e.charCodeAt(n);
7892
7892
  let a = "";
7893
- if (o === 37 && ze(e.charCodeAt(n + 1)) && ze(e.charCodeAt(n + 2)))
7893
+ if (o === 37 && Se(e.charCodeAt(n + 1)) && Se(e.charCodeAt(n + 2)))
7894
7894
  i = 2;
7895
7895
  else if (o < 128)
7896
7896
  /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o)) || (a = String.fromCharCode(o));
@@ -8153,8 +8153,8 @@ function jd(e, t, n) {
8153
8153
  for (; ++s < l; ) {
8154
8154
  const f = t.children[s], m = {}, p = a ? a[s] : void 0;
8155
8155
  p && (m.align = p);
8156
- let T = { type: "element", tagName: o, properties: m, children: [] };
8157
- f && (T.children = e.all(f), e.patch(f, T), T = e.applyData(t, T)), u.push(T);
8156
+ let D = { type: "element", tagName: o, properties: m, children: [] };
8157
+ f && (D.children = e.all(f), e.patch(f, D), D = e.applyData(t, D)), u.push(D);
8158
8158
  }
8159
8159
  const c = {
8160
8160
  type: "element",
@@ -8342,14 +8342,14 @@ const Pd = !0, ho = !1, Rd = "skip", Ud = (
8342
8342
  }
8343
8343
  return f;
8344
8344
  function f() {
8345
- let m = [], p, T, x;
8345
+ let m = [], p, D, x;
8346
8346
  if ((!t || i(l, s, u[u.length - 1] || null)) && (m = Bd(n(l, u)), m[0] === ho))
8347
8347
  return m;
8348
8348
  if (l.children && m[0] !== Rd)
8349
- for (T = (r ? l.children.length : -1) + o, x = u.concat(l); T > -1 && T < l.children.length; ) {
8350
- if (p = a(l.children[T], T, x)(), p[0] === ho)
8349
+ for (D = (r ? l.children.length : -1) + o, x = u.concat(l); D > -1 && D < l.children.length; ) {
8350
+ if (p = a(l.children[D], D, x)(), p[0] === ho)
8351
8351
  return p;
8352
- T = typeof p[1] == "number" ? p[1] : T + o;
8352
+ D = typeof p[1] == "number" ? p[1] : D + o;
8353
8353
  }
8354
8354
  return m;
8355
8355
  }
@@ -8620,7 +8620,7 @@ function Ra(e, t) {
8620
8620
  function Ir(e) {
8621
8621
  return e.toLowerCase();
8622
8622
  }
8623
- class Ye {
8623
+ class Be {
8624
8624
  /**
8625
8625
  * @constructor
8626
8626
  * @param {string} property
@@ -8630,18 +8630,18 @@ class Ye {
8630
8630
  this.property = t, this.attribute = n;
8631
8631
  }
8632
8632
  }
8633
- Ye.prototype.space = null;
8634
- Ye.prototype.boolean = !1;
8635
- Ye.prototype.booleanish = !1;
8636
- Ye.prototype.overloadedBoolean = !1;
8637
- Ye.prototype.number = !1;
8638
- Ye.prototype.commaSeparated = !1;
8639
- Ye.prototype.spaceSeparated = !1;
8640
- Ye.prototype.commaOrSpaceSeparated = !1;
8641
- Ye.prototype.mustUseProperty = !1;
8642
- Ye.prototype.defined = !1;
8633
+ Be.prototype.space = null;
8634
+ Be.prototype.boolean = !1;
8635
+ Be.prototype.booleanish = !1;
8636
+ Be.prototype.overloadedBoolean = !1;
8637
+ Be.prototype.number = !1;
8638
+ Be.prototype.commaSeparated = !1;
8639
+ Be.prototype.spaceSeparated = !1;
8640
+ Be.prototype.commaOrSpaceSeparated = !1;
8641
+ Be.prototype.mustUseProperty = !1;
8642
+ Be.prototype.defined = !1;
8643
8643
  let eh = 0;
8644
- const X = gt(), xe = gt(), Ua = gt(), A = gt(), pe = gt(), wt = gt(), Oe = gt();
8644
+ const X = gt(), xe = gt(), Ua = gt(), A = gt(), pe = gt(), wt = gt(), Ae = gt();
8645
8645
  function gt() {
8646
8646
  return 2 ** ++eh;
8647
8647
  }
@@ -8649,13 +8649,13 @@ const Nr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8649
8649
  __proto__: null,
8650
8650
  boolean: X,
8651
8651
  booleanish: xe,
8652
- commaOrSpaceSeparated: Oe,
8652
+ commaOrSpaceSeparated: Ae,
8653
8653
  commaSeparated: wt,
8654
8654
  number: A,
8655
8655
  overloadedBoolean: Ua,
8656
8656
  spaceSeparated: pe
8657
8657
  }, Symbol.toStringTag, { value: "Module" })), or = Object.keys(Nr);
8658
- class Vr extends Ye {
8658
+ class Vr extends Be {
8659
8659
  /**
8660
8660
  * @constructor
8661
8661
  * @param {string} property
@@ -9317,7 +9317,7 @@ const $a = Dt({
9317
9317
  },
9318
9318
  transform: Ya,
9319
9319
  properties: {
9320
- about: Oe,
9320
+ about: Ae,
9321
9321
  accentHeight: A,
9322
9322
  accumulate: null,
9323
9323
  additive: null,
@@ -9429,7 +9429,7 @@ const $a = Dt({
9429
9429
  k2: A,
9430
9430
  k3: A,
9431
9431
  k4: A,
9432
- kernelMatrix: Oe,
9432
+ kernelMatrix: Ae,
9433
9433
  kernelUnitLength: null,
9434
9434
  keyPoints: null,
9435
9435
  // SEMI_COLON_SEPARATED
@@ -9586,21 +9586,21 @@ const $a = Dt({
9586
9586
  preserveAspectRatio: null,
9587
9587
  primitiveUnits: null,
9588
9588
  propagate: null,
9589
- property: Oe,
9589
+ property: Ae,
9590
9590
  r: null,
9591
9591
  radius: null,
9592
9592
  referrerPolicy: null,
9593
9593
  refX: null,
9594
9594
  refY: null,
9595
- rel: Oe,
9596
- rev: Oe,
9595
+ rel: Ae,
9596
+ rev: Ae,
9597
9597
  renderingIntent: null,
9598
9598
  repeatCount: null,
9599
9599
  repeatDur: null,
9600
- requiredExtensions: Oe,
9601
- requiredFeatures: Oe,
9602
- requiredFonts: Oe,
9603
- requiredFormats: Oe,
9600
+ requiredExtensions: Ae,
9601
+ requiredFeatures: Ae,
9602
+ requiredFonts: Ae,
9603
+ requiredFormats: Ae,
9604
9604
  resource: null,
9605
9605
  restart: null,
9606
9606
  result: null,
@@ -9628,7 +9628,7 @@ const $a = Dt({
9628
9628
  strikethroughThickness: A,
9629
9629
  string: null,
9630
9630
  stroke: null,
9631
- strokeDashArray: Oe,
9631
+ strokeDashArray: Ae,
9632
9632
  strokeDashOffset: null,
9633
9633
  strokeLineCap: null,
9634
9634
  strokeLineJoin: null,
@@ -9642,7 +9642,7 @@ const $a = Dt({
9642
9642
  syncMaster: null,
9643
9643
  syncTolerance: null,
9644
9644
  syncToleranceDefault: null,
9645
- systemLanguage: Oe,
9645
+ systemLanguage: Ae,
9646
9646
  tabIndex: A,
9647
9647
  tableValues: null,
9648
9648
  target: null,
@@ -9656,7 +9656,7 @@ const $a = Dt({
9656
9656
  title: null,
9657
9657
  transformBehavior: null,
9658
9658
  type: null,
9659
- typeOf: Oe,
9659
+ typeOf: Ae,
9660
9660
  to: null,
9661
9661
  transform: null,
9662
9662
  transformOrigin: null,
@@ -9700,7 +9700,7 @@ const $a = Dt({
9700
9700
  }), ih = /^data[-\w.:]+$/i, bo = /-[a-z]/g, oh = /[A-Z]/g;
9701
9701
  function ah(e, t) {
9702
9702
  const n = Ir(t);
9703
- let r = t, i = Ye;
9703
+ let r = t, i = Be;
9704
9704
  if (n in e.normal)
9705
9705
  return e.property[e.normal[n]];
9706
9706
  if (n.length > 4 && n.slice(0, 4) === "data" && ih.test(t)) {
@@ -9773,7 +9773,7 @@ var Va = { exports: {} }, le = {};
9773
9773
  */
9774
9774
  var Wr = Symbol.for("react.element"), Gr = Symbol.for("react.portal"), Nn = Symbol.for("react.fragment"), kn = Symbol.for("react.strict_mode"), jn = Symbol.for("react.profiler"), En = Symbol.for("react.provider"), Cn = Symbol.for("react.context"), fh = Symbol.for("react.server_context"), An = Symbol.for("react.forward_ref"), Sn = Symbol.for("react.suspense"), On = Symbol.for("react.suspense_list"), zn = Symbol.for("react.memo"), Ln = Symbol.for("react.lazy"), dh = Symbol.for("react.offscreen"), Wa;
9775
9775
  Wa = Symbol.for("react.module.reference");
9776
- function He(e) {
9776
+ function Qe(e) {
9777
9777
  if (typeof e == "object" && e !== null) {
9778
9778
  var t = e.$$typeof;
9779
9779
  switch (t) {
@@ -9822,45 +9822,45 @@ le.isConcurrentMode = function() {
9822
9822
  return !1;
9823
9823
  };
9824
9824
  le.isContextConsumer = function(e) {
9825
- return He(e) === Cn;
9825
+ return Qe(e) === Cn;
9826
9826
  };
9827
9827
  le.isContextProvider = function(e) {
9828
- return He(e) === En;
9828
+ return Qe(e) === En;
9829
9829
  };
9830
9830
  le.isElement = function(e) {
9831
9831
  return typeof e == "object" && e !== null && e.$$typeof === Wr;
9832
9832
  };
9833
9833
  le.isForwardRef = function(e) {
9834
- return He(e) === An;
9834
+ return Qe(e) === An;
9835
9835
  };
9836
9836
  le.isFragment = function(e) {
9837
- return He(e) === Nn;
9837
+ return Qe(e) === Nn;
9838
9838
  };
9839
9839
  le.isLazy = function(e) {
9840
- return He(e) === Ln;
9840
+ return Qe(e) === Ln;
9841
9841
  };
9842
9842
  le.isMemo = function(e) {
9843
- return He(e) === zn;
9843
+ return Qe(e) === zn;
9844
9844
  };
9845
9845
  le.isPortal = function(e) {
9846
- return He(e) === Gr;
9846
+ return Qe(e) === Gr;
9847
9847
  };
9848
9848
  le.isProfiler = function(e) {
9849
- return He(e) === jn;
9849
+ return Qe(e) === jn;
9850
9850
  };
9851
9851
  le.isStrictMode = function(e) {
9852
- return He(e) === kn;
9852
+ return Qe(e) === kn;
9853
9853
  };
9854
9854
  le.isSuspense = function(e) {
9855
- return He(e) === Sn;
9855
+ return Qe(e) === Sn;
9856
9856
  };
9857
9857
  le.isSuspenseList = function(e) {
9858
- return He(e) === On;
9858
+ return Qe(e) === On;
9859
9859
  };
9860
9860
  le.isValidElementType = function(e) {
9861
9861
  return typeof e == "string" || typeof e == "function" || e === Nn || e === jn || e === kn || e === Sn || e === On || e === dh || typeof e == "object" && e !== null && (e.$$typeof === Ln || e.$$typeof === zn || e.$$typeof === En || e.$$typeof === Cn || e.$$typeof === An || e.$$typeof === Wa || e.getModuleId !== void 0);
9862
9862
  };
9863
- le.typeOf = He;
9863
+ le.typeOf = Qe;
9864
9864
  Va.exports = le;
9865
9865
  var hh = Va.exports;
9866
9866
  const gh = /* @__PURE__ */ it(hh);
@@ -9891,31 +9891,31 @@ var Zr = { exports: {} }, xo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Mh = /\n/g, xh
9891
9891
  return [];
9892
9892
  t = t || {};
9893
9893
  var n = 1, r = 1;
9894
- function i(T) {
9895
- var x = T.match(Mh);
9894
+ function i(D) {
9895
+ var x = D.match(Mh);
9896
9896
  x && (n += x.length);
9897
- var k = T.lastIndexOf(Nh);
9898
- r = ~k ? T.length - k : r + T.length;
9897
+ var k = D.lastIndexOf(Nh);
9898
+ r = ~k ? D.length - k : r + D.length;
9899
9899
  }
9900
9900
  function o() {
9901
- var T = { line: n, column: r };
9901
+ var D = { line: n, column: r };
9902
9902
  return function(x) {
9903
- return x.position = new a(T), u(), x;
9903
+ return x.position = new a(D), u(), x;
9904
9904
  };
9905
9905
  }
9906
- function a(T) {
9907
- this.start = T, this.end = { line: n, column: r }, this.source = t.source;
9906
+ function a(D) {
9907
+ this.start = D, this.end = { line: n, column: r }, this.source = t.source;
9908
9908
  }
9909
9909
  a.prototype.content = e;
9910
- function l(T) {
9910
+ function l(D) {
9911
9911
  var x = new Error(
9912
- t.source + ":" + n + ":" + r + ": " + T
9912
+ t.source + ":" + n + ":" + r + ": " + D
9913
9913
  );
9914
- if (x.reason = T, x.filename = t.source, x.line = n, x.column = r, x.source = e, !t.silent)
9914
+ if (x.reason = D, x.filename = t.source, x.line = n, x.column = r, x.source = e, !t.silent)
9915
9915
  throw x;
9916
9916
  }
9917
- function s(T) {
9918
- var x = T.exec(e);
9917
+ function s(D) {
9918
+ var x = D.exec(e);
9919
9919
  if (x) {
9920
9920
  var k = x[0];
9921
9921
  return i(k), e = e.slice(k.length), x;
@@ -9924,32 +9924,32 @@ var Zr = { exports: {} }, xo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Mh = /\n/g, xh
9924
9924
  function u() {
9925
9925
  s(xh);
9926
9926
  }
9927
- function c(T) {
9927
+ function c(D) {
9928
9928
  var x;
9929
- for (T = T || []; x = f(); )
9930
- x !== !1 && T.push(x);
9931
- return T;
9929
+ for (D = D || []; x = f(); )
9930
+ x !== !1 && D.push(x);
9931
+ return D;
9932
9932
  }
9933
9933
  function f() {
9934
- var T = o();
9934
+ var D = o();
9935
9935
  if (!(wo != e.charAt(0) || vo != e.charAt(1))) {
9936
9936
  for (var x = 2; ft != e.charAt(x) && (vo != e.charAt(x) || wo != e.charAt(x + 1)); )
9937
9937
  ++x;
9938
9938
  if (x += 2, ft === e.charAt(x - 1))
9939
9939
  return l("End of comment missing");
9940
9940
  var k = e.slice(2, x - 2);
9941
- return r += 2, i(k), e = e.slice(x), r += 2, T({
9941
+ return r += 2, i(k), e = e.slice(x), r += 2, D({
9942
9942
  type: kh,
9943
9943
  comment: k
9944
9944
  });
9945
9945
  }
9946
9946
  }
9947
9947
  function m() {
9948
- var T = o(), x = s(wh);
9948
+ var D = o(), x = s(wh);
9949
9949
  if (x) {
9950
9950
  if (f(), !s(vh))
9951
9951
  return l("property missing ':'");
9952
- var k = s(Th), b = T({
9952
+ var k = s(Th), b = D({
9953
9953
  type: jh,
9954
9954
  property: To(x[0].replace(xo, ft)),
9955
9955
  value: k ? To(k[0].replace(xo, ft)) : ft
@@ -9958,11 +9958,11 @@ var Zr = { exports: {} }, xo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Mh = /\n/g, xh
9958
9958
  }
9959
9959
  }
9960
9960
  function p() {
9961
- var T = [];
9962
- c(T);
9961
+ var D = [];
9962
+ c(D);
9963
9963
  for (var x; x = m(); )
9964
- x !== !1 && (T.push(x), c(T));
9965
- return T;
9964
+ x !== !1 && (D.push(x), c(D));
9965
+ return D;
9966
9966
  }
9967
9967
  return u(), p();
9968
9968
  };
@@ -10001,7 +10001,7 @@ function zh(e, t, n, r) {
10001
10001
  const m = t.position || {
10002
10002
  start: { line: null, column: null, offset: null },
10003
10003
  end: { line: null, column: null, offset: null }
10004
- }, p = i.components && kr.call(i.components, l) ? i.components[l] : l, T = typeof p == "string" || p === nt.Fragment;
10004
+ }, p = i.components && kr.call(i.components, l) ? i.components[l] : l, D = typeof p == "string" || p === nt.Fragment;
10005
10005
  if (!gh.isValidElementType(p))
10006
10006
  throw new TypeError(
10007
10007
  `Component for name \`${l}\` not defined or is not renderable`
@@ -10014,15 +10014,15 @@ function zh(e, t, n, r) {
10014
10014
  String(s.href || ""),
10015
10015
  t.children,
10016
10016
  typeof s.title == "string" ? s.title : null
10017
- )), !T && l === "code" && r.type === "element" && r.tagName !== "pre" && (s.inline = !0), !T && (l === "h1" || l === "h2" || l === "h3" || l === "h4" || l === "h5" || l === "h6") && (s.level = Number.parseInt(l.charAt(1), 10)), l === "img" && i.transformImageUri && (s.src = i.transformImageUri(
10017
+ )), !D && l === "code" && r.type === "element" && r.tagName !== "pre" && (s.inline = !0), !D && (l === "h1" || l === "h2" || l === "h3" || l === "h4" || l === "h5" || l === "h6") && (s.level = Number.parseInt(l.charAt(1), 10)), l === "img" && i.transformImageUri && (s.src = i.transformImageUri(
10018
10018
  String(s.src || ""),
10019
10019
  String(s.alt || ""),
10020
10020
  typeof s.title == "string" ? s.title : null
10021
- )), !T && l === "li" && r.type === "element") {
10021
+ )), !D && l === "li" && r.type === "element") {
10022
10022
  const x = Lh(t);
10023
10023
  s.checked = x && x.properties ? !!x.properties.checked : null, s.index = ar(r, t), s.ordered = r.tagName === "ol";
10024
10024
  }
10025
- return !T && (l === "ol" || l === "ul") && (s.ordered = l === "ol", s.depth = e.listDepth), (l === "td" || l === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), T || (s.isHeader = l === "th")), !T && l === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Rh(m)), !T && i.rawSourcePos && (s.sourcePosition = t.position), !T && i.includeElementIndex && (s.index = ar(r, t), s.siblingCount = ar(r)), T || (s.node = t), f.length > 0 ? nt.createElement(p, s, f) : nt.createElement(p, s);
10025
+ return !D && (l === "ol" || l === "ul") && (s.ordered = l === "ol", s.depth = e.listDepth), (l === "td" || l === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), D || (s.isHeader = l === "th")), !D && l === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Rh(m)), !D && i.rawSourcePos && (s.sourcePosition = t.position), !D && i.includeElementIndex && (s.index = ar(r, t), s.siblingCount = ar(r)), D || (s.node = t), f.length > 0 ? nt.createElement(p, s, f) : nt.createElement(p, s);
10026
10026
  }
10027
10027
  function Lh(e) {
10028
10028
  let t = -1;
@@ -10180,17 +10180,17 @@ Xr.propTypes = {
10180
10180
  };
10181
10181
  const Xa = () => {
10182
10182
  var s, u, c;
10183
- const { conversationScreen: e, xpertKey: t } = Le(_e), n = `${t}-maintenance-banner`, [r, i] = ye(
10184
- Ee.get(n) === void 0
10183
+ const { conversationScreen: e, xpertKey: t } = Oe(ze), n = `${t}-maintenance-banner`, [r, i] = ye(
10184
+ ke.get(n) === void 0
10185
10185
  ), o = /* @__PURE__ */ new Date(), a = new Date(
10186
10186
  (s = e == null ? void 0 : e.maintenanceBanner) == null ? void 0 : s.endDateTime
10187
10187
  );
10188
10188
  if (!((u = e == null ? void 0 : e.maintenanceBanner) != null && u.enabled) || !((c = e == null ? void 0 : e.maintenanceBanner) != null && c.text) || o > a || !r)
10189
10189
  return null;
10190
10190
  const l = () => {
10191
- Ee.set(n, "1", { expires: 1 }), i(!1);
10191
+ ke.set(n, "1", { expires: 1 }), i(!1);
10192
10192
  };
10193
- return /* @__PURE__ */ v.jsxs(
10193
+ return /* @__PURE__ */ T.jsxs(
10194
10194
  "div",
10195
10195
  {
10196
10196
  role: "alert",
@@ -10198,8 +10198,8 @@ const Xa = () => {
10198
10198
  className: "xpert-chatbot-popup__chatbot-maintenance-banner",
10199
10199
  "data-testid": "maintenance-banner",
10200
10200
  children: [
10201
- /* @__PURE__ */ v.jsxs("div", { className: "xpert-chatbot-popup__chatbot-maintenance-banner__header", children: [
10202
- /* @__PURE__ */ v.jsx(
10201
+ /* @__PURE__ */ T.jsxs("div", { className: "xpert-chatbot-popup__chatbot-maintenance-banner__header", children: [
10202
+ /* @__PURE__ */ T.jsx(
10203
10203
  rt,
10204
10204
  {
10205
10205
  icon: "material-symbols:warning",
@@ -10207,14 +10207,14 @@ const Xa = () => {
10207
10207
  color: "#eed202"
10208
10208
  }
10209
10209
  ),
10210
- /* @__PURE__ */ v.jsx("strong", { children: e.maintenanceBanner.header }),
10211
- /* @__PURE__ */ v.jsx(
10210
+ /* @__PURE__ */ T.jsx("strong", { children: e.maintenanceBanner.header }),
10211
+ /* @__PURE__ */ T.jsx(
10212
10212
  "button",
10213
10213
  {
10214
10214
  className: "xpert-chatbot-popup__chatbot-maintenance-banner__close-btn",
10215
10215
  "aria-label": "Close maintenance banner",
10216
10216
  onClick: l,
10217
- children: /* @__PURE__ */ v.jsx(
10217
+ children: /* @__PURE__ */ T.jsx(
10218
10218
  rt,
10219
10219
  {
10220
10220
  icon: "material-symbols:close",
@@ -10225,7 +10225,7 @@ const Xa = () => {
10225
10225
  }
10226
10226
  )
10227
10227
  ] }),
10228
- /* @__PURE__ */ v.jsx("div", { className: "xpert-chatbot-popup__chatbot-maintenance-banner__body", children: /* @__PURE__ */ v.jsx("div", { className: "xpert-chatbot-popup__chatbot-maintenance-banner__text", children: /* @__PURE__ */ v.jsx(Xr, { linkTarget: "_blank", children: e.maintenanceBanner.text }) }) })
10228
+ /* @__PURE__ */ T.jsx("div", { className: "xpert-chatbot-popup__chatbot-maintenance-banner__body", children: /* @__PURE__ */ T.jsx("div", { className: "xpert-chatbot-popup__chatbot-maintenance-banner__text", children: /* @__PURE__ */ T.jsx(Xr, { linkTarget: "_blank", children: e.maintenanceBanner.text }) }) })
10229
10229
  ]
10230
10230
  }
10231
10231
  );
@@ -10244,12 +10244,12 @@ function Kr({
10244
10244
  loading: s,
10245
10245
  userInput: u
10246
10246
  }) {
10247
- const { primaryColor: c } = Le(_e);
10247
+ const { primaryColor: c } = Oe(ze);
10248
10248
  return Me(() => {
10249
10249
  var f;
10250
10250
  (o || a) && ((f = l.current) == null || f.focus());
10251
- }, [a, o, l]), /* @__PURE__ */ v.jsxs("div", { className: "xpert-chatbot-popup__input--group", style: e, children: [
10252
- /* @__PURE__ */ v.jsx(
10251
+ }, [a, o, l]), /* @__PURE__ */ T.jsxs("div", { className: "xpert-chatbot-popup__input--group", style: e, children: [
10252
+ /* @__PURE__ */ T.jsx(
10253
10253
  "textarea",
10254
10254
  {
10255
10255
  disabled: s,
@@ -10278,7 +10278,7 @@ function Kr({
10278
10278
  }
10279
10279
  }
10280
10280
  ),
10281
- /* @__PURE__ */ v.jsx(
10281
+ /* @__PURE__ */ T.jsx(
10282
10282
  "button",
10283
10283
  {
10284
10284
  disabled: s,
@@ -10287,7 +10287,7 @@ function Kr({
10287
10287
  f.preventDefault(), i(u);
10288
10288
  },
10289
10289
  "aria-label": "Send message",
10290
- children: /* @__PURE__ */ v.jsx(rt, { icon: "material-symbols:send", style: { fontSize: "1.75rem" } })
10290
+ children: /* @__PURE__ */ T.jsx(rt, { icon: "material-symbols:send", style: { fontSize: "1.75rem" } })
10291
10291
  }
10292
10292
  )
10293
10293
  ] });
@@ -10310,15 +10310,15 @@ Kr.defaultProps = {
10310
10310
  hasXpertMessages: !1
10311
10311
  };
10312
10312
  function Ka({ message: e, id: t, onFeedbackThumbSelection: n }) {
10313
- return /* @__PURE__ */ v.jsxs("div", { className: "xpert-chatbot-popup__feedback", children: [
10314
- /* @__PURE__ */ v.jsx(
10313
+ return /* @__PURE__ */ T.jsxs("div", { className: "xpert-chatbot-popup__feedback", children: [
10314
+ /* @__PURE__ */ T.jsx(
10315
10315
  "button",
10316
10316
  {
10317
10317
  className: `xpert-chatbot-popup__feedback--btn-up
10318
10318
  ${e.feedbackThumbType === "UP" ? "xpert-chatbot-popup__feedback--btn-up-selected" : ""}`,
10319
10319
  onClick: () => n(t, "UP"),
10320
10320
  "aria-label": "I like this response",
10321
- children: /* @__PURE__ */ v.jsx(
10321
+ children: /* @__PURE__ */ T.jsx(
10322
10322
  rt,
10323
10323
  {
10324
10324
  className: "xpert-chatbot-popup__feedback--btn-up-icon",
@@ -10327,7 +10327,7 @@ function Ka({ message: e, id: t, onFeedbackThumbSelection: n }) {
10327
10327
  )
10328
10328
  }
10329
10329
  ),
10330
- /* @__PURE__ */ v.jsx(
10330
+ /* @__PURE__ */ T.jsx(
10331
10331
  "button",
10332
10332
  {
10333
10333
  style: { marginLeft: "-0.7rem" },
@@ -10335,7 +10335,7 @@ function Ka({ message: e, id: t, onFeedbackThumbSelection: n }) {
10335
10335
  ${e.feedbackThumbType === "DOWN" ? "xpert-chatbot-popup__feedback--btn-down-selected" : ""}`,
10336
10336
  onClick: () => n(t, "DOWN"),
10337
10337
  "aria-label": "I do not like this response",
10338
- children: /* @__PURE__ */ v.jsx(
10338
+ children: /* @__PURE__ */ T.jsx(
10339
10339
  rt,
10340
10340
  {
10341
10341
  className: "xpert-chatbot-popup__feedback--btn-down-icon",
@@ -10378,13 +10378,13 @@ function _n({
10378
10378
  text: a,
10379
10379
  userTrackingName: l
10380
10380
  }) {
10381
- const [s, u] = ye(!0), { primaryColor: c, xpertKey: f, userTracking: m, conversationScreen: p } = Le(_e), T = Ht(
10381
+ const [s, u] = ye(!0), { primaryColor: c, xpertKey: f, userTracking: m, conversationScreen: p } = Oe(ze), D = Ht(
10382
10382
  (b) => {
10383
10383
  var z, E, _, Q;
10384
- ((z = b == null ? void 0 : b.data) == null ? void 0 : z.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (E = window == null ? void 0 : window.OnetrustActiveGroups) != null && E.includes("C0003")) && Ee.set(`${f}-live-chat-open`, 1, {
10384
+ ((z = b == null ? void 0 : b.data) == null ? void 0 : z.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (E = window == null ? void 0 : window.OnetrustActiveGroups) != null && E.includes("C0003")) && ke.set(`${f}-live-chat-open`, 1, {
10385
10385
  expires: 1,
10386
10386
  path: "/"
10387
- }), ((_ = b == null ? void 0 : b.data) == null ? void 0 : _.type) === "connection" && ((Q = b == null ? void 0 : b.data) == null ? void 0 : Q.state) === "disconnected" && Ee.remove(`${f}-live-chat-open`);
10387
+ }), ((_ = b == null ? void 0 : b.data) == null ? void 0 : _.type) === "connection" && ((Q = b == null ? void 0 : b.data) == null ? void 0 : Q.state) === "disconnected" && ke.remove(`${f}-live-chat-open`);
10388
10388
  },
10389
10389
  [f]
10390
10390
  ), x = Ht(
@@ -10398,16 +10398,16 @@ function _n({
10398
10398
  let b, z;
10399
10399
  return p.liveChat.enabled && (window.Five9ChatPlugin || (b = document.createElement("script"), b.type = "text/javascript", b.src = p.liveChat.sourceCode, b.async = !0, b.onload = () => {
10400
10400
  window.Five9ChatPlugin(p.liveChat.options);
10401
- }, document.body.appendChild(b)), window.addEventListener("message", T), window.addEventListener("message", x), z = setTimeout(() => {
10401
+ }, document.body.appendChild(b)), window.addEventListener("message", D), window.addEventListener("message", x), z = setTimeout(() => {
10402
10402
  u(!1);
10403
10403
  }, 3e3)), () => {
10404
- p.liveChat.enabled && (window.removeEventListener("message", T), window.removeEventListener("message", x), clearTimeout(z));
10404
+ p.liveChat.enabled && (window.removeEventListener("message", D), window.removeEventListener("message", x), clearTimeout(z));
10405
10405
  };
10406
10406
  }, [
10407
10407
  p.liveChat.enabled,
10408
10408
  p.liveChat.options,
10409
10409
  p.liveChat.sourceCode,
10410
- T,
10410
+ D,
10411
10411
  x
10412
10412
  ]);
10413
10413
  const k = () => {
@@ -10420,18 +10420,18 @@ function _n({
10420
10420
  }
10421
10421
  }), t(!0), window.f9_postMessage({ type: "toggle" });
10422
10422
  };
10423
- return /* @__PURE__ */ v.jsxs("div", { title: "Talk to a live agent at anytime.", style: i, children: [
10424
- s && r && /* @__PURE__ */ v.jsxs("div", { className: "xpert-chatbot-popup__live-chat--message", children: [
10425
- /* @__PURE__ */ v.jsx(
10423
+ return /* @__PURE__ */ T.jsxs("div", { title: "Talk to a live agent at anytime.", style: i, children: [
10424
+ s && r && /* @__PURE__ */ T.jsxs("div", { className: "xpert-chatbot-popup__live-chat--message", children: [
10425
+ /* @__PURE__ */ T.jsx(
10426
10426
  "div",
10427
10427
  {
10428
10428
  style: { backgroundColor: c },
10429
10429
  className: "xpert-chatbot-popup__live-chat--message-border"
10430
10430
  }
10431
10431
  ),
10432
- /* @__PURE__ */ v.jsx("div", { children: "Talk to a live agent at anytime." })
10432
+ /* @__PURE__ */ T.jsx("div", { children: "Talk to a live agent at anytime." })
10433
10433
  ] }),
10434
- /* @__PURE__ */ v.jsxs(
10434
+ /* @__PURE__ */ T.jsxs(
10435
10435
  "button",
10436
10436
  {
10437
10437
  type: "button",
@@ -10440,7 +10440,7 @@ function _n({
10440
10440
  style: { position: "relative" },
10441
10441
  className: o,
10442
10442
  children: [
10443
- /* @__PURE__ */ v.jsx(
10443
+ /* @__PURE__ */ T.jsx(
10444
10444
  "img",
10445
10445
  {
10446
10446
  height: "24px",
@@ -10449,7 +10449,7 @@ function _n({
10449
10449
  alt: "Open live chat window icon"
10450
10450
  }
10451
10451
  ),
10452
- a && /* @__PURE__ */ v.jsx("span", { style: { marginLeft: "0.675rem" }, children: a })
10452
+ a && /* @__PURE__ */ T.jsx("span", { style: { marginLeft: "0.675rem" }, children: a })
10453
10453
  ]
10454
10454
  }
10455
10455
  )
@@ -10485,22 +10485,22 @@ const qh = "Sure, I can get you to someone who can help.", Fn = ({
10485
10485
  submitEvent: a,
10486
10486
  setLiveChatOpen: l,
10487
10487
  isTestUser: s
10488
- }) => /* @__PURE__ */ v.jsx(
10488
+ }) => /* @__PURE__ */ T.jsx(
10489
10489
  "section",
10490
10490
  {
10491
10491
  "aria-label": "The bot said",
10492
10492
  className: "xpert-chatbot-popup__bubble--group",
10493
10493
  ref: i,
10494
- children: /* @__PURE__ */ v.jsxs("div", { className: "xpert-chatbot-popup__bubble--group-inner", children: [
10495
- /* @__PURE__ */ v.jsx(
10494
+ children: /* @__PURE__ */ T.jsxs("div", { className: "xpert-chatbot-popup__bubble--group-inner", children: [
10495
+ /* @__PURE__ */ T.jsx(
10496
10496
  "div",
10497
10497
  {
10498
10498
  "data-testid": "message-container",
10499
10499
  className: "xpert-chatbot-popup__bubble--assistant",
10500
10500
  style: { maxWidth: n ? "85%" : "67%" },
10501
- children: t.liveAgent ? /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
10502
- /* @__PURE__ */ v.jsx("div", { children: qh }),
10503
- /* @__PURE__ */ v.jsx(
10501
+ children: t.liveAgent ? /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
10502
+ /* @__PURE__ */ T.jsx("div", { children: qh }),
10503
+ /* @__PURE__ */ T.jsx(
10504
10504
  _n,
10505
10505
  {
10506
10506
  submitEvent: a,
@@ -10512,13 +10512,13 @@ const qh = "Sure, I can get you to someone who can help.", Fn = ({
10512
10512
  userTrackingName: "assistant.response.clicked"
10513
10513
  }
10514
10514
  )
10515
- ] }) : /* @__PURE__ */ v.jsx(
10515
+ ] }) : /* @__PURE__ */ T.jsx(
10516
10516
  Xr,
10517
10517
  {
10518
10518
  components: {
10519
10519
  a: (u) => (
10520
10520
  // eslint-disable-next-line jsx-a11y/interactive-supports-focus
10521
- /* @__PURE__ */ v.jsx(
10521
+ /* @__PURE__ */ T.jsx(
10522
10522
  "a",
10523
10523
  {
10524
10524
  ...u,
@@ -10537,7 +10537,7 @@ const qh = "Sure, I can get you to someone who can help.", Fn = ({
10537
10537
  )
10538
10538
  }
10539
10539
  ),
10540
- t.disableFeedback ? null : /* @__PURE__ */ v.jsx(
10540
+ t.disableFeedback ? null : /* @__PURE__ */ T.jsx(
10541
10541
  Ka,
10542
10542
  {
10543
10543
  id: e,
@@ -10566,11 +10566,11 @@ Fn.defaultProps = {
10566
10566
  };
10567
10567
  Fn.displayName = "AssistantMessageBubble";
10568
10568
  const Vh = Fn, Ja = () => {
10569
- const { disclaimer: e } = Le(_e), t = We(null);
10569
+ const { disclaimer: e } = Oe(ze), t = We(null);
10570
10570
  return Me(() => {
10571
10571
  var n;
10572
10572
  (n = t == null ? void 0 : t.current) == null || n.focus();
10573
- }, []), /* @__PURE__ */ v.jsxs(
10573
+ }, []), /* @__PURE__ */ T.jsxs(
10574
10574
  "div",
10575
10575
  {
10576
10576
  ref: t,
@@ -10579,9 +10579,9 @@ const Vh = Fn, Ja = () => {
10579
10579
  "aria-live": "assertive",
10580
10580
  className: "xpert-chatbot-popup__conversations_disclaimer--text",
10581
10581
  children: [
10582
- /* @__PURE__ */ v.jsx("span", { children: e.text }),
10583
- /* @__PURE__ */ v.jsxs("span", { style: { marginLeft: "0.1875rem" }, children: [
10584
- /* @__PURE__ */ v.jsx(
10582
+ /* @__PURE__ */ T.jsx("span", { children: e.text }),
10583
+ /* @__PURE__ */ T.jsxs("span", { style: { marginLeft: "0.1875rem" }, children: [
10584
+ /* @__PURE__ */ T.jsx(
10585
10585
  "a",
10586
10586
  {
10587
10587
  href: e.privacyPolicyLink,
@@ -10600,12 +10600,12 @@ const Vh = Fn, Ja = () => {
10600
10600
  Ja.displayName = "ConversationScreenDisclaimer";
10601
10601
  const Wh = Ja, Jr = ({ loading: e, onPromptClick: t }) => {
10602
10602
  var i;
10603
- const { primaryColor: n, conversationScreen: r } = Le(_e);
10604
- return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
10605
- /* @__PURE__ */ v.jsx("div", { style: { fontWeight: 700, fontSize: "0.75rem" }, children: "Some things I can help you with" }),
10603
+ const { primaryColor: n, conversationScreen: r } = Oe(ze);
10604
+ return /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
10605
+ /* @__PURE__ */ T.jsx("div", { style: { fontWeight: 700, fontSize: "0.75rem" }, children: "Some things I can help you with" }),
10606
10606
  (i = r.prompts) == null ? void 0 : i.map((o) => {
10607
10607
  var a;
10608
- return /* @__PURE__ */ v.jsx(
10608
+ return /* @__PURE__ */ T.jsx(
10609
10609
  "button",
10610
10610
  {
10611
10611
  className: "xpert-chatbot-popup__bubble--prompt",
@@ -10629,7 +10629,7 @@ Jr.propTypes = {
10629
10629
  onPromptClick: N.func.isRequired
10630
10630
  };
10631
10631
  Jr.displayName = "PromptList";
10632
- const Gh = Jr, ei = ({ message: e, isNormalSize: t }) => /* @__PURE__ */ v.jsx("div", { role: "status", className: "xpert-chatbot-popup__bubble--group", children: /* @__PURE__ */ v.jsx("div", { className: "xpert-chatbot-popup__bubble--group-inner", children: /* @__PURE__ */ v.jsx(
10632
+ const Gh = Jr, ei = ({ message: e, isNormalSize: t }) => /* @__PURE__ */ T.jsx("div", { role: "status", className: "xpert-chatbot-popup__bubble--group", children: /* @__PURE__ */ T.jsx("div", { className: "xpert-chatbot-popup__bubble--group-inner", children: /* @__PURE__ */ T.jsx(
10633
10633
  "div",
10634
10634
  {
10635
10635
  "data-testid": "message-container",
@@ -10645,8 +10645,8 @@ ei.propTypes = {
10645
10645
  ei.displayName = "SystemMessageBubble";
10646
10646
  const Zh = ei, ti = ({ content: e, isNormalSize: t }) => {
10647
10647
  var i;
10648
- const { primaryColor: n, conversationScreen: r } = Le(_e);
10649
- return /* @__PURE__ */ v.jsx(
10648
+ const { primaryColor: n, conversationScreen: r } = Oe(ze);
10649
+ return /* @__PURE__ */ T.jsx(
10650
10650
  "section",
10651
10651
  {
10652
10652
  "aria-label": "The user said",
@@ -10676,24 +10676,24 @@ const Xh = ti, Pn = ({
10676
10676
  setLiveChatOpen: l,
10677
10677
  isTestUser: s
10678
10678
  }) => {
10679
- const { conversationScreen: u } = Le(_e), { prompts: c, systemMessage: f } = u, m = We(null);
10679
+ const { conversationScreen: u } = Oe(ze), { prompts: c, systemMessage: f } = u, m = We(null);
10680
10680
  return Me(() => {
10681
10681
  var p;
10682
10682
  (p = m.current) == null || p.scrollIntoView({
10683
10683
  behavior: "instant",
10684
10684
  block: "start"
10685
10685
  });
10686
- }, [e.length]), /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
10687
- /* @__PURE__ */ v.jsx(Wh, {}),
10688
- (c == null ? void 0 : c.length) > 0 && /* @__PURE__ */ v.jsx(Gh, { loading: t, onPromptClick: i }),
10689
- f && /* @__PURE__ */ v.jsx(
10686
+ }, [e.length]), /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
10687
+ /* @__PURE__ */ T.jsx(Wh, {}),
10688
+ (c == null ? void 0 : c.length) > 0 && /* @__PURE__ */ T.jsx(Gh, { loading: t, onPromptClick: i }),
10689
+ f && /* @__PURE__ */ T.jsx(
10690
10690
  Zh,
10691
10691
  {
10692
10692
  message: f,
10693
10693
  isNormalSize: n
10694
10694
  }
10695
10695
  ),
10696
- /* @__PURE__ */ v.jsx(
10696
+ /* @__PURE__ */ T.jsx(
10697
10697
  "section",
10698
10698
  {
10699
10699
  id: "chat-content",
@@ -10704,10 +10704,10 @@ const Xh = ti, Pn = ({
10704
10704
  "aria-busy": t,
10705
10705
  style: { display: "flex", flexDirection: "column" },
10706
10706
  children: e.map(
10707
- (p, T) => p.role === "assistant" ? /* @__PURE__ */ v.jsx(
10707
+ (p, D) => p.role === "assistant" ? /* @__PURE__ */ T.jsx(
10708
10708
  Vh,
10709
10709
  {
10710
- index: T,
10710
+ index: D,
10711
10711
  message: p,
10712
10712
  isNormalSize: n,
10713
10713
  onFeedbackThumbSelection: r,
@@ -10717,14 +10717,14 @@ const Xh = ti, Pn = ({
10717
10717
  setLiveChatOpen: l,
10718
10718
  isTestUser: s
10719
10719
  },
10720
- `${p.role}-${T}`
10721
- ) : /* @__PURE__ */ v.jsx(
10720
+ `${p.role}-${D}`
10721
+ ) : /* @__PURE__ */ T.jsx(
10722
10722
  Xh,
10723
10723
  {
10724
10724
  content: p.content,
10725
10725
  isNormalSize: n
10726
10726
  },
10727
- `${p.role}-${p.timestamp || T}`
10727
+ `${p.role}-${p.timestamp || D}`
10728
10728
  )
10729
10729
  )
10730
10730
  }
@@ -10765,17 +10765,17 @@ function el({ disableScroll: e }) {
10765
10765
  behavior: "smooth",
10766
10766
  block: "end"
10767
10767
  });
10768
- }, [e]), /* @__PURE__ */ v.jsx(
10768
+ }, [e]), /* @__PURE__ */ T.jsx(
10769
10769
  "div",
10770
10770
  {
10771
10771
  "aria-label": "Loading messages",
10772
10772
  ref: t,
10773
10773
  role: "alert",
10774
10774
  className: "xpert_chatbot__loader__wrapper",
10775
- children: /* @__PURE__ */ v.jsxs("div", { className: "xpert_chatbot__loader__ellipsis", children: [
10776
- /* @__PURE__ */ v.jsx("div", { className: "xpert_chatbot__loader__ellipsis-bullets--first" }),
10777
- /* @__PURE__ */ v.jsx("div", { className: "xpert_chatbot__loader__ellipsis-bullets--second" }),
10778
- /* @__PURE__ */ v.jsx("div", { className: "xpert_chatbot__loader__ellipsis-bullets--third" })
10775
+ children: /* @__PURE__ */ T.jsxs("div", { className: "xpert_chatbot__loader__ellipsis", children: [
10776
+ /* @__PURE__ */ T.jsx("div", { className: "xpert_chatbot__loader__ellipsis-bullets--first" }),
10777
+ /* @__PURE__ */ T.jsx("div", { className: "xpert_chatbot__loader__ellipsis-bullets--second" }),
10778
+ /* @__PURE__ */ T.jsx("div", { className: "xpert_chatbot__loader__ellipsis-bullets--third" })
10779
10779
  ] })
10780
10780
  }
10781
10781
  );
@@ -10790,7 +10790,7 @@ const Jh = () => {
10790
10790
  (t = e.current) == null || t.scrollIntoView({
10791
10791
  behavior: "instant"
10792
10792
  });
10793
- }, []), /* @__PURE__ */ v.jsxs(
10793
+ }, []), /* @__PURE__ */ T.jsxs(
10794
10794
  "div",
10795
10795
  {
10796
10796
  role: "alert",
@@ -10807,7 +10807,7 @@ const Jh = () => {
10807
10807
  "aria-describedby": "Oops! Something went wrong. Try again later.",
10808
10808
  ref: e,
10809
10809
  children: [
10810
- /* @__PURE__ */ v.jsx(
10810
+ /* @__PURE__ */ T.jsx(
10811
10811
  rt,
10812
10812
  {
10813
10813
  icon: "material-symbols:thunderstorm",
@@ -10821,7 +10821,7 @@ const Jh = () => {
10821
10821
  }
10822
10822
  }
10823
10823
  ),
10824
- /* @__PURE__ */ v.jsxs(
10824
+ /* @__PURE__ */ T.jsxs(
10825
10825
  "div",
10826
10826
  {
10827
10827
  style: {
@@ -10832,14 +10832,14 @@ const Jh = () => {
10832
10832
  textAlign: "center"
10833
10833
  },
10834
10834
  children: [
10835
- /* @__PURE__ */ v.jsx(
10835
+ /* @__PURE__ */ T.jsx(
10836
10836
  "span",
10837
10837
  {
10838
10838
  style: { margin: "1.5rem 0", fontWeight: "bold", fontSize: "18px" },
10839
10839
  children: "Oops! Something went wrong"
10840
10840
  }
10841
10841
  ),
10842
- /* @__PURE__ */ v.jsx("span", { style: { marginBottom: "1.5rem", color: "red" }, children: "Please try again later." })
10842
+ /* @__PURE__ */ T.jsx("span", { style: { marginBottom: "1.5rem", color: "red" }, children: "Please try again later." })
10843
10843
  ]
10844
10844
  }
10845
10845
  )
@@ -10855,13 +10855,13 @@ function tl({
10855
10855
  showMessage: i = !1,
10856
10856
  style: o = {}
10857
10857
  }) {
10858
- var T;
10859
- const { proactiveMessage: a } = Le(_e), [l, s] = ye(!0), [u, c] = ye(!1), f = l && (!(window != null && window.OnetrustActiveGroups) || ((T = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : T.includes("C0003"))) && Ee.get(t) === void 0;
10858
+ var D;
10859
+ const { proactiveMessage: a } = Oe(ze), [l, s] = ye(!0), [u, c] = ye(!1), f = l && (!(window != null && window.OnetrustActiveGroups) || ((D = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : D.includes("C0003"))) && ke.get(t) === void 0;
10860
10860
  Me(() => {
10861
10861
  var x;
10862
10862
  (x = window == null ? void 0 : window.OneTrust) == null || x.OnConsentChanged(() => {
10863
10863
  var k;
10864
- !((k = window == null ? void 0 : window.OnetrustActiveGroups) != null && k.includes("C0003")) && Ee.get(t) !== void 0 && Ee.remove(t);
10864
+ !((k = window == null ? void 0 : window.OnetrustActiveGroups) != null && k.includes("C0003")) && ke.get(t) !== void 0 && ke.remove(t);
10865
10865
  });
10866
10866
  }, [t]), Me(() => {
10867
10867
  var x;
@@ -10883,9 +10883,9 @@ function tl({
10883
10883
  expires: b,
10884
10884
  path: "/"
10885
10885
  };
10886
- Ee.set(x, k, z);
10886
+ ke.set(x, k, z);
10887
10887
  };
10888
- return !u || !f ? null : /* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsxs(
10888
+ return !u || !f ? null : /* @__PURE__ */ T.jsx("div", { children: /* @__PURE__ */ T.jsxs(
10889
10889
  "div",
10890
10890
  {
10891
10891
  id: "xpert_chatbot__proactive-message",
@@ -10893,24 +10893,24 @@ function tl({
10893
10893
  className: "xpert_chatbot__proactive-message",
10894
10894
  style: o,
10895
10895
  children: [
10896
- /* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsx(
10896
+ /* @__PURE__ */ T.jsx("div", { children: /* @__PURE__ */ T.jsx(
10897
10897
  "button",
10898
10898
  {
10899
10899
  className: "xpert_chatbot__proactive-message__container",
10900
10900
  onClick: n,
10901
10901
  "aria-label": a.text,
10902
10902
  type: "button",
10903
- children: /* @__PURE__ */ v.jsx("div", { className: "xpert_chatbot__proactive-message__text", children: e })
10903
+ children: /* @__PURE__ */ T.jsx("div", { className: "xpert_chatbot__proactive-message__text", children: e })
10904
10904
  }
10905
10905
  ) }),
10906
- /* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsx(
10906
+ /* @__PURE__ */ T.jsx("div", { children: /* @__PURE__ */ T.jsx(
10907
10907
  "button",
10908
10908
  {
10909
10909
  className: "xpert_chatbot__proactive-message__close",
10910
10910
  onClick: m,
10911
10911
  "aria-label": "Close proactive message",
10912
10912
  type: "button",
10913
- children: /* @__PURE__ */ v.jsx(
10913
+ children: /* @__PURE__ */ T.jsx(
10914
10914
  rt,
10915
10915
  {
10916
10916
  style: {
@@ -11030,7 +11030,7 @@ function ni({ submitEventExternal: e }) {
11030
11030
  userTracking: o,
11031
11031
  webExperimentation: a,
11032
11032
  xpertKey: l
11033
- } = Le(_e), s = ot(), [, u] = ye(!1), [, c] = ye(!1), [f, m] = ye(!1), [p, T] = ye(ag), [x, k] = ye(!1), [b, z] = ye(!1), [E, _] = ye(!1), [Q, M] = ye(""), [L, Y] = ye(!1), [q, J] = ye(!0), [S, w] = ye(!1), [j, O] = ye(!1), [P, $] = ye(!1), G = We(null), Z = We(null), ie = We(null), h = Ee.get(`${l}-test`) === "1";
11033
+ } = Oe(ze), s = ot(), [, u] = ye(!1), [, c] = ye(!1), [f, m] = ye(!1), [p, D] = ye(ag), [x, k] = ye(!1), [b, z] = ye(!1), [E, _] = ye(!1), [Q, M] = ye(""), [L, Y] = ye(!1), [q, ee] = ye(!0), [S, w] = ye(!1), [j, O] = ye(!1), [P, $] = ye(!1), G = We(null), Z = We(null), ie = We(null), h = ke.get(`${l}-test`) === "1";
11034
11034
  eg(
11035
11035
  n.liveChat.enabled,
11036
11036
  E,
@@ -11049,7 +11049,7 @@ function ni({ submitEventExternal: e }) {
11049
11049
  ), we = Ht(async () => {
11050
11050
  if (window != null && window.OnetrustActiveGroups && window.OnetrustActiveGroups.split(",").includes("C0003"))
11051
11051
  try {
11052
- const F = Ee.get(
11052
+ const F = ke.get(
11053
11053
  `${l}-conversation-history-id`
11054
11054
  );
11055
11055
  if (!F)
@@ -11065,13 +11065,13 @@ function ni({ submitEventExternal: e }) {
11065
11065
  }
11066
11066
  );
11067
11067
  if (W.status === 404) {
11068
- Ee.remove(`${l}-conversation-history-id`);
11068
+ ke.remove(`${l}-conversation-history-id`);
11069
11069
  return;
11070
11070
  }
11071
11071
  if (!W.ok)
11072
11072
  throw new lr(`HTTPError: ${W.status} ${W.statusText}`);
11073
11073
  const be = await W.json();
11074
- T(
11074
+ D(
11075
11075
  be.map((se) => ({
11076
11076
  ...se,
11077
11077
  disableFeedback: !0
@@ -11105,48 +11105,59 @@ function ni({ submitEventExternal: e }) {
11105
11105
  }, [a.enabled, a.experimentName]), Me(() => {
11106
11106
  let F, W;
11107
11107
  return F = setInterval(() => {
11108
- var C, U, K, ee, de;
11109
- console.log(
11110
- "Chatbot - Finding Mobile banners",
11111
- s,
11112
- f
11113
- );
11114
- const se = (C = document.querySelectorAll(".branch-banner-ios")) == null ? void 0 : C[0], Te = (U = document.querySelectorAll(
11108
+ var C, U, K;
11109
+ const se = !!document.querySelector(".branch-banner-ios"), Te = !!document.querySelector(
11115
11110
  ".branch-banner-android"
11116
- )) == null ? void 0 : U[0], I = (K = document.querySelectorAll(
11111
+ ), v = !!document.querySelector(
11117
11112
  ".onetrust-banner-sdk"
11118
- )) == null ? void 0 : K[0];
11119
- if ((se || Te || I && ((ee = I == null ? void 0 : I.style) == null ? void 0 : ee.display) !== "none") && s && !f && (console.log("Chatbot - Mobile banners found"), m(!0)), !se && !Te && (!I || ((de = I == null ? void 0 : I.style) == null ? void 0 : de.display) === "none") && s && f) {
11113
+ );
11114
+ if (console.log(
11115
+ "Chatbot - Finding Mobile banners 1",
11116
+ s,
11117
+ f,
11118
+ se,
11119
+ Te,
11120
+ v,
11121
+ ((C = v == null ? void 0 : v.style) == null ? void 0 : C.display) !== "none"
11122
+ ), (se || Te || v && ((U = v == null ? void 0 : v.style) == null ? void 0 : U.display) !== "none") && s && !f && (console.log("Chatbot - Mobile banners found"), m(!0)), !se && !Te && (!v || ((K = v == null ? void 0 : v.style) == null ? void 0 : K.display) === "none") && s && f) {
11120
11123
  console.log("Chatbot - Mobile banners not found");
11121
- const Ne = document.getElementById(
11124
+ const J = document.getElementById(
11122
11125
  "xpert_chatbot__proactive-message"
11123
11126
  );
11124
- Ne && (Ne.style.bottom = "6rem");
11125
- const ke = document.getElementById(
11127
+ J && (J.style.bottom = "6rem");
11128
+ const de = document.getElementById(
11126
11129
  "xpert_chatbot__floating-action-btn"
11127
11130
  );
11128
- ke && (ke.style.bottom = "0rem"), clearInterval(F), clearTimeout(W);
11131
+ de && (de.style.bottom = "0rem"), clearInterval(F), clearTimeout(W);
11129
11132
  }
11130
11133
  }, 1e3), W = setTimeout(() => {
11131
- var I, C;
11134
+ var C, U;
11132
11135
  console.log("Chatbot - Mobile banner search time out"), clearInterval(F);
11133
- const se = document.querySelectorAll(
11134
- '[class^="branch-banner"]'
11135
- ), Te = (I = document.querySelectorAll(
11136
+ const se = !!document.querySelector(".branch-banner-ios"), Te = !!document.querySelector(
11137
+ ".branch-banner-android"
11138
+ ), v = !!document.querySelector(
11136
11139
  ".onetrust-banner-sdk"
11137
- )) == null ? void 0 : I[0];
11138
- if ((se == null ? void 0 : se.length) === 0 && (!Te || ((C = Te == null ? void 0 : Te.style) == null ? void 0 : C.display) === "none") && s) {
11140
+ );
11141
+ if (console.log(
11142
+ "Chatbot - Finding Mobile banners 2",
11143
+ s,
11144
+ f,
11145
+ se,
11146
+ Te,
11147
+ v,
11148
+ ((C = v == null ? void 0 : v.style) == null ? void 0 : C.display) !== "none"
11149
+ ), !se && !Te && (!v || ((U = v == null ? void 0 : v.style) == null ? void 0 : U.display) === "none") && s) {
11139
11150
  console.log("Chatbot - Mobile banners not found");
11140
- const U = document.getElementById(
11151
+ const K = document.getElementById(
11141
11152
  "xpert_chatbot__proactive-message"
11142
11153
  );
11143
- U && (U.style.bottom = "6rem");
11144
- const K = document.getElementById(
11154
+ K && (K.style.bottom = "6rem");
11155
+ const J = document.getElementById(
11145
11156
  "xpert_chatbot__floating-action-btn"
11146
11157
  );
11147
- K && (K.style.bottom = "0rem");
11158
+ J && (J.style.bottom = "0rem");
11148
11159
  }
11149
- }, 6e4), () => {
11160
+ }, 5e3), () => {
11150
11161
  clearInterval(F), clearTimeout(W);
11151
11162
  };
11152
11163
  }, [s, f]);
@@ -11221,13 +11232,13 @@ function ni({ submitEventExternal: e }) {
11221
11232
  isTestUser: h
11222
11233
  }
11223
11234
  }), De();
11224
- let se = Ee.get(`${l}-conversation-history-id`) || "";
11225
- !se && n.conversationHistory.enabled ? T([
11235
+ let se = ke.get(`${l}-conversation-history-id`) || "";
11236
+ !se && n.conversationHistory.enabled ? D([
11226
11237
  {
11227
11238
  role: "user",
11228
11239
  content: F
11229
11240
  }
11230
- ]) : T([
11241
+ ]) : D([
11231
11242
  ...p,
11232
11243
  {
11233
11244
  role: "user",
@@ -11243,7 +11254,7 @@ function ni({ submitEventExternal: e }) {
11243
11254
  ].map((de) => ({
11244
11255
  role: de.role,
11245
11256
  content: de.content
11246
- })), I = await fetch(t.endpoint, {
11257
+ })), v = await fetch(t.endpoint, {
11247
11258
  method: "POST",
11248
11259
  headers: {
11249
11260
  "Content-Type": "application/json",
@@ -11254,23 +11265,23 @@ function ni({ submitEventExternal: e }) {
11254
11265
  ...t.payloadParams
11255
11266
  })
11256
11267
  });
11257
- if (!I.ok)
11258
- throw new lr(`HTTPError: ${I.status} ${I.statusText}`);
11259
- se = I.headers.get("Conversation-History-Id"), se && Ee.set(
11268
+ if (!v.ok)
11269
+ throw new lr(`HTTPError: ${v.status} ${v.statusText}`);
11270
+ se = v.headers.get("Conversation-History-Id"), se && ke.set(
11260
11271
  `${l}-conversation-history-id`,
11261
11272
  se,
11262
11273
  { expires: 1 }
11263
11274
  );
11264
- const C = await I.json(), U = C.content, K = C.live_agent;
11275
+ const C = await v.json(), U = C.content, K = C.live_agent;
11265
11276
  ae(U, se);
11266
- const ee = /* @__PURE__ */ new Date();
11277
+ const J = /* @__PURE__ */ new Date();
11267
11278
  Ie({
11268
11279
  conversationByteSize: og(JSON.stringify(Te)),
11269
11280
  conversationSize: p.length + 2,
11270
11281
  userInputMessage: F,
11271
11282
  apiResponseMessage: U,
11272
- elapsedSeconds: rg(W, ee)
11273
- }), T((de) => [
11283
+ elapsedSeconds: rg(W, J)
11284
+ }), D((de) => [
11274
11285
  ...de,
11275
11286
  {
11276
11287
  role: "assistant",
@@ -11282,7 +11293,7 @@ function ni({ submitEventExternal: e }) {
11282
11293
  } catch (W) {
11283
11294
  k(!1), De(), Y(!0), console.error(W);
11284
11295
  }
11285
- }, Fe = () => {
11296
+ }, Le = () => {
11286
11297
  _(!1), z(!0), ne({
11287
11298
  name: `${o.prefix}.bi.xpert.chatbot.action.button.clicked`,
11288
11299
  payload: {
@@ -11291,7 +11302,7 @@ function ni({ submitEventExternal: e }) {
11291
11302
  isTestUser: h
11292
11303
  }
11293
11304
  });
11294
- }, Pe = (F) => {
11305
+ }, _e = (F) => {
11295
11306
  ne({
11296
11307
  name: `${o.prefix}.bi.xpert.chatbot.${F ? "normal" : "expand"}.size.button.clicked`,
11297
11308
  payload: {
@@ -11299,7 +11310,7 @@ function ni({ submitEventExternal: e }) {
11299
11310
  label: "xpert-chatbot",
11300
11311
  isTestUser: h
11301
11312
  }
11302
- }), J(F);
11313
+ }), ee(F);
11303
11314
  }, Ke = () => {
11304
11315
  z(!0), ne({
11305
11316
  name: `${o.prefix}.bi.xpert.chatbot.proactive.message.clicked`,
@@ -11353,12 +11364,12 @@ function ni({ submitEventExternal: e }) {
11353
11364
  ...se,
11354
11365
  feedbackThumbType: W
11355
11366
  }) : se);
11356
- T(be), O(!1);
11367
+ D(be), O(!1);
11357
11368
  }, Je = ((Ze = r.animatedGraduate) == null ? void 0 : Ze.enabled) && a.enabled && me === "A", jt = i.enabled ? Je ? s ? i.style.mobile.animatedGraduateExperiment : i.style.animatedGraduateExperiment : s ? i.style.mobile : i.style : null;
11358
11369
  return (
11359
11370
  // do not remove this class as it's needed to turn off chatbot
11360
- /* @__PURE__ */ v.jsxs("div", { className: "xpert_chatbot", children: [
11361
- i.enabled && /* @__PURE__ */ v.jsx(
11371
+ /* @__PURE__ */ T.jsxs("div", { className: "xpert_chatbot", children: [
11372
+ i.enabled && /* @__PURE__ */ T.jsx(
11362
11373
  tl,
11363
11374
  {
11364
11375
  showMessage: !b,
@@ -11366,8 +11377,8 @@ function ni({ submitEventExternal: e }) {
11366
11377
  onClose: lt,
11367
11378
  onClick: Ke,
11368
11379
  cookieName: `${l}-proactive-message-xpert-chatbot`,
11369
- children: /* @__PURE__ */ v.jsx("div", { className: "xpert-chatbot-proactive-message", children: /* @__PURE__ */ v.jsxs("div", { className: "xpert-chatbot-proactive-message__text", children: [
11370
- i.textPrefix && /* @__PURE__ */ v.jsx(
11380
+ children: /* @__PURE__ */ T.jsx("div", { className: "xpert-chatbot-proactive-message", children: /* @__PURE__ */ T.jsxs("div", { className: "xpert-chatbot-proactive-message__text", children: [
11381
+ i.textPrefix && /* @__PURE__ */ T.jsx(
11371
11382
  "span",
11372
11383
  {
11373
11384
  style: {
@@ -11376,7 +11387,7 @@ function ni({ submitEventExternal: e }) {
11376
11387
  children: i.textPrefix
11377
11388
  }
11378
11389
  ),
11379
- i.showEmoji && /* @__PURE__ */ v.jsx(
11390
+ i.showEmoji && /* @__PURE__ */ T.jsx(
11380
11391
  "span",
11381
11392
  {
11382
11393
  role: "img",
@@ -11388,42 +11399,42 @@ function ni({ submitEventExternal: e }) {
11388
11399
  children: "👋"
11389
11400
  }
11390
11401
  ),
11391
- /* @__PURE__ */ v.jsx("span", { children: i.text })
11402
+ /* @__PURE__ */ T.jsx("span", { children: i.text })
11392
11403
  ] }) })
11393
11404
  }
11394
11405
  ),
11395
- Je && /* @__PURE__ */ v.jsx(
11406
+ Je && /* @__PURE__ */ T.jsx(
11396
11407
  Ls,
11397
11408
  {
11398
- handleFloatingActionButtonClick: Fe
11409
+ handleFloatingActionButtonClick: Le
11399
11410
  }
11400
11411
  ),
11401
- !Je && /* @__PURE__ */ v.jsx(
11412
+ !Je && /* @__PURE__ */ T.jsx(
11402
11413
  Ss,
11403
11414
  {
11404
- handleFloatingActionButtonClick: Fe
11415
+ handleFloatingActionButtonClick: Le
11405
11416
  }
11406
11417
  ),
11407
- /* @__PURE__ */ v.jsx(Fs, {}),
11408
- b && !E && /* @__PURE__ */ v.jsx(Ar, { isNormalSize: q, isMounted: S, children: /* @__PURE__ */ v.jsx(
11418
+ /* @__PURE__ */ T.jsx(Fs, {}),
11419
+ b && !E && /* @__PURE__ */ T.jsx(Ar, { isNormalSize: q, isMounted: S, children: /* @__PURE__ */ T.jsx(
11409
11420
  "div",
11410
11421
  {
11411
11422
  ref: G,
11412
11423
  style: { display: "flex", flexDirection: "column", height: "100%" },
11413
11424
  "aria-label": "XPERT Chatbot Popup",
11414
11425
  role: "dialog",
11415
- children: /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
11416
- /* @__PURE__ */ v.jsx(
11426
+ children: /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
11427
+ /* @__PURE__ */ T.jsx(
11417
11428
  da,
11418
11429
  {
11419
11430
  onClose: It,
11420
11431
  isMounted: S,
11421
11432
  isNormalSize: q,
11422
11433
  setIsMounted: w,
11423
- setIsNormalSize: Pe
11434
+ setIsNormalSize: _e
11424
11435
  }
11425
11436
  ),
11426
- /* @__PURE__ */ v.jsxs(
11437
+ /* @__PURE__ */ T.jsxs(
11427
11438
  "div",
11428
11439
  {
11429
11440
  style: {
@@ -11433,7 +11444,7 @@ function ni({ submitEventExternal: e }) {
11433
11444
  position: "relative"
11434
11445
  },
11435
11446
  children: [
11436
- /* @__PURE__ */ v.jsx(
11447
+ /* @__PURE__ */ T.jsx(
11437
11448
  Kh,
11438
11449
  {
11439
11450
  messages: p,
@@ -11447,14 +11458,14 @@ function ni({ submitEventExternal: e }) {
11447
11458
  isTestUser: h
11448
11459
  }
11449
11460
  ),
11450
- x && /* @__PURE__ */ v.jsx(el, { disableScroll: j }),
11451
- L && /* @__PURE__ */ v.jsx(lr, {})
11461
+ x && /* @__PURE__ */ T.jsx(el, { disableScroll: j }),
11462
+ L && /* @__PURE__ */ T.jsx(lr, {})
11452
11463
  ]
11453
11464
  }
11454
11465
  ),
11455
- /* @__PURE__ */ v.jsx(Bh, {}),
11456
- /* @__PURE__ */ v.jsxs("div", { style: { marginTop: "auto", display: "flex" }, children: [
11457
- n.liveChat.enabled && /* @__PURE__ */ v.jsx(
11466
+ /* @__PURE__ */ T.jsx(Bh, {}),
11467
+ /* @__PURE__ */ T.jsxs("div", { style: { marginTop: "auto", display: "flex" }, children: [
11468
+ n.liveChat.enabled && /* @__PURE__ */ T.jsx(
11458
11469
  _n,
11459
11470
  {
11460
11471
  submitEvent: ne,
@@ -11464,7 +11475,7 @@ function ni({ submitEventExternal: e }) {
11464
11475
  buttonClassName: "xpert-chatbot-popup__live-chat--btn-outline"
11465
11476
  }
11466
11477
  ),
11467
- /* @__PURE__ */ v.jsx("div", { style: { width: "100%" }, children: /* @__PURE__ */ v.jsx(
11478
+ /* @__PURE__ */ T.jsx("div", { style: { width: "100%" }, children: /* @__PURE__ */ T.jsx(
11468
11479
  Kr,
11469
11480
  {
11470
11481
  inputRef: Z,
@@ -11496,7 +11507,7 @@ const nl = ({ children: e, configurations: t = {}, xpertKey: n = null }) => {
11496
11507
  configurations: t,
11497
11508
  xpertKey: n
11498
11509
  };
11499
- return /* @__PURE__ */ v.jsx(Lo, { ...r, children: e });
11510
+ return /* @__PURE__ */ T.jsx(Lo, { ...r, children: e });
11500
11511
  };
11501
11512
  nl.propTypes = {
11502
11513
  children: N.element,
@@ -11504,12 +11515,12 @@ nl.propTypes = {
11504
11515
  xpertKey: N.string
11505
11516
  };
11506
11517
  function lg({ configurations: e = {}, key: t, submitEventExternal: n, xpertKey: r }) {
11507
- return /* @__PURE__ */ v.jsx(
11518
+ return /* @__PURE__ */ T.jsx(
11508
11519
  nl,
11509
11520
  {
11510
11521
  xpertKey: r,
11511
11522
  configurations: e,
11512
- children: /* @__PURE__ */ v.jsx(ni, { submitEventExternal: n })
11523
+ children: /* @__PURE__ */ T.jsx(ni, { submitEventExternal: n })
11513
11524
  },
11514
11525
  t
11515
11526
  );