highsoft-ui 1.0.62 → 1.0.63
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 +49 -49
- package/dist/components/Footer/index.js +352 -326
- package/dist/components/Header/index.js +176 -158
- package/dist/components/icons/MadeInNorway.d.ts +1 -0
- package/dist/components/icons/MadeInNorway.js +146 -0
- package/dist/highsoft-ui.css +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as e, jsxs as r, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { a as
|
|
4
|
-
import { A as
|
|
1
|
+
import { jsx as e, jsxs as r, Fragment as q } from "react/jsx-runtime";
|
|
2
|
+
import { useState as M, useEffect as z } from "react";
|
|
3
|
+
import { a as N, J as A } from "../../utils-C7rfowvr.js";
|
|
4
|
+
import { A as E } from "../../Announcement03-obPaH4LK.js";
|
|
5
5
|
import { _ as u } from "../../extends-hS2Bh-Yp.js";
|
|
6
|
-
import { N as
|
|
7
|
-
import { c as
|
|
8
|
-
import { Button as
|
|
9
|
-
import { Container as
|
|
6
|
+
import { N as J, X as G } from "../../index-DvBbx2s8.js";
|
|
7
|
+
import { c as g } from "../../clsx-OuTLNxxd.js";
|
|
8
|
+
import { Button as h } from "../Button/index.js";
|
|
9
|
+
import { Container as O } from "../Container/index.js";
|
|
10
10
|
import { ThemedLogo as L } from "../Logo/index.js";
|
|
11
11
|
import { PrefPanel as T } from "../PrefPanel/index.js";
|
|
12
12
|
var F = function(n) {
|
|
@@ -41,7 +41,7 @@ var F = function(n) {
|
|
|
41
41
|
d: "M11 3H7.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C3 5.2798 3 6.1198 3 7.8v8.4c0 1.6802 0 2.5202.327 3.162a3 3 0 0 0 1.311 1.311C5.2798 21 6.1198 21 7.8 21h8.4c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.7202 21 17.8802 21 16.2V13m-9-5h4v4m-.5-8.5V2m3.9393 2.5607L20.5 3.5m.0103 5h1.5M3 13.3471c.652.1007 1.3199.1529 2 .1529 4.3864 0 8.2653-2.1724 10.6197-5.5"
|
|
42
42
|
})
|
|
43
43
|
}));
|
|
44
|
-
},
|
|
44
|
+
}, D = function(n) {
|
|
45
45
|
return /* @__PURE__ */ e("svg", u({
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg",
|
|
47
47
|
width: 24,
|
|
@@ -57,7 +57,7 @@ var F = function(n) {
|
|
|
57
57
|
d: "M14 2.2695v4.1306c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.7599 8 15.0399 8 15.6 8h4.1305M16 13H8m8 4H8m2-8H8m6-7H8.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C4 4.2798 4 5.1198 4 6.8v10.4c0 1.6802 0 2.5202.327 3.162a3 3 0 0 0 1.311 1.311C6.2798 22 7.1198 22 8.8 22h6.4c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 19.7202 20 18.8802 20 17.2V8z"
|
|
58
58
|
})
|
|
59
59
|
}));
|
|
60
|
-
},
|
|
60
|
+
}, K = function(n) {
|
|
61
61
|
return /* @__PURE__ */ e("svg", u({
|
|
62
62
|
xmlns: "http://www.w3.org/2000/svg",
|
|
63
63
|
width: 24,
|
|
@@ -73,7 +73,7 @@ var F = function(n) {
|
|
|
73
73
|
d: "M3 12h12M3 6h18M3 18h18"
|
|
74
74
|
})
|
|
75
75
|
}));
|
|
76
|
-
},
|
|
76
|
+
}, R = function(n) {
|
|
77
77
|
return /* @__PURE__ */ e("svg", u({
|
|
78
78
|
xmlns: "http://www.w3.org/2000/svg",
|
|
79
79
|
width: 24,
|
|
@@ -89,7 +89,7 @@ var F = function(n) {
|
|
|
89
89
|
d: "M10 8.0022a2.2485 2.2485 0 0 1 2.501-1.4698 2.248 2.248 0 0 1 1.8682 2.2193c0 1.4989-2.2483 2.2483-2.2483 2.2483m.029 3h.01M7 18v2.3355c0 .5329 0 .7993.1092.9361a.5.5 0 0 0 .3913.1881c.1751-.0002.3832-.1666.7993-.4995l2.3854-1.9084c.4873-.3898.731-.5847 1.0023-.7233a3 3 0 0 1 .7617-.2672C12.7477 18 13.0597 18 13.6837 18H16.2c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 15.7202 21 14.8802 21 13.2V7.8c0-1.6802 0-2.5202-.327-3.162a3 3 0 0 0-1.311-1.311C18.7202 3 17.8802 3 16.2 3H7.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C3 5.2798 3 6.1198 3 7.8V14c0 .93 0 1.395.1022 1.7765a3 3 0 0 0 2.1213 2.1213C5.605 18 6.07 18 7 18"
|
|
90
90
|
})
|
|
91
91
|
}));
|
|
92
|
-
},
|
|
92
|
+
}, X = function(n) {
|
|
93
93
|
return /* @__PURE__ */ e("svg", u({
|
|
94
94
|
xmlns: "http://www.w3.org/2000/svg",
|
|
95
95
|
width: 24,
|
|
@@ -121,7 +121,7 @@ var F = function(n) {
|
|
|
121
121
|
d: "m21 21-4.35-4.35M19 11c0 4.4183-3.5817 8-8 8s-8-3.5817-8-8 3.5817-8 8-8 8 3.5817 8 8"
|
|
122
122
|
})
|
|
123
123
|
}));
|
|
124
|
-
},
|
|
124
|
+
}, y = function(n) {
|
|
125
125
|
return /* @__PURE__ */ e("svg", u({
|
|
126
126
|
xmlns: "http://www.w3.org/2000/svg",
|
|
127
127
|
width: 24,
|
|
@@ -137,7 +137,7 @@ var F = function(n) {
|
|
|
137
137
|
d: "M4.5 22v-5m0-10V2M2 4.5h5m-5 15h5M13 3l-1.7342 4.5089c-.282.7332-.423 1.0998-.6423 1.4082a3 3 0 0 1-.7064.7064c-.3084.2193-.675.3603-1.4082.6423L4 12l4.5089 1.7342c.7332.282 1.0998.423 1.4082.6423.2733.1943.5121.4331.7064.7064.2193.3084.3603.675.6423 1.4082L13 21l1.7342-4.5089c.282-.7332.423-1.0998.6423-1.4082a3 3 0 0 1 .7064-.7064c.3084-.2193.675-.3603 1.4082-.6423L22 12l-4.5089-1.7342c-.7332-.282-1.0998-.423-1.4082-.6423a3 3 0 0 1-.7064-.7064c-.2193-.3084-.3603-.675-.6423-1.4082z"
|
|
138
138
|
})
|
|
139
139
|
}));
|
|
140
|
-
},
|
|
140
|
+
}, H = function(n) {
|
|
141
141
|
return /* @__PURE__ */ e("svg", u({
|
|
142
142
|
xmlns: "http://www.w3.org/2000/svg",
|
|
143
143
|
width: 24,
|
|
@@ -153,7 +153,7 @@ var F = function(n) {
|
|
|
153
153
|
d: "m7 15 3-3-3-3m6 6h4m-9.2 6h8.4c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.7202 21 17.8802 21 16.2V7.8c0-1.6802 0-2.5202-.327-3.162a3 3 0 0 0-1.311-1.311C18.7202 3 17.8802 3 16.2 3H7.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C3 5.2798 3 6.1198 3 7.8v8.4c0 1.6802 0 2.5202.327 3.162a3 3 0 0 0 1.311 1.311C5.2798 21 6.1198 21 7.8 21"
|
|
154
154
|
})
|
|
155
155
|
}));
|
|
156
|
-
},
|
|
156
|
+
}, I = function(n) {
|
|
157
157
|
return /* @__PURE__ */ e("svg", u({
|
|
158
158
|
xmlns: "http://www.w3.org/2000/svg",
|
|
159
159
|
width: 24,
|
|
@@ -170,32 +170,33 @@ var F = function(n) {
|
|
|
170
170
|
})
|
|
171
171
|
}));
|
|
172
172
|
};
|
|
173
|
-
const
|
|
174
|
-
header:
|
|
175
|
-
outer:
|
|
176
|
-
main:
|
|
177
|
-
container:
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
"subTag-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
173
|
+
const $ = "_header_jco8t_300", Y = "_outer_jco8t_311", Z = "_main_jco8t_320", ee = "_container_jco8t_324", te = "_skip_jco8t_330", ne = "_links_jco8t_345", oe = "_buttons_jco8t_346", re = "_menu_jco8t_354", se = "_logo_jco8t_359", ce = "_subContainer_jco8t_371", ie = "_selected_jco8t_399", ae = "_icons_jco8t_402", le = "_subTag_jco8t_422", he = "_selectedIcon_jco8t_435", de = "_selectableIcon_jco8t_439", ue = "_icon_jco8t_402", me = "_mobileOverlay_jco8t_453", pe = "_show_jco8t_1", we = "_open_jco8t_465", ge = "_mobile_jco8t_453", ve = "_slideUp_jco8t_1", fe = "_sub_jco8t_371", _e = "_gpt_jco8t_529", t = {
|
|
174
|
+
header: $,
|
|
175
|
+
outer: Y,
|
|
176
|
+
main: Z,
|
|
177
|
+
container: ee,
|
|
178
|
+
skip: te,
|
|
179
|
+
links: ne,
|
|
180
|
+
buttons: oe,
|
|
181
|
+
menu: re,
|
|
182
|
+
logo: se,
|
|
183
|
+
subContainer: ce,
|
|
184
|
+
selected: ie,
|
|
185
|
+
icons: ae,
|
|
186
|
+
subTag: le,
|
|
187
|
+
"subTag-success": "_subTag-success_jco8t_427",
|
|
188
|
+
"subTag-brand": "_subTag-brand_jco8t_431",
|
|
189
|
+
selectedIcon: he,
|
|
190
|
+
selectableIcon: de,
|
|
191
|
+
icon: ue,
|
|
192
|
+
mobileOverlay: me,
|
|
193
|
+
show: pe,
|
|
194
|
+
open: we,
|
|
194
195
|
mobile: ge,
|
|
195
|
-
slideUp:
|
|
196
|
-
sub:
|
|
197
|
-
gpt:
|
|
198
|
-
},
|
|
196
|
+
slideUp: ve,
|
|
197
|
+
sub: fe,
|
|
198
|
+
gpt: _e
|
|
199
|
+
}, W = [
|
|
199
200
|
{
|
|
200
201
|
title: "Products",
|
|
201
202
|
url: "https://www.highcharts.com/products/",
|
|
@@ -204,17 +205,17 @@ const E = "_header_1vg4i_300", K = "_outer_1vg4i_311", Y = "_main_1vg4i_320", Z
|
|
|
204
205
|
{
|
|
205
206
|
title: "Demos",
|
|
206
207
|
url: "https://www.highcharts.com/demo",
|
|
207
|
-
icon: /* @__PURE__ */ e(
|
|
208
|
+
icon: /* @__PURE__ */ e(X, {})
|
|
208
209
|
},
|
|
209
210
|
{
|
|
210
211
|
title: "Support",
|
|
211
212
|
url: "https://www.highcharts.com/support/",
|
|
212
|
-
icon: /* @__PURE__ */ e(
|
|
213
|
+
icon: /* @__PURE__ */ e(R, {})
|
|
213
214
|
},
|
|
214
215
|
{
|
|
215
216
|
title: "Resources",
|
|
216
217
|
url: "https://www.highcharts.com/",
|
|
217
|
-
icon: /* @__PURE__ */ e(
|
|
218
|
+
icon: /* @__PURE__ */ e(D, {})
|
|
218
219
|
},
|
|
219
220
|
{
|
|
220
221
|
title: "Pricing",
|
|
@@ -224,44 +225,44 @@ const E = "_header_1vg4i_300", K = "_outer_1vg4i_311", Y = "_main_1vg4i_320", Z
|
|
|
224
225
|
{
|
|
225
226
|
title: "Blog",
|
|
226
227
|
url: "https://www.highcharts.com/blog/",
|
|
227
|
-
icon: /* @__PURE__ */ e(
|
|
228
|
+
icon: /* @__PURE__ */ e(E, {})
|
|
228
229
|
}
|
|
229
230
|
];
|
|
230
|
-
function
|
|
231
|
-
return n ?
|
|
231
|
+
function d(s, n) {
|
|
232
|
+
return n ? s.replace(n, "") : s;
|
|
232
233
|
}
|
|
233
|
-
function
|
|
234
|
-
items:
|
|
234
|
+
function ke({
|
|
235
|
+
items: s,
|
|
235
236
|
link: n = "a",
|
|
236
|
-
host:
|
|
237
|
-
pathname:
|
|
237
|
+
host: p = "https://www.highcharts.com",
|
|
238
|
+
pathname: a = typeof window < "u" ? window.location.pathname : ""
|
|
238
239
|
}) {
|
|
239
|
-
return /* @__PURE__ */ e("div", { className:
|
|
240
|
-
({ title:
|
|
241
|
-
const v = typeof window < "u" && window.location.origin || "http://example.com", w = new URL(
|
|
240
|
+
return /* @__PURE__ */ e("div", { className: g(t.sub, t.outer), children: /* @__PURE__ */ e(O, { className: t.subContainer, as: "ul", children: s.map(
|
|
241
|
+
({ title: l, url: f, icon: _, selectedIcon: k, tag: b, tagVariant: m = "success" }, x) => {
|
|
242
|
+
const v = typeof window < "u" && window.location.origin || "http://example.com", w = new URL(f, v), C = w.origin === v && w.pathname === a;
|
|
242
243
|
return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ r(
|
|
243
244
|
n,
|
|
244
245
|
{
|
|
245
|
-
href:
|
|
246
|
-
className:
|
|
247
|
-
[t.selectableIcon]:
|
|
246
|
+
href: d(f, p),
|
|
247
|
+
className: g({
|
|
248
|
+
[t.selectableIcon]: k,
|
|
248
249
|
[t.selected]: C
|
|
249
250
|
}),
|
|
250
251
|
children: [
|
|
251
252
|
/* @__PURE__ */ r("span", { className: t.icons, children: [
|
|
252
|
-
/* @__PURE__ */ e("span", { className: t.selectedIcon, children:
|
|
253
|
-
/* @__PURE__ */ e("span", { className: t.icon, children:
|
|
253
|
+
/* @__PURE__ */ e("span", { className: t.selectedIcon, children: k }),
|
|
254
|
+
/* @__PURE__ */ e("span", { className: t.icon, children: _ })
|
|
254
255
|
] }),
|
|
255
256
|
/* @__PURE__ */ r("span", { children: [
|
|
256
|
-
|
|
257
|
-
|
|
257
|
+
l,
|
|
258
|
+
b && /* @__PURE__ */ e(
|
|
258
259
|
"span",
|
|
259
260
|
{
|
|
260
|
-
className:
|
|
261
|
+
className: g(
|
|
261
262
|
t.subTag,
|
|
262
263
|
t[`subTag-${m}`]
|
|
263
264
|
),
|
|
264
|
-
children:
|
|
265
|
+
children: b
|
|
265
266
|
}
|
|
266
267
|
)
|
|
267
268
|
] })
|
|
@@ -272,237 +273,254 @@ function _e({
|
|
|
272
273
|
) }) });
|
|
273
274
|
}
|
|
274
275
|
function He({
|
|
275
|
-
subItems:
|
|
276
|
+
subItems: s,
|
|
276
277
|
children: n,
|
|
277
|
-
notifications:
|
|
278
|
+
notifications: p = [],
|
|
278
279
|
// TODO: Fetch these from the internets
|
|
279
|
-
link:
|
|
280
|
-
host:
|
|
281
|
-
pathname:
|
|
280
|
+
link: a = "a",
|
|
281
|
+
host: l = "https://www.highcharts.com",
|
|
282
|
+
pathname: f = typeof window < "u" ? window.location.pathname : ""
|
|
282
283
|
}) {
|
|
283
|
-
const
|
|
284
|
-
|
|
285
|
-
if (
|
|
286
|
-
const
|
|
287
|
-
if (
|
|
288
|
-
const
|
|
284
|
+
const _ = N("(max-width: 374px)"), k = N("(max-width: 849px)"), b = N("(min-width: 850px) and (max-width: 999px)"), [m, x] = M(!1), [v, w] = M([]);
|
|
285
|
+
z(() => {
|
|
286
|
+
if (p.length) {
|
|
287
|
+
const o = localStorage.getItem("notifications");
|
|
288
|
+
if (o) {
|
|
289
|
+
const c = JSON.parse(o);
|
|
289
290
|
w(
|
|
290
|
-
|
|
291
|
-
(
|
|
291
|
+
p.filter(
|
|
292
|
+
(i) => !i.id || !c.closed.includes(i.id)
|
|
292
293
|
)
|
|
293
294
|
);
|
|
294
295
|
} else
|
|
295
|
-
w(
|
|
296
|
+
w(p);
|
|
297
|
+
}
|
|
298
|
+
}, [p]);
|
|
299
|
+
const C = (o) => {
|
|
300
|
+
if (o.preventDefault(), !(o.nativeEvent instanceof KeyboardEvent) || o.nativeEvent.code === "Enter" || o.nativeEvent.code === "Space") {
|
|
301
|
+
const c = document.querySelector("main");
|
|
302
|
+
c && (c.scrollIntoView(), c.getAttribute("tabindex") !== "-1" && c.setAttribute("tabindex", "-1"), c.focus());
|
|
296
303
|
}
|
|
297
|
-
},
|
|
298
|
-
const C = () => {
|
|
304
|
+
}, S = () => {
|
|
299
305
|
x(!m);
|
|
300
|
-
},
|
|
301
|
-
w(v.filter((
|
|
302
|
-
const
|
|
303
|
-
if (
|
|
304
|
-
const
|
|
305
|
-
|
|
306
|
+
}, P = (o) => {
|
|
307
|
+
w(v.filter((i) => !i.id || i.id !== o));
|
|
308
|
+
const c = localStorage.getItem("notifications");
|
|
309
|
+
if (c) {
|
|
310
|
+
const i = JSON.parse(c);
|
|
311
|
+
i.closed.includes(o) || (i.closed.push(o), localStorage.setItem("notifications", JSON.stringify(i)));
|
|
306
312
|
} else
|
|
307
313
|
localStorage.setItem(
|
|
308
314
|
"notifications",
|
|
309
315
|
JSON.stringify({
|
|
310
|
-
closed: [
|
|
316
|
+
closed: [o]
|
|
311
317
|
})
|
|
312
318
|
);
|
|
313
319
|
};
|
|
314
|
-
return /* @__PURE__ */ e(
|
|
320
|
+
return /* @__PURE__ */ e(A, { children: /* @__PURE__ */ r("header", { className: t.header, children: [
|
|
315
321
|
v?.map(
|
|
316
|
-
({ id:
|
|
317
|
-
|
|
322
|
+
({ id: o, title: c, description: i, variant: j, closable: V }, U) => /* @__PURE__ */ e(
|
|
323
|
+
J,
|
|
318
324
|
{
|
|
319
|
-
description:
|
|
320
|
-
variant:
|
|
321
|
-
closable:
|
|
322
|
-
onClose: () =>
|
|
323
|
-
children:
|
|
325
|
+
description: i,
|
|
326
|
+
variant: j,
|
|
327
|
+
closable: V,
|
|
328
|
+
onClose: () => P(o),
|
|
329
|
+
children: c
|
|
324
330
|
},
|
|
325
331
|
U
|
|
326
332
|
)
|
|
327
333
|
),
|
|
328
|
-
/* @__PURE__ */ e("div", { className:
|
|
334
|
+
/* @__PURE__ */ e("div", { className: g(t.main, t.outer), children: /* @__PURE__ */ r(O, { as: "nav", className: t.container, children: [
|
|
335
|
+
/* @__PURE__ */ e(
|
|
336
|
+
h,
|
|
337
|
+
{
|
|
338
|
+
as: "a",
|
|
339
|
+
className: t.skip,
|
|
340
|
+
size: 500,
|
|
341
|
+
tabIndex: "0",
|
|
342
|
+
onClick: C,
|
|
343
|
+
onKeyPress: C,
|
|
344
|
+
children: "Skip to content"
|
|
345
|
+
}
|
|
346
|
+
),
|
|
329
347
|
/* @__PURE__ */ e(
|
|
330
|
-
|
|
348
|
+
a,
|
|
331
349
|
{
|
|
332
350
|
className: t.logo,
|
|
333
|
-
href:
|
|
334
|
-
children: /* @__PURE__ */ e(L, { showText: !
|
|
351
|
+
href: d("https://www.highcharts.com/", l),
|
|
352
|
+
children: /* @__PURE__ */ e(L, { showText: !b && !_ })
|
|
335
353
|
}
|
|
336
354
|
),
|
|
337
|
-
/* @__PURE__ */ e("ul", { className: t.links, children:
|
|
338
|
-
|
|
355
|
+
/* @__PURE__ */ e("ul", { className: t.links, children: W.map(({ title: o, url: c }, i) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
356
|
+
h,
|
|
339
357
|
{
|
|
340
358
|
variant: "plain",
|
|
341
359
|
size: 300,
|
|
342
|
-
as:
|
|
343
|
-
href:
|
|
344
|
-
children:
|
|
360
|
+
as: a,
|
|
361
|
+
href: d(c, l),
|
|
362
|
+
children: o
|
|
345
363
|
}
|
|
346
|
-
) },
|
|
364
|
+
) }, i)) }),
|
|
347
365
|
/* @__PURE__ */ r("div", { className: t.buttons, children: [
|
|
348
366
|
/* @__PURE__ */ r(
|
|
349
|
-
|
|
367
|
+
h,
|
|
350
368
|
{
|
|
351
369
|
variant: "transparent",
|
|
352
|
-
as:
|
|
353
|
-
href:
|
|
370
|
+
as: a,
|
|
371
|
+
href: d(
|
|
354
372
|
"https://www.highcharts.com/chat/gpt/",
|
|
355
|
-
|
|
373
|
+
l
|
|
356
374
|
),
|
|
357
375
|
children: [
|
|
358
376
|
/* @__PURE__ */ e("span", { className: t.gpt, children: "Highcharts GPT" }),
|
|
359
|
-
/* @__PURE__ */ e(
|
|
377
|
+
/* @__PURE__ */ e(y, {})
|
|
360
378
|
]
|
|
361
379
|
}
|
|
362
380
|
),
|
|
363
|
-
/* @__PURE__ */ e(
|
|
381
|
+
/* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(B, {}) }),
|
|
364
382
|
/* @__PURE__ */ e(T, {}),
|
|
365
383
|
/* @__PURE__ */ e(
|
|
366
|
-
|
|
384
|
+
h,
|
|
367
385
|
{
|
|
368
386
|
variant: "brand",
|
|
369
|
-
as:
|
|
370
|
-
href:
|
|
387
|
+
as: a,
|
|
388
|
+
href: d("https://shop.highcharts.com/account", l),
|
|
371
389
|
"aria-label": "Login",
|
|
372
|
-
children: /* @__PURE__ */ e(
|
|
390
|
+
children: /* @__PURE__ */ e(I, {})
|
|
373
391
|
}
|
|
374
392
|
),
|
|
375
393
|
/* @__PURE__ */ r(
|
|
376
|
-
|
|
394
|
+
h,
|
|
377
395
|
{
|
|
378
396
|
variant: "success",
|
|
379
|
-
as:
|
|
380
|
-
href:
|
|
397
|
+
as: a,
|
|
398
|
+
href: d(
|
|
381
399
|
"https://www.highcharts.com/download/",
|
|
382
|
-
|
|
400
|
+
l
|
|
383
401
|
),
|
|
384
402
|
children: [
|
|
385
|
-
/* @__PURE__ */ e(
|
|
403
|
+
/* @__PURE__ */ e(H, {}),
|
|
386
404
|
"Get started"
|
|
387
405
|
]
|
|
388
406
|
}
|
|
389
407
|
),
|
|
390
408
|
/* @__PURE__ */ r(
|
|
391
|
-
|
|
409
|
+
h,
|
|
392
410
|
{
|
|
393
411
|
variant: m ? "white" : "transparent",
|
|
394
412
|
className: t.menu,
|
|
395
|
-
onClick:
|
|
413
|
+
onClick: S,
|
|
396
414
|
children: [
|
|
397
415
|
m ? "Close" : "Menu",
|
|
398
|
-
m ? /* @__PURE__ */ e(G, {}) : /* @__PURE__ */ e(
|
|
416
|
+
m ? /* @__PURE__ */ e(G, {}) : /* @__PURE__ */ e(K, {})
|
|
399
417
|
]
|
|
400
418
|
}
|
|
401
419
|
)
|
|
402
420
|
] })
|
|
403
421
|
] }) }),
|
|
404
|
-
!!
|
|
405
|
-
|
|
422
|
+
!!s?.length && /* @__PURE__ */ e(
|
|
423
|
+
ke,
|
|
406
424
|
{
|
|
407
|
-
items:
|
|
408
|
-
link:
|
|
409
|
-
host:
|
|
410
|
-
pathname:
|
|
425
|
+
items: s,
|
|
426
|
+
link: a,
|
|
427
|
+
host: l,
|
|
428
|
+
pathname: f
|
|
411
429
|
}
|
|
412
430
|
),
|
|
413
431
|
n,
|
|
414
|
-
|
|
432
|
+
k && /* @__PURE__ */ r(q, { children: [
|
|
415
433
|
/* @__PURE__ */ e(
|
|
416
434
|
"div",
|
|
417
435
|
{
|
|
418
|
-
className:
|
|
419
|
-
onClick:
|
|
436
|
+
className: g(t.mobileOverlay, { [t.open]: m }),
|
|
437
|
+
onClick: S
|
|
420
438
|
}
|
|
421
439
|
),
|
|
422
440
|
/* @__PURE__ */ r(
|
|
423
441
|
"nav",
|
|
424
442
|
{
|
|
425
|
-
className:
|
|
443
|
+
className: g(t.mobile, {
|
|
426
444
|
[t.open]: m
|
|
427
445
|
}),
|
|
428
446
|
children: [
|
|
429
447
|
/* @__PURE__ */ r("div", { className: t.container, children: [
|
|
430
448
|
/* @__PURE__ */ e(
|
|
431
|
-
|
|
449
|
+
a,
|
|
432
450
|
{
|
|
433
451
|
className: t.logo,
|
|
434
|
-
href:
|
|
435
|
-
children: /* @__PURE__ */ e(L, { showText: !
|
|
452
|
+
href: d("https://www.highcharts.com/", l),
|
|
453
|
+
children: /* @__PURE__ */ e(L, { showText: !_ })
|
|
436
454
|
}
|
|
437
455
|
),
|
|
438
456
|
/* @__PURE__ */ r("div", { className: t.buttons, children: [
|
|
439
457
|
/* @__PURE__ */ r(
|
|
440
|
-
|
|
458
|
+
h,
|
|
441
459
|
{
|
|
442
460
|
variant: "transparent",
|
|
443
|
-
as:
|
|
444
|
-
href:
|
|
461
|
+
as: a,
|
|
462
|
+
href: d(
|
|
445
463
|
"https://www.highcharts.com/chat/gpt/",
|
|
446
|
-
|
|
464
|
+
l
|
|
447
465
|
),
|
|
448
466
|
children: [
|
|
449
467
|
/* @__PURE__ */ e("span", { className: t.gpt, children: "Highcharts GPT" }),
|
|
450
|
-
/* @__PURE__ */ e(
|
|
468
|
+
/* @__PURE__ */ e(y, {})
|
|
451
469
|
]
|
|
452
470
|
}
|
|
453
471
|
),
|
|
454
|
-
/* @__PURE__ */ e(
|
|
472
|
+
/* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(B, {}) }),
|
|
455
473
|
/* @__PURE__ */ e(T, {})
|
|
456
474
|
] })
|
|
457
475
|
] }),
|
|
458
476
|
/* @__PURE__ */ r("div", { className: t.buttons, children: [
|
|
459
477
|
/* @__PURE__ */ r(
|
|
460
|
-
|
|
478
|
+
h,
|
|
461
479
|
{
|
|
462
480
|
variant: "brand",
|
|
463
481
|
fullWidth: !0,
|
|
464
|
-
as:
|
|
465
|
-
href:
|
|
482
|
+
as: a,
|
|
483
|
+
href: d(
|
|
466
484
|
"https://shop.highcharts.com/account",
|
|
467
|
-
|
|
485
|
+
l
|
|
468
486
|
),
|
|
469
487
|
children: [
|
|
470
|
-
/* @__PURE__ */ e(
|
|
488
|
+
/* @__PURE__ */ e(I, {}),
|
|
471
489
|
"Login"
|
|
472
490
|
]
|
|
473
491
|
}
|
|
474
492
|
),
|
|
475
493
|
/* @__PURE__ */ r(
|
|
476
|
-
|
|
494
|
+
h,
|
|
477
495
|
{
|
|
478
496
|
variant: "success",
|
|
479
497
|
fullWidth: !0,
|
|
480
|
-
as:
|
|
481
|
-
href:
|
|
498
|
+
as: a,
|
|
499
|
+
href: d(
|
|
482
500
|
"https://www.highcharts.com/download/",
|
|
483
|
-
|
|
501
|
+
l
|
|
484
502
|
),
|
|
485
503
|
children: [
|
|
486
|
-
/* @__PURE__ */ e(
|
|
504
|
+
/* @__PURE__ */ e(H, {}),
|
|
487
505
|
"Get started"
|
|
488
506
|
]
|
|
489
507
|
}
|
|
490
508
|
)
|
|
491
509
|
] }),
|
|
492
|
-
/* @__PURE__ */ e("ul", { className: t.links, children:
|
|
493
|
-
|
|
510
|
+
/* @__PURE__ */ e("ul", { className: t.links, children: W.map(({ title: o, url: c, icon: i }, j) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ r(
|
|
511
|
+
h,
|
|
494
512
|
{
|
|
495
513
|
variant: "plain",
|
|
496
514
|
size: 500,
|
|
497
515
|
fullWidth: !0,
|
|
498
|
-
as:
|
|
499
|
-
href:
|
|
516
|
+
as: a,
|
|
517
|
+
href: d(c, l),
|
|
500
518
|
children: [
|
|
501
|
-
|
|
502
|
-
|
|
519
|
+
i,
|
|
520
|
+
o
|
|
503
521
|
]
|
|
504
522
|
}
|
|
505
|
-
) },
|
|
523
|
+
) }, j)) })
|
|
506
524
|
]
|
|
507
525
|
}
|
|
508
526
|
)
|
|
@@ -511,5 +529,5 @@ function He({
|
|
|
511
529
|
}
|
|
512
530
|
export {
|
|
513
531
|
He as Header,
|
|
514
|
-
|
|
532
|
+
ke as SubHeader
|
|
515
533
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function MadeInNorway(): import("react/jsx-runtime").JSX.Element;
|