(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[200],{4504:function(e,t,l){Promise.resolve().then(l.bind(l,7896)),Promise.resolve().then(l.bind(l,7913)),Promise.resolve().then(l.t.bind(l,5878,23)),Promise.resolve().then(l.t.bind(l,2972,23))},7896:function(e,t,l){"use strict";l.d(t,{default:function(){return r}});var s=l(7437),a=l(2265);function r(e){let{children:t="Talk to our team",buttonClassName:l=""}=e,[r,n]=(0,a.useState)(!1),[o,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(""),[u,m]=(0,a.useState)(""),[x,h]=(0,a.useState)(""),[b,f]=(0,a.useState)(""),p=()=>{i(""),d(""),m(""),h(""),f("")};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{type:"button",className:l,onClick:()=>{p(),n(!0)},children:t}),r&&(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-slate-900/70 px-4 py-8 backdrop-blur","aria-modal":"true",role:"dialog",children:(0,s.jsxs)("div",{className:"w-full max-w-lg rounded-3xl border border-slate-800 bg-slate-950 p-6 shadow-2xl",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs uppercase tracking-widest text-cyan-300",children:"Contact Ongea-Tek"}),(0,s.jsx)("h2",{className:"text-2xl font-semibold text-white",children:"Talk to our team"}),(0,s.jsx)("p",{className:"text-sm text-slate-400",children:"We’ll route your inquiry to sales team."})]}),(0,s.jsx)("button",{type:"button",className:"rounded-full border border-slate-700 px-3 py-1 text-sm text-slate-200 transition hover:border-slate-500",onClick:()=>n(!1),children:"Close"})]}),(0,s.jsxs)("form",{className:"mt-6 space-y-4",onSubmit:e=>{if(e.preventDefault(),!o.trim()||!c.trim()||!x.trim()){f("Please add your name, email, and a short message.");return}let t=["Name: ".concat(o),"Email: ".concat(c),u?"Organization: ".concat(u):"","",x].filter(Boolean),l="mailto:info@4paircom.com?subject=".concat(encodeURIComponent("Ongea-Tek inquiry"),"&body=").concat(encodeURIComponent(t.join("\n")));window.location.href=l,p(),n(!1)},children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-sm text-slate-300",htmlFor:"modal-name",children:"Name*"}),(0,s.jsx)("input",{id:"modal-name",className:"mt-1 w-full rounded-lg border border-slate-700 bg-slate-900 px-4 py-2 text-slate-100 focus:border-cyan-400 focus:outline-none",value:o,onChange:e=>i(e.target.value),required:!0})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-sm text-slate-300",htmlFor:"modal-email",children:"Email*"}),(0,s.jsx)("input",{id:"modal-email",type:"email",className:"mt-1 w-full rounded-lg border border-slate-700 bg-slate-900 px-4 py-2 text-slate-100 focus:border-cyan-400 focus:outline-none",value:c,onChange:e=>d(e.target.value),required:!0})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-sm text-slate-300",htmlFor:"modal-org",children:"Organization"}),(0,s.jsx)("input",{id:"modal-org",className:"mt-1 w-full rounded-lg border border-slate-700 bg-slate-900 px-4 py-2 text-slate-100 focus:border-cyan-400 focus:outline-none",value:u,onChange:e=>m(e.target.value)})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-sm text-slate-300",htmlFor:"modal-message",children:"Message*"}),(0,s.jsx)("textarea",{id:"modal-message",rows:4,className:"mt-1 w-full rounded-lg border border-slate-700 bg-slate-900 px-4 py-2 text-slate-100 focus:border-cyan-400 focus:outline-none",value:x,onChange:e=>h(e.target.value),required:!0})]}),b&&(0,s.jsx)("p",{className:"text-sm text-rose-400",children:b}),(0,s.jsx)("button",{type:"submit",className:"w-full rounded-lg bg-cyan-400 px-5 py-3 font-semibold text-slate-950 transition hover:bg-cyan-300",children:"Send request"})]})]})})]})}},7913:function(e,t,l){"use strict";l.d(t,{default:function(){return n}});var s=l(7437),a=l(3145),r=l(2265);function n(e){var t,l,n;let{images:o,interval:i=5e3,overlayLabel:c="Feature highlight"}=e,d=(0,r.useMemo)(()=>{var e;return null!==(e=null==o?void 0:o.filter(e=>!!(null==e?void 0:e.src)))&&void 0!==e?e:[]},[o]),[u,m]=(0,r.useState)(0);(0,r.useEffect)(()=>{if(d.length<=1)return;let e=setInterval(()=>{m(e=>(e+1)%d.length)},i);return()=>clearInterval(e)},[d.length,i]);let x=null!==(t=d[u])&&void 0!==t?t:{src:"",title:"Add feature imagery",caption:"Drop PNG or JPG files into public/images to populate this carousel."};return(0,s.jsxs)("div",{className:"relative flex w-full max-w-md flex-col overflow-hidden rounded-3xl border border-cyan-500/40 bg-slate-950/80 shadow-xl shadow-cyan-500/10 backdrop-blur",children:[x.src?(0,s.jsxs)("div",{className:"relative h-64 w-full",children:[(0,s.jsx)(a.default,{src:x.src,alt:null!==(l=x.title)&&void 0!==l?l:"OngeaTek feature",fill:!0,className:"object-cover",sizes:"(max-width: 768px) 100vw, 400px",priority:!0}),(0,s.jsx)("div",{className:"absolute inset-0 bg-slate-950/20"})]}):(0,s.jsx)("div",{className:"flex h-64 items-center justify-center bg-slate-900 text-slate-400",children:(0,s.jsx)("span",{children:"No slides yet"})}),(0,s.jsxs)("div",{className:"space-y-2 p-6 text-left text-slate-300",children:[(0,s.jsx)("p",{className:"text-xs uppercase tracking-wide text-cyan-300",children:c}),(0,s.jsx)("p",{className:"text-lg font-semibold text-white",children:null!==(n=x.title)&&void 0!==n?n:"Showcase a portal or mobile workflow."}),x.caption&&(0,s.jsx)("p",{className:"text-sm text-slate-400",children:x.caption}),d.length>1&&(0,s.jsx)("div",{className:"flex items-center gap-2 pt-2",children:d.map((e,t)=>(0,s.jsx)("span",{className:"h-1 flex-1 rounded-full ".concat(t===u?"bg-cyan-400":"bg-slate-700")},x.src+t))})]})]})}}},function(e){e.O(0,[972,145,971,117,744],function(){return e(e.s=4504)}),_N_E=e.O()}]);