quirk-ui 0.1.90 → 0.1.92

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.
@@ -0,0 +1 @@
1
+ "use strict";require('./NavLink.css');const o=require("react/jsx-runtime"),d=require("react"),h=require("./external-link-DDShu-48.cjs"),p=require("./chevron-down-DfK1XBl3.cjs"),k="_navbar_v1562_1",f="_sticky_v1562_15",I="_left_v1562_31",C="_container_v1562_32",M="_logo_v1562_36",w="_nav_v1562_1",y="_center_v1562_51",x="_hidden_v1562_59",T="_visible_v1562_66",N="_right_v1562_81",j="_title_v1562_88",S="_linkWrapper_v1562_98",W="_parent_v1562_98",$="_linkItem_v1562_105",D="_link_v1562_98",L="_search_v1562_111",E="_locale_v1562_112",F="_themeToggle_v1562_113",q="_sublinkToggle_v1562_114",R="_standard_v1562_165",B="_triangle_v1562_173",z="_twoColumn_v1562_202",A="_mobileButtons_v1562_211",G="_menuToggle_v1562_289",H="_utilityMobile_v1562_307",J="_utility_v1562_307",K="_navInner_v1562_335",Q="_grid_v1562_346",U="_searchModal_v1562_369",V="_localeModal_v1562_370",X="_separator_v1562_390",Y="_newTabIcon_v1562_423",Z="_sublinksDescription_v1562_436",O="_linkContent_v1562_439",P="_open_v1562_452",nn="_back_v1562_476",en="_sublinks_v1562_436",on="_show_v1562_525",tn="_primaryColumn_v1562_574",sn="_secondaryColumn_v1562_583",_n="_spotlightColumn_v1562_587",ln="_sublinksInner_v1562_591",rn="_sublinksColumn_v1562_610",cn="_chevron_v1562_620",an="_menubar_v1562_632",un="_toolbar_v1562_636",vn="_advanced_v1562_828",dn="_subtitle_v1562_837",mn="_withSpotlight_v1562_879",bn="_withoutSpotlight_v1562_883",gn="_transparent_v1562_921",hn="_groupDivider_v1562_1032",pn="_searchWrapper_v1562_1040",kn="_mobileMenu_v1562_1047",fn="_mobileMenuSlide_v1562_1048",In="_mobileMenuItem_v1562_1058",Cn="_fadeInFromLeft_v1562_1062",Mn="_fadeInFromRight_v1562_1066",wn="_spotlight_v1562_587",yn="_imageWrapper_v1562_1076",xn="_content_v1562_1098",Tn="_description_v1562_1113",Nn="_actions_v1562_1117",e={navbar:k,sticky:f,left:I,container:C,logo:M,nav:w,center:y,hidden:x,visible:T,right:N,title:j,linkWrapper:S,parent:W,linkItem:$,link:D,search:L,locale:E,themeToggle:F,sublinkToggle:q,standard:R,triangle:B,twoColumn:z,mobileButtons:A,menuToggle:G,utilityMobile:H,utility:J,navInner:K,grid:Q,searchModal:U,localeModal:V,separator:X,newTabIcon:Y,sublinksDescription:Z,linkContent:O,open:P,back:nn,sublinks:en,show:on,primaryColumn:tn,secondaryColumn:sn,spotlightColumn:_n,sublinksInner:ln,sublinksColumn:rn,chevron:cn,menubar:an,toolbar:un,default:"_default_v1562_759",advanced:vn,subtitle:dn,withSpotlight:mn,withoutSpotlight:bn,transparent:gn,groupDivider:hn,searchWrapper:pn,mobileMenu:kn,mobileMenuSlide:fn,mobileMenuItem:In,fadeInFromLeft:Cn,fadeInFromRight:Mn,spotlight:wn,imageWrapper:yn,content:xn,description:Tn,actions:Nn};function jn({link:n,path:t,parentPath:r,openPath:m,togglePath:c,updateTriangleIndicator:b,setOpenPath:_,renderLinks:g,buttonRefs:i}){var u;const l=m===t,s=!!((u=n.sublinks)!=null&&u.length),a=d.useRef(null);return d.useEffect(()=>(i.current.set(t,a.current),()=>{i.current.delete(t)}),[t,i]),o.jsxs("div",{role:"menuitem",className:`${e.linkWrapper} ${r?"":e.parent}`,children:[o.jsx("div",{className:e.linkItem,children:n.href?o.jsxs("a",{href:n.href,className:e.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,onClick:()=>{var v;_(null),(v=n.onClick)==null||v.call(n)},onMouseEnter:()=>{r||_(null)},children:[n.label,n.isExternal&&o.jsx(h.ExternalLink,{className:e.newTabIcon,size:16,"aria-hidden":"true"})]}):o.jsxs("button",{ref:a,"aria-haspopup":s?!0:void 0,"aria-expanded":s?l:void 0,className:`${e.sublinkToggle} ${l?e.open:""}`,onClick:()=>c(t),onMouseEnter:()=>{b(t),_(t)},children:[n.label,s&&o.jsx(p.ChevronDown,{size:18,className:e.chevron,"aria-hidden":"true"})]})}),s&&o.jsx("div",{className:`${e.sublinks} ${l?e.show:""}`,onMouseLeave:()=>c(t),role:"menu","aria-label":`${n.label} submenu`,children:o.jsx("div",{children:o.jsx("div",{className:e.sublinksInner,children:o.jsx("div",{className:e.sublinksColumn,children:g(n.sublinks,t)})})})})]})}exports.NavLink=jn;exports.styles=e;
@@ -0,0 +1,159 @@
1
+ import { jsxs as r, jsx as t } from "react/jsx-runtime";
2
+ import { useRef as g, useEffect as h } from "react";
3
+ import { E as k } from "./external-link-BOPobeQJ.js";
4
+ import { C as f } from "./chevron-down-DSUzBz9F.js";
5
+ import './NavLink.css';const C = "_navbar_v1562_1", I = "_sticky_v1562_15", M = "_left_v1562_31", w = "_container_v1562_32", y = "_logo_v1562_36", T = "_nav_v1562_1", N = "_center_v1562_51", S = "_hidden_v1562_59", W = "_visible_v1562_66", x = "_right_v1562_81", E = "_title_v1562_88", D = "_linkWrapper_v1562_98", $ = "_parent_v1562_98", F = "_linkItem_v1562_105", L = "_link_v1562_98", B = "_search_v1562_111", R = "_locale_v1562_112", j = "_themeToggle_v1562_113", z = "_sublinkToggle_v1562_114", q = "_standard_v1562_165", A = "_triangle_v1562_173", G = "_twoColumn_v1562_202", H = "_mobileButtons_v1562_211", J = "_menuToggle_v1562_289", K = "_utilityMobile_v1562_307", Q = "_utility_v1562_307", U = "_navInner_v1562_335", V = "_grid_v1562_346", X = "_searchModal_v1562_369", Y = "_localeModal_v1562_370", Z = "_separator_v1562_390", O = "_newTabIcon_v1562_423", P = "_sublinksDescription_v1562_436", nn = "_linkContent_v1562_439", en = "_open_v1562_452", on = "_back_v1562_476", tn = "_sublinks_v1562_436", sn = "_show_v1562_525", _n = "_primaryColumn_v1562_574", ln = "_secondaryColumn_v1562_583", rn = "_spotlightColumn_v1562_587", an = "_sublinksInner_v1562_591", cn = "_sublinksColumn_v1562_610", vn = "_chevron_v1562_620", un = "_menubar_v1562_632", mn = "_toolbar_v1562_636", dn = "_advanced_v1562_828", bn = "_subtitle_v1562_837", pn = "_withSpotlight_v1562_879", gn = "_withoutSpotlight_v1562_883", hn = "_transparent_v1562_921", kn = "_groupDivider_v1562_1032", fn = "_searchWrapper_v1562_1040", Cn = "_mobileMenu_v1562_1047", In = "_mobileMenuSlide_v1562_1048", Mn = "_mobileMenuItem_v1562_1058", wn = "_fadeInFromLeft_v1562_1062", yn = "_fadeInFromRight_v1562_1066", Tn = "_spotlight_v1562_587", Nn = "_imageWrapper_v1562_1076", Sn = "_content_v1562_1098", Wn = "_description_v1562_1113", xn = "_actions_v1562_1117", e = {
6
+ navbar: C,
7
+ sticky: I,
8
+ left: M,
9
+ container: w,
10
+ logo: y,
11
+ nav: T,
12
+ center: N,
13
+ hidden: S,
14
+ visible: W,
15
+ right: x,
16
+ title: E,
17
+ linkWrapper: D,
18
+ parent: $,
19
+ linkItem: F,
20
+ link: L,
21
+ search: B,
22
+ locale: R,
23
+ themeToggle: j,
24
+ sublinkToggle: z,
25
+ standard: q,
26
+ triangle: A,
27
+ twoColumn: G,
28
+ mobileButtons: H,
29
+ menuToggle: J,
30
+ utilityMobile: K,
31
+ utility: Q,
32
+ navInner: U,
33
+ grid: V,
34
+ searchModal: X,
35
+ localeModal: Y,
36
+ separator: Z,
37
+ newTabIcon: O,
38
+ sublinksDescription: P,
39
+ linkContent: nn,
40
+ open: en,
41
+ back: on,
42
+ sublinks: tn,
43
+ show: sn,
44
+ primaryColumn: _n,
45
+ secondaryColumn: ln,
46
+ spotlightColumn: rn,
47
+ sublinksInner: an,
48
+ sublinksColumn: cn,
49
+ chevron: vn,
50
+ menubar: un,
51
+ toolbar: mn,
52
+ default: "_default_v1562_759",
53
+ advanced: dn,
54
+ subtitle: bn,
55
+ withSpotlight: pn,
56
+ withoutSpotlight: gn,
57
+ transparent: hn,
58
+ groupDivider: kn,
59
+ searchWrapper: fn,
60
+ mobileMenu: Cn,
61
+ mobileMenuSlide: In,
62
+ mobileMenuItem: Mn,
63
+ fadeInFromLeft: wn,
64
+ fadeInFromRight: yn,
65
+ spotlight: Tn,
66
+ imageWrapper: Nn,
67
+ content: Sn,
68
+ description: Wn,
69
+ actions: xn
70
+ };
71
+ function Ln({
72
+ link: n,
73
+ path: o,
74
+ parentPath: a,
75
+ openPath: d,
76
+ togglePath: c,
77
+ updateTriangleIndicator: b,
78
+ setOpenPath: _,
79
+ renderLinks: p,
80
+ buttonRefs: i
81
+ }) {
82
+ var u;
83
+ const l = d === o, s = !!((u = n.sublinks) != null && u.length), v = g(null);
84
+ return h(() => (i.current.set(o, v.current), () => {
85
+ i.current.delete(o);
86
+ }), [o, i]), /* @__PURE__ */ r(
87
+ "div",
88
+ {
89
+ role: "menuitem",
90
+ className: `${e.linkWrapper} ${a ? "" : e.parent}`,
91
+ children: [
92
+ /* @__PURE__ */ t("div", { className: e.linkItem, children: n.href ? /* @__PURE__ */ r(
93
+ "a",
94
+ {
95
+ href: n.href,
96
+ className: e.link,
97
+ target: n.isExternal ? "_blank" : "_self",
98
+ rel: n.isExternal ? "noopener noreferrer" : void 0,
99
+ onClick: () => {
100
+ var m;
101
+ _(null), (m = n.onClick) == null || m.call(n);
102
+ },
103
+ onMouseEnter: () => {
104
+ a || _(null);
105
+ },
106
+ children: [
107
+ n.label,
108
+ n.isExternal && /* @__PURE__ */ t(
109
+ k,
110
+ {
111
+ className: e.newTabIcon,
112
+ size: 16,
113
+ "aria-hidden": "true"
114
+ }
115
+ )
116
+ ]
117
+ }
118
+ ) : /* @__PURE__ */ r(
119
+ "button",
120
+ {
121
+ ref: v,
122
+ "aria-haspopup": s ? !0 : void 0,
123
+ "aria-expanded": s ? l : void 0,
124
+ className: `${e.sublinkToggle} ${l ? e.open : ""}`,
125
+ onClick: () => c(o),
126
+ onMouseEnter: () => {
127
+ b(o), _(o);
128
+ },
129
+ children: [
130
+ n.label,
131
+ s && /* @__PURE__ */ t(
132
+ f,
133
+ {
134
+ size: 18,
135
+ className: e.chevron,
136
+ "aria-hidden": "true"
137
+ }
138
+ )
139
+ ]
140
+ }
141
+ ) }),
142
+ s && /* @__PURE__ */ t(
143
+ "div",
144
+ {
145
+ className: `${e.sublinks} ${l ? e.show : ""}`,
146
+ onMouseLeave: () => c(o),
147
+ role: "menu",
148
+ "aria-label": `${n.label} submenu`,
149
+ children: /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("div", { className: e.sublinksInner, children: /* @__PURE__ */ t("div", { className: e.sublinksColumn, children: p(n.sublinks, o) }) }) })
150
+ }
151
+ )
152
+ ]
153
+ }
154
+ );
155
+ }
156
+ export {
157
+ Ln as N,
158
+ e as s
159
+ };
package/dist/NavLink.css CHANGED
@@ -1 +1 @@
1
- ._navbar_9kqkw_1{position:relative;z-index:1000}._sticky_9kqkw_15{position:fixed;top:0;left:0;right:0;z-index:1000;width:100%}._left_9kqkw_31 ._container_9kqkw_32{justify-content:flex-start}._left_9kqkw_31 ._logo_9kqkw_36{flex:unset}._left_9kqkw_31 ._nav_9kqkw_1{flex:1}@media (max-width: 767px){._left_9kqkw_31 ._logo_9kqkw_36{flex:1}}._center_9kqkw_51 ._nav_9kqkw_1{transition:transform .3s ease-in-out,opacity .3s ease-in-out;will-change:transform,opacity}._center_9kqkw_51 ._nav_9kqkw_1._hidden_9kqkw_59{transform:translateY(-100%);opacity:0;pointer-events:none}@media (min-width: 768px){._center_9kqkw_51 ._nav_9kqkw_1._visible_9kqkw_66{transform:translateY(0);opacity:1;pointer-events:auto}}@media (max-width: 767px){._center_9kqkw_51 ._logo_9kqkw_36{flex:1}}._right_9kqkw_81 ._container_9kqkw_32{justify-content:flex-end}@media (max-width: 767px){._right_9kqkw_81 ._logo_9kqkw_36,._right_9kqkw_81 ._title_9kqkw_88{flex:1}}._right_9kqkw_81 ._nav_9kqkw_1{flex:1}._linkWrapper_9kqkw_98._parent_9kqkw_98{overflow:visible;position:relative}@media (min-width: 768px){._linkWrapper_9kqkw_98._parent_9kqkw_98:first-of-type>._linkItem_9kqkw_105{border-top-left-radius:var(--radius-full);border-bottom-left-radius:var(--radius-full);overflow:hidden}._linkWrapper_9kqkw_98._parent_9kqkw_98:first-of-type>._linkItem_9kqkw_105 ._link_9kqkw_98,._linkWrapper_9kqkw_98._parent_9kqkw_98:first-of-type>._linkItem_9kqkw_105 ._search_9kqkw_111,._linkWrapper_9kqkw_98._parent_9kqkw_98:first-of-type>._linkItem_9kqkw_105 ._locale_9kqkw_112,._linkWrapper_9kqkw_98._parent_9kqkw_98:first-of-type>._linkItem_9kqkw_105._themeToggle_9kqkw_113 button,._linkWrapper_9kqkw_98._parent_9kqkw_98:first-of-type>._linkItem_9kqkw_105 ._sublinkToggle_9kqkw_114{padding-left:var(--spacing-md)}}@media (min-width: 768px){._linkWrapper_9kqkw_98._parent_9kqkw_98:last-of-type>._linkItem_9kqkw_105{border-top-right-radius:var(--radius-full);border-bottom-right-radius:var(--radius-full);overflow:hidden}._linkWrapper_9kqkw_98._parent_9kqkw_98:last-of-type>._linkItem_9kqkw_105 ._link_9kqkw_98,._linkWrapper_9kqkw_98._parent_9kqkw_98:last-of-type>._linkItem_9kqkw_105 ._search_9kqkw_111,._linkWrapper_9kqkw_98._parent_9kqkw_98:last-of-type>._linkItem_9kqkw_105 ._locale_9kqkw_112,._linkWrapper_9kqkw_98._parent_9kqkw_98:last-of-type>._linkItem_9kqkw_105._themeToggle_9kqkw_113 button,._linkWrapper_9kqkw_98._parent_9kqkw_98:last-of-type>._linkItem_9kqkw_105 ._sublinkToggle_9kqkw_114{padding-right:var(--spacing-md)}}._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._sublinkToggle_9kqkw_114,._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._link_9kqkw_98{height:40px}@media (min-width: 768px){._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._link_9kqkw_98,._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._search_9kqkw_111,._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._locale_9kqkw_112,._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105._themeToggle_9kqkw_113 button,._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._sublinkToggle_9kqkw_114{opacity:1;visibility:visible;transition:background-color .3s ease-in-out;color:var(--color-secondary-100)}._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._link_9kqkw_98:hover,._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._search_9kqkw_111:hover,._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._locale_9kqkw_112:hover,._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105._themeToggle_9kqkw_113 button:hover,._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._sublinkToggle_9kqkw_114:hover{color:var(--color-secondary-100);background-color:rgba(var(--color-primary-rgb),.25)}}._standard_9kqkw_165{left:0;background-color:var(--color-background)}._standard_9kqkw_165 ._linkWrapper_9kqkw_98{position:relative}._standard_9kqkw_165 ._triangle_9kqkw_173{display:none}._container_9kqkw_32{display:grid;align-items:center;grid-template-areas:"first second third";grid-template-columns:minmax(auto,1fr) auto minmax(auto,1fr);grid-gap:var(--spacing-md);width:100%;max-width:var(--layout-width);height:100%;min-height:65px;margin:0 auto;padding:var(--spacing-md) var(--spacing-lg);position:relative}@media (max-width: 767px){._container_9kqkw_32{grid-template-columns:1fr max-content max-content max-content;grid-template-areas:"first third fourth fifth";grid-gap:var(--spacing-sm)}}._container_9kqkw_32._twoColumn_9kqkw_202{grid-template-columns:minmax(auto,1fr) auto;grid-template-areas:"first second"}@media (max-width: 767px){._container_9kqkw_32._twoColumn_9kqkw_202{display:flex}}._mobileButtons_9kqkw_211{display:none}@media (max-width: 767px){._mobileButtons_9kqkw_211{display:flex;align-items:center;gap:var(--spacing-lg);grid-area:fifth}._mobileButtons_9kqkw_211 ._linkWrapper_9kqkw_98{padding:0}}._mobileButtons_9kqkw_211 ._search_9kqkw_111{padding:0;width:unset}._title_9kqkw_88{grid-area:first;color:var(--color-text-primary);font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);z-index:1005}._logo_9kqkw_36{grid-area:first;font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);color:var(--color-primary-100);display:flex;align-items:center;justify-content:flex-start;position:relative;z-index:1005}._logo_9kqkw_36 a{display:flex;align-items:center;justify-content:flex-start}._logo_9kqkw_36 img{height:auto;width:auto}@media (max-width: 767px){._logo_9kqkw_36 img{max-width:120px}}._search_9kqkw_111,._locale_9kqkw_112,._themeToggle_9kqkw_113 button{background:none;border:none;cursor:pointer;display:none;color:var(--color-secondary-100);z-index:1100;position:relative;width:40px}._search_9kqkw_111 svg,._locale_9kqkw_112 svg,._themeToggle_9kqkw_113 button svg{position:relative;z-index:5}._menuToggle_9kqkw_289{grid-area:fifth;background:none;border:none;cursor:pointer;display:none;color:var(--color-secondary-100);z-index:1100;position:relative}._menuToggle_9kqkw_289 svg{position:relative;z-index:5}._utilityMobile_9kqkw_307{display:none;grid-area:third;justify-content:flex-end}._utility_9kqkw_307{grid-area:third;display:flex;justify-content:flex-end}._utility_9kqkw_307 a{font-size:var(--font-size-sm)}._nav_9kqkw_1{grid-area:second;display:grid;grid-template-columns:minmax(auto,1fr) auto;transition:transform .3s ease}@media (max-width: 767px){._nav_9kqkw_1{height:100vh}}._navInner_9kqkw_335{position:relative}@media (max-width: 767px){._navInner_9kqkw_335{padding:0 var(--spacing-md);margin:var(--spacing-xl) auto 0;max-width:400px;width:100%}}._grid_9kqkw_346{display:grid;align-items:center;grid-auto-flow:column}@media (max-width: 767px){._grid_9kqkw_346{display:flex;flex-direction:column}._grid_9kqkw_346 ._linkWrapper_9kqkw_98{padding:var(--spacing-sm) 0}}._linkItem_9kqkw_105{display:flex;align-items:center;box-sizing:border-box}.modalContentContainer:has(._searchModal_9kqkw_369),.modalContentContainer:has(._localeModal_9kqkw_370){align-self:flex-start;top:2rem}._searchModal_9kqkw_369,._localeModal_9kqkw_370{padding:0!important;max-height:80dvh;overflow:hidden}._searchModal_9kqkw_369 .modalClose,._localeModal_9kqkw_370 .modalClose{display:none}._searchModal_9kqkw_369 .modalContent,._localeModal_9kqkw_370 .modalContent{margin-top:0}._separator_9kqkw_390{display:flex;align-items:center;justify-content:center;height:1px;width:100%;max-width:300px;background:var(--color-border)}._navTitle_9kqkw_400,._sublinkToggle_9kqkw_114,._search_9kqkw_111,._locale_9kqkw_112,._themeToggle_9kqkw_113 button,._link_9kqkw_98{text-decoration:none;color:var(--color-secondary-100);background-color:transparent;border:none;padding:var(--spacing-sm);transition:color .3s ease-in-out;font-family:inherit;font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm);box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:var(--spacing-xs)}._navTitle_9kqkw_400 ._newTabIcon_9kqkw_423,._sublinkToggle_9kqkw_114 ._newTabIcon_9kqkw_423,._search_9kqkw_111 ._newTabIcon_9kqkw_423,._locale_9kqkw_112 ._newTabIcon_9kqkw_423,._themeToggle_9kqkw_113 button ._newTabIcon_9kqkw_423,._link_9kqkw_98 ._newTabIcon_9kqkw_423{color:var(--color-secondary-75);transition:color .3s ease-in-out}._search_9kqkw_111,._locale_9kqkw_112,._themeToggle_9kqkw_113 button{justify-content:center}@media (min-width: 768px){._navTitle_9kqkw_400,._sublinksDescription_9kqkw_436,._link_9kqkw_98,._sublinkToggle_9kqkw_114,._link_9kqkw_98 ._linkContent_9kqkw_439,._sublinkToggle_9kqkw_114 ._linkContent_9kqkw_439{opacity:0;visibility:hidden;transition:color .3s ease-in-out,opacity .3s ease-in-out,visibility .3s ease-in-out}}._link_9kqkw_98:hover,._link_9kqkw_98._open_9kqkw_452,._search_9kqkw_111:hover,._sublinkToggle_9kqkw_114:hover,._sublinkToggle_9kqkw_114._open_9kqkw_452,._link_9kqkw_98:hover ._newTabIcon_9kqkw_423,._link_9kqkw_98._open_9kqkw_452 ._newTabIcon_9kqkw_423,._search_9kqkw_111:hover ._newTabIcon_9kqkw_423,._sublinkToggle_9kqkw_114:hover ._newTabIcon_9kqkw_423,._sublinkToggle_9kqkw_114._open_9kqkw_452 ._newTabIcon_9kqkw_423{color:var(--color-primary-100)}@media (max-width: 767px){._link_9kqkw_98:hover,._link_9kqkw_98._open_9kqkw_452,._search_9kqkw_111:hover,._sublinkToggle_9kqkw_114:hover,._sublinkToggle_9kqkw_114._open_9kqkw_452{color:var(--color-secondary-100)}._link_9kqkw_98:hover ._newTabIcon_9kqkw_423,._link_9kqkw_98._open_9kqkw_452 ._newTabIcon_9kqkw_423,._search_9kqkw_111:hover ._newTabIcon_9kqkw_423,._sublinkToggle_9kqkw_114:hover ._newTabIcon_9kqkw_423,._sublinkToggle_9kqkw_114._open_9kqkw_452 ._newTabIcon_9kqkw_423{color:var(--color-secondary-100)}}._navItem_9kqkw_471:hover{color:var(--color-primary-100)}._sublinkToggle_9kqkw_114,._back_9kqkw_476{background:none;border:none;display:flex;align-items:center;cursor:pointer;color:var(--color-secondary-100)}._sublinkToggle_9kqkw_114:hover,._sublinkToggle_9kqkw_114._open_9kqkw_452,._back_9kqkw_476:hover,._back_9kqkw_476._open_9kqkw_452{color:var(--color-primary-100)}._sublinks_9kqkw_436{display:flex;justify-content:center;opacity:0;visibility:hidden;z-index:1000;transition:transform .3s ease-in-out,max-height .3s ease}._sublinks_9kqkw_436._show_9kqkw_525{max-height:500px;opacity:1;pointer-events:auto;visibility:visible;transform:translateY(0)}._sublinks_9kqkw_436._show_9kqkw_525 ._navTitle_9kqkw_400,._sublinks_9kqkw_436._show_9kqkw_525 ._sublinksDescription_9kqkw_436,._sublinks_9kqkw_436._show_9kqkw_525 ._link_9kqkw_98,._sublinks_9kqkw_436._show_9kqkw_525 ._sublinkToggle_9kqkw_114,._sublinks_9kqkw_436._show_9kqkw_525 ._link_9kqkw_98 ._linkContent_9kqkw_439,._sublinks_9kqkw_436._show_9kqkw_525 ._sublinkToggle_9kqkw_114 ._linkContent_9kqkw_439{opacity:1;visibility:visible}._triangle_9kqkw_173{visibility:hidden;opacity:0;position:absolute;top:calc(100% + .5rem);transform:translate(-50%);z-index:10;pointer-events:none;transition:top .3s ease-in-out,left .3s ease-in-out,visbility .3s ease-in-out,opacity .3s ease-in-out}._triangle_9kqkw_173._show_9kqkw_525{top:calc(100% + .3rem);opacity:1;visibility:visible}._triangle_9kqkw_173 polygon{stroke:var(--color-border);stroke-width:1px}._primaryColumn_9kqkw_574{border-right:1px solid var(--color-border)}._primaryColumn_9kqkw_574 ._sublinkToggle_9kqkw_114:hover,._primaryColumn_9kqkw_574 ._sublinkToggle_9kqkw_114._open_9kqkw_452{color:var(--color-primary-100)}._secondaryColumn_9kqkw_583{background-color:var(--color-secondary-10)}._spotlightColumn_9kqkw_587{background-color:var(--color-secondary-75)}._sublinksInner_9kqkw_591{background-color:var(--color-background);border-radius:var(--radius-md);border:1px solid var(--color-border);overflow:hidden}@media (max-width: 767px){._sublinksInner_9kqkw_591{display:flex;flex-direction:column;width:unset;max-width:unset;min-height:unset;background-color:unset;box-shadow:unset;border-radius:unset;border:unset}}._sublinksColumn_9kqkw_610{display:flex;flex-direction:column;padding:var(--spacing-md)}@media (max-width: 767px){._sublinksColumn_9kqkw_610{padding:0}}._chevron_9kqkw_620{transition:transform .3s ease;display:flex;align-items:center;justify-content:center;margin-top:2px}._sublinkToggle_9kqkw_114._open_9kqkw_452 ._chevron_9kqkw_620{transform:rotate(180deg)}._menubar_9kqkw_632{display:contents}._toolbar_9kqkw_636{display:flex;gap:var(--spacing-md);padding:var(--spacing-md) 0;width:100%}._toolbar_9kqkw_636 ._linkWrapper_9kqkw_98{border:none;flex:1}@media (max-width: 767px){._logo_9kqkw_36{flex:1}._menuToggle_9kqkw_289,._search_9kqkw_111{display:flex;align-items:center;justify-content:center}._utility_9kqkw_307 a:not(._utility_9kqkw_307 a:first-of-type){display:none}._utilityMobile_9kqkw_307{display:block;transform:translateY(100px);position:fixed;bottom:1rem;left:0;right:0;margin:0 auto;width:calc(100% - 2rem);z-index:1001;transition:transform .3s ease-in-out}._utilityMobile_9kqkw_307._open_9kqkw_452{transform:translateY(0)}._nav_9kqkw_1{position:fixed;top:calc(var(--nav-height) - 1px);left:0;width:100%;height:100%;background-color:var(--color-background);display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-md);padding:var(--spacing-md);z-index:1000;overflow-y:auto;transform:translate(100%);opacity:0;pointer-events:none;transition:transform .3s ease-in-out}._nav_9kqkw_1._open_9kqkw_452{transform:translate(0);opacity:1;pointer-events:auto}._linkWrapper_9kqkw_98{flex-direction:column;width:100%;max-width:300px;margin:0 auto;padding:var(--spacing-sm) 0}._linkWrapper_9kqkw_98._parent_9kqkw_98{border-bottom:1px solid var(--color-border)}._linkWrapper_9kqkw_98._parent_9kqkw_98:last-of-type{border:none}._linkItem_9kqkw_105{width:100%}._chevron_9kqkw_620{display:none}._sublinks_9kqkw_436{position:relative;top:0;box-shadow:none;max-height:fit-content;opacity:1;visibility:visible;align-items:flex-start;justify-content:flex-start;padding:var(--spacing-sm);gap:0;pointer-events:auto}._sublinkToggle_9kqkw_114{cursor:pointer;pointer-events:none;color:var(--color-secondary-75)}}._default_9kqkw_759 ._container_9kqkw_32{padding:var(--spacing-md)}._default_9kqkw_759 ._sublinks_9kqkw_436{position:absolute;right:0;width:auto}@media (max-width: 767px){._default_9kqkw_759 ._sublinks_9kqkw_436{position:relative;justify-content:center;align-items:center}}._default_9kqkw_759 ._linkItem_9kqkw_105{justify-content:flex-end}@media (max-width: 767px){._default_9kqkw_759 ._linkItem_9kqkw_105{justify-content:center;align-items:center}}._default_9kqkw_759 ._sublinksInner_9kqkw_591{display:flex;flex-direction:column;min-width:125px;justify-content:flex-end;align-items:flex-end}@media (max-width: 767px){._default_9kqkw_759 ._sublinksInner_9kqkw_591{justify-content:center;align-items:center}}._default_9kqkw_759 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._sublinkToggle_9kqkw_114,._default_9kqkw_759 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._link_9kqkw_98{height:40px}@media (min-width: 768px){._default_9kqkw_759 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._link_9kqkw_98,._default_9kqkw_759 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._search_9kqkw_111,._default_9kqkw_759 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._locale_9kqkw_112,._default_9kqkw_759 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105._themeToggle_9kqkw_113 button,._default_9kqkw_759 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._sublinkToggle_9kqkw_114{opacity:1;visibility:visible;transition:color .3s ease-in-out,.3s ease-in-out;color:var(--color-secondary-100)}._default_9kqkw_759 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._link_9kqkw_98:hover,._default_9kqkw_759 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._search_9kqkw_111:hover,._default_9kqkw_759 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._locale_9kqkw_112:hover,._default_9kqkw_759 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105._themeToggle_9kqkw_113 button:hover,._default_9kqkw_759 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._sublinkToggle_9kqkw_114:hover{color:var(--color-primary-100);background-color:transparent}}._advanced_9kqkw_828 ._linkContent_9kqkw_439{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:var(--spacing-sm)}._advanced_9kqkw_828 ._subtitle_9kqkw_837{font-size:var(--font-size-sm);font-weight:var(--font-weight-normal);text-align:left}._advanced_9kqkw_828 ._sublinksDescription_9kqkw_436,._advanced_9kqkw_828 ._sublinksDescription_9kqkw_436 div p{color:var(--color-text-primary);line-height:var(--line-height-normal);font-size:var(--font-size-sm);margin-bottom:var(--spacing-sm)}._advanced_9kqkw_828 ._sublinks_9kqkw_436{position:fixed;padding-top:var(--spacing-md);right:0;left:0;width:100%}@media (max-width: 767px){._advanced_9kqkw_828 ._sublinks_9kqkw_436{position:relative;justify-content:center;align-items:center}}._advanced_9kqkw_828 ._linkItem_9kqkw_105{justify-content:flex-start}._advanced_9kqkw_828 ._sublinksInner_9kqkw_591{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:calc(100vw - 4rem);width:78rem;min-height:24rem}._advanced_9kqkw_828 ._sublinksInner_9kqkw_591._withSpotlight_9kqkw_879{grid-template-columns:repeat(4,minmax(0,1fr))}._advanced_9kqkw_828 ._sublinksInner_9kqkw_591._withoutSpotlight_9kqkw_883{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width: 767px){._advanced_9kqkw_828 ._sublinksInner_9kqkw_591{grid-template-columns:1fr;width:auto;min-height:unset}}._advanced_9kqkw_828 ._sublinkToggle_9kqkw_114{pointer-events:all;color:var(--color-secondary-100);width:fit-content;transition:color .3s ease-in-out}._advanced_9kqkw_828 ._sublinkToggle_9kqkw_114:hover,._advanced_9kqkw_828 ._sublinkToggle_9kqkw_114._open_9kqkw_452{color:var(--color-primary-100)}._advanced_9kqkw_828 ._back_9kqkw_476{margin-bottom:var(--spacing-lg);transition:color .3s ease-in-out}._advanced_9kqkw_828 ._back_9kqkw_476:hover{color:var(--color-primary-100)}._transparent_9kqkw_921{background-color:transparent}._transparent_9kqkw_921 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._sublinkToggle_9kqkw_114,._transparent_9kqkw_921 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._link_9kqkw_98{height:40px}@media (min-width: 768px){._transparent_9kqkw_921 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._link_9kqkw_98,._transparent_9kqkw_921 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._search_9kqkw_111,._transparent_9kqkw_921 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._locale_9kqkw_112,._transparent_9kqkw_921 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105._themeToggle_9kqkw_113 button,._transparent_9kqkw_921 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._sublinkToggle_9kqkw_114{opacity:1;visibility:visible;transition:color .3s ease-in-out,.3s ease-in-out;color:var(--color-navigation-transparent-links)}._transparent_9kqkw_921 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._link_9kqkw_98:hover,._transparent_9kqkw_921 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._search_9kqkw_111:hover,._transparent_9kqkw_921 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._locale_9kqkw_112:hover,._transparent_9kqkw_921 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105._themeToggle_9kqkw_113 button:hover,._transparent_9kqkw_921 ._linkWrapper_9kqkw_98._parent_9kqkw_98>._linkItem_9kqkw_105 ._sublinkToggle_9kqkw_114:hover{color:var(--color-navigation-transparent-linksHover);background-color:transparent}}@media (max-width: 767px){._transparent_9kqkw_921:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:rgba(var(--color-backgroundRgb),.5);backdrop-filter:saturate(1.1) blur(1rem);-webkit-backdrop-filter:saturate(1.1) blur(1rem)}}._transparent_9kqkw_921 ._nav_9kqkw_1{height:auto;border-radius:var(--radius-full);padding:0;z-index:1001;background:rgba(var(--color-backgroundRgb),.3);backdrop-filter:saturate(1.1) blur(1rem);-webkit-backdrop-filter:saturate(1.1) blur(1rem)}@media (max-width: 767px){._transparent_9kqkw_921 ._nav_9kqkw_1{padding:var(--nav-height) 0 0;background:rgba(var(--color-backgroundRgb),.95);border-radius:0;top:0!important;left:0!important;height:100vh}._transparent_9kqkw_921 ._nav_9kqkw_1:before{border-radius:0}}@media (max-width: 767px){._transparent_9kqkw_921 ._utility_9kqkw_307 a,._transparent_9kqkw_921 ._utility_9kqkw_307 button{-webkit-backdrop-filter:unset;backdrop-filter:unset}._transparent_9kqkw_921 ._utility_9kqkw_307 a>span,._transparent_9kqkw_921 ._utility_9kqkw_307 button>span{background-color:transparent;padding:0}._transparent_9kqkw_921 ._utility_9kqkw_307 a:hover>span,._transparent_9kqkw_921 ._utility_9kqkw_307 button:hover>span{background-color:transparent;padding:0;color:var(--color-primary-100)}}@media (max-width: 767px){._transparent_9kqkw_921 ._menuToggle_9kqkw_289,._transparent_9kqkw_921 ._search_9kqkw_111{width:unset}}._groupDivider_9kqkw_1032{border:0;height:0;border-top:none;border-bottom:1px solid var(--color-border);padding:var(--spacing-sm) 0}@media (max-width: 767px){._searchWrapper_9kqkw_1040{grid-area:fourth;width:auto}}._mobileMenu_9kqkw_1047,._mobileMenuSlide_9kqkw_1048{display:flex;flex-direction:column;gap:var(--spacing-md)}._mobileMenuItem_9kqkw_1058{opacity:0}._fadeInFromLeft_9kqkw_1062{animation:_fadeInFromLeft_9kqkw_1062 .3s ease-in-out forwards}._fadeInFromRight_9kqkw_1066{animation:_fadeInFromRight_9kqkw_1066 .3s ease-in-out forwards}._spotlight_9kqkw_587{display:flex;flex-direction:column;gap:var(--spacing-md)}._spotlight_9kqkw_587 ._imageWrapper_9kqkw_1076{width:100%;height:150px;position:relative;overflow:hidden;border-radius:var(--radius-md);line-height:0}._spotlight_9kqkw_587 ._imageWrapper_9kqkw_1076 img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease-in-out}._spotlight_9kqkw_587 ._image_9kqkw_1076{width:100%;height:auto;object-fit:cover}._spotlight_9kqkw_587 ._content_9kqkw_1098{display:flex;flex-direction:column;gap:var(--spacing-sm);color:#fff}._spotlight_9kqkw_587 ._title_9kqkw_88{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-lg);color:#fff}._spotlight_9kqkw_587 ._description_9kqkw_1113{color:#fff}._spotlight_9kqkw_587 ._actions_9kqkw_1117{display:flex;flex-direction:column;align-items:flex-start}@keyframes _fadeInFromLeft_9kqkw_1062{0%{transform:translate(-10px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _fadeInFromRight_9kqkw_1066{0%{transform:translate(10px);opacity:0}to{transform:translate(0);opacity:1}}
1
+ ._navbar_v1562_1{position:relative;z-index:1000}._sticky_v1562_15{position:fixed;top:0;left:0;right:0;z-index:1000;width:100%}._left_v1562_31 ._container_v1562_32{justify-content:flex-start}._left_v1562_31 ._logo_v1562_36{flex:unset}._left_v1562_31 ._nav_v1562_1{flex:1}@media (max-width: 767px){._left_v1562_31 ._logo_v1562_36{flex:1}}._center_v1562_51 ._nav_v1562_1{transition:transform .3s ease-in-out,opacity .3s ease-in-out;will-change:transform,opacity}._center_v1562_51 ._nav_v1562_1._hidden_v1562_59{transform:translateY(-100%);opacity:0;pointer-events:none}@media (min-width: 768px){._center_v1562_51 ._nav_v1562_1._visible_v1562_66{transform:translateY(0);opacity:1;pointer-events:auto}}@media (max-width: 767px){._center_v1562_51 ._logo_v1562_36{flex:1}}._right_v1562_81 ._container_v1562_32{justify-content:flex-end}@media (max-width: 767px){._right_v1562_81 ._logo_v1562_36,._right_v1562_81 ._title_v1562_88{flex:1}}._right_v1562_81 ._nav_v1562_1{flex:1}._linkWrapper_v1562_98._parent_v1562_98{overflow:visible;position:relative}@media (min-width: 768px){._linkWrapper_v1562_98._parent_v1562_98:first-of-type>._linkItem_v1562_105{border-top-left-radius:var(--radius-full);border-bottom-left-radius:var(--radius-full);overflow:hidden}._linkWrapper_v1562_98._parent_v1562_98:first-of-type>._linkItem_v1562_105 ._link_v1562_98,._linkWrapper_v1562_98._parent_v1562_98:first-of-type>._linkItem_v1562_105 ._search_v1562_111,._linkWrapper_v1562_98._parent_v1562_98:first-of-type>._linkItem_v1562_105 ._locale_v1562_112,._linkWrapper_v1562_98._parent_v1562_98:first-of-type>._linkItem_v1562_105._themeToggle_v1562_113 button,._linkWrapper_v1562_98._parent_v1562_98:first-of-type>._linkItem_v1562_105 ._sublinkToggle_v1562_114{padding-left:var(--spacing-md)}}@media (min-width: 768px){._linkWrapper_v1562_98._parent_v1562_98:last-of-type>._linkItem_v1562_105{border-top-right-radius:var(--radius-full);border-bottom-right-radius:var(--radius-full);overflow:hidden}._linkWrapper_v1562_98._parent_v1562_98:last-of-type>._linkItem_v1562_105 ._link_v1562_98,._linkWrapper_v1562_98._parent_v1562_98:last-of-type>._linkItem_v1562_105 ._search_v1562_111,._linkWrapper_v1562_98._parent_v1562_98:last-of-type>._linkItem_v1562_105 ._locale_v1562_112,._linkWrapper_v1562_98._parent_v1562_98:last-of-type>._linkItem_v1562_105._themeToggle_v1562_113 button,._linkWrapper_v1562_98._parent_v1562_98:last-of-type>._linkItem_v1562_105 ._sublinkToggle_v1562_114{padding-right:var(--spacing-md)}}._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._sublinkToggle_v1562_114,._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._link_v1562_98{height:40px}@media (min-width: 768px){._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._link_v1562_98,._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._search_v1562_111,._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._locale_v1562_112,._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105._themeToggle_v1562_113 button,._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._sublinkToggle_v1562_114{opacity:1;visibility:visible;transition:background-color .3s ease-in-out;color:var(--color-secondary-100)}._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._link_v1562_98:hover,._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._search_v1562_111:hover,._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._locale_v1562_112:hover,._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105._themeToggle_v1562_113 button:hover,._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._sublinkToggle_v1562_114:hover{color:var(--color-secondary-100);background-color:rgba(var(--color-primary-rgb),.25)}}._standard_v1562_165{left:0;background-color:var(--color-background)}._standard_v1562_165 ._linkWrapper_v1562_98{position:relative}._standard_v1562_165 ._triangle_v1562_173{display:none}._container_v1562_32{display:grid;align-items:center;grid-template-areas:"first second third";grid-template-columns:minmax(auto,1fr) auto minmax(auto,1fr);grid-gap:var(--spacing-md);width:100%;max-width:var(--layout-width);height:100%;min-height:65px;margin:0 auto;padding:var(--spacing-md) var(--spacing-lg);position:relative}@media (max-width: 767px){._container_v1562_32{grid-template-columns:1fr max-content max-content max-content;grid-template-areas:"first third fourth fifth";grid-gap:var(--spacing-sm)}}._container_v1562_32._twoColumn_v1562_202{grid-template-columns:minmax(auto,1fr) auto;grid-template-areas:"first second"}@media (max-width: 767px){._container_v1562_32._twoColumn_v1562_202{display:flex}}._mobileButtons_v1562_211{display:none}@media (max-width: 767px){._mobileButtons_v1562_211{display:flex;align-items:center;gap:var(--spacing-lg);grid-area:fifth}._mobileButtons_v1562_211 ._linkWrapper_v1562_98{padding:0}}._mobileButtons_v1562_211 ._search_v1562_111{padding:0;width:unset}._title_v1562_88{grid-area:first;color:var(--color-text-primary);font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);z-index:1005}._logo_v1562_36{grid-area:first;font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);color:var(--color-primary-100);display:flex;align-items:center;justify-content:flex-start;position:relative;z-index:1005}._logo_v1562_36 a{display:flex;align-items:center;justify-content:flex-start}._logo_v1562_36 img{height:auto;width:auto}@media (max-width: 767px){._logo_v1562_36 img{max-width:120px}}._search_v1562_111,._locale_v1562_112,._themeToggle_v1562_113 button{background:none;border:none;cursor:pointer;display:none;color:var(--color-secondary-100);z-index:1100;position:relative;width:40px}._search_v1562_111 svg,._locale_v1562_112 svg,._themeToggle_v1562_113 button svg{position:relative;z-index:5}._menuToggle_v1562_289{grid-area:fifth;background:none;border:none;cursor:pointer;display:none;color:var(--color-secondary-100);z-index:1100;position:relative}._menuToggle_v1562_289 svg{position:relative;z-index:5}._utilityMobile_v1562_307{display:none;grid-area:third;justify-content:flex-end}._utility_v1562_307{grid-area:third;display:flex;justify-content:flex-end}._utility_v1562_307 a{font-size:var(--font-size-sm)}._nav_v1562_1{grid-area:second;display:grid;grid-template-columns:minmax(auto,1fr) auto;transition:transform .3s ease}@media (max-width: 767px){._nav_v1562_1{height:100vh}}._navInner_v1562_335{position:relative}@media (max-width: 767px){._navInner_v1562_335{padding:0 var(--spacing-md);margin:var(--spacing-xl) auto 0;max-width:400px;width:100%}}._grid_v1562_346{display:grid;align-items:center;grid-auto-flow:column}@media (max-width: 767px){._grid_v1562_346{display:flex;flex-direction:column}._grid_v1562_346 ._linkWrapper_v1562_98{padding:var(--spacing-sm) 0}}._linkItem_v1562_105{display:flex;align-items:center;box-sizing:border-box}.modalContentContainer:has(._searchModal_v1562_369),.modalContentContainer:has(._localeModal_v1562_370){align-self:flex-start;top:2rem}._searchModal_v1562_369,._localeModal_v1562_370{padding:0!important;max-height:80dvh;overflow:hidden}._searchModal_v1562_369 .modalClose,._localeModal_v1562_370 .modalClose{display:none}._searchModal_v1562_369 .modalContent,._localeModal_v1562_370 .modalContent{margin-top:0}._separator_v1562_390{display:flex;align-items:center;justify-content:center;height:1px;width:100%;max-width:300px;background:var(--color-border)}._navTitle_v1562_400,._sublinkToggle_v1562_114,._search_v1562_111,._locale_v1562_112,._themeToggle_v1562_113 button,._link_v1562_98{text-decoration:none;color:var(--color-secondary-100);background-color:transparent;border:none;padding:var(--spacing-sm);transition:color .3s ease-in-out;font-family:inherit;font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm);box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:var(--spacing-xs)}._navTitle_v1562_400 ._newTabIcon_v1562_423,._sublinkToggle_v1562_114 ._newTabIcon_v1562_423,._search_v1562_111 ._newTabIcon_v1562_423,._locale_v1562_112 ._newTabIcon_v1562_423,._themeToggle_v1562_113 button ._newTabIcon_v1562_423,._link_v1562_98 ._newTabIcon_v1562_423{color:var(--color-secondary-75);transition:color .3s ease-in-out}._search_v1562_111,._locale_v1562_112,._themeToggle_v1562_113 button{justify-content:center}@media (min-width: 768px){._navTitle_v1562_400,._sublinksDescription_v1562_436,._link_v1562_98,._sublinkToggle_v1562_114,._link_v1562_98 ._linkContent_v1562_439,._sublinkToggle_v1562_114 ._linkContent_v1562_439{opacity:0;visibility:hidden;transition:color .3s ease-in-out,opacity .3s ease-in-out,visibility .3s ease-in-out}}._link_v1562_98:hover,._link_v1562_98._open_v1562_452,._search_v1562_111:hover,._sublinkToggle_v1562_114:hover,._sublinkToggle_v1562_114._open_v1562_452,._link_v1562_98:hover ._newTabIcon_v1562_423,._link_v1562_98._open_v1562_452 ._newTabIcon_v1562_423,._search_v1562_111:hover ._newTabIcon_v1562_423,._sublinkToggle_v1562_114:hover ._newTabIcon_v1562_423,._sublinkToggle_v1562_114._open_v1562_452 ._newTabIcon_v1562_423{color:var(--color-primary-100)}@media (max-width: 767px){._link_v1562_98:hover,._link_v1562_98._open_v1562_452,._search_v1562_111:hover,._sublinkToggle_v1562_114:hover,._sublinkToggle_v1562_114._open_v1562_452{color:var(--color-secondary-100)}._link_v1562_98:hover ._newTabIcon_v1562_423,._link_v1562_98._open_v1562_452 ._newTabIcon_v1562_423,._search_v1562_111:hover ._newTabIcon_v1562_423,._sublinkToggle_v1562_114:hover ._newTabIcon_v1562_423,._sublinkToggle_v1562_114._open_v1562_452 ._newTabIcon_v1562_423{color:var(--color-secondary-100)}}._navItem_v1562_471:hover{color:var(--color-primary-100)}._sublinkToggle_v1562_114,._back_v1562_476{background:none;border:none;display:flex;align-items:center;cursor:pointer;color:var(--color-secondary-100)}._sublinkToggle_v1562_114:hover,._sublinkToggle_v1562_114._open_v1562_452,._back_v1562_476:hover,._back_v1562_476._open_v1562_452{color:var(--color-primary-100)}._sublinks_v1562_436{display:flex;justify-content:center;opacity:0;visibility:hidden;z-index:1000;transition:transform .3s ease-in-out,max-height .3s ease}._sublinks_v1562_436._show_v1562_525{max-height:500px;opacity:1;pointer-events:auto;visibility:visible;transform:translateY(0)}._sublinks_v1562_436._show_v1562_525 ._navTitle_v1562_400,._sublinks_v1562_436._show_v1562_525 ._sublinksDescription_v1562_436,._sublinks_v1562_436._show_v1562_525 ._link_v1562_98,._sublinks_v1562_436._show_v1562_525 ._sublinkToggle_v1562_114,._sublinks_v1562_436._show_v1562_525 ._link_v1562_98 ._linkContent_v1562_439,._sublinks_v1562_436._show_v1562_525 ._sublinkToggle_v1562_114 ._linkContent_v1562_439{opacity:1;visibility:visible}._triangle_v1562_173{visibility:hidden;opacity:0;position:absolute;top:calc(100% + .5rem);transform:translate(-50%);z-index:10;pointer-events:none;transition:top .3s ease-in-out,left .3s ease-in-out,visbility .3s ease-in-out,opacity .3s ease-in-out}._triangle_v1562_173._show_v1562_525{top:calc(100% + .3rem);opacity:1;visibility:visible}._triangle_v1562_173 polygon{stroke:var(--color-border);stroke-width:1px}._primaryColumn_v1562_574{border-right:1px solid var(--color-border)}._primaryColumn_v1562_574 ._sublinkToggle_v1562_114:hover,._primaryColumn_v1562_574 ._sublinkToggle_v1562_114._open_v1562_452{color:var(--color-primary-100)}._secondaryColumn_v1562_583{background-color:var(--color-secondary-10)}._spotlightColumn_v1562_587{background-color:var(--color-secondary-75)}._sublinksInner_v1562_591{background-color:var(--color-background);border-radius:var(--radius-md);border:1px solid var(--color-border);overflow:hidden}@media (max-width: 767px){._sublinksInner_v1562_591{display:flex;flex-direction:column;width:unset;max-width:unset;min-height:unset;background-color:unset;box-shadow:unset;border-radius:unset;border:unset}}._sublinksColumn_v1562_610{display:flex;flex-direction:column;padding:var(--spacing-md)}@media (max-width: 767px){._sublinksColumn_v1562_610{padding:0}}._chevron_v1562_620{transition:transform .3s ease;display:flex;align-items:center;justify-content:center;margin-top:2px}._sublinkToggle_v1562_114._open_v1562_452 ._chevron_v1562_620{transform:rotate(180deg)}._menubar_v1562_632{display:contents}._toolbar_v1562_636{display:flex;gap:var(--spacing-md);padding:var(--spacing-md) 0;width:100%}._toolbar_v1562_636 ._linkWrapper_v1562_98._parent_v1562_98{border:none;flex:1}@media (max-width: 767px){._logo_v1562_36{flex:1}._menuToggle_v1562_289,._search_v1562_111{display:flex;align-items:center;justify-content:center}._utility_v1562_307 a:not(._utility_v1562_307 a:first-of-type){display:none}._utilityMobile_v1562_307{display:block;transform:translateY(100px);position:fixed;bottom:1rem;left:0;right:0;margin:0 auto;width:calc(100% - 2rem);z-index:1001;transition:transform .3s ease-in-out}._utilityMobile_v1562_307._open_v1562_452{transform:translateY(0)}._nav_v1562_1{position:fixed;top:calc(var(--nav-height) - 1px);left:0;width:100%;height:100%;background-color:var(--color-background);display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-md);padding:var(--spacing-md);z-index:1000;overflow-y:auto;transform:translate(100%);opacity:0;pointer-events:none;transition:transform .3s ease-in-out}._nav_v1562_1._open_v1562_452{transform:translate(0);opacity:1;pointer-events:auto}._linkWrapper_v1562_98{flex-direction:column;width:100%;max-width:300px;margin:0 auto;padding:var(--spacing-sm) 0}._linkWrapper_v1562_98._parent_v1562_98{border-bottom:1px solid var(--color-border)}._linkWrapper_v1562_98._parent_v1562_98:last-of-type{border:none}._linkItem_v1562_105{width:100%}._chevron_v1562_620{display:none}._sublinks_v1562_436{position:relative;top:0;box-shadow:none;max-height:fit-content;opacity:1;visibility:visible;align-items:flex-start;justify-content:flex-start;padding:var(--spacing-sm);gap:0;pointer-events:auto}._sublinkToggle_v1562_114{cursor:pointer;pointer-events:none;color:var(--color-secondary-75)}}._default_v1562_759 ._container_v1562_32{padding:var(--spacing-md)}._default_v1562_759 ._sublinks_v1562_436{position:absolute;right:0;width:auto}@media (max-width: 767px){._default_v1562_759 ._sublinks_v1562_436{position:relative;justify-content:center;align-items:center}}._default_v1562_759 ._linkItem_v1562_105{justify-content:flex-end}@media (max-width: 767px){._default_v1562_759 ._linkItem_v1562_105{justify-content:center;align-items:center}}._default_v1562_759 ._sublinksInner_v1562_591{display:flex;flex-direction:column;min-width:125px;justify-content:flex-end;align-items:flex-end}@media (max-width: 767px){._default_v1562_759 ._sublinksInner_v1562_591{justify-content:center;align-items:center}}._default_v1562_759 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._sublinkToggle_v1562_114,._default_v1562_759 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._link_v1562_98{height:40px}@media (min-width: 768px){._default_v1562_759 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._link_v1562_98,._default_v1562_759 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._search_v1562_111,._default_v1562_759 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._locale_v1562_112,._default_v1562_759 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105._themeToggle_v1562_113 button,._default_v1562_759 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._sublinkToggle_v1562_114{opacity:1;visibility:visible;transition:color .3s ease-in-out,.3s ease-in-out;color:var(--color-secondary-100)}._default_v1562_759 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._link_v1562_98:hover,._default_v1562_759 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._search_v1562_111:hover,._default_v1562_759 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._locale_v1562_112:hover,._default_v1562_759 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105._themeToggle_v1562_113 button:hover,._default_v1562_759 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._sublinkToggle_v1562_114:hover{color:var(--color-primary-100);background-color:transparent}}._advanced_v1562_828 ._linkContent_v1562_439{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:var(--spacing-sm)}._advanced_v1562_828 ._subtitle_v1562_837{font-size:var(--font-size-sm);font-weight:var(--font-weight-normal);text-align:left}._advanced_v1562_828 ._sublinksDescription_v1562_436,._advanced_v1562_828 ._sublinksDescription_v1562_436 div p{color:var(--color-text-primary);line-height:var(--line-height-normal);font-size:var(--font-size-sm);margin-bottom:var(--spacing-sm)}._advanced_v1562_828 ._sublinks_v1562_436{position:fixed;padding-top:var(--spacing-md);right:0;left:0;width:100%}@media (max-width: 767px){._advanced_v1562_828 ._sublinks_v1562_436{position:relative;justify-content:center;align-items:center}}._advanced_v1562_828 ._linkItem_v1562_105{justify-content:flex-start}._advanced_v1562_828 ._sublinksInner_v1562_591{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:calc(100vw - 4rem);width:78rem;min-height:24rem}._advanced_v1562_828 ._sublinksInner_v1562_591._withSpotlight_v1562_879{grid-template-columns:repeat(4,minmax(0,1fr))}._advanced_v1562_828 ._sublinksInner_v1562_591._withoutSpotlight_v1562_883{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width: 767px){._advanced_v1562_828 ._sublinksInner_v1562_591{grid-template-columns:1fr;width:auto;min-height:unset}}._advanced_v1562_828 ._sublinkToggle_v1562_114{pointer-events:all;color:var(--color-secondary-100);width:fit-content;transition:color .3s ease-in-out}._advanced_v1562_828 ._sublinkToggle_v1562_114:hover,._advanced_v1562_828 ._sublinkToggle_v1562_114._open_v1562_452{color:var(--color-primary-100)}._advanced_v1562_828 ._back_v1562_476{margin-bottom:var(--spacing-lg);transition:color .3s ease-in-out}._advanced_v1562_828 ._back_v1562_476:hover{color:var(--color-primary-100)}._transparent_v1562_921{background-color:transparent}._transparent_v1562_921 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._sublinkToggle_v1562_114,._transparent_v1562_921 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._link_v1562_98{height:40px}@media (min-width: 768px){._transparent_v1562_921 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._link_v1562_98,._transparent_v1562_921 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._search_v1562_111,._transparent_v1562_921 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._locale_v1562_112,._transparent_v1562_921 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105._themeToggle_v1562_113 button,._transparent_v1562_921 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._sublinkToggle_v1562_114{opacity:1;visibility:visible;transition:color .3s ease-in-out,.3s ease-in-out;color:var(--color-navigation-transparent-links)}._transparent_v1562_921 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._link_v1562_98:hover,._transparent_v1562_921 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._search_v1562_111:hover,._transparent_v1562_921 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._locale_v1562_112:hover,._transparent_v1562_921 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105._themeToggle_v1562_113 button:hover,._transparent_v1562_921 ._linkWrapper_v1562_98._parent_v1562_98>._linkItem_v1562_105 ._sublinkToggle_v1562_114:hover{color:var(--color-navigation-transparent-linksHover);background-color:transparent}}@media (max-width: 767px){._transparent_v1562_921:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:rgba(var(--color-backgroundRgb),.5);backdrop-filter:saturate(1.1) blur(1rem);-webkit-backdrop-filter:saturate(1.1) blur(1rem)}}._transparent_v1562_921 ._nav_v1562_1{height:auto;border-radius:var(--radius-full);padding:0;z-index:1001;background:rgba(var(--color-backgroundRgb),.3);backdrop-filter:saturate(1.1) blur(1rem);-webkit-backdrop-filter:saturate(1.1) blur(1rem)}@media (max-width: 767px){._transparent_v1562_921 ._nav_v1562_1{padding:var(--nav-height) 0 0;background:rgba(var(--color-backgroundRgb),.95);border-radius:0;top:0!important;left:0!important;height:100vh}._transparent_v1562_921 ._nav_v1562_1:before{border-radius:0}}@media (max-width: 767px){._transparent_v1562_921 ._utility_v1562_307 a,._transparent_v1562_921 ._utility_v1562_307 button{-webkit-backdrop-filter:unset;backdrop-filter:unset}._transparent_v1562_921 ._utility_v1562_307 a>span,._transparent_v1562_921 ._utility_v1562_307 button>span{background-color:transparent;padding:0}._transparent_v1562_921 ._utility_v1562_307 a:hover>span,._transparent_v1562_921 ._utility_v1562_307 button:hover>span{background-color:transparent;padding:0;color:var(--color-primary-100)}}@media (max-width: 767px){._transparent_v1562_921 ._menuToggle_v1562_289,._transparent_v1562_921 ._search_v1562_111{width:unset}}._groupDivider_v1562_1032{border:0;height:0;border-top:none;border-bottom:1px solid var(--color-border);padding:var(--spacing-sm) 0}@media (max-width: 767px){._searchWrapper_v1562_1040{grid-area:fourth;width:auto}}._mobileMenu_v1562_1047,._mobileMenuSlide_v1562_1048{display:flex;flex-direction:column;gap:var(--spacing-md)}._mobileMenuItem_v1562_1058{opacity:0}._fadeInFromLeft_v1562_1062{animation:_fadeInFromLeft_v1562_1062 .3s ease-in-out forwards}._fadeInFromRight_v1562_1066{animation:_fadeInFromRight_v1562_1066 .3s ease-in-out forwards}._spotlight_v1562_587{display:flex;flex-direction:column;gap:var(--spacing-md)}._spotlight_v1562_587 ._imageWrapper_v1562_1076{width:100%;height:150px;position:relative;overflow:hidden;border-radius:var(--radius-md);line-height:0}._spotlight_v1562_587 ._imageWrapper_v1562_1076 img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease-in-out}._spotlight_v1562_587 ._image_v1562_1076{width:100%;height:auto;object-fit:cover}._spotlight_v1562_587 ._content_v1562_1098{display:flex;flex-direction:column;gap:var(--spacing-sm);color:#fff}._spotlight_v1562_587 ._title_v1562_88{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-lg);color:#fff}._spotlight_v1562_587 ._description_v1562_1113{color:#fff}._spotlight_v1562_587 ._actions_v1562_1117{display:flex;flex-direction:column;align-items:flex-start}@keyframes _fadeInFromLeft_v1562_1062{0%{transform:translate(-10px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _fadeInFromRight_v1562_1066{0%{transform:translate(10px);opacity:0}to{transform:translate(0);opacity:1}}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("react");const e=require("../../../NavLink-BHufsQ7Y.cjs");require("../../../external-link-DDShu-48.cjs");require("../../../chevron-down-DfK1XBl3.cjs");exports.NavLink=e.NavLink;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("react");const e=require("../../../NavLink-D2yPDEC1.cjs");require("../../../external-link-DDShu-48.cjs");require("../../../chevron-down-DfK1XBl3.cjs");exports.NavLink=e.NavLink;
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { N as a } from "../../../NavLink-DcNtOPdG.js";
3
+ import { N as a } from "../../../NavLink-orip5ARe.js";
4
4
  import "../../../external-link-BOPobeQJ.js";
5
5
  import "../../../chevron-down-DSUzBz9F.js";
6
6
  export {
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),t=require("react"),le=require("../Modal/index.cjs"),A=require("../../../index-hPJqlEOh.cjs"),te=require("../ButtonGroup/index.cjs"),e=require("../../../NavLink-BHufsQ7Y.cjs"),V=require("../../utils/NoScroll/noScroll.cjs"),Ce=require("../../../chevron-right-motlyADs.cjs"),H=require("../../../external-link-DDShu-48.cjs"),Se=require("../../../x-Dft9NVe_.cjs"),ae=require("../../../createLucideIcon-DpotSgUx.cjs"),_e=require("../../../chevron-down-DfK1XBl3.cjs");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),t=require("react"),le=require("../Modal/index.cjs"),A=require("../../../index-hPJqlEOh.cjs"),te=require("../ButtonGroup/index.cjs"),e=require("../../../NavLink-D2yPDEC1.cjs"),K=require("../../utils/NoScroll/noScroll.cjs"),Ce=require("../../../chevron-right-motlyADs.cjs"),V=require("../../../external-link-DDShu-48.cjs"),Se=require("../../../x-Dft9NVe_.cjs"),ae=require("../../../createLucideIcon-DpotSgUx.cjs"),_e=require("../../../chevron-down-DfK1XBl3.cjs");/**
2
2
  * @license lucide-react v0.488.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -8,4 +8,4 @@
8
8
  *
9
9
  * This source code is licensed under the ISC license.
10
10
  * See the LICENSE file in the root directory of this source tree.
11
- */const Ie=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],Me=ae.createLucideIcon("search",Ie),Re={standard:e.styles.standard,transparent:e.styles.transparent},Be={left:e.styles.left,center:e.styles.center,right:e.styles.right},qe=({spotlight:i,renderText:x})=>{var h,E,p,g,N,L;const c=i.callToAction;if(!c)return null;const k=((h=c.linkOptions)==null?void 0:h.linkType)==="external";let y="#";return k&&((E=c.linkOptions)!=null&&E.externalUrl)?y=c.linkOptions.externalUrl:((p=c.linkOptions)==null?void 0:p.linkType)==="internal"&&((N=(g=c.linkOptions)==null?void 0:g.internalUrl)!=null&&N.slug.current)&&(y=`/${c.linkOptions.internalUrl.slug.current}`),s.jsxs("div",{className:e.styles.spotlight,children:[i.image&&s.jsx("div",{className:e.styles.imageWrapper,children:s.jsx("img",{src:((L=i.image.imageUrls)==null?void 0:L.medium)??"",alt:i.image.asset.altText||i.image.asset.description||"Content image",width:600,height:400})}),s.jsxs("div",{className:e.styles.content,children:[i.title&&s.jsx("div",{className:e.styles.title,children:x==null?void 0:x(i.title,e.styles.title)}),i.description&&s.jsx("div",{className:e.styles.description,children:x==null?void 0:x(i.description,e.styles.description)})]}),c.linkOptions&&s.jsx("div",{className:e.styles.actions,children:s.jsx(A.Button,{as:"a",variant:c.variant??"primary",href:y,target:k?"_blank":"_self",rel:k?"noopener noreferrer":void 0,"aria-label":c.ariaLabel||c.label,children:c.label})})]})};function ze({renderText:i,title:x,logo:c,items:k,groups:y,utilityItems:h,isSticky:E=!1,showSearch:p=!0,showLocaleSelect:g=!0,showThemeToggle:N=!0,themeToggleComponent:L,alignment:O="right",variant:ie="standard",navigationType:I="default",searchComponent:re,localeSelectComponent:ce,className:oe,style:de,...ue}){const[m,X]=t.useState(!1),[K,v]=t.useState(null),[ye,he]=t.useState(0),[me,be]=t.useState(!1),[fe,xe]=t.useState(null),[d,w]=t.useState([]),[M,W]=t.useState(0),[pe,J]=t.useState(null),[C,ve]=t.useState(!1),[R,B]=t.useState("forward"),D=t.useRef(null),j=t.useRef(null),Q=t.useRef(null),F=t.useRef(new Map),T=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,role:"presentation",children:s.jsx("div",{className:`${e.styles.linkItem} ${e.styles.themeToggle}`,role:"presentation",children:L})}),G=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent} ${e.styles.searchWrapper}`,children:s.jsx("div",{className:e.styles.linkItem,children:s.jsx(le.Modal,{size:"lg",className:e.styles.searchModal,trigger:s.jsx("button",{title:"Search","aria-label":"Search",className:e.styles.search,children:s.jsx(Me,{size:16,"aria-hidden":"true"})}),content:re})})}),Y=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,children:s.jsx("div",{className:e.styles.linkItem,children:s.jsx(le.Modal,{className:e.styles.localeModal,trigger:s.jsx("button",{title:"Locale Select","aria-label":"Locale Select",className:e.styles.locale,children:s.jsx(Le,{size:16,"aria-hidden":"true"})}),content:ce})})}),q=t.useCallback(()=>{j.current&&he(j.current.getBoundingClientRect().width)},[]),Z=()=>{X(n=>{const l=!n;return l||(w([]),B("forward"),v(null)),l})},ee=t.useCallback(n=>{const l=F.current.get(n);if(l&&j.current){const r=l.getBoundingClientRect(),o=j.current.getBoundingClientRect();xe(r.left-o.left+r.width/2)}},[]),je=t.useCallback(n=>{v(l=>l===n?null:n)},[]),U=t.useCallback(n=>{D.current&&!D.current.contains(n.target)&&v(null)},[]),P=t.useCallback(()=>{q(),typeof window<"u"&&window.innerWidth>768&&(X(!1),v(null))},[q]),ke=()=>w([]),ge=n=>{B("forward"),w([{title:n.title,primary:n.primaryItems??[],secondary:n.secondaryItems??[],description:""}])},se=n=>{B("forward"),w(l=>[...l,{title:n.label,primary:n.sublinks??[],secondary:[],description:n.description}])},Ne=()=>{B("backward"),w(n=>n.slice(0,-1))};t.useEffect(()=>{if(typeof window>"u")return;const n=()=>ve(window.innerWidth<768);return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),t.useEffect(()=>{const n=typeof window<"u",l=typeof document<"u";return n&&window.addEventListener("resize",P),l&&document.addEventListener("click",U),q(),be(!0),()=>{n&&window.removeEventListener("resize",P),l&&document.removeEventListener("click",U)}},[P,U,q]),t.useEffect(()=>{if(!(typeof document>"u"))return m?setTimeout(()=>V.lockScroll(),0):V.unlockScroll(),()=>V.unlockScroll()},[m]),t.useEffect(()=>{var r;if(!m)return;const n=(r=j.current)==null?void 0:r.querySelector('a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])');n==null||n.focus();const l=o=>{var _;if(o.key==="Escape"){Z(),(_=Q.current)==null||_.focus();return}if(o.key!=="Tab"||!j.current)return;const f=Array.from(j.current.querySelectorAll('a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(a=>!a.closest("[aria-hidden=true]"));if(f.length===0)return;const b=f[0],S=f[f.length-1];o.shiftKey?document.activeElement===b&&(o.preventDefault(),S.focus()):document.activeElement===S&&(o.preventDefault(),b.focus())};return document.addEventListener("keydown",l),()=>document.removeEventListener("keydown",l)},[m]);const z=(n,l="")=>n.map((r,o)=>{const f=`${l}/${r._key??r.label}-${o}`;return s.jsx(e.NavLink,{link:r,path:f,parentPath:l,openPath:K,togglePath:je,updateTriangleIndicator:ee,setOpenPath:v,renderLinks:z,buttonRefs:F},f)}),$e=n=>n.map((l,r)=>{var S,_;const o=`group-${r}`,f=pe===r,b=(S=l.primaryItems)==null?void 0:S[M??0];return s.jsxs("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,onMouseEnter:()=>{J(r),v(o),ee(o)},children:[s.jsx("div",{className:e.styles.linkItem,children:s.jsxs("button",{ref:a=>{F.current.set(o,a)},"aria-haspopup":!0,"aria-expanded":f,"aria-controls":`submenu-${r}`,className:`${e.styles.sublinkToggle} ${f?e.styles.open:""}`,children:[l.title,s.jsx(_e.ChevronDown,{size:18,className:e.styles.chevron,"aria-hidden":"true"})]})}),s.jsx("div",{id:`submenu-${r}`,className:`${e.styles.sublinks} ${f?e.styles.show:""}`,role:"menu","aria-label":`${l.title} submenu`,onMouseLeave:()=>{J(null),W(0),v(null)},children:s.jsx("div",{children:s.jsxs("div",{className:`${e.styles.sublinksInner} ${l.spotlight?e.styles.withSpotlight:e.styles.withoutSpotlight}`,children:[s.jsxs("div",{className:`${e.styles.sublinksColumn} ${e.styles.primaryColumn}`,children:[s.jsx("div",{className:e.styles.linkItem}),(_=l.primaryItems)==null?void 0:_.map((a,$)=>a.href?s.jsx("div",{role:"menuitem",children:s.jsxs("a",{href:a.href,className:`${e.styles.link} ${M===$?e.styles.open:""}`,target:a.isExternal?"_blank":"_self",rel:a.isExternal?"noopener noreferrer":void 0,onClick:()=>{var ne;v(null),(ne=a.onClick)==null||ne.call(a)},onMouseEnter:()=>W($),children:[s.jsxs("span",{className:e.styles.linkContent,children:[a.label,a.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:a.subtitle})]}),a.isExternal&&s.jsx(H.ExternalLink,{className:e.styles.newTabIcon,size:16,"aria-hidden":"true"})]})},a._key??$):s.jsx("div",{role:"menuitem",children:s.jsx("button",{className:`${e.styles.sublinkToggle} ${M===$?e.styles.open:""}`,onMouseEnter:()=>W($),children:s.jsxs("span",{className:e.styles.linkContent,children:[a.label,a.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:a.subtitle})]})})},a._key??$))]}),(b==null?void 0:b.sublinks)&&b.sublinks.length>0&&s.jsxs("div",{className:`${e.styles.sublinksColumn} ${e.styles.fadeInFromLeft}`,children:[b.description&&s.jsx("div",{className:e.styles.sublinksDescription,children:i==null?void 0:i(b.description)}),z(b.sublinks,`${o}-${M}`)]},`${b.label}-${b.sublinks.length}`),l.secondaryItems&&l.secondaryItems.length>0&&s.jsx("div",{className:`${e.styles.sublinksColumn} ${e.styles.secondaryColumn}`,children:z(l.secondaryItems,`${o}-secondary`)}),l.spotlight&&s.jsx("div",{className:`${e.styles.sublinksColumn} ${e.styles.spotlightColumn}`,children:s.jsx(qe,{spotlight:l.spotlight,renderText:i})})]})})})]},l._key??`group-${r}`)}),we=[e.styles.navbar,Be[O],Re[ie],E?e.styles.sticky:"",y!=null&&y.length?e.styles.advanced:e.styles.default,oe??""].filter(Boolean).join(" "),u=h&&h.length>0?h[Math.min(1,h.length-1)]:null;return s.jsx("header",{ref:D,className:we,style:de,"aria-label":"Site header",...ue,children:s.jsxs("div",{className:`${e.styles.container} ${(!h||h.length===0)&&O!=="center"?e.styles.twoColumn:""}`,children:[c?s.jsx("div",{className:e.styles.logo,children:c}):x?s.jsx("div",{className:e.styles.title,children:x}):null,s.jsx("nav",{ref:j,style:{left:O==="center"?`calc(50% - ${ye/2}px)`:"0"},"aria-modal":m?"true":void 0,className:`${e.styles.nav} ${m?e.styles.open:""} ${me?e.styles.visible:e.styles.hidden}`,id:"main-menu","aria-label":"Primary navigation",children:s.jsxs("div",{className:e.styles.navInner,children:[s.jsx("svg",{style:{left:`${fe}px`},className:`${e.styles.triangle} ${K?e.styles.show:""}`,width:16,height:12,viewBox:"0 0 100 75",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:s.jsx("polygon",{points:"50,5 95,70 5,70",strokeLinejoin:"round",fill:"white",stroke:"white"})}),I==="default"&&k&&s.jsxs("div",{className:e.styles.grid,children:[k.length>0&&s.jsx("div",{role:"menubar",className:e.styles.menubar,children:z(k)}),(p||g||N)&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:e.styles.separator,"aria-hidden":"true"}),s.jsxs("div",{role:"toolbar","aria-label":"Site controls",className:e.styles.toolbar,children:[N&&s.jsx(T,{}),p&&!C&&s.jsx(G,{}),g&&s.jsx(Y,{})]})]})]}),!C&&I==="advanced"&&y&&s.jsxs("div",{className:e.styles.grid,children:[y.length>0&&s.jsx("div",{role:"menubar",className:e.styles.menubar,children:$e(y)}),(p||g||N)&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:e.styles.separator,"aria-hidden":"true"}),s.jsxs("div",{role:"toolbar","aria-label":"Site controls",className:e.styles.toolbar,children:[N&&s.jsx(T,{}),p&&s.jsx(G,{}),g&&s.jsx(Y,{})]})]})]}),C&&I==="advanced"&&m&&d.length===0&&y&&s.jsx("div",{className:e.styles.mobileMenu,children:y.map((n,l)=>s.jsx("div",{className:`${e.styles.mobileMenuItem} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>ge(n),children:n.title})},n._key??l))}),C&&I==="advanced"&&m&&d.length>0&&s.jsxs("div",{className:e.styles.mobileMenuSlide,children:[s.jsx("button",{className:e.styles.back,"aria-label":"Go back",onClick:d.length===1?ke:Ne,children:s.jsx(Ce.ChevronLeft,{size:18,"aria-hidden":"true"})}),d[d.length-1].description&&s.jsx("div",{className:`${e.styles.sublinksDescription} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:i==null?void 0:i(d[d.length-1].description)}),d[d.length-1].primary.map((n,l)=>s.jsx("div",{role:"menuitem",className:`${e.styles.mobileMenuItem} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:n.sublinks?s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>se(n),children:s.jsxs("span",{className:e.styles.linkContent,children:[n.label,n.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:n.subtitle})]})}):s.jsxs("a",{href:n.href,className:e.styles.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,children:[s.jsxs("span",{className:e.styles.linkContent,children:[n.label,n.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:n.subtitle})]}),n.isExternal&&s.jsx(H.ExternalLink,{className:e.styles.newTabIcon,size:16,"aria-hidden":"true"})]})},n._key??`primary-${l}`)),d[d.length-1].secondary.length>0&&s.jsx("hr",{className:e.styles.groupDivider}),d[d.length-1].secondary.map((n,l)=>s.jsx("div",{role:"menuitem",className:`${e.styles.mobileMenuItem} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:n.sublinks?s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>se(n),children:n.label}):s.jsxs("a",{href:n.href,className:e.styles.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,children:[n.label,n.isExternal&&s.jsx(H.ExternalLink,{className:e.styles.newTabIcon,size:16,"aria-hidden":"true"})]})},n._key??`secondary-${l}`))]},`stack-${d.length}`)]})}),h&&h.length>0&&s.jsx("nav",{className:e.styles.utility,"aria-label":"Utility navigation",children:s.jsx(te.ButtonGroup,{children:h.map((n,l)=>s.jsx(A.Button,{as:"a",href:n.href??"/",variant:n.variant??"primary",displayType:n.displayType??"text",imageSrc:n.imageSrc,imageAlt:n.imageAlt,"aria-label":n.ariaLabel,icon:n.icon,iconAlignment:n.iconAlignment,children:n.imageSrc?s.jsx("img",{src:n.imageSrc,alt:n.imageAlt??n.ariaLabel}):n.label},n._key??l))})}),u&&s.jsx("nav",{"aria-label":"Utility navigation",className:`${e.styles.utilityMobile} ${m?e.styles.open:""}`,children:s.jsx(te.ButtonGroup,{alignment:"center",children:s.jsx(A.Button,{as:"a",href:u.href??"/",variant:u.variant??"primary",displayType:u.displayType??"text",imageSrc:u.imageSrc,imageAlt:u.imageAlt,"aria-label":u.ariaLabel,icon:u.icon,iconAlignment:u.iconAlignment,children:u.imageSrc?s.jsx("img",{src:u.imageSrc,alt:u.imageAlt??u.ariaLabel}):u.label})})}),s.jsxs("div",{className:e.styles.mobileButtons,children:[C&&p&&s.jsx(G,{}),s.jsx("button",{ref:Q,className:e.styles.menuToggle,onClick:Z,"aria-label":m?"Close menu":"Open menu","aria-expanded":m,"aria-controls":"main-menu",children:m?s.jsx(Se.X,{size:24,"aria-hidden":"true"}):s.jsx(A.Menu,{size:24,"aria-hidden":"true"})})]})]})})}exports.Navbar=ze;
11
+ */const Me=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],Ie=ae.createLucideIcon("search",Me),Re={standard:e.styles.standard,transparent:e.styles.transparent},Be={left:e.styles.left,center:e.styles.center,right:e.styles.right},qe=({spotlight:r,renderText:x})=>{var h,E,p,g,N,L;const o=r.callToAction;if(!o)return null;const k=((h=o.linkOptions)==null?void 0:h.linkType)==="external";let y="#";return k&&((E=o.linkOptions)!=null&&E.externalUrl)?y=o.linkOptions.externalUrl:((p=o.linkOptions)==null?void 0:p.linkType)==="internal"&&((N=(g=o.linkOptions)==null?void 0:g.internalUrl)!=null&&N.slug.current)&&(y=`/${o.linkOptions.internalUrl.slug.current}`),s.jsxs("div",{className:e.styles.spotlight,children:[r.image&&s.jsx("div",{className:e.styles.imageWrapper,children:s.jsx("img",{src:((L=r.image.imageUrls)==null?void 0:L.medium)??"",alt:r.image.asset.altText||r.image.asset.description||"Content image",width:600,height:400})}),s.jsxs("div",{className:e.styles.content,children:[r.title&&s.jsx("div",{className:e.styles.title,children:x==null?void 0:x(r.title,e.styles.title)}),r.description&&s.jsx("div",{className:e.styles.description,children:x==null?void 0:x(r.description,e.styles.description)})]}),o.linkOptions&&s.jsx("div",{className:e.styles.actions,children:s.jsx(A.Button,{as:"a",variant:o.variant??"primary",href:y,target:k?"_blank":"_self",rel:k?"noopener noreferrer":void 0,"aria-label":o.ariaLabel||o.label,children:o.label})})]})};function ze({renderText:r,title:x,logo:o,items:k,groups:y,utilityItems:h,isSticky:E=!1,showSearch:p=!0,showLocaleSelect:g=!0,showThemeToggle:N=!0,themeToggleComponent:L,alignment:O="right",variant:ie="standard",navigationType:M="default",searchComponent:re,localeSelectComponent:ce,className:oe,style:de,...ue}){const[m,H]=t.useState(!1),[X,v]=t.useState(null),[ye,he]=t.useState(0),[me,be]=t.useState(!1),[fe,xe]=t.useState(null),[d,w]=t.useState([]),[I,W]=t.useState(0),[pe,J]=t.useState(null),[C,ve]=t.useState(!1),[R,B]=t.useState("forward"),D=t.useRef(null),j=t.useRef(null),Q=t.useRef(null),F=t.useRef(new Map),T=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,role:"presentation",children:s.jsx("div",{className:`${e.styles.linkItem} ${e.styles.themeToggle}`,role:"presentation",children:L})}),U=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent} ${e.styles.searchWrapper}`,children:s.jsx("div",{className:e.styles.linkItem,children:s.jsx(le.Modal,{size:"lg",className:e.styles.searchModal,trigger:s.jsx("button",{title:"Search","aria-label":"Search",className:e.styles.search,children:s.jsx(Ie,{size:16,"aria-hidden":"true"})}),content:re})})}),Y=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,children:s.jsx("div",{className:e.styles.linkItem,children:s.jsx(le.Modal,{className:e.styles.localeModal,trigger:s.jsx("button",{title:"Locale Select","aria-label":"Locale Select",className:e.styles.locale,children:s.jsx(Le,{size:16,"aria-hidden":"true"})}),content:ce})})}),q=t.useCallback(()=>{j.current&&he(j.current.getBoundingClientRect().width)},[]),Z=()=>{H(n=>{const l=!n;return l||(w([]),B("forward"),v(null)),l})},ee=t.useCallback(n=>{const l=F.current.get(n);if(l&&j.current){const c=l.getBoundingClientRect(),i=j.current.getBoundingClientRect();xe(c.left-i.left+c.width/2)}},[]),je=t.useCallback(n=>{v(l=>l===n?null:n)},[]),G=t.useCallback(n=>{D.current&&!D.current.contains(n.target)&&v(null)},[]),P=t.useCallback(()=>{q(),typeof window<"u"&&window.innerWidth>768&&(H(!1),v(null))},[q]),ke=()=>w([]),ge=n=>{B("forward"),w([{title:n.title,primary:n.primaryItems??[],secondary:n.secondaryItems??[],description:""}])},se=n=>{B("forward"),w(l=>[...l,{title:n.label,primary:n.sublinks??[],secondary:[],description:n.description}])},Ne=()=>{B("backward"),w(n=>n.slice(0,-1))};t.useEffect(()=>{if(typeof window>"u")return;const n=()=>ve(window.innerWidth<768);return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),t.useEffect(()=>{const n=typeof window<"u",l=typeof document<"u";return n&&window.addEventListener("resize",P),l&&document.addEventListener("click",G),q(),be(!0),()=>{n&&window.removeEventListener("resize",P),l&&document.removeEventListener("click",G)}},[P,G,q]),t.useEffect(()=>{if(!(typeof document>"u"))return m?setTimeout(()=>K.lockScroll(),0):K.unlockScroll(),()=>K.unlockScroll()},[m]),t.useEffect(()=>{var c;if(!m)return;if(typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(pointer: fine)").matches){const i=(c=j.current)==null?void 0:c.querySelector('a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])');i==null||i.focus()}const l=i=>{var _;if(i.key==="Escape"){Z(),(_=Q.current)==null||_.focus();return}if(i.key!=="Tab"||!j.current)return;const f=Array.from(j.current.querySelectorAll('a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(a=>!a.closest("[aria-hidden=true]"));if(f.length===0)return;const b=f[0],S=f[f.length-1];i.shiftKey?document.activeElement===b&&(i.preventDefault(),S.focus()):document.activeElement===S&&(i.preventDefault(),b.focus())};return document.addEventListener("keydown",l),()=>document.removeEventListener("keydown",l)},[m]);const z=(n,l="")=>n.map((c,i)=>{const f=`${l}/${c._key??c.label}-${i}`;return s.jsx(e.NavLink,{link:c,path:f,parentPath:l,openPath:X,togglePath:je,updateTriangleIndicator:ee,setOpenPath:v,renderLinks:z,buttonRefs:F},f)}),$e=n=>n.map((l,c)=>{var S,_;const i=`group-${c}`,f=pe===c,b=(S=l.primaryItems)==null?void 0:S[I??0];return s.jsxs("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,onMouseEnter:()=>{J(c),v(i),ee(i)},children:[s.jsx("div",{className:e.styles.linkItem,children:s.jsxs("button",{ref:a=>{F.current.set(i,a)},"aria-haspopup":!0,"aria-expanded":f,"aria-controls":`submenu-${c}`,className:`${e.styles.sublinkToggle} ${f?e.styles.open:""}`,children:[l.title,s.jsx(_e.ChevronDown,{size:18,className:e.styles.chevron,"aria-hidden":"true"})]})}),s.jsx("div",{id:`submenu-${c}`,className:`${e.styles.sublinks} ${f?e.styles.show:""}`,role:"menu","aria-label":`${l.title} submenu`,onMouseLeave:()=>{J(null),W(0),v(null)},children:s.jsx("div",{children:s.jsxs("div",{className:`${e.styles.sublinksInner} ${l.spotlight?e.styles.withSpotlight:e.styles.withoutSpotlight}`,children:[s.jsxs("div",{className:`${e.styles.sublinksColumn} ${e.styles.primaryColumn}`,children:[s.jsx("div",{className:e.styles.linkItem}),(_=l.primaryItems)==null?void 0:_.map((a,$)=>a.href?s.jsx("div",{role:"menuitem",children:s.jsxs("a",{href:a.href,className:`${e.styles.link} ${I===$?e.styles.open:""}`,target:a.isExternal?"_blank":"_self",rel:a.isExternal?"noopener noreferrer":void 0,onClick:()=>{var ne;v(null),(ne=a.onClick)==null||ne.call(a)},onMouseEnter:()=>W($),children:[s.jsxs("span",{className:e.styles.linkContent,children:[a.label,a.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:a.subtitle})]}),a.isExternal&&s.jsx(V.ExternalLink,{className:e.styles.newTabIcon,size:16,"aria-hidden":"true"})]})},a._key??$):s.jsx("div",{role:"menuitem",children:s.jsx("button",{className:`${e.styles.sublinkToggle} ${I===$?e.styles.open:""}`,onMouseEnter:()=>W($),children:s.jsxs("span",{className:e.styles.linkContent,children:[a.label,a.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:a.subtitle})]})})},a._key??$))]}),(b==null?void 0:b.sublinks)&&b.sublinks.length>0&&s.jsxs("div",{className:`${e.styles.sublinksColumn} ${e.styles.fadeInFromLeft}`,children:[b.description&&s.jsx("div",{className:e.styles.sublinksDescription,children:r==null?void 0:r(b.description)}),z(b.sublinks,`${i}-${I}`)]},`${b.label}-${b.sublinks.length}`),l.secondaryItems&&l.secondaryItems.length>0&&s.jsx("div",{className:`${e.styles.sublinksColumn} ${e.styles.secondaryColumn}`,children:z(l.secondaryItems,`${i}-secondary`)}),l.spotlight&&s.jsx("div",{className:`${e.styles.sublinksColumn} ${e.styles.spotlightColumn}`,children:s.jsx(qe,{spotlight:l.spotlight,renderText:r})})]})})})]},l._key??`group-${c}`)}),we=[e.styles.navbar,Be[O],Re[ie],E?e.styles.sticky:"",y!=null&&y.length?e.styles.advanced:e.styles.default,oe??""].filter(Boolean).join(" "),u=h&&h.length>0?h[Math.min(1,h.length-1)]:null;return s.jsx("header",{ref:D,className:we,style:de,"aria-label":"Site header",...ue,children:s.jsxs("div",{className:`${e.styles.container} ${(!h||h.length===0)&&O!=="center"?e.styles.twoColumn:""}`,children:[o?s.jsx("div",{className:e.styles.logo,children:o}):x?s.jsx("div",{className:e.styles.title,children:x}):null,s.jsx("nav",{ref:j,style:{left:O==="center"?`calc(50% - ${ye/2}px)`:"0"},"aria-modal":m?"true":void 0,className:`${e.styles.nav} ${m?e.styles.open:""} ${me?e.styles.visible:e.styles.hidden}`,id:"main-menu","aria-label":"Primary navigation",children:s.jsxs("div",{className:e.styles.navInner,children:[s.jsx("svg",{style:{left:`${fe}px`},className:`${e.styles.triangle} ${X?e.styles.show:""}`,width:16,height:12,viewBox:"0 0 100 75",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:s.jsx("polygon",{points:"50,5 95,70 5,70",strokeLinejoin:"round",fill:"white",stroke:"white"})}),M==="default"&&k&&s.jsxs("div",{className:e.styles.grid,children:[k.length>0&&s.jsx("div",{role:"menubar",className:e.styles.menubar,children:z(k)}),(p||g||N)&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:e.styles.separator,"aria-hidden":"true"}),s.jsxs("div",{role:"toolbar","aria-label":"Site controls",className:e.styles.toolbar,children:[N&&s.jsx(T,{}),p&&!C&&s.jsx(U,{}),g&&s.jsx(Y,{})]})]})]}),!C&&M==="advanced"&&y&&s.jsxs("div",{className:e.styles.grid,children:[y.length>0&&s.jsx("div",{role:"menubar",className:e.styles.menubar,children:$e(y)}),(p||g||N)&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:e.styles.separator,"aria-hidden":"true"}),s.jsxs("div",{role:"toolbar","aria-label":"Site controls",className:e.styles.toolbar,children:[N&&s.jsx(T,{}),p&&s.jsx(U,{}),g&&s.jsx(Y,{})]})]})]}),C&&M==="advanced"&&m&&d.length===0&&y&&s.jsx("div",{className:e.styles.mobileMenu,children:y.map((n,l)=>s.jsx("div",{className:`${e.styles.mobileMenuItem} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>ge(n),children:n.title})},n._key??l))}),C&&M==="advanced"&&m&&d.length>0&&s.jsxs("div",{className:e.styles.mobileMenuSlide,children:[s.jsx("button",{className:e.styles.back,"aria-label":"Go back",onClick:d.length===1?ke:Ne,children:s.jsx(Ce.ChevronLeft,{size:18,"aria-hidden":"true"})}),d[d.length-1].description&&s.jsx("div",{className:`${e.styles.sublinksDescription} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:r==null?void 0:r(d[d.length-1].description)}),d[d.length-1].primary.map((n,l)=>s.jsx("div",{role:"menuitem",className:`${e.styles.mobileMenuItem} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:n.sublinks?s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>se(n),children:s.jsxs("span",{className:e.styles.linkContent,children:[n.label,n.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:n.subtitle})]})}):s.jsxs("a",{href:n.href,className:e.styles.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,children:[s.jsxs("span",{className:e.styles.linkContent,children:[n.label,n.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:n.subtitle})]}),n.isExternal&&s.jsx(V.ExternalLink,{className:e.styles.newTabIcon,size:16,"aria-hidden":"true"})]})},n._key??`primary-${l}`)),d[d.length-1].secondary.length>0&&s.jsx("hr",{className:e.styles.groupDivider}),d[d.length-1].secondary.map((n,l)=>s.jsx("div",{role:"menuitem",className:`${e.styles.mobileMenuItem} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:n.sublinks?s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>se(n),children:n.label}):s.jsxs("a",{href:n.href,className:e.styles.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,children:[n.label,n.isExternal&&s.jsx(V.ExternalLink,{className:e.styles.newTabIcon,size:16,"aria-hidden":"true"})]})},n._key??`secondary-${l}`))]},`stack-${d.length}`)]})}),h&&h.length>0&&s.jsx("nav",{className:e.styles.utility,"aria-label":"Utility navigation",children:s.jsx(te.ButtonGroup,{children:h.map((n,l)=>s.jsx(A.Button,{as:"a",href:n.href??"/",variant:n.variant??"primary",displayType:n.displayType??"text",imageSrc:n.imageSrc,imageAlt:n.imageAlt,"aria-label":n.ariaLabel,icon:n.icon,iconAlignment:n.iconAlignment,children:n.imageSrc?s.jsx("img",{src:n.imageSrc,alt:n.imageAlt??n.ariaLabel}):n.label},n._key??l))})}),u&&s.jsx("nav",{"aria-label":"Utility navigation",className:`${e.styles.utilityMobile} ${m?e.styles.open:""}`,children:s.jsx(te.ButtonGroup,{alignment:"center",children:s.jsx(A.Button,{as:"a",href:u.href??"/",variant:u.variant??"primary",displayType:u.displayType??"text",imageSrc:u.imageSrc,imageAlt:u.imageAlt,"aria-label":u.ariaLabel,icon:u.icon,iconAlignment:u.iconAlignment,children:u.imageSrc?s.jsx("img",{src:u.imageSrc,alt:u.imageAlt??u.ariaLabel}):u.label})})}),s.jsxs("div",{className:e.styles.mobileButtons,children:[C&&p&&s.jsx(U,{}),s.jsx("button",{ref:Q,className:e.styles.menuToggle,onClick:Z,"aria-label":m?"Close menu":"Open menu","aria-expanded":m,"aria-controls":"main-menu",children:m?s.jsx(Se.X,{size:24,"aria-hidden":"true"}):s.jsx(A.Menu,{size:24,"aria-hidden":"true"})})]})]})})}exports.Navbar=ze;
@@ -1,12 +1,12 @@
1
- import { jsx as n, jsxs as i, Fragment as te } from "react/jsx-runtime";
2
- import { useState as v, useRef as F, useCallback as _, useEffect as U } from "react";
1
+ import { jsx as n, jsxs as i, Fragment as re } from "react/jsx-runtime";
2
+ import { useState as v, useRef as U, useCallback as _, useEffect as F } from "react";
3
3
  import { Modal as se } from "../Modal/index.mjs";
4
4
  import { B as J, M as ze } from "../../../index-paelIj6o.js";
5
5
  import { ButtonGroup as ce } from "../ButtonGroup/index.mjs";
6
- import { s as e, N as xe } from "../../../NavLink-DcNtOPdG.js";
6
+ import { s as e, N as xe } from "../../../NavLink-orip5ARe.js";
7
7
  import { lockScroll as Ae, unlockScroll as oe } from "../../utils/NoScroll/noScroll.mjs";
8
8
  import { C as Re } from "../../../chevron-right-Cim1KPuL.js";
9
- import { E as K } from "../../../external-link-BOPobeQJ.js";
9
+ import { E as X } from "../../../external-link-BOPobeQJ.js";
10
10
  import { X as Be } from "../../../x-CnsEH4Ox.js";
11
11
  import { c as de } from "../../../createLucideIcon-C8GTh_Qx.js";
12
12
  import { C as Oe } from "../../../chevron-down-DSUzBz9F.js";
@@ -34,10 +34,10 @@ const We = [
34
34
  * This source code is licensed under the ISC license.
35
35
  * See the LICENSE file in the root directory of this source tree.
36
36
  */
37
- const Fe = [
37
+ const Ue = [
38
38
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
39
39
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
40
- ], Ue = de("search", Fe), je = {
40
+ ], Fe = de("search", Ue), je = {
41
41
  standard: e.standard,
42
42
  transparent: e.transparent
43
43
  }, Ge = {
@@ -45,46 +45,46 @@ const Fe = [
45
45
  center: e.center,
46
46
  right: e.right
47
47
  }, Pe = ({
48
- spotlight: t,
48
+ spotlight: s,
49
49
  renderText: k
50
50
  }) => {
51
51
  var h, z, g, w, C, x;
52
- const c = t.callToAction;
53
- if (!c) return null;
54
- const $ = ((h = c.linkOptions) == null ? void 0 : h.linkType) === "external";
52
+ const o = s.callToAction;
53
+ if (!o) return null;
54
+ const $ = ((h = o.linkOptions) == null ? void 0 : h.linkType) === "external";
55
55
  let m = "#";
56
- return $ && ((z = c.linkOptions) != null && z.externalUrl) ? m = c.linkOptions.externalUrl : ((g = c.linkOptions) == null ? void 0 : g.linkType) === "internal" && ((C = (w = c.linkOptions) == null ? void 0 : w.internalUrl) != null && C.slug.current) && (m = `/${c.linkOptions.internalUrl.slug.current}`), /* @__PURE__ */ i("div", { className: e.spotlight, children: [
57
- t.image && /* @__PURE__ */ n("div", { className: e.imageWrapper, children: /* @__PURE__ */ n(
56
+ return $ && ((z = o.linkOptions) != null && z.externalUrl) ? m = o.linkOptions.externalUrl : ((g = o.linkOptions) == null ? void 0 : g.linkType) === "internal" && ((C = (w = o.linkOptions) == null ? void 0 : w.internalUrl) != null && C.slug.current) && (m = `/${o.linkOptions.internalUrl.slug.current}`), /* @__PURE__ */ i("div", { className: e.spotlight, children: [
57
+ s.image && /* @__PURE__ */ n("div", { className: e.imageWrapper, children: /* @__PURE__ */ n(
58
58
  "img",
59
59
  {
60
- src: ((x = t.image.imageUrls) == null ? void 0 : x.medium) ?? "",
61
- alt: t.image.asset.altText || t.image.asset.description || "Content image",
60
+ src: ((x = s.image.imageUrls) == null ? void 0 : x.medium) ?? "",
61
+ alt: s.image.asset.altText || s.image.asset.description || "Content image",
62
62
  width: 600,
63
63
  height: 400
64
64
  }
65
65
  ) }),
66
66
  /* @__PURE__ */ i("div", { className: e.content, children: [
67
- t.title && /* @__PURE__ */ n("div", { className: e.title, children: k == null ? void 0 : k(t.title, e.title) }),
68
- t.description && /* @__PURE__ */ n("div", { className: e.description, children: k == null ? void 0 : k(t.description, e.description) })
67
+ s.title && /* @__PURE__ */ n("div", { className: e.title, children: k == null ? void 0 : k(s.title, e.title) }),
68
+ s.description && /* @__PURE__ */ n("div", { className: e.description, children: k == null ? void 0 : k(s.description, e.description) })
69
69
  ] }),
70
- c.linkOptions && /* @__PURE__ */ n("div", { className: e.actions, children: /* @__PURE__ */ n(
70
+ o.linkOptions && /* @__PURE__ */ n("div", { className: e.actions, children: /* @__PURE__ */ n(
71
71
  J,
72
72
  {
73
73
  as: "a",
74
- variant: c.variant ?? "primary",
74
+ variant: o.variant ?? "primary",
75
75
  href: m,
76
76
  target: $ ? "_blank" : "_self",
77
77
  rel: $ ? "noopener noreferrer" : void 0,
78
- "aria-label": c.ariaLabel || c.label,
79
- children: c.label
78
+ "aria-label": o.ariaLabel || o.label,
79
+ children: o.label
80
80
  }
81
81
  ) })
82
82
  ] });
83
83
  };
84
84
  function an({
85
- renderText: t,
85
+ renderText: s,
86
86
  title: k,
87
- logo: c,
87
+ logo: o,
88
88
  items: $,
89
89
  groups: m,
90
90
  utilityItems: h,
@@ -102,9 +102,9 @@ function an({
102
102
  style: be,
103
103
  ...pe
104
104
  }) {
105
- const [f, Q] = v(!1), [Y, N] = v(null), [ve, ke] = v(0), [ge, Ne] = v(!1), [ye, $e] = v(null), [d, I] = v([]), [R, G] = v(
105
+ const [f, Q] = v(!1), [Y, N] = v(null), [ve, ke] = v(0), [ge, Ne] = v(!1), [ye, $e] = v(null), [d, E] = v([]), [R, G] = v(
106
106
  0
107
- ), [we, Z] = v(null), [M, Ce] = v(!1), [B, O] = v("forward"), P = F(null), y = F(null), T = F(null), q = F(/* @__PURE__ */ new Map()), ee = () => /* @__PURE__ */ n(
107
+ ), [we, Z] = v(null), [I, Ce] = v(!1), [B, O] = v("forward"), P = U(null), y = U(null), T = U(null), q = U(/* @__PURE__ */ new Map()), ee = () => /* @__PURE__ */ n(
108
108
  "div",
109
109
  {
110
110
  className: `${e.linkWrapper} ${e.parent}`,
@@ -118,7 +118,7 @@ function an({
118
118
  }
119
119
  )
120
120
  }
121
- ), V = () => /* @__PURE__ */ n(
121
+ ), K = () => /* @__PURE__ */ n(
122
122
  "div",
123
123
  {
124
124
  className: `${e.linkWrapper} ${e.parent} ${e.searchWrapper}`,
@@ -133,7 +133,7 @@ function an({
133
133
  title: "Search",
134
134
  "aria-label": "Search",
135
135
  className: e.search,
136
- children: /* @__PURE__ */ n(Ue, { size: 16, "aria-hidden": "true" })
136
+ children: /* @__PURE__ */ n(Fe, { size: 16, "aria-hidden": "true" })
137
137
  }
138
138
  ),
139
139
  content: me
@@ -160,22 +160,22 @@ function an({
160
160
  }, []), ae = () => {
161
161
  Q((a) => {
162
162
  const l = !a;
163
- return l || (I([]), O("forward"), N(null)), l;
163
+ return l || (E([]), O("forward"), N(null)), l;
164
164
  });
165
165
  }, le = _((a) => {
166
166
  const l = q.current.get(a);
167
167
  if (l && y.current) {
168
- const s = l.getBoundingClientRect(), o = y.current.getBoundingClientRect();
169
- $e(s.left - o.left + s.width / 2);
168
+ const c = l.getBoundingClientRect(), r = y.current.getBoundingClientRect();
169
+ $e(c.left - r.left + c.width / 2);
170
170
  }
171
- }, []), Ee = _((a) => {
171
+ }, []), Me = _((a) => {
172
172
  N((l) => l === a ? null : a);
173
- }, []), H = _((a) => {
173
+ }, []), V = _((a) => {
174
174
  P.current && !P.current.contains(a.target) && N(null);
175
- }, []), X = _(() => {
175
+ }, []), H = _(() => {
176
176
  W(), typeof window < "u" && window.innerWidth > 768 && (Q(!1), N(null));
177
- }, [W]), Ie = () => I([]), Me = (a) => {
178
- O("forward"), I([
177
+ }, [W]), Ee = () => E([]), Ie = (a) => {
178
+ O("forward"), E([
179
179
  {
180
180
  title: a.title,
181
181
  primary: a.primaryItems ?? [],
@@ -184,7 +184,7 @@ function an({
184
184
  }
185
185
  ]);
186
186
  }, ie = (a) => {
187
- O("forward"), I((l) => [
187
+ O("forward"), E((l) => [
188
188
  ...l,
189
189
  {
190
190
  title: a.label,
@@ -194,55 +194,57 @@ function an({
194
194
  }
195
195
  ]);
196
196
  }, Le = () => {
197
- O("backward"), I((a) => a.slice(0, -1));
197
+ O("backward"), E((a) => a.slice(0, -1));
198
198
  };
199
- U(() => {
199
+ F(() => {
200
200
  if (typeof window > "u") return;
201
201
  const a = () => Ce(window.innerWidth < 768);
202
202
  return a(), window.addEventListener("resize", a), () => window.removeEventListener("resize", a);
203
- }, []), U(() => {
203
+ }, []), F(() => {
204
204
  const a = typeof window < "u", l = typeof document < "u";
205
- return a && window.addEventListener("resize", X), l && document.addEventListener("click", H), W(), Ne(!0), () => {
206
- a && window.removeEventListener("resize", X), l && document.removeEventListener("click", H);
205
+ return a && window.addEventListener("resize", H), l && document.addEventListener("click", V), W(), Ne(!0), () => {
206
+ a && window.removeEventListener("resize", H), l && document.removeEventListener("click", V);
207
207
  };
208
- }, [X, H, W]), U(() => {
208
+ }, [H, V, W]), F(() => {
209
209
  if (!(typeof document > "u"))
210
210
  return f ? setTimeout(() => Ae(), 0) : oe(), () => oe();
211
- }, [f]), U(() => {
212
- var s;
211
+ }, [f]), F(() => {
212
+ var c;
213
213
  if (!f) return;
214
- const a = (s = y.current) == null ? void 0 : s.querySelector(
215
- 'a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])'
216
- );
217
- a == null || a.focus();
218
- const l = (o) => {
214
+ if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(pointer: fine)").matches) {
215
+ const r = (c = y.current) == null ? void 0 : c.querySelector(
216
+ 'a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])'
217
+ );
218
+ r == null || r.focus();
219
+ }
220
+ const l = (r) => {
219
221
  var S;
220
- if (o.key === "Escape") {
222
+ if (r.key === "Escape") {
221
223
  ae(), (S = T.current) == null || S.focus();
222
224
  return;
223
225
  }
224
- if (o.key !== "Tab" || !y.current) return;
226
+ if (r.key !== "Tab" || !y.current) return;
225
227
  const p = Array.from(
226
228
  y.current.querySelectorAll(
227
229
  'a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])'
228
230
  )
229
- ).filter((r) => !r.closest("[aria-hidden=true]"));
231
+ ).filter((t) => !t.closest("[aria-hidden=true]"));
230
232
  if (p.length === 0) return;
231
233
  const b = p[0], L = p[p.length - 1];
232
- o.shiftKey ? document.activeElement === b && (o.preventDefault(), L.focus()) : document.activeElement === L && (o.preventDefault(), b.focus());
234
+ r.shiftKey ? document.activeElement === b && (r.preventDefault(), L.focus()) : document.activeElement === L && (r.preventDefault(), b.focus());
233
235
  };
234
236
  return document.addEventListener("keydown", l), () => document.removeEventListener("keydown", l);
235
237
  }, [f]);
236
- const D = (a, l = "") => a.map((s, o) => {
237
- const p = `${l}/${s._key ?? s.label}-${o}`;
238
+ const D = (a, l = "") => a.map((c, r) => {
239
+ const p = `${l}/${c._key ?? c.label}-${r}`;
238
240
  return /* @__PURE__ */ n(
239
241
  xe,
240
242
  {
241
- link: s,
243
+ link: c,
242
244
  path: p,
243
245
  parentPath: l,
244
246
  openPath: Y,
245
- togglePath: Ee,
247
+ togglePath: Me,
246
248
  updateTriangleIndicator: le,
247
249
  setOpenPath: N,
248
250
  renderLinks: D,
@@ -250,26 +252,26 @@ function an({
250
252
  },
251
253
  p
252
254
  );
253
- }), Se = (a) => a.map((l, s) => {
255
+ }), Se = (a) => a.map((l, c) => {
254
256
  var L, S;
255
- const o = `group-${s}`, p = we === s, b = (L = l.primaryItems) == null ? void 0 : L[R ?? 0];
257
+ const r = `group-${c}`, p = we === c, b = (L = l.primaryItems) == null ? void 0 : L[R ?? 0];
256
258
  return /* @__PURE__ */ i(
257
259
  "div",
258
260
  {
259
261
  className: `${e.linkWrapper} ${e.parent}`,
260
262
  onMouseEnter: () => {
261
- Z(s), N(o), le(o);
263
+ Z(c), N(r), le(r);
262
264
  },
263
265
  children: [
264
266
  /* @__PURE__ */ n("div", { className: e.linkItem, children: /* @__PURE__ */ i(
265
267
  "button",
266
268
  {
267
- ref: (r) => {
268
- q.current.set(o, r);
269
+ ref: (t) => {
270
+ q.current.set(r, t);
269
271
  },
270
272
  "aria-haspopup": !0,
271
273
  "aria-expanded": p,
272
- "aria-controls": `submenu-${s}`,
274
+ "aria-controls": `submenu-${c}`,
273
275
  className: `${e.sublinkToggle} ${p ? e.open : ""}`,
274
276
  children: [
275
277
  l.title,
@@ -287,7 +289,7 @@ function an({
287
289
  /* @__PURE__ */ n(
288
290
  "div",
289
291
  {
290
- id: `submenu-${s}`,
292
+ id: `submenu-${c}`,
291
293
  className: `${e.sublinks} ${p ? e.show : ""}`,
292
294
  role: "menu",
293
295
  "aria-label": `${l.title} submenu`,
@@ -306,25 +308,25 @@ function an({
306
308
  children: [
307
309
  /* @__PURE__ */ n("div", { className: e.linkItem }),
308
310
  (S = l.primaryItems) == null ? void 0 : S.map(
309
- (r, E) => r.href ? /* @__PURE__ */ n("div", { role: "menuitem", children: /* @__PURE__ */ i(
311
+ (t, M) => t.href ? /* @__PURE__ */ n("div", { role: "menuitem", children: /* @__PURE__ */ i(
310
312
  "a",
311
313
  {
312
- href: r.href,
313
- className: `${e.link} ${R === E ? e.open : ""}`,
314
- target: r.isExternal ? "_blank" : "_self",
315
- rel: r.isExternal ? "noopener noreferrer" : void 0,
314
+ href: t.href,
315
+ className: `${e.link} ${R === M ? e.open : ""}`,
316
+ target: t.isExternal ? "_blank" : "_self",
317
+ rel: t.isExternal ? "noopener noreferrer" : void 0,
316
318
  onClick: () => {
317
- var re;
318
- N(null), (re = r.onClick) == null || re.call(r);
319
+ var te;
320
+ N(null), (te = t.onClick) == null || te.call(t);
319
321
  },
320
- onMouseEnter: () => G(E),
322
+ onMouseEnter: () => G(M),
321
323
  children: [
322
324
  /* @__PURE__ */ i("span", { className: e.linkContent, children: [
323
- r.label,
324
- r.subtitle && /* @__PURE__ */ n("span", { className: e.subtitle, children: r.subtitle })
325
+ t.label,
326
+ t.subtitle && /* @__PURE__ */ n("span", { className: e.subtitle, children: t.subtitle })
325
327
  ] }),
326
- r.isExternal && /* @__PURE__ */ n(
327
- K,
328
+ t.isExternal && /* @__PURE__ */ n(
329
+ X,
328
330
  {
329
331
  className: e.newTabIcon,
330
332
  size: 16,
@@ -333,17 +335,17 @@ function an({
333
335
  )
334
336
  ]
335
337
  }
336
- ) }, r._key ?? E) : /* @__PURE__ */ n("div", { role: "menuitem", children: /* @__PURE__ */ n(
338
+ ) }, t._key ?? M) : /* @__PURE__ */ n("div", { role: "menuitem", children: /* @__PURE__ */ n(
337
339
  "button",
338
340
  {
339
- className: `${e.sublinkToggle} ${R === E ? e.open : ""}`,
340
- onMouseEnter: () => G(E),
341
+ className: `${e.sublinkToggle} ${R === M ? e.open : ""}`,
342
+ onMouseEnter: () => G(M),
341
343
  children: /* @__PURE__ */ i("span", { className: e.linkContent, children: [
342
- r.label,
343
- r.subtitle && /* @__PURE__ */ n("span", { className: e.subtitle, children: r.subtitle })
344
+ t.label,
345
+ t.subtitle && /* @__PURE__ */ n("span", { className: e.subtitle, children: t.subtitle })
344
346
  ] })
345
347
  }
346
- ) }, r._key ?? E)
348
+ ) }, t._key ?? M)
347
349
  )
348
350
  ]
349
351
  }
@@ -353,10 +355,10 @@ function an({
353
355
  {
354
356
  className: `${e.sublinksColumn} ${e.fadeInFromLeft}`,
355
357
  children: [
356
- b.description && /* @__PURE__ */ n("div", { className: e.sublinksDescription, children: t == null ? void 0 : t(b.description) }),
358
+ b.description && /* @__PURE__ */ n("div", { className: e.sublinksDescription, children: s == null ? void 0 : s(b.description) }),
357
359
  D(
358
360
  b.sublinks,
359
- `${o}-${R}`
361
+ `${r}-${R}`
360
362
  )
361
363
  ]
362
364
  },
@@ -366,7 +368,7 @@ function an({
366
368
  "div",
367
369
  {
368
370
  className: `${e.sublinksColumn} ${e.secondaryColumn}`,
369
- children: D(l.secondaryItems, `${o}-secondary`)
371
+ children: D(l.secondaryItems, `${r}-secondary`)
370
372
  }
371
373
  ),
372
374
  l.spotlight && /* @__PURE__ */ n(
@@ -377,7 +379,7 @@ function an({
377
379
  Pe,
378
380
  {
379
381
  spotlight: l.spotlight,
380
- renderText: t
382
+ renderText: s
381
383
  }
382
384
  )
383
385
  }
@@ -389,7 +391,7 @@ function an({
389
391
  )
390
392
  ]
391
393
  },
392
- l._key ?? `group-${s}`
394
+ l._key ?? `group-${c}`
393
395
  );
394
396
  }), _e = [
395
397
  e.navbar,
@@ -412,7 +414,7 @@ function an({
412
414
  {
413
415
  className: `${e.container} ${(!h || h.length === 0) && j !== "center" ? e.twoColumn : ""}`,
414
416
  children: [
415
- c ? /* @__PURE__ */ n("div", { className: e.logo, children: c }) : k ? /* @__PURE__ */ n("div", { className: e.title, children: k }) : null,
417
+ o ? /* @__PURE__ */ n("div", { className: e.logo, children: o }) : k ? /* @__PURE__ */ n("div", { className: e.title, children: k }) : null,
416
418
  /* @__PURE__ */ n(
417
419
  "nav",
418
420
  {
@@ -448,7 +450,7 @@ function an({
448
450
  ),
449
451
  A === "default" && $ && /* @__PURE__ */ i("div", { className: e.grid, children: [
450
452
  $.length > 0 && /* @__PURE__ */ n("div", { role: "menubar", className: e.menubar, children: D($) }),
451
- (g || w || C) && /* @__PURE__ */ i(te, { children: [
453
+ (g || w || C) && /* @__PURE__ */ i(re, { children: [
452
454
  /* @__PURE__ */ n("span", { className: e.separator, "aria-hidden": "true" }),
453
455
  /* @__PURE__ */ i(
454
456
  "div",
@@ -458,16 +460,16 @@ function an({
458
460
  className: e.toolbar,
459
461
  children: [
460
462
  C && /* @__PURE__ */ n(ee, {}),
461
- g && !M && /* @__PURE__ */ n(V, {}),
463
+ g && !I && /* @__PURE__ */ n(K, {}),
462
464
  w && /* @__PURE__ */ n(ne, {})
463
465
  ]
464
466
  }
465
467
  )
466
468
  ] })
467
469
  ] }),
468
- !M && A === "advanced" && m && /* @__PURE__ */ i("div", { className: e.grid, children: [
470
+ !I && A === "advanced" && m && /* @__PURE__ */ i("div", { className: e.grid, children: [
469
471
  m.length > 0 && /* @__PURE__ */ n("div", { role: "menubar", className: e.menubar, children: Se(m) }),
470
- (g || w || C) && /* @__PURE__ */ i(te, { children: [
472
+ (g || w || C) && /* @__PURE__ */ i(re, { children: [
471
473
  /* @__PURE__ */ n("span", { className: e.separator, "aria-hidden": "true" }),
472
474
  /* @__PURE__ */ i(
473
475
  "div",
@@ -477,14 +479,14 @@ function an({
477
479
  className: e.toolbar,
478
480
  children: [
479
481
  C && /* @__PURE__ */ n(ee, {}),
480
- g && /* @__PURE__ */ n(V, {}),
482
+ g && /* @__PURE__ */ n(K, {}),
481
483
  w && /* @__PURE__ */ n(ne, {})
482
484
  ]
483
485
  }
484
486
  )
485
487
  ] })
486
488
  ] }),
487
- M && A === "advanced" && f && d.length === 0 && m && /* @__PURE__ */ n("div", { className: e.mobileMenu, children: m.map((a, l) => /* @__PURE__ */ n(
489
+ I && A === "advanced" && f && d.length === 0 && m && /* @__PURE__ */ n("div", { className: e.mobileMenu, children: m.map((a, l) => /* @__PURE__ */ n(
488
490
  "div",
489
491
  {
490
492
  className: `${e.mobileMenuItem} ${B === "forward" ? e.fadeInFromLeft : e.fadeInFromRight}`,
@@ -492,14 +494,14 @@ function an({
492
494
  "button",
493
495
  {
494
496
  className: e.sublinkToggle,
495
- onClick: () => Me(a),
497
+ onClick: () => Ie(a),
496
498
  children: a.title
497
499
  }
498
500
  )
499
501
  },
500
502
  a._key ?? l
501
503
  )) }),
502
- M && A === "advanced" && f && d.length > 0 && /* @__PURE__ */ i(
504
+ I && A === "advanced" && f && d.length > 0 && /* @__PURE__ */ i(
503
505
  "div",
504
506
  {
505
507
  className: e.mobileMenuSlide,
@@ -509,7 +511,7 @@ function an({
509
511
  {
510
512
  className: e.back,
511
513
  "aria-label": "Go back",
512
- onClick: d.length === 1 ? Ie : Le,
514
+ onClick: d.length === 1 ? Ee : Le,
513
515
  children: /* @__PURE__ */ n(Re, { size: 18, "aria-hidden": "true" })
514
516
  }
515
517
  ),
@@ -517,7 +519,7 @@ function an({
517
519
  "div",
518
520
  {
519
521
  className: `${e.sublinksDescription} ${B === "forward" ? e.fadeInFromLeft : e.fadeInFromRight}`,
520
- children: t == null ? void 0 : t(
522
+ children: s == null ? void 0 : s(
521
523
  d[d.length - 1].description
522
524
  )
523
525
  }
@@ -550,7 +552,7 @@ function an({
550
552
  a.subtitle && /* @__PURE__ */ n("span", { className: e.subtitle, children: a.subtitle })
551
553
  ] }),
552
554
  a.isExternal && /* @__PURE__ */ n(
553
- K,
555
+ X,
554
556
  {
555
557
  className: e.newTabIcon,
556
558
  size: 16,
@@ -587,7 +589,7 @@ function an({
587
589
  children: [
588
590
  a.label,
589
591
  a.isExternal && /* @__PURE__ */ n(
590
- K,
592
+ X,
591
593
  {
592
594
  className: e.newTabIcon,
593
595
  size: 16,
@@ -659,7 +661,7 @@ function an({
659
661
  }
660
662
  ),
661
663
  /* @__PURE__ */ i("div", { className: e.mobileButtons, children: [
662
- M && g && /* @__PURE__ */ n(V, {}),
664
+ I && g && /* @__PURE__ */ n(K, {}),
663
665
  /* @__PURE__ */ n(
664
666
  "button",
665
667
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quirk-ui",
3
3
  "private": false,
4
- "version": "0.1.90",
4
+ "version": "0.1.92",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
@@ -1 +0,0 @@
1
- "use strict";require('./NavLink.css');const o=require("react/jsx-runtime"),w=require("react"),b=require("./external-link-DDShu-48.cjs"),g=require("./chevron-down-DfK1XBl3.cjs"),h="_navbar_9kqkw_1",p="_sticky_9kqkw_15",v="_left_9kqkw_31",f="_container_9kqkw_32",I="_logo_9kqkw_36",C="_nav_9kqkw_1",M="_center_9kqkw_51",y="_hidden_9kqkw_59",x="_visible_9kqkw_66",T="_right_9kqkw_81",N="_title_9kqkw_88",j="_linkWrapper_9kqkw_98",S="_parent_9kqkw_98",W="_linkItem_9kqkw_105",$="_link_9kqkw_98",D="_search_9kqkw_111",L="_locale_9kqkw_112",E="_themeToggle_9kqkw_113",F="_sublinkToggle_9kqkw_114",R="_standard_9kqkw_165",B="_triangle_9kqkw_173",z="_twoColumn_9kqkw_202",A="_mobileButtons_9kqkw_211",G="_menuToggle_9kqkw_289",H="_utilityMobile_9kqkw_307",J="_utility_9kqkw_307",K="_navInner_9kqkw_335",Q="_grid_9kqkw_346",U="_searchModal_9kqkw_369",V="_localeModal_9kqkw_370",X="_separator_9kqkw_390",Y="_newTabIcon_9kqkw_423",Z="_sublinksDescription_9kqkw_436",O="_linkContent_9kqkw_439",P="_open_9kqkw_452",nn="_back_9kqkw_476",en="_sublinks_9kqkw_436",on="_show_9kqkw_525",tn="_primaryColumn_9kqkw_574",sn="_secondaryColumn_9kqkw_583",_n="_spotlightColumn_9kqkw_587",ln="_sublinksInner_9kqkw_591",rn="_sublinksColumn_9kqkw_610",kn="_chevron_9kqkw_620",cn="_menubar_9kqkw_632",an="_toolbar_9kqkw_636",un="_advanced_9kqkw_828",wn="_subtitle_9kqkw_837",dn="_withSpotlight_9kqkw_879",mn="_withoutSpotlight_9kqkw_883",qn="_transparent_9kqkw_921",bn="_groupDivider_9kqkw_1032",gn="_searchWrapper_9kqkw_1040",hn="_mobileMenu_9kqkw_1047",pn="_mobileMenuSlide_9kqkw_1048",vn="_mobileMenuItem_9kqkw_1058",fn="_fadeInFromLeft_9kqkw_1062",In="_fadeInFromRight_9kqkw_1066",Cn="_spotlight_9kqkw_587",Mn="_imageWrapper_9kqkw_1076",yn="_content_9kqkw_1098",xn="_description_9kqkw_1113",Tn="_actions_9kqkw_1117",e={navbar:h,sticky:p,left:v,container:f,logo:I,nav:C,center:M,hidden:y,visible:x,right:T,title:N,linkWrapper:j,parent:S,linkItem:W,link:$,search:D,locale:L,themeToggle:E,sublinkToggle:F,standard:R,triangle:B,twoColumn:z,mobileButtons:A,menuToggle:G,utilityMobile:H,utility:J,navInner:K,grid:Q,searchModal:U,localeModal:V,separator:X,newTabIcon:Y,sublinksDescription:Z,linkContent:O,open:P,back:nn,sublinks:en,show:on,primaryColumn:tn,secondaryColumn:sn,spotlightColumn:_n,sublinksInner:ln,sublinksColumn:rn,chevron:kn,menubar:cn,toolbar:an,default:"_default_9kqkw_759",advanced:un,subtitle:wn,withSpotlight:dn,withoutSpotlight:mn,transparent:qn,groupDivider:bn,searchWrapper:gn,mobileMenu:hn,mobileMenuSlide:pn,mobileMenuItem:vn,fadeInFromLeft:fn,fadeInFromRight:In,spotlight:Cn,imageWrapper:Mn,content:yn,description:xn,actions:Tn};function Nn({link:n,path:t,parentPath:r,openPath:d,togglePath:k,updateTriangleIndicator:m,setOpenPath:_,renderLinks:q,buttonRefs:i}){var a;const l=d===t,s=!!((a=n.sublinks)!=null&&a.length),c=w.useRef(null);return w.useEffect(()=>(i.current.set(t,c.current),()=>{i.current.delete(t)}),[t,i]),o.jsxs("div",{role:"menuitem",className:`${e.linkWrapper} ${r?"":e.parent}`,children:[o.jsx("div",{className:e.linkItem,children:n.href?o.jsxs("a",{href:n.href,className:e.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,onClick:()=>{var u;_(null),(u=n.onClick)==null||u.call(n)},onMouseEnter:()=>{r||_(null)},children:[n.label,n.isExternal&&o.jsx(b.ExternalLink,{className:e.newTabIcon,size:16,"aria-hidden":"true"})]}):o.jsxs("button",{ref:c,"aria-haspopup":s?!0:void 0,"aria-expanded":s?l:void 0,className:`${e.sublinkToggle} ${l?e.open:""}`,onClick:()=>k(t),onMouseEnter:()=>{m(t),_(t)},children:[n.label,s&&o.jsx(g.ChevronDown,{size:18,className:e.chevron,"aria-hidden":"true"})]})}),s&&o.jsx("div",{className:`${e.sublinks} ${l?e.show:""}`,onMouseLeave:()=>k(t),role:"menu","aria-label":`${n.label} submenu`,children:o.jsx("div",{children:o.jsx("div",{className:e.sublinksInner,children:o.jsx("div",{className:e.sublinksColumn,children:q(n.sublinks,t)})})})})]})}exports.NavLink=Nn;exports.styles=e;
@@ -1,159 +0,0 @@
1
- import { jsxs as r, jsx as t } from "react/jsx-runtime";
2
- import { useRef as q, useEffect as p } from "react";
3
- import { E as g } from "./external-link-BOPobeQJ.js";
4
- import { C as h } from "./chevron-down-DSUzBz9F.js";
5
- import './NavLink.css';const v = "_navbar_9kqkw_1", f = "_sticky_9kqkw_15", C = "_left_9kqkw_31", I = "_container_9kqkw_32", M = "_logo_9kqkw_36", y = "_nav_9kqkw_1", T = "_center_9kqkw_51", N = "_hidden_9kqkw_59", S = "_visible_9kqkw_66", W = "_right_9kqkw_81", x = "_title_9kqkw_88", E = "_linkWrapper_9kqkw_98", D = "_parent_9kqkw_98", $ = "_linkItem_9kqkw_105", F = "_link_9kqkw_98", L = "_search_9kqkw_111", B = "_locale_9kqkw_112", R = "_themeToggle_9kqkw_113", j = "_sublinkToggle_9kqkw_114", z = "_standard_9kqkw_165", A = "_triangle_9kqkw_173", G = "_twoColumn_9kqkw_202", H = "_mobileButtons_9kqkw_211", J = "_menuToggle_9kqkw_289", K = "_utilityMobile_9kqkw_307", Q = "_utility_9kqkw_307", U = "_navInner_9kqkw_335", V = "_grid_9kqkw_346", X = "_searchModal_9kqkw_369", Y = "_localeModal_9kqkw_370", Z = "_separator_9kqkw_390", O = "_newTabIcon_9kqkw_423", P = "_sublinksDescription_9kqkw_436", nn = "_linkContent_9kqkw_439", en = "_open_9kqkw_452", on = "_back_9kqkw_476", tn = "_sublinks_9kqkw_436", sn = "_show_9kqkw_525", _n = "_primaryColumn_9kqkw_574", ln = "_secondaryColumn_9kqkw_583", rn = "_spotlightColumn_9kqkw_587", kn = "_sublinksInner_9kqkw_591", an = "_sublinksColumn_9kqkw_610", cn = "_chevron_9kqkw_620", un = "_menubar_9kqkw_632", wn = "_toolbar_9kqkw_636", mn = "_advanced_9kqkw_828", dn = "_subtitle_9kqkw_837", bn = "_withSpotlight_9kqkw_879", qn = "_withoutSpotlight_9kqkw_883", pn = "_transparent_9kqkw_921", gn = "_groupDivider_9kqkw_1032", hn = "_searchWrapper_9kqkw_1040", vn = "_mobileMenu_9kqkw_1047", fn = "_mobileMenuSlide_9kqkw_1048", Cn = "_mobileMenuItem_9kqkw_1058", In = "_fadeInFromLeft_9kqkw_1062", Mn = "_fadeInFromRight_9kqkw_1066", yn = "_spotlight_9kqkw_587", Tn = "_imageWrapper_9kqkw_1076", Nn = "_content_9kqkw_1098", Sn = "_description_9kqkw_1113", Wn = "_actions_9kqkw_1117", e = {
6
- navbar: v,
7
- sticky: f,
8
- left: C,
9
- container: I,
10
- logo: M,
11
- nav: y,
12
- center: T,
13
- hidden: N,
14
- visible: S,
15
- right: W,
16
- title: x,
17
- linkWrapper: E,
18
- parent: D,
19
- linkItem: $,
20
- link: F,
21
- search: L,
22
- locale: B,
23
- themeToggle: R,
24
- sublinkToggle: j,
25
- standard: z,
26
- triangle: A,
27
- twoColumn: G,
28
- mobileButtons: H,
29
- menuToggle: J,
30
- utilityMobile: K,
31
- utility: Q,
32
- navInner: U,
33
- grid: V,
34
- searchModal: X,
35
- localeModal: Y,
36
- separator: Z,
37
- newTabIcon: O,
38
- sublinksDescription: P,
39
- linkContent: nn,
40
- open: en,
41
- back: on,
42
- sublinks: tn,
43
- show: sn,
44
- primaryColumn: _n,
45
- secondaryColumn: ln,
46
- spotlightColumn: rn,
47
- sublinksInner: kn,
48
- sublinksColumn: an,
49
- chevron: cn,
50
- menubar: un,
51
- toolbar: wn,
52
- default: "_default_9kqkw_759",
53
- advanced: mn,
54
- subtitle: dn,
55
- withSpotlight: bn,
56
- withoutSpotlight: qn,
57
- transparent: pn,
58
- groupDivider: gn,
59
- searchWrapper: hn,
60
- mobileMenu: vn,
61
- mobileMenuSlide: fn,
62
- mobileMenuItem: Cn,
63
- fadeInFromLeft: In,
64
- fadeInFromRight: Mn,
65
- spotlight: yn,
66
- imageWrapper: Tn,
67
- content: Nn,
68
- description: Sn,
69
- actions: Wn
70
- };
71
- function Fn({
72
- link: n,
73
- path: o,
74
- parentPath: k,
75
- openPath: m,
76
- togglePath: a,
77
- updateTriangleIndicator: d,
78
- setOpenPath: _,
79
- renderLinks: b,
80
- buttonRefs: i
81
- }) {
82
- var u;
83
- const l = m === o, s = !!((u = n.sublinks) != null && u.length), c = q(null);
84
- return p(() => (i.current.set(o, c.current), () => {
85
- i.current.delete(o);
86
- }), [o, i]), /* @__PURE__ */ r(
87
- "div",
88
- {
89
- role: "menuitem",
90
- className: `${e.linkWrapper} ${k ? "" : e.parent}`,
91
- children: [
92
- /* @__PURE__ */ t("div", { className: e.linkItem, children: n.href ? /* @__PURE__ */ r(
93
- "a",
94
- {
95
- href: n.href,
96
- className: e.link,
97
- target: n.isExternal ? "_blank" : "_self",
98
- rel: n.isExternal ? "noopener noreferrer" : void 0,
99
- onClick: () => {
100
- var w;
101
- _(null), (w = n.onClick) == null || w.call(n);
102
- },
103
- onMouseEnter: () => {
104
- k || _(null);
105
- },
106
- children: [
107
- n.label,
108
- n.isExternal && /* @__PURE__ */ t(
109
- g,
110
- {
111
- className: e.newTabIcon,
112
- size: 16,
113
- "aria-hidden": "true"
114
- }
115
- )
116
- ]
117
- }
118
- ) : /* @__PURE__ */ r(
119
- "button",
120
- {
121
- ref: c,
122
- "aria-haspopup": s ? !0 : void 0,
123
- "aria-expanded": s ? l : void 0,
124
- className: `${e.sublinkToggle} ${l ? e.open : ""}`,
125
- onClick: () => a(o),
126
- onMouseEnter: () => {
127
- d(o), _(o);
128
- },
129
- children: [
130
- n.label,
131
- s && /* @__PURE__ */ t(
132
- h,
133
- {
134
- size: 18,
135
- className: e.chevron,
136
- "aria-hidden": "true"
137
- }
138
- )
139
- ]
140
- }
141
- ) }),
142
- s && /* @__PURE__ */ t(
143
- "div",
144
- {
145
- className: `${e.sublinks} ${l ? e.show : ""}`,
146
- onMouseLeave: () => a(o),
147
- role: "menu",
148
- "aria-label": `${n.label} submenu`,
149
- children: /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("div", { className: e.sublinksInner, children: /* @__PURE__ */ t("div", { className: e.sublinksColumn, children: b(n.sublinks, o) }) }) })
150
- }
151
- )
152
- ]
153
- }
154
- );
155
- }
156
- export {
157
- Fn as N,
158
- e as s
159
- };