PageSourceSearch

https://aikm.ai/assets/contact-DrBUqAIo.js

js aikm.ai collected 2026-10-02 01:11:02 UTC 5,765 bytes, 1 lines download raw bytes

1import{a as e,r as t,s as n}from"./useRouter-Bbx_8wWX.js";import{R as r,dt as i}from"./index-DOrqagtV.js";import{t as a}from"./privacy-policy-Cu40LlY7.js";var o=n(e()),s=t();function c({mailtoUrl:e}){return(0,o.useEffect)(()=>{if(!e)return;let t=document.createElement(`a`);t.href=e,t.style.position=`fixed`,t.style.opacity=`0`,document.body.appendChild(t),t.click(),document.body.removeChild(t)},[e]),(0,s.jsxs)(`div`,{className:`form-success`,role:`status`,children:[(0,s.jsx)(`h2`,{style:{fontSize:`1.2rem`,marginBottom:8},children:`Opening your email app`}),(0,s.jsx)(`p`,{style:{marginBottom:12},children:`We've prepared your message. If your email app didn't open automatically, you can send it manually.`}),(0,s.jsx)(`a`,{className:`cta-btn blue`,href:e,style:{display:`inline-flex`},children:`Send email to AIKm`})]})}function l(){let[e,t]=(0,o.useState)(!1),[n,l]=(0,o.useState)(``);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(`div`,{className:`page-head`,children:(0,s.jsxs)(`div`,{className:`wrap`,children:[(0,s.jsxs)(`nav`,{className:`crumbs`,"aria-label":`Breadcrumb`,children:[(0,s.jsx)(i,{to:`/`,children:`Home`}),` / `,(0,s.jsx)(`span`,{"aria-current":`page`,children:`Contact`})]}),(0,s.jsx)(`p`,{className:`eyebrow`,children:`Contact`}),(0,s.jsx)(`h1`,{children:`Get in touch`}),(0,s.jsx)(`div`,{className:`reveal`,style:{marginTop:24},children:e?(0,s.jsx)(c,{mailtoUrl:n}):(0,s.jsxs)(`form`,{id:`enquiry`,className:`enquiry`,onSubmit:e=>{e.preventDefault();let n=e.currentTarget,r=new FormData(n),i=String(r.get(`name`)||``).trim(),a=String(r.get(`email`)||``).trim(),o=String(r.get(`subject`)||``).trim(),s=String(r.get(`message`)||``).trim();l(`mailto:[email protected]?subject=${encodeURIComponent(o||`Enquiry from aikm.ai`)}&body=${encodeURIComponent(`Name: ${i}\nEmail: ${a}\nSubject: ${o}\n\n${s}`)}`),t(!0)},children:[(0,s.jsx)(`h2`,{style:{fontSize:`1.2rem`,margin:0},children:`Send us a message`}),(0,s.jsxs)(`div`,{className:`duo`,children:[(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`label`,{htmlFor:`name`,children:`Full name`}),(0,s.jsx)(`input`,{id:`name`,name:`name`,type:`text`,required:!0,autoComplete:`name`})]}),(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`label`,{htmlFor:`email`,children:`Email address`}),(0,s.jsx)(`input`,{id:`email`,name:`email`,type:`email`,required:!0,autoComplete:`email`})]})]}),(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`label`,{htmlFor:`subject`,children:`Subject`}),(0,s.jsx)(`input`,{id:`subject`,name:`subject`,type:`text`,required:!0})]}),(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`label`,{htmlFor:`message`,children:`Message`}),(0,s.jsx)(`textarea`,{id:`message`,name:`message`,required:!0})]}),(0,s.jsx)(`button`,{type:`submit`,className:`cta-btn blue`,children:`Request a free consultation`}),(0,s.jsxs)(`p`,{className:`fine`,children:[`We reply within two business days. Prefer email? Write to`,` `,(0,s.jsx)(`a`,{href:`mailto:[email protected]`,children:`[email protected]`}),`.`]})]})})]})}),(0,s.jsx)(`section`,{children:(0,s.jsx)(`div`,{className:`wrap`,children:(0,s.jsxs)(`div`,{className:`reveal`,children:[(0,s.jsx)(`p`,{className:`eyebrow`,children:`Reach us directly`}),(0,s.jsx)(`h2`,{children:`Catch us for help`}),(0,s.jsx)(`p`,{style:{marginBottom:20},children:`Email goes straight to our office. For visits, our office is at Hong Kong Science Park in Pak Shek Kok, N.T.`}),(0,s.jsxs)(`div`,{className:`c-item`,children:[(0,s.jsx)(`div`,{className:`ico`,"aria-hidden":`true`,children:(0,s.jsxs)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,s.jsx)(`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}),(0,s.jsx)(`path`,{d:`m22 6-10 7L2 6`})]})}),(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`h3`,{children:`Email address`}),(0,s.jsx)(`a`,{href:`mailto:[email protected]`,children:`[email protected]`})]})]}),(0,s.jsxs)(`div`,{className:`c-item`,children:[(0,s.jsx)(`div`,{className:`ico`,"aria-hidden":`true`,children:(0,s.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`currentColor`,children:(0,s.jsx)(`path`,{d:`M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15H8v-3h2V9.5C10 7.57 11.57 6 13.5 6H16v3h-2c-.55 0-1 .45-1 1v2h3v3h-3v6.95c5.05-.5 9-4.76 9-9.95z`})})}),(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`h3`,{children:`Facebook Page`}),(0,s.jsx)(`a`,{href:`https://www.facebook.com/AIKmHongKong/`,target:`_blank`,rel:`noopener noreferrer`,children:`facebook.com/AIKmHongKong`})]})]}),(0,s.jsxs)(`div`,{className:`c-item`,children:[(0,s.jsx)(`div`,{className:`ico`,"aria-hidden":`true`,children:(0,s.jsxs)(`svg`,{width:`20`,he
1ight:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,s.jsx)(`path`,{d:`M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z`}),(0,s.jsx)(`circle`,{cx:`12`,cy:`10`,r:`3`})]})}),(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`h3`,{children:`Address`}),(0,s.jsx)(`p`,{children:`6/F, Harbour View 2, 16 Science Park East Avenue, Hong Kong Science Park, N.T., Hong Kong`}),(0,s.jsx)(`a`,{className:`map-link`,href:`https://www.google.com/maps/search/?api=1&query=Harbour+View+2%2C+16+Science+Park+East+Avenue%2C+Hong+Kong+Science+Park`,target:`_blank`,rel:`noopener noreferrer`,children:`Open in Google Maps`})]})]})]})})}),(0,s.jsx)(`section`,{id:`faq`,className:`faq`,children:(0,s.jsxs)(`div`,{className:`wrap`,children:[(0,s.jsxs)(`div`,{className:`sec-head reveal`,children:[(0,s.jsx)(`p`,{className:`eyebrow`,children:`Frequently asked questions`}),(0,s.jsx)(`h2`,{children:`Contacting AIKm: FAQ`})]}),r.map(e=>(0,s.jsxs)(`details`,{children:[(0,s.jsx)(`summary`,{children:e.q}),(0,s.jsx)(`p`,{children:e.a})]},e.q))]})}),(0,s.jsx)(a,{})]})}export{l 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.