1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69139,e=>{"use strict";e.s(["default",()=>l]);var s=e.i(43476),t=e.i(71645),a=e.i(57688),r=e.i(9039);function l(){let{t:e}=(0,r.useLanguage)(),[l,n]=(0,t.useState)({reason:"",name:"",email:"",phone:"",message:""}),[o,c]=(0,t.useState)(!1),[i,d]=(0,t.useState)({type:null,message:""}),m=[e("contact.form.reason.option1"),e("contact.form.reason.option2"),e("contact.form.reason.option3"),e("contact.form.reason.option4"),e("contact.form.reason.option5"),e("contact.form.reason.option6")],g=async s=>{s.preventDefault(),c(!0),d({type:null,message:""});try{let s=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}),t=await s.json();s.ok?(d({type:"success",message:t.message||e("contact.form.success")}),n({reason:"",name:"",email:"",phone:"",message:""})):d({type:"error",message:t.error||e("contact.form.error")})}catch(s){console.error("Contact form submission error:",s),d({type:"error",message:e("contact.form.network.error")})}finally{c(!1)}},x=e=>{n({...l,[e.target.name]:e.target.value})};return(0,s.jsxs)("div",{className:"min-h-screen -mt-11 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('/images/vector.svg')"},children:[(0,s.jsx)("div",{className:"w-full bg-gray-100",children:(0,s.jsx)("div",{className:"relative w-full h-32 sm:h-40 md:h-56 lg:h-72 xl:h-80",children:(0,s.jsx)(a.default,{src:"/images/banner.jpg",alt:"Contact Banner",fill:!0,className:"object-contain",priority:!0,sizes:"100vw"})})}),(0,s.jsxs)("div",{className:"container mx-auto px-4 py-12",children:[(0,s.jsxs)("div",{className:"text-center mb-12",children:[(0,s.jsxs)("h1",{className:"text-4xl font-bold text-gray-900 mb-4 flex items-center justify-center gap-3",children:[(0,s.jsx)(a.default,{src:"/images/contact.png",alt:"Contact Icon",width:40,height:40,className:"w-10 h-10"}),e("contact.page.title")]}),(0,s.jsx)("p",{className:"text-xl text-gray-600",children:e("contact.page.subtitle")})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12",children:[(0,s.jsxs)("div",{className:"rounded-lg shadow-lg p-8 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('/images/bg.jpg')"},children:[(0,s.jsx)("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:e("contact.form.title")}),(0,s.jsxs)("form",{onSubmit:g,className:"space-y-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{htmlFor:"reason",className:"block text-gray-700 font-semibold mb-2",children:[e("contact.form.reason.label")," ",(0,s.jsx)("span",{className:"text-red-500",children:e("contact.form.required")})]}),(0,s.jsxs)("select",{id:"reason",name:"reason",value:l.reason,onChange:x,required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent",children:[(0,s.jsx)("option",{value:"",children:e("contact.form.reason.placeholder")}),m.map((e,t)=>(0,s.jsx)("option",{value:e,children:e},t))]})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{htmlFor:"name",className:"block text-gray-700 font-semibold mb-2",children:[e("contact.form.name.label")," ",(0,s.jsx)("span",{className:"text-red-500",children:e("contact.form.required")})]}),(0,s.jsx)("input",{type:"text",id:"name",name:"name",value:l.name,onChange:x,required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:e("contact.form.name.placeholder")})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{htmlFor:"email",className:"block text-gray-700 font-semibold mb-2",children:[e("contact.form.email.label")," ",(0,s.jsx)("span",{className:"text-red-500",children:e("contact.form.required")})]}),(0,s.jsx)("input",{type:"email",id:"email",name:"email",value:l.email,onChange:x,required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:e("contact.form.email.placeholder")})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"phone",className:"block text-gray-700 font-semibold mb-2",children:e("contact.form.phone.label")}),(0,s.jsx)("input",{type:"tel",id:"phone",name:"phone",value:l.phone,onChange:x,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:e("contact.form.phone.placeholder")})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("label",{htmlFor:"message",className:"block text-gray-700 font-semibold mb-2",children:[e("contact.form.message.label")," ",(0,s.jsx)("span",{className:"text-red-500",children:e("contact.form.required")})]}),(0,s.jsx)("textarea",{id:"message",name:"message",value:l.message,onChange:x,required:!0,rows:6,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:e("contact.form.message.placeholder")})]}),(0,s.jsx)("button",{type:"submit",disabled:o,className:"w-full bg-blue-600 text-white py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-200 disabled:bg-gray-400 disabled:cursor-not-allowed",children:o?e("contact.form.submit.sending"):e("contact.form.submit.button")}),i.type&&(0,s.jsx)("div",{className:"mt-4 p-4 rounded-lg ".concat("success"===i.t
1ype?"bg-green-50 border border-green-200":"bg-red-50 border border-red-200"),children:(0,s.jsx)("p",{className:"text-sm ".concat("success"===i.type?"text-green-800":"text-red-800"),children:i.message})})]}),(0,s.jsx)("div",{className:"mt-6 p-4 bg-yellow-50 border border-yellow-200 rounded-lg",children:(0,s.jsx)("p",{className:"text-yellow-800 text-sm",children:e("contact.form.warning")})})]}),(0,s.jsxs)("div",{className:"space-y-8",children:[(0,s.jsxs)("div",{className:"rounded-lg shadow-lg p-8 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('/images/bg.jpg')"},children:[(0,s.jsx)("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:e("contact.phone.title")}),(0,s.jsxs)("div",{className:"text-center mb-6",children:[(0,s.jsx)("div",{className:"text-blue-600 text-4xl mb-4",children:"ð"}),(0,s.jsx)("a",{href:"tel:0364539307",className:"text-3xl font-bold text-blue-600 hover:text-blue-800 transition-colors block mb-2",children:"03-6453-9307"}),(0,s.jsx)("p",{className:"text-gray-600",children:e("contact.phone.note")})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center py-2 border-b border-gray-200",children:[(0,s.jsx)("span",{className:"text-gray-700",children:e("contact.phone.reception.label")}),(0,s.jsx)("span",{className:"font-semibold",children:e("contact.phone.reception.time")})]}),(0,s.jsxs)("div",{className:"flex justify-between items-center py-2 border-b border-gray-200",children:[(0,s.jsx)("span",{className:"text-gray-700",children:e("contact.phone.afternoon.label")}),(0,s.jsx)("span",{className:"font-semibold",children:e("contact.phone.afternoon.time")}
1)]}),(0,s.jsxs)("div",{className:"flex justify-between items-center py-2",children:[(0,s.jsx)("span",{className:"text-gray-700",children:e("contact.phone.special.label")}),(0,s.jsx)("span",{className:"font-semibold",children:e("contact.phone.special.time")})]})]}),(0,s.jsxs)("div",{className:"mt-6 p-4 bg-red-50 border border-red-200 rounded-lg",children:[(0,s.jsx)("h3",{className:"font-bold text-red-800 mb-2",children:e("contact.phone.24h.title")}),(0,s.jsx)("p",{className:"text-red-700 text-sm",children:e("contact.phone.24h.note")})]})]}),(0,s.jsxs)("div",{className:"rounded-lg shadow-lg p-8 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('/images/bg.jpg')"},children:[(0,s.jsx)("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:e("contact.fax.title")}),(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"text-gray-600 text-3xl mb-4",children:"ð "}),(0,s.jsx)("div",{className:"text-2xl font-bold text-gray-800",children:"03-6453-9367"})]})]}),(0,s.jsxs)("div",{className:"rounded-lg shadow-lg p-8 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('/images/bg.jpg')"},children:[(0,s.jsxs)("h2",{className:"text-2xl font-bold text-gray-900 mb-6 flex items-center gap-3",children:[(0,s.jsx)(a.default,{src:"/images/access.png",alt:"Location",width:32,height:32,className:"w-7 h-7 lg:w-8 lg:h-8"}),e("contact.location.title")]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-bold text-gray-800 mb-2",children:e("contact.location.address.label")}),(0,s.jsx)("p",{className:"text-gray-700",style:{whiteSpace:"pre-line"},children:e("contact.location.address")})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-bold text-gray-800 mb-2",children:e("contact.location.stations.label")}),(0,s.jsxs)("ul",{className:"text-gray-700 space-y-1",children:[(0,s.jsx)("li",{children:e("contact.location.station1")}),(0,s.jsx)("li",{children:e("contact.location.station2")}),(0,s.jsx)("li",{children:e("contact.location.station3")})]})]})]})]}),(0,s.jsxs)("div",{className:"bg-orange-50 border border-orange-200 rounded-lg p-6",children:[(0,s.jsxs)("h3",{className:"font-bold text-orange-800 mb-4 flex items-center gap-2",children:[(0,s.jsx)(a.default,{src:"/images/notices.png",alt:"Important Notes",width:28,height:28,className:"w-6 h-6 lg:w-7 lg:h-7"}),e("contact.notes.title")]}),(0,s.jsxs)("ul",{className:"space-y-2 text-orange-700 text-sm",children:[(0,s.jsx)("li",{children:e("contact.notes.note1")}),(0,s.jsx)("li",{children:e("contact.notes.note2")}),(0,s.jsx)("li",{children:e("contact.notes.note3")}),(0,s.jsx)("li",{children:e("contact.notes.note4")})]})]})]})]})]})]})}}]);
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.