1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1346],{31346:function(n,e,t){t.r(e),t.d(e,{default:function(){return M},renderingId:function(){return E}});var r=t(27573),l=t(40020),a=t(76486),o=t(24168),i=t(59372),s=t(56683),c=t(83723);function u(){let n=(0,s._)(["\n w-0\n h-0 \n border-solid\n border-t-[0]\n border-r-[40px]\n border-b-[15px]\n border-l-[40px]\n border-t-transparent\n border-r-transparent\n border-b-white\n border-l-transparent\n absolute\n left-1/2\n top-full\n -translate-x-1/2\n -translate-y-full\n "]);return u=function(){return n},n}function d(){let n=(0,s._)(["\n absolute \n text-brandBlack \n top-full \n -mt-[1px]\n left-0 \n right-0 \n z-[-100] \n bg-brandWhite \n transition-transform \n duration-[.4s] \n flex \n flex-col\n gap-2\n py-2 \n justify-center\n ","\n"]);return d=function(){return n},n}function f(){let n=(0,s._)(["\n relative \n h-full \n flex\n"]);return f=function(){return n},n}function h(){let n=(0,s._)(["\n h-full \n flex \n relative \n items-center\n"]);return h=function(){return n},n}function p(){let n=(0,s._)(["\n h-0 \n w-8 \n relative \n flex \n items-center\n"]);return p=function(){return n},n}function x(){let n=(0,s._)(["\n px-4 \n font-helvetica57 \n text-16 \n text-brandBlack \n hover:text-brandSecondary \n hover:font-bold\n"]);return x=function(){return n},n}function b(){let n=(0,s._)(["\n whitespace-nowrap \n pr-4 \n uppercase\n min-w-[90px]\n"]);return b=function(){return n},n}let j=c.Z.div(u()),C=c.Z.div(d(),n=>{let{active:e}=n;return!0===e?"":"-translate-y-full "}),v=c.Z.div(f()),g=c.Z.div(h()),m=c.Z.div(p()),L=c.Z.div(x()),Z=c.Z.div(b());var w=t(7653),k=t(94387),V=t(69082),H=t(51512),y=t(7577),M=n=>{let e,{links:t}=n,s=(0,V.Z)(),{path:c}=(0,k.t)(),[u,d]=(0,w.useState)(!1),{isLoading:f,isAuthenticated:h,user:p}=(0,i.J)(),x=()=>{e||d(!0),clearTimeout(e)},b=()=>{clearTimeout(e),e=setTimeout(()=>{d(!1)},500)},M=(0,y.US)(n=>n.language.lang),E=(0,H.ZM)(M),_="".concat(E).concat(c),S="/api/auth/logout?returnUrl=".concat(encodeURIComponent(_)),U="/api/auth/login?returnUrl=".concat(encodeURIComponent(_));return(0,r.jsxs)(v,{onMouseEnter:h?()=>x():void 0,onMouseLeave:h?()=>b():void 0,children:[(0,r.jsx)(g,{children:(0,r.jsxs)(o.Z,{"data-testid":"desktop-auth-link",href:h?"/account":U,forceExternal:!0,className:"text-brandWhite relative flex items-center h-8".concat(h?"":" border-r border-t border-b border-transparent hover:border-brandBlack"),children:[(0,r.jsxs)(m,{children:[(0,r.jsx)(l.q,{className:"absolute left-0 -translate-x-1/2 -translate-y-1/2 top-1/2 flex",state:"ACTIVE",fillColor:h?"BLACK":"WHITE",height:34,width:34}),(0,r.jsx)(l.q,{className:"absolute left-0 -translate-x-1/2 -translate-y-1/2 top-1/2 flex",fillColor:h?"WHITE":"BLACK",height:34,width:34})]}),(0,r.jsx)(Z,{children:h?p.details.name||p.details.email:"".concat(s("SignUp")," / ").concat(s("LogIn"))}),h&&(0,r.jsx)("div",{className:"relative h-0 w-0 ".concat(u?"opacity-0":""),children:(0,r.jsx)(a.x,{fillColor:"WHITE",className:"absolute left-0 -translate-x-1/2 -translate-y-1/2 top-1/2"})})]})}),u&&(0,r.jsx)(j,{}),(0,r.jsxs)(C,{active:u,children:[t.map((n,e)=>(0,r.jsx)(o.Z,{href:n.url,children:(0,r.jsx)(L,{children:n.text})},e)),(0,r.jsx)(o.Z,{forceExternal:!0,keepCasing:!0,href:S,"data-testid":"desktop-logout-link",children:(0,r.jsx)(L,{children:s("LogOut")})})]})]})};let E="672e2c9c51154dda87d355bfffd1f6c5"},51512:function(n,e,t){t.d(e,{FC:function(){return o},Fz:function(){return s},Mo:function(){return c},UH:function(){return d},ZM:function(){return u},wt:function(){return a}});var r=t(7653);let l=/\{([a-zA-Z0-9-_]*)\}/g,a=(n,e)=>n.replace(l,(n,t)=>t in e?e[t]:""),o=(n,e)=>{let{current:t}=n;e?null==t||t.classList.add("active"):null==t||t.classList.remove("active")},i=n=>n.replace(/<\/?[^>]+(>|$)/g,""),s=n=>r.isValidElement(n)?n.props.alt||n.props.filename?n.props.alt||n.props.filename:n.props.code?i(String(n.props.code)):r.Children.toArray(n.props.children).map(s).join(" "):String(n),c=n=>{try{return JSON.parse(n)}catch(n){return console.warn(n),null}},u=n=>{let e;switch("mx"===window.location.hostname.split(".").pop()&&(n="es-MX"),null==n?void 0:n.toLowerCase()){case"fr-ca":e="/fr";break;case"es-us":e="/es";break;default:e=""}return e},d=n=>!!n},94387:function(n,e,t){t.d(e,{t:function(){return l}});var r=t(7577);let l=()=>(0,r.US)(n=>n.router)},69082:function(n,e,t){var r=t(7577),l=t(7653),a=t(5923);e.Z=()=>{let n=(0,l.useRef)(new Set),{fetchKeys:e}=(0,l.useContext)(a.Z),t=(0,r.US)(n=>n.language.lang),o=(0,r.US)(n=>n.language.translations);return(0,l.useEffect)(()=>{n.current.size>0&&e({lang:t,keys:[...n.current.values()]})},[e,t]),e=>(null==o?void 0:o.hasOwnProperty(e))?o[e]:(n.current.add(e),e)}},40020:function(n,e,t){t.d(e,{q:function(){return i}});var r=t(11431),l=t(27573),a=({...n})=>(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(r.u,{...n,children:[(0,l.jsx)("defs",{children:(0,l.jsxs)("mask",{id:"hole",children:[(0,l.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,l.jsx)("path",{d:"M12.6533 14.1067V16L11.6533 16.88L11.2533 16.44L12 16V14.1467C9.98145 14.1928 7.9833 13.7345 6.18665 12.8133V15.96L9.33331 20.3067H14.8L17.5466 16V12.7467C16.0796 13.6597 14.3811 14.1318 12.6533 14.1067Z",fill:"black"}),(0,l.jsx)("path",{d:"M12 13.3333C14.4612 13.2702 16.8604 12.5473 18.9467 11.24L18.2933 9.90666H17.5467C17.76 5.05333 14.2267 4.30666 14.2267 4.30666V8.54666H13.4V3.69333H10.6V8.54666H9.77334V4.34666C9.77334 4.34666 6.22668 5.09333 6.45335 9.94666H5.70668
1L5.05334 11.28C7.14368 12.5732 9.54252 13.2823 12 13.3333Z",fill:"black"})]})}),(0,l.jsx)("g",{mask:"url(#hole)",children:(0,l.jsx)("path",{d:"M12 23.1867C18.1782 23.1867 23.1867 18.1782 23.1867 12C23.1867 5.82178 18.1782 0.813339 12 0.813339C5.8218 0.813339 0.813354 5.82178 0.813354 12C0.813354 18.1782 5.8218 23.1867 12 23.1867Z"})})]})}),o=({...n})=>(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(r.u,{...n,children:[(0,l.jsx)("path",{d:"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z",fill:"transparent"}),(0,l.jsx)("path",{d:"M12.7008 14.2598V16.2908L11.6281 17.2348L11.199 16.7628L12 16.2908V14.3027C9.83468 14.3523 7.69126 13.8606 5.76398 12.8725V16.2479L9.13942 20.9106H15.0035L17.9499 16.2908V12.8009C16.3762 13.7803 14.5542 14.2867 12.7008 14.2598Z"}),(0,l.jsx)("path",{d:"M12 13.4303C14.6402 13.3626 17.2137 12.5871 19.4517 11.1847L18.7509 9.75446H17.95C18.1788 4.54827 14.3886 3.74731 14.3886 3.74731V8.29558H13.5018V3.08939H10.4982V8.29558H9.61145V3.79022C9.61145 3.79022 5.80692 4.59117 6.05007 9.79737H5.24911L4.54828 11.2276C6.79059 12.6149 9.36385 13.3755 12 13.4303Z"})]})}),i=({state:n,...e})=>"ACTIVE"==n?(0,l.jsx)(a,{...e}):(0,l.jsx)(o,{...e})},76486:function(n,e,t){t.d(e,{x:function(){return a}});var r=t(11431),l=t(27573),a=({...n})=>(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(r.u,{...n,children:(0,l.jsx)("g",{children:(0,l.jsx)("path",{d:"M12 15.95L5.40002 9.35002L7.07502 7.67502L12 12.625L16.925 7.70002L18.6 9.37502L12 15.95Z"})})})})}}]);
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.