highsoft-ui 1.0.79 → 1.0.81

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,19 +1,19 @@
1
- import { jsx as e, jsxs as s, Fragment as L } from "react/jsx-runtime";
2
- import * as $ from "react";
3
- import g, { useRef as A, useState as y, useEffect as tt } from "react";
4
- import { A as et } from "../../Announcement03-obPaH4LK.js";
5
- import { C as rt } from "../../Check-Cm4roSEj.js";
1
+ import { jsx as e, jsxs as s, Fragment as k } from "react/jsx-runtime";
2
+ import g, { useRef as A, useState as y, useEffect as Y } from "react";
3
+ import { A as $ } from "../../Announcement03-obPaH4LK.js";
4
+ import { C as tt } from "../../Check-Cm4roSEj.js";
6
5
  import { _ as j } from "../../extends-hS2Bh-Yp.js";
7
- import { c as P } from "../../clsx-OuTLNxxd.js";
6
+ import { c as N } from "../../clsx-OuTLNxxd.js";
8
7
  import { Button as F } from "../Button/index.js";
9
- import { Container as it } from "../Container/index.js";
10
- import { ThemedLogo as ct } from "../Logo/index.js";
11
- import { NewTag as at } from "../NewTag/index.js";
12
- import st from "../icons/MadeInNorway.js";
13
- import { s as a, C as ot, R as nt, T as ht, P as lt, O as dt, a as ut, b as mt } from "../../CookiePolicyModal-B0UcoKfp.js";
14
- import { a as H, c as wt, v as E } from "../../utils-C7rfowvr.js";
15
- import { P as pt } from "../../index-DdHkr4BN.js";
16
- var gt = function(r) {
8
+ import { Container as et } from "../Container/index.js";
9
+ import { ThemedLogo as rt } from "../Logo/index.js";
10
+ import { NewTag as it } from "../NewTag/index.js";
11
+ import ct from "../icons/MadeInNorway.js";
12
+ import { s as a, C as at } from "../../CookiePolicyModal-ChXNzv49.js";
13
+ import { a as H, c as st, v as T } from "../../utils-C7rfowvr.js";
14
+ import { R as ot, T as nt, P as ht, O as lt, C as ut, a as dt } from "../../index-BSgacgd-.js";
15
+ import { R as mt } from "../../index-C_wmZvxw.js";
16
+ var wt = function(r) {
17
17
  return /* @__PURE__ */ e("svg", j({
18
18
  xmlns: "http://www.w3.org/2000/svg",
19
19
  width: 24,
@@ -29,7 +29,7 @@ var gt = function(r) {
29
29
  d: "M5 15c-.9319 0-1.3978 0-1.7654-.1522a2 2 0 0 1-1.0824-1.0824C2 13.3978 2 12.9319 2 12V5.2c0-1.1201 0-1.6802.218-2.108a2 2 0 0 1 .874-.874C3.5198 2 4.08 2 5.2 2H12c.9319 0 1.3978 0 1.7654.1522.49.203.8794.5924 1.0824 1.0824C15 3.6022 15 4.0681 15 5m-2.8 17h6.6c1.1201 0 1.6802 0 2.108-.218a2 2 0 0 0 .874-.874C22 20.4802 22 19.9201 22 18.8v-6.6c0-1.1201 0-1.6802-.218-2.108a2 2 0 0 0-.874-.874C20.4802 9 19.9201 9 18.8 9h-6.6c-1.1201 0-1.6802 0-2.108.218a2 2 0 0 0-.874.874C9 10.5198 9 11.0799 9 12.2v6.6c0 1.1201 0 1.6802.218 2.108.1917.3763.4977.6823.874.874.4278.218.9879.218 2.108.218"
30
30
  })
31
31
  }));
32
- }, ft = function(r) {
32
+ }, pt = function(r) {
33
33
  return /* @__PURE__ */ e("svg", j({
34
34
  xmlns: "http://www.w3.org/2000/svg",
35
35
  width: 24,
@@ -45,7 +45,7 @@ var gt = function(r) {
45
45
  d: "M2.5 12h3.382A1.809 1.809 0 0 1 7.5 13c.3064.6129.9328 1 1.618 1h5.764a1.809 1.809 0 0 0 1.618-1c.3064-.6129.9328-1 1.618-1H21.5M8.9666 4h6.0668c1.0769 0 1.6153 0 2.0907.164.4204.145.8033.3816 1.121.6928.3592.3518.6.8334 1.0816 1.7966l2.1665 4.3331c.189.378.2835.567.3502.765.0592.176.1019.357.1276.5408.029.2069.029.4182.029.8408V15.2c0 1.6802 0 2.5202-.327 3.162a3 3 0 0 1-1.311 1.311C19.7202 20 18.8802 20 17.2 20H6.8c-1.6802 0-2.5202 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 17.7202 2 16.8802 2 15.2v-2.0669c0-.4226 0-.6339.029-.8408a3 3 0 0 1 .1276-.5408c.0667-.198.1612-.387.3501-.765l2.1666-4.3331c.4816-.9632.7224-1.4448 1.0816-1.7967a3 3 0 0 1 1.121-.6927C7.3513 4 7.8897 4 8.9666 4"
46
46
  })
47
47
  }));
48
- }, vt = function(r) {
48
+ }, gt = function(r) {
49
49
  return /* @__PURE__ */ e("svg", j({
50
50
  xmlns: "http://www.w3.org/2000/svg",
51
51
  width: 24,
@@ -61,7 +61,7 @@ var gt = function(r) {
61
61
  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"
62
62
  })
63
63
  }));
64
- }, bt = function(r) {
64
+ }, ft = function(r) {
65
65
  return /* @__PURE__ */ e("svg", j({
66
66
  xmlns: "http://www.w3.org/2000/svg",
67
67
  width: 24,
@@ -77,47 +77,24 @@ var gt = function(r) {
77
77
  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"
78
78
  })
79
79
  }));
80
- }, yt = Object.freeze({
81
- // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
82
- position: "absolute",
83
- border: 0,
84
- width: 1,
85
- height: 1,
86
- padding: 0,
87
- margin: -1,
88
- overflow: "hidden",
89
- clip: "rect(0, 0, 0, 0)",
90
- whiteSpace: "nowrap",
91
- wordWrap: "normal"
92
- }), Ct = "VisuallyHidden", V = $.forwardRef(
93
- (t, r) => /* @__PURE__ */ e(
94
- pt.span,
95
- {
96
- ...t,
97
- ref: r,
98
- style: { ...yt, ...t.style }
99
- }
100
- )
101
- );
102
- V.displayName = Ct;
103
- var Nt = V, B = {
80
+ }, B = {
104
81
  color: void 0,
105
82
  size: void 0,
106
83
  className: void 0,
107
84
  style: void 0,
108
85
  attr: void 0
109
- }, D = g.createContext && /* @__PURE__ */ g.createContext(B), Pt = ["attr", "size", "title"];
110
- function xt(t, r) {
86
+ }, D = g.createContext && /* @__PURE__ */ g.createContext(B), vt = ["attr", "size", "title"];
87
+ function bt(t, r) {
111
88
  if (t == null) return {};
112
- var i = St(t, r), c, d;
89
+ var i = yt(t, r), c, u;
113
90
  if (Object.getOwnPropertySymbols) {
114
91
  var w = Object.getOwnPropertySymbols(t);
115
- for (d = 0; d < w.length; d++)
116
- c = w[d], !(r.indexOf(c) >= 0) && Object.prototype.propertyIsEnumerable.call(t, c) && (i[c] = t[c]);
92
+ for (u = 0; u < w.length; u++)
93
+ c = w[u], !(r.indexOf(c) >= 0) && Object.prototype.propertyIsEnumerable.call(t, c) && (i[c] = t[c]);
117
94
  }
118
95
  return i;
119
96
  }
120
- function St(t, r) {
97
+ function yt(t, r) {
121
98
  if (t == null) return {};
122
99
  var i = {};
123
100
  for (var c in t)
@@ -137,12 +114,12 @@ function S() {
137
114
  return t;
138
115
  }, S.apply(this, arguments);
139
116
  }
140
- function T(t, r) {
117
+ function E(t, r) {
141
118
  var i = Object.keys(t);
142
119
  if (Object.getOwnPropertySymbols) {
143
120
  var c = Object.getOwnPropertySymbols(t);
144
- r && (c = c.filter(function(d) {
145
- return Object.getOwnPropertyDescriptor(t, d).enumerable;
121
+ r && (c = c.filter(function(u) {
122
+ return Object.getOwnPropertyDescriptor(t, u).enumerable;
146
123
  })), i.push.apply(i, c);
147
124
  }
148
125
  return i;
@@ -150,22 +127,22 @@ function T(t, r) {
150
127
  function O(t) {
151
128
  for (var r = 1; r < arguments.length; r++) {
152
129
  var i = arguments[r] != null ? arguments[r] : {};
153
- r % 2 ? T(Object(i), !0).forEach(function(c) {
154
- Ot(t, c, i[c]);
155
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : T(Object(i)).forEach(function(c) {
130
+ r % 2 ? E(Object(i), !0).forEach(function(c) {
131
+ Ct(t, c, i[c]);
132
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : E(Object(i)).forEach(function(c) {
156
133
  Object.defineProperty(t, c, Object.getOwnPropertyDescriptor(i, c));
157
134
  });
158
135
  }
159
136
  return t;
160
137
  }
161
- function Ot(t, r, i) {
162
- return r = jt(r), r in t ? Object.defineProperty(t, r, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = i, t;
138
+ function Ct(t, r, i) {
139
+ return r = xt(r), r in t ? Object.defineProperty(t, r, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = i, t;
163
140
  }
164
- function jt(t) {
165
- var r = Lt(t, "string");
141
+ function xt(t) {
142
+ var r = Nt(t, "string");
166
143
  return typeof r == "symbol" ? r : r + "";
167
144
  }
168
- function Lt(t, r) {
145
+ function Nt(t, r) {
169
146
  if (typeof t != "object" || !t) return t;
170
147
  var i = t[Symbol.toPrimitive];
171
148
  if (i !== void 0) {
@@ -181,17 +158,17 @@ function I(t) {
181
158
  }, r.attr), I(r.child)));
182
159
  }
183
160
  function p(t) {
184
- return (r) => /* @__PURE__ */ g.createElement(kt, S({
161
+ return (r) => /* @__PURE__ */ g.createElement(Pt, S({
185
162
  attr: O({}, t.attr)
186
163
  }, r), I(t.child));
187
164
  }
188
- function kt(t) {
165
+ function Pt(t) {
189
166
  var r = (i) => {
190
167
  var {
191
168
  attr: c,
192
- size: d,
169
+ size: u,
193
170
  title: w
194
- } = t, v = xt(t, Pt), C = d || i.size || "1em", n;
171
+ } = t, v = bt(t, vt), C = u || i.size || "1em", n;
195
172
  return i.className && (n = i.className), t.className && (n = (n ? n + " " : "") + t.className), /* @__PURE__ */ g.createElement("svg", S({
196
173
  stroke: "currentColor",
197
174
  fill: "currentColor",
@@ -208,59 +185,59 @@ function kt(t) {
208
185
  };
209
186
  return D !== void 0 ? /* @__PURE__ */ g.createElement(D.Consumer, null, (i) => r(i)) : r(B);
210
187
  }
211
- function _(t) {
188
+ function V(t) {
212
189
  return p({ 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);
213
190
  }
214
- function zt(t) {
191
+ function St(t) {
215
192
  return p({ 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);
216
193
  }
217
- function W(t) {
194
+ function _(t) {
218
195
  return p({ 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);
219
196
  }
220
- function Mt(t) {
197
+ function Ot(t) {
221
198
  return p({ 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);
222
199
  }
223
- function At(t) {
200
+ function jt(t) {
224
201
  return p({ 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);
225
202
  }
226
- function R(t) {
203
+ function W(t) {
227
204
  return p({ 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);
228
205
  }
229
- function G(t) {
206
+ function R(t) {
230
207
  return p({ 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);
231
208
  }
232
- function Ht(t) {
209
+ function kt(t) {
233
210
  return p({ 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);
234
211
  }
235
- function x(t, r) {
212
+ function P(t, r) {
236
213
  return r ? t.replace(r, "") : t;
237
214
  }
238
- const Et = [
215
+ const Lt = [
239
216
  {
240
- icon: /* @__PURE__ */ e(bt, {}),
217
+ icon: /* @__PURE__ */ e(ft, {}),
241
218
  subtitle: "Ask tech and sales questions with",
242
219
  title: "Highcharts GPT",
243
220
  url: "https://www.highcharts.com/chat/gpt/"
244
221
  },
245
222
  {
246
- icon: /* @__PURE__ */ e(R, {}),
223
+ icon: /* @__PURE__ */ e(W, {}),
247
224
  subtitle: "Search answers on",
248
225
  title: "StackOverflow",
249
226
  url: "https://stackoverflow.com/questions/tagged/highcharts"
250
227
  },
251
228
  {
252
- icon: /* @__PURE__ */ e(W, {}),
229
+ icon: /* @__PURE__ */ e(_, {}),
253
230
  subtitle: "Report issues on",
254
231
  title: "GitHub",
255
232
  url: "https://github.com/highcharts/highcharts/issues"
256
233
  },
257
234
  {
258
- icon: /* @__PURE__ */ e(vt, {}),
235
+ icon: /* @__PURE__ */ e(gt, {}),
259
236
  subtitle: "Contact sales about",
260
237
  title: "Licensing Options",
261
238
  url: "https://shop.highcharts.com/contact"
262
239
  }
263
- ], Dt = {
240
+ ], zt = {
264
241
  Products: [
265
242
  {
266
243
  title: "Core",
@@ -283,12 +260,9 @@ const Et = [
283
260
  url: "https://www.highcharts.com/products/dashboards/"
284
261
  },
285
262
  {
286
- title: "Grid Lite",
287
- url: "https://www.highcharts.com/products/grid/"
288
- },
289
- {
290
- title: "Grid Pro",
291
- url: "https://www.highcharts.com/products/grid/"
263
+ title: "Grid",
264
+ url: "https://www.highcharts.com/products/grid/",
265
+ tag: "New"
292
266
  }
293
267
  ],
294
268
  Integrations: [
@@ -493,61 +467,61 @@ const Et = [
493
467
  url: "https://shop.highcharts.com/license"
494
468
  }
495
469
  ]
496
- }, Tt = [
470
+ }, Mt = [
497
471
  {
498
- icon: /* @__PURE__ */ e(R, {}),
472
+ icon: /* @__PURE__ */ e(W, {}),
499
473
  url: "https://stackoverflow.com/questions/tagged/highcharts",
500
474
  label: "StackOverlow"
501
475
  },
502
476
  {
503
- icon: /* @__PURE__ */ e(W, {}),
477
+ icon: /* @__PURE__ */ e(_, {}),
504
478
  url: "https://github.com/highcharts/highcharts",
505
479
  label: "GitHub"
506
480
  },
507
481
  {
508
- icon: /* @__PURE__ */ e(Ht, {}),
482
+ icon: /* @__PURE__ */ e(kt, {}),
509
483
  url: "https://twitter.com/Highcharts",
510
484
  label: "X"
511
485
  },
512
486
  {
513
- icon: /* @__PURE__ */ e(zt, {}),
487
+ icon: /* @__PURE__ */ e(St, {}),
514
488
  url: "https://www.facebook.com/Highcharts",
515
489
  label: "Facebook"
516
490
  },
517
491
  {
518
- icon: /* @__PURE__ */ e(Mt, {}),
492
+ icon: /* @__PURE__ */ e(Ot, {}),
519
493
  url: "https://www.instagram.com/highsoftcompany/",
520
494
  label: "Instagram"
521
495
  },
522
496
  {
523
- icon: /* @__PURE__ */ e(At, {}),
497
+ icon: /* @__PURE__ */ e(jt, {}),
524
498
  url: "https://www.linkedin.com/company/highsoft",
525
499
  label: "LinkedIn"
526
500
  },
527
501
  {
528
- icon: /* @__PURE__ */ e(_, {}),
502
+ icon: /* @__PURE__ */ e(V, {}),
529
503
  url: "https://www.highcharts.com/highcharts-discord/",
530
504
  label: "Discord"
531
505
  },
532
506
  {
533
- icon: /* @__PURE__ */ e(G, {}),
507
+ icon: /* @__PURE__ */ e(R, {}),
534
508
  url: "https://www.youtube.com/channel/UCzxXofPTQ0DoT7uIy3Fxw7A",
535
509
  label: "Youtube"
536
510
  }
537
511
  ];
538
- function Ft() {
539
- const [t, r] = wt(), i = "npm install highcharts --save";
512
+ function At() {
513
+ const [t, r] = st(), i = "npm install highcharts --save";
540
514
  return /* @__PURE__ */ s(F, { variant: "neutral", onClick: () => t(i), children: [
541
515
  i,
542
- r ? /* @__PURE__ */ e(rt, {}) : /* @__PURE__ */ e(gt, {})
516
+ r ? /* @__PURE__ */ e(tt, {}) : /* @__PURE__ */ e(wt, {})
543
517
  ] });
544
518
  }
545
- function Xt({
519
+ function Zt({
546
520
  link: t = "a",
547
521
  host: r = "https://www.highcharts.com"
548
522
  }) {
549
- const i = A(null), c = A(null), [d, w] = y(!1), [v, C] = y(!1), [n, f] = y(""), [k, J] = y(0), [U, Y] = y(), q = H("(max-width: 849px)"), Z = H("(min-width: 850px) and (max-width: 999px)");
550
- tt(() => {
523
+ const i = A(null), c = A(null), [u, w] = y(!1), [v, C] = y(!1), [n, f] = y(""), [L, G] = y(0), [J, q] = y(), U = H("(max-width: 849px)"), Z = H("(min-width: 850px) and (max-width: 999px)");
524
+ Y(() => {
551
525
  if (c.current) {
552
526
  const h = async () => {
553
527
  try {
@@ -566,14 +540,14 @@ function Xt({
566
540
  } catch {
567
541
  }
568
542
  }, l = new IntersectionObserver(
569
- async (u) => {
570
- if (u[0].isIntersecting) {
543
+ async (d) => {
544
+ if (d[0].isIntersecting) {
571
545
  l.disconnect();
572
546
  const [m, b] = await Promise.all([
573
547
  h(),
574
548
  o()
575
549
  ]);
576
- J(m), Y(b);
550
+ G(m), q(b);
577
551
  }
578
552
  },
579
553
  { rootMargin: "100px" }
@@ -581,8 +555,8 @@ function Xt({
581
555
  return l.observe(c.current), () => l.disconnect();
582
556
  }
583
557
  }, [c.current]);
584
- const N = !!n && n !== "Something went wrong", K = (h) => {
585
- N ? E(h.target.value) && f("") : n && f("");
558
+ const x = !!n && n !== "Something went wrong", K = (h) => {
559
+ x ? T(h.target.value) && f("") : n && f("");
586
560
  }, Q = async (h) => {
587
561
  h.preventDefault();
588
562
  const o = i.current;
@@ -591,11 +565,11 @@ function Xt({
591
565
  o.value = "", o.focus();
592
566
  return;
593
567
  }
594
- if (N) {
595
- N && o.focus();
568
+ if (x) {
569
+ x && o.focus();
596
570
  return;
597
571
  }
598
- if (!E(o.value)) {
572
+ if (!T(o.value)) {
599
573
  f("Check the email format and try again"), o.focus();
600
574
  return;
601
575
  }
@@ -617,7 +591,7 @@ function Xt({
617
591
  w(!1);
618
592
  }
619
593
  }
620
- }, z = /* @__PURE__ */ s(L, { children: [
594
+ }, z = /* @__PURE__ */ s(k, { children: [
621
595
  /* @__PURE__ */ s("span", { className: a.copyright, children: [
622
596
  "© ",
623
597
  (/* @__PURE__ */ new Date()).getFullYear(),
@@ -627,37 +601,37 @@ function Xt({
627
601
  /* @__PURE__ */ e(t, { href: "https://www.highcharts.com/blog/article/accessibility-statement/", children: "Accessibility Statement" }),
628
602
  /* @__PURE__ */ e(t, { href: "https://www.highcharts.com/sitemap.xml", children: "Sitemap" }),
629
603
  /* @__PURE__ */ e("button", { onClick: () => window.CookieConsent?.renew(), children: "Cookie Preferences" }),
630
- /* @__PURE__ */ e(ot, {})
604
+ /* @__PURE__ */ e(at, {})
631
605
  ] })
632
- ] }), M = /* @__PURE__ */ e("ul", { className: a.socials, children: Tt.map(({ icon: h, url: o, label: l }, u) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("a", { href: o, "aria-label": l, children: h }) }, u)) });
633
- return /* @__PURE__ */ s(it, { as: "footer", className: a.footer, children: [
606
+ ] }), M = /* @__PURE__ */ e("ul", { className: a.socials, children: Mt.map(({ icon: h, url: o, label: l }, d) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("a", { href: o, "aria-label": l, children: h }) }, d)) });
607
+ return /* @__PURE__ */ s(et, { as: "footer", className: a.footer, children: [
634
608
  /* @__PURE__ */ s("div", { className: a.top, children: [
635
609
  /* @__PURE__ */ s("div", { className: a.highcharts, children: [
636
610
  /* @__PURE__ */ e(
637
611
  t,
638
612
  {
639
613
  className: a.logo,
640
- href: x("https://www.highcharts.com/", r),
641
- children: /* @__PURE__ */ e(ct, {})
614
+ href: P("https://www.highcharts.com/", r),
615
+ children: /* @__PURE__ */ e(rt, {})
642
616
  }
643
617
  ),
644
618
  /* @__PURE__ */ e("p", { children: "We make it easy for developers to create charts and dashboards for web and mobile platforms." }),
645
- /* @__PURE__ */ e(Ft, {})
619
+ /* @__PURE__ */ e(At, {})
646
620
  ] }),
647
- /* @__PURE__ */ s(nt, { children: [
648
- /* @__PURE__ */ e(ht, { asChild: !0, children: /* @__PURE__ */ s("button", { className: a.youtube, children: [
649
- /* @__PURE__ */ e(G, {}),
621
+ /* @__PURE__ */ s(ot, { children: [
622
+ /* @__PURE__ */ e(nt, { asChild: !0, children: /* @__PURE__ */ s("button", { className: a.youtube, children: [
623
+ /* @__PURE__ */ e(R, {}),
650
624
  /* @__PURE__ */ e("p", { children: "Meet the team behind the charts" })
651
625
  ] }) }),
652
- /* @__PURE__ */ s(lt, { children: [
653
- /* @__PURE__ */ e(dt, { className: a.youtubeOverlay }),
626
+ /* @__PURE__ */ s(ht, { children: [
627
+ /* @__PURE__ */ e(lt, { className: a.youtubeOverlay }),
654
628
  /* @__PURE__ */ s(
655
629
  ut,
656
630
  {
657
631
  className: a.youtubeContent,
658
632
  "aria-describedby": void 0,
659
633
  children: [
660
- /* @__PURE__ */ e(Nt, { asChild: !0, children: /* @__PURE__ */ e(mt, { children: "Video: Meet the team behind the charts" }) }),
634
+ /* @__PURE__ */ e(mt, { asChild: !0, children: /* @__PURE__ */ e(dt, { children: "Video: Meet the team behind the charts" }) }),
661
635
  /* @__PURE__ */ e(
662
636
  "iframe",
663
637
  {
@@ -677,25 +651,25 @@ function Xt({
677
651
  /* @__PURE__ */ s(
678
652
  "div",
679
653
  {
680
- className: P(a.newsletter, {
654
+ className: N(a.newsletter, {
681
655
  [a.success]: v
682
656
  }),
683
657
  "data-theme": v && "light",
684
658
  children: [
685
659
  /* @__PURE__ */ s("h2", { children: [
686
- /* @__PURE__ */ e(et, {}),
660
+ /* @__PURE__ */ e($, {}),
687
661
  "Stay in the Loop"
688
662
  ] }),
689
663
  v ? /* @__PURE__ */ s("div", { className: a.newsletterContent, children: [
690
- /* @__PURE__ */ e(ft, {}),
664
+ /* @__PURE__ */ e(pt, {}),
691
665
  "Check your inbox and confirm your email to finish signing up."
692
666
  ] }) : /* @__PURE__ */ s("form", { onSubmit: Q, children: [
693
667
  /* @__PURE__ */ e(
694
668
  "input",
695
669
  {
696
- className: P({ [a.error]: n }),
670
+ className: N({ [a.error]: n }),
697
671
  placeholder: "Email address",
698
- "aria-invalid": N,
672
+ "aria-invalid": x,
699
673
  onChange: K,
700
674
  ref: i
701
675
  }
@@ -704,7 +678,7 @@ function Xt({
704
678
  F,
705
679
  {
706
680
  variant: n ? "danger" : "brand",
707
- loading: d,
681
+ loading: u,
708
682
  children: "Sign up"
709
683
  }
710
684
  ),
@@ -732,7 +706,7 @@ function Xt({
732
706
  /* @__PURE__ */ s("p", { children: [
733
707
  "By signing up, you agree to the",
734
708
  " ",
735
- /* @__PURE__ */ e(t, { href: x("https://www.highcharts.com/", r), children: "Privacy Policy" })
709
+ /* @__PURE__ */ e(t, { href: P("https://www.highcharts.com/", r), children: "Privacy Policy" })
736
710
  ] })
737
711
  ]
738
712
  }
@@ -745,25 +719,25 @@ function Xt({
745
719
  ref: c,
746
720
  children: [
747
721
  /* @__PURE__ */ s("h2", { children: [
748
- /* @__PURE__ */ e(_, {}),
722
+ /* @__PURE__ */ e(V, {}),
749
723
  "Discord ",
750
724
  /* @__PURE__ */ e("span", { children: "/ Total" })
751
725
  ] }),
752
726
  /* @__PURE__ */ s("p", { className: a.discordContent, children: [
753
727
  /* @__PURE__ */ e("span", { className: a.discordJoin, children: "Join us" }),
754
728
  " ",
755
- !!k && /* @__PURE__ */ s("span", { className: a.discordMembers, children: [
756
- k,
729
+ !!L && /* @__PURE__ */ s("span", { className: a.discordMembers, children: [
730
+ L,
757
731
  " members"
758
732
  ] })
759
733
  ] }),
760
734
  /* @__PURE__ */ s("ul", { className: a.discordAvatars, children: [
761
- U?.members.slice(0, 5).map(({ status: h, avatar_url: o }, l) => /* @__PURE__ */ s("li", { children: [
735
+ J?.members.slice(0, 5).map(({ status: h, avatar_url: o }, l) => /* @__PURE__ */ s("li", { children: [
762
736
  /* @__PURE__ */ e("img", { src: o }),
763
737
  /* @__PURE__ */ e(
764
738
  "span",
765
739
  {
766
- className: P(a.discordAvatarStatus, {
740
+ className: N(a.discordAvatarStatus, {
767
741
  [a.online]: h === "online"
768
742
  })
769
743
  }
@@ -781,14 +755,14 @@ function Xt({
781
755
  /* @__PURE__ */ e("span", { children: "Ways to get help" }),
782
756
  /* @__PURE__ */ s("p", { children: [
783
757
  "We operate in CET",
784
- q ? " " : /* @__PURE__ */ e("br", {}),
758
+ U ? " " : /* @__PURE__ */ e("br", {}),
785
759
  "Monday - Friday"
786
760
  ] })
787
761
  ] }),
788
- Et.map(({ icon: h, subtitle: o, title: l, url: u }, m) => /* @__PURE__ */ s(
762
+ Lt.map(({ icon: h, subtitle: o, title: l, url: d }, m) => /* @__PURE__ */ s(
789
763
  t,
790
764
  {
791
- href: x(u, r),
765
+ href: P(d, r),
792
766
  className: a.helpItem,
793
767
  children: [
794
768
  /* @__PURE__ */ e("div", { className: a.helpBall, children: h }),
@@ -802,31 +776,31 @@ function Xt({
802
776
  ))
803
777
  ] }),
804
778
  /* @__PURE__ */ s("div", { className: a.links, children: [
805
- Object.entries(Dt).map(([h, o], l) => /* @__PURE__ */ s("div", { children: [
779
+ Object.entries(zt).map(([h, o], l) => /* @__PURE__ */ s("div", { children: [
806
780
  /* @__PURE__ */ e("h2", { children: h }),
807
- /* @__PURE__ */ e("ul", { children: o.map(({ title: u, url: m, tag: b }, X) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ s(
781
+ /* @__PURE__ */ e("ul", { children: o.map(({ title: d, url: m, tag: b }, X) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ s(
808
782
  t,
809
783
  {
810
- href: x(m, r),
811
- className: P({ [a.tagged]: b }),
784
+ href: P(m, r),
785
+ className: N({ [a.tagged]: b }),
812
786
  children: [
813
- b ? /* @__PURE__ */ e("span", { children: u }) : u,
814
- b && /* @__PURE__ */ e(at, { variant: "brand", icon: !1, border: !0 })
787
+ b ? /* @__PURE__ */ e("span", { children: d }) : d,
788
+ b && /* @__PURE__ */ e(it, { variant: "brand", icon: !1, border: !0 })
815
789
  ]
816
790
  }
817
791
  ) }, X)) })
818
792
  ] }, l)),
819
- /* @__PURE__ */ e("div", { className: a.norway, children: /* @__PURE__ */ e(st, {}) })
793
+ /* @__PURE__ */ e("div", { className: a.norway, children: /* @__PURE__ */ e(ct, {}) })
820
794
  ] }),
821
- /* @__PURE__ */ e("div", { className: a.bottom, children: Z ? /* @__PURE__ */ s(L, { children: [
795
+ /* @__PURE__ */ e("div", { className: a.bottom, children: Z ? /* @__PURE__ */ s(k, { children: [
822
796
  /* @__PURE__ */ e("div", { className: a.tabletBottomLeft, children: z }),
823
797
  M
824
- ] }) : /* @__PURE__ */ s(L, { children: [
798
+ ] }) : /* @__PURE__ */ s(k, { children: [
825
799
  z,
826
800
  M
827
801
  ] }) })
828
802
  ] });
829
803
  }
830
804
  export {
831
- Xt as Footer
805
+ Zt as Footer
832
806
  };
@@ -8,12 +8,11 @@ export interface SubHeaderItem {
8
8
  tag?: ReactNode;
9
9
  tagVariant?: 'success' | 'brand';
10
10
  }
11
- export declare function SubHeader({ items, link: Link, host, pathname, waitForMount }: {
11
+ export declare function SubHeader({ items, link: Link, host, pathname }: {
12
12
  items: Array<SubHeaderItem>;
13
13
  link?: ElementType;
14
14
  host?: string;
15
15
  pathname?: string;
16
- waitForMount?: boolean;
17
16
  }): import("react/jsx-runtime").JSX.Element;
18
17
  export interface Notification {
19
18
  id?: string;