PageSourceSearch

https://www.tollbrothersmortgage.com/_next/static/chunks/pages/contact-us-f46c637153450500.js

js tollbrothersmortgage.com collected 2026-10-09 23:17:08 UTC 18,845 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[455],{6008:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact-us",function(){return a(4162)}])},4162:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return f}});var n=a(5893),l=a(9008),i=a.n(l),s=a(1163),r=a(1664),o=a.n(r),c=a(7294),d=a(1978),m=a(6167),p=a(1365),u=a.n(p);function h(){let e,t,a,l,i,r,o,c,d,m,p,h;let f=!0,v=!1,g=[],y=(0,s.useRouter)(),x=function(e){let t=(""+e).replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return t?"(".concat(t[1],") ").concat(t[2],"-").concat(t[3]):e};return(0,n.jsx)("div",{role:"region","aria-label":"State Representative Contact Form",children:(0,n.jsxs)("form",{"aria-label":"Representative Contact Form",role:"form",autoComplete:"on",children:[(0,n.jsxs)("fieldset",{className:u().select_wrapper,children:[(0,n.jsxs)("label",{className:u().selectStateLabel,htmlFor:"stateSelect",children:["Select State: ",(0,n.jsx)("span",{"aria-hidden":"true",children:"*"})]}),(0,n.jsxs)("select",{onChange:function(){let n=document.getElementById("stateSelect");!function(n){fetch("https://dch7cyct6cvlz.cloudfront.net/v1/search/mortgage/representatives/state?keyword="+n).then(e=>e.json()).then(n=>(function(n){var s,b,j;let _,N,F,I,C,L,E,w,A,S,T,B,k,q,M,P;function $(e){for(let t=0;t<k.length;t++)k[t].checked,k[t].checked=!1,k[e].checked=!0;A.value=n[e].firstName,S.value=n[e].lastName,T.value=n[e].email,B.value=n[e].email,q.innerHTML=n[e].firstName+" ",M.innerHTML=n[e].lastName,w=T.value}(d=document.getElementById("stateForms")).innerHTML="",L=null===(s=n[0])||void 0===s?void 0:s.firstName,E=null===(b=n[0])||void 0===b?void 0:b.lastName,w=null===(j=n[0])||void 0===j?void 0:j.email,n.map(function(e,t){_=e.nmls,N=e.firstName,F=e.lastName,I=e.email,C=e.phone;let a="Chris"==N?"Dallas":"Amanda"==N?"Houston":"Jason"==N?"Austin & San Antonio":"513241"==_&&"FL"==h?"Tampa, Orlando, Panhandle":"1809799"==_&&"FL"==h?"Jacksonville - Palm Coast, Panhandle":"73954"==_&&"FL"==h?"Ft. Myers, Naples, West Palm":"1563092"==_&&"CA"==h?"Bay Area/Northern CA":"18154"==_&&"CA"==h?"Los Angeles":"1043879"==_&&"CA"==h?"Orange County CA":"1416270"==_&&"CA"==h?"Sacramento":"Michael"==N&&"NV"==h?"Las Vegas":"Kelly"==N&&"NV"==h?"Reno":"";C&&I?d.innerHTML+="<div><input id='radio' class='radio' type='radio'/><div class='repInfoWrapper'><span>loan officer</span><h3>"+N+" "+F+"<span>*</span></h3><span>NMLS: "+_+"</span><a href='tel:"+C+"' title='Click to call'>"+x(C)+" </a>"+a+"</div><div><a href='tel:"+C+"'>Call </a><a href='mailto:"+I+"'>Email </span></div></div>":C?I||(d.innerHTML+="<div><input id='radio' class='radio' type='radio'/><div class='repInfoWrapper'><span>loan officer</span><h3>"+N+" "+F+"<span>*</span></h3><span>NMLS: "+_+"</span></div><div><a href='tel:"+C+"' title='Click to call'>Call </a></div></div>"):d.innerHTML+="<div><input id='radio' class='radio' type='radio'/><div class='repInfoWrapper'><span>loan officer</span><h3>"+N+" "+F+"<span>*</span></h3><span>NMLS: "+_+"</span></div><div><a href='mailto:"+I+"'>Email </a></div></div>"}),d.innerHTML+='<p id="repContact">Contact <span id="repFirstName">'+L+' </span><span id="repLastName">'+E+"</span> by filling out form below.</p>",d.innerHTML+='<form action="https://go.tollbrothers.com/GenericWebLead/processlead" method="post" name="contactRepForm" id="contactRepForm" ><input type="hidden" name="formname" value="TBIM02" /><input type="hidden" id="repEmailTo" name="to" value="'+w+'" /><input type="hidden" id="repEmail" name="representativeEmail" value="'+w+'" /><input type="hidden" id="repFName" name="representativeFName" maxLength="50" value="'+L+'" /><input type="hidden" id="repLname" name="representativeLName" value="'+E+'" /><fieldset class="here"><label htmlFor="fullname">Full Name: <span>*</span></label><input type="text" name="fullname" aria-label="Full name" class="required" title="Full Name" id="repFormFullname" required data-required=required tabIndex="6" maxLength="50" /></fieldset><fieldset style="display: none"><label htmlFor="firstname">First Name</label><input type="text" className={`${styles.js_input} ${styles.js_first} ${styles.is_focused}`} defaultValue="" aria-label="First name" id="repFormFirstname" name="firstname" maxLength="50" /></fieldset><fieldset style="display: none"><label htmlFor="lastname">Last Name</label><input type="text" className={`${styles.js_input} ${styles.js_first} ${styles.is_focused}`} defaultValue="" aria-label="Last name" id="repFormLastname" name="lastname" maxLength="50" /></fieldset><fieldset><label htmlFor="phone">Phone: <span>*</span></label><input type="text" name="phone" aria-label="Phone number" title="Phone" className={styles.required} id="phone" data-required=required required tabIndex="7" maxLength="50" /></fieldset><fieldset><label htmlFor="email">
1Email: <span>*</span></label><input type="email" name="email" title="Email" aria-label="Email" id="email" data-required=required required class="email required" tabIndex="8" maxLength="150" /></fieldset><fieldset><label htmlFor="comments">Comments:</label><textarea name="comments" id="comments" aria-label="Comments" title="Comments" className={styles.comments} tabIndex="9" maxLength="300"></textarea></fieldset><p>The information you provide will be used in accordance with our <span id="privacy">Privacy Policy</span>.</p><input type="submit" value="Get In Touch" /></form>',p=document.getElementById("contactRepForm"),A=document.getElementById("repFName"),S=document.getElementById("repLname"),T=document.getElementById("repEmail"),B=document.getElementById("repEmailTo"),q=document.getElementById("repFirstName"),M=document.getElementById("repLastName"),k=document.getElementsByClassName("radio"),P=document.getElementsByClassName("repInfoWrapper"),k[0].checked=!0;for(let e=0;e<k.length;e++)k[e].addEventListener("click",function(){$([e])});for(let e=0;e<P.length;e++)P[e].addEventListener("click",function(){$([e])});document.getElementById("privacy").addEventListener("click",function(){window.open("https://www.tollbrothers.com/privacy","_blank")}),stateForms.querySelector("input[type = submit]").addEventListener("click",function(n){t=document.getElementById("stateFullname"),p=document.getElementById("contactRepForm"),function(){let e;if(t=document.getElementById("repFormFullname"),a=document.getElementById("repFormFirstname"),l=document.getElementById("repFormLastname"),(i=t.value).replace(/^\s*/,"").replace(/\s*$/,""),o="Unspecified",(e=(c=i.split(" ")).length)>1)for(var n=0;n<e;n++)if(0===n){if(""===c[n])continue;r=c[n].replace(/\s*$/,"")}else if(n+1<e){if(""===c[n])continue;r=r+" "+c[n].replace(/\s*$/,"")}else o=c[n].replace(/\s*$/,"");else r=i,o="Unspecified";a.value=r,l.value=o}(),function(t){if(function(e){let t;e=void 0!==e?p:document.querySelector(e);let a=document.querySelectorAll('[data-required="required"]');for(let e=0;e<a.length;e++)a[e].getAttribute("type"),!0!=a[e].disabled&&(""==(t=a[e].value.replace(/^\s\s*/g,"").replace(/\s\s*$/g,""))&&a[e].classList.add(u().invalid),(void 0!==a[e].attr&&"email"===a[e].attr||a[e].classList.contains("email"))&&(/^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/.test(t)?a[e].classList.remove("invalid"):(a[e].classList.add("invalid"),f=!1)),a[e].classList.contains("invalid")&&(f=!1))}(e),f){if(e=void 0!==e?e:document.getElementById("contactRepForm"),v||(v=!0,g.push({event:"lead_complete"})),m=new FormData(document.getElementById("contactRepForm")),"undefined"!=typeof ga&&"function"==typeof ga.getAll){let t=ga.getAll()[0],l=t.get("clientId");if(void 0!==l){m=m+"&gaClientId="+l;let t=document.createElement("input");t.setAttribute("type","hidden"),t.setAttribute("name","gaClientId"),t.setAttribute("value",l),e.append(t)}var a=t.get("userId");if(void 0!==a){m=m+"&gaUserId="+a;let t=document.createElement("input");t.setAttribute("type","hidden"),t.setAttribute("name","gaClientId"),t.setAttribute("value",a),e.append(t)}var n=t.get("trackingId");if(void 0!==n){m=m+"&gaTrackId="+n;let t=document.createElement("input");t.setAttribute("type","hidden"),t.setAttribute("name","gaClientId"),t.setAttribute("value",n),e.append(t)}}document.getElementById("contactRepForm").submit(),y.push("/thank-you")}}(0)})})(n))}(h=n.options[n.selectedIndex].value)},name:"state",id:"stateSelect",className:"".concat(u().required," ").concat(u().state),required:!0,children:[(0,n.jsx)("option",{value:"",title:"Select a state",children:"- Select state -"}),(0,n.jsx)("option",{value:"AZ",title:"Select Arizona",children:"Arizona"}),(0,n.jsx)("option",{value:"CA",title:"Select California",children:"California"}),(0,n.jsx)("option",{value:"CO",title:"Select Colorado",children:"Colorado"}),(0,n.jsx)("option",{value:"CT",title:"Select Connecticut",children:"Connecticut"}),(0,n.jsx)("option",{value:"DE",title:"Select Delaware",children:"Delaware"}),(0,n.jsx)("option",{value:"FL",title:"Select Florida",children:"Florida"}),(0,n.jsx)("option",{value:"GA",title:"Select Georgia",children:"Georgia"}),(0,n.jsx)("option",{value:"ID",title:"Select Idaho",children:"Idaho"}),(0,n.jsx)("option",{value:"MD",children:"Maryland"}),(0,n.jsx)("option",{value:"MA",title:"Select Massachusetts",children:"Massachusetts"}),(0,n.jsx)("option",{value:"MI",title:"Select Michigan",children:"Michigan"}),(0,n.jsx)("option",{value:"NV",title:"Select Nevada",children:"Nevada"}),(0,n.jsx)("option",{value:"NJ",title:"Select New Jersey",children:"New Jersey"}),(0,n.jsx)("option",{value:"NY",title:"Select New York",children:"New York"}),(0,n.jsx)("option",{value:"NC",title:"Select North Carolina",children:"North Carolina"}),(0,n.jsx)("option",{value:"OR",title:"Select Oregon",children:"Oregon"}),(0,n.jsx)("option",{value:"PA",title:"Select Pennsylvania",children:"Pennsylvania"}),(0,n.jsx)("option",{value:"SC",title:"Select South Carolina",children:"South Carolina"}),(0,n.jsx)("option",{value:"TN",title:"Select Tennessee",children:"Tennessee"}),(0,n.jsx)("option",{value:"TX",title:"Select Texas",children:"Texas"}),(0,n.jsx)("option",{value:"UT",title:"Select Utah",children:"Utah"}),(0,n.jsx)("option",{value:"VA",title:"Select Virginia",children:"Virginia"}),(0,n.jsx)("option",{value:"WA",title:"Select Washington",children:"Washington"})]})]}),(0,n.jsx)("div",{className:u().stateForms,id:"stateForms","aria-live":"polite"})]})})}function f(){let e,t,a,l,r,p,f,v,g;let y=!0,x=!1,b=[];(0,c.useEffect)(()=>{e=document.getElementById("contactForm"),t=document.getElementById("fullname"),a=document.getElementById("firstname"),l=document.getElementById("lastname")},[]);let j=(0,s.useRouter)();return(0,n.jsxs)("div",{children:[(0,n.jsxs)(i(),{children:[(0,n.jsx)("title",{children:"Toll Brothers Mortgage Company | Contact Us"}),(0,n.jsx)("meta",{name:"description",content:"Toll Brothers Mortgage Company: America's Luxury Home Lender"}),(0,n.jsx)("meta",{property:"og:title",content:"Toll Brothers Mortgage Company"}),(0,n.jsx)("meta",{property:"og:image",content:"https://cdn.tollbrothers.com/lifestyles/tollbrothersmortgage/og-image.jpg"}),(0,n.jsx)("meta",{property:"og:site_name",content:"Toll Brothers Mortgage Company"}),(0,n.jsx)("meta",{property:"og:description",content:"Toll Brothers Mortgage Company"}),(0,n.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,n.jsx)("meta",{name:"robots",content:"INDEX,FOLLOW,NOODP"})]}),(0,n.jsxs)("div",{className:u().wrapper,children:[(0,n.jsx)(d.Z,{textColor:"black",current:u().contact,role:"banner","aria-label":"Site header"}),(0,n.jsx)("div",{className:u().content,children:(0,n.jsxs)("main",{id:"mainContent",role:"main","aria-label":"Contact Toll Brothers Mortgage",children:[(0,n.jsxs)("div",{className:u().copy_wrapper,children:[(0,n.jsx)("h1",{children:"Contact Us"}
1),(0,n.jsx)("p",{children:"Thank you for your interest in Toll Brothers Mortgage Company. You can contact a mortgage professional in a specific state, or make a general inquiry. A representative will contact you shortly."})]}),(0,n.jsxs)("div",{className:u().form_wrapper,children:[(0,n.jsxs)("div",{className:u().left,children:[(0,n.jsx)("h3",{children:"Talk to a Mortgage Professional"}),(0,n.jsx)("p",{children:"Please choose a state from the drop-down menu to activate the form. If more than one mortgage professional is available, please select one from the list below."}),(0,n.jsx)(h,{}),(0,n.jsxs)("p",{children:[(0,n.jsx)("b",{children:"Toll Brothers Mortgage Company,"}),(0,n.jsx)("br",{}),"a subsidiary of Toll Brothers, Inc.",(0,n.jsx)("br",{}),"1140 Virginia Drive, Fort Washington, PA 19034"]})]}),(0,n.jsxs)("div",{className:u().right,children:[(0,n.jsx)("div",{id:"formErrors","aria-live":"assertive","aria-atomic":"true",style:{position:"absolute",left:"-9999px",height:"1px",width:"1px",overflow:"hidden"}}),(0,n.jsxs)("form",{action:"https://go.tollbrothers.com/GenericWebLead/processlead",method:"post",name:"contactForm",id:"contactForm",onSubmit:function(t){if(!function(e){let t;e=void 0!==e?e:document.getElementById("contactForm");let a=document.querySelectorAll('[data-required="required"]');for(let e=0;e<a.length;e++)a[e].getAttribute("type"),!0!=a[e].disabled&&(t=a[e].value.replace(/^\s\s*/g,"").replace(/\s\s*$/g,""),(void 0!==a[e].attr&&"email"===a[e].attr||a[e].classList.contains(u().email))&&(/^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/.test(t)?a[e].classList.remove(u().invalid):(a[e].classList.add(u().invalid),y=!1)),a[e].classList.contains(u().invalid)&&(y=!1))}(e=void 0!==e?e:document.getElementById("contactForm")),!1!=y){if(x||(x=!0,b.push({event:"lead_complete"})),g=new FormData(document.getElementById("contactForm")),"undefined"!=typeof ga&&"function"==typeof ga.getAll){let t=ga.getAll()[0],l=t.get("clientId");if(void 0!==l){g=g+"&gaClientId="+l;let t=document.createElement("input");t.setAttribute("type","hidden"),t.setAttribute("name","gaClientId"),t.setAttribute("value",l),e.append(t)}var a=t.get("userId");if(void 0!==a){g=g+"&gaUserId="+a;let t=document.createElement("input");t.setAttribute("type","hidden"),t.setAttribute("name","gaClientId"),t.setAttribute("value",a),e.append(t)}var n=t.get("trackingId");if(void 0!==n){g=g+"&gaTrackId="+n;let t=document.createElement("input");t.setAttribute("type","hidden"),t.setAttribute("name","gaClientId"),t.setAttribute("value",n),e.append(t)}}e.submit(),j.push("/thank-you")}},"aria-label":"General Mortgage Inquiry Form",role:"form",autoComplete:"on",children:[(0,n.jsx)("input",{type:"hidden",name:"formname",value:"TBIM01"}),(0,n.jsx)("h3",{children:"General Mortgage Inquiries"}),(0,n.jsxs)("fieldset",{children:[(0,n.jsxs)("label",{htmlFor:"fullname",children:["Full Name: ",(0,n.jsx)("span",{"aria-hidden":"true",children:"*"})]}),(0,n.jsx)("input",{type:"text",name:"fullname","data-required":"required","aria-label":"Full name",title:"Full Name",id:"fullname",required:!0,className:u().required,maxLength:"50"})]}),(0,n.jsxs)("fieldset",{className:u().hide,children:[(0,n.jsx)("label",{htmlFor:"firstname",children:"First Name"}),(0,n.jsx)("input",{type:"text",className:"".concat(u().js_input," ").concat(u().js_first," ").concat(u().is_focused),defaultValue:"","aria-label":"First name",id:"firstname",name:"firstname",maxLength:"50"})]}),(0,n.jsx)("fieldset",{className:u().hide,children:(0,n.jsxs)("div",{className:u().input_group,style:{display:"none !important"},children:[(0,n.jsxs)("label",{className:u().input_label,children:["Validate Email Address",(0,n.jsx)("span",{className:u().required_star,children:"*"})]}),(0,n.jsx)("input",{name:"val_email",className:u().val_email,type:"val_email",style:{display:"none !important"},autoComplete:"off",tabIndex:"-1",pattern:"\\S+@\\S+\\.\\S+"})]})}),(0,n.jsxs)("fieldset",{className:u().hide,children:[(0,n.jsx)("label",{htmlFor:"lastname",children:"Last Name"}),(0,n.jsx)("input",{type:"text",className:"".concat(u().js_input," ").concat(u().js_first," ").concat(u().is_focused),defaultValue:"","aria-label":"Last name",id:"lastname",name:"lastname",maxLength:"50"})]}),(0,n.jsxs)("fieldset",{children:[(0,n.jsxs)("label",{htmlFor:"phone",children:["Phone: ",(0,n.jsx)("span",{"aria-hidden":"true",children:"*"})]}),(0,n.jsx)("input",{type:"text",name:"phone","data-required":"required","aria-label":"Phone number",title:"Phone",className:u().required,id:"phone",required:!0,maxLength:"50"})]}),(0,n.jsxs)("fieldset",{children:[(0,n.jsxs)("label",{htmlFor:"email",children:["Email: ",(0,n.jsx)("span",{"aria-hidden":"true",children:"*"})]}),(0,n.jsx)("input",{type:"email",name:"email","data-required":"required",title:"Email","aria-label":"Email",id:"email",required:!0,className:"".concat(u().required," ").concat(u().email),maxLength:"150"})]}),(0,n.jsxs)("fieldset",{children:[(0,n.jsx)("label",{htmlFor:"comments",children:"Comments:"}),(0,n.jsx)("textarea",{name:"comments",id:"comments","aria-label":"Comments",title:"Comments",className:u().comments,maxLength:"300"})]}),(0,n.jsxs)("p",{className:u().privacy,children:["The information you provide will be used in accordance with our ",(0,n.jsx)(o(),{href:"https://www.tollbrothers.com/privacy",target:"_blank",rel:"noopener noreferrer",className:u().privacy_link,children:"Privacy Policy"}),"."]}),(0,n.jsx)("input",{onClick:function(e){let n;if((r=t.value).replace(/^\s*/,"").replace(/\s*$/,""),f="Unspecified",(n=(v=r.split(" ")).length)>1)for(var i=0;i<n;i++)if(0===i){if(""===v[i])continue;p=v[i].replace(/\s*$/,"")}else if(i+1<n){if(""===v[i])continue;p=p+" "+v[i].replace(/\s*$/,"")}else f=v[i].replace(/\s*$/,"");else p=r,f="Unspecified";a.value=p,l.value=f}
1,type:"submit",value:"Get In Touch","aria-label":"Submit contact form"})]})]})]}),(0,n.jsx)("div",{className:u().testimonial,children:(0,n.jsxs)("div",{className:u().copy_wrapper,children:[(0,n.jsx)("h5",{children:"client testimonial"}),(0,n.jsx)("p",{className:u().testimonial,children:"“It has been a pleasure working with Toll Brothers Mortgage. Everyone was knowledgeable, helpful, and kind. I truly felt I was in good hands. Thank you!”"})]})})]})}),(0,n.jsx)(m.Z,{role:"contentinfo","aria-label":"Site footer"})]})]})}},1365:function(e){e.exports={contact:"contact-us_contact__gJbL7",invalid:"contact-us_invalid__pshxE",wrapper:"contact-us_wrapper__G_vud",hide:"contact-us_hide__hxSzZ",rep:"contact-us_rep__xs1Q2",content:"contact-us_content__jwFAW",copy_wrapper:"contact-us_copy_wrapper__Uk_lo",form_wrapper:"contact-us_form_wrapper__klz0r",left:"contact-us_left__LObod",right:"contact-us_right___2oNf",select_wrapper:"contact-us_select_wrapper__4Vep8",selectStateLabel:"contact-us_selectStateLabel__p_kbs",privacy:"contact-us_privacy__JAcop",testimonial:"contact-us_testimonial__2_vj8",stateForms:"contact-us_stateForms__OWOmD"}}},function(e){e.O(0,[996,869,888,774,179],function(){return e(e.s=6008)}),_N_E=e.O()}]);

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.