1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8f593dcd-23c5-42b5-a9f6-1cc2de6ef597",e._sentryDebugIdIdentifier="sentry-dbid-8f593dcd-23c5-42b5-a9f6-1cc2de6ef597")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1364],{18782:(e,a,n)=>{"use strict";n.r(a),n.d(a,{default:()=>u});var r=n(6029),s=n(742),t=n(23445),l=n(85797),i=n(71024),o=n.n(i),d=n(11351),c=n(51786),m=n(55729),x=n(80222),g=n(50195),h=n(19209);let b=o()(()=>n.e(5859).then(n.bind(n,15859)),{loadableGenerated:{webpack:()=>[15859]},ssr:!1}),p=()=>{let e=c.Ik({name:c.Yj().max(30).optional(),email:c.Yj().email("Invalid email"),organization:c.Yj().optional(),comment:c.Yj(),questionType:c.Yj(),formVersion:c.eu("v2"),website:c.Yj().optional()}),a=["Technical / Data","Report a bug or issue","City partnerships / goals","Frontline community org partnerships / goals","Technical tools / implementation","Media inquiries and social media toolkit","Donations","General feedback"],n={name:"",email:"",organization:"",comment:"",questionType:a[0],formVersion:"v2",website:""};return(0,r.jsxs)("div",{className:"min-h-screen bg-gradient-to-b from-white to-[#ECF5F2]",children:[(0,r.jsxs)("div",{style:{backgroundImage:"url(".concat(x.UV,"/Parcel_Tree_Banner_DarkerGr_gdt.jpg)"),backgroundSize:"cover",backgroundRepeat:"no-repeat",imageRendering:"crisp-edges"},children:[(0,r.jsx)("div",{className:"bg-white",children:(0,r.jsx)(b,{})}),(0,r.jsx)("div",{className:"h-80"})]}),(0,r.jsx)("div",{className:"m-auto -mt-56 w-11/12 md:w-4/5 xl:w-1/2",children:(0,r.jsx)("div",{className:"rounded-lg bg-white p-4 shadow-lg",children:(0,r.jsx)(m.Suspense,{fallback:null,children:(0,r.jsx)(()=>{let[t,l]=(0,m.useState)("init"),[i]=(0,s.n_)(h.A),o=async e=>{l("sending"),await i(e),l("sent")};return(0,r.jsxs)("div",{className:"text-gray-800",children:[(0,r.jsx)("h1",{className:"mb-2 py-6 pl-8 text-3xl font-semibold lg:text-[40px]",children:"Get in touch"}),"sent"===t&&(0,r.jsx)("div",{children:"Thanks for reaching out! Your message has been sent."}),"sending"===t&&(0,r.jsx)("div",{children:"Your message is sending..."}),"init"===t&&(0,r.jsx)("div",{className:"px-8",children:(0,r.jsx)(d.l1,{initialValues:n,onSubmit:o,validate:async a=>await (0,g.v)(e)(a),validateOnChange:!1,children:(0,r.jsxs)(d.lV,{children:[(0,r.jsxs)("div",{style:{position:"absolute",left:"-9999px",height:0,overflow:"hidden"},"aria-hidden":"true",children:[(0,r.jsx)("label",{htmlFor:"website",children:"Website"}),(0,r.jsx)(d.D0,{type:"text",id:"website",name:"website",tabIndex:-1,autoComplete:"off"})]}),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{htmlFor:"questionType",className:"mb-1 block font-semibold",children:"What type of question or comment do you have?"}),(0,r.jsx)(d.D0,{as:"select",id:"questionType",name:"questionType",className:"w-full rounded border border-gray-500 px-4 py-2 focus:border-gray-500 focus:ring-gray-500",children:a.map((e,a)=>(0,r.jsx)("option",{value:e,children:e},a))}),(0,r.jsx)(d.Kw,{name:"questionType",component:"div",className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{htmlFor:"name",className:"mb-1 block font-semibold",children:"Name"}),(0,r.jsx)(d.D0,{type:"text",id:"name",name:"name",className:"w-full rounded border border-gray-500 px-4 py-2 focus:border-gray-500 focus:ring-gray-500"}),(0,r.jsx)(d.Kw,{name:"name",component:"div",className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{htmlFor:"email",className:"mb-1 block font-semibold",children:"Email"}),(0,r.jsx)(d.D0,{type:"email",id:"email",name:"email",className:"w-full rounded border border-gray-500 px-4 py-2 focus:border-gray-500 focus:ring-gray-500"}),(0,r.jsx)(d.Kw,{name:"email",component:"div",className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{htmlFor:"organization",className:"mb-1 block font-semibold",children:"Organization"}),(0,r.jsx)(d.D0,{type:"text",id:"organization",name:"organization",rows:4,className:"w-full rounded border border-gray-500 px-4 py-2 focus:border-gray-500 focus:ring-gray-500"}),(0,r.jsx)(d.Kw,{name:"message",component:"div",className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{htmlFor:"comment",className:"mb-1 block font-semibold",children:"Comments"}),(0,r.jsx)(d.D0,{as:"textarea",id:"comment",name:"comment",rows:4,className:"w-full rounded border border-gray-500 px-4 py-2 focus:border-gray-500 focus:ring-gray-500"}),(0,r.jsx)(d.Kw,{name:"comment",component:"div",className:"text-red-500"})]}),(0,r.jsx)("div",{className:"flex flex-row items-center justify-center",children:(0,r.jsx)("button",{type:"submit",className:"rounded-full bg-brand-green-dark px-6 py-2 font-semibold uppercase tracking-wider text-white hover:bg-brand-green-darker",children:"Send"})}),(0,r.jsx)("div",{className:"h-6"})]})})})]})},{})})})}),(0,r.jsx)("div",{className:"h-20"}),(0,r.jsx)(l.A,{})]})};p.getLayout=e=>(0,r.jsx)(t.A,{title:"Contact Us",children:e});let u=p},19209:(e,a,n)=>{"use strict";n.d(a,{A:()=>r});let r=(0,n(24290)._)({resolverName:"sendContactMessage",resolverType:"mutation",routePath:"/sendContactMessage",httpMethod:"POST"})},65265:(e,a,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return n(18782)}])},85797:(e,a,n)=>{"use strict";n.d(a,{A:()=>h});var r=n(6029),s=n(80222),t=n(61181),l=n(81278),i=n(82203),o=n.n(i),d=n(73359),c=n(69962),m=n(71641);let x=[{name:"About Tree Equity Score",link:s.D8},{name:"Methods",link:s.Fg},{name:"Data Glossary",link:s.ri},{name:"FAQs",link:s.qU},{name:"Data Download",link:s.Z3},{name:"Stories",link:s.BX},{name:"Watch the Demo",link:s.Di},{name:"Starter Guide",link:s.UZ},{name:"More Resources",link:s.Fz},{name:"Contact Us",link:s.YF}],g=[{name:"Vibrant Cities Lab",link:s.os},{name:"1T.org",link:s.Uo},{name:"Career Resources",link:s.Qr}];function h(){let e=(0,l.useRouter)();return(0,r.jsx)("div",{className:"bg-[#ECF5F2]",style:{backgroundImage:"url(/tes-footer-gradient.jpg)",backgroundSize:"cover",backgroundPosition:"top center",backgroundRepeat:"no-repeat",imageRendering:"crisp-edges"},children:(0,r.jsxs)("div",{className:"m-auto grid w-11/12 grid-cols-3 gap-6 pb-16 pt-36 md:grid-cols-5 md:gap-10 lg:w-4/5 lg:grid-cols-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"pb-3 text-lg font-bold text-brand-green-dark",children:"National Explorer"}),(0,r.jsx)("button",{onClick:()=>{(0,m.M4)(),e.push(t.B.NationalExplorer())},children:(0,r.jsx)("a",{className:"text-sm text-brand-green-dark decoration-[#f9c793] decoration-4 underline-offset-4 hover:underline",children:"Explore the map"})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"pb-3 text-lg font-bold text-brand-green-dark",children:"Local Analyzers"}),d.Mq.filter(e=>"national"!=e.id).map((e,a)=>(0,r.jsx)(o(),{href:t.B.LandingPage({city:e.id}),children:(0,r.jsx)("div",{className:"pb-1.5 text-sm text-brand-green-dark decoration-[#f9c793] decoration-4 underline-offset-4 hover:underline",children:e.title})},a)),(0,r.jsx)(o(),{href:"/analyzer",className:"text-sm text-brand-green-dark decoration-[#f9c793] decoration-4 underline-offset-4 hover:underline",children:"Learn about Analyzers"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"pb-3 text-lg font-bold text-brand-green-dark",children:"International"}),(0,r.jsx)(o(),{href:s.au,className:"text-sm",children:(0,r.jsx)("div",{className:"pb-1.5 text-brand-green-dark decoration-[#f9c793] decoration-4 underline-offset-4 hover:underline",children:"UK"})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"pb-3 text-lg font-bold text-brand-green-dark",children:"More"}),x.map((e,a)=>(0,r.jsx)(o(),{href:"".concat(e.link),className:"text-sm",children:(0,r.jsx)("div",{className:"pb-1.5 text-brand-green-dark decoration-[#f9c793] decoration-4 underline-offset-4 hover:underline",children:e.name})},a))]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"pb-3 text-lg font-bold text-brand-green-dark",children:"Resources"}),g.map((e,a)=>(0,r.jsx)(o(),{href:"".concat(e.link),className:"text-sm",target:"_blank",rel:"noreferrer noopener",children:(0,r.jsx)("div",{className:"pb-1.5 text-brand-green-dark decoration-[#f9c793] decoration-4 underline-offset-4 hover:underline",children:e.name})},a))]}),(0,r.jsxs)("div",{className:"col-span-3 text-center text-lg font-bold text-slate-700 md:col-span-1",children:[(0,r.jsx)(o(),{href:"https://give.americanforests.org/ways-to-give/donate-now/",target:"blank",rel:"noreferrer noopener",className:"inline-block rounded-full bg-brand-green px-[1.75rem] py-2.5 transition duration-500 ease-in-out hover:bg-[#005251] hover:text-white",children:"Donate"}),(0,r.jsx)("h2",{className:"pb-1 pt-10",children:"Connect"}),(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)(o(),{href:"http://twitter.com/AmericanForests",target:"blank",rel:"noreferrer noopener",children:(0,r.jsx)("img",{alt:"",src:"/icons/social-twitter.svg",className:"rounded-full hover:bg-brand-green"})}),(0,r.jsx)(o(),{href:"http://facebook.com/AmericanForests",target:"blank",rel:"noreferrer noopener",children:(0,r.jsx)("img",{alt:"",src:"/icons/social-facebook.svg",className:"rounded-full hover:bg-brand-green"})}),(0,r.jsx)(o(),{href:"http://instagram.com/AmericanForests",target:"blank",rel:"noreferrer noopener",children:(0,r.jsx)("img",{alt:"",src:"/icons/social-instagram.svg",className:"rounded-full hover:bg-brand-green"})}),(0,r.jsx)(o(),{href:"https://www.linkedin.com/company/american-forests/",target:"blank",rel:"noreferrer noopener",children:(0,r.jsx)("img",{alt:"",src:"/icons/social-linkedin.svg",className:"rounded-full hover:bg-brand-green"})})]})]}),(0,r.jsxs)("div",{className:"col-span-3 m-auto gap-x-4 lg:col-span-2",children:[(0,r.jsx)(c.M,{className:"m-auto inline w-28 md:ml-0"}),(0,r.jsx)(o(),{href:s.X_,children:(0,r.jsx)("img",{src:"/af-logo.svg",className:"m-auto inline w-48 md:ml-0"})}),(0,r.jsxs)("p",{className:"pl-2 pt-2 text-xs text-gray-600",children:["Made possible with tree canopy provided by"," ",(0,r.jsx)("img",{className:"inline h-6",src:"/google.png"})]})]}),(0,r.jsxs)("div",{className:"col-span-3 text-center leading-relaxed text-brand-green-dark md:col-span-1 md:text-right lg:col-span-2",children:[(0,r.jsx)("p",{className:"text-sm font-semibold",children:"American Forests"}),(0,r.jsxs)("p",{className:"text-sm",children:["1220 L Street, NW,",(0,r.jsx)("br",{}),"Suite 750",(0,r.jsx)("br",{}),"Washington, DC 20005"]}
1)]}),(0,r.jsxs)("div",{className:"col-span-3 text-xs leading-relaxed text-gray-600 md:col-span-5 lg:col-span-2",children:["American Forests is a nonprofit, tax-exempt charitable organization under Section 501(c)(3) of the U.S. Internal Revenue Code. Donations are tax-deductible as allowed by law.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"Copyright \xa9 ",new Date().getFullYear()," American Forests. All Rights Reserved.",(0,r.jsx)("p",{}),(0,r.jsx)(o(),{href:"/privacy",className:"text-brand-green-dark",children:"Privacy Policy."})," ",(0,r.jsx)(o(),{href:"/manage-tracking",className:"text-brand-green-dark",children:"Manage Tracking Preferences."})]})]})})}d.Mq.sort((e,a)=>e.title.localeCompare(a.title))}},e=>{e.O(0,[6207,3220,5634,1463,6474,1784,8472,636,6593,8792],()=>e(e.s=65265)),_N_E=e.O()}]); 2//# sourceMappingURL=contact-ac1efba8bcd61288.js.map
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.