PageSourceSearch

https://www.grandbanks.com/_next/static/chunks/9388-a32a2518a4bbc5b8.js?dpl=dpl_Dryz6unmmww41x9UAa4VoTdrQjbv

js grandbanks.com collected 2026-09-25 18:42:31 UTC 8,130 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9388],{9388:function(e,t,a){a.r(t);var n=a(57437),l=a(2265),s=a(91390),i=a(27648),o=a(70738),r=a(32065),u=a(99376),c=a(69806),d=a(38328),m=a(40257);t.default=function(e){let{ip:t="",heading:a=!0,bg:p=""}=e,x=(0,s.b)(),y=(0,u.usePathname)(),[h,j]=(0,l.useState)(!1),[f,v]=(0,l.useState)(!1),[g,b]=(0,l.useState)(""),[w,N]=(0,l.useState)(!1),_=(0,l.useRef)(null),T=(0,l.useRef)(null),[S,I]=(0,l.useState)(null);(0,l.useEffect)(()=>{!async function(){try{let e=await fetch("".concat(c.v.publicBaseUrl,"/api/geo"));if(!e.ok)throw Error("Failed to fetch geolocation");let t=await e.json();t&&I(t)}catch(e){console.log(e.message)}}()},[]);let{executeRecaptcha:E}=(0,r.CL)(),k=async e=>{e.preventDefault();let t=await E("form_submit");j(!0);let a=Object.fromEntries(new FormData(e.target).entries());if(""!==a.utm_input){console.log("FORM POST ERROR"),b("There has been an error submitting your form, please try again later."),N(!0),j(!1),v(!0),T.current.reset();return}var n={submittedAt:Date.now(),fields:[{objectTypeId:"0-1",name:"firstname",value:a.firstname},{objectTypeId:"0-1",name:"lastname",value:a.lastname},{objectTypeId:"0-1",name:"phone",value:a.phone},{objectTypeId:"0-1",name:"email",value:a.email},{objectTypeId:"0-1",name:"country",value:a.country},{objectTypeId:"0-1",name:"geo_country_gb",value:(null==S?void 0:S.country)||""},{objectTypeId:"0-1",name:"geo_countryregion_gb",value:(null==S?void 0:S.countryRegion)||""},{objectTypeId:"0-1",name:"geo_city_gb",value:(null==S?void 0:S.city)||""},{objectTypeId:"0-1",name:"utm_source",value:a.utm_source},{objectTypeId:"0-1",name:"utm_medium",value:a.utm_medium},{objectTypeId:"0-1",name:"utm_campaign",value:a.utm_campaign}],context:{hutk:"",pageUri:m.env.BASE_PATH+"/"+y,pageName:y,ipAddress:(null==S?void 0:S.ip)||null},legalConsentOptions:{consent:{consentToProcess:!0,text:"I agree to allow Grand Banks to store and process my personal data.",communications:[{value:!0,subscriptionTypeId:999,text:"I agree to receive marketing communications from Grand Banks."}]}}};let l=await (0,o.Z)(JSON.stringify(n),t,"newsletter");(null==l?void 0:l.status)!=="error"?(b("Thank you for joining our mailing list! We will keep you up to date on our News, Events and Models."),N(!1)):(b("There has been an error submitting your form, please try again later."),N(!0)),j(!1),v(!0),T.current.reset()},C={marginBottom:"2px",display:"block",color:"black"},F={padding:"8px",margin:"4px 0",borderBottom:"1px solid #232629",borderColor:"#232629",width:"100%",paddingLeft:"1",backgroundColor:"transparent"},A={...F,height:"35px"},L={marginBottom:"20px",fontSize:"12px"};return(0,n.jsx)("form",{id:"newsletter",ref:T,onSubmit:e=>k(e),className:"max-w-[1200px] mx-auto",children:(0,n.jsxs)("div",{className:"".concat(a?"":"pt-10"," mx-[30px] md:ml-[100px] md:mr-20 ").concat(h?"pointer-events-none opacity-50":""," ").concat(p?(0,d.Y7)(p):""),children:[a&&(0,n.jsx)("div",{className:"flex flex-col justify-center w-full",children:(0,n.jsx)("h2",{className:"text-center text-[24px] md:text-[30px] lg:text-[35px] xl:text-[40px] font-extralight mb-6 uppercase",children:"SUBSCRIBE TO RECEIVE THE LATEST NEWS, EVENTS, AND MODEL UPDATES"})}),(0,n.jsxs)("div",{className:"flex flex-col md:flex-row w-full justify-between md:gap-8 ",children:[(0,n.jsxs)("div",{style:L,className:"md:w-[80%] ",children:[(0,n.jsx)("label",{htmlFor:"firstname",style:C,className:"w-[80%]"}),(0,n.jsx)("input",{ref:_,id:"firstname",maxLength:"40",name:"firstname",size:"20",type:"text",style:F,required:!0,placeholder:"First Name*",tabIndex:0})]}),(0,n.jsxs)("div",{style:L,className:"md:w-[80%] ",children:[(0,n.jsx)("label",{htmlFor:"lastname",style:C,className:"w-[80%]"}),(0,n.jsx)("input",{id:"lastname",maxLength:"80",name:"lastname",size:"20",type:"text",style:F,required:!0,placeholder:"Last Name*",tabIndex:0})]})]}),(0,n.jsxs)("div",{className:"flex flex-col md:flex-row w-full justify-between md:gap-8",children:[(0,n.jsxs)("div",{style:L,className:"md:w-[80%] ",children:[(0,n.jsx)("label",{htmlFor:"phone",style:C}),(0,n.jsx)("input",{id:"phone",maxLength:"40",name:"phone",size:"20",type:"text",style:F,required:!0,placeholder:"Phone*",tabIndex:0})]}),(0,n.jsxs)("div",{style:L,className:"md:w-[80%] ",children:[(0,n.jsx)("label",{htmlFor:"email",style:C}),(0,n.jsx)("input",{id:"email",maxLength:"80",name:"email",size:"20",type:"email",pattern:"[^@\\s]+@[^@\\s]+\\.[^@\\s]+",title:"Please enter a valid email address (must include @ and a domain, e.g. [email protected])",style:F,required:!0,placeholder:"Email*",tabIndex:0})]})]}),(0,n.jsx)("div",{className:"flex flex-col md:flex-row w-full justify-between md:gap-8 overflow-hidden ".concat(x.contact.
1isContactLong?"h-0":"h-auto"),children:(0,n.jsxs)("div",{style:L,className:"md:w-full",children:[(0,n.jsx)("label",{htmlFor:"country",style:C}),(0,n.jsxs)("select",{name:"country",className:"countries",id:"country",required:!0,style:A,defaultValue:"",children:[(0,n.jsx)("option",{disabled:!0,value:"",children:"Country"}),(0,n.jsx)("option",{value:"Australia",children:"Australia"}),(0,n.jsx)("option",{value:"Canada",children:"Canada"}),(0,n.jsx)("option",{value:"Denmark",children:"Denmark"}),(0,n.jsx)("option",{value:"France",children:"France"}),(0,n.jsx)("option",{value:"Germany",children:"Germany"}),(0,n.jsx)("option",{value:"Greece",children:"Greece"}),(0,n.jsx)("option",{value:"Italy",children:"Italy"}),(0,n.jsx)("option",{value:"Japan",children:"Japan"}),(0,n.jsx)("option",{value:"Malaysia",children:"Malaysia"}),(0,n.jsx)("option",{value:"Mexico",children:"Mexico"}),(0,n.jsx)("option",{value:"Netherlands",children:"Netherlands"}),(0,n.jsx)("option",{value:"Norway",children:"Norway"}),(0,n.jsx)("option",{value:"New Zealand",children:"New Zealand"}),(0,n.jsx)("option",{value:"Portugal",children:"Portugal"}),(0,n.jsx)("option",{value:"Singapore",children:"Singapore"}),(0,n.jsx)("option",{value:"Switzerland",children:"Switzerland"}),(0,n.jsx)("option",{value:"Thailand",children:"Thailand"}),(0,n.jsx)("option",{value:"Turkey",children:"Turkey"}),(0,n.jsx)("option",{value:"United Kingdom",children:"United Kingdom"}),(0,n.jsx)("option",{value:"USA",children:"USA"})]})]})}),(0,n.jsx)("div",{style:L,children:(0,n.jsxs)("p",{className:"text-xs mt-3",children:["Grand Banks and its affiliates needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our"," ",(0,n.jsx)(i.default,{href:"/privacy-policy",children:"Privacy Policy."})]})}),(0,n.jsxs)("div",{style:L,className:"hidden",children:[(0,n.jsx)("label",{htmlFor:"lead_source",style:C,children:"Lead Source"}),(0,n.jsx)("input",{id:"lead_source",name:"lead_source",type:"text",defaultValue:"Website",style:A}),(0,n.jsx)("input",{id:"utm_source",name:"utm_source",type:"text",defaultValue:x.utm.utmTags.utmSource,style:A}),(0,n.jsx)("input",{id:"utm_medium",name:"utm_medium",type:"text",defaultValue:x.utm.utmTags.utmMedium,style:A}),(0,n.jsx)("input",{id:"utm_campaign",name:"utm_campaign",type:"text",defaultValue:x.utm.utmTags.utmCampaign,style:A}),(0,n.jsx)("input",{id:"utm_input",name:"utm_input",type:"text",style:A})]}),(0,n.jsx)("div",{className:"flex w-full justify-center items-center mb-[20px]",children:(0,n.jsx)("input",{type:"submit",value:"SEND",className:"group uppercase text-sm mt-5\n                min-w-[290px] max-w-[290px] h-10 border rounded-md \n                inline-flex justify-center items-center \n                transition duration-500 [&_*]:transition [&_*]:duration-500\n                px-16 whitespace-nowrap ".concat((0,d.lN)(p||"white")," ").concat((0,d.xo)(p||"white"))})}),f&&(0,n.jsx)("div",{className:"flex w-full justify-center items-center text-center mt-10 mb-5 p-2 border ".concat(w?"border-orange-400 bg-orange-100 text-orange-400":"border-green-400 bg-green-100 text-green-400"),children:(0,n.jsx)("div",{children:g})})]})})}}}]);

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.