1const a=new WeakMap,l=(e,t,s,o,c)=>{t.addEventListener(s,o,c);const r=a.get(e)??[];r.push(()=>t.removeEventListener(s,o,c)),a.set(e,r)},d=e=>{const t=e.querySelector("[data-slide-out-toggle]"),s=e.querySelector("[data-slide-out-content]"),o=e.querySelector("[data-slide-out-close]");if(!t||!s)return;const c=t.dataset.slideOutTitle??"Medicare Advantage",r=i=>{e.classList.toggle("slideOutClose",i),t.setAttribute("aria-expanded",i?"false":"true"),t.setAttribute("aria-label",`${i?"Open":"Close"} ${c} panel`),i?(s.setAttribute("inert",""),s.setAttribute("aria-hidden","true")):(s.removeAttribute("inert"),s.setAttribute("aria-hidden","false"))},u=()=>e.classList.contains("slideOutClose"),n=()=>{r(!0),t.focus()};l(e,t,"click",()=>r(!u())),o&&l(e,o,"click",n),l(e,s,"keydown",i=>{i.key==="Escape"&&(i.preventDefault(),n())})},f=e=>{const t=e.querySelector("[data-slide-out-label]");let s=!1;const o=()=>!!(document.querySelector("#careers-search")||document.querySelector(".career-item")),c=()=>{s=!0,t&&(t.textContent="Find opportunity"),e.setAttribute("aria-label","Find opportunity")};if(o())c();else{const r=new MutationObserver(()=>{o()&&(c(),r.disconnect())});r.observe(document.body,{childList:!0,subtree:!0});const u=window.setTimeout(()=>r.disconnect(),1e4),n=a.get(e)??[];n.push(()=>{r.disconnect(),clearTimeout(u)}),a.set(e,n)}l(e,e,"click",()=>{(s?document.querySelector("#careers-search")??document.querySelector(".careers-list-simple"):document.querySelector(".careers-form-section")??document.querySelector("#careers-form"))?.scrollIntoView({behavior:"smooth"})})},p=e=>{e.hasAttribute("data-slide-out-careers")?f(e):d(e)},y=e=>{for(const t of a.get(e)??[])t();a.delete(e)};export{y as destroy,p as initialize};
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.