PageSourceSearch

https://maronici.pl/assets/WesprzyjPage-ece353f5.js

js maronici.pl collected 2026-09-25 07:47:13 UTC 9,820 bytes, 1 lines download raw bytes

1import{r as c,aM as B,k as C,aP as R,n as M,j as e,q as W,m as k,S as G,aQ as z,aj as I,L as _,A as P,aR as K,e as V,$ as O,a0 as U,a1 as Y,a2 as H,a3 as $,D as q,at as J}from"./index-effa314b.js";import{a as Z}from"./bipTotals-77a65d3f.js";import{r as F,D as Q,W as j,n as X,s as ee}from"./wesprzyjPage-30003507.js";import{P as te}from"./play-17ca8b96.js";import"./homepageVideo-7bb944d8.js";import"./embed-09ec2f42.js";const ae=8633,S="campaigns_overview_page";function d({text:t}){return ee(t).map((n,i)=>n.bold?e.jsx("strong",{className:"font-semibold text-[#2c1810]",children:n.text},i):e.jsx(J.Fragment,{children:n.text},i))}function E(t,n,i,m){if(t===1)return n;const a=t%100,x=t%10;return a>=12&&a<=14?m:x>=2&&x<=4?i:m}function D({value:t,loading:n,suffix:i}){return n?e.jsx("span",{className:"inline-block h-6 w-20 align-middle rounded bg-stone-200 animate-pulse","aria-hidden":"true"}):Number.isFinite(t)?e.jsxs("span",{className:"tabular-nums",children:[t.toLocaleString("pl-PL"),i?` ${i}`:""]}):null}const L="https://vengijalqipxhmlcyefv.supabase.co/storage/v1/object/public/assets/blog_images/1784902134712_ywbmg13.png";function ce(){const[t,n]=c.useState(()=>F(null)),[i,m]=c.useState(!1),[a,x]=c.useState({projects:null,donors:null,loading:!0}),[s,T]=c.useState(Q),[u]=B(),A=c.useMemo(()=>{const r={},l=u.get("amount");if(l){const o=Number(l);Number.isFinite(o)&&o>0&&o<=1e5&&(r.amount=String(o),r.customAmount=String(o))}const p=u.get("recurring");return(p==="monthly"||p==="true")&&(r.isRecurring=!0),r},[u]);c.useEffect(()=>{let r=!1;return(async()=>{var f,N,w,y;const[l,p,o]=await Promise.all([C.from("settings").select("key, value").in("key",[j,S]),Z(),R()]);if(r)return;l.error&&M.error("wesprzyj_settings_fetch_failed",{code:l.error.code});const g=Object.fromEntries((l.data||[]).map(v=>[v.key,v.value]));n(F((f=g[j])==null?void 0:f.video)),T(X((N=g[j])==null?void 0:N.content));const b=Number((y=(w=g[S])==null?void 0:w.heroStats)==null?void 0:y.supportersBaseline);x({projects:o,donors:(Number.isFinite(b)?b:ae)+(p||0),loading:!1})})(),()=>{r=!0}},[]);const h="rounded-xl border border-[#E7DFD4] bg-white p-5 shadow-[0_1px_2px_rgba(44,24,16,0.04)]";return e.jsxs("div",{className:"min-h-screen bg-[#F7F5F0] selection:bg-[#D4AF37]/30",children:[e.jsxs(W,{children:[e.jsx("title",{children:"Przekaż darowiznę — wesprzyj misję maronicką | Maronicka Fundacja Misyjna"}),e.jsx("meta",{name:"description",content:"Przekaż darowiznę online — BLIK, karta, Google Pay. Wspierasz chrześcijan w Libanie i posługę maronicką w Polsce. Wpłata jednorazowa lub miesięczna."}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:site_name",content:"Maronicka Fundacja Misyjna"}),e.jsx("meta",{property:"og:locale",content:"pl_PL"}),e.jsx("meta",{property:"og:title",content:"Przekaż darowiznę — wesprzyj misję maronicką"}),e.jsx("meta",{property:"og:description",content:"Pomoc chrześcijanom Libanu i posługa duchowa w Polsce. Każda ofiara trafia na konkretne dzieło."}),e.jsx("meta",{property:"og:image",content:L}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:"Przekaż darowiznę — wesprzyj misję maronicką"}),e.jsx("meta",{name:"twitter:image",content:L})]}),e.jsx("section",{className:"pt-24 pb-16 lg:pt-28 lg:pb-24",children:e.jsx("div",{className:"container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"grid items-start gap-10 lg:grid-cols-[minmax(0,0.85fr)_minmax(0,1fr)] lg:gap-16",children:[e.jsxs(k.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5},className:"lg:sticky lg:top-24",children:[e.jsx("span",{className:"inline-flex items-center gap-2 rounded-full border border-[#D4AF37]/45 bg-[#D4AF37]/12 px-3.5 py-1.5 text-[13px] font-semibold text-[#8C6F1A]",children:s.badge}),e.jsx("h1",{className:"mt-6 font-serif text-4xl font-bold leading-[1.1] tracking-tight text-[#2c1810] md:text-5xl",children:s.heading}),e.jsx("p",{className:"mt-6 text-lg leading-relaxed text-stone-600",children:e.jsx(d,{text:s.lead1})}),e.jsx("p",{className:"mt-4 text-lg leading-relaxed text-stone-600",children:e.jsx(d,{text:s.lead2})}),e.jsxs("div",{className:"mt-8 space-y-3",children:[e.jsx("div",{className:h,children:e.jsxs("div",{className:"flex items-start gap-3.5",children:[e.jsx(G,{className:"mt-0.5 h-5 w-5 shrink-0 text-[#800020]","aria-hidden":"true"}),e.jsxs("div",{children:[e.jsx("h2",{className:"font-serif text-lg font-bold text-[#2c1810]",children:s.card1Title}),e.jsx("p",{className:"mt-1 text-sm leading-relaxed text-stone-500",children:e.jsx(d,{text:s.card1Body})})]})]})}),e.jsx("div",{className:h,children:e.jsxs("div",{className:"flex items-start gap-3.5",children:[e.jsx(z,{className:"mt-0.5 h-5 w-5 shrink-0 text-[#800020]","aria-hidden":"true"}),e.jsxs("div",{children:[e.jsxs("h2",{className:"font-serif text-lg font-bold text-[#2c1810]",children:[e.jsx(D,{value:a.projects,loading:a.loading})," ",Number.isFinite(a.projects)?E(a.projects,"projekt","projekty","projektów"):"Konkretne projekty"]}),e.jsx("p",{className:"mt-1 text-sm leading-relaxed text-stone-500",children:e.jsx(d,{text:s.projectsBody})})]})]})}),e.jsx("div",{className:h,children:e.jsxs("div",{className:"flex items-start gap-3.5",children:[e.jsx(I,{className:"mt-0.5 h-5 w-5 shrink-0 text-[#800020]","aria-hidden":"true"}),e.jsxs("div",{children:[e.jsxs("h2",{className:"font-serif text-lg font-bold text-[#2c1810]",children:[e.jsx(D,{value:a.donors,loading:a.loading})," ",Number.isFinite(a.donors)?E(a.donors,"darczyńca","darczyńcy","darczyńców"):"Tysiące darczyńców"]}),e.jsx("p",{className:"mt-1 text-sm leading-relaxed text-stone-500",children:e.jsx(d,{text:s.donorsBody})})]})]})})]}),e.jsxs("div",{className:"mt-6 flex flex-wrap gap-3",children:[e.jsxs(_,{to:"/projekty",className:"group inline-flex items-center gap-2 rounded-full border border-[#800020]/25 bg-white px-4 py-2.5 text-sm font-semibold text-[#800020] transition-colors hover:border-[#800020]/60 hover:bg-[#800020]/[0.04]",children:[e.jsx(z,{className:"h-4 w-4","aria-hidden":"true"}
1),s.ctaProjectsLabel,e.jsx(P,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5","aria-hidden":"true"})]}),e.jsxs(_,{to:"/news",className:"group inline-flex items-center gap-2 rounded-full border border-[#E7DFD4] bg-white px-4 py-2.5 text-sm font-semibold text-stone-600 transition-colors hover:border-[#D4AF37] hover:text-[#2c1810]",children:[e.jsx(K,{className:"h-4 w-4","aria-hidden":"true"}),s.ctaNewsLabel,e.jsx(P,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5","aria-hidden":"true"})]})]})]}),e.jsxs(k.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1},className:"space-y-6",children:[e.jsxs("figure",{className:"overflow-hidden rounded-2xl border border-[#E7DFD4] bg-[radial-gradient(120%_110%_at_70%_22%,#a98a4e,#6f5730_48%,#33260f)] shadow-[0_18px_40px_-24px_rgba(44,24,16,0.55)]",children:[e.jsx("div",{className:"relative aspect-video",children:i&&t.embed?e.jsx("iframe",{src:t.embed,title:t.title,className:"absolute inset-0 h-full w-full",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):e.jsxs("button",{type:"button",onClick:()=>m(!0),"aria-label":`Odtwórz wideo: ${t.title}`,className:"group absolute inset-0 h-full w-full",children:[t.thumb&&e.jsx("img",{src:t.thumb,alt:"",loading:"lazy",decoding:"async",onError:r=>{t.thumbFallback&&r.currentTarget.src!==t.thumbFallback&&(r.currentTarget.src=t.thumbFallback)},className:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("span",{className:"absolute inset-0 bg-black/20 transition-colors group-hover:bg-black/10"}),e.jsx("span",{className:"absolute inset-0 grid place-items-center",children:e.jsx("span",{className:"grid h-16 w-16 place-items-center rounded-full bg-[#800020]/90 shadow-lg transition-transform group-hover:scale-110",children:e.jsx(te,{className:"ml-0.5 h-6 w-6 fill-current text-white"})})})]})}),e.jsxs("figcaption",{className:"bg-white px-5 py-3.5",children:[e.jsx("p",{className:"font-serif text-base font-bold leading-snug text-[#2c1810]",children:t.title}),t.subtitle&&e.jsx("p",{className:"mt-1 text-sm text-stone-500",children:t.subtitle})]})]}),e.jsxs("div",{className:"overflow-hidden rounded-2xl border border-[#E7DFD4] bg-white shadow-[0_18px_40px_-28px_rgba(44,24,16,0.5)]",children:[e.jsxs("div",{className:"border-b border-[#E7DFD4] px-6 pb-4 pt-5 sm:px-7",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1.5 text-[10px] font-bold uppercase tracking-wider text-stone-500",children:[e.jsxs("span",{className:"inline-flex items-center gap-1 text-green-700",children:[e.jsx(V,{className:"h-3.5 w-3.5","aria-hidden":"true"})," Bezpieczna płatność"]}),e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(O,{className:"h-3 w-3","aria-hidden":"true"})," SSL"]}),e.jsxs("span",{className:"inline-flex items-center gap-2.5 normal-case tracking-normal text-stone-400",children:[e.jsx(U,{className:"h-5 w-auto text-stone-800"}),e.jsx(Y,{className:"h-4 w-auto"}),e.jsx(H,{className:"h-4 w-auto"}),e.jsx($,{className:"h-4 w-auto"})]})]}),e.jsx("p",{className:"mt-1.5 text-[11px] leading-snug text-stone-500",children:"Płatność obsługuje PayU. Nie przechowujemy danych Twojej karty."})]}),e.jsx(q,{mode:"foundation",variant:"expanded",theme:"maronite",embedded:!0,showFoundationSupport:!1,description:"Darowizna na rzecz Maronickiej Fundacji Misyjnej",initialValues:A,metadata:{source:"wesprzyj-page"},className:"border-0 bg-transparent shadow-none !max-w-none p-6 sm:p-7"})]})]})]})})})]})}export{ce as default};

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.