PageSourceSearch

https://www.univanich.com/_next/static/chunks/app/%5Blocale%5D/layout-769518746a468f96.js

js univanich.com collected 2026-09-25 05:55:27 UTC 36,502 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1203],{5234:function(e,t,a){Promise.resolve().then(a.bind(a,28349)),Promise.resolve().then(a.bind(a,23852)),Promise.resolve().then(a.bind(a,70306)),Promise.resolve().then(a.bind(a,46993)),Promise.resolve().then(a.bind(a,16456)),Promise.resolve().then(a.t.bind(a,21091,23))},94794:function(e,t,a){"use strict";a.d(t,{ContactForm:function(){return n}});var r=a(57437),s=a(2265);function n(e){let{labels:t,idPrefix:a="",placeholdersOnly:n=!1,compact:l=!1}=e,o=e=>"".concat(a).concat(e),[i,c]=(0,s.useState)(""),[d,m]=(0,s.useState)(""),[h,u]=(0,s.useState)(""),[f,x]=(0,s.useState)("");function p(e){e.preventDefault();let t="".concat(f,"\n\n— ").concat(i,"\n").concat(d),a="mailto:".concat("[email protected]","?subject=").concat(encodeURIComponent(h||"Contact from website"),"&body=").concat(encodeURIComponent(t));window.location.href=a}let b=n?"sr-only":"block text-sm font-medium text-stone-700 mb-1.5",v=l?"w-full rounded-lg border border-stone-200 bg-white px-3 py-2 text-sm text-stone-900 shadow-sm placeholder:text-stone-400 focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/20":"w-full rounded-lg border border-stone-200 bg-white px-4 py-2.5 text-stone-900 shadow-sm placeholder:text-stone-400 focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/20",g=l?"space-y-3":"space-y-4",y=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:o("contact-name"),className:b,children:t.yourName}),(0,r.jsx)("input",{id:o("contact-name"),name:"name",type:"text",required:!0,value:i,onChange:e=>c(e.target.value),placeholder:n?t.yourName:void 0,className:v,autoComplete:"name"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:o("contact-email"),className:b,children:t.yourEmail}),(0,r.jsx)("input",{id:o("contact-email"),name:"email",type:"email",required:!0,value:d,onChange:e=>m(e.target.value),placeholder:n?t.yourEmail:void 0,className:v,autoComplete:"email"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:o("contact-subject"),className:b,children:t.subject}),(0,r.jsx)("input",{id:o("contact-subject"),name:"subject",type:"text",value:h,onChange:e=>u(e.target.value),placeholder:n?t.subject:void 0,className:v})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:o("contact-message"),className:b,children:t.message}),(0,r.jsx)("textarea",{id:o("contact-message"),name:"message",required:!0,rows:l?4:5,value:f,onChange:e=>x(e.target.value),placeholder:n?t.message:void 0,className:"".concat(v," ").concat(l?"resize-none":"resize-y")})]})]}),w=(0,r.jsx)("button",{type:"submit",className:"w-full rounded-lg bg-primary font-semibold text-white shadow-sm transition hover:opacity-90 sm:w-auto ".concat(l?"px-4 py-2.5 text-sm":"px-6 py-3"," ").concat(l?"mt-auto shrink-0 pt-1":""),children:t.submit});return l?(0,r.jsxs)("form",{onSubmit:p,className:"flex min-h-0 flex-1 flex-col",children:[(0,r.jsx)("div",{className:g,children:y}),w]}):(0,r.jsxs)("form",{onSubmit:p,className:g,children:[y,w]})}},28349:function(e,t,a){"use strict";a.d(t,{Footer:function(){return f}});var r=a(57437),s=a(33145),n=a(27648),l=a(42586);let o=(e,t)=>"/".concat(t).concat("/"===e?"":e),i="h-5 w-5 shrink-0",c="inline-flex h-10 w-10 items-center justify-center rounded-full text-stone-300 transition-colors hover:bg-white/10 hover:text-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white/40";function d(e){let{className:t}=e;return(0,r.jsx)("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:(0,r.jsx)("path",{stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 002.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 01-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 00-1.091-.852H4.5A2.25 2.25 0 002.25 4.5v2.25z"})})}function m(e){let{className:t}=e;return(0,r.jsx)("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,
1children:(0,r.jsx)("path",{stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"})})}function h(e){let{className:t}=e;return(0,r.jsxs)("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[(0,r.jsx)("path",{stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M15 10.5a3 3 0 11-6 0 3 3 0 016 0z"}),(0,r.jsx)("path",{stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1115 0z"})]})}function u(e){let{className:t}=e;return(0,r.jsx)("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,children:(0,r.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})}function f(e){let{locale:t}=e,a=(0,l.useTranslations)("nav"),f=(0,l.useTranslations)("ir"),x=(0,l.useTranslations)("home"),p=(0,l.useTranslations)("footer"),b=[{href:"/locations",label:a("locations")},{href:"/estates",label:a("estates")},{href:"/factory-biogas",label:a("factoryBiogas")},{href:"/nurseries",label:a("nurseries")}],v=[{href:"/cpo-pko",label:a("cpoPko")},{href:"/seed-sales",label:a("seedSales")},{href:"/seedling-sales",label:a("seedlingSales")}],g=[{title:a("home"),links:[{href:"/",label:a("home")},{href:"/chairmans-introduction",label:a("chairmanIntro")},{href:"/timeline-of-development",label:a("timeline")},{href:"/business-principles",label:a("businessPrinciples")},{href:"/board-of-directors",label:a("boardOfDirectors")},{href:"/management-team",label:a("managementTeam")},{href:"/awards",label:a("awards")}]},{title:a("sustainability"),links:[{href:"/sustainability",label:a("sustainability")},{href:"/social-sustainability",label:a("socialSustainability")},{href:"/environmental-best-practice-ebp",label:a("environmentalEBP")},{href:"/sustainable-markets",label:a("sustainableMarkets")},{href:"/research-and-development",label:a("researchDev")}]},{title:a("investorRelations"),links:[{href:"/investor-relations/stock-info",label:f("stockInfo")},{href:"/investor-relations/financial-info",label:f("financialInfo")},{href:"/investor-relations/fact-sheet",label:f("shareholderInfo")},{href:"/investor-relations/set-announcements",label:f("setAnnouncements")},{href:"/investor-relations/annual-report",label:f("annualReport")},{href:"/news",label:a("mediaNews")},{href:"/contact",label:a("contact")},{href:"/other-info",label:a("otherInfo")},{href:"/career",label:a("careers")},{href:"/whistleblowing",label:a("whistleblowing")}]}];return(0,r.jsx)("footer",{className:"w-full shrink-0 bg-[#132918] text-stone-200",children:(0,r.jsxs)("div",{className:"box-border w-full max-w-7xl mx-auto px-5 sm:px-8 md:px-10 lg:px-14 xl:px-16 py-12",children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-10 md:grid-cols-2 md:gap-x-8 lg:grid-cols-[minmax(0,1.42fr)_minmax(0,1fr)_minmax(0,0.58fr)_minmax(0,1fr)_minmax(0,1fr)] lg:gap-8",children:[(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)(n.default,{href:o("/",t),className:"inline-block",children:(0,r.jsx)(s.default,{src:"/uvan-logo.png",alt:"Univanich",width:180,height:45,className:"h-10 w-auto brightness-0 invert opacity-95 hover:opacity-100 transition-opacity"})}),(0,r.jsx)("p",{className:"mt-4 text-sm leading-relaxed text-stone-300",children:p("brandBlurb")}),(0,r.jsxs)("p",{className:"text-sm mt-6 mb-2",children:[(0,r.jsx)("span",{className:"text-stone-400",children:x("headquarters")}),(0,r.jsx)("br",{}),x("address")]}),(0,r.jsxs)("p",{className:"text-sm mt-4",children:[(0,r.jsxs)("span",{className:"text-stone-400",children:[x("phone"),":"]})," ",(0,r.jsx)("a",{href:"tel:+6675681116",className:"hover:text-white transition-colors",children:"+66 (0) 75681116"})]}),(0,r.jsxs)("p",{className:"text-sm",children:[(0,r.jsxs)("span",{className:"text-stone-400",children:[x("fax"),":"]})," +66 (0) 681124"]}),(0,r.jsxs)("p",{className:"text-sm",children:[(0,r.jsxs)("span",{className:"text-stone-400",children:[x("email"),":"]})," ",(0,r.jsx)("a",{href:"mailto:[email protected]",className:"hover:text-white transition-colors",children:"[email protected]"})]})]}),g.slice(0,1).map(e=>(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("h3",{className:"font-semibold text-white mb-4",children:e.title}),(0,r.jsx)("ul",{className:"space-y-2",children:e.links.map(e=>{let{href:a,label:s}=e;return(0,r.jsx)("li",{children:(0,r.jsx)(n.default,{href:o(a,t),className:"hover:text-accent transition-colors",children:s})},a)})})]},"footer-nav-home")),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("h3",{className:"font-semibold text-white mb-4",children:a("locations")}),(0,r.jsx)("ul",{className:"space-y-2",children:b.map(e=>{let{href:a,label:s}=e;return(0,r.jsx)("li",{children:(0,r.jsx)(n.default,{href:o(a,t),className:"hover:text-accent transition-colors",children:s})},a)})}),(0,r.jsx)("h3",{className:"font-semibold text-white mt-8 mb-4",children:a("products")}),(0,r.jsx)("ul",{className:"space-y-2",children:v.map(e=>{let{href:a,label:s}=e;return(0,r.jsx)("li",{children:(0,r.jsx)(n.default,{href:o(a,t),className:"hover:text-accent transition-colors",children:s})},a)})})]}),g.slice(1).map((e,a)=>(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("h3",{className:"font-semibold text-white mb-4",children:e.title}),(0,r.jsx)("ul",{className:"space-y-2",children:e.links.map(e=>{let{href:a,label:s}=e;return(0,r.jsx)("li",{children:(0,r.jsx)(n.default,{href:o(a,t),className:"hover:text-accent transition-colors",children:s})},a)})})]},"footer-nav-".concat(a)))]}),(0,r.jsxs)("div",{className:"border-t border-stone-700 mt-8 pt-8 grid grid-cols-1 lg:grid-cols-[7fr_3fr] gap-6 lg:gap-8 items-center text-sm text-stone-400",children:[(0,r.jsxs)("div",{className:"text-center lg:text-left min-w-0",children:[p("copyright",{year:new Date().getFullYear()})," | ",p("allRights")," | ",p("designedBy")," ",(0,r.jsx)("a",{href:"https://phuketians.com",target:"_blank",rel:"noopener noreferrer",className:"text-stone-300 hover:text-white underline-offset-2 hover:underline transition-colors",children:p("creditLinkText")}),"."]}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-center lg:justify-end gap-1 sm:gap-2",children:[(0,r.jsx)("a",{href:"tel:+6675681116",className:c,"aria-label":p("socialPhone"),children:(0,r.jsx)(d,{className:i})}),(0,r.jsx)("a",{href:"mailto:[email protected]",className:c,"aria-label":p("socialEmail"),children:(0,r.jsx)(m,{className:i})}),(0,r.jsx)("a",{href:"https://www.google.com/maps/search/?api=1&query=258+Aoluk-Laemsak+Road%2C+Aoluk%2C+Krabi+81110",target:"_blank",rel:"noopener noreferrer",className:c,"aria-label":p("socialLocation"),children:(0,r.jsx)(h,{className:i})}),(0,r.jsx)("a",{href:"th"===t?"https://www.set.or.th/th/market/product/stock/quote/uvan/factsheet":"https://www.set.or.th/en/market/product/stock/quote/uvan/factsheet",target:"_blank",rel:"noopener noreferrer",className:"".concat(c," w-auto min-w-[2.5rem] px-2"),"aria-label":p("socialSet"),children:(0,r.jsx)("span",{className:"text-[10px] font-bold tracking-tight leading-none border border-current roun
1ded px-1 py-0.5",children:"SET"})}),(0,r.jsx)("a",{href:"https://www.linkedin.com/company/univanich-palm-oil-public-company-limited",target:"_blank",rel:"noopener noreferrer",className:c,"aria-label":p("socialLinkedin"),children:(0,r.jsx)(u,{className:i})})]})]})]})})}},23852:function(e,t,a){"use strict";a.d(t,{Header:function(){return p}});var r=a(57437),s=a(27648),n=a(33145),l=a(99376),o=a(42586),i=a(2265),c=a(94794);let d=[{slug:"social-sustainability",labelKey:"socialSustainability",image:"/images/sustainability/pillars/social-sustainability.jpg"},{slug:"environmental-best-practice-ebp",labelKey:"environmentalEBP",image:"/images/sustainability/pillars/environmental-best-practice.jpg"},{slug:"sustainable-markets",labelKey:"sustainableMarkets",image:"/images/sustainability/pillars/sustainable-markets.jpg"},{slug:"research-and-development",labelKey:"researchDev",image:"/images/sustainability/pillars/research-and-development.jpg"}],m=(e,t)=>"/".concat(e).concat("/"===t?"":t),h={video:{id:"b65e8OqiEUM",start:11},slideshow:{id:"GQcEHHuV3PY",start:6}};function u(e){let{className:t}=e;return(0,r.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,children:(0,r.jsx)("path",{d:"M17 8C8 10 5.9 16.17 3.82 21.34L5.71 22l1-2.3A4.49 4.49 0 0 0 8 20C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5a6.22 6.22 0 0 0 1.75 3.75L7 19l-1.35-3.65C5.1 13.5 8 8 17 8z"})})}function f(e){let{locale:t}=e,a=(0,o.useTranslations)("home"),[n,l]=(0,i.useState)(!1),[f,x]=(0,i.useState)(!1),[p,b]=(0,i.useState)(null),v=(0,i.useRef)(null),g=(0,i.useRef)(null);function y(){b(null),x(!1),g.current=setTimeout(()=>{l(!1),g.current=null},320)}(0,i.useEffect)(()=>{if(!n)return;let e=requestAnimationFrame(()=>{requestAnimationFrame(()=>x(!0))});return()=>cancelAnimationFrame(e)},[n]),(0,i.useEffect)(()=>{if(n&&f){var e;document.body.style.overflow="hidden",null===(e=v.current)||void 0===e||e.focus()}else n||(document.body.style.overflow="");return()=>{n||(document.body.style.overflow="")}},[n,f]),(0,i.useEffect)(()=>{if(!n||!f)return;let e=e=>{"Escape"===e.key&&(p?b(null):y())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[n,f,p]);let w={yourName:a("yourName"),yourEmail:a("yourEmail"),subject:a("subject"),message:a("message"),submit:a("submitContact")};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{type:"button",onClick:function(){g.current&&(clearTimeout(g.current),g.current=null),b(null),l(!0),x(!1)},className:"inline-flex items-center justify-center rounded-lg border border-primary/40 bg-white p-2 text-primary shadow-sm transition hover:border-primary hover:bg-primary/5 sm:p-2.5","aria-label":a("headerContactModalButton"),children:(0,r.jsx)(u,{className:"h-5 w-5 sm:h-6 sm:w-6"})}),n?(0,r.jsxs)("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 sm:p-6",role:"dialog","aria-modal":"true","aria-labelledby":"header-contact-modal-title",children:[(0,r.jsx)("button",{type:"button",className:"absolute inset-0 bg-stone-900/60 backdrop-blur-sm transition-opacity duration-300 ease-out ".concat(f?"opacity-100":"opacity-0"),"aria-label":a("headerContactModalClose"),onClick:y}),(0,r.jsxs)("div",{className:"relative z-[1] flex max-h-[calc(100dvh-1rem)] w-full max-w-5xl flex-col overflow-hidden rounded-2xl border border-stone-200 bg-white shadow-2xl transition-all duration-300 ease-out md:max-h-[min(640px,calc(100vh-2rem))] ".concat(f?"translate-y-0 opacity-100":"translate-y-2 opacity-0"),onClick:e=>e.stopPropagation(),children:[(0,r.jsx)("div",{className:"flex shrink-0 justify-end border-b border-stone-100 bg-white px-3 py-2 sm:px-4",children:(0,r.jsx)("button",{ref:v,type:"button",onClick:y,className:"flex h-9 w-9 items-center justify-center rounded-full text-stone-600 transition hover:bg-stone-100 hover:text-stone-900","aria-label":a("headerContactModalClose"),children:(0,r.jsx)("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,"aria-hidden":!0,children:(0,r.jsx)("path",{d:"M18 6L6 18M6 6l12 12",strokeLinecap:"round",strokeLinejoin:"round"})})})}),(0,r.jsx)("div",{className:"min-h-0 flex-1 overflow-y-auto overscroll-contain pb-[env(safe-area-inset-bottom,0px)] [scrollbar-gutter:stable]",children:(0,r.jsxs)("div",{className:"flex flex-col gap-5 p-5 md:grid md:min-
1h-0 md:grid-cols-2 md:gap-8 md:overflow-hidden md:p-6 lg:p-8",children:[(0,r.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-none flex-col overflow-visible md:flex-1 md:basis-0 md:overflow-hidden",children:[(0,r.jsx)("p",{className:"mb-2 text-[10px] font-bold uppercase tracking-[0.2em] text-primary sm:text-xs",children:a("headerContactModalKicker")}),(0,r.jsx)("h2",{id:"header-contact-modal-title",className:"mb-2 text-lg font-bold leading-tight text-stone-900 sm:text-xl md:text-2xl",children:a("contactLegalName")}),(0,r.jsx)("p",{className:"mb-2 line-clamp-4 text-sm leading-relaxed text-stone-600 sm:line-clamp-5 sm:text-[15px]",children:a("headerContactModalIntro")}),(0,r.jsxs)(s.default,{href:m(t,"/chairmans-introduction"),onClick:y,className:"group mb-2 inline-flex w-fit items-center gap-1 text-xs font-bold uppercase tracking-wide text-primary hover:text-primary-light sm:text-sm",children:[a("readMore"),(0,r.jsx)("span",{"aria-hidden":!0,className:"transition-transform group-hover:translate-x-0.5",children:"→"})]}),(0,r.jsxs)("div",{className:"mb-3 flex flex-wrap gap-2",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>b("video"),className:"inline-flex items-center gap-1.5 rounded-lg border border-primary/50 bg-white px-3 py-1.5 text-xs font-semibold text-primary shadow-sm transition hover:border-primary hover:bg-primary/5 sm:text-sm",children:[(0,r.jsx)("svg",{className:"h-3.5 w-3.5 shrink-0",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,children:(0,r.jsx)("path",{d:"M8 5v14l11-7L8 5z"})}),a("headerModalVideoCta")]}),(0,r.jsxs)("button",{type:"button",onClick:()=>b("slideshow"),className:"inline-flex items-center gap-1.5 rounded-lg border border-primary/50 bg-white px-3 py-1.5 text-xs font-semibold text-primary shadow-sm transition hover:border-primary hover:bg-primary/5 sm:text-sm",children:[(0,r.jsx)("svg",{className:"h-3.5 w-3.5 shrink-0",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,children:(0,r.jsx)("path",{d:"M8 5v14l11-7L8 5z"})}),a("headerModalSlideshowCta")]})]}),(0,r.jsxs)("div",{className:"mt-auto min-h-0 border-t border-stone-100 pt-3",children:[(0,r.jsx)("p",{className:"mb-2 text-[10px] font-bold uppercase tracking-[0.18em] text-stone-500 sm:text-xs",children:a("fourPillars")}),(0,r.jsx)("div",{className:"grid grid-cols-4 gap-2",children:d.map(e=>(0,r.jsxs)(s.default,{href:m(t,"/project/".concat(e.slug)),onClick:y,className:"group block min-w-0 overflow-hidden rounded-lg border border-stone-200 bg-stone-50 transition hover:border-primary hover:shadow-md",title:a(e.labelKey),children:[(0,r.jsx)("div",{className:"relative aspect-square w-full overflow-hidden bg-stone-200",children:(0,r.jsx)("img",{src:e.image,alt:"",className:"h-full w-full object-cover transition duration-300 group-hover:scale-105"})}),(0,r.jsx)("p",{className:"line-clamp-2 px-1 py-1 text-center text-[9px] font-semibold leading-tight text-stone-800 sm:text-[10px]",children:a(e.labelKey)})]},e.slug))})]})]}),(0,r.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-none flex-col overflow-visible rounded-xl border border-stone-200 bg-stone-50/90 p-5 sm:p-6 md:flex-1 md:basis-0 md:overflow-hidden",children:[(0,r.jsxs)("header",{className:"mb-5 shrink-0 border-b border-stone-200/70 pb-5",children:[(0,r.jsxs)("h3",{className:"mb-3 flex items-center gap-2.5 text-base font-bold text-stone-900 sm:text-lg",children:[(0,r.jsx)("span",{className:"h-8 w-1 shrink-0 rounded-full bg-primary","aria-hidden":!0}),a("sendMessage")]}),(0,r.jsx)("p",{className:"pl-3.5 text-sm leading-relaxed text-stone-600 sm:pl-4 sm:text-[15px]",children:a("headerModalFormIntro")})]}),(0,r.jsx)("div",{className:"flex min-h-0 flex-col overflow-visible pt-1 md:flex-1 md:overflow-hidden",children:(0,r.jsx)(c.ContactForm,{labels:w,idPrefix:"header-modal-",placeholdersOnly:!0,compact:!0})})]})]})})]})]}):null,n&&p?(0,r.jsxs)("div",{className:"fixed inset-0 z-[110] flex items-center justify-center p-4 sm:p-8",role:"dialog","aria-modal":"true","aria-label":a("headerModalMediaClose"),children:[(0,r.jsx)("button",{type:"button",className:"absolute inset-0 bg-stone-950/80 backdrop-blur-sm","aria-label":a("headerModalMediaClose"),onClick:()=>b(null)}),(0,r.jsxs)("div",{className:"relative z-[1] w-full max-w-4xl overflow-hidden rounded-xl bg-black shadow-2xl ring-1 ring-white/10",onClick:e=>e.stopPropagation(),children:[(0,r.jsx)("button",{type:"button",onClick:()=>b(null),className:"absolute right-2 top-2 z-10 flex h-10 w-10 items-center justify-center rounded-full bg-white/95 text-stone-900 shadow-md transition hover:bg-white","aria-label":a("headerModalMediaClose"),children:(0,r.jsx)("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,"aria-hidden":!0,
1children:(0,r.jsx)("path",{d:"M18 6L6 18M6 6l12 12",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,r.jsx)("div",{className:"aspect-video w-full",children:(0,r.jsx)("iframe",{title:"video"===p?a("headerModalVideoCta"):a("headerModalSlideshowCta"),src:"https://www.youtube-nocookie.com/embed/".concat(h[p].id,"?autoplay=1&start=").concat(h[p].start,"&rel=0&modestbranding=1"),allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"h-full w-full border-0"})})]})]}):null]})}let x=(e,t)=>"/".concat(t).concat("/"===e?"":e);function p(e){let{locale:t}=e,a=(0,o.useTranslations)("nav"),c=(0,l.usePathname)(),[d,m]=(0,i.useState)(!1),[h,u]=(0,i.useState)(null),p=(0,i.useRef)(null),v="th"===t?"font-normal":"font-medium",g=[{type:"dropdown",labelKey:"home",href:"/",children:[{href:"/chairmans-introduction",labelKey:"chairmanIntro"},{href:"/timeline-of-development",labelKey:"timeline"},{href:"/business-principles",labelKey:"businessPrinciples"},{href:"/board-of-directors",labelKey:"boardOfDirectors"},{href:"/management-team",labelKey:"managementTeam"},{href:"/awards",labelKey:"awards"}]},{type:"dropdown",labelKey:"locations",href:"/locations",children:[{href:"/estates",labelKey:"estates"},{href:"/factory-biogas",labelKey:"factoryBiogas"},{href:"/nurseries",labelKey:"nurseries"}]},{type:"dropdown",labelKey:"products",children:[{href:"/cpo-pko",labelKey:"cpoPko"},{href:"/seed-sales",labelKey:"seedSales"},{href:"/seedling-sales",labelKey:"seedlingSales"}]},{type:"link",href:"/investor-relations",labelKey:"investorRelations"},{type:"dropdown",labelKey:"sustainability",href:"/sustainability",children:[{href:"/social-sustainability",labelKey:"socialSustainability"},{href:"/environmental-best-practice-ebp",labelKey:"environmentalEBP"},{href:"/sustainable-markets",labelKey:"sustainableMarkets"},{href:"/research-and-development",labelKey:"researchDev"}]},{type:"link",href:"/news",labelKey:"mediaNews"},{type:"link",href:"/contact",labelKey:"contact"},{type:"dropdown",labelKey:"otherInfo",href:"/other-info",children:[{href:"/career",labelKey:"careers"},{href:"/whistleblowing",labelKey:"whistleblowing"}]}],y=e=>"/"===e?c==="/".concat(t)||c==="/".concat(t,"/"):c==="/".concat(t).concat(e)||c.startsWith("/".concat(t).concat(e,"/"));return(0,i.useEffect)(()=>{function e(e){p.current&&!p.current.contains(e.target)&&u(null)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,r.jsxs)("header",{className:"sticky top-0 z-50 bg-white border-b border-stone-200 shadow-sm",children:[(0,r.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 flex items-center justify-between h-16",children:[(0,r.jsx)(s.default,{href:x("/",t),className:"flex-shrink-0 flex items-center h-10",children:(0,r.jsx)(n.default,{src:"/uvan-logo.png",alt:"Univanich",width:160,height:40,className:"h-10 w-auto",priority:!0})}),(0,r.jsx)("nav",{ref:p,className:"site-header-desktop-nav items-center gap-1",children:g.map(e=>{if("link"===e.type)return(0,r.jsx)(s.default,{href:x(e.href,t),className:"px-3 py-2 text-[0.95rem] ".concat(v," rounded-md ").concat(y(e.href)?"text-primary":"text-stone-600 hover:text-primary hover:bg-stone-100"),children:a(e.labelKey)},e.href);let n=h===e.labelKey,l=e.children.some(e=>y(e.href));return(0,r.jsxs)("div",{className:"relative",onMouseEnter:()=>u(e.labelKey),onMouseLeave:()=>u(null),children:[(0,r.jsxs)("div",{className:"flex items-center",children:[e.href?(0,r.jsx)(s.default,{href:x(e.href,t),className:"px-3 py-2 text-[0.95rem] ".concat(v," rounded-md ").concat(y(e.href)||l?"text-primary":"text-stone-600 hover:text-primary hover:bg-stone-100"),children:a(e.labelKey)}):(0,r.jsx)("span",{className:"px-3 py-2 text-[0.95rem] ".concat(v," rounded-md cursor-pointer ").concat(l?"text-primary":"text-stone-600 hover:text-primary hover:bg-stone-100"),onClick:()=>u(n?null:e.labelKey),children:a(e.labelKey)}),(0,r.jsx)("button",{type:"button",className:"p-1 -ml-1 rounded hover:bg-stone-100",onClick:()=>u(n?null:e.labelKey),"aria-expanded":n,"aria-label":"Toggle menu",children:(0,r.jsx)("svg",{className:"w-4 h-4 text-stone-500 transition-transform ".concat(n?"rotate-180":""),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]}),(0,r.jsx)("div",{className:"absolute left-0 top-full pt-1 ".concat(n?"block":"hidden"),onMouseLeave:()=>u(null),children:(0,r.jsx)("div",{className:"py-1 bg-white rounded-md border border-stone-200 shadow-lg min-w-max max-w-[min(100vw-2rem,22rem)]",children:e.children.map(e=>(0,r.jsx)(s.default,{href:x(e.href,t),className:"block px-4 py-2 text-[0.95rem] ".concat(v," ").concat(y(e.href)?"text-primary bg-primary/5":"text-stone-700 hover:bg-stone-100"),onClick:()=>u(null),children:a(e.labelKey)},e.href))})})]},e.labelKey)})}),(0,r.jsxs)("div",{className:"flex items-center gap-2 sm:gap-3",children:[(0,r.jsx)(f,{locale:t}),(0,r.jsx)(s.default,{href:c.replace("/".concat(t),"en"===t?"/th":"/en"),className:"text-sm text-stone-600 hover:text-primary",children:"en"===t?"TH":"EN"}),(0,r.jsxs)("button",{type:"button",className:"site-header-menu-toggle p-2",onClick:()=>m(!d),"aria-label":"Menu",children:[(0,r.jsx)("span",{className:"block w-6 h-0.5 bg-stone-700 mb-1"}),(0,r.jsx)("span",{className:"block w-6 h-0.5 bg-stone-700 mb-1"}),(0,r.jsx)("span",{className:"block w-6 h-0.5 bg-stone-700"})]})]})]}),d&&(0,r.jsx)("div",{className:"site-header-mobile-panel border-t border-stone-200 bg-white py-4 px-4",children:(0,r.jsx)("nav",{className:"flex flex-col gap-1",children:g.map(e=>"link"===e.type?(0,r.jsx)(s.default,{href:x(e.href,t),className:"py-2 px-3 text-[0.95rem] ".concat(v," text-stone-700 hover:text-primary hover:bg-stone-50 rounded-md"),onClick:()=>m(!1),children:a(e.labelKey)},e.href):(0,r.jsx)(b,{label:a(e.labelKey),href:e.href?x(e.href,t):void 0,children:e.children.map(e=>({href:x(e.href,t),label:a(e.labelKey)})),onNavigate:()=>m(!1),menuFontWeight:v},e.labelKey))})})]})}function b(e){let{label:t,href:a,children:n,onNavigate:l,menuFontWeight:o}=e,[c,d]=(0,i.useState)(!1);return(0,r.jsxs)("div",{className:"border-b border-stone-100 last:border-0",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between py-2",children:[a?(0,r.jsx)(s.default,{href:a,className:"text-[0.95rem] ".concat(o," text-stone-700 hover:text-primary"),onClick:l,children:t}):(0,r.jsx)("span",{className:"text-[0.95rem] ".concat(o," text-stone-700"),children:t}),(0,r.jsx)("button",{type:"button",className:"p-2 -mr-2",onClick:()=>d(!c),"aria-expanded":c,children:(0,r.jsx)("svg",{className:"w-4 h-4 text-stone-500 transition-transform ".concat(c?"rotate-180":""),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]}),c&&(0,r.jsx)("div",{className:"pl-4 pb-2 flex flex-col gap-1",children:n.map(e=>(0,r.jsx)(s.default,{href:e.href,className:"py-1.5 text-[0.95rem] ".concat(o," text-stone-600 hover:text-primary"),onClick:l,children:e.label},e.href))})]})}},70306:function(e,t,a){"use strict";a.d(t,{ScrollToTopButton:function(){return c}});var r=a(57437),s=a(2265),n=a(42586),l=a(95694),o=a.n(l);let i=2*Math.PI*17;function c(){let e=(0,n.useTranslations)("common"),[t,a]=(0,s.use
1State)(0),[l,c]=(0,s.useState)(!1),d=(0,s.useCallback)(()=>{let e=document.documentElement,t=e.scrollTop,r=e.scrollHeight-e.clientHeight;a(Math.min(1,Math.max(0,r>0?t/r:0))),c(t>160)},[]);return(0,s.useEffect)(()=>(d(),window.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d,{passive:!0}),()=>{window.removeEventListener("scroll",d),window.removeEventListener("resize",d)}),[d]),(0,r.jsxs)("button",{type:"button",onClick:()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)").matches;window.scrollTo({top:0,behavior:e?"auto":"smooth"})},"aria-label":e("scrollToTop"),className:"".concat(o().root," ").concat(l?o().visible:o().hidden),children:[(0,r.jsx)("svg",{className:"absolute inset-0 h-full w-full text-primary",width:38,height:38,viewBox:"0 0 ".concat(38," ").concat(38),"aria-hidden":!0,children:(0,r.jsxs)("g",{transform:"translate(".concat(19," ").concat(19,") rotate(-90)"),children:[(0,r.jsx)("circle",{r:17,cx:0,cy:0,fill:"none",className:"stroke-slate-200",strokeWidth:2}),(0,r.jsx)("circle",{r:17,cx:0,cy:0,fill:"none",className:"stroke-current",strokeWidth:2,strokeLinecap:"round",strokeDasharray:i,strokeDashoffset:i*(1-t)})]})}),(0,r.jsx)("svg",{className:"relative z-10 h-[15px] w-[15px] shrink-0 text-primary",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:(0,r.jsx)("path",{d:"M6 15l6-6 6 6"})})]})}},46993:function(e,t,a){"use strict";a.d(t,{SitePopup:function(){return d}});var r=a(57437),s=a(33145),n=a(27648),l=a(99376),o=a(2265),i=a(3473);function c(e){return"uvan-site-popup:never:".concat(e.id,":").concat(e.updatedAt||"0")}function d(e){var t;let{locale:a}=e,d=(0,l.usePathname)(),[m,h]=(0,o.useState)([]),[u,f]=(0,o.useState)(new Set),[x,p]=(0,o.useState)(!1),[b,v]=(0,o.useState)(!1),[g,y]=(0,o.useState)(!1),w=(0,o.useRef)(null),j=(0,o.useRef)(null);(0,o.useEffect)(()=>{let e=!1;return(async()=>{try{let t=await fetch("/api/site-popup",{cache:"no-store"}),a=await t.json();!e&&t.ok&&Array.isArray(a.items)?h(a.items):e||h([])}catch(t){e||h([])}})(),()=>{e=!0}},[]),(0,o.useEffect)(()=>{v(!0)},[]);let N=(0,o.useMemo)(()=>b?function(e,t,a){for(let r of(0,i.h4)(e))if(!(!r.enabled||!r.imageUrl.trim()||!(0,i.Fi)(t,r)||a.has(r.id))&&!function(e){try{return"1"===localStorage.getItem(c(e))}catch(e){return!1}}(r))return r;return null}(m,d,u):null,[m,d,b,u]),k=(0,o.useCallback)(()=>{if(N&&(f(e=>{let t=new Set(e);return t.add(N.id),t}),g))try{localStorage.setItem(c(N),"1")}catch(e){}p(!1)},[N,g]);if((0,o.useEffect)(()=>{y(!1)},[null==N?void 0:N.id]),(0,o.useEffect)(()=>{if(p(!1),w.current&&(clearTimeout(w.current),w.current=null),N)return w.current=setTimeout(()=>{p(!0)},N.delayMs),()=>{w.current&&clearTimeout(w.current)}},[N,d]),(0,o.useEffect)(()=>{if(x&&N&&!(N.durationMs<=0))return j.current=setTimeout(()=>{k()},N.durationMs),()=>{j.current&&clearTimeout(j.current)}},[x,N,k]),!N||!x)return null;let C=N.clickHref.trim(),M=/^https?:\/\//i.test(C),K=M?null:(0,i.Lb)(N.clickHref,a),L="none"===(t=N.animation)?"":"site-popup-panel--".concat(t),S=(0,r.jsx)(s.default,{src:N.imageUrl,alt:"",width:1200,height:1600,className:"h-auto w-full max-h-[78vh] object-contain",unoptimized:!0,priority:!0});return(0,r.jsxs)("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 sm:p-6",role:"dialog","aria-modal":"true","aria-label":"Announcement",children:[(0,r.jsx)("button",{type:"button",className:"absolute inset-0 bg-black/55 backdrop-blur-[2px]","aria-label":"Close",onClick:k}),(0,r.jsxs)("div",{className:"relative z-10 max-h-[88vh] w-full max-w-[min(92vw,560px)] rounded-lg bg-white p-3 shadow-2xl ring-1 ring-black/10 ".concat(L),children:[(0,r.jsx)("button",{type:"button",onClick:k,className:"absolute right-2 top-2 z-20 flex h-9 w-9 items-center justify-center rounded-full bg-stone-800/85 text-lg font-light text-white hover:bg-stone-900","aria-label":"Close",children:"\xd7"}),(0,r.jsx)("div",{className:"relative mx-auto max-h-[80vh] w-full overflow-auto pt-2",children:M?(0,r.jsx)("a",{href:C,target:"_blank",rel:"noopener noreferrer",onClick:k,className:"block outline-none focus-visible:ring-2 focus-visible:ring-primary",children:S}):K?(0,r.jsx)(n.default,{href:K,onClick:k,className:"block outline-none focus-visible:ring-2 focus-visible:ring-primary",children:S}):(0,r.jsx)("button",{type:"button",onClick:k,className:"block w-full",children:S})}),(0,r.jsxs)("label",{className:"mt-3 flex items-center gap-2 px-1 text-sm text-stone-600",children:[(0,r.jsx)("input",{type:"checkbox",checked:g,onChange:e=>
1y(e.target.checked),className:"h-4 w-4 rounded border-stone-300 text-primary focus:ring-primary"}),(0,r.jsx)("span",{children:"th"===a?"ไม่ต้องแสดงอีก":"Don't show again"})]})]})]})}},3473:function(e,t,a){"use strict";function r(){return{name:"New popup",order:0,enabled:!1,imageUrl:"",showOn:{allPages:!1,home:!0,newsList:!1,newsPost:!1,extraPathPrefixes:[]},animation:"fade",delayMs:800,durationMs:0,clickHref:""}}function s(e){return[...e].sort((e,t)=>e.order!==t.order?e.order-t.order:e.id.localeCompare(t.id))}function n(e,t){if(!t.enabled||!t.imageUrl.trim())return!1;let a=function(e){let t=e.match(/^\/(en|th)(\/.*)?$/);return t?t[2]||"/":e.startsWith("/")?e:"/".concat(e)}(e),{showOn:r}=t;if(r.allPages||r.home&&("/"===a||""===a)||r.newsList&&"/news"===a||r.newsPost&&a.startsWith("/news/")&&a.length>6)return!0;for(let e of r.extraPathPrefixes)if(function(e,t){let a=t.trim().replace(/^\/+/,"");if(!a)return!1;let r=e.startsWith("/")?e:"/".concat(e),s="/".concat(a);return r===s||r.startsWith("".concat(s,"/"))}(a,e))return!0;return!1}function l(e,t){let a=e.trim();if(!a)return null;if(/^https?:\/\//i.test(a))return a;let r=a.startsWith("/")?a:"/".concat(a);return/^\/(en|th)(?=\/|$)/.test(r)?r||"/":((r=r||"/").startsWith("/")||(r="/".concat(r)),"/".concat(t).concat("/"===r?"":r))}a.d(t,{Fi:function(){return n},Lb:function(){return l},e:function(){return r},h4:function(){return s}})},16456:function(e,t,a){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}a.d(t,{default:function(){return l}});var s=a(2265),n=a(69362);function l(e){let{locale:t,...a}=e;if(!t)throw Error("Failed to determine locale in `NextIntlClientProvider`, please provide the `locale` prop explicitly.\n\nSee https://next-intl.dev/docs/configuration#locale");return s.createElement(n.IntlProvider,r({locale:t},a))}},33145:function(e,t,a){"use strict";a.d(t,{default:function(){return s.a}});var r=a(48461),s=a.n(r)},27648:function(e,t,a){"use strict";a.d(t,{default:function(){return s.a}});var r=a(72972),s=a.n(r)},48461:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(t,{default:function(){return i},getImageProps:function(){return o}});let r=a(47043),s=a(55346),n=a(65878),l=r._(a(5084));function o(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,a]of Object.entries(t))void 0===a&&delete t[e];return{props:t}}let i=n.Image},95694:function(e){e.exports={root:"ScrollToTopButton_root__wf5Oe",hidden:"ScrollToTopButton_hidden__WwYsX",visible:"ScrollToTopButton_visible__lkNvH"}},21091:function(e){e.exports={style:{fontFamily:"'__Kanit_23c6a2', '__Kanit_Fallback_23c6a2'",fontStyle:"normal"},className:"__className_23c6a2"}}},function(e){e.O(0,[8841,2972,5878,2586,2971,2117,1744],function(){return e(e.s=5234)}),_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.