PageSourceSearch

https://www.comptia.org/_next/static/chunks/865-c016f94cb594a5cc.js

js comptia.org collected 2026-09-24 07:51:08 UTC 102,001 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[865],{308:(e,t,l)=>{l.d(t,{A:()=>n});var r=l(2115);let n=function(e){(0,r.useEffect)(()=>{let t=t=>{"Escape"===t.key&&e.forEach(e=>e())};return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}},[e])}},780:(e,t,l)=>{l.d(t,{CartProvider:()=>d,_:()=>u});var r=l(5155),n=l(2115);let a=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5e3,r=new AbortController,n=r.signal,a=setTimeout(()=>r.abort(),l);try{return await fetch(e,{...t,signal:n})}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)throw Error("Request timed out");throw e}finally{clearTimeout(a)}};var o=l(63),i=l(8479),s=l(4354);let c=(0,n.createContext)(void 0),d=e=>{let{children:t}=e,[l,d]=(0,n.useState)(null),[u,x]=(0,n.useState)("en-us"),[h,f]=(0,n.useState)(!1),[p,m]=(0,n.useState)(null),[b,g]=(0,n.useState)(""),v=(0,o.usePathname)();(0,n.useEffect)(()=>{b&&w()},[b]),(0,n.useEffect)(()=>{var e,t,l,r;let n=/^([a-z]{2})(-[a-z]{2})?$/i,a=null==v||null==(t=v.split("/"))||null==(e=t[1])?void 0:e.toLowerCase();if(!n.test(a)){let e=null==v||null==(r=v.split("/"))||null==(l=r[4])?void 0:l.toLowerCase();a=n.test(e)?e:"en-us"}x(a),g(s.nN[a])},[v]);let w=async()=>{try{f(!0),m(null);let e=await fetch("".concat(i.A,"/api/get-cart/"),{headers:{"Content-Type":"application/json","Accept-Language":u,ssoMarket:b,...!1},credentials:"include"}),t=await e.json();d(t.error?null:t)}catch(e){m(e.message)}finally{f(!1)}},y=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{if(m(null),"undefined"!=typeof navigator&&!navigator.onLine)return m("OfflineError"),null;let r=await a("".concat(i.A,"/api/").concat(t?"update-cart":"add-to-cart","/"),{headers:{"Content-Type":"application/json","Accept-Language":u,ssoMarket:b,...!1,...l&&{"X-Bypass-Market-Check":"true"}},credentials:"include",body:JSON.stringify(e),method:"POST"},1e4),n=await r.json();return n&&n.itemsCount>0&&d(n),n}catch(e){return"AbortError"===e.name?m("RequestCancelledError"):"Request timed out"===e.message?m("TimeoutError"):e.message.includes("fetch")||e.message.includes("Failed to fetch")?m("ConnectionError"):m("DefaultError"),null}};return(0,r.jsx)(c.Provider,{value:{miniCartData:l,getMiniCart:w,addToCart:y,region:u,setRegion:x,ssoMarket:b,loading:h,error:p},children:t})},u=()=>{let e=(0,n.useContext)(c);if(!e)throw Error("useCart must be used within a CartProvider");return e}},1227:(e,t,l)=>{l.d(t,{Header:()=>M,default:()=>U});var r=l(5155),n=l(2115),a=l(63),o=l(5203),i=l.n(o),s=l(3149),c=l(8189),d=l(7631),u=l(5464),x=l(1469),h=l(6755),f=l(8207),p=l(8566),m=l(4354),b=l(8164);let g=n.memo(e=>{var t,l,a,o,s,c;let{content:d,setShowMiniCart:g,closeAriaLabel:v,miniCartAriaLabel:w}=e,[y,C]=(0,n.useState)({});return(0,n.useEffect)(()=>{if(void 0!==window){let e=(0,f.Ri)(m.nH);e&&C((0,h.A)(e||""))}},[h.A,f.Ri]),(0,r.jsx)("div",{...(0,b.HP)("MiniCart","container"),className:i()("z-50 fixed rounded-corner-0/0/8/8 top-16 bottom-[max(-4px,calc(100vh-594px))] left-0 w-full overflow-hidden xl:absolute xl:rounded-corner-16 xl:rounded-tl-corner-4 xl:mt-8 xl:top-full xl:bottom-auto xl:left-auto xl:right-0 xl:w-[560px] xl:max-h-[528px] transition-all ease-in-out bg-background-white shadow-alternate"),id:"minicart-panel",children:(0,r.jsxs)("div",{className:"p-6 max-h-[492px] h-full overflow-y-auto w-full relative",children:[(0,r.jsxs)("div",{className:"flex flex-col justify-between gap-5 h-full",children:[(0,r.jsxs)("div",{className:"flex pr-10 items-start flex-col gap-3",children:[(0,r.jsx)("h3",{className:"text-d-md-body font-medium",children:"".concat(null==d?void 0:d.myItemsLabel," (").concat(null==d?void 0:d.itemsCount,")")}),y.alpha2country===m.nN[p.T.JP]&&(null==d?void 0:d.japaneseNoticeLabel)&&(0,r.jsx)("p",{className:"text-d-xxsmall-body text-content-secondary mb-1",children:null==d?void 0:d.japaneseNoticeLabel})]}),(0,r.jsx)("div",{className:"w-[103%]",children:(0,r.jsxs)("table",{className:"h-auto mr-5 w-[-webkit-fill-available]",role:"table","aria-label":w,children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{className:"h-[48px]",children:[(0,r.jsx)("th",{className:"w-[60%] sr-only",children:null==d?void 0:d.productLabel}),(0,r.jsx)("th",{className:"w-[20%] text-d-xxsmall-body font-medium text-center",scope:"col",children:null==d?void 0:d.quantityLabel}),(0,r.jsx)("th",{className:"w-[20%] text-d-xxsmall-body font-medium text-right",scope:"col",children:null==d?void 0:d.myPriceLabel})]})}),(0,r.jsx)("tbody",{children:null==d||null==(l=d.items)||null==(t=l.map)?void 0:t.call(l,(e,t)=>{let{productName:l,totalDiscountedPrice:n,quantity:a,variantName:o,hasFmc:i,courseDuration:s}=e;return(0,r.jsxs)("tr",{...(0,b.Mu)("MiniCart","item",t),className:"items-start border-y border-background-surface xl:h-[72px]",children:[(0,r.jsx)("td",{className:"text-m-sm-body font-medium py-3",children:(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)("p",{className:"pb-0 font-semibold text-xsm-body",children:l}),i&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"mt-2 text-xsm-body",children:o}),(0,r.jsx)("p",{className:"text-d-xxsmall-body text-content-tertiary",children:s})]})]})}),(0,r.jsx)("td",{className:"text-center font-medium",children:a}),(0,r.jsxs)("td",{className:"text-m-sm-body font-semibold text-right text-nowrap",children:[new Intl.NumberFormat("en-US",{currency:n.currency||(null==y?void 0:y.currency),maximumFractionDigits:0}).format(n.amount)," ",n.currency]})]},t)})})]})}),(0,r.jsxs)("span",{className:"text-m-sm-body font-medium text-nowrap",children:["".concat(null==d?void 0:d.totalPrice," ").concat(new Intl.NumberFormat("en-US",{currency:(null==d||null==(a=d.total)?void 0:a.currency)||(null==y?void 0:y.currency),maximumFractionDigits:0}).format(null!=(c=null==d||null==(o=d.total)?void 0:o.amount)?c:0))," ",null==d||null==(s=d.total)?void 0:s.currency]}),(0,r.jsx)(u.A,{...(0,b.BQ)("MiniCart","cta"),content:{ctaLabel:(null==d?void 0:d.viewCartLabel)||"",ctaTarget:"_self",ctaType:"btn--primary",ctaSize:"btn--md",ctaUrl:null==d?void 0:d.viewCartLink,ctaAriaLabel:(null==d?void 0:d.viewCartLabel)||""}})]}),(0,r.jsx)("button",{...(0,b.BQ)("MiniCart","close"),onClick:()=>g(!1),"aria-label":v,className:"flex justify-center items-center cursor-pointer w-6 h-6 absolute top-6 right-6 rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",children:(0,r.jsx)(x.US,{size:24,"aria-hidden":"true",className:"hover:!fill-content-brand"})})]})})});var v=l(780),w=l(2619),y=l.n(w),C=l(2071),j=l(308),L=l(9342),N=l(8479);let k=e=>{let{countrySelectorData:t,isOpen:l,idSuffix:a,onClose:o,priceMetaData:s}
1=e,[c,d]=(0,n.useState)(""),u=(0,n.useRef)([]),h=(0,n.useRef)(null),p=(0,n.useMemo)(()=>{var e;return null==s||null==(e=s.alpha2country)?void 0:e.toLowerCase()},[s.alpha2country]),m=(0,n.useMemo)(()=>{var e;return(null==t||null==(e=t.topCountries)?void 0:e.filter(e=>{let t=c.toLowerCase();return e.country.toLowerCase().includes(t)}))||[]},[c,null==t?void 0:t.topCountries]),b=(0,n.useMemo)(()=>{var e;return(null==t||null==(e=t.countries)?void 0:e.filter(e=>{let t=c.toLowerCase();return e.country.toLowerCase().includes(t)}))||[]},[c,null==t?void 0:t.countries]),g=(0,n.useMemo)(()=>[...m,...b],[b,m]),v=(0,n.useCallback)(async e=>{var t;if(e.countryCodeAlpha2.toLowerCase()!==(null==(t=s.alpha2country)?void 0:t.toLowerCase())||e.countryCodeAlpha3!==s.alpha3country||e.currency!==s.currency||e.locale!==(null==s?void 0:s.market))try{let t=await fetch("".concat(N.A,"/api/set-country/"),{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify(e)}),l=await t.json();if(null==l?void 0:l.value){let t=globalThis.location.hostname.split(".").slice(-2).join(".");(0,f.TV)("PriceMetaData",encodeURIComponent(l.value),t,2592e3);let r=e.locale,{origin:n,pathname:a}=globalThis.location,o=a.split("/").filter(Boolean);o[0]=r.toLowerCase();let i=o.join("/");globalThis.location.href="".concat(n,"/").concat(i)}}catch(e){console.error(e.message)}},[s]),w=(0,n.useCallback)(e=>{v(null==g?void 0:g[e])},[g,v]),y=(0,n.useMemo)(()=>g.findIndex(e=>!p||e.countryCodeAlpha2.toLowerCase()===p)||null,[g,p]),C=(0,n.useMemo)(()=>b.length,[b]),j=(0,n.useMemo)(()=>m.length,[m]),L=(0,n.useCallback)(()=>{null!==y&&setTimeout(()=>{let e=u.current[y];null==e||e.focus()},100)},[u,y]),k=(0,n.useCallback)(()=>{var e;(null==h?void 0:h.current)&&(null==(e=h.current.value)?void 0:e.length)&&(h.current.value="",d(""))},[h,d]);return(0,n.useEffect)(()=>{l?L():k()},[l,L,k]),(0,r.jsxs)("div",{className:"language-selector pt-8 xl:pt-0 h-full flex flex-col xl:h-auto xl:block",id:"countrySelectorDropdown".concat(a),"aria-describedby":"country-selector-title".concat(a),children:[(0,r.jsx)("p",{className:"text-content-secondary font-bold xl:font-semibold mb-8 xl:mb-6 text-d-xsm-title xl:text-m-xsm-title px-4",id:"country-selector-title".concat(a),children:t.selectCountryLabel}),(0,r.jsxs)("div",{className:"overflow-y-auto scroll-pt-[76px] scroll-pb-[6px] h-full xl:h-auto xl:max-h-[390px]",children:[(0,r.jsx)("div",{className:"bg-background-surface-weak xl:bg-background-white px-4 pb-4 z-[20] sticky top-0",children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("span",{className:"absolute left-0 pl-4 top-1/2 transform -translate-y-1/2","aria-hidden":"true",children:(0,r.jsx)(x.Li,{})}),(0,r.jsx)("input",{ref:h,type:"search",placeholder:t.searchCountryLabel,name:"searchQuery",tabIndex:l?0:-1,autoComplete:"off",onChange:e=>d(t=>e.target.value!==t?e.target.value:t),role:"combobox","aria-autocomplete":"none","aria-expanded":"false","aria-controls":"country-listbox-".concat(a),"aria-labelledby":"country-selector-title".concat(a),className:"w-full h-[52px] !pl-10 pr-3 py-3 border-[1px] border-background-border rounded-corner-8 text-content-primary text-xsm-body focus-visible:outline-0 focus-visible:border-2"})]})}),(0,r.jsxs)("div",{className:"px-4 pb-2",role:"menu","aria-label":t.selectCountryLabel,children:[!!j&&(0,r.jsx)("p",{className:"mb-2 text-[#50595E] text-d-xxsmall-body px-3",children:t.topCountriesLabel}),(0,r.jsxs)("div",{id:"country-listbox-".concat(a),role:"listbox","aria-labelledby":"country-selector-title".concat(a),children:[g.map((e,t)=>{let{countryCodeAlpha2:n,countryCodeAlpha3:a,country:s}=e;return(0,r.jsx)("div",{className:i()("flex w-full",j&&C&&t===j-1&&"border-b border-palette-secondary-grey-50 pb-4 mb-4"),children:(0,r.jsxs)("button",{role:"option","aria-selected":n.toLowerCase()===p,className:i()("w-full bg-none relative rounded-corner-4 cursor-pointer flex justify-between items-center outline-none text-left px-2 py-2 text-m-sm-body text-content-secondary hover:bg-palette-secondary-grey-50 xl:hover:bg-palette-secondary-grey-0 focus:bg-palette-secondary-grey-50 xl:focus:bg-palette-secondary-grey-0 focus:outline focus:outline-1 outline-offset-4 focus:outline-content-secondary focus:z-10",n.toLowerCase()===p&&"bg-palette-secondary-grey-50 xl:bg-palette-secondary-grey-0"),ref:e=>{u.current[t]=e},tabIndex:l?0:-1,onClick:()=>{w(t),o&&o()},children:[(0,r.jsxs)("div",{className:"flex items-center flex-1",children:[(0,r.jsx)("span",{"aria-hidden":"true",className:i()("basis-[30px] w-[30px] h-[23px] mr-2 bg-cover border-[0.5px] border-palette-secondary-grey-50 rounded-corner-2 fi fi-".concat(null==n?void 0:n.toLowerCase()))}),(0,r.jsx)("span",{className:"font-medium flex-1",children:s})]}),n.toLowerCase()===p&&(0,r.jsx)(x.Sr,{className:"ml-2","aria-hidden":"true"})]})},a)}),!(null==g?void 0:g.length)&&(0,r.jsx)("div",{children:t.noResultsLabel})]})]})]})]})};var E=l(4312),A=l(3743),S=l(6751);let M=e=>{var t,l;let{content:o,mode:u}=e,[p,w]=n.useState({}
1),[C,N]=n.useState(!1),[M,U]=n.useState(null),[R,B]=(0,n.useState)({market:m.HM,alpha2country:m.k0,alpha3country:m.dm,currency:m.OS}),[I,O]=n.useState(!1),[F,V]=n.useState(!1),[P,Z]=n.useState(!1),[_,q]=n.useState(!1),[z,W]=n.useState(!1),[Q,K]=n.useState("");(0,j.A)([()=>O(!1),()=>Z(!1),()=>q(!1),()=>W(!1),()=>N(!1),()=>U(null)]);let G=(0,n.useRef)(null),$=(0,n.useRef)(null),J=(0,n.useRef)(null),Y=(0,n.useRef)(null),{width:X}=(0,s.A)(!1),{miniCartData:ee}=(0,v._)(),et=(0,a.useRouter)();(0,n.useEffect)(()=>{if(void 0!==window){let e=(0,f.Ri)(m.nH);e&&B((0,h.A)(e||""))}},[h.A,f.Ri,ee]),(0,n.useEffect)(()=>{(async()=>{if(!d.A)return;let e=await d.A.getUser(),t=(0,f.Ri)("idToken"),l=(0,f.Ri)("userId");if(!e&&(t||l)||e&&(!t||!l))null===d.A||void 0===d.A||d.A.logout();else if(e){w(e);let t=e.profile.user_id;(0,f.Ri)("ssoRedirect")&&((0,E.A)({event:"user_".concat(e.profile.auth_event),user_id:t},t),(0,f.Yj)("ssoRedirect"))}})()},[d.A]);let el=(0,n.useCallback)(e=>{null===d.A||void 0===d.A||d.A.getUser().then(t=>{t?w(t):null===d.A||void 0===d.A||d.A.login(e)})},[]),er=(0,n.useCallback)(()=>{null===d.A||void 0===d.A||d.A.getUser().then(e=>{e&&(null===d.A||void 0===d.A||d.A.logout())})},[]),en=async()=>{let e=await (null===d.A||void 0===d.A?void 0:d.A.getUser());if(e&&e.profile.exp&&Math.floor(Date.now()/1e3)>=e.profile.exp-60){let e=await (null===d.A||void 0===d.A?void 0:d.A.refreshAccessToken()),t=window.location.hostname.split(".").slice(-2).join(".");e?((0,f.TV)("idToken",e,t,3600),console.log("Token has been refreshed")):console.error("Failed to refresh the token")}};(0,n.useEffect)(()=>{en()},[]);let[ea,eo]=(0,n.useState)(!1),[ei,es]=(0,n.useState)(60),ec=(()=>{let[e,t]=(0,n.useState)(9e5);return(0,n.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/session-timeout-config"),l=await e.json();t(l.totalIdleLimit)}catch(e){console.error("Failed to fetch session timeout config:",e)}})()},[]),e})(),ed=(0,n.useRef)(Date.now()),eu=(0,n.useRef)(null),ex=(0,n.useCallback)(()=>{ed.current=Date.now(),eo(!1)},[]);(0,n.useEffect)(()=>{let e=!0,t=(async()=>{if(!await (null===d.A||void 0===d.A?void 0:d.A.getUser())||!e)return;eu.current=window.setInterval(()=>{let e=ec-(Date.now()-ed.current);if(es(Math.ceil(e/1e3)),e<=0){clearInterval(eu.current),eu.current=null,ep();return}e<=6e4&&eo(!0)},1e3);let t=["keydown","click"],l=()=>{ea||ex()};return t.forEach(e=>window.addEventListener(e,l)),()=>{clearInterval(eu.current),t.forEach(e=>window.removeEventListener(e,l))}})();return()=>{e=!1,t.then(e=>e&&e())}},[ea,ec]);let[eh,ef]=(0,n.useState)(!1),ep=async()=>{localStorage.setItem("idleLogout","true"),await er()};function em(){N(!C),eb()}function eb(){let e=document.querySelector(".navbar-dropdown.opened");U(null),null==e||e.classList.remove("opened")}(0,n.useEffect)(()=>{"true"===localStorage.getItem("idleLogout")&&(ef(!0),localStorage.removeItem("idleLogout"))},[]),(0,n.useEffect)(()=>{document.body.style.overflow=C&&X<c.lq.xl?"hidden":"",X>=c.lq.xl&&(U(null),N(!1)),C&&(Z(!1),q(!1),W(!1),O(!1))},[C,X]),(0,n.useEffect)(()=>{let e=document.querySelector("main"),t=document.querySelector("footer");C?(null==e||e.setAttribute("inert","true"),null==t||t.setAttribute("inert","true")):(null==e||e.removeAttribute("inert"),null==t||t.removeAttribute("inert"))},[C]),(0,n.useEffect)(()=>{document.body.style.overflow=I||P||_?"hidden":""},[I,P,_]);let eg=(0,n.useCallback)(e=>{$.current&&!$.current.contains(e.target)&&(q(!1),V(!1)),Y.current&&!Y.current.contains(e.target)&&(Z(!1),V(!1)),J.current&&!J.current.contains(e.target)&&W(!1),G.current&&!G.current.contains(e.target)&&O(!1)},[]);(0,n.useEffect)(()=>(document.addEventListener("click",eg,!0),()=>{document.removeEventListener("click",eg,!0)}),[eg]);let ev=(0,n.useRef)(null);return(0,n.useEffect)(()=>{function e(e){ev.current&&ev.current.contains(e.target)&&(N(!1),Z(!1),q(!1),W(!1),O(!1),eb(),V(!1))}return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[]),(0,n.useEffect)(()=>{var e,t;null==(t=G.current)||null==(e=t.querySelector("#search-input"))||e.focus()},[I]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("header",{...(0,b.HP)("Header","container"),className:"header sticky top-0 z-[30]",children:[(0,r.jsx)("a",{href:"#main",className:"transition left-0 bg-background-brand text-content-white body-sm rounded-corner-8 absolute p-3 m-3 z-10 -translate-y-16 opacity-0 focus:opacity-100 focus:translate-y-0",children:o.skipToMainContentLabel}),(0,r.jsx)(L.FocusTrap,{active:C&&null===M,focusTrapOptions:{allowOutsideClick:!0},children:(0,r.jsx)("nav",{...(0,b.HP)("Header","nav"),"aria-label":"Main Navigation",className:"bg-background-white shadow-default content-center",children:(0,r.jsxs)("div",{className:"container flex items-center justify-between bg-background-white",children:[(0,r.jsxs)("div",{className:"grid grid-cols-3 items-center xl:flex xl:flex-row w-full gap-4",children:[(0,r.jsx)("div",{className:"xl:hidden relative flex items-center",children:(0,r.jsx)("button",{...(0,b.BQ)("Header","toggle-menu"),"aria-label":C?"Close menu":"Open menu","aria-controls":"mobile-nav","aria-expanded":C,onClick:em,tabIndex:0,className:i()("transition-all duration-1000 overflow-hidden rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",C?"block h-full visible opacity-100":"inl
1ine h-full visible opacity-100"),children:C?(0,r.jsx)(x.US,{}):(0,r.jsx)(x.ZB,{})})}),(0,r.jsx)(T,{content:o,mode:u,showMiniCart:P,setShowMiniCart:Z,showSearch:I,setShowSearch:O,showUserMenu:_,setShowUserMenu:q,activeMobileNavigation:C}),(0,r.jsxs)("ul",{...(0,b.HP)("Header","list","quick-links"),className:"flex items-center gap-4 justify-end",children:[(0,r.jsxs)("li",{className:"py-3 xl:py-2 group",ref:G,children:[(0,r.jsx)("button",{...(0,b.BQ)("Header","search"),className:"max-w-fit block xl:flex items-center h-10 rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border","aria-label":o.searchButtonAriaLabel,onClick:()=>(()=>{var e;O(!I),Z(!1),q(!1),W(!1),U(null),N(!1),null==(e=document.querySelector(".search-wrapper + div"))||e.classList.remove("opened")})(),"aria-expanded":I,"aria-haspopup":!0,"aria-controls":"search-panel",tabIndex:C?-1:0,children:I?(0,r.jsx)(x.g2,{color:"#C8102E"}):(0,r.jsx)(x.cU,{className:"hover:fill-palette-primary-brand group-hover:fill-palette-primary-brand"})}),I&&(0,r.jsx)("div",{className:"z-[20] absolute border-t border-[#E9E9EA] h-auto rounded-corner-0/0/8/8 xl:rounded-corner-unset top-full left-0 p-6 w-full overflow-hidden transition-all ease-in-out bg-background-surface-weak shadow-alternate",id:"search-panel",children:(0,r.jsx)("div",{className:"container flex flex-row-reverse xl:py-10 max-xl:overflow-y-scroll max-xl:h-[calc(100vh-100px)]",children:(0,r.jsxs)("div",{className:"flex flex-col xl:flex-row w-full xl:gap-20",children:[(0,r.jsxs)("form",{role:"search",className:"w-full",onSubmit:e=>{if(e.preventDefault(),V(!1),Q)return void et.push("".concat(o.searchPageUrl,"?query=").concat(encodeURIComponent(Q)));V(!0)},...(0,b.HP)("Header","search-form"),children:[(0,r.jsx)("label",{htmlFor:"search-input",className:"sr-only",children:o.searchInputLabel}),(0,r.jsxs)("div",{className:"flex flex-row w-full gap-2 items-center",children:[(0,r.jsxs)("div",{className:"relative w-full",children:[(0,r.jsx)(x.cU,{size:16,color:F?"#C8102E":"#505C66",className:"absolute left-3 top-1/2 transform -translate-y-1/2"}),(0,r.jsx)("input",{id:"search-input",placeholder:o.searchInputPlaceHolder,type:"search",name:"query",onChange:e=>K(e.target.value),value:Q,className:i()("w-full h-[52px] !pl-10 pr-3 py-3 border-[1px] rounded-corner-8 text-content-primary text-xsm-body focus-visible:outline-0 focus-visible:border-2",F?"border-background-brand":"border-content-secondary")})]}),(0,r.jsx)("button",{...(0,b.BQ)("Header","search-form-submit"),className:"btn btn--primary btn--lg w-full","aria-label":o.searchButtonAriaLabel,type:"submit",children:o.searchButtonLabel})]}),F&&(0,r.jsx)("p",{className:"body-xsm text-background-brand mt-2",role:"alert",children:o.searchEmptyInputError})]}),(0,r.jsx)("hr",{className:"xl:hidden border-background-border h-[1px] my-8"}),(0,r.jsx)("div",{className:"w-full xl:w-[276px]",children:o.quickLinks.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{className:"font-semibold text-d-xsm-title mb-6",children:o.quickLinksLabel}),(0,r.jsx)("ul",{children:o.quickLinks.map((e,t)=>(0,r.jsx)("li",{className:"group xl:flex px-1 py-2 group items-center",children:(0,r.jsx)(y(),{className:"text-d-xxsmall-body items-center xl:flex hover:underline rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",href:"".concat(o.searchPageUrl,"?query=").concat(e),target:"_self",title:"Search for "+e,onClick:()=>O(!1),children:e})},t))})]})}),(0,r.jsx)("button",{onClick:()=>O(!1),"aria-label":o.loginMenu.closeAriaLabel,className:"hidden xl:flex justify-center items-center cursor-pointer w-6 h-6 rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",children:(0,r.jsx)(x.US,{size:24,className:"hover:!fill-palette-primary-brand"})})]})})})]}),(0,r.jsxs)("li",{className:"xl:relative py-3 xl:py-2 group",ref:Y,children:[(0,r.jsxs)("button",{...(0,b.BQ)("Header","cart"),className:"max-w-fit block xl:flex items-center relative h-10 rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border","aria-label":ee&&(null==ee?void 0:ee.itemsCount)>0?o.miniCartWithItemsAriaLabel.replace("{0}","".concat((null==ee?void 0:ee.itemsCount)>9?"9+":null==ee?void 0:ee.itemsCount)):o.miniCartAriaLabel,onClick:()=>{var e;Z(!!ee&&(null==ee?void 0:ee.itemsCount)!==0&&!P),q(!1),W(!1),O(!1),U(null),N(!1),null==(e=
1document.querySelector(".search-wrapper + div"))||e.classList.remove("opened")},"aria-expanded":P,tabIndex:C?-1:0,"aria-haspopup":!!ee&&(null==ee?void 0:ee.itemsCount)>0,disabled:!ee||(null==ee?void 0:ee.itemsCount)===0,"aria-controls":"minicart-panel",...(0,b.BQ)("Header","minicart"),children:[P?(0,r.jsx)(x.Cp,{color:"#C8102E"}):(0,r.jsx)(x.Kj,{color:"#0D1013",className:i()(ee&&(null==ee?void 0:ee.itemsCount)!==0?"hover:fill-palette-primary-brand group-hover:fill-palette-primary-brand":"opacity-40")}),ee&&(null==ee?void 0:ee.itemsCount)>0&&(0,r.jsx)("div",{className:"absolute top-0 left-3 bg-background-brand rounded-corner-100",children:(0,r.jsx)("span",{className:"block px-[6px] py-[2px] text-center text-content-white text-m-xxsmall-body",children:(null==ee?void 0:ee.itemsCount)>9?"9+":null==ee?void 0:ee.itemsCount})}),(0,r.jsx)(x.Ol,{color:P?"#C8102E":"#0D1013",className:i()((!ee||(null==ee?void 0:ee.itemsCount)===0)&&"opacity-40",{"rotate-180":P},"transition-all hidden xl:block")})]}),P&&(0,r.jsx)(g,{content:ee,setShowMiniCart:Z,closeAriaLabel:o.loginMenu.closeAriaLabel,miniCartAriaLabel:o.miniCartAriaLabel})]}),(0,r.jsxs)("li",{className:"hidden xl:relative xl:flex xl:h-10 group",ref:$,children:[(0,r.jsx)("button",{...(0,b.BQ)("Header","login"),className:i()("flex items-center transition-all text-d-xxsmall-body focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",p.profile?"rounded-corner-8":"rounded-corner-100"),"aria-expanded":_,"aria-haspopup":!0,"aria-controls":"user-panel","aria-label":p.profile?o.loginMenu.greetingLabel.replace("{0}",""):o.loginMenu.loginAriaLabel,onClick:()=>(()=>{var e;q(!_),W(!1),Z(!1),O(!1),U(null),N(!1),null==(e=document.querySelector(".search-wrapper + div"))||e.classList.remove("opened")})(),...(0,b.BQ)("Header","login"),children:(null==p||null==(t=p.profile)?void 0:t.firstName)?(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(H,{profile:p.profile}),(0,r.jsx)(x.Ol,{color:_?"#C8102E":"#0D1013",className:i()({"rotate-180":_},"transition-all")})]}):(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("span",{className:"hover:underline",children:o.loginMenu.loginLabel}),(0,r.jsx)(x.Ol,{color:_?"#C8102E":"#0D1013",className:i()({"rotate-180":_},"transition-all")})]})}),_&&(0,r.jsxs)("div",{className:"z-[20] absolute h-auto xl:h-auto xl:rounded-corner-4/24/24 xl:mt-8 top-full left-0 xl:left-auto xl:right-0 p-6 w-full xl:w-[280px] overflow-hidden transition-all ease-in-out bg-background-white shadow-default",id:"user-panel",children:[(0,r.jsxs)("ul",{className:"flex flex-col gap-2 pr-7",children:[!p.profile&&(0,r.jsx)("li",{children:(0,r.jsx)("button",{onClick:()=>el(),"aria-label":o.loginMenu.myStoreAccountLabel,tabIndex:0,className:"text-d-xxsmall-body font-medium text-left text-content-primary hover:underline rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",children:o.loginMenu.myStoreAccountLabel})}),o.loginMenu.menuItems.map((e,t)=>e.ctaUrl&&(0,r.jsx)("li",{children:(0,r.jsx)(y(),{href:e.ctaUrl,title:e.ctaAriaLabel,"aria-label":e.ctaLabel,target:e.ctaTarget,className:"text-d-xxsmall-body font-medium text-content-primary hover:underline rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",onClick:()=>el(e.ctaUrl),children:e.ctaLabel})},t)),!!p.profile&&(0,r.jsx)("li",{children:(0,r.jsx)("button",{onClick:er,"aria-label":o.loginMenu.signOutAriaLabel,tabIndex:0,className:"text-d-xxsmall-body font-medium text-content-primary hover:underline rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",children:o.loginMenu.signOutLable})})]}),(0,r.jsx)("button",{onClick:()=>q(!1),"aria-label":o.loginMenu.closeAriaLabel,className:"flex justify-center items-center cursor-pointer w-6 h-6 absolute top-6 right-6 rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",children:(0,r.jsx)(x.US,{size:24,className:"hover:!fill-palette-primary-brand"})})]})]}),(0,r.jsxs)("li",{className:"hidden xl:relative xl:flex xl:h-10 group",ref:J,children:[(0,r.jsx)("button",{...(0,b.BQ)("Header","country-selector"),className:i()("language-toggle-btn flex items-center transition-all text-d-xxsmall-body focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border rounded-corner-100",z&&"text-palette-primary-brand underline"),title:o.countrySelector.currentSelectionLabel,"aria-expanded":z,"aria-haspopup":!0,"aria-controls":"countrySelectorDropdownDesktop",onClick:()=>(()=>{var e;
1q(!1),W(!z),Z(!1),O(!1),U(null),N(!1),null==(e=document.querySelector(".search-wrapper + div"))||e.classList.remove("opened")})(),...(0,b.BQ)("Header","country-selector"),children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,r.jsx)("span",{className:i()("w-[30px] h-[23px] mr-2 bg-cover border-[0.5px] border-palette-secondary-grey-50 rounded-corner-2 fi fi-".concat(null==R||null==(l=R.alpha2country)?void 0:l.toLowerCase()))}),(0,r.jsx)("span",{className:"language-toggle-btn-text",children:null==R?void 0:R.alpha3country})]}),(0,r.jsx)(x.Ol,{color:z?"#C8102E":"#0D1013",className:i()({"rotate-180":z},"transition-all")})]})}),(0,r.jsxs)("div",{className:i()("z-[20] xl:w-[380px] w-full absolute h-auto xl:h-auto xl:rounded-corner-4/24/24 xl:mt-8 top-full left-0 xl:left-auto xl:right-0 py-4 transition-all ease-in-out bg-background-white shadow-default",!z&&"invisible"),id:"user-panel",children:[(0,r.jsx)("button",{onClick:()=>W(!1),"aria-label":o.loginMenu.closeAriaLabel,tabIndex:z?0:-1,className:"flex justify-center items-center cursor-pointer w-6 h-6 absolute top-6 right-6 rounded-corner-4 focus-visible:outline focus-visible:outline-offset-[4px] focus-visible:outline-content-secondary",children:(0,r.jsx)(x.US,{size:24,className:"hover:!fill-palette-primary-brand"})}),(0,r.jsx)(k,{idSuffix:"Desktop",countrySelectorData:o.countrySelector,isOpen:z,onClose:()=>W(!1),priceMetaData:R})]})]})]})]}),(0,r.jsx)(D,{user:p,handleSignin:el,handleSignout:er,activeDropdown:M,activeMobileNavigation:C,OpenMobileDropdown:function(e,t){let l=e.nextElementSibling;if(l){var r;null==(r=document.querySelector("#mobile-nav"))||r.scrollTo(0,0),l.classList.add("opened")}U(e=>e===t?null:t)},CloseMobileDropdown:eb,l1MenuItems:o.l1MenuItems,loginMenu:o.loginMenu,shopLabel:o.shopLabel,shopAriaLabel:o.shopAriaLabel,toggle:em,countrySelectorData:{content:o.countrySelector,selectedCountryText:null==R?void 0:R.alpha3country,selectedCountry:null==R?void 0:R.alpha2country},priceMetaData:R,shopLink:o.shopLink})]})})}),(0,r.jsx)("div",{ref:ev,className:i()(C||P||_||I||z?"max-xl:translate-x-0 opacity-100 h-[100vh]":"-translate-x-full xl:opacity-0 h-0","absolute z-[10] w-full top-full left-0 bg-[#0005]")})]}),(0,r.jsx)(A.A,{isOpen:ea,onClose:()=>{ex()},closeButtonLabel:"Close session timeout modal",id:"session-timeout-modal",size:S.r.Small,children:(0,r.jsxs)("div",{className:"p-6",children:[(0,r.jsx)("h3",{className:"font-semibold mb-8",children:o.sessionTimeoutLabel}),(0,r.jsx)("p",{className:"text-xsm-body mb-4",children:o.sessionTimeoutDescription}),(0,r.jsx)("p",{className:"text-xsm-body mb-10",dangerouslySetInnerHTML:{__html:o.sessionTimeoutCountdown.replace("{0}",ei.toString())}}),(0,r.jsxs)("div",{className:"flex gap-4",children:[(0,r.jsx)("button",{onClick:()=>{ex()},className:"btn btn--primary btn--sm xl:btn--md",children:o.sessionTimeoutStayLabel}),(0,r.jsx)("button",{onClick:()=>{er()},className:"btn btn--secondary btn--sm xl:btn--md",children:o.sessionTimeoutLogoutLabel})]})]})}),(0,r.jsx)(A.A,{isOpen:eh,onClose:()=>ef(!1),closeButtonLabel:"Close session timeout modal",id:"session-timeout-modal",size:S.r.Small,children:(0,r.jsxs)("div",{className:"p-6",children:[(0,r.jsx)("h3",{className:"font-semibold mb-8",children:o.sessionTimeoutLabel}),(0,r.jsx)("p",{className:"text-xsm-body mb-10",children:o.sessionTimeoutMessage}),(0,r.jsx)("div",{className:"flex gap-4",children:(0,r.jsx)("button",{onClick:()=>{el()},className:"btn btn--primary btn--sm xl:btn--md",children:o.sessionTimeoutLoginLabel})})]})})]})},H=e=>{var t,l;let{profile:n}=e,a=null==n||null==(l=n.firstName)?void 0:l.slice(0,1).concat(null==(t=n.lastName)?void 0:t.slice(0,1));return(0,r.jsx)("span",{className:"text-m-sm-body uppercase bg-background-brand w-10 h-10 text-center hover:bg-content-primary transition-colors duration-300 text-content-white rounded-corner-8 p-2 group-hover:bg-content-primary",children:a})},T=e=>{var t,l,a,o,s;let{content:{logo:c,l1MenuItems:d,shopLabel:u,shopAriaLabel:h,shopLink:f},showSearch:p,showMiniCart:m,showUserMenu:g,setShowSearch:v,setShowMiniCart:w,setShowUserMenu:j,mode:L,activeMobileNavigation:N}=e,k=(0,n.useRef)(null),E=(0,n.useRef)([]),A=(0,n.useRef)([]),[S,M]=(0,n.use
1State)(-1);(0,n.useEffect)(()=>{var e;let t=()=>{(p||m||g)&&(v(!1),w(!1),j(!1))},l=null==(e=k.current)?void 0:e.querySelectorAll("li.group");return null==l||l.forEach(e=>{e.querySelector("ul")&&e.addEventListener("mouseenter",t)}),()=>{null==l||l.forEach(e=>{e.removeEventListener("mouseenter",t)})}},[p,m,g]);let H=(0,n.useCallback)(e=>{var t,l,r,n,a,o,i;e.stopPropagation();let{key:s}=e,c=document.activeElement;if(!c||!(null==(t=k.current)?void 0:t.contains(c)))return;let u=Array.from(k.current.querySelectorAll('a[data-level="l1"], button[data-level="l1"]')),x=u.indexOf(c),h=u[x],f=Number.parseInt((null==h?void 0:h.getAttribute("data-nav-index"))||"-1",10);switch(s){case"ArrowRight":case"ArrowLeft":{if(e.preventDefault(),c.getAttribute("data-index")){null==(r=A.current[S])||r.focus(),M(-1);return}let t="ArrowRight"===s?(x+1)%u.length:(x-1+u.length)%u.length;null==(l=u[t])||l.focus(),M(-1);break}case"ArrowDown":e.preventDefault(),-1!==f&&(null==(n=d[f])?void 0:n.l2MenuItems.length)>0?(M(f),setTimeout(()=>{var e,t;null==(t=k.current)||null==(e=t.querySelector("#menu-panel-".concat(f," a")))||e.focus()},50)):T("down",c);break;case"ArrowUp":e.preventDefault(),(null==h?void 0:h.tagName)==="BUTTON"&&-1!==f&&(null==(a=d[f])?void 0:a.l2MenuItems.length)>0?(M(f),setTimeout(()=>{var e;let t=null==(e=k.current)?void 0:e.querySelectorAll("#menu-panel-".concat(f," a"));if(!t||0===t.length)return;let l=t[t.length-1];null==l||l.focus()},50)):T("up",c);break;case" ":case"Enter":if((null==h?void 0:h.tagName)!=="BUTTON")break;e.preventDefault(),M(S===f?-1:f);break;case"Escape":e.preventDefault(),-1!==S&&(null==(o=A.current[S])||o.focus(),M(-1));break;case"Tab":if(-1===S)break;setTimeout(()=>{let e=document.getElementById("menu-panel-".concat(S));e&&!e.contains(document.activeElement)&&M(-1)},0);break;case"PageDown":case"PageUp":if(e.preventDefault(),(null==h?void 0:h.tagName)!=="BUTTON")break;-1!==f&&(null==(i=d[f])?void 0:i.l2MenuItems.length)>0&&(M(f),setTimeout(()=>{var e;let t=null==(e=k.current)?void 0:e.querySelectorAll("#menu-panel-".concat(f," a"));if(!t||0===t.length)return;let l="PageDown"===s?t[0]:t[t.length-1];null==l||l.focus()},50))}},[S,d]),T=(e,t)=>{var l,r,n,a,o,i,s,c,d,u,x,h,f;let p=null==t?void 0:t.getAttribute("data-index"),m=null==p?void 0:p.includes("l2"),b=null==p?void 0:p.includes("l3");if(!m&&!b)return;let g=null,v=t.parentElement;if(v){if("down"===e){if(m){let e=v.parentElement;if(!e)return;g=(null==(r=v.querySelector("ul"))||null==(l=r.firstElementChild)?void 0:l.querySelector("a"))||(null==(n=v.nextElementSibling)?void 0:n.querySelector("a"))||(null==(a=e.parentElement)?void 0:a.querySelector("a"))}else if(b){let e=v.parentElement;if(!e)return;let t=e.parentElement;if(!t)return;g=(null==(o=v.nextElementSibling)?void 0:o.querySelector("a"))||(null==(i=t.nextElementSibling)?void 0:i.querySelector("a"))||(null==(c=t.parentElement)||null==(s=c.parentElement)?void 0:s.querySelector("a"))}}else if(m){let e=v.parentElement;if(!e)return;let t=v.previousElementSibling,l=e.lastElementChild;g=(null==t||null==(u=t.querySelector("ul"))||null==(d=u.lastElementChild)?void 0:d.querySelector("a"))||(null==t?void 0:t.querySelector("a"))||(null==l||null==(h=l.querySelector("ul"))||null==(x=h.lastElementChild)?void 0:x.querySelector("a"))||(null==l?void 0:l.querySelector("a"))}else if(b){let e=v.parentElement;if(!e)return;let t=e.parentElement;if(!t)return;g=(null==(f=v.previousElementSibling)?void 0:f.querySelector("a"))||t.querySelector("a")}null==g||g.focus()}};return(0,n.useEffect)(()=>{let e=k.current;if(e)return e.addEventListener("keydown",H),()=>e.removeEventListener("keydown",H)},[H]),(0,n.useEffect)(()=>{let e=e=>{k.current&&!k.current.contains(e.target)&&M(-1)};return -1!==S&&window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}},[S]),(0,r.jsxs)("div",{className:"flex items-center justify-center xl:justify-normal gap-4 flex-grow",children:[(null==c?void 0:c.imageData)&&(null==c?void 0:c.ctaUrl)&&(0,r.jsx)(y(),{...(0,b.R0)("MainNavigation","logo"),href:c.ctaUrl,title:c.ctaAriaLabel,"aria-label":c.ctaAriaLabel,target:c.ctaTarget,tabIndex:N?-1:0,className:"w-full max-w-fit roun
1ded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",children:(0,r.jsx)(C.A,{...(0,b.HP)("MainNavigation","image","logo"),imageData:c.imageData,width:114,height:24,svgClasses:"w-[114px] h-[24px] *:w-full",className:"w-[114px] object-cover h-auto",removeSvgFill:!1,cropImage:!1,mode:L,propertyName:"Logo"})}),(0,r.jsxs)("ul",{ref:k,...(0,b.HP)("MainNavigation","list"),className:"hidden xl:flex xl:justify-between items-center w-full",children:[d.map((e,t)=>{let{link:l,l2MenuItems:n}=e;return(0,r.jsxs)("li",{...(0,b.$B)("main",t),className:"group xl:flex px-1 py-4 group items-center",children:[(0,r.jsx)(y(),{...(0,b.HP)("MainNavigation","link",t),className:i()("text-d-xxsmall-body rounded-corner-100 xl:py-2 items-center xl:flex group-hover:underline group-hover:text-palette-primary-brand focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border text-content-primary",S===t&&"text-palette-primary-brand underline"),href:l.ctaUrl||"",target:l.ctaTarget,title:l.ctaAriaLabel,tabIndex:0,"data-level":"l1","data-nav-index":t,ref:e=>{E.current[t]=e},children:(0,r.jsx)("span",{children:l.ctaLabel})}),n.length>0&&(0,r.jsx)("button",{...(0,b.BQ)("MainNavigation","toggle-panel"),className:i()("ml-1 rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",S===t&&"bg-gray-200"),"aria-haspopup":"true","aria-expanded":S===t,"aria-controls":"menu-panel-".concat(t),"aria-label":"Toggle ".concat(l.ctaLabel," submenu"),"data-level":"l1","data-nav-index":t,ref:e=>{A.current[t]=e},onClick:()=>M(S===t?-1:t),children:(0,r.jsx)(x.Ol,{color:"#0D1013",className:i()("transition-all group-hover:*:fill-palette-primary-brand group-hover:rotate-180",S===t&&"*:fill-palette-primary-brand rotate-180")})}),n.length>0&&(0,r.jsx)("div",{className:i()("z-[20] absolute w-full left-0 top-full py-10 opacity-0 h-0 overflow-hidden border-t border-[#E9E9EA] transition-all ease-in-out group-hover:opacity-100 group-hover:visible group-hover:h-auto duration-300 delay-150 bg-background-surface-weak shadow-alternate",S===t?"opacity-100 h-auto visible":"invisible"),children:(0,r.jsx)("ul",{...(0,b.HP)("MainNavigation","list",t),className:i()("container grid gap-8 justify-between",n.length>1?"grid-cols-4":"grid-cols-1"),id:"menu-panel-".concat(t),children:n.map((e,l)=>{let{link:a,l3MenuItems:o}=e;return(0,r.jsxs)("li",{...(0,b.HP)("MainNavigation","category","".concat(t,"-").concat(l)),className:"flex flex-col",children:[a.ctaUrl&&(0,r.jsxs)(y(),{...(0,b.HP)("MainNavigation","link-category","".concat(t,"-").concat(l)),href:a.ctaUrl,target:a.ctaTarget,"aria-label":a.ctaAriaLabel,title:a.ctaAriaLabel,tabIndex:t===S?0:-1,"data-index":"l2-"+l,className:i()("font-semibold text-xsm-body hover:underline flex flex-row items-center gap-2 xl:w-fit rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border text-content-primary",{"mb-6":o.length>0}),children:[(0,r.jsx)("span",{children:a.ctaLabel}),(0,r.jsx)(x.fl,{})]}),(0,r.jsx)("ul",{className:i()("grid",n.length>1?"grid-cols-1":"grid-cols-4"),children:o.map((e,n)=>{var a;return(0,r.jsx)("li",{className:"py-2",children:(0,r.jsx)(y(),{...(0,b.HP)("MainNavigation","link-submenu","".concat(t,"-").concat(l,"-").concat(n)),href:null!=(a=e.ctaUrl)?a:"",target:e.ctaTarget,"aria-label":e.ctaAriaLabel,title:e.ctaAriaLabel,tabIndex:t===S?0:-1,"data-index":"l3-"+n,className:"text-d-xxsmall-body hover:underline rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border text-content-primary",children:e.ctaLabel})},n)})})]},l)})})})]},t)}),f.ctaUrl&&(0,r.jsx)("li",{className:"group xl:flex px-1 py-4 group items-center",children:(0,r.jsx)(y(),{...(0,b.R0)("MainNavigation","shop"),className:"text-d-xxsmall-body xl:py-2 items-center xl:flex group-hover:underline group-hover:text-palette-primary-brand rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",href:null!=(t=f.ctaUrl)?t:"",target:null!=(l=f.ctaTarget)?l:"_blank","aria-label":null!=(a=f.ctaAriaLabel)?a:h,title:null!=(o=f.ctaAriaLabel)?o:h,children:null!=(s=f.ctaLabel)?s:u})})]})]})},D=e=>{var t,l,a,o,s,c,d;let{user:h,handleSignout:f,handleSignin:p,activeMobileNavigation:m,activeDropdown:g,OpenMobileDropdown:v,CloseMobileDropdown:w,l1MenuItems:C,loginMenu:j,shopLabel:N,shopAriaLabel:E,countrySelectorData:A,toggle:S,priceMetaData:M,shopLink:T}=e,D=(0,n.useRef)([]);(0,n.useEffect)(()=>
1{if(m){let e=D.current[0],t=null==e?void 0:e.querySelector("a, button");null==t||t.focus()}},[m]);let U=e=>e===window.location.href&&S();return(0,r.jsxs)("div",{id:"mobile-nav",role:"dialog",tabIndex:-1,"aria-hidden":!m,className:i()(m?"max-xl:translate-x-0 transition-all duration-300":"max-xl:-translate-x-full",null===g?"overflow-y-auto":"overflow-y-hidden","container overflow-x-hidden py-6 h-[calc(100dvh-64px)] absolute z-[999] xl:opacity-0 xl:h-[0] xl:invisible xl:hidden shadow-alternate top-full border-t border-[#E9E9EA] left-0 bg-background-surface-weak"),children:[(0,r.jsxs)("ul",{className:"flex flex-col gap-4",children:[C.map((e,t)=>{var l,n;let{link:a,l2MenuItems:o}=e;return(0,r.jsxs)("li",{children:[(0,r.jsx)("div",{ref:e=>{D.current[t]=e},className:"w-full flex justify-between items-center",children:o.length>0?(0,r.jsxs)("button",{onClick:()=>v(D.current[t],t),tabIndex:m&&null===g?0:-1,className:"text-d-sm-body flex justify-between font-semibold py-2 hover:underline w-full min-w-fit rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border text-content-primary",children:[(0,r.jsx)("span",{children:a.ctaLabel}),(0,r.jsx)(x.vK,{size:24,color:"#0D1013"})]}):(0,r.jsx)(y(),{href:null!=(l=a.ctaUrl)?l:"",title:a.ctaAriaLabel,"aria-label":a.ctaAriaLabel,target:a.ctaTarget,tabIndex:m&&null===g?0:-1,className:"text-d-sm-body flex justify-between font-semibold py-2 hover:underline w-auto min-w-fit rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border text-content-primary",onClick:()=>U(a.ctaUrl),children:(0,r.jsx)("span",{children:a.ctaLabel})})}),(0,r.jsx)(L.FocusTrap,{active:g===t,focusTrapOptions:{allowOutsideClick:!0,onDeactivate:()=>{var e;let l=null==(e=D.current[t])?void 0:e.querySelector("a");null==l||l.focus()}},children:(0,r.jsxs)("div",{"aria-hidden":g!==t,className:i()(g===t?"block":"hidden","navbar-dropdown container z-[9999999] py-6 overflow-y-auto max-xl:translate-x-full group max-xl:[&.opened]:translate-x-0 absolute left-0 top-0 h-full overflow-x-hidden xl:relative bg-background-surface-weak transition-all duration-300"),children:[(0,r.jsxs)("div",{className:"flex flex-col xl:hidden",children:[(0,r.jsxs)("button",{type:"button",className:"flex items-center gap-2 rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border","aria-label":j.backAriaLabel,onClick:w,tabIndex:null!==g?0:-1,children:[(0,r.jsx)(x.A6,{size:20,color:"#C8102E"}),(0,r.jsx)("span",{className:"text-m-sm-body text-palette-primary-brand hover:underline",children:j.backLabel})]}),(0,r.jsxs)(y(),{href:null!=(n=a.ctaUrl)?n:"",target:a.ctaTarget,title:a.ctaAriaLabel,"aria-label":a.ctaLabel,tabIndex:g===t?0:-1,className:"font-bold flex gap-2 items-center text-d-xsm-title mt-8 mb-6 hover:underline rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border text-content-primary w-full",onClick:()=>U(a.ctaUrl),children:[(0,r.jsx)("span",{children:a.ctaLabel}),(0,r.jsx)(x.fl,{size:20,color:"#0D1013"})]})]}),(null==o?void 0:o.length)>0&&(0,r.jsx)("ul",{children:o.map((e,l)=>{var n;let{link:a,l3MenuItems:o}=e;return(0,r.jsxs)("li",{className:"flex flex-col xl:max-w-[660px] xl:m-auto xl:text-center xl:mt-8 border-t border-background-border py-8",children:[(0,r.jsxs)(y(),{href:null!=(n=a.ctaUrl)?n:"",target:a.ctaTarget,title:a.ctaAriaLabel,"aria-label":a.ctaLabel,tabIndex:g===t?0:-1,className:i()("font-semibold text-m-sm-body flex gap-2 items-center hover:underline rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border text-content-primary",{"mb-6":o.length>0}),onClick:()=>U(a.ctaUrl),children:[(0,r.jsx)("span",{children:a.ctaLabel}),(0,r.jsx)(x.fl,{size:20,color:"#0D1013"})]}),(null==o?void 0:o.length)>0&&(0,r.jsx)("ul",{className:"flex flex-col gap-2",children:o.map((e,l)=>{var n;return(0,r.jsx)("li",{className:"py-2",children:(0,r.jsx)(y(),{href:null!=(n=e.ctaUrl)?n:"",title:e.ctaAriaLabel,"aria-label":e.ctaLabel,target:e.ctaTarget,tabIndex:g===t?0:-1,className:"text-d-xxsmall-body hover:underline rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border text-content-primary",onClick:()=>U(e.ctaUrl),children:e.ctaLabel})},l)})})]},l)})})]})})]},t)}),T.ctaUrl&&(0,r.jsx)("li",{className:"py-2",children:(0,r.jsx)(y(),{...(0,b.HP)("NavDropdown","shop"),href:null!=(a=T.ctaUrl)?a:"",title:null!=(o=T.ctaAriaLabel)?o:E,"aria-label":null!=(s=T.ctaAriaLabel)?s:E,target:null!=(c=T.ctaTarget)?c:"_blank",tabIndex:m?0:-1,className:"text-d-sm-body font-semibold hover:underline w-full rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border text-content-primary",children:null!=(d=T.ctaLabel)?d:N})})]}),(0,r.jsx)("hr",{className:"border-background-border h-[1px] my-6"}),(0,r.jsx)("div",{ref:e=>{D.current[C.length]=e},children:(null==h||null==(t=h.profile)?void 0:t.firstName)?(0,r.jsxs)("button",{...(0,b.BQ)("NavDropdown","profile"),className:"flex items-center gap-3 w-full group rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",onClick:()=>v(D.current[C.length],C.length),tabIndex:m?0:-1,children:[(0,r.jsx)(H,{profile:h.profile}),(0,r.jsxs)("div",{className:"flex items-center justify-between w-full hover:underline",children:[(0,r.jsx)("span",{className:"text-d-sm-body font-semibold py-2",children:j.greetingLabel.replace("{0}","")}),(0,r.jsx)(x.vK,{size:24,color:"#0D1013"})]})]}):(0,r.jsx)(u.A,{...(0,b.BQ)("NavDropdown","cta"),content:{ctaLabel:j.loginLabel,ctaType:"btn--secondary",ctaSize:"btn--md",ctaAriaLabel:j.loginAriaLabel,imageData:{src:"/icons/chevron-right.svg",extension:".svg"},alignment:"right"},onClick:()=>v(D.current[C.length],C.length),tabIndex:m?0:-1,className:"w-full !max-w-full justify-center"})}),(0,r.jsx)("div",{ref:e=>{D.current[C.length+1]=e},className:"pt-6",children:(0,r.jsxs)("button",{onClick:()=>v(D.current[C.length+1],C.length+1),title:A.content.currentSelectionLabel,"aria-expanded":m&&null===g,tabIndex:m&&null===g?0:-1,"aria-haspopup":!0,"aria-controls":"countrySelectorDropdownMobile",className:"country-selector-button text-d-sm-body flex justify-between py-2 w-full min-w-fit roun
1ded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border text-content-primary",children:[(0,r.jsxs)("span",{className:"flex items-center space-x-2",children:[(0,r.jsx)("span",{className:i()("w-[30px] h-[23px] mr-2 bg-cover border-[0.5px] border-palette-secondary-grey-50 rounded-corner-2 fi fi-".concat(null==A||null==(l=A.selectedCountry)?void 0:l.toLowerCase()))}),(0,r.jsx)("span",{className:"font-semibold country-text",children:null==A?void 0:A.selectedCountryText})]}),(0,r.jsx)(x.vK,{size:24,color:"#0D1013"})]})}),(0,r.jsx)(L.FocusTrap,{active:g===C.length+1,focusTrapOptions:{allowOutsideClick:!0,onDeactivate:()=>{var e;let t=null==(e=D.current[C.length+1])?void 0:e.querySelector("a");null==t||t.focus()}},children:(0,r.jsxs)("div",{"aria-hidden":g!==C.length+1,className:i()(g===C.length+1?"block":"hidden","navbar-dropdown container h-full overflow-hidden !transform-none z-[9999999] py-6 !px-0 max-xl:translate-x-full group max-xl:[&.opened]:translate-x-0 absolute left-0 top-0 h-full xl:relative bg-background-surface-weak transition-all duration-300"),children:[(0,r.jsx)("div",{className:"flex flex-col xl:hidden px-4",children:(0,r.jsxs)("button",{type:"button",className:"flex items-center gap-2 rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border","aria-label":j.backAriaLabel,onClick:w,tabIndex:null!==g?0:-1,children:[(0,r.jsx)(x.A6,{size:20,color:"#C8102E"}),(0,r.jsx)("span",{className:"text-m-sm-body text-palette-primary-brand hover:underline",children:j.backLabel})]})}),(0,r.jsx)(k,{idSuffix:"Mobile",countrySelectorData:A.content,isOpen:!!g,onClose:w,priceMetaData:M})]})}),(0,r.jsx)(L.FocusTrap,{active:g===C.length,focusTrapOptions:{allowOutsideClick:!0,onDeactivate:()=>{var e;let t=null==(e=D.current[0])?void 0:e.querySelector("a");null==t||t.focus()}},children:(0,r.jsx)("div",{"aria-hidden":g!==C.length,className:i()(g===C.length?"block":"hidden","navbar-dropdown container z-[9999999] py-6 overflow-y-auto max-xl:translate-x-full group max-xl:[&.opened]:translate-x-0 absolute left-0 top-0 h-full overflow-x-hidden xl:relative bg-background-surface-weak transition-all duration-300"),children:(0,r.jsxs)("div",{className:"flex flex-col xl:hidden",children:[(0,r.jsxs)("button",{type:"button",className:"flex items-center gap-2 rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border","aria-label":j.backAriaLabel,onClick:w,tabIndex:g===C.length?0:-1,children:[(0,r.jsx)(x.A6,{size:20,color:"#C8102E"}),(0,r.jsx)("span",{className:"text-m-sm-body text-palette-primary-brand hover:underline",children:j.backLabel})]}),(0,r.jsx)("span",{className:"font-bold text-d-xsm-title mt-8 mb-6",children:h.profile?j.greetingLabel.replace("{0}",""):j.loginLabel}),(0,r.jsxs)("ul",{children:[j.menuItems.map((e,t)=>{var l;return(0,r.jsx)("li",{className:"flex flex-col xl:max-w-[660px] xl:m-auto xl:text-center xl:mt-8 border-t border-background-border pt-8",children:(0,r.jsxs)(y(),{href:null!=(l=e.ctaUrl)?l:"",target:e.ctaTarget,"aria-label":e.ctaAriaLabel,tabIndex:g===C.length?0:-1,className:"font-semibold text-m-sm-body flex gap-2 items-center mb-6 hover:underline rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",onClick:()=>p(e.ctaUrl),children:[(0,r.jsx)("span",{children:e.ctaLabel}),(0,r.jsx)(x.fl,{size:20,color:"#0D1013"})]})},t)}),h.profile?(0,r.jsx)("li",{className:"flex flex-col xl:max-w-[660px] xl:m-auto xl:text-center xl:mt-8 border-t border-background-border pt-8",children:(0,r.jsxs)("button",{onClick:f,"aria-label":j.signOutAriaLabel,tabIndex:g===C.length?0:-1,className:"font-semibold text-m-sm-body flex gap-2 items-center mb-6 hover:underline rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",children:[(0,r.jsx)("span",{children:j.signOutLable}),(0,r.jsx)(x.fl,{size:20,color:"#0D1013"})]})}):(0,r.jsx)("li",{className:"flex flex-col xl:max-w-[660px] xl:m-auto xl:text-center xl:mt-8 border-t border-background-border pt-8",children:(0,r.jsxs)("button",{onClick:()=>p(),"aria-label":j.myStoreAccountLabel,tabIndex:g===C.length?0:-1,className:"font-semibold text-m-sm-body flex gap-2 items-center mb-6 hover:underline rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-border",children:[(0,r.jsx)("span",{children:j.myStoreAccountLabel}),(0,r.jsx)(x.fl,{size:20,color:"#0D1013"})]})})]})]})})})]})},U=n.memo(M)},1469:(e,t,l)=>{l.d(t,{A6:()=>a,Cp:()=>y,D3:()=>c,Gg:()=>D,HQ:()=>k,JM:()=>H,Kj:()=>w,Li:()=>v,Ol:()=>d,QG:()=>A,Sr:()=>U,US:()=>C,WI:()=>
1g,X9:()=>n,ZB:()=>j,c1:()=>E,cU:()=>L,fA:()=>S,fl:()=>o,g2:()=>N,ik:()=>x,kL:()=>u,ky:()=>h,mo:()=>M,oS:()=>T,oW:()=>p,pd:()=>f,qq:()=>m,qw:()=>s,uv:()=>b,vK:()=>i});var r=l(5155);l(2115);let n=e=>{let{color:t="#B70F2A",size:l=14,isOpen:n,...a}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 14 15",fill:"none","aria-hidden":"true",...a,children:n?(0,r.jsx)("path",{d:"M0 8.5H14V6.5H0V8.5Z",fill:t}):(0,r.jsx)("path",{d:"M6 8.5H0V6.5H6V0.5H8V6.5H14V8.5H8V14.5H6V8.5Z",fill:t})})},a=e=>{let{color:t="#C8102E",size:l=24,...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 20 21",fill:t,...n,children:(0,r.jsx)("path",{d:"M6.52344 9.66658L16.6693 9.66659V11.3333L6.52344 11.3333L11.1901 15.9999L10.0026 17.1666L3.33594 10.4999L10.0026 3.83325L11.1901 4.99992L6.52344 9.66658Z"})})},o=e=>{let{color:t="#0D1013",size:l=20,...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 20 20",fill:t,...n,children:(0,r.jsx)("path",{d:"M13.4779 10.8333H3.33203L3.33203 9.16658H13.4779L8.8112 4.49992L9.9987 3.33325L16.6654 9.99992L9.9987 16.6666L8.8112 15.4999L13.4779 10.8333Z"})})},i=e=>{let{color:t="#b70f2a",size:l=44,...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t,width:l,height:l,viewBox:"0 0 320 512",...n,children:(0,r.jsx)("path",{d:"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})})},s=e=>{let{color:t="#C8102E",width:l=12,height:n=12,size:a,...o}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:null!=l?l:a,height:null!=n?n:a,viewBox:"0 0 8 13",fill:t,...o,children:(0,r.jsx)("path",{d:"M7.09594 6.17396C7.27483 6.35285 7.27483 6.64715 7.09594 6.82604L1.55614 12.3658C1.37726 12.5447 1.08295 12.5447 0.904064 12.3658C0.725175 12.1869 0.725175 11.8926 0.904064 11.7138L6.11782 6.5L0.904064 1.28625C0.725175 1.10736 0.725175 0.813056 0.904064 0.634167C1.08295 0.455278 1.37726 0.455278 1.55614 0.634167L7.09594 6.17396Z",fill:t})})},c=e=>{let{color:t="#6C6E70",size:l=28,...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 28 29",fill:t,...n,children:(0,r.jsx)("path",{d:"M14 18.4663L7 11.4663L8.63333 9.83301L14 15.1997L19.3667 9.83301L21 11.4663L14 18.4663Z"})})},d=e=>{let{color:t="#6C6E70",size:l=16,...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 16 16",fill:t,...n,children:(0,r.jsx)("path",{d:"M13.6751 5.97656L13.1595 5.46094C13.0371 5.33854 12.8392 5.33854 12.7168 5.46094L8.00065 10.1667L3.28451 5.46094C3.16211 5.33854 2.96419 5.33854 2.8418 5.46094L2.32617 5.97656C2.20378 6.09896 2.20378 6.29688 2.32617 6.41927L7.7793 11.8724C7.90169 11.9948 8.09961 11.9948 8.22201 11.8724L13.6751 6.41927C13.7975 6.29688 13.7975 6.09896 13.6751 5.97656Z",fill:"currentColor"})})},u=e=>{let{color:t="#B70F2A",size:l=12,...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 10 11",fill:"none",...n,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.36328 7.71288L7.92896 6.23701C8.20515 5.97666 8.65294 5.97666 8.92913 6.23701C9.20532 6.49736 9.20532 6.91947 8.92913 7.17982L6.10021 9.84649C5.82402 10.1068 5.37622 10.1068 5.10003 9.84649L2.27111 7.17982C1.99492 6.91947 1.99492 6.49736 2.27111 6.23701C2.5473 5.97666 2.99509 5.97666 3.27128 6.23701L4.86328 7.7377V3.70825C4.86328 3.0179 4.30364 2.45825 3.61328 2.45825H1.61328C1.19907 2.45825 0.863281 2.12247 0.863281 1.70825C0.863281 1.29404 1.19907 0.958252 1.61328 0.958252H3.61328C5.13206 0.958252 6.36328 2.18947 6.36328 3.70825L6.36328 7.71288Z",fill:t})})},x=e=>{let{size:t=16,...l}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 10 16",fill:"none",...l,children:(0,r.jsx)("path",{d:"M8.80707 9L9.2596 6.125H6.38283V4.25C6.38283 3.4375 6.77071 2.6875 8.06364 2.6875H9.38889V0.21875C9.38889 0.21875 8.19293 0 7.06162 0C4.70202 0 3.15051 1.40625 3.15051 3.90625V6.125H0.5V9H3.15051V16H6.38283V9H8.80707Z",fill:"white"})})},h=e=>{let{size:t=15,...l}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 15 14",fill:"none",...l,children:(0,r.jsx)("path",{d:"M3.625 13.9687V4.625H0.71875V13.9687H3.625ZM2.15625 3.375C3.09375 3.375 3.84375 2.59375 3.84375 1.65625C3.84375 0.75 3.09375 0 2.15625 0C1.25 0 0.5 0.75 0.5 1.65625C0.5 2.59375 1.25 3.375 2.15625 3.375ZM14.4688 13.9687H14.5V8.84375C14.5 6.34375 13.9375 4.40625 11 4.40625C9.59375 4.40625 8.65625 5.1875 8.25 5.90625H8.21875V4.625H5.4375V13.9687H8.34375V9.34375C8.34375 8.125 8.5625 6.96875 10.0625 6.96875C11.5625 6.96875 11.5938 8.34375 11.5938 9.4375V13.9687H14.4688Z",fill:"white"})})},f=e=>{let{size:t=17,...l}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 17 12",fill:"none",...l,children:(0,r.jsx)("path",{d:"M16.149 1.78428C15.9735 1.08227 15.4177 0.526508 14.745 0.351005C13.4872 0 8.51463 0 8.51463 0C8.51463 0 3.5128 0 2.25503 0.351005C1.58227 0.526508 1.02651 1.08227 0.851005 1.78428C0.5 3.0128 0.5 5.64534 0.5 5.64534C0.5 5.64534 0.5 8.24863 0.851005 9.5064C1.02651 10.2084 1.58227 10.7349 2.25503 10.9104C3.5128 11.2322 8.51463 11.2322 8.51463 11.2322C8.51463 11.2322 13.4872 11.2322 14.745 10.9104C15.4177 10.7349 15.9735 10.2084 16.149 9.5064C16.5 8.24863 16.5 5.64534 16.5 5.64534C16.5 5.64534 16.5 3.0128 16.149 1.78428ZM6.8766 8.01463V3.27605L11.0302 5.64534L6.8766 8.01463Z",fill:"white"})})},p=e=>{let{size:t=16,...l}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 17 16",fill:"none",...l,children:(0,r.jsx)("path",{d:"M8.51786 3.875C6.23214 3.875 4.41071 5.73214 4.41071 7.98214C4.41071 10.2679 6.23214 12.0893 8.51786 12.0893C10.7679 12.0893 12.625 10.2679 12.625 7.98214C12.625 5.73214 10.7679 3.875 8.51786 3.875ZM8.51786 10.6607C7.05357 10.6607 5.83929 9.48214 5.83929 7.98214C5.83929 6.51786 7.01786 5.33929 8.51786 5.33929C9.98214 5.33929 11.1607 6.51786 11.1607 7.98214C11.1607 9.48214 9.98214 10.6607 8.51786 10.6607ZM13.7321 3.73214C13.7321 3.19643 13.3036 2.76786 12.7679 2.76786C12.2321 2.76786 11.8036 3.19643 11.8036 3.73214C11.8036 4.26786 12.2321 4.69643 12.7679 4.69643C13.3036 4.69643 13.7321 4.26786 13.7321 3.73214ZM16.4464 4.69643C16.375 3.41071 16.0893 2.26786 15.1607 1.33929C14.2321 0.410714 13.0893 0.125 11.8036 0.0535714C10.4821 -0.0178571 6.51786 -0.0178571 5.19643 0.0535714C3.91071 0.125 2.80357 0.410714 1.83929 1.33929C0.910714 2.26786 0.625 3.41071 0.553571 4.69643C0.482143 6.01786 0.482143 9.98214 0.553571 11.3036C0.625 12.5893 0.910714 13.6964 1.83929 14.6607C2.80357 15.5893 3.91071 15.875 5.19643 15.9464C6.51786 16.0179 10.4821 16.0179 11.8036 15.9464C13.0893 15.875 14.2321 15.5893 15.1607 14.6607C16.0893 13.6964 16.375 12.5893 16.4464 11.3036C16.5179 9.98214 16.5179 6.01786 16.4464 4.69643ZM14.7321 12.6964C14.4821 13.4107 13.9107 13.9464 13.2321 14.2321C12.1607 14.6607 9.66071 14.5536 8.51786 14.5536C7.33929 14.5536 4.83929 14.6607 3.8
10357 14.2321C3.08929 13.9464 2.55357 13.4107 2.26786 12.6964C1.83929 11.6607 1.94643 9.16071 1.94643 7.98214C1.94643 6.83929 1.83929 4.33929 2.26786 3.26786C2.55357 2.58929 3.08929 2.05357 3.80357 1.76786C4.83929 1.33929 7.33929 1.44643 8.51786 1.44643C9.66071 1.44643 12.1607 1.33929 13.2321 1.76786C13.9107 2.01786 14.4464 2.58929 14.7321 3.26786C15.1607 4.33929 15.0536 6.83929 15.0536 7.98214C15.0536 9.16071 15.1607 11.6607 14.7321 12.6964Z",fill:"white"})})},m=e=>{let{size:t=16,...l}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 17 17",fill:"none",...l,children:(0,r.jsx)("path",{d:"M8.5 0.142578C4.1 0.142578 0.5 3.74258 0.5 8.14258C0.5 12.5426 4.1 16.1426 8.5 16.1426C12.9 16.1426 16.5 12.5426 16.5 8.14258C16.5 3.74258 12.94 0.142578 8.5 0.142578ZM12.1807 11.7026C12.0207 11.9419 11.7407 12.0226 11.5 11.8626C9.62 10.7026 7.26 10.4619 4.45933 11.1019C4.18067 11.1832 3.94 10.9826 3.86 10.7426C3.78 10.4619 3.98 10.2226 4.22 10.1426C7.26 9.46191 9.9 9.74258 11.98 11.0226C12.26 11.1426 12.2993 11.4619 12.1807 11.7026ZM13.1407 9.50258C12.94 9.78258 12.58 9.90258 12.2993 9.70258C10.14 8.38258 6.86 7.98258 4.34 8.78258C4.02067 8.86258 3.66 8.70258 3.58 8.38258C3.5 8.06258 3.66 7.70191 3.98 7.62191C6.9 6.74258 10.5 7.18325 12.98 8.70258C13.2207 8.82325 13.34 9.22258 13.1407 9.50258ZM13.2207 7.26258C10.66 5.74258 6.38 5.58258 3.94 6.34324C3.54 6.46258 3.14 6.22258 3.02 5.86258C2.9 5.46191 3.14 5.06258 3.5 4.94191C6.34 4.10191 11.02 4.26191 13.9807 6.02258C14.34 6.22258 14.46 6.70258 14.26 7.06258C14.0607 7.34325 13.58 7.46191 13.2207 7.26258Z",fill:"white"})})},b=e=>{let{size:t=16,...l}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 512 512",fill:"none",...l,children:(0,r.jsx)("path",{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z",fill:"white"})})},g=e=>{let{color:t="#6C6E70",size:l=24,...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:t,...n,children:(0,r.jsx)("path",{d:"M19.6 21L13.3 14.7C12.8 15.1 12.225 15.4167 11.575 15.65C10.925 15.8833 10.2333 16 9.5 16C7.68333 16 6.146 15.3707 4.888 14.112C3.63 12.8533 3.00067 11.316 3 9.5C2.99933 7.684 3.62867 6.14667 4.888 4.888C6.14733 3.62933 7.68467 3 9.5 3C11.3153 3 12.853 3.62933 14.113 4.888C15.373 6.14667 16.002 7.684 16 9.5C16 10.2333 15.8833 10.925 15.65 11.575C15.4167 12.225 15.1 12.8 14.7 13.3L21 19.6L19.6 21ZM9.5 14C10.75 14 11.8127 13.5627 12.688 12.688C13.5633 11.8133 14.0007 10.7507 14 9.5C13.9993 8.24933 13.562 7.187 12.688 6.313C11.814 5.439 10.7513 5.00133 9.5 5C8.24867 4.99867 7.18633 5.43633 6.313 6.313C5.43967 7.18967 5.002 8.252 5 9.5C4.998 10.748 5.43567 11.8107 6.313 12.688C7.19033 13.5653 8.25267 14.0027 9.5 14Z"})})},v=e=>{let{color:t="#50595E",size:l=16,...n}=e;return(0,r.jsx)("svg",{width:l,height:l,viewBox:"0 0 16 16",fill:"none",...n,xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M12.0213 11.0777L14.8766 13.9323L13.9333 14.8757L11.0786 12.0203C10.0165 12.8718 8.69532 13.3349 7.33398 13.333C4.02198 13.333 1.33398 10.645 1.33398 7.33301C1.33398 4.02101 4.02198 1.33301 7.33398 1.33301C10.646 1.33301 13.334 4.02101 13.334 7.33301C13.3359 8.69434 12.8728 10.0155 12.0213 11.0777ZM10.684 10.583C11.5299 9.71281 12.0023 8.54659 12.0006 7.33301C12.0006 4.75501 9.91198 2.66634 7.33398 2.66634C4.75598 2.66634 2.66732 4.75501 2.66732 7.33301C2.66732 9.91101 4.75598 11.9997 7.33398 11.9997C8.54756 12.0014 9.71379 11.5289 10.584 10.683L10.684 10.583Z",fill:t})})},w=e=>{let{size:t=24,color:l="#0D1013",...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:l,...n,children:(0,r.jsx)("path",{d:"M7.5 21.9998C6.95 21.9998 6.47933 21.8041 6.088 21.4128C5.69667 21.0214 5.50067 20.5504 5.5 19.9998C5.49933 19.4491 5.69533 18.9784 6.088 18.5878C6.48067 18.1971 6.95133 18.0011 7.5 17.9998C8.04867 17.9984 8.51967 18.1944 8.913 18.5878C9.30633 18.9811 9.502 19.4518 9.5 19.9998C9.498 20.5478 9.30233 21.0188 8.913 21.4128C8.52367 21.8068 8.05267 22.0024 7.5 21.9998ZM17.5 21.9998C16.95 21.9998 16.4793 21.8041 16.088 21.4128C15.6967 21.0214 15.5007 20.5504 15.5 19.9998C15.4993 19.4491 15.6953 18.9784 16.088 18.5878C16.4807 18.1971 16.9513 18.0011 17.5 17.9998C18.0487 17.9984 18.5197 18.1944 18.913 18.5878C19.3063 18.9811 19.502 19.4518 19.5 19.9998C19.498 20.5478 19.3023 21.0188 18.913 21.4128C18.5237 21.8068 18.0527 22.0024 17.5 21.9998ZM6.65 5.99976L9.05 10.9998H16.05L18.8 5.99976H6.65ZM5.7 3.99976H22.2L17.225 12.9998H8.6L7.5 14.9998H19.5V16.9998H4.125L7.1 11.5998L3.5 3.99976H1.5V1.99976H4.75L5.7 3.99976Z",fill:"currentColor"})})},y=e=>{let{size:t=24,color:l="#0D1013",...n}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:l,...n,children:[(0,r.jsx)("path",{d:"M7.5 21.9998C6.95 21.9998 6.47933 21.8041 6.088 21.4128C5.69667 21.0214 5.50067 20.5504 5.5 19.9998C5.49933 19.4491 5.69533 18.9784 6.088 18.5878C6.48067 18.1971 6.95133 18.0011 7.5 17.9998C8.04867 17.9984 8.51967 18.1944 8.913 18.5878C9.30633 18.9811 9.502 19.4518 9.5 19.9998C9.498 20.5478 9.30233 21.0188 8.913 21.4128C8.52367 21.8068 8.05267 22.0024 7.5 21.9998ZM17.5 21.9998C16.95 21.9998 16.4793 21.8041 16.088 21.4128C15.6967 21.0214 15.5007 20.5504 15.5 19.9998C15.4993 19.4491 15.6953 18.9784 16.088 18.5878C16.4807 18.1971 16.9513 18.0011 17.5 17.9998C18.0487 17.9984 18.5197 18.1944 18.913 18.5878C19.3063 18.9811 19.502 19.4518 19.5 19.9998C19.498 20.5478 19.3023 21.0188 18.913 21.4128C18.5237 21.8068 18.0527 22.0024 17.5 21.9998ZM6.65 5.99976L9.05 10.9998H16.05L18.8 5.99976H6.65ZM5.7 3.99976H22.2L17.225 12.9998H8.6L7.5 14.9998H19.5V16.9998H4.125L7.1 11.5998L3.5 3.99976H1.5V1.99976H4.75L5.7 3.99976Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M6.65 5.99976L9.05 10.9998H16.05L18.8 5.99976H6.65Z",fill:"currentColor"})]})},C=e=>{let{size:t=24,color:l="#0D1013",...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 25",fill:l,...n,children:(0,r.jsx)("path",{d:"M5.37497 20.8567L3.65971 19.1536L10.2913 12.5099L3.64062 5.89044L5.37497 4.16824L12.0065 10.7946L18.5947 4.16824L20.3291 5.89044L13.6975 12.4908L20.3291 19.1345L18.6225 20.8411L12.0092 14.2277L5.37497 20.8567Z",fill:"currentColor"})})},j=e=>{let{size:t=24,color:l="#0D1013",...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:l,...n,children:(0,r.jsx)("path",{d:"M3 18V16H21V18H3ZM3 13V11H21V13H3ZM3 8V6H21V8H3Z"})})},L=e=>{let{size:t=24,color:l="#0D1013",...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:l,...n,children:(0,r.jsx)("path",{d:"M18.031 16.6168L22.314 20.8988L20.899 22.3138L16.617 18.0308C15.0237 19.308 13.042 20.0027 11 19.9998C6.032 19.9998 2 15.9678 2 10.9998C2 6.03176 6.032 1.99976 11 1.99976C15.968 1.99976 20 6.03176 20 10.9998C20.0029 13.0418 19.3
1082 15.0235 18.031 16.6168ZM16.025 15.8748C17.2938 14.5695 18.0025 12.8201 18 10.9998C18 7.13276 14.867 3.99976 11 3.99976C7.133 3.99976 4 7.13276 4 10.9998C4 14.8668 7.133 17.9998 11 17.9998C12.8204 18.0023 14.5697 17.2936 15.875 16.0248L16.025 15.8748Z",fill:"currentColor"})})},N=e=>{let{size:t=24,color:l="#C8102E",...n}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 25 24",fill:l,...n,children:[(0,r.jsx)("path",{d:"M18.5779 16.6168L22.8609 20.8988L21.4459 22.3138L17.1639 18.0308C15.5706 19.308 13.5889 20.0027 11.5469 19.9998C6.57887 19.9998 2.54688 15.9678 2.54688 10.9998C2.54688 6.03175 6.57887 1.99976 11.5469 1.99976C16.5149 1.99976 20.5469 6.03175 20.5469 10.9998C20.5498 13.0418 19.8551 15.0235 18.5779 16.6168ZM16.5719 15.8748C17.8407 14.5695 18.5494 12.8201 18.5469 10.9998C18.5469 7.13275 15.4139 3.99976 11.5469 3.99976C7.67987 3.99976 4.54687 7.13275 4.54687 10.9998C4.54687 14.8668 7.67987 17.9998 11.5469 17.9998C13.3672 18.0023 15.1166 17.2936 16.4219 16.0248L16.5719 15.8748Z"}),(0,r.jsx)("path",{d:"M11.5466 5.71397C8.62738 5.71405 6.26088 8.08047 6.26088 10.9997C6.26088 13.9189 8.62738 16.2853 11.5466 16.2854C14.4659 16.2855 16.8326 13.919 16.8326 10.9997C16.8326 8.08039 14.4659 5.71389 11.5466 5.71397Z"})]})},k=e=>{let{size:t=24,color:l,...n}=e;return(0,r.jsxs)("svg",{width:t,height:t,viewBox:"0 0 57 57",fill:l,xmlns:"http://www.w3.org/2000/svg",...n,children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_9106_19510)",children:[(0,r.jsx)("circle",{cx:"28.6797",cy:"28.6155",r:"28",fill:"black",fillOpacity:"0.5"}),(0,r.jsx)("path",{d:"M21.6812 15.8707L41.2812 28.4707L21.6812 41.0707V15.8707Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.0104 14.6419C21.4599 14.3965 22.0075 14.4161 22.4383 14.6931L42.0383 27.2931C42.439 27.5507 42.6812 27.9943 42.6812 28.4707C42.6812 28.9471 42.439 29.3908 42.0383 29.6484L22.4383 42.2484C22.0075 42.5253 21.4599 42.5449 21.0104 42.2995C20.5609 42.0541 20.2812 41.5828 20.2812 41.0707V15.8707C20.2812 15.3586 20.5609 14.8873 21.0104 14.6419ZM23.0812 18.435V38.5064L38.6923 28.4707L23.0812 18.435Z",fill:"white"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_9106_19510",children:(0,r.jsx)("rect",{width:"56",height:"56",fill:"white",transform:"translate(0.679688 0.615479)"})})})]})},E=e=>{let{size:t=16,color:l="#fff",...n}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 16 17",fill:l,...n,children:[(0,r.jsx)("g",{clipPath:"url(#clip0_9897_12001)",children:(0,r.jsx)("path",{d:"M8.61539 1.11538C8.61539 0.776923 8.33846 0.5 8 0.5C7.66154 0.5 7.38462 0.776923 7.38462 1.11538V7.88462H0.615385C0.276923 7.88462 0 8.16154 0 8.5C0 8.83846 0.276923 9.11539 0.615385 9.11539H7.38462V15.8846C7.38462 16.2231 7.66154 16.5 8 16.5C8.33846 16.5 8.61539 16.2231 8.61539 15.8846V9.11539H15.3846C15.7231 9.11539 16 8.83846 16 8.5C16 8.16154 15.7231 7.88462 15.3846 7.88462H8.61539V1.11538Z"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_9897_12001",children:(0,r.jsx)("rect",{width:"16",height:"16",fill:l,transform:"translate(0 0.5)"})})})]})},A=e=>{let{size:t=16,color:l="#fff",...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 16 17",fill:l,...n,children:(0,r.jsx)("path",{d:"M16 8.49991C16 8.83837 15.7231 9.11529 15.3846 9.11529H0.615385C0.276923 9.11529 0 8.83837 0 8.49991C0 8.16144 0.276923 7.88452 0.615385 7.88452H15.3846C15.7231 7.88452 16 8.16144 16 8.49991Z"})})},S=e=>{let{color:t="#B70F2A",...l}=e;return(0,r.jsx)("svg",{width:"20",height:"17",viewBox:"0 0 20 17",fill:t,xmlns:"http://www.w3.org/2000/svg",...l,children:(0,r.jsx)("path",{d:"M10 2.69L15 7.19V15H13V9H7V15H5V7.19L10 2.69ZM10 0L0 9H3V17H9V11H11V17H17V9H20L10 0Z"})})},M=e=>{let{color:t="#000000",size:l=24,...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 25",fill:t,...n,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.75488C7.02944 3.75488 3 7.78432 3 12.7549C3 17.7254 7.02944 21.7549 12 21.7549C16.9706 21.7549 21 17.7254 21 12.7549C21 7.78432 16.9706 3.75488 12 3.75488ZM1 12.7549C1 6.67975 5.92487 1.75488 12 1.75488C18.0751 1.75488 23 6.67975 23 12.7549C23 18.83 18.0751 23.7549 12 23.7549C5.92487 23.7549 1 18.83 1 12.7549ZM11 8.75488C11 8.2026 11.4477 7.75488 12 7.75488H12.01C12.5623 7.75488 13.01 8.2026 13.01 8.75488C13.01 9.30717 12.5623 9.75488 12.01 9.75488H12C11.4477 9.75488 11 9.30717 11 8.75488ZM12 11.7549C12.5523 11.7549 13 12.2026 13 12.7549V16.7549C13 17.3072 12.5523 17.7549 12 17.7549C11.4477 17.7549 11 17.3072 11 16.7549V12.7549C11 12.202
16 11.4477 11.7549 12 11.7549Z"})})},H=e=>{let{color:t="#C8102E",size:l=18,...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 18 17",fill:"none",...n,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.4107 0.410704C8.73614 0.0852667 9.26378 0.0852667 9.58922 0.410704L13.7559 4.57737C14.0813 4.90281 14.0813 5.43045 13.7559 5.75588C13.4304 6.08132 12.9028 6.08132 12.5774 5.75588L9.83329 3.0118V11C9.83329 11.4602 9.4602 11.8333 8.99996 11.8333C8.53972 11.8333 8.16663 11.4602 8.16663 11V3.0118L5.42255 5.75588C5.09711 6.08132 4.56947 6.08132 4.24404 5.75588C3.9186 5.43045 3.9186 4.90281 4.24404 4.57737L8.4107 0.410704ZM1.49996 10.1666C1.9602 10.1666 2.33329 10.5397 2.33329 11V14.3333C2.33329 14.5543 2.42109 14.7663 2.57737 14.9225C2.73365 15.0788 2.94561 15.1666 3.16663 15.1666H14.8333C15.0543 15.1666 15.2663 15.0788 15.4225 14.9225C15.5788 14.7663 15.6666 14.5543 15.6666 14.3333V11C15.6666 10.5397 16.0397 10.1666 16.5 10.1666C16.9602 10.1666 17.3333 10.5397 17.3333 11V14.3333C17.3333 14.9963 17.0699 15.6322 16.6011 16.1011C16.1322 16.5699 15.4963 16.8333 14.8333 16.8333H3.16663C2.50358 16.8333 1.8677 16.5699 1.39886 16.1011C0.930018 15.6322 0.666626 14.9963 0.666626 14.3333V11C0.666626 10.5397 1.03972 10.1666 1.49996 10.1666Z",fill:t})})},T=e=>{let{color:t="#C8102E",size:l=18,...n}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 16 19",fill:"none",...n,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.23223 1.06561C1.70107 0.596766 2.33696 0.333374 3 0.333374H8.83333C9.05435 0.333374 9.26631 0.421171 9.42259 0.577452L15.2559 6.41078C15.4122 6.56706 15.5 6.77903 15.5 7.00004V16.1667C15.5 16.8297 15.2366 17.4656 14.7678 17.9345C14.2989 18.4033 13.663 18.6667 13 18.6667H3C2.33696 18.6667 1.70107 18.4033 1.23223 17.9345C0.763392 17.4656 0.5 16.8297 0.5 16.
11667V2.83337C0.5 2.17033 0.763392 1.53445 1.23223 1.06561ZM3 2.00004C2.77899 2.00004 2.56702 2.08784 2.41074 2.24412C2.25446 2.4004 2.16667 2.61236 2.16667 2.83337V16.1667C2.16667 16.3877 2.25446 16.5997 2.41074 16.756C2.56702 16.9122 2.77899 17 3 17H13C13.221 17 13.433 16.9122 13.5893 16.756C13.7455 16.5997 13.8333 16.3877 13.8333 16.1667V7.83337H8.83333C8.3731 7.83337 8 7.46028 8 7.00004V2.00004H3ZM9.66667 3.17855L12.6548 6.16671H9.66667V3.17855Z",fill:t})})},D=e=>{let{size:t=23,...l}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 23 22",fill:"none",...l,children:[(0,r.jsx)("path",{d:"M10.3198 1.20416L7.63459 6.64864L1.62675 7.52453C0.549365 7.68079 0.11759 9.00901 0.898897 9.76976L5.24543 14.0053L4.2174 19.9884C4.03235 21.0699 5.17141 21.88 6.12543 21.3742L11.5 18.5492L16.8746 21.3742C17.8286 21.8759 18.9677 21.0699 18.7826 19.9884L17.7546 14.0053L22.1011 9.76976C22.8824 9.00901 22.4506 7.68079 21.3733 7.52453L15.3654 6.64864L12.6802 1.20416C12.1991 0.233697 10.805 0.22136 10.3198 1.20416Z",fill:"url(#paint0_linear_13994_7109)"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_13994_7109",x1:"0.5",y1:"0.47168",x2:"21.5366",y2:"22.4506",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#CF4400"}),(0,r.jsx)("stop",{offset:"0.21",stopColor:"#C8102E"}),(0,r.jsx)("stop",{offset:"0.45",stopColor:"#A11661"}),(0,r.jsx)("stop",{offset:"0.67",stopColor:"#7D1D7E"}),(0,r.jsx)("stop",{offset:"0.93",stopColor:"#4E25A1"})]})})]})},U=e=>{let{size:t=20,...l}=e;return(0,r.jsx)("svg",{width:t,height:t,viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...l,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2559 4.91058C17.5814 5.23602 17.5814 5.76366 17.2559 6.08909L8.08926 15.2558C7.76382 15.5812 7.23618 15.5812 6.91074 15.2558L2.74408 11.0891C2.41864 10.7637 2.41864 10.236 2.74408 9.91058C3.06951 9.58514 3.59715 9.58514 3.92259 9.91058L7.5 13.488L16.0774 4.91058C16.4028 4.58514 16.9305 4.58514 17.2559 4.91058Z",fill:"#C8102E"})})}},2071:(e,t,l)=>{l.d(t,{A:()=>s});var r=l(5155);l(2115);var n=l(5239),a=l(6578),o=l(2313),i=l(4739);let s=e=>{let{imageData:t,className:l,svgClasses:s,width:c,height:d,priority:u=!1,cropImage:x=!0,removeSvgFill:h=!0,propertyName:f,mode:p,waitUntilContentLoaded:m=!1,...b}=e;if(!t)return null;let{isExternal:g,src:v,alt:w="",extension:y}=t;if(!v)return null;let C=g?"".concat(v).concat(x?"?".concat(((e,t)=>{let l=new URLSearchParams;return e&&l.append("width",e.toString()),t&&l.append("height",t.toString()),l.toString()})(c,d)):""):(e=>{if(e){let t=(0,o.parse)(e);if(e.includes("/globalassets/")&&!t.protocol&&!t.host){let e=(0,o.parse)("https://cms.comptia.org");return(0,o.format)({...e,pathname:t.pathname})}return e}return""})(v);if(".svg"===y)return(0,r.jsx)(i.default,{className:null!=s?s:l,src:C,alt:w,removeSvgFill:h,propertyName:f,waitUntilContentLoaded:m,...b});let{imageFit:j}=t;return(0,r.jsx)(n.default,{...(0,a.d8)(f,p),className:"".concat(l," object-").concat(null!=j?j:"cover"),src:C,alt:w,width:c,height:d,priority:u,quality:90,...b})}},2282:(e,t,l)=>{l.d(t,{A:()=>r.A});var r=l(2071)},2609:(e,t,l)=>{l.d(t,{s:()=>r});let r=(e,t)=>{let l;return function(){for(var r=arguments.length,n=Array(r),a=0;a<r;a++)n[a]=arguments[a];clearTimeout(l),l=setTimeout(()=>e.apply(this,n),t)}}},2984:(e,t,l)=>{l.d(t,{QuickLinks:()=>f,default:()=>p});var r=l(5155),n=l(2115),a=l(5203),o=l.n(a),i=l(1469),s=l(3149),c=l(2619),d=l.n(c),u=l(308),x=l(8189),h=l(8164);let f=e=>{var t,l;let{content:a}=e,{width:c}=(0,s.A)(),f=c>
1=x.lq.xl,[p,m]=(0,n.useState)(!1),[b,g]=(0,n.useState)(Array(null==a||null==(t=a.groups)?void 0:t.length).fill(!1)),v=()=>m(!p);return(0,u.A)([()=>m(!1)]),(0,n.useEffect)(()=>(!f&&p?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[p,f]),(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("section",{className:o()("flex flex-row-reverse items-center xl:h-auto h-dvh xl:items-start fixed top-1/2 transform -translate-y-1/2 xl:-translate-y-0 xl:-translate-x-0 xl:top-[100px] z-[10] xl:w-fit gap-0 transition-transform duration-300","translate-x-0 xl:z-[99999999]",{"w-full z-[40]":p}),"aria-labelledby":"quickLinks",children:[(0,r.jsx)("button",{...(0,h.BQ)("QuickLinks","togglePanel"),className:"fixed left-0 xl:relative bg-background-brand text-content-white xl:px-6 xl:py-3 inline-block w-[32px] xl:w-[48px] h-[48px] xl:h-[170px] rounded-r-[8px] text-m-sm-body z-[999999999]",onClick:v,"aria-label":null==a?void 0:a.quickLinksMenuLabel,children:(0,r.jsxs)("span",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 rotate-90 whitespace-nowrap flex gap-2",children:[(0,r.jsx)(i.vK,{width:20,height:20,color:"#fff",className:o()({"rotate-90":p,"-rotate-90":!p})}),(0,r.jsx)("span",{className:"hidden xl:block",id:"quickLinks",children:null==a?void 0:a.quickLinksMenuLabel})]})}),p&&(0,r.jsxs)("nav",{className:"bg-background-white xl:p-8 pl-12 pr-6 py-5 rounded-r-[8px] flex flex-col xl:max-h-[700px] max-h-none h-full w-full xl:w-[278px] max-w-full overflow-y-auto shadow-default custom-scrollbar z-[99999999]",children:[(0,r.jsxs)("div",{className:"flex justify-between items-center xl:justify-end",children:[!f&&(0,r.jsx)("span",{className:"text-m-md-body font-semibold",children:null==a?void 0:a.quickLinksMenuLabel}),(0,r.jsx)("button",{...(0,h.BQ)("QuickLinks","close"),"aria-label":null==a?void 0:a.closeAriaLabel,className:"self-center xl:self-end hover:*:fill-content-primary",onClick:v,children:(0,r.jsx)(i.US,{size:24,color:"#B70F2A"})})]}),(0,r.jsx)("hr",{className:"h-[1px] bg-content-secondary my-4"}),(0,r.jsx)("div",{className:"h-100 overflow-y-auto custom-scrollbar",children:null==a||null==(l=a.groups)?void 0:l.map((e,t)=>{var l;return(0,r.jsxs)("div",{children:[0!==t&&(0,r.jsx)("hr",{className:"h-[1px] bg-content-secondary my-4"}),(0,r.jsxs)("div",{className:"my-2",children:[(0,r.jsx)("h2",{className:"text-content-secondary text-m-sm-body font-semibold text-initial mb-4",children:e.groupLabel}),(0,r.jsxs)("ul",{...(0,h.HP)("QuickLinks","list",e.groupLabel),className:"flex flex-col gap-4",children:[e&&e.links&&e.links.length>0&&(null==(l=e.links)?void 0:l.slice(0,5).map((e,t)=>{var l;return(0,r.jsx)("li",{...(0,h.$B)("QuickLinks",(null==e?void 0:e.ctaAriaLabel)||t),children:(0,r.jsx)(d(),{...(0,h.R0)("QuickLinks","nav",e.ctaAriaLabel),href:null!=(l=e.ctaUrl)?l:"",target:e.ctaTarget,"aria-label":e.ctaAriaLabel,className:"text-content-secondary text-m-sm-body hover:underline",children:e.ctaLabel})},t)})),e&&e.links&&e.links.length>5&&!b[t]&&(0,r.jsx)("li",{children:(0,r.jsx)("button",{...(0,h.BQ)("QuickLinks","toggleExpandedIndex"),onClick:()=>(e=>{let t=[...b];t[e]=!t[e],g(t)})(t),className:"text-left text-content-brand text-m-sm-body hover:underline",children:a.viewMoreLabel})}),b[t]&&e&&e.links&&e.links.slice(5).map((e,t)=>{var l;return(0,r.jsx)("li",{...(0,h.$B)("QuickLinks",(null==e?void 0:e.ctaAriaLabel)||t),children:(0,r.jsx)(d(),{...(0,h.R0)("QuickLinks","nav",e.ctaAriaLabel),href:null!=(l=e.ctaUrl)?l:"",target:e.ctaTarget,"aria-label":e.ctaAriaLabel,className:"text-content-secondary text-m-sm-body hover:underline",children:e.ctaLabel})},t)})]})]})]},t)})})]})]})})},p=(0,n.memo)(f)},3149:(e,t,l)=>{l.d(t,{A:()=>a});var r=l(2115),n=l(2609);function a(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:150,[l,a]=(0,r.useState)(()=>({height:e?window.outerHeight:window.innerHeight,width:e?window.outerWidth:window.innerWidth})),o=(0,r.useCallback)(()=>{a({height:e?window.outerHeight:window.innerHeight,width:e?window.outerWidth:window.innerWidth})},[e,!0]);return(0,r.useEffect)(()=>{let e=(0,n.s)(o,t);return window.addEventListener("resize",e),e(),()=>{window.removeEventListener("resize",e)}},[o,t,!0]),l}},3743:(e,t,l)=>{l.d(t,{A:()=>x});var r=l(5155),n=l(2115),a=l(6751),o=l(1469),i=l(7650),s=l(9342),c=l(5203),d=l.n(c),u=l(8164);let x=e=>{let{isOpen:t,onClose:l,closeButtonLabel:c,children:x,id:h,triggerRef:f,headingId:p,size:m=a.r.Full}
1=e,[b,g]=(0,n.useState)(!1),v=n.useRef(null),w=n.useRef(null),y=()=>{setTimeout(()=>{var e,l;if(!t)return;let r=null==(e=w.current)?void 0:e.querySelector("textarea:not([disabled]), input:not([disabled]), select:not([disabled])");if(r)return r.focus();null==(l=v.current)||l.focus()},100)};return((0,n.useEffect)(()=>(g(!0),()=>g(!1)),[]),(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key&&l()};if(t)return document.body.classList.add("modal-open"),document.addEventListener("keydown",e),window.addEventListener("formLoaded",y),()=>{var t;document.body.classList.remove("modal-open"),document.removeEventListener("keydown",e),window.removeEventListener("formLoaded",y),null==f||null==(t=f.current)||t.focus()}},[t,l]),b)?(0,i.createPortal)((0,r.jsx)(r.Fragment,{children:t&&(0,r.jsx)(s.FocusTrap,{focusTrapOptions:{allowOutsideClick:!0,initialFocus:!1},children:(0,r.jsxs)("div",{className:"fixed inset-0 bg-[#000]/50 flex items-center justify-center z-50",children:[(0,r.jsx)("button",{type:"button",className:"fixed inset-0 bg-content-primary opacity-70 z-0 cursor-default","aria-label":"Close modal",onClick:l,tabIndex:-1}),(0,r.jsxs)("dialog",{...(0,u.HP)("Modal","container"),className:d()("modal-block bg-background-surface-weak block rounded-corner-4/24/24 xl:rounded-corner-4/40/40 z-10 w-[343px] xl:w-[600px]",m===a.r.Small&&"max-h-[400px]",m===a.r.Medium&&"max-h-[500px]",m===a.r.Large&&"max-h-[600px]",m===a.r.Full&&"max-h-full h-[calc(100vh-90px)]"),"aria-modal":"true",id:h,"aria-labelledby":p,children:[(0,r.jsx)("div",{className:"flex flex-row justify-end p-6 pt-8 !pb-0",children:(0,r.jsx)("button",{...(0,u.BQ)("Modal","close"),ref:v,"aria-label":c||"Close",className:"flex self-end",onClick:l,"aria-controls":h,children:(0,r.jsx)(o.US,{size:24,"aria-hidden":"true"})})}),(0,r.jsx)("div",{className:"px-2 h-[calc(100vh-190px)] overflow-y-auto custom-scrollbar mobile-slider",ref:w,children:x})]})]})})}),document.body):null}},4312:(e,t,l)=>{l.d(t,{A:()=>r});let r=(e,t)=>{let l=window;l.__sent=l.__sent||new Set,l.__sent.has(t)||(l.__sent.add(t),l.dataLayer=l.dataLayer||[],l.dataLayer.push(e))}},4354:(e,t,l)=>{l.d(t,{$f:()=>s,HM:()=>n,OS:()=>i,dm:()=>o,k0:()=>a,nH:()=>c,nN:()=>r});let r={"en-us":"NA","ja-jp":"JP",en:"GL","en-gb":"UK","en-za":"SA","en-eu":"EU","en-au":"AU","en-em":"EM"},n="en-us",a="US",o="USA",i="USD",s="USD",c="PriceMetaData"},4739:(e,t,l)=>{l.d(t,{default:()=>i});var r=l(5155),n=l(2115),a=l(6578),o=l(8479);let i=e=>{let{src:t,alt:l,className:i,propertyName:s,removeSvgFill:c=!0,mode:d,waitUntilContentLoaded:u=!0,...x}=e,[h,f]=(0,n.useState)(""),p=(0,n.useId)(),m=async e=>{let t="https://cms.comptia.org",r=(()=>{if(!t)return!1;try{return new URL(e,window.location.origin).origin===new URL(t).origin}catch(e){return!1}})(),n=await fetch(r?"".concat(o.A,"/api/get-svg"):e,r?{headers:{"x-svg-url":e}}:void 0);if(!n.ok)throw Error("Failed to fetch SVG: ".concat(n.statusText));let a=await n.text();c&&(a=a.replaceAll(/fill="[^"]*"/g,""));let i=new DOMParser().parseFromString(a,"image/svg+xml"),s=i.getElementsByTagName("svg")[0];if(!s)throw Error("The fetched content is not a valid SVG.");if(l&&l.length){let e="icon-".concat(p),t=i.createElement("title");s.setAttribute("role","img"),s.setAttribute("alt",l),s.setAttribute("aria-labelledby",e),t.setAttribute("id",e),t.textContent=l,s.prepend(t)}return s.outerHTML};return((0,n.useEffect)(()=>{(async()=>{try{if(t){let e=await m(t);f(e)}}catch(e){console.error("Error loading SVG:",e)}})()},[t]),!u||h)?(0,r.jsx)("div",{...(0,a.d8)(s,d),className:i,dangerouslySetInnerHTML:{__html:h},...x}):null}},4750:(e,t,l)=>{l.d(t,{Footer:()=>x,default:()=>h});var r=l(5155),n=l(2115),a=l(2282),o=l(5464),i=l(1469),s=l(6578),c=l(2619),d=l.n(c),u=l(8164);let x=e=>{let{content:{logo:t,copyright:l,columnOneLinks:c,columnTwoLinks:x,socialMediaIcons:h},mode:f}=e,p={facebook:i.ik,instagram:i.oW,linkedin:i.ky,spotify:i.qq,x:i.uv,youtube:i.pd};return(0,r.jsxs)("footer",{className:"bg-background-surface",children:[(0,r.jsxs)("div",{...(0,u.HP)("Footer","container"),className:"container grid grid-cols-1 py-10 px-4 xl:grid-cols-4 xl:gap-8 xl:py-14",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-6 xl:gap-8",children:[(null==t?void 0:t.imageData)&&t.imageData&&t.ctaUrl&&(0,r.jsx)(d(),{href:t.ctaUrl,title:t.ctaAriaLabel,"aria-label":t.ctaAriaLabel,target:t.ctaTarget,children:(0,r.jsx)(a.A,{imageData:t.imageData||null,width:160,height:28,cropImage:!1,
1className:"object-contain h-auto w-[160px]",mode:f,propertyName:"Logo"})}),(0,r.jsx)("ul",{...(0,u.HP)("Footer","list","social-media"),className:"list-style-none flex gap-4",children:null==h?void 0:h.map((e,t)=>{let l=p[e.platform.toLowerCase()];return(0,n.createElement)("li",{...(0,u.$B)("Footer",e.platform),className:"w-8 h-8 bg-content-primary rounded-corner-100 hover:bg-background-brand transition-background duration-300",key:t},(0,r.jsx)("a",{...(0,u.R0)("Footer","nav",e.platform),className:"flex justify-center items-center p-2 rounded-corner-100 focus-visible:outline focus-visible:outline-offset-[3px] focus-visible:outline-background-brand",href:e.link,"aria-label":e.platform,children:(0,r.jsx)(l,{})}))})})]}),(0,r.jsx)("div",{className:"mt-6 xl:mt-0",children:(0,r.jsx)("ul",{...(0,u.HP)("FooterColumnOne","list"),className:"list-style-none flex flex-col gap-2 xl:gap-1",children:null==c?void 0:c.map((e,t)=>(0,r.jsx)("li",{...(0,u.$B)("Footer",e.ctaAriaLabel),children:(0,r.jsx)(o.A,{...(0,u.BQ)("Footer","cta",t),content:{...e,ctaType:"btn--tertiary"},propertyName:"Cta".concat(t+1),className:"!text-content-primary text-m-xxsmall-body xl:text-d-xxsmall-body"})},t))})}),(0,r.jsx)("div",{className:"mt-2 xl:mt-0",children:(0,r.jsx)("ul",{...(0,u.HP)("FooterColumnTwo","list"),className:"list-style-none flex flex-col gap-2 xl:gap-1",children:null==x?void 0:x.map((e,t)=>(0,r.jsx)("li",{...(0,u.$B)("Footer",e.ctaAriaLabel),children:(0,r.jsx)(o.A,{...(0,u.BQ)("Footer","cta",t),content:{...e,ctaType:"btn--tertiary"},propertyName:"Cta".concat(t+1),className:"!text-content-primary text-m-xxsmall-body xl:text-d-xxsmall-body"})},t))})})]}),(0,r.jsx)("div",{className:"flex justify-center items-center bg-content-primary",children:(0,r.jsx)("p",{className:"text-content-white text-m-xxsmall-body xl:text-d-xxsmall-body py-[10px]",...(0,s.d8)("Copyright",f),children:l})})]})},h=x},5464:(e,t,l)=>{l.d(t,{A:()=>r.default});var r=l(5833)},5833:(e,t,l)=>{l.r(t),l.d(t,{default:()=>h});var r=l(5155),n=l(2115),a=l(5203),o=l.n(a),i=l(2619),s=l.n(i),c=l(6578),d=l(2282),u=l(8479);async function x(e,t){if(e&&t)try{await fetch("".concat(u.A,"/api/search/tracking/"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({trackingId:e,query:t})})}catch(e){console.error("Tracking error:",e)}}let h=n.memo(e=>{var t,l,n;let{content:a,disabled:i=!1,onClick:u,mode:h,propertyName:f,className:p,svgClasses:m,tabIndex:b=0,trackingId:g,trackingQuery:v,ctaRef:w,...y}=e;return a.ctaUrl?(0,r.jsxs)(s(),{...(0,c.d8)(f,h),className:o()("btn flex flex-row gap-2",a.ctaType,a.ctaSize,a.ctaWithoutOutline&&a.ctaType+"--no-outline",p,"left"===a.alignment&&"flex-row-reverse"),target:a.ctaTarget||"_self","aria-label":a.ctaAriaLabel,tabIndex:b,href:a.ctaUrl,onClick:()=>x(g,v),...y,children:[a.ctaLabel,((null==(l=a.imageData)?void 0:l.assetId)||(null==(n=a.imageData)?void 0:n.src))&&(0,r.jsx)(d.A,{imageData:a.imageData,className:o()("w-[20px] h-[20px] *:w-[20px] *:h-[20px]",m),propertyName:"Image",width:20,height:20,cropImage:!1,mode:h})]}):(0,r.jsxs)("button",{...(0,c.d8)(f,h),onClick:u,disabled:i,title:a.ctaAriaLabel,tabIndex:b,ref:w,className:o()("btn flex flex-row gap-2",a.ctaType,a.ctaSize,a.ctaWithoutOutline&&"btn--secondary--no-outline",p,"left"===a.alignment&&"flex-row-reverse"),...y,children:[a.ctaLabel,(null==(t=a.imageData)?void 0:t.src)&&(0,r.jsx)(d.A,{imageData:a.imageData,className:o()("w-[20px] h-[20px] *:w-[20px] *:h-[20px]",m),propertyName:"Image",width:20,height:20,cropImage:!1,mode:h})]})})},6578:(e,t,l)=>{l.d(t,{C0:()=>o,Dd:()=>i,d8:()=>a,m4:()=>n});var r=l(8936);let n=e=>e===r.rc.Edit||e===r.rc.Preview,a=(e,t)=>n(t)?{"data-epi-edit":e}:{},o=(e,t)=>e&&n(t)?{"data-epi-block-id":e}:{},i=e=>void 0!==e&&Object.keys(e).length>0},6751:(e,t,l)=>{l.d(t,{r:()=>r});var r=function(e){return e.Small="sm",e.Medium="md",e.Large="lg",e.Full="full",e}({})},6755:(e,t,l)=>{l.d(t,{A:()=>n});var r=l(4354);let n=e=>{if(e){let t=decodeURIComponent(e).split("|"),l=t[0]&&"null"!==t[0]?t[0]:r.HM,n=t[1]||r.k0;return{market:l,alpha2country:n,alpha3country:t[2]||r.dm,currency:t[3]||r.OS}}
1return{market:r.HM,alpha2country:r.k0,alpha3country:r.dm,currency:r.OS}}},7459:(e,t,l)=>{l.d(t,{default:()=>x});var r=l(5155),n=l(2115),a=l(1469),o=l(5203),i=l.n(o),s=l(2619),c=l.n(s),d=l(8189),u=l(2609);let x=n.memo(e=>{let{content:t}=e,[l,o]=(0,n.useState)(!1),s=(0,n.useRef)(null),[x,h]=(0,n.useState)(!1),[f,p]=(0,n.useState)(!1),[m,b]=(0,n.useState)(!1),g=(0,n.useCallback)(()=>{o(window.innerWidth<d.lq.xl),(null==s?void 0:s.current)&&(b(s.current.scrollWidth>s.current.clientWidth),h(s.current.scrollLeft>0),p(s.current.scrollWidth>s.current.clientWidth+s.current.scrollLeft))},[null==s?void 0:s.current]);return(0,n.useEffect)(()=>{g();let e=(0,u.s)(g,200);return(null==s?void 0:s.current)&&(window.addEventListener("resize",e),s.current.addEventListener("scroll",g)),()=>{(null==s?void 0:s.current)&&(window.removeEventListener("resize",e),s.current.removeEventListener("scroll",g))}},[t]),(0,n.useEffect)(()=>{s.current&&(s.current.scrollLeft=s.current.scrollWidth)},[t]),(0,r.jsx)("nav",{className:i()("py-2 xl:py-4 relative xl:w-full border-[#E9E9EA] border-b-[1px] border-solid xl:border-0 -mx-4 xl:mx-0",{"xl:after:hidden after:absolute after:inset-y-0 after:right-0 after:content-[''] after:w-10 after:bg-gradient-to-r after:from-[transparent] after:to-[white] after:pointer-events-none":f,"xl:before:hidden before:absolute before:inset-y-0 before:left-0 before:content-[''] before:w-10 before:bg-gradient-to-l before:from-[transparent] before:to-[white] before:pointer-events-none":x}),"aria-label":"Breadcrumb",children:(0,r.jsx)("ol",{ref:s,className:"flex items-center overflow-x-auto xl:overflow-visible max-w-full scroll-smooth px-4 xl:px-0",children:t.map((e,n)=>{let{name:o,url:s}=e;return(0,r.jsxs)("li",{className:"flex items-center",children:[n===t.length-1?(0,r.jsx)("span",{className:i()("text-d-xxsmall-body font-medium overflow-hidden text-ellipsis whitespace-nowrap",{"xl:max-w-[200px]":m}),"aria-current":"page",children:(e=>l&&e.length>26?"".concat(e.substring(0,26).trim(),"..."):e)(o)}):s&&(0,r.jsx)(c(),{className:i()("my-0.5 text-d-xxsmall-body font-medium text-palette-primary-brand hover:underline transition-colors duration-300 focus:outline focus:my-1 focus:outline-1 focus:outline-background-brand focus:outline-offset-2 rounded-corner-100 whitespace-nowrap"),"aria-label":o,href:s,children:0===n?(0,r.jsx)(a.fA,{"aria-hidden":"true"}):o}),n!==t.length-1&&(0,r.jsx)(a.qw,{"aria-hidden":"true",className:"mx-2",width:8,height:13,color:"#C8102E"})]},n)})})})})},7631:(e,t,l)=>{l.d(t,{A:()=>i});var r=l(8212),n=l(8207),a=l(6784);class o{getUser(){return this.userManager?this.userManager.getUser():Promise.resolve(null)}async login(e){if(this.userManager){let t={state:e||window.location.href};(0,n.Ri)("redirectCookie")||(0,n.TV)("redirectCookie",t.state);try{await this.userManager.signinRedirect(t)}catch(e){console.error("Login failed",e)}}}async handleRedirectCallback(){if(this.userManager){var e;let t=null!=(e=(0,n.Ri)("redirectCookie"))?e:"/";try{let e=await this.userManager.getUser();setTimeout(()=>{var l;if((null==e?void 0:e.id_token)&&(null==e||null==(l=e.profile)?void 0:l.id)){let t=window.location.hostname.split(".").slice(-2).join(".");(0,n.TV)("idToken",e.id_token,t,3600),(0,n.TV)("userId",e.profile.id,t,3600),(0,n.TV)("ssoRedirect","true",t,3600)}(0,n.Yj)("redirectCookie"),globalThis.location.replace(t)},500)}catch(e){console.error("Redirect callback failed",e),globalThis.location.replace(t)}}}logout(){if(this.userManager){let e=window.location.hostname.split(".").slice(-2).join(".");(0,n.Yj)("idToken",e),(0,n.Yj)("userId",e),(0,n.Yj)("topDomainSharedCookie",e),(0,n.Ri)("redirectCookie")||(0,n.TV)("redirectCookie",window.location.href),(0,a.sendGTMEvent)({event:"user_logout"}),setTimeout(()=>{var e;null==(e=this.userManager)||e.signoutRedirect()},500)}}async refreshAccessToken(){if(this.userManager)try{let e=await this.userManager.signinSilent();return null==e?void 0:e.id_token}catch(e){console.error("Failed to refresh access token",e)}return null}async getCodeVerifier(e){let t=window.localStorage.getItem("oidc.".concat(e));return t&&JSON.parse(t).code_verifier||null}constructor(){this.userStore=new r.O({store:window.localStorage});{let e={userStore:this.userStore,authority:"".concat("https://sso.comptia.org/","/").concat("15f87ae2-4837-49ef-8dee-dac4a71febe3","/").concat("b2c_1a_comptiashop_signuporsignin","/v2.0"),client_id:"eb3c6abb
1-9e02-4101-8147-c52a4c4f688e",redirect_uri:"".concat("https://www.comptia.org").concat("/signin-oidc/aadb2c/"),post_logout_redirect_uri:"".concat("https://www.comptia.org").concat("/signout-callback-oidc/aadb2c/"),response_type:"code",scope:"openid profile offline_access",filterProtocolClaims:!0,loadUserInfo:!0};this.userManager=new r.$5(e)}}}let i=void 0===globalThis.window?null:new o},8164:(e,t,l)=>{l.d(t,{$B:()=>c,BQ:()=>o,HP:()=>n,Mu:()=>a,R0:()=>i,dz:()=>d,rE:()=>s});let r=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),n=(e,t,l)=>{let n=r(e),a=r(t);return{"data-automation-id":null!=l?"".concat(n,"-").concat(a,"-").concat(r(String(l))):"".concat(n,"-").concat(a)}},a=(e,t,l)=>n(e,t,l),o=(e,t,l)=>n(e,"button-".concat(t),l),i=(e,t,l)=>n(e,"link-".concat(t),l),s=(e,t)=>n(e,"input-".concat(r(t))),c=(e,t)=>n("navigation","".concat(e,"-item"),t),d=(e,t)=>n("card",e,t)},8189:(e,t,l)=>{var r,n;l.d(t,{lq:()=>i});let a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16;return e.replaceAll(/(\d*\.?\d+)px/g,(e,l)=>Number.parseFloat(l)/t+"rem")},o=null!=(n=null==(r=({content:["./src/components/**/**/*.{js,ts,jsx,tsx,mdx}"],safelist:["template-image-caption-50","template-image-full","object-cover","object-contain"],theme:{extend:{padding:{2.5:"10px"},boxShadow:{default:"0 10px 45px 0px rgb(0 0 0 / 0.1)",alternate:"0px 10px 20px 0px rgb(0 0 0 / 0.1)"},aspectRatio:{image:"3 / 2"}},fontSize:{"d-xl-title":[a("60px"),{lineHeight:a("69px"),letterSpacing:a("-1.2px")}],"d-lg-title":[a("50px"),{lineHeight:a("57px"),letterSpacing:a("-1px")}],"d-md-title":[a("40px"),{lineHeight:a("47px"),letterSpacing:a("-0.8px")}],"d-sm-title":[a("30px"),a("37px")],"d-xsm-title":[a("24px"),a("31px")],"m-xl-title":[a("46px"),{lineHeight:a("53px"),letterSpacing:a("-0.9px"),fontWeight:700}],"m-lg-title":[a("36px"),{lineHeight:a("43px"),letterSpacing:a("-0.7px"),fontWeight:700}],"m-md-title":[a("30px"),{lineHeight:a("37px"),letterSpacing:a("-0.6px"),fontWeight:700}],"m-sm-title":[a("24px"),{lineHeight:a("31px"),fontWeight:600}],"m-xsm-title":[a("20px"),{lineHeight:a("27px"),fontWeight:600}],"d-xl-body":[a("24px"),a("31px")],"d-lg-body":[a("22px"),a("29px")],"d-md-body":[a("20px"),a("27px")],"d-sm-body":[a("18px"),a("25px")],"d-xxsmall-body":[a("14px"),a("21px")],"m-xl-body":[a("22px"),{lineHeight:a("27px"),fontWeight:500}],"m-lg-body":[a("20px"),{lineHeight:a("24px"),fontWeight:500}],"m-md-body":[a("18px"),{lineHeight:a("25px"),fontWeight:500}],"m-sm-body":[a("16px"),{lineHeight:a("23px"),fontWeight:500}],"xsm-body":[a("16px"),{lineHeight:a("23px"),fontWeight:500}],"m-xxsmall-body":[a("12px"),{lineHeight:a("15px"),fontWeight:500}],link:[a("20px"),a("27px")],"link-sm":[a("18px"),a("22px")],eyebrow:[a("11px"),{lineHeight:a("20px"),fontWeight:600}]},fontWeight:{normal:"400",medium:"500",semibold:"600",bold:"700"},screens:{sm:"390px",md:"390px",lg:"390px",xl:"1200px","2xl":"1440px"},colors:{content:{brand:"#B70F2A",primary:"#0D1013",secondary:"#20282F",tertiary:"#6C6E70",white:"#fff",disabled:"#D1D1D2"},background:{surface:"#E9E9EA","surface-weak":"#F6F7F9",brand:"#C8102E",white:"#FFFFFF",transparent:"transparent",border:"#B6B7B7",error:"#FAE9E9"},palette:{transparent:"transparent",primary:{brand:"#C8102E",brandLight:"#E99FAB",black:"#20282F",white:"#FFFFFF"},secondary:{"grey-0":"#F4F4F4","grey-50":"#E2E2E2","grey-100":"#DADADA","grey-150":"#CFCFCF","grey-300":"#ADADAD","grey-500":"#808080","grey-700":"#4D4D4D","grey-850":"#333333"},tertiary:{error:"#E00000",coolGrey:"#CCD5D9",warmBeige:"#EFE6D5"}}},gradientColorStops:{1:"#CF4400",2:"#C8102E",3:"#A11661",4:"#7D1D7E",5:"#4E25A1",6:"#A91458",7:"#8B1A72",8:"#6F2089",9:"#C11137",10:"#9B1764",11:"#7D1A8E",12:"#B51248",13:"#831C78",14:"#9E1662"},gradientColorStopPositions:{0:"0%",21:"21%",45:"45%",67:"67%",93:"93%"},fontFamily:{inter:["Inter","sans-serif"],gelasio:["Gelasio","serif"]},borderRadius:{"corner-2":"2px","corner-4":"4px","corner-8":"8px","corner-16":"16px","corner-24":"24px","corner-32":"32px","corner-0/16/0/0":"0 16px 0 0","corner-4/8/8":"4px 8px 8px","corner-4/16/16":"4px 16px 16px","corner-4/16/0/0":"4px 16px 0 0","corner-0/0/16/16":"0 0 16px 16px","corner-0/0/8/8":"0 0 8px 8px","corner-4/24/24":"4px 24px 24px","corner-4/32/32":"4px 32px 32px","corner-4/40/40":"4px 40px 40px","corner-100":"100px","corner-50%":"50%"}},corePlugins:{container:!1},plugins:[function(e){let{addComponents:t}=e;t({".container":{width:"100%",maxWidth:"100%",margin:"auto",paddingLeft:16,paddingRight:16,"@screen xl":{maxWidth:"1200px"},"@screen 2xl":{paddingLeft:0,paddingRight:0}},".no-container":{width:"100%",maxWidth:"100%",margin:"unset",paddingLeft:"unset",paddingRight:"unset"}})}]}).theme)?void 0:r.screens)?n:{},i=Object.keys(o).reduce((e,t)=>
1({...e,[t]:Number(o[t].replace("px",""))}),{})},8207:(e,t,l)=>{l.d(t,{Ri:()=>r,TV:()=>n,Yj:()=>a});let r=e=>{var t;return null==(t=document.cookie.split("; ").find(t=>t.startsWith(e)))?void 0:t.split("=")[1]},n=(e,t,l,r)=>{let n="".concat(e,"=").concat(t,"; path=/; secure");l&&(n+="; domain=.".concat(l)),r&&(n+="; max-age=".concat(r)),document.cookie=n},a=(e,t)=>{document.cookie="".concat(e,"=; path=/").concat(t?"; domain=.".concat(t):"","; expires=Thu, 01 Jan 1970 00:00:01 GMT; secure")}},8479:(e,t,l)=>{l.d(t,{A:()=>r});let r="".concat(window.location.protocol,"//").concat(window.location.host)},8566:(e,t,l)=>{l.d(t,{T:()=>n,v:()=>r});var r=function(e){return e[e.OK=200]="OK",e[e.NO_CONTENT=204]="NO_CONTENT",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.UNAUTHORIZED=401]="UNAUTHORIZED",e[e.ACCESSDENIED=403]="ACCESSDENIED",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",e}({}),n=function(e){return e.NA="en-us",e.GL="en",e.UK="en-gb",e.JP="ja-jp",e.SA="en-za",e.EU="en-eu",e.AU="en-au",e.EM="en-em",e}({})},8936:(e,t,l)=>{l.d(t,{us:()=>u,rc:()=>c,U5:()=>d,sb:()=>r});let r={apiUrl:"/",selectAllProperties:!0,expandAllProperties:!1};var n=l(8207),a=l(8479);class o{async get(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=function(e,t){let l="https://temp",r=new URL(e,l);return r.pathname.endsWith("/")?r.pathname=r.pathname+t:r.pathname=r.pathname+"/"+t,r.hostname===l?r.pathname+r.search:r.toString()}(this.config.apiUrl,e),o=await i(e,l,this.config);return this.config.getUrl&&(r=await this.config.getUrl(r)),new Promise((e,l)=>{let i=new URL(r);Object.keys(t).forEach(e=>i.searchParams.append(e,t[e])),o.append("x-content-url",i.href),"undefined"!=typeof document&&document.cookie.includes("refreshToken=")&&(0,n.Yj)("refreshToken"),fetch("".concat(a.A,"/api/get-content/"),{method:"GET",credentials:"include",headers:o}).then(async t=>{var l=null;t.ok&&(l=await t.json());let r={ok:t.ok,status:t.status,statusText:t.statusText,headers:new Map,data:l};t.headers.forEach((e,t)=>{r.headers.set(t,e)}),e(r)}).catch(e=>{var t;let r,n=Error("API Error");Object.assign(n,(r={},"function"==typeof(t=e).json?t.json().then(e=>{r.data=e}).catch(e=>{r.status=e.status,r.statusText=e.statusText}):r.statusText=t,r)),l(n)})})}getDefaultParameters(e,t){return{select:e?e.join():this.config.selectAllProperties?"":"name",expand:t?t.join():this.config.expandAllProperties?"*":""}}getDefaultHeaders(e){return{"Accept-Language":e||void 0}}constructor(e){this.config=e}}async function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0,r=new Headers;for(let e in t)void 0!==t[e]&&r.set(e,t[e]);if(l.getHeaders){let t=await l.getHeaders(e);if(t)for(let e in t)void 0!==t[e]&&r.set(e,t[e])}if(l.getAccessToken){let t=await l.getAccessToken(e);t&&r.set("Authorization","Bearer ".concat(t))}r.delete("host"),r.delete("x-forwarded-host");let n=r.get("cookie");if(n&&n.includes("refreshToken=")){let e=n.split(";").map(e=>e.trim()).filter(e=>!e.startsWith("refreshToken="));e.length>0?r.set("cookie",e.join("; ")):r.delete("cookie")}return Promise.resolve(r)}var s=l(8566),c=function(e){return e.Default="DEFAULT",e.Preview="PREVIEW",e.Edit="EDIT",e}({}),d=function(e){return e.Unknown="UNKNOWN",e.Resolved="RESOLVED",e.NotFound="NOTFOUND",e.Unauthorized="UNAUTHORIZED",e.AccessDenied="ACCESSDENIED",e.ServerError="SERVERERROR",e}({});class u{resolveContent(e,t,l,r){let n={contentUrl:e,matchExact:t,...null==l?void 0:l.query,...this.api.getDefaultParameters(null==l?void 0:l.select,null==l?void 0:l.expand)};return new Promise((e,t)=>{this.api.get("content",n).then(t=>{var l;let a,o=t.data,i="UNKNOWN";switch(t.status){case s.v.OK:(null==o?void 0:o.length)>0?(i="RESOLVED",a={...o[0],language:r}):i="NOTFOUND";break;case s.v.NOT_FOUND:i="NOTFOUND";break;default:i="SERVERERROR"}let d=(l=t.headers.get("x-epi-contextmode"),n.epieditmode?c.Edit:({Edit:c.Edit,Preview:c.Preview})[l]||c.Default);e({content:{...a,mode:d},branch:t.headers.get("x-epi-branch"),status:i,mode:d,remainingPath:t.headers.get("x-epi-remainingroute"),siteId:t.headers.get("x-epi-siteid"),startPageId:t.headers.get("x-epi-startpageguid"),params:n})}).catch(e=>{t(function(e){let t=Error(e.statusText||e.message||"Network error");return t.name="ContentResolverError",t}(e))})})}constructor(e){this.api=new o({...r,...e})}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.