1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95187,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={callServer:function(){return i.callServer},createServerReference:function(){return l.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var s in a)Object.defineProperty(t,s,{enumerable:!0,get:a[s]});let i=e.r(32120),n=e.r(92245),l=e.r(35326)},38133,e=>{"use strict";var r=e.i(43476),t=e.i(71645),a=e.i(75254);let s=(0,a.default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),i=(0,a.default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),n=(0,a.default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);var l=e.i(19455),o=e.i(75679),c=e.i(46254),d=e.i(84195),u=e.i(95187);let p=(0,u.createServerReference)("4075c4a32f6ccbd50840d4109610d5adaefcb4b18e",u.callServer,void 0,u.findSourceMapURL,"submitBooking"),m=[{value:"Small business (1-10)",label:"Small business (1 to 10 staff)"},{value:"Growing business (10-50)",label:"Growing business (10 to 50 staff)"},{value:"Agency / consultancy",label:"Agency or consultancy"},{value:"Startup / scale-up",label:"Start-up or scale-up"},{value:"University spin-out",label:"University spin-out"},{value:"Team inside a larger organisation",label:"Team within a larger organisation"},{value:"Other",label:"Other"}],x={training:{value:"AI Training / Team Adoption",label:"AI training"},opportunity:{value:"AI Opportunity / Implementation",label:"AI opportunity"},either:{value:"Not sure yet / both",label:"Initial advice"}},b="w-full rounded-[1rem] border border-paper/10 bg-ink px-4 py-3 text-sm text-paper placeholder:text-paper/30 transition-all focus:border-signal/40 focus:ring-2 focus:ring-signal/20";function h({label:e,id:t,children:a,required:s,optional:i}){return(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:t,className:"mb-2 block text-xs font-bold uppercase tracking-[0.16em] text-paper/50",children:[e,s?(0,r.jsx)("span",{className:"text-signal",children:" *"}):null,i?(0,r.jsxs)("span",{className:"font-medium normal-case tracking-normal text-paper/35",children:[" ","(optional)"]}):null]}),a]})}e.s(["BookingForm",0,function({defaultInterest:e="either"}){let[a,u]=(0,t.useState)("idle"),[g,y]=(0,t.useState)(""),[f,v]=(0,t.useState)(e),j=(0,t.useRef)(!1);(0,t.useEffect)(()=>{(0,o.trackBookingFormViewed)(e)},[e]);let k="training"===f?"Book Free AI Training":"opportunity"===f?"Book Free AI Opportunity":"Arrange an Initial Consultation",N="training"===f?"introductory AI training session":"opportunity"===f?"AI Opportunity session":"AI session";async function w(e){e.preventDefault(),u("submitting"),y("");let r=new FormData(e.currentTarget),t=(0,d.hasAcceptedAnalyticsCookies)();r.set("analyticsConsent",t?"accepted":"rejected"),r.set("pageUrl",window.location.href);let a=r.get("businessType");try{let e=await p(r);if(e.success){u("success"),(0,o.trackBookingFormSubmitted)({intent:f,interest:x[f].value,business_type:a});let e=r.get("email"),s=r.get("name"),i=r.get("business");t&&(0,c.identifyPostHogUser)(e,{email:e,name:s,business:i,business_type:a})}else y(e.error||"We could not submit your request. Please try again."),u("error"),(0,o.trackBookingFormError)({intent:f,error:e.error||"unknown"})}catch{y("We could not submit your request. Please try again or contact us by WhatsApp."),u("error"),(0,o.trackBookingFormError)({intent:f,error:"network_error"})}}return"success"===a?(0,r.jsxs)("div",{role:"status",className:"rounded-card-xl flex min-h-[520px] flex-col items-center justify-center border border-signal/30 bg-signal/10 p-6 text-center",children:[(0,r.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-[1.4rem] border border-signal/40 bg-signal/15 text-signal",children:(0,r.jsx)(i,{size:34})}),(0,r.jsx)("h2",{className:"mt-7 text-3xl font-semibold tracking-tight text-paper",children:"Your request has been received"}),(0,r.jsxs)("p",{className:"mt-4 max-w-[40ch] text-sm leading-relaxed text-paper/65",children:["I will contact you within 24 hours to arrange your ",N,". A confirmation email has been sent to the address provided."]})]}):(0,r.jsxs)("form",{onSubmit:w,onFocusCapture:()=>{j.current||(j.current=!0,(0,o.trackBookingFormStarted)(f))},className:"rounded-card-xl border border-paper/10 bg-panel/80 p-6 shadow-[0_30px_100px_-80px_rgba(18,16,12,0.65)]",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-4 border-b border-paper/10 pb-5",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-[0.65rem] font-bold uppercase tracking-[0.2em] text-signal",children:"Enquiry details"}),(0,r.jsx)("h2",{className:"mt-2 text-2xl font-semibold tracking-tight text-paper",children:"Tell us about your requirements"})]}),(0,r.jsx)("div",{className:"hidden border border-paper/10 bg-ink/70 px-3 py-2 text-xs font-semibold text-paper/45 sm:block",children:"Response within 24 hours"})]}),(0,r.jsxs)("div",{className:"mt-6 space-y-5",children:[(0,r.jsxs)("fieldset",{children:[(0,r.jsx)("legend",{className:"mb-2 block text-xs font-bold uppercase tracking-[0.16em] text-paper/50",children:"Service required"}),(0,r.jsx)("div",{className:"grid grid-cols-1 gap-2 sm:grid-cols-3",children:Object.keys(x).map(e=>(0,r.jsxs)("label",{className:`flex cursor-pointer items-center justify-center rounded-full border px-3 py-3 text-center text-xs font-bold uppercase tracking-[0.14em] transition-all ${f===e?"border-signal/50 bg-signal/10 text-signal":"border-paper/10 bg-ink/70 text-paper/55 hover:border-paper/25 hover:text-paper"}`,children:[(0,r.jsx)("input",{type:"radio",name:"interest",value:x[e].value,checked:f===e,onChange:()=>v(e),className:"sr-only"}),x[e].label]},e))})]}),(0,r.jsx)(h,{label:"Your name",id:"name",required:!0,children:(0,r.jsx)("input",{id:"name",name:"name",type:"text",required:!0,placeholder:"Jane Smith",className:b})}),(0,r.jsx)(h,{label:"Email",id:"email",required:!0,children:(0,r.jsx)("input",{id:"email",name:"email",type:"email",required:!0,placeholder:"[email protected]",className:b})}),(0,r.jsx)(h,{label:"Phone",id:"phone",optional:!0,children:(0,r.jsx)("input",{id:"phone",name:"phone",type:"tel",placeholder:"07593 121 621",className:b})}),(0,r.jsx)(h,{label:"Business name",id:"business",required:!0,children:(0,r.jsx)("input",{id:"business",name:"business",type:"text",required:!0,placeholder:"Your business",className:b})}),(0,r.jsx)(h,{label:"Business type",id:"businessType",required:!0,children:(0,r.jsxs)("select",{id:"businessType",name:"businessType",required:!0,defaultValue:"",className:`${b} cursor-pointer`,children:[(0,r.jsx)("option",{value:"",disabled:!0,children:"Select the closest match"}),m.map(e=>(0,r.jsx)("option",{value:e.value,className:"bg-ink",children:e.label},e.value))]})}),(0,r.jsx)(h,{label:"What would you like to improve?",id:"message",optional:!0,children:(0,r.jsx)("textarea",{id:"message",name:"message",rows:4,placeholder:"For example: delayed lead follow-up, a support backlog, manual reporting or inconsistent use of AI across the team.",className:`${b} min-h-28 resize-y`})})]}),(0,r.jsx)("div",{"aria-live":"polite","aria-atomic":"true",children:"error"===a?(0,r.jsx)("p",{role:"alert",className:"mt-4 text-sm text-danger-wire",children:g}):null}),(0,r.jsxs)("div",{className:"rounded-card mt-6 flex items-start gap-3 border border-paper/10 bg-ink/60 p-4",children:[(0,r.jsx)("input",{id:"privacy",name:"privacy",type:"checkbox",required:!0,className:"mt-1 h-4 w-4 shrink-0 accent-signal"}),(0,r.jsxs)("label",{htmlFor:"privacy",className:"text-xs leading-relaxed text-paper/55",children:["I have read Quilliam AI's"," ",(0,r.jsx)("a",{href:"/privacy",className:"text-paper underline underline-offset-4 hover:text-signal",children:"Privacy Policy"}),"."]})]}),(0,r.jsx)(l.Button,{type:"submit",disabled:"submitting"===a,size:"lg",className:"mt-6 w-full whitespace-normal text-center leading-tight tracking-normal normal-case",children:"submitting"===a?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n,{size:18,className:"animate-spin"}),"Submitting"]}):(0,r.jsxs)(r.Fragment,{children:[k,(0,r.jsx)(s,{size:18})]})}),(0,r.jsx)("p",{className:"mt-4 text-center text-xs leading-relaxed text-paper/40",children:"Levi will respond directly. We use your details in accordance with the Privacy Policy."})]})}],38133)}]);
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.