@embedreach/components 0.3.46 → 0.3.47
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.
- package/dist/chunks/index.js +406 -482
- package/dist/chunks/sandbox-loading-screen.js +3 -2
- package/dist/index.d.ts +18 -18
- package/dist/index.umd.js +12 -12
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/chunks/index.js
CHANGED
|
@@ -3991,7 +3991,7 @@ var count$a = 0;
|
|
|
3991
3991
|
function useId$7(deterministicId) {
|
|
3992
3992
|
const [id2, setId] = React.useState(useReactId$5());
|
|
3993
3993
|
useLayoutEffect2$7(() => {
|
|
3994
|
-
setId((reactId) => reactId ?? String(count$a++));
|
|
3994
|
+
if (!deterministicId) setId((reactId) => reactId ?? String(count$a++));
|
|
3995
3995
|
}, [deterministicId]);
|
|
3996
3996
|
return deterministicId || (id2 ? `radix-${id2}` : "");
|
|
3997
3997
|
}
|
|
@@ -5204,9 +5204,9 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
|
|
|
5204
5204
|
!targetInLock && target !== document.body || // self content
|
|
5205
5205
|
targetInLock && (endTarget.contains(target) || endTarget === target)
|
|
5206
5206
|
);
|
|
5207
|
-
if (isDeltaPositive && (Math.abs(availableScroll) < 1 ||
|
|
5207
|
+
if (isDeltaPositive && (Math.abs(availableScroll) < 1 || !noOverscroll)) {
|
|
5208
5208
|
shouldCancelScroll = true;
|
|
5209
|
-
} else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 ||
|
|
5209
|
+
} else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || !noOverscroll)) {
|
|
5210
5210
|
shouldCancelScroll = true;
|
|
5211
5211
|
}
|
|
5212
5212
|
return shouldCancelScroll;
|
|
@@ -5288,7 +5288,7 @@ function RemoveScrollSideCar(props2) {
|
|
|
5288
5288
|
return true;
|
|
5289
5289
|
}
|
|
5290
5290
|
var cancelingAxis = activeAxis.current || currentAxis;
|
|
5291
|
-
return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY);
|
|
5291
|
+
return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
|
|
5292
5292
|
}, []);
|
|
5293
5293
|
var shouldPrevent = React.useCallback(function(_event) {
|
|
5294
5294
|
var event = _event;
|
|
@@ -8176,7 +8176,7 @@ var hasRequiredReactIs_production_min$1;
|
|
|
8176
8176
|
function requireReactIs_production_min$1() {
|
|
8177
8177
|
if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
|
|
8178
8178
|
hasRequiredReactIs_production_min$1 = 1;
|
|
8179
|
-
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,
|
|
8179
|
+
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, h6 = 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;
|
|
8180
8180
|
function z3(a4) {
|
|
8181
8181
|
if ("object" === typeof a4 && null !== a4) {
|
|
8182
8182
|
var u3 = a4.$$typeof;
|
|
@@ -8196,7 +8196,7 @@ function requireReactIs_production_min$1() {
|
|
|
8196
8196
|
case n2:
|
|
8197
8197
|
case t3:
|
|
8198
8198
|
case r2:
|
|
8199
|
-
case
|
|
8199
|
+
case h6:
|
|
8200
8200
|
return a4;
|
|
8201
8201
|
default:
|
|
8202
8202
|
return u3;
|
|
@@ -8213,7 +8213,7 @@ function requireReactIs_production_min$1() {
|
|
|
8213
8213
|
reactIs_production_min$1.AsyncMode = l2;
|
|
8214
8214
|
reactIs_production_min$1.ConcurrentMode = m4;
|
|
8215
8215
|
reactIs_production_min$1.ContextConsumer = k3;
|
|
8216
|
-
reactIs_production_min$1.ContextProvider =
|
|
8216
|
+
reactIs_production_min$1.ContextProvider = h6;
|
|
8217
8217
|
reactIs_production_min$1.Element = c3;
|
|
8218
8218
|
reactIs_production_min$1.ForwardRef = n2;
|
|
8219
8219
|
reactIs_production_min$1.Fragment = e4;
|
|
@@ -8231,7 +8231,7 @@ function requireReactIs_production_min$1() {
|
|
|
8231
8231
|
return z3(a4) === k3;
|
|
8232
8232
|
};
|
|
8233
8233
|
reactIs_production_min$1.isContextProvider = function(a4) {
|
|
8234
|
-
return z3(a4) ===
|
|
8234
|
+
return z3(a4) === h6;
|
|
8235
8235
|
};
|
|
8236
8236
|
reactIs_production_min$1.isElement = function(a4) {
|
|
8237
8237
|
return "object" === typeof a4 && null !== a4 && a4.$$typeof === c3;
|
|
@@ -8261,7 +8261,7 @@ function requireReactIs_production_min$1() {
|
|
|
8261
8261
|
return z3(a4) === p2;
|
|
8262
8262
|
};
|
|
8263
8263
|
reactIs_production_min$1.isValidElementType = function(a4) {
|
|
8264
|
-
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 ===
|
|
8264
|
+
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 === h6 || a4.$$typeof === k3 || a4.$$typeof === n2 || a4.$$typeof === w3 || a4.$$typeof === x3 || a4.$$typeof === y4 || a4.$$typeof === v2);
|
|
8265
8265
|
};
|
|
8266
8266
|
reactIs_production_min$1.typeOf = z3;
|
|
8267
8267
|
return reactIs_production_min$1;
|
|
@@ -10869,11 +10869,11 @@ function _toPrimitive$b(t3, r2) {
|
|
|
10869
10869
|
if ("object" != _typeof$d(t3) || !t3) return t3;
|
|
10870
10870
|
var e4 = t3[Symbol.toPrimitive];
|
|
10871
10871
|
if (void 0 !== e4) {
|
|
10872
|
-
var i2 = e4.call(t3, r2);
|
|
10872
|
+
var i2 = e4.call(t3, r2 || "default");
|
|
10873
10873
|
if ("object" != _typeof$d(i2)) return i2;
|
|
10874
10874
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
10875
10875
|
}
|
|
10876
|
-
return String(t3);
|
|
10876
|
+
return ("string" === r2 ? String : Number)(t3);
|
|
10877
10877
|
}
|
|
10878
10878
|
var PhoneNumber = /* @__PURE__ */ function() {
|
|
10879
10879
|
function PhoneNumber2(countryOrCountryCallingCode, nationalNumber, metadata2) {
|
|
@@ -11557,7 +11557,7 @@ function _toPrimitive$a(t3, r2) {
|
|
|
11557
11557
|
if ("object" != _typeof$b(t3) || !t3) return t3;
|
|
11558
11558
|
var e4 = t3[Symbol.toPrimitive];
|
|
11559
11559
|
if (void 0 !== e4) {
|
|
11560
|
-
var i2 = e4.call(t3, r2);
|
|
11560
|
+
var i2 = e4.call(t3, r2 || "default");
|
|
11561
11561
|
if ("object" != _typeof$b(i2)) return i2;
|
|
11562
11562
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
11563
11563
|
}
|
|
@@ -11608,7 +11608,7 @@ function _toPrimitive$9(t3, r2) {
|
|
|
11608
11608
|
if ("object" != _typeof$a(t3) || !t3) return t3;
|
|
11609
11609
|
var e4 = t3[Symbol.toPrimitive];
|
|
11610
11610
|
if (void 0 !== e4) {
|
|
11611
|
-
var i2 = e4.call(t3, r2);
|
|
11611
|
+
var i2 = e4.call(t3, r2 || "default");
|
|
11612
11612
|
if ("object" != _typeof$a(i2)) return i2;
|
|
11613
11613
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
11614
11614
|
}
|
|
@@ -11729,7 +11729,7 @@ function _toPrimitive$8(t3, r2) {
|
|
|
11729
11729
|
if ("object" != _typeof$9(t3) || !t3) return t3;
|
|
11730
11730
|
var e4 = t3[Symbol.toPrimitive];
|
|
11731
11731
|
if (void 0 !== e4) {
|
|
11732
|
-
var i2 = e4.call(t3, r2);
|
|
11732
|
+
var i2 = e4.call(t3, r2 || "default");
|
|
11733
11733
|
if ("object" != _typeof$9(i2)) return i2;
|
|
11734
11734
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
11735
11735
|
}
|
|
@@ -14903,7 +14903,7 @@ function _toPrimitive$1(t3, r2) {
|
|
|
14903
14903
|
if ("object" != _typeof$2(t3) || !t3) return t3;
|
|
14904
14904
|
var e4 = t3[Symbol.toPrimitive];
|
|
14905
14905
|
if (void 0 !== e4) {
|
|
14906
|
-
var i2 = e4.call(t3, r2);
|
|
14906
|
+
var i2 = e4.call(t3, r2 || "default");
|
|
14907
14907
|
if ("object" != _typeof$2(i2)) return i2;
|
|
14908
14908
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
14909
14909
|
}
|
|
@@ -15188,7 +15188,7 @@ function _toPrimitive(t3, r2) {
|
|
|
15188
15188
|
if ("object" != _typeof$1(t3) || !t3) return t3;
|
|
15189
15189
|
var e4 = t3[Symbol.toPrimitive];
|
|
15190
15190
|
if (void 0 !== e4) {
|
|
15191
|
-
var i2 = e4.call(t3, r2);
|
|
15191
|
+
var i2 = e4.call(t3, r2 || "default");
|
|
15192
15192
|
if ("object" != _typeof$1(i2)) return i2;
|
|
15193
15193
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
15194
15194
|
}
|
|
@@ -16299,18 +16299,18 @@ function getCountryCallingCode() {
|
|
|
16299
16299
|
}
|
|
16300
16300
|
var U$2 = 1, Y$3 = 0.9, H$2 = 0.8, J$2 = 0.17, p$3 = 0.1, u$3 = 0.999, $$2 = 0.9999;
|
|
16301
16301
|
var k$4 = 0.99, m$3 = /[\\\/_+.#"@\[\(\{&]/, B$2 = /[\\\/_+.#"@\[\(\{&]/g, K$3 = /[\s-]/, X$2 = /[\s-]/g;
|
|
16302
|
-
function G$3(_2, C2,
|
|
16302
|
+
function G$3(_2, C2, h6, P2, A2, f2, O3) {
|
|
16303
16303
|
if (f2 === C2.length) return A2 === _2.length ? U$2 : k$4;
|
|
16304
16304
|
var T3 = `${A2},${f2}`;
|
|
16305
16305
|
if (O3[T3] !== void 0) return O3[T3];
|
|
16306
|
-
for (var L3 = P2.charAt(f2), c3 =
|
|
16306
|
+
for (var L3 = P2.charAt(f2), c3 = h6.indexOf(L3, A2), S4 = 0, E3, N2, R3, M4; c3 >= 0; ) E3 = G$3(_2, C2, h6, P2, c3 + 1, f2 + 1, O3), E3 > S4 && (c3 === A2 ? E3 *= U$2 : m$3.test(_2.charAt(c3 - 1)) ? (E3 *= H$2, R3 = _2.slice(A2, c3 - 1).match(B$2), R3 && A2 > 0 && (E3 *= Math.pow(u$3, R3.length))) : K$3.test(_2.charAt(c3 - 1)) ? (E3 *= Y$3, M4 = _2.slice(A2, c3 - 1).match(X$2), M4 && A2 > 0 && (E3 *= Math.pow(u$3, M4.length))) : (E3 *= J$2, A2 > 0 && (E3 *= Math.pow(u$3, c3 - A2))), _2.charAt(c3) !== C2.charAt(f2) && (E3 *= $$2)), (E3 < p$3 && h6.charAt(c3 - 1) === P2.charAt(f2 + 1) || P2.charAt(f2 + 1) === P2.charAt(f2) && h6.charAt(c3 - 1) !== P2.charAt(f2)) && (N2 = G$3(_2, C2, h6, P2, c3 + 1, f2 + 2, O3), N2 * p$3 > E3 && (E3 = N2 * p$3)), E3 > S4 && (S4 = E3), c3 = h6.indexOf(L3, c3 + 1);
|
|
16307
16307
|
return O3[T3] = S4, S4;
|
|
16308
16308
|
}
|
|
16309
16309
|
function D$3(_2) {
|
|
16310
16310
|
return _2.toLowerCase().replace(X$2, " ");
|
|
16311
16311
|
}
|
|
16312
|
-
function W$2(_2, C2,
|
|
16313
|
-
return _2 =
|
|
16312
|
+
function W$2(_2, C2, h6) {
|
|
16313
|
+
return _2 = h6 && h6.length > 0 ? `${_2 + " " + h6.join(" ")}` : _2, G$3(_2, C2, D$3(_2), D$3(C2), 0, 0, {});
|
|
16314
16314
|
}
|
|
16315
16315
|
var Slot$2 = React.forwardRef((props2, forwardedRef) => {
|
|
16316
16316
|
const { children, ...slotProps } = props2;
|
|
@@ -16568,7 +16568,7 @@ if (process.env.NODE_ENV === "production") {
|
|
|
16568
16568
|
shim$1.exports = requireUseSyncExternalStoreShim_development$1();
|
|
16569
16569
|
}
|
|
16570
16570
|
var shimExports$1 = shim$1.exports;
|
|
16571
|
-
var N$2 = '[cmdk-group=""]', Q$2 = '[cmdk-group-items=""]', be$
|
|
16571
|
+
var N$2 = '[cmdk-group=""]', Q$2 = '[cmdk-group-items=""]', be$2 = '[cmdk-group-heading=""]', Z$2 = '[cmdk-item=""]', le$2 = `${Z$2}:not([aria-disabled="true"])`, Y$2 = "cmdk-item-select", I$2 = "data-value", he$2 = (r2, o2, t3) => W$2(r2, o2, t3), ue$2 = React.createContext(void 0), K$2 = () => React.useContext(ue$2), de$2 = React.createContext(void 0), ee$2 = () => React.useContext(de$2), fe$2 = React.createContext(void 0);
|
|
16572
16572
|
var me$2 = React.forwardRef((r2, o2) => {
|
|
16573
16573
|
let t3 = k$3(() => {
|
|
16574
16574
|
var e4, s4;
|
|
@@ -16577,12 +16577,12 @@ var me$2 = React.forwardRef((r2, o2) => {
|
|
|
16577
16577
|
M$2(() => {
|
|
16578
16578
|
if (l2 !== void 0) {
|
|
16579
16579
|
let e4 = l2.trim();
|
|
16580
|
-
t3.current.value = e4,
|
|
16580
|
+
t3.current.value = e4, h6.emit();
|
|
16581
16581
|
}
|
|
16582
16582
|
}, [l2]), M$2(() => {
|
|
16583
16583
|
R3(6, re2);
|
|
16584
16584
|
}, []);
|
|
16585
|
-
let
|
|
16585
|
+
let h6 = React.useMemo(() => ({ subscribe: (e4) => (f2.current.add(e4), () => f2.current.delete(e4)), snapshot: () => t3.current, setState: (e4, s4, i2) => {
|
|
16586
16586
|
var a4, m4, g2;
|
|
16587
16587
|
if (!Object.is(t3.current[e4], s4)) {
|
|
16588
16588
|
if (t3.current[e4] = s4, e4 === "search") W2(), U2(), R3(1, z3);
|
|
@@ -16591,22 +16591,22 @@ var me$2 = React.forwardRef((r2, o2) => {
|
|
|
16591
16591
|
(g2 = (m4 = p2.current).onValueChange) == null || g2.call(m4, S4);
|
|
16592
16592
|
return;
|
|
16593
16593
|
}
|
|
16594
|
-
|
|
16594
|
+
h6.emit();
|
|
16595
16595
|
}
|
|
16596
16596
|
}, emit: () => {
|
|
16597
16597
|
f2.current.forEach((e4) => e4());
|
|
16598
16598
|
} }), []), q3 = React.useMemo(() => ({ value: (e4, s4, i2) => {
|
|
16599
16599
|
var a4;
|
|
16600
16600
|
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, () => {
|
|
16601
|
-
U2(),
|
|
16601
|
+
U2(), h6.emit();
|
|
16602
16602
|
}));
|
|
16603
16603
|
}, 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, () => {
|
|
16604
|
-
W2(), U2(), t3.current.value || z3(),
|
|
16604
|
+
W2(), U2(), t3.current.value || z3(), h6.emit();
|
|
16605
16605
|
}), () => {
|
|
16606
16606
|
d4.current.delete(e4), u3.current.delete(e4), t3.current.filtered.items.delete(e4);
|
|
16607
16607
|
let i2 = A2();
|
|
16608
16608
|
R3(4, () => {
|
|
16609
|
-
W2(), (i2 == null ? void 0 : i2.getAttribute("id")) === e4 && z3(),
|
|
16609
|
+
W2(), (i2 == null ? void 0 : i2.getAttribute("id")) === e4 && z3(), h6.emit();
|
|
16610
16610
|
});
|
|
16611
16611
|
}), group: (e4) => (c3.current.has(e4) || c3.current.set(e4, /* @__PURE__ */ new Set()), () => {
|
|
16612
16612
|
d4.current.delete(e4), c3.current.delete(e4);
|
|
@@ -16642,7 +16642,7 @@ var me$2 = React.forwardRef((r2, o2) => {
|
|
|
16642
16642
|
}
|
|
16643
16643
|
function z3() {
|
|
16644
16644
|
let e4 = _2().find((i2) => i2.getAttribute("aria-disabled") !== "true"), s4 = e4 == null ? void 0 : e4.getAttribute(I$2);
|
|
16645
|
-
|
|
16645
|
+
h6.setState("value", s4 || void 0);
|
|
16646
16646
|
}
|
|
16647
16647
|
function W2() {
|
|
16648
16648
|
var s4, i2, a4, m4;
|
|
@@ -16665,7 +16665,7 @@ var me$2 = React.forwardRef((r2, o2) => {
|
|
|
16665
16665
|
function re2() {
|
|
16666
16666
|
var s4, i2, a4;
|
|
16667
16667
|
let e4 = A2();
|
|
16668
|
-
e4 && (((s4 = e4.parentElement) == null ? void 0 : s4.firstChild) === e4 && ((a4 = (i2 = e4.closest(N$2)) == null ? void 0 : i2.querySelector(be$
|
|
16668
|
+
e4 && (((s4 = e4.parentElement) == null ? void 0 : s4.firstChild) === e4 && ((a4 = (i2 = e4.closest(N$2)) == null ? void 0 : i2.querySelector(be$2)) == null || a4.scrollIntoView({ block: "nearest" })), e4.scrollIntoView({ block: "nearest" }));
|
|
16669
16669
|
}
|
|
16670
16670
|
function A2() {
|
|
16671
16671
|
var e4;
|
|
@@ -16677,17 +16677,17 @@ var me$2 = React.forwardRef((r2, o2) => {
|
|
|
16677
16677
|
}
|
|
16678
16678
|
function J2(e4) {
|
|
16679
16679
|
let i2 = _2()[e4];
|
|
16680
|
-
i2 &&
|
|
16680
|
+
i2 && h6.setState("value", i2.getAttribute(I$2));
|
|
16681
16681
|
}
|
|
16682
16682
|
function X3(e4) {
|
|
16683
16683
|
var g2;
|
|
16684
16684
|
let s4 = A2(), i2 = _2(), a4 = i2.findIndex((S4) => S4 === s4), m4 = i2[a4 + e4];
|
|
16685
|
-
(g2 = p2.current) != null && g2.loop && (m4 = a4 + e4 < 0 ? i2[i2.length - 1] : a4 + e4 === i2.length ? i2[0] : i2[a4 + e4]), m4 &&
|
|
16685
|
+
(g2 = p2.current) != null && g2.loop && (m4 = a4 + e4 < 0 ? i2[i2.length - 1] : a4 + e4 === i2.length ? i2[0] : i2[a4 + e4]), m4 && h6.setState("value", m4.getAttribute(I$2));
|
|
16686
16686
|
}
|
|
16687
16687
|
function oe2(e4) {
|
|
16688
16688
|
let s4 = A2(), i2 = s4 == null ? void 0 : s4.closest(N$2), a4;
|
|
16689
16689
|
for (; i2 && !a4; ) i2 = e4 > 0 ? Ie$2(i2, N$2) : Me$2(i2, N$2), a4 = i2 == null ? void 0 : i2.querySelector(le$2);
|
|
16690
|
-
a4 ?
|
|
16690
|
+
a4 ? h6.setState("value", a4.getAttribute(I$2)) : X3(e4);
|
|
16691
16691
|
}
|
|
16692
16692
|
let ie2 = () => J2(_2().length - 1), ae2 = (e4) => {
|
|
16693
16693
|
e4.preventDefault(), e4.metaKey ? ie2() : e4.altKey ? oe2(1) : X3(1);
|
|
@@ -16733,7 +16733,7 @@ var me$2 = React.forwardRef((r2, o2) => {
|
|
|
16733
16733
|
}
|
|
16734
16734
|
}
|
|
16735
16735
|
}
|
|
16736
|
-
} }, React.createElement("label", { "cmdk-label": "", htmlFor: q3.inputId, id: q3.labelId, style: Le$2 }, v2), j$3(r2, (e4) => React.createElement(de$2.Provider, { value:
|
|
16736
|
+
} }, React.createElement("label", { "cmdk-label": "", htmlFor: q3.inputId, id: q3.labelId, style: Le$2 }, v2), j$3(r2, (e4) => React.createElement(de$2.Provider, { value: h6 }, React.createElement(ue$2.Provider, { value: q3 }, e4))));
|
|
16737
16737
|
}), ye$2 = React.forwardRef((r2, o2) => {
|
|
16738
16738
|
var F2, x3;
|
|
16739
16739
|
let t3 = useId$6(), u3 = React.useRef(null), c3 = React.useContext(fe$2), d4 = K$2(), f2 = pe$2(r2), p2 = (x3 = (F2 = f2.current) == null ? void 0 : F2.forceMount) != null ? x3 : c3 == null ? void 0 : c3.forceMount;
|
|
@@ -16746,8 +16746,8 @@ var me$2 = React.forwardRef((r2, o2) => {
|
|
|
16746
16746
|
if (!(!R3 || r2.disabled)) return R3.addEventListener(Y$2, E3), () => R3.removeEventListener(Y$2, E3);
|
|
16747
16747
|
}, [y4, r2.onSelect, r2.disabled]);
|
|
16748
16748
|
function E3() {
|
|
16749
|
-
var R3,
|
|
16750
|
-
C2(), (
|
|
16749
|
+
var R3, h6;
|
|
16750
|
+
C2(), (h6 = (R3 = f2.current).onSelect) == null || h6.call(R3, v2.current);
|
|
16751
16751
|
}
|
|
16752
16752
|
function C2() {
|
|
16753
16753
|
b3.setState("value", v2.current, true);
|
|
@@ -27030,6 +27030,7 @@ const progress = /* @__NO_SIDE_EFFECTS__ */ (from2, to2, value) => {
|
|
|
27030
27030
|
const secondsToMilliseconds = /* @__NO_SIDE_EFFECTS__ */ (seconds) => seconds * 1e3;
|
|
27031
27031
|
const millisecondsToSeconds = /* @__NO_SIDE_EFFECTS__ */ (milliseconds) => milliseconds / 1e3;
|
|
27032
27032
|
const MotionGlobalConfig = {
|
|
27033
|
+
skipAnimations: false,
|
|
27033
27034
|
useManualTiming: false
|
|
27034
27035
|
};
|
|
27035
27036
|
const stepsOrder = [
|
|
@@ -27047,7 +27048,8 @@ const stepsOrder = [
|
|
|
27047
27048
|
// Compute
|
|
27048
27049
|
];
|
|
27049
27050
|
const statsBuffer = {
|
|
27050
|
-
value: null
|
|
27051
|
+
value: null,
|
|
27052
|
+
addProjectionMetrics: null
|
|
27051
27053
|
};
|
|
27052
27054
|
function createRenderStep(runNextFrame, stepName) {
|
|
27053
27055
|
let thisFrame = /* @__PURE__ */ new Set();
|
|
@@ -27376,7 +27378,7 @@ function useMotionRef(visualState, visualElement, externalRef) {
|
|
|
27376
27378
|
const camelToDash = (str) => str.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase();
|
|
27377
27379
|
const optimizedAppearDataId = "framerAppearId";
|
|
27378
27380
|
const optimizedAppearDataAttribute = "data-" + camelToDash(optimizedAppearDataId);
|
|
27379
|
-
const { schedule: microtask } = createRenderBatcher(queueMicrotask, false);
|
|
27381
|
+
const { schedule: microtask, cancel: cancelMicrotask } = createRenderBatcher(queueMicrotask, false);
|
|
27380
27382
|
const SwitchLayoutGroupContext = createContext({});
|
|
27381
27383
|
function useVisualElement(Component2, visualState, props2, createVisualElement, ProjectionNodeConstructor) {
|
|
27382
27384
|
var _a2, _b;
|
|
@@ -29771,7 +29773,7 @@ function findSpring({ duration = springDefaults.duration, bounce = springDefault
|
|
|
29771
29773
|
envelope = (undampedFreq2) => {
|
|
29772
29774
|
const a4 = Math.exp(-undampedFreq2 * duration);
|
|
29773
29775
|
const b3 = (undampedFreq2 - velocity) * duration + 1;
|
|
29774
|
-
return -
|
|
29776
|
+
return -safeMin + a4 * b3;
|
|
29775
29777
|
};
|
|
29776
29778
|
derivative = (undampedFreq2) => {
|
|
29777
29779
|
const a4 = Math.exp(-undampedFreq2 * duration);
|
|
@@ -32120,22 +32122,22 @@ const borders = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"];
|
|
|
32120
32122
|
const numBorders = borders.length;
|
|
32121
32123
|
const asNumber = (value) => typeof value === "string" ? parseFloat(value) : value;
|
|
32122
32124
|
const isPx = (value) => typeof value === "number" || px.test(value);
|
|
32123
|
-
function mixValues(target, follow,
|
|
32125
|
+
function mixValues(target, follow, lead2, progress2, shouldCrossfadeOpacity, isOnlyMember) {
|
|
32124
32126
|
if (shouldCrossfadeOpacity) {
|
|
32125
32127
|
target.opacity = mixNumber$1(
|
|
32126
32128
|
0,
|
|
32127
32129
|
// TODO Reinstate this if only child
|
|
32128
|
-
|
|
32130
|
+
lead2.opacity !== void 0 ? lead2.opacity : 1,
|
|
32129
32131
|
easeCrossfadeIn(progress2)
|
|
32130
32132
|
);
|
|
32131
32133
|
target.opacityExit = mixNumber$1(follow.opacity !== void 0 ? follow.opacity : 1, 0, easeCrossfadeOut(progress2));
|
|
32132
32134
|
} else if (isOnlyMember) {
|
|
32133
|
-
target.opacity = mixNumber$1(follow.opacity !== void 0 ? follow.opacity : 1,
|
|
32135
|
+
target.opacity = mixNumber$1(follow.opacity !== void 0 ? follow.opacity : 1, lead2.opacity !== void 0 ? lead2.opacity : 1, progress2);
|
|
32134
32136
|
}
|
|
32135
32137
|
for (let i2 = 0; i2 < numBorders; i2++) {
|
|
32136
32138
|
const borderLabel = `border${borders[i2]}Radius`;
|
|
32137
32139
|
let followRadius = getRadius(follow, borderLabel);
|
|
32138
|
-
let leadRadius = getRadius(
|
|
32140
|
+
let leadRadius = getRadius(lead2, borderLabel);
|
|
32139
32141
|
if (followRadius === void 0 && leadRadius === void 0)
|
|
32140
32142
|
continue;
|
|
32141
32143
|
followRadius || (followRadius = 0);
|
|
@@ -32150,8 +32152,8 @@ function mixValues(target, follow, lead, progress2, shouldCrossfadeOpacity, isOn
|
|
|
32150
32152
|
target[borderLabel] = leadRadius;
|
|
32151
32153
|
}
|
|
32152
32154
|
}
|
|
32153
|
-
if (follow.rotate ||
|
|
32154
|
-
target.rotate = mixNumber$1(follow.rotate || 0,
|
|
32155
|
+
if (follow.rotate || lead2.rotate) {
|
|
32156
|
+
target.rotate = mixNumber$1(follow.rotate || 0, lead2.rotate || 0, progress2);
|
|
32155
32157
|
}
|
|
32156
32158
|
}
|
|
32157
32159
|
function getRadius(values, radiusName) {
|
|
@@ -32829,11 +32831,11 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
32829
32831
|
}
|
|
32830
32832
|
resolveTargetDelta(forceRecalculation = false) {
|
|
32831
32833
|
var _a2;
|
|
32832
|
-
const
|
|
32833
|
-
this.isProjectionDirty || (this.isProjectionDirty =
|
|
32834
|
-
this.isTransformDirty || (this.isTransformDirty =
|
|
32835
|
-
this.isSharedProjectionDirty || (this.isSharedProjectionDirty =
|
|
32836
|
-
const isShared = Boolean(this.resumingFrom) || this !==
|
|
32834
|
+
const lead2 = this.getLead();
|
|
32835
|
+
this.isProjectionDirty || (this.isProjectionDirty = lead2.isProjectionDirty);
|
|
32836
|
+
this.isTransformDirty || (this.isTransformDirty = lead2.isTransformDirty);
|
|
32837
|
+
this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead2.isSharedProjectionDirty);
|
|
32838
|
+
const isShared = Boolean(this.resumingFrom) || this !== lead2;
|
|
32837
32839
|
const canSkip = !(forceRecalculation || isShared && this.isSharedProjectionDirty || this.isProjectionDirty || ((_a2 = this.parent) === null || _a2 === void 0 ? void 0 : _a2.isProjectionDirty) || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize);
|
|
32838
32840
|
if (canSkip)
|
|
32839
32841
|
return;
|
|
@@ -32903,8 +32905,8 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
32903
32905
|
}
|
|
32904
32906
|
calcProjection() {
|
|
32905
32907
|
var _a2;
|
|
32906
|
-
const
|
|
32907
|
-
const isShared = Boolean(this.resumingFrom) || this !==
|
|
32908
|
+
const lead2 = this.getLead();
|
|
32909
|
+
const isShared = Boolean(this.resumingFrom) || this !== lead2;
|
|
32908
32910
|
let canSkip = true;
|
|
32909
32911
|
if (this.isProjectionDirty || ((_a2 = this.parent) === null || _a2 === void 0 ? void 0 : _a2.isProjectionDirty)) {
|
|
32910
32912
|
canSkip = false;
|
|
@@ -32928,11 +32930,11 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
32928
32930
|
const prevTreeScaleX = this.treeScale.x;
|
|
32929
32931
|
const prevTreeScaleY = this.treeScale.y;
|
|
32930
32932
|
applyTreeDeltas(this.layoutCorrected, this.treeScale, this.path, isShared);
|
|
32931
|
-
if (
|
|
32932
|
-
|
|
32933
|
-
|
|
32933
|
+
if (lead2.layout && !lead2.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1)) {
|
|
32934
|
+
lead2.target = lead2.layout.layoutBox;
|
|
32935
|
+
lead2.targetWithTransforms = createBox();
|
|
32934
32936
|
}
|
|
32935
|
-
const { target } =
|
|
32937
|
+
const { target } = lead2;
|
|
32936
32938
|
if (!target) {
|
|
32937
32939
|
if (this.prevProjectionDelta) {
|
|
32938
32940
|
this.createProjectionDeltas();
|
|
@@ -33067,17 +33069,17 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
33067
33069
|
this.completeAnimation();
|
|
33068
33070
|
}
|
|
33069
33071
|
applyTransformsToTarget() {
|
|
33070
|
-
const
|
|
33071
|
-
let { targetWithTransforms, target, layout: layout2, latestValues } =
|
|
33072
|
+
const lead2 = this.getLead();
|
|
33073
|
+
let { targetWithTransforms, target, layout: layout2, latestValues } = lead2;
|
|
33072
33074
|
if (!targetWithTransforms || !target || !layout2)
|
|
33073
33075
|
return;
|
|
33074
|
-
if (this !==
|
|
33076
|
+
if (this !== lead2 && this.layout && layout2 && shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout2.layoutBox)) {
|
|
33075
33077
|
target = this.target || createBox();
|
|
33076
33078
|
const xLength = calcLength(this.layout.layoutBox.x);
|
|
33077
|
-
target.x.min =
|
|
33079
|
+
target.x.min = lead2.target.x.min;
|
|
33078
33080
|
target.x.max = target.x.min + xLength;
|
|
33079
33081
|
const yLength = calcLength(this.layout.layoutBox.y);
|
|
33080
|
-
target.y.min =
|
|
33082
|
+
target.y.min = lead2.target.y.min;
|
|
33081
33083
|
target.y.max = target.y.min + yLength;
|
|
33082
33084
|
}
|
|
33083
33085
|
copyBoxInto(targetWithTransforms, target);
|
|
@@ -33180,8 +33182,8 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
33180
33182
|
styles2.transform = transformTemplate ? transformTemplate(this.latestValues, "") : "none";
|
|
33181
33183
|
return styles2;
|
|
33182
33184
|
}
|
|
33183
|
-
const
|
|
33184
|
-
if (!this.projectionDelta || !this.layout || !
|
|
33185
|
+
const lead2 = this.getLead();
|
|
33186
|
+
if (!this.projectionDelta || !this.layout || !lead2.target) {
|
|
33185
33187
|
const emptyStyles = {};
|
|
33186
33188
|
if (this.options.layoutId) {
|
|
33187
33189
|
emptyStyles.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1;
|
|
@@ -33193,7 +33195,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
33193
33195
|
}
|
|
33194
33196
|
return emptyStyles;
|
|
33195
33197
|
}
|
|
33196
|
-
const valuesToRender =
|
|
33198
|
+
const valuesToRender = lead2.animationValues || lead2.latestValues;
|
|
33197
33199
|
this.applyTransformsToTarget();
|
|
33198
33200
|
styles2.transform = buildProjectionTransform(this.projectionDeltaWithTransform, this.treeScale, valuesToRender);
|
|
33199
33201
|
if (transformTemplate) {
|
|
@@ -33201,16 +33203,16 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
33201
33203
|
}
|
|
33202
33204
|
const { x: x3, y: y4 } = this.projectionDelta;
|
|
33203
33205
|
styles2.transformOrigin = `${x3.origin * 100}% ${y4.origin * 100}% 0`;
|
|
33204
|
-
if (
|
|
33205
|
-
styles2.opacity =
|
|
33206
|
+
if (lead2.animationValues) {
|
|
33207
|
+
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;
|
|
33206
33208
|
} else {
|
|
33207
|
-
styles2.opacity =
|
|
33209
|
+
styles2.opacity = lead2 === this ? valuesToRender.opacity !== void 0 ? valuesToRender.opacity : "" : valuesToRender.opacityExit !== void 0 ? valuesToRender.opacityExit : 0;
|
|
33208
33210
|
}
|
|
33209
33211
|
for (const key in scaleCorrectors) {
|
|
33210
33212
|
if (valuesToRender[key] === void 0)
|
|
33211
33213
|
continue;
|
|
33212
33214
|
const { correct, applyTo, isCSSVariable } = scaleCorrectors[key];
|
|
33213
|
-
const corrected = styles2.transform === "none" ? valuesToRender[key] : correct(valuesToRender[key],
|
|
33215
|
+
const corrected = styles2.transform === "none" ? valuesToRender[key] : correct(valuesToRender[key], lead2);
|
|
33214
33216
|
if (applyTo) {
|
|
33215
33217
|
const num = applyTo.length;
|
|
33216
33218
|
for (let i2 = 0; i2 < num; i2++) {
|
|
@@ -33225,7 +33227,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
33225
33227
|
}
|
|
33226
33228
|
}
|
|
33227
33229
|
if (this.options.layoutId) {
|
|
33228
|
-
styles2.pointerEvents =
|
|
33230
|
+
styles2.pointerEvents = lead2 === this ? resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "" : "none";
|
|
33229
33231
|
}
|
|
33230
33232
|
return styles2;
|
|
33231
33233
|
}
|
|
@@ -35688,11 +35690,11 @@ const isDirty = (x3) => x3.status === "dirty";
|
|
|
35688
35690
|
const isValid$2 = (x3) => x3.status === "valid";
|
|
35689
35691
|
const isAsync = (x3) => typeof Promise !== "undefined" && x3 instanceof Promise;
|
|
35690
35692
|
function __classPrivateFieldGet(receiver, state, kind, f2) {
|
|
35691
|
-
if (typeof state === "function" ? receiver !== state ||
|
|
35693
|
+
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");
|
|
35692
35694
|
return state.get(receiver);
|
|
35693
35695
|
}
|
|
35694
35696
|
function __classPrivateFieldSet(receiver, state, value, kind, f2) {
|
|
35695
|
-
if (typeof state === "function" ? receiver !== state ||
|
|
35697
|
+
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");
|
|
35696
35698
|
return state.set(receiver, value), value;
|
|
35697
35699
|
}
|
|
35698
35700
|
typeof SuppressedError === "function" ? SuppressedError : function(error2, suppressed, message2) {
|
|
@@ -39423,8 +39425,15 @@ const ENGAGE_STRINGS = {
|
|
|
39423
39425
|
BUSINESS_ONBOARDING_TITLE: "Business Settings",
|
|
39424
39426
|
EMAIL_ONBOARDING_TITLE: "Email Channel Settings",
|
|
39425
39427
|
SMS_ONBOARDING_TITLE: "Connect Your SMS",
|
|
39428
|
+
MERGE_FIELDS_ONBOARDING_TITLE: "Merge Fields Setup",
|
|
39429
|
+
// Form sections
|
|
39430
|
+
COMPANY_INFORMATION: "Company Information",
|
|
39431
|
+
CONTACT_INFORMATION: "Contact Information",
|
|
39426
39432
|
// Form fields
|
|
39427
39433
|
BUSINESS_NAME: "DBA legal name",
|
|
39434
|
+
BUSINESS_WEBSITE: "Business Website",
|
|
39435
|
+
STREET_ADDRESS: "Street Address",
|
|
39436
|
+
STREET_ADDRESS_PLACEHOLDER: "Street address",
|
|
39428
39437
|
ZIP_CODE: "ZIP Code",
|
|
39429
39438
|
ZIP_CODE_PLACEHOLDER: "ZIP code",
|
|
39430
39439
|
SELECT_COUNTRY_PLACEHOLDER: "Select country",
|
|
@@ -39434,6 +39443,20 @@ const ENGAGE_STRINGS = {
|
|
|
39434
39443
|
LAST_NAME_PLACEHOLDER: "Last name",
|
|
39435
39444
|
EMAIL_ADDRESS_PLACEHOLDER: "Email address",
|
|
39436
39445
|
CONTACT_PHONE: "Contact Phone",
|
|
39446
|
+
BRAND_TAGLINE_PLACEHOLDER: "Your brand's tagline",
|
|
39447
|
+
BRAND_LOGO_ALT: "Brand logo preview",
|
|
39448
|
+
// Brand form fields
|
|
39449
|
+
BRAND_NAME_PLACEHOLDER: "Enter your brand name",
|
|
39450
|
+
BRAND_TONE_PLACEHOLDER: "Friendly, professional, casual...",
|
|
39451
|
+
BRAND_PERSONALITY_PLACEHOLDER: "Warm, caring, confident...",
|
|
39452
|
+
BRAND_VALUE_PLACEHOLDER: "Add a brand value",
|
|
39453
|
+
PRIMARY_COLOR_PLACEHOLDER: "hsl(var(--primary))",
|
|
39454
|
+
FOREGROUND_COLOR_PLACEHOLDER: "hsl(var(--foreground))",
|
|
39455
|
+
// Merge Fields form fields
|
|
39456
|
+
MERGE_FIELD_NAME_PLACEHOLDER: "Enter merge field name",
|
|
39457
|
+
MERGE_FIELD_DESCRIPTION_PLACEHOLDER: "Enter merge field description",
|
|
39458
|
+
MERGE_FIELD_TYPE_PLACEHOLDER: "Select field type",
|
|
39459
|
+
MERGE_FIELD_DEFAULT_VALUE_PLACEHOLDER: "Enter default value",
|
|
39437
39460
|
// Actions
|
|
39438
39461
|
AUTO_PARSE: "Auto Parse",
|
|
39439
39462
|
COMPLETION_TITLE: "Completion"
|
|
@@ -42835,6 +42858,7 @@ const secondary = "reach-styles-module__secondary___VQ4iH";
|
|
|
42835
42858
|
const destructive = "reach-styles-module__destructive___RLaRD";
|
|
42836
42859
|
const outline = "reach-styles-module__outline___L2VtW";
|
|
42837
42860
|
const google = "reach-styles-module__google___HcEij";
|
|
42861
|
+
const dark = "reach-styles-module__dark___729i-";
|
|
42838
42862
|
const date$2 = "reach-styles-module__date___-6BC4";
|
|
42839
42863
|
const sizeDefault$1 = "reach-styles-module__sizeDefault___iGTp4";
|
|
42840
42864
|
const sizeSm$1 = "reach-styles-module__sizeSm___6T2oK";
|
|
@@ -42857,6 +42881,7 @@ const segmentAllUsers = "reach-styles-module__segmentAllUsers___1aXpc";
|
|
|
42857
42881
|
const segmentManaged = "reach-styles-module__segmentManaged___o0gOu";
|
|
42858
42882
|
const segmentCustom = "reach-styles-module__segmentCustom___xc3lG";
|
|
42859
42883
|
const beta = "reach-styles-module__beta___n9qPf";
|
|
42884
|
+
const pulse = "reach-styles-module__pulse___0hJq4";
|
|
42860
42885
|
const styles$8 = {
|
|
42861
42886
|
base: base$2,
|
|
42862
42887
|
"default": "reach-styles-module__default___zeGU1",
|
|
@@ -42864,6 +42889,7 @@ const styles$8 = {
|
|
|
42864
42889
|
destructive,
|
|
42865
42890
|
outline,
|
|
42866
42891
|
google,
|
|
42892
|
+
dark,
|
|
42867
42893
|
date: date$2,
|
|
42868
42894
|
sizeDefault: sizeDefault$1,
|
|
42869
42895
|
sizeSm: sizeSm$1,
|
|
@@ -42885,7 +42911,8 @@ const styles$8 = {
|
|
|
42885
42911
|
segmentAllUsers,
|
|
42886
42912
|
segmentManaged,
|
|
42887
42913
|
segmentCustom,
|
|
42888
|
-
beta
|
|
42914
|
+
beta,
|
|
42915
|
+
pulse
|
|
42889
42916
|
};
|
|
42890
42917
|
const badgeVariants = cva([styles$8.base], {
|
|
42891
42918
|
variants: {
|
|
@@ -44841,6 +44868,8 @@ const lightFormatters = {
|
|
|
44841
44868
|
}
|
|
44842
44869
|
};
|
|
44843
44870
|
const dayPeriodEnum$1 = {
|
|
44871
|
+
am: "am",
|
|
44872
|
+
pm: "pm",
|
|
44844
44873
|
midnight: "midnight",
|
|
44845
44874
|
noon: "noon",
|
|
44846
44875
|
morning: "morning",
|
|
@@ -50974,6 +51003,8 @@ var formatters$2 = {
|
|
|
50974
51003
|
}
|
|
50975
51004
|
};
|
|
50976
51005
|
var dayPeriodEnum = {
|
|
51006
|
+
am: "am",
|
|
51007
|
+
pm: "pm",
|
|
50977
51008
|
midnight: "midnight",
|
|
50978
51009
|
noon: "noon",
|
|
50979
51010
|
morning: "morning",
|
|
@@ -54418,7 +54449,8 @@ const api = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
54418
54449
|
updateCommunicationGroup
|
|
54419
54450
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
54420
54451
|
const communicationGroupQueryKeys = {
|
|
54421
|
-
all: ["communication-group"]
|
|
54452
|
+
all: ["communication-group"],
|
|
54453
|
+
reputation: ["communication-group", "reputation"]
|
|
54422
54454
|
};
|
|
54423
54455
|
const useGetCommunicationGroup = (communicationGroupId) => {
|
|
54424
54456
|
const query = useQuery({
|
|
@@ -54957,18 +54989,11 @@ const twilioTollFreeNumberApplicationDataSchema = z$2.object({
|
|
|
54957
54989
|
})
|
|
54958
54990
|
}),
|
|
54959
54991
|
messagingUseCase: z$2.object({
|
|
54960
|
-
monthlyVolume: z$2.coerce.number().int().positive(),
|
|
54961
|
-
category: z$2.nativeEnum(SmsUseCaseCategory),
|
|
54962
|
-
useCaseDetails: z$2.string().
|
|
54963
|
-
(details) => {
|
|
54964
|
-
return details !== void 0 || details !== "";
|
|
54965
|
-
},
|
|
54966
|
-
{
|
|
54967
|
-
message: "Use case details are required when category is 'Other'"
|
|
54968
|
-
}
|
|
54969
|
-
)
|
|
54992
|
+
monthlyVolume: z$2.coerce.number().int().positive().optional(),
|
|
54993
|
+
category: z$2.nativeEnum(SmsUseCaseCategory).optional(),
|
|
54994
|
+
useCaseDetails: z$2.string().optional()
|
|
54970
54995
|
}),
|
|
54971
|
-
messageSamples: z$2.array(z$2.string().min(10).max(400)).
|
|
54996
|
+
messageSamples: z$2.array(z$2.string().min(10).max(400)).optional().describe("Enter an example message of an SMS message body that will be sent to your end users"),
|
|
54972
54997
|
doingBusinessAs: z$2.string().optional(),
|
|
54973
54998
|
optInConfirmationMessage: z$2.string().optional(),
|
|
54974
54999
|
helpMessageSample: z$2.string().optional(),
|
|
@@ -55010,7 +55035,6 @@ const getSmsChannelSenders = (args) => {
|
|
|
55010
55035
|
const SMSSetupBusinessFormSchema = smsRegistrationApplicationDataSchema;
|
|
55011
55036
|
const SMSSetupBusinessForm = forwardRef(
|
|
55012
55037
|
({ isSubmitting, onSubmit, hideSubmitButton = false }, ref) => {
|
|
55013
|
-
const { data: business } = useBusiness();
|
|
55014
55038
|
const form = useForm({
|
|
55015
55039
|
resolver: t$3(SMSSetupBusinessFormSchema),
|
|
55016
55040
|
defaultValues: {
|
|
@@ -55035,61 +55059,19 @@ const SMSSetupBusinessForm = forwardRef(
|
|
|
55035
55059
|
email: "",
|
|
55036
55060
|
phoneNumber: ""
|
|
55037
55061
|
},
|
|
55038
|
-
messagingUseCase: {
|
|
55039
|
-
monthlyVolume: 100,
|
|
55040
|
-
category: SmsUseCaseCategory.PROMOTIONS_MARKETING,
|
|
55041
|
-
useCaseDetails: ""
|
|
55042
|
-
},
|
|
55043
|
-
messageSamples: [""]
|
|
55062
|
+
messagingUseCase: {}
|
|
55044
55063
|
},
|
|
55045
55064
|
values: void 0
|
|
55046
55065
|
});
|
|
55047
|
-
const messageSamples = form.watch("messageSamples");
|
|
55048
55066
|
const watchedBusinessType = form.watch("company.businessType");
|
|
55049
55067
|
const isSoleProprietor = watchedBusinessType === "SOLE_PROPRIETOR";
|
|
55050
|
-
const { setValue } = form;
|
|
55051
|
-
useEffect(() => {
|
|
55052
|
-
if (!business?.name) return;
|
|
55053
|
-
const currentDetails = form.getValues("messagingUseCase.useCaseDetails");
|
|
55054
|
-
if (!currentDetails) {
|
|
55055
|
-
setValue(
|
|
55056
|
-
"messagingUseCase.useCaseDetails",
|
|
55057
|
-
`This number is used to send out promotional offers and coupons to the customers of ${business.name}`
|
|
55058
|
-
);
|
|
55059
|
-
}
|
|
55060
|
-
const currentSample = form.getValues("messageSamples.0");
|
|
55061
|
-
if (!currentSample) {
|
|
55062
|
-
setValue(
|
|
55063
|
-
"messageSamples.0",
|
|
55064
|
-
`Stop in at ${business.name} tomorrow for a free Coffee! Reply UNSUBSCRIBE to opt out.`
|
|
55065
|
-
);
|
|
55066
|
-
}
|
|
55067
|
-
}, [business?.name, setValue, form]);
|
|
55068
55068
|
useImperativeHandle(ref, () => ({
|
|
55069
55069
|
submit: () => {
|
|
55070
55070
|
form.handleSubmit(handleSubmit)();
|
|
55071
55071
|
}
|
|
55072
55072
|
}));
|
|
55073
|
-
const addMessageSample = () => {
|
|
55074
|
-
if (messageSamples.length < 3) {
|
|
55075
|
-
form.setValue("messageSamples", [...messageSamples, ""]);
|
|
55076
|
-
}
|
|
55077
|
-
};
|
|
55078
|
-
const removeMessageSample = (index2) => {
|
|
55079
|
-
if (messageSamples.length > 1) {
|
|
55080
|
-
const newSamples = messageSamples.filter((_2, i2) => i2 !== index2);
|
|
55081
|
-
form.setValue("messageSamples", newSamples);
|
|
55082
|
-
}
|
|
55083
|
-
};
|
|
55084
55073
|
const handleSubmit = async (formData) => {
|
|
55085
|
-
|
|
55086
|
-
...formData,
|
|
55087
|
-
messagingUseCase: {
|
|
55088
|
-
...formData.messagingUseCase,
|
|
55089
|
-
monthlyVolume: Number(formData.messagingUseCase.monthlyVolume)
|
|
55090
|
-
}
|
|
55091
|
-
};
|
|
55092
|
-
await onSubmit(data);
|
|
55074
|
+
await onSubmit(formData);
|
|
55093
55075
|
};
|
|
55094
55076
|
return /* @__PURE__ */ jsx("div", { className: "w-full max-w-4xl text-left", children: /* @__PURE__ */ jsx(Form$1, { ...form, children: /* @__PURE__ */ jsxs(
|
|
55095
55077
|
"form",
|
|
@@ -55180,119 +55162,6 @@ const SMSSetupBusinessForm = forwardRef(
|
|
|
55180
55162
|
children: /* @__PURE__ */ jsx(ContactInfoFields, { control: form.control, disabled: isSubmitting })
|
|
55181
55163
|
}
|
|
55182
55164
|
),
|
|
55183
|
-
/* @__PURE__ */ jsxs(
|
|
55184
|
-
FormSection,
|
|
55185
|
-
{
|
|
55186
|
-
title: "Messaging Use Case",
|
|
55187
|
-
description: "Tell us about how you plan to use SMS messaging.",
|
|
55188
|
-
children: [
|
|
55189
|
-
/* @__PURE__ */ jsx(
|
|
55190
|
-
SelectField,
|
|
55191
|
-
{
|
|
55192
|
-
control: form.control,
|
|
55193
|
-
name: "messagingUseCase.monthlyVolume",
|
|
55194
|
-
label: "Expected Monthly Volume",
|
|
55195
|
-
placeholder: "Select volume",
|
|
55196
|
-
options: [
|
|
55197
|
-
{ value: "10", label: "10" },
|
|
55198
|
-
{ value: "100", label: "100" },
|
|
55199
|
-
{ value: "1000", label: "1,000" },
|
|
55200
|
-
{ value: "10000", label: "10,000" },
|
|
55201
|
-
{ value: "100000", label: "100,000" },
|
|
55202
|
-
{ value: "250000", label: "250,000" },
|
|
55203
|
-
{ value: "500000", label: "500,000" },
|
|
55204
|
-
{ value: "750000", label: "750,000" },
|
|
55205
|
-
{ value: "1000000", label: "1,000,000" },
|
|
55206
|
-
{ value: "5000000", label: "5,000,000" },
|
|
55207
|
-
{ value: "10000000", label: "10,000,000+" }
|
|
55208
|
-
],
|
|
55209
|
-
disabled: isSubmitting
|
|
55210
|
-
}
|
|
55211
|
-
),
|
|
55212
|
-
/* @__PURE__ */ jsx(
|
|
55213
|
-
TextField,
|
|
55214
|
-
{
|
|
55215
|
-
control: form.control,
|
|
55216
|
-
name: "messagingUseCase.useCaseDetails",
|
|
55217
|
-
label: "Use Case Details",
|
|
55218
|
-
placeholder: "Describe your use case in detail",
|
|
55219
|
-
toolTipComponent: /* @__PURE__ */ jsx(
|
|
55220
|
-
InfoTooltip,
|
|
55221
|
-
{
|
|
55222
|
-
title: "What does this summary look like?",
|
|
55223
|
-
description: `This is the summary of how the phone number will be used. For example: "This number is used to send out promotional offers and coupons to the customers of ${business?.name || "my company"}"`
|
|
55224
|
-
}
|
|
55225
|
-
),
|
|
55226
|
-
disabled: isSubmitting
|
|
55227
|
-
}
|
|
55228
|
-
)
|
|
55229
|
-
]
|
|
55230
|
-
}
|
|
55231
|
-
),
|
|
55232
|
-
/* @__PURE__ */ jsxs(
|
|
55233
|
-
FormSection,
|
|
55234
|
-
{
|
|
55235
|
-
title: "Message Samples",
|
|
55236
|
-
description: "Provide examples of messages you plan to send (up to 3 samples).",
|
|
55237
|
-
children: [
|
|
55238
|
-
/* @__PURE__ */ jsx(AnimatePresence, { children: messageSamples.map((sample, index2) => /* @__PURE__ */ jsxs(
|
|
55239
|
-
motion.div,
|
|
55240
|
-
{
|
|
55241
|
-
initial: { opacity: 0, y: 20 },
|
|
55242
|
-
animate: { opacity: 1, y: 0 },
|
|
55243
|
-
exit: { opacity: 0, y: -20 },
|
|
55244
|
-
transition: { duration: 0.2 },
|
|
55245
|
-
className: "relative",
|
|
55246
|
-
children: [
|
|
55247
|
-
/* @__PURE__ */ jsx(
|
|
55248
|
-
TextField,
|
|
55249
|
-
{
|
|
55250
|
-
control: form.control,
|
|
55251
|
-
name: `messageSamples.${index2}`,
|
|
55252
|
-
label: `Sample Message ${index2 + 1}`,
|
|
55253
|
-
placeholder: "Enter a sample message",
|
|
55254
|
-
toolTipComponent: /* @__PURE__ */ jsx(
|
|
55255
|
-
InfoTooltip,
|
|
55256
|
-
{
|
|
55257
|
-
title: "Sample Message",
|
|
55258
|
-
description: `This is an example message that the shop would send. Don't forget to append the Unsubscribe message to the end. For example: "Stop in at ${business?.name || "my company"} tomorrow for a free Coffee! Reply UNSUBSCRIBE to opt out."`
|
|
55259
|
-
}
|
|
55260
|
-
),
|
|
55261
|
-
disabled: isSubmitting
|
|
55262
|
-
}
|
|
55263
|
-
),
|
|
55264
|
-
messageSamples.length > 1 && /* @__PURE__ */ jsx(
|
|
55265
|
-
motion.button,
|
|
55266
|
-
{
|
|
55267
|
-
type: "button",
|
|
55268
|
-
onClick: () => removeMessageSample(index2),
|
|
55269
|
-
className: "absolute -right-2 -top-2 rounded-full bg-destructive/10 p-1 text-destructive hover:bg-destructive/20",
|
|
55270
|
-
whileHover: { scale: 1.1 },
|
|
55271
|
-
whileTap: { scale: 0.9 },
|
|
55272
|
-
children: /* @__PURE__ */ jsx(IconDefinitions.CloseButton, { className: "h-4 w-4" })
|
|
55273
|
-
}
|
|
55274
|
-
)
|
|
55275
|
-
]
|
|
55276
|
-
},
|
|
55277
|
-
index2
|
|
55278
|
-
)) }),
|
|
55279
|
-
messageSamples.length < 3 && /* @__PURE__ */ jsxs(
|
|
55280
|
-
motion.button,
|
|
55281
|
-
{
|
|
55282
|
-
type: "button",
|
|
55283
|
-
onClick: addMessageSample,
|
|
55284
|
-
className: "mt-4 flex items-center gap-2 rounded-lg border border-dashed border-border px-4 py-2 text-sm text-muted-foreground hover:border-border/80 hover:text-foreground",
|
|
55285
|
-
whileHover: { scale: 1.02 },
|
|
55286
|
-
whileTap: { scale: 0.98 },
|
|
55287
|
-
children: [
|
|
55288
|
-
/* @__PURE__ */ jsx(IconDefinitions.PlusIcon, { className: "h-4 w-4" }),
|
|
55289
|
-
"Add another sample"
|
|
55290
|
-
]
|
|
55291
|
-
}
|
|
55292
|
-
)
|
|
55293
|
-
]
|
|
55294
|
-
}
|
|
55295
|
-
),
|
|
55296
55165
|
!hideSubmitButton && /* @__PURE__ */ jsx("div", { className: "flex gap-3 pt-4 justify-end", children: /* @__PURE__ */ jsx(Button$1, { type: "submit", disabled: isSubmitting, children: isSubmitting ? "Submitting..." : "Submit for approval" }) })
|
|
55297
55166
|
]
|
|
55298
55167
|
}
|
|
@@ -55893,6 +55762,18 @@ const minusIconInactive = "reach-styles-module__minusIconInactive___JtvVB";
|
|
|
55893
55762
|
const label = "reach-styles-module__label___tiCMA";
|
|
55894
55763
|
const labelActive = "reach-styles-module__labelActive___EXydD";
|
|
55895
55764
|
const labelInactive = "reach-styles-module__labelInactive___g-J3r";
|
|
55765
|
+
const navigationContainer = "reach-styles-module__navigationContainer___1T1JL";
|
|
55766
|
+
const navigationButton = "reach-styles-module__navigationButton___9LW7I";
|
|
55767
|
+
const sidebarContainer = "reach-styles-module__sidebarContainer___Yqwnv";
|
|
55768
|
+
const sidebarNav = "reach-styles-module__sidebarNav___vGCaT";
|
|
55769
|
+
const sidebarContent = "reach-styles-module__sidebarContent___55H34";
|
|
55770
|
+
const stepItem = "reach-styles-module__stepItem___c497m";
|
|
55771
|
+
const stepItemActive = "reach-styles-module__stepItemActive___zQkts";
|
|
55772
|
+
const stepItemCompleted = "reach-styles-module__stepItemCompleted___TiD-u";
|
|
55773
|
+
const stepItemUpcoming = "reach-styles-module__stepItemUpcoming___Qu-vA";
|
|
55774
|
+
const contentContainer = "reach-styles-module__contentContainer___g6SCE";
|
|
55775
|
+
const contentArea = "reach-styles-module__contentArea___gczmB";
|
|
55776
|
+
const poweredByReachContainer = "reach-styles-module__poweredByReachContainer___GCwod";
|
|
55896
55777
|
const styles$7 = {
|
|
55897
55778
|
stepIndicatorContainer,
|
|
55898
55779
|
iconContainer,
|
|
@@ -55902,7 +55783,19 @@ const styles$7 = {
|
|
|
55902
55783
|
minusIconInactive,
|
|
55903
55784
|
label,
|
|
55904
55785
|
labelActive,
|
|
55905
|
-
labelInactive
|
|
55786
|
+
labelInactive,
|
|
55787
|
+
navigationContainer,
|
|
55788
|
+
navigationButton,
|
|
55789
|
+
sidebarContainer,
|
|
55790
|
+
sidebarNav,
|
|
55791
|
+
sidebarContent,
|
|
55792
|
+
stepItem,
|
|
55793
|
+
stepItemActive,
|
|
55794
|
+
stepItemCompleted,
|
|
55795
|
+
stepItemUpcoming,
|
|
55796
|
+
contentContainer,
|
|
55797
|
+
contentArea,
|
|
55798
|
+
poweredByReachContainer
|
|
55906
55799
|
};
|
|
55907
55800
|
const StepIndicator = ({ label: label2, isCompleted, isActive: isActive2, onClick, hideIcon, id: id2 }) => {
|
|
55908
55801
|
const Container = onClick ? "button" : "div";
|
|
@@ -56942,14 +56835,28 @@ const SMSInterstitialStep = () => {
|
|
|
56942
56835
|
] })
|
|
56943
56836
|
] });
|
|
56944
56837
|
};
|
|
56838
|
+
const h1 = "reach-styles-module__h1___upBY0";
|
|
56945
56839
|
const h22 = "reach-styles-module__h2___J-48W";
|
|
56946
56840
|
const h3 = "reach-styles-module__h3___QiFj-";
|
|
56841
|
+
const h4 = "reach-styles-module__h4___LLom4";
|
|
56947
56842
|
const paragraph = "reach-styles-module__paragraph___duktL";
|
|
56843
|
+
const blockquote = "reach-styles-module__blockquote___xPu0i";
|
|
56844
|
+
const inlineCode = "reach-styles-module__inlineCode___giBjH";
|
|
56845
|
+
const lead = "reach-styles-module__lead___PfoUz";
|
|
56846
|
+
const large = "reach-styles-module__large___SO9ZD";
|
|
56847
|
+
const muted = "reach-styles-module__muted___x0iIr";
|
|
56948
56848
|
const minorText = "reach-styles-module__minorText___1TEN6";
|
|
56949
56849
|
const styles$6 = {
|
|
56850
|
+
h1,
|
|
56950
56851
|
h2: h22,
|
|
56951
56852
|
h3,
|
|
56853
|
+
h4,
|
|
56952
56854
|
paragraph,
|
|
56855
|
+
blockquote,
|
|
56856
|
+
inlineCode,
|
|
56857
|
+
lead,
|
|
56858
|
+
large,
|
|
56859
|
+
muted,
|
|
56953
56860
|
minorText
|
|
56954
56861
|
};
|
|
56955
56862
|
const H22 = ({ children, className }) => {
|
|
@@ -71205,7 +71112,7 @@ var webVitals_attribution_umd = { exports: {} };
|
|
|
71205
71112
|
document.addEventListener("visibilitychange", function() {
|
|
71206
71113
|
"hidden" === document.visibilityState && t4();
|
|
71207
71114
|
});
|
|
71208
|
-
},
|
|
71115
|
+
}, h6 = function(t4) {
|
|
71209
71116
|
var e5 = false;
|
|
71210
71117
|
return function() {
|
|
71211
71118
|
e5 || (t4(), e5 = true);
|
|
@@ -71274,7 +71181,7 @@ var webVitals_attribution_umd = { exports: {} };
|
|
|
71274
71181
|
}
|
|
71275
71182
|
}, N2 = function(t4) {
|
|
71276
71183
|
var e5 = self.requestIdleCallback || self.setTimeout, n3 = -1;
|
|
71277
|
-
return t4 =
|
|
71184
|
+
return t4 = h6(t4), "hidden" === document.visibilityState ? t4() : (n3 = e5(t4), v2(t4)), n3;
|
|
71278
71185
|
}, H5 = [200, 500], V2 = function(t4, e5) {
|
|
71279
71186
|
"PerformanceEventTiming" in self && "interactionId" in PerformanceEventTiming.prototype && (e5 = e5 || {}, C2(function() {
|
|
71280
71187
|
var n3;
|
|
@@ -71386,7 +71293,7 @@ var webVitals_attribution_umd = { exports: {} };
|
|
|
71386
71293
|
}, o3 = function(t5) {
|
|
71387
71294
|
t5.forEach(a5);
|
|
71388
71295
|
}, c4 = l2("first-input", o3);
|
|
71389
|
-
n3 = m4(t4, i3, mt2, e5.reportAllChanges), c4 && (v2(
|
|
71296
|
+
n3 = m4(t4, i3, mt2, e5.reportAllChanges), c4 && (v2(h6(function() {
|
|
71390
71297
|
o3(c4.takeRecords()), c4.disconnect();
|
|
71391
71298
|
})), u3(function() {
|
|
71392
71299
|
var r4;
|
|
@@ -71396,7 +71303,7 @@ var webVitals_attribution_umd = { exports: {} };
|
|
|
71396
71303
|
};
|
|
71397
71304
|
t3.CLSThresholds = D4, t3.FCPThresholds = L3, t3.FIDThresholds = mt2, t3.INPThresholds = H5, t3.LCPThresholds = nt2, t3.TTFBThresholds = it2, t3.onCLS = function(t4, e5) {
|
|
71398
71305
|
!function(t5, e6) {
|
|
71399
|
-
e6 = e6 || {}, M4(
|
|
71306
|
+
e6 = e6 || {}, M4(h6(function() {
|
|
71400
71307
|
var n3, r3 = d4("CLS", 0), i3 = 0, a5 = [], o3 = function(t6) {
|
|
71401
71308
|
t6.forEach(function(t7) {
|
|
71402
71309
|
if (!t7.hadRecentInput) {
|
|
@@ -71478,7 +71385,7 @@ var webVitals_attribution_umd = { exports: {} };
|
|
|
71478
71385
|
}, o3 = l2("largest-contentful-paint", a5);
|
|
71479
71386
|
if (o3) {
|
|
71480
71387
|
n3 = m4(t5, i3, nt2, e6.reportAllChanges);
|
|
71481
|
-
var c4 =
|
|
71388
|
+
var c4 = h6(function() {
|
|
71482
71389
|
rt2[i3.id] || (a5(o3.takeRecords()), o3.disconnect(), rt2[i3.id] = true, n3(true));
|
|
71483
71390
|
});
|
|
71484
71391
|
["keydown", "click"].forEach(function(t6) {
|
|
@@ -72489,6 +72396,9 @@ function safeExecuteInTheMiddle$2(execute, onFinish, preventThrowingError) {
|
|
|
72489
72396
|
error2 = e4;
|
|
72490
72397
|
} finally {
|
|
72491
72398
|
onFinish(error2, result2);
|
|
72399
|
+
if (error2 && !preventThrowingError) {
|
|
72400
|
+
throw error2;
|
|
72401
|
+
}
|
|
72492
72402
|
return result2;
|
|
72493
72403
|
}
|
|
72494
72404
|
}
|
|
@@ -72702,7 +72612,7 @@ var DocumentLoadInstrumentation = (
|
|
|
72702
72612
|
return;
|
|
72703
72613
|
}
|
|
72704
72614
|
_this._diag.error("addCustomAttributesOnSpan", error2);
|
|
72705
|
-
});
|
|
72615
|
+
}, true);
|
|
72706
72616
|
}
|
|
72707
72617
|
};
|
|
72708
72618
|
DocumentLoadInstrumentation2.prototype._addCustomAttributesOnResourceSpan = function(span, resource, applyCustomAttributesOnSpan) {
|
|
@@ -72715,7 +72625,7 @@ var DocumentLoadInstrumentation = (
|
|
|
72715
72625
|
return;
|
|
72716
72626
|
}
|
|
72717
72627
|
_this._diag.error("addCustomAttributesOnResourceSpan", error2);
|
|
72718
|
-
});
|
|
72628
|
+
}, true);
|
|
72719
72629
|
}
|
|
72720
72630
|
};
|
|
72721
72631
|
DocumentLoadInstrumentation2.prototype.enable = function() {
|
|
@@ -73077,6 +72987,9 @@ function safeExecuteInTheMiddle$1(execute, onFinish, preventThrowingError) {
|
|
|
73077
72987
|
error2 = e4;
|
|
73078
72988
|
} finally {
|
|
73079
72989
|
onFinish(error2, result2);
|
|
72990
|
+
if (error2 && !preventThrowingError) {
|
|
72991
|
+
throw error2;
|
|
72992
|
+
}
|
|
73080
72993
|
return result2;
|
|
73081
72994
|
}
|
|
73082
72995
|
}
|
|
@@ -73618,20 +73531,20 @@ var FetchInstrumentation = (
|
|
|
73618
73531
|
}
|
|
73619
73532
|
if (options instanceof Request) {
|
|
73620
73533
|
propagation.inject(context.active(), options.headers, {
|
|
73621
|
-
set: function(
|
|
73622
|
-
return
|
|
73534
|
+
set: function(h6, k3, v2) {
|
|
73535
|
+
return h6.set(k3, typeof v2 === "string" ? v2 : String(v2));
|
|
73623
73536
|
}
|
|
73624
73537
|
});
|
|
73625
73538
|
} else if (options.headers instanceof Headers) {
|
|
73626
73539
|
propagation.inject(context.active(), options.headers, {
|
|
73627
|
-
set: function(
|
|
73628
|
-
return
|
|
73540
|
+
set: function(h6, k3, v2) {
|
|
73541
|
+
return h6.set(k3, typeof v2 === "string" ? v2 : String(v2));
|
|
73629
73542
|
}
|
|
73630
73543
|
});
|
|
73631
73544
|
} else if (options.headers instanceof Map) {
|
|
73632
73545
|
propagation.inject(context.active(), options.headers, {
|
|
73633
|
-
set: function(
|
|
73634
|
-
return
|
|
73546
|
+
set: function(h6, k3, v2) {
|
|
73547
|
+
return h6.set(k3, typeof v2 === "string" ? v2 : String(v2));
|
|
73635
73548
|
}
|
|
73636
73549
|
});
|
|
73637
73550
|
} else {
|
|
@@ -73800,7 +73713,7 @@ var FetchInstrumentation = (
|
|
|
73800
73713
|
return;
|
|
73801
73714
|
}
|
|
73802
73715
|
_this._diag.error("applyCustomAttributesOnSpan", error2);
|
|
73803
|
-
});
|
|
73716
|
+
}, true);
|
|
73804
73717
|
}
|
|
73805
73718
|
};
|
|
73806
73719
|
FetchInstrumentation2.prototype._prepareSpanData = function(spanUrl) {
|
|
@@ -74623,6 +74536,9 @@ function safeExecuteInTheMiddle(execute, onFinish, preventThrowingError) {
|
|
|
74623
74536
|
error2 = e4;
|
|
74624
74537
|
} finally {
|
|
74625
74538
|
onFinish(error2, result2);
|
|
74539
|
+
if (error2 && !preventThrowingError) {
|
|
74540
|
+
throw error2;
|
|
74541
|
+
}
|
|
74626
74542
|
return result2;
|
|
74627
74543
|
}
|
|
74628
74544
|
}
|
|
@@ -74998,7 +74914,7 @@ var XMLHttpRequestInstrumentation = (
|
|
|
74998
74914
|
return;
|
|
74999
74915
|
}
|
|
75000
74916
|
_this._diag.error("applyCustomAttributesOnSpan", error2);
|
|
75001
|
-
});
|
|
74917
|
+
}, true);
|
|
75002
74918
|
}
|
|
75003
74919
|
};
|
|
75004
74920
|
XMLHttpRequestInstrumentation2.prototype._addResourceObserver = function(xhr, spanUrl) {
|
|
@@ -75494,11 +75410,11 @@ var Y$1 = M$1("v5", 80, function(e4) {
|
|
|
75494
75410
|
for (var d4 = 0; d4 < a4; ++d4) {
|
|
75495
75411
|
for (var f2 = new Uint32Array(80), g2 = 0; g2 < 16; ++g2) f2[g2] = s4[d4][g2];
|
|
75496
75412
|
for (var v2 = 16; v2 < 80; ++v2) f2[v2] = Q$1(f2[v2 - 3] ^ f2[v2 - 8] ^ f2[v2 - 14] ^ f2[v2 - 16], 1);
|
|
75497
|
-
for (var p2 = n2[0], m4 = n2[1],
|
|
75498
|
-
var k3 = Math.floor(b3 / 20), E3 = Q$1(p2, 5) + X$1(k3, m4,
|
|
75499
|
-
w3 = y4, y4 =
|
|
75413
|
+
for (var p2 = n2[0], m4 = n2[1], h6 = n2[2], y4 = n2[3], w3 = n2[4], b3 = 0; b3 < 80; ++b3) {
|
|
75414
|
+
var k3 = Math.floor(b3 / 20), E3 = Q$1(p2, 5) + X$1(k3, m4, h6, y4) + w3 + t3[k3] + f2[b3] >>> 0;
|
|
75415
|
+
w3 = y4, y4 = h6, h6 = Q$1(m4, 30) >>> 0, m4 = p2, p2 = E3;
|
|
75500
75416
|
}
|
|
75501
|
-
n2[0] = n2[0] + p2 >>> 0, n2[1] = n2[1] + m4 >>> 0, n2[2] = n2[2] +
|
|
75417
|
+
n2[0] = n2[0] + p2 >>> 0, n2[1] = n2[1] + m4 >>> 0, n2[2] = n2[2] + h6 >>> 0, n2[3] = n2[3] + y4 >>> 0, n2[4] = n2[4] + w3 >>> 0;
|
|
75502
75418
|
}
|
|
75503
75419
|
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]];
|
|
75504
75420
|
}), Z$1 = Y$1;
|
|
@@ -75745,6 +75661,9 @@ const { commonBasicLogger: ye$1 } = ne$2;
|
|
|
75745
75661
|
function we$1(e4) {
|
|
75746
75662
|
return "string" == typeof e4 && "kind" !== e4 && e4.match(/^(\w|\.|-)+$/);
|
|
75747
75663
|
}
|
|
75664
|
+
function be$1(e4) {
|
|
75665
|
+
return e4.includes("%") || e4.includes(":") ? e4.replace(/%/g, "%25").replace(/:/g, "%3A") : e4;
|
|
75666
|
+
}
|
|
75748
75667
|
var ke$1 = { checkContext: function(e4, t3) {
|
|
75749
75668
|
if (e4) {
|
|
75750
75669
|
if (t3 && (void 0 === e4.kind || null === e4.kind)) return void 0 !== e4.key && null !== e4.key;
|
|
@@ -75783,6 +75702,12 @@ var ke$1 = { checkContext: function(e4, t3) {
|
|
|
75783
75702
|
return n2;
|
|
75784
75703
|
}, getContextKinds: function(e4) {
|
|
75785
75704
|
return e4 ? null === e4.kind || void 0 === e4.kind ? ["user"] : "multi" !== e4.kind ? [e4.kind] : Object.keys(e4).filter((e5) => "kind" !== e5) : [];
|
|
75705
|
+
}, getCanonicalKey: function(e4) {
|
|
75706
|
+
if (e4) {
|
|
75707
|
+
if ((void 0 === e4.kind || null === e4.kind || "user" === e4.kind) && e4.key) return e4.key;
|
|
75708
|
+
if ("multi" !== e4.kind && e4.key) return `${e4.kind}:${be$1(e4.key)}`;
|
|
75709
|
+
if ("multi" === e4.kind) return Object.keys(e4).sort().filter((e5) => "kind" !== e5).map((t3) => `${t3}:${be$1(e4[t3].key)}`).join(":");
|
|
75710
|
+
}
|
|
75786
75711
|
} };
|
|
75787
75712
|
const { getContextKinds: Ee$1 } = ke$1;
|
|
75788
75713
|
var De$1 = function() {
|
|
@@ -75878,7 +75803,7 @@ var Te$1 = function(e4) {
|
|
|
75878
75803
|
const { getContextKeys: Le$1 } = ke$1;
|
|
75879
75804
|
var Ue$1 = function(e4, t3, n2, r2 = null, o2 = null, i2 = null) {
|
|
75880
75805
|
const a4 = {}, c3 = i2 || he$1(e4, n2, t3), u3 = S$2.appendUrlPath(t3.eventsUrl, "/events/bulk/" + n2), l2 = De$1(), d4 = Te$1(t3), f2 = t3.samplingInterval, g2 = t3.eventCapacity, v2 = t3.flushInterval, p2 = t3.logger;
|
|
75881
|
-
let m4,
|
|
75806
|
+
let m4, h6 = [], y4 = 0, w3 = false, b3 = false;
|
|
75882
75807
|
function k3() {
|
|
75883
75808
|
return 0 === f2 || 0 === Math.floor(Math.random() * f2);
|
|
75884
75809
|
}
|
|
@@ -75887,7 +75812,7 @@ var Ue$1 = function(e4, t3, n2, r2 = null, o2 = null, i2 = null) {
|
|
|
75887
75812
|
return "identify" === e5.kind ? t4.context = d4.filter(e5.context) : "feature" === e5.kind ? t4.context = d4.filter(e5.context, true) : (t4.contextKeys = Le$1(e5.context, p2), delete t4.context), "feature" === e5.kind && (delete t4.trackEvents, delete t4.debugEventsUntilDate), t4;
|
|
75888
75813
|
}
|
|
75889
75814
|
function D4(e5) {
|
|
75890
|
-
|
|
75815
|
+
h6.length < g2 ? (h6.push(e5), b3 = false) : (b3 || (b3 = true, p2.warn(ie$3.eventCapacityExceeded())), r2 && r2.incrementDroppedEvents());
|
|
75891
75816
|
}
|
|
75892
75817
|
return a4.enqueue = function(e5) {
|
|
75893
75818
|
if (w3) return;
|
|
@@ -75899,8 +75824,8 @@ var Ue$1 = function(e4, t3, n2, r2 = null, o2 = null, i2 = null) {
|
|
|
75899
75824
|
}
|
|
75900
75825
|
}, a4.flush = function() {
|
|
75901
75826
|
if (w3) return Promise.resolve();
|
|
75902
|
-
const e5 =
|
|
75903
|
-
return l2.clearSummary(), t4 && (t4.kind = "summary", e5.push(t4)), r2 && r2.setEventsInLastBatch(e5.length), 0 === e5.length ? Promise.resolve() : (
|
|
75827
|
+
const e5 = h6, t4 = l2.getSummary();
|
|
75828
|
+
return l2.clearSummary(), t4 && (t4.kind = "summary", e5.push(t4)), r2 && r2.setEventsInLastBatch(e5.length), 0 === e5.length ? Promise.resolve() : (h6 = [], p2.debug(ie$3.debugPostingEvents(e5.length)), c3.sendEvents(e5, u3).then((e6) => {
|
|
75904
75829
|
e6 && (e6.serverTime && (y4 = e6.serverTime), s$1.isHttpErrorRecoverable(e6.status) || (w3 = true), e6.status >= 400 && S$2.onNextTick(() => {
|
|
75905
75830
|
o2.maybeReportError(new s$1.LDUnexpectedResponseError(ie$3.httpErrorMessage(e6.status, "event posting", "some events were dropped")));
|
|
75906
75831
|
}));
|
|
@@ -76002,7 +75927,7 @@ var Ve$1 = function(e4, t3) {
|
|
|
76002
75927
|
const { appendUrlPath: Me$1, base64URLEncode: qe$1, objectHasOwnProperty: He$1 } = S$2, { getLDHeaders: ze$1, transformHeaders: Ke$1 } = ge$1, { isHttpErrorRecoverable: _e$1 } = s$1;
|
|
76003
75928
|
var Je$1 = function(e4, t3, n2, r2) {
|
|
76004
75929
|
const o2 = t3.streamUrl, i2 = t3.logger, a4 = {}, s4 = Me$1(o2, "/eval/" + n2), c3 = t3.useReport, u3 = t3.evaluationReasons, l2 = t3.streamReconnectDelay, d4 = ze$1(e4, t3);
|
|
76005
|
-
let f2, g2 = false, v2 = null, p2 = null, m4 = null,
|
|
75930
|
+
let f2, g2 = false, v2 = null, p2 = null, m4 = null, h6 = null, y4 = null, w3 = 0;
|
|
76006
75931
|
function b3() {
|
|
76007
75932
|
const e5 = (t4 = function() {
|
|
76008
75933
|
const e6 = l2 * Math.pow(2, w3);
|
|
@@ -76025,7 +75950,7 @@ var Je$1 = function(e4, t3, n2, r2) {
|
|
|
76025
75950
|
let a5 = "";
|
|
76026
75951
|
const l3 = { headers: d4, readTimeoutMillis: 3e5 };
|
|
76027
75952
|
if (e4.eventSourceFactory) {
|
|
76028
|
-
null !=
|
|
75953
|
+
null != h6 && (a5 = "h=" + h6), c3 ? e4.eventSourceAllowsReport ? (r3 = s4, l3.method = "REPORT", l3.headers["Content-Type"] = "application/json", l3.body = JSON.stringify(m4)) : (r3 = Me$1(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);
|
|
76029
75954
|
for (const e5 in y4) He$1(y4, e5) && v2.addEventListener(e5, y4[e5]);
|
|
76030
75955
|
v2.onerror = k3, v2.onopen = () => {
|
|
76031
75956
|
w3 = 0;
|
|
@@ -76039,7 +75964,7 @@ var Je$1 = function(e4, t3, n2, r2) {
|
|
|
76039
75964
|
f2 && r2 && r2.recordStreamInit(f2, !e5, (/* @__PURE__ */ new Date()).getTime() - f2), f2 = null;
|
|
76040
75965
|
}
|
|
76041
75966
|
return a4.connect = function(e5, t4, n3) {
|
|
76042
|
-
m4 = e5,
|
|
75967
|
+
m4 = e5, h6 = t4, y4 = {};
|
|
76043
75968
|
for (const e6 in n3 || {}) y4[e6] = function(t5) {
|
|
76044
75969
|
g2 = false, C2(true), n3[e6] && n3[e6](t5);
|
|
76045
75970
|
};
|
|
@@ -76162,13 +76087,13 @@ var it$1 = { DiagnosticId: function(e4) {
|
|
|
76162
76087
|
function m4() {
|
|
76163
76088
|
return { sdk: w3(), configuration: b3(), platform: e4.diagnosticPlatformData };
|
|
76164
76089
|
}
|
|
76165
|
-
function
|
|
76090
|
+
function h6(e5) {
|
|
76166
76091
|
i2.logger && i2.logger.debug(ie$3.debugPostingDiagnosticEvent(e5)), r2.sendEvents(e5, u3, true).then(() => {
|
|
76167
76092
|
}).catch(() => {
|
|
76168
76093
|
});
|
|
76169
76094
|
}
|
|
76170
76095
|
function y4() {
|
|
76171
|
-
|
|
76096
|
+
h6(function() {
|
|
76172
76097
|
const e5 = (/* @__PURE__ */ new Date()).getTime();
|
|
76173
76098
|
let t4 = { kind: s4 ? "diagnostic-combined" : "diagnostic", id: a4, creationDate: e5, ...d4.getProps() };
|
|
76174
76099
|
return s4 && (t4 = { ...t4, ...m4() }), d4.reset(e5), t4;
|
|
@@ -76204,7 +76129,7 @@ var it$1 = { DiagnosticId: function(e4) {
|
|
|
76204
76129
|
const e6 = (f2 || 0) + l2, t4 = (/* @__PURE__ */ new Date()).getTime();
|
|
76205
76130
|
t4 >= e6 ? y4() : g2 = setTimeout(y4, e6 - t4);
|
|
76206
76131
|
} else 0 === Math.floor(4 * Math.random()) ? y4() : g2 = setTimeout(y4, l2);
|
|
76207
|
-
}) : (
|
|
76132
|
+
}) : (h6({ kind: "diagnostic-init", id: a4, creationDate: d4.getProps().dataSinceDate, ...m4() }), g2 = setTimeout(y4, l2));
|
|
76208
76133
|
}, p2.stop = () => {
|
|
76209
76134
|
g2 && clearTimeout(g2);
|
|
76210
76135
|
}, p2.setStreaming = (e5) => {
|
|
@@ -76258,14 +76183,14 @@ var dt$1 = function(e4, t3) {
|
|
|
76258
76183
|
}, 1e3 * e4);
|
|
76259
76184
|
});
|
|
76260
76185
|
};
|
|
76261
|
-
const { commonBasicLogger: ft$1 } = ne$2, { checkContext: gt$1 } = ke$1, { InspectorTypes: pt$1, InspectorManager: mt$1 } = ut$1, ht$1 = "change", yt$1 = "internal-change";
|
|
76186
|
+
const { commonBasicLogger: ft$1 } = ne$2, { checkContext: gt$1, getContextKeys: vt$1 } = ke$1, { InspectorTypes: pt$1, InspectorManager: mt$1 } = ut$1, ht$1 = "change", yt$1 = "internal-change";
|
|
76262
76187
|
var wt$1 = { initialize: function(e4, t3, n2, r2, o2) {
|
|
76263
76188
|
const i2 = function() {
|
|
76264
76189
|
if (n2 && n2.logger) return n2.logger;
|
|
76265
76190
|
return o2 && o2.logger && o2.logger.default || ft$1("warn");
|
|
76266
76191
|
}(), a4 = Re$1(i2), c3 = Ne$1(a4), u3 = de$1.validate(n2, a4, o2, i2), l2 = mt$1(u3.inspectors, i2), d4 = u3.sendEvents;
|
|
76267
76192
|
let f2 = e4, g2 = u3.hash;
|
|
76268
|
-
const v2 = Ve$1(r2.localStorage, i2), p2 = he$1(r2, f2, u3), m4 = u3.sendEvents && !u3.diagnosticOptOut,
|
|
76193
|
+
const v2 = Ve$1(r2.localStorage, i2), p2 = he$1(r2, f2, u3), m4 = u3.sendEvents && !u3.diagnosticOptOut, h6 = 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, h6) : 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);
|
|
76269
76194
|
let D4, x3, C2, P2 = {}, I3 = u3.streaming, O3 = false, T3 = false, L3 = true;
|
|
76270
76195
|
const U2 = u3.stateProvider, R3 = Ye$1(null, function(e5) {
|
|
76271
76196
|
(function(e6) {
|
|
@@ -76470,14 +76395,14 @@ var wt$1 = { initialize: function(e4, t3, n2, r2, o2) {
|
|
|
76470
76395
|
}, enqueueEvent: F2, getFlagsInternal: function() {
|
|
76471
76396
|
return P2;
|
|
76472
76397
|
}, getEnvironmentId: () => f2, internalChangeEventName: yt$1 };
|
|
76473
|
-
}, errors: s$1 }, bt$1 = wt$1.initialize, kt$1 = wt$1.errors;
|
|
76398
|
+
}, 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;
|
|
76474
76399
|
function Dt$1(e4, t3, n2) {
|
|
76475
76400
|
return (t3 = function(e5) {
|
|
76476
76401
|
var t4 = function(e6, t5) {
|
|
76477
76402
|
if ("object" != typeof e6 || !e6) return e6;
|
|
76478
76403
|
var n3 = e6[Symbol.toPrimitive];
|
|
76479
76404
|
if (void 0 !== n3) {
|
|
76480
|
-
var r2 = n3.call(e6, t5);
|
|
76405
|
+
var r2 = n3.call(e6, t5 || "default");
|
|
76481
76406
|
if ("object" != typeof r2) return r2;
|
|
76482
76407
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
76483
76408
|
}
|
|
@@ -76675,6 +76600,7 @@ function Ft$1(e4, t3) {
|
|
|
76675
76600
|
"hidden" === document.visibilityState && u3();
|
|
76676
76601
|
}), window.addEventListener("pagehide", u3), i2;
|
|
76677
76602
|
}
|
|
76603
|
+
var INFINITY = 1 / 0;
|
|
76678
76604
|
var symbolTag = "[object Symbol]";
|
|
76679
76605
|
var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
76680
76606
|
var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
|
|
@@ -76954,12 +76880,12 @@ function baseToString(value) {
|
|
|
76954
76880
|
return symbolToString ? symbolToString.call(value) : "";
|
|
76955
76881
|
}
|
|
76956
76882
|
var result2 = value + "";
|
|
76957
|
-
return result2 == "0" && 1 / value == -
|
|
76883
|
+
return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2;
|
|
76958
76884
|
}
|
|
76959
76885
|
function castSlice(array, start, end) {
|
|
76960
76886
|
var length = array.length;
|
|
76961
76887
|
end = end === void 0 ? length : end;
|
|
76962
|
-
return
|
|
76888
|
+
return !start && end >= length ? array : baseSlice(array, start, end);
|
|
76963
76889
|
}
|
|
76964
76890
|
function createCaseFirst(methodName) {
|
|
76965
76891
|
return function(string) {
|
|
@@ -77020,7 +76946,7 @@ var hasRequiredReactIs_production_min;
|
|
|
77020
76946
|
function requireReactIs_production_min() {
|
|
77021
76947
|
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
77022
76948
|
hasRequiredReactIs_production_min = 1;
|
|
77023
|
-
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,
|
|
76949
|
+
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, h6 = 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;
|
|
77024
76950
|
function z3(a4) {
|
|
77025
76951
|
if ("object" === typeof a4 && null !== a4) {
|
|
77026
76952
|
var u3 = a4.$$typeof;
|
|
@@ -77040,7 +76966,7 @@ function requireReactIs_production_min() {
|
|
|
77040
76966
|
case n2:
|
|
77041
76967
|
case t3:
|
|
77042
76968
|
case r2:
|
|
77043
|
-
case
|
|
76969
|
+
case h6:
|
|
77044
76970
|
return a4;
|
|
77045
76971
|
default:
|
|
77046
76972
|
return u3;
|
|
@@ -77057,7 +76983,7 @@ function requireReactIs_production_min() {
|
|
|
77057
76983
|
reactIs_production_min.AsyncMode = l2;
|
|
77058
76984
|
reactIs_production_min.ConcurrentMode = m4;
|
|
77059
76985
|
reactIs_production_min.ContextConsumer = k3;
|
|
77060
|
-
reactIs_production_min.ContextProvider =
|
|
76986
|
+
reactIs_production_min.ContextProvider = h6;
|
|
77061
76987
|
reactIs_production_min.Element = c3;
|
|
77062
76988
|
reactIs_production_min.ForwardRef = n2;
|
|
77063
76989
|
reactIs_production_min.Fragment = e4;
|
|
@@ -77075,7 +77001,7 @@ function requireReactIs_production_min() {
|
|
|
77075
77001
|
return z3(a4) === k3;
|
|
77076
77002
|
};
|
|
77077
77003
|
reactIs_production_min.isContextProvider = function(a4) {
|
|
77078
|
-
return z3(a4) ===
|
|
77004
|
+
return z3(a4) === h6;
|
|
77079
77005
|
};
|
|
77080
77006
|
reactIs_production_min.isElement = function(a4) {
|
|
77081
77007
|
return "object" === typeof a4 && null !== a4 && a4.$$typeof === c3;
|
|
@@ -77105,7 +77031,7 @@ function requireReactIs_production_min() {
|
|
|
77105
77031
|
return z3(a4) === p2;
|
|
77106
77032
|
};
|
|
77107
77033
|
reactIs_production_min.isValidElementType = function(a4) {
|
|
77108
|
-
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 ===
|
|
77034
|
+
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 === h6 || a4.$$typeof === k3 || a4.$$typeof === n2 || a4.$$typeof === w3 || a4.$$typeof === x3 || a4.$$typeof === y4 || a4.$$typeof === v2);
|
|
77109
77035
|
};
|
|
77110
77036
|
reactIs_production_min.typeOf = z3;
|
|
77111
77037
|
return reactIs_production_min;
|
|
@@ -77723,7 +77649,7 @@ const ErrorFallback = ({ error: error2 }) => /* @__PURE__ */ jsxs("div", { class
|
|
|
77723
77649
|
/* @__PURE__ */ jsx("p", { className: "text-gray-600 mb-4", children: "We have encountered a critical error and cannot continue. Please try refreshing the page." }),
|
|
77724
77650
|
error2 && /* @__PURE__ */ jsx("div", { className: "mt-4 p-3 bg-gray-50 rounded border border-gray-200", children: /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-700 font-mono", children: error2.toString() }) })
|
|
77725
77651
|
] });
|
|
77726
|
-
var t2 = "undefined" != typeof window ? window : void 0, i$1 = "undefined" != typeof globalThis ? globalThis : t2, e3 = Array.prototype, r = e3.forEach, s3 = e3.indexOf, n = null == i$1 ? void 0 : i$1.navigator, o = null == i$1 ? void 0 : i$1.document, a3 = null == i$1 ? void 0 : i$1.location, l = null == i$1 ? void 0 : i$1.fetch, u2 = null != i$1 && i$1.XMLHttpRequest && "withCredentials" in new i$1.XMLHttpRequest() ? i$1.XMLHttpRequest : void 0,
|
|
77652
|
+
var t2 = "undefined" != typeof window ? window : void 0, i$1 = "undefined" != typeof globalThis ? globalThis : t2, e3 = Array.prototype, r = e3.forEach, s3 = e3.indexOf, n = null == i$1 ? void 0 : i$1.navigator, o = null == i$1 ? void 0 : i$1.document, a3 = null == i$1 ? void 0 : i$1.location, l = null == i$1 ? void 0 : i$1.fetch, u2 = null != i$1 && i$1.XMLHttpRequest && "withCredentials" in new i$1.XMLHttpRequest() ? i$1.XMLHttpRequest : void 0, h5 = null == i$1 ? void 0 : i$1.AbortController, d3 = null == n ? void 0 : n.userAgent, v = null != t2 ? t2 : {}, c2 = { DEBUG: false, LIB_VERSION: "1.250.2" }, f = "$copy_autocapture", p = ["$snapshot", "$pageview", "$pageleave", "$set", "survey dismissed", "survey sent", "survey shown", "$identify", "$groupidentify", "$create_alias", "$$client_ingestion_warning", "$web_experiment_applied", "$feature_enrollment_update", "$feature_flag_called"], _ = function(t3) {
|
|
77727
77653
|
return t3.GZipJS = "gzip-js", t3.Base64 = "base64", t3;
|
|
77728
77654
|
}({}), g = ["fatal", "error", "warning", "log", "info", "debug"];
|
|
77729
77655
|
function m3(t3, i2) {
|
|
@@ -77955,13 +77881,13 @@ function si(i2, e4, r2, s4, n2) {
|
|
|
77955
77881
|
var u3 = r2.dom_event_allowlist;
|
|
77956
77882
|
if (u3 && !u3.some((t3) => e4.type === t3)) return false;
|
|
77957
77883
|
}
|
|
77958
|
-
for (var
|
|
77884
|
+
for (var h6 = 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;
|
|
77959
77885
|
else {
|
|
77960
77886
|
if (!(v2 = ri(c3))) break;
|
|
77961
|
-
if (s4 || ei.indexOf(v2.tagName.toLowerCase()) > -1)
|
|
77887
|
+
if (s4 || ei.indexOf(v2.tagName.toLowerCase()) > -1) h6 = true;
|
|
77962
77888
|
else {
|
|
77963
77889
|
var f2 = t2.getComputedStyle(v2);
|
|
77964
|
-
f2 && "pointer" === f2.getPropertyValue("cursor") && (
|
|
77890
|
+
f2 && "pointer" === f2.getPropertyValue("cursor") && (h6 = true);
|
|
77965
77891
|
}
|
|
77966
77892
|
d4.push(v2), c3 = v2;
|
|
77967
77893
|
}
|
|
@@ -77996,7 +77922,7 @@ function si(i2, e4, r2, s4, n2) {
|
|
|
77996
77922
|
case "textarea":
|
|
77997
77923
|
return (n2 || ["change", "click"]).indexOf(e4.type) >= 0;
|
|
77998
77924
|
default:
|
|
77999
|
-
return
|
|
77925
|
+
return h6 ? (n2 || ["click"]).indexOf(e4.type) >= 0 : (n2 || ["click"]).indexOf(e4.type) >= 0 && (ei.indexOf(_2) > -1 || "true" === i2.getAttribute("contenteditable"));
|
|
78000
77926
|
}
|
|
78001
77927
|
}
|
|
78002
77928
|
function ni(t3) {
|
|
@@ -78123,12 +78049,12 @@ var yi = ["localhost", "127.0.0.1"], wi = (t3) => {
|
|
|
78123
78049
|
return o2.replace(/\+/g, " ");
|
|
78124
78050
|
}, ki = function(t3, i2, e4) {
|
|
78125
78051
|
if (!t3 || !i2 || !i2.length) return t3;
|
|
78126
|
-
for (var r2 = t3.split("#"), s4 = r2[0] || "", n2 = r2[1], o2 = s4.split("?"), a4 = o2[1], l2 = o2[0], u3 = (a4 || "").split("&"),
|
|
78052
|
+
for (var r2 = t3.split("#"), s4 = r2[0] || "", n2 = r2[1], o2 = s4.split("?"), a4 = o2[1], l2 = o2[0], u3 = (a4 || "").split("&"), h6 = [], d4 = 0; d4 < u3.length; d4++) {
|
|
78127
78053
|
var v2 = u3[d4].split("=");
|
|
78128
|
-
x2(v2) && (i2.includes(v2[0]) ?
|
|
78054
|
+
x2(v2) && (i2.includes(v2[0]) ? h6.push(v2[0] + "=" + e4) : h6.push(u3[d4]));
|
|
78129
78055
|
}
|
|
78130
78056
|
var c3 = l2;
|
|
78131
|
-
return null != a4 && (c3 += "?" +
|
|
78057
|
+
return null != a4 && (c3 += "?" + h6.join("&")), null != n2 && (c3 += "#" + n2), c3;
|
|
78132
78058
|
}, xi = function(t3, i2) {
|
|
78133
78059
|
var e4 = t3.match(new RegExp(i2 + "=([^&]*)"));
|
|
78134
78060
|
return e4 ? e4[1] : null;
|
|
@@ -78161,9 +78087,9 @@ function Ri(t3, i2, e4, r2) {
|
|
|
78161
78087
|
return n2.nth_child = a4, n2.nth_of_type = l2, n2;
|
|
78162
78088
|
}
|
|
78163
78089
|
function Ti(i2, e4) {
|
|
78164
|
-
for (var r2, s4, { e: n2, maskAllElementAttributes: o2, maskAllText: a4, elementAttributeIgnoreList: l2, elementsChainAsString: u3 } = e4,
|
|
78090
|
+
for (var r2, s4, { e: n2, maskAllElementAttributes: o2, maskAllText: a4, elementAttributeIgnoreList: l2, elementsChainAsString: u3 } = e4, h6 = [i2], d4 = i2; d4.parentNode && !Jt(d4, "body"); ) Kt(d4.parentNode) ? (h6.push(d4.parentNode.host), d4 = d4.parentNode.host) : (h6.push(d4.parentNode), d4 = d4.parentNode);
|
|
78165
78091
|
var v2, c3 = [], f2 = {}, p2 = false, _2 = false;
|
|
78166
|
-
if (J(
|
|
78092
|
+
if (J(h6, (t3) => {
|
|
78167
78093
|
var i3 = ni(t3);
|
|
78168
78094
|
"a" === t3.tagName.toLowerCase() && (p2 = t3.getAttribute("href"), p2 = i3 && p2 && ci(p2) && p2), m3(Qt(t3), "ph-no-capture") && (_2 = true), c3.push(Ri(t3, o2, a4, l2));
|
|
78169
78095
|
var e5 = function(t4) {
|
|
@@ -78248,9 +78174,9 @@ class Mi {
|
|
|
78248
78174
|
if (a4) return false;
|
|
78249
78175
|
var l2 = this.getElementSelectors(s4);
|
|
78250
78176
|
if (l2 && l2.length > 0 && (o2.$element_selectors = l2), e4 === f) {
|
|
78251
|
-
var u3,
|
|
78252
|
-
if (!
|
|
78253
|
-
o2.$selected_content =
|
|
78177
|
+
var u3, h6 = Zt(null == t2 || null == (u3 = t2.getSelection()) ? void 0 : u3.toString()), d4 = i2.type || "clipboard";
|
|
78178
|
+
if (!h6) return false;
|
|
78179
|
+
o2.$selected_content = h6, o2.$copy_type = d4;
|
|
78254
78180
|
}
|
|
78255
78181
|
return this.instance.capture(e4, o2), true;
|
|
78256
78182
|
}
|
|
@@ -78388,8 +78314,8 @@ var Bi = { O: () => !!o, F: function(t3) {
|
|
|
78388
78314
|
u3.setTime(u3.getTime() + 24 * e4 * 60 * 60 * 1e3), n2 = "; expires=" + u3.toUTCString();
|
|
78389
78315
|
}
|
|
78390
78316
|
s4 && (a4 = "; secure");
|
|
78391
|
-
var
|
|
78392
|
-
return
|
|
78317
|
+
var h6 = t3 + "=" + encodeURIComponent(JSON.stringify(i2)) + n2 + "; SameSite=Lax; path=/" + l2 + a4;
|
|
78318
|
+
return h6.length > 3686.4 && j.warn("cookieStore warning: large cookie, len=" + h6.length), o.cookie = h6, h6;
|
|
78393
78319
|
} catch (t4) {
|
|
78394
78320
|
return;
|
|
78395
78321
|
}
|
|
@@ -78865,8 +78791,8 @@ function Le(t3, i2) {
|
|
|
78865
78791
|
return de(t4, "Object");
|
|
78866
78792
|
}(n2) || le(n2)) return De(n2, i2);
|
|
78867
78793
|
if (R2(e4) && T2(r2)) {
|
|
78868
|
-
var u3 = "Error",
|
|
78869
|
-
return d4 && (u3 = d4[1],
|
|
78794
|
+
var u3 = "Error", h6 = r2, d4 = r2.match(Pe);
|
|
78795
|
+
return d4 && (u3 = d4[1], h6 = d4[2]), Fe(h6, B2({}, i2, { overrideExceptionType: u3, defaultExceptionMessage: h6 }));
|
|
78870
78796
|
}
|
|
78871
78797
|
return Fe(n2, i2);
|
|
78872
78798
|
}
|
|
@@ -78962,7 +78888,7 @@ function Xe(t3, i2) {
|
|
|
78962
78888
|
}), e4;
|
|
78963
78889
|
}
|
|
78964
78890
|
var Qe = (t3, i2) => {
|
|
78965
|
-
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)),
|
|
78891
|
+
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)), h6 = (i3) => {
|
|
78966
78892
|
return u3(((t4, i4) => {
|
|
78967
78893
|
var e6, r4 = wi(t4.name), s5 = 0 === i4.indexOf("http") ? null == (e6 = wi(i4)) ? void 0 : e6.pathname : i4;
|
|
78968
78894
|
"/" === s5 && (s5 = "");
|
|
@@ -78977,11 +78903,11 @@ var Qe = (t3, i2) => {
|
|
|
78977
78903
|
var e5 = t3.session_recording.maskNetworkRequestFn({ url: i3.name });
|
|
78978
78904
|
return B2({}, i3, { name: null == e5 ? void 0 : e5.url });
|
|
78979
78905
|
}), n2.maskRequestFn = E2(t3.session_recording.maskCapturedNetworkRequestFn) ? (i3) => {
|
|
78980
|
-
var e5, r3 =
|
|
78906
|
+
var e5, r3 = h6(i3);
|
|
78981
78907
|
return r3 && null !== (e5 = null == t3.session_recording.maskCapturedNetworkRequestFn ? void 0 : t3.session_recording.maskCapturedNetworkRequestFn(r3)) && void 0 !== e5 ? e5 : void 0;
|
|
78982
78908
|
} : (t4) => function(t5) {
|
|
78983
78909
|
if (!R2(t5)) return t5.requestBody = Xe(t5.requestBody, "Request"), t5.responseBody = Xe(t5.responseBody, "Response"), t5;
|
|
78984
|
-
}(
|
|
78910
|
+
}(h6(t4)), B2({}, Ge, n2, { recordHeaders: o2, recordBody: a4, recordPerformance: l2, recordInitialRequests: l2 });
|
|
78985
78911
|
};
|
|
78986
78912
|
class Ze {
|
|
78987
78913
|
constructor(t3, i2) {
|
|
@@ -79064,11 +78990,11 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
|
|
|
79064
78990
|
e4.sort(function(t4, i3) {
|
|
79065
78991
|
return t4.f - i3.f;
|
|
79066
78992
|
}), e4.push({ s: -1, f: 25001 });
|
|
79067
|
-
var a4 = e4[0], l2 = e4[1], u3 = 0,
|
|
79068
|
-
for (e4[0] = { s: -1, f: a4.f + l2.f, l: a4, r: l2 };
|
|
78993
|
+
var a4 = e4[0], l2 = e4[1], u3 = 0, h6 = 1, d4 = 2;
|
|
78994
|
+
for (e4[0] = { s: -1, f: a4.f + l2.f, l: a4, r: l2 }; h6 != s4 - 1; ) a4 = e4[e4[u3].f < e4[d4].f ? u3++ : d4++], l2 = e4[u3 != h6 && e4[u3].f < e4[d4].f ? u3++ : d4++], e4[h6++] = { s: -1, f: a4.f + l2.f, l: a4, r: l2 };
|
|
79069
78995
|
var v2 = n2[0].s;
|
|
79070
78996
|
for (r2 = 1; r2 < s4; ++r2) n2[r2].s > v2 && (v2 = n2[r2].s);
|
|
79071
|
-
var c3 = new ir(v2 + 1), f2 = kr(e4[
|
|
78997
|
+
var c3 = new ir(v2 + 1), f2 = kr(e4[h6 - 1], c3, 0);
|
|
79072
78998
|
if (f2 > i2) {
|
|
79073
78999
|
r2 = 0;
|
|
79074
79000
|
var p2 = 0, _2 = f2 - i2, g2 = 1 << _2;
|
|
@@ -79117,34 +79043,34 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
|
|
|
79117
79043
|
t3[s4] = 255 & r2, t3[s4 + 1] = r2 >>> 8, t3[s4 + 2] = 255 ^ t3[s4], t3[s4 + 3] = 255 ^ t3[s4 + 1];
|
|
79118
79044
|
for (var n2 = 0; n2 < r2; ++n2) t3[s4 + n2 + 4] = e4[n2];
|
|
79119
79045
|
return 8 * (s4 + 4 + r2);
|
|
79120
|
-
}, Pr = function(t3, i2, e4, r2, s4, n2, o2, a4, l2, u3,
|
|
79121
|
-
wr(i2,
|
|
79046
|
+
}, Pr = function(t3, i2, e4, r2, s4, n2, o2, a4, l2, u3, h6) {
|
|
79047
|
+
wr(i2, h6++, e4), ++s4[256];
|
|
79122
79048
|
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]]++;
|
|
79123
79049
|
for (k3 = 0; k3 < w3.length; ++k3) $2[31 & w3[k3]]++;
|
|
79124
79050
|
for (var x3 = $r($2, 7), E3 = x3[0], I3 = x3[1], P2 = 19; P2 > 4 && !E3[nr[P2 - 1]]; --P2) ;
|
|
79125
79051
|
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]);
|
|
79126
|
-
if (O3 <= F2 && O3 <= A2) return Ir(i2,
|
|
79127
|
-
if (wr(i2,
|
|
79052
|
+
if (O3 <= F2 && O3 <= A2) return Ir(i2, h6, t3.subarray(l2, l2 + u3));
|
|
79053
|
+
if (wr(i2, h6, 1 + (A2 < F2)), h6 += 2, A2 < F2) {
|
|
79128
79054
|
R3 = fr(v2, c3), T3 = v2, M4 = fr(p2, _2), C2 = p2;
|
|
79129
79055
|
var D4 = fr(E3, I3);
|
|
79130
|
-
wr(i2,
|
|
79131
|
-
for (k3 = 0; k3 < P2; ++k3) wr(i2,
|
|
79132
|
-
|
|
79056
|
+
wr(i2, h6, b3 - 257), wr(i2, h6 + 5, S4 - 1), wr(i2, h6 + 10, P2 - 4), h6 += 14;
|
|
79057
|
+
for (k3 = 0; k3 < P2; ++k3) wr(i2, h6 + 3 * k3, E3[nr[k3]]);
|
|
79058
|
+
h6 += 3 * P2;
|
|
79133
79059
|
for (var L3 = [m4, w3], N2 = 0; N2 < 2; ++N2) {
|
|
79134
79060
|
var j2 = L3[N2];
|
|
79135
79061
|
for (k3 = 0; k3 < j2.length; ++k3) {
|
|
79136
79062
|
var z3 = 31 & j2[k3];
|
|
79137
|
-
wr(i2,
|
|
79063
|
+
wr(i2, h6, D4[z3]), h6 += E3[z3], z3 > 15 && (wr(i2, h6, j2[k3] >>> 5 & 127), h6 += j2[k3] >>> 12);
|
|
79138
79064
|
}
|
|
79139
79065
|
}
|
|
79140
79066
|
} else R3 = gr, T3 = pr, M4 = mr, C2 = _r;
|
|
79141
79067
|
for (k3 = 0; k3 < a4; ++k3) if (r2[k3] > 255) {
|
|
79142
79068
|
z3 = r2[k3] >>> 18 & 31;
|
|
79143
|
-
Sr(i2,
|
|
79069
|
+
Sr(i2, h6, R3[z3 + 257]), h6 += T3[z3 + 257], z3 > 7 && (wr(i2, h6, r2[k3] >>> 23 & 31), h6 += rr[z3]);
|
|
79144
79070
|
var U2 = 31 & r2[k3];
|
|
79145
|
-
Sr(i2,
|
|
79146
|
-
} else Sr(i2,
|
|
79147
|
-
return Sr(i2,
|
|
79071
|
+
Sr(i2, h6, M4[U2]), h6 += C2[U2], U2 > 3 && (Sr(i2, h6, r2[k3] >>> 5 & 8191), h6 += sr[U2]);
|
|
79072
|
+
} else Sr(i2, h6, R3[r2[k3]]), h6 += T3[r2[k3]];
|
|
79073
|
+
return Sr(i2, h6, R3[256]), h6 + T3[256];
|
|
79148
79074
|
}, Rr = new er([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]), Tr = function() {
|
|
79149
79075
|
for (var t3 = new er(256), i2 = 0; i2 < 256; ++i2) {
|
|
79150
79076
|
for (var e4 = i2, r2 = 9; --r2; ) e4 = (1 & e4 && 3988292384) ^ e4 >>> 1;
|
|
@@ -79162,31 +79088,31 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
|
|
|
79162
79088
|
}, Cr = function(t3, i2, e4, r2, s4) {
|
|
79163
79089
|
return function(t4, i3, e5, r3, s5, n2) {
|
|
79164
79090
|
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;
|
|
79165
|
-
if (!i3 || o2 < 8) for (var
|
|
79166
|
-
var d4 =
|
|
79167
|
-
d4 < o2 ? u3 = Ir(l2, u3, t4.subarray(
|
|
79091
|
+
if (!i3 || o2 < 8) for (var h6 = 0; h6 <= o2; h6 += 65535) {
|
|
79092
|
+
var d4 = h6 + 65535;
|
|
79093
|
+
d4 < o2 ? u3 = Ir(l2, u3, t4.subarray(h6, d4)) : (l2[h6] = n2, u3 = Ir(l2, u3, t4.subarray(h6, o2)));
|
|
79168
79094
|
}
|
|
79169
79095
|
else {
|
|
79170
79096
|
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) {
|
|
79171
79097
|
return (t4[i4] ^ t4[i4 + 1] << m4 ^ t4[i4 + 2] << b3) & p2;
|
|
79172
|
-
}, w3 = new er(25e3), S4 = new ir(288), $2 = new ir(32), k3 = 0, x3 = 0, E3 = (
|
|
79173
|
-
var R3 = y4(
|
|
79174
|
-
if (_2[T3] = M4, g2[R3] = T3, I3 <=
|
|
79175
|
-
var C2 = o2 -
|
|
79098
|
+
}, w3 = new er(25e3), S4 = new ir(288), $2 = new ir(32), k3 = 0, x3 = 0, E3 = (h6 = 0, 0), I3 = 0, P2 = 0; h6 < o2; ++h6) {
|
|
79099
|
+
var R3 = y4(h6), T3 = 32767 & h6, M4 = g2[R3];
|
|
79100
|
+
if (_2[T3] = M4, g2[R3] = T3, I3 <= h6) {
|
|
79101
|
+
var C2 = o2 - h6;
|
|
79176
79102
|
if ((k3 > 7e3 || E3 > 24576) && C2 > 423) {
|
|
79177
|
-
u3 = Pr(t4, l2, 0, w3, S4, $2, x3, E3, P2,
|
|
79103
|
+
u3 = Pr(t4, l2, 0, w3, S4, $2, x3, E3, P2, h6 - P2, u3), E3 = k3 = x3 = 0, P2 = h6;
|
|
79178
79104
|
for (var O3 = 0; O3 < 286; ++O3) S4[O3] = 0;
|
|
79179
79105
|
for (O3 = 0; O3 < 30; ++O3) $2[O3] = 0;
|
|
79180
79106
|
}
|
|
79181
79107
|
var F2 = 2, A2 = 0, D4 = f2, L3 = T3 - M4 & 32767;
|
|
79182
|
-
if (C2 > 2 && R3 == y4(
|
|
79183
|
-
if (t4[
|
|
79184
|
-
for (var U2 = 0; U2 < z3 && t4[
|
|
79108
|
+
if (C2 > 2 && R3 == y4(h6 - L3)) for (var N2 = Math.min(c3, C2) - 1, j2 = Math.min(32767, h6), z3 = Math.min(258, C2); L3 <= j2 && --D4 && T3 != M4; ) {
|
|
79109
|
+
if (t4[h6 + F2] == t4[h6 + F2 - L3]) {
|
|
79110
|
+
for (var U2 = 0; U2 < z3 && t4[h6 + U2] == t4[h6 + U2 - L3]; ++U2) ;
|
|
79185
79111
|
if (U2 > F2) {
|
|
79186
79112
|
if (F2 = U2, A2 = L3, U2 > N2) break;
|
|
79187
79113
|
var q3 = Math.min(L3, U2 - 2), B3 = 0;
|
|
79188
79114
|
for (O3 = 0; O3 < q3; ++O3) {
|
|
79189
|
-
var H5 =
|
|
79115
|
+
var H5 = h6 - L3 + O3 + 32768 & 32767, W2 = H5 - _2[H5] + 32768 & 32767;
|
|
79190
79116
|
W2 > B3 && (B3 = W2, M4 = H5);
|
|
79191
79117
|
}
|
|
79192
79118
|
}
|
|
@@ -79196,14 +79122,14 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
|
|
|
79196
79122
|
if (A2) {
|
|
79197
79123
|
w3[E3++] = 268435456 | ur[F2] << 18 | hr[A2];
|
|
79198
79124
|
var G3 = 31 & ur[F2], J2 = 31 & hr[A2];
|
|
79199
|
-
x3 += rr[G3] + sr[J2], ++S4[257 + G3], ++$2[J2], I3 =
|
|
79200
|
-
} else w3[E3++] = t4[
|
|
79125
|
+
x3 += rr[G3] + sr[J2], ++S4[257 + G3], ++$2[J2], I3 = h6 + F2, ++k3;
|
|
79126
|
+
} else w3[E3++] = t4[h6], ++S4[t4[h6]];
|
|
79201
79127
|
}
|
|
79202
79128
|
}
|
|
79203
|
-
u3 = Pr(t4, l2, n2, w3, S4, $2, x3, E3, P2,
|
|
79129
|
+
u3 = Pr(t4, l2, n2, w3, S4, $2, x3, E3, P2, h6 - P2, u3);
|
|
79204
79130
|
}
|
|
79205
79131
|
return yr(a4, 0, r3 + br(u3) + s5);
|
|
79206
|
-
}(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,
|
|
79132
|
+
}(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);
|
|
79207
79133
|
}, Or = function(t3, i2, e4) {
|
|
79208
79134
|
for (; e4; ++i2) t3[i2] = e4, e4 >>>= 8;
|
|
79209
79135
|
}, Fr = function(t3, i2) {
|
|
@@ -79384,10 +79310,10 @@ function hs(t3) {
|
|
|
79384
79310
|
return function(t4, i2) {
|
|
79385
79311
|
for (var e4 = "", r2 = 0; r2 < t4.length; ) {
|
|
79386
79312
|
var s4 = t4[r2++];
|
|
79387
|
-
e4 += String.fromCharCode(s4);
|
|
79313
|
+
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));
|
|
79388
79314
|
}
|
|
79389
79315
|
return e4;
|
|
79390
|
-
}(Dr(Lr(JSON.stringify(t3))));
|
|
79316
|
+
}(Dr(Lr(JSON.stringify(t3))), true);
|
|
79391
79317
|
}
|
|
79392
79318
|
function ds(t3) {
|
|
79393
79319
|
return t3.type === qe.Custom && "sessionIdle" === t3.data.tag;
|
|
@@ -79427,20 +79353,20 @@ class vs {
|
|
|
79427
79353
|
return null != i2 ? i2 : t3;
|
|
79428
79354
|
}
|
|
79429
79355
|
get Ut() {
|
|
79430
|
-
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,
|
|
79431
|
-
if ("string" == typeof
|
|
79432
|
-
var d4 = parseFloat(
|
|
79433
|
-
|
|
79356
|
+
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, h6 = 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;
|
|
79357
|
+
if ("string" == typeof h6) {
|
|
79358
|
+
var d4 = parseFloat(h6);
|
|
79359
|
+
h6 = isNaN(d4) ? 0.4 : d4;
|
|
79434
79360
|
}
|
|
79435
|
-
return { enabled: l2, fps: se(u3, 0, 12, "canvas recording fps", 4), quality: se(
|
|
79361
|
+
return { enabled: l2, fps: se(u3, 0, 12, "canvas recording fps", 4), quality: se(h6, 0, 1, "canvas recording quality", 0.4) };
|
|
79436
79362
|
}
|
|
79437
79363
|
get qt() {
|
|
79438
79364
|
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 = I2(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);
|
|
79439
79365
|
return s4 || n2 || a4 ? { recordHeaders: s4, recordBody: n2, recordPerformance: a4 } : void 0;
|
|
79440
79366
|
}
|
|
79441
79367
|
get Bt() {
|
|
79442
|
-
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,
|
|
79443
|
-
return R2(l2) && R2(u3) && R2(
|
|
79368
|
+
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, h6 = null !== (n2 = null == a4 ? void 0 : a4.blockSelector) && void 0 !== n2 ? n2 : null == o2 ? void 0 : o2.blockSelector;
|
|
79369
|
+
return R2(l2) && R2(u3) && R2(h6) ? void 0 : { maskAllInputs: null == l2 || l2, maskTextSelector: u3, blockSelector: h6 };
|
|
79444
79370
|
}
|
|
79445
79371
|
get Ht() {
|
|
79446
79372
|
var t3 = this._instance.get_property(yt);
|
|
@@ -79517,10 +79443,10 @@ class vs {
|
|
|
79517
79443
|
ki(t3) {
|
|
79518
79444
|
if (this._instance.persistence) {
|
|
79519
79445
|
var i2, e4 = this._instance.persistence, r2 = () => {
|
|
79520
|
-
var i3, r3, s4, n2, o2, a4, l2, u3,
|
|
79446
|
+
var i3, r3, s4, n2, o2, a4, l2, u3, h6, d4 = null == (i3 = t3.sessionRecording) ? void 0 : i3.sampleRate, v2 = O2(d4) ? null : parseFloat(d4);
|
|
79521
79447
|
O2(v2) && this.wi();
|
|
79522
79448
|
var c3 = null == (r3 = t3.sessionRecording) ? void 0 : r3.minimumDurationMilliseconds;
|
|
79523
|
-
e4.register({ [pt]: !!t3.sessionRecording, [_t]: null == (s4 = t3.sessionRecording) ? void 0 : s4.consoleLogRecordingEnabled, [gt]: B2({ 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]: R2(c3) ? null : c3, [St]: null == (
|
|
79449
|
+
e4.register({ [pt]: !!t3.sessionRecording, [_t]: null == (s4 = t3.sessionRecording) ? void 0 : s4.consoleLogRecordingEnabled, [gt]: B2({ 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]: R2(c3) ? null : c3, [St]: null == (h6 = t3.sessionRecording) ? void 0 : h6.scriptConfig });
|
|
79524
79450
|
};
|
|
79525
79451
|
r2(), null == (i2 = this.ei) || i2.call(this), this.ei = this.Ft.onSessionId(r2);
|
|
79526
79452
|
}
|
|
@@ -79645,8 +79571,8 @@ class vs {
|
|
|
79645
79571
|
ns.error("could not compress event - will use uncompressed event", t5);
|
|
79646
79572
|
}
|
|
79647
79573
|
return t4;
|
|
79648
|
-
}(n2) : n2,
|
|
79649
|
-
this.status !== jr ? this.zi(
|
|
79574
|
+
}(n2) : n2, h6 = { $snapshot_bytes: ze(u3), $snapshot_data: u3, $session_id: this.Mt, $window_id: this.ci };
|
|
79575
|
+
this.status !== jr ? this.zi(h6) : this.fi();
|
|
79650
79576
|
}
|
|
79651
79577
|
}
|
|
79652
79578
|
}
|
|
@@ -79765,12 +79691,12 @@ var ps = "posthog-js";
|
|
|
79765
79691
|
function _s(t3, i2) {
|
|
79766
79692
|
var { organization: e4, projectId: r2, prefix: s4, severityAllowList: n2 = ["error"] } = void 0 === i2 ? {} : i2;
|
|
79767
79693
|
return (i3) => {
|
|
79768
|
-
var o2, a4, l2, u3,
|
|
79694
|
+
var o2, a4, l2, u3, h6;
|
|
79769
79695
|
if (!("*" === n2 || n2.includes(i3.level)) || !t3.__loaded) return i3;
|
|
79770
79696
|
i3.tags || (i3.tags = {});
|
|
79771
79697
|
var d4 = t3.requestRouter.endpointFor("ui", "/project/" + t3.config.token + "/person/" + t3.get_distinct_id());
|
|
79772
79698
|
i3.tags["PostHog Person URL"] = d4, t3.sessionRecordingStarted() && (i3.tags["PostHog Recording URL"] = t3.get_session_replay_url({ withTimestamp: true }));
|
|
79773
|
-
var v2 = (null == (o2 = i3.exception) ? void 0 : o2.values) || [], c3 = v2.map((t4) => B2({}, t4, { stacktrace: t4.stacktrace ? B2({}, t4.stacktrace, { type: "raw", frames: (t4.stacktrace.frames || []).map((t5) => B2({}, 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 == (
|
|
79699
|
+
var v2 = (null == (o2 = i3.exception) ? void 0 : o2.values) || [], c3 = v2.map((t4) => B2({}, t4, { stacktrace: t4.stacktrace ? B2({}, t4.stacktrace, { type: "raw", frames: (t4.stacktrace.frames || []).map((t5) => B2({}, 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 == (h6 = v2[0]) ? void 0 : h6.type, $sentry_tags: i3.tags };
|
|
79774
79700
|
return e4 && r2 && (f2.$sentry_url = (s4 || "https://sentry.io/organizations/") + e4 + "/issues/?project=" + r2 + "&query=" + i3.event_id), t3.exceptions.sendExceptionEvent(f2), i3;
|
|
79775
79701
|
};
|
|
79776
79702
|
}
|
|
@@ -80010,11 +79936,11 @@ class Ms {
|
|
|
80010
79936
|
if (!e4) return { $pageview_id: i2 };
|
|
80011
79937
|
var r2 = { $pageview_id: i2, $prev_pageview_id: e4.pageViewId }, s4 = this._instance.scrollManager.getContext();
|
|
80012
79938
|
if (s4 && !this._instance.config.disable_scroll_properties) {
|
|
80013
|
-
var { maxScrollHeight: n2, lastScrollY: o2, maxScrollY: a4, maxContentHeight: l2, lastContentY: u3, maxContentY:
|
|
80014
|
-
if (!(R2(n2) || R2(o2) || R2(a4) || R2(l2) || R2(u3) || R2(
|
|
80015
|
-
n2 = Math.ceil(n2), o2 = Math.ceil(o2), a4 = Math.ceil(a4), l2 = Math.ceil(l2), u3 = Math.ceil(u3),
|
|
80016
|
-
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(
|
|
80017
|
-
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:
|
|
79939
|
+
var { maxScrollHeight: n2, lastScrollY: o2, maxScrollY: a4, maxContentHeight: l2, lastContentY: u3, maxContentY: h6 } = s4;
|
|
79940
|
+
if (!(R2(n2) || R2(o2) || R2(a4) || R2(l2) || R2(u3) || R2(h6))) {
|
|
79941
|
+
n2 = Math.ceil(n2), o2 = Math.ceil(o2), a4 = Math.ceil(a4), l2 = Math.ceil(l2), u3 = Math.ceil(u3), h6 = Math.ceil(h6);
|
|
79942
|
+
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(h6 / l2, 0, 1);
|
|
79943
|
+
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: h6, $prev_pageview_max_content_percentage: f2 });
|
|
80018
79944
|
}
|
|
80019
79945
|
}
|
|
80020
79946
|
return e4.pathname && (r2.$prev_pageview_pathname = e4.pathname), e4.timestamp && (r2.$prev_pageview_duration = (t3.getTime() - e4.timestamp.getTime()) / 1e3), r2;
|
|
@@ -80044,13 +79970,13 @@ var Cs = function(t3) {
|
|
|
80044
79970
|
}
|
|
80045
79971
|
if (e4 === _.Base64) {
|
|
80046
79972
|
var n2 = function(t4) {
|
|
80047
|
-
var i3, e5, r3, s5, n3, o3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", a5 = 0, l2 = 0, u3 = "",
|
|
79973
|
+
var i3, e5, r3, s5, n3, o3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", a5 = 0, l2 = 0, u3 = "", h6 = [];
|
|
80048
79974
|
if (!t4) return t4;
|
|
80049
79975
|
t4 = Cs(t4);
|
|
80050
79976
|
do {
|
|
80051
|
-
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,
|
|
79977
|
+
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, h6[l2++] = o3.charAt(i3) + o3.charAt(e5) + o3.charAt(r3) + o3.charAt(s5);
|
|
80052
79978
|
} while (a5 < t4.length);
|
|
80053
|
-
switch (u3 =
|
|
79979
|
+
switch (u3 = h6.join(""), t4.length % 3) {
|
|
80054
79980
|
case 1:
|
|
80055
79981
|
u3 = u3.slice(0, -2) + "==";
|
|
80056
79982
|
break;
|
|
@@ -80071,8 +79997,8 @@ l && Ns.push({ transport: "fetch", method: (t3) => {
|
|
|
80071
79997
|
o2.append(i3, t4);
|
|
80072
79998
|
}), r2 && o2.append("Content-Type", r2);
|
|
80073
79999
|
var a4 = t3.url, u3 = null;
|
|
80074
|
-
if (
|
|
80075
|
-
var d4 = new
|
|
80000
|
+
if (h5) {
|
|
80001
|
+
var d4 = new h5();
|
|
80076
80002
|
u3 = { signal: d4.signal, timeout: setTimeout(() => d4.abort(), t3.timeout) };
|
|
80077
80003
|
}
|
|
80078
80004
|
l(a4, B2({ method: (null == t3 ? void 0 : t3.method) || "GET", headers: o2, keepalive: "POST" === t3.method && (n2 || 0) < 52428.8, body: s4, signal: null == (e4 = u3) ? void 0 : e4.signal }, t3.fetchOptions)).then((i3) => i3.text().then((e5) => {
|
|
@@ -80318,8 +80244,8 @@ class vo {
|
|
|
80318
80244
|
if (!e4 && !i2) return t3 || {};
|
|
80319
80245
|
var r2 = V({}, t3 || {}), s4 = [.../* @__PURE__ */ new Set([...Object.keys(e4 || {}), ...Object.keys(i2 || {})])];
|
|
80320
80246
|
for (var n2 of s4) {
|
|
80321
|
-
var o2, a4, l2 = r2[n2], u3 = null == i2 ? void 0 : i2[n2],
|
|
80322
|
-
if (
|
|
80247
|
+
var o2, a4, l2 = r2[n2], u3 = null == i2 ? void 0 : i2[n2], h6 = R2(u3) ? null !== (o2 = null == l2 ? void 0 : l2.enabled) && void 0 !== o2 && o2 : !!u3, d4 = R2(u3) ? l2.variant : "string" == typeof u3 ? u3 : void 0, v2 = null == e4 ? void 0 : e4[n2], c3 = B2({}, l2, { enabled: h6, variant: h6 ? null != d4 ? d4 : null == l2 ? void 0 : l2.variant : void 0 });
|
|
80248
|
+
if (h6 !== (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 = B2({}, null == l2 ? void 0 : l2.metadata, { payload: v2, original_payload: null == l2 || null == (a4 = l2.metadata) ? void 0 : a4.payload });
|
|
80323
80249
|
r2[n2] = c3;
|
|
80324
80250
|
}
|
|
80325
80251
|
return this.pe || (eo.warn(" Overriding feature flag details!", { flagDetails: t3, overriddenPayloads: e4, finalDetails: r2 }), this.pe = true), r2;
|
|
@@ -80376,11 +80302,11 @@ class vo {
|
|
|
80376
80302
|
if (void 0 === i2 && (i2 = {}), this._e || this.getFlags() && this.getFlags().length > 0) {
|
|
80377
80303
|
var e4 = this.getFlagVariants()[t3], r2 = "" + e4, s4 = this._instance.get_property(ao) || void 0, n2 = this._instance.get_property(Ft) || {};
|
|
80378
80304
|
if ((i2.send_event || !("send_event" in i2)) && (!(t3 in n2) || !n2[t3].includes(r2))) {
|
|
80379
|
-
var o2, a4, l2, u3,
|
|
80305
|
+
var o2, a4, l2, u3, h6, d4, v2, c3, f2;
|
|
80380
80306
|
x2(n2[t3]) ? n2[t3].push(r2) : n2[t3] = [r2], null == (o2 = this._instance.persistence) || o2.register({ [Ft]: n2 });
|
|
80381
80307
|
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 };
|
|
80382
80308
|
R2(null == p2 || null == (u3 = p2.metadata) ? void 0 : u3.version) || (_2.$feature_flag_version = p2.metadata.version);
|
|
80383
|
-
var g2, m4 = null !== (
|
|
80309
|
+
var g2, m4 = null !== (h6 = null == p2 || null == (d4 = p2.reason) ? void 0 : d4.description) && void 0 !== h6 ? h6 : null == p2 || null == (v2 = p2.reason) ? void 0 : v2.code;
|
|
80384
80310
|
if (m4 && (_2.$feature_flag_reason = m4), null != p2 && null != (c3 = p2.metadata) && c3.id && (_2.$feature_flag_id = p2.metadata.id), R2(null == p2 ? void 0 : p2.original_variant) && R2(null == p2 ? void 0 : p2.original_enabled) || (_2.$feature_flag_original_response = R2(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;
|
|
80385
80311
|
this._instance.capture("$feature_flag_called", _2);
|
|
80386
80312
|
}
|
|
@@ -80422,9 +80348,9 @@ class vo {
|
|
|
80422
80348
|
var u3 = t4.requestId;
|
|
80423
80349
|
if (x2(a4)) {
|
|
80424
80350
|
eo.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");
|
|
80425
|
-
var
|
|
80426
|
-
if (a4) for (var d4 = 0; d4 < a4.length; d4++)
|
|
80427
|
-
i3 && i3.register({ [ro]: a4, [It]:
|
|
80351
|
+
var h6 = {};
|
|
80352
|
+
if (a4) for (var d4 = 0; d4 < a4.length; d4++) h6[a4[d4]] = true;
|
|
80353
|
+
i3 && i3.register({ [ro]: a4, [It]: h6 });
|
|
80428
80354
|
} else {
|
|
80429
80355
|
var v2 = a4, c3 = l2, f2 = o2;
|
|
80430
80356
|
t4.errorsWhileComputingFlags && (v2 = B2({}, e5, v2), c3 = B2({}, r3, c3), f2 = B2({}, s5, f2)), i3 && i3.register(B2({ [ro]: Object.keys(lo(v2)), [It]: v2 || {}, [no]: c3 || {}, [Rt]: f2 || {} }, u3 ? { [ao]: u3 } : {}));
|
|
@@ -81254,10 +81180,10 @@ class qo {
|
|
|
81254
81180
|
}
|
|
81255
81181
|
checkAndGetSessionAndWindowId(t3, i2) {
|
|
81256
81182
|
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");
|
|
81257
|
-
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,
|
|
81258
|
-
u3 ||
|
|
81183
|
+
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, h6 = !t3 && Math.abs(e4 - r2) > this.sessionTimeoutMs;
|
|
81184
|
+
u3 || h6 || a4 ? (s4 = this.Ur(), o2 = this.qr(), Uo.info("new session ID generated", { sessionId: s4, windowId: o2, changeReason: { noSessionId: u3, activityTimeout: h6, sessionPastMaximumLength: a4 } }), n2 = e4, l2 = true) : o2 || (o2 = this.qr(), l2 = true);
|
|
81259
81185
|
var d4 = 0 === r2 || !t3 || a4 ? e4 : r2, v2 = 0 === n2 ? (/* @__PURE__ */ new Date()).getTime() : n2;
|
|
81260
|
-
return this.Kr(o2), this.Jr(s4, d4, v2), t3 || this.Br(), l2 && this.zr.forEach((t4) => t4(s4, o2, l2 ? { noSessionId: u3, activityTimeout:
|
|
81186
|
+
return this.Kr(o2), this.Jr(s4, d4, v2), t3 || this.Br(), l2 && this.zr.forEach((t4) => t4(s4, o2, l2 ? { noSessionId: u3, activityTimeout: h6, sessionPastMaximumLength: a4 } : void 0)), { sessionId: s4, windowId: o2, sessionStartTimestamp: v2, changeReason: l2 ? { noSessionId: u3, activityTimeout: h6, sessionPastMaximumLength: a4 } : void 0, lastActivityTimestamp: r2 };
|
|
81261
81187
|
}
|
|
81262
81188
|
Br() {
|
|
81263
81189
|
clearTimeout(this.Qr), this.Qr = setTimeout(() => {
|
|
@@ -81294,8 +81220,8 @@ class Wo {
|
|
|
81294
81220
|
globalsForEvent(t3) {
|
|
81295
81221
|
var i2, e4, r2, s4, n2, o2, a4;
|
|
81296
81222
|
if (!t3) throw new Error("Event payload is required");
|
|
81297
|
-
var l2 = {}, u3 = this._instance.get_property("$groups") || [],
|
|
81298
|
-
for (var [d4, v2] of Object.entries(
|
|
81223
|
+
var l2 = {}, u3 = this._instance.get_property("$groups") || [], h6 = this._instance.get_property("$stored_group_properties") || {};
|
|
81224
|
+
for (var [d4, v2] of Object.entries(h6)) l2[d4] = { id: u3[d4], type: d4, properties: v2 };
|
|
81299
81225
|
var { $set_once: c3, $set: f2 } = t3;
|
|
81300
81226
|
return { event: B2({}, H4(t3, Bo), { properties: B2({}, t3.properties, f2 ? { $set: B2({}, null !== (i2 = null == (e4 = t3.properties) ? void 0 : e4.$set) && void 0 !== i2 ? i2 : {}, f2) } : {}, c3 ? { $set_once: B2({}, 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 };
|
|
81301
81227
|
}
|
|
@@ -81474,7 +81400,7 @@ class Zo {
|
|
|
81474
81400
|
if (O2(t3.conditions) || O2(null == (i2 = t3.conditions) ? void 0 : i2.utm)) return true;
|
|
81475
81401
|
var e4 = Gn();
|
|
81476
81402
|
if (e4.utm_source) {
|
|
81477
|
-
var r2, s4, n2, o2, a4, l2, u3,
|
|
81403
|
+
var r2, s4, n2, o2, a4, l2, u3, h6, 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 == (h6 = t3.conditions) || null == (h6 = h6.utm) ? void 0 : h6.utm_term) == e4.utm_term;
|
|
81478
81404
|
return d4 && c3 && f2 && v2;
|
|
81479
81405
|
}
|
|
81480
81406
|
return false;
|
|
@@ -81555,7 +81481,7 @@ class aa {
|
|
|
81555
81481
|
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.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(B2({}, this.config, { persistence: "sessionStorage" }));
|
|
81556
81482
|
var o2 = B2({}, this.persistence.props), a4 = B2({}, this.sessionPersistence.props);
|
|
81557
81483
|
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), this.deadClicksAutocapture.startIfEnabled(), this.historyAutocapture = new je(this), this.historyAutocapture.startIfEnabled(), c2.DEBUG = c2.DEBUG || this.config.debug, c2.DEBUG && j.info("Starting in debug mode", { this: this, config: e4, thisC: B2({}, this.config), p: o2, s: a4 }), this.Es(), void 0 !== (null == (n2 = e4.bootstrap) ? void 0 : n2.distinctID)) {
|
|
81558
|
-
var l2, u3,
|
|
81484
|
+
var l2, u3, h6 = this.config.get_device_id(Ni()), d4 = null != (l2 = e4.bootstrap) && l2.isIdentifiedID ? h6 : e4.bootstrap.distinctID;
|
|
81559
81485
|
this.persistence.set_property(At, null != (u3 = e4.bootstrap) && u3.isIdentifiedID ? "identified" : "anonymous"), this.register({ distinct_id: e4.bootstrap.distinctID, $device_id: d4 });
|
|
81560
81486
|
}
|
|
81561
81487
|
if (this.Is()) {
|
|
@@ -81657,10 +81583,10 @@ class aa {
|
|
|
81657
81583
|
null != i2 && i2.$current_url && !T2(null == i2 ? void 0 : i2.$current_url) && (j.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();
|
|
81658
81584
|
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) };
|
|
81659
81585
|
s4 && (l2.properties.$lib_rate_limit_remaining_tokens = s4.remainingTokens), (null == e4 ? void 0 : e4.$set) && (l2.$set = null == e4 ? void 0 : e4.$set);
|
|
81660
|
-
var u3,
|
|
81586
|
+
var u3, h6, d4 = this.Cs(null == e4 ? void 0 : e4.$set_once);
|
|
81661
81587
|
if (d4 && (l2.$set_once = d4), (l2 = tt(l2, null != e4 && e4._noTruncate ? null : this.config.properties_string_max_length)).timestamp = o2, R2(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) {
|
|
81662
81588
|
var v2 = null == i2 ? void 0 : i2[Ro.SURVEY_ID], c3 = null == i2 ? void 0 : i2[Ro.SURVEY_ITERATION];
|
|
81663
|
-
localStorage.setItem((
|
|
81589
|
+
localStorage.setItem((h6 = "" + mo + (u3 = { id: v2, current_iteration: c3 }).id, u3.current_iteration && u3.current_iteration > 0 && (h6 = "" + mo + u3.id + "_" + u3.current_iteration), h6), "true"), l2.$set = B2({}, l2.$set, { [bo({ id: v2, current_iteration: c3 }, t3 === Po.SENT ? "responded" : "dismissed")]: true });
|
|
81664
81590
|
}
|
|
81665
81591
|
var f2 = B2({}, l2.properties.$set, l2.$set);
|
|
81666
81592
|
if (P(f2) || this.setPersonPropertiesForFlags(f2), !O2(this.config.before_send)) {
|
|
@@ -81687,7 +81613,7 @@ class aa {
|
|
|
81687
81613
|
var l2 = B2({}, this.persistence.properties(), this.sessionPersistence.properties());
|
|
81688
81614
|
return a4.distinct_id = l2.distinct_id, (!T2(a4.distinct_id) && !F(a4.distinct_id) || M3(a4.distinct_id)) && j.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"), a4;
|
|
81689
81615
|
}
|
|
81690
|
-
var u3,
|
|
81616
|
+
var u3, h6 = io(this.config.mask_personal_data_properties, this.config.custom_personal_data_properties);
|
|
81691
81617
|
if (this.sessionManager) {
|
|
81692
81618
|
var { sessionId: v2, windowId: c3 } = this.sessionManager.checkAndGetSessionAndWindowId(s4, e4.getTime());
|
|
81693
81619
|
a4.$session_id = v2, a4.$window_id = c3;
|
|
@@ -81703,7 +81629,7 @@ class aa {
|
|
|
81703
81629
|
var p2 = e4.getTime() - n2;
|
|
81704
81630
|
a4.$duration = parseFloat((p2 / 1e3).toFixed(3));
|
|
81705
81631
|
}
|
|
81706
|
-
d3 && this.config.opt_out_useragent_filter && (a4.$browser_type = this._is_bot() ? "bot" : "browser"), (a4 = V({},
|
|
81632
|
+
d3 && this.config.opt_out_useragent_filter && (a4.$browser_type = this._is_bot() ? "bot" : "browser"), (a4 = V({}, h6, this.persistence.properties(), this.sessionPersistence.properties(), a4)).$is_identified = this._isIdentified(), x2(this.config.property_denylist) ? J(this.config.property_denylist, function(t4) {
|
|
81707
81633
|
delete a4[t4];
|
|
81708
81634
|
}) : j.error("Invalid value for property_denylist config: " + this.config.property_denylist + " or property_blacklist config: " + this.config.property_blacklist);
|
|
81709
81635
|
var _2 = this.config.sanitize_properties;
|
|
@@ -83585,25 +83511,25 @@ const rgbToShadcnHsl = (r2, g2, b3) => {
|
|
|
83585
83511
|
b3 /= 255;
|
|
83586
83512
|
const max2 = Math.max(r2, g2, b3);
|
|
83587
83513
|
const min2 = Math.min(r2, g2, b3);
|
|
83588
|
-
let
|
|
83514
|
+
let h6 = 0, s4 = 0;
|
|
83589
83515
|
const l2 = (max2 + min2) / 2;
|
|
83590
83516
|
if (max2 !== min2) {
|
|
83591
83517
|
const d4 = max2 - min2;
|
|
83592
83518
|
s4 = l2 > 0.5 ? d4 / (2 - max2 - min2) : d4 / (max2 + min2);
|
|
83593
83519
|
switch (max2) {
|
|
83594
83520
|
case r2:
|
|
83595
|
-
|
|
83521
|
+
h6 = (g2 - b3) / d4 + (g2 < b3 ? 6 : 0);
|
|
83596
83522
|
break;
|
|
83597
83523
|
case g2:
|
|
83598
|
-
|
|
83524
|
+
h6 = (b3 - r2) / d4 + 2;
|
|
83599
83525
|
break;
|
|
83600
83526
|
case b3:
|
|
83601
|
-
|
|
83527
|
+
h6 = (r2 - g2) / d4 + 4;
|
|
83602
83528
|
break;
|
|
83603
83529
|
}
|
|
83604
|
-
|
|
83530
|
+
h6 *= 60;
|
|
83605
83531
|
}
|
|
83606
|
-
return `${Math.round(
|
|
83532
|
+
return `${Math.round(h6)} ${Math.round(s4 * 100)}% ${Math.round(l2 * 100)}%`;
|
|
83607
83533
|
};
|
|
83608
83534
|
const extractRgb = (rgbColor) => {
|
|
83609
83535
|
const matches2 = rgbColor.match(/\d+/g);
|
|
@@ -84186,6 +84112,29 @@ const injectThemeSynchronously = (theme2, darkMode) => {
|
|
|
84186
84112
|
});
|
|
84187
84113
|
};
|
|
84188
84114
|
const defaultTranslations = {
|
|
84115
|
+
engage: {
|
|
84116
|
+
user: "User",
|
|
84117
|
+
user_other: "Users",
|
|
84118
|
+
automation: "Automation",
|
|
84119
|
+
automation_other: "Automations",
|
|
84120
|
+
segment: "Segment",
|
|
84121
|
+
segment_other: "Segments",
|
|
84122
|
+
broadcast: "Broadcast",
|
|
84123
|
+
broadcast_other: "Broadcasts",
|
|
84124
|
+
trigger_based: "Trigger Based",
|
|
84125
|
+
insight: "Insight",
|
|
84126
|
+
insight_other: "Insights",
|
|
84127
|
+
merge_field: "Merge Field",
|
|
84128
|
+
merge_field_other: "Merge Fields",
|
|
84129
|
+
extra_merge_field_name: "Custom Fields",
|
|
84130
|
+
extra_merge_field_name_other: "Custom Fields",
|
|
84131
|
+
advanced_merge_field_name: "Advanced Fields",
|
|
84132
|
+
advanced_merge_field_name_other: "Advanced Fields"
|
|
84133
|
+
},
|
|
84134
|
+
measure: {
|
|
84135
|
+
transaction_table_id_header: "Transaction ID",
|
|
84136
|
+
transaction_table_created_header: "Transaction Created"
|
|
84137
|
+
},
|
|
84189
84138
|
common: {
|
|
84190
84139
|
measure: {
|
|
84191
84140
|
dashboard: {
|
|
@@ -86984,7 +86933,11 @@ const contactSourceSchema = z$2.object({
|
|
|
86984
86933
|
smsOptOut: z$2.string().optional(),
|
|
86985
86934
|
smsOptIn: z$2.string().optional(),
|
|
86986
86935
|
urlPattern: z$2.string().optional(),
|
|
86987
|
-
smsOptOutTimestamp: z$2.string().optional()
|
|
86936
|
+
smsOptOutTimestamp: z$2.string().optional(),
|
|
86937
|
+
/** Partner resource field path for point-of-contact display name (when POC sender is enabled). */
|
|
86938
|
+
pointOfContactName: z$2.string().optional(),
|
|
86939
|
+
/** Partner resource field path for point-of-contact email (when POC sender is enabled). */
|
|
86940
|
+
pointOfContactEmail: z$2.string().optional()
|
|
86988
86941
|
}).refine((data) => {
|
|
86989
86942
|
const hasFirstAndLast = data.firstName && data.lastName;
|
|
86990
86943
|
const hasFullName = data.fullName;
|
|
@@ -87323,6 +87276,8 @@ const BigSelector = ({
|
|
|
87323
87276
|
const styles$5 = {
|
|
87324
87277
|
title: "text-3xl mb-8",
|
|
87325
87278
|
grid: "grid grid-cols-2 gap-6",
|
|
87279
|
+
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",
|
|
87280
|
+
cardDisabled: "opacity-60 cursor-not-allowed hover:border-gray-200",
|
|
87326
87281
|
container: "relative p-6 rounded-lg",
|
|
87327
87282
|
iconWrapper: "mb-4 flex items-center justify-center text-primary",
|
|
87328
87283
|
cardTitle: "text-lg font-medium mb-2 text-primary",
|
|
@@ -87847,11 +87802,11 @@ function createHeader(table, column, options) {
|
|
|
87847
87802
|
headerGroup: null,
|
|
87848
87803
|
getLeafHeaders: () => {
|
|
87849
87804
|
const leafHeaders = [];
|
|
87850
|
-
const recurseHeader = (
|
|
87851
|
-
if (
|
|
87852
|
-
|
|
87805
|
+
const recurseHeader = (h6) => {
|
|
87806
|
+
if (h6.subHeaders && h6.subHeaders.length) {
|
|
87807
|
+
h6.subHeaders.map(recurseHeader);
|
|
87853
87808
|
}
|
|
87854
|
-
leafHeaders.push(
|
|
87809
|
+
leafHeaders.push(h6);
|
|
87855
87810
|
};
|
|
87856
87811
|
recurseHeader(header2);
|
|
87857
87812
|
return leafHeaders;
|
|
@@ -91441,8 +91396,8 @@ function createDateColumn({
|
|
|
91441
91396
|
header: () => /* @__PURE__ */ jsx(
|
|
91442
91397
|
"div",
|
|
91443
91398
|
{
|
|
91444
|
-
className: `float-right h-8 flex items-center justify-end px-2 sm:px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName}`.trim(),
|
|
91445
|
-
children: /* @__PURE__ */ jsx("span", { children: header2 })
|
|
91399
|
+
className: `float-right h-8 flex items-center justify-end px-2 sm:px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName || ""}`.trim(),
|
|
91400
|
+
children: typeof header2 === "function" ? header2() : /* @__PURE__ */ jsx("span", { children: header2 })
|
|
91446
91401
|
}
|
|
91447
91402
|
),
|
|
91448
91403
|
cell: (info) => {
|
|
@@ -91495,7 +91450,7 @@ function createNumericColumn({
|
|
|
91495
91450
|
header: () => /* @__PURE__ */ jsx(
|
|
91496
91451
|
"div",
|
|
91497
91452
|
{
|
|
91498
|
-
className: `float-right h-8 flex items-center justify-end px-2 sm:px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName}`.trim(),
|
|
91453
|
+
className: `float-right h-8 flex items-center justify-end px-2 sm:px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName || ""}`.trim(),
|
|
91499
91454
|
children: typeof header2 === "function" ? header2() : /* @__PURE__ */ jsx("span", { children: header2 })
|
|
91500
91455
|
}
|
|
91501
91456
|
),
|
|
@@ -91542,7 +91497,7 @@ function createIconActionColumn({
|
|
|
91542
91497
|
header: () => /* @__PURE__ */ jsx(
|
|
91543
91498
|
"div",
|
|
91544
91499
|
{
|
|
91545
|
-
className: `float-right h-8 flex items-center justify-end px-2 sm:px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName}`.trim(),
|
|
91500
|
+
className: `float-right h-8 flex items-center justify-end px-2 sm:px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName || ""}`.trim(),
|
|
91546
91501
|
children: typeof header2 === "function" ? header2() : /* @__PURE__ */ jsx("span", { className: "whitespace-nowrap", children: header2 })
|
|
91547
91502
|
}
|
|
91548
91503
|
),
|
|
@@ -91564,7 +91519,7 @@ function createIconActionColumn({
|
|
|
91564
91519
|
className: "whitespace-nowrap shrink-0",
|
|
91565
91520
|
children: [
|
|
91566
91521
|
/* @__PURE__ */ jsx(IconComponent, { className: "h-4 w-4 shrink-0" }),
|
|
91567
|
-
/* @__PURE__ */ jsx("span", { className: "ml-1.5 shrink-0", children: text2 })
|
|
91522
|
+
text2 && /* @__PURE__ */ jsx("span", { className: "ml-1.5 shrink-0", children: text2 })
|
|
91568
91523
|
]
|
|
91569
91524
|
}
|
|
91570
91525
|
)
|
|
@@ -92990,7 +92945,9 @@ async function loadRouteModule(route, routeModulesCache) {
|
|
|
92990
92945
|
);
|
|
92991
92946
|
console.error(error2);
|
|
92992
92947
|
if (window.__reactRouterContext && window.__reactRouterContext.isSpaMode && // @ts-expect-error
|
|
92993
|
-
void 0)
|
|
92948
|
+
void 0) {
|
|
92949
|
+
throw error2;
|
|
92950
|
+
}
|
|
92994
92951
|
window.location.reload();
|
|
92995
92952
|
return new Promise(() => {
|
|
92996
92953
|
});
|
|
@@ -94282,6 +94239,7 @@ function createStatusColumn(args) {
|
|
|
94282
94239
|
const { onToggle, vsaasManaged, pillForStatus } = args;
|
|
94283
94240
|
return createTextColumn({
|
|
94284
94241
|
accessorKey: "status",
|
|
94242
|
+
id: "status",
|
|
94285
94243
|
header: `Status`,
|
|
94286
94244
|
enableSorting: false,
|
|
94287
94245
|
enableHiding: false,
|
|
@@ -94320,6 +94278,7 @@ function createBroadcastActionColumn(args) {
|
|
|
94320
94278
|
const { vsaasManaged, pillForStatus, onDuplicate, onArchive, onEdit, onCancel } = args;
|
|
94321
94279
|
return createTextColumn({
|
|
94322
94280
|
accessorKey: "status",
|
|
94281
|
+
id: "status",
|
|
94323
94282
|
header: `Status`,
|
|
94324
94283
|
enableSorting: false,
|
|
94325
94284
|
enableHiding: false,
|
|
@@ -94410,6 +94369,9 @@ function createColumns(args) {
|
|
|
94410
94369
|
createCountColumn("smsSent", "SMS Sent"),
|
|
94411
94370
|
createModifiedColumn(),
|
|
94412
94371
|
isBroadcast ? createBroadcastActionColumn({
|
|
94372
|
+
setUrl,
|
|
94373
|
+
onToggle,
|
|
94374
|
+
automationName,
|
|
94413
94375
|
vsaasManaged,
|
|
94414
94376
|
pillForStatus,
|
|
94415
94377
|
onDuplicate,
|
|
@@ -94417,7 +94379,9 @@ function createColumns(args) {
|
|
|
94417
94379
|
onEdit,
|
|
94418
94380
|
onCancel
|
|
94419
94381
|
}) : createStatusColumn({
|
|
94382
|
+
setUrl,
|
|
94420
94383
|
onToggle,
|
|
94384
|
+
automationName,
|
|
94421
94385
|
vsaasManaged,
|
|
94422
94386
|
pillForStatus
|
|
94423
94387
|
})
|
|
@@ -95052,7 +95016,9 @@ var AutomationTabs = /* @__PURE__ */ ((AutomationTabs2) => {
|
|
|
95052
95016
|
})(AutomationTabs || {});
|
|
95053
95017
|
const DEFAULT_EMAIL_PREVIEW_HEIGHT = 400;
|
|
95054
95018
|
const SMS_LIMITS = {
|
|
95055
|
-
|
|
95019
|
+
ABSOLUTE_LIMIT: 1500,
|
|
95020
|
+
RECOMMENDED_LIMIT: 320,
|
|
95021
|
+
COMPANY_NAME_LIMIT: 100
|
|
95056
95022
|
};
|
|
95057
95023
|
const TitleAndResetButton = ({ title: title2, type }) => {
|
|
95058
95024
|
const { communicationGroup } = useCurrentCommunicationGroup();
|
|
@@ -98339,7 +98305,7 @@ const OPT_PRESERVE_WS = 1, OPT_PRESERVE_WS_FULL = 2, OPT_OPEN_LEFT = 4;
|
|
|
98339
98305
|
function wsOptionsFor(type, preserveWhitespace, base2) {
|
|
98340
98306
|
if (preserveWhitespace != null)
|
|
98341
98307
|
return (preserveWhitespace ? OPT_PRESERVE_WS : 0) | (preserveWhitespace === "full" ? OPT_PRESERVE_WS_FULL : 0);
|
|
98342
|
-
return type && type.whitespace == "pre" ? OPT_PRESERVE_WS | OPT_PRESERVE_WS_FULL : base2 &
|
|
98308
|
+
return type && type.whitespace == "pre" ? OPT_PRESERVE_WS | OPT_PRESERVE_WS_FULL : base2 & ~OPT_OPEN_LEFT;
|
|
98343
98309
|
}
|
|
98344
98310
|
class NodeContext {
|
|
98345
98311
|
constructor(type, attrs, marks, solid, match2, options) {
|
|
@@ -101310,7 +101276,7 @@ class Transaction extends Transform {
|
|
|
101310
101276
|
throw new RangeError("Selection passed to setSelection must point at the current document");
|
|
101311
101277
|
this.curSelection = selection;
|
|
101312
101278
|
this.curSelectionFor = this.steps.length;
|
|
101313
|
-
this.updated = (this.updated | UPDATED_SEL) &
|
|
101279
|
+
this.updated = (this.updated | UPDATED_SEL) & ~UPDATED_MARKS;
|
|
101314
101280
|
this.storedMarks = null;
|
|
101315
101281
|
return this;
|
|
101316
101282
|
}
|
|
@@ -101361,7 +101327,7 @@ class Transaction extends Transform {
|
|
|
101361
101327
|
*/
|
|
101362
101328
|
addStep(step, doc2) {
|
|
101363
101329
|
super.addStep(step, doc2);
|
|
101364
|
-
this.updated = this.updated &
|
|
101330
|
+
this.updated = this.updated & ~UPDATED_MARKS;
|
|
101365
101331
|
this.storedMarks = null;
|
|
101366
101332
|
}
|
|
101367
101333
|
/**
|
|
@@ -107384,58 +107350,6 @@ const liftEmptyBlock$1 = (state, dispatch2) => {
|
|
|
107384
107350
|
dispatch2(state.tr.lift(range, target).scrollIntoView());
|
|
107385
107351
|
return true;
|
|
107386
107352
|
};
|
|
107387
|
-
function splitBlockAs(splitNode) {
|
|
107388
|
-
return (state, dispatch2) => {
|
|
107389
|
-
let { $from, $to } = state.selection;
|
|
107390
|
-
if (state.selection instanceof NodeSelection && state.selection.node.isBlock) {
|
|
107391
|
-
if (!$from.parentOffset || !canSplit(state.doc, $from.pos))
|
|
107392
|
-
return false;
|
|
107393
|
-
if (dispatch2)
|
|
107394
|
-
dispatch2(state.tr.split($from.pos).scrollIntoView());
|
|
107395
|
-
return true;
|
|
107396
|
-
}
|
|
107397
|
-
if (!$from.depth)
|
|
107398
|
-
return false;
|
|
107399
|
-
let types = [];
|
|
107400
|
-
let splitDepth, deflt, atEnd = false, atStart = false;
|
|
107401
|
-
for (let d4 = $from.depth; ; d4--) {
|
|
107402
|
-
let node = $from.node(d4);
|
|
107403
|
-
if (node.isBlock) {
|
|
107404
|
-
atEnd = $from.end(d4) == $from.pos + ($from.depth - d4);
|
|
107405
|
-
atStart = $from.start(d4) == $from.pos - ($from.depth - d4);
|
|
107406
|
-
deflt = defaultBlockAt$1($from.node(d4 - 1).contentMatchAt($from.indexAfter(d4 - 1)));
|
|
107407
|
-
types.unshift(atEnd && deflt ? { type: deflt } : null);
|
|
107408
|
-
splitDepth = d4;
|
|
107409
|
-
break;
|
|
107410
|
-
} else {
|
|
107411
|
-
if (d4 == 1)
|
|
107412
|
-
return false;
|
|
107413
|
-
types.unshift(null);
|
|
107414
|
-
}
|
|
107415
|
-
}
|
|
107416
|
-
let tr2 = state.tr;
|
|
107417
|
-
if (state.selection instanceof TextSelection || state.selection instanceof AllSelection)
|
|
107418
|
-
tr2.deleteSelection();
|
|
107419
|
-
let splitPos = tr2.mapping.map($from.pos);
|
|
107420
|
-
let can = canSplit(tr2.doc, splitPos, types.length, types);
|
|
107421
|
-
if (!can) {
|
|
107422
|
-
types[0] = deflt ? { type: deflt } : null;
|
|
107423
|
-
can = canSplit(tr2.doc, splitPos, types.length, types);
|
|
107424
|
-
}
|
|
107425
|
-
if (!can)
|
|
107426
|
-
return false;
|
|
107427
|
-
tr2.split(splitPos, types.length, types);
|
|
107428
|
-
if (!atEnd && atStart && $from.node(splitDepth).type != deflt) {
|
|
107429
|
-
let first2 = tr2.mapping.map($from.before(splitDepth)), $first = tr2.doc.resolve(first2);
|
|
107430
|
-
if (deflt && $from.node(splitDepth - 1).canReplaceWith($first.index(), $first.index() + 1, deflt))
|
|
107431
|
-
tr2.setNodeMarkup(tr2.mapping.map($from.before(splitDepth)), deflt);
|
|
107432
|
-
}
|
|
107433
|
-
if (dispatch2)
|
|
107434
|
-
dispatch2(tr2.scrollIntoView());
|
|
107435
|
-
return true;
|
|
107436
|
-
};
|
|
107437
|
-
}
|
|
107438
|
-
const splitBlock$1 = splitBlockAs();
|
|
107439
107353
|
const selectParentNode$1 = (state, dispatch2) => {
|
|
107440
107354
|
let { $from, to: to2 } = state.selection, pos;
|
|
107441
107355
|
let same = $from.sharedDepth(to2);
|
|
@@ -107572,19 +107486,6 @@ function setBlockType(nodeType, attrs = null) {
|
|
|
107572
107486
|
return true;
|
|
107573
107487
|
};
|
|
107574
107488
|
}
|
|
107575
|
-
function chainCommands(...commands2) {
|
|
107576
|
-
return function(state, dispatch2, view) {
|
|
107577
|
-
for (let i2 = 0; i2 < commands2.length; i2++)
|
|
107578
|
-
if (commands2[i2](state, dispatch2, view))
|
|
107579
|
-
return true;
|
|
107580
|
-
return false;
|
|
107581
|
-
};
|
|
107582
|
-
}
|
|
107583
|
-
chainCommands(deleteSelection$1, joinBackward$1, selectNodeBackward$1);
|
|
107584
|
-
chainCommands(deleteSelection$1, joinForward$1, selectNodeForward$1);
|
|
107585
|
-
({
|
|
107586
|
-
"Enter": chainCommands(newlineInCode$1, createParagraphNear$1, liftEmptyBlock$1, splitBlock$1)
|
|
107587
|
-
});
|
|
107588
107489
|
typeof navigator != "undefined" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : typeof os != "undefined" && os.platform ? os.platform() == "darwin" : false;
|
|
107589
107490
|
function wrapInList$1(listType, attrs = null) {
|
|
107590
107491
|
return function(state, dispatch2) {
|
|
@@ -111967,10 +111868,10 @@ function requireUseSyncExternalStoreShim_production_min() {
|
|
|
111967
111868
|
if (hasRequiredUseSyncExternalStoreShim_production_min) return useSyncExternalStoreShim_production_min;
|
|
111968
111869
|
hasRequiredUseSyncExternalStoreShim_production_min = 1;
|
|
111969
111870
|
var e4 = React__default;
|
|
111970
|
-
function
|
|
111871
|
+
function h6(a4, b3) {
|
|
111971
111872
|
return a4 === b3 && (0 !== a4 || 1 / a4 === 1 / b3) || a4 !== a4 && b3 !== b3;
|
|
111972
111873
|
}
|
|
111973
|
-
var k3 = "function" === typeof Object.is ? Object.is :
|
|
111874
|
+
var k3 = "function" === typeof Object.is ? Object.is : h6, l2 = e4.useState, m4 = e4.useEffect, n2 = e4.useLayoutEffect, p2 = e4.useDebugValue;
|
|
111974
111875
|
function q3(a4, b3) {
|
|
111975
111876
|
var d4 = b3(), f2 = l2({ inst: { value: d4, getSnapshot: b3 } }), c3 = f2[0].inst, g2 = f2[1];
|
|
111976
111877
|
n2(function() {
|
|
@@ -112355,11 +112256,11 @@ var hasRequiredWithSelector_production_min;
|
|
|
112355
112256
|
function requireWithSelector_production_min() {
|
|
112356
112257
|
if (hasRequiredWithSelector_production_min) return withSelector_production_min;
|
|
112357
112258
|
hasRequiredWithSelector_production_min = 1;
|
|
112358
|
-
var
|
|
112259
|
+
var h6 = React__default, n2 = shimExports;
|
|
112359
112260
|
function p2(a4, b3) {
|
|
112360
112261
|
return a4 === b3 && (0 !== a4 || 1 / a4 === 1 / b3) || a4 !== a4 && b3 !== b3;
|
|
112361
112262
|
}
|
|
112362
|
-
var q3 = "function" === typeof Object.is ? Object.is : p2, r2 = n2.useSyncExternalStore, t3 =
|
|
112263
|
+
var q3 = "function" === typeof Object.is ? Object.is : p2, r2 = n2.useSyncExternalStore, t3 = h6.useRef, u3 = h6.useEffect, v2 = h6.useMemo, w3 = h6.useDebugValue;
|
|
112363
112264
|
withSelector_production_min.useSyncExternalStoreWithSelector = function(a4, b3, e4, l2, g2) {
|
|
112364
112265
|
var c3 = t3(null);
|
|
112365
112266
|
if (null === c3.current) {
|
|
@@ -118712,7 +118613,7 @@ var dayjs_min = { exports: {} };
|
|
|
118712
118613
|
!function(t3, e4) {
|
|
118713
118614
|
module.exports = e4();
|
|
118714
118615
|
}(commonjsGlobal, function() {
|
|
118715
|
-
var t3 = 1e3, e4 = 6e4, n2 = 36e5, r2 = "millisecond", i2 = "second", s4 = "minute", u3 = "hour", a4 = "day", o2 = "week", c3 = "month", f2 = "quarter",
|
|
118616
|
+
var t3 = 1e3, e4 = 6e4, n2 = 36e5, r2 = "millisecond", i2 = "second", s4 = "minute", u3 = "hour", a4 = "day", o2 = "week", c3 = "month", f2 = "quarter", h6 = "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) {
|
|
118716
118617
|
var e5 = ["th", "st", "nd", "rd"], n3 = t4 % 100;
|
|
118717
118618
|
return "[" + t4 + (e5[(n3 - 20) % 10] || e5[n3] || e5[0]) + "]";
|
|
118718
118619
|
} }, m4 = function(t4, e5, n3) {
|
|
@@ -118728,7 +118629,7 @@ var dayjs_min = { exports: {} };
|
|
|
118728
118629
|
}, a: function(t4) {
|
|
118729
118630
|
return t4 < 0 ? Math.ceil(t4) || 0 : Math.floor(t4);
|
|
118730
118631
|
}, p: function(t4) {
|
|
118731
|
-
return { M: c3, y:
|
|
118632
|
+
return { M: c3, y: h6, w: o2, d: a4, D: d4, h: u3, m: s4, s: i2, ms: r2, Q: f2 }[t4] || String(t4 || "").toLowerCase().replace(/s$/, "");
|
|
118732
118633
|
}, u: function(t4) {
|
|
118733
118634
|
return void 0 === t4;
|
|
118734
118635
|
} }, g2 = "en", D4 = {};
|
|
@@ -118804,7 +118705,7 @@ var dayjs_min = { exports: {} };
|
|
|
118804
118705
|
return b3.w(n3.toDate()[t5].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e6)), n3);
|
|
118805
118706
|
}, y5 = this.$W, M6 = this.$M, m6 = this.$D, v3 = "set" + (this.$u ? "UTC" : "");
|
|
118806
118707
|
switch (f3) {
|
|
118807
|
-
case
|
|
118708
|
+
case h6:
|
|
118808
118709
|
return r3 ? l3(1, 0) : l3(31, 11);
|
|
118809
118710
|
case c3:
|
|
118810
118711
|
return r3 ? l3(1, M6) : l3(0, M6 + 1);
|
|
@@ -118826,8 +118727,8 @@ var dayjs_min = { exports: {} };
|
|
|
118826
118727
|
}, m5.endOf = function(t4) {
|
|
118827
118728
|
return this.startOf(t4, false);
|
|
118828
118729
|
}, m5.$set = function(t4, e5) {
|
|
118829
|
-
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[
|
|
118830
|
-
if (o3 === c3 || o3 ===
|
|
118730
|
+
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[h6] = 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;
|
|
118731
|
+
if (o3 === c3 || o3 === h6) {
|
|
118831
118732
|
var y5 = this.clone().set(d4, 1);
|
|
118832
118733
|
y5.$d[l3]($3), y5.init(), this.$d = y5.set(d4, Math.min(this.$D, y5.daysInMonth())).$d;
|
|
118833
118734
|
} else l3 && this.$d[l3]($3);
|
|
@@ -118844,7 +118745,7 @@ var dayjs_min = { exports: {} };
|
|
|
118844
118745
|
return b3.w(e5.date(e5.date() + Math.round(t4 * r3)), l3);
|
|
118845
118746
|
};
|
|
118846
118747
|
if ($3 === c3) return this.set(c3, this.$M + r3);
|
|
118847
|
-
if ($3 ===
|
|
118748
|
+
if ($3 === h6) return this.set(h6, this.$y + r3);
|
|
118848
118749
|
if ($3 === a4) return y5(1);
|
|
118849
118750
|
if ($3 === o2) return y5(7);
|
|
118850
118751
|
var M6 = (d5 = {}, d5[s4] = e4, d5[u3] = n2, d5[i2] = t3, d5)[$3] || 1, m6 = this.$d.getTime() + r3 * M6;
|
|
@@ -118854,7 +118755,7 @@ var dayjs_min = { exports: {} };
|
|
|
118854
118755
|
}, m5.format = function(t4) {
|
|
118855
118756
|
var e5 = this, n3 = this.$locale();
|
|
118856
118757
|
if (!this.isValid()) return n3.invalidDate || l2;
|
|
118857
|
-
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,
|
|
118758
|
+
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, h7 = function(t5, n4, i4, s6) {
|
|
118858
118759
|
return t5 && (t5[n4] || t5(e5, r3)) || i4[n4].slice(0, s6);
|
|
118859
118760
|
}, d5 = function(t5) {
|
|
118860
118761
|
return b3.s(s5 % 12 || 12, t5, "0");
|
|
@@ -118874,9 +118775,9 @@ var dayjs_min = { exports: {} };
|
|
|
118874
118775
|
case "MM":
|
|
118875
118776
|
return b3.s(a5 + 1, 2, "0");
|
|
118876
118777
|
case "MMM":
|
|
118877
|
-
return
|
|
118778
|
+
return h7(n3.monthsShort, a5, c4, 3);
|
|
118878
118779
|
case "MMMM":
|
|
118879
|
-
return
|
|
118780
|
+
return h7(c4, a5);
|
|
118880
118781
|
case "D":
|
|
118881
118782
|
return e5.$D;
|
|
118882
118783
|
case "DD":
|
|
@@ -118884,9 +118785,9 @@ var dayjs_min = { exports: {} };
|
|
|
118884
118785
|
case "d":
|
|
118885
118786
|
return String(e5.$W);
|
|
118886
118787
|
case "dd":
|
|
118887
|
-
return
|
|
118788
|
+
return h7(n3.weekdaysMin, e5.$W, o3, 2);
|
|
118888
118789
|
case "ddd":
|
|
118889
|
-
return
|
|
118790
|
+
return h7(n3.weekdaysShort, e5.$W, o3, 3);
|
|
118890
118791
|
case "dddd":
|
|
118891
118792
|
return o3[e5.$W];
|
|
118892
118793
|
case "H":
|
|
@@ -118924,7 +118825,7 @@ var dayjs_min = { exports: {} };
|
|
|
118924
118825
|
return b3.m(y5, m6);
|
|
118925
118826
|
};
|
|
118926
118827
|
switch (M6) {
|
|
118927
|
-
case
|
|
118828
|
+
case h6:
|
|
118928
118829
|
$3 = D5() / 12;
|
|
118929
118830
|
break;
|
|
118930
118831
|
case c3:
|
|
@@ -118972,7 +118873,7 @@ var dayjs_min = { exports: {} };
|
|
|
118972
118873
|
return this.$d.toUTCString();
|
|
118973
118874
|
}, M5;
|
|
118974
118875
|
}(), k3 = _2.prototype;
|
|
118975
|
-
return O3.prototype = k3, [["$ms", r2], ["$s", i2], ["$m", s4], ["$H", u3], ["$W", a4], ["$M", c3], ["$y",
|
|
118876
|
+
return O3.prototype = k3, [["$ms", r2], ["$s", i2], ["$m", s4], ["$H", u3], ["$W", a4], ["$M", c3], ["$y", h6], ["$D", d4]].forEach(function(t4) {
|
|
118976
118877
|
k3[t4[1]] = function(e5) {
|
|
118977
118878
|
return this.$g(e5, t4[0], t4[1]);
|
|
118978
118879
|
};
|
|
@@ -120514,7 +120415,7 @@ var count$1 = 0;
|
|
|
120514
120415
|
function useId$2(deterministicId) {
|
|
120515
120416
|
const [id2, setId] = React.useState(useReactId$1());
|
|
120516
120417
|
useLayoutEffect2$1(() => {
|
|
120517
|
-
setId((reactId) => reactId ?? String(count$1++));
|
|
120418
|
+
if (!deterministicId) setId((reactId) => reactId ?? String(count$1++));
|
|
120518
120419
|
}, [deterministicId]);
|
|
120519
120420
|
return deterministicId || (id2 ? `radix-${id2}` : "");
|
|
120520
120421
|
}
|
|
@@ -122632,6 +122533,7 @@ const ConditionRow = ({
|
|
|
122632
122533
|
operators: [],
|
|
122633
122534
|
type: JSONSchemaType.String,
|
|
122634
122535
|
options: void 0,
|
|
122536
|
+
itemType: void 0,
|
|
122635
122537
|
description: void 0
|
|
122636
122538
|
};
|
|
122637
122539
|
const operators = metadata2.operators;
|
|
@@ -123934,15 +123836,27 @@ function SegmentBuilderDialog({
|
|
|
123934
123836
|
}
|
|
123935
123837
|
) });
|
|
123936
123838
|
}
|
|
123839
|
+
const reassuranceBanner = "reach-EstimatedMatchesView-module__reassuranceBanner___lsZbs";
|
|
123840
|
+
const reassuranceBannerText = "reach-EstimatedMatchesView-module__reassuranceBannerText___lzrQX";
|
|
123841
|
+
const reassuranceBannerTitle = "reach-EstimatedMatchesView-module__reassuranceBannerTitle___vJNIc";
|
|
123937
123842
|
const learnMoreLink = "reach-EstimatedMatchesView-module__learnMoreLink___M-mr-";
|
|
123938
123843
|
const reassuranceBannerAlternative = "reach-EstimatedMatchesView-module__reassuranceBannerAlternative___kBAuQ";
|
|
123939
123844
|
const reassuranceBannerAlternativeText = "reach-EstimatedMatchesView-module__reassuranceBannerAlternativeText___Sifb-";
|
|
123940
123845
|
const reassuranceBannerAlternativeTitle = "reach-EstimatedMatchesView-module__reassuranceBannerAlternativeTitle___rIfFG";
|
|
123846
|
+
const reassuranceBannerEnhanced = "reach-EstimatedMatchesView-module__reassuranceBannerEnhanced___3eY2G";
|
|
123847
|
+
const reassuranceBannerEnhancedText = "reach-EstimatedMatchesView-module__reassuranceBannerEnhancedText___IsBSu";
|
|
123848
|
+
const reassuranceBannerEnhancedTitle = "reach-EstimatedMatchesView-module__reassuranceBannerEnhancedTitle___ffoOU";
|
|
123941
123849
|
const styles$2 = {
|
|
123850
|
+
reassuranceBanner,
|
|
123851
|
+
reassuranceBannerText,
|
|
123852
|
+
reassuranceBannerTitle,
|
|
123942
123853
|
learnMoreLink,
|
|
123943
123854
|
reassuranceBannerAlternative,
|
|
123944
123855
|
reassuranceBannerAlternativeText,
|
|
123945
|
-
reassuranceBannerAlternativeTitle
|
|
123856
|
+
reassuranceBannerAlternativeTitle,
|
|
123857
|
+
reassuranceBannerEnhanced,
|
|
123858
|
+
reassuranceBannerEnhancedText,
|
|
123859
|
+
reassuranceBannerEnhancedTitle
|
|
123946
123860
|
};
|
|
123947
123861
|
const TotalExplanationTooltip = () => {
|
|
123948
123862
|
return /* @__PURE__ */ jsx(
|
|
@@ -128469,6 +128383,16 @@ const Engage = () => {
|
|
|
128469
128383
|
return /* @__PURE__ */ jsx(Provider, { children: /* @__PURE__ */ jsx(Provider$2, { children: /* @__PURE__ */ jsx(EngageMain, {}) }) });
|
|
128470
128384
|
};
|
|
128471
128385
|
const PATHS = {
|
|
128386
|
+
MEASURE_DASHBOARD: "/",
|
|
128387
|
+
MEASURE_SETUP: "/setup/analytics",
|
|
128388
|
+
ACQUIRE_SETUP: "/setup/campaigns",
|
|
128389
|
+
VOICE_SETUP: "/setup/voice",
|
|
128390
|
+
VOICE: "/voice",
|
|
128391
|
+
REPUTATION_SETUP: "/setup/reputation",
|
|
128392
|
+
REPUTATION: "/reputation",
|
|
128393
|
+
ENGAGE_SEGMENT_BUILDER: "/automations/segment-builder",
|
|
128394
|
+
ENGAGE_AUTOMATIONS_CREATE_MODAL: "/automations/create-modal",
|
|
128395
|
+
ENGAGE_AUTOMATIONS_VIEW_MODAL: "/automations/view-modal/:automationId",
|
|
128472
128396
|
ENGAGE_AUTOMATIONS: "/automations"
|
|
128473
128397
|
};
|
|
128474
128398
|
function AutomationArchiveDialog({ open, onOpenChange }) {
|
|
@@ -133999,7 +133923,7 @@ var count = 0;
|
|
|
133999
133923
|
function useId(deterministicId) {
|
|
134000
133924
|
const [id2, setId] = React.useState(useReactId());
|
|
134001
133925
|
useLayoutEffect2(() => {
|
|
134002
|
-
setId((reactId) => reactId ?? String(count++));
|
|
133926
|
+
if (!deterministicId) setId((reactId) => reactId ?? String(count++));
|
|
134003
133927
|
}, [deterministicId]);
|
|
134004
133928
|
return deterministicId || (id2 ? `radix-${id2}` : "");
|
|
134005
133929
|
}
|