highsoft-ui 1.0.57 → 1.0.58

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.
@@ -1,16 +1,17 @@
1
- import { jsx as r, jsxs as c, Fragment as _ } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as a, Fragment as O } from "react/jsx-runtime";
2
2
  import * as l from "react";
3
- import w from "react";
4
- import { P as b, d as it, c as nt, e as N, a as R, f as C, g as E, h as ct, R as st, j as lt, i as ht, k as ut, F as dt, D as gt, l as pt, C as mt } from "../../index-CM3YgRXK.js";
5
- import { _ as M } from "../../extends-hS2Bh-Yp.js";
6
- import { c as ft } from "../../clsx-OuTLNxxd.js";
7
- import { Button as wt } from "../Button/index.js";
8
- import { Container as vt } from "../Container/index.js";
9
- import { ThemedLogo as bt } from "../Logo/index.js";
10
- import { NewTag as yt } from "../NewTag/index.js";
11
- import { a as T, u as _t, c as Ct } from "../../utils-CzQFvGG2.js";
12
- var Dt = function(e) {
13
- return /* @__PURE__ */ r("svg", M({
3
+ import y, { useRef as gt, useState as B, useEffect as wt } from "react";
4
+ import { A as mt } from "../../Announcement03-obPaH4LK.js";
5
+ import { P as D, d as ft, c as vt, e as I, a as L, f as x, g as T, h as bt, R as yt, j as _t, i as Ct, k as Dt, F as Pt, D as Nt, l as Ot, C as xt } from "../../index-CM3YgRXK.js";
6
+ import { _ as j } from "../../extends-hS2Bh-Yp.js";
7
+ import { c as zt } from "../../clsx-OuTLNxxd.js";
8
+ import { Button as $ } from "../Button/index.js";
9
+ import { Container as St } from "../Container/index.js";
10
+ import { ThemedLogo as Mt } from "../Logo/index.js";
11
+ import { NewTag as Rt } from "../NewTag/index.js";
12
+ import { a as H, c as Et } from "../../utils-CzQFvGG2.js";
13
+ var At = function(e) {
14
+ return /* @__PURE__ */ r("svg", j({
14
15
  xmlns: "http://www.w3.org/2000/svg",
15
16
  width: 24,
16
17
  height: 24,
@@ -22,11 +23,11 @@ var Dt = function(e) {
22
23
  strokeLinecap: "round",
23
24
  strokeLinejoin: "round",
24
25
  strokeWidth: 2,
25
- 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"
26
+ 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"
26
27
  })
27
28
  }));
28
- }, xt = function(e) {
29
- return /* @__PURE__ */ r("svg", M({
29
+ }, It = function(e) {
30
+ return /* @__PURE__ */ r("svg", j({
30
31
  xmlns: "http://www.w3.org/2000/svg",
31
32
  width: 24,
32
33
  height: 24,
@@ -38,11 +39,11 @@ var Dt = function(e) {
38
39
  strokeLinecap: "round",
39
40
  strokeLinejoin: "round",
40
41
  strokeWidth: 2,
41
- 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"
42
+ 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"
42
43
  })
43
44
  }));
44
- }, Pt = function(e) {
45
- return /* @__PURE__ */ r("svg", M({
45
+ }, Lt = function(e) {
46
+ return /* @__PURE__ */ r("svg", j({
46
47
  xmlns: "http://www.w3.org/2000/svg",
47
48
  width: 24,
48
49
  height: 24,
@@ -54,10 +55,10 @@ var Dt = function(e) {
54
55
  strokeLinecap: "round",
55
56
  strokeLinejoin: "round",
56
57
  strokeWidth: 2,
57
- d: "m4 17 6-6-6-6m8 14h8"
58
+ 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"
58
59
  })
59
60
  }));
60
- }, Ot = Object.freeze({
61
+ }, Tt = Object.freeze({
61
62
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
62
63
  position: "absolute",
63
64
  border: 0,
@@ -69,225 +70,225 @@ var Dt = function(e) {
69
70
  clip: "rect(0, 0, 0, 0)",
70
71
  whiteSpace: "nowrap",
71
72
  wordWrap: "normal"
72
- }), Nt = "VisuallyHidden", F = l.forwardRef(
73
+ }), jt = "VisuallyHidden", J = l.forwardRef(
73
74
  (t, e) => /* @__PURE__ */ r(
74
- b.span,
75
+ D.span,
75
76
  {
76
77
  ...t,
77
78
  ref: e,
78
- style: { ...Ot, ...t.style }
79
+ style: { ...Tt, ...t.style }
79
80
  }
80
81
  )
81
82
  );
82
- F.displayName = Nt;
83
- var St = F, O = "Dialog", [j, je] = nt(O), [Rt, g] = j(O), B = (t) => {
83
+ J.displayName = jt;
84
+ var kt = J, A = "Dialog", [Y, er] = vt(A), [Ft, g] = Y(A), q = (t) => {
84
85
  const {
85
86
  __scopeDialog: e,
86
87
  children: o,
87
- open: a,
88
- defaultOpen: i,
88
+ open: i,
89
+ defaultOpen: s,
89
90
  onOpenChange: n,
90
- modal: u = !0
91
- } = t, h = l.useRef(null), d = l.useRef(null), [p, f] = it({
92
- prop: a,
93
- defaultProp: i ?? !1,
91
+ modal: d = !0
92
+ } = t, h = l.useRef(null), u = l.useRef(null), [P, C] = ft({
93
+ prop: i,
94
+ defaultProp: s ?? !1,
94
95
  onChange: n,
95
- caller: O
96
+ caller: A
96
97
  });
97
98
  return /* @__PURE__ */ r(
98
- Rt,
99
+ Ft,
99
100
  {
100
101
  scope: e,
101
102
  triggerRef: h,
102
- contentRef: d,
103
- contentId: N(),
104
- titleId: N(),
105
- descriptionId: N(),
106
- open: p,
107
- onOpenChange: f,
108
- onOpenToggle: l.useCallback(() => f((y) => !y), [f]),
109
- modal: u,
103
+ contentRef: u,
104
+ contentId: I(),
105
+ titleId: I(),
106
+ descriptionId: I(),
107
+ open: P,
108
+ onOpenChange: C,
109
+ onOpenToggle: l.useCallback(() => C((z) => !z), [C]),
110
+ modal: d,
110
111
  children: o
111
112
  }
112
113
  );
113
114
  };
114
- B.displayName = O;
115
- var W = "DialogTrigger", H = l.forwardRef(
115
+ q.displayName = A;
116
+ var U = "DialogTrigger", K = l.forwardRef(
116
117
  (t, e) => {
117
- const { __scopeDialog: o, ...a } = t, i = g(W, o), n = R(e, i.triggerRef);
118
+ const { __scopeDialog: o, ...i } = t, s = g(U, o), n = L(e, s.triggerRef);
118
119
  return /* @__PURE__ */ r(
119
- b.button,
120
+ D.button,
120
121
  {
121
122
  type: "button",
122
123
  "aria-haspopup": "dialog",
123
- "aria-expanded": i.open,
124
- "aria-controls": i.contentId,
125
- "data-state": A(i.open),
126
- ...a,
124
+ "aria-expanded": s.open,
125
+ "aria-controls": s.contentId,
126
+ "data-state": W(s.open),
127
+ ...i,
127
128
  ref: n,
128
- onClick: C(t.onClick, i.onOpenToggle)
129
+ onClick: x(t.onClick, s.onOpenToggle)
129
130
  }
130
131
  );
131
132
  }
132
133
  );
133
- H.displayName = W;
134
- var I = "DialogPortal", [Et, V] = j(I, {
134
+ K.displayName = U;
135
+ var k = "DialogPortal", [Wt, X] = Y(k, {
135
136
  forceMount: void 0
136
- }), G = (t) => {
137
- const { __scopeDialog: e, forceMount: o, children: a, container: i } = t, n = g(I, e);
138
- return /* @__PURE__ */ r(Et, { scope: e, forceMount: o, children: l.Children.map(a, (u) => /* @__PURE__ */ r(E, { present: o || n.open, children: /* @__PURE__ */ r(ct, { asChild: !0, container: i, children: u }) })) });
137
+ }), Z = (t) => {
138
+ const { __scopeDialog: e, forceMount: o, children: i, container: s } = t, n = g(k, e);
139
+ return /* @__PURE__ */ r(Wt, { scope: e, forceMount: o, children: l.Children.map(i, (d) => /* @__PURE__ */ r(T, { present: o || n.open, children: /* @__PURE__ */ r(bt, { asChild: !0, container: s, children: d }) })) });
139
140
  };
140
- G.displayName = I;
141
- var D = "DialogOverlay", $ = l.forwardRef(
141
+ Z.displayName = k;
142
+ var M = "DialogOverlay", Q = l.forwardRef(
142
143
  (t, e) => {
143
- const o = V(D, t.__scopeDialog), { forceMount: a = o.forceMount, ...i } = t, n = g(D, t.__scopeDialog);
144
- return n.modal ? /* @__PURE__ */ r(E, { present: a || n.open, children: /* @__PURE__ */ r(It, { ...i, ref: e }) }) : null;
144
+ const o = X(M, t.__scopeDialog), { forceMount: i = o.forceMount, ...s } = t, n = g(M, t.__scopeDialog);
145
+ return n.modal ? /* @__PURE__ */ r(T, { present: i || n.open, children: /* @__PURE__ */ r(Ht, { ...s, ref: e }) }) : null;
145
146
  }
146
147
  );
147
- $.displayName = D;
148
- var Mt = lt("DialogOverlay.RemoveScroll"), It = l.forwardRef(
148
+ Q.displayName = M;
149
+ var Bt = _t("DialogOverlay.RemoveScroll"), Ht = l.forwardRef(
149
150
  (t, e) => {
150
- const { __scopeDialog: o, ...a } = t, i = g(D, o);
151
+ const { __scopeDialog: o, ...i } = t, s = g(M, o);
151
152
  return (
152
153
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
153
154
  // ie. when `Overlay` and `Content` are siblings
154
- /* @__PURE__ */ r(st, { as: Mt, allowPinchZoom: !0, shards: [i.contentRef], children: /* @__PURE__ */ r(
155
- b.div,
155
+ /* @__PURE__ */ r(yt, { as: Bt, allowPinchZoom: !0, shards: [s.contentRef], children: /* @__PURE__ */ r(
156
+ D.div,
156
157
  {
157
- "data-state": A(i.open),
158
- ...a,
158
+ "data-state": W(s.open),
159
+ ...i,
159
160
  ref: e,
160
- style: { pointerEvents: "auto", ...a.style }
161
+ style: { pointerEvents: "auto", ...i.style }
161
162
  }
162
163
  ) })
163
164
  );
164
165
  }
165
- ), v = "DialogContent", Y = l.forwardRef(
166
+ ), _ = "DialogContent", tt = l.forwardRef(
166
167
  (t, e) => {
167
- const o = V(v, t.__scopeDialog), { forceMount: a = o.forceMount, ...i } = t, n = g(v, t.__scopeDialog);
168
- return /* @__PURE__ */ r(E, { present: a || n.open, children: n.modal ? /* @__PURE__ */ r(Lt, { ...i, ref: e }) : /* @__PURE__ */ r(At, { ...i, ref: e }) });
168
+ const o = X(_, t.__scopeDialog), { forceMount: i = o.forceMount, ...s } = t, n = g(_, t.__scopeDialog);
169
+ return /* @__PURE__ */ r(T, { present: i || n.open, children: n.modal ? /* @__PURE__ */ r(Vt, { ...s, ref: e }) : /* @__PURE__ */ r(Gt, { ...s, ref: e }) });
169
170
  }
170
171
  );
171
- Y.displayName = v;
172
- var Lt = l.forwardRef(
172
+ tt.displayName = _;
173
+ var Vt = l.forwardRef(
173
174
  (t, e) => {
174
- const o = g(v, t.__scopeDialog), a = l.useRef(null), i = R(e, o.contentRef, a);
175
+ const o = g(_, t.__scopeDialog), i = l.useRef(null), s = L(e, o.contentRef, i);
175
176
  return l.useEffect(() => {
176
- const n = a.current;
177
- if (n) return ht(n);
177
+ const n = i.current;
178
+ if (n) return Ct(n);
178
179
  }, []), /* @__PURE__ */ r(
179
- q,
180
+ et,
180
181
  {
181
182
  ...t,
182
- ref: i,
183
+ ref: s,
183
184
  trapFocus: o.open,
184
185
  disableOutsidePointerEvents: !0,
185
- onCloseAutoFocus: C(t.onCloseAutoFocus, (n) => {
186
+ onCloseAutoFocus: x(t.onCloseAutoFocus, (n) => {
186
187
  n.preventDefault(), o.triggerRef.current?.focus();
187
188
  }),
188
- onPointerDownOutside: C(t.onPointerDownOutside, (n) => {
189
- const u = n.detail.originalEvent, h = u.button === 0 && u.ctrlKey === !0;
190
- (u.button === 2 || h) && n.preventDefault();
189
+ onPointerDownOutside: x(t.onPointerDownOutside, (n) => {
190
+ const d = n.detail.originalEvent, h = d.button === 0 && d.ctrlKey === !0;
191
+ (d.button === 2 || h) && n.preventDefault();
191
192
  }),
192
- onFocusOutside: C(
193
+ onFocusOutside: x(
193
194
  t.onFocusOutside,
194
195
  (n) => n.preventDefault()
195
196
  )
196
197
  }
197
198
  );
198
199
  }
199
- ), At = l.forwardRef(
200
+ ), Gt = l.forwardRef(
200
201
  (t, e) => {
201
- const o = g(v, t.__scopeDialog), a = l.useRef(!1), i = l.useRef(!1);
202
+ const o = g(_, t.__scopeDialog), i = l.useRef(!1), s = l.useRef(!1);
202
203
  return /* @__PURE__ */ r(
203
- q,
204
+ et,
204
205
  {
205
206
  ...t,
206
207
  ref: e,
207
208
  trapFocus: !1,
208
209
  disableOutsidePointerEvents: !1,
209
210
  onCloseAutoFocus: (n) => {
210
- t.onCloseAutoFocus?.(n), n.defaultPrevented || (a.current || o.triggerRef.current?.focus(), n.preventDefault()), a.current = !1, i.current = !1;
211
+ t.onCloseAutoFocus?.(n), n.defaultPrevented || (i.current || o.triggerRef.current?.focus(), n.preventDefault()), i.current = !1, s.current = !1;
211
212
  },
212
213
  onInteractOutside: (n) => {
213
- t.onInteractOutside?.(n), n.defaultPrevented || (a.current = !0, n.detail.originalEvent.type === "pointerdown" && (i.current = !0));
214
- const u = n.target;
215
- o.triggerRef.current?.contains(u) && n.preventDefault(), n.detail.originalEvent.type === "focusin" && i.current && n.preventDefault();
214
+ t.onInteractOutside?.(n), n.defaultPrevented || (i.current = !0, n.detail.originalEvent.type === "pointerdown" && (s.current = !0));
215
+ const d = n.target;
216
+ o.triggerRef.current?.contains(d) && n.preventDefault(), n.detail.originalEvent.type === "focusin" && s.current && n.preventDefault();
216
217
  }
217
218
  }
218
219
  );
219
220
  }
220
- ), q = l.forwardRef(
221
+ ), et = l.forwardRef(
221
222
  (t, e) => {
222
- const { __scopeDialog: o, trapFocus: a, onOpenAutoFocus: i, onCloseAutoFocus: n, ...u } = t, h = g(v, o), d = l.useRef(null), p = R(e, d);
223
- return ut(), /* @__PURE__ */ c(_, { children: [
223
+ const { __scopeDialog: o, trapFocus: i, onOpenAutoFocus: s, onCloseAutoFocus: n, ...d } = t, h = g(_, o), u = l.useRef(null), P = L(e, u);
224
+ return Dt(), /* @__PURE__ */ a(O, { children: [
224
225
  /* @__PURE__ */ r(
225
- dt,
226
+ Pt,
226
227
  {
227
228
  asChild: !0,
228
229
  loop: !0,
229
- trapped: a,
230
- onMountAutoFocus: i,
230
+ trapped: i,
231
+ onMountAutoFocus: s,
231
232
  onUnmountAutoFocus: n,
232
233
  children: /* @__PURE__ */ r(
233
- gt,
234
+ Nt,
234
235
  {
235
236
  role: "dialog",
236
237
  id: h.contentId,
237
238
  "aria-describedby": h.descriptionId,
238
239
  "aria-labelledby": h.titleId,
239
- "data-state": A(h.open),
240
- ...u,
241
- ref: p,
240
+ "data-state": W(h.open),
241
+ ...d,
242
+ ref: P,
242
243
  onDismiss: () => h.onOpenChange(!1)
243
244
  }
244
245
  )
245
246
  }
246
247
  ),
247
- /* @__PURE__ */ c(_, { children: [
248
- /* @__PURE__ */ r(zt, { titleId: h.titleId }),
249
- /* @__PURE__ */ r(jt, { contentRef: d, descriptionId: h.descriptionId })
248
+ /* @__PURE__ */ a(O, { children: [
249
+ /* @__PURE__ */ r(Yt, { titleId: h.titleId }),
250
+ /* @__PURE__ */ r(Ut, { contentRef: u, descriptionId: h.descriptionId })
250
251
  ] })
251
252
  ] });
252
253
  }
253
- ), L = "DialogTitle", U = l.forwardRef(
254
+ ), F = "DialogTitle", rt = l.forwardRef(
254
255
  (t, e) => {
255
- const { __scopeDialog: o, ...a } = t, i = g(L, o);
256
- return /* @__PURE__ */ r(b.h2, { id: i.titleId, ...a, ref: e });
256
+ const { __scopeDialog: o, ...i } = t, s = g(F, o);
257
+ return /* @__PURE__ */ r(D.h2, { id: s.titleId, ...i, ref: e });
257
258
  }
258
259
  );
259
- U.displayName = L;
260
- var X = "DialogDescription", Tt = l.forwardRef(
260
+ rt.displayName = F;
261
+ var ot = "DialogDescription", $t = l.forwardRef(
261
262
  (t, e) => {
262
- const { __scopeDialog: o, ...a } = t, i = g(X, o);
263
- return /* @__PURE__ */ r(b.p, { id: i.descriptionId, ...a, ref: e });
263
+ const { __scopeDialog: o, ...i } = t, s = g(ot, o);
264
+ return /* @__PURE__ */ r(D.p, { id: s.descriptionId, ...i, ref: e });
264
265
  }
265
266
  );
266
- Tt.displayName = X;
267
- var Z = "DialogClose", kt = l.forwardRef(
267
+ $t.displayName = ot;
268
+ var it = "DialogClose", Jt = l.forwardRef(
268
269
  (t, e) => {
269
- const { __scopeDialog: o, ...a } = t, i = g(Z, o);
270
+ const { __scopeDialog: o, ...i } = t, s = g(it, o);
270
271
  return /* @__PURE__ */ r(
271
- b.button,
272
+ D.button,
272
273
  {
273
274
  type: "button",
274
- ...a,
275
+ ...i,
275
276
  ref: e,
276
- onClick: C(t.onClick, () => i.onOpenChange(!1))
277
+ onClick: x(t.onClick, () => s.onOpenChange(!1))
277
278
  }
278
279
  );
279
280
  }
280
281
  );
281
- kt.displayName = Z;
282
- function A(t) {
282
+ Jt.displayName = it;
283
+ function W(t) {
283
284
  return t ? "open" : "closed";
284
285
  }
285
- var Q = "DialogTitleWarning", [Be, J] = pt(Q, {
286
- contentName: v,
287
- titleName: L,
286
+ var st = "DialogTitleWarning", [rr, nt] = Ot(st, {
287
+ contentName: _,
288
+ titleName: F,
288
289
  docsSlug: "dialog"
289
- }), zt = ({ titleId: t }) => {
290
- const e = J(Q), o = `\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
290
+ }), Yt = ({ titleId: t }) => {
291
+ const e = nt(st), o = `\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
291
292
 
292
293
  If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
293
294
 
@@ -295,196 +296,202 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
295
296
  return l.useEffect(() => {
296
297
  t && (document.getElementById(t) || console.error(o));
297
298
  }, [o, t]), null;
298
- }, Ft = "DialogDescriptionWarning", jt = ({ contentRef: t, descriptionId: e }) => {
299
- const a = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${J(Ft).contentName}}.`;
299
+ }, qt = "DialogDescriptionWarning", Ut = ({ contentRef: t, descriptionId: e }) => {
300
+ const i = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${nt(qt).contentName}}.`;
300
301
  return l.useEffect(() => {
301
- const i = t.current?.getAttribute("aria-describedby");
302
- e && i && (document.getElementById(e) || console.warn(a));
303
- }, [a, t, e]), null;
304
- }, Bt = B, Wt = H, Ht = G, Vt = $, Gt = Y, $t = U, K = {
302
+ const s = t.current?.getAttribute("aria-describedby");
303
+ e && s && (document.getElementById(e) || console.warn(i));
304
+ }, [i, t, e]), null;
305
+ }, Kt = q, Xt = K, Zt = Z, Qt = Q, te = tt, ee = rt, at = {
305
306
  color: void 0,
306
307
  size: void 0,
307
308
  className: void 0,
308
309
  style: void 0,
309
310
  attr: void 0
310
- }, k = w.createContext && /* @__PURE__ */ w.createContext(K), Yt = ["attr", "size", "title"];
311
- function qt(t, e) {
311
+ }, V = y.createContext && /* @__PURE__ */ y.createContext(at), re = ["attr", "size", "title"];
312
+ function oe(t, e) {
312
313
  if (t == null) return {};
313
- var o = Ut(t, e), a, i;
314
+ var o = ie(t, e), i, s;
314
315
  if (Object.getOwnPropertySymbols) {
315
316
  var n = Object.getOwnPropertySymbols(t);
316
- for (i = 0; i < n.length; i++)
317
- a = n[i], !(e.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(t, a) && (o[a] = t[a]);
317
+ for (s = 0; s < n.length; s++)
318
+ i = n[s], !(e.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(t, i) && (o[i] = t[i]);
318
319
  }
319
320
  return o;
320
321
  }
321
- function Ut(t, e) {
322
+ function ie(t, e) {
322
323
  if (t == null) return {};
323
324
  var o = {};
324
- for (var a in t)
325
- if (Object.prototype.hasOwnProperty.call(t, a)) {
326
- if (e.indexOf(a) >= 0) continue;
327
- o[a] = t[a];
325
+ for (var i in t)
326
+ if (Object.prototype.hasOwnProperty.call(t, i)) {
327
+ if (e.indexOf(i) >= 0) continue;
328
+ o[i] = t[i];
328
329
  }
329
330
  return o;
330
331
  }
331
- function x() {
332
- return x = Object.assign ? Object.assign.bind() : function(t) {
332
+ function R() {
333
+ return R = Object.assign ? Object.assign.bind() : function(t) {
333
334
  for (var e = 1; e < arguments.length; e++) {
334
335
  var o = arguments[e];
335
- for (var a in o)
336
- Object.prototype.hasOwnProperty.call(o, a) && (t[a] = o[a]);
336
+ for (var i in o)
337
+ Object.prototype.hasOwnProperty.call(o, i) && (t[i] = o[i]);
337
338
  }
338
339
  return t;
339
- }, x.apply(this, arguments);
340
+ }, R.apply(this, arguments);
340
341
  }
341
- function z(t, e) {
342
+ function G(t, e) {
342
343
  var o = Object.keys(t);
343
344
  if (Object.getOwnPropertySymbols) {
344
- var a = Object.getOwnPropertySymbols(t);
345
- e && (a = a.filter(function(i) {
346
- return Object.getOwnPropertyDescriptor(t, i).enumerable;
347
- })), o.push.apply(o, a);
345
+ var i = Object.getOwnPropertySymbols(t);
346
+ e && (i = i.filter(function(s) {
347
+ return Object.getOwnPropertyDescriptor(t, s).enumerable;
348
+ })), o.push.apply(o, i);
348
349
  }
349
350
  return o;
350
351
  }
351
- function P(t) {
352
+ function E(t) {
352
353
  for (var e = 1; e < arguments.length; e++) {
353
354
  var o = arguments[e] != null ? arguments[e] : {};
354
- e % 2 ? z(Object(o), !0).forEach(function(a) {
355
- Xt(t, a, o[a]);
356
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o)) : z(Object(o)).forEach(function(a) {
357
- Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(o, a));
355
+ e % 2 ? G(Object(o), !0).forEach(function(i) {
356
+ se(t, i, o[i]);
357
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o)) : G(Object(o)).forEach(function(i) {
358
+ Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(o, i));
358
359
  });
359
360
  }
360
361
  return t;
361
362
  }
362
- function Xt(t, e, o) {
363
- return e = Zt(e), e in t ? Object.defineProperty(t, e, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = o, t;
363
+ function se(t, e, o) {
364
+ return e = ne(e), e in t ? Object.defineProperty(t, e, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = o, t;
364
365
  }
365
- function Zt(t) {
366
- var e = Qt(t, "string");
366
+ function ne(t) {
367
+ var e = ae(t, "string");
367
368
  return typeof e == "symbol" ? e : e + "";
368
369
  }
369
- function Qt(t, e) {
370
+ function ae(t, e) {
370
371
  if (typeof t != "object" || !t) return t;
371
372
  var o = t[Symbol.toPrimitive];
372
373
  if (o !== void 0) {
373
- var a = o.call(t, e);
374
- if (typeof a != "object") return a;
374
+ var i = o.call(t, e);
375
+ if (typeof i != "object") return i;
375
376
  throw new TypeError("@@toPrimitive must return a primitive value.");
376
377
  }
377
378
  return (e === "string" ? String : Number)(t);
378
379
  }
379
- function tt(t) {
380
- return t && t.map((e, o) => /* @__PURE__ */ w.createElement(e.tag, P({
380
+ function ct(t) {
381
+ return t && t.map((e, o) => /* @__PURE__ */ y.createElement(e.tag, E({
381
382
  key: o
382
- }, e.attr), tt(e.child)));
383
+ }, e.attr), ct(e.child)));
383
384
  }
384
- function m(t) {
385
- return (e) => /* @__PURE__ */ w.createElement(Jt, x({
386
- attr: P({}, t.attr)
387
- }, e), tt(t.child));
385
+ function b(t) {
386
+ return (e) => /* @__PURE__ */ y.createElement(ce, R({
387
+ attr: E({}, t.attr)
388
+ }, e), ct(t.child));
388
389
  }
389
- function Jt(t) {
390
+ function ce(t) {
390
391
  var e = (o) => {
391
392
  var {
392
- attr: a,
393
- size: i,
393
+ attr: i,
394
+ size: s,
394
395
  title: n
395
- } = t, u = qt(t, Yt), h = i || o.size || "1em", d;
396
- return o.className && (d = o.className), t.className && (d = (d ? d + " " : "") + t.className), /* @__PURE__ */ w.createElement("svg", x({
396
+ } = t, d = oe(t, re), h = s || o.size || "1em", u;
397
+ return o.className && (u = o.className), t.className && (u = (u ? u + " " : "") + t.className), /* @__PURE__ */ y.createElement("svg", R({
397
398
  stroke: "currentColor",
398
399
  fill: "currentColor",
399
400
  strokeWidth: "0"
400
- }, o.attr, a, u, {
401
- className: d,
402
- style: P(P({
401
+ }, o.attr, i, d, {
402
+ className: u,
403
+ style: E(E({
403
404
  color: t.color || o.color
404
405
  }, o.style), t.style),
405
406
  height: h,
406
407
  width: h,
407
408
  xmlns: "http://www.w3.org/2000/svg"
408
- }), n && /* @__PURE__ */ w.createElement("title", null, n), t.children);
409
+ }), n && /* @__PURE__ */ y.createElement("title", null, n), t.children);
409
410
  };
410
- return k !== void 0 ? /* @__PURE__ */ w.createElement(k.Consumer, null, (o) => e(o)) : e(K);
411
+ return V !== void 0 ? /* @__PURE__ */ y.createElement(V.Consumer, null, (o) => e(o)) : e(at);
411
412
  }
412
- function Kt(t) {
413
- return m({ 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);
413
+ function lt(t) {
414
+ return b({ 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);
414
415
  }
415
- function te(t) {
416
- return m({ 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);
416
+ function le(t) {
417
+ return b({ 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);
417
418
  }
418
- function et(t) {
419
- return m({ 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);
419
+ function ht(t) {
420
+ return b({ 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);
420
421
  }
421
- function ee(t) {
422
- return m({ 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);
422
+ function he(t) {
423
+ return b({ 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);
423
424
  }
424
- function re(t) {
425
- return m({ 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);
425
+ function de(t) {
426
+ return b({ 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);
426
427
  }
427
- function rt(t) {
428
- return m({ 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);
428
+ function dt(t) {
429
+ return b({ 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);
429
430
  }
430
- function ot(t) {
431
- return m({ 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);
431
+ function ut(t) {
432
+ return b({ 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);
432
433
  }
433
- function oe(t) {
434
- return m({ 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);
434
+ function ue(t) {
435
+ return b({ 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);
435
436
  }
436
- const ae = "_footer_ge7fx_300", ie = "_top_ge7fx_322", ne = "_highcharts_ge7fx_328", ce = "_logo_ge7fx_337", se = "_youtube_ge7fx_351", le = "_youtubeOverlay_ge7fx_421", he = "_youtubeContent_ge7fx_433", ue = "_charts_ge7fx_450", de = "_chart_ge7fx_450", ge = "_help_ge7fx_466", pe = "_helpWays_ge7fx_474", me = "_helpItem_ge7fx_487", fe = "_helpContent_ge7fx_492", we = "_helpBall_ge7fx_495", ve = "_links_ge7fx_534", be = "_tagged_ge7fx_564", ye = "_norway_ge7fx_568", _e = "_bottom_ge7fx_578", Ce = "_bottomLinks_ge7fx_588", De = "_tabletBottomLeft_ge7fx_596", xe = "_socials_ge7fx_602", s = {
437
- footer: ae,
438
- top: ie,
439
- highcharts: ne,
440
- logo: ce,
441
- youtube: se,
442
- youtubeOverlay: le,
443
- youtubeContent: he,
444
- charts: ue,
445
- chart: de,
446
- help: ge,
447
- helpWays: pe,
448
- helpItem: me,
449
- helpContent: fe,
450
- helpBall: we,
451
- links: ve,
452
- tagged: be,
453
- norway: ye,
454
- bottom: _e,
455
- bottomLinks: Ce,
456
- tabletBottomLeft: De,
457
- socials: xe
437
+ const pe = "_footer_izwsw_321", ge = "_top_izwsw_343", we = "_highcharts_izwsw_349", me = "_logo_izwsw_358", fe = "_youtube_izwsw_372", ve = "_youtubeOverlay_izwsw_442", be = "_youtubeContent_izwsw_454", ye = "_notCharts_izwsw_471", _e = "_newsletter_izwsw_504", Ce = "_discord_izwsw_561", De = "_discordPlus_izwsw_570", Pe = "_discordJoin_izwsw_574", Ne = "_discordMembers_izwsw_578", Oe = "_discordContent_izwsw_601", xe = "_discordAvatars_izwsw_618", ze = "_help_izwsw_649", Se = "_helpWays_izwsw_657", Me = "_helpItem_izwsw_670", Re = "_helpContent_izwsw_675", Ee = "_helpBall_izwsw_678", Ae = "_links_izwsw_717", Ie = "_tagged_izwsw_747", Le = "_norway_izwsw_751", Te = "_bottom_izwsw_761", je = "_bottomLinks_izwsw_771", ke = "_tabletBottomLeft_izwsw_779", Fe = "_socials_izwsw_785", c = {
438
+ footer: pe,
439
+ top: ge,
440
+ highcharts: we,
441
+ logo: me,
442
+ youtube: fe,
443
+ youtubeOverlay: ve,
444
+ youtubeContent: be,
445
+ notCharts: ye,
446
+ newsletter: _e,
447
+ discord: Ce,
448
+ discordPlus: De,
449
+ discordJoin: Pe,
450
+ discordMembers: Ne,
451
+ discordContent: Oe,
452
+ discordAvatars: xe,
453
+ help: ze,
454
+ helpWays: Se,
455
+ helpItem: Me,
456
+ helpContent: Re,
457
+ helpBall: Ee,
458
+ links: Ae,
459
+ tagged: Ie,
460
+ norway: Le,
461
+ bottom: Te,
462
+ bottomLinks: je,
463
+ tabletBottomLeft: ke,
464
+ socials: Fe
458
465
  };
459
466
  function S(t, e) {
460
467
  return e ? t.replace(e, "") : t;
461
468
  }
462
- const Pe = [
469
+ const We = [
463
470
  {
464
- icon: /* @__PURE__ */ r(xt, {}),
471
+ icon: /* @__PURE__ */ r(Lt, {}),
465
472
  subtitle: "Ask tech and sales questions with",
466
473
  title: "Highcharts GPT",
467
474
  url: "https://www.highcharts.com/chat/gpt/"
468
475
  },
469
476
  {
470
- icon: /* @__PURE__ */ r(rt, {}),
477
+ icon: /* @__PURE__ */ r(dt, {}),
471
478
  subtitle: "Search answers on",
472
479
  title: "StackOverflow",
473
480
  url: "https://stackoverflow.com/questions/tagged/highcharts"
474
481
  },
475
482
  {
476
- icon: /* @__PURE__ */ r(et, {}),
483
+ icon: /* @__PURE__ */ r(ht, {}),
477
484
  subtitle: "Report issues on",
478
485
  title: "GitHub",
479
486
  url: "https://github.com/highcharts/highcharts/issues"
480
487
  },
481
488
  {
482
- icon: /* @__PURE__ */ r(Dt, {}),
489
+ icon: /* @__PURE__ */ r(It, {}),
483
490
  subtitle: "Contact sales about",
484
491
  title: "Licensing Options",
485
492
  url: "https://shop.highcharts.com/contact"
486
493
  }
487
- ], Oe = {
494
+ ], Be = {
488
495
  Products: [
489
496
  {
490
497
  title: "Core",
@@ -703,106 +710,136 @@ const Pe = [
703
710
  url: "https://www.highcharts.com/chat/gpt/"
704
711
  }
705
712
  ]
706
- }, Ne = [
713
+ }, He = [
707
714
  {
708
- icon: /* @__PURE__ */ r(rt, {}),
715
+ icon: /* @__PURE__ */ r(dt, {}),
709
716
  url: "https://stackoverflow.com/questions/tagged/highcharts",
710
717
  label: "StackOverlow"
711
718
  },
712
719
  {
713
- icon: /* @__PURE__ */ r(et, {}),
720
+ icon: /* @__PURE__ */ r(ht, {}),
714
721
  url: "https://github.com/highcharts/highcharts",
715
722
  label: "GitHub"
716
723
  },
717
724
  {
718
- icon: /* @__PURE__ */ r(oe, {}),
725
+ icon: /* @__PURE__ */ r(ue, {}),
719
726
  url: "https://twitter.com/Highcharts",
720
727
  label: "X"
721
728
  },
722
729
  {
723
- icon: /* @__PURE__ */ r(te, {}),
730
+ icon: /* @__PURE__ */ r(le, {}),
724
731
  url: "https://www.facebook.com/Highcharts",
725
732
  label: "Facebook"
726
733
  },
727
734
  {
728
- icon: /* @__PURE__ */ r(ee, {}),
735
+ icon: /* @__PURE__ */ r(he, {}),
729
736
  url: "https://www.instagram.com/highcharts",
730
737
  label: "Instagram"
731
738
  },
732
739
  {
733
- icon: /* @__PURE__ */ r(re, {}),
740
+ icon: /* @__PURE__ */ r(de, {}),
734
741
  url: "https://www.linkedin.com/company/highsoft",
735
742
  label: "LinkedIn"
736
743
  },
737
744
  {
738
- icon: /* @__PURE__ */ r(Kt, {}),
745
+ icon: /* @__PURE__ */ r(lt, {}),
739
746
  url: "https://www.highcharts.com/highcharts-discord/",
740
747
  label: "Discord"
741
748
  },
742
749
  {
743
- icon: /* @__PURE__ */ r(ot, {}),
750
+ icon: /* @__PURE__ */ r(ut, {}),
744
751
  url: "https://www.youtube.com/channel/UCzxXofPTQ0DoT7uIy3Fxw7A",
745
752
  label: "Youtube"
746
753
  }
747
754
  ];
748
- function Se() {
749
- const t = _t(), [e, o] = Ct(), a = "npm install highcharts --save";
750
- return /* @__PURE__ */ c(
751
- wt,
752
- {
753
- variant: t === "dark" ? "neutral" : "white",
754
- onClick: () => e(a),
755
- children: [
756
- a,
757
- o ? /* @__PURE__ */ r(mt, {}) : /* @__PURE__ */ r(Pt, {})
758
- ]
759
- }
760
- );
755
+ function Ve() {
756
+ const [t, e] = Et(), o = "npm install highcharts --save";
757
+ return /* @__PURE__ */ a($, { variant: "neutral", onClick: () => t(o), children: [
758
+ o,
759
+ e ? /* @__PURE__ */ r(xt, {}) : /* @__PURE__ */ r(At, {})
760
+ ] });
761
761
  }
762
- function We({
762
+ function or({
763
763
  link: t = "a",
764
764
  host: e = "https://www.highcharts.com"
765
765
  }) {
766
- const o = T("(max-width: 849px)"), a = T("(min-width: 850px) and (max-width: 999px)"), i = /* @__PURE__ */ c(_, { children: [
767
- /* @__PURE__ */ c("span", { children: [
766
+ const o = gt(null), [i, s] = B(0), [n, d] = B(), h = H("(max-width: 849px)"), u = H("(min-width: 850px) and (max-width: 999px)");
767
+ wt(() => {
768
+ if (o.current) {
769
+ const p = async () => {
770
+ try {
771
+ return (await (await fetch(
772
+ "https://discord.com/api/v9/invites/xHxxcyyy6K?with_counts=true"
773
+ )).json())?.approximate_member_count || 0;
774
+ } catch {
775
+ return 0;
776
+ }
777
+ }, f = async () => {
778
+ try {
779
+ const m = await (await fetch(
780
+ "https://discord.com/api/guilds/1318933807059042305/widget.json"
781
+ )).json() || {};
782
+ return m.members = m.members || [], m;
783
+ } catch {
784
+ }
785
+ }, v = new IntersectionObserver(
786
+ async (w) => {
787
+ if (w[0].isIntersecting) {
788
+ v.disconnect();
789
+ const [m, N] = await Promise.all([
790
+ p(),
791
+ f()
792
+ ]);
793
+ s(m), d(N);
794
+ }
795
+ },
796
+ { rootMargin: "100px" }
797
+ );
798
+ return v.observe(o.current), () => v.disconnect();
799
+ }
800
+ }, [o.current]);
801
+ const P = (p) => {
802
+ p.preventDefault();
803
+ }, C = /* @__PURE__ */ a(O, { children: [
804
+ /* @__PURE__ */ a("span", { children: [
768
805
  "© ",
769
806
  (/* @__PURE__ */ new Date()).getFullYear(),
770
807
  " Highsoft. All rights reserved."
771
808
  ] }),
772
- /* @__PURE__ */ c("div", { className: s.bottomLinks, children: [
809
+ /* @__PURE__ */ a("div", { className: c.bottomLinks, children: [
773
810
  /* @__PURE__ */ r(t, { href: "#", children: "Privacy & Legal Policies" }),
774
811
  /* @__PURE__ */ r(t, { href: "#", children: "Accessibility Statement" }),
775
812
  /* @__PURE__ */ r(t, { href: "#", children: "Sitemap" })
776
813
  ] })
777
- ] }), n = /* @__PURE__ */ r("ul", { className: s.socials, children: Ne.map(({ icon: u, url: h, label: d }, p) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r("a", { href: h, "aria-label": d, children: u }) }, p)) });
778
- return /* @__PURE__ */ c(vt, { as: "footer", className: s.footer, children: [
779
- /* @__PURE__ */ c("div", { className: s.top, children: [
780
- /* @__PURE__ */ c("div", { className: s.highcharts, children: [
814
+ ] }), z = /* @__PURE__ */ r("ul", { className: c.socials, children: He.map(({ icon: p, url: f, label: v }, w) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r("a", { href: f, "aria-label": v, children: p }) }, w)) });
815
+ return /* @__PURE__ */ a(St, { as: "footer", className: c.footer, children: [
816
+ /* @__PURE__ */ a("div", { className: c.top, children: [
817
+ /* @__PURE__ */ a("div", { className: c.highcharts, children: [
781
818
  /* @__PURE__ */ r(
782
819
  t,
783
820
  {
784
- className: s.logo,
821
+ className: c.logo,
785
822
  href: S("https://www.highcharts.com/", e),
786
- children: /* @__PURE__ */ r(bt, {})
823
+ children: /* @__PURE__ */ r(Mt, {})
787
824
  }
788
825
  ),
789
826
  /* @__PURE__ */ r("p", { children: "We make it easy for developers to create charts and dashboards for web and mobile platforms." }),
790
- /* @__PURE__ */ r(Se, {})
827
+ /* @__PURE__ */ r(Ve, {})
791
828
  ] }),
792
- /* @__PURE__ */ c(Bt, { children: [
793
- /* @__PURE__ */ r(Wt, { asChild: !0, children: /* @__PURE__ */ c("button", { className: s.youtube, children: [
794
- /* @__PURE__ */ r(ot, {}),
829
+ /* @__PURE__ */ a(Kt, { children: [
830
+ /* @__PURE__ */ r(Xt, { asChild: !0, children: /* @__PURE__ */ a("button", { className: c.youtube, children: [
831
+ /* @__PURE__ */ r(ut, {}),
795
832
  /* @__PURE__ */ r("p", { children: "Meet the team behind the charts" })
796
833
  ] }) }),
797
- /* @__PURE__ */ c(Ht, { children: [
798
- /* @__PURE__ */ r(Vt, { className: s.youtubeOverlay }),
799
- /* @__PURE__ */ c(
800
- Gt,
834
+ /* @__PURE__ */ a(Zt, { children: [
835
+ /* @__PURE__ */ r(Qt, { className: c.youtubeOverlay }),
836
+ /* @__PURE__ */ a(
837
+ te,
801
838
  {
802
- className: s.youtubeContent,
839
+ className: c.youtubeContent,
803
840
  "aria-describedby": void 0,
804
841
  children: [
805
- /* @__PURE__ */ r(St, { asChild: !0, children: /* @__PURE__ */ r($t, { children: "Video: Meet the team behind the charts" }) }),
842
+ /* @__PURE__ */ r(kt, { asChild: !0, children: /* @__PURE__ */ r(ee, { children: "Video: Meet the team behind the charts" }) }),
806
843
  /* @__PURE__ */ r(
807
844
  "iframe",
808
845
  {
@@ -818,53 +855,97 @@ function We({
818
855
  )
819
856
  ] })
820
857
  ] }),
821
- /* @__PURE__ */ c("div", { className: s.charts, children: [
822
- /* @__PURE__ */ r("div", { className: s.chart }),
823
- /* @__PURE__ */ r("div", { className: s.chart }),
824
- /* @__PURE__ */ r("div", { className: s.chart })
858
+ /* @__PURE__ */ a("div", { className: c.notCharts, children: [
859
+ /* @__PURE__ */ a("div", { className: c.newsletter, children: [
860
+ /* @__PURE__ */ a("h2", { children: [
861
+ /* @__PURE__ */ r(mt, {}),
862
+ "Stay in the Loop"
863
+ ] }),
864
+ /* @__PURE__ */ a("form", { onSubmit: P, children: [
865
+ /* @__PURE__ */ r("input", { placeholder: "Email address" }),
866
+ /* @__PURE__ */ r($, { variant: "brand", children: "Sign up" })
867
+ ] }),
868
+ /* @__PURE__ */ a("p", { children: [
869
+ "By signing up, you agree to the",
870
+ " ",
871
+ /* @__PURE__ */ r(t, { href: S("https://www.highcharts.com/", e), children: "Privacy Policy" })
872
+ ] })
873
+ ] }),
874
+ /* @__PURE__ */ a(
875
+ "a",
876
+ {
877
+ className: c.discord,
878
+ href: "https://discord.com/invite/xHxxcyyy6K",
879
+ ref: o,
880
+ children: [
881
+ /* @__PURE__ */ a("h2", { children: [
882
+ /* @__PURE__ */ r(lt, {}),
883
+ "Discord ",
884
+ /* @__PURE__ */ r("span", { children: "/ Total" })
885
+ ] }),
886
+ /* @__PURE__ */ a("p", { className: c.discordContent, children: [
887
+ /* @__PURE__ */ r("span", { className: c.discordJoin, children: "Join us" }),
888
+ " ",
889
+ !!i && /* @__PURE__ */ a("span", { className: c.discordMembers, children: [
890
+ i,
891
+ " members"
892
+ ] })
893
+ ] }),
894
+ /* @__PURE__ */ a("ul", { className: c.discordAvatars, children: [
895
+ n?.members.slice(0, 5).map(
896
+ ({
897
+ //status,
898
+ avatar_url: p
899
+ }, f) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r("img", { src: p }) }, f)
900
+ ),
901
+ /* @__PURE__ */ r("li", { className: c.discordPlus, children: "+" })
902
+ ] })
903
+ ]
904
+ }
905
+ )
825
906
  ] })
826
907
  ] }),
827
- /* @__PURE__ */ c("div", { className: s.help, children: [
828
- /* @__PURE__ */ c("div", { className: s.helpWays, children: [
908
+ /* @__PURE__ */ a("div", { className: c.help, children: [
909
+ /* @__PURE__ */ a("div", { className: c.helpWays, children: [
829
910
  /* @__PURE__ */ r("span", { children: "Ways to get help" }),
830
- /* @__PURE__ */ c("p", { children: [
911
+ /* @__PURE__ */ a("p", { children: [
831
912
  "We operate in CET",
832
- o ? " " : /* @__PURE__ */ r("br", {}),
913
+ h ? " " : /* @__PURE__ */ r("br", {}),
833
914
  "Monday - Friday"
834
915
  ] })
835
916
  ] }),
836
- Pe.map(({ icon: u, subtitle: h, title: d, url: p }, f) => /* @__PURE__ */ c(
917
+ We.map(({ icon: p, subtitle: f, title: v, url: w }, m) => /* @__PURE__ */ a(
837
918
  t,
838
919
  {
839
- href: S(p, e),
840
- className: s.helpItem,
920
+ href: S(w, e),
921
+ className: c.helpItem,
841
922
  children: [
842
- /* @__PURE__ */ r("div", { className: s.helpBall, children: u }),
843
- /* @__PURE__ */ c("div", { className: s.helpContent, children: [
844
- /* @__PURE__ */ r("span", { children: h }),
845
- /* @__PURE__ */ r("span", { children: d })
923
+ /* @__PURE__ */ r("div", { className: c.helpBall, children: p }),
924
+ /* @__PURE__ */ a("div", { className: c.helpContent, children: [
925
+ /* @__PURE__ */ r("span", { children: f }),
926
+ /* @__PURE__ */ r("span", { children: v })
846
927
  ] })
847
928
  ]
848
929
  },
849
- f
930
+ m
850
931
  ))
851
932
  ] }),
852
- /* @__PURE__ */ c("div", { className: s.links, children: [
853
- Object.entries(Oe).map(([u, h], d) => /* @__PURE__ */ c("div", { children: [
854
- /* @__PURE__ */ r("h2", { children: u }),
855
- /* @__PURE__ */ r("ul", { children: h.map(({ title: p, url: f, tag: y }, at) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ c(
933
+ /* @__PURE__ */ a("div", { className: c.links, children: [
934
+ Object.entries(Be).map(([p, f], v) => /* @__PURE__ */ a("div", { children: [
935
+ /* @__PURE__ */ r("h2", { children: p }),
936
+ /* @__PURE__ */ r("ul", { children: f.map(({ title: w, url: m, tag: N }, pt) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ a(
856
937
  t,
857
938
  {
858
- href: S(f, e),
859
- className: ft({ [s.tagged]: y }),
939
+ href: S(m, e),
940
+ className: zt({ [c.tagged]: N }),
860
941
  children: [
861
- y ? /* @__PURE__ */ r("span", { children: p }) : p,
862
- y && /* @__PURE__ */ r(yt, { variant: "brand", icon: !1, border: !0 })
942
+ N ? /* @__PURE__ */ r("span", { children: w }) : w,
943
+ N && /* @__PURE__ */ r(Rt, { variant: "brand", icon: !1, border: !0 })
863
944
  ]
864
945
  }
865
- ) }, at)) })
866
- ] }, d)),
867
- /* @__PURE__ */ r("div", { className: s.norway, children: /* @__PURE__ */ r(
946
+ ) }, pt)) })
947
+ ] }, v)),
948
+ /* @__PURE__ */ r("div", { className: c.norway, children: /* @__PURE__ */ r(
868
949
  "img",
869
950
  {
870
951
  src: "https://businessnorway.com/images/made-in-norway-logo.png",
@@ -872,15 +953,15 @@ function We({
872
953
  }
873
954
  ) })
874
955
  ] }),
875
- /* @__PURE__ */ r("div", { className: s.bottom, children: a ? /* @__PURE__ */ c(_, { children: [
876
- /* @__PURE__ */ r("div", { className: s.tabletBottomLeft, children: i }),
877
- n
878
- ] }) : /* @__PURE__ */ c(_, { children: [
879
- i,
880
- n
956
+ /* @__PURE__ */ r("div", { className: c.bottom, children: u ? /* @__PURE__ */ a(O, { children: [
957
+ /* @__PURE__ */ r("div", { className: c.tabletBottomLeft, children: C }),
958
+ z
959
+ ] }) : /* @__PURE__ */ a(O, { children: [
960
+ C,
961
+ z
881
962
  ] }) })
882
963
  ] });
883
964
  }
884
965
  export {
885
- We as Footer
966
+ or as Footer
886
967
  };