1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,30137,e=>{"use strict";var t=e.i(43476),a=e.i(71645),l=e.i(53145),i=e.i(94814),r=e.i(62201),s=e.i(46932),o=e.i(88653),n=e.i(75157),c=e.i(11771);let m=[{id:"fullName",label:"貴社å / ãåå",placeholder:"å±±ç° å¤ªé / ãã¾ã ããã",type:"text"},{id:"email",label:"ã¡ã¼ã«ã¢ãã¬ã¹",placeholder:"[email protected]",type:"email"},{id:"phone",label:"æ¥ä¸ãé£çµ¡å¯è½ãªé»è©±çªå·",placeholder:"+91 90876 54321",type:"tel"},{id:"message",label:"ãåãåããå
容",placeholder:"ããã«ã¡ãã»ã¼ã¸ãå
¥åãã¦ãã ãã",type:"textarea"}],d="æåºãã",p="ã¡ãã»ã¼ã¸ãéä¿¡ãã¾ããï¼",x="ãåãåããããã ããããã¨ããããã¾ããæ
å½è
ããæãè¿ããé£çµ¡ãããã¾ãã",u=r.object({fullName:r.string().trim().min(2,"ãååã¯2æå以ä¸ã§å
¥åãã¦ãã ãã").max(100,"ãååã¯100æå以å
ã§å
¥åãã¦ãã ãã"),email:r.string().trim().min(1,"ã¡ã¼ã«ã¢ãã¬ã¹ã¯å¿
é ã§ã").email("æ£ããã¡ã¼ã«ã¢ãã¬ã¹ã®å½¢å¼ã§å
¥åãã¦ãã ãã"),phone:r.string().trim().min(1,"é»è©±çªå·ã¯å¿
é ã§ã").transform(e=>e.replace(/[\s\-().]/g,"")).pipe(r.string().regex(/^\+?\d{7,15}$/,"æ£ããé»è©±çªå·ã®å½¢å¼ã§å
¥åãã¦ãã ãã (ä¾: 09012345678)")),message:r.string().trim().min(10,"ã¡ãã»ã¼ã¸ã¯10æå以ä¸ã§å
¥åãã¦ãã ãã").max(2e3,"ã¡ãã»ã¼ã¸ã¯2000æå以å
ã§å
¥åãã¦ãã ãã")});e.s(["default",0,({className:e})=>{let[r,f]=(0,a.useState)(!1),[h,g]=(0,a.useState)(!1),b=(0,l.useForm)({resolver:(0,i.zodResolver)(u),defaultValues:{fullName:"",email:"",phone:"",message:""}}),y=async e=>{let t=new URLSearchParams({name:e.fullName,email:e.email,phone_no:e.phone,comments:e.message,websitePage:"Home Page (JP)",source:"japan"});g(!0);try{let e=await fetch("https://script.google.com/macros/s/AKfycbxSZowZN75SIVoawiH-apvtjeTCCveG2yfz2rKVtMz4a-SoKmYuware7zgcryYBd-DJQg/exec",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:t.toString()});if(!e.ok)throw Error(`Server error: ${e.status}`);f(!0),setTimeout(()=>{f(!1),b.reset()},4e3)}catch(e){console.error("Form submission failed:",e)}finally{g(!1)}};return(0,t.jsx)("div",{className:(0,n.cn)("border-navis-divider bg-contact-form-bg flex min-h-128 w-full flex-col items-start justify-center rounded-2xl border p-6 lg:min-h-144 lg:max-w-xl lg:gap-2.5 lg:px-14 lg:pt-9 lg:pb-10",e),children:(0,t.jsx)(o.AnimatePresence,{mode:"wait",children:r?(0,t.jsxs)(s.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.5,ease:[.16,1,.3,1]},className:"flex flex-col items-center justify-center gap-4 py-12 text-center w-full",children:[(0,t.jsx)("div",{className:"bg-primary/10 text-primary flex h-16 w-16 animate-bounce items-center justify-center rounded-full",children:(0,t.jsx)("svg",{className:"h-8 w-8",fill:"none",stroke:"currentColor",strokeWidth:2.5,viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})})}),(0,t.jsx)("h3",{className:"text-text-main font-sans text-2xl font-semibold capitalize",children:p}),(0,t.jsx)("p",{className:"text-text-muted max-w-sm font-sans text-base leading-relaxed font-medium",children:x})]},"success"):(0,t.jsxs)(s.motion.form,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},onSubmit:b.handleSubmit(y),className:"flex w-full flex-col items-start gap-9",children:[m.map(e=>(0,t.jsxs)("div",{className:"flex w-full flex-col items-start gap-1 lg:max-w-lg",children:[(0,t.jsx)("label",{className:"text-text-main font-sans text-lg md:text-[20px] font-semibold leading-none capitalize",children:e.label}),(0,t.jsx)("div",{className:"relative w-full",children:"textarea"===e.type?(0,t.jsx)("textarea",{...b.register(e.id),placeholder:e.placeholder,className:"border-border-divider focus-visible:border-primary min-h-18 w-full resize-none rounded-none border-0 border-b bg-transparent px-0 py-1.5 font-sans text-lg md:text-[20px] font-medium text-black/50 leading-none transition-colors placeholder:text-lg placeholder:font-medium placeholder:text-black/30 focus-visible:outline-none focus-visible:ring-0 capitalize"}):(0,t.jsx)("input",{...b.register(e.id),type:e.type,placeholder:e.placeholder,className:"border-border-divider focus-visible:border-primary h-12 w-full rounded-none border-0 border-b bg-transparent px-0 py-1.5 font-sans text-lg md:text-[20px] font-medium text-black/50 leading-none transition-colors placeholder:text-lg placeholder:font-medium placeholder:text-black/30 focus-visible:outline-none focus-visible:ring-0 capitalize"})}),b.formState.errors[e.id]&&(0,t.jsx)("span",{className:"text-primary mt-1 font-sans text-xs",children:b.formState.errors[e.id]?.message})]},e.id)),(0,t.jsx)("div",{className:"mt-1 w-full lg:w-auto",children:(0,t.jsx)(c.default,{type:"submit",disabled:h,variant:"primary",className:"flex items-center justify-center gap-2 border-0 px-6 py-2 h-11 text-base font-medium text-white transition-transform hover:scale-105 active:scale-95 disabled:cursor-not-allowed disabled:opacity-70 lg:w-auto",children:h?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{className:"h-4 w-4 animate-spin text-white",viewBox:"0 0 24 24",fill:"none",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"})]}),"éä¿¡ä¸..."]}):d})})]},"form")})})}],30137)}]);
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.