@embedreach/components 0.3.19 → 0.3.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import React__default, { createContext, Component, useContext, useEffect, useReducer, useMemo, useRef, forwardRef, createElement, useCallback, useState, lazy, Suspense, useId as useId$5, useInsertionEffect as useInsertionEffect$2, Children, isValidElement, useLayoutEffect, Fragment as Fragment$2, useImperativeHandle, useDebugValue, createRef, memo as memo$2, version as version$1 } from "react";
2
+ import React__default, { createContext, Component, useContext, useEffect, useReducer, useMemo, useRef, forwardRef, createElement, useState, useCallback, lazy, Suspense, useId as useId$5, useInsertionEffect as useInsertionEffect$2, Children, isValidElement, useLayoutEffect, Fragment as Fragment$2, useImperativeHandle, useDebugValue, createRef, memo as memo$2, version as version$1 } from "react";
3
3
  import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
4
4
  import * as ReactDOM from "react-dom";
5
5
  import ReactDOM__default, { flushSync } from "react-dom";
@@ -3037,9 +3037,10 @@ function useToast() {
3037
3037
  }
3038
3038
  const CUSTOM_FIELDS_CATEGORY_NAME = "Custom Fields";
3039
3039
  const ADDITIONAL_FIELDS_CATEGORY_NAME = "Additional Fields";
3040
- const formatMergeFieldsCategory = (mergeFields, customMergeFieldsCategoryName, additionalMergeFieldsCategoryName) => {
3040
+ const BASIC_FIELDS_CATEGORY_NAME = "Basic Fields";
3041
+ const formatMergeFieldsCategory = (mergeFields, customMergeFieldsCategoryName, additionalMergeFieldsCategoryName, basicMergeFieldsCategoryName) => {
3041
3042
  return mergeFields.mergeFields.map((mergeField) => ({
3042
- category: mergeField.category === CUSTOM_FIELDS_CATEGORY_NAME ? customMergeFieldsCategoryName : mergeField.category === ADDITIONAL_FIELDS_CATEGORY_NAME ? additionalMergeFieldsCategoryName : mergeField.category,
3043
+ category: mergeField.category === CUSTOM_FIELDS_CATEGORY_NAME ? customMergeFieldsCategoryName : mergeField.category === BASIC_FIELDS_CATEGORY_NAME ? basicMergeFieldsCategoryName : mergeField.category === ADDITIONAL_FIELDS_CATEGORY_NAME ? additionalMergeFieldsCategoryName : mergeField.category,
3043
3044
  entries: mergeField.entries
3044
3045
  }));
3045
3046
  };
@@ -5278,20 +5279,29 @@ const getMergeFields = async (id2) => {
5278
5279
  mergeFields: formatMergeFieldsCategory(
5279
5280
  response.data,
5280
5281
  t$3("engage:extra_merge_field_name", { count: 2 }),
5281
- t$3("engage:advanced_merge_field_name", { count: 2 })
5282
+ t$3("engage:advanced_merge_field_name", { count: 2 }),
5283
+ t$3("engage:merge_field", { count: 2 })
5282
5284
  )
5283
5285
  };
5284
5286
  return toReturn;
5285
5287
  };
5286
5288
  const getMergeFieldsWithAutomation = async (id2, automationId) => {
5287
5289
  if (!id2 || !automationId) {
5288
- const toReturn = { mergeFields: [] };
5289
- return toReturn;
5290
+ const toReturn2 = { mergeFields: [] };
5291
+ return toReturn2;
5290
5292
  }
5291
5293
  const response = await baseRequest(
5292
5294
  `${COMMUNICATION_GROUP_PATH}/${id2}/merge-fields?automationId=${automationId}`
5293
5295
  );
5294
- return response.data;
5296
+ const toReturn = {
5297
+ mergeFields: formatMergeFieldsCategory(
5298
+ response.data,
5299
+ t$3("engage:extra_merge_field_name", { count: 2 }),
5300
+ t$3("engage:advanced_merge_field_name", { count: 2 }),
5301
+ t$3("engage:merge_field", { count: 2 })
5302
+ )
5303
+ };
5304
+ return toReturn;
5295
5305
  };
5296
5306
  const sendTestCommunication = async (id2, params) => {
5297
5307
  const response = await baseRequest(
@@ -19756,7 +19766,7 @@ var webVitals_attribution_umd = { exports: {} };
19756
19766
  document.addEventListener("visibilitychange", function() {
19757
19767
  "hidden" === document.visibilityState && t4();
19758
19768
  });
19759
- }, h4 = function(t4) {
19769
+ }, h5 = function(t4) {
19760
19770
  var e5 = false;
19761
19771
  return function() {
19762
19772
  e5 || (t4(), e5 = true);
@@ -19825,7 +19835,7 @@ var webVitals_attribution_umd = { exports: {} };
19825
19835
  }
19826
19836
  }, N2 = function(t4) {
19827
19837
  var e5 = self.requestIdleCallback || self.setTimeout, n3 = -1;
19828
- return t4 = h4(t4), "hidden" === document.visibilityState ? t4() : (n3 = e5(t4), v2(t4)), n3;
19838
+ return t4 = h5(t4), "hidden" === document.visibilityState ? t4() : (n3 = e5(t4), v2(t4)), n3;
19829
19839
  }, H5 = [200, 500], V2 = function(t4, e5) {
19830
19840
  "PerformanceEventTiming" in self && "interactionId" in PerformanceEventTiming.prototype && (e5 = e5 || {}, C2(function() {
19831
19841
  var n3;
@@ -19937,7 +19947,7 @@ var webVitals_attribution_umd = { exports: {} };
19937
19947
  }, o3 = function(t5) {
19938
19948
  t5.forEach(a5);
19939
19949
  }, c4 = l2("first-input", o3);
19940
- n3 = m4(t4, i4, mt2, e5.reportAllChanges), c4 && (v2(h4(function() {
19950
+ n3 = m4(t4, i4, mt2, e5.reportAllChanges), c4 && (v2(h5(function() {
19941
19951
  o3(c4.takeRecords()), c4.disconnect();
19942
19952
  })), u3(function() {
19943
19953
  var r4;
@@ -19947,7 +19957,7 @@ var webVitals_attribution_umd = { exports: {} };
19947
19957
  };
19948
19958
  t3.CLSThresholds = D4, t3.FCPThresholds = L3, t3.FIDThresholds = mt2, t3.INPThresholds = H5, t3.LCPThresholds = nt2, t3.TTFBThresholds = it2, t3.onCLS = function(t4, e5) {
19949
19959
  !function(t5, e6) {
19950
- e6 = e6 || {}, M4(h4(function() {
19960
+ e6 = e6 || {}, M4(h5(function() {
19951
19961
  var n3, r3 = d4("CLS", 0), i4 = 0, a5 = [], o3 = function(t6) {
19952
19962
  t6.forEach(function(t7) {
19953
19963
  if (!t7.hadRecentInput) {
@@ -20029,7 +20039,7 @@ var webVitals_attribution_umd = { exports: {} };
20029
20039
  }, o3 = l2("largest-contentful-paint", a5);
20030
20040
  if (o3) {
20031
20041
  n3 = m4(t5, i4, nt2, e6.reportAllChanges);
20032
- var c4 = h4(function() {
20042
+ var c4 = h5(function() {
20033
20043
  rt2[i4.id] || (a5(o3.takeRecords()), o3.disconnect(), rt2[i4.id] = true, n3(true));
20034
20044
  });
20035
20045
  ["keydown", "click"].forEach(function(t6) {
@@ -21040,6 +21050,9 @@ function safeExecuteInTheMiddle$2(execute, onFinish, preventThrowingError) {
21040
21050
  error2 = e4;
21041
21051
  } finally {
21042
21052
  onFinish(error2, result);
21053
+ if (error2 && !preventThrowingError) {
21054
+ throw error2;
21055
+ }
21043
21056
  return result;
21044
21057
  }
21045
21058
  }
@@ -21253,7 +21266,7 @@ var DocumentLoadInstrumentation = (
21253
21266
  return;
21254
21267
  }
21255
21268
  _this._diag.error("addCustomAttributesOnSpan", error2);
21256
- });
21269
+ }, true);
21257
21270
  }
21258
21271
  };
21259
21272
  DocumentLoadInstrumentation2.prototype._addCustomAttributesOnResourceSpan = function(span, resource, applyCustomAttributesOnSpan) {
@@ -21266,7 +21279,7 @@ var DocumentLoadInstrumentation = (
21266
21279
  return;
21267
21280
  }
21268
21281
  _this._diag.error("addCustomAttributesOnResourceSpan", error2);
21269
- });
21282
+ }, true);
21270
21283
  }
21271
21284
  };
21272
21285
  DocumentLoadInstrumentation2.prototype.enable = function() {
@@ -21628,6 +21641,9 @@ function safeExecuteInTheMiddle$1(execute, onFinish, preventThrowingError) {
21628
21641
  error2 = e4;
21629
21642
  } finally {
21630
21643
  onFinish(error2, result);
21644
+ if (error2 && !preventThrowingError) {
21645
+ throw error2;
21646
+ }
21631
21647
  return result;
21632
21648
  }
21633
21649
  }
@@ -22169,20 +22185,20 @@ var FetchInstrumentation = (
22169
22185
  }
22170
22186
  if (options instanceof Request) {
22171
22187
  propagation.inject(context.active(), options.headers, {
22172
- set: function(h4, k3, v2) {
22173
- return h4.set(k3, typeof v2 === "string" ? v2 : String(v2));
22188
+ set: function(h5, k3, v2) {
22189
+ return h5.set(k3, typeof v2 === "string" ? v2 : String(v2));
22174
22190
  }
22175
22191
  });
22176
22192
  } else if (options.headers instanceof Headers) {
22177
22193
  propagation.inject(context.active(), options.headers, {
22178
- set: function(h4, k3, v2) {
22179
- return h4.set(k3, typeof v2 === "string" ? v2 : String(v2));
22194
+ set: function(h5, k3, v2) {
22195
+ return h5.set(k3, typeof v2 === "string" ? v2 : String(v2));
22180
22196
  }
22181
22197
  });
22182
22198
  } else if (options.headers instanceof Map) {
22183
22199
  propagation.inject(context.active(), options.headers, {
22184
- set: function(h4, k3, v2) {
22185
- return h4.set(k3, typeof v2 === "string" ? v2 : String(v2));
22200
+ set: function(h5, k3, v2) {
22201
+ return h5.set(k3, typeof v2 === "string" ? v2 : String(v2));
22186
22202
  }
22187
22203
  });
22188
22204
  } else {
@@ -22351,7 +22367,7 @@ var FetchInstrumentation = (
22351
22367
  return;
22352
22368
  }
22353
22369
  _this._diag.error("applyCustomAttributesOnSpan", error2);
22354
- });
22370
+ }, true);
22355
22371
  }
22356
22372
  };
22357
22373
  FetchInstrumentation2.prototype._prepareSpanData = function(spanUrl) {
@@ -23174,6 +23190,9 @@ function safeExecuteInTheMiddle(execute, onFinish, preventThrowingError) {
23174
23190
  error2 = e4;
23175
23191
  } finally {
23176
23192
  onFinish(error2, result);
23193
+ if (error2 && !preventThrowingError) {
23194
+ throw error2;
23195
+ }
23177
23196
  return result;
23178
23197
  }
23179
23198
  }
@@ -23549,7 +23568,7 @@ var XMLHttpRequestInstrumentation = (
23549
23568
  return;
23550
23569
  }
23551
23570
  _this._diag.error("applyCustomAttributesOnSpan", error2);
23552
- });
23571
+ }, true);
23553
23572
  }
23554
23573
  };
23555
23574
  XMLHttpRequestInstrumentation2.prototype._addResourceObserver = function(xhr, spanUrl) {
@@ -24045,11 +24064,11 @@ var Y$3 = M$2("v5", 80, function(e4) {
24045
24064
  for (var d4 = 0; d4 < a4; ++d4) {
24046
24065
  for (var f2 = new Uint32Array(80), g2 = 0; g2 < 16; ++g2) f2[g2] = s4[d4][g2];
24047
24066
  for (var v2 = 16; v2 < 80; ++v2) f2[v2] = Q$2(f2[v2 - 3] ^ f2[v2 - 8] ^ f2[v2 - 14] ^ f2[v2 - 16], 1);
24048
- for (var p2 = n2[0], m4 = n2[1], h4 = n2[2], y4 = n2[3], w3 = n2[4], b3 = 0; b3 < 80; ++b3) {
24049
- var k3 = Math.floor(b3 / 20), E3 = Q$2(p2, 5) + X$3(k3, m4, h4, y4) + w3 + t3[k3] + f2[b3] >>> 0;
24050
- w3 = y4, y4 = h4, h4 = Q$2(m4, 30) >>> 0, m4 = p2, p2 = E3;
24067
+ for (var p2 = n2[0], m4 = n2[1], h5 = n2[2], y4 = n2[3], w3 = n2[4], b3 = 0; b3 < 80; ++b3) {
24068
+ var k3 = Math.floor(b3 / 20), E3 = Q$2(p2, 5) + X$3(k3, m4, h5, y4) + w3 + t3[k3] + f2[b3] >>> 0;
24069
+ w3 = y4, y4 = h5, h5 = Q$2(m4, 30) >>> 0, m4 = p2, p2 = E3;
24051
24070
  }
24052
- n2[0] = n2[0] + p2 >>> 0, n2[1] = n2[1] + m4 >>> 0, n2[2] = n2[2] + h4 >>> 0, n2[3] = n2[3] + y4 >>> 0, n2[4] = n2[4] + w3 >>> 0;
24071
+ n2[0] = n2[0] + p2 >>> 0, n2[1] = n2[1] + m4 >>> 0, n2[2] = n2[2] + h5 >>> 0, n2[3] = n2[3] + y4 >>> 0, n2[4] = n2[4] + w3 >>> 0;
24053
24072
  }
24054
24073
  return [n2[0] >> 24 & 255, n2[0] >> 16 & 255, n2[0] >> 8 & 255, 255 & n2[0], n2[1] >> 24 & 255, n2[1] >> 16 & 255, n2[1] >> 8 & 255, 255 & n2[1], n2[2] >> 24 & 255, n2[2] >> 16 & 255, n2[2] >> 8 & 255, 255 & n2[2], n2[3] >> 24 & 255, n2[3] >> 16 & 255, n2[3] >> 8 & 255, 255 & n2[3], n2[4] >> 24 & 255, n2[4] >> 16 & 255, n2[4] >> 8 & 255, 255 & n2[4]];
24055
24074
  }), Z$2 = Y$3;
@@ -24296,6 +24315,9 @@ const { commonBasicLogger: ye$2 } = ne$2;
24296
24315
  function we$2(e4) {
24297
24316
  return "string" == typeof e4 && "kind" !== e4 && e4.match(/^(\w|\.|-)+$/);
24298
24317
  }
24318
+ function be$2(e4) {
24319
+ return e4.includes("%") || e4.includes(":") ? e4.replace(/%/g, "%25").replace(/:/g, "%3A") : e4;
24320
+ }
24299
24321
  var ke$2 = { checkContext: function(e4, t3) {
24300
24322
  if (e4) {
24301
24323
  if (t3 && (void 0 === e4.kind || null === e4.kind)) return void 0 !== e4.key && null !== e4.key;
@@ -24334,6 +24356,12 @@ var ke$2 = { checkContext: function(e4, t3) {
24334
24356
  return n2;
24335
24357
  }, getContextKinds: function(e4) {
24336
24358
  return e4 ? null === e4.kind || void 0 === e4.kind ? ["user"] : "multi" !== e4.kind ? [e4.kind] : Object.keys(e4).filter((e5) => "kind" !== e5) : [];
24359
+ }, getCanonicalKey: function(e4) {
24360
+ if (e4) {
24361
+ if ((void 0 === e4.kind || null === e4.kind || "user" === e4.kind) && e4.key) return e4.key;
24362
+ if ("multi" !== e4.kind && e4.key) return `${e4.kind}:${be$2(e4.key)}`;
24363
+ if ("multi" === e4.kind) return Object.keys(e4).sort().filter((e5) => "kind" !== e5).map((t3) => `${t3}:${be$2(e4[t3].key)}`).join(":");
24364
+ }
24337
24365
  } };
24338
24366
  const { getContextKinds: Ee$2 } = ke$2;
24339
24367
  var De$2 = function() {
@@ -24429,7 +24457,7 @@ var Te$2 = function(e4) {
24429
24457
  const { getContextKeys: Le$2 } = ke$2;
24430
24458
  var Ue$1 = function(e4, t3, n2, r2 = null, o2 = null, i3 = null) {
24431
24459
  const a4 = {}, c3 = i3 || he$2(e4, n2, t3), u3 = S$2.appendUrlPath(t3.eventsUrl, "/events/bulk/" + n2), l2 = De$2(), d4 = Te$2(t3), f2 = t3.samplingInterval, g2 = t3.eventCapacity, v2 = t3.flushInterval, p2 = t3.logger;
24432
- let m4, h4 = [], y4 = 0, w3 = false, b3 = false;
24460
+ let m4, h5 = [], y4 = 0, w3 = false, b3 = false;
24433
24461
  function k3() {
24434
24462
  return 0 === f2 || 0 === Math.floor(Math.random() * f2);
24435
24463
  }
@@ -24438,7 +24466,7 @@ var Ue$1 = function(e4, t3, n2, r2 = null, o2 = null, i3 = null) {
24438
24466
  return "identify" === e5.kind ? t4.context = d4.filter(e5.context) : "feature" === e5.kind ? t4.context = d4.filter(e5.context, true) : (t4.contextKeys = Le$2(e5.context, p2), delete t4.context), "feature" === e5.kind && (delete t4.trackEvents, delete t4.debugEventsUntilDate), t4;
24439
24467
  }
24440
24468
  function D4(e5) {
24441
- h4.length < g2 ? (h4.push(e5), b3 = false) : (b3 || (b3 = true, p2.warn(ie$3.eventCapacityExceeded())), r2 && r2.incrementDroppedEvents());
24469
+ h5.length < g2 ? (h5.push(e5), b3 = false) : (b3 || (b3 = true, p2.warn(ie$3.eventCapacityExceeded())), r2 && r2.incrementDroppedEvents());
24442
24470
  }
24443
24471
  return a4.enqueue = function(e5) {
24444
24472
  if (w3) return;
@@ -24450,8 +24478,8 @@ var Ue$1 = function(e4, t3, n2, r2 = null, o2 = null, i3 = null) {
24450
24478
  }
24451
24479
  }, a4.flush = function() {
24452
24480
  if (w3) return Promise.resolve();
24453
- const e5 = h4, t4 = l2.getSummary();
24454
- return l2.clearSummary(), t4 && (t4.kind = "summary", e5.push(t4)), r2 && r2.setEventsInLastBatch(e5.length), 0 === e5.length ? Promise.resolve() : (h4 = [], p2.debug(ie$3.debugPostingEvents(e5.length)), c3.sendEvents(e5, u3).then((e6) => {
24481
+ const e5 = h5, t4 = l2.getSummary();
24482
+ return l2.clearSummary(), t4 && (t4.kind = "summary", e5.push(t4)), r2 && r2.setEventsInLastBatch(e5.length), 0 === e5.length ? Promise.resolve() : (h5 = [], p2.debug(ie$3.debugPostingEvents(e5.length)), c3.sendEvents(e5, u3).then((e6) => {
24455
24483
  e6 && (e6.serverTime && (y4 = e6.serverTime), s$2.isHttpErrorRecoverable(e6.status) || (w3 = true), e6.status >= 400 && S$2.onNextTick(() => {
24456
24484
  o2.maybeReportError(new s$2.LDUnexpectedResponseError(ie$3.httpErrorMessage(e6.status, "event posting", "some events were dropped")));
24457
24485
  }));
@@ -24553,7 +24581,7 @@ var Ve$2 = function(e4, t3) {
24553
24581
  const { appendUrlPath: Me$2, base64URLEncode: qe$1, objectHasOwnProperty: He$1 } = S$2, { getLDHeaders: ze$1, transformHeaders: Ke$1 } = ge$1, { isHttpErrorRecoverable: _e$1 } = s$2;
24554
24582
  var Je$1 = function(e4, t3, n2, r2) {
24555
24583
  const o2 = t3.streamUrl, i3 = t3.logger, a4 = {}, s4 = Me$2(o2, "/eval/" + n2), c3 = t3.useReport, u3 = t3.evaluationReasons, l2 = t3.streamReconnectDelay, d4 = ze$1(e4, t3);
24556
- let f2, g2 = false, v2 = null, p2 = null, m4 = null, h4 = null, y4 = null, w3 = 0;
24584
+ let f2, g2 = false, v2 = null, p2 = null, m4 = null, h5 = null, y4 = null, w3 = 0;
24557
24585
  function b3() {
24558
24586
  const e5 = (t4 = function() {
24559
24587
  const e6 = l2 * Math.pow(2, w3);
@@ -24576,7 +24604,7 @@ var Je$1 = function(e4, t3, n2, r2) {
24576
24604
  let a5 = "";
24577
24605
  const l3 = { headers: d4, readTimeoutMillis: 3e5 };
24578
24606
  if (e4.eventSourceFactory) {
24579
- null != h4 && (a5 = "h=" + h4), c3 ? e4.eventSourceAllowsReport ? (r3 = s4, l3.method = "REPORT", l3.headers["Content-Type"] = "application/json", l3.body = JSON.stringify(m4)) : (r3 = Me$2(o2, "/ping/" + n2), a5 = "") : r3 = s4 + "/" + qe$1(JSON.stringify(m4)), l3.headers = Ke$1(l3.headers, t3), u3 && (a5 = a5 + (a5 ? "&" : "") + "withReasons=true"), r3 = r3 + (a5 ? "?" : "") + a5, x3(), i3.info(ie$3.streamConnecting(r3)), f2 = (/* @__PURE__ */ new Date()).getTime(), v2 = e4.eventSourceFactory(r3, l3);
24607
+ null != h5 && (a5 = "h=" + h5), c3 ? e4.eventSourceAllowsReport ? (r3 = s4, l3.method = "REPORT", l3.headers["Content-Type"] = "application/json", l3.body = JSON.stringify(m4)) : (r3 = Me$2(o2, "/ping/" + n2), a5 = "") : r3 = s4 + "/" + qe$1(JSON.stringify(m4)), l3.headers = Ke$1(l3.headers, t3), u3 && (a5 = a5 + (a5 ? "&" : "") + "withReasons=true"), r3 = r3 + (a5 ? "?" : "") + a5, x3(), i3.info(ie$3.streamConnecting(r3)), f2 = (/* @__PURE__ */ new Date()).getTime(), v2 = e4.eventSourceFactory(r3, l3);
24580
24608
  for (const e5 in y4) He$1(y4, e5) && v2.addEventListener(e5, y4[e5]);
24581
24609
  v2.onerror = k3, v2.onopen = () => {
24582
24610
  w3 = 0;
@@ -24590,7 +24618,7 @@ var Je$1 = function(e4, t3, n2, r2) {
24590
24618
  f2 && r2 && r2.recordStreamInit(f2, !e5, (/* @__PURE__ */ new Date()).getTime() - f2), f2 = null;
24591
24619
  }
24592
24620
  return a4.connect = function(e5, t4, n3) {
24593
- m4 = e5, h4 = t4, y4 = {};
24621
+ m4 = e5, h5 = t4, y4 = {};
24594
24622
  for (const e6 in n3 || {}) y4[e6] = function(t5) {
24595
24623
  g2 = false, C2(true), n3[e6] && n3[e6](t5);
24596
24624
  };
@@ -24713,13 +24741,13 @@ var it$1 = { DiagnosticId: function(e4) {
24713
24741
  function m4() {
24714
24742
  return { sdk: w3(), configuration: b3(), platform: e4.diagnosticPlatformData };
24715
24743
  }
24716
- function h4(e5) {
24744
+ function h5(e5) {
24717
24745
  i3.logger && i3.logger.debug(ie$3.debugPostingDiagnosticEvent(e5)), r2.sendEvents(e5, u3, true).then(() => {
24718
24746
  }).catch(() => {
24719
24747
  });
24720
24748
  }
24721
24749
  function y4() {
24722
- h4(function() {
24750
+ h5(function() {
24723
24751
  const e5 = (/* @__PURE__ */ new Date()).getTime();
24724
24752
  let t4 = { kind: s4 ? "diagnostic-combined" : "diagnostic", id: a4, creationDate: e5, ...d4.getProps() };
24725
24753
  return s4 && (t4 = { ...t4, ...m4() }), d4.reset(e5), t4;
@@ -24755,7 +24783,7 @@ var it$1 = { DiagnosticId: function(e4) {
24755
24783
  const e6 = (f2 || 0) + l2, t4 = (/* @__PURE__ */ new Date()).getTime();
24756
24784
  t4 >= e6 ? y4() : g2 = setTimeout(y4, e6 - t4);
24757
24785
  } else 0 === Math.floor(4 * Math.random()) ? y4() : g2 = setTimeout(y4, l2);
24758
- }) : (h4({ kind: "diagnostic-init", id: a4, creationDate: d4.getProps().dataSinceDate, ...m4() }), g2 = setTimeout(y4, l2));
24786
+ }) : (h5({ kind: "diagnostic-init", id: a4, creationDate: d4.getProps().dataSinceDate, ...m4() }), g2 = setTimeout(y4, l2));
24759
24787
  }, p2.stop = () => {
24760
24788
  g2 && clearTimeout(g2);
24761
24789
  }, p2.setStreaming = (e5) => {
@@ -24809,14 +24837,14 @@ var dt$1 = function(e4, t3) {
24809
24837
  }, 1e3 * e4);
24810
24838
  });
24811
24839
  };
24812
- const { commonBasicLogger: ft$1 } = ne$2, { checkContext: gt$1 } = ke$2, { InspectorTypes: pt$1, InspectorManager: mt$1 } = ut$1, ht$1 = "change", yt$1 = "internal-change";
24840
+ const { commonBasicLogger: ft$1 } = ne$2, { checkContext: gt$1, getContextKeys: vt$1 } = ke$2, { InspectorTypes: pt$1, InspectorManager: mt$1 } = ut$1, ht$1 = "change", yt$1 = "internal-change";
24813
24841
  var wt$1 = { initialize: function(e4, t3, n2, r2, o2) {
24814
24842
  const i3 = function() {
24815
24843
  if (n2 && n2.logger) return n2.logger;
24816
24844
  return o2 && o2.logger && o2.logger.default || ft$1("warn");
24817
24845
  }(), a4 = Re$1(i3), c3 = Ne$1(a4), u3 = de$2.validate(n2, a4, o2, i3), l2 = mt$1(u3.inspectors, i3), d4 = u3.sendEvents;
24818
24846
  let f2 = e4, g2 = u3.hash;
24819
- const v2 = Ve$2(r2.localStorage, i3), p2 = he$2(r2, f2, u3), m4 = u3.sendEvents && !u3.diagnosticOptOut, h4 = m4 ? it$1.DiagnosticId(f2) : null, y4 = m4 ? it$1.DiagnosticsAccumulator((/* @__PURE__ */ new Date()).getTime()) : null, w3 = m4 ? it$1.DiagnosticsManager(r2, v2, y4, p2, f2, u3, h4) : null, b3 = Je$1(r2, u3, f2, y4), k3 = u3.eventProcessor || Ue$1(r2, u3, f2, y4, a4, p2), E3 = Qe$1(r2, u3, f2);
24847
+ const v2 = Ve$2(r2.localStorage, i3), p2 = he$2(r2, f2, u3), m4 = u3.sendEvents && !u3.diagnosticOptOut, h5 = m4 ? it$1.DiagnosticId(f2) : null, y4 = m4 ? it$1.DiagnosticsAccumulator((/* @__PURE__ */ new Date()).getTime()) : null, w3 = m4 ? it$1.DiagnosticsManager(r2, v2, y4, p2, f2, u3, h5) : null, b3 = Je$1(r2, u3, f2, y4), k3 = u3.eventProcessor || Ue$1(r2, u3, f2, y4, a4, p2), E3 = Qe$1(r2, u3, f2);
24820
24848
  let D4, x3, C2, P2 = {}, I3 = u3.streaming, O3 = false, T3 = false, L3 = true;
24821
24849
  const U2 = u3.stateProvider, R3 = Ye$1(null, function(e5) {
24822
24850
  (function(e6) {
@@ -25021,14 +25049,14 @@ var wt$1 = { initialize: function(e4, t3, n2, r2, o2) {
25021
25049
  }, enqueueEvent: F2, getFlagsInternal: function() {
25022
25050
  return P2;
25023
25051
  }, getEnvironmentId: () => f2, internalChangeEventName: yt$1 };
25024
- }, errors: s$2 }, bt$1 = wt$1.initialize, kt$1 = wt$1.errors;
25052
+ }, commonBasicLogger: ft$1, errors: s$2, messages: ie$3, utils: S$2, getContextKeys: vt$1 }, bt$1 = wt$1.initialize, kt$1 = wt$1.errors;
25025
25053
  function Dt$1(e4, t3, n2) {
25026
25054
  return (t3 = function(e5) {
25027
25055
  var t4 = function(e6, t5) {
25028
25056
  if ("object" != typeof e6 || !e6) return e6;
25029
25057
  var n3 = e6[Symbol.toPrimitive];
25030
25058
  if (void 0 !== n3) {
25031
- var r2 = n3.call(e6, t5);
25059
+ var r2 = n3.call(e6, t5 || "default");
25032
25060
  if ("object" != typeof r2) return r2;
25033
25061
  throw new TypeError("@@toPrimitive must return a primitive value.");
25034
25062
  }
@@ -25226,6 +25254,7 @@ function Ft$1(e4, t3) {
25226
25254
  "hidden" === document.visibilityState && u3();
25227
25255
  }), window.addEventListener("pagehide", u3), i3;
25228
25256
  }
25257
+ var INFINITY = 1 / 0;
25229
25258
  var symbolTag = "[object Symbol]";
25230
25259
  var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
25231
25260
  var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
@@ -25505,12 +25534,12 @@ function baseToString(value) {
25505
25534
  return symbolToString ? symbolToString.call(value) : "";
25506
25535
  }
25507
25536
  var result = value + "";
25508
- return result == "0" && 1 / value == -Infinity ? "-0" : result;
25537
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
25509
25538
  }
25510
25539
  function castSlice(array, start, end) {
25511
25540
  var length = array.length;
25512
25541
  end = end === void 0 ? length : end;
25513
- return false ? array : baseSlice(array, start, end);
25542
+ return !start && end >= length ? array : baseSlice(array, start, end);
25514
25543
  }
25515
25544
  function createCaseFirst(methodName) {
25516
25545
  return function(string) {
@@ -25571,7 +25600,7 @@ var hasRequiredReactIs_production_min;
25571
25600
  function requireReactIs_production_min() {
25572
25601
  if (hasRequiredReactIs_production_min) return reactIs_production_min;
25573
25602
  hasRequiredReactIs_production_min = 1;
25574
- var b3 = "function" === typeof Symbol && Symbol.for, c3 = b3 ? Symbol.for("react.element") : 60103, d4 = b3 ? Symbol.for("react.portal") : 60106, e4 = b3 ? Symbol.for("react.fragment") : 60107, f2 = b3 ? Symbol.for("react.strict_mode") : 60108, g2 = b3 ? Symbol.for("react.profiler") : 60114, h4 = b3 ? Symbol.for("react.provider") : 60109, k3 = b3 ? Symbol.for("react.context") : 60110, l2 = b3 ? Symbol.for("react.async_mode") : 60111, m4 = b3 ? Symbol.for("react.concurrent_mode") : 60111, n2 = b3 ? Symbol.for("react.forward_ref") : 60112, p2 = b3 ? Symbol.for("react.suspense") : 60113, q3 = b3 ? Symbol.for("react.suspense_list") : 60120, r2 = b3 ? Symbol.for("react.memo") : 60115, t3 = b3 ? Symbol.for("react.lazy") : 60116, v2 = b3 ? Symbol.for("react.block") : 60121, w3 = b3 ? Symbol.for("react.fundamental") : 60117, x3 = b3 ? Symbol.for("react.responder") : 60118, y4 = b3 ? Symbol.for("react.scope") : 60119;
25603
+ var b3 = "function" === typeof Symbol && Symbol.for, c3 = b3 ? Symbol.for("react.element") : 60103, d4 = b3 ? Symbol.for("react.portal") : 60106, e4 = b3 ? Symbol.for("react.fragment") : 60107, f2 = b3 ? Symbol.for("react.strict_mode") : 60108, g2 = b3 ? Symbol.for("react.profiler") : 60114, h5 = b3 ? Symbol.for("react.provider") : 60109, k3 = b3 ? Symbol.for("react.context") : 60110, l2 = b3 ? Symbol.for("react.async_mode") : 60111, m4 = b3 ? Symbol.for("react.concurrent_mode") : 60111, n2 = b3 ? Symbol.for("react.forward_ref") : 60112, p2 = b3 ? Symbol.for("react.suspense") : 60113, q3 = b3 ? Symbol.for("react.suspense_list") : 60120, r2 = b3 ? Symbol.for("react.memo") : 60115, t3 = b3 ? Symbol.for("react.lazy") : 60116, v2 = b3 ? Symbol.for("react.block") : 60121, w3 = b3 ? Symbol.for("react.fundamental") : 60117, x3 = b3 ? Symbol.for("react.responder") : 60118, y4 = b3 ? Symbol.for("react.scope") : 60119;
25575
25604
  function z3(a4) {
25576
25605
  if ("object" === typeof a4 && null !== a4) {
25577
25606
  var u3 = a4.$$typeof;
@@ -25591,7 +25620,7 @@ function requireReactIs_production_min() {
25591
25620
  case n2:
25592
25621
  case t3:
25593
25622
  case r2:
25594
- case h4:
25623
+ case h5:
25595
25624
  return a4;
25596
25625
  default:
25597
25626
  return u3;
@@ -25608,7 +25637,7 @@ function requireReactIs_production_min() {
25608
25637
  reactIs_production_min.AsyncMode = l2;
25609
25638
  reactIs_production_min.ConcurrentMode = m4;
25610
25639
  reactIs_production_min.ContextConsumer = k3;
25611
- reactIs_production_min.ContextProvider = h4;
25640
+ reactIs_production_min.ContextProvider = h5;
25612
25641
  reactIs_production_min.Element = c3;
25613
25642
  reactIs_production_min.ForwardRef = n2;
25614
25643
  reactIs_production_min.Fragment = e4;
@@ -25626,7 +25655,7 @@ function requireReactIs_production_min() {
25626
25655
  return z3(a4) === k3;
25627
25656
  };
25628
25657
  reactIs_production_min.isContextProvider = function(a4) {
25629
- return z3(a4) === h4;
25658
+ return z3(a4) === h5;
25630
25659
  };
25631
25660
  reactIs_production_min.isElement = function(a4) {
25632
25661
  return "object" === typeof a4 && null !== a4 && a4.$$typeof === c3;
@@ -25656,7 +25685,7 @@ function requireReactIs_production_min() {
25656
25685
  return z3(a4) === p2;
25657
25686
  };
25658
25687
  reactIs_production_min.isValidElementType = function(a4) {
25659
- return "string" === typeof a4 || "function" === typeof a4 || a4 === e4 || a4 === m4 || a4 === g2 || a4 === f2 || a4 === p2 || a4 === q3 || "object" === typeof a4 && null !== a4 && (a4.$$typeof === t3 || a4.$$typeof === r2 || a4.$$typeof === h4 || a4.$$typeof === k3 || a4.$$typeof === n2 || a4.$$typeof === w3 || a4.$$typeof === x3 || a4.$$typeof === y4 || a4.$$typeof === v2);
25688
+ return "string" === typeof a4 || "function" === typeof a4 || a4 === e4 || a4 === m4 || a4 === g2 || a4 === f2 || a4 === p2 || a4 === q3 || "object" === typeof a4 && null !== a4 && (a4.$$typeof === t3 || a4.$$typeof === r2 || a4.$$typeof === h5 || a4.$$typeof === k3 || a4.$$typeof === n2 || a4.$$typeof === w3 || a4.$$typeof === x3 || a4.$$typeof === y4 || a4.$$typeof === v2);
25660
25689
  };
25661
25690
  reactIs_production_min.typeOf = z3;
25662
25691
  return reactIs_production_min;
@@ -26550,13 +26579,13 @@ function si(i3, e4, r2, s4, n2) {
26550
26579
  var u3 = r2.dom_event_allowlist;
26551
26580
  if (u3 && !u3.some((t3) => e4.type === t3)) return false;
26552
26581
  }
26553
- for (var h4 = false, d4 = [i3], v2 = true, c3 = i3; c3.parentNode && !Jt(c3, "body"); ) if (Kt(c3.parentNode)) d4.push(c3.parentNode.host), c3 = c3.parentNode.host;
26582
+ for (var h5 = false, d4 = [i3], v2 = true, c3 = i3; c3.parentNode && !Jt(c3, "body"); ) if (Kt(c3.parentNode)) d4.push(c3.parentNode.host), c3 = c3.parentNode.host;
26554
26583
  else {
26555
26584
  if (!(v2 = ri(c3))) break;
26556
- if (s4 || ei.indexOf(v2.tagName.toLowerCase()) > -1) h4 = true;
26585
+ if (s4 || ei.indexOf(v2.tagName.toLowerCase()) > -1) h5 = true;
26557
26586
  else {
26558
26587
  var f2 = t$1.getComputedStyle(v2);
26559
- f2 && "pointer" === f2.getPropertyValue("cursor") && (h4 = true);
26588
+ f2 && "pointer" === f2.getPropertyValue("cursor") && (h5 = true);
26560
26589
  }
26561
26590
  d4.push(v2), c3 = v2;
26562
26591
  }
@@ -26591,7 +26620,7 @@ function si(i3, e4, r2, s4, n2) {
26591
26620
  case "textarea":
26592
26621
  return (n2 || ["change", "click"]).indexOf(e4.type) >= 0;
26593
26622
  default:
26594
- return h4 ? (n2 || ["click"]).indexOf(e4.type) >= 0 : (n2 || ["click"]).indexOf(e4.type) >= 0 && (ei.indexOf(_2) > -1 || "true" === i3.getAttribute("contenteditable"));
26623
+ return h5 ? (n2 || ["click"]).indexOf(e4.type) >= 0 : (n2 || ["click"]).indexOf(e4.type) >= 0 && (ei.indexOf(_2) > -1 || "true" === i3.getAttribute("contenteditable"));
26595
26624
  }
26596
26625
  }
26597
26626
  function ni(t3) {
@@ -26718,12 +26747,12 @@ var yi = ["localhost", "127.0.0.1"], wi = (t3) => {
26718
26747
  return o2.replace(/\+/g, " ");
26719
26748
  }, ki = function(t3, i3, e4) {
26720
26749
  if (!t3 || !i3 || !i3.length) return t3;
26721
- for (var r2 = t3.split("#"), s4 = r2[0] || "", n2 = r2[1], o2 = s4.split("?"), a4 = o2[1], l2 = o2[0], u3 = (a4 || "").split("&"), h4 = [], d4 = 0; d4 < u3.length; d4++) {
26750
+ for (var r2 = t3.split("#"), s4 = r2[0] || "", n2 = r2[1], o2 = s4.split("?"), a4 = o2[1], l2 = o2[0], u3 = (a4 || "").split("&"), h5 = [], d4 = 0; d4 < u3.length; d4++) {
26722
26751
  var v2 = u3[d4].split("=");
26723
- x(v2) && (i3.includes(v2[0]) ? h4.push(v2[0] + "=" + e4) : h4.push(u3[d4]));
26752
+ x(v2) && (i3.includes(v2[0]) ? h5.push(v2[0] + "=" + e4) : h5.push(u3[d4]));
26724
26753
  }
26725
26754
  var c3 = l2;
26726
- return null != a4 && (c3 += "?" + h4.join("&")), null != n2 && (c3 += "#" + n2), c3;
26755
+ return null != a4 && (c3 += "?" + h5.join("&")), null != n2 && (c3 += "#" + n2), c3;
26727
26756
  }, xi = function(t3, i3) {
26728
26757
  var e4 = t3.match(new RegExp(i3 + "=([^&]*)"));
26729
26758
  return e4 ? e4[1] : null;
@@ -26756,9 +26785,9 @@ function Ri(t3, i3, e4, r2) {
26756
26785
  return n2.nth_child = a4, n2.nth_of_type = l2, n2;
26757
26786
  }
26758
26787
  function Ti(i3, e4) {
26759
- for (var r2, s4, { e: n2, maskAllElementAttributes: o2, maskAllText: a4, elementAttributeIgnoreList: l2, elementsChainAsString: u3 } = e4, h4 = [i3], d4 = i3; d4.parentNode && !Jt(d4, "body"); ) Kt(d4.parentNode) ? (h4.push(d4.parentNode.host), d4 = d4.parentNode.host) : (h4.push(d4.parentNode), d4 = d4.parentNode);
26788
+ for (var r2, s4, { e: n2, maskAllElementAttributes: o2, maskAllText: a4, elementAttributeIgnoreList: l2, elementsChainAsString: u3 } = e4, h5 = [i3], d4 = i3; d4.parentNode && !Jt(d4, "body"); ) Kt(d4.parentNode) ? (h5.push(d4.parentNode.host), d4 = d4.parentNode.host) : (h5.push(d4.parentNode), d4 = d4.parentNode);
26760
26789
  var v2, c3 = [], f2 = {}, p2 = false, _2 = false;
26761
- if (J$1(h4, (t3) => {
26790
+ if (J$1(h5, (t3) => {
26762
26791
  var i4 = ni(t3);
26763
26792
  "a" === t3.tagName.toLowerCase() && (p2 = t3.getAttribute("href"), p2 = i4 && p2 && ci(p2) && p2), m$1(Qt(t3), "ph-no-capture") && (_2 = true), c3.push(Ri(t3, o2, a4, l2));
26764
26793
  var e5 = function(t4) {
@@ -26843,9 +26872,9 @@ class Mi {
26843
26872
  if (a4) return false;
26844
26873
  var l2 = this.getElementSelectors(s4);
26845
26874
  if (l2 && l2.length > 0 && (o2.$element_selectors = l2), e4 === f) {
26846
- var u3, h4 = Zt(null == t$1 || null == (u3 = t$1.getSelection()) ? void 0 : u3.toString()), d4 = i3.type || "clipboard";
26847
- if (!h4) return false;
26848
- o2.$selected_content = h4, o2.$copy_type = d4;
26875
+ var u3, h5 = Zt(null == t$1 || null == (u3 = t$1.getSelection()) ? void 0 : u3.toString()), d4 = i3.type || "clipboard";
26876
+ if (!h5) return false;
26877
+ o2.$selected_content = h5, o2.$copy_type = d4;
26849
26878
  }
26850
26879
  return this.instance.capture(e4, o2), true;
26851
26880
  }
@@ -26983,8 +27012,8 @@ var Bi = { O: () => !!o$1, F: function(t3) {
26983
27012
  u3.setTime(u3.getTime() + 24 * e4 * 60 * 60 * 1e3), n2 = "; expires=" + u3.toUTCString();
26984
27013
  }
26985
27014
  s4 && (a4 = "; secure");
26986
- var h4 = t3 + "=" + encodeURIComponent(JSON.stringify(i3)) + n2 + "; SameSite=Lax; path=/" + l2 + a4;
26987
- return h4.length > 3686.4 && j$1.warn("cookieStore warning: large cookie, len=" + h4.length), o$1.cookie = h4, h4;
27015
+ var h5 = t3 + "=" + encodeURIComponent(JSON.stringify(i3)) + n2 + "; SameSite=Lax; path=/" + l2 + a4;
27016
+ return h5.length > 3686.4 && j$1.warn("cookieStore warning: large cookie, len=" + h5.length), o$1.cookie = h5, h5;
26988
27017
  } catch (t4) {
26989
27018
  return;
26990
27019
  }
@@ -27460,8 +27489,8 @@ function Le$1(t3, i3) {
27460
27489
  return de$1(t4, "Object");
27461
27490
  }(n2) || le$1(n2)) return De$1(n2, i3);
27462
27491
  if (R(e4) && T$1(r2)) {
27463
- var u3 = "Error", h4 = r2, d4 = r2.match(Pe$1);
27464
- return d4 && (u3 = d4[1], h4 = d4[2]), Fe(h4, B$1({}, i3, { overrideExceptionType: u3, defaultExceptionMessage: h4 }));
27492
+ var u3 = "Error", h5 = r2, d4 = r2.match(Pe$1);
27493
+ return d4 && (u3 = d4[1], h5 = d4[2]), Fe(h5, B$1({}, i3, { overrideExceptionType: u3, defaultExceptionMessage: h5 }));
27465
27494
  }
27466
27495
  return Fe(n2, i3);
27467
27496
  }
@@ -27557,7 +27586,7 @@ function Xe(t3, i3) {
27557
27586
  }), e4;
27558
27587
  }
27559
27588
  var Qe = (t3, i3) => {
27560
- var e4, r2, s4, n2 = { payloadSizeLimitBytes: Ge.payloadSizeLimitBytes, performanceEntryTypeToObserve: [...Ge.performanceEntryTypeToObserve], payloadHostDenyList: [...i3.payloadHostDenyList || [], ...Ge.payloadHostDenyList] }, o2 = false !== t3.session_recording.recordHeaders && i3.recordHeaders, a4 = false !== t3.session_recording.recordBody && i3.recordBody, l2 = false !== t3.capture_performance && i3.recordPerformance, u3 = (e4 = n2, s4 = Math.min(1e6, null !== (r2 = e4.payloadSizeLimitBytes) && void 0 !== r2 ? r2 : 1e6), (t4) => (null != t4 && t4.requestBody && (t4.requestBody = Ye(t4.requestBody, t4.requestHeaders, s4, "Request")), null != t4 && t4.responseBody && (t4.responseBody = Ye(t4.responseBody, t4.responseHeaders, s4, "Response")), t4)), h4 = (i4) => {
27589
+ var e4, r2, s4, n2 = { payloadSizeLimitBytes: Ge.payloadSizeLimitBytes, performanceEntryTypeToObserve: [...Ge.performanceEntryTypeToObserve], payloadHostDenyList: [...i3.payloadHostDenyList || [], ...Ge.payloadHostDenyList] }, o2 = false !== t3.session_recording.recordHeaders && i3.recordHeaders, a4 = false !== t3.session_recording.recordBody && i3.recordBody, l2 = false !== t3.capture_performance && i3.recordPerformance, u3 = (e4 = n2, s4 = Math.min(1e6, null !== (r2 = e4.payloadSizeLimitBytes) && void 0 !== r2 ? r2 : 1e6), (t4) => (null != t4 && t4.requestBody && (t4.requestBody = Ye(t4.requestBody, t4.requestHeaders, s4, "Request")), null != t4 && t4.responseBody && (t4.responseBody = Ye(t4.responseBody, t4.responseHeaders, s4, "Response")), t4)), h5 = (i4) => {
27561
27590
  return u3(((t4, i5) => {
27562
27591
  var e6, r4 = wi(t4.name), s5 = 0 === i5.indexOf("http") ? null == (e6 = wi(i5)) ? void 0 : e6.pathname : i5;
27563
27592
  "/" === s5 && (s5 = "");
@@ -27572,11 +27601,11 @@ var Qe = (t3, i3) => {
27572
27601
  var e5 = t3.session_recording.maskNetworkRequestFn({ url: i4.name });
27573
27602
  return B$1({}, i4, { name: null == e5 ? void 0 : e5.url });
27574
27603
  }), n2.maskRequestFn = E(t3.session_recording.maskCapturedNetworkRequestFn) ? (i4) => {
27575
- var e5, r3 = h4(i4);
27604
+ var e5, r3 = h5(i4);
27576
27605
  return r3 && null !== (e5 = null == t3.session_recording.maskCapturedNetworkRequestFn ? void 0 : t3.session_recording.maskCapturedNetworkRequestFn(r3)) && void 0 !== e5 ? e5 : void 0;
27577
27606
  } : (t4) => function(t5) {
27578
27607
  if (!R(t5)) return t5.requestBody = Xe(t5.requestBody, "Request"), t5.responseBody = Xe(t5.responseBody, "Response"), t5;
27579
- }(h4(t4)), B$1({}, Ge, n2, { recordHeaders: o2, recordBody: a4, recordPerformance: l2, recordInitialRequests: l2 });
27608
+ }(h5(t4)), B$1({}, Ge, n2, { recordHeaders: o2, recordBody: a4, recordPerformance: l2, recordInitialRequests: l2 });
27580
27609
  };
27581
27610
  class Ze {
27582
27611
  constructor(t3, i3) {
@@ -27659,11 +27688,11 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
27659
27688
  e4.sort(function(t4, i4) {
27660
27689
  return t4.f - i4.f;
27661
27690
  }), e4.push({ s: -1, f: 25001 });
27662
- var a4 = e4[0], l2 = e4[1], u3 = 0, h4 = 1, d4 = 2;
27663
- for (e4[0] = { s: -1, f: a4.f + l2.f, l: a4, r: l2 }; h4 != s4 - 1; ) a4 = e4[e4[u3].f < e4[d4].f ? u3++ : d4++], l2 = e4[u3 != h4 && e4[u3].f < e4[d4].f ? u3++ : d4++], e4[h4++] = { s: -1, f: a4.f + l2.f, l: a4, r: l2 };
27691
+ var a4 = e4[0], l2 = e4[1], u3 = 0, h5 = 1, d4 = 2;
27692
+ for (e4[0] = { s: -1, f: a4.f + l2.f, l: a4, r: l2 }; h5 != s4 - 1; ) a4 = e4[e4[u3].f < e4[d4].f ? u3++ : d4++], l2 = e4[u3 != h5 && e4[u3].f < e4[d4].f ? u3++ : d4++], e4[h5++] = { s: -1, f: a4.f + l2.f, l: a4, r: l2 };
27664
27693
  var v2 = n2[0].s;
27665
27694
  for (r2 = 1; r2 < s4; ++r2) n2[r2].s > v2 && (v2 = n2[r2].s);
27666
- var c3 = new ir(v2 + 1), f2 = kr(e4[h4 - 1], c3, 0);
27695
+ var c3 = new ir(v2 + 1), f2 = kr(e4[h5 - 1], c3, 0);
27667
27696
  if (f2 > i3) {
27668
27697
  r2 = 0;
27669
27698
  var p2 = 0, _2 = f2 - i3, g2 = 1 << _2;
@@ -27712,34 +27741,34 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
27712
27741
  t3[s4] = 255 & r2, t3[s4 + 1] = r2 >>> 8, t3[s4 + 2] = 255 ^ t3[s4], t3[s4 + 3] = 255 ^ t3[s4 + 1];
27713
27742
  for (var n2 = 0; n2 < r2; ++n2) t3[s4 + n2 + 4] = e4[n2];
27714
27743
  return 8 * (s4 + 4 + r2);
27715
- }, Pr = function(t3, i3, e4, r2, s4, n2, o2, a4, l2, u3, h4) {
27716
- wr(i3, h4++, e4), ++s4[256];
27744
+ }, Pr = function(t3, i3, e4, r2, s4, n2, o2, a4, l2, u3, h5) {
27745
+ wr(i3, h5++, e4), ++s4[256];
27717
27746
  for (var d4 = $r(s4, 15), v2 = d4[0], c3 = d4[1], f2 = $r(n2, 15), p2 = f2[0], _2 = f2[1], g2 = xr(v2), m4 = g2[0], b3 = g2[1], y4 = xr(p2), w3 = y4[0], S4 = y4[1], $2 = new ir(19), k3 = 0; k3 < m4.length; ++k3) $2[31 & m4[k3]]++;
27718
27747
  for (k3 = 0; k3 < w3.length; ++k3) $2[31 & w3[k3]]++;
27719
27748
  for (var x3 = $r($2, 7), E3 = x3[0], I3 = x3[1], P2 = 19; P2 > 4 && !E3[nr[P2 - 1]]; --P2) ;
27720
27749
  var R3, T3, M4, C2, O3 = u3 + 5 << 3, F2 = Er(s4, pr) + Er(n2, _r) + o2, A2 = Er(s4, v2) + Er(n2, p2) + o2 + 14 + 3 * P2 + Er($2, E3) + (2 * $2[16] + 3 * $2[17] + 7 * $2[18]);
27721
- if (O3 <= F2 && O3 <= A2) return Ir(i3, h4, t3.subarray(l2, l2 + u3));
27722
- if (wr(i3, h4, 1 + (A2 < F2)), h4 += 2, A2 < F2) {
27750
+ if (O3 <= F2 && O3 <= A2) return Ir(i3, h5, t3.subarray(l2, l2 + u3));
27751
+ if (wr(i3, h5, 1 + (A2 < F2)), h5 += 2, A2 < F2) {
27723
27752
  R3 = fr(v2, c3), T3 = v2, M4 = fr(p2, _2), C2 = p2;
27724
27753
  var D4 = fr(E3, I3);
27725
- wr(i3, h4, b3 - 257), wr(i3, h4 + 5, S4 - 1), wr(i3, h4 + 10, P2 - 4), h4 += 14;
27726
- for (k3 = 0; k3 < P2; ++k3) wr(i3, h4 + 3 * k3, E3[nr[k3]]);
27727
- h4 += 3 * P2;
27754
+ wr(i3, h5, b3 - 257), wr(i3, h5 + 5, S4 - 1), wr(i3, h5 + 10, P2 - 4), h5 += 14;
27755
+ for (k3 = 0; k3 < P2; ++k3) wr(i3, h5 + 3 * k3, E3[nr[k3]]);
27756
+ h5 += 3 * P2;
27728
27757
  for (var L3 = [m4, w3], N2 = 0; N2 < 2; ++N2) {
27729
27758
  var j2 = L3[N2];
27730
27759
  for (k3 = 0; k3 < j2.length; ++k3) {
27731
27760
  var z3 = 31 & j2[k3];
27732
- wr(i3, h4, D4[z3]), h4 += E3[z3], z3 > 15 && (wr(i3, h4, j2[k3] >>> 5 & 127), h4 += j2[k3] >>> 12);
27761
+ wr(i3, h5, D4[z3]), h5 += E3[z3], z3 > 15 && (wr(i3, h5, j2[k3] >>> 5 & 127), h5 += j2[k3] >>> 12);
27733
27762
  }
27734
27763
  }
27735
27764
  } else R3 = gr, T3 = pr, M4 = mr, C2 = _r;
27736
27765
  for (k3 = 0; k3 < a4; ++k3) if (r2[k3] > 255) {
27737
27766
  z3 = r2[k3] >>> 18 & 31;
27738
- Sr(i3, h4, R3[z3 + 257]), h4 += T3[z3 + 257], z3 > 7 && (wr(i3, h4, r2[k3] >>> 23 & 31), h4 += rr[z3]);
27767
+ Sr(i3, h5, R3[z3 + 257]), h5 += T3[z3 + 257], z3 > 7 && (wr(i3, h5, r2[k3] >>> 23 & 31), h5 += rr[z3]);
27739
27768
  var U2 = 31 & r2[k3];
27740
- Sr(i3, h4, M4[U2]), h4 += C2[U2], U2 > 3 && (Sr(i3, h4, r2[k3] >>> 5 & 8191), h4 += sr[U2]);
27741
- } else Sr(i3, h4, R3[r2[k3]]), h4 += T3[r2[k3]];
27742
- return Sr(i3, h4, R3[256]), h4 + T3[256];
27769
+ Sr(i3, h5, M4[U2]), h5 += C2[U2], U2 > 3 && (Sr(i3, h5, r2[k3] >>> 5 & 8191), h5 += sr[U2]);
27770
+ } else Sr(i3, h5, R3[r2[k3]]), h5 += T3[r2[k3]];
27771
+ return Sr(i3, h5, R3[256]), h5 + T3[256];
27743
27772
  }, Rr = new er([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]), Tr = function() {
27744
27773
  for (var t3 = new er(256), i3 = 0; i3 < 256; ++i3) {
27745
27774
  for (var e4 = i3, r2 = 9; --r2; ) e4 = (1 & e4 && 3988292384) ^ e4 >>> 1;
@@ -27757,31 +27786,31 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
27757
27786
  }, Cr = function(t3, i3, e4, r2, s4) {
27758
27787
  return function(t4, i4, e5, r3, s5, n2) {
27759
27788
  var o2 = t4.length, a4 = new tr(r3 + o2 + 5 * (1 + Math.floor(o2 / 7e3)) + s5), l2 = a4.subarray(r3, a4.length - s5), u3 = 0;
27760
- if (!i4 || o2 < 8) for (var h4 = 0; h4 <= o2; h4 += 65535) {
27761
- var d4 = h4 + 65535;
27762
- d4 < o2 ? u3 = Ir(l2, u3, t4.subarray(h4, d4)) : (l2[h4] = n2, u3 = Ir(l2, u3, t4.subarray(h4, o2)));
27789
+ if (!i4 || o2 < 8) for (var h5 = 0; h5 <= o2; h5 += 65535) {
27790
+ var d4 = h5 + 65535;
27791
+ d4 < o2 ? u3 = Ir(l2, u3, t4.subarray(h5, d4)) : (l2[h5] = n2, u3 = Ir(l2, u3, t4.subarray(h5, o2)));
27763
27792
  }
27764
27793
  else {
27765
27794
  for (var v2 = Rr[i4 - 1], c3 = v2 >>> 13, f2 = 8191 & v2, p2 = (1 << e5) - 1, _2 = new ir(32768), g2 = new ir(p2 + 1), m4 = Math.ceil(e5 / 3), b3 = 2 * m4, y4 = function(i5) {
27766
27795
  return (t4[i5] ^ t4[i5 + 1] << m4 ^ t4[i5 + 2] << b3) & p2;
27767
- }, w3 = new er(25e3), S4 = new ir(288), $2 = new ir(32), k3 = 0, x3 = 0, E3 = (h4 = 0, 0), I3 = 0, P2 = 0; h4 < o2; ++h4) {
27768
- var R3 = y4(h4), T3 = 32767 & h4, M4 = g2[R3];
27769
- if (_2[T3] = M4, g2[R3] = T3, I3 <= h4) {
27770
- var C2 = o2 - h4;
27796
+ }, w3 = new er(25e3), S4 = new ir(288), $2 = new ir(32), k3 = 0, x3 = 0, E3 = (h5 = 0, 0), I3 = 0, P2 = 0; h5 < o2; ++h5) {
27797
+ var R3 = y4(h5), T3 = 32767 & h5, M4 = g2[R3];
27798
+ if (_2[T3] = M4, g2[R3] = T3, I3 <= h5) {
27799
+ var C2 = o2 - h5;
27771
27800
  if ((k3 > 7e3 || E3 > 24576) && C2 > 423) {
27772
- u3 = Pr(t4, l2, 0, w3, S4, $2, x3, E3, P2, h4 - P2, u3), E3 = k3 = x3 = 0, P2 = h4;
27801
+ u3 = Pr(t4, l2, 0, w3, S4, $2, x3, E3, P2, h5 - P2, u3), E3 = k3 = x3 = 0, P2 = h5;
27773
27802
  for (var O3 = 0; O3 < 286; ++O3) S4[O3] = 0;
27774
27803
  for (O3 = 0; O3 < 30; ++O3) $2[O3] = 0;
27775
27804
  }
27776
27805
  var F2 = 2, A2 = 0, D4 = f2, L3 = T3 - M4 & 32767;
27777
- if (C2 > 2 && R3 == y4(h4 - L3)) for (var N2 = Math.min(c3, C2) - 1, j2 = Math.min(32767, h4), z3 = Math.min(258, C2); L3 <= j2 && --D4 && T3 != M4; ) {
27778
- if (t4[h4 + F2] == t4[h4 + F2 - L3]) {
27779
- for (var U2 = 0; U2 < z3 && t4[h4 + U2] == t4[h4 + U2 - L3]; ++U2) ;
27806
+ if (C2 > 2 && R3 == y4(h5 - L3)) for (var N2 = Math.min(c3, C2) - 1, j2 = Math.min(32767, h5), z3 = Math.min(258, C2); L3 <= j2 && --D4 && T3 != M4; ) {
27807
+ if (t4[h5 + F2] == t4[h5 + F2 - L3]) {
27808
+ for (var U2 = 0; U2 < z3 && t4[h5 + U2] == t4[h5 + U2 - L3]; ++U2) ;
27780
27809
  if (U2 > F2) {
27781
27810
  if (F2 = U2, A2 = L3, U2 > N2) break;
27782
27811
  var q3 = Math.min(L3, U2 - 2), B3 = 0;
27783
27812
  for (O3 = 0; O3 < q3; ++O3) {
27784
- var H5 = h4 - L3 + O3 + 32768 & 32767, W2 = H5 - _2[H5] + 32768 & 32767;
27813
+ var H5 = h5 - L3 + O3 + 32768 & 32767, W2 = H5 - _2[H5] + 32768 & 32767;
27785
27814
  W2 > B3 && (B3 = W2, M4 = H5);
27786
27815
  }
27787
27816
  }
@@ -27791,14 +27820,14 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
27791
27820
  if (A2) {
27792
27821
  w3[E3++] = 268435456 | ur[F2] << 18 | hr[A2];
27793
27822
  var G3 = 31 & ur[F2], J2 = 31 & hr[A2];
27794
- x3 += rr[G3] + sr[J2], ++S4[257 + G3], ++$2[J2], I3 = h4 + F2, ++k3;
27795
- } else w3[E3++] = t4[h4], ++S4[t4[h4]];
27823
+ x3 += rr[G3] + sr[J2], ++S4[257 + G3], ++$2[J2], I3 = h5 + F2, ++k3;
27824
+ } else w3[E3++] = t4[h5], ++S4[t4[h5]];
27796
27825
  }
27797
27826
  }
27798
- u3 = Pr(t4, l2, n2, w3, S4, $2, x3, E3, P2, h4 - P2, u3);
27827
+ u3 = Pr(t4, l2, n2, w3, S4, $2, x3, E3, P2, h5 - P2, u3);
27799
27828
  }
27800
27829
  return yr(a4, 0, r3 + br(u3) + s5);
27801
- }(t3, null == i3.level ? 6 : i3.level, null == i3.mem ? Math.ceil(1.5 * Math.max(8, Math.min(13, Math.log(t3.length)))) : 12 + i3.mem, e4, r2, true);
27830
+ }(t3, null == i3.level ? 6 : i3.level, null == i3.mem ? Math.ceil(1.5 * Math.max(8, Math.min(13, Math.log(t3.length)))) : 12 + i3.mem, e4, r2, !s4);
27802
27831
  }, Or = function(t3, i3, e4) {
27803
27832
  for (; e4; ++i3) t3[i3] = e4, e4 >>>= 8;
27804
27833
  }, Fr = function(t3, i3) {
@@ -27979,10 +28008,10 @@ function hs(t3) {
27979
28008
  return function(t4, i3) {
27980
28009
  for (var e4 = "", r2 = 0; r2 < t4.length; ) {
27981
28010
  var s4 = t4[r2++];
27982
- e4 += String.fromCharCode(s4);
28011
+ s4 < 128 || i3 ? e4 += String.fromCharCode(s4) : s4 < 224 ? e4 += String.fromCharCode((31 & s4) << 6 | 63 & t4[r2++]) : s4 < 240 ? e4 += String.fromCharCode((15 & s4) << 12 | (63 & t4[r2++]) << 6 | 63 & t4[r2++]) : (s4 = ((15 & s4) << 18 | (63 & t4[r2++]) << 12 | (63 & t4[r2++]) << 6 | 63 & t4[r2++]) - 65536, e4 += String.fromCharCode(55296 | s4 >> 10, 56320 | 1023 & s4));
27983
28012
  }
27984
28013
  return e4;
27985
- }(Dr(Lr(JSON.stringify(t3))));
28014
+ }(Dr(Lr(JSON.stringify(t3))), true);
27986
28015
  }
27987
28016
  function ds(t3) {
27988
28017
  return t3.type === qe.Custom && "sessionIdle" === t3.data.tag;
@@ -28022,20 +28051,20 @@ class vs {
28022
28051
  return null != i3 ? i3 : t3;
28023
28052
  }
28024
28053
  get Ut() {
28025
- var t3, i3, e4, r2, s4, n2, o2 = this._instance.config.session_recording.captureCanvas, a4 = this._instance.get_property(bt), l2 = null !== (t3 = null !== (i3 = null == o2 ? void 0 : o2.recordCanvas) && void 0 !== i3 ? i3 : null == a4 ? void 0 : a4.enabled) && void 0 !== t3 && t3, u3 = null !== (e4 = null !== (r2 = null == o2 ? void 0 : o2.canvasFps) && void 0 !== r2 ? r2 : null == a4 ? void 0 : a4.fps) && void 0 !== e4 ? e4 : 4, h4 = null !== (s4 = null !== (n2 = null == o2 ? void 0 : o2.canvasQuality) && void 0 !== n2 ? n2 : null == a4 ? void 0 : a4.quality) && void 0 !== s4 ? s4 : 0.4;
28026
- if ("string" == typeof h4) {
28027
- var d4 = parseFloat(h4);
28028
- h4 = isNaN(d4) ? 0.4 : d4;
28054
+ var t3, i3, e4, r2, s4, n2, o2 = this._instance.config.session_recording.captureCanvas, a4 = this._instance.get_property(bt), l2 = null !== (t3 = null !== (i3 = null == o2 ? void 0 : o2.recordCanvas) && void 0 !== i3 ? i3 : null == a4 ? void 0 : a4.enabled) && void 0 !== t3 && t3, u3 = null !== (e4 = null !== (r2 = null == o2 ? void 0 : o2.canvasFps) && void 0 !== r2 ? r2 : null == a4 ? void 0 : a4.fps) && void 0 !== e4 ? e4 : 4, h5 = null !== (s4 = null !== (n2 = null == o2 ? void 0 : o2.canvasQuality) && void 0 !== n2 ? n2 : null == a4 ? void 0 : a4.quality) && void 0 !== s4 ? s4 : 0.4;
28055
+ if ("string" == typeof h5) {
28056
+ var d4 = parseFloat(h5);
28057
+ h5 = isNaN(d4) ? 0.4 : d4;
28029
28058
  }
28030
- return { enabled: l2, fps: se(u3, 0, 12, "canvas recording fps", 4), quality: se(h4, 0, 1, "canvas recording quality", 0.4) };
28059
+ return { enabled: l2, fps: se(u3, 0, 12, "canvas recording fps", 4), quality: se(h5, 0, 1, "canvas recording quality", 0.4) };
28031
28060
  }
28032
28061
  get qt() {
28033
28062
  var t3, i3, e4 = this._instance.get_property(gt), r2 = { recordHeaders: null == (t3 = this._instance.config.session_recording) ? void 0 : t3.recordHeaders, recordBody: null == (i3 = this._instance.config.session_recording) ? void 0 : i3.recordBody }, s4 = (null == r2 ? void 0 : r2.recordHeaders) || (null == e4 ? void 0 : e4.recordHeaders), n2 = (null == r2 ? void 0 : r2.recordBody) || (null == e4 ? void 0 : e4.recordBody), o2 = I$1(this._instance.config.capture_performance) ? this._instance.config.capture_performance.network_timing : this._instance.config.capture_performance, a4 = !!(A(o2) ? o2 : null == e4 ? void 0 : e4.capturePerformance);
28034
28063
  return s4 || n2 || a4 ? { recordHeaders: s4, recordBody: n2, recordPerformance: a4 } : void 0;
28035
28064
  }
28036
28065
  get Bt() {
28037
- var t3, i3, e4, r2, s4, n2, o2 = this._instance.get_property(mt), a4 = { maskAllInputs: null == (t3 = this._instance.config.session_recording) ? void 0 : t3.maskAllInputs, maskTextSelector: null == (i3 = this._instance.config.session_recording) ? void 0 : i3.maskTextSelector, blockSelector: null == (e4 = this._instance.config.session_recording) ? void 0 : e4.blockSelector }, l2 = null !== (r2 = null == a4 ? void 0 : a4.maskAllInputs) && void 0 !== r2 ? r2 : null == o2 ? void 0 : o2.maskAllInputs, u3 = null !== (s4 = null == a4 ? void 0 : a4.maskTextSelector) && void 0 !== s4 ? s4 : null == o2 ? void 0 : o2.maskTextSelector, h4 = null !== (n2 = null == a4 ? void 0 : a4.blockSelector) && void 0 !== n2 ? n2 : null == o2 ? void 0 : o2.blockSelector;
28038
- return R(l2) && R(u3) && R(h4) ? void 0 : { maskAllInputs: null == l2 || l2, maskTextSelector: u3, blockSelector: h4 };
28066
+ var t3, i3, e4, r2, s4, n2, o2 = this._instance.get_property(mt), a4 = { maskAllInputs: null == (t3 = this._instance.config.session_recording) ? void 0 : t3.maskAllInputs, maskTextSelector: null == (i3 = this._instance.config.session_recording) ? void 0 : i3.maskTextSelector, blockSelector: null == (e4 = this._instance.config.session_recording) ? void 0 : e4.blockSelector }, l2 = null !== (r2 = null == a4 ? void 0 : a4.maskAllInputs) && void 0 !== r2 ? r2 : null == o2 ? void 0 : o2.maskAllInputs, u3 = null !== (s4 = null == a4 ? void 0 : a4.maskTextSelector) && void 0 !== s4 ? s4 : null == o2 ? void 0 : o2.maskTextSelector, h5 = null !== (n2 = null == a4 ? void 0 : a4.blockSelector) && void 0 !== n2 ? n2 : null == o2 ? void 0 : o2.blockSelector;
28067
+ return R(l2) && R(u3) && R(h5) ? void 0 : { maskAllInputs: null == l2 || l2, maskTextSelector: u3, blockSelector: h5 };
28039
28068
  }
28040
28069
  get Ht() {
28041
28070
  var t3 = this._instance.get_property(yt);
@@ -28112,10 +28141,10 @@ class vs {
28112
28141
  ki(t3) {
28113
28142
  if (this._instance.persistence) {
28114
28143
  var i3, e4 = this._instance.persistence, r2 = () => {
28115
- var i4, r3, s4, n2, o2, a4, l2, u3, h4, d4 = null == (i4 = t3.sessionRecording) ? void 0 : i4.sampleRate, v2 = O(d4) ? null : parseFloat(d4);
28144
+ var i4, r3, s4, n2, o2, a4, l2, u3, h5, d4 = null == (i4 = t3.sessionRecording) ? void 0 : i4.sampleRate, v2 = O(d4) ? null : parseFloat(d4);
28116
28145
  O(v2) && this.wi();
28117
28146
  var c3 = null == (r3 = t3.sessionRecording) ? void 0 : r3.minimumDurationMilliseconds;
28118
- e4.register({ [pt]: !!t3.sessionRecording, [_t]: null == (s4 = t3.sessionRecording) ? void 0 : s4.consoleLogRecordingEnabled, [gt]: B$1({ capturePerformance: t3.capturePerformance }, null == (n2 = t3.sessionRecording) ? void 0 : n2.networkPayloadCapture), [mt]: null == (o2 = t3.sessionRecording) ? void 0 : o2.masking, [bt]: { enabled: null == (a4 = t3.sessionRecording) ? void 0 : a4.recordCanvas, fps: null == (l2 = t3.sessionRecording) ? void 0 : l2.canvasFps, quality: null == (u3 = t3.sessionRecording) ? void 0 : u3.canvasQuality }, [yt]: v2, [wt]: R(c3) ? null : c3, [St]: null == (h4 = t3.sessionRecording) ? void 0 : h4.scriptConfig });
28147
+ e4.register({ [pt]: !!t3.sessionRecording, [_t]: null == (s4 = t3.sessionRecording) ? void 0 : s4.consoleLogRecordingEnabled, [gt]: B$1({ capturePerformance: t3.capturePerformance }, null == (n2 = t3.sessionRecording) ? void 0 : n2.networkPayloadCapture), [mt]: null == (o2 = t3.sessionRecording) ? void 0 : o2.masking, [bt]: { enabled: null == (a4 = t3.sessionRecording) ? void 0 : a4.recordCanvas, fps: null == (l2 = t3.sessionRecording) ? void 0 : l2.canvasFps, quality: null == (u3 = t3.sessionRecording) ? void 0 : u3.canvasQuality }, [yt]: v2, [wt]: R(c3) ? null : c3, [St]: null == (h5 = t3.sessionRecording) ? void 0 : h5.scriptConfig });
28119
28148
  };
28120
28149
  r2(), null == (i3 = this.ei) || i3.call(this), this.ei = this.Ft.onSessionId(r2);
28121
28150
  }
@@ -28240,8 +28269,8 @@ class vs {
28240
28269
  ns.error("could not compress event - will use uncompressed event", t5);
28241
28270
  }
28242
28271
  return t4;
28243
- }(n2) : n2, h4 = { $snapshot_bytes: ze(u3), $snapshot_data: u3, $session_id: this.Mt, $window_id: this.ci };
28244
- this.status !== jr ? this.zi(h4) : this.fi();
28272
+ }(n2) : n2, h5 = { $snapshot_bytes: ze(u3), $snapshot_data: u3, $session_id: this.Mt, $window_id: this.ci };
28273
+ this.status !== jr ? this.zi(h5) : this.fi();
28245
28274
  }
28246
28275
  }
28247
28276
  }
@@ -28360,12 +28389,12 @@ var ps = "posthog-js";
28360
28389
  function _s(t3, i3) {
28361
28390
  var { organization: e4, projectId: r2, prefix: s4, severityAllowList: n2 = ["error"] } = void 0 === i3 ? {} : i3;
28362
28391
  return (i4) => {
28363
- var o2, a4, l2, u3, h4;
28392
+ var o2, a4, l2, u3, h5;
28364
28393
  if (!("*" === n2 || n2.includes(i4.level)) || !t3.__loaded) return i4;
28365
28394
  i4.tags || (i4.tags = {});
28366
28395
  var d4 = t3.requestRouter.endpointFor("ui", "/project/" + t3.config.token + "/person/" + t3.get_distinct_id());
28367
28396
  i4.tags["PostHog Person URL"] = d4, t3.sessionRecordingStarted() && (i4.tags["PostHog Recording URL"] = t3.get_session_replay_url({ withTimestamp: true }));
28368
- var v2 = (null == (o2 = i4.exception) ? void 0 : o2.values) || [], c3 = v2.map((t4) => B$1({}, t4, { stacktrace: t4.stacktrace ? B$1({}, t4.stacktrace, { type: "raw", frames: (t4.stacktrace.frames || []).map((t5) => B$1({}, t5, { platform: "web:javascript" })) }) : void 0 })), f2 = { $exception_message: (null == (a4 = v2[0]) ? void 0 : a4.value) || i4.message, $exception_type: null == (l2 = v2[0]) ? void 0 : l2.type, $exception_personURL: d4, $exception_level: i4.level, $exception_list: c3, $sentry_event_id: i4.event_id, $sentry_exception: i4.exception, $sentry_exception_message: (null == (u3 = v2[0]) ? void 0 : u3.value) || i4.message, $sentry_exception_type: null == (h4 = v2[0]) ? void 0 : h4.type, $sentry_tags: i4.tags };
28397
+ var v2 = (null == (o2 = i4.exception) ? void 0 : o2.values) || [], c3 = v2.map((t4) => B$1({}, t4, { stacktrace: t4.stacktrace ? B$1({}, t4.stacktrace, { type: "raw", frames: (t4.stacktrace.frames || []).map((t5) => B$1({}, t5, { platform: "web:javascript" })) }) : void 0 })), f2 = { $exception_message: (null == (a4 = v2[0]) ? void 0 : a4.value) || i4.message, $exception_type: null == (l2 = v2[0]) ? void 0 : l2.type, $exception_personURL: d4, $exception_level: i4.level, $exception_list: c3, $sentry_event_id: i4.event_id, $sentry_exception: i4.exception, $sentry_exception_message: (null == (u3 = v2[0]) ? void 0 : u3.value) || i4.message, $sentry_exception_type: null == (h5 = v2[0]) ? void 0 : h5.type, $sentry_tags: i4.tags };
28369
28398
  return e4 && r2 && (f2.$sentry_url = (s4 || "https://sentry.io/organizations/") + e4 + "/issues/?project=" + r2 + "&query=" + i4.event_id), t3.exceptions.sendExceptionEvent(f2), i4;
28370
28399
  };
28371
28400
  }
@@ -28605,11 +28634,11 @@ class Ms {
28605
28634
  if (!e4) return { $pageview_id: i3 };
28606
28635
  var r2 = { $pageview_id: i3, $prev_pageview_id: e4.pageViewId }, s4 = this._instance.scrollManager.getContext();
28607
28636
  if (s4 && !this._instance.config.disable_scroll_properties) {
28608
- var { maxScrollHeight: n2, lastScrollY: o2, maxScrollY: a4, maxContentHeight: l2, lastContentY: u3, maxContentY: h4 } = s4;
28609
- if (!(R(n2) || R(o2) || R(a4) || R(l2) || R(u3) || R(h4))) {
28610
- n2 = Math.ceil(n2), o2 = Math.ceil(o2), a4 = Math.ceil(a4), l2 = Math.ceil(l2), u3 = Math.ceil(u3), h4 = Math.ceil(h4);
28611
- var d4 = n2 <= 1 ? 1 : se(o2 / n2, 0, 1), v2 = n2 <= 1 ? 1 : se(a4 / n2, 0, 1), c3 = l2 <= 1 ? 1 : se(u3 / l2, 0, 1), f2 = l2 <= 1 ? 1 : se(h4 / l2, 0, 1);
28612
- r2 = V(r2, { $prev_pageview_last_scroll: o2, $prev_pageview_last_scroll_percentage: d4, $prev_pageview_max_scroll: a4, $prev_pageview_max_scroll_percentage: v2, $prev_pageview_last_content: u3, $prev_pageview_last_content_percentage: c3, $prev_pageview_max_content: h4, $prev_pageview_max_content_percentage: f2 });
28637
+ var { maxScrollHeight: n2, lastScrollY: o2, maxScrollY: a4, maxContentHeight: l2, lastContentY: u3, maxContentY: h5 } = s4;
28638
+ if (!(R(n2) || R(o2) || R(a4) || R(l2) || R(u3) || R(h5))) {
28639
+ n2 = Math.ceil(n2), o2 = Math.ceil(o2), a4 = Math.ceil(a4), l2 = Math.ceil(l2), u3 = Math.ceil(u3), h5 = Math.ceil(h5);
28640
+ var d4 = n2 <= 1 ? 1 : se(o2 / n2, 0, 1), v2 = n2 <= 1 ? 1 : se(a4 / n2, 0, 1), c3 = l2 <= 1 ? 1 : se(u3 / l2, 0, 1), f2 = l2 <= 1 ? 1 : se(h5 / l2, 0, 1);
28641
+ r2 = V(r2, { $prev_pageview_last_scroll: o2, $prev_pageview_last_scroll_percentage: d4, $prev_pageview_max_scroll: a4, $prev_pageview_max_scroll_percentage: v2, $prev_pageview_last_content: u3, $prev_pageview_last_content_percentage: c3, $prev_pageview_max_content: h5, $prev_pageview_max_content_percentage: f2 });
28613
28642
  }
28614
28643
  }
28615
28644
  return e4.pathname && (r2.$prev_pageview_pathname = e4.pathname), e4.timestamp && (r2.$prev_pageview_duration = (t3.getTime() - e4.timestamp.getTime()) / 1e3), r2;
@@ -28639,13 +28668,13 @@ var Cs = function(t3) {
28639
28668
  }
28640
28669
  if (e4 === _.Base64) {
28641
28670
  var n2 = function(t4) {
28642
- var i4, e5, r3, s5, n3, o3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", a5 = 0, l2 = 0, u3 = "", h4 = [];
28671
+ var i4, e5, r3, s5, n3, o3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", a5 = 0, l2 = 0, u3 = "", h5 = [];
28643
28672
  if (!t4) return t4;
28644
28673
  t4 = Cs(t4);
28645
28674
  do {
28646
- i4 = (n3 = t4.charCodeAt(a5++) << 16 | t4.charCodeAt(a5++) << 8 | t4.charCodeAt(a5++)) >> 18 & 63, e5 = n3 >> 12 & 63, r3 = n3 >> 6 & 63, s5 = 63 & n3, h4[l2++] = o3.charAt(i4) + o3.charAt(e5) + o3.charAt(r3) + o3.charAt(s5);
28675
+ i4 = (n3 = t4.charCodeAt(a5++) << 16 | t4.charCodeAt(a5++) << 8 | t4.charCodeAt(a5++)) >> 18 & 63, e5 = n3 >> 12 & 63, r3 = n3 >> 6 & 63, s5 = 63 & n3, h5[l2++] = o3.charAt(i4) + o3.charAt(e5) + o3.charAt(r3) + o3.charAt(s5);
28647
28676
  } while (a5 < t4.length);
28648
- switch (u3 = h4.join(""), t4.length % 3) {
28677
+ switch (u3 = h5.join(""), t4.length % 3) {
28649
28678
  case 1:
28650
28679
  u3 = u3.slice(0, -2) + "==";
28651
28680
  break;
@@ -28913,8 +28942,8 @@ class vo {
28913
28942
  if (!e4 && !i3) return t3 || {};
28914
28943
  var r2 = V({}, t3 || {}), s4 = [.../* @__PURE__ */ new Set([...Object.keys(e4 || {}), ...Object.keys(i3 || {})])];
28915
28944
  for (var n2 of s4) {
28916
- var o2, a4, l2 = r2[n2], u3 = null == i3 ? void 0 : i3[n2], h4 = R(u3) ? null !== (o2 = null == l2 ? void 0 : l2.enabled) && void 0 !== o2 && o2 : !!u3, d4 = R(u3) ? l2.variant : "string" == typeof u3 ? u3 : void 0, v2 = null == e4 ? void 0 : e4[n2], c3 = B$1({}, l2, { enabled: h4, variant: h4 ? null != d4 ? d4 : null == l2 ? void 0 : l2.variant : void 0 });
28917
- if (h4 !== (null == l2 ? void 0 : l2.enabled) && (c3.original_enabled = null == l2 ? void 0 : l2.enabled), d4 !== (null == l2 ? void 0 : l2.variant) && (c3.original_variant = null == l2 ? void 0 : l2.variant), v2) c3.metadata = B$1({}, null == l2 ? void 0 : l2.metadata, { payload: v2, original_payload: null == l2 || null == (a4 = l2.metadata) ? void 0 : a4.payload });
28945
+ var o2, a4, l2 = r2[n2], u3 = null == i3 ? void 0 : i3[n2], h5 = R(u3) ? null !== (o2 = null == l2 ? void 0 : l2.enabled) && void 0 !== o2 && o2 : !!u3, d4 = R(u3) ? l2.variant : "string" == typeof u3 ? u3 : void 0, v2 = null == e4 ? void 0 : e4[n2], c3 = B$1({}, l2, { enabled: h5, variant: h5 ? null != d4 ? d4 : null == l2 ? void 0 : l2.variant : void 0 });
28946
+ if (h5 !== (null == l2 ? void 0 : l2.enabled) && (c3.original_enabled = null == l2 ? void 0 : l2.enabled), d4 !== (null == l2 ? void 0 : l2.variant) && (c3.original_variant = null == l2 ? void 0 : l2.variant), v2) c3.metadata = B$1({}, null == l2 ? void 0 : l2.metadata, { payload: v2, original_payload: null == l2 || null == (a4 = l2.metadata) ? void 0 : a4.payload });
28918
28947
  r2[n2] = c3;
28919
28948
  }
28920
28949
  return this.pe || (eo.warn(" Overriding feature flag details!", { flagDetails: t3, overriddenPayloads: e4, finalDetails: r2 }), this.pe = true), r2;
@@ -28971,11 +29000,11 @@ class vo {
28971
29000
  if (void 0 === i3 && (i3 = {}), this._e || this.getFlags() && this.getFlags().length > 0) {
28972
29001
  var e4 = this.getFlagVariants()[t3], r2 = "" + e4, s4 = this._instance.get_property(ao) || void 0, n2 = this._instance.get_property(Ft) || {};
28973
29002
  if ((i3.send_event || !("send_event" in i3)) && (!(t3 in n2) || !n2[t3].includes(r2))) {
28974
- var o2, a4, l2, u3, h4, d4, v2, c3, f2;
29003
+ var o2, a4, l2, u3, h5, d4, v2, c3, f2;
28975
29004
  x(n2[t3]) ? n2[t3].push(r2) : n2[t3] = [r2], null == (o2 = this._instance.persistence) || o2.register({ [Ft]: n2 });
28976
29005
  var p2 = this.getFeatureFlagDetails(t3), _2 = { $feature_flag: t3, $feature_flag_response: e4, $feature_flag_payload: this.getFeatureFlagPayload(t3) || null, $feature_flag_request_id: s4, $feature_flag_bootstrapped_response: (null == (a4 = this._instance.config.bootstrap) || null == (a4 = a4.featureFlags) ? void 0 : a4[t3]) || null, $feature_flag_bootstrapped_payload: (null == (l2 = this._instance.config.bootstrap) || null == (l2 = l2.featureFlagPayloads) ? void 0 : l2[t3]) || null, $used_bootstrap_value: !this.we };
28977
29006
  R(null == p2 || null == (u3 = p2.metadata) ? void 0 : u3.version) || (_2.$feature_flag_version = p2.metadata.version);
28978
- var g2, m4 = null !== (h4 = null == p2 || null == (d4 = p2.reason) ? void 0 : d4.description) && void 0 !== h4 ? h4 : null == p2 || null == (v2 = p2.reason) ? void 0 : v2.code;
29007
+ var g2, m4 = null !== (h5 = null == p2 || null == (d4 = p2.reason) ? void 0 : d4.description) && void 0 !== h5 ? h5 : null == p2 || null == (v2 = p2.reason) ? void 0 : v2.code;
28979
29008
  if (m4 && (_2.$feature_flag_reason = m4), null != p2 && null != (c3 = p2.metadata) && c3.id && (_2.$feature_flag_id = p2.metadata.id), R(null == p2 ? void 0 : p2.original_variant) && R(null == p2 ? void 0 : p2.original_enabled) || (_2.$feature_flag_original_response = R(p2.original_variant) ? p2.original_enabled : p2.original_variant), null != p2 && null != (f2 = p2.metadata) && f2.original_payload) _2.$feature_flag_original_payload = null == p2 || null == (g2 = p2.metadata) ? void 0 : g2.original_payload;
28980
29009
  this._instance.capture("$feature_flag_called", _2);
28981
29010
  }
@@ -29017,9 +29046,9 @@ class vo {
29017
29046
  var u3 = t4.requestId;
29018
29047
  if (x(a4)) {
29019
29048
  eo.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");
29020
- var h4 = {};
29021
- if (a4) for (var d4 = 0; d4 < a4.length; d4++) h4[a4[d4]] = true;
29022
- i4 && i4.register({ [ro]: a4, [It]: h4 });
29049
+ var h5 = {};
29050
+ if (a4) for (var d4 = 0; d4 < a4.length; d4++) h5[a4[d4]] = true;
29051
+ i4 && i4.register({ [ro]: a4, [It]: h5 });
29023
29052
  } else {
29024
29053
  var v2 = a4, c3 = l2, f2 = o2;
29025
29054
  t4.errorsWhileComputingFlags && (v2 = B$1({}, e5, v2), c3 = B$1({}, r3, c3), f2 = B$1({}, s5, f2)), i4 && i4.register(B$1({ [ro]: Object.keys(lo(v2)), [It]: v2 || {}, [no]: c3 || {}, [Rt]: f2 || {} }, u3 ? { [ao]: u3 } : {}));
@@ -29849,10 +29878,10 @@ class qo {
29849
29878
  }
29850
29879
  checkAndGetSessionAndWindowId(t3, i3) {
29851
29880
  if (void 0 === t3 && (t3 = false), void 0 === i3 && (i3 = null), this.S.__preview_experimental_cookieless_mode) throw new Error("checkAndGetSessionAndWindowId should not be called in __preview_experimental_cookieless_mode");
29852
- var e4 = i3 || (/* @__PURE__ */ new Date()).getTime(), [r2, s4, n2] = this.Xr(), o2 = this.Yr(), a4 = F(n2) && n2 > 0 && Math.abs(e4 - n2) > 864e5, l2 = false, u3 = !s4, h4 = !t3 && Math.abs(e4 - r2) > this.sessionTimeoutMs;
29853
- u3 || h4 || a4 ? (s4 = this.Ur(), o2 = this.qr(), Uo.info("new session ID generated", { sessionId: s4, windowId: o2, changeReason: { noSessionId: u3, activityTimeout: h4, sessionPastMaximumLength: a4 } }), n2 = e4, l2 = true) : o2 || (o2 = this.qr(), l2 = true);
29881
+ var e4 = i3 || (/* @__PURE__ */ new Date()).getTime(), [r2, s4, n2] = this.Xr(), o2 = this.Yr(), a4 = F(n2) && n2 > 0 && Math.abs(e4 - n2) > 864e5, l2 = false, u3 = !s4, h5 = !t3 && Math.abs(e4 - r2) > this.sessionTimeoutMs;
29882
+ u3 || h5 || a4 ? (s4 = this.Ur(), o2 = this.qr(), Uo.info("new session ID generated", { sessionId: s4, windowId: o2, changeReason: { noSessionId: u3, activityTimeout: h5, sessionPastMaximumLength: a4 } }), n2 = e4, l2 = true) : o2 || (o2 = this.qr(), l2 = true);
29854
29883
  var d4 = 0 === r2 || !t3 || a4 ? e4 : r2, v2 = 0 === n2 ? (/* @__PURE__ */ new Date()).getTime() : n2;
29855
- return this.Kr(o2), this.Jr(s4, d4, v2), t3 || this.Br(), l2 && this.zr.forEach((t4) => t4(s4, o2, l2 ? { noSessionId: u3, activityTimeout: h4, sessionPastMaximumLength: a4 } : void 0)), { sessionId: s4, windowId: o2, sessionStartTimestamp: v2, changeReason: l2 ? { noSessionId: u3, activityTimeout: h4, sessionPastMaximumLength: a4 } : void 0, lastActivityTimestamp: r2 };
29884
+ return this.Kr(o2), this.Jr(s4, d4, v2), t3 || this.Br(), l2 && this.zr.forEach((t4) => t4(s4, o2, l2 ? { noSessionId: u3, activityTimeout: h5, sessionPastMaximumLength: a4 } : void 0)), { sessionId: s4, windowId: o2, sessionStartTimestamp: v2, changeReason: l2 ? { noSessionId: u3, activityTimeout: h5, sessionPastMaximumLength: a4 } : void 0, lastActivityTimestamp: r2 };
29856
29885
  }
29857
29886
  Br() {
29858
29887
  clearTimeout(this.Qr), this.Qr = setTimeout(() => {
@@ -29889,8 +29918,8 @@ class Wo {
29889
29918
  globalsForEvent(t3) {
29890
29919
  var i3, e4, r2, s4, n2, o2, a4;
29891
29920
  if (!t3) throw new Error("Event payload is required");
29892
- var l2 = {}, u3 = this._instance.get_property("$groups") || [], h4 = this._instance.get_property("$stored_group_properties") || {};
29893
- for (var [d4, v2] of Object.entries(h4)) l2[d4] = { id: u3[d4], type: d4, properties: v2 };
29921
+ var l2 = {}, u3 = this._instance.get_property("$groups") || [], h5 = this._instance.get_property("$stored_group_properties") || {};
29922
+ for (var [d4, v2] of Object.entries(h5)) l2[d4] = { id: u3[d4], type: d4, properties: v2 };
29894
29923
  var { $set_once: c3, $set: f2 } = t3;
29895
29924
  return { event: B$1({}, H$1(t3, Bo), { properties: B$1({}, t3.properties, f2 ? { $set: B$1({}, null !== (i3 = null == (e4 = t3.properties) ? void 0 : e4.$set) && void 0 !== i3 ? i3 : {}, f2) } : {}, c3 ? { $set_once: B$1({}, null !== (r2 = null == (s4 = t3.properties) ? void 0 : s4.$set_once) && void 0 !== r2 ? r2 : {}, c3) } : {}), elements_chain: null !== (n2 = null == (o2 = t3.properties) ? void 0 : o2.$elements_chain) && void 0 !== n2 ? n2 : "", distinct_id: null == (a4 = t3.properties) ? void 0 : a4.distinct_id }), person: { properties: this._instance.get_property("$stored_person_properties") }, groups: l2 };
29896
29925
  }
@@ -30069,7 +30098,7 @@ class Zo {
30069
30098
  if (O(t3.conditions) || O(null == (i3 = t3.conditions) ? void 0 : i3.utm)) return true;
30070
30099
  var e4 = Gn();
30071
30100
  if (e4.utm_source) {
30072
- var r2, s4, n2, o2, a4, l2, u3, h4, d4 = null == (r2 = t3.conditions) || null == (r2 = r2.utm) || !r2.utm_campaign || (null == (s4 = t3.conditions) || null == (s4 = s4.utm) ? void 0 : s4.utm_campaign) == e4.utm_campaign, v2 = null == (n2 = t3.conditions) || null == (n2 = n2.utm) || !n2.utm_source || (null == (o2 = t3.conditions) || null == (o2 = o2.utm) ? void 0 : o2.utm_source) == e4.utm_source, c3 = null == (a4 = t3.conditions) || null == (a4 = a4.utm) || !a4.utm_medium || (null == (l2 = t3.conditions) || null == (l2 = l2.utm) ? void 0 : l2.utm_medium) == e4.utm_medium, f2 = null == (u3 = t3.conditions) || null == (u3 = u3.utm) || !u3.utm_term || (null == (h4 = t3.conditions) || null == (h4 = h4.utm) ? void 0 : h4.utm_term) == e4.utm_term;
30101
+ var r2, s4, n2, o2, a4, l2, u3, h5, d4 = null == (r2 = t3.conditions) || null == (r2 = r2.utm) || !r2.utm_campaign || (null == (s4 = t3.conditions) || null == (s4 = s4.utm) ? void 0 : s4.utm_campaign) == e4.utm_campaign, v2 = null == (n2 = t3.conditions) || null == (n2 = n2.utm) || !n2.utm_source || (null == (o2 = t3.conditions) || null == (o2 = o2.utm) ? void 0 : o2.utm_source) == e4.utm_source, c3 = null == (a4 = t3.conditions) || null == (a4 = a4.utm) || !a4.utm_medium || (null == (l2 = t3.conditions) || null == (l2 = l2.utm) ? void 0 : l2.utm_medium) == e4.utm_medium, f2 = null == (u3 = t3.conditions) || null == (u3 = u3.utm) || !u3.utm_term || (null == (h5 = t3.conditions) || null == (h5 = h5.utm) ? void 0 : h5.utm_term) == e4.utm_term;
30073
30102
  return d4 && c3 && f2 && v2;
30074
30103
  }
30075
30104
  return false;
@@ -30150,7 +30179,7 @@ class aa {
30150
30179
  this.__loaded = true, this.config = {}, this.Ss = [], e4.person_profiles && (this.ys = e4.person_profiles), this.set_config(V({}, sa(e4.defaults), na(e4), { name: r2, token: i3 })), this.config.on_xhr_error && j$1.error("on_xhr_error is deprecated. Use on_request_error instead"), this.compression = e4.disable_compression ? void 0 : _.GZipJS, this.persistence = new fo(this.config), this.sessionPersistence = "sessionStorage" === this.config.persistence || "memory" === this.config.persistence ? this.persistence : new fo(B$1({}, this.config, { persistence: "sessionStorage" }));
30151
30180
  var o2 = B$1({}, this.persistence.props), a4 = B$1({}, this.sessionPersistence.props);
30152
30181
  if (this.register({ $initialization_time: (/* @__PURE__ */ new Date()).toISOString() }), this.$s = new Ao((t3) => this.ks(t3), this.config.request_queue_config), this.xs = new Lo(this), this.__request_queue = [], this.config.__preview_experimental_cookieless_mode || (this.sessionManager = new qo(this), this.sessionPropsManager = new zo(this, this.sessionManager, this.persistence)), new ks(this).startIfEnabledOrStop(), this.siteApps = new Wo(this), null == (s4 = this.siteApps) || s4.init(), this.config.__preview_experimental_cookieless_mode || (this.sessionRecording = new vs(this), this.sessionRecording.startIfEnabledOrStop()), this.config.disable_scroll_properties || this.scrollManager.startMeasuringScrollPosition(), this.autocapture = new Mi(this), this.autocapture.startIfEnabled(), this.surveys.loadIfEnabled(), this.heatmaps = new Ts(this), this.heatmaps.startIfEnabled(), this.webVitalsAutocapture = new Is(this), this.exceptionObserver = new ae(this), this.exceptionObserver.startIfEnabled(), this.deadClicksAutocapture = new re(this, ee$1), this.deadClicksAutocapture.startIfEnabled(), this.historyAutocapture = new je(this), this.historyAutocapture.startIfEnabled(), c.DEBUG = c.DEBUG || this.config.debug, c.DEBUG && j$1.info("Starting in debug mode", { this: this, config: e4, thisC: B$1({}, this.config), p: o2, s: a4 }), this.Es(), void 0 !== (null == (n2 = e4.bootstrap) ? void 0 : n2.distinctID)) {
30153
- var l2, u3, h4 = this.config.get_device_id(Ni()), d4 = null != (l2 = e4.bootstrap) && l2.isIdentifiedID ? h4 : e4.bootstrap.distinctID;
30182
+ var l2, u3, h5 = this.config.get_device_id(Ni()), d4 = null != (l2 = e4.bootstrap) && l2.isIdentifiedID ? h5 : e4.bootstrap.distinctID;
30154
30183
  this.persistence.set_property(At, null != (u3 = e4.bootstrap) && u3.isIdentifiedID ? "identified" : "anonymous"), this.register({ distinct_id: e4.bootstrap.distinctID, $device_id: d4 });
30155
30184
  }
30156
30185
  if (this.Is()) {
@@ -30252,10 +30281,10 @@ class aa {
30252
30281
  null != i3 && i3.$current_url && !T$1(null == i3 ? void 0 : i3.$current_url) && (j$1.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."), null == i3 || delete i3.$current_url), this.sessionPersistence.update_search_keyword(), this.config.save_campaign_params && this.sessionPersistence.update_campaign_params(), this.config.save_referrer && this.sessionPersistence.update_referrer_info(), (this.config.save_campaign_params || this.config.save_referrer) && this.persistence.set_initial_person_info();
30253
30282
  var n2 = /* @__PURE__ */ new Date(), o2 = (null == e4 ? void 0 : e4.timestamp) || n2, a4 = Ni(), l2 = { uuid: a4, event: t3, properties: this.calculateEventProperties(t3, i3 || {}, o2, a4) };
30254
30283
  s4 && (l2.properties.$lib_rate_limit_remaining_tokens = s4.remainingTokens), (null == e4 ? void 0 : e4.$set) && (l2.$set = null == e4 ? void 0 : e4.$set);
30255
- var u3, h4, d4 = this.Cs(null == e4 ? void 0 : e4.$set_once);
30284
+ var u3, h5, d4 = this.Cs(null == e4 ? void 0 : e4.$set_once);
30256
30285
  if (d4 && (l2.$set_once = d4), (l2 = tt(l2, null != e4 && e4._noTruncate ? null : this.config.properties_string_max_length)).timestamp = o2, R(null == e4 ? void 0 : e4.timestamp) || (l2.properties.$event_time_override_provided = true, l2.properties.$event_time_override_system_time = n2), t3 === Po.DISMISSED || t3 === Po.SENT) {
30257
30286
  var v2 = null == i3 ? void 0 : i3[Ro.SURVEY_ID], c3 = null == i3 ? void 0 : i3[Ro.SURVEY_ITERATION];
30258
- localStorage.setItem((h4 = "" + mo + (u3 = { id: v2, current_iteration: c3 }).id, u3.current_iteration && u3.current_iteration > 0 && (h4 = "" + mo + u3.id + "_" + u3.current_iteration), h4), "true"), l2.$set = B$1({}, l2.$set, { [bo({ id: v2, current_iteration: c3 }, t3 === Po.SENT ? "responded" : "dismissed")]: true });
30287
+ localStorage.setItem((h5 = "" + mo + (u3 = { id: v2, current_iteration: c3 }).id, u3.current_iteration && u3.current_iteration > 0 && (h5 = "" + mo + u3.id + "_" + u3.current_iteration), h5), "true"), l2.$set = B$1({}, l2.$set, { [bo({ id: v2, current_iteration: c3 }, t3 === Po.SENT ? "responded" : "dismissed")]: true });
30259
30288
  }
30260
30289
  var f2 = B$1({}, l2.properties.$set, l2.$set);
30261
30290
  if (P(f2) || this.setPersonPropertiesForFlags(f2), !O(this.config.before_send)) {
@@ -30282,7 +30311,7 @@ class aa {
30282
30311
  var l2 = B$1({}, this.persistence.properties(), this.sessionPersistence.properties());
30283
30312
  return a4.distinct_id = l2.distinct_id, (!T$1(a4.distinct_id) && !F(a4.distinct_id) || M$1(a4.distinct_id)) && j$1.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"), a4;
30284
30313
  }
30285
- var u3, h4 = io(this.config.mask_personal_data_properties, this.config.custom_personal_data_properties);
30314
+ var u3, h5 = io(this.config.mask_personal_data_properties, this.config.custom_personal_data_properties);
30286
30315
  if (this.sessionManager) {
30287
30316
  var { sessionId: v2, windowId: c3 } = this.sessionManager.checkAndGetSessionAndWindowId(s4, e4.getTime());
30288
30317
  a4.$session_id = v2, a4.$window_id = c3;
@@ -30298,7 +30327,7 @@ class aa {
30298
30327
  var p2 = e4.getTime() - n2;
30299
30328
  a4.$duration = parseFloat((p2 / 1e3).toFixed(3));
30300
30329
  }
30301
- d && this.config.opt_out_useragent_filter && (a4.$browser_type = this._is_bot() ? "bot" : "browser"), (a4 = V({}, h4, this.persistence.properties(), this.sessionPersistence.properties(), a4)).$is_identified = this._isIdentified(), x(this.config.property_denylist) ? J$1(this.config.property_denylist, function(t4) {
30330
+ d && this.config.opt_out_useragent_filter && (a4.$browser_type = this._is_bot() ? "bot" : "browser"), (a4 = V({}, h5, this.persistence.properties(), this.sessionPersistence.properties(), a4)).$is_identified = this._isIdentified(), x(this.config.property_denylist) ? J$1(this.config.property_denylist, function(t4) {
30302
30331
  delete a4[t4];
30303
30332
  }) : j$1.error("Invalid value for property_denylist config: " + this.config.property_denylist + " or property_blacklist config: " + this.config.property_blacklist);
30304
30333
  var _2 = this.config.sanitize_properties;
@@ -35702,25 +35731,25 @@ const rgbToShadcnHsl = (r2, g2, b3) => {
35702
35731
  b3 /= 255;
35703
35732
  const max2 = Math.max(r2, g2, b3);
35704
35733
  const min2 = Math.min(r2, g2, b3);
35705
- let h4 = 0, s4 = 0;
35734
+ let h5 = 0, s4 = 0;
35706
35735
  const l2 = (max2 + min2) / 2;
35707
35736
  if (max2 !== min2) {
35708
35737
  const d4 = max2 - min2;
35709
35738
  s4 = l2 > 0.5 ? d4 / (2 - max2 - min2) : d4 / (max2 + min2);
35710
35739
  switch (max2) {
35711
35740
  case r2:
35712
- h4 = (g2 - b3) / d4 + (g2 < b3 ? 6 : 0);
35741
+ h5 = (g2 - b3) / d4 + (g2 < b3 ? 6 : 0);
35713
35742
  break;
35714
35743
  case g2:
35715
- h4 = (b3 - r2) / d4 + 2;
35744
+ h5 = (b3 - r2) / d4 + 2;
35716
35745
  break;
35717
35746
  case b3:
35718
- h4 = (r2 - g2) / d4 + 4;
35747
+ h5 = (r2 - g2) / d4 + 4;
35719
35748
  break;
35720
35749
  }
35721
- h4 *= 60;
35750
+ h5 *= 60;
35722
35751
  }
35723
- return `${Math.round(h4)} ${Math.round(s4 * 100)}% ${Math.round(l2 * 100)}%`;
35752
+ return `${Math.round(h5)} ${Math.round(s4 * 100)}% ${Math.round(l2 * 100)}%`;
35724
35753
  };
35725
35754
  const extractRgb = (rgbColor) => {
35726
35755
  const matches2 = rgbColor.match(/\d+/g);
@@ -38229,6 +38258,29 @@ instance.use(Browser).use(initReactI18next).init({
38229
38258
  }
38230
38259
  });
38231
38260
  const defaultTranslations = {
38261
+ engage: {
38262
+ user: "User",
38263
+ user_other: "Users",
38264
+ automation: "Automation",
38265
+ automation_other: "Automations",
38266
+ segment: "Segment",
38267
+ segment_other: "Segments",
38268
+ broadcast: "Broadcast",
38269
+ broadcast_other: "Broadcasts",
38270
+ trigger_based: "Trigger Based",
38271
+ insight: "Insight",
38272
+ insight_other: "Insights",
38273
+ merge_field: "Merge Field",
38274
+ merge_field_other: "Merge Fields",
38275
+ extra_merge_field_name: "Custom Fields",
38276
+ extra_merge_field_name_other: "Custom Fields",
38277
+ advanced_merge_field_name: "Advanced Fields",
38278
+ advanced_merge_field_name_other: "Advanced Fields"
38279
+ },
38280
+ measure: {
38281
+ transaction_table_id_header: "Transaction ID",
38282
+ transaction_table_created_header: "Transaction Created"
38283
+ },
38232
38284
  common: {
38233
38285
  day: "Day",
38234
38286
  day_other: "Days",
@@ -39409,7 +39461,7 @@ var count$6 = 0;
39409
39461
  function useId$4(deterministicId) {
39410
39462
  const [id2, setId] = React.useState(useReactId$2());
39411
39463
  useLayoutEffect2$3(() => {
39412
- setId((reactId) => reactId ?? String(count$6++));
39464
+ if (!deterministicId) setId((reactId) => reactId ?? String(count$6++));
39413
39465
  }, [deterministicId]);
39414
39466
  return deterministicId || (id2 ? `radix-${id2}` : "");
39415
39467
  }
@@ -40622,9 +40674,9 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
40622
40674
  !targetInLock && target !== document.body || // self content
40623
40675
  targetInLock && (endTarget.contains(target) || endTarget === target)
40624
40676
  );
40625
- if (isDeltaPositive && (Math.abs(availableScroll) < 1 || false)) {
40677
+ if (isDeltaPositive && (Math.abs(availableScroll) < 1 || !noOverscroll)) {
40626
40678
  shouldCancelScroll = true;
40627
- } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || false)) {
40679
+ } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || !noOverscroll)) {
40628
40680
  shouldCancelScroll = true;
40629
40681
  }
40630
40682
  return shouldCancelScroll;
@@ -40706,7 +40758,7 @@ function RemoveScrollSideCar(props2) {
40706
40758
  return true;
40707
40759
  }
40708
40760
  var cancelingAxis = activeAxis.current || currentAxis;
40709
- return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY);
40761
+ return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
40710
40762
  }, []);
40711
40763
  var shouldPrevent = React.useCallback(function(_event) {
40712
40764
  var event = _event;
@@ -41857,6 +41909,7 @@ const progress = /* @__NO_SIDE_EFFECTS__ */ (from2, to2, value) => {
41857
41909
  const secondsToMilliseconds = /* @__NO_SIDE_EFFECTS__ */ (seconds) => seconds * 1e3;
41858
41910
  const millisecondsToSeconds = /* @__NO_SIDE_EFFECTS__ */ (milliseconds) => milliseconds / 1e3;
41859
41911
  const MotionGlobalConfig = {
41912
+ skipAnimations: false,
41860
41913
  useManualTiming: false
41861
41914
  };
41862
41915
  const stepsOrder = [
@@ -41874,7 +41927,8 @@ const stepsOrder = [
41874
41927
  // Compute
41875
41928
  ];
41876
41929
  const statsBuffer = {
41877
- value: null
41930
+ value: null,
41931
+ addProjectionMetrics: null
41878
41932
  };
41879
41933
  function createRenderStep(runNextFrame, stepName) {
41880
41934
  let thisFrame = /* @__PURE__ */ new Set();
@@ -42203,7 +42257,7 @@ function useMotionRef(visualState, visualElement, externalRef) {
42203
42257
  const camelToDash = (str) => str.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase();
42204
42258
  const optimizedAppearDataId = "framerAppearId";
42205
42259
  const optimizedAppearDataAttribute = "data-" + camelToDash(optimizedAppearDataId);
42206
- const { schedule: microtask } = createRenderBatcher(queueMicrotask, false);
42260
+ const { schedule: microtask, cancel: cancelMicrotask } = createRenderBatcher(queueMicrotask, false);
42207
42261
  const SwitchLayoutGroupContext = createContext({});
42208
42262
  function useVisualElement(Component2, visualState, props2, createVisualElement, ProjectionNodeConstructor) {
42209
42263
  var _a2, _b;
@@ -44598,7 +44652,7 @@ function findSpring({ duration = springDefaults.duration, bounce = springDefault
44598
44652
  envelope = (undampedFreq2) => {
44599
44653
  const a4 = Math.exp(-undampedFreq2 * duration);
44600
44654
  const b3 = (undampedFreq2 - velocity) * duration + 1;
44601
- return -1e-3 + a4 * b3;
44655
+ return -safeMin + a4 * b3;
44602
44656
  };
44603
44657
  derivative = (undampedFreq2) => {
44604
44658
  const a4 = Math.exp(-undampedFreq2 * duration);
@@ -46947,22 +47001,22 @@ const borders = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"];
46947
47001
  const numBorders = borders.length;
46948
47002
  const asNumber = (value) => typeof value === "string" ? parseFloat(value) : value;
46949
47003
  const isPx = (value) => typeof value === "number" || px.test(value);
46950
- function mixValues(target, follow, lead, progress2, shouldCrossfadeOpacity, isOnlyMember) {
47004
+ function mixValues(target, follow, lead2, progress2, shouldCrossfadeOpacity, isOnlyMember) {
46951
47005
  if (shouldCrossfadeOpacity) {
46952
47006
  target.opacity = mixNumber$1(
46953
47007
  0,
46954
47008
  // TODO Reinstate this if only child
46955
- lead.opacity !== void 0 ? lead.opacity : 1,
47009
+ lead2.opacity !== void 0 ? lead2.opacity : 1,
46956
47010
  easeCrossfadeIn(progress2)
46957
47011
  );
46958
47012
  target.opacityExit = mixNumber$1(follow.opacity !== void 0 ? follow.opacity : 1, 0, easeCrossfadeOut(progress2));
46959
47013
  } else if (isOnlyMember) {
46960
- target.opacity = mixNumber$1(follow.opacity !== void 0 ? follow.opacity : 1, lead.opacity !== void 0 ? lead.opacity : 1, progress2);
47014
+ target.opacity = mixNumber$1(follow.opacity !== void 0 ? follow.opacity : 1, lead2.opacity !== void 0 ? lead2.opacity : 1, progress2);
46961
47015
  }
46962
47016
  for (let i3 = 0; i3 < numBorders; i3++) {
46963
47017
  const borderLabel = `border${borders[i3]}Radius`;
46964
47018
  let followRadius = getRadius(follow, borderLabel);
46965
- let leadRadius = getRadius(lead, borderLabel);
47019
+ let leadRadius = getRadius(lead2, borderLabel);
46966
47020
  if (followRadius === void 0 && leadRadius === void 0)
46967
47021
  continue;
46968
47022
  followRadius || (followRadius = 0);
@@ -46977,8 +47031,8 @@ function mixValues(target, follow, lead, progress2, shouldCrossfadeOpacity, isOn
46977
47031
  target[borderLabel] = leadRadius;
46978
47032
  }
46979
47033
  }
46980
- if (follow.rotate || lead.rotate) {
46981
- target.rotate = mixNumber$1(follow.rotate || 0, lead.rotate || 0, progress2);
47034
+ if (follow.rotate || lead2.rotate) {
47035
+ target.rotate = mixNumber$1(follow.rotate || 0, lead2.rotate || 0, progress2);
46982
47036
  }
46983
47037
  }
46984
47038
  function getRadius(values, radiusName) {
@@ -47656,11 +47710,11 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
47656
47710
  }
47657
47711
  resolveTargetDelta(forceRecalculation = false) {
47658
47712
  var _a2;
47659
- const lead = this.getLead();
47660
- this.isProjectionDirty || (this.isProjectionDirty = lead.isProjectionDirty);
47661
- this.isTransformDirty || (this.isTransformDirty = lead.isTransformDirty);
47662
- this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead.isSharedProjectionDirty);
47663
- const isShared = Boolean(this.resumingFrom) || this !== lead;
47713
+ const lead2 = this.getLead();
47714
+ this.isProjectionDirty || (this.isProjectionDirty = lead2.isProjectionDirty);
47715
+ this.isTransformDirty || (this.isTransformDirty = lead2.isTransformDirty);
47716
+ this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead2.isSharedProjectionDirty);
47717
+ const isShared = Boolean(this.resumingFrom) || this !== lead2;
47664
47718
  const canSkip = !(forceRecalculation || isShared && this.isSharedProjectionDirty || this.isProjectionDirty || ((_a2 = this.parent) === null || _a2 === void 0 ? void 0 : _a2.isProjectionDirty) || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize);
47665
47719
  if (canSkip)
47666
47720
  return;
@@ -47730,8 +47784,8 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
47730
47784
  }
47731
47785
  calcProjection() {
47732
47786
  var _a2;
47733
- const lead = this.getLead();
47734
- const isShared = Boolean(this.resumingFrom) || this !== lead;
47787
+ const lead2 = this.getLead();
47788
+ const isShared = Boolean(this.resumingFrom) || this !== lead2;
47735
47789
  let canSkip = true;
47736
47790
  if (this.isProjectionDirty || ((_a2 = this.parent) === null || _a2 === void 0 ? void 0 : _a2.isProjectionDirty)) {
47737
47791
  canSkip = false;
@@ -47755,11 +47809,11 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
47755
47809
  const prevTreeScaleX = this.treeScale.x;
47756
47810
  const prevTreeScaleY = this.treeScale.y;
47757
47811
  applyTreeDeltas(this.layoutCorrected, this.treeScale, this.path, isShared);
47758
- if (lead.layout && !lead.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1)) {
47759
- lead.target = lead.layout.layoutBox;
47760
- lead.targetWithTransforms = createBox();
47812
+ if (lead2.layout && !lead2.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1)) {
47813
+ lead2.target = lead2.layout.layoutBox;
47814
+ lead2.targetWithTransforms = createBox();
47761
47815
  }
47762
- const { target } = lead;
47816
+ const { target } = lead2;
47763
47817
  if (!target) {
47764
47818
  if (this.prevProjectionDelta) {
47765
47819
  this.createProjectionDeltas();
@@ -47894,17 +47948,17 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
47894
47948
  this.completeAnimation();
47895
47949
  }
47896
47950
  applyTransformsToTarget() {
47897
- const lead = this.getLead();
47898
- let { targetWithTransforms, target, layout: layout2, latestValues } = lead;
47951
+ const lead2 = this.getLead();
47952
+ let { targetWithTransforms, target, layout: layout2, latestValues } = lead2;
47899
47953
  if (!targetWithTransforms || !target || !layout2)
47900
47954
  return;
47901
- if (this !== lead && this.layout && layout2 && shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout2.layoutBox)) {
47955
+ if (this !== lead2 && this.layout && layout2 && shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout2.layoutBox)) {
47902
47956
  target = this.target || createBox();
47903
47957
  const xLength = calcLength(this.layout.layoutBox.x);
47904
- target.x.min = lead.target.x.min;
47958
+ target.x.min = lead2.target.x.min;
47905
47959
  target.x.max = target.x.min + xLength;
47906
47960
  const yLength = calcLength(this.layout.layoutBox.y);
47907
- target.y.min = lead.target.y.min;
47961
+ target.y.min = lead2.target.y.min;
47908
47962
  target.y.max = target.y.min + yLength;
47909
47963
  }
47910
47964
  copyBoxInto(targetWithTransforms, target);
@@ -48007,8 +48061,8 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
48007
48061
  styles2.transform = transformTemplate ? transformTemplate(this.latestValues, "") : "none";
48008
48062
  return styles2;
48009
48063
  }
48010
- const lead = this.getLead();
48011
- if (!this.projectionDelta || !this.layout || !lead.target) {
48064
+ const lead2 = this.getLead();
48065
+ if (!this.projectionDelta || !this.layout || !lead2.target) {
48012
48066
  const emptyStyles = {};
48013
48067
  if (this.options.layoutId) {
48014
48068
  emptyStyles.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1;
@@ -48020,7 +48074,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
48020
48074
  }
48021
48075
  return emptyStyles;
48022
48076
  }
48023
- const valuesToRender = lead.animationValues || lead.latestValues;
48077
+ const valuesToRender = lead2.animationValues || lead2.latestValues;
48024
48078
  this.applyTransformsToTarget();
48025
48079
  styles2.transform = buildProjectionTransform(this.projectionDeltaWithTransform, this.treeScale, valuesToRender);
48026
48080
  if (transformTemplate) {
@@ -48028,16 +48082,16 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
48028
48082
  }
48029
48083
  const { x: x3, y: y4 } = this.projectionDelta;
48030
48084
  styles2.transformOrigin = `${x3.origin * 100}% ${y4.origin * 100}% 0`;
48031
- if (lead.animationValues) {
48032
- styles2.opacity = lead === this ? (_b = (_a2 = valuesToRender.opacity) !== null && _a2 !== void 0 ? _a2 : this.latestValues.opacity) !== null && _b !== void 0 ? _b : 1 : this.preserveOpacity ? this.latestValues.opacity : valuesToRender.opacityExit;
48085
+ if (lead2.animationValues) {
48086
+ styles2.opacity = lead2 === this ? (_b = (_a2 = valuesToRender.opacity) !== null && _a2 !== void 0 ? _a2 : this.latestValues.opacity) !== null && _b !== void 0 ? _b : 1 : this.preserveOpacity ? this.latestValues.opacity : valuesToRender.opacityExit;
48033
48087
  } else {
48034
- styles2.opacity = lead === this ? valuesToRender.opacity !== void 0 ? valuesToRender.opacity : "" : valuesToRender.opacityExit !== void 0 ? valuesToRender.opacityExit : 0;
48088
+ styles2.opacity = lead2 === this ? valuesToRender.opacity !== void 0 ? valuesToRender.opacity : "" : valuesToRender.opacityExit !== void 0 ? valuesToRender.opacityExit : 0;
48035
48089
  }
48036
48090
  for (const key in scaleCorrectors) {
48037
48091
  if (valuesToRender[key] === void 0)
48038
48092
  continue;
48039
48093
  const { correct, applyTo, isCSSVariable } = scaleCorrectors[key];
48040
- const corrected = styles2.transform === "none" ? valuesToRender[key] : correct(valuesToRender[key], lead);
48094
+ const corrected = styles2.transform === "none" ? valuesToRender[key] : correct(valuesToRender[key], lead2);
48041
48095
  if (applyTo) {
48042
48096
  const num = applyTo.length;
48043
48097
  for (let i3 = 0; i3 < num; i3++) {
@@ -48052,7 +48106,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
48052
48106
  }
48053
48107
  }
48054
48108
  if (this.options.layoutId) {
48055
- styles2.pointerEvents = lead === this ? resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "" : "none";
48109
+ styles2.pointerEvents = lead2 === this ? resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "" : "none";
48056
48110
  }
48057
48111
  return styles2;
48058
48112
  }
@@ -50139,6 +50193,8 @@ const IconDefinitions = {
50139
50193
  const styles$7 = {
50140
50194
  title: "text-3xl mb-8",
50141
50195
  grid: "grid grid-cols-2 gap-6",
50196
+ card: "relative p-6 rounded-lg border border-gray-200 cursor-pointer flex flex-col items-center text-center hover:border-indigo-500 transition-colors",
50197
+ cardDisabled: "opacity-60 cursor-not-allowed hover:border-gray-200",
50142
50198
  container: "relative p-6 rounded-lg",
50143
50199
  iconWrapper: "mb-4 flex items-center justify-center text-primary",
50144
50200
  cardTitle: "text-lg font-medium mb-2 text-primary",
@@ -50222,6 +50278,7 @@ const secondary$1 = "reach-styles-module__secondary___VQ4iH";
50222
50278
  const destructive$1 = "reach-styles-module__destructive___RLaRD";
50223
50279
  const outline$1 = "reach-styles-module__outline___L2VtW";
50224
50280
  const google = "reach-styles-module__google___HcEij";
50281
+ const dark = "reach-styles-module__dark___729i-";
50225
50282
  const date = "reach-styles-module__date___-6BC4";
50226
50283
  const sizeDefault$1 = "reach-styles-module__sizeDefault___iGTp4";
50227
50284
  const sizeSm$1 = "reach-styles-module__sizeSm___6T2oK";
@@ -50243,6 +50300,7 @@ const segmentAllUsers = "reach-styles-module__segmentAllUsers___1aXpc";
50243
50300
  const segmentManaged = "reach-styles-module__segmentManaged___o0gOu";
50244
50301
  const segmentCustom = "reach-styles-module__segmentCustom___xc3lG";
50245
50302
  const beta = "reach-styles-module__beta___n9qPf";
50303
+ const pulse = "reach-styles-module__pulse___0hJq4";
50246
50304
  const styles$6 = {
50247
50305
  base: base$4,
50248
50306
  "default": "reach-styles-module__default___zeGU1",
@@ -50250,6 +50308,7 @@ const styles$6 = {
50250
50308
  destructive: destructive$1,
50251
50309
  outline: outline$1,
50252
50310
  google,
50311
+ dark,
50253
50312
  date,
50254
50313
  sizeDefault: sizeDefault$1,
50255
50314
  sizeSm: sizeSm$1,
@@ -50270,7 +50329,8 @@ const styles$6 = {
50270
50329
  segmentAllUsers,
50271
50330
  segmentManaged,
50272
50331
  segmentCustom,
50273
- beta
50332
+ beta,
50333
+ pulse
50274
50334
  };
50275
50335
  const badgeVariants = cva([styles$6.base], {
50276
50336
  variants: {
@@ -50420,6 +50480,17 @@ const minusIconInactive = "reach-styles-module__minusIconInactive___JtvVB";
50420
50480
  const label = "reach-styles-module__label___tiCMA";
50421
50481
  const labelActive = "reach-styles-module__labelActive___EXydD";
50422
50482
  const labelInactive = "reach-styles-module__labelInactive___g-J3r";
50483
+ const navigationContainer = "reach-styles-module__navigationContainer___1T1JL";
50484
+ const navigationButton = "reach-styles-module__navigationButton___9LW7I";
50485
+ const sidebarContainer = "reach-styles-module__sidebarContainer___Yqwnv";
50486
+ const sidebarNav = "reach-styles-module__sidebarNav___vGCaT";
50487
+ const stepItem = "reach-styles-module__stepItem___c497m";
50488
+ const stepItemActive = "reach-styles-module__stepItemActive___zQkts";
50489
+ const stepItemCompleted = "reach-styles-module__stepItemCompleted___TiD-u";
50490
+ const stepItemUpcoming = "reach-styles-module__stepItemUpcoming___Qu-vA";
50491
+ const contentContainer = "reach-styles-module__contentContainer___g6SCE";
50492
+ const contentArea = "reach-styles-module__contentArea___gczmB";
50493
+ const poweredByReachContainer = "reach-styles-module__poweredByReachContainer___GCwod";
50423
50494
  const styles$5 = {
50424
50495
  stepIndicatorContainer,
50425
50496
  iconContainer,
@@ -50429,7 +50500,18 @@ const styles$5 = {
50429
50500
  minusIconInactive,
50430
50501
  label,
50431
50502
  labelActive,
50432
- labelInactive
50503
+ labelInactive,
50504
+ navigationContainer,
50505
+ navigationButton,
50506
+ sidebarContainer,
50507
+ sidebarNav,
50508
+ stepItem,
50509
+ stepItemActive,
50510
+ stepItemCompleted,
50511
+ stepItemUpcoming,
50512
+ contentContainer,
50513
+ contentArea,
50514
+ poweredByReachContainer
50433
50515
  };
50434
50516
  const StepIndicator = ({
50435
50517
  label: label2,
@@ -50735,11 +50817,11 @@ function createHeader(table, column, options) {
50735
50817
  headerGroup: null,
50736
50818
  getLeafHeaders: () => {
50737
50819
  const leafHeaders = [];
50738
- const recurseHeader = (h4) => {
50739
- if (h4.subHeaders && h4.subHeaders.length) {
50740
- h4.subHeaders.map(recurseHeader);
50820
+ const recurseHeader = (h5) => {
50821
+ if (h5.subHeaders && h5.subHeaders.length) {
50822
+ h5.subHeaders.map(recurseHeader);
50741
50823
  }
50742
- leafHeaders.push(h4);
50824
+ leafHeaders.push(h5);
50743
50825
  };
50744
50826
  recurseHeader(header2);
50745
50827
  return leafHeaders;
@@ -55039,6 +55121,8 @@ const lightFormatters = {
55039
55121
  }
55040
55122
  };
55041
55123
  const dayPeriodEnum$1 = {
55124
+ am: "am",
55125
+ pm: "pm",
55042
55126
  midnight: "midnight",
55043
55127
  noon: "noon",
55044
55128
  morning: "morning",
@@ -55891,8 +55975,8 @@ function createDateColumn({
55891
55975
  header: () => /* @__PURE__ */ jsx(
55892
55976
  "div",
55893
55977
  {
55894
- className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName}`.trim(),
55895
- children: /* @__PURE__ */ jsx("span", { children: header2 })
55978
+ className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName || ""}`.trim(),
55979
+ children: typeof header2 === "function" ? header2() : /* @__PURE__ */ jsx("span", { children: header2 })
55896
55980
  }
55897
55981
  ),
55898
55982
  cell: (info) => {
@@ -55945,7 +56029,7 @@ function createNumericColumn({
55945
56029
  header: () => /* @__PURE__ */ jsx(
55946
56030
  "div",
55947
56031
  {
55948
- className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName}`.trim(),
56032
+ className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName || ""}`.trim(),
55949
56033
  children: typeof header2 === "function" ? header2() : /* @__PURE__ */ jsx("span", { children: header2 })
55950
56034
  }
55951
56035
  ),
@@ -55992,7 +56076,7 @@ function createIconActionColumn({
55992
56076
  header: () => /* @__PURE__ */ jsx(
55993
56077
  "div",
55994
56078
  {
55995
- className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName}`.trim(),
56079
+ className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName || ""}`.trim(),
55996
56080
  children: typeof header2 === "function" ? header2() : /* @__PURE__ */ jsx("span", { children: header2 })
55997
56081
  }
55998
56082
  ),
@@ -56013,7 +56097,7 @@ function createIconActionColumn({
56013
56097
  onClick: () => onAction(rowOriginal),
56014
56098
  children: [
56015
56099
  /* @__PURE__ */ jsx(IconComponent, { className: "h-4 w-4" }),
56016
- /* @__PURE__ */ jsx("span", { children: text2 })
56100
+ text2 && /* @__PURE__ */ jsx("span", { children: text2 })
56017
56101
  ]
56018
56102
  }
56019
56103
  )
@@ -57439,7 +57523,9 @@ async function loadRouteModule(route, routeModulesCache) {
57439
57523
  );
57440
57524
  console.error(error2);
57441
57525
  if (window.__reactRouterContext && window.__reactRouterContext.isSpaMode && // @ts-expect-error
57442
- void 0) ;
57526
+ void 0) {
57527
+ throw error2;
57528
+ }
57443
57529
  window.location.reload();
57444
57530
  return new Promise(() => {
57445
57531
  });
@@ -62880,6 +62966,8 @@ var formatters$2 = {
62880
62966
  }
62881
62967
  };
62882
62968
  var dayPeriodEnum = {
62969
+ am: "am",
62970
+ pm: "pm",
62883
62971
  midnight: "midnight",
62884
62972
  noon: "noon",
62885
62973
  morning: "morning",
@@ -66485,7 +66573,7 @@ function useId$1(deterministicId) {
66485
66573
  useLayoutEffect2$1(() => {
66486
66574
  setId((reactId) => reactId ?? String(count++));
66487
66575
  }, [deterministicId]);
66488
- return deterministicId || (id2 ? `radix-${id2}` : "");
66576
+ return id2 ? `radix-${id2}` : "";
66489
66577
  }
66490
66578
  var NAME$3 = "Arrow";
66491
66579
  var Arrow$1 = React.forwardRef((props2, forwardedRef) => {
@@ -68876,11 +68964,11 @@ const isDirty = (x3) => x3.status === "dirty";
68876
68964
  const isValid = (x3) => x3.status === "valid";
68877
68965
  const isAsync = (x3) => typeof Promise !== "undefined" && x3 instanceof Promise;
68878
68966
  function __classPrivateFieldGet(receiver, state, kind, f2) {
68879
- if (typeof state === "function" ? receiver !== state || true : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
68967
+ if (typeof state === "function" ? receiver !== state || !f2 : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
68880
68968
  return state.get(receiver);
68881
68969
  }
68882
68970
  function __classPrivateFieldSet(receiver, state, value, kind, f2) {
68883
- if (typeof state === "function" ? receiver !== state || true : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
68971
+ if (typeof state === "function" ? receiver !== state || !f2 : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
68884
68972
  return state.set(receiver, value), value;
68885
68973
  }
68886
68974
  typeof SuppressedError === "function" ? SuppressedError : function(error2, suppressed, message2) {
@@ -73075,6 +73163,7 @@ function createStatusColumn(args) {
73075
73163
  const { onToggle, vsaasManaged, pillForStatus } = args;
73076
73164
  return createTextColumn({
73077
73165
  accessorKey: "status",
73166
+ id: "status",
73078
73167
  header: `Status`,
73079
73168
  enableSorting: false,
73080
73169
  enableHiding: false,
@@ -73120,6 +73209,7 @@ function createBroadcastActionColumn(args) {
73120
73209
  } = args;
73121
73210
  return createTextColumn({
73122
73211
  accessorKey: "status",
73212
+ id: "status",
73123
73213
  header: `Status`,
73124
73214
  enableSorting: false,
73125
73215
  enableHiding: false,
@@ -73206,6 +73296,9 @@ function createColumns(args) {
73206
73296
  createCountColumn("smsSent", "SMS Sent"),
73207
73297
  createModifiedColumn(),
73208
73298
  isBroadcast ? createBroadcastActionColumn({
73299
+ setUrl,
73300
+ onToggle,
73301
+ automationName,
73209
73302
  vsaasManaged,
73210
73303
  pillForStatus,
73211
73304
  onDuplicate,
@@ -73213,7 +73306,9 @@ function createColumns(args) {
73213
73306
  onEdit,
73214
73307
  onCancel
73215
73308
  }) : createStatusColumn({
73309
+ setUrl,
73216
73310
  onToggle,
73311
+ automationName,
73217
73312
  vsaasManaged,
73218
73313
  pillForStatus
73219
73314
  })
@@ -74166,12 +74261,28 @@ const AIContentPrompt = forwardRef(({ onGenerateContent, prompt, onPromptChange
74166
74261
  "prompt"
74167
74262
  ) }) });
74168
74263
  });
74264
+ const h1 = "reach-styles-module__h1___upBY0";
74169
74265
  const h22 = "reach-styles-module__h2___J-48W";
74170
74266
  const h32 = "reach-styles-module__h3___QiFj-";
74267
+ const h4 = "reach-styles-module__h4___LLom4";
74268
+ const paragraph = "reach-styles-module__paragraph___duktL";
74269
+ const blockquote = "reach-styles-module__blockquote___xPu0i";
74270
+ const inlineCode = "reach-styles-module__inlineCode___giBjH";
74271
+ const lead = "reach-styles-module__lead___PfoUz";
74272
+ const large = "reach-styles-module__large___SO9ZD";
74273
+ const muted = "reach-styles-module__muted___x0iIr";
74171
74274
  const minorText = "reach-styles-module__minorText___1TEN6";
74172
74275
  const styles$3 = {
74276
+ h1,
74173
74277
  h2: h22,
74174
74278
  h3: h32,
74279
+ h4,
74280
+ paragraph,
74281
+ blockquote,
74282
+ inlineCode,
74283
+ lead,
74284
+ large,
74285
+ muted,
74175
74286
  minorText
74176
74287
  };
74177
74288
  const H22 = ({ children, className }) => {
@@ -74291,7 +74402,9 @@ const CHECK_DELAYS = [0, 100, 500, 1e3, 2e3];
74291
74402
  const DEFAULT_EMAIL_PREVIEW_HEIGHT = 400;
74292
74403
  const EMAIL_PREVIEW_HEIGHT_CALCULATION_TIMEOUT = 5e3;
74293
74404
  const SMS_LIMITS = {
74294
- RECOMMENDED_LIMIT: 320
74405
+ ABSOLUTE_LIMIT: 1500,
74406
+ RECOMMENDED_LIMIT: 320,
74407
+ COMPANY_NAME_LIMIT: 100
74295
74408
  };
74296
74409
  const TitleAndResetButton = ({ title: title2, type }) => {
74297
74410
  const communicationGroup = useCurrentCommunicationGroup();
@@ -77579,7 +77692,7 @@ const OPT_PRESERVE_WS = 1, OPT_PRESERVE_WS_FULL = 2, OPT_OPEN_LEFT = 4;
77579
77692
  function wsOptionsFor(type, preserveWhitespace, base2) {
77580
77693
  if (preserveWhitespace != null)
77581
77694
  return (preserveWhitespace ? OPT_PRESERVE_WS : 0) | (preserveWhitespace === "full" ? OPT_PRESERVE_WS_FULL : 0);
77582
- return type && type.whitespace == "pre" ? OPT_PRESERVE_WS | OPT_PRESERVE_WS_FULL : base2 & -5;
77695
+ return type && type.whitespace == "pre" ? OPT_PRESERVE_WS | OPT_PRESERVE_WS_FULL : base2 & ~OPT_OPEN_LEFT;
77583
77696
  }
77584
77697
  class NodeContext {
77585
77698
  constructor(type, attrs, marks, solid, match2, options) {
@@ -80550,7 +80663,7 @@ class Transaction extends Transform {
80550
80663
  throw new RangeError("Selection passed to setSelection must point at the current document");
80551
80664
  this.curSelection = selection;
80552
80665
  this.curSelectionFor = this.steps.length;
80553
- this.updated = (this.updated | UPDATED_SEL) & -3;
80666
+ this.updated = (this.updated | UPDATED_SEL) & ~UPDATED_MARKS;
80554
80667
  this.storedMarks = null;
80555
80668
  return this;
80556
80669
  }
@@ -80601,7 +80714,7 @@ class Transaction extends Transform {
80601
80714
  */
80602
80715
  addStep(step, doc2) {
80603
80716
  super.addStep(step, doc2);
80604
- this.updated = this.updated & -3;
80717
+ this.updated = this.updated & ~UPDATED_MARKS;
80605
80718
  this.storedMarks = null;
80606
80719
  }
80607
80720
  /**
@@ -86624,58 +86737,6 @@ const liftEmptyBlock$1 = (state, dispatch2) => {
86624
86737
  dispatch2(state.tr.lift(range, target).scrollIntoView());
86625
86738
  return true;
86626
86739
  };
86627
- function splitBlockAs(splitNode) {
86628
- return (state, dispatch2) => {
86629
- let { $from, $to } = state.selection;
86630
- if (state.selection instanceof NodeSelection && state.selection.node.isBlock) {
86631
- if (!$from.parentOffset || !canSplit(state.doc, $from.pos))
86632
- return false;
86633
- if (dispatch2)
86634
- dispatch2(state.tr.split($from.pos).scrollIntoView());
86635
- return true;
86636
- }
86637
- if (!$from.depth)
86638
- return false;
86639
- let types = [];
86640
- let splitDepth, deflt, atEnd = false, atStart = false;
86641
- for (let d4 = $from.depth; ; d4--) {
86642
- let node = $from.node(d4);
86643
- if (node.isBlock) {
86644
- atEnd = $from.end(d4) == $from.pos + ($from.depth - d4);
86645
- atStart = $from.start(d4) == $from.pos - ($from.depth - d4);
86646
- deflt = defaultBlockAt$1($from.node(d4 - 1).contentMatchAt($from.indexAfter(d4 - 1)));
86647
- types.unshift(atEnd && deflt ? { type: deflt } : null);
86648
- splitDepth = d4;
86649
- break;
86650
- } else {
86651
- if (d4 == 1)
86652
- return false;
86653
- types.unshift(null);
86654
- }
86655
- }
86656
- let tr2 = state.tr;
86657
- if (state.selection instanceof TextSelection || state.selection instanceof AllSelection)
86658
- tr2.deleteSelection();
86659
- let splitPos = tr2.mapping.map($from.pos);
86660
- let can = canSplit(tr2.doc, splitPos, types.length, types);
86661
- if (!can) {
86662
- types[0] = deflt ? { type: deflt } : null;
86663
- can = canSplit(tr2.doc, splitPos, types.length, types);
86664
- }
86665
- if (!can)
86666
- return false;
86667
- tr2.split(splitPos, types.length, types);
86668
- if (!atEnd && atStart && $from.node(splitDepth).type != deflt) {
86669
- let first2 = tr2.mapping.map($from.before(splitDepth)), $first = tr2.doc.resolve(first2);
86670
- if (deflt && $from.node(splitDepth - 1).canReplaceWith($first.index(), $first.index() + 1, deflt))
86671
- tr2.setNodeMarkup(tr2.mapping.map($from.before(splitDepth)), deflt);
86672
- }
86673
- if (dispatch2)
86674
- dispatch2(tr2.scrollIntoView());
86675
- return true;
86676
- };
86677
- }
86678
- const splitBlock$1 = splitBlockAs();
86679
86740
  const selectParentNode$1 = (state, dispatch2) => {
86680
86741
  let { $from, to: to2 } = state.selection, pos;
86681
86742
  let same = $from.sharedDepth(to2);
@@ -86812,19 +86873,6 @@ function setBlockType(nodeType, attrs = null) {
86812
86873
  return true;
86813
86874
  };
86814
86875
  }
86815
- function chainCommands(...commands2) {
86816
- return function(state, dispatch2, view) {
86817
- for (let i3 = 0; i3 < commands2.length; i3++)
86818
- if (commands2[i3](state, dispatch2, view))
86819
- return true;
86820
- return false;
86821
- };
86822
- }
86823
- chainCommands(deleteSelection$1, joinBackward$1, selectNodeBackward$1);
86824
- chainCommands(deleteSelection$1, joinForward$1, selectNodeForward$1);
86825
- ({
86826
- "Enter": chainCommands(newlineInCode$1, createParagraphNear$1, liftEmptyBlock$1, splitBlock$1)
86827
- });
86828
86876
  typeof navigator != "undefined" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : typeof os != "undefined" && os.platform ? os.platform() == "darwin" : false;
86829
86877
  function wrapInList$1(listType, attrs = null) {
86830
86878
  return function(state, dispatch2) {
@@ -91207,10 +91255,10 @@ function requireUseSyncExternalStoreShim_production_min() {
91207
91255
  if (hasRequiredUseSyncExternalStoreShim_production_min) return useSyncExternalStoreShim_production_min;
91208
91256
  hasRequiredUseSyncExternalStoreShim_production_min = 1;
91209
91257
  var e4 = React__default;
91210
- function h4(a4, b3) {
91258
+ function h5(a4, b3) {
91211
91259
  return a4 === b3 && (0 !== a4 || 1 / a4 === 1 / b3) || a4 !== a4 && b3 !== b3;
91212
91260
  }
91213
- var k3 = "function" === typeof Object.is ? Object.is : h4, l2 = e4.useState, m4 = e4.useEffect, n2 = e4.useLayoutEffect, p2 = e4.useDebugValue;
91261
+ var k3 = "function" === typeof Object.is ? Object.is : h5, l2 = e4.useState, m4 = e4.useEffect, n2 = e4.useLayoutEffect, p2 = e4.useDebugValue;
91214
91262
  function q3(a4, b3) {
91215
91263
  var d4 = b3(), f2 = l2({ inst: { value: d4, getSnapshot: b3 } }), c3 = f2[0].inst, g2 = f2[1];
91216
91264
  n2(function() {
@@ -91595,11 +91643,11 @@ var hasRequiredWithSelector_production_min;
91595
91643
  function requireWithSelector_production_min() {
91596
91644
  if (hasRequiredWithSelector_production_min) return withSelector_production_min;
91597
91645
  hasRequiredWithSelector_production_min = 1;
91598
- var h4 = React__default, n2 = shimExports$1;
91646
+ var h5 = React__default, n2 = shimExports$1;
91599
91647
  function p2(a4, b3) {
91600
91648
  return a4 === b3 && (0 !== a4 || 1 / a4 === 1 / b3) || a4 !== a4 && b3 !== b3;
91601
91649
  }
91602
- var q3 = "function" === typeof Object.is ? Object.is : p2, r2 = n2.useSyncExternalStore, t3 = h4.useRef, u3 = h4.useEffect, v2 = h4.useMemo, w3 = h4.useDebugValue;
91650
+ var q3 = "function" === typeof Object.is ? Object.is : p2, r2 = n2.useSyncExternalStore, t3 = h5.useRef, u3 = h5.useEffect, v2 = h5.useMemo, w3 = h5.useDebugValue;
91603
91651
  withSelector_production_min.useSyncExternalStoreWithSelector = function(a4, b3, e4, l2, g2) {
91604
91652
  var c3 = t3(null);
91605
91653
  if (null === c3.current) {
@@ -98363,8 +98411,15 @@ const ENGAGE_STRINGS = {
98363
98411
  BUSINESS_ONBOARDING_TITLE: "Business Settings",
98364
98412
  EMAIL_ONBOARDING_TITLE: "Email Channel Settings",
98365
98413
  SMS_ONBOARDING_TITLE: "Connect Your SMS",
98414
+ MERGE_FIELDS_ONBOARDING_TITLE: "Merge Fields Setup",
98415
+ // Form sections
98416
+ COMPANY_INFORMATION: "Company Information",
98417
+ CONTACT_INFORMATION: "Contact Information",
98366
98418
  // Form fields
98367
98419
  BUSINESS_NAME: "DBA legal name",
98420
+ BUSINESS_WEBSITE: "Business Website",
98421
+ STREET_ADDRESS: "Street Address",
98422
+ STREET_ADDRESS_PLACEHOLDER: "Street address",
98368
98423
  ZIP_CODE: "ZIP Code",
98369
98424
  ZIP_CODE_PLACEHOLDER: "ZIP code",
98370
98425
  SELECT_COUNTRY_PLACEHOLDER: "Select country",
@@ -98374,6 +98429,20 @@ const ENGAGE_STRINGS = {
98374
98429
  LAST_NAME_PLACEHOLDER: "Last name",
98375
98430
  EMAIL_ADDRESS_PLACEHOLDER: "Email address",
98376
98431
  CONTACT_PHONE: "Contact Phone",
98432
+ BRAND_TAGLINE_PLACEHOLDER: "Your brand's tagline",
98433
+ BRAND_LOGO_ALT: "Brand logo preview",
98434
+ // Brand form fields
98435
+ BRAND_NAME_PLACEHOLDER: "Enter your brand name",
98436
+ BRAND_TONE_PLACEHOLDER: "Friendly, professional, casual...",
98437
+ BRAND_PERSONALITY_PLACEHOLDER: "Warm, caring, confident...",
98438
+ BRAND_VALUE_PLACEHOLDER: "Add a brand value",
98439
+ PRIMARY_COLOR_PLACEHOLDER: "hsl(var(--primary))",
98440
+ FOREGROUND_COLOR_PLACEHOLDER: "hsl(var(--foreground))",
98441
+ // Merge Fields form fields
98442
+ MERGE_FIELD_NAME_PLACEHOLDER: "Enter merge field name",
98443
+ MERGE_FIELD_DESCRIPTION_PLACEHOLDER: "Enter merge field description",
98444
+ MERGE_FIELD_TYPE_PLACEHOLDER: "Select field type",
98445
+ MERGE_FIELD_DEFAULT_VALUE_PLACEHOLDER: "Enter default value",
98377
98446
  // Actions
98378
98447
  AUTO_PARSE: "Auto Parse",
98379
98448
  COMPLETION_TITLE: "Completion"
@@ -99322,18 +99391,18 @@ const Checkbox = React.forwardRef(({ className, ...props2 }, ref) => /* @__PURE_
99322
99391
  Checkbox.displayName = Root$3.displayName;
99323
99392
  var U = 1, Y$1 = 0.9, H4 = 0.8, J = 0.17, p = 0.1, u2 = 0.999, $ = 0.9999;
99324
99393
  var k$1 = 0.99, m3 = /[\\\/_+.#"@\[\(\{&]/, B2 = /[\\\/_+.#"@\[\(\{&]/g, K$1 = /[\s-]/, X2 = /[\s-]/g;
99325
- function G$1(_2, C2, h4, P2, A2, f2, O3) {
99394
+ function G$1(_2, C2, h5, P2, A2, f2, O3) {
99326
99395
  if (f2 === C2.length) return A2 === _2.length ? U : k$1;
99327
99396
  var T3 = `${A2},${f2}`;
99328
99397
  if (O3[T3] !== void 0) return O3[T3];
99329
- for (var L3 = P2.charAt(f2), c3 = h4.indexOf(L3, A2), S4 = 0, E3, N2, R3, M4; c3 >= 0; ) E3 = G$1(_2, C2, h4, P2, c3 + 1, f2 + 1, O3), E3 > S4 && (c3 === A2 ? E3 *= U : m3.test(_2.charAt(c3 - 1)) ? (E3 *= H4, R3 = _2.slice(A2, c3 - 1).match(B2), R3 && A2 > 0 && (E3 *= Math.pow(u2, R3.length))) : K$1.test(_2.charAt(c3 - 1)) ? (E3 *= Y$1, M4 = _2.slice(A2, c3 - 1).match(X2), M4 && A2 > 0 && (E3 *= Math.pow(u2, M4.length))) : (E3 *= J, A2 > 0 && (E3 *= Math.pow(u2, c3 - A2))), _2.charAt(c3) !== C2.charAt(f2) && (E3 *= $)), (E3 < p && h4.charAt(c3 - 1) === P2.charAt(f2 + 1) || P2.charAt(f2 + 1) === P2.charAt(f2) && h4.charAt(c3 - 1) !== P2.charAt(f2)) && (N2 = G$1(_2, C2, h4, P2, c3 + 1, f2 + 2, O3), N2 * p > E3 && (E3 = N2 * p)), E3 > S4 && (S4 = E3), c3 = h4.indexOf(L3, c3 + 1);
99398
+ for (var L3 = P2.charAt(f2), c3 = h5.indexOf(L3, A2), S4 = 0, E3, N2, R3, M4; c3 >= 0; ) E3 = G$1(_2, C2, h5, P2, c3 + 1, f2 + 1, O3), E3 > S4 && (c3 === A2 ? E3 *= U : m3.test(_2.charAt(c3 - 1)) ? (E3 *= H4, R3 = _2.slice(A2, c3 - 1).match(B2), R3 && A2 > 0 && (E3 *= Math.pow(u2, R3.length))) : K$1.test(_2.charAt(c3 - 1)) ? (E3 *= Y$1, M4 = _2.slice(A2, c3 - 1).match(X2), M4 && A2 > 0 && (E3 *= Math.pow(u2, M4.length))) : (E3 *= J, A2 > 0 && (E3 *= Math.pow(u2, c3 - A2))), _2.charAt(c3) !== C2.charAt(f2) && (E3 *= $)), (E3 < p && h5.charAt(c3 - 1) === P2.charAt(f2 + 1) || P2.charAt(f2 + 1) === P2.charAt(f2) && h5.charAt(c3 - 1) !== P2.charAt(f2)) && (N2 = G$1(_2, C2, h5, P2, c3 + 1, f2 + 2, O3), N2 * p > E3 && (E3 = N2 * p)), E3 > S4 && (S4 = E3), c3 = h5.indexOf(L3, c3 + 1);
99330
99399
  return O3[T3] = S4, S4;
99331
99400
  }
99332
99401
  function D3(_2) {
99333
99402
  return _2.toLowerCase().replace(X2, " ");
99334
99403
  }
99335
- function W(_2, C2, h4) {
99336
- return _2 = h4 && h4.length > 0 ? `${_2 + " " + h4.join(" ")}` : _2, G$1(_2, C2, D3(_2), D3(C2), 0, 0, {});
99404
+ function W(_2, C2, h5) {
99405
+ return _2 = h5 && h5.length > 0 ? `${_2 + " " + h5.join(" ")}` : _2, G$1(_2, C2, D3(_2), D3(C2), 0, 0, {});
99337
99406
  }
99338
99407
  var shim = { exports: {} };
99339
99408
  var useSyncExternalStoreShim_production = {};
@@ -99482,12 +99551,12 @@ var me = React.forwardRef((r2, o2) => {
99482
99551
  M3(() => {
99483
99552
  if (l2 !== void 0) {
99484
99553
  let e4 = l2.trim();
99485
- t3.current.value = e4, h4.emit();
99554
+ t3.current.value = e4, h5.emit();
99486
99555
  }
99487
99556
  }, [l2]), M3(() => {
99488
99557
  R3(6, re2);
99489
99558
  }, []);
99490
- let h4 = React.useMemo(() => ({ subscribe: (e4) => (f2.current.add(e4), () => f2.current.delete(e4)), snapshot: () => t3.current, setState: (e4, s4, i3) => {
99559
+ let h5 = React.useMemo(() => ({ subscribe: (e4) => (f2.current.add(e4), () => f2.current.delete(e4)), snapshot: () => t3.current, setState: (e4, s4, i3) => {
99491
99560
  var a4, m4, g2;
99492
99561
  if (!Object.is(t3.current[e4], s4)) {
99493
99562
  if (t3.current[e4] = s4, e4 === "search") W2(), U2(), R3(1, z3);
@@ -99496,22 +99565,22 @@ var me = React.forwardRef((r2, o2) => {
99496
99565
  (g2 = (m4 = p2.current).onValueChange) == null || g2.call(m4, S4);
99497
99566
  return;
99498
99567
  }
99499
- h4.emit();
99568
+ h5.emit();
99500
99569
  }
99501
99570
  }, emit: () => {
99502
99571
  f2.current.forEach((e4) => e4());
99503
99572
  } }), []), q3 = React.useMemo(() => ({ value: (e4, s4, i3) => {
99504
99573
  var a4;
99505
99574
  s4 !== ((a4 = d4.current.get(e4)) == null ? void 0 : a4.value) && (d4.current.set(e4, { value: s4, keywords: i3 }), t3.current.filtered.items.set(e4, ne2(s4, i3)), R3(2, () => {
99506
- U2(), h4.emit();
99575
+ U2(), h5.emit();
99507
99576
  }));
99508
99577
  }, item: (e4, s4) => (u3.current.add(e4), s4 && (c3.current.has(s4) ? c3.current.get(s4).add(e4) : c3.current.set(s4, /* @__PURE__ */ new Set([e4]))), R3(3, () => {
99509
- W2(), U2(), t3.current.value || z3(), h4.emit();
99578
+ W2(), U2(), t3.current.value || z3(), h5.emit();
99510
99579
  }), () => {
99511
99580
  d4.current.delete(e4), u3.current.delete(e4), t3.current.filtered.items.delete(e4);
99512
99581
  let i3 = A2();
99513
99582
  R3(4, () => {
99514
- W2(), (i3 == null ? void 0 : i3.getAttribute("id")) === e4 && z3(), h4.emit();
99583
+ W2(), (i3 == null ? void 0 : i3.getAttribute("id")) === e4 && z3(), h5.emit();
99515
99584
  });
99516
99585
  }), group: (e4) => (c3.current.has(e4) || c3.current.set(e4, /* @__PURE__ */ new Set()), () => {
99517
99586
  d4.current.delete(e4), c3.current.delete(e4);
@@ -99547,7 +99616,7 @@ var me = React.forwardRef((r2, o2) => {
99547
99616
  }
99548
99617
  function z3() {
99549
99618
  let e4 = _2().find((i3) => i3.getAttribute("aria-disabled") !== "true"), s4 = e4 == null ? void 0 : e4.getAttribute(I2);
99550
- h4.setState("value", s4 || void 0);
99619
+ h5.setState("value", s4 || void 0);
99551
99620
  }
99552
99621
  function W2() {
99553
99622
  var s4, i3, a4, m4;
@@ -99582,17 +99651,17 @@ var me = React.forwardRef((r2, o2) => {
99582
99651
  }
99583
99652
  function J2(e4) {
99584
99653
  let i3 = _2()[e4];
99585
- i3 && h4.setState("value", i3.getAttribute(I2));
99654
+ i3 && h5.setState("value", i3.getAttribute(I2));
99586
99655
  }
99587
99656
  function X3(e4) {
99588
99657
  var g2;
99589
99658
  let s4 = A2(), i3 = _2(), a4 = i3.findIndex((S4) => S4 === s4), m4 = i3[a4 + e4];
99590
- (g2 = p2.current) != null && g2.loop && (m4 = a4 + e4 < 0 ? i3[i3.length - 1] : a4 + e4 === i3.length ? i3[0] : i3[a4 + e4]), m4 && h4.setState("value", m4.getAttribute(I2));
99659
+ (g2 = p2.current) != null && g2.loop && (m4 = a4 + e4 < 0 ? i3[i3.length - 1] : a4 + e4 === i3.length ? i3[0] : i3[a4 + e4]), m4 && h5.setState("value", m4.getAttribute(I2));
99591
99660
  }
99592
99661
  function oe2(e4) {
99593
99662
  let s4 = A2(), i3 = s4 == null ? void 0 : s4.closest(N), a4;
99594
99663
  for (; i3 && !a4; ) i3 = e4 > 0 ? Ie(i3, N) : Me(i3, N), a4 = i3 == null ? void 0 : i3.querySelector(le);
99595
- a4 ? h4.setState("value", a4.getAttribute(I2)) : X3(e4);
99664
+ a4 ? h5.setState("value", a4.getAttribute(I2)) : X3(e4);
99596
99665
  }
99597
99666
  let ie2 = () => J2(_2().length - 1), ae2 = (e4) => {
99598
99667
  e4.preventDefault(), e4.metaKey ? ie2() : e4.altKey ? oe2(1) : X3(1);
@@ -99638,7 +99707,7 @@ var me = React.forwardRef((r2, o2) => {
99638
99707
  }
99639
99708
  }
99640
99709
  }
99641
- } }, React.createElement("label", { "cmdk-label": "", htmlFor: q3.inputId, id: q3.labelId, style: Le }, v2), j(r2, (e4) => React.createElement(de.Provider, { value: h4 }, React.createElement(ue.Provider, { value: q3 }, e4))));
99710
+ } }, React.createElement("label", { "cmdk-label": "", htmlFor: q3.inputId, id: q3.labelId, style: Le }, v2), j(r2, (e4) => React.createElement(de.Provider, { value: h5 }, React.createElement(ue.Provider, { value: q3 }, e4))));
99642
99711
  }), ye = React.forwardRef((r2, o2) => {
99643
99712
  var F2, x3;
99644
99713
  let t3 = useId$3(), u3 = React.useRef(null), c3 = React.useContext(fe), d4 = K2(), f2 = pe(r2), p2 = (x3 = (F2 = f2.current) == null ? void 0 : F2.forceMount) != null ? x3 : c3 == null ? void 0 : c3.forceMount;
@@ -99651,8 +99720,8 @@ var me = React.forwardRef((r2, o2) => {
99651
99720
  if (!(!R3 || r2.disabled)) return R3.addEventListener(Y2, E3), () => R3.removeEventListener(Y2, E3);
99652
99721
  }, [y4, r2.onSelect, r2.disabled]);
99653
99722
  function E3() {
99654
- var R3, h4;
99655
- C2(), (h4 = (R3 = f2.current).onSelect) == null || h4.call(R3, v2.current);
99723
+ var R3, h5;
99724
+ C2(), (h5 = (R3 = f2.current).onSelect) == null || h5.call(R3, v2.current);
99656
99725
  }
99657
99726
  function C2() {
99658
99727
  b3.setState("value", v2.current, true);
@@ -102982,7 +103051,7 @@ var dayjs_min = { exports: {} };
102982
103051
  !function(t3, e4) {
102983
103052
  module.exports = e4();
102984
103053
  }(commonjsGlobal, function() {
102985
- var t3 = 1e3, e4 = 6e4, n2 = 36e5, r2 = "millisecond", i3 = "second", s4 = "minute", u3 = "hour", a4 = "day", o2 = "week", c3 = "month", f2 = "quarter", h4 = "year", d4 = "date", l2 = "Invalid Date", $2 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y4 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M4 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t4) {
103054
+ var t3 = 1e3, e4 = 6e4, n2 = 36e5, r2 = "millisecond", i3 = "second", s4 = "minute", u3 = "hour", a4 = "day", o2 = "week", c3 = "month", f2 = "quarter", h5 = "year", d4 = "date", l2 = "Invalid Date", $2 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y4 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M4 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t4) {
102986
103055
  var e5 = ["th", "st", "nd", "rd"], n3 = t4 % 100;
102987
103056
  return "[" + t4 + (e5[(n3 - 20) % 10] || e5[n3] || e5[0]) + "]";
102988
103057
  } }, m4 = function(t4, e5, n3) {
@@ -102998,7 +103067,7 @@ var dayjs_min = { exports: {} };
102998
103067
  }, a: function(t4) {
102999
103068
  return t4 < 0 ? Math.ceil(t4) || 0 : Math.floor(t4);
103000
103069
  }, p: function(t4) {
103001
- return { M: c3, y: h4, w: o2, d: a4, D: d4, h: u3, m: s4, s: i3, ms: r2, Q: f2 }[t4] || String(t4 || "").toLowerCase().replace(/s$/, "");
103070
+ return { M: c3, y: h5, w: o2, d: a4, D: d4, h: u3, m: s4, s: i3, ms: r2, Q: f2 }[t4] || String(t4 || "").toLowerCase().replace(/s$/, "");
103002
103071
  }, u: function(t4) {
103003
103072
  return void 0 === t4;
103004
103073
  } }, g2 = "en", D4 = {};
@@ -103074,7 +103143,7 @@ var dayjs_min = { exports: {} };
103074
103143
  return b3.w(n3.toDate()[t5].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e6)), n3);
103075
103144
  }, y5 = this.$W, M6 = this.$M, m6 = this.$D, v3 = "set" + (this.$u ? "UTC" : "");
103076
103145
  switch (f3) {
103077
- case h4:
103146
+ case h5:
103078
103147
  return r3 ? l3(1, 0) : l3(31, 11);
103079
103148
  case c3:
103080
103149
  return r3 ? l3(1, M6) : l3(0, M6 + 1);
@@ -103096,8 +103165,8 @@ var dayjs_min = { exports: {} };
103096
103165
  }, m5.endOf = function(t4) {
103097
103166
  return this.startOf(t4, false);
103098
103167
  }, m5.$set = function(t4, e5) {
103099
- var n3, o3 = b3.p(t4), f3 = "set" + (this.$u ? "UTC" : ""), l3 = (n3 = {}, n3[a4] = f3 + "Date", n3[d4] = f3 + "Date", n3[c3] = f3 + "Month", n3[h4] = f3 + "FullYear", n3[u3] = f3 + "Hours", n3[s4] = f3 + "Minutes", n3[i3] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $3 = o3 === a4 ? this.$D + (e5 - this.$W) : e5;
103100
- if (o3 === c3 || o3 === h4) {
103168
+ var n3, o3 = b3.p(t4), f3 = "set" + (this.$u ? "UTC" : ""), l3 = (n3 = {}, n3[a4] = f3 + "Date", n3[d4] = f3 + "Date", n3[c3] = f3 + "Month", n3[h5] = f3 + "FullYear", n3[u3] = f3 + "Hours", n3[s4] = f3 + "Minutes", n3[i3] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $3 = o3 === a4 ? this.$D + (e5 - this.$W) : e5;
103169
+ if (o3 === c3 || o3 === h5) {
103101
103170
  var y5 = this.clone().set(d4, 1);
103102
103171
  y5.$d[l3]($3), y5.init(), this.$d = y5.set(d4, Math.min(this.$D, y5.daysInMonth())).$d;
103103
103172
  } else l3 && this.$d[l3]($3);
@@ -103114,7 +103183,7 @@ var dayjs_min = { exports: {} };
103114
103183
  return b3.w(e5.date(e5.date() + Math.round(t4 * r3)), l3);
103115
103184
  };
103116
103185
  if ($3 === c3) return this.set(c3, this.$M + r3);
103117
- if ($3 === h4) return this.set(h4, this.$y + r3);
103186
+ if ($3 === h5) return this.set(h5, this.$y + r3);
103118
103187
  if ($3 === a4) return y5(1);
103119
103188
  if ($3 === o2) return y5(7);
103120
103189
  var M6 = (d5 = {}, d5[s4] = e4, d5[u3] = n2, d5[i3] = t3, d5)[$3] || 1, m6 = this.$d.getTime() + r3 * M6;
@@ -103124,7 +103193,7 @@ var dayjs_min = { exports: {} };
103124
103193
  }, m5.format = function(t4) {
103125
103194
  var e5 = this, n3 = this.$locale();
103126
103195
  if (!this.isValid()) return n3.invalidDate || l2;
103127
- var r3 = t4 || "YYYY-MM-DDTHH:mm:ssZ", i4 = b3.z(this), s5 = this.$H, u4 = this.$m, a5 = this.$M, o3 = n3.weekdays, c4 = n3.months, f3 = n3.meridiem, h5 = function(t5, n4, i5, s6) {
103196
+ var r3 = t4 || "YYYY-MM-DDTHH:mm:ssZ", i4 = b3.z(this), s5 = this.$H, u4 = this.$m, a5 = this.$M, o3 = n3.weekdays, c4 = n3.months, f3 = n3.meridiem, h6 = function(t5, n4, i5, s6) {
103128
103197
  return t5 && (t5[n4] || t5(e5, r3)) || i5[n4].slice(0, s6);
103129
103198
  }, d5 = function(t5) {
103130
103199
  return b3.s(s5 % 12 || 12, t5, "0");
@@ -103144,9 +103213,9 @@ var dayjs_min = { exports: {} };
103144
103213
  case "MM":
103145
103214
  return b3.s(a5 + 1, 2, "0");
103146
103215
  case "MMM":
103147
- return h5(n3.monthsShort, a5, c4, 3);
103216
+ return h6(n3.monthsShort, a5, c4, 3);
103148
103217
  case "MMMM":
103149
- return h5(c4, a5);
103218
+ return h6(c4, a5);
103150
103219
  case "D":
103151
103220
  return e5.$D;
103152
103221
  case "DD":
@@ -103154,9 +103223,9 @@ var dayjs_min = { exports: {} };
103154
103223
  case "d":
103155
103224
  return String(e5.$W);
103156
103225
  case "dd":
103157
- return h5(n3.weekdaysMin, e5.$W, o3, 2);
103226
+ return h6(n3.weekdaysMin, e5.$W, o3, 2);
103158
103227
  case "ddd":
103159
- return h5(n3.weekdaysShort, e5.$W, o3, 3);
103228
+ return h6(n3.weekdaysShort, e5.$W, o3, 3);
103160
103229
  case "dddd":
103161
103230
  return o3[e5.$W];
103162
103231
  case "H":
@@ -103194,7 +103263,7 @@ var dayjs_min = { exports: {} };
103194
103263
  return b3.m(y5, m6);
103195
103264
  };
103196
103265
  switch (M6) {
103197
- case h4:
103266
+ case h5:
103198
103267
  $3 = D5() / 12;
103199
103268
  break;
103200
103269
  case c3:
@@ -103242,7 +103311,7 @@ var dayjs_min = { exports: {} };
103242
103311
  return this.$d.toUTCString();
103243
103312
  }, M5;
103244
103313
  }(), k3 = _2.prototype;
103245
- return O3.prototype = k3, [["$ms", r2], ["$s", i3], ["$m", s4], ["$H", u3], ["$W", a4], ["$M", c3], ["$y", h4], ["$D", d4]].forEach(function(t4) {
103314
+ return O3.prototype = k3, [["$ms", r2], ["$s", i3], ["$m", s4], ["$H", u3], ["$W", a4], ["$M", c3], ["$y", h5], ["$D", d4]].forEach(function(t4) {
103246
103315
  k3[t4[1]] = function(e5) {
103247
103316
  return this.$g(e5, t4[0], t4[1]);
103248
103317
  };
@@ -104949,7 +105018,8 @@ const ConditionRow = ({
104949
105018
  const metadata = getMetadataForField(condition.field) || {
104950
105019
  operators: [],
104951
105020
  type: JSONSchemaType.String,
104952
- options: void 0
105021
+ options: void 0,
105022
+ itemType: void 0
104953
105023
  };
104954
105024
  const operators = metadata.operators;
104955
105025
  const fieldType = metadata.type;
@@ -105939,15 +106009,27 @@ function SegmentBuilderDialog({
105939
106009
  }
105940
106010
  ) });
105941
106011
  }
106012
+ const reassuranceBanner = "reach-EstimatedMatchesView-module__reassuranceBanner___lsZbs";
106013
+ const reassuranceBannerText = "reach-EstimatedMatchesView-module__reassuranceBannerText___lzrQX";
106014
+ const reassuranceBannerTitle = "reach-EstimatedMatchesView-module__reassuranceBannerTitle___vJNIc";
105942
106015
  const learnMoreLink = "reach-EstimatedMatchesView-module__learnMoreLink___M-mr-";
105943
106016
  const reassuranceBannerAlternative = "reach-EstimatedMatchesView-module__reassuranceBannerAlternative___kBAuQ";
105944
106017
  const reassuranceBannerAlternativeText = "reach-EstimatedMatchesView-module__reassuranceBannerAlternativeText___Sifb-";
105945
106018
  const reassuranceBannerAlternativeTitle = "reach-EstimatedMatchesView-module__reassuranceBannerAlternativeTitle___rIfFG";
106019
+ const reassuranceBannerEnhanced = "reach-EstimatedMatchesView-module__reassuranceBannerEnhanced___3eY2G";
106020
+ const reassuranceBannerEnhancedText = "reach-EstimatedMatchesView-module__reassuranceBannerEnhancedText___IsBSu";
106021
+ const reassuranceBannerEnhancedTitle = "reach-EstimatedMatchesView-module__reassuranceBannerEnhancedTitle___ffoOU";
105946
106022
  const styles$1 = {
106023
+ reassuranceBanner,
106024
+ reassuranceBannerText,
106025
+ reassuranceBannerTitle,
105947
106026
  learnMoreLink,
105948
106027
  reassuranceBannerAlternative,
105949
106028
  reassuranceBannerAlternativeText,
105950
- reassuranceBannerAlternativeTitle
106029
+ reassuranceBannerAlternativeTitle,
106030
+ reassuranceBannerEnhanced,
106031
+ reassuranceBannerEnhancedText,
106032
+ reassuranceBannerEnhancedTitle
105951
106033
  };
105952
106034
  const TotalExplanationTooltip = () => {
105953
106035
  return /* @__PURE__ */ jsx(
@@ -106756,8 +106838,8 @@ const AutomationAudienceSelectorMain = ({ title: title2 = "Preview Audience" })
106756
106838
  };
106757
106839
  const canEditAudience = automation2?.status === AutomationStatus.DRAFT;
106758
106840
  return /* @__PURE__ */ jsxs(MainPageWrapper, { title: title2, children: [
106759
- isLoading || !segments || !initialStateSet ? /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(BasicLoader, { text: ["Fetching segments", "Finishing up"] }) }) : /* @__PURE__ */ jsxs("div", { className: "flex flex-col xl:flex-row gap-6 xl:gap-8 w-full pb-4 px-4 min-h-0", children: [
106760
- /* @__PURE__ */ jsxs("div", { className: "w-full xl:flex-1 xl:max-w-2xl min-h-0", children: [
106841
+ isLoading || !segments || !initialStateSet ? /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(BasicLoader, { text: ["Fetching segments", "Finishing up"] }) }) : /* @__PURE__ */ jsxs("div", { className: "flex gap-6 w-full pb-4 px-4 min-h-0", children: [
106842
+ /* @__PURE__ */ jsxs("div", { className: "w-1/2 min-h-0 flex flex-col gap-6", children: [
106761
106843
  /* @__PURE__ */ jsx(
106762
106844
  EstimatedMatchesView,
106763
106845
  {
@@ -106781,7 +106863,7 @@ const AutomationAudienceSelectorMain = ({ title: title2 = "Preview Audience" })
106781
106863
  animate: { opacity: 1, height: "auto" },
106782
106864
  exit: { opacity: 0, height: 0 },
106783
106865
  transition: { duration: 0.3, ease: "easeInOut" },
106784
- className: "w-full pt-4",
106866
+ className: "w-full",
106785
106867
  children: /* @__PURE__ */ jsx(
106786
106868
  SelectSegmentsContent,
106787
106869
  {
@@ -106804,7 +106886,7 @@ const AutomationAudienceSelectorMain = ({ title: title2 = "Preview Audience" })
106804
106886
  animate: { opacity: 1, height: "auto" },
106805
106887
  exit: { opacity: 0, height: 0 },
106806
106888
  transition: { duration: 0.3, ease: "easeInOut" },
106807
- className: "w-full pt-4",
106889
+ className: "w-full",
106808
106890
  children: /* @__PURE__ */ jsx(
106809
106891
  SelectIndividualUsersContent,
106810
106892
  {
@@ -106817,7 +106899,7 @@ const AutomationAudienceSelectorMain = ({ title: title2 = "Preview Audience" })
106817
106899
  }
106818
106900
  ) })
106819
106901
  ] }),
106820
- /* @__PURE__ */ jsx("div", { className: "w-full xl:flex-1 xl:min-w-0 min-h-0 flex flex-col max-h-full", children: /* @__PURE__ */ jsx(
106902
+ /* @__PURE__ */ jsx("div", { className: "w-1/2 min-h-0 flex flex-col", children: /* @__PURE__ */ jsx(
106821
106903
  RecipientsTable,
106822
106904
  {
106823
106905
  recipients: countResponse?.recipients || [],
@@ -110579,7 +110661,8 @@ const EngageSettingsProvider = ({
110579
110661
  const { navigation } = useWizardCore({
110580
110662
  config: {
110581
110663
  steps: SETTINGS_STEP_CONFIGS,
110582
- initialStep: ENGAGE_STEPS.BRAND
110664
+ initialStep: ENGAGE_STEPS.BRAND,
110665
+ mode: WIZARD_MODES.SETTINGS
110583
110666
  },
110584
110667
  onClose: () => setOpen(false)
110585
110668
  });
@@ -115962,9 +116045,9 @@ const AutomationAudienceSelector = () => {
115962
116045
  Icon: IconDefinitions.AudienceIcon,
115963
116046
  children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0.5 flex-1", children: [
115964
116047
  /* @__PURE__ */ jsx(MinorText, { children: "Audience" }),
115965
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 flex-wrap", children: [
116048
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
115966
116049
  /* @__PURE__ */ jsx(AutomationFlowLabel, { copyText }),
115967
- showSegmentPills && /* @__PURE__ */ jsx("div", { className: "flex gap-1 flex-wrap", children: includeSegmentIds.map((id2) => {
116050
+ showSegmentPills && /* @__PURE__ */ jsx("div", { className: "flex gap-1", children: includeSegmentIds.map((id2) => {
115968
116051
  const segment2 = segments?.find((segment22) => segment22.id === id2);
115969
116052
  if (!segment2) return null;
115970
116053
  return /* @__PURE__ */ jsx(SegmentPill, { segmentName: segment2.name }, id2);