@spotlightjs/overlay 2.14.0 → 2.14.1

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.
@@ -40,7 +40,7 @@ function Om(e) {
40
40
  });
41
41
  }), n;
42
42
  }
43
- var Cm = { exports: {} }, RE = {}, gm = { exports: {} }, Me = {};
43
+ var Cm = { exports: {} }, RE = {}, gm = { exports: {} }, De = {};
44
44
  /**
45
45
  * @license React
46
46
  * react.production.min.js
@@ -162,7 +162,7 @@ var Rn = { current: null }, Zc = { transition: null }, PL = { ReactCurrentDispat
162
162
  function wm() {
163
163
  throw Error("act(...) is not supported in production builds of React.");
164
164
  }
165
- Me.Children = { map: uc, forEach: function(e, t, n) {
165
+ De.Children = { map: uc, forEach: function(e, t, n) {
166
166
  uc(e, function() {
167
167
  t.apply(this, arguments);
168
168
  }, n);
@@ -179,15 +179,15 @@ Me.Children = { map: uc, forEach: function(e, t, n) {
179
179
  if (!FT(e)) throw Error("React.Children.only expected to receive a single React element child.");
180
180
  return e;
181
181
  } };
182
- Me.Component = ro;
183
- Me.Fragment = SL;
184
- Me.Profiler = mL;
185
- Me.PureComponent = wT;
186
- Me.StrictMode = RL;
187
- Me.Suspense = OL;
188
- Me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = PL;
189
- Me.act = wm;
190
- Me.cloneElement = function(e, t, n) {
182
+ De.Component = ro;
183
+ De.Fragment = SL;
184
+ De.Profiler = mL;
185
+ De.PureComponent = wT;
186
+ De.StrictMode = RL;
187
+ De.Suspense = OL;
188
+ De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = PL;
189
+ De.act = wm;
190
+ De.cloneElement = function(e, t, n) {
191
191
  if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
192
192
  var r = ym({}, e.props), s = e.key, i = e.ref, a = e._owner;
193
193
  if (t != null) {
@@ -203,28 +203,28 @@ Me.cloneElement = function(e, t, n) {
203
203
  }
204
204
  return { $$typeof: Dl, type: e.type, key: s, ref: i, props: r, _owner: a };
205
205
  };
206
- Me.createContext = function(e) {
206
+ De.createContext = function(e) {
207
207
  return e = { $$typeof: NL, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, e.Provider = { $$typeof: _L, _context: e }, e.Consumer = e;
208
208
  };
209
- Me.createElement = Dm;
210
- Me.createFactory = function(e) {
209
+ De.createElement = Dm;
210
+ De.createFactory = function(e) {
211
211
  var t = Dm.bind(null, e);
212
212
  return t.type = e, t;
213
213
  };
214
- Me.createRef = function() {
214
+ De.createRef = function() {
215
215
  return { current: null };
216
216
  };
217
- Me.forwardRef = function(e) {
217
+ De.forwardRef = function(e) {
218
218
  return { $$typeof: IL, render: e };
219
219
  };
220
- Me.isValidElement = FT;
221
- Me.lazy = function(e) {
220
+ De.isValidElement = FT;
221
+ De.lazy = function(e) {
222
222
  return { $$typeof: gL, _payload: { _status: -1, _result: e }, _init: bL };
223
223
  };
224
- Me.memo = function(e, t) {
224
+ De.memo = function(e, t) {
225
225
  return { $$typeof: CL, type: e, compare: t === void 0 ? null : t };
226
226
  };
227
- Me.startTransition = function(e) {
227
+ De.startTransition = function(e) {
228
228
  var t = Zc.transition;
229
229
  Zc.transition = {};
230
230
  try {
@@ -233,53 +233,53 @@ Me.startTransition = function(e) {
233
233
  Zc.transition = t;
234
234
  }
235
235
  };
236
- Me.unstable_act = wm;
237
- Me.useCallback = function(e, t) {
236
+ De.unstable_act = wm;
237
+ De.useCallback = function(e, t) {
238
238
  return Rn.current.useCallback(e, t);
239
239
  };
240
- Me.useContext = function(e) {
240
+ De.useContext = function(e) {
241
241
  return Rn.current.useContext(e);
242
242
  };
243
- Me.useDebugValue = function() {
243
+ De.useDebugValue = function() {
244
244
  };
245
- Me.useDeferredValue = function(e) {
245
+ De.useDeferredValue = function(e) {
246
246
  return Rn.current.useDeferredValue(e);
247
247
  };
248
- Me.useEffect = function(e, t) {
248
+ De.useEffect = function(e, t) {
249
249
  return Rn.current.useEffect(e, t);
250
250
  };
251
- Me.useId = function() {
251
+ De.useId = function() {
252
252
  return Rn.current.useId();
253
253
  };
254
- Me.useImperativeHandle = function(e, t, n) {
254
+ De.useImperativeHandle = function(e, t, n) {
255
255
  return Rn.current.useImperativeHandle(e, t, n);
256
256
  };
257
- Me.useInsertionEffect = function(e, t) {
257
+ De.useInsertionEffect = function(e, t) {
258
258
  return Rn.current.useInsertionEffect(e, t);
259
259
  };
260
- Me.useLayoutEffect = function(e, t) {
260
+ De.useLayoutEffect = function(e, t) {
261
261
  return Rn.current.useLayoutEffect(e, t);
262
262
  };
263
- Me.useMemo = function(e, t) {
263
+ De.useMemo = function(e, t) {
264
264
  return Rn.current.useMemo(e, t);
265
265
  };
266
- Me.useReducer = function(e, t, n) {
266
+ De.useReducer = function(e, t, n) {
267
267
  return Rn.current.useReducer(e, t, n);
268
268
  };
269
- Me.useRef = function(e) {
269
+ De.useRef = function(e) {
270
270
  return Rn.current.useRef(e);
271
271
  };
272
- Me.useState = function(e) {
272
+ De.useState = function(e) {
273
273
  return Rn.current.useState(e);
274
274
  };
275
- Me.useSyncExternalStore = function(e, t, n) {
275
+ De.useSyncExternalStore = function(e, t, n) {
276
276
  return Rn.current.useSyncExternalStore(e, t, n);
277
277
  };
278
- Me.useTransition = function() {
278
+ De.useTransition = function() {
279
279
  return Rn.current.useTransition();
280
280
  };
281
- Me.version = "18.3.1";
282
- gm.exports = Me;
281
+ De.version = "18.3.1";
282
+ gm.exports = De;
283
283
  var L = gm.exports;
284
284
  const xm = /* @__PURE__ */ ps(L), ML = /* @__PURE__ */ hL({
285
285
  __proto__: null,
@@ -7518,27 +7518,27 @@ let nI = tI, rI = tI;
7518
7518
  function p5() {
7519
7519
  nI = (...e) => ES.log.call(window, uS, ...e), rI = (...e) => ES.warn.call(window, uS, ...e);
7520
7520
  }
7521
- function we(...e) {
7521
+ function Pe(...e) {
7522
7522
  nI(...e);
7523
7523
  }
7524
7524
  function dS(...e) {
7525
7525
  rI(...e);
7526
7526
  }
7527
7527
  function T5(e, t, n) {
7528
- we("Connecting to sidecar at", e);
7528
+ Pe("Connecting to sidecar at", e);
7529
7529
  const r = new URL("/stream", e);
7530
7530
  r.searchParams.append("base64", "1");
7531
7531
  const s = new EventSource(r.href);
7532
7532
  for (const [i, a] of Object.entries(t))
7533
7533
  s.addEventListener(`${i}`, a);
7534
7534
  return s.addEventListener("open", () => {
7535
- n(!0), we("Sidecar connected.");
7535
+ n(!0), Pe("Sidecar connected.");
7536
7536
  }), s.addEventListener("error", (i) => {
7537
7537
  n(!1), console.error("Sidecar connection error:", i);
7538
7538
  }), () => {
7539
- we("Removing all content type listeners");
7539
+ Pe("Removing all content type listeners");
7540
7540
  for (const [i, a] of Object.entries(t))
7541
- s.removeEventListener(i, a), we("Removed listener for type", i);
7541
+ s.removeEventListener(i, a), Pe("Removed listener for type", i);
7542
7542
  };
7543
7543
  }
7544
7544
  function af(e) {
@@ -7580,7 +7580,7 @@ function h5({
7580
7580
  }
7581
7581
  return S;
7582
7582
  }), [u, E] = L.useState(!1), [h, A] = L.useState({ count: 0, severe: !1 }), [R, C] = L.useState(e);
7583
- we("App rerender", o, u, h, R);
7583
+ Pe("App rerender", o, u, h, R);
7584
7584
  const O = L.useMemo(() => {
7585
7585
  const S = /* @__PURE__ */ new Map();
7586
7586
  for (const w of n)
@@ -7592,7 +7592,7 @@ function h5({
7592
7592
  const P = /* @__PURE__ */ Object.create(null);
7593
7593
  for (const [w, B] of S.entries()) {
7594
7594
  const k = (Y) => {
7595
- we(`Received new ${w} event`);
7595
+ Pe(`Received new ${w} event`);
7596
7596
  for (const H of B) {
7597
7597
  const F = fS(w, Y, H);
7598
7598
  if (!F)
@@ -7604,7 +7604,7 @@ function h5({
7604
7604
  }));
7605
7605
  }
7606
7606
  };
7607
- we("Adding listener for", w), P[w] = k, P[`${w};base64`] = ({ data: Y }) => k({ data: af(Y) });
7607
+ Pe("Adding listener for", w), P[w] = k, P[`${w};base64`] = ({ data: Y }) => k({ data: af(Y) });
7608
7608
  }
7609
7609
  return P;
7610
7610
  }, [n]);
@@ -7616,7 +7616,7 @@ function h5({
7616
7616
  ({ contentType: S, data: P }) => {
7617
7617
  const w = S.split(";"), B = w[0], k = O[B];
7618
7618
  if (!k) {
7619
- we("Got event for unknown content type:", B);
7619
+ Pe("Got event for unknown content type:", B);
7620
7620
  return;
7621
7621
  }
7622
7622
  w[w.length - 1] === "base64" ? k({ data: af(P) }) : k({ data: P });
@@ -7644,16 +7644,16 @@ function h5({
7644
7644
  c((P) => ({ ...P, [S.name]: [] })), S.reset && S.reset();
7645
7645
  }, [n, r]), I = L.useCallback(
7646
7646
  (S) => {
7647
- we("Open"), C(!0), S.detail.path && m(S.detail.path);
7647
+ Pe("Open"), C(!0), S.detail.path && m(S.detail.path);
7648
7648
  },
7649
7649
  [m]
7650
7650
  ), p = L.useCallback(() => {
7651
- we("Close"), C(!1);
7651
+ Pe("Close"), C(!1);
7652
7652
  }, []), N = L.useCallback(() => {
7653
- we("Toggle"), C((S) => !S);
7653
+ Pe("Toggle"), C((S) => !S);
7654
7654
  }, []), g = L.useCallback(
7655
7655
  (S) => {
7656
- we("Navigate"), m(S.detail);
7656
+ Pe("Navigate"), m(S.detail);
7657
7657
  },
7658
7658
  [m]
7659
7659
  ), b = L.useCallback(
@@ -7662,8 +7662,8 @@ function h5({
7662
7662
  },
7663
7663
  [f]
7664
7664
  );
7665
- return $N("F12", ["ctrlKey"], N), L.useEffect(() => (we("useEffect: Adding event listeners"), d.addEventListener("open", I), d.addEventListener("close", p), d.addEventListener("navigate", g), d.addEventListener("clearEvents", T), d.addEventListener("event", b), () => {
7666
- we("useEffect[destructor]: Removing event listeners"), d.removeEventListener("open", I), d.removeEventListener("close", p), d.removeEventListener("navigate", g), d.removeEventListener("clearEvents", T), d.removeEventListener("event", b);
7665
+ return $N("F12", ["ctrlKey"], N), L.useEffect(() => (Pe("useEffect: Adding event listeners"), d.addEventListener("open", I), d.addEventListener("close", p), d.addEventListener("navigate", g), d.addEventListener("clearEvents", T), d.addEventListener("event", b), () => {
7666
+ Pe("useEffect[destructor]: Removing event listeners"), d.removeEventListener("open", I), d.removeEventListener("close", p), d.removeEventListener("navigate", g), d.removeEventListener("clearEvents", T), d.removeEventListener("event", b);
7667
7667
  }), [d, I, p, g, T, b]), L.useEffect(() => {
7668
7668
  R ? (d.dispatchEvent(new CustomEvent("opened")), document.body.classList.add(jp)) : (d.dispatchEvent(new CustomEvent("closed")), document.body.classList.remove(jp));
7669
7669
  }, [R, d]), L.useEffect(() => {
@@ -7740,7 +7740,7 @@ function m5(e) {
7740
7740
  s.children ?? (s.children = []), s.children.push(r);
7741
7741
  else if (r.parent_span_id) {
7742
7742
  const i = n.find((a) => !a.parent_span_id);
7743
- we(i ? `Creating orphan for parent (${r.parent_span_id}) for span (${r.span_id})` : `Root span (${r.parent_span_id}) for span (${r.span_id}). Creating orphan.`), s = {
7743
+ Pe(i ? `Creating orphan for parent (${r.parent_span_id}) for span (${r.span_id})` : `Root span (${r.parent_span_id}) for span (${r.span_id}). Creating orphan.`), s = {
7744
7744
  trace_id: r.trace_id,
7745
7745
  span_id: r.parent_span_id,
7746
7746
  parent_span_id: i ? i.span_id : null,
@@ -7852,12 +7852,12 @@ function I5(e, t, n, r, s, i) {
7852
7852
  }
7853
7853
  function Xp(e, t = e.spanTree, n = e, r) {
7854
7854
  var i, a, l, o, c;
7855
- if (e.profileGrafted) {
7856
- we(`Trace already has profile grafted ${e.trace_id}`);
7855
+ if (Pe(`Grafting profile spans into trace ${e.trace_id}`), e.profileGrafted) {
7856
+ Pe(`Trace already has profile grafted ${e.trace_id}`);
7857
7857
  return;
7858
7858
  }
7859
7859
  if (!r && (r = e.trace_id ? it.getProfileByTraceId(e.trace_id) : void 0, !r)) {
7860
- we(`Profile not found for trace ${e.trace_id}`);
7860
+ Pe(`Profile not found for trace ${e.trace_id}`);
7861
7861
  return;
7862
7862
  }
7863
7863
  let s = -1;
@@ -7952,52 +7952,52 @@ class C5 {
7952
7952
  this.eventIds.add(t.event_id), Wa(t) && await this.processStacktrace(t), t.timestamp = Lc(t.timestamp), t.start_timestamp && (t.start_timestamp = Lc(t.start_timestamp));
7953
7953
  const n = (r = t.contexts) == null ? void 0 : r.trace;
7954
7954
  if (this.events.push(t), n != null && n.trace_id) {
7955
- const s = this.tracesById.get(n.trace_id), i = t.start_timestamp ? t.start_timestamp : (/* @__PURE__ */ new Date()).getTime(), a = s ?? {
7955
+ const s = this.tracesById.get(n.trace_id), i = s ?? {
7956
7956
  ...n,
7957
7957
  trace_id: n.trace_id,
7958
7958
  spans: /* @__PURE__ */ new Map(),
7959
7959
  spanTree: [],
7960
7960
  transactions: [],
7961
7961
  errors: 0,
7962
+ start_timestamp: t.start_timestamp ?? t.timestamp,
7962
7963
  timestamp: t.timestamp,
7963
- start_timestamp: i,
7964
7964
  status: n.status,
7965
7965
  rootTransactionName: t.transaction || "(unknown transaction)",
7966
7966
  rootTransaction: null,
7967
7967
  profileGrafted: !1
7968
7968
  };
7969
- if (L5(t)) {
7970
- a.transactions.push(t), a.transactions.sort(wh);
7971
- const o = /* @__PURE__ */ new Map();
7972
- for (const c of a.transactions) {
7973
- const u = c.contexts.trace;
7974
- if (!(!u || !u.span_id || !u.trace_id) && (o.set(u.span_id, {
7975
- ...u,
7969
+ if (i.timestamp = Math.max(t.timestamp, i.timestamp), L5(t)) {
7970
+ i.transactions.push(t), i.transactions.sort(wh);
7971
+ const l = /* @__PURE__ */ new Map();
7972
+ for (const o of i.transactions) {
7973
+ const c = o.contexts.trace;
7974
+ if (!(!c || !c.span_id || !c.trace_id) && (l.set(c.span_id, {
7975
+ ...c,
7976
7976
  // TypeScript is not smart enough to compose the assertion above
7977
7977
  // with the spread syntax above, hence the need for these explicit
7978
7978
  // `span_id` and `trace_id` assignments
7979
- span_id: u.span_id,
7980
- trace_id: u.trace_id,
7981
- tags: c == null ? void 0 : c.tags,
7982
- start_timestamp: c.start_timestamp,
7983
- timestamp: c.timestamp,
7984
- description: n.description || c.transaction,
7985
- transaction: c
7986
- }), c.spans))
7987
- for (const E of c.spans)
7988
- o.set(E.span_id, {
7989
- ...E,
7990
- timestamp: Lc(E.timestamp),
7991
- start_timestamp: Lc(E.start_timestamp)
7979
+ span_id: c.span_id,
7980
+ trace_id: c.trace_id,
7981
+ tags: o == null ? void 0 : o.tags,
7982
+ start_timestamp: o.start_timestamp,
7983
+ timestamp: o.timestamp,
7984
+ description: n.description || o.transaction,
7985
+ transaction: o
7986
+ }), o.spans))
7987
+ for (const u of o.spans)
7988
+ l.set(u.span_id, {
7989
+ ...u,
7990
+ timestamp: Lc(u.timestamp),
7991
+ start_timestamp: Lc(u.start_timestamp)
7992
7992
  });
7993
7993
  }
7994
- a.spans = o, a.spanTree = m5(a.spans), Xp(a);
7995
- } else Wa(t) && (a.errors += 1);
7996
- a.start_timestamp = Math.min(i, a.start_timestamp), a.timestamp = Math.max(t.timestamp, a.timestamp), n.status !== "ok" && (a.status = n.status);
7997
- const l = a.transactions.filter((o) => !o.contexts.trace.parent_span_id);
7998
- l.length === 1 ? (a.rootTransaction = l[0], a.rootTransactionName = l[0].transaction || "(unknown transaction)") : l.length > 1 ? a.rootTransactionName = "(multiple root transactions)" : a.rootTransactionName = "(missing root transaction)", s || (this.traces.unshift(a), this.tracesById.set(a.trace_id, a));
7999
- for (const [o, c] of this.subscribers.values())
8000
- o === "trace" && c(a);
7994
+ i.spans = l, i.spanTree = m5(i.spans), Xp(i);
7995
+ } else Wa(t) && (i.errors += 1);
7996
+ n.status !== "ok" && (i.status = n.status);
7997
+ const a = i.transactions.filter((l) => !l.contexts.trace.parent_span_id);
7998
+ a.length === 1 ? (i.rootTransaction = a[0], i.rootTransactionName = a[0].transaction || "(unknown transaction)") : a.length > 1 ? i.rootTransactionName = "(multiple root transactions)" : i.rootTransactionName = "(missing root transaction)", s || (this.traces.unshift(i), this.tracesById.set(i.trace_id, i));
7999
+ for (const [l, o] of this.subscribers.values())
8000
+ l === "trace" && o(i);
8001
8001
  }
8002
8002
  if (g5(t)) {
8003
8003
  t.transactions || (t.transactions = t.transaction ? [t.transaction] : []);
@@ -8016,7 +8016,7 @@ class C5 {
8016
8016
  stacks: t.profile.stacks.map((l) => Array.from(l).reverse()),
8017
8017
  timestamp: a,
8018
8018
  active_thread_id: s.active_thread_id
8019
- }), i && Xp(i);
8019
+ }), i && i.start_timestamp < i.timestamp && Xp(i);
8020
8020
  }
8021
8021
  }
8022
8022
  for (const [s, i] of this.subscribers.values())
@@ -8091,7 +8091,7 @@ class C5 {
8091
8091
  var r;
8092
8092
  if (n.stacktrace) {
8093
8093
  if (n.stacktrace.frames.reverse(), (r = n.stacktrace.frames) != null && r.every((s) => s.post_context && s.pre_context && s.context_line)) {
8094
- we("Skipping contextlines request as we have full context for", n);
8094
+ Pe("Skipping contextlines request as we have full context for", n);
8095
8095
  return;
8096
8096
  }
8097
8097
  try {
@@ -9443,7 +9443,7 @@ function yI(e = ti(), t = ni(), n) {
9443
9443
  const vI = 0, bI = 1;
9444
9444
  let LS = !1;
9445
9445
  function T3(e) {
9446
- const { spanId: t, traceId: n } = e.spanContext(), { data: r, op: s, parent_span_id: i, status: a, origin: l } = Pe(e);
9446
+ const { spanId: t, traceId: n } = e.spanContext(), { data: r, op: s, parent_span_id: i, status: a, origin: l } = Me(e);
9447
9447
  return Pt({
9448
9448
  parent_span_id: i,
9449
9449
  span_id: t,
@@ -9455,7 +9455,7 @@ function T3(e) {
9455
9455
  });
9456
9456
  }
9457
9457
  function h3(e) {
9458
- const { spanId: t, traceId: n, isRemote: r } = e.spanContext(), s = r ? t : Pe(e).parent_span_id, i = r ? ni() : t;
9458
+ const { spanId: t, traceId: n, isRemote: r } = e.spanContext(), s = r ? t : Me(e).parent_span_id, i = r ? ni() : t;
9459
9459
  return Pt({
9460
9460
  parent_span_id: s,
9461
9461
  span_id: i,
@@ -9472,7 +9472,7 @@ function Mi(e) {
9472
9472
  function yS(e) {
9473
9473
  return e > 9999999999 ? e / 1e3 : e;
9474
9474
  }
9475
- function Pe(e) {
9475
+ function Me(e) {
9476
9476
  if (R3(e))
9477
9477
  return e.getSpanJSON();
9478
9478
  try {
@@ -9676,16 +9676,16 @@ function Zi(e) {
9676
9676
  const s = n.spanContext().traceState, i = s && s.get("sentry.dsc"), a = i && gI(i);
9677
9677
  if (a)
9678
9678
  return a;
9679
- const l = FI(e.spanContext().traceId, t), o = Pe(n), c = o.data || {}, u = c[II];
9679
+ const l = FI(e.spanContext().traceId, t), o = Me(n), c = o.data || {}, u = c[II];
9680
9680
  u != null && (l.sample_rate = `${u}`);
9681
9681
  const E = c[Sr], h = o.description;
9682
9682
  return E !== "url" && h && (l.transaction = h), si() && (l.sampled = String(qi(n))), t.emit("createDsc", l, n), l;
9683
9683
  }
9684
9684
  function I3(e) {
9685
9685
  if (!me) return;
9686
- const { description: t = "< unknown name >", op: n = "< unknown op >", parent_span_id: r } = Pe(e), { spanId: s } = e.spanContext(), i = qi(e), a = Mt(e), l = a === e, o = `[Tracing] Starting ${i ? "sampled" : "unsampled"} ${l ? "root " : ""}span`, c = [`op: ${n}`, `name: ${t}`, `ID: ${s}`];
9686
+ const { description: t = "< unknown name >", op: n = "< unknown op >", parent_span_id: r } = Me(e), { spanId: s } = e.spanContext(), i = qi(e), a = Mt(e), l = a === e, o = `[Tracing] Starting ${i ? "sampled" : "unsampled"} ${l ? "root " : ""}span`, c = [`op: ${n}`, `name: ${t}`, `ID: ${s}`];
9687
9687
  if (r && c.push(`parent ID: ${r}`), !l) {
9688
- const { op: u, description: E } = Pe(a);
9688
+ const { op: u, description: E } = Me(a);
9689
9689
  c.push(`root ID: ${a.spanContext().spanId}`), u && c.push(`root op: ${u}`), E && c.push(`root description: ${E}`);
9690
9690
  }
9691
9691
  q.log(`${o}
@@ -9694,7 +9694,7 @@ function I3(e) {
9694
9694
  }
9695
9695
  function O3(e) {
9696
9696
  if (!me) return;
9697
- const { description: t = "< unknown name >", op: n = "< unknown op >" } = Pe(e), { spanId: r } = e.spanContext(), i = Mt(e) === e, a = `[Tracing] Finishing "${n}" ${i ? "root " : ""}span "${t}" with ID ${r}`;
9697
+ const { description: t = "< unknown name >", op: n = "< unknown op >" } = Me(e), { spanId: r } = e.spanContext(), i = Mt(e) === e, a = `[Tracing] Finishing "${n}" ${i ? "root " : ""}span "${t}" with ID ${r}`;
9698
9698
  q.log(a);
9699
9699
  }
9700
9700
  function Qu(e) {
@@ -10042,9 +10042,9 @@ function X3(e, t) {
10042
10042
  ...n(r) && { trace: r },
10043
10043
  ...!!i && s && { dsn: Yl(s) }
10044
10044
  }, l = t && t.getOptions().beforeSendSpan, o = l ? (u) => {
10045
- const E = l(Pe(u));
10045
+ const E = l(Me(u));
10046
10046
  return E || DI(), E;
10047
- } : (u) => Pe(u), c = [];
10047
+ } : (u) => Me(u), c = [];
10048
10048
  for (const u of e) {
10049
10049
  const E = o(u);
10050
10050
  E && c.push(k3(E));
@@ -10232,7 +10232,7 @@ class jh {
10232
10232
  * Finish the transaction & prepare the event to send to Sentry.
10233
10233
  */
10234
10234
  _convertSpanToTransaction() {
10235
- if (!FS(Pe(this)))
10235
+ if (!FS(Me(this)))
10236
10236
  return;
10237
10237
  this._name || (me && q.warn("Transaction has no name, falling back to `<unlabeled transaction>`."), this._name = "<unlabeled transaction>");
10238
10238
  const { scope: t, isolationScope: n } = bS(this), s = (t || Je()).getClient() || ye();
@@ -10240,7 +10240,7 @@ class jh {
10240
10240
  me && q.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."), s && s.recordDroppedEvent("sample_rate", "transaction");
10241
10241
  return;
10242
10242
  }
10243
- const a = cu(this).filter((E) => E !== this && !z3(E)).map((E) => Pe(E)).filter(FS), l = this._attributes[Sr];
10243
+ const a = cu(this).filter((E) => E !== this && !z3(E)).map((E) => Me(E)).filter(FS), l = this._attributes[Sr];
10244
10244
  delete this._attributes[CS], a.forEach((E) => {
10245
10245
  E.data && delete E.data[CS];
10246
10246
  });
@@ -10437,7 +10437,7 @@ function jI(e, t = {}) {
10437
10437
  const [b, ...S] = g, P = b || Ht(), w = Mi(P), B = cu(C).filter((x) => x !== C);
10438
10438
  if (!B.length)
10439
10439
  return I(w), Reflect.apply(p, N, [w, ...S]);
10440
- const k = B.map((x) => Pe(x).timestamp).filter((x) => !!x), Y = k.length ? Math.max(...k) : void 0, H = Pe(C).start_timestamp, F = Math.min(
10440
+ const k = B.map((x) => Me(x).timestamp).filter((x) => !!x), Y = k.length ? Math.max(...k) : void 0, H = Me(C).start_timestamp, F = Math.min(
10441
10441
  H ? H + c / 1e3 : 1 / 0,
10442
10442
  Math.max(H || -1 / 0, Math.min(w, Y || 1 / 0))
10443
10443
  );
@@ -10470,7 +10470,7 @@ function jI(e, t = {}) {
10470
10470
  }
10471
10471
  function I(p) {
10472
10472
  r = !0, n.clear(), l.forEach((w) => w()), Nl(A, R);
10473
- const N = Pe(C), { start_timestamp: g } = N;
10473
+ const N = Me(C), { start_timestamp: g } = N;
10474
10474
  if (!g)
10475
10475
  return;
10476
10476
  (N.data || {})[Qp] || C.setAttribute(Qp, i), q.log(`[Tracing] Idle span "${N.op}" finished`);
@@ -10478,7 +10478,7 @@ function jI(e, t = {}) {
10478
10478
  let P = 0;
10479
10479
  S.forEach((w) => {
10480
10480
  w.isRecording() && (w.setStatus({ code: Ft, message: "cancelled" }), w.end(p), me && q.log("[Tracing] Cancelling span since span ended early", JSON.stringify(w, void 0, 2)));
10481
- const B = Pe(w), { timestamp: k = 0, start_timestamp: Y = 0 } = B, H = Y <= p, F = (c + o) / 1e3, x = k - Y <= F;
10481
+ const B = Me(w), { timestamp: k = 0, start_timestamp: Y = 0 } = B, H = Y <= p, F = (c + o) / 1e3, x = k - Y <= F;
10482
10482
  if (me) {
10483
10483
  const X = JSON.stringify(w, void 0, 2);
10484
10484
  H ? x || q.log("[Tracing] Discarding span since it finished after idle span final timeout", X) : q.log("[Tracing] Discarding span since it happened after idle span was finished", X);
@@ -10488,7 +10488,7 @@ function jI(e, t = {}) {
10488
10488
  }
10489
10489
  return l.push(
10490
10490
  h.on("spanStart", (p) => {
10491
- if (r || p === C || Pe(p).timestamp)
10491
+ if (r || p === C || Me(p).timestamp)
10492
10492
  return;
10493
10493
  cu(C).includes(p) && m(p.spanContext().spanId);
10494
10494
  })
@@ -10609,7 +10609,7 @@ function ub(e, t) {
10609
10609
  dynamicSamplingContext: Zi(t),
10610
10610
  ...e.sdkProcessingMetadata
10611
10611
  };
10612
- const n = Mt(t), r = Pe(n).description;
10612
+ const n = Mt(t), r = Me(n).description;
10613
10613
  r && !e.transaction && e.type === "transaction" && (e.transaction = r);
10614
10614
  }
10615
10615
  function Eb(e, t) {
@@ -12136,7 +12136,7 @@ const UP = () => ({
12136
12136
  processEvent: (e) => {
12137
12137
  var n, r;
12138
12138
  if (FP(e))
12139
- return we("Dropping transaction created from Spotlight interaction"), null;
12139
+ return Pe("Dropping transaction created from Spotlight interaction"), null;
12140
12140
  const t = (r = (n = e.contexts) == null ? void 0 : n.trace) == null ? void 0 : r.trace_id;
12141
12141
  return t && it.trackLocalTrace(t), e;
12142
12142
  },
@@ -13784,12 +13784,12 @@ var NO = { exports: {} };
13784
13784
  return $.apply(j, ae);
13785
13785
  }
13786
13786
  function Y($, j) {
13787
- return !!($ && $.length) && function(ae, Ee, De) {
13787
+ return !!($ && $.length) && function(ae, Ee, we) {
13788
13788
  if (Ee != Ee) return function(At, Jn, Fn, Gn) {
13789
13789
  for (var ur = At.length, Nt = Fn + -1; ++Nt < ur; ) if (Jn(At[Nt], Nt, At)) return Nt;
13790
13790
  return -1;
13791
- }(ae, H, De);
13792
- for (var ft = De - 1, xt = ae.length; ++ft < xt; ) if (ae[ft] === Ee) return ft;
13791
+ }(ae, H, we);
13792
+ for (var ft = we - 1, xt = ae.length; ++ft < xt; ) if (ae[ft] === Ee) return ft;
13793
13793
  return -1;
13794
13794
  }($, j, 0) > -1;
13795
13795
  }
@@ -13797,9 +13797,9 @@ var NO = { exports: {} };
13797
13797
  return $ != $;
13798
13798
  }
13799
13799
  function F($, j) {
13800
- for (var ae = -1, Ee = $.length, De = 0, ft = []; ++ae < Ee; ) {
13800
+ for (var ae = -1, Ee = $.length, we = 0, ft = []; ++ae < Ee; ) {
13801
13801
  var xt = $[ae];
13802
- xt !== j && xt !== u || ($[ae] = u, ft[De++] = ae);
13802
+ xt !== j && xt !== u || ($[ae] = u, ft[we++] = ae);
13803
13803
  }
13804
13804
  return ft;
13805
13805
  }
@@ -13854,11 +13854,11 @@ var NO = { exports: {} };
13854
13854
  case 7:
13855
13855
  return new $(j[0], j[1], j[2], j[3], j[4], j[5], j[6]);
13856
13856
  }
13857
- var ae, Ee = gt(ae = $.prototype) ? Yt(ae) : {}, De = $.apply(Ee, j);
13858
- return gt(De) ? De : Ee;
13857
+ var ae, Ee = gt(ae = $.prototype) ? Yt(ae) : {}, we = $.apply(Ee, j);
13858
+ return gt(we) ? we : Ee;
13859
13859
  };
13860
13860
  }
13861
- function xn($, j, ae, Ee, De, ft, xt, At, Jn, Fn) {
13861
+ function xn($, j, ae, Ee, we, ft, xt, At, Jn, Fn) {
13862
13862
  var Gn = 128 & j, ur = 1 & j, Nt = 2 & j, It = 24 & j, _n = 512 & j, Vr = Nt ? void 0 : dn($);
13863
13863
  return function qn() {
13864
13864
  for (var jt = arguments.length, rt = Array(jt), rn = jt; rn--; ) rt[rn] = arguments[rn];
@@ -13871,7 +13871,7 @@ var NO = { exports: {} };
13871
13871
  for (; ++sn < Lr; ) (Ns || sn < gr) && (Wr[Bn[sn]] = Rt[sn]);
13872
13872
  for (; yr--; ) Wr[On++] = Rt[sn++];
13873
13873
  return Wr;
13874
- }(rt, Ee, De, It)), ft && (rt = function(Rt, In, Bn, Qn) {
13874
+ }(rt, Ee, we, It)), ft && (rt = function(Rt, In, Bn, Qn) {
13875
13875
  for (var sn = -1, gr = Rt.length, Lr = -1, On = Bn.length, $n = -1, yr = In.length, Wr = Ke(gr - On, 0), Ns = Array(Wr + yr), Nd = !Qn; ++sn < Wr; ) Ns[sn] = Rt[sn];
13876
13876
  for (var ic = sn; ++$n < yr; ) Ns[ic + $n] = In[$n];
13877
13877
  for (; ++Lr < On; ) (Nd || sn < gr) && (Ns[ic + Bn[Lr]] = Rt[sn++]);
@@ -13894,29 +13894,29 @@ var NO = { exports: {} };
13894
13894
  }(rt, At) : _n && jt > 1 && rt.reverse(), Gn && Jn < jt && (rt.length = Jn), this && this !== B && this instanceof qn && (_s = Vr || dn(_s)), _s.apply(Zn, rt);
13895
13895
  };
13896
13896
  }
13897
- function ms($, j, ae, Ee, De, ft, xt, At, Jn, Fn) {
13897
+ function ms($, j, ae, Ee, we, ft, xt, At, Jn, Fn) {
13898
13898
  var Gn = 8 & j;
13899
13899
  j |= Gn ? E : 64, 4 & (j &= ~(Gn ? 64 : E)) || (j &= -4);
13900
- var ur = ae($, j, De, Gn ? ft : void 0, Gn ? xt : void 0, Gn ? void 0 : ft, Gn ? void 0 : xt, At, Jn, Fn);
13900
+ var ur = ae($, j, we, Gn ? ft : void 0, Gn ? xt : void 0, Gn ? void 0 : ft, Gn ? void 0 : xt, At, Jn, Fn);
13901
13901
  return ur.placeholder = Ee, Ve(ur, $, j);
13902
13902
  }
13903
- function Ti($, j, ae, Ee, De, ft, xt, At) {
13903
+ function Ti($, j, ae, Ee, we, ft, xt, At) {
13904
13904
  var Jn = 2 & j;
13905
13905
  if (!Jn && typeof $ != "function") throw new TypeError("Expected a function");
13906
13906
  var Fn = Ee ? Ee.length : 0;
13907
- if (Fn || (j &= -97, Ee = De = void 0), xt = xt === void 0 ? xt : Ke(Wt(xt), 0), At = At === void 0 ? At : Wt(At), Fn -= De ? De.length : 0, 64 & j) {
13908
- var Gn = Ee, ur = De;
13909
- Ee = De = void 0;
13907
+ if (Fn || (j &= -97, Ee = we = void 0), xt = xt === void 0 ? xt : Ke(Wt(xt), 0), At = At === void 0 ? At : Wt(At), Fn -= we ? we.length : 0, 64 & j) {
13908
+ var Gn = Ee, ur = we;
13909
+ Ee = we = void 0;
13910
13910
  }
13911
- var Nt = [$, j, ae, Ee, De, Gn, ur, ft, xt, At];
13912
- if ($ = Nt[0], j = Nt[1], ae = Nt[2], Ee = Nt[3], De = Nt[4], !(At = Nt[9] = Nt[9] == null ? Jn ? 0 : $.length : Ke(Nt[9] - Fn, 0)) && 24 & j && (j &= -25), j && j != 1) It = j == 8 || j == 16 ? function(_n, Vr, qn) {
13911
+ var Nt = [$, j, ae, Ee, we, Gn, ur, ft, xt, At];
13912
+ if ($ = Nt[0], j = Nt[1], ae = Nt[2], Ee = Nt[3], we = Nt[4], !(At = Nt[9] = Nt[9] == null ? Jn ? 0 : $.length : Ke(Nt[9] - Fn, 0)) && 24 & j && (j &= -25), j && j != 1) It = j == 8 || j == 16 ? function(_n, Vr, qn) {
13913
13913
  var jt = dn(_n);
13914
13914
  return function rt() {
13915
13915
  for (var rn = arguments.length, Nn = Array(rn), St = rn, Cr = Yr(rt); St--; ) Nn[St] = arguments[St];
13916
13916
  var Zn = rn < 3 && Nn[0] !== Cr && Nn[rn - 1] !== Cr ? [] : F(Nn, Cr);
13917
13917
  return (rn -= Zn.length) < qn ? ms(_n, Vr, xn, rt.placeholder, void 0, Nn, Zn, void 0, void 0, qn - rn) : k(this && this !== B && this instanceof rt ? jt : _n, this, Nn);
13918
13918
  };
13919
- }($, j, At) : j != E && j != 33 || De.length ? xn.apply(void 0, Nt) : function(_n, Vr, qn, jt) {
13919
+ }($, j, At) : j != E && j != 33 || we.length ? xn.apply(void 0, Nt) : function(_n, Vr, qn, jt) {
13920
13920
  var rt = 1 & Vr, rn = dn(_n);
13921
13921
  return function Nn() {
13922
13922
  for (var St = -1, Cr = arguments.length, Zn = -1, _s = jt.length, Rt = Array(_s + Cr), In = this && this !== B && this instanceof Nn ? rn : _n; ++Zn < _s; ) Rt[Zn] = jt[Zn];
@@ -13936,8 +13936,8 @@ var NO = { exports: {} };
13936
13936
  return $.placeholder;
13937
13937
  }
13938
13938
  function ne($, j) {
13939
- var ae = function(Ee, De) {
13940
- return Ee == null ? void 0 : Ee[De];
13939
+ var ae = function(Ee, we) {
13940
+ return Ee == null ? void 0 : Ee[we];
13941
13941
  }($, j);
13942
13942
  return Or(ae) ? ae : void 0;
13943
13943
  }
@@ -13955,8 +13955,8 @@ var NO = { exports: {} };
13955
13955
  return !!(j = j ?? 9007199254740991) && (typeof $ == "number" || b.test($)) && $ > -1 && $ % 1 == 0 && $ < j;
13956
13956
  }
13957
13957
  var Ve = Vt ? function($, j, ae) {
13958
- var Ee, De = j + "";
13959
- return Vt($, "toString", { configurable: !0, enumerable: !1, value: (Ee = nn(De, Ie(_e(De), ae)), function() {
13958
+ var Ee, we = j + "";
13959
+ return Vt($, "toString", { configurable: !0, enumerable: !1, value: (Ee = nn(we, Ie(_e(we), ae)), function() {
13960
13960
  return Ee;
13961
13961
  }) });
13962
13962
  } : function($) {
@@ -13964,7 +13964,7 @@ var NO = { exports: {} };
13964
13964
  };
13965
13965
  function Ie($, j) {
13966
13966
  return function(ae, Ee) {
13967
- for (var De = -1, ft = ae ? ae.length : 0; ++De < ft && Ee(ae[De], De, ae) !== !1; ) ;
13967
+ for (var we = -1, ft = ae ? ae.length : 0; ++we < ft && Ee(ae[we], we, ae) !== !1; ) ;
13968
13968
  }(R, function(ae) {
13969
13969
  var Ee = "_." + ae[0];
13970
13970
  j & ae[1] && !Y($, Ee) && $.push(Ee);
@@ -13981,10 +13981,10 @@ var NO = { exports: {} };
13981
13981
  function _o($) {
13982
13982
  return $ ? ($ = function(j) {
13983
13983
  if (typeof j == "number") return j;
13984
- if (function(De) {
13985
- return typeof De == "symbol" || /* @__PURE__ */ function(ft) {
13984
+ if (function(we) {
13985
+ return typeof we == "symbol" || /* @__PURE__ */ function(ft) {
13986
13986
  return !!ft && typeof ft == "object";
13987
- }(De) && Ge.call(De) == "[object Symbol]";
13987
+ }(we) && Ge.call(we) == "[object Symbol]";
13988
13988
  }(j)) return A;
13989
13989
  if (gt(j)) {
13990
13990
  var ae = typeof j.valueOf == "function" ? j.valueOf() : j;
@@ -14550,7 +14550,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14550
14550
  var v = this.props;
14551
14551
  return p().createElement("div", ne(v.theme, "integer"), p().createElement(_e, Object.assign({ type_name: "int" }, v)), this.props.value);
14552
14552
  } }]);
14553
- }(p().PureComponent), De = function(D) {
14553
+ }(p().PureComponent), we = function(D) {
14554
14554
  function y() {
14555
14555
  return h(this, y), f(this, y, arguments);
14556
14556
  }
@@ -14884,7 +14884,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14884
14884
  case "date":
14885
14885
  return p().createElement(Oe, Object.assign({ value: U.value }, G));
14886
14886
  case "regexp":
14887
- return p().createElement(De, Object.assign({ value: U.value }, G));
14887
+ return p().createElement(we, Object.assign({ value: U.value }, G));
14888
14888
  default:
14889
14889
  return p().createElement("div", { className: "object-value" }, JSON.stringify(U.value));
14890
14890
  }
@@ -15606,14 +15606,14 @@ function ff(e) {
15606
15606
  try {
15607
15607
  return JSON.parse(new TextDecoder().decode(e));
15608
15608
  } catch (t) {
15609
- return we(t), {};
15609
+ return Pe(t), {};
15610
15610
  }
15611
15611
  }
15612
15612
  function WM(e) {
15613
15613
  try {
15614
15614
  return new TextDecoder().decode(e);
15615
15615
  } catch (t) {
15616
- return we(t), null;
15616
+ return Pe(t), null;
15617
15617
  }
15618
15618
  }
15619
15619
  function LO(e) {
@@ -17472,7 +17472,7 @@ function Sf(e) {
17472
17472
  return typeof e == "number" && isFinite(e);
17473
17473
  }
17474
17474
  function fs(e, t, n, { ...r }) {
17475
- const s = Pe(e).start_timestamp;
17475
+ const s = Me(e).start_timestamp;
17476
17476
  return s && s > t && typeof e.updateStartTime == "function" && e.updateStartTime(t), VI(e, () => {
17477
17477
  const i = Vl({
17478
17478
  startTime: t,
@@ -17539,7 +17539,7 @@ function RD() {
17539
17539
  return;
17540
17540
  const l = a.on("startNavigationSpan", () => {
17541
17541
  s(), l && l();
17542
- }), o = wt(), c = o && Mt(o), u = c && Pe(c);
17542
+ }), o = wt(), c = o && Mt(o), u = c && Me(c);
17543
17543
  u && u.op === "pageload" && (n = c.spanContext().spanId);
17544
17544
  }, 0);
17545
17545
  }
@@ -17588,7 +17588,7 @@ function OD() {
17588
17588
  const t = wt();
17589
17589
  if (!t)
17590
17590
  return;
17591
- const { op: n, start_timestamp: r } = Pe(t);
17591
+ const { op: n, start_timestamp: r } = Me(t);
17592
17592
  for (const s of e) {
17593
17593
  const i = _t(en + s.startTime), a = _t(s.duration);
17594
17594
  n === "navigation" && r && i < r || fs(t, i, i + a, {
@@ -17608,7 +17608,7 @@ function CD() {
17608
17608
  for (const r of t.getEntries()) {
17609
17609
  if (!r.scripts[0])
17610
17610
  continue;
17611
- const s = _t(en + r.startTime), { start_timestamp: i, op: a } = Pe(n);
17611
+ const s = _t(en + r.startTime), { start_timestamp: i, op: a } = Me(n);
17612
17612
  if (a === "navigation" && i && s < i)
17613
17613
  continue;
17614
17614
  const l = _t(r.duration), o = {
@@ -17671,7 +17671,7 @@ function PD(e, t) {
17671
17671
  const n = nA();
17672
17672
  if (!n || !n.getEntries || !en)
17673
17673
  return;
17674
- const r = _t(en), s = n.getEntries(), { op: i, start_timestamp: a } = Pe(e);
17674
+ const r = _t(en), s = n.getEntries(), { op: i, start_timestamp: a } = Me(e);
17675
17675
  if (s.slice(fR).forEach((l) => {
17676
17676
  const o = _t(l.startTime), c = _t(
17677
17677
  // Inexplicably, Chrome sometimes emits a negative duration. We need to work around this.
@@ -18048,7 +18048,7 @@ function JD() {
18048
18048
  const t = e.entries.find((R) => R.duration === e.value && AR[R.name]);
18049
18049
  if (!t)
18050
18050
  return;
18051
- const { interactionId: n } = t, r = AR[t.name], s = _t(en + t.startTime), i = _t(e.value), a = wt(), l = a ? Mt(a) : void 0, c = (n != null ? fu.get(n) : void 0) || l, u = c ? Pe(c).description : Je().getScopeData().transactionName, E = Es(t.target), h = Pt({
18051
+ const { interactionId: n } = t, r = AR[t.name], s = _t(en + t.startTime), i = _t(e.value), a = wt(), l = a ? Mt(a) : void 0, c = (n != null ? fu.get(n) : void 0) || l, u = c ? Me(c).description : Je().getScopeData().transactionName, E = Es(t.target), h = Pt({
18052
18052
  [Dt]: "auto.http.browser.inp",
18053
18053
  [ri]: `ui.interaction.${r}`,
18054
18054
  [Yh]: t.duration
@@ -23597,9 +23597,9 @@ class Ps {
23597
23597
  * This is only available if performance is enabled, and if an instrumented router is used.
23598
23598
  */
23599
23599
  getCurrentRoute() {
23600
- const t = this.lastActiveSpan || wt(), n = t && Mt(t), s = (n && Pe(n).data || {})[Sr];
23600
+ const t = this.lastActiveSpan || wt(), n = t && Mt(t), s = (n && Me(n).data || {})[Sr];
23601
23601
  if (!(!n || !s || !["route", "custom"].includes(s)))
23602
- return Pe(n).description;
23602
+ return Me(n).description;
23603
23603
  }
23604
23604
  /**
23605
23605
  * Initialize and start all listeners to varying events (DOM,
@@ -24206,7 +24206,7 @@ function O7(e) {
24206
24206
  return e.entryType === "resource" && "initiatorType" in e && typeof e.nextHopProtocol == "string" && (e.initiatorType === "fetch" || e.initiatorType === "xmlhttprequest");
24207
24207
  }
24208
24208
  function KR(e) {
24209
- const { url: t } = Pe(e).data || {};
24209
+ const { url: t } = Me(e).data || {};
24210
24210
  if (!t || typeof t != "string")
24211
24211
  return;
24212
24212
  const n = qa("resource", ({ entries: r }) => {
@@ -24321,7 +24321,7 @@ function P7() {
24321
24321
  return;
24322
24322
  const t = Mt(e);
24323
24323
  if (ce.document.hidden && t) {
24324
- const n = "cancelled", { op: r, status: s } = Pe(t);
24324
+ const n = "cancelled", { op: r, status: s } = Me(t);
24325
24325
  Be && q.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`), s || t.setStatus({ code: Ft, message: n }), t.setAttribute("sentry.cancellation_reason", "document.hidden"), t.end();
24326
24326
  }
24327
24327
  }) : Be && q.warn("[Tracing] Could not set up background tab detection due to lack of global document");
@@ -24389,7 +24389,7 @@ const M7 = "BrowserTracing", D7 = {
24389
24389
  afterAllSetup(I) {
24390
24390
  let p, N = ce.location && ce.location.href;
24391
24391
  function g() {
24392
- p && !Pe(p).timestamp && (Be && q.log(`[Tracing] Finishing current active span with op: ${Pe(p).op}`), p.end());
24392
+ p && !Me(p).timestamp && (Be && q.log(`[Tracing] Finishing current active span with op: ${Me(p).op}`), p.end());
24393
24393
  }
24394
24394
  I.on("startNavigationSpan", (b) => {
24395
24395
  ye() === I && (g(), p = T(I, {
@@ -24406,7 +24406,7 @@ const M7 = "BrowserTracing", D7 = {
24406
24406
  ...b
24407
24407
  });
24408
24408
  }), I.on("spanEnd", (b) => {
24409
- const S = Pe(b).op;
24409
+ const S = Me(b).op;
24410
24410
  if (b !== Mt(b) || S !== "navigation" && S !== "pageload")
24411
24411
  return;
24412
24412
  const P = Je(), w = P.getPropagationContext();
@@ -24449,12 +24449,12 @@ const M7 = "BrowserTracing", D7 = {
24449
24449
  function mA(e, t, n) {
24450
24450
  e.emit("startPageLoadSpan", t, n), Je().setTransactionName(t.name);
24451
24451
  const r = wt();
24452
- return (r && Pe(r).op) === "pageload" ? r : void 0;
24452
+ return (r && Me(r).op) === "pageload" ? r : void 0;
24453
24453
  }
24454
24454
  function x7(e, t) {
24455
24455
  Ir().setPropagationContext({ traceId: ti() }), Je().setPropagationContext({ traceId: ti() }), e.emit("startNavigationSpan", t), Je().setTransactionName(t.name);
24456
24456
  const n = wt();
24457
- return (n && Pe(n).op) === "navigation" ? n : void 0;
24457
+ return (n && Me(n).op) === "navigation" ? n : void 0;
24458
24458
  }
24459
24459
  function zR(e) {
24460
24460
  const t = k5(`meta[name=${e}]`);
@@ -24465,7 +24465,7 @@ function U7(e, t, n, r) {
24465
24465
  const i = () => {
24466
24466
  const a = "ui.action.click", l = wt(), o = l && Mt(l);
24467
24467
  if (o) {
24468
- const c = Pe(o).op;
24468
+ const c = Me(o).op;
24469
24469
  if (["navigation", "pageload"].includes(c)) {
24470
24470
  Be && q.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`);
24471
24471
  return;
@@ -24638,7 +24638,7 @@ function q7(e, t, n, r) {
24638
24638
  };
24639
24639
  }
24640
24640
  function eg(e) {
24641
- return Pe(e).op === "pageload";
24641
+ return Me(e).op === "pageload";
24642
24642
  }
24643
24643
  function Z7(e) {
24644
24644
  let t, n = 0;
@@ -24777,7 +24777,7 @@ function QR(e) {
24777
24777
  const n = sU();
24778
24778
  if (!n)
24779
24779
  return;
24780
- Be && q.log(`[Profiling] started profiling span: ${Pe(e).description}`);
24780
+ Be && q.log(`[Profiling] started profiling span: ${Me(e).description}`);
24781
24781
  const r = Sn();
24782
24782
  Je().setContext("profile", {
24783
24783
  profile_id: r,
@@ -24786,9 +24786,9 @@ function QR(e) {
24786
24786
  async function s() {
24787
24787
  if (e && n)
24788
24788
  return n.stop().then((o) => {
24789
- if (i && (ce.clearTimeout(i), i = void 0), Be && q.log(`[Profiling] stopped profiling of span: ${Pe(e).description}`), !o) {
24789
+ if (i && (ce.clearTimeout(i), i = void 0), Be && q.log(`[Profiling] stopped profiling of span: ${Me(e).description}`), !o) {
24790
24790
  Be && q.log(
24791
- `[Profiling] profiler returned null profile for: ${Pe(e).description}`,
24791
+ `[Profiling] profiler returned null profile for: ${Me(e).description}`,
24792
24792
  "this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started"
24793
24793
  );
24794
24794
  return;
@@ -24799,7 +24799,7 @@ function QR(e) {
24799
24799
  });
24800
24800
  }
24801
24801
  let i = ce.setTimeout(() => {
24802
- Be && q.log("[Profiling] max profile duration elapsed, stopping profiling for:", Pe(e).description), s();
24802
+ Be && q.log("[Profiling] max profile duration elapsed, stopping profiling for:", Me(e).description), s();
24803
24803
  }, ng);
24804
24804
  const a = e.end.bind(e);
24805
24805
  function l() {
@@ -36226,11 +36226,11 @@ function SB(e = {}) {
36226
36226
  setup: ({ open: t, sidecarUrl: n }) => {
36227
36227
  e.retries == null && (e.retries = 10);
36228
36228
  let r;
36229
- n && (r = iI(n, "/stream"), it.setSidecarUrl(r)), we("Setting up Sentry integration for Spotlight"), Og(e, r && new URL("/stream", r).href), e.openLastError && it.subscribe("event", (i) => {
36229
+ n && (r = iI(n, "/stream"), it.setSidecarUrl(r)), Pe("Setting up Sentry integration for Spotlight"), Og(e, r && new URL("/stream", r).href), e.openLastError && it.subscribe("event", (i) => {
36230
36230
  i.exception && setTimeout(() => t(`/errors/${i.event_id}`), 0);
36231
36231
  });
36232
36232
  const s = (i) => {
36233
- we("Sentry Event", i.detail.event_id), i.detail.event && it.pushEvent(i.detail.event).then(() => t(`/errors/${i.detail.event.event_id}`));
36233
+ Pe("Sentry Event", i.detail.event_id), i.detail.event && it.pushEvent(i.detail.event).then(() => t(`/errors/${i.detail.event.event_id}`));
36234
36234
  };
36235
36235
  return FE("sentry:showError", s), () => {
36236
36236
  Qv("sentry:showError", s);
@@ -36288,7 +36288,7 @@ function mB(e) {
36288
36288
  try {
36289
36289
  c = ff(o), a.type && (c.type = a.type);
36290
36290
  } catch (u) {
36291
- c = o, we(u);
36291
+ c = o, Pe(u);
36292
36292
  }
36293
36293
  s.push([a, c]);
36294
36294
  }
@@ -36303,35 +36303,35 @@ function Og(e, t) {
36303
36303
  return;
36304
36304
  const n = window.__SENTRY__, r = n && _B(n);
36305
36305
  if (!r) {
36306
- we("Couldn't find a Sentry SDK client. Make sure you're using a Sentry SDK with version >=7.99.0 or 8.x"), e.retries && (we(`Will retry ${e.retries} more time(s) at 100ms intervals...`), e.retries--, setTimeout(() => {
36306
+ Pe("Couldn't find a Sentry SDK client. Make sure you're using a Sentry SDK with version >=7.99.0 or 8.x"), e.retries && (Pe(`Will retry ${e.retries} more time(s) at 100ms intervals...`), e.retries--, setTimeout(() => {
36307
36307
  Og(e, t);
36308
36308
  }, 500));
36309
36309
  return;
36310
36310
  }
36311
36311
  if (!r.getDsn()) {
36312
- we("Sentry SDK doesn't have a valid DSN. Enabling SDK integrations for just Spotlight.");
36312
+ Pe("Sentry SDK doesn't have a valid DSN. Enabling SDK integrations for just Spotlight.");
36313
36313
  try {
36314
36314
  const s = r.getOptions().integrations;
36315
36315
  for (const i of s)
36316
36316
  r.addIntegration(i);
36317
36317
  } catch (s) {
36318
- dS("Failed to enable all SDK integrations for Spotlight", s), we("Please open an issue with the error at: https://github.com/getsentry/spotlight/issues/new/choose");
36318
+ dS("Failed to enable all SDK integrations for Spotlight", s), Pe("Please open an issue with the error at: https://github.com/getsentry/spotlight/issues/new/choose");
36319
36319
  }
36320
36320
  }
36321
36321
  r._dsn = void 0, r._options || (r._options = {}), r._options.tracesSampler = () => 1, r._options.sampleRate = 1;
36322
36322
  try {
36323
36323
  const s = Object.keys(r._integrations).find((i) => /spotlight/i.test(i));
36324
36324
  if (s) {
36325
- we(
36325
+ Pe(
36326
36326
  `Skipping adding integration as there's already a Spotlight integration enabled in Sentry SDK: ${s}`
36327
36327
  );
36328
36328
  return;
36329
36329
  }
36330
36330
  r.addIntegration(UP()), r.addIntegration(rg({ sidecarUrl: t }));
36331
36331
  } catch (s) {
36332
- dS("Failed to add Spotlight integration to Sentry", s), we("Please open an issue with the error at: https://github.com/getsentry/spotlight/issues/new/choose");
36332
+ dS("Failed to add Spotlight integration to Sentry", s), Pe("Please open an issue with the error at: https://github.com/getsentry/spotlight/issues/new/choose");
36333
36333
  }
36334
- we("Added Spotlight integration to Sentry SDK");
36334
+ Pe("Added Spotlight integration to Sentry SDK");
36335
36335
  }
36336
36336
  function _B(e) {
36337
36337
  var t, n, r;
@@ -36415,7 +36415,7 @@ function gB(e, t = {}) {
36415
36415
  transport: V7(sA),
36416
36416
  dsn: "https://51bcd92dba1128934afd1c5726c84442@o1.ingest.us.sentry.io/4508404727283713",
36417
36417
  environment: "production",
36418
- release: "spotlight@2.14.0",
36418
+ release: "spotlight@2.14.1",
36419
36419
  integrations: i,
36420
36420
  tracesSampleRate: 1,
36421
36421
  tracePropagationTargets: [/^\//, document.location.origin],
@@ -41401,7 +41401,7 @@ function ZH() {
41401
41401
  var u;
41402
41402
  if (tL) {
41403
41403
  if (!(fn != null && fn.BUILDER_HYDRATION_OVERLAY)) {
41404
- we("No hydration error found. Make sure you are using @builder.io/react-hydration-overlay");
41404
+ Pe("No hydration error found. Make sure you are using @builder.io/react-hydration-overlay");
41405
41405
  return;
41406
41406
  }
41407
41407
  const E = (u = document.getElementById("sentry-spotlight-root")) == null ? void 0 : u.shadowRoot;
@@ -41548,7 +41548,7 @@ async function cY(e = {}) {
41548
41548
  }))) || [];
41549
41549
  }
41550
41550
  ), b = c || (g.length ? `/${g[0].id}` : "/no-tabs");
41551
- we("Starting from", b), h && (u || document.location.hash.startsWith("#spotlight")) && gB(b, { debug: C }), LT.createRoot(p).render(
41551
+ Pe("Starting from", b), h && (u || document.location.hash.startsWith("#spotlight")) && gB(b, { debug: C }), LT.createRoot(p).render(
41552
41552
  // <React.StrictMode>
41553
41553
  /* @__PURE__ */ _.jsx(Dv, { initialEntries: [b], children: /* @__PURE__ */ _.jsx(cM, { context: f, children: /* @__PURE__ */ _.jsx(
41554
41554
  h5,
@@ -41567,10 +41567,10 @@ async function cY(e = {}) {
41567
41567
  );
41568
41568
  function S() {
41569
41569
  if (Im()) {
41570
- we("Spotlight already injected, bailing.");
41570
+ Pe("Spotlight already injected, bailing.");
41571
41571
  return;
41572
41572
  }
41573
- we("Injecting into application");
41573
+ Pe("Injecting into application");
41574
41574
  const w = new CSSStyleSheet();
41575
41575
  w.replaceSync(`body.${jp} { overflow: hidden!important; }`), document.adoptedStyleSheets = [...document.adoptedStyleSheets, w], document.body.append(T);
41576
41576
  }