PageSourceSearch

https://healthcare.ascension.org/-/media/themes/ascension/healthca…/pre-optimized-min.js?t=20260917T211300Z

js ascension.org collected 2026-10-01 10:44:13 UTC 45,386 bytes, 1 lines download raw bytes

1!function(){"use strict";XA.component.accordionControl={init:function(){var e=document.querySelectorAll(".accordion");e&&e.forEach(e=>{if(e.classList.contains("inactive")){let t=e.querySelectorAll(".toggle-header");t&&t.forEach(e=>{e.setAttribute("tabindex","-1")})}else{let t=e.querySelectorAll(".toggle-header");t&&t.forEach(e=>{e.setAttribute("tabindex","0")})}})}},XA.register("accordionControl",XA.component.accordionControl)}(),function(){"use strict";var e,t,n;XA.component.hamburgerNavigation=(e=jQuery,n=null,(t={}).init=function(){var t=e(".menu-icon"),i=e(".hamburger-navigation"),o=e(".close-button"),a=e(".hamburger-navigation .find-site-input-field"),r=null,s=null;i.attr("aria-hidden","true"),o.attr("tabindex","0"),XA.component.overlay.hide(),t.click((function(){i.attr("aria-hidden","false"),XA.component.overlay.show(),e(".component-overlay").show(),e(".component-overlay").addClass("layer-5")})),t.keyup((function(t){"Enter"==t.key&&(e(".close-button").focus(),t.preventDefault())})),o.click((function(){i.attr("aria-hidden","true"),XA.component.overlay.hide(),e(".component-overlay").hide(),e(".component-overlay").removeClass("layer-5")})),o.keyup((function(t){"Enter"==t.key&&(i.attr("aria-hidden","true"),XA.component.overlay.hide(),e(".component-overlay").hide()),e(".component-overlay").removeClass("layer-5")})),window.addEventListener("click",(function(t){"false"===i.attr("aria-hidden")&&"component-overlay layer-5"===t.target.className&&(i.attr("aria-hidden","true"),XA.component.overlay.hide(),e(".component-overlay").hide(),e(".component-overlay").removeClass("layer-5"))}));const l=e=>{if(null==(t=e)||""===t||Array.isArray(t)&&t.length<1||"object"==typeof t&&0===Object.keys(t).length)return null;var t;let n=e.replace(/<b>/g,"");return n=n.replace(/<\/b>/g,""),n},c=e=>{e<0&&(e=0),e>s-1&&(e=s-1),r=e,document.querySelector(".hamburger-navigation .location-type-ahead-list.header-site-search").querySelectorAll(".hamburger-navigation .location-type-ahead-suggestion.autocomplete").forEach((function(t,n){t.setAttribute("aria-selected","false"),n==e&&(a.val(l(t.innerHTML)),t.setAttribute("aria-selected","true"))}))};a.keyup((function(e){switch(e.key){case"Esc":case"Escape":e.preventDefault();break;case"Enter":break;case"Up":case"ArrowUp":e.preventDefault(),c(null===r?0:r-1);break;case"Tab":e.preventDefault();break;case"Down":case"ArrowDown":e.preventDefault(),c(null===r?0:r+1);break;case"End":e.preventDefault();break;default:return void u()}}));const u=()=>{n&&n.abort();const e=new AbortController,t=e.signal;n=e,a.val()&&a.val().length>=2?(async(e,t=null,n="POST",i=null)=>{const o=n.toUpperCase(),a={method:o,mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer"};null!==i&&(a.signal=i),"POST"===o&&null!=t&&(a.body=JSON.stringify(t));try{const t=await fetch(e,a);if(!t.ok||200!==t.status)return{data:null,error:"An error has occured: "+t.status};const n=await t.json();return n.error=null,n}catch(e){return{error:e}}})("/api/search/suggestions",{term:a.val()},"POST",t).then(e=>{if(r=null,a.val().length>=2){var t=document.querySelector(".hamburger-navigation .location-type-ahead-list.header-site-search");t.innerHTML="",s=e.Success.Result.length,e.Success.Result.forEach(e=>{t.innerHTML+='<li class="location-type-ahead-suggestion autocomplete" onclick="window.location.href=&#39;/search?query='+l(e)+'&#39;">'+e.replace("<b>","").replace("</b>","")+"</li>"})}}).catch(()=>{}):document.querySelector(".hamburger-navigation .location-type-ahead-list.header-site-search").innerHTML=""}},t),XA.register("hamburgerNavigation",XA.component.hamburgerNavigation)}(),function(){"use strict";var e,t,n;XA.component.homeSiteSearch=(e=jQuery,n=null,(t={}).init=function(){var t=e(".home-site-search"),i=e(".sitesearch-homepage"),o=e(".close-search-bar"),a=e(".find-site-form"),r=e(".sitesearch-homepage .find-site-input-field"),s=e(".find-site-form .clear-input"),l=null,c=null;r.on("input",(function(e){e.target.value.length>0?s.css("display","block"):s.css("display","none")})),s.click((function(){r.val(""),s.css("display","none"),r.focus(),e(".location-type-ahead-list.header-site-search").empty()})),i.attr("aria-hidden","true"),XA.component.overlay.hide(),t.click((function(){i.attr("aria-hidden","false"),XA.component.overlay.show(),e(".component-overlay").show(),a&&r&&r.focus()})).keyup((function(t){"Enter"==t.key&&(i.attr("aria-hidden","false"),XA.component.overlay.show(),e(".component-overlay").show(),a&&r&&r.focus())}));const u=e=>{if(null==(t=e)||""===t||Array.isArray(t)&&t.length<1||"object"==typeof t&&0===Object.keys(t).length)return null;var t;let n=e.replace(/<b>/g,"");return n=n.replace(/<\/b>/g,""),n},d=e=>{e<0&&(e=0),e>c-1&&(e=c-1),l=e,document.querySelector(".sitesearch-homepage .location-type-ahead-list.header-site-search").querySelectorAll(".sitesearch-homepage .location-type-ahead-suggestion.autocomplete").forEach((function(t,n){t.setAttribute("aria-selected","false"),n==e&&(r.val(u(t.innerHTML)),t.setAttribute("aria-selected","true"))}))};r.keyup((function(e){switch(e.key){case"Esc":case"Escape":e.preventDefault();break;case"Enter":break;case"Up":case"ArrowUp":e.preventDefault(),d(null===l?0:l-1);break;case"Tab":e.preventDefault();break;case"Down":case"ArrowDown":e.preventDefault(),d(null===l?0:l+1);break;case"End":e.preventDefault();break;default:return void h()}}));const h=()=>{n&&n.abort();const e=new AbortController,t=e.signal;n=e,r.val()&&r.val().length>=2?(async(e,t=null,n="POST",i=null)=>{const o=n.toUpperCase(),a={method:o,mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer"};null!==i&&(a.signal=i),"POST"===o&&null!=t&&(a.body=JSON.stringify(t));try{const t=await fetch(e,a);if(!t.ok||200!==t.status)return{data:null,error:"An error has occured: "+t.status};const n=await t.json();return n.error=null,n}catch(e){return{error:e}}})("/api/search/suggestions",{term:r.val()},"POST",t).then(e=>{if(l=null,r.val().length>=2){var t=document.querySelector(".sitesearch-homepage .location-type-ahead-list.header-site-search");t.innerHTML="",c=e.Success.Result.length,e.Success.Result.forEach(e
1=>{t.innerHTML+='<li class="location-type-ahead-suggestion autocomplete" onclick="window.location.href=&#39;/search?query='+u(e)+'&#39;">'+e+"</li>"})}}).catch(()=>{}):document.querySelector(".sitesearch-homepage .location-type-ahead-list.header-site-search").innerHTML=""};r.keydown((function(){e(".find-site-error").removeClass("isNotValid")})),o.click((function(){i.attr("aria-hidden","true"),XA.component.overlay.hide(),e(".component-overlay").hide(),r.val(""),e(".find-site-error").removeClass("isNotValid"),e(".location-type-ahead-list.header-site-search").empty()})).keyup((function(t){"Enter"==t.key&&(i.attr("aria-hidden","true"),XA.component.overlay.hide(),e(".component-overlay").hide(),r.val(""),e(".find-site-error").removeClass("isNotValid"),e(".location-type-ahead-list.header-site-search").empty())})),window.addEventListener("click",(function(t){"false"===i.attr("aria-hidden")&&"component-overlay"===t.target.className&&(i.attr("aria-hidden","true"),XA.component.overlay.hide(),e(".component-overlay").hide())})),a.each((function(t,n){e(n).on("submit",(function(t){t.preventDefault();var n=e(this).find(".find-site-input-field")[0];n.value?(e(".find-site-error").removeClass("isNotValid"),n.getAttribute("data-info")||(window.location.href="/search?query="+n.value)):(t.preventDefault(),e(".find-site-error").addClass("isNotValid"))}))}))},t),XA.register("homeSiteSearch",XA.component.homeSiteSearch)}(),function(){"use strict";XA.component.hospitalBreadcrumb=function(){var e,t,n;const i={init:function(){var e=document.querySelectorAll(".breadcrumb .hospital-page-breadcrumb:not(.initialized)");e&&e.forEach((function(e){e.classList.add("initialized"),e.querySelectorAll(".breadcrumb-item").forEach(e=>{(e.querySelector("a")&&"Departments"==e.querySelector("a").getAttribute("title")||e.querySelector("a")&&"Services"==e.querySelector("a").getAttribute("title"))&&(e.style.display="none")})})),i.initializehospitalPages(e),i.ModifiedBreadCrumb(),window.addEventListener("resize",(function(){i.ModifiedBreadCrumb()}))},initializehospitalPages:function(o){o&&o.forEach((function(e){if(e.querySelectorAll("ol li").length>0){var t=e.querySelectorAll("ol li");t&&t.forEach((function(e){e.innerText||e.remove()}))}})),o.length>1&&(e=o[0].querySelectorAll("ol li"),t=o[1].querySelectorAll("ol li"),n=document.createElement("span")),window.addEventListener("resize",(function(){i.getBreadcrumbs(o)})),i.getBreadcrumbs(o)},ModifiedBreadCrumb:function(){var e=document.querySelector(".breadcrumb#top-breadcrumb");if(e){var t=e.querySelectorAll("nav ol li");screen.width<1025&&t.forEach(e=>{e.querySelector(".navigation-title")&&e.classList.add("valid")});var n=document.querySelectorAll(".breadcrumb#top-breadcrumb nav ol li.valid");n&&n.forEach((e,t)=>{var i=document.createElement("span");i.setAttribute("class","separator elipsesis");var o=document.createElement("span");if(o.setAttribute("class","breadcrumb-item elipsesis"),screen.width>1025){var a=document.querySelector(".breadcrumb#top-breadcrumb nav ol li .breadcrumb-item.elipsesis");e.removeAttribute("style"),a.style.display="none",document.querySelector(".breadcrumb#top-breadcrumb nav ol li .separator.elipsesis").style.display="none"}if(screen.width<1025&&screen.width>655&&(0!==t&&t!==n.length-1&&(e.style.display="none"),t==n.length-1&&n.length>4)){var r=document.querySelector(".breadcrumb#top-breadcrumb nav ol li .breadcrumb-item.elipsesis");r||(e.prepend(i),e.prepend(o)),r&&r.removeAttribute("style");var s=document.querySelector(".breadcrumb#top-breadcrumb nav ol li .separator.elipsesis");s&&s.removeAttribute("style")}if(screen.width<655&&(0!==t&&t!==n.length-1&&(e.style.display="none"),t==n.length-1&&n.length>2)){var l=document.querySelector(".breadcrumb#top-breadcrumb nav ol li .breadcrumb-item.elipsesis");l||(e.prepend(i),e.prepend(o)),l&&l.removeAttribute("style");var c=document.querySelector(".breadcrumb#top-breadcrumb nav ol li .separator.elipsesis");c&&c.removeAttribute("style")}});var i=document.querySelector(".breadcrumb#top-breadcrumb nav ol li .breadcrumb-item.elipsesis");i&&i.addEventListener("click",(function(){document.querySelectorAll(".breadcrumb#top-breadcrumb nav ol li.valid").forEach(e
1=>{e.removeAttribute("style")}),i.style.display="none",document.querySelector(".breadcrumb#top-breadcrumb nav ol li .separator.elipsesis").style.display="none"}))}},getBreadcrumbs:function(i){i.length>1&&(i[1].querySelectorAll("ol li")&&i[1].querySelectorAll("ol li").forEach((function(e){e.remove()})),e&&e.forEach((function(e){i[0].querySelector("ol").appendChild(e)})),screen.width<993&&screen.width>654&&e&&e.forEach((function(e){i[1].querySelector("ol").appendChild(e)})),screen.width<1025&&i.forEach(t=>{"bottom-breadcrumb"===t.parentElement.parentElement.id&&e&&e.forEach((function(e){t.querySelector("ol").appendChild(e)}))}),t&&t.forEach((function(e){i[1].querySelector("ol").appendChild(e)})),i[1].querySelectorAll("ol li")&&i[1].querySelectorAll("ol li").forEach((function(e){e.classList.contains("last")||0==e.querySelectorAll("span").length&&(e.appendChild(n),e.querySelector("span").classList.add("separator"))})))}};return i}(),XA.register("hospitalBreadcrumb",XA.component.hospitalBreadcrumb)}(),function(){"use strict";var e;XA.component.inputContainer=(e=jQuery,{init:function(){e(".input-container").each((function(){let t=e(this).find(".search-input"),n=e(this).find(".js-search-query"),i=e(this).find(".search-button"),o=e(this).find(".clear-input");t.length>0&&(n.on("input",(function(e){e.target.value.length>0?(i.addClass("hide"),o.removeClass("hide")):(o.addClass("hide"),i.removeClass("hide"))})),o.click((function(){n.val(""),o.addClass("hide"),n.focus()})))}))}}),XA.register("input-container",XA.component.inputContainer)}(),function(){"use strict";XA.component.LocationDetect=function(e){function t(){-1==document.cookie.indexOf("location=")&&e.ajax({type:"GET",url:"/api/localization/analytics/geolocation/detect",contentType:"application/json; charset=utf-8",success:function(t){t.relyOnBrowser?navigator.geolocation?(navigator.geolocation.getCurrentPosition(n),n(n)):console.log("Geolocation is not supported by this browser."):t.relyOnSitecore&&e.ajax({type:"GET",url:"/api/localization/analytics/geolocation/getprofilegeolocationasync",contentType:"application/json; charset=utf-8",success:function(e){if(e.success){var t=new CustomEvent("locationUpdated",{detail:{location:e.location,locationText:e.locationText}});window.dispatchEvent(t)}},error:function(){console.log("error when making /getprofilegeolocationasync call.")}})},error:function(){console.log("error when making /detect call.")}})}function n(t){t&&t.coords&&t.coords.latitude&&t.coords.longitude&&e.ajax({type:"GET",url:"/api/localization/geolocation",contentType:"application/json; charset=utf-8",data:{latitude:t.coords.latitude,longitude:t.coords.longitude},dataType:"json",success:function(e){e.success?document.location.reload():console.log("Geolocation not saved successfully.")},error:function(){console.log("Geolocation error occured.")}})}var i={initInstance:function(){},init:function(){t()}};return i}(jQuery),XA.register("locationDetect",XA.component.LocationDetect)}(),function(){"use strict";XA.component.locationNavigation=function(){var e;const t={init:function(){var e=document.querySelectorAll(".location-navigation");e&&e.forEach((function(e){t.initializelocationNavigation(e)}))},initializelocationNavigation:function(n){e=document.querySelectorAll("#location-banner #link-section .link:not(#emergency-room)"),window.innerWidth<=1024&&t.modifyLocationNavigation(n),window.addEventListener("resize",(function(){if(window.innerWidth<=1024)t.modifyLocationNavigation(n),n.querySelectorAll(".blue-bar-elements .link")&&n.querySelectorAll(".blue-bar-elements .link").forEach((function(e){e.classList.add("location-navigation-cta"),e.classList.add("button-standard"),e.classList.add("standard-outline")}));else{var i=document.querySelector("#location-banner #link-section .row"),o=this.document.querySelector("#location-banner #link-section .link#emergency-room");e&&e.forEach((function(e){i.appendChild(e)})),o&&i.appendChild(o)}}))},modifyLocationNavigation:function(t){var n=t.querySelector(".blue-bar-elements"),i=document.createElement("li");i.classList.add("blue-bar-elements");var o=document.createElement("div");o.classList.add("home-link");var a=document.createElement("a");a.setAttribute("title","Home"),a.setAttribute("href","/");var r=document.createTextNode("Ascension.org");a.appendChild(r),o.appendChild(a),n?n.querySelector(".home-link")||n.appendChild(o):i.appendChild(o),e&&e.forEach((function(e){n?n.appendChild(e):i.appendChild(e)})),n||t.querySelector("nav ul").appendChild(i),window.addEventListener("load",(function(){var e=t.querySelector("nav ul li.blue-bar-elements.top-level");e&&e.classList.remove("top-level"),e.querySelectorAll(".link")&&e.querySelectorAll(".link").forEach((function(e){e.classList.add("location-navigation-cta"),e.classList.add("button-standard"),e.classList.add("standard-outline")}))}));var s=t.querySelector(".blue-bar-elements");s&&s.querySelectorAll(".link")&&s.querySelectorAll(".link").forEach((function(e){e.querySelector("a")||(e.style.display="none")}))}};return t}(),XA.register("locationNavigation",XA.component.locationNavigation)}(),function(){"use strict";function e(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)}}function t(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}function n(e,t){if(n=e,!(null!=(i=t)&&"undefined"!=typeof Symbol&&i[Symbol.hasInstance]?i[Symbol.hasInstance](n):n instanceof i))throw new TypeError("Cannot call a class as a function");var n,i}var i;XA.component.preferredlocation=(i=jQuery,{init:function(){i(".current-location-search .input-container").each((function(){var e=i(this).find(".js-search-query"),t=i(this).find(".clear-input");e.on("input",(function(e){e.target.value.length>0?t.removeClass("hide"):t.addClass("hide")})),t.click((function(){e.val(""),t.addClass("hide"),e.focus()}))}));var e=function(){function e(t,i){var o=this;n(this,e);var a=null,r=new i,s=null,l=t("body"),c={},u={},d=".js-search-query",h=".js-type-ahead-results",g=".js-type-ahead-results li:not(.related-label)",p=".js-search-btn",f=".js-type-ahead",m={index:null,suggestions:[],suggestionPos:[],input:""};
1this.initTypeahead=function(e,t){s=e,u=t,c.$query=e.find(d),c.$suggestions=e.find(h),c.$suggestion=e.find(g),c.$searchButton=e.find(p),c.$searchResults=s.find(f),l.on("click",(function(){o.hideSuggestions()})),c.$query.on("input",(function(e){o.onInputChange(e)})),c.$query.on("keydown",(function(e){o.onKeydown(e)})),r.getCookie("location")&&(c.$searchResults.addClass("is-hidden"),c.$query.on("focus",(function(){c.$searchResults.removeClass("is-hidden")}))),r.getCookie("last-submit-location")&&(c.$searchResults.addClass("is-hidden"),c.$query.on("focus",(function(){c.$searchResults.removeClass("is-hidden")})))},this.initTypeahead2=function(e,t){s=e,u=t,c.$query=e.find(d),c.$suggestions=e.find(h),c.$suggestion=e.find(g),c.$searchButton=e.find(p),c.$searchResults=s.find(f),l.on("click",(function(){o.hideSuggestions()})),c.$query.on("input",(function(e){o.onInputChange(e)})),c.$query.on("keydown",(function(e){o.onKeydown(e)})),r.getCookie("location")&&(c.$searchResults.addClass("is-hidden"),c.$query.on("focus",(function(){c.$searchResults.removeClass("is-hidden")}))),r.getCookie("last-submit-location")&&(c.$searchResults.addClass("is-hidden"),c.$query.on("focus",(function(){c.$searchResults.removeClass("is-hidden")})))};var v=function(e){return e>=c.$suggestion.length?0:e<0?c.$suggestion.length-1:e};this.onKeydown=function(e){if(0===m.suggestions.length)return!0;switch(e.which){case 13:if(null!==m.index){var t=o.decodeSuggestion(m.suggestions[m.index].description.slice(0,-5));o.suggestionSelected(t),o.hideSuggestions()}else{var n=c.$query.val();o.suggestionSelected(n)}return!1;case 38:return null===m.index?m.index=0:m.index=v(m.index-1),c.$suggestion.removeClass("active"),c.$suggestion.eq(m.index).addClass("active"),r.ariaHelp("Selected "+m.suggestions[m.index]+" "+(m.index+1)+" of "+m.suggestions.length),c.$suggestion.eq(m.index).position().top<0?c.$suggestions.scrollTop(m.suggestionPos[m.index]):c.$suggestion.eq(m.index).position().top>=c.$suggestions.outerHeight()&&c.$suggestions.scrollTop(m.suggestionPos[m.suggestionPos.length-1]),!1;case 40:return null===m.index?m.index=0:m.index=v(m.index+1),c.$suggestion.removeClass("active"),c.$suggestion.eq(m.index).addClass("active"),r.ariaHelp("Selected "+m.suggestions[m.index]+" "+(m.index+1)+" of "+m.suggestions.length),c.$suggestion.eq(m.index).position().top>=c.$suggestions.outerHeight()?c.$suggestions.scrollTop(m.suggestionPos[m.index]-(c.$suggestions.outerHeight()-c.$suggestion.eq(m.index).outerHeight())):c.$suggestion.eq(m.index).position().top<0&&c.$suggestions.scrollTop(m.suggestionPos[0]),!1;case 27:case 9:return c.$suggestion.removeClass("active"),o.hideSuggestions(),!1;default:return!0}},this.onInputChange=function(){var e=m.input=c.$query[0].value.trim();""===e||null==e||e.length<3?o.hideSuggestions():u.fetchOnce&&null!==a?o.filterSuggestions(e):o.fetchSuggestions(e)},this.fetchSuggestions=r.debounce((function(e){e=r.sanitize(e),e=r.encodeURIComponent(e);var n=this,i=u.suggestApi+e;u.fetchOnce&&(i=u.suggestApi),t.ajax({type:"GET",url:i,contentType:"application/json; charset=utf-8",dataType:"json",crossDomain:!0,success:function(t){u.fetchOnce?(a=t,n.filterSuggestions(e)):n.updateSuggestions(e,t)},error:function(e){n.hideSuggestions(),console.log("typeahead error...",e)}})}),300),this.filterSuggestions=function(e){for(var t=[],n=0;n<a.length;n++)-1!==a[n].toLowerCase().indexOf(e.toLowerCase())&&t.push(a[n]);this.updateSuggestions(e,t)},this.updateSuggestions=function(e,n){var i=this,o=n.predictions.filter(e=>e.terms.length>1&&"USA"!==e.terms[1].value);console.log(o);var a=c.$query.val().trim().length<3,l="";if(o.length>5&&(o=o.slice(0,5)),c.$suggestions.html(""),a||(null===o||0===o.length||""==o)&&!n.ConditionQuery)return this.hideSuggestions(),!1;if(this.showSuggestions(),null!==o){r.ariaHelp("Open autocomplete with "+o.length+" suggestions."),m.suggestions=o;for(var u=0;u<o.length;u++){var d,h;parseInt(o[u].structured_formatting.main_text)?(h=o[u].structured_formatting.main_text,d=o[u].structured_formatting.secondary_text.slice(0,-5)):(h="",d=o[u].structured_formatting.main_text+", "+o[u].structured_formatting.secondary_text.slice(0,-5)),l+='<li class="search-suggestion" role="presentation"><a role="option"><span class="city-name"><svg width="14" height="20" viewBox="0 0 14 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 7.26508C0 3.39508 3.13 0.265076 7 0.265076C10.87 0.265076 14 3.39508 14 7.26508C14 11.4351 9.58 17.1851 7.77 19.3751C7.37 19.8551 6.64 19.8551 6.24 19.3751C4.42 17.1851 0 11.4351 0 7.26508ZM4.5 7.26508C4.5 8.64508 5.62 9.76508 7 9.76508C8.38 9.76508 9.5 8.64508 9.5 7.26508C9.5 5.88508 8.38 4.76508 7 4.76508C5.62 4.76508 4.5 5.88508 4.5 7.26508Z" fill="black" fill-opacity="0.54"/></svg>'+d+"</span><span>"+h+"</span></a></li>"}}if(n.ConditionQuery&&null!==n.RelatedCondition){l+='<li class="search-suggestion related-label" role="presentation" tabindex="-1"><strong>'+n.RelatedCondition+"</strong> is a conditon associated with the following specialty services:</li>";for(var p=0;p<n.ConditionResults.length;p++)m.suggestions.push(n.ConditionResults[p]),l+='<li class="search-suggestion condition" role="presentation"><a role="option">
1'+JSON.parse('"'+n.ConditionResults[p]+'"')+"</a></li>"}c.$suggestions.html(l),c.$suggestion.off(),c.$suggestion=s.find(g),m.index=null,c.$suggestion.on("click",(function(e){i.suggestionSelected(t(e.currentTarget).text()),c.$searchButton.trigger("click"),i.hideSuggestions()})),m.suggestionPos=[],c.$suggestions.scrollTop(0),c.$suggestion.map((function(e){m.suggestionPos.push(c.$suggestion.eq(e).position().top)}))},this.suggestionSelected=function(e){c.$query.val(e),c.$query.attr("aria-invalid",!1),c.$query.next(".error").html(""),u.selectionCallBack&&u.selectionCallBack(e),u.autoSubmit&&c.$searchButton.trigger("click")},this.showSuggestions=function(){c.$suggestions.addClass("show-suggestions"),c.$suggestions.attr("aria-expanded",!0)},this.hideSuggestions=function(){m.suggestions=[],c.$suggestions.removeClass("show-suggestions"),c.$suggestions.attr("aria-expanded",!1)},this.decodeHtmlEntity=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)}))},this.unicodeToChar=function(e){return e.replace(/\\u[\dA-F]{4}/gi,(function(e){return String.fromCharCode(parseInt(e.replace(/\\u/g,""),16))}))},this.decodeSuggestion=function(e){var t=this.unicodeToChar(e.replace("//","/"));return this.decodeHtmlEntity(t)},this.prefillValue=function(){r.getCookie("location")&&c.$query.val(r.getCookie("location"))}}return t(e,[{key:"constants",value:function(){return this.constants}},{key:"name",value:function(){return"LocationSuggest"}}]),e}();new(function(){function i(t,o){var a,r=this,s=!1;n(this,i);var l=new e(t,o),c=new e(t,o),u=t(".js-location-change"),d=t(".js-location-change-widget"),h={$window:t(window),$query:u.find(".current-location-search .js-search-query"),$searchButton:u.find(".current-location-search .js-search-btn"),$searchContainer:u.find(".current-location-search"),$locationError:t("#location-error"),$locationErrorIcon:t(".location-error-icon"),$locationSuggestionMsg:t(".type-ahead-container-current .ex-add")},g={$window:t(window),$query:d.find(".current-location-search .js-search-query"),$searchButton:d.find(".current-location-search .js-search-btn"),$searchContainer2:d.find(".current-location-search"),$locationError:t("#location-error-widget")};this.validatorSettingsSearch={rules:{query:{required:!0,minlength:3}}},this.locationFormAutoSuggest=function(){var e={suggestApi:"/api/localization/locationsuggestions/?query=",hasRelated:"false"};l.initTypeahead(h.$searchContainer,e),c.initTypeahead2(g.$searchContainer2,e)},this.firstRun=function(){r.locationFormAutoSuggest(),h.$query.change((function(){clearTimeout(a),a=setTimeout((function(){t.ajax({type:"GET",url:"/api/localization/locationvalidation/?location="+h.$query.val(),dataType:"json",success:function(e){if(e.IsValid&&e.ValidLocation.includes(",")){var n=new CustomEvent("locationUpdated",{detail:{location:e.ValidLocation,locationText:e.ValidLocationText}});window.dispatchEvent(n),console.log("location: "+e.ValidLocation),h.$query.val(e.ValidLocation),h.$locationError.remove(),h.$query.removeClass("error"),h.$locationError.addClass("hide"),h.$locationErrorIcon.addClass("hide"),h.$locationSuggestionMsg.css("opacity","1"),s=!0,t("#change-location-form").submit()}else h.$locationError.removeClass("hide"),h.$locationErrorIcon.removeClass("hide"),h.$locationSuggestionMsg.css("opacity","0"),h.$query.addClass("error"),s=!1,parseInt(h.$query.val())?h.$locationError.html('<strong>Error:</strong> Please enter a valid zipcode like "53226".'):h.$locationError.html("<strong>Error:</strong> Enter a valid City and State, or ZIP code.")}})}),300)})),g.$query.change((function(){clearTimeout(a),a=setTimeout((function(){t.ajax({type:"GET",url:"/api/localization/locationvalidation/?location="+g.$query.val(),dataType:"json",success:function(e){e.IsValid?(g.$query.val(e.ValidLocation),g.$query.removeClass("error"),g.$locationError.hide(),s=!0,t("#change-location-form-widget").submit()):(g.$locationError.show(),g.$query.addClass("error"),s=!1)}})}),300)})),h.$searchButton.on("click",(function(e){e.preventDefault();var n=h.$query.val();""===n||null===n||n.length<3||!n.toString().includes(",")?(h.$locationError.
1show(),h.$locationSuggestionMsg.css("opacity","0"),h.$query.addClass("error")):"js-search-btn"===e.currentTarget.className&&s&&(h.$locationError.remove(),h.$locationSuggestionMsg.css("opacity","1"),t("#change-location-form").submit())})),g.$searchButton.on("click",(function(e){e.preventDefault();var n=g.$query.val();""===n||null===n||n.length<3||!n.toString.includes(",")?(g.$locationError.show().html("<strong>Error:</strong> This field is required."),g.$query.addClass("error")):"js-search-btn"===e.currentTarget.className&&s&&t("#change-location-form-widget").submit()}))}}return t(i,[{key:"$name",value:function(){return"HomepageHero"}},{key:"init",value:function(){this.firstRun()}}]),i}())(i,(function e(){var t=this;n(this,e);var o=this;self.playingVideo=null,this.constants={size:{small:655,medium:800,large:1025,xlarge:1366},api:{google:"AIzaSyBjkpsHMwBmOeCCGKgqQd4QxnLHU4SmRuo",googleClientID:"gme-ascensionhealth1",share:"58a605b966518c001129c2a5",locationSuggestionURL:"/api/localization/locationsuggestions/?query="}},this.ariaHelp=function(e){i("#a11y-help").text(e)},this.filterSelectWidth=function(){var e='<label class="filter-dropdown width-test"><select class="width-test-select"><option class="option-width"></option></select></label>';i("select.with-filter").each((function(t,n){var o,a=i(n),r=a.find("option:selected");i("body").append(e),(o=i("body").find(".width-test")).find(".option-width").html(r.text()),a.css("width",o.find(".width-test-select").width()+20).addClass("showing"),o.remove(),a.on("change",(function(){r=a.find("option:selected"),i("body").append(e),(o=i("body").find(".width-test")).find(".option-width").html(r.text()),a.css("width",o.find(".width-test-select").width()+20),o.remove()}))}))},this.isValidZip=function(e){return!!/^\d{5}(-\d{4})?$/.test(e)},this.sanitize=function(e){return e=(e=e.replace(/<(?:.|\n)*?>/gm,"")).replace(/[|<|>|=|?|:|%|]/gm,"")},this.encodeURIComponent=function(e){return e=e.replace(/"/g,'\\"'),encodeURIComponent(JSON.parse('"'+e+'"')).replace(/\(/g,"%28").replace(/\)/g,"%29")},this.modalLock=function(e){var t,n='a[href], area[href], input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]',o=i(n),a=e.find(n);o.each((function(){if(-1!==a.index(i(this)))return!0;t=parseInt(i(this).attr("tabindex")),isNaN(t)?(i(this).attr("data-tabindex",0),i(this).attr("tabindex",-1)):t>=0&&(i(this).attr("data-tabindex",t),i(this).attr("tabindex",-1))})),a.on("keydown.modalLock",(function(t){return(a=e.find(n).filter(":visible")).last().is(i(this))&&9===t.keyCode&&!1===t.shiftKey?(a.first().focus(),t.preventDefault(),!1):a.first().is(i(this))&&9===t.keyCode&&!0===t.shiftKey?(a.last().focus(),t.preventDefault(),!1):void 0}))},this.modalUnlock=function(e){var t,n=i("[data-tabindex]");e.find('a[href], area[href], input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]').off("keydown.modalLock"),n.each((function(){t=i(this).attr("data-tabindex"),i(this).attr("tabindex",t),i(this).removeAttr("data-tabindex")}))},this.debounce=function(e,t,n){var i;return function(){var o=this,a=arguments,r=function(){i=null,n||e.apply(o,a)},s=n&&!i;clearTimeout(i),i=setTimeout(r,t),s&&e.apply(o,a)}},this.geoLocate=function(e){var n=t.constants.api.google,o=t.getCookie("location");if(o)return t.geoJSON={results:[{address_components:[{short_name:o,types:["postal_code"]}]}]},void e(t.geoJSON);navigator.geolocation?(t.success=function(e){var o=e.coords.latitude,a=e.coords.longitude;t.setCookie("latitude",o),t.setCookie("longitude",a),i.ajax({type:"GET",url:"https://maps.googleapis.com/maps/api/geocode/json?latlng="+o+","+a+"&key="+n,dataType:"json",success:t.processJSON,complete:function(){location.reload()}})},t.error=function(){console.log("Unable to retrieve your location"),e(null)},t.processJSON=function(t){try{t.results.length>0?e(t):(console.log(t.error_message),e(null))}catch(t){console.log("geoLocate JSON parsing error: "+t),e(null)}},navigator.geolocation.getCurrentPosition(t.success,t.error)):e(null)}
1,this.geoLocateReverse=function(e,n,a){var r=a,s=/^\d{5}(-\d{4})?$/.test(a);s&&(r=a+" USA");var l=t.constants.api.google;i.ajax({type:"GET",url:"https://maps.googleapis.com/maps/api/geocode/json?address="+r+"&key="+l,dataType:"json",success:function(e){t.processJSON(e)},error:function(){t.geoFailed()}}),t.processJSON=function(r){try{if(r.results.length>0){var l,c,u,d,h,g,p=r.results[0].address_components,f=r.results[0].geometry;i.each(p,(function(){"locality"===this.types[0]&&(l=this.short_name),"administrative_area_level_3"!==this.types[0]||l||(l=this.short_name),"administrative_area_level_1"===this.types[0]&&(c=this.short_name,o.setCookie("last-submit-state",c)),"country"===this.types[0]&&(u=this.short_name),"postal_code"===this.types[0]&&(d=this.short_name)})),h=f.location.lat,g=f.location.lng,l&&c&&"US"===u&&!s?(h&&t.setCookie("last-submit-latitude",h),g&&t.setCookie("last-submit-longitude",g),e(l+", "+c)):"US"===u&&s&&d===a?(h&&t.setCookie("last-submit-latitude",h),g&&t.setCookie("last-submit-longitude",g),e(a)):(console.log("geoLocateReverse cannot find city/state."),e(null))}else console.log("geoLocateReverse data not returned."),e(null)}catch(e){console.log("geoLocateReverse JSON parsing error: "+e),n(null)}},t.geoFailed=function(){console.log("geoLocateReverse failed."),n(null)}},this.setMarketCookie=function(e){var n=-1!==window.marketList.indexOf(e)?e:"National";t.setCookie("market",n),t.setCookie("state",e)},this.setCookie=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o={expires:30,path:"/"};t?i.cookie(e,t,null===n?o:n):i.removeCookie(e,{path:"/"})},this.getCookie=function(){var e=("; "+document.cookie).split("; "+name+"=");if(2==e.length)return e.pop().split(";").shift()}})).init()}}),XA.register("locationSuggest",XA.component.preferredlocation)}(),function(){"use strict";var e;XA.component.overlay=(e=jQuery,{init:function(){},show:function(){e(".component-overlay").attr("aria-hidden","false")},hide:function(){e(".component-overlay").attr("aria-hidden","true")}}),XA.register("overlay",XA.component.overlay)}(),function(){"use strict";var e;XA.component.preferredlocation=(e=jQuery,{init:function(){var t=e(".current-location-toggle"),n=e(".current-location-navigation");t.click((function(){e(document.body).toggleClass("show-current-location-nav"),t.attr("aria-expanded","false"==t.attr("aria-expanded")?"true":"false"),n.attr("aria-hidden","true"==n.attr("aria-hidden")?"false":"true")}))}}),XA.register("preferredlocation",XA.component.preferredlocation)}(),function(){"use strict";XA.component.primarynavigation=function(e){function t(t){function n(t){t.each((function(){var t=e(this).find(".primary-navigation-heading"),n=e(this).find(".primary-navigation-container");t.find("li:first-child").addClass("active"),n.find(".tab:eq(0)").addClass("active"),function(t,n){t.find("li").click((function(t){var o=e(this).index(),a=e(this).closest(".component.primary-navigation");if(e(this).addClass("active"),e(this).siblings().removeClass("active"),n.find(".tab").removeClass("active"),n.find(".tab:eq("+o+")").addClass("active"),i(a))try{XA.component.flip.equalSideHeight(a)}catch(e){console.warn("Error during calculation height of Flip list in toggle")}t.preventDefault()}))}(t,n),function(t){var n=0,i=0;t.length&&(t.parent().find(".prev").remove(),t.parent().find(".next").remove(),t.unwrap(),t.css("width","auto"),t.css("height","auto"),t.css("left",0)),t.find("li").each((function(){n+=e(this).outerWidth(!0)})),t.find("li").each((function(){i=Math.max(i,e(this).height())})),t.wrap("<div class='wrapper'>"),e("<div class='next primary-navigation-slider'>></div>").insertAfter(t),e("<div class='prev primary-navigation-slider'><</div>").insertBefore(t),t.parent().css("height",parseInt(i,10)),t.parent().find(".primary-navigation-slider").css("height",parseInt(i,10)-2),(n+=10)>t.parent().width()?(t.parent().find(".prev").hide(),t.width(n)):(t.parent().find(".prev").hide(),t.parent().find(".next").hide())}(t),function(e,t){e.find(".prev").click((function(){var e=parseInt(t.css("left"),10);(e+=150)>0?(e=0,t.stop().animate({left:e}),t.parent().find(".prev").hide(),t.parent().find(".next").show()):(t.stop().animate({left:e}),t.parent().find(".prev").show(),t.parent().find(".next").show())})),e.find(".next").click((function(){var e=parseInt(t.css("left"),10),n=t.width(),i=t.parent().width();n+(e-=150)<i?(e=n-i+20,t.stop().animate({left:-e}),t.parent().find(".prev").show(),t.parent().find(".next").hide()):(t.stop().animate({left:e}),t.parent().find(".prev").show(),t.parent().find(".next").show())}))}(e(this),t)}))}n(t),e(window).resize((function(){n(t)}))}var n={},i=function(e){return!!e.find(".component.flip").length};return n.initInstance=function(n){var o=n.find(".primary-navigation-inner");if(n.hasClass("primary-navigation-scrollable")?t(n):(o.each((function(){var t=e(this).find(".primary-navigation-heading > li");!function(t,n){var i=t.closest(".component.primary-navigation").attr("id"),o=XA.queryString.getQueryParam(i||"tab");
1null!=o&&!isNaN(parseInt(o))&&isFinite(o)&&(o=parseInt(o),t.length>o)&&(e(t[o]).hasClass("active")?(e(t[o]).removeClass("active"),e(n[o]).removeClass("active")):(e(t[o]).addClass("active"),e(n[o]).addClass("active")))}(t,e(this).find("> .primary-navigation-container > .tab")),t.click((function(t){if("a"!==event.target.tagName.toLowerCase()){var o=e(this),a=o.index(),r=o.closest(".primary-navigation-inner"),s=e(o)[0].getBoundingClientRect();if(o.siblings().removeClass("active"),r.find("> .primary-navigation-container > .tab").removeClass("active"),o.hasClass("active"))o.removeClass("active"),e("body").removeClass("primary-navigation-overlay"),e(r.children(".primary-navigation-container").children(".tab").eq(a)).removeClass("active");else{o.addClass("active");var l=e(r.children(".primary-navigation-container").children(".tab").eq(a));e(l).addClass("active"),e(l).css("position","absolute"),e(l).css("left",s.left),e("body").addClass("primary-navigation-overlay")}if(i(n))try{XA.component.flip.equalSideHeight(n)}catch(t){console.warn("Error during calculation height of Flip list in toggle")}o.focus()}else t.stopPropagation()})).keyup((function(t){var n=e(this);switch(t.keyCode){case 38:n.prev("li").click();break;case 40:n.next("li").click()}}))})),e("body").on("click",(function(t){if(0==e(t.target).closest(".primary-navigation-heading, .primary-navigation-container").length){var n=e(".primary-navigation-heading li");n.hasClass("active")&&(n.removeClass("active"),e(".primary-navigation-container > .tab").removeClass("active"),e("body").removeClass("primary-navigation-overlay"))}}))),i(n))try{XA.component.flip.equalSideHeight(n)}catch(e){console.warn("Error during calculation height of Flip list in toggle")}},n.init=function(){e(".primary-navigation:not(.initialized)").each((function(){var t=e(this);n.initInstance(t),e(this).addClass("initialized")})),e(".location-navigation li").each((t,n)=>{var i=e(n).find(">.navigation-title a");"Departments"!=i.attr("title")&&"Services"!=i.attr("title")||(i.parent().css("display","none"),e(n).find("> ul").css("padding","0"),e(n).css("padding","0"))}),e(".location-navigation nav ul li").each((function(){e(this).find("ul").length&&e(this).addClass("nav-icon")}));var t=e(".location-navigation nav ul li.nav-icon");t.not(this).removeClass("active"),t.on("click",(function(){t.not(this).removeClass("active"),e(this).hasClass("active")?e(this).removeClass("active"):e(this).addClass("active")})),e(".location-navigation .component-content").prepend('<span class="toggle-icon">MENU</span>'),e(".location-navigation nav").prepend('<span class="closed-icon">CLOSE</span>');var i=e(".location-navigation .toggle-icon");e(".location-navigation nav ul li").not(".location-navigation nav ul li ul li").addClass("top-level");var o=e(".location-navigation .closed-icon"),a=e(".location-navigation nav");i.on("click",(function(){e(a).hasClass("toggle-nav")?e(a).removeClass("toggle-nav"):e(a).addClass("toggle-nav")})),o.on("click",(function(){e(a).hasClass("toggle-nav")&&e(a).removeClass("toggle-nav")})),e("body").click((function(){e(t).removeClass("active"),e(a).removeClass("toggle-nav")})),e(".location-navigation").click((function(e){e.stopPropagation()})),e(".location-navigation nav ul li.nav-icon ul").click((function(e){e.stopPropagation()}))},n}(jQuery),XA.register("primary-navigation",XA.component.primarynavigation)}(),function(){"use strict";var e,t;XA.component.searchBreadcrumb=(e=jQuery,(t={}).init=function(){var t=(e,t,n)=>{var i=document.querySelectorAll('script[type="application/ld+json"]');for(let o=0;o<i.length;o++){let a=i[o],r=JSON.parse(a.innerText);if(r&&r["@graph"]&&"BreadcrumbList"===r["@graph"][0]["@type"]){let i=r["@graph"][0].itemListElement,o=i.map((function(e){return e.item})).indexOf(e);e&&o>-1&&i.splice(o,1),o=i.map((function(e){return e.name})).indexOf(t),t&&o>-1&&i.splice(o,1),r["@graph"][0].itemListElement=i,n&&r["@graph"][0].itemListElement.push({"@type":"ListItem",position:r["@graph"][0].itemListElement.length+1,name:t,item:e}),a.innerHTML=JSON.stringify(r)}}},n=(t,n)=>{e(".search-crumbs").append(`<li class="breadcrumb-item last ${n}">\n                                    <div class="navigation-title field-navigationtitle">\n                                      ${t}\n                                    </div>\n                                  </li>`)},i=(t,n,i)=>{e(".search-crumbs").append(`<li class="breadcrumb-item ${i}">\n                                    <div class="navigation-title field-navigationtitle">\n                                      <a title="${n}" href="${t}">${n}</a>\n                                    </div>
1\n                                    <span class="separator"></span>\n                                  </li>`)},o=e=>{let o=document.querySelector(".last.city-crumb"),a=r.querySelector(".location-type-ahead-input.is-valid");if(o&&a){let e=a.value.trim().replace(/\d+/g,"");o.remove(),t(`${window.location.href.split("?")[0]}?location=${encodeURIComponent(e)}`,e,!0),i(`${window.location.pathname}?location=${encodeURIComponent(e)}`,e,"city-crumb")}n(e,"specialty-crumb")},a=e=>{if(!e)return;let a=e.querySelector(".location-type-ahead-input.search-breadcrumb.is-valid");if(a&&a.value&&""!==a.value){console.log("This should not execute!");let s=a.value.trim().replace(/\d+/g,""),l=document.querySelector(".specialty-crumb");l&&(t(`${window.location.href.split("?")[0]}?location=${encodeURIComponent(s)}`,s,!1),l.remove());let c=document.querySelector(".city-crumb");c&&(t(`${window.location.href.split("?")[0]}?location=${encodeURIComponent(s)}`,s,!1),c.remove());let u=document.querySelector(".last.search-crumb");if(u){let e=u.querySelector(".navigation-title").innerHTML;u.remove(),t(window.location.href.split("?")[0],e,!0),i(window.location.pathname,e,"search-crumb")}(e=>{let t=document.querySelector(".city-crumb");t&&t.remove(),n(e,"city-crumb")})(s);var r=e.querySelector(".asc-select-dropdown-input-header-title.specialty:not(.placeholder)");r&&""!==r.innerText&&o(r.innerText.replace("\n×",""))}};const r=document.querySelector("form.asc-input");e(document).ready((function(){a(this)})),e(r).on("submit",(function(){a(this)}))},t),XA.register("breadcrumb",XA.component.searchBreadcrumb)}(),function(){"use strict";XA.component.alertBanner={init:function(){var e=document.querySelector(".alert-banner .alert-closed .learn-more-alert-top"),t=document.querySelector(".alert-banner .alert-top-content"),n=document.querySelector(".alert-banner .alert-bottom-content"),i=document.querySelector(".alert-banner .alert-bottom-content .alert-close-link");e&&e.addEventListener("click",(function(){e.classList.remove("d-flex"),e.classList.add("d-none"),t.style.transition="1s ease-in-out",t.style.maxHeight="800px",n.classList.remove("d-none"),n.classList.add("d-flex"),t.classList.remove("d-none"),t.classList.add("d-block")})),i&&i.addEventListener("click",(function(){t.style.maxHeight="0",setTimeout(()=>{e.classList.remove("d-none"),e.classList.add("d-flex"),n.classList.remove("d-flex"),n.classList.add("d-none"),t.classList.remove("d-block"),t.classList.add("d-none")},800)}))}},XA.register("AlertBanner",XA.component.alertBanner)}(),function(){"use strict";XA.component.navigation.sectionMenu=function(){const e={init:function(){document.querySelectorAll(".section-menu-section:not(.initialized)").forEach((function(t){e.initializeSectionMenu(t),e.widthchecker(t),t.classList.add("initialized")}))},initializeSectionMenu:function(t){var n=1;t.querySelectorAll(".parent").forEach((function(e){e.classList.add("level-"+n),n++})),window.addEventListener("resize",(function(){e.widthchecker(t)})),window.addEventListener("onload",(function(){e.widthchecker(t)}))},widthchecker:function(e){window.innerWidth>=1025?(e.querySelector(".section-menu-section .level-1  .parent-content").classList.add("active"),e.querySelector(".section-menu-section .level-1  .parent-title .menu-container").classList.add("hide"),e.querySelector(".section-menu-section .level-1  .parent-title .fas.fa-times").classList.remove("hide")):(e.querySelector(".section-menu-section .level-1  .parent-content").classList.remove("active"),e.querySelector(".section-menu-section .level-1  .parent-title .menu-container").classList.remove("hide"),e.querySelector(".section-menu-section .level-1  .parent-title .fas.fa-times").classList.add("hide"),e.querySelectorAll(".menu-button").forEach((function(e,t){t<=0&&e.addEventListener("click",(function(e){e.stopImmediatePropagation();var t,n=e.path||e.composedPath&&e.composedPath();for(t=0;t<n.length&&!n[t].id;t++);document.getElementById(n[t].id).classList.contains("mobileDropdown")?(document.getElementById(n[t].id).classList.remove("mobileDropdown"),document.getElementById(n[t].id).querySelectorAll(".mobileDropdown").forEach((function(e){e.classList.remove("mobileDropdown")}))):document.getElementById(n[t].id).classList.add("mobileDropdown")}))})))}};return e}(),XA.register("sectionMenu",XA.component.navigation.sectionMenu)}(),function(){"use strict";XA.component.topdrawer=function(e){function t(e,t,n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3);var o="expires="+i.toUTCString();document.cookie=e+"="+t+"; "+o}function n(t){var n=e(".closed-message"),i=e(".learn-more-top"),o=e(".closed-logo"),a=e(".top-content"),r=e(".bottom-content");n.attr("aria-hidden",!t),i.attr("aria-hidden",!t),o.attr("aria-hidden",!t),a.attr("aria-hidden",t),t?a.slide
1Up({duration:150,easing:"swing"}):a.slideDown({duration:150,easing:"swing"}),r.attr("aria-hidden",t)}var i={};return i.init=function(){var i=e(".learn-more-top"),o=e(".close-link");e(".top-content.open").length&&n("true"===function(e){for(var t=e+"=",n=document.cookie.split(";"),i=0;i<n.length;i++){for(var o=n[i];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""}("ascension.alertclosed"));i.click((function(){t("ascension.alertclosed","false",30),n(!1)})),o.click((function(){t("ascension.alertclosed","true",30),n(!0)}))},i}(jQuery),XA.register("top-drawer",XA.component.topdrawer)}();

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.