highsoft-ui 1.0.93 → 1.0.95

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.
@@ -2,7 +2,7 @@ import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
2
  import { useState as l, useRef as a, useEffect as i } from "react";
3
3
  import { X as d } from "./XClose-CCu1vrNS.js";
4
4
  import { Button as _ } from "./components/Button/index.js";
5
- import { R as u, T as w, P as h, O as y, C as x, b as G, a as U } from "./index-BSgacgd-.js";
5
+ import { R as u, T as w, P as h, O as y, C as x, b as G, a as U } from "./index-b2mwXw7t.js";
6
6
  const p = "wUsx_G_bottom", m = "wUsx_G_bottomLinks", C = "wUsx_G_cookiePolicy", b = "wUsx_G_cookiePolicyClose", k = "wUsx_G_copyright", f = "wUsx_G_discord", P = "wUsx_G_discordAvatars", g = "wUsx_G_discordAvatarStatus", v = "wUsx_G_discordContent", L = "wUsx_G_discordJoin", B = "wUsx_G_discordMembers", E = "wUsx_G_discordPlus", O = "wUsx_G_error", A = "wUsx_G_footer", M = "wUsx_G_help", S = "wUsx_G_helpBall", R = "wUsx_G_helpContent", j = "wUsx_G_helpItem", I = "wUsx_G_helpWays", J = "wUsx_G_highcharts", N = "wUsx_G_links", T = "wUsx_G_logo", W = "wUsx_G_newsletter", X = "wUsx_G_newsletterContent", q = "wUsx_G_newsletterError", z = "wUsx_G_norway", D = "wUsx_G_notCharts", F = "wUsx_G_online", H = "wUsx_G_outer", K = "wUsx_G_socials", Q = "wUsx_G_success", V = "wUsx_G_tabletBottomLeft", Y = "wUsx_G_tagged", Z = "wUsx_G_top", $ = "wUsx_G_youtube", oo = "wUsx_G_youtubeContent", to = "wUsx_G_youtubeOverlay", n = {
7
7
  bottom: p,
8
8
  bottomLinks: m,
@@ -2,8 +2,8 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../XClose-CCu1vrNS.js";
4
4
  import "../Button/index.js";
5
- import { C as e } from "../../CookiePolicyModal-yxjfkjT3.js";
6
- import "../../index-BSgacgd-.js";
5
+ import { C as e } from "../../CookiePolicyModal-CPUGKcf9.js";
6
+ import "../../index-b2mwXw7t.js";
7
7
  export {
8
8
  e as default
9
9
  };
@@ -4,15 +4,15 @@ 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
6
  import { c as x } from "../../clsx-OuTLNxxd.js";
7
- import { Button as T } from "../Button/index.js";
7
+ import { Button as F } 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 at } from "../../CookiePolicyModal-yxjfkjT3.js";
13
- import { a as H, d as st, 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-BSgacgd-.js";
15
- import { R as mt } from "../../index-C_wmZvxw.js";
12
+ import { s as c, C as at } from "../../CookiePolicyModal-CPUGKcf9.js";
13
+ import { a as D, d as st, v as H } 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-b2mwXw7t.js";
15
+ import { R as mt } from "../../index-DKSs0wKO.js";
16
16
  var wt = function(r) {
17
17
  return /* @__PURE__ */ e("svg", j({
18
18
  xmlns: "http://www.w3.org/2000/svg",
@@ -83,7 +83,7 @@ var wt = function(r) {
83
83
  className: void 0,
84
84
  style: void 0,
85
85
  attr: void 0
86
- }, E = g.createContext && /* @__PURE__ */ g.createContext(B), vt = ["attr", "size", "title"];
86
+ }, T = g.createContext && /* @__PURE__ */ g.createContext(B), vt = ["attr", "size", "title"];
87
87
  function bt(t, r) {
88
88
  if (t == null) return {};
89
89
  var i = yt(t, r), a, u;
@@ -114,7 +114,7 @@ function S() {
114
114
  return t;
115
115
  }, S.apply(this, arguments);
116
116
  }
117
- function F(t, r) {
117
+ function E(t, r) {
118
118
  var i = Object.keys(t);
119
119
  if (Object.getOwnPropertySymbols) {
120
120
  var a = Object.getOwnPropertySymbols(t);
@@ -127,9 +127,9 @@ function F(t, r) {
127
127
  function O(t) {
128
128
  for (var r = 1; r < arguments.length; r++) {
129
129
  var i = arguments[r] != null ? arguments[r] : {};
130
- r % 2 ? F(Object(i), !0).forEach(function(a) {
130
+ r % 2 ? E(Object(i), !0).forEach(function(a) {
131
131
  Ct(t, a, i[a]);
132
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : F(Object(i)).forEach(function(a) {
132
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : E(Object(i)).forEach(function(a) {
133
133
  Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(i, a));
134
134
  });
135
135
  }
@@ -183,7 +183,7 @@ function Pt(t) {
183
183
  xmlns: "http://www.w3.org/2000/svg"
184
184
  }), w && /* @__PURE__ */ g.createElement("title", null, w), t.children);
185
185
  };
186
- return E !== void 0 ? /* @__PURE__ */ g.createElement(E.Consumer, null, (i) => r(i)) : r(B);
186
+ return T !== void 0 ? /* @__PURE__ */ g.createElement(T.Consumer, null, (i) => r(i)) : r(B);
187
187
  }
188
188
  function V(t) {
189
189
  return p({ attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z" }, child: [] }] })(t);
@@ -465,6 +465,14 @@ const Lt = [
465
465
  {
466
466
  title: "Standard License Agreement",
467
467
  url: "https://shop.highcharts.com/license"
468
+ },
469
+ {
470
+ title: "Code of Conduct",
471
+ url: "https://www.highcharts.com/code-of-business-conduct-and-ethics"
472
+ },
473
+ {
474
+ title: "Due Diligence Transparency Act",
475
+ url: "https://www.highcharts.com/aktsomhetsvurdering"
468
476
  }
469
477
  ]
470
478
  }, Mt = [
@@ -511,7 +519,7 @@ const Lt = [
511
519
  ];
512
520
  function At() {
513
521
  const [t, r] = st(), i = "npm install highcharts";
514
- return /* @__PURE__ */ s(T, { variant: "neutral", onClick: () => t(i), children: [
522
+ return /* @__PURE__ */ s(F, { variant: "neutral", onClick: () => t(i), children: [
515
523
  i,
516
524
  r ? /* @__PURE__ */ e(tt, {}) : /* @__PURE__ */ e(wt, {})
517
525
  ] });
@@ -520,7 +528,7 @@ function Zt({
520
528
  link: t = "a",
521
529
  host: r = "https://www.highcharts.com"
522
530
  }) {
523
- const i = A(null), a = A(null), [u, w] = y(!1), [v, C] = y(!1), [n, f] = y(""), [L, G] = y(0), [J, q] = y(), U = H("(max-width: 849px)"), Z = H("(min-width: 850px) and (max-width: 999px)");
531
+ const i = A(null), a = A(null), [u, w] = y(!1), [v, C] = y(!1), [n, f] = y(""), [L, G] = y(0), [J, q] = y(), U = D("(max-width: 849px)"), Z = D("(min-width: 850px) and (max-width: 999px)");
524
532
  Y(() => {
525
533
  if (a.current) {
526
534
  const h = async () => {
@@ -556,7 +564,7 @@ function Zt({
556
564
  }
557
565
  }, [a.current]);
558
566
  const N = !!n && n !== "Something went wrong", K = (h) => {
559
- N ? D(h.target.value) && f("") : n && f("");
567
+ N ? H(h.target.value) && f("") : n && f("");
560
568
  }, Q = async (h) => {
561
569
  h.preventDefault();
562
570
  const o = i.current;
@@ -569,7 +577,7 @@ function Zt({
569
577
  N && o.focus();
570
578
  return;
571
579
  }
572
- if (!D(o.value)) {
580
+ if (!H(o.value)) {
573
581
  f("Check the email format and try again"), o.focus();
574
582
  return;
575
583
  }
@@ -675,7 +683,7 @@ function Zt({
675
683
  }
676
684
  ),
677
685
  /* @__PURE__ */ e(
678
- T,
686
+ F,
679
687
  {
680
688
  variant: n ? "danger" : "brand",
681
689
  loading: u,