PageSourceSearch

https://metmtl.com/_next/static/chunks/app/%5Blocale%5D/(main-site)/layout-d1efb4f51ec2bd6d.js

js metmtl.com collected 2026-10-06 16:20:58 UTC 24,718 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3627],{36784:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r=n(95155),s=n(71081),i=n(12115),l=n(90033),a=n(17652),o=n(24136),c=n(15841),d=n(44499),u=n(57904),m=n(95701);function x({temperature:e,condition:t,temperatureUnit:n="Celsius",time:s,timeFormat:i}){let l=(0,a.c)("OpenWeather"),x=(0,u.V)({time:s,timeFormat:i}),f=(0,d.q)(n);return(0,r.jsx)("div",{className:"bg-opacity-light-60 py-3 text-content-primary backdrop-blur-lg",children:(0,r.jsx)(o.Yf,{children:(0,r.jsxs)("div",{className:"col-span-full flex items-center justify-between gap-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(m.A,{iconCode:t,size:20}),(0,r.jsxs)(c.A,{variant:"text-sm-Caps",children:[e," ",f," ",l(t)]})]}),(0,r.jsx)(c.A,{variant:"text-sm-Caps",children:x})]})})})}var f=n(94908);let h=i.memo(({time:e})=>{let{data:t,loading:n,error:s}=(0,l.U)({city:"St-Hubert",stateCode:"QC",countryCode:"CA"});return n||!e?(0,r.jsx)(f.F,{}):s||!t?null:(0,r.jsx)(x,{condition:t.weather[0].icon,temperature:Math.round(t.main.temp),time:e})});function p({timezone:e,...t}){let n=(0,s.A)({timeZone:e,updateInterval:1e4});return(0,r.jsx)(h,{time:n,...t})}},58165:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(95155),s=n(35695),i=n(12115),l=n(24136),a=n(14259),o=n(91950),c=n(49835),d=n(89484);function u({suggestionsScrollThreshold:e=200,hideWhenElementVisibleCSSSelector:t}){let n=(0,i.useRef)(null),[u,m]=(0,i.useState)(!1),[x,f]=(0,i.useState)(!0),h=(0,i.useRef)(null),{isChatOpen:p}=(0,d.g)(),v=(0,s.usePathname)().replace(/^\/[a-z]{2}(\/|$)/,"/"),b="/"===v||""===v||"/entreprise"===v||v.startsWith("/entreprise/")||"/corporate"===v||v.startsWith("/corporate/")||"/lia"===v||v.startsWith("/lia/");(0,i.useLayoutEffect)(()=>{f(window.scrollY<=e)},[e]),(0,i.useEffect)(()=>{let t=()=>{f(window.scrollY<=e)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[e]),(0,i.useEffect)(()=>{if(!t)return;let e=document.querySelector(t);if(e)return h.current=new IntersectionObserver(([e])=>{m(e.isIntersecting)},{threshold:.1}),h.current.observe(e),()=>{h.current?.disconnect()}},[t]);let g=b&&x,j=g?o.Mk:o.Gs;return((0,i.useEffect)(()=>{let e=!u&&!p,t=()=>{if(document.documentElement.style.setProperty("--floating-cta-bottom-offset",`${j}px`),document.documentElement.style.setProperty("--floating-cta-bottom-offset--active",e?`${j}px`:"0px"),n.current){let t=n.current.offsetHeight;document.documentElement.style.setProperty("--floating-cta-height",`${t}px`),document.documentElement.style.setProperty("--floating-cta-height--active",e?`${t}px`:"0px")}};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[u,p,j]),p||u)?null:(0,r.jsx)("div",{ref:n,className:"fixed right-0 bottom-0 left-0 z-50",style:{marginBottom:j},children:(0,r.jsx)(l.Yf,{children:(0,r.jsx)("div",{className:(0,c.cn)("flex justify-center",g?"col-span-full":"col-span-full md:col-span-8 md:col-start-5"),children:(0,r.jsx)(a.A,{variant:g?"expanded":"compact",showSuggestions:b&&x,className:g?void 0:"w-full"})})})})}},59224:(e,t,n)=>{"use strict";n.d(t,{default:()=>Q});var r=n(95155),s=n(12115),i=n(42843),l=n(50408);function a(){l.r.current||(0,i.U)();let[e]=(0,s.useState)(l.O.current);return e}var o=n(75862),c=n(17652),d=n(74692),u=n(24136);let m=Number.parseInt(n(91950).bQ,10)+22;var x=n(18057),f=n(38382),h=n(45821),p=n(91841),v=n(30285),b=n(49835);function g({withCloseButton:e=!1,children:t}){let n=(0,c.c)(),s=(0,c.c)("Header");return(0,r.jsxs)("div",{className:"flex items-center gap-1 md:justify-self-end",children:[t,e?(0,r.jsx)(h.bm,{className:(0,b.cn)((0,v.r)({variant:"black",size:"icon"}),"h-full"),"aria-label":s("close"),title:s("close"),children:(0,r.jsx)(p.A,{name:"X"})}):(0,r.jsx)(f.CG,{asChild:!0,children:(0,r.jsxs)(v.$,{variant:"black","aria-label":s("open"),title:s("open"),className:"max-md:size-9 max-md:p-0 md:h-full min-[1087px]:hidden",children:[(0,r.jsx)(p.A,{name:"menu",className:"md:hidden"}),(0,r.jsx)("span",{className:"hidden md:inline",children:n("menu")})]})})]})}var j=n(19114),y=n(6433),w=n(58892),N=n(70113),P=n(88259),k=n(50570);let E=(0,s.createContext)(void 0),C=({children:e,navigations:t,activeNavigationId:n,socialLinks:i,setIsOpen:l,isHeaderHidden:a=!1})=>{let o=t?.find(e=>
1e.id===n)||t?.[0],[c,d]=(0,s.useState)(null),u=(0,s.useRef)(null),m=(0,s.useCallback)(()=>{u.current&&(clearTimeout(u.current),u.current=null)},[]),x=(0,s.useCallback)(e=>{m(),d(e)},[m]),f=(0,s.useCallback)(()=>{m(),u.current=setTimeout(()=>{d(null)},150)},[m]);(0,s.useEffect)(()=>{m(),d(null)},[n,m]),(0,s.useEffect)(()=>m,[m]);let h=(c?t?.find(e=>e.id===c):void 0)??o;return(0,r.jsx)(E.Provider,{value:{navigations:t,activeNavigationId:n,activeNavigation:o,displayedNavigation:h,previewNavigation:x,endPreview:f,cancelEndPreview:m,socialLinks:i,setIsOpen:l,isHeaderHidden:a},children:e})},A=()=>{let e=(0,s.useContext)(E);if(void 0===e)throw Error("useHeaderNavigation must be used within a HeaderNavigationProvider");return e},S={type:"spring",stiffness:380,damping:36,mass:.9},_={duration:0};function L(){let{displayedNavigation:e,isHeaderHidden:t,cancelEndPreview:n,endPreview:i}=A(),l=e?.menu,c=(0,P.a8)(),d=(0,s.useId)(),u=!(0,N.m)(),m=a()?_:S,[x,f]=(0,s.useState)(!1),[h,p]=(0,s.useState)(l?.[0]?.id),v=(0,s.useRef)(null),g=(0,s.useRef)(null),y=(0,s.useRef)(!1),w=()=>{g.current&&(clearTimeout(g.current),g.current=null)},k=()=>{w(),g.current=setTimeout(()=>{v.current?.contains(document.activeElement)||f(!1)},150)},E=()=>{w(),n()},C=()=>{k(),i()};if((0,s.useEffect)(()=>{f(!1)},[c]),(0,s.useEffect)(()=>{p(l?.[0]?.id)},[e?.id]),(0,s.useEffect)(()=>()=>{g.current&&clearTimeout(g.current)},[]),(0,s.useEffect)(()=>{if(!x)return;let e=e=>{"Escape"===e.key&&f(!1)},t=e=>{v.current?.contains(e.target)||f(!1)};return document.addEventListener("keydown",e),document.addEventListener("pointerdown",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("pointerdown",t)}},[x]),!l||0===l.length)return null;let L=e=>{w(),p(e),f(!0)},R=e=>{if(w(),x&&h===e)return void f(!1);p(e),f(!0)},I=x?`repeat(${l.length}, minmax(0, 1fr))`:`repeat(${l.length}, max-content)`;return(0,r.jsxs)("div",{ref:v,"data-state":x?"open":"closed",onKeyDown:e=>{if("Tab"!==e.key||!v.current)return;let t=Array.from(v.current.querySelectorAll('button[aria-haspopup="menu"]')),n=Array.from(v.current.querySelectorAll('[role="group"]')),r=[];for(let e=0;e<t.length;e++){r.push(t[e]);let s=n[e];s&&r.push(...Array.from(s.querySelectorAll('[role="menuitem"]')))}let s=r.indexOf(document.activeElement);if(-1===s)return;let i=e.shiftKey?s-1:s+1;i<0||i>=r.length||(e.preventDefault(),r[i].focus())},onBlur:e=>{if(!v.current)return;let t=e.relatedTarget;t&&v.current.contains(t)||(w(),f(!1))},children:[(0,r.jsx)(o.P.div,{layout:!0,transition:m,onPointerEnter:u?E:void 0,onPointerLeave:u?C:void 0,style:{gridTemplateColumns:I},className:(0,b.cn)("-translate-x-1/2 fixed left-1/2 z-50 grid max-w-[914px] items-stretch rounded-md bg-opacity-dark-40 px-4 py-2 backdrop-blur-lg transition-colors",t?"top-3":"top-[var(--header-height)]",x?"w-[calc(100%-var(--grid-system-gutter)*2)] gap-x-4":"w-fit gap-x-0"),children:l.map(e=>{let t=x&&h===e.id;return(0,r.jsxs)(o.P.button,{layout:!0,transition:m,type:"button",onPointerDown:()=>{y.current=!0},onPointerUp:()=>{y.current=!1},onPointerCancel:()=>{y.current=!1},onPointerEnter:u?()=>L(e.id):void 0,onFocus:()=>{y.current||L(e.id)},onClick:()=>R(e.id),"aria-expanded":x,"aria-haspopup":"menu","aria-controls":d,"data-state":t?"active":"inactive",className:"group flex w-full min-w-0 cursor-pointer items-center justify-between gap-2 rounded-sm px-3.5 py-2 transition-colors",children:[(0,r.jsx)(o.P.span,{layout:"position",transition:m,className:(0,b.cn)("text-balance font-fellix font-medium text-sm uppercase leading-tight tracking-[0.0325rem] transition-colors",x?null:"whitespace-nowrap",t?"text-content-invert-primary":x?"text-opacity-light-60":"text-content-invert-primary"),children:e.title}),(0,r.jsx)(o.P.span,{"aria-hidden":!0,initial:!1,animate:{opacity:+!!t,scale:t?1:.6},transition:{duration:.18},className:"size-2.5 shrink-0 rounded-full bg-green-600 blur-[1px]"})]},e.id)})}),(0,r.jsx)(j.N,{initial:!1,children:x&&(0,r.jsx)(o.P.div,{id:d,role:"menu",initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.2,ease:"easeOut"},onPointerEnter:u?E:void 0,onPointerLeave:u?C:void 0,style:{gridTemplateColumns:`repeat(${l.length}, minmax(0, 1fr))`},className:(0,b.cn)("-translate-x-1/2 fixed left-1/2 z-50 grid w-[calc(100%-var(--grid-system-gutter)*2)] max-w-[914px] items-start gap-x-4 roun
1ded-md bg-opacity-dark-40 p-4 backdrop-blur-lg transition-[top] duration-300 ease-out motion-reduce:transition-none",t?"top-[calc(var(--spacing)*3+56px)]":"top-[calc(var(--header-height)+56px)]","before:-top-2 before:absolute before:left-0 before:h-2 before:w-full before:content-['']","shadow-[0px_4px_8px_0px_rgba(0,0,0,0.05),0px_2px_2px_0px_rgba(0,0,0,0.05),0px_8px_7.8px_0px_rgba(0,0,0,0.02)]"),children:l.map(e=>(0,r.jsx)(z,{menuItem:e,isActiveColumn:h===e.id,onActivate:L,canHover:u},e.id))},"panel")})]})}function z({menuItem:e,isActiveColumn:t,onActivate:n,canHover:s}){let i=e.submenu.flatMap(e=>e.links),l=()=>n(e.id);return(0,r.jsx)("div",{role:"group","aria-label":e.title,className:"flex min-w-px flex-col",onPointerEnter:s?l:void 0,onFocus:l,children:i.map(({id:e,data:n})=>{let s=(0,k.B)(w.m,n);return(0,r.jsx)(y.A,{data:s.link,role:"menuitem",className:(0,b.cn)("flex items-center rounded-sm px-3.5 py-2 transition-colors","text-balance font-fellix font-medium text-sm uppercase leading-tight tracking-[0.0325rem]","focus-visible:outline-none",t?"text-content-invert-primary hover:bg-opacity-dark-20 focus-visible:bg-opacity-dark-20":"text-opacity-light-60"),children:s.label},e)})})}var R=n(5100),I=n(15841);function q({children:e,className:t,defaultActiveIndex:n=0,onItemHover:i}
1){let[l,a]=(0,s.useState)(n),[o,c]=(0,s.useState)(null),d=!(0,N.m)(),u=(0,s.useRef)(null),m=(0,s.useRef)([]),x=null!==o?o:l;(0,s.useEffect)(()=>{a(n)},[n]);let[f,h]=(0,s.useState)({left:0,width:0});return(0,s.useEffect)(()=>{if(!u.current||!m.current[x])return;let e=u.current.getBoundingClientRect(),t=m.current[x].getBoundingClientRect();h({left:t.left-e.left,width:t.width})},[x,e]),(0,r.jsxs)("div",{ref:u,onPointerLeave:d?()=>{c(null),i?.(null)}:void 0,className:(0,b.cn)("relative inline-flex w-full items-center justify-center gap-2 rounded-full p-0.5 backdrop-blur-xl [background:linear-gradient(0deg,var(--color-opacity-dark-5)_0%,var(--color-opacity-dark-5)_100%),var(--color-opacity-light-40)]",t),children:[(0,r.jsx)("span",{className:"absolute top-[2px] left-0 z-0 h-[calc(100%-4px)] rounded-full bg-white transition-all duration-300",style:{transform:`translateX(${f.left}px)`,width:f.width}}),s.Children.map(e,(e,t)=>(0,s.isValidElement)(e)?(0,s.cloneElement)(e,{ref:e=>{m.current[t]=e},onPointerEnter:d?()=>{c(t),i?.(t)}:void 0,onPointerLeave:d?()=>{c(null),i?.(null)}:void 0,onClick:()=>a(t)}):null)]})}function T({as:e,ref:t,children:n,className:s,...i}){return(0,r.jsx)(e||"button",{ref:t,className:(0,b.cn)("relative z-10 inline-flex flex-1 cursor-pointer items-center justify-center rounded-full px-3.5 py-2 text-center text-text-primary transition-colors hover:bg-opacity-light-10 focus-visible:border-ring focus-visible:bg-opacity-light-10 focus-visible:ring-2 focus-visible:ring-focus",s),...i,children:(0,r.jsx)(I.A,{variant:"text-sm-Caps",children:n})})}function B(){let{navigations:e,displayedNavigation:t,previewNavigation:n,endPreview:s}=A();return(0,r.jsx)(q,{defaultActiveIndex:e?.findIndex(e=>e.id===t?.id),onItemHover:t=>{if(null===t)return void s();let r=e?.[t];r&&n(r.id)},children:e?.map(e=>(0,r.jsx)(T,{as:P.N_,href:e.href,children:e.title},e.id))})}var $=n(17313);function D({ref:e,children:t,isActive:n=!1,className:s,...i}){return(0,r.jsxs)("button",{ref:e,type:"button",className:(0,b.cn)("group flex w-full cursor-pointer items-center gap-3 text-left text-content-primary transition-colors hover:text-green-900 data-[state=active]:text-green-900 data-[state=open]:text-green-900",n&&"text-green-900",s),...i,children:[(0,r.jsx)("span",{className:(0,b.cn)("hidden size-2.5 rounded-[0.3125rem] bg-green-600 blur-[1px] group-hover:block group-data-[state=active]:block group-data-[state=open]:block",n&&"block")}),(0,r.jsx)(I.A,{variant:"display-xs-Caps",mdVariant:"display-sm-Caps",children:t})]})}function F({menu:e}){let t=(0,c.c)(),{setIsOpen:n}=A();return(0,r.jsx)($.tU,{defaultValue:e[0]?.id,children:(0,r.jsx)($.j7,{withoutDefaultStyles:!0,children:(0,r.jsxs)("div",{className:"grid grid-cols-[1fr_2fr] gap-16",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-14",children:[(0,r.jsx)(I.A,{variant:"text-xs-Caps-label",className:"text-content-secondary",children:t("menu")}),(0,r.jsx)("div",{className:"flex flex-col gap-3",children:e.map(e=>(0,r.jsx)($.Xi,{value:e.id,asChild:!0,withoutDefaultStyles:!0,children:(0,r.jsx)(D,{children:e.title})},e.id))})]}),(0,r.jsx)("div",{children:e.map(e=>(0,r.jsx)($.av,{value:e.id,className:"flex gap-4",children:e.submenu.map(e=>(0,r.jsxs)("div",{className:"flex flex-1 flex-col gap-10",children:[(0,r.jsx)(I.A,{variant:"text-xs-Caps-label",className:"text-content-secondary",children:e.title}),(0,r.jsx)("div",{className:"flex flex-col",children:e.links.map(({data:e,id:t})=>(0,r.jsx)(w.A,{data:e,onClick:()=>{n&&requestAnimationFrame(()=>{n(!1)})}},t))})]},e.id))},e.id))})]})})})}var H=n(55125);function O({footerButton:e}){let{socialLinks:t}=A();return(0,r.jsxs)("div",{className:"flex flex-col pb-5",children:[(0,r.jsx)("div",{className:"max-md:self-end",children:(0,r.jsxs)("div",{className:"md:flex md:items-center md:justify-between md:gap-4",children:[e&&(0,r.jsx)("div",{className:"hidden md:block",children:e}),(0,r.jsx)("div",{className:"ml-auto",children:(0,r.jsx)(H.default,{})})]})}),t&&t.length>0&&(0,r.jsx)("div",{className:"mt-4 grid grid-cols-2 gap-2 border-border-default border-t pt-6 md:flex md:flex-row md:justify-between",children:t.map(e=>(0,r.jsx)(v.$,{variant:"black-frosted",size:"small",className:"max-md:flex-1",asChild:!0,children:(0,r.jsxs)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(p.A,{name:"up-right"}),e.label]})},e.id))})]})}function Y({className:e}){let{navigations:t,activeNavigation:n}=A();return(0,r.jsx)($.j7,{asChild:!0,withoutDefaultStyles:!0,className:e,children:(0,r.jsx)(q,{defaultActiveIndex:t?.findIndex(e=>e.id===n?.id),children:t?.map(e=>(0,r.jsx)($.Xi,{value:e.id,asChild:!0,withoutDefaultStyles:!0,children:(0,r.jsx)(T,{children:e.title})},e.id))})})}var U=n(10549);function M({menu:e}){let{setIsOpen:t}=A();return(0,r.jsx)(U.Accordion,{type:"single",collapsible:!0,children:e.map(e=>(0,r.jsxs)(U.AccordionItem,{value:e.id,withoutDefaultStyles:!0,children:[(0,r.jsx)(U.AccordionTrigger,{asChild:!0,withoutDefaultStyles:!0,children:(0,r.jsx)(D,{className:"py-2",children:e.title})}),(0,r.jsx)(U.AccordionContent,{children:(0,r.jsx)("div",{className:"flex flex-col gap-6 pt-4 pb-6",children:e.submenu.map(e=>(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)(I.A,{variant:"text-xs-Caps-label",className:"text-content-secondary",children:e.title}),(0,r.jsx)("div",{className:"flex flex-col",children:e.links.map(({data:e,id:n})=>(0,r.jsx)(w.A,{data:e,onClick:()=>{t&&requestAnimationFrame(()=>{t(!1)})}},n))})]},e.id))})})]},e.id))})}function V({footerButton:e}){var t;let{navigations:n,activeNavigation:i,setIsOpen:l}
1=A(),[a,o]=(0,s.useState)(i?.id),c=n?.find(e=>e.id===a)||i;return n&&0!==n.length?(0,r.jsx)("div",{className:"h-full overflow-y-auto",children:(0,r.jsx)(u.Yf,{className:"h-full",children:(0,r.jsxs)($.tU,{value:a,onValueChange:o,className:"col-span-full h-full",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4 py-5 md:grid md:grid-cols-[1fr_auto_1fr]",children:[(0,r.jsx)(R.b,{useBlackLogo:!0}),n&&n.length>0&&(0,r.jsx)("div",{className:"hidden md:block",children:(0,r.jsx)(Y,{})}),c?.buttons&&(0,r.jsx)(g,{withCloseButton:!0,children:(t=c?.buttons)&&l?s.Children.map(t,e=>(0,s.isValidElement)(e)?s.createElement("div",{onClick:e=>{let t=e.target;(t.closest("a")||t.closest('button[type="button"]'))&&requestAnimationFrame(()=>{l(!1)})},style:{display:"contents"}},e):e):t})]}),(0,r.jsxs)("div",{className:"mt-3 flex h-full flex-col justify-between gap-4 md:mt-16",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)("div",{className:"block md:hidden",children:(0,r.jsx)(Y,{})}),n.map(e=>(0,r.jsxs)($.av,{value:e.id,className:"md:flex md:flex-col md:gap-14",children:[(0,r.jsx)("div",{className:"hidden md:block",children:(0,r.jsx)(F,{menu:e.menu})}),(0,r.jsx)("div",{className:"block md:hidden",children:(0,r.jsx)(M,{menu:e.menu})})]},e.id))]}),(0,r.jsx)(O,{footerButton:e})]})]})})}):null}function Q({navigations:e,socialLinks:t,footerButton:n,mobileTopBar:i}){let[l,h]=(0,s.useState)(!1),[p,v]=(0,s.useState)(!1),b=function(){let[e,t]=(0,s.useState)(!1),n=(0,s.useRef)(0),r=(0,s.useRef)(!1);return(0,s.useLayoutEffect)(()=>{let e=window.scrollY;n.current=e,e>m&&t(!0)},[]),(0,s.useEffect)(()=>{let e=()=>{r.current=!1;let e=window.scrollY,s=e-n.current;if(e<=m){t(!1),n.current=e;return}6>Math.abs(s)||(t(s>0),n.current=e)},s=()=>{r.current||(r.current=!0,requestAnimationFrame(e))},i=()=>{n.current=window.scrollY};return window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("resize",i,{passive:!0}),()=>{window.removeEventListener("scroll",s),window.removeEventListener("resize",i)}},[]),e}(),j=(0,d.Ub)("(width >= 1087px)"),y=a(),{activeAudienceId:w}=(0,x.g)(),N=(0,c.c)("Header"),P=e?.find(e=>e.id===w)||e?.[0],k=!!P?.menu?.length,E=b&&k&&j&&!p,A=e?.some(e=>e.menu?.length);return(0,r.jsx)(C,{navigations:e,activeNavigationId:P?.id,socialLinks:t,setIsOpen:h,isHeaderHidden:E,children:(0,r.jsxs)(f.cj,{open:l,onOpenChange:h,children:[(0,r.jsxs)(o.P.header,{animate:{y:E?"-100%":"0%"},transition:y?{duration:0}:S,onFocus:()=>v(!0),onBlur:e=>{let t=e.relatedTarget;t&&e.currentTarget.contains(t)||v(!1)},className:"fixed top-0 left-0 z-50 w-full",children:[i&&(0,r.jsx)("div",{className:"block md:hidden",children:i}),(0,r.jsx)(u.Yf,{className:"max-w-none py-3",children:(0,r.jsxs)("div",{className:"col-span-full flex items-center justify-between gap-4 md:grid md:grid-cols-[1fr_auto_1fr]",children:[(0,r.jsx)(R.b,{}),e&&e.length>0&&(0,r.jsx)("div",{className:"hidden md:block",children:(0,r.jsx)(B,{})}),P?.buttons&&(0,r.jsx)(g,{children:P.buttons})]})})]}),A&&(0,r.jsx)("div",{className:"hidden min-[1087px]:block",children:(0,r.jsx)(L,{})}),(0,r.jsxs)(f.h,{side:"top",className:"flex h-full flex-col bg-greyscale-50",withoutCloseButton:!0,children:[(0,r.jsx)(f.qp,{className:"sr-only",children:N("menu.a11y.title")}),(0,r.jsx)(f.Qs,{className:"sr-only",children:N("menu.a11y.description")}),(0,r.jsx)(V,{footerButton:n})]})]})})}},63945:(e,t,n)=>{"use strict";n.d(t,{default:()=>h});var r=n(95155),s=n(17652),i=n(14538),l=n(12115),a=n(62177),o=n(34477);let c=(0,o.createServerReference)("608b2dabf7240d105b8a284dda09ea8624d766bdaa",o.callServer,void 0,o.findSourceMapURL,"submitNewsletter");var d=n(77449),u=n(77145),m=n(98017),x=n(49835),f=n(15841);function h({storageKey:e="newsletter-signup-notification",isClosable:t=!0}){let n=(0,s.c)("NewsletterSignUpNotification"),o=(0,s.c)("Form"),h=(0,s.c)("Error"),p=(0,s.c)("SpontaneousApplicationForm"),v=(0,i.Ym)(),[b,g]=(0,l.useState)(!1),[j,y]=(0,l.useState)(!1),[w,N]=(0,l.useState)(null),{register:P,handleSubmit:k,formState:{errors:E},reset:C}=(0,a.mN)({defaultValues:{email:""},mode:"onSubmit"}),A=async e=>{y(!0),N(null);try{let t=await c(e.email,v);t.success?(N({success:!0,message:n("successMessage")}),window.dataLayer&&window.dataLayer.push({event:"newsletterSignup"}),C()):N({success:!1,error:t.error})}catch{N({success:!1,error:h("message")})}finally{y(!1)}};return(0,r.jsxs)(u.E,{...t?{isClosable:!0,storageKey:e}:{isClosable:!1},onClick:()=>
1{j||(g(!0),N(null))},className:(0,x.cn)("w-full max-w-72"),children:[(0,r.jsx)(u.E.Dot,{color:"blue"}),(0,r.jsxs)(u.E.Body,{className:"overflow-hidden",children:[(0,r.jsx)(u.E.Title,{children:n("title")}),b?(0,r.jsx)("form",{onSubmit:k(A),id:"newsletter-form",children:(0,r.jsxs)("div",{className:"space-y-2",children:[!w?.success&&(0,r.jsx)("input",{...P("email",{required:p("required"),pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:p("validEmail")}}),type:"email",name:"email",placeholder:o("email"),"data-testid":"newsletter-input",className:(0,x.cn)("w-full text-content-invert-primary outline-none placeholder:text-greyscale-500",m.zQ["text-md-Medium"],E.email&&"border-sentiment-red"),disabled:j}),E.email&&!w?.success&&(0,r.jsx)(f.A,{variant:"text-sm-Regular",className:"text-sentiment-red","data-testid":"email-error",children:E.email.message}),w&&(0,r.jsx)("p",{className:(0,x.cn)("text-sm",w.success?"text-green-500":"text-sentiment-red"),"data-testid":"submit-result",children:w.success?w.message:w.error})]})}):(0,r.jsx)(u.E.Text,{"data-testid":"newsletter-placeholder",className:"truncate",children:n("description")})]}),b&&!w?.success&&(0,r.jsx)(u.E.Right,{"data-testid":"newsletter-submit-shortcut",children:(0,r.jsx)("button",{type:"submit",form:"newsletter-form",className:"cursor-pointer disabled:cursor-not-allowed",disabled:j,children:(0,r.jsx)(d.A,{keys:j?["Enter"]:["OK","Enter"],theme:"dark"})})})]})}},96844:(e,t,n)=>{"use strict";n.d(t,{default:()=>f});var r=n(95155),s=n(84616),i=n(74692),l=n(15841),a=n(88106);function o({...e}){return(0,r.jsx)(a.bL,{"data-slot":"collapsible",...e})}function c({...e}){return(0,r.jsx)(a.R6,{"data-slot":"collapsible-trigger",...e})}function d({...e}){return(0,r.jsx)(a.Ke,{"data-slot":"collapsible-content",...e})}var u=n(99893),m=n(98017),x=n(49835);function f({title:e,links:t,className:n}){let a=(0,i.aq)(),f=(0,u.A)(),h=(0,r.jsx)("div",{className:"mt-4",children:t.map(e=>(0,r.jsx)("div",{className:(0,x.cn)("flex w-full border-border-default border-b text-content-primary md:border-border-dark [&>*]:block [&>*]:w-full [&>*]:py-4 md:[&>*]:py-3",m.zQ["text-md-Regular"]),children:e.component},e.id))}),p=(0,r.jsxs)("div",{className:n,children:[(0,r.jsx)(l.A,{variant:"text-md-Caps",children:e}),h]});return a()&&f?(0,r.jsxs)(o,{open:void 0,disabled:!1,className:n,children:[(0,r.jsxs)(c,{className:(0,x.cn)("flex w-full items-center justify-between gap-2 py-4 text-content-secondary md:py-0","cursor-pointer"),children:[(0,r.jsx)(l.A,{variant:"text-md-Caps",children:e}),(0,r.jsx)(s.A,{className:"size-5"})]}),(0,r.jsx)(d,{className:"mt-4 md:mt-6",children:h})]}):p}},98392:(e,t,n)=>{Promise.resolve().then(n.bind(n,46160)),Promise.resolve().then(n.bind(n,46096)),Promise.resolve().then(n.t.bind(n,6874,23)),Promise.resolve().then(n.t.bind(n,69243,23)),Promise.resolve().then(n.bind(n,63389)),Promise.resolve().then(n.bind(n,50039)),Promise.resolve().then(n.bind(n,20586)),Promise.resolve().then(n.bind(n,98963)),Promise.resolve().then(n.bind(n,73458)),Promise.resolve().then(n.t.bind(n,94004,23)),Promise.resolve().then(n.bind(n,78398)),Promise.resolve().then(n.bind(n,38329)),Promise.resolve().then(n.bind(n,58165)),Promise.resolve().then(n.bind(n,96844)),Promise.resolve().then(n.bind(n,59224)),Promise.resolve().then(n.bind(n,55125)),Promise.resolve().then(n.bind(n,27093)),Promise.resolve().then(n.bind(n,63945)),Promise.resolve().then(n.bind(n,36784)),Promise.resolve().then(n.bind(n,48496)),Promise.resolve().then(n.bind(n,14403)),Promise.resolve().then(n.bind(n,53620)),Promise.resolve().then(n.bind(n,34927)),Promise.resolve().then(n.bind(n,59012)),Promise.resolve().then(n.bind(n,20115)),Promise.resolve().then(n.bind(n,51792)),Promise.resolve().then(n.bind(n,15654)),Promise.resolve().then(n.bind(n,10667)),Promise.resolve().then(n.bind(n,6418)),Promise.resolve().then(n.bind(n,89939)),Promise.resolve().then(n.bind(n,45850)),Promise.resolve().then(n.bind(n,31596)),Promise.resolve().then(n.bind(n,4901)),Promise.resolve().then(n.bind(n,94552)),Promise.resolve().then(n.bind(n,55985)),Promise.resolve().then(n.bind(n,50678)),Promise.resolve().then(n.bind(n,40802)),Promise.resolve().then(n.bind(n,67695)),Promise.resolve().then(n.bind(n,90660)),Promise.resolve().then(n.bind(n,73749)),Promise.resolve().then(n.bind(n,95080)),Promise.resolve().then(n.bind(n,18057)),Promise.resolve().then(n.bind(n,95760)),Promise.resolve().then(n.bind(n,89484))}},e=>{var t=t=>e(e.s=t);e.O(0,[5837,8803,4538,3033,4134,757,1911,4912,4489,6917,5339,285,8622,3005,8441,1684,7358],()=>t(98392)),_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.