1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="38fcba1f-6acc-4aed-bc76-63980eb13b58",e._sentryDebugIdIdentifier="sentry-dbid-38fcba1f-6acc-4aed-bc76-63980eb13b58")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6744],{256:e=>{e.exports={badge:"badge_badge__XvBru",badgeImage:"badge_badgeImage__VGAFo",heart:"badge_heart__5Ptyo"}},1120:(e,t,a)=>{"use strict";a.d(t,{m:()=>o});let o={sm:408,md:600,lg:896,xl:1024,xxl:1176,xxl2:1366}},1153:(e,t,a)=>{"use strict";a.d(t,{X:()=>c,t:()=>d});var o=a(95155),r=a(12115),s=a(64412),n=a(64642),i=a(12261);let l={[s.TP.CZECH_REPUBLIC]:"PÅi vykreslov\xe1n\xed obsahu doÅ¡lo k chybÄ.",[s.TP.SLOVAKIA]:"PÅi vykreslov\xe1n\xed obsahu doÅ¡lo k chybÄ.",[s.TP.SPAIN]:"PÅi vykreslov\xe1n\xed obsahu doÅ¡lo k chybÄ."};class d extends r.Component{static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){(0,i.Cp)(Error(`${this.props.comonentName} component crashed ${e.message}`),{extra:{error:e,message:e.message,componentStack:t.componentStack,componentName:this.props.comonentName}})}render(){return(0,o.jsxs)(o.Fragment,{children:[this.state.hasError&&this.props.fallback&&this.props.fallback,this.state.hasError&&!this.props.fallback&&(0,o.jsx)("div",{className:"text-danger-dark",children:l[n.D.country]}),!this.state.hasError&&this.props.children]})}constructor(...e){super(...e),this.state={hasError:!1}}}function c(e,t){return a=>(0,o.jsx)(d,{comonentName:t,children:(0,o.jsx)(e,{...a})})}},1376:(e,t,a)=>{"use strict";a.d(t,{Badge100Percents:()=>d});var o=a(95155),r=a(69730),s=a.n(r),n=a(40743),i=a(256),l=a.n(i);let d=({className:e,language:t=n.B.fallbackLanguage})=>(0,o.jsxs)("div",{"data-testid":"badge-100-percents",className:s()(l().badge,e),rel:"noopener noreferrer",children:[(0,o.jsx)("img",{src:`/public/images/donation-100/badge-${t}.png`,alt:"",width:"104",height:"103",className:l().badgeImage}),(0,o.jsx)("img",{src:"/public/images/heart-on-palm.gif",alt:"",width:"26",height:"26",loading:"lazy",className:l().heart})]})},4369:e=>{e.exports={progressBar:"styles_progressBar__CGCp5"}},10966:(e,t,a)=>{"use strict";a.d(t,{I:()=>c,S:()=>m});var o=a(50981),r=a(64412),s=a(65687),n=a(64642);let i=n.D.mixPanelToken,l=null,d=()=>(l||(l=a.e(8400).then(a.bind(a,38400)).then(e=>{let t=e.default;return n.D.isMixpanelEnabled&&i&&t.init(i,{debug:n.D.isMixpanelEnabled,persistence:"localStorage",ignore_dnt:!0,api_host:o.$F}),t})),l),c=(e,t)=>{if(!n.D.isMixpanelEnabled)return void(0,s.o)("mixpanel-analytics",`Mixpanel - Skipping ${e}`);if(n.D.isInCypressTesting){window.lastMixpanelEvent={event:e,properties:t};return}(0,s.o)("mixpanel-analytics",`Mixpanel - Tracking event:${e}`,t),d().then(a=>a.track(e,{...t,platformSource:r.iR.NextJs}))},m=e=>{if(n.D.isInCypressTesting){window.lastMixpanelPageView={...e,platformSource:r.iR.NextJs};return}(0,s.o)("mixpanel-analytics","Mixpanel - Tracking page view",e),d().then(t=>t.track_pageview({...e,platformSource:r.iR.NextJs}))}},13773:(e,t,a)=>{"use strict";a.r(t),a.d(t,{GeneralMixpanelTrackPageView:()=>n});var o=a(12115),r=a(14689),s=a(10966);let n=({pageType:e})=>{let{areStatisticsCookiesAllowed:t}=(0,o.useContext)(r.N);return(0,o.useEffect)(()=>{t&&(0,s.S)({pageType:e})},[e,t]),null}},14689:(e,t,a)=>{"use strict";a.d(t,{CookiebotProvider:()=>m,CookiebotScript:()=>d,N:()=>c});var o=a(95155),r=a(73321),s=a(43215),n=a(12115),i=a(64642);let l="/cookiebar-style.css",d=()=>{let e=(0,r.usePathname)(),{setIsScriptLoaded:t,setCallbacks:a,setIsCookieBarOpen:d,setAreMarketingCookiesAllowed:m,setAreNecessaryCookie
1sAllowed:h,setArePreferencesCookiesAllowed:u,setAreStatisticsCookiesAllowed:p}=(0,n.useContext)(c),x=(0,n.useCallback)(()=>{if(!window.CookieConsent)return;let e=window.CookieConsent.consent.necessary,t=window.CookieConsent.consent.marketing,o=window.CookieConsent.consent.preferences,r=window.CookieConsent.consent.statistics;h(e),m(t),u(o),p(r),d(!1),a({show:window.CookieConsent.show,hide:window.CookieConsent.hide,renew:window.CookieConsent.renew,withdraw:window.CookieConsent.withdraw})},[a,d,h,m,u,p]),g=(0,n.useCallback)(()=>{let e=document.getElementById("CybotCookiebotDialog");e?.style.setProperty("visibility","hidden"),(e=>{if(document.querySelector(`link[href="${l}"]`))return e();let t=document.createElement("link");t.rel="stylesheet",t.href=l,t.onload=e,t.onerror=e,document.head.appendChild(t)})(()=>{e?.style.removeProperty("visibility"),d(!0)})},[d]),w=(0,n.useCallback)(()=>{window.CookieConsent&&(a({show:window.CookieConsent.show,hide:window.CookieConsent.hide,renew:window.CookieConsent.renew,withdraw:window.CookieConsent.withdraw}),window.addEventListener("CookiebotOnAccept",x),window.addEventListener("CookiebotOnDecline",x),window.addEventListener("CookiebotOnDialogDisplay",g),t(!0))},[a,x,g,t]);return e?.includes("/project-donations-stream")?null:(0,o.jsx)(s.default,{id:"Cookiebot",src:"https://consent.cookiebot.com/uc.js","data-cbid":i.D.cookiebotId,"data-blockingmode":"manual",type:"text/javascript",strategy:"afterInteractive",onReady:w})},c=(0,n.createContext)({isScriptLoaded:!1,setIsScriptLoaded:()=>{},isCookieBarOpen:!1,setIsCookieBarOpen:()=>{},callbacks:null,setCallbacks:()=>
1null,areNecessaryCookiesAllowed:!1,setAreNecessaryCookiesAllowed:()=>{},areMarketingCookiesAllowed:!1,setAreMarketingCookiesAllowed:()=>{},arePreferencesCookiesAllowed:!1,setArePreferencesCookiesAllowed:()=>{},areStatisticsCookiesAllowed:!1,setAreStatisticsCookiesAllowed:()=>{}}),m=({children:e})=>{let[t,a]=(0,n.useState)(null),[r,s]=(0,n.useState)(!1),[i,l]=(0,n.useState)(!1),[d,m]=(0,n.useState)(!1),[h,u]=(0,n.useState)(!1),[p,x]=(0,n.useState)(!1),[g,w]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{window.cyHelpData||(window.cyHelpData={}),window.cyHelpData.isScriptLoaded=r,window.cyHelpData.areNecessaryCookiesAllowed=i},[r]),(0,o.jsx)(c,{value:{isScriptLoaded:r,setIsScriptLoaded:s,isCookieBarOpen:i,setIsCookieBarOpen:l,callbacks:t,setCallbacks:a,areNecessaryCookiesAllowed:d,setAreNecessaryCookiesAllowed:m,areMarketingCookiesAllowed:p,setAreMarketingCookiesAllowed:x,arePreferencesCookiesAllowed:h,setArePreferencesCookiesAllowed:u,areStatisticsCookiesAllowed:g,setAreStatisticsCookiesAllowed:w},children:e})}},21001:(e,t,a)=>{"use strict";a.d(t,{default:()=>c});var o=a(95155),r=a(12115),s=a(1153),n=a(64642),i=a(66494);let l="donio-amount-countdown",d=({totalAmountInCents:e,amountInCents10MinutesAgo:t,amountInCentsPerHour:a})=>{let[s,n]=(0,r.useState)(t);return(0,r.useEffect)(()=>{let o=Math.round(a/3600),r=((e,t=l)=>{try{let a=parseInt(localStorage.getItem(t)??"",10);if(!isNaN(a)&&a>e)return a}catch{}return e})(t);if(n(r),0===o||r>=e)return void n(e);let s=600,i=r,d=setInterval(()=>{i+=o,s--;try{localStorage.setItem(l,String(i))}catch{}if(s<=0||i>=e){n(e),clearInterval(d);return}n(i)},1e3);return()=>clearInterval(d)},[]),(0,o.jsx)(o.Fragment,{children:(0,i.De)(s)})},c=e=>n.D.isInCypressTesting?e.totalAmountInCents:(0,o.jsx)(s.t,{comonentName:"HomePageAnimatedAmount",fallback:(0,o.jsx)("div",{children:(0,i.De)(e.totalAmountInCents)}),children:(0,o.jsx)(d,{...e})})},21025:(e,t,a)=>{"use strict";a.d(t,{LoadMoreProjects:()=>d});var o=a(95155),r=a(7334),s=a(42232),n=a(64412),i=a(70392),l=a(69352);let d=({cardClassName:e,buttonClassName:t="flex",baseRequest:a,pageSize:d,initialLoadedCount:c,totalItemCount:m,moreProjectsLabel:h,genericErrorMessage:u,useSmallImageForMobile:p})=>{let x=(0,i.f)()===n.TM.EN,{data:g,fetchNextPage:w,isFetchingNextPage:v}=(0,l.b)({baseRequest:a,pageSize:d,initialLoadedCount:c,isEnglish:x,genericErrorMessage:u}),f=c+(g?.length??0);return(0,o.jsxs)(o.Fragment,{children:[g&&(0,o.jsx)(s.X,{useSmallImageForMobile:p,projects:g,cardClassName:e}),f<m&&(0,o.jsx)("div",{className:`w-full justify-center items-center mt-[16px] lg:mt-[32px] ${t}`,children:(0,o.jsx)(r.Ay,{testId:"projects-list-load-more-button",className:"self-center px-[24px] py-[20px]",tagSpecificProps:{htmlTag:r.Qx.BUTTON,onClick:()=>w(),disabled:v},children:h})})]})}},22611:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var o=a(95155),r=a(69730),s=a.n(r),n=a(43372),i=a(18336),l=a(73977);let d=({id:e,title:t,createdAt:a,projectInfo:{mainPhoto:r,baseName:d,slug:c},content:m,className:h})=>{let u=(0,l.Y)(a,m.dateFormat),p=r?.description||"Image of the news";return(0,o.jsx)("div",{"data-testid":"news-card",className:s()(h,"cy-news-card bg-white border border-neutral-light rounded-t shadow-[0_4px_8px_rgba(0,0,0,0.04)] flex flex-grow overflow-hidden transition-shadow duration-200 ease-in-out w-[calc(100%-40px)] lg:w-[calc(33.3%-24px)] print:w-[calc(33.3%-24px)] print:mb-6 print:ml-6 hover:shadow-[0_12px_22px_rgba(0,0,0,0.08)] min-w-[268px] max-w-[357px]"),children:(0,o.jsxs)(i.N,{href:`/${c}#news-${e}`,className:"hover:no-underline text-neutral-dark flex flex-col h-full min-h-[368px] w-full",children:[(0,o.jsx)("span",{className:"block overflow-hidden rounded-t-md",children:(0,o.jsx)(n.I,{src:r?.sizes.miniCropped.path,alt:p,className:"w-full h-auto object-cover",width:640,height:400,loading:"lazy"})}),(0,o.jsxs)("div",{className:"flex flex-col justify-between flex-[1_0_auto] p-5",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"text-gray-500",children:u}),(0,o.jsx)("h3",{className:"text-[20px] lg:text-[24px] m-0 font-semibold text-balance leading-snug",children:t}),(0,o.jsxs)("p",{className:"mt-[8px] mb-[4px] lg:mb-[8px] text-gray-700",children:[(0,o.jsx)("span",{children:m.newsProjectLabel}),d]})]}),(0,o.jsx)("div",{className:"mt-[12px] text-primary text-base text-primary-mid",children:m.readMore})]})]})})}},27945:(e,t,a)=>{"use strict";a.d(t,{NewsGridFooter:()=>i});
1var o=a(95155),r=a(18336),s=a(43799),n=a(42707);let i=({nineNewestNews:e,youHaveCollectionOnDonio:t,addNewsPost:a})=>(0,o.jsxs)("div",{className:"flex flex-col lg:flex-row gap-[8px] lg:gap-[16px] w-full items-start lg:justify-between px-[24px] lg:px-0",children:[(0,o.jsx)("span",{className:"text-[rgba(20,20,18,.6)]","data-testid":"nine-newest-news",children:e}),(0,o.jsxs)("div",{className:"lg:text-right",children:[(0,o.jsx)("div",{className:"font-[500]",children:t}),(0,o.jsx)(r.N,{prefetch:!1,"data-testid":"add-news-post-link",href:(0,n.hL)(s.ud.myStories),className:"underline text-primary-mid hover:no-underline hover:text-primary-dark",children:a.link})," ",a.text]})]})},32942:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var o=a(95155),r=a(69730),s=a.n(r),n=a(18336),i=a(4369),l=a.n(i);let d=({percentageAchieved:e})=>(0,o.jsx)("div",{"data-testid":"progress-bar",className:s()("w-full h-[8px] rounded-[10px] bg-primary-mid"),children:(0,o.jsx)("div",{style:{width:`${Math.max(0,Math.min(e,100))}%`},className:s()("h-[8px] rounded-[10px] bg-success-mid",l().progressBar)})});var c=a(66494);let m=({project:e,className:t,isDefaultImage:a,loadImage:r=!0,collectedText:i})=>{let l=e.targetAmountInCents?e.currentAmountInPercents:100;return(0,o.jsxs)(n.N,{href:e.href,prefetch:!1,"data-testid":`project-card-${e.id}`,className:s()("group flex flex-col bg-white rounded-[6px] hover:shadow-xl overflow-hidden transition-all duration-500 max-w-[680px]","w-full h-full lg:mb-[16px]",t),children:[(0,o.jsx)("span",{className:s()("block bg-neutral-light relative overflow-hidden "),children:r&&(0,o.jsx)("img",{width:640,height:400,src:e.image.full,alt:e.title,fetchPriority:"high",loading:a?"eager":"lazy",className:s()("w-full h-full object-cover rounded-[8px] transition-transform duration-500 group-hover:duration-[3500ms] scale-100 group-hover:scale-110")})}),(0,o.jsxs)("span",{className:"block px-[16px] lg:px-[20px] pt-[16px] pb-[12px]",children:[(0,o.jsx)("div",{className:"lg:h-[48px]",children:(0,o.jsx)("h3",{className:"text-[20px] mb-[8px] lg:mb-0 lg:text-[24px] leading-[24px] lg:leading-[22px] text-balance",children:e.title})}),(0,o.jsxs)("div",{className:"flex items-baseline justify-between text-[14px] mb-[8px]",children:[(0,o.jsxs)("div",{className:"my-[4px]",children:[(0,o.jsx)("span",{children:i})," ",(0,o.jsx)("span",{className:"font-medium text-success-mid text-[16px] ",children:(0,c.De)(e.currentAmountInCents)})]}),(0,o.jsx)("span",{children:e.fromDonorsCountFormatted})]}),(0,o.jsx)(d,{percentageAchieved:l})]})]})}},38483:(e,t,a)=>{"use strict";a.d(t,{MoreNews:()=>l});var o=a(95155),r=a(12115),s=a(7334),n=a(27945),i=a(22611);let l=({buttonLabel:e,moreNews:t,contentTexts:a,footerTexts:l})=>{let[d,c]=(0,r.useState)(!1);return d?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"lg:grid lg:grid-cols-3 lg:gap-x-6 lg:gap-y-6 lg:z-[2] mb-[24px]",children:t?.map(e=>(0,o.jsx)(i.A,{className:"w-full max-w-full print:w-full lg:w-full",content:a,...e},e.id))}),(0,o.jsx)(n.NewsGridFooter,{...l})]}):(0,o.jsx)(s.Ay,{testId:"news-load-more-button",size:s.Mp.LARGE,style:s.in.PRIMARY_OUTLINED,tagSpecificProps:{htmlTag:s.Qx.BUTTON,onClick:()=>c(!0)},children:e})}},39781:(e,t,a)=>{"use strict";a.d(t,{ProjectsSwiper:()=>l});var o=a(95155),r=a(69730),s=a.n(r),n=a(12115),i=a(32942);let l=({projects:e,collectedText:t})=>{let[a,r]=(0,n.useState)(!1);return(0,o.jsx)("div",{onScroll:()=>r(!0),"data-testid":"projects-swiper",className:"ml-[-24px] w-[100vw] flex flex-row gap-[16px] overflow-x-scroll snap-x snap-mandatory scroll-smooth",children:e.map((r,n)=>(0,o.jsx)("div",{className:s()("snap-center flex",0===n&&"ml-[24px]",n===e.length-1&&"mr-[24px]"),children:(0,o.jsx)("div",{className:"flex w-[calc(100vw-48px)]",children:(0,o.jsx)(i.A,{collectedText:t,loadImage:a||n<=1,isDefaultImage:0===n,className:"max-w-full",project:r})})},r.id))})}},42232:(e,t,a)=>{"use strict";a.d(t,{X:()=>s});var o=a(95155),r=a(5643);let s=({projects:e,cardClassName:t,useSmallImageForMobile:a})=>e.map(e=>(0,o.jsx)(r.A,{useSmallImageForMobile:a,projectPreview:e,className:t},e.id))},42707:(e,t,a)=>{"use strict";a.d(t,{GA:()=>o.GA,hL:()=>o.hL});var o=a(21464)},43372:(e,t,a)=>{"use strict";a.d(t,{I:()=>i});var o=a(95155),r=a(69730),s=a.n(r),n=a(64642);let i=e=>n.D.isInCypressTesting?(0,o.jsx)("div",{style:{width:e.width?e.width:"100%",height:e.height?e.height:"100%",maxWidth:"100%",maxHeight:"100%"},className:s()(e.className,"flex justify-center items-center flex-col bg-gray-400",e.height&&`h-[${e.height}px]`,e.width&&`w-[${e.width}px]`),children:(0,o.jsxs)("div",{className:"py-[32px] text-center",children:["Image placeholder ",e.alt]})}):(0,o.jsx)("img",{...e,alt:e.alt,"data-testid":e.testId})},43799:(e,t,a)=>{"use strict";a.d(t,{RX:()=>i,ZO:()=>s,ud:()=>l,wr:()=>n});var o=a(64412),r=a(64642);let s={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:"ambasad
1ori",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"},i={finishedCollections:"dokoncene",aboutUs:"o-nas",contact:"kontakt",blog:"blog",privacyPolicy:"zasady",donioCode:"kodex",myDonio:"moje-donio",changePassword:"profil/zmena-hesla",...r.D.country===o.TP.SLOVAKIA?n:s},l={[o.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"},[o.TP.SLOVAKIA]:{...i},[o.TP.CZECH_REPUBLIC]:{...i}}[r.D.country]},53013:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var o=a(95155);a(12115);let r=function({className:e}){return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"10",viewBox:"0 0 12 10",className:e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M12 5l-4.947 5-.99-1 3.258-3.293H0V4.293h9.32L6.064 1l.99-1z"})})}},64974:(e,t,a)=>{"use strict";a.d(t,{default:()=>d});var o=a(95155),r=a(69730),s=a.n(r),n=a(12115),i=a(53013),l=a(32942);let d=({items:e,className:t,collectedText:a})=>{let[r,d]=(0,n.useState)(0),c=(0,n.useMemo)(()=>r>0,[r]),m=(0,n.useMemo)(()=>r<e.length-1,[r,e.length]),h=(0,n.useCallback)(()=>{c&&d(e=>e-1)},[c]),u=(0,n.useCallback)(()=>{m&&d(e=>e+1)},[m]);return(0,o.jsxs)("div",{"data-testid":"desktop-homepage-header-carousel",className:s()("relative",t),children:[(0,o.jsxs)("div",{className:"absolute flex gap-x-[5px] m-[16px] lg:w-[680px] h-[530px] ",children:[(0,o.jsx)("button",{"data-testid":"carousel-prev-button",disabled:!c,"aria-label":"Prev",onClick:h,className:s()("relative z-10 grid h-8 w-8 place-items-center rounded-full hover:text-primary-mid bg-white shadow transform rotate-180",!c&&"bg-white/50 cursor-default hover:text-inherit"),children:(0,o.jsx)(i.A,{})}),(0,o.jsx)("button",{"data-testid":"carousel-next-button","aria-label":"Next",disabled:!m,onClick:u,className:s()("relative z-10 grid h-8 w-8 place-items-center hover:text-primary-mid rounded-full bg-white shadow",!m&&"bg-white/50 cursor-default hover:text-inherit"),children:(0,o.jsx)(i.A,{})})]}),(0,o.jsx)("div",{className:"overflow-hidden w-[680px] rounded-[8px]",children:(0,o.jsx)("div",{className:"flex transition-transform duration-500 ease-in-out bg-black",style:{transform:`translateX(-${100*r}%)`},children:e.map((e,t)=>(0,o.jsx)("div",{className:"shrink-0 w-full",children:(0,o.jsx)(l.A,{project:e,isDefaultImage:0===t,loadImage:1>=Math.abs(t-r),collectedText:a})},e.id??t))})})]})}},65687:(e,t,a)=>{"use strict";a.d(t,{o:()=>o});let o=(e,t,...a)=>{try{window.location.search.includes("debugAnalytics=true")&&console.log(`Analytics debug (${e}): ${t}`,...a)}catch(e){console.error("Error in analyticsDebugLog:",e)}}},73977:(e,t,a)=>{"use strict";a.d(t,{Y:()=>l});var o=a(40743);let r=/^(\d{4})-(\d{2})-(\d{2})$/,s=e=>String(e).padStart(2,"0"),n=/yyyy|MM|dd|HH|mm|M|d|H|m/g,i=(e,t)=>{let a=t.replace(n,t=>{switch(t){case"yyyy":return String(e.year);case"MM":return s(e.month);case"M":return String(e.month);case"dd":return s(e.day);case"d":return String(e.day);case"HH":return s(e.hour);case"H":return String(e.hour);case"mm":return s(e.minute);case"m":return String(e.minute);default:return t}});if(/[A-Za-z]/.test(a))throw Error(`Unsupported date format: ${t}`);return a},l=(e,t)=>
1{let a=((e,t)=>{if("string"==typeof e){let t,a=(t=r.exec(e))?{year:Number(t[1]),month:Number(t[2]),day:Number(t[3]),hour:0,minute:0}:null;if(a)return a}let a="string"==typeof e?new Date(e):e;if(Number.isNaN(a.getTime()))throw Error(`Invalid date: ${e}`);let o=new Intl.DateTimeFormat("en-US",{timeZone:t||void 0,year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",hourCycle:"h23"}).formatToParts(a),s=e=>Number(o.find(t=>t.type===e)?.value);return{year:s("year"),month:s("month"),day:s("day"),hour:s("hour"),minute:s("minute")}})(e,o.B.timeZone);try{return i(a,t)}catch{return i(a,"d. M. yyyy H:mm")}}},74050:e=>{e.exports={heroTopic:"heroTopic_heroTopic___0u74"}},80873:(e,t,a)=>{"use strict";a.d(t,{default:()=>d});var o=a(95155),r=a(69730),s=a.n(r),n=a(12115),i=a(14689),l=a(12261);let d=({label:e,className:t})=>{let{isScriptLoaded:a}=(0,n.useContext)(i.N);return(0,o.jsx)("button",{type:"button",disabled:!a,onClick:()=>{window?.CookieConsent?.show?window.CookieConsent.show():(0,l.Cp)(Error("window?.CookieConsent?.show is not available yet."),{extra:{cookieConsent:window?.CookieConsent,isScriptLoaded:a}})},className:s()("text-left hover:text-primary-mid transition-colors",!a&&"cursor-not-allowed opacity-30",t),children:e})}},86373:(e,t,a)=>{"use strict";a.d(t,{JsFromXlView:()=>i});var o=a(95155),r=a(5399);let s=({children:e})=>(0,o.jsx)("div",{className:"hidden xl:block",children:e});var n=a(1120);let i=({children:e})=>{let{width:t}=(0,r.A)({onChange:()=>null});return t&&t<n.m.xl?null:(0,o.jsx)(s,{children:e})}},98437:(e,t,a)=>{"use strict";a.d(t,{default:()=>p});var o=a(95155),r=a(69730),s=a.n(r),n=a(73321);a(12115);var i=a(64412),l=a(70392),d=a(40743),c=a(21464);let m={[i.TM.CZ]:"ÄeÅ¡tina",[i.TM.EN]:"English",[i.TM.SK]:"SlovenÄina",[i.TM.ES]:"Espa\xf1ol"},h={[i.TM.CZ]:"PÅepnout do ÄeÅ¡tiny",[i.TM.EN]:"Switch to English",[i.TM.SK]:"Prepn\xfaÅ¥ na slovenÄinu",[i.TM.ES]:"Cambiar a espa\xf1ol"},u={[i.TM.CZ]:(0,o.jsx)(function({className:e}){return(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 512 512",className:e,children:[(0,o.jsx)("path",{fill:"#fff",d:"M0 0h512v256H0z"}),(0,o.jsx)("path",{fill:"#d7141a",d:"M0 256h512v256H0z"}),(0,o.jsx)("path",{fill:"#11457e",d:"M300 256 0 56v400z"})]})},{className:"rounded-full"}),[i.TM.EN]:(0,o.jsx)(function({className:e}){return(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 512 512",className:e,children:[(0,o.jsx)("path",{fill:"#012169",d:"M0 0h512v512H0z"}),(0,o.jsx)("path",{fill:"#FFF",d:"M512 0v64L322 256l190 187v69h-67L254 324 68 512H0v-68l186-187L0 74V0h62l192 188L440 0z"}),(0,o.jsx)("path",{fill:"#C8102E",d:"m184 324 11 34L42 512H0v-3l184-185zm124-12 54 8 150 147v45L308 312zM512 0 320 196l-4-44L466 0h46zM0 1l193 189-59-8L0 49V1z"}),(0,o.jsx)("path",{fill:"#FFF",d:"M176 0v512h160V0H176zM0 176v160h512V176H0z"}),(0,o.jsx)("path",{fill:"#C8102E",d:"M0 208v96h512v-96H0zM208 0v512h96V0h-96z"})]})},{className:"rounded-full"}),[i.TM.SK]:(0,o.jsx)(({className:e})=>(0,o.jsxs)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 512 512",children:[(0,o.jsx)("mask",{id:"a",children:(0,o.jsx)("circle",{cx:"256",cy:"256",r:"256",fill:"#fff"})}),(0,o.jsxs)("g",{mask:"url(#a)",children:[(0,o.jsx)("path",{fill:"#0052b4",d:"m0 160 256-32 256 32v192l-256 32L0 352z"}),(0,o.jsx)("path",{fill:"#eee",d:"M0 0h512v160H0z"}),(0,o.jsx)("path",{fill:"#d80027",d:"M0 352h512v160H0z"}),(0,o.jsx)("path",{fill:"#eee",d:"M64 63v217c0 104 144 137 144 137s144-33 144-137V63z"}),(0,o.jsx)("path",{fill:"#d80027",d:"M96 95v185a83 78 0 0 0 9 34h206a83 77 0 0 0 9-34V95z"}),(0,o.jsx)("path",{fill:"#eee",d:"M288 224h-64v-32h32v-32h-32v-32h-32v32h-32v32h32v32h-64v32h64v32h32v-32h64z"}),(0,o.jsx)("path",{fill:"#0052b4",d:"M152 359a247 231 0 0 0 56 24c12-3 34-11 56-24a123 115 0 0 0 47-45 60 56 0 0 0-34-10l-14 2a60 56 0 0 0-110 0 60 56 0 0 0-14-2c-12 0-24 4-34 10a123 115 0 0 0 47 45z"})]})]}),{className:"rounded-full"}),[i.TM.ES]:(0,o.jsx)(({className:e})=>(0,o.jsxs)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:[(0,o.jsx)("mask",{id:"a",children:(0,o.jsx)("circle",{cx:"256",cy:"256",r:"256",fill:"#fff"})}),(0,o.jsxs)("g",{mask:"url(#a)",children:[(0,o.jsx)("path",{fill:"#d80027",d:"M0 0h512v128l-39.8 130.3L512 384v128H0V384l37.8-124L0 128z"}),(0,o.jsx)("path",{fill:"#ffda44",d:"M0 128h512v256H0z"})]})]}),{className:"h-[18px] w-[18px] rounded-full"})},p=({className:e,shortenLabels:t,testId:a})=>
1{let r=(0,n.useSearchParams)(),p=(0,n.usePathname)(),x=(0,l.f)(),g=x===d.B.fallbackLanguage?i.TM.EN:d.B.fallbackLanguage,w=async()=>{let e=new URLSearchParams(r.toString());g===i.TM.EN?e.set("lang",g):e.delete("lang");let t=(0,c.hL)(`${p}?${e.toString()}`);window.location.href=t};return(0,o.jsxs)("button",{"data-testid":a,className:s()(e,"flex items-center hover:text-primary-mid text-[14px] gap-[8px]"),onClick:w,children:[u[g],(0,o.jsx)("span",{children:(({currentLanguage:e,nextLanguage:t,shortenLabels:a})=>{let o=a?m:h;return e!==i.TM.EN?o[i.TM.EN]:o[t]})({currentLanguage:x,nextLanguage:g,shortenLabels:t})})]})}}}]);
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.