1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{1216:(e,t,a)=>{"use strict";a.d(t,{EcosystemSection:()=>b});var i=a(5155),n=a(5239),l=a(2619),s=a.n(l),r=a(2115),o=a(1407),c=a(4570),d=a(7477),p=a(3516),x=a(8552);let u="/images/explore/corporate.jpg",h=["yourCup","hospitality","teaExperiences","schoolOfTea","purpose","family"],m={width:18,height:18,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round"},f={yourCup:(0,i.jsxs)("svg",{...m,"aria-hidden":"true",children:[(0,i.jsx)("path",{d:"M4 8h13v3a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V8Z"}),(0,i.jsx)("path",{d:"M17 9h1.5a2.5 2.5 0 0 1 0 5H17"}),(0,i.jsx)("path",{d:"M8 3c-.6.8-.6 1.7 0 2.5M12 3c-.6.8-.6 1.7 0 2.5"}),(0,i.jsx)("path",{d:"M4 20h13"})]}),hospitality:(0,i.jsxs)("svg",{...m,"aria-hidden":"true",children:[(0,i.jsx)("path",{d:"M4 20c0-8 6-13 16-13 0 9-5 14-12 14-1.6 0-2.7-.4-4-1Z"}),(0,i.jsx)("path",{d:"M4 20c3-5 7-8 11-9"})]}),teaExperiences:(0,i.jsxs)("svg",{...m,"aria-hidden":"true",children:[(0,i.jsx)("path",{d:"M5 17h14"}),(0,i.jsx)("path",{d:"M6 17v-4a6 6 0 0 1 12 0v4"}),(0,i.jsx)("path",{d:"M12 4.5V3"}),(0,i.jsx)("path",{d:"M10.5 20h3"})]}),schoolOfTea:(0,i.jsxs)("svg",{...m,"aria-hidden":"true",children:[(0,i.jsx)("path",{d:"M3 8.5 12 5l9 3.5L12 12 3 8.5Z"}),(0,i.jsx)("path",{d:"M7 10.5V15c0 1.2 2.2 2.5 5 2.5s5-1.3 5-2.5v-4.5"}),(0,i.jsx)("path",{d:"M21 8.5V13"})]}),purpose:(0,i.jsx)("svg",{...m,"aria-hidden":"true",children:(0,i.jsx)("path",{d:"M12 20s-7-4.4-7-9.3A4.1 4.1 0 0 1 12 8a4.1 4.1 0 0 1 7 2.7C19 15.6 12 20 12 20Z"})}),family:(0,i.jsxs)("svg",{...m,"aria-hidden":"true",children:[(0,i.jsx)("path",{d:"M4 21V6a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v15"}),(0,i.jsx)("path",{d:"M13 21V10h6a1 1 0 0 1 1 1v10"}),(0,i.jsx)("path",{d:"M3 21h18"}),(0,i.jsx)("path",{d:"M7 9h2M7 13h2M16 14h1M16 17h1"})]})},g={yourCup:{label:"Your Cup",barLabel:"Your Cup",image:"/images/explore/your-cup.jpg",alt:"Dilmah teas and infusions",title:"Discover our teas",description:"From wellness and gifting to refined luxury tea experiences, discover the world of Dilmah teas and infusions.",links:[{label:"Luxury Collection",href:"/ranges#luxury"},{label:"Pure Origin Specialty",href:"/ranges#pure-origin"},{label:"Natural Wellness",href:"/ranges#wellness"},{label:"Iced Teas",href:"/ranges#tea-inspired"},{label:"Gift of Teas",href:"/ranges#gifting"}]},hospitality:{label:"Tea Inspired Hospitality",barLabel:"Tea Inspired Hospitality",image:"/images/explore/hospitality.jpg",alt:"Dilmah tea inspired hospital
1ity",title:"Tea Beyond the Cup",description:"Dilmah innovations take tea beyond the cup, transforming the humble leaf into a multi-sensory culinary journey. Discover the art of tea-inspired mixology, fine gastronomy, and expert pairings crafted to elevate your guest experience.",links:[{label:"Discover more",href:"https://www.teainspired.com/",external:!0}]},teaExperiences:{label:"Tea Experience",barLabel:"Tea Experience",image:"/images/explore/tea-experiences.jpg",alt:"Dilmah t-Lounge tea experience",title:"Welcome to a Renaissance in Tea",description:"The Dilmah t-Lounge is an upscale, elegant place designed around the enjoyment and appreciation of fine tea; complemented by light snacks and tea inspired food and beverages.",links:[{label:"Visit our t-Lounges",href:"https://www.dilmaht-lounge.com/sri-lanka/aboutdilmah.html",external:!0}]},schoolOfTea:{label:"School of Tea",barLabel:"School of Tea",image:"/images/explore/learning.jpg",alt:"Dilmah School of Tea training",title:"Knowledge is Passion",description:"Welcome to the Dilmah School of Tea, the world's first and only tea school certified by the World Association of Chefs' Societies (WACS). We invite tea lovers and culinary professionals to journey beyond the cup and discover the craftsmanship of the leaf. Through expert-led training, you will master artisanal brewing, modern mixology, fine gastronomy, and the wellness benefits of premium Ceylon tea.",links:[{label:"Start your training",href:"https://www.schooloftea.org/",external:!0}]},purpose:{label:"Our Purpose",barLabel:"Our Purpose",image:u,alt:"Dilmah founder Merrill J. Fernando at an MJF Foundation event",title:"Kindness in Every Sip",description:"Dilmah was founded on kindness, integrity, and our founder's philosophy that business is a matter of human service. By directing 15% of our pre-tax profits toward caring for people and nature, every cup of Dilmah you consume or serve becomes a true cup of kindness.",links:[{label:"MJF Foundation",href:"https://www.mjffoundation.org/",external:!0},{label:"Dilmah Conservation",href:"https://www.dilmahconservation.org/",external:!0},{label:"Genesis",href:"https://genesis.dilmahtea.com/",external:!0}]},family:{label:"Join Dilmah Family",barLabel:"Join Dilmah Family",image:u,alt:"Dilmah corporate information",title:"Be part of the Dilmah Family",description:"Explore corporate information, governance, annual reports, media updates and business inquiries.",links:[{label:"Dilmah Family",href:"https://dilmahfamily.dilmahtea.com/",external:!0}]}},v={eyebrow:"Explore Dilmah",title:"Discover Our World"},y=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return"transition-[opacity,transform] ease-out ".concat(e?"opacity-100 duration-[550ms] ".concat(t?"translate-y-0":""):"opacity-0 duration-200 ".concat(t?"translate-y-4":""))};function b(e){let{content:t,panels:a={},links:l={}}=e,[u,m]=(0,r.useState)("yourCup"),[b,w]=(0,r.useState)(!1),[j,N]=(0,r.useState)(!0),k=(0,o.I)(),H=(0,r.useRef)(null),z=(0,c.W)(H,{amount:.45}),T=(0,c.W)(H,{amount:.2}),S=(0,c.W)(H,{amount:0}),[C,L]=(0,r.useState)(!1);(0,r.useEffect)(()=>{T?L(!0):S||L(!1)},[T,S]),(0,r.useEffect)(()=>{let e=window.matchMedia("(min-width: 1024px)"),t=()=>N(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);let P=j?4.4:6.6;(0,r.useEffect)(()=>{if(!z||b||k)return;let e=setInterval(()=>{m(e=>h[(h.indexOf(e)+1)%h.length])},6e3);return()=>clearInterval(e)},[z,b,k]);let _=e=>{w(!0),m(e)},I=k?{duration:0}:{duration:.75,ease:[.76,0,.24,1]},M=z&&!b&&!k,D={eyebrow:(0,p.z3)(null==t?void 0:t.eyebrow,v.eyebrow),title:(0,p.z3)(null==t?void 0:t.title,v.title)},E=h.reduce((e,t)=>(e[t]=function(e,t){var a;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=g[e],l=i.map((e,t)=>{var a;return(0,p.k6)(e,null!=(a=n.links[t])?a:{label:"",href:""})}).filter(e=>e.label&&e.href),s=(0,p.z3)(null==t?void 0:t.eyebrow,n.label);return{label:s,barLabel:(0,p.z3)(null==t?void 0:t.caption,null!=(a=n.barLabel)?a:s),image:(0,p.p3)(null==t?void 0:t.url,n.image),alt:(0,p.z3)(null==t?void 0:t.alt_text,n.alt),title:(0,p.z3)(null==t?void 0:t.t
1itle,n.title),description:(0,p.z3)(null==t?void 0:t.description,n.description),links:l.length?l:n.links}}(t,a[t],l[t]),e),{}),A=!!k||C,W=[-140,-70,0,70,140],O=[0,0,90,0,0];return(0,i.jsx)("section",{className:"relative overflow-hidden bg-[#fcfbf8] px-5 py-12 sm:px-8 sm:py-14 lg:px-20 lg:py-16",children:(0,i.jsxs)("div",{className:"mx-auto flex w-full max-w-[1680px] flex-col gap-[40px]",children:[(0,i.jsxs)("div",{className:"flex flex-col items-center gap-[20px] text-center",children:[(0,i.jsx)("p",{className:"font-sans font-semibold uppercase",style:{fontSize:"12px",lineHeight:"16px",letterSpacing:"2.4px",color:"#BD9328"},children:D.eyebrow}),(0,i.jsx)("h2",{className:"font-display font-medium",style:{fontSize:"clamp(28px, 5vw, 32px)",lineHeight:1.15,color:"#153337"},children:D.title})]}),(0,i.jsx)("div",{ref:H,className:"flex h-[82vh] min-h-[620px] flex-col gap-2.5 sm:gap-3 lg:h-[62vh] lg:max-h-[660px] lg:min-h-[480px] lg:flex-row",children:h.map((e,t)=>{var a,l,r;let o=E[e],c=e===u,p=o.links.length>4;return(0,i.jsxs)(d.P.div,{className:"group relative min-h-0 min-w-0 overflow-hidden rounded-2xl bg-[#0f292b]\n shadow-[0_12px_30px_rgba(15,41,43,0.12)]\n ".concat(c?"":"cursor-pointer"),style:{flexBasis:0,flexGrow:c?P:1},initial:!1,animate:{flexGrow:c?P:1,x:A?0:W[t],y:A?0:O[t],opacity:+!!A},whileHover:c?void 0:{flexGrow:1.3},transition:{flexGrow:I,x:{duration:.9,ease:[.22,1,.36,1],delay:A?.08*t:0},y:{duration:.9,ease:[.22,1,.36,1],delay:A?.08*t:0},opacity:{duration:.6,ease:"easeOut",delay:A?.08*t:0}},onClick:()=>!c&&_(e),children:[(0,i.jsx)(d.P.div,{className:"absolute inset-0",initial:!1,animate:{scale:c?1.07:1},transition:k?{duration:0}:c?{duration:11,ease:"linear"}:{duration:.9,ease:[.76,0,.24,1]},children:(0,i.jsx)(n.default,{src:(0,x.qn)(o.image),alt:o.alt,fill:!0,style:{objectPosition:(0,x.Hh)(o.image)},className:"object-cover transition-[transform,opacity] duration-700\n ".concat(c?"opacity-100":"opacity-80 group-hover:opacity-95 group-hover:scale-[1.04]"),sizes:"(min-width: 1024px) 60vw, 100vw",priority:0===t})}),(0,i.jsx)("div",{className:"absolute inset-0 transition-opacity duration-500",style:{background:c?j?"linear-gradient(90deg, rgba(4,30,31,0.52) 0%, rgba(4,30,31,0.22) 36%, rgba(4,30,31,0) 62%),\n linear-gradient(180deg, rgba(5,27,28,0.06) 16%, rgba(4,36,37,0.74) 52%, rgba(2,38,38,0.97) 100%)":"linear-gradient(90deg, rgba(4,30,31,0.62) 0%, rgba(4,30,31,0.34) 40%, rgba(4,30,31,0.12) 70%),\n linear-gradient(180deg, rgba(5,27,28,0.20) 12%, rgba(4,36,37,0.82) 50%, rgba(2,38,38,0.98) 100%)":j?"linear-gradient(180deg, rgba(6,31,32,0.30) 0%, rgba(6,31,32,0.42) 55%, rgba(4,28,29,0.88) 100%)":"linear-gradient(180deg, rgba(6,31,32,0.48) 0%, rgba(6,31,32,0.60) 55%, rgba(4,28,29,0.94) 100%)"}}),(0,i.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10 rounded-2xl ring-1 ring-inset ring-white/15","aria-hidden":"true"}),(0,i.jsxs)("div",{className:"absolute inset-0 transition-opacity duration-300\n ".concat(c?"pointer-events-none opacity-0":"opacity-100"),children:[(0,i.jsxs)("div",{className:"hidden h-full flex-col items-center justify-between py-6 lg:flex",children:[(0,i.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,i.jsxs)("span",{className:"font-sans text-[12px] tracking-[1.5px] text-white/60",children:["0",t+1]}),(0,i.jsx)("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-[#062c2c]/55 text-[#d2a329] backdrop-blur-sm",children:f[e]})]}),(0,i.jsx)("span",{className:"rotate-180 whitespace-nowrap font-display text-[19px] text-white",style:{writingMode:"vertical-rl"},children:null!=(a=o.barLabel)?a:o.label})]}),(0,i.jsxs)("div",{className:"flex h-full items-center justify-between px-5 lg:hidden",children:[(0,i.jsxs)("span",{className:"flex items-center gap-3",children:[(0,i.jsx)("span",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-[#062c2c]/55 text-[#d2a329]",children:f[e]}),(0,i.jsx)("span",{className:"font-display text-[18px] text-white",children:null!=(l=o.barLabel)?l:o.label})]}),(0,i.jsxs)("span",{className:"font-sans text-[12px] tracking-[1.5px] text-white/60",children:["0",t+1]})]}),!c&&(0,i.jsx)("button",{type:"button",onClick:()=>_(e),"aria-label":"Explore ".concat(null!=(r=o.barLabel)?r:o.label),className:"absolute inset-0 rounded-2xl focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-[-4px] focus-visible:outline-[#d2a329]"})]}),(0,i.jsxs)("div",{className:"no-scrollbar absolute inset-x-0 bottom-0 z-20 max-h-full overflow-x-hidden p-6 pb-10 sm:p-8 sm:pb-12 lg:p-10 lg:pb-12 lg:min-h-[490px]\n ".concat(c?"overflow-y-auto":"overflow-hidden pointer-events-none"),children:[(0,i.jsxs)("p",{className:"flex items-center gap-2.5 font-sans font-semibold uppercase ".concat(y(c)),style:{fontSize:"12px",lineHeight:"16px",letterSpacing:"2.6px",color:"#d2a329",transitionDelay:c?"300ms":"0ms"},children:[(0,i.jsx)("span",{className:"flex h-5 w-5 items-center justify-center",children:f[e]}),o.label]}),(0,i.jsx)("h3",{className:"mt-3 max-w-[620px] font-display font-normal text-white lg:min-h-[2.3em] ".concat(y(c,!1)),style:{fontSize:"clamp(22px, 2.6vw, 36px)",lineHeight:1.15,transitionDelay:c?"380ms":"0ms"},children:o.title}),(0,i.jsx)("p",{className:"mt-3 max-w-[520px] font-sans lg:min-h-[3.2em] ".concat(y(c)),style:{fontSize:"clamp(14px, 1.1vw, 15px)",lineHeight:1.6,color:"rgba(255,255,255,0.88)",transitionDelay:c?"450ms":"0ms"},children:o.description}),(0,i.jsx)("div",{className:"no-scrollbar mt-5 max-h-[220px] max-w-[520px] overflow-x-hidden pr-1 lg:max-h-[188px] ".concat(c?"overflow-y-auto":"overflow-y-hidden"," ").concat(y(c)),style:{transitionDelay:c?"520ms":"0ms"},children:o.links.map(e=>(0,i.jsxs)(s(),{href:e.href,...e.external?{target:"_blank",rel:"noopener noreferrer"}:{},className:"group/link flex items-center justify-between gap-4 border-t border-white/20 text-white transition-colors hover:text-[#f4d27b] ".concat(p?"py-2":"py-2 lg:py-3"),children:[(0,i.jsx)("span",{className:"font-sans",style:{fontSize:p?"13px":"14px",lineHeight:"20px"},children:e.label}),(0,i.jsx)("svg",{width:"16",height:"12",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"shrink-0 text-[#d2a329] transition-transform group-hover/link:translate-x-1",children:(0,i.jsx)("path",{d:"M1 7h15M10.5 1.5 16 7l-5.5 5.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]},e.label))})]}),c&&M&&(0,i.jsx)("div",{className:"absolute bottom-3 left-6 right-6 z-20 h-[2px] overflow-hidden rounded-full bg-white/20 sm:left-8 sm:right-8 lg:bottom-4 lg:left-10 lg:right-10","aria-hidden":"true",children:(0,i.jsx)(d.P.div,{className:"h-full rounded-full bg-[#d2a329]",initial:{width:"0%"},animate:{width:"100%"},transition:{duration:6,ease:"linear"}},"progress-".concat(e))})]},e)})})]})})}},1979:(e,t,a)=>{Promise.resolve().then(a.bind(a,7244)),Promise.resolve().then(a.bind(a,1216)),Promise.resolve().then(a.bind(a,4064)),Promise.resolve().then(a.bind(a,6231)),Promise.resolve().then(a.bind(a,6392)),Promise.resolve().then(a.bind(a,3988)),Promise.resolve().then(a.bind(a,7664)),Promise.resolve().then(a.t.bind(a,2619,23)),Promise.resolve().then(a.t.bind(a,1356,23))},3516:(e,t,a)=>{"use strict";function i(e,t){return(null==e?void 0:e.trim())||t}function n(e,t){return(null==e?void 0:e.trim())||t}function l(e,t){let a=null==e?void 0:e.split(/\n{2,}/).map(e=>
1e.trim()).filter(Boolean);return(null==a?void 0:a.length)?a:t}function s(e,t){var a;let l=n(null==e?void 0:e.cta_primary_link,t.href);return{label:i((null==e?void 0:e.title)||(null==e?void 0:e.cta_primary_text),t.label),href:l,external:null!=(a=t.external)?a:l.startsWith("http")}}a.d(t,{VM:()=>l,k6:()=>s,p3:()=>n,z3:()=>i})},3988:(e,t,a)=>{"use strict";a.d(t,{TeaJourneySection:()=>w});var i=a(5155),n=a(2115),l=a(9055),s=a(2861),r=a(6551),o=a(7982),c=a(1203),d=a(1407),p=a(7477),x=a(3516);let u=[.16,1,.3,1],h=["aztec","code_128","code_39","code_93","codabar","data_matrix","ean_13","ean_8","itf","pdf417","qr_code","upc_a","upc_e"],m={title:"Trace the Journey of the Tea Leaf",description:"The Dilmah family artisanally handcrafts each cup of tea, as it has been done for centuries. Dilmah takes no shortcuts by making tea the orthodox traditional way to ensure the finest taste and quality."},f={title:"Trace Your Tea",description:"Enter the code on your Dilmah pack to trace the journey of your tea from garden to cup.",assetIdLabel:"Batch Code",barcodeLabel:"Barcode",submitLabel:"Trace It",requiredMessage:"Enter the asset ID and barcode from your Dilmah pack."};function g(e){let{open:t,onClose:a,children:s,width:r=420}=e;return((0,n.useEffect)(()=>{if(!t)return;let e=e=>{"Escape"===e.key&&a()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[t,a]),t)?(0,i.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center px-4",style:{background:"rgba(14,36,38,0.55)"},onClick:a,children:(0,i.jsxs)("div",{className:"relative overflow-hidden bg-white",style:{width:"100%",maxWidth:"".concat(r,"px"),borderRadius:"16px",boxShadow:"0 20px 60px rgba(0,0,0,0.25)",marginTop:"-70px"},onClick:e=>e.stopPropagation(),children:[(0,i.jsx)("button",{onClick:a,"aria-label":"Close",className:"absolute right-3 top-3 z-10 flex h-8 w-8 items-center justify-center rounded-full border border-[rgba(21,51,55,0.15)] bg-white/90 text-[#12282b] transition-colors hover:bg-white",children:(0,i.jsx)(l.X,{size:16,weight:"bold"})}),s]})}):null}function v(e){let{label:t,value:a}=e;return a?(0,i.jsxs)("div",{className:"text-left",children:[(0,i.jsx)("dt",{className:"font-sans text-[11px] font-semibold uppercase leading-4 tracking-[0.08em] text-[rgba(21,51,55,0.48)]",children:t}),(0,i.jsx)("dd",{className:"mt-1 font-sans text-[14px] font-medium leading-5 text-[#12282b]",children:a})]}):null}function y(e){var t,a,n,l,o,c,d,p,x,u,h,m,f,y,b,w,j;let{open:N,result:k,onClose:H}=e,z=(null==k||null==(t=k.trace)?void 0:t.productName)||(null==k||null==(a=k.product)?void 0:a.name)||"Dilmah Tea",T=(null==k||null==(n=k.trace)?void 0:n.region)||(null==k||null==(l=k.trace)?void 0:l.harvestLocation)||(null==k||null==(c=k.product)||null==(o=c.origin)?void 0:o.name);return(0,i.jsx)(g,{open:N,onClose:H,width:560,children:(0,i.jsxs)("div",{className:"px-7 py-8 text-left sm:px-8",children:[(0,i.jsxs)("div",{className:"flex items-start gap-3 pr-8",children:[(0,i.jsx)(s.r,{size:30,weight:"fill",className:"mt-0.5 shrink-0 text-primary-gold"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:"font-display text-[24px] font-semibold leading-7 text-[#12282b]",children:"Verified Tea Journey"}),(0,i.jsx)("p",{className:"mt-2 font-sans text-[15px] leading-[23px] text-[rgba(21,51,55,0.7)]",children:z})]})]}),(null==k||null==(d=k.product)?void 0:d.description)?(0,i.jsx)("p",{className:"mt-5 font-sans text-[14px] leading-[22px] text-[rgba(21,51,55,0.72)]",children:k.product.description}):null,(0,i.jsxs)("dl",{className:"mt-6 grid grid-cols-2 gap-x-5 gap-y-5 border-y border-[rgba(21,51,55,0.14)] py-5",children:[(0,i.jsx)(v,{label:"Origin",value:T}),(0,i.jsx)(v,{label:"Country",value:null==k||null==(p=k.trace)?void 0:p.country}),(0,i.jsx)(v,{label:"Harvest Date",value:null==k||null==(x=k.trace)?void 0:x.date}),(0,i.jsx)(v,{label:"Batch",value:null==k||null==(u=k.trace)?void 0:u.batchName}),(0,i.jsx)(v,{label:"Moisture",value:null==k||null==(h=k.trace)?void 0:h.moisture}),(0,i.jsx)(v,{label:"Blockchain",value:null==k||null==(f=k.trace)||null==(m=f.chain)?void 0:m.replaceAll("_"," ")}),(0,i.jsx)(v,{label:"Token",value:null==k||null==(y=k.trace)?void 0:y.tokenId}),(0,i.jsx)(v,{label:"Status",value:null==k||null==(w=k.trace)||null==(b=w.transactionStatus)?void 0:b.replaceAll("_"," ")})]}),(0,i.jsx)("div",{className:"mt-6 flex flex-col gap-3 sm:flex-row",children:(null==k||null==(j=k.trace)?void 0:j.transactionUrl)?(0,i.jsxs)("a",{href:k.trace.transactionUrl,target:"_blank",rel:"noreferrer",className:"inline-flex h-11 items-center justify-center gap-2 rounded-full border border-[rgba(21,51,55,0.18)] px-5 font-sans text-[14px] font-semibold text-[#12282b] transition-colors hover:border-primary-gold hover:text-primary-gold",children:["View Transaction",(0,i.jsx)(r.B,{size:17,weight:"bold"})]}):null})]})})}function b(e){let{open:t,onClose:a,onDetected:l}
1=e,s=(0,n.useRef)(null),r=(0,n.useRef)(null),[c,d]=(0,n.useState)("");return(0,n.useEffect)(()=>{if(!t)return;let e=!1,i=0,n=()=>{var e;i&&cancelAnimationFrame(i),null==(e=r.current)||e.getTracks().forEach(e=>e.stop()),r.current=null};return(async()=>{var t;if(d(""),!window.isSecureContext)return d("Camera scanning requires HTTPS or localhost.");let o=window.BarcodeDetector;if(!o)return d("Barcode scanning is not supported in this browser.");if(!(null==(t=navigator.mediaDevices)?void 0:t.getUserMedia))return d("Camera access is not available in this browser.");try{let t=await navigator.mediaDevices.getUserMedia({audio:!1,video:{facingMode:{ideal:"environment"},width:{ideal:1280},height:{ideal:720}}}),c=s.current;if(!c||e)return void t.getTracks().forEach(e=>e.stop());r.current=t,c.srcObject=t,await c.play();let p=new o({formats:h}),x=async()=>{if(!e&&s.current){try{if(c.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA){var t;let e=null==(t=(await p.detect(c)).find(e=>e.rawValue))?void 0:t.rawValue;if(e){l(e),n(),a();return}}}catch(e){d("Unable to read the barcode.")}i=requestAnimationFrame(x)}};i=requestAnimationFrame(x)}catch(e){d("Camera permission was not granted.")}})(),()=>{e=!0,n()}},[a,l,t]),(0,i.jsx)(g,{open:t,onClose:a,width:420,children:(0,i.jsxs)("div",{className:"px-5 pb-6 pt-12",children:[(0,i.jsx)("div",{className:"overflow-hidden rounded-[12px] bg-[#10282b]",children:(0,i.jsx)("video",{ref:s,muted:!0,playsInline:!0,className:"aspect-[4/5] w-full object-cover sm:aspect-video"})}),c?(0,i.jsx)("p",{className:"mt-4 rounded-[10px] bg-[#fff4e3] px-4 py-3 text-center font-sans text-[13px] leading-5 text-[#7a4a00]",children:c}):(0,i.jsx)("div",{className:"mx-auto mt-4 flex h-9 w-9 items-center justify-center rounded-full bg-primary-gold/10 text-primary-gold",children:(0,i.jsx)(o.N,{size:20,className:"animate-spin"})})]})})}function w(e){let{content:t,traceForm:a}=e,l=(0,d.I)(),[s,r]=(0,n.useState)(""),[h,g]=(0,n.useState)(""),[v,w]=(0,n.useState)("idle"),[j,N]=(0,n.useState)(""),[k,H]=(0,n.useState)(null),[z,T]=(0,n.useState)(!1),[S,C]=(0,n.useState)(!1),L={title:(0,x.z3)(null==t?void 0:t.title,m.title),description:(0,x.z3)(null==t?void 0:t.description,m.description)},P={title:(0,x.z3)(null==a?void 0:a.title,f.title),description:(0,x.z3)(null==a?void 0:a.description,f.description),assetIdLabel:(0,x.z3)(null==a?void 0:a.cta_secondary_text,f.assetIdLabel),barcodeLabel:(0,x.z3)(null==a?void 0:a.cta_secondary_link,f.barcodeLabel),submitLabel:(0,x.z3)(null==a?void 0:a.cta_primary_text,f.submitLabel),requiredMessage:(0,x.z3)(null==a?void 0:a.caption,f.requiredMessage)},_=(0,n.useCallback)(e=>{let t=function(e){let t=e.trim();try{let e=new URL(t);return{assetId:e.searchParams.get("asset_id")||e.searchParams.get("assetId")||void 0,barcode:e.searchParams.get("barcode")||e.searchParams.get("barcode_inner")||t}}catch(n){let e=new URLSearchParams(t.includes("?")?t.split("?").at(-1)||"":t),a=e.get("asset_id")||e.get("assetId")||void 0,i=e.get("barcode")||e.get("barcode_inner")||void 0;if(a||i)return{assetId:a,barcode:i||t}}return{barcode:t}}(e);t.assetId&&r(t.assetId),t.barcode&&g(t.barcode)},[]),I=(0,n.useCallback)(()=>{C(!1)},[]);async function M(e){e.preventDefault();let t=s.trim(),a=h.trim();if(!t||!a){w("error"),N(P.requiredMessage);return}w("loading"),N("");try{let e=new URLSearchParams({asset_id:t,barcode:a}),i=await fetch("/api/trace-tea?".concat(e.toString()),{method:"GET",headers:{Accept:"application/json"}}),n=await i.json();if(!i.ok||"OK"!==n.status)throw Error(n.error||"Unable to verify this tea pack.");H(n),T(!0),w("success")}catch(e){w("error"),N(e instanceof Error?e.message:"Unable to verify this tea pack.")}}return(0,i.jsxs)("section",{id:"tea-journey",className:"flex scroll-mt-20 flex-col items-center bg-white px-5 py-16 sm:px-6 sm:py-20 lg:scroll-mt-24 lg:py-[88px]",children:[(0,i.jsxs)(p.P.div,{className:"flex w-full max-w-[760px] flex-col items-center text-center",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:l?{duration:0}:{duration:.32,ease:u},children:[(0,i.jsx)("h2",{className:"font-display font-medium text-[#12282b]",style:{fontSize:"clamp(30px, 3.5v
1w, 40px)",lineHeight:1.12},children:L.title}),(0,i.jsx)("p",{className:"mt-5 max-w-[720px] font-sans text-[16px] leading-[24px] text-[rgba(21,51,55,0.7)] sm:text-[17px] sm:leading-[26px]",children:L.description}),(0,i.jsxs)("div",{className:"mt-[70px] flex w-full flex-col items-center",children:[(0,i.jsx)("h3",{className:"font-display text-[26px] font-normal leading-[32px] text-black",children:P.title}),(0,i.jsx)("p",{className:"mt-3 max-w-[660px] font-sans text-[15px] leading-[22px] text-black",children:P.description}),(0,i.jsxs)("form",{onSubmit:M,className:"mt-6 flex w-full flex-col items-stretch gap-5 sm:flex-row sm:items-center sm:justify-center sm:gap-3",style:{maxWidth:"600px"},children:[(0,i.jsxs)("div",{className:"flex min-w-0 flex-1 overflow-hidden rounded-full border border-black bg-white transition-colors focus-within:border-primary-gold focus-within:ring-2 focus-within:ring-primary-gold/20",style:{height:"46px",minHeight:"46px"},children:[(0,i.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,i.jsx)("label",{className:"sr-only",htmlFor:"trace-asset-id",children:P.assetIdLabel}),(0,i.jsx)("input",{id:"trace-asset-id",type:"text",value:s,onChange:e=>r(e.target.value),placeholder:P.assetIdLabel,autoComplete:"off",className:"h-full w-full min-w-0 bg-transparent px-4 font-sans text-[14px] leading-5 text-[#12282b] outline-none placeholder:text-black/70 sm:px-5"})]}),(0,i.jsx)("div",{"aria-hidden":"true",className:"my-[11px] w-px shrink-0 bg-[rgba(0,0,0,0.32)]"}),(0,i.jsxs)("div",{className:"relative min-w-0 flex-1",children:[(0,i.jsx)("label",{className:"sr-only",htmlFor:"trace-barcode",children:P.barcodeLabel}),(0,i.jsx)("input",{id:"trace-barcode",type:"text",value:h,onChange:e=>g(e.target.value),placeholder:P.barcodeLabel,inputMode:"numeric",autoComplete:"off",className:"h-full w-full min-w-0 bg-transparent px-4 pr-11 font-sans text-[14px] leading-5 text-[#12282b] outline-none placeholder:text-black/70 sm:px-5 sm:pr-5"}),(0,i.jsx)("button",{type:"button","aria-label":"Scan barcode",onClick:()=>C(!0),className:"absolute right-1.5 top-1/2 flex h-8 w-8 -translate-y-1/2 items-center justify-center rounded-full text-[#12282b] transition-colors hover:bg-primary-gold/10 hover:text-primary-gold focus:outline-none focus:ring-2 focus:ring-primary-gold/30 sm:hidden",children:(0,i.jsx)(c.V,{size:20,weight:"bold"})})]})]}),(0,i.jsxs)("button",{type:"submit",disabled:"loading"===v,className:"inline-flex shrink-0 items-center justify-center gap-2 rounded-full bg-primary-gold px-7 font-sans text-[14px] font-semibold leading-5 text-white transition-colors hover:bg-[#a88322] focus:outline-none focus:ring-2 focus:ring-primary-gold/30 focus:ring-offset-2 disabled:cursor-not-allowed disabled:bg-[#bca15a]",style:{height:"46px",minHeight:"46px"},children:["loading"===v?(0,i.jsx)(o.N,{size:18,className:"animate-spin"}):null,P.submitLabel]})]}),"error"===v?(0,i.jsx)("p",{className:"mt-4 max-w-[560px] rounded-full bg-[#fff4e3] px-5 py-2.5 font-sans text-[13px] leading-5 text-[#7a4a00]",children:j}):null]})]}),(0,i.jsx)(y,{open:z,result:k,onClose:()=>T(!1)}),(0,i.jsx)(b,{open:S,onClose:I,onDetected:_})]})}},4064:(e,t,a)=>{"use strict";a.d(t,{HandpickedWithPurpose:()=>f});var i=a(5155),n=a(2619),l=a.n(n),s=a(1407),r=a(7477),o=a(3516);let c={eyebrow:"40 YEARS OF DILMAH",title:"An enduring stand of quality, integrity & kindness",description:"40 years on, we honour our Founder's legacy with an unwavering commitment to the values that defined his lifelong devotion to tea.",ctaText:"Discover Our Story",ctaHref:"/about",videoUrl:"https://www.youtube.com/watch?v=mhVd2ADmd30"};function d(){return(0,i.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M5.833 14.167 14.167 5.833M14.167 5.833H7.5M14.167 5.833V12.5",stroke:"#153337",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}let p=[.22,1,.36,1],x={hidden:{},show:{transition:{staggerChildren:.16,delayChildren:.12}}},u={hidden:{opacity:0,y:22,transition:{duration:.55,ease:p}},show:{opacity:1,y:0,transition:{duration:.95,ease:p}}},h={hidden:{opacity:0,x:42,scale:.96,transition:{duration:.65,ease:p}},show:{opacity:1,x:0,scale:1,transition:{duration:1.15,ease:p,delay:.22}}},m={once:!1,margin:"0px 0px -12% 0px"};
1function f(e){let{content:t}=e,a=(0,s.I)(),n={eyebrow:(0,o.z3)(null==t?void 0:t.eyebrow,c.eyebrow),title:(0,o.z3)(null==t?void 0:t.title,c.title),description:(0,o.z3)(null==t?void 0:t.description,c.description),ctaText:(0,o.z3)(null==t?void 0:t.cta_primary_text,c.ctaText),ctaHref:(0,o.p3)(null==t?void 0:t.cta_primary_link,c.ctaHref),videoUrl:(0,o.p3)(null==t?void 0:t.url,c.videoUrl)},f=function(e){try{var t;let a=new URL(e),i=a.hostname.includes("youtu.be")?a.pathname.split("/").filter(Boolean)[0]:a.searchParams.get("v")||(null==(t=a.pathname.match(/\/(?:embed|v)\/([a-zA-Z0-9_-]{11})/))?void 0:t[1]);if(i)return"https://www.youtube.com/embed/".concat(i,"?rel=0&modestbranding=1")}catch(e){}return e}(n.videoUrl);return(0,i.jsxs)("section",{className:"pointer-events-none relative z-[1] overflow-hidden flex flex-col xl:flex-row xl:items-center xl:justify-between gap-10 xl:gap-12 px-5 sm:px-8 lg:px-20 pt-14 sm:pt-20 lg:pt-24 pb-9",children:[(0,i.jsxs)(r.P.div,{className:"pointer-events-auto relative z-10 w-full xl:flex-1 xl:max-w-[560px] flex flex-col",style:{gap:"24px"},variants:a?void 0:x,initial:"hidden",whileInView:"show",viewport:m,children:[(0,i.jsx)(r.P.p,{variants:a?void 0:u,className:"font-sans font-medium uppercase",style:{fontSize:"12px",lineHeight:"16px",letterSpacing:"3px",color:"#bd9328"},children:n.eyebrow}),(0,i.jsx)(r.P.h2,{variants:a?void 0:u,className:"font-display font-medium capitalize",style:{fontSize:"clamp(28px, 5vw, 32px)",lineHeight:1.15,color:"#153337"},children:n.title}),(0,i.jsx)(r.P.p,{variants:a?void 0:u,className:"font-sans font-light w-full",style:{fontSize:"16px",lineHeight:1.8,color:"rgba(21,51,55,0.7)"},children:n.description}),(0,i.jsx)(r.P.div,{variants:a?void 0:u,className:"inline-flex",children:(0,i.jsxs)(l(),{href:n.ctaHref,className:"group anniversary-cta inline-flex items-center shrink-0",style:{gap:"14px"},children:[(0,i.jsx)("span",{className:"relative z-10 font-sans font-semibold uppercase whitespace-nowrap",style:{fontSize:"14px",lineHeight:"20px",letterSpacing:"1.4px",color:"#153337"},children:n.ctaText}),(0,i.jsx)(r.P.span,{className:"anniversary-cta-icon relative z-10 flex items-center justify-center shrink-0 rounded-full",whileHover:a?void 0:{x:3,rotate:5},transition:{duration:.36,ease:p},style:{width:"40px",height:"40px"},children:(0,i.jsx)(d,{})})]})})]}),(0,i.jsxs)("div",{className:"anniversary-video-shell pointer-events-none relative z-0 w-full xl:flex-1 xl:min-w-0 xl:max-w-[1024px]",children:[(0,i.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute anniversary-video-radiance-origin",children:!a&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"anniversary-video-radiance-pulse"}),(0,i.jsx)("div",{className:"anniversary-video-radiance-pulse anniversary-video-radiance-pulse-delayed"})]})}),(0,i.jsx)(r.P.div,{className:"anniversary-video-card pointer-events-auto relative z-10 overflow-hidden bg-black w-full aspect-[16/9]",variants:a?void 0:h,initial:"hidden",whileInView:"show",viewport:m,style:{borderRadius:"14.491px"},children:(0,i.jsx)("iframe",{className:"absolute inset-0 w-full h-full border-0",src:f,title:"Dilmah Emblem at 40, Reaffirming Quality & Integrity",allow:"accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})]})]})}},6231:(e,t,a)=>{"use strict";a.d(t,{HeroHome:()=>b});var i=a(5155),n=a(2619),l=a.n(n),s=a(2115),r=a(7650),o=a(3890),c=a(1407),d=a(1878),p=a(2096),x=a(7477);let u="/images/hero-poster.webp",h={title:"Make the World a\nBetter Tea.",subtitle:"A story of Taste, Goodness and Purpose",ctaText:"Discover Our Journey",ctaHref:"/about"};function m(e,t){return(null==e?void 0:e.trim())||t}let f=[.42,0,.58,1],g={hidden:{opacity:0,y:44},show:{opacity:1,y:0,transition:{duration:2,ease:f}}},v={hidden:{opacity:0,y:44},show:{opacity:1,y:0,transition:{duration:1.82,ease:f}}},y={hidden:{opacity:0,y:34,filter:"blur(10px)"},show:{opacity:1,y:0,filter:"blur(0px)",transition:{duration:1.45,ease:f}}};function b(e){var t;let{content:a}=e,n={subtitle:m(null==a?void 0:a.subtitle,h.subtitle),ctaText:m(null==a?void 0:a.ctaText,h.ctaText),ctaHref:m(null==a?void 0:a.ctaHref,h.ctaHref)},b=["Make the World a","Better Tea."],w=(0,c.I)(),j=(0,s.useRef)(null),{scrollYProgress:N}=(0,d.L)({target:j,offset:["start start","end start"]}),k=(0,p.G)(N,[0,1],["0%",w?"0%":"30%"]),H=(0,p.G)(N,[0,1],[1,w?1:1.12]),z=(0,p.G)(N,[0,1],["0px",w?"0px":"-120px"]),T=(0,p.G)(N,[0,.6],[1,+!!w]);(0,r.preload)(u,{as:"image",fetchPriority:"high"});
1let[S,C]=(0,s.useState)(!1),L=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=L.current;if(!e)return;let t=()=>e.readyState>=2&&(C(!0),!0);if(t())return;e.addEventListener("loadeddata",t),e.addEventListener("canplay",t);let a=setInterval(()=>t()&&clearInterval(a),200),i=setTimeout(()=>clearInterval(a),8e3);return()=>{e.removeEventListener("loadeddata",t),e.removeEventListener("canplay",t),clearInterval(a),clearTimeout(i)}},[]),(0,i.jsxs)("section",{ref:j,className:"relative w-full overflow-hidden -mt-[78px]",style:{height:"calc(100dvh + 78px)",minHeight:"758px"},children:[(0,i.jsxs)(x.P.div,{className:"absolute inset-0",style:{y:k,scale:H},children:[(0,i.jsx)("img",{src:u,alt:"","aria-hidden":"true",className:"absolute inset-0 h-full w-full object-cover object-center"}),(0,i.jsx)(x.P.video,{ref:L,className:"absolute inset-0 h-full w-full object-cover object-center",initial:w?void 0:{scale:1.045,filter:"brightness(0.86) contrast(1.08)"},animate:w?void 0:{scale:1,filter:"brightness(1) contrast(1)"},transition:{duration:3.2,ease:f},style:{opacity:+!!S,transition:w?"none":"opacity 0.7s ease"},src:"/videos/hero-web.mp4",poster:u,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto","aria-hidden":"true"}),(0,i.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(61,135,145,0) 41.968%, rgba(14,36,38,0.72) 73.678%)"}})]}),(0,i.jsx)(x.P.div,{className:"absolute left-0 right-0 flex justify-center pointer-events-none",style:{top:"calc(50% + clamp(120px, 10vw, 129px) - 100px + var(--hero-mobile-content-nudge, 0px))",y:z,opacity:T},children:(0,i.jsxs)(x.P.div,{className:"-translate-y-1/2 flex flex-col items-center w-full px-5 pointer-events-auto",variants:{hidden:{},show:{transition:{staggerChildren:.24*!w,delayChildren:.2*!w}}},initial:"hidden",animate:"show",children:[(0,i.jsx)(x.P.div,{variants:w?void 0:g,style:{paddingBottom:"24px"},children:(0,i.jsxs)("h1",{className:"font-display text-center",style:{fontSize:"clamp(36px, 8.6vw, 72px)",lineHeight:1.15,fontWeight:700,color:"#fcfbf8"},children:[(0,i.jsx)("span",{className:"block overflow-hidden",children:(0,i.jsx)(x.P.span,{className:"block",variants:w?void 0:y,children:null!=(t=b[0])?t:h.title})}),b.slice(1).map(e=>(0,i.jsx)("span",{className:"block overflow-hidden",children:(0,i.jsx)(x.P.span,{className:"block",variants:w?void 0:y,children:e})},e))]})}),(0,i.jsx)(x.P.div,{variants:w?void 0:v,className:"text-center",style:{maxWidth:"576px",paddingBottom:"40px",paddingLeft:"19.78px",paddingRight:"19.8px"},children:(0,i.jsx)("p",{className:"font-sans font-medium text-white text-center",style:{fontSize:"clamp(16px, 2.4vw, 20px)",lineHeight:1.4},children:n.subtitle})}),(0,i.jsx)(x.P.div,{variants:w?void 0:v,whileHover:w?void 0:{y:-3,scale:1.015},whileTap:w?void 0:{y:0,scale:.985},transition:{duration:.28,ease:f},children:(0,i.jsxs)(l(),{href:n.ctaHref,className:"group inline-flex items-center justify-center hero-cta-btn",style:{borderRadius:"9999px",padding:"16px 28px 16px 32px",minHeight:"44px",gap:"10px"},children:[(0,i.jsx)("span",{className:"font-sans font-semibold uppercase whitespace-nowrap",style:{fontSize:"14px",lineHeight:"20px",letterSpacing:"1.4px",color:"#fcfbf8"},children:n.ctaText}),(0,i.jsx)(o.Q,{size:17,weight:"bold","aria-hidden":"true",className:"hero-cta-icon"})]})})]})}),(0,i.jsxs)("div",{className:"absolute left-1/2 -translate-x-1/2 flex flex-col items-center",style:{bottom:"22px",gap:"14px"},children:[(0,i.jsx)(x.P.span,{className:"font-sans font-semibold uppercase text-white",animate:w?void 0:{opacity:[.7,1,.7]},transition:{duration:2.4,repeat:1/0,ease:"easeInOut"},style:{fontSize:"12px",lineHeight:"18px",letterSpacing:"2.4px"},children:"Scroll"}),(0,i.jsxs)("div",{className:"relative overflow-hidden",style:{width:"2px",height:"58px",borderRadius:"9999px"},children:[(0,i.jsx)("div",{className:"absolute inset-0 bg-white/25",style:{borderRadius:"9999px"}}),(0,i.jsx)(x.P.div,{className:"absolute left-0 top-0 bg-white",animate:w?void 0:{opacity:[0,1,1,0],y:[-72,58]},transition:{opacity:{duration:2.35,times:[0,.18,.82,1],repeat:1/0,ease:"easeInOut"},y:{duration:2.35,repeat:1/0,ease:"linear"}},style:{width:"2px",height:"72px",opacity:.9,transformOrigin:"top",borderRadius:"9999px"}})]})]})]})}},6392:(e,t,a)=>{"use strict";a.d(t,{PurposeAtOrigin:()=>y});var i=a(5155),n=a(5239),l=a(2619),s=a.n(l),r=a(1407),o=a(7477),c=a(7664),d=a(3516),p=a(8552);let x=[.22,1,.36,1],u={eyebrow:"A Cup of Kindness",title:"Purpose in every sip",description:"From every cup you sip, 15% of pre-tax profits is dedicated to helping people and protecting nature.",ctaText:"Discover Our Impact",ctaHref:"/kindness"},h={mjf:{image:"/figma/ea285ba3-6d62-4b08-b818-c7548adf328b.png",imageAlt:"MJF Foundation â community empowerment",category:"Human kindness & empowerment",title:"MJF Foundation",description:"Uplifting lives through education, healthcare, and community development; every cup of Dilmah helps create opportunity, dignity, and hope for families worldwide.",ctaText:"Learn more",ctaHref:"https://www.mjffoundation.org/"},conservation:{image:"/figma/250c06a8-7a41-40e2-915f-bc088bf6d90e.jpg",imageAlt:"Dilmah Conservation â protecting Sri Lanka's wildlife",category:"Nature & biodiversity",title:"Dilmah Conservation",description:"Protecting ecosystems and wildlife, Dilmah w
1orks to preserve the natural world that makes our tea possible, ensuring it remains thriving, pristine, and alive for generations to come.",ctaText:"Learn more",ctaHref:"https://www.dilmahconservation.org/"},genesis:{image:"/figma/fd89c515-4786-44a6-8676-e092f94af96d.png",imageAlt:"Genesis â sustainable tea industry",category:"Sustainability & ethical future",title:"Genesis",description:"Building a sustainable tea industry through ethical practices, climate action, and empowering tea growers. Our vision extends beyond profit to create lasting positive impact.",ctaText:"Learn more",ctaHref:"https://genesis.dilmahtea.com/"}};function m(e,t){return{image:(0,d.p3)(null==e?void 0:e.url,t.image),imageAlt:(0,d.z3)(null==e?void 0:e.alt_text,t.imageAlt),category:(0,d.z3)(null==e?void 0:e.eyebrow,t.category),title:(0,d.z3)(null==e?void 0:e.title,t.title),description:(0,d.z3)(null==e?void 0:e.description,t.description),ctaText:(0,d.z3)(null==e?void 0:e.cta_primary_text,t.ctaText),ctaHref:(0,d.p3)(null==e?void 0:e.cta_primary_link,t.ctaHref)}}function f(){return(0,i.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M3.333 8h9.334M8 3.333 12.667 8 8 12.667",stroke:"#153337",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}function g(){return(0,i.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"transition-transform group-hover:translate-x-0.5 shrink-0",children:(0,i.jsx)("path",{d:"M4.167 10h11.666M10 4.167 15.833 10 10 15.833",stroke:"white",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function v(e){let{image:t,imageAlt:a,category:l,title:s,description:c,ctaText:d,ctaHref:u,contentWidth:h,height:m,className:f="",delay:v=0}=e,y=(0,r.I)();return(0,i.jsxs)(o.P.a,{href:u,...u.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{},className:"group relative block overflow-hidden rounded-[16px] bg-[#1b1b1b]\n border-0 outline-none ring-0 shadow-[0px_25px_50px_-12px_rgba(0,0,0,0.05)]\n shrink-0 transform-gpu isolate focus:outline-none focus-visible:outline-none focus-visible:ring-0 ".concat(f),style:{height:"clamp(380px, 26vw, ".concat(m,"px)"),textDecoration:"none",clipPath:"inset(0 round 16px)",backfaceVisibility:"hidden"},initial:!y&&{opacity:0,y:24},whileInView:y?void 0:{opacity:1,y:0},whileHover:y?void 0:{y:-6},viewport:{once:!0,margin:"0px 0px -12% 0px"},transition:{duration:.5,ease:x,delay:v},children:[(0,i.jsx)("div",{className:"absolute -inset-1 overflow-hidden rounded-[inherit]",children:(0,i.jsx)(n.default,{src:(0,p.qn)(t),alt:a,fill:!0,style:{objectPosition:(0,p.Hh)(t)},className:"object-cover transition-transform duration-[600ms] ease-out will-change-transform group-hover:scale-[1.04]",sizes:"476px"})}),(0,i.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.65) 35%, rgba(0,0,0,0.15) 65%, transparent 100%)"}}),(0,i.jsxs)("div",{className:"absolute flex flex-col items-start left-5 right-5 lg:left-8 lg:right-8",style:{bottom:"24px",maxWidth:"".concat(h,"px"),gap:"10px"},children:[(0,i.jsx)("p",{className:"font-sans font-medium uppercase",style:{fontSize:"12px",lineHeight:"14px",letterSpacing:"2px",color:"rgba(255,255,255,0.7)",minHeight:"14px"},children:l}),(0,i.jsx)("h3",{className:"font-display font-semibold text-white",style:{fontSize:"22px",lineHeight:"28px",minHeight:"28px",display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden"},children:s}),(0,i.jsx)("p",{className:"font-sans font-normal",style:{fontSize:"14px",lineHeight:"21px",color:"rgba(255,255,255,0.9)",minHeight:"60px",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden"},children:c}),(0,i.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,i.jsx)("span",{className:"font-sans font-normal text-white whitespace-nowrap",style:{fontSize:"14px",lineHeight:"20px"},children:d}),(0,i.jsx)(g,{})]})]})]})}
1function y(e){let{content:t,cards:a={}}=e,n={eyebrow:(0,d.z3)(null==t?void 0:t.eyebrow,u.eyebrow),title:(0,d.z3)(null==t?void 0:t.title,u.title),description:(0,d.z3)(null==t?void 0:t.description,u.description),ctaText:(0,d.z3)(null==t?void 0:t.cta_primary_text,u.ctaText),ctaHref:(0,d.p3)(null==t?void 0:t.cta_primary_link,u.ctaHref)},l={mjf:m(a.mjf,h.mjf),conservation:m(a.conservation,h.conservation),genesis:m(a.genesis,h.genesis)};return(0,i.jsx)("section",{className:"overflow-hidden bg-white p-5 sm:p-6 lg:p-10 xl:p-16",children:(0,i.jsxs)("div",{className:"flex flex-col gap-8 lg:gap-10",children:[(0,i.jsxs)(c.Reveal,{className:"flex flex-col w-full",style:{gap:"24px"},children:[(0,i.jsx)("p",{className:"font-sans font-semibold uppercase",style:{fontSize:"12px",lineHeight:"16px",letterSpacing:"2.4px",color:"#bd9328"},children:n.eyebrow}),(0,i.jsx)("h2",{className:"font-display font-medium capitalize",style:{fontSize:"clamp(28px, 5vw, 32px)",lineHeight:1.08,color:"#153337"},children:n.title}),(0,i.jsx)("p",{className:"font-sans font-normal",style:{fontSize:"16px",lineHeight:"24px",color:"rgba(21,51,55,0.7)",maxWidth:"420px"},children:n.description}),(0,i.jsxs)(s(),{href:n.ctaHref,className:"group inline-flex items-center shrink-0",style:{gap:"19px"},children:[(0,i.jsxs)("span",{className:"relative inline-block font-sans font-medium whitespace-nowrap",style:{fontSize:"14px",lineHeight:"20px",letterSpacing:"2.1px",textTransform:"uppercase",color:"#153337"},children:[n.ctaText,(0,i.jsx)("span",{className:"absolute bottom-0 bg-[#bd9328]",style:{left:0,right:"2.1px",height:"1px"}})]}),(0,i.jsx)("span",{className:"flex items-center justify-center shrink-0 rounded-full border border-[rgba(21,51,55,0.2)] transition-colors group-hover:border-[rgba(21,51,55,0.5)]",style:{width:"40px",height:"40px"},children:(0,i.jsx)(f,{})})]})]}),(0,i.jsxs)("div",{className:"flex snap-x snap-mandatory overflow-x-auto no-scrollbar xl:grid xl:grid-cols-3 xl:overflow-visible w-full",style:{gap:"clamp(20px, 3vw, 36px)"},children:[(0,i.jsxs)("div",{className:"contents",style:{gap:"clamp(20px, 3vw, 36px)"},children:[(0,i.jsx)(v,{image:l.mjf.image,imageAlt:l.mjf.imageAlt,category:l.mjf.category,title:l.mjf.title,description:l.mjf.description,ctaText:l.mjf.ctaText,ctaHref:l.mjf.ctaHref,height:480,contentWidth:398,delay:0,className:"w-[80%] min-w-[300px] sm:w-[48%] xl:w-auto xl:min-w-0 snap-start"}),(0,i.jsx)(v,{image:l.conservation.image,imageAlt:l.conservation.imageAlt,category:l.conservation.category,title:l.conservation.title,description:l.conservation.description,ctaText:l.conservation.ctaText,ctaHref:l.conservation.ctaHref,height:480,contentWidth:412,delay:.1,className:"w-[80%] min-w-[300px] sm:w-[48%] xl:w-auto xl:min-w-0 snap-start"})]}),(0,i.jsx)(v,{image:l.genesis.image,imageAlt:l.genesis.imageAlt,category:l.genesis.category,title:l.genesis.title,description:l.genesis.description,ctaText:l.genesis.ctaText,ctaHref:l.genesis.ctaHref,height:480,contentWidth:388,className:"w-[80%] min-w-[300px] sm:w-[48%] xl:w-auto xl:min-w-0 snap-start",delay:.2})]})]})})}},7244:(e,t,a)=>{"use strict";a.d(t,{DiscoverOurRanges:()=>w});var i=a(5155),n=a(5239),l=a(2619),s=a.n(l),r=a(7477),o=a(8552),c=a(3516);let d={eyebrow:"Explore Dilmah Ranges",title:"Discover Our Ranges",description:"From authentic Ceylon tea experiences to hospitality partnerships, sustainability, and learning â explore the many worlds of Dilmah."},p={luxury:{image:"/images/ranges/LuxuryCollection.jpg",imageAlt:"Dilmah luxury tea collections",title:"Luxury Collections",ctaText:"Explore Luxury Collections",ctaHref:"/ranges#luxury"},wellness:{image:"/figma/010b6c71-05d2-4d29-b44b-fdfd76be9db2.png",imageAlt:"Dilmah wellness tea",title:"Wellness Tea",ctaText:"Explore Wellness Tea",ctaHref:"/ranges#wellness"},pureCeylon:{image:"/images/ranges/PureCeylonClassics.jpg",imageAlt:"Pure Ceylon tea classics product packaging",title:"Pure Ceylon Classics",ctaText:"Explore Pure Ceylon Tea",ctaHref:"/ranges#pure-origin"},teaInspired:{image:"/images/ranges/TeaInspiredExperiences.jpg",imageAlt:"Tea inspired experiences",title:"Tea Inspired Experiences",ctaText:"Explore Tea Inspired",ctaHref:"/ranges#tea-inspired"},everyday:{image:"/figma/1f3e8a1d-e057-4179-9d94-fc196bbfdd20.jpg",imageAlt:"Everyday tea rituals â premium Ceylon tea",title:"Everyday Tea Rituals",ctaText:"Explore Everyday Tea",ctaHref:"/ranges#everyday"}};function x(e,t){return{image:(0,c.p3)(null==e?void 0:e.url,t.image),imageAlt:(0,c.z3)(null==e?void 0:e.alt_text,t.imageAlt),title:(0,c.z3)(null==e?void 0:e.title,t.title),ctaText:(0,c.z3)(null==e?void 0:e.cta_primary_text,t.ctaText),ctaHref:(0,c.p3)(null==e?void 0:e.cta_primary_link,t.ctaHref)}}let u="linear-gradient(230.48deg, rgba(115,115,115,0) 1.25%, rgba(23,21,21,0.40) 47.38%, rgba(0,0,0,0.50) 87.70%)",h=[.16,1,.3,1],m={once:!1,amount:.18,margin:"0px 0px -8% 0px"};function f(e){let{children:t,className:a,delay:n=0,kind:l="card"}=e,s="heading"===l;return(0,i.jsx)(r.P.div,{className:a,initial:{opacity:0,y:s?16:28,scale:s?1:.96,filter:s?"blur(6px)":"blur(10px)"},whileInView:{opacity:1,y:0,scale:1,filter:"blur(0px)"},viewport:m,transition:{duration:s?.62:.72,ease:h,delay:n},style:{willChange:"opacity, transform, filter"}
1,children:t})}function g(e){let{color:t="#ffffff",size:a=16}=e;return(0,i.jsx)("svg",{width:a,height:a,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"transition-transform group-hover:translate-x-0.5",children:(0,i.jsx)("path",{d:"M3.333 8h9.334M8 3.333 12.667 8 8 12.667",stroke:t,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}function v(e){let{title:t,ctaText:a,color:n="#ffffff",underlineWidth:l=50}=e;return(0,i.jsxs)("div",{className:"ranges-card-label absolute",children:[(0,i.jsx)("h3",{className:"font-display font-medium",style:{fontSize:"clamp(17px, 4.5vw, 30px)",lineHeight:1.12,color:n},children:t}),(0,i.jsxs)("span",{className:"ranges-card-cta",children:[(0,i.jsxs)("span",{className:"ranges-card-cta-text",style:{color:n},children:[(0,i.jsx)("span",{className:"ranges-cta-mobile",children:"Explore"}),(0,i.jsx)("span",{className:"ranges-cta-desktop",children:a}),(0,i.jsx)("span",{className:"absolute -bottom-px left-0 h-px",style:{width:"clamp(36px, 10vw, ".concat(l,"px)"),backgroundColor:n}})]}),(0,i.jsx)(g,{color:n,size:14})]})]})}function y(e){let{image:t,imageAlt:a,title:l,ctaText:r,ctaHref:c,height:d,underlineWidth:p,textColor:x="#ffffff",imageSizes:h="50vw"}=e;return(0,i.jsxs)(s(),{href:c,className:"range-card group",style:{height:d},children:[(0,i.jsx)(n.default,{src:(0,o.qn)(t),alt:a,fill:!0,style:{objectPosition:(0,o.Hh)(t)},className:"object-cover transition-transform duration-[600ms] ease-out group-hover:scale-[1.04]",sizes:h}),(0,i.jsx)("div",{className:"absolute inset-0",style:{background:u}}),(0,i.jsx)(v,{title:l,ctaText:r,color:x,underlineWidth:p})]})}function b(e){let{bgImage:t,productImage:a,imageAlt:l,title:r,ctaText:c,ctaHref:d,height:p,underlineWidth:x,productSizeClass:h="size-[569px]"}=e;return(0,i.jsxs)(s(),{href:d,className:"range-card group",style:{height:p},children:[(0,i.jsx)(n.default,{src:(0,o.qn)(t),alt:"",fill:!0,style:{objectPosition:(0,o.Hh)(t)},className:"object-cover",sizes:"33vw"}),(0,i.jsx)("div",{className:"absolute left-0 ".concat(h),style:{top:"-119px"},children:(0,i.jsx)(n.default,{src:a,alt:l,fill:!0,className:"object-cover",sizes:"33vw"})}),(0,i.jsx)("div",{className:"absolute inset-0",style:{background:u}}),(0,i.jsx)(v,{title:r,ctaText:c,underlineWidth:x})]})}function w(e){var t;let{content:a,cards:n={}}=e,l={eyebrow:(0,c.z3)(null==a?void 0:a.eyebrow,d.eyebrow),title:(0,c.z3)(null==a?void 0:a.title,d.title),description:(0,c.z3)(null==a?void 0:a.description,d.description)},s={luxury:x(n.luxury,p.luxury),wellness:x(n.wellness,p.wellness),pureCeylon:x(n.pureCeylon,p.pureCeylon),teaInspired:x(n.teaInspired,p.teaInspired),everyday:x(n.everyday,p.everyday)},r=(0,c.p3)(null==(t=n.everydayProduct)?void 0:t.url,"/figma/3a82b75a-d3c7-4ea2-abcd-72809ae3716b.png");return(0,i.jsx)("section",{id:"dilmah-ranges",className:"ranges-section",children:(0,i.jsxs)("div",{className:"ranges-inner",children:[(0,i.jsxs)(f,{className:"ranges-heading",kind:"heading",children:[(0,i.jsx)("p",{className:"font-sans font-semibold uppercase",style:{fontSize:"12px",lineHeight:"16px",letterSpacing:"2.4px",color:"#BD9328"},children:l.eyebrow}),(0,i.jsx)("h2",{className:"font-display font-medium",style:{fontSize:"clamp(28px, 5vw, 32px)",lineHeight:1.15,color:"#153337"},children:l.title}),(0,i.jsx)("p",{className:"ranges-subtitle font-sans font-normal",style:{fontSize:"16px",lineHeight:"24px",color:"rgba(21,51,55,0.70)",maxWidth:"672px"},children:l.description})]}),(0,i.jsxs)("div",{className:"ranges-card-stack",children:[(0,i.jsxs)("div",{className:"ranges-grid ranges-grid-two",children:[(0,i.jsx)(f,{className:"ranges-grid-item",delay:.04,children:(0,i.jsx)(y,{image:s.luxury.image,imageAlt:s.luxury.imageAlt,title:s.luxury.title,ctaText:s.luxury.ctaText,ctaHref:s.luxury.ctaHref,height:"clamp(148px, 42vw, 260px)",underlineWidth:58,textColor:"#f0f4f4",imageSizes:"50vw"})}),(0,i.jsx)(f,{className:"ranges-grid-item",delay:.12,children:(0,i.jsx)(y,{image:s.wellness.image,imageAlt:s.wellness.imageAlt,title:s.wellness.title,ctaText:s.wellness.ctaText,ctaHref:s.wellness.ctaHref,height:"clamp(148px, 42vw, 260px)",underlineWidth:49,textColor:"#f0f4f4",imageSizes:"50vw"})})]}),(0,i.jsxs)("div",{className:"ranges-grid ranges-grid-three",children:[(0,i.jsx)(f,{className:"ranges-grid-item",delay:.08,children:(0,i.jsx)(y,{image:s.pureCeylon.image,imageAlt:s.pureCeylon.imageAlt,title:s.pureCeylon.title,ctaText:s.pureCeylon.ctaText,ctaHref:s.pureCeylon.ctaHref,height:"clamp(148px, 42vw, 380px)",underlineWidth:54,imageSizes:"33vw"})}),(0,i.jsx)(f,{className:"ranges-grid-item",delay:.16,children:(0,i.jsx)(y,{image:s.teaInspired.image,imageAlt:s.teaInspired.imageAlt,title:s.teaInspired.title,ctaText:s.teaInspired.ctaText,ctaHref:s.teaInspired.ctaHref,height:"clamp(148px, 42vw, 380px)",underlineWidth:40,imageSizes:"33vw"})}),(0,i.jsx)(f,{className:"ranges-grid-item ranges-grid-item-wide",delay:.24,children:(0,i.jsx)(b,{bgImage:s.everyday.image,productImage:r,imageAlt:s.everyday.imageAlt,title:s.everyday.title,ctaText:s.everyday.ctaText,ctaHref:s.everyday.ctaHref,height:"clamp(148px, 42vw, 380px)",underlineWidth:50,productSizeClass:"size-[569px]"})})]})]})]})})}},7664:(e,t,a)=>{"use strict";a.d(t,{H:()=>c,Reveal:()=>o,RevealSection:()=>d,n:()=>x});var i=a(5155),n=a(1407),l=a(7477);let s=[.22,1,.36,1],r={once:!0,margin:"0px 0px -12% 0px"};function o(e){let{children:t,delay:a=0,y:o=24,className:c,style:d}=e,p=(0,n.I)();return(0,i.jsx)(l.P.div,{className:c,style:d,initial:!p&&{opacity:0,y:o},whileInView:p?void 0:{opacity:1,y:0},viewport:r,transition:{duration:.5,ease:s,delay:a},children:t})}function c(e){let{children:t,stagger:a=.08,className:s,style:o}=e,c=(0,n.I)();return(0,i.jsx)(l.P.div,{className:s,style:o,variants:{hidden:{},show:{transition:{staggerChildren:c?0:a}}}
1,initial:"hidden",whileInView:"show",viewport:r,children:t})}function d(e){let{children:t,className:a,style:o,...c}=e,d=(0,n.I)();return(0,i.jsx)(l.P.section,{className:a,style:o,initial:!d&&{opacity:0,y:24},whileInView:d?void 0:{opacity:1,y:0},viewport:r,transition:{duration:.5,ease:s},...c,children:t})}let p={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.5,ease:s}}};function x(e){let{children:t,className:a,style:s}=e,r=(0,n.I)();return(0,i.jsx)(l.P.div,{className:a,style:s,variants:r?void 0:p,children:t})}},8552:(e,t,a)=>{"use strict";a.d(t,{Hh:()=>l,Ok:()=>n,qn:()=>s});let i={x:50,y:50};function n(e){return!!e&&e.includes("#focal=")}function l(e){let{x:t,y:a}=function(e){if(!e)return i;let t=e.indexOf("#focal=");if(-1===t)return i;let a=e.slice(t+7).split(","),n=Number(a[0]),l=Number(a[1]);return isNaN(n)||isNaN(l)?i:{x:Math.max(0,Math.min(100,n)),y:Math.max(0,Math.min(100,l))}}(e);return"".concat(t,"% ").concat(a,"%")}function s(e){if(!e)return"";let t=e.indexOf("#focal=");return -1===t?e:e.slice(0,t)}}},e=>{e.O(0,[2619,1555,5239,8818,8441,1255,7358],()=>e(e.s=1979)),_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.