@appcues/web-sdk 7.16.1 → 7.17.0
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 +25 -0
- package/build/checklist.1abb4cabde29d8c941c5030c6c9e6556326c226f.css +1 -0
- package/build/{index.lsMLtC09.js → index.BYadaR35.js} +3016 -2958
- package/build/{index.KajA99Iz.js → index.Dunwnb9Q.js} +13 -13
- package/build/{index.npm.CorVAyQZ.js → index.npm.DbVSP1KB.js} +1 -1
- package/build/index.npm.js +1 -1
- package/build/{modal.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css → modal.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +1 -1
- package/build/{open-builder.Cdda7caO.js → open-builder.CZd8R04x.js} +167 -169
- package/build/{satisfaction-survey.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css → satisfaction-survey.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +1 -1
- package/build/types.d.ts +1 -1
- package/build/types.d.ts.map +1 -1
- package/package.json +9 -6
- package/build/checklist.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css +0 -1
- /package/build/{container.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css → container.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +0 -0
- /package/build/{debugger.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css → debugger.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +0 -0
- /package/build/{modal-step-legacy-render.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css → modal-step-legacy-render.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +0 -0
- /package/build/{test-mode.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css → test-mode.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +0 -0
- /package/build/{tooltip.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css → tooltip.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var
|
|
2
|
-
return
|
|
1
|
+
var H = function() {
|
|
2
|
+
return H = Object.assign || function(t) {
|
|
3
3
|
for (var e, n = 1, r = arguments.length; n < r; n++) {
|
|
4
4
|
e = arguments[n];
|
|
5
5
|
for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
|
|
6
6
|
}
|
|
7
7
|
return t;
|
|
8
|
-
},
|
|
8
|
+
}, H.apply(this, arguments);
|
|
9
9
|
};
|
|
10
10
|
function so(t, e) {
|
|
11
11
|
var n = {};
|
|
@@ -347,7 +347,7 @@ var Cc = /* @__PURE__ */ (function() {
|
|
|
347
347
|
};
|
|
348
348
|
})();
|
|
349
349
|
function lo(t, e) {
|
|
350
|
-
return et(t) || typeof t == "number" ?
|
|
350
|
+
return et(t) || typeof t == "number" ? H({
|
|
351
351
|
type: t
|
|
352
352
|
}, e) : t;
|
|
353
353
|
}
|
|
@@ -355,7 +355,7 @@ function Ct(t, e) {
|
|
|
355
355
|
if (!et(t) && "$$type" in t && t.$$type === "scxml")
|
|
356
356
|
return t;
|
|
357
357
|
var n = lo(t);
|
|
358
|
-
return
|
|
358
|
+
return H({
|
|
359
359
|
name: n.type,
|
|
360
360
|
data: n,
|
|
361
361
|
$$type: "scxml",
|
|
@@ -367,7 +367,7 @@ function Pe(t, e) {
|
|
|
367
367
|
return typeof r > "u" || typeof r == "string" || Xe(r) ? {
|
|
368
368
|
target: r,
|
|
369
369
|
event: t
|
|
370
|
-
} :
|
|
370
|
+
} : H(H({}, r), {
|
|
371
371
|
event: t
|
|
372
372
|
});
|
|
373
373
|
});
|
|
@@ -435,12 +435,12 @@ function Tn(t, e) {
|
|
|
435
435
|
else {
|
|
436
436
|
var r = Zr(t.type, e);
|
|
437
437
|
if (st(r))
|
|
438
|
-
n =
|
|
438
|
+
n = H(H({}, t), {
|
|
439
439
|
exec: r
|
|
440
440
|
});
|
|
441
441
|
else if (r) {
|
|
442
442
|
var o = r.type || t.type;
|
|
443
|
-
n =
|
|
443
|
+
n = H(H(H({}, r), t), {
|
|
444
444
|
type: o
|
|
445
445
|
});
|
|
446
446
|
} else
|
|
@@ -458,7 +458,7 @@ var er = function(t, e) {
|
|
|
458
458
|
};
|
|
459
459
|
function fo(t) {
|
|
460
460
|
var e = Tn(t);
|
|
461
|
-
return
|
|
461
|
+
return H(H({
|
|
462
462
|
id: et(t) ? t : e.id
|
|
463
463
|
}, e), {
|
|
464
464
|
type: e.type
|
|
@@ -497,7 +497,7 @@ function Nc(t, e, n, r) {
|
|
|
497
497
|
} else
|
|
498
498
|
a = st(t.delay) ? t.delay(e, n.data, o) : t.delay;
|
|
499
499
|
var c = st(t.to) ? t.to(e, n.data, o) : t.to;
|
|
500
|
-
return
|
|
500
|
+
return H(H({}, t), {
|
|
501
501
|
to: c,
|
|
502
502
|
_event: i,
|
|
503
503
|
event: i.data,
|
|
@@ -505,12 +505,12 @@ function Nc(t, e, n, r) {
|
|
|
505
505
|
});
|
|
506
506
|
}
|
|
507
507
|
function Ic(t, e) {
|
|
508
|
-
return Cn(t,
|
|
508
|
+
return Cn(t, H(H({}, e), {
|
|
509
509
|
to: qe.Parent
|
|
510
510
|
}));
|
|
511
511
|
}
|
|
512
512
|
var jc = function(t, e, n) {
|
|
513
|
-
return
|
|
513
|
+
return H(H({}, t), {
|
|
514
514
|
value: et(t.expr) ? t.expr : t.expr(e, n.data, {
|
|
515
515
|
_event: n
|
|
516
516
|
})
|
|
@@ -592,7 +592,7 @@ function Wc(t) {
|
|
|
592
592
|
function Vc(t, e) {
|
|
593
593
|
return Cn(function(n, r) {
|
|
594
594
|
return r;
|
|
595
|
-
},
|
|
595
|
+
}, H(H({}, e), {
|
|
596
596
|
to: t
|
|
597
597
|
}));
|
|
598
598
|
}
|
|
@@ -643,10 +643,10 @@ function Jr(t, e, n, r, o, i) {
|
|
|
643
643
|
var O = Tn(u, t.options.actions), C = O.exec;
|
|
644
644
|
if (C && y) {
|
|
645
645
|
var I = y.length - 1;
|
|
646
|
-
O =
|
|
646
|
+
O = H(H({}, O), {
|
|
647
647
|
exec: function(P) {
|
|
648
|
-
for (var M = [],
|
|
649
|
-
M[
|
|
648
|
+
for (var M = [], L = 1; L < arguments.length; L++)
|
|
649
|
+
M[L - 1] = arguments[L];
|
|
650
650
|
C.apply(void 0, vt([y[I]], rt(M), !1));
|
|
651
651
|
}
|
|
652
652
|
});
|
|
@@ -716,7 +716,7 @@ function Uc(t) {
|
|
|
716
716
|
}
|
|
717
717
|
function qc(t) {
|
|
718
718
|
var e;
|
|
719
|
-
return
|
|
719
|
+
return H((e = {
|
|
720
720
|
subscribe: function() {
|
|
721
721
|
return {
|
|
722
722
|
unsubscribe: function() {
|
|
@@ -905,7 +905,7 @@ function Jc(t) {
|
|
|
905
905
|
return typeof t != "object" || t === null ? !1 : "value" in t && "_event" in t;
|
|
906
906
|
}
|
|
907
907
|
function Qc(t, e) {
|
|
908
|
-
var n = t.exec, r =
|
|
908
|
+
var n = t.exec, r = H(H({}, t), {
|
|
909
909
|
exec: n !== void 0 ? function() {
|
|
910
910
|
return n(e.context, e.event, {
|
|
911
911
|
action: t,
|
|
@@ -995,7 +995,7 @@ var ee = (
|
|
|
995
995
|
var n = e.tags;
|
|
996
996
|
e.machine;
|
|
997
997
|
var r = so(e, ["configuration", "transitions", "tags", "machine"]);
|
|
998
|
-
return
|
|
998
|
+
return H(H({}, r), {
|
|
999
999
|
tags: Array.from(n)
|
|
1000
1000
|
});
|
|
1001
1001
|
}, t.prototype.matches = function(e) {
|
|
@@ -1018,7 +1018,7 @@ var ee = (
|
|
|
1018
1018
|
/** @class */
|
|
1019
1019
|
/* @__PURE__ */ (function() {
|
|
1020
1020
|
function t(e) {
|
|
1021
|
-
this.processingEvent = !1, this.queue = [], this.initialized = !1, this.options =
|
|
1021
|
+
this.processingEvent = !1, this.queue = [], this.initialized = !1, this.options = H(H({}, Gc), e);
|
|
1022
1022
|
}
|
|
1023
1023
|
return t.prototype.initialize = function(e) {
|
|
1024
1024
|
if (this.initialized = !0, e) {
|
|
@@ -1160,12 +1160,12 @@ Event: `
|
|
|
1160
1160
|
throw new Error("Unable to send event to child '".concat(l, "' from service '").concat(r.id, "'."));
|
|
1161
1161
|
return;
|
|
1162
1162
|
}
|
|
1163
|
-
"machine" in h ? h.send(
|
|
1163
|
+
"machine" in h ? h.send(H(H({}, y), {
|
|
1164
1164
|
name: y.name === vc ? "".concat(mn(r.id)) : y.name,
|
|
1165
1165
|
origin: r.sessionId
|
|
1166
1166
|
})) : h.send(y.data);
|
|
1167
1167
|
};
|
|
1168
|
-
var o =
|
|
1168
|
+
var o = H(H({}, t.defaultOptions), n), i = o.clock, a = o.logger, s = o.parent, c = o.id, f = c !== void 0 ? c : e.id;
|
|
1169
1169
|
this.id = f, this.logger = a, this.clock = i, this.parent = s, this.options = o, this.scheduler = new qo({
|
|
1170
1170
|
deferEvents: this.options.deferEvents
|
|
1171
1171
|
}), this.sessionId = $n.bookId();
|
|
@@ -1390,8 +1390,8 @@ Event: `
|
|
|
1390
1390
|
}).forEach(function(C) {
|
|
1391
1391
|
var I, P;
|
|
1392
1392
|
try {
|
|
1393
|
-
for (var M = Y(C.definition.exit),
|
|
1394
|
-
var B =
|
|
1393
|
+
for (var M = Y(C.definition.exit), L = M.next(); !L.done; L = M.next()) {
|
|
1394
|
+
var B = L.value;
|
|
1395
1395
|
l.exec(B, l.state);
|
|
1396
1396
|
}
|
|
1397
1397
|
} catch (Z) {
|
|
@@ -1400,7 +1400,7 @@ Event: `
|
|
|
1400
1400
|
};
|
|
1401
1401
|
} finally {
|
|
1402
1402
|
try {
|
|
1403
|
-
|
|
1403
|
+
L && !L.done && (P = M.return) && P.call(M);
|
|
1404
1404
|
} finally {
|
|
1405
1405
|
if (I) throw I.error;
|
|
1406
1406
|
}
|
|
@@ -1581,7 +1581,7 @@ Event: `
|
|
|
1581
1581
|
if (Rc(e))
|
|
1582
1582
|
return this.spawnObservable(e, n);
|
|
1583
1583
|
if (Xe(e))
|
|
1584
|
-
return this.spawnMachine(e,
|
|
1584
|
+
return this.spawnMachine(e, H(H({}, r), {
|
|
1585
1585
|
id: n
|
|
1586
1586
|
}));
|
|
1587
1587
|
if (Sc(e))
|
|
@@ -1590,10 +1590,10 @@ Event: `
|
|
|
1590
1590
|
}, t.prototype.spawnMachine = function(e, n) {
|
|
1591
1591
|
var r = this;
|
|
1592
1592
|
n === void 0 && (n = {});
|
|
1593
|
-
var o = new t(e,
|
|
1593
|
+
var o = new t(e, H(H({}, this.options), {
|
|
1594
1594
|
parent: this,
|
|
1595
1595
|
id: n.id || e.id
|
|
1596
|
-
})), i =
|
|
1596
|
+
})), i = H(H({}, Gr), n);
|
|
1597
1597
|
i.sync && o.onTransition(function(s) {
|
|
1598
1598
|
r.send(Ji, {
|
|
1599
1599
|
state: s,
|
|
@@ -1780,7 +1780,7 @@ Event: `
|
|
|
1780
1780
|
if (this.options.devTools && e) {
|
|
1781
1781
|
if (e.__REDUX_DEVTOOLS_EXTENSION__) {
|
|
1782
1782
|
var n = typeof this.options.devTools == "object" ? this.options.devTools : void 0;
|
|
1783
|
-
this.devTools = e.__REDUX_DEVTOOLS_EXTENSION__.connect(
|
|
1783
|
+
this.devTools = e.__REDUX_DEVTOOLS_EXTENSION__.connect(H(H({
|
|
1784
1784
|
name: this.id,
|
|
1785
1785
|
autoPause: !0,
|
|
1786
1786
|
stateSanitizer: function(r) {
|
|
@@ -1791,7 +1791,7 @@ Event: `
|
|
|
1791
1791
|
};
|
|
1792
1792
|
}
|
|
1793
1793
|
}, n), {
|
|
1794
|
-
features:
|
|
1794
|
+
features: H({
|
|
1795
1795
|
jump: !1,
|
|
1796
1796
|
skip: !1
|
|
1797
1797
|
}, n ? n.features : void 0)
|
|
@@ -1824,9 +1824,9 @@ Event: `
|
|
|
1824
1824
|
}, t.interpret = pa, t;
|
|
1825
1825
|
})()
|
|
1826
1826
|
), ou = function(t) {
|
|
1827
|
-
return et(t) ?
|
|
1827
|
+
return et(t) ? H(H({}, Gr), {
|
|
1828
1828
|
name: t
|
|
1829
|
-
}) :
|
|
1829
|
+
}) : H(H(H({}, Gr), {
|
|
1830
1830
|
name: Cc()
|
|
1831
1831
|
}), t);
|
|
1832
1832
|
};
|
|
@@ -1852,13 +1852,13 @@ function iu(t) {
|
|
|
1852
1852
|
return t;
|
|
1853
1853
|
}
|
|
1854
1854
|
function Mn(t) {
|
|
1855
|
-
return
|
|
1855
|
+
return H(H({
|
|
1856
1856
|
type: Ur
|
|
1857
1857
|
}, t), {
|
|
1858
1858
|
toJSON: function() {
|
|
1859
1859
|
t.onDone, t.onError;
|
|
1860
1860
|
var e = so(t, ["onDone", "onError"]);
|
|
1861
|
-
return
|
|
1861
|
+
return H(H({}, e), {
|
|
1862
1862
|
type: Ur,
|
|
1863
1863
|
src: iu(t.src)
|
|
1864
1864
|
});
|
|
@@ -1896,7 +1896,7 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
1896
1896
|
parent: i,
|
|
1897
1897
|
key: y
|
|
1898
1898
|
});
|
|
1899
|
-
return Object.assign(i.idMap,
|
|
1899
|
+
return Object.assign(i.idMap, H((l = {}, l[u.id] = u, l), u.idMap)), u;
|
|
1900
1900
|
}) : De;
|
|
1901
1901
|
var s = 0;
|
|
1902
1902
|
function c(f) {
|
|
@@ -1930,26 +1930,26 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
1930
1930
|
var l, u;
|
|
1931
1931
|
if (Xe(f)) {
|
|
1932
1932
|
var h = Hn(i.id, y);
|
|
1933
|
-
return i.machine.options.services =
|
|
1933
|
+
return i.machine.options.services = H((l = {}, l[h] = f, l), i.machine.options.services), Mn({
|
|
1934
1934
|
src: h,
|
|
1935
1935
|
id: h
|
|
1936
1936
|
});
|
|
1937
1937
|
} else if (et(f.src)) {
|
|
1938
1938
|
var h = f.id || Hn(i.id, y);
|
|
1939
|
-
return Mn(
|
|
1939
|
+
return Mn(H(H({}, f), {
|
|
1940
1940
|
id: h,
|
|
1941
1941
|
src: f.src
|
|
1942
1942
|
}));
|
|
1943
1943
|
} else if (Xe(f.src) || st(f.src)) {
|
|
1944
1944
|
var h = f.id || Hn(i.id, y);
|
|
1945
|
-
return i.machine.options.services =
|
|
1945
|
+
return i.machine.options.services = H((u = {}, u[h] = f.src, u), i.machine.options.services), Mn(H(H({
|
|
1946
1946
|
id: h
|
|
1947
1947
|
}, f), {
|
|
1948
1948
|
src: h
|
|
1949
1949
|
}));
|
|
1950
1950
|
} else {
|
|
1951
1951
|
var p = f.src;
|
|
1952
|
-
return Mn(
|
|
1952
|
+
return Mn(H(H({
|
|
1953
1953
|
id: Hn(i.id, y)
|
|
1954
1954
|
}, f), {
|
|
1955
1955
|
src: p
|
|
@@ -1966,11 +1966,11 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
1966
1966
|
}, t.prototype.withConfig = function(e, n) {
|
|
1967
1967
|
var r = this.options, o = r.actions, i = r.activities, a = r.guards, s = r.services, c = r.delays;
|
|
1968
1968
|
return new t(this.config, {
|
|
1969
|
-
actions:
|
|
1970
|
-
activities:
|
|
1971
|
-
guards:
|
|
1972
|
-
services:
|
|
1973
|
-
delays:
|
|
1969
|
+
actions: H(H({}, o), e.actions),
|
|
1970
|
+
activities: H(H({}, i), e.activities),
|
|
1971
|
+
guards: H(H({}, a), e.guards),
|
|
1972
|
+
services: H(H({}, s), e.services),
|
|
1973
|
+
delays: H(H({}, c), e.delays)
|
|
1974
1974
|
}, n ?? this.context);
|
|
1975
1975
|
}, t.prototype.withContext = function(e) {
|
|
1976
1976
|
return new t(this.config, this.options, e);
|
|
@@ -2061,7 +2061,7 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
2061
2061
|
})), e.onExit.push(Pc(c)), c;
|
|
2062
2062
|
}, o = Ye(n) ? n.map(function(i, a) {
|
|
2063
2063
|
var s = r(i.delay, a);
|
|
2064
|
-
return
|
|
2064
|
+
return H(H({}, i), {
|
|
2065
2065
|
event: s
|
|
2066
2066
|
});
|
|
2067
2067
|
}) : dt(Object.keys(n).map(function(i, a) {
|
|
@@ -2069,7 +2069,7 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
2069
2069
|
target: s
|
|
2070
2070
|
} : s, f = isNaN(+i) ? i : +i, y = r(f, a);
|
|
2071
2071
|
return Bt(c).map(function(l) {
|
|
2072
|
-
return
|
|
2072
|
+
return H(H({}, l), {
|
|
2073
2073
|
event: y,
|
|
2074
2074
|
delay: f
|
|
2075
2075
|
});
|
|
@@ -2077,7 +2077,7 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
2077
2077
|
}));
|
|
2078
2078
|
return o.map(function(i) {
|
|
2079
2079
|
var a = i.delay;
|
|
2080
|
-
return
|
|
2080
|
+
return H(H({}, e.formatTransition(i)), {
|
|
2081
2081
|
delay: a
|
|
2082
2082
|
});
|
|
2083
2083
|
});
|
|
@@ -2099,7 +2099,7 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
2099
2099
|
return this.events.includes(n);
|
|
2100
2100
|
}, t.prototype.resolveState = function(e) {
|
|
2101
2101
|
var n = e instanceof ee ? e : ee.create(e), r = Array.from(Me([], this.getStateNodes(n.value)));
|
|
2102
|
-
return new ee(
|
|
2102
|
+
return new ee(H(H({}, n), {
|
|
2103
2103
|
value: this.resolve(n.value),
|
|
2104
2104
|
configuration: r,
|
|
2105
2105
|
done: Sn(r, this),
|
|
@@ -2327,7 +2327,7 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
2327
2327
|
}, t.prototype.resolveTransition = function(e, n, r, o) {
|
|
2328
2328
|
var i, a, s = this;
|
|
2329
2329
|
o === void 0 && (o = tr);
|
|
2330
|
-
var c = e.configuration, f = !n || e.transitions.length > 0, y = f ? Xc(this.machine, c) : void 0, l = n ? n.historyValue ? n.historyValue : e.source ? this.machine.historyValue(n.value) : void 0 : void 0, u = this.getActions(e, r, o, n), h = n ?
|
|
2330
|
+
var c = e.configuration, f = !n || e.transitions.length > 0, y = f ? Xc(this.machine, c) : void 0, l = n ? n.historyValue ? n.historyValue : e.source ? this.machine.historyValue(n.value) : void 0 : void 0, u = this.getActions(e, r, o, n), h = n ? H({}, n.activities) : {};
|
|
2331
2331
|
try {
|
|
2332
2332
|
for (var p = Y(u), v = p.next(); !v.done; v = p.next()) {
|
|
2333
2333
|
var b = v.value;
|
|
@@ -2351,7 +2351,7 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
2351
2351
|
return nt.type === zr && ((J = nt.activity) === null || J === void 0 ? void 0 : J.type) === Ur;
|
|
2352
2352
|
}), C = O.reduce(function(nt, J) {
|
|
2353
2353
|
return nt[J.activity.id] = zc(J.activity, s.machine, w, o), nt;
|
|
2354
|
-
}, n ?
|
|
2354
|
+
}, n ? H({}, n.children) : {}), I = f ? e.configuration : n ? n.configuration : [], P = Sn(I, this), M = new ee({
|
|
2355
2355
|
value: y || n.value,
|
|
2356
2356
|
context: w,
|
|
2357
2357
|
_event: o,
|
|
@@ -2368,8 +2368,8 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
2368
2368
|
done: P,
|
|
2369
2369
|
tags: Uo(I),
|
|
2370
2370
|
machine: this
|
|
2371
|
-
}),
|
|
2372
|
-
M.changed = o.name === Ji ||
|
|
2371
|
+
}), L = r !== w;
|
|
2372
|
+
M.changed = o.name === Ji || L;
|
|
2373
2373
|
var B = M.history;
|
|
2374
2374
|
B && delete B.history;
|
|
2375
2375
|
var Z = !P && (this._transient || c.some(function(nt) {
|
|
@@ -2385,7 +2385,7 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
2385
2385
|
var tt = S.shift();
|
|
2386
2386
|
U = this.resolveRaisedTransition(U, tt._event, o);
|
|
2387
2387
|
}
|
|
2388
|
-
var ut = U.changed || (B ? !!U.actions.length ||
|
|
2388
|
+
var ut = U.changed || (B ? !!U.actions.length || L || typeof B.value != typeof U.value || !fa(U.value, B.value) : void 0);
|
|
2389
2389
|
return U.changed = ut, U.history = B, U;
|
|
2390
2390
|
}, t.prototype.getStateNode = function(e) {
|
|
2391
2391
|
if (He(e))
|
|
@@ -2660,7 +2660,7 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
2660
2660
|
}, t.prototype.formatTransition = function(e) {
|
|
2661
2661
|
var n = this, r = Oc(e.target), o = "internal" in e ? e.internal : r ? r.some(function(c) {
|
|
2662
2662
|
return et(c) && c[0] === n.delimiter;
|
|
2663
|
-
}) : !0, i = this.machine.options.guards, a = this.resolveTarget(r), s =
|
|
2663
|
+
}) : !0, i = this.machine.options.guards, a = this.resolveTarget(r), s = H(H({}, e), {
|
|
2664
2664
|
actions: er(Bt(e.actions)),
|
|
2665
2665
|
cond: na(e.cond, i),
|
|
2666
2666
|
target: a,
|
|
@@ -2668,7 +2668,7 @@ var Wn = "", Yr = "#", Nr = "*", De = {}, He = function(t) {
|
|
|
2668
2668
|
internal: o,
|
|
2669
2669
|
eventType: e.event,
|
|
2670
2670
|
toJSON: function() {
|
|
2671
|
-
return
|
|
2671
|
+
return H(H({}, s), {
|
|
2672
2672
|
target: s.target ? s.target.map(function(c) {
|
|
2673
2673
|
return "#".concat(c.id);
|
|
2674
2674
|
}) : void 0,
|
|
@@ -3046,8 +3046,8 @@ Jn.exports;
|
|
|
3046
3046
|
var Jo;
|
|
3047
3047
|
function wu() {
|
|
3048
3048
|
return Jo || (Jo = 1, (function(t, e) {
|
|
3049
|
-
var n = 200, r = "__lodash_hash_undefined__", o = 1, i = 2, a = 9007199254740991, s = "[object Arguments]", c = "[object Array]", f = "[object AsyncFunction]", y = "[object Boolean]", l = "[object Date]", u = "[object Error]", h = "[object Function]", p = "[object GeneratorFunction]", v = "[object Map]", b = "[object Number]", E = "[object Null]", g = "[object Object]", w = "[object Promise]", R = "[object Proxy]", S = "[object RegExp]", N = "[object Set]", O = "[object String]", C = "[object Symbol]", I = "[object Undefined]", P = "[object WeakMap]", M = "[object ArrayBuffer]",
|
|
3050
|
-
F[B] = F[Z] = F[U] = F[tt] = F[ut] = F[nt] = F[J] = F[mt] = F[at] = !0, F[s] = F[c] = F[M] = F[y] = F[
|
|
3049
|
+
var n = 200, r = "__lodash_hash_undefined__", o = 1, i = 2, a = 9007199254740991, s = "[object Arguments]", c = "[object Array]", f = "[object AsyncFunction]", y = "[object Boolean]", l = "[object Date]", u = "[object Error]", h = "[object Function]", p = "[object GeneratorFunction]", v = "[object Map]", b = "[object Number]", E = "[object Null]", g = "[object Object]", w = "[object Promise]", R = "[object Proxy]", S = "[object RegExp]", N = "[object Set]", O = "[object String]", C = "[object Symbol]", I = "[object Undefined]", P = "[object WeakMap]", M = "[object ArrayBuffer]", L = "[object DataView]", B = "[object Float32Array]", Z = "[object Float64Array]", U = "[object Int8Array]", tt = "[object Int16Array]", ut = "[object Int32Array]", nt = "[object Uint8Array]", J = "[object Uint8ClampedArray]", mt = "[object Uint16Array]", at = "[object Uint32Array]", gt = /[\\^$.*+?()[\]{}|]/g, bt = /^\[object .+?Constructor\]$/, Q = /^(?:0|[1-9]\d*)$/, F = {};
|
|
3050
|
+
F[B] = F[Z] = F[U] = F[tt] = F[ut] = F[nt] = F[J] = F[mt] = F[at] = !0, F[s] = F[c] = F[M] = F[y] = F[L] = F[l] = F[u] = F[h] = F[v] = F[b] = F[g] = F[S] = F[N] = F[O] = F[P] = !1;
|
|
3051
3051
|
var Nt = typeof Wt == "object" && Wt && Wt.Object === Object && Wt, G = typeof self == "object" && self && self.Object === Object && self, lt = Nt || G || Function("return this")(), Et = e && !e.nodeType && e, Ht = Et && !0 && t && !t.nodeType && t, It = Ht && Ht.exports === Et, Lt = It && Nt.process, Vt = (function() {
|
|
3052
3052
|
try {
|
|
3053
3053
|
return Lt && Lt.binding && Lt.binding("util");
|
|
@@ -3110,7 +3110,7 @@ function wu() {
|
|
|
3110
3110
|
return m ? "Symbol(src)_1." + m : "";
|
|
3111
3111
|
})(), d = fe.toString, x = RegExp(
|
|
3112
3112
|
"^" + Ee.call(T).replace(gt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
3113
|
-
), A = It ? lt.Buffer : void 0, k = lt.Symbol,
|
|
3113
|
+
), A = It ? lt.Buffer : void 0, k = lt.Symbol, D = lt.Uint8Array, W = fe.propertyIsEnumerable, z = fn.splice, q = k ? k.toStringTag : void 0, K = Object.getOwnPropertySymbols, it = A ? A.isBuffer : void 0, ct = un(Object.keys, Object), xt = je(lt, "DataView"), Rt = je(lt, "Map"), Kt = je(lt, "Promise"), dn = je(lt, "Set"), Rr = je(lt, "WeakMap"), pn = je(Object, "create"), bs = Se(xt), Es = Se(Rt), xs = Se(Kt), ws = Se(dn), Ss = Se(Rr), Oo = k ? k.prototype : void 0, kr = Oo ? Oo.valueOf : void 0;
|
|
3114
3114
|
function xe(m) {
|
|
3115
3115
|
var _ = -1, j = m == null ? 0 : m.length;
|
|
3116
3116
|
for (this.clear(); ++_ < j; ) {
|
|
@@ -3341,12 +3341,12 @@ function wu() {
|
|
|
3341
3341
|
}
|
|
3342
3342
|
function Gs(m, _, j, V, ft, X, ht) {
|
|
3343
3343
|
switch (j) {
|
|
3344
|
-
case
|
|
3344
|
+
case L:
|
|
3345
3345
|
if (m.byteLength != _.byteLength || m.byteOffset != _.byteOffset)
|
|
3346
3346
|
return !1;
|
|
3347
3347
|
m = m.buffer, _ = _.buffer;
|
|
3348
3348
|
case M:
|
|
3349
|
-
return !(m.byteLength != _.byteLength || !X(new
|
|
3349
|
+
return !(m.byteLength != _.byteLength || !X(new D(m), new D(_)));
|
|
3350
3350
|
case y:
|
|
3351
3351
|
case l:
|
|
3352
3352
|
case b:
|
|
@@ -3431,12 +3431,12 @@ function wu() {
|
|
|
3431
3431
|
return W.call(m, _);
|
|
3432
3432
|
}));
|
|
3433
3433
|
} : fc, pe = hn;
|
|
3434
|
-
(xt && pe(new xt(new ArrayBuffer(1))) !=
|
|
3434
|
+
(xt && pe(new xt(new ArrayBuffer(1))) != L || Rt && pe(new Rt()) != v || Kt && pe(Kt.resolve()) != w || dn && pe(new dn()) != N || Rr && pe(new Rr()) != P) && (pe = function(m) {
|
|
3435
3435
|
var _ = hn(m), j = _ == g ? m.constructor : void 0, V = j ? Se(j) : "";
|
|
3436
3436
|
if (V)
|
|
3437
3437
|
switch (V) {
|
|
3438
3438
|
case bs:
|
|
3439
|
-
return
|
|
3439
|
+
return L;
|
|
3440
3440
|
case Es:
|
|
3441
3441
|
return v;
|
|
3442
3442
|
case xs:
|
|
@@ -3722,7 +3722,7 @@ const En = /* @__PURE__ */ Oe(Su), _u = "EXPERIENCE_STARTED", Qo = "SHOW", Fe =
|
|
|
3722
3722
|
).forEach((o) => n.body.removeChild(o));
|
|
3723
3723
|
}, Gu = ({ getRoot: t }) => {
|
|
3724
3724
|
const e = t();
|
|
3725
|
-
e.parentElement && e.
|
|
3725
|
+
e.parentElement && e.remove();
|
|
3726
3726
|
}, Yu = ({ getRoot: t }) => aa([
|
|
3727
3727
|
{
|
|
3728
3728
|
cond: "hasCustomContainer",
|
|
@@ -3782,8 +3782,8 @@ function rl() {
|
|
|
3782
3782
|
if (2 < arguments.length) {
|
|
3783
3783
|
var k = Array.prototype.slice.call(arguments, 2);
|
|
3784
3784
|
return function() {
|
|
3785
|
-
var
|
|
3786
|
-
return Array.prototype.unshift.apply(
|
|
3785
|
+
var D = Array.prototype.slice.call(arguments);
|
|
3786
|
+
return Array.prototype.unshift.apply(D, k), d.apply(x, D);
|
|
3787
3787
|
};
|
|
3788
3788
|
}
|
|
3789
3789
|
return function() {
|
|
@@ -3801,7 +3801,7 @@ function rl() {
|
|
|
3801
3801
|
}
|
|
3802
3802
|
var a = !!window.FontFace;
|
|
3803
3803
|
function s(d, x, A, k) {
|
|
3804
|
-
if (x = d.c.createElement(x), A) for (var
|
|
3804
|
+
if (x = d.c.createElement(x), A) for (var D in A) A.hasOwnProperty(D) && (D == "style" ? x.style.cssText = A[D] : x.setAttribute(D, A[D]));
|
|
3805
3805
|
return k && x.appendChild(d.c.createTextNode(k)), x;
|
|
3806
3806
|
}
|
|
3807
3807
|
function c(d, x, A) {
|
|
@@ -3812,24 +3812,24 @@ function rl() {
|
|
|
3812
3812
|
}
|
|
3813
3813
|
function y(d, x, A) {
|
|
3814
3814
|
x = x || [], A = A || [];
|
|
3815
|
-
for (var k = d.className.split(/\s+/),
|
|
3816
|
-
for (var W = !1, z = 0; z < k.length; z += 1) if (x[
|
|
3815
|
+
for (var k = d.className.split(/\s+/), D = 0; D < x.length; D += 1) {
|
|
3816
|
+
for (var W = !1, z = 0; z < k.length; z += 1) if (x[D] === k[z]) {
|
|
3817
3817
|
W = !0;
|
|
3818
3818
|
break;
|
|
3819
3819
|
}
|
|
3820
|
-
W || k.push(x[
|
|
3820
|
+
W || k.push(x[D]);
|
|
3821
3821
|
}
|
|
3822
|
-
for (x = [],
|
|
3823
|
-
for (W = !1, z = 0; z < A.length; z += 1) if (k[
|
|
3822
|
+
for (x = [], D = 0; D < k.length; D += 1) {
|
|
3823
|
+
for (W = !1, z = 0; z < A.length; z += 1) if (k[D] === A[z]) {
|
|
3824
3824
|
W = !0;
|
|
3825
3825
|
break;
|
|
3826
3826
|
}
|
|
3827
|
-
W || x.push(k[
|
|
3827
|
+
W || x.push(k[D]);
|
|
3828
3828
|
}
|
|
3829
3829
|
d.className = x.join(" ").replace(/\s+/g, " ").replace(/^\s+|\s+$/, "");
|
|
3830
3830
|
}
|
|
3831
3831
|
function l(d, x) {
|
|
3832
|
-
for (var A = d.className.split(/\s+/), k = 0,
|
|
3832
|
+
for (var A = d.className.split(/\s+/), k = 0, D = A.length; k < D; k++) if (A[k] == x) return !0;
|
|
3833
3833
|
return !1;
|
|
3834
3834
|
}
|
|
3835
3835
|
function u(d) {
|
|
@@ -3837,25 +3837,25 @@ function rl() {
|
|
|
3837
3837
|
}
|
|
3838
3838
|
function h(d, x, A) {
|
|
3839
3839
|
function k() {
|
|
3840
|
-
q &&
|
|
3840
|
+
q && D && W && (q(z), q = null);
|
|
3841
3841
|
}
|
|
3842
3842
|
x = s(d, "link", { rel: "stylesheet", href: x, media: "all" });
|
|
3843
|
-
var
|
|
3843
|
+
var D = !1, W = !0, z = null, q = A || null;
|
|
3844
3844
|
a ? (x.onload = function() {
|
|
3845
|
-
|
|
3845
|
+
D = !0, k();
|
|
3846
3846
|
}, x.onerror = function() {
|
|
3847
|
-
|
|
3847
|
+
D = !0, z = Error("Stylesheet failed to load"), k();
|
|
3848
3848
|
}) : setTimeout(function() {
|
|
3849
|
-
|
|
3849
|
+
D = !0, k();
|
|
3850
3850
|
}, 0), c(d, "head", x);
|
|
3851
3851
|
}
|
|
3852
3852
|
function p(d, x, A, k) {
|
|
3853
|
-
var
|
|
3854
|
-
if (
|
|
3853
|
+
var D = d.c.getElementsByTagName("head")[0];
|
|
3854
|
+
if (D) {
|
|
3855
3855
|
var W = s(d, "script", { src: x }), z = !1;
|
|
3856
3856
|
return W.onload = W.onreadystatechange = function() {
|
|
3857
|
-
z || this.readyState && this.readyState != "loaded" && this.readyState != "complete" || (z = !0, A && A(null), W.onload = W.onreadystatechange = null, W.parentNode.tagName == "HEAD" &&
|
|
3858
|
-
},
|
|
3857
|
+
z || this.readyState && this.readyState != "loaded" && this.readyState != "complete" || (z = !0, A && A(null), W.onload = W.onreadystatechange = null, W.parentNode.tagName == "HEAD" && D.removeChild(W));
|
|
3858
|
+
}, D.appendChild(W), setTimeout(function() {
|
|
3859
3859
|
z || (z = !0, A && A(Error("Script load timeout")));
|
|
3860
3860
|
}, k || 5e3), W;
|
|
3861
3861
|
}
|
|
@@ -3916,7 +3916,7 @@ function rl() {
|
|
|
3916
3916
|
function M(d) {
|
|
3917
3917
|
d.g && y(d.f, [d.a.c("wf", "loading")]), B(d, "loading");
|
|
3918
3918
|
}
|
|
3919
|
-
function
|
|
3919
|
+
function L(d) {
|
|
3920
3920
|
if (d.g) {
|
|
3921
3921
|
var x = l(d.f, d.a.c("wf", "active")), A = [], k = [d.a.c("wf", "loading")];
|
|
3922
3922
|
x || A.push(d.a.c("wf", "inactive")), y(d.f, A, k);
|
|
@@ -3930,10 +3930,10 @@ function rl() {
|
|
|
3930
3930
|
this.c = {};
|
|
3931
3931
|
}
|
|
3932
3932
|
function U(d, x, A) {
|
|
3933
|
-
var k = [],
|
|
3934
|
-
for (
|
|
3935
|
-
var W = d.c[
|
|
3936
|
-
W && k.push(W(x[
|
|
3933
|
+
var k = [], D;
|
|
3934
|
+
for (D in x) if (x.hasOwnProperty(D)) {
|
|
3935
|
+
var W = d.c[D];
|
|
3936
|
+
W && k.push(W(x[D], A));
|
|
3937
3937
|
}
|
|
3938
3938
|
return k;
|
|
3939
3939
|
}
|
|
@@ -3946,8 +3946,8 @@ function rl() {
|
|
|
3946
3946
|
function nt(d) {
|
|
3947
3947
|
return "display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:" + N(d.c) + ";" + ("font-style:" + C(d) + ";font-weight:" + (d.f + "00") + ";");
|
|
3948
3948
|
}
|
|
3949
|
-
function J(d, x, A, k,
|
|
3950
|
-
this.g = d, this.j = x, this.a = k, this.c = A, this.f =
|
|
3949
|
+
function J(d, x, A, k, D, W) {
|
|
3950
|
+
this.g = d, this.j = x, this.a = k, this.c = A, this.f = D || 3e3, this.h = W || void 0;
|
|
3951
3951
|
}
|
|
3952
3952
|
J.prototype.start = function() {
|
|
3953
3953
|
var d = this.c.o.document, x = this, A = o(), k = new Promise(function(z, q) {
|
|
@@ -3959,17 +3959,17 @@ function rl() {
|
|
|
3959
3959
|
});
|
|
3960
3960
|
}
|
|
3961
3961
|
K();
|
|
3962
|
-
}),
|
|
3963
|
-
|
|
3962
|
+
}), D = null, W = new Promise(function(z, q) {
|
|
3963
|
+
D = setTimeout(q, x.f);
|
|
3964
3964
|
});
|
|
3965
3965
|
Promise.race([W, k]).then(function() {
|
|
3966
|
-
|
|
3966
|
+
D && (clearTimeout(D), D = null), x.g(x.a);
|
|
3967
3967
|
}, function() {
|
|
3968
3968
|
x.j(x.a);
|
|
3969
3969
|
});
|
|
3970
3970
|
};
|
|
3971
|
-
function mt(d, x, A, k,
|
|
3972
|
-
this.v = d, this.B = x, this.c = A, this.a = k, this.s = z || "BESbswy", this.f = {}, this.w =
|
|
3971
|
+
function mt(d, x, A, k, D, W, z) {
|
|
3972
|
+
this.v = d, this.B = x, this.c = A, this.a = k, this.s = z || "BESbswy", this.f = {}, this.w = D || 3e3, this.u = W || null, this.m = this.j = this.h = this.g = null, this.g = new tt(this.c, this.s), this.h = new tt(this.c, this.s), this.j = new tt(this.c, this.s), this.m = new tt(this.c, this.s), d = new R(this.a.c + ",serif", O(this.a)), d = nt(d), this.g.a.style.cssText = d, d = new R(this.a.c + ",sans-serif", O(this.a)), d = nt(d), this.h.a.style.cssText = d, d = new R("serif", O(this.a)), d = nt(d), this.j.a.style.cssText = d, d = new R("sans-serif", O(this.a)), d = nt(d), this.m.a.style.cssText = d, ut(this.g), ut(this.h), ut(this.j), ut(this.m);
|
|
3973
3973
|
}
|
|
3974
3974
|
var at = { D: "serif", C: "sans-serif" }, gt = null;
|
|
3975
3975
|
function bt() {
|
|
@@ -4010,13 +4010,13 @@ function rl() {
|
|
|
4010
4010
|
}, lt.prototype.h = function(d) {
|
|
4011
4011
|
var x = this.a;
|
|
4012
4012
|
if (x.g) {
|
|
4013
|
-
var A = l(x.f, x.a.c("wf", d.c, O(d).toString(), "active")), k = [],
|
|
4014
|
-
A || k.push(x.a.c("wf", d.c, O(d).toString(), "inactive")), y(x.f, k,
|
|
4013
|
+
var A = l(x.f, x.a.c("wf", d.c, O(d).toString(), "active")), k = [], D = [x.a.c("wf", d.c, O(d).toString(), "loading")];
|
|
4014
|
+
A || k.push(x.a.c("wf", d.c, O(d).toString(), "inactive")), y(x.f, k, D);
|
|
4015
4015
|
}
|
|
4016
4016
|
B(x, "fontinactive", d), Ht(this);
|
|
4017
4017
|
};
|
|
4018
4018
|
function Ht(d) {
|
|
4019
|
-
--d.f == 0 && d.j && (d.m ? (d = d.a, d.g && y(d.f, [d.a.c("wf", "active")], [d.a.c("wf", "loading"), d.a.c("wf", "inactive")]), B(d, "active")) :
|
|
4019
|
+
--d.f == 0 && d.j && (d.m ? (d = d.a, d.g && y(d.f, [d.a.c("wf", "active")], [d.a.c("wf", "loading"), d.a.c("wf", "inactive")]), B(d, "active")) : L(d.a));
|
|
4020
4020
|
}
|
|
4021
4021
|
function It(d) {
|
|
4022
4022
|
this.j = d, this.a = new Z(), this.h = 0, this.f = this.g = !0;
|
|
@@ -4024,11 +4024,11 @@ function rl() {
|
|
|
4024
4024
|
It.prototype.load = function(d) {
|
|
4025
4025
|
this.c = new i(this.j, d.context || this.j), this.g = d.events !== !1, this.f = d.classes !== !1, Vt(this, new P(this.c, d), d);
|
|
4026
4026
|
};
|
|
4027
|
-
function Lt(d, x, A, k,
|
|
4027
|
+
function Lt(d, x, A, k, D) {
|
|
4028
4028
|
var W = --d.h == 0;
|
|
4029
4029
|
(d.f || d.g) && setTimeout(function() {
|
|
4030
|
-
var z =
|
|
4031
|
-
if (A.length === 0 && W)
|
|
4030
|
+
var z = D || null, q = k || null || {};
|
|
4031
|
+
if (A.length === 0 && W) L(x.a);
|
|
4032
4032
|
else {
|
|
4033
4033
|
x.f += A.length, W && (x.j = W);
|
|
4034
4034
|
var K, it = [];
|
|
@@ -4045,10 +4045,10 @@ function rl() {
|
|
|
4045
4045
|
}, 0);
|
|
4046
4046
|
}
|
|
4047
4047
|
function Vt(d, x, A) {
|
|
4048
|
-
var
|
|
4048
|
+
var D = [], k = A.timeout;
|
|
4049
4049
|
M(x);
|
|
4050
|
-
var
|
|
4051
|
-
for (d.h =
|
|
4050
|
+
var D = U(d.a, A, d.c), W = new lt(d.c, x, k);
|
|
4051
|
+
for (d.h = D.length, x = 0, A = D.length; x < A; x++) D[x].load(function(z, q, K) {
|
|
4052
4052
|
Lt(d, W, z, q, K);
|
|
4053
4053
|
});
|
|
4054
4054
|
}
|
|
@@ -4068,10 +4068,10 @@ function rl() {
|
|
|
4068
4068
|
x();
|
|
4069
4069
|
}, 50);
|
|
4070
4070
|
}
|
|
4071
|
-
var A = this, k = A.a.projectId,
|
|
4071
|
+
var A = this, k = A.a.projectId, D = A.a.version;
|
|
4072
4072
|
if (k) {
|
|
4073
4073
|
var W = A.c.o;
|
|
4074
|
-
p(this.c, (A.a.api || "https://fast.fonts.net/jsapi") + "/" + k + ".js" + (
|
|
4074
|
+
p(this.c, (A.a.api || "https://fast.fonts.net/jsapi") + "/" + k + ".js" + (D ? "?v=" + D : ""), function(z) {
|
|
4075
4075
|
z ? d([]) : (W["__MonotypeConfiguration__" + k] = function() {
|
|
4076
4076
|
return A.a;
|
|
4077
4077
|
}, x());
|
|
@@ -4082,10 +4082,10 @@ function rl() {
|
|
|
4082
4082
|
this.c = d, this.a = x;
|
|
4083
4083
|
}
|
|
4084
4084
|
Ne.prototype.load = function(d) {
|
|
4085
|
-
var x, A, k = this.a.urls || [],
|
|
4085
|
+
var x, A, k = this.a.urls || [], D = this.a.families || [], W = this.a.testStrings || {}, z = new v();
|
|
4086
4086
|
for (x = 0, A = k.length; x < A; x++) h(this.c, k[x], b(z));
|
|
4087
4087
|
var q = [];
|
|
4088
|
-
for (x = 0, A =
|
|
4088
|
+
for (x = 0, A = D.length; x < A; x++) if (k = D[x].split(":"), k[1]) for (var K = k[1].split(","), it = 0; it < K.length; it += 1) q.push(new R(k[0], K[it]));
|
|
4089
4089
|
else q.push(new R(k[0]));
|
|
4090
4090
|
E(z, function() {
|
|
4091
4091
|
d(q, W);
|
|
@@ -4097,10 +4097,10 @@ function rl() {
|
|
|
4097
4097
|
var on = "https://fonts.googleapis.com/css";
|
|
4098
4098
|
function an(d, x) {
|
|
4099
4099
|
for (var A = x.length, k = 0; k < A; k++) {
|
|
4100
|
-
var
|
|
4101
|
-
|
|
4100
|
+
var D = x[k].split(":");
|
|
4101
|
+
D.length == 3 && d.f.push(D.pop());
|
|
4102
4102
|
var W = "";
|
|
4103
|
-
|
|
4103
|
+
D.length == 2 && D[1] != "" && (W = ":"), d.a.push(D.join(W));
|
|
4104
4104
|
}
|
|
4105
4105
|
}
|
|
4106
4106
|
function sn(d) {
|
|
@@ -4115,7 +4115,7 @@ function rl() {
|
|
|
4115
4115
|
var le = { latin: "BESbswy", "latin-ext": "çöüğş", cyrillic: "йяЖ", greek: "αβΣ", khmer: "កខគ", Hanuman: "កខគ" }, cn = { thin: "1", extralight: "2", "extra-light": "2", ultralight: "2", "ultra-light": "2", light: "3", regular: "4", book: "4", medium: "5", "semi-bold": "6", semibold: "6", "demi-bold": "6", demibold: "6", bold: "7", "extra-bold": "8", extrabold: "8", "ultra-bold": "8", ultrabold: "8", black: "9", heavy: "9", l: "3", r: "4", b: "7" }, un = { i: "i", italic: "i", n: "n", normal: "n" }, ln = /^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;
|
|
4116
4116
|
function fn(d) {
|
|
4117
4117
|
for (var x = d.f.length, A = 0; A < x; A++) {
|
|
4118
|
-
var k = d.f[A].split(":"),
|
|
4118
|
+
var k = d.f[A].split(":"), D = k[0].replace(/\+/g, " "), W = ["n4"];
|
|
4119
4119
|
if (2 <= k.length) {
|
|
4120
4120
|
var z, q = k[1];
|
|
4121
4121
|
if (z = [], q) for (var q = q.split(","), K = q.length, it = 0; it < K; it++) {
|
|
@@ -4131,9 +4131,9 @@ function rl() {
|
|
|
4131
4131
|
} else ct = "";
|
|
4132
4132
|
ct && z.push(ct);
|
|
4133
4133
|
}
|
|
4134
|
-
0 < z.length && (W = z), k.length == 3 && (k = k[2], z = [], k = k ? k.split(",") : z, 0 < k.length && (k = le[k[0]]) && (d.c[
|
|
4134
|
+
0 < z.length && (W = z), k.length == 3 && (k = k[2], z = [], k = k ? k.split(",") : z, 0 < k.length && (k = le[k[0]]) && (d.c[D] = k));
|
|
4135
4135
|
}
|
|
4136
|
-
for (d.c[
|
|
4136
|
+
for (d.c[D] || (k = le[D]) && (d.c[D] = k), k = 0; k < W.length; k += 1) d.a.push(new R(D, W[k]));
|
|
4137
4137
|
}
|
|
4138
4138
|
}
|
|
4139
4139
|
function Ie(d, x) {
|
|
@@ -4141,9 +4141,9 @@ function rl() {
|
|
|
4141
4141
|
}
|
|
4142
4142
|
var fe = { Arimo: !0, Cousine: !0, Tinos: !0 };
|
|
4143
4143
|
Ie.prototype.load = function(d) {
|
|
4144
|
-
var x = new v(), A = this.c, k = new ce(this.a.api, this.a.text),
|
|
4145
|
-
an(k,
|
|
4146
|
-
var W = new ue(
|
|
4144
|
+
var x = new v(), A = this.c, k = new ce(this.a.api, this.a.text), D = this.a.families;
|
|
4145
|
+
an(k, D);
|
|
4146
|
+
var W = new ue(D);
|
|
4147
4147
|
fn(W), h(A, sn(k), b(x)), E(x, function() {
|
|
4148
4148
|
d(W.a, W.c, fe);
|
|
4149
4149
|
});
|
|
@@ -4157,12 +4157,12 @@ function rl() {
|
|
|
4157
4157
|
if (k) d([]);
|
|
4158
4158
|
else if (A.Typekit && A.Typekit.config && A.Typekit.config.fn) {
|
|
4159
4159
|
k = A.Typekit.config.fn;
|
|
4160
|
-
for (var
|
|
4160
|
+
for (var D = [], W = 0; W < k.length; W += 2) for (var z = k[W], q = k[W + 1], K = 0; K < q.length; K++) D.push(new R(z, q[K]));
|
|
4161
4161
|
try {
|
|
4162
4162
|
A.Typekit.load({ events: !1, classes: !1, async: !0 });
|
|
4163
4163
|
} catch {
|
|
4164
4164
|
}
|
|
4165
|
-
d(
|
|
4165
|
+
d(D);
|
|
4166
4166
|
}
|
|
4167
4167
|
}, 2e3) : d([]);
|
|
4168
4168
|
};
|
|
@@ -4171,14 +4171,14 @@ function rl() {
|
|
|
4171
4171
|
}
|
|
4172
4172
|
Ee.prototype.load = function(d) {
|
|
4173
4173
|
var x = this.f.id, A = this.c.o, k = this;
|
|
4174
|
-
x ? (A.__webfontfontdeckmodule__ || (A.__webfontfontdeckmodule__ = {}), A.__webfontfontdeckmodule__[x] = function(
|
|
4174
|
+
x ? (A.__webfontfontdeckmodule__ || (A.__webfontfontdeckmodule__ = {}), A.__webfontfontdeckmodule__[x] = function(D, W) {
|
|
4175
4175
|
for (var z = 0, q = W.fonts.length; z < q; ++z) {
|
|
4176
4176
|
var K = W.fonts[z];
|
|
4177
4177
|
k.a.push(new R(K.name, I("font-weight:" + K.weight + ";font-style:" + K.style)));
|
|
4178
4178
|
}
|
|
4179
4179
|
d(k.a);
|
|
4180
|
-
}, p(this.c, (this.f.api || "https://f.fontdeck.com/s/css/js/") + u(this.c) + "/" + x + ".js", function(
|
|
4181
|
-
|
|
4180
|
+
}, p(this.c, (this.f.api || "https://f.fontdeck.com/s/css/js/") + u(this.c) + "/" + x + ".js", function(D) {
|
|
4181
|
+
D && d([]);
|
|
4182
4182
|
})) : d([]);
|
|
4183
4183
|
};
|
|
4184
4184
|
var T = new It(window);
|
|
@@ -4859,8 +4859,8 @@ function $a(t, e, n) {
|
|
|
4859
4859
|
else if (I === "")
|
|
4860
4860
|
p.elm = o.createTextNode(p.text);
|
|
4861
4861
|
else if (I !== void 0) {
|
|
4862
|
-
const P = I.indexOf("#"), M = I.indexOf(".", P),
|
|
4863
|
-
for (p.elm = tt,
|
|
4862
|
+
const P = I.indexOf("#"), M = I.indexOf(".", P), L = P > 0 ? P : I.length, B = M > 0 ? M : I.length, Z = P !== -1 || M !== -1 ? I.slice(0, Math.min(L, B)) : I, U = N?.ns, tt = U === void 0 ? o.createElement(Z, N) : o.createElementNS(U, Z, N);
|
|
4863
|
+
for (p.elm = tt, L < B && tt.setAttribute("id", I.slice(L + 1, B)), M > 0 && tt.setAttribute("class", I.slice(B + 1).replace(/\./g, " ")), S = 0; S < r.create.length; ++S)
|
|
4864
4864
|
r.create[S](jr, p);
|
|
4865
4865
|
if (Re(p.text) && (!Qe(C) || C.length === 0) && o.appendChild(tt, o.createTextNode(p.text)), Qe(C))
|
|
4866
4866
|
for (S = 0; S < C.length; ++S) {
|
|
@@ -4915,9 +4915,9 @@ function $a(t, e, n) {
|
|
|
4915
4915
|
}
|
|
4916
4916
|
}
|
|
4917
4917
|
function u(p, v, b, E) {
|
|
4918
|
-
let g = 0, w = 0, R = v.length - 1, S = v[0], N = v[R], O = b.length - 1, C = b[0], I = b[O], P, M,
|
|
4918
|
+
let g = 0, w = 0, R = v.length - 1, S = v[0], N = v[R], O = b.length - 1, C = b[0], I = b[O], P, M, L, B;
|
|
4919
4919
|
for (; g <= R && w <= O; )
|
|
4920
|
-
S == null ? S = v[++g] : N == null ? N = v[--R] : C == null ? C = b[++w] : I == null ? I = b[--O] : gn(S, C) ? (h(S, C, E), S = v[++g], C = b[++w]) : gn(N, I) ? (h(N, I, E), N = v[--R], I = b[--O]) : gn(S, I) ? (h(S, I, E), o.insertBefore(p, S.elm, o.nextSibling(N.elm)), S = v[++g], I = b[--O]) : gn(N, C) ? (h(N, C, E), o.insertBefore(p, N.elm, S.elm), N = v[--R], C = b[++w]) : (P === void 0 && (P = ef(v, g, R)), M = P[C.key], M === void 0 ? (o.insertBefore(p, c(C, E), S.elm), C = b[++w]) : P[I.key] === void 0 ? (o.insertBefore(p, c(I, E), o.nextSibling(N.elm)), I = b[--O]) : (
|
|
4920
|
+
S == null ? S = v[++g] : N == null ? N = v[--R] : C == null ? C = b[++w] : I == null ? I = b[--O] : gn(S, C) ? (h(S, C, E), S = v[++g], C = b[++w]) : gn(N, I) ? (h(N, I, E), N = v[--R], I = b[--O]) : gn(S, I) ? (h(S, I, E), o.insertBefore(p, S.elm, o.nextSibling(N.elm)), S = v[++g], I = b[--O]) : gn(N, C) ? (h(N, C, E), o.insertBefore(p, N.elm, S.elm), N = v[--R], C = b[++w]) : (P === void 0 && (P = ef(v, g, R)), M = P[C.key], M === void 0 ? (o.insertBefore(p, c(C, E), S.elm), C = b[++w]) : P[I.key] === void 0 ? (o.insertBefore(p, c(I, E), o.nextSibling(N.elm)), I = b[--O]) : (L = v[M], L.sel !== C.sel ? o.insertBefore(p, c(C, E), S.elm) : (h(L, C, E), v[M] = void 0, o.insertBefore(p, L.elm, S.elm)), C = b[++w]));
|
|
4921
4921
|
w <= O && (B = b[O + 1] == null ? null : b[O + 1].elm, f(p, B, b, w, O, E)), g <= R && l(p, v, g, R);
|
|
4922
4922
|
}
|
|
4923
4923
|
function h(p, v, b) {
|
|
@@ -4933,8 +4933,8 @@ function $a(t, e, n) {
|
|
|
4933
4933
|
r.update[B](p, v);
|
|
4934
4934
|
(O = (N = (S = v.data) === null || S === void 0 ? void 0 : S.hook) === null || N === void 0 ? void 0 : N.update) === null || O === void 0 || O.call(N, p, v);
|
|
4935
4935
|
}
|
|
4936
|
-
const M = p.children,
|
|
4937
|
-
v.text === void 0 ? M !== void 0 &&
|
|
4936
|
+
const M = p.children, L = v.children;
|
|
4937
|
+
v.text === void 0 ? M !== void 0 && L !== void 0 ? M !== L && u(P, M, L, b) : L !== void 0 ? (p.text !== void 0 && o.setTextContent(P, ""), f(P, null, L, 0, L.length - 1, b)) : M !== void 0 ? l(P, M, 0, M.length - 1) : p.text !== void 0 && o.setTextContent(P, "") : p.text !== v.text && (M !== void 0 && l(P, M, 0, M.length - 1), o.setTextContent(P, v.text)), (C = I?.postpatch) === null || C === void 0 || C.call(I, p, v);
|
|
4938
4938
|
}
|
|
4939
4939
|
return function(p, v) {
|
|
4940
4940
|
let b, E, g;
|
|
@@ -5874,7 +5874,7 @@ const Cf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5874
5874
|
addHook: I,
|
|
5875
5875
|
runStepBeginHooks: P,
|
|
5876
5876
|
runStepPreRenderHooks: M,
|
|
5877
|
-
runStepPostRenderHooks:
|
|
5877
|
+
runStepPostRenderHooks: L,
|
|
5878
5878
|
runStepEndHooks: B,
|
|
5879
5879
|
runStepErrorHooks: Z,
|
|
5880
5880
|
removeStepHooks: U,
|
|
@@ -5940,7 +5940,7 @@ const Cf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5940
5940
|
// injecting action coming from hooks
|
|
5941
5941
|
runStepBeginHooks: P,
|
|
5942
5942
|
runStepPreRenderHooks: M,
|
|
5943
|
-
runStepPostRenderHooks:
|
|
5943
|
+
runStepPostRenderHooks: L,
|
|
5944
5944
|
runStepEndHooks: B,
|
|
5945
5945
|
runStepErrorHooks: Z,
|
|
5946
5946
|
runStepContainerChangeHooks: tt,
|
|
@@ -7467,7 +7467,7 @@ const tp = (t) => ({
|
|
|
7467
7467
|
}, h = To(o), p = _o(h), v = await a.getDimensions(f), b = h === "y", E = b ? "top" : "left", g = b ? "bottom" : "right", w = b ? "clientHeight" : "clientWidth", R = i.reference[p] + i.reference[h] - u[h] - i.floating[p], S = u[h] - i.reference[h], N = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(f));
|
|
7468
7468
|
let O = N ? N[w] : 0;
|
|
7469
7469
|
(!O || !await (a.isElement == null ? void 0 : a.isElement(N))) && (O = s.floating[w] || i.floating[p]);
|
|
7470
|
-
const C = R / 2 - S / 2, I = O / 2 - v[p] / 2 - 1, P = Rn(l[E], I), M = Rn(l[g], I),
|
|
7470
|
+
const C = R / 2 - S / 2, I = O / 2 - v[p] / 2 - 1, P = Rn(l[E], I), M = Rn(l[g], I), L = P, B = O - v[p] - M, Z = O / 2 - v[p] / 2 + C, U = io(L, Z, B), tt = !c.arrow && re(o) != null && Z !== U && i.reference[p] / 2 - (Z < L ? P : M) - v[p] / 2 < 0, ut = tt ? Z < L ? Z - L : Z - B : 0;
|
|
7471
7471
|
return {
|
|
7472
7472
|
[h]: u[h] + ut,
|
|
7473
7473
|
data: {
|
|
@@ -7530,7 +7530,7 @@ const np = function(t) {
|
|
|
7530
7530
|
const P = re(I.placement);
|
|
7531
7531
|
return [I.placement, P && y ? (
|
|
7532
7532
|
// Check along the mainAxis and main crossAxis side.
|
|
7533
|
-
I.overflows.slice(0, 2).reduce((M,
|
|
7533
|
+
I.overflows.slice(0, 2).reduce((M, L) => M + L, 0)
|
|
7534
7534
|
) : (
|
|
7535
7535
|
// Check only the mainAxis.
|
|
7536
7536
|
I.overflows[0]
|
|
@@ -8134,7 +8134,7 @@ function $p() {
|
|
|
8134
8134
|
return y.Date.now();
|
|
8135
8135
|
};
|
|
8136
8136
|
function b(S, N, O) {
|
|
8137
|
-
var C, I, P, M,
|
|
8137
|
+
var C, I, P, M, L, B, Z = 0, U = !1, tt = !1, ut = !0;
|
|
8138
8138
|
if (typeof S != "function")
|
|
8139
8139
|
throw new TypeError(t);
|
|
8140
8140
|
N = R(N) || 0, E(O) && (U = !!O.leading, tt = "maxWait" in O, P = tt ? h(R(O.maxWait) || 0, N) : P, ut = "trailing" in O ? !!O.trailing : ut);
|
|
@@ -8143,7 +8143,7 @@ function $p() {
|
|
|
8143
8143
|
return C = I = void 0, Z = G, M = S.apply(Et, lt), M;
|
|
8144
8144
|
}
|
|
8145
8145
|
function J(G) {
|
|
8146
|
-
return Z = G,
|
|
8146
|
+
return Z = G, L = setTimeout(gt, N), U ? nt(G) : M;
|
|
8147
8147
|
}
|
|
8148
8148
|
function mt(G) {
|
|
8149
8149
|
var lt = G - B, Et = G - Z, Ht = N - lt;
|
|
@@ -8157,26 +8157,26 @@ function $p() {
|
|
|
8157
8157
|
var G = v();
|
|
8158
8158
|
if (at(G))
|
|
8159
8159
|
return bt(G);
|
|
8160
|
-
|
|
8160
|
+
L = setTimeout(gt, mt(G));
|
|
8161
8161
|
}
|
|
8162
8162
|
function bt(G) {
|
|
8163
|
-
return
|
|
8163
|
+
return L = void 0, ut && C ? nt(G) : (C = I = void 0, M);
|
|
8164
8164
|
}
|
|
8165
8165
|
function Q() {
|
|
8166
|
-
|
|
8166
|
+
L !== void 0 && clearTimeout(L), Z = 0, C = B = I = L = void 0;
|
|
8167
8167
|
}
|
|
8168
8168
|
function F() {
|
|
8169
|
-
return
|
|
8169
|
+
return L === void 0 ? M : bt(v());
|
|
8170
8170
|
}
|
|
8171
8171
|
function Nt() {
|
|
8172
8172
|
var G = v(), lt = at(G);
|
|
8173
8173
|
if (C = arguments, I = this, B = G, lt) {
|
|
8174
|
-
if (
|
|
8174
|
+
if (L === void 0)
|
|
8175
8175
|
return J(B);
|
|
8176
8176
|
if (tt)
|
|
8177
|
-
return
|
|
8177
|
+
return L = setTimeout(gt, N), nt(B);
|
|
8178
8178
|
}
|
|
8179
|
-
return
|
|
8179
|
+
return L === void 0 && (L = setTimeout(gt, N)), M;
|
|
8180
8180
|
}
|
|
8181
8181
|
return Nt.cancel = Q, Nt.flush = F, Nt;
|
|
8182
8182
|
}
|
|
@@ -8261,7 +8261,7 @@ function Wp() {
|
|
|
8261
8261
|
return T ? "Symbol(src)_1." + T : "";
|
|
8262
8262
|
})(), O = w.toString, C = R.hasOwnProperty, I = R.toString, P = RegExp(
|
|
8263
8263
|
"^" + O.call(C).replace(i, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
8264
|
-
), M = g.splice,
|
|
8264
|
+
), M = g.splice, L = le(f, "Map"), B = le(f, "Set"), Z = le(Object, "create");
|
|
8265
8265
|
function U(T) {
|
|
8266
8266
|
var $ = -1, d = T ? T.length : 0;
|
|
8267
8267
|
for (this.clear(); ++$ < d; ) {
|
|
@@ -8331,7 +8331,7 @@ function Wp() {
|
|
|
8331
8331
|
function lt() {
|
|
8332
8332
|
this.__data__ = {
|
|
8333
8333
|
hash: new U(),
|
|
8334
|
-
map: new (
|
|
8334
|
+
map: new (L || at)(),
|
|
8335
8335
|
string: new U()
|
|
8336
8336
|
};
|
|
8337
8337
|
}
|
|
@@ -8373,18 +8373,18 @@ function Wp() {
|
|
|
8373
8373
|
return $.test(ln(T));
|
|
8374
8374
|
}
|
|
8375
8375
|
function an(T, $, d) {
|
|
8376
|
-
var x = -1, A = y, k = T.length,
|
|
8376
|
+
var x = -1, A = y, k = T.length, D = !0, W = [], z = W;
|
|
8377
8377
|
if (k >= t) {
|
|
8378
8378
|
var q = sn(T);
|
|
8379
8379
|
if (q)
|
|
8380
8380
|
return E(q);
|
|
8381
|
-
|
|
8381
|
+
D = !1, A = p, z = new Vt();
|
|
8382
8382
|
} else
|
|
8383
8383
|
z = W;
|
|
8384
8384
|
t:
|
|
8385
8385
|
for (; ++x < k; ) {
|
|
8386
8386
|
var K = T[x], it = K;
|
|
8387
|
-
if (K = K !== 0 ? K : 0,
|
|
8387
|
+
if (K = K !== 0 ? K : 0, D && it === it) {
|
|
8388
8388
|
for (var ct = z.length; ct--; )
|
|
8389
8389
|
if (z[ct] === it)
|
|
8390
8390
|
continue t;
|
|
@@ -8661,7 +8661,7 @@ const Xp = (t, e) => {
|
|
|
8661
8661
|
rootId: I,
|
|
8662
8662
|
placement: P = "auto",
|
|
8663
8663
|
distance: M,
|
|
8664
|
-
skidding:
|
|
8664
|
+
skidding: L,
|
|
8665
8665
|
placementUnit: B = "pixels",
|
|
8666
8666
|
shouldAutoCalculateZIndex: Z = !0
|
|
8667
8667
|
} = S(), U = Fi(C.selector, N), tt = N.find((J) => J.type === "@appcues/toggle")?.config?.startHidden ?? !0;
|
|
@@ -8685,12 +8685,12 @@ const Xp = (t, e) => {
|
|
|
8685
8685
|
placement: P,
|
|
8686
8686
|
targetEl: J,
|
|
8687
8687
|
distance: M,
|
|
8688
|
-
skidding:
|
|
8688
|
+
skidding: L,
|
|
8689
8689
|
placementUnit: B
|
|
8690
8690
|
}), bt = [
|
|
8691
8691
|
Ip(({ placement: Lt }) => ({
|
|
8692
8692
|
...gt,
|
|
8693
|
-
crossAxis: at && /start|end/gm.test(Lt) ? Up(
|
|
8693
|
+
crossAxis: at && /start|end/gm.test(Lt) ? Up(L, Lt) : gt.crossAxis
|
|
8694
8694
|
}))
|
|
8695
8695
|
];
|
|
8696
8696
|
P === "auto" && bt.push(
|
|
@@ -8846,12 +8846,12 @@ function sh({ addHook: t }) {
|
|
|
8846
8846
|
const S = Ue(
|
|
8847
8847
|
f(l.selector),
|
|
8848
8848
|
l.filters
|
|
8849
|
-
), N = S.length === 1, O = S.length > 1, C = S.length === 0, I = (
|
|
8849
|
+
), N = S.length === 1, O = S.length > 1, C = S.length === 0, I = (L) => {
|
|
8850
8850
|
const B = y().document.createElement("div");
|
|
8851
8851
|
if (R && u.includes("inner"))
|
|
8852
|
-
for (;
|
|
8853
|
-
|
|
8854
|
-
if (
|
|
8852
|
+
for (; L.firstChild; )
|
|
8853
|
+
L.firstChild.remove();
|
|
8854
|
+
if (L.insertAdjacentElement(
|
|
8855
8855
|
oh[u],
|
|
8856
8856
|
B
|
|
8857
8857
|
) == null) {
|
|
@@ -8869,7 +8869,7 @@ function sh({ addHook: t }) {
|
|
|
8869
8869
|
};
|
|
8870
8870
|
if (N) {
|
|
8871
8871
|
I(S[0]);
|
|
8872
|
-
const
|
|
8872
|
+
const L = {
|
|
8873
8873
|
display: w,
|
|
8874
8874
|
verticalAlign: h
|
|
8875
8875
|
}, { x: B, y: Z } = ah({
|
|
@@ -8879,17 +8879,17 @@ function sh({ addHook: t }) {
|
|
|
8879
8879
|
targetEl: S[0]
|
|
8880
8880
|
});
|
|
8881
8881
|
if (p)
|
|
8882
|
-
|
|
8882
|
+
L.position = "absolute", L.transform = `translate(${B}, ${Z})`;
|
|
8883
8883
|
else {
|
|
8884
8884
|
const U = u.includes("left") ? "right" : "left";
|
|
8885
|
-
|
|
8885
|
+
L[`margin-${U}`] = B, L[`margin-${h}`] = Z;
|
|
8886
8886
|
}
|
|
8887
8887
|
if (g) {
|
|
8888
|
-
|
|
8888
|
+
L.position = "sticky";
|
|
8889
8889
|
const U = u.includes("left") ? "top" : "bottom";
|
|
8890
|
-
|
|
8890
|
+
L[U] = 0, L.zIndex = ll;
|
|
8891
8891
|
}
|
|
8892
|
-
c(
|
|
8892
|
+
c(L), M();
|
|
8893
8893
|
return;
|
|
8894
8894
|
}
|
|
8895
8895
|
O && a(
|
|
@@ -8917,13 +8917,11 @@ St(ih, sh);
|
|
|
8917
8917
|
const ch = (t, e, n) => {
|
|
8918
8918
|
const { height: r, width: o, left: i, top: a } = t.getBoundingClientRect();
|
|
8919
8919
|
return Math.floor(
|
|
8920
|
-
Math.
|
|
8921
|
-
(e - (i + o / 2)) ** 2 + (n - (a + r / 2)) ** 2
|
|
8922
|
-
) / 2
|
|
8920
|
+
Math.hypot(e - (i + o / 2), n - (a + r / 2)) / 2
|
|
8923
8921
|
);
|
|
8924
8922
|
}, uh = (t, e) => {
|
|
8925
|
-
const { height: n, width: r } = t.getBoundingClientRect(), o = Math.floor(Math.
|
|
8926
|
-
return (e
|
|
8923
|
+
const { height: n, width: r } = t.getBoundingClientRect(), o = Math.floor(Math.hypot(n, r) / 4);
|
|
8924
|
+
return Math.max(e, 0) + o;
|
|
8927
8925
|
}, lh = (t) => t.key === "Escape", fh = (t, e) => ![...t.composedPath()].filter((n) => n.nodeType === Node.ELEMENT_NODE).some((n) => n?.contains?.(e) ?? !1), Bn = (t, e) => ({
|
|
8928
8926
|
remove: () => {
|
|
8929
8927
|
t.removeEventListener("keydown", e), t.removeEventListener("click", e, !0);
|
|
@@ -8992,18 +8990,18 @@ const ch = (t, e, n) => {
|
|
|
8992
8990
|
(P) => Ui[P.type](P.config, g)
|
|
8993
8991
|
), i && l.length === 0) {
|
|
8994
8992
|
const P = R.querySelector(":first-child")[0];
|
|
8995
|
-
f = (
|
|
8996
|
-
(lh(
|
|
8993
|
+
f = (L) => {
|
|
8994
|
+
(lh(L) || fh(L, C[0])) && v({ on: E }, g);
|
|
8997
8995
|
};
|
|
8998
|
-
const M = h.map((
|
|
8999
|
-
|
|
8996
|
+
const M = h.map((L) => L.contentDocument?.body ? Bn(
|
|
8997
|
+
L.contentDocument.body,
|
|
9000
8998
|
f
|
|
9001
8999
|
) : null).filter(Boolean);
|
|
9002
9000
|
l.push(
|
|
9003
9001
|
Bn(O, f),
|
|
9004
9002
|
Bn(P, f),
|
|
9005
9003
|
...M
|
|
9006
|
-
), l.forEach((
|
|
9004
|
+
), l.forEach((L) => L.start());
|
|
9007
9005
|
}
|
|
9008
9006
|
if (u || (c = (P) => {
|
|
9009
9007
|
if (P.type === "keydown" && !["Enter", " "].includes(P.key))
|
|
@@ -9500,7 +9498,7 @@ const nv = (t) => class extends t.HTMLElement {
|
|
|
9500
9498
|
`;
|
|
9501
9499
|
}
|
|
9502
9500
|
async connectedCallback() {
|
|
9503
|
-
this.shadowRoot.append(this.hideContentStyles), this.shadowRoot.append(...this.childNodes), this.getAttribute("themeId") && await Ia(this), this.shadowRoot.prepend(this.webComponentStyles), this.
|
|
9501
|
+
this.shadowRoot.append(this.hideContentStyles), this.shadowRoot.append(...this.childNodes), this.getAttribute("themeId") && await Ia(this), this.shadowRoot.prepend(this.webComponentStyles), this.hideContentStyles.remove();
|
|
9504
9502
|
}
|
|
9505
9503
|
}, Fr = /* @__PURE__ */ new WeakMap(), rv = (t = () => window) => {
|
|
9506
9504
|
const e = t();
|