const e=require(`./chunk-BcutgqC9.cjs`),t=require(`./utils-8yHOSEWy.cjs`),n=require(`./createLucideIcon-BDgzJx6F.cjs`),r=require(`./x-BCptJoBS.cjs`);let i=require(`react`);i=e.n(i,1);let a=require(`react/jsx-runtime`);var o=n.t(`menu`,[[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 18h16`,key:`19g7jn`}],[`path`,{d:`M4 6h16`,key:`1o0s65`}]]);function s({className:e,children:n,...r}){return(0,a.jsx)(`header`,{...r,className:t.t(`bg-primary-gray-100 dark:bg-primary-gray-650 shadow-header left-0 top-0 w-full z-10 max-w-full flex py-0 px-6 gap-4 justify-between items-center box-border relative h-[75px] md:h-header`,e),children:n})}function c({className:e,siteName:n,siteSubName:r,hyperlink:i,logoLocale:o,...s}){return(0,a.jsx)(`div`,{...s,className:t.t(`flex items-center`,e),children:(0,a.jsxs)(`a`,{href:i||`./`,style:{textDecoration:`none`},className:`logo-sub-head flex gap-6 items-center`,children:[(0,a.jsx)(`img`,{src:`https://cdn.jsdelivr.net/npm/@undp/design-system-assets/images/${o===`es`||o===`fr`?`pnud`:`undp`}-logo-blue.svg`,alt:`UNDP Logo`,className:`w-[40px] h-[82px] md:w-[60px] md:h-[122px] z-100`}),(0,a.jsxs)(`div`,{children:[r?(0,a.jsx)(`div`,{className:`leading-[1.142] border-b border-b-primary-gray-500 dark:border-b-primary-gray-550 pb-px uppercase font-semibold text-primary-gray-600 dark:text-primary-gray-200 pb-px mx-0 mt-0 mb-[4.8px] text-xs inline-block no-underline`,children:r}):null,(0,a.jsx)(`div`,{className:`text-primary-black dark:text-primary-white p-0 m-0 no-underline text-base lg:text-xl font-semibold leading-[1.142]`,children:n})]})]})})}function l({className:e,children:n,...s}){let[c,l]=i.default.useState(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(`div`,{...s,className:t.t(`grow justify-between gap-8 hidden text-sm uppercase md:flex`,e),children:n}),(0,a.jsxs)(`div`,{...s,className:t.t(`grow justify-end gap-8 flex md:hidden`,e),children:[(0,a.jsx)(`button`,{type:`button`,onClick:()=>{l(!c)},children:c?(0,a.jsx)(r.t,{className:`w-6 h-6 stroke-primary-blue-600`}):(0,a.jsx)(o,{className:`w-6 h-6 stroke-primary-blue-600`})}),c?(0,a.jsx)(`div`,{className:`box-border h-[calc(100vh-75px)] left-0 m-0 overflow-y-auto p-[5.625rem_1.5rem_3.75rem] absolute top-full w-full backdrop-blur-[18px] bg-[rgba(247,247,247,0.8)] dark:bg-[rgba(59,72,89,0.8)]`,children:n}):null]})]})}function u({className:e,children:n,align:r=`center`,...i}){return(0,a.jsx)(`div`,{...i,className:t.t(`grid gap-4 md:gap-8 tracking-[0.42px] font-medium text-primary-black dark:text-primary-gray-200 md:flex grow items-center md:gap-12 [&>a]:text-base [&>a]:font-bold [&>a]:uppercase [&>a]:text-primary-black dark:[&>a]:text-primary-gray-200 md:[&>a]:text-sm md:[&>a]:font-medium [&>a]:no-underline [&>a:hover]:text-primary-blue-600 dark:[&>a:hover]:text-primary-gray-100`,r===`end`?`md:justify-end`:`md:justify-center`,e),children:n})}function d({className:e,children:n,...r}){return(0,a.jsx)(`div`,{...r,className:t.t(`flex mt-6 md:mt-0 md:justify-center gap-8 items-center`,e),children:n})}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
//# sourceMappingURL=header-fSXwqMYt.cjs.map