highsoft-ui 1.0.177 → 1.0.179
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/CLAUDE.md +130 -0
- package/dist/Accordion-NPNV0Rdr.js +73 -0
- package/dist/{Breadcrumb-CyaMrJfW.js → Breadcrumb-BQzfkMH0.js} +2 -2
- package/dist/{BrowserFrame-_qNod9an.js → BrowserFrame-Bs2fIKzy.js} +4 -4
- package/dist/{Button-DFcjZsF4.js → Button-DtCIaVhq.js} +1 -1
- package/dist/{ButtonGroup-dTeFICBP.js → ButtonGroup-6tLQmpEH.js} +1 -1
- package/dist/{Checkbox-X7FrR_6F.js → Checkbox-CqFkzrVk.js} +1 -1
- package/dist/{CodeBlock-rPC0sIvR.js → CodeBlock-BM_Vefdj.js} +4 -4
- package/dist/{CookiePolicyModal-D-IOZSoU.js → CookiePolicyModal-BXIr4v-D.js} +2 -2
- package/dist/{CopyCode-DS2T69as.js → CopyCode-4IXo0bTs.js} +2 -2
- package/dist/{Dropdown-Ck7IASlc.js → Dropdown-BgY76epB.js} +1 -1
- package/dist/{Footer-8oEBlwJ5.js → Footer-hAk1PceF.js} +7 -7
- package/dist/{FooterBottom-BPuLsXI1.js → FooterBottom-CT_vF7Wo.js} +1 -1
- package/dist/{FooterHelp-99gRcRar.js → FooterHelp-VHhF9ED6.js} +1 -1
- package/dist/{FooterLinks-DXTz-d8e.js → FooterLinks-DsCivmiy.js} +2 -2
- package/dist/{Header-DqE0a41T.js → Header-CEV_MWep.js} +24 -24
- package/dist/{InputGrouped-DNiMvxxa.js → InputGrouped-y1UNKVd4.js} +11 -11
- package/dist/{Label-DTIv_3zs.js → Label-DwiX1ZiD.js} +1 -1
- package/dist/{List-CdwPhveO.js → List-gHC2SJgK.js} +1 -1
- package/dist/{LogoCarousel-BsmxIlzx.js → LogoCarousel-e-1WK43R.js} +3 -3
- package/dist/{NewsletterSignup-CTbjNSnk.js → NewsletterSignup-Dk1cwk-W.js} +2 -2
- package/dist/{Notification-CTSGBhJk.js → Notification-D93nzw6M.js} +3 -3
- package/dist/{PrefPanel-CwrWfi3R.js → PrefPanel-DTbo6QDa.js} +7 -7
- package/dist/{PrevNextNav-BwP-lRaG.js → PrevNextNav-C406puU6.js} +2 -2
- package/dist/ProductNotice-CtgDdo5_.js +144 -0
- package/dist/{RoadmapDetails-B-2pgXHz.js → RoadmapDetails-DIByXo2r.js} +5 -5
- package/dist/{SearchDropdown-g3g30peB.js → SearchDropdown-cml8LqKq.js} +1 -1
- package/dist/{VideoPlayer-C0pHiwYx.js → VideoPlayer-Cg9MFkP5.js} +7 -7
- package/dist/{VideoPlayerModal-Bh2u5h8g.js → VideoPlayerModal-BzYnI2f2.js} +2 -2
- package/dist/{YoutubeModal-B6yOEOaP.js → YoutubeModal-8iX4sMik.js} +1 -1
- package/dist/components/Accordion/index.js +2 -0
- package/dist/components/Breadcrumb/index.js +1 -1
- package/dist/components/BrowserFrame/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CodeBlock/index.js +1 -1
- package/dist/components/CopyCode/index.js +1 -1
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/Figure/ZoomImage.js +2 -2
- package/dist/components/Footer/CookiePolicyModal.js +1 -1
- package/dist/components/Footer/FooterBottom.js +1 -1
- package/dist/components/Footer/FooterHelp.js +1 -1
- package/dist/components/Footer/FooterLinks.js +1 -1
- package/dist/components/Footer/YoutubeModal.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/Header/index.js +1 -1
- package/dist/components/InputGrouped/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/List/index.js +1 -1
- package/dist/components/LogoCarousel/index.js +1 -1
- package/dist/components/Modal/ModalContactFooter.js +2 -2
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/NewsletterSignup/index.js +1 -1
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PrefPanel/index.js +1 -1
- package/dist/components/PrevNextNav/index.js +1 -1
- package/dist/components/ProductNotice/index.js +4 -0
- package/dist/components/ProductNotice/tracking.js +25 -0
- package/dist/components/PromoBanner/index.js +2 -2
- package/dist/components/RoadmapDetails/index.js +1 -1
- package/dist/components/Search/SearchDialog.js +12 -12
- package/dist/components/Search/index.js +2 -2
- package/dist/components/SearchDropdown/index.js +1 -1
- package/dist/components/Sidebar/NavDisclosure.js +1 -1
- package/dist/components/Sidebar/NavGroup.js +1 -1
- package/dist/components/Sidebar/Sidebar.js +10 -10
- package/dist/components/Sidebar/SidebarLayout.js +1 -1
- package/dist/components/Sidebar/SidebarSwitcher.js +1 -1
- package/dist/components/VideoCover/index.js +1 -1
- package/dist/components/VideoPlayer/VideoPlayerModal.js +1 -1
- package/dist/components/VideoPlayer/index.js +1 -1
- package/dist/{create-element-DHbI55TT.js → create-element-ChcNUMOL.js} +1 -1
- package/dist/{esm-DQBytmnt.js → esm-CqcQTziN.js} +57 -29
- package/dist/highsoft-ui.css +1 -1
- package/dist/lib/components/Accordion/index.d.ts +24 -0
- package/dist/lib/components/ProductNotice/index.d.ts +60 -0
- package/dist/lib/components/ProductNotice/tracking.d.ts +40 -0
- package/dist/lib/main.d.ts +6 -0
- package/dist/lib/tracking.d.ts +52 -0
- package/dist/main.js +61 -57
- package/dist/{prism-light-D9OePufj.js → prism-light-B3J0jr_a.js} +1 -1
- package/dist/tracking.js +47 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as i } from "./Button-
|
|
3
|
+
import { K as t, nt as n, q as r } from "./esm-CqcQTziN.js";
|
|
4
|
+
import { t as i } from "./Button-DtCIaVhq.js";
|
|
5
5
|
import { forwardRef as a, useCallback as o, useEffect as s, useRef as c, useState as l } from "react";
|
|
6
6
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
7
7
|
var f = {
|
|
@@ -42,7 +42,7 @@ function m({ children: t, className: n }) {
|
|
|
42
42
|
children: t
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
var h = a(({ label:
|
|
45
|
+
var h = a(({ label: n, required: a = !1, helpText: p, showHelpText: m = !1, labelIcon: h, iconRight: g, button: _, hasError: v = !1, success: y = !1, disabled: b = !1, className: x, wrapperClassName: S, type: C, onFocus: w, onBlur: T, onChange: E, value: D, defaultValue: O, ...k }, A) => {
|
|
46
46
|
let j = c(null), M = A || j, [N, P] = l(!1), [F, I] = l(!1), [L, R] = l(!1), z = C === "password", [B, V] = l(O === void 0 ? "" : String(O)), H = D !== void 0, U = H ? String(D).length > 0 : B.length > 0, W = o((e) => {
|
|
47
47
|
P(!0), w?.(e);
|
|
48
48
|
}, [w]), G = o((e) => {
|
|
@@ -82,14 +82,14 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
|
|
|
82
82
|
children: [/* @__PURE__ */ d("div", {
|
|
83
83
|
className: f.leftContent,
|
|
84
84
|
children: [
|
|
85
|
-
|
|
85
|
+
n && /* @__PURE__ */ d("div", {
|
|
86
86
|
className: f.labelRow,
|
|
87
87
|
children: [h && /* @__PURE__ */ u("span", {
|
|
88
88
|
className: f.labelIcon,
|
|
89
89
|
children: h
|
|
90
90
|
}), /* @__PURE__ */ d("span", {
|
|
91
91
|
className: f.label,
|
|
92
|
-
children: [
|
|
92
|
+
children: [n, a && /* @__PURE__ */ u("span", {
|
|
93
93
|
className: f.required,
|
|
94
94
|
children: " *"
|
|
95
95
|
})]
|
|
@@ -100,7 +100,7 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
|
|
|
100
100
|
type: Y,
|
|
101
101
|
className: e(f.inputElement, x),
|
|
102
102
|
disabled: b,
|
|
103
|
-
"aria-label":
|
|
103
|
+
"aria-label": n,
|
|
104
104
|
"aria-required": a,
|
|
105
105
|
"aria-invalid": v,
|
|
106
106
|
value: D,
|
|
@@ -131,7 +131,7 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
|
|
|
131
131
|
e.stopPropagation(), R((e) => !e);
|
|
132
132
|
},
|
|
133
133
|
"aria-label": L ? "Hide password" : "Show password",
|
|
134
|
-
children: u(L ?
|
|
134
|
+
children: u(L ? t : r, {})
|
|
135
135
|
}),
|
|
136
136
|
_
|
|
137
137
|
]
|
|
@@ -140,7 +140,7 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
|
|
|
140
140
|
});
|
|
141
141
|
});
|
|
142
142
|
h.displayName = "InputGrouped";
|
|
143
|
-
var g = a(({ label: t, required:
|
|
143
|
+
var g = a(({ label: t, required: r = !1, helpText: i, showHelpText: a = !1, labelIcon: s, hasError: p = !1, success: m = !1, disabled: h = !1, className: g, wrapperClassName: _, placeholder: v, children: y, onFocus: b, onBlur: x, onChange: S, value: C, defaultValue: w, ...T }, E) => {
|
|
144
144
|
let D = c(null), O = E || D, [k, A] = l(!1), [j, M] = l(!1), [N, P] = l(w === void 0 ? "" : String(w)), F = C !== void 0, I = F ? String(C).length > 0 : N.length > 0, L = o((e) => {
|
|
145
145
|
A(!0), b?.(e);
|
|
146
146
|
}, [b]), R = o((e) => {
|
|
@@ -180,7 +180,7 @@ var g = a(({ label: t, required: n = !1, helpText: i, showHelpText: a = !1, labe
|
|
|
180
180
|
children: s
|
|
181
181
|
}), /* @__PURE__ */ d("span", {
|
|
182
182
|
className: f.label,
|
|
183
|
-
children: [t,
|
|
183
|
+
children: [t, r && /* @__PURE__ */ u("span", {
|
|
184
184
|
className: f.required,
|
|
185
185
|
children: " *"
|
|
186
186
|
})]
|
|
@@ -191,7 +191,7 @@ var g = a(({ label: t, required: n = !1, helpText: i, showHelpText: a = !1, labe
|
|
|
191
191
|
className: e(f.inputElement, f.selectElement, g),
|
|
192
192
|
disabled: h,
|
|
193
193
|
"aria-label": t,
|
|
194
|
-
"aria-required":
|
|
194
|
+
"aria-required": r,
|
|
195
195
|
"aria-invalid": p,
|
|
196
196
|
value: C,
|
|
197
197
|
defaultValue: w,
|
|
@@ -215,7 +215,7 @@ var g = a(({ label: t, required: n = !1, helpText: i, showHelpText: a = !1, labe
|
|
|
215
215
|
className: f.rightContent,
|
|
216
216
|
children: /* @__PURE__ */ u("span", {
|
|
217
217
|
className: e(f.iconRight, f.chevron),
|
|
218
|
-
children: /* @__PURE__ */ u(
|
|
218
|
+
children: /* @__PURE__ */ u(n, {})
|
|
219
219
|
})
|
|
220
220
|
})]
|
|
221
221
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import {
|
|
3
|
+
import { lt as t } from "./esm-CqcQTziN.js";
|
|
4
4
|
import { t as n } from "./Typography-DI1AkqiO.js";
|
|
5
5
|
import { t as r } from "./Icon-DJTgdvsG.js";
|
|
6
6
|
import { createContext as i, forwardRef as a, useContext as o } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as e } from "./utils-bAjntFD8.js";
|
|
3
3
|
import { t } from "./clsx-BWCAbrjV.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as i } from "./Button-
|
|
4
|
+
import { C as n, D as r } from "./esm-CqcQTziN.js";
|
|
5
|
+
import { t as i } from "./Button-DtCIaVhq.js";
|
|
6
6
|
import { n as a, t as o } from "./ClientLogo-Dj7K48YL.js";
|
|
7
7
|
import { useEffect as s, useRef as c, useState as l } from "react";
|
|
8
8
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
@@ -108,7 +108,7 @@ function h({ logos: h = m, size: g = 28, gap: _ = 64, speed: v = 40, direction:
|
|
|
108
108
|
size: 50,
|
|
109
109
|
className: p.pauseButton,
|
|
110
110
|
onClick: () => L((e) => !e),
|
|
111
|
-
iconLeft: d(I ?
|
|
111
|
+
iconLeft: d(I ? n : r, {}),
|
|
112
112
|
children: I ? w : C
|
|
113
113
|
})
|
|
114
114
|
] }), /* @__PURE__ */ d("section", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { l as e } from "./utils-bAjntFD8.js";
|
|
3
3
|
import { t } from "./clsx-BWCAbrjV.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as a } from "./Button-
|
|
4
|
+
import { U as n, dt as r, rt as i } from "./esm-CqcQTziN.js";
|
|
5
|
+
import { t as a } from "./Button-DtCIaVhq.js";
|
|
6
6
|
import { n as o } from "./Typography-DI1AkqiO.js";
|
|
7
7
|
import { t as s } from "./Icon-DJTgdvsG.js";
|
|
8
8
|
import { t as c } from "./Link-CYR92_U0.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import { n as t } from "./esm-
|
|
4
|
-
import { t as n } from "./Button-
|
|
3
|
+
import { n as t } from "./esm-CqcQTziN.js";
|
|
4
|
+
import { t as n } from "./Button-DtCIaVhq.js";
|
|
5
5
|
import { t as r } from "./Container-BDssaLig.js";
|
|
6
|
-
import { t as i } from "./Label-
|
|
6
|
+
import { t as i } from "./Label-DwiX1ZiD.js";
|
|
7
7
|
import { useEffect as a, useState as o } from "react";
|
|
8
8
|
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
9
9
|
var u = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as e, o as t } from "./utils-bAjntFD8.js";
|
|
3
3
|
import { t as n } from "./clsx-BWCAbrjV.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as c } from "./Button-
|
|
4
|
+
import { O as r, g as i, it as a, k as o, u as s } from "./esm-CqcQTziN.js";
|
|
5
|
+
import { t as c } from "./Button-DtCIaVhq.js";
|
|
6
6
|
import { _ as l, a as u, d, h as f, i as p, l as m, m as h, n as ee, o as g, p as _, r as v, t as y, u as b, y as x } from "./es2015-DGI5uxql.js";
|
|
7
7
|
import { a as S, i as te, n as C, r as w, t as T } from "./dist-D5nNWgEm.js";
|
|
8
8
|
import * as E from "react";
|
|
@@ -204,17 +204,17 @@ function $({ children: e, id: t, ...r }) {
|
|
|
204
204
|
}), /* @__PURE__ */ k("label", {
|
|
205
205
|
htmlFor: t,
|
|
206
206
|
className: Q.radio,
|
|
207
|
-
children: [e, /* @__PURE__ */ O(
|
|
207
|
+
children: [e, /* @__PURE__ */ O(a, { className: Q.check })]
|
|
208
208
|
})] });
|
|
209
209
|
}
|
|
210
210
|
function de() {
|
|
211
|
-
let { theme: n, systemTheme:
|
|
211
|
+
let { theme: n, systemTheme: a, setTheme: l } = e(), u = t();
|
|
212
212
|
return /* @__PURE__ */ k(oe, { children: [/* @__PURE__ */ O(ce, {
|
|
213
213
|
asChild: !0,
|
|
214
214
|
children: /* @__PURE__ */ k(c, {
|
|
215
215
|
variant: "transparent",
|
|
216
216
|
"aria-label": "Preferences",
|
|
217
|
-
children: [/* @__PURE__ */ O(
|
|
217
|
+
children: [/* @__PURE__ */ O(i, {}), /* @__PURE__ */ O(se, { className: Q.anchor })]
|
|
218
218
|
})
|
|
219
219
|
}), /* @__PURE__ */ O(le, { children: /* @__PURE__ */ O(ue, {
|
|
220
220
|
sideOffset: 8,
|
|
@@ -228,9 +228,9 @@ function de() {
|
|
|
228
228
|
checked: n === "system",
|
|
229
229
|
onChange: () => l("system"),
|
|
230
230
|
children: [
|
|
231
|
-
/* @__PURE__ */ O(
|
|
231
|
+
/* @__PURE__ */ O(o, {}),
|
|
232
232
|
"Auto (",
|
|
233
|
-
|
|
233
|
+
a,
|
|
234
234
|
")"
|
|
235
235
|
]
|
|
236
236
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import {
|
|
2
|
+
import { et as t, tt as n } from "./esm-CqcQTziN.js";
|
|
3
3
|
import { t as r } from "./Icon-DJTgdvsG.js";
|
|
4
4
|
import { forwardRef as i } from "react";
|
|
5
5
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
@@ -17,7 +17,7 @@ var c = {
|
|
|
17
17
|
if (!l && !u) return null;
|
|
18
18
|
let v = i || "a", y = (i, l) => {
|
|
19
19
|
let u = l === "prev" ? f : p, d = /* @__PURE__ */ o(r, {
|
|
20
|
-
name: l === "prev" ?
|
|
20
|
+
name: l === "prev" ? n : t,
|
|
21
21
|
size: 16
|
|
22
22
|
}), m = /* @__PURE__ */ s("span", {
|
|
23
23
|
className: c.text,
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useTracker as e } from "./tracking.js";
|
|
3
|
+
import { t } from "./Box-BZgeSeCV.js";
|
|
4
|
+
import { t as n } from "./clsx-BWCAbrjV.js";
|
|
5
|
+
import { r } from "./esm-CqcQTziN.js";
|
|
6
|
+
import { t as i } from "./Button-DtCIaVhq.js";
|
|
7
|
+
import { n as a } from "./Typography-DI1AkqiO.js";
|
|
8
|
+
import { t as o } from "./ProductIcon-Cr6E2K9a.js";
|
|
9
|
+
import { trackProductNotice as s } from "./components/ProductNotice/tracking.js";
|
|
10
|
+
import { useEffect as c, useRef as l, useState as u } from "react";
|
|
11
|
+
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
12
|
+
var m = {
|
|
13
|
+
actions: "hJxRhW_actions",
|
|
14
|
+
compactActions: "hJxRhW_compactActions",
|
|
15
|
+
compactClose: "hJxRhW_compactClose",
|
|
16
|
+
compactText: "hJxRhW_compactText",
|
|
17
|
+
content: "hJxRhW_content",
|
|
18
|
+
icon: "hJxRhW_icon",
|
|
19
|
+
message: "hJxRhW_message",
|
|
20
|
+
notice: "hJxRhW_notice",
|
|
21
|
+
"product-notice": "hJxRhW_product-notice",
|
|
22
|
+
surface: "hJxRhW_surface",
|
|
23
|
+
title: "hJxRhW_title",
|
|
24
|
+
wideActions: "hJxRhW_wideActions",
|
|
25
|
+
wideText: "hJxRhW_wideText"
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region lib/components/ProductNotice/index.tsx
|
|
29
|
+
function h({ product: h, icon: g, title: _, description: v, compactDescription: y, actions: b, closable: x = !0, onClose: S, closeLabel: C = "Close", tracking: w, tracker: T, className: E, ...D }) {
|
|
30
|
+
let O = l(null), [k, A] = u(!1), j = e(T), M = g ? void 0 : h ?? "orbit", N = l({
|
|
31
|
+
tracking: w,
|
|
32
|
+
promoted: M,
|
|
33
|
+
send: j
|
|
34
|
+
});
|
|
35
|
+
if (c(() => {
|
|
36
|
+
N.current = {
|
|
37
|
+
tracking: w,
|
|
38
|
+
promoted: M,
|
|
39
|
+
send: j
|
|
40
|
+
};
|
|
41
|
+
}), c(() => {
|
|
42
|
+
let e = O.current;
|
|
43
|
+
if (!e) return;
|
|
44
|
+
let t = !1, n = () => {
|
|
45
|
+
t || (t = !0, s(N.current.send, N.current.tracking, "view", N.current.promoted));
|
|
46
|
+
};
|
|
47
|
+
if (typeof IntersectionObserver > "u") {
|
|
48
|
+
n();
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
let r = new IntersectionObserver((e) => {
|
|
52
|
+
e.some((e) => e.isIntersecting) && (r.disconnect(), n());
|
|
53
|
+
}, { threshold: .5 });
|
|
54
|
+
return r.observe(e), () => r.disconnect();
|
|
55
|
+
}, []), k) return null;
|
|
56
|
+
let P = () => {
|
|
57
|
+
s(j, w, "close", M), A(!0), S?.();
|
|
58
|
+
}, F = (b ?? []).slice(0, 2).filter((e) => !!e), I = (e) => F.map((t, n) => {
|
|
59
|
+
let { onClick: r, ...a } = t.buttonProps ?? {};
|
|
60
|
+
return /* @__PURE__ */ f(i, {
|
|
61
|
+
...a,
|
|
62
|
+
variant: "transparent",
|
|
63
|
+
size: e,
|
|
64
|
+
href: t.href,
|
|
65
|
+
iconLeft: t.iconLeft,
|
|
66
|
+
iconRight: t.iconRight,
|
|
67
|
+
onClick: (e) => {
|
|
68
|
+
t.tracking !== !1 && s(j, w, "click", M, {
|
|
69
|
+
...t.tracking,
|
|
70
|
+
defaults: {
|
|
71
|
+
link_text: t.label,
|
|
72
|
+
link_url: t.href
|
|
73
|
+
}
|
|
74
|
+
}), t.onClick?.(e), r?.(e);
|
|
75
|
+
},
|
|
76
|
+
children: t.label
|
|
77
|
+
}, `${t.label}-${n}`);
|
|
78
|
+
}), L = (e) => /* @__PURE__ */ f(i, {
|
|
79
|
+
variant: "plain",
|
|
80
|
+
size: e,
|
|
81
|
+
"aria-label": C,
|
|
82
|
+
onClick: P,
|
|
83
|
+
children: /* @__PURE__ */ f(r, {})
|
|
84
|
+
});
|
|
85
|
+
return /* @__PURE__ */ f("div", {
|
|
86
|
+
ref: O,
|
|
87
|
+
className: n("hsui-product-notice", m.notice, E),
|
|
88
|
+
...D,
|
|
89
|
+
children: /* @__PURE__ */ p(t, {
|
|
90
|
+
border: !0,
|
|
91
|
+
radius: 8,
|
|
92
|
+
padding: 300,
|
|
93
|
+
shadow: 100,
|
|
94
|
+
className: m.surface,
|
|
95
|
+
children: [
|
|
96
|
+
/* @__PURE__ */ p("div", {
|
|
97
|
+
className: m.content,
|
|
98
|
+
children: [/* @__PURE__ */ f("span", {
|
|
99
|
+
className: m.icon,
|
|
100
|
+
"aria-hidden": "true",
|
|
101
|
+
children: g ?? /* @__PURE__ */ f(o, {
|
|
102
|
+
icon: M ?? "orbit",
|
|
103
|
+
theme: "monochrome",
|
|
104
|
+
size: 24
|
|
105
|
+
})
|
|
106
|
+
}), /* @__PURE__ */ p(a, {
|
|
107
|
+
as: "p",
|
|
108
|
+
size: 200,
|
|
109
|
+
className: m.message,
|
|
110
|
+
style: { "--hsui-typography-color": "var(--product-notice-text)" },
|
|
111
|
+
children: [
|
|
112
|
+
_ != null && /* @__PURE__ */ f("strong", {
|
|
113
|
+
className: m.title,
|
|
114
|
+
children: _
|
|
115
|
+
}),
|
|
116
|
+
_ != null && (v != null || y != null) && " ",
|
|
117
|
+
y == null ? v : /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("span", {
|
|
118
|
+
className: m.wideText,
|
|
119
|
+
children: v
|
|
120
|
+
}), /* @__PURE__ */ f("span", {
|
|
121
|
+
className: m.compactText,
|
|
122
|
+
children: y
|
|
123
|
+
})] })
|
|
124
|
+
]
|
|
125
|
+
})]
|
|
126
|
+
}),
|
|
127
|
+
(F.length > 0 || x) && /* @__PURE__ */ p("div", {
|
|
128
|
+
className: n(m.actions, m.wideActions),
|
|
129
|
+
children: [I(100), x && L(100)]
|
|
130
|
+
}),
|
|
131
|
+
x && /* @__PURE__ */ f("div", {
|
|
132
|
+
className: m.compactClose,
|
|
133
|
+
children: L(200)
|
|
134
|
+
}),
|
|
135
|
+
F.length > 0 && /* @__PURE__ */ f("div", {
|
|
136
|
+
className: n(m.actions, m.compactActions),
|
|
137
|
+
children: I(200)
|
|
138
|
+
})
|
|
139
|
+
]
|
|
140
|
+
})
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
//#endregion
|
|
144
|
+
export { h as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as a } from "./Button-
|
|
3
|
+
import { B as t, I as n, l as r, nt as i } from "./esm-CqcQTziN.js";
|
|
4
|
+
import { t as a } from "./Button-DtCIaVhq.js";
|
|
5
5
|
import { n as o } from "./Typography-DI1AkqiO.js";
|
|
6
6
|
import { useEffect as s, useRef as c } from "react";
|
|
7
7
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
@@ -47,7 +47,7 @@ function f({ title: f, items: p, primaryAction: m, meta: h, open: g, defaultOpen
|
|
|
47
47
|
}), /* @__PURE__ */ l("span", {
|
|
48
48
|
className: d.chevron,
|
|
49
49
|
"aria-hidden": "true",
|
|
50
|
-
children: /* @__PURE__ */ l(
|
|
50
|
+
children: /* @__PURE__ */ l(i, {})
|
|
51
51
|
})]
|
|
52
52
|
}),
|
|
53
53
|
p && p.length > 0 && /* @__PURE__ */ l("ul", {
|
|
@@ -57,7 +57,7 @@ function f({ title: f, items: p, primaryAction: m, meta: h, open: g, defaultOpen
|
|
|
57
57
|
children: [/* @__PURE__ */ l("span", {
|
|
58
58
|
className: d.itemIcon,
|
|
59
59
|
"aria-hidden": "true",
|
|
60
|
-
children: e.icon ?? /* @__PURE__ */ l(
|
|
60
|
+
children: e.icon ?? /* @__PURE__ */ l(r, {})
|
|
61
61
|
}), /* @__PURE__ */ l(o, {
|
|
62
62
|
as: "span",
|
|
63
63
|
size: 200,
|
|
@@ -69,7 +69,7 @@ function f({ title: f, items: p, primaryAction: m, meta: h, open: g, defaultOpen
|
|
|
69
69
|
(m || h) && /* @__PURE__ */ u("div", {
|
|
70
70
|
className: d.actions,
|
|
71
71
|
children: [m && ((e) => {
|
|
72
|
-
let r = e.variant ?? "neutral", i = l(r === "soft" ?
|
|
72
|
+
let r = e.variant ?? "neutral", i = l(r === "soft" ? t : n, {}), o = e.icon === null ? void 0 : e.icon === void 0 ? i : e.icon;
|
|
73
73
|
return /* @__PURE__ */ l(a, {
|
|
74
74
|
variant: r,
|
|
75
75
|
size: 200,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import { v as t } from "./esm-
|
|
3
|
+
import { v as t } from "./esm-CqcQTziN.js";
|
|
4
4
|
import { t as n } from "./Icon-DJTgdvsG.js";
|
|
5
5
|
import { t as r } from "./InputSolo-CbnsJlJu.js";
|
|
6
6
|
import { useCallback as i, useEffect as a, useId as o, useMemo as s, useRef as c, useState as l } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import {
|
|
3
|
+
import { E as t, F as n, M as r, a as i, i as a, mt as o, n as s, o as ee, s as c, w as l } from "./esm-CqcQTziN.js";
|
|
4
4
|
import { t as u } from "./Icon-DJTgdvsG.js";
|
|
5
5
|
import { detectProvider as d, providerPosterUrl as f, useMediaEngine as p } from "./components/VideoPlayer/useMediaEngine.js";
|
|
6
6
|
import { forwardRef as m, useCallback as h, useEffect as g, useId as _, useImperativeHandle as v, useRef as y, useState as b } from "react";
|
|
@@ -217,7 +217,7 @@ var O = m(({ src: m, sources: O, poster: k, muted: re = !1, autoPlay: ie = !1, l
|
|
|
217
217
|
break;
|
|
218
218
|
default:
|
|
219
219
|
}
|
|
220
|
-
}, De = k ?? f(I, m) ?? xe, Oe = V.duration ? E(V.currentTime / V.duration) : 0, ke = V.muted || V.volume === 0 ?
|
|
220
|
+
}, De = k ?? f(I, m) ?? xe, Oe = V.duration ? E(V.currentTime / V.duration) : 0, ke = V.muted || V.volume === 0 ? a : V.volume < .5 ? i : ee, Ae = {
|
|
221
221
|
"--vp-radius": `${j}px`,
|
|
222
222
|
"--vp-gradient": ce,
|
|
223
223
|
aspectRatio: K ? void 0 : se
|
|
@@ -295,7 +295,7 @@ var O = m(({ src: m, sources: O, poster: k, muted: re = !1, autoPlay: ie = !1, l
|
|
|
295
295
|
"aria-label": V.ended ? "Replay" : "Play",
|
|
296
296
|
tabIndex: -1,
|
|
297
297
|
children: /* @__PURE__ */ x(u, {
|
|
298
|
-
name:
|
|
298
|
+
name: l,
|
|
299
299
|
size: 32
|
|
300
300
|
})
|
|
301
301
|
}),
|
|
@@ -308,7 +308,7 @@ var O = m(({ src: m, sources: O, poster: k, muted: re = !1, autoPlay: ie = !1, l
|
|
|
308
308
|
onClick: B.toggle,
|
|
309
309
|
"aria-label": V.playing ? "Pause" : "Play",
|
|
310
310
|
children: /* @__PURE__ */ x(u, {
|
|
311
|
-
name: V.playing ?
|
|
311
|
+
name: V.playing ? t : l,
|
|
312
312
|
size: 20
|
|
313
313
|
})
|
|
314
314
|
}),
|
|
@@ -377,7 +377,7 @@ var O = m(({ src: m, sources: O, poster: k, muted: re = !1, autoPlay: ie = !1, l
|
|
|
377
377
|
"aria-pressed": Y !== -1,
|
|
378
378
|
"aria-label": Y === -1 ? "Turn on captions" : z.length > 1 ? `Captions: ${R[Y]?.label ?? ""} — next track` : "Turn off captions",
|
|
379
379
|
children: /* @__PURE__ */ x(u, {
|
|
380
|
-
name:
|
|
380
|
+
name: c,
|
|
381
381
|
size: 20
|
|
382
382
|
})
|
|
383
383
|
}),
|
|
@@ -387,7 +387,7 @@ var O = m(({ src: m, sources: O, poster: k, muted: re = !1, autoPlay: ie = !1, l
|
|
|
387
387
|
onClick: $,
|
|
388
388
|
"aria-label": K ? "Exit fullscreen" : "Enter fullscreen",
|
|
389
389
|
children: /* @__PURE__ */ x(u, {
|
|
390
|
-
name: K ?
|
|
390
|
+
name: K ? r : n,
|
|
391
391
|
size: 20
|
|
392
392
|
})
|
|
393
393
|
})
|
|
@@ -415,7 +415,7 @@ var O = m(({ src: m, sources: O, poster: k, muted: re = !1, autoPlay: ie = !1, l
|
|
|
415
415
|
onClick: we,
|
|
416
416
|
"aria-label": "Close transcript",
|
|
417
417
|
children: /* @__PURE__ */ x(u, {
|
|
418
|
-
name:
|
|
418
|
+
name: s,
|
|
419
419
|
size: 20
|
|
420
420
|
})
|
|
421
421
|
})]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as e } from "./esm-
|
|
2
|
+
import { r as e } from "./esm-CqcQTziN.js";
|
|
3
3
|
import { t } from "./dist-an9z21ra.js";
|
|
4
4
|
import { a as n, i as r, n as i, o as a, r as o, s, t as c } from "./dist-DWZ0DflU.js";
|
|
5
|
-
import { t as l } from "./VideoPlayer-
|
|
5
|
+
import { t as l } from "./VideoPlayer-Cg9MFkP5.js";
|
|
6
6
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
7
7
|
var f = {
|
|
8
8
|
close: "ig0T5q_close",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as e } from "./fa-B95RwBpz.js";
|
|
2
2
|
import { VideoCover as t } from "./components/VideoCover/index.js";
|
|
3
|
-
import { t as n } from "./VideoPlayerModal-
|
|
3
|
+
import { t as n } from "./VideoPlayerModal-BzYnI2f2.js";
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
5
|
var a = {
|
|
6
6
|
youtube: "elwCNG_youtube",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Breadcrumb-
|
|
1
|
+
import { t as e } from "../../Breadcrumb-BQzfkMH0.js";
|
|
2
2
|
export { e as Breadcrumb };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../BrowserFrame-
|
|
1
|
+
import { t as e } from "../../BrowserFrame-Bs2fIKzy.js";
|
|
2
2
|
export { e as BrowserFrame };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Button-
|
|
1
|
+
import { t as e } from "../../Button-DtCIaVhq.js";
|
|
2
2
|
export { e as Button };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../ButtonGroup-
|
|
1
|
+
import { t as e } from "../../ButtonGroup-6tLQmpEH.js";
|
|
2
2
|
export { e as ButtonGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../Checkbox-
|
|
1
|
+
import { n as e, t } from "../../Checkbox-CqFkzrVk.js";
|
|
2
2
|
export { t as Checkbox, e as CheckboxGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../CodeBlock-
|
|
1
|
+
import { t as e } from "../../CodeBlock-BM_Vefdj.js";
|
|
2
2
|
export { e as CodeBlock };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../CopyCode-
|
|
1
|
+
import { t as e } from "../../CopyCode-4IXo0bTs.js";
|
|
2
2
|
export { e as CopyCode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../Dropdown-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../Dropdown-BgY76epB.js";
|
|
2
2
|
export { n as Dropdown, e as DropdownItem, t as DropdownSeparator };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as e, t } from "../../esm-
|
|
3
|
-
import { t as n } from "../../Button-
|
|
2
|
+
import { n as e, t } from "../../esm-CqcQTziN.js";
|
|
3
|
+
import { t as n } from "../../Button-DtCIaVhq.js";
|
|
4
4
|
import { n as r } from "../../Typography-DI1AkqiO.js";
|
|
5
5
|
import { n as i, t as a } from "../../ImagePair-BH6ZnPcE.js";
|
|
6
6
|
import { t as o } from "../../Icon-DJTgdvsG.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../CookiePolicyModal-D
|
|
1
|
+
import { t as e } from "../../CookiePolicyModal-BXIr4v-D.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../FooterBottom-
|
|
1
|
+
import { t as e } from "../../FooterBottom-CT_vF7Wo.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../FooterHelp-
|
|
1
|
+
import { t as e } from "../../FooterHelp-VHhF9ED6.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../FooterLinks-
|
|
1
|
+
import { t as e } from "../../FooterLinks-DsCivmiy.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../YoutubeModal-
|
|
1
|
+
import { t as e } from "../../YoutubeModal-8iX4sMik.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Footer-
|
|
1
|
+
import { t as e } from "../../Footer-hAk1PceF.js";
|
|
2
2
|
export { e as Footer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../Header-
|
|
1
|
+
import { n as e, t } from "../../Header-CEV_MWep.js";
|
|
2
2
|
export { t as Header, e as SubHeader };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../../InputGrouped-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../../InputGrouped-y1UNKVd4.js";
|
|
2
2
|
export { r as FormGroup, t as FormRow, n as InputGrouped, e as SelectGrouped };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../Label-
|
|
1
|
+
import { n as e, t } from "../../Label-DwiX1ZiD.js";
|
|
2
2
|
export { t as Label, e as NewTag };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../List-
|
|
1
|
+
import { n as e, t } from "../../List-gHC2SJgK.js";
|
|
2
2
|
export { t as List, e as ListItem };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../LogoCarousel-
|
|
1
|
+
import { t as e } from "../../LogoCarousel-e-1WK43R.js";
|
|
2
2
|
export { e as LogoCarousel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "../../Button-
|
|
1
|
+
import { I as e } from "../../esm-CqcQTziN.js";
|
|
2
|
+
import { t } from "../../Button-DtCIaVhq.js";
|
|
3
3
|
import { n } from "../../Typography-DI1AkqiO.js";
|
|
4
4
|
import { t as r } from "../../styles.module-BDcr8Smc.js";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "../../clsx-BWCAbrjV.js";
|
|
3
|
-
import { n as t } from "../../esm-
|
|
4
|
-
import { t as n } from "../../Button-
|
|
3
|
+
import { n as t } from "../../esm-CqcQTziN.js";
|
|
4
|
+
import { t as n } from "../../Button-DtCIaVhq.js";
|
|
5
5
|
import { n as r } from "../../Typography-DI1AkqiO.js";
|
|
6
6
|
import { t as i } from "../../styles.module-BDcr8Smc.js";
|
|
7
7
|
import { useEffect as a, useRef as o } from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../NewsletterSignup-
|
|
1
|
+
import { t as e } from "../../NewsletterSignup-Dk1cwk-W.js";
|
|
2
2
|
export { e as NewsletterSignup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Notification-
|
|
1
|
+
import { t as e } from "../../Notification-D93nzw6M.js";
|
|
2
2
|
export { e as Notification };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../PrefPanel-
|
|
1
|
+
import { n as e, t } from "../../PrefPanel-DTbo6QDa.js";
|
|
2
2
|
export { t as PrefPanel, e as PrefRadio };
|