1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9267],{17099:(e,r,a)=>{a.d(r,{A:()=>i});var s=a(15039),n=a.n(s),c=a(37876);let o=e=>{let{inline:r,small:a}=e,s=n()("loader-wrapper",{"loader-inline":r,small:a});return(0,c.jsx)("div",{className:s,children:(0,c.jsx)("div",{className:"loader"})})};o.defaultProps={inline:!1,small:!1};let i=o},19267:(e,r,a)=>{a.r(r),a.d(r,{default:()=>v});var s=a(66284),n=a(14232),c=a(91040),o=a(32131),i=a(41116),t=a.n(i),l=a(28443),m=a(78229),d=a(17099),h=a(27454),f=a.n(h),x=a(98515),u=a(37876);let p=e=>{let{handleSubmit:r,handleInputChange:a,handleCvFileChange:s,preFormText:c,loading:o}=e,{GOOGLE_RECAPTCHA_SITE_KEY:i}=(0,x.n)(),t=(0,n.useRef)(),l=(0,n.useRef)(),{0:h,1:p}=(0,n.useState)(0),{0:j,1:b}=(0,n.useState)(""),g=()=>{p(0)};return(0,u.jsxs)(u.Fragment,{children:[c&&(0,u.jsx)("div",{className:"cm-form-pre-form-wrapper",children:(0,u.jsx)("p",{className:"cm-form-pre-text",children:f()(c)})}),(0,u.jsx)("form",{className:"cm-form",onSubmit:e=>{e.preventDefault(),1===h?(b(""),r(e),p(0),l.current.reset(),t.current.reset()):b("Please check the reCAPTCHA!")},ref:t,children:(0,u.jsxs)("div",{className:"cm-form-inner cm-form-inner-wide",children:[(0,u.jsx)("h3",{children:"Your details"}),(0,u.jsxs)("div",{className:"cm-form-row",children:[(0,u.jsx)("div",{className:"cm-form-half cm-form-half-not-mobile",children:(0,u.jsxs)("label",{htmlFor:"careers-form-name",children:["Name*",(0,u.jsx)("input",{type:"text",id:"careers-form-name",name:"careers-form-name",maxLength:"255",onChange:a,required:!0})]})}),(0,u.jsx)("div",{className:"cm-form-half cm-form-half-not-mobile",children:(0,u.jsxs)("label",{htmlFor:"careers-form-address",children:["Address",(0,u.jsx)("textarea",{id:"careers-form-address",name:"careers-form-address",rows:"4",onChange:a})]})})]}),(0,u.jsxs)("div",{className:"cm-form-row",children:[(0,u.jsx)("div",{className:"cm-form-half cm-form-half-not-mobile",children:(0,u.jsxs)("label",{htmlFor:"careers-form-email-address",children:["Email address*",(0,u.jsx)("input",{type:"email",id:"careers-form-email-address",name:"careers-form-email-address",maxLength:"200",onChange:a,required:!0})]})}),(0,u.jsx)("div",{className:"cm-form-half cm-form-half-not-mobile",children:(0,u.jsxs)("label",{htmlFor:"careers-form-telephone",children:["Telephone*",(0,u.jsx)("input",{type:"text",id:"careers-form-telephone",name:"careers-form-telephone",maxLength:"80",onChange:a,required:!0})]})})]}),(0,u.jsxs)("div",{className:"cm-form-row",children:[(0,u.jsx)("div",{className:"cm-form-third cm-form-third-not-mobile",children:(0,u.jsxs)("label",{htmlFor:"careers-form-notice-period",children:["Notice period / Date of availability*",(0,u.jsx)("input",{type:"text",id:"careers-form-notice-period",name:"careers-form-notice-period",onChange:a,required:!0})]})}),(0,u.jsx)("div",{className:"cm-form-third cm-form-third-not-mobile",children:(0,u.jsxs)("label",{htmlFor:"careers-form-current-salary",children:["Current salary",(0,u.jsx)("input",{type:"text",id:"careers-form-current-salary",name:"careers-form-current-salary",onChange:a})]})}),(0,u.jsx)("div",{className:"cm-form-third cm-form-half-not-mobile",children:(0,u.jsxs)("label",{htmlFor:"careers-form-desired-salary",children:["Desired salary",(0,u.jsx)("input",{type:"text",id:"careers-form-desired-salary",name:"careers-form-desired-salary",onChange:a})]})})]}),(0,u.jsx)("div",{className:"cm-form-row",children:(0,u.jsxs)("label",{htmlFor:"careers-form-current-benefits",children:["Current benefits",(0,u.jsx)("input",{type:"text",id:"careers-form-current-benefits",name:"careers-form-current-benefits",onChange:a})]})}),(0,u.jsx)("h3",{children:"Areas of interest"}),(0,u.jsxs)("div",{className:"cm-form-row",children:[(0,u.jsx)("div",{className:"cm-form-half cm-form-half-not-mobile",children:(0,u.jsxs)("div",{className:"cm-form-row",children:[(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-stud",name:"careers-form-interest-stud",value:"Stud",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-stud",children:"Stud"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-riding",name:"careers-form-interest-riding",value:"Farm",onCh
1ange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-riding",children:"Riding"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-farm",name:"careers-form-interest-farm",value:"Farm",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-farm",children:"Farm"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-grounds-gardening",name:"careers-form-interest-grounds-gardening",value:"Grounds / gardening",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-grounds-gardening",children:"Grounds / gardening"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-stallions",name:"careers-form-interest-stallions",value:"Stallions",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-stallions",children:"Stallions"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-maintenance",name:"careers-form-interest-maintenance",value:"Maintenance",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-maintenance",children:"Maintenance"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-broodmares",name:"careers-form-interest-broodmares",value:"Broodmares",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-broodmares",children:"Broodmares"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-nightwatch",name:"careers-form-interest-nightwatch",value:"Nightwatch",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-nightwatch",children:"Nightwatch"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-foaling-foals",name:"careers-form-interest-foaling-foals",value:"Foaling / foals",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-foaling-foals",children:"Foaling / foals"})]})})]})}),(0,u.jsx)("div",{className:"cm-form-half cm-form-half-not-mobile",children:(0,u.jsxs)("div",{className:"cm-form-row",children:[(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-office",name:"careers-form-interest-office",value:"Office",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-office",children:"Office"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-nominations",name:"careers-form-interest-nominations",value:"Nominations",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-nominations",children:"Nominations"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-finance",name:"careers-form-interest-finance",value:"Finance",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-finance",children:"Finance"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-marketing",name:"careers-form-interest-marketing",value:"Marketing",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-marketing",children:"Marketing"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-stud-office",name:"careers-form-interest-stud-office",value:"Stud Office",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-stud-office",children:"Stud Office"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-hr",name:"careers-form-interest-hr",value:"HR",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-hr",children:"HR"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-racing",name:"careers-form-interest-racing",value:"Racing",onCh
1ange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-racing",children:"Racing"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-interest-property",name:"careers-form-interest-property",value:"Property",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-interest-property",children:"Property"})]})})]})})]}),(0,u.jsx)("h3",{children:"Location"}),(0,u.jsxs)("div",{className:"cm-form-row",children:[(0,u.jsx)("div",{className:"cm-form-half cm-form-half-not-mobile",children:(0,u.jsxs)("div",{className:"cm-form-row",children:[(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-locations-newmarket-farms",name:"careers-form-locations-newmarket-farms",value:"[email protected]",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-locations-newmarket-farms",children:"Newmarket Farms"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-locations-escourt-estate-gloucestershire",name:"careers-form-locations-escourt-estate-gloucestershire",value:"[email protected]",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-locations-escourt-estate-gloucestershire",children:"Escourt Estate, Gloucestershire"})]})})]})}),(0,u.jsx)("div",{className:"cm-form-half cm-form-half-not-mobile",children:(0,u.jsxs)("div",{className:"cm-form-row",children:[(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-locations-ireland",name:"careers-form-locations-ireland",value:"[email protected]",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-locations-ireland",children:"Ireland"})]})}),(0,u.jsx)("div",{className:"cm-form-half",children:(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-locations-usa",name:"careers-form-locations-usa",value:"[email protected]",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-locations-usa",children:"USA"})]})})]})})]}),(0,u.jsxs)("label",{htmlFor:"careers-form-covering-letter",children:[(0,u.jsx)("h3",{children:"Covering letter"}),(0,u.jsx)("textarea",{id:"careers-form-covering-letter",name:"careers-form-overing-letter",rows:"6",onChange:a,maxLength:"750",placeholder:"Max 750 words"})]}),(0,u.jsxs)("label",{htmlFor:"careers-form-upload-cv",children:[(0,u.jsx)("h3",{children:"Upload CV / Resume"}),(0,u.jsx)("input",{type:"file",id:"careers-form-upload-cv",name:"careers-form-upload-cv",accept:"application/pdf",onChange:s})]}),(0,u.jsxs)("div",{className:"cm-form-row",style:{marginBottom:20},children:[(0,u.jsx)(m.A,{sitekey:i,onChange:()=>{p(1)},onExpired:g,onErrored:g,ref:l}),j&&(0,u.jsx)("div",{className:"cm-form-feedback cm-form-feedback-recaptcha error",children:j})]}),(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"checkbox",id:"careers-form-gdpr",name:"careers-form-gdpr",value:"1",onChange:a,required:!0}),(0,u.jsx)("label",{htmlFor:"careers-form-gdpr",style:{fontSize:"14px"},children:(0,u.jsxs)("div",{children:["I consent to Juddmonte storing my submitted information so they can respond to my enquiry. See our"," ",(0,u.jsx)("a",{href:"/privacy-policies/",target:"_blank",children:"Privacy Policy"}),"*"]})})]}),(0,u.jsx)("p",{style:{marginBottom:15},children:"Please select how long would you want Juddmonte to retain your information on file"}),(0,u.jsxs)("div",{className:"cm-form-inline-wrap auto-width",children:[(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"radio",id:"careers-form-info-on-file-6-months",name:"careers-form-info-on-file",value:"6 months",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-info-on-file-6-months",children:"6 months"})]}),(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"radio",id:"careers-form-info-on-file-12-months",name:"careers-form-info-on-file",value:"12 months",onChange:a}),(0,u.jsx)("label",{htmlFor:"careers-form-info-on-file-12-months",children:"12 months"})]}),(0,u.jsxs)("div",{className:"checkbox-wrap",children:[(0,u.jsx)("input",{type:"radio",id:"careers-form-info-on-file-no-limit",name:"careers-form-info-on-file",value:"No limit",onChange:a,defaultChecked:!0}),(0,u.jsx)("label",{htmlFor:"careers-form-info-on-file-no-limit",children:"No limit"})]})]}),(0,u.jsxs)("div",{className:"cm-form-submit-button",style:{marginTop:15,marginBottom:15,display:"flex",justifyContent:"center"},children:[(0,u.jsx)("input",{className:"button",style:{background:"white",paddingLeft:50,paddingRight:50},type:"reset",id:"btnReset",value:"Reset"}),(0,u.jsx)("input",{className:"button",style:{paddingLeft:50,paddingRight:50},type:"submit",id:"btnSubmit",value:"Submit"}),o&&(0,u.jsx)(d.A,{inline:!0})]}),(0,u.jsx)("div",{children:"*Denotes mandatory field"})]})})]})};function j(e,r){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);r&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),a.push.apply(a,s)}return a}function b(e){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};
1r%2?j(Object(a),!0).forEach(function(r){(0,s.A)(e,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):j(Object(a)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))})}return e}p.defaultProps={handleSubmit:()=>null,handleInputChange:()=>null,handleCvFileChange:()=>null,preFormText:"",loading:!1};let g="careers_form_",v=e=>{let{getModuleField:r,module:a}=e,{CAREERS_FORM_SEND_ENDPOINT:s}=(0,x.n)(),{0:i,1:m}=(0,n.useState)({}),{0:d,1:h}=(0,n.useState)(null),{0:f,1:j}=(0,n.useState)(!1),{0:v,1:N}=(0,n.useState)(""),{0:y,1:k}=(0,n.useState)(!1),w=r(a,g,"heading"),C=r(a,g,"pre_form_text");function F(){k(!1)}return(0,u.jsx)(l.A,{background:"white",heading:w,children:(0,u.jsxs)("div",{className:"cm-form-wrapper",children:[(0,u.jsx)(p,{handleSubmit:e=>{if(e.preventDefault(),(0,o.Im)(i))return;j(!0);let r=new FormData;Object.keys(i).forEach(e=>r.append(e,i[e])),r.append("careers-form-upload-cv",d),c.A.post(s,r,{headers:{"content-type":"multipart/form-data"}}).then(e=>{e.data&&"Queued. Thank you."===e.data?N("Your enquiry was submitted successfully!"):N("There was an error submitting the form, please try again later."),j(!1),k(!0)}).catch(e=>{j(!1),N("There was an error submitting the form, please try again later."),k(!0)})},handleInputChange:e=>{m(b(b({},i),{},{[e.target.name]:e.target.value}))},handleCvFileChange:e=>h(e.target.files[0]),preFormText:C,loading:f,feedback:v,openModal:function(){k(!0)}}),(0,u.jsx)(t(),{isOpen:y,onRequestClose:F,style:{overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.66)",zIndex:"9999"},content:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",border:"none",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"0",outline:"none",padding:"20px",paddingTop:"25px",width:"300px",height:"180px"}},children:(0,u.jsxs)("div",{children:[(0,u.jsx)("p",{style:{marginBottom:30},children:v}),(0,u.jsx)("div",{className:"cm-form",children:(0,u.jsx)("button",{className:"button",type:"button",style:{color:"white",width:"100%",marginTop:"auto"},onClick:F,children:"Okay"})})]})})]})})}}}]);
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.