1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,631171,e=>{"use strict";let t=(0,e.i(475254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},794909,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={default:function(){return d},getImageProps:function(){return c}};for(var i in l)Object.defineProperty(r,i,{enumerable:!0,get:l[i]});let a=e.r(555682),s=e.r(908927),n=e.r(605500),o=a._(e.r(1948));function c(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75,85,100],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let d=n.Image},657688,(e,t,r)=>{t.exports=e.r(794909)},975558,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);e.s(["ArrowUp",0,t],975558)},492161,e=>{"use strict";let t=(0,e.i(475254).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["Menu",0,t],492161)},664659,e=>{"use strict";var t=e.i(631171);e.s(["ChevronDown",()=>t.default])},972520,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,t],972520)},450497,e=>{"use strict";var t=e.i(843476),r=e.i(271645),l=e.i(522016),i=e.i(972520),a=e.i(664659),s=e.i(492161),n=e.i(37727),o=e.i(632741),c=e.i(905771),d=e.i(384458),u=e.i(975558);function h(){let[e,l]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{function e(){l(window.scrollY>300)}return e(),window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[]),(0,t.jsx)("button",{type:"button",onClick:function(){window.scrollTo({top:0,behavior:"smooth"})},"aria-label":"Back to top",className:`fixed bottom-[13rem] right-4 z-50 inline-flex h-12 w-12 items-center justify-center rounded-full border border-white/70 bg-[#153359] text-white shadow-[0_14px_34px_rgba(21,51,89,0.22)] transition duration-200 hover:-translate-y-0.5 hover:bg-[#d1151f] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#d1151f]/45 sm:bottom-[13.75rem] sm:right-6 sm:h-[52px] sm:w-[52px] ${e?"translate-y-0 opacity-100":"pointer-events-none translate-y-3 opacity-0"}`,children:(0,t.jsx)(u.ArrowUp,{className:"h-5 w-5","aria-hidden":"true"})})}let f="#english-test-form",m=["/learn-english/","/test-your-english/","/self-explore/test-your-english-quick-link","/self-explore/center-locator","/promotions/","/corporate-solutions/","/about-us/locations-centers-map"];function p(){return(0,r.useEffect)(()=>{let e,t=Array.from(document.querySelectorAll("[data-public-motion]")),r=t.length>0?t:Array.from(document.querySelectorAll("main"));if(0===r.length)return;let l=window.matchMedia("(prefers-reduced-motion: reduce)"),i=[],a=[];if(r.forEach(e=>{e.classList.add("public-motion-root");let t=m.some(e=>window.location.pathname.startsWith(e));t&&e.classList.add("public-motion-high-impact"),Array.from(e.querySelectorAll("section, article, aside, form")).forEach((e,t)=>{e.closest("header, footer")||e.closest(f)||(e.classList.add("public-reveal"),e.style.setProperty("--public-reveal-delay",`${70*Math.min(t%4,3)}ms`),i.push(e))}),Array.from(e.querySelectorAll("article, form, section div[class*='rounded-xl'], section div[class*='rounded-2xl']")).forEach(e=>{e.closest("header, footer")||e.closest(f)||e.classList.add("public-motion-card")}),Array.from(e.querySelectorAll("section a")).forEach(e=>{e.closest("header, footer")||!e.closest(f)&&e.querySelector("img")&&e.classList.add("public-motion-card")}),Array.from(e.querySelectorAll("section a, section button")).forEach(e=>{e.closest("header, footer")||e.closest(f)||e.classList.add("public-motion-button")}),Array.from(e.querySelectorAll("section img")).slice(0,t?12:8).forEach((e,r)=>{e.closest("header, footer")||e.closest(f)||(e.classList.add("public-parallax-media"),e.dataset.publicParallax=t?r<3?"0.07":"0.042":r<2?"0.055":"0.032",a.push(e))})}
1),l.matches){i.forEach(e=>e.classList.add("is-visible")),r.forEach(e=>e.setAttribute("data-public-motion-ready","true"));return}let s=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add("is-visible"),s.unobserve(e.target))})},{rootMargin:"0px 0px -10% 0px",threshold:.12});i.forEach(e=>s.observe(e));let n=0,o=()=>{n=0;let e=window.innerHeight/2;a.forEach(t=>{let r=Number(t.dataset.publicParallax||"0.035"),l=t.getBoundingClientRect(),i=Math.max(-42,Math.min(42,-((l.top+l.height/2-e)*r*1)));t.style.setProperty("--public-parallax-y",`${i.toFixed(2)}px`)})},c=()=>{n||(n=window.requestAnimationFrame(o))};return e=.96*window.innerHeight,i.forEach(t=>{t.getBoundingClientRect().top<e&&t.classList.add("is-visible")}),r.forEach(e=>e.setAttribute("data-public-motion-ready","true")),o(),window.addEventListener("scroll",c,{passive:!0}),window.addEventListener("resize",c),()=>{s.disconnect(),window.removeEventListener("scroll",c),window.removeEventListener("resize",c),n&&window.cancelAnimationFrame(n)}},[]),null}var x=e.i(350307);function b(e){return e.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}}function g(e,t=!1){return t?e:e.map(e=>"About us"===e.label?{...e,items:e.items.filter(e=>"/tips-blog/vocabulary"!==e.href)}:e)}function w(e,t=!1){return e.map(e=>{let r=e.items.map(e=>"/learn-english/private-english-course"===e.href?{...e,hidden:!0}:"Careers"===e.label||"รà¹à¸§à¸¡à¸à¸²à¸à¸à¸±à¸à¹à¸£à¸²"===e.label||"à¸à¸²à¸à¸µà¸"===e.label||"/about-us/careers"===e.href||"/careers"===e.href?{...e,href:"https://job.wallstreetenglish.in.th/"}:"Student Login"===e.label||"/self-explore/student-login"===e.href?{...e,href:x.STUDENT_LOGIN_URL}:e);if(!t&&"Adults"===e.label){let e=["/adults/english-for-adults","/adults/spoken-english-classes"];r=[...e.map(e=>r.find(t=>t.href===e)).filter(e=>!!e),...r.filter(t=>!e.includes(t.href))]}return t||"Certifications"!==e.label||r.some(e=>"/test-your-english/cefr-level-test"===e.href)||r.push({label:"English Level Test",href:"/test-your-english/cefr-level-test",description:"Take the English level test and see your score."}),("Promotion"===e.label||"à¹à¸à¸£à¹à¸¡à¸à¸±à¹à¸"===e.label)&&(e={...e,href:"/promotions"}),{...e,items:r}})}function v(e){return e.filter(e=>!e.hidden).map(e=>({...e,items:e.items.filter(e=>!e.hidden)}))}e.s(["default",0,function({initialNavigation:e=null,logoUrl:u}){let[f,m]=(0,r.useState)(!1),[y,j]=(0,r.useState)(null),[E,N]=(0,r.useState)(e),F=(0,r.useRef)(null),{language:S,t:L}=(0,c.useI18n)(),k=e=>L(`publicNav.${e}`,e),A=!!E?.menus?.length,_=v(g(w(E?.menus?.length?E.menus:x.megaMenus,A),A)),C=v(g(w(E?.mobileMenus?.length?E.mobileMenus:_,A),A)),M=k(E?.ctaLabel||"Register Free Trial"),$=E?.ctaHref||"/self-explore/register-free-trial",P=E?.menuIntro||("th"===S?"สำรวà¸à¸à¸à¸£à¹à¸ª à¹à¸à¸£à¹à¸à¸£à¸¡ à¹à¸¥à¸°à¹à¸ªà¹à¸à¸à¸²à¸à¸à¸²à¸£à¹à¸£à¸µà¸¢à¸à¸à¸à¸ Wall Street English à¸à¸µà¹à¹à¸«à¸¡à¸²à¸°à¸à¸±à¸à¹à¸à¹à¸²à¸«à¸¡à¸²à¸¢à¸à¸à¸à¸à¸¸à¸":"Explore programs and pathways connected to the existing Wall Street English learning experience.");function R(){F.current&&(clearTimeout(F.current),F.current=null)}function W(e){R(),j(e)}function D(){R(),F.current=setTimeout(()=>{j(null),F.current=null},350)}function I(){R(),j(null)}return(0,r.useEffect)(()=>()=>{F.current&&clearTimeout(F.current)},[]),(0,r.useEffect)(()=>{if(e)return;let t=!1;return async function(){try{let e=new URLSearchParams({pageKey:"site",language:S}),r=await fetch(`/api/content-blocks/public?${e.toString()}`),l=await r.json(),i=Array.isArray(l.data)?l.data.find(e=>"navigation"===e.blockKey):null;t||N(i?.value??null)}catch{t||N(null)}}(),()=>{t=!0}},[e,S]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p,{}),(0,t.jsx)("header",{className:"fixed inset-x-0 top-0 z-50 border-b border-[#d8e7ef] bg-white/95 [font-family:var(--font-brand-sans),var(--font-thai),sans-serif] shadow-[0_10px_30px_rgba(0,51,89,0.06)] backdrop-blur-[10px]",children:(0,t.jsxs)("div",{className:"mx-auto w-full max-w-[1440px] px-4 sm:px-6 lg:px-8 xl:px-10 2xl:px-12",children:[(0,t.jsxs)("div",{className:"flex h-[86px] items-center justify-between gap-5",children:[(0,t.jsx)(l.default,{href:"/",className:"inline-flex h-[78px] w-[170px] shrink-0 items-center overflow-hidden sm:w-[180px] 2xl:w-[194px]","aria-label":"Wall Street English Home",children:(0,t.jsx)(o.default,{priority:!0,srcOverride:u||void 0,imageClassName:"max-h-[72px] w-auto max-w-[164px] object-contain sm:max-w-[174px] 2xl:max-w-[188px]"})}),(0,t.jsx)("nav",{"aria-label":"Primary navigation",className:"hidden min-w-0 flex-1 items-center justify-evenly gap-2 xl:flex 2xl:gap-4",children:_.map(e=>{var r;if(e.href)return(0,t.jsx)(l.default,{href:e.href,onClick:I,className:"group/link relative inline-flex h-10 items-center justify-center whitespace-nowrap px-2 text-[14px] font-semibold leading-none text-[#003359] transition duration-200 hover:text-[#d1151f] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#d1151f]/35 2xl:text-[15px]",children:(0,t.jsx)("span",{className:"relative inline-flex pb-1 after:absolute after:inset-x-0 after:bottom-0 after:h-0.5 after:origin-left after:scale-x-0 after:bg-[#d1151f] after:transition-transform after:duration-200 group-hover/link:after:scale-x-100 group-focus-visible/link:after:scale-x-100",children:k(e.label)})},e.label);let a=(r=e.label,`public-menu-${r.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}`),s=y===e.label;return(0,t.jsxs)("div",{className:"group/menu",onMouseEnter:()=>W(e.label),onMouseLeave:D,onFocus:()=>W(e.label),children:[(0,t.jsx)("button",{type:"button","aria-haspopup":"true","aria-controls":a,"aria-expanded":s,onClick:()=>W(e.label),className:`inline-flex h-10 items-center justify-center whitespace-nowrap px-2 text-[14px] font-semibold leading-none transition duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#d1151f]/35 group-hover/menu:text-[#d1151f] 2xl:text-[15px] ${s?"text-[#d1151f]":"text-[#003359] hover:text-[#d1151f]"}`,children:(0,t.jsx)("span",{className:`relative inline-flex pb-1 after:absolute after:inset-x-0 after:bottom-0 after:h-0.5 after:origin-left after:bg-[#d1151f] after:transition-transform after:duration-200 group-hover/menu:after:scale-x-100 ${s?"after:scale-x-100":"after:scale-x-0"}`,children:k(e.label)})}),(0,t.jsx)("div",{id:a,onMouseEnter:()=>W(e.label),onMouseLeave:D,className:`fixed left-1/2 top-[78px] z-40 w-[min(960px,calc(100vw-2rem))] -translate-x-1/2 pt-4 transition duration-200 ease-out group-hover/menu:pointer-events-auto group-hover/menu:visible group-hover/menu:translate-y-0 group-hover/menu:opacity-100 ${s?"pointer-events-auto visible translate-y-0 opacity-100":"pointer-events-none invisible translate-y-3 op
1acity-0"}`,children:(0,t.jsx)("div",{className:"overflow-hidden rounded-2xl border border-[#d8e7ef] bg-white shadow-[0_28px_80px_rgba(0,51,89,0.18)] ring-1 ring-[#003359]/5",children:(0,t.jsxs)("div",{className:"grid grid-cols-[290px_1fr]",children:[(0,t.jsxs)("div",{className:"bg-[#003359] p-8 text-white",children:[(0,t.jsx)("div",{className:"mb-6 h-1.5 w-16 rounded-full bg-[#d1151f]"}),(0,t.jsx)("p",{className:"text-[12px] font-bold uppercase tracking-[0.14em] text-white/68",children:"Wall Street English"}),(0,t.jsx)("p",{className:"mt-3 text-[30px] font-extrabold leading-tight tracking-normal",children:k(e.label)}),(0,t.jsx)("p",{className:"mt-4 text-[14px] leading-[1.7] text-white/72",children:"th"===S?"สำรวà¸à¸à¸à¸£à¹à¸ª à¹à¸à¸£à¹à¸à¸£à¸¡ à¹à¸¥à¸°à¹à¸ªà¹à¸à¸à¸²à¸à¸à¸²à¸£à¹à¸£à¸µà¸¢à¸à¸à¸à¸ Wall Street English à¸à¸µà¹à¹à¸«à¸¡à¸²à¸°à¸à¸±à¸à¹à¸à¹à¸²à¸«à¸¡à¸²à¸¢à¸à¸à¸à¸à¸¸à¸":P})]}),(0,t.jsx)("div",{className:"grid gap-x-8 gap-y-3 p-7 sm:grid-cols-2",children:e.items.map(r=>(0,t.jsxs)(l.default,{href:r.href,...b(r.href),onClick:I,className:"group/item rounded-xl border border-transparent p-4 transition duration-200 hover:border-[#d1151f]/30 hover:bg-[#d1151f]/8 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#d1151f]/45",children:[(0,t.jsxs)("span",{className:"flex items-center justify-between gap-4 text-[16px] font-extrabold text-[#003359]",children:[k(r.label),(0,t.jsx)(i.ArrowRight,{className:"h-4 w-4 shrink-0 text-[#d1151f] opacity-0 transition duration-200 group-hover/item:translate-x-0.5 group-hover/item:opacity-100"})]}),r.description?(0,t.jsx)("span",{className:"mt-2 block text-[13px] leading-[1.6] text-[#536f87]",children:r.description}):null]},`${e.label}-${r.label}-${r.href}`))})]})})})]},e.label)})}),(0,t.jsxs)("div",{className:"ml-2 flex shrink-0 items-center gap-2 xl:ml-4 xl:border-l xl:border-[#d8e7ef] xl:pl-5 2xl:ml-6 2xl:pl-6",children:[(0,t.jsx)(l.default,{href:$,onClick:I,className:"hidden h-11 items-center justify-center whitespace-nowrap rounded-full bg-[#d1151f] px-5 text-[14px] font-extrabold leading-none text-white transition hover:bg-[#b90f19] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#d1151f]/45 sm:inline-flex",children:M}),(0,t.jsx)(d.default,{}),(0,t.jsx)("button",{type:"button",onClick:()=>m(e=>!e),className:"inline-flex h-11 w-11 items-center justify-center rounded-full border border-[#d8e7ef] text-[#003359] transition hover:bg-[#4DD4F5]/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#4DD4F5]/70 xl:hidden","aria-label":"Toggle menu","aria-expanded":f,children:f?(0,t.jsx)(n.X,{className:"h-5 w-5"}):(0,t.jsx)(s.Menu,{className:"h-5 w-5"})})]})]}),f?(0,t.jsx)("nav",{"aria-label":"Mobile primary navigation",className:"max-h-[calc(100vh-86px)] overflow-y-auto border-t border-[#d8e7ef] pb-6 pt-5 xl:hidden",children:(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)(l.default,{href:$,onClick:()=>m(!1),className:"flex min-h-14 items-center justify-center rounded-2xl bg-[#d1151f] px-5 text-[16px] font-extrabold text-white transition hover:bg-[#b90f19]",children:M}),C.map(e=>e.href?(0,t.jsxs)(l.default,{href:e.href,onClick:()=>m(!1),className:"flex min-h-14 items-center justify-between rounded-2xl border border-[#d8e7ef] bg-white px-5 text-[16px] font-extrabold text-[#003359] transition hover:border-[#4DD4F5]/50 hover:bg-[#4DD4F5]/10",children:[k(e.label),(0,t.jsx)(i.ArrowRight,{className:"h-4 w-4 text-[#4DD4F5]"})]},e.label):(0,t.jsxs)("details",{className:"group rounded-2xl border border-[#d8e7ef] bg-white shadow-[0_10px_26px_rgba(0,51,89,0.05)]",children:[(0,t.jsxs)("summary",{className:"flex min-h-14 cursor-pointer list-none items-center justify-between gap-3 px-5 text-[16px] font-extrabold text-[#003359] marker:hidden",children:[(0,t.jsx)("span",{children:k(e.label)}),(0,t.jsx)(a.ChevronDown,{className:"h-4 w-4 text-[#4DD4F5] transition duration-200 group-open:rotate-180"})]}),(0,t.jsx)("div",{className:"space-y-1.5 border-t border-[#e6f0f5] p-3",children:e.items.map(r=>(0,t.jsxs)(l.default,{href:r.href,...b(r.href),onClick:()=>m(!1),className:"block rounded-xl px-3.5 py-3 text-[15px] font-bold text-[#003359] transition hover:bg-[#4DD4F5]/10",children:[k(r.label),r.description?(0,t.jsx)("span",{className:"mt-1.5 block text-[13px] font-normal leading-[1.5] text-[#536f87]",children:r.description}):null]},`${e.label}-${r.label}-${r.href}`))})]},e.label))]})}):null]})}),(0,t.jsx)(h,{})]})}],450497)},521169,e=>{"use strict";let t=[{id:"all-center",label:"All Center",url:"https://api.wallstreetenglish.in.th/LeadForm/WSEForm.aspx"},{id:"current-retail-center",label:"Current Retail Center",url:"https://api.wallstreetenglish.in.th/LeadForm/WSEForm_2.aspx"},{id:"form-3-central-world",label:"Form 3",url:"https://api.wallstreetenglish.in.th/LeadForm/WSEForm_3.as
1px"},{id:"form-4-mbk",label:"Form 4",url:"https://api.wallstreetenglish.in.th/LeadForm/WSEForm_4.aspx"},{id:"form-5-school",label:"Form 5",url:"https://api.wallstreetenglish.in.th/LeadForm/WSEForm_5.aspx"}];e.s(["CAMPAIGN_LEAD_FORM_PRESET_ID",0,"current-retail-center","DEFAULT_LEAD_FORM_PRESET_ID",0,"all-center","LEAD_FORM_PRESETS",0,t,"buildLeadFormIframeSrc",0,function(e,t="https://www.wallstreetenglish.in.th"){let r=e.replace(/\/WSEFCForm\.asp\b/i,"/WSEFCForm.aspx");try{let e=new URL(r),l=Array.from(e.searchParams.entries()).filter(([e])=>"url"!==e);for(let[r,i]of(e.search="",e.searchParams.set("url",t),l))e.searchParams.append(r,i);return e.toString()}catch{let[e,l=""]=r.split("#"),[i,a=""]=e.split("?"),s=new URLSearchParams(a);s.delete("url");let n=s.toString(),o=`${i}?url=${encodeURIComponent(t)}${n?`&${n}`:""}`;return l?`${o}#${l}`:o}},"getLeadFormPreset",0,function(e){return t.find(t=>t.id===e)||t[0]},"getLeadFormPresetByUrl",0,function(e){return e&&t.find(t=>{let r;return((r=e.split("?")[0]).endsWith("/WSEFCForm.asp")?r.replace("/WSEFCForm.asp","/WSEFCForm.aspx"):r)===t.url})||null},"isWseLeadFormUrl",0,function(e){if(!e)return!1;try{let r=new URL(e.replace(/\/WSEFCForm\.asp\b/i,"/WSEFCForm.aspx"));if("https://api.wallstreetenglish.in.th"!==r.origin)return!1;return t.some(e=>r.pathname===new URL(e.url).pathname)||"/LeadForm/WSEFCForm.aspx"===r.pathname}catch{return!1}}])},504489,e=>{"use strict";var t=e.i(843476),r=e.i(271645),l=e.i(521169),i=e.i(975157);e.s(["default",0,function({baseUrl:e="https://api.wallstreetenglish.in.th/LeadForm/WSEForm.aspx",className:a,height:s=920,title:n="Wall Street English lead form"}){let[o,c]=(0,r.useState)("");(0,r.useEffect)(()=>{c(window.location.href)},[]);let d=(0,r.useMemo)(()=>o?(0,l.buildLeadFormIframeSrc)(e,o):"",[e,o]);return d?(0,t.jsx)("iframe",{src:d,title:n,width:"100%",height:s,className:(0,i.cn)("block w-full border-0 bg-white",a),loading:"lazy"}):(0,t.jsx)("div",{className:(0,i.cn)("block w-full border-0 bg-white",a),style:{minHeight:s}})}])},269103,e=>{"use strict";var t=e.i(271645);e.s(["default",0,function(){return(0,t.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=Array.from(document.querySelectorAll("[data-home-reveal]")),r=Array.from(document.querySelectorAll("[data-home-parallax]"));if(e.matches)return void t.forEach(e=>e.classList.add("is-visible"));let l=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add("is-visible"),l.unobserve(e.target))})},{rootMargin:"0px 0px -12% 0px",threshold:.16});t.forEach(e=>l.observe(e));let i=0,a=()=>{i=0;let e=window.innerHeight/2;r.forEach(t=>{let r=Number(t.dataset.homeParallax||"0.08"),l=t.getBoundingClientRect(),i=Math.max(-56,Math.min(56,-((l.top+l.height/2-e)*r*1)));t.style.setProperty("--home-parallax-y",`${i.toFixed(2)}px`)})},s=()=>{i||(i=window.requestAnimationFrame(a))};return a(),window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("resize",s),()=>{l.disconnect(),window.removeEventListener("scroll",s),window.removeEventListener("resize",s),i&&window.cancelAnimationFrame(i)}},[]),null}])},787728,e=>{"use strict";var t=e.i(843476),r=e.i(271645),l=e.i(657688);e.s(["default",0,function({images:e,title:i,intervalMs:a=4200}){let s=e.filter(Boolean),[n,o]=(0,r.useState)(0),c=s[n]||s[0];return((0,r.useEffect)(()=>{if(s.length<=1)return;let e=Number.isFinite(a)?Math.max(1500,a):4200,t=window.setInterval(()=>{o(e=>(e+1)%s.length)},e);return()=>window.clearInterval(t)},[a,s.length]),0===s.length)?null:(0,t.jsxs)("div",{className:"home-hero-media relative h-full min-h-[300px] overflow-hidden rounded-2xl border border-[#d6e0ed] bg-white shadow-[0_24px_56px_rgba(21,51,89,0.16)] sm:min-h-[380px] lg:min-h-[460px]",children:[c?(0,t.jsx)(l.default,{src:c,alt:`${i} ${n+1}`,width:1200,height:900,sizes:"(max-width: 640px) 92vw, (max-width: 1024px) 86vw, 540px",quality:85,className:"absolute inset-0 h-full w-full object-cover transition duration-500 ease-out",priority:0===n,fetchPriority:0===n?"high":"auto"},c):null,(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#003359]/18 via-trans
1parent to-transparent"}),(0,t.jsx)("div",{className:"absolute bottom-5 left-0 right-0 flex justify-center gap-2",children:s.map((e,r)=>(0,t.jsx)("button",{type:"button",onClick:()=>o(r),className:`h-2.5 rounded-full transition ${r===n?"w-7 bg-[#d1151f]":"w-2.5 bg-white/80 hover:bg-white"}`,"aria-label":`Show hero image ${r+1}`,"aria-pressed":r===n},`${e}-dot-${r}`))})]})}])},157004,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let l=(0,e.i(475254).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);var i=e.i(975157);e.s(["default",0,function({src:e,title:a,className:s,iframeClassName:n,allow:o}){let c=(0,r.useRef)(null),[d,u]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=c.current;if(!e||d)return;if(!("IntersectionObserver"in window)){let e=setTimeout(()=>u(!0),0);return()=>clearTimeout(e)}let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(u(!0),t.disconnect())},{rootMargin:"900px 0px"});return t.observe(e),()=>t.disconnect()},[d]),(0,t.jsx)("div",{ref:c,className:(0,i.cn)("relative h-full w-full",s),children:d?(0,t.jsx)("iframe",{className:(0,i.cn)("absolute inset-0 h-full w-full",n),src:e,title:a,loading:"lazy",allow:o,referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}):(0,t.jsx)("button",{type:"button",onClick:()=>u(!0),className:"absolute inset-0 flex h-full w-full items-center justify-center bg-[#082b48] text-white transition hover:bg-[#0b3559] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/70","aria-label":`Load ${a}`,children:(0,t.jsx)("span",{className:"inline-flex h-16 w-16 items-center justify-center rounded-full bg-[#ed1237] shadow-[0_16px_34px_rgba(237,18,55,0.28)]",children:(0,t.jsx)(l,{className:"ml-1 h-7 w-7 fill-white"})})})})}],157004)}]);
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.