highsoft-ui 1.0.63 → 1.0.65

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.
@@ -1,16 +1,16 @@
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
- import { _ as u } from "../../extends-hS2Bh-Yp.js";
6
- import { N as J, X as G } from "../../index-DvBbx2s8.js";
1
+ import { jsx as e, jsxs as r, Fragment as V } from "react/jsx-runtime";
2
+ import { useState as S, useEffect as U } from "react";
3
+ import { a as q, J as z } from "../../utils-C7rfowvr.js";
4
+ import { A } from "../../Announcement03-obPaH4LK.js";
5
+ import { _ as m } from "../../extends-hS2Bh-Yp.js";
6
+ import { N as E, X as J } from "../../index-pnL-sAld.js";
7
7
  import { c as g } from "../../clsx-OuTLNxxd.js";
8
8
  import { Button as h } from "../Button/index.js";
9
- import { Container as O } from "../Container/index.js";
10
- import { ThemedLogo as L } from "../Logo/index.js";
11
- import { PrefPanel as T } from "../PrefPanel/index.js";
12
- var F = function(n) {
13
- return /* @__PURE__ */ e("svg", u({
9
+ import { Container as W } from "../Container/index.js";
10
+ import { ThemedLogo as Q } from "../Logo/index.js";
11
+ import { PrefPanel as M } from "../PrefPanel/index.js";
12
+ var G = function(n) {
13
+ return /* @__PURE__ */ e("svg", m({
14
14
  xmlns: "http://www.w3.org/2000/svg",
15
15
  width: 24,
16
16
  height: 24,
@@ -25,8 +25,8 @@ var F = function(n) {
25
25
  d: "M6 11v4m12-6v4m-1-9c2.4487 0 3.7731.3748 4.4321.6654.0878.0388.1317.0581.2583.179.0759.0724.2145.285.2501.3837.0595.1646.0595.2546.0595.4346v10.7484c0 .9088 0 1.3632-.1363 1.5968-.1386.2375-.2723.348-.5318.4393-.255.0897-.7699-.0092-1.7997-.2071A13.45 13.45 0 0 0 17 18c-3 0-6 2-10 2-2.4487 0-3.7731-.3748-4.4321-.6654-.0878-.0388-.1317-.0581-.2583-.179-.076-.0724-.2145-.285-.2501-.3837C2 18.6073 2 18.5173 2 18.3373V7.5889c0-.9088 0-1.3632.1363-1.5968.1386-.2375.2723-.348.5318-.4393.255-.0898.77.0092 1.7997.207A13.44 13.44 0 0 0 7 6c3 0 6-2 10-2m-2.5 8c0 1.3807-1.1193 2.5-2.5 2.5S9.5 13.3807 9.5 12s1.1193-2.5 2.5-2.5 2.5 1.1193 2.5 2.5"
26
26
  })
27
27
  }));
28
- }, Q = function(n) {
29
- return /* @__PURE__ */ e("svg", u({
28
+ }, F = function(n) {
29
+ return /* @__PURE__ */ e("svg", m({
30
30
  xmlns: "http://www.w3.org/2000/svg",
31
31
  width: 24,
32
32
  height: 24,
@@ -42,7 +42,7 @@ var F = function(n) {
42
42
  })
43
43
  }));
44
44
  }, D = function(n) {
45
- return /* @__PURE__ */ e("svg", u({
45
+ return /* @__PURE__ */ e("svg", m({
46
46
  xmlns: "http://www.w3.org/2000/svg",
47
47
  width: 24,
48
48
  height: 24,
@@ -58,7 +58,7 @@ var F = function(n) {
58
58
  })
59
59
  }));
60
60
  }, K = function(n) {
61
- return /* @__PURE__ */ e("svg", u({
61
+ return /* @__PURE__ */ e("svg", m({
62
62
  xmlns: "http://www.w3.org/2000/svg",
63
63
  width: 24,
64
64
  height: 24,
@@ -74,7 +74,7 @@ var F = function(n) {
74
74
  })
75
75
  }));
76
76
  }, R = function(n) {
77
- return /* @__PURE__ */ e("svg", u({
77
+ return /* @__PURE__ */ e("svg", m({
78
78
  xmlns: "http://www.w3.org/2000/svg",
79
79
  width: 24,
80
80
  height: 24,
@@ -90,7 +90,7 @@ var F = function(n) {
90
90
  })
91
91
  }));
92
92
  }, X = function(n) {
93
- return /* @__PURE__ */ e("svg", u({
93
+ return /* @__PURE__ */ e("svg", m({
94
94
  xmlns: "http://www.w3.org/2000/svg",
95
95
  width: 24,
96
96
  height: 24,
@@ -105,8 +105,8 @@ var F = function(n) {
105
105
  d: "M12 16v5m6 0-3.9514-3.2928c-.7288-.6074-1.0932-.911-1.4999-1.0271a2 2 0 0 0-1.0974 0c-.4067.1161-.7711.4197-1.4999 1.0271L6 21m2-10v1m4-3v3m4-5v5m6-9H2m1 0h18v8.2c0 1.6802 0 2.5202-.327 3.162a3 3 0 0 1-1.311 1.311C18.7202 16 17.8802 16 16.2 16H7.8c-1.6802 0-2.5202 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 13.7202 3 12.8802 3 11.2z"
106
106
  })
107
107
  }));
108
- }, B = function(n) {
109
- return /* @__PURE__ */ e("svg", u({
108
+ }, L = function(n) {
109
+ return /* @__PURE__ */ e("svg", m({
110
110
  xmlns: "http://www.w3.org/2000/svg",
111
111
  width: 24,
112
112
  height: 24,
@@ -121,8 +121,8 @@ 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
- }, y = function(n) {
125
- return /* @__PURE__ */ e("svg", u({
124
+ }, T = function(n) {
125
+ return /* @__PURE__ */ e("svg", m({
126
126
  xmlns: "http://www.w3.org/2000/svg",
127
127
  width: 24,
128
128
  height: 24,
@@ -137,8 +137,8 @@ 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
- }, H = function(n) {
141
- return /* @__PURE__ */ e("svg", u({
140
+ }, y = function(n) {
141
+ return /* @__PURE__ */ e("svg", m({
142
142
  xmlns: "http://www.w3.org/2000/svg",
143
143
  width: 24,
144
144
  height: 24,
@@ -153,8 +153,8 @@ 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
- }, I = function(n) {
157
- return /* @__PURE__ */ e("svg", u({
156
+ }, H = function(n) {
157
+ return /* @__PURE__ */ e("svg", m({
158
158
  xmlns: "http://www.w3.org/2000/svg",
159
159
  width: 24,
160
160
  height: 24,
@@ -170,37 +170,37 @@ var F = function(n) {
170
170
  })
171
171
  }));
172
172
  };
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,
173
+ const $ = "m_QBtq_buttons", Y = "m_QBtq_container", Z = "m_QBtq_gpt", ee = "m_QBtq_header", te = "m_QBtq_icon", ne = "m_QBtq_icons", oe = "m_QBtq_links", re = "m_QBtq_logo", se = "m_QBtq_main", ie = "m_QBtq_menu", ae = "m_QBtq_mobile", ce = "m_QBtq_mobileOverlay", le = "m_QBtq_open", he = "m_QBtq_outer", de = "m_QBtq_selectableIcon", me = "m_QBtq_selected", ue = "m_QBtq_selectedIcon", pe = "m_QBtq_show", we = "m_QBtq_skip", ge = "m_QBtq_slideUp", ve = "m_QBtq_sub", fe = "m_QBtq_subContainer", ke = "m_QBtq_subTag", t = {
174
+ buttons: $,
175
+ container: Y,
176
+ gpt: Z,
177
+ header: ee,
178
+ icon: te,
179
+ icons: ne,
180
+ links: oe,
181
+ logo: re,
182
+ main: se,
183
+ menu: ie,
184
+ mobile: ae,
185
+ mobileOverlay: ce,
186
+ open: le,
187
+ outer: he,
190
188
  selectableIcon: de,
191
- icon: ue,
192
- mobileOverlay: me,
189
+ selected: me,
190
+ selectedIcon: ue,
193
191
  show: pe,
194
- open: we,
195
- mobile: ge,
196
- slideUp: ve,
197
- sub: fe,
198
- gpt: _e
199
- }, W = [
192
+ skip: we,
193
+ slideUp: ge,
194
+ sub: ve,
195
+ subContainer: fe,
196
+ subTag: ke,
197
+ "subTag-brand": "m_QBtq_subTag-brand",
198
+ "subTag-success": "m_QBtq_subTag-success"
199
+ }, I = [
200
200
  {
201
201
  title: "Products",
202
202
  url: "https://www.highcharts.com/products/",
203
- icon: /* @__PURE__ */ e(Q, {})
203
+ icon: /* @__PURE__ */ e(F, {})
204
204
  },
205
205
  {
206
206
  title: "Demos",
@@ -220,38 +220,38 @@ const $ = "_header_jco8t_300", Y = "_outer_jco8t_311", Z = "_main_jco8t_320", ee
220
220
  {
221
221
  title: "Pricing",
222
222
  url: "https://shop.highcharts.com/",
223
- icon: /* @__PURE__ */ e(F, {})
223
+ icon: /* @__PURE__ */ e(G, {})
224
224
  },
225
225
  {
226
226
  title: "Blog",
227
227
  url: "https://www.highcharts.com/blog/",
228
- icon: /* @__PURE__ */ e(E, {})
228
+ icon: /* @__PURE__ */ e(A, {})
229
229
  }
230
230
  ];
231
231
  function d(s, n) {
232
232
  return n ? s.replace(n, "") : s;
233
233
  }
234
- function ke({
234
+ function _e({
235
235
  items: s,
236
236
  link: n = "a",
237
237
  host: p = "https://www.highcharts.com",
238
- pathname: a = typeof window < "u" ? window.location.pathname : ""
238
+ pathname: c = typeof window < "u" ? window.location.pathname : ""
239
239
  }) {
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;
240
+ return /* @__PURE__ */ e("div", { className: g(t.sub, t.outer), children: /* @__PURE__ */ e(W, { className: t.subContainer, as: "ul", children: s.map(
241
+ ({ title: l, url: f, icon: k, selectedIcon: _, tag: b, tagVariant: u = "success" }, B) => {
242
+ const v = typeof window < "u" && window.location.origin || "http://example.com", w = new URL(f, v), C = w.origin === v && w.pathname === c;
243
243
  return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ r(
244
244
  n,
245
245
  {
246
246
  href: d(f, p),
247
247
  className: g({
248
- [t.selectableIcon]: k,
248
+ [t.selectableIcon]: _,
249
249
  [t.selected]: C
250
250
  }),
251
251
  children: [
252
252
  /* @__PURE__ */ r("span", { className: t.icons, children: [
253
- /* @__PURE__ */ e("span", { className: t.selectedIcon, children: k }),
254
- /* @__PURE__ */ e("span", { className: t.icon, children: _ })
253
+ /* @__PURE__ */ e("span", { className: t.selectedIcon, children: _ }),
254
+ /* @__PURE__ */ e("span", { className: t.icon, children: k })
255
255
  ] }),
256
256
  /* @__PURE__ */ r("span", { children: [
257
257
  l,
@@ -260,7 +260,7 @@ function ke({
260
260
  {
261
261
  className: g(
262
262
  t.subTag,
263
- t[`subTag-${m}`]
263
+ t[`subTag-${u}`]
264
264
  ),
265
265
  children: b
266
266
  }
@@ -268,28 +268,28 @@ function ke({
268
268
  ] })
269
269
  ]
270
270
  }
271
- ) }, x);
271
+ ) }, B);
272
272
  }
273
273
  ) }) });
274
274
  }
275
- function He({
275
+ function ye({
276
276
  subItems: s,
277
277
  children: n,
278
278
  notifications: p = [],
279
279
  // TODO: Fetch these from the internets
280
- link: a = "a",
280
+ link: c = "a",
281
281
  host: l = "https://www.highcharts.com",
282
282
  pathname: f = typeof window < "u" ? window.location.pathname : ""
283
283
  }) {
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(() => {
284
+ const k = q("(max-width: 374px)"), _ = q("(max-width: 849px)"), b = q("(min-width: 850px) and (max-width: 999px)"), [u, B] = S(!1), [v, w] = S([]);
285
+ U(() => {
286
286
  if (p.length) {
287
287
  const o = localStorage.getItem("notifications");
288
288
  if (o) {
289
- const c = JSON.parse(o);
289
+ const i = JSON.parse(o);
290
290
  w(
291
291
  p.filter(
292
- (i) => !i.id || !c.closed.includes(i.id)
292
+ (a) => !a.id || !i.closed.includes(a.id)
293
293
  )
294
294
  );
295
295
  } else
@@ -298,17 +298,17 @@ function He({
298
298
  }, [p]);
299
299
  const C = (o) => {
300
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());
301
+ const i = document.querySelector("main");
302
+ i && (i.scrollIntoView(), i.getAttribute("tabindex") !== "-1" && i.setAttribute("tabindex", "-1"), i.focus());
303
303
  }
304
- }, S = () => {
305
- x(!m);
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)));
304
+ }, N = () => {
305
+ B(!u);
306
+ }, j = (o) => {
307
+ w(v.filter((a) => !a.id || a.id !== o));
308
+ const i = localStorage.getItem("notifications");
309
+ if (i) {
310
+ const a = JSON.parse(i);
311
+ a.closed.includes(o) || (a.closed.push(o), localStorage.setItem("notifications", JSON.stringify(a)));
312
312
  } else
313
313
  localStorage.setItem(
314
314
  "notifications",
@@ -317,21 +317,21 @@ function He({
317
317
  })
318
318
  );
319
319
  };
320
- return /* @__PURE__ */ e(A, { children: /* @__PURE__ */ r("header", { className: t.header, children: [
320
+ return /* @__PURE__ */ e(z, { children: /* @__PURE__ */ r("header", { className: t.header, children: [
321
321
  v?.map(
322
- ({ id: o, title: c, description: i, variant: j, closable: V }, U) => /* @__PURE__ */ e(
323
- J,
322
+ ({ id: o, title: i, description: a, variant: x, closable: O }, P) => /* @__PURE__ */ e(
323
+ E,
324
324
  {
325
- description: i,
326
- variant: j,
327
- closable: V,
328
- onClose: () => P(o),
329
- children: c
325
+ description: a,
326
+ variant: x,
327
+ closable: O,
328
+ onClose: () => j(o),
329
+ children: i
330
330
  },
331
- U
331
+ P
332
332
  )
333
333
  ),
334
- /* @__PURE__ */ e("div", { className: g(t.main, t.outer), children: /* @__PURE__ */ r(O, { as: "nav", className: t.container, children: [
334
+ /* @__PURE__ */ e("div", { className: g(t.main, t.outer), children: /* @__PURE__ */ r(W, { as: "nav", className: t.container, children: [
335
335
  /* @__PURE__ */ e(
336
336
  h,
337
337
  {
@@ -345,62 +345,62 @@ function He({
345
345
  }
346
346
  ),
347
347
  /* @__PURE__ */ e(
348
- a,
348
+ c,
349
349
  {
350
350
  className: t.logo,
351
351
  href: d("https://www.highcharts.com/", l),
352
- children: /* @__PURE__ */ e(L, { showText: !b && !_ })
352
+ children: /* @__PURE__ */ e(Q, { showText: !b && !k })
353
353
  }
354
354
  ),
355
- /* @__PURE__ */ e("ul", { className: t.links, children: W.map(({ title: o, url: c }, i) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
355
+ /* @__PURE__ */ e("ul", { className: t.links, children: I.map(({ title: o, url: i }, a) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
356
356
  h,
357
357
  {
358
358
  variant: "plain",
359
359
  size: 300,
360
- as: a,
361
- href: d(c, l),
360
+ as: c,
361
+ href: d(i, l),
362
362
  children: o
363
363
  }
364
- ) }, i)) }),
364
+ ) }, a)) }),
365
365
  /* @__PURE__ */ r("div", { className: t.buttons, children: [
366
366
  /* @__PURE__ */ r(
367
367
  h,
368
368
  {
369
369
  variant: "transparent",
370
- as: a,
370
+ as: c,
371
371
  href: d(
372
372
  "https://www.highcharts.com/chat/gpt/",
373
373
  l
374
374
  ),
375
375
  children: [
376
376
  /* @__PURE__ */ e("span", { className: t.gpt, children: "Highcharts GPT" }),
377
- /* @__PURE__ */ e(y, {})
377
+ /* @__PURE__ */ e(T, {})
378
378
  ]
379
379
  }
380
380
  ),
381
- /* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(B, {}) }),
382
- /* @__PURE__ */ e(T, {}),
381
+ /* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(L, {}) }),
382
+ /* @__PURE__ */ e(M, {}),
383
383
  /* @__PURE__ */ e(
384
384
  h,
385
385
  {
386
386
  variant: "brand",
387
- as: a,
387
+ as: c,
388
388
  href: d("https://shop.highcharts.com/account", l),
389
389
  "aria-label": "Login",
390
- children: /* @__PURE__ */ e(I, {})
390
+ children: /* @__PURE__ */ e(H, {})
391
391
  }
392
392
  ),
393
393
  /* @__PURE__ */ r(
394
394
  h,
395
395
  {
396
396
  variant: "success",
397
- as: a,
397
+ as: c,
398
398
  href: d(
399
399
  "https://www.highcharts.com/download/",
400
400
  l
401
401
  ),
402
402
  children: [
403
- /* @__PURE__ */ e(H, {}),
403
+ /* @__PURE__ */ e(y, {}),
404
404
  "Get started"
405
405
  ]
406
406
  }
@@ -408,49 +408,49 @@ function He({
408
408
  /* @__PURE__ */ r(
409
409
  h,
410
410
  {
411
- variant: m ? "white" : "transparent",
411
+ variant: u ? "white" : "transparent",
412
412
  className: t.menu,
413
- onClick: S,
413
+ onClick: N,
414
414
  children: [
415
- m ? "Close" : "Menu",
416
- m ? /* @__PURE__ */ e(G, {}) : /* @__PURE__ */ e(K, {})
415
+ u ? "Close" : "Menu",
416
+ u ? /* @__PURE__ */ e(J, {}) : /* @__PURE__ */ e(K, {})
417
417
  ]
418
418
  }
419
419
  )
420
420
  ] })
421
421
  ] }) }),
422
422
  !!s?.length && /* @__PURE__ */ e(
423
- ke,
423
+ _e,
424
424
  {
425
425
  items: s,
426
- link: a,
426
+ link: c,
427
427
  host: l,
428
428
  pathname: f
429
429
  }
430
430
  ),
431
431
  n,
432
- k && /* @__PURE__ */ r(q, { children: [
432
+ _ && /* @__PURE__ */ r(V, { children: [
433
433
  /* @__PURE__ */ e(
434
434
  "div",
435
435
  {
436
- className: g(t.mobileOverlay, { [t.open]: m }),
437
- onClick: S
436
+ className: g(t.mobileOverlay, { [t.open]: u }),
437
+ onClick: N
438
438
  }
439
439
  ),
440
440
  /* @__PURE__ */ r(
441
441
  "nav",
442
442
  {
443
443
  className: g(t.mobile, {
444
- [t.open]: m
444
+ [t.open]: u
445
445
  }),
446
446
  children: [
447
447
  /* @__PURE__ */ r("div", { className: t.container, children: [
448
448
  /* @__PURE__ */ e(
449
- a,
449
+ c,
450
450
  {
451
451
  className: t.logo,
452
452
  href: d("https://www.highcharts.com/", l),
453
- children: /* @__PURE__ */ e(L, { showText: !_ })
453
+ children: /* @__PURE__ */ e(Q, { showText: !k })
454
454
  }
455
455
  ),
456
456
  /* @__PURE__ */ r("div", { className: t.buttons, children: [
@@ -458,19 +458,19 @@ function He({
458
458
  h,
459
459
  {
460
460
  variant: "transparent",
461
- as: a,
461
+ as: c,
462
462
  href: d(
463
463
  "https://www.highcharts.com/chat/gpt/",
464
464
  l
465
465
  ),
466
466
  children: [
467
467
  /* @__PURE__ */ e("span", { className: t.gpt, children: "Highcharts GPT" }),
468
- /* @__PURE__ */ e(y, {})
468
+ /* @__PURE__ */ e(T, {})
469
469
  ]
470
470
  }
471
471
  ),
472
- /* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(B, {}) }),
473
- /* @__PURE__ */ e(T, {})
472
+ /* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(L, {}) }),
473
+ /* @__PURE__ */ e(M, {})
474
474
  ] })
475
475
  ] }),
476
476
  /* @__PURE__ */ r("div", { className: t.buttons, children: [
@@ -479,13 +479,13 @@ function He({
479
479
  {
480
480
  variant: "brand",
481
481
  fullWidth: !0,
482
- as: a,
482
+ as: c,
483
483
  href: d(
484
484
  "https://shop.highcharts.com/account",
485
485
  l
486
486
  ),
487
487
  children: [
488
- /* @__PURE__ */ e(I, {}),
488
+ /* @__PURE__ */ e(H, {}),
489
489
  "Login"
490
490
  ]
491
491
  }
@@ -495,32 +495,32 @@ function He({
495
495
  {
496
496
  variant: "success",
497
497
  fullWidth: !0,
498
- as: a,
498
+ as: c,
499
499
  href: d(
500
500
  "https://www.highcharts.com/download/",
501
501
  l
502
502
  ),
503
503
  children: [
504
- /* @__PURE__ */ e(H, {}),
504
+ /* @__PURE__ */ e(y, {}),
505
505
  "Get started"
506
506
  ]
507
507
  }
508
508
  )
509
509
  ] }),
510
- /* @__PURE__ */ e("ul", { className: t.links, children: W.map(({ title: o, url: c, icon: i }, j) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ r(
510
+ /* @__PURE__ */ e("ul", { className: t.links, children: I.map(({ title: o, url: i, icon: a }, x) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ r(
511
511
  h,
512
512
  {
513
513
  variant: "plain",
514
514
  size: 500,
515
515
  fullWidth: !0,
516
- as: a,
517
- href: d(c, l),
516
+ as: c,
517
+ href: d(i, l),
518
518
  children: [
519
- i,
519
+ a,
520
520
  o
521
521
  ]
522
522
  }
523
- ) }, j)) })
523
+ ) }, x)) })
524
524
  ]
525
525
  }
526
526
  )
@@ -528,6 +528,6 @@ function He({
528
528
  ] }) });
529
529
  }
530
530
  export {
531
- He as Header,
532
- ke as SubHeader
531
+ ye as Header,
532
+ _e as SubHeader
533
533
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as r, jsxs as c } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { _ as a } from "../../extends-hS2Bh-Yp.js";
4
- import { c as _ } from "../../clsx-OuTLNxxd.js";
5
- var i = function(t) {
4
+ import { c as i } from "../../clsx-OuTLNxxd.js";
5
+ var m = function(t) {
6
6
  return /* @__PURE__ */ r("svg", a({
7
7
  xmlns: "http://www.w3.org/2000/svg",
8
8
  width: 24,
@@ -19,17 +19,17 @@ var i = function(t) {
19
19
  })
20
20
  }));
21
21
  };
22
- const d = "_tag_15x3t_300", l = "_icon_15x3t_317", u = "_border_15x3t_323", x = "_neutral_15x3t_333", g = "_success_15x3t_339", m = "_attention_15x3t_345", h = "_brand_15x3t_351", p = "_danger_15x3t_357", n = {
23
- tag: d,
24
- icon: l,
25
- border: u,
26
- neutral: x,
27
- success: g,
28
- attention: m,
29
- brand: h,
30
- danger: p
22
+ const d = "zmzqxW_attention", z = "zmzqxW_border", l = "zmzqxW_brand", u = "zmzqxW_danger", x = "zmzqxW_icon", g = "zmzqxW_neutral", h = "zmzqxW_success", _ = "zmzqxW_tag", n = {
23
+ attention: d,
24
+ border: z,
25
+ brand: l,
26
+ danger: u,
27
+ icon: x,
28
+ neutral: g,
29
+ success: h,
30
+ tag: _
31
31
  };
32
- function L({
32
+ function b({
33
33
  variant: s = "success",
34
34
  icon: t = !0,
35
35
  border: o,
@@ -38,17 +38,17 @@ function L({
38
38
  return /* @__PURE__ */ c(
39
39
  "span",
40
40
  {
41
- className: _(e, n.tag, n[s], {
41
+ className: i(e, n.tag, n[s], {
42
42
  [n.icon]: t,
43
43
  [n.border]: o
44
44
  }),
45
45
  children: [
46
- t && /* @__PURE__ */ r(i, {}),
46
+ t && /* @__PURE__ */ r(m, {}),
47
47
  "New"
48
48
  ]
49
49
  }
50
50
  );
51
51
  }
52
52
  export {
53
- L as NewTag
53
+ b as NewTag
54
54
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { N as f } from "../../index-DvBbx2s8.js";
3
+ import { N as f } from "../../index-pnL-sAld.js";
4
4
  import "../../clsx-OuTLNxxd.js";
5
5
  import "../Button/index.js";
6
6
  import "../Container/index.js";