PageSourceSearch

https://www.diversifiedwny.com/wp-content/plugins/wcn-starkey-blocks/build/frontend.build.js?ver=1790704075

js diversifiedwny.com collected 2026-10-06 04:26:11 UTC 26,035 bytes, 1 lines download raw bytes

1!function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function t(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?e(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,"string");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}"function"==typeof SuppressedError&&SuppressedError;var a=i((function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var o,i,a;if(Array.isArray(t)){if((o=t.length)!=n.length)return!1;for(i=o;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((o=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=o;0!=i--;){var r=a[i];if(!e(t[r],n[r]))return!1}return!0}return t!=t&&n!=n}));const r="__googleMapsScriptId";var c;!function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(c||(c={}));class l{constructor({apiKey:e,authReferrerPolicy:t,channel:n,client:o,id:i=r,language:c,libraries:s=[],mapIds:d,nonce:u,region:v,retries:m=3,url:f="https://maps.googleapis.com/maps/api/js",version:h}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=n,this.client=o,this.id=i||r,this.language=c,this.libraries=s,this.mapIds=d,this.nonce=u,this.region=v,this.retries=m,this.url=f,this.version=h,l.instance){if(!a(this.options,l.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(l.instance.options)}`);return l.instance}l.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?c.FAILURE:this.done?c.SUCCESS:this.loading?c.LOADING:c.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`&region=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise(((e,t)=>{this.loadCallback((n=>{n?t(n.error):e(window.google)}))}))}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,t;if(document.getElementById(this.id))return void this.callback();const n={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};
1Object.keys(n).forEach((e=>!n[e]&&delete n[e])),(null===(t=null===(e=null===window||void 0===window?void 0:window.google)||void 0===e?void 0:e.maps)||void 0===t?void 0:t.importLibrary)||(e=>{let t,n,o,i="The Google Maps JavaScript API",a="google",r="importLibrary",c="__ib__",l=document,s=window;s=s[a]||(s[a]={});const d=s.maps||(s.maps={}),u=new Set,v=new URLSearchParams,m=()=>t||(t=new Promise(((r,s)=>{return m=this,f=void 0,p=function*(){var m;for(o in yield n=l.createElement("script"),n.id=this.id,v.set("libraries",[...u]+""),e)v.set(o.replace(/[A-Z]/g,(e=>"_"+e[0].toLowerCase())),e[o]);v.set("callback",a+".maps."+c),n.src=this.url+"?"+v,d[c]=r,n.onerror=()=>t=s(Error(i+" could not load.")),n.nonce=this.nonce||(null===(m=l.querySelector("script[nonce]"))||void 0===m?void 0:m.nonce)||"",l.head.append(n)},new((h=void 0)||(h=Promise))((function(e,t){function n(e){try{i(p.next(e))}catch(e){t(e)}}function o(e){try{i(p.throw(e))}catch(e){t(e)}}function i(t){var i;t.done?e(t.value):(i=t.value,i instanceof h?i:new h((function(e){e(i)}))).then(n,o)}i((p=p.apply(m,f||[])).next())}));var m,f,h,p})));d[r]?console.warn(i+" only loads once. Ignoring:",e):d[r]=(e,...t)=>u.add(e)&&m().then((()=>d[r](e,...t)))})(n);const o=this.libraries.map((e=>this.importLibrary(e)));o.length||o.push(this.importLibrary("core")),Promise.all(o).then((()=>this.callback()),(e=>{const t=new ErrorEvent("error",{error:e});this.loadErrorCallback(t)}))}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const e=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${e} ms.`),setTimeout((()=>{this.deleteScript(),this.setScript()}),e)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach((e=>{e(this.onerrorEvent)})),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading=!0,this.setScript()}}}var s={},d=[],u=!1,v=void 0,m=void 0;function f(e){var t=e.querySelectorAll(".marker"),n=o(o(o(o(o(o(o(o(o({zoom:16,center:new google.maps.LatLng(0,0),mapTypeId:google.maps.MapTypeId.ROADMAP,scrollwheel:!1},"center",{lat:39.966596,lng:-101.308724}),"streetViewControl",!1),"disableDefaultUI",!0),"zoomControl",!0),"zoomControlOptions",{position:google.maps.ControlPosition.RIGHT_BOTTOM}),"streetViewControl",!1),"scaleControl",!0),"mapTypeControl",!0),"mapTypeControlOptions",{style:google.maps.MapTypeControlStyle.HORIZONTAL_BAR,position:google.maps.ControlPosition.TOP_RIGHT});
1s=new google.maps.Map(e,n),t.forEach((function(e,t){!function(e,t,n){var o=e.dataset.lat,i=e.dataset.lng,a={lat:parseFloat(o),lng:parseFloat(i)},r=new google.maps.Marker({position:a,map:n});if(r.id="marker-"+t,r.location=e.dataset.location,d.push(r),e.innerHTML){var c=new google.maps.InfoWindow({content:e.innerHTML});google.maps.event.addListener(r,"click",(function(){u&&u.close(),u=c,c.open(n,r)}))}}(e,t,s)})),function(e){var t=new google.maps.LatLngBounds;d.forEach((function(e){t.extend({lat:e.position.lat(),lng:e.position.lng()})})),0==d.length?(e.setCenter({lat:37.63816,lng:-89.347618}),e.setZoom(4)):1==d.length?e.setCenter(t.getCenter()):e.fitBounds(t)}(s),e.classList.add("map--initialized"),document.querySelector(".location-map--search");var i=localStorage.getItem("locationSearch"),a=document.querySelector(".location-search__input");return i&&void 0!==a&&a&&(a.value=i),s}function h(e,t){var n=e.dataset.lat,o=e.dataset.lng,i={lat:parseFloat(n),lng:parseFloat(o)},a=(google.maps.geometry.spherical.computeDistanceBetween(new google.maps.LatLng(t.latitude,t.longitude),new google.maps.LatLng(i.lat,i.lng))/1609.344).toFixed(2),r=e.querySelector(".sb-location-distance a");return r&&(r.innerHTML=a+" mi"),a}function p(){var e=document.querySelector(".sb-locations");t(e.children).sort((function(e,t){return parseInt(e.querySelector(".sb-location-distance a").innerHTML)-parseInt(t.querySelector(".sb-location-distance a").innerHTML)})).forEach((function(t){return e.appendChild(t)}))}function g(e){var t=document.querySelectorAll(".sb-location");t.forEach((function(n){h(n,e.coords);var o="sb-location-active";n.addEventListener("click",(function(){if(!n.classList.contains(o)){t.forEach((function(e){e.classList.remove(o)})),n.classList.add(o);var e=n.dataset.location;d.forEach((function(t){t.location===e&&google.maps.event.trigger(t,"click")}))}}))})),p()}function y(){var e=document.querySelector(".sb-locationfinder form .search-btn");e&&e.addEventListener("click",(function(e){e.preventDefault();var t=document.querySelector(".sb-locationfinder form #id_location");if(t){u&&u.close();var n=t.value;(new google.maps.Geocoder).geocode({address:n},(function(e,t){if("OK"===t){v&&v.setMap(null),v=new google.maps.Marker({position:e[0].geometry.location,map:s,icon:{path:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z",fillColor:"green",fillOpacity:.8,scale:.05,anchor:new google.maps.Point(256,256)}});var n=e[0].geometry.location;m=L({lat:n.lat(),lng:n.lng()}),document.querySelectorAll(".sb-location").forEach((function(e){h(e,{latitude:n.lat(),longitude:n.lng()})}));var o=new google.maps.LatLngBounds;o.extend(m.position),o.extend(v.position),s.fitBounds(o),p()}}))}}))}function L(e){return d.reduce((function(t,n){if(!t)return n;var o=google.maps.geometry.spherical.computeDistanceBetween(new google.maps.LatLng(e.lat,e.lng),t.position);return google.maps.geometry.spherical.computeDistanceBetween(new google.maps.LatLng(e.lat,e.lng),n.position)<o?n:t}),void 0)}window.addEventListener("DOMContentLoaded",(function(){0!=document.querySelectorAll("#Google-Map-Container").length&&new l({apiKey:"AIzaSyD1MfP2dCmFe0XSHDutnj2eZGd6mfjPurY",version:"weekly",libraries:["maps","geometry"]}).load().then((function(e){var t;void 0!==(t=document.querySelectorAll("#Google-Map-Container"))&&null!=t&&t.forEach((function(e){f(e)})),y(),navigator.geolocation.getCurrentPosition((function(e){g(e)}),(function(e){console.log(e)}));var n=document.querySelector(".sb-use-current-location a"),o=document.querySelector(".sb-use-current-location");function i(e){o&&(o.style.display="denied"===e?"none":"")}navigator.permissions&&navigator.permissions.query({name:"geolocation"}).then((function(e){i(e.state),e.onchange=function(){i(e.state)}})),n&&n.addEventListener("click",(function(t){t.preventDefault(),navigator.geolocation.getCurrentPosition((function(t){v&&v.setMap(null),v=new e.maps.Marker({position:{lat:t.coords.latitude,lng:t.coords.longitude},map:s,icon:{path:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z",fillColor:"green",fillOpacity:.8,scale:.05,anchor:new e.maps.Point(256,256)}}),g(t),m=L({lat:t.coords.latitude,lng:t.coords.longitude}),s.setCenter(m.position),s.setZoom(14)}),(function(e){console.log(e)}))}))})).catch((function(e){console.log(e),console.log("There was an error loading the Google Maps API")}))}));var S=function(e){e&&document.querySelectorAll("[data-wcn-location-phone]").forEach((function(t){t.textContent=function(e,t){var n,o;return[null===(n=e.dataset.beforePhoneText)||void 0===n?void 0:n.trim(),t,null===(o=e.dataset.afterPhoneText)||void 0===o?void 0:o.trim()].filter(
1Boolean).join(" ")}(t,e),t.href="tel:".concat(e.replace(/[^0-9]/g,"")),t.classList.remove("js-launch-modal")}))};document.addEventListener("DOMContentLoaded",(function(){S(window.localStorage.getItem("location-phone"))})),document.addEventListener("wcn:location-phone-change",(function(e){var t;S(null===(t=e.detail)||void 0===t?void 0:t.phone)})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".schedule-appointment-comments-text");if(e){var t=document.querySelector(".lp-modal-content #wcn-gravity-form");t&&new MutationObserver((function(n,o){t.querySelector(".wcn-gravity-form-confirmation")&&(e.style.display="none",o.disconnect())})).observe(t,{childList:!0,subtree:!0})}})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".location-summary__locations"),t=document.querySelector(".location-expandable");e&&t&&(e.addEventListener("click",(function(e){t.style.display="none"===t.style.display||""===t.style.display?"block":"none",e.stopPropagation()})),document.addEventListener("click",(function(n){e.contains(n.target)||t.contains(n.target)||(t.style.display="none")})))})),document.addEventListener("DOMContentLoaded",(function(){var e,n;document.querySelector(".main-nav")?function(){var e=document.querySelector(".open-nav-menu"),t=document.querySelector(".close-nav-menu");if(e&&t){var n=document.querySelector(".nav-menu"),o=document.querySelector(".menu-overlay");e.addEventListener("click",(function(){n.classList.add("open"),o.classList.add("open")})),t.addEventListener("click",(function(){n.classList.remove("open"),o.classList.remove("open")})),document.querySelectorAll(".menu-sub-item").forEach((function(e){})),window.addEventListener("resize",(function(){window.innerWidth>1100&&(n.classList.remove("open"),o.classList.remove("open"),document.querySelectorAll(".menu-sub-item.active").forEach((function(e){e.classList.remove("active"),activeSubMenu.querySelector(".sub-menu").setAttribute("style","max-height:0px;")})))}))}}():document.querySelector(".lp-header-nav")?(t(document.querySelectorAll(".lp-header-mobilebtn")).forEach((function(e){e.addEventListener("click",(function(){document.querySelector(".lp-header-nav").classList.add("active")}))})),document.querySelector(".lp-close-mobile").addEventListener("click",(function(){document.querySelector(".lp-header-nav").classList.remove("active")})),window.addEventListener("resize",(function(){window.innerWidth>1023&&document.querySelector(".lp-header-nav").classList.remove("active")})),document.querySelectorAll(".lp-has-subnav").forEach((function(e){e.querySelector(".lp-subnav-link"),e.addEventListener("click",(function(e){})),e.addEventListener("touchstart",(function(e){}))})),window.addEventListener("resize",(function(){window.innerWidth>1011&&document.querySelectorAll(".lp-subnav-link.active").forEach((function(e){e.classList.remove("active")}))}))):document.querySelector("#primary-nav")?(e=document.querySelector("button.mobile-nav"),n=document.querySelector("#primary-nav"),e&&n&&e.addEventListener("click",(function(e){n.classList.toggle("active")}))):document.querySelector(".nav-wrapper")?function(){var e=document.querySelector(".nav-mobile"),t=document.querySelector(".nav-wrapper"),n=document.querySelector(".close-mobile");e&&t&&n&&(e.addEventListener("click",(function(){t.classList.add("active")})),n.addEventListener("click",(function(){t.classList.remove("active")})))}():document.querySelector(".site-c-nav-menu")&&function(){var e=document.querySelector(".open-site-c-nav-menu"),t=document.querySelector(".site-c-nav-menu"),n=document.querySelector(".close-site-c-nav-menu"),o=document.querySelector(".site-c-menu-overlay");e&&t&&n&&o&&(e.addEventListener("click",(function(){t.classList.add("open"),o.classList.add("active")})),n.addEventListener("click",(function(){t.classList.remove("open"),o.classList.remove("active")})))}()})),document.addEventListener("DOMContentLoaded",(function(){var e;null!=document.querySelector(".flex-box-5:has(.tablinks)")&&function(){var e=document.querySelector(".flex-box-5:has(.tablinks)");if(e){var n=t(e.querySelectorAll(".tablinks"));
1n.forEach((function(o){o.addEventListener("click",(function(){n.forEach((function(e){e.classList.remove("active")})),o.classList.add("active");var i=o.dataset.location;t(e.querySelectorAll(".tabcontent")).forEach((function(e){e.dataset.location===i?e.classList.add("active"):e.classList.remove("active")}))}))}))}}(),null!=document.querySelector(".site-a-map-container")&&function(){var e=document.querySelector(".site-a-map-container");if(e){var t=e.querySelectorAll(".site-a-map-tabs button.tablinks"),n=e.querySelectorAll(".site-a-map-container .tabcontent");t.forEach((function(o){o.addEventListener("click",(function(){if(!o.classList.contains("active")){var i=o.dataset.location,a=e.querySelector('.site-a-map-container .tabcontent[data-location="'.concat(i,'"]'));null!=a&&(t.forEach((function(e){e.classList.remove("active")})),n.forEach((function(e){e.classList.remove("active")})),o.classList.add("active"),a.classList.add("active"))}}))}))}}(),null!=document.querySelector(".site-b-map-container")&&function(){var e=document.querySelector(".site-b-map-container");if(e){var n=t(e.querySelectorAll(".tablinks"));n.forEach((function(o){o.addEventListener("click",(function(){n.forEach((function(e){e.classList.remove("active")})),o.classList.add("active");var i=o.dataset.location;
1t(e.querySelectorAll(".tabcontent")).forEach((function(e){e.dataset.location===i?e.classList.add("active"):e.classList.remove("active")}))}))}))}}(),null!=document.querySelector(".site-d-map-bg")&&(e=document.querySelector(".site-d-map-bg select"))&&e.addEventListener("change",(function(){var t=e.value;document.querySelectorAll(".site-d-map-bg .locbox").forEach((function(e){e.dataset.location===t?e.classList.add("active"):e.classList.remove("active")}))})),null!=document.querySelector(".site-e-map-bg, .site-e-ml-ml-map-bg")&&function(){var e=document.querySelector(".site-e-map-bg, .site-e-ml-ml-map-bg");if(e){var t=e.querySelector("#loclist");t&&t.addEventListener("change",(function(){var n=t.value;e.querySelectorAll(".locbox").forEach((function(e){e.dataset.location===n?e.classList.add("active"):e.classList.remove("active")}))}))}}(),null!==document.querySelector(".location-section")&&function(){var e=document.querySelector(".location-section");if(e){var t=e.querySelector("select");t.addEventListener("change",(function(){var n=t.value;e.querySelectorAll(".location").forEach((function(e){e.dataset.location===n?e.classList.add("active"):e.classList.remove("active")}))}))}}(),null!==document.querySelector(".map-bg-d1")&&function(){var e=document.querySelector(".map-bg-d1");if(e){var t=e.querySelector("select");t&&t.addEventListener("change",(function(){var n=t.value;e.querySelectorAll(".locbox").forEach((function(e){e.dataset.location===n?e.classList.add("active"):e.classList.remove("active")}))}))}}()})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".top-header");if(e){var t=e.querySelector("img");t&&window.addEventListener("scroll",(function(){window.scrollY>140?(e.classList.add("top-overlay"),t.classList.add("shrink")):(e.classList.remove("top-overlay"),t.classList.remove("shrink"))}))}})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".accordion");e&&t(e.querySelectorAll(".faq-item")).forEach((function(e){e.addEventListener("click",(function(){e.classList.toggle("active")}))}))})),document.addEventListener("DOMContentLoaded",(function(){t(document.querySelectorAll(".reveal")).forEach((function(e){window.addEventListener("scroll",(function(){var t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,o=t.top<=n,i=t.bottom>=0;o&&i&&e.classList.add("active")}))}))})),document.addEventListener("DOMContentLoaded",(function(){!function(){var e=document.querySelectorAll(".lp-Slides");if(0!==e.length){e.forEach((function(e){e.style.position="absolute",e.style.visibility="hidden",e.style.display="block"}));var t=0;e.forEach((function(e){var n=e.offsetHeight;t=Math.max(t,n)})),e.forEach((function(e){e.style.position="",e.style.visibility="",e.style.display="",e.style.height="".concat(t,"px")}))}}();for(var e=function(){return setInterval((function(){var e=document.querySelector("".concat(o[i].selector,".active"));if(e){var t=parseInt(e.dataset.testimonial);t==a-1?(e.classList.remove("active"),n[0].classList.add("active"),l.length>0&&l[t]&&(l[t].classList.remove(o[i].dotActiveClass),l[0].classList.add(o[i].dotActiveClass))):(e.classList.remove("active"),n[t+1].classList.add("active"),l.length>0&&l[t]&&(l[t].classList.remove(o[i].dotActiveClass),l.length>t+1&&l[t+1].classList.add(o[i].dotActiveClass)))}}),5e3)},n=t(document.querySelectorAll(".lp-Slides")),o=[{selector:".lp-Slides",dotSelector:".lp-slider-dot",dotActiveClass:"lp-active"},{selector:".carousel-inner .item",dotSelector:".carousel-indicators li",dotActiveClass:"active"},{selector:".testimonials .testimonial",dotSelector:".testimonial-indicators .testimonial-dot",dotActiveClass:"active"},{selector:".testimonials-container .testimonial",dotSelector:".testimonial-indicators .testimonial-dot",dotActiveClass:"active"}],i=0;0===n.length&&!((n=t(document.querySelectorAll(o[i].selector))).length>0);)if(++i>=o.length)return;var a=n.length,r=o[i],c=(r.selector,r.dotSelector),l=t(document.querySelectorAll(c)),s=e(),d=o[i].dotActiveClass;if(void 0!==d)for(var u=function(){var t=l[v];t.setAttribute("data-testimonial",v),t.addEventListener("click",(function(){t.classList.add(d),l.forEach((function(e){e!==t&&e.classList.remove(d)}));var o=t.dataset.testimonial;
1n.forEach((function(e){e.dataset.testimonial===o?e.classList.add("active"):e.classList.remove("active")})),clearInterval(s),s=e()}))},v=0;v<l.length;v++)u()})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelectorAll(".wcn-testimonial-list"),t=function(e,t,n){for(;e&&e!==n;){if(e.classList&&e.classList.contains(t))return e;e=e.parentElement}return null};e.forEach((function(e){e.addEventListener("click",(function(n){var o=t(n.target,"wcn-testimonial-list__continue",e);if(o){var i=t(o,"lp-testimonial",e);if(!i)return;var a=i.querySelector(".wcn-testimonial-list__text-preview"),r=i.querySelector(".wcn-testimonial-list__text-full");if(!a||!r)return;return n.preventDefault(),i.classList.add("is-expanded"),a.hidden=!0,r.hidden=!1,o.setAttribute("aria-expanded","true"),o.classList.remove("wcn-testimonial-list__continue"),o.classList.add("wcn-testimonial-list__close"),void(o.textContent=o.dataset.closeLabel)}var c=t(n.target,"wcn-testimonial-list__close",e);if(c){var l=t(c,"lp-testimonial",e);if(l){var s=l.querySelector(".wcn-testimonial-list__text-preview"),d=l.querySelector(".wcn-testimonial-list__text-full");l.classList.remove("is-expanded"),s&&(s.hidden=!1),d&&(d.hidden=!0),c.classList.remove("wcn-testimonial-list__close"),c.classList.add("wcn-testimonial-list__continue"),c.textContent=c.dataset.continueLabel,c.setAttribute("aria-expanded","false"),c.focus()}}}))}))})),document.addEventListener("DOMContentLoaded",(function(){t(document.querySelectorAll(".expanding-list-item")).forEach((function(e){e.addEventListener("click",(function(){e.querySelector(".lp-expanding-list-text").classList.toggle("collapse"),e.classList.toggle("expanded")}))}))})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".site-d5-header .site-logo"),t=document.querySelector(".hide-hero");e&&t&&window.addEventListener("scroll",(function(){window.scrollY>t.offsetHeight?e.classList.add("remove-abs"):e.classList.remove("remove-abs")}))})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".map--hearinghealthcarelousiana");if(e){var t=e.querySelector("#loclist");t.addEventListener("change",(function(){var n=t.value,o=e.querySelectorAll(".infolocbox"),i=e.querySelectorAll(".maplocbox");o.forEach((function(e){e.dataset.location===n?e.classList.add("active"):e.classList.remove("active")})),i.forEach((function(e){e.dataset.location===n?e.classList.add("active"):e.classList.remove("active")}))}))}})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".map--advancedfamilyhearing");if(e){var t=e.querySelectorAll(".map--advancedfamilyhearing .tablinks");t.forEach((function(n){n.addEventListener("click",(function(){var o=n.dataset.location;n.classList.add("active"),t.forEach((function(e){e!==n&&e.classList.remove("active")})),e.querySelectorAll(".tabcontent").forEach((function(e){e.dataset.location===o?e.classList.add("active"):e.classList.remove("active")}))}))}))}})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".map--nutonehearing");if(e){var t=e.querySelectorAll(".map--nutonehearing .tablinks");t.forEach((function(n){n.addEventListener("click",(function(){var o=n.dataset.location;n.classList.add("active"),t.forEach((function(e){e!==n&&e.classList.remove("active")})),e.querySelectorAll(".tabcontent").forEach((function(e){e.dataset.location===o?e.classList.add("active"):e.classList.remove("active")}))}))}))}})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelectorAll(".home-section-button"),t=document.querySelectorAll(".home-section");e.forEach((function(n){n.addEventListener("click",(function(){var o=n.dataset.section,i=document.getElementById(o);t.forEach((function(e){e.style.display=e===i?"block":"none"})),e.forEach((function(e){e===n?e.classList.add("active"):e.classList.remove("active")}))}))}))}))}();

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.