1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Globe3D-BOKP6bZZ.js","assets/editor-BhGk7_S1.js","assets/leaflet-DcfcX7a_.js","assets/mapbox-BPFQ-Sfv.js","assets/mapbox-gl-DEKaLS0d.js","assets/mapbox-gl-vV3jbIp0.css","assets/index-BjIHAQhU.js","assets/trpc-DqtxhgQo.js","assets/index-DsdD9fV2.css","assets/countryTranslations--xXtAg9U.js","assets/check-DFqoFjW9.js","assets/copy-XdjMT1NJ.js"])))=>i.map(i=>d[i]); 2import{u as y,b as o,L as n,a as N,_ as A}from"./index-BjIHAQhU.js";import{j as t}from"./editor-BhGk7_S1.js";import{b as l}from"./leaflet-DcfcX7a_.js";import{B as s}from"./button-CK76V7Lo.js";import{A as F}from"./AuthModal-DOX1HBlV.js";import{U as g}from"./users-CXg3PGFq.js";import{C as a}from"./chevron-right-DDkBVPVM.js";import{B as C}from"./book-open-CrMOWOeU.js";import{L}from"./lightbulb-B1ic1q03.js";import{G as k}from"./globe-rpSIUeg6.js";import"./trpc-DqtxhgQo.js";import"./mapbox-BPFQ-Sfv.js";import"./dialog-DDbhAKMR.js";import"./index-CmmlU_cv.js";import"./x-rm1_-8OE.js";import"./CityAutocomplete-t8y1NAcF.js";
2import"./input-BtSXPsMX.js";import"./languages-CKIgFA9r.js";import"./languageTranslations-BWtqfsq5.js";import"./countryTranslations--xXtAg9U.js";import"./log-in-CXlq96ds.js";import"./sparkles-d8zLxPkz.js";import"./refresh-cw-A4TQI-r2.js";const _=l.lazy(()=>A(()=>import("./Globe3D-BOKP6bZZ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])));function st(){const{t:e,language:r,setLanguage:p}=y(),[m,x]=l.useState(!1),[i,B]=l.useState(["sure","very_probable"]),{data:u,refetch:f}=o.auth.me.useQuery(),j=o.auth.logout.useMutation(),{data:c}=o.contactLeads.byCountry.useQuery({statuses:["sure","very_probable","probable","uncertain"]}),S=l.useMemo(()=>{if(!c)return{};const d={};for(const[b,T]of Object.entries(c)){const h=T.filter(w=>i.includes(w.status));h.length>0&&(d[b]=h)}return d},[c,i]),v=async()=>{await j.mutateAsync(),window.location.reload()};return t.jsxs("div",{"data-loc":"client/src/pages/Test2Split.tsx:54",className:"min-h-screen bg-gradient-to-b from-[#0a0e27] via-[#1a1f3a] to-[#0a0e27] text-white relative overflow-hidden",children:[t.jsxs("div",{"data-loc":"client/src/pages/Test2Split.tsx:56",className:"absolute inset-0 overflow-hidden pointer-events-none",children:[t.jsx("div",{"data-loc":"client/src/pages/Test2Split.tsx:57",className:"stars-small"}),t.jsx("div",{"data-loc":"client/src/pages/Test2Split.tsx:58",className:"stars-medium"}),t.jsx("div",{"data-loc":"client/src/pages/Test2Split.tsx:59",className:"stars-large"})]}),t.jsxs("div",{"data-loc":"client/src/pages/Test2Split.tsx:63",className:"relative z-10 min-h-screen flex flex-col lg:flex-row",children:[t.jsxs("div",{"data-loc":"client/src/pages/Test2Split.tsx:65",className:"lg:w-1/2 flex flex-col justify-center px-8 lg:px-16 py-16 lg:py-24",children:[t.jsx("a",{"data-loc":"client/src/pages/Test2Split.tsx:67",href:"https://www.onehome.org",target:"_blank",rel:"noopener noreferrer",className:"mb-12 inline-block transition-transform hover:scale-105",children:t.jsx("img",{"data-loc":"client/src/pages/Test2Split.tsx:73",src:"/onehome-logo-hd.png",alt:"OneHome",className:"h-16 w-auto"})}),t.jsxs("h1",{"data-loc":"client/src/pages/Test2Split.tsx:81",className:"text-5xl lg:text-7xl font-bold mb-6 leading-tight",children:[t.jsx("span",{"data-loc":"client/src/pages/Test2Split.tsx:82",className:"text-white",children:"Blue"}),t.jsx("br",{"data-loc":"client/src/pages/Test2Split.tsx:83"}),t.jsx("span",{"data-loc":"client/src/pages/Test2Split.tsx:84",className:"bg-gradient-to-r from-[#002FA7] to-[#00A3FF] bg-clip-text text-transparent",children:"Revolution"})]}),t.jsx("p",{"data-loc":"client/src/pages/Test2Split.tsx:90",className:"text-xl text-gray-300 mb-4 max-w-lg",children:e("home.subtitle")}),t.jsx("p",{"data-loc":"client/src/pages/Test2Split.tsx:95",className:"text-base text-gray-400 mb-8 max-w-lg",children:r==="fr"?"Plateforme de coordination pour illuminer 100 pays d'ici Earth Day 2026 (22 avril)":"Coordination platform to illuminate 100 countries by Earth Day 2026 (April 22nd)"}),t.jsxs("div",{"data-loc":"client/src/pages/Test2Split.tsx:103",className:"flex gap-8 mb-12",children:[t.jsxs("div",{"data-loc":"client/src/pages/Test2Split.tsx:104",children:[t.jsx("div",{"data-loc":"client/src/pages/Test2Split.tsx:105",className:"text-4xl font-bold text-[#002FA7]",children:"86"}),t.jsx("div",{"data-loc":"client/src/pages/Test2Split.tsx:106",className:"text-sm text-gray-400",children:e("home.countriesReached")})]}),t.jsxs("div",{"data-loc":"client/src/pages/Test2Split.tsx:108",children:[t.jsx("div",{"data-loc":"client/src/pages/Test2Split.tsx:109",className:"text-4xl font-bold text-[#00A3FF]",children:"2.4M"}),t.jsx("div",{"data-loc":"client/src/pages/Test2Split.tsx:110",className:"text-sm text-gray-400",children:e("home.peopleReached")})]})]}),t.jsxs(s,{"data-loc":"client/src/pages/Test2Split.tsx:115",size:"lg",className:"bg-[#002FA7] hover:bg-[#0047FF] text-white px-8 py-6 text-lg rounded-full shadow-lg shadow-[#002FA7]/50 transition-all hover:scale-105 w-fit",children:[t.jsx(g,{"data-loc":"client/src/pages/Test2Split.tsx:119",className:"mr-2 h-5 w-5"}),e("home.becomeAmbassador"),t.jsx(a,{"data-loc":"client/src/pages/Test2Split.tsx:121",className:"ml-2 h-5 w-5"})]})]}),t.jsxs("div",{"data-loc":"client/src/pages/Test2Split.tsx:126",className:"lg:w-1/2 flex flex-col justify-between px-8 lg:px-16 py-16 lg:py-24 bg-white/5 backdrop-blur-sm border-l border-white/10",children:[t.jsxs("div",{"data-loc":"client/src/pages/Test2Split.tsx:128",className:"flex items-center justify-between mb-12",children:[t.jsxs("div",{"data-loc":"client/src/pages/Test2Split.tsx:130",className:"flex items-center gap-2 text-sm",children:[t.jsx("button",{"data-loc":"client/src/pages/Test2Split.tsx:131",onClick:()=>p("en"),className:`px-3 py-1.5 rounded-lg transition-colors ${r==="en"?"bg-[#002FA7] text-white":"text-gray-400 hover:text-white hover:bg-white/5"}`,children:"EN"}),t.jsx("button",{"data-loc":"client/src/pages/Test2Split.tsx:141",onClick:()=>p("fr"),className:`px-3 py-1.5 rounded-lg transition-colors ${r==="fr"?"bg-[#002FA7] text-white":"text-gray-400 hover:text-white hover:bg-white/5"}`,children:"FR"})]}),t.jsx("div",{"data-loc":"client/src/pages/Test2Split.tsx:154",children:u?t.jsxs("div",{"data-loc":"client/src/pages/Test2Split.tsx:156",className:"flex items-center gap-3",children:[t.jsx(n,{"data-loc":"client/src/pages/Test2Split.tsx:157",href:"/dashboard",children:t.jsx(s,{"data-loc":"client/src/pages/Test2Split.tsx:158",variant:"ghost",size:"sm",className:"text-gray-300 hover:text-white",children:e("home.myContactLeads")})}),t.jsx(s,{"data-loc":"client/src/pages/Test2Split.tsx:166",variant:"ghost",size:"sm",onClick:v,className:"text-gray-400 hover:text-white",children:e("auth.logout")})]}):t.jsx(s,{"data-loc":"client/src/pages/Test2Split.tsx:176",variant:"outline",size:"sm",onClick:()=>x(!0),className:"bg-white/5 border-white/10 hover:bg-white/10",children:e("auth.ambassadorLogin")})})]}),t.jsxs("nav",{"data-loc":"client/src/pages/Test2Split.tsx:189",className:"flex flex-col gap-4 mb-12",children:[t.jsx(n,{"data-loc":"client/src/pages/Test2Split.tsx:190",href:"/ambassadors",children:t.jsxs(s,{"data-loc":"client/src/pages/Test2Split.tsx:191",variant:"ghost",className:"w-full justify-start text-left px-6 py-6 text-lg hover:bg-white/10 rounded-xl group",children:[t.jsx(g,{"data-loc":"client/src/pages/Test2Split.tsx:195",className:"mr-4 h-6 w-6 text-[#002FA7] group-hover:scale-110 transition-transform"}),t.jsx("span",{"data-loc":"client/src/pages/Test2Split.tsx:196",className:"text-white",children:e("home.ambassadors")}),t.jsx(a,{"data-loc":"client/src/pages/Test2Split.tsx:197",className:"ml-auto h-5 w-5 text-gray-400 group-hover:text-white group-hover:translate-x-1 transition-all"})]})}),t.jsx(n,{"data-loc":"client/src/pages/Test2Split.tsx:201",href:"/resources",children:t.jsxs(s,{"data-loc":"client/src/pages/Test2Split.tsx:202",variant:"ghost",className:"w-full justify-start text-left px-6 py-6 text-lg hover:bg-white/10 rounded-xl group",children:[t.jsx(C,{"data-loc":"client/src/pages/Test2Split.tsx:206",className:"mr-4 h-6 w-6 text-[#002FA7] group-hover:scale-110 transition-transform"}),t.jsx("span",{"data-loc":"client/src/pages/Test2Split.tsx:207",className:"text-white",children:e("home.resources")}),t.jsx(a,{"data-loc":"client/src/pages/Test2Split.tsx:208",className:"ml-auto h-5 w-5 text-gray-400 group-hover:text-white group-hover:translate-x-1 transition-all"})]})}),t.jsxs(s,{"data-loc":"client/src/pages/Test2Split.tsx:212",variant:"ghost",className:"w-full justify-start text-left px-6 py-6 text-lg hover:bg-white/10 rounded-xl group",children:[t.jsx(L,{"data-loc":"client/src/pages/Test2Split.tsx:216",className:"mr-4 h-6 w-6 text-[#002FA7] group-hover:scale-110 transition-transform"}),t.jsx("span",{"data-loc":"client/src/pages/Test2Split.tsx:217",className:"text-white",children:e("home.howItWorks")}),t.jsx(a,{"data-loc":"client/src/pages/Test2Split.tsx:218",className:"ml-auto h-5 w-5 text-gray-400 group-hover:text-white group-hover:translate-x-1 transition-all"})]}),t.jsxs(s,{"data-loc":"client/src/pages/Test2Split.tsx:221",variant:"ghost",className:"w-full justify-start text-left px-6 py-6 text-lg hover:bg-white/10 rounded-xl group",children:[t.jsx(k,{"data-loc":"client/src/pages/Test2Split.tsx:225",className:"mr-4 h-6 w-6 text-[#002FA7] group-hover:scale-110 transition-transform"}),t.jsx("span",{"data-loc":"client/src/pages/Test2Split.tsx:226",className:"text-white",children:e("home.globalProgress")}),t.jsx(a,{"data-loc":"client/src/pages/Test2Split.tsx:227",className:"ml-auto h-5 w-5 text-gray-400 group-hover:text-white group-hover:translate-x-1 transition-all"})]})]}),t.jsx("div",{"data-loc":"client/src/pages/Test2Split.tsx:232",className:"text-sm text-gray-400",children:t.jsx("p",{"data-loc":"client/src/pages/Test2Split.tsx:233",children:e("home.missionDescription")})})]})]}),t.jsx("section",{"data-loc":"client/src/pages/Test2Split.tsx:239",className:"relative z-10 py-12 bg-black/20",children:t.jsx("div",{"data-loc":"client/src/pages/Test2Split.tsx:240",className:"container mx-auto px-4",children:t.jsx(l.Suspense,{"data-loc":"client/src/pages/Test2Split.tsx:241",fallback:t.jsx("div",{"data-loc":"client/src/pages/Test2Split.tsx:242",className:"h-[600px] flex items-center justify-center",children:t.jsx(N,{"data-loc":"client/src/pages/Test2Split.tsx:243",className:"w-12 h-12 animate-spin text-primary"})}),children:t.jsx(_,{"data-loc":"client/src/pages/Test2Split.tsx:246",countries:[],contactLeadsByCountry:S,selectedStatuses:i,autoPlayAfterAnimation:!0})})})}),t.jsx(F,{"data-loc":"client/src/pages/Test2Split.tsx:257",open:m,onOpenChange:x,onSuccess:()=>{f()}})]})}export{st 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.