1import{B as e,R as t,s as n}from"./link-zaLfVdeC.js";import{t as r}from"./play-CrDm2paM.js";import{_ as i,d as a,i as o,m as s,r as c,t as l}from"./index-PgBntIZc.js";var u=e(t(),1),d=n(),f=[{value:`demo`,label:`Schedule a demo`},{value:`quote`,label:`Request a quote`},{value:`support`,label:`Talk to support`},{value:`general`,label:`General question`}],p={name:``,email:``,company:``,phone:``,intent:`demo`,message:``,newsletter:!1};function m({defaultIntent:e=`demo`,defaultPackage:t}){let[n,r]=(0,u.useState)({...p,intent:e,message:t?`Interested in the ${t} package.`:``}),[i,c]=(0,u.useState)({}),[l,m]=(0,u.useState)(`idle`),[g]=(0,u.useState)(()=>Date.now());function _(e,t){r(n=>({...n,[e]:t})),c(t=>({...t,[e]:void 0}))}async function v(e){e.preventDefault();let t={};if(n.name.trim()||(t.name=`Please enter your name.`),/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n.email)||(t.email=`Enter a valid email.`),n.company.trim()||(t.company=`Please enter your company.`),Object.keys(t).length){c(t);return}m(`sending`);let r=f.find(e=>e.value===n.intent)?.label??n.intent,i=e.currentTarget instanceof HTMLFormElement?String(new FormData(e.currentTarget).get(`website`)??``):``,a=n.newsletter?`Yes`:`No`,s={name:n.name,email:n.email,company:n.company,phone:n.phone,intent:n.intent,message:n.message,newsletter:n.newsletter,website:i,startedAt:g};try{let e=await fetch(`/api/contact`,{method:`POST`,headers:{"Content-Type":`application/json`,Accept:`application/json`},body:JSON.stringify(s)});if(!e.ok||!(await e.json().catch(()=>null))?.ok)throw Error(`send failed`)}catch{let e=encodeURIComponent(`WAND website â ${r}`),t=encodeURIComponent(`Name: ${n.name}\nEmail: ${n.email}\nCompany: ${n.company}\nPhone: ${n.phone}\nIntent: ${r}\nSubscribe to newsletter: ${a}\n\n${n.message}`);window.location.href=`mailto:${o.email}?subject=${e}&body=${t}`}m(`sent`)}if(l===`sent`)return(0,d.jsxs)(`div`,{className:`rounded-xl border border-line bg-paper p-8`,children:[(0,d.jsx)(`p`,{className:`eyebrow`,children:`Message received`}),(0,d.jsx)(`h3`,{className:`display mt-2 text-2xl`,children:`Thanks â weâll be in touch shortly.`}),(0,d.jsxs)(`p`,{className:`mt-3 text-muted`,children:[`A WAND teammate will follow up at `,n.email,`. Need us sooner? Call`,` `,(0,d.jsx)(`a`,{className:`font-semibold text-navy`,href:`tel:952-361-6200`,children:`(952) 361-6200`}),`.`]})]});let y=`mt-1.5 h-11 w-full rounded-md border border-line bg-canvas px-3 text-base text-ink outline-none transition-shadow placeholder:text-muted/70 focus:border-cyan focus:shadow-[0_0_0_3px_color-mix(in_oklab,var(--color-cyan)_28%,transparent)]`;return(0,d.jsxs)(`form`,{onSubmit:v,className:`relative grid gap-4`,noValidate:!0,children:[(0,d.jsx)(`div`,{className:`absolute -left-[9999px] h-0 w-0 overflow-hidden`,"aria-hidden":`true`,children:(0,d.jsxs)(`label`,{children:[`Website`,(0,d.jsx)(`input`,{type:`text`,name:`website`,tabIndex:-1,autoComplete:`off`,defaultValue:``})]})}),(0,d.jsx)(h,{label:`First and last name`,error:i.name,children:(0,d.jsx)(`input`,{className:y,value:n.name,onChange:e=>_(`name`,e.target.value),autoComplete:`name`,placeholder:`First and last name`})}),(0,d.jsx)(h,{label:`Email address`,error:i.email,children:(0,d.jsx)(`input`,{className:y,type:`email`,value:n.email,onChange:e=>_(`email`,e.target.value),autoComplete:`email`,placeholder:`Email address`})}),(0,d.jsxs)(`div`,{className:`grid gap-4 sm:grid-cols-2`,children:[(0,d.jsx)(h,{label:`Company`,error:i.company,children:(0,d.jsx)(`input`,{className:y,value:n.company,onChange:e=>_(`company`,e.target.value),autoComplete:`organization`,placeholder:`Company`})}),(0,d.jsx)(h,{label:`Phone`,error:i.phone,children:(0,d.jsx)(`input`,{className:y,type:`tel`,value:n.phone,onChange:e=>_(`phone`,e.target.value),autoComplete:`tel`,placeholder:`Phone`})})]}),(0,d.jsx)(h,{label:`How can we help?`,children:(0,d.jsx)(`select`,{className:s(y,`appearance-none`),value:n.intent,onChange:e=>_(`intent`,e.target.value),children:f.map(e=>(0,d.jsx)(`option`,{value:e.value,children:e.label},e.value))})}),(0,d.jsx)(h,{label:`Message`,children:(0,d.jsx)(`textarea`,{className:s(y,`h-32 py-2`),value:n.message,onChange:e=>_(`message`,e.target.value),placeholder:`Tell us about your locations, goals, or timeline.`})}),(0,d.jsxs)(`label`,{className:`flex cursor-pointer items-start gap-3 text-sm font-semibold text-navy`,children:[(0,d.jsx)(`input`,{type:`checkbox`,className:`mt-0.5 h-4 w-4 shrink-0 accent-cyan`,checked:n.newsletter,onChange:e=>_(`newsletter`,e.target.checked)}),(0,d.jsx)(`span`,{children:`Subscribe to our newsletter`})]}
1),(0,d.jsx)(a,{type:`submit`,size:`lg`,disabled:l===`sending`,children:l===`sending`?`Sendingâ¦`:`Send message`}),(0,d.jsx)(`p`,{className:`text-xs text-muted`,children:`Weâll follow up by email. Prefer to talk now? Call (952) 361-6200 or write [email protected].`})]})}function h({label:e,error:t,children:n}){return(0,d.jsxs)(`label`,{className:`block text-sm font-semibold text-navy`,children:[e,n,t?(0,d.jsx)(`span`,{className:`mt-1 block text-xs font-medium text-magenta`,children:t}):null]})}var g=[`Software support for WANDâs Digital Menu Technology Platform`,`Troubleshooting, warranty questions, and technician coordination for hardware issues`,`Hardware coverage through TechProtect, including replacement hardware and on-site next-business-day service for five years`,`Content, design, and marketing assistance through WAND Digital Creative`];function _(){let{intent:e,package:t}=c.useSearch(),n=e===`quote`||e===`support`||e===`general`||e===`demo`?e:`general`;return(0,d.jsxs)(`main`,{children:[(0,d.jsx)(l,{title:`The WAND team is waiting`,lede:`Want to schedule a demo or request a quote? Youâve come to the right place.`,image:`/images/photos/contact-hero.jpg`,imageAlt:`Restaurant team at a sushi counter with WAND digital menu boards overhead`}),(0,d.jsx)(`section`,{className:`bg-canvas py-16`,id:`form`,children:(0,d.jsxs)(`div`,{className:`wrap grid gap-12 lg:grid-cols-12`,children:[(0,d.jsxs)(`div`,{className:`lg:col-span-5`,children:[(0,d.jsx)(`h2`,{className:`display text-2xl`,children:`Contact WAND`}),(0,d.jsxs)(`p`,{className:`mt-3 text-muted`,children:[`Fill out the form and weâll respond shortly â or call`,` `,(0,d.jsx)(`a`,{className:`font-semibold text-navy`,href:o.phoneTel,children:o.phoneDisplay}),` `,`or email`,` `,(0,d.jsx)(`a`,{className:`font-semibold text-navy`,href:o.emailMailto,children:o.email}),`.`]}),(0,d.jsxs)(`div`,{className:`mt-8 grid gap-4`,children:[(0,d.jsxs)(`div`,{className:`rounded-xl bg-paper p-5 ring-1 ring-line/80`,children:[(0,d.jsx)(`p`,{className:`font-bold text-navy`,children:`Request a quote`}),(0,d.jsx)(`p`,{className:`mt-1 text-sm text-muted`,children:`Chat with a WAND expert about your digital menu needs and business goals.`})]}),(0,d.jsxs)(`div`,{className:`rounded-xl bg-paper p-5 ring-1 ring-line/80`,children:[(0,d.jsx)(`p`,{className:`font-bold text-navy`,children:`Schedule a demo`}),(0,d.jsx)(`p`,{className:`mt-1 text-sm text-muted`,children:`See the software, hardware, and integrations in action.`})]}),(0,d.jsxs)(`div`,{className:`rounded-xl bg-paper p-5 ring-1 ring-line/80`,children:[(0,d.jsx)(`p`,{className:`font-bold text-navy`,children:`Support whenever you need it`}),(0,d.jsx)(`p`,{className:`mt-1 text-sm text-muted`,children:`24/7/365 â software, hardware warranty, TechProtect next-business-day service, and creative assistance.`})]})]})]}),(0,d.jsx)(`div`,{className:`lg:col-span-7`,children:(0,d.jsx)(`div`,{className:`rounded-xl bg-paper p-6 ring-1 ring-line/80 md:p-8`,children:(0,d.jsx)(m,{defaultIntent:n,defaultPackage:t})})})]})}),(0,d.jsxs)(`section`,{className:`bg-paper py-16 md:py-20`,children:[(0,d.jsxs)(`div`,{className:`wrap grid items-center gap-10 lg:grid-cols-2 lg:gap-16`,children:[(0,d.jsxs)(`div`,{children:[(0,d.jsx)(`p`,{className:`eyebrow`,children:`Always on`}),(0,d.jsx)(`h2`,{className:`display mt-3 text-3xl md:text-4xl`,children:`Support whenever you need it`}),(0,d.jsx)(`p`,{className:`mt-4 text-lg leading-relaxed text-muted`,children:`Because we know that the typical 9-to-5 doesnât always apply, we offer support thatâs available to you 24 hours, 7 days a week, all year long. When you partner with WAND, you join a dedicated team of professionals ready to assist when you need it most. Because we specialize in working with restaurants and other food-vending businesses, we understand your unique needs.`})]}),(0,d.jsx)(v,{})]}),(0,d.jsxs)(`div`,{className:`wrap mt-12`,children:[(0,d.jsx)(`h3`,{className:`display text-2xl md:text-3xl`,children:`No matter the issue, we can help with:`}),(0,d.jsx)(`ul`,{className:`mt-6 grid gap-3 sm:grid-cols-2`,children:g.map(e=>(0,d.jsxs)(`li`,{className:`flex gap-3 rounded-xl bg-canvas p-4 text-sm text-ink ring-1 ring-line/70`,children:[(0,d.jsx)(i,{className:`mt-0.5 size-5 shrink-0 text-cyan`,strokeWidth:2.4}),(0,d.jsx)(`span`,{children:e})]},e))})]})]}),(0,d.jsx)(`section`,{className:`bg-canvas py-16 md:py-20`,children:(0,d.jsxs)(`div`,{className:`wrap grid items-center gap-10 md:grid-cols-2`,children:[(0,d.jsxs)(`div`,{children:[(0,d.jsx)(`p`,{className:`eyebrow`,children:`Five years of coverage`}),(0,d.jsx)(`h2`,{className:`display mt-2 text-3xl md:text-4xl`,children:`Increase revenue with engaging digital menu boards`}),(0,d.jsx)(`p`,{className:`mt-4 text-muted leading-relaxed`,children:`See how dynamic animation and design drive sales, loyalty, and beyond. Itâs an updated experience that exceeds what todayâs guests expect from a menu.`})]}),(0,d.jsx)(`img`,{src:`/brand/warranty.png`,alt:`WAND 5-year warranty badge`,className:`mx-auto max-w-[240px]`})]})})]})}function v(){let[e,t]=(0,u.useState)(!1);return(0,d.jsx)(`figure`,{className:`overflow-hidden rounded-xl shadow-(--shadow-card) ring-1 ring-line/70`,children:e?(0,d.jsx)(`div`,{className:`media-frame aspect-video`,children:(0,d.jsx)(`iframe`,{title:`WAND Digital support`,src:`https://player.vimeo.com/video/742396277?dnt=1&autoplay=1`,allow:`auto
1play; fullscreen; picture-in-picture; clipboard-write`,allowFullScreen:!0,referrerPolicy:`strict-origin-when-cross-origin`})}):(0,d.jsxs)(`button`,{type:`button`,onClick:()=>t(!0),className:`group relative block aspect-video w-full overflow-hidden bg-navy text-left`,children:[(0,d.jsx)(`img`,{src:`/images/photos/support-video.jpg`,alt:`WAND Digital support video`,className:`h-full w-full object-cover transition duration-300 group-hover:scale-[1.02]`}),(0,d.jsx)(`span`,{className:`absolute inset-0 bg-navy/35 transition group-hover:bg-navy/25`}),(0,d.jsx)(`span`,{className:`absolute inset-0 flex items-center justify-center`,children:(0,d.jsx)(`span`,{className:`flex size-16 items-center justify-center rounded-full bg-cyan text-primary-foreground shadow-(--shadow-card) transition group-hover:scale-105`,children:(0,d.jsx)(r,{className:`size-7 fill-current`,"aria-hidden":!0})})})]})})}export{_ as component};
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.