trimble-terra 0.0.437 → 0.0.438
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.
|
@@ -388,7 +388,7 @@ function Ql() {
|
|
|
388
388
|
if (Ne(m))
|
|
389
389
|
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ie(m)), ye(m);
|
|
390
390
|
}
|
|
391
|
-
var We = v.ReactCurrentOwner,
|
|
391
|
+
var We = v.ReactCurrentOwner, Ke = {
|
|
392
392
|
key: !0,
|
|
393
393
|
ref: !0,
|
|
394
394
|
__self: !0,
|
|
@@ -469,7 +469,7 @@ function Ql() {
|
|
|
469
469
|
var ve, de = {}, ce = null, Ie = null;
|
|
470
470
|
z !== void 0 && (je(z), ce = "" + z), Vt(B) && (je(B.key), ce = "" + B.key), Wt(B) && (Ie = B.ref, Gt(B, he));
|
|
471
471
|
for (ve in B)
|
|
472
|
-
Ae.call(B, ve) && !
|
|
472
|
+
Ae.call(B, ve) && !Ke.hasOwnProperty(ve) && (de[ve] = B[ve]);
|
|
473
473
|
if (m && m.defaultProps) {
|
|
474
474
|
var we = m.defaultProps;
|
|
475
475
|
for (ve in we)
|
|
@@ -910,7 +910,7 @@ const qs = (e, t, n) => {
|
|
|
910
910
|
)
|
|
911
911
|
] })
|
|
912
912
|
] });
|
|
913
|
-
},
|
|
913
|
+
}, Xe = () => {
|
|
914
914
|
const [e, t] = $(0);
|
|
915
915
|
return me(() => {
|
|
916
916
|
const n = () => {
|
|
@@ -925,7 +925,7 @@ const qs = (e, t, n) => {
|
|
|
925
925
|
}, Ks = ({ label: e, onSearch: t = () => {
|
|
926
926
|
}, autoPopulateText: n, onChange: o = () => {
|
|
927
927
|
} }) => {
|
|
928
|
-
const { width: s } =
|
|
928
|
+
const { width: s } = Xe(), [a, i] = $(""), l = (p) => {
|
|
929
929
|
i(p.target.value), o && o(p.target.value);
|
|
930
930
|
}, d = (p) => {
|
|
931
931
|
p.preventDefault(), t(a);
|
|
@@ -1168,7 +1168,7 @@ const rd = /* @__PURE__ */ gn(td), nd = (e, t) => {
|
|
|
1168
1168
|
const n = parseInt((e / t * 2 - 1).toFixed(2)) * -1;
|
|
1169
1169
|
return n > 1 ? 1 : n < -1 ? -1 : n;
|
|
1170
1170
|
}, od = (e) => {
|
|
1171
|
-
var ne, oe, J, k, V, D, Y, P, te, ge, Ce, Ae, De, K, Ee, ee, pe, re, ie, Ne, ye, je, We,
|
|
1171
|
+
var ne, oe, J, k, V, D, Y, P, te, ge, Ce, Ae, De, K, Ee, ee, pe, re, ie, Ne, ye, je, We, Ke;
|
|
1172
1172
|
const {
|
|
1173
1173
|
focalPointImage: t,
|
|
1174
1174
|
alt: n,
|
|
@@ -1348,7 +1348,7 @@ const rd = /* @__PURE__ */ gn(td), nd = (e, t) => {
|
|
|
1348
1348
|
src: `${M(j)}`,
|
|
1349
1349
|
alt: n || "",
|
|
1350
1350
|
className: `ter-focused-image ${"focused-image-" + H}`,
|
|
1351
|
-
style: { opacity: G || (
|
|
1351
|
+
style: { opacity: G || (Ke = Q == null ? void 0 : Q.current) != null && Ke.complete ? 1 : 0 },
|
|
1352
1352
|
onLoad: () => R(!0)
|
|
1353
1353
|
}
|
|
1354
1354
|
)
|
|
@@ -3995,7 +3995,7 @@ const Ci = /* @__PURE__ */ gn(Qa), ar = ({
|
|
|
3995
3995
|
featureItems: c,
|
|
3996
3996
|
onSlideChange: h
|
|
3997
3997
|
}) => {
|
|
3998
|
-
const [j, y] = $(f), [w, v] = $(!1), x = Fe(null), b = Fe(null), { width: N } =
|
|
3998
|
+
const [j, y] = $(f), [w, v] = $(!1), x = Fe(null), b = Fe(null), { width: N } = Xe(), C = () => {
|
|
3999
3999
|
var L, T;
|
|
4000
4000
|
if (o === "testimonials" && ((T = (L = x.current) == null ? void 0 : L.innerSlider) != null && T.list)) {
|
|
4001
4001
|
const g = x.current.innerSlider.list, W = g.querySelectorAll(".t2-testimonial"), X = Array.from(W).reduce((E, F) => Math.max(E, F.offsetHeight), 0);
|
|
@@ -4269,26 +4269,27 @@ const Ci = /* @__PURE__ */ gn(Qa), ar = ({
|
|
|
4269
4269
|
subheader: o,
|
|
4270
4270
|
description: s,
|
|
4271
4271
|
backgroundImage: a,
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4272
|
+
overlayOption: i,
|
|
4273
|
+
presetTheme: l,
|
|
4274
|
+
buttons: d,
|
|
4275
|
+
isHeaderBig: u,
|
|
4276
|
+
isWrapped: p,
|
|
4277
|
+
searchComponent: f
|
|
4277
4278
|
}) => {
|
|
4278
|
-
const
|
|
4279
|
-
`t2-simple-hero__header t2-layout__header ${
|
|
4279
|
+
const c = Re(l || ""), h = `t2-simple-hero ${l} ${c} `, j = `${p ? "t2-wrapper" : ""}`, w = _e(
|
|
4280
|
+
`t2-simple-hero__header t2-layout__header ${u ? "t2-biggie" : ""} ${e ? "t2-simple-hero__header--no-eyebrow" : ""}`,
|
|
4280
4281
|
t || "",
|
|
4281
4282
|
n
|
|
4282
|
-
),
|
|
4283
|
+
), v = Be(l || ""), x = i === "dark" ? "t2-simple-hero--dark-overlay" : i === "light" ? "t2-simple-hero--light-overlay" : "t2-simple-hero--no-overlay";
|
|
4283
4284
|
return /* @__PURE__ */ r.jsxs(
|
|
4284
4285
|
"div",
|
|
4285
4286
|
{
|
|
4286
|
-
className: `${a ? "t2-simple-hero__bkg-exists" : "t2-simple-hero__bkg-none"} ${
|
|
4287
|
+
className: `${a ? "t2-simple-hero__bkg-exists" : "t2-simple-hero__bkg-none"} ${h} ${x}`,
|
|
4287
4288
|
children: [
|
|
4288
4289
|
/* @__PURE__ */ r.jsx(
|
|
4289
4290
|
"div",
|
|
4290
4291
|
{
|
|
4291
|
-
className: `${a ? "t2-simple-hero__background" : "t2-simple-hero__no-background"} ${
|
|
4292
|
+
className: `${a ? "t2-simple-hero__background" : "t2-simple-hero__no-background"} ${l}`,
|
|
4292
4293
|
style: v,
|
|
4293
4294
|
children: a && /* @__PURE__ */ r.jsx(
|
|
4294
4295
|
lr,
|
|
@@ -4302,13 +4303,13 @@ const Ci = /* @__PURE__ */ gn(Qa), ar = ({
|
|
|
4302
4303
|
)
|
|
4303
4304
|
}
|
|
4304
4305
|
),
|
|
4305
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
4306
|
+
/* @__PURE__ */ r.jsx("div", { className: j, children: /* @__PURE__ */ r.jsx("div", { className: "t2-simple-hero__content-out-wrap", children: /* @__PURE__ */ r.jsxs(
|
|
4306
4307
|
"div",
|
|
4307
4308
|
{
|
|
4308
|
-
className:
|
|
4309
|
+
className: "t2-simple-hero__content t2-header-area",
|
|
4309
4310
|
children: [
|
|
4310
4311
|
e && /* @__PURE__ */ r.jsx("div", { className: "t2-layout__eyebrow t2-simple-hero__eyebrow t2-hero__eyebrow", children: e }),
|
|
4311
|
-
|
|
4312
|
+
w,
|
|
4312
4313
|
o && /* @__PURE__ */ r.jsx("div", { className: "t2-layout__subheader t2-simple-hero__subheader t2-hero__subheader", children: o }),
|
|
4313
4314
|
s && /* @__PURE__ */ r.jsx(
|
|
4314
4315
|
He,
|
|
@@ -4317,14 +4318,14 @@ const Ci = /* @__PURE__ */ gn(Qa), ar = ({
|
|
|
4317
4318
|
componentClass: "t2-simple-hero"
|
|
4318
4319
|
}
|
|
4319
4320
|
),
|
|
4320
|
-
|
|
4321
|
-
|
|
4321
|
+
f && /* @__PURE__ */ r.jsx("div", { className: "t2-simple-hero__search", children: f }),
|
|
4322
|
+
d && /* @__PURE__ */ r.jsx("div", { className: "t2-simple-hero__cta t2-hero__cta t2-layout__cta", children: d.map((b, N) => /* @__PURE__ */ r.jsx(
|
|
4322
4323
|
ae,
|
|
4323
4324
|
{
|
|
4324
|
-
...
|
|
4325
|
-
className: `${
|
|
4325
|
+
...b,
|
|
4326
|
+
className: `${b.primary ? "t2-simple-hero__cta--primary" : "t2-simple-hero__cta--secondary"}`
|
|
4326
4327
|
},
|
|
4327
|
-
|
|
4328
|
+
N
|
|
4328
4329
|
)) })
|
|
4329
4330
|
]
|
|
4330
4331
|
}
|
|
@@ -7205,7 +7206,7 @@ var _f = Object.create, Br = Object.defineProperty, If = Object.getOwnPropertyDe
|
|
|
7205
7206
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
7206
7207
|
!e || !e.__esModule ? Br(n, "default", { value: e, enumerable: !0 }) : n,
|
|
7207
7208
|
e
|
|
7208
|
-
)), Df = (e) => zi(Br({}, "__esModule", { value: !0 }), e),
|
|
7209
|
+
)), Df = (e) => zi(Br({}, "__esModule", { value: !0 }), e), Je = (e, t, n) => (Qf(e, typeof t != "symbol" ? t + "" : t, n), n), Mi = {};
|
|
7209
7210
|
Uf(Mi, {
|
|
7210
7211
|
default: () => Sn
|
|
7211
7212
|
});
|
|
@@ -7213,13 +7214,13 @@ var zf = Df(Mi), ua = Yi(Te), Yf = Yi(Ii), qi = Gi, Mf = Nn;
|
|
|
7213
7214
|
const qf = 5e3;
|
|
7214
7215
|
let Sn = class extends ua.Component {
|
|
7215
7216
|
constructor() {
|
|
7216
|
-
super(...arguments),
|
|
7217
|
+
super(...arguments), Je(this, "mounted", !1), Je(this, "isReady", !1), Je(this, "isPlaying", !1), Je(this, "isLoading", !0), Je(this, "loadOnReady", null), Je(this, "startOnPlay", !0), Je(this, "seekOnPlay", null), Je(this, "onDurationCalled", !1), Je(this, "handlePlayerMount", (t) => {
|
|
7217
7218
|
if (this.player) {
|
|
7218
7219
|
this.progress();
|
|
7219
7220
|
return;
|
|
7220
7221
|
}
|
|
7221
7222
|
this.player = t, this.player.load(this.props.url), this.progress();
|
|
7222
|
-
}),
|
|
7223
|
+
}), Je(this, "getInternalPlayer", (t) => this.player ? this.player[t] : null), Je(this, "progress", () => {
|
|
7223
7224
|
if (this.props.url && this.player && this.isReady) {
|
|
7224
7225
|
const t = this.getCurrentTime() || 0, n = this.getSecondsLoaded(), o = this.getDuration();
|
|
7225
7226
|
if (o) {
|
|
@@ -7231,28 +7232,28 @@ let Sn = class extends ua.Component {
|
|
|
7231
7232
|
}
|
|
7232
7233
|
}
|
|
7233
7234
|
this.progressTimeout = setTimeout(this.progress, this.props.progressFrequency || this.props.progressInterval);
|
|
7234
|
-
}),
|
|
7235
|
+
}), Je(this, "handleReady", () => {
|
|
7235
7236
|
if (!this.mounted)
|
|
7236
7237
|
return;
|
|
7237
7238
|
this.isReady = !0, this.isLoading = !1;
|
|
7238
7239
|
const { onReady: t, playing: n, volume: o, muted: s } = this.props;
|
|
7239
7240
|
t(), !s && o !== null && this.player.setVolume(o), this.loadOnReady ? (this.player.load(this.loadOnReady, !0), this.loadOnReady = null) : n && this.player.play(), this.handleDurationCheck();
|
|
7240
|
-
}),
|
|
7241
|
+
}), Je(this, "handlePlay", () => {
|
|
7241
7242
|
this.isPlaying = !0, this.isLoading = !1;
|
|
7242
7243
|
const { onStart: t, onPlay: n, playbackRate: o } = this.props;
|
|
7243
7244
|
this.startOnPlay && (this.player.setPlaybackRate && o !== 1 && this.player.setPlaybackRate(o), t(), this.startOnPlay = !1), n(), this.seekOnPlay && (this.seekTo(this.seekOnPlay), this.seekOnPlay = null), this.handleDurationCheck();
|
|
7244
|
-
}),
|
|
7245
|
+
}), Je(this, "handlePause", (t) => {
|
|
7245
7246
|
this.isPlaying = !1, this.isLoading || this.props.onPause(t);
|
|
7246
|
-
}),
|
|
7247
|
+
}), Je(this, "handleEnded", () => {
|
|
7247
7248
|
const { activePlayer: t, loop: n, onEnded: o } = this.props;
|
|
7248
7249
|
t.loopOnEnded && n && this.seekTo(0), n || (this.isPlaying = !1, o());
|
|
7249
|
-
}),
|
|
7250
|
+
}), Je(this, "handleError", (...t) => {
|
|
7250
7251
|
this.isLoading = !1, this.props.onError(...t);
|
|
7251
|
-
}),
|
|
7252
|
+
}), Je(this, "handleDurationCheck", () => {
|
|
7252
7253
|
clearTimeout(this.durationCheckTimeout);
|
|
7253
7254
|
const t = this.getDuration();
|
|
7254
7255
|
t ? this.onDurationCalled || (this.props.onDuration(t), this.onDurationCalled = !0) : this.durationCheckTimeout = setTimeout(this.handleDurationCheck, 100);
|
|
7255
|
-
}),
|
|
7256
|
+
}), Je(this, "handleLoaded", () => {
|
|
7256
7257
|
this.isLoading = !1;
|
|
7257
7258
|
});
|
|
7258
7259
|
}
|
|
@@ -7319,9 +7320,9 @@ let Sn = class extends ua.Component {
|
|
|
7319
7320
|
) : null;
|
|
7320
7321
|
}
|
|
7321
7322
|
};
|
|
7322
|
-
|
|
7323
|
-
|
|
7324
|
-
|
|
7323
|
+
Je(Sn, "displayName", "Player");
|
|
7324
|
+
Je(Sn, "propTypes", qi.propTypes);
|
|
7325
|
+
Je(Sn, "defaultProps", qi.defaultProps);
|
|
7325
7326
|
var Kf = Object.create, _r = Object.defineProperty, Zf = Object.getOwnPropertyDescriptor, Jf = Object.getOwnPropertyNames, Xf = Object.getPrototypeOf, $f = Object.prototype.hasOwnProperty, e1 = (e, t, n) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, t1 = (e, t) => {
|
|
7326
7327
|
for (var n in t)
|
|
7327
7328
|
_r(e, n, { get: t[n], enumerable: !0 });
|
|
@@ -7337,43 +7338,43 @@ var Kf = Object.create, _r = Object.defineProperty, Zf = Object.getOwnPropertyDe
|
|
|
7337
7338
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
7338
7339
|
!e || !e.__esModule ? _r(n, "default", { value: e, enumerable: !0 }) : n,
|
|
7339
7340
|
e
|
|
7340
|
-
)), r1 = (e) => Ki(_r({}, "__esModule", { value: !0 }), e),
|
|
7341
|
+
)), r1 = (e) => Ki(_r({}, "__esModule", { value: !0 }), e), Ze = (e, t, n) => (e1(e, typeof t != "symbol" ? t + "" : t, n), n), Zi = {};
|
|
7341
7342
|
t1(Zi, {
|
|
7342
7343
|
createReactPlayer: () => u1
|
|
7343
7344
|
});
|
|
7344
7345
|
var n1 = r1(Zi), Zt = Ir(Te), s1 = Ir(_i), ds = Ir(z0), fa = Ir(Ii), Nr = Gi, Ji = Nn, o1 = Ir(zf);
|
|
7345
7346
|
const a1 = (0, Ji.lazy)(() => import(
|
|
7346
7347
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
7347
|
-
"./Preview-
|
|
7348
|
+
"./Preview-qEmMfu4c.js"
|
|
7348
7349
|
).then((e) => e.P)), i1 = typeof window < "u" && window.document && typeof document < "u", l1 = typeof mt < "u" && mt.window && mt.window.document, c1 = Object.keys(Nr.propTypes), d1 = i1 || l1 ? Zt.Suspense : () => null, Cr = [], u1 = (e, t) => {
|
|
7349
7350
|
var n;
|
|
7350
7351
|
return n = class extends Zt.Component {
|
|
7351
7352
|
constructor() {
|
|
7352
|
-
super(...arguments),
|
|
7353
|
+
super(...arguments), Ze(this, "state", {
|
|
7353
7354
|
showPreview: !!this.props.light
|
|
7354
|
-
}),
|
|
7355
|
+
}), Ze(this, "references", {
|
|
7355
7356
|
wrapper: (o) => {
|
|
7356
7357
|
this.wrapper = o;
|
|
7357
7358
|
},
|
|
7358
7359
|
player: (o) => {
|
|
7359
7360
|
this.player = o;
|
|
7360
7361
|
}
|
|
7361
|
-
}),
|
|
7362
|
+
}), Ze(this, "handleClickPreview", (o) => {
|
|
7362
7363
|
this.setState({ showPreview: !1 }), this.props.onClickPreview(o);
|
|
7363
|
-
}),
|
|
7364
|
+
}), Ze(this, "showPreview", () => {
|
|
7364
7365
|
this.setState({ showPreview: !0 });
|
|
7365
|
-
}),
|
|
7366
|
+
}), Ze(this, "getDuration", () => this.player ? this.player.getDuration() : null), Ze(this, "getCurrentTime", () => this.player ? this.player.getCurrentTime() : null), Ze(this, "getSecondsLoaded", () => this.player ? this.player.getSecondsLoaded() : null), Ze(this, "getInternalPlayer", (o = "player") => this.player ? this.player.getInternalPlayer(o) : null), Ze(this, "seekTo", (o, s, a) => {
|
|
7366
7367
|
if (!this.player)
|
|
7367
7368
|
return null;
|
|
7368
7369
|
this.player.seekTo(o, s, a);
|
|
7369
|
-
}),
|
|
7370
|
+
}), Ze(this, "handleReady", () => {
|
|
7370
7371
|
this.props.onReady(this);
|
|
7371
|
-
}),
|
|
7372
|
+
}), Ze(this, "getActivePlayer", (0, ds.default)((o) => {
|
|
7372
7373
|
for (const s of [...Cr, ...e])
|
|
7373
7374
|
if (s.canPlay(o))
|
|
7374
7375
|
return s;
|
|
7375
7376
|
return t || null;
|
|
7376
|
-
})),
|
|
7377
|
+
})), Ze(this, "getConfig", (0, ds.default)((o, s) => {
|
|
7377
7378
|
const { config: a } = this.props;
|
|
7378
7379
|
return s1.default.all([
|
|
7379
7380
|
Nr.defaultProps.config,
|
|
@@ -7381,7 +7382,7 @@ const a1 = (0, Ji.lazy)(() => import(
|
|
|
7381
7382
|
a,
|
|
7382
7383
|
a[s] || {}
|
|
7383
7384
|
]);
|
|
7384
|
-
})),
|
|
7385
|
+
})), Ze(this, "getAttributes", (0, ds.default)((o) => (0, Ji.omit)(this.props, c1))), Ze(this, "renderActivePlayer", (o) => {
|
|
7385
7386
|
if (!o)
|
|
7386
7387
|
return null;
|
|
7387
7388
|
const s = this.getActivePlayer(o);
|
|
@@ -7429,16 +7430,16 @@ const a1 = (0, Ji.lazy)(() => import(
|
|
|
7429
7430
|
const { url: o, style: s, width: a, height: i, fallback: l, wrapper: d } = this.props, { showPreview: u } = this.state, p = this.getAttributes(o), f = typeof d == "string" ? this.references.wrapper : void 0;
|
|
7430
7431
|
return /* @__PURE__ */ Zt.default.createElement(d, { ref: f, style: { ...s, width: a, height: i }, ...p }, /* @__PURE__ */ Zt.default.createElement(d1, { fallback: l }, u ? this.renderPreview(o) : this.renderActivePlayer(o)));
|
|
7431
7432
|
}
|
|
7432
|
-
},
|
|
7433
|
+
}, Ze(n, "displayName", "ReactPlayer"), Ze(n, "propTypes", Nr.propTypes), Ze(n, "defaultProps", Nr.defaultProps), Ze(n, "addCustomPlayer", (o) => {
|
|
7433
7434
|
Cr.push(o);
|
|
7434
|
-
}),
|
|
7435
|
+
}), Ze(n, "removeCustomPlayers", () => {
|
|
7435
7436
|
Cr.length = 0;
|
|
7436
|
-
}),
|
|
7437
|
+
}), Ze(n, "canPlay", (o) => {
|
|
7437
7438
|
for (const s of [...Cr, ...e])
|
|
7438
7439
|
if (s.canPlay(o))
|
|
7439
7440
|
return !0;
|
|
7440
7441
|
return !1;
|
|
7441
|
-
}),
|
|
7442
|
+
}), Ze(n, "canEnablePIP", (o) => {
|
|
7442
7443
|
for (const s of [...Cr, ...e])
|
|
7443
7444
|
if (s.canEnablePIP && s.canEnablePIP(o))
|
|
7444
7445
|
return !0;
|
|
@@ -7766,7 +7767,7 @@ const B1 = /* @__PURE__ */ gn(H1), ps = ({
|
|
|
7766
7767
|
}
|
|
7767
7768
|
);
|
|
7768
7769
|
let lt = null;
|
|
7769
|
-
typeof window < "u" && import("./v4.umd-
|
|
7770
|
+
typeof window < "u" && import("./v4.umd-C2iZY3Wy.js").then((e) => e.v).then((e) => {
|
|
7770
7771
|
lt = e;
|
|
7771
7772
|
});
|
|
7772
7773
|
const I1 = ({ videoId: e, autoplay: t }) => {
|
|
@@ -8348,7 +8349,7 @@ const I1 = ({ videoId: e, autoplay: t }) => {
|
|
|
8348
8349
|
taxPrice: v
|
|
8349
8350
|
} = e, x = (N) => {
|
|
8350
8351
|
n(N);
|
|
8351
|
-
}, { width: b } =
|
|
8352
|
+
}, { width: b } = Xe();
|
|
8352
8353
|
return /* @__PURE__ */ r.jsx(
|
|
8353
8354
|
"div",
|
|
8354
8355
|
{
|
|
@@ -8849,10 +8850,10 @@ const I1 = ({ videoId: e, autoplay: t }) => {
|
|
|
8849
8850
|
} = e, L = Fe(null);
|
|
8850
8851
|
me(() => {
|
|
8851
8852
|
const ie = () => {
|
|
8852
|
-
const We = document.querySelector(".ter-navbar"),
|
|
8853
|
-
if (!We || !
|
|
8853
|
+
const We = document.querySelector(".ter-navbar"), Ke = L.current;
|
|
8854
|
+
if (!We || !Ke) return;
|
|
8854
8855
|
const fe = We.classList.contains("ter-navbar--is-hidden");
|
|
8855
|
-
|
|
8856
|
+
Ke.style.top = fe ? "40px" : `${We.offsetHeight + 40}px`;
|
|
8856
8857
|
};
|
|
8857
8858
|
let Ne = 0;
|
|
8858
8859
|
const ye = 10, je = setInterval(() => {
|
|
@@ -9797,7 +9798,7 @@ const I1 = ({ videoId: e, autoplay: t }) => {
|
|
|
9797
9798
|
isButtonTopAligned: f
|
|
9798
9799
|
}) => {
|
|
9799
9800
|
var C, _;
|
|
9800
|
-
const { width: c } =
|
|
9801
|
+
const { width: c } = Xe(), h = `${p ? "t2-wrapper" : ""}`, j = Re(d || ""), y = `t2-lo-cards t2-lo-cards--t-${a} ${d || ""} ${j} `, v = _e(
|
|
9801
9802
|
`t2-lo-cards__header t2-layout__header ${u ? "t2-biggie" : ""}`,
|
|
9802
9803
|
t || "",
|
|
9803
9804
|
n
|
|
@@ -10610,7 +10611,7 @@ const bl = ({
|
|
|
10610
10611
|
onMouseLeave: i
|
|
10611
10612
|
}) => {
|
|
10612
10613
|
var f, c;
|
|
10613
|
-
const { width: l } =
|
|
10614
|
+
const { width: l } = Xe(), d = l <= 600, u = {
|
|
10614
10615
|
desktop: {
|
|
10615
10616
|
width: 351,
|
|
10616
10617
|
height: 393,
|
|
@@ -10681,7 +10682,7 @@ const bl = ({
|
|
|
10681
10682
|
componentStyles: n,
|
|
10682
10683
|
featureBlockQuote: o
|
|
10683
10684
|
}) => {
|
|
10684
|
-
const { width: s } =
|
|
10685
|
+
const { width: s } = Xe();
|
|
10685
10686
|
return /* @__PURE__ */ r.jsx("div", { className: "t2-lo-feature-carousel__quote-wrap", children: /* @__PURE__ */ r.jsxs(
|
|
10686
10687
|
"div",
|
|
10687
10688
|
{
|
|
@@ -10740,7 +10741,7 @@ const bl = ({
|
|
|
10740
10741
|
isHeaderBig: p,
|
|
10741
10742
|
isWrapped: f
|
|
10742
10743
|
}) => {
|
|
10743
|
-
const [c, h] = $(0), j = Fe(null), { width: y } =
|
|
10744
|
+
const [c, h] = $(0), j = Fe(null), { width: y } = Xe(), w = () => {
|
|
10744
10745
|
j.current = window.setInterval(() => {
|
|
10745
10746
|
h((U) => (U + 1) % i.length);
|
|
10746
10747
|
}, 3e3);
|
|
@@ -11470,7 +11471,7 @@ const Rm = ({
|
|
|
11470
11471
|
isHeaderBig: u,
|
|
11471
11472
|
isWrapped: p
|
|
11472
11473
|
}) => {
|
|
11473
|
-
const f =
|
|
11474
|
+
const f = Xe(), [c, h] = $(0), j = l === "tabs", y = () => {
|
|
11474
11475
|
var R;
|
|
11475
11476
|
if (i && i.length > 0) {
|
|
11476
11477
|
const O = (R = i[c].media) == null ? void 0 : R[0].type, I = !i[c].description;
|
|
@@ -11531,7 +11532,7 @@ const Rm = ({
|
|
|
11531
11532
|
isDarkTheme: a,
|
|
11532
11533
|
Link: i
|
|
11533
11534
|
}) => {
|
|
11534
|
-
const { width: l } =
|
|
11535
|
+
const { width: l } = Xe(), d = () => i ? /* @__PURE__ */ r.jsxs(
|
|
11535
11536
|
i,
|
|
11536
11537
|
{
|
|
11537
11538
|
className: "t2-icon-text-noodle__link",
|
|
@@ -11767,7 +11768,7 @@ const Rm = ({
|
|
|
11767
11768
|
validatingCardDataListSectionBottom: b,
|
|
11768
11769
|
longDetailHeader: N
|
|
11769
11770
|
}) => {
|
|
11770
|
-
const [C, _] = $(0), [G, R] = $(!0), [O, I] = $(!0), [S, Q] = $(!0), [U, A] = $(!1), L = o || "normal", T = L == "normal" ? "light-mode" : "dark-mode", g = `pricing-card-t2--ecomm pricing-card-t2--ecomm__${T}`, { width: W } =
|
|
11771
|
+
const [C, _] = $(0), [G, R] = $(!0), [O, I] = $(!0), [S, Q] = $(!0), [U, A] = $(!1), L = o || "normal", T = L == "normal" ? "light-mode" : "dark-mode", g = `pricing-card-t2--ecomm pricing-card-t2--ecomm__${T}`, { width: W } = Xe();
|
|
11771
11772
|
function X(E) {
|
|
11772
11773
|
return E.length ? E.reduce(
|
|
11773
11774
|
(H, M) => M.length > H.length ? M : H
|
|
@@ -12166,16 +12167,16 @@ const Rm = ({
|
|
|
12166
12167
|
"t2-lo-price-cards__header t2-layout__header",
|
|
12167
12168
|
t || "",
|
|
12168
12169
|
n
|
|
12169
|
-
), { width: te } =
|
|
12170
|
+
), { width: te } = Xe(), ge = Be(d || "");
|
|
12170
12171
|
me(() => {
|
|
12171
12172
|
const ee = (pe) => {
|
|
12172
12173
|
var Ne;
|
|
12173
12174
|
const re = (Ne = pe == null ? void 0 : pe.map((ye) => {
|
|
12174
|
-
var je, We,
|
|
12175
|
+
var je, We, Ke;
|
|
12175
12176
|
if ((je = ye == null ? void 0 : ye.detailsHeader) != null && je.length)
|
|
12176
12177
|
return (We = ye == null ? void 0 : ye.detailsHeader) == null ? void 0 : We.length;
|
|
12177
12178
|
if (ye != null && ye.title)
|
|
12178
|
-
return (
|
|
12179
|
+
return (Ke = ye == null ? void 0 : ye.cards) == null ? void 0 : Ke.map((fe) => {
|
|
12179
12180
|
var qe;
|
|
12180
12181
|
return ((qe = fe == null ? void 0 : fe.detailsHeader) == null ? void 0 : qe.length) || 0;
|
|
12181
12182
|
});
|
|
@@ -12185,8 +12186,8 @@ const Rm = ({
|
|
|
12185
12186
|
C != null && C.length && ee(C), L != null && L.length && ee(L);
|
|
12186
12187
|
}, [C, L]), me(() => {
|
|
12187
12188
|
const ee = (re, ie, Ne, ye) => {
|
|
12188
|
-
var je, We,
|
|
12189
|
-
ie.indexAnimation = `${Ne}-annimation`, ie.subheader = (je = ie == null ? void 0 : ie.priceList[re == null ? void 0 : re.machineName]) != null && je.currency ? (We = ie == null ? void 0 : ie.priceList[re == null ? void 0 : re.machineName]) == null ? void 0 : We.currency : "", ie.crossedOutPrice = (
|
|
12189
|
+
var je, We, Ke, fe;
|
|
12190
|
+
ie.indexAnimation = `${Ne}-annimation`, ie.subheader = (je = ie == null ? void 0 : ie.priceList[re == null ? void 0 : re.machineName]) != null && je.currency ? (We = ie == null ? void 0 : ie.priceList[re == null ? void 0 : re.machineName]) == null ? void 0 : We.currency : "", ie.crossedOutPrice = (Ke = ie == null ? void 0 : ie.priceList[re == null ? void 0 : re.machineName]) != null && Ke.crossedOutPrice ? (fe = ie == null ? void 0 : ie.priceList[re == null ? void 0 : re.machineName]) == null ? void 0 : fe.crossedOutPrice : "", ie.currency = ye && (ye != null && ye.length) && (re != null && re.machineName) ? re == null ? void 0 : re.machineName : "";
|
|
12190
12191
|
}, pe = l != null && l.length ? l == null ? void 0 : l.filter((re, ie) => {
|
|
12191
12192
|
if (re[b] || re.notApplicable)
|
|
12192
12193
|
return re != null && re.priceList && ee(g, re, ie, h), re;
|
|
@@ -12229,8 +12230,8 @@ const Rm = ({
|
|
|
12229
12230
|
return { missingFields: [], completeFields: [...pe] };
|
|
12230
12231
|
pe.forEach((je) => {
|
|
12231
12232
|
const We = [];
|
|
12232
|
-
let
|
|
12233
|
-
(!je.hasOwnProperty(re) || typeof je[re] > "u" || typeof je[re] === null || je[re] === "") && (We.push(re),
|
|
12233
|
+
let Ke = !0;
|
|
12234
|
+
(!je.hasOwnProperty(re) || typeof je[re] > "u" || typeof je[re] === null || je[re] === "") && (We.push(re), Ke = !1), Ke ? ye.push(je) : Ne.push({
|
|
12234
12235
|
content: je,
|
|
12235
12236
|
missing: We
|
|
12236
12237
|
});
|
|
@@ -12252,8 +12253,8 @@ const Rm = ({
|
|
|
12252
12253
|
}, [x]);
|
|
12253
12254
|
const K = (ee) => {
|
|
12254
12255
|
const pe = ee.map((ie, Ne) => {
|
|
12255
|
-
var We,
|
|
12256
|
-
const ye = (fe = (
|
|
12256
|
+
var We, Ke, fe;
|
|
12257
|
+
const ye = (fe = (Ke = (We = ie == null ? void 0 : ie.title) == null ? void 0 : We.toLowerCase()) == null ? void 0 : Ke.replace(/&/g, "and")) == null ? void 0 : fe.replace(/\s+/g, "-"), je = {
|
|
12257
12258
|
tabanchorindex: Ne,
|
|
12258
12259
|
tabanchor: ye
|
|
12259
12260
|
};
|
|
@@ -12459,7 +12460,7 @@ const Rm = ({
|
|
|
12459
12460
|
"t2-lo-recommendations__header t2-layout__header",
|
|
12460
12461
|
t || "",
|
|
12461
12462
|
n
|
|
12462
|
-
), v = Be(u || ""), { width: x } =
|
|
12463
|
+
), v = Be(u || ""), { width: x } = Xe(), b = f || {
|
|
12463
12464
|
desktop: {
|
|
12464
12465
|
height: 350,
|
|
12465
12466
|
width: 630,
|
|
@@ -12569,7 +12570,7 @@ const Rm = ({
|
|
|
12569
12570
|
relatedListItems: p,
|
|
12570
12571
|
buttons: f
|
|
12571
12572
|
}) => {
|
|
12572
|
-
const { width: c } =
|
|
12573
|
+
const { width: c } = Xe(), h = `${l ? "t2-wrapper" : ""}`, j = Re(i || ""), y = `t2-lo-related-subjects ${i || ""} ${j} t2-lo-related-subjects--o-${d}`, v = _e(
|
|
12573
12574
|
`t2-lo-related-subjects__header t2-layout__header ${a ? "t2-biggie" : ""}`,
|
|
12574
12575
|
t || "",
|
|
12575
12576
|
n
|
|
@@ -12936,7 +12937,7 @@ const Rm = ({
|
|
|
12936
12937
|
`t2-layout-workflow__header t2-layout__header ${l ? "t2-biggie" : ""}`,
|
|
12937
12938
|
t || "",
|
|
12938
12939
|
n
|
|
12939
|
-
), { width: h } =
|
|
12940
|
+
), { width: h } = Xe(), j = Be(i || "");
|
|
12940
12941
|
return /* @__PURE__ */ r.jsx("div", { className: p, style: j, children: /* @__PURE__ */ r.jsxs("div", { className: "t2-layout-workflow__content t2-layout__content", children: [
|
|
12941
12942
|
/* @__PURE__ */ r.jsx("div", { className: "t2-layout-workflow__primary-content", children: /* @__PURE__ */ r.jsx("div", { className: "t2-wrapper", children: /* @__PURE__ */ r.jsxs("div", { className: "t2-header-area", children: [
|
|
12942
12943
|
/* @__PURE__ */ r.jsx("div", { className: "t2-layout-workflow__eyebrow t2-layout__eyebrow", children: e }),
|
|
@@ -13003,7 +13004,7 @@ const Rm = ({
|
|
|
13003
13004
|
isHeaderBig: d,
|
|
13004
13005
|
workflowSteps: u
|
|
13005
13006
|
}) => {
|
|
13006
|
-
const { width: p } =
|
|
13007
|
+
const { width: p } = Xe(), [f, c] = $(0), h = Re(l || ""), j = `t2-lo-macro-workflow ${l || ""}`, w = _e(
|
|
13007
13008
|
`t2-lo-macro-workflow__header t2-layout__header ${d ? "t2-biggie" : ""}`,
|
|
13008
13009
|
t || "",
|
|
13009
13010
|
n
|
|
@@ -13230,7 +13231,7 @@ const Rm = ({
|
|
|
13230
13231
|
`t2-layout-form__header ${p ? "t2-biggie" : ""}`,
|
|
13231
13232
|
t || "",
|
|
13232
13233
|
n
|
|
13233
|
-
), X = Be(O || ""), E = Be(I || ""), { width: F } =
|
|
13234
|
+
), X = Be(O || ""), E = Be(I || ""), { width: F } = Xe(), H = O === I;
|
|
13234
13235
|
me(() => {
|
|
13235
13236
|
const k = h == null ? void 0 : h.current, V = j == null ? void 0 : j.current;
|
|
13236
13237
|
w(k.offsetLeft), x(F - V.offsetLeft), _(
|
|
@@ -13602,7 +13603,7 @@ const Rm = ({
|
|
|
13602
13603
|
resetAllLabel: i,
|
|
13603
13604
|
onResetAll: l
|
|
13604
13605
|
}) => {
|
|
13605
|
-
const [d, u] = $(!1), [p, f] = $(o), { width: c } =
|
|
13606
|
+
const [d, u] = $(!1), [p, f] = $(o), { width: c } = Xe();
|
|
13606
13607
|
me(() => {
|
|
13607
13608
|
f(o || []);
|
|
13608
13609
|
}, [o]);
|
|
@@ -13861,7 +13862,7 @@ const Rm = ({
|
|
|
13861
13862
|
imageType: d = "asBackground",
|
|
13862
13863
|
presetTheme: u
|
|
13863
13864
|
}) => {
|
|
13864
|
-
const [p, f] = $(0), [c, h] = $([]), [j, y] = $("Newest"), [w, v] = $(!1), [x, b] = $({}), [N, C] = $(!1), { width: _ } =
|
|
13865
|
+
const [p, f] = $(0), [c, h] = $([]), [j, y] = $("Newest"), [w, v] = $(!1), [x, b] = $({}), [N, C] = $(!1), { width: _ } = Xe(), G = ["Newest", "Oldest"], R = `${l ? "t2-wrapper" : ""}`, O = Re(u || ""), I = `t2-resource-grid ${u || ""} ${O}`, Q = _e(
|
|
13865
13866
|
`t2-resource-grid__header t2-layout__header ${i ? "t2-biggie" : ""}`,
|
|
13866
13867
|
t || "",
|
|
13867
13868
|
n
|
|
@@ -14107,7 +14108,7 @@ const Rm = ({
|
|
|
14107
14108
|
features: p,
|
|
14108
14109
|
footerLinkText: f
|
|
14109
14110
|
}) => {
|
|
14110
|
-
const c = Ys(), { width: h } =
|
|
14111
|
+
const c = Ys(), { width: h } = Xe(), j = h <= 600, y = Fe(null), w = Fe(null), v = Fe(null);
|
|
14111
14112
|
me(() => {
|
|
14112
14113
|
const R = y.current, O = v.current, I = w.current;
|
|
14113
14114
|
if (!R || !O || !I) return;
|
|
@@ -14339,7 +14340,7 @@ const Rm = ({
|
|
|
14339
14340
|
H.removeEventListener("scroll", ne);
|
|
14340
14341
|
};
|
|
14341
14342
|
}, []);
|
|
14342
|
-
const { width: T } =
|
|
14343
|
+
const { width: T } = Xe(), g = T < 600, E = {
|
|
14343
14344
|
"t2-preset-theme-one": "#fff",
|
|
14344
14345
|
"t2-preset-theme-two": "#fff",
|
|
14345
14346
|
"t2-preset-theme-three": "#252a2e",
|
|
@@ -14821,7 +14822,7 @@ const Rm = ({
|
|
|
14821
14822
|
}) => {
|
|
14822
14823
|
const [s, a] = $(
|
|
14823
14824
|
{}
|
|
14824
|
-
), { width: i } =
|
|
14825
|
+
), { width: i } = Xe(), l = (h) => {
|
|
14825
14826
|
a((j) => ({
|
|
14826
14827
|
...j,
|
|
14827
14828
|
[h]: !j[h]
|
|
@@ -16868,7 +16869,7 @@ function Vh() {
|
|
|
16868
16869
|
if (Ne(m))
|
|
16869
16870
|
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ie(m)), ye(m);
|
|
16870
16871
|
}
|
|
16871
|
-
var We = v.ReactCurrentOwner,
|
|
16872
|
+
var We = v.ReactCurrentOwner, Ke = {
|
|
16872
16873
|
key: !0,
|
|
16873
16874
|
ref: !0,
|
|
16874
16875
|
__self: !0,
|
|
@@ -16949,7 +16950,7 @@ function Vh() {
|
|
|
16949
16950
|
var ve, de = {}, ce = null, Ie = null;
|
|
16950
16951
|
z !== void 0 && (je(z), ce = "" + z), Vt(B) && (je(B.key), ce = "" + B.key), Wt(B) && (Ie = B.ref, Gt(B));
|
|
16951
16952
|
for (ve in B)
|
|
16952
|
-
Ae.call(B, ve) && !
|
|
16953
|
+
Ae.call(B, ve) && !Ke.hasOwnProperty(ve) && (de[ve] = B[ve]);
|
|
16953
16954
|
if (m && m.defaultProps) {
|
|
16954
16955
|
var we = m.defaultProps;
|
|
16955
16956
|
for (ve in we)
|