highsoft-ui 1.0.52 → 1.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Button/index.js +23 -23
- package/dist/components/Footer/index.js +348 -308
- package/dist/components/GPTInput/index.js +22 -22
- package/dist/components/Header/index.js +60 -60
- package/dist/components/NewTag/index.js +20 -20
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PrefPanel/index.js +82 -81
- package/dist/highsoft-ui.css +1 -1
- package/dist/{index-DAJ9ybTO.js → index-CM3YgRXK.js} +1 -1
- package/dist/{index-CUjEIxqY.js → index-DvBbx2s8.js} +19 -19
- package/dist/main.js +1 -1
- package/dist/php.js +4 -4
- package/dist/scss/variables.scss +32 -0
- package/package.json +1 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r, jsxs as l, Fragment as y } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { _ as
|
|
6
|
-
import { c as
|
|
7
|
-
import { Button as
|
|
8
|
-
import { Container as
|
|
9
|
-
import { ThemedLogo as
|
|
10
|
-
import { NewTag as
|
|
11
|
-
import { u as
|
|
12
|
-
var
|
|
13
|
-
return /* @__PURE__ */
|
|
3
|
+
import v from "react";
|
|
4
|
+
import { P as b, d as at, c as it, e as x, a as R, f as C, g as E, h as lt, R as ct, j as st, i as ut, k as ht, F as dt, D as pt, l as gt, C as mt } from "../../index-CM3YgRXK.js";
|
|
5
|
+
import { _ as M } from "../../extends-hS2Bh-Yp.js";
|
|
6
|
+
import { c as ft } from "../../clsx-OuTLNxxd.js";
|
|
7
|
+
import { Button as vt } from "../Button/index.js";
|
|
8
|
+
import { Container as wt } from "../Container/index.js";
|
|
9
|
+
import { ThemedLogo as bt } from "../Logo/index.js";
|
|
10
|
+
import { NewTag as _t } from "../NewTag/index.js";
|
|
11
|
+
import { a as T, u as yt, c as Ct } from "../../utils-CzQFvGG2.js";
|
|
12
|
+
var Dt = function(e) {
|
|
13
|
+
return /* @__PURE__ */ r("svg", M({
|
|
14
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
15
|
width: 24,
|
|
16
16
|
height: 24,
|
|
17
17
|
fill: "none",
|
|
18
18
|
viewBox: "0 0 24 24"
|
|
19
19
|
}, e, {
|
|
20
|
-
children: /* @__PURE__ */
|
|
20
|
+
children: /* @__PURE__ */ r("path", {
|
|
21
21
|
stroke: "currentColor",
|
|
22
22
|
strokeLinecap: "round",
|
|
23
23
|
strokeLinejoin: "round",
|
|
@@ -25,15 +25,15 @@ var wt = function(e) {
|
|
|
25
25
|
d: "m10.4995 13.5001 10.5-10.5M10.6271 13.828l2.6281 6.758c.2315.5954.3473.893.5141.9799a.5.5 0 0 0 .4615.0003c.1669-.0867.2831-.3842.5153-.9793l6.5903-16.8877c.2097-.5372.3145-.8058.2571-.9775a.5.5 0 0 0-.3158-.3158c-.1716-.0573-.4402.0475-.9774.2571L3.4126 9.2536c-.5951.2322-.8926.3483-.9793.5152a.5.5 0 0 0 .0002.4616c.087.1668.3846.2825.98.5141l6.758 2.6281c.1208.047.1812.0705.2321.1068a.5.5 0 0 1 .1167.1167c.0363.0508.0598.1113.1068.2321"
|
|
26
26
|
})
|
|
27
27
|
}));
|
|
28
|
-
},
|
|
29
|
-
return /* @__PURE__ */
|
|
28
|
+
}, Pt = function(e) {
|
|
29
|
+
return /* @__PURE__ */ r("svg", M({
|
|
30
30
|
xmlns: "http://www.w3.org/2000/svg",
|
|
31
31
|
width: 24,
|
|
32
32
|
height: 24,
|
|
33
33
|
fill: "none",
|
|
34
34
|
viewBox: "0 0 24 24"
|
|
35
35
|
}, e, {
|
|
36
|
-
children: /* @__PURE__ */
|
|
36
|
+
children: /* @__PURE__ */ r("path", {
|
|
37
37
|
stroke: "currentColor",
|
|
38
38
|
strokeLinecap: "round",
|
|
39
39
|
strokeLinejoin: "round",
|
|
@@ -41,15 +41,15 @@ var wt = function(e) {
|
|
|
41
41
|
d: "m6.5 13 .7845 1.5689c.2654.531.3982.7965.5755 1.0265a3 3 0 0 0 .5446.5446c.23.1773.4955.3101 1.0265.5755L11 17.5l-1.569.7845c-.5309.2654-.7964.3982-1.0264.5755a3 3 0 0 0-.5446.5446c-.1773.23-.31.4955-.5755 1.0265L6.5 22l-.7845-1.5689c-.2654-.531-.3982-.7965-.5755-1.0265a3 3 0 0 0-.5446-.5446c-.23-.1773-.4955-.3101-1.0265-.5755L2 17.5l1.569-.7845c.5309-.2654.7964-.3982 1.0264-.5755a3 3 0 0 0 .5446-.5446c.1773-.23.31-.4955.5755-1.0265zM15 2l1.1786 3.0644c.282.7333.423 1.0999.6423 1.4082.1944.2733.4331.5122.7065.7065.3083.2193.675.3603 1.4082.6423L22 9l-3.0644 1.1786c-.7332.282-1.0999.423-1.4082.6423a3 3 0 0 0-.7065.7065c-.2193.3083-.3603.675-.6423 1.4082L15 16l-1.1786-3.0644c-.282-.7332-.423-1.0999-.6423-1.4082a3 3 0 0 0-.7065-.7065c-.3083-.2193-.675-.3603-1.4082-.6423L8 9l3.0644-1.1786c.7332-.282 1.0999-.423 1.4082-.6423a3 3 0 0 0 .7065-.7065c.2193-.3083.3603-.675.6423-1.4082z"
|
|
42
42
|
})
|
|
43
43
|
}));
|
|
44
|
-
},
|
|
45
|
-
return /* @__PURE__ */
|
|
44
|
+
}, Ot = function(e) {
|
|
45
|
+
return /* @__PURE__ */ r("svg", M({
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg",
|
|
47
47
|
width: 24,
|
|
48
48
|
height: 24,
|
|
49
49
|
fill: "none",
|
|
50
50
|
viewBox: "0 0 24 24"
|
|
51
51
|
}, e, {
|
|
52
|
-
children: /* @__PURE__ */
|
|
52
|
+
children: /* @__PURE__ */ r("path", {
|
|
53
53
|
stroke: "currentColor",
|
|
54
54
|
strokeLinecap: "round",
|
|
55
55
|
strokeLinejoin: "round",
|
|
@@ -57,81 +57,104 @@ var wt = function(e) {
|
|
|
57
57
|
d: "m4 17 6-6-6-6m8 14h8"
|
|
58
58
|
})
|
|
59
59
|
}));
|
|
60
|
-
},
|
|
60
|
+
}, Nt = Object.freeze({
|
|
61
|
+
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
62
|
+
position: "absolute",
|
|
63
|
+
border: 0,
|
|
64
|
+
width: 1,
|
|
65
|
+
height: 1,
|
|
66
|
+
padding: 0,
|
|
67
|
+
margin: -1,
|
|
68
|
+
overflow: "hidden",
|
|
69
|
+
clip: "rect(0, 0, 0, 0)",
|
|
70
|
+
whiteSpace: "nowrap",
|
|
71
|
+
wordWrap: "normal"
|
|
72
|
+
}), xt = "VisuallyHidden", F = s.forwardRef(
|
|
73
|
+
(t, e) => /* @__PURE__ */ r(
|
|
74
|
+
b.span,
|
|
75
|
+
{
|
|
76
|
+
...t,
|
|
77
|
+
ref: e,
|
|
78
|
+
style: { ...Nt, ...t.style }
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
);
|
|
82
|
+
F.displayName = xt;
|
|
83
|
+
var St = F, N = "Dialog", [j, je] = it(N), [Rt, p] = j(N), B = (t) => {
|
|
61
84
|
const {
|
|
62
85
|
__scopeDialog: e,
|
|
63
|
-
children:
|
|
86
|
+
children: o,
|
|
64
87
|
open: n,
|
|
65
|
-
defaultOpen:
|
|
66
|
-
onOpenChange:
|
|
88
|
+
defaultOpen: a,
|
|
89
|
+
onOpenChange: i,
|
|
67
90
|
modal: h = !0
|
|
68
|
-
} = t, u = s.useRef(null), d = s.useRef(null), [
|
|
91
|
+
} = t, u = s.useRef(null), d = s.useRef(null), [g, f] = at({
|
|
69
92
|
prop: n,
|
|
70
|
-
defaultProp:
|
|
71
|
-
onChange:
|
|
72
|
-
caller:
|
|
93
|
+
defaultProp: a ?? !1,
|
|
94
|
+
onChange: i,
|
|
95
|
+
caller: N
|
|
73
96
|
});
|
|
74
|
-
return /* @__PURE__ */
|
|
75
|
-
|
|
97
|
+
return /* @__PURE__ */ r(
|
|
98
|
+
Rt,
|
|
76
99
|
{
|
|
77
100
|
scope: e,
|
|
78
101
|
triggerRef: u,
|
|
79
102
|
contentRef: d,
|
|
80
|
-
contentId:
|
|
81
|
-
titleId:
|
|
82
|
-
descriptionId:
|
|
83
|
-
open:
|
|
84
|
-
onOpenChange:
|
|
85
|
-
onOpenToggle: s.useCallback(() =>
|
|
103
|
+
contentId: x(),
|
|
104
|
+
titleId: x(),
|
|
105
|
+
descriptionId: x(),
|
|
106
|
+
open: g,
|
|
107
|
+
onOpenChange: f,
|
|
108
|
+
onOpenToggle: s.useCallback(() => f((_) => !_), [f]),
|
|
86
109
|
modal: h,
|
|
87
|
-
children:
|
|
110
|
+
children: o
|
|
88
111
|
}
|
|
89
112
|
);
|
|
90
113
|
};
|
|
91
|
-
|
|
92
|
-
var
|
|
114
|
+
B.displayName = N;
|
|
115
|
+
var W = "DialogTrigger", H = s.forwardRef(
|
|
93
116
|
(t, e) => {
|
|
94
|
-
const { __scopeDialog:
|
|
95
|
-
return /* @__PURE__ */
|
|
117
|
+
const { __scopeDialog: o, ...n } = t, a = p(W, o), i = R(e, a.triggerRef);
|
|
118
|
+
return /* @__PURE__ */ r(
|
|
96
119
|
b.button,
|
|
97
120
|
{
|
|
98
121
|
type: "button",
|
|
99
122
|
"aria-haspopup": "dialog",
|
|
100
|
-
"aria-expanded":
|
|
101
|
-
"aria-controls":
|
|
102
|
-
"data-state":
|
|
123
|
+
"aria-expanded": a.open,
|
|
124
|
+
"aria-controls": a.contentId,
|
|
125
|
+
"data-state": A(a.open),
|
|
103
126
|
...n,
|
|
104
|
-
ref:
|
|
105
|
-
onClick:
|
|
127
|
+
ref: i,
|
|
128
|
+
onClick: C(t.onClick, a.onOpenToggle)
|
|
106
129
|
}
|
|
107
130
|
);
|
|
108
131
|
}
|
|
109
132
|
);
|
|
110
|
-
|
|
111
|
-
var
|
|
133
|
+
H.displayName = W;
|
|
134
|
+
var I = "DialogPortal", [Et, V] = j(I, {
|
|
112
135
|
forceMount: void 0
|
|
113
|
-
}),
|
|
114
|
-
const { __scopeDialog: e, forceMount:
|
|
115
|
-
return /* @__PURE__ */
|
|
136
|
+
}), G = (t) => {
|
|
137
|
+
const { __scopeDialog: e, forceMount: o, children: n, container: a } = t, i = p(I, e);
|
|
138
|
+
return /* @__PURE__ */ r(Et, { scope: e, forceMount: o, children: s.Children.map(n, (h) => /* @__PURE__ */ r(E, { present: o || i.open, children: /* @__PURE__ */ r(lt, { asChild: !0, container: a, children: h }) })) });
|
|
116
139
|
};
|
|
117
|
-
|
|
118
|
-
var
|
|
140
|
+
G.displayName = I;
|
|
141
|
+
var D = "DialogOverlay", $ = s.forwardRef(
|
|
119
142
|
(t, e) => {
|
|
120
|
-
const
|
|
121
|
-
return
|
|
143
|
+
const o = V(D, t.__scopeDialog), { forceMount: n = o.forceMount, ...a } = t, i = p(D, t.__scopeDialog);
|
|
144
|
+
return i.modal ? /* @__PURE__ */ r(E, { present: n || i.open, children: /* @__PURE__ */ r(It, { ...a, ref: e }) }) : null;
|
|
122
145
|
}
|
|
123
146
|
);
|
|
124
|
-
|
|
125
|
-
var
|
|
147
|
+
$.displayName = D;
|
|
148
|
+
var Mt = st("DialogOverlay.RemoveScroll"), It = s.forwardRef(
|
|
126
149
|
(t, e) => {
|
|
127
|
-
const { __scopeDialog:
|
|
150
|
+
const { __scopeDialog: o, ...n } = t, a = p(D, o);
|
|
128
151
|
return (
|
|
129
152
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
130
153
|
// ie. when `Overlay` and `Content` are siblings
|
|
131
|
-
/* @__PURE__ */
|
|
154
|
+
/* @__PURE__ */ r(ct, { as: Mt, allowPinchZoom: !0, shards: [a.contentRef], children: /* @__PURE__ */ r(
|
|
132
155
|
b.div,
|
|
133
156
|
{
|
|
134
|
-
"data-state":
|
|
157
|
+
"data-state": A(a.open),
|
|
135
158
|
...n,
|
|
136
159
|
ref: e,
|
|
137
160
|
style: { pointerEvents: "auto", ...n.style }
|
|
@@ -139,328 +162,329 @@ var Pt = at("DialogOverlay.RemoveScroll"), Ot = s.forwardRef(
|
|
|
139
162
|
) })
|
|
140
163
|
);
|
|
141
164
|
}
|
|
142
|
-
),
|
|
165
|
+
), w = "DialogContent", Y = s.forwardRef(
|
|
143
166
|
(t, e) => {
|
|
144
|
-
const
|
|
145
|
-
return /* @__PURE__ */
|
|
167
|
+
const o = V(w, t.__scopeDialog), { forceMount: n = o.forceMount, ...a } = t, i = p(w, t.__scopeDialog);
|
|
168
|
+
return /* @__PURE__ */ r(E, { present: n || i.open, children: i.modal ? /* @__PURE__ */ r(Lt, { ...a, ref: e }) : /* @__PURE__ */ r(At, { ...a, ref: e }) });
|
|
146
169
|
}
|
|
147
170
|
);
|
|
148
|
-
|
|
149
|
-
var
|
|
171
|
+
Y.displayName = w;
|
|
172
|
+
var Lt = s.forwardRef(
|
|
150
173
|
(t, e) => {
|
|
151
|
-
const
|
|
174
|
+
const o = p(w, t.__scopeDialog), n = s.useRef(null), a = R(e, o.contentRef, n);
|
|
152
175
|
return s.useEffect(() => {
|
|
153
|
-
const
|
|
154
|
-
if (
|
|
155
|
-
}, []), /* @__PURE__ */
|
|
156
|
-
|
|
176
|
+
const i = n.current;
|
|
177
|
+
if (i) return ut(i);
|
|
178
|
+
}, []), /* @__PURE__ */ r(
|
|
179
|
+
U,
|
|
157
180
|
{
|
|
158
181
|
...t,
|
|
159
|
-
ref:
|
|
160
|
-
trapFocus:
|
|
182
|
+
ref: a,
|
|
183
|
+
trapFocus: o.open,
|
|
161
184
|
disableOutsidePointerEvents: !0,
|
|
162
|
-
onCloseAutoFocus:
|
|
163
|
-
|
|
185
|
+
onCloseAutoFocus: C(t.onCloseAutoFocus, (i) => {
|
|
186
|
+
i.preventDefault(), o.triggerRef.current?.focus();
|
|
164
187
|
}),
|
|
165
|
-
onPointerDownOutside:
|
|
166
|
-
const h =
|
|
167
|
-
(h.button === 2 || u) &&
|
|
188
|
+
onPointerDownOutside: C(t.onPointerDownOutside, (i) => {
|
|
189
|
+
const h = i.detail.originalEvent, u = h.button === 0 && h.ctrlKey === !0;
|
|
190
|
+
(h.button === 2 || u) && i.preventDefault();
|
|
168
191
|
}),
|
|
169
|
-
onFocusOutside:
|
|
192
|
+
onFocusOutside: C(
|
|
170
193
|
t.onFocusOutside,
|
|
171
|
-
(
|
|
194
|
+
(i) => i.preventDefault()
|
|
172
195
|
)
|
|
173
196
|
}
|
|
174
197
|
);
|
|
175
198
|
}
|
|
176
|
-
),
|
|
199
|
+
), At = s.forwardRef(
|
|
177
200
|
(t, e) => {
|
|
178
|
-
const
|
|
179
|
-
return /* @__PURE__ */
|
|
180
|
-
|
|
201
|
+
const o = p(w, t.__scopeDialog), n = s.useRef(!1), a = s.useRef(!1);
|
|
202
|
+
return /* @__PURE__ */ r(
|
|
203
|
+
U,
|
|
181
204
|
{
|
|
182
205
|
...t,
|
|
183
206
|
ref: e,
|
|
184
207
|
trapFocus: !1,
|
|
185
208
|
disableOutsidePointerEvents: !1,
|
|
186
|
-
onCloseAutoFocus: (
|
|
187
|
-
t.onCloseAutoFocus?.(
|
|
209
|
+
onCloseAutoFocus: (i) => {
|
|
210
|
+
t.onCloseAutoFocus?.(i), i.defaultPrevented || (n.current || o.triggerRef.current?.focus(), i.preventDefault()), n.current = !1, a.current = !1;
|
|
188
211
|
},
|
|
189
|
-
onInteractOutside: (
|
|
190
|
-
t.onInteractOutside?.(
|
|
191
|
-
const h =
|
|
192
|
-
|
|
212
|
+
onInteractOutside: (i) => {
|
|
213
|
+
t.onInteractOutside?.(i), i.defaultPrevented || (n.current = !0, i.detail.originalEvent.type === "pointerdown" && (a.current = !0));
|
|
214
|
+
const h = i.target;
|
|
215
|
+
o.triggerRef.current?.contains(h) && i.preventDefault(), i.detail.originalEvent.type === "focusin" && a.current && i.preventDefault();
|
|
193
216
|
}
|
|
194
217
|
}
|
|
195
218
|
);
|
|
196
219
|
}
|
|
197
|
-
),
|
|
220
|
+
), U = s.forwardRef(
|
|
198
221
|
(t, e) => {
|
|
199
|
-
const { __scopeDialog:
|
|
200
|
-
return
|
|
201
|
-
/* @__PURE__ */
|
|
202
|
-
|
|
222
|
+
const { __scopeDialog: o, trapFocus: n, onOpenAutoFocus: a, onCloseAutoFocus: i, ...h } = t, u = p(w, o), d = s.useRef(null), g = R(e, d);
|
|
223
|
+
return ht(), /* @__PURE__ */ l(y, { children: [
|
|
224
|
+
/* @__PURE__ */ r(
|
|
225
|
+
dt,
|
|
203
226
|
{
|
|
204
227
|
asChild: !0,
|
|
205
228
|
loop: !0,
|
|
206
229
|
trapped: n,
|
|
207
|
-
onMountAutoFocus:
|
|
208
|
-
onUnmountAutoFocus:
|
|
209
|
-
children: /* @__PURE__ */
|
|
210
|
-
|
|
230
|
+
onMountAutoFocus: a,
|
|
231
|
+
onUnmountAutoFocus: i,
|
|
232
|
+
children: /* @__PURE__ */ r(
|
|
233
|
+
pt,
|
|
211
234
|
{
|
|
212
235
|
role: "dialog",
|
|
213
236
|
id: u.contentId,
|
|
214
237
|
"aria-describedby": u.descriptionId,
|
|
215
238
|
"aria-labelledby": u.titleId,
|
|
216
|
-
"data-state":
|
|
239
|
+
"data-state": A(u.open),
|
|
217
240
|
...h,
|
|
218
|
-
ref:
|
|
241
|
+
ref: g,
|
|
219
242
|
onDismiss: () => u.onOpenChange(!1)
|
|
220
243
|
}
|
|
221
244
|
)
|
|
222
245
|
}
|
|
223
246
|
),
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
-
/* @__PURE__ */
|
|
226
|
-
/* @__PURE__ */
|
|
247
|
+
/* @__PURE__ */ l(y, { children: [
|
|
248
|
+
/* @__PURE__ */ r(zt, { titleId: u.titleId }),
|
|
249
|
+
/* @__PURE__ */ r(jt, { contentRef: d, descriptionId: u.descriptionId })
|
|
227
250
|
] })
|
|
228
251
|
] });
|
|
229
252
|
}
|
|
230
|
-
),
|
|
253
|
+
), L = "DialogTitle", q = s.forwardRef(
|
|
231
254
|
(t, e) => {
|
|
232
|
-
const { __scopeDialog:
|
|
233
|
-
return /* @__PURE__ */
|
|
255
|
+
const { __scopeDialog: o, ...n } = t, a = p(L, o);
|
|
256
|
+
return /* @__PURE__ */ r(b.h2, { id: a.titleId, ...n, ref: e });
|
|
234
257
|
}
|
|
235
258
|
);
|
|
236
|
-
|
|
237
|
-
var
|
|
259
|
+
q.displayName = L;
|
|
260
|
+
var X = "DialogDescription", Tt = s.forwardRef(
|
|
238
261
|
(t, e) => {
|
|
239
|
-
const { __scopeDialog:
|
|
240
|
-
return /* @__PURE__ */
|
|
262
|
+
const { __scopeDialog: o, ...n } = t, a = p(X, o);
|
|
263
|
+
return /* @__PURE__ */ r(b.p, { id: a.descriptionId, ...n, ref: e });
|
|
241
264
|
}
|
|
242
265
|
);
|
|
243
|
-
|
|
244
|
-
var
|
|
266
|
+
Tt.displayName = X;
|
|
267
|
+
var Z = "DialogClose", kt = s.forwardRef(
|
|
245
268
|
(t, e) => {
|
|
246
|
-
const { __scopeDialog:
|
|
247
|
-
return /* @__PURE__ */
|
|
269
|
+
const { __scopeDialog: o, ...n } = t, a = p(Z, o);
|
|
270
|
+
return /* @__PURE__ */ r(
|
|
248
271
|
b.button,
|
|
249
272
|
{
|
|
250
273
|
type: "button",
|
|
251
274
|
...n,
|
|
252
275
|
ref: e,
|
|
253
|
-
onClick:
|
|
276
|
+
onClick: C(t.onClick, () => a.onOpenChange(!1))
|
|
254
277
|
}
|
|
255
278
|
);
|
|
256
279
|
}
|
|
257
280
|
);
|
|
258
|
-
|
|
259
|
-
function
|
|
281
|
+
kt.displayName = Z;
|
|
282
|
+
function A(t) {
|
|
260
283
|
return t ? "open" : "closed";
|
|
261
284
|
}
|
|
262
|
-
var
|
|
263
|
-
contentName:
|
|
264
|
-
titleName:
|
|
285
|
+
var Q = "DialogTitleWarning", [Be, J] = gt(Q, {
|
|
286
|
+
contentName: w,
|
|
287
|
+
titleName: L,
|
|
265
288
|
docsSlug: "dialog"
|
|
266
|
-
}),
|
|
267
|
-
const e =
|
|
289
|
+
}), zt = ({ titleId: t }) => {
|
|
290
|
+
const e = J(Q), o = `\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
|
|
268
291
|
|
|
269
292
|
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
270
293
|
|
|
271
294
|
For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;
|
|
272
295
|
return s.useEffect(() => {
|
|
273
|
-
t && (document.getElementById(t) || console.error(
|
|
274
|
-
}, [
|
|
275
|
-
},
|
|
276
|
-
const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${
|
|
296
|
+
t && (document.getElementById(t) || console.error(o));
|
|
297
|
+
}, [o, t]), null;
|
|
298
|
+
}, Ft = "DialogDescriptionWarning", jt = ({ contentRef: t, descriptionId: e }) => {
|
|
299
|
+
const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${J(Ft).contentName}}.`;
|
|
277
300
|
return s.useEffect(() => {
|
|
278
|
-
const
|
|
279
|
-
e &&
|
|
301
|
+
const a = t.current?.getAttribute("aria-describedby");
|
|
302
|
+
e && a && (document.getElementById(e) || console.warn(n));
|
|
280
303
|
}, [n, t, e]), null;
|
|
281
|
-
},
|
|
304
|
+
}, Bt = B, Wt = H, Ht = G, Vt = $, Gt = Y, $t = q, K = {
|
|
282
305
|
color: void 0,
|
|
283
306
|
size: void 0,
|
|
284
307
|
className: void 0,
|
|
285
308
|
style: void 0,
|
|
286
309
|
attr: void 0
|
|
287
|
-
},
|
|
288
|
-
function
|
|
310
|
+
}, k = v.createContext && /* @__PURE__ */ v.createContext(K), Yt = ["attr", "size", "title"];
|
|
311
|
+
function Ut(t, e) {
|
|
289
312
|
if (t == null) return {};
|
|
290
|
-
var
|
|
313
|
+
var o = qt(t, e), n, a;
|
|
291
314
|
if (Object.getOwnPropertySymbols) {
|
|
292
|
-
var
|
|
293
|
-
for (
|
|
294
|
-
n = a
|
|
315
|
+
var i = Object.getOwnPropertySymbols(t);
|
|
316
|
+
for (a = 0; a < i.length; a++)
|
|
317
|
+
n = i[a], !(e.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(t, n) && (o[n] = t[n]);
|
|
295
318
|
}
|
|
296
|
-
return
|
|
319
|
+
return o;
|
|
297
320
|
}
|
|
298
321
|
function qt(t, e) {
|
|
299
322
|
if (t == null) return {};
|
|
300
|
-
var
|
|
323
|
+
var o = {};
|
|
301
324
|
for (var n in t)
|
|
302
325
|
if (Object.prototype.hasOwnProperty.call(t, n)) {
|
|
303
326
|
if (e.indexOf(n) >= 0) continue;
|
|
304
|
-
|
|
327
|
+
o[n] = t[n];
|
|
305
328
|
}
|
|
306
|
-
return
|
|
329
|
+
return o;
|
|
307
330
|
}
|
|
308
|
-
function
|
|
309
|
-
return
|
|
331
|
+
function P() {
|
|
332
|
+
return P = Object.assign ? Object.assign.bind() : function(t) {
|
|
310
333
|
for (var e = 1; e < arguments.length; e++) {
|
|
311
|
-
var
|
|
312
|
-
for (var n in
|
|
313
|
-
Object.prototype.hasOwnProperty.call(
|
|
334
|
+
var o = arguments[e];
|
|
335
|
+
for (var n in o)
|
|
336
|
+
Object.prototype.hasOwnProperty.call(o, n) && (t[n] = o[n]);
|
|
314
337
|
}
|
|
315
338
|
return t;
|
|
316
|
-
},
|
|
339
|
+
}, P.apply(this, arguments);
|
|
317
340
|
}
|
|
318
|
-
function
|
|
319
|
-
var
|
|
341
|
+
function z(t, e) {
|
|
342
|
+
var o = Object.keys(t);
|
|
320
343
|
if (Object.getOwnPropertySymbols) {
|
|
321
344
|
var n = Object.getOwnPropertySymbols(t);
|
|
322
|
-
e && (n = n.filter(function(
|
|
323
|
-
return Object.getOwnPropertyDescriptor(t,
|
|
324
|
-
})),
|
|
345
|
+
e && (n = n.filter(function(a) {
|
|
346
|
+
return Object.getOwnPropertyDescriptor(t, a).enumerable;
|
|
347
|
+
})), o.push.apply(o, n);
|
|
325
348
|
}
|
|
326
|
-
return
|
|
349
|
+
return o;
|
|
327
350
|
}
|
|
328
|
-
function
|
|
351
|
+
function O(t) {
|
|
329
352
|
for (var e = 1; e < arguments.length; e++) {
|
|
330
|
-
var
|
|
331
|
-
e % 2 ?
|
|
332
|
-
|
|
333
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(
|
|
334
|
-
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(
|
|
353
|
+
var o = arguments[e] != null ? arguments[e] : {};
|
|
354
|
+
e % 2 ? z(Object(o), !0).forEach(function(n) {
|
|
355
|
+
Xt(t, n, o[n]);
|
|
356
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o)) : z(Object(o)).forEach(function(n) {
|
|
357
|
+
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(o, n));
|
|
335
358
|
});
|
|
336
359
|
}
|
|
337
360
|
return t;
|
|
338
361
|
}
|
|
339
|
-
function
|
|
340
|
-
return e =
|
|
362
|
+
function Xt(t, e, o) {
|
|
363
|
+
return e = Zt(e), e in t ? Object.defineProperty(t, e, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = o, t;
|
|
341
364
|
}
|
|
342
|
-
function
|
|
343
|
-
var e =
|
|
365
|
+
function Zt(t) {
|
|
366
|
+
var e = Qt(t, "string");
|
|
344
367
|
return typeof e == "symbol" ? e : e + "";
|
|
345
368
|
}
|
|
346
|
-
function
|
|
369
|
+
function Qt(t, e) {
|
|
347
370
|
if (typeof t != "object" || !t) return t;
|
|
348
|
-
var
|
|
349
|
-
if (
|
|
350
|
-
var n =
|
|
371
|
+
var o = t[Symbol.toPrimitive];
|
|
372
|
+
if (o !== void 0) {
|
|
373
|
+
var n = o.call(t, e);
|
|
351
374
|
if (typeof n != "object") return n;
|
|
352
375
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
353
376
|
}
|
|
354
377
|
return (e === "string" ? String : Number)(t);
|
|
355
378
|
}
|
|
356
|
-
function
|
|
357
|
-
return t && t.map((e,
|
|
358
|
-
key:
|
|
359
|
-
}, e.attr),
|
|
379
|
+
function tt(t) {
|
|
380
|
+
return t && t.map((e, o) => /* @__PURE__ */ v.createElement(e.tag, O({
|
|
381
|
+
key: o
|
|
382
|
+
}, e.attr), tt(e.child)));
|
|
360
383
|
}
|
|
361
|
-
function
|
|
362
|
-
return (e) => /* @__PURE__ */
|
|
363
|
-
attr:
|
|
364
|
-
}, e),
|
|
384
|
+
function m(t) {
|
|
385
|
+
return (e) => /* @__PURE__ */ v.createElement(Jt, P({
|
|
386
|
+
attr: O({}, t.attr)
|
|
387
|
+
}, e), tt(t.child));
|
|
365
388
|
}
|
|
366
|
-
function
|
|
367
|
-
var e = (
|
|
389
|
+
function Jt(t) {
|
|
390
|
+
var e = (o) => {
|
|
368
391
|
var {
|
|
369
392
|
attr: n,
|
|
370
|
-
size:
|
|
371
|
-
title:
|
|
372
|
-
} = t, h =
|
|
373
|
-
return
|
|
393
|
+
size: a,
|
|
394
|
+
title: i
|
|
395
|
+
} = t, h = Ut(t, Yt), u = a || o.size || "1em", d;
|
|
396
|
+
return o.className && (d = o.className), t.className && (d = (d ? d + " " : "") + t.className), /* @__PURE__ */ v.createElement("svg", P({
|
|
374
397
|
stroke: "currentColor",
|
|
375
398
|
fill: "currentColor",
|
|
376
399
|
strokeWidth: "0"
|
|
377
|
-
},
|
|
400
|
+
}, o.attr, n, h, {
|
|
378
401
|
className: d,
|
|
379
|
-
style:
|
|
380
|
-
color: t.color ||
|
|
381
|
-
},
|
|
402
|
+
style: O(O({
|
|
403
|
+
color: t.color || o.color
|
|
404
|
+
}, o.style), t.style),
|
|
382
405
|
height: u,
|
|
383
406
|
width: u,
|
|
384
407
|
xmlns: "http://www.w3.org/2000/svg"
|
|
385
|
-
}),
|
|
408
|
+
}), i && /* @__PURE__ */ v.createElement("title", null, i), t.children);
|
|
386
409
|
};
|
|
387
|
-
return
|
|
410
|
+
return k !== void 0 ? /* @__PURE__ */ v.createElement(k.Consumer, null, (o) => e(o)) : e(K);
|
|
388
411
|
}
|
|
389
|
-
function
|
|
390
|
-
return
|
|
412
|
+
function Kt(t) {
|
|
413
|
+
return m({ attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z" }, child: [] }] })(t);
|
|
391
414
|
}
|
|
392
|
-
function
|
|
393
|
-
return
|
|
415
|
+
function te(t) {
|
|
416
|
+
return m({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z" }, child: [] }] })(t);
|
|
394
417
|
}
|
|
395
|
-
function
|
|
396
|
-
return
|
|
418
|
+
function et(t) {
|
|
419
|
+
return m({ attr: { viewBox: "0 0 496 512" }, child: [{ tag: "path", attr: { d: "M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z" }, child: [] }] })(t);
|
|
397
420
|
}
|
|
398
|
-
function
|
|
399
|
-
return
|
|
421
|
+
function ee(t) {
|
|
422
|
+
return m({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z" }, child: [] }] })(t);
|
|
400
423
|
}
|
|
401
|
-
function
|
|
402
|
-
return
|
|
424
|
+
function re(t) {
|
|
425
|
+
return m({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z" }, child: [] }] })(t);
|
|
403
426
|
}
|
|
404
|
-
function
|
|
405
|
-
return
|
|
427
|
+
function rt(t) {
|
|
428
|
+
return m({ attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M290.7 311L95 269.7 86.8 309l195.7 41zm51-87L188.2 95.7l-25.5 30.8 153.5 128.3zm-31.2 39.7L129.2 179l-16.7 36.5L293.7 300zM262 32l-32 24 119.3 160.3 32-24zm20.5 328h-200v39.7h200zm39.7 80H42.7V320h-40v160h359.5V320h-40z" }, child: [] }] })(t);
|
|
406
429
|
}
|
|
407
|
-
function
|
|
408
|
-
return
|
|
430
|
+
function ot(t) {
|
|
431
|
+
return m({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z" }, child: [] }] })(t);
|
|
409
432
|
}
|
|
410
|
-
function
|
|
411
|
-
return
|
|
433
|
+
function oe(t) {
|
|
434
|
+
return m({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z" }, child: [] }] })(t);
|
|
412
435
|
}
|
|
413
|
-
const
|
|
414
|
-
footer:
|
|
415
|
-
top:
|
|
416
|
-
highcharts:
|
|
417
|
-
logo:
|
|
418
|
-
youtube:
|
|
419
|
-
youtubeOverlay:
|
|
420
|
-
youtubeContent:
|
|
421
|
-
charts:
|
|
422
|
-
chart:
|
|
423
|
-
help:
|
|
424
|
-
helpWays:
|
|
425
|
-
helpItem:
|
|
426
|
-
helpContent:
|
|
427
|
-
helpBall:
|
|
428
|
-
links:
|
|
429
|
-
tagged:
|
|
430
|
-
norway:
|
|
431
|
-
bottom:
|
|
432
|
-
bottomLinks:
|
|
433
|
-
|
|
436
|
+
const ne = "_footer_1avnw_300", ae = "_top_1avnw_319", ie = "_highcharts_1avnw_325", le = "_logo_1avnw_334", ce = "_youtube_1avnw_348", se = "_youtubeOverlay_1avnw_418", ue = "_youtubeContent_1avnw_430", he = "_charts_1avnw_447", de = "_chart_1avnw_447", pe = "_help_1avnw_463", ge = "_helpWays_1avnw_471", me = "_helpItem_1avnw_481", fe = "_helpContent_1avnw_486", ve = "_helpBall_1avnw_489", we = "_links_1avnw_528", be = "_tagged_1avnw_558", _e = "_norway_1avnw_562", ye = "_bottom_1avnw_572", Ce = "_bottomLinks_1avnw_582", De = "_tabletBottomLeft_1avnw_590", Pe = "_socials_1avnw_596", c = {
|
|
437
|
+
footer: ne,
|
|
438
|
+
top: ae,
|
|
439
|
+
highcharts: ie,
|
|
440
|
+
logo: le,
|
|
441
|
+
youtube: ce,
|
|
442
|
+
youtubeOverlay: se,
|
|
443
|
+
youtubeContent: ue,
|
|
444
|
+
charts: he,
|
|
445
|
+
chart: de,
|
|
446
|
+
help: pe,
|
|
447
|
+
helpWays: ge,
|
|
448
|
+
helpItem: me,
|
|
449
|
+
helpContent: fe,
|
|
450
|
+
helpBall: ve,
|
|
451
|
+
links: we,
|
|
452
|
+
tagged: be,
|
|
453
|
+
norway: _e,
|
|
454
|
+
bottom: ye,
|
|
455
|
+
bottomLinks: Ce,
|
|
456
|
+
tabletBottomLeft: De,
|
|
457
|
+
socials: Pe
|
|
434
458
|
};
|
|
435
|
-
function
|
|
459
|
+
function S(t, e) {
|
|
436
460
|
return e ? t.replace(e, "") : t;
|
|
437
461
|
}
|
|
438
|
-
const
|
|
462
|
+
const Oe = [
|
|
439
463
|
{
|
|
440
|
-
icon: /* @__PURE__ */
|
|
464
|
+
icon: /* @__PURE__ */ r(Pt, {}),
|
|
441
465
|
subtitle: "Ask tech and sales questions with",
|
|
442
466
|
title: "Highcharts GPT",
|
|
443
467
|
url: "https://www.highcharts.com/chat/gpt/"
|
|
444
468
|
},
|
|
445
469
|
{
|
|
446
|
-
icon: /* @__PURE__ */
|
|
470
|
+
icon: /* @__PURE__ */ r(rt, {}),
|
|
447
471
|
subtitle: "Search answers on",
|
|
448
472
|
title: "StackOverflow",
|
|
449
473
|
url: "https://stackoverflow.com/questions/tagged/highcharts"
|
|
450
474
|
},
|
|
451
475
|
{
|
|
452
|
-
icon: /* @__PURE__ */
|
|
476
|
+
icon: /* @__PURE__ */ r(et, {}),
|
|
453
477
|
subtitle: "Report issues on",
|
|
454
478
|
title: "GitHub",
|
|
455
479
|
url: "https://github.com/highcharts/highcharts/issues"
|
|
456
480
|
},
|
|
457
481
|
{
|
|
458
|
-
icon: /* @__PURE__ */
|
|
482
|
+
icon: /* @__PURE__ */ r(Dt, {}),
|
|
459
483
|
subtitle: "Contact sales about",
|
|
460
484
|
title: "Licensing Options",
|
|
461
485
|
url: "https://shop.highcharts.com/contact"
|
|
462
486
|
}
|
|
463
|
-
],
|
|
487
|
+
], Ne = {
|
|
464
488
|
Products: [
|
|
465
489
|
{
|
|
466
490
|
title: "Core",
|
|
@@ -679,146 +703,168 @@ const ve = [
|
|
|
679
703
|
url: "#"
|
|
680
704
|
}
|
|
681
705
|
]
|
|
682
|
-
},
|
|
706
|
+
}, xe = [
|
|
683
707
|
{
|
|
684
|
-
icon: /* @__PURE__ */
|
|
708
|
+
icon: /* @__PURE__ */ r(rt, {}),
|
|
685
709
|
url: "https://stackoverflow.com/questions/tagged/highcharts",
|
|
686
710
|
label: "StackOverlow"
|
|
687
711
|
},
|
|
688
712
|
{
|
|
689
|
-
icon: /* @__PURE__ */
|
|
713
|
+
icon: /* @__PURE__ */ r(et, {}),
|
|
690
714
|
url: "https://github.com/highcharts/highcharts",
|
|
691
715
|
label: "GitHub"
|
|
692
716
|
},
|
|
693
717
|
{
|
|
694
|
-
icon: /* @__PURE__ */
|
|
718
|
+
icon: /* @__PURE__ */ r(oe, {}),
|
|
695
719
|
url: "https://twitter.com/Highcharts",
|
|
696
720
|
label: "X"
|
|
697
721
|
},
|
|
698
722
|
{
|
|
699
|
-
icon: /* @__PURE__ */
|
|
723
|
+
icon: /* @__PURE__ */ r(te, {}),
|
|
700
724
|
url: "https://www.facebook.com/Highcharts",
|
|
701
725
|
label: "Facebook"
|
|
702
726
|
},
|
|
703
727
|
{
|
|
704
|
-
icon: /* @__PURE__ */
|
|
728
|
+
icon: /* @__PURE__ */ r(ee, {}),
|
|
705
729
|
url: "https://www.instagram.com/highcharts",
|
|
706
730
|
label: "Instagram"
|
|
707
731
|
},
|
|
708
732
|
{
|
|
709
|
-
icon: /* @__PURE__ */
|
|
733
|
+
icon: /* @__PURE__ */ r(re, {}),
|
|
710
734
|
url: "https://www.linkedin.com/company/highsoft",
|
|
711
735
|
label: "LinkedIn"
|
|
712
736
|
},
|
|
713
737
|
{
|
|
714
|
-
icon: /* @__PURE__ */
|
|
738
|
+
icon: /* @__PURE__ */ r(Kt, {}),
|
|
715
739
|
url: "https://www.highcharts.com/highcharts-discord/",
|
|
716
740
|
label: "Discord"
|
|
717
741
|
},
|
|
718
742
|
{
|
|
719
|
-
icon: /* @__PURE__ */
|
|
743
|
+
icon: /* @__PURE__ */ r(ot, {}),
|
|
720
744
|
url: "https://www.youtube.com/channel/UCzxXofPTQ0DoT7uIy3Fxw7A",
|
|
721
745
|
label: "Youtube"
|
|
722
746
|
}
|
|
723
747
|
];
|
|
724
|
-
function
|
|
725
|
-
const t =
|
|
726
|
-
return /* @__PURE__ */
|
|
727
|
-
|
|
748
|
+
function Se() {
|
|
749
|
+
const t = yt(), [e, o] = Ct(), n = "npm install highcharts --save";
|
|
750
|
+
return /* @__PURE__ */ l(
|
|
751
|
+
vt,
|
|
728
752
|
{
|
|
729
753
|
variant: t === "dark" ? "neutral" : "white",
|
|
730
754
|
onClick: () => e(n),
|
|
731
755
|
children: [
|
|
732
756
|
n,
|
|
733
|
-
|
|
757
|
+
o ? /* @__PURE__ */ r(mt, {}) : /* @__PURE__ */ r(Ot, {})
|
|
734
758
|
]
|
|
735
759
|
}
|
|
736
760
|
);
|
|
737
761
|
}
|
|
738
|
-
function
|
|
762
|
+
function We({
|
|
739
763
|
link: t = "a",
|
|
740
764
|
host: e = "https://www.highcharts.com"
|
|
741
765
|
}) {
|
|
742
|
-
|
|
743
|
-
/* @__PURE__ */
|
|
744
|
-
|
|
745
|
-
|
|
766
|
+
const o = T("(max-width: 849px)"), n = T("(min-width: 850px) and (max-width: 999px)"), a = /* @__PURE__ */ l(y, { children: [
|
|
767
|
+
/* @__PURE__ */ l("span", { children: [
|
|
768
|
+
"© ",
|
|
769
|
+
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
770
|
+
" Highsoft. All rights reserved."
|
|
771
|
+
] }),
|
|
772
|
+
/* @__PURE__ */ l("div", { className: c.bottomLinks, children: [
|
|
773
|
+
/* @__PURE__ */ r(t, { href: "#", children: "Privacy & Legal Policies" }),
|
|
774
|
+
/* @__PURE__ */ r(t, { href: "#", children: "Accessibility Statement" }),
|
|
775
|
+
/* @__PURE__ */ r(t, { href: "#", children: "Sitemap" })
|
|
776
|
+
] })
|
|
777
|
+
] }), i = /* @__PURE__ */ r("ul", { className: c.socials, children: xe.map(({ icon: h, url: u, label: d }, g) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r("a", { href: u, "aria-label": d, children: h }) }, g)) });
|
|
778
|
+
return /* @__PURE__ */ l(wt, { as: "footer", className: c.footer, children: [
|
|
779
|
+
/* @__PURE__ */ l("div", { className: c.top, children: [
|
|
780
|
+
/* @__PURE__ */ l("div", { className: c.highcharts, children: [
|
|
781
|
+
/* @__PURE__ */ r(
|
|
746
782
|
t,
|
|
747
783
|
{
|
|
748
|
-
className:
|
|
749
|
-
href:
|
|
750
|
-
children: /* @__PURE__ */
|
|
784
|
+
className: c.logo,
|
|
785
|
+
href: S("https://www.highcharts.com/", e),
|
|
786
|
+
children: /* @__PURE__ */ r(bt, {})
|
|
751
787
|
}
|
|
752
788
|
),
|
|
753
|
-
/* @__PURE__ */
|
|
754
|
-
/* @__PURE__ */
|
|
789
|
+
/* @__PURE__ */ r("p", { children: "We make it easy for developers to create charts and dashboards for web and mobile platforms." }),
|
|
790
|
+
/* @__PURE__ */ r(Se, {})
|
|
755
791
|
] }),
|
|
756
|
-
/* @__PURE__ */
|
|
757
|
-
/* @__PURE__ */
|
|
758
|
-
/* @__PURE__ */
|
|
759
|
-
/* @__PURE__ */
|
|
792
|
+
/* @__PURE__ */ l(Bt, { children: [
|
|
793
|
+
/* @__PURE__ */ r(Wt, { asChild: !0, children: /* @__PURE__ */ l("button", { className: c.youtube, children: [
|
|
794
|
+
/* @__PURE__ */ r(ot, {}),
|
|
795
|
+
/* @__PURE__ */ r("p", { children: "Meet the team behind the charts" })
|
|
760
796
|
] }) }),
|
|
761
|
-
/* @__PURE__ */
|
|
762
|
-
/* @__PURE__ */
|
|
763
|
-
/* @__PURE__ */
|
|
764
|
-
|
|
797
|
+
/* @__PURE__ */ l(Ht, { children: [
|
|
798
|
+
/* @__PURE__ */ r(Vt, { className: c.youtubeOverlay }),
|
|
799
|
+
/* @__PURE__ */ l(
|
|
800
|
+
Gt,
|
|
765
801
|
{
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
802
|
+
className: c.youtubeContent,
|
|
803
|
+
"aria-describedby": void 0,
|
|
804
|
+
children: [
|
|
805
|
+
/* @__PURE__ */ r(St, { asChild: !0, children: /* @__PURE__ */ r($t, { children: "Video: Meet the team behind the charts" }) }),
|
|
806
|
+
/* @__PURE__ */ r(
|
|
807
|
+
"iframe",
|
|
808
|
+
{
|
|
809
|
+
width: "100%",
|
|
810
|
+
height: "100%",
|
|
811
|
+
src: "https://www.youtube.com/embed/heuPez3bIXo?autoplay=1",
|
|
812
|
+
allow: "autoplay",
|
|
813
|
+
allowFullScreen: !0
|
|
814
|
+
}
|
|
815
|
+
)
|
|
816
|
+
]
|
|
771
817
|
}
|
|
772
|
-
)
|
|
818
|
+
)
|
|
773
819
|
] })
|
|
774
820
|
] }),
|
|
775
|
-
/* @__PURE__ */
|
|
776
|
-
/* @__PURE__ */
|
|
777
|
-
/* @__PURE__ */
|
|
778
|
-
/* @__PURE__ */
|
|
821
|
+
/* @__PURE__ */ l("div", { className: c.charts, children: [
|
|
822
|
+
/* @__PURE__ */ r("div", { className: c.chart }),
|
|
823
|
+
/* @__PURE__ */ r("div", { className: c.chart }),
|
|
824
|
+
/* @__PURE__ */ r("div", { className: c.chart })
|
|
779
825
|
] })
|
|
780
826
|
] }),
|
|
781
|
-
/* @__PURE__ */
|
|
782
|
-
/* @__PURE__ */
|
|
783
|
-
/* @__PURE__ */
|
|
784
|
-
/* @__PURE__ */
|
|
827
|
+
/* @__PURE__ */ l("div", { className: c.help, children: [
|
|
828
|
+
/* @__PURE__ */ l("div", { className: c.helpWays, children: [
|
|
829
|
+
/* @__PURE__ */ r("span", { children: "Ways to get help" }),
|
|
830
|
+
/* @__PURE__ */ l("p", { children: [
|
|
785
831
|
"We operate in CET",
|
|
786
|
-
/* @__PURE__ */
|
|
832
|
+
o ? " " : /* @__PURE__ */ r("br", {}),
|
|
787
833
|
"Monday - Friday"
|
|
788
834
|
] })
|
|
789
835
|
] }),
|
|
790
|
-
|
|
836
|
+
Oe.map(({ icon: h, subtitle: u, title: d, url: g }, f) => /* @__PURE__ */ l(
|
|
791
837
|
t,
|
|
792
838
|
{
|
|
793
|
-
href:
|
|
794
|
-
className:
|
|
839
|
+
href: S(g, e),
|
|
840
|
+
className: c.helpItem,
|
|
795
841
|
children: [
|
|
796
|
-
/* @__PURE__ */
|
|
797
|
-
/* @__PURE__ */
|
|
798
|
-
/* @__PURE__ */
|
|
799
|
-
/* @__PURE__ */
|
|
842
|
+
/* @__PURE__ */ r("div", { className: c.helpBall, children: h }),
|
|
843
|
+
/* @__PURE__ */ l("div", { className: c.helpContent, children: [
|
|
844
|
+
/* @__PURE__ */ r("span", { children: u }),
|
|
845
|
+
/* @__PURE__ */ r("span", { children: d })
|
|
800
846
|
] })
|
|
801
847
|
]
|
|
802
848
|
},
|
|
803
|
-
|
|
849
|
+
f
|
|
804
850
|
))
|
|
805
851
|
] }),
|
|
806
|
-
/* @__PURE__ */
|
|
807
|
-
Object.entries(
|
|
808
|
-
/* @__PURE__ */
|
|
809
|
-
/* @__PURE__ */
|
|
852
|
+
/* @__PURE__ */ l("div", { className: c.links, children: [
|
|
853
|
+
Object.entries(Ne).map(([h, u], d) => /* @__PURE__ */ l("div", { children: [
|
|
854
|
+
/* @__PURE__ */ r("h2", { children: h }),
|
|
855
|
+
/* @__PURE__ */ r("ul", { children: u.map(({ title: g, url: f, tag: _ }, nt) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ l(
|
|
810
856
|
t,
|
|
811
857
|
{
|
|
812
|
-
href:
|
|
813
|
-
className:
|
|
858
|
+
href: S(f, e),
|
|
859
|
+
className: ft({ [c.tagged]: _ }),
|
|
814
860
|
children: [
|
|
815
|
-
|
|
816
|
-
|
|
861
|
+
_ ? /* @__PURE__ */ r("span", { children: g }) : g,
|
|
862
|
+
_ && /* @__PURE__ */ r(_t, { variant: "brand", icon: !1, border: !0 })
|
|
817
863
|
]
|
|
818
864
|
}
|
|
819
|
-
) },
|
|
820
|
-
] },
|
|
821
|
-
/* @__PURE__ */
|
|
865
|
+
) }, nt)) })
|
|
866
|
+
] }, d)),
|
|
867
|
+
/* @__PURE__ */ r("div", { className: c.norway, children: /* @__PURE__ */ r(
|
|
822
868
|
"img",
|
|
823
869
|
{
|
|
824
870
|
src: "https://businessnorway.com/images/made-in-norway-logo.png",
|
|
@@ -826,21 +872,15 @@ function Ae({
|
|
|
826
872
|
}
|
|
827
873
|
) })
|
|
828
874
|
] }),
|
|
829
|
-
/* @__PURE__ */
|
|
830
|
-
/* @__PURE__ */
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
/* @__PURE__ */ o(t, { href: "#", children: "Privacy & Legal Policies" }),
|
|
837
|
-
/* @__PURE__ */ o(t, { href: "#", children: "Accessibility Statement" }),
|
|
838
|
-
/* @__PURE__ */ o(t, { href: "#", children: "Sitemap" })
|
|
839
|
-
] }),
|
|
840
|
-
/* @__PURE__ */ o("ul", { className: l.socials, children: we.map(({ icon: r, url: n, label: i }, a) => /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o("a", { href: n, "aria-label": i, children: r }) }, a)) })
|
|
841
|
-
] })
|
|
875
|
+
/* @__PURE__ */ r("div", { className: c.bottom, children: n ? /* @__PURE__ */ l(y, { children: [
|
|
876
|
+
/* @__PURE__ */ r("div", { className: c.tabletBottomLeft, children: a }),
|
|
877
|
+
i
|
|
878
|
+
] }) : /* @__PURE__ */ l(y, { children: [
|
|
879
|
+
a,
|
|
880
|
+
i
|
|
881
|
+
] }) })
|
|
842
882
|
] });
|
|
843
883
|
}
|
|
844
884
|
export {
|
|
845
|
-
|
|
885
|
+
We as Footer
|
|
846
886
|
};
|