PageSourceSearch

https://twexapi.io/_next/static/chunks/app/contact/page-6a53576e06d08743.js

js twexapi.io collected 2026-09-24 13:51:19 UTC 16,444 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977],{2202:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var a=r(19114);r(4162);var s=r(87905),l=r(77934);let n=(0,s.F)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:t,variant:r,...s}=e;return(0,a.jsx)("div",{className:(0,l.cn)(n({variant:r}),t),...s})}},12075:(e,t,r)=>{Promise.resolve().then(r.bind(r,18451))},18451:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var a=r(19114),s=r(4162),l=r(92265),n=r(75891),i=r(2202),o=r(33213);let d=e=>{let{className:t}=e;return(0,a.jsx)("svg",{className:t,fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"})})},c=e=>{let{className:t}=e;return(0,a.jsx)("svg",{className:t,fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"})})},m=e=>{let{className:t}=e;return(0,a.jsx)("svg",{className:t,fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})})};function u(){let[e,t]=(0,s.useState)("en"),[r,u]=(0,s.useState)({name:"",email:"",company:"",message:"",subject:"general"}),[h,x]=(0,s.useState)(!1),[p,g]=(0,s.useState)({type:null,message:""});(0,s.useEffect)(()=>{t((0,l.cO)())},[]);let y=(t,r,a)=>"zh"===e?t:"ja"===e?a:r,b=[{icon:d,title:y("邮箱","Email","メール"),description:y("点击发送邮件","Click to send email","クリックしてメールを送信"),link:"mailto:[email protected]"},{icon:c,title:"WhatsApp",value:"+1 (573) 462-2110",description:y("点击跳转到WhatsApp","Click to open WhatsApp","クリックして WhatsApp を開く"),link:"https://wa.me/15734622110"},{icon:c,title:"Telegram",description:y("点击跳转到Telegram","Click to open Telegram","クリックして Telegram を開く"),link:"https://t.me/fastcrawler_real"},{icon:c,title:"Discord",description:y("点击加入Discord服务器","Click to join Discord server","クリックして Discord サーバーに参加"),link:"https://discord.gg/s4jyupzaWu"},{icon:m,title:y("支持时间","Support Hours","サポート時間"),value:y("24/7 在线支持","24/7 Online Support","24 時間 365 日サポート"),description:y("付费用户优先","Priority for Paid Users","有料ユーザー優先")}],f=async e=>{e.preventDefault(),x(!0),g({type:null,message:""});try{let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}),t=await e.json();e.ok&&t.success?(g({type:"success",message:y("谢谢您的留言!我们会尽快回复您。","Thank you for your message! We will get back to you soon.","お問い合わせありがとうございます。できるだけ早くご返信します。")}),u({name:"",email:"",company:"",message:"",subject:"general"})):g({type:"error",message:t.error||y("发送失败,请检查网络后重试。","We couldn't send your message. Check your connection and try again.","送信できませんでした。ネットワークを確認して再試
1行してください。")})}catch(e){console.error("Submit error:",e),g({type:"error",message:y("网络异常,请检查连接后重试。","We couldn't connect. Check your connection and try again.","接続エラーが発生しました。ネットワークを確認して再試行してください。")})}finally{x(!1)}},v=e=>{u({...r,[e.target.name]:e.target.value})};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.Header,{currentLang:e,onLanguageChange:e=>{t(e),localStorage.setItem("twitter-api-language",e)}}),(0,a.jsxs)("div",{className:"min-h-screen gradient-bg relative overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute top-20 right-10 w-96 h-96 bg-emerald-600/10 rounded-full blur-3xl"}),(0,a.jsx)("div",{className:"absolute bottom-20 left-10 w-80 h-80 bg-teal-500/10 rounded-full blur-3xl"}),(0,a.jsxs)("div",{className:"container mx-auto px-4 py-12 relative z-10",children:[(0,a.jsxs)("div",{className:"text-center mb-16",children:[(0,a.jsx)(i.E,{variant:"secondary",className:"mb-6 bg-emerald-500/10 text-emerald-400 border-emerald-500/20",children:y("\uD83D\uDCAC 联系我们","\uD83D\uDCAC Get in Touch","\uD83D\uDCAC お問い合わせ")}),(0,a.jsxs)("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6 leading-tight",children:[y("我们","We","私たちは"),(0,a.jsx)("span",{className:"bg-gradient-to-r from-emerald-400 to-cyan-500 bg-clip-text text-transparent",children:y("随时在线","'re Here to Help","いつでもお手伝いします")})]}),(0,a.jsx)("p",{className:"text-xl text-gray-300 max-w-3xl mx-auto leading-relaxed",children:y("专业的技术支持团队随时为您服务,让我们一起构建出色的解决方案","Our expert support team is ready to help you build amazing solutions","専門サポートチームが、優れたソリューションづくりをお手伝いします")})]}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 gap-12",children:[(0,a.jsxs)("div",{className:"glass-card rounded-2xl shadow-lg p-8 card-hover",children:[(0,a.jsx)("h2",{className:"text-2xl font-bold text-white mb-6",children:y("发送消息","Send Message","メッセージを送る")}),p.type&&(0,a.jsxs)("div",{className:"flex items-start gap-3 p-4 rounded-lg animate-in fade-in duration-300 ".concat("success"===p.type?"bg-green-900/30 border border-green-500/30 text-green-300":"bg-red-900/30 border border-red-500/30 text-red-300"),children:["success"===p.type&&(0,a.jsx)(o.A,{className:"w-5 h-5 flex-shrink-0 mt-0.5 text-green-400","aria-hidden":!0}),(0,a.jsx)("span",{children:p.message})]}),(0,a.jsxs)("form",{onSubmit:f,className:"space-y-6",children:[(0,a.jsxs)("div",{className:"grid md:grid-cols-2 gap-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"contact-name",className:"block text-sm font-medium text-gray-200 mb-2",children:y("姓名 *","Name *","お名前 *")}),(0,a.jsx)("input",{id:"contact-name",type:"text",name:"name",value:r.name,onChange:v,required:!0,className:"w-full px-4 py-3 border border-gray-600 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-emerald-500 bg-gray-700 text-white",placeholder:y("请输入您的姓名","Enter your name","お名前を入力")})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"contact-email",className:"block text-sm font-medium text-gray-200 mb-2",children:y("邮箱 *","Email *","メール *")}),(0,a.jsx)("input",{id:"contact-email",type:"email",name:"email",value:r.email,onChange:v,required:!0,className:"w-full px-4 py-3 border border-gray-600 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-emerald-500 bg-gray-700 text-white",placeholder:y("请输入您的邮箱","Enter your email","メールアドレスを入力")})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"contact-company",className:"block text-sm font-medium text-gray-200 mb-2",children:y("公司名称","Company","会社名")}),(0,a.jsx)("input",{id:"contact-company",type:"text",name:"company",value:r.company,onChange:v,className:"w-full px-4 py-3 border border-gray-600 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-emerald-500 bg-gray-700 text-white",placeholder:y("请输入公司名称(可选)","Enter company name (optional)","会社名を入力(任意)")})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"contact-subject",className:"block text-sm font-medium text-gray-200 mb-2",children:y("咨询类型","Subject","お問い合わせ内容")}),(0,a.jsxs)("select",{id:"contact-subject",name:"subject",value:r.subject,onChange:v,className:"w-full px-4 py-3 border border-gray-600 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-emerald-500 bg-gray-700 text-white",children:[(0,a.jsx)("option",{value:"general",children:y("一般咨询","General Inquiry","一般的なお問い合わせ")}),(0,a.jsx)("option",{value:"technical",children:y("技术支持","Technical Support","技術サポート")}),(0,a.jsx)("option",{value:"pricing",children:y("价格咨询","Pricing Question","料金について")}),(0,a.jsx)("option",{value:"partnership",children:y("合作咨询","Partnership","提携について")})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"contact-message",className:"block text-sm font-medium text-gray-200 mb-2",children:y("消息 *","Message *","メッセージ *")}),(0,a.jsx)("textarea",{id:"contact-message",name:"message",value:r.message,onChange:v,required:!0,rows:5,className:"w-full px-4 py-3 border border-gray-600 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-emerald-500 bg-gray-700 text-white",placeholder:y("请详细描述您的问题或需求...","Please describe your question or requirements in detail...","ご質問やご要望をできるだけ詳しくご記
1入ください...")})]}),(0,a.jsx)("button",{type:"submit",disabled:h,"aria-busy":h,className:"w-full btn-gradient text-white font-semibold py-3 px-6 rounded-lg",children:h?y("发送中…","Sending…","送信中…"):y("发送消息","Send Message","メッセージを送信")})]})]}),(0,a.jsxs)("div",{className:"space-y-8",children:[(0,a.jsxs)("div",{className:"glass-card rounded-2xl shadow-lg p-8 card-hover",children:[(0,a.jsx)("h2",{className:"text-2xl font-bold text-white mb-6",children:y("联系方式","Contact Information","連絡先")}),(0,a.jsx)("div",{className:"space-y-6",children:b.map((e,t)=>{let r=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"bg-emerald-500/10 p-3 rounded-lg",children:(0,a.jsx)(e.icon,{className:"w-6 h-6 text-emerald-400"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-semibold text-white",children:e.title}),e.value&&(0,a.jsx)("p",{className:"text-emerald-400 font-medium",children:e.value}),(0,a.jsx)("p",{className:"text-sm text-gray-300",children:e.description})]})]});return e.link?(0,a.jsx)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-start space-x-4 cursor-pointer hover:opacity-80 transition-opacity",children:r},t):(0,a.jsx)("div",{className:"flex items-start space-x-4",children:r},t)})})]}),(0,a.jsxs)("div",{className:"glass-card rounded-2xl shadow-lg p-8 card-hover",children:[(0,a.jsx)("h3",{className:"text-xl font-bold text-white mb-4",children:y("快速帮助","Quick Help","クイックヘルプ")}),(0,a.jsx)("div",{className:"space-y-3",children:(0,a.jsx)("a",{href:"https://docs.twexapi.io/",target:"_blank",rel:"noopener noreferrer",className:"block text-emerald-400 hover:text-emerald-300",children:y("\uD83D\uDCD6 API 文档","\uD83D\uDCD6 API Documentation","\uD83D\uDCD6 API ドキュメント")})})]})]})]})]})]})]})}},21857:(e,t,r)=>{"use strict";r.d(t,{H4:()=>k,_V:()=>v,bL:()=>f});var a=r(4162),s=r(81339),l=r(1416),n=r(98832),i=r(4754),o=r(19114),d="Avatar",[c,m]=(0,s.A)(d),[u,h]=c(d),x=a.forwardRef((e,t)=>{let{__scopeAvatar:r,...s}=e,[l,n]=a.useState("idle");return(0,o.jsx)(u,{scope:r,imageLoadingStatus:l,onImageLoadingStatusChange:n,children:(0,o.jsx)(i.sG.span,{...s,ref:t})})});x.displayName=d;var p="AvatarImage",g=a.forwardRef((e,t)=>{let{__scopeAvatar:r,src:s,onLoadingStatusChange:d=()=>{},...c}=e,m=h(p,r),u=function(e,t){let[r,s]=a.useState("idle");return(0,n.N)(()=>{if(!e)return void s("error");let r=!0,a=new window.Image,l=e=>()=>{r&&s(e)};return s("loading"),a.onload=l("loaded"),a.onerror=l("error"),a.src=e,t&&(a.referrerPolicy=t),()=>{r=!1}},[e,t]),r}(s,c.referrerPolicy),x=(0,l.c)(e=>{d(e),m.onImageLoadingStatusChange(e)});return(0,n.N)(()=>{"idle"!==u&&x(u)},[u,x]),"loaded"===u?(0,o.jsx)(i.sG.img,{...c,ref:t,src:s}):null});g.displayName=p;var y="AvatarFallback",b=a.forwardRef((e,t)=>{let{__scopeAvatar:r,delayMs:s,...l}=e,n=h(y,r),[d,c]=a.useState(void 0===s);return a.useEffect(()=>{if(void 0!==s){let e=window.setTimeout(()=>c(!0),s);return()=>window.clearTimeout(e)}},[s]),d&&"loaded"!==n.imageLoadingStatus?(0,o.jsx)(i.sG.span,{...l,ref:t}):null});b.displayName=y;var f=x,v=g,k=b},26741:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},33213:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},34268:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},43802:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]])},52464:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},57448:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},59503:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},64641:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},66032:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]])},69334:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},84211:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]])},89685:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},99811:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(19700).A)("SquareTerminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])}},e=>{e.O(0,[6950,8149,4164,3575,2876,2265,1145,3432,5891,8762,2478,1924,7358],()=>e(e.s=12075)),_N_E=e.O()}]);

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.