PageSourceSearch

https://www.gene.com/build/assets/StoryApp-BTvxgLIF.js

js gene.com collected 2026-10-09 21:45:35 UTC 364,167 bytes, 79 lines download raw bytes

1var eu=Object.defineProperty;var tu=(r,e,t)=>e in r?eu(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var Jr=(r,e,t)=>tu(r,typeof e!="symbol"?e+"":e,t);import{b,j as a,d as nu,R as an,r as qa}from"./index-DZlHo2oi.js";import{u as Ya,I as At}from"./ImageComponent-BZyMuhU6.js";import{C as ru,H as iu,T as Fc,a as su,s as au}from"./HomepageTakeover-Dy5fUVFU.js";import{g as Ls}from"./_commonjsHelpers-gnU0ypJ3.js";import{u as ou}from"./index-Be8MB27G.js";import{S as $c}from"./splide.min-aiYKB1QT.js";const zc=()=>{const[r,e]=b.useState("up"),t=200;let n=0;return b.useEffect(()=>{let i=window.scrollY;const s=()=>{n=window.scrollY;const o=n>i?"down":"up";if(o!==r&&(n-i>10||n-i<-10)){if(n<t)return;e(o)}i=n>0?n:0};return window.addEventListener("scroll",s),()=>{window.removeEventListener("scroll",s)}},[r]),{direction:r,scrollY:n}},cu=({header:r})=>{const e=zc();return a.jsxs("header",{className:`main-nav header js-nav minimal-nav headroom header--pinned header--top ${e.direction==="down"?"header--slide-up":""}`,children:[a.jsx("div",{className:"main-nav__top-bar"}),a.jsx("div",{className:"main-nav__container",children:a.jsx("div",{className:"height-full",style:{position:"relative"},children:a.jsx("div",{className:"pull-left marginless height-full",style:{margin:0,width:"auto",position:"relative",zIndex:23},children:a.jsx("div",{className:"table-center-wrap height-full",children:a.jsx("div",{className:"table-center",children:a.jsx("a",{className:"block",id:"logo-container",href:"/",children:a.jsx("svg",{className:"gene-logo","aria-label":"Genentech - A Member of the Roche Group",style:{fill:r.header_navigation_color},children:a.jsx("use",{xmlnsXlink:"http://www.w3.org/1999/xlink",xlinkHref:"#icon-genentech-header-logo"})})})})})})})})]})},lu=({headerImage:r,title:e,width:t=null,height:n=null})=>{const{visible:i,ref:s}=Ya({threshold:.2}),[o,c]=b.useState(!1),[l,u]=b.useState(!1);b.useEffect(()=>{i&&u(!0)},[i]);const d=()=>{c(!0)};return a.jsxs("div",{ref:s,children:[l&&a.jsxs("picture",{className:"n-hero-background spark-responsive-img spark-responsive-img--loaded",style:{position:"absolute",width:"100%",height:"100%",opacity:o?1:0,transition:"opacity 0.5s ease"},children:[a.jsx("source",{srcSet:`/assets/gcontent/${r}?w=${t}&h=${n} 1x, 
2                     /assets/gcontent/${r}?w=${t}&h=${n} 2x`}),a.jsx("img",{style:{width:"100%"},srcSet:`/assets/gcontent/${r}?w=30`,alt:e,onLoad:d}),a.jsx("noscript",{children:a.jsx("img",{src:`/assets/gcontent/${r}?w=${t}&h=${n}`,alt:e})})]}),a.jsx("picture",{className:"n-hero-background spark-responsive-img spark-responsive-img--loaded",style:{width:"100%",height:"100%",opacity:o?0:1,transition:"opacity 0.5s ease"},children:a.jsx("img",{className:"",srcSet:`/assets/gcontent/${r}?w=30`,alt:e})})]})},uu=({header:r,takeover:e})=>{const[t,n]=b.useState(!1),[i,s]=b.useState(!1),[o,c]=b.useState([]),[l,u]=b.useState(typeof window<"u"?window.innerWidth:1920),[d,h]=b.useState(!1),[m,f]=b.useState(null),g=b.useRef(null);b.useEffect(()=>{var _;if((_=GeneJs.geneHeader)!=null&&_.topNavNodes){const x=Object.values(GeneJs.geneHeader.topNavNodes).filter(v=>v.title).map(v=>({text:v.prefix?`${v.prefix} ${v.title}`:v.title,href:`/${v.request_path}`,label:v.title}));x.push({text:"Contact Us",href:"/contact-us",label:"Contact Us"},{text:"About Us",href:"/about-us",label:"About Us"}),c(x)}},[]),b.useEffect(()=>{const _=()=>{u(window.innerWidth)};return window.addEventListener("resize",_),()=>window.removeEventListener("resize",_)},[]),b.useEffect(()=>()=>{m&&clearTimeout(m)},[m]);const p=()=>{s(!i),setTimeout(()=>{g.current&&!i&&g.current.focus()},0)};return a.jsx("header",{className:"minimal-menu-search-nav",children:a.jsxs("div",{className:"minimal-menu-search-nav__container",children:[a.jsxs("div",{className:`minimal-menu-search-nav__menu ${t?" open":""} ${d?" hovered":""}`,onMouseEnter:()=>{m&&(clearTimeout(m),f(null)),h(!0)},onMouseLeave:()=>{const _=setTimeout(()=>{h(!1),f(null)},250);f(_)},children:[a.jsx("button",{className:`trigger ${t?"mobile-hidden":""}`,onClick:()=>n(!t),"aria-label":"Toggle menu",children:a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.75 20.25C22.75 19.836 22.414 19.5 22 19.5H2.5C2.086 19.5 1.75 19.836 1.75 20.25C1.75 20.664 2.086 21 2.5 21H22C22.414 21 22.75 20.664 22.75 20.25ZM22.75 12C22.75 11.586 22.414 11.25 22 11.25H2.5C2.086 11.25 1.75 11.586 1.75 12C1.75 12.414 2.086 12.75 2.5 12.75H22C22.414 12.75 22.75 12.414 22.75 12ZM22 4.5H2.5C2.086 4.5 1.75 4.164 1.75 3.75C1.75 3.336 2.086 3 2.5 3H22C22.414 3 22.75 3.336 22.75 3.75C22.75 4.164 22.414 4.5 22 4.5Z",fill:"#000"})})}),a.jsxs("div",{className:"content-container",children:[a.jsx("div",{className:"text-right",children:a.jsx("button",{className:"close",onClick:()=>n(!1),children:a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5325 17.4695C18.8225 17.7595 18.8225 18.2395 18.5325 18.5295C18.3825 18.6795 18.1925 18.7495 18.0025 18.7495C17.8025 18.7495 17.6125 18.6795 17.4625 18.5295L12.0045 13.0685L6.5365 18.5295C6.3865 18.6795 6.1975 18.7495 6.0075 18.7495C5.8065 18.7495 5.6165 18.6795 5.4675 18.5295C5.1775 18.2395 5.1775 17.7595 5.4675 17.4695L10.9355 11.9985L5.4675 6.5275C5.1775 6.2375 5.1775 5.7575 5.4675 5.4675C5.7665 5.1775 6.2375 5.1775 6.5365 5.4675L12.0045 10.9385L17.4625 5.4675C17.7625 5.1775 18.2325 5.1775 18.5325 5.4675C18.8225 5.7575 18.8225 6.2375 18.5325 6.5275L13.0645 11.9985L18.5325 17.4695Z",fill:"black"})})})}),a.jsxs("div",{className:"content-grid",children:[a.jsx("div",{className:"nav-logo",children:a.jsx("a",{href:"/",children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"115",height:"15",fill:"none",children:a.jsx("path",{fill:"#000",d:"M27.23 10.386v-3.04c0-.454-.08-.861-.238-1.225-.159-.363-.451-.663-.877-.902s-.99-.423-1.693-.553c-.703-.13
2-1.588-.195-2.654-.195-1.157 0-2.096.081-2.815.247-.72.165-1.28.399-1.677.706-.398.306-.663.667-.8 1.08a4.287 4.287 0 0 0-.204 1.353v3.79c0 .466.069.901.204 1.31.135.41.402.767.8 1.073.397.305.955.544 1.677.715.72.17 1.658.255 2.815.255 1.066 0 1.95-.062 2.654-.187.703-.125 1.267-.3 1.693-.528.426-.227.718-.516.877-.868.159-.35.239-.748.239-1.19v-.766h-2.978v.748c0 .182-.032.334-.093.46-.062.125-.182.23-.358.314-.175.085-.427.153-.756.203a8.53 8.53 0 0 1-1.276.077c-.568 0-1.02-.042-1.361-.127-.34-.085-.59-.198-.748-.34a.9.9 0 0 1-.298-.485 2.516 2.516 0 0 1-.06-.544v-1.38h7.93l-.002-.001ZM19.303 7.72c0-.192.02-.377.06-.552a.948.948 0 0 1 .297-.485c.159-.147.406-.263.74-.349.334-.085.791-.127 1.37-.127.52 0 .943.029 1.267.086.324.056.576.133.756.23.182.097.304.212.366.35.062.134.093.295.093.475v1.276H19.3v-.902l.002-.002Zm68.804 2.666v-3.04c0-.454-.08-.861-.238-1.225-.16-.363-.451-.663-.877-.902s-.99-.423-1.694-.553c-.703-.13-1.588-.195-2.653-.195-1.157 0-2.096.081-2.816.247-.72.165-1.279.399-1.676.706-.398.306-.663.667-.8 1.08a4.287 4.287 0 0 0-.204 1.353v3.79c0 .466.069.901.204 1.31.135.41.402.767.8 1.073.397.305.955.544 1.676.715.72.17 1.659.255 2.816.255 1.065 0 1.95-.062 2.653-.187.704-.125 1.268-.3 1.694-.528.426-.227.718-.516.877-.868.158-.35.238-.748.238-1.19v-.766H85.13v.748c0 .182-.032.334-.094.46-.061.125-.182.23-.357.314-.175.085-.428.153-.757.203a8.53 8.53 0 0 1-1.275.077c-.568 0-1.02-.042-1.362-.127-.34-.085-.589-.198-.748-.34a.9.9 0 0 1-.297-.485 2.516 2.516 0 0 1-.06-.544v-1.38h7.929l-.002-.001Zm-7.93-2.666c0-.192.02-.377.06-.552a.949.949 0 0 1 .298-.485c.158-.147.406-.263.74-.349.334-.085.791-.127 1.369-.127.52 0 .943.029 1.267.086.324.056.576.133.757.23.182.097.304.212.366.35.061.134.093.295.093.475v1.276h-4.951v-.902l.001-.002Zm-26.68 2.666v-3.04c0-.454-.081-.861-.24-1.225-.158-.363-.45-.663-.877-.902-.425-.239-.99-.423-1.693-.553-.703-.13-1.588-.195-2.653-.195-1.158 0-2.096.081-2.816.247-.72.165-1.28.399-1.677.706-.397.306-.663.667-.8 1.08a4.287 4.287 0 0 0-.203 1.353v3.79c0 .466.068.901.203 1.31.136.41.403.767.8 1.073.398.305.956.544 1.677.715.72.17 1.658.255 2.816.255 1.065 0 1.95-.062 2.653-.187.703-.125 1.268-.3 1.694-.528.425-.227.718-.516.876-.868.159-.35.24-.748.24-1.19v-.766h-2.978v.748c0 .182-.032.334-.094.46-.062.125-.182.23-.357.314-.176.085-.428.153-.757.203a8.53 8.53 0 0 1-1.276.077c-.567 0-1.02-.042-1.36-.127-.341-.085-.59-.198-.749-.34a.9.9 0 0 1-.297-.485 2.516 2.516 0 0 1-.06-.544v-1.38h7.929l-.002-.001Zm-7.93-2.666c0-.192.02-.377.06-.552a.948.948 0 0 1 .297-.485c.159-.147.406-.263.74-.349.334-.085.792-.127 1.37-.127.52 0 .943.029 1.267.086.324.056.576.133.757.23.182.097.303.212.365.35.062.134.094.295.094.475v1.276h-4.952v-.902l.002-.002ZM29.42 14.76V4.692h2.568l.154 1.14c.182-.215.397-.409.646-.577.25-.17.536-.316.86-.435a5.33 5.33 0 0 1 1.08-.264 9.293 9.293 0 0 1 1.312-.085c.793 0 1.466.074 2.016.22.549.148 1 .361 1.352.639.35.277.606.624.767 1.037.158.414.239.888.239 1.42v6.971h-3.03v-6.8a1.94 1.94 0 0 0-.127-.748 1.222 1.222 0 0 0-.417-.52 1.988 1.988 0 0 0-.748-.315 5.05 5.05 0 0 0-1.09-.102c-.454 0-.833.037-1.14.11a2.42 2.42 0 0 0-.791.333c-.22.147-.383.325-.485.536-.102.21-.153.45-.153.723v6.783H29.42Zm26.28 0V4.692h2.569l.154 1.14c.182-.215.397-.409.646-.577.249-.17.536-.316.86-.435a5.332 5.332 0 0 1 1.08-.264 9.294 9.294 0 0 1 1.311-.085c.794 0 1.466.074 2.016.22.55.148 1 .361 1.353.639a2.4 2.4 0 0 1 .764 1.037c.16.414.24.888.24 1.42v6.971h-3.03v-6.8a1.94 1.94 0 0 0-.127-.748 1.223 1.223 0 0 0-.418-.52 1.988 1.988 0 0 0-.748-.315 5.05 5.05 0 0 0-1.088-.102 4.99 4.99 0 0 0-1.141.11c-.306.074-.57.184-.792.333-.22.147-.382.325-.484.536-.102.21-.154.45-.154.723v6.783h-3.01Zm16.825-8.307v5.295c0 .183.012.354.034.52a.824.824 0 0 0 .187.426c.102.12.244.212.426.28.182.069.426.102.731.102h1.82v1.685h-2.568c-.772 0-1.393-.073-1.864-.22-.47-.147-.841-.358-1.114-.63a2.022 2.022 0 0 1-.544-.995 5.792 5.792 0 0 1-.137-1.301V6.456h-1.344v-1.76h1.344V2.22h3.03v2.477h3.18v1.76h-3.18v-.003Zm20.33 8.29c-.72-.17-1.28-.41-1.678-.715-.397-.306-.663-.663-.8-1.072a4.144 4.144 0 0 1-.203-1.311v-3.79c0-.487.068-.938.204-1.352.136-.414.402-.775.8-1.08.397-.306.955-.542 1.676-.707.72-.164 1.658-.247 2.816-.247 1.065 0 1.949.065 2.645.195.698.13 1.26.316 1.685.553.426.239.72.54.885.902.164.362.247.771.247 1.226v1.072h-2.977V7.345c0-.182-.032-.341-.094-.476-.062-.136-.185-.252-.366-.35-.182-.096-.434-.173-.756-.23a7.614 7.614 0 0 0-1.268-.085c-.577 0-1.035.042-1.369.127-.334.085-.581.202-.74.349a.938.938 0 0 0-.297.484c-.04.176-.06.361-.06.553v4.043c0 .182.02.363.06.545.04.182.142.344.305.484.164.142.415.255.749.34.334.086.785.128 1.352.128.521 0 .946-.029 1.268-.086.324-.056.576-.13.756-.22.182-.09.304-.204.366-.34a1.15 1.15 0 0 0 .094-.477V11.03h2.977v1.122c0 .443-.082.84-.247 1.19-.165.353-.459.65-.885.894s-.987.431-1.685.561c-.698.13-1.58.196-2.645.196-1.158 0-2.096-.086-2.816-.256v.007Zm19.109-10.05c.549.147 1 .36 1.352.638.351.277.607.624.765 1.037.159.414.239.888.239 1.42v6.971h-3.029v-6.8c0-.295-.042-.544-.127-.748a1.22 1.22 0 0 0-.418-.52 1.98 1.98 0 0 0-.748-.315 5.135 5.135 0 0 0-1.105-.102c-.431 0-.82.037-1.133.11a2.31 2.31 0 0 0-.791.333 1.368 1.368 0 0 0-.476.536c-.102.21-.154.45-.154.723v6.783h-3.011V.027h3.011v5.499a3.41 3.41 0 0 1 .638-.434 5.072 5.072 0 0 1 1.795-.553 9.547 9.547 0 0 1 1.174-.068c.794 0 1.467.073 2.016.22l.002.002ZM10.494 9.215H7.026V7.128h7.092V10.5c0 .521-.098 1-.297 1.438-.199.436-1.461 3.06-6.76 3.06-5.3 0-6.565-2.624-6.764-3.06A3.436 3.436 0 0 1 0 10.5V4.497c0-.52.099-1 .297-1.438C.496 2.622 1.76 0 7.06 0c5.299 0 6.563 2.622 6.76 3.06.199.437.297.916.297 1.437v.693h-3.622V3.796c0-.239-.045-.468-.135-.69-.09-.22-.257-.417-.503-.588-.244-.17-.59-.312-1.039-.425-.447-.114-1.035-.17-1.761-.17-.727 0-1.313.056-1.762.17-.448.113-.795.255-1.039.425-.244.17-.41.366-.503.588-.09.22-.135.451-.135.69v7.408c0 .239.045.468.135.69.09.22.258.417.503.588.244.17.59.3
212 1.039.426.447.113 1.035.17 1.762.17.726 0 1.312-.057 1.761-.17.448-.114.795-.256 1.04-.426.243-.17.41-.366.502-.588.09-.22.135-.451.135-.69V9.215Z"})})})}),a.jsx("div",{style:{display:"flex",alignItems:"center",width:"100%",gridColumn:"2 / span 2"},children:a.jsx("nav",{className:"nav-links",children:o.map(_=>a.jsx("a",{href:_.href,className:_.label===r.current_page?"active":"",children:_.text},_.href))})}),a.jsx("div",{className:"quick-links-label",children:"Quick Links:"}),a.jsx("div",{className:"quick-links",children:a.jsxs("ul",{children:[a.jsx("li",{children:a.jsx("a",{href:"/patients/clinical-trials/population-science",children:"Population Science"})}),a.jsx("li",{children:a.jsx("a",{href:"/patients/financial-support",children:"Patient Financial Support"})}),a.jsx("li",{children:a.jsx("a",{href:"/patients/clinical-trial-information",children:"Clinical Trial Information"})}),a.jsx("li",{children:a.jsx("a",{href:"/medical-professionals/pipeline",children:"Our Pipeline"})}),a.jsx("li",{children:a.jsx("a",{href:"/patients/medicines",children:"Our Medicines"})}),a.jsx("li",{children:a.jsx("a",{href:"/topics",children:"Featured Topics"})})]})}),a.jsx("div",{children:e&&a.jsxs("a",{className:"takeover",href:e.promo_target_path,children:[a.jsxs("div",{className:"text",children:[a.jsx("h3",{children:e.promo_title??e.title}),a.jsx("p",{children:e.promo_blurb_text??e.blurb_text})]}),a.jsxs("div",{className:"image",children:[e.promo_image?a.jsx(lu,{headerImage:e.promo_image,title:e.promo_title??e.title,width:300}):a.jsx(ru,{images:e.header_image,title:e.promo_title??e.title}),a.jsx("div",{className:"image__icon",children:a.jsx("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.4289 12.5288L15.6357 19.2797C15.4858 19.4297 15.2936 19.4998 15.1034 19.4998C14.9112 19.4998 14.72 19.4297 14.5691 19.2797C14.2772 18.9897 14.2772 18.5098 14.5691 18.2198L20.0743 12.7487H3.78105C3.36849 12.7487 3.02637 12.4088 3.02637 11.9988C3.02637 11.5888 3.36849 11.2488 3.78105 11.2488H20.0743L14.5691 5.77775C14.2772 5.48775 14.2772 5.00775 14.5691 4.71675C14.8609 4.42775 15.3439 4.42775 15.6357 4.71675L22.4289 11.4688C22.7207 11.7587 22.7207 12.2388 22.4289 12.5288Z",fill:"#000"})})})]})]})})]})]})]}),!((t||d&&l>=1024)&&l<1340)&&a.jsx("div",{className:`minimal-menu-search-nav__search ${i?" open":""}`,onMouseEnter:()=>{h(!1),m&&(clearTimeout(m),f(null))},children:a.jsxs("div",{className:"minimal-menu-search-nav__search-container",children:[a.jsxs("form",{action:"/search",method:"GET",className:"search-form clearable-search",children:[a.jsx("input",{type:"hidden",name:"site",value:"www.gene.com"}),a.jsx("input",{ref:g,className:"clearable-search__input",id:"search-input",name:"q",placeholder:"Search",autoComplete:"off"}),a.jsx("button",{className:"clearable-search__clear hidden visuallyhidden",type:"button"})]}),a.jsx("button",{className:"search-icon",onClick:p,children:a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.22484 10.3109C5.41776 6.80622 8.43063 4.10773 11.9363 4.30071C15.452 4.49423 18.1505 7.5071 17.9576 11.0118C17.7641 14.5265 14.7512 17.225 11.2356 17.0314C7.72986 16.8385 5.03138 13.8256 5.22484 10.3109ZM22.4111 21.6226L17.3827 15.9977C18.5857 14.7019 19.3503 13.0014 19.4553 11.0942C19.6938 6.7608 16.3632 3.04212 12.0188 2.80298C7.68433 2.56438 3.96565 5.89503 3.72711 10.2285C3.48802 14.5719 6.81867 18.2906 11.1531 18.5292C13.0602 18.6341 14.8344 18.0608 16.2555 17.0073L21.2954 22.6228C21.436 22.7808 21.6218 22.8611 21.8116 22.8715C22.0013 22.882 22.1958 22.8226 22.3528 22.681C22.6583 22.4074 22.6847 21.9281 22.4111 21.6226Z",fill:"#000"})})})]})})]})})},du={main:[{cta:{text:"For Scientists",href:"/scientists"},links:[{isTier:!1,cta:{text:"Our Scientists",href:"/scientists/our-scientists"},id:"scientists-our-scientists"},{isTier:!1,cta:{text:"Publications",href:"/scientists/publications"},id:"scientists-publications"}]},{cta:{text:"For Medical Professionals",href:"/medical-professionals"},links:[{isTier:!1,cta:{text:"Our Medicines",href:"/medical-professionals/medicines"},id:"medical-professionals-our-medicine"},{isTier:!1,cta:{text:"Our Pipeline",href:"/medical-professionals/pipeline"},id:"medical_professionals-pipeline"},{isTier:!1,cta:{text:"Medical Resources",href:"/medical-professionals/medinfo"},id:"medical_professionals-medinfo"}]},{cta:{text:"For Patients",href:"/patients"},links:[{isTier:!1,cta:{text:"Our Medicines",href:"/patients/medicines"},id:"patients-our-medicines"},{isTier:!1,cta:{text:"Investigational Medicines",href:"/patients/investigational-medicines"},id:"patients-investigational-medicines"},{isTier:!1,cta:{text:"Patient Access",href:"patients/patient-access"},id:"patients-patient-access"}]},{cta:{text:"For Media",href:"/media"},links:[{isTier:!1,cta:{text:"News Features",href:"/media/news-features"},id:"media-news-features"},{isTier:!1,cta:{text:"Press Releases",href:"/media/press-releases"},id:"media-press-releases"},{isTier:!1,cta:{text:"Statements",href:"/media/statements"},id:"media-statements"}]},{cta:{text:"For Good",href:"/good"},links:[{isTier:!1,cta:{text:"Grants",href:"/good/grants"},id:"good-grants"},{isTier:!1,cta:{text:"Giving",href:"/good/giving"},id:"good-giving"},{isTier:!1,cta:{text:"Diversity & Inclusion",href:"/good/diversity-inclusion"},id:"good-diversity"},{isTier:!1,cta:{text:"Sustainability",href:"/good/sustainability"},id:"good-sustainability"}]},{cta:{text:"Now Hiring",href:"/careers"},links:[{isTier:!1,cta:{text:"Find A Job",href:"/careers/find-a-job"},id:"careers-find-a-job"},{isTier:!1,cta:{text:"Academic Programs",href:"/careers/academic-programs"},id:"careers-academic-programs"},{isTier:!1,cta:{text:"Professional Areas",href:"/careers/professional-areas"},id:"careers-professional-areas"}]}],featured:[{text:"Behind The Science",href:"/topics/behind-the-science"},{text:"Breast Cancer",href:"/topics/breast-cancer"},{text:"Cancer Immunotherapy",href:"/topics/cancer-immunotherapy"},{text:"Hematology",href:"/topics/hematology"},{text:"Lung Cancer",href:"/topics/lung-cancer"},{text:"Manufacturing",href:"/topics/manufacturing"},{text:"Multiple Sclerosis",href:"/topics/multiple-sclerosis"},{text:"Oncology",href:"/topics/oncology"},{text:"Ophthalmology",href:"/topics/ophthalmology"},{text:"Partnering",href:"/topics/partnering"},{text:"Respiratory Health",href:"/topics/respiratory-health"},{text:"Rheumatology",href:"/topics/rheumatology"}],footer:[{text:"About Us",href:"/about-us"},{text:"Contact Us",href:"/contact-us"},{text:"Leadership",href:"/about-us/leadership"},{text:"Awards & Recognition",href:"/about-us/awards-recognition"},{text:"Investors",href:"/about-us/investors"},{text:"Suppliers",href:"/about-us/suppliers"},{text:"Compliance",href:"/about-us/compliance"}]},fu={getMany:()=>du},hu=r=>{const[e,t]=b.useState(!1);b.useEffect(()=>{r.showSubLinks||t(!1)},[r.showSubLinks]);function n(i){t(!0),r.setShowSubLinks(!0)}return a.jsxs(a.Fragment,{children:[a.jsx("a",{onClick:n,className:`js-tier-link nav-flyout__fade ib nav-flyout__main-link nav-flyout__tier-link type-nav-1 type--black nav-mobile ${r.showSubLinks?"hidden":""}
2`,children:a.jsx("span",{className:"inner-text",children:r.link.cta.text})}),a.jsxs("div",{className:`nav-flyout__tier-links-container js-tier-container fade in nav-mobile ${e?"":"hidden"}`,children:[a.jsx("a",{href:r.link.cta.href,className:" nav-flyout__tier-link--sublink  ib nav-flyout__main-link nav-flyout__tier-link type-nav-1 type--black",children:a.jsx("span",{className:"inner-text",children:r.link.cta.text})}),r.link.links.map(i=>a.jsx("a",{href:i.cta.href,className:"block type-nav-5 type--black nav-flyout__sublink",children:i.cta.text}))]})]})},pu=()=>{const[r,e]=b.useState(!1),[t,n]=b.useState(!1),i=zc(),[s,o]=b.useState(!1),[c,l]=b.useState({});b.useEffect(()=>{l(fu.getMany)},[]);const u=()=>{n(!0)},d=()=>{n(!1)};function h(){let _=document.getElementsByClassName("js-content")[0];r?(_.classList.remove("main-nav__content--nav-open"),document.body.classList.remove("body--nav-open")):(_.classList.add("main-nav__content--nav-open"),document.body.classList.add("body--nav-open")),e(!r)}function m(_){o(!1)}function f(){return a.jsx(a.Fragment,{children:c.main!==void 0?c.main.map(_=>a.jsxs("div",{children:[a.jsx("a",{href:_.cta.href,className:"js-tier-link nav-flyout__fade ib nav-flyout__main-link nav-flyout__tier-link type-nav-1 type--black nav-desktop",children:a.jsx("span",{className:"inner-text",children:_.cta.text})}),a.jsx("div",{className:"nav-flyout__sublinks nav-desktop",children:_.links.map(x=>a.jsx("a",{href:x.cta.href,className:"block type-nav-5 type--black nav-flyout__sublink",children:x.cta.text}))}),a.jsx(hu,{link:_,showSubLinks:s,setShowSubLinks:o})]})):a.jsx(a.Fragment,{})})}function g(){return a.jsxs("div",{className:"nav-flyout js-side-drawer main-nav__side-drawer main-nav__side-drawer--open",children:[a.jsxs("div",{className:"main-nav__side-drawer-nav clearfix",children:[a.jsx("div",{className:`nav-flyout__back-btn js-back-tier fade ${s?"in":""}`,onClick:m,children:a.jsx("p",{className:"type-nav-4 type--flat-btm type--italic type--black ib vertical-align--middle",children:"Back"})}),a.jsx("div",{className:"nav-flyout__close-container pull-right marginless",children:a.jsx("div",{className:"table-center-wrap main-nav__close-nav-container width-full",children:a.jsx("div",{className:"table-center",children:a.jsx("div",{onClick:h,className:"navicon navicon--mobile-close main-nav__close-navicon navicon--close",children:a.jsx("div",{className:"navicon__inner",children:a.jsx("div",{className:"navicon__lines"})})})})})})]}),a.jsx("div",{className:`nav-flyout__search-container clearfix ${t?"nav-flyout__search-container--focus":""} ${s?"nav-flyout__search-container--tier-active":""}`,children:a.jsx("div",{className:`row nav-flyout__search-row nav-flyout__fade ${s?"nav-flyout__fade--out hidden":""}`,children:a.jsx("div",{className:"col-12@sm",children:a.jsxs("form",{action:"/search",method:"GET",className:"nav-flyout__search clearable-search",children:[a.jsx("svg",{className:"nav-flyout__search-icon",children:a.jsx("use",{xmlnsXlink:"http://www.w3.org/1999/xlink",xlinkHref:"#icon-search"})}),a.jsx("input",{className:"clearable-search__input",id:"search-input",name:"q",onFocus:u,onBlur:d}),a.jsx("button",{className:"clearable-search__clear hidden visuallyhidden",type:"button"})]})})})}),a.jsx("div",{className:"nav-flyout__container container--xs-full clearfix",children:a.jsxs("div",{className:`row nav-flyout__link-row ${t?"nav-flyout__link-row--fade":""}`,children:[a.jsx("div",{className:"col-12@sm col-8@md",children:a.jsxs("div",{className:"nav-flyout__nav-links",children:[f(),a.jsx("div",{className:"nav-flyout__tier-links-container js-tier-container hidden fade"})]})}),a.jsxs("div",{className:`col-12@sm col-4@md nav-flyout__fade ${s?"nav-flyout__fade--out hidden":""}`,children:[a.jsxs("div",{className:"row nav-flyout__side-links",children:[a.jsx("div",{className:"col-6@xs col-12@sm col-12@md",children:a.jsx("p",{className:"type-nav-5 nav-flyout__subtitle marginless type--black",children:"Featured Topics"})}),c.featured!==void 0?c.featured.map(_=>a.jsx("div",{className:"col-3@xs col-6@sm col-12@md",children:a.jsx("a",{href:_.href,className:"ib nav-flyout__text-link type-nav-4 type--italic type--black nav-flyout__sidelink",children:_.text})})):a.jsx(a.Fragment,{})]}),a.jsx("div",{className:"row nav-flyout__footer-links",children:c.footer!==void 0?c.footer.map(_=>a.jsx("a",{className:"block type-nav-5 type--bold type--black",href:_.href,children:_.text})):a.jsx(a.Fragment,{})})]})]})})]})}function p(){return a.jsxs("header",{className:`main-nav header js-nav modern-nav headroom ${r?"main-nav__content--nav-open":""} ${i.direction==="down"?"header--slide-up":""}`,children:[a.jsx("div",{className:"main-nav__top-bar"}),a.jsxs("div",{className:"main-nav__container",children:[a.jsxs("div",{className:"height-full",style:{position:"relative"},children:[a.jsx("div",{className:"pull-left marginless height-full",style:{margin:0,width:"auto",position:"relative",zIndex:23},children:a.jsx("div",{className:"table-center-wrap height-full",children:a.jsx("div",{className:"table-center",children:a.jsx("a",{className:"block",id:"logo-container",href:"/",children:a.jsx("svg",{className:"gene-logo","aria-label":"Genentech - A Member of the Roche Group",children:a.jsx("use",{xmlnsXlink:"http://www.w3.org/1999/xlink",xlinkHref:"#icon-genentech-header-logo"})})})})})}),a.jsx("div",{className:"pull-right marginless height-full",style:{position:"relative",zIndex:23},children:a.jsx("div",{className:"table-center-wrap height-full",children:a.jsx("div",{className:"table-center",children:a.jsx("div",{className:`navicon ${r?"navicon--close":""}`,onClick:h,children:a.jsx("div",{className:"navicon__inner",children:a.jsx("div",{className:"navicon__lines"})})})})})})]}),a.jsxs("div",{className:"main-nav__social-overlay",children:[a.jsx("div",{className:"main-nav__col main-nav__close-col",children:a.jsx("div",{className:"main-nav__close__wrapper",children:a.jsx("a",{href:"javascript:void(0)",className:"block height-full",children:a.jsx("svg",{className:"main-nav__close",children:a.jsx("use",{xlinkHref:"#icon-close"})})})})}),a.jsxs("ul",{className:"main-nav__col main-nav__social-links unstyled-list",children:[a.jsx("li",{className:"main-nav__social-link-wrap icon",children:a.jsxs("a",{className:"main-nav__social-link main-nav__social-link--twitter icon",href:"javascript:void(0)",children:[a.jsx("svg",{className:"icon icon--medium",children:a.jsx("use",{xlinkHref:"#icon-share-twitter"})}),a.jsx("span",{className:"hidden",children:"Twitter"})]})}),a.jsx("li",{className:"main-nav__social-link-wrap icon",children:a.jsxs("a",{className:"main-nav__social-link main-nav__social-link--facebook icon",href:"javascript:void(0)",children:[a.jsx("svg",{className:"icon icon--medium",children:a.jsx("use",{xlinkHref:"#icon-share-facebook"})}),a.jsx("span",{className:"hidden",children:"Facebook"})]})}),a.jsx("li",{className:"main-nav__social-link-wrap icon",children:a.jsxs("a",{className:"main-nav__social-link main-nav__social-link--linkedin icon",href:"javascript:void(0)",children:[a.jsx("svg",{className:"icon icon--medium",children:a.jsx("use",{xlinkHref:"#icon-share-linkedin"})}),a.jsx("span",{className:"hidden",children:"LinkedIn"})]})})]})]})]}),a.jsx("div",{className:"main-nav__secondary-links-container",children:a.jsx("div",{className:"relative main-nav__secondary-container"})})]})}return a.jsxs(a.Fragment,{children:[g(),p(),a.jsx("div",{className:"header__spacer  header__spacer--no-breadcrumbs "})]})},mu=({header:r,takeover:e})=>(function(){switch(r.header_navigation_type){case"modern":return a.jsx(pu,{});
2case"minimal":return a.jsx(cu,{header:r});case"minimal_menu_search":return a.jsx(uu,{header:r,takeover:e})}})(),ma=({author:r,children:e})=>{const t=()=>{if(!r||r.length===0)return"";const n=r.imagePath&&(r.link?a.jsx("div",{className:"author__avatar",children:a.jsx("a",{className:"author__link",href:r.link,children:a.jsx("img",{src:r.imagePath})})}):a.jsx("div",{className:"author__avatar",children:a.jsx("img",{src:r.imagePath})})),i=r.link?a.jsx("a",{className:"author__link",href:r.link,children:a.jsx("p",{className:"author__name type-body-3",children:a.jsx("strong",{children:r.name})})}):a.jsx("p",{className:"author__name type-body-3",children:a.jsx("strong",{children:r.name})}),s=r.title?a.jsx("p",{className:"author__title type-body-3",children:r.title}):"",o=r.description?a.jsx("p",{className:"author__bio type-body-4 type--flat-btm",children:r.description}):"";return a.jsx("div",{className:`byline__main spacer-top-small${r.image?" byline__main--with-img":""}`,children:a.jsxs("header",{className:"story-byline",children:[n,a.jsxs("div",{className:"story-byline__author",children:[i," ",s," ",o]})]})})};return a.jsx("section",{className:"byline container sheet-wrap-container",children:a.jsx("div",{className:"row byline__wrapper",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsxs("div",{className:"sheet-wrap",children:[e," ",t()]})})})})};function Zt(r){const e=Object.prototype.toString.call(r);return r instanceof Date||typeof r=="object"&&e==="[object Date]"?new r.constructor(+r):typeof r=="number"||e==="[object Number]"||typeof r=="string"||e==="[object String]"?new Date(r):new Date(NaN)}function fr(r,e){return r instanceof Date?new r.constructor(e):new Date(e)}const Bc=6048e5,_u=864e5,Wc=6e4,qc=36e5;let gu={};function Is(){return gu}function ki(r,e){var c,l,u,d;const t=Is(),n=(e==null?void 0:e.weekStartsOn)??((l=(c=e==null?void 0:e.locale)==null?void 0:c.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((d=(u=t.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??0,i=Zt(r),s=i.getDay(),o=(s<n?7:0)+s-n;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function xs(r){return ki(r,{weekStartsOn:1})}function Yc(r){const e=Zt(r),t=e.getFullYear(),n=fr(r,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);const i=xs(n),s=fr(r,0);s.setFullYear(t,0,4),s.setHours(0,0,0,0);const o=xs(s);return e.getTime()>=i.getTime()?t+1:e.getTime()>=o.getTime()?t:t-1}function Po(r){const e=Zt(r);return e.setHours(0,0,0,0),e}function Mo(r){const e=Zt(r),t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+r-+t}function xu(r,e){const t=Po(r),n=Po(e),i=+t-Mo(t),s=+n-Mo(n);return Math.round((i-s)/_u)}function vu(r){const e=Yc(r),t=fr(r,0);return t.setFullYear(e,0,4),t.setHours(0,0,0,0),xs(t)}function yu(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function wu(r){if(!yu(r)&&typeof r!="number")return!1;const e=Zt(r);return!isNaN(Number(e))}function Cu(r){const e=Zt(r),t=fr(r,0);return t.setFullYear(e.getFullYear(),0,1),t.setHours(0,0,0,0),t}const bu={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ju=(r,e,t)=>{let n;const i=bu[r];return typeof i=="string"?n=i:e===1?n=i.one:n=i.other.replace("{{count}}",e.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function Ys(r){return(e={})=>{const t=e.width?String(e.width):r.defaultWidth;return r.formats[t]||r.formats[r.defaultWidth]}}const Nu={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Tu={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Su={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ku={date:Ys({formats:Nu,defaultWidth:"full"}),time:Ys({formats:Tu,defaultWidth:"full"}),dateTime:Ys({formats:Su,defaultWidth:"full"})},Eu={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Pu=(r,e,t,n)=>Eu[r];function Kr(r){return(e,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let i;if(n==="formatting"&&r.formattingValues){const o=r.defaultFormattingWidth||r.defaultWidth,c=t!=null&&t.width?String(t.width):o;i=r.formattingValues[c]||r.formattingValues[o]}else{const o=r.defaultWidth,c=t!=null&&t.width?String(t.width):r.defaultWidth;i=r.values[c]||r.values[o]}const s=r.argumentCallback?r.argumentCallback(e):e;return i[s]}}const Mu={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ou={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Lu={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Iu={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"]},Au={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ru={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Du=(r,e)=>{const t=Number(r),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},Vu={ordinalNumber:Du,era:Kr({values:Mu,defaultWidth:"wide"}),quarter:Kr({values:Ou,defaultWidth:"wide",argumentCallback:r=>r-1}),month:Kr({values:Lu,defaultWidth:"wide"}),day:Kr({values:Iu,defaultWidth:"wide"}),dayPeriod:Kr({values:Au,defaultWidth:"wide",formattingValues:Ru,defaultFormattingWidth:"wide"})};function ei(r){return(e,t={})=>{const n=t.width,i=n&&r.matchPatterns[n]||r.matchPatterns[r.defaultMatchWidth],s=e.match(i);if(!s)return null;const o=s[0],c=n&&r.parsePatterns[n]||r.parsePatterns[r.defaultParseWidth],l=Array.isArray(c)?Fu(c,h=>h.test(o)):Hu(c,h=>h.test(o));let u;u=r.valueCallback?r.valueCallback(l):l,u=t.valueCallback?t.valueCallback(u):u;const d=e.slice(o.length);return{value:u,rest:d}}}function Hu(r,e){for(const t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&e(r[t]))return t}function Fu(r,e){for(let t=0;t<r.length;t++)if(e(r[t]))return t}function $u(r){return(e,t={})=>{const n=e.match(r.matchPattern);if(!n)return null;const i=n[0],s=e.match(r.parsePattern);if(!s)return null;let o=r.valueCallback?r.valueCallback(s[0]):s[0];o=t.valueCallback?t.valueCallback(o):o;const c=e.slice(i.length);return{value:o,rest:c}}}const zu=/^(\d+)(th|st|nd|rd)?/i,Bu=/\d+/i,Wu={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},qu={any:[/^b/i,/^(a|c)/i]},Yu={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Uu={any:[/1/i,/2/i,/3/i,/4/i]},Gu={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Xu={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Zu={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Qu={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Ju={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ku={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ed={ordinalNumber:$u({matchPattern:zu,parsePattern:Bu,valueCallback:r=>parseInt(r,10)}),era:ei({matchPatterns:Wu,defaultMatchWidth:"wide",parsePatterns:qu,defaultParseWidth:"any"}),quarter:ei({matchPatterns:Yu,defaultMatchWidth:"wide",parsePatterns:Uu,defaultParseWidth:"any",valueCallback:r=>r+1}),month:ei({matchPatterns:Gu,defaultMatchWidth:"wide",parsePatterns:Xu,defaultParseWidth:"any"}),day:ei({matchPatterns:Zu,defaultMatchWidth:"wide",parsePatterns:Qu,defaultParseWidth:"any"}),dayPeriod:ei({matchPatterns:Ju,defaultMatchWidth:"any",parsePatterns:Ku,defaultParseWidth:"any"})},td={code:"en-US",formatDistance:ju,formatLong:ku,formatRelative:Pu,localize:Vu,match:ed,options:{weekStartsOn:0,firstWeekContainsDate:1}};
vendor: 10,771 bytes, line 2
2function nd(r){const e=Zt(r);return xu(e,Cu(e))+1}function rd(r){const e=Zt(r),t=+xs(e)-+vu(e);return Math.round(t/Bc)+1}function Uc(r,e){var d,h,m,f;const t=Zt(r),n=t.getFullYear(),i=Is(),s=(e==null?void 0:e.firstWeekContainsDate)??((h=(d=e==null?void 0:e.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??i.firstWeekContainsDate??((f=(m=i.locale)==null?void 0:m.options)==null?void 0:f.firstWeekContainsDate)??1,o=fr(r,0);o.setFullYear(n+1,0,s),o.setHours(0,0,0,0);const c=ki(o,e),l=fr(r,0);l.setFullYear(n,0,s),l.setHours(0,0,0,0);const u=ki(l,e);return t.getTime()>=c.getTime()?n+1:t.getTime()>=u.getTime()?n:n-1}function id(r,e){var c,l,u,d;const t=Is(),n=(e==null?void 0:e.firstWeekContainsDate)??((l=(c=e==null?void 0:e.locale)==null?void 0:c.options)==null?void 0:l.firstWeekContainsDate)??t.firstWeekContainsDate??((d=(u=t.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??1,i=Uc(r,e),s=fr(r,0);return s.setFullYear(i,0,n),s.setHours(0,0,0,0),ki(s,e)}function sd(r,e){const t=Zt(r),n=+ki(t,e)-+id(t,e);return Math.round(n/Bc)+1}function de(r,e){const t=r<0?"-":"",n=Math.abs(r).toString().padStart(e,"0");return t+n}const Sn={y(r,e){const t=r.getFullYear(),n=t>0?t:1-t;return de(e==="yy"?n%100:n,e.length)},M(r,e){const t=r.getMonth();return e==="M"?String(t+1):de(t+1,2)},d(r,e){return de(r.getDate(),e.length)},a(r,e){const t=r.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(r,e){return de(r.getHours()%12||12,e.length)},H(r,e){return de(r.getHours(),e.length)},m(r,e){return de(r.getMinutes(),e.length)},s(r,e){return de(r.getSeconds(),e.length)},S(r,e){const t=e.length,n=r.getMilliseconds(),i=Math.trunc(n*Math.pow(10,t-3));return de(i,e.length)}},yr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Oo={G:function(r,e,t){const n=r.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return t.era(n,{width:"abbreviated"});case"GGGGG":return t.era(n,{width:"narrow"});case"GGGG":default:return t.era(n,{width:"wide"})}},y:function(r,e,t){if(e==="yo"){const n=r.getFullYear(),i=n>0?n:1-n;return t.ordinalNumber(i,{unit:"year"})}return Sn.y(r,e)},Y:function(r,e,t,n){const i=Uc(r,n),s=i>0?i:1-i;if(e==="YY"){const o=s%100;return de(o,2)}return e==="Yo"?t.ordinalNumber(s,{unit:"year"}):de(s,e.length)},R:function(r,e){const t=Yc(r);return de(t,e.length)},u:function(r,e){const t=r.getFullYear();return de(t,e.length)},Q:function(r,e,t){const n=Math.ceil((r.getMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return de(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,e,t){const n=Math.ceil((r.getMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return de(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,e,t){const n=r.getMonth();switch(e){case"M":case"MM":return Sn.M(r,e);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(r,e,t){const n=r.getMonth();switch(e){case"L":return String(n+1);case"LL":return de(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(r,e,t,n){const i=sd(r,n);return e==="wo"?t.ordinalNumber(i,{unit:"week"}):de(i,e.length)},I:function(r,e,t){const n=rd(r);return e==="Io"?t.ordinalNumber(n,{unit:"week"}):de(n,e.length)},d:function(r,e,t){return e==="do"?t.ordinalNumber(r.getDate(),{unit:"date"}):Sn.d(r,e)},D:function(r,e,t){const n=nd(r);return e==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):de(n,e.length)},E:function(r,e,t){const n=r.getDay();switch(e){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(r,e,t,n){const i=r.getDay(),s=(i-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(s);case"ee":return de(s,2);case"eo":return t.ordinalNumber(s,{unit:"day"});case"eee":return t.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(i,{width:"short",context:"formatting"});case"eeee":default:return t.day(i,{width:"wide",context:"formatting"})}},c:function(r,e,t,n){const i=r.getDay(),s=(i-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(s);case"cc":return de(s,e.length);case"co":return t.ordinalNumber(s,{unit:"day"});case"ccc":return t.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(i,{width:"narrow",context:"standalone"});case"cccccc":return t.day(i,{width:"short",context:"standalone"});case"cccc":default:return t.day(i,{width:"wide",context:"standalone"})}},i:function(r,e,t){const n=r.getDay(),i=n===0?7:n;switch(e){case"i":return String(i);case"ii":return de(i,e.length);case"io":return t.ordinalNumber(i,{unit:"day"});case"iii":return t.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(n,{width:"short",context:"formatting"});case"iiii":default:return t.day(n,{width:"wide",context:"formatting"})}},a:function(r,e,t){const i=r.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(r,e,t){const n=r.getHours();let i;switch(n===12?i=yr.noon:n===0?i=yr.midnight:i=n/12>=1?"pm":"am",e){case"b":case"bb":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(r,e,t){const n=r.getHours();let i;switch(n>=17?i=yr.evening:n>=12?i=yr.afternoon:n>=4?i=yr.morning:i=yr.night,e){case"B":case"BB":case"BBB":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(r,e,t){if(e==="ho"){let n=r.getHours()%12;return n===0&&(n=12),t.ordinalNumber(n,{unit:"hour"})}return Sn.h(r,e)},H:function(r,e,t){return e==="Ho"?t.ordinalNumber(r.getHours(),{unit:"hour"}):Sn.H(r,e)},K:function(r,e,t){const n=r.getHours()%12;return e==="Ko"?t.ordinalNumber(n,{unit:"hour"}):de(n,e.length)},k:function(r,e,t){let n=r.getHours();return n===0&&(n=24),e==="ko"?t.ordinalNumber(n,{unit:"hour"}):de(n,e.length)},m:function(r,e,t){return e==="mo"?t.ordinalNumber(r.getMinutes(),{unit:"minute"}):Sn.m(r,e)},s:function(r,e,t){return e==="so"?t.ordinalNumber(r.getSeconds(),{unit:"second"}):Sn.s(r,e)},S:function(r,e){return Sn.S(r,e)},X:function(r,e,t){const n=r.getTimezoneOffset();if(n===0)return"Z";switch(e){case"X":return Io(n);case"XXXX":case"XX":return Jn(n);case"XXXXX":case"XXX":default:return Jn(n,":")}},x:function(r,e,t){const n=r.getTimezoneOffset();switch(e){case"x":return Io(n);case"xxxx":case"xx":return Jn(n);case"xxxxx":case"xxx":default:return Jn(n,":")}},O:function(r,e,t){const n=r.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Lo(n,":");case"OOOO":default:return"GMT"+Jn(n,":")}},z:function(r,e,t){const n=r.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Lo(n,":");case"zzzz":default:return"GMT"+Jn(n,":")}},t:function(r,e,t){const n=Math.trunc(r.getTime()/1e3);return de(n,e.length)},T:function(r,e,t){const n=r.getTime();return de(n,e.length)}};function Lo(r,e=""){const t=r>0?"-":"+",n=Math.abs(r),i=Math.trunc(n/60),s=n%60;return s===0?t+String(i):t+String(i)+e+de(s,2)}function Io(r,e){return r%60===0?(r>0?"-":"+")+de(Math.abs(r)/60,2):Jn(r,e)}function Jn(r,e=""){const t=r>0?"-":"+",n=Math.abs(r),i=de(Math.trunc(n/60),2),s=de(n%60,2);return t+i+e+s}const Ao=(r,e)=>{switch(r){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},Gc=(r,e)=>{switch(r){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},ad=(r,e)=>{const t=r.match(/(P+)(p+)?/)||[],n=t[1],i=t[2];if(!i)return Ao(r,e);let s;switch(n){case"P":s=e.dateTime({width:"short"});break;case"PP":s=e.dateTime({width:"medium"});break;case"PPP":s=e.dateTime({width:"long"});break;case"PPPP":default:s=e.dateTime({width:"full"});break}return s.replace("{{date}}",Ao(n,e)).replace("{{time}}",Gc(i,e))},od={p:Gc,P:ad},cd=/^D+$/,ld=/^Y+$/,ud=["D","DD","YY","YYYY"];function dd(r){return cd.test(r)}function fd(r){return ld.test(r)}function hd(r,e,t){const n=pd(r,e,t);if(console.warn(n),ud.includes(r))throw new RangeError(n)}function pd(r,e,t){const n=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${e}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const md=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_d=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,gd=/^'([^]*?)'?$/,xd=/''/g,vd=/[a-zA-Z]/;function Xc(r,e,t){var d,h,m,f;const n=Is(),i=n.locale??td,s=n.firstWeekContainsDate??((h=(d=n.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??1,o=n.weekStartsOn??((f=(m=n.locale)==null?void 0:m.options)==null?void 0:f.weekStartsOn)??0,c=Zt(r);if(!wu(c))throw new RangeError("Invalid time value");let l=e.match(_d).map(g=>{const p=g[0];
2if(p==="p"||p==="P"){const _=od[p];return _(g,i.formatLong)}return g}).join("").match(md).map(g=>{if(g==="''")return{isToken:!1,value:"'"};const p=g[0];if(p==="'")return{isToken:!1,value:yd(g)};if(Oo[p])return{isToken:!0,value:g};if(p.match(vd))throw new RangeError("Format string contains an unescaped latin alphabet character `"+p+"`");return{isToken:!1,value:g}});i.localize.preprocessor&&(l=i.localize.preprocessor(c,l));const u={firstWeekContainsDate:s,weekStartsOn:o,locale:i};return l.map(g=>{if(!g.isToken)return g.value;const p=g.value;(fd(p)||dd(p))&&hd(p,e,String(r));const _=Oo[p[0]];return _(c,p,i.localize,u)}).join("")}function yd(r){const e=r.match(gd);return e?e[1].replace(xd,"'"):r}function Zc(r,e){const n=jd(r);let i;if(n.date){const l=Nd(n.date,2);i=Td(l.restDateString,l.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);const s=i.getTime();let o=0,c;if(n.time&&(o=Sd(n.time),isNaN(o)))return new Date(NaN);if(n.timezone){if(c=kd(n.timezone),isNaN(c))return new Date(NaN)}else{const l=new Date(s+o),u=new Date(0);return u.setFullYear(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()),u.setHours(l.getUTCHours(),l.getUTCMinutes(),l.getUTCSeconds(),l.getUTCMilliseconds()),u}return new Date(s+o+c)}const Gi={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},wd=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Cd=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,bd=/^([+-])(\d{2})(?::?(\d{2}))?$/;function jd(r){const e={},t=r.split(Gi.dateTimeDelimiter);let n;if(t.length>2)return e;if(/:/.test(t[0])?n=t[0]:(e.date=t[0],n=t[1],Gi.timeZoneDelimiter.test(e.date)&&(e.date=r.split(Gi.timeZoneDelimiter)[0],n=r.substr(e.date.length,r.length))),n){const i=Gi.timezone.exec(n);i?(e.time=n.replace(i[1],""),e.timezone=i[1]):e.time=n}return e}function Nd(r,e){const t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),n=r.match(t);if(!n)return{year:NaN,restDateString:""};const i=n[1]?parseInt(n[1]):null,s=n[2]?parseInt(n[2]):null;return{year:s===null?i:s*100,restDateString:r.slice((n[1]||n[2]).length)}}function Td(r,e){if(e===null)return new Date(NaN);const t=r.match(wd);if(!t)return new Date(NaN);const n=!!t[4],i=ti(t[1]),s=ti(t[2])-1,o=ti(t[3]),c=ti(t[4]),l=ti(t[5])-1;if(n)return Ld(e,c,l)?Ed(e,c,l):new Date(NaN);{const u=new Date(0);return!Md(e,s,o)||!Od(e,i)?new Date(NaN):(u.setUTCFullYear(e,s,Math.max(i,o)),u)}}function ti(r){return r?parseInt(r):1}function Sd(r){const e=r.match(Cd);if(!e)return NaN;const t=Us(e[1]),n=Us(e[2]),i=Us(e[3]);return Id(t,n,i)?t*qc+n*Wc+i*1e3:NaN}function Us(r){return r&&parseFloat(r.replace(",","."))||0}function kd(r){if(r==="Z")return 0;const e=r.match(bd);if(!e)return 0;const t=e[1]==="+"?-1:1,n=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return Ad(n,i)?t*(n*qc+i*Wc):NaN}function Ed(r,e,t){const n=new Date(0);n.setUTCFullYear(r,0,4);const i=n.getUTCDay()||7,s=(e-1)*7+t+1-i;return n.setUTCDate(n.getUTCDate()+s),n}const Pd=[31,null,31,30,31,30,31,31,30,31,30,31];function Qc(r){return r%400===0||r%4===0&&r%100!==0}function Md(r,e,t){return e>=0&&e<=11&&t>=1&&t<=(Pd[e]||(Qc(r)?29:28))}function Od(r,e){return e>=1&&e<=(Qc(r)?366:365)}function Ld(r,e,t){return e>=1&&e<=53&&t>=0&&t<=6}function Id(r,e,t){return r===24?e===0&&t===0:t>=0&&t<60&&e>=0&&e<60&&r>=0&&r<25}function Ad(r,e){return e>=0&&e<=59}const _a=({publishDate:r})=>{const e=t=>Xc(Zc(t),"LLL d, yyyy");return r?a.jsx("div",{className:"published-date",children:e(r)}):null},Jc=({customBackgroundColor:r,customTextColor:e,tags:t})=>{if(!t||!t.length)return"";const n=()=>t.map((i,s)=>a.jsx("li",{children:a.jsxs("a",{className:"text-link text-link--tag",href:`/topics/${i.url_key}`,children:[i.name,s!==t.length-1?",":""]})},`${s}-${i.url_key}`));return a.jsx("section",{className:"tags container sheet-wrap-container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",style:{backgroundColor:r},children:a.jsxs("div",{className:"tags__main spacer-btm-large",children:[a.jsx("h2",{className:"type-display-4 type--bold tags__header",style:{color:e},children:"Tags"}),a.jsx("ul",{className:"tags__list",children:n()})]})})})})})},Rd=960,Dd=1280,Kc=b.forwardRef(({index:r,onLoad:e,shouldBeLoaded:t=!1,srcs:n},i)=>{const s=()=>{e()},o=l=>{if(l){const u=i.current[r];u.element?l.style.opacity=u.element.style.opacity:l.style.opacity="100%",i.current[r].element=l}},c={backgroundImage:`url(${n.loading})`,width:"100%",height:"100%"};return t&&Object.keys(n).length>0?a.jsx("div",{className:"lazy-image",style:c,ref:o,children:a.jsxs("picture",{children:[a.jsx("source",{srcSet:`${n.src_lg}, ${n.src_retina_lg} 2x`,media:`(min-width:${Dd}px)`}),a.jsx("source",{srcSet:`${n.src_md}, ${n.src_retina_md} 2x`,media:`(min-width:${Rd}px)`}),a.jsx("source",{srcSet:`${n.src_sm}, ${n.src_retina_sm} 2x`}
2),a.jsx("img",{className:"background-image","data-slide-id":`story0-${r}`,onLoad:s,srcSet:`${n.src_lg}, ${n.src_retina_lg} 2x`,src:n.src_lg,alt:""})]})}):null});Kc.displayName="LazyImage";const Vd=600,Hd=960,Ua=b.forwardRef(({index:r,playback:e,srcs:t,zIndex:n},i)=>{const[s,o]=b.useState(null),c=b.useCallback(()=>{window.innerWidth<=Vd?o("src_sm"):window.innerWidth<=Hd?o("src_md"):o("src_lg")},[]);b.useLayoutEffect(()=>(c(),window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)),[c]),b.useEffect(()=>{const d=i.current[r].element;s!==""&&d.src!==""&&d.src!==void 0&&s!==void 0&&(console.log("Loading:"+d.src),d.load())},[i,r,s]);const l=b.useCallback(d=>{if(d){d.defaultMuted=!0,d.muted=!0,i.current[r]||(i.current[r]={element:null,playback:e,numSlides:0,isInViewport:!1});const h=i.current[r];h.element?(d.style.transform=h.element.style.transform,d.style.opacity=h.element.style.opacity,d.style.height=`${window.innerHeight}px`,d.style.minHeight=`${window.innerHeight}px`):(d.style.transform=`translate3d(0,${h.shouldScrollIn?100:0}%,0)`,d.style.height=`${window.innerHeight}px`,d.style.minHeight=`${window.innerHeight}px`),i.current[r].element=d}},[i,r,e]),u={zIndex:n,height:`${window.innerHeight}px`};return a.jsx("video",{loop:e!=="scrubbing",muted:!0,preload:"auto",playsInline:!0,style:u,ref:l,src:t[s]})});Ua.displayName="LazyVideo";const Fd=75;class el{constructor(){this.updateState()}updateState(){const t=window.innerWidth<570?window.screen.availHeight:window.innerHeight;this.pageTop=window.scrollY,this.pageBot=this.pageTop+t,this.pageMid=this.pageTop+t/2,this.fadePoint=t*(Fd/100)+this.pageTop}updateCurrentSlide(e){this.currentSlide=e}}class $d{constructor({element:e,shouldScrollIn:t,shouldScrollOut:n,type:i}){this.isLoaded=!1,this.element=e,this.shouldScrollIn=t,this.shouldScrollOut=n,this.type=i}}const Ro=3,Do=1500;function zd(r){return b.useCallback(e=>{const t=r.current[e];if(!t||t.isAbove)return 100;if(t.isInViewport){const n=window.innerHeight,i=t.top,s=t.bot,o=window.pageYOffset,l=o+n-i,u=s-i,d=l/u*100,h=Math.max(0,i-o),g=(Math.min(n,s-o)-h)/n*100;return Math.min(100,Math.max(d,g,0))}return 0},[r])}function Bd(r){return b.useCallback((e,t)=>{const n=r.current[e];return!n.element||!n.isLoaded?!1:e<t-Ro||e>t+Ro?(r.current[e].element.style.display="none",!1):(r.current[e].element.style.display="block",!0)},[r])}function Wd(r,e,t,n){return b.useCallback(i=>{var l,u;if(!((l=r.current[i])!=null&&l.isLoaded)||!((u=r.current[i])!=null&&u.element))return;const s=n!=null&&n.current?n.current[i]:null;if((!s||!s.isBelow)&&t&&t.length){const d=t.findIndex(h=>h.index===i);if(d!==-1){const h=t[d-1],m=t[d];if(m&&m.type==="image_slide"&&h){if(h.type==="video_background"&&h.is_start===0){const f=t[d-2];if((f==null?void 0:f.transition_fg_below)==="scroll"){r.current[i].element.style.opacity="100%";return}}if(h.type!=="image_slide"&&h.type!=="video_background"){r.current[i].element.style.opacity="100%";return}}}}const c=e(i);r.current[i].element.style.opacity=`${c}%`},[r,e,t,n])}function qd(r,e,t,n,i,s,o,c,l){return b.useCallback(()=>{var h,m;const u=[];let d=!1;if(c!=null&&c.current){(h=c.current)==null||h.updateState();for(const f of r)i.current[f.index]&&(i.current[f.index].updatePositions(c.current,i.current[f.index]),i.current[f.index].isInViewport&&c.current.updateCurrentSlide(f.index));for(const f of r){if(f.type!=="image_slide")continue;i.current[f.index]&&s(f.index)?(u[f.index]=!0,d=!0):(m=n.current[f.index])!=null&&m.isLoaded&&(u[f.index]=!0),o(f.index,c.current.currentSlide)&&e(f.index)}t(),d&&l([...u])}},[n,r,o,e,t,i,l,s,c])}function Yd({video:r,videoId:e,innerStates:t,viewportState:n,calculateOpacity:i,videoPrecedingBlockRef:s,fgSlidesRef:o,skipEntranceFadeVideoIds:c}){if(!t.some(x=>x.fg.isInViewport))return{opacity:0,shouldPlay:!1,scrubTime:null};const l=t[0],u=t[t.length-1],h=!(c&&c.has(String(e)))&&(l.fg.shouldFadeVidIn||l.fg.shouldScrollVidIn||u.fg.shouldFadeVidOut||u.fg.shouldScrollVidOut),m=()=>Math.max(0,...t.filter(x=>x.fg.isInViewport||x.fg.isAbove).map(x=>i(x.block.index))),f=r.playback==="scrubbing",p=f&&l.fg.shouldFadeVidIn&&!Ud(l.fg,n,s[e],o)?0:h?m():100,_=f?Gd(r,l.fg,n,s[e],o):null;return{opacity:p,shouldPlay:!0,scrubTime:_}}function Ud(r,e,t,n){return t!==void 0&&n.current[t]?e.pageBot>
2=n.current[t].bot:r.isInViewport&&!r.isBelow}function Gd(r,e,t,n,i){const s=r.numSlides*window.innerHeight+window.innerHeight;let o,c;if(n!==void 0&&i.current[n]){const g=i.current[n];o=t.pageBot-g.bot,c=0}else o=t.pageBot-e.top,c=window.innerHeight*.5;const l=Math.max(0,o-c),u=s-c;let d=l/u;d<0&&(d=0),d>1&&(d=1);const m=1/60,f=Math.round(d*r.element.duration/m)*m;return isNaN(f)?null:f}function Xd(r){return b.useMemo(()=>new Set(r.flatMap((e,t)=>e.type==="video_background"&&e.is_start===1?[t]:[]).map((e,t)=>({vidId:t,prev:r[e-1]})).filter(({prev:e})=>(e==null?void 0:e.type)==="full_screen_cta").map(({vidId:e})=>String(e))),[r])}function Zd(r,e,t,n,i,s,o){const c=b.useMemo(()=>{const u=new Map;for(const d of r){if(!d.videoId)continue;const[h]=d.videoId.split(".");u.has(h)||u.set(h,[]),u.get(h).push(d)}for(const d of u.values())d.sort((h,m)=>{const f=Number(h.videoId.split(".")[1]),g=Number(m.videoId.split(".")[1]);return f-g});return u},[r]),l=Xd(r);return b.useCallback(async()=>{const u=i.current;if(u)for(const[d,h]of c){const m=n.current[d];if(!(m!=null&&m.element))continue;const f=[];for(let p=0;p<h.length;p++){const _=h[p],x=t.current[_.index];if(!x)continue;const v=p===h.length-1;x.updateVideoState(e.current[_.index],v),f.push({block:_,fg:x})}if(f.length===0)continue;const g=Yd({video:m,videoId:d,innerStates:f,viewportState:u,calculateOpacity:s,videoPrecedingBlockRef:o.current,fgSlidesRef:t,skipEntranceFadeVideoIds:l});if(m.element.style.opacity=`${g.opacity}%`,m.isInViewport=g.opacity>0,m.playback==="loop")if(g.shouldPlay){if(m.isRangeActive=!0,m.element.paused)try{await m.element.play()}catch{}}else m.isRangeActive=!1,m.element.paused||m.element.pause();m.playback==="scrubbing"&&g.scrubTime!=null&&m.element.seekable.length>0&&(m.element.currentTime=g.scrubTime)}},[c,e,t,n,i,s,o,l])}function Qd(r,e){return b.useCallback(()=>{const t=Object.values(r).filter(n=>n.type!=="video_background");t.forEach((n,i)=>{const s=t[i-1]&&(t[i-1].type!=="image_slide"||t[i-1].transition_bg==="scroll"),o=t[i+1]&&t[i+1].type!=="image_slide"||t[i].transition_bg==="scroll";e.current[n.index]=new $d({element:null,shouldScrollIn:s,shouldScrollOut:o,type:"image"})})},[r,e])}function Jd(r,e,t){return b.useCallback(n=>{var o;const i=r.current[n];if(!i||(o=e.current[n])!=null&&o.isLoaded)return!1;const s=i.isInViewport||t.current.pageBot>=i.top-Do||t.current.pageTop<=i.bot+Do;return!e.current[n].isLoaded&&s?(e.current[n].isLoaded=!0,!0):!1},[e,r,t])}function Kd(r,e,t,n){return b.useCallback(()=>{let i=-1,s=1,o=!1,c=0,l=0,u=!1,d=null,h=!0;const m=[];let f=null,g=0;return r.forEach((p,_)=>{if(p.type==="video_background"){if(e.current[i]&&c&&(e.current[i].numSlides=c,e.current[i].height=l),p.is_start){let x=null;for(let y=_-1;y>=0;y--){const j=r[y];if(!j)break;if(j.type==="image_slide"){x=j;break}if(!(j.type==="video_background"&&j.is_start===0))break}const v=x&&x.transition_bg==="fade";!u&&!v&&f&&f.blocks.length>0&&(f.top=g,g+=f.height,m.push(f),f=null,h=!0),f||(f={type:"group",blocks:[],height:0,startIndex:_},h=!0),i++,c=0,l=r[_-1]?window.innerHeight:0,s=1,p.vidId=i,o=!0,u=!0,d={...p,type:"video_background"},f&&f.blocks.push(d),x&&x.index!==void 0&&f&&f.blocks.some(y=>y.index===x.index)?(t.current[i]=x.index,n.current[x.index]&&(n.current[x.index].isFirstSlide=h,x.transition_bg==="fade"&&(n.current[x.index].shouldFadeVidIn=!0))):delete t.current[i],h=!1}else{const x=r[_-1],v=x&&x.transition_bg==="fade";x&&n.current[x.index]&&v&&(n.current[x.index].shouldFadeVidOut=!0),o=!1,c=0,l=0,d=null,!v&&u&&(u=!1,h=!0,f&&f.blocks.length>0&&(f.top=g,g+=f.height,m.push(f),f=null))}return}if(o){c++;const x=s===1;if(n.current[p.index]){if(n.current[p.index].isFirstSlide=h,n.current[p.index].isFirstVidSlide=x,x&&t.current[i]!==void 0){const v=t.current[i],w=n.current[v];w&&(n.current[p.index].shouldFadeVidIn=w.shouldFadeVidIn,n.current[p.index].shouldScrollVidIn=w.shouldScrollVidIn,n.current[p.index].requestedFadeVidIn=!!w.shouldFadeVidIn)}l+=n.current[p.index].rect.height}p.videoId=`${i}.${s++}`,h=!1,f&&(f.blocks.push(p),n.current[p.index]&&(f.height+=n.current[p.index].rect.height))}
2else if(p.type==="image_slide"||p.type==="gene_animation"||p.type==="half_screen_cta"||p.type==="full_screen_cta"){const x=p.type==="half_screen_cta"||p.type==="full_screen_cta",v=x&&p.background==="previous";x&&!v&&f&&f.blocks.length>0&&(f.top=g,g+=f.height,m.push(f),f=null,u=!1,h=!0),f||(f={type:"group",blocks:[],height:0,startIndex:p.index},h=!0),n.current[p.index]&&(n.current[p.index].isFirstSlide=h);const y=u&&p.transition_bg!=="fade";h=!1,f.blocks.push(p),n.current[p.index]&&(f.height+=n.current[p.index].rect.height);const j=r[_+1],S=j&&(j.type==="half_screen_cta"||j.type==="full_screen_cta")&&j.background!=="previous";(y||!x&&S)&&(f.top=g,g+=f.height,m.push(f),f=null,u=!1,h=!0)}else if(f&&f.blocks.length>0&&(f.top=g,g+=f.height,m.push(f),f=null,h=!0),u=!1,n.current[p.index]){const x=n.current[p.index].rect.height;m.push({type:"spacer",index:p.index,height:x,top:g}),g+=x}}),f&&f.blocks.length>0&&(f.top=g,m.push(f)),c&&e.current&&e.current[i]&&(e.current[i].numSlides=c,e.current[i].height=l),m},[r,n,e,t])}function ef(r,e,t){return b.useCallback(()=>{r.current.forEach((n,i)=>{if(n){if(r.current[i].updateElement(),i===0){const s=r.current[i].rect.y+window.pageYOffset;e.current=s}r.current[i].applyDuctTape(e.current)}}),t()},[t,r,e])}function tf(r,e,t,n,i){return b.useCallback(()=>{let s=!1;if(r.current.forEach((u,d)=>{if(!u)return;const h=u.rect.height;n.current[d]!==h&&(s=!0,n.current[d]=h)}),!s)return;Object.keys(e.current).forEach(u=>{const d=e.current[u];if(!d||!d.element||!d.blocks)return;let h=0;d.blocks.forEach(m=>{m.type!=="video_background"&&r.current[m.index]&&(h+=r.current[m.index].rect.height)}),h>0&&(d.element.style.height=`${h}px`)}),Object.keys(t.current).forEach(u=>{const d=t.current[u];if(!d||!d.element||d.index===void 0)return;const h=r.current[d.index];h&&(d.element.style.height=`${h.rect.height}px`)});const c=i().reduce((u,d)=>u+d.height,0),l=document.querySelector(".story-fixed-image-container");l&&(l.style.minHeight=`${c}px`)},[r,i,e,t,n])}function nf(r,e){const t=localStorage.getItem(r);return JSON.parse(t)||e}const tl=(r,e)=>{const[t,n]=b.useState(()=>nf(r,e));return b.useEffect(()=>{localStorage.setItem(r,JSON.stringify(t))},[r,t]),[t,n]};function rf({block:r}){var t;const[e]=tl("seenGeneAnimationImageIndex",0);return a.jsx("div",{style:{backgroundColor:"#000000"},children:a.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:0,transformOrigin:"left center"},children:a.jsx(At,{images:r==null?void 0:r.images[e],alt:((t=r.images[e])==null?void 0:t.alt)||"",style:{width:"100%",height:"100%",objectFit:"cover",backgroundPosition:"center center"}})})})}function sf({block:r,index:e,bgSlidesRef:t,bgVidsRef:n,zIndex:i=1e3,setOnEnter:s,setOnExit:o,setOnProgress:c,shouldFadeOut:l=!0,visibleIndex:u=null}){const[d,h]=b.useState(r.index===0),[m,f]=b.useState(!1),[g,p]=b.useState(!1),_=b.useRef(0),x=b.useCallback(y=>r.index===0?y<.85?1:0:l?y>=.2&&y<.8?1:0:y>=.3?1:0,[r.index,l]);b.useEffect(()=>{typeof s=="function"&&s(y=>{y!=="none"&&(p(!0),r.transition==="fade"&&h(x(_.current||0)),f(!0))}),typeof o=="function"&&o(y=>{r.background==="image"&&y==="down"||r.background==="video"&&y==="down"||(p(!1),r.transition==="fade"&&h(0),!(y==="down"&&!l||y==="down"&&r.transition!=="fade")&&f(!1))}),typeof c=="function"&&c(y=>{if(!(r.transition==="fade"&&!g)&&(_.current=y,r.transition==="fade")){const j=x(y);h(j),j>0?f(!0):j===0&&!g&&f(!1)}})},[s,o,c,r.id,r.transition]),b.useEffect(()=>{r.transition!=="fade"&&u===e-1&&f(!0),u>=e&&f(!0)},[u,e,f,r]);let v=r.background==="color"?r.background_color:"transparent";r.background==="previous"&&(v="transparent"),r.background==="video"&&(v="black");const w=r.type==="full_screen_cta"?r.photos["block_flexible_cta/full_background_image"]:r.photos["block_flexible_cta/background_image"];return a.jsx("div",{className:"background-slide-sticky-wrapper half-screen-cta-bg",ref:y=>{y?(t.current[e]||(t.current[e]={}),t.current[e].element=y,y.dataset.slideIndex=String(e)):t.current[e]&&(t.current[e].element=null)},style:{position:r.transition==="fade"?"fixed":"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:i,backgroundColor:v,opacity:r.transition==="fade"&&m?d:m?1:0,transitionBehavior:"allow-discrete",transitionProperty:"opacity, display",transitionDuration:r.transition==="fade"?"0.3s":"0s"},children:a.jsxs("div",{style:{position:"sticky",top:0,left:0,width:"100%",height:"100vh"},children:[w&&r.background==="image"&&a.jsx(At,{images:w,className:"half-screen-cta-background-image",lazy:!0}),r.videos&&r.videos.length>0&&r.background==="video"&&a.jsx(Ua,{index:e,playback:"loop",ref:n,srcs:r.videos[0],zIndex:i-1})]})})}const nl=b.forwardRef(({blocks:r,bgSlidesRef:e,fgSlidesRef:t,intersectionHooks:n,visibleIndex:i})=>{const[s,o]=b.useState([]),c=b.useRef({}),l=b.useRef({}),u=b.useRef({}),d=b.useRef({}),h=b.useRef(null),m=b.useRef(0),f=b.useRef(null),g=b.useRef({}),p=zd(t),_=Bd(e),x=Wd(e,p,r,t),v=Zd(r,e,t,c,h,p,d),w=Qd(r,e),y=Jd(t,e,h),j=qd(r,x,v,e,t,y,_,h,o),S=Kd(r,c,d,t),N=tf(t,l,u,g,S),P=(A,L)=>{A?(e.current[L.index]||(e.current[L.index]={}),e.current[L.index].element=A,A.dataset.slideIndex=String(L.index)):e.current[L.index]&&(e.current[L.index].element=null)},k=ef(t,m,j),T=b.useCallback(()=>{f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{k(),N(),Date.now()-window.performance.timing.loadEventEnd<5e3&&T()},100)},[k,N]);b.useLayoutEffect(()=>
2{h.current=new el,w(),k(),window.onload=()=>{k()},setTimeout(()=>{var D;(D=h.current)==null||D.updateState();const O=[];r.forEach(V=>{if(V.type==="image_slide"&&t.current[V.index]){const $=t.current[V.index];$.updatePositions(h.current,$),($.isInViewport||h.current.pageBot>=$.top-100||h.current.pageTop<=$.bot+100)&&(O[V.index]=!0,e.current[V.index]&&!e.current[V.index].isLoaded&&(e.current[V.index].isLoaded=!0))}V.type==="video_background"&&V.is_start&&V.vidId!==void 0&&c.current[V.vidId]&&(c.current[V.vidId].isInViewport=!0)});try{const V=S();V&&V.length>0&&V[0].type==="group"&&V[0].blocks.forEach($=>{$.type==="image_slide"&&t.current[$.index]&&(O[$.index]=!0,e.current[$.index]&&!e.current[$.index].isLoaded&&(e.current[$.index].isLoaded=!0))})}catch(V){console.error("Error during initial background element check",V)}O.length>0&&o([...O]),T()},100);const L=()=>{k(),N()};window.addEventListener("resize",L);const R=()=>{j()};return window.addEventListener("scroll",R,{passive:!0}),()=>{window.removeEventListener("resize",L),window.removeEventListener("scroll",R),f.current&&clearTimeout(f.current)}},[w,k,j,r,t,e,T,N]);const F=S(),M=F.reduce((A,L)=>A+L.height,0);return a.jsx("div",{className:"story-fixed-image-container",style:{position:"relative",width:"100%",minHeight:M?`${M}px`:"100vh"},children:F.map((A,L)=>A.type==="spacer"?a.jsx("div",{className:"background-slide-spacer",ref:R=>{var O;u.current[A.index]={element:R,index:A.index},(O=A.blocks)==null||O.forEach(D=>{e.current[D.index].element=R})},style:{position:"relative",width:"100%",height:`${A.height}px`}},`bg-spacer-${A.index}`):a.jsx("div",{className:"background-slide-group",ref:R=>{R&&(l.current[L]={element:R,blocks:A.blocks,startIndex:A.startIndex})},style:{position:"relative",width:"100%",height:`${A.height}px`},children:a.jsx("div",{className:"background-slide-group-sticky",style:{position:"sticky",top:0,width:"100%",height:"100vh"},children:A.blocks.map((R,O)=>{const D=1e3+L*100+O;switch(R.type){case"image_slide":return a.jsx("div",{className:"background-slide-sticky-wrapper",ref:V=>P(V,R),style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:D},children:a.jsx(Kc,{index:R.index,onLoad:j,ref:e,shouldBeLoaded:s[R.index],srcs:R.images})},`bg-sticky-${R.index}`);case"video_background":return a.jsx("div",{className:"background-slide-sticky-wrapper",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:D},children:a.jsx(Ua,{index:R.vidId,playback:R.playback,ref:c,srcs:R.videoSrcs,zIndex:D})},`bg-sticky-video-${R.vidId}`);case"gene_animation":return a.jsx("div",{className:"background-slide-sticky-wrapper",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:D},children:a.jsx("div",{className:"gene-animation-background",style:{width:"100%",height:"100%"},children:a.jsx(rf,{block:R})})},`bg-sticky-gene-${R.index}`);case"half_screen_cta":case"full_screen_cta":return a.jsx("div",{className:"background-slide-sticky-wrapper",ref:V=>P(V,R),style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:D},children:a.jsx(sf,{block:R,index:R.index,bgSlidesRef:e,bgVidsRef:c,zIndex:D,setOnEnter:V=>{n.current[R.index]&&(n.current[R.index].background.onEnter=V)},setOnExit:V=>{n.current[R.index]&&(n.current[R.index].background.onExit=V)},setOnProgress:V=>{n.current[R.index]&&(n.current[R.index].background.onProgress=V)},visibleIndex:i},`bg-sticky-cta-${R.index}`)},`bg-sticky-${R.index}`);default:return null}})})},`bg-group-${L}`))})});nl.displayName="Background Slides";const af=({anchorSlug:r})=>a.jsx("a",{name:r,id:r,className:"js-scrolldepth-element anchor-block"});var Gs={exports:{}},Xs,Vo;function of(){if(Vo)return Xs;Vo=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Xs=r,Xs}var Zs,Ho;function cf(){if(Ho)return Zs;Ho=1;var r=of();function e(){}function t(){}return t.resetWarningCache=e,Zs=function(){function n(o,c,l,u,d,h){if(h!==r){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}n.isRequired=n;function i(){return n}var s={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:t,resetWarningCache:e};return s.PropTypes=s,s},Zs}var Fo;function lf(){return Fo||(Fo=1,Gs.exports=cf()()),Gs.exports}var uf=lf();const ce=Ls(uf);var Qs,$o;function df(){if($o)return Qs;$o=1;function r(c){return c&&typeof c=="object"&&"default"in c?c.default:c}var e=nu(),t=r(e);function n(c,l,u){return l in c?Object.defineProperty(c,l,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[l]=u,c}function i(c,l){c.prototype=Object.create(l.prototype),c.prototype.constructor=c,c.__proto__=l}var s=!!(typeof window<"u"&&window.document&&window.document.createElement);function o(c,l,u){if(typeof c!="function")throw new Error("Expected reducePropsToState to be a function.");
2if(typeof l!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof u<"u"&&typeof u!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function d(h){return h.displayName||h.name||"Component"}return function(m){if(typeof m!="function")throw new Error("Expected WrappedComponent to be a React component.");var f=[],g;function p(){g=c(f.map(function(x){return x.props})),_.canUseDOM?l(g):u&&(g=u(g))}var _=(function(x){i(v,x);function v(){return x.apply(this,arguments)||this}v.peek=function(){return g},v.rewind=function(){if(v.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var j=g;return g=void 0,f=[],j};var w=v.prototype;return w.UNSAFE_componentWillMount=function(){f.push(this),p()},w.componentDidUpdate=function(){p()},w.componentWillUnmount=function(){var j=f.indexOf(this);f.splice(j,1),p()},w.render=function(){return t.createElement(m,this.props)},v})(e.PureComponent);return n(_,"displayName","SideEffect("+d(m)+")"),n(_,"canUseDOM",s),_}}return Qs=o,Qs}var ff=df();const hf=Ls(ff);var Js,zo;function pf(){if(zo)return Js;zo=1;var r=typeof Element<"u",e=typeof Map=="function",t=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(s,o){if(s===o)return!0;if(s&&o&&typeof s=="object"&&typeof o=="object"){if(s.constructor!==o.constructor)return!1;var c,l,u;if(Array.isArray(s)){if(c=s.length,c!=o.length)return!1;for(l=c;l--!==0;)if(!i(s[l],o[l]))return!1;return!0}var d;if(e&&s instanceof Map&&o instanceof Map){if(s.size!==o.size)return!1;for(d=s.entries();!(l=d.next()).done;)if(!o.has(l.value[0]))return!1;for(d=s.entries();!(l=d.next()).done;)if(!i(l.value[1],o.get(l.value[0])))return!1;return!0}if(t&&s instanceof Set&&o instanceof Set){if(s.size!==o.size)return!1;for(d=s.entries();!(l=d.next()).done;)if(!o.has(l.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(o)){if(c=s.length,c!=o.length)return!1;for(l=c;l--!==0;)if(s[l]!==o[l])return!1;return!0}if(s.constructor===RegExp)return s.source===o.source&&s.flags===o.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof o.valueOf=="function")return s.valueOf()===o.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof o.toString=="function")return s.toString()===o.toString();if(u=Object.keys(s),c=u.length,c!==Object.keys(o).length)return!1;for(l=c;l--!==0;)if(!Object.prototype.hasOwnProperty.call(o,u[l]))return!1;if(r&&s instanceof Element)return!1;for(l=c;l--!==0;)if(!((u[l]==="_owner"||u[l]==="__v"||u[l]==="__o")&&s.$$typeof)&&!i(s[u[l]],o[u[l]]))return!1;return!0}return s!==s&&o!==o}return Js=function(o,c){try{return i(o,c)}catch(l){if((l.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw l}},Js}var mf=pf();const _f=Ls(mf);/*
3object-assign
4(c) Sindre Sorhus
5@license MIT
6*/var Ks,Bo;function gf(){if(Bo)return Ks;Bo=1;var r=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function n(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function i(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var o={},c=0;c<10;c++)o["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(o).map(function(d){return o[d]});if(l.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(d){u[d]=d}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ks=i()?Object.assign:function(s,o){for(var c,l=n(s),u,d=1;d<arguments.length;d++){c=Object(arguments[d]);for(var h in c)e.call(c,h)&&(l[h]=c[h]);if(r){u=r(c);for(var m=0;m<u.length;m++)t.call(c,u[m])&&(l[u[m]]=c[u[m]])}}return l},Ks}var xf=gf();const vf=Ls(xf);var ir={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},Q={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(Q).map(function(r){return Q[r]});var ve={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},vs={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Ei={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},yf=Object.keys(vs).reduce(function(r,e){return r[vs[e]]=e,r},{}),wf=[Q.NOSCRIPT,Q.SCRIPT,Q.STYLE],Xt="data-react-helmet",Cf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},bf=function(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")},jf=(function(){function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}
6)(),ht=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},Nf=function(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(r,e):r.__proto__=e)},Wo=function(r,e){var t={};for(var n in r)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t},Tf=function(r,e){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:r},ga=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},Sf=function(e){var t=Mr(e,Q.TITLE),n=Mr(e,Ei.TITLE_TEMPLATE);if(n&&t)return n.replace(/%s/g,function(){return Array.isArray(t)?t.join(""):t});var i=Mr(e,Ei.DEFAULT_TITLE);return t||i||void 0},kf=function(e){return Mr(e,Ei.ON_CHANGE_CLIENT_STATE)||function(){}},ea=function(e,t){return t.filter(function(n){return typeof n[e]<"u"}).map(function(n){return n[e]}).reduce(function(n,i){return ht({},n,i)},{})},Ef=function(e,t){return t.filter(function(n){return typeof n[Q.BASE]<"u"}).map(function(n){return n[Q.BASE]}).reverse().reduce(function(n,i){if(!n.length)for(var s=Object.keys(i),o=0;o<s.length;o++){var c=s[o],l=c.toLowerCase();if(e.indexOf(l)!==-1&&i[l])return n.concat(i)}return n},[])},ni=function(e,t,n){var i={};return n.filter(function(s){return Array.isArray(s[e])?!0:(typeof s[e]<"u"&&Lf("Helmet: "+e+' should be of type "Array". Instead found type "'+Cf(s[e])+'"'),!1)}).map(function(s){return s[e]}).reverse().reduce(function(s,o){var c={};o.filter(function(m){for(var f=void 0,g=Object.keys(m),p=0;p<g.length;p++){var _=g[p],x=_.toLowerCase();t.indexOf(x)!==-1&&!(f===ve.REL&&m[f].toLowerCase()==="canonical")&&!(x===ve.REL&&m[x].toLowerCase()==="stylesheet")&&(f=x),t.indexOf(_)!==-1&&(_===ve.INNER_HTML||_===ve.CSS_TEXT||_===ve.ITEM_PROP)&&(f=_)}if(!f||!m[f])return!1;var v=m[f].toLowerCase();return i[f]||(i[f]={}),c[f]||(c[f]={}),i[f][v]?!1:(c[f][v]=!0,!0)}).reverse().forEach(function(m){return s.push(m)});for(var l=Object.keys(c),u=0;u<l.length;u++){var d=l[u],h=vf({},i[d],c[d]);i[d]=h}return s},[]).reverse()},Mr=function(e,t){for(var n=e.length-1;n>=0;n--){var i=e[n];if(i.hasOwnProperty(t))return i[t]}return null},Pf=function(e){return{baseTag:Ef([ve.HREF,ve.TARGET],e),bodyAttributes:ea(ir.BODY,e),defer:Mr(e,Ei.DEFER),encode:Mr(e,Ei.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:ea(ir.HTML,e),linkTags:ni(Q.LINK,[ve.REL,ve.HREF],e),metaTags:ni(Q.META,[ve.NAME,ve.CHARSET,ve.HTTPEQUIV,ve.PROPERTY,ve.ITEM_PROP],e),noscriptTags:ni(Q.NOSCRIPT,[ve.INNER_HTML],e),onChangeClientState:kf(e),scriptTags:ni(Q.SCRIPT,[ve.SRC,ve.INNER_HTML],e),styleTags:ni(Q.STYLE,[ve.CSS_TEXT],e),title:Sf(e),titleAttributes:ea(ir.TITLE,e)}},xa=(function(){var r=Date.now();return function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout(function(){xa(e)},0)}})(),qo=function(e){return clearTimeout(e)},Mf=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||xa:global.requestAnimationFrame||xa,Of=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||qo:global.cancelAnimationFrame||qo,Lf=function(e){return console&&typeof console.warn=="function"&&console.warn(e)},ri=null,If=function(e){ri&&Of(ri),e.defer?ri=Mf(function(){Yo(e,function(){ri=null})}):(Yo(e),ri=null)},Yo=function(e,t){var n=e.baseTag,i=e.bodyAttributes,s=e.htmlAttributes,o=e.linkTags,c=e.metaTags,l=e.noscriptTags,u=e.onChangeClientState,d=e.scriptTags,h=e.styleTags,m=e.title,f=e.titleAttributes;va(Q.BODY,i),va(Q.HTML,s),Af(m,f);var g={baseTag:wr(Q.BASE,n),linkTags:wr(Q.LINK,o),metaTags:wr(Q.META,c),noscriptTags:wr(Q.NOSCRIPT,l),scriptTags:wr(Q.SCRIPT,d),styleTags:wr(Q.STYLE,h)},p={},_={};Object.keys(g).forEach(function(x){var v=g[x],w=v.newTags,y=v.oldTags;w.length&&(p[x]=w),y.length&&(_[x]=g[x].oldTags)}),t&&t(),u(e,p,_)},rl=function(e){return Array.isArray(e)?e.join(""):e},Af=function(e,t){typeof e<"u"&&document.title!==e&&(document.title=rl(e)),va(Q.TITLE,t)},va=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var i=n.getAttribute(Xt),s=i?i.split(","):[],o=[].concat(s),c=Object.keys(t),l=0;l<c.length;l++){var u=c[l],d=t[u]||"";n.getAttribute(u)!==d&&n.setAttribute(u,d),s.indexOf(u)===-1&&s.push(u);var h=o.indexOf(u);h!==-1&&o.splice(h,1)}for(var m=o.length-1;m>=0;m--)n.removeAttribute(o[m]);s.length===o.length?n.removeAttribute(Xt):n.getAttribute(Xt)!==c.join(",")&&n.setAttribute(Xt,c.join(","))}},wr=function(e,t){var n=document.head||document.querySelector(Q.HEAD),i=n.querySelectorAll(e+"["+Xt+"]"),s=Array.prototype.slice.call(i),o=[],c=void 0;return t&&t.length&&t.forEach(function(l){var u=document.createElement(e);for(var d in l)if(l.hasOwnProperty(d))if(d===ve.INNER_HTML)u.innerHTML=l.innerHTML;else if(d===ve.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=l.cssText:u.appendChild(document.createTextNode(l.cssText));else{var h=typeof l[d]>"u"?"":l[d];
6u.setAttribute(d,h)}u.setAttribute(Xt,"true"),s.some(function(m,f){return c=f,u.isEqualNode(m)})?s.splice(c,1):o.push(u)}),s.forEach(function(l){return l.parentNode.removeChild(l)}),o.forEach(function(l){return n.appendChild(l)}),{oldTags:s,newTags:o}},il=function(e){return Object.keys(e).reduce(function(t,n){var i=typeof e[n]<"u"?n+'="'+e[n]+'"':""+n;return t?t+" "+i:i},"")},Rf=function(e,t,n,i){var s=il(n),o=rl(t);return s?"<"+e+" "+Xt+'="true" '+s+">"+ga(o,i)+"</"+e+">":"<"+e+" "+Xt+'="true">'+ga(o,i)+"</"+e+">"},Df=function(e,t,n){return t.reduce(function(i,s){var o=Object.keys(s).filter(function(u){return!(u===ve.INNER_HTML||u===ve.CSS_TEXT)}).reduce(function(u,d){var h=typeof s[d]>"u"?d:d+'="'+ga(s[d],n)+'"';return u?u+" "+h:h},""),c=s.innerHTML||s.cssText||"",l=wf.indexOf(e)===-1;return i+"<"+e+" "+Xt+'="true" '+o+(l?"/>":">"+c+"</"+e+">")},"")},sl=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(e).reduce(function(n,i){return n[vs[i]||i]=e[i],n},t)},Vf=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(e).reduce(function(n,i){return n[yf[i]||i]=e[i],n},t)},Hf=function(e,t,n){var i,s=(i={key:t},i[Xt]=!0,i),o=sl(n,s);return[an.createElement(Q.TITLE,o,t)]},Ff=function(e,t){return t.map(function(n,i){var s,o=(s={key:i},s[Xt]=!0,s);return Object.keys(n).forEach(function(c){var l=vs[c]||c;if(l===ve.INNER_HTML||l===ve.CSS_TEXT){var u=n.innerHTML||n.cssText;o.dangerouslySetInnerHTML={__html:u}}else o[l]=n[c]}),an.createElement(e,o)})},pn=function(e,t,n){switch(e){case Q.TITLE:return{toComponent:function(){return Hf(e,t.title,t.titleAttributes)},toString:function(){return Rf(e,t.title,t.titleAttributes,n)}};case ir.BODY:case ir.HTML:return{toComponent:function(){return sl(t)},toString:function(){return il(t)}};default:return{toComponent:function(){return Ff(e,t)},toString:function(){return Df(e,t,n)}}}},al=function(e){var t=e.baseTag,n=e.bodyAttributes,i=e.encode,s=e.htmlAttributes,o=e.linkTags,c=e.metaTags,l=e.noscriptTags,u=e.scriptTags,d=e.styleTags,h=e.title,m=h===void 0?"":h,f=e.titleAttributes;return{base:pn(Q.BASE,t,i),bodyAttributes:pn(ir.BODY,n,i),htmlAttributes:pn(ir.HTML,s,i),link:pn(Q.LINK,o,i),meta:pn(Q.META,c,i),noscript:pn(Q.NOSCRIPT,l,i),script:pn(Q.SCRIPT,u,i),style:pn(Q.STYLE,d,i),title:pn(Q.TITLE,{title:m,titleAttributes:f},i)}},$f=function(e){var t,n;return n=t=(function(i){Nf(s,i);function s(){return bf(this,s),Tf(this,i.apply(this,arguments))}return s.prototype.shouldComponentUpdate=function(c){return!_f(this.props,c)},s.prototype.mapNestedChildrenToProps=function(c,l){if(!l)return null;switch(c.type){case Q.SCRIPT:case Q.NOSCRIPT:return{innerHTML:l};case Q.STYLE:return{cssText:l}}throw new Error("<"+c.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},s.prototype.flattenArrayTypeChildren=function(c){var l,u=c.child,d=c.arrayTypeChildren,h=c.newChildProps,m=c.nestedChildren;return ht({},d,(l={},l[u.type]=[].concat(d[u.type]||[],[ht({},h,this.mapNestedChildrenToProps(u,m))]),l))},s.prototype.mapObjectTypeChildren=function(c){var l,u,d=c.child,h=c.newProps,m=c.newChildProps,f=c.nestedChildren;switch(d.type){case Q.TITLE:return ht({},h,(l={},l[d.type]=f,l.titleAttributes=ht({},m),l));case Q.BODY:return ht({},h,{bodyAttributes:ht({},m)});case Q.HTML:return ht({},h,{htmlAttributes:ht({},m)})}return ht({},h,(u={},u[d.type]=ht({},m),u))},s.prototype.mapArrayTypeChildrenToProps=function(c,l){var u=ht({},l);return Object.keys(c).forEach(function(d){var h;u=ht({},u,(h={},h[d]=c[d],h))}),u}
6,s.prototype.warnOnInvalidChildren=function(c,l){return!0},s.prototype.mapChildrenToProps=function(c,l){var u=this,d={};return an.Children.forEach(c,function(h){if(!(!h||!h.props)){var m=h.props,f=m.children,g=Wo(m,["children"]),p=Vf(g);switch(u.warnOnInvalidChildren(h,f),h.type){case Q.LINK:case Q.META:case Q.NOSCRIPT:case Q.SCRIPT:case Q.STYLE:d=u.flattenArrayTypeChildren({child:h,arrayTypeChildren:d,newChildProps:p,nestedChildren:f});break;default:l=u.mapObjectTypeChildren({child:h,newProps:l,newChildProps:p,nestedChildren:f});break}}}),l=this.mapArrayTypeChildrenToProps(d,l),l},s.prototype.render=function(){var c=this.props,l=c.children,u=Wo(c,["children"]),d=ht({},u);return l&&(d=this.mapChildrenToProps(l,d)),an.createElement(e,d)},jf(s,null,[{key:"canUseDOM",set:function(c){e.canUseDOM=c}}]),s})(an.Component),t.propTypes={base:ce.object,bodyAttributes:ce.object,children:ce.oneOfType([ce.arrayOf(ce.node),ce.node]),defaultTitle:ce.string,defer:ce.bool,encodeSpecialCharacters:ce.bool,htmlAttributes:ce.object,link:ce.arrayOf(ce.object),meta:ce.arrayOf(ce.object),noscript:ce.arrayOf(ce.object),onChangeClientState:ce.func,script:ce.arrayOf(ce.object),style:ce.arrayOf(ce.object),title:ce.string,titleAttributes:ce.object,titleTemplate:ce.string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var i=e.rewind();return i||(i=al({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),i},n},zf=function(){return null},Bf=hf(Pf,If,al)(zf),ya=$f(Bf);ya.renderStatic=ya.rewind;const Wf=r=>{const t=new DOMParser().parseFromString(r,"text/html").documentElement.querySelectorAll(":not(html):not(head):not(body)");let n=[];return t.forEach((i,s)=>{let o=i.nodeName.toLowerCase(),c=Object.fromEntries([...i.attributes].map(({name:u,value:d})=>[u,d]));c.key="code_block_"+s;let l=i.text;typeof l<"u"&&l!==""?n.push(an.createElement(o,{...c},l)):n.push(an.createElement(o,{...c}))}),n},ol=({block:r})=>{const e=r.alignment==="full_bleed";return a.jsx("section",{className:`container sheet-wrap-container custom-media-element${e?" media-block media-block--full-bleed":""}`,children:a.jsxs("div",{className:"row",children:[a.jsx(ya,{children:Wf(r.header)}),a.jsx("div",{className:`sheet-wrap-col${e?" sheet-wrap--no-padding":""}`,dangerouslySetInnerHTML:{__html:r.content}})]})})},qf=({column:r,imageSize:e,customTextColor:t})=>{const n=()=>
6{if(!r.images)return null;const o=e==="16/9"?"multipoint-grid__image--16x9":"";return a.jsx("div",{className:`multipoint-grid__image ${o}`,children:a.jsx(At,{images:r.images,caption:r.title||""})})},i=()=>r.icon?a.jsx("div",{className:"multipoint-grid__icon",children:a.jsx("svg",{className:"icon icon--blue",children:a.jsx("use",{xlinkHref:`#${r.icon}`})})}):null,s=()=>{if(!r.link)return null;const o=r.label||"Read More";return a.jsxs("a",{href:r.link,className:"multipoint-grid__link",style:{color:t||null},children:[a.jsx("span",{className:"inner-text",children:o}),a.jsx("svg",{className:"icon",style:{fill:t||null},children:a.jsx("use",{xlinkHref:"#icon-chevron-right"})})]})};return a.jsxs("div",{className:"multipoint-grid__tile",children:[n(),i(),a.jsxs("div",{className:"multipoint-grid__text",children:[a.jsx("h5",{className:"multipoint-grid__head",style:{color:t||null},dangerouslySetInnerHTML:{__html:r.title}}),a.jsx("p",{className:"multipoint-grid__body",style:{color:t||null},dangerouslySetInnerHTML:{__html:r.body}}),s()]})]})},cl=({block:r,customBackgroundColor:e,customTextColor:t})=>{const n=r.alignment?`multipoint-grid--${r.alignment}`:"",i=()=>!r.items||!Array.isArray(r.items)?null:r.items.map((s,o)=>a.jsx(qf,{column:s,customTextColor:t,imageSize:r.image_size},s.id||`column-${o}`));return a.jsx("section",{className:"container-fluid",style:{maxWidth:"1105px",margin:"0 auto"},children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12@xs",children:a.jsx("section",{className:`multipoint-grid ${n}`,style:{backgroundColor:e||null,color:t||null,width:"100%"},children:i()})})})})},Yf=(r="full-width")=>{let e="",t="0",n=!1;switch(r){case"full-bleed":e="10",t="1";break;case"full-width":e="8",t="2";break;case"left-outdent":case"right-outdent":e="5",n=!0;break;case"left-align":case"right-align":e="4",t="2",n=!0;break;default:e="8",t="2"}return{columnClass:`col-${e}@sm`,columnOffset:`col-offset-${t}@sm`,isFloated:n}},ll=({block:r,customBackgroundColor:e,customFontColor:t})=>{const{columnClass:n,columnOffset:i,isFloated:s}=Yf(r.alignment),o={};e&&(o.backgroundColor=e),t&&(o.color=t);const c=()=>{const l=a.jsx(At,{images:r.images,caption:r.caption,lazy:!0});if(!r.url)return l;const u={};return Number(r._blank)===1&&(u.target="_blank",u.rel="noopener noreferrer"),a.jsx("a",{href:r.url,...u,children:l})};return s?a.jsx("section",{className:`container sheet-wrap-container media-block media-block--${r.alignment||"full-width"}`,children:a.jsx("div",{className:"media-block__row row",children:a.jsx("div",{className:`media-block__column ${n} ${i}`,children:a.jsxs("figure",{className:"floated-story-content","data-class-name-xs":"sheet-wrap",children:[c(),r.caption&&a.jsx("figcaption",{className:"media-block__caption-row spacer-top-xsmall",style:o,children:a.jsx("div",{className:"media-block__caption col-12@sm type-body-4 type--flat-btm",dangerouslySetInnerHTML:{__html:r.caption}})}),a.jsx("div",{className:"spacer-btm-medium media-block__spacer",style:o})]})})})}):a.jsx("section",{className:`container sheet-wrap-container media-block media-block--${r.alignment||"full-width"}`,children:a.jsx("div",{className:"row",children:a.jsxs("div",{className:"sheet-wrap-col",children:[a.jsx("div",{className:`sheet-wrap${r.alignment==="full-bleed"?"--no-padding":""}`,style:o,children:c()}),a.jsxs("div",{className:"sheet-wrap",style:o,children:[r.caption&&a.jsx("figcaption",{className:"spacer-top-xsmall type-body-4 type--flat-btm",style:o,dangerouslySetInnerHTML:{__html:r.caption}}),a.jsx("div",{className:"spacer-btm-medium"})]})]})})})},ul=({block:r,customBackgroundColor:e,customTextColor:t})=>{const n=()=>a.jsx("section",{className:`container sheet-wrap-container ${r.alignment}__wrapper`,children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",style:{backgroundColor:e||null},children:a.jsxs("div",{className:`${r.alignment} spacer-btm-medium`,children:[a.jsx("blockquote",{className:"type-blockquote type-blockquote--tile-medium",style:{color:t||null},children:a.jsx("p",{children:r.quote})}),r.attribution&&a.jsxs("p",{className:"type-blockquote--attribution",children:["- ",r.attribution]})]})})})})}),i=()=>a.jsx("section",{className:"class-name-switcher quote-spaces",children:a.jsx("div",{className:"class-name-switcher pull-quote__wrapper","data-class-name-xs":"row",children:a.jsx("div",{className:`class-name-switcher pull-quote ${r.alignment} floated-story-content`,"data-class-name-xs":"sheet-wrap-col",children:a.jsxs("div",{className:"class-name-switcher","data-class-name-xs":"sheet-wrap",style:{backgroundColor:e||null},children:[a.jsx("blockquote",{className:"type-blockquote type-blockquote--tile-medium",style:{color:t||null},children:a.jsx("p",{children:r.quote})}),r.attribution&&a.jsxs("p",{className:"type-blockquote--attribution",children:["- ",r.attribution]})]})})})});return r.alignment==="full-quote"?n():i()}
6,dl=({block:r,customBackgroundColor:e,customTextColor:t})=>a.jsx("section",{className:"container sheet-wrap-container references__story",style:{"--bg-color":e,"--text-color":t},children:a.jsx("div",{className:"story-references row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsxs("div",{className:"references sheet-wrap",style:{background:e},children:[r.has_top_border===0?"":a.jsx("hr",{className:"references__border"}),a.jsxs("div",{className:"references__container",children:[a.jsx("div",{className:"references__title",children:"References"}),a.jsx("ul",{className:"references__list spacer-top-medium spacer-top-md-small",children:r.items.map((n,i)=>a.jsxs("li",{className:"reference__li",children:[a.jsx("span",{className:"list-number label-text-1",children:i+1}),a.jsxs("span",{className:"body-text-5 reference__inner",children:[n.authors&&a.jsxs("span",{children:[n.authors,"."]}),n.title&&a.jsxs("span",{children:[n.title,"."]}),n.source&&a.jsxs("span",{className:"reference__source",children:[n.source,"."]}),n.link&&a.jsxs("span",{children:["Available online at:"," ",a.jsx("a",{href:n.link,target:"_blank",children:n.link}),"."]}),n.accessed_date_formatted&&a.jsxs("span",{children:["Accessed on ",n.accessed_date_formatted,"."]})]})]},n.id))})]})]})})})}),fl=({block:r,customBackgroundColor:e,customTextColor:t})=>{const n=r.alignment?r.alignment:"full-width",[i,s]=b.useState(!1),[o,c]=b.useState(0),[l,u]=b.useState(0),[d,h]=b.useState(0),[m,f]=b.useState(r.items.length),[g,p]=b.useState(0),_=b.useRef(null),[x,v]=b.useState(0),w=O=>{u(O)},y=O=>{O<0?O=0:O>=m&&(O=m-1),c(O)},j=()=>{let O=o-1;y(O),O>=0&&w(-(O*100)+"%")},S=()=>{let O=o+1;y(O),O<=m-1&&w(-(O*100)+"%")},N=O=>{w(-d+O.deltaX+"px")},P=O=>{let D=O.deltaX,V=-d+D,$=0,C=O.dir,I=0;if(["Down","Up"].indexOf(C)>-1)return;let H=Array.from({length:m},(B,q)=>[q,q*g]);D>0&&H.sort((B,q)=>q[1]-B[1]),H.forEach(B=>{let q=D<0?B[1]-B[1]*.5:B[1]+(B[1]===0?g:B[1])*.5;(D<0?Math.abs(V)>q:Math.abs(V)<q)&&(I=B[0],$=B[1])}),V>0&&C==="Right"&&(I=0,$=0),h($),y(I),w(-(I*100)+"%")},k=ou({onSwipeStart:O=>{p(O.event.target.clientWidth),h(O.event.target.clientWidth*o)},onSwiping:O=>{N(O)},onSwiped:O=>{P(O)},trackMouse:!0});b.useEffect(()=>{const O=()=>{if(typeof document>"u")return;const D=_.current||document.body,V=_.current?_.current.clientWidth:0;let $=0;r.items.forEach(C=>{if(!C.description)return;const I=document.createElement("p");I.className="carousel-slide__caption type-body-4 type--italic type--gray60 marginless spacer-top-xsmall",I.style.position="absolute",I.style.visibility="hidden",I.style.pointerEvents="none",I.style.left="0",I.style.top="0",I.style.boxSizing="border-box",V&&(I.style.width=V+"px"),I.innerHTML=C.description,D.appendChild(I);const H=Math.ceil(I.getBoundingClientRect().height);H>$&&($=H),D.removeChild(I)}),v($)};return O(),window.addEventListener("resize",O),()=>window.removeEventListener("resize",O)},[r.items,t]);const T=()=>{s(!0),document.body.style.overflow="hidden"},F=()=>{s(!1),document.body.style.overflow="visible"};b.useEffect(()=>{if(!i)return;const O=D=>{(D.key==="Escape"||D.key==="Esc")&&F()};return document.addEventListener("keydown",O),()=>document.removeEventListener("keydown",O)},[i]);const M=()=>{if(!i)return null;const O=a.jsxs("div",{className:"modal carousel-modal modal--fade modal--on-screen modal--is-open","aria-hidden":"true",style:{zIndex:2e5,position:"fixed",top:0,left:0,width:"100%"},children:[a.jsxs("div",{className:"modal__container modal__container--in",style:{zIndex:200001},children:[a.jsx("div",{className:"modal__close-container",children:a.jsx("div",{className:"modal__close",children:a.jsx("div",{className:"modal__close-icon",children:a.jsx("div",{className:"icon",children:a.jsx("svg",{className:"icon block fill--white",onClick:F,children:a.jsx("use",{xlinkHref:"#icon-close"})})})})})}),a.jsx("div",{className:"modal__inner modal__inner--vertical-center",children:a.jsx("div",{className:"modal__content-container container",children:a.jsx("div",{className:"modal__content js-modal-content",children:A()})})})]}),a.jsx("div",{className:"modal__backdrop",onClick:F,style:{zIndex:199999,position:"fixed",top:0,left:0,width:"100%",height:"100%"}})]});return typeof document<"u"&&document.body?qa.createPortal(O,document.body):O},A=()=>a.jsxs("div",{className:`spark-carousel spark-carousel--${n}`,children:[r.title&&a.jsx("h3",{className:"carousel__title",style:{marginTop:"0px",color:t},dangerouslySetInnerHTML:{__html:r.title}}
6),a.jsxs("div",{style:{position:"relative"},children:[a.jsx("div",{...k,className:"carousel-wrapper","data-slideshow-id":r.id,children:a.jsx("ul",{className:"carousel-element grabbable",children:r.items.map(O=>a.jsx("li",{className:"carousel-slide","data-slide-caption":O.description,style:{transitionProperty:"transform",transitionTimingFunction:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",transitionDuration:"500ms",transform:`translateX(${l})`},children:a.jsx("div",{className:"aspect aspect--16x9",children:a.jsxs("div",{className:"aspect__inner",children:[a.jsx(At,{images:O.images,caption:O.description,lazy:!0}),a.jsx("div",{style:{position:"absolute",top:"0px",left:"0px",width:"100%",height:"100%"}})]})})},O.id))})}),L()]}),a.jsx("div",{className:"carousel-caption-container",ref:_,style:{minHeight:x?x+"px":void 0},children:a.jsx("p",{className:"carousel-slide__caption type-body-4 type--italic type--gray60 marginless spacer-top-xsmall",dangerouslySetInnerHTML:{__html:r.items[o].description},style:{color:t}})})]}),L=()=>a.jsxs("nav",{className:"carousel-nav-paddles",style:{top:i?"50%":"auto"},children:[a.jsx("button",{onClick:T,className:`carousel-nav-paddle carousel-nav-btn--popout icon-btn icon-btn--paddle ${i?"hidden":""}`,children:a.jsx("svg",{className:"icon block",children:a.jsx("use",{xlinkHref:"#icon-fullscreen"})})}),a.jsx("button",{onClick:j,className:`carousel-nav-paddle carousel-nav-prev icon-btn icon-btn--paddle ${o===0?"is-disabled":""}`,children:a.jsx("svg",{className:"icon block",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M17.5 24a1 1 0 0 0 .707-1.707L7.914 12 18.207 1.707A1 1 0 0 0 16.793.293l-11 11a1 1 0 0 0 0 1.414l11 11c.195.195.45.293.707.293z"})})}),a.jsx("button",{onClick:S,className:`carousel-nav-paddle carousel-nav-next icon-btn icon-btn--paddle ${o===m-1?"is-disabled":""}`,children:a.jsx("svg",{className:"icon block",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M6.5 24a1 1 0 0 1-.707-1.707L16.086 12 5.793 1.707A1 1 0 0 1 7.207.293l11 11a1 1 0 0 1 0 1.414l-11 11A.997.997 0 0 1 6.5 24z"})})})]}),R=()=>a.jsx("section",{className:`container sheet-wrap-container media-block media-block--${n} story-carousel story-carousel--${n}`,children:a.jsx("div",{className:"row",children:a.jsxs("div",{className:"sheet-wrap-col",children:[a.jsx("div",{className:"sheet-wrap",style:{background:e},children:A()}),a.jsx("div",{className:"sheet-wrap",style:{background:e},children:a.jsx("div",{className:"spacer-btm-medium"})})]})})});return a.jsxs(a.Fragment,{children:[R()," ",M()]})},hl=({content:r,show:e,hide:t,className:n="modal__content--text",layout:i})=>{const[s,o]=b.useState(!1),c=b.useRef(null);return b.useEffect(()=>{o(e),e?document.body.style.overflow="hidden":document.body.style.overflow="visible";const l=d=>{c.current&&!c.current.contains(d.target)&&t()},u=d=>{d.key==="Escape"&&t()};return document.addEventListener("mousedown",l),document.addEventListener("keydown",u),()=>{document.removeEventListener("mousedown",l),document.removeEventListener("keydown",u)}},[e,t]),qa.createPortal(a.jsx(a.Fragment,{children:s&&a.jsxs("div",{className:"modal modal--fade modal--on-screen modal--is-open","aria-hidden":"true",children:[i==="rounded"?a.jsx("div",{className:"modal__container modal__container--in",style:{overflow:"visible"},children:a.jsxs("div",{className:"modal__panel",style:{overflow:"visible",maxHeight:"calc(100vh - 80px)",margin:"auto",padding:"20px"},children:[a.jsx("div",{className:"modal__close-container",children:a.jsx("div",{className:"modal__close modal__close--fixed",children:a.jsx("div",{className:"modal__close-icon",children:a.jsx("div",{className:"icon",children:a.jsx("svg",{className:"icon block fill--white",onClick:t,children:a.jsx("use",{xlinkHref:"#icon-close"})})})})})}),a.jsx("div",{className:"modal__inner modal__inner--vertical-center",children:a.jsx("div",{className:"modal__content-container container",ref:c,children:a.jsx("div",{className:`modal__content ${n}`,style:{borderRadius:"20px",overflow:"hidden",boxSizing:"border-box"},children:a.jsx("div",{className:"modal__content-scroll",style:{overflowY:"auto",maxHeight:"calc(100vh - 120px)",paddingBottom:"20px",boxSizing:"border-box"},children:r})})})})]})}):a.jsxs("div",{className:"modal__container modal__container--in",children:[a.jsx("div",{className:"modal__close-container",children:a.jsx("div",{className:"modal__close modal__close--fi
6xed",children:a.jsx("div",{className:"modal__close-icon",children:a.jsx("div",{className:"icon",children:a.jsx("svg",{className:"icon block fill--white",onClick:t,children:a.jsx("use",{xlinkHref:"#icon-close"})})})})})}),a.jsx("div",{className:"modal__inner modal__inner--vertical-center",children:a.jsx("div",{className:"modal__content-container container",ref:c,children:a.jsx("div",{className:`modal__content ${n}`,children:r})})})]}),a.jsx("div",{className:"modal__backdrop",onClick:t})]})}),document.body)},pl=({block:r,customBackgroundColor:e,customTextColor:t})=>{const[n,i]=b.useState(r.content),[s,o]=b.useState(""),[c,l]=b.useState(!1),[u,d]=b.useState(void 0);b.useEffect(()=>{const g=()=>{r.products.forEach(p=>{[...document.getElementsByTagName(p.tagCustom)].map(v=>{const w=qa.createRoot(v);switch(p.tagStyle){case"one-click-away":w.render(m(p.product));break;case"expanded":default:w.render(f(p.product));break}})})};r.products.length>0&&g()},[n]);const h=(g,p)=>{d(p),o(g),l(!0)},m=g=>a.jsxs("button",{type:"button",className:"isi-link",onClick:()=>h(f(g),"rounded"),children:[a.jsx("svg",{children:a.jsx("use",{xmlnsXlink:"http://www.w3.org/1999/xlink",xlinkHref:"#icon-info-circle"})}),"Indications & Important Safety Information"]});function f(g){return a.jsxs("div",{children:[a.jsx("h2",{children:"Indications & Important Safety Information"}),a.jsx("div",{dangerouslySetInnerHTML:{__html:g.isi_patients}})]})}return a.jsxs(a.Fragment,{children:[a.jsx("section",{className:"container sheet-wrap-container freeform-content-block",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",style:{backgroundColor:e,"--freeform-bg":e,"--freeform-text":t},children:a.jsx("div",{className:"freeform-content-block__wrapper",dangerouslySetInnerHTML:{__html:n}})})})})}),a.jsx(hl,{content:s,show:c,layout:u,hide:()=>{l(!1),o(""),d(void 0)}})]})},Uf=r=>a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 721",...r,children:a.jsx("path",{d:"M1013.023 156.28s-9.98-70.388-40.606-101.385C933.575 14.21 890.037 14.01 870.07 11.628 727.135 1.296 512.72 1.296 512.72 1.296h-.443s-214.408 0-357.35 10.332c-19.967 2.38-63.49 2.583-102.346 43.267C21.957 85.892 11.99 156.28 11.99 156.28S1.775 238.94 1.775 321.6v77.493c0 82.658 10.215 165.317 10.215 165.317s9.966 70.39 40.59 101.387c38.857 40.684 89.897 39.397 112.63 43.66 81.718 7.837 347.29 10.262 347.29 10.262s214.634-.324 357.57-10.656c19.967-2.382 63.505-2.583 102.347-43.267 30.625-30.997 40.606-101.387 40.606-101.387s10.2-82.66 10.2-165.317V321.6c0-82.66-10.2-165.32-10.2-165.32zM407.047 493 407 206l276 144-275.953 143z"})}),As=()=>a.jsxs("div",{className:"no-video",children:[a.jsx("svg",{className:"no-video-camera",alt:"No video",children:a.jsx("use",{xlinkHref:"#icon-video-camera"})}),a.jsx("svg",{className:"no-video-cross fill--gray90",alt:"No video",children:a.jsx("use",{xlinkHref:"#icon-close"})})]}),Ga=({videoId:r,altText:e})=>{if(!r)return null;const t=`https://img.youtube.com/vi/${r}/maxresdefault.jpg`;return a.jsx("img",{src:t,alt:e,style:{width:"100%",height:"auto",aspectRatio:"16/9",display:"block"},loading:"lazy"})};Ga.propTypes={videoId:ce.string.isRequired,altText:ce.string};Ga.defaultProps={altText:"YouTube video thumbnail"};const Rs=({onClick:r,backgroundColor:e,iconColor:t,className:n})=>a.jsx("button",{className:n||"video-play",style:{background:e||"rgba(0, 0, 0, 0.8)"},type:"button",onClick:r,children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",style:{fill:t},children:a.jsx("path",{d:"m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393"})})});Rs.propTypes={onClick:ce.func.isRequired,backgroundColor:ce.string,iconColor:ce.string,className:ce.string};Rs.defaultProps={backgroundColor:"transparent",iconColor:"white"};const ml=({customBackgroundColor:r,customTextColor:e,video:t,autoplay:n,loop:i,controls:s=0,onPlay:o=()=>{},onPause:c=()=>{},theme:l="default",play:u=!1})=>{const[d,h]=b.useState(!!n),m=b.useRef(null);b.useEffect(()=>{const _=x=>{try{if(!x.origin||!(x.origin.includes("youtube")||x.origin.includes("google")))return;
6const v=typeof x.data=="string"?JSON.parse(x.data):x.data;if(!v)return;v.event==="onStateChange"&&v.info===0&&(h(!1),c())}catch{}};return window.addEventListener("message",_),()=>window.removeEventListener("message",_)},[]);const f=(_,x={})=>{var k;if(!_)return null;const{autoplay:v=!1,loop:w=!1,controls:y=!0,mute:j=!1,enablejsapi:S=!1}=x,N=new URLSearchParams;if(N.set("rel","0"),N.set("color","white"),y||N.set("controls","0"),v&&N.set("autoplay","1"),w&&N.set("loop","1"),j&&N.set("mute","1"),S){N.set("enablejsapi","1");try{N.set("origin",window.location.origin)}catch{}}const P=T=>{const F=new URL("https://www.youtube-nocookie.com/embed/"+T);return F.search=N.toString(),F.toString()};if(_.includes("<iframe")){const T=document.createElement("div");T.innerHTML=_;const F=T.querySelector("iframe");if(!F)return null;try{const M=F.getAttribute("src"),A=new URL(M,window.location.href),L=A.pathname.split("/"),R=L.indexOf("embed");if(R!==-1&&L.length>R+1)return P(L[R+1]);if(A.hostname.includes("youtu.be")){const D=L.filter(Boolean).pop();return P(D)}const O=A.searchParams.get("v");return O?P(O):(A.hostname=A.hostname.replace("youtube","youtube-nocookie"),N.forEach((D,V)=>A.searchParams.set(V,D)),A.toString())}catch{return null}}try{const T=new URL(_,window.location.href);if(T.hostname.includes("youtu.be")){const R=(k=T.pathname.split("/"))==null?void 0:k.filter(Boolean).pop();return P(R)}const M=T.searchParams.get("v");if(M)return P(M);const A=T.pathname.split("/"),L=A.indexOf("embed");return L!==-1&&A.length>L+1?P(A[L+1]):_}catch{return null}},g=_=>{var x,v;if(!_)return null;try{if(_.includes("<iframe")){const N=document.createElement("div");N.innerHTML=_;const P=N.querySelector("iframe");if(!P)return null;const k=P.getAttribute("src"),T=new URL(k,window.location.href);if(T.hostname.includes("youtu.be"))return(x=T.pathname.split("/"))==null?void 0:x.filter(Boolean).pop();const F=T.searchParams.get("v");if(F)return F;const M=T.pathname.split("/"),A=M.indexOf("embed");return A!==-1&&M.length>A+1?M[A+1]:null}const w=new URL(_,window.location.href);if(w.hostname.includes("youtu.be"))return(v=w.pathname.split("/"))==null?void 0:v.filter(Boolean).pop();const y=w.searchParams.get("v");if(y)return y;const j=w.pathname.split("/"),S=j.indexOf("embed");return S!==-1&&j.length>S+1?j[S+1]:null}catch{return null}},p=()=>{if(!t)return a.jsx(As,{});const _=g(t);if(l==="default"){const w=f(t,{autoplay:!!n,loop:i,controls:s,mute:!1,enablejsapi:!0});return!w&&typeof t=="string"&&t.includes("<iframe")?a.jsx("div",{style:{position:"relative",width:"100%",paddingTop:"56.25%"},dangerouslySetInnerHTML:{__html:t}}):a.jsx("div",{style:{position:"relative",width:"100%",paddingTop:"56.25%"},children:a.jsx("iframe",{ref:m,id:_?`yt-player-${_}`:void 0,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},src:w,title:"Youtube Player",frameBorder:"0",allow:"autoplay; encrypted-media; fullscreen",allowFullScreen:!0})})}const x=f(t,{autoplay:!1,loop:i,controls:s,mute:!1,enablejsapi:!0}),v=()=>{var w;h(!0),o();try{const y=(w=m.current)==null?void 0:w.contentWindow;y&&(y.postMessage(JSON.stringify({event:"command",func:"unMute",args:[]}),"*"),y.postMessage(JSON.stringify({event:"command",func:"playVideo",args:[]}),"*"))}catch{}};return b.useEffect(()=>{if(m.current)try{const w=m.current.contentWindow;if(!w)return;u?(h(!0),o(),w.postMessage(JSON.stringify({event:"command",func:"unMute",args:[]}),"*"),w.postMessage(JSON.stringify({event:"command",func:"playVideo",args:[]}),"*")):(h(!1),c(),w.postMessage(JSON.stringify({event:"command",func:"pauseVideo",args:[]}),"*"))}catch{}},[u]),a.jsxs("div",{style:{position:"relative",width:"100%",paddingTop:"56.25%"},children:[a.jsx("iframe",{ref:m,id:_?`yt-player-${_}`:void 0,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},src:x,title:"Youtube Player",frameBorder:"0",allow:"autoplay; encrypted-media; fullscreen",allowFullScreen:!0}),!d&&a.jsxs("div",{onClick:v,onKeyDown:w=>{(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),v())},role:"button",tabIndex:0,"aria-label":"Play video",style:{position:"absolute",top:0,left:0,right:0,bottom:0,cursor:"pointer"},children:[a.jsx(Ga,{videoId:_,altText:"Video thumbnail"}),l==="simple"&&a.jsx("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:a.jsx("div",{style:{pointerEvents:"auto"},children:a.jsx(Rs,{onClick:v,backgroundColor:r,iconColor:e})})})]})]})};return a.jsx("div",{className:"bc-player-default_default",children:p()})},_l=()=>{const[r,e]=b.useState(!1),[t,n]=b.useState(!1),[i,s]=b.useState(!1);return b.useEffect(()=>{const o=()=>{const c=window.innerWidth;c<768?(e(!0),n(!1),s(!1)):c<1024?(e(!1),n(!0),s(!1)):(e(!1),n(!1),s(!0))};return o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}},[]),{mobile:r,tablet:t,desktop:i}}
6,gl=({customBackgroundColor:r,customTextColor:e,controls:t=!1,video:n,autoplay:i,loop:s,onPlay:o=()=>{},onPause:c=()=>{},play:l=!1})=>{const u=b.useRef(),[d,h]=b.useState(!1),[m,f]=b.useState(!1);b.useEffect(()=>{var v;(v=u.current)==null||v.load()},[n]);function g(){u.current.paused?(u.current.play(),f(!0),o(),t&&h(!0)):(u.current.pause(),f(!1),c(),t&&h(!1))}function p(){t||(u.current.paused?u.current.play():u.current.pause())}function _(){f(!1),c(),t&&h(!1)}b.useEffect(()=>{var v,w;if(u.current)if(l){const y=(w=(v=u.current).play)==null?void 0:w.call(v);f(!0);try{y&&typeof y.then=="function"?y.then(()=>o()).catch(()=>{}):o()}catch{}t&&h(!0)}else{try{u.current.pause(),typeof u.current.currentTime<"u"&&(u.current.currentTime=0)}catch{}f(!1),c(),t&&h(!1)}},[l]);const x=()=>n?a.jsxs("div",{className:"videoWrapper",children:[t&&!m&&a.jsx(Rs,{onClick:g,backgroundColor:r,iconColor:e}),a.jsxs("video",{controls:d,ref:u,width:"100%",autoPlay:i,loop:s,muted:!0,playsInline:!0,onClick:p,onPause:_,children:[a.jsx("source",{src:n,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos."]})]}):a.jsx(As,{});return a.jsx("div",{className:"bc-player-default_default url-video",children:x()})},xl=r=>{if(!r)return null;if(r.includes("<iframe")){const e=r.match(/src=["']([^"']+)["']/i);return e?e[1]:null}return r},vl=r=>{const e=xl(r)||"";return/youtube\.com|youtu\.be|youtube-nocookie\.com/i.test(e)?"youtube":/lwcdn\.com/i.test(e)?"flowplayer":"other"},Gf=r=>{if(!r)return r;const e=new URL(r,window.location.href);return e.searchParams.set("autoplay",vl(r)==="flowplayer"?"true":"1"),e.toString()},Xf=({embedCode:r,play:e=!1})=>{const t=xl(r);return t?a.jsx("div",{style:{position:"relative",width:"100%",paddingTop:"56.25%"},children:a.jsx("iframe",{src:e?Gf(t):t,title:"Video Player",frameBorder:"0",loading:"lazy",allow:"autoplay; encrypted-media; fullscreen",allowFullScreen:!0,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})}):a.jsx(As,{})},Xa=({alignment:r,customBackgroundColor:e,customTextColor:t,embedCode:n,onPlay:i=()=>{},onPause:s=()=>{},shouldLoad:o,theme:c,type:l="uploaded",videoSrcs:u=null,play:d=!1})=>{const{mobile:h,tablet:m,desktop:f}=_l(),[g,p]=b.useState(null);o=!0,b.useEffect(()=>{h&&p(u==null?void 0:u.src_sm),m&&p(u==null?void 0:u.src_md),f&&p(u==null?void 0:u.src_lg)},[h,m,f,u]);const _=()=>{if(o)return l==="uploaded"?a.jsx("div",{className:"videoWrapper",children:a.jsx(gl,{customBackgroundColor:e,customTextColor:t,video:g,loop:!1,controls:!0,autoplay:!1,onPlay:i,onPause:s,play:d})}):vl(n)!=="youtube"?a.jsx("div",{className:"videoWrapper",children:a.jsx(Xf,{customBackgroundColor:e,customTextColor:t,embedCode:n,onPlay:i,play:d})}):a.jsx("div",{className:"videoWrapper",children:a.jsx(ml,{customBackgroundColor:e,customTextColor:t,video:n,controls:1,theme:c,onPlay:i,onPause:s,play:d})});const x={width:"100%",height:"450px"};return!x.width.includes("%")&&!x.width.includes("px")&&(x.width+="px"),!x.height.includes("%")&&!x.height.includes("px")&&(x.height+="px"),a.jsx("div",{className:"video-place-holder",style:x,children:a.jsxs("div",{className:"video-place-holder-icon-container",children:[a.jsx(Uf,{}),a.jsx("div",{className:"video-place-holder-icon-container-white-bg"})]})})};return a.jsx("section",{className:`container sheet-wrap-container freeform-content-block video-container ${r==="wide"?"wide":""}`,children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",style:{backgroundColor:e},children:_()})})})})},Zf=({block:r,customTextColor:e})=>{const[t,n]=b.useState(!1);function i(){n(!0),document.body.style.overflow="hidden",document.body.classList.add("side-story-open")}function s(){n(!1),document.body.style.overflow="visible",document.body.classList.remove("side-story-open")}const o=()=>r.images.length===0?"":a.jsx("div",{className:"aspect aspect--16x9",style:{marginBottom:"1rem"},children:a.jsx("div",{className:"aspect__inner",children:a.jsx("div",{className:"spark-responsive-img--cover",children:a.jsx(At,{images:r.images,caption:r.title,lazy:!0})})})});return a.jsxs("div",{children:[a.jsxs("div",{className:`side-story-slide ${t===!1?"slideOut":"slideIn"}`,children:[a.jsx("aside",{className:`side-story ${t===!1?"":"side-story--open"}`,id:r.anchor_slug,"aria-hidden":"true",tabIndex:"-1",dangerouslySetInnerHTML:{__html:r.content}}),a.jsxs("div",{className:"side-story-close",id:`${r.anchor_slug}-close`,"aria-hidden":"true",tabIndex:"-1",children:[a.jsx("a",{href:`#${r.anchor_slug}`,onClick:s,tabIndex:"0",className:"side-story-close__btn js-close-side-story",children:a.jsxs("div",{className:"side-story-close__btn-content",children:[a.jsx("div",{className:"side-story-close__back icon-btn icon-btn--large",children:a.jsx("svg",{className:"icon icon--medium fill--white block",children:a.jsx("use",{xlinkHref:"#icon-chevron-left"})})}
6),a.jsx("p",{className:"type-header-5",children:"Return to story"})]})}),a.jsxs("div",{className:"side-story-close__content",children:[a.jsx("p",{className:"type-header-5 type--right hidden@xs",children:"Share this story"}),a.jsxs("button",{className:"side-story-close__share-btn unstyled-button hidden@sm-md-lg",children:[a.jsx("svg",{className:"side-story-close__share-open icon fill--white",children:a.jsx("use",{xlinkHref:"#icon-share"})}),a.jsx("svg",{className:"side-story-close__share-close icon fill--white",children:a.jsx("use",{xlinkHref:"#icon-close"})})]}),a.jsxs("div",{className:"side-story-share",children:[a.jsx("a",{className:"js-share-story",href:"#","data-type":"facebook",children:a.jsx("svg",{className:"icon fill--white",children:a.jsx("use",{xlinkHref:"#icon-share-facebook"})})}),a.jsx("a",{className:"js-share-story",href:"#","data-type":"twitter",children:a.jsx("svg",{className:"icon fill--white",children:a.jsx("use",{xlinkHref:"#icon-share-twitter"})})}),a.jsx("a",{className:"js-share-story",href:"#","data-type":"linkedin",children:a.jsx("svg",{className:"icon fill--white",children:a.jsx("use",{xlinkHref:"#icon-share-linkedin"})})})]})]})]})]}),a.jsxs("div",{className:"side-story__box",children:[o(),a.jsxs("div",{className:"side-story__box__content",children:[a.jsx("h1",{className:"side-story__box__content__title",style:e?{color:e}:{},children:r.title}),a.jsx("p",{style:e?{color:e}:{},children:r.description}),a.jsxs("a",{href:`#${r.anchor_slug}`,onClick:i,className:"js-launch-side-story","data-target":r.anchor_slug,style:{marginTop:"30px",display:"block",color:e!==null&&e!==""?e:""},children:[a.jsx("button",{className:"icon-btn icon-btn--large icon-btn--light",children:a.jsx("svg",{className:"icon icon--medium block",children:a.jsx("use",{xlinkHref:"#icon-chevron-right"})})}),a.jsx("span",{className:"type-header-5",style:{color:e!==""&&e!==null?e:"#8b8b8b",marginLeft:".5em",letterSpacing:".07em",textTransform:"none"},children:r.call_to_action})]})]})]})]})},yl=({block:r,customBackgroundColor:e,customTextColor:t})=>{const[n,i]=b.useState(GeneJs.content);return b.useEffect(()=>{const s=document.getElementsByClassName("block-accordion"),o=()=>{for(let c of s){const l=c.getElementsByClassName("block-accordion__header")[0],u=c.getElementsByClassName("block-accordion__body")[0];l.onclick=()=>{l.classList.toggle("expanded"),u.classList.toggle("expanded")}}};s.length>0&&o()},[n]),a.jsx("section",{className:"container sheet-wrap-container freeform-content-block",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",style:{backgroundColor:e},children:a.jsxs("div",{className:"class-name-switcher spacer-btm-medium","data-class-name":"sheet-wrap",children:[r.title&&a.jsx("h2",{children:r.title}),r.items.map(function(s){return a.jsxs("div",{children:[a.jsx("style",{children:`
7                       .block-accordion {
8                          background: ${e};
9                        }
10                        .block-accordion .expanded + .expandable {
11                          border-left-color: ${t};
12                          border-right-color: ${t};
13                          border-bottom-color: ${t};
14                        }
15                        .block-accordion .block-accordion__header {
16                          background: ${e};
17                        }
18                        .block-accordion .block-accordion__header.expanded {
19                          border-left-color: ${t};
20                          border-right-color: ${t};
21                          border-top-color: ${t};
22                        }
23                        .block-accordion .block-accordion__header:not(.expanded) {
24                          background-color: ${e};
25                          border: 2px solid ${t};
26                        }
27                        .block-accordion .block-accordion__title {
28                          color: ${t};
29                        }
30                        .block-accordion .block-accordion__arrow {
31                          fill: ${t};
32                        }
33                        .block-accordion .block-accordion__body * {
34                          color: ${t};
35                        }
36                        .block-accordion .block-accordion__body a:not([class]) {
37                          color: ${t};
38                          text-decoration: underline;
39                        }
40                      `}),a.jsxs("div",{className:"block-accordion",children:[a.jsxs("div",{className:"block-accordion__header expand-link",children:[a.jsx("div",{className:"block-accordion__title",dangerouslySetInnerHTML:{__html:s.title}}),a.jsx("div",{className:"block-accordion__arrow-container",children:a.jsx("svg",{className:"block-accordion__arrow",children:a.jsx("use",{xlinkHref:"#icon-chevron-right"})})})]}),a.jsx("div",{className:"block-accordion__body expandable",dangerouslySetInnerHTML:{__html:s.text}})]})]},s.id)})]})})})})})};function wl({spotlight:r}){var e;return a.jsx("div",{className:"spotlight-block",children:a.jsxs("div",{className:"spotlight-block__container",children:[((e=r.card_image)==null?void 0:e.crop_url)&&a.jsx("div",{children:a.jsx("img",{src:r.card_image.crop_url,className:"spotlight-block__image",alt:r.title})}),a.jsxs("div",{className:"spotlight-block__content",children:[a.jsxs("div",{children:[a.jsx("time",{className:"spotlight-block__time",children:r.formatted_published_at}),a.jsx("h3",{className:"spotlight-block__title",children:r.title}),a.jsx("div",{className:"spotlight-block__description",dangerouslySetInnerHTML:{__html:r.brief}})]}),a.jsxs("div",{className:"spotlight-block__footer",children:[r.category&&a.jsx("p",{className:"spotlight-block__category",children:r.category.name}),a.jsx("div",{children:r.is_native?a.jsxs("a",{href:`/media/spotlights/${r.id}`,children:[a.jsx("span",{className:"cover-all","aria-hidden":"true"}),a.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.532 12.5288L14.781 19.2797C14.632 19.4297 14.441 19.4998 14.252 19.4998C14.061 19.4998 13.871 19.4297 13.721 19.2797C13.43
401 18.9897 13.431 18.5098 13.721 18.2198L19.192 12.7487H3C2.59 12.7487 2.25 12.4088 2.25 11.9988C2.25 11.5888 2.59 11.2488 3 11.2488H19.192L13.721 5.77775C13.431 5.48775 13.431 5.00775 13.721 4.71675C14.011 4.42775 14.491 4.42775 14.781 4.71675L21.532 11.4688C21.822 11.7587 21.822 12.2388 21.532 12.5288Z",fill:"black"})})]}):a.jsxs("a",{href:r.link,children:[a.jsx("span",{className:"cover-all","aria-hidden":"true"}),a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",viewBox:"0 0 32 32",height:"25",fill:"none",children:a.jsx("path",{fill:"#000",fillRule:"evenodd",d:"M18.576 10.403c2.438 2.379 1.386 4.89 1.34 4.996a1 1 0 0 1-1.874-.688l.067-.188c.097-.321.32-1.468-.93-2.688-1.309-1.276-3.33-1.28-4.602-.009L6.57 17.834a5.376 5.376 0 0 0 0 7.596 5.377 5.377 0 0 0 7.596 0 1 1 0 0 1 1.414 1.415A7.345 7.345 0 0 1 10.368 29a7.35 7.35 0 0 1-5.213-2.155c-2.873-2.875-2.873-7.552 0-10.426l6.008-6.007c2.02-2.021 5.346-2.024 7.413-.009Zm8.27-5.248c2.872 2.875 2.872 7.552 0 10.425l-6.01 6.008a5.092 5.092 0 0 1-3.632 1.504c-1.31 0-2.645-.487-3.745-1.463-2.132-1.89-1.817-4.148-1.353-5.077a1 1 0 0 1 1.835.788l-.077.185c-.114.318-.387 1.447.923 2.608 1.413 1.252 3.406 1.272 4.635.041l6.008-6.008a5.378 5.378 0 0 0 0-7.596 5.379 5.379 0 0 0-7.597 0 1 1 0 0 1-1.414-1.415c2.874-2.874 7.551-2.874 10.426 0Z",clipRule:"evenodd"})})]})})]})]})]})})}function Qf({spotlights:r}){const e=b.useRef(null);return b.useEffect(()=>{if(!r||r.total===0||!e.current)return;const t=new $c(e.current,{perPage:3,gap:"1rem",type:"loop",rewind:!0,pagination:!1,breakpoints:{768:{gap:"0.125rem",perPage:1,padding:"2rem"},1024:{gap:"0.125rem",padding:"2rem",perPage:2},1280:{perPage:2}}});return t.mount(),()=>{t.destroy()}},[r]),!r||r.total===0?null:a.jsx("div",{className:"splide",ref:e,children:a.jsx("div",{className:"splide__track",children:a.jsx("ul",{className:"splide__list",children:r.data.map(t=>a.jsx("li",{className:"splide__slide",children:a.jsx("div",{className:"spotlight-wrapper",children:a.jsx(wl,{spotlight:t})})},t.id))})})})}function Jf({block:r,spotlights:e,categories:t}){const[n,i]=b.useState([]),[s,o]=b.useState([]),[c,l]=b.useState(e),[u,d]=b.useState(!1),h=b.useRef(null),m=async p=>{d(!0);try{const _=new URLSearchParams;p&&p.length>0&&p.forEach(v=>_.append("categories[]",v));const x=await fetch(`/ajax/spotlights?${_.toString()}`,{headers:{"X-Requested-With":"XMLHttpRequest",Accept:"application/json"}});if(x.ok){const v=await x.json();l(v.spotlights||v)}}catch(_){console.error("Error fetching spotlights:",_)}finally{d(!1)}};b.useEffect(()=>{if(!r.is_filterable||!t||t.length===0||!h.current)return;const p=window.jQuery(h.current);return p.select2({dropdownCssClass:"spotlights",placeholder:"Filter by category",width:"100%"}).on("change",function(){const _=p.val()||[];i(_);const x=p.select2("data");o(x.map(v=>({id:v.id,name:v.text}))),m(_)}),()=>{p.data("select2")&&p.select2("destroy")}},[r.is_filterable,t]);const f=p=>{const _=n.filter(x=>x!==p);if(i(_),o(x=>x.filter(v=>v.id!==p)),h.current){const x=window.jQuery(h.current);x.val(_),x.trigger("change")}},g=(c==null?void 0:c.last_page)===(c==null?void 0:c.current_page)||!1;return a.jsxs(a.Fragment,{children:[r.is_filterable&&(t==null?void 0:t.length)>0?a.jsxs("div",{className:"spotlight-filter-container",children:[a.jsx("div",{className:"spotlight-dropdown-container",children:a.jsx("select",{ref:h,multiple:!0,className:"spotlight-filter",name:"categories[]",children:t.map(p=>a.jsx("option",{value:p.id,children:p.name},p.id))})}),a.jsx("div",{className:"spotlight-filter-tags",children:s.map(p=>a.jsxs("div",{className:"spotlight-filter-badge",children:[a.jsx("span",{className:"badge-text",children:p.name}),a.jsx("button",{onClick:()=>f(p.id),className:"spotlight-filter-tag-remove","data-id":p.id,children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"badge-icon",children:a.jsx("path",{d:"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"})})})]}
40,p.id))})]}):null,a.jsx("div",{className:`spotlight-vertical ${g?"spotlight-vertical--last":""}`,children:u?a.jsx("div",{className:"spotlight-loading__container",children:a.jsx("p",{children:"Loading..."})}):(c==null?void 0:c.total)>0?a.jsx("div",{className:"spotlight-vertical__container",children:c.data.map(p=>a.jsx(wl,{spotlight:p},p.id))}):a.jsx("div",{className:"spotlight-empty__container",children:a.jsx("h3",{className:"spotlight-empty__title",children:"No spotlights found"})})}),a.jsx("div",{className:"spotlight-vertical-pagination"})]})}function Kf({block:r}){const e=r.spotlights,t=r.categories;return a.jsxs("section",{className:"spotlights",style:{maxWidth:"1105px",margin:"0 auto"},children:[r.scroll_type==="horizontal"&&a.jsx(Qf,{spotlights:e}),r.scroll_type==="vertical"&&a.jsx(Jf,{block:r,spotlights:e,categories:t})]})}function e2({item:r,customBackgroundColor:e,customTextColor:t,isActive:n}){const[i,s]=b.useState(!1),[o,c]=b.useState(!1),l=()=>{s(!0),c(!0)},u=()=>{s(!0),c(!0)},d=()=>{s(!1),c(!1)};b.useEffect(()=>{!n&&o&&d()},[n]);const h=r.asset_type==="uploaded"&&r.videos&&r.videos.length>0,m=r.asset_type==="embed"&&!!r.embed_code,f=h||m;return a.jsxs("div",{className:"media-carousel-item",children:[f&&a.jsx(Xa,{customBackgroundColor:e,customTextColor:t,embedCode:r.embed_code,onPlay:u,onPause:d,className:"media-carousel__video",type:r.asset_type,theme:"simple",videoSrcs:h?r.videos[0]:null,play:o&&!!n}),!i&&a.jsx(At,{images:r.images,caption:r.text,className:"media-carousel__image spark-responsive-img--cover",lazy:!1}),a.jsx("div",{className:"media-carousel__overlay",style:{color:t||"#fff",display:i?"none":void 0},children:a.jsxs("div",{className:"media-carousel__content",children:[a.jsx("div",{className:"media-carousel__title",dangerouslySetInnerHTML:{__html:r.text}}),a.jsxs("div",{className:"media-carousel__actions",children:[r.link&&r.link_text&&a.jsx("a",{className:"media-carousel__link",href:r.link,children:r.link_text}),f&&a.jsx("button",{className:"media-carousel__play-button",onClick:l,style:{backgroundColor:e,color:t},type:"button",children:a.jsx("span",{children:r.video_button_text??"Watch Video"})})]})]})})]})}function t2({block:r,customBackgroundColor:e,customTextColor:t}){const n=b.useRef(),i=b.useRef(null),[s,o]=b.useState(0),[c,l]=b.useState(0);return b.useEffect(()=>{const u=r&&r.items&&r.items.length||0;l(u);const d=new $c(n.current,{perPage:1,gap:"0.4rem",type:u>1?"loop":"slide",rewind:!0,pagination:!1,arrows:!1,breakpoints:{}});return d.on("move",h=>{o(h)}),d.mount(),i.current=d,()=>{d.destroy()}},[r]),a.jsxs("section",{className:"container sheet-wrap-container media-block media-block--full-width story-carousel",children:[" ",a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",style:{backgroundColor:e,color:t},children:a.jsxs("div",{className:"v5-tile-block__content__grid-wrapper horizontal",children:[a.jsx("div",{className:"splide",ref:n,children:a.jsx("div",{className:"splide__track",children:a.jsx("ul",{className:"splide__list",children:r.items.map((u,d)=>a.jsx("li",{className:`splide__slide ${d===s?"is-center":""}`,children:a.jsx(e2,{item:u,isActive:d===s,customBackgroundColor:e,customTextColor:t})},d))})})}),c>1&&a.jsx("div",{className:"media-carousel__pager",children:a.jsxs("div",{className:"media-carousel__pager-inner",children:[a.jsx("button",{type:"button",className:"media-carousel__pager-prev",onClick:()=>{var u;return(u=i.current)==null?void 0:u.go("<")},"aria-label":"Previous slide",children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:a.jsx("path",{fillRule:"evenodd",d:"M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0"})})}),a.jsxs("div",{className:"media-carousel__pager-counter",children:[Math.min(s+1||1,c)," of"," ",c]}),a.jsx("button",{type:"button",className:"media-carousel__pager-next",onClick:()=>{var u;return(u=i.current)==null?void 0:u.go(">")},"aria-label":"Next slide",children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:a.jsx("path",{fillRule:"evenodd",d:"M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708"})})})]})})]})})})})]})}
40const n2=({blocks:r,customBackgroundColor:e,customTextColor:t,shouldLoad:n})=>{const i=()=>{var s;return(s=r.blocks)==null?void 0:s.map(o=>{switch(o.type){case"text":return a.jsx(pl,{block:o,customBackgroundColor:e,customTextColor:t},`cs-${o.id}`);case"image":return a.jsx(ll,{block:o,customBackgroundColor:e,customTextColor:t},`cs-${o.id}`);case"tile_block":return a.jsx(Fc,{block:o,tiles:o.items},`cs-${o.id}`);case"column":return a.jsx(cl,{block:o,customBackgroundColor:e,customTextColor:t},`cs-${o.id}`);case"video":return a.jsx(Xa,{alignment:o.alignment,customBackgroundColor:e,customTextColor:t,embedCode:o.embed_code,shouldLoad:n,theme:o.theme,type:o.asset_type,videoSrcs:o.videoSrcs},`cs-${o.id}`);case"code":return a.jsx(ol,{block:o},`cs-${o.id}`);case"quote":return a.jsx(ul,{block:o,customBackgroundColor:e,customTextColor:t},`cs-${o.id}`);case"slideshow":return a.jsx(fl,{block:o,customBackgroundColor:e,customTextColor:t},`cs-${o.id}`);case"side_story":return a.jsx(Zf,{block:o,customBackgroundColor:e,customTextColor:t},`cs-${o.id}`);case"spotlights_block":return a.jsx(Kf,{block:o},`cs-${o.id}`);case"references":return a.jsx(dl,{block:o,customBackgroundColor:e,customTextColor:t},`cs-${o.id}`);case"accordion":return a.jsx(yl,{block:o,customBackgroundColor:e,customTextColor:t},`cs-${o.id}`);case"homepage_takeover":return a.jsx(iu,{});case"media_carousel":return a.jsx(t2,{block:o,customBackgroundColor:e,customTextColor:t},`cs-${o.id}`);default:console.log("missing block",o)}})};return a.jsx("div",{className:"slide-container",style:{backgroundColor:e!==null&&e!==""?e:"#ffffff",color:t},children:i()})};class r2{constructor({element:e,index:t,isFirst:n,isImageSlide:i}){Jr(this,"updateElement",e=>{!this.element&&!e||(e&&(this.element=e),this.rect=this.element.getBoundingClientRect(),this.top=this.rect.y+window.scrollY,this.bot=this.top+this.rect.height,this.mid=this.top+this.rect.height/2,this.element.dataset.slideIndex=this.index)});Jr(this,"updatePositions",e=>{this.isBelow=this.mid>=e.pageMid,this.isAbove=this.mid<=e.pageMid,this.isInViewport=this.bot>=e.pageTop&&this.top<=e.pageBot,this.isInFadeZone=this.isInViewport&&this.bot<=e.fadePoint});Jr(this,"updateVideoState",(e,t)=>{this.isLastVidSlide=t,this.shouldScrollVidIn=this.isInViewport&&this.isFirstVidSlide&&e&&e.shouldScrollIn,this.shouldScrollVidIn===void 0&&(this.shouldScrollVidIn=!0),this.shouldScrollVidOut=this.isInViewport&&t&&e&&e.shouldScrollOut,this.shouldFadeVidIn=this.requestedFadeVidIn&&this.isInViewport&&!this.isFirst&&!this.shouldScrollVidIn,this.shouldFadeVidOut=this.isInViewport&&!this.shouldScrollVidOut});Jr(this,"applyDuctTape",e=>{this.top-=e,this.bot-=e,this.element&&this.isImageSlide&&(this.element.style.height=`${window.innerHeight}px`)});this.index=t,this.isFirst=n,this.isImageSlide=i,this.updateElement(e),this.isFirstVidSlide=!1,this.isLastVidSlide=!1,this.shouldScrollVidIn=!1,this.shouldScrollVidOut=!1,this.shouldFadeVidIn=!1,this.shouldFadeVidOut=!1,this.requestedFadeVidIn=!1}}const Uo=.01,i2=Array.from({length:1/Uo+1}).reduce((r,e,t)=>[...r,parseFloat((t*Uo).toFixed(2))],[]),s2=({block:r,isAbove:e,isBelow:t,prevBlockIsAnchor:n=!1})=>{if(r.disable_caption)return"";const{ref:i,visible:s,visibilityPercentage:o}=Ya({threshold:i2}),[c,l]=b.useState("scroll"),u=r.theme==="liquid-glass"?{color:r.caption_text_color??void 0}:void 0;b.useEffect(()=>{o>=50?(e&&(!r.transition_fg_above||r.transition_fg_above==="scroll"?l(""):l(r.transition_fg_above)),t&&(!r.transition_fg_below||r.transition_fg_below==="scroll"?l(""):l(r.transition_fg_below))):l("")},[s,o,e,t]);const d=()=>{let v="";return r.title.length>60?v=" story-slider-content__title--decreased-twenty-percent":r.title.length>40?v=" story-slider-content__title--decreased-ten-percent":r.title.length>25&&(v=" story-slider-content__title--decreased-five-percent"),v},h=()=>{if(!GeneJs.story.author)return"";const v=()=>GeneJs.story.author.image?a.jsx("div",{className:"byline__avatar",children:GeneJs.story.author.link?a.jsx("a",{className:"byline__link",href:GeneJs.story.author.link,children:a.jsx("img",{src:GeneJs.story.author.imagePath})}):a.jsx("img",{src:GeneJs.story.author.imagePath})}):"";return a.jsxs("div",{className:`byline${r.theme?` byline--${r.theme}`:""}`,children:[v(),a.jsxs("div",{className:"byline__text type-body-3",children:[a.jsx("div",{className:"byline__text__name",style:u,children:GeneJs.story.author.name}),a.jsx("div",{className:"byline__text__title",style:u,children:GeneJs.story.author.t
40itle})]})]})},m=v=>Xc(Zc(v),"LLL d, yyyy"),f=()=>{const v=`slide-container${c?` slide-container--${c}`:""}${p?" slide-container--visible":" slide-container--hidden"}${_?" slide-container--fades":""}`;return a.jsx(a.Fragment,{children:a.jsx("div",{className:v,id:r.id,children:a.jsxs("div",{className:`story-slider-content ${r.theme?`story-slider-content--${r.theme}`:""}`,children:[GeneJs.story.story.published_at?a.jsx("p",{className:"story-slider-content__date published-date",style:u,children:m(GeneJs.story.story.published_at)}):"",r.title?a.jsx("p",{className:`story-slider-content__title${d()}`,style:u,children:r.title}):"",h(),a.jsxs("p",{className:"story-slider-content__instructions",style:u,children:["Scroll to begin"," ",a.jsx("svg",{viewBox:"0 0 32 32",className:"down-arrow","aria-hidden":"true",children:a.jsx("path",{d:"M14.496 5.975l-.001 14.287-6.366-6.367L6 16.021l10.003 10.004L26 16.029 23.871 13.9l-6.366 6.368V5.977z"})})]})]})})})},g=()=>{if(!(r.title||r.caption))return"";const v=`slide-container${c?` slide-container--${c}`:""}${p?" slide-container--visible":" slide-container--hidden"}${_?" slide-container--fades":""}`,w=r.title?a.jsx("p",{className:"story-slider-content__title",style:u,dangerouslySetInnerHTML:{__html:r.title}}
vendor: 6,866 bytes, lines 40-47
40):"",y=r.caption?a.jsx("p",{className:"story-slider-content__caption",style:u,dangerouslySetInnerHTML:{__html:r.caption}}):"";return a.jsx("div",{className:v,id:r.id,children:a.jsxs("div",{className:"story-slider-content",children:[w," ",y]})})},p=e&&r.transition_fg_above==="scroll"||t&&r.transition_fg_below==="scroll",_=e&&r.transition_fg_above==="fade"||t&&r.transition_fg_below==="fade",x=r.isFirst&&r.index===0||r.index===1&&n?f():g();return r.url?a.jsx("div",{ref:i,children:a.jsx("a",{className:"image-slide-link",href:r.url,target:"_blank",children:x})}):a.jsx("div",{ref:i,className:"image-slide-ref-wrapper",children:x})};function mn(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Cl(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e}/*!
41 * GSAP 3.15.0
42 * https://gsap.com
43 *
44 * @license Copyright 2008-2026, GreenSock. All rights reserved.
45 * Subject to the terms at https://gsap.com/standard-license
46 * @author: Jack Doyle, [email protected]
47*/var Ot={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Pi={duration:.5,overwrite:!1,delay:0},Za,Qe,ye,Ft=1e8,_e=1/Ft,wa=Math.PI*2,a2=wa/4,o2=0,bl=Math.sqrt,c2=Math.cos,l2=Math.sin,Ye=function(e){return typeof e=="string"},Se=function(e){return typeof e=="function"},yn=function(e){return typeof e=="number"},Qa=function(e){return typeof e>"u"},cn=function(e){return typeof e=="object"},_t=function(e){return e!==!1},Ja=function(){return typeof window<"u"},Xi=function(e){return Se(e)||Ye(e)},jl=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},st=Array.isArray,u2=/random\([^)]+\)/g,d2=/,\s*/g,Go=/(?:-?\.?\d|\.)+/gi,Nl=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,kr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ta=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Tl=/[+-]=-?[.\d]+/,f2=/[^,'"\[\]\s]+/gi,h2=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,be,en,Ca,Ka,Lt={},ys={},Sl,kl=function(e){return(ys=Fr(e,Lt))&&yt},eo=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Mi=function(e,t){return!t&&console.warn(e)},El=function(e,t){return e&&(Lt[e]=t)&&ys&&(ys[e]=t)||Lt},Oi=function(){return 0},p2={suppressEvents:!0,isStart:!0,kill:!1},ls={suppressEvents:!0,kill:!1},m2={suppressEvents:!0},to={},An=[],ba={},Pl,Tt={},na={},Xo=30,us=[],no="",ro=function(e){var t=e[0],n,i;if(cn(t)||Se(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(i=us.length;i--&&!us[i].targetTest(t););n=us[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Jl(e[i],n)))||e.splice(i,1);return e},sr=function(e){return e._gsap||ro($t(e))[0]._gsap},Ml=function(e,t,n){return(n=e[t])&&Se(n)?e[t]():Qa(n)&&e.getAttribute&&e.getAttribute(t)||n},gt=function(e,t){return(e=e.split(",")).forEach(t)||e},Me=function(e){return Math.round(e*1e5)/1e5||0},Ce=function(e){return Math.round(e*1e7)/1e7||0},Or=function(e,t){var n=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),n==="+"?e+i:n==="-"?e-i:n==="*"?e*i:e/i},_2=function(e,t){for(var n=t.length,i=0;e.indexOf(t[i])<0&&++i<n;);return i<n},ws=function(){var e=An.length,t=An.slice(0),n,i;for(ba={},An.length=0,n=0;n<e;n++)i=t[n],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},io=function(e){return!!(e._initted||e._startAt||e.add)},Ol=function(e,t,n,i){An.length&&!Qe&&ws(),e.render(t,n,!!(Qe&&t<0&&io(e))),An.length&&!Qe&&ws()},Ll=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(f2).length<2?t:Ye(e)?e.trim():e},Il=function(e){return e},It=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},g2=function(e){return function(t,n){for(var i in n)i in t||i==="duration"&&e||i==="ease"||(t[i]=n[i])}},Fr=function(e,t){for(var n in t)e[n]=t[n];return e},Zo=function r(e,t){for(var n in t)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=cn(t[n])?r(e[n]||(e[n]={}),t[n]):t[n]);return e},Cs=function(e,t){var n={},i;for(i in e)i in t||(n[i]=e[i]);return n},_i=function(e){var t=e.parent||be,n=e.keyframes?g2(st(e.keyframes)):It;if(_t(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},x2=function(e,t){for(var n=e.length,i=n===t.length;i&&n--&&e[n]===t[n];);return n<0},Al=function(e,t,n,i,s){var o=e[i],c;if(s)for(c=t[s];o&&o[s]>c;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[i]=t,t._prev=o,t.parent=t._dp=e,t},Ds=function(e,t,n,i){n===void 0&&(n="_first"),i===void 0&&(i="_last");var s=t._prev,o=t._next;s?s._next=o:e[n]===t&&(e[n]=o),o?o._prev=s:e[i]===t&&(e[i]=s),t._next=t._prev=t.parent=null},Vn=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ar=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},v2=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},ja=function(e,t,n,i){return e._startAt&&(Qe?e._startAt.revert(ls):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},y2=function r(e){return!e||e._ts&&r(e.parent)},Qo=function(e){return e._repeat?$r(e._tTime,e=e.duration()+e._rDelay)*e:0},$r=function(e,t){var n=Math.floor(e=Ce(e/t));return e&&n===e?n-1:n},bs=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Vs=function(e){return e._end=Ce(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},Hs=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Ce(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Vs(e),n._dirty||ar(n,e)),e},Rl=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=bs(e.rawTime(),t),(!t._dur||Fi(0,t.totalDuration(),n)-t._tTime>_e)&&t.render(n,!0)),ar(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-_e}},nn=function(e,t,n,i){return t.parent&&Vn(t),t._start=Ce((yn(n)?n:n||e!==be?Dt(e,n,t):e._time)+t._delay),t._end=Ce(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Al(e,t,"_first","_last",e._sort?"_start":0),Na(t)||(e._recent=t),i||Rl(e,t),e._ts<0&&Hs(e,e._tTime),e},Dl=function(e,t){return(Lt.ScrollTrigger||eo("scrollTrigger",t))&&Lt.ScrollTrigger.create(t,e)},Vl=function(e,t,n,i,s){if(ao(e,t,s),!e._initted)return 1;if(!n&&e._pt&&!Qe&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Pl!==kt.frame)return An.push(e),e._lazy=[s,i],1},w2=function r(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||r(t))},Na=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},C2=function(e,t,n,i){var s=e.ratio,o=t<0||!t&&(!e._start&&w2(e)&&!(!e._initted&&Na(e))||(e._ts<0||e._dp._ts<0)&&!Na(e))?0:1,c=e._rDelay,l=0,u,d,h;if(c&&e._repeat&&(l=Fi(0,e._tDur,t),d=$r(l,c),e._yoyo&&d&1&&(o=1-o),d!==$r(e._tTime,c)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 4,369 bytes, line 47
47date())),o!==s||Qe||i||e._zTime===_e||!t&&e._zTime){if(!e._initted&&Vl(e,t,i,n,l))return;for(h=e._zTime,e._zTime=t||(n?_e:0),n||(n=t&&!h),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,u=e._pt;u;)u.r(o,u.d),u=u._next;t<0&&ja(e,t,n,!0),e._onUpdate&&!n&&Pt(e,"onUpdate"),l&&e._repeat&&!n&&e.parent&&Pt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&Vn(e,1),!n&&!Qe&&(Pt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},b2=function(e,t,n){var i;if(n>t)for(i=e._first;i&&i._start<=n;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if(i.data==="isPause"&&i._start<t)return i;i=i._prev}},zr=function(e,t,n,i){var s=e._repeat,o=Ce(t)||0,c=e._tTime/e._tDur;return c&&!i&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:Ce(o*(s+1)+e._rDelay*s):o,c>0&&!i&&Hs(e,e._tTime=e._tDur*c),e.parent&&Vs(e),n||ar(e.parent,e),e},Jo=function(e){return e instanceof mt?ar(e):zr(e,e._dur)},j2={_start:0,endTime:Oi,totalDuration:Oi},Dt=function r(e,t,n){var i=e.labels,s=e._recent||j2,o=e.duration()>=Ft?s.endTime(!1):e._dur,c,l,u;return Ye(t)&&(isNaN(t)||t in i)?(l=t.charAt(0),u=t.substr(-1)==="%",c=t.indexOf("="),l==="<"||l===">"?(c>=0&&(t=t.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(c<0?s:n).totalDuration()/100:1)):c<0?(t in i||(i[t]=o),i[t]):(l=parseFloat(t.charAt(c-1)+t.substr(c+1)),u&&n&&(l=l/100*(st(n)?n[0]:n).totalDuration()),c>1?r(e,t.substr(0,c-1),n)+l:o+l)):t==null?o:+t},gi=function(e,t,n){var i=yn(t[1]),s=(i?2:1)+(e<2?0:1),o=t[s],c,l;if(i&&(o.duration=t[1]),o.parent=n,e){for(c=o,l=n;l&&!("immediateRender"in c);)c=l.vars.defaults||{},l=_t(l.vars.inherit)&&l.parent;o.immediateRender=_t(c.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return new Re(t[0],o,t[s+1])},Bn=function(e,t){return e||e===0?t(e):t},Fi=function(e,t,n){return n<e?e:n>t?t:n},rt=function(e,t){return!Ye(e)||!(t=h2.exec(e))?"":t[1]},N2=function(e,t,n){return Bn(n,function(i){return Fi(e,t,i)})},Ta=[].slice,Hl=function(e,t){return e&&cn(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&cn(e[0]))&&!e.nodeType&&e!==en},T2=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(i){var s;return Ye(i)&&!t||Hl(i,1)?(s=n).push.apply(s,$t(i)):n.push(i)})||n},$t=function(e,t,n){return ye&&!t&&ye.selector?ye.selector(e):Ye(e)&&!n&&(Ca||!Br())?Ta.call((t||Ka).querySelectorAll(e),0):st(e)?T2(e,n):Hl(e)?Ta.call(e,0):e?[e]:[]},Sa=function(e){return e=$t(e)[0]||Mi("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return $t(t,n.querySelectorAll?n:n===e?Mi("Invalid scope")||Ka.createElement("div"):e)}},Fl=function(e){return e.sort(function(){return .5-Math.random()})},$l=function(e){if(Se(e))return e;var t=cn(e)?e:{each:e},n=or(t.ease),i=t.from||0,s=parseFloat(t.base)||0,o={},c=i>0&&i<1,l=isNaN(i)||c,u=t.axis,d=i,h=i;return Ye(i)?d=h={center:.5,edges:.5,end:1}[i]||0:!c&&l&&(d=i[0],h=i[1]),function(m,f,g){var p=(g||t).length,_=o[p],x,v,w,y,j,S,N,P,k;if(!_){if(k=t.grid==="auto"?0:(t.grid||[1,Ft])[1],!k){for(N=-Ft;N<(N=g[k++].getBoundingClientRect().left)&&k<p;);k<p&&k--}for(_=o[p]=[],x=l?Math.min(k,p)*d-.5:i%k,v=k===Ft?0:l?p*h/k-.5:i/k|0,N=0,P=Ft,S=0;S<p;S++)w=S%k-x,y=v-(S/k|0),_[S]=j=u?Math.abs(u==="y"?y:w):bl(w*w+y*y),j>N&&(N=j),j<P&&(P=j);i==="random"&&Fl(_),_.max=N-P,_.min=P,_.v=p=(parseFloat(t.amount)||parseFloat(t.each)*(k>p?p-1:u?u==="y"?p/k:k:Math.max(k,p/k))||0)*(i==="edges"?-1:1),_.b=p<0?s-p:s,_.u=rt(t.amount||t.each)||0,n=n&&p<0?H2(n):n}return p=(_[m]-_.min)/_.max||0,Ce(_.b+(n?n(p):p)*_.v)+_.u}},ka=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=Ce(Math.round(parseFloat(n)/e)*e*t);return(i-i%1)/t+(yn(n)?0:rt(n))}},zl=function(e,t){var n=st(e),i,s;return!n&&cn(e)&&(i=n=e.radius||Ft,e.values?(e=$t(e.values),(s=!yn(e[0]))&&(i*=i)):e=ka(e.increment)),Bn(t,n?Se(e)?function(o){return s=e(o),Math.abs(s-o)<=i?s:o}:function(o){for(var c=parseFloat(s?o.x:o),l=parseFloat(s?o.y:0),u=Ft,d=0,h=e.length,m,f;h--;)s?(m=e[h].x-c,f=e[h].y-l,m=m*m+f*f):m=Math.abs(e[h]-c),m<u&&(u=m,d=h);return d=!i||u<=i?e[d]:o,s||d===o||yn(o)?d:d+rt(o)}:ka(e))},Bl=function(e,t,n,i){return Bn(st(e)?!t:n===!0?!!(n=0):!i,function(){return st(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*i)/i}
vendor: 5,590 bytes, line 47
47)},S2=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(i){return t.reduce(function(s,o){return o(s)},i)}},k2=function(e,t){return function(n){return e(parseFloat(n))+(t||rt(n))}},E2=function(e,t,n){return ql(e,t,0,1,n)},Wl=function(e,t,n){return Bn(n,function(i){return e[~~t(i)]})},P2=function r(e,t,n){var i=t-e;return st(e)?Wl(e,r(0,e.length),t):Bn(n,function(s){return(i+(s-e)%i)%i+e})},M2=function r(e,t,n){var i=t-e,s=i*2;return st(e)?Wl(e,r(0,e.length-1),t):Bn(n,function(o){return o=(s+(o-e)%s)%s||0,e+(o>i?s-o:o)})},Li=function(e){return e.replace(u2,function(t){var n=t.indexOf("[")+1,i=t.substring(n||7,n?t.indexOf("]"):t.length-1).split(d2);return Bl(n?i:+i[0],n?0:+i[1],+i[2]||1e-5)})},ql=function(e,t,n,i,s){var o=t-e,c=i-n;return Bn(s,function(l){return n+((l-e)/o*c||0)})},O2=function r(e,t,n,i){var s=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!s){var o=Ye(e),c={},l,u,d,h,m;if(n===!0&&(i=1)&&(n=null),o)e={p:e},t={p:t};else if(st(e)&&!st(t)){for(d=[],h=e.length,m=h-2,u=1;u<h;u++)d.push(r(e[u-1],e[u]));h--,s=function(g){g*=h;var p=Math.min(m,~~g);return d[p](g-p)},n=t}else i||(e=Fr(st(e)?[]:{},e));if(!d){for(l in t)so.call(c,e,l,"get",t[l]);s=function(g){return lo(g,c)||(o?e.p:e)}}}return Bn(n,s)},Ko=function(e,t,n){var i=e.labels,s=Ft,o,c,l;for(o in i)c=i[o]-t,c<0==!!n&&c&&s>(c=Math.abs(c))&&(l=o,s=c);return l},Pt=function(e,t,n){var i=e.vars,s=i[t],o=ye,c=e._ctx,l,u,d;if(s)return l=i[t+"Params"],u=i.callbackScope||e,n&&An.length&&ws(),c&&(ye=c),d=l?s.apply(u,l):s.call(u),ye=o,d},ci=function(e){return Vn(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Qe),e.progress()<1&&Pt(e,"onInterrupt"),e},Er,Yl=[],Ul=function(e){if(e)if(e=!e.name&&e.default||e,Ja()||e.headless){var t=e.name,n=Se(e),i=t&&!n&&e.init?function(){this._props=[]}:e,s={init:Oi,render:lo,add:so,kill:X2,modifier:G2,rawVars:0},o={targetTest:0,get:0,getSetter:co,aliases:{},register:0};if(Br(),e!==i){if(Tt[t])return;It(i,It(Cs(e,s),o)),Fr(i.prototype,Fr(s,Cs(e,o))),Tt[i.prop=t]=i,e.targetTest&&(us.push(i),to[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}El(t,i),e.register&&e.register(yt,i,xt)}else Yl.push(e)},me=255,li={aqua:[0,me,me],lime:[0,me,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,me],navy:[0,0,128],white:[me,me,me],olive:[128,128,0],yellow:[me,me,0],orange:[me,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[me,0,0],pink:[me,192,203],cyan:[0,me,me],transparent:[me,me,me,0]},ra=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*me+.5|0},Gl=function(e,t,n){var i=e?yn(e)?[e>>16,e>>8&me,e&me]:0:li.black,s,o,c,l,u,d,h,m,f,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),li[e])i=li[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),c=e.charAt(3),e="#"+s+s+o+o+c+c+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&me,i&me,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&me,e&me]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(Go),!t)l=+i[0]%360/360,u=+i[1]/100,d=+i[2]/100,o=d<=.5?d*(u+1):d+u-d*u,s=d*2-o,i.length>3&&(i[3]*=1),i[0]=ra(l+1/3,s,o),i[1]=ra(l,s,o),i[2]=ra(l-1/3,s,o);else if(~e.indexOf("="))return i=e.match(Nl),n&&i.length<4&&(i[3]=1),i}else i=e.match(Go)||li.transparent;i=i.map(Number)}return t&&!g&&(s=i[0]/me,o=i[1]/me,c=i[2]/me,h=Math.max(s,o,c),m=Math.min(s,o,c),d=(h+m)/2,h===m?l=u=0:(f=h-m,u=d>.5?f/(2-h-m):f/(h+m),l=h===s?(o-c)/f+(o<c?6:0):h===o?(c-s)/f+2:(s-o)/f+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*100+.5),i[2]=~~(d*100+.5)),n&&i.length<4&&(i[3]=1),i},Xl=function(e){var t=[],n=[],i=-1;return e.split(Rn).forEach(function(s){var o=s.match(kr)||[];t.push.apply(t,o),n.push(i+=o.length+1)}),t.c=n,t},ec=function(e,t,n){var i="",s=(e+i).match(Rn),o=t?"hsla(":"rgba(",c=0,l,u,d,h;if(!s)return e;if(s=s.map(function(m){return(m=Gl(m,t,1))&&o+(t?m[0]+","+m[1]+"%,"+m[2]+"%,"+m[3]:m.join(","))+")"}),n&&(d=Xl(e),l=n.c,l.join(i)!==d.c.join(i)))for(u=e.replace(Rn,"1").split(kr),h=u.length-1;c<h;c++)i+=u[c]+(~l.indexOf(c)?s.shift()||o+"0,0,0,0)":(d.length?d:s.length?s:n).shift());if(!u)for(u=e.split(Rn),h=u.length-1;c<h;c++)i+=u[c]+s[c];return i+u[h]},Rn=(function(){var r="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in li)r+="|"+e+"\\b";return new RegExp(r+")","gi")})(),L2=/hsl[a]?\(/,Zl=function(e){var t=e.join(" "),n;if(Rn.lastIndex=0,Rn.test(t))return n=L2.test(t),e[1]=ec(e[1],n),e[0]=ec(e[0],n,Xl(e[1])),!0},Ii,kt=(function(){var r=Date.now,e=500,t=33,n=r(),i=n,s=1e3/240,o=s,c=[],l,u,d,h,m,f,g=function p(_){var x=r()-i,v=_===!0,w,y,j,S;if((x>e||x<0)&&(n+=x-t),i+=x,j=i-n,w=j-o,(w>0||v)&&(S=++h.frame,m=j-h.time*1e3,h.time=j=j/1e3,o+=w+(w>=s?4:s-w),y=1),v||(l=u(p)),y)for(f=0;f<c.length;f++)c[f](j,m,S,_)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(_){return m/(1e3/(_||60))},wake:function(){Sl&&(!Ca&&Ja()&&(en=Ca=window,Ka=en.document||{},Lt.gsap=yt,(en.gsapVersions||(en.gsapVersions=[])).push(yt.version),kl(ys||en.GreenSockGlobals||!en.gsap&&en||{}),Yl.forEach(Ul)),d=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&h.sleep(),u=d||function(_){return setTimeout(_,o-h.time*1e3+1|0)},Ii=1,g(2))},sleep:function(){(d?cancelAnimationFrame:clearTimeout)(l),Ii=0,u=Oi},lagSmoothing:function(_,x){e=_||1/0,t=Math.min(x||33,e)},fps:function(_){s=1e3/(_||240),o=h.time*1e3+s},add:function(_,x,v){var w=x?function(y,j,S,N){_(y,j,S,N),h.remove(w)}:_;return h.remove(_),c[v?"unshift":"push"](w),Br(),w}
vendor: 2,620 bytes, line 47
47,remove:function(_,x){~(x=c.indexOf(_))&&c.splice(x,1)&&f>=x&&f--},_listeners:c},h})(),Br=function(){return!Ii&&kt.wake()},se={},I2=/^[\d.\-M][\d.\-,\s]/,A2=/["']/g,R2=function(e){for(var t={},n=e.substr(1,e.length-3).split(":"),i=n[0],s=1,o=n.length,c,l,u;s<o;s++)l=n[s],c=s!==o-1?l.lastIndexOf(","):l.length,u=l.substr(0,c),t[i]=isNaN(u)?u.replace(A2,"").trim():+u,i=l.substr(c+1).trim();return t},D2=function(e){var t=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",t);return e.substring(t,~i&&i<n?e.indexOf(")",n+1):n)},V2=function(e){var t=(e+"").split("("),n=se[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[R2(t[1])]:D2(e).split(",").map(Ll)):se._CE&&I2.test(e)?se._CE("",e):n},H2=function(e){return function(t){return 1-e(1-t)}},or=function(e,t){return e&&(Se(e)?e:se[e]||V2(e))||t},_r=function(e,t,n,i){n===void 0&&(n=function(l){return 1-t(1-l)}),i===void 0&&(i=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var s={easeIn:t,easeOut:n,easeInOut:i},o;return gt(e,function(c){se[c]=Lt[c]=s,se[o=c.toLowerCase()]=n;for(var l in s)se[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=se[c+"."+l]=s[l]}),s},Ql=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},ia=function r(e,t,n){var i=t>=1?t:1,s=(n||(e?.3:.45))/(t<1?t:1),o=s/wa*(Math.asin(1/i)||0),c=function(d){return d===1?1:i*Math.pow(2,-10*d)*l2((d-o)*s)+1},l=e==="out"?c:e==="in"?function(u){return 1-c(1-u)}:Ql(c);return s=wa/s,l.config=function(u,d){return r(e,u,d)},l},sa=function r(e,t){t===void 0&&(t=1.70158);var n=function(o){return o?--o*o*((t+1)*o+t)+1:0},i=e==="out"?n:e==="in"?function(s){return 1-n(1-s)}:Ql(n);return i.config=function(s){return r(e,s)},i};gt("Linear,Quad,Cubic,Quart,Quint,Strong",function(r,e){var t=e<5?e+1:e;_r(r+",Power"+(t-1),e?function(n){return Math.pow(n,t)}:function(n){return n},function(n){return 1-Math.pow(1-n,t)},function(n){return n<.5?Math.pow(n*2,t)/2:1-Math.pow((1-n)*2,t)/2})});se.Linear.easeNone=se.none=se.Linear.easeIn;_r("Elastic",ia("in"),ia("out"),ia());(function(r,e){var t=1/e,n=2*t,i=2.5*t,s=function(c){return c<t?r*c*c:c<n?r*Math.pow(c-1.5/e,2)+.75:c<i?r*(c-=2.25/e)*c+.9375:r*Math.pow(c-2.625/e,2)+.984375};_r("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);_r("Expo",function(r){return Math.pow(2,10*(r-1))*r+r*r*r*r*r*r*(1-r)});_r("Circ",function(r){return-(bl(1-r*r)-1)});_r("Sine",function(r){return r===1?1:-c2(r*a2)+1});_r("Back",sa("in"),sa("out"),sa());se.SteppedEase=se.steps=Lt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,i=e+(t?0:1),s=t?1:0,o=1-_e;return function(c){return((i*Fi(0,o,c)|0)+s)*n}
vendor: 27,486 bytes, line 47
47}};Pi.ease=se["quad.out"];gt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(r){return no+=r+","+r+"Params,"});var Jl=function(e,t){this.id=o2++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Ml,this.set=t?t.getSetter:co},Ai=(function(){function r(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,zr(this,+t.duration,1,1),this.data=t.data,ye&&(this._ctx=ye,ye.data.push(this)),Ii||kt.wake()}var e=r.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,zr(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,i){if(Br(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Hs(this,n),!s._dp||s.parent||Rl(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&nn(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===_e||!this._initted&&this._dur&&n||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),Ol(this,n,i)),this},e.time=function(n,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+Qo(this))%(this._dur+this._rDelay)||(n?this._dur:0),i):this._time},e.totalProgress=function(n,i){return arguments.length?this.totalTime(this.totalDuration()*n,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(n,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+Qo(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*s,i):this._repeat?$r(this._tTime,s)+1:1},e.timeScale=function(n,i){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===n)return this;var s=this.parent&&this._ts?bs(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-_e?0:this._rts,this.totalTime(Fi(-Math.abs(this._delay),this.totalDuration(),s),i!==!1),Vs(this),v2(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Br(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_e&&(this._tTime-=_e)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=Ce(n);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&nn(i,this,this._start-this._delay),this}return this._start},e.endTime=function(n){return this._start+(_t(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var i=this.parent||this._dp;return i?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?bs(i.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=m2);var i=Qe;return Qe=n,io(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),Qe=i,this},e.globalTime=function(n){for(var i=this,s=arguments.length?n:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(n):s},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,Jo(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var i=this._time;return this._rDelay=n,Jo(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,i){return this.totalTime(Dt(this,n),_t(i))},e.restart=function(n,i){return this.play().totalTime(n?-this._delay:0,_t(i)),this._dur||(this._zTime=-_e),this},e.play=function(n,i){return n!=null&&this.seek(n,i),this.reversed(!1).paused(!1)},e.reverse=function(n,i){return n!=null&&this.seek(n||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(n,i){return n!=null&&this.seek(n,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-_e:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_e,this},e.isActive=function(){var n=this.parent||this._dp,i=this._start,s;return!!(!n||this._ts&&this._initted&&n.isActive()&&(s=n.rawTime(!0))>=i&&s<this.endTime(!0)-_e)},e.eventCallback=function(n,i,s){var o=this.vars;return arguments.length>1?(i?(o[n]=i,s&&(o[n+"Params"]=s),n==="onUpdate"&&(this._onUpdate=i)):delete o[n],this):o[n]},e.then=function(n){var i=this,s=i._prom;return new Promise(function(o){var c=Se(n)?n:Il,l=function(){var d=i.then;i.then=null,s&&s(),Se(c)&&(c=c(i))&&(c.then||c===i)&&(i.then=d),o(c),i.then=d};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?l():i._prom=l})},e.kill=function(){ci(this)},r})();It(Ai.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-_e,_prom:0,_ps:!1,_rts:1});var mt=(function(r){Cl(e,r);function e(n,i){var s;return n===void 0&&(n={}),s=r.call(this,n)||this,s.labels={},s.smoothChildTiming=!!n.smoothChildTiming,s.autoRemoveChildren=!!n.autoRemoveChildren,s._sort=_t(n.sortChildren),be&&nn(n.parent||be,mn(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),n.scrollTrigger&&Dl(mn(s),n.scrollTrigger),s}var t=e.prototype;return t.to=function(i,s,o){return gi(0,arguments,this),this},t.from=function(i,s,o){return gi(1,arguments,this),this},t.fromTo=function(i,s,o,c){return gi(2,arguments,this),this},t.set=function(i,s,o){return s.duration=0,s.parent=this,_i(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Re(i,s,Dt(this,o),1),this},t.call=function(i,s,o){return nn(this,Re.delayedCall(0,i,s),o)},t.staggerTo=function(i,s,o,c,l,u,d){return o.duration=s,o.stagger=o.stagger||c,o.onComplete=u,o.onCompleteParams=d,o.parent=this,new Re(i,o,Dt(this,l)),this},t.staggerFrom=function(i,s,o,c,l,u,d){return o.runBackwards=1,_i(o).immediateRender=_t(o.immediateRender),this.staggerTo(i,s,o,c,l,u,d)},t.staggerFromTo=function(i,s,o,c,l,u,d,h){return c.startAt=o,_i(c).immediateRender=_t(c.immediateRender),this.staggerTo(i,s,c,l,u,d,h)},t.render=function(i,s,o){var c=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,d=i<=0?0:Ce(i),h=this._zTime<0!=i<0&&(this._initted||!u),m,f,g,p,_,x,v,w,y,j,S,N;if(this!==be&&d>l&&i>=0&&(d=l),d!==this._tTime||o||h){if(c!==this._time&&u&&(d+=this._time-c,i+=this._time-c),m=d,y=this._start,w=this._ts,x=!w,h&&(u||(c=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(S=this._yoyo,_=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(_*100+i,s,o);if(m=Ce(d%_),d===l?(p=this._repeat,m=u):(j=Ce(d/_),p=~~j,p&&p===j&&(m=u,p--),m>u&&(m=u)),j=$r(this._tTime,_),!c&&this._tTime&&j!==p&&this._tTime-j*_-this._dur<=0&&(j=p),S&&p&1&&(m=u-m,N=1),p!==j&&!this._lock){var P=S&&j&1,k=P===(S&&p&1);if(p<j&&(P=!P),c=P?0:d%u?u:d,this._lock=1,this.render(c||(N?0:Ce(p*_)),s,!u)._lock=0,this._tTime=d,!s&&this.parent&&Pt(this,"onRepeat"),this.vars.repeatRefresh&&!N&&(this.invalidate()._lock=1,j=p),c&&c!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,k&&(this._lock=2,c=P?u:-1e-4,this.render(c,!0),this.vars.repeatRefresh&&!N&&this.invalidate()),this._lock=0,!this._ts&&!x)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=b2(this,Ce(c),Ce(m)),v&&(d-=m-(m=v._start))),this._tTime=d,this._time=m,this._act=!!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,c=0),!c&&d&&u&&!s&&!j&&(Pt(this,"onStart"),this._tTime!==d))return this;if(m>=c&&i>=0)for(f=this._first;f;){if(g=f._next,(f._act||m>=f._start)&&f._ts&&v!==f){if(f.parent!==this)return this.render(i,s,o);if(f.render(f._ts>0?(m-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(m-f._start)*f._ts,s,o),m!==this._time||!this._ts&&!x){v=0,g&&(d+=this._zTime=-_e);break}}f=g}else{f=this._last;for(var T=i<0?i:m;f;){if(g=f._prev,(f._act||T<=f._end)&&f._ts&&v!==f){if(f.parent!==this)return this.render(i,s,o);if(f.render(f._ts>0?(T-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(T-f._start)*f._ts,s,o||Qe&&io(f)),m!==this._time||!this._ts&&!x){v=0,g&&(d+=this._zTime=T?-_e:_e);break}}f=g}}if(v&&!s&&(this.pause(),v.render(m>=c?0:-_e)._zTime=m>=c?1:-1,this._ts))return this._start=y,Vs(this),this.render(i,s,o);this._onUpdate&&!s&&Pt(this,"onUpdate",!0),(d===l&&this._tTime>=this.totalDuration()||!d&&c)&&(y===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(d===l&&this._ts>0||!d&&this._ts<0)&&Vn(this,1),!s&&!(i<0&&!c)&&(d||c||!l)&&(Pt(this,d===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(i,s){var o=this;if(yn(s)||(s=Dt(this,s,i)),!(i instanceof Ai)){if(st(i))return i.forEach(function(c){return o.add(c,s)}),this;if(Ye(i))return this.addLabel(i,s);if(Se(i))i=Re.delayedCall(0,i);else return this}return this!==i?nn(this,i,s):this},t.getChildren=function(i,s,o,c){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),c===void 0&&(c=-Ft);for(var l=[],u=this._first;u;)u._start>=c&&(u instanceof Re?s&&l.push(u):(o&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,s,o)))),u=u._next;return l},t.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},t.remove=function(i){return Ye(i)?this.removeLabel(i):Se(i)?this.killTweensOf(i):(i.parent===this&&Ds(this,i),i===this._recent&&(this._recent=this._last),ar(this))},t.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ce(kt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),r.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},t.addLabel=function(i,s){return this.labels[i]=Dt(this,s),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,s,o){var c=Re.delayedCall(0,s||Oi,o);return c.data="isPause",this._hasPause=1,nn(this,c,Dt(this,i))},t.removePause=function(i){var s=this._first;for(i=Dt(this,i);s;)s._start===i&&s.data==="isPause"&&Vn(s),s=s._next},t.killTweensOf=function(i,s,o){for(var c=this.getTweensOf(i,o),l=c.length;l--;)Pn!==c[l]&&c[l].kill(i,s);return this},t.getTweensOf=function(i,s){for(var o=[],c=$t(i),l=this._first,u=yn(s),d;l;)l instanceof Re?_2(l._targets,c)&&(u?(!Pn||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(d=l.getTweensOf(c,s)).length&&o.push.apply(o,d),l=l._next;return o},t.tweenTo=function(i,s){s=s||{};var o=this,c=Dt(o,i),l=s,u=l.startAt,d=l.onStart,h=l.onStartParams,m=l.immediateRender,f,g=Re.to(o,It({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:c,overwrite:"auto",duration:s.duration||Math.abs((c-(u&&"time"in u?u.time:o._time))/o.timeScale())||_e,onStart:function(){if(o.pause(),!f){var _=s.duration||Math.abs((c-(u&&"time"in u?u.time:o._time))/o.timeScale());g._dur!==_&&zr(g,_,0,1).render(g._time,!0,!0),f=1}d&&d.apply(g,h||[])}},s));return m?g.render(0):g},t.tweenFromTo=function(i,s,o){return this.tweenTo(s,It({startAt:{time:Dt(this,i)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),Ko(this,Dt(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),Ko(this,Dt(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+_e)},t.shiftChildren=function(i,s,o){o===void 0&&(o=0);var c=this._first,l=this.labels,u;for(i=Ce(i);c;)c._start>=o&&(c._start+=i,c._end+=i),c=c._next;if(s)for(u in l)l[u]>=o&&(l[u]+=i);return ar(this)},t.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return r.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),ar(this)},t.totalDuration=function(i){var s=0,o=this,c=o._last,l=Ft,u,d,h;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(h=o.parent;c;)u=c._prev,c._dirty&&c.totalDuration(),d=c._start,d>l&&o._sort&&c._ts&&!o._lock?(o._lock=1,nn(o,c,d-c._delay,1)._lock=0):l=d,d<0&&c._ts&&(s-=d,(!h&&!o._dp||h&&h.smoothChildTiming)&&(o._start+=Ce(d/o._ts),o._time-=d,o._tTime-=d),o.shiftChildren(-d,!1,-1/0),l=0),c._end>s&&c._ts&&(s=c._end),c=u;zr(o,o===be&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(be._ts&&(Ol(be,bs(i,be)),Pl=kt.frame),kt.frame>=Xo){Xo+=Ot.autoSleep||120;var s=be._first;if((!s||!s._ts)&&Ot.autoSleep&&kt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||kt.sleep()}}},e})(Ai);It(mt.prototype,{_lock:0,_hasPause:0,_forcing:0});var F2=function(e,t,n,i,s,o,c){var l=new xt(this._pt,e,t,0,1,i1,null,s),u=0,d=0,h,m,f,g,p,_,x,v;for(l.b=n,l.e=i,n+="",i+="",(x=~i.indexOf("random("))&&(i=Li(i)),o&&(v=[n,i],o(v,e,t),n=v[0],i=v[1]),m=n.match(ta)||[];h=ta.exec(i);)g=h[0],p=i.substring(u,h.index),f?f=(f+1)%5:p.substr(-5)==="rgba("&&(f=1),g!==m[d++]&&(_=parseFloat(m[d-1])||0,l._pt={_next:l._pt,p:p||d===1?p:",",s:_,c:g.charAt(1)==="="?Or(_,g)-_:parseFloat(g)-_,m:f&&f<4?Math.round:0},u=ta.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=c,(Tl.test(i)||x)&&(l.e=0),this._pt=l,l},so=function(e,t,n,i,s,o,c,l,u,d){Se(i)&&(i=i(s||0,e,o));var h=e[t],m=n!=="get"?n:Se(h)?u?e[t.indexOf("set")||!Se(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():h,f=Se(h)?u?q2:n1:oo,g;if(Ye(i)&&(~i.indexOf("random(")&&(i=Li(i)),i.charAt(1)==="="&&(g=Or(m,i)+(rt(m)||0),(g||g===0)&&(i=g))),!d||m!==i||Ea)return!isNaN(m*i)&&i!==""?(g=new xt(this._pt,e,t,+m||0,i-(m||0),typeof h=="boolean"?U2:r1,0,f),u&&(g.fp=u),c&&g.modifier(c,this,e),this._pt=g):(!h&&!(t in e)&&eo(t,i),F2.call(this,e,t,m,i,f,l||Ot.stringFilter,u))},$2=function(e,t,n,i,s){if(Se(e)&&(e=xi(e,s,t,n,i)),!cn(e)||e.style&&e.nodeType||st(e)||jl(e))return Ye(e)?xi(e,s,t,n,i):e;var o={},c;for(c in e)o[c]=xi(e[c],s,t,n,i);return o},Kl=function(e,t,n,i,s,o){var c,l,u,d;if(Tt[e]&&(c=new Tt[e]).init(s,c.rawVars?t[e]:$2(t[e],i,s,o,n),n,i,o)!==!1&&(n._pt=l=new xt(n._pt,s,e,0,1,c.render,c,0,c.priority),n!==Er))for(u=n._ptLookup[n._targets.indexOf(s)],d=c._props.length;d--;)u[c._props[d]]=l;return c},Pn,Ea,ao=function r(e,t,n){var i=e.vars,s=i.ease,o=i.startAt,c=i.immediateRender,l=i.lazy,u=i.onUpdate,d=i.runBackwards,h=i.yoyoEase,m=i.keyframes,f=i.autoRevert,g=e._dur,p=e._startAt,_=e._targets,x=e.parent,v=x&&x.data==="nested"?x.vars.targets:_,w=e._overwrite==="auto"&&!Za,y=e.timeline,j=i.easeReverse||h,S,N,P,k,T,F,M,A,L,R,O,D,V;if(y&&(!m||!s)&&(s="none"),e._ease=or(s,Pi.ease),e._rEase=j&&(or(j)||e._ease),e._from=!y&&!!i.runBackwards,e._from&&(e.ratio=1),!y||m&&!i.stagger){if(A=_[0]?sr(_[0]).harness:0,D=A&&i[A.prop],S=Cs(i,to),p&&(p._zTime<0&&p.progress(1),t<0&&d&&c&&!f?p.render(-1,!0):p.revert(d&&g?ls:p2),p._lazy=0),o){if(Vn(e._startAt=Re.set(_,It({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!p&&_t(l),startAt:null,delay:0,onUpdate:u&&function(){return Pt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Qe||!c&&!f)&&e._startAt.revert(ls),c&&g&&t<=0&&n<=0){t&&(e._zTime=t);return}}else if(d&&g&&!p){if(t&&(c=!1),P=It({overwrite:!1,data:"isFromStart",lazy:c&&!p&&_t(l),immediateRender:c,stagger:0,parent:x},S),D&&(P[A.prop]=D),Vn(e._startAt=Re.set(_,P)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Qe?e._startAt.revert(ls):e._startAt.render(-1,!0)),e._zTime=t,!c)r(e._startAt,_e,_e);else if(!t)return}for(e._pt=e._ptCache=0,l=g&&_t(l)||l&&!g,N=0;N<_.length;N++){if(T=_[N],M=T._gsap||ro(_)[N]._gsap,e._ptLookup[N]=R={},ba[M.id]&&An.length&&ws(),O=v===_?N:v.indexOf(T),A&&(L=new A).init(T,D||S,e,O,v)!==!1&&(e._pt=k=new xt(e._pt,T,L.name,0,1,L.render,L,0,L.priority),L._props.forEach(function($){R[$]=k}),L.priority&&(F=1)),!A||D)for(P in S)Tt[P]&&(L=Kl(P,S,e,O,T,v))?L.priority&&(F=1):R[P]=k=so.call(e,T,P,"get",S[P],O,v,0,i.stringFilter);e._op&&e._op[N]&&e.kill(T,e._op[N]),w&&e._pt&&(Pn=e,be.killTweensOf(T,R,e.globalTime(t)),V=!e.parent,Pn=0),e._pt&&l&&(ba[M.id]=1)}F&&s1(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!V,m&&t<=0&&y.render(Ft,!0,!0)},z2=function(e,t,n,i,s,o,c,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],d,h,m,f;if(!u)for(u=e._ptCache[t]=[],m=e._ptLookup,f=e._targets.length;f--;){if(d=m[f][t],d&&d.d&&d.d._pt)for(d=d.d._pt;d&&d.p!==t&&d.fp!==t;)d=d._next;if(!d)return Ea=1,e.vars[t]="+=0",ao(e,c),Ea=0,l?Mi(t+" not eligible for reset. Try splitting into individual properties"):1;u.push(d)}for(f=u.length;f--;)h=u[f],d=h._pt||h,d.s=(i||i===0)&&!s?i:d.s+(i||0)+o*d.c,d.c=n-d.s,h.e&&(h.e=Me(n)+rt(h.e)),h.b&&(h.b=d.s+rt(h.b))},B2=function(e,t){var n=e[0]?sr(e[0]).harness:0,i=n&&n.aliases,s,o,c,l;if(!i)return t;s=Fr({},t);for(o in i)if(o in s)for(l=i[o].split(","),c=l.length;c--;)s[l[c]]=s[o];return s},W2=function(e,t,n,i){var s=t.ease||i||"power1.inOut",o,c;if(st(t))c=n[e]||(n[e]=[]),t.forEach(function(l,u){return c.push({t:u/(t.length-1)*100,v:l,e:s})});else for(o in t)c=n[o]||(n[o]=[]),o==="ease"||c.push({t:parseFloat(e),v:t[o],e:s})},xi=function(e,t,n,i,s){return Se(e)?e.call(t,n,i,s):Ye(e)&&~e.indexOf("random(")?Li(e):e},e1=no+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",t1={};gt(e1+",id,stagger,delay,duration,paused,scrollTrigger",function(r){return t1[r]=1});var Re=(function(r){Cl(e,r);function e(n,i,s,o){var c;typeof i=="number"&&(s.duration=i,i=s,s=null),c=r.call(this,o?i:_i(i))||this;var l=c.vars,u=l.duration,d=l.delay,h=l.immediateRender,m=l.stagger,f=l.overwrite,g=l.keyframes,p=l.defaults,_=l.scrollTrigger,x=i.parent||be,v=(st(n)||jl(n)?yn(n[0]):"length"in i)?[n]:$t(n),w,y,j,S,N,P,k,T;if(c._targets=v.length?ro(v):Mi("GSAP target "+n+" not found. https://gsap.com",!Ot.nullTargetWarn)||[],c._ptLookup=[],c._overwrite=f,g||m||Xi(u)||Xi(d)){i=c.vars;var F=i.easeReverse||i.yoyoEase;if(w=c.timeline=new mt({data:"nested",defaults:p||{},targets:x&&x.data==="nested"?x.vars.targets:v}),w.kill(),w.parent=w._dp=mn(c),w._start=0,m||Xi(u)||Xi(d)){if(S=v.length,k=m&&$l(m),cn(m))for(N in m)~e1.indexOf(N)&&(T||(T={}),T[N]=m[N]);for(y=0;y<S;y++)j=Cs(i,t1),j.stagger=0,F&&(j.easeReverse=F),T&&Fr(j,T),P=v[y],j.duration=+xi(u,mn(c),y,P,v),j.delay=(+xi(d,mn(c),y,P,v)||0)-c._delay,!m&&S===1&&j.delay&&(c._delay=d=j.delay,c._start+=d,j.delay=0),w.to(P,j,k?k(y,P,v):0),w._ease=se.none;w.duration()?u=d=0:c.timeline=0}else if(g){_i(It(w.vars.defaults,{ease:"none"})),w._ease=or(g.ease||i.ease||"none");var M=0,A,L,R;if(st(g))g.forEach(function(O){return w.to(v,O,">")}),w.duration();else{j={};for(N in g)N==="ease"||N==="easeEach"||W2(N,g[N],j,g.easeEach);for(N in j)for(A=j[N].sort(function(O,D){return O.t-D.t}),M=0,y=0;y<A.length;y++)L=A[y],R={ease:L.e,duration:(L.t-(y?A[y-1].t:0))/100*u},R[N]=L.v,w.to(v,R,M),M+=R.duration;w.duration()<u&&w.to({},{duration:u-w.duration()})}}u||c.duration(u=w.duration())}else c.timeline=0;return f===!0&&!Za&&(Pn=mn(c),be.killTweensOf(v),Pn=0),nn(x,mn(c),s),i.reversed&&c.reverse(),i.paused&&c.paused(!0),(h||!u&&!g&&c._start===Ce(x._time)&&_t(h)&&y2(mn(c))&&x.data!=="nested")&&(c._tTime=-_e,c.render(Math.max(0,-d)||0)),_&&Dl(mn(c),_),c}var t=e.prototype;return t.render=function(i,s,o){var c=this._time,l=this._tDur,u=this._dur,d=i<0,h=i>l-_e&&!d?l:i<_e?0:i,m,f,g,p,_,x,v,w;if(!u)C2(this,i,s,o);else if(h!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==d||this._lazy){if(m=h,w=this.timeline,this._repeat){if(p=u+this._rDelay,this._repeat<-1&&d)return this.totalTime(p*100+i,s,o);if(m=Ce(h%p),h===l?(g=this._repeat,m=u):(_=Ce(h/p),g=~~_,g&&g===_?(m=u,g--):m>u&&(m=u)),x=this._yoyo&&g&1,x&&(m=u-m),_=$r(this._tTime,p),m===c&&!o&&this._initted&&g===_)return this._tTime=h,this;g!==_&&this.vars.repeatRefresh&&!x&&!this._lock&&m!==p&&this._initted&&(this._lock=o=1,this.render(Ce(p*g),!0).invalidate()._lock=0)}if(!this._initted){if(Vl(this,d?i:m,o,s,h))return this._tTime=0,this;if(c!==this._time&&!(o&&this.vars.repeatRefresh&&g!==_))return this;if(u!==this._dur)return this.render(i,s,o)}if(this._rEase){var y=m<c;if(y!==this._inv){var j=y?c:u-c;this._inv=y,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=c,this._invRecip=j?(y?-1:1)/j:0,this._invScale=y?-this.ratio:1-this.ratio,this._invEase=y?this._rEase:this._ease}this.ratio=v=this._invRatio+this._invScale*this._invEase((m-this._invTime)*this._invRecip)}else this.ratio=v=this._ease(m/u);if(this._from&&(this.ratio=v=1-v),this._tTime=h,this._time=m,!this._act&&this._ts&&(this._act=1,this._lazy=0),!c&&h&&!s&&!_&&(Pt(this,"onStart"),this._tTime!==h))return this;for(f=this._pt;f;)f.r(v,f.d),f=f._next;w&&w.render(i<0?i:w._dur*w._ease(m/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(d&&ja(this,i,s,o),Pt(this,"onUpdate")),this._repeat&&g!==_&&this.vars.onRepeat&&!s&&this.parent&&Pt(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(d&&!this._onUpdate&&ja(this,i,!0,!0),(i||!u)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Vn(this,1),!s&&!(d&&!c)&&(h||c||x)&&(Pt(this,h===l?"onComplete":"onReverseComplete",!0),this._prom&&!(h<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),r.prototype.invalidate.call(this,i)},t.resetTo=function(i,s,o,c,l){Ii||kt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),d;return this._initted||ao(this,u),d=this._ease(u/this._dur),z2(this,i,s,o,c,d,u,l)?this.resetTo(i,s,o,c,1):(Hs(this,0),this.parent||Al(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?ci(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Qe),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,Pn&&Pn.vars.overwrite!==!0)._first||ci(this),this.parent&&o!==this.timeline.totalDuration()&&zr(this,this._dur*this.timeline._tDur/o,0,1),this}var c=this._targets,l=i?$t(i):c,u=this._ptLookup,d=this._pt,h,m,f,g,p,_,x;if((!s||s==="all")&&x2(c,l))return s==="all"&&(this._pt=0),ci(this);for(h=this._op=this._op||[],s!=="all"&&(Ye(s)&&(p={},gt(s,function(v){return p[v]=1}),s=p),s=B2(c,s)),x=c.length;x--;)if(~l.indexOf(c[x])){m=u[x],s==="all"?(h[x]=s,g=m,f={}):(f=h[x]=h[x]||{},g=s);for(p in g)_=m&&m[p],_&&((!("kill"in _.d)||_.d.kill(p)===!0)&&Ds(this,_,"_pt"),delete m[p]),f!=="all"&&(f[p]=1)}return this._initted&&!this._pt&&d&&ci(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return gi(1,arguments)},e.delayedCall=function(i,s,o,c){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:c})},e.fromTo=function(i,s,o){return gi(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,o){return be.killTweensOf(i,s,o)},e})(Ai);It(Re.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});gt("staggerTo,staggerFrom,staggerFromTo",function(r){Re[r]=function(){var e=new mt,t=Ta.call(arguments,0);return t.splice(r==="staggerFromTo"?5:4,0,0),e[r].apply(e,t)}});var oo=function(e,t,n){return e[t]=n},n1=function(e,t,n){return e[t](n)},q2=function(e,t,n,i){return e[t](i.fp,n)},Y2=function(e,t,n){return e.setAttribute(t,n)},co=function(e,t){return Se(e[t])?n1:Qa(e[t])&&e.setAttribute?Y2:oo},r1=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},U2=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},i1=function(e,t){var n=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+i,n=n._next;i+=t.c}t.set(t.t,t.p,i,t)},lo=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},G2=function(e,t,n,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(e,t,n),s=o},X2=function(e){for(var t=this._pt,n,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?Ds(this,t,"_pt"):t.dep||(n=1),t=i;return!n},Z2=function(e,t,n,i){i.mSet(e,t,i.m.call(i.tween,n,i.mt),i)},s1=function(e){for(var t=e._pt,n,i,s,o;t;){for(n=t._next,i=s;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:o)?t._prev._next=t:s=t,(t._next=i)?i._prev=t:o=t,t=n}e._pt=s},xt=(function(){function r(t,n,i,s,o,c,l,u,d){this.t=n,this.s=s,this.c=o,this.p=i,this.r=c||r1,this.d=l||this,this.set=u||oo,this.pr=d||0,this._next=t,t&&(t._prev=this)}var e=r.prototype;return e.modifier=function(n,i,s){this.mSet=this.mSet||this.set,this.set=Z2,this.m=n,this.mt=s,this.tween=i},r})();gt(no+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(r){return to[r]=1});Lt.TweenMax=Lt.TweenLite=Re;Lt.TimelineLite=Lt.TimelineMax=mt;be=new mt({sortChildren:!1,defaults:Pi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ot.stringFilter=Zl;var cr=[],ds={},Q2=[],tc=0,J2=0,aa=function(e){return(ds[e]||Q2).map(function(t){return t()})},Pa=function(){var e=Date.now(),t=[];e-tc>2&&(aa("matchMediaInit"),cr.forEach(function(n){var i=n.queries,s=n.conditions,o,c,l,u;for(c in i)o=en.matchMedia(i[c]).matches,o&&(l=1),o!==s[c]&&(s[c]=o,u=1);u&&(n.revert(),l&&t.push(n))}),aa("matchMediaRevert"),t.forEach(function(n){return n.onMatch(n,function(i){return n.add(null,i)})}),tc=e,aa("matchMedia"))},a1=(function(){function r(t,n){this.selector=n&&Sa(n),this.data=[],this._r=[],this.isReverted=!1,this.id=J2++,t&&this.add(t)}var e=r.prototype;return e.add=function(n,i,s){Se(n)&&(s=i,i=n,n=Se);var o=this,c=function(){var u=ye,d=o.selector,h;return u&&u!==o&&u.data.push(o),s&&(o.selector=Sa(s)),ye=o,h=i.apply(o,arguments),Se(h)&&o._r.push(h),ye=u,o.selector=d,o.isReverted=!1,h};return o.last=c,n===Se?c(o,function(l){return o.add(null,l)}):n?o[n]=c:c},e.ignore=function(n){var i=ye;ye=null,n(this),ye=i},e.getTweens=function(){var n=[];return this.data.forEach(function(i){return i instanceof r?n.push.apply(n,i.getTweens()):i instanceof Re&&!(i.parent&&i.parent.data==="nested")&&n.push(i)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,i){var s=this;if(n?(function(){for(var c=s.getTweens(),l=s.data.length,u;l--;)u=s.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEac
vendor: 6,891 bytes, lines 47-54
47h(function(d){return c.splice(c.indexOf(d),1)}));for(c.map(function(d){return{g:d._dur||d._delay||d._sat&&!d._sat.vars.immediateRender?d.globalTime(0):-1/0,t:d}}).sort(function(d,h){return h.g-d.g||-1/0}).forEach(function(d){return d.t.revert(n)}),l=s.data.length;l--;)u=s.data[l],u instanceof mt?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Re)&&u.revert&&u.revert(n);s._r.forEach(function(d){return d(n,s)}),s.isReverted=!0})():this.data.forEach(function(c){return c.kill&&c.kill()}),this.clear(),i)for(var o=cr.length;o--;)cr[o].id===this.id&&cr.splice(o,1)},e.revert=function(n){this.kill(n||{})},r})(),K2=(function(){function r(t){this.contexts=[],this.scope=t,ye&&ye.data.push(this)}var e=r.prototype;return e.add=function(n,i,s){cn(n)||(n={matches:n});var o=new a1(0,s||this.scope),c=o.conditions={},l,u,d;ye&&!o.selector&&(o.selector=ye.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=n;for(u in n)u==="all"?d=1:(l=en.matchMedia(n[u]),l&&(cr.indexOf(o)<0&&cr.push(o),(c[u]=l.matches)&&(d=1),l.addListener?l.addListener(Pa):l.addEventListener("change",Pa)));return d&&i(o,function(h){return o.add(null,h)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(i){return i.kill(n,!0)})},r})(),js={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(i){return Ul(i)})},timeline:function(e){return new mt(e)},getTweensOf:function(e,t){return be.getTweensOf(e,t)},getProperty:function(e,t,n,i){Ye(e)&&(e=$t(e)[0]);var s=sr(e||{}).get,o=n?Il:Ll;return n==="native"&&(n=""),e&&(t?o((Tt[t]&&Tt[t].get||s)(e,t,n,i)):function(c,l,u){return o((Tt[c]&&Tt[c].get||s)(e,c,l,u))})},quickSetter:function(e,t,n){if(e=$t(e),e.length>1){var i=e.map(function(d){return yt.quickSetter(d,t,n)}),s=i.length;return function(d){for(var h=s;h--;)i[h](d)}}e=e[0]||{};var o=Tt[t],c=sr(e),l=c.harness&&(c.harness.aliases||{})[t]||t,u=o?function(d){var h=new o;Er._pt=0,h.init(e,n?d+n:d,Er,0,[e]),h.render(1,h),Er._pt&&lo(1,Er)}:c.set(e,l);return o?u:function(d){return u(e,l,n?d+n:d,c,1)}},quickTo:function(e,t,n){var i,s=yt.to(e,It((i={},i[t]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),o=function(l,u,d){return s.resetTo(t,l,u,d)};return o.tween=s,o},isTweening:function(e){return be.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=or(e.ease,Pi.ease)),Zo(Pi,e||{})},config:function(e){return Zo(Ot,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,i=e.plugins,s=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(c){return c&&!Tt[c]&&!Lt[c]&&Mi(t+" effect requires "+c+" plugin.")}),na[t]=function(c,l,u){return n($t(c),It(l||{},s),u)},o&&(mt.prototype[t]=function(c,l,u){return this.add(na[t](c,cn(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){se[e]=or(t)},parseEase:function(e,t){return arguments.length?or(e,t):se},getById:function(e){return be.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new mt(e),i,s;for(n.smoothChildTiming=_t(e.smoothChildTiming),be.remove(n),n._dp=0,n._time=n._tTime=be._time,i=be._first;i;)s=i._next,(t||!(!i._dur&&i instanceof Re&&i.vars.onComplete===i._targets[0]))&&nn(n,i,i._start-i._delay),i=s;return nn(be,n,0),n},context:function(e,t){return e?new a1(e,t):ye},matchMedia:function(e){return new K2(e)},matchMediaRefresh:function(){return cr.forEach(function(e){var t=e.conditions,n,i;for(i in t)t[i]&&(t[i]=!1,n=1);n&&e.revert()})||Pa()},addEventListener:function(e,t){var n=ds[e]||(ds[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=ds[e],i=n&&n.indexOf(t);i>=0&&n.splice(i,1)},utils:{wrap:P2,wrapYoyo:M2,distribute:$l,random:Bl,snap:zl,normalize:E2,getUnit:rt,clamp:N2,splitColor:Gl,toArray:$t,selector:Sa,mapRange:ql,pipe:S2,unitize:k2,interpolate:O2,shuffle:Fl},install:kl,effects:na,ticker:kt,updateRoot:mt.updateRoot,plugins:Tt,globalTimeline:be,core:{PropTween:xt,globals:El,Tween:Re,Timeline:mt,Animation:Ai,getCache:sr,_removeLinkedListItem:Ds,reverting:function(){return Qe},context:function(e){return e&&ye&&(ye.data.push(e),e._ctx=ye),ye},suppressOverwrites:function(e){return Za=e}}};gt("to,from,fromTo,delayedCall,set,killTweensOf",function(r){return js[r]=Re[r]});kt.add(mt.updateRoot);Er=js.to({},{duration:0});var eh=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},th=function(e,t){var n=e._targets,i,s,o;for(i in t)for(s=n.length;s--;)o=e._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=eh(o,i)),o&&o.modifier&&o.modifier(t[i],e,n[s],i))},oa=function(e,t){return{name:e,headless:1,rawVars:1,init:function(i,s,o){o._onInit=function(c){var l,u;if(Ye(s)&&(l={},gt(s,function(d){return l[d]=1}),s=l),t){l={};for(u in s)l[u]=t(s[u]);s=l}th(c,s)}}}},yt=js.registerPlugin({name:"attr",init:function(e,t,n,i,s){var o,c,l;this.tween=n;for(o in t)l=e.getAttribute(o)||"",c=this.add(e,"setAttribute",(l||0)+"",t[o],i,s,0,0,o),c.op=o,c.b=l,this._props.push(o)},render:function(e,t){for(var n=t._pt;n;)Qe?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},oa("roundProps",ka),oa("modifiers"),oa("snap",zl))||js;Re.version=mt.version=yt.version="3.15.0";Sl=1;Ja()&&Br();se.Power0;se.Power1;se.Power2;se.Power3;se.Power4;se.Linear;se.Quad;se.Cubic;se.Quart;se.Quint;se.Strong;se.Elastic;se.Back;se.SteppedEase;se.Bounce;se.Sine;se.Expo;se.Circ;/*!
48 * CSSPlugin 3.15.0
49 * https://gsap.com
50 *
51 * Copyright 2008-2026, GreenSock. All rights reserved.
52 * Subject to the terms at https://gsap.com/standard-license
53 * @author: Jack Doyle, [email protected]
54*/var nc,Mn,Lr,uo,nr,rc,fo,nh=function(){return typeof window<"u"},wn={},Kn=180/Math.PI,Ir=Math.PI/180,Cr=Math.atan2,ic=1e8,ho=/([A-Z])/g,rh=/(left|right|width|margin|padding|x)/i,ih=/[\s,\(]\S/,rn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ma=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},sh=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},ah=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},oh=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},ch=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},o1=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},c1=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},lh=function(e,t,n){return e.style[t]=n},uh=function(e,t,n){return e.style.setProperty(t,n)},dh=function(e,t,n){return e._gsap[t]=n},fh=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},hh=function(e,t,n,i,s){var o=e._gsap;o.scaleX=o.scaleY=n,o.renderTransform(s,o)},ph=function(e,t,n,i,s){var o=e._gsap;o[t]=n,o.renderTransform(s,o)},je="transform",vt=je+"Origin",mh=function r(e,t){var n=this,i=this.target,s=i.style,o=i._gsap;
vendor: 4,237 bytes, line 54
54if(e in wn&&s){if(this.tfm=this.tfm||{},e!=="transform")e=rn[e]||e,~e.indexOf(",")?e.split(",").forEach(function(c){return n.tfm[c]=_n(i,c)}):this.tfm[e]=o.x?o[e]:_n(i,e),e===vt&&(this.tfm.zOrigin=o.zOrigin);else return rn.transform.split(",").forEach(function(c){return r.call(n,c,t)});if(this.props.indexOf(je)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(vt,t,"")),e=je}(s||t)&&this.props.push(e,t,s[e])},l1=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},_h=function(){var e=this.props,t=this.target,n=t.style,i=t._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?t[e[s]](e[s+2]):t[e[s]]=e[s+2]:e[s+2]?n[e[s]]=e[s+2]:n.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(ho,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),s=fo(),(!s||!s.isStart)&&!n[je]&&(l1(n),i.zOrigin&&n[vt]&&(n[vt]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},u1=function(e,t){var n={target:e,props:[],revert:_h,save:mh};return e._gsap||yt.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(i){return n.save(i)}),n},d1,Oa=function(e,t){var n=Mn.createElementNS?Mn.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Mn.createElement(e);return n&&n.style?n:Mn.createElement(e)},Mt=function r(e,t,n){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(ho,"-$1").toLowerCase())||i.getPropertyValue(t)||!n&&r(e,Wr(t)||t,1)||""},sc="O,Moz,ms,Ms,Webkit".split(","),Wr=function(e,t,n){var i=t||nr,s=i.style,o=5;if(e in s&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(sc[o]+e in s););return o<0?null:(o===3?"ms":o>=0?sc[o]:"")+e},La=function(){nh()&&window.document&&(nc=window,Mn=nc.document,Lr=Mn.documentElement,nr=Oa("div")||{style:{}},Oa("div"),je=Wr(je),vt=je+"Origin",nr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",d1=!!Wr("perspective"),fo=yt.core.reverting,uo=1)},ac=function(e){var t=e.ownerSVGElement,n=Oa("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",n.appendChild(i),Lr.appendChild(n);try{s=i.getBBox()}catch{}return n.removeChild(i),Lr.removeChild(n),s},oc=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},f1=function(e){var t,n;try{t=e.getBBox()}catch{t=ac(e),n=1}return t&&(t.width||t.height)||n||(t=ac(e)),t&&!t.width&&!t.x&&!t.y?{x:+oc(e,["x","cx","x1"])||0,y:+oc(e,["y","cy","y1"])||0,width:0,height:0}:t},h1=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&f1(e))},Hn=function(e,t){if(t){var n=e.style,i;t in wn&&t!==vt&&(t=je),n.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),n.removeProperty(i==="--"?t:t.replace(ho,"-$1").toLowerCase())):n.removeAttribute(t)}},On=function(e,t,n,i,s,o){var c=new xt(e._pt,t,n,0,1,o?c1:o1);return e._pt=c,c.b=i,c.e=s,e._props.push(n),c},cc={deg:1,rad:1,turn:1},gh={grid:1,flex:1},Fn=function r(e,t,n,i){var s=parseFloat(n)||0,o=(n+"").trim().substr((s+"").length)||"px",c=nr.style,l=rh.test(t),u=e.tagName.toLowerCase()==="svg",d=(u?"client":"offset")+(l?"Width":"Height"),h=100,m=i==="px",f=i==="%",g,p,_,x;if(i===o||!s||cc[i]||cc[o])return s;if(o!=="px"&&!m&&(s=r(e,t,n,"px")),x=e.getCTM&&h1(e),(f||o==="%")&&(wn[t]||~t.indexOf("adius")))return g=x?e.getBBox()[l?"width":"height"]:e[d],Me(f?s/g*h:s/100*g);if(c[l?"width":"height"]=h+(m?o:i),p=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,x&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Mn||!p.appendChild)&&(p=Mn.body),_=p._gsap,_&&f&&_.width&&l&&_.time===kt.time&&!_.uncache)return Me(s/_.width*h);if(f&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=h+i,g=e[d],v?e.style[t]=v:Hn(e,t)}else(f||o==="%")&&!gh[Mt(p,"display")]&&(c.position=Mt(e,"position")),p===e&&(c.position="static"),p.appendChild(nr),g=nr[d],p.removeChild(nr),c.position="absolute";return l&&f&&(_=sr(p),_.time=kt.time,_.width=p[d]),Me(m?g*s/h:g&&s?h/g*s:0)},_n=function(e,t,n,i){var s;return uo||La(),t in rn&&t!=="transform"&&(t=rn[t],~t.indexOf(",")&&(t=t.
vendor: 4,511 bytes, line 54
54split(",")[0])),wn[t]&&t!=="transform"?(s=Di(e,i),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:Ts(Mt(e,vt))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=Ns[t]&&Ns[t](e,t,n)||Mt(e,t)||Ml(e,t)||(t==="opacity"?1:0))),n&&!~(s+"").trim().indexOf(" ")?Fn(e,t,s,n)+n:s},xh=function(e,t,n,i){if(!n||n==="none"){var s=Wr(t,e,1),o=s&&Mt(e,s,1);o&&o!==n?(t=s,n=o):t==="borderColor"&&(n=Mt(e,"borderTopColor"))}var c=new xt(this._pt,e.style,t,0,1,i1),l=0,u=0,d,h,m,f,g,p,_,x,v,w,y,j;if(c.b=n,c.e=i,n+="",i+="",i.substring(0,6)==="var(--"&&(i=Mt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(p=e.style[t],e.style[t]=i,i=Mt(e,t)||i,p?e.style[t]=p:Hn(e,t)),d=[n,i],Zl(d),n=d[0],i=d[1],m=n.match(kr)||[],j=i.match(kr)||[],j.length){for(;h=kr.exec(i);)_=h[0],v=i.substring(l,h.index),g?g=(g+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(g=1),_!==(p=m[u++]||"")&&(f=parseFloat(p)||0,y=p.substr((f+"").length),_.charAt(1)==="="&&(_=Or(f,_)+y),x=parseFloat(_),w=_.substr((x+"").length),l=kr.lastIndex-w.length,w||(w=w||Ot.units[t]||y,l===i.length&&(i+=w,c.e+=w)),y!==w&&(f=Fn(e,t,p,w)||0),c._pt={_next:c._pt,p:v||u===1?v:",",s:f,c:x-f,m:g&&g<4||t==="zIndex"?Math.round:0});c.c=l<i.length?i.substring(l,i.length):""}else c.r=t==="display"&&i==="none"?c1:o1;return Tl.test(i)&&(c.e=0),this._pt=c,c},lc={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},vh=function(e){var t=e.split(" "),n=t[0],i=t[1]||"50%";return(n==="top"||n==="bottom"||i==="left"||i==="right")&&(e=n,n=i,i=e),t[0]=lc[n]||n,t[1]=lc[i]||i,t.join(" ")},yh=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,i=n.style,s=t.u,o=n._gsap,c,l,u;if(s==="all"||s===!0)i.cssText="",l=1;else for(s=s.split(","),u=s.length;--u>-1;)c=s[u],wn[c]&&(l=1,c=c==="transformOrigin"?vt:je),Hn(n,c);l&&(Hn(n,je),o&&(o.svg&&n.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Di(n,1),o.uncache=1,l1(i)))}},Ns={clearProps:function(e,t,n,i,s){if(s.data!=="isFromStart"){var o=e._pt=new xt(e._pt,t,n,0,0,yh);return o.u=i,o.pr=-10,o.tween=s,e._props.push(n),1}}},Ri=[1,0,0,1,0,0],p1={},m1=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},uc=function(e){var t=Mt(e,je);return m1(t)?Ri:t.substr(7).match(Nl).map(Me)},po=function(e,t){var n=e._gsap||sr(e),i=e.style,s=uc(e),o,c,l,u;return n.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?Ri:s):(s===Ri&&!e.offsetParent&&e!==Lr&&!n.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,c=e.nextElementSibling,Lr.appendChild(e)),s=uc(e),l?i.display=l:Hn(e,"display"),u&&(c?o.insertBefore(e,c):o?o.appendChild(e):Lr.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Ia=function(e,t,n,i,s,o){var c=e._gsap,l=s||po(e,!0),u=c.xOrigin||0,d=c.yOrigin||0,h=c.xOffset||0,m=c.yOffset||0,f=l[0],g=l[1],p=l[2],_=l[3],x=l[4],v=l[5],w=t.split(" "),y=parseFloat(w[0])||0,j=parseFloat(w[1])||0,S,N,P,k;n?l!==Ri&&(N=f*_-g*p)&&(P=y*(_/N)+j*(-p/N)+(p*v-_*x)/N,k=y*(-g/N)+j*(f/N)-(f*v-g*x)/N,y=P,j=k):(S=f1(e),y=S.x+(~w[0].indexOf("%")?y/100*S.width:y),j=S.y+(~(w[1]||w[0]).indexOf("%")?j/100*S.height:j)),i||i!==!1&&c.smooth?(x=y-u,v=j-d,c.xOffset=h+(x*f+v*p)-x,c.yOffset=m+(x*g+v*_)-v):c.xOffset=c.yOffset=0,c.xOrigin=y,c.yOrigin=j,c.smooth=!!i,c.origin=t,c.originIsAbsolute=!!n,e.style[vt]="0px 0px",o&&(On(o,c,"xOrigin",u,y),On(o,c,"yOrigin",d,j),On(o,c,"xOffset",h,c.xOffset),On(o,c,"yOffset",m,c.yOffset)),e.setAttribute("data-svg-origin",y+" "+j)},Di=function(e,t){var n=e._gsap||new Jl(e);if("x"in n&&!t&&!n.uncache)return n;var i=e.style,s=n.scaleX<0,o="px",c="deg",l=getComputedStyle(e),u=Mt(e,vt)||"0",d,h,m,f,g,p,_,x,v,w,y,j,S,N,P,k,T,F,M,A,L,R,O,D,V,$,C,I,H,B,q,Y;return d=h=m=p=_=x=v=w=y=0,f=g=1,n.svg=!!(e.getCTM&&h1(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[je]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[je]!=="none"?l[je]:"")),i.scale=i.rotate=i.translate="none"),N=po(e,n.svg),n.svg&&(n.uncache?(V=e.getBBox(),u=n.xOrigin-V.x+"px "+(n.yOrigin-V.y)+"px",D=""):D=!t&&e.getAttribute("data-svg-origin"),Ia(e,D||u,!!D||n.originIsAbsolute,n.smooth!==!1,N)),j=n.xOrigin||0,S=n.yOrigin||0,N!==Ri&&(F=N[0],M=N[1],A=N[2],L=N[3],d=R=N[4],h=O=N[5],N.length===6?(f=Math.sqrt(F
vendor: 7,577 bytes, line 54
54*F+M*M),g=Math.sqrt(L*L+A*A),p=F||M?Cr(M,F)*Kn:0,v=A||L?Cr(A,L)*Kn+p:0,v&&(g*=Math.abs(Math.cos(v*Ir))),n.svg&&(d-=j-(j*F+S*A),h-=S-(j*M+S*L))):(Y=N[6],B=N[7],C=N[8],I=N[9],H=N[10],q=N[11],d=N[12],h=N[13],m=N[14],P=Cr(Y,H),_=P*Kn,P&&(k=Math.cos(-P),T=Math.sin(-P),D=R*k+C*T,V=O*k+I*T,$=Y*k+H*T,C=R*-T+C*k,I=O*-T+I*k,H=Y*-T+H*k,q=B*-T+q*k,R=D,O=V,Y=$),P=Cr(-A,H),x=P*Kn,P&&(k=Math.cos(-P),T=Math.sin(-P),D=F*k-C*T,V=M*k-I*T,$=A*k-H*T,q=L*T+q*k,F=D,M=V,A=$),P=Cr(M,F),p=P*Kn,P&&(k=Math.cos(P),T=Math.sin(P),D=F*k+M*T,V=R*k+O*T,M=M*k-F*T,O=O*k-R*T,F=D,R=V),_&&Math.abs(_)+Math.abs(p)>359.9&&(_=p=0,x=180-x),f=Me(Math.sqrt(F*F+M*M+A*A)),g=Me(Math.sqrt(O*O+Y*Y)),P=Cr(R,O),v=Math.abs(P)>2e-4?P*Kn:0,y=q?1/(q<0?-q:q):0),n.svg&&(D=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!m1(Mt(e,je)),D&&e.setAttribute("transform",D))),Math.abs(v)>90&&Math.abs(v)<270&&(s?(f*=-1,v+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,v+=v<=0?180:-180)),t=t||n.uncache,n.x=d-((n.xPercent=d&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-d)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+o,n.y=h-((n.yPercent=h&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+o,n.z=m+o,n.scaleX=Me(f),n.scaleY=Me(g),n.rotation=Me(p)+c,n.rotationX=Me(_)+c,n.rotationY=Me(x)+c,n.skewX=v+c,n.skewY=w+c,n.transformPerspective=y+o,(n.zOrigin=parseFloat(u.split(" ")[2])||!t&&n.zOrigin||0)&&(i[vt]=Ts(u)),n.xOffset=n.yOffset=0,n.force3D=Ot.force3D,n.renderTransform=n.svg?Ch:d1?_1:wh,n.uncache=0,n},Ts=function(e){return(e=e.split(" "))[0]+" "+e[1]},ca=function(e,t,n){var i=rt(t);return Me(parseFloat(t)+parseFloat(Fn(e,"x",n+"px",i)))+i},wh=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,_1(e,t)},Zn="0deg",ii="0px",Qn=") ",_1=function(e,t){var n=t||this,i=n.xPercent,s=n.yPercent,o=n.x,c=n.y,l=n.z,u=n.rotation,d=n.rotationY,h=n.rotationX,m=n.skewX,f=n.skewY,g=n.scaleX,p=n.scaleY,_=n.transformPerspective,x=n.force3D,v=n.target,w=n.zOrigin,y="",j=x==="auto"&&e&&e!==1||x===!0;if(w&&(h!==Zn||d!==Zn)){var S=parseFloat(d)*Ir,N=Math.sin(S),P=Math.cos(S),k;S=parseFloat(h)*Ir,k=Math.cos(S),o=ca(v,o,N*k*-w),c=ca(v,c,-Math.sin(S)*-w),l=ca(v,l,P*k*-w+w)}_!==ii&&(y+="perspective("+_+Qn),(i||s)&&(y+="translate("+i+"%, "+s+"%) "),(j||o!==ii||c!==ii||l!==ii)&&(y+=l!==ii||j?"translate3d("+o+", "+c+", "+l+") ":"translate("+o+", "+c+Qn),u!==Zn&&(y+="rotate("+u+Qn),d!==Zn&&(y+="rotateY("+d+Qn),h!==Zn&&(y+="rotateX("+h+Qn),(m!==Zn||f!==Zn)&&(y+="skew("+m+", "+f+Qn),(g!==1||p!==1)&&(y+="scale("+g+", "+p+Qn),v.style[je]=y||"translate(0, 0)"},Ch=function(e,t){var n=t||this,i=n.xPercent,s=n.yPercent,o=n.x,c=n.y,l=n.rotation,u=n.skewX,d=n.skewY,h=n.scaleX,m=n.scaleY,f=n.target,g=n.xOrigin,p=n.yOrigin,_=n.xOffset,x=n.yOffset,v=n.forceCSS,w=parseFloat(o),y=parseFloat(c),j,S,N,P,k;l=parseFloat(l),u=parseFloat(u),d=parseFloat(d),d&&(d=parseFloat(d),u+=d,l+=d),l||u?(l*=Ir,u*=Ir,j=Math.cos(l)*h,S=Math.sin(l)*h,N=Math.sin(l-u)*-m,P=Math.cos(l-u)*m,u&&(d*=Ir,k=Math.tan(u-d),k=Math.sqrt(1+k*k),N*=k,P*=k,d&&(k=Math.tan(d),k=Math.sqrt(1+k*k),j*=k,S*=k)),j=Me(j),S=Me(S),N=Me(N),P=Me(P)):(j=h,P=m,S=N=0),(w&&!~(o+"").indexOf("px")||y&&!~(c+"").indexOf("px"))&&(w=Fn(f,"x",o,"px"),y=Fn(f,"y",c,"px")),(g||p||_||x)&&(w=Me(w+g-(g*j+p*N)+_),y=Me(y+p-(g*S+p*P)+x)),(i||s)&&(k=f.getBBox(),w=Me(w+i/100*k.width),y=Me(y+s/100*k.height)),k="matrix("+j+","+S+","+N+","+P+","+w+","+y+")",f.setAttribute("transform",k),v&&(f.style[je]=k)},bh=function(e,t,n,i,s){var o=360,c=Ye(s),l=parseFloat(s)*(c&&~s.indexOf("rad")?Kn:1),u=l-i,d=i+u+"deg",h,m;return c&&(h=s.split("_")[1],h==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),h==="cw"&&u<0?u=(u+o*ic)%o-~~(u/o)*o:h==="ccw"&&u>0&&(u=(u-o*ic)%o-~~(u/o)*o)),e._pt=m=new xt(e._pt,t,n,i,u,sh),m.e=d,m.u="deg",e._props.push(n),m},dc=function(e,t){for(var n in t)e[n]=t[n];return e},jh=function(e,t,n){var i=dc({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=n.style,c,l,u,d,h,m,f,g;i.svg?(u=n.getAttribute("transform"),n.setAttribute("transform",""),o[je]=t,c=Di(n,1),Hn(n,je),n.setAttribute("transform",u)):(u=getComputedStyle(n)[je],o[je]=t,c=Di(n,1),o[je]=u);for(l in wn)u=i[l],d=c[l],u!==d&&s.indexOf(l)<0&&(f=rt(u),g=rt(d),h=f!==g?Fn(n,l,u,g):parseFloat(u),m=parseFloat(d),e._pt=new xt(e._pt,c,l,h,m-h,Ma),e._pt.u=g||0,e._props.push(l));dc(c,i)};gt("padding,margin,Width,Radius",function(r,e){var t="Top",n="Right",i="Bottom",s="Left",o=(e<3?[t,n,i,s]:[t+s,t+n,i+n,i+s]).map(function(c){return e<2?r+c:"border"+c+r});Ns[e>1?"border"+r:r]=function(c,l,u,d,h){var m,f;if(arguments.length<4)return m=o.map(function(g){return _n(c,g,u)}),f=m.join(" "),f.split(m[0]).length===5?m[0]:f;m=(d+"").split(" "),f={},o.forEach(function(g,p){return f[g]=m[p]=m[p]||m[(p-1)/2|0]}),c.init(l,f,h)}});var g1={name:"css",register:La,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,i,s){var o=this._props,c=e.style,l=n.vars.startAt,u,d,h,m,f,g,p,_,x,v,w,y,j,S,N,P,k;uo||La(),this.styles=this.styles||u1(e),P=this.styles.props,this.tween=n;for(p in t)if(p!=="autoRound"&&(d=t[p],!(Tt[p]&&Kl(p,t,n,i,e,s)))){if(f=typeof d,g=Ns[p],f==="function"&&(d=d.call(n,i,e,s),f=typeof d),f==="string"&&~d.indexOf("random(")&&(d=Li(d)),g)g(this,e,p,d,n)&&(N=1);else if(p.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(p)+"").trim(),d+="",Rn.lastIndex=0,Rn.test(u)||(_=rt(u),x=rt(d),x?_!==x&&(u=Fn(e,p,u,x)+x):_&&(d+=_)),this.add(c,"setProperty",u,d,i,s,0,0,p),o.push(p),P.push(p,0,c[p]);else if(f!=="undefined"){if(l&&p in l?(u=typeof l[p]=="function"?l[p].call(n,i,e,s):l[p],Ye(u)&&~u.indexOf("random(")&&(u=Li(u)),rt(u+"")||u==="auto"||(u+=Ot.units[p]||rt(_n(e,p))||""),(u+"").charAt(1)==="="&&(u=_n(e,p))):u=_n(e,p),m=parseFloat(u),v=f==="string"&&d.charAt(1)==="="&&d.substr(0,2),v&&(d=d.substr(2)),h=parseFloat(d),p in rn&&(p==="autoAlpha"&&(m===1&&_n(e,"visibility")==="hidden"&&h&&(m=0),P.push("visibility",0,c.visibility),On(this,c,"visibility",m?"inherit":"hidden",h?"inherit":"hidden",!h)),p!=="scale"&&p!=="transform"&&(p=rn[p],~p.indexOf(",")&&(p=p.split(",")[0]))),w=p in wn,w){if(this.styles.save(p),k=d,f==="string"&&d.substring(0,6)==="var(--"){if(d=Mt(e,d.substring(4,d.indexOf(")"))),d.substring(0,5)==="calc("){var T=e.style.perspective;e.style.perspective=d,d=Mt(e,"perspective"),T?e.style.perspective=T:Hn(e,"perspective")}h=parseFloat(d)}if(y||(j=e._gsap,j.renderTransform&&!t.parseTransform||Di(e,t.parseTransform),S=t.smoothOrigin!==!1&&j.smooth,y=this._pt=new xt(this._pt,c,je,0,1,j.renderTransform,j,0,-1),y.dep=1),p==="scale")this._pt=new xt(this._pt,j,"scaleY",j.scaleY,(v?Or(j.scaleY,v+h):h)-j.scaleY||0,Ma),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){P.push(vt,0,c[vt]),d=vh(d),j.svg?Ia(e,d,0,S,0,this):(x=parseFloat(d.split(" ")[2])||0,x!==j.zOrigin&&On(this,j,"zOrigin",j.zOrigin,x),On(this,c,p,Ts(u),Ts(d)));continue}else if(p==="svgOrigin"){Ia(e,d,1,S,0,this);continue}else if(p in p1){bh(this,j,p,m,v?Or(m,v+d):d);continue}else if(p==="smoothOrigin"){On(this,j,"smooth",j.smooth,d);continue}else if(p==="force3D"){j[p]=d;continue}else if(p==="transform"){jh(this,d,e);continue}}else p in c||(p=Wr(p)||p);if(w||(h||h===0)&&(m||m===0)&&!ih.test(d)&&p in c)_=(u+"").substr((m+"").length),h||(h=0),x=rt(d)||(p in Ot.units?Ot.units[p]:_),_!==x&&(m=Fn(e,p,u,x)),this._pt=new xt(this._pt,w?j:c,p,m,(v?Or(m,v+h):h)-m,!w&&(x==="px"||p==="zIndex")&&t.autoRound!==!1?ch:Ma),this._pt.u=x||0,w&&k!==d?(this._pt.b=u,this._pt.e=k,this._pt.r=oh):_!==x&&x!=="%"&&(this._pt.b=u,this._pt.r=ah);else if(p in c)xh.call(this,e,p,u,v?v+d:d);
vendor: 5,175 bytes, lines 54-61
54else if(p in e)this.add(e,p,u||e[p],v?v+d:d,i,s);else if(p!=="parseTransform"){eo(p,d);continue}w||(p in c?P.push(p,0,c[p]):typeof e[p]=="function"?P.push(p,2,e[p]()):P.push(p,1,u||e[p])),o.push(p)}}N&&s1(this)},render:function(e,t){if(t.tween._time||!fo())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:_n,aliases:rn,getSetter:function(e,t,n){var i=rn[t];return i&&i.indexOf(",")<0&&(t=i),t in wn&&t!==vt&&(e._gsap.x||_n(e,"x"))?n&&rc===n?t==="scale"?fh:dh:(rc=n||{})&&(t==="scale"?hh:ph):e.style&&!Qa(e.style[t])?lh:~t.indexOf("-")?uh:co(e,t)},core:{_removeProperty:Hn,_getMatrix:po}};yt.utils.checkPrefix=Wr;yt.core.getStyleSaver=u1;(function(r,e,t,n){var i=gt(r+","+e+","+t,function(s){wn[s]=1});gt(e,function(s){Ot.units[s]="deg",p1[s]=1}),rn[i[13]]=r+","+e,gt(n,function(s){var o=s.split(":");rn[o[1]]=i[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");gt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(r){Ot.units[r]="px"});yt.registerPlugin(g1);var $i=yt.registerPlugin(g1)||yt;$i.core.Tween;function Nh(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,n.key,n)}}function Th(r,e,t){return e&&Nh(r.prototype,e),r}/*!
55 * Observer 3.15.0
56 * https://gsap.com
57 *
58 * @license Copyright 2008-2026, GreenSock. All rights reserved.
59 * Subject to the terms at https://gsap.com/standard-license
60 * @author: Jack Doyle, [email protected]
61*/var Ze,fs,Et,Ln,In,Ar,x1,er,Rr,v1,xn,Gt,y1,w1=function(){return Ze||typeof window<"u"&&(Ze=window.gsap)&&Ze.registerPlugin&&Ze},C1=1,Pr=[],te=[],on=[],vi=Date.now,Aa=function(e,t){return t},Sh=function(){var e=Rr.core,t=e.bridge||{},n=e._scrollers,i=e._proxies;n.push.apply(n,te),i.push.apply(i,on),te=n,on=i,Aa=function(o,c){return t[o](c)}},Dn=function(e,t){return~on.indexOf(e)&&on[on.indexOf(e)+1][t]},yi=function(e){return!!~v1.indexOf(e)},ot=function(e,t,n,i,s){return e.addEventListener(t,n,{passive:i!==!1,capture:!!s})},at=function(e,t,n,i){return e.removeEventListener(t,n,!!i)},Zi="scrollLeft",Qi="scrollTop",Ra=function(){return xn&&xn.isPressed||te.cache++},Ss=function(e,t){var n=function i(s){if(s||s===0){C1&&(Et.history.scrollRestoration="manual");var o=xn&&xn.isPressed;s=i.v=Math.round(s)||(xn&&xn.iOS?1:0),e(s),i.cacheID=te.cache,o&&Aa("ss",s)}else(t||te.cache!==i.cacheID||Aa("ref"))&&(i.cacheID=te.cache,i.v=e());return i.v+i.offset};return n.offset=0,e&&n},dt={s:Zi,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Ss(function(r){return arguments.length?Et.scrollTo(r,Fe.sc()):Et.pageXOffset||Ln[Zi]||In[Zi]||Ar[Zi]||0})},Fe={s:Qi,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:dt,sc:Ss(function(r){return arguments.length?Et.scrollTo(dt.sc(),r):Et.pageYOffset||Ln[Qi]||In[Qi]||Ar[Qi]||0})},pt=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ze.utils.toArray)(e)[0]||(typeof e=="string"&&Ze.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},kh=function(e,t){for(var n=t.length;n--;)if(t[n]===e||t[n].contains(e))return!0;return!1},$n=function(e,t){var n=t.s,i=t.sc;yi(e)&&(e=Ln.scrollingElement||In);var s=te.indexOf(e),o=i===Fe.sc?1:2;!~s&&(s=te.push(e)-1),te[s+o]||ot(e,"scroll",Ra);var c=te[s+o],l=c||(te[s+o]=Ss(Dn(e,n),!0)||(yi(e)?i:Ss(function(u){return arguments.length?e[n]=u:e[n]})));return l.target=e,c||(l.smooth=Ze.getProperty(e,"scrollBehavior")==="smooth"),l},Da=function(e,t,n){var i=e,s=e,o=vi(),c=o,l=t||50,u=Math.max(500,l*3),d=function(g,p){var _=vi();p||_-o>l?(s=i,i=g,c=o,o=_):n?i+=g:i=s+(g-s)/(_-c)*(o-c)},h=function(){s=i=n?0:i,c=o=0},m=function(g){var p=c,_=s,x=vi();return(g||g===0)&&g!==i&&d(g),o===c||x-c>u?0:(i+(n?_:-_))/((n?x:o)-p)*1e3};return{update:d,reset:h,getVelocity:m}},si=function(e,t){return t&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},fc=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},b1=function(){Rr=Ze.core.globals().ScrollTrigger,Rr&&Rr.core&&Sh()},j1=function(e){return Ze=e||w1(),!fs&&Ze&&typeof document<"u"&&document.body&&(Et=window,Ln=document,In=Ln.documentElement,Ar=Ln.body,v1=[Et,Ln,In,Ar],Ze.utils.clamp,y1=Ze.core.context||function(){},er="onpointerenter"in Ar?"pointer":"mouse",x1=Oe.isTouch=Et.matchMedia&&Et.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Et||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Gt=Oe.eventTypes=("ontouchstart"in In?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in In?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return C1=0},500),fs=1),Rr||b1(),fs};dt.op=Fe;te.cache=0;var Oe=(function(){function r(t){this.init(t)}var e=r.prototype;return e.init=function(n){fs||j1(Ze)||console.warn("Please gsap.registerPlugin(Observer)"),Rr||b1();
vendor: 10,862 bytes, lines 61-68
61var i=n.tolerance,s=n.dragMinimum,o=n.type,c=n.target,l=n.lineHeight,u=n.debounce,d=n.preventDefault,h=n.onStop,m=n.onStopDelay,f=n.ignore,g=n.wheelSpeed,p=n.event,_=n.onDragStart,x=n.onDragEnd,v=n.onDrag,w=n.onPress,y=n.onRelease,j=n.onRight,S=n.onLeft,N=n.onUp,P=n.onDown,k=n.onChangeX,T=n.onChangeY,F=n.onChange,M=n.onToggleX,A=n.onToggleY,L=n.onHover,R=n.onHoverEnd,O=n.onMove,D=n.ignoreCheck,V=n.isNormalizer,$=n.onGestureStart,C=n.onGestureEnd,I=n.onWheel,H=n.onEnable,B=n.onDisable,q=n.onClick,Y=n.scrollSpeed,fe=n.capture,he=n.allowClicks,De=n.lockAxis,ge=n.onLockAxis;this.target=c=pt(c)||In,this.vars=n,f&&(f=Ze.utils.toArray(f)),i=i||1e-9,s=s||0,g=g||1,Y=Y||1,o=o||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(Et.getComputedStyle(Ar).lineHeight)||22);var Ue,Le,$e,ae,ke,ft,wt,E=this,Ct=0,ln=0,Cn=n.passive||!d&&n.passive!==!1,Ne=$n(c,dt),un=$n(c,Fe),bn=Ne(),qn=un(),ze=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Gt[0]==="pointerdown",jn=yi(c),Ee=c.ownerDocument||Ln,Bt=[0,0,0],Rt=[0,0,0],dn=0,Gr=function(){return dn=vi()},Ie=function(G,oe){return(E.event=G)&&f&&kh(G.target,f)||oe&&ze&&G.pointerType!=="touch"||D&&D(G,oe)},qi=function(){E._vx.reset(),E._vy.reset(),Le.pause(),h&&h(E)},fn=function(){var G=E.deltaX=fc(Bt),oe=E.deltaY=fc(Rt),z=Math.abs(G)>=i,X=Math.abs(oe)>=i;F&&(z||X)&&F(E,G,oe,Bt,Rt),z&&(j&&E.deltaX>0&&j(E),S&&E.deltaX<0&&S(E),k&&k(E),M&&E.deltaX<0!=Ct<0&&M(E),Ct=E.deltaX,Bt[0]=Bt[1]=Bt[2]=0),X&&(P&&E.deltaY>0&&P(E),N&&E.deltaY<0&&N(E),T&&T(E),A&&E.deltaY<0!=ln<0&&A(E),ln=E.deltaY,Rt[0]=Rt[1]=Rt[2]=0),(ae||$e)&&(O&&O(E),$e&&(_&&$e===1&&_(E),v&&v(E),$e=0),ae=!1),ft&&!(ft=!1)&&ge&&ge(E),ke&&(I(E),ke=!1),Ue=0},gr=function(G,oe,z){Bt[z]+=G,Rt[z]+=oe,E._vx.update(G),E._vy.update(oe),u?Ue||(Ue=requestAnimationFrame(fn)):fn()},xr=function(G,oe){De&&!wt&&(E.axis=wt=Math.abs(G)>Math.abs(oe)?"x":"y",ft=!0),wt!=="y"&&(Bt[2]+=G,E._vx.update(G,!0)),wt!=="x"&&(Rt[2]+=oe,E._vy.update(oe,!0)),u?Ue||(Ue=requestAnimationFrame(fn)):fn()},Nn=function(G){if(!Ie(G,1)){G=si(G,d);var oe=G.clientX,z=G.clientY,X=oe-E.x,U=z-E.y,Z=E.isDragging;E.x=oe,E.y=z,(Z||(X||U)&&(Math.abs(E.startX-oe)>=s||Math.abs(E.startY-z)>=s))&&($e||($e=Z?2:1),Z||(E.isDragging=!0),xr(X,U))}},Yn=E.onPress=function(J){Ie(J,1)||J&&J.button||(E.axis=wt=null,Le.pause(),E.isPressed=!0,J=si(J),Ct=ln=0,E.startX=E.x=J.clientX,E.startY=E.y=J.clientY,E._vx.reset(),E._vy.reset(),ot(V?c:Ee,Gt[1],Nn,Cn,!0),E.deltaX=E.deltaY=0,w&&w(E))},re=E.onRelease=function(J){if(!Ie(J,1)){at(V?c:Ee,Gt[1],Nn,!0);var G=!isNaN(E.y-E.startY),oe=E.isDragging,z=oe&&(Math.abs(E.x-E.startX)>3||Math.abs(E.y-E.startY)>3),X=si(J);!z&&G&&(E._vx.reset(),E._vy.reset(),d&&he&&Ze.delayedCall(.08,function(){if(vi()-dn>300&&!J.defaultPrevented){if(J.target.click)J.target.click();else if(Ee.createEvent){var U=Ee.createEvent("MouseEvents");U.initMouseEvent("click",!0,!0,Et,1,X.screenX,X.screenY,X.clientX,X.clientY,!1,!1,!1,!1,0,null),J.target.dispatchEvent(U)}}})),E.isDragging=E.isGesturing=E.isPressed=!1,h&&oe&&!V&&Le.restart(!0),$e&&fn(),x&&oe&&x(E),y&&y(E,z)}},Un=function(G){return G.touches&&G.touches.length>1&&(E.isGesturing=!0)&&$(G,E.isDragging)},Wt=function(){return(E.isGesturing=!1)||C(E)},qt=function(G){if(!Ie(G)){var oe=Ne(),z=un();gr((oe-bn)*Y,(z-qn)*Y,1),bn=oe,qn=z,h&&Le.restart(!0)}},Yt=function(G){if(!Ie(G)){G=si(G,d),I&&(ke=!0);var oe=(G.deltaMode===1?l:G.deltaMode===2?Et.innerHeight:1)*g;gr(G.deltaX*oe,G.deltaY*oe,0),h&&!V&&Le.restart(!0)}},Gn=function(G){if(!Ie(G)){var oe=G.clientX,z=G.clientY,X=oe-E.x,U=z-E.y;E.x=oe,E.y=z,ae=!0,h&&Le.restart(!0),(X||U)&&xr(X,U)}},vr=function(G){E.event=G,L(E)},hn=function(G){E.event=G,R(E)},Xr=function(G){return Ie(G)||si(G,d)&&q(E)};Le=E._dc=Ze.delayedCall(m||.25,qi).pause(),E.deltaX=E.deltaY=0,E._vx=Da(0,50,!0),E._vy=Da(0,50,!0),E.scrollX=Ne,E.scrollY=un,E.isDragging=E.isGesturing=E.isPressed=!1,y1(this),E.enable=function(J){return E.isEnabled||(ot(jn?Ee:c,"scroll",Ra),o.indexOf("scroll")>=0&&ot(jn?Ee:c,"scroll",qt,Cn,fe),o.indexOf("wheel")>=0&&ot(c,"wheel",Yt,Cn,fe),(o.indexOf("touch")>=0&&x1||o.indexOf("pointer")>=0)&&(ot(c,Gt[0],Yn,Cn,fe),ot(Ee,Gt[2],re),ot(Ee,Gt[3],re),he&&ot(c,"click",Gr,!0,!0),q&&ot(c,"click",Xr),$&&ot(Ee,"gesturestart",Un),C&&ot(Ee,"gestureend",Wt),L&&ot(c,er+"enter",vr),R&&ot(c,er+"leave",hn),O&&ot(c,er+"move",Gn)),E.isEnabled=!0,E.isDragging=E.isGesturing=E.isPressed=ae=$e=!1,E._vx.reset(),E._vy.reset(),bn=Ne(),qn=un(),J&&J.type&&Yn(J),H&&H(E)),E},E.disable=function(){E.isEnabled&&(Pr.filter(function(J){return J!==E&&yi(J.target)}).length||at(jn?Ee:c,"scroll",Ra),E.isPressed&&(E._vx.reset(),E._vy.reset(),at(V?c:Ee,Gt[1],Nn,!0)),at(jn?Ee:c,"scroll",qt,fe),at(c,"wheel",Yt,fe),at(c,Gt[0],Yn,fe),at(Ee,Gt[2],re),at(Ee,Gt[3],re),at(c,"click",Gr,!0),at(c,"click",Xr),at(Ee,"gesturestart",Un),at(Ee,"gestureend",Wt),at(c,er+"enter",vr),at(c,er+"leave",hn),at(c,er+"move",Gn),E.isEnabled=E.isPressed=E.isDragging=!1,B&&B(E))},E.kill=E.revert=function(){E.disable();var J=Pr.indexOf(E);J>=0&&Pr.splice(J,1),xn===E&&(xn=0)},Pr.push(E),V&&yi(c)&&(xn=E),E.enable(p)},Th(r,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),r})();Oe.version="3.15.0";Oe.create=function(r){return new Oe(r)};Oe.register=j1;Oe.getAll=function(){return Pr.slice()};Oe.getById=function(r){return Pr.filter(function(e){return e.vars.id===r})[0]};w1()&&Ze.registerPlugin(Oe);/*!
62 * ScrollTrigger 3.15.0
63 * https://gsap.com
64 *
65 * @license Copyright 2008-2026, GreenSock. All rights reserved.
66 * Subject to the terms at https://gsap.com/standard-license
67 * @author: Jack Doyle, [email protected]
68*/var W,Tr,ee,ue,St,le,mo,ks,Vi,wi,ui,Ji,tt,Fs,Va,lt,hc,pc,Sr,N1,la,T1,ct,Ha,S1,k1,kn,Fa,_o,Dr,go,Ci,$a,ua,Ki=1,nt=Date.now,da=nt(),zt=0,di=0,mc=function(e,t,n){var i=Nt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return n["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},_c=function(e,t){return t&&(!Nt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Eh=function r(){return di&&requestAnimationFrame(r)},gc=function(){return Fs=1},xc=function(){return Fs=0},tn=function(e){return e},fi=function(e){return Math.round(e*1e5)/1e5||0},E1=function(){return typeof window<"u"},P1=function(){return W||E1()&&(W=window.gsap)&&W.registerPlugin&&W},hr=function(e){return!!~mo.indexOf(e)},M1=function(e){return(e==="Height"?go:ee["inner"+e])||St["client"+e]||le["client"+e]},O1=function(e){return Dn(e,"getBoundingClientRect")||(hr(e)?function(){return gs.width=ee.innerWidth,gs.height=go,gs}:function(){return gn(e)})},Ph=function(e,t,n){var i=n.d,s=n.d2,o=n.a;return(o=Dn(e,"getBoundingClientRect"))?function(){return o()[i]}:function(){return(t?M1(s):e["client"+s])||0}},Mh=function(e,t){return!t||~on.indexOf(e)?O1(e):function(){return gs}},sn=function(e,t){var n=t.s,i=t.d2,s=t.d,o=t.a;return Math.max(0,(n="scroll"+i)&&(o=Dn(e,n))?o()-O1(e)()[s]:hr(e)?(St[n]||le[n])-M1(i):e[n]-e["offset"+i])},es=function(e,t){for(var n=0;n<Sr.length;n+=3)(!t||~t.indexOf(Sr[n+1]))&&e(Sr[n],Sr[n+1],Sr[n+2])},Nt=function(e){return typeof e=="string"},it=function(e){return typeof e=="function"},hi=function(e){return typeof e=="number"},tr=function(e){return typeof e=="object"},ai=function(e,t,n){return e&&e.progress(t?0:1)&&n&&e.pause()},br=function(e,t,n){if(e.enabled){var i=e._ctx?e._ctx.add(function(){return t(e,n)}):t(e,n);i&&i.totalTime&&(e.callbackAnimation=i)}},jr=Math.abs,L1="left",I1="top",xo="right",vo="bottom",lr="width",ur="height",bi="Right",ji="Left",Ni="Top",Ti="Bottom",Ae="padding",Vt="margin",qr="Width",yo="Height",He="px",Ht=function(e){return ee.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},Oh=function(e){var t=Ht(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},vc=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},gn=function(e,t){var n=t&&Ht(e)[Va]!=="matrix(1, 0, 0, 1, 0, 0)"&&W.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return n&&n.progress(0).kill(),i},Es=function(e,t){var n=t.d2;return e["offset"+n]||e["client"+n]||0},A1=function(e){var t=[],n=e.labels,i=e.duration(),s;for(s in n)t.push(n[s]/i);return t},Lh=function(e){return function(t){return W.utils.snap(A1(e),t)}},wo=function(e){var t=W.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort(function(i,s){return i-s});return n?function(i,s,o){o===void 0&&(o=.001);var c;if(!s)return t(i);if(s>0){for(i-=o,c=0;c<n.length;c++)if(n[c]>=i)return n[c];return n[c-1]}else for(c=n.length,i+=o;c--;)if(n[c]<=i)return n[c];return n[0]}:function(i,s,o){o===void 0&&(o=.001);var c=t(i);return!s||Math.abs(c-i)<o||c-i<0==s<0?c:t(s<0?i-e:i+e)}},Ih=function(e){return function(t,n){return wo(A1(e))(t,n.direction)}},ts=function(e,t,n,i){return n.split(",").forEach(function(s){return e(t,s,i)})},qe=function(e,t,n,i,s){return e.addEventListener(t,n,{passive:!i,capture:!!s})},We=function(e,t,n,i){return e.removeEventListener(t,n,!!i)},ns=function(e,t,n){n=n&&n.wheelHandler,n&&(e(t,"wheel",n),e(t,"touchmove",n))},yc={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},rs={toggleActions:"play",anticipatePin:0},Ps={top:0,left:0,center:.5,bottom:1,right:1},hs=function(e,t){if(Nt(e)){var n=e.indexOf("="),i=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(i*=t/100),e=e.substr(0,n-1)),e=i+(e in Ps?Ps[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},is=function(e,t,n,i,s,o,c,l){var u=s.startColor,d=s.endColor,h=s.fontSize,m=s.indent,f=s.fontWeight,g=ue.createElement("div"),p=hr(n)||Dn(n,"pinType")==="fixed",_=e.indexOf("scroller")!==-1,x=p?le:n.tagName==="IFRAME"?n.contentDocument.body:n,v=e.indexOf("start")!==-1,w=v?u:d,y="border-color:"+w+";font-size:"+h+";color:"+w+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((_||l)&&p?"fixed;":"absolute;"),(_||l||!p)&&(y+=(i===Fe?xo:vo)+":"+(o+parseFloat(m))+"px;"),c&&(y+="box-sizing:border-box;text-align:left;width:"+c.offsetWidth+"px;"),g._isStart=v,g.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),g.style.cssText=y,g.innerText=t||t===0?e+"-"+t:e,x.children[0]?x.insertBefore(g,x.children[0]):x.appendChild(g),g._offset=g["offset"+i.op.d2],ps(g,0,i,v),g},ps=function(e,t,n,i){var s={display:"block"},o=n[i?"os2":"p2"],c=n[i?"p2":"os2"];e._isFlipped=i,s[n.a+"Percent"]=i?-100:0,s[n.a]=i?"1px":0,s["border"+o+qr]=1,s["border"+c+qr]=0,s[n.p]=t+"px",W.set(e,s)},K=[],za={},Hi,wc=function(){return nt()-zt>34&&(Hi||(Hi=requestAnimationFrame(vn)))},Nr=function(){(!ct||!ct.isPressed||ct.startX>le.clientWidth)&&(te.cache++,ct?Hi||(Hi=requestAnimationFrame(vn)):vn(),zt||mr("scrollStart"),zt=nt())}
vendor: 5,853 bytes, line 68
68,fa=function(){k1=ee.innerWidth,S1=ee.innerHeight},pi=function(e){te.cache++,(e===!0||!tt&&!T1&&!ue.fullscreenElement&&!ue.webkitFullscreenElement&&(!Ha||k1!==ee.innerWidth||Math.abs(ee.innerHeight-S1)>ee.innerHeight*.25))&&ks.restart(!0)},pr={},Ah=[],R1=function r(){return We(ne,"scrollEnd",r)||rr(!0)},mr=function(e){return pr[e]&&pr[e].map(function(t){return t()})||Ah},jt=[],D1=function(e){for(var t=0;t<jt.length;t+=5)(!e||jt[t+4]&&jt[t+4].query===e)&&(jt[t].style.cssText=jt[t+1],jt[t].getBBox&&jt[t].setAttribute("transform",jt[t+2]||""),jt[t+3].uncache=1)},V1=function(){return te.forEach(function(e){return it(e)&&++e.cacheID&&(e.rec=e())})},Co=function(e,t){var n;for(lt=0;lt<K.length;lt++)n=K[lt],n&&(!t||n._ctx===t)&&(e?n.kill(1):n.revert(!0,!0));Ci=!0,t&&D1(t),t||mr("revert")},H1=function(e,t){te.cache++,(t||!ut)&&te.forEach(function(n){return it(n)&&n.cacheID++&&(n.rec=0)}),Nt(e)&&(ee.history.scrollRestoration=_o=e)},ut,dr=0,Cc,Rh=function(){if(Cc!==dr){var e=Cc=dr;requestAnimationFrame(function(){return e===dr&&rr(!0)})}},F1=function(){le.appendChild(Dr),go=!ct&&Dr.offsetHeight||ee.innerHeight,le.removeChild(Dr)},bc=function(e){return Vi(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},rr=function(e,t){if(St=ue.documentElement,le=ue.body,mo=[ee,ue,St,le],zt&&!e&&!Ci){qe(ne,"scrollEnd",R1);return}F1(),ut=ne.isRefreshing=!0,Ci||V1();var n=mr("refreshInit");N1&&ne.sort(),t||Co(),te.forEach(function(i){it(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),K.slice(0).forEach(function(i){return i.refresh()}),Ci=!1,K.forEach(function(i){if(i._subPinOffset&&i.pin){var s=i.vars.horizontal?"offsetWidth":"offsetHeight",o=i.pin[s];i.revert(!0,1),i.adjustPinSpacing(i.pin[s]-o),i.refresh()}}),$a=1,bc(!0),K.forEach(function(i){var s=sn(i.scroller,i._dir),o=i.vars.end==="max"||i._endClamp&&i.end>s,c=i._startClamp&&i.start>=s;(o||c)&&i.setPositions(c?s-1:i.start,o?Math.max(c?s:i.start+1,s):i.end,!0)}),bc(!1),$a=0,n.forEach(function(i){return i&&i.render&&i.render(-1)}),te.forEach(function(i){it(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),H1(_o,1),ks.pause(),dr++,ut=2,vn(2),K.forEach(function(i){return it(i.vars.onRefresh)&&i.vars.onRefresh(i)}),ut=ne.isRefreshing=!1,mr("refresh")},Ba=0,ms=1,Si,vn=function(e){if(e===2||!ut&&!Ci){ne.isUpdating=!0,Si&&Si.update(0);var t=K.length,n=nt(),i=n-da>=50,s=t&&K[0].scroll();if(ms=Ba>s?-1:1,ut||(Ba=s),i&&(zt&&!Fs&&n-zt>200&&(zt=0,mr("scrollEnd")),ui=da,da=n),ms<0){for(lt=t;lt-- >0;)K[lt]&&K[lt].update(0,i);ms=1}else for(lt=0;lt<t;lt++)K[lt]&&K[lt].update(0,i);ne.isUpdating=!1}Hi=0},Wa=[L1,I1,vo,xo,Vt+Ti,Vt+bi,Vt+Ni,Vt+ji,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],_s=Wa.concat([lr,ur,"boxSizing","max"+qr,"max"+yo,"position",Vt,Ae,Ae+Ni,Ae+bi,Ae+Ti,Ae+ji]),Dh=function(e,t,n){Vr(n);var i=e._gsap;if(i.spacerIsNative)Vr(i.spacerState);else if(e._gsap.swappedIn){var s=t.parentNode;s&&(s.insertBefore(e,t),s.removeChild(t))}e._gsap.swappedIn=!1},ha=function(e,t,n,i){if(!e._gsap.swappedIn){for(var s=Wa.length,o=t.style,c=e.style,l;s--;)l=Wa[s],o[l]=n[l];o.position=n.position==="absolute"?"absolute":"relative",n.display==="inline"&&(o.display="inline-block"),c[vo]=c[xo]="auto",o.flexBasis=n.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[lr]=Es(e,dt)+He,o[ur]=Es(e,Fe)+He,o[Ae]=c[Vt]=c[I1]=c[L1]="0",Vr(i),c[lr]=c["max"+qr]=n[lr],c[ur]=c["max"+yo]=n[ur],c[Ae]=n[Ae],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Vh=/([A-Z])/g,Vr=function(e){if(e){var t=e.t.style,n=e.length,i=0,s,o;for((e.t._gsap||W.core.getCache(e.t)).uncache=1;i<n;i+=2)o=e[i+1],s=e[i],o?t[s]=o:t[s]&&t.removeProperty(s.replace(Vh,"-$1").toLowerCase())}},ss=function(e){for(var t=_s.length,n=e.style,i=[],s=0;s<t;s++)i.push(_s[s],n[_s[s]]);return i.t=e,i},Hh=function(e,t,n){for(var i=[],s=e.length,o=n?8:0,c;o<s;o+=2)c=e[o],i.push(c,c in t?t[c]:e[o+1]);return i.t=e.t,i},gs={left:0,top:0},jc=function(e,t,n,i,s,o,c,l,u,d,h,m,f,g){it(e)&&(e=e(l)),Nt(e)&&e.substr(0,3)==="max"&&(e=m+(e.charAt(4)==="="?hs("0"+e.substr(3),n):0));var p=f?f.time():0,_,x,v;if(f&&f.seek(0),isNaN(e)||(e=+e),hi(e))f&&(e=W.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,m,e)),c&&ps(c,n,i,!0);else{it(t)&&(t=t(l));var w=(e||"0").split(" "),y,j,S,N;v=pt(t,l)||le,y=gn(v)||{},(!y||!y.left&&!y.top)&&Ht(v).display==="none"&&(N=v.style.display,v.style.display="block",y=gn(v),N?v.style.display=N:v.style.removeProperty("display")),j=hs(w[0],y[i.d]),S=hs(w[1]||"0",n),e=y[i.p]-u[i.p]-d+j+s-S,c&&ps(c,S,i,n-S<20||c._isStart&&S>20),n-=n-S}if(g&&(l[g]=e||-.001,e<0&&(e=0)),o){var P=e+n,k=o._isStart;_="scroll"+i.d2,ps(o,P,i,k&&P>20||!k&&(h?Math.max(le[_],St[_]):o.parentNode[_])<=P+1),h&&(u=gn(c),h&&(o.style[i.op.p]=u[i.op.p]-i.op.m-o._offset+He))}return f&&v&&(_=gn(v),f.seek(m),x=gn(v),f._caScrollDist=_[i.p]-x[i.p],e=e/f._caScrollDist*m),f&&f.seek(p),f?e:Math.round(e)},Fh=/(webkit|moz|length|cssText|inset)/i,Nc=function(e,t,n,i){if(e.parentNode!==t){var s=e.style,o,c;if(t===le){e._stOrig=s.cssText,c=Ht(e);for(o in c)!+o&&!Fh.test(o)&&c[o]&&typeof s[o]=="string"&&o!=="0"&&(s[o]=c[o]);s.top=n,s.left=i}else s.cssText=e._stOrig;W.core.getCache(e).uncache=1,t.appendChild(e)}},$1=function(e,t,n){var i=t,s=i;return function(o){var c=Math.round(e());return c!==i&&c!==s&&Math.abs(c-i)>3&&Math.abs(c-s)>3&&(o=c,n&&n()),s=i,i=Math.round(o),i}},as=function(e,t,n){var i={};i[t.p]="+="+n,W.set(e,i)},Tc=function(e,t){var n=$n(e,t),i="_scroll"+t.p2,s=function o(c,l,u,d,h){var m=o.tween,f=l.onComplete,g={};u=u||n();var p=$1(n,u,function(){m.kill(),o.tween=0}
vendor: 4,844 bytes, line 68
68);return h=d&&h||0,d=d||c-u,m&&m.kill(),l[i]=c,l.inherit=!1,l.modifiers=g,g[i]=function(){return p(u+d*m.ratio+h*m.ratio*m.ratio)},l.onUpdate=function(){te.cache++,o.tween&&vn()},l.onComplete=function(){o.tween=0,f&&f.call(m)},m=o.tween=W.to(e,l),m};return e[i]=n,n.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},qe(e,"wheel",n.wheelHandler),ne.isTouch&&qe(e,"touchmove",n.wheelHandler),s},ne=(function(){function r(t,n){Tr||r.register(W)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Fa(this),this.init(t,n)}var e=r.prototype;return e.init=function(n,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!di){this.update=this.refresh=this.kill=tn;return}n=vc(Nt(n)||hi(n)||n.nodeType?{trigger:n}:n,rs);var s=n,o=s.onUpdate,c=s.toggleClass,l=s.id,u=s.onToggle,d=s.onRefresh,h=s.scrub,m=s.trigger,f=s.pin,g=s.pinSpacing,p=s.invalidateOnRefresh,_=s.anticipatePin,x=s.onScrubComplete,v=s.onSnapComplete,w=s.once,y=s.snap,j=s.pinReparent,S=s.pinSpacer,N=s.containerAnimation,P=s.fastScrollEnd,k=s.preventOverlaps,T=n.horizontal||n.containerAnimation&&n.horizontal!==!1?dt:Fe,F=!h&&h!==0,M=pt(n.scroller||ee),A=W.core.getCache(M),L=hr(M),R=("pinType"in n?n.pinType:Dn(M,"pinType")||L&&"fixed")==="fixed",O=[n.onEnter,n.onLeave,n.onEnterBack,n.onLeaveBack],D=F&&n.toggleActions.split(" "),V="markers"in n?n.markers:rs.markers,$=L?0:parseFloat(Ht(M)["border"+T.p2+qr])||0,C=this,I=n.onRefreshInit&&function(){return n.onRefreshInit(C)},H=Ph(M,L,T),B=Mh(M,L),q=0,Y=0,fe=0,he=$n(M,T),De,ge,Ue,Le,$e,ae,ke,ft,wt,E,Ct,ln,Cn,Ne,un,bn,qn,ze,jn,Ee,Bt,Rt,dn,Gr,Ie,qi,fn,gr,xr,Nn,Yn,re,Un,Wt,qt,Yt,Gn,vr,hn;if(C._startClamp=C._endClamp=!1,C._dir=T,_*=45,C.scroller=M,C.scroll=N?N.time.bind(N):he,Le=he(),C.vars=n,i=i||n.animation,"refreshPriority"in n&&(N1=1,n.refreshPriority===-9999&&(Si=C)),A.tweenScroll=A.tweenScroll||{top:Tc(M,Fe),left:Tc(M,dt)},C.tweenTo=De=A.tweenScroll[T.p],C.scrubDuration=function(z){Un=hi(z)&&z,Un?re?re.duration(z):re=W.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Un,paused:!0,onComplete:function(){return x&&x(C)}}):(re&&re.progress(1).kill(),re=0)},i&&(i.vars.lazy=!1,i._initted&&!C.isReverted||i.vars.immediateRender!==!1&&n.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),C.animation=i.pause(),i.scrollTrigger=C,C.scrubDuration(h),Nn=0,l||(l=i.vars.id)),y&&((!tr(y)||y.push)&&(y={snapTo:y}),"scrollBehavior"in le.style&&W.set(L?[le,St]:M,{scrollBehavior:"auto"}),te.forEach(function(z){return it(z)&&z.target===(L?ue.scrollingElement||St:M)&&(z.smooth=!1)}),Ue=it(y.snapTo)?y.snapTo:y.snapTo==="labels"?Lh(i):y.snapTo==="labelsDirectional"?Ih(i):y.directional!==!1?function(z,X){return wo(y.snapTo)(z,nt()-Y<500?0:X.direction)}:W.utils.snap(y.snapTo),Wt=y.duration||{min:.1,max:2},Wt=tr(Wt)?wi(Wt.min,Wt.max):wi(Wt,Wt),qt=W.delayedCall(y.delay||Un/2||.1,function(){var z=he(),X=nt()-Y<500,U=De.tween;if((X||Math.abs(C.getVelocity())<10)&&!U&&!Fs&&q!==z){var Z=(z-ae)/Ne,Be=i&&!F?i.totalProgress():Z,ie=X?0:(Be-Yn)/(nt()-ui)*1e3||0,Pe=W.utils.clamp(-Z,1-Z,jr(ie/2)*ie/.185),Je=Z+(y.inertia===!1?0:Pe),Te,xe,pe=y,Ut=pe.onStart,we=pe.onInterrupt,bt=pe.onComplete;if(Te=Ue(Je,C),hi(Te)||(Te=Je),xe=Math.max(0,Math.round(ae+Te*Ne)),z<=ke&&z>=ae&&xe!==z){if(U&&!U._initted&&U.data<=jr(xe-z))return;y.inertia===!1&&(Pe=Te-Z),De(xe,{duration:Wt(jr(Math.max(jr(Je-Be),jr(Te-Be))*.185/ie/.05||0)),ease:y.ease||"power3",data:jr(xe-z),onInterrupt:function(){return qt.restart(!0)&&we&&br(C,we)},onComplete:function(){C.update(),q=he(),i&&!F&&(re?re.resetTo("totalProgress",Te,i._tTime/i._tDur):i.progress(Te)),Nn=Yn=i&&!F?i.totalProgress():C.progress,v&&v(C),bt&&br(C,bt)}},z,Pe*Ne,xe-z-Pe*Ne),Ut&&br(C,Ut,De.tween)}}else C.isActive&&q!==z&&qt.restart(!0)}).pause()),l&&(za[l]=C),m=C.trigger=pt(m||f!==!0&&f),hn=m&&m._gsap&&m._gsap.stRevert,hn&&(hn=hn(C)),f=f===!0?m:pt(f),Nt(c)&&(c={targets:m,className:c}),f&&(g===!1||g===Vt||(g=!g&&f.parentNode&&f.parentNode.style&&Ht(f.parentNode).display==="flex"?!1:Ae),C.pin=f,ge=W.core.getCache(f),ge.spacer?un=ge.pinState:(S&&(S=pt(S),S&&!S.nodeType&&(S=S.current||S.nativeElement),ge.spacerIsNative=!!S,S&&(ge.spacerState=ss(S))),ge.spacer=ze=S||ue.createElement("div"),ze.classList.add("pin-spacer"),l&&ze.classList.add("pin-spacer-"+l),ge.pinState=un=ss(f)),n.force3D!==!1&&W.set(f,{force3D:!0}),C.spacer=ze=ge.spacer,xr=Ht(f),Gr=xr[g+T.os2],Ee=W.getProperty(f),Bt=W.quickSetter(f,T.a,He),ha(f,ze,xr),qn=ss(f)),V){ln=tr(V)?vc(V,yc):yc,E=is("scroller-start",l,M,T,ln,0),Ct=is("scroller-end",l,M,T,ln,0,E),jn=E["offset"+T.op.d2];var Xr=pt(Dn(M,"content")||M);ft=this.markerStart=is("start",l,Xr,T,ln,jn,0,N),wt=this.markerEnd=is("end",l,Xr,T,ln,jn,0,N),N&&(vr=W.quickSetter([ft,wt],T.a,He)),!R&&!(on.length&&Dn(M,"fixedMarkers")===!0)&&(Oh(L?le:M),W.set([E,Ct],{force3D:!0}),qi=W.quickSetter(E,T.a,He),gr=W.quickSetter(Ct,T.a,He))}
vendor: 4,501 bytes, line 68
68if(N){var J=N.vars.onUpdate,G=N.vars.onUpdateParams;N.eventCallback("onUpdate",function(){C.update(0,0,1),J&&J.apply(N,G||[])})}if(C.previous=function(){return K[K.indexOf(C)-1]},C.next=function(){return K[K.indexOf(C)+1]},C.revert=function(z,X){if(!X)return C.kill(!0);var U=z!==!1||!C.enabled,Z=tt;U!==C.isReverted&&(U&&(Yt=Math.max(he(),C.scroll.rec||0),fe=C.progress,Gn=i&&i.progress()),ft&&[ft,wt,E,Ct].forEach(function(Be){return Be.style.display=U?"none":"block"}),U&&(tt=C,C.update(U)),f&&(!j||!C.isActive)&&(U?Dh(f,ze,un):ha(f,ze,Ht(f),Ie)),U||C.update(U),tt=Z,C.isReverted=U)},C.refresh=function(z,X,U,Z){if(!((tt||!C.enabled)&&!X)){if(f&&z&&zt){qe(r,"scrollEnd",R1);return}!ut&&I&&I(C),tt=C,De.tween&&!U&&(De.tween.kill(),De.tween=0),re&&re.pause(),p&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren?i.getChildren(!0,!0,!1).forEach(function(Tn){return Tn.vars.immediateRender&&Tn.render(0,!0,!0)}):i.vars.immediateRender&&i.render(0,!0,!0)),C.isReverted||C.revert(!0,!0),C._subPinOffset=!1;var Be=H(),ie=B(),Pe=N?N.duration():sn(M,T),Je=Ne<=.01||!Ne,Te=0,xe=Z||0,pe=tr(U)?U.end:n.end,Ut=n.endTrigger||m,we=tr(U)?U.start:n.start||(n.start===0||!m?0:f?"0 0":"0 100%"),bt=C.pinnedContainer=n.pinnedContainer&&pt(n.pinnedContainer,C),Qt=m&&Math.max(0,K.indexOf(C))||0,Ge=Qt,Xe,Ke,Xn,Yi,et,Ve,Jt,qs,Eo,Zr,Kt,Qr,Ui;for(V&&tr(U)&&(Qr=W.getProperty(E,T.p),Ui=W.getProperty(Ct,T.p));Ge-- >0;)Ve=K[Ge],Ve.end||Ve.refresh(0,1)||(tt=C),Jt=Ve.pin,Jt&&(Jt===m||Jt===f||Jt===bt)&&!Ve.isReverted&&(Zr||(Zr=[]),Zr.unshift(Ve),Ve.revert(!0,!0)),Ve!==K[Ge]&&(Qt--,Ge--);for(it(we)&&(we=we(C)),we=mc(we,"start",C),ae=jc(we,m,Be,T,he(),ft,E,C,ie,$,R,Pe,N,C._startClamp&&"_startClamp")||(f?-.001:0),it(pe)&&(pe=pe(C)),Nt(pe)&&!pe.indexOf("+=")&&(~pe.indexOf(" ")?pe=(Nt(we)?we.split(" ")[0]:"")+pe:(Te=hs(pe.substr(2),Be),pe=Nt(we)?we:(N?W.utils.mapRange(0,N.duration(),N.scrollTrigger.start,N.scrollTrigger.end,ae):ae)+Te,Ut=m)),pe=mc(pe,"end",C),ke=Math.max(ae,jc(pe||(Ut?"100% 0":Pe),Ut,Be,T,he()+Te,wt,Ct,C,ie,$,R,Pe,N,C._endClamp&&"_endClamp"))||-.001,Te=0,Ge=Qt;Ge--;)Ve=K[Ge]||{},Jt=Ve.pin,Jt&&Ve.start-Ve._pinPush<=ae&&!N&&Ve.end>0&&(Xe=Ve.end-(C._startClamp?Math.max(0,Ve.start):Ve.start),(Jt===m&&Ve.start-Ve._pinPush<ae||Jt===bt)&&isNaN(we)&&(Te+=Xe*(1-Ve.progress)),Jt===f&&(xe+=Xe));if(ae+=Te,ke+=Te,C._startClamp&&(C._startClamp+=Te),C._endClamp&&!ut&&(C._endClamp=ke||-.001,ke=Math.min(ke,sn(M,T))),Ne=ke-ae||(ae-=.01)&&.001,Je&&(fe=W.utils.clamp(0,1,W.utils.normalize(ae,ke,Yt))),C._pinPush=xe,ft&&Te&&(Xe={},Xe[T.a]="+="+Te,bt&&(Xe[T.p]="-="+he()),W.set([ft,wt],Xe)),f&&!($a&&C.end>=sn(M,T)))Xe=Ht(f),Yi=T===Fe,Xn=he(),Rt=parseFloat(Ee(T.a))+xe,!Pe&&ke>1&&(Kt=(L?ue.scrollingElement||St:M).style,Kt={style:Kt,value:Kt["overflow"+T.a.toUpperCase()]},L&&Ht(le)["overflow"+T.a.toUpperCase()]!=="scroll"&&(Kt.style["overflow"+T.a.toUpperCase()]="scroll")),ha(f,ze,Xe),qn=ss(f),Ke=gn(f,!0),qs=R&&$n(M,Yi?dt:Fe)(),g?(Ie=[g+T.os2,Ne+xe+He],Ie.t=ze,Ge=g===Ae?Es(f,T)+Ne+xe:0,Ge&&(Ie.push(T.d,Ge+He),ze.style.flexBasis!=="auto"&&(ze.style.flexBasis=Ge+He)),Vr(Ie),bt&&K.forEach(function(Tn){Tn.pin===bt&&Tn.vars.pinSpacing!==!1&&(Tn._subPinOffset=!0)}),R&&he(Yt)):(Ge=Es(f,T),Ge&&ze.style.flexBasis!=="auto"&&(ze.style.flexBasis=Ge+He)),R&&(et={top:Ke.top+(Yi?Xn-ae:qs)+He,left:Ke.left+(Yi?qs:Xn-ae)+He,boxSizing:"border-box",position:"fixed"},et[lr]=et["max"+qr]=Math.ceil(Ke.width)+He,et[ur]=et["max"+yo]=Math.ceil(Ke.height)+He,et[Vt]=et[Vt+Ni]=et[Vt+bi]=et[Vt+Ti]=et[Vt+ji]="0",et[Ae]=Xe[Ae],et[Ae+Ni]=Xe[Ae+Ni],et[Ae+bi]=Xe[Ae+bi],et[Ae+Ti]=Xe[Ae+Ti],et[Ae+ji]=Xe[Ae+ji],bn=Hh(un,et,j),ut&&he(0)),i?(Eo=i._initted,la(1),i.render(i.duration(),!0,!0),dn=Ee(T.a)-Rt+Ne+xe,fn=Math.abs(Ne-dn)>1,R&&fn&&bn.splice(bn.length-2,2),i.render(0,!0,!0),Eo||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),la(0)):dn=Ne,Kt&&(Kt.value?Kt.style["overflow"+T.a.toUpperCase()]=Kt.value:Kt.style.removeProperty("overflow-"+T.a));else if(m&&he()&&!N)for(Ke=m.parentNode;Ke&&Ke!==le;)Ke._pinOffset&&(ae-=Ke._pinOffset,ke-=Ke._pinOffset),Ke=Ke.parentNode;Zr&&Zr.forEach(function(Tn){return Tn.revert(!1,!0)}),C.start=ae,C.end=ke,Le=$e=ut?Yt:he(),!N&&!ut&&(Le<Yt&&he(Yt),C.scroll.rec=0),C.revert(!1,!0),Y=nt(),qt&&(q=-1,qt.restart(!0)),tt=0,i&&F&&(i._initted||Gn)&&i.progress()!==Gn&&i.progress(Gn||0,!0).render(i.time(),!0,!0),(Je||fe!==C.progress||N||p||i&&!i._initted)&&(i&&!F&&(i._initted||fe||i.vars.immediateRender!==!1)&&i.totalProgress(N&&ae<-.001&&!fe?W.utils.normalize(ae,ke,0):fe,!0),C.progress=Je||(Le-
vendor: 1,434 bytes, line 68
68ae)/Ne===fe?0:fe),f&&g&&(ze._pinOffset=Math.round(C.progress*dn)),re&&re.invalidate(),isNaN(Qr)||(Qr-=W.getProperty(E,T.p),Ui-=W.getProperty(Ct,T.p),as(E,T,Qr),as(ft,T,Qr-(Z||0)),as(Ct,T,Ui),as(wt,T,Ui-(Z||0))),Je&&!ut&&C.update(),d&&!ut&&!Cn&&(Cn=!0,d(C),Cn=!1)}},C.getVelocity=function(){return(he()-$e)/(nt()-ui)*1e3||0},C.endAnimation=function(){ai(C.callbackAnimation),i&&(re?re.progress(1):i.paused()?F||ai(i,C.direction<0,1):ai(i,i.reversed()))},C.labelToScroll=function(z){return i&&i.labels&&(ae||C.refresh()||ae)+i.labels[z]/i.duration()*Ne||0},C.getTrailing=function(z){var X=K.indexOf(C),U=C.direction>0?K.slice(0,X).reverse():K.slice(X+1);return(Nt(z)?U.filter(function(Z){return Z.vars.preventOverlaps===z}):U).filter(function(Z){return C.direction>0?Z.end<=ae:Z.start>=ke})},C.update=function(z,X,U){if(!(N&&!U&&!z)){var Z=ut===!0?Yt:C.scroll(),Be=z?0:(Z-ae)/Ne,ie=Be<0?0:Be>1?1:Be||0,Pe=C.progress,Je,Te,xe,pe,Ut,we,bt,Qt;if(X&&($e=Le,Le=N?he():Z,y&&(Yn=Nn,Nn=i&&!F?i.totalProgress():ie)),_&&f&&!tt&&!Ki&&zt&&(!ie&&ae<Z+(Z-$e)/(nt()-ui)*_?ie=1e-4:ie===1&&ke>Z+(Z-$e)/(nt()-ui)*_&&(ie=.9999)),ie!==Pe&&C.enabled){if(Je=C.isActive=!!ie&&ie<1,Te=!!Pe&&Pe<1,we=Je!==Te,Ut=we||!!ie!=!!Pe,C.direction=ie>Pe?1:-1,C.progress=ie,Ut&&!tt&&(xe=ie&&!Pe?0:ie===1?1:Pe===1?2:3,F&&(pe=!we&&D[xe+1]!=="none"&&D[xe+1]||D[xe],Qt=i&&(pe==="complete"||pe==="reset"||pe in i))),k&&(we||Qt)&&(Qt||h||!i)&&(it(k)?k(C):C.getTrailing(k).forEac
vendor: 9,641 bytes, line 68
68h(function(Xn){return Xn.endAnimation()})),F||(re&&!tt&&!Ki?(re._dp._time-re._start!==re._time&&re.render(re._dp._time-re._start),re.resetTo?re.resetTo("totalProgress",ie,i._tTime/i._tDur):(re.vars.totalProgress=ie,re.invalidate().restart())):i&&i.totalProgress(ie,!!(tt&&(Y||z)))),f){if(z&&g&&(ze.style[g+T.os2]=Gr),!R)Bt(fi(Rt+dn*ie));else if(Ut){if(bt=!z&&ie>Pe&&ke+1>Z&&Z+1>=sn(M,T),j)if(!z&&(Je||bt)){var Ge=gn(f,!0),Xe=Z-ae;Nc(f,le,Ge.top+(T===Fe?Xe:0)+He,Ge.left+(T===Fe?0:Xe)+He)}else Nc(f,ze);Vr(Je||bt?bn:qn),fn&&ie<1&&Je||Bt(Rt+(ie===1&&!bt?dn:0))}}y&&!De.tween&&!tt&&!Ki&&qt.restart(!0),c&&(we||w&&ie&&(ie<1||!ua))&&Vi(c.targets).forEach(function(Xn){return Xn.classList[Je||w?"add":"remove"](c.className)}),o&&!F&&!z&&o(C),Ut&&!tt?(F&&(Qt&&(pe==="complete"?i.pause().totalProgress(1):pe==="reset"?i.restart(!0).pause():pe==="restart"?i.restart(!0):i[pe]()),o&&o(C)),(we||!ua)&&(u&&we&&br(C,u),O[xe]&&br(C,O[xe]),w&&(ie===1?C.kill(!1,1):O[xe]=0),we||(xe=ie===1?1:3,O[xe]&&br(C,O[xe]))),P&&!Je&&Math.abs(C.getVelocity())>(hi(P)?P:2500)&&(ai(C.callbackAnimation),re?re.progress(1):ai(i,pe==="reverse"?1:!ie,1))):F&&o&&!tt&&o(C)}if(gr){var Ke=N?Z/N.duration()*(N._caScrollDist||0):Z;qi(Ke+(E._isFlipped?1:0)),gr(Ke)}vr&&vr(-Z/N.duration()*(N._caScrollDist||0))}},C.enable=function(z,X){C.enabled||(C.enabled=!0,qe(M,"resize",pi),L||qe(M,"scroll",Nr),I&&qe(r,"refreshInit",I),z!==!1&&(C.progress=fe=0,Le=$e=q=he()),X!==!1&&C.refresh())},C.getTween=function(z){return z&&De?De.tween:re},C.setPositions=function(z,X,U,Z){if(N){var Be=N.scrollTrigger,ie=N.duration(),Pe=Be.end-Be.start;z=Be.start+Pe*z/ie,X=Be.start+Pe*X/ie}C.refresh(!1,!1,{start:_c(z,U&&!!C._startClamp),end:_c(X,U&&!!C._endClamp)},Z),C.update()},C.adjustPinSpacing=function(z){if(Ie&&z){var X=Ie.indexOf(T.d)+1;Ie[X]=parseFloat(Ie[X])+z+He,Ie[1]=parseFloat(Ie[1])+z+He,Vr(Ie)}},C.disable=function(z,X){if(z!==!1&&C.revert(!0,!0),C.enabled&&(C.enabled=C.isActive=!1,X||re&&re.pause(),Yt=0,ge&&(ge.uncache=1),I&&We(r,"refreshInit",I),qt&&(qt.pause(),De.tween&&De.tween.kill()&&(De.tween=0)),!L)){for(var U=K.length;U--;)if(K[U].scroller===M&&K[U]!==C)return;We(M,"resize",pi),L||We(M,"scroll",Nr)}},C.kill=function(z,X){C.disable(z,X),re&&!X&&re.kill(),l&&delete za[l];var U=K.indexOf(C);U>=0&&K.splice(U,1),U===lt&&ms>0&&lt--,U=0,K.forEach(function(Z){return Z.scroller===C.scroller&&(U=1)}),U||ut||(C.scroll.rec=0),i&&(i.scrollTrigger=null,z&&i.revert({kill:!1}),X||i.kill()),ft&&[ft,wt,E,Ct].forEach(function(Z){return Z.parentNode&&Z.parentNode.removeChild(Z)}),Si===C&&(Si=0),f&&(ge&&(ge.uncache=1),U=0,K.forEach(function(Z){return Z.pin===f&&U++}),U||(ge.spacer=0)),n.onKill&&n.onKill(C)},K.push(C),C.enable(!1,!1),hn&&hn(C),i&&i.add&&!Ne){var oe=C.update;C.update=function(){C.update=oe,te.cache++,ae||ke||C.refresh()},W.delayedCall(.01,C.update),Ne=.01,ae=ke=0}else C.refresh();f&&Rh()},r.register=function(n){return Tr||(W=n||P1(),E1()&&window.document&&r.enable(),Tr=di),Tr},r.defaults=function(n){if(n)for(var i in n)rs[i]=n[i];return rs},r.disable=function(n,i){di=0,K.forEach(function(o){return o[i?"kill":"disable"](n)}),We(ee,"wheel",Nr),We(ue,"scroll",Nr),clearInterval(Ji),We(ue,"touchcancel",tn),We(le,"touchstart",tn),ts(We,ue,"pointerdown,touchstart,mousedown",gc),ts(We,ue,"pointerup,touchend,mouseup",xc),ks.kill(),es(We);for(var s=0;s<te.length;s+=3)ns(We,te[s],te[s+1]),ns(We,te[s],te[s+2])},r.enable=function(){if(ee=window,ue=document,St=ue.documentElement,le=ue.body,W){if(Vi=W.utils.toArray,wi=W.utils.clamp,Fa=W.core.context||tn,la=W.core.suppressOverwrites||tn,_o=ee.history.scrollRestoration||"auto",Ba=ee.pageYOffset||0,W.core.globals("ScrollTrigger",r),le){di=1,Dr=document.createElement("div"),Dr.style.height="100vh",Dr.style.position="absolute",F1(),Eh(),Oe.register(W),r.isTouch=Oe.isTouch,kn=Oe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ha=Oe.isTouch===1,qe(ee,"wheel",Nr),mo=[ee,ue,St,le],W.matchMedia?(r.matchMedia=function(d){var h=W.matchMedia(),m;for(m in d)h.add(m,d[m]);return h},W.addEventListener("matchMediaInit",function(){V1(),Co()}),W.addEventListener("matchMediaRevert",function(){return D1()}),W.addEventListener("matchMedia",function(){rr(0,1),mr("matchMedia")}),W.matchMedia().add("(orientation: portrait)",function(){return fa(),fa})):console.warn("Requires GSAP 3.11.0 or later"),fa(),qe(ue,"scroll",Nr);var n=le.hasAttribute("style"),i=le.style,s=i.borderTopStyle,o=W.core.Animation.prototype,c,l;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",c=gn(le),Fe.m=Math.round(c.top+Fe.sc())||0,dt.m=Math.round(c.left+dt.sc())||0,s?i.borderTopStyle=s:i.removeProperty("border-top-style"),n||(le.setAttribute("style",""),le.removeAttribute("style")),Ji=setInterval(wc,250),W.delayedCall(.5,function(){return Ki=0}),qe(ue,"touchcancel",tn),qe(le,"touchstart",tn),ts(qe,ue,"pointerdown,touchstart,mousedown",gc),ts(qe,ue,"pointerup,touchend,mouseup",xc),Va=W.utils.checkPrefix("transform"),_s.push(Va),Tr=nt(),ks=W.delayedCall(.2,rr).pause(),Sr=[ue,"visibilitychange",function(){var d=ee.innerWidth,h=ee.innerHeight;ue.hidden?(hc=d,pc=h):(hc!==d||pc!==h)&&pi()},ue,"DOMContentLoaded",rr,ee,"load",rr,ee,"resize",pi],es(qe),K.forEach(function(d){return d.enable(0,1)}),l=0;l<te.length;l+=3)ns(We,te[l],te[l+1]),ns(We,te[l],te[l+2])}else if(ue){var u=function d(){r.enable(),ue.removeEventListener("DOMContentLoaded",d)};ue.addEventListener("DOMContentLoaded",u)}}},r.config=function(n){"limitCallbacks"in n&&(ua=!!n.limitCallbacks);var i=n.syncInterval;i&&clearInterval(Ji)||(Ji=i)&&setInterval(wc,i),"ignoreMobileResize"in n&&(Ha=r.isTouch===1&&n.ignoreMobileResize),"autoRefreshEvents"in n&&(es(We)||es(qe,n.autoRefreshEvents||"none"),T1=(n.autoRefreshEvents+"").indexOf("resize")===-1)},r.scrollerProxy=function(n,i){var s=pt(n),o=te.indexOf(s),c=hr(s);~o&&te.splice(o,c?6:2),i&&(c?on.unshift(ee,i,le,i,St,i):on.unshift(s,i))},r.clearMatchMedia=function(n){K.forEach(function(i){return i._ctx&&i._ctx.query===n&&i._ctx.kill(!0,!0)})},r.isInViewport=function(n,i,s){var o=(Nt(n)?pt(n):n).getBoundingClientRect(),c=o[s?lr:ur]*i||0;return s?o.right-c>0&&o.left+c<ee.innerWidth:o.bottom-c>0&&o.top+c<ee.innerHeight},r.positionInViewport=function(n,i,s){Nt(n)&&(n=pt(n));var o=n.getBoundingClientRect(),c=o[s?lr:ur],l=i==null?c/2:i in Ps?Ps[i]*c:~i.indexOf("%")?parseFloat(i)*c/100:parseFloat(i)||0;return s?(o.left+l)/ee.innerWidth:(o.top+l)/ee.innerHeight},r.killAll=function(n){if(K.slice(0).forEach(function(s){return s.vars.id!=="ScrollSmoother"&&s.kill()}),n!==!0){var i=pr.killAll||[];pr={},i.forEach(function(s){return s()})}},r})();ne.version="3.15.0";ne.saveStyles=function(r){return r?Vi(r).forEach(function(e){if(e&&e.style){var t=jt.indexOf(e);t>=0&&jt.splice(t,5),jt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),W.core.getCache(e),Fa())}}):jt};ne.revert=function(r,e){return Co(!r,e)};ne.create=function(r,e){return new ne(r,e)};ne.refresh=function(r){return r?pi(!0):(Tr||ne.register())&&rr(!0)};ne.update=function(r){return++te.cache&&vn(r===!0?2:0)};ne.clearScrollMemory=H1;ne.maxScroll=function(r,e){return sn(r,e?dt:Fe)};ne.getScrollFunc=function(r,e){return $n(pt(r),e?dt:Fe)};ne.getById=function(r){return za[r]};ne.getAll=function(){return K.filter(function(r){return r.vars.id!=="ScrollSmoother"})};ne.isScrolling=function(){return!!zt};ne.snapDirectional=wo;ne.addEventListener=function(r,e){var t=pr[r]||(pr[r]=[]);~t.indexOf(e)||t.push(e)};ne.removeEventListener=function(r,e){var t=pr[r],n=t&&t.indexOf(e);n>=0&&t.splice(n,1)};ne.batch=function(r,e){var t=[],n={},i=e.interval||.016,s=e.batchMax||1e9,o=function(u,d){var h=[],m=[],f=W.delayedCall(i,function(){d(h,m),h=[],m=[]}).pause();return function(g){h.length||f.restart(!0),h.push(g.trigger),m.push(g),s<=h.length&&f.progress(1)}},c;for(c in e)n[c]=c.substr(0,2)==="on"&&it(e[c])&&c!=="onRefreshInit"?o(c,e[c]):e[c];return it(s)&&(s=s(),qe(ne,"refresh",function(){return s=e.batchMax()})),Vi(r).forEach(function(l){var u={};for(c in n)u[c]=n[c];u.trigger=l,t.push(ne.create(u))}),t};var Sc=function(e,t,n,i){return t>i?e(i):t<0&&e(0),n>i?(i-t)/(n-t):n<0?t/(t-n):1},pa=function r(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Oe.isTouch?" pinch-zoom":""):"none",e===St&&r(le,t)},os={auto:1,scroll:1},$h=function(e){var t=e.event,n=e.target,i=e.axis,s=(t.changedTouches?t.changedTouches[0]:t).target,o=s._gsap||W.core.getCache(s),c=nt(),l;if(!o._isScrollT||c-o._isScrollT>2e3){for(;s&&s!==le&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(os[(l=Ht(s)).overflowY]||os[l.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==n&&!hr(s)&&(os[(l=Ht(s)).overflowY]||os[l.overflowX]),o._isScrollT=c}(o._isScroll||i==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},z1=function(e,t,n,i){return Oe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&$h,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return n&&qe(ue,Oe.eventTypes[0],Ec,!1,!0)},onDisable:function(){return We(ue,Oe.eventTypes[0],Ec,!0)}})},zh=/(input|label|select|textarea)/i,kc,Ec=function(e){var t=zh.test(e.target.tagName);(t||kc)&&(e._gsapAllow=!0,kc=t)},Bh=function(e){tr(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,n=t.normalizeScrollX,i=t.momentum,s=t.allowNestedScroll,o=t.onRelease,c,l,u=pt(e.target)||St,d=W.core.globals().ScrollSmoother,h=d&&d.get(),m=kn&&(e.content&&pt(e.content)||h&&e.content!==!1&&!h.smooth()&&h.content()),f=$n(u,Fe),g=$n(u,dt),p=1,_=(Oe.isTouch&&ee.visualVie
68wport?ee.visualViewport.scale*ee.visualViewport.width:ee.outerWidth)/ee.innerWidth,x=0,v=it(i)?function(){return i(c)}:function(){return i||2.8},w,y,j=z1(u,e.type,!0,s),S=function(){return y=!1},N=tn,P=tn,k=function(){l=sn(u,Fe),P=wi(kn?1:0,l),n&&(N=wi(0,sn(u,dt))),w=dr},T=function(){m._gsap.y=fi(parseFloat(m._gsap.y)+f.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},F=function(){if(y){requestAnimationFrame(S);var V=fi(c.deltaY/2),$=P(f.v-V);if(m&&$!==f.v+f.offset){f.offset=$-f.v;var C=fi((parseFloat(m&&m._gsap.y)||0)-f.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+C+", 0, 1)",m._gsap.y=C+"px",f.cacheID=te.cache,vn()}return!0}f.offset&&T(),y=!0},M,A,L,R,O=function(){k(),M.isActive()&&M.vars.scrollY>l&&(f()>l?M.progress(1)&&f(l):M.resetTo("scrollY",l))};return m&&W.set(m,{y:"+=0"}),e.ignoreCheck=function(D){return kn&&D.type==="touchmove"&&F()||p>1.05&&D.type!=="touchstart"||c.isGesturing||D.touches&&D.touches.length>1},e.onPress=function(){y=!1;var D=p;p=fi((ee.visualViewport&&ee.visualViewport.scale||1)/_),M.pause(),D!==p&&pa(u,p>1.01?!0:n?!1:"x"),A=g(),L=f(),k(),w=dr},e.onRelease=e.onGestureStart=function(D,V){if(f.offset&&T(),!V)R.restart(!0);else{te.cache++;var $=v(),C,I;n&&(C=g(),I=C+$*.05*-D.velocityX/.227,$*=Sc(g,C,I,sn(u,dt)),M.vars.scrollX=N(I)),C=f(),I=C+$*.05*-D.velocityY/.227,$*=Sc(f,C,I,sn(u,Fe)),M.vars.scrollY=P(I),M.invalidate().duration($).play(.01),(kn&&M.vars.scrollY>=l||C>=l-1)&&W.to({},{onUpdate:O,duration:$})}o&&o(D)},e.onWheel=function(){M._ts&&M.pause(),nt()-x>1e3&&(w=0,x=nt())},e.onChange=function(D,V,$,C,I){if(dr!==w&&k(),V&&n&&g(N(C[2]===V?A+(D.startX-D.x):g()+V-C[1])),$){f.offset&&T();var H=I[2]===$,B=H?L+D.startY-D.y:f()+$-I[1],q=P(B);H&&B!==q&&(L+=q-B),f(q)}($||V)&&vn()},e.onEnable=function(){pa(u,n?!1:"x"),ne.addEventListener("refresh",O),qe(ee,"resize",O),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=g.smooth=!1),j.enable()},e.onDisable=function(){pa(u,!0),We(ee,"resize",O),ne.removeEventListener("refresh",O),j.kill()},e.lockAxis=e.lockAxis!==!1,c=new Oe(e),c.iOS=kn,kn&&!f()&&f(1),kn&&W.ticker.add(tn),R=c._dc,M=W.to(c,{ease:"power4",paused:!0,inherit:!1,scrollX:n?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:$1(f,f(),function(){return M.pause()})},onUpdate:vn,onComplete:R.vars.onComplete}),c};ne.sort=function(r){if(it(r))return K.sort(r);var e=ee.pageYOffset||0;return ne.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+ee.innerHeight}),K.sort(r||function(t,n){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((n.vars.containerAnimation?1e6:n._sortY)+(n.vars.refreshPriority||0)*-1e6)})};ne.observe=function(r){return new Oe(r)};ne.normalizeScroll=function(r){if(typeof r>"u")return ct;if(r===!0&&ct)return ct.enable();if(r===!1){ct&&ct.kill(),ct=r;return}var e=r instanceof Oe?r:Bh(r);return ct&&ct.target===e.target&&ct.kill(),hr(e.target)&&(ct=e),e};ne.core={_getVelocityProp:Da,_inputObserver:z1,_scrollers:te,_proxies:on,bridge:{ss:function(){zt||mr("scrollStart"),zt=nt()},ref:function(){return tt}}};P1()&&W.registerPlugin(ne);function B1(r,e={}){const[t,n]=b.useState(!1),i=b.useRef(!0),{usePreloadLink:s=!1,fetchPriority:o="high",decoding:c="sync",eager:l=!0}=e;return b.useEffect(()=>{if(!r){n(!1);return}let u=null,d=null;if(s&&!document.querySelector(`link[rel="preload"][href="${r}"]`)){const g=document.createElement("link");g.rel="preload",g.as="image",g.href=r,o&&typeof g.setAttribute=="function"&&g.setAttribute("fetchpriority",o),document.head.appendChild(g),d=g}if(u=new Image,c&&(u.decoding=c),l&&(u.loading="eager"),u.src=r,u.complete)return i.current&&n(!0),()=>{d&&d.parentNode&&d.parentNode.removeChild(d)};const h=()=>{u.removeEventListener("load",h),u.removeEventListener("error",m),i.current&&n(!0)},m=()=>{u.removeEventListener("load",h),u.removeEventListener("error",m),i.current&&n(!0)};return u.addEventListener("load",h),u.addEventListener("error",m),()=>{i.current=!1,u&&(u.onload=null,u.onerror=null,u.src=""),d&&d.parentNode&&d.parentNode.removeChild(d)}},[r,s,o,c,l]),t}/*!
69 * @gsap/react 2.1.2
70 * https://gsap.com
71 *
72 * Copyright 2008-2025, GreenSock. All rights reserved.
73 * Subject to the terms at https://gsap.com/standard-license or for
74 * Club GSAP members, the agreement issued with that membership.
75 * @author: Jack Doyle, [email protected]
76*/let Pc=typeof document<"u"?b.useLayoutEffect:b.useEffect,Mc=r=>r&&!Array.isArray(r)&&typeof r=="object",cs=[],Wh={},W1=$i;const $s=(r,e=cs)=>{let t=Wh;
76Mc(r)?(t=r,r=null,e="dependencies"in t?t.dependencies:cs):Mc(e)&&(t=e,e="dependencies"in t?t.dependencies:cs),r&&typeof r!="function"&&console.warn("First parameter must be a function or config object");const{scope:n,revertOnUpdate:i}=t,s=b.useRef(!1),o=b.useRef(W1.context(()=>{},n)),c=b.useRef(u=>o.current.add(null,u)),l=e&&e.length&&!i;return l&&Pc(()=>(s.current=!0,()=>o.current.revert()),cs),Pc(()=>{if(r&&o.current.add(r,n),!l||!s.current)return()=>o.current.revert()},e),{context:o.current,contextSafe:c.current}};$s.register=r=>{W1=r};$s.headless=!0;const qh="/build/assets/gene-mask-lh2m2C3S.svg",Yh="/build/assets/g-mask-DiZdWsyb.svg";$i.registerPlugin(ne);$i.registerPlugin($s);function Uh({block:r}){const e=b.useRef(),t=b.useRef(),n=b.useRef(),i=b.useRef(),s=b.useRef(),o=b.useRef(),c=b.useRef(),l=b.useRef(),u=b.useRef(),[d,h]=b.useState(!0),m=b.useRef({containerWidth:0,maskWidth:0,containerOffsetInMask:0}),[f,g]=tl("seenGeneAnimationImageIndex",0);b.useEffect(()=>{f>=r.images.length-1?g(0):g(f+1)},[r.images]);const[p,_]=b.useState(()=>{var O,D;if(!(r!=null&&r.images)||r.images.length===0)return null;const M=typeof window<"u"?window.innerWidth:1280,A=typeof window<"u"&&window.devicePixelRatio||1,L=((O=r.images)==null?void 0:O[f])||((D=r.images)==null?void 0:D[0]);if(!L)return null;const R=A>=2;return M>=1280?R?L.src_retina_lg||L.src_lg||L.src_md||L.src_sm:L.src_lg||L.src_md||L.src_sm:M>=960?R?L.src_retina_md||L.src_md||L.src_lg||L.src_sm:L.src_md||L.src_lg||L.src_sm:R?L.src_retina_sm||L.src_sm||L.src_md||L.src_lg:L.src_sm||L.src_md||L.src_lg}),x=B1(p??null),v=b.useCallback(()=>{window.matchMedia("(orientation: portrait)").matches?i.current="portrait":i.current="landscape"},[]),w=3538,y=218,j=56,S=1655.66,N=b.useCallback(()=>{const M=s.current,A=l.current,L=c.current;if(!M||!A){const ge=S/w,Ue=ge*100,$e=(1-ge)/2*100;return{maskSize:`${Ue}%`,maskPosition:`${$e}% 50%`,webkitMaskSize:`${Ue}%`,webkitMaskPosition:`${$e}% 50%`,maskPositionY:window.innerHeight/2}}const R=M.offsetWidth;let O=S,D=(w-S)/2;const $=L.querySelector("#Gene").getBBox();O=$.width+0,D=$.x;const C=R/w,I=O*C,q=((A?A.offsetWidth:window.innerWidth)-R)/2+D*C;let Y=A.offsetHeight/2;const fe=A.getBoundingClientRect();return Y=M.getBoundingClientRect().top-fe.top,{maskSize:`${I}px auto`,maskPosition:`${q}px ${Y}px`,webkitMaskSize:`${I}px auto`,webkitMaskPosition:`${q}px ${Y}px`,maskPositionY:Y}},[s,l,c]),P=b.useCallback((M,A)=>{const L=l.current,R=s.current,O=L?L.offsetWidth:window.innerWidth,D=R?R.offsetWidth:w,V=O/2,$=D/w,C=(O-D)/2,I=A*$,H=C+I,B=S*$,q=M/B;return V-(H-C)*q},[l,s]),k=b.useCallback((M,A)=>{const L=l.current,R=s.current,O=L?L.offsetWidth:window.innerWidth,D=R?R.offsetWidth:w,V=O/2,$=D/w,C=(O-D)/2,I=A*$;return V-C-I*M},[l,s]),T=b.useCallback(M=>{if(!M)return;const A=N();M.style.maskSize=A.maskSize,M.style.maskPosition=A.maskPosition,M.style.WebkitMaskSize=A.webkitMaskSize,M.style.WebkitMaskPosition=A.webkitMaskPosition},[N]),F=b.useCallback(()=>{const M=o.current,A=l.current,L=u.current;if(!M||!A)return;const R=M.offsetWidth,O=A.offsetWidth,D=(O-R)/2;m.current={containerWidth:R,maskWidth:O,containerOffsetInMask:D},T(A),T(L);const V=s.current;V&&(V.style.transformOrigin="left center",V.style.transform="")},[T]);return $s(()=>{F(),v(),t.current=$i.timeline({ease:"none",onUpdate(){const I=this.progress();I>=.95&&d===!0?h(!1):I<=.9&&h(!0)},smoothChildTiming:!0,scrollTrigger:{id:"gene-animation-scroll",trigger:".trigger-0",endTrigger:".trigger-2",scrub:!0,start:"-40% center",end:"50% center"}}).to(".tagline-wrapper",{opacity:"0",duration:.1},0).to(".tagline-wrapper",{opacity:"0",height:.5},.1).to(".ntech",{opacity:"0",duration:.2},.1).to(".gene-mask",{opacity:"0",duration:.3},.3).to(".g-mask",{opacity:"1",duration:0},.3);const M=N(),A=parseFloat(M.maskSize)||0,L=parseFloat(M.maskPosition)||0,R=typeof M.maskPositionY=="number"?M.maskPositionY:50,O=1,D=w/2,V=k(O,D);n.current={size:A,leftPos:L,topPos:R,wmScale:O,wmTx:V};const $=()=>{const I=l.current,H=u.current,B=n.current.size;I.style.maskSize=`${B}px auto`,I.style.WebkitMaskSize=`${B}px auto`,H.style.maskSize=`${B}px auto`,H.style.WebkitMaskSize=`${B}px auto`;const q=s.current;q&&(q.style.transform=`translateX(${n.current.wmTx}px) scale(${n.current.wmScale})`);let Y=n.current.topPos||0;const fe=I.getBoundingClientRect();Y=q.getBoundingClientRect().top-fe.top,n.current.topPos=Y,I.style.maskPosition=`${n.current.leftPos}px ${Y}px`,I.style.WebkitMaskPosition=`${n.current.leftPos}px ${Y}px`,H.style.maskPosition=`${n.current.leftPos}px ${Y}px`,H.style.WebkitMaskPosition=`${n.current.leftPos}px ${Y}px`};t.current.to(n.current,{size:()=>{const I=N(),H=parseFloat(I.maskSize)||0,B=i.current==="portrait"?8:3;return H*B},leftPos:()=>{const I=N(),H=parseFloat(I.maskSize)||0,B=i.current==="portrait"?8:3,q=H*B;return P(q,y)},wmScale:()=>{const I=N(),H=parseFloat(I.maskSize)||0,B=i.current==="portrait"?8:3,q=H*B;return H>0?q/H:1},wmTx:()=>{const I=N(),H=parseFloat(I.maskSize)||0,B=i.current==="portrait"?8:3,q=H>0?H*B/H:1;return k(q,y)},duration:.5,ease:"none",onUpdate(){$()},onReverseComplete(){requestAnimationFrame(()=>$())}},.1),t.current.to(n.current,{size:()=>{const I=N();return(parseFloat(I.maskSize)||0)*25},leftPos:()=>{const I=N(),B=(parseFloat(I.maskSize)||0)*25;return P(B,j)},wmScale:()=>{const I=N(),H=parseFloat(I.maskSize)||0,B=H*25;return H>0?B/H:1},wmTx:()=>{const I=N(),H=parseFloat(I.maskSize)||0,B=H>0?H*25/H:1;return k(B,j)},duration:.4,ease:"none",onUpdate(){const I=l.current,H=u.current,B=n.current.size;I.style.maskSize=`${B}px auto`,I.style.WebkitMaskSize=`${B}px auto`,H.style.maskSize=`${B}px auto`,H.style.WebkitMaskSize=`${B}px auto`;const q=s.current;q&&(q.style.transform=`translateX(${n.current.wmTx}px) scale(${n.current.wmScale})`);let Y=n.current.topPos||0;const fe=I.getBoundingClientRect();Y=q.getBoundingClientRect().top-fe.top,n.current.topPos=Y,I.style.maskPosition=`${n.current.leftPos}px ${Y}px`,I.style.WebkitMaskPosition=`${n.current.leftPos}px ${Y}px`,H.style.maskPosition=`${n.current.leftPos}px ${Y}px`,H.style.WebkitMaskPosition=`${n.current.leftPos}px ${Y}px`}},.6);const C={switching:!1,lerpTop:n.current.topPos||0,threshold:8};t.current.to(n.current,{size:()=>{const I=N();return(parseFloat(I.maskSize)||0)*50},leftPos:()=>{const I=N(),B=(parseFloat(I.maskSize)||0)*50;return P(B,j)},wmScale:()=>{const I=N(),H=parseFloat(I.maskSize)||0,B=H*50;return H>0?B/H:1},wmTx:()=>{const I=N(),H=parseFloat(I.maskSize)||0,B=H>0?H*50/H:1;return k(B,j)},duration:.6,ease:"none",onUpdate(){const I=l.current,H=u.current,B=n.current.size;I.style.maskSize=`${B}px auto`,I.style.WebkitMaskSize=`${B}px auto`,H.style.maskSize=`${B}px auto`,H.style.WebkitMaskSize=`${B}px auto`;const q=s.current;let Y=n.current.topPos||0;try{const fe=I,he=c.current,De=he?he.querySelector("#G")||he.querySelector("#Gene"):null,ge=fe?fe.getBoundingClientRect():null;let Ue=null;if(De&&ge){const Le=De.getBoundingClientRect();
76Ue=Le.top+Le.height/2-ge.top}C.switching?Ue!==null&&(C.lerpTop+=(Ue-C.lerpTop)*.12,Y=C.lerpTop,n.current.topPos=Y):(q&&ge&&(Y=q.getBoundingClientRect().top-ge.top,n.current.topPos=Y),Ue!==null&&Math.abs(Y-Ue)<=C.threshold&&(C.switching=!0,C.lerpTop=Y))}catch{}I.style.maskPosition=`${n.current.leftPos}px ${Y}px`,I.style.WebkitMaskPosition=`${n.current.leftPos}px ${Y}px`,H.style.maskPosition=`${n.current.leftPos}px ${Y}px`,H.style.WebkitMaskPosition=`${n.current.leftPos}px ${Y}px`,q&&(q.style.transform=`translateX(${n.current.wmTx}px) scale(${n.current.wmScale})`)}},1)},[F,v]),b.useEffect(()=>{let M=window.innerWidth,A=window.matchMedia("(orientation: portrait)").matches?"portrait":"landscape";const L=()=>{if(v(),t.current){const V=t.current.progress();t.current.progress(0,!0),F();const $=N(),C=parseFloat($.maskSize)||0,I=parseFloat($.maskPosition)||0,H=$.maskPositionY||0,B=w/2,q=k(1,B);n&&n.current&&(n.current.size=C,n.current.leftPos=I,n.current.topPos=typeof $.maskPositionY=="number"?$.maskPositionY:H,n.current.wmScale=1,n.current.wmTx=q),t.current.getChildren(!1,!0,!1).forEach(Y=>Y.invalidate()),t.current.invalidate(),t.current.progress(V,!0)}else F();ne.refresh()};let R=null;const O=()=>{clearTimeout(R),R=setTimeout(()=>{const V=window.innerWidth,$=window.matchMedia("(orientation: portrait)").matches?"portrait":"landscape";(V!==M||$!==A)&&(M=V,A=$,L())},0)};window.addEventListener("resize",O);const D=()=>{var B,q;const V=window.innerWidth,$=window.devicePixelRatio||1,C=((B=r.images)==null?void 0:B[f])||((q=r.images)==null?void 0:q[0]);if(!C)return;let I;const H=$>=2;V>=1280?I=H?C.src_retina_lg||C.src_lg||C.src_md||C.src_sm:C.src_lg||C.src_md||C.src_sm:V>=960?I=H?C.src_retina_md||C.src_md||C.src_lg||C.src_sm:C.src_md||C.src_lg||C.src_sm:I=H?C.src_retina_sm||C.src_sm||C.src_md||C.src_lg:C.src_sm||C.src_md||C.src_lg,I!==p&&_(I)};return window.addEventListener("resize",D),()=>{window.removeEventListener("resize",O),R&&clearTimeout(R)}},[v,F,N,k]),a.jsx(a.Fragment,{children:a.jsxs("div",{className:"gene-animation",ref:e,style:{backgroundColor:"#EBE6E0",opacity:d?1:0},children:[a.jsx("div",{className:"timeline",children:a.jsxs("div",{className:"mask-container",children:[a.jsx("div",{className:"gene-mask",ref:l,style:{transformOrigin:"left center",background:"#EBE6E0",backgroundImage:p?`url("${p}")`:void 0,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center",maskImage:`url("${qh}")`,maskPosition:"center center",maskRepeat:"no-repeat"}}),a.jsx("div",{className:"g-mask",ref:u,style:{transformOrigin:"left center",background:"#EBE6E0",backgroundImage:p?`url("${p}")`:void 0,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center",maskImage:`url("${Yh}")`,maskRepeat:"no-repeat",opacity:0}}),a.jsx("div",{style:{height:"100%",display:"flex",alignItems:"center"},children:a.jsxs("div",{className:"wordmark-wrapper",children:[a.jsx("div",{className:"mask-background"}),a.jsxs("div",{className:"wordmark-container",ref:o,children:[a.jsx("div",{className:"wordmark",ref:s,children:a.jsx("svg",{ref:c,width:"3538",height:"465",viewBox:"0 0 3538 465",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsxs("g",{id:"Genentech",children:[a.jsxs("g",{id:"ntech",className:"ntech",children:[a.jsx("path",{id:"H",d:"M3506.94 164.923C3496.03 156.344 3482.08 149.728 3465.08 145.18L3465.02 145.129C3448.02 140.58 3427.19 138.306 3402.64 138.306C3389.67 138.306 3377.53 139.03 3366.31 140.425C3355.09 141.821 3344.91 143.992 3335.77 146.989C3326.62 149.987 3318.3 153.501 3310.75 157.533C3303.21 161.564 3296.64 166.06 3291.01 170.97V0.775879H3197.82V456.73H3291.01V246.79C3291.01 238.366 3292.61 230.924 3295.76 224.411C3298.92 217.899 3303.83 212.369 3310.49 207.821C3317.16 203.221 3325.33 199.81 3334.99 197.536C3344.65 195.262 3356.7 194.125 3370.03 194.125C3383.36 194.125 3394.79 195.158 3404.24 197.277C3413.7 199.396 3421.4 202.653 3427.4 207.046C3433.39 211.439 3437.68 216.814 3440.32 223.119C3442.96 229.425 3444.25 237.126 3444.25 246.274V456.73H3538V241.002C3538 224.515 3535.52 209.837 3530.61 197.019C3525.7 184.253 3517.79 173.503 3506.94 164.923Z",fill:"black"}),a.jsx("path",{id:"C",d:"M2821.78 434.092C2834.08 443.55 2851.39 450.941 2873.67 456.213V456.006C2895.94 461.278 2924.99 463.914 2960.81 463.914C2993.78 463.914 3021.07 461.898 3042.67 457.867C3064.28 453.835 3081.64 448.047 3094.82 440.501C3108 432.955 3117.09 423.755 3122.21 412.85C3127.33 401.997 3129.86 389.696 3129.86 376V341.268H3037.71V375.483C3037.71 381.065 3036.73 385.975 3034.82 390.213C3032.9 394.451 3029.13 397.965 3023.5 400.756C3017.92 403.547 3010.11 405.821 3000.09 407.578C2990.11 409.336 2976.98 410.214 2960.86 410.214C2943.29 410.214 2929.33 408.922 2918.99 406.286C2908.66 403.651 2900.91 400.136 2895.84 395.743C2890.78 391.401 2887.62 386.388 2886.38 380.755C2885.14 375.121 2884.52 369.539 2884.52 363.906V238.779C2884.52 232.836 2885.14 227.099 2886.38 221.672C2887.57 216.245 289
760.67 211.232 2895.58 206.684C2900.49 202.136 2908.14 198.518 2918.48 195.882C2928.81 193.246 2942.98 191.954 2960.86 191.954C2976.98 191.954 2990.06 192.833 3000.09 194.59C3010.06 196.347 3017.86 198.725 3023.5 201.722C3029.08 204.72 3032.9 208.338 3034.82 212.524C3036.73 216.711 3037.71 221.62 3037.71 227.254V260.435H3129.86V227.254C3129.86 213.196 3127.28 200.534 3122.21 189.318C3117.09 178.103 3108 168.8 3094.82 161.409C3081.64 154.07 3064.28 148.333 3042.67 144.302C3021.12 140.27 2993.78 138.255 2960.81 138.255C2924.99 138.255 2895.94 140.839 2873.67 145.904C2851.34 151.021 2834.08 158.308 2821.78 167.766C2809.48 177.224 2801.26 188.388 2797.02 201.205C2792.84 214.023 2790.72 227.978 2790.72 243.069V360.34C2790.72 374.759 2792.84 388.249 2797.02 400.911C2801.26 413.574 2809.48 424.634 2821.78 434.092Z",fill:"black"}),a.jsx("path",{id:"E",fillRule:"evenodd",clipRule:"evenodd",d:"M2557.68 138.306C2590.65 138.306 2618.05 140.322 2639.8 144.353C2661.56 148.385 2679.03 154.069 2692.21 161.46C2705.39 168.85 2714.43 178.154 2719.34 189.37C2724.25 200.637 2726.73 213.248 2726.73 227.306V321.37L2726.79 321.422H2481.4V364.112C2481.4 369.746 2482.02 375.328 2483.26 380.96C2484.45 386.542 2487.55 391.557 2492.46 395.95C2497.37 400.343 2505.07 403.857 2515.61 406.493C2526.15 409.129 2540.16 410.421 2557.73 410.421C2573.86 410.421 2587.04 409.645 2597.22 408.043C2607.4 406.492 2615.2 404.374 2620.63 401.738C2626.06 399.154 2629.78 395.898 2631.69 392.022C2633.6 388.145 2634.58 383.442 2634.58 377.809V354.654H2726.73V378.325C2726.73 392.022 2724.25 404.322 2719.34 415.176C2714.43 426.081 2705.39 435.023 2692.21 442.052C2679.03 449.081 2661.56 454.507 2639.8 458.384C2618.05 462.26 2590.65 464.172 2557.68 464.172C2521.86 464.172 2492.82 461.536 2470.54 456.265C2448.22 450.993 2430.95 443.602 2418.65 434.144C2406.35 424.686 2398.08 413.625 2393.9 400.963C2389.71 388.3 2387.59 374.811 2387.59 360.391V243.121C2387.59 228.029 2389.66 214.075 2393.9 201.257C2398.14 188.44 2406.35 177.276 2418.65 167.818C2430.95 158.308 2448.27 151.072 2470.54 145.956C2492.82 140.839 2521.86 138.306 2557.68 138.306ZM2557.68 192.057C2539.8 192.057 2525.64 193.349 2515.3 195.985C2504.96 198.621 2497.31 202.239 2492.4 206.787C2487.49 211.335 2484.45 216.349 2483.21 221.776C2481.96 227.202 2481.34 232.939 2481.34 238.883L2481.29 238.935V266.844H2634.53V227.357C2634.53 221.776 2633.55 216.813 2631.64 212.626C2629.73 208.389 2625.95 204.823 2620.32 201.826C2614.74 198.828 2606.93 196.45 2596.91 194.693C2586.88 192.936 2573.81 192.057 2557.68 192.057Z",fill:"black"}),a.jsx("path",{id:"T",d:"M2244.53 363.544V199.758H2342.99V145.284H2244.53V68.6366H2150.78V145.284H2109.18V199.758H2150.78V359.409C2150.78 374.139 2152.23 387.577 2155.02 399.671C2157.81 411.765 2163.44 422.05 2171.87 430.474C2180.29 438.899 2191.77 445.411 2206.34 449.959C2220.91 454.507 2240.14 456.781 2264.02 456.781H2343.51V404.633H2287.17C2277.71 404.633 2270.17 403.599 2264.54 401.48C2258.9 399.361 2254.51 396.518 2251.36 392.797C2248.2 389.076 2246.29 384.683 2245.57 379.618C2244.9 374.501 2244.53 369.177 2244.53 363.544Z",fill:"black"}),a.jsx("path",{id:"N",d:"M1723.83 145.231V456.781H1817.01V246.841C1817.01 238.417 1818.62 230.975 1821.77 224.462C1824.92 217.95 1829.93 212.42 1836.76 207.872C1843.63 203.272 1851.8 199.861 1861.25 197.587C1870.76 195.313 1882.5 194.176 1896.55 194.176C1909.53 194.176 1920.79 195.209 1930.25 197.328C1939.71 199.447 1947.41 202.704 1953.4 207.097C1959.4 211.49 1963.69 216.865 1966.33 223.17C1968.96 229.476 1970.25 237.177 1970.25 246.325V456.781H2064.01V241.053C2064.01 224.566 2061.52 209.888 2056.61 197.07C2051.71 184.304 2043.8 173.554 2032.94 164.974C2022.04 156.395 2008.08 149.779 1991.08 145.231C1974.08 140.683 1953.25 138.409 1928.7 138.409C1913.92 138.409 1900.43 139.288 1888.13 141.045C1875.83 142.802 1864.72 145.541 1854.69 149.211C1844.66 152.88 1835.77 157.377 1828.07 162.649C1820.37 167.869 1813.71 173.864 1808.07 180.531L1803.32 145.231H1723.83Z",fill:"black"})]}),a.jsxs("g",{id:"Gene",style:{opacity:x?0:1},children:[a.jsx("path",{id:"E_2",fillRule:"evenodd",clipRule:"evenodd",d:"M1486.55 138.356C1519.53 138.356 1546.92 140.373 1568.68 144.404C1590.44 148.436 1607.9 154.121 1621.08 161.512C1634.26 168.902 1643.31 178.205 1648.22 189.421C1653.13 200.688 1655.61 213.299 1655.61 227.357V321.421L1655.66 321.473H1410.27V364.163C1410.27 369.797 1410.89 375.379 1412.13 381.012C1413.32 386.594 1416.42 391.608 1421.33 396.001C1426.24 400.394 1433.94 403.908 1444.48 406.544C1455.03 409.18 1469.03 410.472 1486.61 410.472C1502.73 410.472 1515.91 409.697 1526.09 408.095C1536.27 406.544 1544.08 404.425 1549.5 401.789
76C1554.93 399.205 1558.65 395.949 1560.56 392.073C1562.48 388.196 1563.46 383.493 1563.46 377.86V354.705H1655.61V378.376C1655.61 392.073 1653.13 404.373 1648.22 415.227C1643.31 426.132 1634.26 435.074 1621.08 442.103C1607.9 449.132 1590.44 454.558 1568.68 458.435C1546.92 462.311 1519.53 464.223 1486.55 464.223C1450.74 464.223 1421.69 461.587 1399.42 456.316C1377.09 451.044 1359.83 443.653 1347.53 434.195C1335.23 424.737 1326.96 413.676 1322.77 401.014C1318.58 388.351 1316.47 374.862 1316.47 360.442V243.172C1316.47 228.08 1318.53 214.126 1322.77 201.308C1327.01 188.491 1335.23 177.327 1347.53 167.869C1359.83 158.359 1377.14 151.123 1399.42 146.007C1421.69 140.89 1450.74 138.356 1486.55 138.356ZM1486.55 192.108C1468.67 192.108 1454.51 193.4 1444.17 196.036C1433.84 198.672 1426.19 202.29 1421.28 206.838C1416.37 211.386 1413.32 216.4 1412.08 221.827C1410.84 227.253 1410.22 232.99 1410.22 238.934L1410.17 238.986V266.895H1563.41V227.408C1563.41 221.827 1562.42 216.865 1560.51 212.678C1558.6 208.44 1554.83 204.874 1549.19 201.877C1543.61 198.879 1535.81 196.501 1525.78 194.744C1515.75 192.987 1502.68 192.108 1486.55 192.108Z",fill:"black"}),a.jsx("path",{id:"N_2",d:"M910.496 145.231V456.781H910.548H1003.73V246.841C1003.73 238.417 1005.33 230.975 1008.49 224.462C1011.64 217.95 1016.65 212.42 1023.48 207.872C1030.35 203.272 1038.51 199.861 1047.97 197.587C1057.48 195.313 1069.21 194.176 1083.27 194.176C1096.24 194.176 1107.51 195.209 1116.97 197.328C1126.43 199.447 1134.13 202.704 1140.12 207.097C1146.12 211.49 1150.41 216.865 1153.04 223.17C1155.68 229.476 1156.97 237.177 1156.97 246.325V456.781H1250.72V241.053C1250.72 224.566 1248.24 209.888 1243.33 197.07C1238.37 184.304 1230.46 173.554 1219.61 164.974C1208.71 156.395 1194.75 149.779 1177.75 145.231C1160.74 140.683 1139.92 138.409 1115.37 138.409C1100.59 138.409 1087.1 139.288 1074.8 141.045C1062.5 142.802 1051.38 145.541 1041.36 149.211C1031.33 152.88 1022.44 157.377 1014.74 162.649C1007.04 167.869 1000.37 173.864 994.74 180.531L989.985 145.231H910.496Z",fill:"black"}),a.jsx("path",{id:"E_3",fillRule:"evenodd",clipRule:"evenodd",d:"M673.686 138.356C706.658 138.356 734.051 140.373 755.81 144.404C777.567 148.436 795.037 154.121 808.216 161.512C821.395 168.902 830.44 178.205 835.35 189.421C840.26 200.688 842.74 213.299 842.74 227.357V321.421L842.792 321.473H597.402V364.163C597.402 369.797 598.022 375.379 599.262 381.012C600.451 386.594 603.552 391.608 608.462 396.001C613.372 400.394 621.073 403.908 631.616 406.544C642.159 409.18 656.165 410.472 673.737 410.472C689.862 410.472 703.042 409.697 713.223 408.095C723.405 406.544 731.209 404.425 736.635 401.789C742.062 399.205 745.783 395.949 747.696 392.073C749.608 388.196 750.59 383.493 750.59 377.86V354.705H842.74V378.376C842.74 392.073 840.26 404.373 835.35 415.227C830.44 426.132 821.395 435.074 808.216 442.103C795.037 449.132 777.568 454.558 755.81 458.435C734.051 462.311 706.658 464.223 673.686 464.223C637.87 464.223 608.824 461.587 586.548 456.316C564.221 451.044 546.959 443.653 534.659 434.195C522.358 424.737 514.089 413.676 509.903 401.014C505.717 388.351 503.598 374.862 503.598 360.442V243.172C503.598 228.08 505.665 214.126 509.903 201.308C514.141 188.491 522.358 177.327 534.659 167.869C546.959 158.359 564.273 151.123 586.548 146.007C608.824 140.89 637.87 138.356 673.686 138.356ZM673.686 192.108C655.804 192.108 641.642 193.4 631.306 196.036C620.969 198.672 613.32 202.29 608.41 206.838C603.5 211.386 600.451 216.4 599.211 221.827C597.97 227.253 597.35 232.99 597.35 238.934L597.299 238.986V266.895H750.538V227.408C750.538 221.827 749.556 216.865 747.644 212.678C745.732 208.44 741.959 204.874 736.325 201.877C730.744 198.879 722.94 196.501 712.913 194.744C702.887 192.987 689.811 192.108 673.686 192.108Z",fill:"black"}),a.jsx("path",{id:"G",d:"M217.43 285.191H324.775V346.746C324.775 354.137 323.379 361.269 320.589 368.091C317.746 374.965 312.578 381.012 305.032 386.284C297.486 391.556 286.736 395.949 272.885 399.463C258.983 402.978 240.842 404.735 218.36 404.735C195.878 404.735 177.686 402.978 163.835 399.463C149.932 395.949 139.234 391.556 131.688 386.284C124.09 381.012 118.922 374.914 116.131 368.091C113.34 361.217 111.945 354.137 111.945 346.746V117.477C111.945 110.086 113.34 102.954 116.131 96.1317C118.974 89.2578 124.142 83.2108 131.688 77.939C139.234 72.6673 149.984 68.2742 163.835 64.7597C177.737 61.2452 195.878 59.488 218.36 59.488C240.842 59.488 259.034 61.2452 272.885 64.7597C286.788 68.2742 297.486 72.6673 305.032 77.939C312.629 83.2108 317.798 89.3095 320.589 96.1317C323.379 103.006 324.775 110.086 324.775 117.477V160.633H436.875V139.184C436.875 123.059 433.826 108.226 427.675 94.6846C421.577 81.1434 382.453 0 218.463 0C54.4737 0 15.3498 81.1434 9.19954 94.6846C3.04929 108.226 0 123.059 0 139.184V324.987C0 341.113 3.04929 355.946 9.19954 369.487C15.3498 382.976 54.5254 464.171 218.515 464.171C382.505 464.171 421.577 382.976 427.727 369.487C433.877 355.946 436.927 341.113 436.927 324.987V220.586H217.43V285.191Z",fill:"black"})]})]})})}),a.jsx(Zh,{type:r.tagline})]}),a.jsx("div",{className:"mask-background",style:{flexGrow:1}})]})})]})}),a.jsx("div",{className:"spacer trigger-0"}),a.jsx("div",{className:"spacer trigger-1"}),a.jsx("div",{className:"spacer trigger-2"})]})})}function Gh(){return a.jsx("svg",{width:"2762",height:"200",viewBox:"0 0 2762 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M105.223 155.863L94.163 121.545H33.745L22.685 155.863H0.0999756L51.628 3.70599H76.435L127.963 155.863H105.223ZM63.876 29.134L39.947 102.37H87.754L63.825 29.134H63.876ZM209.312 155.863H188.432V3.70599H210.604L251.692 103.92L292.78 3.70599H314.952V155.863H294.072V47.172L261.46 125.421H241.872L209.26 47.172V155.863H209.312ZM437.957 105.833H362.293C362.293 116.428 364.981 124.904 370.356 131.364C375.731 137.825 382.656 141.029 391.235 141.029C397.903 141.029 403.381 139.375 407.619 136.119C411.909 132.863 415.268 128.212 417.749 122.113L435.579 128.832C427.62 148.524 412.839 158.395 391.235 158.395C381.674 158.395 373.198 156.121 365.807 151.573C358.417 147.025 352.68 140.616 348.545 132.45C344.411 124.284 342.344 115.032 342.344 104.747V99.114C342.344 88.674 344.411 79.422 348.649 71.308C352.835 63.194 358.675 56.837 366.169 52.288C373.663 47.74 382.088 45.466 39
761.494 45.466C400.332 45.466 408.239 47.482 415.32 51.565C422.349 55.648 427.879 61.54 431.962 69.396C436.044 77.252 438.06 86.658 438.06 97.667V105.936L437.957 105.833ZM372.009 70.326C366.996 75.494 363.947 82.368 362.758 91.103H418.421C417.852 82.42 415.061 75.494 410.048 70.326C405.035 65.158 398.833 62.625 391.442 62.625C383.483 62.625 376.971 65.209 372.009 70.326ZM464.057 155.863V48.05H483.644V59.162C485.505 55.389 488.813 52.1849 493.412 49.4969C498.064 46.8099 503.387 45.466 509.486 45.466C515.843 45.466 521.425 46.862 526.128 49.601C530.831 52.34 534.345 56.113 536.671 60.92C539.41 56.268 543.39 52.547 548.506 49.704C553.623 46.862 559.566 45.466 566.23 45.466C576.52 45.466 584.48 48.67 590.16 55.131C595.8 61.591 598.64 70.223 598.64 81.128V155.914H579.05V84.384C579.05 78.027 577.29 72.962 573.83 69.189C570.37 65.416 565.77 63.555 560.135 63.555C554.502 63.555 549.902 65.519 546.439 69.447C542.976 73.375 541.219 78.44 541.219 84.642V155.914H521.424V84.384C521.424 77.872 519.667 72.755 516.205 69.086C512.742 65.416 508.142 63.555 502.509 63.555C496.875 63.555 492.275 65.519 488.813 69.447C485.35 73.375 483.593 78.44 483.593 84.642V155.914H464.005L464.057 155.863ZM662.73 154.312C657.35 151.573 653.16 147.645 650.11 142.58V155.863H630.32V3.70599H650.11V61.3329C652.85 56.8369 657.04 53.064 662.62 50.014C668.2 46.965 674.41 45.466 681.23 45.466C689.91 45.466 697.66 47.689 704.38 52.082C711.1 56.526 716.37 62.78 720.15 70.895C723.92 79.009 725.78 88.415 725.78 99.166V104.799C725.78 115.549 723.87 124.956 719.99 133.07C716.11 141.184 710.84 147.438 704.12 151.883C697.4 156.328 689.65 158.498 680.97 158.498C674.15 158.498 668.05 157.103 662.73 154.364V154.312ZM697.82 130.279C702.83 124.129 705.31 115.704 705.31 104.954V98.855C705.31 88.105 702.83 79.681 697.82 73.53C692.8 67.38 685.98 64.279 677.3 64.279C668.62 64.279 661.74 67.38 656.78 73.53C651.77 79.681 649.29 88.157 649.29 98.855V104.954C649.29 115.704 651.77 124.129 656.78 130.279C661.8 136.43 668.62 139.53 677.3 139.53C685.98 139.53 692.86 136.43 697.82 130.279ZM841.86 105.833H766.19C766.19 116.428 768.88 124.904 774.26 131.364C779.63 137.825 786.56 141.029 795.14 141.029C801.8 141.029 807.28 139.375 811.57 136.119C815.86 132.863 819.22 128.212 821.65 122.113L839.48 128.832C831.52 148.524 816.74 158.395 795.14 158.395C785.58 158.395 777.1 156.121 769.71 151.573C762.32 147.025 756.58 140.616 752.45 132.45C748.31 124.284 746.24 115.032 746.24 104.747V99.114C746.24 88.674 748.36 79.422 752.55 71.308C756.74 63.194 762.58 56.837 770.07 52.288C777.51 47.74 785.99 45.466 795.4 45.466C804.23 45.466 812.14 47.482 819.22 51.565C826.25 55.648 831.78 61.54 835.86 69.396C839.89 77.2 841.96 86.658 841.96 97.667V105.936L841.86 105.833ZM775.86 70.326C770.85 75.494 767.8 82.368 766.61 91.103H822.27C821.7 82.42 818.91 75.494 813.9 70.326C808.88 65.158 802.68 62.625 795.29 62.625C787.33 62.625 780.82 65.209 775.86 70.326ZM867.91 155.863V48.05H887.7V61.075C889.72 56.423 893.13 52.65 897.93 49.756C902.69 46.862 908.17 45.415 914.21 45.415C918.4 45.415 922.12 45.983 925.27 47.172V66.295C920.93 64.537 916.38 63.659 911.58 63.659C904.5 63.659 898.71 66.191 894.26 71.256C889.87 76.321 887.65 82.989 887.65 91.258V155.811H867.85L867.91 155.863ZM1009 151.624C1001.45 147.076 995.56 140.668 991.27 132.501C986.98 124.335 984.86 115.084 984.86 104.799V99.166C984.86 88.88 986.98 79.629 991.27 71.463C995.56 63.297 1001.45 56.888 1009 52.34C1016.55 47.792 1025.07 45.5179 1034.64 45.5179C1044.2 45.5179 1052.72 47.792 1060.27 52.34C1067.82 56.888 1073.66 63.297 1077.89 71.463C1082.08 79.629 1084.2 88.88 1084.2 99.166V104.799C1084.2 115.084 1082.08 124.335 1077.89 132.501C1073.71 140.668 1067.82 147.076 1060.27 151.624C1052.72 156.173 1044.2 158.447 1034.64 158.447C1025.07 158.447 1016.49 156.173 1009 151.624ZM1055.82 130.072C1061.1 123.767 1063.73 115.394 1063.73 104.954V98.855C1063.73 88.415 1061.1 80.043 1055.82 73.737C1050.5 67.432 1043.47 64.279 1034.64 64.279C1025.8 64.279 1018.51 67.432 1013.24 73.737C1007.97 80.043 1005.33 88.415 1005.33 98.855V104.954C1005.33 115.394 1007.97 123.767 1013.24 130.072C1018.51 136.378 1025.64 139.53 1034.64 139.53C1043.63 139.53 1050.55 136.378 1055.82 130.072ZM1138.52 23.3459C1135.93 26.0329 1134.59 29.8579 1134.59 34.7679V48.05H1163.48V65.209H1134.59V155.863H1114.8V65.209H1095.88V48.05H1114.8V34.354C1114.8 23.759 1117.74 15.593 1123.68 9.80396C1129.63 4.01595 1137.69 1.12195 1147.82 1.12195C1153.04 1.12195 1158.26 1.99999 1163.48 3.70599V22.2079C1158.57 20.3479 1153.92 
7619.366 1149.58 19.366C1144.77 19.366 1141.1 20.71 1138.47 23.397L1138.52 23.3459ZM1281.78 65.209H1252.63V125.214C1252.63 129.969 1253.77 133.69 1255.99 136.275C1258.22 138.859 1261.68 140.202 1266.33 140.202C1271.24 140.202 1276.41 138.91 1281.78 136.275V154.777C1276.15 157.258 1269.59 158.447 1262.19 158.447C1252.48 158.447 1245.19 155.604 1240.23 149.971C1235.32 144.337 1232.84 136.223 1232.84 125.628V65.209H1212.37V48.05H1232.84V27.377L1252.63 18.229V47.999H1281.78V65.209ZM1304.57 155.863V3.70599H1324.37V59.989C1326.69 55.958 1330.47 52.495 1335.79 49.653C1341.11 46.81 1347.01 45.415 1353.52 45.415C1364.94 45.415 1374.04 49.0319 1380.81 56.2679C1387.53 63.5039 1390.88 73.065 1390.88 84.953V155.811H1371.09V89.2939C1371.09 81.5929 1368.92 75.443 1364.58 70.688C1360.24 65.985 1354.66 63.607 1347.83 63.607C1341.01 63.607 1335.38 65.985 1330.98 70.791C1326.54 75.546 1324.37 81.748 1324.37 89.242V155.759H1304.57V155.863ZM1512.6 105.833H1436.93C1436.93 116.428 1439.62 124.904 1445 131.364C1450.37 137.825 1457.3 141.029 1465.88 141.029C1472.54 141.029 1478.02 139.375 1482.26 136.119C1486.55 132.863 1489.91 128.212 1492.39 122.113L1510.22 128.832C1502.26 148.524 1487.48 158.395 1465.88 158.395C1456.32 158.395 1447.84 156.121 1440.45 151.573C1433.06 147.025 1427.32 140.616 1423.19 132.45C1419.05 124.284 1416.98 115.032 1416.98 104.747V99.114C1416.98 88.674 1419.05 79.422 1423.29 71.308C1427.48 63.194 1433.32 56.837 1440.81 52.288C1448.3 47.74 1456.73 45.466 1466.14 45.466C1474.97 45.466 1482.88 47.482 1489.96 51.565C1496.99 55.648 1502.52 61.54 1506.6 69.396C1510.69 77.252 1512.7 86.658 1512.7 97.667V105.936L1512.6 105.833ZM1446.65 70.326C1441.64 75.494 1438.59 82.368 1437.4 91.103H1493.06C1492.49 82.42 1489.7 75.494 1484.69 70.326C1479.68 65.158 1473.47 62.625 1466.08 62.625C1458.12 62.625 1451.61 65.209 1446.65 70.326ZM1580.46 155.863V3.70599H1634.78C1647.7 3.70599 1657.98 7.27199 1665.63 14.456C1673.33 21.64 1677.16 31.46 1677.16 43.916C1677.16 52.754 1674.93 60.093 1670.44 65.881C1665.94 71.67 1660.31 75.805 1653.49 78.285C1658.4 79.577 1662.17 82.11 1664.8 85.883C1667.44 89.656 1669.3 95.238 1670.44 102.628L1678.24 155.863H1656.48L1649.3 104.127C1648.42 97.873 1646.77 93.584 1644.29 91.206C1641.8 88.829 1637.98 87.64 1632.76 87.64H1602.11V155.914H1580.35L1580.46 155.863ZM1631.93 68.672C1639.32 68.672 1645.06 66.656 1649.2 62.677C1653.33 58.697 1655.4 53.012 1655.4 45.621C1655.4 38.23 1653.33 32.5969 1649.2 28.6689C1645.06 24.7409 1639.32 22.777 1631.93 22.777H1602.16V68.62H1631.93V68.672ZM1723.26 151.624C1715.71 147.076 1709.82 140.668 1705.53 132.501C1701.24 124.335 1699.12 115.084 1699.12 104.799V99.166C1699.12 88.88 1701.24 79.629 1705.53 71.463C1709.82 63.297 1715.71 56.888 1723.26 52.34C1730.8 47.792 1739.33 45.5179 1748.89 45.5179C1758.45 45.5179 1767.03 47.792 1774.53 52.34C1782.07 56.888 1787.91 63.297 1792.15 71.463C1796.34 79.629 1798.46 88.88 1798.46 99.166V104.799C1798.46 115.084 1796.34 124.335 1792.15 132.501C1787.96 140.668 1782.07 147.076 1774.53 151.624C1766.98 156.173 1758.45 158.447 1748.89 158.447C1739.33 158.447 1730.8 156.173 1723.26 151.624ZM1770.08 130.072C1775.35 123.767 1777.99 115.394 1777.99 104.954V98.855C1777.99 88.415 1775.35 80.043 1770.08 73.737C1764.81 67.432 1757.73 64.279 1748.89 64.279C1740.05 64.279 1732.77 67.432 1727.5 73.737C1722.17 80.043 1719.59 88.415 1719.59 98.855V104.954C1719.59 115.394 1722.22 123.767 1727.5 130.072C1732.77 136.378 1739.9 139.53 1748.89 139.53C1757.88 139.53 1764.81 136.378 1770.08 130.072ZM1842.7 151.624C1835.25 147.076 1829.41 140.668 1825.18 132.501C1820.99 124.335 1818.87 115.084 1818.87 104.799V99.166C1818.87 88.88 1820.99 79.629 1825.18 71.463C1829.36 63.297 1835.2 56.888 1842.7 52.34C1850.14 47.792 1858.67 45.5179 1868.23 45.5179C1879.24 45.5179 1888.44 48.205 1895.83 53.581C1903.22 58.956 1908.49 66.553 1911.69 76.425L1894.33 84.229C1892.16 77.975 1888.85 73.169 1884.46 69.654C1880.06 66.191 1874.64 64.434 1868.28 64.434C1859.6 64.434 1852.57 67.587 1847.3 73.892C1842.02 80.198 1839.39 88.519 1839.39 98.804V105.316C1839.39 115.601 1842.02 123.922 1847.3 130.227C1852.57 136.533 1859.6 139.686 1868.28 139.686C1874.64 139.686 1880.06 137.928 1884.46 134.362C1888.9 130.796 1892.26 125.938 1894.59 119.684L1912.21 127.488C1908.44 137.36 1902.91 145.009 1895.57 150.436C1888.23 155.863 1879.13 158.602 1868.28 158.602C1858.72 158.602 1850.19 156.328 1842.75 151.78L1842.7 151.624ZM1935.16 155.863V3.70599H1954.95V59.989C1957.28 55.958 1961.05 52.495 1966.37 49.653C1971.64 46.81 1977.59 45.415 1984.1 45.415C1995.57 45.415 2004.62 49.0319 2011.39 56.2679C2018.11 63.5039 2021.52 73.065 2021.52 84.953V155.811H2001.72V89.2939C2001.72 81.5929 1999.55 75.443 1995.21 70.688C1990.87 65.985 1985.29 63.607 1978.47 63.607C1971.65 63.607 1966.06 65.985 1961.62 70.791C1957.23 75.546 1955 81.748 1955 89.242V155.759H1935.21L1935.16 155.863ZM2143.18 105.833H2067.52C2067.52 116.428 2070.2 124.904 2075.58 131.364C2080.95 137.825 2087.88 141.029 2096.46 141.029C2103.13 141.029 2108.6 139.375 2112.84 136.119C2117.13 132.863 2120.49 128.212 2122.97 122.113L2140.8 128.832C2132.84 148.524 2118.06 158.395 2096.46 158.395C2086.9 158.395 2078.42 156.121 2071.03 151.573C2063.64 147.025 2057.9 140.616 2053.77 132.45C2049.63 124.284 2047.57 115.032 2047.57 104.747V99.114C2047.57 88.674 2049.63 79.422 2053.87 71.308C2058.06 63.194 2063.9 56.837 2071.39 52.288C2078.89 47.74 2087.31 45.466 2096.72 45.466C2105.55 45.466 2113.46 47.482 2120.54 51.565C2127.57 55.648 2133.1 61.54 2137.19 69.396C2141.27 77.252 2143.28 86.658 2143.28 97.667V105.936L2143.18 105.833ZM2077.23 70.326C2072.22 75.494 2069.17 82.368 2067.98 91.103H2123.64C2123.08 82.42 2120.28 75.494 2115.27 70.326C2110.26 65.158 2104.06 62.625 2096.67 62.625C2088.71 62.625 2082.19 65.209 2077.23 70.326ZM2235.12 149.661C2225.25 143.51 2217.6 134.827 2212.18 123.664C2206.75 112.5 2204.01 99.631 2204.01 84.953V74.512C2204.01 59.886 2206.75 46.965 2212.18 35.801C2217.6 24.638 2225.25 16.006 2235.12 9.80396C2245 3.65395 2256.26 0.552979 2269.03 0.552979C2281.79 0.552979 2293.68 3.75699 2302.93 10.115C2312.18 16.472 2319.21 25.568 2324.02 37.3L2306.65 46.862C2298.69 29.341 2286.24 20.555 2269.29 20.555C2260.6 20.555 2253.01 22.7769 2246.44 27.2729C2239.93 31.7699 2234.87 38.024 2231.35 46.086C2227.84 54.149 2226.03 63.349 2226.03 73.789V85.521C2226.03 95.961 2227.78 105.213 2231.35 113.224C2234.92 121.234 2239.98 127.54 2246.6 132.036C2253.21 136.533 2260.91 138.755 2269.75 138.755C2283.5 138.755 2294.77 133.173 2303.45 122.01V95.0309H2266.29V76.58H2324.74V130.279C2317.92 139.272 2310.06 146.249 2301.17 151.263C2292.23 156.276 2281.64 158.757 2269.34 158.757C2257.04 158.757 2245.05 155.656 2235.23 149.506L2235.12 149.661ZM2352.5 155.863V48.05H2372.29V61.075C2374.31 56.423 2377.72 52.65 2382.52 49.756C2387.28 46.862 2392.76 45.415 2398.8 45.415C2402.99 45.415 2406.71 45.983 2409.86 47.172V66.295C2405.52 64.537 2400.97 63.659 2396.17 63.659C2389.09 63.659 2383.3 66.191 2378.85 71.256C2374.46 76.321 2372.24 82.989 2372.24 91.258V155.811H2352.44L2352.5 155.863ZM2447.95 151.624C2440.41 147.076 2434.52 140.668 2430.23 132.501C2425.94 124.335 2423.82 115.084 2423.82 104.799V99.166C2423.82 88.88 2425.94 79.629 2430.23 71.463C2434.52 63.297 2440.41 56.888 2447.95 52.34C2455.5 47.792 2464.03 45.5179 2473.59 45.5179C2483.15 45.5179 2491.68 47.792 2499.22 52.34C2506.77 56.888 2512.61 63.297 2516.85 71.463C2521.03 79.629 2523.15 88.88 2523.15 99.166V104.799C2523.15 115.084 2521.03 124.335 2516.85 132.501C2512.66 140.668 2506.77 147.076 2499.22 151.624C2491.68 156.173 2483.15 158.447 2473.59 158.447C2464.03 158.447 2455.45 156.173 2447.95 151.624ZM2494.78 130.072C2500.05 123.767 2502.69 115.394 2502.69 104.954V98.855C2502.69 88.415 2500.05 80.043 2494.78 73.737C2489.46 67.432 2482.43 64.279 2473.59 64.279C2464.75 64.279 2457.46 67.432 2452.19 73.737C2446.92 80.043 2444.28 88.415 2444.28 98.855V104.954C2444.28 115.394 2446.92 123.767 2452.19 130.072C2457.46 136.378 2464.6 139.53 2473.59 139.53C2482.58 139.53 2489.51 136.378 2494.78 130.072ZM2558.81 147.903C2552.46 140.874 2549.25 131.261 2549.25 119.115V48.05H2569.05V115.653C2569.05 123.354 2571.11 129.349 2575.25 133.69C2579.38 138.032 2584.86 140.202 2591.68 140.202C2598.51 140.202 2603.98 137.98 2608.07 133.484C2612.2 128.987 2614.27 123.043 2614.27 115.653V48.05H2634.06V155.863H2614.27V143.924C2611.94 148.11 2608.27 151.625 2603.21 154.364C2598.14 157.103 2592.36 158.498 2585.84 158.498C25
7674.27 158.498 2565.27 154.984 2558.92 147.955L2558.81 147.903ZM2665.75 47.999H2685.54V61.902C2688.43 56.992 2692.62 52.96 2698.05 49.963C2703.47 46.965 2709.68 45.415 2716.65 45.415C2725.18 45.415 2732.83 47.637 2739.6 52.03C2746.32 56.475 2751.64 62.729 2755.47 70.843C2759.29 78.957 2761.26 88.364 2761.26 99.114V104.747C2761.26 115.498 2759.34 124.904 2755.47 133.018C2751.59 141.133 2746.32 147.386 2739.6 151.831C2732.88 156.276 2725.23 158.447 2716.65 158.447C2709.57 158.447 2703.32 157.051 2697.94 154.312C2692.57 151.573 2688.43 147.955 2685.54 143.459V200H2665.75V47.999ZM2732.88 130.176C2738.1 123.922 2740.69 115.549 2740.69 104.954V98.855C2740.69 88.26 2738.05 79.887 2732.88 73.634C2727.66 67.38 2720.94 64.279 2712.67 64.279C2704.4 64.279 2697.48 67.38 2692.36 73.634C2687.19 79.887 2684.66 88.26 2684.66 98.855V104.954C2684.66 115.549 2687.25 123.922 2692.36 130.176C2697.53 136.429 2704.3 139.53 2712.67 139.53C2721.05 139.53 2727.66 136.429 2732.88 130.176Z",fill:"black"})})}function Xh(){return a.jsxs("svg",{width:"2767",height:"194",viewBox:"0 0 2767 194",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M122.445 2.11182V47.9922H115.278L108.919 23.8929C106.818 15.8597 104.5 14.7815 99.2191 14.7815H70.4961V134.631C70.4961 139.699 71.5739 142.233 81.0584 144.336L93.938 147.085V154.256H28.8935V147.085L41.5575 144.336C51.2576 142.233 52.3354 139.699 52.3354 134.631V14.7815H23.8279C18.5467 14.7815 16.445 15.8597 14.1278 23.8929L7.5533 47.9922H0.601562V2.11182H9.70884L12.2416 6.31707H110.698L113.23 2.11182H122.553H122.445Z",fill:"black"}),a.jsx("path",{d:"M244.074 147.517V154.256H194.873V147.517L206.728 144.336C209.692 143.473 210.932 141.802 210.932 137.812V89.1822C210.932 72.0377 203.549 64.0046 189.592 64.0046C180.484 64.0046 172.078 67.8324 164.264 77.7525V137.327C164.264 141.532 165.557 143.473 168.467 144.282L180.323 147.463V154.202H131.122V147.463L142.977 144.282C145.941 143.419 147.181 141.748 147.181 137.758V21.7363C147.181 17.6927 145.51 16.884 142.331 16.0214L131.122 13.0562V7.98827L159.629 0.386475L164.264 1.62646V68.2098C172.94 56.5645 183.718 50.9035 196.813 50.9035C215.405 50.9035 228.069 62.9263 228.069 85.57V137.543C228.069 141.586 229.362 143.473 232.272 144.282L244.128 147.463L244.074 147.517Z",fill:"black"}),a.jsx("path",{d:"M338.542 125.52L345.278 127.407C339.781 147.894 325.231 157.437 305.777 157.437C277.269 157.437 258.031 136.95 258.031 103.739C258.031 72.469 275.545 50.9036 302.813 50.9036C330.081 50.9036 346.948 70.7438 346.948 100.342H275.976C276.191 128.647 288.64 144.713 309.549 144.713C320.974 144.713 331.751 140.67 338.488 125.466L338.542 125.52ZM275.976 92.1475H327.494C326.848 70.582 318.171 59.368 301.951 59.368C285.73 59.368 276.191 71.822 275.976 92.1475Z",fill:"black"}),a.jsx("path",{d:"M416.035 104.17C416.035 72.2534 436.082 50.9036 464.427 50.9036C492.773 50.9036 513.036 72.2534 513.036 104.17C513.036 136.087 492.989 157.437 464.427 157.437C435.866 157.437 416.035 136.303 416.035 104.17ZM493.797 104.17C493.797 75.2186 482.157 59.7993 464.427 59.7993C446.698 59.7993 435.058 75.2186 435.058 104.17C435.058 133.122 446.859 148.541 464.427 148.541C481.995 148.541 493.797 133.122 493.797 104.17Z",fill:"black"}),a.jsx("path",{d:"M598.773 62.3332C598.773 66.9698 596.672 71.4446 592.414 75.2186L576.355 70.7977L562.183 83.2517V137.543C562.183 141.586 563.476 143.473 566.386 144.282L578.242 147.463V154.202H529.041V147.463L540.896 144.282C543.86 143.419 545.1 141.532 545.1 137.758V73.709C545.1 69.5037 544.022 67.7785 540.896 66.9698L529.041 64.0046V58.721L557.764 50.9036L562.183 52.1975V75.2186L568.757 65.9455C576.571 54.7315 580.99 50.9575 587.564 50.9575C594.139 50.9575 598.773 55.3784 598.773 62.3872V62.3332Z",fill:"black"}),a.jsx("path",{d:"M610.414 147.517L622.27 144.336C625.234 143.473 626.473 141.586 626.473 137.812V73.763C626.473 69.5577 625.18 67.8325 622.27 67.0238L610.414 64.0585V58.775L638.922 50.9575L643.556 52.2514V137.651C643.556 141.694 644.849 143.581 647.759 144.39L659.615 147.571V154.31H610.414V147.571V147.517ZM622.862 20.065C622.862 13.1102 628.144 7.82666 635.095 7.82666C642.047 7.82666 647.113 13.1102 647.113 20.065C647.113 27.0199 641.832 32.0878 635.095 32.0878C628.359 32.0878 622.862 26.8042 622.862 20.065Z",fill:"black"}),a.jsx("path",{d:"M764.591 158.299C764.591 178.571 745.999 193.397 713.666 193.397C687.26 193.397 671.417 183.046 671.417 167.842C671.417 161.696 674.165 157.06 680.093 153.879L688.769 149.026C681.602 146.277 677.56 140.562 677.56 133.607C677.56 127.677 680.308 124.334 685.158 121.153L693.619 115.438C682.625 109.723 675.889 98.9406 675.889 85.4083C675.889 65.1368 691.302 50.9575 713.72 50.9575C720.079 50.9575 725.737 52.0358 730.803 54.1384H762.705V68.5334L743.682 63.2499C748.748 69.1804 751.496 76.7821 751.496 85.4622C751.496 105.949 736.084 119.913 713.666 119.913C708.816 119.913 704.343 119.266 700.355 118.026C694.643 120.991 691.248 124.388 691.248 127.946C691.248 132.151 694.858 135.117 703.696 135.117H731.395C752.951 135.117 764.537 142.072 764.537 158.353L764.591 158.299ZM750.257 164.176C750.257 154.256 743.52 150.859 729.132 150.859H700.409C698.738 150.859 697.229 150.859 695.774 150.644C690.062 154.04 687.529 158.677 687.529 164.607C687.529 177.277 698.954 185.095 719.216 185.095C742.874 185.095 750.257 175.767 750.257 164.176ZM694.05 85.3544C694.05 102.499 701.864 113.443 713.72 113.443C725.575 113.443 733.389 102.661 733.389 85.3544C733.389 68.0481 725.575 57.2654 713.72 57.2654C701.864 57.2654 694.05 68.2638 694.05 85.3544Z",fill:"black"}),a.jsx("path",{d:"M777.255 147.517L789.111 144.336C792.074 143.473 793.314 141.586 793.314 137.812V73.763C793.314 69.5577 792.021 67.8325 789.111 67.0238L777.255 64.0585V58.775L805.762 50.9575L810.397 52.2514V137.651C810.397 141.694 811.69 143.581 814.6 144.39L826.456 147.571V154.31H777.255V147.571V147.517ZM789.757 20.065C789.757 13.1102 795.038 7.82666 801.99 7.82666C808.942 7.82666 814.007 13.1102 814.007 20.065C814.007 27.0199 808.726 32.0878 801.99 32.0878C795.254 32.0878 789.757 26.8042 789.757 20.065Z",fill:"black"}),a.jsx("path",{d:"M950.725 147.517V154.256H901.309V147.517L913.165 144.336C916.344 143.473 917.368 141.802 917.368 137.812V89.1822C917.368 72.0377 909.985 64.0046 896.028 64.0046C886.92 64.0046 878.514 67.8324 870.7 77.7525V137.543C870.7 141.586 871.993 143.473 874.903 144.282L886.759 147.463V154.202H837.558V147.463L849.413 144.282C852.377 143.419 853.617 141.532 853.617 137.758V73.709C853.617 69.5037 852.539 67.7785 849.413 66.9698L837.558 64.0046V58.721L866.281 50.9036L870.7 52.1975V68.4794C879.16 56.6184 890.369 50.9575 903.249 50.9575C921.841 50.9575 934.72 62.9802 934.72 85.6239V137.597C934.72 141.64 935.798 143.527 938.924 144.336L950.779 147.517H950.725Z",fill:"black"}
76),a.jsx("path",{d:"M1059.1 146.654C1053.6 153.178 1047.24 156.143 1039.43 156.143C1032.04 156.143 1027.41 151.506 1025.25 143.258C1016.15 152.153 1004.78 157.437 994.213 157.437C977.723 157.437 966.353 146.654 966.353 132.691C966.353 118.727 975.244 108.807 992.327 104.17L1024.66 95.4902V84.7074C1024.66 67.5629 1016.2 60.1767 1001.87 60.1767C994.699 60.1767 990.01 61.255 984.136 64.382L989.202 83.6292C986.022 86.1631 981.819 87.6727 977.562 87.6727C971.203 87.6727 966.999 83.6291 966.999 77.7525C966.999 64.4359 985.591 50.9036 1006.93 50.9036C1030.37 50.9036 1041.8 61.4707 1041.8 85.1388V138.621C1041.8 145.145 1048.53 147.732 1058.07 142.449L1059.15 146.654H1059.1ZM1001.38 145.414C1010.49 145.414 1017.01 142.665 1024.61 135.71V103.362L1001.81 109.885C989.956 113.282 984.513 119.212 984.513 128.701C984.513 139.484 990.872 145.414 1001.43 145.414H1001.38Z",fill:"black"}),a.jsx("path",{d:"M1118.43 147.517V154.256H1069.23V147.517L1081.08 144.336C1084.05 143.473 1085.29 141.802 1085.29 137.812V21.7902C1085.29 17.7467 1083.62 16.938 1080.44 16.0754L1069.23 13.1101V8.04227L1097.74 0.44043L1102.37 1.68046V137.381C1102.37 141.586 1103.61 143.527 1106.57 144.336L1118.43 147.517Z",fill:"black"}),a.jsx("path",{d:"M1279.83 102.499C1279.83 133.984 1259.57 157.437 1229.12 157.437C1215.59 157.437 1203.79 154.903 1189.83 142.826V21.7363C1189.83 17.6927 1188.16 16.884 1184.98 16.0214L1173.77 13.0562V7.98827L1202.28 0.386475L1206.92 1.62646V68.2098C1215.38 56.5645 1226.37 50.9035 1239.68 50.9035C1263.98 50.9035 1279.83 69.0724 1279.83 102.499ZM1260.59 104.386C1260.59 78.8307 1249.81 63.7888 1232.08 63.7888C1222.97 63.7888 1214.57 67.9941 1206.92 77.5368V138.837C1212.63 147.085 1221.52 149.619 1229.71 149.619C1249.97 149.619 1260.54 131.882 1260.54 104.386H1260.59Z",fill:"black"}),a.jsx("path",{d:"M1293.57 147.517L1305.43 144.336C1308.39 143.473 1309.63 141.586 1309.63 137.812V73.763C1309.63 69.5577 1308.34 67.8325 1305.43 67.0238L1293.57 64.0585V58.775L1322.08 50.9575L1326.71 52.2514V137.651C1326.71 141.694 1328 143.581 1330.91 144.39L1342.77 147.571V154.31H1293.57V147.571V147.517ZM1306.02 20.065C1306.02 13.1102 1311.3 7.82666 1318.25 7.82666C1325.2 7.82666 1330.27 13.1102 1330.27 20.065C1330.27 27.0199 1324.99 32.0878 1318.25 32.0878C1311.51 32.0878 1306.02 26.8042 1306.02 20.065Z",fill:"black"}),a.jsx("path",{d:"M1356.51 104.17C1356.51 72.2534 1376.56 50.9036 1404.9 50.9036C1433.25 50.9036 1453.51 72.2534 1453.51 104.17C1453.51 136.087 1433.47 157.437 1404.9 157.437C1376.34 157.437 1356.51 136.303 1356.51 104.17ZM1434.22 104.17C1434.22 75.2186 1422.58 59.7993 1404.85 59.7993C1387.12 59.7993 1375.48 75.2186 1375.48 104.17C1375.48 133.122 1387.28 148.541 1404.85 148.541C1422.42 148.541 1434.22 133.122 1434.22 104.17Z",fill:"black"}),a.jsx("path",{d:"M1535.64 144.336C1528.47 152.8 1520.23 157.437 1509.23 157.437C1494.25 157.437 1485.36 148.541 1485.36 132.097V63.8428H1465.69V55.3784C1484.28 54.9471 1493.34 46.4826 1493.98 28.3137H1502.66V54.0844H1531.6V63.7889H1502.66V129.078C1502.66 139.645 1507.29 144.929 1516.83 144.929C1522.76 144.929 1529.07 142.611 1534.13 138.567L1535.59 144.282L1535.64 144.336Z",fill:"black"}),a.jsx("path",{d:"M1627.52 125.52L1634.26 127.407C1628.76 147.894 1614.21 157.437 1594.76 157.437C1566.25 157.437 1547.01 136.95 1547.01 103.739C1547.01 72.469 1564.53 50.9036 1591.79 50.9036C1619.06 50.9036 1635.93 70.7438 1635.93 100.342H1564.96C1565.17 128.647 1577.62 144.713 1598.53 144.713C1609.95 144.713 1620.73 140.67 1627.47 125.466L1627.52 125.52ZM1565.01 92.1475H1616.53C1615.88 70.582 1607.26 59.368 1590.98 59.368C1574.71 59.368 1565.23 71.822 1565.01 92.1475Z",fill:"black"}),a.jsx("path",{d:"M1734.82 125.304L1741.17 127.191C1735.68 146.438 1722.37 157.437 1703.56 157.437C1675.05 157.437 1655.81 135.656 1655.81 105.68C1655.81 72.9004 1676.51 50.9575 1707.76 50.9575C1725.71 50.9575 1741.55 60.4463 1741.55 71.876C1741.55 79.4778 1735.84 83.8987 1727.16 83.8987C1726.09 83.8987 1724.85 83.6831 1723.55 83.4675L1717.19 60.8776C1714.66 59.5837 1711.7 58.9906 1707.71 58.9906C1686.58 58.9906 1674.78 73.3856 1674.78 101.043C1674.78 128.701 1686.58 144.767 1706.04 144.767C1718.7 144.767 1728.03 139.484 1734.76 125.304H1734.82Z",fill:"black"}),a.jsx("path",{d:"M1866.47 147.517V154.256H1817.27V147.517L1829.12 144.336C1832.09 143.473 1833.33 141.802 1833.33 137.812V89.1822C1833.33 72.0377 1825.94 64.0046 1811.99 64.0046C1802.88 64.0046 1794.47 67.8324 1786.66 77.7525V137.327C1786.66 141.532 1787.95 143.473 1790.86 144.282L1802.72 147.463V154.202H1753.52V147.463L1765.37 144.282C1768.34 143.419 1769.57 141.748 1769.57 137.758V21.7363C1769.57 17.6927 1767.9 16.884 1764.72 16.0214L1753.52 13.0562V7.98827L1782.02 0.386475L1786.66 1.62646V68.2098C1795.33 56.5645 1806.11 50.9035 1819.21 50.9035C1837.8 50.9035 1850.46 62.9263 1850.46 85.57V137.543C1850.46 141.586 1851.7 143.473 1854.67 144.282L1866.52 147.463L1866.47 147.517Z",fill:"black"}),a.jsx("path",{d:"M2009.65 125.304L2016.01 127.191C2010.51 146.438 1997.2 157.437 1978.4 157.437C1949.89 157.437 1930.65 135.656 1930.65 105.68C1930.65 72.9004 1951.34 50.9575 1982.6 50.9575C2000.54 50.9575 2016.39 60.4463 2016.39 71.876C2016.39 79.4778 2010.68 83.8987 2002 83.8987C2000.92 83.8987 1999.68 83.6831 1998.39 83.4675L1992.03 60.8776C1989.5 59.5837 1986.53 58.9906 1982.54 58.9906C1961.42 58.9906 1949.62 73.3856 1949.62 101.043C1949.62 128.701 1961.42 144.767 198
760.87 144.767C1993.54 144.767 2002.86 139.484 2009.6 125.304H2009.65Z",fill:"black"}),a.jsx("path",{d:"M2032.88 104.17C2032.88 72.2534 2052.93 50.9036 2081.27 50.9036C2109.62 50.9036 2129.88 72.2534 2129.88 104.17C2129.88 136.087 2109.83 157.437 2081.27 157.437C2052.71 157.437 2032.88 136.303 2032.88 104.17ZM2110.64 104.17C2110.64 75.2186 2099 59.7993 2081.27 59.7993C2063.54 59.7993 2051.9 75.2186 2051.9 104.17C2051.9 133.122 2063.7 148.541 2081.27 148.541C2098.84 148.541 2110.64 133.122 2110.64 104.17Z",fill:"black"}),a.jsx("path",{d:"M2309.65 147.517V154.256H2261.04V147.517L2272.47 144.551C2275.43 143.689 2276.67 141.802 2276.67 137.812V86.0553C2276.67 71.876 2269.94 64.0585 2258.08 64.0585C2249.4 64.0585 2241.59 68.1021 2235.88 75.2726C2236.31 78.2378 2236.53 81.2031 2236.53 84.384V137.435C2236.53 141.856 2237.76 143.581 2240.73 144.39L2252.15 147.571V154.31H2203.55V147.571L2215.19 144.605C2218.15 143.743 2219.39 141.856 2219.39 138.028V87.511C2219.39 71.6604 2213.25 64.0585 2200.58 64.0585C2193.63 64.0585 2184.95 68.6951 2179.03 77.3752V137.597C2179.03 141.64 2180.26 143.527 2183.23 144.336L2195.08 147.517V154.256H2145.88V147.517L2157.74 144.336C2160.7 143.473 2161.94 141.586 2161.94 137.812V73.763C2161.94 69.5577 2160.86 67.8325 2157.74 67.0238L2145.88 64.0585V58.775L2174.61 50.9575L2179.03 52.2514V68.102C2185.55 57.535 2196.32 50.9575 2207.1 50.9575C2221.06 50.9575 2229.9 56.6724 2234.15 68.102C2241.11 57.1037 2251.88 50.9575 2263.74 50.9575C2283.41 50.9575 2293.76 62.1716 2293.76 82.8744V137.597C2293.76 141.802 2295.05 143.527 2297.96 144.336L2309.6 147.517H2309.65Z",fill:"black"}),a.jsx("path",{d:"M2425.84 102.715C2425.84 136.087 2405.36 157.437 2377.23 157.437C2368.12 157.437 2360.1 156.143 2352.93 153.016V174.366C2352.93 177.978 2353.79 178.787 2358.64 179.865L2374.92 183.261V190.216H2320V183.261L2331.64 179.865C2335.04 179.002 2335.85 178.194 2335.85 174.366V73.9786C2335.85 70.7977 2334.98 69.7733 2331 68.4794L2319.79 65.5142V60.015L2348.29 52.4132L2352.93 53.8689V68.2638C2361.17 56.8341 2371.74 50.9575 2383.97 50.9575C2409.51 50.9575 2425.79 71.229 2425.79 102.715H2425.84ZM2406.6 104.386C2406.6 78.8308 2396.04 63.7889 2378.09 63.7889C2368.61 63.7889 2360.36 68.2098 2352.98 77.3212V139.052C2358.48 146.87 2367.37 149.619 2375.56 149.619C2395.45 149.619 2406.6 133.122 2406.6 104.386Z",fill:"black"}),a.jsx("path",{d:"M2540.95 146.654C2535.45 153.178 2529.09 156.143 2521.33 156.143C2513.95 156.143 2509.32 151.506 2507.16 143.258C2498.05 152.153 2486.68 157.437 2476.12 157.437C2459.63 157.437 2448.26 146.654 2448.26 132.691C2448.26 118.727 2457.15 108.807 2474.23 104.17L2506.57 95.4902V84.7074C2506.57 67.5629 2498.11 60.1767 2483.77 60.1767C2476.6 60.1767 2471.92 61.255 2466.04 64.382L2471.11 83.6292C2467.93 86.1631 2463.73 87.6727 2459.47 87.6727C2453.11 87.6727 2448.91 83.6291 2448.91 77.7525C2448.91 64.4359 2467.5 50.9036 2488.84 50.9036C2512.28 50.9036 2523.7 61.4707 2523.7 85.1388V138.621C2523.7 145.145 2530.44 147.732 2539.98 142.449L2541.06 146.654H2540.95ZM2483.29 145.414C2492.39 145.414 2498.91 142.665 2506.51 135.71V103.362L2483.72 109.885C2471.86 113.282 2466.42 119.212 2466.42 128.701C2466.42 139.484 2472.78 145.414 2483.34 145.414H2483.29Z",fill:"black"}),a.jsx("path",{d:"M2664.08 147.517V154.256H2614.67V147.517L2626.52 144.336C2629.7 143.473 2630.73 141.802 2630.73 137.812V89.1822C2630.73 72.0377 2623.34 64.0046 2609.39 64.0046C2600.28 64.0046 2591.87 67.8324 2584.01 77.7525V137.543C2584.01 141.586 2585.3 143.473 2588.26 144.282L2600.12 147.463V154.202H2550.92V147.463L2562.77 144.282C2565.74 143.419 2567.03 141.532 2567.03 137.758V73.709C2567.03 69.5037 2565.95 67.7785 2562.77 66.9698L2550.92 64.0046V58.721L2579.64 50.9036L2584.06 52.1975V68.4794C2592.52 56.6184 2603.73 50.9575 2616.61 50.9575C2635.2 50.9575 2648.08 62.9802 2648.08 85.6239V137.597C2648.08 141.64 2649.16 143.527 2652.28 144.336L2664.14 147.517H2664.08Z",fill:"black"}),a.jsx("path",{d:"M2766.74 54.0844V61.2549C2759.14 63.5732 2758.07 64.4358 2754.73 72.469L2713.98 167.141C2704.72 188.06 2695.61 193.343 2684.4 193.343C2674.91 193.343 2667.69 187.413 2667.69 179.164C2667.69 170.915 2673.84 167.141 2684.83 166.926L2689.47 182.776C2694.75 182.345 2700.46 177.277 2705.09 166.063L2710.16 154.202L2674.7 71.1211C2671.74 64.3819 2670.06 63.088 2662.84 61.201V54.0305H2707.84V61.201L2700.24 63.088C2694.1 64.7593 2692.21 69.2341 2696.42 79.3699L2718.78 133.499L2741.58 79.3699
76C2745.99 69.0185 2743.68 64.8132 2737.37 63.088L2730.42 61.201V54.0305H2766.74V54.0844Z",fill:"black"})]})}function Zh({type:r="roche"}){return a.jsx(a.Fragment,{children:r&&a.jsx("div",{className:"tagline-container",children:a.jsxs("div",{className:"tagline-wrapper",children:[r==="biotech"&&a.jsx(Xh,{}),r==="roche"&&a.jsx(Gh,{})]})})})}function Qh({block:r,setOnEnter:e=null,setOnExit:t=null,setOnProgress:n=null,shouldFadeOut:i=!0}){const[s,o]=b.useState(r.transition==="stack"?!0:r.index===0),[c,l]=b.useState(r.transition==="stack"?!0:r.index===0),u=b.useRef(0),d=b.useRef(null),h=b.useRef(null),[m,f]=b.useState(r.transition==="fade"?r.index===0:1),g=b.useRef(!1),p=b.useRef(null);e=b.useCallback(e,[]),t=b.useCallback(t,[]),n=b.useCallback(n,[]);const _=b.useCallback(S=>r.index===0?S<.85?1:0:i?S>=.2&&S<.8?1:0:S>=.3?1:0,[r.index,i]);b.useEffect(()=>{typeof e=="function"&&e(S=>{S!=="none"&&r.transition!=="stack"&&(l(!0),r.transition==="fade"&&f(_(u.current||0)),o(!0))}),typeof t=="function"&&t(()=>{if(r.transition!=="stack"){if(l(!1),r.transition==="fade"){f(0);return}o(!1)}}),typeof n=="function"&&n(S=>{if(r.transition==="stack")return;u.current=S;const N=_(S)>0;if(r.transition==="fade"){const P=_(S);f(P),P>0?o(!0):P===0&&!c&&o(!1);const k=d.current,T=h.current;if(k&&T&&typeof k.getBoundingClientRect=="function"&&typeof T.getBoundingClientRect=="function"){const F=k.getBoundingClientRect(),M=T.getBoundingClientRect();p.current=window.innerHeight/2-M.height/2;const A=F.top;!i&&A<=0?g.current||(g.current=!0):g.current&&(g.current=!1)}}else N?o(!0):c||o(!1)})},[e,t,n,r.id,r.transition,r.index,_,c,i]);const[x,v]=b.useState(()=>{var P;if(!((P=r==null?void 0:r.photos)!=null&&P["block_flexible_cta/image_background"]))return null;const S=typeof window<"u"?window.innerWidth:1280,N=r.photos["block_flexible_cta/image_background"];return S>=1280?N.src_lg||N.src_md||N.src_sm:S>=960?N.src_md||N.src_lg||N.src_sm:N.src_sm||N.src_md||N.src_lg});b.useEffect(()=>{var N;if(!((N=r==null?void 0:r.photos)!=null&&N["block_flexible_cta/image_background"]))return;const S=()=>{const P=window.innerWidth,k=r.photos["block_flexible_cta/image_background"];let T;P>=1280?T=k.src_lg:P>=960?T=k.src_md||k.src_lg:T=k.src_sm||k.src_md||k.src_lg,T!==x&&v(T)};return window.addEventListener("resize",S),()=>window.removeEventListener("resize",S)},[r==null?void 0:r.photos,x]);const w=B1(!x||!r.image_mask||r.image_alignment==="center"?null:x),y=r.html_content||r.image===1,j=!!r.html_content;return a.jsx("div",{ref:d,className:`flexible-cta ${r.type==="full_screen_cta"?"full":"half"} ${r.image?" image-"+r.image_alignment:""}
77      ${y?"has-content":"no-content"}
78      ${j?"has-text":"no-text"}
79      `,style:{width:"100%",height:r.transition==="scroll"&&r.index!==0?"150vh":"100vh"},children:a.jsx("div",{style:{position:r.transition==="fade"&&!g.current?"fixed":"relative",top:0,left:0,width:"100%",height:"100%",display:s?"block":"none",opacity:r.transition==="fade"?m:1,transitionBehavior:"allow-discrete",transitionProperty:"opacity, display",transitionDuration:r.transition==="fade"?"0.3s":"0s"},children:a.jsx("div",{className:"content-wrapper",children:a.jsxs("div",{ref:h,className:`content-container${r.image?" image-"+r.image_alignment:""}`,children:[r.bar_background==="image"&&a.jsx("div",{className:"background",children:a.jsx("div",{className:"background-image",children:a.jsx(At,{images:r.photos["block_flexible_cta/bar_background_image"]})})}),a.jsxs("div",{className:"content",children:[a.jsx("div",{style:{width:"100%",backgroundColor:r.bar_background==="color"?r.bar_background_color:"transparent"}}),r.image===1&&r.photos["block_flexible_cta/image_background"]&&(!r.image_mask||w&&r.image_mask)?a.jsx("div",{className:`bar-image-container ${r.image_mask?"with-mask":"no-mask"}`,style:{backgroundColor:r.image_alignment!=="center"&&r.bar_background==="color"?r.bar_background_color:"transparent",maskImage:r.image_mask&&r.image_alignment!=="center"&&w?`url('${x}'), linear-gradient(black, black)`:"none",transform:r.image_mask?"translateZ(0)":"translateZ(-50%, -50%, 0)",flexShrink:0},children:(!r.image_mask||r.image_alignment==="center")&&a.jsxs("picture",{children:[a.jsx("source",{srcSet:`${r.ph
79otos["block_flexible_cta/image_background"].src_lg}, ${r.photos["block_flexible_cta/image_background"].src_retina_lg} 2x`,media:"(min-width:1280px)"}),a.jsx("source",{srcSet:`${r.photos["block_flexible_cta/image_background"].src_md}, ${r.photos["block_flexible_cta/image_background"].src_retina_md} 2x`,media:"(min-width:960px)"}),a.jsx("source",{srcSet:`${r.photos["block_flexible_cta/image_background"].src_sm}, ${r.photos["block_flexible_cta/image_background"].src_retina_sm} 2x`}),a.jsx("img",{style:{width:"100%"},srcSet:r.photos["block_flexible_cta/image_background"].loading,alt:r.photos["block_flexible_cta/image_background"].caption})]})}):null,r.html_content&&a.jsx("div",{className:"content-bar",style:{backgroundColor:r.bar_background==="color"?r.bar_background_color:"transparent",flexShrink:0},children:a.jsxs("div",{className:`text text-${r.text_alignment}`,children:[r.html_content&&a.jsx("div",{dangerouslySetInnerHTML:{__html:r.html_content},style:{color:r.text_color}}),a.jsxs("div",{className:`buttons text-${r.text_alignment}`,children:[r.button1_text&&a.jsx("a",{className:"button",href:r.button1_link,target:r.button1_target,style:{backgroundColor:r.button1_background_color,color:r.button1_text_color},children:r.button1_text}),r.button2_text&&a.jsx("a",{className:"button",href:r.button2_link,target:r.button2_target,style:{backgroundColor:r.button2_background_color,color:r.button2_text_color,padding:"12px 48px",borderRadius:"50px",textDecoration:"none"},children:r.button2_text})]})]})}),a.jsx("div",{style:{width:"100%",backgroundColor:r.bar_background==="color"?r.bar_background_color:"transparent"}})]})]})})})})}function Jh(){return a.jsx("svg",{width:"0",height:"0",style:{position:"absolute",width:0,height:0,overflow:"hidden"},"aria-hidden":"true",focusable:"false",children:a.jsx("defs",{children:a.jsxs("filter",{id:"liquidGlass",x:"0%",y:"0%",width:"100%",height:"100%",filterUnits:"objectBoundingBox",colorInterpolationFilters:"sRGB",children:[a.jsx("feImage",{preserveAspectRatio:"none",href:"/assets/frontend/svg/liquid-glass.svg",result:"displacementMap"}),a.jsx("feGaussianBlur",{in:"displacementMap",stdDeviation:"8",result:"blurredMap"}),a.jsx("feDisplacementMap",{in:"SourceGraphic",in2:"blurredMap",scale:"200",xChannelSelector:"R",yChannelSelector:"G"}),a.jsx("feColorMatrix",{type:"matrix",values:"1 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0",result:"displacedR"}),a.jsx("feDisplacementMap",{in:"SourceGraphic",in2:"blurredMap",scale:"190",xChannelSelector:"R",yChannelSelector:"G"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0  0 1 0 0 0  0 0 0 0 0  0 0 0 1 0",result:"displacedG"}),a.jsx("feDisplacementMap",{in:"SourceGraphic",in2:"blurredMap",scale:"180",xChannelSelector:"R",yChannelSelector:"G"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0  0 0 0 0 0  0 0 1 0 0  0 0 0 1 0",result:"displacedB"}),a.jsx("feBlend",{in:"displacedR",in2:"displacedG",mode:"screen"}),a.jsx("feBlend",{in2:"displacedB",mode:"screen"})]})})})}const Oc=1500,q1=b.forwardRef(({blocks:r,customBackgroundColor:e,customTextColor:t,intersectionHooks:n,onIntersection:i=null,onContentResize:s=null},o)=>{const c=b.useRef(0),[l,u]=b.useState({}),[d,h]=b.useState(document.getElementsByClassName("side-story--open").length),m=b.useRef(null);b.useLayoutEffect(()=>{const _=()=>{o.current&&Object.values(o.current).forEach(x=>{x&&x.isImageSlide&&typeof x.applyDuctTape=="function"&&x.applyDuctTape(c.current)})};return window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}},[o]),b.useLayoutEffect(()=>{const _=o.current?Object.values(o.current):[];return()=>{_.forEach(x=>{x!=null&&x._resizeObserver&&x._resizeObserver.disconnect()})}},[o]),b.useLayoutEffect(()=>{m.current=new el;const _=()=>{var w;const x={...l};var v=!1;(w=m.current)==null||w.updateState();for(const y of r){if(y.index===null||y.index===void 0||l[y.index]||!o.current[y.index])continue;const j=o.current[y.index],S=m.current.pageBot>=j.top-Oc||m.current.pageTop>=j.bot+Oc;x[y.index]=S,l[y.index]!==S&&(v=!0)}v&&u(x)};return i(()=>{window.requestAnimationFrame(()=>{_()})}),window.addEventListener("scroll",_,{passive:!0}),()=>{window.removeEventListener("scroll",_)}
79},[o,l,r]),b.useLayoutEffect(()=>{const _=window.location.hash;if(_){if(window.scrollY===0){const w=_.replace("#",""),y=document.getElementById(w);y&&y.scrollIntoView({behavior:"instant",block:"start"})}const x=document.querySelectorAll(".js-launch-side-story");let v=!1;x.forEach(w=>{w.href.includes(window.location.hash)&&(v=!0)}),h(v),document.querySelectorAll(".js-launch-side-story").forEach(w=>w.addEventListener("click",()=>h(!0))),document.querySelectorAll(".js-close-side-story").forEach(w=>w.addEventListener("click",()=>h(!1)))}return()=>{document.querySelectorAll(".js-launch-side-story").forEach(x=>x.removeEventListener("click",()=>h(!0))),document.querySelectorAll(".js-close-side-story").forEach(x=>x.removeEventListener("click",()=>h(!1)))}},[]);const f=(_,x,v,w)=>{if(!_||o.current[x.index])return null;const y=new r2({element:_,index:x.index,isFirst:r[v].isFirst,isImageSlide:w});if(v===0&&(c.current=y.rect.y),y.applyDuctTape(c.current),typeof ResizeObserver<"u"){const j=new ResizeObserver(()=>{y.updateElement(_),typeof s=="function"&&s(x.index)});j.observe(_),y._resizeObserver=j}return o.current[x.index]=y,y},g=_=>{var v;return((v=_==null?void 0:_.blocks)==null?void 0:v.some(w=>w.type==="side_story"))&&d};let p=0;return a.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",zIndex:1,pointerEvents:"none"},children:a.jsx("div",{style:{pointerEvents:"auto"},children:a.jsxs("div",{className:"scrolling-slideshow",children:[a.jsx(Jh,{}),r==null?void 0:r.map((_,x)=>{var w,y;const v={};switch(_.type){case"half_screen_cta":case"full_screen_cta":return a.jsx("div",{className:"slide","data-type":"flexible_cta",ref:j=>f(j,_,x),id:`slide_${p++}`,style:{position:"relative",zIndex:2},children:a.jsx(Qh,{block:_,setOnEnter:j=>{var N;const S=_.index??x;(N=n.current[S])!=null&&N.foreground&&(n.current[S].foreground.onEnter=j)},setOnExit:j=>{var N;const S=_.index??x;(N=n.current[S])!=null&&N.foreground&&(n.current[S].foreground.onExit=j)},setOnProgress:j=>{var N;const S=_.index??x;(N=n.current[S])!=null&&N.foreground&&(n.current[S].foreground.onProgress=j)}})},`fg-${x}`);case"gene_animation":return a.jsx("div",{className:"slide gene-animation-slide","data-type":"gene_animation",ref:j=>f(j,_,x),id:`slide_${p++}`,style:{position:"relative",zIndex:2},children:a.jsx(Uh,{block:_})},`fg-${x}`);case"video_background":return"";case"image_slide":{const j=o.current[_.index]?o.current[_.index].isAbove:!1,S=o.current[_.index]?o.current[_.index].isBelow:!1;return a.jsx("div",{className:`slide${_.isFirst&&_.index===0||_.index===1&&((w=r[x-1])==null?void 0:w.type)==="anchor"?" title-slide":""}${_.theme?` theme-${_.theme}`:""}${_.translucent?" is-translucent":""}${_.alignment?` ${_.alignment}`:""}`,"data-type":"image_slide",ref:N=>f(N,_,x,!0),id:`slide_${p++}`,children:a.jsx(s2,{block:_,prevBlockIsAnchor:((y=r[x-1])==null?void 0:y.type)==="anchor",isAbove:j,isBelow:S})},`fg-${x}`)}case"anchor":return a.jsx(af,{anchorSlug:_.anchor_slug},`fg-${x}`);default:return g(_)&&(v.zIndex=100),a.jsx("div",{className:"slide content-slide","data-type":"content_slide",ref:j=>f(j,_,x),id:`slide_${p++}`,style:v,children:a.jsx(n2,{blocks:_,customBackgroundColor:e,customTextColor:t,shouldLoad:l[_.index]})},`fg-${x}`)}})]})})})});q1.displayName="ForegroundSlides";const Kh=({block:r,dotsAreHovered:e,handleDotClick:t,hasTooltip:n,highlightedDots:i,isMobile:s,setDotsAreHovered:o,showTooltip:c})=>{const[l,u]=b.useState(!1),d=()=>{u(!0),o(!0)},h=()=>{u(!1),o(!1)},m=()=>{const g=["progress-indicator__dot"];return i[r.goesTo]&&g.push("progress-indicator__dot--scrolled-past"),g.join(" ")},f=()=>{const g=["progress-indicator__text"],p={bold:l,highlighted:i[r.goesTo],showing:c};return p.bold&&g.push("progress-indicator__text--bold"),p.highlighted&&g.push("progress-indicator__text--highlighted"),p.showing&&g.push("progress-indicator__text--showing"),g.join(" ")};return a.jsxs("a",{className:`progress-indicator__dot__container${n?" progress-indicator__dot__container--has-tooltip":""}`,onClick:t,href:window.location.href.replace(window.location.hash,"")+"#"+r.anchor_slug,onMouseEnter:d,onMouseLeave:h,"data-goes-to":r.goesTo,"data-slug":r.anchor_slug,children:[a.jsx("div",{className:m(),"data-goes-to":r.goesTo,"data-slug":r.anchor_slug}),c?a.jsx("div",{className:f(),"data-goes-to":r.goesTo,"data-slug":r.anchor_slug,children:r.label}):""]})},e0=b.forwardRef(({blocks:r,showTooltips:e},t)=>{const[n,i]=b.useState({}),[s,o]=b.useState(!1),[c,l]=b.useState(!1),[u,d]=b.useState(!1),[h,m]=b.useState(document.getElementsByClassName("side-story--open").length),[f,g]=b.useState(screen.width<768);r.find(j=>j.type!=="anchor");const p=r.slice().reverse().find(j=>j.type!=="anchor"),_=b.useRef({});b.useEffect(()=>{x(),setInterval(x,16);const j=document.querySelectorAll(".js-launch-side-story"),S=document.querySelectorAll(".js-close-side-story"),N=document.querySelectorAll(".js-launch-side-story");let P=!1;
79N.forEach(k=>{if(window.location.hash!=""){var T="#"+k.href.split("#").pop();window.location.hash==T&&(P=!0)}}),m(P),j.forEach(k=>k.addEventListener("click",T=>m(!0))),S.forEach(k=>k.addEventListener("click",T=>m(!1)))},[]),b.useEffect(()=>{g(screen.width<768)},[screen.width]),b.useEffect(()=>{d(c&&!f)},[c]);const x=()=>{const j={};for(const k of r){if(k.type!=="anchor"||!t.current[k.goesTo])continue;const T=t.current[k.goesTo].top;window.pageYOffset>=T-25?j[k.goesTo]=!0:j[k.goesTo]=!1}JSON.stringify(_.current)!==JSON.stringify(j)&&(_.current=j,i({...j}));const S=window.pageYOffset+window.innerHeight,P=t.current[p.index]&&S>t.current[p.index].bot+100;o(P)},v=j=>{j.preventDefault();const S=t.current[j.target.dataset.goesTo],N=Math.abs(window.pageYOffset-t.current[j.target.dataset.goesTo].rect.y)>5;if(f&&!u){l(!0),d(!0);return}!s&&S&&N&&(history.replaceState({},"","#"+j.target.dataset.slug),t.current[j.target.dataset.goesTo].element.scrollIntoView({behavior:"smooth"}),l(!1))},w=()=>r.filter(j=>j.type==="anchor").map(j=>a.jsx(Kh,{block:j,dotsAreHovered:c,handleDotClick:v,hasTooltip:e,highlightedDots:n,isMobile:f,setDotsAreHovered:l,showTooltip:e&&u},`goes-to-${j.goesTo}`)),y=()=>e?a.jsx("div",{className:`progress-indicator__bg${u?" progress-indicator__bg--hovered":""}${s?" progress-indicator__bg--hidden":""}`}):"";return a.jsxs(an.Fragment,{children:[a.jsx("div",{className:`progress-indicator${s||h?" progress-indicator--hidden":""}`,children:a.jsx("div",{className:"progress-indicator__container",children:w()})}),y()]})}),t0=({author:r,blocks:e,story:t})=>{const n=b.useRef([]),i=b.useRef([]),s=b.useRef([]),o=b.useRef([]),c=b.useRef(new Set),l=b.useRef(typeof window<"u"?window.pageYOffset:0),[u,d]=b.useState(0);if(s.current.length<e.length)for(let p=s.current.length;p<e.length;p++)s.current[p]={foreground:{slideIndex:p,onEnter:null,onExit:null,onProgress:null},background:{slideIndex:p,onEnter:null,onExit:null,onProgress:null}};const h=b.useCallback(p=>{const _=typeof window<"u"?window.pageYOffset:0;let x="none";_>l.current?x="down":_<l.current&&(x="up"),l.current=_,p.forEach(v=>{var N,P,k,T,F,M,A,L,R,O,D,V,$,C,I,H,B,q;const w=v.target.dataset.slideIndex,y=v.boundingClientRect,j=window.innerHeight;let S=0;if(y.height>0){const Y=j-y.top,fe=y.height+j;S=Math.max(0,Math.min(1,Y/fe))}if((k=(P=(N=s.current[w])==null?void 0:N.foreground)==null?void 0:P.onProgress)==null||k.call(P,S,x),(M=(F=(T=s.current[w])==null?void 0:T.background)==null?void 0:F.onProgress)==null||M.call(F,S,x),v.isIntersecting){if(v.intersectionRatio>=.5&&u!==w&&d(w),c.current.has(w))return;c.current.add(w),(R=(L=(A=s.current[w])==null?void 0:A.foreground)==null?void 0:L.onEnter)==null||R.call(L,x),(V=(D=(O=s.current[w])==null?void 0:O.background)==null?void 0:D.onEnter)==null||V.call(D,x)}else{if(!c.current.has(w))return;(I=(C=($=s.current[w])==null?void 0:$.foreground)==null?void 0:C.onExit)==null||I.call(C,x),(q=(B=(H=s.current[w])==null?void 0:H.background)==null?void 0:B.onExit)==null||q.call(B,x),c.current.delete(w)}}),o.current.forEach(v=>{try{v(p,x)}catch(w){console.error("intersection handler error",w)}})},[u]),m=p=>{var v,w;const _=(v=n.current)==null?void 0:v[p],x=(w=i.current)==null?void 0:w[p];if(_!=null&&_.element&&(x!=null&&x.element)){const y=Math.ceil(_.element.getBoundingClientRect().height);x.element.style.height=`${y}px`}try{window.dispatchEvent(new Event("resize"))}catch{}},f=()=>t.show_table_of_contents?a.jsx(e0,{blocks:e,showTooltips:!0,ref:n}):null;b.useLayoutEffect(()=>{const p=new IntersectionObserver(h,{root:null,threshold:Array.from({length:101},(_,x)=>Number((x*.01).toFixed(2)))});return e.forEach(_=>{var v,w,y,j,S,N,P,k,T,F,M,A,L,R,O;const x=(v=n.current)==null?void 0:v[_.index];x!=null&&x.element&&(p.observe(x.element),s.current[_.index]={foreground:{slideIndex:((w=x.element.dataset)==null?void 0:w.slideIndex)??_.index,onEnter:((j=(y=s.current[_.index])==null?void 0:y.foreground)==null?void 0:j.onEnter)||null,onExit:((N=(S=s.current[_.index])==null?void 0:S.foreground)==null?void 0:N.onExit)||null,onProgress:((k=(P=s.current[_.index])==null?void 0:P.foreground)==null?void 0:k.onProgress)||null},background:{slideIndex:((T=x.element.dataset)==null?void 0:T.slideIndex)??_.index,onEnter:((M=(F=s.current[_.index])==null?void 0:F.background)==null?void 0:M.onEnter)||null,onExit:((L=(A=s.current[_.index])==null?void 0:A.background)==null?void 0:L.onExit)||null,onProgress:((O=(R=s.current[_.index])==null?void 0:R.background)==null?void 0:O.onProgress)||null}})}),()=>{p.disconnect()}},[e,h]);const g=()=>{if(t.byline_position==="bottom")return a.jsx(ma,{author:r,children:a.jsx(_a,{publishDate:t.published_at})})};return a.jsxs("div",{className:"content scrolling-slideshow-content",style:{backgroundColor:t.background_color},children:[f(),a.jsxs("section",{className:"slides-container",style:{position:"relative"},children:[a.jsx(nl,{blocks:e.filter(p=>p.type!=="anchor"),fgSlidesRef:n,bgSlidesRef:i,intersectionHooks:s,visibleIndex:u}
79),a.jsx(q1,{blocks:e,customBackgroundColor:t.background_color,customTextColor:t.text_color,ref:n,intersectionHooks:s,onIntersection:p=>{o.current.push(p)},onContentResize:m})]}),g(),a.jsx(Jc,{tags:t.tags,customBackgroundColor:t.background_color,customTextColor:t.text_color})]})},n0=({story:r})=>{const[e,t]=b.useState(r.content),[n,i]=b.useState(r.header.photo);return b.useEffect(()=>{const s=document.getElementsByClassName("block-accordion"),o=()=>{for(let c of s){const l=c.getElementsByClassName("block-accordion__header")[0],u=c.getElementsByClassName("block-accordion__body")[0];l.onclick=d=>{l.classList.toggle("expanded"),u.classList.toggle("expanded")}}};s.length>0&&o()},[e]),a.jsxs("div",{className:"legacy-story constrained",children:[a.jsx("div",{className:"hero-image js-hero-image",children:a.jsx(At,{images:n,className:"spark-responsive-img--cover",lazy:!0})}),a.jsx("div",{className:"l-grid",children:a.jsx("div",{className:"l-content-container",children:a.jsx("div",{className:"l-content legacy-story__container",children:a.jsx("section",{className:"container sheet-wrap-container freeform-content-block",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",children:a.jsx("div",{className:"freeform-content-block__wrapper",dangerouslySetInnerHTML:{__html:e}})})})})})})})})]})},bo=b.createContext({selectedAnchor:"content-requirements",setSelectedAnchor:()=>{}}),r0=({anchorSlug:r})=>
79a.jsx("a",{className:"js-scrolldepth-element anchor-block",id:r}),i0=({block:r})=>a.jsx("section",{className:"container sheet-wrap-container freeform-content-block",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",children:a.jsx("div",{className:"factoid",dangerouslySetInnerHTML:{__html:r.content}})})})})}),s0=({block:r})=>a.jsx("section",{className:"container sheet-wrap-container freeform-content-block",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",children:a.jsx("div",{className:"class-name-switcher spacer-btm-medium","data-class-name":"sheet-wrap",children:a.jsx("div",{className:"side-story-tout__inner job-block background--gray20",style:{"border-width":"0px"},children:a.jsxs("a",{href:r.target_path,style:{"text-decoration":"none"},children:[a.jsx("div",{className:"job-block__job-title type--white clamp",children:r.heading}),a.jsx("div",{className:"job-block__job-description type--white clamp",children:r.text}),a.jsx("div",{className:"job-block__footer",children:a.jsx("div",{className:"job-block__job-location clamp",children:"Explore career opportunities at Genentech"})})]})})})})})})}),a0=({block:r})=>a.jsx("section",{className:"container sheet-wrap-container freeform-content-block",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"inset-story__wrapper",children:a.jsx("div",{className:"inset-story",children:a.jsxs("div",{className:"inset-story__content-wrapper",children:[a.jsx("h3",{className:"inset-story__title",children:r.title}),a.jsx("div",{className:"inset-story__content",children:a.jsx("div",{dangerouslySetInnerHTML:{__html:r.content}})})]})})})})})}),o0=({block:r})=>a.jsx("section",{className:"container sheet-wrap-container freeform-content-block",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",children:a.jsx("div",{className:"class-name-switcher spacer-btm-medium","data-class-name":"sheet-wrap",children:a.jsx("div",{className:"side-story-tout__inner job-block background--gray20",style:{"border-width":"0px"},children:a.jsxs("a",{href:r.target_path,style:{"text-decoration":"none"},children:[a.jsx("div",{className:"job-block__job-family clamp"}),a.jsx("div",{className:"job-block__job-title type--white clamp"}),a.jsxs("div",{className:"job-block__footer",children:[a.jsx("div",{className:"job-block__job-location clamp"}),a.jsx("div",{className:"job-block__c2a",children:a.jsx("button",{className:"job-block__c2a-button"})})]})]})})})})})})}),c0=({block:r,customTextColor:e,customBackgroundColor:t})=>{const[n,i]=b.useState(!1);function s(){i(!0),document.body.style.overflow="hidden",document.body.classList.add("side-story-open")}function o(){i(!1),document.body.style.overflow="visible",document.body.classList.remove("side-story-open")}const c=()=>r.images.length===0?"":a.jsx("div",{className:"aspect aspect--16x9",style:{marginBottom:"1rem"},children:a.jsx(At,{images:r.images,caption:r.description,lazy:!0})});return a.jsxs("div",{children:[a.jsxs("div",{className:`side-story-slide ${n===!1?"slideOut":"slideIn"}`,children:[a.jsx("aside",{className:`side-story ${n===!1?"":"side-story--open"}`,id:r.anchor_slug,"aria-hidden":"true",tabIndex:"-1",dangerouslySetInnerHTML:{__html:r.content}}),a.jsxs("div",{className:"side-story-close",id:`${r.anchor_slug}-close`,"aria-hidden":"true",tabIndex:"-1",children:[a.jsx("a",{href:`#${r.anchor_slug}`,onClick:o,tabIndex:"0",className:"side-story-close__btn js-close-side-story",children:a.jsxs("div",{className:"side-story-close__btn-content",children:[a.jsx("div",{className:"side-story-close__back icon-btn icon-btn--large",children:a.jsx("svg",{className:"icon icon--medium fill--white block",children:a.jsx("use",{xlinkHref:"#icon-chevron-left"})})}),a.jsx("p",{className:"type-header-5",children:"Return to story"})]})}),a.jsxs("div",{className:"side-story-close__content",children:[a.jsx("p",{className:"type-header-5 type--right hidden@xs",children:"Share this story"}),a.jsxs("button",{className:"side-story-close__share-btn unstyled-button hidden@sm-md-lg",children:[a.jsx("svg",{className:"side-story-close__share-open icon fill--white",children:a.jsx("use",{xlinkHref:"#icon-share"})}),a.jsx("svg",{className:"side-story-close__share-close icon fill--white",children:a.jsx("use",{xlinkHref:"#icon-close"})})]}),a.jsxs("div",{className:"side-story-share",children:[a.jsx("a",{className:"js-share-story",href:"#","data-type":"facebook",children:a.jsx("svg",{className:"icon fill--white",children:a.jsx("use",{xlinkHref:"#icon-share-facebook"})})}),a.jsx("a",{className:"js-share-story",href:"#","data-type":"twitter",children:a.jsx("svg",{className:"icon fill--white",children:a.jsx("use",{xlinkHref:"#icon-share-twitter"})})}),a.jsx("a",{className:"js-share-story",href:"#","data-type":"linkedin",children:a.jsx("svg",{className:"icon fill--white",children:a.jsx("use",{xlinkHref:"#icon-share-linkedin"})})})]})]})]})]}),a.jsx("section",{className:"class-name-switcher",children:a.jsx("div",{className:"class-name-switcher side-story-tout__wrapper",style:{backgroundColor:"white"},children:a.jsx("div",{className:"class-name-switcher side-story-tout floated-story-content",children:a.jsx("div",{className:"class-name-switcher spacer-btm-medium",children:a.jsxs("div",{className:"side-story-tout__inner",children:[c(),a.jsxs("div",{className:"side-story-tout__content spacer-top-xsmall",children:[a.jsx("h1",{className:"type--left type-display-1 type-display-1--small side-story-tout__title",style:{color:e!==""&&e!==null?e:"#30373d"},children:r.title}),a.jsx("p",{className:"type-body-4 type--flat-btm spacer-top-xsmall",children:r.description}),a.jsx("div",{className:"spacer-top-xsmall",children:a.jsxs("a",{href:`#${r.anchor_slug}`,onClick:s,className:"js-launch-side-story side-story-tout__cta-link","data-target":r.anchor_slug,children:[a.jsx("button",{className:"icon-btn icon-btn--large icon-btn--light",children:a.jsx("svg",{className:"icon icon--medium block",children:a.jsx("use",{xlinkHref:"#icon-chevron-right"})})}),a.jsx("span",{className:"type-header-5",style:{color:e!==""&&e!==null?e:"#30373d",marginLeft:".5em",letterSpacing:".07em",textTransform:"none"},dangerouslySetInnerHTML:{__html:r.call_to_action}})]})})]})]})})})})})]})},Lc={en:{"Answer Prefix":"Correct answer: ","Answer Seperator":"and","Correct Answer":"Correct!","Incorrect Answer":"Incorrect!","Quiz Result Header":"You Scored","Quiz Score":"%s out of %s","Quiz Clear":"Take It Again"},es:{"Answer Prefix":"La respuesta correcta: ","Answer Seperator":"y","Correct Answer":"Correcto!","Incorrect Answer":"Incorrecto!","Quiz Result Header":"Obtuvo una puntuacion","Quiz Score":"de %s de %s","Quiz Clear":"Hágalo de nuevo"}};function En({text:r,textParam:e}){const n=new URLSearchParams(window.location.search).get("language")||"en";let i=Lc[n][r]||Lc.en[r]||"";return Array.isArray(e)&&e.length>0&&e.forEach(s=>{i=i.replace("%s",s)}),i}const l0=({block:r,onAnswer:e,resetQuiz:t})=>{const[n,i]=b.useState(!1),[s,o]=b.useState(!1),[c,l]=b.useState(null);b.useEffect(()=>{i(!1),o(!1),c&&c.classList.remove("clicked"),l(null)},[t]);const u=(h,m)=>{n||(i(!0),h.currentTarget.classList.add("clicked"),l(h.currentTarget),m.css_class==="quiz_answer_c"&&o(!0),e(m))};function d(h){const f=h.filter(_=>_.css_class==="quiz_answer_c").map(_=>_.title);let g=[];const p=f.length;if(p===0)g=[];else if(p===1)g=[f[0]];else if(p===2)g=[f[0],", ",a.jsx(En,{text:"Answer Seperator"})," ",f[1]];else{const _=f.pop();f.forEach((x,v)=>
79{g.push(x),g.push(", ")}),g.push(a.jsx(En,{text:"Answer Seperator"})," ",_)}return a.jsxs(a.Fragment,{children:[g,"."]})}return a.jsx("section",{className:`quiz-question container sheet-wrap-container ${n?"expanded":""}`,children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",children:a.jsxs("div",{className:"quiz-question__wrapper spacer-btm-medium",children:[a.jsx("h2",{className:"quiz-question__title",dangerouslySetInnerHTML:{__html:r.question}}),r.items.map((h,m)=>{var g;const f=(g=h==null?void 0:h.css_class)!=null&&g.includes("quiz_answer_c")?"#icon-check":"#icon-close-2";return a.jsxs("div",{className:`quiz-question__answer ${h.css_class}`,onClick:p=>u(p,h),children:[a.jsx("div",{className:"quiz-question__answer__title",dangerouslySetInnerHTML:{__html:h.title}}),a.jsx("span",{className:"quiz-question__answer__icon",children:a.jsx("svg",{children:a.jsx("use",{xmlnsXlink:"http://www.w3.org/1999/xlink",xlinkHref:f})})})]})}),a.jsxs("div",{className:"quiz-question__explanation",children:[a.jsx("div",{className:`quiz-question__explanation__first ${s?"correct":"incorrect"}`,children:s?a.jsx(En,{text:"Correct Answer"}):a.jsxs(a.Fragment,{children:[a.jsx(En,{text:"Incorrect Answer"})," ",a.jsx(En,{text:"Answer Prefix"}),d(r.items)]})}),a.jsx("div",{className:"quiz-question__explanation__second",dangerouslySetInnerHTML:{__html:r.explanation}})]})]})})})})})},u0=({block:r,quizScore:e,onReset:t})=>{const[n,i]=b.useState(!1),[s,o]=b.useState(GeneJs.story.blocks.filter(l=>l.type==="quiz_question").length);return new URLSearchParams(window.location.search).get("language"),b.useEffect(()=>{e.correctAnswers+e.incorrectAnswers===s?i(!0):i(!1)},[e]),a.jsx("section",{className:"quiz-result container sheet-wrap-container",style:{display:n?"block":"none"},children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",children:a.jsxs("div",{className:"quiz-result__wrapper spacer-btm-medium",children:[a.jsxs("div",{className:"quiz-result__score",children:[a.jsx("h3",{className:"quiz-result__score__heading",children:a.jsx(En,{text:"Quiz Result Header"})}),a.jsxs("h1",{className:"quiz-result__score__score",children:[" ",a.jsx(En,{text:"Quiz Score",textParam:[e.correctAnswers,s]})," "]})]}),a.jsx("div",{className:"quiz-result__clear-button",onClick:t,children:a.jsx("span",{className:"quiz_result__clear-button-label",children:a.jsx(En,{text:"Quiz Clear"})})})]})})})})})},d0=r=>(function(){switch(r.block.type){case"text":return a.jsx(pl,{block:r.block,customBackgroundColor:r.customBackgroundColor,customTextColor:r.customTextColor},`cs-${r.block.id}`);case"image":return a.jsx(ll,{block:r.block,customBackgroundColor:r.customBackgroundColor,customTextColor:r.customTextColor},`cs-${r.block.id}`);case"tile_block":return a.jsx(Fc,{block:r.block.block,tiles:r.block.items},`cs-${r.block.id}`);case"column":return a.jsx(cl,{block:r.block,customBackgroundColor:r.customBackgroundColor,customTextColor:r.customTextColor},`cs-${r.block.id}`);case"video":return a.jsx(Xa,{customBackgroundColor:r.customBackgroundColor,customTextColor:r.customTextColor,embedCode:r.block.embed_code,shouldLoad:r.shouldLoad,type:r.block.asset_type},`cs-${r.block.id}`);case"code":return a.jsx(ol,{block:r.block},`cs-${r.block.id}`);case"quote":return a.jsx(ul,{block:r.block,customBackgroundColor:r.customBackgroundColor,customTextColor:r.customTextColor},`cs-${r.block.id}`);case"slideshow":return a.jsx(fl,{block:r.block,customBackgroundColor:r.customBackgroundColor,customTextColor:r.customTextColor},`cs-${r.block.id}`);case"side_story":return a.jsx(c0,{block:r.block,customTextColor:r.customTextColor},`cs-${r.block.id}`);case"anchor":return a.jsx(r0,{anchorSlug:r.block.anchor_slug},`cs-${r.block.id}`);case"factoid":return a.jsx(i0,{block:r.block},`cs-${r.block.id}`);case"inset_story":return a.jsx(a0,{block:r.block},`cs-${r.block.id}`);case"specific_job":return a.jsx(o0,{block:r.block},`cs-${r.block.id}`);case"generic_job":return a.jsx(s0,{block:r.block},`cs-${r.block.id}`);
79case"accordion":return a.jsx(yl,{block:r.block,customBackgroundColor:r.customBackgroundColor,customTextColor:r.customTextColor},`cs-${r.block.id}`);case"references":return a.jsx(dl,{block:r.block,customBackgroundColor:r.customBackgroundColor,customTextColor:r.customTextColor},`cs-${r.block.id}`);case"quiz_question":return a.jsx(l0,{block:r.block,onAnswer:r.onAnswer,resetQuiz:r.resetQuiz},`cs-${r.block.id}`);case"quiz_result":return a.jsx(u0,{block:r.block,quizScore:r.quizScore,onReset:r.onReset},`cs-${r.block.id}`);default:return console.log("missing block",r.block),a.jsx("span",{},`missing-${r.block.id}`)}})(),f0=({title:r,header:e,darkHeaderText:t})=>a.jsxs("section",{className:`chapter-header chapter-header--photo story-header story-header--photo container ${t?"":"light-header-text"}`,children:[a.jsx("div",{className:"row chapter-header__main",children:a.jsx("div",{className:"col-12@sm",children:a.jsx("div",{className:"aspect aspect--3x4@xs aspect--16x9@sm",children:a.jsx("div",{className:"aspect__inner",children:a.jsx("div",{className:"row height-full",children:a.jsx("div",{className:"col-10@sm col-offset-1@sm ghost-center-wrap",children:a.jsx("div",{className:"ghost-center",children:a.jsx("h2",{className:"type-header-1 type-header-1--decreased-twenty-percent chapter-header__title",children:r})})})})})})})}),a.jsx("div",{className:"chapter-header__background",children:a.jsx(At,{images:e.photo,caption:r,className:"spark-responsive-img--cover chapter-header__background__img",lazy:!0})})]}),h0=({header:r})=>a.jsx("section",{className:"chapter-header chapter-header--quote story-header story-header--quote container light-header-text background--blue-lt--purple",children:a.jsx("div",{className:"row chapter-header__main",children:a.jsx("div",{className:"col-12@sm",children:a.jsx("div",{className:"aspect aspect--3x4@xs aspect--16x9@sm",children:a.jsx("div",{className:"aspect__inner",children:a.jsx("div",{className:"row height-full",children:a.jsx("div",{className:"col-10@sm col-offset-1@sm ghost-center-wrap",children:a.jsxs("div",{className:"ghost-center",children:[a.jsx("blockquote",{className:"type-blockquote",children:a.jsx("p",{children:r.quote})}),a.jsxs("span",{className:"type-display-2",children:["– ",r.quote_author]})]})})})})})})})}),p0=({title:r,excerpt:e})=>a.jsx("section",{className:"chapter-header chapter-header--text story-header container story-header--text",children:a.jsx("div",{className:"row chapter-header__main",children:a.jsx("div",{className:"col-12@sm",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-10@sm col-offset-1@sm ghost-center-wrap",children:a.jsxs("div",{className:"ghost-center",children:[a.jsx("h2",{className:"type-header-1 chapter-header__title",children:r}),a.jsx("h2",{className:"type-body-1 chapter-header__intro",children:e})]})})})})})}),m0=({title:r,header:e,excerpt:t})=>a.jsxs("section",{className:"chapter-header chapter-header__title_before_image story-header story-header--photo",children:[a.jsx("div",{className:"container",children:a.jsx("div",{className:"row chapter-header__main",children:a.jsx("div",{className:"ghost-center-wrap",children:a.jsxs("div",{className:"ghost-center",children:[a.jsx("h2",{className:"type-header-6 chapter-header__title",children:r}),a.jsx("h2",{className:"type-body-1 chapter-header__intro",children:t})]})})})}),a.jsx("div",{className:"chapter-header__image",children:a.jsx("div",{className:"chapter-header__background",children:a.jsx(At,{images:e.photo,caption:r,className:"spark-responsive-img--cover chapter-header__background__img",lazy:!0})})})]});/*! @name @brightcove/react-player-loader @version 1.5.1 @license Apache-2.0 */function Ms(){return Ms=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},Ms.apply(this,arguments)}function _0(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e}function g0(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}/*! @name @brightcove/player-loader @version 1.8.1 @license Apache-2.0 */function Os(){return Os=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},Os.apply(this,arguments)}var x0=function(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}},zi=function(){if(typeof window<"u")return window;var e=x0();return e.window&&e.window.window===e.window?e.window:e},Wn=function(){if(typeof document<"u")return document;var e=zi();if(e&&e.document)return e.document;throw new Error("document is not available in this environment")},v0="1.8.1";
79/*! @name @brightcove/player-url @version 1.2.0 @license Apache-2.0 */var y0="1.2.0",w0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},C0=["catalogSearch","catalogSequence"],b0=["adConfigId","applicationId","catalogSearch","catalogSequence","playlistId","playlistVideoId","videoId"],j0=function(e,t){if(!(!e||e[t]===void 0)){if(typeof e[t]!="string"&&C0.indexOf(t)!==-1)try{return encodeURIComponent(JSON.stringify(e[t]))}catch{return}return encodeURIComponent(String(e[t]).trim())||void 0}},N0=function(e){return Object.keys(e).filter(function(t){return b0.indexOf(t)!==-1}).reduce(function(t,n){var i=j0(e,n);return i!==void 0&&(t+=t?"&":"?",t+=encodeURIComponent(n)+"="+i),t},"")},Y1=function(e){var t=e.accountId,n=e.base,i=n===void 0?"https://players.brightcove.net":n,s=e.playerId,o=s===void 0?"default":s,c=e.embedId,l=c===void 0?"default":c,u=e.iframe,d=u===void 0?!1:u,h=e.minified,m=h===void 0?!0:h,f=e.queryParams,g=f===void 0?null:f,p="";d?p+="html":(m&&(p+="min."),p+="js"),i.charAt(i.length-1)==="/"&&(i=i.substring(0,i.length-1));var _="";return d&&g&&(typeof g>"u"?"undefined":w0(g))==="object"&&(_=N0(g)),t=encodeURIComponent(t),o=encodeURIComponent(o),l=encodeURIComponent(l),i+"/"+t+"/"+o+"_"+l+"/index."+p+_};Y1.VERSION=y0;var T0=zi(),S0={embedId:"default",embedType:"in-page",playerId:"default",Promise:T0.Promise,refNodeInsert:"append"},k0="16:9",E0=!1,P0="100%",U1="video",zs="video-js",jo="in-page",zn="iframe",G1="append",No="prepend",To="before",So="after",Bs="replace",M0=["catalogSearch","catalogSequence"],ko="https://players.brightcove.net/",O0=function(e){if(e.playerUrl)return e.playerUrl;var t=e.accountId,n=e.playerId,i=e.embedId,s=e.embedOptions,o=e.embedType===zn;return Y1({accountId:t,playerId:n,embedId:i,iframe:o,base:ko,minified:s?!s.unminified:!0,queryParams:e})},L0=function(){return ko},I0=function(e){ko=e},Ur={getUrl:O0,getBaseUrl:L0,setBaseUrl:I0},X1=function(e){return!!(e&&e.nodeType===1)},Z1=function(e){return!!(X1(e)&&e.parentNode)},A0=function(e){var t=Wn(),n=t.createElement("iframe");return n.setAttribute("allow","autoplay;encrypted-media;fullscreen"),n.setAttribute("allowfullscreen","allowfullscreen"),n.src=Ur.getUrl(e),n},R0=function(e){var t=e.embedOptions,n=Wn(),i={adConfigId:"data-ad-config-id",applicationId:"data-application-id",catalogSearch:"data-catalog-search",catalogSequence:"data-catalog-sequence",deliveryConfigId:"data-delivery-config-id",playlistId:"data-playlist-id",playlistVideoId:"data-playlist-video-id",poster:"poster",videoId:"data-video-id"},s=t&&t.tagName||zs,o=n.createElement(s);return Object.keys(i).filter(function(c){return e[c]}).forEach(function(c){var l;if(typeof e[c]!="string"&&M0.indexOf(c)!==-1)try{l=JSON.stringify(e[c])}catch{return}else l=String(e[c]).trim();o.setAttribute(i[c],l)}),o.setAttribute("controls","controls"),o.classList.add("video-js"),o},D0=function(e,t,n){if(!t.responsive)return n;var i=Wn();n.style.position="absolute",n.style.top="0px",n.style.right="0px",n.style.bottom="0px",n.style.left="0px",n.style.width="100%",n.style.height="100%";var s=Os({aspectRatio:k0,iframeHorizontalPlaylist:E0,maxWidth:P0},t.responsive),o=s.aspectRatio.split(":").map(Number),c=i.createElement("div"),l=o[1]/o[0]*100;e===zn&&s.iframeHorizontalPlaylist&&(l*=1.25),c.style.paddingTop=l+"%",c.appendChild(n);var u=i.createElement("div");return u.style.position="relative",u.style.display="block",u.style.maxWidth=s.maxWidth,u.appendChild(c),u},V0=function(e,t){if(!e.pip)return t;var n=Wn(),i=n.createElement("div");return i.classList.add("vjs-pip-container"),i.appendChild(t),i},H0=function(e,t,n){return t?V0(t,D0(e,t,n)):n},F0=function(e,t){var n=e.refNode,i=e.refNodeInsert,s=n.parentNode,o=H0(e.embedType,e.embedOptions,t);if(i===To?s.insertBefore(o,n):i===So?s.insertBefore(o,n.nextElementSibling||null):i===Bs?s.replaceChild(o,n):i===No?n.insertBefore(o,n.firstChild||null):n.appendChild(o),e.embedOptions&&e.embedOptions.playlist){var c=Wn(),l=e.embedOptions.playlist.legacy?"ul":"div",u=c.createElement(l);u.classList.add("vjs-playlist"),t.parentNode.insertBefore(u,t.nextElementSibling||null)}return e.refNode=null,t},$0=function(e,t){if(typeof e.onEmbedCreated!="function")return t;var n=e.onEmbedCreated(t);return X1(n)?n:t},z0=function(e){var t=e.embedType===zn?A0(e):R0(e);return F0(e,$0(e,t))},B0=zi(),Bi=new B0.Map,Ws=function(e){var t=e.accountId,n=e.playerId,i=e.embedId;return(t||"*")+"_"+n+"_"+i},W0=function(e){Bi.set(Ws(e),e.accountId?Ur.getUrl(e):"")},q0=function(e){return Bi.has(Ws(e))},Y0=function(e){return Bi.get(Ws(e))},U0=function(){Bi.clear()},G0=function(e){Bi.forEach(e)},Yr={clear:U0,forEach:G0,get:Y0,has:q0,key:Ws,store:W0},Hr=zi(),Q1=/^([A-Za-z0-9]+)_([A-Za-z0-9]+)$/,J1=function(){return Hr.bc?Object.keys(Hr.bc).filter(function(e){return Q1.test(e)}):[]},X0=function(){return Object.keys(Hr).filter(function(e){return/^videojs/i.test(e)||/^(bc)$/.test(e)})}
79,Ic=function(e){e&&Object.keys(e.players).forEach(function(t){var n=e.players[t];n&&n.dispose()})},Z0=function(){Yr.forEach(function(e,t){if(e){var n=Wn();Array.prototype.slice.call(n.querySelectorAll('script[src="'+e+'"]')).forEach(function(i){return i.parentNode.removeChild(i)})}}),Yr.clear(),Ic(Hr.videojs),J1().forEach(function(e){return Ic(Hr.bc[e].videojs)}),X0().forEach(function(e){delete Hr[e]})},Q0=function(){J1().forEach(function(e){var t=e.match(Q1),n={playerId:t[1],embedId:t[2]};Yr.has(n)||Yr.store(n)})},K1={detectPlayers:Q0,reset:Z0},Ac=zi();K1.detectPlayers();var oi=function(e){return typeof e=="function"},J0=function(e){return e===jo||e===zn},K0=function(e){return e===zs||e===U1},e4=function(e){return e===G1||e===No||e===To||e===So||e===Bs},t4=function(e){var t=e.accountId,n=e.embedOptions,i=e.embedType,s=e.options,o=e.refNode,c=e.refNodeInsert;if(t)if(Z1(o))if(J0(i)){if(i===zn&&s)throw new Error("cannot use options with an iframe embed");if(n&&n.tagName!==void 0&&!K0(n.tagName))throw new Error('embedOptions.tagName is invalid (value: "'+n.tagName+'")');if(n&&n.responsive&&n.responsive.aspectRatio&&!/^\d+\:\d+$/.test(n.responsive.aspectRatio))throw new Error('embedOptions.responsive.aspectRatio must be in the "n:n" format (value: "'+n.responsive.aspectRatio+'")');if(!e4(c))throw new Error("refNodeInsert is missing or invalid")}else throw new Error("embedType is missing or invalid");else throw new Error("refNode must resolve to a node attached to the DOM");else throw new Error("accountId is required")},n4=function(e){if(Z1(e))return e;if(typeof e=="string"){var t=Wn();return t.querySelector(e)}return null},Rc=function(e,t,n,i){var s=e.embedId,o=e.playerId,c=Ac.bc[o+"_"+s]||Ac.bc;if(!c)return i(new Error("missing bc function for "+o));Yr.store(e);var l;try{l=c(t,e.options),l.bcinfo&&(l.bcinfo.PLAYER_LOADER=!0)}catch{var u="Could not initialize the Brightcove Player.";return e.embedOptions.tagName===zs&&(u+=' You are attempting to embed using a "video-js" element. Please ensure that your Player is v6.11.0 or newer in order to support this embed type. Alternatively, pass `"video"` for `embedOptions.tagName`.'),i(new Error(u))}n({type:jo,ref:l})},Dc=function(e,t,n){e.refNode=n4(e.refNode),t4(e);var i=e.refNode,s=e.refNodeInsert,o=i.parentNode,c=z0(e);if(e.embedType===zn){t({type:zn,ref:c});return}if(Yr.has(e))return Rc(e,c,t,n);var l=Wn(),u=l.createElement("script");u.onload=function(){return Rc(e,c,t,n)},u.onerror=function(){n(new Error("player script could not be downloaded"))},u.async=!0,u.charset="utf-8",u.src=Ur.getUrl(e),s===Bs?o.appendChild(u):i.appendChild(u)},mi=function(e){var t=Os({},S0,e),n=t.Promise,i=t.onSuccess,s=t.onFailure;return!oi(n)||oi(i)||oi(s)?Dc(t,oi(i)?i:function(){},oi(s)?s:function(o){throw o}):new n(function(o,c){return Dc(t,o,c)})},Wi=function(e,t){Object.defineProperty(mi,e,{configurable:!1,enumerable:!0,value:t,writable:!1})};Wi("getBaseUrl",function(){return Ur.getBaseUrl()});Wi("setBaseUrl",function(r){Ur.setBaseUrl(r)});Wi("getUrl",function(r){return Ur.getUrl(r)});Wi("reset",function(){return K1.reset()});[["EMBED_TAG_NAME_VIDEO",U1],["EMBED_TAG_NAME_VIDEOJS",zs],["EMBED_TYPE_IN_PAGE",jo],["EMBED_TYPE_IFRAME",zn],["REF_NODE_INSERT_APPEND",G1],["REF_NODE_INSERT_PREPEND",No],["REF_NODE_INSERT_BEFORE",To],["REF_NODE_INSERT_AFTER",So],["REF_NODE_INSERT_REPLACE",Bs],["VERSION",v0]].forEach(function(r){Wi(r[0],r[1])});var r4=["catalogSearch","catalogSequence","playlistId","playlistVideoId","videoId"],i4=function(e){e&&console&&console.error&&console.error(e)},s4=(function(r){_0(e,r);function e(n){var i;return i=r.call(this,n)||this,i.refNode=null,i.setRefNode=function(s){i.refNode=s},i.loadPlayer=i.loadPlayer.bind(g0(i)),i}var t=e.prototype;return t.loadPlayer=function(){var i=this;if(!this.loading_)this.loading_=!0;else{console.log("Brightcove React Player Loader aborted a subsequent player load while a load was pending");return}this.disposePlayer();var s=this.props.onSuccess,o=this.props.onFailure,c=Ms({},this.props,{refNode:this.refNode,refNodeInsert:"append",onSuccess:function(d){var h=d.ref,m=d.type;if(i.loading_=!1,!i.isMounted_){i.disposePlayer(h);return}i.player=h,m==="in-page"&&h.one("dispose",function(){i.player=null}),h.bcinfo&&(h.bcinfo.REACT_PLAYER_LOADER=!0),typeof s=="function"&&s({ref:h,type:m})},onFailure:function(d){if(i.loading_=!1,!!i.isMounted_){if(typeof o=="function"){o(d);return}throw new Error(d)}}});delete c.attrs,delete c.baseUrl,delete c.manualReloadFromPropChanges;var l=mi.getBaseUrl();this.props.baseUrl&&mi.setBaseUrl(this.props.baseUrl),mi(c),mi.setBaseUrl(l)}
79,t.disposePlayer=function(){this.player&&(this.player.dispose?this.player.dispose():this.player.parentNode&&this.player.parentNode.removeChild(this.player),this.player=null)},t.findPlaylistVideoIdIndex_=function(i){var s=this.props.playlistVideoId;if(Array.isArray(i)&&s)for(var o=0;o<i.length;o++){var c=i[o],l=c.id,u=c.referenceId;if(l===s||"ref:"+u===s)return o}return-1},t.createPlaybackAPICallback_=function(i,s){var o=this;return function(c,l){if(c){i4(c);return}if(i==="playlist"&&s.playlistVideoId){var u=o.findPlaylistVideoIdIndex_(l);u>-1&&(l.startingIndex=u)}o.player.catalog.load(l)}},t.updatePlayer=function(i){if(!(!this.player||!this.player.el||!this.player.el())){var s;if(this.player.usingPlugin("catalog")){if(i.catalogSequence&&this.props.catalogSequence){var o=this.createPlaybackAPICallback_("sequence",i);this.player.catalog.getLazySequence(this.props.catalogSequence,o,this.props.adConfigId);return}i.videoId&&this.props.videoId?s={type:"video",id:this.props.videoId}:i.playlistId&&this.props.playlistId?s={type:"playlist",id:this.props.playlistId}:i.catalogSearch&&this.props.catalogSearch&&(s={type:"search",q:this.props.catalogSearch})}if(s){this.props.adConfigId&&(s.adConfigId=this.props.adConfigId),this.props.deliveryConfigId&&(s.deliveryConfigId=this.props.deliveryConfigId);var c=this.createPlaybackAPICallback_(s.type,i);this.player.catalog.get(s,c)}else if(i.playlistVideoId&&this.props.playlistVideoId&&this.player.usingPlugin("playlist")){var l=this.findPlaylistVideoIdIndex_(this.player.playlist());l>-1&&this.player.playlist.currentItem(l)}}},t.componentDidMount=function(){this.isMounted_=!0,this.loadPlayer()},t.componentDidUpdate=function(i){var s=this,o=Object.keys(i).reduce(function(c,l){var u=i[l],d=s.props[l];return typeof d=="function"?c:typeof d=="object"&&d!==null?(JSON.stringify(d)!==JSON.stringify(u)&&(c[l]=!0),c):(d!==u&&(c[l]=!0),c)},{});if(!this.props.manualReloadFromPropChanges&&Object.keys(o).some(function(c){return r4.indexOf(c)===-1})){this.loadPlayer();return}this.updatePlayer(o)},t.componentWillUnmount=function(){this.isMounted_=!1,this.disposePlayer()},t.render=function(){var i=Ms({className:"brightcove-react-player-loader"},this.props.attrs,{ref:this.setRefNode});return an.createElement("div",i)},e})(an.Component);const a4=void 0,o4=({video:r,autoplay:e,loop:t})=>{const n=()=>r?a.jsx("div",{className:"bc-player-default_default hide-controls",children:a.jsx(s4,{accountId:a4,videoId:r,onSuccess:i=>console.log("react player loaded: ",i),options:{playsinline:!0,autoplay:e,loop:t,muted:!1}})}):a.jsx(As,{});return a.jsx("div",{className:"bc-player-default_default",children:n()})},c4=({title:r,excerpt:e,header:t})=>{const[n,i]=b.useState(!1),[s,o]=b.useState(null),{mobile:c,tablet:l,desktop:u}=_l();b.useEffect(()=>{c&&o(t.video.loop_small),l&&o(t.video.loop_medium),u&&o(t.video.loop_large)},[c,l,u]);const d=()=>{i(!0)},h=()=>{switch(t.video.host){case"url":return a.jsx(gl,{video:s,loop:t.video.loop,autoplay:t.video.autoplay});case"youtube":return a.jsx(ml,{video:s,loop:t.video.loop,autoplay:t.video.autoplay});case"brightcove":return a.jsx(o4,{video:s,loop:t.video.loop,autoplay:t.video.autoplay});default:return""}};return a.jsxs(a.Fragment,{children:[a.jsxs("section",{className:"chapter-header chapter-header--video story-header story-header--video container light-header-text",children:[a.jsx("div",{className:"row chapter-header__main",children:a.jsx("div",{className:"col-12@sm",children:a.jsx("div",{className:"aspect aspect--3x4@xs aspect--16x9@sm",children:a.jsx("div",{className:"aspect__inner",children:a.jsx("div",{className:"row height-full",children:a.jsx("div",{className:"col-10@sm col-offset-1@sm ghost-center-wrap",children:a.jsx("div",{className:"ghost-center",children:!t.background_video&&a.jsxs(a.Fragment,{children:[a.jsx("h2",{className:"type-header-1 chapter-header__title spacer-btm-small",children:r}),a.jsx("button",{className:"video-modal-trigger icon-btn",onClick:d,children:a.jsx("svg",{className:"icon icon--small block",children:a.jsx("use",{xmlnsXlink:"http://www.w3.org/1999/xlink",xlinkHref:"#icon-video"})})})]})})})})})})})}),a.jsx("div",{className:`chapter-header__background ${t.background_video?"background-video":""}`,children:t.background_video?h():a.jsx(At,{images:t.photo,caption:r,className:"spark-responsive-img--cover chapter-header__background__img",lazy:!0})})]}),!t.background_video&&a.jsx(hl,{content:h(),show:n,hide:()=>i(!1),className:"modal__content--video"})]})},l4=r=>(function(){switch(r.type){case"text":return a.jsx(p0,{title:r.title,excerpt:r.excerpt});case"photo":return a.jsx(f0,{title:r.title,header:r.header,darkHeaderText:r.darkHeaderText});case"video":return a.jsx(c4,{title:r.title,excerpt:r.excerpt,header:r.header});case"quote":return a.jsx(h0,{header:r.header});case"title_before_image":return a.jsx(m0,{title:r.title,header:r.header,excerpt:r.excerpt});default:return a.jsx(a.Fragment,{})}})(),Vc=.01,u4=Array.from({length:1/Vc+1}).reduce((r,e,t)=>[...r,parseFloat((t*Vc).toFixed(2))],[]),d4=({anchorSlug:r,children:e,visibilityMap:t})=>{const{visible:n,ref:i,visibilityPercentage:s}=Ya({threshold:u4}),{setSelectedAnchor:o}=b.useContext(bo);return b.useEffect(()=>{const c=i.current.getAttribute("name");t.current[c]=s,n&&r&&Math.max(...Object.values(t.current))===s&&o(c)},[n,s]),a.jsx("div",{ref:i,name:r,children:e})},f4=({topic:r})=>a.jsxs("section",{className:"breadcrumbs ",children:[a.jsx("a",{href:r?`/topics/${r.url_key}`:"/stories",className:"icon-btn icon-btn--large side-story-close__back",children:a.jsx("svg",{className:"icon icon--medium fill--white block",children:a.jsx("use",{xmlnsXlink:"http://www.w3.org/1999/xlink",xlinkHref:"#icon-chevron-left"})})}),a.jsx("p",{className:"type-body-3",children:r?`Back to ${r.name}`:"Read More Stories"})]}),h4=99,p4=({blocks:r})=>{const t=b.useRef(),[n,i]=b.useState(!1),s=r.filter(u=>{var d;return u.type==="anchor"&&((d=u.label)==null?void 0:d.length)>0}),{selectedAnchor:o,setSelectedAnchor:c}=b.useContext(bo);b.useEffect(()=>{const u=()=>{t.current.getBoundingClientRect().top<=70?i(!0):i(!1)};return window.addEventListener("scroll",u),window.addEventListener("resize",u),()=>{window.removeEventListener("scroll",u),window.removeEventListener("resize",u)}});const l=()=>{const u=document.querySelector("header")?document.querySelector("header").offsetHeight:h4;return s.map(d=>{const h=m=>{m.preventDefault();
79const f=document.querySelector(`#${d.anchor_slug}`).getBoundingClientRect();let g=f.y+window.scrollY;f.y<=u&&(g-=u),window.scrollTo({top:g,behavior:"smooth"})};return a.jsx("a",{className:`sticky-side-nav__title ${o===d.anchor_slug?"active":""}`,href:"#"+d.anchor_slug,onClick:h,children:d.label})})};return a.jsx("section",{className:"sticky-side-nav__wrapper",ref:t,children:a.jsx("div",{className:`sticky-side-nav sticky-side-nav--longform ${n?"sticky-side-nav--stuck":""}`,children:l()})})},m4=({excludeStoryId:r})=>{const[e,t]=b.useState(r||null),[n,i]=b.useState([]);return b.useEffect(()=>{let s="/ajax/stories/tiles";GeneJs.topic!=null&&(s="/ajax/topics/%s/tiles".replace("%s",GeneJs.topic.url_key)),fetch(s).then(o=>o.json()).then(o=>{e&&(o.tiles=o.tiles.filter(function(c){return c.id!==e})),i(o.tiles)}).catch(o=>{console.error("Error fetching the tiles:",o)})},[]),a.jsx("section",{className:"related-stories__wrapper container sheet-wrap-container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"related-stories",children:a.jsxs("div",{className:"related-stories__heading",children:[GeneJs.topic!=null?a.jsxs(a.Fragment,{children:[a.jsx("a",{className:"related-stories__heading__link",href:`/topics/${GeneJs.topic.url_key}`,children:a.jsx("h3",{children:GeneJs.topic.name})}),a.jsx("p",{className:"tout-pre-footer__text type-body-5 type--flat-btm spacer-btm-small spacer-btm-xsmall@md",children:GeneJs.topic.promo_description})]}):a.jsxs(a.Fragment,{children:[a.jsx("a",{className:"related-stories__heading__link",href:"/stories",children:a.jsx("h3",{children:"Read More Stories"})}),a.jsx("p",{className:"tout-pre-footer__text type-body-5 type--flat-btm spacer-btm-small spacer-btm-xsmall@md",children:"Read about breakthrough science, the everyday people who make it happen, and the patients we serve."})]}),a.jsx("div",{className:"tiles__container stories-layout rendered",style:{backgroundColor:"#fff"},children:a.jsx("div",{className:"tiles__wrapper",children:a.jsx("div",{className:"tiles__content__grid-wrapper",children:a.jsx("div",{className:"tiles__content__grid row row--gutterless shuffle",children:n.length>0?n.map(s=>a.jsx(su,{sizingClass:au(4),tile:s},`related-tile-${s.id}`)):a.jsx("p",{children:"Loading ..."})})})})})]})})})})},Hc=({author:r,blocks:e,displayRelatedStories:t,header:n,story:i,tags:s,topic:o})=>{const[c,l]=b.useState(),u={selectedAnchor:c,setSelectedAnchor:l},d=b.useRef({}),[h,m]=b.useState({correctAnswers:0,incorrectAnswers:0}),[f,g]=b.useState(0),p=v=>{m(w=>{const y=v.css_class==="quiz_answer_c";return{correctAnswers:w.correctAnswers+(y?1:0),incorrectAnswers:w.incorrectAnswers+(y?0:1)}})},_=()=>{m({correctAnswers:0,incorrectAnswers:0}),g(f+1)},x=()=>{const v=[];let w=[];for(const[y,j]of e.entries())j.type==="anchor"&&j.label&&(w.length&&v.push(w),w=[]),w.push(a.jsx(d0,{block:j,customBackgroundColor:i.background_color,customTextColor:i.text_color,onAnswer:p,onReset:_,quizScore:h,resetQuiz:f,template:"panther"},`blocks-${y}`));return w.length&&v.push(w),v.map(y=>{const j=y[0].props.block;return j.type==="anchor"&&j.label?a.jsx(d4,{anchorSlug:j.anchor_slug,visibilityMap:d,children:y}):a.jsx(a.Fragment,{children:y})})};return a.jsxs("div",{children:[a.jsx(l4,{type:n.type,title:i.title,header:n,excerpt:i.excerpt,darkHeaderText:i.dark_header_text}),a.jsxs("div",{className:`content clearfix ${n.type==="text"?"text-header":""}`,children:[a.jsxs("article",{children:[i.byline_position==="top"?a.jsx(ma,{author:r,children:a.jsx(_a,{publishDate:i.published_at})}):a.jsx("section",{className:"byline container sheet-wrap-container",children:a.jsx("div",{className:"row byline__wrapper",children:a.jsx("div",{className:"sheet-wrap-col",children:a.jsx("div",{className:"sheet-wrap",children:a.jsx(_a,{publishDate:i.published_at})})})})}),a.jsxs(bo.Provider,{value:u,children:[x(),a.jsx(f4,{topic:o}),i.show_table_of_contents&&a.jsx(p4,{blocks:e})]}),i.byline_position==="bottom"&&a.jsx(ma,{author:r}),a.jsx(Jc,{tags:s,customBackgroundColor:i.background_color,customTextColor:i.text_color})]}),t&&a.jsx(m4,{excludeStoryId:i.id})]})]})},b4=({author:r,blocks:e,header:t,story:n,tags:i,takeover:s,topic:o,displayRelatedStories:c=!0})=>{const l=()=>(function(){switch(n.type){case"legacy":return a.jsx(n0,{blocks:e,header:t,story:n});case"scrolling_slideshow":return a.jsx(t0,{author:r,blocks:e,header:t,story:n});case"longform":return a.jsx(Hc,{author:r,blocks:e,displayRelatedStories:c,header:t,story:n,tags:i,topic:o});default:return a.jsx(Hc,{author:r,blocks:e,displayRelatedStories:c,header:t,story:n,tags:i,topic:o})}})();return a.jsxs(a.Fragment,{children:[a.jsx(mu,{header:t,takeover:s}),a.jsx("div",{className:"js-content main-nav__content",children:a.jsx("main",{role:"main",children:a.jsx("div",{className:"story relative gene-seen",children:a.jsx(l,{})})})})]})};export{b4 as default};

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.