highsoft-ui 1.0.53 → 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 +306 -273
- 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,16 +1,16 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import * as
|
|
1
|
+
import { jsx as r, jsxs as l, Fragment as y } from "react/jsx-runtime";
|
|
2
|
+
import * as s from "react";
|
|
3
3
|
import v from "react";
|
|
4
|
-
import { d as
|
|
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 { a as
|
|
12
|
-
var
|
|
13
|
-
return /* @__PURE__ */ r("svg",
|
|
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,
|
|
@@ -25,8 +25,8 @@ var _t = 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__ */ r("svg",
|
|
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,
|
|
@@ -41,8 +41,8 @@ var _t = 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__ */ r("svg",
|
|
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,
|
|
@@ -57,81 +57,104 @@ var _t = 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
86
|
children: o,
|
|
64
87
|
open: n,
|
|
65
|
-
defaultOpen:
|
|
66
|
-
onOpenChange:
|
|
88
|
+
defaultOpen: a,
|
|
89
|
+
onOpenChange: i,
|
|
67
90
|
modal: h = !0
|
|
68
|
-
} = t,
|
|
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
97
|
return /* @__PURE__ */ r(
|
|
75
|
-
|
|
98
|
+
Rt,
|
|
76
99
|
{
|
|
77
100
|
scope: e,
|
|
78
|
-
triggerRef:
|
|
101
|
+
triggerRef: u,
|
|
79
102
|
contentRef: d,
|
|
80
103
|
contentId: x(),
|
|
81
104
|
titleId: x(),
|
|
82
105
|
descriptionId: x(),
|
|
83
|
-
open:
|
|
106
|
+
open: g,
|
|
84
107
|
onOpenChange: f,
|
|
85
|
-
onOpenToggle:
|
|
108
|
+
onOpenToggle: s.useCallback(() => f((_) => !_), [f]),
|
|
86
109
|
modal: h,
|
|
87
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: o, ...n } = t,
|
|
117
|
+
const { __scopeDialog: o, ...n } = t, a = p(W, o), i = R(e, a.triggerRef);
|
|
95
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: o, children: n, container:
|
|
115
|
-
return /* @__PURE__ */ r(
|
|
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 o =
|
|
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: o, ...n } = t,
|
|
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__ */ r(
|
|
132
|
-
|
|
154
|
+
/* @__PURE__ */ r(ct, { as: Mt, allowPinchZoom: !0, shards: [a.contentRef], children: /* @__PURE__ */ r(
|
|
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,163 +162,163 @@ var Ot = at("DialogOverlay.RemoveScroll"), Nt = u.forwardRef(
|
|
|
139
162
|
) })
|
|
140
163
|
);
|
|
141
164
|
}
|
|
142
|
-
),
|
|
165
|
+
), w = "DialogContent", Y = s.forwardRef(
|
|
143
166
|
(t, e) => {
|
|
144
|
-
const o =
|
|
145
|
-
return /* @__PURE__ */ r(E, { present: n ||
|
|
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 o =
|
|
152
|
-
return
|
|
153
|
-
const
|
|
154
|
-
if (
|
|
174
|
+
const o = p(w, t.__scopeDialog), n = s.useRef(null), a = R(e, o.contentRef, n);
|
|
175
|
+
return s.useEffect(() => {
|
|
176
|
+
const i = n.current;
|
|
177
|
+
if (i) return ut(i);
|
|
155
178
|
}, []), /* @__PURE__ */ r(
|
|
156
|
-
|
|
179
|
+
U,
|
|
157
180
|
{
|
|
158
181
|
...t,
|
|
159
|
-
ref:
|
|
182
|
+
ref: a,
|
|
160
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 ||
|
|
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 o =
|
|
201
|
+
const o = p(w, t.__scopeDialog), n = s.useRef(!1), a = s.useRef(!1);
|
|
179
202
|
return /* @__PURE__ */ r(
|
|
180
|
-
|
|
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
|
-
o.triggerRef.current?.contains(h) &&
|
|
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: o, trapFocus: n, onOpenAutoFocus:
|
|
200
|
-
return
|
|
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: [
|
|
201
224
|
/* @__PURE__ */ r(
|
|
202
|
-
|
|
225
|
+
dt,
|
|
203
226
|
{
|
|
204
227
|
asChild: !0,
|
|
205
228
|
loop: !0,
|
|
206
229
|
trapped: n,
|
|
207
|
-
onMountAutoFocus:
|
|
208
|
-
onUnmountAutoFocus:
|
|
230
|
+
onMountAutoFocus: a,
|
|
231
|
+
onUnmountAutoFocus: i,
|
|
209
232
|
children: /* @__PURE__ */ r(
|
|
210
|
-
|
|
233
|
+
pt,
|
|
211
234
|
{
|
|
212
235
|
role: "dialog",
|
|
213
|
-
id:
|
|
214
|
-
"aria-describedby":
|
|
215
|
-
"aria-labelledby":
|
|
216
|
-
"data-state":
|
|
236
|
+
id: u.contentId,
|
|
237
|
+
"aria-describedby": u.descriptionId,
|
|
238
|
+
"aria-labelledby": u.titleId,
|
|
239
|
+
"data-state": A(u.open),
|
|
217
240
|
...h,
|
|
218
|
-
ref:
|
|
219
|
-
onDismiss: () =>
|
|
241
|
+
ref: g,
|
|
242
|
+
onDismiss: () => u.onOpenChange(!1)
|
|
220
243
|
}
|
|
221
244
|
)
|
|
222
245
|
}
|
|
223
246
|
),
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
-
/* @__PURE__ */ r(
|
|
226
|
-
/* @__PURE__ */ r(
|
|
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: o, ...n } = t,
|
|
233
|
-
return /* @__PURE__ */ r(
|
|
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: o, ...n } = t,
|
|
240
|
-
return /* @__PURE__ */ r(
|
|
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: o, ...n } = t,
|
|
269
|
+
const { __scopeDialog: o, ...n } = t, a = p(Z, o);
|
|
247
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
|
-
return
|
|
295
|
+
return s.useEffect(() => {
|
|
273
296
|
t && (document.getElementById(t) || console.error(o));
|
|
274
297
|
}, [o, t]), null;
|
|
275
|
-
},
|
|
276
|
-
const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${
|
|
277
|
-
return
|
|
278
|
-
const
|
|
279
|
-
e &&
|
|
298
|
+
}, Ft = "DialogDescriptionWarning", jt = ({ contentRef: t, descriptionId: e }) => {
|
|
299
|
+
const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${J(Ft).contentName}}.`;
|
|
300
|
+
return s.useEffect(() => {
|
|
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 o =
|
|
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
319
|
return o;
|
|
297
320
|
}
|
|
298
|
-
function
|
|
321
|
+
function qt(t, e) {
|
|
299
322
|
if (t == null) return {};
|
|
300
323
|
var o = {};
|
|
301
324
|
for (var n in t)
|
|
@@ -305,45 +328,45 @@ function Ht(t, e) {
|
|
|
305
328
|
}
|
|
306
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
334
|
var o = arguments[e];
|
|
312
335
|
for (var n in o)
|
|
313
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
|
|
341
|
+
function z(t, e) {
|
|
319
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,
|
|
345
|
+
e && (n = n.filter(function(a) {
|
|
346
|
+
return Object.getOwnPropertyDescriptor(t, a).enumerable;
|
|
324
347
|
})), o.push.apply(o, n);
|
|
325
348
|
}
|
|
326
349
|
return o;
|
|
327
350
|
}
|
|
328
|
-
function
|
|
351
|
+
function O(t) {
|
|
329
352
|
for (var e = 1; e < arguments.length; e++) {
|
|
330
353
|
var o = arguments[e] != null ? arguments[e] : {};
|
|
331
|
-
e % 2 ?
|
|
332
|
-
|
|
333
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o)) :
|
|
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) {
|
|
334
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
371
|
var o = t[Symbol.toPrimitive];
|
|
349
372
|
if (o !== void 0) {
|
|
@@ -353,115 +376,115 @@ function $t(t, e) {
|
|
|
353
376
|
}
|
|
354
377
|
return (e === "string" ? String : Number)(t);
|
|
355
378
|
}
|
|
356
|
-
function
|
|
357
|
-
return t && t.map((e, o) => /* @__PURE__ */ v.createElement(e.tag,
|
|
379
|
+
function tt(t) {
|
|
380
|
+
return t && t.map((e, o) => /* @__PURE__ */ v.createElement(e.tag, O({
|
|
358
381
|
key: o
|
|
359
|
-
}, e.attr),
|
|
382
|
+
}, e.attr), tt(e.child)));
|
|
360
383
|
}
|
|
361
|
-
function
|
|
362
|
-
return (e) => /* @__PURE__ */ v.createElement(
|
|
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
|
|
389
|
+
function Jt(t) {
|
|
367
390
|
var e = (o) => {
|
|
368
391
|
var {
|
|
369
392
|
attr: n,
|
|
370
|
-
size:
|
|
371
|
-
title:
|
|
372
|
-
} = t, h =
|
|
373
|
-
return o.className && (d = o.className), t.className && (d = (d ? d + " " : "") + t.className), /* @__PURE__ */ v.createElement("svg",
|
|
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:
|
|
402
|
+
style: O(O({
|
|
380
403
|
color: t.color || o.color
|
|
381
404
|
}, o.style), t.style),
|
|
382
|
-
height:
|
|
383
|
-
width:
|
|
405
|
+
height: u,
|
|
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
|
-
tabletBottomLeft:
|
|
434
|
-
socials:
|
|
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
|
|
435
458
|
};
|
|
436
459
|
function S(t, e) {
|
|
437
460
|
return e ? t.replace(e, "") : t;
|
|
438
461
|
}
|
|
439
|
-
const
|
|
462
|
+
const Oe = [
|
|
440
463
|
{
|
|
441
|
-
icon: /* @__PURE__ */ r(
|
|
464
|
+
icon: /* @__PURE__ */ r(Pt, {}),
|
|
442
465
|
subtitle: "Ask tech and sales questions with",
|
|
443
466
|
title: "Highcharts GPT",
|
|
444
467
|
url: "https://www.highcharts.com/chat/gpt/"
|
|
445
468
|
},
|
|
446
469
|
{
|
|
447
|
-
icon: /* @__PURE__ */ r(
|
|
470
|
+
icon: /* @__PURE__ */ r(rt, {}),
|
|
448
471
|
subtitle: "Search answers on",
|
|
449
472
|
title: "StackOverflow",
|
|
450
473
|
url: "https://stackoverflow.com/questions/tagged/highcharts"
|
|
451
474
|
},
|
|
452
475
|
{
|
|
453
|
-
icon: /* @__PURE__ */ r(
|
|
476
|
+
icon: /* @__PURE__ */ r(et, {}),
|
|
454
477
|
subtitle: "Report issues on",
|
|
455
478
|
title: "GitHub",
|
|
456
479
|
url: "https://github.com/highcharts/highcharts/issues"
|
|
457
480
|
},
|
|
458
481
|
{
|
|
459
|
-
icon: /* @__PURE__ */ r(
|
|
482
|
+
icon: /* @__PURE__ */ r(Dt, {}),
|
|
460
483
|
subtitle: "Contact sales about",
|
|
461
484
|
title: "Licensing Options",
|
|
462
485
|
url: "https://shop.highcharts.com/contact"
|
|
463
486
|
}
|
|
464
|
-
],
|
|
487
|
+
], Ne = {
|
|
465
488
|
Products: [
|
|
466
489
|
{
|
|
467
490
|
title: "Core",
|
|
@@ -680,158 +703,168 @@ const we = [
|
|
|
680
703
|
url: "#"
|
|
681
704
|
}
|
|
682
705
|
]
|
|
683
|
-
},
|
|
706
|
+
}, xe = [
|
|
684
707
|
{
|
|
685
|
-
icon: /* @__PURE__ */ r(
|
|
708
|
+
icon: /* @__PURE__ */ r(rt, {}),
|
|
686
709
|
url: "https://stackoverflow.com/questions/tagged/highcharts",
|
|
687
710
|
label: "StackOverlow"
|
|
688
711
|
},
|
|
689
712
|
{
|
|
690
|
-
icon: /* @__PURE__ */ r(
|
|
713
|
+
icon: /* @__PURE__ */ r(et, {}),
|
|
691
714
|
url: "https://github.com/highcharts/highcharts",
|
|
692
715
|
label: "GitHub"
|
|
693
716
|
},
|
|
694
717
|
{
|
|
695
|
-
icon: /* @__PURE__ */ r(
|
|
718
|
+
icon: /* @__PURE__ */ r(oe, {}),
|
|
696
719
|
url: "https://twitter.com/Highcharts",
|
|
697
720
|
label: "X"
|
|
698
721
|
},
|
|
699
722
|
{
|
|
700
|
-
icon: /* @__PURE__ */ r(
|
|
723
|
+
icon: /* @__PURE__ */ r(te, {}),
|
|
701
724
|
url: "https://www.facebook.com/Highcharts",
|
|
702
725
|
label: "Facebook"
|
|
703
726
|
},
|
|
704
727
|
{
|
|
705
|
-
icon: /* @__PURE__ */ r(
|
|
728
|
+
icon: /* @__PURE__ */ r(ee, {}),
|
|
706
729
|
url: "https://www.instagram.com/highcharts",
|
|
707
730
|
label: "Instagram"
|
|
708
731
|
},
|
|
709
732
|
{
|
|
710
|
-
icon: /* @__PURE__ */ r(
|
|
733
|
+
icon: /* @__PURE__ */ r(re, {}),
|
|
711
734
|
url: "https://www.linkedin.com/company/highsoft",
|
|
712
735
|
label: "LinkedIn"
|
|
713
736
|
},
|
|
714
737
|
{
|
|
715
|
-
icon: /* @__PURE__ */ r(
|
|
738
|
+
icon: /* @__PURE__ */ r(Kt, {}),
|
|
716
739
|
url: "https://www.highcharts.com/highcharts-discord/",
|
|
717
740
|
label: "Discord"
|
|
718
741
|
},
|
|
719
742
|
{
|
|
720
|
-
icon: /* @__PURE__ */ r(
|
|
743
|
+
icon: /* @__PURE__ */ r(ot, {}),
|
|
721
744
|
url: "https://www.youtube.com/channel/UCzxXofPTQ0DoT7uIy3Fxw7A",
|
|
722
745
|
label: "Youtube"
|
|
723
746
|
}
|
|
724
747
|
];
|
|
725
|
-
function
|
|
726
|
-
const t =
|
|
727
|
-
return /* @__PURE__ */
|
|
728
|
-
|
|
748
|
+
function Se() {
|
|
749
|
+
const t = yt(), [e, o] = Ct(), n = "npm install highcharts --save";
|
|
750
|
+
return /* @__PURE__ */ l(
|
|
751
|
+
vt,
|
|
729
752
|
{
|
|
730
753
|
variant: t === "dark" ? "neutral" : "white",
|
|
731
754
|
onClick: () => e(n),
|
|
732
755
|
children: [
|
|
733
756
|
n,
|
|
734
|
-
o ? /* @__PURE__ */ r(
|
|
757
|
+
o ? /* @__PURE__ */ r(mt, {}) : /* @__PURE__ */ r(Ot, {})
|
|
735
758
|
]
|
|
736
759
|
}
|
|
737
760
|
);
|
|
738
761
|
}
|
|
739
|
-
function
|
|
762
|
+
function We({
|
|
740
763
|
link: t = "a",
|
|
741
764
|
host: e = "https://www.highcharts.com"
|
|
742
765
|
}) {
|
|
743
|
-
const o =
|
|
744
|
-
/* @__PURE__ */
|
|
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: [
|
|
745
768
|
"© ",
|
|
746
769
|
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
747
770
|
" Highsoft. All rights reserved."
|
|
748
771
|
] }),
|
|
749
|
-
/* @__PURE__ */
|
|
772
|
+
/* @__PURE__ */ l("div", { className: c.bottomLinks, children: [
|
|
750
773
|
/* @__PURE__ */ r(t, { href: "#", children: "Privacy & Legal Policies" }),
|
|
751
774
|
/* @__PURE__ */ r(t, { href: "#", children: "Accessibility Statement" }),
|
|
752
775
|
/* @__PURE__ */ r(t, { href: "#", children: "Sitemap" })
|
|
753
776
|
] })
|
|
754
|
-
] }), i = /* @__PURE__ */ r("ul", { className:
|
|
755
|
-
return /* @__PURE__ */
|
|
756
|
-
/* @__PURE__ */
|
|
757
|
-
/* @__PURE__ */
|
|
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: [
|
|
758
781
|
/* @__PURE__ */ r(
|
|
759
782
|
t,
|
|
760
783
|
{
|
|
761
|
-
className:
|
|
784
|
+
className: c.logo,
|
|
762
785
|
href: S("https://www.highcharts.com/", e),
|
|
763
|
-
children: /* @__PURE__ */ r(
|
|
786
|
+
children: /* @__PURE__ */ r(bt, {})
|
|
764
787
|
}
|
|
765
788
|
),
|
|
766
789
|
/* @__PURE__ */ r("p", { children: "We make it easy for developers to create charts and dashboards for web and mobile platforms." }),
|
|
767
|
-
/* @__PURE__ */ r(
|
|
790
|
+
/* @__PURE__ */ r(Se, {})
|
|
768
791
|
] }),
|
|
769
|
-
/* @__PURE__ */
|
|
770
|
-
/* @__PURE__ */ r(
|
|
771
|
-
/* @__PURE__ */ r(
|
|
792
|
+
/* @__PURE__ */ l(Bt, { children: [
|
|
793
|
+
/* @__PURE__ */ r(Wt, { asChild: !0, children: /* @__PURE__ */ l("button", { className: c.youtube, children: [
|
|
794
|
+
/* @__PURE__ */ r(ot, {}),
|
|
772
795
|
/* @__PURE__ */ r("p", { children: "Meet the team behind the charts" })
|
|
773
796
|
] }) }),
|
|
774
|
-
/* @__PURE__ */
|
|
775
|
-
/* @__PURE__ */ r(
|
|
776
|
-
/* @__PURE__ */
|
|
777
|
-
|
|
797
|
+
/* @__PURE__ */ l(Ht, { children: [
|
|
798
|
+
/* @__PURE__ */ r(Vt, { className: c.youtubeOverlay }),
|
|
799
|
+
/* @__PURE__ */ l(
|
|
800
|
+
Gt,
|
|
778
801
|
{
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
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
|
+
]
|
|
784
817
|
}
|
|
785
|
-
)
|
|
818
|
+
)
|
|
786
819
|
] })
|
|
787
820
|
] }),
|
|
788
|
-
/* @__PURE__ */
|
|
789
|
-
/* @__PURE__ */ r("div", { className:
|
|
790
|
-
/* @__PURE__ */ r("div", { className:
|
|
791
|
-
/* @__PURE__ */ r("div", { className:
|
|
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 })
|
|
792
825
|
] })
|
|
793
826
|
] }),
|
|
794
|
-
/* @__PURE__ */
|
|
795
|
-
/* @__PURE__ */
|
|
827
|
+
/* @__PURE__ */ l("div", { className: c.help, children: [
|
|
828
|
+
/* @__PURE__ */ l("div", { className: c.helpWays, children: [
|
|
796
829
|
/* @__PURE__ */ r("span", { children: "Ways to get help" }),
|
|
797
|
-
/* @__PURE__ */
|
|
830
|
+
/* @__PURE__ */ l("p", { children: [
|
|
798
831
|
"We operate in CET",
|
|
799
|
-
/* @__PURE__ */ r("br", {}),
|
|
832
|
+
o ? " " : /* @__PURE__ */ r("br", {}),
|
|
800
833
|
"Monday - Friday"
|
|
801
834
|
] })
|
|
802
835
|
] }),
|
|
803
|
-
|
|
836
|
+
Oe.map(({ icon: h, subtitle: u, title: d, url: g }, f) => /* @__PURE__ */ l(
|
|
804
837
|
t,
|
|
805
838
|
{
|
|
806
|
-
href: S(
|
|
807
|
-
className:
|
|
839
|
+
href: S(g, e),
|
|
840
|
+
className: c.helpItem,
|
|
808
841
|
children: [
|
|
809
|
-
/* @__PURE__ */ r("div", { className:
|
|
810
|
-
/* @__PURE__ */
|
|
811
|
-
/* @__PURE__ */ r("span", { children:
|
|
812
|
-
/* @__PURE__ */ r("span", { children:
|
|
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 })
|
|
813
846
|
] })
|
|
814
847
|
]
|
|
815
848
|
},
|
|
816
|
-
|
|
849
|
+
f
|
|
817
850
|
))
|
|
818
851
|
] }),
|
|
819
|
-
/* @__PURE__ */
|
|
820
|
-
Object.entries(
|
|
821
|
-
/* @__PURE__ */ r("h2", { children:
|
|
822
|
-
/* @__PURE__ */ r("ul", { children:
|
|
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(
|
|
823
856
|
t,
|
|
824
857
|
{
|
|
825
|
-
href: S(
|
|
826
|
-
className:
|
|
858
|
+
href: S(f, e),
|
|
859
|
+
className: ft({ [c.tagged]: _ }),
|
|
827
860
|
children: [
|
|
828
|
-
|
|
829
|
-
|
|
861
|
+
_ ? /* @__PURE__ */ r("span", { children: g }) : g,
|
|
862
|
+
_ && /* @__PURE__ */ r(_t, { variant: "brand", icon: !1, border: !0 })
|
|
830
863
|
]
|
|
831
864
|
}
|
|
832
|
-
) },
|
|
833
|
-
] },
|
|
834
|
-
/* @__PURE__ */ r("div", { className:
|
|
865
|
+
) }, nt)) })
|
|
866
|
+
] }, d)),
|
|
867
|
+
/* @__PURE__ */ r("div", { className: c.norway, children: /* @__PURE__ */ r(
|
|
835
868
|
"img",
|
|
836
869
|
{
|
|
837
870
|
src: "https://businessnorway.com/images/made-in-norway-logo.png",
|
|
@@ -839,15 +872,15 @@ function Te({
|
|
|
839
872
|
}
|
|
840
873
|
) })
|
|
841
874
|
] }),
|
|
842
|
-
/* @__PURE__ */ r("div", { className:
|
|
843
|
-
/* @__PURE__ */ r("div", { className:
|
|
875
|
+
/* @__PURE__ */ r("div", { className: c.bottom, children: n ? /* @__PURE__ */ l(y, { children: [
|
|
876
|
+
/* @__PURE__ */ r("div", { className: c.tabletBottomLeft, children: a }),
|
|
844
877
|
i
|
|
845
|
-
] }) : /* @__PURE__ */
|
|
846
|
-
|
|
878
|
+
] }) : /* @__PURE__ */ l(y, { children: [
|
|
879
|
+
a,
|
|
847
880
|
i
|
|
848
881
|
] }) })
|
|
849
882
|
] });
|
|
850
883
|
}
|
|
851
884
|
export {
|
|
852
|
-
|
|
885
|
+
We as Footer
|
|
853
886
|
};
|