PageSourceSearch

https://www.arthritis-health.com/themes/vh_health/dist/js/all.min.js?tltnsg

js arthritis-health.com collected 2026-10-02 04:55:25 UTC 25,499 bytes, 23 lines download raw bytes

1((s,e)=>{"use strict";e.behaviors.cardSmallInset={attach:function(s){const e=s.querySelectorAll(".card-small-inset__title");this.softHyphenate(e)},words:[["cervico","thoracic"],["espondi","lolistesis"],["micro","discectomía"],["micro","discectomy"],["osteo","arthritis"],["osteo","artritis"],["psycho","logically"],["postero","lateral"],["radicu","lopathy"],["radio","frequency"],["spondy","lolisthesis"],["spondy","lolysis"],["un","conventional"],["under","standing"],["vertebro","plasty"]],softHyphenate:function(s){const e=this.words.map(s=>({parts:s,regex:new RegExp(s.join(""),"gi")}));s.forEach(s=>{let t=s.innerHTML;e.forEach(s=>{t=t.replace(s.regex,e=>e.slice(0,1).toUpperCase()===e.slice(0,1)?s.parts[0].slice(0,1).toUpperCase()+s.parts[0].slice(1)+"­"+s.parts.slice(1).join("­"):s.parts.join("­"))}),s.innerHTML=t})}}})(document,Drupal);
2((l,a,e)=>{"use strict";a.behaviors.collapsible={attach:function(l){e(".collapsible",l).each((l,a)=>{const t=e(a),s=t.find(".collapsible__title button"),o=t.find(".collapsible__button-text"),n=t.find(".collapsible__content");(t.removeClass("collapsible--loading"),t.addClass("collapsible--js"),t.hasClass("collapsible--default-open")?(t.addClass("collapsible--open"),n.removeClass("collapsible-content__sr-only")):n.addClass("collapsible-content__sr-only"),s.on("click",()=>{t.toggleClass("collapsible--open"),"true"===s.attr("aria-expanded")?(s.attr("aria-expanded","false"),s.attr("aria-label",s.data("expand-text")),o.text(s.data("expand-text")),n.addClass("collapsible-content__sr-only"),n.slideUp()):(s.attr("aria-expanded","true"),s.attr("aria-label",s.data("collapse-text")),o.text(s.data("collapse-text")),n.removeClass("collapsible-content__sr-only"),n.slideDown()),n.removeAttr("style")}),t.hasClass("vh-main-menu"))&&(window.matchMedia("(max-width: 1023px)").matches?(n.addClass("collapsible-content__sr-only"),t.removeClass("collapsible--open")):(e(".vh-main-menu").find("span").remove(),s.prop("disabled",!0),s.css({cursor:"default"})));n.removeAttr("style")})}}})(document,Drupal,jQuery);
3((t,n)=>{"use strict";n.behaviors.contentList={attach:function(t){window.addEventListener("DOMContentLoaded",function(){t.querySelectorAll(".content-list--loading").forEach(t=>{t.classList.add("content-list--js"),t.classList.remove("content-list--loading")})})}}})(document,Drupal);
4(e=>{"use strict";var t=(e,t)=>{var r=e.target||e.srcElement;let n=r.textContent||r.innerText;var i={"gtm.elementUrl":r.getAttribute("href"),"gtm.elementText":n.trim()};window.gtmEvent.push(t,i)};e.querySelectorAll(".doctor-primary-location__website").forEach(e=>{e.addEventListener("click",e=>{t(e,"ProfileWebsiteLink")}),e.addEventListener("contextmenu",e=>{t(e,"ProfileWebsiteLink")})})})(document);
5((o,a,e)=>{"use strict";var t=t||{initializeMap:function(){if("undefined"!=typeof google&&void 0!==google.maps){var a=new google.maps.LatLngBounds,t=new google.maps.LatLng(39.828175,-98.5795),n=o.getElementById("doctor-search-map"),i={center:t,zoom:1},p=e.doctor_search_map_locations,r=new google.maps.Map(n,i);p.forEach(function(o){var e=new google.maps.Marker({position:{lat:parseFloat(o.lat),lng:parseFloat(o.lng)},map:r});a.extend(e.position)}),r.fitBounds(a)}}};a.behaviors.doctorSearchMap={attach:function(){t.initializeMap()}}})(document,Drupal,drupalSettings);
6((e,r)=>{"use strict";r.behaviors.emailPromptBlock={attach:function(r,t){window.addEventListener("DOMContentLoaded",()=>{vhLog("vh_newsletter",t.vh_newsletter),e.querySelectorAll(".newsletter-email-prompt__trigger").forEach(r=>{r.addEventListener("click",r=>{r.preventDefault();var l=e.querySelector(".newsletter-email-prompt-block .form--email-address").value;if(""!==l){let r=e.querySelector(".subscribe-form .form--email-address");r.value=l,r.focus(),window.offer=t.vh_newsletter.offer}return!1})})})}}})(document,Drupal);
7((t,e)=>{"use strict";e.behaviors.facets={attach:function(t){const e=t.querySelectorAll(".facets-header");e&&e.length>0&&e.forEach(function(t){t.addEventListener("click",function(){this.classList.toggle("active");var t=this.parentNode.querySelector(".facets-panel");t&&t.classList.toggle("active")})})}}})(document,Drupal);
8((e,t)=>{"use strict";t.behaviors.footnotes={attach:function(t,o){window.addEventListener("DOMContentLoaded",()=>{const t=e.querySelectorAll(".footnote__citations-wrapper .tooltip__link");t.length>0&&t.forEach(t=>{t.addEventListener("click",t=>{const o=e.getElementById("references"),n=o.querySelector("button"),r=o.querySelector(".collapsible__content");n&&n.getAttribute("aria-expanded")&&r.classList.remove("collapsible-content__sr-only")})})})}}})(document,Drupal);
9((e,t)=>{"use strict";t.behaviors.themeGlobal={attach:function(t,r){function n(e){if(e){let t=e.querySelector("a");t&&t.href&&"#"!==t.href&&(window.location.href=t.href)}}window.addEventListener("DOMContentLoaded",()=>{var t=e.querySelectorAll(".element__clickable");t.length>
90&&t.forEach(e=>{e.addEventListener("click",t=>{if(vhLog("click",t.target.nodeName,"element",e),"A"!==t.target.nodeName)return n(e),!1}),e.addEventListener("keydown",t=>{if("A"!==t.target.nodeName&&("Enter"===t.key||13===t.Keycode||" "===t.key||32===t.Keycode))return t.preventDefault(),n(e),!1}),e.querySelectorAll("a").forEach(e=>{e.setAttribute("tabindex","-1")})})})}}})(document,Drupal);
10((e,t)=>{"use strict";t.behaviors.kitSubscribeForm={attach:function(t,r){var a=(e,t,r)=>{if(e.addEventListener)e.addEventListener(t,r);else{var a=e["on"+t];e["on"+t]=(()=>{a.apply(this,arguments),r.apply(this,arguments)})}};window.addEventListener("DOMContentLoaded",()=>{const t=e.getElementById("subscribe-form"),o=e.getElementById("subscribe-form-submit"),n=t.querySelectorAll("input"),i=t.querySelector(".kit--form-error"),s=new URLSearchParams(window.location.search),l=Object.fromEntries(s.entries()),c=["utm_source","utm_medium","utm_campaign"];var d=[],u=!1;window.offer=r.vh_newsletter.offer||"default";const m=e.getElementById("subscribe-modal");m&&new MutationObserver(()=>{"none"!==m.style.display&&(vhLog("Subscribe form is visible"),m.querySelector("#email").focus())}).observe(m,{attributes:!0,childList:!0});window.kitShowError=(e=>{(e=e.trim()).length&&(i.innerHTML="<p>"+e.trim()+"</p>",i.style.display="inline-block"),o.disabled=!1,o.classList.remove("processing")}),window.setExitIntentCookie=(()=>{let t=r.vh_newsletter.ouibounce.cookie_name,a=r.vh_newsletter.ouibounce.cookie_expiration||7,o="";if(a){var n=new Date;n.setTime(n.getTime()+24*a*60*60*1e3),o="; expires="+n.toUTCString()}e.cookie=t+"=true"+o+"; path=/; Secure; SameSite=Lax;"}),window.kitShowThankYou=(()=>{t.querySelector(".kit--form-content").style.display="none",t.querySelector(".kit--form-thank-you").style.display="block",t.querySelector(".kit--form-thank-you").innerHTML=window.response.thank_you;const r=e.getElementById("subscribe-modal");r&&(r.querySelector(".modal-window__title").innerHTML=window.response.thank_you_title,r.querySelector(".modal-window__content .body-text").style.display="none",r.querySelector(".subscribe-modal-close").focus());const a=e.getElementById("newsletter-page--container");a&&(a.querySelector(".box-title").innerHTML=window.response.thank_you_title,a.querySelector(".body-text").style.display="none",a.querySelector(".kit--form-thank-you").focus()),window.subscribed=1}),window.recaptcha_callback=(()=>{var t=e.getElementsByClassName("g-recaptcha");for(var r in t)if(void 0!==t[r]&&"BUTTON"==t[r].tagName){var a=t[r].getAttribute("data-sitekey");grecaptcha.render(t[r].id,{sitekey:a})}});var p=t=>{var r=t.elem.getBoundingClientRect(),a=e.documentElement,o=r.top-((window.pageYOffset||a.scrollTop)-(a.clientTop||0));t.tip.className=o<40?t.tip.className.replace(/ ?(_above|_below) ?/g,"")+" _below":t.tip.className.replace(/ ?(_above|_below) ?/g,"")+" _above"},h=()=>{for(var e=0;e<d.length;e++)d[e].no_arrow||p(d[e])},w=(t,r)=>{var a=null,o=t.value,n=!0;return r&&(e=>{for(var t=0;t<d.length;t++)if(d[t].elem===e)return d[t].tip.parentNode.removeChild(d[t].tip),void d.splice(t,1)})(t),t.className=t.className.replace(/ ?kit--has-error ?/g,""),n&&"email"===t.name&&(o.match(/^[\+_a-z0-9-'&=]+(\.[\+_a-z0-9-']+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/i)||(t.className=t.className+" kit--has-error",n=!1,a=((t,r)=>{var a=e.createElement("div"),o=e.createElement("div"),n=e.createElement("div"),i={};return"radio"==t.type||"checkbox"==t.type&&"sms_consent"!==t.name?(a.className="kit--error-inner kit--no-arrow",a.innerHTML=r,t.parentNode.insertBefore(a,t),i.no_arrow=!0):(a.className="_error",o.className="_error-arrow",n.className="kit--error-inner",n.innerHTML=r,a.appendChild(o),a.appendChild(n),t.parentNode.appendChild(a)),i.tip=a,i.elem=t,d.push(i),i})(t,window.response.missing_input))),a&&p(a),n},y=e=>null!==e.getAttribute("required")||"email"===e.name&&""!==e.value,b=e=>{t.querySelector(".kit--form-error");var r=!0;if(!u){u=!0;for(var o=0,i=n.length;o<i;o++){var s=n[o];y(s)&&"text"==s.type&&(a(s,"blur",()=>{this.value=this.value.trim(),w(this,!0)}),a(s,"input",()=>{w(this,!0)}))}}(()=>{for(var e=0;e<d.length;e++)d[e].tip.parentNode.removeChild(d[e].tip);d=[]})();for(o=0,i=n.length;o<i;o++){var l=n[o];y(l)&&("select"!==l.tagName.toLowerCase()&&(l.value=l.value.trim()),w(l)||(r=!1))}return e||(r=!1),r?(h(),r):r};a(window,"resize",h),a(window,"scroll",h),window.onSubscribe=(r=>(r.preventDefault(),grecaptcha.ready(()=>{e.getElementsByClassName("grecaptcha-badge")[0].style.opacity="0 !important",e.getElementsByClassName("grecaptcha-badge")[0].style.visibility="hidden !important";var a=r.target.getAttribute("data-sitekey"),n=r.target.getAttribute("data-tokenfield");grecaptcha.execute(a,{action:"submit"}).then(function(r){e.getElementById(n).value=r;var s=setInterval(()=>{grecaptcha.execute(a,{}).then(function(t){vhLog("refreshed token",t),e.getElementById(n).value=t})},6e4);if(b(r)){o.disabled=!0,o.classList.add("processing"),i.innerHTML="",i.style.display="none",async function(){let r=new FormData(t);
10if(Object.keys(l).length)for(let[e,t]of Object.entries(l))c.includes(e)&&r.append(e,t);window.offer&&r.append("offer",window.offer);let a={headers:{Accept:"application/json"},body:r,method:"POST"};const o=e.getElementById("subscribe-form").getAttribute("action");return(await fetch(o,a)).json()}().then(e=>{clearInterval(s);let t=parseInt(e.status);201===t||200===t?(setExitIntentCookie(),kitShowThankYou()):kitShowError(e.message)}).catch(e=>{kitShowError(window.response.error),vhLog("Kit Subscribe Error",e)})}})}),!1)),o.addEventListener("click",e=>(e.preventDefault(),onSubscribe(e),!1))})}}})(document,Drupal);
11((e,a)=>{"use strict";a.behaviors.largeSearch={attach:function(e){window.addEventListener("DOMContentLoaded",function(){e.querySelectorAll(".large-search").forEach(e=>{if(e.classList.contains("large-search-hero")){const a="large-search--"+Math.floor(Math.random()*parseInt(getComputedStyle(e).getPropertyValue("--background-count"))+1);e.classList.add(a)}e.classList.remove("large-search--1")})})}}})(document,Drupal);
12!function(t,e){"use strict";e.behaviors.lazyloadBackgroundImages={attach:function(t){const e=t.querySelectorAll("[data-lazy-background]"),a=new IntersectionObserver(t=>{t.forEach(t=>{if(t&&t.target&&t.isIntersecting){const e=t.target,r=e.getAttribute("data-lazy-background");r&&(e.style.backgroundImage="url('"+r+"')",e.removeAttribute("data-lazy-background"),a.unobserve(e))}})},{threshold:0});e.forEach(t=>{a.observe(t)})}}}(document,Drupal);
13((e,t)=>{"use strict";t.behaviors.modalWindow={attach:function(){window.modalOpen=(e=>{e.classList&&(e.classList.contains("modal-window--hidden")&&e.classList.remove("modal-window--hidden"),e.classList.add("modal-window--visible")),e.setAttribute("aria-hidden","false"),e.setAttribute("is-open",""),e.style.display="block",e.querySelector(".modal-window__tab-stop").addEventListener("focusin",t=>{vhLog("tabstop focusin",t),e.querySelector(".modal-window__close").focus()})}),window.modalClose=(()=>{e.querySelectorAll(".modal-window--visible").forEach(t=>{if(null!==t){t.classList&&(t.classList.contains("modal-window--visible")&&t.classList.remove("modal-window--visible"),t.classList.add("modal-window--hidden")),t.setAttribute("aria-hidden","true"),t.removeAttribute("is-open"),t.style.display="none";let i=t.dataset.triggeredby;i&&e.getElementById(i).focus()}})}),window.trapEscapeKey=(e=>{("key"in e?"Escape"===e.key||"Esc"===e.key:27===e.keyCode)&&modalClose()}),e.querySelectorAll(".modal-window").forEach(e=>{e.length>0&&"undefined"!=typeof MicroModal&&(MicroModal.init({disableScroll:!0,disableFocus:!1,awaitOpenAnimation:!1,awaitCloseAnimation:!1}),e.querySelectorAll("[data-micromodal-close]").forEach(e=>{e.addEventListener("click",()=>{modalClose()})}),e.addEventListener("keydown",e=>{trapEscapeKey(e)}))}),window.addEventListener("keydown",function(e){trapEscapeKey(e)}),e.querySelectorAll("[data-micromodal-trigger]").forEach(t=>{t.addEventListener("click",()=>{let i=t.getAttribute("data-micromodal-trigger");vhLog("modal trigger click",t,"modalId",i,"element",t),e.getElementById(i).setAttribute("data-triggeredby",t.id)}),t.addEventListener("keydown",i=>{if("Enter"===i.key||13===i.Keycode||" "===i.key||32===i.Keycode){let i=t.getAttribute("data-micromodal-trigger");vhLog("modal trigger click",t,"modalId",i,"element",t),e.getElementById(i).setAttribute("data-triggeredby",t.id)}})})}}})(document,Drupal);
14!function(e,o,i){"use strict";o.ouibounce=o.ouibounce||{instance:null,callbacks:{}},o.behaviors.initOuibounce={attach(e,n){i("ouibounce",document.getElementById("subscribe-modal"),e).forEach(e=>{if("function"!=typeof ouibounce)return void vhLog("Warning","Ouibounce library is not present. Please require it (preferably via `composer require bower-asset/ouibounce`)");const i=n.vh_newsletter.ouibounce;0===n.user.uid&&!1!==n.vh_newsletter.exit_intent.enabled&&(o.ouibounce.instance=ouibounce(e,{sensitivity:i.sensitivity,aggressive:i.aggressive_mode,timer:i.timer,delay:i.delay,cookieExpire:i.cookie_expiration,cookieDomain:i.cookie_domain,cookieName:i.cookie_name,sitewide:i.sitewide_cookie,callback(){modalOpen(e)}}),parseInt(i.custom_behavior)>0&&o.ouibounce.callbacks.initCustomBehavior(i))})}},o.ouibounce.callbacks.isTouchEnabled=function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0},o.ouibounce.callbacks.initCustomBehavior=function(e){if(parseInt(e.custom_behavior_touch||0)&&!o.ouibounce.callbacks.isTouchEnabled())return;let i=!1,n=0;switch(parseInt(e.custom_behavior)){case 1:window.addEventListener("scroll",function(){!i&&n-window.scrollY>0&&(o.ouibounce.instance.fire(),i=!0),n=window.scrollY});break;case 2:setTimeout(function(){o.ouibounce.instance.fire()},parseInt(e.custom_behavior_delay))}}}(jQuery,Drupal,once,drupalSettings);
15(e=>{"use strict";var t=e.getElementsByClassName("call-to-action-button-phone-reveal").length>0,n=e.getElementsByClassName("call-to-action-button-web").length>0;if(t||n){var l=(e,t)=>
15{var n=e.target||e.srcElement;var l={"gtm.elementId":"SPAN"===n.nodeName?n.parentNode.id:n.id,"gtm.elementText":(n.textContent||n.innerText).trim()};window.gtmEvent.push(t,l)};e.querySelectorAll(".profile-header__cta").forEach(e=>{if(n){const t=e.querySelector(".call-to-action-button-web");t.addEventListener("click",e=>{l(e,"ProfileRequestOnline")}),t.addEventListener("contextmenu",e=>{l(e,"ProfileRequestOnline")})}if(t){const t=e.querySelector(".call-to-action-button-phone-reveal");t.addEventListener("click",t=>{e.classList.add("profile-header--phone-revealed"),l(t,"ProfilePhoneReveal")}),t.addEventListener("contextmenu",e=>{l(e,"ProfilePhoneReveal")});const n=e.querySelector(".call-to-action-button-phone");n.addEventListener("click",e=>{l(e,"ProfileCallNow")}),n.addEventListener("contextmenu",e=>{l(e,"ProfileCallNow")})}})}})(document);
16!function(e){"use strict";var t=e.getElementsByTagName("SCRIPT")[0],s=e.createElement("SCRIPT");s.type="text/javascript",s.async=!0,s.src="//assets.pinterest.com/js/pinit.js",t.parentNode.insertBefore(s,t)}(document);
17((e,t)=>{"use strict";t.behaviors.share={attach:function(t){const a=[{name:"facebook",features:"popup,width=550,height=400"},{name:"instagram",features:"popup,width=550,height=400"},{name:"pinterest",features:"popup,width=550,height=400"},{name:"print",func:()=>{window.print()}}];t.querySelectorAll(".share__item").forEach(t=>{const r=t.querySelector(".share__button");a.forEach(a=>{if(t.classList.contains("share__item--"+a.name)){const t=r.href;e.querySelector(".pl-c-main")&&(r.href="#"),r.addEventListener("click",e=>{e.preventDefault(),a.func?a.func():window.open(t,r.target,"popup,"+a.features)})}})}),t.querySelectorAll(".share").forEach(e=>{e.classList.add("share--js"),e.classList.remove("share--loading")})}}})(document,Drupal);
18((e,t,i)=>{"use strict";t.behaviors.carouselInline={attach:function(e){const t=e.querySelectorAll(".slideshow-slide-inline > .card-stacked-description"),n=Array.prototype.slice.call(t),l=e.querySelector(".slideshow-slide-inline"),r=e.querySelector(".slideshow-row-inline");var o,s,d=!0;function c(){var e=l.lastElementChild.cloneNode(!0);e.style.left=-s+"px",l.insertBefore(e,l.firstChild)}function a(){var e=l.firstElementChild;e.parentNode.removeChild(e)}function f(){var t=e.querySelectorAll(".slideshow-slide-inline > .card-stacked-description"),i=Array.prototype.slice.call(t),n=0;i.forEach(function(e){e.style.left=n+"px",n+=s}),c()}function h(){var t,i,n;o=window.innerWidth>=500?5:window.innerWidth>=300?3:1,t=e.querySelectorAll(".slideshow-slide-inline > .card-stacked-description"),i=Array.prototype.slice.call(t),n=-(s=r.offsetWidth/o),i.forEach(function(e){e.style.width=s+"px",e.style.left=n+"px",n+=s})}function u(){var e=l.firstElementChild;d=!0,e.removeEventListener("transitionend",u)}function p(){var e=l.firstElementChild;e.parentNode.removeChild(e),l.appendChild(e),e.style.left=(n.length-1)*s+"px",c(),d=!0,e.removeEventListener("transitionend",p)}[t,l,r].includes(null)||(window.addEventListener("resize",h),f(),h(),i(".next-button-click").click(function(){if(d){d=!1,a(),l.firstElementChild.addEventListener("transitionend",p),t=e.querySelectorAll(".slideshow-slide-inline > .card-stacked-description"),i=Array.prototype.slice.call(t),n=((i=i.reverse()).length-1)*s,i.forEach(function(e){n-=s,e.style.left=n+"px"})}var t,i,n}),i(".prev-button-click").click(function(){if(d){d=!1;const e=l.lastElementChild;e.parentNode.removeChild(e),l.insertBefore(e,l.firstChild),a(),l.firstElementChild.addEventListener("transitionend",u),f()}}))}}})(document,Drupal,jQuery);
19((e,s)=>{"use strict";s.behaviors.slideshowText={attach:function(e){e.querySelectorAll(".slideshow-text").forEach(e=>{s.behaviors.slideshow.initSlideshow(e,"slideshow-text")})}}})(document,Drupal);
20((e,t,i)=>{"use strict";t.behaviors.slideshow={attach:function(e){const t=this;e.querySelectorAll(".slideshow").forEach(e=>{t.initSlideshow(e,"slideshow")})},initSlideshow:function(e,t){const l=e.querySelectorAll(`.${t}__slides > *`);if(1===l.length)return void l[0].classList.add("slide-active");let n={slideCount:l.length,currentSlide:(()=>{let e=0;return l.forEach((t,i)=>{t.classList.contains("slide-active")&&(e=i)}),l[e].classList.add("slide-active"),e})(),nextSlide:0,prevSlide:0};const r=()=>{(()=>{var e=n.slideCount-1;0===n.currentSlide?(n.nextSlide=1,n.prevSlide=e):n.currentSlide===e?(n.nextSlide=0,n.prevSlide=e-1):(n.nextSlide=n.currentSlide+1,n.prevSlide=n.currentSlide-1)})(),l[n.currentSlide].classList.add("slide-active"),i(`.${t}__current-slide-number`,e).html(n.currentSlide+1),i(`.${t}__total-slides`,e).html(n.slideCount)};r(),i(`.${t}__nav--prev, .${t}__pagination-button--prev`,e).click(function(e){e.preventDefault(),l[n.currentSlide].classList.remove("slide-active"),n.currentSlide=n.prevSlide,r()}),i(`.${t}__nav--next, .${t}__pagination-button--next`,e).click(function(e){e.preventDefault(),l[n.currentSlide].classList.remove("slide-active"),n.currentSlide=n.nextSlide,r()})}}})(document,Drupal,jQuery);
21((e,t)=>{"use strict";t.behaviors.subscribeModalPopupBlock={attach:function(t,o){window.addEventListener("DOMContentLoaded",function(){vhLog("vh_
21newsletter",o.vh_newsletter),e.querySelectorAll('[data-micromodal-trigger="subscribe-modal"]').forEach(t=>{t.addEventListener("click",()=>{const t=e.getElementById("subscribe-modal");modalOpen(t)})}),e.querySelectorAll(".subscribe-modal-close").forEach(e=>{e.addEventListener("click",e=>{modalClose(e)})})})}}})(document,Drupal);
22((t,e,a)=>{"use strict";e.behaviors.teasertext={attach:function(t){a(".teaser-text",t).each((t,e)=>{const s=a(e),n=s.find(".teaser-text__content"),o=s.find(".teaser-text__button button"),r=s.find(".teaser-text__button-text"),i=(s.find(".teaser-text__content--inner-wrapper").height()+16).toString()+"px",l=n.height().toString()+"px";console.log("initHeight: "+l),console.log("fullHeight: "+i),s.removeClass("teaser-text--loading"),s.addClass("teaser-text--js"),r.on("click",()=>{s.hasClass("teaser-text--open")?(n.stop().animate({height:l},500),s.removeClass("teaser-text--open"),o.attr("aria-label",o.data("expand-text")),r.text(o.data("expand-text"))):(n.stop().animate({height:i},500),s.addClass("teaser-text--open"),o.attr("aria-label",o.data("collapse-text")),r.text(o.data("collapse-text")))})})}}})(document,Drupal,jQuery);
23((t,e)=>{"use strict";e.behaviors.tooltip={hoverMQ:window.matchMedia("(hover: hover)"),attach:function(t){const e=this,o=t.querySelectorAll(".tooltip");e.monitorWindowResize(t),o.forEach(t=>{e.initTooltip(t)})},monitorWindowResize:function(e){const o=e.querySelectorAll(".tooltip__tooltip");new ResizeObserver(e=>{window.requestAnimationFrame(()=>{Array.isArray(e)&&e.length&&(o.forEach(t=>delete t.dataset.currentDirection),t.documentElement.style.setProperty("--scrollbar-width",`${window.innerWidth-t.body.clientWidth}px`))})}).observe(t.documentElement)},initTooltip:function(e){const o=this,i=e.querySelector(".tooltip__link"),l=e.querySelector(".tooltip__tooltip");i.addEventListener("mouseenter",()=>{i.setAttribute("data-hovered","true")}),i.addEventListener("mouseleave",()=>{i.setAttribute("data-hovered","false")});t.addEventListener("mousemove",e=>{o.hoverMQ.matches&&"true"===i.getAttribute("data-hovered")&&((e,o)=>{const i=l.dataset.currentDirection,r=l.getBoundingClientRect(),a=t.documentElement,n={toLeft:e/(r.width+20),halfToLeft:e/(r.width/2),toRight:(a.clientWidth-e)/(r.width+20),halfToRight:(a.clientWidth-e)/(r.width/2),toTop:o/(r.height+20),halfToTop:o/(r.height/2),toBottom:(a.clientHeight-o)/(r.height+20),halfToBottom:(a.clientHeight-o)/(r.height/2)},h=new Map([["topLeft",Math.min(n.toTop,n.toLeft)],["left",Math.min(n.halfToTop,n.halfToBottom,n.toLeft)],["bottomLeft",Math.min(n.toBottom,n.toLeft)],["bottom",Math.min(n.halfToLeft,n.halfToRight,n.toBottom)],["bottomRight",Math.min(n.toRight,n.toBottom)],["right",Math.min(n.halfToTop,n.halfToBottom,n.toRight)],["topRight",Math.min(n.toRight,n.toTop)],["top",Math.min(n.toTop,n.halfToLeft,n.halfToRight)],["above",n.toTop],["below",n.toBottom]]);let s="",p=0;if(i&&h.get(i)>=1)s=i,p=h.get(i);else for(const t of h.entries())["above","below"].includes(t[0])&&p>=1||t[1]>p&&(p=t[1],s=t[0]);p<1&&(s=h.above>h.below?"above":"below"),l.dataset.currentDirection=s;const d=l.style,c={above:`${o-20-r.height}px`,below:`${o+20}px`,verticallyCentered:`${o-Math.floor(r.height/2)}px`,left:`${e-20-r.width}px`,right:`${e+20}px`,horizontallyCentered:`${e-Math.floor(r.width/2)}px`,horizontallyCenteredWithinViewport:`${Math.floor((a.clientWidth-r.width)/2)}px`};switch(s){case"left":d.top=c.verticallyCentered,d.left=c.left;break;case"bottomLeft":d.top=c.below,d.left=c.left;break;case"bottom":d.top=c.below,d.left=c.horizontallyCentered;break;case"bottomRight":d.top=c.below,d.left=c.right;break;case"right":d.top=c.verticallyCentered,d.left=c.right;break;case"topRight":d.top=c.above,d.left=c.right;break;case"top":d.top=c.above,d.left=c.horizontallyCentered;break;case"topLeft":d.top=c.above,d.left=c.left;break;case"above":d.top=c.above,d.left=c.horizontallyCenteredWithinViewport;break;case"below":d.top=c.below,d.left=c.horizontallyCenteredWithinViewport}})(e.clientX,e.clientY)});let r=(t,e=500)=>{if("none"===window.getComputedStyle(t).display)return((t,e)=>{t.style.removeProperty("display");let o=window.getComputedStyle(t).display;"none"===o&&(o="block"),t.style.display=o;let i=t.offsetHeight;t.style.height=0,t.style.paddingTop=0,t.style.paddingBottom=0,t.style.marginTop=0,t.style.marginBottom=0,t.style.overflow="hidden",t.style.boxSizing="border-box",t.style.transitionProperty="height, margin, padding",t.style.transitionDuration=e+"ms",t.style.height=i+"px",t.style.removeProperty("padding-top"),t.style.removeProperty("padding-bottom"),t.style.removeProperty("margin-top"),t.style.removeProperty("margin-bottom"),window.setTimeout(()=>{t.style.removeProperty("height"),t.style.removeProperty("overflow"),t.style.removeProperty("transition-duration"),t.style.removeProperty("transition-property")},e)})(t,e)};i.addEventListener("click",()=>{const e=t.querySelector(".collapsible.references");let o={},i={},l={};e&&(o=(i=e.querySelector(".collapsible__title")).querySelector("button"),l=e.querySelector(".collapsible__content")),o&&"false"===o.getAttribute("aria-expanded")&&(r(l,200),e.classList.toggle("collapsible--open"),o.setAttribute("aria-expanded","true"),o.setAttribute("aria-label",o.getAttribute("data-collapse-text")),l.style="")}),e.classList.add("tooltip--js"),e.classList.remove("tooltip--loading")}}})(document,Drupal);

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.