PageSourceSearch

https://thainexus.co.th/assets/Search-DuNBjYr1.js

js thainexus.co.th collected 2026-10-02 02:40:29 UTC 8,761 bytes, 1 lines download raw bytes

1import{m as x,l as f,n as b,aG as y,aF as v,aL as T,u as k,ar as w,r as u,d as h,j as t,P as N,E as S,S as j,e as m}from"./index-Dr-C1Rfi.js";import{a as C}from"./glossary-DAK3JcAa.js";import{a as L}from"./articleEnrichment--HSc1mVj.js";import{p as H,o as P,t as B}from"./tracking-D8KKzfqI.js";const G=[{title:"International shipping from Thailand",text:"Head-term hub for shipping from Thailand: rates, services, lanes and customs",to:"/international-shipping",group:"Services"},{title:"Compare shipping services from Thailand",text:"Service matrix, surcharges, cut-offs for forwarding, air and sea freight",to:"/compare-services",group:"Services"},{title:"How to address a parcel to Thai Nexus",text:"Copy-ready Hua Hin and Bangkok warehouse address labels with suite code",to:"/guides/how-to-address-a-parcel-to-thai-nexus",group:"Guides"},{title:"Thai shopping platforms: mailbox vs Buy For Me",text:"Shopee Lazada Central Online LINE TikTok Shop Facebook brand sites mailbox proxy buying procurement not a shop directory",to:"/guides/thai-shopping-platforms",group:"Guides"},{title:"Express parcel calculator from Thailand",text:"Live air and express parcel rates: volumetric and chargeable weight, private or business, from Thailand. Not for sea freight.",to:"/shipping-calculator",group:"Tools"},{title:"What happens when it goes wrong",text:"Claims, Shipment Protection, customs holds, damage, loss and notice deadlines",to:"/guides/what-happens-when-it-goes-wrong",group:"Guides"},{title:"What you cannot ship from Thailand",text:"Restricted and prohibited items database: amulets, food, batteries, plants, medication",to:"/guides/what-you-cannot-ship-from-thailand",group:"Guides"},{title:"Which shipping service do I need?",text:"Decision guide across forwarding, proxy buying, air freight, sea freight and fulfilment",to:"/which-service-do-i-need",group:"Guides"},{title:"Thailand Export Shipping Report",text:"Evidence-gated first-party report slots for transit, customs and consolidation metrics",to:"/data/thailand-export-shipping-report",group:"Data"},{title:"Verified customer reviews",text:"Google and Trustpilot ratings and reviews of Thai Nexus",to:"/reviews",group:"Company"},{title:"Locations: Hua Hin HQ and Bangkok",text:"Addresses, phone numbers, hours and directions for both Thai Nexus Point locations",to:"/locations",group:"Company"},{title:"International shipping in Hua Hin",text:"Walk-in international shipping shop in Hua Hin: address, hours, mailbox, forwarding and freight",to:"/locations/hua-hin",group:"Company"},{title:"International shipping in Bangkok",text:"Walk-in international shipping shop in Din Daeng Bangkok: address, hours, Suvarnabhumi air cargo",to:"/locations/bangkok",group:"Company"},{title:"Facilities",text:"Warehouse, packing stations and premises photographs",to:"/facilities",group:"Company"},{title:"Trust, Shipment Protection and payments",text:"Company registration, THB 1,000 standard liability, Shipment Protection terms, payment rules and review destinations",to:"/trust",group:"Company"},{title:"The team behind Thai Nexus",text:"Operations, customs compliance, procurement and support teams working from our Hua Hin and Bangkok facilities",to:"/team",group:"Company"},{title:"Current offers",text:"Wallet top-up bonus and Q4 All-Access Pass for 0 THB proxy fees, free consolidation, and air freight savings",to:"/offers",group:"Company"},{title:"FCL sea freight from Thailand",text:"Full container ocean freight rates and process from Laem Chabang",to:"/services/sea-freight-thailand/fcl",group:"Services"},{title:"LCL sea freight from Thailand",text:"Shared-container ocean freight for boxes and pallets from Thailand - quote on request",to:"/services/sea-freight-thailand/lcl",group:"Services"},{title:"FCL vs LCL volume tool",text:"Sea freight volume guidance: whether full container or shared-container LCL is usually quoted first from Thailand. Not a parcel rate calculator.",to:"/fcl-vs-lcl-calculator",group:"Tools"}],$=[...x.map(e=>({title:e.h1,text:e.capsule,to:`/services/${e.slug}`,group:"Services"})),...f.map(e=>({title:`Shipping from Thailand to ${e.country}`,text:e.capsule,to:`/lanes/${e.slug}`,group:"Popular routes"})),...b.map(e=>({title:`Shipping to ${e.country} from Thailand`,text:e.capsule,to:`/destinations/${e.slug}`,group:"Destinations"})),...y.map(e=>({title:e.h1,text:[e.capsule,...e.ships||[],e.platforms,e.customsRisk].filter(
1Boolean).join(" "),to:`/guides/${e.slug}`,group:"Guides"})),...v.map(e=>({title:e.h1,text:e.capsule,to:`/guides/${e.slug}`,group:"Guides"})),...C.map(e=>({title:e.term,text:e.def,to:"/glossary",group:"Glossary"})),...T.filter(e=>e.imported&&e.robots!=="noindex").map(e=>({title:e.title,text:e.excerpt,to:L(e),group:"Articles"})),...G];function q(e){const i=e.trim().toLowerCase();if(i.length<2)return[];const d=i.split(/\s+/);return $.map(o=>{const n=(o.title+" "+o.text).toLowerCase(),c=d.filter(s=>n.includes(s)).length;if(c===0)return null;const a=o.title.toLowerCase().includes(i)?2:0;return{...o,score:c+a}}).filter(Boolean).sort((o,n)=>n.score-o.score).slice(0,30)}function W(){const e=k(),[i,d]=w(),o=i.get("q")||"",[n,c]=u.useState(o),a=i.get("q")||"",s=u.useMemo(()=>H(a),[a]),l=u.useMemo(()=>s?[]:q(a),[a,s]);u.useEffect(()=>{if(a){if(s){h({query:a,is_tracking_ref:!0}),P(s,{newTab:!0});return}h({query:a,result_count:l.length,is_tracking_ref:!1})}},[a,s,l.length]);const g=r=>{r.preventDefault();const p=n.trim();d(p?{q:p}:{})};return t.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 py-12",children:[t.jsx(N,{title:a?`${e("search.results_title","Search:")} ${a} | Thai Nexus`:e("search.meta.title","Search Thai Nexus | Thai Nexus"),description:e("search.meta.description","Search every service, freight lane, destination customs guide, sourcing guide and glossary term on Thai Nexus."),noindex:!0}),t.jsx(S,{items:[{label:e("search.crumb","Search")}]}),t.jsx("h1",{className:"text-4xl font-extrabold text-primary tracking-tight",children:e("search.h1","Search the site")}),t.jsx("p",{className:"mt-3 text-lg text-foreground/80",children:e("search.intro","Services, lanes, destination customs data, guides, glossary terms, or a TNX tracking number.")}),t.jsxs("form",{onSubmit:g,className:"mt-8 flex gap-3",children:[t.jsxs("label",{className:"relative flex-1",children:[t.jsx("span",{className:"sr-only",children:"Search query"}),t.jsx(j,{className:"w-5 h-5 text-muted-foreground absolute left-3.5 top-1/2 -translate-y-1/2"}),t.jsx("input",{value:n,onChange:r=>c(r.target.value),placeholder:"Try: sea freight germany, de minimis usa, or TNX…",className:"w-full border border-border rounded-md pl-11 pr-4 py-3 text-base bg-white focus:outline-none focus:ring-2 focus:ring-accent",autoFocus:!0})]}),t.jsx("button",{type:"submit",className:"bg-accent text-accent-foreground font-semibold px-6 py-3 rounded-md hover:brightness-95 transition-all",children:e("common.search","Search")})]}),s&&t.jsxs("div",{className:"mt-8 border border-border rounded-lg bg-white p-6",children:[t.jsx("p",{className:"font-mono text-[11px] uppercase tracking-widest text-accent",children:e("common.tracking_number","Tracking number")}),t.jsx("p",{className:"mt-2 font-semibold text-primary font-mono",children:s}),t.jsx("p",{className:"mt-2 text-sm text-foreground/75",children:"Opening live tracking in a new tab. If nothing opened, use the link below."}),t.jsx("a",{href:B(s),target:"_blank",rel:"noopener noreferrer",className:"mt-4 inline-flex font-semibold text-accent hover:underline",children:"Track on tracking.thainexus.co.th"})]}),a&&!s&&t.jsxs("p",{className:"mt-8 font-mono text-xs uppercase tracking-widest text-muted-foreground",children:[l.length," result",l.length===1?"":"s",' for "',a,'"']}),t.jsxs("div",{className:"mt-4 space-y-3",children:[l.map(r=>t.jsxs(m,{to:r.to,className:"block border border-border rounded-lg bg-white p-5 hover:border-accent transition-colors",children:[t.jsx("p",{className:"font-mono text-[10px] uppercase tracking-widest text-accent",children:r.group}),t.jsx("h2",{className:"mt-1 font-semibold text-primary",children:r.title}),t.jsx("p",{className:"mt-1 text-sm text-muted-foreground line-clamp-2",children:r.text})]},r.to+r.title)),a&&!s&&l.length===0&&t.jsxs("div",{className:"border border-border rounded-lg bg-white p-8 text-center",children:[t.jsx("p",{className:"font-semibold text-primary",children:e("common.nothing_matched","Nothing matched that.")}),t.jsxs("p",{className:"mt-2 text-sm text-muted-foreground",children:['Try a country name, a service like "proxy buying", a TNX tracking number, or'," ",t.jsx(m,{to:"/contact",className:"text-accent font-semibold hover:underline",children:"ask us directly"}),", we answer within one business day."]})]})]})]})}export{W as default};

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.