PageSourceSearch

https://www.roche.fi/817fd6bd-8575bd91aeb845b02071.js

js roche.fi collected 2026-09-26 13:48:14 UTC 287,852 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkroche_xx=self.webpackChunkroche_xx||[]).push([[85],{2582:function(e,t,n){var a;n.d(t,{$8:function(){return al},$_:function(){return Rc},A1:function(){return z},AV:function(){return Gl},Ab:function(){return Ca},Al:function(){return dl},BF:function(){return Jd},Cd:function(){return Op},D0:function(){return Du},E5:function(){return Hu},Es:function(){return dr},Fw:function(){return pa},G5:function(){return _c},GW:function(){return rp},HM:function(){return Cu},Hw:function(){return S},JD:function(){return Uu},JJ:function(){return uu},K1:function(){return Ai},KH:function(){return $l},Kd:function(){return ep},LE:function(){return ju},Le:function(){return Ae},M9:function(){return de},O6:function(){return tt},OB:function(){return uc},Ok:function(){return ye},Ot:function(){return jc},P$:function(){return Ci},Pb:function(){return Ke},Q0:function(){return Os},QI:function(){return gl},Qi:function(){return el},RA:function(){return Qa},Rl:function(){return yu},Rp:function(){return H},Ru:function(){return Vu},SV:function(){return Xa},T1:function(){return Ou},TM:function(){return Lu},TW:function(){return or},Tt:function(){return he},UM:function(){return te},VT:function(){return Ii},WJ:function(){return dp},WV:function(){return tl},X6:function(){return Re},Xm:function(){return Vs},_E:function(){return xu},aS:function(){return ve},ag:function(){return Ep},aj:function(){return G},be:function(){return nt},d9:function(){return Na},dX:function(){return Nu},eG:function(){return Ss},fr:function(){return er},gv:function(){return Dp},j3:function(){return nr},ju:function(){return ce},kI:function(){return np},kg:function(){return Ol},lQ:function(){return pe},mJ:function(){return ki},mj:function(){return no},nK:function(){return pl},nQ:function(){return Ti},o:function(){return Je},oE:function(){return K},ov:function(){return Z},p8:function(){return Vp},pd:function(){return Bs},q8:function(){return q},qC:function(){return ie},qR:function(){return vc},qs:function(){return hp},sw:function(){return Y},tH:function(){return F},u2:function(){return eu},vC:function(){return mo},vy:function(){return ol},w:function(){return yc},w1:function(){return co},wu:function(){return pp},y1:function(){return bc}});var r=n(6815),i=n(5557),s=n(5723),l=n(2155),o=n(316),c=n(1907);function d(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=d(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}function u(){for(var e,t,n=0,a="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=d(e))&&(a&&(a+=" "),a+=t);return a}const p={next:(e,t)=>(e+1)%t,previous:(e,t)=>(e-1+t)%t,first:()=>0,last:(e,t)=>t-1},h=(e,t,n)=>p[e](t,n),m="(prefers-reduced-motion: reduce)",g=()=>window.matchMedia(m).matches,v=()=>{const[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{const e=window.matchMedia(m);t(e.matches);const n=()=>{t(e.matches)};return e.addEventListener("change",n),()=>e.removeEventListener("change",n)},[]),e},f=(e,t)=>{const n=(0,l.useRef)(!1);(0,l.useEffect)(()=>{n.current||!e||(n.current=!0,t())},[e])};function w(){const[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{if(typeof document>"u")return;const e=document.documentElement,n=()=>{t("rtl"===e.getAttribute("dir"))};n();const a=new MutationObserver(e=>{for(const t of e)"attributes"===t.type&&"dir"===t.attributeName&&n()});return a.observe(e,{attributes:!0}),()=>{a.disconnect()}},[]),e}const _={additional:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{fillRule:"evenodd",d:"M12 2.586 21.414 12 12 21.414 2.586 12 12 2.586ZM5.414 12 12 18.586 18.586 12 12 5.414 5.414 12Z",clipRule:"evenodd"})),"alert-error":e=>l.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("circle",{cx:12,cy:12,r:12}),l.createElement("path",{d:"M16.8 9.21285L14.0129 12L16.8 14.787L14.787 16.8L12 14.0129L9.21285 16.8L7.19995 14.787L9.98705 12L7.19995 9.21285L9.21285 7.19995L12 9.98705L14.787 7.19995L16.8 9.21285Z",fill:"white"})),"alert-success":e=>l.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("circle",{cx:12,cy:12,r:12}),l.createElement("path",{d:"M10.6788 17.16L17.3577 6.83997H14.9857L10.221 14.1846L8.82701 11.6046H6.64233L10.1586 17.16H10.6788Z",fill:"white"})),"arrow-down":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M10.8 2.8v14.6L5.5 12l-1.4 1.4 7.7 7.7 7.7-7.7-1.4-1.4-5.3 5.3V2.8h-2z"})),"arrow-left":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M21 11H6.4l5.3-5.3-1.4-1.4L2.6 12l7.7 7.7 1.4-1.4L6.4 13H21v-2z"})),"arrow-light-down":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M22 8L12 18 2 8"})),"arrow-light-left":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M16 22L6 12 16 2"})),"arrow-light-right":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M16.6 12L7.3 2.7l1.4-1.4 10 10 .7.7-.7.7-10 10-1.4-1.4 9.3-9.3z",clipRule:"evenodd"})),"arrow-light-up":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M2 16L12 6l10 10"})),"arrow-right":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M2.6 13h14.6l-5.3 5.3 1.4 1.4L21 12l-7.7-7.7-1.4 1.4 5.3 5.3H2.6v2z"})),"arrow-up":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M12.8 21.2V6.6L18 12l1.4-1.4-7.7-7.7L4 10.5l1.4 1.4 5.3-5.3v14.6h2z"})),book:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{fillRule:"evenodd",d:"M2 2a1 1 0 00-1 1v15c0 .6.4 1 1 1h7a2 2 0 012 2 1 1 0 102 0 2 2 
10 012-2h7c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1h-6a5 5 0 00-4 2 5 5 0 00-4-2H2zm11 15.5a4 4 0 012-.5h6V4h-5a3 3 0 00-3 3v10.5zm-2 0V7a3 3 0 00-3-3H3v13h6a4 4 0 012 .5z",clipRule:"evenodd"})),calendar:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4a2 2 0 00-2 2v16c0 1.1.9 2 2 2h16a2 2 0 002-2V5a2 2 0 00-2-2zm0 18H4V10h16v11zm0-13H4V5h16v3z"})),checkmark:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M20.5 6.4l-11 11L8.1 16l-4.6-4.6L4.9 10l4.6 4.6L19.1 5l1.4 1.4z",clipRule:"evenodd"})),"chevron-down":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M12 15.7l6-6-1.4-1.4-4.6 4.6-4.6-4.6L6 9.7l6 6z"})),"chevron-left":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M8.3 12l6 6 1.4-1.4-4.6-4.6 4.6-4.6L14.3 6l-6 6z"})),"chevron-right":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M15.7 12l-6-6-1.4 1.4 4.6 4.6-4.6 4.6L9.7 18l6-6z"})),"chevron-up":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M12 8.3l-6 6 1.4 1.4 4.6-4.6 4.6 4.6 1.4-1.4-6-6z"})),circle:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M12 2a10 10 0 100 20 10 10 0 000-20z"})),close:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M17.6 5L12 10.6 6.4 5 5 6.4l5.6 5.6L5 17.6 6.4 19l5.6-5.6 5.6 5.6 1.4-1.4-5.6-5.6L19 6.4 17.6 5z"})),"color-indicator":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",width:"1em",height:"1em",...e},l.createElement("path",{d:"M0 0h20v20H0z"})),connected:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M4 4v10h10"})),"copy-link":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"m18.58 2.6 2.83 2.84a2 2 0 0 1 0 2.83l-7.44 7.44a2 2 0 0 1-2.83 0l-1.42-1.42 1.4-1.42 1.43 1.42 7.44-7.44-2.82-2.83-2.9 2.9-1.42-1.42 2.9-2.9a2 2 0 0 1 2.83 0ZM5.39 21.46l-2.83-2.82a2 2 0 0 1 0-2.83l7.48-7.48a2 2 0 0 1 2.83 0l1.42 1.42-1.41 1.41-1.42-1.42-7.48 7.48 2.82 2.83 2.9-2.9 1.42 1.41-2.9 2.9a2 2 0 0 1-2.83 0Z",clipRule:"evenodd"})),cross:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M20 5.4L18.6 4 12 10.6 5.4 4 4 5.4l6.6 6.6L4 18.6 5.4 20l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L20 5.4z",clipRule:"evenodd"})),"default-avatar":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80 80",width:"1em",height:"1em",...e},l.createElement("path",{d:"m39.54 21.61.46-.01a9.1 9.1 0 0 1 9.12 8.57l.01.46v.34a9.09 9.09 0 0 1-8.67 9.02L40 40a9.1 9.1 0 0 1-9.14-9.03v-.34a9.09 9.09 0 0 1 8.68-9.02Zm.98-4.61H40a13.72 13.72 0 0 0-13.8 13.63v.34A13.7 13.7 0 0 0 39.48 44.6H40a13.72 13.72 0 0 0 13.8-13.13v-.85A13.7 13.7 0 0 0 40.52 17Zm17.33 45.5H63l-4.36-8.21a9.27 9.27 0 0 0-8.23-4.79H29.6a9.27 9.27 0 0 0-8.23 4.79L17 62.5h5.15l3.33-6.27a4.63 4.63 0 0 1 4.11-2.4h20.82a4.6 4.6 0 0 1 4.1 2.4l3.34 6.27Z",clipRule:"evenodd"})),diagnostics:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M19.4 7.5h3.1V6h-3.1A2.3 2.3 0 0015 6H9.8V3.7h-6V6H1.5v1.5h2.3v2.3h6V7.5H15a2.3 2.3 0 001.4 1.4v5.5a3 3 0 00-2.1 2.1H1.5V18h12.9a3 3 0 005.7 0h2.4v-1.5h-2.4a3 3 0 00-2.1-2.1V8.9a2.3 2.3 0 001.4-1.4zm-11.1.8h-3v-3h3v3zm10.4 9a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z"})),download:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.2L12 13.2 9.8 11H11zm-6 7h14v2H5v-2z"})),dropdown:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M7.2 9.5h9.6L12 14.3 7.2 9.5zm-.4-.4s0 0 0 0h0z"})),dummy:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{fillRule:"evenodd",d:"M12 22a10 10 0 100-20 10 10 0 000 20zm0-2a8 8 0 100-16 8 8 0 000 16z",clipRule:"evenodd"})),email:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M22 6a2 2 0 00-2-2H4a2 2 0 00-2 2v12c0 1.1.9 2 2 2h16a2 2 0 002-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),"external-link":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M10 6v2H5v11h11v-5h2v6a1 1 0 01-1 1H4a1 1 0 01-1-1V7
1a1 1 0 011-1h6zm11-3v8h-2V6.4l-7.8 7.8-1.4-1.4L17.6 5H13V3h8z"})),facebook:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M10.02 20L10 13H7v-3h3V8c0-2.7 1.67-4 4.08-4 1.15 0 2.14.09 2.43.12v2.83h-1.67c-1.3 0-1.56.62-1.56 1.53V10H17l-1 3h-2.72v7h-3.26z"})),fax:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M22.6 11l-3-2.7V4.2L16.2.7H6.9v6H3.5A1.1 1.1 0 002.4 8V22a1.1 1.1 0 001.1 1.1H23V11.8a1.1 1.1 0 00-.4-.8zM7 21.8h-3V8.2h3v13.6zM15 2.1h.5L18 4.8v.5h-3v-3zm-6.7 0h5.2v4.5h4.5v3.4H8.4V2.3zm13.1 19.6H8.4V11.6h11.2v-1.3l2 1.7v9.8z"}),l.createElement("path",{d:"M10.9 16.1h1.5v1.5h-1.5v-1.5zM13.9 16.1h1.5v1.5h-1.5v-1.5zM10.9 19.1h1.5v1.5h-1.5v-1.5zM13.9 19.1h1.5v1.5h-1.5v-1.5zM16.9 16.1h1.5v1.5h-1.5v-1.5zM16.9 19.1h1.5v1.5h-1.5v-1.5zM10.9 13.1h7.5v1.5h-7.5v-1.5z"})),"file-download":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M4 1H3v22h18V6.6l-.3-.3-5-5-.3-.3H4zm1 20V3h9v5h5v13H5zM17.6 6L16 4.4V6h1.6zM11 8v6.7l-2.3-2.1L7.3 14l4 3.7.7.7.7-.7 4-3.7-1.4-1.4-2.3 2.1V8h-2z",clipRule:"evenodd"})),file:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{fillRule:"evenodd",d:"M4 1H3v22h18V6.6l-.3-.3-5-5-.3-.3H4Zm1 20V3h9v5h5v13H5ZM17.6 6 16 4.4V6h1.6Z",clipRule:"evenodd"})),filter:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{fillRule:"evenodd",d:"M14.126 9H3V7h11.126A4.002 4.002 0 0 1 22 8a4 4 0 0 1-7.874 1ZM16 8a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm-6.126 7H21v2H9.874A4.002 4.002 0 0 1 2 16a4 4 0 0 1 7.874-1ZM8 16a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z",clipRule:"evenodd"})),"globe-mobile":e=>l.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M16 2.66797C23.3635 2.66823 29.3338 8.63749 29.334 16.001L29.3291 16.3457C29.1464 23.5502 23.2484 29.3347 16 29.335L15.6562 29.3301C8.45147 29.1476 2.66602 23.2497 2.66602 16.001C2.66619 8.63744 8.63646 2.66815 16 2.66797ZM11.4668 16.75C11.4316 20.6051 12.3508 24.4886 14.3926 27.7256C14.9181 27.797 15.4549 27.8349 16 27.835C16.3641 27.8349 16.7243 27.8174 17.0801 27.7852C19.2714 24.5278 20.4099 20.6217 20.5713 16.75H11.4668ZM22.0742 16.75C21.9287 20.4557 20.9419 24.1863 19.0693 27.4297C23.8842 26.1395 27.4884 21.8909 27.8096 16.75H22.0742ZM4.19043 16.75C4.49969 21.7009 7.85341 25.8248 12.4014 27.2754C10.7035 24.0621 9.93291 20.3921 9.96484 16.75H4.19043ZM13.4238 4.45215C8.36404 5.57573 4.52339 9.93586 4.19043 15.25H10.0225C10.2928 11.3358 11.479 7.53296 13.4238 4.45215ZM16 4.16797C15.8077 4.16797 15.6159 4.17256 15.4258 4.18164C13.193 7.18909 11.8294 11.1529 11.5293 15.25H20.584C20.4874 11.1614 19.3007 7.212 17.1025 4.21973C16.7395 4.18617 16.3718 4.16798 16 4.16797ZM19.1543 4.5957C21.0089 7.65792 22.0031 11.4027 22.0879 15.25H27.8096C27.4894 10.1404 23.9259 5.91256 19.1543 4.5957Z",fill:"currentColor"})),globe:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M12 2a10 10 0 100 20 10 10 0 000-20zm8 9h-2.8c-.2-2.2-.8-4.3-1.8-6.2a8 8 0 014.5 6.2zm-7.5-7a13 13 0 012.7 7H9c.2-2.6 1-5 2.5-7h1zm-3.8.7c-1 2-1.6 4-1.7 6.3H4a8 8 0 014.7-6.3zM4 13h3c0 2.4.6 4.5 1.5 6.2A8 8 0 014.1 13zm7.3 7A12 12 0 019 13h6.2c-.3 2.8-1.2 5.2-2.6 7h-1.2zm4-.8c1-1.8 1.6-3.9 1.8-6.2h2.7a8 8 0 01-4.4 6.2z"})),"google-cal":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M12.22 3a9.23 9.23 0 0 0-8.23 4.97 8.71 8.71 0 0 0 0 8.05A9.23 9.23 0 0 0 12.22 21c2.53 0 4.6-.82 6.08-2.17a8.68 8.68 0 0 0 2.7-6.6c0-.3-.01-.6-.04-.9h-7.74v1.76h5.73l-.24 1.2a5.64 5.64 0 0 1-2.48 3.62 7.26 7.26 0 0 1-4.01 1.13A7.09 7.09 0 0 1 5.16 12a7.09 7.09 0 0 1 7.05-7.04c1.42 0 2.74.39 3.86 1.16l1.48-1.45A8.93 8.93 0 0 0 12.22 3ZM2.2 7.06A11.23 11.23 0 0 1 12.2 1a10.9 10.9 0 0 1 7.51 2.87l.78.71-.75.74-2.92 2.85-.68.67-.7-.65a4.61 4.61 0 0 0-3.23-1.23A5.09 5.09 0 0 0 7.16 12c0 .56.1 1.08.27 1.57v.02a5.09 5.09 0 0 0 4.79 3.45c1.2 0 2.17-.31 2.91-.8.48-.31.86-.7 1.14-1.15h-5.05V9.33h11.46l.14.84c.11.65.18 1.34.18 2.05 0 3.3-1.2 6.14-3.36 8.1A10.85 10.85 0 0 1 12.22 23c-4.38 0-8.17-2.47-10.01-6.06a10.71 10.71 0 0 1 0-9.88Z",clipRule:"evenodd"})),info:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M11 7h2v2h-2V7zm0 4h2v6h-2v-6zm1-9a10 10 0 100 20 10 10 0 000-20zm0 18a8 8 0 110-16 8 8 0 010 16z"})),instagram:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M12 5.44c2.14 0 2.39.01 3.23.05.51 0 1.01.1 1.49.27.35.13.66.34.92.6.26.26.47.58.6.92.17.48.27.98.27 1.49.04.84.05 1.1.05 3.23s0 2.4-.05 3.23c0 .51-.1 1.01-.27 1.49a2.64 2.64 0 01-1.52 1.52c-.48.17-.98.27-1.48.27-.85.04-1.1.05-3.24.05-2.13 0-2.39 0-3.23-.05-.5 0-1.01-.1-1.49-.27a2.47 2.47 0 01-.92-.6 2.47 2.47 0 01-.6-.92 4.42 4.42 0 01-.27-1.49c-.04-.84-.05-1.1-.05-3.23s.01-2.39.05-3.23c0-.51.1-1.01.27-1.49.13-.35.34-.66.6-.92.26-.26.58-.47.92-.6.48-.17.98-.27 1.49-.27.84-.04 1.1-.05 3.23-.05zM12 4c-2.17 0-2.45 0-3.3.05-.66.01-1.32.14-1.94.37a3.9 3.9 0 00-1.42.92c-.4.4-.72.89-.92 1.42a5.87 5.87 0 00-.37 1.94C4 9.56 4 9.83 4 12s0 2.45.05 3.3c.01.66.14 1.32.37 1.94.2.53.52 1.02.92 1.42.4.4.89.72 1.42.92.62.23 1.28.36 1.94.37.86.04 1.13.05 3.3.05s2.45 0 3.3-.05a5.87 5.87 0 001.94-.37 4.1 4.1 0 002.34-2.34c.24-.62.36-1.28.37-1.94.04-.86.05-1.13.05-3.3 0-2.18 0-2.45-.05-3.3a5.87 5.87 0 00-.37-1.94 3.9 3.9 0 00-.92-1.42 3.9 3.9 0 00-1.42-.92 5.87 5.87 0 00-1.94-.37C14.44 4 14.17 4 12 4zm0 3.9a4.1 4.1 0 100 8.2 4.1 4.1 0 000-8.2zm0 6.77a2.67 2.67 0 110-5.34 2.67 2.67 0 010 5.34zm5.23-6.94a.96.96 0 11-1.92 0 .96.96 0 011.92 0z",clipRule:"evenodd"})),linkedin:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M19.3 4H4.7c-.4 0-.7.3-.7.7v14.7c0 .3.3.6.7.6h14.7c.4 0 .7-.3.7-.7V4.7c-.1-.4-.4-.7-.8-.7zM8.7 17.6H6.4V10h2.4v7.6h-.1zM7.6 9c-.8 0-1.4-.7-1.4-1.4 0-.8.6-1.4 1.4-1.4.8 0 1.4.6 1.4 1.4-.1.7-.7 1.4-1.4 1.4zm10 8.6h-2.4v-3.7c0-.9 0-2-1.2-2s-1.4 1-1.4 2v3.8h-2.4V10h2.3v1c.3-.6 1.1-1.2 2.2-1.2 2.4 0 2.8 1.6 2.8 3.6v4.2h.1z"})),list:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7zm-4 6h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"})),loading:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M5.298 16.359 7.657 14H2v5.657l1.86-1.86A9.99 9.99 0 0 0 12 22c4.83 0 8.87-3.44 9.8-8h-2.05c-.9 3.45-4.03 6-7.75 6a7.998 7.998 0 0 1-6.702-3.641ZM16.343 10H22V4.343l-1.86 1.86A9.99 9.99 0 0 0 12 2c-4.83 0-8.87 3.44-9.8 8h2.05c.9-3.45 4.03-6 7.75-6a8 8 0 0 1 6.703 3.641L16.343 10Z",clipRule:"evenodd"})),location:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M5 9a7 7 0 1114 0c0 5.3-7 13-7 13S5 14.2 5 9zm7-5a5 5 0 00-5 5c0 2.8 3 7.2 5 9.9 2.1-2.7 5-7 5-9.9a5 5 0 00-5-5zm2.5 5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z"})),logo:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 40",width:"1em",height:"1em",...e},l.createElement("path",{fillRule:"evenodd",d:"M16.2 39h39.7L72 19.5 55.9 0H16.2L0 19.5 16.2 39zM55 37H17L2.6 19.4 17.1 2H55l14.5 17.6L55 36.9zM17 19.1v6.9h-2.2V10.8h4.3c1.2 0 2 .3 2.8 1 .6.8 1 1.7 1 3a4 4 0 01-.6 2.2c-.3.6-.8 1-1.4 1.3.3.1.6.4.9.7l.4 1.5.6 5.5h-2.2l-.5-5.3c-.1-.5-.2-.9-.5-1.1-.2-.2-.5-.4-1-.4H17zm0-6.4v4.4H19c.5 0 1-.1 1.2-.5.4-.4.5-1 .5-1.7 0-.8-.2-1.3-.5-1.7-.2-.3-.7-.5-1.2-.5H17zm13 13c-.5.3-1.2.5-2 .5s-1.4-.2-2-.6c-.6-.3-1.1-.9-1.4-1.6-.4-.6-.5-1.5-.5-2.4v-2c0-1 .1-1.8.5-2.5A3.7 3.7 0 0128 15c.8 0 1.4.2 2 .6.6.4 1.1.9 1.4 1.6.4.7.5 1.5.5 2.4v2.1c0 1-.1 1.8-.5 2.4-.3.7-.8 1.3-1.4 1.6zm-3.4-2.1c.4.4.8.6 1.4.6.6 0 1-.2 1.4-.6.3-.5.5-1.1.5-2v-2.2a3 3 0 00-.5-1.9c-.4-.4-.8-.6-1.4-.6-.6 0-1 .2-1.4.6a3 3 0 00-.5 1.9v2.3c0 .8.2 1.4.5 1.9zm13.5 1.7c-.6.6-1.5 1-2.5 1-1.2 0-2.2-.5-2.9-1.3a5 5 0 01-1-3.4v-2a5 5 0 011-3.4c.8-.9 1.7-1.3 3-1.3 1 0 1.9.3 2.5 1 .6.5 1 1.4 1.2 2.5l-2 .5c-.2-1.4-.8-2-1.8-2-.6 0-1 .2-1.4.6-.3.5-.5 1.1-.5 1.9v2.3c0 .8.2 1.4.5 1.9.4.4.8.6 1.4.6.5 0 .9-.1 1.2-.5.3-.3.5-.8.6-1.5l2 .5c-.2 1.1-.6 2-1.3 2.6zm4.9-6.5V26h-2V10.8h2V16c.2-.3.5-.5 1-.8a3 3 0 011.4-.3c1 0 1.7.3 2.2 1 .5.5.8 1.4.8 2.5V26h-2v-7.2c0-.6-.2-1.1-.5-1.5-.3-.3-.7-.5-1.2-.5s-1 .2-1.2.5A2 2 0 0045 19zm13.6-2.7c.6.8 1 2 1 3.3V21H54v.9c0 .8.2 1.4.5 1.9.4.4.8.6 1.3.6s.9-.1 1.2-.5c.3-.3.5-.7.6-1.3l1.8.4c-.1 1-.5 1.8-1.1 2.4-.7.6-1.5.9-2.5.9-1.2 0-2-.4-2.8-1.3-.7-.8-1-2-1-3.4v-2c0-1 .1-1.7.5-2.5.3-.6.8-1.2 1.3-1.6.6-.3 1.3-.5 2-.5 1.2 0 2 .4 2.8 1.2zm-1.4 1.3c-.4-.5-.8-.7-1.4-.7-.5 0-1 .2-1.2.7-.4.4-.5 1-.5 1.8v.3h3.5v-.4a3 3 0 00-.4-1.7z",clipRule:"evenodd"})),map:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M9.1 22L2 19.8v-16l6.9 2.2 7-4L22 4.3v16.2L16 18l-6.9 4zM4 6.5v11.9l4 1.3V7.7L4 6.4zm10-1.1l-4 2.3v11.7l4-2.3V5.3zM16 4V16l4 1.6V5.7L16 4z"})),medicine:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M19 2v2h-2v3a3 3 0 013 3v11a1 1 0 01-1 1H5a1 1 0 01-1-1V10a3 3 0 013-3V4H5V2h14zm-2 7H7a1 1 0 00-1 1v10h12V10a1 1 0 00-1-1zm-4 2v2h2v2h-2v2h-2v-2H9v-2h2v-2h2zm2-7H9v3h6V4z"})),minus:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M4 11h16v2H4v-2z"})),"mobile-close":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",width:"1em",height:"1em",...e},l.createElement("path",{d:"M15.132 16.192L6.47 24.854l1.06 1.061 8.662-8.662 8.663 8.662 1.06-1.06-8.662-8.663 8.662-8.662-1.06-1.06-8.663 8.662L7.53 6.47 6.47 7.53l8.662 8.662z"})),"mobile-menu":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",width:"1em",height:"1em",...e},l.createElement("path",{d:"M29 8.75H3v-1.5h26v1.5zm0 7.5H3v-1.5h26v1.5zm0 7.5H3v-1.5h26v1.5z"})),"mobile-search":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",width:"1em",height:"1em",...e},l.createElement("path",{fillRule:"evenodd",d:"M22.167 13.333a7.833 7.833 0 11-15.667 0 7.833 7.833 0 0115.667 0zm-2.568 7.708a9.333 9.333 0 111.168-.945l6.12
11 6.733-1.11 1.009L19.6 21.04z"})),mobile:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M15.5 1h-8A2.5 2.5 0 005 3.5v17C5 21.9 6.1 23 7.5 23h8c1.4 0 2.5-1.1 2.5-2.5v-17C18 2.1 16.9 1 15.5 1zm-4 21a1.5 1.5 0 110-3 1.5 1.5 0 010 3zm4.5-4H7V4h9v14z"})),"molecular-item":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M4 11a7 7 0 0 0 7-7h2a7 7 0 0 0 7 7v2a7 7 0 0 0-7 7h-2a7 7 0 0 0-7-7v-2Zm4.127 1A9.04 9.04 0 0 1 12 15.873 9.04 9.04 0 0 1 15.873 12 9.04 9.04 0 0 1 12 8.127 9.04 9.04 0 0 1 8.127 12Z",clipRule:"evenodd"})),outlook:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{fillRule:"evenodd",d:"M4 17.8V6.2l8-1.7v15l-8-1.7ZM2 4.6l10-2.2 2-.4v4h8.5v12H14v4l-2-.4-10-2.2V4.6Zm12 5.8V16h6.5v-6l-3.4 2.3-.7.5-.6-.6-1.8-1.8ZM19.8 8h-5.4l2.2 2.2L19.8 8ZM7 12c0-.7.2-1.2.4-1.6L8 10c.1 0 .3 0 .6.4a3.4 3.4 0 0 1 0 3.2L8 14c-.1 0-.3 0-.6-.4-.2-.4-.4-1-.4-1.6Zm1-4c-1 0-1.8.6-2.2 1.3a5 5 0 0 0 0 5.4C6.2 15.4 7 16 8 16c1 0 1.8-.6 2.2-1.3a5 5 0 0 0 0-5.4A2.7 2.7 0 0 0 8 8Z",clipRule:"evenodd"})),partnership:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M12.2 3a.7.7 0 00-.5.2h-.1a6.3 6.3 0 00-7.8 4.2c-.3 1-.4 2-.2 3l-1 1a2.1 2.1 0 00.9 3.4c.3.1.6.2 1 .1a2.1 2.1 0 001.8 1.6 2.1 2.1 0 002 2c0 .4.3 1 .6 1.3.8.8 2 .8 2.8.2l.4.4a2.2 2.2 0 003.7-1.3 2.1 2.1 0 001.9-2 2.1 2.1 0 001.9-1.6 2.1 2.1 0 002.4-2 2.1 2.1 0 00-.7-1.6l-.8-.8.2-.7a6 6 0 00-2.8-6.6 6 6 0 00-3-.8h-1.7-1zm3 5l3.4 3.4 1.7 1.6a.6.6 0 01-.5 1l-.4-.1-1.6-1.7a.8.8 0 00-1.1 0 .7.7 0 000 1.1l1.2 1.3a.6.6 0 01-.4 1h-.4a.8.8 0 00-1.2.5c0 .2 0 .3.2.5a.6.6 0 01-.5 1c-.1 0-.3 0-.4-.2a.8.8 0 00-1.2.6l.1.5a.6.6 0 01-.5 1c-.1 0-.3 0-.4-.2l-.4-.3.1-.2a2.1 2.1 0 00-1.4-3.6 2.1 2.1 0 00-2-2 2.1 2.1 0 00-1.4-1.8h-1a2.1 2.1 0 00-2-1.7 4.7 4.7 0 013-4.9c.6-.2 1.2-.3 1.9-.3L8.5 5.6a2.3 2.3 0 001 4.2c.7 0 1.3 0 1.8-.5L13.2 8h2zM9.4 6.7l3.1-2.3h2.3a4.5 4.5 0 014.5 5.3L16 6.6a.7.7 0 00-.6-.2H13c-.1 0-.3 0-.4.2L10.4 8a.8.8 0 01-1.3-.4.8.8 0 01.3-.9zm-3.4 8a.6.6 0 010-.9l1-1a.6.6 0 01.9 0 .6.6 0 010 1l-1 .9a.6.6 0 01-.9 0zm-.5-3.4a.6.6 0 010 .9l-1 1a.6.6 0 01-1-.3.6.6 0 01.2-.6l1-1a.6.6 0 01.8 0zm5.4 7.3a.6.6 0 01-1-.2.6.6 0 01.1-.6l1-1a.6.6 0 011 .2.6.6 0 01-.2.7l-1 1zm-2-2a.6.6 0 01-1.1-.4c0-.2 0-.3.2-.4l1-1a.6.6 0 011 .2.6.6 0 01-.2.7l-1 1z"})),"pause-bare":e=>l.createElement("svg",{viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",...e},l.createElement("path",{d:"M25.3333 19.75C25.3333 18.2312 24.1394 17 22.6667 17C21.1939 17 20 18.2312 20 19.75V36.25C20 37.7688 21.1939 39 22.6667 39C24.1394 39 25.3333 37.7688 25.3333 36.25V19.75Z"}),l.createElement("path",{d:"M33.3333 17C34.8061 17 36 18.2312 36 19.75V36.25C36 37.7688 34.8061 39 33.3333 39C31.8606 39 30.6667 37.7688 30.6667 36.25V19.75C30.6667 18.2312 31.8606 17 33.3333 17Z"})),pause:e=>l.createElement("svg",{viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",...e},l.createElement("path",{d:"M51 28C51 15.2975 40.7025 5 28 5C15.2975 5 5 15.2975 5 28C5 40.7025 15.2975 51 28 51V56C12.536 56 0 43.464 0 28C0 12.536 12.536 0 28 0C43.464 0 56 12.536 56 28C56 43.464 43.464 56 28 56V51C40.7025 51 51 40.7025 51 28Z"}),l.createElement("path",{d:"M25.3333 19.75C25.3333 18.2312 24.1394 17 22.6667 17C21.1939 17 20 18.2312 20 19.75V36.25C20 37.7688 21.1939 39 22.6667 39C24.1394 39 25.3333 37.7688 25.3333 36.25V19.75Z"}),l.createElement("path",{d:"M33.3333 17C34.8061 17 36 18.2312 36 19.75V36.25C36 37.7688 34.8061 39 33.3333 39C31.8606 39 30.6667 37.7688 30.6667 36.25V19.75C30.6667 18.2312 31.8606 17 33.3333 17Z"})),patient:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M18.8 12h-6a1.5 1.5 0 00-1.6 1.5V18H3v-7.5H1.5v12H3v-3h18v3h1.5v-6.8a3.8 3.8 0 00-3.8-3.7zm2.2 6h-8.3v-4.5h6a2.3 2.3 0 012.3 2.3V18z"}),l.createElement("path",{d:"M7.1 12.8a1.1 1.1 0 110 2.2 1.1 1.1 0 010-2.3zm0-1.6a2.6 2.6 0 100 5.3 2.6 2.6 0 000-5.3zM15.8 4.5h-3v-3h-1.6v3h-3V6h3v3h1.6V6h3V4.5z"})),people:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M6.5 5a1 1 0 112 0 1 1 0 01-2 0zm1-3a3 3 0 100 6 3 3 0 000-6zm8 3a1 1 0 112 0 1 1 0 01-2 0zm1-3a3 3 0 100 6 3 3 0 000-6zM4.3 9.3c.2-.2.4-.3.7-.3h5a1 1 0 011 1l-1 11c0 .6-.5 1-1 1H6a1 1 0 01-1-1L4 10c0-.2 0-.5.3-.7zM6 11l.8 9h1.2l.8-9H6.1zM14 9a1 1 0 00-1 1l1 11c0 .6.5 1 1 1h3c.5 0 1-.4 1-1l1-11a1 1 0 00-1-1h-5zm2 11l-.9-9h2.8l-.8 9h-1.2z",clipRule:"evenodd"})),phone:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M6.5 5L7 7.6 5.8 8.8C5.4 7.6 5 6.3 5 5h1.5zm9.9 12c.9.3 1.7.4 2.6.5V19c-1.3-.1-2.6-.4-3.8-.8l1.2-1.2zM7.5 3H4a1 1 0 00-1 1 17 17 0 0017 17c.6 0 1-.4 1-1v-3.5c0-.5-.4-1-1-1a11.4 11.4 0 01-3.9-.6 1 1 0 00-.7.3l-2.2 2.2a15.1 15.1 0 01-6.6-6.6l2.2-2.2c.3-.3.4-.7.3-1-.4-1.1-.
16-2.3-.6-3.6 0-.5-.4-1-1-1z"})),"play-bare":e=>l.createElement("svg",{viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",...e},l.createElement("path",{d:"M37.8269 28.6792C37.7136 28.8855 37.5505 29.0569 37.3542 29.176L23.9374 37.3179C23.7411 37.4371 23.5183 37.4999 23.2915 37.5C23.0647 37.5 22.8419 37.4373 22.6456 37.3181C22.4491 37.1988 22.2861 37.0274 22.1727 36.8209C22.0595 36.6144 21.9998 36.3803 22 36.1419V19.8592C22 18.8146 23.0753 18.161 23.9374 18.6843L37.3542 26.8251C37.5505 26.9443 37.7136 27.1156 37.8269 27.3219C37.9402 27.5283 38 27.7623 38 28.0006C38 28.2388 37.9402 28.4729 37.8269 28.6792Z"})),play:e=>l.createElement("svg",{viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",...e},l.createElement("path",{d:"M51 28C51 15.2975 40.7025 5 28 5C15.2975 5 5 15.2975 5 28C5 40.7025 15.2975 51 28 51V56C12.536 56 0 43.464 0 28C0 12.536 12.536 0 28 0C43.464 0 56 12.536 56 28C56 43.464 43.464 56 28 56V51C40.7025 51 51 40.7025 51 28Z"}),l.createElement("path",{d:"M37.8269 28.6792C37.7136 28.8855 37.5505 29.0569 37.3542 29.176L23.9374 37.3179C23.7411 37.4371 23.5183 37.4999 23.2915 37.5C23.0647 37.5 22.8419 37.4373 22.6456 37.3181C22.4491 37.1988 22.2861 37.0274 22.1727 36.8209C22.0595 36.6144 21.9998 36.3803 22 36.1419V19.8592C22 18.8146 23.0753 18.161 23.9374 18.6843L37.3542 26.8251C37.5505 26.9443 37.7136 27.1156 37.8269 27.3219C37.9402 27.5283 38 27.7623 38 28.0006C38 28.2388 37.9402 28.4729 37.8269 28.6792Z"})),plus:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M11.3 3.6h1.4l.2.1v16.6l-.2.1h-1.4l-.2-.1V3.6l.2-.1z"}),l.createElement("path",{d:"M4.1 11.1H20c.1 0 .2 0 .2.2v1.4l-.2.2H4c-.1 0-.2 0-.2-.2v-1.4l.2-.2z"})),podcasts:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M14 12c0 .74-.4 1.38-1 1.72V22h-2v-8.28c-.6-.35-1-.98-1-1.72 0-1.1.9-2 2-2s2 .9 2 2Zm-2-6c-3.31 0-6 2.69-6 6 0 1.74.75 3.31 1.94 4.4l1.42-1.42A3.956 3.956 0 0 1 8 12c0-2.21 1.79-4 4-4s4 1.79 4 4c0 1.19-.53 2.25-1.36 2.98l1.42 1.42A5.957 5.957 0 0 0 18 12c0-3.31-2.69-6-6-6Zm0-4C6.48 2 2 6.48 2 12c0 2.85 1.2 5.41 3.11 7.24l1.42-1.42A7.986 7.986 0 0 1 4 12c0-4.41 3.59-8 8-8s8 3.59 8 8c0 2.29-.98 4.36-2.53 5.82l1.42 1.42C20.8 17.41 22 14.85 22 12c0-5.52-4.48-10-10-10Z"})),remove:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M12 1.5a10.5 10.5 0 100 21 10.5 10.5 0 000-21zm4.4 13.7l-1.2 1.2L12 13l-3.2 3.3-1.2-1.2L11 12 7.6 8.8l1.2-1.2L12 11l3.2-3.3 1.2 1.2L13 12l3.3 3.2z"})),"search-mobile":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",width:"1em",height:"1em",...e},l.createElement("path",{fillRule:"evenodd",d:"M22.167 13.333a7.833 7.833 0 1 1-15.667 0 7.833 7.833 0 0 1 15.667 0Zm-2.568 7.708a9.333 9.333 0 1 1 1.168-.945l6.121 6.733-1.11 1.009L19.6 21.04Z",clipRule:"evenodd"})),search:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M10 18a8 8 0 004.9-1.7l4.4 4.4 1.4-1.4-4.4-4.4A8 8 0 1010 18zm0-14a6 6 0 110 12 6 6 0 010-12z"})),series:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27-7.38 5.74ZM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16Zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53Z"})),"stock-down":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",width:"1em",height:"1em",...e},l.createElement("path",{d:"M26 21h-4.5v2h8v-8h-2v4.6l-10.3-9.3-.7-.7-.7.7-5.3 5.3-7.8-7.3-1.4 1.4 8.5 8 .7.7.7-.7 5.3-5.3L26 21Z",clipRule:"evenodd"})),"stock-equal":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",width:"1em",height:"1em",...e},l.createElement("path",{d:"m25.6 16.9-3.3 3.3 1.4 1.4 5-5 .7-.7-.7-.7-5-5-1.4 1.5 3.2 3.2H3v2h22.6Z",clipRule:"evenodd"})),"stock-up":e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",width:"1em",height:"1em",...e},l.createElement("path",{d:"M26 10h-4.5V8h8v8h-2v-4.6l-10.3 9.3-.7.7-.7-.7-5.3-5.3-7.8 7.3-1.4-1.4 8.5-8 .7-.7.7.7 5.3 5.3L26 10Z",clipRule:"evenodd"})),time:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M12 2a10 10 0 100 20 10 10 0 000-20zm0 18a8 8 0 110-16 8 8 0 010 16z"}),l.createElement("path",{d:"M13 7h-2v6h6v-2h-4V7z"})),twitter:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M17.1761 4H19.9362L13.9061 10.7774L21 20H15.4456L11.0951 14.4066L6.11723 20H3.35544L9.80517 12.7508L3 4H8.69545L12.6279 9.11262L17.1761 4ZM16.2073 18.3754H17.7368L7.86441 5.53928H6.2232L16.2073 18.3754Z"})),upload:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M8 7l4-4 4 4h-3v8h-2V7H8zM3 19c0 1.1.9 2 2 2h14a2 2 0 002-2v-5h-2v5H5v-5H3v5z",clipRule:"evenodd"})),youtube:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...e},l.createElement("path",{d:"M20.85 8.7s-.15-1.27-.75-1.8c-.68-.75-1.43-.75-1.8-.75C15.75 6 12 6 12 6s-3.75 0-6.3.15c-.38.07-1.13.07-1.8.75-.52.52-.75 1.8-.75 1.8S3 10.13 3 11.63v1.34a34 34 0 00.15 2.93s.15 1.28.75 1.8c.68.75 1.57.68 1.95.75 1.43.15 6.15.15 6.15.15s3.75 0 6.3-.23c.38-.07 1.13-.07 1.8-.75.52-.52.75-1.8.75-1.8S21 14.4 21 12.9v-1.35c0-1.43-.15-2.85-.15-2.85zm-10.73 5.93V9.6L15 12.15l-4.88 2.47z"}))},b=["arrow-left","arrow-light-left","arrow-light-right","arrow-right","chevron-left","chevron-right","diagnostics","external-link","file-download","file","list","stock-down","stock-equal","stock-up","loading"],x="icon-container",y="icon",E="icon--rtl",T="icon-container--inline",S=e=>{let{icon:t,height:n,width:a,color:r,decorative:i=!0,display:l,onClick:o}=e;const c=w();if(!Object.keys(_).includes(t))return null;const d=!!c&&b.includes(t),p=_[t],h={"--custom-icon-color":r};return(0,s.jsx)("span",{className:u(x,"inline"===l&&T),children:(0,s.jsx)(p,{className:u(y,d&&E),width:a,height:n,"aria-hidden":i,style:r?h:void 0,onClick:o})})},N="accordion",k="accordion__header",C="accordion__header-text",L="accordion__header-icons",A="accordion__badge",j="accordion__icon",R="accordion__icon--chevron",M="accordion__icon--chevron-open",I="accordion__panel",P="accordion__panel-content",O="accordion__item",D="accordion__item--active",V="accordion__item--closing",z=e=>{var t;let{initiallyOpen:n,sections:a,headlineLevel:r="h4",children:i,slot:o,onPanelToggle:c,iconVariant:d="plus-minus",openSectionId:p,onOpenSectionChange:m,scrollToOpenSectionOnMount:v=!1}=e;const w=void 0!==p,[_,b]=(0,l.useState)(()=>((e,t)=>{var n,a,r;return void 0===t||t<0||t>=(null!==(n=null==e?void 0:e.length)&&void 0!==n?n:0)?null:null!==(a=null==(r=null==e?void 0:e[t])?void 0:r.id)&&void 0!==a?a:null})(a,n)),x=w?p:_,y=null!==(t=null==a?void 0:a.findIndex(e=>e.id===x))&&void 0!==t?t:-1;(0,l.useEffect)(()=>{w&&b(null!=p?p:null)},[w,p]);const[E,T]=(0,l.useState)(null),z=(0,l.useRef)([]),{scrollToItem:B}=(e=>({scrollToItem:(0,l.useCallback)(t=>{var n;null!==t&&null!=(n=null==e?void 0:e.current)&&n[t]&&e.current[t].scrollIntoView({behavior:g()?"auto":"smooth",inline:"nearest",block:"start"})},[e])}))(z);f(v&&y>=0,()=>{B(y)});const H=(e,t)=>{var n;(e=>{const t=null==a?void 0:a[e];if(!t)return;const n=y===e,r=n?null:t.id;w||b(r),T(n&&!g()?e:null),null==m||m(r)})(t);const r=(null==(n=null==a?void 0:a[t])?void 0:n.headline)||"";null==c||c(e,r)},$=`${r}`;return(0,s.jsx)("div",{className:N,slot:o,children:null==a?void 0:a.map((e,t)=>(0,s.jsxs)("div",{className:u(O,y===t&&D,E===t&&V),children:[(0,s.jsx)($,{children:(0,s.jsxs)("button",{className:k,id:`accordion-header-${e.id}`,type:"button","aria-expanded":y===t,"aria-controls":`accordion-panel-${e.id}`,tabIndex:0,onClick:e=>H(e,t),onKeyDown:e=>((e,t)=>{var n;if(!a||0===a.length)return;const{key:r}=e,i=a.length,s={ArrowDown:()=>h("next",t,i),ArrowUp:()=>h("previous",t,i),Home:()=>h("first",t,i),End:()=>h("last",t,i)};if(s[r]){e.preventDefault();const t=s[r]();null==(n=z.current[t])||n.focus()}else("Enter"===r||" "===r)&&(e.preventDefault(),H(e,t))})(e,t),ref:e=>{z.current[t]=e},children:[(0,s.jsx)("span",{className:C,children:e.headline}),(0,s.jsxs)("span",{className:L,children:[null!=e.badge&&(0,s.jsx)("span",{className:A,children:e.badge}),"chevron"===d?(0,s.jsx)("span",{className:u(j,R,y===t&&M),children:(0,s.jsx)(S,{icon:"chevron-down",height:"24px",decorative:!0})}):(0,s.jsx)("span",{className:j,children:(0,s.jsx)(S,{icon:y===t?"minus":"plus",height:"24px",decorative:!0})})]})]})}),(0,s.jsx)("div",{className:I,id:`accordion-panel-${e.id}`,role:"region","aria-labelledby":`accordion-header-${e.id}`,"aria-hidden":y!==t,onTransitionEnd:e=>((e,t)=>{"grid-template-rows"===e.propertyName&&E===t&&T(null)})(e,t),children:(0,s.jsx)("div",{className:P,children:null==i?void 0:i[t]})})]},e.id))})},B=e=>e/16;var H=(e=>(e[e.SMALL=320]="SMALL",e[e.MEDIUM=768]="MEDIUM",e[e.LARGE=1024]="LARGE",e[e.X_LARGE=1440]="X_LARGE",e[e.XX_LARGE=1672]="XX_
1LARGE",e))(H||{});const $={button:"button","button__icon-container":"button__icon-container","button__icon-container--loading":"button__icon-container--loading","loading-spinner":"loading-spinner",button__content:"button__content","button__content--loading":"button__content--loading","button__loading-spinner":"button__loading-spinner",button__text:"button__text","button__visually-hidden":"button__visually-hidden","button--size-small":"button--size-small","button--loading":"button--loading","button--left-aligned":"button--left-aligned","button--primary":"button--primary","button--disabled":"button--disabled","button--secondary":"button--secondary","button--tertiary":"button--tertiary","button--success":"button--success","button--error":"button--error","button--bottom-fixed":"button--bottom-fixed","button-wrapper":"button-wrapper","button-wrapper--no-margin":"button-wrapper--no-margin"};var F=(e=>(e.SELF="_self",e.BLANK="_blank",e))(F||{}),G=(e=>(e.BUTTON="button",e.SUBMIT="submit",e.RESET="reset",e))(G||{}),U=(e=>(e.SMALL="small",e.LARGE="large",e))(U||{}),W=(e=>(e.LEFT="left",e.CENTER="center",e))(W||{}),q=(e=>(e.PRIMARY="primary",e.SECONDARY="secondary",e.TERTIARY="tertiary",e.SUCCESS="success",e.ERROR="error",e.BOTTOM_FIXED="bottom-fixed",e))(q||{});const Y=e=>{let{appearance:t=q.PRIMARY,alignment:n=W.CENTER,size:a=U.LARGE,disabled:r,download:i,text:l,visuallyHiddenText:o,type:c=G.BUTTON,target:d=F.SELF,leftIcon:p,rightIcon:h,href:m,hasMarginTop:g=!0,isDecorative:v=!1,isModalTrigger:f,isLoading:w,slot:_,onModalTrigger:b,onClick:x,...y}=e;const E=(e,t)=>{const n=u($["button__icon-container"],t&&$["button__icon-container--loading"]),r=a===U.SMALL?16:24;return(0,s.jsx)("div",{className:n,"aria-hidden":!0,children:(0,s.jsx)(S,{icon:e,height:`${B(r)}rem`})})},T=u($.button,$[`button--size-${a}`],r&&$["button--disabled"],w&&$["button--loading"],n===W.LEFT&&$["button--left-aligned"],t===q.PRIMARY&&$["button--primary"],t===q.SECONDARY&&$["button--secondary"],t===q.TERTIARY&&$["button--tertiary"],t===q.SUCCESS&&$["button--success"],t===q.ERROR&&$["button--error"],t===q.BOTTOM_FIXED&&$["button--bottom-fixed"]),N=e=>{f&&b&&(e.preventDefault(),b()),x&&x(e)},k=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:u($.button__content,w&&$["button__content--loading"]),children:[p&&E(p),(0,s.jsxs)("div",{className:$.button__text,"data-content":l,children:[l,!v&&o&&(0,s.jsx)("span",{className:$["button__visually-hidden"],children:o})]}),h&&E(h)]}),w&&(0,s.jsx)("span",{className:$["button__loading-spinner"],children:E("loading",w)})]});return(0,s.jsx)("div",{className:u($["button-wrapper"],!g&&$["button-wrapper--no-margin"]),slot:_,children:v?(0,s.jsx)("div",{className:T,children:k}):m?(0,s.jsx)("a",{className:T,onClick:N,href:r?void 0:m,target:d,download:i,...y,children:k}):(0,s.jsx)("button",{className:T,onClick:N,type:c,disabled:r,...y,children:k})})},X={headline:"headline",headline__overline:"headline__overline","headline--1":"headline--1","headline--2":"headline--2","headline--3":"headline--3","headline--4":"headline--4","headline--5":"headline--5","headline--6":"headline--6","headline--pipeline":"headline--pipeline","headline--safety":"headline--safety"};var Z=(e=>(e.DEFAULT="default",e.PIPELINE="pipeline",e.SAFETY="safety",e))(Z||{});const K=e=>{let{overline:t,headline:n,level:a,semanticLevel:r,appearance:i=Z.DEFAULT,children:l,slot:o,...c}=e;const d=`h${r||a}`;return(0,s.jsxs)(d,{slot:o,className:u(X.headline,X[`headline--${a}`],i!==Z.DEFAULT&&X[`headline--${i}`]),...c,children:[t&&(0,s.jsx)("span",{className:X.headline__overline,children:t}),n||l]})},Q="roche-add-to-calendar",J=e=>e?new Date(e).toISOString():"",ee=e=>e.replace(/-|:|\.\d{3}/g,""),te=e=>{let{heading:t,eventTitle:n,description:a,startDate:r,endDate:i,icsLabel:l,googleCalendarLabel:o,outlookOnlineLabel:c,onCalendarLinkClick:d}=e;const u=J(r),p=J(i),h=ee(J(r)),m=ee(J(i)),g=[{title:n,text:l,href:`data:text/calendar,${encodeURIComponent(`BEGIN:VCALENDAR\nVERSION:2.0\nBEGIN:VEVENT\nSUMMARY:${n}\nDESCRIPTION:${a}\nDTSTART:${h}\nDTEND:${m}\nEND:VEVENT\nEND:VCALENDAR`)}`,icon:"file"},{text:o,href:`https://calendar.google.com/calendar/event?action=TEMPLATE&dates=${h}%2F${m}&text=${encodeURIComponent(n)}&details=${encodeURIComponent(a)}`,icon:"google-cal"},{text:c,href:`https://outlook.live.com/calendar/0/deeplink/compose?rru=addevent&path=%2Fcalendar%2Faction%2Fcompose&startdt=${u}&enddt=${p}&subject=${n}&body=${a}`,icon:"outlook"}];return(0,s.jsxs)("div",{className:Q,children:[(0,s.jsx)(K,{level:"6",semanticLevel:"2",headline:t}),g.map((e,t)=>(0,s.jsx)(Y,{hasMarginTop:!1,appearance:q.SECONDARY,alignment:W.LEFT,download:e.title,text:e.text,visuallyHiddenText:n&&`, ${n}`,href:e.href,leftIcon:e.icon,target:F.BLANK,onClick:t=>d(t,e.text,e.href)},t))]})},ne=e=>{const[,t]=(0,l.useState)(!1),n=(0,l.useRef)(!1);return(0,l.useEffect)(()=>{const a=new IntersectionObserver(e=>{let[a]=e;a.isIntersecting&&!n.current&&(n.current=!0,t(!0))});return e.current&&a.observe(e.current),()=>{a.disconnect()}},[e]),n.current},ae={"animated-words":"animated-words","animated-words__headline":"animated-words__headline","animated-words__text-container":"animated-words__text-container","animated-words__words-container":"animated-words__words-container","animated-words__word":"animated-words__word","animated-words__word--active":"animated-words__word--active","animated-words__word--previous":"animated-words__word--previous","animated-words__word--next":"animated-words__word--next","animated-words__word--red":"animated-words__word--red","animated-words__word--orange":"animated-words__word--orange","animated-words__word--purple":"animated-words__word--purple","animated-words__word--brand":"animated-words__word--brand","animated-words__word--effect":"animated-words__word--effect","animated-words--animated":"animated-words--animated"},re=["red","orange","purple","brand"],ie=e=>{let{headline:t,words:n}=e;const a=(0,l.useRef)(null),[r,o]=(0,l.useState)(0),c=(e=>{const[t,n]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{const t=new IntersectionObserver(e=>{let[t]=e;return n(t.isIntersecting)});return e.current&&t.observe(e.current),()=>{t.disconnect()}},[e]),t})(a),d=n?n.trim().split("\n"):[],p=d.length<=3&&d.length>1?[].concat((0,i.A)(d),(0,i.A)(d)):d,h=d.length>1,m=e=>{const t=e%d.length===d.length-1?"animated-words__word--effect":`animated-words__word--${re[e%d.length%d.length]}`;if(!h)return u(ae["animated-words__word"],ae[t],{[ae["animated-words__word--active"]]:!0});const n=p.length,a=e===r,i=e===(r-1+n)%n,s=e===(r+1+n)%n;return u(ae["animated-words__word"],ae[t],{[ae["animated-words__word--active"]]:a,[ae["animated-words__word--previous"]]:i,[ae["animated-words__word--next"]]:s})};return(0,l.useEffect)(()=>
1{if(h&&c){const e=setInterval(()=>{o(e=>(e+1)%p.length)},1400);return()=>clearInterval(e)}},[d,c]),(0,s.jsxs)("h2",{ref:a,className:u(ae["animated-words"],{[ae["animated-words--animated"]]:h}),"aria-label":`${t} ${n.replaceAll("\n",", ")}`,children:[(0,s.jsx)("span",{className:ae["animated-words__headline"],children:t}),(0,s.jsx)("div",{className:ae["animated-words__text-container"],children:p.map((e,t)=>(0,s.jsx)("span",{className:m(t),children:e},t))})]})},se="avatar",le="avatar__fallback",oe="avatar__icon",ce=e=>{let{children:t}=e;return(0,s.jsx)("div",{className:se,children:null!=t?t:(0,s.jsx)("div",{className:le,children:(0,s.jsx)("div",{className:oe,children:(0,s.jsx)(S,{icon:"default-avatar",height:"100%",decorative:!0})})})})};var de=(e=>(e.SELF="_self",e.BLANK="_blank",e))(de||{});const ue={"text-link":"text-link","text-link__link":"text-link__link","text-link__icon-container":"text-link__icon-container","text-link__text":"text-link__text","text-link__visually-hidden":"text-link__visually-hidden","text-link--footnote":"text-link--footnote","text-link--contact-person":"text-link--contact-person","text-link--footer-social":"text-link--footer-social","text-link--footer-column":"text-link--footer-column","text-link--footer-quick":"text-link--footer-quick","text-link--footer-service":"text-link--footer-service","text-link--breadcrumbs":"text-link--breadcrumbs","text-link--news-page":"text-link--news-page","icon-container":"icon-container","text-link--responsive-table":"text-link--responsive-table"};var pe=(e=>(e.CONTACT_PERSON="contact-person",e.FOOTER="footer",e.FOOTER_QUICK="footer-quick",e.FOOTER_COLUMN="footer-column",e.FOOTER_SOCIAL="footer-social",e.FOOTER_SERVICE="footer-service",e.BREADCRUMBS="breadcrumbs",e.NEWS_PAGE="news-page",e.RESPONSIVE_TABLE="responsive-table",e))(pe||{});const he=e=>{let{href:t,lang:n,hrefLang:a,text:r,slot:i,target:l,leftIcon:o,rightIcon:c,label:d,visuallyHiddenText:p,type:h,size:m,onButtonClick:g,buttonType:v=G.BUTTON,onTextLinkClick:f}=e;const w=t?"a":"button",_=t?{href:t,lang:n,target:l,hrefLang:a}:{},b=e=>{const t=h===pe.NEWS_PAGE;return(0,s.jsx)("span",{className:ue["text-link__icon-container"],children:(0,s.jsx)(S,{icon:e,height:t?"14px":"24px"})})};return(0,s.jsx)("span",{className:u(ue["text-link"],h&&ue[`text-link--${h}`],m&&ue[` text-link--${m}`]),slot:i,children:(0,s.jsxs)(w,{className:ue["text-link__link"],..._,"aria-label":d,onClick:"a"===w?f:g,type:"button"===w?v:void 0,children:[o&&b(o),(0,s.jsx)("span",{className:ue["text-link__text"],children:r}),p&&(0,s.jsx)("span",{className:ue["text-link__visually-hidden"],children:p}),c&&b(c)]})})},me="roche-back-to-branch",ge="roche-back-to-branch__content",ve=e=>{let{overlineText:t,headline:n,linkText:a,linkVisuallyHiddenText:r,link:i,icon:l,slot:o}=e;return(0,s.jsxs)("section",{className:me,slot:o,children:[(0,s.jsx)("div",{className:ge,children:(0,s.jsx)(K,{overline:t,headline:n,level:"5"})}),(0,s.jsx)(he,{rightIcon:l,href:i,text:a,visuallyHiddenText:r,target:de.SELF})]})};const fe="breadcrumbs",we="breadcrumbs__item-list",_e="breadcrumbs__item",be="breadcrumbs__text",xe="breadcrumbs__icon",ye=e=>{let{items:t,ariaLabel:n,slot:a,onBreadcrumbClick:r}=e;return(0,s.jsx)("nav",{className:fe,"aria-label":n,slot:a,children:(0,s.jsx)("ol",{className:we,children:null==t?void 0:t.map((e,t)=>((e,t)=>(0,s.jsxs)(l.Fragment,{children:[t>0&&(0,s.jsx)("span",{className:xe,children:(0,s.jsx)(S,{icon:"chevron-right",height:"14px"})}),(0,s.jsx)("li",{className:_e,children:e.href?(0,s.jsx)(he,{href:e.href,text:e.text,target:de.SELF,type:pe.BREADCRUMBS,onTextLinkClick:()=>r(pe.BREADCRUMBS,e.text,e.href)}):(0,s.jsx)("p",{className:be,children:e.text})})]},`breadcrumb-${t}`))(e,t))})})},Ee="contact-person",Te="contact-person__avatar",Se="contact-person__name",Ne="contact-person__job-title",ke="contact-person__phone-number",Ce="contact-person__email-address";var Le=(e=>(e.VARIANT_A="contact-person--variant-a",e.VARIANT_A_WITHOUT_IMAGE="contact-person--variant-a-without-image",e.VARIANT_B="contact-person--variant-b",e))(Le||{});const Ae=e=>{let{layout:t=Le.VARIANT_A,name:n,jobTitle:a,phoneNumber:r,phoneVisuallyHiddenText:i,emailAddress:l,emailVisuallyHiddenText:o,children:c,slot:d}=e;const u=t!==Le.VARIANT_B,p=t!==Le.VARIANT_A_WITHOUT_IMAGE&&c;return(0,s.jsxs)("div",{className:Ee,slot:d,children:[p&&(0,s.jsx)("div",{className:Te,children:c}),(0,s.jsx)("h3",{className:Se,children:n}),(0,s.jsx)("p",{className:Ne,children:a}),u&&r&&(0,s.jsx)("div",{className:ke,children:(0,s.jsx)(he,{href:`tel:${r}`,text:r,visuallyHiddenText:i,leftIcon:"phone",type:pe.CONTACT_PERSON},"phone-number")}),u&&l&&(0,s.jsx)("div",{className:Ce,children:(0,s.jsx)(he,{href:`mailto:${l}`,text:l,visuallyHiddenText:o,leftIcon:"email",type:pe.CONTACT_PERSON},"email-address")})]})},je={container:"container","container--full-width":"container--full-width","container--colored":"container--colored","container--theme-aware":"container--theme-aware","container--aware-gradient-top-left":"container--aware-gradient-top-left","container--aware-gradient-bottom-right":"container--aware-gradient-bottom-right","container--neutral-gradient-top-left":"container--neutral-gradient-top-left","container--blue-gradient-top-left":"container--blue-gradient-top-left","container--blue-gradient-bottom-right":"container--blue-gradient-bottom-right","container--neutral-gradient-bottom-right":"container--neutral-gradient-bottom-right","container--neutral-gradient-neutral-100-neutral-400":"container--neutral-gradient-neutral-100-neutral-400","container--neutral-100":"container--neutral-100","container--neutral-200":"container--neutral-200","container--grey-50":"container--grey-50","container--grey-100":"container--grey-100","container--grey-300":"container--grey-300","container--white":"container--white","container--split-gradient-radial":"container--split-gradient-radial","container__gradient-helper":"container__gradient-helper","container--split-gradient-linear":"container--split-gradient-linear","container--brand-gradient":"container--brand-gradient","brand-gradient-animation":"brand-gradient-animation","container--extended-background":"container--extended-background","container--extended-background-bottom":"container--extended-background-bottom","container--full-height":"container--full-height"};var Re=(e=>(e.TRANSPARENT="transparent",e.THEME_AWARE="theme-aware",e.NEUTRAL_GRADIENT_TOP_LEFT="neutral-gradient-top-left",e.NEUTRAL_GRADIENT_BOTTOM_RIGHT="neutral-gradient-bottom-right",e.NEUTRAL_GRADIENT_NEUTRAL_100_NEUTRAL_400="neutral-gradient-neutral-100-neutral-400",e.NEUTRAL_100="neutral-100",e.NEUTRAL_200="neutral-200",e.GREY_50="grey-50",e.GREY_100="grey-100",e.GREY_300="grey-300",e.WHITE="white",e.AWARE_SOFT_TOP_LEFT="aware-gradient-top-left",e.AWARE_SOFT_BOTTOM_RIGHT="aware-gradient-bottom-right",e.BLUE_GRADIENT_TOP_LEFT="blue-gradient-top-left",e.BLUE_GRADIENT_BOTTOM_RIGHT="blue-gradient-bottom-right",e.SPLIT_GRADIENT="split-gradient-radial",e.GRADIENT_WHITE_TO_GRAY_4="split-gradient-linear",e.BRAND_GRADIENT="brand-gradient",e))(Re||{});const Me=e=>{let{color:t=Re.TRANSPARENT,fullWidth:n,fullHeight:a,extendBackgroun
1dToTop:r,extendBackgroundToBottom:i,children:l}=e;const o=u(je.container,t!==Re.TRANSPARENT&&je["container--colored"],je[`container--${t}`],n&&je["container--full-width"],a&&je["container--full-height"],r&&je["container--extended-background"],r&&i&&je["container--extended-background-bottom"]);return(0,s.jsxs)("div",{className:o,children:[(0,s.jsx)("div",{className:je["container__gradient-helper"]}),l]})},Ie=(e,t)=>{(0,l.useEffect)(()=>{if(!t)return;const n=t=>{"Escape"===t.key&&(t.stopPropagation(),e())};return window.addEventListener("keydown",n),()=>{window.removeEventListener("keydown",n)}},[t,e])};let Pe=0;const Oe=()=>{const{documentElement:e}=document;e.style.overflow=Pe>0?"hidden":""},De=e=>{(0,l.useEffect)(()=>(e&&(Pe++,Oe()),()=>{e&&(Pe--,Oe())}),[e])},Ve="dialog",ze="dialog__panel",Be="dialog__content",He="dialog__footer",$e="dialog__head--no-padding-top",Fe="dialog__head--no-padding-bottom",Ge="dialog--center",Ue="dialog__head",We="dialog__content--no-padding-top",qe="dialog__content--no-padding-bottom",Ye="dialog__footer--no-padding-top",Xe="dialog__footer--no-padding-bottom",Ze="dialog--top";var Ke=(e=>(e.CENTER="center",e.TOP="top",e))(Ke||{});const Qe=(0,l.forwardRef)((e,t)=>{let{variant:n,isOpen:a=!1,onCancel:r,enableEscapeKey:i=!1,children:l,...o}=e;Ie(r||(()=>{}),i),De(a);const c=u(Ve,n===Ke.CENTER&&Ge,n===Ke.TOP&&Ze);return(0,s.jsx)("dialog",{ref:t,className:c,...o,children:l})}),Je=Object.assign(Qe,{Panel:e=>{let{children:t,className:n,slot:a}=e;return(0,s.jsx)("div",{className:u(ze,n),slot:a,children:t})},Head:e=>{let{children:t,className:n,slot:a,noPaddingTop:r,noPaddingBottom:i}=e;return(0,s.jsx)("div",{className:u(Ue,r&&$e,i&&Fe,n),slot:a,children:t})},Content:e=>{let{children:t,className:n,slot:a,noPaddingTop:r,noPaddingBottom:i}=e;return(0,s.jsx)("div",{className:u(Be,r&&We,i&&qe,n),slot:a,children:t})},Footer:e=>{let{children:t,className:n,slot:a,noPaddingTop:r,noPaddingBottom:i}=e;return(0,s.jsx)("div",{className:u(He,r&&Ye,i&&Xe,n),slot:a,children:t})}}),et={drawer:"drawer","drawer--bottom":"drawer--bottom","drawer--top":"drawer--top","drawer--left":"drawer--left","drawer--right":"drawer--right","drawer--full-size":"drawer--full-size","drawer--open":"drawer--open","drawer--closing":"drawer--closing",drawer__container:"drawer__container",drawer__header:"drawer__header","drawer__close-button":"drawer__close-button",drawer__content:"drawer__content"};var tt=(e=>(e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right",e.TOP="top",e))(tt||{});const nt=(0,l.forwardRef)((e,t)=>{let{open:n,closing:a=!1,direction:r=tt.BOTTOM,fullSize:i=!1,dialogLabel:l,closeButtonLabel:o="Close",onClose:c,children:d,...p}=e;Ie(c,n),De(n);const h=u(et.drawer,et[`drawer--${r}`],i&&et["drawer--full-size"],n&&et["drawer--open"],a&&et["drawer--closing"]);return(0,s.jsx)("dialog",{ref:t,className:h,"aria-modal":"true","aria-label":l,onCancel:e=>e.preventDefault(),...p,children:(0,s.jsxs)("div",{className:et.drawer__container,children:[(0,s.jsx)("div",{className:et.drawer__header,children:(0,s.jsx)("button",{type:"button",className:et["drawer__close-button"],onClick:c,"aria-label":o,children:(0,s.jsx)(S,{icon:"mobile-close",height:"32px",decorative:!0})})}),(0,s.jsx)("div",{className:et.drawer__content,children:d})]})})}),at=()=>!(typeof navigator>"u")&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent);function rt(e,t){return e&&t?`${t.replace(/\s*\*$/,"").trimEnd()} *`:t}function it(){return typeof window<"u"}function st(e){return ct(e)?(e.nodeName||"").toLowerCase():"#document"}function lt(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ot(e){var t;return null==(t=(ct(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ct(e){return!!it()&&(e instanceof Node||e instanceof lt(e).Node)}function dt(e){return!!it()&&(e instanceof Element||e instanceof lt(e).Element)}function ut(e){return!!it()&&(e instanceof HTMLElement||e instanceof lt(e).HTMLElement)}function pt(e){return!(!it()||typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof lt(e).ShadowRoot)}const ht=new Set(["inline","contents"]);function mt(e){const{overflow:t,overflowX:n,overflowY:a,display:r}=Nt(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+n)&&!ht.has(r)}const gt=new Set(["table","td","th"]);function vt(e){return gt.has(st(e))}const ft=[":popover-open",":modal"];function wt(e){return ft.some(t=>{try{return e.matches(t)}catch{return!1}})}const _t=["transform","translate","scale","rotate","perspective"],bt=["transform","translate","scale","rotate","perspective","filter"],xt=["paint","layout","strict","content"];function yt(e){const t=Et(),n=dt(e)?Nt(e):e;return _t.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||bt.some(e=>(n.willChange||"").includes(e))||xt.some(e=>(n.contain||"").includes(e))}function Et(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Tt=new Set(["html","body","#document"]);function St(e){return Tt.has(st(e))}function Nt(e){return lt(e).getComputedStyle(e)}function kt(e){return dt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ct(e){if("html"===st(e))return e;const t=e.assignedSlot||e.parentNode||pt(e)&&e.host||ot(e);return pt(t)?t.host:t}function Lt(e){const t=Ct(e);return St(t)?e.ownerDocument?e.ownerDocument.body:e.body:ut(t)&&mt(t)?t:Lt(t)}
vendor: 13,237 bytes, line 1
1function At(e,t,n){var a;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=Lt(e),i=r===(null==(a=e.ownerDocument)?void 0:a.body),s=lt(r);if(i){const e=jt(s);return t.concat(s,s.visualViewport||[],mt(r)?r:[],e&&n?At(e):[])}return t.concat(r,At(r,[],n))}function jt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Rt=Math.min,Mt=Math.max,It=Math.round,Pt=Math.floor,Ot=e=>({x:e,y:e}),Dt={left:"right",right:"left",bottom:"top",top:"bottom"},Vt={start:"end",end:"start"};function zt(e,t,n){return Mt(e,Rt(t,n))}function Bt(e,t){return"function"==typeof e?e(t):e}function Ht(e){return e.split("-")[0]}function $t(e){return e.split("-")[1]}function Ft(e){return"x"===e?"y":"x"}function Gt(e){return"y"===e?"height":"width"}const Ut=new Set(["top","bottom"]);function Wt(e){return Ut.has(Ht(e))?"y":"x"}function qt(e){return Ft(Wt(e))}function Yt(e){return e.replace(/start|end/g,e=>Vt[e])}const Xt=["left","right"],Zt=["right","left"],Kt=["top","bottom"],Qt=["bottom","top"];function Jt(e,t,n,a){const r=$t(e);let i=function(e,t,n){switch(e){case"top":case"bottom":return n?t?Zt:Xt:t?Xt:Zt;case"left":case"right":return t?Kt:Qt;default:return[]}}(Ht(e),"start"===n,a);return r&&(i=i.map(e=>e+"-"+r),t&&(i=i.concat(i.map(Yt)))),i}function en(e){return e.replace(/left|right|bottom|top/g,e=>Dt[e])}function tn(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function nn(e){const{x:t,y:n,width:a,height:r}=e;return{width:a,height:r,top:n,left:t,right:t+a,bottom:n+r,x:t,y:n}}var an=typeof document<"u"?l.useLayoutEffect:function(){};const rn={...a||(a=n.t(l,2))}.useInsertionEffect||(e=>e());function sn(e,t,n){let{reference:a,floating:r}=e;const i=Wt(t),s=qt(t),l=Gt(s),o=Ht(t),c="y"===i,d=a.x+a.width/2-r.width/2,u=a.y+a.height/2-r.height/2,p=a[l]/2-r[l]/2;let h;switch(o){case"top":h={x:d,y:a.y-r.height};break;case"bottom":h={x:d,y:a.y+a.height};break;case"right":h={x:a.x+a.width,y:u};break;case"left":h={x:a.x-r.width,y:u};break;default:h={x:a.x,y:a.y}}switch($t(t)){case"start":h[s]-=p*(n&&c?-1:1);break;case"end":h[s]+=p*(n&&c?-1:1)}return h}async function ln(e,t){var n;void 0===t&&(t={});const{x:a,y:r,platform:i,rects:s,elements:l,strategy:o}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:p=!1,padding:h=0}=Bt(t,e),m=tn(h),g=l[p?"floating"===u?"reference":"floating":u],v=nn(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:o})),f="floating"===u?{x:a,y:r,width:s.floating.width,height:s.floating.height}:s.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),_=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=nn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:f,offsetParent:w,strategy:o}):f);return{top:(v.top-b.top+m.top)/_.y,bottom:(b.bottom-v.bottom+m.bottom)/_.y,left:(v.left-b.left+m.left)/_.x,right:(b.right-v.right+m.right)/_.x}}const on=new Set(["left","top"]);function cn(e){const t=Nt(e);let n=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const r=ut(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:a,l=It(n)!==i||It(a)!==s;return l&&(n=i,a=s),{width:n,height:a,$:l}}function dn(e){return dt(e)?e:e.contextElement}function un(e){const t=dn(e);if(!ut(t))return Ot(1);const n=t.getBoundingClientRect(),{width:a,height:r,$:i}=cn(t);let s=(i?It(n.width):n.width)/a,l=(i?It(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const pn=Ot(0);function hn(e){const t=lt(e);return Et()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:pn}function mn(e,t,n,a){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),i=dn(e);let s=Ot(1);t&&(a?dt(a)&&(s=un(a)):s=un(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==lt(e))&&t}(i,n,a)?hn(i):Ot(0);let o=(r.left+l.x)/s.x,c=(r.top+l.y)/s.y,d=r.width/s.x,u=r.height/s.y;if(i){const e=lt(i),t=a&&dt(a)?lt(a):a;let n=e,r=jt(n);for(;r&&a&&t!==n;){const e=un(r),t=r.getBoundingClientRect(),a=Nt(r),i=t.left+(r.clientLeft+parseFloat(a.paddingLeft))*e.x,s=t.top+(r.clientTop+parseFloat(a.paddingTop))*e.y;o*=e.x,c*=e.y,d*=e.x,u*=e.y,o+=i,c+=s,n=lt(r),r=jt(n)}}return nn({width:d,height:u,x:o,y:c})}function gn(e,t){const n=kt(e).scrollLeft;return t?t.left+n:mn(ot(e)).left+n}function vn(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-gn(e,n),y:n.top+t.scrollTop}}const fn=new Set(["absolute","fixed"]);function wn(e,t,n){let a;if("viewport"===t)a=function(e,t){const n=lt(e),a=ot(e),r=n.visualViewport;let i=a.clientWidth,s=a.clientHeight,l=0,o=0;if(r){i=r.width,s=r.height;const e=Et();(!e||e&&"fixed"===t)&&(l=r.offsetLeft,o=r.offsetTop)}const c=gn(a);if(c<=0){const e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(a.clientWidth-t.clientWidth-r);s<=25&&(i-=s)}else c<=25&&(i+=c);return{width:i,height:s,x:l,y:o}}(e,n);else if("document"===t)a=function(e){const t=ot(e),n=kt(e),a=e.ownerDocument.body,r=Mt(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),i=Mt(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let s=-n.scrollLeft+gn(e);const l=-n.scrollTop;return"rtl"===Nt(a).direction&&(s+=Mt(t.clientWidth,a.clientWidth)-r),{width:r,height:i,x:s,y:l}}(ot(e));else if(dt(t))a=function(e,t){const n=mn(e,!0,"fixed"===t),a=n.top+e.clientTop,r=n.left+e.clientLeft,i=ut(e)?un(e):Ot(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:r*i.x,y:a*i.y}}(t,n);else{const n=hn(e);a={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return nn(a)}function _n(e,t){const n=Ct(e);return!(n===t||!dt(n)||St(n))&&("fixed"===Nt(n).position||_n(n,t))}function bn(e,t,n){const a=ut(t),r=ot(t),i="fixed"===n,s=mn(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const o=Ot(0);function c(){o.x=gn(r)}if(a||!a&&!i)if(("body"!==st(t)||mt(r))&&(l=kt(t)),a){const e=mn(t,!0,i,t);o.x=e.x+t.clientLeft,o.y=e.y+t.clientTop}else r&&c();i&&!a&&r&&c();const d=!r||a||i?Ot(0):vn(r,l);return{x:s.left+l.scrollLeft-o.x-d.x,y:s.top+l.scrollTop-o.y-d.y,width:s.width,height:s.height}}function xn(e){return"static"===Nt(e).position}function yn(e,t){if(!ut(e)||"fixed"===Nt(e).position)return null;if(t)return t(e);let n=e.offsetParent;return ot(e)===n&&(n=n.ownerDocument.body),n}function En(e,t){const n=lt(e);if(wt(e))return n;if(!ut(e)){let t=Ct(e);for(;t&&!St(t);){if(dt(t)&&!xn(t))return t;t=Ct(t)}return n}let a=yn(e,t);for(;a&&vt(a)&&xn(a);)a=yn(a,t);return a&&St(a)&&xn(a)&&!yt(a)?n:a||function(e){let t=Ct(e);for(;ut(t)&&!St(t);){if(yt(t))return t;if(wt(t))return null;t=Ct(t)}return null}(e)||n}const Tn={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:a,strategy:r}=e;const i="fixed"===r,s=ot(a),l=!!t&&wt(t.floating);if(a===s||l&&i)return n;let o={scrollLeft:0,scrollTop:0},c=Ot(1);const d=Ot(0),u=ut(a);if((u||!u&&!i)&&(("body"!==st(a)||mt(s))&&(o=kt(a)),ut(a))){const e=mn(a);c=un(a),d.x=e.x+a.clientLeft,d.y=e.y+a.clientTop}const p=!s||u||i?Ot(0):vn(s,o);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-o.scrollLeft*c.x+d.x+p.x,y:n.y*c.y-o.scrollTop*c.y+d.y+p.y}},getDocumentElement:ot,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:a,strategy:r}=e;const s=[].concat((0,i.A)("clippingAncestors"===n?wt(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let a=At(e,[],!1).filter(e=>dt(e)&&"body"!==st(e)),r=null;const i="fixed"===Nt(e).position;let s=i?Ct(e):e;for(;dt(s)&&!St(s);){const t=Nt(s),n=yt(s);!n&&"fixed"===t.position&&(r=null),(i?!n&&!r:!n&&"static"===t.position&&r&&fn.has(r.position)||mt(s)&&!n&&_n(e,s))?a=a.filter(e=>e!==s):r=t,s=Ct(s)}return t.set(e,a),a}(t,this._c):[].concat(n)),[a]),l=s[0],o=s.reduce((e,n)=>{const a=wn(t,n,r);return e.top=Mt(a.top,e.top),e.right=Rt(a.right,e.right),e.bottom=Rt(a.bottom,e.bottom),e.left=Mt(a.left,e.left),e},wn(t,l,r));return{width:o.right-o.left,height:o.bottom-o.top,x:o.left,y:o.top}},getOffsetParent:En,getElementRects:async function(e){const t=this.getOffsetParent||En,n=this.getDimensions,a=await n(e.floating);return{reference:bn(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=cn(e);return{width:t,height:n}},getScale:un,isElement:dt,isRTL:function(e){return"rtl"===Nt(e).direction}};function Sn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Nn(e,t,n,a){void 0===a&&(a={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:o="function"==typeof IntersectionObserver,animationFrame:c=!1}=a,d=dn(e),u=r||s?[].concat((0,i.A)(d?At(d):[]),(0,i.A)(At(t))):[];u.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});const p=d&&o?function(e,t){let n,a=null;const r=ot(e);function i(){var e;clearTimeout(n),null==(e=a)||e.disconnect(),a=null}return function s(l,o){void 0===l&&(l=!1),void 0===o&&(o=1),i();const c=e.getBoundingClientRect(),{left:d,top:u,width:p,height:h}=c;if(l||t(),!p||!h)return;const m={rootMargin:-Pt(u)+"px "+-Pt(r.clientWidth-(d+p))+"px "+-Pt(r.clientHeight-(u+h))+"px "+-Pt(d)+"px",threshold:Mt(0,Rt(1,o))||1};let g=!0;function v(t){const a=t[0].intersectionRatio;if(a!==o){if(!g)return s();a?s(!1,a):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1===a&&!Sn(c,e.getBoundingClientRect())&&s(),g=!1}try{a=new IntersectionObserver(v,{...m,root:r.ownerDocument})}catch{a=new IntersectionObserver(v,m)}a.observe(e)}(!0),i}(d,n):null;let h=-1,m=null;l&&(m=new ResizeObserver(e=>{let[a]=e;a&&a.target===d&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),d&&!c&&m.observe(d),m.observe(t));let g,v=c?mn(e):null;return c&&function t(){const a=mn(e);v&&!Sn(v,a)&&n(),v=a,g=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{r&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=m)||e.disconnect(),m=null,c&&cancelAnimationFrame(g)}}const kn=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,a;const{x:r,y:i,placement:s,middlewareData:l}=t,o=await async function(e,t){const{placement:n,platform:a,elements:r}=e,i=await(null==a.isRTL?void 0:a.isRTL(r.floating)),s=Ht(n),l=$t(n),o="y"===Wt(n),c=on.has(s)?-1:1,d=i&&o?-1:1,u=Bt(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&"number"==typeof m&&(h="end"===l?-1*m:m),o?{x:h*d,y:p*c}:{x:p*c,y:h*d}}(t,e);return s===(null==(n=l.offset)?void 0:n.placement)&&null!=(a=l.arrow)&&a.alignmentOffset?{}:{x:r+o.x,y:i+o.y,data:{...o,placement:s}}}}},Cn=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:a,placement:r}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...o}=Bt(e,t),c={x:n,y:a},d=await ln(t,o),u=Wt(Ht(r)),p=Ft(u);let h=c[p],m=c[u];if(i){const e="y"===p?"bottom":"right";h=zt(h+d["y"===p?"top":"left"],h,h-d[e])}if(s){const e="y"===u?"bottom":"right";m=zt(m+d["y"===u?"top":"left"],m,m-d[e])}const g=l.fn({...t,[p]:h,[u]:m});return{...g,data:{x:g.x-n,y:g.y-a,enabled:{[p]:i,[u]:s}}}}}},Ln=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,a;const{placement:r,middlewareData:s,rects:l,initialPlacement:o,platform:c,elements:d}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...f}=Bt(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const w=Ht(r),_=Wt(o),b=Ht(o)===o,x=await(null==c.isRTL?void 0:c.isRTL(d.floating)),y=h||(b||!v?[en(o)]:function(e){const t=en(e);return[Yt(e),t,Yt(t)]}(o)),E="none"!==g;!h&&E&&y.push.apply(y,(0,i.A)(Jt(o,v,g,x)));const T=[o].concat((0,i.A)(y)),S=await ln(t,f),N=[];let k=(null==(a=s.flip)?void 0:a.overflows)||[];if(u&&N.push(S[w]),p){const e=function(e,t,n){void 0===n&&(n=!1);const a=$t(e),r=qt(e),i=Gt(r);let s="x"===r?a===(n?"end":"start")?"right":"left":"start"===a?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=en(s)),[s,en(s)]}(r,l,x);N.push(S[e[0]],S[e[1]])}if(k=[].concat((0,i.A)(k),[{placement:r,overflows:N}]),!N.every(e=>e<=0)){var C,L;const e=((null==(C=s.flip)?void 0:C.index)||0)+1,t=T[e];if(t&&("alignment"!==p||_===Wt(t)||k.every(e=>Wt(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(L=k.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:L.placement;if(!n)switch(m){case"bestFit":{var A;const e=null==(A=k.filter(e=>{if(E){const t=Wt(e.placement);return t===_||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>
1e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:A[0];e&&(n=e);break}case"initialPlacement":n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},An=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:a,placement:r,rects:i,platform:s,elements:l,middlewareData:o}=t,{element:c,padding:d=0}=Bt(e,t)||{};if(null==c)return{};const u=tn(d),p={x:n,y:a},h=qt(r),m=Gt(h),g=await s.getDimensions(c),v="y"===h,f=v?"top":"left",w=v?"bottom":"right",_=v?"clientHeight":"clientWidth",b=i.reference[m]+i.reference[h]-p[h]-i.floating[m],x=p[h]-i.reference[h],y=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let E=y?y[_]:0;(!E||!await(null==s.isElement?void 0:s.isElement(y)))&&(E=l.floating[_]||i.floating[m]);const T=b/2-x/2,S=E/2-g[m]/2-1,N=Rt(u[f],S),k=Rt(u[w],S),C=N,L=E-g[m]-k,A=E/2-g[m]/2+T,j=zt(C,A,L),R=!o.arrow&&null!=$t(r)&&A!==j&&i.reference[m]/2-(A<C?N:k)-g[m]/2<0,M=R?A<C?A-C:A-L:0;return{[h]:p[h]+M,data:{[h]:j,centerOffset:A-j-M,...R&&{alignmentOffset:M}},reset:R}}}),jn=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:a,placement:r,rects:i,middlewareData:s}=t,{offset:l=0,mainAxis:o=!0,crossAxis:c=!0}=Bt(e,t),d={x:n,y:a},u=Wt(r),p=Ft(u);let h=d[p],m=d[u];const g=Bt(l,t),v="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(o){const e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+v.mainAxis,n=i.reference[p]+i.reference[e]-v.mainAxis;h<t?h=t:h>n&&(h=n)}if(c){var f,w;const e="y"===p?"width":"height",t=on.has(Ht(r)),n=i.reference[u]-i.floating[e]+(t&&(null==(f=s.offset)?void 0:f[u])||0)+(t?0:v.crossAxis),a=i.reference[u]+i.reference[e]+(t?0:(null==(w=s.offset)?void 0:w[u])||0)-(t?v.crossAxis:0);m<n?m=n:m>a&&(m=a)}return{[p]:h,[u]:m}}}},Rn=(e,t,n)=>{const a=new Map,r={platform:Tn,...n},i={...r.platform,_c:a};return(async(e,t,n)=>{const{placement:a="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),o=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:u}=sn(c,a,o),p=a,h={},m=0;for(let g=0;g<l.length;g++){const{name:n,fn:i}=l[g],{x:v,y:f,data:w,reset:_}=await i({x:d,y:u,initialPlacement:a,placement:p,strategy:r,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});d=null!=v?v:d,u=null!=f?f:u,h={...h,[n]:{...h[n],...w}},_&&m<=50&&(m++,"object"==typeof _&&(_.placement&&(p=_.placement),_.rects&&(c=!0===_.rects?await s.getElementRects({reference:e,floating:t,strategy:r}):_.rects),({x:d,y:u}=sn(c,p,o))),g=-1)}return{x:d,y:u,placement:p,strategy:r,middlewareData:h}})(e,t,{...r,platform:i})};var Mn=typeof document<"u"?l.useLayoutEffect:function(){};function In(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,a,r;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(a=n;0!==a--;)if(!In(e[a],t[a]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(a=n;0!==a--;)if(!{}.hasOwnProperty.call(t,r[a]))return!1;for(a=n;0!==a--;){const n=r[a];if(!("_owner"===n&&e.$$typeof||In(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function Pn(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function On(e,t){const n=Pn(e);return Math.round(t*n)/n}function Dn(e){const t=l.useRef(e);return Mn(()=>{t.current=e}),t}const Vn=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:a}="function"==typeof e?e(t):e;return n&&function(e){return{}.hasOwnProperty.call(e,"current")}(n)?null!=n.current?An({element:n.current,padding:a}).fn(t):{}:n?An({element:n,padding:a}).fn(t):{}}}),zn=(e,t)=>({...kn(e),options:[e,t]}),Bn=(e,t)=>({...Cn(e),options:[e,t]}),Hn=(e,t)=>({...jn(e),options:[e,t]}),$n=(e,t)=>({...Ln(e),options:[e,t]}),Fn=(e,t)=>({...Vn(e),options:[e,t]}),Gn={...a||(a=n.t(l,2))};let Un=!1,Wn=0;const qn=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Wn++;const Yn=Gn.useId||function(){const[e,t]=l.useState(()=>Un?qn():void 0);return an(()=>{null==e&&t(qn())},[]),l.useEffect(()=>{Un=!0},[]),e};const Xn=l.forwardRef(function(e,t){const{context:{placement:n,elements:{floating:a},middlewareData:{arrow:r,shift:i}},width:o=14,height:c=7,tipRadius:d=0,strokeWidth:u=0,staticOffset:p,stroke:h,d:m,style:{transform:g,...v}={},...f}=e,w=Yn(),[_,b]=l.useState(!1);if(an(()=>
1{a&&"rtl"===Nt(a).direction&&b(!0)},[a]),!a)return null;const[x,y]=n.split("-"),E="top"===x||"bottom"===x;let T=p;(E&&null!=i&&i.x||!E&&null!=i&&i.y)&&(T=null);const S=2*u,N=S/2,k=o/2*(d/-8+1),C=c/2*d/4,L=!!m,A=T&&"end"===y?"bottom":"top";let j=T&&"end"===y?"right":"left";T&&_&&(j="end"===y?"left":"right");const R=null!=(null==r?void 0:r.x)?T||r.x:"",M=null!=(null==r?void 0:r.y)?T||r.y:"",I=m||"M0,0 H"+o+" L"+(o-k)+","+(c-C)+" Q"+o/2+","+c+" "+k+","+(c-C)+" Z",P={top:L?"rotate(180deg)":"",left:L?"rotate(90deg)":"rotate(-90deg)",bottom:L?"":"rotate(180deg)",right:L?"rotate(-90deg)":"rotate(90deg)"}[x];return(0,s.jsxs)("svg",{...f,"aria-hidden":!0,ref:t,width:L?o:o+S,height:o,viewBox:"0 0 "+o+" "+(c>o?c:o),style:{position:"absolute",pointerEvents:"none",[j]:R,[A]:M,[x]:E||L?"100%":"calc(100% - "+S/2+"px)",transform:[P,g].filter(e=>!!e).join(" "),...v},children:[S>0&&(0,s.jsx)("path",{clipPath:"url(#"+w+")",fill:"none",stroke:h,strokeWidth:S+(m?0:1),d:I}),(0,s.jsx)("path",{stroke:S&&!m?f.fill:"none",d:I}),(0,s.jsx)("clipPath",{id:w,children:(0,s.jsx)("rect",{x:-N,y:N*(L?-1:1),width:o+S,height:o})})]})});const Zn=l.createContext(null),Kn=l.createContext(null);function Qn(e){const{open:t=!1,onOpenChange:n,elements:a}=e,r=Yn(),i=l.useRef({}),[s]=l.useState(()=>function(){const e=new Map;return{emit(t,n){var a;null==(a=e.get(t))||a.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var a;null==(a=e.get(t))||a.delete(n)}}}()),o=null!=(()=>{var e;return(null==(e=l.useContext(Zn))?void 0:e.id)||null})();const[c,d]=l.useState(a.reference),u=function(e){const t=l.useRef(()=>{});return rn(()=>{t.current=e}),l.useCallback(function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return null==t.current?void 0:t.current.apply(t,n)},[])}((e,t,a)=>{i.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:a,nested:o}),null==n||n(e,t,a)}),p=l.useMemo(()=>({setPositionReference:d}),[]),h=l.useMemo(()=>({reference:c||a.reference||null,floating:a.floating||null,domReference:a.reference}),[c,a.reference,a.floating]);return l.useMemo(()=>({dataRef:i,open:t,onOpenChange:u,elements:h,events:s,floatingId:r,refs:p}),[t,u,h,s,r,p])}function Jn(e){void 0===e&&(e={});const{nodeId:t}=e,n=Qn({...e,elements:{reference:null,floating:null,...e.elements}}),a=e.rootContext||n,r=a.elements,[i,s]=l.useState(null),[c,d]=l.useState(null),u=(null==r?void 0:r.domReference)||i,p=l.useRef(null),h=l.useContext(Kn);an(()=>{u&&(p.current=u)},[u]);const m=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:a=[],platform:r,elements:{reference:i,floating:s}={},transform:c=!0,whileElementsMounted:d,open:u}=e,[p,h]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,g]=l.useState(a);In(m,a)||g(a);const[v,f]=l.useState(null),[w,_]=l.useState(null),b=l.useCallback(e=>{e!==T.current&&(T.current=e,f(e))},[]),x=l.useCallback(e=>{e!==S.current&&(S.current=e,_(e))},[]),y=i||v,E=s||w,T=l.useRef(null),S=l.useRef(null),N=l.useRef(p),k=null!=d,C=Dn(d),L=Dn(r),A=Dn(u),j=l.useCallback(()=>{if(!T.current||!S.current)return;const e={placement:t,strategy:n,middleware:m};L.current&&(e.platform=L.current),Rn(T.current,S.current,e).then(e=>{const t={...e,isPositioned:!1!==A.current};R.current&&!In(N.current,t)&&(N.current=t,o.flushSync(()=>{h(t)}))})},[m,t,n,L,A]);Mn(()=>{!1===u&&N.current.isPositioned&&(N.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[u]);const R=l.useRef(!1);Mn(()=>(R.current=!0,()=>{R.current=!1}),[]),Mn(()=>{if(y&&(T.current=y),E&&(S.current=E),y&&E){if(C.current)return C.current(y,E,j);j()}},[y,E,j,C,k]);const M=l.useMemo(()=>({reference:T,floating:S,setReference:b,setFloating:x}),[b,x]),I=l.useMemo(()=>({reference:y,floating:E}),[y,E]),P=l.useMemo(()=>{const e={position:n,left:0,top:0};if(!I.floating)return e;const t=On(I.floating,p.x),a=On(I.floating,p.y);return c?{...e,transform:"translate("+t+"px, "+a+"px)",...Pn(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:a}},[n,c,I.floating,p.x,p.y]);return l.useMemo(()=>({...p,update:j,refs:M,elements:I,floatingStyles:P}),[p,j,M,I,P])}({...e,elements:{...r,...c&&{reference:c}}}),g=l.useCallback(e=>{const t=dt(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;d(t),m.refs.setReference(t)},[m.refs]),v=l.useCallback(e=>{(dt(e)||null===e)&&(p.current=e,s(e)),(dt(m.refs.reference.current)||null===m.refs.reference.current||null!==e&&!dt(e))&&m.refs.setReference(e)},[m.refs]),f=l.useMemo(()=>({...m.refs,setReference:v,setPositionReference:g,domReference:p}),[m.refs,v,g]),w=l.useMemo(()=>({...m.elements,domReference:u}),[m.elements,u]),_=l.useMemo(()=>({...m,...a,refs:f,elements:w,nodeId:t}),[m,f,w,t,a]);return an(()=>{a.dataRef.current.floatingContext=_;const e=null==h?void 0:h.nodesRef.current.find(e=>e.id===t);e&&(e.context=_)}),l.useMemo(()=>({...m,context:_,refs:f,elements:w}),[m,f,w,_])}const ea=20,ta=8,na=e=>{let{placement:t="bottom",tooltipOffset:n=ea,shiftPadding:a=ta}=e;const[r,i]=(0,l.useState)(!1),s=(0,l.useRef)(null),{refs:o,floatingStyles:c,context:d}
1=Jn({placement:t,open:r,onOpenChange:i,middleware:[zn(n),$n(),Bn({padding:a}),Fn({element:s})],whileElementsMounted:Nn});return{refs:o,floatingStyles:c,context:d,arrowRef:s,open:r,setOpen:i}},aa="tooltip-content",ra="tooltip-content--open",ia="tooltip-content__text",sa="tooltip-content__arrow",la=e=>{let{children:t,floatingStyles:n,arrowRef:a,open:r,context:i,refs:l,...o}=e;return(0,s.jsxs)("div",{ref:l.setFloating,style:n,role:"status",className:u(aa,r&&ra),...o,children:[(0,s.jsx)("div",{className:ia,children:t}),(0,s.jsx)(Xn,{className:sa,ref:a,context:i})]})},oa="tooltip",ca="tooltip__icon",da="tooltip__icon--active",ua=18,pa=e=>{let{children:t,height:n=ua,ariaLabel:a}=e;const{refs:r,floatingStyles:i,arrowRef:l,context:o,open:c,setOpen:d}=na({placement:"bottom"});Ie(()=>d(!1),c);return(0,s.jsxs)("div",{className:oa,children:[(0,s.jsx)("button",{ref:r.setReference,type:"button",className:u(ca,c&&da),"aria-label":a,onClick:()=>d(e=>!e),onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),onBlur:()=>d(!1),children:(0,s.jsx)(S,{icon:"info",height:`${B(n)}rem`})}),(0,s.jsx)(la,{floatingStyles:i,arrowRef:l,open:c,context:o,refs:r,children:t})]})},ha="roche-dropdown",ma="roche-dropdown--no-margin",ga="roche-dropdown__label-wrapper",va="roche-dropdown__label",fa="roche-dropdown__select",wa="roche-dropdown__select--placeholder",_a="roche-dropdown__container",ba="roche-dropdown__icon",xa="roche-dropdown--disabled",ya="roche-dropdown__error",Ea="roche-dropdown--error",Ta="roche-dropdown__error-text",Sa="roche-dropdown--chrome-safari",Na=e=>{let{id:t,name:n,label:a,tooltip:r,tooltipAriaLabel:i,options:o,value:c,placeholder:d,error:p,hasError:h=!1,required:m=!1,disabled:g=!1,hasMarginTop:v=!0,slot:f,onChange:w,onBlur:_}=e;const b=`${t}-error`,[x,y]=(0,l.useState)(!1);(0,l.useEffect)(()=>{y(!(typeof navigator>"u")&&/^((?!edg|opr|brave|vivaldi).)*chrome/i.test(navigator.userAgent)||at())},[]);const E=u(ha,g&&[xa],(p||h)&&[Ea],!v&&[ma]),T=u(fa,!c&&d&&[wa],x&&[Sa]),N=!(!p&&!h);return(0,s.jsxs)("div",{className:E,slot:f,children:[a&&(0,s.jsxs)("div",{className:ga,children:[(0,s.jsx)("label",{htmlFor:t,className:va,children:rt(m,a)}),r&&(0,s.jsx)(pa,{ariaLabel:i,children:r})]}),(0,s.jsxs)("div",{className:_a,children:[(0,s.jsxs)("select",{id:t,name:n,value:c||"",required:m,disabled:g,onChange:e=>{w&&w(e.target.value)},onBlur:_,className:T,"aria-invalid":N,"aria-describedby":N?b:void 0,children:[(0,s.jsx)("option",{value:"",disabled:!0,children:d}),o.map((e,t)=>(0,s.jsx)("option",{value:e.value||e.label,children:e.label},e.value||e.label||t))]}),(0,s.jsx)("div",{className:ba,children:(0,s.jsx)(S,{icon:"chevron-down",width:"16px",decorative:!0})})]}),p&&(0,s.jsxs)("div",{className:ya,children:[(0,s.jsx)(S,{icon:"info",width:"16px",decorative:!0}),(0,s.jsx)("p",{id:b,role:"alert",className:Ta,children:p})]})]})},ka="empty-state",Ca=e=>{let{message:t,slot:n}=e;return(0,s.jsx)("div",{slot:n,className:ka,role:"alert",children:(0,s.jsx)("p",{children:t})})},La=e=>{let t=e.toLowerCase();return t=t.normalize("NFD").replace(/[\u0300-\u036f]/g,""),t=t.replace(/[^a-z0-9\s-]/g,""),t=t.replace(/\s+/g,"-"),t=t.replace(/^-+|-+$/g,""),t.match(/^\d/)&&(t=`_${t}`),t},Aa="grid",ja="grid--hide-in-print-view",Ra="grid--no-padding",Ma="grid--extend-background-to-top",Ia="grid--has-own-top-spacing",Pa="grid--has-breadcrumbs",Oa="grid--has-staging-hero",Da="grid--move-to-back",Va="grid--overflow-visible",za="grid--equal-columns",Ba="grid__column",Ha="grid__columns",$a="grid__columns--multiple-rows",Fa={"roche-grid-1-4-1-6":"1-4-1-6","roche-grid-12":"12","roche-grid-3-1-5-3":"3-1-5-3","roche-grid-3-1-8":"3-1-8","roche-grid-3-3
1-3-3":"3-3-3-3","roche-grid-4-4-4":"4-4-4","roche-grid-4-8":"4-8","roche-grid-5-1-6":"5-1-6","roche-grid-5-7":"5-7","roche-grid-6-1-4-1":"6-1-4-1","roche-grid-6-6":"6-6","roche-grid-7-5":"7-5","roche-grid-8-4":"8-4","roche-grid-8":"8","roche-grid-6":"6","roche-grid-6-1-5":"6-1-5","roche-grid-8-1-3":"8-1-3","roche-grid-7-1-4":"7-1-4"},Ga={1:["full"],2:["left","right"],3:["left","center","right"],4:["left","center-left","center-right","right"]},Ua=(e,t,n)=>({span:parseInt(e,10),slotName:Ga[n.length][t]}),Wa=e=>"roche-staging-hero"===e,qa=e=>"roche-story-staging-hero"===e,Ya=new Set(["roche-stage-home","roche-stage-home-teaser","roche-stage-slider","roche-staging-hero","roche-story-staging-hero"]),Xa=e=>{let{layout:t,fullWidth:n,backgroundColor:a,hideInPrintView:r,isRightToLeft:i,noPadding:o,fullHeight:c,extendBackgroundToTop:d,stagingHero:p,multipleRows:h,overflowVisible:m,isComplementary:g,children:v}=e;const f=Fa[t]||t,w=l.Children.toArray(v),_=w.some(e=>(0,l.isValidElement)(e)&&(e=>e.type===ye||"roche-breadcrumbs"===e.type)(e)),b=w.some(e=>{var t,n;return(0,l.isValidElement)(e)&&(Wa(null==(t=e.props.blok)?void 0:t.component)||qa(null==(n=e.props.blok)?void 0:n.component))}),x=w.some(e=>{var t;return(0,l.isValidElement)(e)&&(e=>!!e&&Ya.has(e))(null==(t=e.props.blok)?void 0:t.component)}),y=w.some(e=>{var t,n,a,r,i;return(0,l.isValidElement)(e)&&(Wa(null==(n=e.props.blok)?void 0:n.component)||qa(null==(a=e.props.blok)?void 0:a.component))&&(e=>"hero--variant-b"===e)(null!==(t=null==(r=e.props.blok)?void 0:r.variant)&&void 0!==t?t:null==(i=e.props.blok)?void 0:i.layout)||p}),E=u(Aa,d&&Ma,r&&ja,(o||b)&&Ra,m&&Va,_&&Pa,(b||p)&&Oa,x&&Ia,y&&Da,(e=>{const t=e.split("-");return t.every(e=>e===t[0])})(f)&&za);if(!l.Children)return null;const T=i?(e=>e.split("-").reverse().map(Ua))(f).reverse():(e=>e.split("-").map(Ua))(f);return(0,s.jsx)(g?"aside":"div",{className:E,children:(0,s.jsx)(Me,{fullWidth:n,color:a,fullHeight:c,extendBackgroundToTop:d,extendBackgroundToBottom:!x,children:(0,s.jsx)("div",{className:`${u(Ha,"columns is-centered is-variable is-0-mobile is-3-tablet is-4-desktop",h&&$a)}`,children:T.map((e,t)=>{let{span:n,slotName:a}=e;return(0,s.jsx)("div",{className:`${Ba} column is-${n} is-offset-0`,children:l.Children.map(v,e=>{if((0,l.isValidElement)(e)&&e.props.slot===a)return e})},t)})})})})},Za={footer:"footer","footer__first-row":"footer__first-row","footer__columns-container":"footer__columns-container","footer__second-row":"footer__second-row","footer__third-row":"footer__third-row","footer__quick-links":"footer__quick-links","footer__column-title":"footer__column-title","footer__stock-price":"footer__stock-price","footer__quick-links-nav":"footer__quick-links-nav","footer__social-links-nav":"footer__social-links-nav",footer__c
1opyright:"footer__copyright","footer__social-links":"footer__social-links","footer__service-links":"footer__service-links","footer__legal-text":"footer__legal-text","footer--with-extra-columns":"footer--with-extra-columns"},Ka=(e,t,n)=>n&&t?0===e?"right":1===e?"center":"left":t&&!n?0===e?"left":1===e?"center":"right":n?0===e?"right":"left":0===e?"left":"right",Qa=e=>{let{quickLinksTitle:t,quickLinks:n,footerColumns:a,stockPrice:r,socialLinksTitle:i,socialLinks:l,serviceLinksTitle:o,serviceLinks:c,year:d,date:p,copyright:h,text:m,isRightToLeft:g}=e;const v=3===(null==a?void 0:a.length)&&r?null==a?void 0:a.slice(0,2):null==a?void 0:a.slice(0,3),f=1===(null==v?void 0:v.length),w=!!(((null==v?void 0:v.length)||0)>1&&r||((null==v?void 0:v.length)||0)>2),_=f?"8-4":w?"4-4-4":"6-6";return(0,s.jsx)("footer",{className:u(Za.footer,w&&Za["footer--with-extra-columns"]),children:(0,s.jsxs)(Xa,{layout:"12",noPadding:!0,children:[(0,s.jsx)("div",{className:Za["footer__first-row"],slot:"full",children:(0,s.jsxs)(Xa,{layout:"3-1-8",fullWidth:!0,isRightToLeft:g,children:[(0,s.jsx)("nav",{className:Za["footer__quick-links-nav"],"aria-label":t,slot:g?"right":"left",children:(0,s.jsx)("ul",{className:Za["footer__quick-links"],children:n})}),(0,s.jsx)("div",{slot:"center"}
1),(0,s.jsx)("div",{className:Za["footer__columns-container"],slot:g?"left":"right",children:(0,s.jsxs)(Xa,{layout:_,fullWidth:!0,isRightToLeft:g,children:[null==v?void 0:v.map((e,t)=>(0,s.jsxs)("nav",{"aria-labelledby":La(e.columnTitle),slot:Ka(t,w,g),children:[(0,s.jsx)("h3",{className:Za["footer__column-title"],id:La(e.columnTitle),children:e.columnTitle}),(0,s.jsx)("ul",{className:Za["footer__column-links"],children:e.links})]},t)),r&&(0,s.jsx)("div",{className:Za["footer__stock-price"],slot:"right",children:r})]})})]})}),(0,s.jsx)("div",{className:Za["footer__second-row"],slot:"full",children:(0,s.jsxs)(Xa,{layout:"4-8",fullWidth:!0,isRightToLeft:g,children:[(0,s.jsx)("nav",{className:Za["footer__social-links-nav"],"aria-label":i,slot:g?"right":"left",children:(0,s.jsx)("ul",{className:Za["footer__social-links"],children:l})}),(0,s.jsx)("nav",{"aria-label":o,slot:g?"left":"right",children:(0,s.jsx)("ul",{className:Za["footer__service-links"],children:c})})]})}),(0,s.jsx)("div",{className:Za["footer__third-row"],slot:"full",children:(0,s.jsxs)(Xa,{layout:"4-8",fullWidth:!0,isRightToLeft:g,children:[(0,s.jsxs)("div",{className:Za.footer__copyright,slot:g?"right":"left",children:["© ",(0,s.jsx)("time",{children:d}),"  ",h,"  ",(0,s.jsx)("time",{children:p})]}),(0,s.jsx)("div",{className:Za["footer__legal-text"],slot:g?"left":"right",children:m})]})})]})})},Ja={message:"message",message__content:"message__content",message__type:"message__type","message__close-button":"message__close-button","message--closed":"message--closed","message--success":"message--success","message--error":"message--error","message--info":"message--info","message--small":"message--small"};var er=(e=>(e.INFO="info",e.ERROR="error",e.SUCCESS="success",e))(er||{});const tr="24px",nr=e=>{let{type:t,message:n,size:a,showCloseButton:r,labels:i}=e;const[o,c]=(0,l.useState)(!1),d=t===er.ERROR?"alert":"status",p={[er.INFO]:"info",[er.ERROR]:"alert-error",[er.SUCCESS]:"alert-success"};return(0,s.jsxs)("div",{className:u(Ja.message,Ja[`message--${t}`],a&&Ja[`message--${a}`],o&&Ja["message--closed"]),role:d,children:[(0,s.jsxs)("div",{className:Ja.message__content,children:[(0,s.jsx)(S,{icon:p[t],width:tr,height:tr,decorative:!0}),(0,s.jsx)("span",{className:"message__type",children:(null==i?void 0:i[`${t}Title`])||t}),(0,s.jsx)("p",{children:n})]}),r&&(0,s.jsx)("button",{className:Ja["message__close-button"],"aria-label":null==i?void 0:i.closeButton,onClick:()=>{c(!0)},type:"button",children:(0,s.jsx)(S,{icon:"close",width:tr,height:tr,decorative:!0})})]})},ar="form-wrapper",rr="form-wrapper--one-trust-container",ir="form-wrapper--title",sr="form-wrapper--submit-button",lr="form-wrapper--message",or=e=>{let{action:t,needsConsentText:n,needsConsent:a,onConsentRequest:r,consentRequestButtonText:i,submitButton:l,message:o,messageType:c,children:d,successComponent:u}=e;const{onSubmit:p,text:h,disabled:m,loading:g,icon:v,appearance:f}=l;return(0,s.jsxs)("form",{className:ar,onSubmit:p,action:t,children:[d,a&&(0,s.jsxs)("div",{className:rr,children:[(0,s.jsx)("div",{className:ir,children:`${n} *`}),(0,s.jsx)(he,{onButtonClick:r,text:i,leftIcon:"chevron-right"})]}),(0,s.jsxs)("div",{className:sr,children:[(0,s.jsx)(Y,{text:h,type:G.SUBMIT,appearance:f,rightIcon:v,disabled:m,isLoading:g}),(0,s.jsx)("div",{className:lr,children:o&&(0,s.jsx)(nr,{type:c,message:o})}),u&&(0,s.jsx)("div",{className:lr,children:u})]})]})},cr=e=>{const[t,n]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{const t=()=>{n(window.innerWidth<e)};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[e]),t},dr=typeof window<"u"?l.useLayoutEffect:l.useEffect,ur=()=>{const[e,t]=(0,l.useState)(typeof window<"u"?window.scrollY:0);return dr(()=>{if(typeof window>"u")return;const e=()=>{t(window.scrollY)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),e},pr=(e,t,n,a)=>{(0,l.useEffect)(()=>{if(!t)return;const r=r=>{if(!t)return;const i=r.target,s=e.current,l=a.current;null!=s&&s.contains(i)||null!=l&&l.contains(i)||n()},i=t=>{const r=t.target,i=e.current,s=a.current;null!=i&&i.contains(r)||null!=s&&s.contains(r)||at()||n()};return document.addEventListener("mousedown",r),document.addEventListener("focusin",i),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("focusin",i)}},[t,n])},hr=e=>null==e?void 0:e.replace(/^\/+|\/+$/g,""),mr=(e,t)=>hr(e)===hr(t),gr=(e,t)=>{if(!t)return null;const n=function(e,a){return void 0===a&&(a=[]),e.reduce((e,r,s)=>{if(e)return e;const l=[].concat((0,i.A)(a),[s]);return r.url===t?l:r.nestedLinks?n(r.nestedLinks,l):null},null)};return n(e)},vr=e=>e.join("-"),fr=e=>e.split("-"),wr=e=>{const t=fr(e);return t.pop(),t.join("-")},_r=function(e,t){return void 0===e&&(e=[]),!(null==e||!e.length||!t)&&e.some(e=>!!mr(e.url,t)||!!e.nestedLinks&&_r(e.nestedLinks,t))},br=(e,t)=>""===t?e.length>0&&!e.includes("s-"):e===t||e.startsWith(`${t}-`),xr=(e,t)=>
1{for(const n of Array.from(e))br(n,t)&&e.delete(n)};const yr="submenu-columns",Er="nav-block",Tr="nav-block__item",Sr="nav-block__item--active",Nr="nav-block__item--open",kr="nav-block__item--link",Cr="nav-block__title",Lr="nav-block__title--active",Ar=e=>{let{root:t,currentPage:n,updateFlyoutPosition:a}=e;const r=(0,l.useRef)([]),[o,c]=function(e,t){const[n,a]=(0,l.useState)([e]);return(0,l.useEffect)(()=>{if(!t)return;const n=gr(e.nestedLinks||[],t);if(!n)return;const r=n.reduce((e,t)=>{var n;const a=e[e.length-1],r=null==(n=null==a?void 0:a.nestedLinks)?void 0:n[t];return r?[].concat((0,i.A)(e),[r]):e},[e]);a(r)},[e,t]),[n,a]}(t,n),{handleKeyDown:d}=function(e){const t=(0,l.useCallback)((e,t)=>{if(!e)return;const n=Array.from(e.querySelectorAll("a, button")),a=n.indexOf(document.activeElement),r=n["next"===t?a+1:a-1];r&&r.focus()},[]);return{handleKeyDown:(0,l.useCallback)((n,a)=>{var r,i,s,l,o,c;const d=(null==(r=e.current)?void 0:r[a])||null,u=null==(i=e.current)?void 0:i[a-1],p=null==(s=e.current)?void 0:s[a+1];switch(n.key){case"ArrowRight":n.preventDefault(),null==(l=null==p?void 0:p.querySelector("a, button"))||l.focus();break;case"ArrowLeft":n.preventDefault(),null==(o=null==u?void 0:u.querySelector('a[aria-expanded="true"], button[aria-expanded="true"]'))||o.focus();break;case"Escape":n.preventDefault(),null==(c=null==u?void 0:u.querySelector("button"))||c.focus();break;case"ArrowDown":n.preventDefault(),t(d,"next");break;case"ArrowUp":n.preventDefault(),t(d,"prev")}},[e,t])}}(r),p=e=>{var t,n;null==(n=null==(t=r.current[e])?void 0:t.querySelector("a, button"))||n.focus()};return(0,s.jsx)("div",{className:yr,role:"group","aria-label":t.text,children:o.map((e,t)=>{var i;return e.nestedLinks?(0,s.jsxs)("ul",{id:`submenu-${e.url}`,className:Er,ref:e=>{r.current[t]=e},onKeyDown:e=>d(e,t),children:[(0,s.jsx)("li",{children:(0,s.jsxs)("a",{href:e.url,className:u(Cr,mr(e.url,n)&&Lr),"aria-current":mr(e.url,n)?"page":void 0,onClick:e.onClick,children:[e.text,(0,s.jsx)(S,{icon:"arrow-right",height:"24px",decorative:!0})]})}),null==(i=e.nestedLinks)?void 0:i.map(r=>{var i,l;return(0,s.jsx)("li",{children:r.nestedLinks?(0,s.jsxs)("button",{type:"button",className:u(Tr,(null==(i=o[t+1])?void 0:i.url)===r.url&&Nr),onClick:()=>((e,t)=>{var n;if(null==a||a(),(null==(n=o[t])?void 0:n.url)===e.url)return void c(o.slice(0,t));const r=o.slice(0,t);r[t]=e,c(r),setTimeout(()=>p(t),0)})(r,t+1),"aria-expanded":(null==(l=o[t+1])?void 0:l.url)===r.url,"aria-controls":r.url?`submenu-${r.url}`:void 0,children:[r.text,(0,s.jsx)(S,{icon:"chevron-right",height:"24px",decorative:!0})]}):(0,s.jsx)("a",{href:r.url,"aria-current":mr(r.url,n)?"page":void 0,className:u(Tr,kr,mr(r.url,n)&&Sr),onClick:e.onClick,children:r.text})},r.url)})]},e.url||t):null})})},jr="main-navigation-item",Rr="main-navigation-item--active",Mr="main-navigation-item--open",Ir="main-navigation-item__submenu",Pr="main-navigation-item--separator",Or="main-navigation-item__button",Dr="main-navigation-item__link",Vr=e=>{let{link:t,currentPage:n}=e;const a=(0,l.useRef)(null),[r,i]=(0,l.useState)(!1),{refs:o,floatingStyles:c,update:d}=Jn({placement:"bottom-start",middleware:[zn({mainAxis:12,crossAxis:-16}),Bn({crossAxis:!0,padding:8,limiter:Hn({offset:8})})],whileElementsMounted:Nn}),p=()=>{i(!1),requestAnimationFrame(()=>{var e;null==(e=a.current)||e.focus()})};Ie(p,r),pr(o.floating,r,p,o.domReference);const{nestedLinks:h,text:m,url:g}=t;if(!t.url)return(0,s.jsx)("li",{className:u(jr,Pr),"aria-hidden":"true"});const v=mr(g,n);if(null==h||!h.length)return(0,s.jsx)("li",{className:u(jr,v&&Rr,r&&Mr),children:(0,s.jsx)("a",{className:Dr,href:g,"aria-current":v?"page":void 0,onClick:t.onClick,children:m})});const f=v||_r(h,n);return(0,s.jsxs)("li",{className:u(jr,r&&Mr,f&&Rr),children:[(0,s.jsx)("button",{ref:e=>{o.setReference(e),a.current=e},className:Or,"aria-expanded":r?"true":"false","aria-controls":`submenu-${t.url}`,onClick:()=>{i(e=>!e)},type:"button",children:m}),(0,s.jsx)("div",{id:`submenu-${t.url}`,ref:o.setFloating,style:c,className:Ir,role:"region","aria-label":`${m} submenu`,children:(0,s.jsx)(Ar,{root:t,currentPage:n,updateFlyoutPosition:()=>{requestAnimationFrame(()=>d())}})})]})},zr="main-navigation",Br=e=>{let{nav:t,primaryNavLabel:n,currentPage:a}=e;return(0,s.jsx)("nav",{"aria-label":n,children:(0,s.jsx)("ul",{className:zr,children:null==t?void 0:t.map((e,t)=>(0,s.jsx)(Vr,{link:e,currentPage:a},t))})})},Hr="language-switch-dropdown",$r="language-switch-dropdown__chevron-icon",Fr="language-switch-dropdown__open",Gr="language-switch-dropdown__list",Ur="language-switch-dropdown__button",Wr="language-switch-dropdown__list-item",qr="language-switch-dropdown__link",Yr="language-switch-dropdown__link--selected",Xr="language-switch-inline",Zr="language-switch-inline__list",Kr="language-switch-inline__list-item",Qr="language-switch-inline__link",Jr="language-switch-inline__link--selected";var ei=(e=>(e.DROPDOWN="dropdown",e.INLINE_LIST="inline-list",e))(ei||{});const ti=e=>{let{alternates:t,currentLocale:n,currentPage:a,translatedLocale:r,translatedAriaLabel:i,layout:o,onClick:c}=e;const[d,p]=(0,l.useState)(!1),h=(0,l.useRef)(null),m=(0,l.useRef)(null),g=(0,l.useRef)(null);Ie(()=>p(!1),d),pr(h,d,()=>p(!1),m);const v=e=>{p(!0),h.current=e.current},f=()=>{p(!1),h.current=null};return o===ei.DROPDOWN?(w=t,_=n,(0,s.jsxs)("div",{className:u(Hr,d&&Fr),children:[(0,s.jsxs)("button",{ref:m,className:Ur,id:"language-switch-button","aria-expanded":d,"aria-controls":"language-switch-list","aria-label":i,onClick:()=>(e=>{p(t=>{const n=!t;return h.current=n?e.current:null,n})})(g),onMouseEnter:()=>v(g),onMouseLeave:f,type:"button",children:[_.toUpperCase(),(0,s.jsx)("span",{className:$r,children:(0,s.jsx)(S,{icon:"chevron-down",width:"18px"})})]}),(0,s.jsx)("ul",{ref:g,className:Gr,id:"language-switch-list","aria-hidden":!d,onMouseEnter:()=>v(g),onMouseLeave:f,inert:d?null:"",children:w.map((e,t)=>{const n=e.url===a;return r[e.locale]&&(0,s.jsx)("li",{className:Wr,children:n?(0,s.jsx)("span",{className:u(qr,n&&Yr),"aria-current":"page","aria-disabled":!0,children:r[e.locale]}):(0,s.jsx)("a",{href:e.url,onClick:()=>c(e.locale,e.url),className:qr,"aria-disabled":!1,children:r[e.locale]})},t)})})]})):(e=>(0,s.jsx)("div",{className:Xr,children:(0,s.jsx)("ul",{className:Zr,children:e.map((e,t)=>{const n=e.url===a;return r[e.locale]&&(0,s.jsx)("li",{className:Kr,children:n?(0,s.jsx)("span",{className:u(Qr,n&&Jr),"aria-current":"page","aria-disabled":!0,children:r[e.locale]}):(0,s.jsx)("a",{className:Qr,href:e.url,"aria-disabled":!1,onClick:()=>c(e.locale,e.url),children:r[e.locale]})},t)})})}))(t);var w,_},ni="meta-navigation",ai="meta-navigation__items",ri="meta-navigation__item-icon",ii="meta-navigation__item",si="meta-navigation__item--icon",li="meta-navigation__item--active",oi="meta-navigation__item-link",ci="meta-navigation__separator",di=e
1=>{var t;let{nav:n,secondaryNavLabel:a,searchLink:r,worldWideLink:i,currentPage:l,languageSwitchConfig:o}=e;const c=(null!==(t=null==o?void 0:o.alternates)&&void 0!==t?t:[]).length>0,d=!!(c||i||r),p=()=>(0,s.jsx)("span",{className:ri,children:(0,s.jsx)(S,{icon:"globe",height:"20px",decorative:!0})});return(0,s.jsxs)("nav",{className:ni,"aria-label":a,children:[(0,s.jsx)("ul",{className:ai,children:null==n?void 0:n.map((e,t)=>{var n;return(0,s.jsx)("li",{className:u(ii,mr(e.url,l)&&li),children:(0,s.jsx)("a",{className:oi,href:e.url,onClick:e.onClick,"aria-current":mr(e.url,l)?"page":void 0,children:null!==(n=e.text)&&void 0!==n?n:""})},t)})}),d&&(0,s.jsx)("div",{className:ci}),c&&o&&(0,s.jsx)(ti,{currentLocale:o.currentLocale,currentPage:l,alternates:o.alternates,translatedLocale:o.translations.translatedLocale,translatedAriaLabel:o.translations.translatedAriaLabel,layout:ei.DROPDOWN,onClick:o.handleClickTracking}),i&&(null!=i&&i.url?(0,s.jsx)("a",{href:i.url,className:u(ii,si),onClick:i.onClick,"aria-label":i.label,children:p()}):(0,s.jsx)("button",{className:u(ii,si),type:"button",onClick:null==i?void 0:i.onClick,"aria-label":null==i?void 0:i.label,children:p()})),(null==r?void 0:r.url)&&(0,s.jsx)("a",{className:u(ii,si,mr(null==r?void 0:r.url,l)&&li),href:r.url,onClick:null==r?void 0:r.onClick,"aria-label":null==r?void 0:r.label,"aria-current":mr(r.url,l)?"page":void 0,children:(0,s.jsx)("span",{className:ri,children:(0,s.jsx)(S,{icon:"search",height:"20px",decorative:!0})})})]})},ui={"mobile-navigation-block":"mobile-navigation-block","mobile-navigation-block__chevron":"mobile-navigation-block__chevron","mobile-navigation-block--open":"mobile-navigation-block--open","mobile-navigation-block__button":"mobile-navigation-block__button","mobile-navigation-block__submenu-list":"mobile-navigation-block__submenu-list","mobile-navigation-block--active":"mobile-navigation-block--active","mobile-navigation-block__link":"mobile-navigation-block__link","mobile-navigation-block__submenu-list--depth-1":"mobile-navigation-block__submenu-list--depth-1","mobile-navigation-block__submenu-list--depth-2":"mobile-navigation-block__submenu-list--depth-2","mobile-navigation-block__submenu-list--depth-3":"mobile-navigation-block__submenu-list--depth-3","mobile-navigation-block__submenu-item":"mobile-navigation-block__submenu-item","mobile-navigation-block__submenu-item--active":"mobile-navigation-block__submenu-item--active","mobile-navigation-block__submenu-item-title":"mobile-navigation-block__submenu-item-title","mobile-navigation-block__submenu-item-title--active":"mobile-navigation-block__submenu-item-title--active","mobile-navigation-block__submenu-item-arrow":"mobile-navigation-block__submenu-item-arrow","mobile-navigation-block__submenu-item-link":"mobile-navigation-block__submenu-item-link"},pi=e=>{let{id:t,link:n,depth:a,expanded:r,onToggle:i,isNavOpen:o,currentPage:c}=e;const{nestedLinks:d,text:p,url:h}=n,m=!(null==d||!d.length),g=r.has(t),v=(0,l.useRef)(null),{show:f,hide:w}=(e=>{const[t,n]=(0,l.useState)(!1);return{show:(0,l.useCallback)(()=>{const t=e.current;if(!t)return;t.style.overflow="hidden",t.style.transition="none",t.style.maxHeight="0px",t.style.opacity="0",n(!0);const a=t.scrollHeight;requestAnimationFrame(()=>{t.style.transition="max-height 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms ease-out",t.style.maxHeight=`${a}px`,t.style.opacity="1";const e=a=>{"max-height"===a.propertyName&&(t.style.maxHeight="none",t.style.overflow="visible",t.removeEventListener("transitionend",e),n(!1))};t.addEventListener("transitionend",e)})},[e]),hide:(0,l.useCallback)(()=>{const t=e.current;if(!t)return;const a=t.scrollHeight;t.style.maxHeight=`${a}px`,t.style.overflow="hidden",t.style.transition="max-height 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms ease-out",t.style.opacity="1",requestAnimationFrame(()=>{t.style.maxHeight="0px",t.style.opacity="0";const e=a=>{"max-height"===a.propertyName&&(t.removeEventListener("transitionend",e),n(!1))};t.addEventListener("transitionend",e)})},[e]),isAnimating:t}})(v);(0,l.useEffect)(()=>{v.current&&(g?f():w())},[g,f,w]);const _=(0,l.useMemo)(()=>`mobile-nav-panel-${t}`,[t]);if(!h&&!m)return null;const b=mr(h,c);return m?(0,s.jsxs)("li",{className:u(ui["mobile-navigation-block"],g&&ui["mobile-navigation-block--open"]),children:[(0,s.jsxs)("button",{type:"button",className:ui["mobile-navigation-block__button"],onClick:()=>i(t),"aria-controls":_,"aria-expanded":g,children:[p,(0,s.jsx)("span",{className:ui["mobile-navigation-block__chevron"],children:(0,s.jsx)(S,{icon:"chevron-down",height:"24px",decorative:!0})})]}),(0,s.jsxs)("ul",{id:_,ref:v,className:u(ui["mobile-navigation-block__submenu-list"],a>0&&ui[`mobile-navigation-block__submenu-list--depth-${a}`]),children:[h&&(0,s.jsx)("li",{className:u(ui["mobile-navigation-block__submenu-item-title"],b&&ui["mobile-navigation-block__submenu-item-title--active"]),children:(0,s.jsxs)("a",{className:ui["mobile-navigation-block__submenu-item-link"],href:h,onClick:n.onClick,"aria-label":p,"aria-current":mr(h,c)?"page":void 0,children:[p,(0,s.jsx)("span",{className:ui["mobile-navigation-block__submenu-item-arrow"],children:(0,s.jsx)(S,{icon:"arrow-right",he
1ight:"24px",decorative:!0})})]})}),null==d?void 0:d.map((e,n)=>(0,s.jsx)(pi,{id:`${t}-${n}`,link:e,depth:a+1,expanded:r,onToggle:i,isNavOpen:o,currentPage:c},`${t}-${n+1}`))]})]}):(0,s.jsx)("li",{className:u(ui["mobile-navigation-block"],b&&ui["mobile-navigation-block--active"]),children:(0,s.jsx)("a",{className:ui["mobile-navigation-block__link"],href:h,onClick:n.onClick,"aria-current":b?"page":void 0,children:p})})},hi="mobile-navigation",mi="mobile-navigation__overlay",gi="mobile-navigation__overlay--open",vi="mobile-navigation__overlay--closing",fi="mobile-navigation__header",wi="mobile-navigation__close-button",_i="mobile-navigation__list",bi="mobile-navigation__list--primary",xi="mobile-navigation__meta-nav",yi=e=>{var t;let{primaryNav:n,secondaryNav:a,closeNavLabel:r,currentPage:i,isNavOpen:o,setIsNavOpen:c,languageSwitchConfig:d}=e;var p;const h=(0,l.useRef)(null),m=(0,l.useRef)(null),[g,f]=(0,l.useState)(!1),[w,_]=(0,l.useState)(new Set),b=v();(0,l.useEffect)(()=>{const e=gr(null!=n?n:[],i);e&&_(()=>{const t=new Set;for(let n=1;n<=e.length;n++)t.add(vr(e.slice(0,n)));return t})},[i,n]),(0,l.useEffect)(()=>{var e;const t=m.current;if(t){if(o)return t.showModal(),void(null==(e=h.current)||e.focus());if(b)return void t.close();t.open&&f(!0)}},[o,b]);const x=e=>{_(t=>{const n=new Set(t),a=fr(e).length,r=wr(e);for(const i of Array.from(n)){const t=fr(i).length===a,s=r===wr(i);t&&s&&i!==e&&xr(n,i)}return n.has(e)?xr(n,e):n.add(e),n})},y=u(mi,o&&gi,g&&vi),E=(null==(p=null!==(t=null==d?void 0:d.alternates)&&void 0!==t?t:[])?void 0:p.length)>0;return(0,s.jsx)("nav",{className:hi,children:(0,s.jsxs)("dialog",{className:y,onClose:()=>c(!1),id:"mobile-navigation",ref:m,inert:o?null:"",onTransitionEnd:e=>{var t;e.target===m.current&&g&&"transform"===e.propertyName&&(f(!1),null==(t=m.current)||t.close())},children:[(0,s.jsx)("header",{className:fi,children:(0,s.jsx)("button",{className:wi,onClick:()=>{c(!1)},ref:h,"aria-label":r,"aria-controls":"mobile-navigation",type:"button",children:(0,s.jsx)(S,{icon:"mobile-close",height:"32px",decorative:!0})})}),(0,s.jsx)("ul",{className:u(_i,bi),children:null==n?void 0:n.map((e,t)=>(0,s.jsx)(pi,{id:`${t}`,link:e,depth:1,expanded:w,onToggle:x,isNavOpen:o,currentPage:i},`p-${t}`))}),(0,s.jsx)("ul",{className:_i,children:null==a?void 0:a.map((e,t)=>(0,s.jsx)(pi,{id:`s-${t}`,link:e,depth:1,expanded:w,onToggle:x,isNavOpen:o,currentPage:i},`s-${t}`))}),d&&E&&(0,s.jsx)("div",{className:xi,children:(0,s.jsx)(ti,{alternates:d.alternates,currentLocale:d.currentLocale,currentPage:i,translatedLocale:d.translations.translatedLocale,translatedAriaLabel:d.translations.translatedAriaLabel,layout:ei.INLINE_LIST,onClick:d.handleClickTracking})})]})})},Ei={header:"header","header__skip-link":"header__skip-link","header__first-row":"header__first-row","header__second-row":"header__second-row",header__logo:"header__logo","header__logo-image":"header__logo-image","header__logo-link":"header__logo-link",header__actions:"header__actions",header__worldwide:"header__worldwide",header__search:"header__search","header__search--active":"header__search--active","header__search-icon":"header__search-icon",header__burger:"header__burger","header__worldwide-icon":"header__worldwide-icon","header__burger-icon":"header__burger-icon","header__mobile-nav":"header__mobile-nav","header__secondary-nav":"header__secondary-nav","header--scrolled":"header--scrolled","header--transparent":"header--transparent","header--hidden":"header--hidden"},Ti=e=>{var t;let{homeLink:n,searchLink:a,worldWideLink:r,openNavLabel:i,closeNavLabel:o,currentPage:c,isFixed:d,primaryNav:p,secondaryNav:h,primaryNavLabel:m,secondaryNavLabel:g,skipToContentLabel:v,onSkipToContent:f,languageSwitchConfig:w,logoIconUrl:_}=e;const[b,x]=(0,l.useState)(!1),y=cr(H.MEDIUM),E=!!_&&"default"!==(null==_?void 0:_.toLowerCase());De(b);const T=ur(),N=(()=>{const e=ur(),[t,n]=(0,l.useState)(null),a=(0,l.useRef)(e);return(0,l.useEffect)(()=>{const t=e-a.current;Math.abs(t)<15||(n(t>0?"down":"up"),a.current=e)},[e]),t})(),k=T>0,C=u(Ei.header,d&&Ei["header--fixed"],k&&Ei["header--scrolled"],!k&&Ei["header--trans
1parent"],!d&&!(T<100)&&"down"===N&&Ei["header--hidden"]),L=c===(null==a?void 0:a.url),A=()=>(0,s.jsx)("span",{className:Ei["header__worldwide-icon"],children:(0,s.jsx)(S,{icon:"globe-mobile",height:"32px",width:"32px",decorative:!0})});return(0,s.jsxs)("header",{className:C,children:[(0,s.jsx)("a",{className:Ei["header__skip-link"],href:"#main-content",onClick:e=>{f&&(e.preventDefault(),f())},children:v}),(0,s.jsxs)("div",{className:Ei["header__first-row"],children:[(0,s.jsx)("a",{className:Ei["header__logo-link"],href:null!==(t=null==n?void 0:n.url)&&void 0!==t?t:"/","aria-label":null==n?void 0:n.label,onClick:null==n?void 0:n.onClick,children:(0,s.jsx)("span",{className:Ei.header__logo,children:E?(0,s.jsx)("img",{className:Ei["header__logo-image"],src:_,fetchPriority:"high",alt:""}):(0,s.jsx)(S,{icon:"logo",height:y?"30px":"40px",decorative:!0})})}),(0,s.jsx)("div",{className:Ei["header__secondary-nav"],children:(0,s.jsx)(di,{nav:h,secondaryNavLabel:g,worldWideLink:r,searchLink:a,currentPage:c,languageSwitchConfig:w})}),(0,s.jsxs)("div",{className:Ei.header__actions,children:[r&&(null!=r&&r.url?(0,s.jsx)("a",{href:r.url,className:Ei.header__worldwide,onClick:r.onClick,"aria-label":r.label,children:A()}):(0,s.jsx)("button",{className:Ei.header__worldwide,type:"button",onClick:null==r?void 0:r.onClick,"aria-label":null==r?void 0:r.label,children:A()})),(0,s.jsx)("a",{href:null==a?void 0:a.url,className:u(Ei.header__search,L&&Ei["header__search--active"]),"aria-label":null==a?void 0:a.label,"aria-current":L?"page":void 0,onClick:null==a?void 0:a.onClick,children:(0,s.jsx)("span",{className:Ei["header__search-icon"],children:(0,s.jsx)(S,{icon:"search-mobile",height:"32px",decorative:!0})})}),(0,s.jsx)("button",{className:Ei.header__burger,onClick:()=>{x(!b)},"aria-label":i,"aria-controls":"mobile-navigation","aria-expanded":b,type:"button",children:(0,s.jsx)("span",{className:Ei["header__burger-icon"],children:(0,s.jsx)(S,{icon:"mobile-menu",height:"32px",decorative:!0})})})]})]}),(0,s.jsx)("div",{className:Ei["header__second-row"],children:(0,s.jsx)(Br,{nav:p,primaryNavLabel:m,currentPage:c})}),(0,s.jsx)("div",{className:Ei["header__mobile-nav"],children:(0,s.jsx)(yi,{primaryNav:p,secondaryNav:h,closeNavLabel:o,currentPage:c,isNavOpen:b,setIsNavOpen:x,languageSwitchConfig:w})})]})},Si=e=>"string"==typeof e?e.trim():"",Ni={image:"image",image__img:"image__img",image__container:"image__container","image--fullscreen":"image--fullscreen","image--bleed":"image--bleed","image--original":"image--original","image--contain":"image--contain","image--fill-container":"image--fill-container","image--top":"image--top","image--center":"image--center","image--bottom":"image--bottom","image--full-height":"image--full-height",image__description:"image__description",image__caption:"image__caption",image__copyright:"image__copyright","image__img--ratio-hd":"image__img--ratio-hd","image__img--ratio-wide":"image__img--ratio-wide","image__img--ratio-square":"image__img--ratio-square","image__img--ratio-vertical":"image__img--ratio-vertical","image__img--ratio-normal":"image__img--ratio-normal","image__img--ratio-sixtofive":"image__img--ratio-sixtofive","image__img--ratio-fivetofour":"image__img--ratio-fivetofour","image__img--ratio-ninetosixteen":"image__img--ratio-ninetosixteen"};var ki=(e=>(e.HD="16:9",e.WIDE="2.39:1",e.SQUARE="1:1",e.VERTICAL="4:5",e.ORIGINAL="original",e.NORMAL="4:3",e.SIXTOFIVE="6:5",e.FIVETOFOUR="5:4",e.NINETOSIXTEEN="9:16",e))(ki||{}),Ci=(e=>(e.LAZY="lazy",e.EAGER="eager",e))(Ci||{}),Li=(e=>(e.TOP="top",e.CENTER="center",e.BOTTOM="bottom",e))(Li||{}),Ai=(e=>(e.COVER="cover",e.CONTAIN="contain",e))(Ai||{});const ji=[1,1.5,2,3],Ri=(e,t,n,a)=>{const r=(e=>{const t=Object.values(ki).includes(e)?e:ki.HD;if(t===ki.ORIGINAL)return null;const[n,a]=t.split(":").map(parseFloat);return n/a})(n);let i=0;return a?i=a:r&&(i=Math.round(t/r)),e.replace(/\$0/g,`${t}`).replace(/\$1/g,`${i}`)},Mi=e=>{if(e&&e!==ki.ORIGINAL)return e.replace(":"," / ")},Ii=e=>{let{src:t,alt:n,slot:a,caption:r,copyright:i,ratio:o=ki.HD,position:c=Li.CENTER,fullscreen:d=!1,showCaption:p=!1,showCopyright:h=!1,bleed:m=!1,forceHeight:g,loading:v="lazy",imageFit:f,fillContainer:w=!1}=e;const _=Ri(t,H.SMALL,o,g),[{fallbackSrc:b,width:x,srcSet:y},E]=(0,l.useState)({fallbackSrc:_,width:H.SMALL,srcSet:""}),T=(0,l.useRef)(null),S=(e=>{const[t,n]=(0,l.useState)({width:0,height:0});return(0,l.useEffect)(()=>{const t=new ResizeObserver(e=>{for(const t of e){const{width:e,height:a}=t.contentRect;n({width:Math.round(e),height:Math.round(a)})}});return e.current&&t.observe(e.current),()=>{e.current&&t.unobserve(e.current)}},[]),t})(T),N=(e=>{var t;return(null==(t=Object.entries(ki).find(t=>{let[,n]=t;return n===e}))?void 0:t[0].toLowerCase())||null})(o),k=u({[Ni.image__img]:!0,[Ni[`image__img--ratio-${N}`]]:o!==ki.ORIGINAL&&N});(0,l.useEffect)(()=>
1{if(!(e=>e.includes("$0"))(t))return;const e=setTimeout(()=>{const e=window.devicePixelRatio||1;if(S.width){const n=ji.map(n=>{const a=Math.round(S.width*e);return`${Ri(t,a,o,g)} ${n}x`}).join(", ");E({fallbackSrc:b,width:S.width,srcSet:n})}},300);return()=>clearTimeout(e)},[S,b,t,o,g]);const C=(e=>Object.values(Li).includes(e)?e:Li.CENTER)(c),L=u({[Ni.image]:!0,[Ni["image--fullscreen"]]:d,[Ni["image--bleed"]]:m,[Ni["image--top"]]:C===Li.TOP,[Ni["image--center"]]:C===Li.CENTER,[Ni["image--bottom"]]:C===Li.BOTTOM,[Ni["image--original"]]:o===ki.ORIGINAL,[Ni["image--full-height"]]:void 0!==g,[Ni["image--contain"]]:f===Ai.CONTAIN,[Ni["image--fill-container"]]:w});return(0,s.jsxs)("figure",{className:L,slot:a,"data-ratio":o,children:[(0,s.jsx)("div",{className:Ni.image__container,ref:T,children:(0,s.jsx)("img",{className:k,src:b,srcSet:y,sizes:`${x}px`,alt:n,title:r,loading:v})}),(p&&r||h&&i)&&(0,s.jsxs)("div",{className:Ni.image__description,children:[p&&r&&(0,s.jsx)("figcaption",{className:Ni.image__caption,children:r}),h&&i&&(0,s.jsxs)("div",{className:Ni.image__copyright,children:["© ",i]})]})]})},Pi="video-player",Oi="video-player__service--youtube",Di="video-player__service--aws-video-js",Vi="video-player__content--absolute",zi="video-player__content--absolute-active",Bi="video-player__content--relative",Hi="video-player__content--relative-fullscreen",$i="video-player__content--relative-fill-parent-height",Fi="video-player__content--relative-ready",Gi="video-player__content--regular",Ui="video-player__image--fill",Wi="video-player__overlay",qi="video-player__overlay-icon",Yi="video-player__overlay-videoloop",Xi="video-player__overlay--hidden",Zi="video-player__close-button",Ki="video-player--fullscreen",Qi="video-player--fill-parent-height",Ji="video-player__image",es="video-player__image--hidden",ts="video-player__image--fullscreen",ns="video-player__image--fullscreen-playing",as="video-player__image--error",rs="video-player__placeholder",is="video-player__placeholder--fullscreen",ss="video-description",ls="video-description__caption",os="video-description__copyright",cs=e=>{let{onPlay:t,onPause:n,fullscreen:a,isPlaying:r,videoloop:i,videoTitle:l,pauseLabel:o,playLabel:c}=e;const d=cr(H.MEDIUM),p=`${B(d?64:80)}rem`,h=`${B(24)}rem`,m=u(Wi,Yi),g=u(Wi,r&&Xi),v=i?m:g,f=r?"pause":"play",w=r?o:c,_=e=>{e.preventDefault(),r&&n?n():t()};return r&&a?(0,s.jsx)("button",{className:Zi,onClick:_,type:"button",children:(0,s.jsx)(S,{icon:"close",height:h})}):(0,s.jsx)("div",{className:v,children:(0,s.jsx)("button",{onClick:_,className:qi,"aria-label":(b=w,x=l,x?`${b} ${x}`:b),type:"button",children:(0,s.jsx)(S,{icon:f,height:p})})});var b,x},ds=e=>{let{isPlaying:t,fullscreen:n,preview:a,previewAlt:r,error:i,fillContainer:l,videoRatio:o}=e;const c=u(Ji,l&&Ui,n&&ts,n&&t&&ns,t&&!n&&es),d=u(Ji,as),p=i?d:c,h=null!=o?o:n?ki.WIDE:ki.HD;return(0,s.jsx)("div",{className:p,"aria-hidden":!0,children:(0,s.jsx)(Ii,{src:a,alt:r,ratio:h,fullscreen:n,fillContainer:l})})},us="aws-player",ps="aws-player__controls--hidden",hs="aws-player--fullscreen-videoloop",ms="aws-player--fullscreen",gs="aws-player--cover",vs="aws-player--contain",fs=e=>{const t=e.currentTime(),n=e.duration();return t&&n?Math.round(t/n*100):null},ws=e=>{var t;let{awsServiceBaseUrl:n,options:a,fullscreen:r,videoLoop:i,preview:o,previewAlt:d,pauseLabel:p,playLabel:h,caption:m,videoId:g,onVideoStateChange:v,videoFit:f,videoRatio:w,fillParentHeight:_}=e;var b,x;const y=(0,l.useRef)(null),E=(0,l.useRef)(null),T=(0,l.useRef)(v),S=(0,l.useRef)(g),N=(0,l.useRef)(m),k=r&&!i,C=r&&i,L=!!_,A=!!w&&w!==ki.ORIGINAL,j=!k&&(L||A),R=null!=f?f:Ai.COVER,M=j&&R===Ai.COVER,I=j&&R===Ai.CONTAIN,[P,O]=(0,l.useState)(!1),[D,V]=(0,l.useState)(!1),[z,B]=(0,l.useState)(!1),[H,$]=(0,l.useState)(null),F=D&&z,G=(0,l.useRef)(!1),U=(0,l.useRef)(!1),W=null==(x=null==(b=a.sources)?void 0:b[0])?void 0:x.src,q=a.autoplay;(0,l.useEffect)(()=>{T.current=v,S.current=g,N.current=m},[m,v,g]);const Y=e=>{var t,n,a;return{videoId:S.current,videoTitle:null!==(t=N.current)&&void 0!==t?t:"",videoType:"aws",videoDurationTotal:null!==(n=e.duration())&&void 0!==n?n:0,videoPercentageViewed:null!==(a=fs(e))&&void 0!==a?a:0,videoUrl:null!=W?W:"unknown videoUrl"}},X=`${n}${g}`;(0,l.useEffect)(()=>{let e=!0;return $(null),O(!1),V(!1),B(!1),fetch(`${X}/meta.json`).then(e=>{if(!e.ok)throw new Error(`HTTP ${e.status}`);return e.json()}).then(t=>{var n;if(!e)return;const{width:a,height:r}=t.meta.master_resolution;$({vjsAspectRatio:`${a}:${r}`,cssAspectRatio:`${a} / ${r}`,textTracks:null!==(n=t.meta.video.text_tracks)&&void 0!==n?n:[]})}).catch(t=>{console.error("AWS video player: Error fetching meta data",t),e&&$({vjsAspectRatio:"16:9",cssAspectRatio:"16 / 9",textTracks:[]})}),()=>{e=!1}},[X]),(0,l.useEffect)(()=>
1{!D||null==H||!H.textTracks.length||H.textTracks.forEach(e=>{var t;null==(t=E.current)||t.addRemoteTextTrack({...e,src:`${X}${e.src}`})})},[D,H,X]),(0,l.useEffect)(()=>{var e;if(!H)return;const t=document.createElement("video-js");null==(e=y.current)||e.appendChild(t);const n=j?{...a,fill:!0,fluid:!1}:{...a,aspectRatio:H.vjsAspectRatio},r=E.current=(0,c.A)(t,n,()=>{});return r.on("ready",()=>{V(!0)}),r.on("loadedmetadata",()=>{B(!0)}),r.on("seeking",()=>{U.current=!0}),r.on("seeked",()=>{G.current=!0}),r.on("play",()=>{O(!0),G.current?G.current=!1:T.current({type:"playing",base:{...Y(r)},trackingValue:"play"})}),r.on("pause",()=>{U.current?U.current=!1:T.current({type:"pause",base:{...Y(r)},trackingValue:"pause"})}),r.on("ended",()=>{T.current({type:"ended",base:{...Y(r)},trackingValue:"end"})}),r.on("timeupdate",()=>{T.current({type:"timeupdate",base:{...Y(r)},trackingValue:"timeupdate"})}),r.on("error",e=>{var t,n,a;const i=(null==(a=null==(n=null==(t=null==e?void 0:e.target)?void 0:t.player)?void 0:n.error_)?void 0:a.code)||"VIDEOJS_UNKNOWN_ERROR";T.current({type:"error",base:{...Y(r)},trackingValue:"videoError",errorCode:i}),console.error(i)}),()=>{r.isDisposed()||r.dispose(),E.current=null,V(!1),B(!1)}},[X,H,j,W,i,q]),(0,l.useEffect)(()=>{!E.current||!W||(E.current.autoplay(q),E.current.src([{src:W,type:"application/x-mpegURL"}]))},[q,W]);const Z=u(us,i&&ps,k&&ms,C&&hs,M&&gs,I&&vs),K=k?u(Vi,D&&P&&zi):u(Bi,!i&&Gi,L&&$i,i&&r&&Hi,i&&F&&Fi),Q=null!=H&&H.cssAspectRatio?{"--video-player-aspect-ratio":H.cssAspectRatio}:void 0,J=L?void 0:Mi(w),ee=null!==(t=J?{"--video-player-aspect-ratio":J}:void 0)&&void 0!==t?t:L||C||k?void 0:Q;return(0,s.jsxs)("div",{className:Di,children:[k&&o&&(0,s.jsx)(ds,{preview:o,previewAlt:d,isPlaying:P,fullscreen:r,error:!1}),(0,s.jsxs)("div",{className:K,style:ee,children:[!i&&!k&&o&&(0,s.jsx)(ds,{preview:o,previewAlt:d,isPlaying:P,fullscreen:!1,error:!1,fillContainer:!0}),(0,s.jsx)("div",{className:Z,"data-vjs-player":!0,style:k?Q:void 0,children:(0,s.jsx)("div",{ref:y})})]}),(0,s.jsx)(cs,{onPlay:async()=>{if(E.current&&D)try{await E.current.play()}catch(e){console.error("VideoJS (AWS) play failed:",e),O(!1)}},onPause:()=>{O(!1),E.current&&E.current.pause()},isPlaying:P,pauseLabel:p,playLabel:h,videoTitle:m,videoloop:i,fullscreen:k})]})},_s="youtube-iframe-api-script";let bs=null,xs=null;function ys(){const[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=!0;return(bs||(bs=new Promise(e=>{if(xs=e,document.getElementById(_s))return typeof window.YT<"u"&&window.YT.Player?void e(!0):void(window.onYouTubeIframeAPIReady=()=>{e(!0)});const t=document.createElement("script");t.id=_s,t.src="https://www.youtube.com/iframe_api",t.async=!0,window.onYouTubeIframeAPIReady=()=>{xs&&xs(!0)},t.onerror=()=>{xs&&xs(!1),bs=null},document.head.appendChild(t)})),bs).then(n=>{e&&t(n)}),()=>{e=!1}},[]),e}const Es=e=>{const t=Math.round(e.getCurrentTime()),n=Math.round(e.getDuration());return Math.round(t/n*100)},Ts=e=>{let{videoId:t,fullscreen:n,preview:a,previewAlt:r,pauseLabel:i,playLabel:o,onVideoStateChange:c,videoRatio:d}=e;const p=ys(),h=`yt-video-${(0,l.useId)()}`,m=(0,l.useRef)(null),g=(0,l.useRef)(null),[v,f]=(0,l.useState)(!1),[w,_]=(0,l.useState)(!1),[b,x]=(0,l.useState)(""),y=(0,l.useRef)(),E=e=>({videoId:t,videoTitle:e.getVideoData().title,videoType:"youtube",videoDurationTotal:e.getDuration(),videoPercentageViewed:Es(e),videoUrl:e.getVideoUrl()}),T=e=>{switch(e.data){case YT.PlayerState.PLAYING:S(),y.current=setInterval(()=>N(e.target),1e3),c({type:"playing",base:{...E(e.target)},trackingValue:"play"});break;case YT.PlayerState.ENDED:S(),c({type:"ended",base:{...E(e.target)},trackingValue:"end"});break;case YT.PlayerState.PAUSED:S(),N(e.target),c({type:"pause",base:{...E(e.target)},trackingValue:"pause"});break;default:S()}},S=()=>{clearInterval(y.current)},N=e=>{c({type:"timeupdate",base:{...E(e)},trackingValue:"timeupdate"})};(0,l.useEffect)(()=>{if(p&&g.current&&!m.current&&t&&typeof YT<"u"&&YT.Player)try{m.current=new YT.Player(g.current,{videoId:t,playerVars:{autoplay:0,controls:1},host:"https://www.youtube-nocookie.com",events:{onReady:e=>{f(!0);const t=document.getElementById(h);t&&(t.style.display="none"),x(e.target.getVideoData().title)},onStateChange:T,onError:e=>{const t=(null==e?void 0:e.data)||"YOUTUBE_UNKNOWN_ERROR";S(),_(!1),c({type:"error",base:{...E(e.target)},trackingValue:"videoError",errorCode:t})}}})}catch(e){console.error(`Failed to create YouTube Player with videoId: ${t} - Error: ${e.message}`)}},[p,t]),(0,l.useEffect)(()=>{v&&((e,t)=>{var n;const a=document.getElementById(h);a&&(a.style.width=e?"auto":"100%",a.style.height=e?"90% ":"auto",a.style.aspectRatio=null!==(n=Mi(t))&&void 0!==n?n:"16 / 9")})(n,d)},[v,n,d]);return(0,s.jsxs)("div",{className:Oi,children:[a&&(0,s.jsx)(ds,{preview:a,previewAlt:r,isPlaying:w,fullscreen:n,error:w&&!t,videoRatio:d}),(0,s.jsx)("div",{className:u(Vi,w&&zi),children:(0,s.jsx)("div",{id:h,ref:g})}),(0,s.jsx)(cs,{onPlay:()=>{_(!0),p&&m.current&&v&&((()=>{const e=document.getElementById(h);e&&(e.style.display="inline")})(),m.current.playVideo())},onPause:()=>{_(!1),p&&m.current&&v&&m.current.pauseVideo()}
1,isPlaying:w,pauseLabel:i,playLabel:o,videoTitle:b,fullscreen:n})]})},Ss=e=>{let{awsServiceBaseUrl:t,service:n,fullscreen:a,videoLoop:r,fillParentHeight:i,caption:o,copyright:c,slot:d,...p}=e;const h=(0,l.useRef)(null),m=ne(h),g=cr(H.MEDIUM),v=()=>!!a&&(!!r||!g),f=()=>(0,s.jsx)("div",{ref:h,className:w}),w=u(rs,a&&is),_=u(Pi,i&&Qi,a&&!r&&Ki);return m?(0,s.jsxs)("div",{className:_,slot:d,children:[(e=>{switch(e){case"youtube":return(0,s.jsx)(Ts,{fullscreen:v(),...p});case"aws":if(t){const e=`${t}${p.videoId}/hls/main.m3u8`;return(0,s.jsx)(ws,{awsServiceBaseUrl:t,fullscreen:v(),videoLoop:r,options:{fluid:!0,preload:r?"auto":"none",muted:r,loop:r,autoplay:r,controls:!0,playsinline:!!r,disablePictureInPicture:!0,fullscreen:{navigationUI:"hide"},controlBar:{fullscreenToggle:!0,pictureInPictureToggle:!1},sources:[{src:e,type:"application/x-mpegURL"}]},...p})}return console.error("Trying to render AWS video service without supplying video service URL"),f();default:console.info(`Trying to render not-implemented video service: - ${e}`)}})(n),(o||c)&&(0,s.jsxs)("div",{className:ss,children:[o&&(0,s.jsx)("figcaption",{className:ls,children:o}),c&&(0,s.jsxs)("div",{className:os,children:["© ",c]})]})]}):f()},Ns="hero-teaser",ks="hero-teaser__info-container",Cs="hero-teaser__text-container",Ls="hero-teaser__title-container",As="hero-teaser__title",js="hero-teaser__overline",Rs="hero-teaser__button-container",Ms="hero-teaser__media-container",Is="hero-teaser__media-container--contain",Ps="hero-teaser--unpublished",Os=e=>{let{teaserTitle:t,teaserOverline:n,teaserDescription:a,teaserImage:r,teaserVideoId:i,teaserImageRatio:l,teaserImageAlt:o,imageFit:c,imageOnLeftSide:d=!1,primaryButtonUrl:p,primaryButtonText:h,primaryButtonVisuallyHiddenText:m,secondaryButton:g,onPrimaryButtonClick:v,leftIcon:f,rightIcon:w,unpublished:_,playLabel:b,pauseLabel:x,onVideoStateChange:y,target:E,awsServiceBaseUrl:T}=e;const S=!!cr(H.MEDIUM)||d,N=Si(i),k=""!==N,C=!!r,L=C&&c===Ai.CONTAIN,A=C&&(0,s.jsx)(Ii,{src:null!=r?r:"",alt:null!=o?o:"",ratio:l,imageFit:c,fillContainer:L}),j=k&&(0,s.jsx)(Ss,{awsServiceBaseUrl:T,service:"aws",videoId:N,previewAlt:null!=o?o:"",playLabel:null!=b?b:"",pauseLabel:null!=x?x:"",videoLoop:!0,onVideoStateChange:e=>{y&&y(e)},videoFit:l===ki.ORIGINAL?Ai.CONTAIN:Ai.COVER,videoRatio:l}),R=(C||k)&&(0,s.jsx)("div",{className:u(Ms,L&&Is),children:C?A:j}),M=(0,s.jsxs)("div",{className:ks,children:[(0,s.jsxs)("div",{className:Cs,children:[(0,s.jsxs)("div",{className:Ls,children:[n&&n.length>0&&(0,s.jsx)("div",{className:js,children:n}),t&&(0,s.jsx)("h2",{className:As,children:t})]}),a&&(0,s.jsx)("p",{children:a})]}),(0,s.jsxs)("div",{className:Rs,children:[h&&(0,s.jsx)(Y,{target:E||F.SELF,hasMarginTop:!1,href:p,appearance:q.SECONDARY,text:h,visuallyHiddenText:m,onClick:v,leftIcon:f,rightIcon:w}),g]})]});return(0,s.jsx)("section",{className:u(Ns,_&&Ps),children:S?(0,s.jsxs)(s.Fragment,{children:[R," ",M]}):(0,s.jsxs)(s.Fragment,{children:[M," ",R]})})},Ds={"highlight-box":"highlight-box","highlight-box--transparent":"highlight-box--transparent","highlight-box--theme-aware":"highlight-box--theme-aware","highlight-box--neutral":"highlight-box--neutral","highlight-box--neutral-100":"highlight-box--neutral-100","highlight-box--neutral-200":"highlight-box--neutral-200","highlight-box--grey":"highlight-box--grey","highlight-box--grey-50":"highlight-box--grey-50","highlight-box--grey-100":"highlight-box--grey-100","highlight-box--grey-200":"highlight-box--grey-200","highlight-box--grey-300":"highlight-box--grey-300","highlight-box--white":"highlight-box--white"},Vs=e=>{let{color:t,children:n}=e;return(0,s.jsx)("section",{className:u(Ds["highlight-box"],Ds[`highlight-box--${t}`]),children:n})},zs="horizontal-center",Bs=e=>{let{children:t,slot:n}=e;return null!=t&&(!Array.isArray(t)||t.length>0)?(0,s.jsx)("div",{className:zs,slot:n,children:t}):null},Hs="input",$s="input--no-margin",Fs="input__wrapper",Gs="input--disabled",Us="input__input",Ws="input--error",qs="input__label",Ys="input__label-wrapper",Xs="input__hint",Zs="input__input--auto-size",Ks="input__error",Qs="input__error-text",Js="input__clear-button";var el=(e=>(e.TEXT="text",e.EMAIL="email",e.TEXTAREA="textarea",e.SEARCH="search",e))(el||{});const tl=e=>{let{id:t,label:n,value:a,placeholder:r,required:i=!1,tooltip:l,tooltipAriaLabel:o,type:c=el.TEXT,maxLength:d,hint:p,error:h,disabled:m=!1,hasMarginTop:g=!0,minRows:v,maxRows:f,translations:w,valid:_,dirty:b,hintParsed:x,onBlur:y,onChange:E}=e;const T=b&&!_,N=`${t}-error`,k=`${t}
1-hint`,C=c===el.TEXTAREA&&(void 0!==v||void 0!==f),L=C?{...void 0!==v&&{"--roche-input-min-rows":v},...void 0!==f&&{"--roche-input-max-rows":f}}:void 0,A=u(Hs,T&&Ws,m&&Gs,!g&&$s),j=!!(n||i||p),R=[p&&k,T&&N].filter(Boolean).join(" "),M=e=>{E(e.target.value)},I=e=>{E(e.target.value)},P=()=>{E("")};return(0,s.jsxs)("div",{className:A,children:[j&&(0,s.jsxs)("div",{className:Ys,children:[(0,s.jsx)("label",{className:qs,htmlFor:t,children:rt(i,n)}),l&&(0,s.jsx)(pa,{ariaLabel:o,children:l}),p&&(0,s.jsx)("span",{id:k,className:Xs,children:x})]}),(0,s.jsxs)("div",{className:Fs,children:[c!==el.TEXTAREA?(0,s.jsx)("input",{id:t,className:Us,maxLength:d||void 0,placeholder:r,disabled:m,value:a,required:i,"aria-invalid":T,"aria-describedby":R||void 0,onBlur:y,onChange:M,type:c}):(0,s.jsx)("textarea",{id:t,className:u(Us,C&&Zs),style:L,maxLength:d||void 0,required:i,placeholder:r,disabled:m,value:a,"aria-invalid":T,"aria-describedby":R||void 0,onBlur:y,onChange:I,rows:null!=v?v:5}),c===el.SEARCH&&a?(0,s.jsx)("button",{className:Js,onClick:P,"aria-label":null==w?void 0:w.clearInput,type:"button",children:(0,s.jsx)(S,{icon:"cross",height:"16px"})}):null]}),T&&(0,s.jsxs)("div",{id:N,className:Ks,...T&&{role:"alert"},children:[(0,s.jsx)(S,{icon:"info",width:"16px",decorative:!0}),(0,s.jsx)("p",{className:Qs,children:h||`${null==w?void 0:w.error} ${n}`})]})]})},nl="lead-text",al=e=>{let{children:t,lead:n}=e;return null!=n?(0,s.jsx)("p",{className:nl,children:n}):(0,s.jsx)("div",{className:nl,children:t})},rl="loading-icon",il=()=>(0,s.jsx)("div",{className:rl,children:(0,s.jsx)(S,{icon:"loading",height:"24px",decorative:!0,display:"inline"})}),sl="loading-spinner",ll="loading-spinner__text",ol=e=>{let{loadingText:t}=e;return(0,s.jsxs)("div",{className:sl,children:[(0,s.jsx)(il,{}),(0,s.jsx)("div",{className:ll,"aria-live":"polite","aria-busy":"true",children:t})]})},cl="magnet",dl=()=>(0,s.jsx)("div",{className:cl}),ul="marketo",pl=e=>{let{children:t}=e;return(0,s.jsx)("div",{className:ul,children:t})},hl="overline",ml="overline__text",gl=e=>{let{overlineText:t,slot:n}=e;return(0,s.jsx)("div",{className:hl,slot:n,children:(0,s.jsx)("p",{className:ml,children:t})})},vl="pagination",fl="pagination--has-margin-top",wl="pagination__row",_l="pagination__large-numbers",bl="pagination__small-numbers",xl="pagination__item",yl="pagination__item--colored",El="pagination__item--active",Tl="pagination__item-text",Sl="pagination__item--disabled",Nl="pagination__icon",kl="pagination__button",Cl="pagination__separator",Ll="pagination__visually-hidden",Al="…",jl=e=>{let{label:t}=e;return(0,s.jsx)("span",{className:Tl,"aria-hidden":"true",children:t})},Rl=e=>{let{enabled:t,onClick:n,onFocus:a,icon:r,label:i}=e;return(0,s.jsx)("li",{className:u({[Sl]:!t},xl,yl),children:(0,s.jsx)("button",{className:kl,onClick:n,onFocus:()=>null==a?void 0:a(),onMouseEnter:()=>null==a?void 0:a(),disabled:!t,"aria-disabled":!t,"aria-label":i,type:"button",children:(0,s.jsx)("span",{className:Nl,children:(0,s.jsx)(S,{icon:r,width:`${B(24)}rem`,height:`${B(24)}rem`})})})})},Ml=e=>{let{page:t,isActive:n,setPage:a,focusPage:r,pageLabel:i,currentPageLabel:l}=e;const o=`${i} ${t}`,c=n?`${o}, ${l}`:o;return(0,s.jsx)("li",{className:u(_l,xl,yl,{[El]:n}),children:(0,s.jsx)("button",{className:kl,onClick:()=>a(t),onMouseOver:()=>{r&&!n&&r(t)},onFocus:()=>{r&&!n&&r(t)},"aria-current":n?"page":void 0,"aria-label":c,tabIndex:n?-1:void 0,type:"button",children:(0,s.jsx)(jl,{label:t})})},`page-${t}`)},Il=e=>{let{index:t}=e;return(0,s.jsx)("li",{className:u(_l,Sl,xl),"aria-hidden":"true",role:"presentation",children:(0,s.jsx)("span",{className:Tl,children:Al})},`ellipsis-${t}`)},Pl=(e,t)=>Array.from({length:t-e},(t,n)=>n+e),Ol=e=>{let{totalPages:t,activePage:n,visiblePages:a,disableScrollTarget:r=!1,onPageChange:l,onPagePrefetch:o,scrollTarget:c,className:d,hasMarginTop:p=!1,ariaLabels:h={}}=e;const{navigationLabel:m="Search navigation",previousPageLabel:g="Previous page",nextPageLabel:v="Next page",pageLabel:f="Page",currentPageLabel:w="current page",pageStatusLabel:_="Page {current} of {total}"}=h,b=Math.max(Math.ceil(t),1);if(1===b)return null;const x=e=>{n!==e&&(l&&l(e),!r&&(null==c||c.scrollIntoView({behavior:"smooth",block:"start"})))},y=((e,t,n)=>{const{floor:a,min:r,max:s}=Math;
1if(n<=e)return Pl(1,n+1);const l=a((e-4)/2);let o=s(2,t-l),c=r(n-1,t+l),d=o-2,u=n-1-c;if(d<=1&&u>1)o=2,c=s(o+e-4,t+1);else if(u<=1&&d>1)c=n-1,o=r(c-e+4,t-1);else if(d<=1&&u<=1)return Pl(1,n+1);d=o-2,u=n-1-c;const p=[1];return d>1?p.push(Al):1===d&&p.push(2),p.push.apply(p,(0,i.A)(Pl(o,c+1))),u>1?p.push(Al):1===u&&p.push(n-1),p.push(n),p})(a,n,b).map((e,t)=>{if(e===Al)return(0,s.jsx)(Il,{index:t},`ellipsis-${t}`);const a=e;return(0,s.jsx)(Ml,{page:a,isActive:a===n,setPage:x,focusPage:o,pageLabel:f,currentPageLabel:w},a)});return(0,s.jsxs)("nav",{className:u(vl,p&&fl,d),"aria-label":m,children:[(0,s.jsx)("div",{role:"status","aria-live":"polite","aria-atomic":"true",className:Ll,children:_.replaceAll("{current}",`${n}`).replaceAll("{total}",`${b}`)}),(0,s.jsxs)("ol",{className:wl,children:[(0,s.jsx)(Rl,{enabled:1!==n,onClick:()=>{n>1&&x(n-1)},onFocus:()=>{o&&n>1&&o(n-1)},icon:"chevron-left",label:g}),y,(0,s.jsx)("li",{className:u(xl,bl),"aria-hidden":"true",children:(0,s.jsxs)("span",{className:Tl,children:[n," ",(0,s.jsx)("span",{className:Cl})," ",b]})}),(0,s.jsx)(Rl,{enabled:n!==b,onClick:()=>{n<b&&x(n+1)},onFocus:()=>{o&&n<b&&o(n+1)},icon:"chevron-right",label:v})]})]})},Dl="podcast",Vl="podcast__iframe",zl=[10,25,50,75,100],Bl=e=>{let{src:t,onPodcastStateChange:n}=e;const a=(0,l.useRef)(null),r=(0,l.useRef)(null),[i,o]=(0,l.useState)(!1),[c,d]=(0,l.useState)(""),[u,p]=(0,l.useState)(0),h=(0,l.useRef)(new Set),m=(0,l.useRef)(!1),g=(0,l.useCallback)((e,n,a)=>({audioName:e,audioUrl:t,audioProvider:"soundcloud",audioDurationTotal:n,audioPercentage:a}),[t]),v=(0,l.useCallback)(()=>{if(window.SC&&"function"==typeof window.SC.Widget)return void o(!0);const e=document.createElement("script");e.src="https://w.soundcloud.com/player/api.js",e.async=!0,e.onload=()=>o(!0),e.onerror=()=>{n({type:"error",base:g("SoundCloud Player",0,0),errorMessage:"Failed to load SoundCloud Widget API",trackingValue:"audioError"})},document.body.appendChild(e)},[g,n]),f=(0,l.useCallback)(()=>{!r.current||m.current||(m.current=!0,r.current.getCurrentSound(e=>{e&&(d(e.title),p(e.duration),n({type:"starting",base:g(e.title,e.duration,0),trackingValue:"audioStart"}))}))},[g,n]),w=(0,l.useCallback)(e=>{const t=Math.round(100*e.relativePosition);for(const a of zl)t>=a&&!h.current.has(a)&&(h.current.add(a),n({type:"progress",base:g(c,u,a),trackingValue:"audioProgress"}))},[g,u,n,c]),_=(0,l.useCallback)(()=>{n({type:"completed",base:g(c,u,100),trackingValue:"audioComplete"}),h.current.clear(),m.current=!1},[g,u,n,c]);return(0,l.useEffect)(()=>{v()},[v]),(0,l.useEffect)(()=>{i&&a.current&&(r.current=new window.SC.Widget(a.current))},[i]),(0,l.useEffect)(()=>{const e=r.current;if(e)return e.bind(window.SC.Widget.Events.PLAY,f),e.bind(window.SC.Widget.Events.PLAY_PROGRESS,w),e.bind(window.SC.Widget.Events.FINISH,_),()=>{e.unbind(window.SC.Widget.Events.PLAY,f),e.unbind(window.SC.Widget.Events.PLAY_PROGRESS,w),e.unbind(window.SC.Widget.Events.FINISH,_)}},[f,w,_]),(0,s.jsx)("iframe",{ref:a,className:Vl,title:"SoundCloud Player",src:t,width:"100%",allow:"autoplay",allowFullScreen:!0,loading:"lazy",seamless:!0})},Hl=e=>{let{src:t,onPodcastStateChange:n}=e;const a=(0,l.useRef)(null),r=(0,l.useRef)(null),[i,o]=(0,l.useState)(null),[c,d]=(0,l.useState)(!1),u=(0,l.useRef)(new Set),p=(e,n)=>({audioName:"Spotify Podcast",audioUrl:t,audioProvider:"spotify",audioDurationTotal:e,audioPercentage:n}),h=e=>{const{position:t,duration:a}=e.data;if(0===a)return void g("No audio found");const r=t/a*100;for(const i of zl)r>=i&&!u.current.has(i)&&(u.current.add(i),n(100===i?{type:"completed",base:p(a,r),trackingValue:"audioComplete"}:{type:"progress",base:p(a,i),trackingValue:"audioProgress"}))},m=e=>{const{duration:t}=e.data;0!==t?(u.current.clear(),n({type:"starting",base:p(t,0),trackingValue:"audioStart"})):g("No audio found")},g=e=>{n({type:"error",base:p(0,0),trackingValue:"audioError",errorMessage:e})},v=e=>{const t=e.match(/open\.spotify\.com\/embed\/(\w+)\/([\w\d]+)/);if(!t)return g("Failed to generate Spotify URI"),null;const[,n,a]=t;return`spotify:${n}:${a}`};return(0,l.useEffect)(()=>{const e=document.createElement("script");return e.src="https://open.spotify.com/embed/iframe-api/v1",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),(0,l.useEffect)(()=>{i||(window.onSpotifyIframeApiReady=e=>{o(e)})},[i]),(0,l.useEffect)(()=>
1{if(!c&&null!==i&&a.current)return i.createController(a.current,{height:80,uri:v(t)||""},e=>{e.addListener("ready",()=>{d(!0)}),e.addListener("playback_started",m),e.addListener("playback_update",h),r.current=e}),()=>{r.current&&r.current.removeListener("playback_update")}},[c,i,t]),(0,s.jsx)("iframe",{ref:a,className:Vl,title:"Podcast Player",src:t,width:"100%",seamless:!0,allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",allowFullScreen:!0,loading:"lazy"})},$l=e=>{let{src:t,provider:n,slot:a,onPodcastStateChange:r}=e;const i=(0,l.useRef)(null),o=ne(i);return(0,s.jsxs)("div",{className:u(Dl,`podcast--${n}`),slot:a,ref:i,children:[o&&("spotify-creators"===n||"spotify"===n)&&(0,s.jsx)(Hl,{src:t,onPodcastStateChange:r}),o&&"soundcloud"===n&&(0,s.jsx)(Bl,{src:t,onPodcastStateChange:r}),"transistor"===n&&(0,s.jsx)("iframe",{className:Vl,title:"Podcast Player",src:t,width:"100%",seamless:!0,allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",allowFullScreen:!0,loading:"lazy"})]})},Fl="published-date",Gl=e=>{let{publishedDate:t}=e;return(0,s.jsx)("div",{className:Fl,children:(0,s.jsx)("time",{children:t})})},Ul="roche-quote",Wl="roche-quote__image",ql="roche-quote__content",Yl="roche-quote__text",Xl="roche-quote__text--small",Zl="roche-quote__subline",Kl="roche-quote__link",Ql="roche-quote--with-image",Jl="roche-quote--equal-ratio";var eo=(e=>(e.BIG="big",e.SMALL="small",e))(eo||{}),to=(e=>(e.WITH_IMAGE="with-image",e.NORMAL="normal",e))(to||{});const no=e=>{let{quote:t,size:n=eo.BIG,layout:a=to.NORMAL,isEqualRatio:r=!1,image:i,sublines:l,link:o}=e;const c=a===to.WITH_IMAGE,d=n===eo.SMALL,p=u(Ul,{[Ql]:c,[Jl]:r}),h=u(Yl,{[Xl]:d});return(0,s.jsxs)("figure",{className:p,children:[c&&(0,s.jsx)("div",{className:Wl,children:i}),(0,s.jsxs)("div",{className:ql,children:[(0,s.jsx)("blockquote",{children:(0,s.jsx)("p",{className:h,children:t})}),(0,s.jsxs)("figcaption",{children:[l&&l.length>0&&(0,s.jsx)("div",{className:Zl,children:l}),c&&o&&(0,s.jsx)("div",{className:Kl,children:o})]})]})]})},ao=["htm","html"];var ro=(e=>(e.ROWS="rows",e.COLUMNS="columns",e))(ro||{}),io=(e=>(e.ASCENDING="chevron-up",e.DESCENDING="chevron-down",e))(io||{}),so=(e=>(e.ASCENDING="asc",e.DESCENDING="desc",e))(so||{});const lo={"responsive-table":"responsive-table","responsive-table__table":"responsive-table__table","responsive-table__caption":"responsive-table__caption","responsive-table__header-row":"responsive-table__header-row","responsive-table__header-item":"responsive-table__header-item","responsive-table__body-item":"responsive-table__body-item","responsive-table__cell-html":"responsive-table__cell-html","responsive-table__body-row":"responsive-table__body-row","responsive-table__no-results":"responsive-table__no-results","responsive-table__no-results-icon":"responsive-table__no-results-icon","responsive-table--sticky-header":"responsive-table--sticky-header","responsive-table--alternated-rows":"responsive-table--alternated-rows","responsive-table--alternated-columns":"responsive-table--alternated-columns","responsive-table--alternated-row-single":"responsive-table--alternated-row-single","responsive-table--alternated-column-single":"responsive-table--alternated-column-single","responsive-table--sortable":"responsive-table--sortable","responsive-table__header-item--sortable":"responsive-table__header-item--sortable","responsive-table__sort-icon":"responsive-table__sort-icon","responsive-table--align-text-right":"responsive-table--align-text-right","responsive-table__table--is-small":"responsive-table__table--is-small","responsive-table__header":"responsive-table__header","responsive-table__filter":"responsive-table__filter",input:"input"},oo=e=>"string"==typeof e?(0,s.jsx)("span",{className:lo["responsive-table__cell-html"],dangerouslySetInnerHTML:{__html:e}}):e,co=e=>{let{table:t,stickyHeader:n,sortable:a,filterable:r,noResults:o,alignText:c,multipleAlternatives:d,alternatedRow:p,alternatedColumn:h,caption:m,filterInputPlaceholder:g,clearFilterText:v,onResponsiveTableEvent:f}=e;const _=w(),b=(0,l.useRef)(null),[x,y]=(0,l.useState)(!1),[E,T]=(0,l.useState)(""),{filteredData:N}=((e,t)=>({filteredData:(0,l.useMemo)(()=>
1{if(!t)return e;const n=t.toLowerCase();return e.filter(e=>e.body.some(e=>{var t;return(null!==(t=e.sortValue)&&void 0!==t?t:"string"==typeof e.value?e.value:"").toLowerCase().includes(n)}))},[e,t])}))(t.tbody,E),{sortedData:k,sortByIndex:C,sortDirection:L,toggleSort:A}=(e=>{const[t,n]=(0,l.useState)(null),[a,r]=(0,l.useState)(so.DESCENDING);return{sortedData:(0,l.useMemo)(()=>null===t?e:(0,i.A)(e).sort((e,n)=>{var r,i;const s=e.body[t],l=n.body[t],o=(null!==(r=null==s?void 0:s.sortValue)&&void 0!==r?r:"string"==typeof(null==s?void 0:s.value)?s.value:"").toLowerCase(),c=(null!==(i=null==l?void 0:l.sortValue)&&void 0!==i?i:"string"==typeof(null==l?void 0:l.value)?l.value:"").toLowerCase();if(o===c)return 0;const d=parseFloat(o.replace(",",".")),u=parseFloat(c.replace(",","."));if(!Number.isNaN(d)&&!Number.isNaN(u))return a===so.ASCENDING?d-u:u-d;const p=o>c?1:-1;return a===so.ASCENDING?p:-p}),[e,t,a]),sortByIndex:t,sortDirection:a,toggleSort:e=>{t===e?r(e=>e===so.ASCENDING?so.DESCENDING:so.ASCENDING):(n(e),r(so.ASCENDING))}}})(N),j=k.length,R=p&&Number(p)>0&&!d?Number(p):void 0,M=h&&Number(h)>0&&!d&&!R?Number(h):void 0;(0,l.useEffect)(()=>{if(!b.current)return;const e=new ResizeObserver(()=>{var e,n;const a=b.current;if(!a)return;const{width:r}=a.getBoundingClientRect(),i=t.thead.length||(null!==(e=null==(n=t.tbody[0])?void 0:n.body.length)&&void 0!==e?e:0);if(r>H.LARGE)return void y(!1);y(r/i<160)});return e.observe(b.current),()=>e.disconnect()},[t]),(0,l.useEffect)(()=>{""!==E&&f({type:"update_filter",trackingValue:"filter",value:E,additionalParameters:{filteredResults:k.length}})},[E]),(0,l.useEffect)(()=>{null!==C&&f({type:"update_sort_by",trackingValue:"sort",value:L,additionalParameters:{sortedColumnNr:C,sortedColumn:t.thead.length?t.thead[C].value:""}})},[C,L]);const I=e=>C!==e?io.DESCENDING:L===so.ASCENDING?io.ASCENDING:io.DESCENDING,P=e=>C!==e?"none":L===so.ASCENDING?"ascending":"descending",O=u(lo["responsive-table__table"],n&&lo["responsive-table--sticky-header"],a&&lo["responsive-table--sortable"],"right"===c&&lo[`responsive-table--align-text-${c}`],d===ro.ROWS&&lo["responsive-table--alternated-rows"],d===ro.COLUMNS&&lo["responsive-table--alternated-columns"]),D=e=>R===e+1?lo["responsive-table--alternated-row-single"]:"",V=e=>M===e+1?lo["responsive-table--alternated-column-single"]:"",z=e=>{T(e)},B=()=>{T(""),f({type:"clear_filter",trackingValue:"clear_filter"})},$=e=>{var t;const n=e.target.closest("a");if(!n)return;const a=n.getAttribute("href"),r=null==(t=n.textContent)?void 0:t.trim(),i=(e=>{var t;try{const n=new URL(e,window.location.origin).pathname.split("/").pop();if(!n)return{isDownload:!1};if(!n.includes("."))return{isDownload:!1};const a=null==(t=n.split(".").pop())?void 0:t.toLowerCase();return a?ao.includes(a)?{isDownload:!1}:{isDownload:!0,extension:a,fileName:n}:{isDownload:!1}}catch{return{isDownload:!1,extension:"",fileName:""}}})(a||"");i.isDownload?f({type:"download",event:"download",value:a||"",additionalParameters:{file_type:i.extension,file_name:i.fileName}}):f({type:"link_click",event:"link_click",additionalParameters:{click_text:r||"",click_url:a||""}})},F=e=>(0,s.jsx)("tr",{children:(0,s.jsx)("td",{colSpan:e,children:(0,s.jsxs)("div",{className:u(lo["responsive-table__no-results"]),children:[(0,s.jsx)("span",{className:lo["responsive-table__no-results-icon"],children:(0,s.jsx)(S,{icon:"mobile",height:"24px"})}),o]})})});return(0,s.jsxs)("section",{ref:b,className:lo["responsive-table"],children:[r&&(0,s.jsxs)("div",{className:lo["responsive-table__filter"],children:[(0,s.jsx)(tl,{id:"responsive-table-filter",value:E,placeholder:g,onChange:z,valid:!0,dirty:""!==E,hintParsed:"",onBlur:()=>{}}),(0,s.jsx)(Y,{disabled:""===E,leftIcon:""===E?"search":"loading",text:null!=v?v:"",hasMarginTop:!1,onClick:B})]}),x?(()=>{const e=t.thead.length?t.thead.map((e,t)=>({id:e.id,header:e,body:k.map(e=>e.body[t])})):k.map(e=>({id:e.id,header:{id:"",value:""},body:e.body.map(e=>e)}));return(0,s.jsxs)("table",{className:u(lo["responsive-table__table"],lo["responsive-table__table--is-small"],n&&lo["responsive-table--sticky-header"],"right"===c&&lo[`responsive-table--align-text-${c}`]),onClick:$,children:[(0,s.jsx)("caption",{className:lo["responsive-table__c
1aption"],children:m}),(0,s.jsx)("tbody",{children:j>0?e.map(e=>(0,s.jsxs)("tr",{className:lo["responsive-table__body-row"],children:[e.header.value&&(0,s.jsx)("th",{className:lo["responsive-table__header"],scope:"row",children:e.header.value}),e.body.map(e=>(0,s.jsx)("td",{className:lo["responsive-table__body-item"],children:oo(e.value)},e.id))]},e.id)):F()})]})})():(0,s.jsxs)("table",{className:O,onClick:$,children:[(0,s.jsx)("caption",{className:lo["responsive-table__caption"],children:m}),(0,s.jsx)("thead",{className:lo["responsive-table__header"],children:(0,s.jsx)("tr",{className:lo["responsive-table__header-row"],children:t.thead.map((e,t)=>(0,s.jsx)("th",{className:lo["responsive-table__header-item"],scope:"col","aria-sort":a?P(t):void 0,children:a?(0,s.jsxs)("button",{type:"button",className:lo["responsive-table__header-item--sortable"],onClick:()=>A(t),children:[e.value,(0,s.jsx)("span",{className:lo["responsive-table__sort-icon"],children:(0,s.jsx)(S,{icon:I(t),width:_?"16px":"12px",decorative:!1})})]}):e.value},e.id))})}),(0,s.jsx)("tbody",{children:j>0?k.map((e,t)=>(0,s.jsx)("tr",{className:u(lo["responsive-table__body-row"],R&&D(t)),children:e.body.map((e,t)=>(0,s.jsx)("td",{className:u(lo["responsive-table__body-item"],M&&V(t)),children:oo(e.value)},e.id))},e.id)):F(t.thead.length)})]})]})},uo="rich-text",po="rich-text--is-footnote",ho="rich-text--is-footer-type",mo=e=>{let{children:t,isFootnote:n,isFooterType:a,markup:r,slot:i,dir:l}=e;const o={...r&&{dangerouslySetInnerHTML:{__html:r}}};return(0,s.jsx)("div",{slot:i,dir:l,...o,className:u(uo,n&&po,a&&ho),children:t})},go="popular-search",vo="popular-search__title",fo=e=>{let{title:t,className:n,popularSearches:a,onPopularSearchTermClick:r}=e;return(0,s.jsxs)("section",{"aria-labelledby":"popular-search-title",className:u(go,n),children:[(0,s.jsx)("h2",{id:"popular-search-title",className:vo,children:t}),(0,s.jsx)("ul",{children:a.map(e=>(0,s.jsx)("li",{onClick:()=>r(e.label),children:(0,s.jsx)("button",{type:"button",children:e.label})},`popular-search-${e.label}`))})]})},wo="search",_o="search__sr-announcement",bo="search__title",xo="search__input-container",yo="search__loading-container",Eo="search__support-content-wrapper",To="search__popular-searches",So="search__quick-links",No="search__quick-links-title",ko="search__filter-tabs",Co="search__results-container",Lo="search__results-heading",Ao="search__results-list",jo="search__no-results",Ro="search__no-results-title",Mo="search__no-results-message",Io="search__teaser-container",Po="search__teaser-container--eight-columns",Oo="search__teaser-container--loading",Do="search__pagination",Vo="search__pagination--eight-columns",zo="data-search",Bo="data-search--with-input",Ho="search-input",$o="search-input__label",Fo="search-input__description",Go="search-input__input",Uo="search-input__search-icon",Wo="search-input__clear-icon",qo="search-input--small";var Yo=(e=>(e.NORMAL="normal",e.SMALL="small",e))(Yo||{});const Xo=e=>{let{className:t,placeholder:n,size:a=Yo.NORMAL,value:r,onChange:i,onClear:l,ariaLabels:o}=e;const c=u(Ho,t,a===Yo.SMALL&&qo),d=r&&r.length>0&&l,p=a===Yo.SMALL?"1rem":"1.5rem";return(0,s.jsxs)("form",{className:c,onSubmit:e=>e.preventDefault(),role:"search","aria-label":o.siteSearch,children:[(0,s.jsx)("label",{htmlFor:"search-input",className:$o,children:o.searchInputLabel}),(0,s.jsx)("span",{id:"search-description",className:Fo,children:o.searchInputDescription}),(0,s.jsx)("span",{className:Uo,"aria-hidden":"true",children:(0,s.jsx)(S,{height:p,icon:"search"})}),(0,s.jsx)("input",{className:Go,id:"search-input",type:"search",autoComplete:"off",value:r,onChange:i,placeholder:n,onKeyDown:e=>{"Escape"===e.key&&e.preventDefault()},"aria-describedby":"search-description"}),d&&(0,s.jsx)("button",{type:"button",onClick:l,className:Wo,"aria-label":o.clearSearchTerm,children:(0,s.jsx)(S,{height:p,icon:"remove"})})]})};const Zo="tabs",Ko="tabs__tab",Qo="tabs__tab--active",Jo="tabs__tab-label",ec="tabs__scroll-button",tc="tabs__scroll-button--left",nc="tabs__scroll-button--right",ac="tabs__panel",rc="tabs__panel--active",ic="tabs__tab-list-wrapper",sc="tabs__tab-list",lc="tabs--filter",oc="tabs--filter-grey",cc="tabs--centered",dc="tabs--no-margin",u
1c=e=>{var t;let{initiallySelected:n,appearance:a="default",autoScroll:r=!0,centered:i=!1,hasMarginTop:o=!0,tabs:c,children:d,slot:p,onTabClick:m,activeTabId:v,scrollActiveTabIntoViewOnMount:_=!1,scrollPageToActiveTabOnMount:b=!1}=e;const x=w(),y=void 0!==v,[E,T]=(0,l.useState)(()=>((e,t)=>{var n;return void 0===t||t<0||t>=(null!==(n=null==e?void 0:e.length)&&void 0!==n?n:0)?0:t})(c,n)),N=null!==(t=null==c?void 0:c.findIndex(e=>e.id===v))&&void 0!==t?t:-1,k=y&&N>=0?N:E,C=(0,l.useRef)([]),L=(0,l.useRef)(null),A=(0,l.useRef)(null),j=(0,l.useRef)(null),R=(0,l.useRef)(null),M=function(e){const[t,n]=(0,l.useState)("none"),a=(0,l.useCallback)(()=>{const t=e.current;if(!t)return void n("none");const a="rtl"===document.documentElement.dir,r=t.scrollLeft,i=t.clientWidth,s=t.scrollWidth,l=a?r-2>i-s:r>0,o=a?r<0:r+2<s-i;n(l&&o?"both":l?"left":o?"right":"none")},[e.current]);return(0,l.useEffect)(()=>{const t=e.current;if(!t)return;a();const n=new ResizeObserver(a);return n.observe(t),t.addEventListener("scroll",a),()=>{t.removeEventListener("scroll",a),n.disconnect()}},[a]),t}(A),{scrollIntoView:I}=function(e,t,n){let{leftInsetRef:a,rightInsetRef:r}=void 0===n?{}:n;return{scrollIntoView:(0,l.useCallback)(n=>{var i,s,l;const o=null==(i=e.current)?void 0:i[n],c=t.current;if(!o||!c)return;const d=o.getBoundingClientRect(),u=c.getBoundingClientRect(),p=null==(s=null==a?void 0:a.current)?void 0:s.getBoundingClientRect(),h=null==(l=null==r?void 0:r.current)?void 0:l.getBoundingClientRect(),m=p?Math.max(0,p.right-u.left):0,v=h?Math.max(0,u.right-h.left):0,f=u.left+m,w=u.right-v;if(d.left>=f&&d.right<=w)return;const _=d.left+d.width/2-(u.left+u.width/2);c.scrollBy({left:_,behavior:g()?"auto":"smooth"})},[e,t,a,r])}}(C,A,{leftInsetRef:j,rightInsetRef:R});f(_&&r,()=>{if(I(k),b){const e=C.current[k];e&&(e=>{const t=e.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:t,behavior:g()?"auto":"smooth"})})(e)}});const P=e=>{var t;const n=null!==(t=null==c?void 0:c.findIndex(t=>t.id===e.currentTarget.id))&&void 0!==t?t:null;if(null===n||n<0)return;const a=null==c?void 0:c[n],r=(null==a?void 0:a.headline)||"",i=(null==a?void 0:a.id)||"";null==m||m(e,r,i),n!==k&&((e=>{y||T(e)}
1)(n),I(n))},O=e=>{var t;if(!c||0===c.length||!e.key)return;const{key:n}=e,a=()=>C.current.indexOf(document.activeElement),r={ArrowRight:()=>h(x?"previous":"next",a(),c.length),ArrowLeft:()=>h(x?"next":"previous",a(),c.length),Home:()=>h("first",a(),c.length),End:()=>h("last",a(),c.length)};if(!r[n])return;e.preventDefault();const i=r[n]();i!==a()&&(null==(t=C.current[i])||t.focus(),I(i))},D=e=>{var t;const n=L.current,a=A.current;if(!a||!n||0===Array.from(a.children).length)return;const r=.8*(null!==(t=null==n?void 0:n.offsetWidth)&&void 0!==t?t:0),i="right"===e?r:-r;a.scrollBy({left:i,behavior:"smooth"})},V=u(Zo,{[cc]:i,[dc]:!o,[lc]:"filter"===a||"filter-grey"===a,[oc]:"filter-grey"===a});return(0,s.jsxs)("div",{className:V,slot:p,children:[(0,s.jsxs)("div",{className:ic,ref:L,children:[("left"===M||"both"===M)&&(0,s.jsx)("div",{className:u(ec,tc),onClick:()=>D("left"),ref:j,children:(0,s.jsx)(S,{icon:x?"chevron-right":"chevron-left",height:"24px"})}),(0,s.jsx)("div",{className:sc,role:"tablist",ref:A,children:null==c?void 0:c.map((e,t)=>(0,s.jsx)("button",{className:u(Ko,k===t&&Qo),id:e.id,type:"button",role:"tab","aria-selected":k===t,"aria-controls":`panel-${e.id}`,tabIndex:k===t?0:-1,onClick:P,onKeyDown:O,ref:e=>{C.current[t]=e},children:(0,s.jsx)("span",{className:Jo,children:e.headline})},e.id))}),("right"===M||"both"===M)&&(0,s.jsx)("div",{className:u(ec,nc),onClick:()=>D("right"),ref:R,children:(0,s.jsx)(S,{icon:x?"chevron-left":"chevron-right",height:"24px"})})]}),null==d?void 0:d.map((e,t)=>{var n,a;return(0,s.jsx)("div",{className:u(ac,k===t&&rc),id:`panel-${null==(n=null==c?void 0:c[t])?void 0:n.id}`,role:"tabpanel","aria-labelledby":null==(a=null==c?void 0:c[t])?void 0:a.id,hidden:k!==t,children:e},t)})]})},pc="teaser-wall",hc="teaser-wall__teasers",mc="teaser-wall__teaser",gc="teaser-wall__button",vc=e=>{let{items:t,canLoadMore:n,isLoadingMore:a=!1,loadMoreLabel:r,onLoadMore:i,slot:l}=e;return(0,s.jsxs)("div",{className:pc,slot:l,children:[(0,s.jsx)("ul",{className:hc,role:"list",children:t.map(e=>(0,s.jsx)("li",{className:mc,children:e.content},e.key))}),(n||a)&&i&&r&&(0,s.jsx)("div",{className:gc,children:(0,s.jsx)(Y,{text:r,type:G.BUTTON,appearance:q.PRIMARY,hasMarginTop:!1,isLoading:a,onClick:i})})]})},fc=e=>{let{variant:t,tabs:n,subtabs:a,currentTab:r,currentSubtab:i,alwaysShowTabs:l,searchQuery:o,setSearchParams:c,currentPage:d,totalResultFoundText:u,itemRenderer:p,labels:h,onPagePrefetch:m,isTabSwitchLoading:g,autoF
1ocusFirstItem:v}=e;if(!r)return null;if("main"===t)return(0,s.jsx)("div",{className:"search__filter-main-tabs",children:(0,s.jsx)(uc,{autoScroll:!1,hasMarginTop:!1,tabs:n.map(e=>({headline:`${e.title} (${e.totalItems})`,id:e.tab})),onTabClick:(e,t,a)=>{if(a===r)return;const i=n.map(e=>e.tab).find(e=>e===a);c({query:o,page:1,activeTab:i})},appearance:"filter",activeTabId:r,children:n.map(e=>(0,s.jsx)(wc,{title:e.title,labels:h,tab:e.tab,resultVariant:e.variant,searchVariant:t,items:e.items,itemRenderer:p,totalItems:e.totalItems,totalResultsFoundText:u,onPagePrefetch:(e,t)=>null==m?void 0:m(e,t),onPageChange:(e,t)=>{c({query:o,page:t,activeTab:e})},currentPage:d,isTabSwitchLoading:g,autoFocusFirstItem:v},`roche-search-accordion-item-${e.tab}-${e.totalItems}`))})});{const e=o.trim().length>0,f=a&&a.length>0,w=e=>{e!==i&&c({query:o,page:1,activeTab:r,activeSubtab:e})};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:ko,children:[(!e||l)&&(0,s.jsx)(uc,{tabs:n.map(e=>({headline:e.title,id:e.tab})),onTabClick:(e,t,a)=>{if(a===r)return;const s=n.map(e=>e.tab).find(e=>e===a);c({query:o,page:1,activeTab:s,activeSubtab:i})},appearance:"filter",activeTabId:r}),f&&(0,s.jsx)(uc,{hasMarginTop:!1,tabs:a.map(e=>({headline:e,id:e})),onTabClick:(e,t,n)=>{const r=a.find(e=>e===n);w(r)},appearance:"filter",activeTabId:null!=i?i:void 0})]}),(0,s.jsx)("div",{children:n.filter(e=>e.tab===r).map(e=>(0,s.jsx)(wc,{title:e.title,labels:h,tab:e.tab,resultVariant:e.variant,searchVariant:t,itemRenderer:p,items:e.items,totalItems:e.totalItems,totalResultsFoundText:u,onPageChange:(e,t)=>
1{c({query:o,page:t,activeTab:e})},onPagePrefetch:m,currentPage:d,isTabSwitchLoading:g,autoFocusFirstItem:v},`roche-search-accordion-item-${e.tab}-${e.totalItems}`))})]})}},wc=e=>{let{tab:t,resultVariant:n,searchVariant:a,items:r,totalItems:i,currentPage:l,onPageChange:o,onPagePrefetch:c,totalResultsFoundText:d,itemRenderer:p,labels:h,isTabSwitchLoading:m,autoFocusFirstItem:g}=e;const v=i/("main"===a?6:10);return(0,s.jsxs)("div",{children:[0===r.length&&"main"===a&&(0,s.jsxs)("div",{className:jo,role:"status","aria-live":"polite",children:[(0,s.jsx)("h4",{className:Ro,children:h.noResultsTitle}),(0,s.jsx)("p",{className:Mo,children:h.noResultsMessage})]}),0===r.length&&"data"===a&&(0,s.jsx)("div",{className:jo,role:"status","aria-live":"polite",children:(0,s.jsx)("p",{className:Mo,children:h.noResultsMessage})}),r.length>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h2",{className:Lo,"aria-live":"polite","aria-atomic":"true",children:d.replace(/\$0/g,`${i}`)}),(()=>{if(0===r.length)return null;if("stories"===n)return(0,s.jsx)("div",{className:u(Io,{[Oo]:m}),children:(0,s.jsx)(vc,{canLoadMore:!1,items:r.map((e,n)=>({key:`story-${n}`,content:p(e,t,n,l,!!g&&0===n)}))})},"story-teaser-wall");const e=r.map((e,n)=>(0,s.jsx)("li",{children:p(e,t,n,l,!!g&&0===n)},`teaser-${n}`));return(0,s.jsx)("div",{className:u(Io,"main"===a?Po:"",{[Oo]:m}),children:(0,s.jsx)("ul",{className:Ao,children:e})},"teaser-container")})(),Math.ceil(v)>0&&(0,s.jsx)(Ol,{className:u(Do,"stories"!==n&&"main"===a?Vo:""),onPageChange:e=>o(t,e),totalPages:v,activePage:l,visiblePages:"main"===a?7:8,onPagePrefetch:e=>null==c?void 0:c(t,e)})]})]})};var _c=(e=>(e[e.INPUT=0]="INPUT",e[e.POPULAR_SEARCHES=1]="POPULAR_SEARCHES",e))(_c||{});const bc=e=>{const{labels:t,searchState:n,onSearchParamsChange:a,searchResults:r,subtabs:i,isLoading:l,hasQueriesBeenFetched:o,variant:c,showInput:d,resultsRef:p,autoFocusFirstItem:h,alwaysShowTabs:m=!1}=e,g=n.query,v=n.page,f=n.activeTab,w=n.activeSubtab,_=t.totalResultsFoundText.replace("{totalResults}","{0}"),b=r.some(e=>e.items.length>0),x=(e,t)=>{a({query:t,page:1,activeTab:f,trigger:e})},y=g.trim().length>0,E="main"===c&&e.support&&!l&&!b&&!y,T="data"===c&&l&&b,S=(l||y&&!b&&!o)&&!T,N=r.reduce((e,t)=>e+t.totalItems,0);return(0,s.jsxs)("div",{className:u(wo,"data"===c?zo:"","data"===c&&d?Bo:""),children:[(0,s.jsx)("div",{className:_o,"aria-live":"polite","aria-atomic":"true",role:"status",children:y?l&&!b?e.ariaLabels.searchingFor.replace("{searchQuery}",g):0===N?e.ariaLabels.noResultsFoundFor.replace("{searchQuery}",g):e.ariaLabels.resultsFoundFor.replace("{totalResults}",`${N}`).replace("{searchQuery}",g):""}),"main"===c&&t.searchTitle&&(0,s.jsx)("h1",{className:bo,children:t.searchTitle}),(0,s.jsxs)("div",{ref:p,children:[d&&(0,s.jsx)("div",{className:xo,children:(0,s.jsx)(Xo,{placeholder:t.searchPlaceholder,value:g,onClear:()=>{a({query:"",page:1,activeTab:f,trigger:_c.INPUT})},onChange:e=>x(_c.INPUT,e.target.value),ariaLabels:{siteSearch:e.ariaLabels.siteSearch,searchInputLabel:e.ariaLabels.searchInputLabel,searchInputDescription:e.ariaLabels.searchInputDescription,clearSearchTerm:e.ariaLabels.clearSearchTerm}})}),S&&(0,s.jsx)("div",{className:yo,children:(0,s.jsx)(ol,{loadingText:t.loadingText})}),E&&(0,s.jsxs)("div",{className:Eo,children:[(0,s.jsx)(fo,{className:To,title:e.support.labels.popularSearchesTitle,popularSearches:e.support.popularSearches,onPopularSearchTermClick:e=>x(_c.POPULAR_SEARCHES,e)}),(0,s.jsxs)("section",{className:So,"aria-labelledby":"quick-links-title",children:[(0,s.jsx)("h2",{id:"quick-links-title",className:No,children:e.support.labels.quickLinksTitle}),(0,s.jsx)("ul",{children:e.support.quick_links.map((e,t)=>(0,s.jsx)("li",{children:e},`quick-link-${t}`))})]})]}),!S&&("data"===c||!E)&&(0,s.jsx)("div",{className:Co,"aria-busy":l,children:(0,s.jsx)(fc,{variant:c,labels:{noResultsMessage:e.labels.noResultsMessage,noResultsTitle:e.labels.noResultsTitle},alwaysShowTabs:m,tabs:r,subtabs:i,itemRenderer:e.itemRenderer,currentTab:f,currentSubtab:w,searchQuery:g,setSearchParams:a,currentPage:v,totalResultFoundText:_,onPagePrefetch:e.onPagePrefetch,isTabSwitchLoading:T,autoFocusFirstItem:h})})]})]})}
1,xc={select:"select","select__native-input":"select__native-input","select__native-input-custom-control":"select__native-input-custom-control","select__native-input-custom-control--invalid":"select__native-input-custom-control--invalid","select__native-input-icon":"select__native-input-icon","select__native-input-icon--disabled":"select__native-input-icon--disabled","select__input-wrapper":"select__input-wrapper","select__label-wrapper":"select__label-wrapper","select--disabled":"select--disabled",select__label:"select__label","select__label--disabled":"select__label--disabled","select__item-label":"select__item-label","select__item-label--disabled":"select__item-label--disabled","select__item-label-end":"select__item-label-end",select__error:"select__error","select__error-text":"select__error-text"},yc=e=>{let{disabled:t,label:n,options:a,isMultiSelect:r,showError:i,required:l=!1,tooltip:o,tooltipAriaLabel:c,selected:d,onBlur:p,onSelect:h,error:m,...g}=e;const v=r?"checkbox":"radio",f=Ec(n)||"selectGroupName",w=e=>{h(e)},_=()=>{null==p||p()},b=u(xc.select,t&&xc["select--disabled"]);return(0,s.jsxs)("div",{className:b,children:[(0,s.jsxs)("div",{className:xc["select__label-wrapper"],children:[(0,s.jsx)("span",{className:u(xc.select__label,t&&xc["select__label--disabled"]),children:rt(l,n)}),o&&(0,s.jsx)(pa,{ariaLabel:c,children:o})]}),a.map((e,n)=>{const a=(e=>r&&Array.isArray(d)?d.includes(e):d===e)(e.value||e.label),o=`select-item-${e.value}-${n}`,c=`${o}-error`;return(0,s.jsxs)("label",{className:xc["select__input-wrapper"],children:[(0,s.jsx)("input",{type:v,id:o,name:f,value:e.value||e.label,required:l,checked:a,disabled:t,onChange:()=>w(e),onBlur:_,className:xc["select__native-input"],onKeyDown:t=>((e,t)=>{"Enter"===e.key&&r&&w(t)})(t,e),"aria-invalid":i,"aria-describedby":i?c:void 0,...g}),(0,s.jsx)("div",{className:u(xc["select__native-input-custom-control"],i&&xc["select__native-input-custom-control--invalid"]),children:a&&(0,s.jsx)("div",{className:u(xc["select__native-input-icon"],t&&xc["select__native-input-icon--disabled"]),children:(0,s.jsx)(S,{icon:r?"checkmark":"circle"})})}),(0,s.jsxs)("span",{className:u(xc["select__item-label"],t&&xc["select__item-label--disabled"]),children:[(0,s.jsx)("span",{className:xc["select__item-label-text"],children:e.label}),e.labelEnd&&(0,s.jsx)("span",{className:xc["select__item-label-end"],children:e.labelEnd})]})]},o)}),i&&m&&(0,s.jsxs)("div",{className:xc.select__error,children:[(0,s.jsx)(S,{icon:"info",width:"16px",decorative:!0}),(0,s.jsx)("p",{id:`error-${n}`,role:"alert",className:xc["select__error-text"],children:m})]})]})},Ec=e=>e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,""),Tc="side-by-side",Sc="side-by-side--right",Nc="side-by-side--space-between",kc="side-by-side--top",Cc="side-by-side--bottom",Lc="side-by-side--equal-ratio";var Ac=(e=>(e.LEFT="left",e.RIGHT="right",e.SPACE_BETWEEN="space-between",e))(Ac||{}),jc=(e=>(e.TOP="top",e.MIDDLE="middle",e.BOTTOM="bottom",e))(jc||{});const Rc=e=>{let{horizontalAlignment:t=Ac.LEFT,verticalAlignment:n=jc.MIDDLE,equalRatio:a=!1,children:r}=e;const i=u(Tc,t===Ac.RIGHT&&Sc,t===Ac.SPACE_BETWEEN&&Nc,n===jc.TOP&&kc,n===jc.BOTTOM&&Cc,a&&Lc);return(0,s.jsx)("div",{className:i,children:r})};function Mc(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function Ic(e,t){void 0===e&&(e={}),void 0===t&&(t={});const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:Mc(t[n])&&Mc(e[n])&&Object.keys(t[n]).length>0&&Ic(e[n],t[n])})}const Pc={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Oc(){const e=typeof document<"u"?document:{};return Ic(e,Pc),e}const Dc={document:Pc,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){}
1,clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function Vc(){const e=typeof window<"u"?window:{};return Ic(e,Dc),e}function zc(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function Bc(){return Date.now()}function Hc(e,t){void 0===t&&(t="x");const n=Vc();let a,r,i;const s=function(e){const t=Vc();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(r=s.transform||s.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),i=new n.WebKitCSSMatrix("none"===r?"":r)):(i=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=i.toString().split(",")),"x"===t&&(r=n.WebKitCSSMatrix?i.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(r=n.WebKitCSSMatrix?i.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),r||0}function $c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Fc(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function Gc(){const e=Object(arguments.length<=0?void 0:arguments[0]);for(let t=1;t<arguments.length;t+=1){const n=t<0||arguments.length<=t?void 0:arguments[t];if(null!=n&&!Fc(n)){const t=Object.keys(Object(n)).filter(e=>"__proto__"!==e&&"constructor"!==e&&"prototype"!==e);for(let a=0,r=t.length;a<r;a+=1){const r=t[a],i=Object.getOwnPropertyDescriptor(n,r);void 0!==i&&i.enumerable&&($c(e[r])&&$c(n[r])?n[r].__swiper__?e[r]=n[r]:Gc(e[r],n[r]):!$c(e[r])&&$c(n[r])?(e[r]={},n[r].__swiper__?e[r]=n[r]:Gc(e[r],n[r])):e[r]=n[r])}}}return e}function Uc(e,t,n){e.style.setProperty(t,n)}function Wc(e){let{swiper:t,targetPosition:n,side:a}=e;const r=Vc(),i=-t.translate;let s,l=null;const o=t.params.speed;t.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(t.cssModeFrameID);const c=n>i?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{s=(new Date).getTime(),null===l&&(l=s);const e=Math.max(Math.min((s-l)/o,1),0),c=.5-Math.cos(e*Math.PI)/2;let p=i+c*(n-i);if(d(p,n)&&(p=n),t.wrapperEl.scrollTo({[a]:p}),d(p,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[a]:p})}),void r.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=r.requestAnimationFrame(u)};u()}function qc(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function Yc(e,t){void 0===t&&(t="");const n=Vc(),a=(0,i.A)(e.children);return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&a.push.apply(a,(0,i.A)(e.assignedElements())),t?a.filter(e=>e.matches(t)):a}function Xc(e,t){const n=Vc();let a=t.contains(e);return!a&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(a=(0,i.A)(t.assignedElements()).includes(e),a||(a=function(e,t){const n=[t];for(;n.length>0;){const t=n.shift();if(e===t)return!0;n.push.apply(n,(0,i.A)(t.children).concat((0,i.A)(t.shadowRoot?t.shadowRoot.children:[]),(0,i.A)(t.assignedElements?t.assignedElements():[])))}}(e,t))),a}function Zc(e){try{return void console.warn(e)}catch{}}function Kc(e,t){var n;void 0===t&&(t=[]);const a=document.createElement(e);return(n=a.classList).add.apply(n,(0,i.A)(Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter(e=>!!e.trim())}(t))),a}function Qc(e,t){return Vc().getComputedStyle(e,null).getPropertyValue(t)}function Jc(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function ed(e,t){const n=[];let a=e.parentElement;for(;a;)t?a.matches(t)&&n.push(a):n.push(a),a=a.parentElement;return n}function td(e,t,n){const a=Vc();return e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(a.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(a.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom"))}
1function nd(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function ad(e,t){void 0===t&&(t=""),typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let rd,id,sd;function ld(){return rd||(rd=function(){const e=Vc(),t=Oc();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),rd}function od(e){return void 0===e&&(e={}),id||(id=function(e){let{userAgent:t}=void 0===e?{}:e;const n=ld(),a=Vc(),r=a.navigator.platform,i=t||a.navigator.userAgent,s={ios:!1,android:!1},l=a.screen.width,o=a.screen.height,c=i.match(/(Android);?[\s\/]+([\d.]+)?/);let d=i.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const u=i.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let m="MacIntel"===r;return!d&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${o}`)>=0&&(d=i.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),m=!1),c&&!h&&(s.os="android",s.android=!0),(d||p||u)&&(s.os="ios",s.ios=!0),s}(e)),id}function cd(){return sd||(sd=function(){const e=Vc(),t=od();let n=!1;function a(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(a()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,a]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));n=e<16||16===e&&a<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),i=a();return{isSafari:n||i,needPerspectiveFix:n,need3dFix:i||r&&t.ios,isWebView:r}}()),sd}var dd={on(e,t,n){const a=this;if(!a.eventsListeners||a.destroyed||"function"!=typeof t)return a;const r=n?"unshift":"push";return e.split(" ").forEach(e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][r](t)}),a},once(e,t,n){const a=this;if(!a.eventsListeners||a.destroyed||"function"!=typeof t)return a;function r(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];a.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(a,i)}return r.__emitterProxy=t,a.on(e,r,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof e)return n;const a=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[a](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(e=>{typeof t>"u"?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((a,r)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,a;for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return"string"==typeof s[0]||Array.isArray(s[0])?(t=s[0],n=s.slice(1,s.length),a=e):(t=s[0].events,n=s[0].data,a=s[0].context||e),n.unshift(a),(Array.isArray(t)?t:t.split(" ")).forEach(t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(a,[t].concat((0,i.A)(n)))}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(a,n)})}),e}};const ud=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const pd=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const hd=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&!t.lazyPreloaderManaged&&t.remove())}
1)),t&&!t.lazyPreloaderManaged&&t.remove()}},md=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},gd=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const a="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=r,s=[n-t];return s.push.apply(s,(0,i.A)(Array.from({length:t}).map((e,t)=>n+a+t))),void e.slides.forEach((t,n)=>{s.includes(t.column)&&md(e,n)})}const s=r+a-1;if(e.params.rewind||e.params.loop)for(let i=r-t;i<=s+t;i+=1){const t=(i%n+n)%n;(t<r||t>s)&&md(e,t)}else for(let i=Math.max(r-t,0);i<=Math.min(s+t,n-1);i+=1)i!==r&&(i>s||i<r)&&md(e,i)};function vd(e){let{swiper:t,runCallbacks:n,direction:a,step:r}=e;const{activeIndex:i,previousIndex:s}=t;let l=a;l||(l=i>s?"next":i<s?"prev":"reset"),t.emit(`transition${r}`),n&&"reset"===l?t.emit(`slideResetTransition${r}`):n&&i!==s&&(t.emit(`slideChangeTransition${r}`),"next"===l?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`))}function fd(e,t,n){const a=Vc(),{params:r}=e,i=r.edgeSwipeDetection,s=r.edgeSwipeThreshold;return!i||!(n<=s||n>=a.innerWidth-s)||"prevent"===i&&(t.preventDefault(),!0)}function wd(e){const t=this,n=Oc();let a=e;a.originalEvent&&(a=a.originalEvent);const r=t.touchEventsData;if("pointerdown"===a.type){if(null!==r.pointerId&&r.pointerId!==a.pointerId)return;r.pointerId=a.pointerId}else"touchstart"===a.type&&1===a.targetTouches.length&&(r.touchId=a.targetTouches[0].identifier);if("touchstart"===a.type)return void fd(t,a,a.targetTouches[0].pageX);const{params:i,touches:s,enabled:l}=t;if(!l||!i.simulateTouch&&"mouse"===a.pointerType||t.animating&&i.preventInteractionOnTransition)return;!t.animating&&i.cssMode&&i.loop&&t.loopFix();let o=a.target;if("wrapper"===i.touchEventsTarget&&!Xc(o,t.wrapperEl)||"which"in a&&3===a.which||"button"in a&&a.button>0||r.isTouched&&r.isMoved)return;const c=!!i.noSwipingClass&&""!==i.noSwipingClass,d=a.composedPath?a.composedPath():a.path;c&&a.target&&a.target.shadowRoot&&d&&(o=d[0]);const u=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,p=!(!a.target||!a.target.shadowRoot);if(i.noSwiping&&(p?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===Oc()||n===Vc())return null;n.assignedSlot&&(n=n.assignedSlot);const a=n.closest(e);return a||n.getRootNode?a||t(n.getRootNode().host):null}(t)}(u,o):o.closest(u)))return void(t.allowClick=!0);if(i.swipeHandler&&!o.closest(i.swipeHandler))return;s.currentX=a.pageX,s.currentY=a.pageY;const h=s.currentX,m=s.currentY;if(!fd(t,a,h))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=h,s.startY=m,r.touchStartTime=Bc(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(r.allowThresholdMove=!1);let g=!0;o.matches(r.focusableElements)&&(g=!1,"SELECT"===o.nodeName&&(r.isTouched=!1)),n.activeElement&&n.activeElement.matches(r.focusableElements)&&n.activeElement!==o&&("mouse"===a.pointerType||"mouse"!==a.pointerType&&!o.matches(r.focusableElements))&&n.activeElement.blur();const v=g&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||v)&&!o.isContentEditable&&a.preventDefault(),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",a)}function _d(e){const t=Oc(),n=this,a=n.touchEventsData,{params:r,touches:s,rtlTranslate:l,enabled:o}=n;if(!o||!r.simulateTouch&&"mouse"===e.pointerType)return;let c,d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type&&(null!==a.touchId||d.pointerId!==a.pointerId))return;if("touchmove"===d.type){if(c=(0,i.A)(d.changedTouches).find(e=>e.identifier===a.touchId),!c||c.identifier!==a.touchId)return}else c=d;if(!a.isTouched)return void(a.startMoving&&a.isScrolling&&n.emit("touchMoveOpposite",d));const u=c.pageX,p=c.pageY;if(d.preventedByNestedSwiper)return s.startX=u,void(s.startY=p);if(!n.allowTouchMove)return d.target.matches(a.focusableElements)||(n.allowClick=!1),void(a.isTouched&&(Object.assign(s,{startX:u,startY:p,currentX:u,currentY:p}),a.touchStartTime=Bc()));if(r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(p<s.startY&&n.translate<=n.maxTranslate()||p>s.startY&&n.translate>=n.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else{if(l&&(u>s.startX&&-n.translate<=n.maxTranslate()||u<s.startX&&-n.translate>=n.minTranslate()))return;if(!l&&(u<s.startX&&n.translate<=n.maxTranslate()||u>s.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(a.focusableElements)&&t.activeElement!==d.target&&"mouse"!==d.pointerType&&t.activeElement.blur(),t.activeElement&&d.target===t.activeElement&&d.target.matches(a.focusableElements))return a.isMoved=!0,void(n.allowClick=!1);a.allowTouchCallbacks&&n.emit("touchMove",d),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=u,s.currentY=p;const h=s.currentX-s.startX,m=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(h**2+m**2)<n.params.threshold)return;if(typeof a.isScrolling>"u"){let e;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?a.isScrolling=!1:h*h+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(h))/Math.PI,a.isScrolling=n.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(a.isScrolling&&n.emit("touchMoveOpposite",d),typeof a.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(a.startMoving=!0),a.isScrolling||"touchmove"===d.type&&a.preventTouchMoveFromPointerMove)return void(a.isTouched=!1);if(!a.startMoving)return;n.allowClick=!1,!r.cssMode&&d.cancelable&&d.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&d.stopPropagation();let g=n.isHorizontal()?h:m,v=n.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;r.oneWayMovement&&(g=Math.abs(g)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),s.diff=g,g*=r.touchRatio,l&&(g=-g,v=-v);const f=n.touchesDirection;n.swipeDirection=g>0?"prev":"next",n.touchesDirection=v>0?"prev":"next";const w=n.params.loop&&!r.cssMode,_="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!a.isMoved){if(w&&_&&n.loopFix({direction:n.swipeDirection}),a.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
vendor: 2,165 bytes, line 1
1n.wrapperEl.dispatchEvent(e)}a.allowMomentumBounce=!1,r.grabCursor&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",d)}if((new Date).getTime(),!1!==r._loopSwapReset&&a.isMoved&&a.allowThresholdMove&&f!==n.touchesDirection&&w&&_&&Math.abs(g)>=1)return Object.assign(s,{startX:u,startY:p,currentX:u,currentY:p,startTranslate:a.currentTranslate}),a.loopSwapReset=!0,void(a.startTranslate=a.currentTranslate);n.emit("sliderMove",d),a.isMoved=!0,a.currentTranslate=g+a.startTranslate;let b=!0,x=r.resistanceRatio;if(r.touchReleaseOnEdges&&(x=0),g>0?(w&&_&&a.allowThresholdMove&&a.currentTranslate>(r.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-("auto"!==r.slidesPerView&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),a.currentTranslate>n.minTranslate()&&(b=!1,r.resistance&&(a.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+a.startTranslate+g)**x))):g<0&&(w&&_&&a.allowThresholdMove&&a.currentTranslate<(r.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+("auto"!==r.slidesPerView&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===r.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),a.currentTranslate<n.maxTranslate()&&(b=!1,r.resistance&&(a.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-a.startTranslate-g)**x))),b&&(d.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(a.currentTranslate=a.startTranslate),r.threshold>0){if(!(Math.abs(g)>r.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);
1if(!a.allowThresholdMove)return a.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,a.currentTranslate=a.startTranslate,void(s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(a.currentTranslate),n.setTranslate(a.currentTranslate))}function bd(e){const t=this,n=t.touchEventsData;let a,r=e;if(r.originalEvent&&(r=r.originalEvent),"touchend"===r.type||"touchcancel"===r.type){if(a=(0,i.A)(r.changedTouches).find(e=>e.identifier===n.touchId),!a||a.identifier!==n.touchId)return}else{if(null!==n.touchId||r.pointerId!==n.pointerId)return;a=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&(!["pointercancel","contextmenu"].includes(r.type)||!t.browser.isSafari&&!t.browser.isWebView))return;n.pointerId=null,n.touchId=null;const{params:s,touches:l,rtlTranslate:o,slidesGrid:c,enabled:d}=t;if(!d||!s.simulateTouch&&"mouse"===r.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&s.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);s.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=Bc(),p=u-n.touchStartTime;if(t.allowClick){const e=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(e&&e[0]||r.target,e),t.emit("tap click",r),p<300&&u-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=Bc(),zc(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===l.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=s.followFinger?o?t.translate:-t.translate:-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});const m=h>=-t.maxTranslate()&&!t.params.loop;let g=0,v=t.slidesSizesGrid[0];for(let i=0;i<c.length;i+=i<s.slidesPerGroupSkip?1:s.slidesPerGroup){const e=i<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;typeof c[i+e]<"u"?(m||h>=c[i]&&h<c[i+e])&&(g=i,v=c[i+e]-c[i]):(m||h>=c[i])&&(g=i,v=c[c.length-1]-c[c.length-2])}let f=null,w=null;s.rewind&&(t.isBeginning?w=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const _=(h-c[g])/v,b=g<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(p>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(_>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?f:g+b):t.slideTo(g)),"prev"===t.swipeDirection&&(_>1-s.longSwipesRatio?t.slideTo(g+b):null!==w&&_<0&&Math.abs(_)>s.longSwipesRatio?t.slideTo(w):t.slideTo(g))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||r.target!==t.navigation.nextEl&&r.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==f?f:g+b),"prev"===t.swipeDirection&&t.slideTo(null!==w?w:g)):r.target===t.navigation.nextEl?t.slideTo(g+b):t.slideTo(g)}}function xd(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:r,snapGrid:i}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const l=s&&t.loop;if(!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||l)e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);else{const t=s?e.virtual.slides:e.slides;e.slideTo(t.length-1,0,!1,!0)}e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=a,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function yd(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function Ed(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:a}=e;if(!a)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const i=e.maxTranslate()-e.minTranslate();r=0===i?0:(e.translate-e.minTranslate())/i,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function Td(e){const t=this;hd(t,e.target),!t.params.cssMode&&("auto"===t.params.slidesPerView||t.params.autoHeight)&&t.update(
1)}function Sd(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const Nd=(e,t)=>{const n=Oc(),{params:a,el:r,wrapperEl:i,device:s}=e,l=!!a.nested,o="on"===t?"addEventListener":"removeEventListener",c=t;!r||"string"==typeof r||(n[o]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),r[o]("touchstart",e.onTouchStart,{passive:!1}),r[o]("pointerdown",e.onTouchStart,{passive:!1}),n[o]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[o]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[o]("touchend",e.onTouchEnd,{passive:!0}),n[o]("pointerup",e.onTouchEnd,{passive:!0}),n[o]("pointercancel",e.onTouchEnd,{passive:!0}),n[o]("touchcancel",e.onTouchEnd,{passive:!0}),n[o]("pointerout",e.onTouchEnd,{passive:!0}),n[o]("pointerleave",e.onTouchEnd,{passive:!0}),n[o]("contextmenu",e.onTouchEnd,{passive:!0}),(a.preventClicks||a.preventClicksPropagation)&&r[o]("click",e.onClick,!0),a.cssMode&&i[o]("scroll",e.onScroll),a.updateOnWindowResize?e[c](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",xd,!0):e[c]("observerUpdate",xd,!0),r[o]("load",e.onLoad,{capture:!0}))};const kd=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var Cd={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Ld(e,t){return function(n){void 0===n&&(n={});const a=Object.keys(n)[0],r=n[a];"object"==typeof r&&null!==r?(!0===e[a]&&(e[a]={enabled:!0}),"navigation"===a&&e[a]&&e[a].enabled&&!e[a].prevEl&&!e[a].nextEl&&(e[a].auto=!0),["pagination","scrollbar"].indexOf(a)>=0&&e[a]&&e[a].enabled&&!e[a].el&&(e[a].auto=!0),a in e&&"enabled"in r?("object"==typeof e[a]&&!("enabled"in e[a])&&(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),Gc(t,n)):Gc(t,n)):Gc(t,n)}}const Ad={eventsEmitter:dd,update:{updateSize:function(){const e=this;let t,n;const a=e.el;t=typeof e.params.width<"u"&&null!==e.params.width?e.params.width:a.clientWidth,n=typeof e.params.height<"u"&&null!==e.params.height?e.params.height:a.clientHeight,!(0===t&&e.isHorizontal()||0===n&&e.isVertical())&&(t=t-parseInt(Qc(a,"padding-left")||0,10)-parseInt(Qc(a,"padding-right")||0,10),n=n-parseInt(Qc(a,"padding-top")||0,10)-parseInt(Qc(a,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:a,slidesEl:r,rtlTranslate:i,wrongRTL:s}=e,l=e.virtual&&n.virtual.enabled,o=l?e.virtual.slides.length:e.slides.length,c=Yc(r,`.${e.params.slideClass}, swiper-slide`),d=l?e.virtual.slides.length:c.length;let u=[];const p=[],h=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));let g=n.slidesOffsetAfter;"function"==typeof g&&(g=n.slidesOffsetAfter.call(e));const v=e.snapGrid.length,f=e.slidesGrid.length,w=e.size-m-g;let _=n.spaceBetween,b=-m,x=0,y=0;if(typeof w>"u")return;"string"==typeof _&&_.indexOf("%")>=0?_=parseFloat(_.replace("%",""))/100*w:"string"==typeof _&&(_=parseFloat(_)),e.virtualSize=-_-m-g,c.forEac
vendor: 4,759 bytes, line 1
1h(e=>{i?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Uc(a,"--swiper-centered-offset-before",""),Uc(a,"--swiper-centered-offset-after","")),n.cssMode&&(Uc(a,"--swiper-slides-offset-before",`${m}px`),Uc(a,"--swiper-slides-offset-after",`${g}px`));const E=n.grid&&n.grid.rows>1&&e.grid;let T;E?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const S="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>typeof n.breakpoints[e].slidesPerView<"u").length>0;for(let N=0;N<d;N+=1){T=0;const a=c[N];if(!a||(E&&e.grid.updateSlide(N,a,c),"none"!==Qc(a,"display"))){if(l&&"auto"===n.slidesPerView)n.virtual.slidesPerViewAutoSlideSize&&(T=n.virtual.slidesPerViewAutoSlideSize),T&&a&&(n.roundLengths&&(T=Math.floor(T)),a.style[e.getDirectionLabel("width")]=`${T}px`);else if("auto"===n.slidesPerView){S&&(a.style[e.getDirectionLabel("width")]="");const r=getComputedStyle(a),i=a.style.transform,s=a.style.webkitTransform;if(i&&(a.style.transform="none"),s&&(a.style.webkitTransform="none"),n.roundLengths)T=e.isHorizontal()?td(a,"width"):td(a,"height");else{const e=t(r,"width"),n=t(r,"padding-left"),i=t(r,"padding-right"),s=t(r,"margin-left"),l=t(r,"margin-right"),o=r.getPropertyValue("box-sizing");if(o&&"border-box"===o)T=e+s+l;else{const{clientWidth:t,offsetWidth:r}=a;T=e+n+i+s+l+(r-t)}}i&&(a.style.transform=i),s&&(a.style.webkitTransform=s),n.roundLengths&&(T=Math.floor(T))}else T=(w-(n.slidesPerView-1)*_)/n.slidesPerView,n.roundLengths&&(T=Math.floor(T)),a&&(a.style[e.getDirectionLabel("width")]=`${T}px`);a&&(a.swiperSlideSize=T),h.push(T),n.centeredSlides?(b=b+T/2+x/2+_,0===x&&0!==N&&(b=b-w/2-_),0===N&&(b=b-w/2-_),Math.abs(b)<.001&&(b=0),n.roundLengths&&(b=Math.floor(b)),y%n.slidesPerGroup===0&&u.push(b),p.push(b)):(n.roundLengths&&(b=Math.floor(b)),(y-Math.min(e.params.slidesPerGroupSkip,y))%e.params.slidesPerGroup===0&&u.push(b),p.push(b),b=b+T+_),e.virtualSize+=T+_,x=T,y+=1}}if(e.virtualSize=Math.max(e.virtualSize,w)+g,i&&s&&("slide"===n.effect||"coverflow"===n.effect)&&(a.style.width=`${e.virtualSize+_}px`),n.setWrapperSize&&(a.style[e.getDirectionLabel("width")]=`${e.virtualSize+_}px`),E&&e.grid.updateWrapperSize(T,u),!n.centeredSlides){const t="auto"!==n.slidesPerView&&n.slidesPerView%1!=0,a=n.snapToSlideEdge&&!n.loop&&("auto"===n.slidesPerView||t);let r=u.length;if(a){let e;if("auto"===n.slidesPerView){e=1;let t=0;for(let n=h.length-1;n>=0&&(t+=h[n]+(n<h.length-1?_:0),t<=w);n-=1)e=h.length-n}else e=Math.floor(n.slidesPerView);r=Math.max(d-e,0)}const i=[];for(let s=0;s<u.length;s+=1){let t=u[s];n.roundLengths&&(t=Math.floor(t)),a?s<=r&&i.push(t):u[s]<=e.virtualSize-w&&i.push(t)}u=i,Math.floor(e.virtualSize-w)-Math.floor(u[u.length-1])>1&&(a||u.push(e.virtualSize-w))}if(l&&n.loop){const t=h[0]+_;if(n.slidesPerGroup>1){const a=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),r=t*n.slidesPerGroup;for(let e=0;e<a;e+=1)u.push(u[u.length-1]+r)}for(let a=0;a<e.virtual.slidesBefore+e.virtual.slidesAfter;a+=1)1===n.slidesPerGroup&&u.push(u[u.length-1]+t),p.push(p[p.length-1]+t),e.virtualSize+=t}if(0===u.length&&(u=[0]),0!==_){const t=e.isHorizontal()&&i?"marginLeft":e.getDirectionLabel("marginRight");c.filter((e,t)=>!(n.cssMode&&!n.loop)||t!==c.length-1).forEach(e=>{e.style[t]=`${_}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;h.forEach(t=>{e+=t+(_||0)}),e-=_;const t=e>w?e-w:0;u=u.map(e=>e<=0?-m:e>t?t+g:e)}if(n.centerInsufficientSlides){let e=0;if(h.forEach(t=>{e+=t+(_||0)}),e-=_,e<w){const t=(w-e)/2;u.forEach((e,n)=>{u[n]=e-t}),p.forEach((e,n)=>{p[n]=e+t})}}if(Object.assign(e,{slides:c,snapGrid:u,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Uc(a,"--swiper-centered-offset-before",-u[0]+"px"),Uc(a,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}if(d!==o&&e.emit("slidesLengthChange"),u.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==f&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,a=e.el.classList.contains(t);d<=n.maxBackfaceHiddenSlides?a||e.el.classList.add(t):a&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],a=t.virtual&&t.params.virtual.enabled;let r,i=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const s=e=>a?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>
vendor: 2,373 bytes, line 1
11)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{n.push(e)});else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length&&!a)break;n.push(s(e))}else n.push(s(t.activeIndex));for(r=0;r<n.length;r+=1)if(typeof n[r]<"u"){const e=n[r].offsetHeight;i=e>i?e:i}(i||0===i)&&(t.wrapperEl.style.height=`${i}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let a=0;a<t.length;a+=1)t[a].swiperSlideOffset=(e.isHorizontal()?t[a].offsetLeft:t[a].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:a,rtlTranslate:r,snapGrid:i}=t;if(0===a.length)return;typeof a[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let s=-e;r&&(s=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let l=n.spaceBetween;"string"==typeof l&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*t.size:"string"==typeof l&&(l=parseFloat(l));for(let o=0;o<a.length;o+=1){const e=a[o];let c=e.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=a[0].swiperSlideOffset);const d=(s+(n.centeredSlides?t.minTranslate():0)-c)/(e.swiperSlideSize+l),u=(s-i[0]+(n.centeredSlides?t.minTranslate():0)-c)/(e.swiperSlideSize+l),p=-(s-c),h=p+t.slidesSizesGrid[o],m=p>=0&&p<=t.size-t.slidesSizesGrid[o],g=p>=0&&p<t.size-1||h>1&&h<=t.size||p<=0&&h>=t.size;g&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(o)),ud(e,g,n.slideVisibleClass),ud(e,m,n.slideFullyVisibleClass),e.progress=r?-d:d,e.originalProgress=r?-u:u}},updateProgress:function(e){const t=this;if(typeof e>"u"){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:i,isEnd:s,progressLoop:l}=t;const o=i,c=s;if(0===a)r=0,i=!0,s=!0;else{r=(e-t.minTranslate())/a;const n=Math.abs(e-t.minTranslate())<1,l=Math.abs(e-t.maxTranslate())<1;i=n||r<=0,s=l||r>=1,n&&(r=0),l&&(r=1)}if(n.loop){const n=t.getSlideIndexByData(0),a=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[n],i=t.slidesGrid[a],s=t.slidesGrid[t.slidesGrid.length-1],o=Math.abs(e);l=o>=r?(o-r)/s:(o+s-i)/s,l>1&&(l-=1)}Object.assign(t,{progress:r,progressLoop:l,isBeginning:i,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),i&&
vendor: 4,979 bytes, line 1
1!o&&t.emit("reachBeginning toEdge"),s&&!c&&t.emit("reachEnd toEdge"),(o&&!i||c&&!s)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:a,activeIndex:r}=e,i=e.virtual&&n.virtual.enabled,s=e.grid&&n.grid&&n.grid.rows>1,l=e=>Yc(a,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let o,c,d;if(i)if(n.loop){let t=r-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),o=l(`[data-swiper-slide-index="${t}"]`)}else o=l(`[data-swiper-slide-index="${r}"]`);else s?(o=t.find(e=>e.column===r),d=t.find(e=>e.column===r+1),c=t.find(e=>e.column===r-1)):o=t[r];o&&(s||(d=function(e,t){const n=[];for(;e.nextElementSibling;){const a=e.nextElementSibling;t?a.matches(t)&&n.push(a):n.push(a),e=a}return n}(o,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!d&&(d=t[0]),c=function(e,t){const n=[];for(;e.previousElementSibling;){const a=e.previousElementSibling;t?a.matches(t)&&n.push(a):n.push(a),e=a}return n}(o,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!c&&(c=t[t.length-1]))),t.forEach(e=>{pd(e,e===o,n.slideActiveClass),pd(e,e===d,n.slideNextClass),pd(e,e===c,n.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:a,params:r,activeIndex:i,realIndex:s,snapIndex:l}=t;let o,c=e;const d=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(typeof c>"u"&&(c=function(e){const{slidesGrid:t,params:n}=e,a=e.rtlTranslate?e.translate:-e.translate;let r;for(let i=0;i<t.length;i+=1)typeof t[i+1]<"u"?a>=t[i]&&a<t[i+1]-(t[i+1]-t[i])/2?r=i:a>=t[i]&&a<t[i+1]&&(r=i+1):a>=t[i]&&(r=i);return n.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}(t)),a.indexOf(n)>=0)o=a.indexOf(n);else{const e=Math.min(r.slidesPerGroupSkip,c);o=e+Math.floor((c-e)/r.slidesPerGroup)}if(o>=a.length&&(o=a.length-1),c===i&&!t.params.loop)return void(o!==l&&(t.snapIndex=o,t.emit("snapIndexChange")));if(c===i&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=d(c));const u=t.grid&&r.grid&&r.grid.rows>1;let p;if(t.virtual&&r.virtual.enabled)p=r.loop?d(c):c;else if(u){const e=t.slides.find(e=>e.column===c);let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),p=Math.floor(n/r.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:l,snapIndex:o,previousRealIndex:s,realIndex:p,previousIndex:i,activeIndex:c}),t.initialized&&gd(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,a=n.params;let r=e.closest(`.${a.slideClass}, swiper-slide`);!r&&n.isElement&&t&&t.length>1&&t.includes(e)&&(0,i.A)(t.slice(t.indexOf(e)+1,t.length)).forEach(e=>{!r&&e.matches&&e.matches(`.${a.slideClass}, swiper-slide`)&&(r=e)});let s,l=!1;if(r)for(let i=0;i<n.slides.length;i+=1)if(n.slides[i]===r){l=!0,s=i;break}if(!r||!l)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=r,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=s,a.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:a,wrapperEl:r}=this;if(t.virtualTranslate)return n?-a:a;if(t.cssMode)return a;let i=Hc(r,e);return i+=this.cssOverflowAdjustment(),n&&(i=-i),i||0},setTranslate:function(e,t){const n=this,{rtlTranslate:a,params:r,wrapperEl:i,progress:s}=n;let l,o=0,c=0;n.isHorizontal()?o=a?-e:e:c=e,r.roundLengths&&(o=Math.floor(o),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?o:c,r.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-o:-c:r.virtualTranslate||(n.isHorizontal()?o-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),i.style.transform=`translate3d(${o}px, ${c}px, 0px)`);const d=n.maxTranslate()-n.minTranslate();l=0===d?0:(e-n.minTranslate())/d,l!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,a,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===a&&(a=!0);const i=this,{params:s,wrapperEl:l}=i;if(i.animating&&s.preventInteractionOnTransition)return!1;const o=i.minTranslate(),c=i.maxTranslate();let d;if(d=a&&e>o?o:a&&e<c?c:e,i.updateProgress(d),s.cssMode){const e=i.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-d;else{if(!i.support.smoothScroll)return Wc({swiper:i,targetPosition:-d,side:e?"left"
1:"top"}),!0;l.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(i.setTransition(0),i.setTranslate(d),n&&(i.emit("beforeTransitionStart",t,r),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(d),n&&(i.emit("beforeTransitionStart",t,r),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(e){!i||i.destroyed||e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,i.animating=!1,n&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:a}=n;a.cssMode||(a.autoHeight&&n.updateAutoHeight(),vd({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:a}=n;n.animating=!1,!a.cssMode&&(n.setTransition(0),vd({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,n,a,r){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const i=this;let s=e;s<0&&(s=0);const{params:l,snapGrid:o,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:p,wrapperEl:h,enabled:m}=i;if(!m&&!a&&!r||i.destroyed||i.animating&&l.preventInteractionOnTransition)return!1;typeof t>"u"&&(t=i.params.speed);const g=Math.min(i.params.slidesPerGroupSkip,s);let v=g+Math.floor((s-g)/i.params.slidesPerGroup);v>=o.length&&(v=o.length-1);const f=-o[v];if(l.normalizeSlideIndex)for(let x=0;x<c.length;x+=1){const e=-Math.floor(100*f),t=Math.floor(100*c[x]),n=Math.floor(100*c[x+1]);typeof c[x+1]<"u"?e>=t&&e<n-(n-t)/2?s=x:e>=t&&e<n&&(s=x+1):e>=t&&(s=x)}if(i.initialized&&s!==u&&(!i.allowSlideNext&&(p?f>i.translate&&f>i.minTranslate():f<i.translate&&f<i.minTranslate())||!i.allowSlidePrev&&f>i.translate&&f>i.maxTranslate()&&(u||0)!==s))return!1;let w;s!==(d||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(f),w=s>u?"next":s<u?"prev":"reset";const _=i.virtual&&i.params.virtual.enabled;if((!_||!r)&&(p&&-f===i.translate||!p&&f===i.translate))return i.updateActiveIndex(s),l.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==l.effect&&i.setTranslate(f),"reset"!==w&&(i.transitionStart(n,w),i.transitionEnd(n,w)),!1;if(l.cssMode){const e=i.isHorizontal(),n=p?f:-f;if(0===t)_&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),_&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[e?"scrollLeft":"scrollTop"]=n})):h[e?"scrollLeft":"scrollTop"]=n,_&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1});else{if(!i.support.smoothScroll)return Wc({swiper:i,targetPosition:n,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}const b=cd().isSafari;return _&&!r&&b&&i.isElement&&i.virtual.update(!1,!1,s),i.setTransition(t),i.setTranslate(f),i.updateActiveIndex(s),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,a),i.transitionStart(n,w),0===t?i.transitionEnd(n,w):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){!i||i.destroyed||e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,w))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,a){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const r=this;if(r.destroyed)return;typeof t>"u"&&(t=r.params.speed);const i=r.grid&&r.params.grid&&r.params.grid.rows>1;let s=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)s+=r.virtual.slidesBefore;else{let e;if(i){const t=s*r.params.grid.rows;e=r.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else e=r.getSlideIndexByData(s);const t=i?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:n,slidesOffsetBefore:l,slidesOffsetAfter:o}=r.params,c=n||!!l||!!o;let d=r.params.slidesPerView;"auto"===d?d=r.slidesPerViewDynamic():(d=Math.ceil(parseFloat(r.params.slidesPerView,10)),c&&d%2==0&&(d+=1));let u=t-e<d;if(c&&(u=u||e<Math.ceil(d/2)),a&&c&&"auto"!==r.params.slidesPerView&&!i&&(u=!1),u){const n=c?e<r.activeIndex?"prev":"next":e-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?r.realIndex:void 0})}if(i){const e=s*r.params.grid.rows;s=r.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else s=r.getSlideIndexByData(s)}return requestAnimationFrame(()=>{r.slideTo(s,t,n,a)}),r},slideNext:function(e,t,n){void 0===t&&(t=!0);const a=this,{enabled:r,params:i,animating:s}=a;if(!r||a.destroyed)return a;typeof e>"u"&&(e=a.params.speed);let l=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndex<i.slidesPerGroupSkip?1:l,c=a.virtual&&i.virtual.enabled;if(i.loop){if(s&&!c&&i.loopPreventsSliding)return!1;if(a.loopFix({direction:"next"}),a._clientLeft=a.wrapperEl.clientLeft,a.activeIndex===a.slides.length-1&&i.cssMode)return requestAnimationFrame(()=>{a.slideTo(a.activeIndex+o,e,t,n)}),!0}return i.rewind&&a.isEnd?a.slideTo(0,e,t,n):a.slideTo(a.activeIndex+o,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);const a=this,{params:r,snapGrid:i,slidesGrid:s,rtlTranslate:l,enabled:o,animating:c}=a;if(!o||a.destroyed)return a;typeof e>"u"&&(e=a.params.speed);const d=a.virtual&&r.virtual.enabled;if(r.loop){if(c&&!d&&r.loopPreventsSliding)return!1;a.loopFix({direction:"prev"}),a._clientLeft=a.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=u(l?a.translate:-a.translate),h=i.map(e=>u(e)),m=r.freeMode&&r.freeMode.enabled;let g=i[h.indexOf(p)-1];if(typeof g>"u"&&(r.cssMode||m)){let e;
vendor: 5,649 bytes, line 1
1i.forEach((t,n)=>{p>=t&&(e=n)}),typeof e<"u"&&(g=m?i[e]:i[e>0?e-1:e])}let v=0;if(typeof g<"u"&&(v=s.indexOf(g),v<0&&(v=a.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(v=v-a.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),r.rewind&&a.isBeginning){const r=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(r,e,t,n)}return r.loop&&0===a.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{a.slideTo(v,e,t,n)}),!0):a.slideTo(v,e,t,n)},slideReset:function(e,t,n){void 0===t&&(t=!0);const a=this;if(!a.destroyed)return typeof e>"u"&&(e=a.params.speed),a.slideTo(a.activeIndex,e,t,n)},slideToClosest:function(e,t,n,a){void 0===t&&(t=!0),void 0===a&&(a=.5);const r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);let i=r.activeIndex;const s=Math.min(r.params.slidesPerGroupSkip,i),l=s+Math.floor((i-s)/r.params.slidesPerGroup),o=r.rtlTranslate?r.translate:-r.translate;if(o>=r.snapGrid[l]){const e=r.snapGrid[l];o-e>(r.snapGrid[l+1]-e)*a&&(i+=r.params.slidesPerGroup)}else{const e=r.snapGrid[l-1];o-e<=(r.snapGrid[l]-e)*a&&(i-=r.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,r.slidesGrid.length-1),r.slideTo(i,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,a="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,i=e.getSlideIndexWhenGrid(e.clickedIndex);const s=e.isElement?"swiper-slide":`.${t.slideClass}`,l=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(r):i>(l?(e.slides.length-a)/2-(e.params.grid.rows-1):e.slides.length-a)?(e.loopFix(),i=e.getSlideIndex(Yc(n,`${s}[data-swiper-slide-index="${r}"]`)[0]),zc(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}},loop:{loopCreate:function(e,t){const n=this,{params:a,slidesEl:r}=n;if(!a.loop||n.virtual&&n.params.virtual.enabled)return;const i=()=>{Yc(r,`.${a.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},s=n.grid&&a.grid&&a.grid.rows>1;a.loopAddBlankSlides&&(a.slidesPerGroup>1||s)&&(()=>{const e=Yc(r,`.${a.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())})();const l=a.slidesPerGroup*(s?a.grid.rows:1),o=n.slides.length%l!==0,c=s&&n.slides.length%a.grid.rows!==0,d=e=>{for(let t=0;t<e;t+=1){const e=n.isElement?Kc("swiper-slide",[a.slideBlankClass]):Kc("div",[a.slideClass,a.slideBlankClass]);n.slidesEl.append(e)}};if(o){if(a.loopAddBlankSlides){d(l-n.slides.length%l),n.recalcSlides(),n.updateSlides()}else Zc("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(c){if(a.loopAddBlankSlides){d(a.grid.rows-n.slides.length%a.grid.rows),n.recalcSlides(),n.updateSlides()}else Zc("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();const u=a.centeredSlides||!!a.slidesOffsetBefore||!!a.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:u?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:a,setTranslate:r,activeSlideIndex:i,initial:s,byController:l,byMousewheel:o}=void 0===e?{}:e;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");const{slides:d,allowSlidePrev:u,allowSlideNext:p,slidesEl:h,params:m}=c,{centeredSlides:g,slidesOffsetBefore:v,slidesOffsetAfter:f,initialSlide:w}=m,_=g||!!v||!!f;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&m.virtual.enabled)return n&&(_||0!==c.snapIndex?_&&c.snapIndex<m.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(c.virtual.slidesBefore,0,!1,!0):c.slideTo(c.virtual.slides.length,0,!1,!0)),c.allowSlidePrev=u,c.allowSlideNext=p,void c.emit("loopFix");let b=m.slidesPerView;"auto"===b?b=c.slidesPerViewDynamic():(b=Math.ceil(parseFloat(m.slidesPerView,10)),_&&b%2==0&&(b+=1));const x=m.slidesPerGroupAuto?b:m.slidesPerGroup;let y=_?Math.max(x,Math.ceil(b/2)):x;y%x!==0&&(y+=x-y%x),y+=m.loopAdditionalSlides,c.loopedSlides=y;const E=c.grid&&m.grid&&m.grid.rows>1;d.length<b+y||"cards"===c.params.effect&&d.length<b+2*y?Zc("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):E&&"row"===m.grid.fill&&Zc("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const T=[],S=[],N=E?Math.ceil(d.length/m.grid.rows):d.length,k=s&&N-w<b&&!_;let C=k?w:c.activeIndex;typeof i>"u"?i=c.getSlideIndex(d.find(e=>e.classList.contains(m.slideActiveClass))):C=i;const L="next"===a||!a,A="prev"===a||!a;let j=0,R=0;const M=(E?d[i].column:i)+(_&&typeof r>"u"?-b/2+.5:0);if(M<y){j=Math.max(y-M,x);for(let e=0;e<y-M;e+=1){const t=e-Math.floor(e/N)*N;if(E){const e=N-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&T.push(t)}else T.push(N-t-1)}}else if(M+b>N-y){R=Math.max(M-(N-2*y),x),k&&(R=Math.max(R,b-N+w+1));for(let e=0;e<R;e+=1){const t=e-Math.floor(e/N)*N;E?d.forEach((e,n)=>{e.column===t&&S.push(n)}):S.push(t)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),"cards"===c.params.effect&&d.length<b+2*y&&(S.includes(i)&&S.splice(S.indexOf(i),1),T.includes(i)&&T.splice(T.indexOf(i),1)),A&&T.forEach(e
vendor: 4,735 bytes, line 1
1=>{d[e].swiperLoopMoveDOM=!0,h.prepend(d[e]),d[e].swiperLoopMoveDOM=!1}),L&&S.forEach(e=>{d[e].swiperLoopMoveDOM=!0,h.append(d[e]),d[e].swiperLoopMoveDOM=!1}),c.recalcSlides(),"auto"===m.slidesPerView?c.updateSlides():E&&(T.length>0&&A||S.length>0&&L)&&c.slides.forEach((e,t)=>{c.grid.updateSlide(t,e,c.slides)}),m.watchSlidesProgress&&c.updateSlidesOffset(),n)if(T.length>0&&A){if(typeof t>"u"){const e=c.slidesGrid[C],t=c.slidesGrid[C+j]-e;o?c.setTranslate(c.translate-t):(c.slideTo(C+Math.ceil(j),0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else if(r){const e=E?T.length/m.grid.rows:T.length;c.slideTo(c.activeIndex+e,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(S.length>0&&L)if(typeof t>"u"){const e=c.slidesGrid[C],t=c.slidesGrid[C-R]-e;o?c.setTranslate(c.translate-t):(c.slideTo(C-R,0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else{const e=E?S.length/m.grid.rows:S.length;c.slideTo(c.activeIndex-e,0,!1,!0)}if(c.allowSlidePrev=u,c.allowSlideNext=p,c.controller&&c.controller.control&&!l){const e={slideRealIndex:t,direction:a,setTranslate:r,activeSlideIndex:i,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===m.slidesPerView&&n})}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...e,slideTo:c.controller.control.params.slidesPerView===m.slidesPerView&&n})}c.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const a=[];e.slides.forEach(e=>{const t=typeof e.swiperSlideIndex>"u"?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;a[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),a.forEach(e=>{n.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}},grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=wd.bind(e),e.onTouchMove=_d.bind(e),e.onTouchEnd=bd.bind(e),e.onDocumentTouchStart=Sd.bind(e),t.cssMode&&(e.onScroll=Ed.bind(e)),e.onClick=yd.bind(e),e.onLoad=Td.bind(e),Nd(e,"on")},detachEvents:function(){Nd(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:a,el:r}=e,i=a.breakpoints;if(!i||i&&0===Object.keys(i).length)return;const s=Oc(),l="window"!==a.breakpointsBase&&a.breakpointsBase?"container":a.breakpointsBase,o=["window","container"].includes(a.breakpointsBase)||!a.breakpointsBase?e.el:s.querySelector(a.breakpointsBase),c=e.getBreakpoint(i,l,o);if(!c||e.currentBreakpoint===c)return;const d=(c in i?i[c]:void 0)||e.originalParams,u=kd(e,a),p=kd(e,d),h=e.params.grabCursor,m=d.grabCursor,g=a.enabled;u&&!p?(r.classList.remove(`${a.containerModifierClass}grid`,`${a.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&p&&(r.classList.add(`${a.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===a.grid.fill)&&r.classList.add(`${a.containerModifierClass}grid-column`),e.emitContainerClasses()),h&&!m?e.unsetGrabCursor():!h&&m&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(typeof d[t]>"u")return;const n=a[t]&&a[t].enabled,r=d[t]&&d[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()});const v=d.direction&&d.direction!==a.direction,f=a.loop&&(d.slidesPerView!==a.slidesPerView||v),w=a.loop;v&&n&&e.changeDirection(),Gc(e.params,d);const _=e.params.enabled,b=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),g&&!_?e.disable():!g&&_&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",d),n&&(f?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!w&&b?(e.loopCreate(t),e.updateSlides()):w&&!b&&e.loopDestroy()),e.emit("breakpoint",d)}
1,getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let a=!1;const r=Vc(),i="window"===t?r.innerHeight:n.clientHeight,s=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:i*t,point:e}}return{value:e,point:e}});s.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let l=0;l<s.length;l+=1){const{point:e,value:i}=s[l];"window"===t?r.matchMedia(`(min-width: ${i}px)`).matches&&(a=e):i<=n.clientWidth&&(a=e)}return a||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:a}=n;if(a){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var e;const t=this,{classNames:n,params:a,rtl:r,el:s,device:l}=t,o=function(e,t){const n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(a=>{e[a]&&n.push(t+a)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",a.direction,{"free-mode":t.params.freeMode&&a.freeMode.enabled},{autoheight:a.autoHeight},{rtl:r},{grid:a.grid&&a.grid.rows>1},{"grid-column":a.grid&&a.grid.rows>1&&"column"===a.grid.fill},{android:l.android},{ios:l.ios},{"css-mode":a.cssMode},{centered:a.cssMode&&a.centeredSlides},{"watch-progress":a.watchSlidesProgress}],a.containerModifierClass);n.push.apply(n,(0,i.A)(o)),(e=s.classList).add.apply(e,(0,i.A)(n)),t.emitContainerClasses()},removeClasses:function(){var e;const{el:t,classNames:n}=this;!t||"string"==typeof t||((e=t.classList).remove.apply(e,(0,i.A)(n)),this.emitContainerClasses())}}},jd={};let Rd=function(){function e(){let t,n;for(var a=arguments.length,r=new Array(a),s=0;s<a;s++)r[s]=arguments[s];1===r.length&&r[0].constructor&&"Object"===Object.prototype.toString.call(r[0]).slice(8,-1)?n=r[0]:[t,n]=r,n||(n={}),n=Gc({},n),t&&!n.el&&(n.el=t);const l=Oc();if(n.el&&"string"==typeof n.el&&l.querySelectorAll(n.el).length>1){const t=[];return l.querySelectorAll(n.el).forEach(a=>{const r=Gc({},n,{el:a});t.push(new e(r))}),t}const o=this;o.__swiper__=!0,o.support=ld(),o.device=od({userAgent:n.userAgent}),o.browser=cd(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=(0,i.A)(o.__modules__),n.modules&&Array.isArray(n.modules)&&n.modules.forEach(e=>{"function"==typeof e&&o.modules.indexOf(e)<0&&o.modules.push(e)});const c={};o.modules.forEach(e=>{e({params:n,swiper:o,extendParams:Ld(n,c),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const d=Gc({},Cd,c);return o.params=Gc({},d,jd,n),o.originalParams=Gc({},o.params),o.passedParams=Gc({}
1,n),o.params&&o.params.on&&Object.keys(o.params.on).forEach(e=>{o.on(e,o.params.on[e])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===o.params.direction},isVertical(){return"vertical"===o.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}var t=e.prototype;return t.getDirectionLabel=function(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]},t.getSlideIndex=function(e){const{slidesEl:t,params:n}=this,a=Jc(Yc(t,`.${n.slideClass}, swiper-slide`)[0]);return Jc(e)-a},t.getSlideIndexByData=function(e){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e))},t.getSlideIndexWhenGrid=function(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e},t.recalcSlides=function(){const{slidesEl:e,params:t}=this;this.slides=Yc(e,`.${t.slideClass}, swiper-slide`)},t.enable=function(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))},t.disable=function(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))},t.setProgress=function(e,t){const n=this;e=Math.min(Math.max(e,0),1);const a=n.minTranslate(),r=(n.maxTranslate()-a)*e+a;n.translateTo(r,typeof t>"u"?0:t),n.updateActiveIndex(),n.updateSlidesClasses()},t.emitContainerClasses=function(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))},t.getSlideClasses=function(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")},t.emitSlidesClasses=function(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(n=>{const a=e.getSlideClasses(n);t.push({slideEl:n,classNames:a}),e.emit("_slideClass",n,a)}),e.emit("_slideClasses",t)},t.slidesPerViewDynamic=function(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:a,slidesGrid:r,slidesSizesGrid:i,size:s,activeIndex:l}=this;let o=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=a[l]?Math.ceil(a[l].swiperSlideSize):0;for(let n=l+1;n<a.length;n+=1)a[n]&&!e&&(t+=Math.ceil(a[n].swiperSlideSize),o+=1,t>s&&(e=!0));for(let n=l-1;n>=0;n-=1)a[n]&&!e&&(t+=a[n].swiperSlideSize,o+=1,t>s&&(e=!0))}else if("current"===e)for(let c=l+1;c<a.length;c+=1)(t?r[c]+i[c]-r[l]<s:r[c]-r[l]<s)&&(o+=1);else for(let c=l-1;c>=0;c-=1)r[l]-r[c]<s&&(o+=1);return o},t.update=function(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function a(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(n.breakpoints&&e.setBreakpoint(),(0,i.A)(e.el.querySelectorAll('[loading="lazy"]')).forEac
1h(t=>{t.complete&&hd(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)a(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(t.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||a()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")},t.changeDirection=function(e,t){void 0===t&&(t=!0);const n=this,a=n.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${a}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n},t.changeLanguageDirection=function(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())},t.mount=function(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const a=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(a()):Yc(n,a())[0];return!r&&t.params.createElements&&(r=Kc("div",t.params.wrapperClass),n.append(r),Yc(n,`.${t.params.slideClass}`).forEach(e=>{r.append(e)})),Object.assign(t,{el:n,wrapperEl:r,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===Qc(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===Qc(n,"direction")),wrongRTL:"-webkit-box"===Qc(r,"display")}),!0},t.init=function(e){const t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const n=(0,i.A)(t.el.querySelectorAll('[loading="lazy"]'));return t.isElement&&n.push.apply(n,(0,i.A)(t.hostEl.querySelectorAll('[loading="lazy"]'))),n.forEach(e=>{e.complete?hd(t,e):e.addEventListener("load",e=>{hd(t,e.target)})}),gd(t),t.initialized=!0,gd(t),t.emit("init"),t.emit("afterInit"),t},t.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:a,el:r,wrapperEl:i,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),t&&(n.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),i&&i.removeAttribute("style"),s&&s.length&&s.forEach(e=>{e.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch{}try{delete t[e]}catch{}})}(n)),n.destroyed=!0),null},e.extendDefaults=function(e){Gc(jd,e)},e.installModule=function(t){e.prototype.__modules__||(e.prototype.__modules__=[]);const n=e.prototype.__modules__;"function"==typeof t&&n.indexOf(t)<0&&n.push(t)},e.use=function(t){return Array.isArray(t)?(t.forEach(t=>e.installModule(t)),e):(e.installModule(t),e)},(0,r.A)(e,null,[{key:"extendedDefaults",get:function(){return jd}},{key:"defaults",get:function(){return Cd}}])}();function Md(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function Id(e){let{swiper:t,extendParams:n,on:a,emit:r}=e;const s="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),t.pagination={el:null,bullets:[]};let l,o=0;function c(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function d(e,n){const{bulletActiveClass:a}=t.params.pagination;e&&((e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${a}-${n}`),(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&e.classList.add(`${a}-${n}-${n}`)))}function u(e){const n=e.target.closest(Md(t.params.pagination.bulletClass));if(!n)return;e.preventDefault();const a=Jc(n)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===a)return;const e=function(e,t,n){return(t%=n)===1+(e%=n)?"next":t===e-1?"previous":void 0}(t.realIndex,a,t.slides.length);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(a)}else t.slideTo(a)}function p(){const e=t.rtl,n=t.params.pagination;if(c())return;let a,s,u=t.pagination.el;u=nd(u);const p=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,h=t.params.loop?Math.
1ceil(p/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(s=t.previousRealIndex||0,a=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(a=t.snapIndex,s=t.previousSnapIndex):(s=t.previousIndex||0,a=t.activeIndex||0),"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const r=t.pagination.bullets;let c,p,h;if(n.dynamicBullets&&(l=td(r[0],t.isHorizontal()?"width":"height"),u.forEach(e=>{e.style[t.isHorizontal()?"width":"height"]=l*(n.dynamicMainBullets+4)+"px"}),n.dynamicMainBullets>1&&void 0!==s&&(o+=a-(s||0),o>n.dynamicMainBullets-1?o=n.dynamicMainBullets-1:o<0&&(o=0)),c=Math.max(a-o,0),p=c+(Math.min(r.length,n.dynamicMainBullets)-1),h=(p+c)/2),r.forEach(e=>{var t;const a=(0,i.A)(["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${n.bulletActiveClass}${e}`)).map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();(t=e.classList).remove.apply(t,(0,i.A)(a))}),u.length>1)r.forEach(e=>{var r,s;const l=Jc(e);l===a?(r=e.classList).add.apply(r,(0,i.A)(n.bulletActiveClass.split(" "))):t.isElement&&e.setAttribute("part","bullet"),n.dynamicBullets&&(l>=c&&l<=p&&(s=e.classList).add.apply(s,(0,i.A)(`${n.bulletActiveClass}-main`.split(" "))),l===c&&d(e,"prev"),l===p&&d(e,"next"))});else{var m;const e=r[a];if(e&&(m=e.classList).add.apply(m,(0,i.A)(n.bulletActiveClass.split(" "))),t.isElement&&r.forEach((e,t)=>{e.setAttribute("part",t===a?"bullet-active":"bullet")}),n.dynamicBullets){const e=r[c],t=r[p];for(let a=c;a<=p;a+=1){var g;r[a]&&(g=r[a].classList).add.apply(g,(0,i.A)(`${n.bulletActiveClass}-main`.split(" ")))}d(e,"prev"),d(t,"next")}}if(n.dynamicBullets){const a=Math.min(r.length,n.dynamicMainBullets+4),i=(l*a-l)/2-h*l,s=e?"right":"left";r.forEach(e=>{e.style[t.isHorizontal()?s:"top"]=`${i}px`})}}u.forEach((e,i)=>{if("fraction"===n.type&&(e.querySelectorAll(Md(n.currentClass)).forEach(e=>{e.textContent=n.formatFractionCurrent(a+1)}),e.querySelectorAll(Md(n.totalClass)).forEach(e=>{e.textContent=n.formatFractionTotal(h)})),"progressbar"===n.type){let r;r=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const i=(a+1)/h;let s=1,l=1;"horizontal"===r?s=i:l=i,e.querySelectorAll(Md(n.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${l})`,e.style.transitionDuration=`${t.params.speed}ms`})}"custom"===n.type&&n.renderCustom?(ad(e,n.renderCustom(t,a+1,h)),0===i&&r("paginationRender",e)):(0===i&&r("paginationRender",e),r("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass)})}function h(){const e=t.params.pagination;if(c())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let a=t.pagination.el;a=nd(a);let s="";if("bullets"===e.type){let a=t.params.loop?Math.ceil(n/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&a>n&&(a=n);for(let n=0;n<a;n+=1)e.renderBullet?s+=e.renderBullet.call(t,n,e.bulletClass):s+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],a.forEach(n=>{var a;"custom"!==e.type&&ad(n,s||""),"bullets"===e.type&&(a=t.pagination.bullets).push.apply(a,(0,i.A)(n.querySelectorAll(Md(e.bulletClass))))}),"custom"!==e.type&&r("paginationRender",a[0])}function m(){t.params.pagination=function(e,t,n,a){return e.params.createElements&&Object.keys(a).forEach(r=>{if(!n[r]&&!0===n.auto){let i=Yc(e.el,`.${a[r]}`)[0];i||(i=Kc("div",a[r]),i.className=a[r],e.el.append(i)),n[r]=i,t[r]=i}}),n}(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n;"string"==typeof e.el&&t.isElement&&(n=t.el.querySelector(e.el)),!n&&"string"==typeof e.el&&(n=(0,i.A)(document.querySelectorAll(e.el))),n||(n=e.el),n&&0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(n)&&n.length>1&&(n=(0,i.A)(t.el.querySelectorAll(e.el)),n.length>1&&(n=n.find(e=>ed(e,".swiper")[0]===t.el))),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(t.pagination,{el:n}
1),n=nd(n),n.forEach(n=>{var a;"bullets"===e.type&&e.clickable&&(a=n.classList).add.apply(a,(0,i.A)((e.clickableClass||"").split(" "))),n.classList.add(e.modifierClass+e.type),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.classList.add(`${e.modifierClass}${e.type}-dynamic`),o=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.classList.add(e.progressbarOppositeClass),e.clickable&&n.addEventListener("click",u),t.enabled||n.classList.add(e.lockClass)}))}function g(){const e=t.params.pagination;if(c())return;let n=t.pagination.el;n&&(n=nd(n),n.forEach(n=>{var a;n.classList.remove(e.hiddenClass),n.classList.remove(e.modifierClass+e.type),n.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&((a=n.classList).remove.apply(a,(0,i.A)((e.clickableClass||"").split(" "))),n.removeEventListener("click",u))})),t.pagination.bullets&&t.pagination.bullets.forEach(t=>{var n;return(n=t.classList).remove.apply(n,(0,i.A)(e.bulletActiveClass.split(" ")))})}a("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:n}=t.pagination;
1n=nd(n),n.forEach(n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),a("init",()=>{!1===t.params.pagination.enabled?v():(m(),h(),p())}),a("activeIndexChange",()=>{typeof t.snapIndex>"u"&&p()}),a("snapIndexChange",()=>{p()}),a("snapGridLengthChange",()=>{h(),p()}),a("destroy",()=>{g()}),a("enable disable",()=>{let{el:e}=t.pagination;e&&(e=nd(e),e.forEach(e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),a("lock unlock",()=>{p()}),a("click",(e,n)=>{const a=n.target,i=nd(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&i&&i.length>0&&!a.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&a===t.navigation.nextEl||t.navigation.prevEl&&a===t.navigation.prevEl))return;const e=i[0].classList.contains(t.params.pagination.hiddenClass);r(!0===e?"paginationShow":"paginationHide"),i.forEach(e=>e.classList.toggle(t.params.pagination.hiddenClass))}});const v=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=nd(e),e.forEach(e=>e.classList.add(t.params.pagination.paginationDisabledClass))),g()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=nd(e),e.forEach(e=>e.classList.remove(t.params.pagination.paginationDisabledClass))),m(),h(),p()},disable:v,render:h,update:p,init:m,destroy:g})}function Pd(e){let{swiper:t,extendParams:n,on:a}=e;n({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),t.a11y={clicked:!1};let r,i,s=null,l=(new Date).getTime();function o(e){const t=s;0!==t.length&&ad(t,e)}function c(e){(e=nd(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function d(e){(e=nd(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function u(e,t){(e=nd(e)).forEach(e=>{e.setAttribute("role",t)})}function p(e,t){(e=nd(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function h(e,t){(e=nd(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function m(e){(e=nd(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function g(e){(e=nd(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function v(e){if(13!==e.keyCode&&32!==e.keyCode)return;const n=t.params.a11y,a=e.target;if(!t.pagination||!t.pagination.el||a!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(Md(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=nd(t.navigation.prevEl);nd(t.navigation.nextEl).includes(a)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?o(n.lastSlideMessage):o(n.nextSlideMessage)),e.includes(a)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?o(n.firstSlideMessage):o(n.prevSlideMessage))}t.pagination&&a.matches(Md(t.params.pagination.bulletClass))&&a.click()}}function f(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function w(){return f()&&t.params.pagination.clickable}const _=(e,t,n)=>{c(e),"BUTTON"!==e.tagName&&(u(e,"button"),e.addEventListener("keydown",v)),h(e,n),function(e,t){(e=nd(e)).forEach(e=>{e.setAttribute("aria-controls",t)})}(e,t)},b=e=>{i&&i!==e.target&&!i.contains(e.target)&&(r=!0),t.a11y.clicked=!0},x=()=>{r=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},y=e=>{l=(new Date).getTime()},E=e=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus||(new Date).getTime()-l<100)return;const n=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!n||!t.slides.includes(n))return;i=n;const a=t.virtual&&t.params.virtual.enabled,s=(a?parseInt(n.getAttribute("data-swiper-slide-index"),10):t.slides.indexOf(n))===t.activeIndex,o=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(n);s||o||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame(()=>
1{r||(t.params.loop?t.slideToLoop(t.getSlideIndexWhenGrid(parseInt(n.getAttribute("data-swiper-slide-index"))),0):a?t.slideTo(t.getSlideIndexWhenGrid(parseInt(n.getAttribute("data-swiper-slide-index"),10)),0):t.slideTo(t.getSlideIndexWhenGrid(t.slides.indexOf(n)),0),r=!1)}))},T=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&p(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&u(t.slides,e.slideRole);const n=t.slides.length;e.slideLabelMessage&&t.slides.forEach((a,r)=>{const i=t.params.loop?parseInt(a.getAttribute("data-swiper-slide-index"),10):r;h(a,e.slideLabelMessage.replace(/\{\{index\}\}/,i+1).replace(/\{\{slidesLength\}\}/,n))})},S=()=>{const e=t.params.a11y;t.el.append(s);const n=t.el;e.containerRoleDescriptionMessage&&p(n,e.containerRoleDescriptionMessage),e.containerMessage&&h(n,e.containerMessage),e.containerRole&&u(n,e.containerRole);const a=t.wrapperEl,r=e.id||a.getAttribute("id")||`swiper-wrapper-${function(e){return void 0===e&&(e=16),"x".repeat(e).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`;if(function(e,t){(e=nd(e)).forEach(e=>{e.setAttribute("id",t)})}(a,r),e.wrapperLiveRegion){!function(e,t){(e=nd(e)).forEach(e=>{e.setAttribute("aria-live",t)})}(a,t.params.autoplay&&t.params.autoplay.enabled?"off":"polite")}T();let{nextEl:i,prevEl:l}=t.navigation?t.navigation:{};i=nd(i),l=nd(l),i&&i.forEach(t=>_(t,r,e.nextSlideMessage)),l&&l.forEach(t=>_(t,r,e.prevSlideMessage)),w()&&nd(t.pagination.el).forEach(e=>{e.addEventListener("keydown",v)}),Oc().addEventListener("visibilitychange",y),t.el.addEventListener("focus",E,!0),t.el.addEventListener("pointerdown",b,!0),t.el.addEventListener("pointerup",x,!0)};a("beforeInit",()=>{s=Kc("span",t.params.a11y.notificationClass),s.setAttribute("aria-live","assertive"),s.setAttribute("aria-atomic","true")}),a("afterInit",()=>{t.params.a11y.enabled&&S()}),a("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&T()}),a("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:n}=t.navigation;n&&(t.isBeginning?(m(n),d(n)):(g(n),c(n))),e&&(t.isEnd?(m(e),d(e)):(g(e),c(e)))}()}),a("paginationUpdate",()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;f()&&t.pagination.bullets.forEach(n=>{t.params.pagination.clickable&&(c(n),t.params.pagination.renderBullet||(u(n,"button"),h(n,e.paginationBulletMessage.replace(/\{\{index\}\}/,Jc(n)+1)))),n.matches(Md(t.params.pagination.bulletActiveClass))?n.setAttribute("aria-current","true"):n.removeAttribute("aria-current")})}()}),a("destroy",()=>{t.params.a11y.enabled&&function(){s&&s.remove();let{nextEl:e,prevEl:n}=t.navigation?t.navigation:{};e=nd(e),n=nd(n),e&&e.forEach(e=>e.removeEventListener("keydown",v)),n&&n.forEach(e=>e.removeEventListener("keydown",v)),w()&&nd(t.pagination.el).forEach(e=>{e.removeEventListener("keydown",v)}),Oc().removeEventListener("visibilitychange",y),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",E,!0),t.el.removeEventListener("pointerdown",b,!0),t.el.removeEventListener("pointerup",x,!0))}()})}function Od(e){let{swiper:t,extendParams:n,on:a,emit:r,params:i}=e;t.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let s,l,o,c,d,u,p,h,m,g=i&&i.autoplay?i.autoplay.delay:3e3,v=i&&i.autoplay?i.autoplay.delay:3e3,f=(new Date).getTime();function w(e){!t||t.destroyed||!t.wrapperEl||e.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",w),!(m||e.detail&&e.detail.bySwiperTouchMove)&&S())}const _=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?c=!0:c&&(v=o,c=!1);const e=t.autoplay.paused?o:f+v-(new Date).getTime();t.autoplay.timeLeft=e,r("autoplayTimeLeft",e,e/g),l=requestAnimationFrame(()=>{_()})},b=()=>{let e=t.params.autoplay.delay;const n=(()=>{let e;return e=t.virtual&&t.params.virtual.enabled?t.slides.find(e=>e.classList.contains("swiper-slide-active")):t.slides[t.activeIndex],e?parseInt(e.getAttribute("data-swiper-autoplay"),
110):void 0})();return!Number.isNaN(n)&&n>0&&(e=n),e},x=e=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(l),_();let n=e;typeof n>"u"&&(n=b(),g=n,v=n),o=n;const a=t.params.speed,i=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(a,!0,!0),r("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,a,!0,!0),r("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(a,!0,!0),r("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,a,!0,!0),r("autoplay")),t.params.cssMode&&(f=(new Date).getTime(),requestAnimationFrame(()=>{x()})))};return n>0?(clearTimeout(s),s=setTimeout(()=>{i()},n)):requestAnimationFrame(()=>{i()}),n},y=()=>{f=(new Date).getTime(),t.autoplay.running=!0,x(),r("autoplayStart")},E=()=>{t.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(l),r("autoplayStop")},T=(e,n)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(s),e||(h=!0);const a=()=>{r("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",w):S()};t.autoplay.paused=!0,n?a():(o=(o||t.params.autoplay.delay)-((new Date).getTime()-f),(!(t.isEnd&&o<0)||t.params.loop)&&(o<0&&(o=0),a()))},S=()=>{t.isEnd&&o<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(f=(new Date).getTime(),h?(h=!1,x(o)):x(),t.autoplay.paused=!1,r("autoplayResume"))},N=()=>{if(t.destroyed||!t.autoplay.running)return;const e=Oc();"hidden"===e.visibilityState&&(h=!0,T(!0)),"visible"===e.visibilityState&&S()},k=e=>{"mouse"===e.pointerType&&(h=!0,m=!0,!t.animating&&!t.autoplay.paused&&T(!0))},C=e=>{"mouse"===e.pointerType&&(m=!1,t.autoplay.paused&&S())};a("init",()=>{t.params.autoplay.enabled&&(t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",k),t.el.addEventListener("pointerleave",C)),Oc().addEventListener("visibilitychange",N),y())}),a("destroy",()=>{t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("pointerenter",k),t.el.removeEventListener("pointerleave",C)),Oc().removeEventListener("visibilitychange",N),t.autoplay.running&&E()}),a("_freeModeStaticRelease",()=>{(u||h)&&S()}),a("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?E():T(!0,!0)}),a("beforeTransitionStart",(e,n,a)=>{t.destroyed||!t.autoplay.running||(a||!t.params.autoplay.disableOnInteraction?T(!0,!0):E())}),a("sliderFirstMove",()=>{if(!t.destroyed&&t.autoplay.running){if(t.params.autoplay.disableOnInteraction)return void E();d=!0,u=!1,h=!1,p=setTimeout(()=>{h=!0,u=!0,T(!0)},200)}}),a("touchEnd",()=>{if(!t.destroyed&&t.autoplay.running&&d){if(clearTimeout(p),clearTimeout(s),t.params.autoplay.disableOnInteraction)return u=!1,void(d=!1);u&&t.params.cssMode&&S(),u=!1,d=!1}}),a("slideChange",()=>{t.destroyed||!t.autoplay.running||t.autoplay.paused&&(o=b(),g=b())}),Object.assign(t.autoplay,{start:y,stop:E,pause:T,resume:S})}function Dd(e,t){const n=qc(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function Vd(e){let{swiper:t,extendParams:n,on:a}=e;n({fadeEffect:{crossFade:!1}}),function(e){const{effect:t,swiper:n,on:a,setTranslate:r,setTransition:i,overwriteParams:s,perspective:l,recreateShadows:o,getEffectParams:c}=e;let d;a("beforeInit",()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),l&&l()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const e=s?s():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)}),a("setTranslate _virtualUpdated",()=>{n.params.effect===t&&r()}),a("setTransition",(e,a)=>{n.params.effect===t&&i(a)}),a("transitionEnd",()=>{if(n.params.effect===t&&o){if(!c||!c().slideShadows)return;n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),o()}}),a("virtualUpdate",()=>{n.params.effect===t&&(n.slides.length||(d=!0),requestAnimationFrame(()=>{d&&n.slides&&n.slides.length&&(r(),d=!1)}))})}({effect:"fade",swiper:t,on:a,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let n=0;n<e.length;n+=1){const e=t.slides[n];let a=-e.swiperSlideOffset;t.params.virtualTranslate||(a-=t.translate);let r=0;t.isHorizontal()||(r=a,a=0);const i=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),s=Dd(0,e);s.style.opacity=i,s.style.transform=`translate3d(${a}px, ${r}px, 0px)`}},setTransition:e=>{const n=t.slides.map(e=>qc(e));
1n.forEach(t=>{t.style.transitionDuration=`${e}ms`}),function(e){let{swiper:t,duration:n,transformElements:a,allSlides:r}=e;const{activeIndex:i}=t;if(t.params.virtualTranslate&&0!==n){let e,n=!1;e=a,e.forEach(e=>{!function(e,t){t&&e.addEventListener("transitionend",function n(a){a.target===e&&(t.call(e,a),e.removeEventListener("transitionend",n))})}(e,()=>{if(n||!t||t.destroyed)return;n=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)})})}}({swiper:t,duration:e,transformElements:n,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}Object.keys(Ad).forEach(e=>{Object.keys(Ad[e]).forEach(t=>{Rd.prototype[t]=Ad[e][t]})}),Rd.use([function(e){let{swiper:t,on:n,emit:a}=e;const r=Vc();let i=null,s=null;const l=()=>{!t||t.destroyed||!t.initialized||(a("beforeResize"),a("resize"))},o=()=>{!t||t.destroyed||!t.initialized||a("orientationchange")};n("init",()=>{t.params.resizeObserver&&typeof r.ResizeObserver<"u"?!t||t.destroyed||!t.initialized||(i=new ResizeObserver(e=>{s=r.requestAnimationFrame(()=>{const{width:n,height:a}=t;let r=n,i=a;e.forEach(e=>{let{contentBoxSize:n,contentRect:a,target:s}=e;s&&s!==t.el||(r=a?a.width:(n[0]||n).inlineSize,i=a?a.height:(n[0]||n).blockSize)}),(r!==n||i!==a)&&l()})}),i.observe(t.el)):(r.addEventListener("resize",l),r.addEventListener("orientationchange",o))}),n("destroy",()=>{s&&r.cancelAnimationFrame(s),i&&i.unobserve&&t.el&&(i.unobserve(t.el),i=null),r.removeEventListener("resize",l),r.removeEventListener("orientationchange",o)})},function(e){let{swiper:t,extendParams:n,on:a,emit:r}=e;const i=[],s=Vc(),l=function(e,n){void 0===n&&(n={});const a=new(s.MutationObserver||s.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);const n=function(){r("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(n):s.setTimeout(n,0)});a.observe(e,{attributes:typeof n.attributes>"u"||n.attributes,childList:t.isElement||(typeof n.childList>"u"||n).childList,characterData:typeof n.characterData>"u"||n.characterData}),i.push(a)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",()=>{if(t.params.observer){if(t.params.observeParents){const e=ed(t.hostEl);for(let t=0;t<e.length;t+=1)l(e[t])}l(t.hostEl,{childList:t.params.observeSlideChildren}),l(t.wrapperEl,{attributes:!1})}}),a("destroy",()=>{i.forEach(e=>{e.disconnect()}),i.splice(0,i.length)})}]);const zd="swiper--top-padding",Bd="swiper--bottom-padding",Hd="swiper__button-next-custom",$d="swiper__button-prev-custom",Fd="swiper__button-autoplay-custom",Gd="swiper__button-icon-custom",Ud="swiper__button--disabled",Wd="swiper__autoplay-track",qd="swiper__autoplay-elapsed",Yd="swiper__autoplay-progress",Xd="swiper__controls",Zd="swiper__controls-wrapper",Kd="swiper__controls-wrapper--navigation-hidden";var Qd=(e=>(e.BY_SLIDE="by-slide",e.BY_PAGE="by-page",e))(Qd||{}),Jd=(e=>(e.ENTER_FROM_RIGHT="enter-from-right",e.CROSSFADE="crossfade",e))(Jd||{}),eu=(e=>(e.NEXT="next",e.PREVIOUS="previous",e))(eu||{});const tu=e=>e<=2?1:2,nu={[H.SMALL]:25,[H.MEDIUM]:24,[H.LARGE]:30,[H.X_LARGE]:0,[H.XX_LARGE]:0},au={[Jd.ENTER_FROM_RIGHT]:500,[Jd.CROSSFADE]:800},ru={[Jd.ENTER_FROM_RIGHT]:"slide",[Jd.CROSSFADE]:"fade"},iu=(e,t,n)=>{const a=t===Jd.CROSSFADE,r=a?1:tu(e),i=a?1:e;return{[H.SMALL]:{spaceBetween:nu[H.SMALL],slidesPerView:1,slidesPerGroup:1},[H.MEDIUM]:{spaceBetween:nu[H.MEDIUM],slidesPerView:r,slidesPerGroup:n===Qd.BY_PAGE?r:1},[H.LARGE]:{spaceBetween:nu[H.LARGE],slidesPerView:i,slidesPerGroup:n===Qd.BY_PAGE?i:1}}},su=5,lu=function(e,t){return void 0===t&&(t=su),!!e&&{delay:1e3*(Number.isFinite(t)&&t>0?t:su),disableOnInteraction:!1,pauseOnMouseEnter:!1}},ou=e=>{const{loop:t,slidesPerGroup:n}=e.params;return t?n&&n>1?Math.floor(e.realIndex/n):e.realIndex:e.snapIndex},cu=e=>ru[e],du=e=>{const t=e.el.querySelectorAll(".swiper-slide-visible"),n=Array.from(t);e.slides.forEach(e=>{n.includes(e)?(e.removeAttribute("inert"),e.removeAttribute("aria-hidden")):(e.setAttribute("inert",""),e.setAttribute("aria-hidden","true"))})},uu=e=>{var t;let{id:n,slidesPerPage:a,nextSlideLabel:r,prevSlideLabel:i,trackSli
1de:o,transition:c=Qd.BY_PAGE,animation:d=Jd.ENTER_FROM_RIGHT,items:p,slot:h,autoplay:m=!1,autoplayDelaySeconds:g=su,pauseSlideshowLabel:f,playSlideshowLabel:w,topPadding:_=!1,bottomPadding:b=!1}=e;const x=`${B(36)}rem`,[y,E]=(0,l.useState)(!0),[T,N]=(0,l.useState)(!1),[k,C]=(0,l.useState)(!1),[L,A]=(0,l.useState)(!1),j=(0,l.useRef)(null),R=(0,l.useRef)(null),M=(0,l.useRef)(0),I=(0,l.useRef)(null),P=(0,l.useRef)(!1),O=(0,l.useRef)(!1),D=(0,l.useRef)(!1),V=(0,l.useRef)(null),z=v(),H=z&&d!==Jd.CROSSFADE?0:(e=>au[e])(d),$=null!==(t=null==p?void 0:p.length)&&void 0!==t?t:0,F=d===Jd.CROSSFADE?1:a,G=tu(F),U=m&&!z,W=U&&$>a,q=()=>O.current||D.current,Y=e=>{var t;null==(t=V.current)||t.style.setProperty("--autoplay-progress",String(e))},X=e=>{E(e.isBeginning),N(e.isEnd)};(0,l.useEffect)(()=>{var e;if(!j.current)return null==(e=R.current)||e.destroy(),R.current=null,E(!0),N(!1),C(!1),void A(!1);j.current.style.setProperty("--slides-per-page",String(F)),j.current.style.setProperty("--slides-per-page-medium",String(G)),P.current=!1,R.current=new Rd(j.current,{a11y:{enabled:!0},modules:[Id,Vd,Pd,Od],watchSlidesProgress:!0,watchOverflow:!0,noSwipingClass:"vjs-control-bar",navigation:!1,pagination:{el:".swiper-pagination",type:"fraction",renderFraction(e,t){return"rtl"===document.documentElement.getAttribute("dir")?`<span class="${t}"></span>/<span class="${e}"></span>`:`<span class="${e}"></span>/<span class="${t}"></span>`}},on:{init:e=>{X(e),du(e),C(e.isLocked),M.current=ou(e)},slideChange:e=>{X(e),du(e)},activeIndexChange:e=>{const t=ou(e);t!==M.current&&(I.current&&(null==o||o(t,M.current,n,I.current)),M.current=t)},resize:e=>{X(e),du(e),C(e.isLocked)},touchEnd:e=>{I.current="prev"===e.swipeDirection?eu.PREVIOUS:eu.NEXT,requestAnimationFrame(()=>{I.current=null})},autoplayStart:e=>{e.isLocked?e.autoplay.stop():A(!0)},beforeTransitionStart:(e,t)=>{I.current?Y(0):t>0&&Y(1.04)},autoplayTimeLeft:(e,t,n)=>{e.animating||Y(1-n)},autoplayResume:e=>{q()&&e.autoplay.pause()},autoplayStop:()=>{A(!1),Y(0)},lock:e=>{var t;C(!0),null==(t=e.autoplay)||t.stop()},unlock:e=>{var t;C(!1),U&&!P.current&&(null==(t=e.autoplay)||t.start())}},effect:cu(d),fadeEffect:{crossFade:d===Jd.CROSSFADE},speed:H,loop:W,autoplay:lu(U,g),observer:!0,observeParents:!0,breakpoints:iu(a,d,c)});const t=R.current.wrapperEl,r=()=>{var e;const t=null==(e=R.current)?void 0:e.autoplay;t&&!t.paused&&t.pause()},i=()=>{var e;q()||null==(e=R.current)||e.autoplay.resume()},s=e=>{let{pointerType:t}=e;"mouse"===t&&(O.current=!0,r())},l=e=>{let{pointerType:t}=e;"mouse"===t&&(O.current=!1,i())},u=()=>{D.current=!0,r()},p=e=>{let{relatedTarget:n}=e;n instanceof Node&&t.contains(n)||(D.current=!1,i())};return U&&(t.addEventListener("pointerenter",s),t.addEventListener("pointerleave",l),t.addEventListener("focusin",u),t.addEventListener("focusout",p)),()=>{var e;t.removeEventListener("pointerenter",s),t.removeEventListener("pointerleave",l),t.removeEventListener("focusin",u),t.removeEventListener("focusout",p),R.current&&(R.current.destroy(),R.current=null);for(const t of null!==(n=null==(e=j.current)?void 0:e.querySelectorAll(".swiper-slide-blank"))&&void 0!==n?n:[]){var n;t.remove()}}},[d,H,g,U,F,G,n,$,W,a,o,c]);const Z=!!p&&p.length>0,K=!W&&y,Q=!W&&T,J={"--slides-per-page":F,"--slides-per-page-medium":G};return Z&&(0,s.jsxs)("div",{className:u("swiper",_&&zd,b&&Bd),ref:j,slot:h,style:J,children:[U&&!k&&(0,s.jsxs)("button",{className:Fd,onClick:()=>{var e;const t=null==(e=R.current)?void 0:e.autoplay;t&&(P.current=L,L?t.stop():t.start())}
1,"aria-label":L?f:w,type:"button",children:[(0,s.jsxs)("svg",{className:Yd,viewBox:"0 0 40 40","aria-hidden":"true",children:[(0,s.jsx)("circle",{className:Wd,cx:"20",cy:"20",r:"18"}),(0,s.jsx)("circle",{ref:V,className:qd,cx:"20",cy:"20",r:"18",pathLength:"1"})]}),(0,s.jsx)("span",{className:Gd,children:(0,s.jsx)(S,{icon:L?"pause-bare":"play-bare",height:x,decorative:!0})})]}),(0,s.jsx)("div",{className:"swiper-wrapper",children:p.map(e=>(0,s.jsx)("div",{className:"swiper-slide",children:e.content},e.key))}),(0,s.jsx)("div",{className:u(Zd,k&&Kd),children:(0,s.jsxs)("div",{className:Xd,children:[(0,s.jsx)("button",{className:u($d,K&&Ud),onClick:()=>{R.current&&(I.current=eu.PREVIOUS,R.current.slidePrev(H),I.current=null)},disabled:K,"aria-disabled":K,"aria-label":i,type:"button",children:(0,s.jsx)("span",{className:Gd,children:(0,s.jsx)(S,{icon:"chevron-left",height:x,decorative:!0})})}),(0,s.jsx)("div",{className:"swiper-pagination"}),(0,s.jsx)("button",{className:u(Hd,Q&&Ud),onClick:()=>{R.current&&(I.current=eu.NEXT,R.current.slideNext(H),I.current=null)},disabled:Q,"aria-disabled":Q,"aria-label":r,type:"button",children:(0,s.jsx)("span",{className:Gd,children:(0,s.jsx)(S,{icon:"chevron-right",height:x,decorative:!0})})})]})})]})},pu="social-media",hu="social-media__overline",mu="social-media__links-list",gu="social-media__icon",vu="social-media__link-wrapper",fu="social-media__link",wu="social-media--align-left",_u="social-media--align-center",bu="social-media--align-right";var xu=(e=>(e.DEFAULT="",e.LEFT="left",e.CENTER="center",e.RIGHT="right",e))(xu||{});const yu=e=>{let{overline:t,align:n=xu.DEFAULT,disableFacebook:a=!1,disableTwitter:r=!1,disableLinkedin:i=!1,mailToSubject:l,url:o,facebookLabel:c,twitterLabel:d,linkedinLabel:p,copylinkLabel:h,copySuccessLabel:m,onClick:g}=e;const{refs:v,floatingStyles:f,context:w,arrowRef:_,open:b,setOpen:x}=na({placement:"bottom"}),y=[{"data-social":"email",icon:"mobile",href:`mailto:?subject=${l}&body=${o}`,type:"link",shouldRender:!1},{"data-social":"facebook",icon:"facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${o}`,type:"link",shouldRender:!a,ariaLabel:c},{"data-social":"twitter",icon:"twitter",href:`http://twitter.com/intent/tweet?url=${o}`,type:"link",shouldRender:!r,ariaLabel:d},{"data-social":"linkedin",icon:"linkedin",href:`https://www.linkedin.com/sharing/share-offsite/?url=${o}`,type:"link",shouldRender:!i,ariaLabel:p},{"data-social":"xing",icon:"mobile",href:`https://www.xing.com/spi/shares/new?url=${o}`,type:"link",shouldRender:!1},{"data-social":"copy",icon:"copy-link",href:"#",type:"button",shouldRender:!0,ariaLabel:h}],E=async e=>{const t=e.currentTarget.getAttribute("data-social");"copy"===t&&(e.preventDefault(),await navigator.clipboard.writeText(o),x(!0),setTimeout(()=>x(!1),2200)),t&&g&&g(e,t)},T=u(pu,n===xu.LEFT&&wu,n===xu.CENTER&&_u,n===xu.RIGHT&&bu);return(0,s.jsxs)("div",{className:T,children:[t&&(0,s.jsx)("p",{className:hu,children:t}),(0,s.jsx)("ul",{className:mu,children:y.map((e,t)=>{const{shouldRender:n,icon:a,ariaLabel:r,type:i,...l}=e;if(!n)return null;const o=e["data-social"],c="copy"===o;return(0,s.jsxs)("li",{className:vu,children:[(0,s.jsx)("span",{className:gu,children:(0,s.jsx)(S,{icon:a,height:`${B(24)}rem`,decorative:!0})}),"button"===i?(0,s.jsx)("button",{className:fu,ref:c?v.setReference:void 0,onClick:E,"aria-label":r,"data-social":o,type:"button"}):(0,s.jsx)("a",{className:fu,target:"_blank",rel:"noreferrer",onClick:E,"aria-label":r,...l}),c&&m&&(0,s.jsx)(la,{floatingStyles:f,arrowRef:_,open:b,context:w,refs:v,children:m})]},t)})})]})},Eu="scale-on-scroll",Tu=e=>{let{children:t}=e;const n=(0,l.useRef)(null),[a,r]=(0,l.useState)(1),[i,o]=(0,l.useState)("auto"),c=(0,l.useRef)(null);return(0,l.useEffect)(()=>{const e=n.current;if(!e)return;const t=()=>{const t=e.querySelector(".image");if(!t)return c.current=null,void o("auto");const n=e.getBoundingClientRect().top+window.scrollY,a=(e=>(Math.min(window.innerWidth,1864)-e)/e)(e.getBoundingClientRect().width),r=e.getBoundingClientRect().width,i=(e=>{const t=e.getAttribute("data-ratio");if(!t)return null;const[n,a]=t.split(":").map(parseFloat);return n&&a?[n,a]:null})(t),s=i?Math.floor(r*i[1]/i[0]):0;c.current={initialSpaceToViewTop:n,initialHeight:s,widthPercentage:a};o(`${s*(1+a)}px`)},a=()=>{t()};return window.addEventListener("resize",a),t(),()=>{window.removeEventListener("resize",a)}},[]),(0,l.useEffect)(()=>{const e=n.current;if(!e||!c.current)return;const t=()=>{const t=e.getBoundingClientRect().top,n=window.innerHeight;if(!(t>n||t<-.3*n)&&c.current){const{initialSpaceToViewTop:e,widthPercentage:a}=c.current,i=Math.min(e,n),s=n>e,l=i*(s?.1:.25),o=i-l-i*(1-(s?1:.75)),d=Math.min(Math.max((i-t-l)/o,0),1);r(1+a*d)}};return window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}},[n.current,c.current]),(0,s.jsx)("div",{ref:n,className:Eu,style:{"--scale-factor":a,height:i},children:t})},Su="stage-home__teasers",Nu=e=>{let{statement:t,Image:n,slot:a,children:r}=e;const[i,o]=(0,l.useState)(!1);(0,l.useEffect)(()=>{o(!0)},[]);const c=u({"stage-home":!0,"stage-home--original-branding":"Doing now what patients need next"===t,"stage-home--heading-visible":i});return(0,s.jsxs)("div",{className:c,slot:a,children:[(0,s.jsx)(K,{headline:t,level:"1"}),(0,s.jsx)(Tu,{children:n}),(0,s.jsx)("div",{className:Su,children:r})]})},ku={"stage-home-teaser":"stage-home-teaser","stage-home-teaser__title":"stage-home-teaser__title","stage-home-teaser__description":"stage-home-teaser__description","stage-home-teaser__button-wrapper":"stage-home-teaser__button-wrapper"},Cu=e=>
1{let{teaserTitle:t,teaserDescription:n,headingLevel:a=2,children:r}=e;const i=`h${a}`;return(0,s.jsxs)("div",{className:ku["stage-home-teaser"],children:[(0,s.jsxs)("div",{className:ku["stage-home-teaser__top-wrapper"],children:[(0,s.jsx)(i,{className:ku["stage-home-teaser__title"],children:t}),(0,s.jsx)("p",{className:ku["stage-home-teaser__description"],children:n})]}),(0,s.jsx)("div",{className:ku["stage-home-teaser__button-wrapper"],children:r})]})};var Lu=(e=>(e.VARIANT_A="hero--variant-a",e.VARIANT_B="hero--variant-b",e))(Lu||{});const Au={"staging-hero":"staging-hero","staging-hero__background":"staging-hero__background","staging-hero__image":"staging-hero__image",image:"image","staging-hero__wrapper":"staging-hero__wrapper","staging-hero__content":"staging-hero__content","staging-hero__headline":"staging-hero__headline","staging-hero__text":"staging-hero__text","staging-hero__divider":"staging-hero__divider","hero--variant-a":"hero--variant-a","staging-hero__letter":"staging-hero__letter","hero--variant-b":"hero--variant-b"},ju=e=>{let{variant:t=Lu.VARIANT_A,headline:n,content:a,Image:r,slot:i}=e;const o=t===Lu.VARIANT_B,c=(0,l.useRef)(null),d=[Au["staging-hero"],Au[t]].filter(Boolean).join(" ");(0,l.useEffect)(()=>{var e;const n=null==(e=c.current)?void 0:e.closest("roche-grid");return n&&(n.setAttribute("no-padding","true"),n.setAttribute("data-staging-hero",t)),()=>{n&&(n.removeAttribute("no-padding"),n.removeAttribute("data-staging-hero"))}},[t]);const u=o&&r;return(0,s.jsxs)("section",{ref:c,className:d,"data-variant":t,slot:i,children:[(0,s.jsxs)("div",{className:Au["staging-hero__wrapper"],children:[(0,s.jsx)("div",{className:Au["staging-hero__background"]}),(0,s.jsxs)("div",{className:Au["staging-hero__content"],children:[(0,s.jsx)("div",{className:Au["staging-hero__letter"]}),n&&(0,s.jsx)("h1",{className:Au["staging-hero__headline"],children:n}),a&&(0,s.jsx)("p",{className:Au["staging-hero__text"],children:a})]}),(0,s.jsx)("div",{className:Au["staging-hero__divider"]})]}),u&&(0,s.jsx)("div",{className:Au["staging-hero__image"],children:r})]})},Ru=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=2);return`${["-","","+"][Math.sign(e)+1]}${t}${Math.abs(e).toFixed(n)}`},Mu=e=>`${Ru(e," ")}`,Iu=e=>`(${Ru(e)}%)`,Pu={"stock-price":"stock-price","stock-price__heading":"stock-price__heading","stock-price__price":"stock-price__price","stock-price__value":"stock-price__value","stock-price__currency":"stock-price__currency","stock-price__unavailable":"stock-price__unavailable","stock-price__daily-change":"stock-price__daily-change","stock-price__difference":"stock-price__difference","stock-price__relative-difference":"stock-price__relative-difference","stock-price__price-difference":"stock-price__price-difference","stock-price__icon":"stock-price__icon","stock-price__icon--down":"stock-price__icon--down","stock-price__icon--equal":"stock-price__icon--equal","stock-price__icon--up":"stock-price__icon--up"},Ou=e=>{let{heading:t,href:n,price:a,currency:r,change:i,relativeChange:l,timeIntervalLabel:o,unavailableLabel:c}=e;if(void 0===a||void 0===r||void 0===i||void 0===l)return(0,s.jsxs)("div",{className:Pu["stock-price"],children:[(0,s.jsx)("h3",{className:Pu["stock-price__heading"],children:t}),(0,s.jsx)("span",{className:Pu["stock-price__unavailable"],children:c})]});const d=["stock-down","stock-equal","stock-up"][Math.sign(i)+1],p=u(Pu["stock-price__icon"],{[Pu["stock-price__icon--down"]]:"stock-down"===d,[Pu["stock-price__icon--equal"]]:"stock-equal"===d,[Pu["stock-price__icon--up"]]:"stock-up"===d});return(0,s.jsxs)("a",{className:Pu["stock-price"],href:n,children:[(0,s.jsx)("h3",{className:Pu["stock-price__heading"],children:t}),(0,s.jsxs)("div",{className:Pu["stock-price__price"],children:[(0,s.jsx)("span",{className:Pu["stock-price__value"],children:a.toFixed(2)}),(0,s.jsx)("span",{className:Pu["stock-price__currency"],children:r})]}),(0,s.jsxs)("div",{className:Pu["stock-price__daily-change"],children:[(0,s.jsx)("span",{className:p,"aria-hidden":"true",children:(0,s.jsx)(S,{icon:d,height:"32px"})}),(0,s.jsxs)("span",{className:Pu["stock-price__difference"],children:[(0,s.jsx)("span",{className:Pu["stock-price__price-difference"],children:Mu(i)}),(0,s.jsx)("span",{className:Pu["stock-price__relative-difference"],children:Iu(l)})]}),(0,s.jsx)("span",{className:Pu["stock-price__time-interval"],children:o})]})]})};var Du=(e=>(e.DEFAULT="default",e.PODCAST="podcast",e.SERIES="series",e.SLIDESHOW="slideshow",e.VIDEO="video",e))(Du||{}),Vu=(e=>
1(e.VARIANT_A="story-teaser--variant-a",e.VARIANT_B="story-teaser--variant-b",e.VARIANT_C="story-teaser--variant-c",e))(Vu||{});const zu={[Du.DEFAULT]:null,[Du.PODCAST]:"podcasts",[Du.SERIES]:"series",[Du.SLIDESHOW]:"book",[Du.VIDEO]:"play"},Bu={"story-staging-hero":"story-staging-hero","story-staging-hero__background":"story-staging-hero__background","story-staging-hero__wrapper":"story-staging-hero__wrapper","story-staging-hero__content":"story-staging-hero__content","story-staging-hero__header":"story-staging-hero__header","story-staging-hero__headline":"story-staging-hero__headline","story-staging-hero__text":"story-staging-hero__text","story-staging-hero__divider":"story-staging-hero__divider","story-staging-hero__story-type-wrapper":"story-staging-hero__story-type-wrapper","story-staging-hero__story-type":"story-staging-hero__story-type","story-staging-hero__tag-wrapper":"story-staging-hero__tag-wrapper","hero--variant-a":"hero--variant-a","story-staging-hero__letter":"story-staging-hero__letter","story-staging-hero__image":"story-staging-hero__image","hero--variant-b":"hero--variant-b","story-staging-hero__icon":"story-staging-hero__icon"},Hu=e=>{var t;let{variant:n,storyHeadline:a,storyDescription:r,storyType:i,storyTypeTranslation:o,storyTags:c,showTags:d,Image:u,slot:p}=e;const h=n===Lu.VARIANT_B,m=(0,l.useRef)(null),g=[Bu["story-staging-hero"],Bu[n]].filter(Boolean).join(" "),v=h&&d&&c&&c.length>0,f=null!==(t=zu[i])&&void 0!==t?t:"",w=h&&i&&i!==Du.DEFAULT,_=h&&u;return(0,s.jsxs)("section",{ref:m,className:g,"data-variant":n,slot:p,children:[(0,s.jsxs)("div",{className:Bu["story-staging-hero__wrapper"],children:[(0,s.jsx)("div",{className:Bu["story-staging-hero__background"]}),(0,s.jsxs)("div",{className:Bu["story-staging-hero__content"],children:[(0,s.jsx)("div",{className:Bu["story-staging-hero__letter"]}),w&&(0,s.jsxs)("div",{className:Bu["story-staging-hero__story-type-wrapper"],children:[(0,s.jsx)("span",{className:Bu["story-staging-hero__icon"],children:(0,s.jsx)(S,{icon:f,height:"24px"})}),(0,s.jsx)("span",{className:Bu["story-staging-hero__story-type"],children:o})]}),(0,s.jsxs)("div",{className:Bu["story-staging-hero__header"],children:[a&&(0,s.jsx)("h1",{className:Bu["story-staging-hero__headline"],children:a}),v&&(0,s.jsx)("div",{className:Bu["story-staging-hero__tag-wrapper"],children:c})]}),!h&&(0,s.jsx)("p",{className:Bu["story-staging-hero__text"],children:r})]}),(0,s.jsx)("div",{className:Bu["story-staging-hero__divider"]})]}),_&&(0,s.jsx)("div",{className:Bu["story-staging-hero__image"],children:u})]})},$u="date",Fu=e=>{let{displayDate:t,dateTimeValue:n}=e;return(0,s.jsx)("div",{className:$u,children:(0,s.jsx)("time",{dateTime:n,children:t})})},Gu={"story-teaser":"story-teaser",image:"image","story-teaser__tag":"story-teaser__tag","story-teaser__media-container":"story-teaser__media-container","video-player":"video-player","story-teaser__details":"story-teaser__details","story-teaser__title":"story-teaser__title","story-teaser__description":"story-teaser__description","story-teaser__date":"story-teaser__date","story-teaser__link":"story-teaser__link","story-teaser--variant-a":"story-teaser--variant-a","story-teaser__description-container":"story-teaser__description-container","story-teaser--variant-b":"story-teaser--variant-b","story-teaser--variant-c":"story-teaser--variant-c",button:"button","story-teaser--unpublished":"story-teaser--unpublished"},Uu=(0,l.forwardRef)((e,t)=>{let{layout:n,teaserType:a=Du.DEFAULT,teaserTitle:r,teaserDescription:i,teaserImage:o,teaserVideoId:c,teaserImageAlt:d,teaserUrl:p,teaserDate:h,dateTimeValue:m,teaserTagLabel:g,ctaLabel:v,ctaVisuallyHiddenText:f,unpublished:w,slot:_,playLabel:b,pauseLabel:x,onVideoStateChange:y,onTeaserLinkClick:E,awsServiceBaseUrl:T,imageFit:N=Ai.COVER,linkRef:k}=e;const C=(0,l.useRef)(null),L=(0,l.useRef)(null),A=null!=k?k:L,[j,R]=(0,l.useState)(0),M=Si(c),I=""!==M,P=!!o,O=a!==Du.DEFAULT,D=n===Vu.VARIANT_C,V=(()=>{switch(n){case Vu.VARIANT_A:return{ratio:ki.NORMAL};case Vu.VARIANT_B:return{ratio:ki.SIXTOFIVE};case Vu.VARIANT_C:return{ratio:ki.ORIGINAL,forceHeight:480};default:return{ratio:ki.ORIGINAL}}})(),z=P&&(0,s.jsx)(Ii,{src:null!=o?o:"",alt:d,imageFit:N,...V}),H=I&&(0,s.jsx)(Ss,{awsServiceBaseUrl:T,service:"aws",videoId:M,previewAlt:null!=d?d:"",playLabel:null!=b?b:"",pauseLabel:null!=x?x:"",videoFit:N,videoLoop:!0,onVideoStateChange:e=>{y&&y(e)},...(()=>
1{switch(n){case Vu.VARIANT_A:return{videoRatio:ki.NORMAL};case Vu.VARIANT_B:return{videoRatio:ki.SIXTOFIVE};case Vu.VARIANT_C:return{fillParentHeight:!0};default:return{}}})()});(0,l.useEffect)(()=>{"story-teaser--variant-a"!==n&&C.current&&R(C.current.clientHeight)},[n,i]),(0,l.useEffect)(()=>{const e=e=>{var t;"Escape"===e.key&&(null==(t=A.current)||t.blur())};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]);const $=(P||I)&&(0,s.jsx)("div",{className:Gu["story-teaser__media-container"],children:I?H:z}),F=(0,s.jsxs)("div",{className:Gu["story-teaser__details"],children:[O&&(0,s.jsxs)("div",{className:Gu["story-teaser__tag"],children:[zu[a]&&(0,s.jsx)(S,{icon:zu[a],height:`${B(20)}rem`}),(0,s.jsx)("span",{children:g})]}),(0,s.jsxs)("div",{className:Gu["story-teaser__description-container"],children:[(0,s.jsx)("h3",{className:Gu["story-teaser__title"],children:D?r:(0,s.jsx)("a",{ref:A,className:Gu["story-teaser__link"],href:p,onClick:E,children:r})}),(0,s.jsx)("p",{ref:C,className:Gu["story-teaser__description"],children:i})]}),h&&m&&"story-teaser--variant-a"===n&&(0,s.jsx)("div",{className:Gu["story-teaser__date"],children:(0,s.jsx)(Fu,{displayDate:h,dateTimeValue:m})}),"story-teaser--variant-c"===n&&v&&(0,s.jsx)(Y,{text:v,href:p,visuallyHiddenText:f,onClick:E})]}),G=u(Gu["story-teaser"],Gu[n],{[Gu["story-teaser--unpublished"]]:w}),U=(0,s.jsxs)("div",{ref:t,className:G,style:{"--teaser-hover-offset":`${j}px`},slot:_,children:[$,F]});return"story-teaser--variant-c"===n?(0,s.jsxs)("div",{ref:t,className:G,slot:_,children:[$,F]}):U}),Wu="subline",qu="subline__attribution-phrase",Yu="subline__author-container",Xu="subline__avatar",Zu="subline__author-description-container",Ku="subline__author",Qu="subline__author-description",Ju="subline__date",ep=e=>{let{author:t,authorDescription:n,attributionPhrase:a,displayDate:r,dateTimeValue:i,children:l}=e;return(0,s.jsxs)("div",{className:Wu,children:[a&&(0,s.jsx)("h3",{className:qu,children:a}),(0,s.jsxs)("div",{className:Yu,children:[l&&(0,s.jsx)("div",{className:Xu,children:l}),(0,s.jsxs)("div",{className:Zu,children:[(0,s.jsx)("p",{className:Ku,children:t}),(0,s.jsx)("p",{className:Qu,children:n}),r&&i&&(0,s.jsx)("div",{className:Ju,children:(0,s.jsx)(Fu,{dateTimeValue:i,displayDate:r})})]})]})]})},tp="tag",np=e=>{let{tag:t,href:n,onClick:a,ariaLabel:r}=e;return(0,s.jsx)("a",{href:n,className:tp,onClick:a,"aria-label":r,children:t})},ap={teaser:"teaser","teaser__media-container":"teaser__media-container","teaser__link-wrapper":"teaser__link-wrapper","teaser__visually-hidden":"teaser__visually-hidden","teaser__image-border":"teaser__image-border",teaser__overline:"teaser__overline","teaser__overline-element":"teaser__overline-element",teaser__title:"teaser__title","teaser__title--small":"teaser__title--small",teaser__icon:"teaser__icon",teaser__description:"teaser__description",teaser__border:"teaser__border","teaser__buttons-wrapper":"teaser__buttons-wrapper","teaser__buttons-wrapper--align-left":"teaser__buttons-wrapper--align-left","teaser--card":"teaser--card","teaser--unpublished":"teaser--unpublished","teaser--in-draft":"teaser--in-draft","teaser__image--loaded":"teaser__image--loaded","teaser__image--reduced-scale":"teaser__image--reduced-scale",teaser__video:"teaser__video"};var rp=(e=>(e.VARIANT_A="teaser-variant-a",e.VARIANT_B="teaser-variant-b",e.VARIANT_C="teaser-variant-c",e.VARIANT_D="teaser-variant-d",e.VARIANT_E="teaser-variant-e",e.VARIANT_E_WITHOUT_DESCRIPTION="teaser-variant-e-without-description",e.VARIANT_A_WITHOUT_IMAGE="teaser-variant-a-without-image",e.VARIANT_B_WITHOUT_IMAGE="teaser-variant-b-without-image",e.VARIANT_C_WITHOUT_IMAGE="teaser-variant-c-without-image",e.VARIANT_D_WITHOUT_IMAGE="teaser-variant-d-without-image",e.VARIANT_C_WITHOUT_IMAGE_WITH_DATE="teaser-variant-c-without-image-with-date",e.CARD_A="teaser--card-a",e.CARD_B="teaser--card-b",e.CARD_C="teaser--card-c",e.PUBMED="teaser--pubmed",e))(rp||{}),ip=(e=>(e.DEFAULT="arrow-right",e.DOWNLOAD="download",e.EXTERNAL="external-link",e))(ip||{});const sp=[rp.VARIANT_A,rp.VARIANT_A_WITHOUT_IMAGE,rp.CARD_A,rp.VARIANT_B,rp.VARIANT_B_WITHOUT_IMAGE,rp.CARD_B,rp.VARIANT_E,rp.PUBMED],lp=[rp.VARIANT_A,rp.VARIANT_A_WITHOUT_IMAGE,rp.CARD_A,rp.VARIANT_C,rp.
1VARIANT_C_WITHOUT_IMAGE,rp.VARIANT_C_WITHOUT_IMAGE_WITH_DATE,rp.CARD_C,rp.PUBMED],op=[rp.VARIANT_A,rp.VARIANT_B,rp.VARIANT_C,rp.VARIANT_D,rp.VARIANT_E,rp.VARIANT_E_WITHOUT_DESCRIPTION],cp=[rp.CARD_A,rp.CARD_B,rp.CARD_C],dp=(0,l.forwardRef)((e,t)=>{let{teaserImage:n,teaserVideoId:a,teaserImageAlt:r,teaserTitle:i,teaserDescription:o,teaserOverline:c,teaserOverlineElement:d,teaserUrl:p,target:h=de.SELF,isExternalLink:m,isDownloadLink:g,downloadTranslation:v,layout:f,secondaryButton:w,primaryButtonText:_,primaryButtonVisuallyHiddenText:b,playLabel:x,pauseLabel:y,onTeaserClick:E,onVideoStateChange:T,isSearchResult:N,unpublished:k,isTeaserInDraft:C,teaserAuthorDescription:L,slot:A,loaded:j,forceAlignLeft:R,awsServiceBaseUrl:M,imageFit:I=Ai.COVER,linkRef:P}=e;const O=c&&""!==c||d,D=Si(a),V=""!==D,z=m?ip.EXTERNAL:g?ip.DOWNLOAD:ip.DEFAULT,H=(0,l.useCallback)(()=>{const e=f===rp.VARIANT_E||f===rp.VARIANT_E_WITHOUT_DESCRIPTION;return{isVerticalLayout:e,imageRatio:e?ki.VERTICAL:ki.HD,hasOverline:lp.includes(f),hasDescription:sp.includes(f),hasImage:op.includes(f),isCard:cp.includes(f)}},[f]),{hasImage:$,isVerticalLayout:F,imageRatio:G,hasDescription:U,hasOverline:W,isCard:X}=H(),Z=i&&(0,s.jsxs)("span",{className:u(ap.teaser__title,(N||g)&&ap["teaser__title--small"]),children:[i,!X&&(0,s.jsx)("span",{className:ap.teaser__icon,children:(0,s.jsx)(S,{icon:z,height:`${B(24)}rem`})})]}),K=$&&(n||V)&&(0,s.jsxs)("div",{className:ap["teaser__media-container"],children:[V?(0,s.jsx)("div",{className:u(ap.teaser__video,F&&ap["teaser__image--reduced-scale"],j&&ap["teaser__image--loaded"]),children:(0,s.jsx)(Ss,{awsServiceBaseUrl:M,service:"aws",videoLoop:!0,videoId:D,videoFit:I,videoRatio:G,previewAlt:null!=r?r:"",playLabel:null!=x?x:"",pauseLabel:null!=y?y:"",onVideoStateChange:e=>{T&&T(e)}})}):(0,s.jsx)(Ii,{src:null!=n?n:"",alt:null!=r?r:"",ratio:G,imageFit:I,slot:A}),(0,s.jsx)("div",{className:ap["teaser__image-border"]})]}),Q=(0,s.jsxs)(s.Fragment,{children:[K,(0,s.jsx)("h3",{className:ap.teaser__heading,children:X?Z:(0,s.jsxs)("a",{ref:P,target:h,href:p,download:g||void 0,onClick:E,className:ap["teaser__link-wrapper"],children:[g&&v&&(0,s.jsxs)("span",{className:ap["teaser__visually-hidden"],children:[v," "]}),Z]})}),W&&O&&(0,s.jsxs)("span",{className:ap.teaser__overline,children:[c,d&&(0,s.jsx)("span",{className:ap["teaser__overline-element"],children:d})]}),L&&(0,s.jsx)("p",{className:"teaser__author-description",children:L}),U&&o&&(0,s.jsx)("p",{className:ap.teaser__description,children:o}),!$&&!X&&(0,s.jsx)("div",{className:ap.teaser__border}),X&&(0,s.jsxs)("div",{className:u(ap["teaser__buttons-wrapper"],R&&ap["teaser__buttons-wrapper--align-left"]),children:[p&&_&&(0,s.jsx)(Y,{href:p,appearance:q.SECONDARY,text:_,visuallyHiddenText:b,onClick:E}),w]})]});return(0,s.jsx)("div",{ref:t,slot:A,className:u(ap.teaser,X&&ap["teaser--card"],k&&ap["teaser--unpublished"],C&&ap["teaser--in-draft"]),children:Q})}),up={"teaser-card":"teaser-card","teaser-card__link":"teaser-card__link","teaser-card__image":"teaser-card__image","teaser-card__content":"teaser-card__content","teaser-card__overline":"teaser-card__overline","teaser-card__title":"teaser-card__title","teaser-card__description":"teaser-card__description","teaser-card__button":"teaser-card__button","teaser-card--card":"teaser-card--card","teaser-card--dashboard":"teaser-card--dashboard"};var pp=(e=>(e.CARD="card",e.DASHBOARD="dashboard",e))(pp||{});const hp=(0,l.forwardRef)((e,t)=>{let{layout:n,title:a,description:r,overline:i,imageUrl:l,imageAlt:o,imageFit:c,buttonText:d,href:p,target:h="_self",onClick:m,slot:g,linkRef:v}=e;const f=n===pp.CARD,w=n===pp.DASHBOARD,_=f&&l,b="_blank"===h;return(0,s.jsxs)("div",{ref:t,slot:g,className:u(up["teaser-card"],f&&up["teaser-card--card"],w&&up["teaser-card--dashboard"]),children:[_&&(0,s.jsx)("div",{className:up["teaser-card__image"],children:(0,s.jsx)(Ii,{src:l,alt:null!=o?o:"",imageFit:c,ratio:ki.FIVETOFOUR})}),(0,s.jsxs)("div",{className:up["teaser-card__content"],children:[(0,s.jsxs)("div",{className:up["teaser-card__content-upper"],children:[i&&(0,s.jsx)("div",{className:up["teaser-card__overline"],children:i}),(0,s.jsx)("h3",{className:up["teaser-card__title"],children:(0,s.jsx)("a",{ref:v,href:p,target:h,rel:b?"noopener noreferrer":void 0,onClick:e=>{m&&m(e)},className:up["teaser-card__link"],children:a})}),r&&(0,s.jsx)("p",{className:up["teaser-card__description"],children:r})]}),(0,s.jsx)("div",{className:up["teaser-card__content-lower"],children:(0,s.jsx)("div",{className:up["teaser-card__button"],children:(0,s.jsx)(Y,{appearance:q.SECONDARY,size:U.S
1MALL,text:d,hasMarginTop:!1,isDecorative:!0})})})]})]})}),mp="two-column-layout",gp="two-column-layout--top",vp="two-column-layout--bottom",fp="two-column-layout__column",wp="two-column-layout__column--right",_p="two-column-layout__column--center",bp="two-column-layout__column--fill";var xp=(e=>(e.LEFT="left",e.RIGHT="right",e.CENTER="horizontal-center",e.FILL="fill",e))(xp||{}),yp=(e=>(e.TOP="top",e.CENTER="vertical-center",e.BOTTOM="bottom",e))(yp||{});const Ep=e=>{let{horizontalAlignment:t=xp.LEFT,verticalAlignment:n=yp.CENTER,leftColumn:a,rightColumn:r}=e;const i=u(mp,n===yp.TOP&&gp,n===yp.BOTTOM&&vp),l=u(fp,t===xp.RIGHT&&wp,t===xp.CENTER&&_p,t===xp.FILL&&bp);return(0,s.jsxs)("div",{className:i,children:[(0,s.jsx)("div",{className:l,children:a}),(0,s.jsx)("div",{className:l,children:r})]})},Tp="icon-button",Sp="icon-button--default",Np="icon-button--disabled",kp="icon-button--primary",Cp="icon-button--secondary",Lp="icon-button--tertiary",Ap="icon-button--success",jp="icon-button--error";var Rp=(e=>(e.DEFAULT="default",e.PRIMARY="primary",e.SECONDARY="secondary",e.TERTIARY="tertiary",e.SUCCESS="success",e.ERROR="error",e))(Rp||{});const Mp=e=>{let{icon:t,ariaLabel:n,appearance:a=Rp.DEFAULT,type:r=G.BUTTON,disabled:i=!1,onClick:l,...o}=e;const c=u(Tp,i&&Np,a===Rp.DEFAULT&&Sp,a===Rp.PRIMARY&&kp,a===Rp.SECONDARY&&Cp,a===Rp.TERTIARY&&Lp,a===Rp.SUCCESS&&Ap,a===Rp.ERROR&&jp);return(0,s.jsx)("button",{className:c,type:r,disabled:i,onClick:l,"aria-label":n,...o,children:(0,s.jsx)(S,{icon:t,height:`${B(24)}rem`})})},Ip=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", ");const Pp={overlay:"overlay","overlay--open":"overlay--open","overlay__sticky-header":"overlay__sticky-header",overlay__header:"overlay__header",overlay__title:"overlay__title",overlay__container:"overlay__container"},Op=e=>{let{title:t,icon:n,closeButtonAriaLabel:a,isOpen:r,onClose:i,children:o}=e;const c=function(e){const t=(0,l.useRef)(null);return(0,l.useEffect)(()=>{if(!e)return;const n=t.current;if(!n)return;const a=e=>{if("Tab"!==e.key)return;const t=n.querySelectorAll(Ip);if(0===t.length)return;const a=t[0],r=t[t.length-1];return e.shiftKey&&document.activeElement===a?(e.preventDefault(),void r.focus()):e.shiftKey||document.activeElement!==r?void(n.contains(document.activeElement)||(e.preventDefault(),a.focus())):(e.preventDefault(),void a.focus())};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}},[e]),t}(r);return De(r),Ie(i,r),(0,l.useEffect)(()=>{var e;r&&(null==(e=c.current)||e.scrollTo({top:0,left:0,behavior:"auto"}))},[r]),(0,s.jsxs)("div",{ref:c,className:`${Pp.overlay} ${r?Pp["overlay--open"]:""}`,role:"dialog","aria-modal":"true","aria-labelledby":"overlay-title",children:[(0,s.jsx)("div",{className:Pp["overlay__sticky-header"],children:(0,s.jsx)(Xa,{layout:"12",noPadding:!0,children:(0,s.jsxs)("div",{className:Pp.overlay__header,slot:"full",children:[(0,s.jsxs)("p",{className:Pp.overlay__title,id:"overlay-title",children:[n&&(0,s.jsx)(S,{icon:n,width:"24"}),t]}),i&&(0,s.jsx)(Mp,{icon:"close",ariaLabel:a,onClick:i})]})})}),(0,s.jsx)("div",{className:Pp.overlay__container,children:(0,s.jsx)("div",{className:Pp.overlay__content,children:o})})]})},Dp=e=>{const[,t]=function(e){void 0===e&&(e=!1);const[t,n]=(0,l.useState)(()=>typeof window>"u"||e?"":window.location.hash||"");return(0,l.useEffect)(()=>{e&&n(window.location.hash)},[]),[t,e=>{if(typeof window>"u")return void console.warn("setHashHandler called in a non-browser environment. Hash will not be set.");if(""===e||"#"===e){const e=window.location.pathname+window.location.search;return history.replaceState(null,"",e),void n("")}const t=e.startsWith("#")?e:`#${e}`;history.replaceState(null,"",t),n(t)}]}(),[n,a]=(0,l.useState)(null);return{activeId:n?n.id:null!=e?e:void 0,setActiveId:e=>{a({id:e}),t(null!=e?e:"")}}},Vp=e=>{const[t,n]=(0,l.useState)(null);(0,l.useEffect)(()=>{const t=window.location.hash.substring(1);t&&null!=e&&e.includes(t)&&n(t)},[]);
1const{activeId:a,setActiveId:r}=Dp(t);return{activeId:a,setActiveId:r,isActiveIdFromHash:null!==t}}}}]);
2//# sourceMappingURL=817fd6bd-8575bd91aeb845b02071.js.map

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.