highsoft-ui 1.0.111 → 1.0.112

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.
Files changed (68) hide show
  1. package/dist/Button-Bbc4vmW_.js +45 -0
  2. package/dist/Container-LAkF4ShX.js +11 -0
  3. package/dist/CookiePolicyModal-BH2uHybE.js +90 -0
  4. package/dist/Footer-DY0QJnxb.js +783 -0
  5. package/dist/GPTInput-DRFGKJ2u.js +66 -0
  6. package/dist/Header-DbSqXuvO.js +383 -0
  7. package/dist/Logo-CZ5LYqub.js +194 -0
  8. package/dist/NewTag-C-3mRyvV.js +26 -0
  9. package/dist/Notification-_vWBqFiA.js +96 -0
  10. package/dist/PrefPanel-DmiRZs1n.js +1548 -0
  11. package/dist/Search-D_fsZ-hm.js +4673 -0
  12. package/dist/clsx-ROFf4vs9.js +16 -0
  13. package/dist/components/Button/index.js +2 -81
  14. package/dist/components/Container/index.js +2 -11
  15. package/dist/components/Footer/CookiePolicyModal.js +2 -9
  16. package/dist/components/Footer/index.js +2 -833
  17. package/dist/components/GPTInput/index.js +2 -86
  18. package/dist/components/Header/index.js +2 -611
  19. package/dist/components/Logo/index.js +2 -255
  20. package/dist/components/NewTag/index.js +2 -54
  21. package/dist/components/Notification/index.js +2 -100
  22. package/dist/components/PrefPanel/index.js +2 -1945
  23. package/dist/components/Search/index.js +2 -9
  24. package/dist/components/ThemeLoader/index.js +6 -34
  25. package/dist/components/icons/Bubble.js +37 -52
  26. package/dist/components/icons/MadeInNorway.js +110 -145
  27. package/dist/components/icons/Plane.js +17 -23
  28. package/dist/dist-0f0-S8_q.js +211 -0
  29. package/dist/dist-CjrKJb_1.js +27 -0
  30. package/dist/es2015-CzBBLWyD.js +1140 -0
  31. package/dist/esm-C1TDRARf.js +479 -0
  32. package/dist/highsoft-ui.css +2 -1
  33. package/dist/main.js +12 -28
  34. package/dist/php-client.js +9 -9
  35. package/dist/php.js +10 -16
  36. package/dist/utils-C4QGLbxr.js +162 -0
  37. package/dist/utils.js +2 -11
  38. package/package.json +4 -4
  39. package/dist/Announcement03-obPaH4LK.js +0 -23
  40. package/dist/Check-Cm4roSEj.js +0 -23
  41. package/dist/CookiePolicyModal-C5FOuvB-.js +0 -82
  42. package/dist/XClose-CCu1vrNS.js +0 -23
  43. package/dist/clsx-OuTLNxxd.js +0 -16
  44. package/dist/extends-hS2Bh-Yp.js +0 -12
  45. package/dist/index-CUCGgBGk.js +0 -5654
  46. package/dist/index-CYz8LhDn.js +0 -1110
  47. package/dist/index-DThcOQDt.js +0 -234
  48. package/dist/index-hYJmp-0x.js +0 -30
  49. package/dist/utils-BKDJp1i0.js +0 -140
  50. /package/dist/{components → lib/components}/Button/index.d.ts +0 -0
  51. /package/dist/{components → lib/components}/Container/index.d.ts +0 -0
  52. /package/dist/{components → lib/components}/Footer/CookiePolicyModal.d.ts +0 -0
  53. /package/dist/{components → lib/components}/Footer/index.d.ts +0 -0
  54. /package/dist/{components → lib/components}/GPTInput/index.d.ts +0 -0
  55. /package/dist/{components → lib/components}/Header/index.d.ts +0 -0
  56. /package/dist/{components → lib/components}/Logo/index.d.ts +0 -0
  57. /package/dist/{components → lib/components}/NewTag/index.d.ts +0 -0
  58. /package/dist/{components → lib/components}/Notification/index.d.ts +0 -0
  59. /package/dist/{components → lib/components}/PrefPanel/index.d.ts +0 -0
  60. /package/dist/{components → lib/components}/Search/index.d.ts +0 -0
  61. /package/dist/{components → lib/components}/ThemeLoader/index.d.ts +0 -0
  62. /package/dist/{components → lib/components}/icons/Bubble.d.ts +0 -0
  63. /package/dist/{components → lib/components}/icons/MadeInNorway.d.ts +0 -0
  64. /package/dist/{components → lib/components}/icons/Plane.d.ts +0 -0
  65. /package/dist/{main.d.ts → lib/main.d.ts} +0 -0
  66. /package/dist/{php-client.d.ts → lib/php-client.d.ts} +0 -0
  67. /package/dist/{php.d.ts → lib/php.d.ts} +0 -0
  68. /package/dist/{utils.d.ts → lib/utils.d.ts} +0 -0
@@ -1,833 +1,2 @@
1
- import { jsx as e, jsxs as s, Fragment as O } 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";
5
- import { _ as j } from "../../extends-hS2Bh-Yp.js";
6
- import { c as N } from "../../clsx-OuTLNxxd.js";
7
- import { Button as B } from "../Button/index.js";
8
- import { Container as et } from "../Container/index.js";
9
- import { Logo 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 c, C as st } from "../../CookiePolicyModal-C5FOuvB-.js";
13
- import { a as H, d as at, v as D } from "../../utils-BKDJp1i0.js";
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
- import { R as mt } from "../../index-hYJmp-0x.js";
16
- var wt = function(r) {
17
- return /* @__PURE__ */ e("svg", j({
18
- xmlns: "http://www.w3.org/2000/svg",
19
- width: 24,
20
- height: 24,
21
- fill: "none",
22
- viewBox: "0 0 24 24"
23
- }, r, {
24
- children: /* @__PURE__ */ e("path", {
25
- stroke: "currentColor",
26
- strokeLinecap: "round",
27
- strokeLinejoin: "round",
28
- strokeWidth: 2,
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
- })
31
- }));
32
- }, pt = function(r) {
33
- return /* @__PURE__ */ e("svg", j({
34
- xmlns: "http://www.w3.org/2000/svg",
35
- width: 24,
36
- height: 24,
37
- fill: "none",
38
- viewBox: "0 0 24 24"
39
- }, r, {
40
- children: /* @__PURE__ */ e("path", {
41
- stroke: "currentColor",
42
- strokeLinecap: "round",
43
- strokeLinejoin: "round",
44
- strokeWidth: 2,
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
- })
47
- }));
48
- }, gt = function(r) {
49
- return /* @__PURE__ */ e("svg", j({
50
- xmlns: "http://www.w3.org/2000/svg",
51
- width: 24,
52
- height: 24,
53
- fill: "none",
54
- viewBox: "0 0 24 24"
55
- }, r, {
56
- children: /* @__PURE__ */ e("path", {
57
- stroke: "currentColor",
58
- strokeLinecap: "round",
59
- strokeLinejoin: "round",
60
- strokeWidth: 2,
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
- })
63
- }));
64
- }, ft = function(r) {
65
- return /* @__PURE__ */ e("svg", j({
66
- xmlns: "http://www.w3.org/2000/svg",
67
- width: 24,
68
- height: 24,
69
- fill: "none",
70
- viewBox: "0 0 24 24"
71
- }, r, {
72
- children: /* @__PURE__ */ e("path", {
73
- stroke: "currentColor",
74
- strokeLinecap: "round",
75
- strokeLinejoin: "round",
76
- strokeWidth: 2,
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
- })
79
- }));
80
- }, F = {
81
- color: void 0,
82
- size: void 0,
83
- className: void 0,
84
- style: void 0,
85
- attr: void 0
86
- }, E = g.createContext && /* @__PURE__ */ g.createContext(F), vt = ["attr", "size", "title"];
87
- function bt(t, r) {
88
- if (t == null) return {};
89
- var i, a, m = yt(t, r);
90
- if (Object.getOwnPropertySymbols) {
91
- var w = Object.getOwnPropertySymbols(t);
92
- for (a = 0; a < w.length; a++) i = w[a], r.indexOf(i) === -1 && {}.propertyIsEnumerable.call(t, i) && (m[i] = t[i]);
93
- }
94
- return m;
95
- }
96
- function yt(t, r) {
97
- if (t == null) return {};
98
- var i = {};
99
- for (var a in t) if ({}.hasOwnProperty.call(t, a)) {
100
- if (r.indexOf(a) !== -1) continue;
101
- i[a] = t[a];
102
- }
103
- return i;
104
- }
105
- function S() {
106
- return S = Object.assign ? Object.assign.bind() : function(t) {
107
- for (var r = 1; r < arguments.length; r++) {
108
- var i = arguments[r];
109
- for (var a in i) ({}).hasOwnProperty.call(i, a) && (t[a] = i[a]);
110
- }
111
- return t;
112
- }, S.apply(null, arguments);
113
- }
114
- function T(t, r) {
115
- var i = Object.keys(t);
116
- if (Object.getOwnPropertySymbols) {
117
- var a = Object.getOwnPropertySymbols(t);
118
- r && (a = a.filter(function(m) {
119
- return Object.getOwnPropertyDescriptor(t, m).enumerable;
120
- })), i.push.apply(i, a);
121
- }
122
- return i;
123
- }
124
- function k(t) {
125
- for (var r = 1; r < arguments.length; r++) {
126
- var i = arguments[r] != null ? arguments[r] : {};
127
- r % 2 ? T(Object(i), !0).forEach(function(a) {
128
- Ct(t, a, i[a]);
129
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : T(Object(i)).forEach(function(a) {
130
- Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(i, a));
131
- });
132
- }
133
- return t;
134
- }
135
- function Ct(t, r, i) {
136
- return (r = xt(r)) in t ? Object.defineProperty(t, r, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = i, t;
137
- }
138
- function xt(t) {
139
- var r = Nt(t, "string");
140
- return typeof r == "symbol" ? r : r + "";
141
- }
142
- function Nt(t, r) {
143
- if (typeof t != "object" || !t) return t;
144
- var i = t[Symbol.toPrimitive];
145
- if (i !== void 0) {
146
- var a = i.call(t, r);
147
- if (typeof a != "object") return a;
148
- throw new TypeError("@@toPrimitive must return a primitive value.");
149
- }
150
- return (r === "string" ? String : Number)(t);
151
- }
152
- function I(t) {
153
- return t && t.map((r, i) => /* @__PURE__ */ g.createElement(r.tag, k({
154
- key: i
155
- }, r.attr), I(r.child)));
156
- }
157
- function p(t) {
158
- return (r) => /* @__PURE__ */ g.createElement(Pt, S({
159
- attr: k({}, t.attr)
160
- }, r), I(t.child));
161
- }
162
- function Pt(t) {
163
- var r = (i) => {
164
- var {
165
- attr: a,
166
- size: m,
167
- title: w
168
- } = t, v = bt(t, vt), C = m || i.size || "1em", n;
169
- return i.className && (n = i.className), t.className && (n = (n ? n + " " : "") + t.className), /* @__PURE__ */ g.createElement("svg", S({
170
- stroke: "currentColor",
171
- fill: "currentColor",
172
- strokeWidth: "0"
173
- }, i.attr, a, v, {
174
- className: n,
175
- style: k(k({
176
- color: t.color || i.color
177
- }, i.style), t.style),
178
- height: C,
179
- width: C,
180
- xmlns: "http://www.w3.org/2000/svg"
181
- }), w && /* @__PURE__ */ g.createElement("title", null, w), t.children);
182
- };
183
- return E !== void 0 ? /* @__PURE__ */ g.createElement(E.Consumer, null, (i) => r(i)) : r(F);
184
- }
185
- function V(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);
187
- }
188
- function _(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);
190
- }
191
- function St(t) {
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);
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
- }
197
- function W(t) {
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);
202
- }
203
- function R(t) {
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);
205
- }
206
- function Ot(t) {
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);
208
- }
209
- function P(t, r) {
210
- return r ? t.replace(r, "") : t;
211
- }
212
- const Lt = [
213
- {
214
- icon: /* @__PURE__ */ e(ft, {}),
215
- subtitle: "Ask tech and sales questions with",
216
- title: "Highcharts GPT",
217
- url: "https://www.highcharts.com/chat/gpt/"
218
- },
219
- {
220
- icon: /* @__PURE__ */ e(_, {}),
221
- subtitle: "Search answers on",
222
- title: "StackOverflow",
223
- url: "https://stackoverflow.com/questions/tagged/highcharts"
224
- },
225
- {
226
- icon: /* @__PURE__ */ e(W, {}),
227
- subtitle: "Report issues on",
228
- title: "GitHub",
229
- url: "https://github.com/highcharts/highcharts/issues"
230
- },
231
- {
232
- icon: /* @__PURE__ */ e(gt, {}),
233
- subtitle: "Contact sales about",
234
- title: "Licensing Options",
235
- url: "https://shop.highcharts.com/contact"
236
- }
237
- ], zt = {
238
- Products: [
239
- {
240
- title: "Core",
241
- url: "https://www.highcharts.com/products/highcharts/"
242
- },
243
- {
244
- title: "Stock",
245
- url: "https://www.highcharts.com/products/stock/"
246
- },
247
- {
248
- title: "Maps",
249
- url: "https://www.highcharts.com/products/maps/"
250
- },
251
- {
252
- title: "Gantt",
253
- url: "https://www.highcharts.com/products/gantt/"
254
- },
255
- {
256
- title: "Dashboards",
257
- url: "https://www.highcharts.com/products/dashboards/"
258
- },
259
- {
260
- title: "Grid",
261
- url: "https://www.highcharts.com/products/grid/",
262
- tag: "New"
263
- }
264
- ],
265
- Integrations: [
266
- {
267
- title: "React",
268
- url: "https://www.highcharts.com/integrations/react/"
269
- },
270
- {
271
- title: "TypeScript",
272
- url: "https://www.highcharts.com/integrations/typescript/"
273
- },
274
- {
275
- title: "Angular",
276
- url: "https://www.highcharts.com/integrations/angular/"
277
- },
278
- {
279
- title: "Vue",
280
- url: "https://www.highcharts.com/integrations/vue/"
281
- },
282
- {
283
- title: "JavaScript",
284
- url: "https://www.highcharts.com/integrations/javascript/"
285
- },
286
- {
287
- title: "Flutter",
288
- url: "https://www.highcharts.com/integrations/flutter/",
289
- tag: "New"
290
- },
291
- {
292
- title: "Node.js",
293
- url: "https://www.highcharts.com/integrations/node/"
294
- },
295
- {
296
- title: "Python",
297
- url: "https://www.highcharts.com/integrations/python/"
298
- },
299
- {
300
- title: "Svelte",
301
- url: "https://www.highcharts.com/integrations/svelte/"
302
- }
303
- ],
304
- Documentation: [
305
- {
306
- title: "Demos",
307
- url: "https://www.highcharts.com/demo"
308
- },
309
- {
310
- title: "Docs",
311
- url: "https://www.highcharts.com/docs/index"
312
- },
313
- {
314
- title: "API Reference",
315
- url: "https://api.highcharts.com/highcharts/"
316
- },
317
- {
318
- title: "Roadmap",
319
- url: "https://www.highcharts.com/roadmap/"
320
- },
321
- {
322
- title: "Changelog",
323
- url: "https://www.highcharts.com/changelog/"
324
- }
325
- ],
326
- Support: [
327
- {
328
- title: "Ask Highcharts GPT",
329
- url: "https://www.highcharts.com/chat/gpt/"
330
- },
331
- {
332
- title: "Highcharts Forum",
333
- url: "https://www.highcharts.com/forum/"
334
- },
335
- {
336
- title: "Customer Support Portal",
337
- url: "https://www.highcharts.com/support/"
338
- },
339
- {
340
- title: "Highcharts for Python Support",
341
- url: "https://www.highchartspython.com/get-help"
342
- },
343
- {
344
- title: "FAQ",
345
- url: "https://shop.highcharts.com/faq"
346
- },
347
- {
348
- title: "Channel Partner",
349
- url: "https://shop.highcharts.com/channel-partners"
350
- }
351
- ],
352
- Learning: [
353
- {
354
- title: "Highcharts Academy",
355
- url: "https://www.highcharts.com/highcharts-academy/"
356
- },
357
- {
358
- title: "Chart Chooser",
359
- url: "https://www.highcharts.com/chartchooser/"
360
- },
361
- {
362
- title: "Educational License",
363
- url: "https://www.highcharts.com/education/"
364
- },
365
- {
366
- title: "Accessibility",
367
- url: "https://www.highcharts.com/accessibility/"
368
- },
369
- {
370
- title: "Inspiration",
371
- url: "https://www.highcharts.com/blog/inspirations/"
372
- }
373
- ],
374
- Community: [
375
- {
376
- title: "Highsoft Lab",
377
- url: "https://lab.highsoft.com/"
378
- },
379
- {
380
- title: "Discord",
381
- url: "https://www.highcharts.com/highcharts-discord/",
382
- tag: "New"
383
- },
384
- {
385
- title: "Blog",
386
- url: "https://www.highcharts.com/blog/home/"
387
- }
388
- ],
389
- About: [
390
- {
391
- title: "Our Story",
392
- url: "https://www.highcharts.com/about/"
393
- },
394
- {
395
- title: "Discover the Team",
396
- url: "https://www.highcharts.com/people/"
397
- },
398
- {
399
- title: "Join the Team",
400
- url: "https://highsoft.teamtailor.com/"
401
- },
402
- {
403
- title: "Contact Us",
404
- url: "https://www.highcharts.com/contact/"
405
- },
406
- {
407
- title: "Highsoft",
408
- url: "https://www.highsoft.com/"
409
- }
410
- ],
411
- /*Solutions: [
412
- {
413
- title: 'Finance',
414
- url: '#'
415
- },
416
- {
417
- title: 'Software',
418
- url: '#'
419
- },
420
- {
421
- title: 'Healthcare',
422
- url: '#'
423
- }
424
- ],*/
425
- "Data Connectors": [
426
- {
427
- title: "Morningstar Data",
428
- url: "https://www.highcharts.com/products/morningstar-data/"
429
- }
430
- ],
431
- "Pro Services": [
432
- {
433
- title: "Custom Projects",
434
- url: "https://www.highcharts.com/products/custom-projects/"
435
- }
436
- ],
437
- "Support Plans": [
438
- {
439
- title: "Advantage",
440
- url: "https://www.highcharts.com/products/highcharts-advantage/"
441
- },
442
- {
443
- title: "Advantage Plus",
444
- url: "https://www.highcharts.com/products/highcharts-advantage/"
445
- }
446
- ],
447
- Tools: [
448
- {
449
- title: "Figma Plugin",
450
- url: "https://www.figma.com/community/plugin/1369795683946720598/highcharts-core"
451
- },
452
- {
453
- title: "Editor",
454
- url: "https://www.highcharts.com/products/highcharts-editor/"
455
- },
456
- {
457
- title: "Highcharts GPT",
458
- url: "https://www.highcharts.com/chat/gpt/"
459
- }
460
- ],
461
- Legal: [
462
- {
463
- title: "Privacy Policy",
464
- url: "https://www.highcharts.com/privacy/"
465
- },
466
- {
467
- title: "EULA & AUP",
468
- url: "https://shop.highcharts.com/license-eula"
469
- },
470
- {
471
- title: "Refund Policy",
472
- url: "https://www.highcharts.com/refund-policy-pdf"
473
- },
474
- {
475
- title: "Standard License Agreement",
476
- url: "https://shop.highcharts.com/license"
477
- },
478
- {
479
- title: "Code of Conduct",
480
- url: "https://www.highcharts.com/code-of-business-conduct-and-ethics"
481
- },
482
- {
483
- title: "Due Diligence Transparency Act",
484
- url: "https://www.highcharts.com/aktsomhetsvurdering"
485
- }
486
- ]
487
- }, Mt = [
488
- {
489
- icon: /* @__PURE__ */ e(_, {}),
490
- url: "https://stackoverflow.com/questions/tagged/highcharts",
491
- label: "StackOverlow"
492
- },
493
- {
494
- icon: /* @__PURE__ */ e(W, {}),
495
- url: "https://github.com/highcharts/highcharts",
496
- label: "GitHub"
497
- },
498
- {
499
- icon: /* @__PURE__ */ e(Ot, {}),
500
- url: "https://twitter.com/Highcharts",
501
- label: "X"
502
- },
503
- {
504
- icon: /* @__PURE__ */ e(jt, {}),
505
- url: "https://www.facebook.com/Highcharts",
506
- label: "Facebook"
507
- },
508
- {
509
- icon: /* @__PURE__ */ e(kt, {}),
510
- url: "https://www.instagram.com/highsoftcompany/",
511
- label: "Instagram"
512
- },
513
- {
514
- icon: /* @__PURE__ */ e(St, {}),
515
- url: "https://www.linkedin.com/company/highsoft",
516
- label: "LinkedIn"
517
- },
518
- {
519
- icon: /* @__PURE__ */ e(R, {}),
520
- url: "https://www.highcharts.com/highcharts-discord/",
521
- label: "Discord"
522
- },
523
- {
524
- icon: /* @__PURE__ */ e(V, {}),
525
- url: "https://www.youtube.com/channel/UCzxXofPTQ0DoT7uIy3Fxw7A",
526
- label: "Youtube"
527
- }
528
- ];
529
- function At() {
530
- const [t, r] = at(), i = "npm install highcharts";
531
- return /* @__PURE__ */ s(B, { variant: "neutral", onClick: () => t(i), children: [
532
- i,
533
- r ? /* @__PURE__ */ e(tt, {}) : /* @__PURE__ */ e(wt, {})
534
- ] });
535
- }
536
- function Kt({
537
- link: t = "a",
538
- host: r = "https://www.highcharts.com"
539
- }) {
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)");
541
- Y(() => {
542
- if (a.current) {
543
- const h = async () => {
544
- try {
545
- return (await (await fetch(
546
- "https://discord.com/api/v9/invites/xHxxcyyy6K?with_counts=true"
547
- )).json())?.approximate_member_count || 0;
548
- } catch {
549
- return 0;
550
- }
551
- }, o = async () => {
552
- try {
553
- const u = await (await fetch(
554
- "https://discord.com/api/guilds/1318933807059042305/widget.json"
555
- )).json() || {};
556
- return u.members = u.members || [], u;
557
- } catch {
558
- }
559
- }, l = new IntersectionObserver(
560
- async (d) => {
561
- if (d[0].isIntersecting) {
562
- l.disconnect();
563
- const [u, b] = await Promise.all([
564
- h(),
565
- o()
566
- ]);
567
- G(u), U(b);
568
- }
569
- },
570
- { rootMargin: "100px" }
571
- );
572
- return l.observe(a.current), () => l.disconnect();
573
- }
574
- }, [a.current]);
575
- const x = !!n && n !== "Something went wrong", Z = (h) => {
576
- x ? D(h.target.value) && f("") : n && f("");
577
- }, Q = async (h) => {
578
- h.preventDefault();
579
- const o = i.current;
580
- if (o) {
581
- if (!o.value.trim()) {
582
- o.value = "", o.focus();
583
- return;
584
- }
585
- if (x) {
586
- x && o.focus();
587
- return;
588
- }
589
- if (!D(o.value)) {
590
- f("Check the email format and try again"), o.focus();
591
- return;
592
- }
593
- f(""), w(!0);
594
- try {
595
- (await fetch(
596
- "https://hc-dev.highcharts.com/wp-json/activecampaign/v1/newsletter-signup",
597
- {
598
- method: "POST",
599
- headers: {
600
- "Content-Type": "application/json"
601
- },
602
- body: JSON.stringify({ email: o.value })
603
- }
604
- )).ok ? C(!0) : f("Something went wrong");
605
- } catch {
606
- f("Something went wrong");
607
- } finally {
608
- w(!1);
609
- }
610
- }
611
- }, z = /* @__PURE__ */ s(O, { children: [
612
- /* @__PURE__ */ s("span", { className: c.copyright, children: [
613
- "© ",
614
- (/* @__PURE__ */ new Date()).getFullYear(),
615
- " Highsoft. All rights reserved."
616
- ] }),
617
- /* @__PURE__ */ s("div", { className: c.bottomLinks, children: [
618
- /* @__PURE__ */ e(t, { href: "https://www.highcharts.com/blog/article/accessibility-statement/", children: "Accessibility Statement" }),
619
- /* @__PURE__ */ e(t, { href: "https://www.highcharts.com/sitemap.xml", children: "Sitemap" }),
620
- /* @__PURE__ */ e("button", { onClick: () => window.CookieConsent?.renew(), children: "Cookie Preferences" }),
621
- /* @__PURE__ */ e(st, {})
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)) });
624
- return /* @__PURE__ */ e("footer", { className: c.outer, children: /* @__PURE__ */ s(et, { className: c.footer, children: [
625
- /* @__PURE__ */ s("div", { className: c.top, children: [
626
- /* @__PURE__ */ s("div", { className: c.highcharts, children: [
627
- /* @__PURE__ */ e(
628
- t,
629
- {
630
- className: c.logo,
631
- href: P("https://www.highcharts.com/", r),
632
- children: /* @__PURE__ */ e(rt, {})
633
- }
634
- ),
635
- /* @__PURE__ */ e("p", { children: "We make it easy for developers to create charts and dashboards for web and mobile platforms." }),
636
- /* @__PURE__ */ e(At, {})
637
- ] }),
638
- /* @__PURE__ */ s(ot, { children: [
639
- /* @__PURE__ */ e(nt, { asChild: !0, children: /* @__PURE__ */ s("button", { className: c.youtube, children: [
640
- /* @__PURE__ */ e(V, {}),
641
- /* @__PURE__ */ e("p", { children: "Meet the team behind the charts" })
642
- ] }) }),
643
- /* @__PURE__ */ s(ht, { children: [
644
- /* @__PURE__ */ e(lt, { className: c.youtubeOverlay }),
645
- /* @__PURE__ */ s(
646
- ut,
647
- {
648
- className: c.youtubeContent,
649
- "aria-describedby": void 0,
650
- children: [
651
- /* @__PURE__ */ e(mt, { asChild: !0, children: /* @__PURE__ */ e(dt, { children: "Video: Meet the team behind the charts" }) }),
652
- /* @__PURE__ */ e(
653
- "iframe",
654
- {
655
- width: "100%",
656
- height: "100%",
657
- src: "https://player.vimeo.com/video/955924808?autoplay=1",
658
- allow: "autoplay",
659
- allowFullScreen: !0
660
- }
661
- )
662
- ]
663
- }
664
- )
665
- ] })
666
- ] }),
667
- /* @__PURE__ */ s("div", { className: c.notCharts, children: [
668
- /* @__PURE__ */ s(
669
- "div",
670
- {
671
- className: N(c.newsletter, {
672
- [c.success]: v
673
- }),
674
- "data-theme": v && "light",
675
- children: [
676
- /* @__PURE__ */ s("h2", { children: [
677
- /* @__PURE__ */ e($, {}),
678
- "Stay in the Loop"
679
- ] }),
680
- v ? /* @__PURE__ */ s("div", { className: c.newsletterContent, children: [
681
- /* @__PURE__ */ e(pt, {}),
682
- "Check your inbox and confirm your email to finish signing up."
683
- ] }) : /* @__PURE__ */ s("form", { onSubmit: Q, children: [
684
- /* @__PURE__ */ e(
685
- "input",
686
- {
687
- className: N({ [c.error]: n }),
688
- placeholder: "Email address",
689
- "aria-invalid": x,
690
- onChange: Z,
691
- ref: i
692
- }
693
- ),
694
- /* @__PURE__ */ e(
695
- B,
696
- {
697
- variant: n ? "danger" : "brand",
698
- loading: m,
699
- children: "Sign up"
700
- }
701
- ),
702
- n && /* @__PURE__ */ s("div", { className: c.newsletterError, children: [
703
- n,
704
- /* @__PURE__ */ e(
705
- "svg",
706
- {
707
- xmlns: "http://www.w3.org/2000/svg",
708
- width: "13",
709
- height: "7",
710
- viewBox: "0 0 13 7",
711
- fill: "none",
712
- children: /* @__PURE__ */ e(
713
- "path",
714
- {
715
- d: "M12.5 0H0L4.58809 4.97043C5.35857 5.80512 6.66869 5.83131 7.47191 5.02809L12.5 0Z",
716
- fill: "black"
717
- }
718
- )
719
- }
720
- )
721
- ] })
722
- ] }),
723
- /* @__PURE__ */ s("p", { children: [
724
- "By signing up, you agree to the",
725
- " ",
726
- /* @__PURE__ */ e(
727
- t,
728
- {
729
- href: P(
730
- "https://www.highcharts.com/privacy/",
731
- r
732
- ),
733
- children: "Privacy Policy"
734
- }
735
- )
736
- ] })
737
- ]
738
- }
739
- ),
740
- /* @__PURE__ */ s(
741
- "a",
742
- {
743
- className: c.discord,
744
- href: "https://discord.com/invite/xHxxcyyy6K",
745
- ref: a,
746
- children: [
747
- /* @__PURE__ */ s("h2", { children: [
748
- /* @__PURE__ */ e(R, {}),
749
- "Discord ",
750
- /* @__PURE__ */ e("span", { children: "/ Total" })
751
- ] }),
752
- /* @__PURE__ */ s("p", { className: c.discordContent, children: [
753
- /* @__PURE__ */ e("span", { className: c.discordJoin, children: "Join us" }),
754
- " ",
755
- !!L && /* @__PURE__ */ s("span", { className: c.discordMembers, children: [
756
- L,
757
- " members"
758
- ] })
759
- ] }),
760
- /* @__PURE__ */ s("ul", { className: c.discordAvatars, children: [
761
- J?.members.slice(0, 5).map(({ status: h, avatar_url: o }, l) => /* @__PURE__ */ s("li", { children: [
762
- /* @__PURE__ */ e("img", { src: o }),
763
- /* @__PURE__ */ e(
764
- "span",
765
- {
766
- className: N(c.discordAvatarStatus, {
767
- [c.online]: h === "online"
768
- })
769
- }
770
- )
771
- ] }, l)),
772
- /* @__PURE__ */ e("li", { className: c.discordPlus, children: "+" })
773
- ] })
774
- ]
775
- }
776
- )
777
- ] })
778
- ] }),
779
- /* @__PURE__ */ s("div", { className: c.help, children: [
780
- /* @__PURE__ */ s("div", { className: c.helpWays, children: [
781
- /* @__PURE__ */ e("span", { children: "Ways to get help" }),
782
- /* @__PURE__ */ s("p", { children: [
783
- "We operate in CET",
784
- q ? " " : /* @__PURE__ */ e("br", {}),
785
- "Monday - Friday"
786
- ] })
787
- ] }),
788
- Lt.map(({ icon: h, subtitle: o, title: l, url: d }, u) => /* @__PURE__ */ s(
789
- t,
790
- {
791
- href: P(d, r),
792
- className: c.helpItem,
793
- children: [
794
- /* @__PURE__ */ e("div", { className: c.helpBall, children: h }),
795
- /* @__PURE__ */ s("div", { className: c.helpContent, children: [
796
- /* @__PURE__ */ e("span", { children: o }),
797
- /* @__PURE__ */ e("span", { children: l })
798
- ] })
799
- ]
800
- },
801
- u
802
- ))
803
- ] }),
804
- /* @__PURE__ */ s("div", { className: c.links, children: [
805
- Object.entries(zt).map(([h, o], l) => /* @__PURE__ */ s("div", { children: [
806
- /* @__PURE__ */ e("h2", { children: h }),
807
- /* @__PURE__ */ e("ul", { children: o.map(({ title: d, url: u, tag: b }, X) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ s(
808
- t,
809
- {
810
- href: P(u, r),
811
- className: N({ [c.tagged]: b }),
812
- target: u.includes("highcharts.com") ? void 0 : "_blank",
813
- children: [
814
- b ? /* @__PURE__ */ e("span", { children: d }) : d,
815
- b && /* @__PURE__ */ e(it, { variant: "brand", icon: !1, border: !0 })
816
- ]
817
- }
818
- ) }, X)) })
819
- ] }, l)),
820
- /* @__PURE__ */ e("div", { className: c.norway, children: /* @__PURE__ */ e(ct, {}) })
821
- ] }),
822
- /* @__PURE__ */ e("div", { className: c.bottom, children: K ? /* @__PURE__ */ s(O, { children: [
823
- /* @__PURE__ */ e("div", { className: c.tabletBottomLeft, children: z }),
824
- M
825
- ] }) : /* @__PURE__ */ s(O, { children: [
826
- z,
827
- M
828
- ] }) })
829
- ] }) });
830
- }
831
- export {
832
- Kt as Footer
833
- };
1
+ import { t as e } from "../../Footer-DY0QJnxb.js";
2
+ export { e as Footer };