1import{a as o,f as s}from"../chunks/BsNHNd8y.js";import"../chunks/B3aGn5yv.js";import{J as O,L as k,M as g,N as d,F as _,O as f,X as b,Y as i,W as q}from"../chunks/DbjKyfMV.js";import{e as I}from"../chunks/DaPDpxHZ.js";import{i as h}from"../chunks/_xkQgCNG.js";import{i as M}from"../chunks/kVoLFCCg.js";const Y=!0,U=Object.freeze(Object.defineProperty({__proto__:null,prerender:Y},Symbol.toStringTag,{value:"Module"}));var j=s('<div class="contact__loading"><p>Sending...</p></div>'),D=s(`<p class="svelte-1bv7ezn">Thank you for reaching out. Your message is currently being validated. If it's 2 authentic, relevant and passes all spam filters, I will reply to you in due time.</p>`),C=s('<p class="svelte-1bv7ezn">Sorry, an error has occurred. Please try again later.</p>'),E=s('<div class="contact__outcome svelte-1bv7ezn"><!></div>'),L=s('<div class="contact__input-group svelte-1bv7ezn"><div class="contact__input-wrapper svelte-1bv7ezn"><input class="contact__input svelte-1bv7ezn" placeholder="Your Name" type="text" id="name" name="name" required=""/></div> <div class="contact__input-wrapper svelte-1bv7ezn"><input class="contact__input svelte-1bv7ezn" placeholder="Email Address" type="email" id="email" name="email" required=""/></div></div> <textarea class="contact__textarea svelte-1bv7ezn" placeholder="Your Message" id="message" name="message" required=""></textarea> <button class="contact__button svelte-1bv7ezn" type="submit">Send Message</button>',1),N=s(`<section class="contact"><h2 class="contact__title">Contact</h2> <p>I have a full-time commitment whilst actively managing multiple projects and contributing to 3 open-source initiatives, but I am always keen to hear about new opportunities and connect with 4 interesting individuals. Kindly no sales or recruitment enquiries please.</p> <form class="contact__form" name="contact" method="POST" enctype="multipart/form-data" id="form"><input type="hidden" name="form-name" value="contact"/> <h3 class="contact__form-title svelte-1bv7ezn">Get in Touch</h3> <!></form></section>`);function W(y,w){O(w,!1);let n=b(""),c=b(!1);const z=async e=>{e.preventDefault(),i(n,"loading");const t=e.target,p=new FormData(t);try{const a=await fetch("https://usebasin.com/f/8c633e3a8918",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(p).toString()});if(!a.ok)throw new Error(`HTTP error! status: ${a.status}`);i(c,!0)}catch(a){console.error("Form submission error:",a),i(c,!1)}const v=setTimeout(()=>{i(n,"triggered"),clearTimeout(v)},2250)};M();var l=N(),m=g(d(l),4),S=d(m),T=g(S,4);{var x=e=>{var t=j();o(e,t)},P=e=>{var t=E(),p=d(t);{var v=r=>{var u=D();o(r,u)},a=r=>{var u=C();o(r,u)};h(p,r=>{_(c)?r(v):r(a,-1)})}f(t),o(e,t)},F=e=>{var t=L();q(4),o(e,t)};h(T,e=>{_(n)==="loading"?e(x):_(n)==="triggered"?e(P,1):e(F,-1)})}f(m),f(l),I("submit",m,z),o(y,l),k()}export{W as component,U as universal};
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.