@embedreach/components 0.3.30 → 0.3.32

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.
@@ -3959,7 +3959,7 @@ var count$8 = 0;
3959
3959
  function useId$5(deterministicId) {
3960
3960
  const [id2, setId] = React.useState(useReactId$3());
3961
3961
  useLayoutEffect2$4(() => {
3962
- setId((reactId) => reactId ?? String(count$8++));
3962
+ if (!deterministicId) setId((reactId) => reactId ?? String(count$8++));
3963
3963
  }, [deterministicId]);
3964
3964
  return deterministicId || (id2 ? `radix-${id2}` : "");
3965
3965
  }
@@ -5172,9 +5172,9 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
5172
5172
  !targetInLock && target !== document.body || // self content
5173
5173
  targetInLock && (endTarget.contains(target) || endTarget === target)
5174
5174
  );
5175
- if (isDeltaPositive && (Math.abs(availableScroll) < 1 || false)) {
5175
+ if (isDeltaPositive && (Math.abs(availableScroll) < 1 || !noOverscroll)) {
5176
5176
  shouldCancelScroll = true;
5177
- } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || false)) {
5177
+ } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || !noOverscroll)) {
5178
5178
  shouldCancelScroll = true;
5179
5179
  }
5180
5180
  return shouldCancelScroll;
@@ -5256,7 +5256,7 @@ function RemoveScrollSideCar(props2) {
5256
5256
  return true;
5257
5257
  }
5258
5258
  var cancelingAxis = activeAxis.current || currentAxis;
5259
- return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY);
5259
+ return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
5260
5260
  }, []);
5261
5261
  var shouldPrevent = React.useCallback(function(_event) {
5262
5262
  var event = _event;
@@ -13054,6 +13054,7 @@ const progress = /* @__NO_SIDE_EFFECTS__ */ (from2, to2, value) => {
13054
13054
  const secondsToMilliseconds = /* @__NO_SIDE_EFFECTS__ */ (seconds) => seconds * 1e3;
13055
13055
  const millisecondsToSeconds = /* @__NO_SIDE_EFFECTS__ */ (milliseconds) => milliseconds / 1e3;
13056
13056
  const MotionGlobalConfig = {
13057
+ skipAnimations: false,
13057
13058
  useManualTiming: false
13058
13059
  };
13059
13060
  const stepsOrder = [
@@ -13071,7 +13072,8 @@ const stepsOrder = [
13071
13072
  // Compute
13072
13073
  ];
13073
13074
  const statsBuffer = {
13074
- value: null
13075
+ value: null,
13076
+ addProjectionMetrics: null
13075
13077
  };
13076
13078
  function createRenderStep(runNextFrame, stepName) {
13077
13079
  let thisFrame = /* @__PURE__ */ new Set();
@@ -13400,7 +13402,7 @@ function useMotionRef(visualState, visualElement, externalRef) {
13400
13402
  const camelToDash = (str) => str.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase();
13401
13403
  const optimizedAppearDataId = "framerAppearId";
13402
13404
  const optimizedAppearDataAttribute = "data-" + camelToDash(optimizedAppearDataId);
13403
- const { schedule: microtask } = createRenderBatcher(queueMicrotask, false);
13405
+ const { schedule: microtask, cancel: cancelMicrotask } = createRenderBatcher(queueMicrotask, false);
13404
13406
  const SwitchLayoutGroupContext = createContext({});
13405
13407
  function useVisualElement(Component2, visualState, props2, createVisualElement, ProjectionNodeConstructor) {
13406
13408
  var _a2, _b;
@@ -15795,7 +15797,7 @@ function findSpring({ duration = springDefaults.duration, bounce = springDefault
15795
15797
  envelope = (undampedFreq2) => {
15796
15798
  const a4 = Math.exp(-undampedFreq2 * duration);
15797
15799
  const b3 = (undampedFreq2 - velocity) * duration + 1;
15798
- return -1e-3 + a4 * b3;
15800
+ return -safeMin + a4 * b3;
15799
15801
  };
15800
15802
  derivative = (undampedFreq2) => {
15801
15803
  const a4 = Math.exp(-undampedFreq2 * duration);
@@ -18144,22 +18146,22 @@ const borders = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"];
18144
18146
  const numBorders = borders.length;
18145
18147
  const asNumber = (value) => typeof value === "string" ? parseFloat(value) : value;
18146
18148
  const isPx = (value) => typeof value === "number" || px.test(value);
18147
- function mixValues(target, follow, lead, progress2, shouldCrossfadeOpacity, isOnlyMember) {
18149
+ function mixValues(target, follow, lead2, progress2, shouldCrossfadeOpacity, isOnlyMember) {
18148
18150
  if (shouldCrossfadeOpacity) {
18149
18151
  target.opacity = mixNumber$1(
18150
18152
  0,
18151
18153
  // TODO Reinstate this if only child
18152
- lead.opacity !== void 0 ? lead.opacity : 1,
18154
+ lead2.opacity !== void 0 ? lead2.opacity : 1,
18153
18155
  easeCrossfadeIn(progress2)
18154
18156
  );
18155
18157
  target.opacityExit = mixNumber$1(follow.opacity !== void 0 ? follow.opacity : 1, 0, easeCrossfadeOut(progress2));
18156
18158
  } else if (isOnlyMember) {
18157
- target.opacity = mixNumber$1(follow.opacity !== void 0 ? follow.opacity : 1, lead.opacity !== void 0 ? lead.opacity : 1, progress2);
18159
+ target.opacity = mixNumber$1(follow.opacity !== void 0 ? follow.opacity : 1, lead2.opacity !== void 0 ? lead2.opacity : 1, progress2);
18158
18160
  }
18159
18161
  for (let i2 = 0; i2 < numBorders; i2++) {
18160
18162
  const borderLabel = `border${borders[i2]}Radius`;
18161
18163
  let followRadius = getRadius(follow, borderLabel);
18162
- let leadRadius = getRadius(lead, borderLabel);
18164
+ let leadRadius = getRadius(lead2, borderLabel);
18163
18165
  if (followRadius === void 0 && leadRadius === void 0)
18164
18166
  continue;
18165
18167
  followRadius || (followRadius = 0);
@@ -18174,8 +18176,8 @@ function mixValues(target, follow, lead, progress2, shouldCrossfadeOpacity, isOn
18174
18176
  target[borderLabel] = leadRadius;
18175
18177
  }
18176
18178
  }
18177
- if (follow.rotate || lead.rotate) {
18178
- target.rotate = mixNumber$1(follow.rotate || 0, lead.rotate || 0, progress2);
18179
+ if (follow.rotate || lead2.rotate) {
18180
+ target.rotate = mixNumber$1(follow.rotate || 0, lead2.rotate || 0, progress2);
18179
18181
  }
18180
18182
  }
18181
18183
  function getRadius(values, radiusName) {
@@ -18853,11 +18855,11 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
18853
18855
  }
18854
18856
  resolveTargetDelta(forceRecalculation = false) {
18855
18857
  var _a2;
18856
- const lead = this.getLead();
18857
- this.isProjectionDirty || (this.isProjectionDirty = lead.isProjectionDirty);
18858
- this.isTransformDirty || (this.isTransformDirty = lead.isTransformDirty);
18859
- this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead.isSharedProjectionDirty);
18860
- const isShared = Boolean(this.resumingFrom) || this !== lead;
18858
+ const lead2 = this.getLead();
18859
+ this.isProjectionDirty || (this.isProjectionDirty = lead2.isProjectionDirty);
18860
+ this.isTransformDirty || (this.isTransformDirty = lead2.isTransformDirty);
18861
+ this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead2.isSharedProjectionDirty);
18862
+ const isShared = Boolean(this.resumingFrom) || this !== lead2;
18861
18863
  const canSkip = !(forceRecalculation || isShared && this.isSharedProjectionDirty || this.isProjectionDirty || ((_a2 = this.parent) === null || _a2 === void 0 ? void 0 : _a2.isProjectionDirty) || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize);
18862
18864
  if (canSkip)
18863
18865
  return;
@@ -18927,8 +18929,8 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
18927
18929
  }
18928
18930
  calcProjection() {
18929
18931
  var _a2;
18930
- const lead = this.getLead();
18931
- const isShared = Boolean(this.resumingFrom) || this !== lead;
18932
+ const lead2 = this.getLead();
18933
+ const isShared = Boolean(this.resumingFrom) || this !== lead2;
18932
18934
  let canSkip = true;
18933
18935
  if (this.isProjectionDirty || ((_a2 = this.parent) === null || _a2 === void 0 ? void 0 : _a2.isProjectionDirty)) {
18934
18936
  canSkip = false;
@@ -18952,11 +18954,11 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
18952
18954
  const prevTreeScaleX = this.treeScale.x;
18953
18955
  const prevTreeScaleY = this.treeScale.y;
18954
18956
  applyTreeDeltas(this.layoutCorrected, this.treeScale, this.path, isShared);
18955
- if (lead.layout && !lead.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1)) {
18956
- lead.target = lead.layout.layoutBox;
18957
- lead.targetWithTransforms = createBox();
18957
+ if (lead2.layout && !lead2.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1)) {
18958
+ lead2.target = lead2.layout.layoutBox;
18959
+ lead2.targetWithTransforms = createBox();
18958
18960
  }
18959
- const { target } = lead;
18961
+ const { target } = lead2;
18960
18962
  if (!target) {
18961
18963
  if (this.prevProjectionDelta) {
18962
18964
  this.createProjectionDeltas();
@@ -19091,17 +19093,17 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
19091
19093
  this.completeAnimation();
19092
19094
  }
19093
19095
  applyTransformsToTarget() {
19094
- const lead = this.getLead();
19095
- let { targetWithTransforms, target, layout: layout2, latestValues } = lead;
19096
+ const lead2 = this.getLead();
19097
+ let { targetWithTransforms, target, layout: layout2, latestValues } = lead2;
19096
19098
  if (!targetWithTransforms || !target || !layout2)
19097
19099
  return;
19098
- if (this !== lead && this.layout && layout2 && shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout2.layoutBox)) {
19100
+ if (this !== lead2 && this.layout && layout2 && shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout2.layoutBox)) {
19099
19101
  target = this.target || createBox();
19100
19102
  const xLength = calcLength(this.layout.layoutBox.x);
19101
- target.x.min = lead.target.x.min;
19103
+ target.x.min = lead2.target.x.min;
19102
19104
  target.x.max = target.x.min + xLength;
19103
19105
  const yLength = calcLength(this.layout.layoutBox.y);
19104
- target.y.min = lead.target.y.min;
19106
+ target.y.min = lead2.target.y.min;
19105
19107
  target.y.max = target.y.min + yLength;
19106
19108
  }
19107
19109
  copyBoxInto(targetWithTransforms, target);
@@ -19204,8 +19206,8 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
19204
19206
  styles2.transform = transformTemplate ? transformTemplate(this.latestValues, "") : "none";
19205
19207
  return styles2;
19206
19208
  }
19207
- const lead = this.getLead();
19208
- if (!this.projectionDelta || !this.layout || !lead.target) {
19209
+ const lead2 = this.getLead();
19210
+ if (!this.projectionDelta || !this.layout || !lead2.target) {
19209
19211
  const emptyStyles = {};
19210
19212
  if (this.options.layoutId) {
19211
19213
  emptyStyles.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1;
@@ -19217,7 +19219,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
19217
19219
  }
19218
19220
  return emptyStyles;
19219
19221
  }
19220
- const valuesToRender = lead.animationValues || lead.latestValues;
19222
+ const valuesToRender = lead2.animationValues || lead2.latestValues;
19221
19223
  this.applyTransformsToTarget();
19222
19224
  styles2.transform = buildProjectionTransform(this.projectionDeltaWithTransform, this.treeScale, valuesToRender);
19223
19225
  if (transformTemplate) {
@@ -19225,16 +19227,16 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
19225
19227
  }
19226
19228
  const { x: x3, y: y4 } = this.projectionDelta;
19227
19229
  styles2.transformOrigin = `${x3.origin * 100}% ${y4.origin * 100}% 0`;
19228
- if (lead.animationValues) {
19229
- 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;
19230
+ if (lead2.animationValues) {
19231
+ 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;
19230
19232
  } else {
19231
- styles2.opacity = lead === this ? valuesToRender.opacity !== void 0 ? valuesToRender.opacity : "" : valuesToRender.opacityExit !== void 0 ? valuesToRender.opacityExit : 0;
19233
+ styles2.opacity = lead2 === this ? valuesToRender.opacity !== void 0 ? valuesToRender.opacity : "" : valuesToRender.opacityExit !== void 0 ? valuesToRender.opacityExit : 0;
19232
19234
  }
19233
19235
  for (const key in scaleCorrectors) {
19234
19236
  if (valuesToRender[key] === void 0)
19235
19237
  continue;
19236
19238
  const { correct, applyTo, isCSSVariable } = scaleCorrectors[key];
19237
- const corrected = styles2.transform === "none" ? valuesToRender[key] : correct(valuesToRender[key], lead);
19239
+ const corrected = styles2.transform === "none" ? valuesToRender[key] : correct(valuesToRender[key], lead2);
19238
19240
  if (applyTo) {
19239
19241
  const num = applyTo.length;
19240
19242
  for (let i2 = 0; i2 < num; i2++) {
@@ -19249,7 +19251,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
19249
19251
  }
19250
19252
  }
19251
19253
  if (this.options.layoutId) {
19252
- styles2.pointerEvents = lead === this ? resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "" : "none";
19254
+ styles2.pointerEvents = lead2 === this ? resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "" : "none";
19253
19255
  }
19254
19256
  return styles2;
19255
19257
  }
@@ -24257,11 +24259,11 @@ const isDirty = (x3) => x3.status === "dirty";
24257
24259
  const isValid$2 = (x3) => x3.status === "valid";
24258
24260
  const isAsync = (x3) => typeof Promise !== "undefined" && x3 instanceof Promise;
24259
24261
  function __classPrivateFieldGet(receiver, state, kind, f2) {
24260
- 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");
24262
+ 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");
24261
24263
  return state.get(receiver);
24262
24264
  }
24263
24265
  function __classPrivateFieldSet(receiver, state, value, kind, f2) {
24264
- 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");
24266
+ 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");
24265
24267
  return state.set(receiver, value), value;
24266
24268
  }
24267
24269
  typeof SuppressedError === "function" ? SuppressedError : function(error2, suppressed, message2) {
@@ -27994,8 +27996,15 @@ const ENGAGE_STRINGS = {
27994
27996
  BUSINESS_ONBOARDING_TITLE: "Business Settings",
27995
27997
  EMAIL_ONBOARDING_TITLE: "Email Channel Settings",
27996
27998
  SMS_ONBOARDING_TITLE: "Connect Your SMS",
27999
+ MERGE_FIELDS_ONBOARDING_TITLE: "Merge Fields Setup",
28000
+ // Form sections
28001
+ COMPANY_INFORMATION: "Company Information",
28002
+ CONTACT_INFORMATION: "Contact Information",
27997
28003
  // Form fields
27998
28004
  BUSINESS_NAME: "DBA legal name",
28005
+ BUSINESS_WEBSITE: "Business Website",
28006
+ STREET_ADDRESS: "Street Address",
28007
+ STREET_ADDRESS_PLACEHOLDER: "Street address",
27999
28008
  ZIP_CODE: "ZIP Code",
28000
28009
  ZIP_CODE_PLACEHOLDER: "ZIP code",
28001
28010
  SELECT_COUNTRY_PLACEHOLDER: "Select country",
@@ -28005,6 +28014,20 @@ const ENGAGE_STRINGS = {
28005
28014
  LAST_NAME_PLACEHOLDER: "Last name",
28006
28015
  EMAIL_ADDRESS_PLACEHOLDER: "Email address",
28007
28016
  CONTACT_PHONE: "Contact Phone",
28017
+ BRAND_TAGLINE_PLACEHOLDER: "Your brand's tagline",
28018
+ BRAND_LOGO_ALT: "Brand logo preview",
28019
+ // Brand form fields
28020
+ BRAND_NAME_PLACEHOLDER: "Enter your brand name",
28021
+ BRAND_TONE_PLACEHOLDER: "Friendly, professional, casual...",
28022
+ BRAND_PERSONALITY_PLACEHOLDER: "Warm, caring, confident...",
28023
+ BRAND_VALUE_PLACEHOLDER: "Add a brand value",
28024
+ PRIMARY_COLOR_PLACEHOLDER: "hsl(var(--primary))",
28025
+ FOREGROUND_COLOR_PLACEHOLDER: "hsl(var(--foreground))",
28026
+ // Merge Fields form fields
28027
+ MERGE_FIELD_NAME_PLACEHOLDER: "Enter merge field name",
28028
+ MERGE_FIELD_DESCRIPTION_PLACEHOLDER: "Enter merge field description",
28029
+ MERGE_FIELD_TYPE_PLACEHOLDER: "Select field type",
28030
+ MERGE_FIELD_DEFAULT_VALUE_PLACEHOLDER: "Enter default value",
28008
28031
  // Actions
28009
28032
  AUTO_PARSE: "Auto Parse",
28010
28033
  COMPLETION_TITLE: "Completion"
@@ -30989,6 +31012,7 @@ const secondary = "reach-styles-module__secondary___VQ4iH";
30989
31012
  const destructive = "reach-styles-module__destructive___RLaRD";
30990
31013
  const outline = "reach-styles-module__outline___L2VtW";
30991
31014
  const google = "reach-styles-module__google___HcEij";
31015
+ const dark = "reach-styles-module__dark___729i-";
30992
31016
  const date$2 = "reach-styles-module__date___-6BC4";
30993
31017
  const sizeDefault$1 = "reach-styles-module__sizeDefault___iGTp4";
30994
31018
  const sizeSm$1 = "reach-styles-module__sizeSm___6T2oK";
@@ -31010,6 +31034,7 @@ const segmentAllUsers = "reach-styles-module__segmentAllUsers___1aXpc";
31010
31034
  const segmentManaged = "reach-styles-module__segmentManaged___o0gOu";
31011
31035
  const segmentCustom = "reach-styles-module__segmentCustom___xc3lG";
31012
31036
  const beta = "reach-styles-module__beta___n9qPf";
31037
+ const pulse = "reach-styles-module__pulse___0hJq4";
31013
31038
  const styles$5 = {
31014
31039
  base: base$2,
31015
31040
  "default": "reach-styles-module__default___zeGU1",
@@ -31017,6 +31042,7 @@ const styles$5 = {
31017
31042
  destructive,
31018
31043
  outline,
31019
31044
  google,
31045
+ dark,
31020
31046
  date: date$2,
31021
31047
  sizeDefault: sizeDefault$1,
31022
31048
  sizeSm: sizeSm$1,
@@ -31037,7 +31063,8 @@ const styles$5 = {
31037
31063
  segmentAllUsers,
31038
31064
  segmentManaged,
31039
31065
  segmentCustom,
31040
- beta
31066
+ beta,
31067
+ pulse
31041
31068
  };
31042
31069
  const badgeVariants = cva([styles$5.base], {
31043
31070
  variants: {
@@ -35251,7 +35278,8 @@ const EngageSettingsProvider = ({
35251
35278
  const { navigation } = useWizardCore({
35252
35279
  config: {
35253
35280
  steps: SETTINGS_STEP_CONFIGS,
35254
- initialStep: ENGAGE_STEPS.BRAND
35281
+ initialStep: ENGAGE_STEPS.BRAND,
35282
+ mode: WIZARD_MODES.SETTINGS
35255
35283
  },
35256
35284
  onClose: () => setOpen(false)
35257
35285
  });
@@ -50145,7 +50173,7 @@ var webVitals_attribution_umd = { exports: {} };
50145
50173
  document.addEventListener("visibilitychange", function() {
50146
50174
  "hidden" === document.visibilityState && t4();
50147
50175
  });
50148
- }, h4 = function(t4) {
50176
+ }, h5 = function(t4) {
50149
50177
  var e5 = false;
50150
50178
  return function() {
50151
50179
  e5 || (t4(), e5 = true);
@@ -50214,7 +50242,7 @@ var webVitals_attribution_umd = { exports: {} };
50214
50242
  }
50215
50243
  }, N2 = function(t4) {
50216
50244
  var e5 = self.requestIdleCallback || self.setTimeout, n3 = -1;
50217
- return t4 = h4(t4), "hidden" === document.visibilityState ? t4() : (n3 = e5(t4), v2(t4)), n3;
50245
+ return t4 = h5(t4), "hidden" === document.visibilityState ? t4() : (n3 = e5(t4), v2(t4)), n3;
50218
50246
  }, H5 = [200, 500], V2 = function(t4, e5) {
50219
50247
  "PerformanceEventTiming" in self && "interactionId" in PerformanceEventTiming.prototype && (e5 = e5 || {}, C2(function() {
50220
50248
  var n3;
@@ -50326,7 +50354,7 @@ var webVitals_attribution_umd = { exports: {} };
50326
50354
  }, o3 = function(t5) {
50327
50355
  t5.forEach(a5);
50328
50356
  }, c4 = l2("first-input", o3);
50329
- n3 = m4(t4, i3, mt2, e5.reportAllChanges), c4 && (v2(h4(function() {
50357
+ n3 = m4(t4, i3, mt2, e5.reportAllChanges), c4 && (v2(h5(function() {
50330
50358
  o3(c4.takeRecords()), c4.disconnect();
50331
50359
  })), u3(function() {
50332
50360
  var r4;
@@ -50336,7 +50364,7 @@ var webVitals_attribution_umd = { exports: {} };
50336
50364
  };
50337
50365
  t3.CLSThresholds = D4, t3.FCPThresholds = L3, t3.FIDThresholds = mt2, t3.INPThresholds = H5, t3.LCPThresholds = nt2, t3.TTFBThresholds = it2, t3.onCLS = function(t4, e5) {
50338
50366
  !function(t5, e6) {
50339
- e6 = e6 || {}, M4(h4(function() {
50367
+ e6 = e6 || {}, M4(h5(function() {
50340
50368
  var n3, r3 = d4("CLS", 0), i3 = 0, a5 = [], o3 = function(t6) {
50341
50369
  t6.forEach(function(t7) {
50342
50370
  if (!t7.hadRecentInput) {
@@ -50418,7 +50446,7 @@ var webVitals_attribution_umd = { exports: {} };
50418
50446
  }, o3 = l2("largest-contentful-paint", a5);
50419
50447
  if (o3) {
50420
50448
  n3 = m4(t5, i3, nt2, e6.reportAllChanges);
50421
- var c4 = h4(function() {
50449
+ var c4 = h5(function() {
50422
50450
  rt2[i3.id] || (a5(o3.takeRecords()), o3.disconnect(), rt2[i3.id] = true, n3(true));
50423
50451
  });
50424
50452
  ["keydown", "click"].forEach(function(t6) {
@@ -51429,6 +51457,9 @@ function safeExecuteInTheMiddle$2(execute, onFinish, preventThrowingError) {
51429
51457
  error2 = e4;
51430
51458
  } finally {
51431
51459
  onFinish(error2, result);
51460
+ if (error2 && !preventThrowingError) {
51461
+ throw error2;
51462
+ }
51432
51463
  return result;
51433
51464
  }
51434
51465
  }
@@ -51642,7 +51673,7 @@ var DocumentLoadInstrumentation = (
51642
51673
  return;
51643
51674
  }
51644
51675
  _this._diag.error("addCustomAttributesOnSpan", error2);
51645
- });
51676
+ }, true);
51646
51677
  }
51647
51678
  };
51648
51679
  DocumentLoadInstrumentation2.prototype._addCustomAttributesOnResourceSpan = function(span, resource, applyCustomAttributesOnSpan) {
@@ -51655,7 +51686,7 @@ var DocumentLoadInstrumentation = (
51655
51686
  return;
51656
51687
  }
51657
51688
  _this._diag.error("addCustomAttributesOnResourceSpan", error2);
51658
- });
51689
+ }, true);
51659
51690
  }
51660
51691
  };
51661
51692
  DocumentLoadInstrumentation2.prototype.enable = function() {
@@ -52017,6 +52048,9 @@ function safeExecuteInTheMiddle$1(execute, onFinish, preventThrowingError) {
52017
52048
  error2 = e4;
52018
52049
  } finally {
52019
52050
  onFinish(error2, result);
52051
+ if (error2 && !preventThrowingError) {
52052
+ throw error2;
52053
+ }
52020
52054
  return result;
52021
52055
  }
52022
52056
  }
@@ -52558,20 +52592,20 @@ var FetchInstrumentation = (
52558
52592
  }
52559
52593
  if (options instanceof Request) {
52560
52594
  propagation.inject(context.active(), options.headers, {
52561
- set: function(h4, k3, v2) {
52562
- return h4.set(k3, typeof v2 === "string" ? v2 : String(v2));
52595
+ set: function(h5, k3, v2) {
52596
+ return h5.set(k3, typeof v2 === "string" ? v2 : String(v2));
52563
52597
  }
52564
52598
  });
52565
52599
  } else if (options.headers instanceof Headers) {
52566
52600
  propagation.inject(context.active(), options.headers, {
52567
- set: function(h4, k3, v2) {
52568
- return h4.set(k3, typeof v2 === "string" ? v2 : String(v2));
52601
+ set: function(h5, k3, v2) {
52602
+ return h5.set(k3, typeof v2 === "string" ? v2 : String(v2));
52569
52603
  }
52570
52604
  });
52571
52605
  } else if (options.headers instanceof Map) {
52572
52606
  propagation.inject(context.active(), options.headers, {
52573
- set: function(h4, k3, v2) {
52574
- return h4.set(k3, typeof v2 === "string" ? v2 : String(v2));
52607
+ set: function(h5, k3, v2) {
52608
+ return h5.set(k3, typeof v2 === "string" ? v2 : String(v2));
52575
52609
  }
52576
52610
  });
52577
52611
  } else {
@@ -52740,7 +52774,7 @@ var FetchInstrumentation = (
52740
52774
  return;
52741
52775
  }
52742
52776
  _this._diag.error("applyCustomAttributesOnSpan", error2);
52743
- });
52777
+ }, true);
52744
52778
  }
52745
52779
  };
52746
52780
  FetchInstrumentation2.prototype._prepareSpanData = function(spanUrl) {
@@ -53563,6 +53597,9 @@ function safeExecuteInTheMiddle(execute, onFinish, preventThrowingError) {
53563
53597
  error2 = e4;
53564
53598
  } finally {
53565
53599
  onFinish(error2, result);
53600
+ if (error2 && !preventThrowingError) {
53601
+ throw error2;
53602
+ }
53566
53603
  return result;
53567
53604
  }
53568
53605
  }
@@ -53938,7 +53975,7 @@ var XMLHttpRequestInstrumentation = (
53938
53975
  return;
53939
53976
  }
53940
53977
  _this._diag.error("applyCustomAttributesOnSpan", error2);
53941
- });
53978
+ }, true);
53942
53979
  }
53943
53980
  };
53944
53981
  XMLHttpRequestInstrumentation2.prototype._addResourceObserver = function(xhr, spanUrl) {
@@ -54434,11 +54471,11 @@ var Y$3 = M$2("v5", 80, function(e4) {
54434
54471
  for (var d4 = 0; d4 < a4; ++d4) {
54435
54472
  for (var f2 = new Uint32Array(80), g2 = 0; g2 < 16; ++g2) f2[g2] = s4[d4][g2];
54436
54473
  for (var v2 = 16; v2 < 80; ++v2) f2[v2] = Q$2(f2[v2 - 3] ^ f2[v2 - 8] ^ f2[v2 - 14] ^ f2[v2 - 16], 1);
54437
- for (var p2 = n2[0], m4 = n2[1], h4 = n2[2], y4 = n2[3], w3 = n2[4], b3 = 0; b3 < 80; ++b3) {
54438
- var k3 = Math.floor(b3 / 20), E3 = Q$2(p2, 5) + X$2(k3, m4, h4, y4) + w3 + t3[k3] + f2[b3] >>> 0;
54439
- w3 = y4, y4 = h4, h4 = Q$2(m4, 30) >>> 0, m4 = p2, p2 = E3;
54474
+ for (var p2 = n2[0], m4 = n2[1], h5 = n2[2], y4 = n2[3], w3 = n2[4], b3 = 0; b3 < 80; ++b3) {
54475
+ var k3 = Math.floor(b3 / 20), E3 = Q$2(p2, 5) + X$2(k3, m4, h5, y4) + w3 + t3[k3] + f2[b3] >>> 0;
54476
+ w3 = y4, y4 = h5, h5 = Q$2(m4, 30) >>> 0, m4 = p2, p2 = E3;
54440
54477
  }
54441
- 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;
54478
+ 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;
54442
54479
  }
54443
54480
  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]];
54444
54481
  }), Z$2 = Y$3;
@@ -54685,6 +54722,9 @@ const { commonBasicLogger: ye$2 } = ne$2;
54685
54722
  function we$2(e4) {
54686
54723
  return "string" == typeof e4 && "kind" !== e4 && e4.match(/^(\w|\.|-)+$/);
54687
54724
  }
54725
+ function be$2(e4) {
54726
+ return e4.includes("%") || e4.includes(":") ? e4.replace(/%/g, "%25").replace(/:/g, "%3A") : e4;
54727
+ }
54688
54728
  var ke$2 = { checkContext: function(e4, t3) {
54689
54729
  if (e4) {
54690
54730
  if (t3 && (void 0 === e4.kind || null === e4.kind)) return void 0 !== e4.key && null !== e4.key;
@@ -54723,6 +54763,12 @@ var ke$2 = { checkContext: function(e4, t3) {
54723
54763
  return n2;
54724
54764
  }, getContextKinds: function(e4) {
54725
54765
  return e4 ? null === e4.kind || void 0 === e4.kind ? ["user"] : "multi" !== e4.kind ? [e4.kind] : Object.keys(e4).filter((e5) => "kind" !== e5) : [];
54766
+ }, getCanonicalKey: function(e4) {
54767
+ if (e4) {
54768
+ if ((void 0 === e4.kind || null === e4.kind || "user" === e4.kind) && e4.key) return e4.key;
54769
+ if ("multi" !== e4.kind && e4.key) return `${e4.kind}:${be$2(e4.key)}`;
54770
+ if ("multi" === e4.kind) return Object.keys(e4).sort().filter((e5) => "kind" !== e5).map((t3) => `${t3}:${be$2(e4[t3].key)}`).join(":");
54771
+ }
54726
54772
  } };
54727
54773
  const { getContextKinds: Ee$2 } = ke$2;
54728
54774
  var De$2 = function() {
@@ -54818,7 +54864,7 @@ var Te$2 = function(e4) {
54818
54864
  const { getContextKeys: Le$2 } = ke$2;
54819
54865
  var Ue$1 = function(e4, t3, n2, r2 = null, o2 = null, i2 = null) {
54820
54866
  const a4 = {}, c3 = i2 || 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;
54821
- let m4, h4 = [], y4 = 0, w3 = false, b3 = false;
54867
+ let m4, h5 = [], y4 = 0, w3 = false, b3 = false;
54822
54868
  function k3() {
54823
54869
  return 0 === f2 || 0 === Math.floor(Math.random() * f2);
54824
54870
  }
@@ -54827,7 +54873,7 @@ var Ue$1 = function(e4, t3, n2, r2 = null, o2 = null, i2 = null) {
54827
54873
  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;
54828
54874
  }
54829
54875
  function D4(e5) {
54830
- h4.length < g2 ? (h4.push(e5), b3 = false) : (b3 || (b3 = true, p2.warn(ie$3.eventCapacityExceeded())), r2 && r2.incrementDroppedEvents());
54876
+ h5.length < g2 ? (h5.push(e5), b3 = false) : (b3 || (b3 = true, p2.warn(ie$3.eventCapacityExceeded())), r2 && r2.incrementDroppedEvents());
54831
54877
  }
54832
54878
  return a4.enqueue = function(e5) {
54833
54879
  if (w3) return;
@@ -54839,8 +54885,8 @@ var Ue$1 = function(e4, t3, n2, r2 = null, o2 = null, i2 = null) {
54839
54885
  }
54840
54886
  }, a4.flush = function() {
54841
54887
  if (w3) return Promise.resolve();
54842
- const e5 = h4, t4 = l2.getSummary();
54843
- 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) => {
54888
+ const e5 = h5, t4 = l2.getSummary();
54889
+ 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) => {
54844
54890
  e6 && (e6.serverTime && (y4 = e6.serverTime), s$1.isHttpErrorRecoverable(e6.status) || (w3 = true), e6.status >= 400 && S$2.onNextTick(() => {
54845
54891
  o2.maybeReportError(new s$1.LDUnexpectedResponseError(ie$3.httpErrorMessage(e6.status, "event posting", "some events were dropped")));
54846
54892
  }));
@@ -54942,7 +54988,7 @@ var Ve$2 = function(e4, t3) {
54942
54988
  const { appendUrlPath: Me$2, base64URLEncode: qe$1, objectHasOwnProperty: He$1 } = S$2, { getLDHeaders: ze$1, transformHeaders: Ke$1 } = ge$1, { isHttpErrorRecoverable: _e$1 } = s$1;
54943
54989
  var Je$1 = function(e4, t3, n2, r2) {
54944
54990
  const o2 = t3.streamUrl, i2 = t3.logger, a4 = {}, s4 = Me$2(o2, "/eval/" + n2), c3 = t3.useReport, u3 = t3.evaluationReasons, l2 = t3.streamReconnectDelay, d4 = ze$1(e4, t3);
54945
- let f2, g2 = false, v2 = null, p2 = null, m4 = null, h4 = null, y4 = null, w3 = 0;
54991
+ let f2, g2 = false, v2 = null, p2 = null, m4 = null, h5 = null, y4 = null, w3 = 0;
54946
54992
  function b3() {
54947
54993
  const e5 = (t4 = function() {
54948
54994
  const e6 = l2 * Math.pow(2, w3);
@@ -54965,7 +55011,7 @@ var Je$1 = function(e4, t3, n2, r2) {
54965
55011
  let a5 = "";
54966
55012
  const l3 = { headers: d4, readTimeoutMillis: 3e5 };
54967
55013
  if (e4.eventSourceFactory) {
54968
- 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(), i2.info(ie$3.streamConnecting(r3)), f2 = (/* @__PURE__ */ new Date()).getTime(), v2 = e4.eventSourceFactory(r3, l3);
55014
+ 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(), i2.info(ie$3.streamConnecting(r3)), f2 = (/* @__PURE__ */ new Date()).getTime(), v2 = e4.eventSourceFactory(r3, l3);
54969
55015
  for (const e5 in y4) He$1(y4, e5) && v2.addEventListener(e5, y4[e5]);
54970
55016
  v2.onerror = k3, v2.onopen = () => {
54971
55017
  w3 = 0;
@@ -54979,7 +55025,7 @@ var Je$1 = function(e4, t3, n2, r2) {
54979
55025
  f2 && r2 && r2.recordStreamInit(f2, !e5, (/* @__PURE__ */ new Date()).getTime() - f2), f2 = null;
54980
55026
  }
54981
55027
  return a4.connect = function(e5, t4, n3) {
54982
- m4 = e5, h4 = t4, y4 = {};
55028
+ m4 = e5, h5 = t4, y4 = {};
54983
55029
  for (const e6 in n3 || {}) y4[e6] = function(t5) {
54984
55030
  g2 = false, C2(true), n3[e6] && n3[e6](t5);
54985
55031
  };
@@ -55102,13 +55148,13 @@ var it$1 = { DiagnosticId: function(e4) {
55102
55148
  function m4() {
55103
55149
  return { sdk: w3(), configuration: b3(), platform: e4.diagnosticPlatformData };
55104
55150
  }
55105
- function h4(e5) {
55151
+ function h5(e5) {
55106
55152
  i2.logger && i2.logger.debug(ie$3.debugPostingDiagnosticEvent(e5)), r2.sendEvents(e5, u3, true).then(() => {
55107
55153
  }).catch(() => {
55108
55154
  });
55109
55155
  }
55110
55156
  function y4() {
55111
- h4(function() {
55157
+ h5(function() {
55112
55158
  const e5 = (/* @__PURE__ */ new Date()).getTime();
55113
55159
  let t4 = { kind: s4 ? "diagnostic-combined" : "diagnostic", id: a4, creationDate: e5, ...d4.getProps() };
55114
55160
  return s4 && (t4 = { ...t4, ...m4() }), d4.reset(e5), t4;
@@ -55144,7 +55190,7 @@ var it$1 = { DiagnosticId: function(e4) {
55144
55190
  const e6 = (f2 || 0) + l2, t4 = (/* @__PURE__ */ new Date()).getTime();
55145
55191
  t4 >= e6 ? y4() : g2 = setTimeout(y4, e6 - t4);
55146
55192
  } else 0 === Math.floor(4 * Math.random()) ? y4() : g2 = setTimeout(y4, l2);
55147
- }) : (h4({ kind: "diagnostic-init", id: a4, creationDate: d4.getProps().dataSinceDate, ...m4() }), g2 = setTimeout(y4, l2));
55193
+ }) : (h5({ kind: "diagnostic-init", id: a4, creationDate: d4.getProps().dataSinceDate, ...m4() }), g2 = setTimeout(y4, l2));
55148
55194
  }, p2.stop = () => {
55149
55195
  g2 && clearTimeout(g2);
55150
55196
  }, p2.setStreaming = (e5) => {
@@ -55198,14 +55244,14 @@ var dt$1 = function(e4, t3) {
55198
55244
  }, 1e3 * e4);
55199
55245
  });
55200
55246
  };
55201
- 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";
55247
+ 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";
55202
55248
  var wt$1 = { initialize: function(e4, t3, n2, r2, o2) {
55203
55249
  const i2 = function() {
55204
55250
  if (n2 && n2.logger) return n2.logger;
55205
55251
  return o2 && o2.logger && o2.logger.default || ft$1("warn");
55206
55252
  }(), a4 = Re$1(i2), c3 = Ne$1(a4), u3 = de$2.validate(n2, a4, o2, i2), l2 = mt$1(u3.inspectors, i2), d4 = u3.sendEvents;
55207
55253
  let f2 = e4, g2 = u3.hash;
55208
- const v2 = Ve$2(r2.localStorage, i2), 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);
55254
+ const v2 = Ve$2(r2.localStorage, i2), 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);
55209
55255
  let D4, x3, C2, P2 = {}, I3 = u3.streaming, O3 = false, T3 = false, L3 = true;
55210
55256
  const U2 = u3.stateProvider, R3 = Ye$1(null, function(e5) {
55211
55257
  (function(e6) {
@@ -55410,14 +55456,14 @@ var wt$1 = { initialize: function(e4, t3, n2, r2, o2) {
55410
55456
  }, enqueueEvent: F2, getFlagsInternal: function() {
55411
55457
  return P2;
55412
55458
  }, getEnvironmentId: () => f2, internalChangeEventName: yt$1 };
55413
- }, errors: s$1 }, bt$1 = wt$1.initialize, kt$1 = wt$1.errors;
55459
+ }, commonBasicLogger: ft$1, errors: s$1, messages: ie$3, utils: S$2, getContextKeys: vt$1 }, bt$1 = wt$1.initialize, kt$1 = wt$1.errors;
55414
55460
  function Dt$1(e4, t3, n2) {
55415
55461
  return (t3 = function(e5) {
55416
55462
  var t4 = function(e6, t5) {
55417
55463
  if ("object" != typeof e6 || !e6) return e6;
55418
55464
  var n3 = e6[Symbol.toPrimitive];
55419
55465
  if (void 0 !== n3) {
55420
- var r2 = n3.call(e6, t5);
55466
+ var r2 = n3.call(e6, t5 || "default");
55421
55467
  if ("object" != typeof r2) return r2;
55422
55468
  throw new TypeError("@@toPrimitive must return a primitive value.");
55423
55469
  }
@@ -55615,6 +55661,7 @@ function Ft$1(e4, t3) {
55615
55661
  "hidden" === document.visibilityState && u3();
55616
55662
  }), window.addEventListener("pagehide", u3), i2;
55617
55663
  }
55664
+ var INFINITY = 1 / 0;
55618
55665
  var symbolTag = "[object Symbol]";
55619
55666
  var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
55620
55667
  var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
@@ -55894,12 +55941,12 @@ function baseToString(value) {
55894
55941
  return symbolToString ? symbolToString.call(value) : "";
55895
55942
  }
55896
55943
  var result = value + "";
55897
- return result == "0" && 1 / value == -Infinity ? "-0" : result;
55944
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
55898
55945
  }
55899
55946
  function castSlice(array, start, end) {
55900
55947
  var length = array.length;
55901
55948
  end = end === void 0 ? length : end;
55902
- return false ? array : baseSlice(array, start, end);
55949
+ return !start && end >= length ? array : baseSlice(array, start, end);
55903
55950
  }
55904
55951
  function createCaseFirst(methodName) {
55905
55952
  return function(string) {
@@ -55960,7 +56007,7 @@ var hasRequiredReactIs_production_min;
55960
56007
  function requireReactIs_production_min() {
55961
56008
  if (hasRequiredReactIs_production_min) return reactIs_production_min;
55962
56009
  hasRequiredReactIs_production_min = 1;
55963
- 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;
56010
+ 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;
55964
56011
  function z3(a4) {
55965
56012
  if ("object" === typeof a4 && null !== a4) {
55966
56013
  var u3 = a4.$$typeof;
@@ -55980,7 +56027,7 @@ function requireReactIs_production_min() {
55980
56027
  case n2:
55981
56028
  case t3:
55982
56029
  case r2:
55983
- case h4:
56030
+ case h5:
55984
56031
  return a4;
55985
56032
  default:
55986
56033
  return u3;
@@ -55997,7 +56044,7 @@ function requireReactIs_production_min() {
55997
56044
  reactIs_production_min.AsyncMode = l2;
55998
56045
  reactIs_production_min.ConcurrentMode = m4;
55999
56046
  reactIs_production_min.ContextConsumer = k3;
56000
- reactIs_production_min.ContextProvider = h4;
56047
+ reactIs_production_min.ContextProvider = h5;
56001
56048
  reactIs_production_min.Element = c3;
56002
56049
  reactIs_production_min.ForwardRef = n2;
56003
56050
  reactIs_production_min.Fragment = e4;
@@ -56015,7 +56062,7 @@ function requireReactIs_production_min() {
56015
56062
  return z3(a4) === k3;
56016
56063
  };
56017
56064
  reactIs_production_min.isContextProvider = function(a4) {
56018
- return z3(a4) === h4;
56065
+ return z3(a4) === h5;
56019
56066
  };
56020
56067
  reactIs_production_min.isElement = function(a4) {
56021
56068
  return "object" === typeof a4 && null !== a4 && a4.$$typeof === c3;
@@ -56045,7 +56092,7 @@ function requireReactIs_production_min() {
56045
56092
  return z3(a4) === p2;
56046
56093
  };
56047
56094
  reactIs_production_min.isValidElementType = function(a4) {
56048
- 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);
56095
+ 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);
56049
56096
  };
56050
56097
  reactIs_production_min.typeOf = z3;
56051
56098
  return reactIs_production_min;
@@ -56939,13 +56986,13 @@ function si(i2, e4, r2, s4, n2) {
56939
56986
  var u3 = r2.dom_event_allowlist;
56940
56987
  if (u3 && !u3.some((t3) => e4.type === t3)) return false;
56941
56988
  }
56942
- for (var h4 = false, d4 = [i2], v2 = true, c3 = i2; c3.parentNode && !Jt(c3, "body"); ) if (Kt(c3.parentNode)) d4.push(c3.parentNode.host), c3 = c3.parentNode.host;
56989
+ for (var h5 = false, d4 = [i2], v2 = true, c3 = i2; c3.parentNode && !Jt(c3, "body"); ) if (Kt(c3.parentNode)) d4.push(c3.parentNode.host), c3 = c3.parentNode.host;
56943
56990
  else {
56944
56991
  if (!(v2 = ri(c3))) break;
56945
- if (s4 || ei.indexOf(v2.tagName.toLowerCase()) > -1) h4 = true;
56992
+ if (s4 || ei.indexOf(v2.tagName.toLowerCase()) > -1) h5 = true;
56946
56993
  else {
56947
56994
  var f2 = t.getComputedStyle(v2);
56948
- f2 && "pointer" === f2.getPropertyValue("cursor") && (h4 = true);
56995
+ f2 && "pointer" === f2.getPropertyValue("cursor") && (h5 = true);
56949
56996
  }
56950
56997
  d4.push(v2), c3 = v2;
56951
56998
  }
@@ -56980,7 +57027,7 @@ function si(i2, e4, r2, s4, n2) {
56980
57027
  case "textarea":
56981
57028
  return (n2 || ["change", "click"]).indexOf(e4.type) >= 0;
56982
57029
  default:
56983
- return h4 ? (n2 || ["click"]).indexOf(e4.type) >= 0 : (n2 || ["click"]).indexOf(e4.type) >= 0 && (ei.indexOf(_2) > -1 || "true" === i2.getAttribute("contenteditable"));
57030
+ return h5 ? (n2 || ["click"]).indexOf(e4.type) >= 0 : (n2 || ["click"]).indexOf(e4.type) >= 0 && (ei.indexOf(_2) > -1 || "true" === i2.getAttribute("contenteditable"));
56984
57031
  }
56985
57032
  }
56986
57033
  function ni(t3) {
@@ -57107,12 +57154,12 @@ var yi = ["localhost", "127.0.0.1"], wi = (t3) => {
57107
57154
  return o2.replace(/\+/g, " ");
57108
57155
  }, ki = function(t3, i2, e4) {
57109
57156
  if (!t3 || !i2 || !i2.length) return t3;
57110
- 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++) {
57157
+ 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++) {
57111
57158
  var v2 = u3[d4].split("=");
57112
- x(v2) && (i2.includes(v2[0]) ? h4.push(v2[0] + "=" + e4) : h4.push(u3[d4]));
57159
+ x(v2) && (i2.includes(v2[0]) ? h5.push(v2[0] + "=" + e4) : h5.push(u3[d4]));
57113
57160
  }
57114
57161
  var c3 = l2;
57115
- return null != a4 && (c3 += "?" + h4.join("&")), null != n2 && (c3 += "#" + n2), c3;
57162
+ return null != a4 && (c3 += "?" + h5.join("&")), null != n2 && (c3 += "#" + n2), c3;
57116
57163
  }, xi = function(t3, i2) {
57117
57164
  var e4 = t3.match(new RegExp(i2 + "=([^&]*)"));
57118
57165
  return e4 ? e4[1] : null;
@@ -57145,9 +57192,9 @@ function Ri(t3, i2, e4, r2) {
57145
57192
  return n2.nth_child = a4, n2.nth_of_type = l2, n2;
57146
57193
  }
57147
57194
  function Ti(i2, e4) {
57148
- for (var r2, s4, { e: n2, maskAllElementAttributes: o2, maskAllText: a4, elementAttributeIgnoreList: l2, elementsChainAsString: u3 } = e4, h4 = [i2], d4 = i2; d4.parentNode && !Jt(d4, "body"); ) Kt(d4.parentNode) ? (h4.push(d4.parentNode.host), d4 = d4.parentNode.host) : (h4.push(d4.parentNode), d4 = d4.parentNode);
57195
+ for (var r2, s4, { e: n2, maskAllElementAttributes: o2, maskAllText: a4, elementAttributeIgnoreList: l2, elementsChainAsString: u3 } = e4, h5 = [i2], d4 = i2; d4.parentNode && !Jt(d4, "body"); ) Kt(d4.parentNode) ? (h5.push(d4.parentNode.host), d4 = d4.parentNode.host) : (h5.push(d4.parentNode), d4 = d4.parentNode);
57149
57196
  var v2, c3 = [], f2 = {}, p2 = false, _2 = false;
57150
- if (J$1(h4, (t3) => {
57197
+ if (J$1(h5, (t3) => {
57151
57198
  var i3 = ni(t3);
57152
57199
  "a" === t3.tagName.toLowerCase() && (p2 = t3.getAttribute("href"), p2 = i3 && p2 && ci(p2) && p2), m$1(Qt(t3), "ph-no-capture") && (_2 = true), c3.push(Ri(t3, o2, a4, l2));
57153
57200
  var e5 = function(t4) {
@@ -57232,9 +57279,9 @@ class Mi {
57232
57279
  if (a4) return false;
57233
57280
  var l2 = this.getElementSelectors(s4);
57234
57281
  if (l2 && l2.length > 0 && (o2.$element_selectors = l2), e4 === f) {
57235
- var u3, h4 = Zt(null == t || null == (u3 = t.getSelection()) ? void 0 : u3.toString()), d4 = i2.type || "clipboard";
57236
- if (!h4) return false;
57237
- o2.$selected_content = h4, o2.$copy_type = d4;
57282
+ var u3, h5 = Zt(null == t || null == (u3 = t.getSelection()) ? void 0 : u3.toString()), d4 = i2.type || "clipboard";
57283
+ if (!h5) return false;
57284
+ o2.$selected_content = h5, o2.$copy_type = d4;
57238
57285
  }
57239
57286
  return this.instance.capture(e4, o2), true;
57240
57287
  }
@@ -57372,8 +57419,8 @@ var Bi = { O: () => !!o, F: function(t3) {
57372
57419
  u3.setTime(u3.getTime() + 24 * e4 * 60 * 60 * 1e3), n2 = "; expires=" + u3.toUTCString();
57373
57420
  }
57374
57421
  s4 && (a4 = "; secure");
57375
- var h4 = t3 + "=" + encodeURIComponent(JSON.stringify(i2)) + n2 + "; SameSite=Lax; path=/" + l2 + a4;
57376
- return h4.length > 3686.4 && j$1.warn("cookieStore warning: large cookie, len=" + h4.length), o.cookie = h4, h4;
57422
+ var h5 = t3 + "=" + encodeURIComponent(JSON.stringify(i2)) + n2 + "; SameSite=Lax; path=/" + l2 + a4;
57423
+ return h5.length > 3686.4 && j$1.warn("cookieStore warning: large cookie, len=" + h5.length), o.cookie = h5, h5;
57377
57424
  } catch (t4) {
57378
57425
  return;
57379
57426
  }
@@ -57849,8 +57896,8 @@ function Le$1(t3, i2) {
57849
57896
  return de$1(t4, "Object");
57850
57897
  }(n2) || le$1(n2)) return De$1(n2, i2);
57851
57898
  if (R(e4) && T$1(r2)) {
57852
- var u3 = "Error", h4 = r2, d4 = r2.match(Pe$1);
57853
- return d4 && (u3 = d4[1], h4 = d4[2]), Fe(h4, B$1({}, i2, { overrideExceptionType: u3, defaultExceptionMessage: h4 }));
57899
+ var u3 = "Error", h5 = r2, d4 = r2.match(Pe$1);
57900
+ return d4 && (u3 = d4[1], h5 = d4[2]), Fe(h5, B$1({}, i2, { overrideExceptionType: u3, defaultExceptionMessage: h5 }));
57854
57901
  }
57855
57902
  return Fe(n2, i2);
57856
57903
  }
@@ -57946,7 +57993,7 @@ function Xe(t3, i2) {
57946
57993
  }), e4;
57947
57994
  }
57948
57995
  var Qe = (t3, i2) => {
57949
- var e4, r2, s4, n2 = { payloadSizeLimitBytes: Ge.payloadSizeLimitBytes, performanceEntryTypeToObserve: [...Ge.performanceEntryTypeToObserve], payloadHostDenyList: [...i2.payloadHostDenyList || [], ...Ge.payloadHostDenyList] }, o2 = false !== t3.session_recording.recordHeaders && i2.recordHeaders, a4 = false !== t3.session_recording.recordBody && i2.recordBody, l2 = false !== t3.capture_performance && i2.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 = (i3) => {
57996
+ var e4, r2, s4, n2 = { payloadSizeLimitBytes: Ge.payloadSizeLimitBytes, performanceEntryTypeToObserve: [...Ge.performanceEntryTypeToObserve], payloadHostDenyList: [...i2.payloadHostDenyList || [], ...Ge.payloadHostDenyList] }, o2 = false !== t3.session_recording.recordHeaders && i2.recordHeaders, a4 = false !== t3.session_recording.recordBody && i2.recordBody, l2 = false !== t3.capture_performance && i2.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 = (i3) => {
57950
57997
  return u3(((t4, i4) => {
57951
57998
  var e6, r4 = wi(t4.name), s5 = 0 === i4.indexOf("http") ? null == (e6 = wi(i4)) ? void 0 : e6.pathname : i4;
57952
57999
  "/" === s5 && (s5 = "");
@@ -57961,11 +58008,11 @@ var Qe = (t3, i2) => {
57961
58008
  var e5 = t3.session_recording.maskNetworkRequestFn({ url: i3.name });
57962
58009
  return B$1({}, i3, { name: null == e5 ? void 0 : e5.url });
57963
58010
  }), n2.maskRequestFn = E(t3.session_recording.maskCapturedNetworkRequestFn) ? (i3) => {
57964
- var e5, r3 = h4(i3);
58011
+ var e5, r3 = h5(i3);
57965
58012
  return r3 && null !== (e5 = null == t3.session_recording.maskCapturedNetworkRequestFn ? void 0 : t3.session_recording.maskCapturedNetworkRequestFn(r3)) && void 0 !== e5 ? e5 : void 0;
57966
58013
  } : (t4) => function(t5) {
57967
58014
  if (!R(t5)) return t5.requestBody = Xe(t5.requestBody, "Request"), t5.responseBody = Xe(t5.responseBody, "Response"), t5;
57968
- }(h4(t4)), B$1({}, Ge, n2, { recordHeaders: o2, recordBody: a4, recordPerformance: l2, recordInitialRequests: l2 });
58015
+ }(h5(t4)), B$1({}, Ge, n2, { recordHeaders: o2, recordBody: a4, recordPerformance: l2, recordInitialRequests: l2 });
57969
58016
  };
57970
58017
  class Ze {
57971
58018
  constructor(t3, i2) {
@@ -58048,11 +58095,11 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
58048
58095
  e4.sort(function(t4, i3) {
58049
58096
  return t4.f - i3.f;
58050
58097
  }), e4.push({ s: -1, f: 25001 });
58051
- var a4 = e4[0], l2 = e4[1], u3 = 0, h4 = 1, d4 = 2;
58052
- 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 };
58098
+ var a4 = e4[0], l2 = e4[1], u3 = 0, h5 = 1, d4 = 2;
58099
+ 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 };
58053
58100
  var v2 = n2[0].s;
58054
58101
  for (r2 = 1; r2 < s4; ++r2) n2[r2].s > v2 && (v2 = n2[r2].s);
58055
- var c3 = new ir(v2 + 1), f2 = kr(e4[h4 - 1], c3, 0);
58102
+ var c3 = new ir(v2 + 1), f2 = kr(e4[h5 - 1], c3, 0);
58056
58103
  if (f2 > i2) {
58057
58104
  r2 = 0;
58058
58105
  var p2 = 0, _2 = f2 - i2, g2 = 1 << _2;
@@ -58101,34 +58148,34 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
58101
58148
  t3[s4] = 255 & r2, t3[s4 + 1] = r2 >>> 8, t3[s4 + 2] = 255 ^ t3[s4], t3[s4 + 3] = 255 ^ t3[s4 + 1];
58102
58149
  for (var n2 = 0; n2 < r2; ++n2) t3[s4 + n2 + 4] = e4[n2];
58103
58150
  return 8 * (s4 + 4 + r2);
58104
- }, Pr = function(t3, i2, e4, r2, s4, n2, o2, a4, l2, u3, h4) {
58105
- wr(i2, h4++, e4), ++s4[256];
58151
+ }, Pr = function(t3, i2, e4, r2, s4, n2, o2, a4, l2, u3, h5) {
58152
+ wr(i2, h5++, e4), ++s4[256];
58106
58153
  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]]++;
58107
58154
  for (k3 = 0; k3 < w3.length; ++k3) $2[31 & w3[k3]]++;
58108
58155
  for (var x3 = $r($2, 7), E3 = x3[0], I3 = x3[1], P2 = 19; P2 > 4 && !E3[nr[P2 - 1]]; --P2) ;
58109
58156
  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]);
58110
- if (O3 <= F2 && O3 <= A2) return Ir(i2, h4, t3.subarray(l2, l2 + u3));
58111
- if (wr(i2, h4, 1 + (A2 < F2)), h4 += 2, A2 < F2) {
58157
+ if (O3 <= F2 && O3 <= A2) return Ir(i2, h5, t3.subarray(l2, l2 + u3));
58158
+ if (wr(i2, h5, 1 + (A2 < F2)), h5 += 2, A2 < F2) {
58112
58159
  R3 = fr(v2, c3), T3 = v2, M4 = fr(p2, _2), C2 = p2;
58113
58160
  var D4 = fr(E3, I3);
58114
- wr(i2, h4, b3 - 257), wr(i2, h4 + 5, S4 - 1), wr(i2, h4 + 10, P2 - 4), h4 += 14;
58115
- for (k3 = 0; k3 < P2; ++k3) wr(i2, h4 + 3 * k3, E3[nr[k3]]);
58116
- h4 += 3 * P2;
58161
+ wr(i2, h5, b3 - 257), wr(i2, h5 + 5, S4 - 1), wr(i2, h5 + 10, P2 - 4), h5 += 14;
58162
+ for (k3 = 0; k3 < P2; ++k3) wr(i2, h5 + 3 * k3, E3[nr[k3]]);
58163
+ h5 += 3 * P2;
58117
58164
  for (var L3 = [m4, w3], N2 = 0; N2 < 2; ++N2) {
58118
58165
  var j2 = L3[N2];
58119
58166
  for (k3 = 0; k3 < j2.length; ++k3) {
58120
58167
  var z3 = 31 & j2[k3];
58121
- wr(i2, h4, D4[z3]), h4 += E3[z3], z3 > 15 && (wr(i2, h4, j2[k3] >>> 5 & 127), h4 += j2[k3] >>> 12);
58168
+ wr(i2, h5, D4[z3]), h5 += E3[z3], z3 > 15 && (wr(i2, h5, j2[k3] >>> 5 & 127), h5 += j2[k3] >>> 12);
58122
58169
  }
58123
58170
  }
58124
58171
  } else R3 = gr, T3 = pr, M4 = mr, C2 = _r;
58125
58172
  for (k3 = 0; k3 < a4; ++k3) if (r2[k3] > 255) {
58126
58173
  z3 = r2[k3] >>> 18 & 31;
58127
- Sr(i2, h4, R3[z3 + 257]), h4 += T3[z3 + 257], z3 > 7 && (wr(i2, h4, r2[k3] >>> 23 & 31), h4 += rr[z3]);
58174
+ Sr(i2, h5, R3[z3 + 257]), h5 += T3[z3 + 257], z3 > 7 && (wr(i2, h5, r2[k3] >>> 23 & 31), h5 += rr[z3]);
58128
58175
  var U2 = 31 & r2[k3];
58129
- Sr(i2, h4, M4[U2]), h4 += C2[U2], U2 > 3 && (Sr(i2, h4, r2[k3] >>> 5 & 8191), h4 += sr[U2]);
58130
- } else Sr(i2, h4, R3[r2[k3]]), h4 += T3[r2[k3]];
58131
- return Sr(i2, h4, R3[256]), h4 + T3[256];
58176
+ Sr(i2, h5, M4[U2]), h5 += C2[U2], U2 > 3 && (Sr(i2, h5, r2[k3] >>> 5 & 8191), h5 += sr[U2]);
58177
+ } else Sr(i2, h5, R3[r2[k3]]), h5 += T3[r2[k3]];
58178
+ return Sr(i2, h5, R3[256]), h5 + T3[256];
58132
58179
  }, Rr = new er([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]), Tr = function() {
58133
58180
  for (var t3 = new er(256), i2 = 0; i2 < 256; ++i2) {
58134
58181
  for (var e4 = i2, r2 = 9; --r2; ) e4 = (1 & e4 && 3988292384) ^ e4 >>> 1;
@@ -58146,31 +58193,31 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
58146
58193
  }, Cr = function(t3, i2, e4, r2, s4) {
58147
58194
  return function(t4, i3, e5, r3, s5, n2) {
58148
58195
  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;
58149
- if (!i3 || o2 < 8) for (var h4 = 0; h4 <= o2; h4 += 65535) {
58150
- var d4 = h4 + 65535;
58151
- d4 < o2 ? u3 = Ir(l2, u3, t4.subarray(h4, d4)) : (l2[h4] = n2, u3 = Ir(l2, u3, t4.subarray(h4, o2)));
58196
+ if (!i3 || o2 < 8) for (var h5 = 0; h5 <= o2; h5 += 65535) {
58197
+ var d4 = h5 + 65535;
58198
+ d4 < o2 ? u3 = Ir(l2, u3, t4.subarray(h5, d4)) : (l2[h5] = n2, u3 = Ir(l2, u3, t4.subarray(h5, o2)));
58152
58199
  }
58153
58200
  else {
58154
58201
  for (var v2 = Rr[i3 - 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(i4) {
58155
58202
  return (t4[i4] ^ t4[i4 + 1] << m4 ^ t4[i4 + 2] << b3) & p2;
58156
- }, 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) {
58157
- var R3 = y4(h4), T3 = 32767 & h4, M4 = g2[R3];
58158
- if (_2[T3] = M4, g2[R3] = T3, I3 <= h4) {
58159
- var C2 = o2 - h4;
58203
+ }, 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) {
58204
+ var R3 = y4(h5), T3 = 32767 & h5, M4 = g2[R3];
58205
+ if (_2[T3] = M4, g2[R3] = T3, I3 <= h5) {
58206
+ var C2 = o2 - h5;
58160
58207
  if ((k3 > 7e3 || E3 > 24576) && C2 > 423) {
58161
- u3 = Pr(t4, l2, 0, w3, S4, $2, x3, E3, P2, h4 - P2, u3), E3 = k3 = x3 = 0, P2 = h4;
58208
+ u3 = Pr(t4, l2, 0, w3, S4, $2, x3, E3, P2, h5 - P2, u3), E3 = k3 = x3 = 0, P2 = h5;
58162
58209
  for (var O3 = 0; O3 < 286; ++O3) S4[O3] = 0;
58163
58210
  for (O3 = 0; O3 < 30; ++O3) $2[O3] = 0;
58164
58211
  }
58165
58212
  var F2 = 2, A2 = 0, D4 = f2, L3 = T3 - M4 & 32767;
58166
- 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; ) {
58167
- if (t4[h4 + F2] == t4[h4 + F2 - L3]) {
58168
- for (var U2 = 0; U2 < z3 && t4[h4 + U2] == t4[h4 + U2 - L3]; ++U2) ;
58213
+ 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; ) {
58214
+ if (t4[h5 + F2] == t4[h5 + F2 - L3]) {
58215
+ for (var U2 = 0; U2 < z3 && t4[h5 + U2] == t4[h5 + U2 - L3]; ++U2) ;
58169
58216
  if (U2 > F2) {
58170
58217
  if (F2 = U2, A2 = L3, U2 > N2) break;
58171
58218
  var q3 = Math.min(L3, U2 - 2), B3 = 0;
58172
58219
  for (O3 = 0; O3 < q3; ++O3) {
58173
- var H5 = h4 - L3 + O3 + 32768 & 32767, W2 = H5 - _2[H5] + 32768 & 32767;
58220
+ var H5 = h5 - L3 + O3 + 32768 & 32767, W2 = H5 - _2[H5] + 32768 & 32767;
58174
58221
  W2 > B3 && (B3 = W2, M4 = H5);
58175
58222
  }
58176
58223
  }
@@ -58180,14 +58227,14 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
58180
58227
  if (A2) {
58181
58228
  w3[E3++] = 268435456 | ur[F2] << 18 | hr[A2];
58182
58229
  var G3 = 31 & ur[F2], J2 = 31 & hr[A2];
58183
- x3 += rr[G3] + sr[J2], ++S4[257 + G3], ++$2[J2], I3 = h4 + F2, ++k3;
58184
- } else w3[E3++] = t4[h4], ++S4[t4[h4]];
58230
+ x3 += rr[G3] + sr[J2], ++S4[257 + G3], ++$2[J2], I3 = h5 + F2, ++k3;
58231
+ } else w3[E3++] = t4[h5], ++S4[t4[h5]];
58185
58232
  }
58186
58233
  }
58187
- u3 = Pr(t4, l2, n2, w3, S4, $2, x3, E3, P2, h4 - P2, u3);
58234
+ u3 = Pr(t4, l2, n2, w3, S4, $2, x3, E3, P2, h5 - P2, u3);
58188
58235
  }
58189
58236
  return yr(a4, 0, r3 + br(u3) + s5);
58190
- }(t3, null == i2.level ? 6 : i2.level, null == i2.mem ? Math.ceil(1.5 * Math.max(8, Math.min(13, Math.log(t3.length)))) : 12 + i2.mem, e4, r2, true);
58237
+ }(t3, null == i2.level ? 6 : i2.level, null == i2.mem ? Math.ceil(1.5 * Math.max(8, Math.min(13, Math.log(t3.length)))) : 12 + i2.mem, e4, r2, !s4);
58191
58238
  }, Or = function(t3, i2, e4) {
58192
58239
  for (; e4; ++i2) t3[i2] = e4, e4 >>>= 8;
58193
58240
  }, Fr = function(t3, i2) {
@@ -58368,10 +58415,10 @@ function hs(t3) {
58368
58415
  return function(t4, i2) {
58369
58416
  for (var e4 = "", r2 = 0; r2 < t4.length; ) {
58370
58417
  var s4 = t4[r2++];
58371
- e4 += String.fromCharCode(s4);
58418
+ s4 < 128 || i2 ? 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));
58372
58419
  }
58373
58420
  return e4;
58374
- }(Dr(Lr(JSON.stringify(t3))));
58421
+ }(Dr(Lr(JSON.stringify(t3))), true);
58375
58422
  }
58376
58423
  function ds(t3) {
58377
58424
  return t3.type === qe.Custom && "sessionIdle" === t3.data.tag;
@@ -58411,20 +58458,20 @@ class vs {
58411
58458
  return null != i2 ? i2 : t3;
58412
58459
  }
58413
58460
  get Ut() {
58414
- var t3, i2, e4, r2, s4, n2, o2 = this._instance.config.session_recording.captureCanvas, a4 = this._instance.get_property(bt), l2 = null !== (t3 = null !== (i2 = null == o2 ? void 0 : o2.recordCanvas) && void 0 !== i2 ? i2 : 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;
58415
- if ("string" == typeof h4) {
58416
- var d4 = parseFloat(h4);
58417
- h4 = isNaN(d4) ? 0.4 : d4;
58461
+ var t3, i2, e4, r2, s4, n2, o2 = this._instance.config.session_recording.captureCanvas, a4 = this._instance.get_property(bt), l2 = null !== (t3 = null !== (i2 = null == o2 ? void 0 : o2.recordCanvas) && void 0 !== i2 ? i2 : 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;
58462
+ if ("string" == typeof h5) {
58463
+ var d4 = parseFloat(h5);
58464
+ h5 = isNaN(d4) ? 0.4 : d4;
58418
58465
  }
58419
- return { enabled: l2, fps: se(u3, 0, 12, "canvas recording fps", 4), quality: se(h4, 0, 1, "canvas recording quality", 0.4) };
58466
+ return { enabled: l2, fps: se(u3, 0, 12, "canvas recording fps", 4), quality: se(h5, 0, 1, "canvas recording quality", 0.4) };
58420
58467
  }
58421
58468
  get qt() {
58422
58469
  var t3, i2, e4 = this._instance.get_property(gt), r2 = { recordHeaders: null == (t3 = this._instance.config.session_recording) ? void 0 : t3.recordHeaders, recordBody: null == (i2 = this._instance.config.session_recording) ? void 0 : i2.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);
58423
58470
  return s4 || n2 || a4 ? { recordHeaders: s4, recordBody: n2, recordPerformance: a4 } : void 0;
58424
58471
  }
58425
58472
  get Bt() {
58426
- var t3, i2, 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 == (i2 = this._instance.config.session_recording) ? void 0 : i2.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;
58427
- return R(l2) && R(u3) && R(h4) ? void 0 : { maskAllInputs: null == l2 || l2, maskTextSelector: u3, blockSelector: h4 };
58473
+ var t3, i2, 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 == (i2 = this._instance.config.session_recording) ? void 0 : i2.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;
58474
+ return R(l2) && R(u3) && R(h5) ? void 0 : { maskAllInputs: null == l2 || l2, maskTextSelector: u3, blockSelector: h5 };
58428
58475
  }
58429
58476
  get Ht() {
58430
58477
  var t3 = this._instance.get_property(yt);
@@ -58501,10 +58548,10 @@ class vs {
58501
58548
  ki(t3) {
58502
58549
  if (this._instance.persistence) {
58503
58550
  var i2, e4 = this._instance.persistence, r2 = () => {
58504
- var i3, r3, s4, n2, o2, a4, l2, u3, h4, d4 = null == (i3 = t3.sessionRecording) ? void 0 : i3.sampleRate, v2 = O(d4) ? null : parseFloat(d4);
58551
+ var i3, r3, s4, n2, o2, a4, l2, u3, h5, d4 = null == (i3 = t3.sessionRecording) ? void 0 : i3.sampleRate, v2 = O(d4) ? null : parseFloat(d4);
58505
58552
  O(v2) && this.wi();
58506
58553
  var c3 = null == (r3 = t3.sessionRecording) ? void 0 : r3.minimumDurationMilliseconds;
58507
- 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 });
58554
+ 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 });
58508
58555
  };
58509
58556
  r2(), null == (i2 = this.ei) || i2.call(this), this.ei = this.Ft.onSessionId(r2);
58510
58557
  }
@@ -58629,8 +58676,8 @@ class vs {
58629
58676
  ns.error("could not compress event - will use uncompressed event", t5);
58630
58677
  }
58631
58678
  return t4;
58632
- }(n2) : n2, h4 = { $snapshot_bytes: ze(u3), $snapshot_data: u3, $session_id: this.Mt, $window_id: this.ci };
58633
- this.status !== jr ? this.zi(h4) : this.fi();
58679
+ }(n2) : n2, h5 = { $snapshot_bytes: ze(u3), $snapshot_data: u3, $session_id: this.Mt, $window_id: this.ci };
58680
+ this.status !== jr ? this.zi(h5) : this.fi();
58634
58681
  }
58635
58682
  }
58636
58683
  }
@@ -58749,12 +58796,12 @@ var ps = "posthog-js";
58749
58796
  function _s(t3, i2) {
58750
58797
  var { organization: e4, projectId: r2, prefix: s4, severityAllowList: n2 = ["error"] } = void 0 === i2 ? {} : i2;
58751
58798
  return (i3) => {
58752
- var o2, a4, l2, u3, h4;
58799
+ var o2, a4, l2, u3, h5;
58753
58800
  if (!("*" === n2 || n2.includes(i3.level)) || !t3.__loaded) return i3;
58754
58801
  i3.tags || (i3.tags = {});
58755
58802
  var d4 = t3.requestRouter.endpointFor("ui", "/project/" + t3.config.token + "/person/" + t3.get_distinct_id());
58756
58803
  i3.tags["PostHog Person URL"] = d4, t3.sessionRecordingStarted() && (i3.tags["PostHog Recording URL"] = t3.get_session_replay_url({ withTimestamp: true }));
58757
- var v2 = (null == (o2 = i3.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) || i3.message, $exception_type: null == (l2 = v2[0]) ? void 0 : l2.type, $exception_personURL: d4, $exception_level: i3.level, $exception_list: c3, $sentry_event_id: i3.event_id, $sentry_exception: i3.exception, $sentry_exception_message: (null == (u3 = v2[0]) ? void 0 : u3.value) || i3.message, $sentry_exception_type: null == (h4 = v2[0]) ? void 0 : h4.type, $sentry_tags: i3.tags };
58804
+ var v2 = (null == (o2 = i3.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) || i3.message, $exception_type: null == (l2 = v2[0]) ? void 0 : l2.type, $exception_personURL: d4, $exception_level: i3.level, $exception_list: c3, $sentry_event_id: i3.event_id, $sentry_exception: i3.exception, $sentry_exception_message: (null == (u3 = v2[0]) ? void 0 : u3.value) || i3.message, $sentry_exception_type: null == (h5 = v2[0]) ? void 0 : h5.type, $sentry_tags: i3.tags };
58758
58805
  return e4 && r2 && (f2.$sentry_url = (s4 || "https://sentry.io/organizations/") + e4 + "/issues/?project=" + r2 + "&query=" + i3.event_id), t3.exceptions.sendExceptionEvent(f2), i3;
58759
58806
  };
58760
58807
  }
@@ -58994,11 +59041,11 @@ class Ms {
58994
59041
  if (!e4) return { $pageview_id: i2 };
58995
59042
  var r2 = { $pageview_id: i2, $prev_pageview_id: e4.pageViewId }, s4 = this._instance.scrollManager.getContext();
58996
59043
  if (s4 && !this._instance.config.disable_scroll_properties) {
58997
- var { maxScrollHeight: n2, lastScrollY: o2, maxScrollY: a4, maxContentHeight: l2, lastContentY: u3, maxContentY: h4 } = s4;
58998
- if (!(R(n2) || R(o2) || R(a4) || R(l2) || R(u3) || R(h4))) {
58999
- n2 = Math.ceil(n2), o2 = Math.ceil(o2), a4 = Math.ceil(a4), l2 = Math.ceil(l2), u3 = Math.ceil(u3), h4 = Math.ceil(h4);
59000
- 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);
59001
- 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 });
59044
+ var { maxScrollHeight: n2, lastScrollY: o2, maxScrollY: a4, maxContentHeight: l2, lastContentY: u3, maxContentY: h5 } = s4;
59045
+ if (!(R(n2) || R(o2) || R(a4) || R(l2) || R(u3) || R(h5))) {
59046
+ n2 = Math.ceil(n2), o2 = Math.ceil(o2), a4 = Math.ceil(a4), l2 = Math.ceil(l2), u3 = Math.ceil(u3), h5 = Math.ceil(h5);
59047
+ 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);
59048
+ 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 });
59002
59049
  }
59003
59050
  }
59004
59051
  return e4.pathname && (r2.$prev_pageview_pathname = e4.pathname), e4.timestamp && (r2.$prev_pageview_duration = (t3.getTime() - e4.timestamp.getTime()) / 1e3), r2;
@@ -59028,13 +59075,13 @@ var Cs = function(t3) {
59028
59075
  }
59029
59076
  if (e4 === _.Base64) {
59030
59077
  var n2 = function(t4) {
59031
- var i3, e5, r3, s5, n3, o3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", a5 = 0, l2 = 0, u3 = "", h4 = [];
59078
+ var i3, e5, r3, s5, n3, o3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", a5 = 0, l2 = 0, u3 = "", h5 = [];
59032
59079
  if (!t4) return t4;
59033
59080
  t4 = Cs(t4);
59034
59081
  do {
59035
- i3 = (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(i3) + o3.charAt(e5) + o3.charAt(r3) + o3.charAt(s5);
59082
+ i3 = (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(i3) + o3.charAt(e5) + o3.charAt(r3) + o3.charAt(s5);
59036
59083
  } while (a5 < t4.length);
59037
- switch (u3 = h4.join(""), t4.length % 3) {
59084
+ switch (u3 = h5.join(""), t4.length % 3) {
59038
59085
  case 1:
59039
59086
  u3 = u3.slice(0, -2) + "==";
59040
59087
  break;
@@ -59302,8 +59349,8 @@ class vo {
59302
59349
  if (!e4 && !i2) return t3 || {};
59303
59350
  var r2 = V({}, t3 || {}), s4 = [.../* @__PURE__ */ new Set([...Object.keys(e4 || {}), ...Object.keys(i2 || {})])];
59304
59351
  for (var n2 of s4) {
59305
- var o2, a4, l2 = r2[n2], u3 = null == i2 ? void 0 : i2[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 });
59306
- 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 });
59352
+ var o2, a4, l2 = r2[n2], u3 = null == i2 ? void 0 : i2[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 });
59353
+ 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 });
59307
59354
  r2[n2] = c3;
59308
59355
  }
59309
59356
  return this.pe || (eo.warn(" Overriding feature flag details!", { flagDetails: t3, overriddenPayloads: e4, finalDetails: r2 }), this.pe = true), r2;
@@ -59360,11 +59407,11 @@ class vo {
59360
59407
  if (void 0 === i2 && (i2 = {}), this._e || this.getFlags() && this.getFlags().length > 0) {
59361
59408
  var e4 = this.getFlagVariants()[t3], r2 = "" + e4, s4 = this._instance.get_property(ao) || void 0, n2 = this._instance.get_property(Ft) || {};
59362
59409
  if ((i2.send_event || !("send_event" in i2)) && (!(t3 in n2) || !n2[t3].includes(r2))) {
59363
- var o2, a4, l2, u3, h4, d4, v2, c3, f2;
59410
+ var o2, a4, l2, u3, h5, d4, v2, c3, f2;
59364
59411
  x(n2[t3]) ? n2[t3].push(r2) : n2[t3] = [r2], null == (o2 = this._instance.persistence) || o2.register({ [Ft]: n2 });
59365
59412
  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 };
59366
59413
  R(null == p2 || null == (u3 = p2.metadata) ? void 0 : u3.version) || (_2.$feature_flag_version = p2.metadata.version);
59367
- 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;
59414
+ 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;
59368
59415
  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;
59369
59416
  this._instance.capture("$feature_flag_called", _2);
59370
59417
  }
@@ -59406,9 +59453,9 @@ class vo {
59406
59453
  var u3 = t4.requestId;
59407
59454
  if (x(a4)) {
59408
59455
  eo.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");
59409
- var h4 = {};
59410
- if (a4) for (var d4 = 0; d4 < a4.length; d4++) h4[a4[d4]] = true;
59411
- i3 && i3.register({ [ro]: a4, [It]: h4 });
59456
+ var h5 = {};
59457
+ if (a4) for (var d4 = 0; d4 < a4.length; d4++) h5[a4[d4]] = true;
59458
+ i3 && i3.register({ [ro]: a4, [It]: h5 });
59412
59459
  } else {
59413
59460
  var v2 = a4, c3 = l2, f2 = o2;
59414
59461
  t4.errorsWhileComputingFlags && (v2 = B$1({}, e5, v2), c3 = B$1({}, r3, c3), f2 = B$1({}, s5, f2)), i3 && i3.register(B$1({ [ro]: Object.keys(lo(v2)), [It]: v2 || {}, [no]: c3 || {}, [Rt]: f2 || {} }, u3 ? { [ao]: u3 } : {}));
@@ -60238,10 +60285,10 @@ class qo {
60238
60285
  }
60239
60286
  checkAndGetSessionAndWindowId(t3, i2) {
60240
60287
  if (void 0 === t3 && (t3 = false), void 0 === i2 && (i2 = null), this.S.__preview_experimental_cookieless_mode) throw new Error("checkAndGetSessionAndWindowId should not be called in __preview_experimental_cookieless_mode");
60241
- var e4 = i2 || (/* @__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;
60242
- 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);
60288
+ var e4 = i2 || (/* @__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;
60289
+ 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);
60243
60290
  var d4 = 0 === r2 || !t3 || a4 ? e4 : r2, v2 = 0 === n2 ? (/* @__PURE__ */ new Date()).getTime() : n2;
60244
- 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 };
60291
+ 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 };
60245
60292
  }
60246
60293
  Br() {
60247
60294
  clearTimeout(this.Qr), this.Qr = setTimeout(() => {
@@ -60278,8 +60325,8 @@ class Wo {
60278
60325
  globalsForEvent(t3) {
60279
60326
  var i2, e4, r2, s4, n2, o2, a4;
60280
60327
  if (!t3) throw new Error("Event payload is required");
60281
- var l2 = {}, u3 = this._instance.get_property("$groups") || [], h4 = this._instance.get_property("$stored_group_properties") || {};
60282
- for (var [d4, v2] of Object.entries(h4)) l2[d4] = { id: u3[d4], type: d4, properties: v2 };
60328
+ var l2 = {}, u3 = this._instance.get_property("$groups") || [], h5 = this._instance.get_property("$stored_group_properties") || {};
60329
+ for (var [d4, v2] of Object.entries(h5)) l2[d4] = { id: u3[d4], type: d4, properties: v2 };
60283
60330
  var { $set_once: c3, $set: f2 } = t3;
60284
60331
  return { event: B$1({}, H$1(t3, Bo), { properties: B$1({}, t3.properties, f2 ? { $set: B$1({}, null !== (i2 = null == (e4 = t3.properties) ? void 0 : e4.$set) && void 0 !== i2 ? i2 : {}, 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 };
60285
60332
  }
@@ -60458,7 +60505,7 @@ class Zo {
60458
60505
  if (O(t3.conditions) || O(null == (i2 = t3.conditions) ? void 0 : i2.utm)) return true;
60459
60506
  var e4 = Gn();
60460
60507
  if (e4.utm_source) {
60461
- 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;
60508
+ 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;
60462
60509
  return d4 && c3 && f2 && v2;
60463
60510
  }
60464
60511
  return false;
@@ -60539,7 +60586,7 @@ class aa {
60539
60586
  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: i2 })), 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" }));
60540
60587
  var o2 = B$1({}, this.persistence.props), a4 = B$1({}, this.sessionPersistence.props);
60541
60588
  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)) {
60542
- var l2, u3, h4 = this.config.get_device_id(Ni()), d4 = null != (l2 = e4.bootstrap) && l2.isIdentifiedID ? h4 : e4.bootstrap.distinctID;
60589
+ var l2, u3, h5 = this.config.get_device_id(Ni()), d4 = null != (l2 = e4.bootstrap) && l2.isIdentifiedID ? h5 : e4.bootstrap.distinctID;
60543
60590
  this.persistence.set_property(At, null != (u3 = e4.bootstrap) && u3.isIdentifiedID ? "identified" : "anonymous"), this.register({ distinct_id: e4.bootstrap.distinctID, $device_id: d4 });
60544
60591
  }
60545
60592
  if (this.Is()) {
@@ -60641,10 +60688,10 @@ class aa {
60641
60688
  null != i2 && i2.$current_url && !T$1(null == i2 ? void 0 : i2.$current_url) && (j$1.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."), null == i2 || delete i2.$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();
60642
60689
  var n2 = /* @__PURE__ */ new Date(), o2 = (null == e4 ? void 0 : e4.timestamp) || n2, a4 = Ni(), l2 = { uuid: a4, event: t3, properties: this.calculateEventProperties(t3, i2 || {}, o2, a4) };
60643
60690
  s4 && (l2.properties.$lib_rate_limit_remaining_tokens = s4.remainingTokens), (null == e4 ? void 0 : e4.$set) && (l2.$set = null == e4 ? void 0 : e4.$set);
60644
- var u3, h4, d4 = this.Cs(null == e4 ? void 0 : e4.$set_once);
60691
+ var u3, h5, d4 = this.Cs(null == e4 ? void 0 : e4.$set_once);
60645
60692
  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) {
60646
60693
  var v2 = null == i2 ? void 0 : i2[Ro.SURVEY_ID], c3 = null == i2 ? void 0 : i2[Ro.SURVEY_ITERATION];
60647
- 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 });
60694
+ 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 });
60648
60695
  }
60649
60696
  var f2 = B$1({}, l2.properties.$set, l2.$set);
60650
60697
  if (P(f2) || this.setPersonPropertiesForFlags(f2), !O(this.config.before_send)) {
@@ -60671,7 +60718,7 @@ class aa {
60671
60718
  var l2 = B$1({}, this.persistence.properties(), this.sessionPersistence.properties());
60672
60719
  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;
60673
60720
  }
60674
- var u3, h4 = io(this.config.mask_personal_data_properties, this.config.custom_personal_data_properties);
60721
+ var u3, h5 = io(this.config.mask_personal_data_properties, this.config.custom_personal_data_properties);
60675
60722
  if (this.sessionManager) {
60676
60723
  var { sessionId: v2, windowId: c3 } = this.sessionManager.checkAndGetSessionAndWindowId(s4, e4.getTime());
60677
60724
  a4.$session_id = v2, a4.$window_id = c3;
@@ -60687,7 +60734,7 @@ class aa {
60687
60734
  var p2 = e4.getTime() - n2;
60688
60735
  a4.$duration = parseFloat((p2 / 1e3).toFixed(3));
60689
60736
  }
60690
- 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) {
60737
+ 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) {
60691
60738
  delete a4[t4];
60692
60739
  }) : j$1.error("Invalid value for property_denylist config: " + this.config.property_denylist + " or property_blacklist config: " + this.config.property_blacklist);
60693
60740
  var _2 = this.config.sanitize_properties;
@@ -62590,25 +62637,25 @@ const rgbToShadcnHsl = (r2, g2, b3) => {
62590
62637
  b3 /= 255;
62591
62638
  const max2 = Math.max(r2, g2, b3);
62592
62639
  const min2 = Math.min(r2, g2, b3);
62593
- let h4 = 0, s4 = 0;
62640
+ let h5 = 0, s4 = 0;
62594
62641
  const l2 = (max2 + min2) / 2;
62595
62642
  if (max2 !== min2) {
62596
62643
  const d4 = max2 - min2;
62597
62644
  s4 = l2 > 0.5 ? d4 / (2 - max2 - min2) : d4 / (max2 + min2);
62598
62645
  switch (max2) {
62599
62646
  case r2:
62600
- h4 = (g2 - b3) / d4 + (g2 < b3 ? 6 : 0);
62647
+ h5 = (g2 - b3) / d4 + (g2 < b3 ? 6 : 0);
62601
62648
  break;
62602
62649
  case g2:
62603
- h4 = (b3 - r2) / d4 + 2;
62650
+ h5 = (b3 - r2) / d4 + 2;
62604
62651
  break;
62605
62652
  case b3:
62606
- h4 = (r2 - g2) / d4 + 4;
62653
+ h5 = (r2 - g2) / d4 + 4;
62607
62654
  break;
62608
62655
  }
62609
- h4 *= 60;
62656
+ h5 *= 60;
62610
62657
  }
62611
- return `${Math.round(h4)} ${Math.round(s4 * 100)}% ${Math.round(l2 * 100)}%`;
62658
+ return `${Math.round(h5)} ${Math.round(s4 * 100)}% ${Math.round(l2 * 100)}%`;
62612
62659
  };
62613
62660
  const extractRgb = (rgbColor) => {
62614
62661
  const matches2 = rgbColor.match(/\d+/g);
@@ -64884,6 +64931,29 @@ instance.use(Browser).use(initReactI18next).init({
64884
64931
  }
64885
64932
  });
64886
64933
  const defaultTranslations = {
64934
+ engage: {
64935
+ user: "User",
64936
+ user_other: "Users",
64937
+ automation: "Automation",
64938
+ automation_other: "Automations",
64939
+ segment: "Segment",
64940
+ segment_other: "Segments",
64941
+ broadcast: "Broadcast",
64942
+ broadcast_other: "Broadcasts",
64943
+ trigger_based: "Trigger Based",
64944
+ insight: "Insight",
64945
+ insight_other: "Insights",
64946
+ merge_field: "Merge Field",
64947
+ merge_field_other: "Merge Fields",
64948
+ extra_merge_field_name: "Custom Fields",
64949
+ extra_merge_field_name_other: "Custom Fields",
64950
+ advanced_merge_field_name: "Advanced Fields",
64951
+ advanced_merge_field_name_other: "Advanced Fields"
64952
+ },
64953
+ measure: {
64954
+ transaction_table_id_header: "Transaction ID",
64955
+ transaction_table_created_header: "Transaction Created"
64956
+ },
64887
64957
  common: {
64888
64958
  day: "Day",
64889
64959
  day_other: "Days",
@@ -67028,26 +67098,56 @@ const useCurrentCommunicationGroup = () => {
67028
67098
  (action) => action.actionMetadata.currentActionId === state.selectedActionId
67029
67099
  );
67030
67100
  const communicationGroupId = selectedAction?.actionType === "send_communication" ? selectedAction.actionMetadata.communicationGroupId : void 0;
67031
- const { communicationGroup: latestCommunicationGroup } = useGetCommunicationGroup(communicationGroupId);
67101
+ const {
67102
+ communicationGroup: latestCommunicationGroup,
67103
+ isGetting,
67104
+ getError,
67105
+ isGetSuccess
67106
+ } = useGetCommunicationGroup(communicationGroupId);
67032
67107
  if (!state.automation) {
67033
- return null;
67108
+ return {
67109
+ communicationGroup: null,
67110
+ isGetting: false,
67111
+ getError: null,
67112
+ isGetSuccess: false
67113
+ };
67034
67114
  }
67035
67115
  if (latestCommunicationGroup) {
67036
- return latestCommunicationGroup;
67116
+ return {
67117
+ communicationGroup: latestCommunicationGroup,
67118
+ isGetting,
67119
+ getError,
67120
+ isGetSuccess
67121
+ };
67037
67122
  }
67038
67123
  if (state.communicationGroups.size > 0) {
67039
67124
  const firstGroup = Array.from(state.communicationGroups.values())[0];
67040
- return firstGroup;
67125
+ return {
67126
+ communicationGroup: firstGroup,
67127
+ isGetting: false,
67128
+ getError: null,
67129
+ isGetSuccess: true
67130
+ };
67041
67131
  }
67042
67132
  if (state.automation.actionData) {
67043
67133
  const sendCommunicationAction = state.automation.actionData.find(
67044
67134
  (action) => action.actionType === "send_communication"
67045
67135
  );
67046
67136
  if (sendCommunicationAction) {
67047
- return null;
67137
+ return {
67138
+ communicationGroup: null,
67139
+ isGetting: false,
67140
+ getError: null,
67141
+ isGetSuccess: false
67142
+ };
67048
67143
  }
67049
67144
  }
67050
- return null;
67145
+ return {
67146
+ communicationGroup: null,
67147
+ isGetting: false,
67148
+ getError: null,
67149
+ isGetSuccess: false
67150
+ };
67051
67151
  };
67052
67152
  const useValidationStats = () => {
67053
67153
  const { state } = useViewAutomationContext();
@@ -67200,6 +67300,8 @@ const BigSelector = ({
67200
67300
  const styles$4 = {
67201
67301
  title: "text-3xl mb-8",
67202
67302
  grid: "grid grid-cols-2 gap-6",
67303
+ 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",
67304
+ cardDisabled: "opacity-60 cursor-not-allowed hover:border-gray-200",
67203
67305
  container: "relative p-6 rounded-lg",
67204
67306
  iconWrapper: "mb-4 flex items-center justify-center text-primary",
67205
67307
  cardTitle: "text-lg font-medium mb-2 text-primary",
@@ -67287,6 +67389,18 @@ const minusIconInactive = "reach-styles-module__minusIconInactive___JtvVB";
67287
67389
  const label = "reach-styles-module__label___tiCMA";
67288
67390
  const labelActive = "reach-styles-module__labelActive___EXydD";
67289
67391
  const labelInactive = "reach-styles-module__labelInactive___g-J3r";
67392
+ const navigationContainer = "reach-styles-module__navigationContainer___1T1JL";
67393
+ const navigationButton = "reach-styles-module__navigationButton___9LW7I";
67394
+ const sidebarContainer = "reach-styles-module__sidebarContainer___Yqwnv";
67395
+ const sidebarNav = "reach-styles-module__sidebarNav___vGCaT";
67396
+ const sidebarContent = "reach-styles-module__sidebarContent___55H34";
67397
+ const stepItem = "reach-styles-module__stepItem___c497m";
67398
+ const stepItemActive = "reach-styles-module__stepItemActive___zQkts";
67399
+ const stepItemCompleted = "reach-styles-module__stepItemCompleted___TiD-u";
67400
+ const stepItemUpcoming = "reach-styles-module__stepItemUpcoming___Qu-vA";
67401
+ const contentContainer = "reach-styles-module__contentContainer___g6SCE";
67402
+ const contentArea = "reach-styles-module__contentArea___gczmB";
67403
+ const poweredByReachContainer = "reach-styles-module__poweredByReachContainer___GCwod";
67290
67404
  const styles$3 = {
67291
67405
  stepIndicatorContainer,
67292
67406
  iconContainer,
@@ -67296,7 +67410,19 @@ const styles$3 = {
67296
67410
  minusIconInactive,
67297
67411
  label,
67298
67412
  labelActive,
67299
- labelInactive
67413
+ labelInactive,
67414
+ navigationContainer,
67415
+ navigationButton,
67416
+ sidebarContainer,
67417
+ sidebarNav,
67418
+ sidebarContent,
67419
+ stepItem,
67420
+ stepItemActive,
67421
+ stepItemCompleted,
67422
+ stepItemUpcoming,
67423
+ contentContainer,
67424
+ contentArea,
67425
+ poweredByReachContainer
67300
67426
  };
67301
67427
  const StepIndicator = ({
67302
67428
  label: label2,
@@ -67602,11 +67728,11 @@ function createHeader(table, column, options) {
67602
67728
  headerGroup: null,
67603
67729
  getLeafHeaders: () => {
67604
67730
  const leafHeaders = [];
67605
- const recurseHeader = (h4) => {
67606
- if (h4.subHeaders && h4.subHeaders.length) {
67607
- h4.subHeaders.map(recurseHeader);
67731
+ const recurseHeader = (h5) => {
67732
+ if (h5.subHeaders && h5.subHeaders.length) {
67733
+ h5.subHeaders.map(recurseHeader);
67608
67734
  }
67609
- leafHeaders.push(h4);
67735
+ leafHeaders.push(h5);
67610
67736
  };
67611
67737
  recurseHeader(header2);
67612
67738
  return leafHeaders;
@@ -71891,6 +72017,8 @@ const lightFormatters = {
71891
72017
  }
71892
72018
  };
71893
72019
  const dayPeriodEnum$1 = {
72020
+ am: "am",
72021
+ pm: "pm",
71894
72022
  midnight: "midnight",
71895
72023
  noon: "noon",
71896
72024
  morning: "morning",
@@ -72743,8 +72871,8 @@ function createDateColumn({
72743
72871
  header: () => /* @__PURE__ */ jsx(
72744
72872
  "div",
72745
72873
  {
72746
- className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName}`.trim(),
72747
- children: /* @__PURE__ */ jsx("span", { children: header2 })
72874
+ className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName || ""}`.trim(),
72875
+ children: typeof header2 === "function" ? header2() : /* @__PURE__ */ jsx("span", { children: header2 })
72748
72876
  }
72749
72877
  ),
72750
72878
  cell: (info) => {
@@ -72797,7 +72925,7 @@ function createNumericColumn({
72797
72925
  header: () => /* @__PURE__ */ jsx(
72798
72926
  "div",
72799
72927
  {
72800
- className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName}`.trim(),
72928
+ className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName || ""}`.trim(),
72801
72929
  children: typeof header2 === "function" ? header2() : /* @__PURE__ */ jsx("span", { children: header2 })
72802
72930
  }
72803
72931
  ),
@@ -72844,7 +72972,7 @@ function createIconActionColumn({
72844
72972
  header: () => /* @__PURE__ */ jsx(
72845
72973
  "div",
72846
72974
  {
72847
- className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName}`.trim(),
72975
+ className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName || ""}`.trim(),
72848
72976
  children: typeof header2 === "function" ? header2() : /* @__PURE__ */ jsx("span", { children: header2 })
72849
72977
  }
72850
72978
  ),
@@ -72865,7 +72993,7 @@ function createIconActionColumn({
72865
72993
  onClick: () => onAction(rowOriginal),
72866
72994
  children: [
72867
72995
  /* @__PURE__ */ jsx(IconComponent, { className: "h-4 w-4" }),
72868
- /* @__PURE__ */ jsx("span", { children: text2 })
72996
+ text2 && /* @__PURE__ */ jsx("span", { children: text2 })
72869
72997
  ]
72870
72998
  }
72871
72999
  )
@@ -74291,7 +74419,9 @@ async function loadRouteModule(route, routeModulesCache) {
74291
74419
  );
74292
74420
  console.error(error2);
74293
74421
  if (window.__reactRouterContext && window.__reactRouterContext.isSpaMode && // @ts-expect-error
74294
- void 0) ;
74422
+ void 0) {
74423
+ throw error2;
74424
+ }
74295
74425
  window.location.reload();
74296
74426
  return new Promise(() => {
74297
74427
  });
@@ -76494,6 +76624,8 @@ var formatters$2 = {
76494
76624
  }
76495
76625
  };
76496
76626
  var dayPeriodEnum = {
76627
+ am: "am",
76628
+ pm: "pm",
76497
76629
  midnight: "midnight",
76498
76630
  noon: "noon",
76499
76631
  morning: "morning",
@@ -79780,6 +79912,7 @@ function createStatusColumn(args) {
79780
79912
  const { onToggle, vsaasManaged, pillForStatus } = args;
79781
79913
  return createTextColumn({
79782
79914
  accessorKey: "status",
79915
+ id: "status",
79783
79916
  header: `Status`,
79784
79917
  enableSorting: false,
79785
79918
  enableHiding: false,
@@ -79825,6 +79958,7 @@ function createBroadcastActionColumn(args) {
79825
79958
  } = args;
79826
79959
  return createTextColumn({
79827
79960
  accessorKey: "status",
79961
+ id: "status",
79828
79962
  header: `Status`,
79829
79963
  enableSorting: false,
79830
79964
  enableHiding: false,
@@ -79911,6 +80045,9 @@ function createColumns(args) {
79911
80045
  createCountColumn("smsSent", "SMS Sent"),
79912
80046
  createModifiedColumn(),
79913
80047
  isBroadcast ? createBroadcastActionColumn({
80048
+ setUrl,
80049
+ onToggle,
80050
+ automationName,
79914
80051
  vsaasManaged,
79915
80052
  pillForStatus,
79916
80053
  onDuplicate,
@@ -79918,7 +80055,9 @@ function createColumns(args) {
79918
80055
  onEdit,
79919
80056
  onCancel
79920
80057
  }) : createStatusColumn({
80058
+ setUrl,
79921
80059
  onToggle,
80060
+ automationName,
79922
80061
  vsaasManaged,
79923
80062
  pillForStatus
79924
80063
  })
@@ -80376,12 +80515,28 @@ const AIContentPrompt = forwardRef(({ onGenerateContent, prompt, onPromptChange
80376
80515
  "prompt"
80377
80516
  ) }) });
80378
80517
  });
80518
+ const h1 = "reach-styles-module__h1___upBY0";
80379
80519
  const h22 = "reach-styles-module__h2___J-48W";
80380
80520
  const h32 = "reach-styles-module__h3___QiFj-";
80521
+ const h4 = "reach-styles-module__h4___LLom4";
80522
+ const paragraph = "reach-styles-module__paragraph___duktL";
80523
+ const blockquote = "reach-styles-module__blockquote___xPu0i";
80524
+ const inlineCode = "reach-styles-module__inlineCode___giBjH";
80525
+ const lead = "reach-styles-module__lead___PfoUz";
80526
+ const large = "reach-styles-module__large___SO9ZD";
80527
+ const muted = "reach-styles-module__muted___x0iIr";
80381
80528
  const minorText = "reach-styles-module__minorText___1TEN6";
80382
80529
  const styles$2 = {
80530
+ h1,
80383
80531
  h2: h22,
80384
80532
  h3: h32,
80533
+ h4,
80534
+ paragraph,
80535
+ blockquote,
80536
+ inlineCode,
80537
+ lead,
80538
+ large,
80539
+ muted,
80385
80540
  minorText
80386
80541
  };
80387
80542
  const H22 = ({ children, className }) => {
@@ -80501,10 +80656,12 @@ const CHECK_DELAYS = [0, 100, 500, 1e3, 2e3];
80501
80656
  const DEFAULT_EMAIL_PREVIEW_HEIGHT = 400;
80502
80657
  const EMAIL_PREVIEW_HEIGHT_CALCULATION_TIMEOUT = 5e3;
80503
80658
  const SMS_LIMITS = {
80504
- RECOMMENDED_LIMIT: 320
80659
+ ABSOLUTE_LIMIT: 1500,
80660
+ RECOMMENDED_LIMIT: 320,
80661
+ COMPANY_NAME_LIMIT: 100
80505
80662
  };
80506
80663
  const TitleAndResetButton = ({ title: title2, type }) => {
80507
- const communicationGroup = useCurrentCommunicationGroup();
80664
+ const { communicationGroup } = useCurrentCommunicationGroup();
80508
80665
  const automation2 = useAutomation();
80509
80666
  const { toast: toast2 } = useToast();
80510
80667
  const [showConfirm, setShowConfirmDialog] = useState(false);
@@ -80846,7 +81003,7 @@ const EmailPreviewHtmlRenderer = ({
80846
81003
  setIframeElement(element);
80847
81004
  }
80848
81005
  }, []);
80849
- const communicationGroup = useCurrentCommunicationGroup();
81006
+ const { communicationGroup } = useCurrentCommunicationGroup();
80850
81007
  const automation2 = useAutomation();
80851
81008
  const { getMergeFields: getMergeFields2, isGetting: isGettingMergeFields } = useGetMergeFieldsWithAutomation(
80852
81009
  communicationGroup?.id ?? void 0,
@@ -83822,7 +83979,7 @@ const OPT_PRESERVE_WS = 1, OPT_PRESERVE_WS_FULL = 2, OPT_OPEN_LEFT = 4;
83822
83979
  function wsOptionsFor(type, preserveWhitespace, base2) {
83823
83980
  if (preserveWhitespace != null)
83824
83981
  return (preserveWhitespace ? OPT_PRESERVE_WS : 0) | (preserveWhitespace === "full" ? OPT_PRESERVE_WS_FULL : 0);
83825
- return type && type.whitespace == "pre" ? OPT_PRESERVE_WS | OPT_PRESERVE_WS_FULL : base2 & -5;
83982
+ return type && type.whitespace == "pre" ? OPT_PRESERVE_WS | OPT_PRESERVE_WS_FULL : base2 & ~OPT_OPEN_LEFT;
83826
83983
  }
83827
83984
  class NodeContext {
83828
83985
  constructor(type, attrs, marks, solid, match2, options) {
@@ -86793,7 +86950,7 @@ class Transaction extends Transform {
86793
86950
  throw new RangeError("Selection passed to setSelection must point at the current document");
86794
86951
  this.curSelection = selection;
86795
86952
  this.curSelectionFor = this.steps.length;
86796
- this.updated = (this.updated | UPDATED_SEL) & -3;
86953
+ this.updated = (this.updated | UPDATED_SEL) & ~UPDATED_MARKS;
86797
86954
  this.storedMarks = null;
86798
86955
  return this;
86799
86956
  }
@@ -86844,7 +87001,7 @@ class Transaction extends Transform {
86844
87001
  */
86845
87002
  addStep(step, doc2) {
86846
87003
  super.addStep(step, doc2);
86847
- this.updated = this.updated & -3;
87004
+ this.updated = this.updated & ~UPDATED_MARKS;
86848
87005
  this.storedMarks = null;
86849
87006
  }
86850
87007
  /**
@@ -92867,58 +93024,6 @@ const liftEmptyBlock$1 = (state, dispatch2) => {
92867
93024
  dispatch2(state.tr.lift(range, target).scrollIntoView());
92868
93025
  return true;
92869
93026
  };
92870
- function splitBlockAs(splitNode) {
92871
- return (state, dispatch2) => {
92872
- let { $from, $to } = state.selection;
92873
- if (state.selection instanceof NodeSelection && state.selection.node.isBlock) {
92874
- if (!$from.parentOffset || !canSplit(state.doc, $from.pos))
92875
- return false;
92876
- if (dispatch2)
92877
- dispatch2(state.tr.split($from.pos).scrollIntoView());
92878
- return true;
92879
- }
92880
- if (!$from.depth)
92881
- return false;
92882
- let types = [];
92883
- let splitDepth, deflt, atEnd = false, atStart = false;
92884
- for (let d4 = $from.depth; ; d4--) {
92885
- let node = $from.node(d4);
92886
- if (node.isBlock) {
92887
- atEnd = $from.end(d4) == $from.pos + ($from.depth - d4);
92888
- atStart = $from.start(d4) == $from.pos - ($from.depth - d4);
92889
- deflt = defaultBlockAt$1($from.node(d4 - 1).contentMatchAt($from.indexAfter(d4 - 1)));
92890
- types.unshift(atEnd && deflt ? { type: deflt } : null);
92891
- splitDepth = d4;
92892
- break;
92893
- } else {
92894
- if (d4 == 1)
92895
- return false;
92896
- types.unshift(null);
92897
- }
92898
- }
92899
- let tr2 = state.tr;
92900
- if (state.selection instanceof TextSelection || state.selection instanceof AllSelection)
92901
- tr2.deleteSelection();
92902
- let splitPos = tr2.mapping.map($from.pos);
92903
- let can = canSplit(tr2.doc, splitPos, types.length, types);
92904
- if (!can) {
92905
- types[0] = deflt ? { type: deflt } : null;
92906
- can = canSplit(tr2.doc, splitPos, types.length, types);
92907
- }
92908
- if (!can)
92909
- return false;
92910
- tr2.split(splitPos, types.length, types);
92911
- if (!atEnd && atStart && $from.node(splitDepth).type != deflt) {
92912
- let first2 = tr2.mapping.map($from.before(splitDepth)), $first = tr2.doc.resolve(first2);
92913
- if (deflt && $from.node(splitDepth - 1).canReplaceWith($first.index(), $first.index() + 1, deflt))
92914
- tr2.setNodeMarkup(tr2.mapping.map($from.before(splitDepth)), deflt);
92915
- }
92916
- if (dispatch2)
92917
- dispatch2(tr2.scrollIntoView());
92918
- return true;
92919
- };
92920
- }
92921
- const splitBlock$1 = splitBlockAs();
92922
93027
  const selectParentNode$1 = (state, dispatch2) => {
92923
93028
  let { $from, to: to2 } = state.selection, pos;
92924
93029
  let same = $from.sharedDepth(to2);
@@ -93055,19 +93160,6 @@ function setBlockType(nodeType, attrs = null) {
93055
93160
  return true;
93056
93161
  };
93057
93162
  }
93058
- function chainCommands(...commands2) {
93059
- return function(state, dispatch2, view) {
93060
- for (let i2 = 0; i2 < commands2.length; i2++)
93061
- if (commands2[i2](state, dispatch2, view))
93062
- return true;
93063
- return false;
93064
- };
93065
- }
93066
- chainCommands(deleteSelection$1, joinBackward$1, selectNodeBackward$1);
93067
- chainCommands(deleteSelection$1, joinForward$1, selectNodeForward$1);
93068
- ({
93069
- "Enter": chainCommands(newlineInCode$1, createParagraphNear$1, liftEmptyBlock$1, splitBlock$1)
93070
- });
93071
93163
  typeof navigator != "undefined" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : typeof os != "undefined" && os.platform ? os.platform() == "darwin" : false;
93072
93164
  function wrapInList$1(listType, attrs = null) {
93073
93165
  return function(state, dispatch2) {
@@ -97450,10 +97542,10 @@ function requireUseSyncExternalStoreShim_production_min() {
97450
97542
  if (hasRequiredUseSyncExternalStoreShim_production_min) return useSyncExternalStoreShim_production_min;
97451
97543
  hasRequiredUseSyncExternalStoreShim_production_min = 1;
97452
97544
  var e4 = React__default;
97453
- function h4(a4, b3) {
97545
+ function h5(a4, b3) {
97454
97546
  return a4 === b3 && (0 !== a4 || 1 / a4 === 1 / b3) || a4 !== a4 && b3 !== b3;
97455
97547
  }
97456
- var k3 = "function" === typeof Object.is ? Object.is : h4, l2 = e4.useState, m4 = e4.useEffect, n2 = e4.useLayoutEffect, p2 = e4.useDebugValue;
97548
+ var k3 = "function" === typeof Object.is ? Object.is : h5, l2 = e4.useState, m4 = e4.useEffect, n2 = e4.useLayoutEffect, p2 = e4.useDebugValue;
97457
97549
  function q3(a4, b3) {
97458
97550
  var d4 = b3(), f2 = l2({ inst: { value: d4, getSnapshot: b3 } }), c3 = f2[0].inst, g2 = f2[1];
97459
97551
  n2(function() {
@@ -97838,11 +97930,11 @@ var hasRequiredWithSelector_production_min;
97838
97930
  function requireWithSelector_production_min() {
97839
97931
  if (hasRequiredWithSelector_production_min) return withSelector_production_min;
97840
97932
  hasRequiredWithSelector_production_min = 1;
97841
- var h4 = React__default, n2 = shimExports$1;
97933
+ var h5 = React__default, n2 = shimExports$1;
97842
97934
  function p2(a4, b3) {
97843
97935
  return a4 === b3 && (0 !== a4 || 1 / a4 === 1 / b3) || a4 !== a4 && b3 !== b3;
97844
97936
  }
97845
- var q3 = "function" === typeof Object.is ? Object.is : p2, r2 = n2.useSyncExternalStore, t3 = h4.useRef, u3 = h4.useEffect, v2 = h4.useMemo, w3 = h4.useDebugValue;
97937
+ var q3 = "function" === typeof Object.is ? Object.is : p2, r2 = n2.useSyncExternalStore, t3 = h5.useRef, u3 = h5.useEffect, v2 = h5.useMemo, w3 = h5.useDebugValue;
97846
97938
  withSelector_production_min.useSyncExternalStoreWithSelector = function(a4, b3, e4, l2, g2) {
97847
97939
  var c3 = t3(null);
97848
97940
  if (null === c3.current) {
@@ -101638,7 +101730,7 @@ EmailSettingsForm.displayName = "EmailSettingsForm";
101638
101730
  const EditEmailContent = () => {
101639
101731
  const [showHelpDialog, setShowHelpDialog] = useState(false);
101640
101732
  const emailContainerRef = useRef(null);
101641
- const communicationGroup = useCurrentCommunicationGroup();
101733
+ const { communicationGroup } = useCurrentCommunicationGroup();
101642
101734
  const { state } = useContext(Context$1);
101643
101735
  const automation2 = state.automation;
101644
101736
  const { channelSenders } = useChannelSender();
@@ -101888,7 +101980,7 @@ const MergeFieldRenderer = ({
101888
101980
  );
101889
101981
  };
101890
101982
  const SMSPreview = ({ body, imageUrls }) => {
101891
- const communicationGroup = useCurrentCommunicationGroup();
101983
+ const { communicationGroup } = useCurrentCommunicationGroup();
101892
101984
  const automation2 = useAutomation();
101893
101985
  const { getMergeFields: getMergeFields2, isGetting } = useGetMergeFieldsWithAutomation(
101894
101986
  communicationGroup?.id ?? void 0,
@@ -104275,7 +104367,7 @@ var dayjs_min = { exports: {} };
104275
104367
  !function(t3, e4) {
104276
104368
  module.exports = e4();
104277
104369
  }(commonjsGlobal, function() {
104278
- var t3 = 1e3, e4 = 6e4, n2 = 36e5, r2 = "millisecond", i2 = "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) {
104370
+ var t3 = 1e3, e4 = 6e4, n2 = 36e5, r2 = "millisecond", i2 = "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) {
104279
104371
  var e5 = ["th", "st", "nd", "rd"], n3 = t4 % 100;
104280
104372
  return "[" + t4 + (e5[(n3 - 20) % 10] || e5[n3] || e5[0]) + "]";
104281
104373
  } }, m4 = function(t4, e5, n3) {
@@ -104291,7 +104383,7 @@ var dayjs_min = { exports: {} };
104291
104383
  }, a: function(t4) {
104292
104384
  return t4 < 0 ? Math.ceil(t4) || 0 : Math.floor(t4);
104293
104385
  }, p: function(t4) {
104294
- return { M: c3, y: h4, w: o2, d: a4, D: d4, h: u3, m: s4, s: i2, ms: r2, Q: f2 }[t4] || String(t4 || "").toLowerCase().replace(/s$/, "");
104386
+ return { M: c3, y: h5, w: o2, d: a4, D: d4, h: u3, m: s4, s: i2, ms: r2, Q: f2 }[t4] || String(t4 || "").toLowerCase().replace(/s$/, "");
104295
104387
  }, u: function(t4) {
104296
104388
  return void 0 === t4;
104297
104389
  } }, g2 = "en", D4 = {};
@@ -104367,7 +104459,7 @@ var dayjs_min = { exports: {} };
104367
104459
  return b3.w(n3.toDate()[t5].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e6)), n3);
104368
104460
  }, y5 = this.$W, M6 = this.$M, m6 = this.$D, v3 = "set" + (this.$u ? "UTC" : "");
104369
104461
  switch (f3) {
104370
- case h4:
104462
+ case h5:
104371
104463
  return r3 ? l3(1, 0) : l3(31, 11);
104372
104464
  case c3:
104373
104465
  return r3 ? l3(1, M6) : l3(0, M6 + 1);
@@ -104389,8 +104481,8 @@ var dayjs_min = { exports: {} };
104389
104481
  }, m5.endOf = function(t4) {
104390
104482
  return this.startOf(t4, false);
104391
104483
  }, m5.$set = function(t4, e5) {
104392
- 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[i2] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $3 = o3 === a4 ? this.$D + (e5 - this.$W) : e5;
104393
- if (o3 === c3 || o3 === h4) {
104484
+ 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[i2] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $3 = o3 === a4 ? this.$D + (e5 - this.$W) : e5;
104485
+ if (o3 === c3 || o3 === h5) {
104394
104486
  var y5 = this.clone().set(d4, 1);
104395
104487
  y5.$d[l3]($3), y5.init(), this.$d = y5.set(d4, Math.min(this.$D, y5.daysInMonth())).$d;
104396
104488
  } else l3 && this.$d[l3]($3);
@@ -104407,7 +104499,7 @@ var dayjs_min = { exports: {} };
104407
104499
  return b3.w(e5.date(e5.date() + Math.round(t4 * r3)), l3);
104408
104500
  };
104409
104501
  if ($3 === c3) return this.set(c3, this.$M + r3);
104410
- if ($3 === h4) return this.set(h4, this.$y + r3);
104502
+ if ($3 === h5) return this.set(h5, this.$y + r3);
104411
104503
  if ($3 === a4) return y5(1);
104412
104504
  if ($3 === o2) return y5(7);
104413
104505
  var M6 = (d5 = {}, d5[s4] = e4, d5[u3] = n2, d5[i2] = t3, d5)[$3] || 1, m6 = this.$d.getTime() + r3 * M6;
@@ -104417,7 +104509,7 @@ var dayjs_min = { exports: {} };
104417
104509
  }, m5.format = function(t4) {
104418
104510
  var e5 = this, n3 = this.$locale();
104419
104511
  if (!this.isValid()) return n3.invalidDate || l2;
104420
- var r3 = t4 || "YYYY-MM-DDTHH:mm:ssZ", i3 = 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, i4, s6) {
104512
+ var r3 = t4 || "YYYY-MM-DDTHH:mm:ssZ", i3 = 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, i4, s6) {
104421
104513
  return t5 && (t5[n4] || t5(e5, r3)) || i4[n4].slice(0, s6);
104422
104514
  }, d5 = function(t5) {
104423
104515
  return b3.s(s5 % 12 || 12, t5, "0");
@@ -104437,9 +104529,9 @@ var dayjs_min = { exports: {} };
104437
104529
  case "MM":
104438
104530
  return b3.s(a5 + 1, 2, "0");
104439
104531
  case "MMM":
104440
- return h5(n3.monthsShort, a5, c4, 3);
104532
+ return h6(n3.monthsShort, a5, c4, 3);
104441
104533
  case "MMMM":
104442
- return h5(c4, a5);
104534
+ return h6(c4, a5);
104443
104535
  case "D":
104444
104536
  return e5.$D;
104445
104537
  case "DD":
@@ -104447,9 +104539,9 @@ var dayjs_min = { exports: {} };
104447
104539
  case "d":
104448
104540
  return String(e5.$W);
104449
104541
  case "dd":
104450
- return h5(n3.weekdaysMin, e5.$W, o3, 2);
104542
+ return h6(n3.weekdaysMin, e5.$W, o3, 2);
104451
104543
  case "ddd":
104452
- return h5(n3.weekdaysShort, e5.$W, o3, 3);
104544
+ return h6(n3.weekdaysShort, e5.$W, o3, 3);
104453
104545
  case "dddd":
104454
104546
  return o3[e5.$W];
104455
104547
  case "H":
@@ -104487,7 +104579,7 @@ var dayjs_min = { exports: {} };
104487
104579
  return b3.m(y5, m6);
104488
104580
  };
104489
104581
  switch (M6) {
104490
- case h4:
104582
+ case h5:
104491
104583
  $3 = D5() / 12;
104492
104584
  break;
104493
104585
  case c3:
@@ -104535,7 +104627,7 @@ var dayjs_min = { exports: {} };
104535
104627
  return this.$d.toUTCString();
104536
104628
  }, M5;
104537
104629
  }(), k3 = _2.prototype;
104538
- return O3.prototype = k3, [["$ms", r2], ["$s", i2], ["$m", s4], ["$H", u3], ["$W", a4], ["$M", c3], ["$y", h4], ["$D", d4]].forEach(function(t4) {
104630
+ return O3.prototype = k3, [["$ms", r2], ["$s", i2], ["$m", s4], ["$H", u3], ["$W", a4], ["$M", c3], ["$y", h5], ["$D", d4]].forEach(function(t4) {
104539
104631
  k3[t4[1]] = function(e5) {
104540
104632
  return this.$g(e5, t4[0], t4[1]);
104541
104633
  };
@@ -105740,18 +105832,18 @@ const buildInFieldToHumanReadable = {
105740
105832
  };
105741
105833
  var U = 1, Y$1 = 0.9, H4 = 0.8, J = 0.17, p = 0.1, u2 = 0.999, $ = 0.9999;
105742
105834
  var k$1 = 0.99, m3 = /[\\\/_+.#"@\[\(\{&]/, B2 = /[\\\/_+.#"@\[\(\{&]/g, K$1 = /[\s-]/, X2 = /[\s-]/g;
105743
- function G$1(_2, C2, h4, P2, A2, f2, O3) {
105835
+ function G$1(_2, C2, h5, P2, A2, f2, O3) {
105744
105836
  if (f2 === C2.length) return A2 === _2.length ? U : k$1;
105745
105837
  var T3 = `${A2},${f2}`;
105746
105838
  if (O3[T3] !== void 0) return O3[T3];
105747
- 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);
105839
+ 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);
105748
105840
  return O3[T3] = S4, S4;
105749
105841
  }
105750
105842
  function D3(_2) {
105751
105843
  return _2.toLowerCase().replace(X2, " ");
105752
105844
  }
105753
- function W(_2, C2, h4) {
105754
- return _2 = h4 && h4.length > 0 ? `${_2 + " " + h4.join(" ")}` : _2, G$1(_2, C2, D3(_2), D3(C2), 0, 0, {});
105845
+ function W(_2, C2, h5) {
105846
+ return _2 = h5 && h5.length > 0 ? `${_2 + " " + h5.join(" ")}` : _2, G$1(_2, C2, D3(_2), D3(C2), 0, 0, {});
105755
105847
  }
105756
105848
  var shim = { exports: {} };
105757
105849
  var useSyncExternalStoreShim_production = {};
@@ -105900,12 +105992,12 @@ var me = React.forwardRef((r2, o2) => {
105900
105992
  M3(() => {
105901
105993
  if (l2 !== void 0) {
105902
105994
  let e4 = l2.trim();
105903
- t3.current.value = e4, h4.emit();
105995
+ t3.current.value = e4, h5.emit();
105904
105996
  }
105905
105997
  }, [l2]), M3(() => {
105906
105998
  R3(6, re2);
105907
105999
  }, []);
105908
- let h4 = React.useMemo(() => ({ subscribe: (e4) => (f2.current.add(e4), () => f2.current.delete(e4)), snapshot: () => t3.current, setState: (e4, s4, i2) => {
106000
+ let h5 = React.useMemo(() => ({ subscribe: (e4) => (f2.current.add(e4), () => f2.current.delete(e4)), snapshot: () => t3.current, setState: (e4, s4, i2) => {
105909
106001
  var a4, m4, g2;
105910
106002
  if (!Object.is(t3.current[e4], s4)) {
105911
106003
  if (t3.current[e4] = s4, e4 === "search") W2(), U2(), R3(1, z3);
@@ -105914,22 +106006,22 @@ var me = React.forwardRef((r2, o2) => {
105914
106006
  (g2 = (m4 = p2.current).onValueChange) == null || g2.call(m4, S4);
105915
106007
  return;
105916
106008
  }
105917
- h4.emit();
106009
+ h5.emit();
105918
106010
  }
105919
106011
  }, emit: () => {
105920
106012
  f2.current.forEach((e4) => e4());
105921
106013
  } }), []), q3 = React.useMemo(() => ({ value: (e4, s4, i2) => {
105922
106014
  var a4;
105923
106015
  s4 !== ((a4 = d4.current.get(e4)) == null ? void 0 : a4.value) && (d4.current.set(e4, { value: s4, keywords: i2 }), t3.current.filtered.items.set(e4, ne2(s4, i2)), R3(2, () => {
105924
- U2(), h4.emit();
106016
+ U2(), h5.emit();
105925
106017
  }));
105926
106018
  }, 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, () => {
105927
- W2(), U2(), t3.current.value || z3(), h4.emit();
106019
+ W2(), U2(), t3.current.value || z3(), h5.emit();
105928
106020
  }), () => {
105929
106021
  d4.current.delete(e4), u3.current.delete(e4), t3.current.filtered.items.delete(e4);
105930
106022
  let i2 = A2();
105931
106023
  R3(4, () => {
105932
- W2(), (i2 == null ? void 0 : i2.getAttribute("id")) === e4 && z3(), h4.emit();
106024
+ W2(), (i2 == null ? void 0 : i2.getAttribute("id")) === e4 && z3(), h5.emit();
105933
106025
  });
105934
106026
  }), group: (e4) => (c3.current.has(e4) || c3.current.set(e4, /* @__PURE__ */ new Set()), () => {
105935
106027
  d4.current.delete(e4), c3.current.delete(e4);
@@ -105965,7 +106057,7 @@ var me = React.forwardRef((r2, o2) => {
105965
106057
  }
105966
106058
  function z3() {
105967
106059
  let e4 = _2().find((i2) => i2.getAttribute("aria-disabled") !== "true"), s4 = e4 == null ? void 0 : e4.getAttribute(I2);
105968
- h4.setState("value", s4 || void 0);
106060
+ h5.setState("value", s4 || void 0);
105969
106061
  }
105970
106062
  function W2() {
105971
106063
  var s4, i2, a4, m4;
@@ -106000,17 +106092,17 @@ var me = React.forwardRef((r2, o2) => {
106000
106092
  }
106001
106093
  function J2(e4) {
106002
106094
  let i2 = _2()[e4];
106003
- i2 && h4.setState("value", i2.getAttribute(I2));
106095
+ i2 && h5.setState("value", i2.getAttribute(I2));
106004
106096
  }
106005
106097
  function X3(e4) {
106006
106098
  var g2;
106007
106099
  let s4 = A2(), i2 = _2(), a4 = i2.findIndex((S4) => S4 === s4), m4 = i2[a4 + e4];
106008
- (g2 = p2.current) != null && g2.loop && (m4 = a4 + e4 < 0 ? i2[i2.length - 1] : a4 + e4 === i2.length ? i2[0] : i2[a4 + e4]), m4 && h4.setState("value", m4.getAttribute(I2));
106100
+ (g2 = p2.current) != null && g2.loop && (m4 = a4 + e4 < 0 ? i2[i2.length - 1] : a4 + e4 === i2.length ? i2[0] : i2[a4 + e4]), m4 && h5.setState("value", m4.getAttribute(I2));
106009
106101
  }
106010
106102
  function oe2(e4) {
106011
106103
  let s4 = A2(), i2 = s4 == null ? void 0 : s4.closest(N), a4;
106012
106104
  for (; i2 && !a4; ) i2 = e4 > 0 ? Ie(i2, N) : Me(i2, N), a4 = i2 == null ? void 0 : i2.querySelector(le);
106013
- a4 ? h4.setState("value", a4.getAttribute(I2)) : X3(e4);
106105
+ a4 ? h5.setState("value", a4.getAttribute(I2)) : X3(e4);
106014
106106
  }
106015
106107
  let ie2 = () => J2(_2().length - 1), ae2 = (e4) => {
106016
106108
  e4.preventDefault(), e4.metaKey ? ie2() : e4.altKey ? oe2(1) : X3(1);
@@ -106056,7 +106148,7 @@ var me = React.forwardRef((r2, o2) => {
106056
106148
  }
106057
106149
  }
106058
106150
  }
106059
- } }, 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))));
106151
+ } }, 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))));
106060
106152
  }), ye = React.forwardRef((r2, o2) => {
106061
106153
  var F2, x3;
106062
106154
  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;
@@ -106069,8 +106161,8 @@ var me = React.forwardRef((r2, o2) => {
106069
106161
  if (!(!R3 || r2.disabled)) return R3.addEventListener(Y2, E3), () => R3.removeEventListener(Y2, E3);
106070
106162
  }, [y4, r2.onSelect, r2.disabled]);
106071
106163
  function E3() {
106072
- var R3, h4;
106073
- C2(), (h4 = (R3 = f2.current).onSelect) == null || h4.call(R3, v2.current);
106164
+ var R3, h5;
106165
+ C2(), (h5 = (R3 = f2.current).onSelect) == null || h5.call(R3, v2.current);
106074
106166
  }
106075
106167
  function C2() {
106076
106168
  b3.setState("value", v2.current, true);
@@ -106756,7 +106848,7 @@ var count = 0;
106756
106848
  function useId$1(deterministicId) {
106757
106849
  const [id2, setId] = React.useState(useReactId());
106758
106850
  useLayoutEffect2(() => {
106759
- setId((reactId) => reactId ?? String(count++));
106851
+ if (!deterministicId) setId((reactId) => reactId ?? String(count++));
106760
106852
  }, [deterministicId]);
106761
106853
  return deterministicId || (id2 ? `radix-${id2}` : "");
106762
106854
  }
@@ -108888,6 +108980,7 @@ const ConditionRow = ({
108888
108980
  operators: [],
108889
108981
  type: JSONSchemaType.String,
108890
108982
  options: void 0,
108983
+ itemType: void 0,
108891
108984
  description: void 0
108892
108985
  };
108893
108986
  const operators = metadata.operators;
@@ -110131,15 +110224,27 @@ function SegmentBuilderDialog({
110131
110224
  }
110132
110225
  ) });
110133
110226
  }
110227
+ const reassuranceBanner = "reach-EstimatedMatchesView-module__reassuranceBanner___lsZbs";
110228
+ const reassuranceBannerText = "reach-EstimatedMatchesView-module__reassuranceBannerText___lzrQX";
110229
+ const reassuranceBannerTitle = "reach-EstimatedMatchesView-module__reassuranceBannerTitle___vJNIc";
110134
110230
  const learnMoreLink = "reach-EstimatedMatchesView-module__learnMoreLink___M-mr-";
110135
110231
  const reassuranceBannerAlternative = "reach-EstimatedMatchesView-module__reassuranceBannerAlternative___kBAuQ";
110136
110232
  const reassuranceBannerAlternativeText = "reach-EstimatedMatchesView-module__reassuranceBannerAlternativeText___Sifb-";
110137
110233
  const reassuranceBannerAlternativeTitle = "reach-EstimatedMatchesView-module__reassuranceBannerAlternativeTitle___rIfFG";
110234
+ const reassuranceBannerEnhanced = "reach-EstimatedMatchesView-module__reassuranceBannerEnhanced___3eY2G";
110235
+ const reassuranceBannerEnhancedText = "reach-EstimatedMatchesView-module__reassuranceBannerEnhancedText___IsBSu";
110236
+ const reassuranceBannerEnhancedTitle = "reach-EstimatedMatchesView-module__reassuranceBannerEnhancedTitle___ffoOU";
110138
110237
  const styles$1 = {
110238
+ reassuranceBanner,
110239
+ reassuranceBannerText,
110240
+ reassuranceBannerTitle,
110139
110241
  learnMoreLink,
110140
110242
  reassuranceBannerAlternative,
110141
110243
  reassuranceBannerAlternativeText,
110142
- reassuranceBannerAlternativeTitle
110244
+ reassuranceBannerAlternativeTitle,
110245
+ reassuranceBannerEnhanced,
110246
+ reassuranceBannerEnhancedText,
110247
+ reassuranceBannerEnhancedTitle
110143
110248
  };
110144
110249
  const TotalExplanationTooltip = () => {
110145
110250
  return /* @__PURE__ */ jsx(
@@ -114696,7 +114801,7 @@ const AutomationsEditorHeader = ({ showBackButton, onDuplicationCreated, onBefor
114696
114801
  const { updateAutomation: businessUpdateAutomation } = useUpdateBusinessAutomation(automation2?.id || "");
114697
114802
  const { toast: toast2 } = useToast();
114698
114803
  const estimatedMatchesStats = useValidationStats();
114699
- const communicationGroup = useCurrentCommunicationGroup();
114804
+ const { communicationGroup } = useCurrentCommunicationGroup();
114700
114805
  const { data: smsApplication } = useGetLatestSmsRegistrationApplication();
114701
114806
  const { channelSenders } = useChannelSender();
114702
114807
  const { channelAccounts } = useChannelAccount();
@@ -118333,8 +118438,8 @@ const AutomationEditorSubStep = ({
118333
118438
  setSelectedSubStepType: setSelectedSubStepType2,
118334
118439
  setActionId: setActionId2
118335
118440
  } = useContext(Context$1);
118336
- const communicationGroup = useCurrentCommunicationGroup();
118337
118441
  const automation2 = useAutomation();
118442
+ const { communicationGroup } = useCurrentCommunicationGroup();
118338
118443
  const { getMergeFields: getMergeFields2, isGetting: isGettingMergeFields } = useGetMergeFieldsWithAutomation(
118339
118444
  communicationGroup?.id ?? void 0,
118340
118445
  automation2?.id ?? void 0
@@ -118667,7 +118772,7 @@ const AutomationFlowMain = ({
118667
118772
  hideSms,
118668
118773
  segments
118669
118774
  }) => {
118670
- const communicationGroup = useCurrentCommunicationGroup();
118775
+ const { communicationGroup } = useCurrentCommunicationGroup();
118671
118776
  const [isDetailsVisible, setIsDetailsVisible] = useState(false);
118672
118777
  const [actionDataWithMetadata, setActionDataWithMetadata] = useState(void 0);
118673
118778
  const automation2 = useAutomation();
@@ -118875,7 +118980,7 @@ const AutomationsEditorSidebar = ({
118875
118980
  return /* @__PURE__ */ jsx("div", { className: "h-full pt-4 relative", children: /* @__PURE__ */ jsx("div", { className: "absolute inset-0 overflow-y-auto flex flex-col gap-3", children: /* @__PURE__ */ jsx(AutomationFlowMain, { hideSms, segments }) }) });
118876
118981
  };
118877
118982
  const ResetToDefaultButton = ({ type }) => {
118878
- const communicationGroup = useCurrentCommunicationGroup();
118983
+ const { communicationGroup } = useCurrentCommunicationGroup();
118879
118984
  const automation2 = useAutomation();
118880
118985
  const { toast: toast2 } = useToast();
118881
118986
  const [showConfirm, setShowConfirmDialog] = useState(false);
@@ -118977,7 +119082,7 @@ const ResetToDefaultButton = ({ type }) => {
118977
119082
  ] });
118978
119083
  };
118979
119084
  const useChannelToggle = (type) => {
118980
- const communicationGroup = useCurrentCommunicationGroup();
119085
+ const { communicationGroup } = useCurrentCommunicationGroup();
118981
119086
  const { updateCommunicationGroup: updateCommunicationGroup2, isUpdating } = useUpdateCommunicationGroup();
118982
119087
  const { channelSenders } = useChannelSender();
118983
119088
  const { channelAccounts } = useChannelAccount();
@@ -119173,7 +119278,7 @@ const ChannelDisabledWarning = ({
119173
119278
  InfoTooltip,
119174
119279
  {
119175
119280
  alertText: "You can only change the channel if you are in the draft state.",
119176
- asChild: true,
119281
+ asChild: false,
119177
119282
  className: "cursor-not-allowed",
119178
119283
  children: button
119179
119284
  }
@@ -119255,10 +119360,10 @@ const EmailDetailsPreview = ({
119255
119360
  disableEditContent
119256
119361
  }) => {
119257
119362
  const automation2 = useAutomation();
119258
- const communicationGroup = useCurrentCommunicationGroup();
119363
+ const { communicationGroup, isGetting: isUpdatingCommunicationGroup } = useCurrentCommunicationGroup();
119259
119364
  const emailChannelSenders = useEmailChannelSenders();
119260
- const { channelSenders } = useChannelSender();
119261
119365
  const { updateCommunicationGroup: updateCommunicationGroup2 } = useUpdateCommunicationGroup();
119366
+ const { channelSenders } = useChannelSender();
119262
119367
  const [popoverOpen, setPopoverOpen] = useState(false);
119263
119368
  const {
119264
119369
  state: {
@@ -119324,11 +119429,15 @@ const EmailDetailsPreview = ({
119324
119429
  }
119325
119430
  }, [communicationGroup, fromEmail, subject, previewText]);
119326
119431
  useEffect(() => {
119327
- if (fromEmail && debouncedSubject && communicationGroup?.id && !isFormLoading) {
119432
+ setSubject(communicationGroup?.emailSubject || null);
119433
+ setPreviewText(communicationGroup?.emailPreviewText || null);
119434
+ }, [communicationGroup]);
119435
+ useEffect(() => {
119436
+ if (fromEmail && debouncedSubject && communicationGroup?.id && !isFormLoading && !isUpdatingCommunicationGroup) {
119328
119437
  setIsUpdating(true);
119329
119438
  const updateGroup = async () => {
119330
- try {
119331
- await updateCommunicationGroup2({
119439
+ updateCommunicationGroup2(
119440
+ {
119332
119441
  groupId: communicationGroup.id,
119333
119442
  params: {
119334
119443
  emailChannelSenderId: fromEmail,
@@ -119337,12 +119446,16 @@ const EmailDetailsPreview = ({
119337
119446
  emailPreviewText: debouncedPreviewText
119338
119447
  }
119339
119448
  }
119340
- });
119341
- } catch (error2) {
119342
- console.error("Error updating communication group:", error2);
119343
- } finally {
119344
- setIsUpdating(false);
119345
- }
119449
+ },
119450
+ {
119451
+ onError: (error2) => {
119452
+ console.error("Error updating communication group:", error2);
119453
+ },
119454
+ onSettled: () => {
119455
+ setIsUpdating(false);
119456
+ }
119457
+ }
119458
+ );
119346
119459
  };
119347
119460
  updateGroup();
119348
119461
  }
@@ -119352,7 +119465,8 @@ const EmailDetailsPreview = ({
119352
119465
  debouncedPreviewText,
119353
119466
  communicationGroup?.id,
119354
119467
  updateCommunicationGroup2,
119355
- isFormLoading
119468
+ isFormLoading,
119469
+ isUpdatingCommunicationGroup
119356
119470
  ]);
119357
119471
  if (!automation2 || !communicationGroup || !communicationGroup.emailChannelSenderId) {
119358
119472
  return null;
@@ -119556,7 +119670,7 @@ const AutomationEditorEmailPreview = ({
119556
119670
  disablePreviewSubtext = false
119557
119671
  }) => {
119558
119672
  const automation2 = useAutomation();
119559
- const communicationGroup = useCurrentCommunicationGroup();
119673
+ const { communicationGroup } = useCurrentCommunicationGroup();
119560
119674
  const { channelSenders } = useChannelSender();
119561
119675
  const { channelAccounts } = useChannelAccount();
119562
119676
  const { data: business, isLoading: isLoadingBusiness } = useBusiness$1();
@@ -119715,7 +119829,8 @@ const AutomationEditorEmailPreview = ({
119715
119829
  {
119716
119830
  mergeFieldsResponse: getMergeFields2,
119717
119831
  disableEditContent
119718
- }
119832
+ },
119833
+ communicationGroup?.id
119719
119834
  ) }),
119720
119835
  /* @__PURE__ */ jsxs("div", { className: "rounded-lg bg-background flex-1 min-h-0 flex flex-col items-center max-w-2xl mx-auto w-full", children: [
119721
119836
  /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-2 w-full justify-between p-3", children: [
@@ -119784,7 +119899,7 @@ const MemoizedSMSSenderAndCompanyEditor = React__default.memo(
119784
119899
  );
119785
119900
  const SMSDetailsPreview = ({ disableEditContent, mergeFieldsResponse }) => {
119786
119901
  const automation2 = useAutomation();
119787
- const communicationGroup = useCurrentCommunicationGroup();
119902
+ const { communicationGroup } = useCurrentCommunicationGroup();
119788
119903
  const { channelSenders } = useChannelSender();
119789
119904
  const { channelAccounts } = useChannelAccount();
119790
119905
  const { data: smsApplication } = useGetLatestSmsRegistrationApplication();
@@ -119902,7 +120017,7 @@ const AutomationEditorSMSPreview = ({
119902
120017
  const { brandDefaults } = useEngageFormDefaults();
119903
120018
  const { channelAccounts } = useChannelAccount();
119904
120019
  const automation2 = useAutomation();
119905
- const communicationGroup = useCurrentCommunicationGroup();
120020
+ const { communicationGroup } = useCurrentCommunicationGroup();
119906
120021
  const [editContent, setEditContent] = useState(false);
119907
120022
  const { data: smsApplication } = useGetLatestSmsRegistrationApplication();
119908
120023
  const hasProcessedInitialSetupRef = useRef(false);
@@ -120258,7 +120373,7 @@ const AutomationEditorCommunicationPreview = ({
120258
120373
  const {
120259
120374
  state: { selectedSubStepType }
120260
120375
  } = useContext(Context$1);
120261
- const communicationGroup = useCurrentCommunicationGroup();
120376
+ const { communicationGroup } = useCurrentCommunicationGroup();
120262
120377
  if (!communicationGroup) {
120263
120378
  return /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4 flex-1 bg-muted rounded-md", children: /* @__PURE__ */ jsx(BasicLoader, { text: ["Loading..."] }) });
120264
120379
  }
@@ -120340,7 +120455,7 @@ const ViewAutomationMain = ({
120340
120455
  fromNameSettingsLink
120341
120456
  }) => {
120342
120457
  const automation2 = useAutomation();
120343
- const communicationGroup = useCurrentCommunicationGroup();
120458
+ const { communicationGroup } = useCurrentCommunicationGroup();
120344
120459
  const { updateCommunicationGroup: updateCommunicationGroup2 } = useUpdateCommunicationGroup();
120345
120460
  const { toast: toast2 } = useToast();
120346
120461
  const { channelSenders } = useChannelSender();