@appcues/web-sdk 7.17.0 → 7.17.3
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/CHANGELOG.md +12 -0
- package/build/{index.Dunwnb9Q.js → index.2UbNv10n.js} +1 -1
- package/build/{index.BYadaR35.js → index.CB8C7s2e.js} +702 -692
- package/build/{index.npm.DbVSP1KB.js → index.npm.BMQjHmXS.js} +1 -1
- package/build/index.npm.js +1 -1
- package/build/{open-builder.CZd8R04x.js → open-builder.2-hPcUkT.js} +1638 -1601
- package/package.json +1 -1
- /package/build/{checklist.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → checklist.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css} +0 -0
- /package/build/{container.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → container.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css} +0 -0
- /package/build/{debugger.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → debugger.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css} +0 -0
- /package/build/{modal-step-legacy-render.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → modal-step-legacy-render.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css} +0 -0
- /package/build/{modal.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → modal.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css} +0 -0
- /package/build/{satisfaction-survey.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → satisfaction-survey.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css} +0 -0
- /package/build/{test-mode.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → test-mode.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css} +0 -0
- /package/build/{tooltip.1abb4cabde29d8c941c5030c6c9e6556326c226f.css → tooltip.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as z, a as Hn, A as Tt, M as Nd, b as kd, c as te, d as qt, V as _o, e as Ir, f as Ke, g as Nt, B as Et, T as Ki, h as Od, i as Rd, j as Ld, k as Ko, l as Dn, F as K, G as Yo, m as Pl, E as an, n as xd, D as zo, o as Pd, p as _i, L as Fe, S as Ks, q as Xo, r as Ie, s as Kt, t as Jo, N as Fn, u as Dl, v as Dd, w as Io, W as Fd, x as di, y as Ud, z as An, U as Qo, H as Hd, I as Md, J as Zo, K as un, O as Ao, P as Ii, Q as fi, R as $d, X as Yi, Y as Fl, Z as Mn, _ as zi, $ as Ln, a0 as vo, a1 as Ys, a2 as $n, a3 as Bd, a4 as Vd } from "./index.npm.
|
|
1
|
+
import { C as z, a as Hn, A as Tt, M as Nd, b as kd, c as te, d as qt, V as _o, e as Ir, f as Ke, g as Nt, B as Et, T as Ki, h as Od, i as Rd, j as Ld, k as Ko, l as Dn, F as K, G as Yo, m as Pl, E as an, n as xd, D as zo, o as Pd, p as _i, L as Fe, S as Ks, q as Xo, r as Ie, s as Kt, t as Jo, N as Fn, u as Dl, v as Dd, w as Io, W as Fd, x as di, y as Ud, z as An, U as Qo, H as Hd, I as Md, J as Zo, K as un, O as Ao, P as Ii, Q as fi, R as $d, X as Yi, Y as Fl, Z as Mn, _ as zi, $ as Ln, a0 as vo, a1 as Ys, a2 as $n, a3 as Bd, a4 as Vd } from "./index.npm.BMQjHmXS.js";
|
|
2
2
|
var Wd = Object.assign || function(e) {
|
|
3
3
|
for (var t = 1; t < arguments.length; t++) {
|
|
4
4
|
var n = arguments[t];
|
|
@@ -2164,7 +2164,7 @@ function Vt(e) {
|
|
|
2164
2164
|
}
|
|
2165
2165
|
return `https://fast.appcues.com${e}`;
|
|
2166
2166
|
}
|
|
2167
|
-
const Lh = "/generic/main/7.17.
|
|
2167
|
+
const Lh = "/generic/main/7.17.3/checklist.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css", xh = "sha256-B3IM66R3am8teThQaWvlSxHaPUFXo+mNdS8RK5z2nsw=", to = Vt(Lh), no = 30, Ph = -300, Dh = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
|
|
2168
2168
|
let ur = null, dr = null, fr = null, zr = null;
|
|
2169
2169
|
const Fh = (e) => {
|
|
2170
2170
|
const {
|
|
@@ -5509,31 +5509,41 @@ function ve(e) {
|
|
|
5509
5509
|
setTimeout(t, e);
|
|
5510
5510
|
});
|
|
5511
5511
|
}
|
|
5512
|
+
function pg(e, t) {
|
|
5513
|
+
if (/^https?:\/\//i.test(t))
|
|
5514
|
+
return t;
|
|
5515
|
+
try {
|
|
5516
|
+
return new URL(t, e.location.origin).href;
|
|
5517
|
+
} catch {
|
|
5518
|
+
return t;
|
|
5519
|
+
}
|
|
5520
|
+
}
|
|
5512
5521
|
function Xt(e, t, n) {
|
|
5513
5522
|
return ve(10).then(() => {
|
|
5514
|
-
|
|
5523
|
+
const r = pg(e, t);
|
|
5524
|
+
n ? e.open(r) : e.location.href = r;
|
|
5515
5525
|
});
|
|
5516
5526
|
}
|
|
5517
|
-
const
|
|
5518
|
-
function
|
|
5527
|
+
const hg = /[$()+.?[\\\]^{|}]/g, mg = /\*/g, Eg = /\\{\\{.*?\\}\\}/g, jc = ".+", gg = /(\/$|\/(\?|#))$/, yg = /(\/\*)$/, Sg = /^(https?:)\/\//i;
|
|
5528
|
+
function Tg(e) {
|
|
5519
5529
|
const { pathname: t, query: n, hash: r } = fg(e);
|
|
5520
5530
|
return `${t}${n}${r}`;
|
|
5521
5531
|
}
|
|
5522
5532
|
function qc(e) {
|
|
5523
|
-
return e?.replace(
|
|
5533
|
+
return e?.replace(gg, "$2");
|
|
5524
5534
|
}
|
|
5525
|
-
function
|
|
5535
|
+
function Cg(e = "", t = "") {
|
|
5526
5536
|
return e.toLowerCase().trim() === t.toLowerCase().trim();
|
|
5527
5537
|
}
|
|
5528
|
-
function
|
|
5529
|
-
const n = e.replace(
|
|
5530
|
-
return
|
|
5538
|
+
function _g(e = "", t) {
|
|
5539
|
+
const n = e.replace(hg, String.raw`\$&`).replace(mg, jc).replace(Eg, jc);
|
|
5540
|
+
return Sg.test(n) ? new RegExp(`${n}$`, "i").test(t) : new RegExp(`^/?${n}$`, "i").test(Tg(t));
|
|
5531
5541
|
}
|
|
5532
5542
|
function St(e = "/", t = "/") {
|
|
5533
|
-
const [n, r] =
|
|
5534
|
-
return
|
|
5543
|
+
const [n, r] = yg.test(e) ? [e, t] : [qc(e), qc(t)];
|
|
5544
|
+
return Cg(n, r) || _g(n, r);
|
|
5535
5545
|
}
|
|
5536
|
-
function
|
|
5546
|
+
function Ig() {
|
|
5537
5547
|
return window.location.href;
|
|
5538
5548
|
}
|
|
5539
5549
|
function lu(e) {
|
|
@@ -5569,23 +5579,23 @@ function au(e, t) {
|
|
|
5569
5579
|
(r.key === " " || r.key === "Enter") && t(r);
|
|
5570
5580
|
});
|
|
5571
5581
|
}
|
|
5572
|
-
const Kc = "//twemoji.maxcdn.com/2/svg/",
|
|
5582
|
+
const Kc = "//twemoji.maxcdn.com/2/svg/", Ag = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Yc = /* @__PURE__ */ new Set([
|
|
5573
5583
|
"skip",
|
|
5574
5584
|
"skip-and-end-flow",
|
|
5575
5585
|
"end",
|
|
5576
5586
|
"prev",
|
|
5577
5587
|
"end-flow"
|
|
5578
5588
|
]);
|
|
5579
|
-
function
|
|
5589
|
+
function vg(e) {
|
|
5580
5590
|
return [
|
|
5581
5591
|
...e.querySelectorAll("form.step-action-form .field[data-field-id]")
|
|
5582
5592
|
];
|
|
5583
5593
|
}
|
|
5584
|
-
function
|
|
5594
|
+
function bg(e) {
|
|
5585
5595
|
const t = e.querySelector("form.step-action-form");
|
|
5586
5596
|
return t ? t.getAttribute("data-form-id") : null;
|
|
5587
5597
|
}
|
|
5588
|
-
const
|
|
5598
|
+
const wg = "pattern-title", Ng = (e) => {
|
|
5589
5599
|
setTimeout(() => {
|
|
5590
5600
|
const [t] = Di(e.elm);
|
|
5591
5601
|
if (t) {
|
|
@@ -5600,7 +5610,7 @@ function uo(e) {
|
|
|
5600
5610
|
t.elm && t.elm.focus();
|
|
5601
5611
|
});
|
|
5602
5612
|
}
|
|
5603
|
-
function
|
|
5613
|
+
function kg(e) {
|
|
5604
5614
|
const {
|
|
5605
5615
|
step: t,
|
|
5606
5616
|
currentState: n,
|
|
@@ -5656,8 +5666,8 @@ function Ng(e) {
|
|
|
5656
5666
|
"cue.active > section"
|
|
5657
5667
|
);
|
|
5658
5668
|
y(
|
|
5669
|
+
bg(fe),
|
|
5659
5670
|
vg(fe),
|
|
5660
|
-
Ag(fe),
|
|
5661
5671
|
Y,
|
|
5662
5672
|
ie,
|
|
5663
5673
|
_e,
|
|
@@ -5776,7 +5786,7 @@ function Ng(e) {
|
|
|
5776
5786
|
Ee(V, "crossOrigin", "anonymous"), Ne(V, "alt") || (Ee(V, "alt", ""), Ee(V, "role", "presentation"));
|
|
5777
5787
|
const ie = Ne(V, "src");
|
|
5778
5788
|
if (ie?.includes(Kc)) {
|
|
5779
|
-
const _e = ie.replace(Kc,
|
|
5789
|
+
const _e = ie.replace(Kc, Ag);
|
|
5780
5790
|
Ee(V, "src", _e);
|
|
5781
5791
|
}
|
|
5782
5792
|
gt(V, "load", (_e) => {
|
|
@@ -5868,7 +5878,7 @@ function Ng(e) {
|
|
|
5868
5878
|
}), ie && n.formErrors && n.formErrors[ie] && (Qp(V, "appcues-error"), V.children = [
|
|
5869
5879
|
...V.children,
|
|
5870
5880
|
/* @__PURE__ */ a.html(
|
|
5871
|
-
|
|
5881
|
+
Og,
|
|
5872
5882
|
{
|
|
5873
5883
|
vnodeFormField: V.children,
|
|
5874
5884
|
messages: n.formErrors[ie],
|
|
@@ -5895,8 +5905,8 @@ function Ng(e) {
|
|
|
5895
5905
|
{
|
|
5896
5906
|
"attrs-role": "dialog",
|
|
5897
5907
|
"attrs-aria-modal": A ? "true" : "false",
|
|
5898
|
-
"attrs-aria-describedby":
|
|
5899
|
-
"hook-insert":
|
|
5908
|
+
"attrs-aria-describedby": wg,
|
|
5909
|
+
"hook-insert": Ng,
|
|
5900
5910
|
"attrs-tabindex": "-1"
|
|
5901
5911
|
},
|
|
5902
5912
|
Re || ""
|
|
@@ -5954,7 +5964,7 @@ function Ng(e) {
|
|
|
5954
5964
|
r ? /* @__PURE__ */ a.html(Cs, { accountId: i }) : /* @__PURE__ */ a.html(ae, null)
|
|
5955
5965
|
);
|
|
5956
5966
|
}
|
|
5957
|
-
function
|
|
5967
|
+
function Og({ messages: e, fieldId: t, vnodeFormField: n }) {
|
|
5958
5968
|
const r = n.find(
|
|
5959
5969
|
(o) => o.data?.class["field-controls"]
|
|
5960
5970
|
);
|
|
@@ -5977,13 +5987,13 @@ function uu({ onLoad: e = () => null, styling: t }) {
|
|
|
5977
5987
|
const $o = ".appcues-content-outline-styling", _s = ({ key: e, target: t }) => {
|
|
5978
5988
|
const n = t.ownerDocument || t, r = n.documentElement?.querySelector($o) ?? n.querySelector($o);
|
|
5979
5989
|
e === "Tab" && (r.innerHTML = "", n.removeEventListener("keydown", _s));
|
|
5980
|
-
},
|
|
5990
|
+
}, Rg = (e) => {
|
|
5981
5991
|
setTimeout(() => {
|
|
5982
5992
|
e.elm.ownerDocument.addEventListener("keydown", _s);
|
|
5983
5993
|
}, 200);
|
|
5984
|
-
},
|
|
5994
|
+
}, Lg = (e) => {
|
|
5985
5995
|
e.elm.ownerDocument.removeEventListener("keydown", _s);
|
|
5986
|
-
},
|
|
5996
|
+
}, xg = `
|
|
5987
5997
|
appcues cue > section *, .content * {
|
|
5988
5998
|
outline: none;
|
|
5989
5999
|
}
|
|
@@ -5994,10 +6004,10 @@ function du() {
|
|
|
5994
6004
|
{
|
|
5995
6005
|
selector: $o,
|
|
5996
6006
|
"attrs-type": "text/css",
|
|
5997
|
-
"hook-insert":
|
|
5998
|
-
"hook-destroy":
|
|
6007
|
+
"hook-insert": Rg,
|
|
6008
|
+
"hook-destroy": Lg
|
|
5999
6009
|
},
|
|
6000
|
-
|
|
6010
|
+
xg
|
|
6001
6011
|
);
|
|
6002
6012
|
}
|
|
6003
6013
|
function fu(e, t) {
|
|
@@ -6026,7 +6036,7 @@ function Is(e, t, n, r) {
|
|
|
6026
6036
|
_h(e.defaultView, i), window.setTimeout(i, 200);
|
|
6027
6037
|
}
|
|
6028
6038
|
}
|
|
6029
|
-
const
|
|
6039
|
+
const Pg = "/generic/main/7.17.3/modal.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css", Dg = "/generic/main/7.17.3/modal-step-legacy-render.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css", Fg = "sha256-4/hpW9ONoiD80NHCgX4Nn/iogB1Wblm1nx1DUXqgDZk=", Ug = "sha256-Ea5gC5g6QacVSWApI6ApmuZheqr4EDl50hD7GyRsaz0=", Hg = Vt(Dg), Zr = Vt(Pg), zc = /* @__PURE__ */ new Set(["shorty", "slideout"]);
|
|
6030
6040
|
function Xc(e) {
|
|
6031
6041
|
if (!e) return;
|
|
6032
6042
|
const { style: t } = e, n = t.transform;
|
|
@@ -6051,7 +6061,7 @@ const fo = (e) => {
|
|
|
6051
6061
|
(e.shiftKey && o === 0 || !e.shiftKey && o === i - 1) && (e.preventDefault(), Jc(r[0]));
|
|
6052
6062
|
}
|
|
6053
6063
|
};
|
|
6054
|
-
function
|
|
6064
|
+
function Mg(e) {
|
|
6055
6065
|
const t = ye(e), n = xr(e), r = Ve(e), i = nt(e), o = ct(e), s = zt(e, o), c = i[s], l = t.attributes.pattern_type, u = t.attributes.is_progress_bar_hidden, { position: d } = t.attributes, { backdrop: f } = t.attributes, { skippable: h } = t.attributes, y = e.views.callbacks[z.MODAL], p = n.cssLoaded, m = _f(e), T = Ia(e), _ = Ra(e), S = T || m, A = ["modal", "left", "fullscreen"].includes(l), C = A || f, k = Fi(e.settings), L = _ === 1, H = p && ne.inArray(
|
|
6056
6066
|
[
|
|
6057
6067
|
/* ContentStatus.WILL_SHOW, */
|
|
@@ -6101,15 +6111,15 @@ function Hg(e) {
|
|
|
6101
6111
|
"appcues-noscroll"
|
|
6102
6112
|
), Ye(fe);
|
|
6103
6113
|
}, Y = /* @__PURE__ */ a.html(
|
|
6104
|
-
|
|
6114
|
+
Bg,
|
|
6105
6115
|
{
|
|
6106
6116
|
percentComplete: ue,
|
|
6107
6117
|
isProgressBarHidden: u,
|
|
6108
6118
|
numberOfSteps: i.length,
|
|
6109
6119
|
currentStep: s + 1
|
|
6110
6120
|
}
|
|
6111
|
-
), ie = /* @__PURE__ */ a.html(
|
|
6112
|
-
|
|
6121
|
+
), ie = /* @__PURE__ */ a.html($g, { skippable: h, onClick: y.onSkip }), _e = /* @__PURE__ */ a.html(ae, null), oe = /* @__PURE__ */ a.html(
|
|
6122
|
+
kg,
|
|
6113
6123
|
{
|
|
6114
6124
|
step: c,
|
|
6115
6125
|
key: `modal-step-${s}`,
|
|
@@ -6174,7 +6184,7 @@ function Hg(e) {
|
|
|
6174
6184
|
"attrs-href": Zr,
|
|
6175
6185
|
"attrs-type": "text/css",
|
|
6176
6186
|
"attrs-rel": "stylesheet",
|
|
6177
|
-
"attrs-integrity":
|
|
6187
|
+
"attrs-integrity": Fg,
|
|
6178
6188
|
"attrs-crossorigin": "anonymous",
|
|
6179
6189
|
"on-load": (fe) => {
|
|
6180
6190
|
he(fe, !0);
|
|
@@ -6187,10 +6197,10 @@ function Hg(e) {
|
|
|
6187
6197
|
L ? /* @__PURE__ */ a.html(
|
|
6188
6198
|
"link",
|
|
6189
6199
|
{
|
|
6190
|
-
"attrs-href":
|
|
6200
|
+
"attrs-href": Hg,
|
|
6191
6201
|
"attrs-type": "text/css",
|
|
6192
6202
|
"attrs-rel": "stylesheet",
|
|
6193
|
-
"attrs-integrity":
|
|
6203
|
+
"attrs-integrity": Ug,
|
|
6194
6204
|
"attrs-crossorigin": "anonymous"
|
|
6195
6205
|
}
|
|
6196
6206
|
) : /* @__PURE__ */ a.html(ae, null),
|
|
@@ -6198,7 +6208,7 @@ function Hg(e) {
|
|
|
6198
6208
|
/* @__PURE__ */ a.html(uu, { styling: S.globalStyling }),
|
|
6199
6209
|
/* @__PURE__ */ a.html("style", { "attrs-type": "text/css", classNames: "extracted-step-styles" }, J.join(`
|
|
6200
6210
|
`)),
|
|
6201
|
-
C ? /* @__PURE__ */ a.html(
|
|
6211
|
+
C ? /* @__PURE__ */ a.html(Vg, { patternType: l, hidden: R }) : /* @__PURE__ */ a.html(ae, null),
|
|
6202
6212
|
(() => {
|
|
6203
6213
|
let fe = /* @__PURE__ */ a.html(ae, null);
|
|
6204
6214
|
return fe = A ? /* @__PURE__ */ a.html(
|
|
@@ -6246,7 +6256,7 @@ function Hg(e) {
|
|
|
6246
6256
|
)
|
|
6247
6257
|
);
|
|
6248
6258
|
}
|
|
6249
|
-
function
|
|
6259
|
+
function $g({ skippable: e, onClick: t }) {
|
|
6250
6260
|
if (e) {
|
|
6251
6261
|
const n = (r) => {
|
|
6252
6262
|
(r.key === " " || r.key === "Enter") && t();
|
|
@@ -6266,7 +6276,7 @@ function Mg({ skippable: e, onClick: t }) {
|
|
|
6266
6276
|
}
|
|
6267
6277
|
return /* @__PURE__ */ a.html(ae, null);
|
|
6268
6278
|
}
|
|
6269
|
-
function
|
|
6279
|
+
function Bg({
|
|
6270
6280
|
currentStep: e,
|
|
6271
6281
|
numberOfSteps: t,
|
|
6272
6282
|
percentComplete: n,
|
|
@@ -6288,7 +6298,7 @@ function $g({
|
|
|
6288
6298
|
}
|
|
6289
6299
|
));
|
|
6290
6300
|
}
|
|
6291
|
-
function
|
|
6301
|
+
function Vg({ patternType: e, hidden: t }) {
|
|
6292
6302
|
return /* @__PURE__ */ a.html(
|
|
6293
6303
|
"div",
|
|
6294
6304
|
{
|
|
@@ -6298,8 +6308,8 @@ function Bg({ patternType: e, hidden: t }) {
|
|
|
6298
6308
|
}
|
|
6299
6309
|
);
|
|
6300
6310
|
}
|
|
6301
|
-
const
|
|
6302
|
-
function
|
|
6311
|
+
const Wg = "/generic/main/7.17.3/tooltip.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css", Gg = "sha256-9y1o/fRpWDU82ZWAjihfIJSZnx+knnDTkr5DYPSqYhg=", ei = Vt(Wg), Qc = "//twemoji.maxcdn.com/2/svg/", jg = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Cr = "hs", Zc = "pattern-title", el = "Hide these tips";
|
|
6312
|
+
function qg(e, t) {
|
|
6303
6313
|
return {
|
|
6304
6314
|
skippable: e.skippable,
|
|
6305
6315
|
skipText: e.skipText,
|
|
@@ -6319,7 +6329,7 @@ function tl(e) {
|
|
|
6319
6329
|
Ko.TEXT
|
|
6320
6330
|
) : !1;
|
|
6321
6331
|
}
|
|
6322
|
-
function
|
|
6332
|
+
function Kg(e) {
|
|
6323
6333
|
return As(e) ? pu(
|
|
6324
6334
|
e.skippableDisplayType,
|
|
6325
6335
|
Ko.EXIT_SYMBOL
|
|
@@ -6433,7 +6443,7 @@ const hu = (e) => {
|
|
|
6433
6443
|
Ee(w, "crossOrigin", "anonymous"), Ne(w, "alt") || (Ee(w, "alt", ""), Ee(w, "role", "presentation"));
|
|
6434
6444
|
const de = Ne(w, "src");
|
|
6435
6445
|
if (de?.includes(Qc)) {
|
|
6436
|
-
const he = de.replace(Qc,
|
|
6446
|
+
const he = de.replace(Qc, jg);
|
|
6437
6447
|
Ee(w, "src", he);
|
|
6438
6448
|
}
|
|
6439
6449
|
gt(w, "load", (he) => {
|
|
@@ -6474,7 +6484,7 @@ const hu = (e) => {
|
|
|
6474
6484
|
);
|
|
6475
6485
|
});
|
|
6476
6486
|
}
|
|
6477
|
-
}, k =
|
|
6487
|
+
}, k = qg(e, c), { addEscapeEventListener: L, removeEscapeEventListener: H } = fu(As(k), k.onSkip), R = (w) => {
|
|
6478
6488
|
if (w.key === "Tab" || [38, 40, 37, 39].includes(w.keyCode)) {
|
|
6479
6489
|
w.stopPropagation();
|
|
6480
6490
|
const de = (c.onClickOut || e.backdropSolidEdge ? document.documentElement.querySelector(`#${Cr}-${e.id}`) : document.documentElement)?.querySelector(
|
|
@@ -6540,7 +6550,7 @@ const hu = (e) => {
|
|
|
6540
6550
|
"attrs-href": ei,
|
|
6541
6551
|
"attrs-type": "text/css",
|
|
6542
6552
|
"attrs-rel": "stylesheet",
|
|
6543
|
-
"attrs-integrity":
|
|
6553
|
+
"attrs-integrity": Gg,
|
|
6544
6554
|
"attrs-crossorigin": "anonymous",
|
|
6545
6555
|
"on-load": (w) => {
|
|
6546
6556
|
p(w, !0);
|
|
@@ -6571,14 +6581,14 @@ const hu = (e) => {
|
|
|
6571
6581
|
"attrs-role": "dialog",
|
|
6572
6582
|
"attrs-tabindex": "-1"
|
|
6573
6583
|
},
|
|
6574
|
-
/* @__PURE__ */ a.html("div", { classNames: "content", class: I }, /* @__PURE__ */ a.html("div", { classNames: "panel panel-default" }, /* @__PURE__ */ a.html("div", { classNames: "panel-content" },
|
|
6575
|
-
|
|
6584
|
+
/* @__PURE__ */ a.html("div", { classNames: "content", class: I }, /* @__PURE__ */ a.html("div", { classNames: "panel panel-default" }, /* @__PURE__ */ a.html("div", { classNames: "panel-content" }, Kg(k) ? /* @__PURE__ */ a.html(
|
|
6585
|
+
Xg,
|
|
6576
6586
|
{
|
|
6577
6587
|
skipText: k.skipText,
|
|
6578
6588
|
onClick: k.onSkip
|
|
6579
6589
|
}
|
|
6580
6590
|
) : "", T || ""), l ? /* @__PURE__ */ a.html(
|
|
6581
|
-
|
|
6591
|
+
Yg,
|
|
6582
6592
|
{
|
|
6583
6593
|
skipOptions: k,
|
|
6584
6594
|
buttonText: e.buttonText,
|
|
@@ -6588,9 +6598,9 @@ const hu = (e) => {
|
|
|
6588
6598
|
)
|
|
6589
6599
|
);
|
|
6590
6600
|
};
|
|
6591
|
-
function
|
|
6601
|
+
function Yg({ skipOptions: e, buttonText: t, onButtonClick: n }) {
|
|
6592
6602
|
return !tl(e) && !t ? /* @__PURE__ */ a.html(ae, null) : /* @__PURE__ */ a.html("div", { classNames: "panel-content panel-content-actions" }, tl(e) ? /* @__PURE__ */ a.html("div", { classNames: "appcues-actions-left" }, /* @__PURE__ */ a.html(
|
|
6593
|
-
|
|
6603
|
+
zg,
|
|
6594
6604
|
{
|
|
6595
6605
|
skipText: e.skipText,
|
|
6596
6606
|
onClick: e.onSkip
|
|
@@ -6611,7 +6621,7 @@ function Kg({ skipOptions: e, buttonText: t, onButtonClick: n }) {
|
|
|
6611
6621
|
const mu = (e, t) => {
|
|
6612
6622
|
(e.key === " " || e.key === "Enter") && t();
|
|
6613
6623
|
};
|
|
6614
|
-
function
|
|
6624
|
+
function zg({ skipText: e, onClick: t }) {
|
|
6615
6625
|
return /* @__PURE__ */ a.html(
|
|
6616
6626
|
"small",
|
|
6617
6627
|
{
|
|
@@ -6628,7 +6638,7 @@ function Yg({ skipText: e, onClick: t }) {
|
|
|
6628
6638
|
e ? Ht(e) : el
|
|
6629
6639
|
);
|
|
6630
6640
|
}
|
|
6631
|
-
function
|
|
6641
|
+
function Xg({ onClick: e }) {
|
|
6632
6642
|
return (
|
|
6633
6643
|
// NOTE: Might need to put tabindex and keyup on a? test this out
|
|
6634
6644
|
/* @__PURE__ */ a.html(
|
|
@@ -6647,7 +6657,7 @@ function zg({ onClick: e }) {
|
|
|
6647
6657
|
)
|
|
6648
6658
|
);
|
|
6649
6659
|
}
|
|
6650
|
-
function
|
|
6660
|
+
function Jg({ color: e, zIndex: t }) {
|
|
6651
6661
|
return /* @__PURE__ */ a.svg(
|
|
6652
6662
|
"svg",
|
|
6653
6663
|
{
|
|
@@ -6684,7 +6694,7 @@ function Xg({ color: e, zIndex: t }) {
|
|
|
6684
6694
|
)
|
|
6685
6695
|
);
|
|
6686
6696
|
}
|
|
6687
|
-
function
|
|
6697
|
+
function Qg({ color: e, outerBeaconClasses: t, zIndex: n, visibility: r }) {
|
|
6688
6698
|
return /* @__PURE__ */ a.svg(
|
|
6689
6699
|
"svg",
|
|
6690
6700
|
{
|
|
@@ -6727,13 +6737,13 @@ function Jg({ color: e, outerBeaconClasses: t, zIndex: n, visibility: r }) {
|
|
|
6727
6737
|
)
|
|
6728
6738
|
);
|
|
6729
6739
|
}
|
|
6730
|
-
function
|
|
6740
|
+
function Zg(e = {}) {
|
|
6731
6741
|
if (e.iconType === "question")
|
|
6732
|
-
return
|
|
6742
|
+
return Jg(e);
|
|
6733
6743
|
const t = e.iconType === "hidden" ? "hidden" : "visible";
|
|
6734
|
-
return
|
|
6744
|
+
return Qg({ visibility: t, ...e });
|
|
6735
6745
|
}
|
|
6736
|
-
function
|
|
6746
|
+
function ey(e) {
|
|
6737
6747
|
const t = e.styling || {}, n = e.color || t.globalBeaconColor || "#FF765C", r = e[e.settledKey] && !e.willClose && e.stepVisible && e.isElementVisible;
|
|
6738
6748
|
let i = e.zIndexOverride || (!e.fixed && (e.zIndex === "auto" || e.zIndex === "") ? Dn - 1 : e.zIndex || "");
|
|
6739
6749
|
i = e.backdrop ? Dn - 1 : i;
|
|
@@ -6799,7 +6809,7 @@ function Zg(e) {
|
|
|
6799
6809
|
"on-mouseup": u
|
|
6800
6810
|
},
|
|
6801
6811
|
/* @__PURE__ */ a.html(
|
|
6802
|
-
|
|
6812
|
+
Zg,
|
|
6803
6813
|
{
|
|
6804
6814
|
iconType: h,
|
|
6805
6815
|
color: n,
|
|
@@ -6818,7 +6828,7 @@ function Zg(e) {
|
|
|
6818
6828
|
)
|
|
6819
6829
|
);
|
|
6820
6830
|
}
|
|
6821
|
-
const hr = 1500,
|
|
6831
|
+
const hr = 1500, ty = (e) => {
|
|
6822
6832
|
const t = "apc-spotlight", n = Math.max(
|
|
6823
6833
|
document.documentElement.scrollHeight,
|
|
6824
6834
|
document.documentElement.clientHeight,
|
|
@@ -6935,7 +6945,7 @@ const hr = 1500, ey = (e) => {
|
|
|
6935
6945
|
}
|
|
6936
6946
|
)
|
|
6937
6947
|
);
|
|
6938
|
-
},
|
|
6948
|
+
}, ny = ({ annotation: e, isScrollingToAnnotation: t }) => {
|
|
6939
6949
|
const {
|
|
6940
6950
|
backdrop: n,
|
|
6941
6951
|
backdropSolidEdge: r,
|
|
@@ -6998,7 +7008,7 @@ const hr = 1500, ey = (e) => {
|
|
|
6998
7008
|
boxShadow: `0 0 0 2500px rgba(0, 0, 0, ${i})`,
|
|
6999
7009
|
zIndex: Dn - 1e3
|
|
7000
7010
|
};
|
|
7001
|
-
return o && s && c ? r ?
|
|
7011
|
+
return o && s && c ? r ? ty(e) : /* @__PURE__ */ a.html("div", { style: d }, /* @__PURE__ */ a.html(
|
|
7002
7012
|
"div",
|
|
7003
7013
|
{
|
|
7004
7014
|
style: y,
|
|
@@ -7006,7 +7016,7 @@ const hr = 1500, ey = (e) => {
|
|
|
7006
7016
|
}
|
|
7007
7017
|
)) : /* @__PURE__ */ a.html(ae, null);
|
|
7008
7018
|
};
|
|
7009
|
-
function
|
|
7019
|
+
function ry(e) {
|
|
7010
7020
|
return e.annotations.map((t) => {
|
|
7011
7021
|
let n = t;
|
|
7012
7022
|
return n = {
|
|
@@ -7017,13 +7027,13 @@ function ny(e) {
|
|
|
7017
7027
|
accountId: e.settings.accountId,
|
|
7018
7028
|
styling: n.style || e.settings.styling
|
|
7019
7029
|
}, e.activeAnnotations.includes(n.id) && !n.error ? n.type === "hotspot" ? /* @__PURE__ */ a.html("div", { classNames: "apc-sequential-hotspot" }, /* @__PURE__ */ a.html(
|
|
7020
|
-
|
|
7030
|
+
ny,
|
|
7021
7031
|
{
|
|
7022
7032
|
annotation: n,
|
|
7023
7033
|
isScrollingToAnnotation: e.isScrollingToAnnotation
|
|
7024
7034
|
}
|
|
7025
7035
|
), /* @__PURE__ */ a.html(
|
|
7026
|
-
|
|
7036
|
+
ey,
|
|
7027
7037
|
{
|
|
7028
7038
|
...n,
|
|
7029
7039
|
key: n.id,
|
|
@@ -7044,32 +7054,32 @@ function ny(e) {
|
|
|
7044
7054
|
const Eu = ".appcues-beacon-outline-styling", vs = ({ key: e }) => {
|
|
7045
7055
|
const t = document.documentElement.querySelector(Eu);
|
|
7046
7056
|
e === "Tab" && (t.innerHTML = "", document.removeEventListener("keydown", vs));
|
|
7047
|
-
}, ry = () => {
|
|
7048
|
-
document.addEventListener("keydown", vs);
|
|
7049
7057
|
}, iy = () => {
|
|
7058
|
+
document.addEventListener("keydown", vs);
|
|
7059
|
+
}, oy = () => {
|
|
7050
7060
|
document.removeEventListener("keydown", vs);
|
|
7051
|
-
},
|
|
7061
|
+
}, sy = `
|
|
7052
7062
|
.beacon-container:focus, .beacon:focus {
|
|
7053
7063
|
outline: none;
|
|
7054
7064
|
}
|
|
7055
7065
|
`;
|
|
7056
|
-
function
|
|
7066
|
+
function cy() {
|
|
7057
7067
|
return /* @__PURE__ */ a.html(
|
|
7058
7068
|
"style",
|
|
7059
7069
|
{
|
|
7060
7070
|
selector: Eu,
|
|
7061
7071
|
"attrs-type": "text/css",
|
|
7062
|
-
"hook-insert":
|
|
7063
|
-
"hook-destroy":
|
|
7072
|
+
"hook-insert": iy,
|
|
7073
|
+
"hook-destroy": oy
|
|
7064
7074
|
},
|
|
7065
|
-
|
|
7075
|
+
sy
|
|
7066
7076
|
);
|
|
7067
7077
|
}
|
|
7068
7078
|
function gu(e, t) {
|
|
7069
7079
|
const n = Vn(e);
|
|
7070
7080
|
return n.length === 1 && n.indexOf(t) === 0;
|
|
7071
7081
|
}
|
|
7072
|
-
function
|
|
7082
|
+
function ly(e) {
|
|
7073
7083
|
const t = Vn(e), n = Ot(e);
|
|
7074
7084
|
return t.filter(
|
|
7075
7085
|
(r) => n[r] && !n[r].activatedAt
|
|
@@ -7136,7 +7146,7 @@ function yu(e, t, n) {
|
|
|
7136
7146
|
display: none;
|
|
7137
7147
|
}
|
|
7138
7148
|
`),
|
|
7139
|
-
/* @__PURE__ */ a.html(
|
|
7149
|
+
/* @__PURE__ */ a.html(cy, null),
|
|
7140
7150
|
/* @__PURE__ */ a.html(
|
|
7141
7151
|
"div",
|
|
7142
7152
|
{
|
|
@@ -7148,7 +7158,7 @@ function yu(e, t, n) {
|
|
|
7148
7158
|
"hook-update": d
|
|
7149
7159
|
},
|
|
7150
7160
|
/* @__PURE__ */ a.html(
|
|
7151
|
-
|
|
7161
|
+
ry,
|
|
7152
7162
|
{
|
|
7153
7163
|
annotations: l,
|
|
7154
7164
|
previousActiveElement: Ta(e),
|
|
@@ -7166,8 +7176,8 @@ function yu(e, t, n) {
|
|
|
7166
7176
|
)
|
|
7167
7177
|
);
|
|
7168
7178
|
}
|
|
7169
|
-
function
|
|
7170
|
-
const t =
|
|
7179
|
+
function ay(e) {
|
|
7180
|
+
const t = ly(e);
|
|
7171
7181
|
return yu(
|
|
7172
7182
|
e,
|
|
7173
7183
|
e.views.callbacks[z.HOTSPOTS],
|
|
@@ -7180,7 +7190,7 @@ function ly(e) {
|
|
|
7180
7190
|
function ol(e, t) {
|
|
7181
7191
|
return zt(e, t) === nt(e).length - 1;
|
|
7182
7192
|
}
|
|
7183
|
-
function
|
|
7193
|
+
function uy(e) {
|
|
7184
7194
|
return yu(
|
|
7185
7195
|
e,
|
|
7186
7196
|
e.views.callbacks[z.SEQUENTIAL_HOTSPOTS],
|
|
@@ -7195,16 +7205,16 @@ function ay(e) {
|
|
|
7195
7205
|
}
|
|
7196
7206
|
);
|
|
7197
7207
|
}
|
|
7198
|
-
function
|
|
7208
|
+
function dy(e) {
|
|
7199
7209
|
const t = ye(e);
|
|
7200
|
-
return Yn(t) ?
|
|
7210
|
+
return Yn(t) ? uy(e) : ay(e);
|
|
7201
7211
|
}
|
|
7202
|
-
const
|
|
7212
|
+
const fy = {
|
|
7203
7213
|
click: (e) => {
|
|
7204
7214
|
e.stopPropagation(), e.preventDefault(), e.target.control.checked = !0, e.target.form.requestSubmit();
|
|
7205
7215
|
}
|
|
7206
7216
|
};
|
|
7207
|
-
function
|
|
7217
|
+
function py(e) {
|
|
7208
7218
|
const { optionNumber: t, ctaStyles: n } = e, r = `option-#${t}`;
|
|
7209
7219
|
return /* @__PURE__ */ a.html("div", { classNames: "nps-number-option" }, /* @__PURE__ */ a.html(
|
|
7210
7220
|
"input",
|
|
@@ -7222,7 +7232,7 @@ function fy(e) {
|
|
|
7222
7232
|
style: n,
|
|
7223
7233
|
test: "test",
|
|
7224
7234
|
attrs: { for: r },
|
|
7225
|
-
on:
|
|
7235
|
+
on: fy
|
|
7226
7236
|
},
|
|
7227
7237
|
t
|
|
7228
7238
|
));
|
|
@@ -7232,7 +7242,7 @@ const sl = {
|
|
|
7232
7242
|
e.stopPropagation(), e.preventDefault();
|
|
7233
7243
|
}
|
|
7234
7244
|
};
|
|
7235
|
-
function
|
|
7245
|
+
function hy(e) {
|
|
7236
7246
|
const {
|
|
7237
7247
|
onNextStep: n,
|
|
7238
7248
|
onStartCollapsing: r,
|
|
@@ -7285,7 +7295,7 @@ function py(e) {
|
|
|
7285
7295
|
}
|
|
7286
7296
|
},
|
|
7287
7297
|
S.map((A) => /* @__PURE__ */ a.html(
|
|
7288
|
-
|
|
7298
|
+
py,
|
|
7289
7299
|
{
|
|
7290
7300
|
...e,
|
|
7291
7301
|
optionNumber: A
|
|
@@ -7310,7 +7320,7 @@ function py(e) {
|
|
|
7310
7320
|
p
|
|
7311
7321
|
))));
|
|
7312
7322
|
}
|
|
7313
|
-
function
|
|
7323
|
+
function my(e) {
|
|
7314
7324
|
const {
|
|
7315
7325
|
onPrevStep: t,
|
|
7316
7326
|
onCollapse: n,
|
|
@@ -7404,7 +7414,7 @@ function hy(e) {
|
|
|
7404
7414
|
S
|
|
7405
7415
|
)))));
|
|
7406
7416
|
}
|
|
7407
|
-
function
|
|
7417
|
+
function Ey(e) {
|
|
7408
7418
|
const { lastSubmitted: t, inlineStyles: n, toastMessage: r, show: i } = e, o = "Thanks!", s = {
|
|
7409
7419
|
quantitative: "← Thanks! Have any additional feedback?",
|
|
7410
7420
|
qualitative: o
|
|
@@ -7428,7 +7438,7 @@ function my(e) {
|
|
|
7428
7438
|
c
|
|
7429
7439
|
);
|
|
7430
7440
|
}
|
|
7431
|
-
function
|
|
7441
|
+
function gy(e) {
|
|
7432
7442
|
const {
|
|
7433
7443
|
accountId: t,
|
|
7434
7444
|
step: n,
|
|
@@ -7490,11 +7500,11 @@ function Ey(e) {
|
|
|
7490
7500
|
let ue = !1, w;
|
|
7491
7501
|
switch (n.step_number) {
|
|
7492
7502
|
case 1:
|
|
7493
|
-
ue = !1, w = /* @__PURE__ */ a.html(
|
|
7503
|
+
ue = !1, w = /* @__PURE__ */ a.html(hy, { ...G });
|
|
7494
7504
|
break;
|
|
7495
7505
|
case 2:
|
|
7496
7506
|
ue = !0, w = /* @__PURE__ */ a.html(
|
|
7497
|
-
|
|
7507
|
+
my,
|
|
7498
7508
|
{
|
|
7499
7509
|
...G,
|
|
7500
7510
|
feedbackText: m.feedbackText,
|
|
@@ -7583,7 +7593,7 @@ function Ey(e) {
|
|
|
7583
7593
|
)
|
|
7584
7594
|
) : "",
|
|
7585
7595
|
/* @__PURE__ */ a.html(
|
|
7586
|
-
|
|
7596
|
+
Ey,
|
|
7587
7597
|
{
|
|
7588
7598
|
...G,
|
|
7589
7599
|
show: m.toastVisible,
|
|
@@ -7593,9 +7603,9 @@ function Ey(e) {
|
|
|
7593
7603
|
)
|
|
7594
7604
|
)));
|
|
7595
7605
|
}
|
|
7596
|
-
const
|
|
7606
|
+
const yy = "/generic/main/7.17.3/satisfaction-survey.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css", Sy = "sha256-sxJdJpfLXrOLqMGRB1bfYQKkawXgstmlKYOqA1Z9CPo=", po = Vt(yy);
|
|
7597
7607
|
let cl, ti;
|
|
7598
|
-
function
|
|
7608
|
+
function Ty(e) {
|
|
7599
7609
|
const t = ye(e), n = xr(e), r = Ve(e), i = nt(e), o = ct(e), s = zt(e, o), c = i[s], l = t.attributes.pattern_type, { position: u } = t.attributes, d = e.views.callbacks[z.SATISFACTION_SURVEY], f = n.cssLoaded, h = Fi(e.settings), y = r !== te.SHOWING;
|
|
7600
7610
|
let p = {};
|
|
7601
7611
|
const m = f && ne.inArray(
|
|
@@ -7649,7 +7659,7 @@ function Sy(e) {
|
|
|
7649
7659
|
);
|
|
7650
7660
|
});
|
|
7651
7661
|
}, w = /* @__PURE__ */ a.html(
|
|
7652
|
-
|
|
7662
|
+
gy,
|
|
7653
7663
|
{
|
|
7654
7664
|
step: c,
|
|
7655
7665
|
key: `survey-step-${s}`,
|
|
@@ -7712,7 +7722,7 @@ function Sy(e) {
|
|
|
7712
7722
|
"link",
|
|
7713
7723
|
{
|
|
7714
7724
|
"attrs-href": po,
|
|
7715
|
-
"attrs-integrity":
|
|
7725
|
+
"attrs-integrity": Sy,
|
|
7716
7726
|
"attrs-crossorigin": "anonymous",
|
|
7717
7727
|
"attrs-type": "text/css",
|
|
7718
7728
|
"attrs-rel": "stylesheet",
|
|
@@ -7745,37 +7755,37 @@ function Sy(e) {
|
|
|
7745
7755
|
)
|
|
7746
7756
|
);
|
|
7747
7757
|
}
|
|
7748
|
-
const
|
|
7758
|
+
const Cy = b(le.INVALIDATE_FORM), _y = b(le.LOADED_CSS), Iy = b(
|
|
7749
7759
|
le.RESIZE_CONTENT,
|
|
7750
7760
|
(e, t, n) => ({ id: e, height: t.height, width: t.width, ts: n })
|
|
7751
|
-
),
|
|
7761
|
+
), Ay = b(
|
|
7752
7762
|
le.ACTIVATED_STEP_CHILD,
|
|
7753
7763
|
(e, t) => ({ stepChildId: e, timestamp: t })
|
|
7754
|
-
),
|
|
7764
|
+
), vy = b(
|
|
7755
7765
|
le.DEACTIVATED_STEP_CHILD
|
|
7756
7766
|
), pn = b(
|
|
7757
7767
|
le.SET_CURRENT_STEP_CHILD
|
|
7758
|
-
),
|
|
7768
|
+
), by = b(
|
|
7759
7769
|
le.CLEAR_CURRENT_STEP_CHILD
|
|
7760
|
-
),
|
|
7770
|
+
), wy = b(le.SET_CURRENT_STEP), Su = b(
|
|
7761
7771
|
le.ADVANCE_STEP_CHILD,
|
|
7762
7772
|
(e, t, n, r, i = !1) => ({ contentType: e, step: t, childId: n, nextChildId: r, shouldEndFlow: i })
|
|
7763
|
-
),
|
|
7773
|
+
), Ny = b(
|
|
7764
7774
|
le.RUN_PREV_STEP_CHILD,
|
|
7765
7775
|
(e, t) => ({ step: e, stepChildId: t })
|
|
7766
|
-
),
|
|
7776
|
+
), ky = b(
|
|
7767
7777
|
le.CLOSE_STEP,
|
|
7768
7778
|
(e, t) => ({ flowId: e, stepId: t })
|
|
7769
7779
|
), Jt = b(
|
|
7770
7780
|
le.CLOSE_FLOW,
|
|
7771
7781
|
(e, t) => ({ flowId: e, type: t })
|
|
7772
|
-
),
|
|
7782
|
+
), Oy = b(
|
|
7773
7783
|
le.CANCEL_STEP,
|
|
7774
7784
|
(e, t) => ({ flowId: e, stepId: t })
|
|
7775
7785
|
), Tu = b(
|
|
7776
7786
|
le.SET_PREVIOUS_ACTIVE_ELEMENT,
|
|
7777
7787
|
(e) => ({ element: e })
|
|
7778
|
-
),
|
|
7788
|
+
), Ry = b(
|
|
7779
7789
|
le.SET_FORCE_FOCUS,
|
|
7780
7790
|
(e) => ({ forceFocus: e })
|
|
7781
7791
|
), Cu = b(
|
|
@@ -7783,7 +7793,7 @@ const Ty = b(le.INVALIDATE_FORM), Cy = b(le.LOADED_CSS), _y = b(
|
|
|
7783
7793
|
(e) => ({ nextContentId: e })
|
|
7784
7794
|
), Bo = b(
|
|
7785
7795
|
le.CLEAR_CONTENT_STATE_CHILD
|
|
7786
|
-
),
|
|
7796
|
+
), Ly = b(mi.PREPARE_MODAL), xy = b(
|
|
7787
7797
|
mi.RESIZE_MODAL_CONTENT,
|
|
7788
7798
|
(e, t) => ({ id: e, height: t.height, width: t.width })
|
|
7789
7799
|
);
|
|
@@ -7804,7 +7814,7 @@ function jt(e, t, n, r, i = {}) {
|
|
|
7804
7814
|
}
|
|
7805
7815
|
);
|
|
7806
7816
|
}
|
|
7807
|
-
const
|
|
7817
|
+
const Py = (e, t) => (n) => {
|
|
7808
7818
|
e(
|
|
7809
7819
|
se(
|
|
7810
7820
|
pt(
|
|
@@ -7828,7 +7838,7 @@ function ll(e, t, n, r = {}) {
|
|
|
7828
7838
|
);
|
|
7829
7839
|
}
|
|
7830
7840
|
function Mi(e, t) {
|
|
7831
|
-
const n =
|
|
7841
|
+
const n = Py(
|
|
7832
7842
|
e,
|
|
7833
7843
|
t
|
|
7834
7844
|
);
|
|
@@ -7841,7 +7851,7 @@ function Mi(e, t) {
|
|
|
7841
7851
|
* @param {Element} el The content element.
|
|
7842
7852
|
*/
|
|
7843
7853
|
onContentChange(r, i) {
|
|
7844
|
-
Es(i) && e(
|
|
7854
|
+
Es(i) && e(Iy(r, i.getBoundingClientRect(), Tr()));
|
|
7845
7855
|
},
|
|
7846
7856
|
/**
|
|
7847
7857
|
* Callback for when content is added to the page.
|
|
@@ -7860,7 +7870,7 @@ function Mi(e, t) {
|
|
|
7860
7870
|
onCSSLoaded(r, i, o = !0) {
|
|
7861
7871
|
if (o) {
|
|
7862
7872
|
const s = t();
|
|
7863
|
-
e(
|
|
7873
|
+
e(_y(r)), e(
|
|
7864
7874
|
se(
|
|
7865
7875
|
Se(
|
|
7866
7876
|
K.CSS_LOADED,
|
|
@@ -8000,10 +8010,10 @@ function Mi(e, t) {
|
|
|
8000
8010
|
}
|
|
8001
8011
|
};
|
|
8002
8012
|
}
|
|
8003
|
-
function
|
|
8013
|
+
function Dy(e) {
|
|
8004
8014
|
return e === "" || !ne.defined(e);
|
|
8005
8015
|
}
|
|
8006
|
-
function
|
|
8016
|
+
function Fy(e, { value: t, minSelection: n, maxSelection: r, required: i }) {
|
|
8007
8017
|
switch (e) {
|
|
8008
8018
|
case "number":
|
|
8009
8019
|
return /^\d+$/.test(t) || "This field should be a number.";
|
|
@@ -8037,9 +8047,9 @@ function Dy(e, { value: t, minSelection: n, maxSelection: r, required: i }) {
|
|
|
8037
8047
|
function _u(e) {
|
|
8038
8048
|
const t = [];
|
|
8039
8049
|
return e.forEach((n) => {
|
|
8040
|
-
const r = [], i =
|
|
8050
|
+
const r = [], i = Dy(n.value);
|
|
8041
8051
|
n.required && i && r.push("This field is required.");
|
|
8042
|
-
const o = n.validation, s =
|
|
8052
|
+
const o = n.validation, s = Fy(o, n);
|
|
8043
8053
|
s !== !0 && (o !== "date" && (!i || i && n.required) || o === "date" && i && !n.required) && r.push(s), r.length > 0 && t.push({ fieldId: n.fieldId, messages: r });
|
|
8044
8054
|
}), t.length > 0 ? { result: !1, errors: t } : { result: !0 };
|
|
8045
8055
|
}
|
|
@@ -8052,15 +8062,15 @@ function ho(e, t, n, r = {}) {
|
|
|
8052
8062
|
r
|
|
8053
8063
|
);
|
|
8054
8064
|
}
|
|
8055
|
-
function
|
|
8065
|
+
function Uy(e) {
|
|
8056
8066
|
const t = e.querySelectorAll("input, textarea, select"), n = [];
|
|
8057
8067
|
for (const r of t)
|
|
8058
8068
|
r.type.search(/^(?:checkbox|radio)$/) > -1 ? r.checked && n.push(r) : n.push(r);
|
|
8059
8069
|
return n;
|
|
8060
8070
|
}
|
|
8061
|
-
const
|
|
8071
|
+
const Hy = (e) => e.length > 1 ? e.map((t) => t.value).join(`
|
|
8062
8072
|
`) : e[0]?.value || null;
|
|
8063
|
-
function
|
|
8073
|
+
function My(e, t) {
|
|
8064
8074
|
const n = Mi(e, t);
|
|
8065
8075
|
function r(i, o) {
|
|
8066
8076
|
const s = t(), c = { text: At(i) };
|
|
@@ -8104,7 +8114,7 @@ function Hy(e, t) {
|
|
|
8104
8114
|
*/
|
|
8105
8115
|
onFormSubmission(i, o, s, c, l = !1, u = !1) {
|
|
8106
8116
|
const d = o.map((h, y) => {
|
|
8107
|
-
const p =
|
|
8117
|
+
const p = Uy(h) || {}, m = h.querySelector(".form-field");
|
|
8108
8118
|
let T = null, _ = !1, S = null;
|
|
8109
8119
|
m && (T = m.getAttribute("data-appcues-validation"), _ = m.getAttribute("data-appcues-required") === "true", S = m.getAttribute(
|
|
8110
8120
|
"data-custom-reporting-label"
|
|
@@ -8125,7 +8135,7 @@ function Hy(e, t) {
|
|
|
8125
8135
|
validation: T,
|
|
8126
8136
|
fieldId: k,
|
|
8127
8137
|
label: L,
|
|
8128
|
-
value:
|
|
8138
|
+
value: Hy(p),
|
|
8129
8139
|
formFieldIndex: y,
|
|
8130
8140
|
customReportingLabel: S,
|
|
8131
8141
|
minSelection: A,
|
|
@@ -8209,47 +8219,47 @@ function Hy(e, t) {
|
|
|
8209
8219
|
* @param {Element} el The content element.
|
|
8210
8220
|
*/
|
|
8211
8221
|
onContentChange(i, o) {
|
|
8212
|
-
e(
|
|
8222
|
+
e(xy(i, o.getBoundingClientRect()));
|
|
8213
8223
|
}
|
|
8214
8224
|
};
|
|
8215
8225
|
}
|
|
8216
|
-
const
|
|
8226
|
+
const $y = b(Yt.EXPAND_HOTSPOT), By = b(Yt.PREPARE_HOTSPOTS), Vy = b(
|
|
8217
8227
|
Yt.SET_BEACON_SETTLED,
|
|
8218
8228
|
(e, t) => ({ id: e, isBeaconSettled: t })
|
|
8219
8229
|
), ui = b(
|
|
8220
8230
|
Yt.CLOSE_LAST_HOTSPOT,
|
|
8221
8231
|
(e, t, n = {}) => ({ stepId: e, childId: t, params: n })
|
|
8222
|
-
), Vy = b(
|
|
8223
|
-
me.ADD_ACTIVE_ANNOTATIONS
|
|
8224
8232
|
), Wy = b(
|
|
8233
|
+
me.ADD_ACTIVE_ANNOTATIONS
|
|
8234
|
+
), Gy = b(
|
|
8225
8235
|
me.REMOVE_ACTIVE_ANNOTATIONS
|
|
8226
8236
|
), bs = b(
|
|
8227
8237
|
me.HIDE_AND_REMOVE_ACTIVE_ANNOTATIONS
|
|
8228
|
-
), Gy = b(
|
|
8229
|
-
me.SET_ACTIVE_ANNOTATIONS_WILL_CLOSE
|
|
8230
8238
|
), jy = b(
|
|
8239
|
+
me.SET_ACTIVE_ANNOTATIONS_WILL_CLOSE
|
|
8240
|
+
), qy = b(
|
|
8231
8241
|
me.START_CALCULATE_POSITIONS
|
|
8232
8242
|
), al = b(
|
|
8233
8243
|
me.START_HANDLE_POSITION_UPDATES
|
|
8234
|
-
), qy = b(
|
|
8235
|
-
me.SET_ANNOTATIONS_POSITIONS
|
|
8236
8244
|
), Ky = b(
|
|
8245
|
+
me.SET_ANNOTATIONS_POSITIONS
|
|
8246
|
+
), Yy = b(
|
|
8237
8247
|
me.SET_ANNOTATIONS_READY
|
|
8238
8248
|
), Iu = b(
|
|
8239
8249
|
me.SET_IS_SCROLLING_TO_ANNOTATION,
|
|
8240
8250
|
(e, t) => ({ annotationId: e, isScrolling: t })
|
|
8241
|
-
), Yy = b(
|
|
8242
|
-
me.SAVE_POSITION_DETAILS
|
|
8243
8251
|
), zy = b(
|
|
8244
|
-
me.
|
|
8252
|
+
me.SAVE_POSITION_DETAILS
|
|
8245
8253
|
), Xy = b(
|
|
8246
|
-
me.
|
|
8254
|
+
me.REPORTED_ANNOTATIONS_ERRORS
|
|
8247
8255
|
), Jy = b(
|
|
8248
|
-
me.
|
|
8256
|
+
me.REPORTED_ANNOTATIONS_RECOVERY
|
|
8249
8257
|
), Qy = b(
|
|
8258
|
+
me.SET_EXISTING_ANNOTATIONS_ERRORS
|
|
8259
|
+
), Zy = b(
|
|
8250
8260
|
me.SET_TOOLTIP_SETTLED,
|
|
8251
8261
|
(e, t) => ({ id: e, isTooltipSettled: t })
|
|
8252
|
-
),
|
|
8262
|
+
), eS = b(
|
|
8253
8263
|
me.GO_TO_STEP,
|
|
8254
8264
|
(e, t, n) => ({ stepId: e, currentStepChildId: t, nextStepChildIndex: n })
|
|
8255
8265
|
);
|
|
@@ -8260,7 +8270,7 @@ function Au(e, t) {
|
|
|
8260
8270
|
return c && as(s, c) ? c : null;
|
|
8261
8271
|
}
|
|
8262
8272
|
function i(s) {
|
|
8263
|
-
s && (e(bs([s])), e(
|
|
8273
|
+
s && (e(bs([s])), e(by()), n.onStepChildDeactivated(s));
|
|
8264
8274
|
}
|
|
8265
8275
|
const o = (s = {}) => () => {
|
|
8266
8276
|
const c = r(), l = ce(t());
|
|
@@ -8288,7 +8298,7 @@ function Au(e, t) {
|
|
|
8288
8298
|
* @param {string} hotspotId The ID of the hotspot that we're activating.
|
|
8289
8299
|
*/
|
|
8290
8300
|
onActivate(s) {
|
|
8291
|
-
e(
|
|
8301
|
+
e($y(s)), n.onStepChildActivated(s), e(Iu(s, !1));
|
|
8292
8302
|
},
|
|
8293
8303
|
/**
|
|
8294
8304
|
* Callback for when a user clicks an individual hotspot.
|
|
@@ -8335,7 +8345,7 @@ function Au(e, t) {
|
|
|
8335
8345
|
onCompleteFlow: o({ shouldEndFlow: !0 })
|
|
8336
8346
|
};
|
|
8337
8347
|
}
|
|
8338
|
-
function
|
|
8348
|
+
function tS(e, t) {
|
|
8339
8349
|
const n = Au(e, t), r = Mi(e, t), i = (o, s = {}) => (c, l) => {
|
|
8340
8350
|
const u = t(), d = ce(u), f = rt(u), h = d ? lt(f, d) : null, y = { text: At(c) };
|
|
8341
8351
|
e(
|
|
@@ -8431,7 +8441,7 @@ function eS(e, t) {
|
|
|
8431
8441
|
u
|
|
8432
8442
|
)
|
|
8433
8443
|
)
|
|
8434
|
-
), e(
|
|
8444
|
+
), e(Ny(l, s));
|
|
8435
8445
|
},
|
|
8436
8446
|
onJumpStep: (o, s, c) => {
|
|
8437
8447
|
const l = t(), u = ce(l), d = { text: At(o) };
|
|
@@ -8445,40 +8455,40 @@ function eS(e, t) {
|
|
|
8445
8455
|
d
|
|
8446
8456
|
)
|
|
8447
8457
|
)
|
|
8448
|
-
), e(
|
|
8458
|
+
), e(eS(u, s, c));
|
|
8449
8459
|
},
|
|
8450
8460
|
onHandleBlur(o, s) {
|
|
8451
|
-
e(
|
|
8461
|
+
e(Ry(o.target === s));
|
|
8452
8462
|
}
|
|
8453
8463
|
};
|
|
8454
8464
|
}
|
|
8455
|
-
const
|
|
8465
|
+
const nS = b(
|
|
8456
8466
|
Ae.PREPARE_SATISFACTION_SURVEY
|
|
8457
|
-
),
|
|
8467
|
+
), rS = b(
|
|
8458
8468
|
Ae.START_COLLAPSING_SATISFACTION_SURVEY
|
|
8459
8469
|
), vu = b(
|
|
8460
8470
|
Ae.COLLAPSE_SATISFACTION_SURVEY
|
|
8461
|
-
),
|
|
8471
|
+
), iS = b(
|
|
8462
8472
|
Ae.EXPAND_SATISFACTION_SURVEY
|
|
8463
8473
|
), bu = b(
|
|
8464
8474
|
Ae.SHOW_SATISFACTION_SURVEY_TOAST
|
|
8465
8475
|
), wu = b(
|
|
8466
8476
|
Ae.HIDE_SATISFACTION_SURVEY_TOAST
|
|
8467
|
-
),
|
|
8477
|
+
), oS = b(
|
|
8468
8478
|
Ae.QUANTITATIVE_QUESTION_SUBMITTED,
|
|
8469
8479
|
(e) => ({ score: e })
|
|
8470
|
-
), oS = b(
|
|
8471
|
-
Ae.CLICKED_UPDATE_NPS_SCORE
|
|
8472
8480
|
), sS = b(
|
|
8481
|
+
Ae.CLICKED_UPDATE_NPS_SCORE
|
|
8482
|
+
), cS = b(
|
|
8473
8483
|
Ae.QUALITATIVE_QUESTION_SUBMITTED,
|
|
8474
8484
|
(e) => ({ feedback: e })
|
|
8475
|
-
),
|
|
8485
|
+
), lS = b(
|
|
8476
8486
|
Ae.FEEDBACK_TEXT_CHANGED,
|
|
8477
8487
|
(e) => ({ feedback: e })
|
|
8478
|
-
),
|
|
8488
|
+
), aS = b(
|
|
8479
8489
|
Ae.ASK_ME_LATER_SELECTED
|
|
8480
8490
|
);
|
|
8481
|
-
function
|
|
8491
|
+
function uS(e, t) {
|
|
8482
8492
|
const n = Mi(e, t);
|
|
8483
8493
|
function r(m) {
|
|
8484
8494
|
const T = t(), _ = Aa(
|
|
@@ -8488,25 +8498,25 @@ function aS(e, t) {
|
|
|
8488
8498
|
_ && e(pn(_));
|
|
8489
8499
|
}
|
|
8490
8500
|
function i(m) {
|
|
8491
|
-
e(
|
|
8501
|
+
e(oS(m));
|
|
8492
8502
|
}
|
|
8493
8503
|
function o(m) {
|
|
8494
|
-
e(
|
|
8504
|
+
e(cS(m));
|
|
8495
8505
|
}
|
|
8496
8506
|
function s(m) {
|
|
8497
|
-
e(
|
|
8507
|
+
e(lS(m));
|
|
8498
8508
|
}
|
|
8499
8509
|
function c() {
|
|
8500
|
-
e(
|
|
8510
|
+
e(aS());
|
|
8501
8511
|
}
|
|
8502
8512
|
function l() {
|
|
8503
8513
|
e(vu());
|
|
8504
8514
|
}
|
|
8505
8515
|
function u() {
|
|
8506
|
-
e(
|
|
8516
|
+
e(rS());
|
|
8507
8517
|
}
|
|
8508
8518
|
function d() {
|
|
8509
|
-
e(
|
|
8519
|
+
e(iS());
|
|
8510
8520
|
}
|
|
8511
8521
|
function f() {
|
|
8512
8522
|
e(bu());
|
|
@@ -8522,7 +8532,7 @@ function aS(e, t) {
|
|
|
8522
8532
|
_ && (ga(
|
|
8523
8533
|
ye(T),
|
|
8524
8534
|
_
|
|
8525
|
-
).step_type === "quantitative-question" && e(
|
|
8535
|
+
).step_type === "quantitative-question" && e(sS()), e(pn(_)));
|
|
8526
8536
|
}
|
|
8527
8537
|
function p() {
|
|
8528
8538
|
n.onShow(), n.onStepChildActivated(
|
|
@@ -8569,16 +8579,16 @@ const ul = b(re.START_CHECKLIST), Cn = b(
|
|
|
8569
8579
|
), Nu = b(
|
|
8570
8580
|
re.SET_EXPAND_CHECKLIST_LATER,
|
|
8571
8581
|
(e, t) => ({ checklistId: e, shouldTryExpandChecklist: t })
|
|
8572
|
-
),
|
|
8582
|
+
), dS = b(
|
|
8573
8583
|
re.SHOW_DISMISS_CONFIRMATION,
|
|
8574
8584
|
(e) => ({ checklistId: e })
|
|
8575
|
-
),
|
|
8585
|
+
), fS = b(
|
|
8576
8586
|
re.CANCEL_DISMISS_CONFIRMATION,
|
|
8577
8587
|
(e) => ({ checklistId: e })
|
|
8578
|
-
),
|
|
8588
|
+
), pS = b(
|
|
8579
8589
|
re.CONFIRM_DISMISS_CHECKLIST,
|
|
8580
8590
|
(e, t, n) => ({ checklistId: e, checklistName: t, didCompleteChecklist: n })
|
|
8581
|
-
),
|
|
8591
|
+
), hS = b(
|
|
8582
8592
|
re.LOADED_CHECKLIST_CSS,
|
|
8583
8593
|
(e) => ({ checklistId: e })
|
|
8584
8594
|
), ku = b(
|
|
@@ -8586,25 +8596,25 @@ const ul = b(re.START_CHECKLIST), Cn = b(
|
|
|
8586
8596
|
), Ou = b(
|
|
8587
8597
|
re.START_CHECKLIST_ITEM,
|
|
8588
8598
|
(e, t, n = 0, r = {}) => ({ checklistId: e, itemId: t, actionIndex: n, checklist: r })
|
|
8589
|
-
),
|
|
8599
|
+
), mS = b(
|
|
8590
8600
|
re.START_CHECKLIST_ACTION,
|
|
8591
8601
|
(e, t, n, r) => ({ action: e, checklistId: t, itemId: n, actionIndex: r })
|
|
8592
8602
|
), mo = b(
|
|
8593
8603
|
re.COMPLETED_CHECKLIST_ACTION,
|
|
8594
8604
|
(e, t, n) => ({ checklistId: e, itemId: t, actionIndex: n })
|
|
8595
|
-
),
|
|
8605
|
+
), ES = b(
|
|
8596
8606
|
re.SET_CHECKLIST_HEIGHT,
|
|
8597
8607
|
(e, t) => ({ checklistId: e, height: t })
|
|
8598
|
-
),
|
|
8608
|
+
), gS = b(
|
|
8599
8609
|
re.SET_CHECKLIST_WIDTH,
|
|
8600
8610
|
(e, t) => ({ checklistId: e, width: t })
|
|
8601
|
-
),
|
|
8611
|
+
), yS = b(
|
|
8602
8612
|
re.CLEAR_FORCE_SHOWN_CHECKLIST
|
|
8603
8613
|
), Ru = b(
|
|
8604
8614
|
re.SEND_CHECKLIST_SHOWN_EVENT,
|
|
8605
8615
|
(e) => ({ checklist: e })
|
|
8606
8616
|
);
|
|
8607
|
-
function
|
|
8617
|
+
function SS(e, t) {
|
|
8608
8618
|
let n = !1;
|
|
8609
8619
|
return {
|
|
8610
8620
|
onBeaconClicked(r) {
|
|
@@ -8619,14 +8629,14 @@ function yS(e, t) {
|
|
|
8619
8629
|
e(Ou(r, i));
|
|
8620
8630
|
},
|
|
8621
8631
|
onDismissClicked(r) {
|
|
8622
|
-
e(
|
|
8632
|
+
e(dS(r));
|
|
8623
8633
|
},
|
|
8624
8634
|
onDismissCanceled(r) {
|
|
8625
|
-
e(
|
|
8635
|
+
e(fS(r));
|
|
8626
8636
|
},
|
|
8627
8637
|
onDismissConfirmed(r, i, o = !1) {
|
|
8628
8638
|
e(
|
|
8629
|
-
|
|
8639
|
+
pS(
|
|
8630
8640
|
r,
|
|
8631
8641
|
i,
|
|
8632
8642
|
o
|
|
@@ -8638,7 +8648,7 @@ function yS(e, t) {
|
|
|
8638
8648
|
},
|
|
8639
8649
|
onCSSLoaded(r, i, o = !0) {
|
|
8640
8650
|
if (o)
|
|
8641
|
-
e(
|
|
8651
|
+
e(hS(r));
|
|
8642
8652
|
else {
|
|
8643
8653
|
const s = new Error(
|
|
8644
8654
|
`Failed to load CSS for checklist ${r}`
|
|
@@ -8648,15 +8658,15 @@ function yS(e, t) {
|
|
|
8648
8658
|
},
|
|
8649
8659
|
onExpandChecklistResize(r, i) {
|
|
8650
8660
|
e(
|
|
8651
|
-
|
|
8661
|
+
ES(r, i)
|
|
8652
8662
|
);
|
|
8653
8663
|
},
|
|
8654
8664
|
onCollapseBeaconResize(r, i) {
|
|
8655
|
-
e(
|
|
8665
|
+
e(gS(r, i));
|
|
8656
8666
|
}
|
|
8657
8667
|
};
|
|
8658
8668
|
}
|
|
8659
|
-
function
|
|
8669
|
+
function TS(e) {
|
|
8660
8670
|
return {
|
|
8661
8671
|
onCancelClicked() {
|
|
8662
8672
|
e({ type: Un.CANCEL_TEST });
|
|
@@ -8669,20 +8679,20 @@ function SS(e) {
|
|
|
8669
8679
|
}
|
|
8670
8680
|
};
|
|
8671
8681
|
}
|
|
8672
|
-
const
|
|
8682
|
+
const CS = b(
|
|
8673
8683
|
vt.LOADED_LAUNCHPAD,
|
|
8674
8684
|
({ selector: e, position: t, header: n, footer: r, icon: i }) => ({ selector: e, position: t, header: n, footer: r, icon: i })
|
|
8675
|
-
),
|
|
8685
|
+
), _S = b(
|
|
8676
8686
|
vt.UPDATED_WIDGET_HISTORY,
|
|
8677
8687
|
(e) => ({ history: e })
|
|
8678
|
-
),
|
|
8688
|
+
), IS = b(
|
|
8679
8689
|
vt.UPDATED_WIDGET_FLOWS,
|
|
8680
8690
|
(e) => ({ flows: e })
|
|
8681
8691
|
), Eo = b(
|
|
8682
8692
|
vt.TOGGLED_WIDGET,
|
|
8683
8693
|
(e) => ({ expanded: e })
|
|
8684
8694
|
);
|
|
8685
|
-
function
|
|
8695
|
+
function AS(e, t) {
|
|
8686
8696
|
function n() {
|
|
8687
8697
|
if (Lo(t())) {
|
|
8688
8698
|
e(Eo(!1));
|
|
@@ -8730,7 +8740,7 @@ function IS(e, t) {
|
|
|
8730
8740
|
}
|
|
8731
8741
|
};
|
|
8732
8742
|
}
|
|
8733
|
-
function
|
|
8743
|
+
function vS({ settings: e, sagas: t, onStateChange: n }) {
|
|
8734
8744
|
const r = $h(), i = om(), o = og(
|
|
8735
8745
|
{
|
|
8736
8746
|
orderedContent: [],
|
|
@@ -8756,34 +8766,34 @@ function AS({ settings: e, sagas: t, onStateChange: n }) {
|
|
|
8756
8766
|
);
|
|
8757
8767
|
if (o.dispatch(
|
|
8758
8768
|
Ja({
|
|
8759
|
-
[z.MODAL]:
|
|
8769
|
+
[z.MODAL]: My(o.dispatch, o.getState),
|
|
8760
8770
|
[z.HOTSPOTS]: Au(
|
|
8761
8771
|
o.dispatch,
|
|
8762
8772
|
o.getState
|
|
8763
8773
|
),
|
|
8764
|
-
[z.SEQUENTIAL_HOTSPOTS]:
|
|
8774
|
+
[z.SEQUENTIAL_HOTSPOTS]: tS(
|
|
8765
8775
|
o.dispatch,
|
|
8766
8776
|
o.getState
|
|
8767
8777
|
),
|
|
8768
|
-
[z.SATISFACTION_SURVEY]:
|
|
8778
|
+
[z.SATISFACTION_SURVEY]: uS(
|
|
8769
8779
|
o.dispatch,
|
|
8770
8780
|
o.getState
|
|
8771
8781
|
),
|
|
8772
|
-
[z.CHECKLIST]:
|
|
8782
|
+
[z.CHECKLIST]: SS(
|
|
8773
8783
|
o.dispatch,
|
|
8774
8784
|
o.getState
|
|
8775
8785
|
),
|
|
8776
|
-
[z.TEST_MODE]:
|
|
8786
|
+
[z.TEST_MODE]: TS(
|
|
8777
8787
|
o.dispatch,
|
|
8778
8788
|
o.getState
|
|
8779
8789
|
),
|
|
8780
|
-
[z.WIDGET]:
|
|
8790
|
+
[z.WIDGET]: AS(o.dispatch, o.getState)
|
|
8781
8791
|
})
|
|
8782
8792
|
), o.dispatch(
|
|
8783
8793
|
km({
|
|
8784
|
-
[z.MODAL]:
|
|
8785
|
-
[z.HOTSPOTS]:
|
|
8786
|
-
[z.SATISFACTION_SURVEY]:
|
|
8794
|
+
[z.MODAL]: Mg,
|
|
8795
|
+
[z.HOTSPOTS]: dy,
|
|
8796
|
+
[z.SATISFACTION_SURVEY]: Ty
|
|
8787
8797
|
})
|
|
8788
8798
|
), o.subscribe(() => {
|
|
8789
8799
|
const s = o.getState();
|
|
@@ -8808,7 +8818,7 @@ function AS({ settings: e, sagas: t, onStateChange: n }) {
|
|
|
8808
8818
|
}
|
|
8809
8819
|
var _r = (e) => typeof e == "function" ? e : function() {
|
|
8810
8820
|
return e;
|
|
8811
|
-
},
|
|
8821
|
+
}, bS = typeof self < "u" ? self : null, gr = typeof window < "u" ? window : null, mn = bS || gr || mn, wS = "2.0.0", It = { connecting: 0, open: 1, closing: 2, closed: 3 }, NS = 1e4, kS = 1e3, it = {
|
|
8812
8822
|
closed: "closed",
|
|
8813
8823
|
errored: "errored",
|
|
8814
8824
|
joined: "joined",
|
|
@@ -8823,7 +8833,7 @@ var _r = (e) => typeof e == "function" ? e : function() {
|
|
|
8823
8833
|
}, Vo = {
|
|
8824
8834
|
longpoll: "longpoll",
|
|
8825
8835
|
websocket: "websocket"
|
|
8826
|
-
},
|
|
8836
|
+
}, OS = {
|
|
8827
8837
|
complete: 4
|
|
8828
8838
|
}, ni = class {
|
|
8829
8839
|
constructor(e, t, n, r) {
|
|
@@ -8919,7 +8929,7 @@ var _r = (e) => typeof e == "function" ? e : function() {
|
|
|
8919
8929
|
this.tries = this.tries + 1, this.callback();
|
|
8920
8930
|
}, this.timerCalc(this.tries + 1));
|
|
8921
8931
|
}
|
|
8922
|
-
},
|
|
8932
|
+
}, RS = class {
|
|
8923
8933
|
constructor(e, t, n) {
|
|
8924
8934
|
this.state = it.closed, this.topic = e, this.params = _r(t || {}), this.socket = n, this.bindings = [], this.bindingRef = 0, this.timeout = this.socket.timeout, this.joinedOnce = !1, this.joinPush = new ni(this, Pt.join, this.params, this.timeout), this.pushBuffer = [], this.stateChangeRefs = [], this.rejoinTimer = new Lu(() => {
|
|
8925
8935
|
this.socket.isConnected() && this.rejoin();
|
|
@@ -9159,7 +9169,7 @@ var _r = (e) => typeof e == "function" ? e : function() {
|
|
|
9159
9169
|
}
|
|
9160
9170
|
static xhrRequest(e, t, n, r, i, o, s, c) {
|
|
9161
9171
|
return e.open(t, n, !0), e.timeout = o, e.setRequestHeader("Content-Type", r), e.onerror = () => c && c(null), e.onreadystatechange = () => {
|
|
9162
|
-
if (e.readyState ===
|
|
9172
|
+
if (e.readyState === OS.complete && c) {
|
|
9163
9173
|
let l = this.parseJSON(e.responseText);
|
|
9164
9174
|
c(l);
|
|
9165
9175
|
}
|
|
@@ -9190,7 +9200,7 @@ var _r = (e) => typeof e == "function" ? e : function() {
|
|
|
9190
9200
|
let n = e.match(/\?/) ? "&" : "?";
|
|
9191
9201
|
return `${e}${n}${this.serialize(t)}`;
|
|
9192
9202
|
}
|
|
9193
|
-
},
|
|
9203
|
+
}, LS = (e) => {
|
|
9194
9204
|
let t = "", n = new Uint8Array(e), r = n.byteLength;
|
|
9195
9205
|
for (let i = 0; i < r; i++)
|
|
9196
9206
|
t += String.fromCharCode(n[i]);
|
|
@@ -9253,7 +9263,7 @@ var _r = (e) => typeof e == "function" ? e : function() {
|
|
|
9253
9263
|
// setTimeout 0, which optimizes back-to-back procedural
|
|
9254
9264
|
// pushes against an empty buffer
|
|
9255
9265
|
send(e) {
|
|
9256
|
-
typeof e != "string" && (e =
|
|
9266
|
+
typeof e != "string" && (e = LS(e)), this.currentBatch ? this.currentBatch.push(e) : this.awaitingBatchAck ? this.batchBuffer.push(e) : (this.currentBatch = [e], this.currentBatchTimer = setTimeout(() => {
|
|
9257
9267
|
this.batchSend(this.currentBatch), this.currentBatch = null;
|
|
9258
9268
|
}, 0));
|
|
9259
9269
|
}
|
|
@@ -9346,16 +9356,16 @@ var _r = (e) => typeof e == "function" ? e : function() {
|
|
|
9346
9356
|
let l = e.slice(o, e.byteLength);
|
|
9347
9357
|
return { join_ref: null, ref: null, topic: s, event: c, payload: l };
|
|
9348
9358
|
}
|
|
9349
|
-
},
|
|
9359
|
+
}, xS = class {
|
|
9350
9360
|
constructor(e, t = {}) {
|
|
9351
|
-
this.stateChangeCallbacks = { open: [], close: [], error: [], message: [] }, this.channels = [], this.sendBuffer = [], this.ref = 0, this.timeout = t.timeout ||
|
|
9361
|
+
this.stateChangeCallbacks = { open: [], close: [], error: [], message: [] }, this.channels = [], this.sendBuffer = [], this.ref = 0, this.timeout = t.timeout || NS, this.transport = t.transport || mn.WebSocket || mr, this.primaryPassedHealthCheck = !1, this.longPollFallbackMs = t.longPollFallbackMs, this.fallbackTimer = null, this.sessionStore = t.sessionStorage || mn && mn.sessionStorage, this.establishedConnections = 0, this.defaultEncoder = ri.encode.bind(ri), this.defaultDecoder = ri.decode.bind(ri), this.closeWasClean = !1, this.disconnecting = !1, this.binaryType = t.binaryType || "arraybuffer", this.connectClock = 1, this.transport !== mr ? (this.encode = t.encode || this.defaultEncoder, this.decode = t.decode || this.defaultDecoder) : (this.encode = this.defaultEncoder, this.decode = this.defaultDecoder);
|
|
9352
9362
|
let n = null;
|
|
9353
9363
|
gr && gr.addEventListener && (gr.addEventListener("pagehide", (r) => {
|
|
9354
9364
|
this.conn && (this.disconnect(), n = this.connectClock);
|
|
9355
9365
|
}), gr.addEventListener("pageshow", (r) => {
|
|
9356
9366
|
n === this.connectClock && (n = null, this.connect());
|
|
9357
9367
|
})), this.heartbeatIntervalMs = t.heartbeatIntervalMs || 3e4, this.rejoinAfterMs = (r) => t.rejoinAfterMs ? t.rejoinAfterMs(r) : [1e3, 2e3, 5e3][r - 1] || 1e4, this.reconnectAfterMs = (r) => t.reconnectAfterMs ? t.reconnectAfterMs(r) : [10, 50, 100, 150, 200, 250, 500, 1e3, 2e3][r - 1] || 5e3, this.logger = t.logger || null, !this.logger && t.debug && (this.logger = (r, i, o) => {
|
|
9358
|
-
}), this.longpollerTimeout = t.longpollerTimeout || 2e4, this.params = _r(t.params || {}), this.endPoint = `${e}/${Vo.websocket}`, this.vsn = t.vsn ||
|
|
9368
|
+
}), this.longpollerTimeout = t.longpollerTimeout || 2e4, this.params = _r(t.params || {}), this.endPoint = `${e}/${Vo.websocket}`, this.vsn = t.vsn || wS, this.heartbeatTimeoutTimer = null, this.heartbeatTimer = null, this.pendingHeartbeatRef = null, this.reconnectTimer = new Lu(() => {
|
|
9359
9369
|
this.teardown(() => this.connect());
|
|
9360
9370
|
}, this.reconnectAfterMs);
|
|
9361
9371
|
}
|
|
@@ -9526,7 +9536,7 @@ var _r = (e) => typeof e == "function" ? e : function() {
|
|
|
9526
9536
|
* @private
|
|
9527
9537
|
*/
|
|
9528
9538
|
heartbeatTimeout() {
|
|
9529
|
-
this.pendingHeartbeatRef && (this.pendingHeartbeatRef = null, this.hasLogger() && this.log("transport", "heartbeat timeout. Attempting to re-establish connection"), this.triggerChanError(), this.closeWasClean = !1, this.teardown(() => this.reconnectTimer.scheduleTimeout(),
|
|
9539
|
+
this.pendingHeartbeatRef && (this.pendingHeartbeatRef = null, this.hasLogger() && this.log("transport", "heartbeat timeout. Attempting to re-establish connection"), this.triggerChanError(), this.closeWasClean = !1, this.teardown(() => this.reconnectTimer.scheduleTimeout(), kS, "heartbeat timeout"));
|
|
9530
9540
|
}
|
|
9531
9541
|
resetHeartbeat() {
|
|
9532
9542
|
this.conn && this.conn.skipHeartbeat || (this.pendingHeartbeatRef = null, this.clearHeartbeats(), this.heartbeatTimer = setTimeout(() => this.sendHeartbeat(), this.heartbeatIntervalMs));
|
|
@@ -9632,7 +9642,7 @@ var _r = (e) => typeof e == "function" ? e : function() {
|
|
|
9632
9642
|
* @returns {Channel}
|
|
9633
9643
|
*/
|
|
9634
9644
|
channel(e, t = {}) {
|
|
9635
|
-
let n = new
|
|
9645
|
+
let n = new RS(e, t, this);
|
|
9636
9646
|
return this.channels.push(n), n;
|
|
9637
9647
|
}
|
|
9638
9648
|
/**
|
|
@@ -9685,7 +9695,7 @@ function Bi() {
|
|
|
9685
9695
|
return e = Math.floor(e / 16), (n === "x" ? r : r & 3 | 8).toString(16);
|
|
9686
9696
|
});
|
|
9687
9697
|
}
|
|
9688
|
-
function
|
|
9698
|
+
function PS(e, t, n = {}) {
|
|
9689
9699
|
return new Promise((r, i) => {
|
|
9690
9700
|
const o = new XMLHttpRequest();
|
|
9691
9701
|
o.addEventListener("readystatechange", ({ currentTarget: s }) => {
|
|
@@ -9713,7 +9723,7 @@ function xS(e, t, n = {}) {
|
|
|
9713
9723
|
});
|
|
9714
9724
|
}
|
|
9715
9725
|
function _n(e, t) {
|
|
9716
|
-
return
|
|
9726
|
+
return PS("GET", e, t);
|
|
9717
9727
|
}
|
|
9718
9728
|
const ws = (e) => (t) => {
|
|
9719
9729
|
const n = Array.isArray(t) ? [] : {};
|
|
@@ -9721,7 +9731,7 @@ const ws = (e) => (t) => {
|
|
|
9721
9731
|
for (i in t)
|
|
9722
9732
|
Object.prototype.hasOwnProperty.call(t, i) && (r = e[i], o = typeof r, n[i] = o === "function" ? r(t[i]) : r && o === "object" ? ws(r)(t[i]) : t[i]);
|
|
9723
9733
|
return n;
|
|
9724
|
-
},
|
|
9734
|
+
}, DS = (e) => (t) => t.map(e), FS = (e, t, n) => n ? t.reduce((r, i) => r[i] || e, n) : e, Pn = (e) => e.split("?")[0], US = ws({
|
|
9725
9735
|
attributes: {
|
|
9726
9736
|
url: Pn,
|
|
9727
9737
|
_identity: {
|
|
@@ -9732,16 +9742,16 @@ const ws = (e) => (t) => {
|
|
|
9732
9742
|
context: {
|
|
9733
9743
|
url: Pn
|
|
9734
9744
|
}
|
|
9735
|
-
}),
|
|
9745
|
+
}), HS = ws({
|
|
9736
9746
|
profile_update: {
|
|
9737
9747
|
_lastPageUrl: Pn,
|
|
9738
9748
|
_currentPageUrl: Pn
|
|
9739
9749
|
},
|
|
9740
|
-
events:
|
|
9741
|
-
}),
|
|
9750
|
+
events: DS(US)
|
|
9751
|
+
}), MS = (e, t) => FS(!1, ["account", "stripQueryParams"], e) ? HS(t) : t, Mr = P(
|
|
9742
9752
|
() => window.AppcuesBundleSettings.API_HOSTNAME && `https://${window.AppcuesBundleSettings.API_HOSTNAME}/v1`,
|
|
9743
9753
|
"https://api.appcues.net/v1"
|
|
9744
|
-
),
|
|
9754
|
+
), $S = P(
|
|
9745
9755
|
() => window.AppcuesBundleSettings.GENERIC_BUNDLE_DOMAIN && `${window.AppcuesBundleSettings.GENERIC_BUNDLE_DOMAIN}/v1`,
|
|
9746
9756
|
"https://fast.appcues.com/v1"
|
|
9747
9757
|
), $r = () => {
|
|
@@ -9751,7 +9761,7 @@ const ws = (e) => (t) => {
|
|
|
9751
9761
|
}, Br = {
|
|
9752
9762
|
UserActivity: "USER_ACTIVITY"
|
|
9753
9763
|
};
|
|
9754
|
-
function
|
|
9764
|
+
function BS(e, t, n, r) {
|
|
9755
9765
|
return new Promise((i, o) => {
|
|
9756
9766
|
try {
|
|
9757
9767
|
n.create(e, t, r, (s, c) => {
|
|
@@ -9765,7 +9775,7 @@ function $S(e, t, n, r) {
|
|
|
9765
9775
|
function xu(e) {
|
|
9766
9776
|
return e.transport.module.isConfigured(e);
|
|
9767
9777
|
}
|
|
9768
|
-
function
|
|
9778
|
+
function VS(e) {
|
|
9769
9779
|
return new Promise((t, n) => {
|
|
9770
9780
|
e.transport.module.configure(e, (r, i) => {
|
|
9771
9781
|
i ? n(i) : t(r);
|
|
@@ -9789,13 +9799,13 @@ function Pu(e, t, n, r = "event") {
|
|
|
9789
9799
|
}
|
|
9790
9800
|
});
|
|
9791
9801
|
}
|
|
9792
|
-
const
|
|
9793
|
-
function
|
|
9802
|
+
const WS = (e, t, n) => Pu(e, Br.UserActivity, n, t);
|
|
9803
|
+
function GS(e, t, n, r, i = null, o = null, s = null, c = {}) {
|
|
9794
9804
|
const l = r ? Bi() : null;
|
|
9795
9805
|
return Pu(
|
|
9796
9806
|
e,
|
|
9797
9807
|
Br.UserActivity,
|
|
9798
|
-
|
|
9808
|
+
MS(window.AppcuesBundleSettings, {
|
|
9799
9809
|
source: "web",
|
|
9800
9810
|
request_id: l,
|
|
9801
9811
|
user_id: e.user.userId,
|
|
@@ -9830,7 +9840,7 @@ function Fu(e, t) {
|
|
|
9830
9840
|
{ headers: $r() }
|
|
9831
9841
|
);
|
|
9832
9842
|
}
|
|
9833
|
-
function
|
|
9843
|
+
function jS(e, t) {
|
|
9834
9844
|
const {
|
|
9835
9845
|
settings: { accountId: n },
|
|
9836
9846
|
user: { userId: r, _localId: i }
|
|
@@ -9844,7 +9854,7 @@ function GS(e, t) {
|
|
|
9844
9854
|
{ headers: $r() }
|
|
9845
9855
|
);
|
|
9846
9856
|
}
|
|
9847
|
-
function
|
|
9857
|
+
function qS(e, t) {
|
|
9848
9858
|
const {
|
|
9849
9859
|
settings: { accountId: n },
|
|
9850
9860
|
user: { userId: r, _localId: i }
|
|
@@ -9858,7 +9868,7 @@ function jS(e, t) {
|
|
|
9858
9868
|
{ headers: $r() }
|
|
9859
9869
|
);
|
|
9860
9870
|
}
|
|
9861
|
-
function
|
|
9871
|
+
function KS(e, t) {
|
|
9862
9872
|
if (window.AppcuesBundleSettings?.ASSETS_PATH) {
|
|
9863
9873
|
const n = qa(
|
|
9864
9874
|
window.AppcuesBundleSettings.ASSETS_PATH
|
|
@@ -9866,12 +9876,12 @@ function qS(e, t) {
|
|
|
9866
9876
|
return _n(`${n}/themes/${encodeURIComponent(t)}.json`);
|
|
9867
9877
|
}
|
|
9868
9878
|
return _n(
|
|
9869
|
-
`${
|
|
9879
|
+
`${$S()}/accounts/${encodeURIComponent(
|
|
9870
9880
|
e.settings.accountId
|
|
9871
9881
|
)}/styles/${encodeURIComponent(t)}`
|
|
9872
9882
|
);
|
|
9873
9883
|
}
|
|
9874
|
-
function
|
|
9884
|
+
function YS(e) {
|
|
9875
9885
|
const { userId: t, _localId: n } = be(e);
|
|
9876
9886
|
return _n(
|
|
9877
9887
|
`${Mr()}/accounts/${encodeURIComponent(
|
|
@@ -9880,7 +9890,7 @@ function KS(e) {
|
|
|
9880
9890
|
{ headers: $r() }
|
|
9881
9891
|
);
|
|
9882
9892
|
}
|
|
9883
|
-
function
|
|
9893
|
+
function zS(e) {
|
|
9884
9894
|
const { userId: t, _localId: n } = be(e);
|
|
9885
9895
|
return _n(
|
|
9886
9896
|
`${Mr()}/accounts/${encodeURIComponent(
|
|
@@ -9891,7 +9901,7 @@ function YS(e) {
|
|
|
9891
9901
|
{ headers: $r() }
|
|
9892
9902
|
);
|
|
9893
9903
|
}
|
|
9894
|
-
const
|
|
9904
|
+
const XS = "access forbidden", JS = "unauthorized", QS = P(
|
|
9895
9905
|
() => window.AppcuesBundleSettings.API_HOSTNAME && `wss://${window.AppcuesBundleSettings.API_HOSTNAME}/v1/socket`,
|
|
9896
9906
|
"wss://api.appcues.net/v1/socket"
|
|
9897
9907
|
), Wo = [
|
|
@@ -9913,7 +9923,7 @@ function ii(e, t) {
|
|
|
9913
9923
|
return null;
|
|
9914
9924
|
}
|
|
9915
9925
|
}
|
|
9916
|
-
function
|
|
9926
|
+
function ZS(e, t) {
|
|
9917
9927
|
let n = null;
|
|
9918
9928
|
return e && e.channels && e.channels.forEach((r) => {
|
|
9919
9929
|
r.topic === t && (n = r);
|
|
@@ -9922,20 +9932,20 @@ function QS(e, t) {
|
|
|
9922
9932
|
function pl(e) {
|
|
9923
9933
|
window.APPCUES_TEST_IDENTITY_VERIFICATION && window.console.log(`Appcues Identity Verification Test: ${e}`);
|
|
9924
9934
|
}
|
|
9925
|
-
function
|
|
9935
|
+
function eT(e, t, n, r) {
|
|
9926
9936
|
function i() {
|
|
9927
9937
|
const o = window[Yo] || {}, s = { response_format: r };
|
|
9928
9938
|
return window.APPCUES_TEST_IDENTITY_VERIFICATION || o.userIdSignature !== void 0 && o.userIdSignature !== null ? { ...s, token: o.userIdSignature || "" } : s;
|
|
9929
9939
|
}
|
|
9930
9940
|
return new Promise((o, s) => {
|
|
9931
|
-
let c =
|
|
9941
|
+
let c = ZS(t, n);
|
|
9932
9942
|
function l(u, d) {
|
|
9933
9943
|
u.receive("ok", () => {
|
|
9934
9944
|
u.channel.state !== "errored" ? (pl(
|
|
9935
9945
|
"Succeeded - sent update to API using User ID Signature"
|
|
9936
9946
|
), o({ topic: n, channel: u.channel })) : s(new Error("Channel is in an errored state."));
|
|
9937
9947
|
}).receive("error", (f) => {
|
|
9938
|
-
if (f ===
|
|
9948
|
+
if (f === XS || f === JS) {
|
|
9939
9949
|
const { token: h } = i();
|
|
9940
9950
|
pl(
|
|
9941
9951
|
`Failed - ${h ? `invalid User ID Signature ${h}` : "no User ID Signature present"}`
|
|
@@ -9949,9 +9959,9 @@ function ZS(e, t, n, r) {
|
|
|
9949
9959
|
}) : (c = t.channel(n, i), l(c.join()));
|
|
9950
9960
|
});
|
|
9951
9961
|
}
|
|
9952
|
-
const
|
|
9962
|
+
const tT = {
|
|
9953
9963
|
create: (e, t, n, r) => {
|
|
9954
|
-
const i = new
|
|
9964
|
+
const i = new xS(QS(), { reportError: n });
|
|
9955
9965
|
i.onOpen(() => {
|
|
9956
9966
|
r({ type: "WS", details: { socket: i, onMessage: e, onTimeout: t } });
|
|
9957
9967
|
}), i.onError(() => {
|
|
@@ -10005,7 +10015,7 @@ const eT = {
|
|
|
10005
10015
|
const r = wf(e) ? "v2" : "v1";
|
|
10006
10016
|
return Promise.all(
|
|
10007
10017
|
Wo.map(
|
|
10008
|
-
(i) =>
|
|
10018
|
+
(i) => eT(
|
|
10009
10019
|
e.transport,
|
|
10010
10020
|
n,
|
|
10011
10021
|
i.name(e),
|
|
@@ -10050,8 +10060,8 @@ function nn(e, t) {
|
|
|
10050
10060
|
return Number.NaN;
|
|
10051
10061
|
}
|
|
10052
10062
|
}
|
|
10053
|
-
const
|
|
10054
|
-
function
|
|
10063
|
+
const nT = () => kn(je.init()), rT = (e) => kn(je.request(e)), iT = (e) => kn(je.response(e)), oT = (e) => kn(je.attempt(e)), sT = (e) => kn(je.render(e)), cT = (e) => kn(je.css(e)), lT = (e) => kn(je.shown(e));
|
|
10064
|
+
function aT(e) {
|
|
10055
10065
|
return !(e.css_load_time < 0 || [
|
|
10056
10066
|
"api_response_duration",
|
|
10057
10067
|
"time_to_attempt",
|
|
@@ -10061,7 +10071,7 @@ function lT(e) {
|
|
|
10061
10071
|
"time_to_show"
|
|
10062
10072
|
].some((n) => Number.isNaN(e[n])));
|
|
10063
10073
|
}
|
|
10064
|
-
function
|
|
10074
|
+
function uT(e) {
|
|
10065
10075
|
try {
|
|
10066
10076
|
Object.values(je).forEach((t) => {
|
|
10067
10077
|
window.performance.clearMarks(t(e));
|
|
@@ -10069,7 +10079,7 @@ function aT(e) {
|
|
|
10069
10079
|
} catch {
|
|
10070
10080
|
}
|
|
10071
10081
|
}
|
|
10072
|
-
function
|
|
10082
|
+
function dT(e, t) {
|
|
10073
10083
|
try {
|
|
10074
10084
|
const n = je.request(e), r = je.response(e), i = je.attempt(e), o = je.render(e), s = je.css(e), c = je.shown(e);
|
|
10075
10085
|
let l = Number.NaN;
|
|
@@ -10088,63 +10098,63 @@ function uT(e, t) {
|
|
|
10088
10098
|
step_type: t,
|
|
10089
10099
|
request_id: e
|
|
10090
10100
|
};
|
|
10091
|
-
return
|
|
10101
|
+
return uT(e), aT(u) ? u : null;
|
|
10092
10102
|
} catch {
|
|
10093
10103
|
return null;
|
|
10094
10104
|
}
|
|
10095
10105
|
}
|
|
10096
|
-
function
|
|
10106
|
+
function fT(e) {
|
|
10097
10107
|
return {
|
|
10098
10108
|
onMessage(t) {
|
|
10099
|
-
t.request_id &&
|
|
10109
|
+
t.request_id && iT(t.request_id), e.dispatch(cm(t));
|
|
10100
10110
|
},
|
|
10101
10111
|
onTimeout(t) {
|
|
10102
10112
|
e.dispatch(lm(t));
|
|
10103
10113
|
}
|
|
10104
10114
|
};
|
|
10105
10115
|
}
|
|
10106
|
-
function
|
|
10116
|
+
function pT(e, t) {
|
|
10107
10117
|
return () => {
|
|
10108
10118
|
};
|
|
10109
10119
|
}
|
|
10110
|
-
const
|
|
10120
|
+
const hT = b(
|
|
10111
10121
|
Ge.TOGGLE_ROW_DETAILS
|
|
10112
|
-
),
|
|
10122
|
+
), mT = b(Ge.TOGGLE_COLLAPSED), ET = b(Ge.SET_CURRENT_PAGE), Hu = b(Ge.TRACK_PAGE), gT = b(
|
|
10113
10123
|
Ge.ADD_CONTENT_ERROR,
|
|
10114
10124
|
(e, t) => ({ contentId: e, errorMessage: t })
|
|
10115
|
-
),
|
|
10125
|
+
), yT = b(
|
|
10116
10126
|
Ge.ADD_CHILD_ERROR,
|
|
10117
10127
|
(e, t, n) => ({ contentId: e, childId: t, errorMessage: n })
|
|
10118
|
-
), Mu = b(Ge.CLOSE_DEBUGGER),
|
|
10128
|
+
), Mu = b(Ge.CLOSE_DEBUGGER), ST = b(Qe.PAUSE_EXPERIENCE), TT = b(
|
|
10119
10129
|
Qe.RESUME_EXPERIENCE
|
|
10120
10130
|
), Ns = b(Qe.SHOW_EXPERIENCES), Nr = b(
|
|
10121
10131
|
Qe.SAVE_ON_HOLD_LAUNCHPADS
|
|
10122
10132
|
), kr = b(
|
|
10123
10133
|
Qe.UNHIDE_LAUNCHPADS
|
|
10124
|
-
), $u = b(Qe.HIDE_LAUNCHPADS), Bu = "EVENTS_TRIGGERED",
|
|
10134
|
+
), $u = b(Qe.HIDE_LAUNCHPADS), Bu = "EVENTS_TRIGGERED", CT = b(Bu), ks = b(Ct.SET_SESSION), Os = b(Ct.START_SESSION), _T = b(Ct.SESSION_STARTED);
|
|
10125
10135
|
function* Vu() {
|
|
10126
10136
|
let e = null;
|
|
10127
10137
|
try {
|
|
10128
10138
|
const t = yield v(ft);
|
|
10129
|
-
e = yield E(
|
|
10139
|
+
e = yield E(YS, t);
|
|
10130
10140
|
} catch (t) {
|
|
10131
10141
|
const n = yield v(Bt);
|
|
10132
10142
|
yield E(n, t, { extra: t.extra });
|
|
10133
10143
|
}
|
|
10134
|
-
e && (yield g(
|
|
10144
|
+
e && (yield g(_S(e.journeys)));
|
|
10135
10145
|
}
|
|
10136
10146
|
function* Wu() {
|
|
10137
10147
|
let e = null;
|
|
10138
10148
|
try {
|
|
10139
10149
|
const t = yield v(ft);
|
|
10140
|
-
e = yield E(
|
|
10150
|
+
e = yield E(zS, t);
|
|
10141
10151
|
} catch (t) {
|
|
10142
10152
|
const n = yield v(Bt);
|
|
10143
10153
|
yield E(n, t, { extra: t.extra });
|
|
10144
10154
|
}
|
|
10145
|
-
e && (yield g(
|
|
10155
|
+
e && (yield g(IS(e.contents)));
|
|
10146
10156
|
}
|
|
10147
|
-
function*
|
|
10157
|
+
function* IT() {
|
|
10148
10158
|
yield F(ee, vt.LOADED_LAUNCHPAD, Vu), yield F(ee, vt.LOADED_LAUNCHPAD, Wu);
|
|
10149
10159
|
}
|
|
10150
10160
|
function He(e, t, n) {
|
|
@@ -10166,7 +10176,7 @@ function De(e, t) {
|
|
|
10166
10176
|
} catch {
|
|
10167
10177
|
}
|
|
10168
10178
|
}
|
|
10169
|
-
function
|
|
10179
|
+
function AT(e, t) {
|
|
10170
10180
|
try {
|
|
10171
10181
|
Object.keys(window[e]).forEach((r) => {
|
|
10172
10182
|
r.startsWith(t) && window[e].removeItem(r);
|
|
@@ -10174,7 +10184,7 @@ function IT(e, t) {
|
|
|
10174
10184
|
} catch {
|
|
10175
10185
|
}
|
|
10176
10186
|
}
|
|
10177
|
-
function
|
|
10187
|
+
function vT(e) {
|
|
10178
10188
|
return z.ANNOTATION.includes(e);
|
|
10179
10189
|
}
|
|
10180
10190
|
function* Vi() {
|
|
@@ -10185,11 +10195,11 @@ function* Vi() {
|
|
|
10185
10195
|
return null;
|
|
10186
10196
|
}
|
|
10187
10197
|
}
|
|
10188
|
-
function
|
|
10198
|
+
function bT(e, t, n, r) {
|
|
10189
10199
|
let i = e;
|
|
10190
10200
|
return (i /= r / 2) < 1 ? n / 2 * i * i + t : -n / 2 * (--i * (i - 2) - 1) + t;
|
|
10191
10201
|
}
|
|
10192
|
-
function*
|
|
10202
|
+
function* wT(e, t) {
|
|
10193
10203
|
if (window.document?.documentMode) {
|
|
10194
10204
|
const n = e, r = n.scrollTop;
|
|
10195
10205
|
if (r !== t) {
|
|
@@ -10200,7 +10210,7 @@ function* bT(e, t) {
|
|
|
10200
10210
|
);
|
|
10201
10211
|
let o = 0;
|
|
10202
10212
|
for (; o < i; )
|
|
10203
|
-
o += Ks, n.scrollTop =
|
|
10213
|
+
o += Ks, n.scrollTop = bT(
|
|
10204
10214
|
Math.min(o, i),
|
|
10205
10215
|
r,
|
|
10206
10216
|
t - r,
|
|
@@ -10214,7 +10224,7 @@ function* bT(e, t) {
|
|
|
10214
10224
|
behavior: "smooth"
|
|
10215
10225
|
}), !0;
|
|
10216
10226
|
}
|
|
10217
|
-
function*
|
|
10227
|
+
function* NT(e, t, n, r) {
|
|
10218
10228
|
for (; ; ) {
|
|
10219
10229
|
const i = Ga(
|
|
10220
10230
|
e,
|
|
@@ -10226,7 +10236,7 @@ function* wT(e, t, n, r) {
|
|
|
10226
10236
|
yield E(ve, 200);
|
|
10227
10237
|
}
|
|
10228
10238
|
}
|
|
10229
|
-
function*
|
|
10239
|
+
function* kT(e, t, n, r) {
|
|
10230
10240
|
const i = [];
|
|
10231
10241
|
if (r.every(
|
|
10232
10242
|
(s) => s.visibleInContainer
|
|
@@ -10235,11 +10245,11 @@ function* NT(e, t, n, r) {
|
|
|
10235
10245
|
doneScrolling: r.map(() => !0)
|
|
10236
10246
|
};
|
|
10237
10247
|
for (const { el: s, scrollTop: c } of r)
|
|
10238
|
-
i.push(E(
|
|
10248
|
+
i.push(E(wT, s, c));
|
|
10239
10249
|
return yield qe({
|
|
10240
10250
|
doneScrolling: i,
|
|
10241
10251
|
scrollTargetsChanged: E(
|
|
10242
|
-
|
|
10252
|
+
NT,
|
|
10243
10253
|
e,
|
|
10244
10254
|
t,
|
|
10245
10255
|
n,
|
|
@@ -10247,10 +10257,10 @@ function* NT(e, t, n, r) {
|
|
|
10247
10257
|
)
|
|
10248
10258
|
});
|
|
10249
10259
|
}
|
|
10250
|
-
function*
|
|
10251
|
-
yield g(
|
|
10260
|
+
function* OT({ payload: e }) {
|
|
10261
|
+
yield g(jy(e)), yield E(ve, zo), yield g(Gy(e));
|
|
10252
10262
|
}
|
|
10253
|
-
function*
|
|
10263
|
+
function* RT(e) {
|
|
10254
10264
|
const t = yield* Vi();
|
|
10255
10265
|
yield E(
|
|
10256
10266
|
He,
|
|
@@ -10273,14 +10283,14 @@ function* Gu(e, t, n) {
|
|
|
10273
10283
|
}),
|
|
10274
10284
|
n
|
|
10275
10285
|
)
|
|
10276
|
-
), yield g(
|
|
10277
|
-
|
|
10286
|
+
), yield g(Xy(i)), yield E(
|
|
10287
|
+
RT,
|
|
10278
10288
|
i.reduce((s, c) => ({ ...s, [c]: { ts: Date.now() } }), {})
|
|
10279
10289
|
);
|
|
10280
10290
|
}
|
|
10281
10291
|
}
|
|
10282
10292
|
}
|
|
10283
|
-
function*
|
|
10293
|
+
function* LT(e) {
|
|
10284
10294
|
const t = yield* Vi();
|
|
10285
10295
|
t && Object.keys(t).length > 0 && (e.forEach((n) => {
|
|
10286
10296
|
delete t[n];
|
|
@@ -10291,7 +10301,7 @@ function* RT(e) {
|
|
|
10291
10301
|
JSON.stringify(t)
|
|
10292
10302
|
));
|
|
10293
10303
|
}
|
|
10294
|
-
function*
|
|
10304
|
+
function* xT(e) {
|
|
10295
10305
|
const t = yield v(Ni), r = Object.keys(t).filter(
|
|
10296
10306
|
(i) => t[i].errorReported || t[i].existingError
|
|
10297
10307
|
).filter(
|
|
@@ -10305,10 +10315,10 @@ function* LT(e) {
|
|
|
10305
10315
|
children: r
|
|
10306
10316
|
})
|
|
10307
10317
|
)
|
|
10308
|
-
), yield g(
|
|
10318
|
+
), yield g(Jy(r)), yield E(LT, r);
|
|
10309
10319
|
}
|
|
10310
10320
|
}
|
|
10311
|
-
function*
|
|
10321
|
+
function* PT() {
|
|
10312
10322
|
let e, t = Tr();
|
|
10313
10323
|
for (
|
|
10314
10324
|
;
|
|
@@ -10325,28 +10335,28 @@ function* xT() {
|
|
|
10325
10335
|
const l = o[c], { _prevPosition: u } = r[c] || {};
|
|
10326
10336
|
hh(l, u || {}) || (s = !0);
|
|
10327
10337
|
}), s) {
|
|
10328
|
-
yield g(al(o)), yield g(
|
|
10338
|
+
yield g(al(o)), yield g(zy(o)), t = Tr();
|
|
10329
10339
|
const c = Object.keys(o).filter((u) => o[u].error).reduce(
|
|
10330
10340
|
(u, d) => Object.assign(u, { [d]: o[d].errorMessage }),
|
|
10331
10341
|
{}
|
|
10332
10342
|
), l = yield v(ce);
|
|
10333
|
-
yield E(Gu, c, l), yield E(
|
|
10343
|
+
yield E(Gu, c, l), yield E(xT, o);
|
|
10334
10344
|
} else {
|
|
10335
10345
|
const c = Tr();
|
|
10336
10346
|
c - t > 1e3 && (yield g(al(o)), t = c);
|
|
10337
10347
|
for (const l in r)
|
|
10338
10348
|
if (Object.prototype.hasOwnProperty.call(r, l)) {
|
|
10339
10349
|
const u = r[l];
|
|
10340
|
-
if (u.isBeaconSettled || c - u.lastRepositionedTs > an && (yield g(
|
|
10350
|
+
if (u.isBeaconSettled || c - u.lastRepositionedTs > an && (yield g(Vy(l, !0))), u.expanded && !u.isTooltipSettled) {
|
|
10341
10351
|
const d = c - u.lastResizeTs > an, f = c - u.lastExpandedTs > xd;
|
|
10342
|
-
(d || f) && (yield g(
|
|
10352
|
+
(d || f) && (yield g(Zy(l, !0)));
|
|
10343
10353
|
}
|
|
10344
10354
|
}
|
|
10345
10355
|
}
|
|
10346
10356
|
yield E(ve, an);
|
|
10347
10357
|
}
|
|
10348
10358
|
}
|
|
10349
|
-
function*
|
|
10359
|
+
function* DT() {
|
|
10350
10360
|
const e = yield v(Ve);
|
|
10351
10361
|
ne.inArray(
|
|
10352
10362
|
[
|
|
@@ -10356,9 +10366,9 @@ function* PT() {
|
|
|
10356
10366
|
te.WILL_CLOSE
|
|
10357
10367
|
],
|
|
10358
10368
|
e
|
|
10359
|
-
) || (yield g(
|
|
10369
|
+
) || (yield g(Yy()));
|
|
10360
10370
|
}
|
|
10361
|
-
function*
|
|
10371
|
+
function* FT() {
|
|
10362
10372
|
const e = yield* Vi();
|
|
10363
10373
|
if (e) {
|
|
10364
10374
|
const t = Date.now(), n = Object.keys(e).reduce((r, i) => (e[i].ts + Pd > t && (r[i] = e[i]), r), {});
|
|
@@ -10370,7 +10380,7 @@ function* DT() {
|
|
|
10370
10380
|
);
|
|
10371
10381
|
}
|
|
10372
10382
|
}
|
|
10373
|
-
function*
|
|
10383
|
+
function* UT(e) {
|
|
10374
10384
|
let t = yield v(Ot);
|
|
10375
10385
|
const n = yield v(nt);
|
|
10376
10386
|
let r = t[e] || {};
|
|
@@ -10398,21 +10408,21 @@ function* FT(e) {
|
|
|
10398
10408
|
), h = {};
|
|
10399
10409
|
for (; !h.doneScrolling; )
|
|
10400
10410
|
h = yield E(
|
|
10401
|
-
|
|
10411
|
+
kT,
|
|
10402
10412
|
o,
|
|
10403
10413
|
l,
|
|
10404
10414
|
u,
|
|
10405
10415
|
f
|
|
10406
10416
|
), f = h.scrollTargetsChanged;
|
|
10407
10417
|
}
|
|
10408
|
-
function*
|
|
10409
|
-
|
|
10418
|
+
function* HT({ payload: e }) {
|
|
10419
|
+
vT(e.type) && (yield g(Sm(eu(Pl.CALCULATE, e.id))));
|
|
10410
10420
|
}
|
|
10411
|
-
function*
|
|
10421
|
+
function* MT() {
|
|
10412
10422
|
const e = (yield E(Vi)) || {};
|
|
10413
|
-
Object.keys(e).length > 0 && (yield g(
|
|
10423
|
+
Object.keys(e).length > 0 && (yield g(Qy(e)));
|
|
10414
10424
|
}
|
|
10415
|
-
function*
|
|
10425
|
+
function* $T({ payload: e }) {
|
|
10416
10426
|
let t = yield v(Vn);
|
|
10417
10427
|
const { annotationId: n, isScrolling: r } = e;
|
|
10418
10428
|
if (r)
|
|
@@ -10426,13 +10436,13 @@ function* MT({ payload: e }) {
|
|
|
10426
10436
|
yield E(ve, zo), yield g({ type: me.CONFIRM_SCROLLING, payload: !1 });
|
|
10427
10437
|
}
|
|
10428
10438
|
}
|
|
10429
|
-
function*
|
|
10439
|
+
function* BT() {
|
|
10430
10440
|
yield [
|
|
10431
|
-
F(ee, $.CLEANUP_STEP,
|
|
10441
|
+
F(ee, $.CLEANUP_STEP, HT),
|
|
10432
10442
|
F(
|
|
10433
10443
|
tu,
|
|
10434
10444
|
me.START_CALCULATE_POSITIONS,
|
|
10435
|
-
|
|
10445
|
+
PT,
|
|
10436
10446
|
function* () {
|
|
10437
10447
|
const e = yield v(ce);
|
|
10438
10448
|
return eu(Pl.CALCULATE, e);
|
|
@@ -10441,17 +10451,17 @@ function* $T() {
|
|
|
10441
10451
|
F(
|
|
10442
10452
|
ee,
|
|
10443
10453
|
me.SET_IS_SCROLLING_TO_ANNOTATION,
|
|
10444
|
-
|
|
10454
|
+
$T
|
|
10445
10455
|
),
|
|
10446
10456
|
F(
|
|
10447
10457
|
ee,
|
|
10448
10458
|
me.HIDE_AND_REMOVE_ACTIVE_ANNOTATIONS,
|
|
10449
|
-
|
|
10459
|
+
OT
|
|
10450
10460
|
),
|
|
10451
10461
|
// We want to run the clearExpiredErrors once while we're initializing
|
|
10452
10462
|
// our sagas, so forking it here will make sure it's called.
|
|
10453
|
-
F(
|
|
10454
|
-
F(
|
|
10463
|
+
F(FT),
|
|
10464
|
+
F(MT)
|
|
10455
10465
|
];
|
|
10456
10466
|
}
|
|
10457
10467
|
function ju(e) {
|
|
@@ -10481,19 +10491,19 @@ function In(e, t = "appcue") {
|
|
|
10481
10491
|
const n = new RegExp(`(\\?)?(&)?((?:${t})=[^&#]+)(&)?`);
|
|
10482
10492
|
return e.replace(n, (r, i, o, s, c) => i && c ? "?" : o && c ? "&" : "");
|
|
10483
10493
|
}
|
|
10484
|
-
const
|
|
10494
|
+
const VT = (e) => ["Enter", " "].includes(e.key);
|
|
10485
10495
|
function* Ku(e) {
|
|
10486
10496
|
const t = yield e.map(
|
|
10487
10497
|
(r) => E(Wa, null, r)
|
|
10488
10498
|
), n = t.filter((r) => r.error);
|
|
10489
10499
|
return n.length === t.length ? { result: !1, failures: n.map((r) => r.errorMessage) } : { result: !0 };
|
|
10490
10500
|
}
|
|
10491
|
-
function*
|
|
10501
|
+
function* WT(e) {
|
|
10492
10502
|
for (; !(yield E(Ku, e)).result; )
|
|
10493
10503
|
yield E(ve, an);
|
|
10494
10504
|
return { result: !0 };
|
|
10495
10505
|
}
|
|
10496
|
-
function*
|
|
10506
|
+
function* GT(e, t, n = null) {
|
|
10497
10507
|
const { promise: r, listener: i } = yield E(
|
|
10498
10508
|
Ih,
|
|
10499
10509
|
e,
|
|
@@ -10510,11 +10520,11 @@ function* WT(e, t, n = null) {
|
|
|
10510
10520
|
function yi(e, t = null, n = null) {
|
|
10511
10521
|
return { result: e, task: t, failures: n };
|
|
10512
10522
|
}
|
|
10513
|
-
function*
|
|
10523
|
+
function* jT(e) {
|
|
10514
10524
|
const { result: t, failures: n } = yield E(Ku, e);
|
|
10515
10525
|
if (t)
|
|
10516
10526
|
return yi(!0);
|
|
10517
|
-
const r = yield kt(
|
|
10527
|
+
const r = yield kt(WT, e);
|
|
10518
10528
|
return yi(!1, r, n);
|
|
10519
10529
|
}
|
|
10520
10530
|
function* hl(e, t, n) {
|
|
@@ -10525,7 +10535,7 @@ function* hl(e, t, n) {
|
|
|
10525
10535
|
if (o.error)
|
|
10526
10536
|
yield E(ve, an);
|
|
10527
10537
|
else {
|
|
10528
|
-
if ((r !== o || !i) && (i && (yield st(i)), r = o, i = yield F(
|
|
10538
|
+
if ((r !== o || !i) && (i && (yield st(i)), r = o, i = yield F(GT, r, e, n)), i && i.result())
|
|
10529
10539
|
return { result: !0 };
|
|
10530
10540
|
const { eventOccurred: s } = yield qe({
|
|
10531
10541
|
timeout: E(ve, an),
|
|
@@ -10538,30 +10548,30 @@ function* hl(e, t, n) {
|
|
|
10538
10548
|
yield E(ve, an);
|
|
10539
10549
|
}
|
|
10540
10550
|
}
|
|
10541
|
-
function*
|
|
10551
|
+
function* qT(e) {
|
|
10542
10552
|
return (yield qe([
|
|
10543
10553
|
E(hl, e.params.event, e.params.selector),
|
|
10544
10554
|
E(
|
|
10545
10555
|
hl,
|
|
10546
10556
|
"keydown",
|
|
10547
10557
|
e.params.selector,
|
|
10548
|
-
|
|
10558
|
+
VT
|
|
10549
10559
|
)
|
|
10550
10560
|
])).find((n) => n && n.result);
|
|
10551
10561
|
}
|
|
10552
10562
|
function* Yu(e) {
|
|
10553
10563
|
switch (e ? e.type : null) {
|
|
10554
10564
|
case Hn.WAIT_FOR_ONE_ELEMENT:
|
|
10555
|
-
return yield E(
|
|
10565
|
+
return yield E(jT, e.params.selectors);
|
|
10556
10566
|
case Hn.WAIT_FOR_MOUSE_EVENT: {
|
|
10557
|
-
const n = yield kt(
|
|
10567
|
+
const n = yield kt(qT, e);
|
|
10558
10568
|
return yi(!1, n);
|
|
10559
10569
|
}
|
|
10560
10570
|
default:
|
|
10561
10571
|
return yi(!0);
|
|
10562
10572
|
}
|
|
10563
10573
|
}
|
|
10564
|
-
function*
|
|
10574
|
+
function* KT(e, t, ...n) {
|
|
10565
10575
|
const { result: r, task: i } = yield E(Yu, e);
|
|
10566
10576
|
let o = r;
|
|
10567
10577
|
if (!r && i)
|
|
@@ -10572,13 +10582,13 @@ function* qT(e, t, ...n) {
|
|
|
10572
10582
|
}
|
|
10573
10583
|
o && (yield kt(t, ...n));
|
|
10574
10584
|
}
|
|
10575
|
-
function
|
|
10585
|
+
function YT(e, t, n) {
|
|
10576
10586
|
return { type: e, params: t, context: n };
|
|
10577
10587
|
}
|
|
10578
10588
|
function go(e, t) {
|
|
10579
|
-
return
|
|
10589
|
+
return YT(Hn.WAIT_FOR_ONE_ELEMENT, { selectors: e }, t);
|
|
10580
10590
|
}
|
|
10581
|
-
function
|
|
10591
|
+
function zT(e) {
|
|
10582
10592
|
let t = "unknown", n = {};
|
|
10583
10593
|
switch (e.type) {
|
|
10584
10594
|
case Hn.WAIT_FOR_MOUSE_EVENT:
|
|
@@ -10615,23 +10625,23 @@ function* ml(e, t, n) {
|
|
|
10615
10625
|
status: n
|
|
10616
10626
|
});
|
|
10617
10627
|
}
|
|
10618
|
-
function*
|
|
10628
|
+
function* XT(...e) {
|
|
10619
10629
|
for (const t of e)
|
|
10620
10630
|
yield g(se(t));
|
|
10621
10631
|
}
|
|
10622
|
-
function*
|
|
10632
|
+
function* JT(e, t, n) {
|
|
10623
10633
|
(yield W(
|
|
10624
10634
|
({ type: i, payload: o }) => i === le.ACTIVATED_STEP_CHILD && o.stepChildId === n.id || i === le.CLOSE_FLOW && o.flowId === e.id
|
|
10625
10635
|
)).type === le.ACTIVATED_STEP_CHILD && (yield qe({
|
|
10626
10636
|
wait: E(
|
|
10627
|
-
|
|
10637
|
+
KT,
|
|
10628
10638
|
n.ui_conditions.next,
|
|
10629
|
-
|
|
10639
|
+
XT,
|
|
10630
10640
|
pt(
|
|
10631
10641
|
K.STEP_INTERACTED,
|
|
10632
10642
|
t.id,
|
|
10633
10643
|
n.id,
|
|
10634
|
-
|
|
10644
|
+
zT(n.ui_conditions.next)
|
|
10635
10645
|
),
|
|
10636
10646
|
pt(
|
|
10637
10647
|
K.CHILD_NEXT,
|
|
@@ -10647,7 +10657,7 @@ function* XT(e, t, n) {
|
|
|
10647
10657
|
function El(e, t) {
|
|
10648
10658
|
return t ? { ...e, _sdkMetrics: t } : e;
|
|
10649
10659
|
}
|
|
10650
|
-
function*
|
|
10660
|
+
function* QT(e, t, n) {
|
|
10651
10661
|
const r = yield v(Rt);
|
|
10652
10662
|
for (; ; ) {
|
|
10653
10663
|
const i = yield W(t), o = i.params || {}, s = o.stepId ? lt(e, o.stepId) : null;
|
|
@@ -10685,7 +10695,7 @@ function* JT(e, t, n) {
|
|
|
10685
10695
|
fromPermalink: !!p
|
|
10686
10696
|
});
|
|
10687
10697
|
}
|
|
10688
|
-
u && !Sf(s) && n && (yield E(
|
|
10698
|
+
u && !Sf(s) && n && (yield E(sT, n));
|
|
10689
10699
|
}
|
|
10690
10700
|
break;
|
|
10691
10701
|
case K.STEP_COMPLETED:
|
|
@@ -10810,13 +10820,13 @@ function* JT(e, t, n) {
|
|
|
10810
10820
|
}
|
|
10811
10821
|
break;
|
|
10812
10822
|
case K.CHILD_ACTIVATED:
|
|
10813
|
-
yield g(
|
|
10823
|
+
yield g(Ay(o.stepChildId, o.ts)), s && xn(s) && (yield* ut(e.id, [
|
|
10814
10824
|
wE(e, s, o.stepChildId, r)
|
|
10815
10825
|
]));
|
|
10816
10826
|
break;
|
|
10817
10827
|
case K.CHILD_DEACTIVATED: {
|
|
10818
10828
|
const { stepChildId: h } = o, y = yield v(va, h);
|
|
10819
|
-
yield g(
|
|
10829
|
+
yield g(vy(h)), s && xn(s) && (yield* ut(e.id, [
|
|
10820
10830
|
NE(
|
|
10821
10831
|
e,
|
|
10822
10832
|
s,
|
|
@@ -10865,17 +10875,17 @@ function* JT(e, t, n) {
|
|
|
10865
10875
|
s,
|
|
10866
10876
|
gn(s, o.stepChildId)
|
|
10867
10877
|
);
|
|
10868
|
-
yield g(pn(o.stepChildId)), h && h.ui_conditions && h.ui_conditions.next && (yield kt(
|
|
10878
|
+
yield g(pn(o.stepChildId)), h && h.ui_conditions && h.ui_conditions.next && (yield kt(JT, e, s, h));
|
|
10869
10879
|
break;
|
|
10870
10880
|
}
|
|
10871
10881
|
case K.CSS_LOADED: {
|
|
10872
|
-
u && n &&
|
|
10882
|
+
u && n && cT(n);
|
|
10873
10883
|
break;
|
|
10874
10884
|
}
|
|
10875
10885
|
case K.STEP_REVEALED: {
|
|
10876
10886
|
if (s) {
|
|
10877
10887
|
let h = null;
|
|
10878
|
-
u && n && (yield E(
|
|
10888
|
+
u && n && (yield E(lT, n), h = yield E(dT, n, s.type));
|
|
10879
10889
|
const y = [];
|
|
10880
10890
|
xn(s) ? (u && y.push(
|
|
10881
10891
|
El(Uc(e, r), h)
|
|
@@ -10900,27 +10910,27 @@ function zu(e) {
|
|
|
10900
10910
|
const t = Le("localStorage", e), n = JSON.parse(Le("localStorage", `${e}_timeout`)) ?? 0;
|
|
10901
10911
|
return Date.now() > n || !t ? (Rs(e), !1) : !0;
|
|
10902
10912
|
}
|
|
10903
|
-
function
|
|
10913
|
+
function ZT(e) {
|
|
10904
10914
|
return !e || !zu(e) ? null : Le("localStorage", e);
|
|
10905
10915
|
}
|
|
10906
10916
|
function Xu(e, t, n) {
|
|
10907
10917
|
He("localStorage", e, t), He("localStorage", `${e}_timeout`, Date.now() + n);
|
|
10908
10918
|
}
|
|
10909
|
-
function*
|
|
10919
|
+
function* eC(e, t) {
|
|
10910
10920
|
yield W(
|
|
10911
10921
|
(n) => n.type === le.CANCEL_STEP && n.payload.flowId === e
|
|
10912
10922
|
), yield st(t);
|
|
10913
10923
|
}
|
|
10914
10924
|
function* Ju(e, t) {
|
|
10915
10925
|
const n = yield E(jn.expanding, 5), r = yield E(ha, n), i = yield kt(
|
|
10916
|
-
|
|
10926
|
+
QT,
|
|
10917
10927
|
e,
|
|
10918
10928
|
r,
|
|
10919
10929
|
t
|
|
10920
10930
|
);
|
|
10921
|
-
return yield kt(
|
|
10931
|
+
return yield kt(eC, e.id, i), r;
|
|
10922
10932
|
}
|
|
10923
|
-
function
|
|
10933
|
+
function tC(e) {
|
|
10924
10934
|
if (e.uiConditions && e.uiConditions.start)
|
|
10925
10935
|
return e.uiConditions;
|
|
10926
10936
|
let t;
|
|
@@ -10952,7 +10962,7 @@ function eC(e) {
|
|
|
10952
10962
|
}
|
|
10953
10963
|
return { ...e.uiConditions, start: t };
|
|
10954
10964
|
}
|
|
10955
|
-
function*
|
|
10965
|
+
function* nC(e, t, n, r, i) {
|
|
10956
10966
|
let o = !1;
|
|
10957
10967
|
try {
|
|
10958
10968
|
o = (yield bn(e)).result, o && (yield g(Hi(n, Xe.FLOWS)), yield g(ys(n, r, i, t)));
|
|
@@ -10970,7 +10980,7 @@ function* Qu(e, t, n, r, i = !0) {
|
|
|
10970
10980
|
o,
|
|
10971
10981
|
Se(K.STEP_ATTEMPTED, s.id)
|
|
10972
10982
|
));
|
|
10973
|
-
const l =
|
|
10983
|
+
const l = tC(s).start, { result: u, task: d, failures: f } = yield E(Yu, l);
|
|
10974
10984
|
if (u)
|
|
10975
10985
|
return yield g(Um(e.id)), yield g(Hi(e.id, Xe.FLOWS)), yield g(ys(e.id, s.id, n, o)), !0;
|
|
10976
10986
|
const h = (l.context || {}).stepChildIds || [];
|
|
@@ -10982,7 +10992,7 @@ function* Qu(e, t, n, r, i = !0) {
|
|
|
10982
10992
|
}
|
|
10983
10993
|
const y = [$.START_FLOW];
|
|
10984
10994
|
return i !== !1 && y.push($.CANCEL_ATTEMPTS), yield kt(hE, {
|
|
10985
|
-
wait: E(
|
|
10995
|
+
wait: E(nC, d, o, e.id, s.id, n),
|
|
10986
10996
|
cancel: W(y)
|
|
10987
10997
|
}), !1;
|
|
10988
10998
|
}
|
|
@@ -10990,7 +11000,7 @@ function* gl(e, t, n, r) {
|
|
|
10990
11000
|
const i = yield E(Ju, e, null);
|
|
10991
11001
|
yield g(ys(e.id, t, n, i, r));
|
|
10992
11002
|
}
|
|
10993
|
-
function*
|
|
11003
|
+
function* rC(e) {
|
|
10994
11004
|
const { flowId: t, stepId: n, url: r, eventChannel: i, status: o } = e.payload, s = yield v(ss, t), c = lt(s, n);
|
|
10995
11005
|
c && (c.type === z.HOTSPOTS && (yield g(wr()), yield g(kr())), yield g(Xa(c, r, o)));
|
|
10996
11006
|
const { payload: l } = yield W(
|
|
@@ -11032,7 +11042,7 @@ function* Ls(e, t) {
|
|
|
11032
11042
|
)
|
|
11033
11043
|
);
|
|
11034
11044
|
}
|
|
11035
|
-
function*
|
|
11045
|
+
function* iC(e) {
|
|
11036
11046
|
const { step: t, status: n } = e.payload;
|
|
11037
11047
|
switch (t.type) {
|
|
11038
11048
|
case z.MODAL:
|
|
@@ -11041,7 +11051,7 @@ function* rC(e) {
|
|
|
11041
11051
|
yield g(
|
|
11042
11052
|
n ? se(
|
|
11043
11053
|
Se(K.STEP_END, t.id)
|
|
11044
|
-
) :
|
|
11054
|
+
) : wy(t.id)
|
|
11045
11055
|
);
|
|
11046
11056
|
break;
|
|
11047
11057
|
case z.ACTION:
|
|
@@ -11063,31 +11073,31 @@ function* rC(e) {
|
|
|
11063
11073
|
}
|
|
11064
11074
|
function* $t(e, t) {
|
|
11065
11075
|
if (!t) return;
|
|
11066
|
-
(yield v(Ve)) === te.SHOWING && (yield g(wm()), yield E(ve, Dd)), yield g(hm(t)), yield g(
|
|
11076
|
+
(yield v(Ve)) === te.SHOWING && (yield g(wm()), yield E(ve, Dd)), yield g(hm(t)), yield g(ky(e.id, t.id));
|
|
11067
11077
|
}
|
|
11068
|
-
function*
|
|
11078
|
+
function* oC({ payload: e }) {
|
|
11069
11079
|
const t = e.eventChannel || (yield v(xf));
|
|
11070
11080
|
t && (yield g(t, e.event));
|
|
11071
11081
|
}
|
|
11072
|
-
function*
|
|
11082
|
+
function* sC({ payload: e }) {
|
|
11073
11083
|
yield E([e, e.close]);
|
|
11074
11084
|
}
|
|
11075
|
-
function*
|
|
11085
|
+
function* cC() {
|
|
11076
11086
|
yield [
|
|
11077
|
-
F(et, $.START_FLOW,
|
|
11078
|
-
F(et, $.START_STEP,
|
|
11079
|
-
F(ee, $.SEND_LIFECYCLE_EVENT,
|
|
11080
|
-
F(ee, $.CLOSE_CHANNEL,
|
|
11087
|
+
F(et, $.START_FLOW, rC),
|
|
11088
|
+
F(et, $.START_STEP, iC),
|
|
11089
|
+
F(ee, $.SEND_LIFECYCLE_EVENT, oC),
|
|
11090
|
+
F(ee, $.CLOSE_CHANNEL, sC)
|
|
11081
11091
|
];
|
|
11082
11092
|
}
|
|
11083
|
-
function
|
|
11093
|
+
function lC() {
|
|
11084
11094
|
try {
|
|
11085
11095
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
11086
11096
|
} catch {
|
|
11087
11097
|
return null;
|
|
11088
11098
|
}
|
|
11089
11099
|
}
|
|
11090
|
-
function
|
|
11100
|
+
function aC(e, t, n = {}) {
|
|
11091
11101
|
let r = n;
|
|
11092
11102
|
r = r === null ? {} : r;
|
|
11093
11103
|
const i = e.location.href;
|
|
@@ -11110,7 +11120,7 @@ function lC(e, t, n = {}) {
|
|
|
11110
11120
|
_currentPageUrl: i,
|
|
11111
11121
|
_sessionRandomizer: d,
|
|
11112
11122
|
_sessionPageviews: o,
|
|
11113
|
-
_timezoneCode:
|
|
11123
|
+
_timezoneCode: lC(),
|
|
11114
11124
|
_timezoneOffset: (/* @__PURE__ */ new Date()).getTimezoneOffset(),
|
|
11115
11125
|
_appId: e.AppcuesBundleSettings?.defaultAppId || null
|
|
11116
11126
|
};
|
|
@@ -11122,10 +11132,10 @@ function lC(e, t, n = {}) {
|
|
|
11122
11132
|
function Zu() {
|
|
11123
11133
|
return { _lastSeenAt: Date.now() };
|
|
11124
11134
|
}
|
|
11125
|
-
function
|
|
11135
|
+
function uC(e) {
|
|
11126
11136
|
return Object.keys(e).reduce((t, n) => (Fd.includes(n) && (t[n] = e[n]), t), {});
|
|
11127
11137
|
}
|
|
11128
|
-
function
|
|
11138
|
+
function dC(e) {
|
|
11129
11139
|
if (!e || !e.traits || !Array.isArray(e.traits))
|
|
11130
11140
|
return null;
|
|
11131
11141
|
const t = e.traits.find(
|
|
@@ -11133,7 +11143,7 @@ function uC(e) {
|
|
|
11133
11143
|
);
|
|
11134
11144
|
return !t || !t.config || !t.config.target ? null : t.config.target;
|
|
11135
11145
|
}
|
|
11136
|
-
function
|
|
11146
|
+
function fC(e, t) {
|
|
11137
11147
|
if (!e)
|
|
11138
11148
|
return "no-selector";
|
|
11139
11149
|
if (!t || typeof t != "object")
|
|
@@ -11144,17 +11154,17 @@ function dC(e, t) {
|
|
|
11144
11154
|
filters: n
|
|
11145
11155
|
});
|
|
11146
11156
|
}
|
|
11147
|
-
function
|
|
11157
|
+
function pC(e) {
|
|
11148
11158
|
if (!e || !Array.isArray(e))
|
|
11149
11159
|
return [];
|
|
11150
11160
|
if (e.length === 0)
|
|
11151
11161
|
return [];
|
|
11152
11162
|
const t = /* @__PURE__ */ new Map();
|
|
11153
11163
|
return e.forEach((n) => {
|
|
11154
|
-
const r =
|
|
11164
|
+
const r = dC(n);
|
|
11155
11165
|
if (!r)
|
|
11156
11166
|
return;
|
|
11157
|
-
const i =
|
|
11167
|
+
const i = fC(
|
|
11158
11168
|
r.selector,
|
|
11159
11169
|
r.filters
|
|
11160
11170
|
);
|
|
@@ -11167,14 +11177,14 @@ const Je = {
|
|
|
11167
11177
|
FLOATING: "floating",
|
|
11168
11178
|
CONTAINER: "container"
|
|
11169
11179
|
};
|
|
11170
|
-
function
|
|
11180
|
+
function hC(e) {
|
|
11171
11181
|
const { type: t, attributes: n } = e;
|
|
11172
11182
|
return n && n.steps || t === "nps" || t === "flow" ? Je.OVERLAY : t === "banner" || t === "persistent" ? Je.BACKGROUND : t === "launchpad" ? Je.FLOATING : t === "embed" ? Je.CONTAINER : Je.OVERLAY;
|
|
11173
11183
|
}
|
|
11174
|
-
function
|
|
11184
|
+
function mC(e) {
|
|
11175
11185
|
return e.reduce(
|
|
11176
11186
|
(t, n) => {
|
|
11177
|
-
const r =
|
|
11187
|
+
const r = hC(n);
|
|
11178
11188
|
return t[r] || (t[r] = []), t[r].push(n), t;
|
|
11179
11189
|
},
|
|
11180
11190
|
{
|
|
@@ -11186,7 +11196,7 @@ function hC(e) {
|
|
|
11186
11196
|
);
|
|
11187
11197
|
}
|
|
11188
11198
|
function xs(e) {
|
|
11189
|
-
const t =
|
|
11199
|
+
const t = mC(e);
|
|
11190
11200
|
return Object.keys(t).reduce(
|
|
11191
11201
|
(n, r) => {
|
|
11192
11202
|
const i = t[r] || [];
|
|
@@ -11226,7 +11236,7 @@ function xs(e) {
|
|
|
11226
11236
|
break;
|
|
11227
11237
|
// CONTAINER context groups embeds by selector+filters, shows first of each group
|
|
11228
11238
|
case Je.CONTAINER: {
|
|
11229
|
-
const o =
|
|
11239
|
+
const o = pC(i);
|
|
11230
11240
|
n.experiences = [...n.experiences, ...o];
|
|
11231
11241
|
break;
|
|
11232
11242
|
}
|
|
@@ -11239,7 +11249,7 @@ function xs(e) {
|
|
|
11239
11249
|
}
|
|
11240
11250
|
);
|
|
11241
11251
|
}
|
|
11242
|
-
const
|
|
11252
|
+
const EC = Qn(
|
|
11243
11253
|
[
|
|
11244
11254
|
nr,
|
|
11245
11255
|
tr,
|
|
@@ -11251,7 +11261,7 @@ const mC = Qn(
|
|
|
11251
11261
|
clean: !0,
|
|
11252
11262
|
trustedTypesPolicy: window.trustedTypes?.defaultPolicy
|
|
11253
11263
|
})
|
|
11254
|
-
),
|
|
11264
|
+
), gC = (e) => {
|
|
11255
11265
|
if (th(e)) {
|
|
11256
11266
|
if (!Ne(e, "autoplay")) return;
|
|
11257
11267
|
const { autoplay: n, ...r } = e.data.attrs;
|
|
@@ -11267,11 +11277,11 @@ function* ed(e) {
|
|
|
11267
11277
|
for (const [s, c] of e.entries()) {
|
|
11268
11278
|
r = c;
|
|
11269
11279
|
try {
|
|
11270
|
-
|
|
11280
|
+
EC(
|
|
11271
11281
|
document.createElement("div"),
|
|
11272
11282
|
Ht(`<div>${r.html}</div>`, {
|
|
11273
11283
|
hooks: {
|
|
11274
|
-
create:
|
|
11284
|
+
create: gC
|
|
11275
11285
|
}
|
|
11276
11286
|
})
|
|
11277
11287
|
);
|
|
@@ -11287,7 +11297,7 @@ function* ed(e) {
|
|
|
11287
11297
|
o
|
|
11288
11298
|
), !1);
|
|
11289
11299
|
}
|
|
11290
|
-
function*
|
|
11300
|
+
function* yC({ payload: { nextContentId: e } }) {
|
|
11291
11301
|
yield E(
|
|
11292
11302
|
Xu,
|
|
11293
11303
|
Fn,
|
|
@@ -11295,7 +11305,7 @@ function* gC({ payload: { nextContentId: e } }) {
|
|
|
11295
11305
|
Dl
|
|
11296
11306
|
);
|
|
11297
11307
|
}
|
|
11298
|
-
const
|
|
11308
|
+
const SC = () => {
|
|
11299
11309
|
const { sessionDuration: e = Ud } = window.AppcuesSettings || {};
|
|
11300
11310
|
return {
|
|
11301
11311
|
id: Bi(),
|
|
@@ -11303,7 +11313,7 @@ const yC = () => {
|
|
|
11303
11313
|
duration: e * 6e4
|
|
11304
11314
|
};
|
|
11305
11315
|
};
|
|
11306
|
-
function*
|
|
11316
|
+
function* TC() {
|
|
11307
11317
|
try {
|
|
11308
11318
|
const e = yield E(Le, Fe, di), t = JSON.parse(e);
|
|
11309
11319
|
if (!t.id || !t.timestamp)
|
|
@@ -11313,21 +11323,21 @@ function* SC() {
|
|
|
11313
11323
|
return {};
|
|
11314
11324
|
}
|
|
11315
11325
|
}
|
|
11316
|
-
function* TC() {
|
|
11317
|
-
const e = yC();
|
|
11318
|
-
yield g(ks(e)), yield g(CT());
|
|
11319
|
-
}
|
|
11320
11326
|
function* CC() {
|
|
11327
|
+
const e = SC();
|
|
11328
|
+
yield g(ks(e)), yield g(_T());
|
|
11329
|
+
}
|
|
11330
|
+
function* _C() {
|
|
11321
11331
|
const e = yield v(be);
|
|
11322
11332
|
(!e || !e.userId) && (yield W(U.IDENTIFY));
|
|
11323
|
-
const t = yield E(
|
|
11333
|
+
const t = yield E(TC);
|
|
11324
11334
|
if (!t.id || t?.id?.includes("NaN")) {
|
|
11325
11335
|
yield g(Os());
|
|
11326
11336
|
return;
|
|
11327
11337
|
}
|
|
11328
11338
|
yield g(ks(t));
|
|
11329
11339
|
}
|
|
11330
|
-
function*
|
|
11340
|
+
function* IC() {
|
|
11331
11341
|
const e = yield v(zn);
|
|
11332
11342
|
yield E(He, Fe, di, JSON.stringify(e));
|
|
11333
11343
|
}
|
|
@@ -11335,7 +11345,7 @@ function* td() {
|
|
|
11335
11345
|
const e = yield v(zn);
|
|
11336
11346
|
return !e.id || Date.now() - e.duration > e.lastEventTimestamp;
|
|
11337
11347
|
}
|
|
11338
|
-
function*
|
|
11348
|
+
function* AC() {
|
|
11339
11349
|
if (yield E(td)) {
|
|
11340
11350
|
yield g(Os()), yield W(({ type: n }) => n === Ct.SESSION_STARTED);
|
|
11341
11351
|
const e = yield v(zn);
|
|
@@ -11345,7 +11355,7 @@ function* IC() {
|
|
|
11345
11355
|
}
|
|
11346
11356
|
return null;
|
|
11347
11357
|
}
|
|
11348
|
-
function*
|
|
11358
|
+
function* vC({ payload: e }) {
|
|
11349
11359
|
(yield v(Ca)) || (yield W(U.COMPLETED_IDENTIFY)), (yield v(zn)).id || (yield W(Ct.SET_SESSION));
|
|
11350
11360
|
const { userId: r } = e;
|
|
11351
11361
|
if (!r)
|
|
@@ -11353,12 +11363,12 @@ function* AC({ payload: e }) {
|
|
|
11353
11363
|
const i = yield v(be), s = (i && i.userId && i.userId.toString()) !== r.toString(), c = yield E(td);
|
|
11354
11364
|
(s || c) && (yield g(Os()));
|
|
11355
11365
|
}
|
|
11356
|
-
function*
|
|
11366
|
+
function* bC() {
|
|
11357
11367
|
return yield [
|
|
11358
|
-
F(et, U.INITIALIZE,
|
|
11359
|
-
F(et, Ct.SET_SESSION,
|
|
11360
|
-
F(et, Ct.START_SESSION,
|
|
11361
|
-
F(ee, $.START_IDENTIFY,
|
|
11368
|
+
F(et, U.INITIALIZE, _C),
|
|
11369
|
+
F(et, Ct.SET_SESSION, IC),
|
|
11370
|
+
F(et, Ct.START_SESSION, CC),
|
|
11371
|
+
F(ee, $.START_IDENTIFY, vC)
|
|
11362
11372
|
];
|
|
11363
11373
|
}
|
|
11364
11374
|
function* Wi() {
|
|
@@ -11378,7 +11388,7 @@ function* Ps(e = !1) {
|
|
|
11378
11388
|
n = null;
|
|
11379
11389
|
}
|
|
11380
11390
|
const r = yield E(
|
|
11381
|
-
|
|
11391
|
+
aC,
|
|
11382
11392
|
window,
|
|
11383
11393
|
e,
|
|
11384
11394
|
n
|
|
@@ -11403,7 +11413,7 @@ function* Ps(e = !1) {
|
|
|
11403
11413
|
}
|
|
11404
11414
|
let o = yield E(Le, Fe, Ao);
|
|
11405
11415
|
o || (o = yield E(Bi), yield E(He, Fe, Ao, o));
|
|
11406
|
-
const s = yield v(If), c =
|
|
11416
|
+
const s = yield v(If), c = uC({
|
|
11407
11417
|
_localId: o,
|
|
11408
11418
|
_appcuesId: s,
|
|
11409
11419
|
...r
|
|
@@ -11411,7 +11421,7 @@ function* Ps(e = !1) {
|
|
|
11411
11421
|
return yield g(Dr(c, !0)), c;
|
|
11412
11422
|
}
|
|
11413
11423
|
function* nd() {
|
|
11414
|
-
yield g(Am()), yield E(De, Ie, un), yield E(De, Fe, Ao), yield E(De, Fe, Qo), yield E(De, Fe, Ii), yield E(Rs, Fn), yield E(De, Ie, Kt), yield E(De, Fe, di), yield E(
|
|
11424
|
+
yield g(Am()), yield E(De, Ie, un), yield E(De, Fe, Ao), yield E(De, Fe, Qo), yield E(De, Fe, Ii), yield E(Rs, Fn), yield E(De, Ie, Kt), yield E(De, Fe, di), yield E(AT, Ie, Zo), yield E(Ps, !0);
|
|
11415
11425
|
}
|
|
11416
11426
|
function* yl(e) {
|
|
11417
11427
|
const { properties: t, events: n } = e.payload, { _isAnonymous: r } = t, { userId: i } = e.payload, o = yield v(be), s = o && o.userId && o.userId.toString(), c = s !== i?.toString();
|
|
@@ -11430,14 +11440,14 @@ function* yl(e) {
|
|
|
11430
11440
|
function* Sl() {
|
|
11431
11441
|
const e = yield v(ft);
|
|
11432
11442
|
try {
|
|
11433
|
-
const t = yield E(
|
|
11443
|
+
const t = yield E(VS, e);
|
|
11434
11444
|
yield g(bc(t));
|
|
11435
11445
|
} catch (t) {
|
|
11436
11446
|
yield g(bc(t));
|
|
11437
11447
|
}
|
|
11438
11448
|
}
|
|
11439
11449
|
const Tl = (e) => e.type === $.START_IDENTIFY && ne.defined(e.payload.userId);
|
|
11440
|
-
function*
|
|
11450
|
+
function* wC() {
|
|
11441
11451
|
const e = yield W(Tl);
|
|
11442
11452
|
yield F(ee, Tl, yl), yield E(yl, e), yield g(Rm());
|
|
11443
11453
|
}
|
|
@@ -11451,7 +11461,7 @@ function* rd() {
|
|
|
11451
11461
|
({ type: n }) => n === U.CONFIGURE_TRANSPORT
|
|
11452
11462
|
), t += 1;
|
|
11453
11463
|
}
|
|
11454
|
-
function*
|
|
11464
|
+
function* NC(e) {
|
|
11455
11465
|
const t = e.filter((n) => n?.attributes?._builderButtonEvent);
|
|
11456
11466
|
yield ht(
|
|
11457
11467
|
t.map((n) => g(Ue(n.id, n)))
|
|
@@ -11482,7 +11492,7 @@ function* Ds({
|
|
|
11482
11492
|
);
|
|
11483
11493
|
try {
|
|
11484
11494
|
const h = yield E(
|
|
11485
|
-
|
|
11495
|
+
GS,
|
|
11486
11496
|
o,
|
|
11487
11497
|
e,
|
|
11488
11498
|
d,
|
|
@@ -11492,7 +11502,7 @@ function* Ds({
|
|
|
11492
11502
|
i,
|
|
11493
11503
|
u
|
|
11494
11504
|
);
|
|
11495
|
-
h && (yield g(vc(h, f)),
|
|
11505
|
+
h && (yield g(vc(h, f)), rT(h)), yield g(
|
|
11496
11506
|
ks({
|
|
11497
11507
|
lastEventTimestamp: t[t.length - 1].timestamp
|
|
11498
11508
|
})
|
|
@@ -11540,13 +11550,13 @@ function* od(e) {
|
|
|
11540
11550
|
}
|
|
11541
11551
|
if (!n)
|
|
11542
11552
|
try {
|
|
11543
|
-
i = yield E(
|
|
11553
|
+
i = yield E(qS, u, t), o = i ? i.checklist : null;
|
|
11544
11554
|
} catch (f) {
|
|
11545
11555
|
yield E(d, f, { extra: f.extra }), i = null;
|
|
11546
11556
|
}
|
|
11547
11557
|
if (!n && !o)
|
|
11548
11558
|
try {
|
|
11549
|
-
s = yield E(
|
|
11559
|
+
s = yield E(jS, u, t);
|
|
11550
11560
|
} catch (f) {
|
|
11551
11561
|
yield E(d, f, { extra: f.extra }), s = null;
|
|
11552
11562
|
}
|
|
@@ -11559,13 +11569,13 @@ function* od(e) {
|
|
|
11559
11569
|
}
|
|
11560
11570
|
return { shownUrl: r, content: n, checklistContent: o, experience: s };
|
|
11561
11571
|
}
|
|
11562
|
-
function
|
|
11572
|
+
function kC(e) {
|
|
11563
11573
|
return Rr(e) && St(e.attributes.params.url, window.location.href);
|
|
11564
11574
|
}
|
|
11565
|
-
function
|
|
11575
|
+
function OC(e, t) {
|
|
11566
11576
|
return !Rr(e) && t === K.STEP_COMPLETED;
|
|
11567
11577
|
}
|
|
11568
|
-
function*
|
|
11578
|
+
function* RC() {
|
|
11569
11579
|
const e = JSON.parse(
|
|
11570
11580
|
yield E(Le, Ie, Kt)
|
|
11571
11581
|
);
|
|
@@ -11605,10 +11615,10 @@ function* OC() {
|
|
|
11605
11615
|
c = l.content, o = l.shownUrl, c && (yield g(Qa()));
|
|
11606
11616
|
}
|
|
11607
11617
|
if (c) {
|
|
11608
|
-
const l = lt(c, e.stepId), u = e.status, d =
|
|
11618
|
+
const l = lt(c, e.stepId), u = e.status, d = kC(l), f = Gt(l), h = e.navByADTT;
|
|
11609
11619
|
if (d || h || f) {
|
|
11610
11620
|
let y = l, p = u;
|
|
11611
|
-
if (
|
|
11621
|
+
if (OC(l, u) && (y = Ut(
|
|
11612
11622
|
c,
|
|
11613
11623
|
Bn(c, e.stepId) + 1
|
|
11614
11624
|
), p = K.STEP_ATTEMPTED), Rr(y) || Gt(y)) {
|
|
@@ -11629,7 +11639,7 @@ function* OC() {
|
|
|
11629
11639
|
remainingPagesToCheck: A - 1
|
|
11630
11640
|
}, yield E(wt, t);
|
|
11631
11641
|
}
|
|
11632
|
-
r && (yield g(
|
|
11642
|
+
r && (yield g(Oy(c.id, l.id)), yield E($t, c, l));
|
|
11633
11643
|
const { flowId: m, submissionId: T } = t;
|
|
11634
11644
|
return yield E(wt, {
|
|
11635
11645
|
...t,
|
|
@@ -11660,7 +11670,7 @@ function* sd() {
|
|
|
11660
11670
|
status: K.STEP_SHOWN
|
|
11661
11671
|
}));
|
|
11662
11672
|
}
|
|
11663
|
-
const t = yield E(
|
|
11673
|
+
const t = yield E(RC);
|
|
11664
11674
|
let n = t;
|
|
11665
11675
|
if (!t) {
|
|
11666
11676
|
let r;
|
|
@@ -11679,18 +11689,18 @@ function* sd() {
|
|
|
11679
11689
|
);
|
|
11680
11690
|
}
|
|
11681
11691
|
} else (yield E(yr, window, "appcue")) && (r = yield E(yr, window, "appcue"));
|
|
11682
|
-
(yield E(zu, Fn)) && (r || (r = yield E(
|
|
11692
|
+
(yield E(zu, Fn)) && (r || (r = yield E(ZT, Fn)), yield E(Rs, Fn)), r && (yield g(Pr(r)), n = !0);
|
|
11683
11693
|
}
|
|
11684
11694
|
return yield g(Oc(window.location.href, !0)), n;
|
|
11685
11695
|
}
|
|
11686
|
-
function*
|
|
11696
|
+
function* LC(e) {
|
|
11687
11697
|
const t = yield v(rt), n = yield v(ce), r = lt(t, n), i = Fs(e);
|
|
11688
11698
|
if (i && i.attributes.url && t !== null) {
|
|
11689
11699
|
const o = yield v(Lf);
|
|
11690
11700
|
In(i.attributes.url) !== In(o) && (r && (yield* $t(t, r)), yield g(Jt(t.id, Nt.CLEAR)));
|
|
11691
11701
|
}
|
|
11692
11702
|
}
|
|
11693
|
-
function*
|
|
11703
|
+
function* xC({
|
|
11694
11704
|
properties: e,
|
|
11695
11705
|
events: t,
|
|
11696
11706
|
groupProperties: n,
|
|
@@ -11706,12 +11716,12 @@ function* LC({
|
|
|
11706
11716
|
Ve
|
|
11707
11717
|
)) === te.WILL_CLOSE && (yield W(le.CLOSE_STEP)), yield g(br());
|
|
11708
11718
|
const d = yield v(xo);
|
|
11709
|
-
d && d.stopAll(), (yield E(sd)) || (yield E(
|
|
11719
|
+
d && d.stopAll(), (yield E(sd)) || (yield E(LC, t)), (yield v(Oa)) && (yield ht([E(Vu), E(Wu)]));
|
|
11710
11720
|
}
|
|
11711
11721
|
}
|
|
11712
11722
|
return [i, o];
|
|
11713
11723
|
}
|
|
11714
|
-
function*
|
|
11724
|
+
function* PC({
|
|
11715
11725
|
properties: e,
|
|
11716
11726
|
events: t,
|
|
11717
11727
|
trigger: n,
|
|
@@ -11719,14 +11729,14 @@ function* xC({
|
|
|
11719
11729
|
groupProperties: i
|
|
11720
11730
|
}) {
|
|
11721
11731
|
(yield E(Wi)) || (yield W(U.INITIALIZE), yield W(Ct.SET_SESSION), yield W(U.CHECKED_FOR_INITIAL_CONTENT));
|
|
11722
|
-
const s = yield E(Le, Fe, Ii), [c, l] = yield*
|
|
11732
|
+
const s = yield E(Le, Fe, Ii), [c, l] = yield* xC({
|
|
11723
11733
|
properties: e,
|
|
11724
11734
|
events: t,
|
|
11725
11735
|
groupProperties: i,
|
|
11726
11736
|
groupId: r ?? s
|
|
11727
11737
|
});
|
|
11728
11738
|
let u = t;
|
|
11729
|
-
const d = yield E(
|
|
11739
|
+
const d = yield E(AC);
|
|
11730
11740
|
if (d) {
|
|
11731
11741
|
const f = t[0];
|
|
11732
11742
|
f && (d.timestamp = f.timestamp), u = [d, ...t];
|
|
@@ -11739,7 +11749,7 @@ function* xC({
|
|
|
11739
11749
|
groupProperties: l
|
|
11740
11750
|
});
|
|
11741
11751
|
}
|
|
11742
|
-
function*
|
|
11752
|
+
function* DC() {
|
|
11743
11753
|
const e = yield E(jn.expanding, 10), t = yield tf(
|
|
11744
11754
|
[
|
|
11745
11755
|
$.START_ACTIVITY,
|
|
@@ -11766,14 +11776,14 @@ function* PC() {
|
|
|
11766
11776
|
});
|
|
11767
11777
|
let f = !1, h = !1;
|
|
11768
11778
|
if (c = c.filter((y) => Fs([y]) ? In(y.attributes.url) !== In(window.location.href) || f ? !1 : (f = !0, !0) : (h = l, !0)), l = f || h, Object.keys(s).length > 0 || c.length > 0 || Object.keys(d ?? {}).length > 0 || u != null) {
|
|
11769
|
-
const y = yield F(
|
|
11779
|
+
const y = yield F(PC, {
|
|
11770
11780
|
properties: s,
|
|
11771
11781
|
events: c,
|
|
11772
11782
|
trigger: l,
|
|
11773
11783
|
groupId: u,
|
|
11774
11784
|
groupProperties: d
|
|
11775
11785
|
}), p = yield F(
|
|
11776
|
-
|
|
11786
|
+
NC,
|
|
11777
11787
|
c
|
|
11778
11788
|
);
|
|
11779
11789
|
r.push(y, p);
|
|
@@ -11788,11 +11798,11 @@ function* Cl(e, t) {
|
|
|
11788
11798
|
e === "all" && (i = [t.id, ...i]), yield E([r.context || window, r.callback], ...i);
|
|
11789
11799
|
}
|
|
11790
11800
|
}
|
|
11791
|
-
function*
|
|
11801
|
+
function* FC({ payload: e }) {
|
|
11792
11802
|
const { flowId: t, event: n } = e, r = yield dt(Cl, n.id, n), i = yield dt(Cl, "all", n);
|
|
11793
11803
|
yield bn(r, i), yield g(um(t, n));
|
|
11794
11804
|
}
|
|
11795
|
-
function*
|
|
11805
|
+
function* UC({ payload: e }) {
|
|
11796
11806
|
const t = yield E(_u, e.fields);
|
|
11797
11807
|
if (t.result || e.ignoreValidation) {
|
|
11798
11808
|
if (!e.fields.some((c) => c.value)) {
|
|
@@ -11836,9 +11846,9 @@ function* FC({ payload: e }) {
|
|
|
11836
11846
|
}, {});
|
|
11837
11847
|
Object.keys(s).length > 0 && (yield g(we(s, [], !1)));
|
|
11838
11848
|
} else
|
|
11839
|
-
yield g(
|
|
11849
|
+
yield g(Cy(t.errors));
|
|
11840
11850
|
}
|
|
11841
|
-
function*
|
|
11851
|
+
function* HC({ payload: e }) {
|
|
11842
11852
|
const { shownUrl: t, content: n, checklistContent: r, experience: i } = yield E(
|
|
11843
11853
|
od,
|
|
11844
11854
|
e
|
|
@@ -11855,7 +11865,7 @@ function* UC({ payload: e }) {
|
|
|
11855
11865
|
), yield g(or(c, { _showChecklist: r.id }));
|
|
11856
11866
|
}
|
|
11857
11867
|
}
|
|
11858
|
-
function*
|
|
11868
|
+
function* MC() {
|
|
11859
11869
|
const e = yield v(Ve);
|
|
11860
11870
|
if (ne.inArray(
|
|
11861
11871
|
[te.READY, te.WILL_SHOW],
|
|
@@ -11872,10 +11882,10 @@ function* HC() {
|
|
|
11872
11882
|
);
|
|
11873
11883
|
}
|
|
11874
11884
|
}
|
|
11875
|
-
function*
|
|
11885
|
+
function* $C() {
|
|
11876
11886
|
const e = yield qe({
|
|
11877
11887
|
cancel: W($.CANCEL_ATTEMPTS),
|
|
11878
|
-
result: E(
|
|
11888
|
+
result: E(MC)
|
|
11879
11889
|
}), t = yield v(Ve);
|
|
11880
11890
|
if (e.cancel && t === te.WILL_SHOW) {
|
|
11881
11891
|
const n = yield v(rt);
|
|
@@ -11890,7 +11900,7 @@ function* MC() {
|
|
|
11890
11900
|
}
|
|
11891
11901
|
}
|
|
11892
11902
|
}
|
|
11893
|
-
function*
|
|
11903
|
+
function* BC() {
|
|
11894
11904
|
if (yield v(yn)) {
|
|
11895
11905
|
(yield v(ye)).type === z.HOTSPOTS || (yield g($i()), yield g($u()));
|
|
11896
11906
|
const r = yield v(cs), i = yield v(Rf);
|
|
@@ -11898,7 +11908,7 @@ function* $C() {
|
|
|
11898
11908
|
let o;
|
|
11899
11909
|
try {
|
|
11900
11910
|
const s = yield v(ft);
|
|
11901
|
-
o = yield E(
|
|
11911
|
+
o = yield E(KS, s, r);
|
|
11902
11912
|
} catch (s) {
|
|
11903
11913
|
const c = yield v(Bt);
|
|
11904
11914
|
yield E(c, s.message, { extra: s.extra });
|
|
@@ -11908,7 +11918,7 @@ function* $C() {
|
|
|
11908
11918
|
yield g(mm());
|
|
11909
11919
|
}
|
|
11910
11920
|
}
|
|
11911
|
-
function*
|
|
11921
|
+
function* VC() {
|
|
11912
11922
|
let e = yield v(be);
|
|
11913
11923
|
const { _localId: t } = e;
|
|
11914
11924
|
t || (yield W(({ type: r, payload: i }) => r === U.UPDATE_USER && // eslint-disable-next-line no-underscore-dangle
|
|
@@ -11920,7 +11930,7 @@ function* BC() {
|
|
|
11920
11930
|
])
|
|
11921
11931
|
);
|
|
11922
11932
|
}
|
|
11923
|
-
function*
|
|
11933
|
+
function* WC({ payload: e }) {
|
|
11924
11934
|
const t = yield v(Ca), n = yield v(_a);
|
|
11925
11935
|
t || (yield W(U.COMPLETED_IDENTIFY));
|
|
11926
11936
|
let r = yield v(be), { _appcuesId: i } = r;
|
|
@@ -11932,25 +11942,25 @@ function* VC({ payload: e }) {
|
|
|
11932
11942
|
}
|
|
11933
11943
|
yield E(e, r);
|
|
11934
11944
|
}
|
|
11935
|
-
function*
|
|
11945
|
+
function* GC({ payload: e }) {
|
|
11936
11946
|
const t = yield v(li, e);
|
|
11937
11947
|
t && t.length > 0 && (yield g(xm(e)), yield t.map((n) => st(n)));
|
|
11938
11948
|
}
|
|
11939
|
-
function
|
|
11949
|
+
function jC(e) {
|
|
11940
11950
|
return e === null || e === te.ERROR;
|
|
11941
11951
|
}
|
|
11942
|
-
function
|
|
11952
|
+
function qC(e, t) {
|
|
11943
11953
|
return !!(e && t);
|
|
11944
11954
|
}
|
|
11945
|
-
function*
|
|
11955
|
+
function* KC() {
|
|
11946
11956
|
const e = yield v(rt), t = yield v(ce), n = lt(e, t);
|
|
11947
11957
|
yield g(br()), yield E($t, e, n), yield g(
|
|
11948
11958
|
Jt(e.id, Nt.CLEAR)
|
|
11949
11959
|
);
|
|
11950
11960
|
}
|
|
11951
|
-
function*
|
|
11961
|
+
function* YC(e) {
|
|
11952
11962
|
const { currentUrl: t, shouldOverrideCurrentFlow: n, requestId: r } = e.payload, i = yield v(Of), o = yield v(Ve), s = yield v(yn);
|
|
11953
|
-
if (!(!i || i.length === 0) && (
|
|
11963
|
+
if (!(!i || i.length === 0) && (jC(o) || qC(o, n))) {
|
|
11954
11964
|
let c = !0;
|
|
11955
11965
|
const l = yield v(Lr);
|
|
11956
11966
|
for (const u of i) {
|
|
@@ -11964,7 +11974,7 @@ function* KC(e) {
|
|
|
11964
11974
|
);
|
|
11965
11975
|
if (f && (yield g(
|
|
11966
11976
|
Hi(d.id, Xe.FLOWS)
|
|
11967
|
-
)), o && n && (yield E(
|
|
11977
|
+
)), o && n && (yield E(KC)), !f) {
|
|
11968
11978
|
if (yield E(
|
|
11969
11979
|
Qu,
|
|
11970
11980
|
d,
|
|
@@ -11972,7 +11982,7 @@ function* KC(e) {
|
|
|
11972
11982
|
t,
|
|
11973
11983
|
r
|
|
11974
11984
|
)) {
|
|
11975
|
-
c && (yield E(
|
|
11985
|
+
c && (yield E(oT, r));
|
|
11976
11986
|
return;
|
|
11977
11987
|
}
|
|
11978
11988
|
c = !1;
|
|
@@ -11989,7 +11999,7 @@ function* _l(e, t, n, r) {
|
|
|
11989
11999
|
sdk_version: window.AppcuesBundleSettings.VERSION
|
|
11990
12000
|
});
|
|
11991
12001
|
}
|
|
11992
|
-
function*
|
|
12002
|
+
function* zC() {
|
|
11993
12003
|
try {
|
|
11994
12004
|
yield W(Ct.SET_SESSION);
|
|
11995
12005
|
const e = window.performance, n = (yield v(zn)).timestamp % 100 === 0;
|
|
@@ -12032,7 +12042,7 @@ function* YC() {
|
|
|
12032
12042
|
} catch {
|
|
12033
12043
|
}
|
|
12034
12044
|
}
|
|
12035
|
-
function*
|
|
12045
|
+
function* XC() {
|
|
12036
12046
|
const e = JSON.parse(
|
|
12037
12047
|
yield E(Le, Ie, fi)
|
|
12038
12048
|
);
|
|
@@ -12044,7 +12054,7 @@ function* zC() {
|
|
|
12044
12054
|
}
|
|
12045
12055
|
return !1;
|
|
12046
12056
|
}
|
|
12047
|
-
function*
|
|
12057
|
+
function* JC() {
|
|
12048
12058
|
const e = yield W($.START_INITIALIZE);
|
|
12049
12059
|
if (!(yield E(Wi))) {
|
|
12050
12060
|
const n = yield E(Le, Fe, Qo);
|
|
@@ -12054,7 +12064,7 @@ function* XC() {
|
|
|
12054
12064
|
])
|
|
12055
12065
|
));
|
|
12056
12066
|
const r = yield E(
|
|
12057
|
-
|
|
12067
|
+
BS,
|
|
12058
12068
|
e.payload.dispatchMessage.onMessage,
|
|
12059
12069
|
e.payload.dispatchMessage.onTimeout,
|
|
12060
12070
|
e.payload.transportModule
|
|
@@ -12065,17 +12075,17 @@ function* XC() {
|
|
|
12065
12075
|
module: e.payload.transportModule,
|
|
12066
12076
|
details: r.details
|
|
12067
12077
|
})
|
|
12068
|
-
), yield E(sd), yield E(
|
|
12078
|
+
), yield E(sd), yield E(XC);
|
|
12069
12079
|
}
|
|
12070
12080
|
}
|
|
12071
|
-
function*
|
|
12081
|
+
function* QC({ payload: { groupId: e, groupProperties: t } }) {
|
|
12072
12082
|
const n = {
|
|
12073
12083
|
...t,
|
|
12074
12084
|
...Zu()
|
|
12075
12085
|
};
|
|
12076
12086
|
yield g(dm(e, n)), yield E(He, Fe, Ii, e), yield g(Vm({ groupId: e, groupProps: n }));
|
|
12077
12087
|
}
|
|
12078
|
-
function*
|
|
12088
|
+
function* ZC({ payload: e }) {
|
|
12079
12089
|
const t = yield v(Lr);
|
|
12080
12090
|
if (Object.prototype.hasOwnProperty.call(t, e)) return;
|
|
12081
12091
|
const n = yield v(ft), r = yield E(Fu, n, e);
|
|
@@ -12085,56 +12095,56 @@ function* QC({ payload: e }) {
|
|
|
12085
12095
|
})
|
|
12086
12096
|
);
|
|
12087
12097
|
}
|
|
12088
|
-
function*
|
|
12098
|
+
function* e_() {
|
|
12089
12099
|
yield [
|
|
12090
|
-
dt(
|
|
12091
|
-
dt(
|
|
12092
|
-
dt(
|
|
12093
|
-
F(ee, $.START_EVENT,
|
|
12094
|
-
F(
|
|
12095
|
-
F(ee, $.START_ANONYMOUS,
|
|
12100
|
+
dt(JC),
|
|
12101
|
+
dt(wC),
|
|
12102
|
+
dt(zC),
|
|
12103
|
+
F(ee, $.START_EVENT, FC),
|
|
12104
|
+
F(DC),
|
|
12105
|
+
F(ee, $.START_ANONYMOUS, VC),
|
|
12096
12106
|
F(
|
|
12097
12107
|
ee,
|
|
12098
12108
|
$.START_FORM_SUBMISSION,
|
|
12099
|
-
|
|
12109
|
+
UC
|
|
12100
12110
|
),
|
|
12101
|
-
F(et, $.START_SHOW,
|
|
12111
|
+
F(et, $.START_SHOW, HC),
|
|
12102
12112
|
F(
|
|
12103
12113
|
et,
|
|
12104
12114
|
le.LOADED_CSS,
|
|
12105
|
-
|
|
12115
|
+
$C
|
|
12106
12116
|
),
|
|
12107
12117
|
F(
|
|
12108
12118
|
ee,
|
|
12109
12119
|
$.PREPARE_CONTENT,
|
|
12110
|
-
|
|
12120
|
+
BC
|
|
12111
12121
|
),
|
|
12112
12122
|
F(ee, $.START_RESET, nd),
|
|
12113
12123
|
F(
|
|
12114
12124
|
ee,
|
|
12115
12125
|
U.WAIT_IDENTIFY,
|
|
12116
|
-
|
|
12126
|
+
WC
|
|
12117
12127
|
),
|
|
12118
|
-
F(ee, $.STOP_TASKS,
|
|
12128
|
+
F(ee, $.STOP_TASKS, GC),
|
|
12119
12129
|
F(
|
|
12120
12130
|
et,
|
|
12121
12131
|
$.START_CHECK,
|
|
12122
|
-
|
|
12132
|
+
YC
|
|
12123
12133
|
),
|
|
12124
12134
|
F(
|
|
12125
12135
|
ee,
|
|
12126
12136
|
le.SET_NEXT_CONTENT_ID_COOKIE,
|
|
12127
|
-
|
|
12137
|
+
yC
|
|
12128
12138
|
),
|
|
12129
12139
|
F(
|
|
12130
12140
|
ee,
|
|
12131
12141
|
$.START_IDENTIFY_GROUP,
|
|
12132
|
-
|
|
12142
|
+
QC
|
|
12133
12143
|
),
|
|
12134
12144
|
F(
|
|
12135
12145
|
ee,
|
|
12136
12146
|
U.PREFETCH_FLOWS,
|
|
12137
|
-
|
|
12147
|
+
ZC
|
|
12138
12148
|
)
|
|
12139
12149
|
];
|
|
12140
12150
|
}
|
|
@@ -12148,7 +12158,7 @@ function ld(e, t) {
|
|
|
12148
12158
|
}
|
|
12149
12159
|
return !0;
|
|
12150
12160
|
}
|
|
12151
|
-
function
|
|
12161
|
+
function t_(e, t) {
|
|
12152
12162
|
try {
|
|
12153
12163
|
return !e.includes("|shadow-root|") && !e.includes("|iframe|") && (t.matches ? t.matches(e) : t.msMatchesSelector(e)) ? t : at(
|
|
12154
12164
|
Ri(e),
|
|
@@ -12163,7 +12173,7 @@ function Us({ events: e, $element: t, eventType: n }) {
|
|
|
12163
12173
|
const { targets: i } = r;
|
|
12164
12174
|
for (const { event: o, selector: s } of i)
|
|
12165
12175
|
if (o === n) {
|
|
12166
|
-
const { selector: c, text_filter: l } = s, u =
|
|
12176
|
+
const { selector: c, text_filter: l } = s, u = t_(c, t);
|
|
12167
12177
|
if (u && cd(u, l) && ld(u, s))
|
|
12168
12178
|
return [r, u];
|
|
12169
12179
|
}
|
|
@@ -12183,7 +12193,7 @@ function Hs({ events: e, matchSelector: t }) {
|
|
|
12183
12193
|
function Ti(e) {
|
|
12184
12194
|
return e.composedPath ? e.composedPath() : [e.target];
|
|
12185
12195
|
}
|
|
12186
|
-
function
|
|
12196
|
+
function n_({
|
|
12187
12197
|
events: e,
|
|
12188
12198
|
onEventsTriggered: t,
|
|
12189
12199
|
stopPropagation: n
|
|
@@ -12216,8 +12226,8 @@ function t_({
|
|
|
12216
12226
|
return null;
|
|
12217
12227
|
}
|
|
12218
12228
|
}
|
|
12219
|
-
const
|
|
12220
|
-
function
|
|
12229
|
+
const r_ = (e, t) => e.includes(t);
|
|
12230
|
+
function i_({ events: e, onEventsTriggered: t }) {
|
|
12221
12231
|
const n = e.filter(
|
|
12222
12232
|
({ targets: s }) => s.some(({ event: c }) => c === "input")
|
|
12223
12233
|
);
|
|
@@ -12228,7 +12238,7 @@ function r_({ events: e, onEventsTriggered: t }) {
|
|
|
12228
12238
|
$element: c,
|
|
12229
12239
|
eventType: "input"
|
|
12230
12240
|
}).map(([d]) => d).filter(
|
|
12231
|
-
(d) => !
|
|
12241
|
+
(d) => !r_(r, d)
|
|
12232
12242
|
);
|
|
12233
12243
|
r = [...r, ...u], t(u);
|
|
12234
12244
|
}, o = () => {
|
|
@@ -12260,7 +12270,7 @@ function Il(e, t) {
|
|
|
12260
12270
|
for (; (n = r.nextNode()) !== null; )
|
|
12261
12271
|
t(n.shadowRoot);
|
|
12262
12272
|
}
|
|
12263
|
-
function
|
|
12273
|
+
function o_({ events: e, onEventsTriggered: t }) {
|
|
12264
12274
|
const n = e.filter(
|
|
12265
12275
|
({ targets: o }) => o.some(({ event: s }) => s === "hover")
|
|
12266
12276
|
), r = /* @__PURE__ */ new Set(), i = (o) => {
|
|
@@ -12309,7 +12319,7 @@ function i_({ events: e, onEventsTriggered: t }) {
|
|
|
12309
12319
|
};
|
|
12310
12320
|
}
|
|
12311
12321
|
const ad = "appcues/click-to-track";
|
|
12312
|
-
function
|
|
12322
|
+
function s_({
|
|
12313
12323
|
name: e,
|
|
12314
12324
|
timestamp: t,
|
|
12315
12325
|
attributes: { url: n, interaction: r, selector: i }
|
|
@@ -12328,20 +12338,20 @@ function o_({
|
|
|
12328
12338
|
};
|
|
12329
12339
|
}
|
|
12330
12340
|
const Al = (e, t) => Object.prototype.hasOwnProperty.call(e, t);
|
|
12331
|
-
function*
|
|
12332
|
-
const n =
|
|
12341
|
+
function* c_(e = [], t = !1) {
|
|
12342
|
+
const n = Ig(), r = e.filter(
|
|
12333
12343
|
({ urls: o }) => o.some(
|
|
12334
12344
|
(s) => s === "*" || St(s, n)
|
|
12335
12345
|
)
|
|
12336
12346
|
), i = Or((o) => {
|
|
12337
|
-
const s =
|
|
12347
|
+
const s = n_({
|
|
12338
12348
|
events: r,
|
|
12339
12349
|
onEventsTriggered: o,
|
|
12340
12350
|
stopPropagation: t
|
|
12341
|
-
}), c =
|
|
12351
|
+
}), c = i_({
|
|
12342
12352
|
events: r,
|
|
12343
12353
|
onEventsTriggered: o
|
|
12344
|
-
}), l =
|
|
12354
|
+
}), l = o_({
|
|
12345
12355
|
events: r,
|
|
12346
12356
|
onEventsTriggered: o
|
|
12347
12357
|
});
|
|
@@ -12353,7 +12363,7 @@ function* s_(e = [], t = !1) {
|
|
|
12353
12363
|
for (; ; ) {
|
|
12354
12364
|
const o = yield W(i);
|
|
12355
12365
|
o.length > 0 && (yield g(
|
|
12356
|
-
|
|
12366
|
+
CT(
|
|
12357
12367
|
o.map(
|
|
12358
12368
|
({ name: s, targets: [{ event: c, selector: l }] }) => Qt(s, {
|
|
12359
12369
|
url: n,
|
|
@@ -12372,14 +12382,14 @@ function* s_(e = [], t = !1) {
|
|
|
12372
12382
|
(yield vi()) && i.close();
|
|
12373
12383
|
}
|
|
12374
12384
|
}
|
|
12375
|
-
function*
|
|
12385
|
+
function* l_(e = []) {
|
|
12376
12386
|
const [t, n] = yield [
|
|
12377
12387
|
F(function* () {
|
|
12378
12388
|
try {
|
|
12379
12389
|
if (!e || e.length === 0)
|
|
12380
12390
|
return;
|
|
12381
12391
|
for (; ; ) {
|
|
12382
|
-
const i = yield F(
|
|
12392
|
+
const i = yield F(c_, e);
|
|
12383
12393
|
yield W(
|
|
12384
12394
|
({ type: o, payload: s }) => o === $.START_ACTIVITY && s.events.some(
|
|
12385
12395
|
(c) => c.name === An.PAGE_VIEW
|
|
@@ -12406,7 +12416,7 @@ function* c_(e = []) {
|
|
|
12406
12416
|
trigger: !0,
|
|
12407
12417
|
groupId: s ?? null
|
|
12408
12418
|
}), (yield v(bf)) && (yield i.map((l) => {
|
|
12409
|
-
const u =
|
|
12419
|
+
const u = s_({
|
|
12410
12420
|
...l,
|
|
12411
12421
|
name: l.name.replace("appcues_custom:", "")
|
|
12412
12422
|
});
|
|
@@ -12422,16 +12432,16 @@ function* c_(e = []) {
|
|
|
12422
12432
|
function ud({ attributes: e }) {
|
|
12423
12433
|
return e ? !!e._builderButtonEvent : !1;
|
|
12424
12434
|
}
|
|
12425
|
-
function
|
|
12435
|
+
function a_(e) {
|
|
12426
12436
|
const t = ud(e), n = $d.some(
|
|
12427
12437
|
(i) => e?.id?.startsWith(i)
|
|
12428
12438
|
), r = e?.source === ad;
|
|
12429
12439
|
return !t && !n && !r;
|
|
12430
12440
|
}
|
|
12431
|
-
function
|
|
12441
|
+
function u_(e) {
|
|
12432
12442
|
return `${e.name} (Appcues)`;
|
|
12433
12443
|
}
|
|
12434
|
-
function
|
|
12444
|
+
function d_(e, t) {
|
|
12435
12445
|
return { ...e, user: t };
|
|
12436
12446
|
}
|
|
12437
12447
|
function yo(e, t, n, r, i) {
|
|
@@ -12439,7 +12449,7 @@ function yo(e, t, n, r, i) {
|
|
|
12439
12449
|
nonInteraction: !0
|
|
12440
12450
|
});
|
|
12441
12451
|
}
|
|
12442
|
-
function
|
|
12452
|
+
function f_(e, t = {}) {
|
|
12443
12453
|
if (e === "Form Field Submitted (Appcues)") {
|
|
12444
12454
|
const {
|
|
12445
12455
|
// Ignored fields
|
|
@@ -12468,7 +12478,7 @@ function d_(e, t = {}) {
|
|
|
12468
12478
|
} else
|
|
12469
12479
|
return t;
|
|
12470
12480
|
}
|
|
12471
|
-
function
|
|
12481
|
+
function p_(e) {
|
|
12472
12482
|
if (!e.user) return e;
|
|
12473
12483
|
const t = Object.entries(e.user).reduce(
|
|
12474
12484
|
(n, [r, i]) => {
|
|
@@ -12487,7 +12497,7 @@ const vl = (e) => {
|
|
|
12487
12497
|
const t = /* @__PURE__ */ new Set(["string", "boolean", "number"]);
|
|
12488
12498
|
return Array.isArray(e) ? e.every((n) => t.has(typeof n)) : t.has(typeof e);
|
|
12489
12499
|
};
|
|
12490
|
-
function
|
|
12500
|
+
function h_(e) {
|
|
12491
12501
|
const { user: t, ...n } = e, r = Object.entries(n).reduce(
|
|
12492
12502
|
(o, [s, c]) => (vl(c) && (o[s] = c), o),
|
|
12493
12503
|
{}
|
|
@@ -12499,14 +12509,14 @@ function p_(e) {
|
|
|
12499
12509
|
);
|
|
12500
12510
|
return { ...r, ...i };
|
|
12501
12511
|
}
|
|
12502
|
-
function
|
|
12512
|
+
function m_(e, t) {
|
|
12503
12513
|
const { settings: n } = t(), r = (i) => () => {
|
|
12504
12514
|
e.on("all", (o, s) => {
|
|
12505
|
-
if (
|
|
12506
|
-
const c =
|
|
12515
|
+
if (a_(s)) return;
|
|
12516
|
+
const c = u_(s), l = ud(s) ? s.name : o;
|
|
12507
12517
|
try {
|
|
12508
12518
|
if (l && c) {
|
|
12509
|
-
const u =
|
|
12519
|
+
const u = d_(s, t().user);
|
|
12510
12520
|
i(l, c, u);
|
|
12511
12521
|
}
|
|
12512
12522
|
} catch {
|
|
@@ -12518,7 +12528,7 @@ function h_(e, t) {
|
|
|
12518
12528
|
window.mixpanel.track(o, s);
|
|
12519
12529
|
}),
|
|
12520
12530
|
initHeap: r((i, o, s) => {
|
|
12521
|
-
const c =
|
|
12531
|
+
const c = f_(o, s);
|
|
12522
12532
|
window.heap.addUserProperties({
|
|
12523
12533
|
appcuesUserID: be(t()).userId
|
|
12524
12534
|
}), window.heap.track(o, c, "appcues");
|
|
@@ -12634,14 +12644,14 @@ function h_(e, t) {
|
|
|
12634
12644
|
window.braze.logCustomEvent(o, s);
|
|
12635
12645
|
}),
|
|
12636
12646
|
initFullStory: r((i, o, s) => {
|
|
12637
|
-
const c =
|
|
12647
|
+
const c = p_(s);
|
|
12638
12648
|
window.FS.event(o, c);
|
|
12639
12649
|
}),
|
|
12640
12650
|
initHotjar: r((i, o) => {
|
|
12641
12651
|
window.hj("event", o);
|
|
12642
12652
|
}),
|
|
12643
12653
|
initLogRocket: r((i, o, s) => {
|
|
12644
|
-
const c =
|
|
12654
|
+
const c = h_(s);
|
|
12645
12655
|
window.LogRocket.track(o, c);
|
|
12646
12656
|
})
|
|
12647
12657
|
};
|
|
@@ -12650,7 +12660,7 @@ function bl(e, t) {
|
|
|
12650
12660
|
const n = { ...t, url: e };
|
|
12651
12661
|
return Qt(An.PAGE_VIEW, n);
|
|
12652
12662
|
}
|
|
12653
|
-
function
|
|
12663
|
+
function E_({ dispatch: e, getState: t }) {
|
|
12654
12664
|
const n = {
|
|
12655
12665
|
identify(i, o = {}) {
|
|
12656
12666
|
let s = i, c = o;
|
|
@@ -12687,7 +12697,7 @@ function m_({ dispatch: e, getState: t }) {
|
|
|
12687
12697
|
e(Pr(i));
|
|
12688
12698
|
},
|
|
12689
12699
|
clearShow() {
|
|
12690
|
-
e(
|
|
12700
|
+
e(yS());
|
|
12691
12701
|
},
|
|
12692
12702
|
on(i, o, s) {
|
|
12693
12703
|
e(wc(i, o, s));
|
|
@@ -12708,7 +12718,7 @@ function m_({ dispatch: e, getState: t }) {
|
|
|
12708
12718
|
e(i ? gm() : Mu());
|
|
12709
12719
|
},
|
|
12710
12720
|
loadLaunchpad(i, o) {
|
|
12711
|
-
e(
|
|
12721
|
+
e(CS({ selector: i, ...o }));
|
|
12712
12722
|
},
|
|
12713
12723
|
group(i, o) {
|
|
12714
12724
|
let s = i, c = o;
|
|
@@ -12763,19 +12773,19 @@ function m_({ dispatch: e, getState: t }) {
|
|
|
12763
12773
|
};
|
|
12764
12774
|
}
|
|
12765
12775
|
});
|
|
12766
|
-
const r =
|
|
12776
|
+
const r = m_(n, t);
|
|
12767
12777
|
return Object.assign(n, r), Object.assign(n, {
|
|
12768
12778
|
start() {
|
|
12769
12779
|
n.page();
|
|
12770
12780
|
},
|
|
12771
12781
|
experience: {
|
|
12772
|
-
pause: (i) => e(
|
|
12773
|
-
resume: (i) => e(
|
|
12782
|
+
pause: (i) => e(ST(i)),
|
|
12783
|
+
resume: (i) => e(TT(i)),
|
|
12774
12784
|
show: (i) => e(Ns([i]))
|
|
12775
12785
|
}
|
|
12776
12786
|
}), n;
|
|
12777
12787
|
}
|
|
12778
|
-
const wl = "https://studio.appcues.com",
|
|
12788
|
+
const wl = "https://studio.appcues.com", g_ = (e) => {
|
|
12779
12789
|
switch (e.type) {
|
|
12780
12790
|
case z.MODAL:
|
|
12781
12791
|
switch (e.attributes.pattern_type) {
|
|
@@ -12796,17 +12806,17 @@ const wl = "https://studio.appcues.com", E_ = (e) => {
|
|
|
12796
12806
|
return null;
|
|
12797
12807
|
}
|
|
12798
12808
|
};
|
|
12799
|
-
function
|
|
12809
|
+
function y_(e) {
|
|
12800
12810
|
return !!(e && e.attributes && e.attributes.params && e.attributes.params.url);
|
|
12801
12811
|
}
|
|
12802
|
-
function
|
|
12812
|
+
function S_(e) {
|
|
12803
12813
|
return !!(e && e.type === z.ACTION && e.attributes.action_type === Tt.WAIT_FOR_PAGE);
|
|
12804
12814
|
}
|
|
12805
12815
|
const Nl = (e, t, n) => {
|
|
12806
12816
|
const r = lt(e || {}, t), i = gn(r, n);
|
|
12807
|
-
return /* @__PURE__ */ a.html("div", null, /* @__PURE__ */ a.html("div", null, `${(e || {}).name}, Step ${Bn(e, t) + 1} (${
|
|
12817
|
+
return /* @__PURE__ */ a.html("div", null, /* @__PURE__ */ a.html("div", null, `${(e || {}).name}, Step ${Bn(e, t) + 1} (${g_(r || {})})${i > -1 ? `, Part ${i + 1}` : ""}`), S_(r) && y_(r) ? /* @__PURE__ */ a.html("div", null, `Page to match: ${r.attributes.params.url}`) : "");
|
|
12808
12818
|
};
|
|
12809
|
-
function
|
|
12819
|
+
function T_(e) {
|
|
12810
12820
|
const {
|
|
12811
12821
|
lastTrackedPage: t,
|
|
12812
12822
|
currentPage: n,
|
|
@@ -12956,7 +12966,7 @@ function kl({ user: e }) {
|
|
|
12956
12966
|
};
|
|
12957
12967
|
return /* @__PURE__ */ a.html("table", null, /* @__PURE__ */ a.html("thead", null, /* @__PURE__ */ a.html("tr", null, /* @__PURE__ */ a.html("th", null, "Property"), /* @__PURE__ */ a.html("th", null, "Value"))), /* @__PURE__ */ a.html("tbody", null, n.sort(r).map((i) => /* @__PURE__ */ a.html("tr", null, /* @__PURE__ */ a.html("td", null, i.name), /* @__PURE__ */ a.html("td", null, JSON.stringify(i.value))))));
|
|
12958
12968
|
}
|
|
12959
|
-
const
|
|
12969
|
+
const C_ = "/generic/main/7.17.3/debugger.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css", __ = "sha256-LMjol9lu4iFfr9P6lIri9GX+onG7x+pqiR+EzoaK2sU=", I_ = Vt(C_), So = Qn(
|
|
12960
12970
|
[
|
|
12961
12971
|
nr,
|
|
12962
12972
|
tr,
|
|
@@ -12970,7 +12980,7 @@ const T_ = "/generic/main/7.17.0/debugger.1abb4cabde29d8c941c5030c6c9e6556326c22
|
|
|
12970
12980
|
})
|
|
12971
12981
|
);
|
|
12972
12982
|
let on = null;
|
|
12973
|
-
const
|
|
12983
|
+
const A_ = (e) => {
|
|
12974
12984
|
const t = Lr(e) || {}, n = Ni(e);
|
|
12975
12985
|
return Object.keys(n || {}).reduce(
|
|
12976
12986
|
(r, i) => {
|
|
@@ -12985,8 +12995,8 @@ const I_ = (e) => {
|
|
|
12985
12995
|
},
|
|
12986
12996
|
{}
|
|
12987
12997
|
);
|
|
12988
|
-
},
|
|
12989
|
-
|
|
12998
|
+
}, v_ = (e, t) => /* @__PURE__ */ a.html(
|
|
12999
|
+
T_,
|
|
12990
13000
|
{
|
|
12991
13001
|
lastTrackedPage: ka(e),
|
|
12992
13002
|
currentPage: Na(e),
|
|
@@ -12995,7 +13005,7 @@ const I_ = (e) => {
|
|
|
12995
13005
|
currentStepId: ce(e),
|
|
12996
13006
|
currentStepChildId: ct(e),
|
|
12997
13007
|
currentContentStatus: Ve(e),
|
|
12998
|
-
stepChildErrors:
|
|
13008
|
+
stepChildErrors: A_(e),
|
|
12999
13009
|
user: be(e),
|
|
13000
13010
|
group: vf(e),
|
|
13001
13011
|
settings: Nf(e),
|
|
@@ -13006,7 +13016,7 @@ const I_ = (e) => {
|
|
|
13006
13016
|
onCloseDebugger: t.onCloseDebugger
|
|
13007
13017
|
}
|
|
13008
13018
|
);
|
|
13009
|
-
function
|
|
13019
|
+
function b_(e) {
|
|
13010
13020
|
if (vr(document)) {
|
|
13011
13021
|
const t = e.views.callbacks[z.DEBUGGER], n = wa(e), r = n && n.isCollapsed;
|
|
13012
13022
|
if (!on) {
|
|
@@ -13027,24 +13037,24 @@ function v_(e) {
|
|
|
13027
13037
|
/* @__PURE__ */ a.html(
|
|
13028
13038
|
"link",
|
|
13029
13039
|
{
|
|
13030
|
-
"attrs-href":
|
|
13040
|
+
"attrs-href": I_,
|
|
13031
13041
|
"attrs-type": "text/css",
|
|
13032
13042
|
"attrs-rel": "stylesheet",
|
|
13033
|
-
"attrs-integrity":
|
|
13043
|
+
"attrs-integrity": __,
|
|
13034
13044
|
"attrs-crossorigin": "anonymous"
|
|
13035
13045
|
}
|
|
13036
13046
|
),
|
|
13037
|
-
|
|
13047
|
+
v_(e, t)
|
|
13038
13048
|
))
|
|
13039
13049
|
) : on && (on = So(on, /* @__PURE__ */ a.html("div", null)));
|
|
13040
13050
|
}
|
|
13041
13051
|
}
|
|
13042
|
-
const
|
|
13052
|
+
const w_ = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", N_ = (e) => {
|
|
13043
13053
|
const { testModeCallbacks: t } = e;
|
|
13044
13054
|
return /* @__PURE__ */ a.html("div", { "class-banner-wrapper": !0 }, /* @__PURE__ */ a.html("div", { "class-banner-background": !0 }, /* @__PURE__ */ a.html("div", { "class-banner-content": !0 }, /* @__PURE__ */ a.html("span", { "class-banner-header": !0 }, "Appcues Test Mode"), /* @__PURE__ */ a.html(
|
|
13045
13055
|
"a",
|
|
13046
13056
|
{
|
|
13047
|
-
href:
|
|
13057
|
+
href: w_,
|
|
13048
13058
|
"class-clickable": !0,
|
|
13049
13059
|
"class-doc-link": !0,
|
|
13050
13060
|
target: "_blank",
|
|
@@ -13060,7 +13070,7 @@ const b_ = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", w_ = (
|
|
|
13060
13070
|
},
|
|
13061
13071
|
"Restart"
|
|
13062
13072
|
), /* @__PURE__ */ a.html("div", { "class-clickable": !0, "on-click": t.onCancelClicked }, "End Test"))));
|
|
13063
|
-
},
|
|
13073
|
+
}, k_ = "/generic/main/7.17.3/test-mode.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css", O_ = "sha256-nd0yl8XfotWCT+9jaAUZdIayDPvnbBNhrvbhzXcWLNs=", R_ = Vt(k_), To = Qn(
|
|
13064
13074
|
[
|
|
13065
13075
|
nr,
|
|
13066
13076
|
tr,
|
|
@@ -13074,7 +13084,7 @@ const b_ = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", w_ = (
|
|
|
13074
13084
|
})
|
|
13075
13085
|
);
|
|
13076
13086
|
let sn = null;
|
|
13077
|
-
function
|
|
13087
|
+
function L_(e) {
|
|
13078
13088
|
if (vr(document)) {
|
|
13079
13089
|
const t = e.views && e.views.callbacks && e.views.callbacks[z.TEST_MODE], { _testContentId: n } = e.user || {}, r = n, i = e.test && e.test.cssLoaded;
|
|
13080
13090
|
if (!sn) {
|
|
@@ -13102,59 +13112,59 @@ function R_(e) {
|
|
|
13102
13112
|
/* @__PURE__ */ a.html(
|
|
13103
13113
|
"link",
|
|
13104
13114
|
{
|
|
13105
|
-
"attrs-href":
|
|
13106
|
-
"attrs-integrity":
|
|
13115
|
+
"attrs-href": R_,
|
|
13116
|
+
"attrs-integrity": O_,
|
|
13107
13117
|
"attrs-crossorigin": "anonymous",
|
|
13108
13118
|
"attrs-type": "text/css",
|
|
13109
13119
|
"attrs-rel": "stylesheet",
|
|
13110
13120
|
"on-load": t.onCssLoaded
|
|
13111
13121
|
}
|
|
13112
13122
|
),
|
|
13113
|
-
i ? /* @__PURE__ */ a.html(
|
|
13123
|
+
i ? /* @__PURE__ */ a.html(N_, { testModeCallbacks: t }) : /* @__PURE__ */ a.html(ae, null)
|
|
13114
13124
|
)
|
|
13115
13125
|
))
|
|
13116
13126
|
) : sn && (sn = To(sn, /* @__PURE__ */ a.html("div", null)));
|
|
13117
13127
|
}
|
|
13118
13128
|
}
|
|
13119
|
-
function
|
|
13129
|
+
function x_(e) {
|
|
13120
13130
|
return {
|
|
13121
13131
|
onToggleRowDetails(t) {
|
|
13122
|
-
e(
|
|
13132
|
+
e(hT(t));
|
|
13123
13133
|
},
|
|
13124
13134
|
onToggleCollapsed() {
|
|
13125
|
-
e(
|
|
13135
|
+
e(mT());
|
|
13126
13136
|
},
|
|
13127
13137
|
onCloseDebugger() {
|
|
13128
13138
|
e(Mu());
|
|
13129
13139
|
}
|
|
13130
13140
|
};
|
|
13131
13141
|
}
|
|
13132
|
-
function*
|
|
13142
|
+
function* P_() {
|
|
13133
13143
|
if ((yield v(Xn)) === z.MODAL && (yield v(Ve)) === te.STARTED) {
|
|
13134
13144
|
const e = yield v(nt);
|
|
13135
|
-
(yield E(ed, e)) && (yield g(Tu(document.activeElement)), yield g(
|
|
13145
|
+
(yield E(ed, e)) && (yield g(Tu(document.activeElement)), yield g(Ly()));
|
|
13136
13146
|
}
|
|
13137
13147
|
}
|
|
13138
|
-
function*
|
|
13139
|
-
yield F(ee, $.START_CONTENT,
|
|
13148
|
+
function* D_() {
|
|
13149
|
+
yield F(ee, $.START_CONTENT, P_);
|
|
13140
13150
|
}
|
|
13141
13151
|
function* Ms(e, t) {
|
|
13142
|
-
yield E(
|
|
13152
|
+
yield E(UT, t), yield g(
|
|
13143
13153
|
se(
|
|
13144
13154
|
pt(K.CHILD_RUN, e, t)
|
|
13145
13155
|
)
|
|
13146
|
-
), yield g(
|
|
13156
|
+
), yield g(Wy([t]));
|
|
13147
13157
|
}
|
|
13148
|
-
function*
|
|
13158
|
+
function* F_() {
|
|
13149
13159
|
if ((yield v(Xn)) === z.HOTSPOTS && (yield v(Ve)) === te.STARTED) {
|
|
13150
13160
|
const e = yield v(ye), t = wn(e);
|
|
13151
|
-
t.length > 0 ? (yield E(ed, t)) && (yield g(Tu(document.activeElement)), yield g(
|
|
13161
|
+
t.length > 0 ? (yield E(ed, t)) && (yield g(Tu(document.activeElement)), yield g(By()), yield g(qy()), Yn(e) && (yield* Ms(e.id, t[0].id))) : yield E(
|
|
13152
13162
|
Ls,
|
|
13153
13163
|
new Error("Trying to show an empty list of hotspots.")
|
|
13154
13164
|
);
|
|
13155
13165
|
}
|
|
13156
13166
|
}
|
|
13157
|
-
function*
|
|
13167
|
+
function* U_({ payload: e }) {
|
|
13158
13168
|
if ((yield v(Xn)) === z.HOTSPOTS) {
|
|
13159
13169
|
const n = (yield v(nt)).reduce((r, i) => {
|
|
13160
13170
|
let o = e[i.id];
|
|
@@ -13192,10 +13202,10 @@ function* F_({ payload: e }) {
|
|
|
13192
13202
|
}
|
|
13193
13203
|
return r[i.id] = o, r;
|
|
13194
13204
|
}, {});
|
|
13195
|
-
yield g(
|
|
13205
|
+
yield g(Ky(n)), yield E(DT);
|
|
13196
13206
|
}
|
|
13197
13207
|
}
|
|
13198
|
-
function*
|
|
13208
|
+
function* H_() {
|
|
13199
13209
|
yield E(ve, 1e4);
|
|
13200
13210
|
const e = yield* Mt();
|
|
13201
13211
|
e && (delete e.navByADTT, yield* wt(e));
|
|
@@ -13218,7 +13228,7 @@ function* dd({ payload: e }) {
|
|
|
13218
13228
|
)
|
|
13219
13229
|
));
|
|
13220
13230
|
}
|
|
13221
|
-
function*
|
|
13231
|
+
function* M_(e) {
|
|
13222
13232
|
const { contentType: t, step: n, childId: r, nextChildId: i, shouldEndFlow: o } = e.payload;
|
|
13223
13233
|
if (t === z.SEQUENTIAL_HOTSPOTS)
|
|
13224
13234
|
if (yield g(bs([r])), yield g(
|
|
@@ -13243,7 +13253,7 @@ function* H_(e) {
|
|
|
13243
13253
|
)
|
|
13244
13254
|
), ya(n, gn(n, r))) {
|
|
13245
13255
|
const s = yield* Mt();
|
|
13246
|
-
yield* wt({ ...s, navByADTT: !0 }), yield F(
|
|
13256
|
+
yield* wt({ ...s, navByADTT: !0 }), yield F(H_);
|
|
13247
13257
|
}
|
|
13248
13258
|
yield E(
|
|
13249
13259
|
dd,
|
|
@@ -13280,7 +13290,7 @@ function* fd({
|
|
|
13280
13290
|
)
|
|
13281
13291
|
), yield* Ms(e, n);
|
|
13282
13292
|
}
|
|
13283
|
-
function*
|
|
13293
|
+
function* $_(e) {
|
|
13284
13294
|
const { step: t, stepChildId: n } = e.payload, r = yield v(
|
|
13285
13295
|
ls,
|
|
13286
13296
|
n
|
|
@@ -13291,7 +13301,7 @@ function* M_(e) {
|
|
|
13291
13301
|
nextStepChildId: r
|
|
13292
13302
|
}));
|
|
13293
13303
|
}
|
|
13294
|
-
function*
|
|
13304
|
+
function* B_(e) {
|
|
13295
13305
|
const { stepId: t, currentStepChildId: n, nextStepChildIndex: r } = e.payload, i = yield v(
|
|
13296
13306
|
wi,
|
|
13297
13307
|
r
|
|
@@ -13308,35 +13318,35 @@ function* $_(e) {
|
|
|
13308
13318
|
nextStepChildId: i
|
|
13309
13319
|
});
|
|
13310
13320
|
}
|
|
13311
|
-
function*
|
|
13321
|
+
function* V_() {
|
|
13312
13322
|
yield [
|
|
13313
|
-
F(ee, $.START_CONTENT,
|
|
13323
|
+
F(ee, $.START_CONTENT, F_),
|
|
13314
13324
|
F(
|
|
13315
13325
|
ee,
|
|
13316
13326
|
me.START_HANDLE_POSITION_UPDATES,
|
|
13317
|
-
|
|
13327
|
+
U_
|
|
13318
13328
|
),
|
|
13319
13329
|
F(
|
|
13320
13330
|
ee,
|
|
13321
13331
|
le.ADVANCE_STEP_CHILD,
|
|
13322
|
-
|
|
13332
|
+
M_
|
|
13323
13333
|
),
|
|
13324
13334
|
F(ee, Yt.CLOSE_LAST_HOTSPOT, dd),
|
|
13325
13335
|
F(
|
|
13326
13336
|
ee,
|
|
13327
13337
|
le.RUN_PREV_STEP_CHILD,
|
|
13328
|
-
|
|
13338
|
+
$_
|
|
13329
13339
|
),
|
|
13330
|
-
F(ee, me.GO_TO_STEP,
|
|
13340
|
+
F(ee, me.GO_TO_STEP, B_)
|
|
13331
13341
|
];
|
|
13332
13342
|
}
|
|
13333
|
-
function*
|
|
13343
|
+
function* W_() {
|
|
13334
13344
|
for (; ; ) {
|
|
13335
13345
|
const e = window.location.href;
|
|
13336
|
-
(yield v(Na)) !== e && (yield g(
|
|
13346
|
+
(yield v(Na)) !== e && (yield g(ET(e))), yield E(No, 1e3);
|
|
13337
13347
|
}
|
|
13338
13348
|
}
|
|
13339
|
-
function*
|
|
13349
|
+
function* G_(e) {
|
|
13340
13350
|
let t = null;
|
|
13341
13351
|
if (e.payload.events.forEach((n) => {
|
|
13342
13352
|
n.name === An.PAGE_VIEW && (t = n);
|
|
@@ -13345,13 +13355,13 @@ function* W_(e) {
|
|
|
13345
13355
|
n !== r && (yield g(Hu(n)), yield E(He, "localStorage", Fl, n));
|
|
13346
13356
|
}
|
|
13347
13357
|
}
|
|
13348
|
-
function*
|
|
13358
|
+
function* j_(e) {
|
|
13349
13359
|
if (e.error) {
|
|
13350
13360
|
const n = (e.payload && e.payload.extra ? e.payload.extra.id : null) || (yield v(ce));
|
|
13351
|
-
yield g(
|
|
13361
|
+
yield g(gT(n, e.payload.message));
|
|
13352
13362
|
}
|
|
13353
13363
|
}
|
|
13354
|
-
function*
|
|
13364
|
+
function* q_(e) {
|
|
13355
13365
|
const t = Object.keys(e.payload).filter(
|
|
13356
13366
|
(n) => e.payload[n].error
|
|
13357
13367
|
);
|
|
@@ -13359,35 +13369,35 @@ function* j_(e) {
|
|
|
13359
13369
|
const n = yield v(ce);
|
|
13360
13370
|
for (const r of t)
|
|
13361
13371
|
yield g(
|
|
13362
|
-
|
|
13372
|
+
yT(n, r, e.payload[r].errorMessage)
|
|
13363
13373
|
);
|
|
13364
13374
|
}
|
|
13365
13375
|
}
|
|
13366
|
-
function*
|
|
13376
|
+
function* K_() {
|
|
13367
13377
|
for (; ; ) {
|
|
13368
13378
|
(yield E(Le, "localStorage", Yi)) || (yield W($.START_DEBUG)), yield E(He, "localStorage", Yi, !0);
|
|
13369
13379
|
const t = yield E(Le, "localStorage", Fl);
|
|
13370
13380
|
yield g(Hu(t));
|
|
13371
|
-
const n = yield dt(
|
|
13381
|
+
const n = yield dt(W_), r = yield F(
|
|
13372
13382
|
ee,
|
|
13373
13383
|
[$.START_ACTIVITY, $.START_IDENTIFY],
|
|
13374
|
-
|
|
13384
|
+
G_
|
|
13375
13385
|
), i = yield F(
|
|
13376
13386
|
ee,
|
|
13377
13387
|
U.WILL_SHOW_CONTENT,
|
|
13378
|
-
|
|
13388
|
+
j_
|
|
13379
13389
|
), o = yield F(
|
|
13380
13390
|
ee,
|
|
13381
13391
|
me.SET_ANNOTATIONS_POSITIONS,
|
|
13382
|
-
|
|
13392
|
+
q_
|
|
13383
13393
|
);
|
|
13384
13394
|
yield W(Ge.CLOSE_DEBUGGER), yield st(n), yield st(r), yield st(i), yield st(o), yield E(De, "localStorage", Yi);
|
|
13385
13395
|
}
|
|
13386
13396
|
}
|
|
13387
|
-
function*
|
|
13388
|
-
yield F(
|
|
13397
|
+
function* Y_() {
|
|
13398
|
+
yield F(K_);
|
|
13389
13399
|
}
|
|
13390
|
-
function*
|
|
13400
|
+
function* z_({ payload: e }) {
|
|
13391
13401
|
switch (yield g(
|
|
13392
13402
|
// This should probably have been named STEP_STARTED instead of STEP_SHOWN.
|
|
13393
13403
|
se(
|
|
@@ -13429,7 +13439,7 @@ function* Y_({ payload: e }) {
|
|
|
13429
13439
|
yield g(Gn(new Error("Unknown step type.")));
|
|
13430
13440
|
}
|
|
13431
13441
|
}
|
|
13432
|
-
function*
|
|
13442
|
+
function* X_({ payload: { action: e, status: t } }) {
|
|
13433
13443
|
switch (e.attributes.action_type) {
|
|
13434
13444
|
case Tt.WAIT_FOR_PAGE: {
|
|
13435
13445
|
const n = window.location.href, { url: r } = e.attributes.params, i = yield* Mt(), o = yield v(os), s = St(
|
|
@@ -13473,7 +13483,7 @@ function* pd(e, t) {
|
|
|
13473
13483
|
const n = window.location.href;
|
|
13474
13484
|
St(e, n) ? t && (yield E(t)) : (yield E(ve, 500), yield E(pd, e, t));
|
|
13475
13485
|
}
|
|
13476
|
-
function*
|
|
13486
|
+
function* J_({
|
|
13477
13487
|
payload: { action: e, checklistId: t, itemId: n, actionIndex: r }
|
|
13478
13488
|
}) {
|
|
13479
13489
|
switch (e.attributes.action_type) {
|
|
@@ -13536,22 +13546,22 @@ function* X_({
|
|
|
13536
13546
|
}
|
|
13537
13547
|
}
|
|
13538
13548
|
}
|
|
13539
|
-
function*
|
|
13549
|
+
function* Q_() {
|
|
13540
13550
|
yield [
|
|
13541
|
-
F(ee, U.RUN_ACTION,
|
|
13542
|
-
F(ee, U.RESUME_ACTION,
|
|
13551
|
+
F(ee, U.RUN_ACTION, z_),
|
|
13552
|
+
F(ee, U.RESUME_ACTION, X_),
|
|
13543
13553
|
F(
|
|
13544
13554
|
ee,
|
|
13545
13555
|
re.START_CHECKLIST_ACTION,
|
|
13546
|
-
|
|
13556
|
+
J_
|
|
13547
13557
|
)
|
|
13548
13558
|
];
|
|
13549
13559
|
}
|
|
13550
|
-
const
|
|
13551
|
-
function*
|
|
13552
|
-
(yield v(Xn)) === z.SATISFACTION_SURVEY && (yield v(Ve)) === te.STARTED && (yield g(
|
|
13560
|
+
const Z_ = 500, eI = 5e3;
|
|
13561
|
+
function* tI() {
|
|
13562
|
+
(yield v(Xn)) === z.SATISFACTION_SURVEY && (yield v(Ve)) === te.STARTED && (yield g(nS()));
|
|
13553
13563
|
}
|
|
13554
|
-
function*
|
|
13564
|
+
function* nI(e) {
|
|
13555
13565
|
const { score: t } = e.payload, n = yield v(rt), r = yield v(Rt), o = mt(n, r, {
|
|
13556
13566
|
score: t,
|
|
13557
13567
|
name: "NPS Score",
|
|
@@ -13568,7 +13578,7 @@ function* tI(e) {
|
|
|
13568
13578
|
)
|
|
13569
13579
|
);
|
|
13570
13580
|
}
|
|
13571
|
-
function*
|
|
13581
|
+
function* rI(e) {
|
|
13572
13582
|
const { feedback: t } = e.payload, n = yield v(rt), r = yield v(Rt), i = mt(n, r, {
|
|
13573
13583
|
feedback: t,
|
|
13574
13584
|
name: "NPS Feedback",
|
|
@@ -13585,7 +13595,7 @@ function* nI(e) {
|
|
|
13585
13595
|
)
|
|
13586
13596
|
);
|
|
13587
13597
|
}
|
|
13588
|
-
function*
|
|
13598
|
+
function* iI() {
|
|
13589
13599
|
const e = {}, t = `${Mn}ClickedUpdateNPSScore`;
|
|
13590
13600
|
e[t] = Date.now();
|
|
13591
13601
|
const n = yield v(rt), r = yield v(Rt), i = mt(n, r, {
|
|
@@ -13595,7 +13605,7 @@ function* rI() {
|
|
|
13595
13605
|
});
|
|
13596
13606
|
yield g(Ue(i.flowId, i)), yield g(we(e, [Be(i)], !1));
|
|
13597
13607
|
}
|
|
13598
|
-
function*
|
|
13608
|
+
function* oI() {
|
|
13599
13609
|
const e = {}, t = `${Mn}AskMeLaterSelectedAt`;
|
|
13600
13610
|
e[t] = Date.now();
|
|
13601
13611
|
const n = yield v(rt), r = yield v(Rt), i = mt(n, r, {
|
|
@@ -13605,37 +13615,37 @@ function* iI() {
|
|
|
13605
13615
|
});
|
|
13606
13616
|
yield g(Ue(i.flowId, i)), yield g(we(e, [Be(i)], !1));
|
|
13607
13617
|
}
|
|
13608
|
-
function* oI() {
|
|
13609
|
-
yield g(vu()), yield No(Q_), yield g(bu()), yield No(Z_), yield g(wu());
|
|
13610
|
-
}
|
|
13611
13618
|
function* sI() {
|
|
13619
|
+
yield g(vu()), yield No(Z_), yield g(bu()), yield No(eI), yield g(wu());
|
|
13620
|
+
}
|
|
13621
|
+
function* cI() {
|
|
13612
13622
|
yield [
|
|
13613
13623
|
F(
|
|
13614
13624
|
ee,
|
|
13615
13625
|
Ae.QUANTITATIVE_QUESTION_SUBMITTED,
|
|
13616
|
-
|
|
13626
|
+
nI
|
|
13617
13627
|
),
|
|
13618
13628
|
F(
|
|
13619
13629
|
ee,
|
|
13620
13630
|
Ae.QUALITATIVE_QUESTION_SUBMITTED,
|
|
13621
|
-
|
|
13631
|
+
rI
|
|
13622
13632
|
),
|
|
13623
13633
|
F(
|
|
13624
13634
|
ee,
|
|
13625
13635
|
Ae.ASK_ME_LATER_SELECTED,
|
|
13626
|
-
|
|
13636
|
+
oI
|
|
13627
13637
|
),
|
|
13628
13638
|
F(
|
|
13629
13639
|
ee,
|
|
13630
13640
|
Ae.CLICKED_UPDATE_NPS_SCORE,
|
|
13631
|
-
|
|
13641
|
+
iI
|
|
13632
13642
|
),
|
|
13633
13643
|
F(
|
|
13634
13644
|
ee,
|
|
13635
13645
|
Ae.START_COLLAPSING_SATISFACTION_SURVEY,
|
|
13636
|
-
|
|
13646
|
+
sI
|
|
13637
13647
|
),
|
|
13638
|
-
F(ee, $.START_CONTENT,
|
|
13648
|
+
F(ee, $.START_CONTENT, tI)
|
|
13639
13649
|
];
|
|
13640
13650
|
}
|
|
13641
13651
|
function* Go(e) {
|
|
@@ -13645,7 +13655,7 @@ function* Go(e) {
|
|
|
13645
13655
|
const t = yield v(ye);
|
|
13646
13656
|
yield t && t.type !== z.HOTSPOTS ? g($i()) : g(Cn(e.id, te.SHOWING)), (e.attributes && e.attributes.progress_state) !== Ln.COMPLETED && (yield g(hn(e.id)));
|
|
13647
13657
|
}
|
|
13648
|
-
function*
|
|
13658
|
+
function* lI({ payload: e }) {
|
|
13649
13659
|
const { open_behavior: t } = e;
|
|
13650
13660
|
switch (t) {
|
|
13651
13661
|
case zi.CLOSED: {
|
|
@@ -13664,24 +13674,24 @@ function* cI({ payload: e }) {
|
|
|
13664
13674
|
}
|
|
13665
13675
|
}
|
|
13666
13676
|
}
|
|
13667
|
-
function*
|
|
13677
|
+
function* aI({ payload: e }) {
|
|
13668
13678
|
yield E(Go, e), yield E(ve, 1e3), yield g(Hr(e.id)), yield g(Ru(e));
|
|
13669
13679
|
}
|
|
13670
|
-
function*
|
|
13680
|
+
function* uI(e) {
|
|
13671
13681
|
const { checklist: t } = e.payload, n = yield v(Rt), r = DE(t, n);
|
|
13672
13682
|
yield g(Ue(t.id, r)), yield g(we(null, [Be(r)], !1));
|
|
13673
13683
|
}
|
|
13674
|
-
function*
|
|
13684
|
+
function* dI(e) {
|
|
13675
13685
|
const { checklistId: t, didCompleteChecklist: n } = e.payload, r = yield v(Rt), i = yield v(Tn, t);
|
|
13676
13686
|
yield g(Cn(i.id, te.DISMISSED));
|
|
13677
13687
|
const o = n ? HE(i, r) : UE(i, r);
|
|
13678
13688
|
yield g(Ue(o.checklistId, o)), yield g(we({}, [Be(o)], !1));
|
|
13679
13689
|
}
|
|
13680
|
-
function*
|
|
13690
|
+
function* fI() {
|
|
13681
13691
|
const { userId: e } = yield v(be);
|
|
13682
13692
|
yield g(or(e, { _showChecklist: null }));
|
|
13683
13693
|
}
|
|
13684
|
-
function*
|
|
13694
|
+
function* pI(e) {
|
|
13685
13695
|
const { checklistId: t, itemId: n, actionIndex: r } = e.payload;
|
|
13686
13696
|
yield g(hn(t));
|
|
13687
13697
|
const i = yield v(Rt);
|
|
@@ -13706,17 +13716,17 @@ function* fI(e) {
|
|
|
13706
13716
|
yield g(Ue(c.checklistId, c)), yield g(we({}, [Be(c)], !1));
|
|
13707
13717
|
}
|
|
13708
13718
|
for (let c = r; c < s.actions.length; c++)
|
|
13709
|
-
yield g(
|
|
13719
|
+
yield g(mS(s.actions[c], t, n, c)), yield W(
|
|
13710
13720
|
({ type: l, payload: u }) => l === re.COMPLETED_CHECKLIST_ACTION && u.itemId === n
|
|
13711
13721
|
);
|
|
13712
13722
|
}
|
|
13713
|
-
function*
|
|
13723
|
+
function* hI() {
|
|
13714
13724
|
const e = yield v(Sn);
|
|
13715
13725
|
e.length > 0 && (yield ht(
|
|
13716
13726
|
e.filter((t) => _o.includes(t.status)).map((t) => g(Cn(t.id, te.HIDING)))
|
|
13717
13727
|
));
|
|
13718
13728
|
}
|
|
13719
|
-
function*
|
|
13729
|
+
function* mI() {
|
|
13720
13730
|
const e = yield v(
|
|
13721
13731
|
us,
|
|
13722
13732
|
te.HIDING
|
|
@@ -13729,56 +13739,56 @@ function* hI() {
|
|
|
13729
13739
|
Cn(e[0].id, te.SHOWING)
|
|
13730
13740
|
), e[0].shouldTryExpandChecklist && (yield g(Hr(e[0].id)), yield g(Nu(e[0].id, !1))));
|
|
13731
13741
|
}
|
|
13732
|
-
function*
|
|
13742
|
+
function* EI() {
|
|
13733
13743
|
yield [
|
|
13734
|
-
F(ee, re.START_CHECKLIST,
|
|
13735
|
-
F(ee, re.HIDE_CHECKLISTS,
|
|
13744
|
+
F(ee, re.START_CHECKLIST, lI),
|
|
13745
|
+
F(ee, re.HIDE_CHECKLISTS, hI),
|
|
13736
13746
|
F(
|
|
13737
13747
|
ee,
|
|
13738
13748
|
re.UNHIDE_CHECKLISTS,
|
|
13739
|
-
|
|
13749
|
+
mI
|
|
13740
13750
|
),
|
|
13741
13751
|
F(
|
|
13742
13752
|
ee,
|
|
13743
13753
|
re.ANIMATE_IN_CHECKLIST,
|
|
13744
|
-
|
|
13754
|
+
aI
|
|
13745
13755
|
),
|
|
13746
13756
|
F(
|
|
13747
13757
|
ee,
|
|
13748
13758
|
re.CONFIRM_DISMISS_CHECKLIST,
|
|
13749
|
-
|
|
13759
|
+
dI
|
|
13750
13760
|
),
|
|
13751
13761
|
F(
|
|
13752
13762
|
et,
|
|
13753
13763
|
re.START_CHECKLIST_ITEM,
|
|
13754
|
-
|
|
13764
|
+
pI
|
|
13755
13765
|
),
|
|
13756
13766
|
F(
|
|
13757
13767
|
et,
|
|
13758
13768
|
re.CLEAR_FORCE_SHOWN_CHECKLIST,
|
|
13759
|
-
|
|
13769
|
+
fI
|
|
13760
13770
|
),
|
|
13761
13771
|
F(
|
|
13762
13772
|
ee,
|
|
13763
13773
|
re.SEND_CHECKLIST_SHOWN_EVENT,
|
|
13764
|
-
|
|
13774
|
+
uI
|
|
13765
13775
|
)
|
|
13766
13776
|
];
|
|
13767
13777
|
}
|
|
13768
|
-
function*
|
|
13778
|
+
function* gI({ payload: e }) {
|
|
13769
13779
|
const { type: t, event: n } = e, r = yield v(Rt), i = { ...n, sessionId: r };
|
|
13770
13780
|
yield g(Ue(t, i));
|
|
13771
13781
|
}
|
|
13772
|
-
function*
|
|
13782
|
+
function* yI() {
|
|
13773
13783
|
yield [
|
|
13774
13784
|
F(
|
|
13775
13785
|
ee,
|
|
13776
13786
|
$.START_OPEN_BUILDER_EVENT,
|
|
13777
|
-
|
|
13787
|
+
gI
|
|
13778
13788
|
)
|
|
13779
13789
|
];
|
|
13780
13790
|
}
|
|
13781
|
-
function
|
|
13791
|
+
function SI() {
|
|
13782
13792
|
const e = Le(Ie, un);
|
|
13783
13793
|
let t;
|
|
13784
13794
|
if (e)
|
|
@@ -13797,7 +13807,7 @@ function yI() {
|
|
|
13797
13807
|
}
|
|
13798
13808
|
return {};
|
|
13799
13809
|
}
|
|
13800
|
-
function
|
|
13810
|
+
function TI() {
|
|
13801
13811
|
const e = Le(Ie, un);
|
|
13802
13812
|
let t;
|
|
13803
13813
|
if (e)
|
|
@@ -13812,8 +13822,8 @@ function SI() {
|
|
|
13812
13822
|
}
|
|
13813
13823
|
return window.location.href;
|
|
13814
13824
|
}
|
|
13815
|
-
function*
|
|
13816
|
-
const e =
|
|
13825
|
+
function* CI() {
|
|
13826
|
+
const e = SI();
|
|
13817
13827
|
yield g(Dr(e, !0)), yield E(Ds, e, [], !1);
|
|
13818
13828
|
const t = In(
|
|
13819
13829
|
window.location.href,
|
|
@@ -13821,17 +13831,17 @@ function* TI() {
|
|
|
13821
13831
|
);
|
|
13822
13832
|
yield E(Xt, window, t);
|
|
13823
13833
|
}
|
|
13824
|
-
function*
|
|
13825
|
-
const e =
|
|
13834
|
+
function* _I() {
|
|
13835
|
+
const e = TI();
|
|
13826
13836
|
yield E(Xt, window, e);
|
|
13827
13837
|
}
|
|
13828
|
-
function*
|
|
13838
|
+
function* II() {
|
|
13829
13839
|
yield [
|
|
13830
|
-
F(ee, Un.CANCEL_TEST,
|
|
13831
|
-
F(ee, Un.RESET_TEST,
|
|
13840
|
+
F(ee, Un.CANCEL_TEST, CI),
|
|
13841
|
+
F(ee, Un.RESET_TEST, _I)
|
|
13832
13842
|
];
|
|
13833
13843
|
}
|
|
13834
|
-
function*
|
|
13844
|
+
function* AI(e) {
|
|
13835
13845
|
if (e.checklists && e.checklists.length > 0) {
|
|
13836
13846
|
const t = yield v(Rt), n = [], i = ((yield v(Sn)) || []).reduce((d, f) => ({
|
|
13837
13847
|
...d,
|
|
@@ -13913,7 +13923,7 @@ function* II(e) {
|
|
|
13913
13923
|
} else
|
|
13914
13924
|
yield g(dl([]));
|
|
13915
13925
|
}
|
|
13916
|
-
function*
|
|
13926
|
+
function* vI() {
|
|
13917
13927
|
let e = [], t = {};
|
|
13918
13928
|
const n = /* @__PURE__ */ new Map();
|
|
13919
13929
|
yield Ar(
|
|
@@ -13940,7 +13950,7 @@ function* AI() {
|
|
|
13940
13950
|
type: Ei.LAUNCHPAD_SEARCH_RESPONSE,
|
|
13941
13951
|
payload: h
|
|
13942
13952
|
});
|
|
13943
|
-
} else i === $.START_HANDLE_MESSAGE && (yield F(
|
|
13953
|
+
} else i === $.START_HANDLE_MESSAGE && (yield F(AI, s));
|
|
13944
13954
|
const c = yield v(
|
|
13945
13955
|
os
|
|
13946
13956
|
), l = s.qualification_reason === Ys.EVENT_TRIGGER;
|
|
@@ -14004,7 +14014,7 @@ function* AI() {
|
|
|
14004
14014
|
}
|
|
14005
14015
|
);
|
|
14006
14016
|
}
|
|
14007
|
-
function
|
|
14017
|
+
function bI(e, t, n) {
|
|
14008
14018
|
return t in e ? Object.defineProperty(e, t, {
|
|
14009
14019
|
value: n,
|
|
14010
14020
|
enumerable: !0,
|
|
@@ -14012,22 +14022,22 @@ function vI(e, t, n) {
|
|
|
14012
14022
|
writable: !0
|
|
14013
14023
|
}) : e[t] = n, e;
|
|
14014
14024
|
}
|
|
14015
|
-
function
|
|
14025
|
+
function wI(e) {
|
|
14016
14026
|
for (var t = 1; t < arguments.length; t++) {
|
|
14017
14027
|
var n = arguments[t] != null ? arguments[t] : {}, r = Object.keys(n);
|
|
14018
14028
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
|
|
14019
14029
|
return Object.getOwnPropertyDescriptor(n, i).enumerable;
|
|
14020
14030
|
}))), r.forEach(function(i) {
|
|
14021
|
-
|
|
14031
|
+
bI(e, i, n[i]);
|
|
14022
14032
|
});
|
|
14023
14033
|
}
|
|
14024
14034
|
return e;
|
|
14025
14035
|
}
|
|
14026
|
-
var hd = "appcues:checklist_ready", md = "appcues:checklist_close", Gi = "appcues:toggle_checklist", ji = "appcues:confirm_checklist_ready",
|
|
14036
|
+
var hd = "appcues:checklist_ready", md = "appcues:checklist_close", Gi = "appcues:toggle_checklist", ji = "appcues:confirm_checklist_ready", NI = "appcues:launchpad_close", kI = "appcues:launchpad_search", OI = "appcues:launchpad_search_error", RI = "appcues:launchpad_search_response", Vr = function(e, t) {
|
|
14027
14037
|
return window.addEventListener(e, t), function() {
|
|
14028
14038
|
return window.removeEventListener(e, t);
|
|
14029
14039
|
};
|
|
14030
|
-
},
|
|
14040
|
+
}, LI = function(e) {
|
|
14031
14041
|
var t = e.name, n = e.id, r = e.totalItems, i = e.completedItems, o = new CustomEvent(hd, {
|
|
14032
14042
|
detail: {
|
|
14033
14043
|
name: t,
|
|
@@ -14037,14 +14047,14 @@ var hd = "appcues:checklist_ready", md = "appcues:checklist_close", Gi = "appcue
|
|
|
14037
14047
|
}
|
|
14038
14048
|
});
|
|
14039
14049
|
window.dispatchEvent(o);
|
|
14040
|
-
},
|
|
14050
|
+
}, mA = function(e) {
|
|
14041
14051
|
return Vr(hd, e);
|
|
14042
|
-
},
|
|
14052
|
+
}, xI = function() {
|
|
14043
14053
|
var e = new CustomEvent(md);
|
|
14044
14054
|
window.dispatchEvent(e);
|
|
14045
|
-
},
|
|
14055
|
+
}, EA = function(e) {
|
|
14046
14056
|
return Vr(md, e);
|
|
14047
|
-
},
|
|
14057
|
+
}, gA = function() {
|
|
14048
14058
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n = new CustomEvent(Gi, {
|
|
14049
14059
|
detail: {
|
|
14050
14060
|
checklistId: e,
|
|
@@ -14052,25 +14062,25 @@ var hd = "appcues:checklist_ready", md = "appcues:checklist_close", Gi = "appcue
|
|
|
14052
14062
|
}
|
|
14053
14063
|
});
|
|
14054
14064
|
window.dispatchEvent(n);
|
|
14055
|
-
},
|
|
14065
|
+
}, PI = function(e) {
|
|
14056
14066
|
return Vr(Gi, e);
|
|
14057
|
-
},
|
|
14067
|
+
}, yA = function() {
|
|
14058
14068
|
var e = new CustomEvent(ji);
|
|
14059
14069
|
window.dispatchEvent(e);
|
|
14060
|
-
},
|
|
14070
|
+
}, DI = function(e) {
|
|
14061
14071
|
return Vr(ji, e);
|
|
14062
|
-
},
|
|
14063
|
-
var e = new CustomEvent(
|
|
14072
|
+
}, FI = function() {
|
|
14073
|
+
var e = new CustomEvent(NI);
|
|
14064
14074
|
window.dispatchEvent(e);
|
|
14065
|
-
},
|
|
14066
|
-
return Vr(
|
|
14067
|
-
},
|
|
14068
|
-
var n = new CustomEvent("".concat(
|
|
14069
|
-
detail:
|
|
14075
|
+
}, UI = function(e) {
|
|
14076
|
+
return Vr(kI, e);
|
|
14077
|
+
}, HI = function(e, t) {
|
|
14078
|
+
var n = new CustomEvent("".concat(RI, ":").concat(e), {
|
|
14079
|
+
detail: wI({}, t)
|
|
14070
14080
|
});
|
|
14071
14081
|
window.dispatchEvent(n);
|
|
14072
14082
|
}, Ed = function(e) {
|
|
14073
|
-
var t = new CustomEvent("".concat(
|
|
14083
|
+
var t = new CustomEvent("".concat(OI, ":").concat(e));
|
|
14074
14084
|
window.dispatchEvent(t);
|
|
14075
14085
|
};
|
|
14076
14086
|
function* Ol() {
|
|
@@ -14082,12 +14092,12 @@ const $s = () => {
|
|
|
14082
14092
|
const [e, ...t] = jo;
|
|
14083
14093
|
return jo = t, e;
|
|
14084
14094
|
};
|
|
14085
|
-
function*
|
|
14095
|
+
function* MI() {
|
|
14086
14096
|
(yield E(Wi)) || (yield W(U.INITIALIZE));
|
|
14087
14097
|
const t = yield v(be);
|
|
14088
14098
|
ne.defined(t.userId) || (yield W(U.COMPLETED_IDENTIFY));
|
|
14089
14099
|
let n = yield E(Ol);
|
|
14090
|
-
const r = Or((i) => (
|
|
14100
|
+
const r = Or((i) => (UI((o) => {
|
|
14091
14101
|
const { experienceId: s, integrationId: c, query: l } = o.detail;
|
|
14092
14102
|
jo.push(s), i({
|
|
14093
14103
|
type: vo,
|
|
@@ -14108,36 +14118,36 @@ function* HI() {
|
|
|
14108
14118
|
Br.UserActivity
|
|
14109
14119
|
); ; ) {
|
|
14110
14120
|
const { data: i } = yield W(r);
|
|
14111
|
-
n = yield E(Ol), yield E(
|
|
14121
|
+
n = yield E(Ol), yield E(WS, n, vo, i);
|
|
14112
14122
|
}
|
|
14113
14123
|
}
|
|
14114
|
-
function
|
|
14124
|
+
function $I({ payload: e }) {
|
|
14115
14125
|
const t = $s();
|
|
14116
|
-
|
|
14126
|
+
HI(t, e);
|
|
14117
14127
|
}
|
|
14118
|
-
function
|
|
14128
|
+
function BI() {
|
|
14119
14129
|
const e = $s();
|
|
14120
14130
|
Ed(e);
|
|
14121
14131
|
}
|
|
14122
|
-
function*
|
|
14132
|
+
function* VI() {
|
|
14123
14133
|
yield [
|
|
14124
|
-
dt(
|
|
14134
|
+
dt(MI),
|
|
14125
14135
|
F(
|
|
14126
14136
|
et,
|
|
14127
14137
|
Ei.LAUNCHPAD_SEARCH_RESPONSE,
|
|
14128
|
-
|
|
14138
|
+
$I
|
|
14129
14139
|
),
|
|
14130
14140
|
F(
|
|
14131
14141
|
et,
|
|
14132
14142
|
Ei.LAUNCHPAD_SEARCH_ERROR,
|
|
14133
|
-
|
|
14143
|
+
BI
|
|
14134
14144
|
)
|
|
14135
14145
|
];
|
|
14136
14146
|
}
|
|
14137
|
-
const
|
|
14147
|
+
const WI = "v2", GI = (e) => {
|
|
14138
14148
|
const t = window.AppcuesBundleSettings?.ASSETS_PATH, n = {
|
|
14139
14149
|
sendEvent: (r, i) => {
|
|
14140
|
-
const o = `${
|
|
14150
|
+
const o = `${WI}:${r}`, s = { ...i, id: o };
|
|
14141
14151
|
e(am(o, s)), e(we({}, [Be(s)]));
|
|
14142
14152
|
},
|
|
14143
14153
|
sendCustomEvent: (r, i) => {
|
|
@@ -14166,15 +14176,15 @@ const VI = "v2", WI = (e) => {
|
|
|
14166
14176
|
}
|
|
14167
14177
|
};
|
|
14168
14178
|
return window.createAppcues(n);
|
|
14169
|
-
},
|
|
14179
|
+
}, jI = async () => {
|
|
14170
14180
|
{
|
|
14171
|
-
const e = await import("./open-builder.
|
|
14181
|
+
const e = await import("./open-builder.2-hPcUkT.js");
|
|
14172
14182
|
window.createAppcues = e.default;
|
|
14173
14183
|
}
|
|
14174
|
-
return
|
|
14184
|
+
return GI;
|
|
14175
14185
|
};
|
|
14176
|
-
function*
|
|
14177
|
-
const e = yield rf("dispatch"), n = (yield E(
|
|
14186
|
+
function* qI() {
|
|
14187
|
+
const e = yield rf("dispatch"), n = (yield E(jI))(e);
|
|
14178
14188
|
yield g(Hm(n)), yield g($m());
|
|
14179
14189
|
}
|
|
14180
14190
|
function* Wt() {
|
|
@@ -14206,7 +14216,7 @@ function Ci(e) {
|
|
|
14206
14216
|
t[r].push(n);
|
|
14207
14217
|
}), t;
|
|
14208
14218
|
}
|
|
14209
|
-
function*
|
|
14219
|
+
function* KI({ payload: e }) {
|
|
14210
14220
|
const t = yield E(Wt);
|
|
14211
14221
|
let n = e;
|
|
14212
14222
|
const r = n.some(
|
|
@@ -14215,7 +14225,7 @@ function* qI({ payload: e }) {
|
|
|
14215
14225
|
(o) => o.type === "launchpad"
|
|
14216
14226
|
);
|
|
14217
14227
|
if (i) {
|
|
14218
|
-
yield import("./index.
|
|
14228
|
+
yield import("./index.2UbNv10n.js");
|
|
14219
14229
|
const o = yield v(ye);
|
|
14220
14230
|
if (!(o?.type === z.HOTSPOTS) && o) {
|
|
14221
14231
|
const { experiences: c, launchpads: l } = Ci(n);
|
|
@@ -14230,22 +14240,22 @@ function* qI({ payload: e }) {
|
|
|
14230
14240
|
n.map((o) => E(yd, o, t))
|
|
14231
14241
|
);
|
|
14232
14242
|
}
|
|
14233
|
-
function*
|
|
14243
|
+
function* YI() {
|
|
14234
14244
|
const e = yield E(Wt);
|
|
14235
14245
|
e && e.stopAll();
|
|
14236
14246
|
}
|
|
14237
|
-
function*
|
|
14247
|
+
function* zI(e, t) {
|
|
14238
14248
|
yield (yield E(t.isExperiencePaused, e.id)) ? E(gd, { payload: e.id }) : E(yd, e, t);
|
|
14239
14249
|
}
|
|
14240
|
-
function*
|
|
14250
|
+
function* XI() {
|
|
14241
14251
|
const e = yield v(Qf);
|
|
14242
14252
|
if (e.length <= 0) return;
|
|
14243
14253
|
const t = yield E(Wt);
|
|
14244
14254
|
yield ht(
|
|
14245
|
-
e.map((n) => E(
|
|
14255
|
+
e.map((n) => E(zI, n, t))
|
|
14246
14256
|
), yield g(Nr([]));
|
|
14247
14257
|
}
|
|
14248
|
-
function*
|
|
14258
|
+
function* JI() {
|
|
14249
14259
|
const e = yield E(Wt), t = yield E(e.getRunningExperiences), { launchpads: n } = Ci(t);
|
|
14250
14260
|
n.length <= 0 || (yield ht(
|
|
14251
14261
|
n.map(
|
|
@@ -14253,7 +14263,7 @@ function* XI() {
|
|
|
14253
14263
|
)
|
|
14254
14264
|
), yield g(Nr(n)));
|
|
14255
14265
|
}
|
|
14256
|
-
function*
|
|
14266
|
+
function* QI() {
|
|
14257
14267
|
if ((yield v(ye)).type === z.HOTSPOTS) return;
|
|
14258
14268
|
const n = yield E(Wt), r = yield E(n.getRunningExperiences), { launchpads: i } = Ci(r);
|
|
14259
14269
|
i.length <= 0 || (yield ht(
|
|
@@ -14262,19 +14272,19 @@ function* JI() {
|
|
|
14262
14272
|
)
|
|
14263
14273
|
), yield g(Nr(i)));
|
|
14264
14274
|
}
|
|
14265
|
-
function*
|
|
14275
|
+
function* ZI({ payload: e }) {
|
|
14266
14276
|
const { type: t, event: n } = e, r = n.experienceType === $n.NPS || n.experienceType === $n.FLOW, i = Bd.includes(t);
|
|
14267
14277
|
if (r && i) {
|
|
14268
14278
|
const o = yield E(Wt);
|
|
14269
14279
|
yield E(o.stop, n.experienceId), yield g(kr()), yield g(wr());
|
|
14270
14280
|
}
|
|
14271
14281
|
}
|
|
14272
|
-
function*
|
|
14282
|
+
function* eA() {
|
|
14273
14283
|
yield [
|
|
14274
14284
|
F(
|
|
14275
14285
|
et,
|
|
14276
14286
|
U.INITIALIZE_OPEN_BUILDER,
|
|
14277
|
-
|
|
14287
|
+
qI
|
|
14278
14288
|
),
|
|
14279
14289
|
F(ee, Qe.PAUSE_EXPERIENCE, Bs),
|
|
14280
14290
|
F(
|
|
@@ -14285,28 +14295,28 @@ function* ZI() {
|
|
|
14285
14295
|
F(
|
|
14286
14296
|
et,
|
|
14287
14297
|
Qe.SHOW_EXPERIENCES,
|
|
14288
|
-
|
|
14298
|
+
KI
|
|
14289
14299
|
),
|
|
14290
|
-
F(ee, $.START_RESET,
|
|
14300
|
+
F(ee, $.START_RESET, YI),
|
|
14291
14301
|
F(
|
|
14292
14302
|
ee,
|
|
14293
14303
|
Qe.UNHIDE_LAUNCHPADS,
|
|
14294
|
-
|
|
14304
|
+
XI
|
|
14295
14305
|
),
|
|
14296
|
-
F(ee, Qe.HIDE_LAUNCHPADS,
|
|
14306
|
+
F(ee, Qe.HIDE_LAUNCHPADS, JI),
|
|
14297
14307
|
F(
|
|
14298
14308
|
ee,
|
|
14299
14309
|
$.PREPARE_CONTENT,
|
|
14300
|
-
|
|
14310
|
+
QI
|
|
14301
14311
|
),
|
|
14302
14312
|
F(
|
|
14303
14313
|
ee,
|
|
14304
14314
|
$.START_OPEN_BUILDER_EVENT,
|
|
14305
|
-
|
|
14315
|
+
ZI
|
|
14306
14316
|
)
|
|
14307
14317
|
];
|
|
14308
14318
|
}
|
|
14309
|
-
function*
|
|
14319
|
+
function* tA() {
|
|
14310
14320
|
if (window.AppcuesSettings) {
|
|
14311
14321
|
let e = window.location.href;
|
|
14312
14322
|
const { enableURLDetection: t } = window.AppcuesSettings;
|
|
@@ -14314,18 +14324,18 @@ function* eA() {
|
|
|
14314
14324
|
window.location.href !== e && (window.Appcues.page(), e = window.location.href), yield E(ve, 500);
|
|
14315
14325
|
}
|
|
14316
14326
|
}
|
|
14317
|
-
function*
|
|
14318
|
-
yield [F(
|
|
14327
|
+
function* nA() {
|
|
14328
|
+
yield [F(tA)];
|
|
14319
14329
|
}
|
|
14320
14330
|
const Rl = b(
|
|
14321
14331
|
Ui.SET_COLLISION_MODE
|
|
14322
|
-
),
|
|
14332
|
+
), rA = "launchpad-button-wrapper", iA = (e, t) => e.checklist ? e.checklist.payload[0] : t.payload[0], oA = (e, t) => (e.experiences ? e.experiences.payload : t.payload).find(
|
|
14323
14333
|
(i) => i.type === "launchpad"
|
|
14324
|
-
),
|
|
14334
|
+
), sA = (e) => {
|
|
14325
14335
|
const n = e.steps[0].traits.filter(
|
|
14326
14336
|
(c) => c.type === "@appcues/floating"
|
|
14327
14337
|
).find(
|
|
14328
|
-
(c) => c.config?.target?.selector ===
|
|
14338
|
+
(c) => c.config?.target?.selector === rA
|
|
14329
14339
|
), { xPosition: r, yPosition: i, xOffset: o, yOffset: s } = n.config;
|
|
14330
14340
|
return {
|
|
14331
14341
|
position: `${i} ${r}`,
|
|
@@ -14338,7 +14348,7 @@ function* Sd(e, t) {
|
|
|
14338
14348
|
yield g(Rl({ collisionMode: !1, checklist: null }));
|
|
14339
14349
|
return;
|
|
14340
14350
|
}
|
|
14341
|
-
const n = e.styles.position.toLowerCase(), { position: r, xOffset: i, yOffset: o } =
|
|
14351
|
+
const n = e.styles.position.toLowerCase(), { position: r, xOffset: i, yOffset: o } = sA(t);
|
|
14342
14352
|
yield g(
|
|
14343
14353
|
Rl({
|
|
14344
14354
|
collisionMode: n === r,
|
|
@@ -14350,25 +14360,25 @@ function* Sd(e, t) {
|
|
|
14350
14360
|
})
|
|
14351
14361
|
);
|
|
14352
14362
|
}
|
|
14353
|
-
function*
|
|
14363
|
+
function* cA() {
|
|
14354
14364
|
const e = yield qe({
|
|
14355
14365
|
checklist: W(re.UPDATE_CHECKLISTS),
|
|
14356
14366
|
experiences: W(Qe.SHOW_EXPERIENCES)
|
|
14357
|
-
}), t = yield e.checklist ? W(Qe.SHOW_EXPERIENCES) : W(re.UPDATE_CHECKLISTS), n =
|
|
14367
|
+
}), t = yield e.checklist ? W(Qe.SHOW_EXPERIENCES) : W(re.UPDATE_CHECKLISTS), n = iA(e, t), r = oA(e, t);
|
|
14358
14368
|
yield E(Sd, n, r);
|
|
14359
14369
|
}
|
|
14360
|
-
function*
|
|
14370
|
+
function* lA({ payload: { checklistId: e, forceClose: t } }) {
|
|
14361
14371
|
const n = yield v(Tn, e);
|
|
14362
14372
|
if (t) {
|
|
14363
14373
|
yield g(hn(e));
|
|
14364
14374
|
return;
|
|
14365
14375
|
}
|
|
14366
14376
|
const r = n.viewState === qt.EXPANDED;
|
|
14367
|
-
r || (yield E(
|
|
14377
|
+
r || (yield E(FI)), yield g(r ? hn(e) : Hr(e));
|
|
14368
14378
|
}
|
|
14369
14379
|
function* Td({ payload: { collisionMode: e, checklist: t } }) {
|
|
14370
14380
|
if (!e) {
|
|
14371
|
-
yield E(
|
|
14381
|
+
yield E(xI);
|
|
14372
14382
|
return;
|
|
14373
14383
|
}
|
|
14374
14384
|
const n = t.items.filter(
|
|
@@ -14376,7 +14386,7 @@ function* Td({ payload: { collisionMode: e, checklist: t } }) {
|
|
|
14376
14386
|
).length, r = yield qe({
|
|
14377
14387
|
received: ht([
|
|
14378
14388
|
W(ji),
|
|
14379
|
-
E(
|
|
14389
|
+
E(LI, {
|
|
14380
14390
|
name: t.text_tokens.beacon_text,
|
|
14381
14391
|
id: t.id,
|
|
14382
14392
|
totalItems: t.items.length,
|
|
@@ -14389,8 +14399,8 @@ function* Td({ payload: { collisionMode: e, checklist: t } }) {
|
|
|
14389
14399
|
payload: { collisionMode: e, checklist: t }
|
|
14390
14400
|
}));
|
|
14391
14401
|
}
|
|
14392
|
-
function*
|
|
14393
|
-
const e = Or((t) => (
|
|
14402
|
+
function* aA() {
|
|
14403
|
+
const e = Or((t) => (PI((n) => {
|
|
14394
14404
|
t({
|
|
14395
14405
|
type: Gi,
|
|
14396
14406
|
payload: {
|
|
@@ -14398,7 +14408,7 @@ function* lA() {
|
|
|
14398
14408
|
forceClose: n.detail.forceClose
|
|
14399
14409
|
}
|
|
14400
14410
|
});
|
|
14401
|
-
}),
|
|
14411
|
+
}), DI(() => {
|
|
14402
14412
|
t({
|
|
14403
14413
|
type: ji
|
|
14404
14414
|
});
|
|
@@ -14409,7 +14419,7 @@ function* lA() {
|
|
|
14409
14419
|
yield g(t);
|
|
14410
14420
|
}
|
|
14411
14421
|
}
|
|
14412
|
-
function*
|
|
14422
|
+
function* uA() {
|
|
14413
14423
|
for (yield W(Ui.SET_COLLISION_MODE); ; ) {
|
|
14414
14424
|
const {
|
|
14415
14425
|
payload: [e]
|
|
@@ -14424,12 +14434,12 @@ function* aA() {
|
|
|
14424
14434
|
n && (yield E(Sd, e, n));
|
|
14425
14435
|
}
|
|
14426
14436
|
}
|
|
14427
|
-
function*
|
|
14437
|
+
function* dA() {
|
|
14428
14438
|
yield [
|
|
14429
|
-
F(lA),
|
|
14430
14439
|
F(aA),
|
|
14431
|
-
F(
|
|
14432
|
-
F(
|
|
14440
|
+
F(uA),
|
|
14441
|
+
F(cA),
|
|
14442
|
+
F(Ar, Gi, lA),
|
|
14433
14443
|
F(
|
|
14434
14444
|
Ar,
|
|
14435
14445
|
Ui.SET_COLLISION_MODE,
|
|
@@ -14437,9 +14447,9 @@ function* uA() {
|
|
|
14437
14447
|
)
|
|
14438
14448
|
];
|
|
14439
14449
|
}
|
|
14440
|
-
const
|
|
14450
|
+
const fA = "/generic/main/7.17.3/container.ebcf73e8054b4bbbc37ae0749b569addd92bbd12.css", pA = "sha256-hDvMQUFhRDDvNjMfTY9We9v9kJw7VBaXX8yL5nYcIcA=";
|
|
14441
14451
|
window.performance && window.performance.mark && window.performance.mark("apc-init");
|
|
14442
|
-
|
|
14452
|
+
nT();
|
|
14443
14453
|
const bt = window.AppcuesBundleSettings;
|
|
14444
14454
|
[...document.documentElement.querySelectorAll("link")].forEach((e) => {
|
|
14445
14455
|
/\/appcues(\.min|\.debug)?\.css$/.test(e.href) && e.parentElement && e.parentElement.removeChild(e);
|
|
@@ -14447,9 +14457,9 @@ const bt = window.AppcuesBundleSettings;
|
|
|
14447
14457
|
const sr = document.createElement("link");
|
|
14448
14458
|
sr.setAttribute("rel", "stylesheet");
|
|
14449
14459
|
sr.setAttribute("type", "text/css");
|
|
14450
|
-
sr.setAttribute("integrity",
|
|
14460
|
+
sr.setAttribute("integrity", pA);
|
|
14451
14461
|
sr.setAttribute("crossorigin", "anonymous");
|
|
14452
|
-
sr.setAttribute("href", Vt(
|
|
14462
|
+
sr.setAttribute("href", Vt(fA));
|
|
14453
14463
|
document.head.appendChild(sr);
|
|
14454
14464
|
const Co = window[Yo];
|
|
14455
14465
|
ne.object(Co) && ne.defined(Co.gaTracker) && bt.integrations.ga && (bt.integrations.ga.trackerName = Co.gaTracker);
|
|
@@ -14458,39 +14468,39 @@ const Ll = document.documentElement.querySelector(
|
|
|
14458
14468
|
'script[src*="fast.appcues"]'
|
|
14459
14469
|
);
|
|
14460
14470
|
Ll && (qo = Ll.getAttribute("data-user-id"));
|
|
14461
|
-
const En =
|
|
14471
|
+
const En = vS({
|
|
14462
14472
|
settings: bt,
|
|
14463
14473
|
sagas: [
|
|
14464
|
-
|
|
14465
|
-
|
|
14466
|
-
|
|
14467
|
-
|
|
14468
|
-
|
|
14469
|
-
|
|
14470
|
-
|
|
14471
|
-
|
|
14472
|
-
|
|
14473
|
-
|
|
14474
|
-
|
|
14475
|
-
|
|
14476
|
-
|
|
14477
|
-
|
|
14478
|
-
|
|
14474
|
+
e_,
|
|
14475
|
+
cC,
|
|
14476
|
+
D_,
|
|
14477
|
+
BT,
|
|
14478
|
+
V_,
|
|
14479
|
+
cI,
|
|
14480
|
+
Q_,
|
|
14481
|
+
EI,
|
|
14482
|
+
yI,
|
|
14483
|
+
II,
|
|
14484
|
+
Y_,
|
|
14485
|
+
vI,
|
|
14486
|
+
IT,
|
|
14487
|
+
VI,
|
|
14488
|
+
eA,
|
|
14479
14489
|
jE,
|
|
14480
|
-
|
|
14481
|
-
|
|
14482
|
-
|
|
14490
|
+
nA,
|
|
14491
|
+
bC,
|
|
14492
|
+
dA,
|
|
14483
14493
|
function* () {
|
|
14484
|
-
yield F(
|
|
14494
|
+
yield F(l_, bt.events);
|
|
14485
14495
|
}
|
|
14486
14496
|
],
|
|
14487
14497
|
onStateChange: (e) => {
|
|
14488
|
-
|
|
14498
|
+
b_(e), L_(e);
|
|
14489
14499
|
}
|
|
14490
14500
|
});
|
|
14491
14501
|
En.dispatch(
|
|
14492
14502
|
Ja({
|
|
14493
|
-
[z.DEBUGGER]:
|
|
14503
|
+
[z.DEBUGGER]: x_(
|
|
14494
14504
|
En.dispatch,
|
|
14495
14505
|
En.getState
|
|
14496
14506
|
)
|
|
@@ -14499,12 +14509,12 @@ En.dispatch(
|
|
|
14499
14509
|
En.dispatch(
|
|
14500
14510
|
sm(
|
|
14501
14511
|
bt,
|
|
14502
|
-
|
|
14503
|
-
|
|
14504
|
-
|
|
14512
|
+
fT(En),
|
|
14513
|
+
tT,
|
|
14514
|
+
pT(bt, En.getState)
|
|
14505
14515
|
)
|
|
14506
14516
|
);
|
|
14507
|
-
const qi =
|
|
14517
|
+
const qi = E_(En);
|
|
14508
14518
|
bt && bt.integrations && Object.keys(bt.integrations).forEach((e) => {
|
|
14509
14519
|
if (bt.integrations[e].isEnabled) {
|
|
14510
14520
|
const t = qi[`init${{
|
|
@@ -14547,15 +14557,15 @@ else {
|
|
|
14547
14557
|
oi[t] = e;
|
|
14548
14558
|
});
|
|
14549
14559
|
}
|
|
14550
|
-
const
|
|
14560
|
+
const SA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14551
14561
|
__proto__: null
|
|
14552
14562
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14553
14563
|
export {
|
|
14554
|
-
|
|
14555
|
-
|
|
14564
|
+
EA as a,
|
|
14565
|
+
yA as b,
|
|
14556
14566
|
sc as c,
|
|
14557
14567
|
ps as g,
|
|
14558
|
-
|
|
14559
|
-
|
|
14560
|
-
|
|
14568
|
+
SA as i,
|
|
14569
|
+
gA as n,
|
|
14570
|
+
mA as o
|
|
14561
14571
|
};
|