highsoft-ui 1.0.108 → 1.0.110
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 +93 -96
- 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
|
|
7
|
-
import { Button as
|
|
6
|
+
import { c as N } from "../../clsx-OuTLNxxd.js";
|
|
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 D, d as
|
|
12
|
+
import { s as c, C as st } from "../../CookiePolicyModal-C5FOuvB-.js";
|
|
13
|
+
import { a as D, d as at, v as H } 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) {
|
|
@@ -77,72 +77,69 @@ var wt = 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
|
-
},
|
|
80
|
+
}, F = {
|
|
81
81
|
color: void 0,
|
|
82
82
|
size: void 0,
|
|
83
83
|
className: void 0,
|
|
84
84
|
style: void 0,
|
|
85
85
|
attr: void 0
|
|
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
|
-
function
|
|
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
|
-
r % 2 ?
|
|
127
|
+
r % 2 ? T(Object(i), !0).forEach(function(a) {
|
|
131
128
|
Ct(t, a, i[a]);
|
|
132
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) :
|
|
129
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : T(Object(i)).forEach(function(a) {
|
|
133
130
|
Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(i, a));
|
|
134
131
|
});
|
|
135
132
|
}
|
|
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,
|
|
@@ -183,30 +180,30 @@ function Pt(t) {
|
|
|
183
180
|
xmlns: "http://www.w3.org/2000/svg"
|
|
184
181
|
}), w && /* @__PURE__ */ g.createElement("title", null, w), t.children);
|
|
185
182
|
};
|
|
186
|
-
return
|
|
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"
|
|
@@ -463,8 +460,8 @@ const Lt = [
|
|
|
463
460
|
url: "https://www.highcharts.com/privacy/"
|
|
464
461
|
},
|
|
465
462
|
{
|
|
466
|
-
title: "
|
|
467
|
-
url: "https://
|
|
463
|
+
title: "EULA & AUP",
|
|
464
|
+
url: "https://shop.highcharts.com/license-eula"
|
|
468
465
|
},
|
|
469
466
|
{
|
|
470
467
|
title: "Refund Policy",
|
|
@@ -485,58 +482,58 @@ const Lt = [
|
|
|
485
482
|
]
|
|
486
483
|
}, Mt = [
|
|
487
484
|
{
|
|
488
|
-
icon: /* @__PURE__ */ e(
|
|
485
|
+
icon: /* @__PURE__ */ e(_, {}),
|
|
489
486
|
url: "https://stackoverflow.com/questions/tagged/highcharts",
|
|
490
487
|
label: "StackOverlow"
|
|
491
488
|
},
|
|
492
489
|
{
|
|
493
|
-
icon: /* @__PURE__ */ e(
|
|
490
|
+
icon: /* @__PURE__ */ e(W, {}),
|
|
494
491
|
url: "https://github.com/highcharts/highcharts",
|
|
495
492
|
label: "GitHub"
|
|
496
493
|
},
|
|
497
494
|
{
|
|
498
|
-
icon: /* @__PURE__ */ e(
|
|
495
|
+
icon: /* @__PURE__ */ e(Ot, {}),
|
|
499
496
|
url: "https://twitter.com/Highcharts",
|
|
500
497
|
label: "X"
|
|
501
498
|
},
|
|
502
499
|
{
|
|
503
|
-
icon: /* @__PURE__ */ e(
|
|
500
|
+
icon: /* @__PURE__ */ e(jt, {}),
|
|
504
501
|
url: "https://www.facebook.com/Highcharts",
|
|
505
502
|
label: "Facebook"
|
|
506
503
|
},
|
|
507
504
|
{
|
|
508
|
-
icon: /* @__PURE__ */ e(
|
|
505
|
+
icon: /* @__PURE__ */ e(kt, {}),
|
|
509
506
|
url: "https://www.instagram.com/highsoftcompany/",
|
|
510
507
|
label: "Instagram"
|
|
511
508
|
},
|
|
512
509
|
{
|
|
513
|
-
icon: /* @__PURE__ */ e(
|
|
510
|
+
icon: /* @__PURE__ */ e(St, {}),
|
|
514
511
|
url: "https://www.linkedin.com/company/highsoft",
|
|
515
512
|
label: "LinkedIn"
|
|
516
513
|
},
|
|
517
514
|
{
|
|
518
|
-
icon: /* @__PURE__ */ e(
|
|
515
|
+
icon: /* @__PURE__ */ e(R, {}),
|
|
519
516
|
url: "https://www.highcharts.com/highcharts-discord/",
|
|
520
517
|
label: "Discord"
|
|
521
518
|
},
|
|
522
519
|
{
|
|
523
|
-
icon: /* @__PURE__ */ e(
|
|
520
|
+
icon: /* @__PURE__ */ e(V, {}),
|
|
524
521
|
url: "https://www.youtube.com/channel/UCzxXofPTQ0DoT7uIy3Fxw7A",
|
|
525
522
|
label: "Youtube"
|
|
526
523
|
}
|
|
527
524
|
];
|
|
528
525
|
function At() {
|
|
529
|
-
const [t, r] =
|
|
530
|
-
return /* @__PURE__ */ s(
|
|
526
|
+
const [t, r] = at(), i = "npm install highcharts";
|
|
527
|
+
return /* @__PURE__ */ s(B, { variant: "neutral", onClick: () => t(i), children: [
|
|
531
528
|
i,
|
|
532
529
|
r ? /* @__PURE__ */ e(tt, {}) : /* @__PURE__ */ e(wt, {})
|
|
533
530
|
] });
|
|
534
531
|
}
|
|
535
|
-
function
|
|
532
|
+
function Kt({
|
|
536
533
|
link: t = "a",
|
|
537
534
|
host: r = "https://www.highcharts.com"
|
|
538
535
|
}) {
|
|
539
|
-
const i = A(null), a = A(null), [
|
|
536
|
+
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 = D("(max-width: 849px)"), K = D("(min-width: 850px) and (max-width: 999px)");
|
|
540
537
|
Y(() => {
|
|
541
538
|
if (a.current) {
|
|
542
539
|
const h = async () => {
|
|
@@ -549,21 +546,21 @@ function Zt({
|
|
|
549
546
|
}
|
|
550
547
|
}, o = async () => {
|
|
551
548
|
try {
|
|
552
|
-
const
|
|
549
|
+
const d = await (await fetch(
|
|
553
550
|
"https://discord.com/api/guilds/1318933807059042305/widget.json"
|
|
554
551
|
)).json() || {};
|
|
555
|
-
return
|
|
552
|
+
return d.members = d.members || [], d;
|
|
556
553
|
} catch {
|
|
557
554
|
}
|
|
558
555
|
}, l = new IntersectionObserver(
|
|
559
|
-
async (
|
|
560
|
-
if (
|
|
556
|
+
async (u) => {
|
|
557
|
+
if (u[0].isIntersecting) {
|
|
561
558
|
l.disconnect();
|
|
562
|
-
const [
|
|
559
|
+
const [d, b] = await Promise.all([
|
|
563
560
|
h(),
|
|
564
561
|
o()
|
|
565
562
|
]);
|
|
566
|
-
G(
|
|
563
|
+
G(d), U(b);
|
|
567
564
|
}
|
|
568
565
|
},
|
|
569
566
|
{ rootMargin: "100px" }
|
|
@@ -571,8 +568,8 @@ function Zt({
|
|
|
571
568
|
return l.observe(a.current), () => l.disconnect();
|
|
572
569
|
}
|
|
573
570
|
}, [a.current]);
|
|
574
|
-
const
|
|
575
|
-
|
|
571
|
+
const x = !!n && n !== "Something went wrong", Z = (h) => {
|
|
572
|
+
x ? H(h.target.value) && f("") : n && f("");
|
|
576
573
|
}, Q = async (h) => {
|
|
577
574
|
h.preventDefault();
|
|
578
575
|
const o = i.current;
|
|
@@ -581,8 +578,8 @@ function Zt({
|
|
|
581
578
|
o.value = "", o.focus();
|
|
582
579
|
return;
|
|
583
580
|
}
|
|
584
|
-
if (
|
|
585
|
-
|
|
581
|
+
if (x) {
|
|
582
|
+
x && o.focus();
|
|
586
583
|
return;
|
|
587
584
|
}
|
|
588
585
|
if (!H(o.value)) {
|
|
@@ -607,7 +604,7 @@ function Zt({
|
|
|
607
604
|
w(!1);
|
|
608
605
|
}
|
|
609
606
|
}
|
|
610
|
-
}, z = /* @__PURE__ */ s(
|
|
607
|
+
}, z = /* @__PURE__ */ s(O, { children: [
|
|
611
608
|
/* @__PURE__ */ s("span", { className: c.copyright, children: [
|
|
612
609
|
"© ",
|
|
613
610
|
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
@@ -617,9 +614,9 @@ function Zt({
|
|
|
617
614
|
/* @__PURE__ */ e(t, { href: "https://www.highcharts.com/blog/article/accessibility-statement/", children: "Accessibility Statement" }),
|
|
618
615
|
/* @__PURE__ */ e(t, { href: "https://www.highcharts.com/sitemap.xml", children: "Sitemap" }),
|
|
619
616
|
/* @__PURE__ */ e("button", { onClick: () => window.CookieConsent?.renew(), children: "Cookie Preferences" }),
|
|
620
|
-
/* @__PURE__ */ e(
|
|
617
|
+
/* @__PURE__ */ e(st, {})
|
|
621
618
|
] })
|
|
622
|
-
] }), M = /* @__PURE__ */ e("ul", { className: c.socials, children: Mt.map(({ icon: h, url: o, label: l },
|
|
619
|
+
] }), M = /* @__PURE__ */ e("ul", { className: c.socials, children: Mt.map(({ icon: h, url: o, label: l }, u) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("a", { href: o, "aria-label": l, children: h }) }, u)) });
|
|
623
620
|
return /* @__PURE__ */ e("footer", { className: c.outer, children: /* @__PURE__ */ s(et, { className: c.footer, children: [
|
|
624
621
|
/* @__PURE__ */ s("div", { className: c.top, children: [
|
|
625
622
|
/* @__PURE__ */ s("div", { className: c.highcharts, children: [
|
|
@@ -636,7 +633,7 @@ function Zt({
|
|
|
636
633
|
] }),
|
|
637
634
|
/* @__PURE__ */ s(ot, { children: [
|
|
638
635
|
/* @__PURE__ */ e(nt, { asChild: !0, children: /* @__PURE__ */ s("button", { className: c.youtube, children: [
|
|
639
|
-
/* @__PURE__ */ e(
|
|
636
|
+
/* @__PURE__ */ e(V, {}),
|
|
640
637
|
/* @__PURE__ */ e("p", { children: "Meet the team behind the charts" })
|
|
641
638
|
] }) }),
|
|
642
639
|
/* @__PURE__ */ s(ht, { children: [
|
|
@@ -667,7 +664,7 @@ function Zt({
|
|
|
667
664
|
/* @__PURE__ */ s(
|
|
668
665
|
"div",
|
|
669
666
|
{
|
|
670
|
-
className:
|
|
667
|
+
className: N(c.newsletter, {
|
|
671
668
|
[c.success]: v
|
|
672
669
|
}),
|
|
673
670
|
"data-theme": v && "light",
|
|
@@ -683,18 +680,18 @@ function Zt({
|
|
|
683
680
|
/* @__PURE__ */ e(
|
|
684
681
|
"input",
|
|
685
682
|
{
|
|
686
|
-
className:
|
|
683
|
+
className: N({ [c.error]: n }),
|
|
687
684
|
placeholder: "Email address",
|
|
688
|
-
"aria-invalid":
|
|
689
|
-
onChange:
|
|
685
|
+
"aria-invalid": x,
|
|
686
|
+
onChange: Z,
|
|
690
687
|
ref: i
|
|
691
688
|
}
|
|
692
689
|
),
|
|
693
690
|
/* @__PURE__ */ e(
|
|
694
|
-
|
|
691
|
+
B,
|
|
695
692
|
{
|
|
696
693
|
variant: n ? "danger" : "brand",
|
|
697
|
-
loading:
|
|
694
|
+
loading: m,
|
|
698
695
|
children: "Sign up"
|
|
699
696
|
}
|
|
700
697
|
),
|
|
@@ -744,7 +741,7 @@ function Zt({
|
|
|
744
741
|
ref: a,
|
|
745
742
|
children: [
|
|
746
743
|
/* @__PURE__ */ s("h2", { children: [
|
|
747
|
-
/* @__PURE__ */ e(
|
|
744
|
+
/* @__PURE__ */ e(R, {}),
|
|
748
745
|
"Discord ",
|
|
749
746
|
/* @__PURE__ */ e("span", { children: "/ Total" })
|
|
750
747
|
] }),
|
|
@@ -762,7 +759,7 @@ function Zt({
|
|
|
762
759
|
/* @__PURE__ */ e(
|
|
763
760
|
"span",
|
|
764
761
|
{
|
|
765
|
-
className:
|
|
762
|
+
className: N(c.discordAvatarStatus, {
|
|
766
763
|
[c.online]: h === "online"
|
|
767
764
|
})
|
|
768
765
|
}
|
|
@@ -780,14 +777,14 @@ function Zt({
|
|
|
780
777
|
/* @__PURE__ */ e("span", { children: "Ways to get help" }),
|
|
781
778
|
/* @__PURE__ */ s("p", { children: [
|
|
782
779
|
"We operate in CET",
|
|
783
|
-
|
|
780
|
+
q ? " " : /* @__PURE__ */ e("br", {}),
|
|
784
781
|
"Monday - Friday"
|
|
785
782
|
] })
|
|
786
783
|
] }),
|
|
787
|
-
Lt.map(({ icon: h, subtitle: o, title: l, url:
|
|
784
|
+
Lt.map(({ icon: h, subtitle: o, title: l, url: u }, d) => /* @__PURE__ */ s(
|
|
788
785
|
t,
|
|
789
786
|
{
|
|
790
|
-
href: P(
|
|
787
|
+
href: P(u, r),
|
|
791
788
|
className: c.helpItem,
|
|
792
789
|
children: [
|
|
793
790
|
/* @__PURE__ */ e("div", { className: c.helpBall, children: h }),
|
|
@@ -797,19 +794,19 @@ function Zt({
|
|
|
797
794
|
] })
|
|
798
795
|
]
|
|
799
796
|
},
|
|
800
|
-
|
|
797
|
+
d
|
|
801
798
|
))
|
|
802
799
|
] }),
|
|
803
800
|
/* @__PURE__ */ s("div", { className: c.links, children: [
|
|
804
801
|
Object.entries(zt).map(([h, o], l) => /* @__PURE__ */ s("div", { children: [
|
|
805
802
|
/* @__PURE__ */ e("h2", { children: h }),
|
|
806
|
-
/* @__PURE__ */ e("ul", { children: o.map(({ title:
|
|
803
|
+
/* @__PURE__ */ e("ul", { children: o.map(({ title: u, url: d, tag: b }, X) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ s(
|
|
807
804
|
t,
|
|
808
805
|
{
|
|
809
|
-
href: P(
|
|
810
|
-
className:
|
|
806
|
+
href: P(d, r),
|
|
807
|
+
className: N({ [c.tagged]: b }),
|
|
811
808
|
children: [
|
|
812
|
-
b ? /* @__PURE__ */ e("span", { children:
|
|
809
|
+
b ? /* @__PURE__ */ e("span", { children: u }) : u,
|
|
813
810
|
b && /* @__PURE__ */ e(it, { variant: "brand", icon: !1, border: !0 })
|
|
814
811
|
]
|
|
815
812
|
}
|
|
@@ -817,15 +814,15 @@ function Zt({
|
|
|
817
814
|
] }, l)),
|
|
818
815
|
/* @__PURE__ */ e("div", { className: c.norway, children: /* @__PURE__ */ e(ct, {}) })
|
|
819
816
|
] }),
|
|
820
|
-
/* @__PURE__ */ e("div", { className: c.bottom, children:
|
|
817
|
+
/* @__PURE__ */ e("div", { className: c.bottom, children: K ? /* @__PURE__ */ s(O, { children: [
|
|
821
818
|
/* @__PURE__ */ e("div", { className: c.tabletBottomLeft, children: z }),
|
|
822
819
|
M
|
|
823
|
-
] }) : /* @__PURE__ */ s(
|
|
820
|
+
] }) : /* @__PURE__ */ s(O, { children: [
|
|
824
821
|
z,
|
|
825
822
|
M
|
|
826
823
|
] }) })
|
|
827
824
|
] }) });
|
|
828
825
|
}
|
|
829
826
|
export {
|
|
830
|
-
|
|
827
|
+
Kt as Footer
|
|
831
828
|
};
|