PageSourceSearch

https://morvo.co.uk/assets/ReportShoppingHabits-Mx2Annys.js

js morvo.co.uk collected 2026-09-24 09:52:04 UTC 10,138 bytes, 1 lines download raw bytes

1import{U as R,V as q,W as P,r as a,j as e,N as H,L as p,q as o,I as n,B as U,F as G}from"./index-CRQcHE7J.js";import{C as W}from"./card-DWLMxT6t.js";import{A as K,a as _,b as B,c as O}from"./accordion-6Lj7bhrD.js";import{T as z}from"./TurnstileWidget-D7uHpPv-.js";import{F as M}from"./file-text-BK_GPZS9.js";import{o as V,s as l}from"./types-By9teAtI.js";function $(){return typeof document>"u"?void 0:document.cookie.match(/(?:^|;\s*)hubspotutk=([^;]+)/)?.[1]}async function J(i,d){if(!d)throw new Error("Missing verification token");const{data:r,error:m}=await R.functions.invoke("submit-report-lead",{body:{token:d,lead:i,hutk:$(),pageUri:typeof window<"u"?window.location.href:void 0,pageName:typeof document<"u"?document.title:void 0}});if(m)throw new Error(`Report lead submission failed: ${m.message}`);if(r&&r.ok!==!0)throw new Error(`Report lead submission failed: ${JSON.stringify(r)}`)}const Y="/thank-you",D=[{figure:"85%",detail:"of UK shoppers leave a brand's website when its on-site search fails them."},{figure:"28%",detail:"now go straight to an AI tool like ChatGPT when a brand's search lets them down."},{figure:"42%",detail:"prefer AI built into a brand's own website, ahead of the 34 percent who prefer a general tool like ChatGPT."},{figure:"69%",detail:"want to describe what they are looking for in their own words rather than search and filter."}],S=[{n:"01",title:"Fashion & clothing",detail:"How shoppers discover, choose, and what most often stops them completing a clothing purchase.",need:"Fit & sizing"},{n:"02",title:"Health & supplements",detail:"Goal-led discovery, the need to explain and reassure, and questions of safety.",need:"Goal-matching & safety"},{n:"03",title:"Beauty & skincare",detail:"Concern-led matching to skin type, and the friction of not being able to try.",need:"Concern-matching"}],Q=V({firstName:l().trim().min(1,"First name is required").max(100,"First name is too long"),lastName:l().trim().min(1,"Last name is required").max(100,"Last name is too long"),email:l().trim().email("Enter a valid work email").max(255,"Email is too long"),company:l().trim().min(1,"Company is required").max(200,"Company name is too long"),role:l().trim().min(1,"Role is required").max(150,"Role is too long")}),re=()=>{const{toast:i}=q(),d=P(),[r,m]=a.useState(""),[g,T]=a.useState(""),[f,E]=a.useState(""),[b,F]=a.useState(""),[j,A]=a.useState(""),[N,L]=a.useState(""),[v,h]=a.useState(""),[s,y]=a.useState({}),[w,k]=a.useState("idle"),I=async t=>{if(t.preventDefault(),y({}),N)return;const x=Q.safeParse({firstName:r,lastName:g,email:f,company:b,role:j||void 0}),u={};if(x.success||x.error.errors.forEach(c=>{const C=c.path[0];C&&(u[C]=c.message)}),Object.keys(u).length>0){y(u);return}if(!v){i({title:"Please complete the verification",description:"Tick the box to confirm you're human, then try again.",variant:"destructive"});return}k("submitting");try{await J(x.data,v),d(Y)}catch(c){h(""),window.turnstile?.reset(),console.error("[report] lead submission failed",c),k("idle"),i({title:"Something went wrong",description:"We could not send the report just now. Please try again, or email [email protected].",variant:"destructive"})}};return e.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[e.jsx(H,{}),e.jsx("main",{className:"flex-1 pt-32 pb-20",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 lg:gap-16 items-start max-w-6xl mx-auto",children:[e.jsxs("div",{className:"animate-fade-in",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 text-sm font-semibold text-primary mb-5",children:[e.jsx(M,{className:"h-4 w-4"}),"New research · July 2026"]}),e.jsx("h1",{className:"text-[2rem] md:text-[2.7rem] lg:text-[3.375rem] leading-tight font-heading font-bold mb-5 bg-gradient-primary bg-clip-text text-transparent",children:"UK online shopping habits and attitudes to AI"}),e.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-6 max-w-xl",children:"New primary research into how shoppers across the UK search, discover and buy online, and what they now expect from AI. Essential reading for every ecommerce brand."}),e.jsxs("p",{className:"text-base text-muted-foreground mb-10 max-w-xl",children:["The research comes from Morvo, the brand-owned"," ",e.jsx(p,{to:"/",className:"text-primary hover:underline",children:"AI personal shopper"})," ","that helps ecommerce brands turn these shopping conversations into"," ",e.jsx(p,{to:"/ecommerce-ai-personal-shopper",className:"text-primary hover:underline",children:"increased ecommerce conversion"}),"."]}),e.jsx("div",{className:"grid sm:grid-cols-2 gap-5",children:D.map(t=>e.jsxs("div",{id:`stat-${t.figure.replace("%","")}`,className:"scroll-mt-24 rounded-2xl bg-gradient-primary p-6 shadow-glow",children:[e.jsx("div",{className:"text-4xl font-heading font-bold text-white mb-2",children:t.figure}),e.jsx("p",{className:"text-sm text-white/85 leading-relaxed",children:t.detail})]},t.figure))}),e.jsxs("div",{className:"hidden lg:block mt-12",children:[e.jsx("span",{className:"text-sm font-semibold text-primary",children:"Inside the report"}),e.jsx("h2",{className:"text-2xl font-heading font-bold mt-2 mb-3",children:"Three sectors studied in depth"}),e.jsx("p",{className:"text-muted-foreground mb-6 max-w-xl",children:"The research covers UK consumers who buy directly from brands' own websites, not marketplaces. Each sector is reported in depth, with cross-sector findings across the whole base."}),e.jsx("div",{className:"space-y-4",children:S.map(t=>e.jsxs("div",{className:"rounded-2xl border border-border overflow-hidden",children:[e.jsxs("div",{className:"bg-gradient-primary p-5",children:[e.jsxs("div",{className:"text-xs font-semibold uppercase tracking-wide text-white/70 mb-1",children:["Sector ",t.n]}),e.jsx("div",{className:"text-lg font-heading font-bold text-white",children:t.title})]}),e.jsxs("div",{className:"p-5",children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:t.detail}),e.jsx("div",{className:"border-t border-border my-4"}),e.jsx("div",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground mb-1",children:"What matters most"}),e.jsx("div",{className:"font-semibold",children:t.need})]})]},t.n))})]}),e.jsxs("div",{className:"lg:hidden mt-10",children:[e.jsx("h2",{className:"text-xl font-heading font-bold mb-1",children:"Three sectors studied in depth"}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Tap a sector to see what the report covers."}),e.jsx(K,{type:"single",collapsible:!0,className:"w-full",children:S.map(t=>e.jsxs(_,{value:t.n,children:[e.jsx(B,{className:"text-left",children:e.jsxs("span",{className:"flex flex-col items-start",children:[e.jsxs("span",{className:"text-xs font-semibold uppercase tracking-wide text-primary",children:["Sector ",t.n]}),e.jsx("span",{className:"font-heading font-bold",children:t.title})]})}),e.jsxs(O,{children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:t.detail}),e.jsx("div",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:"What matters most"}),e.jsx("div",{className:"font-semibold",children:t.need})]})]},t.n))})]})]}),e.jsxs(W,{className:"w-full max-w-md mx-auto lg:ml-auto lg:sticky lg:top-24 p-8 shadow-glow",children:[e.jsxs("div",{className:"mb-6",children:[e.jsx("h2",{className:"text-2xl font-heading font-bold mb-2",children:"Get the full report"}),e.jsx("p",{className:"text-muted-foreground",children:"Enter your details for instant access to the full findings."})]}),e.jsxs("form",{onSubmit:I,className:"space-y-4",noValidate:!0,children:[e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"firstName",children:"First name"}),e.jsx(n,{id:"firstName",type:"text",value:r,onChange:t=>m(t.target.value),className:"mt-1",maxLength:100,autoComplete:"given-name"}),s.firstName&&e.jsx("p",{className:"text-sm text-destructive mt-1",children:s.firstName})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"lastName",children:"Last name"}),e.jsx(n,{id:"lastName",type:"text",value:g,onChange:t=>T(t.target.value),className:"mt-1",maxLength:100,autoComplete:"family-name"}),s.lastName&&e.jsx("p",{className:"text-sm text-destructive mt-1",children:s.lastName})]})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"email",children:"Work email"}),e.jsx(n,{id:"email",type:"email",value:f,onChange:t=>E(t.target.value),className:"mt-1",maxLength:255,autoComplete:"email"}),s.email&&e.jsx("p",{className:"text-sm text-destructive mt-1",children:s.email})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"company",children:"Company"}),e.jsx(n,{id:"company",type:"text",value:b,onChange:t=>F(t.target.value),className:"mt-1",maxLength:200,autoComplete:"organization"}),s.company&&e.jsx("p",{className:"text-sm text-destructive mt-1",children:s.company})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"role",children:"Role or job title"}),e.jsx(n,{id:"role",type:"text",value:j,onChange:t=>A(t.target.value),className:"mt-1",maxLength:150,required:!0,autoComplete:"organization-title"}),s.role&&e.jsx("p",{className:"text-sm text-destructive mt-1",children:s.role})]}),e.jsxs("div",{className:"hidden","aria-hidden":"true",children:[e.jsx("label",{htmlFor:"company_website",children:"Company website"}),e.jsx("input",{id:"company_website",name:"company_website",type:"text",tabIndex:-1,autoComplete:"off",value:N,onChange:t=>L(t.target.value)})]}),e.jsx(z,{onVerify:h,onExpire:()=>h(""),action:"report"}),e.jsx(U,{type:"submit",disabled:w==="submitting",className:"w-full bg-gradient-primary",children:w==="submitting"?"Sending...":"Get the report"}),e.jsxs("p",{className:"text-xs text-muted-foreground text-center",children:["By submitting this form, you agree to Morvo contacting you about your request and with occasional updates about our products and services. You can unsubscribe at any time."," ",e.jsx(p,{to:"/privacy",className:"text-primary hover:underline",children:"Privacy Policy"}),"."]})]})]})]})})}),e.jsx(G,{})]})};export{re as default};

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.