highsoft-ui 1.0.61 → 1.0.62
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 +26 -23
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r, jsxs as s, Fragment as N } from "react/jsx-runtime";
|
|
2
2
|
import * as l from "react";
|
|
3
|
-
import
|
|
3
|
+
import _, { useRef as J, useState as S, useEffect as Ot } from "react";
|
|
4
4
|
import { A as St } from "../../Announcement03-obPaH4LK.js";
|
|
5
5
|
import { P, d as xt, c as Mt, e as j, a as F, f as x, g as W, h as Et, R as At, j as Rt, i as It, k as Lt, F as kt, D as Tt, l as jt, C as zt } from "../../index-CM3YgRXK.js";
|
|
6
6
|
import { _ as L } from "../../extends-hS2Bh-Yp.js";
|
|
@@ -324,7 +324,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
324
324
|
className: void 0,
|
|
325
325
|
style: void 0,
|
|
326
326
|
attr: void 0
|
|
327
|
-
}, U =
|
|
327
|
+
}, U = _.createContext && /* @__PURE__ */ _.createContext(pt), pe = ["attr", "size", "title"];
|
|
328
328
|
function ge(t, e) {
|
|
329
329
|
if (t == null) return {};
|
|
330
330
|
var o = me(t, e), i, a;
|
|
@@ -394,12 +394,12 @@ function ve(t, e) {
|
|
|
394
394
|
return (e === "string" ? String : Number)(t);
|
|
395
395
|
}
|
|
396
396
|
function gt(t) {
|
|
397
|
-
return t && t.map((e, o) => /* @__PURE__ */
|
|
397
|
+
return t && t.map((e, o) => /* @__PURE__ */ _.createElement(e.tag, I({
|
|
398
398
|
key: o
|
|
399
399
|
}, e.attr), gt(e.child)));
|
|
400
400
|
}
|
|
401
|
-
function
|
|
402
|
-
return (e) => /* @__PURE__ */
|
|
401
|
+
function y(t) {
|
|
402
|
+
return (e) => /* @__PURE__ */ _.createElement(be, R({
|
|
403
403
|
attr: I({}, t.attr)
|
|
404
404
|
}, e), gt(t.child));
|
|
405
405
|
}
|
|
@@ -410,7 +410,7 @@ function be(t) {
|
|
|
410
410
|
size: a,
|
|
411
411
|
title: n
|
|
412
412
|
} = t, h = ge(t, pe), u = a || o.size || "1em", p;
|
|
413
|
-
return o.className && (p = o.className), t.className && (p = (p ? p + " " : "") + t.className), /* @__PURE__ */
|
|
413
|
+
return o.className && (p = o.className), t.className && (p = (p ? p + " " : "") + t.className), /* @__PURE__ */ _.createElement("svg", R({
|
|
414
414
|
stroke: "currentColor",
|
|
415
415
|
fill: "currentColor",
|
|
416
416
|
strokeWidth: "0"
|
|
@@ -422,33 +422,33 @@ function be(t) {
|
|
|
422
422
|
height: u,
|
|
423
423
|
width: u,
|
|
424
424
|
xmlns: "http://www.w3.org/2000/svg"
|
|
425
|
-
}), n && /* @__PURE__ */
|
|
425
|
+
}), n && /* @__PURE__ */ _.createElement("title", null, n), t.children);
|
|
426
426
|
};
|
|
427
|
-
return U !== void 0 ? /* @__PURE__ */
|
|
427
|
+
return U !== void 0 ? /* @__PURE__ */ _.createElement(U.Consumer, null, (o) => e(o)) : e(pt);
|
|
428
428
|
}
|
|
429
429
|
function mt(t) {
|
|
430
|
-
return
|
|
430
|
+
return y({ 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);
|
|
431
431
|
}
|
|
432
|
-
function
|
|
433
|
-
return
|
|
432
|
+
function ye(t) {
|
|
433
|
+
return y({ 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);
|
|
434
434
|
}
|
|
435
435
|
function wt(t) {
|
|
436
|
-
return
|
|
436
|
+
return y({ 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);
|
|
437
437
|
}
|
|
438
|
-
function
|
|
439
|
-
return
|
|
438
|
+
function _e(t) {
|
|
439
|
+
return y({ 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);
|
|
440
440
|
}
|
|
441
441
|
function Ce(t) {
|
|
442
|
-
return
|
|
442
|
+
return y({ 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);
|
|
443
443
|
}
|
|
444
444
|
function ft(t) {
|
|
445
|
-
return
|
|
445
|
+
return y({ 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);
|
|
446
446
|
}
|
|
447
447
|
function vt(t) {
|
|
448
|
-
return
|
|
448
|
+
return y({ 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);
|
|
449
449
|
}
|
|
450
450
|
function De(t) {
|
|
451
|
-
return
|
|
451
|
+
return y({ 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);
|
|
452
452
|
}
|
|
453
453
|
const Ne = "_footer_1hbei_321", Pe = "_top_1hbei_343", Oe = "_highcharts_1hbei_349", Se = "_logo_1hbei_358", xe = "_youtube_1hbei_372", Me = "_youtubeOverlay_1hbei_442", Ee = "_youtubeContent_1hbei_454", Ae = "_notCharts_1hbei_471", Re = "_newsletter_1hbei_504", Ie = "_error_1hbei_540", Le = "_discord_1hbei_576", ke = "_discordPlus_1hbei_585", Te = "_discordJoin_1hbei_589", je = "_discordMembers_1hbei_593", ze = "_discordContent_1hbei_616", Fe = "_discordAvatars_1hbei_633", We = "_discordAvatarStatus_1hbei_660", Be = "_online_1hbei_671", He = "_help_1hbei_685", Ve = "_helpWays_1hbei_694", Ge = "_helpItem_1hbei_707", $e = "_helpBall_1hbei_720", Je = "_helpContent_1hbei_737", Ye = "_links_1hbei_755", qe = "_tagged_1hbei_785", Ue = "_norway_1hbei_789", Ke = "_bottom_1hbei_799", Xe = "_bottomLinks_1hbei_809", Ze = "_tabletBottomLeft_1hbei_818", Qe = "_socials_1hbei_824", c = {
|
|
454
454
|
footer: Ne,
|
|
@@ -746,12 +746,12 @@ const tr = [
|
|
|
746
746
|
label: "X"
|
|
747
747
|
},
|
|
748
748
|
{
|
|
749
|
-
icon: /* @__PURE__ */ r(
|
|
749
|
+
icon: /* @__PURE__ */ r(ye, {}),
|
|
750
750
|
url: "https://www.facebook.com/Highcharts",
|
|
751
751
|
label: "Facebook"
|
|
752
752
|
},
|
|
753
753
|
{
|
|
754
|
-
icon: /* @__PURE__ */ r(
|
|
754
|
+
icon: /* @__PURE__ */ r(_e, {}),
|
|
755
755
|
url: "https://www.instagram.com/highcharts",
|
|
756
756
|
label: "Instagram"
|
|
757
757
|
},
|
|
@@ -782,7 +782,7 @@ function fr({
|
|
|
782
782
|
link: t = "a",
|
|
783
783
|
host: e = "https://www.highcharts.com"
|
|
784
784
|
}) {
|
|
785
|
-
const o = J(null), i = J(null), [a, n] = S(!1), [h, u] = S(!1), [p, f] = S(""), [D, T] = S(0), [bt,
|
|
785
|
+
const o = J(null), i = J(null), [a, n] = S(!1), [h, u] = S(!1), [p, f] = S(""), [D, T] = S(0), [bt, yt] = S(), _t = Y("(max-width: 849px)"), Ct = Y("(min-width: 850px) and (max-width: 999px)");
|
|
786
786
|
Ot(() => {
|
|
787
787
|
if (i.current) {
|
|
788
788
|
const g = async () => {
|
|
@@ -809,7 +809,7 @@ function fr({
|
|
|
809
809
|
g(),
|
|
810
810
|
d()
|
|
811
811
|
]);
|
|
812
|
-
T(b),
|
|
812
|
+
T(b), yt(O);
|
|
813
813
|
}
|
|
814
814
|
},
|
|
815
815
|
{ rootMargin: "100px" }
|
|
@@ -841,6 +841,9 @@ function fr({
|
|
|
841
841
|
"https://hc-dev.highcharts.com/wp-json/activecampaign/v1/newsletter-signup",
|
|
842
842
|
{
|
|
843
843
|
method: "POST",
|
|
844
|
+
headers: {
|
|
845
|
+
"Content-Type": "application/json"
|
|
846
|
+
},
|
|
844
847
|
body: JSON.stringify({ email: d.value })
|
|
845
848
|
}
|
|
846
849
|
)).ok ? u(!0) : f("Something went wrong");
|
|
@@ -985,7 +988,7 @@ function fr({
|
|
|
985
988
|
/* @__PURE__ */ r("span", { children: "Ways to get help" }),
|
|
986
989
|
/* @__PURE__ */ s("p", { children: [
|
|
987
990
|
"We operate in CET",
|
|
988
|
-
|
|
991
|
+
_t ? " " : /* @__PURE__ */ r("br", {}),
|
|
989
992
|
"Monday - Friday"
|
|
990
993
|
] })
|
|
991
994
|
] }),
|