1import{e as S,q,r as L,x as h,G as F,s as M,f as V,u as U,c as i,g as y,a,H as D,I as m,J as c,A as e,K as p,t as n,L as g,F as N,o as d}from"./Ct35PZoH.js";import{c as u,r as x,e as A,u as _}from"./iRIUqwAy.js";import{a as B}from"./B26EToBd.js";const I={class:"max-w-[85rem] px-4 pb-10 sm:px-6 lg:px-8 lg:pb-14 mx-auto"},T={class:"max-w-2xl lg:max-w-5xl mx-auto"},z={class:"mt-12 grid items-center lg:grid-cols-2 gap-6 lg:gap-16"},W={class:"flex flex-col border rounded-xl p-4 sm:p-6 lg:p-8 bg-slate-50"},H={class:"grid gap-4"},E={class:"grid grid-cols-1 sm:grid-cols-2 gap-4"},O={class:"relative"},R={key:0,class:"text-xs text-red-500"},J={class:"relative"},Q={key:0,class:"text-xs text-red-500"},Z={class:"relative"},P={key:0,class:"text-xs text-red-500"},G={class:"relative"},K={key:0,class:"text-xs text-red-500"},X={class:"relative"},Y={key:0,class:"text-xs text-red-500"},ee={class:"mt-4 grid"},te={type:"submit",class:"w-full py-3 px-4 inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-orange-600 text-white hover:bg-orange-700 focus:outline-none focus:bg-orange-700 disabled:opacity-50 disabled:pointer-events-none"},le=S({__name:"contact",setup(se){const{$axios:w}=q(),$=L().public.API_BASE_URL,o=h(!1),f=h(!1),k=()=>{if(o.value=!0,s.value.$validate(),!s.value.$error)try{f.value=!0;const b=JSON.stringify(l);w.post($+B.onInquirySubmit,JSON.parse(b)).then(t=>{o.value=!1,C(),f.value=!1})}catch(b){console.log(b),f.value=!1}},v=()=>({firstname:"",lastname:"",email:"",subject:"",details:""}),l=F(v()),C=()=>Object.assign(l,v()),j=M(()=>({firstname:{required:u.withMessage("The first name field is required",x)},lastname:{required:u.withMessage("The last name field is required",x)},email:{required:u.withMessage("The email field is required",x),email:u.withMessage("Invalid email format",A)},subject:{required:u.withMessage("The subject field is required",x)},details:{required:u.withMessage("The details field is required",x)}})),s=_(j,l);return V({title:"Contact Us | ShoppingWays",ogTitle:"Contact Us | ShoppingWays",description:"Weâre here to help with your savings journey.",ogDescription:"Weâre here to help with your savings journey.",ogImage:"https://shoppingways.com/_nuxt/SAlogo.Da3DyD1H.png"}),U({link:[{rel:"canonical",href:"https://shoppingways.com/contact"}]}),(b,t)=>(d(),i(N,null,[t[18]||(t[18]=y('<div class="relative"><div class="bg-gradient-to-b from-orange-100 absolute h-[200px] top-0 w-full z-10"></div></div><div class="max-w-[85rem] mx-auto px-4 sm:px-6 lg:px-8 pt-12 pb-2 z-20 relative"><div class="mt-5 max-w-2xl text-center mx-auto"><h1 class="block font-bold text-gray-800 text-4xl md:text-5xl"> Contact Us </h1></div><div class="mt-5 max-w-3xl text-center mx-auto"><p class="text-lg text-gray-600"> We Are here to help you. Our support team will get back to you in 48 hours. Please Fill out below form and our support team will be in contact shortly. </p></div></div>',2)),a("div",I,[a("div",T,[a("div",z,[a("div",W,[t[16]||(t[16]=a("h2",{class:"mb-8 text-xl font-semibold text-gray-800"}," Fill in the form ",-1)),a("form",{onSubmit:D(k,["prevent"])},[a("div",H,[a("div",E,[a("div",null,[t[10]||(t[10]=a("label",{for:"hs-firstname-contacts-1",class:"sr-only"},"First Name",-1)),a("div",O,[m(a("input",{type:"text",id:"firstname",name:"firstname","onUpdate:modelValue":t[0]||(t[0]=r=>e(l).firstname=r),placeholder:"First Name",class:p(["py-3 px-4 block w-full border-gray-200 rounded-lg text-sm focus:border-orange-500 focus:ring-orange-500 disabled:opacity-50 disabled:pointer-events-none",{"border-red-500 focus:border-red-500":e(o)&&e(s).firstname.$error,"border-[#42d392] ":e(o)&&!e(s).firstname.$invalid}]),onChange:t[1]||(t[1]=(...r)=>e(s).firstname.$touch&&e(s).firstname.$touch(...r))},null,34),[[c,e(l).firstname]])]),e(o)&&e(s).firstname.$error?(d(),i("span",R,n(e(s).firstname.$errors[0].$message),1)):g("",!0)]),a("div",null,[t[11]||(t[11]=a("label",{for:"hs-lastname-contacts-1",class:"sr-only"},"Last Name",-1)),a("div",J,[m(a("input",{type:"text",id:"lastname",name:"lastname","onUpdate:modelValue":t[2]||(t[2]=r=>e(l).lastname=r),placeholder:"Last Name",class:p(["py-3 px-4 block w-full border-gray-200 rounded-lg text-sm focus:border-orange-500 focus:ring-orange-500 disabled:opacity-50 disabled:pointer-events-none",{"border-red-500 focus:border-red-500":e(o)&&e(s).lastname.$error,"border-[#42d392] ":e(o)&&!e(s).lastname.$invali
1d}]),onChange:t[3]||(t[3]=(...r)=>e(s).lastname.$touch&&e(s).lastname.$touch(...r))},null,34),[[c,e(l).lastname]])]),e(o)&&e(s).lastname.$error?(d(),i("span",Q,n(e(s).lastname.$errors[0].$message),1)):g("",!0)])]),a("div",null,[t[12]||(t[12]=a("label",{for:"hs-email-contacts-1",class:"sr-only"},"Email",-1)),a("div",Z,[m(a("input",{type:"email",id:"email",name:"email","onUpdate:modelValue":t[4]||(t[4]=r=>e(l).email=r),placeholder:"Email",class:p(["py-3 px-4 block w-full border-gray-200 rounded-lg text-sm focus:border-orange-500 focus:ring-orange-500 disabled:opacity-50 disabled:pointer-events-none",{"border-red-500 focus:border-red-500":e(o)&&e(s).email.$error,"border-[#42d392] ":e(o)&&!e(s).email.$invalid}]),onChange:t[5]||(t[5]=(...r)=>e(s).email.$touch&&e(s).email.$touch(...r))},null,34),[[c,e(l).email]])]),e(o)&&e(s).email.$error?(d(),i("span",P,n(e(s).email.$errors[0].$message),1)):g("",!0)]),a("div",null,[t[13]||(t[13]=a("label",{for:"hs-subject-number-1",class:"sr-only"},"Subject",-1)),a("div",G,[m(a("input",{type:"text",id:"subject",name:"subject","onUpdate:modelValue":t[6]||(t[6]=r=>e(l).subject=r),placeholder:"Subject",class:p(["py-3 px-4 block w-full border-gray-200 rounded-lg text-sm focus:border-orange-500 focus:ring-orange-500 disabled:opacity-50 disabled:pointer-events-none",{"border-red-500 focus:border-red-500":e(o)&&e(s).subject.$error,"border-[#42d392] ":e(o)&&!e(s).subject.$invalid}]),onChange:t[7]||(t[7]=(...r)=>e(s).subject.$touch&&e(s).subject.$touch(...r))},null,34),[[c,e(l).subject]])]),e(o)&&e(s).subject.$error?(d(),i("span",K,n(e(s).subject.$errors[0].$message),1)):g("",!0)]),a("div",null,[t[14]||(t[14]=a("label",{for:"hs-about-contacts-1",class:"sr-only"},"Details",-1)),a("div",X,[m(a("textarea",{type:"text",id:"details",name:"details","onUpdate:modelValue":t[8]||(t[8]=r=>e(l).details=r),rows:"4",placeholder:"Details",class:p(["py-3 px-4 block w-full border-gray-200 rounded-lg text-sm focus:border-orange-500 focus:ring-orange-500 disabled:opacity-50 disabled:pointer-events-none",{"border-red-500 focus:border-red-500":e(o)&&e(s).details.$error,"border-[#42d392] ":e(o)&&!e(s).details.$invalid}]),onChange:t[9]||(t[9]=(...r)=>e(s).details.$touch&&e(s).details.$touch(...r))},null,34),[[c,e(l).details]])]),e(o)&&e(s).details.$error?(d(),i("span",Y,n(e(s).details.$errors[0].$message),1)):g("",!0)])]),a("div",ee,[a("button",te,n(e(f)?"Sending...":"Send inquiry"),1)]),t[15]||(t[15]=a("div",{class:"mt-3 text-center"},[a("p",{class:"text-sm text-gray-500"}," We'll get back to you in 1-2 business days. ")],-1))],32)]),t[17]||(t[17]=y('<div class="divide-y divide-gray-200"><div class="flex gap-x-7 py-6"><svg class="shrink-0 size-6 mt-1.5 text-gray-800" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 9a2 2 0 0 1-2 2H6l-4 4V4c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v5Z"></path><path d="M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1"></path></svg><div class="grow"><h3 class="font-semibold text-gray-800">FAQ</h3><p class="mt-1 text-sm text-gray-500">Search our FAQ for answers to anything you might ask.</p><a class="mt-2 inline-flex items-center gap-x-2 text-sm font-medium text-gray-600 hover:text-gray-800 focus:outline-none focus:text-gray-800" href="#"> Visit FAQ <svg class="shrink-0 size-2.5 transition ease-in-out group-hover:translate-x-1 group-focus:translate-x-1" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.975821 6.92249C0.43689 6.92249 -3.50468e-07 7.34222 -3.27835e-07 7.85999C-3.05203e-07 8.37775 0.43689 8.79749 0.975821 8.79749L12.7694 8.79748L7.60447 13.7596C7.22339 14.1257 7.22339 14.7193 7.60447 15.0854C7.98555 15.4515 8.60341 15.4515 8.98449 15.0854L15.6427 8.68862C16.1191 8.23098 16.1191 7.48899 15.6427 7.03134L8.98449 0.634573C8.60341 0.268455 7.98555 0.268456 7.60447 0.634573C7.22339 1.00069 7.22339 1.59428 7.60447 1.9604L12.7694 6.92248L0.975821 6.92249Z" fill="currentColor"></path></svg></a></div></div><div class="flex gap-x-7 py-6"><svg class="shrink-0 size-6 mt-1.5 text-gray-800" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z"></path><path d="m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10"></path></svg><div class="grow"><h3 class="font-semibold text-gray-800">Contact us by email</h3><p class="mt-1 text-sm text-gray-500">If you wish to write us an email instead please use</p><a class="mt-2 inline-flex items-center gap-x-2 text-sm font-medium text-gray-600 hover:text-gray-800 focus:outline-none focus:text-gray-800" href="#"> [email protected] </a></div></div></div>',1))])])])],64))}});
1export{le 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.