@launchdarkly/observability 0.3.7 → 0.3.8

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.
@@ -88,7 +88,7 @@ var Ou = Object.defineProperty, Au = Object.defineProperties, xu = Object.getOwn
88
88
  for (var n of _n(e))
89
89
  ma.call(e, n) && Ir(t, n, e[n]);
90
90
  return t;
91
- }, at = (t, e) => Au(t, xu(e)), xt = (t, e) => {
91
+ }, at = (t, e) => Au(t, xu(e)), Nt = (t, e) => {
92
92
  var n = {};
93
93
  for (var r in t)
94
94
  va.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
@@ -96,7 +96,7 @@ var Ou = Object.defineProperty, Au = Object.defineProperties, xu = Object.getOwn
96
96
  for (var r of _n(t))
97
97
  e.indexOf(r) < 0 && ma.call(t, r) && (n[r] = t[r]);
98
98
  return n;
99
- }, kt = (t, e, n) => Ir(t, typeof e != "symbol" ? e + "" : e, n), lt = (t, e, n) => new Promise((r, i) => {
99
+ }, Mt = (t, e, n) => Ir(t, typeof e != "symbol" ? e + "" : e, n), pt = (t, e, n) => new Promise((r, i) => {
100
100
  var o = (c) => {
101
101
  try {
102
102
  u(n.next(c));
@@ -475,7 +475,7 @@ var w;
475
475
  function Dr(t) {
476
476
  return t === 9 || t === 32;
477
477
  }
478
- function Mt(t) {
478
+ function Dt(t) {
479
479
  return t >= 48 && t <= 57;
480
480
  }
481
481
  function ba(t) {
@@ -486,7 +486,7 @@ function Ea(t) {
486
486
  return ba(t) || t === 95;
487
487
  }
488
488
  function Du(t) {
489
- return ba(t) || Mt(t) || t === 95;
489
+ return ba(t) || Dt(t) || t === 95;
490
490
  }
491
491
  function Uu(t) {
492
492
  var e;
@@ -569,7 +569,7 @@ class Bu {
569
569
  function Fu(t) {
570
570
  return t === d.BANG || t === d.DOLLAR || t === d.AMP || t === d.PAREN_L || t === d.PAREN_R || t === d.SPREAD || t === d.COLON || t === d.EQUALS || t === d.AT || t === d.BRACKET_L || t === d.BRACKET_R || t === d.BRACE_L || t === d.PIPE || t === d.BRACE_R;
571
571
  }
572
- function dt(t) {
572
+ function vt(t) {
573
573
  return t >= 0 && t <= 55295 || t >= 57344 && t <= 1114111;
574
574
  }
575
575
  function Mn(t, e) {
@@ -648,14 +648,14 @@ function Vu(t, e) {
648
648
  case 34:
649
649
  return n.charCodeAt(i + 1) === 34 && n.charCodeAt(i + 2) === 34 ? Wu(t, i) : zu(t, i);
650
650
  }
651
- if (Mt(o) || o === 45)
651
+ if (Dt(o) || o === 45)
652
652
  return Gu(t, i, o);
653
653
  if (Ea(o))
654
654
  return Yu(t, i);
655
655
  throw H(
656
656
  t.source,
657
657
  i,
658
- o === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : dt(o) || Mn(n, i) ? `Unexpected character: ${Be(t, i)}.` : `Invalid character: ${Be(t, i)}.`
658
+ o === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : vt(o) || Mn(n, i) ? `Unexpected character: ${Be(t, i)}.` : `Invalid character: ${Be(t, i)}.`
659
659
  );
660
660
  }
661
661
  return B(t, d.EOF, r, r);
@@ -667,7 +667,7 @@ function Hu(t, e) {
667
667
  const o = n.charCodeAt(i);
668
668
  if (o === 10 || o === 13)
669
669
  break;
670
- if (dt(o))
670
+ if (vt(o))
671
671
  ++i;
672
672
  else if (Mn(n, i))
673
673
  i += 2;
@@ -686,7 +686,7 @@ function Gu(t, e, n) {
686
686
  const r = t.source.body;
687
687
  let i = e, o = n, a = !1;
688
688
  if (o === 45 && (o = r.charCodeAt(++i)), o === 48) {
689
- if (o = r.charCodeAt(++i), Mt(o))
689
+ if (o = r.charCodeAt(++i), Dt(o))
690
690
  throw H(
691
691
  t.source,
692
692
  i,
@@ -715,7 +715,7 @@ function Gu(t, e, n) {
715
715
  );
716
716
  }
717
717
  function Xn(t, e, n) {
718
- if (!Mt(n))
718
+ if (!Dt(n))
719
719
  throw H(
720
720
  t.source,
721
721
  e,
@@ -726,7 +726,7 @@ function Xn(t, e, n) {
726
726
  );
727
727
  const r = t.source.body;
728
728
  let i = e + 1;
729
- for (; Mt(r.charCodeAt(i)); )
729
+ for (; Dt(r.charCodeAt(i)); )
730
730
  ++i;
731
731
  return i;
732
732
  }
@@ -745,7 +745,7 @@ function zu(t, e) {
745
745
  }
746
746
  if (u === 10 || u === 13)
747
747
  break;
748
- if (dt(u))
748
+ if (vt(u))
749
749
  ++i;
750
750
  else if (Mn(n, i))
751
751
  i += 2;
@@ -767,14 +767,14 @@ function qu(t, e) {
767
767
  for (; i < 12; ) {
768
768
  const o = n.charCodeAt(e + i++);
769
769
  if (o === 125) {
770
- if (i < 5 || !dt(r))
770
+ if (i < 5 || !vt(r))
771
771
  break;
772
772
  return {
773
773
  value: String.fromCodePoint(r),
774
774
  size: i
775
775
  };
776
776
  }
777
- if (r = r << 4 | Ot(o), r < 0)
777
+ if (r = r << 4 | At(o), r < 0)
778
778
  break;
779
779
  }
780
780
  throw H(
@@ -788,7 +788,7 @@ function qu(t, e) {
788
788
  }
789
789
  function Xu(t, e) {
790
790
  const n = t.source.body, r = ji(n, e + 2);
791
- if (dt(r))
791
+ if (vt(r))
792
792
  return {
793
793
  value: String.fromCodePoint(r),
794
794
  size: 6
@@ -808,9 +808,9 @@ function Xu(t, e) {
808
808
  );
809
809
  }
810
810
  function ji(t, e) {
811
- return Ot(t.charCodeAt(e)) << 12 | Ot(t.charCodeAt(e + 1)) << 8 | Ot(t.charCodeAt(e + 2)) << 4 | Ot(t.charCodeAt(e + 3));
811
+ return At(t.charCodeAt(e)) << 12 | At(t.charCodeAt(e + 1)) << 8 | At(t.charCodeAt(e + 2)) << 4 | At(t.charCodeAt(e + 3));
812
812
  }
813
- function Ot(t) {
813
+ function At(t) {
814
814
  return t >= 48 && t <= 57 ? t - 48 : t >= 65 && t <= 70 ? t - 55 : t >= 97 && t <= 102 ? t - 87 : -1;
815
815
  }
816
816
  function Ku(t, e) {
@@ -894,7 +894,7 @@ function Wu(t, e) {
894
894
  u += n.slice(a, o), c.push(u), s === 13 && n.charCodeAt(o + 1) === 10 ? o += 2 : ++o, u = "", a = o, i = o;
895
895
  continue;
896
896
  }
897
- if (dt(s))
897
+ if (vt(s))
898
898
  ++o;
899
899
  else if (Mn(n, o))
900
900
  o += 2;
@@ -2957,7 +2957,7 @@ var Ur = { exports: {} };
2957
2957
  this.stack = X.stack;
2958
2958
  }, a.DOMException.prototype = Object.create(Error.prototype), a.DOMException.prototype.constructor = a.DOMException;
2959
2959
  }
2960
- function yt(h, g) {
2960
+ function gt(h, g) {
2961
2961
  return new Promise(function(A, X) {
2962
2962
  var z = new $(h, g);
2963
2963
  if (z.signal && z.signal.aborted)
@@ -2967,28 +2967,28 @@ var Ur = { exports: {} };
2967
2967
  P.abort();
2968
2968
  }
2969
2969
  P.onload = function() {
2970
- var gt = {
2970
+ var _t = {
2971
2971
  status: P.status,
2972
2972
  statusText: P.statusText,
2973
2973
  headers: ue(P.getAllResponseHeaders() || "")
2974
2974
  };
2975
- gt.url = "responseURL" in P ? P.responseURL : gt.headers.get("X-Request-URL");
2975
+ _t.url = "responseURL" in P ? P.responseURL : _t.headers.get("X-Request-URL");
2976
2976
  var qn = "response" in P ? P.response : P.responseText;
2977
- A(new W(qn, gt));
2977
+ A(new W(qn, _t));
2978
2978
  }, P.onerror = function() {
2979
2979
  X(new TypeError("Network request failed"));
2980
2980
  }, P.ontimeout = function() {
2981
2981
  X(new TypeError("Network request failed"));
2982
2982
  }, P.onabort = function() {
2983
2983
  X(new a.DOMException("Aborted", "AbortError"));
2984
- }, P.open(z.method, z.url, !0), z.credentials === "include" ? P.withCredentials = !0 : z.credentials === "omit" && (P.withCredentials = !1), "responseType" in P && u.blob && (P.responseType = "blob"), z.headers.forEach(function(gt, qn) {
2985
- P.setRequestHeader(qn, gt);
2984
+ }, P.open(z.method, z.url, !0), z.credentials === "include" ? P.withCredentials = !0 : z.credentials === "omit" && (P.withCredentials = !1), "responseType" in P && u.blob && (P.responseType = "blob"), z.headers.forEach(function(_t, qn) {
2985
+ P.setRequestHeader(qn, _t);
2986
2986
  }), z.signal && (z.signal.addEventListener("abort", Wt), P.onreadystatechange = function() {
2987
2987
  P.readyState === 4 && z.signal.removeEventListener("abort", Wt);
2988
2988
  }), P.send(typeof z._bodyInit > "u" ? null : z._bodyInit);
2989
2989
  });
2990
2990
  }
2991
- return yt.polyfill = !0, o.fetch || (o.fetch = yt, o.Headers = v, o.Request = $, o.Response = W), a.Headers = v, a.Request = $, a.Response = W, a.fetch = yt, Object.defineProperty(a, "__esModule", { value: !0 }), a;
2991
+ return gt.polyfill = !0, o.fetch || (o.fetch = gt, o.Headers = v, o.Request = $, o.Response = W), a.Headers = v, a.Request = $, a.Response = W, a.fetch = gt, Object.defineProperty(a, "__esModule", { value: !0 }), a;
2992
2992
  })({});
2993
2993
  })(r), r.fetch.ponyfill = !0, delete r.fetch.polyfill;
2994
2994
  var i = r;
@@ -3015,7 +3015,7 @@ const fn = /* @__PURE__ */ di(bn), Tc = /* @__PURE__ */ Nu({
3015
3015
  variables: e.variables ? e.jsonSerializer.stringify(e.variables[o]) : void 0
3016
3016
  }), r), []);
3017
3017
  return `query=${encodeURIComponent(e.jsonSerializer.stringify(n))}`;
3018
- }, Sc = (t) => (e) => lt(void 0, null, function* () {
3018
+ }, Sc = (t) => (e) => pt(void 0, null, function* () {
3019
3019
  var n;
3020
3020
  const { url: r, query: i, variables: o, operationName: a, fetch: u, fetchOptions: c, middleware: s } = e, l = x({}, e.headers);
3021
3021
  let p = "", f;
@@ -3032,15 +3032,15 @@ const fn = /* @__PURE__ */ di(bn), Tc = /* @__PURE__ */ Nu({
3032
3032
  }, c);
3033
3033
  let v = r, y = m;
3034
3034
  if (s) {
3035
- const _ = yield Promise.resolve(s(at(x({}, m), { url: r, operationName: a, variables: o }))), { url: b } = _, L = xt(_, ["url"]);
3035
+ const _ = yield Promise.resolve(s(at(x({}, m), { url: r, operationName: a, variables: o }))), { url: b } = _, L = Nt(_, ["url"]);
3036
3036
  v = b, y = L;
3037
3037
  }
3038
3038
  return p && (v = `${v}?${p}`), yield u(v, y);
3039
3039
  });
3040
3040
  let Oc = class {
3041
3041
  constructor(e, n = {}) {
3042
- this.url = e, this.requestConfig = n, this.rawRequest = (...r) => lt(this, null, function* () {
3043
- const [i, o, a] = r, u = bc(i, o, a), c = this.requestConfig, { headers: s, fetch: l = fn, method: p = "POST", requestMiddleware: f, responseMiddleware: m } = c, v = xt(c, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: y } = this;
3042
+ this.url = e, this.requestConfig = n, this.rawRequest = (...r) => pt(this, null, function* () {
3043
+ const [i, o, a] = r, u = bc(i, o, a), c = this.requestConfig, { headers: s, fetch: l = fn, method: p = "POST", requestMiddleware: f, responseMiddleware: m } = c, v = Nt(c, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: y } = this;
3044
3044
  u.signal !== void 0 && (v.signal = u.signal);
3045
3045
  const { operationName: _ } = Kn(u.query);
3046
3046
  return Wn({
@@ -3059,8 +3059,8 @@ let Oc = class {
3059
3059
  });
3060
3060
  }
3061
3061
  request(e, ...n) {
3062
- return lt(this, null, function* () {
3063
- const [r, i] = n, o = _c(e, r, i), a = this.requestConfig, { headers: u, fetch: c = fn, method: s = "POST", requestMiddleware: l, responseMiddleware: p } = a, f = xt(a, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: m } = this;
3062
+ return pt(this, null, function* () {
3063
+ const [r, i] = n, o = _c(e, r, i), a = this.requestConfig, { headers: u, fetch: c = fn, method: s = "POST", requestMiddleware: l, responseMiddleware: p } = a, f = Nt(a, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: m } = this;
3064
3064
  o.signal !== void 0 && (f.signal = o.signal);
3065
3065
  const { query: v, operationName: y } = Kn(o.document);
3066
3066
  return Wn({
@@ -3081,7 +3081,7 @@ let Oc = class {
3081
3081
  // prettier-ignore
3082
3082
  batchRequests(e, n) {
3083
3083
  var r;
3084
- const i = Ec(e, n), o = this.requestConfig, { headers: a } = o, u = xt(o, ["headers"]);
3084
+ const i = Ec(e, n), o = this.requestConfig, { headers: a } = o, u = Nt(o, ["headers"]);
3085
3085
  i.signal !== void 0 && (u.signal = i.signal);
3086
3086
  const c = i.documents.map(({ document: l }) => Kn(l).query), s = i.documents.map(({ variables: l }) => l);
3087
3087
  return Wn({
@@ -3116,11 +3116,11 @@ let Oc = class {
3116
3116
  return this.url = e, this;
3117
3117
  }
3118
3118
  };
3119
- const Wn = (t) => lt(void 0, null, function* () {
3119
+ const Wn = (t) => pt(void 0, null, function* () {
3120
3120
  var e, n;
3121
3121
  const { query: r, variables: i, fetchOptions: o } = t, a = Sc(yc((e = t.method) != null ? e : "post")), u = Array.isArray(t.query), c = yield a(t), s = yield xc(c, (n = o.jsonSerializer) != null ? n : fi), l = Array.isArray(s) ? !s.some(({ data: f }) => !f) : !!s.data, p = Array.isArray(s) || !s.errors || Array.isArray(s.errors) && !s.errors.length || o.errorPolicy === "all" || o.errorPolicy === "ignore";
3122
3122
  if (c.ok && p && l) {
3123
- const f = s, m = xt(f, ["errors"]), v = o.errorPolicy === "ignore" ? m : s;
3123
+ const f = s, m = Nt(f, ["errors"]), v = o.errorPolicy === "ignore" ? m : s;
3124
3124
  return at(x({}, u ? { data: v } : v), {
3125
3125
  headers: c.headers,
3126
3126
  status: c.status
@@ -3143,7 +3143,7 @@ const Wn = (t) => lt(void 0, null, function* () {
3143
3143
  throw new Error("Cannot create request body with given variable type, array expected");
3144
3144
  const o = t.reduce((a, u, c) => (a.push({ query: u, variables: e ? e[c] : void 0 }), a), []);
3145
3145
  return i.stringify(o);
3146
- }, xc = (t, e) => lt(void 0, null, function* () {
3146
+ }, xc = (t, e) => pt(void 0, null, function* () {
3147
3147
  let n;
3148
3148
  return t.headers.forEach((r, i) => {
3149
3149
  i.toLowerCase() === "content-type" && (n = r);
@@ -3169,7 +3169,7 @@ var $r = { exports: {} };
3169
3169
  }
3170
3170
  })($r, $r.exports);
3171
3171
  var Nc = $r.exports;
3172
- const Nt = /* @__PURE__ */ di(Nc);
3172
+ const Ct = /* @__PURE__ */ di(Nc);
3173
3173
  var En = function() {
3174
3174
  return En = Object.assign || function(t) {
3175
3175
  for (var e, n = 1, r = arguments.length; n < r; n++) {
@@ -3242,7 +3242,7 @@ function Mc() {
3242
3242
  function Dc() {
3243
3243
  Tn = !1;
3244
3244
  }
3245
- var _t = {
3245
+ var bt = {
3246
3246
  gql: Z,
3247
3247
  resetCaches: Ic,
3248
3248
  disableFragmentWarnings: kc,
@@ -3250,7 +3250,7 @@ var _t = {
3250
3250
  disableExperimentalFragmentVariables: Dc
3251
3251
  };
3252
3252
  (function(t) {
3253
- t.gql = _t.gql, t.resetCaches = _t.resetCaches, t.disableFragmentWarnings = _t.disableFragmentWarnings, t.enableExperimentalFragmentVariables = _t.enableExperimentalFragmentVariables, t.disableExperimentalFragmentVariables = _t.disableExperimentalFragmentVariables;
3253
+ t.gql = bt.gql, t.resetCaches = bt.resetCaches, t.disableFragmentWarnings = bt.disableFragmentWarnings, t.enableExperimentalFragmentVariables = bt.enableExperimentalFragmentVariables, t.disableExperimentalFragmentVariables = bt.disableExperimentalFragmentVariables;
3254
3254
  })(Z || (Z = {}));
3255
3255
  Z.default = Z;
3256
3256
  const Ca = Z`
@@ -3774,7 +3774,7 @@ function Vr(t, e) {
3774
3774
  var Zn = Vr(ol, { path: "/" });
3775
3775
  let Hr = "localStorage", Gr = !0, al = class {
3776
3776
  constructor() {
3777
- kt(this, "storage", {});
3777
+ Mt(this, "storage", {});
3778
3778
  }
3779
3779
  get length() {
3780
3780
  return Object.keys(this.storage).length;
@@ -3808,8 +3808,10 @@ let Hr = "localStorage", Gr = !0, al = class {
3808
3808
  Gr && Zn.remove(e);
3809
3809
  }
3810
3810
  };
3811
- const Dt = new al(), wn = new sl(), Ut = () => {
3811
+ const ut = new al(), wn = new sl(), Ut = () => {
3812
3812
  let t = null;
3813
+ if (typeof window > "u")
3814
+ return ut;
3813
3815
  try {
3814
3816
  switch (Hr) {
3815
3817
  case "localStorage":
@@ -3824,7 +3826,7 @@ const Dt = new al(), wn = new sl(), Ut = () => {
3824
3826
  "getPersistentStorage",
3825
3827
  "debug",
3826
3828
  `persistent storage was not found for mode ${Hr}; using global storage`
3827
- ), t = Dt);
3829
+ ), t = ut);
3828
3830
  } catch (e) {
3829
3831
  Ee(
3830
3832
  "storage",
@@ -3832,7 +3834,7 @@ const Dt = new al(), wn = new sl(), Ut = () => {
3832
3834
  "debug",
3833
3835
  "failed to get persistent storage; using global storage",
3834
3836
  e
3835
- ), t = Dt;
3837
+ ), t = ut;
3836
3838
  }
3837
3839
  return t;
3838
3840
  }, ul = (t) => {
@@ -3849,7 +3851,7 @@ const Dt = new al(), wn = new sl(), Ut = () => {
3849
3851
  "debug",
3850
3852
  `failed to get item ${t}; using global storage`,
3851
3853
  e
3852
- ), Dt.getItem(t);
3854
+ ), ut.getItem(t);
3853
3855
  }
3854
3856
  }, Ra = (t, e) => {
3855
3857
  wn.setItem(t, e);
@@ -3862,7 +3864,7 @@ const Dt = new al(), wn = new sl(), Ut = () => {
3862
3864
  "debug",
3863
3865
  `failed to set item ${t}; using global storage`,
3864
3866
  n
3865
- ), Dt.setItem(t, e);
3867
+ ), ut.setItem(t, e);
3866
3868
  }
3867
3869
  }, Pa = (t) => {
3868
3870
  wn.removeItem(t);
@@ -3875,20 +3877,20 @@ const Dt = new al(), wn = new sl(), Ut = () => {
3875
3877
  "debug",
3876
3878
  `failed to remove item ${t}; using global storage`,
3877
3879
  e
3878
- ), Dt.removeItem(t);
3880
+ ), ut.removeItem(t);
3879
3881
  }
3880
3882
  };
3881
- var vt = /* @__PURE__ */ ((t) => (t.SEGMENT_LAST_SENT_HASH_KEY = "HIGHLIGHT_SEGMENT_LAST_SENT_HASH_KEY", t.SESSION_ID = "sessionID", t.SESSION_DATA = "sessionData", t.USER_IDENTIFIER = "highlightIdentifier", t.USER_OBJECT = "highlightUserObject", t))(vt || {});
3882
- const Un = (t) => `${vt.SESSION_DATA}_${t}`, Ae = () => {
3883
+ var mt = /* @__PURE__ */ ((t) => (t.SEGMENT_LAST_SENT_HASH_KEY = "HIGHLIGHT_SEGMENT_LAST_SENT_HASH_KEY", t.SESSION_ID = "sessionID", t.SESSION_DATA = "sessionData", t.USER_IDENTIFIER = "highlightIdentifier", t.USER_OBJECT = "highlightUserObject", t))(mt || {});
3884
+ const Un = (t) => `${mt.SESSION_DATA}_${t}`, Ae = () => {
3883
3885
  var t;
3884
3886
  return typeof globalThis < "u" && (t = globalThis.persistentSessionSecureID) != null && t.length ? globalThis.persistentSessionSecureID : Ia();
3885
3887
  }, cl = (t) => {
3886
3888
  typeof globalThis < "u" && t != null && t.length && (globalThis.persistentSessionSecureID = t);
3887
3889
  }, Ia = () => {
3888
3890
  var t;
3889
- return (t = mi(vt.SESSION_ID)) != null ? t : "";
3891
+ return (t = mi(mt.SESSION_ID)) != null ? t : "";
3890
3892
  }, ka = (t) => {
3891
- Ra(vt.SESSION_ID, t);
3893
+ Ra(mt.SESSION_ID, t);
3892
3894
  }, ll = (t) => {
3893
3895
  const e = Un(t);
3894
3896
  return JSON.parse(mi(e) || "{}");
@@ -3906,7 +3908,7 @@ const Un = (t) => `${vt.SESSION_DATA}_${t}`, Ae = () => {
3906
3908
  Ra(n, JSON.stringify(t)), hl(n);
3907
3909
  }, fl = function() {
3908
3910
  const t = wn.getItem(
3909
- vt.SESSION_ID
3911
+ mt.SESSION_ID
3910
3912
  );
3911
3913
  ka(t);
3912
3914
  const e = Un(t), n = wn.getItem(e);
@@ -3916,7 +3918,7 @@ const Un = (t) => `${vt.SESSION_DATA}_${t}`, Ae = () => {
3916
3918
  }
3917
3919
  };
3918
3920
  function hl(t) {
3919
- const e = `${vt.SESSION_DATA}_`;
3921
+ const e = `${mt.SESSION_DATA}_`;
3920
3922
  for (let n = Ut().length - 1; n >= 0; n--) {
3921
3923
  const r = Ut().key(n);
3922
3924
  if (r && r.startsWith(e) && r !== t)
@@ -3953,7 +3955,7 @@ const yi = 10, gi = 1e3, _i = 500, dl = [Da.BillingQuotaExceeded.toString()], vl
3953
3955
  (n) => dl.includes(n.message)
3954
3956
  )) === void 0;
3955
3957
  }, ml = () => {
3956
- const t = (e, n, r, i, o = 0) => lt(void 0, null, function* () {
3958
+ const t = (e, n, r, i, o = 0) => pt(void 0, null, function* () {
3957
3959
  try {
3958
3960
  return yield e();
3959
3961
  } catch (a) {
@@ -4010,7 +4012,7 @@ function Xi(t) {
4010
4012
  }
4011
4013
  class Rl {
4012
4014
  constructor(e, n) {
4013
- kt(this, "client"), kt(this, "metadata"), this.client = e, this.metadata = n;
4015
+ Mt(this, "client"), Mt(this, "metadata"), this.client = e, this.metadata = n;
4014
4016
  }
4015
4017
  getHooks(e) {
4016
4018
  return [];
@@ -4051,7 +4053,7 @@ class Rl {
4051
4053
  }
4052
4054
  class Pl extends da {
4053
4055
  constructor(e, n) {
4054
- super(), kt(this, "client"), this.client = new Rl(e, n);
4056
+ super(), Mt(this, "client"), this.client = new Rl(e, n);
4055
4057
  }
4056
4058
  getHooks(e) {
4057
4059
  return [
@@ -4084,7 +4086,7 @@ class Pl extends da {
4084
4086
  return this._bufferCall("track", [e, n]);
4085
4087
  }
4086
4088
  }
4087
- const Il = "9.18.22", kl = {
4089
+ const Il = "9.18.23", kl = {
4088
4090
  version: Il
4089
4091
  }, Ml = kl.version;
4090
4092
  function Dl(t) {
@@ -4131,7 +4133,7 @@ const Ul = (t) => {
4131
4133
  };
4132
4134
  class jl {
4133
4135
  constructor(e) {
4134
- kt(this, "sessionSecureID");
4136
+ Mt(this, "sessionSecureID");
4135
4137
  try {
4136
4138
  e != null && e.storageMode && ul(e?.storageMode), Hi(!!(e != null && e.sessionCookie)), e != null && e.sessionCookie ? fl() : Hi(!1);
4137
4139
  const n = Ae();
@@ -4215,7 +4217,7 @@ var Fl = Object.defineProperty, Vl = Object.defineProperties, Hl = Object.getOwn
4215
4217
  for (var n of Wi(e))
4216
4218
  zl.call(e, n) && zr(t, n, e[n]);
4217
4219
  return t;
4218
- }, ee = (t, e) => Vl(t, Hl(e)), k = (t, e, n) => zr(t, typeof e != "symbol" ? e + "" : e, n), ut = (t, e, n) => new Promise((r, i) => {
4220
+ }, ee = (t, e) => Vl(t, Hl(e)), k = (t, e, n) => zr(t, typeof e != "symbol" ? e + "" : e, n), ct = (t, e, n) => new Promise((r, i) => {
4219
4221
  var o = (c) => {
4220
4222
  try {
4221
4223
  u(n.next(c));
@@ -4560,7 +4562,7 @@ function nr(t, e, n, r) {
4560
4562
  const p = ip(s);
4561
4563
  t({
4562
4564
  error: c,
4563
- event: Nt(e),
4565
+ event: Ct(e),
4564
4566
  type: "window.onerror",
4565
4567
  url: window.location.href,
4566
4568
  source: n ?? "",
@@ -4568,7 +4570,7 @@ function nr(t, e, n, r) {
4568
4570
  columnNumber: (a = p[0]) != null && a.columnNumber ? (u = p[0]) == null ? void 0 : u.columnNumber : 0,
4569
4571
  stackTrace: p,
4570
4572
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
4571
- payload: l ? Nt(l) : void 0,
4573
+ payload: l ? Ct(l) : void 0,
4572
4574
  id: Va()
4573
4575
  });
4574
4576
  }
@@ -4727,27 +4729,27 @@ var pp = function(t, e) {
4727
4729
  return t.prototype.debug = function() {
4728
4730
  for (var e = [], n = 0; n < arguments.length; n++)
4729
4731
  e[n] = arguments[n];
4730
- return bt("debug", this._namespace, e);
4732
+ return Et("debug", this._namespace, e);
4731
4733
  }, t.prototype.error = function() {
4732
4734
  for (var e = [], n = 0; n < arguments.length; n++)
4733
4735
  e[n] = arguments[n];
4734
- return bt("error", this._namespace, e);
4736
+ return Et("error", this._namespace, e);
4735
4737
  }, t.prototype.info = function() {
4736
4738
  for (var e = [], n = 0; n < arguments.length; n++)
4737
4739
  e[n] = arguments[n];
4738
- return bt("info", this._namespace, e);
4740
+ return Et("info", this._namespace, e);
4739
4741
  }, t.prototype.warn = function() {
4740
4742
  for (var e = [], n = 0; n < arguments.length; n++)
4741
4743
  e[n] = arguments[n];
4742
- return bt("warn", this._namespace, e);
4744
+ return Et("warn", this._namespace, e);
4743
4745
  }, t.prototype.verbose = function() {
4744
4746
  for (var e = [], n = 0; n < arguments.length; n++)
4745
4747
  e[n] = arguments[n];
4746
- return bt("verbose", this._namespace, e);
4748
+ return Et("verbose", this._namespace, e);
4747
4749
  }, t;
4748
4750
  }()
4749
4751
  );
4750
- function bt(t, e, n) {
4752
+ function Et(t, e, n) {
4751
4753
  var r = Fe("diag");
4752
4754
  if (r)
4753
4755
  return n.unshift(e), r[t].apply(r, fp([], pp(n), !1));
@@ -5164,7 +5166,7 @@ var Ga = "0000000000000000", za = "00000000000000000000000000000000", qa = {
5164
5166
  traceId: za,
5165
5167
  spanId: Ga,
5166
5168
  traceFlags: Te.NONE
5167
- }, Ct = (
5169
+ }, Lt = (
5168
5170
  /** @class */
5169
5171
  function() {
5170
5172
  function t(e) {
@@ -5206,7 +5208,7 @@ function Jp(t) {
5206
5208
  return t.deleteValue(Ti);
5207
5209
  }
5208
5210
  function Qp(t, e) {
5209
- return Si(t, new Ct(e));
5211
+ return Si(t, new Lt(e));
5210
5212
  }
5211
5213
  function Xa(t) {
5212
5214
  var e;
@@ -5223,7 +5225,7 @@ function Fn(t) {
5223
5225
  return Ka(t.traceId) && tf(t.spanId);
5224
5226
  }
5225
5227
  function nf(t) {
5226
- return new Ct(t);
5228
+ return new Lt(t);
5227
5229
  }
5228
5230
  var ir = Bn.getInstance(), Wa = (
5229
5231
  /** @class */
@@ -5234,9 +5236,9 @@ var ir = Bn.getInstance(), Wa = (
5234
5236
  r === void 0 && (r = ir.active());
5235
5237
  var i = !!(n != null && n.root);
5236
5238
  if (i)
5237
- return new Ct();
5239
+ return new Lt();
5238
5240
  var o = r && Xa(r);
5239
- return rf(o) && Fn(o) ? new Ct(o) : new Ct();
5241
+ return rf(o) && Fn(o) ? new Lt(o) : new Lt();
5240
5242
  }, t.prototype.startActiveSpan = function(e, n, r, i) {
5241
5243
  var o, a, u;
5242
5244
  if (!(arguments.length < 2)) {
@@ -5784,13 +5786,13 @@ function is(t) {
5784
5786
  }
5785
5787
  return e;
5786
5788
  }
5787
- var Lt = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {};
5788
- function pt() {
5789
- var t = is(Lt);
5789
+ var Rt = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {};
5790
+ function ft() {
5791
+ var t = is(Rt);
5790
5792
  return Object.assign({}, rs, t);
5791
5793
  }
5792
5794
  function Kf() {
5793
- return is(Lt);
5795
+ return is(Rt);
5794
5796
  }
5795
5797
  function to(t) {
5796
5798
  return t >= 48 && t <= 57 ? t - 48 : t >= 97 && t <= 102 ? t - 87 : t - 55;
@@ -5819,7 +5821,7 @@ function Ve(t) {
5819
5821
  var e = ie(Ni()), n = ie(typeof t == "number" ? t : oe.now());
5820
5822
  return os(e, n);
5821
5823
  }
5822
- function Rt(t) {
5824
+ function Pt(t) {
5823
5825
  if (Ci(t))
5824
5826
  return t;
5825
5827
  if (typeof t == "number")
@@ -6043,13 +6045,13 @@ function hs(t, e, n, r) {
6043
6045
  if (i = t.slice(), xn(e))
6044
6046
  for (var o = 0, a = e.length; o < a; o++)
6045
6047
  i.push(pr(e[o]));
6046
- else if (Et(e))
6048
+ else if (Tt(e))
6047
6049
  for (var u = Object.keys(e), o = 0, a = u.length; o < a; o++) {
6048
6050
  var c = u[o];
6049
6051
  i[c] = pr(e[c]);
6050
6052
  }
6051
- } else if (Et(t))
6052
- if (Et(e)) {
6053
+ } else if (Tt(t))
6054
+ if (Tt(e)) {
6053
6055
  if (!jh(t, e))
6054
6056
  return e;
6055
6057
  i = Object.assign({}, t);
@@ -6062,7 +6064,7 @@ function hs(t, e, n, r) {
6062
6064
  if (so(t, c, r) || so(e, c, r))
6063
6065
  delete i[c];
6064
6066
  else {
6065
- if (Et(l) && Et(p)) {
6067
+ if (Tt(l) && Tt(p)) {
6066
6068
  var f = r.get(l) || [], m = r.get(p) || [];
6067
6069
  f.push({ obj: t, key: c }), m.push({ obj: e, key: c }), r.set(l, f), r.set(p, m);
6068
6070
  }
@@ -6089,7 +6091,7 @@ function xn(t) {
6089
6091
  function ds(t) {
6090
6092
  return typeof t == "function";
6091
6093
  }
6092
- function Et(t) {
6094
+ function Tt(t) {
6093
6095
  return !gn(t) && !xn(t) && !ds(t) && typeof t == "object";
6094
6096
  }
6095
6097
  function gn(t) {
@@ -6271,7 +6273,7 @@ var qh = {
6271
6273
  return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(e, n, r);
6272
6274
  }, t;
6273
6275
  }()
6274
- ), Yh = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Zt = Symbol.for("io.opentelemetry.js.api.logs"), Tt = Yh;
6276
+ ), Yh = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Zt = Symbol.for("io.opentelemetry.js.api.logs"), wt = Yh;
6275
6277
  function Jh(t, e, n) {
6276
6278
  return function(r) {
6277
6279
  return r === t ? e : n;
@@ -6286,14 +6288,14 @@ var co = 1, Qh = (
6286
6288
  return t.getInstance = function() {
6287
6289
  return this._instance || (this._instance = new t()), this._instance;
6288
6290
  }, t.prototype.setGlobalLoggerProvider = function(e) {
6289
- return Tt[Zt] ? this.getLoggerProvider() : (Tt[Zt] = Jh(co, e, gs), this._proxyLoggerProvider.setDelegate(e), e);
6291
+ return wt[Zt] ? this.getLoggerProvider() : (wt[Zt] = Jh(co, e, gs), this._proxyLoggerProvider.setDelegate(e), e);
6290
6292
  }, t.prototype.getLoggerProvider = function() {
6291
6293
  var e, n;
6292
- return (n = (e = Tt[Zt]) === null || e === void 0 ? void 0 : e.call(Tt, co)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
6294
+ return (n = (e = wt[Zt]) === null || e === void 0 ? void 0 : e.call(wt, co)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
6293
6295
  }, t.prototype.getLogger = function(e, n, r) {
6294
6296
  return this.getLoggerProvider().getLogger(e, n, r);
6295
6297
  }, t.prototype.disable = function() {
6296
- delete Tt[Zt], this._proxyLoggerProvider = new uo();
6298
+ delete wt[Zt], this._proxyLoggerProvider = new uo();
6297
6299
  }, t;
6298
6300
  }()
6299
6301
  ), qt = Qh.getInstance();
@@ -6318,7 +6320,7 @@ function Wr(t) {
6318
6320
  return typeof t == "function";
6319
6321
  }
6320
6322
  var Q = console.error.bind(console);
6321
- function wt(t, e, n) {
6323
+ function St(t, e, n) {
6322
6324
  var r = !!t[e] && t.propertyIsEnumerable(e);
6323
6325
  Object.defineProperty(t, e, {
6324
6326
  configurable: !0,
@@ -6344,9 +6346,9 @@ function _s(t, e, n) {
6344
6346
  return;
6345
6347
  }
6346
6348
  var r = t[e], i = n(r, e);
6347
- return wt(i, "__original", r), wt(i, "__unwrap", function() {
6348
- t[e] === i && wt(t, e, r);
6349
- }), wt(i, "__wrapped", !0), wt(t, e, i), i;
6349
+ return St(i, "__original", r), St(i, "__unwrap", function() {
6350
+ t[e] === i && St(t, e, r);
6351
+ }), St(i, "__wrapped", !0), St(t, e, i), i;
6350
6352
  }
6351
6353
  function nd(t, e, n) {
6352
6354
  if (t)
@@ -6642,10 +6644,10 @@ var sd = "exception.type", ud = "exception.message", cd = "exception.stacktrace"
6642
6644
  }) : e;
6643
6645
  }, t;
6644
6646
  }()
6645
- ), ft;
6647
+ ), ht;
6646
6648
  (function(t) {
6647
6649
  t[t.NOT_RECORD = 0] = "NOT_RECORD", t[t.RECORD = 1] = "RECORD", t[t.RECORD_AND_SAMPLED = 2] = "RECORD_AND_SAMPLED";
6648
- })(ft || (ft = {}));
6650
+ })(ht || (ht = {}));
6649
6651
  var Nn = (
6650
6652
  /** @class */
6651
6653
  function() {
@@ -6653,20 +6655,20 @@ var Nn = (
6653
6655
  }
6654
6656
  return t.prototype.shouldSample = function() {
6655
6657
  return {
6656
- decision: ft.NOT_RECORD
6658
+ decision: ht.NOT_RECORD
6657
6659
  };
6658
6660
  }, t.prototype.toString = function() {
6659
6661
  return "AlwaysOffSampler";
6660
6662
  }, t;
6661
6663
  }()
6662
- ), ct = (
6664
+ ), lt = (
6663
6665
  /** @class */
6664
6666
  function() {
6665
6667
  function t() {
6666
6668
  }
6667
6669
  return t.prototype.shouldSample = function() {
6668
6670
  return {
6669
- decision: ft.RECORD_AND_SAMPLED
6671
+ decision: ht.RECORD_AND_SAMPLED
6670
6672
  };
6671
6673
  }, t.prototype.toString = function() {
6672
6674
  return "AlwaysOnSampler";
@@ -6677,7 +6679,7 @@ var Nn = (
6677
6679
  function() {
6678
6680
  function t(e) {
6679
6681
  var n, r, i, o;
6680
- this._root = e.root, this._root || (Le(new Error("ParentBasedSampler must have a root sampler configured")), this._root = new ct()), this._remoteParentSampled = (n = e.remoteParentSampled) !== null && n !== void 0 ? n : new ct(), this._remoteParentNotSampled = (r = e.remoteParentNotSampled) !== null && r !== void 0 ? r : new Nn(), this._localParentSampled = (i = e.localParentSampled) !== null && i !== void 0 ? i : new ct(), this._localParentNotSampled = (o = e.localParentNotSampled) !== null && o !== void 0 ? o : new Nn();
6682
+ this._root = e.root, this._root || (Le(new Error("ParentBasedSampler must have a root sampler configured")), this._root = new lt()), this._remoteParentSampled = (n = e.remoteParentSampled) !== null && n !== void 0 ? n : new lt(), this._remoteParentNotSampled = (r = e.remoteParentNotSampled) !== null && r !== void 0 ? r : new Nn(), this._localParentSampled = (i = e.localParentSampled) !== null && i !== void 0 ? i : new lt(), this._localParentNotSampled = (o = e.localParentNotSampled) !== null && o !== void 0 ? o : new Nn();
6681
6683
  }
6682
6684
  return t.prototype.shouldSample = function(e, n, r, i, o, a) {
6683
6685
  var u = R.getSpanContext(e);
@@ -6694,7 +6696,7 @@ var Nn = (
6694
6696
  }
6695
6697
  return t.prototype.shouldSample = function(e, n) {
6696
6698
  return {
6697
- decision: Ka(n) && this._accumulate(n) < this._upperBound ? ft.RECORD_AND_SAMPLED : ft.NOT_RECORD
6699
+ decision: Ka(n) && this._accumulate(n) < this._upperBound ? ht.RECORD_AND_SAMPLED : ht.NOT_RECORD
6698
6700
  };
6699
6701
  }, t.prototype.toString = function() {
6700
6702
  return "TraceIdRatioBased{" + this._ratio + "}";
@@ -6710,7 +6712,7 @@ var Nn = (
6710
6712
  }()
6711
6713
  ), vd = pe.AlwaysOn, et = 1;
6712
6714
  function Es() {
6713
- var t = pt();
6715
+ var t = ft();
6714
6716
  return {
6715
6717
  sampler: Ts(t),
6716
6718
  forceFlushTimeoutMillis: 3e4,
@@ -6730,14 +6732,14 @@ function Es() {
6730
6732
  };
6731
6733
  }
6732
6734
  function Ts(t) {
6733
- switch (t === void 0 && (t = pt()), t.OTEL_TRACES_SAMPLER) {
6735
+ switch (t === void 0 && (t = ft()), t.OTEL_TRACES_SAMPLER) {
6734
6736
  case pe.AlwaysOn:
6735
- return new ct();
6737
+ return new lt();
6736
6738
  case pe.AlwaysOff:
6737
6739
  return new Nn();
6738
6740
  case pe.ParentBasedAlwaysOn:
6739
6741
  return new dr({
6740
- root: new ct()
6742
+ root: new lt()
6741
6743
  });
6742
6744
  case pe.ParentBasedAlwaysOff:
6743
6745
  return new dr({
@@ -6750,7 +6752,7 @@ function Ts(t) {
6750
6752
  root: new po(fo(t))
6751
6753
  });
6752
6754
  default:
6753
- return E.error('OTEL_TRACES_SAMPLER value "' + t.OTEL_TRACES_SAMPLER + " invalid, defaulting to " + vd + '".'), new ct();
6755
+ return E.error('OTEL_TRACES_SAMPLER value "' + t.OTEL_TRACES_SAMPLER + " invalid, defaulting to " + vd + '".'), new lt();
6754
6756
  }
6755
6757
  }
6756
6758
  function fo(t) {
@@ -6774,7 +6776,7 @@ var gd = (
6774
6776
  function() {
6775
6777
  function t(e, n) {
6776
6778
  this._exporter = e, this._isExporting = !1, this._finishedSpans = [], this._droppedSpansCount = 0;
6777
- var r = pt();
6779
+ var r = ft();
6778
6780
  this._maxExportBatchSize = typeof n?.maxExportBatchSize == "number" ? n.maxExportBatchSize : r.OTEL_BSP_MAX_EXPORT_BATCH_SIZE, this._maxQueueSize = typeof n?.maxQueueSize == "number" ? n.maxQueueSize : r.OTEL_BSP_MAX_QUEUE_SIZE, this._scheduledDelayMillis = typeof n?.scheduledDelayMillis == "number" ? n.scheduledDelayMillis : r.OTEL_BSP_SCHEDULE_DELAY, this._exportTimeoutMillis = typeof n?.exportTimeoutMillis == "number" ? n.exportTimeoutMillis : r.OTEL_BSP_EXPORT_TIMEOUT, this._shutdownOnce = new Gh(this._shutdown, this), this._maxExportBatchSize > this._maxQueueSize && (E.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"), this._maxExportBatchSize = this._maxQueueSize);
6779
6781
  }
6780
6782
  return t.prototype.forceFlush = function() {
@@ -7319,7 +7321,7 @@ var Dd = (
7319
7321
  var n;
7320
7322
  return (n = this.constructor._registeredExporters.get(e)) === null || n === void 0 ? void 0 : n();
7321
7323
  }, t.prototype._buildPropagatorFromEnv = function() {
7322
- var e = this, n = Array.from(new Set(pt().OTEL_PROPAGATORS)), r = n.map(function(o) {
7324
+ var e = this, n = Array.from(new Set(ft().OTEL_PROPAGATORS)), r = n.map(function(o) {
7323
7325
  var a = e._getPropagator(o);
7324
7326
  return a || E.warn('Propagator "' + o + '" requested through environment variable is unavailable.'), a;
7325
7327
  }), i = r.reduce(function(o, a) {
@@ -7330,7 +7332,7 @@ var Dd = (
7330
7332
  propagators: i
7331
7333
  });
7332
7334
  }, t.prototype._buildExporterFromEnv = function() {
7333
- var e = pt().OTEL_TRACES_EXPORTER;
7335
+ var e = ft().OTEL_TRACES_EXPORTER;
7334
7336
  if (!(e === "none" || e === "")) {
7335
7337
  var n = this._getSpanExporter(e);
7336
7338
  return n || E.error('Exporter "' + e + '" requested through environment variable is unavailable.'), n;
@@ -7457,7 +7459,7 @@ function V(t, e, n, r) {
7457
7459
  if (Re(n, a) && typeof n[a] == "number" && (o = n[a]), i !== void 0 && o !== void 0 && i >= o)
7458
7460
  return t.addEvent(e, i), t;
7459
7461
  }
7460
- function ht(t, e, n) {
7462
+ function dt(t, e, n) {
7461
7463
  n === void 0 && (n = !1), n || (V(t, S.FETCH_START, e), V(t, S.DOMAIN_LOOKUP_START, e), V(t, S.DOMAIN_LOOKUP_END, e), V(t, S.CONNECT_START, e), Re(e, "name") && e.name.startsWith("https:") && V(t, S.SECURE_CONNECTION_START, e), V(t, S.CONNECT_END, e), V(t, S.REQUEST_START, e), V(t, S.RESPONSE_START, e), V(t, S.RESPONSE_END, e));
7462
7464
  var r = e[S.ENCODED_BODY_SIZE];
7463
7465
  r !== void 0 && t.setAttribute(Hd, r);
@@ -7499,15 +7501,15 @@ function As(t, e, n, r, i, o) {
7499
7501
  };
7500
7502
  }
7501
7503
  function Xd(t, e, n) {
7502
- for (var r = be(n), i = be(Rt(e)), o = t[1], a, u = t.length, c = 1; c < u; c++) {
7503
- var s = t[c], l = be(Rt(s[S.FETCH_START])), p = be(Rt(s[S.RESPONSE_END])), f = r - p;
7504
+ for (var r = be(n), i = be(Pt(e)), o = t[1], a, u = t.length, c = 1; c < u; c++) {
7505
+ var s = t[c], l = be(Pt(s[S.FETCH_START])), p = be(Pt(s[S.RESPONSE_END])), f = r - p;
7504
7506
  l >= i && (!a || f < a) && (a = f, o = s);
7505
7507
  }
7506
7508
  return o;
7507
7509
  }
7508
7510
  function Kd(t, e, n, r, i, o) {
7509
7511
  var a = be(e), u = be(n), c = r.filter(function(s) {
7510
- var l = be(Rt(s[S.FETCH_START])), p = be(Rt(s[S.RESPONSE_END]));
7512
+ var l = be(Pt(s[S.FETCH_START])), p = be(Pt(s[S.RESPONSE_END]));
7511
7513
  return s.initiatorType.toLowerCase() === (o || "xmlhttprequest") && s.name === t && l >= a && p <= u;
7512
7514
  });
7513
7515
  return c.length > 0 && (c = c.filter(function(s) {
@@ -7661,10 +7663,10 @@ function _o(t, e, n) {
7661
7663
  return e(r, i), i;
7662
7664
  }
7663
7665
  }
7664
- var Pt;
7666
+ var It;
7665
7667
  (function(t) {
7666
7668
  t.DOCUMENT_LOAD = "documentLoad", t.DOCUMENT_FETCH = "documentFetch", t.RESOURCE_FETCH = "resourceFetch";
7667
- })(Pt || (Pt = {}));
7669
+ })(It || (It = {}));
7668
7670
  var ev = "0.44.0", tv = "@opentelemetry/instrumentation-document-load";
7669
7671
  const nv = "http.url", rv = "http.user_agent", mr = nv, iv = rv;
7670
7672
  var Cn;
@@ -7745,20 +7747,20 @@ var ov = function() {
7745
7747
  return a.getAttribute("name") === yn;
7746
7748
  }), i = ov(), o = r && r.content || "";
7747
7749
  C.with(re.extract(ke, { traceparent: o }), function() {
7748
- var a, u = n._startSpan(Pt.DOCUMENT_LOAD, S.FETCH_START, i);
7750
+ var a, u = n._startSpan(It.DOCUMENT_LOAD, S.FETCH_START, i);
7749
7751
  u && (C.with(R.setSpan(C.active(), u), function() {
7750
- var c = n._startSpan(Pt.DOCUMENT_FETCH, S.FETCH_START, i);
7752
+ var c = n._startSpan(It.DOCUMENT_FETCH, S.FETCH_START, i);
7751
7753
  c && (c.setAttribute(mr, location.href), C.with(R.setSpan(C.active(), c), function() {
7752
7754
  var s;
7753
- n.getConfig().ignoreNetworkEvents || ht(c, i), n._addCustomAttributesOnSpan(c, (s = n.getConfig().applyCustomAttributesOnSpan) === null || s === void 0 ? void 0 : s.documentFetch), n._endSpan(c, S.RESPONSE_END, i);
7755
+ n.getConfig().ignoreNetworkEvents || dt(c, i), n._addCustomAttributesOnSpan(c, (s = n.getConfig().applyCustomAttributesOnSpan) === null || s === void 0 ? void 0 : s.documentFetch), n._endSpan(c, S.RESPONSE_END, i);
7754
7756
  }));
7755
7757
  }), u.setAttribute(mr, location.href), u.setAttribute(iv, navigator.userAgent), n._addResourcesSpans(u), n.getConfig().ignoreNetworkEvents || (V(u, S.FETCH_START, i), V(u, S.UNLOAD_EVENT_START, i), V(u, S.UNLOAD_EVENT_END, i), V(u, S.DOM_INTERACTIVE, i), V(u, S.DOM_CONTENT_LOADED_EVENT_START, i), V(u, S.DOM_CONTENT_LOADED_EVENT_END, i), V(u, S.DOM_COMPLETE, i), V(u, S.LOAD_EVENT_START, i), V(u, S.LOAD_EVENT_END, i)), n.getConfig().ignorePerformancePaintEvents || av(u), n._addCustomAttributesOnSpan(u, (a = n.getConfig().applyCustomAttributesOnSpan) === null || a === void 0 ? void 0 : a.documentLoad), n._endSpan(u, S.LOAD_EVENT_END, i));
7756
7758
  });
7757
7759
  }, e.prototype._endSpan = function(n, r, i) {
7758
7760
  n && (Re(i, r) ? n.end(i[r]) : n.end());
7759
7761
  }, e.prototype._initResourceSpan = function(n, r) {
7760
- var i, o = this._startSpan(Pt.RESOURCE_FETCH, S.FETCH_START, n, r);
7761
- o && (o.setAttribute(mr, n.name), this.getConfig().ignoreNetworkEvents || ht(o, n), this._addCustomAttributesOnResourceSpan(o, n, (i = this.getConfig().applyCustomAttributesOnSpan) === null || i === void 0 ? void 0 : i.resourceFetch), this._endSpan(o, S.RESPONSE_END, n));
7762
+ var i, o = this._startSpan(It.RESOURCE_FETCH, S.FETCH_START, n, r);
7763
+ o && (o.setAttribute(mr, n.name), this.getConfig().ignoreNetworkEvents || dt(o, n), this._addCustomAttributesOnResourceSpan(o, n, (i = this.getConfig().applyCustomAttributesOnSpan) === null || i === void 0 ? void 0 : i.resourceFetch), this._endSpan(o, S.RESPONSE_END, n));
7762
7764
  }, e.prototype._startSpan = function(n, r, i, o) {
7763
7765
  if (Re(i, r) && typeof i[r] == "number") {
7764
7766
  var a = this.tracer.startSpan(n, {
@@ -8149,7 +8151,7 @@ var Eo = "0.57.2", Uv = /* @__PURE__ */ function() {
8149
8151
  var i = this.tracer.startSpan("CORS Preflight", {
8150
8152
  startTime: r[S.FETCH_START]
8151
8153
  }, R.setSpan(C.active(), n));
8152
- ht(i, r, this.getConfig().ignoreNetworkEvents), i.end(r[S.RESPONSE_END]);
8154
+ dt(i, r, this.getConfig().ignoreNetworkEvents), i.end(r[S.RESPONSE_END]);
8153
8155
  }, e.prototype._addFinalSpanAttributes = function(n, r) {
8154
8156
  var i = _e(r.url);
8155
8157
  n.setAttribute(Ov, r.status), r.statusText != null && n.setAttribute(Ln.HTTP_STATUS_TEXT, r.statusText), n.setAttribute(wv, i.host), n.setAttribute(Sv, i.protocol.replace(":", "")), typeof navigator < "u" && n.setAttribute(Av, navigator.userAgent);
@@ -8206,7 +8208,7 @@ var Eo = "0.57.2", Uv = /* @__PURE__ */ function() {
8206
8208
  var u = a.mainRequest;
8207
8209
  this._markResourceAsUsed(u);
8208
8210
  var c = a.corsPreFlightRequest;
8209
- c && (this._addChildSpan(n, c), this._markResourceAsUsed(c)), ht(n, u, this.getConfig().ignoreNetworkEvents);
8211
+ c && (this._addChildSpan(n, c), this._markResourceAsUsed(c)), dt(n, u, this.getConfig().ignoreNetworkEvents);
8210
8212
  }
8211
8213
  }, e.prototype._markResourceAsUsed = function(n) {
8212
8214
  this._usedResources.add(n);
@@ -8304,9 +8306,9 @@ var Eo = "0.57.2", Uv = /* @__PURE__ */ function() {
8304
8306
  this._diag.warn("this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()");
8305
8307
  return;
8306
8308
  }
8307
- hv(fetch) && (this._unwrap(Lt, "fetch"), this._diag.debug("removing previous patch for constructor")), this._wrap(Lt, "fetch", this._patchConstructor());
8309
+ hv(fetch) && (this._unwrap(Rt, "fetch"), this._diag.debug("removing previous patch for constructor")), this._wrap(Rt, "fetch", this._patchConstructor());
8308
8310
  }, e.prototype.disable = function() {
8309
- To || (this._unwrap(Lt, "fetch"), this._usedResources = /* @__PURE__ */ new WeakSet());
8311
+ To || (this._unwrap(Rt, "fetch"), this._usedResources = /* @__PURE__ */ new WeakSet());
8310
8312
  }, e;
8311
8313
  }(pv)
8312
8314
  ), ti = function() {
@@ -8527,7 +8529,7 @@ var fm = /* @__PURE__ */ function() {
8527
8529
  var o = i.tracer.startSpan("CORS Preflight", {
8528
8530
  startTime: r[S.FETCH_START]
8529
8531
  });
8530
- ht(o, r, i.getConfig().ignoreNetworkEvents), o.end(r[S.RESPONSE_END]);
8532
+ dt(o, r, i.getConfig().ignoreNetworkEvents), o.end(r[S.RESPONSE_END]);
8531
8533
  });
8532
8534
  }, e.prototype._addFinalSpanAttributes = function(n, r, i) {
8533
8535
  if (typeof i == "string") {
@@ -8565,7 +8567,7 @@ var fm = /* @__PURE__ */ function() {
8565
8567
  var s = c.mainRequest;
8566
8568
  this._markResourceAsUsed(s);
8567
8569
  var l = c.corsPreFlightRequest;
8568
- l && (this._addChildSpan(r, l), this._markResourceAsUsed(l)), ht(r, s, this.getConfig().ignoreNetworkEvents);
8570
+ l && (this._addChildSpan(r, l), this._markResourceAsUsed(l)), dt(r, s, this.getConfig().ignoreNetworkEvents);
8569
8571
  }
8570
8572
  }
8571
8573
  }, e.prototype._cleanPreviousSpanInformation = function(n) {
@@ -8749,7 +8751,7 @@ const Em = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8749
8751
  } catch {
8750
8752
  }
8751
8753
  return t;
8752
- }, xm = (t, e, n) => ut(void 0, null, function* () {
8754
+ }, xm = (t, e, n) => ct(void 0, null, function* () {
8753
8755
  let r;
8754
8756
  try {
8755
8757
  const i = t.clone().body;
@@ -10236,7 +10238,7 @@ var Ey = function(t, e) {
10236
10238
  }
10237
10239
  }
10238
10240
  return o;
10239
- }, St = (
10241
+ }, Ot = (
10240
10242
  /** @class */
10241
10243
  function() {
10242
10244
  function t(e, n, r, i) {
@@ -10257,13 +10259,13 @@ var Ey = function(t, e) {
10257
10259
  this.monotonic = e, this.kind = He.SUM;
10258
10260
  }
10259
10261
  return t.prototype.createAccumulation = function(e) {
10260
- return new St(e, this.monotonic);
10262
+ return new Ot(e, this.monotonic);
10261
10263
  }, t.prototype.merge = function(e, n) {
10262
10264
  var r = e.toPointValue(), i = n.toPointValue();
10263
- return n.reset ? new St(n.startTime, this.monotonic, i, n.reset) : new St(e.startTime, this.monotonic, r + i);
10265
+ return n.reset ? new Ot(n.startTime, this.monotonic, i, n.reset) : new Ot(e.startTime, this.monotonic, r + i);
10264
10266
  }, t.prototype.diff = function(e, n) {
10265
10267
  var r = e.toPointValue(), i = n.toPointValue();
10266
- return this.monotonic && r > i ? new St(n.startTime, this.monotonic, i, !0) : new St(n.startTime, this.monotonic, i - r);
10268
+ return this.monotonic && r > i ? new Ot(n.startTime, this.monotonic, i, !0) : new Ot(n.startTime, this.monotonic, i - r);
10267
10269
  }, t.prototype.toMetricData = function(e, n, r, i) {
10268
10270
  return {
10269
10271
  descriptor: e,
@@ -13130,7 +13132,7 @@ var T_ = /* @__PURE__ */ function() {
13130
13132
  }
13131
13133
  };
13132
13134
  function w_() {
13133
- var t = pt(), e = t.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE.trim().toLowerCase();
13135
+ var t = ft(), e = t.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE.trim().toLowerCase();
13134
13136
  return e === "cumulative" ? ai : e === "delta" ? ou : e === "lowmemory" ? au : (E.warn("OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE is set to '" + t.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE + "', but only 'cumulative' and 'delta' are allowed. Using default ('cumulative') instead."), ai);
13135
13137
  }
13136
13138
  function S_(t) {
@@ -13778,15 +13780,15 @@ const Pn = "highlight.record", $_ = "highlight.session_id", su = "launchdarkly.j
13778
13780
  propagateTraceHeaderCorsUrls: ea(
13779
13781
  t.tracingOrigins
13780
13782
  ),
13781
- applyCustomAttributesOnSpan: (M, G, $) => ut(void 0, null, function* () {
13783
+ applyCustomAttributesOnSpan: (M, G, $) => ct(void 0, null, function* () {
13782
13784
  var me, ue, W;
13783
13785
  if (!M.attributes)
13784
13786
  return;
13785
13787
  const Ye = M;
13786
13788
  if (Ye.attributes[Pn] === !1)
13787
13789
  return;
13788
- const yt = Ye.attributes["http.url"], h = (me = G.method) != null ? me : "GET";
13789
- if (M.updateName(Jo(yt, h, G.body)), !($ instanceof Response)) {
13790
+ const gt = Ye.attributes["http.url"], h = (me = G.method) != null ? me : "GET";
13791
+ if (M.updateName(Jo(gt, h, G.body)), !($ instanceof Response)) {
13790
13792
  M.setAttributes({
13791
13793
  "http.response.error": $.message,
13792
13794
  "http.response.status": $.status
@@ -14030,7 +14032,7 @@ const G_ = (t, e) => {
14030
14032
  (t) => requestAnimationFrame(
14031
14033
  (e) => requestAnimationFrame((n) => t(n - e))
14032
14034
  )
14033
- ), X_ = () => ut(void 0, null, function* () {
14035
+ ), X_ = () => ct(void 0, null, function* () {
14034
14036
  const t = [];
14035
14037
  for (let e = 0; e < z_; e++)
14036
14038
  t.push(yield q_());
@@ -14089,7 +14091,7 @@ const G_ = (t, e) => {
14089
14091
  clearInterval(o), cancelAnimationFrame(r);
14090
14092
  };
14091
14093
  };
14092
- var Ne, It, fu, In, ui, hu = -1, We = function(t) {
14094
+ var Ne, kt, fu, In, ui, hu = -1, We = function(t) {
14093
14095
  addEventListener("pageshow", function(e) {
14094
14096
  e.persisted && (hu = e.timeStamp, t(e));
14095
14097
  }, !0);
@@ -14101,7 +14103,7 @@ var Ne, It, fu, In, ui, hu = -1, We = function(t) {
14101
14103
  }, ae = function(t, e) {
14102
14104
  var n = Ri(), r = "navigate";
14103
14105
  return hu >= 0 ? r = "back-forward-cache" : n && (document.prerendering || Gn() > 0 ? r = "prerender" : document.wasDiscarded ? r = "restore" : n.type && (r = n.type.replace(/_/g, "-"))), { name: t, value: e === void 0 ? -1 : e, rating: "good", delta: 0, entries: [], id: "v3-".concat(Date.now(), "-").concat(Math.floor(8999999999999 * Math.random()) + 1e12), navigationType: r };
14104
- }, mt = function(t, e, n) {
14106
+ }, yt = function(t, e, n) {
14105
14107
  try {
14106
14108
  if (PerformanceObserver.supportedEntryTypes.includes(t)) {
14107
14109
  var r = new PerformanceObserver(function(i) {
@@ -14158,7 +14160,7 @@ var Ne, It, fu, In, ui, hu = -1, We = function(t) {
14158
14160
  }, !0) : t();
14159
14161
  }, ia = [1800, 3e3], du = function(t, e) {
14160
14162
  e = e || {}, Kt(function() {
14161
- var n, r = ki(), i = ae("FCP"), o = mt("paint", function(a) {
14163
+ var n, r = ki(), i = ae("FCP"), o = yt("paint", function(a) {
14162
14164
  a.forEach(function(u) {
14163
14165
  u.name === "first-contentful-paint" && (o.disconnect(), u.startTime < r.firstHiddenTime && (i.value = Math.max(u.startTime - Gn(), 0), i.entries.push(u), n(!0)));
14164
14166
  });
@@ -14178,7 +14180,7 @@ var Ne, It, fu, In, ui, hu = -1, We = function(t) {
14178
14180
  i && s.startTime - p.startTime < 1e3 && s.startTime - l.startTime < 5e3 ? (i += s.value, o.push(s)) : (i = s.value, o = [s]);
14179
14181
  }
14180
14182
  }), i > r.value && (r.value = i, r.entries = o, n());
14181
- }, u = mt("layout-shift", a);
14183
+ }, u = yt("layout-shift", a);
14182
14184
  u && (n = se(t, r, oa, e.reportAllChanges), zn(function() {
14183
14185
  a(u.takeRecords()), n(!0);
14184
14186
  }), We(function() {
@@ -14187,11 +14189,11 @@ var Ne, It, fu, In, ui, hu = -1, We = function(t) {
14187
14189
  });
14188
14190
  }), setTimeout(n, 0));
14189
14191
  }));
14190
- }, At = { passive: !0, capture: !0 }, Z_ = /* @__PURE__ */ new Date(), aa = function(t, e) {
14191
- Ne || (Ne = e, It = t, fu = /* @__PURE__ */ new Date(), mu(removeEventListener), vu());
14192
+ }, xt = { passive: !0, capture: !0 }, Z_ = /* @__PURE__ */ new Date(), aa = function(t, e) {
14193
+ Ne || (Ne = e, kt = t, fu = /* @__PURE__ */ new Date(), mu(removeEventListener), vu());
14192
14194
  }, vu = function() {
14193
- if (It >= 0 && It < fu - Z_) {
14194
- var t = { entryType: "first-input", name: Ne.type, target: Ne.target, cancelable: Ne.cancelable, startTime: Ne.timeStamp, processingStart: Ne.timeStamp + It };
14195
+ if (kt >= 0 && kt < fu - Z_) {
14196
+ var t = { entryType: "first-input", name: Ne.type, target: Ne.target, cancelable: Ne.cancelable, startTime: Ne.timeStamp, processingStart: Ne.timeStamp + kt };
14195
14197
  In.forEach(function(e) {
14196
14198
  e(t);
14197
14199
  }), In = [];
@@ -14205,14 +14207,14 @@ var Ne, It, fu, In, ui, hu = -1, We = function(t) {
14205
14207
  }, o = function() {
14206
14208
  a();
14207
14209
  }, a = function() {
14208
- removeEventListener("pointerup", i, At), removeEventListener("pointercancel", o, At);
14210
+ removeEventListener("pointerup", i, xt), removeEventListener("pointercancel", o, xt);
14209
14211
  };
14210
- addEventListener("pointerup", i, At), addEventListener("pointercancel", o, At);
14212
+ addEventListener("pointerup", i, xt), addEventListener("pointercancel", o, xt);
14211
14213
  }(e, t) : aa(e, t);
14212
14214
  }
14213
14215
  }, mu = function(t) {
14214
14216
  ["mousedown", "keydown", "touchstart", "pointerdown"].forEach(function(e) {
14215
- return t(e, eb, At);
14217
+ return t(e, eb, xt);
14216
14218
  });
14217
14219
  }, sa = [100, 300], tb = function(t, e) {
14218
14220
  e = e || {}, Kt(function() {
@@ -14220,12 +14222,12 @@ var Ne, It, fu, In, ui, hu = -1, We = function(t) {
14220
14222
  c.startTime < r.firstHiddenTime && (i.value = c.processingStart - c.startTime, i.entries.push(c), n(!0));
14221
14223
  }, a = function(c) {
14222
14224
  c.forEach(o);
14223
- }, u = mt("first-input", a);
14225
+ }, u = yt("first-input", a);
14224
14226
  n = se(t, i, sa, e.reportAllChanges), u && zn(Ii(function() {
14225
14227
  a(u.takeRecords()), u.disconnect();
14226
14228
  })), u && We(function() {
14227
14229
  var c;
14228
- i = ae("FID"), n = se(t, i, sa, e.reportAllChanges), In = [], It = -1, Ne = null, mu(addEventListener), c = o, In.push(c), vu();
14230
+ i = ae("FID"), n = se(t, i, sa, e.reportAllChanges), In = [], kt = -1, Ne = null, mu(addEventListener), c = o, In.push(c), vu();
14229
14231
  });
14230
14232
  });
14231
14233
  }, yu = 0, Cr = 1 / 0, cn = 0, nb = function(t) {
@@ -14235,7 +14237,7 @@ var Ne, It, fu, In, ui, hu = -1, We = function(t) {
14235
14237
  }, gu = function() {
14236
14238
  return ui ? yu : performance.interactionCount || 0;
14237
14239
  }, rb = function() {
14238
- "interactionCount" in performance || ui || (ui = mt("event", nb, { type: "event", buffered: !0, durationThreshold: 0 }));
14240
+ "interactionCount" in performance || ui || (ui = yt("event", nb, { type: "event", buffered: !0, durationThreshold: 0 }));
14239
14241
  }, ua = [200, 500], _u = 0, ca = function() {
14240
14242
  return gu() - _u;
14241
14243
  }, fe = [], Lr = {}, la = function(t) {
@@ -14266,7 +14268,7 @@ var Ne, It, fu, In, ui, hu = -1, We = function(t) {
14266
14268
  });
14267
14269
  var c, s = (c = Math.min(fe.length - 1, Math.floor(ca() / 50)), fe[c]);
14268
14270
  s && s.latency !== i.value && (i.value = s.latency, i.entries = s.entries, r());
14269
- }, a = mt("event", o, { durationThreshold: (n = e.durationThreshold) !== null && n !== void 0 ? n : 40 });
14271
+ }, a = yt("event", o, { durationThreshold: (n = e.durationThreshold) !== null && n !== void 0 ? n : 40 });
14270
14272
  r = se(t, i, ua, e.reportAllChanges), a && ("interactionId" in PerformanceEventTiming.prototype && a.observe({ type: "first-input", buffered: !0 }), zn(function() {
14271
14273
  o(a.takeRecords()), i.value < 0 && ca() > 0 && (i.value = 0, i.entries = []), r(!0);
14272
14274
  }), We(function() {
@@ -14278,7 +14280,7 @@ var Ne, It, fu, In, ui, hu = -1, We = function(t) {
14278
14280
  var n, r = ki(), i = ae("LCP"), o = function(c) {
14279
14281
  var s = c[c.length - 1];
14280
14282
  s && s.startTime < r.firstHiddenTime && (i.value = Math.max(s.startTime - Gn(), 0), i.entries = [s], n());
14281
- }, a = mt("largest-contentful-paint", o);
14283
+ }, a = yt("largest-contentful-paint", o);
14282
14284
  if (a) {
14283
14285
  n = se(t, i, pa, e.reportAllChanges);
14284
14286
  var u = Ii(function() {
@@ -14563,7 +14565,7 @@ class gb {
14563
14565
  k(this, "organizationID"), k(this, "_options"), k(this, "_integrations", []), k(this, "_gauges", /* @__PURE__ */ new Map()), k(this, "_counters", /* @__PURE__ */ new Map()), k(this, "_histograms", /* @__PURE__ */ new Map()), k(this, "_up_down_counters", /* @__PURE__ */ new Map()), k(this, "sampler", new vb()), k(this, "_started", !1), k(this, "providers"), k(this, "graphqlSDK"), this._options = e, this.organizationID = e.projectId;
14564
14566
  }
14565
14567
  start() {
14566
- return ut(this, null, function* () {
14568
+ return ct(this, null, function* () {
14567
14569
  var e, n, r, i, o, a, u, c, s, l, p, f, m, v, y, _;
14568
14570
  if (this._started)
14569
14571
  return;
@@ -14593,7 +14595,7 @@ class gb {
14593
14595
  });
14594
14596
  }
14595
14597
  stop() {
14596
- return ut(this, null, function* () {
14598
+ return ct(this, null, function* () {
14597
14599
  var e, n, r, i;
14598
14600
  this._started && (this._started = !1, yield Promise.all([
14599
14601
  (n = (e = this.providers) == null ? void 0 : e.tracerProvider) == null ? void 0 : n.shutdown(),
@@ -14602,7 +14604,7 @@ class gb {
14602
14604
  });
14603
14605
  }
14604
14606
  configureSampling() {
14605
- return ut(this, null, function* () {
14607
+ return ct(this, null, function* () {
14606
14608
  try {
14607
14609
  const e = yield this.graphqlSDK.GetSamplingConfig({
14608
14610
  organization_verbose_id: `${this.organizationID}`
@@ -14619,7 +14621,7 @@ class gb {
14619
14621
  }
14620
14622
  _recordLog(e, n, r, i) {
14621
14623
  this.startSpan(su, (o) => {
14622
- const a = typeof e == "string" ? e : Nt(e), u = i ? Nt(i.map((c) => c.toString())) : void 0;
14624
+ const a = typeof e == "string" ? e : Ct(e), u = i ? Ct(i.map((c) => c.toString())) : void 0;
14623
14625
  if (o?.addEvent("log", I({
14624
14626
  [uu]: n,
14625
14627
  [cu]: a,
@@ -14866,7 +14868,7 @@ class gb {
14866
14868
  ))
14867
14869
  return;
14868
14870
  const o = new Error(r.event);
14869
- o.stack = Nt(r.stackTrace.map((u) => u.toString()));
14871
+ o.stack = Ct(r.stackTrace.map((u) => u.toString()));
14870
14872
  let a = {};
14871
14873
  try {
14872
14874
  r.payload && (a = JSON.parse(r.payload));