PageSourceSearch

https://app.healthychurchestoolkit.com/assets/GlobalRegistration-wp7GUIbE.js

js healthychurchestoolkit.com collected 2026-10-04 06:28:28 UTC 7,898 bytes, 1 lines download raw bytes

1import{r as c,j as e,B as b,m as v,b as y}from"./index-uPuoBMhx.js";import{I as n}from"./input-BmSpt0Eh.js";import{L as s}from"./label-BejpMhEw.js";import{S as f,a as S,b as N,c as C,d as w}from"./select-D07I9jAC.js";import{c as _}from"./index-A7ElDbZk.js";import"./index-Wvdu2dI_.js";import"./index-BdQq_4o_.js";import"./index-BaASz1SR.js";import"./index-DoY6TkfM.js";import"./index-CPcWs2mZ.js";import"./index-BmCJDWmK.js";import"./index-BLbwat6W.js";import"./index-ovzA6VBT.js";import"./chevron-down-BNqv1YJ1.js";const A=["Afghanistan","Albania","Algeria","Andorra","Angola","Antigua and Barbuda","Argentina","Armenia","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bosnia and Herzegovina","Botswana","Brazil","Brunei","Bulgaria","Burkina Faso","Burundi","Cabo Verde","Cambodia","Cameroon","Central African Republic","Chad","Chile","China","Colombia","Comoros","Congo (Congo-Brazzaville)","Costa Rica","Côte d’Ivoire","Croatia","Cuba","Cyprus","Czechia","Democratic Republic of the Congo","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Eswatini","Ethiopia","Fiji","Finland","France","Gabon","Gambia","Georgia","Germany","Ghana","Greece","Grenada","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Honduras","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Mauritania","Mauritius","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Zealand","Nicaragua","Niger","Nigeria","North Korea","North Macedonia","Norway","Oman","Pakistan","Palau","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Poland","Portugal","Qatar","Romania","Russia","Rwanda","Saint Kitts and Nevis","Saint Lucia","Saint Vincent and the Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Korea","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Sweden","Switzerland","Syria","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican City","Venezuela","Vietnam","Yemen","Zambia","Zimbabwe"];function F(){const[i,p]=c.useState({first_name:"",last_name:"",email:"",church_name:"",address_line1:"",address_line2:"",city:"",region:"",postal_code:"",country:""}),[u,m]=c.useState(!1),[h,g]=c.useState(""),r=(a,l)=>p(o=>({...o,[a]:l})),j=async a=>{var l,o,x;a.preventDefault(),g(""),m(!0);try{const t=await v.registerGlobalAccount(i),d=(l=t==null?void 0:t.data)==null?void 0:l.registration_id;if(!d)throw new Error("Unexpected response");try{localStorage.setItem("global_reg_id",d)}catch{}y.auth.redirectToLogin(_(`GlobalRegistrationComplete?rid=${d}`))}catch(t){g(((x=(o=t==null?void 0:t.response)==null?void 0:o.data)==null?void 0:x.error)||t.message||"Something went wrong")}finally{m(!1)}};return e.jsx("div",{className:"min-h-screen bg-gradient-to-br from-gray-50 to-white",children:e.jsx("div",{className:"max-w-6xl mx-auto px-4 py-12",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 items-start",children:[e.jsxs("div",{children:[e.jsx("div",{className:"mb-6 inline-flex items-center gap-2 px-3 py-1 rounded-full bg-emerald-50 text-emerald-700 text-sm",children:"Free Access • Outside North America"}),e.jsx("h1",{className:"text-4xl font-bold tracking-tight text-gray-900 mb-4",children:"Healthy Churches Toolkit for Global Churches"}),e.jsx("p",{className:"text-gray-600 text-lg mb-8",children:"Churches outside the United States and Canada receive Plus access at no cost. Build your strategic plan, train leaders, and organize communication with our full toolkit."}),e.jsxs("ul",{className:"space-y-4",children:[e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"h-6 w-6 rounded-full bg-emerald-100 text-emerald-700 flex items-center justify-center text-sm",children:"✓"}),e.jsx("span",{children:"Strategic Plan suite: indicators, projects, and reports"})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"h-6 w-6 rounded-full bg-emerald-100 text-emerald-700 flex items-center justify-center text-sm",children:"✓"}),e.jsx("span",{children:"Leadership pipeline tools and training modules"})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"h-6 w-6 rounded-full bg-emerald-100 text-emerald-700 flex items-center justify-center text-sm",children:"✓"}),e.jsx("span",{children:"Content calendar and sermon resources"})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"h-6 w-6 rounded-full bg-emerald-100 text-emerald-700 flex items-center justify-center text-sm",children:"✓"}),e.jsx("span",{children:"No payment required for eligible countries"})]})]})]}),e.jsxs("div",{className:"bg-white rounded-2xl shadow-sm border p-6 lg:p-8",children:[e.jsx("h2",{className:"text-2xl font-semibold mb-2",children:"Register free for global access"}),e.jsx("p",{className:"text-gray-600 mb-6",children:"Eligible for churches outside the United States and Canada."}),e.jsxs("form",{onSubmit:j,className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(s,{children:"First Name"}),e.jsx(n,{value:i.first_name,onChange:a=>r("first_name",a.target.value),required:!0})]}),e.jsxs("div",{children:[e.jsx(s,{children:"Last Name"}),e.jsx(n,{value:i.last_name,onChange:a=>r("last_name",a.target.value),required:!0})]})]}),e.jsxs("div",{children:[e.jsx(s,{children:"Email"}),e.jsx(n,{type:"email",value:i.email,onChange:a=>r("email",a.target.value),required:!0})]}),e.jsxs("div",{children:[e.jsx(s,{children:"Church Name"}),e.jsx(n,{value:i.church_name,onChange:a=>r("church_name",a.target.value),required:!0})]}),e.jsxs("div",{children:[e.jsx(s,{children:"Address Line 1"}),e.jsx(n,{value:i.address_line1,onChange:a=>r("address_line1",a.target.value),required:!0})]}),e.jsxs("div",{children:[e.jsx(s,{children:"Address Line 2 (optional)"}),e.jsx(n,{value:i.address_line2,onChange:a=>r("address_line2",a.target.value)})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[e.jsxs("div",{children:[e.jsx(s,{children:"City"}),e.jsx(n,{value:i.city,onChange:a=>r("city",a.target.value),required:!0})]}),e.jsxs("div",{children:[e.jsx(s,{children:"State/Province/Region"}),e.jsx(n,{value:i.region,onChange:a=>r("region",a.target.value)})]}),e.jsxs("div",{children:[e.jsx(s,{children:"Postal Code"}),e.jsx(n,{value:i.postal_code,onChange:a=>r("postal_code",a.target.value)})]})]}),e.jsxs("div",{children:[e.jsx(s,{children:"Country"}),e.jsxs(f,{value:i.country,onValueChange:a=>r("country",a),required:!0,children:[e.jsx(S,{children:e.jsx(N,{placeholder:"Select your country"})}),e.jsx(C,{className:"max-h-72",children:A.map(a=>e.jsx(w,{value:a,children:a},a))})]})]}),h&&e.jsx("div",{className:"text-red-600 text-sm",children:h}),e.jsx(b,{type:"submit",disabled:u,className:"w-full bg-emerald-600 hover:bg-emerald-700",children:u?"Submitting…":"Register Free (Outside North America)"}),e.jsx("p",{className:"text-xs text-gray-500",children:"After submitting, you’ll create your account or sign in. We’ll verify eligibility and enable Plus access."})]})]})]})})})}export{F 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.