(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{8373:(e,t,o)=>{Promise.resolve().then(o.bind(o,9809))},9809:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>g});var a=o(5155),n=o(8173),i=o.n(n),r=o(2115),s=o(7754),l=o(3891);let d=[{name:"Beta",price:"Free",color:"#16a34a",desc:"allBeta"},{name:"Pro",price:"฿199",color:"#2563eb",desc:"allPro"},{name:"Business",price:"฿499",color:"#7c3aed",desc:"allBiz"}],c={allBeta:"All features above. Free during beta. No limits.",allPro:"Priority support + API access + custom branding. Launching soon.",allBiz:"Everything in Pro + account manager + SLA."},p=["paymentQr","shareSend","historyInsights","workspace","aiAutomation"];function g(){let{t:e,locale:t,switchLocale:o}=(0,s.B)(),[n,g]=(0,r.useState)(""),[u,f]=(0,r.useState)(!1),[m,y]=(0,r.useState)(!1),x=async()=>{if(n.trim()){y(!0);try{await fetch(l.t+"/api/ideas",{method:"POST",body:JSON.stringify({content:n}),headers:{"Content-Type":"application/json"}}),f(!0),g("")}catch(e){}y(!1)}},b=e("sales.heroTitle"),S=e("sales.heroSub");return(0,a.jsxs)("div",{style:h.page,children:[(0,a.jsxs)("nav",{style:h.nav,children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,a.jsx)("span",{style:h.navLogo,children:"TT"}),(0,a.jsx)("span",{style:{fontWeight:700,fontSize:15},children:"Too Tools"}),"th"===t&&(0,a.jsx)("span",{style:{fontSize:11,color:"var(--text-muted)",marginLeft:8},children:e("sales.tagline")})]}),(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:12},children:[(0,a.jsx)("a",{href:"https://buymeacoffee.com/atisarit",target:"_blank",style:h.coffeeBtn,children:e("sales.coffee")}),(0,a.jsx)("button",{onClick:o,style:h.langBtn,children:"en"===t?"TH":"EN"}),(0,a.jsx)(i(),{href:"/login",style:h.navCta,children:e("sales.signIn")})]})]}),(0,a.jsxs)("header",{style:h.hero,children:[(0,a.jsx)("h1",{style:h.h1,children:b}),(0,a.jsx)("p",{style:h.lead,children:S}),(0,a.jsxs)("div",{style:{display:"flex",gap:12,justifyContent:"center",flexWrap:"wrap"},children:[(0,a.jsxs)(i(),{href:"/login",style:h.cta,children:[e("sales.cta")," →"]}),(0,a.jsx)(i(),{href:"#features",style:h.ctaSec,children:e("sales.seeFeatures")})]})]}),(0,a.jsxs)("section",{id:"features",style:h.section,children:[(0,a.jsx)("h2",{style:h.h2,children:e("sales.whatsInside")}),p.map(t=>(0,a.jsxs)("div",{style:h.catSection,children:[(0,a.jsx)("h3",{style:h.catTitle,children:e("featCats."+t+".title")}),(0,a.jsx)("div",{style:h.grid,children:e("featCats."+t+".items").map((e,t)=>(0,a.jsxs)("div",{style:h.featCard,children:[(0,a.jsx)("strong",{style:{fontSize:14},children:e[0]}),(0,a.jsx)("span",{style:{fontSize:12,color:"var(--text-muted)"},children:e[1]})]},t))})]},t))]}),(0,a.jsxs)("section",{style:{...h.section,background:"#f8fafc"},children:[(0,a.jsx)("h2",{style:h.h2,children:e("sales.pricing")}),(0,a.jsx)("p",{style:{textAlign:"center",color:"var(--text-muted)",fontSize:14,marginBottom:32},children:e("sales.pricingSub")}),(0,a.jsx)("div",{style:{display:"flex",gap:20,justifyContent:"center",flexWrap:"wrap",maxWidth:960,margin:"0 auto"},children:d.map(t=>(0,a.jsxs)("div",{style:{...h.tierCard,borderTop:"4px solid "+t.color},children:[(0,a.jsx)("div",{style:{fontSize:14,fontWeight:700,color:t.color},children:t.name}),(0,a.jsx)("div",{style:{fontSize:24,fontWeight:800,margin:"8px 0"},children:t.price}),(0,a.jsx)("p",{style:{fontSize:12,color:"var(--text-muted)",lineHeight:1.6},children:c[t.desc]}),(0,a.jsx)(i(),{href:"/login",style:{display:"block",textAlign:"center",padding:"10px 20px",borderRadius:10,background:t.color,color:"#fff",fontWeight:600,fontSize:13,textDecoration:"none",marginTop:12},children:"Beta"===t.name?e("sales.getStarted"):e("sales.comingSoon")})]},t.name))})]}),(0,a.jsx)("section",{style:{padding:"48px 20px",background:"#f8fafc",textAlign:"center"},children:(0,a.jsxs)("div",{style:{maxWidth:500,margin:"0 auto"},children:[(0,a.jsx)("h3",{style:{fontSize:16,fontWeight:700,marginBottom:8},children:e("sales.ideaTitle")}),(0,a.jsx)("p",{style:{fontSize:13,color:"var(--text-muted)",marginBottom:16},children:e("sales.ideaSub")}),u?(0,a.jsx)("div",{style:{padding:"12px 16px",borderRadius:10,background:"var(--success-bg)",color:"var(--success)",fontSize:13},children:e("sales.ideaSent")}):(0,a.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,a.jsx)("input",{value:n,onChange:e=>g(e.target.value),placeholder:e("sales.ideaPlaceholder"),style:{flex:1,padding:"10px 14px",borderRadius:10,border:"1px solid var(--border)",fontSize:14,outline:"none"}}),(0,a.jsx)("button",{onClick:x,disabled:!n.trim()||m,style:{padding:"10px 20px",borderRadius:10,border:"none",background:"var(--primary)",color:"#fff",fontWeight:600,fontSize:14,cursor:"pointer",whiteSpace:"nowrap"},children:m?"...":e("sales.ideaSend")})]}),(0,a.jsxs)("div",{style:{marginTop:16,display:"flex",gap:16,justifyContent:"center"},children:[(0,a.jsxs)(i(),{href:"/ideas",style:{fontSize:12,color:"var(--primary)"},children:["\uD83D\uDCA1 ",e("sales.ideaBoard")]}),(0,a.jsxs)(i(),{href:"/chat",style:{fontSize:12,color:"var(--text-muted)"},children:["\uD83D\uDCAC ",e("sales.sayHi")]})]})]})}),(0,a.jsx)("footer",{style:h.footer,children:(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"center",gap:24,flexWrap:"wrap",alignItems:"center"},children:[(0,a.jsx)("span",{style:{fontSize:12,color:"var(--text-muted)"},children:e("sales.footer")}),(0,a.jsx)("a",{href:"https://buymeacoffee.com/atisarit",target:"_blank",style:h.coffeeBtn,children:e("sales.coffee")})]})})]})}let h={page:{fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},nav:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"12px 24px",background:"#fff",borderBottom:"1px solid var(--border)",position:"sticky",top:0,zIndex:10},navLogo:{width:32,height:32,borderRadius:8,background:"#2563eb",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"#fff",fontWeight:800,fontSize:11},coffeeBtn:{fontSize:12,fontWeight:600,color:"#92400e",textDecoration:"none",padding:"6px 12px",borderRadius:8,background:"#ffedd5"},langBtn:{padding:"6px 12px",borderRadius:8,border:"1px solid var(--border)",background:"#fff",fontSize:12,fontWeight:600,cursor:"pointer"},navCta:{fontSize:13,fontWeight:600,color:"#fff",background:"#2563eb",padding:"7px 16px",borderRadius:8,textDecoration:"none"},hero:{textAlign:"center",padding:"80px 20px 48px",maxWidth:640,margin:"0 auto"},h1:{fontSize:32,fontWeight:800,lineHeight:1.2,margin:"0 0 16px",color:"#0f172a"},lead:{fontSize:16,color:"var(--text-muted)",margin:"0 0 28px",lineHeight:1.6},cta:{padding:"14px 28px",borderRadius:12,background:"#2563eb",color:"#fff",fontSize:15,fontWeight:600,textDecoration:"none",display:"inline-block"},ctaSec:{padding:"14px 28px",borderRadius:12,border:"2px solid #e2e8f0",color:"#334155",fontSize:15,fontWeight:600,textDecoration:"none",display:"inline-block"},section:{padding:"64px 20px",maxWidth:960,margin:"0 auto"},h2:{textAlign:"center",fontSize:24,fontWeight:700,margin:"0 0 40px",color:"#0f172a"},catSection:{marginBottom:40},catTitle:{fontSize:13,fontWeight:700,textTransform:"uppercase",letterSpacing:"1px",color:"var(--primary)",marginBottom:16},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(260px, 1fr))",gap:12},featCard:{background:"#fff",borderRadius:10,border:"1px solid var(--border)",padding:"14px 16px",display:"flex",flexDirection:"column",gap:4},tierCard:{flex:"1 1 240px",maxWidth:280,background:"#fff",borderRadius:12,boxShadow:"var(--shadow)",padding:24,display:"flex",flexDirection:"column"},footer:{textAlign:"center",padding:"32px 20px",borderTop:"1px solid var(--border)"}}},7754:(e,t,o)=>{"use strict";o.d(t,{B:()=>r});var a=o(2115);let n={en:JSON.parse('{"app":{"title":"Too Tools","loading":"Loading…"},"nav":{"qrGenerator":"QR Generator","myFeatures":"My Features","history":"History","admin":"Admin","signOut":"Sign out","home":"Home","dashboard":"Dashboard","tokens":"Tokens"},"signin":{"title":"Too Tools","subtitle":"Sign in with Google to access your workspace.","googleBtn":"Sign in with Google","redirecting":"Redirecting…","devLabel":"Local dev - instant login"},"pending":{"title":"Pending Approval","text":"You are signed in as {email}. The owner must approve your account before you can access the workspace.","noteLabel":"Send a note to the admin","notePlaceholder":"Introduce yourself or explain why you need access…","sendBtn":"Send Note","sending":"Sending…","sent":"Note sent. The owner will review your request.","signOut":"Sign out"},"qr":{"heading":"Generate Thai QR","mobileNumber":"Mobile number","shopName":"Shop name (optional)","orderMemo":"Order memo (optional)","amount":"Amount","generateBtn":"Generate QR","generating":"Generating…","disabled":"QR generation is currently disabled for this workspace.","save":"Save","share":"Share","copyLink":"Copy Link","copied":"Copied!","rawPayload":"Show raw payload"},"features":{"heading":"Feature Status","workspace":"Workspace:","enabled":"Enabled","disabled":"Disabled","none":"No features available."},"admin":{"heading":"Admin","members":"Members","featureToggles":"Feature Toggles","email":"Email","name":"Name","status":"Status","note":"Note","approve":"Approve","revoke":"Revoke","reapprove":"Re-approve","toggle":"Toggle","pending":"Pending","denied":"Denied","approved":"Approved","owner":"Owner","noWorkspaces":"No workspaces yet.","catalog":"Catalog:","adminRequired":"Admin access required."},"history":{"heading":"QR History","empty":"No QR codes generated yet.","view":"View"},"summary":{"today":"Today:","qrs":"QRs","total":"Total:"},"sales":{"tagline":"Too many tools for small business","heroTitle":"The complete toolkit for online merchants","heroSub":"Generate PromptPay QR codes, track orders, manage customers - all in one place.","cta":"Start free","seeFeatures":"See features","whatsInside":"Everything you get","pricing":"Pricing","pricingSub":"Everything is free during beta. Upgrade when you grow.","getStarted":"Get started","comingSoon":"Coming soon","footer":"Too Tools - Beta","coffee":"Buy me a coffee","ideaTitle":"Want a new feature?","ideaSub":"Submit your idea - AI will sort it.","ideaSent":"Thanks! Idea sent.","ideaPlaceholder":"e.g. invoice generator, CRM...","ideaSend":"Send","ideaBoard":"Idea Board","sayHi":"Say Hi","signIn":"Sign in"},"featCats":{"paymentQr":{"title":"Payment QR","items":[["PromptPay QR codes","Generate instantly from any mobile number"],["Shop name & memo","Add your shop name and order reference"],["Smart quick amounts","Learns your most-used prices from history"],["Voice input","Speak to fill the form"],["Price suggestion","Suggests amount based on repeat customers"],["Product quick-list","Save items with prices - one tap"],["Tax toggle (VAT 7%)","One switch to include/exclude VAT"],["Custom amounts","Enter any amount"]]},"shareSend":{"title":"Share & Send","items":[["Save as PNG","Download QR image"],["Share via any app","Line, WA, Messenger, etc."],["Line / WA direct send","One-tap open chat with payment details"],["Copy payment link","One-tap copy"],["Short links","tootools.store/p/abc123"],["Auto-reply template","Auto-copy thank you message"]]},"historyInsights":{"title":"History & Insights","items":[["QR history","Every QR saved with date and amount"],["Daily summary","Today count + total"],["Sales insights","Today vs yesterday, weekly, top customer"],["Dashboard charts","7-day revenue bars + stats"],["CSV export","Download for accounting or tax"],["Per-customer stats","Frequency and spend per customer"]]},"workspace":{"title":"Workspace","items":[["Multi-shop","Switch between 2-3 stores"],["Recurring templates","Save repeat orders"],["Product quick-list","Save items with prices"],["Tax toggle (VAT 7%)","One switch for VAT"],["Slip gallery","Attach payment screenshots"],["Team access","Invite staff with roles"]]},"aiAutomation":{"title":"AI & Automation","items":[["AI assistant","Claude AI fills the form"],["Voice QR","Speak to fill"],["Webhook","POST to your URL on every QR"],["Line Notify","New order alerts to Line"],["Daily cron","Auto-summary at 9PM"]]}}}'),th:JSON.parse('{"app":{"title":"Too Tools","loading":"กำลังโหลด…"},"nav":{"qrGenerator":"สร้าง QR","myFeatures":"ฟีเจอร์ของฉัน","history":"ประวัติ","admin":"ผู้ดูแล","signOut":"ออกจากระบบ"},"signin":{"title":"Too Tools","subtitle":"เข้าสู่ระบบด้วย Google เพื่อเข้าถึงพื้นที่ทำงานของคุณ","googleBtn":"เข้าสู่ระบบด้วย Google","redirecting":"กำลังเปลี่ยนหน้า…","devLabel":"Local dev — instant login"},"pending":{"title":"รอการอนุมัติ","text":"คุณเข้าสู่ระบบในชื่อ {email} เจ้าของต้องอนุมัติบัญชีของคุณก่อนจึงจะเข้าใช้งานได้","noteLabel":"ส่งข้อความถึงผู้ดูแล","notePlaceholder":"แนะนำตัวหรืออธิบายว่าทำไมคุณถึงต้องการเข้าใช้งาน…","sendBtn":"ส่งข้อความ","sending":"กำลังส่ง…","sent":"ส่งข้อความแล้ว ผู้ดูแลจะตรวจสอบคำขอของคุณ","signOut":"ออกจากระบบ"},"qr":{"heading":"สร้าง QR โค้ด","desc":"สร้าง QR โค้ดพร้อมเพย์สำหรับร้านค้าของคุณ","mobileNumber":"เบอร์มือถือ","shopName":"ชื่อร้าน (ไม่บังคับ)","orderMemo":"บันทึกคำสั่งซื้อ (ไม่บังคับ)","amount":"จำนวนเงิน","generateBtn":"สร้าง QR","generating":"กำลังสร้าง…","disabled":"การสร้าง QR ถูกปิดใช้งานสำหรับพื้นที่ทำงานนี้","save":"บันทึก","share":"แชร์","copyLink":"คัดลอกลิงก์","copied":"คัดลอกแล้ว!","rawPayload":"แสดงข้อมูลดิบ","qrCode":"QR Code","shop":"ร้านค้า","mobile":"เบอร์","memo":"บันทึก"},"features":{"heading":"สถานะฟีเจอร์","workspace":"พื้นที่ทำงาน:","enabled":"เปิดใช้งาน","disabled":"ปิดใช้งาน","none":"ไม่มีฟีเจอร์"},"admin":{"heading":"ผู้ดูแลระบบ","members":"สมาชิก","featureToggles":"การจัดการฟีเจอร์","email":"อีเมล","name":"ชื่อ","status":"สถานะ","note":"หมายเหตุ","approve":"อนุมัติ","revoke":"เพิกถอน","reapprove":"อนุมัติใหม่","toggle":"สลับ","pending":"รอ","denied":"ปฏิเสธ","approved":"อนุมัติ","owner":"เจ้าของ","noWorkspaces":"ยังไม่มีพื้นที่ทำงาน","catalog":"รายการฟีเจอร์:","adminRequired":"ต้องเป็นผู้ดูแลระบบ"},"history":{"heading":"ประวัติ QR","empty":"ยังไม่มีการสร้าง QR","view":"ดู"},"summary":{"today":"วันนี้:","qrs":"QRs","total":"รวม:"},"sales":{"heroTitle":"เครื่องมือครบวงจรสำหรับร้านค้าออนไลน์","heroSub":"สร้าง QR พร้อมเพย์ ติดตามออเดอร์ จัดการลูกค้า — ทั้งหมดในที่เดียว","cta":"เริ่มใช้ฟรี →","seeFeatures":"ดูฟีเจอร์","whatsInside":"มีอะไรบ้าง","pricing":"ราคา","pricingSub":"เริ่มฟรี อัปเกรดเมื่อธุรกิจคุณโต","getStarted":"เริ่มใช้งาน","comingSoon":"เร็วๆ นี้","footer":"Too Tools — Beta","feats":[{"t":"QR พร้อมเพย์","d":"สร้าง QR โค้ดไทยทันทีจากเบอร์มือถือ"},{"t":"จำนวนเงินอัจฉริยะ","d":"เรียนรู้ราคาที่คุณใช้บ่อยจากประวัติ แตะครั้งเดียว ไม่ต้องพิมพ์"},{"t":"ประวัติทั้งหมด","d":"บันทึกทุก QR ค้นหาตามวันที่ จำนวนเงิน หรือลูกค้า"},{"t":"บันทึกได้ทุกรูปแบบ","d":"บันทึกเป็น PNG คัดลอก แชร์ผ่านแอพ หรือรับลิงก์ชำระเงิน"},{"t":"ข้อมูลเชิงลึก","d":"วันนี้เทียบกับเมื่อวา​น ยอดรวมรายสัปดาห์ ลูกค้าสูงสุด ออเดอร์เฉลี่ย"},{"t":"EN / TH","d":"สลับระหว่างภาษาอังกฤษและภาษาไทยได้ตลอดเวลา"}]}}')},i="tt_locale";function r(){let[e,t]=(0,a.useState)("en");(0,a.useEffect)(()=>{var e;t("th"==(localStorage.getItem(i)||(null===(e=navigator.language)||void 0===e?void 0:e.startsWith("th"))?"th":"en")?"th":"en")},[]);let o=(0,a.useCallback)((t,o)=>{var a;let i=t.split("."),r=null!==(a=n[e])&&void 0!==a?a:n.en;for(let e of i)r=null==r?void 0:r[e];if("string"!=typeof r&&!Array.isArray(r))for(let e of(r=n.en,i))r=null==r?void 0:r[e];if("string"!=typeof r&&!Array.isArray(r))return t;if(o)for(let[e,t]of Object.entries(o))r=r.replace("{".concat(e,"}"),t);return r},[e]),r=(0,a.useCallback)(()=>{let o="en"===e?"th":"en";localStorage.setItem(i,o),t(o)},[e]);return{t:o,locale:e,switchLocale:r}}},3891:(e,t,o)=>{"use strict";o.d(t,{s:()=>n,t:()=>a});let a="https://tklbwa777e.execute-api.ap-southeast-7.amazonaws.com",n={clientId:"13svdul3go3qndhm6e655go1i5",cognitoDomain:"https://thaiqr-auth.auth.ap-southeast-7.amazoncognito.com",redirectUri:"https://tootools.store/login"}}},e=>{var t=t=>e(e.s=t);e.O(0,[173,441,517,358],()=>t(8373)),_N_E=e.O()}]);