PageSourceSearch

https://viuna.io/_next/static/chunks/0xlb_p1hs9rpb.js

js viuna.io collected 2026-10-09 22:57:56 UTC 11,198 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,93380,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(61745),s=e.i(48148),l=e.i(68877),i=e.i(32781),o=e.i(56420);let d=(0,o.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),n=(0,o.default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);var m=e.i(15227),c=e.i(79287),h=e.i(19455),x=e.i(75157),u=e.i(94622);function p({value:e,onChange:a,placeholder:r,className:s}){return(0,t.jsx)("div",{className:(0,x.cn)("flex h-12 w-full items-center rounded-2xl border border-slate-200 bg-white px-4 transition focus-within:border-[#7A1BB8] dark:border-white/10 dark:bg-white/8",s),children:(0,t.jsx)(u.default,{international:!0,defaultCountry:"CO",countryCallingCodeEditable:!1,value:e,onChange:a,placeholder:r,className:"viuna-phone-input w-full"})})}e.i(58652);var b=e.i(17905),g=e.i(6871),f=e.i(69475),w=e.i(10518),v=e.i(12518),k=e.i(18246),j=e.i(75679),N=e.i(95025),y=e.i(3104);function B({label:e,placeholder:a,name:r,type:s="text",autoComplete:l,minLength:i,maxLength:o,disabled:d=!1}){let n=`contact-${r}`;return(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:n,className:"text-sm font-semibold text-slate-700 dark:text-white/75",children:e}),(0,t.jsx)("input",{id:n,name:r,type:s,required:!0,disabled:d,autoComplete:l,minLength:i,maxLength:o,placeholder:a,className:"mt-2 h-12 w-full cursor-text rounded-2xl border border-slate-200 bg-white px-4 text-sm text-slate-950 outline-none transition-all duration-200 placeholder:text-slate-500 focus:border-[#7A1BB8] focus:ring-2 focus:ring-[#7A1BB8]/15 disabled:cursor-not-allowed disabled:opacity-60 dark:border-white/10 dark:bg-white/8 dark:text-white dark:placeholder:text-white/35"})]})}function A({icon:e,title:a,description:r,href:s}){let l=(0,t.jsxs)("div",{className:["h-full rounded-[1.5rem] border border-slate-200 bg-white p-5 shadow-[0_14px_45px_rgba(15,23,42,0.05)] transition-all duration-300 dark:border-white/10 dark:bg-white/8",s?"cursor-pointer hover:-translate-y-1 hover:border-[#7A1BB8]/25 hover:shadow-[0_20px_55px_rgba(15,23,42,0.10)] dark:hover:border-white/20":""].join(" "),children:[(0,t.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-2xl bg-[#7A1BB8]/10 text-[#7A1BB8] dark:bg-white/10 dark:text-[#DDA7FF]",children:e}),(0,t.jsx)("p",{className:"mt-4 text-sm font-semibold text-slate-950 dark:text-white",children:a}),(0,t.jsx)("p",{className:"mt-1 break-words text-sm text-slate-700 dark:text-white/75",children:r})]});if(!s)return l;let i=s.startsWith("http");return(0,t.jsx)("a",{href:s,target:i?"_blank":void 0,rel:i?"noreferrer":void 0,className:"block h-full cursor-pointer rounded-[1.5rem] outline-none focus-visible:ring-2 focus-visible:ring-[#7A1BB8] focus-visible:ring-offset-2 dark:focus-visible:ring-offset-[#140A2A]",children:l})}e.s(["ContactPage",0,function(){let e=(0,s.useTranslations)("contact"),o=(0,s.useTranslations)("nav"),x=(0,s.useTranslations)("cloudflare.verification"),u=(0,r.useLocale)(),[C,_]=(0,a.useState)(),[L,F]=(0,a.useState)(!1),[S,T]=(0,a.useState)(""),[D,E]=(0,a.useState)(!1),[O,R]=(0,a.useState)(""),[z,P]=(0,a.useState)(""),W=(0,a.useRef)(null),U=t=>{R((0,N.buildWhatsappFallbackUrl)((0,N.buildWhatsappFallbackMessage)(e("form.messages.whatsappFallbackIntro"),e("form.messages.whatsappFallbackDateLabel"),(0,N.formatWhatsappFallbackDate)(u),[{label:e("form.fields.name"),value:t.name},{label:e("form.fields.email"),value:t.email},{label:e("form.fields.phone"),value:t.phone},{label:e("form.fields.company"),value:t.organization},{label:e("form.fields.message"),value:t.message}]))),T(e("form.messages.error"))},q=async e=>{F(!0),T(""),E(!1),R("");try{let t=await (0,f.submitWebsiteForm)({formType:"contact",...e.payload});if(!t.ok){console.error("Contact form submission rejected:",{code:t.code,debug:t.debug}),U(e.payload);return}
1e.form.reset(),_(void 0),E(!0),(0,j.trackEvent)("conversion",{send_to:"AW-18296757997/wmKOCN7X8tEcEO29yZRE"})}catch(t){console.error("Contact form submission failed:",t),U(e.payload)}finally{W.current?.reset(),P(""),F(!1)}};return(0,t.jsxs)("section",{className:"relative overflow-hidden bg-white py-24 text-slate-950 transition-colors dark:bg-[#140A2A] dark:text-white",children:[(0,t.jsxs)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute left-[8%] top-[10%] h-[420px] w-[420px] rounded-full bg-[#7A1BB8]/10 blur-[130px] dark:bg-[#7A1BB8]/24"}),(0,t.jsx)("div",{className:"absolute bottom-[8%] right-[8%] h-[360px] w-[360px] rounded-full bg-[#24C6B8]/10 blur-[130px] dark:bg-[#24C6B8]/16"})]}),(0,t.jsxs)("div",{className:"relative mx-auto grid max-w-7xl gap-12 px-5 md:px-6 lg:grid-cols-[0.9fr_1.1fr] lg:items-center",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h1",{className:"mt-6 max-w-3xl text-5xl font-semibold leading-[1.02] tracking-tight md:text-6xl",children:[e("titleStart")," ",(0,t.jsx)("span",{className:"text-[#7A1BB8] dark:text-[#DDA7FF]",children:e("titleHighlight")})]}),(0,t.jsx)("p",{className:"mt-6 max-w-xl text-lg leading-9 text-slate-600 dark:text-white/65",children:e("description")}),(0,t.jsxs)("div",{className:"mt-8 flex flex-col gap-4 sm:flex-row",children:[(0,t.jsxs)(b.DemoDialog,{label:o("bookDemo"),className:"group/button cursor-pointer rounded-2xl transition-transform duration-300 hover:-translate-y-0.5 active:translate-y-0",children:[o("bookDemo"),(0,t.jsx)(l.ArrowRight,{className:"h-4 w-4 transition-transform duration-300 group-hover/button:translate-x-1"})]}),(0,t.jsx)(h.Button,{asChild:!0,variant:"whatsapp",size:"cta",className:"cursor-pointer rounded-2xl transition-all duration-300 hover:-translate-y-0.5 active:translate-y-0 dark:bg-white/10 dark:text-white dark:hover:bg-white/15",children:(0,t.jsxs)("a",{href:y.WHATSAPP_URL,target:"_blank",rel:"noreferrer",children:[(0,t.jsx)(m.MessageCircle,{className:"h-5 w-5 text-[#178740]"}),e("whatsapp")]})})]}),(0,t.jsxs)("div",{className:"mt-10 grid gap-4 sm:grid-cols-2",children:[(0,t.jsx)(A,{icon:(0,t.jsx)(d,{className:"h-5 w-5"}),title:e("cards.email.title"),description:y.CONTACT_EMAIL,href:y.EMAIL_URL}),(0,t.jsx)(A,{icon:(0,t.jsx)(c.PhoneCall,{className:"h-5 w-5"}),title:e("cards.phone.title"),description:y.PHONE_URL_TEXT,href:y.PHONE_URL}),(0,t.jsx)(A,{icon:(0,t.jsx)(n,{className:"h-5 w-5"}),title:e("cards.region.title"),description:e("cards.region.description")})]})]}),(0,t.jsxs)("div",{className:"relative overflow-hidden rounded-[2.5rem] border border-slate-200 bg-white p-6 shadow-[0_30px_120px_rgba(15,23,42,0.10)] dark:border-white/10 dark:bg-white/8 dark:shadow-[0_30px_120px_rgba(0,0,0,0.28)] md:p-8",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute -left-10 -top-10 h-[220px] w-[220px] rounded-full bg-[#7A1BB8]/10 blur-[100px] dark:bg-[#7A1BB8]/20"}),(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute -bottom-10 -right-10 h-[220px] w-[220px] rounded-full bg-[#24C6B8]/10 blur-[100px] dark:bg-[#24C6B8]/15"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("h2",{className:"mt-5 text-3xl font-semibold tracking-tight text-slate-950 dark:text-white",children:e("form.title")}),(0,t.jsx)("p",{className:"mt-3 text-sm leading-7 text-slate-600 dark:text-white/60",children:e("form.description")}),(0,t.jsxs)("form",{onSubmit:t=>{t.preventDefault(),T(""),E(!1),R("");let a=String(C??"").trim(),r=a.replace(/\D/g,"");if(!a)return void T(e("form.messages.phoneRequired"));if(r.length<8||r.length>15)return void T(e("form.messages.error"));if(!z)return void T(x("required"));let s=t.currentTarget,l=new FormData(s);q({form:s,payload:{name:String(l.get("name")??"").trim(),email:String(l.get("email")??"").trim(),phone:a,organization:String(l.get("organization")??"").trim(),message:String(l.get("message")??"").trim(),turnstileToken:z,companyWebsite:String(l.get(k.HONEYPOT_FIELD_NAME)??"")}})},className:"mt-8 grid gap-4",children:[(0,t.jsx)(B,{name:"name",label:e("form.fields.name"),placeholder:e("form.placeholders.name"),autoComplete:"name",minLength:2,maxLength:120,disabled:L}),(0,t.jsx)(B,{name:"email",type:"email",label:e("form.fields.email"),placeholder:e("form.placeholders.email"),autoComplete:"email",maxLength:254,disabled:L}),(0,t.jsxs)("fieldset",{disabled:L,className:"min-w-0 border-0 p-0 disabled:cursor-not-allowed disabled:opacity-60",children:[(0,t.jsx)("legend",{className:"text-sm font-semibold text-slate-700 dark:text-white/75",children:e("form.fields.phone")}),(0,t.jsx)(p,{value:C,onChange:e=>{_(e),S&&(T(""),R("")),D&&E(!1)},placeholder:e("form.placeholders.phone"),className:"mt-2"})]}),(0,t.jsx)(B,{name:"organization",label:e("form.fields.company"),placeholder:e("form.placeholders.company"),autoComplete:"organization",minLength:2,maxLength:180,disabled:L}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"contact-message",className:"text-sm font-semibold text-slate-700 dark:text-white/75",children:e("form.fields.message")}),(0,t.jsx)("textarea",{id:"contact-message",name:"message",rows:5,required:!0,minLength:5,maxLength:4e3,disabled:L,placeholder:e("form.placeholders.message"),className:"mt-2 w-full cursor-text resize-none rounded-2xl border border-slate-200 bg-white px-4 py-3 text-sm text-slate-950 outline-none transition-all duration-200 placeholder:text-slate-500 focus:border-[#7A1BB8] focus:ring-2 focus:ring-[#7A1BB8]/15 disabled:cursor-not-allowed disabled:opacity-60 dark:border-white/10 dark:bg-white/8 dark:text-white dark:placeholder:text-white/35"})]}),(0,t.jsx)(w.HoneypotField,{}),(0,t.jsx)(v.TurnstileField,{ref:W,className:"mt-2",appearance:"interaction-only",onVerify:P,onExpire:()=>P(""),onError:()=>P("")}),(0,t.jsxs)(h.Button,{type:"submit",size:"ctaLg",disabled:L||!z,className:"group/button mt-2 cursor-pointer rounded-2xl transition-all duration-300 hover:-translate-y-0.5 hover:shadow-lg active:translate-y-0 disabled:cursor-not-allowed disabled:opacity-60 disabled:hover:translate-y-0 disabled:hover:shadow-none",children:[L?e("form.submitting"):e("form.submit"),L?(0,t.jsx)(i.Loader2,{className:"h-4 w-4 animate-spin"}):(0,t.jsx)(l.ArrowRight,{className:"h-4 w-4 transition-transform duration-300 group-hover/button:translate-x-1"})]}),D&&(0,t.jsx)("p",{role:"status","aria-live":"polite",className:"rounded-xl border border-emerald-200 bg-emerald-50 px-4 py-3 text-sm font-medium leading-6 text-emerald-700 dark:border-emerald-400/20 dark:bg-emerald-400/10 dark:text-emerald-300",children:e("form.messages.success")}),S&&(0,t.jsx)("div",{role:"alert","aria-live":"assertive",className:"rounded-xl border border-red-200 bg-red-50 px-4 py-3 text-sm font-medium leading-6 text-red-700 dark:border-red-400/20 dark:bg-red-400/10 dark:text-red-300",children:(0,t.jsx)("p",{children:S})})]}),(0,t.jsx)(g.WhatsappFallbackDialog,{open:!!O,onOpenChange:e=>{e||R("")},whatsappUrl:O})]})]})]})]})}],93380)}]);

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.