highsoft-ui 1.0.109 → 1.0.111
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/Footer/index.js +82 -80
- package/dist/components/Header/index.js +250 -234
- package/dist/components/PrefPanel/index.js +673 -650
- package/dist/components/Search/index.js +1 -1
- package/dist/highsoft-ui.css +1 -1
- package/dist/index-CUCGgBGk.js +5654 -0
- package/package.json +1 -1
- package/dist/index-rhaCwOYf.js +0 -5588
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as e, jsxs as s, Fragment as
|
|
1
|
+
import { jsx as e, jsxs as s, Fragment as O } from "react/jsx-runtime";
|
|
2
2
|
import g, { useRef as A, useState as y, useEffect as Y } from "react";
|
|
3
3
|
import { A as $ } from "../../Announcement03-obPaH4LK.js";
|
|
4
4
|
import { C as tt } from "../../Check-Cm4roSEj.js";
|
|
5
5
|
import { _ as j } from "../../extends-hS2Bh-Yp.js";
|
|
6
|
-
import { c as
|
|
6
|
+
import { c as N } from "../../clsx-OuTLNxxd.js";
|
|
7
7
|
import { Button as B } from "../Button/index.js";
|
|
8
8
|
import { Container as et } from "../Container/index.js";
|
|
9
9
|
import { Logo as rt } from "../Logo/index.js";
|
|
10
10
|
import { NewTag as it } from "../NewTag/index.js";
|
|
11
11
|
import ct from "../icons/MadeInNorway.js";
|
|
12
|
-
import { s as c, C as
|
|
13
|
-
import { a as
|
|
12
|
+
import { s as c, C as st } from "../../CookiePolicyModal-C5FOuvB-.js";
|
|
13
|
+
import { a as H, d as at, v as D } from "../../utils-BKDJp1i0.js";
|
|
14
14
|
import { R as ot, T as nt, P as ht, O as lt, C as ut, a as dt } from "../../index-DThcOQDt.js";
|
|
15
15
|
import { R as mt } from "../../index-hYJmp-0x.js";
|
|
16
16
|
var wt = function(r) {
|
|
@@ -86,45 +86,42 @@ var wt = function(r) {
|
|
|
86
86
|
}, E = g.createContext && /* @__PURE__ */ g.createContext(F), vt = ["attr", "size", "title"];
|
|
87
87
|
function bt(t, r) {
|
|
88
88
|
if (t == null) return {};
|
|
89
|
-
var i = yt(t, r)
|
|
89
|
+
var i, a, m = yt(t, r);
|
|
90
90
|
if (Object.getOwnPropertySymbols) {
|
|
91
91
|
var w = Object.getOwnPropertySymbols(t);
|
|
92
|
-
for (
|
|
93
|
-
a = w[u], !(r.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(t, a) && (i[a] = t[a]);
|
|
92
|
+
for (a = 0; a < w.length; a++) i = w[a], r.indexOf(i) === -1 && {}.propertyIsEnumerable.call(t, i) && (m[i] = t[i]);
|
|
94
93
|
}
|
|
95
|
-
return
|
|
94
|
+
return m;
|
|
96
95
|
}
|
|
97
96
|
function yt(t, r) {
|
|
98
97
|
if (t == null) return {};
|
|
99
98
|
var i = {};
|
|
100
|
-
for (var a in t)
|
|
101
|
-
if (
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
99
|
+
for (var a in t) if ({}.hasOwnProperty.call(t, a)) {
|
|
100
|
+
if (r.indexOf(a) !== -1) continue;
|
|
101
|
+
i[a] = t[a];
|
|
102
|
+
}
|
|
105
103
|
return i;
|
|
106
104
|
}
|
|
107
105
|
function S() {
|
|
108
106
|
return S = Object.assign ? Object.assign.bind() : function(t) {
|
|
109
107
|
for (var r = 1; r < arguments.length; r++) {
|
|
110
108
|
var i = arguments[r];
|
|
111
|
-
for (var a in i)
|
|
112
|
-
Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
109
|
+
for (var a in i) ({}).hasOwnProperty.call(i, a) && (t[a] = i[a]);
|
|
113
110
|
}
|
|
114
111
|
return t;
|
|
115
|
-
}, S.apply(
|
|
112
|
+
}, S.apply(null, arguments);
|
|
116
113
|
}
|
|
117
114
|
function T(t, r) {
|
|
118
115
|
var i = Object.keys(t);
|
|
119
116
|
if (Object.getOwnPropertySymbols) {
|
|
120
117
|
var a = Object.getOwnPropertySymbols(t);
|
|
121
|
-
r && (a = a.filter(function(
|
|
122
|
-
return Object.getOwnPropertyDescriptor(t,
|
|
118
|
+
r && (a = a.filter(function(m) {
|
|
119
|
+
return Object.getOwnPropertyDescriptor(t, m).enumerable;
|
|
123
120
|
})), i.push.apply(i, a);
|
|
124
121
|
}
|
|
125
122
|
return i;
|
|
126
123
|
}
|
|
127
|
-
function
|
|
124
|
+
function k(t) {
|
|
128
125
|
for (var r = 1; r < arguments.length; r++) {
|
|
129
126
|
var i = arguments[r] != null ? arguments[r] : {};
|
|
130
127
|
r % 2 ? T(Object(i), !0).forEach(function(a) {
|
|
@@ -136,13 +133,13 @@ function O(t) {
|
|
|
136
133
|
return t;
|
|
137
134
|
}
|
|
138
135
|
function Ct(t, r, i) {
|
|
139
|
-
return r =
|
|
136
|
+
return (r = xt(r)) in t ? Object.defineProperty(t, r, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = i, t;
|
|
140
137
|
}
|
|
141
|
-
function
|
|
142
|
-
var r =
|
|
138
|
+
function xt(t) {
|
|
139
|
+
var r = Nt(t, "string");
|
|
143
140
|
return typeof r == "symbol" ? r : r + "";
|
|
144
141
|
}
|
|
145
|
-
function
|
|
142
|
+
function Nt(t, r) {
|
|
146
143
|
if (typeof t != "object" || !t) return t;
|
|
147
144
|
var i = t[Symbol.toPrimitive];
|
|
148
145
|
if (i !== void 0) {
|
|
@@ -153,29 +150,29 @@ function xt(t, r) {
|
|
|
153
150
|
return (r === "string" ? String : Number)(t);
|
|
154
151
|
}
|
|
155
152
|
function I(t) {
|
|
156
|
-
return t && t.map((r, i) => /* @__PURE__ */ g.createElement(r.tag,
|
|
153
|
+
return t && t.map((r, i) => /* @__PURE__ */ g.createElement(r.tag, k({
|
|
157
154
|
key: i
|
|
158
155
|
}, r.attr), I(r.child)));
|
|
159
156
|
}
|
|
160
157
|
function p(t) {
|
|
161
158
|
return (r) => /* @__PURE__ */ g.createElement(Pt, S({
|
|
162
|
-
attr:
|
|
159
|
+
attr: k({}, t.attr)
|
|
163
160
|
}, r), I(t.child));
|
|
164
161
|
}
|
|
165
162
|
function Pt(t) {
|
|
166
163
|
var r = (i) => {
|
|
167
164
|
var {
|
|
168
165
|
attr: a,
|
|
169
|
-
size:
|
|
166
|
+
size: m,
|
|
170
167
|
title: w
|
|
171
|
-
} = t, v = bt(t, vt), C =
|
|
168
|
+
} = t, v = bt(t, vt), C = m || i.size || "1em", n;
|
|
172
169
|
return i.className && (n = i.className), t.className && (n = (n ? n + " " : "") + t.className), /* @__PURE__ */ g.createElement("svg", S({
|
|
173
170
|
stroke: "currentColor",
|
|
174
171
|
fill: "currentColor",
|
|
175
172
|
strokeWidth: "0"
|
|
176
173
|
}, i.attr, a, v, {
|
|
177
174
|
className: n,
|
|
178
|
-
style:
|
|
175
|
+
style: k(k({
|
|
179
176
|
color: t.color || i.color
|
|
180
177
|
}, i.style), t.style),
|
|
181
178
|
height: C,
|
|
@@ -186,27 +183,27 @@ function Pt(t) {
|
|
|
186
183
|
return E !== void 0 ? /* @__PURE__ */ g.createElement(E.Consumer, null, (i) => r(i)) : r(F);
|
|
187
184
|
}
|
|
188
185
|
function V(t) {
|
|
189
|
-
return p({ attr: { viewBox: "0 0
|
|
190
|
-
}
|
|
191
|
-
function St(t) {
|
|
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);
|
|
186
|
+
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);
|
|
193
187
|
}
|
|
194
188
|
function _(t) {
|
|
195
|
-
return p({ attr: { viewBox: "0 0
|
|
196
|
-
}
|
|
197
|
-
function Ot(t) {
|
|
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);
|
|
189
|
+
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);
|
|
199
190
|
}
|
|
200
|
-
function
|
|
191
|
+
function St(t) {
|
|
201
192
|
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);
|
|
202
193
|
}
|
|
194
|
+
function kt(t) {
|
|
195
|
+
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);
|
|
196
|
+
}
|
|
203
197
|
function W(t) {
|
|
204
|
-
return p({ attr: { viewBox: "0 0
|
|
198
|
+
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);
|
|
199
|
+
}
|
|
200
|
+
function jt(t) {
|
|
201
|
+
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);
|
|
205
202
|
}
|
|
206
203
|
function R(t) {
|
|
207
|
-
return p({ attr: { viewBox: "0 0
|
|
204
|
+
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);
|
|
208
205
|
}
|
|
209
|
-
function
|
|
206
|
+
function Ot(t) {
|
|
210
207
|
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);
|
|
211
208
|
}
|
|
212
209
|
function P(t, r) {
|
|
@@ -220,13 +217,13 @@ const Lt = [
|
|
|
220
217
|
url: "https://www.highcharts.com/chat/gpt/"
|
|
221
218
|
},
|
|
222
219
|
{
|
|
223
|
-
icon: /* @__PURE__ */ e(
|
|
220
|
+
icon: /* @__PURE__ */ e(_, {}),
|
|
224
221
|
subtitle: "Search answers on",
|
|
225
222
|
title: "StackOverflow",
|
|
226
223
|
url: "https://stackoverflow.com/questions/tagged/highcharts"
|
|
227
224
|
},
|
|
228
225
|
{
|
|
229
|
-
icon: /* @__PURE__ */ e(
|
|
226
|
+
icon: /* @__PURE__ */ e(W, {}),
|
|
230
227
|
subtitle: "Report issues on",
|
|
231
228
|
title: "GitHub",
|
|
232
229
|
url: "https://github.com/highcharts/highcharts/issues"
|
|
@@ -405,6 +402,10 @@ const Lt = [
|
|
|
405
402
|
{
|
|
406
403
|
title: "Contact Us",
|
|
407
404
|
url: "https://www.highcharts.com/contact/"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
title: "Highsoft",
|
|
408
|
+
url: "https://www.highsoft.com/"
|
|
408
409
|
}
|
|
409
410
|
],
|
|
410
411
|
/*Solutions: [
|
|
@@ -485,58 +486,58 @@ const Lt = [
|
|
|
485
486
|
]
|
|
486
487
|
}, Mt = [
|
|
487
488
|
{
|
|
488
|
-
icon: /* @__PURE__ */ e(
|
|
489
|
+
icon: /* @__PURE__ */ e(_, {}),
|
|
489
490
|
url: "https://stackoverflow.com/questions/tagged/highcharts",
|
|
490
491
|
label: "StackOverlow"
|
|
491
492
|
},
|
|
492
493
|
{
|
|
493
|
-
icon: /* @__PURE__ */ e(
|
|
494
|
+
icon: /* @__PURE__ */ e(W, {}),
|
|
494
495
|
url: "https://github.com/highcharts/highcharts",
|
|
495
496
|
label: "GitHub"
|
|
496
497
|
},
|
|
497
498
|
{
|
|
498
|
-
icon: /* @__PURE__ */ e(
|
|
499
|
+
icon: /* @__PURE__ */ e(Ot, {}),
|
|
499
500
|
url: "https://twitter.com/Highcharts",
|
|
500
501
|
label: "X"
|
|
501
502
|
},
|
|
502
503
|
{
|
|
503
|
-
icon: /* @__PURE__ */ e(
|
|
504
|
+
icon: /* @__PURE__ */ e(jt, {}),
|
|
504
505
|
url: "https://www.facebook.com/Highcharts",
|
|
505
506
|
label: "Facebook"
|
|
506
507
|
},
|
|
507
508
|
{
|
|
508
|
-
icon: /* @__PURE__ */ e(
|
|
509
|
+
icon: /* @__PURE__ */ e(kt, {}),
|
|
509
510
|
url: "https://www.instagram.com/highsoftcompany/",
|
|
510
511
|
label: "Instagram"
|
|
511
512
|
},
|
|
512
513
|
{
|
|
513
|
-
icon: /* @__PURE__ */ e(
|
|
514
|
+
icon: /* @__PURE__ */ e(St, {}),
|
|
514
515
|
url: "https://www.linkedin.com/company/highsoft",
|
|
515
516
|
label: "LinkedIn"
|
|
516
517
|
},
|
|
517
518
|
{
|
|
518
|
-
icon: /* @__PURE__ */ e(
|
|
519
|
+
icon: /* @__PURE__ */ e(R, {}),
|
|
519
520
|
url: "https://www.highcharts.com/highcharts-discord/",
|
|
520
521
|
label: "Discord"
|
|
521
522
|
},
|
|
522
523
|
{
|
|
523
|
-
icon: /* @__PURE__ */ e(
|
|
524
|
+
icon: /* @__PURE__ */ e(V, {}),
|
|
524
525
|
url: "https://www.youtube.com/channel/UCzxXofPTQ0DoT7uIy3Fxw7A",
|
|
525
526
|
label: "Youtube"
|
|
526
527
|
}
|
|
527
528
|
];
|
|
528
529
|
function At() {
|
|
529
|
-
const [t, r] =
|
|
530
|
+
const [t, r] = at(), i = "npm install highcharts";
|
|
530
531
|
return /* @__PURE__ */ s(B, { variant: "neutral", onClick: () => t(i), children: [
|
|
531
532
|
i,
|
|
532
533
|
r ? /* @__PURE__ */ e(tt, {}) : /* @__PURE__ */ e(wt, {})
|
|
533
534
|
] });
|
|
534
535
|
}
|
|
535
|
-
function
|
|
536
|
+
function Kt({
|
|
536
537
|
link: t = "a",
|
|
537
538
|
host: r = "https://www.highcharts.com"
|
|
538
539
|
}) {
|
|
539
|
-
const i = A(null), a = A(null), [
|
|
540
|
+
const i = A(null), a = A(null), [m, w] = y(!1), [v, C] = y(!1), [n, f] = y(""), [L, G] = y(0), [J, U] = y(), q = H("(max-width: 849px)"), K = H("(min-width: 850px) and (max-width: 999px)");
|
|
540
541
|
Y(() => {
|
|
541
542
|
if (a.current) {
|
|
542
543
|
const h = async () => {
|
|
@@ -549,21 +550,21 @@ function Zt({
|
|
|
549
550
|
}
|
|
550
551
|
}, o = async () => {
|
|
551
552
|
try {
|
|
552
|
-
const
|
|
553
|
+
const u = await (await fetch(
|
|
553
554
|
"https://discord.com/api/guilds/1318933807059042305/widget.json"
|
|
554
555
|
)).json() || {};
|
|
555
|
-
return
|
|
556
|
+
return u.members = u.members || [], u;
|
|
556
557
|
} catch {
|
|
557
558
|
}
|
|
558
559
|
}, l = new IntersectionObserver(
|
|
559
560
|
async (d) => {
|
|
560
561
|
if (d[0].isIntersecting) {
|
|
561
562
|
l.disconnect();
|
|
562
|
-
const [
|
|
563
|
+
const [u, b] = await Promise.all([
|
|
563
564
|
h(),
|
|
564
565
|
o()
|
|
565
566
|
]);
|
|
566
|
-
G(
|
|
567
|
+
G(u), U(b);
|
|
567
568
|
}
|
|
568
569
|
},
|
|
569
570
|
{ rootMargin: "100px" }
|
|
@@ -571,8 +572,8 @@ function Zt({
|
|
|
571
572
|
return l.observe(a.current), () => l.disconnect();
|
|
572
573
|
}
|
|
573
574
|
}, [a.current]);
|
|
574
|
-
const
|
|
575
|
-
|
|
575
|
+
const x = !!n && n !== "Something went wrong", Z = (h) => {
|
|
576
|
+
x ? D(h.target.value) && f("") : n && f("");
|
|
576
577
|
}, Q = async (h) => {
|
|
577
578
|
h.preventDefault();
|
|
578
579
|
const o = i.current;
|
|
@@ -581,11 +582,11 @@ function Zt({
|
|
|
581
582
|
o.value = "", o.focus();
|
|
582
583
|
return;
|
|
583
584
|
}
|
|
584
|
-
if (
|
|
585
|
-
|
|
585
|
+
if (x) {
|
|
586
|
+
x && o.focus();
|
|
586
587
|
return;
|
|
587
588
|
}
|
|
588
|
-
if (!
|
|
589
|
+
if (!D(o.value)) {
|
|
589
590
|
f("Check the email format and try again"), o.focus();
|
|
590
591
|
return;
|
|
591
592
|
}
|
|
@@ -607,7 +608,7 @@ function Zt({
|
|
|
607
608
|
w(!1);
|
|
608
609
|
}
|
|
609
610
|
}
|
|
610
|
-
}, z = /* @__PURE__ */ s(
|
|
611
|
+
}, z = /* @__PURE__ */ s(O, { children: [
|
|
611
612
|
/* @__PURE__ */ s("span", { className: c.copyright, children: [
|
|
612
613
|
"© ",
|
|
613
614
|
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
@@ -617,7 +618,7 @@ function Zt({
|
|
|
617
618
|
/* @__PURE__ */ e(t, { href: "https://www.highcharts.com/blog/article/accessibility-statement/", children: "Accessibility Statement" }),
|
|
618
619
|
/* @__PURE__ */ e(t, { href: "https://www.highcharts.com/sitemap.xml", children: "Sitemap" }),
|
|
619
620
|
/* @__PURE__ */ e("button", { onClick: () => window.CookieConsent?.renew(), children: "Cookie Preferences" }),
|
|
620
|
-
/* @__PURE__ */ e(
|
|
621
|
+
/* @__PURE__ */ e(st, {})
|
|
621
622
|
] })
|
|
622
623
|
] }), M = /* @__PURE__ */ e("ul", { className: c.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)) });
|
|
623
624
|
return /* @__PURE__ */ e("footer", { className: c.outer, children: /* @__PURE__ */ s(et, { className: c.footer, children: [
|
|
@@ -636,7 +637,7 @@ function Zt({
|
|
|
636
637
|
] }),
|
|
637
638
|
/* @__PURE__ */ s(ot, { children: [
|
|
638
639
|
/* @__PURE__ */ e(nt, { asChild: !0, children: /* @__PURE__ */ s("button", { className: c.youtube, children: [
|
|
639
|
-
/* @__PURE__ */ e(
|
|
640
|
+
/* @__PURE__ */ e(V, {}),
|
|
640
641
|
/* @__PURE__ */ e("p", { children: "Meet the team behind the charts" })
|
|
641
642
|
] }) }),
|
|
642
643
|
/* @__PURE__ */ s(ht, { children: [
|
|
@@ -667,7 +668,7 @@ function Zt({
|
|
|
667
668
|
/* @__PURE__ */ s(
|
|
668
669
|
"div",
|
|
669
670
|
{
|
|
670
|
-
className:
|
|
671
|
+
className: N(c.newsletter, {
|
|
671
672
|
[c.success]: v
|
|
672
673
|
}),
|
|
673
674
|
"data-theme": v && "light",
|
|
@@ -683,10 +684,10 @@ function Zt({
|
|
|
683
684
|
/* @__PURE__ */ e(
|
|
684
685
|
"input",
|
|
685
686
|
{
|
|
686
|
-
className:
|
|
687
|
+
className: N({ [c.error]: n }),
|
|
687
688
|
placeholder: "Email address",
|
|
688
|
-
"aria-invalid":
|
|
689
|
-
onChange:
|
|
689
|
+
"aria-invalid": x,
|
|
690
|
+
onChange: Z,
|
|
690
691
|
ref: i
|
|
691
692
|
}
|
|
692
693
|
),
|
|
@@ -694,7 +695,7 @@ function Zt({
|
|
|
694
695
|
B,
|
|
695
696
|
{
|
|
696
697
|
variant: n ? "danger" : "brand",
|
|
697
|
-
loading:
|
|
698
|
+
loading: m,
|
|
698
699
|
children: "Sign up"
|
|
699
700
|
}
|
|
700
701
|
),
|
|
@@ -744,7 +745,7 @@ function Zt({
|
|
|
744
745
|
ref: a,
|
|
745
746
|
children: [
|
|
746
747
|
/* @__PURE__ */ s("h2", { children: [
|
|
747
|
-
/* @__PURE__ */ e(
|
|
748
|
+
/* @__PURE__ */ e(R, {}),
|
|
748
749
|
"Discord ",
|
|
749
750
|
/* @__PURE__ */ e("span", { children: "/ Total" })
|
|
750
751
|
] }),
|
|
@@ -762,7 +763,7 @@ function Zt({
|
|
|
762
763
|
/* @__PURE__ */ e(
|
|
763
764
|
"span",
|
|
764
765
|
{
|
|
765
|
-
className:
|
|
766
|
+
className: N(c.discordAvatarStatus, {
|
|
766
767
|
[c.online]: h === "online"
|
|
767
768
|
})
|
|
768
769
|
}
|
|
@@ -784,7 +785,7 @@ function Zt({
|
|
|
784
785
|
"Monday - Friday"
|
|
785
786
|
] })
|
|
786
787
|
] }),
|
|
787
|
-
Lt.map(({ icon: h, subtitle: o, title: l, url: d },
|
|
788
|
+
Lt.map(({ icon: h, subtitle: o, title: l, url: d }, u) => /* @__PURE__ */ s(
|
|
788
789
|
t,
|
|
789
790
|
{
|
|
790
791
|
href: P(d, r),
|
|
@@ -797,17 +798,18 @@ function Zt({
|
|
|
797
798
|
] })
|
|
798
799
|
]
|
|
799
800
|
},
|
|
800
|
-
|
|
801
|
+
u
|
|
801
802
|
))
|
|
802
803
|
] }),
|
|
803
804
|
/* @__PURE__ */ s("div", { className: c.links, children: [
|
|
804
805
|
Object.entries(zt).map(([h, o], l) => /* @__PURE__ */ s("div", { children: [
|
|
805
806
|
/* @__PURE__ */ e("h2", { children: h }),
|
|
806
|
-
/* @__PURE__ */ e("ul", { children: o.map(({ title: d, url:
|
|
807
|
+
/* @__PURE__ */ e("ul", { children: o.map(({ title: d, url: u, tag: b }, X) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ s(
|
|
807
808
|
t,
|
|
808
809
|
{
|
|
809
|
-
href: P(
|
|
810
|
-
className:
|
|
810
|
+
href: P(u, r),
|
|
811
|
+
className: N({ [c.tagged]: b }),
|
|
812
|
+
target: u.includes("highcharts.com") ? void 0 : "_blank",
|
|
811
813
|
children: [
|
|
812
814
|
b ? /* @__PURE__ */ e("span", { children: d }) : d,
|
|
813
815
|
b && /* @__PURE__ */ e(it, { variant: "brand", icon: !1, border: !0 })
|
|
@@ -817,15 +819,15 @@ function Zt({
|
|
|
817
819
|
] }, l)),
|
|
818
820
|
/* @__PURE__ */ e("div", { className: c.norway, children: /* @__PURE__ */ e(ct, {}) })
|
|
819
821
|
] }),
|
|
820
|
-
/* @__PURE__ */ e("div", { className: c.bottom, children:
|
|
822
|
+
/* @__PURE__ */ e("div", { className: c.bottom, children: K ? /* @__PURE__ */ s(O, { children: [
|
|
821
823
|
/* @__PURE__ */ e("div", { className: c.tabletBottomLeft, children: z }),
|
|
822
824
|
M
|
|
823
|
-
] }) : /* @__PURE__ */ s(
|
|
825
|
+
] }) : /* @__PURE__ */ s(O, { children: [
|
|
824
826
|
z,
|
|
825
827
|
M
|
|
826
828
|
] }) })
|
|
827
829
|
] }) });
|
|
828
830
|
}
|
|
829
831
|
export {
|
|
830
|
-
|
|
832
|
+
Kt as Footer
|
|
831
833
|
};
|