PageSourceSearch

https://www.fetech.co.uk/_next/static/chunks/pages/supplier-enquiry-79dec9d1f3e71b0f.js

js fetech.co.uk collected 2026-10-08 10:45:48 UTC 13,344 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152],{88005:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/supplier-enquiry",function(){return t(98361)}])},55978:function(e,r,t){"use strict";t.d(r,{V:function(){return m}});var i=t(26042),n=t(69396),a=t(99534),l=t(35944),s=t(23100),o=t(36979),$=t(76684),u=t(31391),d=t(10415),c=t(74906),m=function(e){var r=e.formattingStyles,t=e.largerH1,m=(0,a.Z)(e,["formattingStyles","largerH1"]);return(0,l.tZ)(s.xu,{as:"section",className:"hero",bg:"brand",color:"white",pt:{base:"10px",md:"52px"},pb:{base:"20px",md:"70px"},children:(0,l.tZ)(o.W,{maxW:"maxPageContentWidth",children:(0,l.BX)(d.H,{children:[(0,l.BX)($.K,{flexDir:{lg:"row"},justifyContent:"space-between",alignItems:"space-evenly",spacing:0,columnGap:16,children:[(0,l.tZ)(s.xu,{children:(0,l.BX)(s.xu,{maxW:m.textMaxW||755,children:[(0,l.tZ)(s.xu,{as:"h1",textStyle:t?"hero-title--large":"hero-title",children:m.title}),(0,l.tZ)(s.xu,(0,n.Z)((0,i.Z)({pt:{base:"20px",md:"32px"}},(0,c.c)(m.text,void 0===r?{h2:{textStyle:"hero-search-title",mb:4},".button":{display:"inline-block",bg:"secondary.500",color:"white",mb:6,py:2,px:4,fontWeight:600},".mobile":{display:{base:"inline-block",fullNav:"none"}}}:r)),{fontWeight:"400",fontSize:{base:16},lineHeight:{base:1.5,md:1.7}}))]})}),m.image?(0,l.tZ)(s.xu,{display:{base:"none",md:"block"},maxW:m.imageMaxW||320,children:(0,l.tZ)(u.E,{mt:{md:-2},src:m.image,srcSet:"\n                . 767w,\n                ".concat(m.image," 768w")})}):null]}),(0,l.tZ)(l.HY,{children:m.children})]})})})}},78924:function(e,r,t){"use strict";t.d(r,{H:function(){return i}});var i=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/},98361:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSG:function(){return W},default:function(){return E}});var i=t(35944),n=t(92778),a=t(40884),l=t(47568),s=t(20414),o=t(36979),$=t(55978),u=t(26042),d=t(69396),c=t(41664),m=t.n(c),h=t(67294),_=t(87536),g=t(82504),f=t(31708),v=t(70654),p=t(96177),Z=t(28129),b=t(82953),x=t(60378),y=t(76684),N=t(15058),w=t(41753),q=t(7754),I=t(29222),k=t(78924),C={firstName:"",lastName:"",contactNumber:"",email:"",jobTitle:"",organisation:"",interests:[],message:"",gdpr:!1},B=function(e){var r,t,n,a,$,c,k,B,X=e.onSubmit,T=e.initialValues,j=(0,h.useState)(!1),W=j[0],E=j[1],H=(0,_.cI)({defaultValues:void 0===T?C:T}),P=H.reset,M=H.register,J=H.handleSubmit,A=H.watch,F=H.control,G=H.formState,O=G.errors,R=G.isSubmitting;if(W)return(0,i.BX)(o.W,{maxW:"800",textAlign:"center",mt:{base:10,md:120},children:[(0,i.tZ)(g.m.h3,{textStyle:"section-title",children:"Thanks for registering your interest!"}),(0,i.BX)(o.W,{maxW:"700",children:[(0,i.tZ)(g.m.p,{mt:4,children:"One of the FE Tech team will be in touch with you shortly, or if you ticked to be put in touch with one of our trusted suppliers, they will contact you directly."}),(0,i.BX)(g.m.p,{mt:4,children:["Stay up to date with all our latest news"," ",(0,i.tZ)(m(),{href:"/news",passHref:!0,children:(0,i.tZ)(g.m.a,{color:"secondary.500",transition:"color 150ms ease-in-out",_hover:{color:"primary.500"},children:"here"})}),"."]})]})]});var V,L=!!A("interests").find(function(e){return 5===JSON.parse(e).id});return(0,i.BX)("form",{onSubmit:J((V=(0,l.Z)(function(e){var r;return(0,s.__generator)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,X(e)];case 1:return t.sent(),E(!0),P(),[3,3];case 2:return r=t.sent(),[3,3];case 3:return[2]}})}),function(e){return V.apply(this,arguments)})),noValidate:!0,children:[(0,i.BX)(f.r,{rowGap:8,columnGap:{sm:8,md:"60px"},gridTemplateColumns:{base:"1fr",sm:"1fr 1fr"},mt:{base:8,md:"52px"},children:[(0,i.BX)(v.NI,{isRequired:!!S.firstName.required,isInvalid:Boolean(null==O?void 0:O.firstName),children:[(0,i.tZ)(p.l,{children:"First Name"}),(0,i.tZ)(Z.I,(0,d.Z)((0,u.Z)({},M("firstName",S.firstName)),{bg:"white"})),(0,i.tZ)(b.J1,{children:null==O?void 0:null===(r=O.firstName)||void 0===r?void 0:r.message})]}),(0,i.BX)(v.NI,{isRequired:!!S.lastName.required,isInvalid:Boolean(null==O?void 0:O.lastName),children:[(0,i.tZ)(p.l,{children:"Last Name"}),(0,i.tZ)(Z.I,(0,d.Z)((0,u.Z)({},M("lastName",S.lastName)),{bg:"white"})),(0,i.tZ)(b.J1,{children:null==O?void 0:null===(t=O.lastName)||void 0===t?void 0:t.message})]}),(0,i.BX)(v.NI,{isRequired:!!S.contactNumber.required,isInvalid:Boolean(null==O?void 0:O.contactNumber),children:[(0,i.tZ)(p.l,{children:"Contact Number"}),(0,i.tZ)(Z.I,(0,d.Z)((0,u.Z)({},M("contactNumber",S.contactNumber)),{bg:"white"})),(0,i.tZ)(b.J1,{children:null==O?void 0:null===(n=O.contactNumber)||void 0===n?void 0:n.message})]}),(0,i.BX)(v.NI,{isRequired:!!S.email.required,isInvalid:Boolean(null==O?void 0:O.email),children:[(0,i.tZ)(p.l,{children:"Email Address"}),(0,i.tZ)(Z.I,(0,d.Z)((0,u.Z)({type:"email"},M("email",S.email)),{bg:"white"})),(0,i.tZ)(b.J1,{children:null==O?void 0:null===(a=O.email)||void 0===a?void 0:a.message})]}),(0,i.BX)(v.NI,{isRequired:!!S.jobTitle.required,isInvalid:Boolean(null==O?void 0:O.jobTitle),children:[(0,i.tZ)(p.l,{children:"Job Title"}),(0,i.tZ)(Z.I,(0,d.Z)((0,u.Z)({},M("jobTitle",S.jobTitle)),{bg:"white"})),(0,i.tZ)(b.J1,{children:null==O?void 0:null===($=O.jobTitle)||void 0===$?void 0:$.message})]}),(0,i.BX)(v.NI,{isRequired:!!S.organisation.required,isInvalid:Boolean(null==O?void 0:O.organisation),children:[(0,i.tZ)(p.l,{children:"Organisation"}),(0,i.tZ)(Z.I,(0,d.Z)((0,u.Z)({},M("organisation",S.organisation)),{bg:"white"})),(0,i.tZ)(b.J1,{children:null==O?void 0:null===(c=O.organisation)||void 0===c?void 0:c.message})]}),(0,i.tZ)(_.Qr,{control:F,name:"interests",defaultValue:[],rules:(0,d.Z)((0,u.Z)({},S.interests),{deps:["message"]}),render:function(e){var r,t=e.field;return(0,i.BX)(v.NI,{isRequired:!!S.interests.required,isInvalid:Boolean(null==O?void 0:O.interests),gridColumn:"1 / -1",children:[(0,i.BX)("fieldset",{children:[(0,i.tZ)(p.l,{as:"legend",children:"What are you interested in?"}),(0,i.tZ)(x.c,{value:t.value,onChange:t.onChange,children:(0,i.tZ)(y.K,{gap:2,children:["An FE Tech Subscription","Consultancy Packages for Digital Technology Transformation","An edtech product/solution","A special offer","Becoming a member","Strategic work with FE Tech","Other",].map(function(e,r){var t=JSON.stringify({id:r+1,value:e});return(0,i.tZ)(N.X,{value:t,children:e},e)})})})]}),(0,i.tZ)(b.J1,{children:null==O?void 0:null===(r=O.interests)||void 0===r?void 0:r.message})]})}}),(0,i.BX)(v.NI,{isRequired:!!S.message.required||L,isInvalid:Boolean(null==O?void 0:O.message),gridColumn:"1 / -1",children:[(0,i.tZ)(p.l,{children:"How can we help you?"}),(0,i.tZ)(w.g,(0,d.Z)((0,u.Z)({},M("message",{required:{value:!!S.message.required||L,message:"Please describe what you are interested in"}})),{bg:"white"})),(0,i.tZ)(b.J1,{children:null==O?void 0:null===(k=O.message)||void 0===k?void 0:k.message})]}),(0,i.BX)(v.NI,{isInvalid:Boolean(null==O?void 0:O.gdpr),gridColumn:"1 / -1",children:[(0,i.BX)(N.X,(0,d.Z)((0,u.Z)({},M("gdpr",S.gdpr)),{isChecked:A("gdpr"),children:["By completing this form you are agreeing to our GDPR policy located in the"," ",(0,i.tZ)(m(),{href:"/terms",passHref:!0,children:(0,i.tZ)(g.m.a,{color:"secondary.500",transition:"color 150ms ease-in-out",_hover:{color:"primary.500"},children:"Terms & Conditions"})})]})),(0,i.tZ)(b.J1,{children:null==O?void 0:null===(B=O.gdpr)||void 0===B?void 0:B.message})]})]}),(0,i.tZ)(q.M,{mt:{base:8,md:"60px"},children:(0,i.tZ)(I.z,{type:"submit",isLoading:R,w:"fit-content",minW:180,children:"Submit"})})]})},S={firstName:{required:"First name is required"},lastName:{required:"Last name is required"},contactNumber:{required:"Contact number is required"},email:{required:"Email is required",pattern:{value:k.H,message:"Invalid email address"}},jobTitle:{required:"Job Title is required"},organisation:{required:"Organisation is required"},interests:{required:"Please let us know your interest"},message:{},gdpr:{required:"Please accept the GDPR terms"}},X=t(77816),T=t(59531),j=function(e){var r,t=e.content,n=(0,T.e)();return(0,i.BX)(i.HY,{children:[(0,i.tZ)($.V,{title:t.heroHeading,text:t.heroText,textMaxW:550,imageMaxW:420}),(0,i.tZ)(o.W,{as:"section",maxW:"maxPageContentWidth",mt:{base:8,md:16},mb:{base:16,md:"100px"},children:(0,i.tZ)(B,{onSubmit:(r=(0,l.Z)(function(e){var r,t,i,a;return(0,s.__generator)(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,(0,X.QC)(e)];case 1:return l.sent(),[3,3];case 2:return(a=null==(r=l.sent())?void 0:null===(t=r.response)||void 0===t?void 0:null===(i=t.data)||void 0===i?void 0:i.validation_messages)&&Object.values(a).forEac
1h(function(e){n.error(e)}),[2,Promise.reject(r)];case 3:return[2]}})}),function(e){return r.apply(this,arguments)})})})]})},W=!0,E=function(e){return(0,i.BX)(i.HY,{children:[(0,i.tZ)(n.F,{pageTitle:e.content.heroHeading}),(0,i.tZ)(a.H,{navigationProps:e.navigationProps,footerProps:e.footerProps,children:(0,i.tZ)(j,{content:e.content})})]})}},60378:function(e,r,t){"use strict";t.d(r,{c:function(){return u}});var i=t(5478),n=t(35155),a=t(61942),l=t(25432),s=t(67294);function o(e){return e&&(0,l.Kn)(e)&&(0,l.Kn)(e.target)}var $=t(85893);function u(e){let{colorScheme:r,size:t,variant:l,children:u,isDisabled:d}=e,{value:c,onChange:m}=function(e={}){let{defaultValue:r,value:t,onChange:i,isDisabled:l,isNative:$}=e,u=(0,n.W)(i),[d,c]=(0,a.T)({value:t,defaultValue:r||[],onChange:u}),m=(0,s.useCallback)(e=>{if(!d)return;let r=o(e)?e.target.checked:!d.includes(e),t=o(e)?e.target.value:e,i=r?[...d,t]:d.filter(e=>String(e)!==String(t));c(i)},[c,d]),h=(0,s.useCallback)((e={})=>({...e,[$?"checked":"isChecked"]:d.some(r=>String(e.value)===String(r)),onChange:m}),[m,$,d]);return{value:d,isDisabled:l,onChange:m,setValue:c,getCheckboxProps:h}}(e),h=(0,s.useMemo)(()=>({size:t,onChange:m,colorScheme:r,value:c,variant:l,isDisabled:d}),[t,m,r,c,l,d]);return(0,$.jsx)(i.z,{value:h,children:u})}u.displayName="CheckboxGroup"},82953:function(e,r,t){"use strict";t.d(r,{J1:function(){return _}});var i=t(70654),n=t(35059),a=t(91639),l=t(82504),s=t(25432),o=t(85893),$={path:(0,o.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,o.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,o.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,o.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},u=(0,n.G)((e,r)=>{let{as:t,viewBox:i,color:n="currentColor",focusable:u=!1,children:d,className:c,__css:m,...h}=e,_=(0,s.cx)("chakra-icon",c),g=(0,a.mq)("Icon",e),f={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:n,...m,...g},v={ref:r,focusable:u,className:_,__css:f},p=null!=i?i:$.viewBox;if(t&&"string"!=typeof t)return(0,o.jsx)(l.m.svg,{as:t,...v,...h});let Z=null!=d?d:$.path;return(0,o.jsx)(l.m.svg,{verticalAlign:"middle",viewBox:p,...v,...h,children:Z})});u.displayName="Icon";var d=t(55227),c=t(33179),[m,h]=(0,d.k)({name:"FormErrorStylesContext",errorMessage:"useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormError />\" "}),_=(0,n.G)((e,r)=>{let t=(0,a.jC)("FormError",e),n=(0,c.Lr)(e),$=(0,i.NJ)();return(null==$?void 0:$.isInvalid)?(0,o.jsx)(m,{value:t,children:(0,o.jsx)(l.m.div,{...null==$?void 0:$.getErrorMessageProps(n,r),className:(0,s.cx)("chakra-form__error-message",e.className),__css:{display:"flex",alignItems:"center",...t.text}})}):null});_.displayName="FormErrorMessage",(0,n.G)((e,r)=>{let t=h(),n=(0,i.NJ)();if(!(null==n?void 0:n.isInvalid))return null;let a=(0,s.cx)("chakra-form__error-icon",e.className);return(0,o.jsx)(u,{ref:r,"aria-hidden":!0,...e,__css:t.icon,className:a,children:(0,o.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}).displayName="FormErrorIcon"},41753:function(e,r,t){"use strict";t.d(r,{g:function(){return d}});var i=t(74939),n=t(35059),a=t(91639),l=t(33179),s=t(82504),o=t(25432),$=t(85893),u=["h","minH","height","minHeight"],d=(0,n.G)((e,r)=>{let t=(0,a.mq)("Textarea",e),{className:n,rows:d,...c}=(0,l.Lr)(e),m=(0,i.Y)(c),h=d?function(e,r=[]){let t=Object.assign({},e);for(let i of r)i in t&&delete t[i];return t}(t,u):t;return(0,$.jsx)(s.m.textarea,{ref:r,rows:d,...m,className:(0,o.cx)("chakra-textarea",n),__css:h})});d.displayName="Textarea"},99534:function(e,r,t){"use strict";function i(e,r){if(null==e)return{};var t,i,n=function(e,r){if(null==e)return{};var t,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)t=a[i],r.indexOf(t)>=0||(n[t]=e[t]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)t=a[i],!(r.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}t.d(r,{Z:function(){return i}})}},function(e){e.O(0,[924,536,169,404,774,888,179],function(){return e(e.s=88005)}),_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.