1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="636f8d1c-38f2-4d95-9cdd-1d0ce19302f9",e._sentryDebugIdIdentifier="sentry-dbid-636f8d1c-38f2-4d95-9cdd-1d0ce19302f9")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[596],{7334:(e,a,i)=>{i.d(a,{Ay:()=>f,Mp:()=>x,Qx:()=>u,in:()=>h});var r,o,t,n=i(95155),s=i(69730),l=i.n(s),d=i(98500),c=i.n(d);i(12115);var m=i(64642),p=i(12261),h=((r={}).PRIMARY="primary",r.PRIMARY_OUTLINED="primary-outlined",r.PRIMARY_LINK="primary-link",r.SUCCESS_OUTLINED="success-outlined",r.NEUTRAL_LINK="neutral-link",r.FACEBOOK="facebook",r.X="x",r.WHATSAPP="whatsapp",r.INSTAGRAM="instagram",r.CUSTOM="custom",r),x=((o={}).MEDIUM="medium",o.LARGE="large",o.XL="xl",o),u=((t={}).BUTTON="button",t.LINK="link",t);let g=e=>{let{tagSpecificProps:a,testId:i,buttonId:r,...o}=e;return"link"===a.htmlTag?(0,n.jsx)(c(),{"data-testid":i,...o,href:a.disabled?"#":a.href,target:a.target,prefetch:!!a.prefetch&&!m.D.isInCypressTesting,onClick:e=>{a.disabled||(a?.onClick?.(),e.stopPropagation())}}):(0,n.jsx)("button",{"data-testid":i,onMouseDown:e=>e.preventDefault(),...o,onClick:e=>{p.vF.info("[button] button clicked",{id:r,testId:i}),e.stopPropagation(),a?.onClick?.(e)},disabled:a.disabled,type:a.type||"button"})},f=({style:e="primary",size:a="medium",tagSpecificProps:i,children:r,className:o,testId:t,id:s})=>{let d={"[@media(hover:none)]:active:bg-primary-dark":"primary"===e,"[@media(hover:none)]:active:border-primary-mid":"primary-outlined"===e&&!i.disabled,"[@media(hover:none)]:active:bg-primary-light":"primary-outlined"===e&&!i.disabled,"[@media(hover:none)]:active:border-success-mid":"success-outlined"===e,"[@media(hover:none)]:active:bg-success-light":"success-outlined"===e,"[@media(hover:none)]:active:bg-social-facebook-dark":"facebook"===e,"[@media(hover:none)]:active:bg-social-x-light":"x"===e,"[@media(hover:none)]:active:bg-social-whatsapp-dark":"whatsapp"===e},c={"[@media(hover:hover)]:hover:bg-primary-dark":"primary"===e,"[@media(hover:hover)]:hover:border-primary-mid":"primary-outlined"===e&&!i.disabled,"[@media(hover:hover)]:hover:bg-primary-light":"primary-outlined"===e&&!i.disabled,"[@media(hover:hover)]:hover:border-success-mid":"success-outlined"===e,"[@media(hover:hover)]:hover:bg-success-light":"success-outlined"===e,"[@media(hover:hover)]:hover:bg-social-facebook-dark":"facebook"===e,"[@media(hover:hover)]:hover:bg-social-x-light":"x"===e,"[@media(hover:hover)]:hover:bg-social-whatsapp-dark":"whatsapp"===e};return(0,n.jsx)(g,{buttonId:s,tagSpecificProps:i,testId:t,className:l()("rounded-[4px] font-medium tracking-[2px] uppercase transition-colors cursor-pointer no-underline",{"px-[16px] py-[12px] text-[12px] leading-[16px]":"medium"===a,"px-[24px] py-[20px] text-[12px]":"large"===a,"px-[24px] py-[24px] text-[14px]":"xl"===a,"bg-primary-mid text-white":"primary"===e,"text-primary-mid border-2 border-primary-light bg-white":"primary-outlined"===e,"text-success-mid border-2 border-success-midLight bg-white":"success-outlined"===e,"text-primary-mid bg-transparent":"primary-link"===e,"text-neutral-dark bg-transparent":"neutral-link"===e,"opacity-50 cursor-default":i.disabled,"cursor-pointer":!i.disabled,"bg-social-facebook-light text-white":"facebook"===e,"bg-social-x-dark text-white":"x"===e,"text-white bg-instagramGradient":"instagram"===e,"bg-social-whatsapp-light text-white":"whatsapp"===e,...d,...c},o),children:r})}},20596:(e,a,i)=>{i.r(a),i.d(a,{default:()=>C});var r=i(95155),o=i(69730),t=i.n(o),n=i(31516),s=i(91e3),l=i(12115),d=i(49930),c=i(7334),m=i(76443),p=i(18336),h=i(25019),x=i(43799),u=i(42707);let g=({className:e,currentUser:a,editProfileLabels:i,changePasswordLabel:o})=>{let{setIsProfileNavigationDrawerOpen:n}=(0,h.m)(),d=(0,l.useMemo)(()=>{if(!a)return"";if(!a.firstName&&!a.lastName&&!a.fullName)return a.email;let e=[a.firstName,a.lastName].filter(Boolean).join(" ");return e||a.fullName},[a]);return(0,r.jsxs)("div",{"data-testid":"profile-navigation-header",className:t()(e,"flex items-center"),children:[(0,r.jsx)(s.default,{onClick:()=>{console.log("open",n)},testId:"profile-navigation-avatar",initialOVerride:a?.userNamePlaceholder||"",placeholderText:a?.firstName||a?.fullName||a?.email||"",className:"mr-[16px] lg:mr-[24px]",style:s.T.Primary,size:s.P.Small}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{"data-testid":"profile-navigation-name",className:"text-[20px] font-medium leading-[24px] text-balance",children:d}),(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)(p.N,{href:(0,u.hL)(x.ud.editProfile),className:"text-primary-mid hover:underline leading-[24px] text-[14px]",children:i}),(0,r.jsx)("span",{className:"text-neutral-semiTransparent text-[16px] mx-[8px]",children:"â¢"}),(0,r.jsx)(p.N,{href:(0,u.hL)(x.ud.changePassword),className:"text-primary-mid hover:underline leading-[24px] text-[14px]",children:o})]})]})]})};var f=i(64412),v=i(44862);let b={heart:(0,r.jsx)(function({className:e}){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",fill:"none",viewBox:"0 0 24 25",className:e,children:(0,r.jsxs)("g",{id:"favorite",children:[(0,r.jsx)("mask",{id:"mask0_13282_44292",width:"25",height:"25",x:"0",y:"0",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:(0,r.jsx)("path",{id:"Bounding box",fill:"#D9D9D9",d:"M.047.382h24v24h-24z"})}),(0,r.jsx)("g",{mask:"url(#mask0_13282_44292)",children:(0,r.jsx)("path",{id:"favorite_2",fill:"
1currentColor",d:"M12.047 20.707q-.35 0-.713-.125a1.65 1.65 0 0 1-.637-.4l-1.725-1.575a68 68 0 0 1-4.788-4.812q-2.137-2.388-2.137-5.263 0-2.35 1.575-3.925t3.925-1.575q1.325 0 2.5.563t2 1.537a5.96 5.96 0 0 1 2-1.537 5.7 5.7 0 0 1 2.5-.563q2.35 0 3.925 1.575 1.575 1.576 1.575 3.925 0 2.875-2.125 5.275a60 60 0 0 1-4.825 4.825l-1.7 1.55a1.65 1.65 0 0 1-.638.4q-.362.125-.712.125m-.95-13.575q-.725-1.025-1.55-1.562t-2-.538q-1.5 0-2.5 1t-1 2.5q0 1.3.925 2.763t2.212 2.837a38 38 0 0 0 2.65 2.575q1.363 1.2 2.213 1.975.85-.774 2.212-1.975 1.363-1.2 2.65-2.575a19 19 0 0 0 2.213-2.837q.925-1.463.925-2.763 0-1.5-1-2.5t-2.5-1q-1.176 0-2 .538-.825.537-1.55 1.562a1.14 1.14 0 0 1-.95.5q-.276 0-.525-.125a1.14 1.14 0 0 1-.425-.375"})})]})})},{className:"text-neutral-profileMenuIconsColor h-[24px] w-[24px]"}),refresh:(0,r.jsx)(function({className:e}){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",fill:"none",viewBox:"0 0 24 25",className:e,children:(0,r.jsxs)("g",{id:"replay",children:[(0,r.jsx)("mask",{id:"mask0_13282_37011",width:"25",height:"25",x:"0",y:"0",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:(0,r.jsx)("path",{id:"Bounding box",fill:"#D9D9D9",d:"M0 0h24v24H0z",transform:"matrix(-1 0 0 1 24.047 .382)"})}),(0,r.jsx)("g",{mask:"url(#mask0_13282_37011)",children:(0,r.jsxs)("g",{id:"Icon",fill:"currentColor",children:[(0,r.jsx)("path",{d:"M6.222 19.79a8.7 8.7 0 0 0 3.1 1.798q1.697.554 3.41.452a9.2 9.2 0 0 0 3.33-.853 8.7 8.7 0 0 0 2.865-2.154.97.97 0 0 0 .258-.724.97.97 0 0 0-.342-.688.97.97 0 0 0-.724-.258q-.405.024-.688.342-1.941 2.188-4.818 2.359-2.875.171-5.064-1.77-2.187-1.942-2.359-4.818-.171-2.877 1.77-5.064t4.819-2.36q2.876-.17 5.064 1.771l.112.1-1.2.071a.92.92 0 0 0-.68.333q-.255.307-.25.714.027.424.326.707a.93.93 0 0 0 .724.258l3.635-.217a.96.96 0 0 0 .689-.324q.265-.3.24-.723l-.216-3.635a.93.93 0 0 0-.342-.688 1.02 1.02 0 0 0-.74-.24q-.405.043-.68.334a.92.92 0 0 0-.25.714l.072 1.2-.113-.1a8.7 8.7 0 0 0-3.1-1.798 9.2 9.2 0 0 0-3.409-.453 9.2 9.2 0 0 0-3.331.854 8.7 8.7 0 0 0-2.865 2.154 8.7 8.7 0 0 0-1.799 3.1 9.2 9.2 0 0 0-.452 3.41 9.2 9.2 0 0 0 .854 3.331 8.7 8.7 0 0 0 2.154 2.864"}),(0,r.jsx)("path",{d:"M12.2 17.133a.9.9 0 0 1-.285-.05.7.7 0 0 1-.255-.158l-.69-.624a27 27 0 0 1-1.915-1.906Q8.2 13.45 8.2 12.311q0-.93.63-1.554t1.57-.624q.53 0 1 .223.47.222.8.608a2.38 2.38 0 0 1 1.8-.831q.94 0 1.57.624.63.623.63 1.554 0 1.14-.85 2.09t-1.93 1.91l-.68.614a.7.7 0 0 1-.255.158.9.9 0 0 1-.285.05"})]})})]})})},{className:"text-neutral-profileMenuIconsColor h-[24px] w-[24px]"}),team:(0,r.jsx)(function({className:e}){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",fill:"none",viewBox:"0 0 24 25",className:e,children:(0,r.jsx)("g",{id:"Icon/Users",children:(0,r.jsx)("path",{id:"Icon",fill:"currentColor",fillRule:"evenodd",d:"M9 4.333a3 3 0 1 0 0 6 3 3 0 0 0 0-6m-5 3a5 5 0 1 1 10 0 5 5 0 0 1-10 0m11.031-4.118a1 1 0 0 1 1.217-.72 5 5 0 0 1 0 9.687 1 1 0 0 1-.496-1.938 3 3 0 0 0 0-5.812 1 1 0 0 1-.72-1.217M1.464 15.798A5 5 0 0 1 5 14.333h8a5 5 0 0 1 5 5v2a1 1 0 1 1-2 0v-2a3 3 0 0 0-3-3H5a3 3 0 0 0-3 3v2a1 1 0 1 1-2 0v-2a5 5 0 0 1 1.464-3.535m17.568-.585a1 1 0 0 1 1.218-.718A5 5 0 0 1 24 19.332v2.001a1 1 0 1 1-2 0v-2a3 3 0 0 0-2.25-2.902 1 1 0 0 1-.718-1.218",clipRule:"evenodd"})})})},{className:"text-neutral-profileMenuIconsColor h-[24px] w-[24px]"}),edit:(0,r.jsx)(function({className:e}){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",fill:"none",viewBox:"0 0 24 25",className:e,children:(0,r.jsx)("g",{id:"Icon/Edit",children:(0,r.jsx)("path",{id:"Icon",fill:"currentColor",fillRule:"evenodd",d:"M20 3.212c-.297 0-.583.118-.793.328l-9.304 9.305-.529 2.114 2.115-.529 9.304-9.304A1.121 1.121 0 0 0 20 3.212m-2.207-1.086a3.121 3.121 0 0 1 4.414 4.414l-9.5 9.5a1 1 0 0 1-.465.263l-4 1a1 1 0 0 1-1.212-1.212l1-4a1 1 0 0 1 .263-.465zM1.879 4.212A3 3 0 0 1 4 3.333h7a1 1 0 1 1 0 2H4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7a1 1 0 1 1 2 0v7a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3v-14a3 3 0 0 1 .879-2.121",clipRule:"evenodd"})})})},{className:"text-neutral-profileMenuIconsColor h-[24px] w-[24px]"}),cog:(0,r.jsx)(function({className:e}){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"none",viewBox:"0 0 25 25",className:e,children:(0,r.jsxs)("g",{id:"settings_heart",children:[(0,r.jsx)("mask",{id:"mask0_13282_37018",width:"25",height:"25",x:"0",y:"0",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:(0,r.jsx)("path",{id:"Bounding box",fill:"#D9D9D9",d:"M.066.35h24v24h-24z"})}),(0,r.jsx)("g",{mask:"url(#mask0_13282_37018)",children:(0,r.jsx)("path",{id:"settings_heart_2",fill:"
1currentColor",d:"M12.117 15.925q.2 0 .375-.063a.9.9 0 0 0 .325-.212l2.8-2.8q.424-.426.55-1.038a1.94 1.94 0 0 0-.125-1.187 2.15 2.15 0 0 0-.75-.925 1.9 1.9 0 0 0-1.125-.35q-.625 0-1.125.387-.5.388-.925.813-.45-.426-.938-.813a1.74 1.74 0 0 0-1.112-.387q-.625 0-1.138.337-.511.338-.762.913-.25.575-.113 1.187.138.612.563 1.063l2.775 2.8q.15.15.337.212.188.063.388.063m-1.225 6.425q-.675 0-1.163-.45-.487-.45-.587-1.1l-.225-1.65a4 4 0 0 1-.613-.3 8 8 0 0 1-.562-.375l-1.55.65q-.625.275-1.25.05a1.84 1.84 0 0 1-.975-.8l-1.175-2.05a1.59 1.59 0 0 1-.2-1.225q.15-.65.675-1.075l1.325-1a2.4 2.4 0 0 1-.025-.338v-.675q0-.162.025-.337l-1.325-1A1.9 1.9 0 0 1 2.592 9.6q-.15-.65.2-1.225l1.175-2.05q.35-.576.975-.8.625-.226 1.25.05l1.55.65q.275-.201.575-.375.3-.175.6-.3l.225-1.65q.1-.65.587-1.1.488-.45 1.163-.45h2.35q.675 0 1.162.45t.588 1.1l.225 1.65q.324.125.612.3.288.174.563.375l1.55-.65q.624-.276 1.25-.05.624.225.975.8l1.175 2.05q.35.574.2 1.225-.15.65-.675 1.075l-1.325 1q.024.175.025.337v.675q0 .162-.05.338l1.325 1q.525.424.675 1.075.15.65-.2 1.225l-1.2 2.05q-.35.575-.975.8-.626.225-1.25-.05l-1.5-.65a7 7 0 0 1-.575.375q-.3.174-.6.3l-.225 1.65q-.1.65-.588 1.1-.487.45-1.162.45zm.175-2h1.975l.35-2.65q.775-.201 1.437-.588.663-.387 1.213-.937l2.475 1.025.975-1.7-2.15-1.625q.125-.351.175-.738a6.2 6.2 0 0 0 0-1.575 3.5 3.5 0 0 0-.175-.737l2.15-1.625-.975-1.7-2.475 1.05a5.6 5.6 0 0 0-1.213-.963A5.6 5.6 0 0 0 13.392 7l-.325-2.65h-1.975L10.742 7q-.775.2-1.438.587t-1.212.938L5.617 7.5l-.975 1.7 2.15 1.6q-.125.375-.175.75a6 6 0 0 0-.05.8q0 .4.05.775t.175.75L4.642 15.5l.975 1.7 2.475-1.05q.55.575 1.212.962.663.387 1.438.588z"})})]})})},{className:"text-neutral-profileMenuIconsColor h-[24px] w-[24px]"})},y=({menuItems:e})=>(0,r.jsx)("ul",{className:"block w-full mb-[16px] ml-[8px]",children:e.map(e=>(0,r.jsx)("li",{className:"block group",children:(0,r.jsxs)("a",{href:e.path,className:"flex w-full hover:text-primary-mid items-center justify-between",children:[b[e.icon],(0,r.jsxs)("span",{className:"text-[16px] flex justify-between px-[24px] py-[16px] border-b border-b-neutral-light grow group-last:border-b-0",children:[(0,r.jsx)("span",{children:e.title}),(0,r.jsx)("span",{children:e.additionalContent})]})]})},e.path))}),j=({currentUser:e,className:a,profileMenuItems:i=[],adminMenuItems:o=[],headerLabels:n,isAdminMenuVisible:s})=>{let l=(0,u.hL)(f.BV.LOGOUT);return(0,r.jsxs)("div",{className:t()("pt-[80px] xl:pt-0",a),children:[(0,r.jsx)(g,{changePasswordLabel:n.changePassword,editProfileLabels:n.editProfile,currentUser:e,className:"mb-[24px]"}),(0,r.jsxs)("div",{children:[s&&(0,r.jsx)(y,{menuItems:o}),(0,r.jsx)("span",{className:"block text-[10px] md:text-[12px] mt-[8px] xl:mt-[0px] font-medium leading-[24px] uppercase tracking-[3px] md:tracking-[4.5px]",children:n.myDonio}),(0,r.jsx)(y,{menuItems:i}),(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)(m.o,{className:"text-center mb-[16px] start-browsing-button",size:"medium",id:"start-browsing-button",style:"primary",href:(0,u.hL)(x.ud.startCollecting),children:n.startBrowsing}),(0,r.jsx)(c.Ay,{style:c.in.PRIMARY_OUTLINED,tagSpecificProps:{htmlTag:c.Qx.BUTTON,onClick:()=>{document.cookie="AUTH_STATUS=false; path=/; SameSite=Lax",(0,v.Ep)(),window.location.assign(l)}},className:"text-center px-[16px] py-[10px] mb-[16px]",children:n.signOut})]})]})]})},k=({isOpen:e,onClose:a,className:i,profileNavigationProps:o})=>{let[n,s]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{e?(document.body.style.overflow="hidden",s(!0)):(document.body.style.overflow="auto",setTimeout(()=>{s(!1)},200))},[e]),(0,r.jsx)("div",{id:"drawer-profile-navigation",className:t()("xl:hidden overflow-hidden absolute top-0 bottom-0 h-[100vh] z-30 ",{"w-full left-0 right-0":e||n}),children:(0,r.jsxs)("div",{className:t()(i,"absolute xl:hidden w-full h-full transition-all bg-white px-[24px]",{"right-[-100%]":!e,"right-0":e}),children:[(0,r.jsx)("button",{onClick:a,className:"absolute top-[26px] right-[28px]",children:(0,r.jsx)(d.A,{})}),(0,r.jsx)(j,{...o})]})})};var w=i(36096),N=i(40357);let C=({profileMenuItems:e,adminMenuItems:a,labels:i,useIconOnly:o=!1,canFetchUser:l,fallbackInitials:d})=>{let{currentUser:c,isUserError:m}=(0,N.i)(),{setIsProfileNavigationDrawerOpen:p,isProfileNavigationDrawerOpen:x}=(0,h.m)(),g=l&&!m,v=t()("ml-[24px] flex items-center profile-section lg:mb-0 relative group",!o&&g?"mb-[7px]":"mb-[6px]"),b=o?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{type:"button","data-testid":"profile-navigation-avatar","aria-label":i.myDonio,className:"flex items-center text-black cursor-pointer md:hidden appearance-none border-0 bg-transparent p-0 m-0 leading-none",onClick:()=>p(!x),children:(0,r.jsx)(w.e,{})}),(0,r.jsx)("div",{className:"hidden md:block",children:(0,r.jsx)(s.default,{testId:"profile-navigation-avatar",initialOVerride:c?.userNamePlaceholder||d||"",size:s.P.ExtraSmall,style:s.T.Primary,placeholderText:c?.firstName||c?.fullName||c?.email||"",className:"cursor-pointer",onClick:()=>p(!x)})})]}):(0,r.jsx)(s.default,{testId:"profile-navigation-avatar",initialOVerride:c?.userNamePlaceholder||d||"",size:s.P.ExtraSmall,style:s.T.Primary,placeholderText:c?.firstName||c?.fullName||c?.email||"",className:"cursor-pointer",onClick:()=>p(!x)}),y=(0,r.jsx)("a",{className:t()("flex hover:text-primary-mid",o&&"items-center text-black"),href:(0,u.hL)(f.BV.LOGIN),"aria-label":i.signIn,children:o?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"md:hidden",children:(0,r.jsx)(w.e,{})}),(0,r.jsx)("span",{className:"hidden md:inline",children:i.signIn})]}):i.signIn});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("li",{className:v,children:[g||c?b:y,!!c&&(0,r.jsx)("div",{className:"hidden xl:group-hover:block absolute top-[calc(100%+8px)] left-1/2 -translate-x-1/2 min-w-[336px] px-[24px] py-[24px] shadow-sm bg-white rounded-md z-50 before:content-[''] before:absolute before:-top-[8px] before:left-1/2 before:-translate-x-1/2 before:border-x-[8px] before:border-x-trans
1parent before:border-b-[8px] before:border-b-white",children:(0,r.jsx)(j,{headerLabels:i,isAdminMenuVisible:c.roles?.includes(n.w.ROLE_ADMIN),profileMenuItems:e,currentUser:c,adminMenuItems:a})})]}),!!c&&(0,r.jsx)(k,{currentUser:c,isOpen:x,onClose:()=>p(!1),profileNavigationProps:{isAdminMenuVisible:c.roles?.includes(n.w.ROLE_ADMIN),currentUser:c,profileMenuItems:e,adminMenuItems:a,headerLabels:i}})]})}},40357:(e,a,i)=>{i.d(a,{i:()=>o});var r=i(24034);let o=()=>{let{currentUser:e,isLoadingUser:a,canFetchUser:i,isUserError:o,isUserAdmin:t,hasActiveGoodHabitCookie:n,activeGoodHabit:s,unassignedGoodHabitDonations:l}=(0,r.k)();return{currentUser:e,isLoading:a,canFetchUser:i,isUserError:o,isUserAdmin:t,hasActiveGoodHabitCookie:n,activeGoodHabit:s,unassignedGoodHabitDonations:l}}},43799:(e,a,i)=>{i.d(a,{RX:()=>s,ZO:()=>t,ud:()=>l,wr:()=>n});var r=i(64412),o=i(64642);let t={accessibilityStatement:"prohlaseni-o-pristupnosti",forMedia:"pro-media",forCompanies:"pro-firmy",regularDonor:"pravidelny-darce",floodings_2024:"povodne2024",helpUkraine:"pomocukrajine",goodHabit:"mujdobrozvyk",howToCreateCommercialProject:"rady/komercni-projekty",annualReport:"rok-2025",platformBenchmark:"srovnani-platforem",openAccount:"transparentni-ucet",cookies:"cookies",legalInformation:"pravni-informace",career:"kariera",inMedia:"napsali-o-nas",howDonioWorks:"jak-donio-funguje",faqs:"caste-dotazy",ngos:"neziskove-organizace",ngoList:"seznam-neziskovek",activeCollections:"probihajici",projectsNearMe:"sbirky-v-okoli",finishedProjects:"KomercniProjekty/dokoncene",aboutRewardCrowdfunding:"o-odmenovem-crowdfundingu",startCollecting:"navrh",donationDetail:"prispevek/detail",challenge:"Dobrovyzva",useGoodHabit:"uplatni-dobrozvyk/potvrd",assignUnusedGoodHabit:"uplatni-dobrozvyk-prispevky/potvrd",termsAndConditions:"podminky",charityCollections:"DobrocinneSbirky",crowdfunding:"o-odmenovem-crowdfundingu",aboutCharityCrowdfunding:"o-dobrocinnem-crowdfundingu",commercialProjects:"KomercniProjekty",howToCreateCollection:"rady/dobrocinne-sbirky",longTermCollections:"dlouhodobe-sbirky",activeProjects:"KomercniProjekty/probihajici",myChallenges:"moje-donio/moje-dobrovyzvy",myDonioRegularDonor:"moje-donio/pravidelny-darce",editProfile:"profil/zmena-udaju",myDonations:"moje-donio/vsechny-prispevky",newChallenge:"moje-donio/vytvorit-dobrovyzvu",myStories:"moje-donio/moje-pribehy"},n={myStories:"moje-donio/moje-kampane",newChallenge:"moje-donio/vytvorit-darcovsku-vyzvu",myDonations:"moje-donio/vsetky-prispevky",editProfile:"profil/zmena-udajov",myChallenges:"moje-donio/moje-darcovske-vyzvy",crowdfunding:"odmenovy-crowdfunding",charityCollections:"dobrocinne-vyzvy",termsAndConditions:"pravidla",legalInformation:"pravne-informacie",useGoodHabit:"uplatni-dobrokartu/potvrd",challenge:"Darcovskavyzva",donationDetail:"prispevok/detail",startCollecting:"nova-kampan",aboutRewardCrowdfunding:"odmenovy-crowdfunding",finishedProjects:"nastartuj-projekt/dokoncene",activeCollections:"prebiehajuce",projectsNearMe:"vyzvy-v-okoli",ngos:"neziskove-organizacie",ngoList:"zoznam-neziskoviek",forMedia:"pre-media",faqs:"caste-otazky",forCompanies:"pre-firmy",moreStories:"/prebiehajuce",moreProjects:"/nastartuj-projekt",newCampaign:"nova-kampan",twoPercents:"2-percenta",togetherForUkraine:"spolocne-pre-ukrajinu",xMas:"DarujteDobrost",transparentAccount:"transparentny-ucet",mojeDobroKarta:"mojadobrokarta",ambasadors:"ambasadori",individuals:"jednotlivci",yearBooks:"vyrocne-spravy",yearBook2024:"rok-2025",wroteAboutUs:"napisali-o-nas",partners:"partneri",aboutOnlineFundraising:"online-fundraising",startProject:"nastartuj-projekt",startProjectActiveCampaigns:"nastartuj-projekt/prebiehajuce",startProjectFinishedCampaigns:"nastartuj-projekt/dokoncene",donationAgreement:"darovacia-zmluva",howDonioWorks:"ako-donio-funguje",activeProjects:"nastartuj-projekt/prebiehajuce"},s={finishedCollections:"dokoncene",aboutUs:"o-nas",contact:"kontakt",blog:"blog",privacyPolicy:"zasady",donioCode:"kodex",myDonio:"moje-donio",changePassword:"profil/zmena-hesla",...o.D.country===r.TP.SLOVAKIA?n:t},l={[r.TP.SPAIN]:{faqs:"preguntas-frecuentes",howDonioWorks:"como-funciona-donio",activeCollections:"campanas-activas",projectsNearMe:"campanas-cerca-de-mi",charityCollections:"campanas-solidarias",finishedCollections:"campanas-finalizadas",aboutCharityCrowdfunding:"crowdfunding-benefico",aboutUs:"sobre-nosotros",howToCreateCollection:"consejos/campanas-solidarias",ngos:"organizaciones-sin-animo-lucro",ngoList:"lista-de-ong",forCompanies:"para-empresas",forMedia:"para-medios",contact:"contacto",blog:"blog",privacyPolicy:"politica",termsAndConditions:"condiciones",donioCode:"codigo",legalInformation:"informacion-legal",longTermCollections:"campanas-a-largo-plazo",myChallenges:"mi-donio/mis-subproyectos",myDonio:"mi-donio",myDonations:"mi-donio/todas-contribuciones",myStories:"mi-donio/mis-campanas",editProfile:"perfil/cambio-datos",changePassword:"perfil/cambio-de-contrasena",newChallenge:"mi-donio/crear-llamada-solidaria",challenge:"Llamadasolidaria",startCollecting:"crear-campana",howSolidarityCrowdfundingWorks:"como-funciona-el-crowdfunding-solidario"},[r.TP.SLOVAKIA]:{...s},[r.TP.CZECH_REPUBLIC]:{...s}}[o.D.country]},76443:(e,a,i)=>{i.d(a,{o:()=>l});var r=i(95155),o=i(69730),t=i.n(o),n=i(98500),s=i.n(n);let l=({size:e,style:a,href:i,disabled:o,target:n,testId:l,className:d,children:c,ariaLabel:m,id:p,prefetch:h=!1})=>(0,r.jsx)(s(),{id:p,"aria-label":m,className:t()(d,"rounded-[4px] font-medium tracking-[2px] uppercase transition-colors cursor-pointer no-underline",{"px-[16px] py-[12px] text-[12px] leading-[16
1px]":"medium"===e,"px-[24px] py-[20px] text-[12px]":"large"===e,"px-[24px] py-[24px] text-[14px]":"xl"===e,"hover:bg-primary-dark":"primary"===a,"hover:border-primary-mid":"primary-outlined"===a&&!o,"hover:bg-primary-light":"primary-outlined"===a&&!o,"bg-primary-mid text-white":"primary"===a,"text-primary-mid border-2 border-primary-light bg-white":"primary-outlined"===a,"opacity-50 cursor-default":o,"cursor-pointer":!o}),"data-testid":l,href:o?"#":i,target:n,prefetch:h,children:c})},91e3:(e,a,i)=>{i.d(a,{P:()=>d,T:()=>c,default:()=>m});var r,o,t=i(95155),n=i(69730),s=i.n(n),l=i(28453),d=((r={}).Small="small",r.ExtraSmall="ExtraSmall",r.Medium="medium",r),c=((o={}).Primary="primary",o.Secondary="secondary",o);let m=({imageUrl:e,placeholderText:a,size:i="medium",style:r="secondary",onClick:o,className:n,initialOVerride:d,testId:c})=>(0,t.jsxs)("div",{"data-testid":c,onClick:o,className:s()(n,"flex justify-center items-center rounded-full text-center leading-[56px] shrink-0 grow-0",{"w-[56px] h-[56px]":"medium"===i,"w-[42px] h-[42px]":"small"===i,"w-[40px] h-[40px]":"ExtraSmall"===i,"text-secondary-mid text-[32px] font-[Newzald] bg-secondary-light":"secondary"===r,"text-primary-mid text-[16px] bg-primary-light":"primary"===r}),children:[!!e&&(0,t.jsx)("img",{width:"small"===i?42:56,height:"small"===i?42:56,src:e,alt:a,className:s()("rounded-full",{"w-[56px] h-[56px]":"medium"===i,"w-[42px] h-[42px]":"small"===i})}),!e&&(0,t.jsx)("span",{"data-testid":"user-initials",className:s()({"text-secondary-mid font-bold":"secondary"===r,"text-primary-mid":"primary"===r}),children:void 0!==d?d:(0,l.z)(a)})]})}}]);
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.