PageSourceSearch

https://pcusa.org/sites/default/files/js/js_tHK-T-MUfSOGhsWkguLmcB…WTRkaQ3P6SJGua4_1gnQfXApX1kY9wtnPG89g3E8pFu

js pcusa.org collected 2026-09-24 08:37:52 UTC 52,277 bytes, 10 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2!function(){!function(e,t){e.behaviors.centerActiveTab={attach:function(e){t("centerActiveTab",".c-tabs-structured__nav",e).forEach((function(e){var t=function(t){var n=e.offsetWidth,o=t.offsetWidth,a=t.offsetLeft-n/2+o/2;e.style.scrollSnapType="none",function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:150,o=arguments.length>3?arguments[3]:void 0,a=e.scrollLeft,i=t-a,r=performance.now();requestAnimationFrame((function t(c){var s,l=c-r,d=Math.min(l/n,1);e.scrollLeft=a+i*((s=d)<.5?4*s*s*s:1-Math.pow(-2*s+2,3)/2),l<n?requestAnimationFrame(t):"function"==typeof o&&o()}))}(e,a,150,(function(){e.style.removeProperty("scroll-snap-type")}))},n=e.querySelector(".c-tabs-structured__nav-link.active");n&&t(n),e.querySelectorAll(".c-tabs-structured__nav-link").forEach((function(n){n.addEventListener("click",(function(){e.querySelectorAll(".c-tabs-structured__nav-link.active").forEach((function(e){e.classList.remove("active")})),n.classList.add("active"),t(n)}))}))}))}}}(Drupal,once);!function(e,t){e.behaviors.copyToClipboard={attach:function(e){t("copyToClipboard","#copyToClipboard",e).forEach((function(e){e.addEventListener("click",(function(){var e=window.location.href;navigator.clipboard.writeText(e).then((function(){alert("URL copied to clipboard!")})).catch((function(e){console.error("Failed to copy the URL: ",e)}))}))}))}}}(Drupal,once);!function(e,t,n){e.behaviors.externalLinks={attach:function(e){var o=["pcusa.org","presbyteriangifts.pcusa.org","history.pcusa.org","specialofferings.pcusa.org","pda.pcusa.org","oga.pcusa.org","presbyterianmission.org"];t("externalLinks","a",e).forEach((function(e){var t=n(e),a=t.attr("href");if(a&&/^(?:[a-z]+:)?\/\//i.test(a))try{var i=new URL(a,window.location.origin).hostname.toLowerCase();if(!o.some((function(e){return i===e.toLowerCase()}))){t.attr("target","_blank");var r=t.attr("rel")?t.attr("rel")+" ":"";t.attr("rel",r+"noreferrer noopener")}}catch(c){console.error("Invalid URL:",a,c)}}))}}}(Drupal,once,jQuery);var e={};Object.defineProperty(e,"__esModule",{value:!0}),e.throttle=void 0,e.throttle=function(e,t){var n,o;return function(){var a=this,i=arguments;o?(clearTimeout(n),n=setTimeout((function(){Date.now()-o>=t&&(e.apply(a,i),o=Date.now())}),t-(Date.now()-o))):(e.apply(a,i),o=Date.now())}};(function(t){(function(){"use strict";!function(n,o){n.behaviors.headerBehavior={attach:function(n){o("headerBehavior",".c-header",n).forEach((function(){function n(){requestAnimationFrame((function(){var e=window.innerWidth,n=document.getElementById("navWrapper"),o=document.querySelector(".c-header__logo img"),a=document.querySelector("[data-sitewide-alert]"),i=document.querySelector("body"),r=t.drupalSettings.custom_logo_path,c=0;a&&(c=a.offsetHeight),e>=1280?window.scrollY>c?(n.classList.add("c-header--scrolled"),i.classList.add("scrolled"),o.src="/themes/custom/silk/assets/images/logos/emblem--white.svg"):(n.classList.remove("c-header--scrolled"),i.classList.remove("scrolled"),o.src=r):(n.classList.add("c-header--scrolled"),o.src="/themes/custom/silk/assets/images/logos/emblem--white.svg")}))}setTimeout((function(){n(),window.addEventListener("scroll",(0,e.throttle)(n,200)),window.addEventListener("resize",(0,e.throttle)(n,200))}),250)}))}}}(Drupal,once)}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});!function(e,t){e.behaviors.customMainNav={attach:function(e){var n=document.getElementById("navWrapper"),o=document.querySelector("body");t("customMainNav",".menu-item.level-2 > .menu-link-container > a, .menu-item.level-2 > .menu-link-container > span",e).forEach((function(e){var t=e.textContent.trim();e.textContent="";var n=t.split(" ");(n=n.reduce((function(e,t,n){return"&"===t&&n>0?e[e.length-1]+=" ".concat(t):e.push(t),e}),[])).filter((function(e){return e})).forEach((function(t,o){var a=document.createElement("span");a.style.whiteSpace="nowrap",t.split("").forEach((function(e,t){var n=document.createElement("span");n.textContent=e,n.style.animationDelay="".concat(.15+.02*t,"s"),n.classList.add("staggered-letter"),a.appendChild(n)})),e.appendChild(a),o<n.length-1&&e.appendChild(document.createTextNode(" "))}));var o=e.offsetWidth,a=0,i=-1;
2Array.from(e.childNodes).forEach((function(t,n){if(t.nodeType===Node.TEXT_NODE&&" "===t.textContent&&(i=n),(a+=t.offsetWidth)>o&&-1!==i){e.childNodes[i].textContent="\xa0";var r=document.createElement("br");e.insertBefore(r,e.childNodes[i+1]),a=0,i=-1}}))})),t("customMainNav","#menuMain",e).forEach((function(e){e.addEventListener("mouseenter",(function(){mouseEnterTimeout=setTimeout((function(){n.classList.add("active"),o.classList.add("u-noscroll")}),250)})),e.addEventListener("mouseleave",(function(){mouseEnterTimeout&&clearTimeout(mouseEnterTimeout),n.classList.remove("active"),o.classList.remove("u-noscroll"),document.querySelectorAll(".menu-item--has-submenu.open").forEach((function(e){e.classList.remove("open"),e.querySelector("a").setAttribute("aria-expanded","false")}))}))}));var a=document.querySelectorAll("#menuMain a");a.forEach((function(e){e.addEventListener("focus",(function(){n.classList.add("active"),o.classList.add("u-noscroll")})),e.addEventListener("blur",(function(){setTimeout((function(){Array.from(a).some((function(e){return e===document.activeElement}))||(n.classList.remove("active"),o.classList.remove("u-noscroll"),document.querySelectorAll(".menu-item--has-submenu.open").forEach((function(e){e.classList.remove("open"),e.querySelector("a").setAttribute("aria-expanded","false")})))}),10)}))})),t("customMainNav",".menu-item.level-1.menu-item--has-submenu, .menu-item.level-2.menu-item--has-submenu",e).forEach((function(e){e.addEventListener("mouseover",(function(){e.classList.add("open")})),e.addEventListener("mouseout",(function(){e.classList.remove("open")})),e.addEventListener("keydown",(function(t){if("Enter"!==t.key&&" "!==t.key||!e.classList.contains("menu-item--has-submenu")){if(("Enter"===t.key||" "===t.key)&&!e.classList.contains("menu-item--has-submenu"))return}else{t.preventDefault();var n="true"===e.querySelector("a").getAttribute("aria-expanded");if(n)n&&t.target.click();else if(document.querySelectorAll(".menu-item.level-1.open").forEach((function(t){t!==e&&(t.classList.remove("open"),t.querySelector("a").setAttribute("aria-expanded","false"))})),e.classList.toggle("open",!n),e.querySelector("a").setAttribute("aria-expanded",!n),!n){var o=e.querySelector(".menu-subnav a");o&&o.focus()}}if("ArrowDown"===t.key){t.preventDefault();var a=e.nextElementSibling;a&&a.querySelector("a").focus()}if("ArrowUp"===t.key){t.preventDefault();var i=e.previousElementSibling;i&&i.querySelector("a").focus()}}))})),t("customMainNav",".menu-item.level-3.menu-item--has-submenu",e).forEach((function(e){var t=e.querySelector(".menu-item-expand");t.addEventListener("click",(function(t){t.preventDefault();var n=e.classList.contains("open");document.querySelectorAll(".menu-item.level-3.menu-item--has-submenu").forEach((function(e){e.classList.remove("open")})),n||e.classList.add("open")})),t.addEventListener("keydown",(function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t.click())}))})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&(document.querySelectorAll(".menu-item.open").forEach((function(e){e.classList.remove("open"),e.querySelector("a").setAttribute("aria-expanded","false")})),n.classList.remove("active"),o.classList.remove("u-noscroll"))})),document.querySelectorAll(".level-3--extra-link").forEach((function(e){var t=e.closest(".menu-subnav.level-3");if(t){var n=t.querySelector(".menu-subnav.level-4");n&&n.insertBefore(e,n.firstChild)}}))}}}(Drupal,once);!function(t,n,o){t.behaviors.customMobileNav={attach:function(t){var a=document.querySelector(".c-header__mobile-toggle"),i=o("#mobile-menu"),r=o("body");function c(){o(".c-mobile-menu__trigger").removeClass("active"),o(".c-mobile-menu__content").slideUp({duration:150}),o(".c-mobile-menu__item, .c-mobile-menu__link-container").removeClass("expanded")}function s(){var e=document.getElementById("navWrapper"),t=e?e.offsetHeight:0,n=Array.from(document.querySelectorAll("[data-sitewide-alert]")).filter((function(e){return null!==e.offsetParent})).reduce((function(e,t){return e+t.offsetHeight}),0),o=window.innerHeight-(t+n);i.css("height",o+"px")}n("customMobileNav",a,t).forEach((function(e){o(e).on("click",(function(e){e.preventDefault(),i.is(":visible")&&(clearTimeout(void 0),o(".c-mobile-menu__lang-give").removeClass("is-active")),o(this).toggleClass("is-active"),i.slideToggle({duration:150,complete:function(){i.is(":visible")?(r.addClass("u-noscroll"),o(".c-mobile-menu__lang-give").addClass("is-active"),s()):(c(),r.removeClass("u-noscroll"))}})}))})),[0,1,2].forEach((function(e){n("customMobileNav-level-".concat(e),".c-mobile-menu__trigger--level-".concat(e),t).forEach((function(t){o(t).on("click",function(e){return function(t){t.preventDefault();var n=o(this),a=n.closest(".c-mobile-menu__link-container"),r=a.closest("li"),c=a.next(".c-mobile-menu__content"),l=".c-mobile-menu__item--level-".concat(e);o(l).not(r).removeClass("expanded").find(".c-mobile-menu__content").slideUp({duration:150}),o(l).not(r).find(".c-mobile-menu__trigger").removeClass("active"),r.toggleClass("expanded"),a.toggleClass("expanded"),n.toggleClass("active"),c.slideToggle({duration:150,complete:function(){i.is(":visible")&&s()}})}}(e))}))}));var l=function(){window.innerWidth>=1280?(clearTimeout(void 0),o(".c-mobile-menu__lang-give").removeClass("is-active"),i.slideUp({duration:150,complete:c}),o(".c-header__mobile-toggle").removeClass("is-active"),r.removeClass("u-noscroll")):i.is(":visible")&&s()};window.addEventListener("resize",(0,e.throttle)(l,200)),l();var d=document.getElementById("alerts-container");d&&new MutationObserver((function(){i.is(":visible")&&s()})).observe(d,{childList:!0,subtree:!0})}}}(Drupal,once,jQuery);var t=null,n=null;function o(e,t,n){var o=e.getBoundingClientRect().width-n.getBoundingClientRect().width;return Math.max(0,o)}function a(e,a,r,c,s){var l=s.getBoundingClientRect().bottom;if(e.getBoundingClientRect().top-l<=0){if(!e.classList.contains("sticky")){e.classList.add("sticky","t-secondary-purple");var d=o(a,0,c);r.style.width="".concat(d,"px"),t&&n&&i(n,t)}}else e.classList.contains("sticky")&&(e.classList.remove("sticky","t-secondary-purple"),r.style.width="0",t&&n&&i(n,t))}function i(e,t){e&&t&&(e.style.width="".concat(t.offsetWidth,"px"),e.style.left="".concat(t.offsetLeft,"px"))}!function(r,c){r.behaviors.pillNavItems={attach:function(o){c("pillNavItems",".c-pill-nav__items",o).forEac
2h((function(o){!function(o){var a=o.querySelectorAll(".c-pill-nav__items li"),r=o.querySelector(".c-pill-nav__background");t=o.querySelector(".c-pill-nav__item.is-active"),n=r,t&&i(n,t),a.forEach((function(e){e.addEventListener("mouseover",(function(){i(n,e)})),e.addEventListener("mouseout",(function(){t&&i(n,t)})),e.addEventListener("click",(function(){t&&t.classList.remove("is-active"),(t=e).classList.add("is-active"),i(n,t)}))}));var c=(0,e.throttle)((function(){t&&n&&i(n,t)}),50);window.addEventListener("resize",c)}(o)}))}},r.behaviors.pillNavWrapper={attach:function(r){c("pillNavWrapper",".c-pill-nav__wrapper",r).forEach((function(r){var c=r.querySelector(".c-pill-nav"),s=r.querySelector(".c-pill-nav__title"),l=r.querySelector(".c-pill-nav__items"),d=document.querySelector(".c-header");c&&s&&l&&d&&function(r,c,s,l,d){a(r,c,s,l,d);var u=(0,e.throttle)((function(){a(r,c,s,l,d)}),50),f=(0,e.throttle)((function(){if(window.innerWidth>1024){if(a(r,c,s,l,d),r.classList.contains("sticky")){var e=o(c,0,l);s.style.width="".concat(e,"px"),t&&n&&i(n,t)}}else s.style.width="0",r.classList.remove("sticky","t-secondary-purple")}),50);window.addEventListener("scroll",u),window.addEventListener("resize",f)}(r,c,s,l,d)}))}}}(Drupal,once);var r=null;function c(e,t,n){var o=e.getBoundingClientRect().width-n.getBoundingClientRect().width;return Math.max(0,o)}function s(e,t,n,o,a){var i=a.getBoundingClientRect().bottom;if(e.getBoundingClientRect().top-i<=0){if(!e.classList.contains("sticky")){e.classList.add("sticky","t-secondary-purple");var r=c(t,0,o);n.style.width="".concat(r,"px")}}else e.classList.contains("sticky")&&(e.classList.remove("sticky","t-secondary-purple"),n.style.width="0")}function l(e,t){e&&(t?(e.style.width="".concat(t.offsetWidth,"px"),e.style.left="".concat(t.offsetLeft,"px")):(e.style.width="0",e.style.left="0"))}!function(t,n){t.behaviors.pillarPillNavItems={attach:function(){n("pillarPillNavItems",".c-pillar-pill-nav__items").forEach((function(t){!function(t){var n=t.querySelectorAll(".c-pillar-pill-nav__items li"),o=t.querySelector(".c-pillar-pill-nav__background");l(r=o,null),n.forEach((function(e){e.addEventListener("mouseover",(function(){l(r,e)})),e.addEventListener("mouseout",(function(){l(r,null)})),e.addEventListener("click",(function(){}))}));var a=(0,e.throttle)((function(){l(r,null)}),50);window.addEventListener("resize",a)}(t)}))}},t.behaviors.pillarPillNav={attach:function(){n("pillarPillNav",".c-pillar-pill-nav__wrapper").forEach((function(t){var n=t.querySelector(".c-pillar-pill-nav"),o=t.querySelector(".c-pillar-pill-nav__title"),a=t.querySelector(".c-pillar-pill-nav__items"),i=document.querySelector(".c-header");n&&o&&a&&i&&function(t,n,o,a,i){s(t,n,o,a,i);var r=(0,e.throttle)((function(){s(t,n,o,a,i)}),50),l=(0,e.throttle)((function(){if(window.innerWidth>1024){if(s(t,n,o,a,i),t.classList.contains("sticky")){var e=c(n,0,a);o.style.width="".concat(e,"px")}}else o.style.width="0",t.classList.remove("sticky","t-secondary-purple")}),50);window.addEventListener("scroll",r),window.addEventListener("resize",l)}(t,n,o,a,i)}))}}}(Drupal,once);!function(e,t){var n={init:function(n){var o=e(".o-read-more__body-wrapper",n),a=e(".o-read-more__body",n),i=e(".o-read-more__read-more",n),r=e(".o-read-more__fade-out",n),c=function(){(a.length>0?a[0].scrollHeight:0)>.85*e(t).height()?(o.css({"max-height":"85vh",overflow:"hidden"}),i.show(),r.show()):(o.css({"max-height":"",overflow:""}),i.hide(),r.hide())};e(t).on("load resize",c),i.one("click",(function(){o.css({"max-height":"none",overflow:""}),r.hide(),e(this).hide(),e(t).off("resize",c)})),c()}};t.ContentHeightManager=n}(jQuery,window);!function(e,t){e.behaviors.scrollShadowsLTR={attach:function(e){t("scrollShadowsLTR",".scroll-shadows-ltr",e).forEach((function(e){var t,n=window.matchMedia("(max-width: 1024px)"),o=function(n){if(n.matches)t=function(){var t=document.createElement("div");for(t.classList.add("shadow-wrapper");e.firstChild;)t.appendChild(e.firstChild);e.appendChild(t);var n=document.createElement("div");n.classList.add("shadow","shadow--left");var o=document.createElement("div");o.classList.add("shadow","shadow--right"),e.prepend(n),e.prepend(o);var a=t.scrollWidth-e.offsetWidth;return t.addEventListener("scroll",(function(){var e=this.scrollLeft/a;n.style.opacity=e,o.style.opacity=1-e})),{contentWrapper:t,shadowLeft:n,shadowRight:o}}();else if(t){var o=t;!function(t,n,o){for(;t.firstChild;)e.appendChild(t.firstChild);t.remove(),n.remove(),o.remove()}(o.contentWrapper,o.shadowLeft,o.shadowRight),t=null}};o(n),n.addListener(o)}))}}}(Drupal,once);!function(t,n,o){t.behaviors.secondaryMobileNav={attach:function(){function a(e){var o=n(e).closest(".c-mobile-secondary-nav"),a=o.find(".c-mobile-secondary-nav__menu"),i=o.find(".c-mobile-secondary-nav__button button"),r=i.find(".fa-angle-down"),c=o.hasClass("open"),s=o.hasClass("c-mobile-secondary-nav--pillar");
2c?a.slideUp(150):a.slideDown(150),o.toggleClass("open",!c),i.html("".concat(t.t(c?"MENU":"CLOSE"),' <i class="fa-sharp fa-solid fa-angle-down ml-1/2').concat(c?"":" fa-rotate-180",'" aria-hidden="true"></i>')),r.toggleClass("rotate-180",!c),n(".c-mobile-secondary-nav__fade").toggleClass("open",!c),n("body").toggleClass("u-noscroll",!c),!s&&c&&function(e){var t=e.find(".c-mobile-secondary-nav__dropdown");t.find(".c-mobile-secondary-nav__dropdown-menu").slideUp(150),t.removeClass("c-mobile-secondary-nav__dropdown--active"),t.find(".fa-angle-down").removeClass("rotate-180")}(o)}function i(){n(".c-mobile-secondary-nav__button button").off("click.secondaryMobileNav"),n(".c-mobile-secondary-nav__dropdown-button").off("click.secondaryMobileNavDropdown"),n(".c-mobile-secondary-nav__fade").off("click.secondaryMobileNavFade");var e=n(".c-mobile-secondary-nav").hasClass("c-mobile-secondary-nav--pillar");if(n(o).width()<1280)n(".c-mobile-secondary-nav__button button").on("click.secondaryMobileNav",(function(){a(this)})),e||n(".c-mobile-secondary-nav__dropdown-button").on("click.secondaryMobileNavDropdown",(function(e){var t,o,a;e.preventDefault(),e.stopPropagation(),o=(t=n(this).closest(".c-mobile-secondary-nav__dropdown")).find(".c-mobile-secondary-nav__dropdown-menu"),(a=t.hasClass("c-mobile-secondary-nav__dropdown--active"))?o.slideUp(150):o.slideDown(150),t.toggleClass("c-mobile-secondary-nav__dropdown--active",!a),n(this).find(".fa-angle-down").toggleClass("rotate-180",!a)})),n(".c-mobile-secondary-nav__fade").on("click.secondaryMobileNavFade",(function(){a(n(".c-mobile-secondary-nav").find(".c-mobile-secondary-nav__button button")[0])}));else{n(".c-mobile-secondary-nav__button button").off("click.secondaryMobileNav"),n(".c-mobile-secondary-nav__dropdown-button").off("click.secondaryMobileNavDropdown"),n(".c-mobile-secondary-nav__fade").off("click.secondaryMobileNavFade");var i=n(".c-mobile-secondary-nav");i.hasClass("c-mobile-secondary-nav--pillar")||n(".c-mobile-secondary-nav__menu, .c-mobile-secondary-nav__dropdown-menu").hide(),n(".c-mobile-secondary-nav__dropdown").removeClass("c-mobile-secondary-nav__dropdown--active"),n(".fa-angle-down").removeClass("rotate-180"),n(".c-mobile-secondary-nav__fade").removeClass("open"),n("body").removeClass("u-noscroll"),n(".c-mobile-secondary-nav__button button").html("".concat(t.t("MENU"),' <i class="fa-sharp fa-solid fa-angle-down ml-1/2" aria-hidden="true"></i>')),i.removeClass("open")}}i(),n(o).on("resize.secondaryMobileNav",(0,e.throttle)((function(){i()}),200))},detach:function(e,t,a){"unload"===a&&(n(o).off("resize.secondaryMobileNav"),n(".c-mobile-secondary-nav__button button").off("click.secondaryMobileNav"),n(".c-mobile-secondary-nav__dropdown-button").off("click.secondaryMobileNavDropdown"),n(".c-mobile-secondary-nav__fade").off("click.secondaryMobileNavFade"))}}}(Drupal,jQuery,window);!function(t,n,o){t.behaviors.customSidebarNav={attach:function(t){function a(){var e=o("#tertiary-nav"),t=o("#sidebar-mobile"),n=o("#sidebar-menu-block"),a=e.find(".c-sidebar-menu__list");o(window).width()<1280?("sidebar-mobile"!==e.parent().attr("id")&&e.appendTo(t),a.removeClass("c-sidebar-menu__list--desktop").addClass("c-sidebar-menu__list--mobile")):("sidebar-menu-block"!==e.parent().attr("id")&&e.appendTo(n),a.removeClass("c-sidebar-menu__list--mobile").addClass("c-sidebar-menu__list--desktop"))}function i(){var e=o(".block-sidebar-menu-block");o(window).width()>1280&&e.outerHeight()<.5*o(window).height()?e.addClass("sticky"):e.removeClass("sticky")}o(".c-sidebar-menu__link-container",t).each((function(){var e=o(this),t=e.closest("li"),n=e.next(".c-sidebar-menu__content");e.hasClass("expanded")||t.hasClass("expanded")?(n.show(),e.find(".c-sidebar-menu__trigger").addClass("active")):n.hide()})),[0,1].forEach((function(e){n("customSidebarNav-level-".concat(e),".c-sidebar-menu__trigger--level-".concat(e),t).forEach((function(t){o(t).on("click",function(e){return function(t){t.preventDefault();var n=o(this),a=n.closest(".c-sidebar-menu__link-container--level-".concat(e)),i=a.closest("li"),r=a.next(".c-sidebar-menu__content");0===e&&(o(".c-sidebar-menu__list .expanded").not(i).removeClass("expanded").find(".c-sidebar-menu__content").slideUp({duration:150}),o(".c-sidebar-menu__trigger.active").not(n).removeClass("active"),i.toggleClass("expanded"),a.toggleClass("expanded"),n.toggleClass("active"),r.slideToggle({duration:150})),1===e&&(i.siblings().removeClass("expanded").find(".c-sidebar-menu__content").slideUp({duration:150}),i.siblings().find(".c-sidebar-menu__trigger").removeClass("active"),i.toggleClass("expanded"),a.toggleClass("expanded"),n.toggleClass("active"),r.slideToggle({duration:150}))}}(e))}))})),a(),i(),o(window).on("resize.customSidebarNav",(0,e.throttle)((function(){a(),i()}),200))},detach:function(e,t,n){"unload"===n&&o(window).off("resize.customSidebarNav")}}}(Drupal,once,jQuery);!function(e,t,n){e.behaviors.wrapTables={attach:function(e){t("wrapTables",".o-wysiwyg table",e).forEach((function(e){var t=n(e);t.parent().hasClass("tablefield-wrapper")||t.wrap('<div class="tablefield-wrapper"></div>')}))}}}(Drupal,once,jQuery);!function(e,t){e.behaviors.uShrinkText={attach:function(e){var n=this;t("uShrinkText",".u-shrink",e).forEach((function(e){var t,o,a=function(){var t=e.parentElement;if(t){var n=t.offsetWidth,o=parseFloat(getComputedStyle(e).fontSize);for(Object.assign(e.style,{whiteSpace:"nowrap"}),e.style.fontSize="".concat(o,"px");e.scrollWidth>n&&o>10;)o-=1,e.style.fontSize="".concat(o,"px")}};a(),window.addEventListener("resize",(t=a,100,function(){for(var e=arguments.length,a=new Array(e),i=0;i<e;i++)a[i]=arguments[i];clearTimeout(o),o=setTimeout((function(){return t.apply(n,a)}),100)}))}))}}}(Drupal,once)}();
3
4;
5(function(Drupal,drupalSettings,once){const sitewideAlertsSelector='[data-sitewide-alert]';const shouldShowOnThisPage=(pages=[],negate=true)=>{if(pages.length===0)return true;let pagePathMatches=false;const currentPath=window.location.pathname;for(let i=0;i<pages.length;i++){const baseUrl=drupalSettings.path.baseUrl.slice(0,-1);const page=baseUrl+pages[i];if(page.charAt(page.length-1)==='*'){if(currentPath.startsWith(page.substring(0,page.length-1))){pagePathMatches=true;break;}}else{if(page===currentPath){pagePathMatches=true;break;}}}return negate?!pagePathMatches:pagePathMatches;};const alertWasDismissed=(alert)=>{if(!(`alert-dismissed-${alert.uuid}` in window.localStorage))return false;const dismissedAtTimestamp=Number(window.localStorage.getItem(`alert-dismissed-${alert.uuid}`));return dismissedAtTimestamp>=alert.dismissalIgnoreBefore;};const dismissAlert=(alert)=>{window.localStorage.setItem(`alert-dismissed-${alert.uuid}`,String(Math.round(new Date().getTime()/1000)));document.querySelectorAll(`[data-uuid="${alert.uuid}"]`).forEach((alert)=>{alert.dispatchEvent(new CustomEvent('sitewide-alert-dismissed',{bubbles:true,composed:true}));removeAlert(alert);});};
5const buildAlertElement=(alert)=>{const alertElement=document.createElement('div');alertElement.innerHTML=alert.renderedAlert;if(alert.dismissible){const dismissButtons=alertElement.getElementsByClassName('js-dismiss-button');for(let i=0;i<dismissButtons.length;i++)dismissButtons[i].addEventListener('click',()=>dismissAlert(alert));}return alertElement.firstElementChild;};const removeAlert=(alert)=>{alert.dispatchEvent(new CustomEvent('sitewide-alert-removed',{bubbles:true,composed:true}));alert.remove();};const fetchAlerts=()=>{return new Promise((resolve)=>{resolve(drupalSettings.sitewideAlert.alerts||[]);});};const removeStaleAlerts=(alerts)=>{const roots=document.querySelectorAll(sitewideAlertsSelector);roots.forEach((root)=>{const existingAlerts=root.querySelectorAll('[data-uuid]');const alertsToBeRemoved=Array.from(existingAlerts).filter((alert)=>!alerts.includes(alert.getAttribute('data-uuid')));alertsToBeRemoved.forEach((alert)=>removeAlert(alert));});};const initAlerts=()=>{const roots=document.querySelectorAll(sitewideAlertsSelector);fetchAlerts().then((alerts)=>{removeStaleAlerts(alerts);alerts.forEach((alert)=>{const dismissed=alertWasDismissed(alert);const showOnThisPage=shouldShowOnThisPage(alert.showOnPages,alert.negateShowOnPages);roots.forEach((root)=>{const existingAlertElement=root.querySelector(`[data-uuid="${alert.uuid}"]`);if(showOnThisPage&&!dismissed){const renderableAlertElement=buildAlertElement(alert);existingAlertElement?root.replaceChild(renderableAlertElement,existingAlertElement):root.appendChild(renderableAlertElement);renderableAlertElement.dispatchEvent(new CustomEvent('sitewide-alert-rendered',{bubbles:true,composed:true}));return;}if((dismissed||!showOnThisPage)&&existingAlertElement)removeAlert(existingAlertElement);});});}).catch((error)=>{console.error(error);});};const supportsHistoryPushState=()=>{return ('pushState' in window.history&&window.history['pushState']!==null);};const supportsHistoryReplaceState=()=>{return ('replaceState' in window.history&&window.history['replaceState']!==null);};const proxyPushState=()=>{if(supportsHistoryPushState())window.history.pushState=new Proxy(window.history.pushState,{apply(target,thisArg,argArray){triggerHistoryEvent(thisArg,argArray);return target.apply(thisArg,argArray);}});if(supportsHistoryReplaceState())window.history.replaceState=new Proxy(window.history.replaceState,{apply(target,thisArg,argArray){triggerHistoryEvent(thisArg,argArray);return target.apply(thisArg,argArray);}});};const triggerHistoryEvent=(thisArg,argArray)=>{const event=new CustomEvent('sitewidealerts.popstate',{detail:{state:thisArg,options:argArray}});window.dispatchEvent(event);};const historyListener=()=>{window.addEventListener('sitewidealerts.popstate',()=>initAlerts());window.addEventListener('popstate',()=>initAlerts());};Drupal.behaviors.sitewide_alert_init={attach:(context)=>{once('sitewide_alerts_init','html',context).forEach(()=>{initAlerts();proxyPushState();historyListener();if(drupalSettings.sitewideAlert.automaticRefresh===true){const interval=setInterval(()=>initAlerts(),drupalSettings.sitewideAlert.refreshInterval<1000?1000:drupalSettings.sitewideAlert.refreshInterval);if(!drupalSettings.sitewideAlert.automaticRefresh)clearInterval(interval);}});}};})(Drupal,drupalSettings,once);;
6/* @license GPL-2.0-or-later https://raw.githubusercontent.com/jquery-form/form/master/LICENSE */
7(function(factory){if(typeof define==='function'&&define.amd)define(['jquery'],factory);else if(typeof module==='object'&&module.exports)module.exports=function(root,jQuery){if(typeof jQuery==='undefined')if(typeof window!=='undefined')jQuery=require('jquery');else jQuery=require('jquery')(root);factory(jQuery);return jQuery;};else factory(jQuery);}(function($){'use strict';var rCRLF=/\r?\n/g;var feature={};feature.fileapi=$('<input type="file">').get(0).files!==undefined;feature.formdata=(typeof window.FormData!=='undefined');var hasProp=!!$.fn.prop;$.fn.attr2=function(){if(!hasProp)return this.attr.apply(this,arguments);var val=this.prop.apply(this,arguments);if((val&&val.jquery)||typeof val==='string')return val;return this.attr.apply(this,arguments);};$.fn.ajaxSubmit=function(options,data,dataType,onSuccess){if(!this.length){log('ajaxSubmit: ski
7pping submit process - no element selected');return this;}var method,action,url,isMsie,iframeSrc,$form=this;if(typeof options==='function')options={success:options};else if(typeof options==='string'||(options===false&&arguments.length>0)){options={'url':options,'data':data,'dataType':dataType};if(typeof onSuccess==='function')options.success=onSuccess;}else{if(typeof options==='undefined')options={};}method=options.method||options.type||this.attr2('method');action=options.url||this.attr2('action');url=(typeof action==='string')?action.trim():'';url=url||window.location.href||'';if(url)url=(url.match(/^([^#]+)/)||[])[1];isMsie=/(MSIE|Trident)/.test(navigator.userAgent||'');iframeSrc=(isMsie&&/^https/i.test(window.location.href||''))?'javascript:false':'about:blank';options=$.extend(true,{url,success:$.ajaxSettings.success,type:method||$.ajaxSettings.type,iframeSrc},options);var veto={};this.trigger('form-pre-serialize',[this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-pre-serialize trigger');return this;}if(options.beforeSerialize&&options.beforeSerialize(this,options)===false){log('ajaxSubmit: submit aborted via beforeSerialize callback');return this;}var traditional=options.traditional;if(typeof traditional==='undefined')traditional=$.ajaxSettings.traditional;var elements=[];var qx,a=this.formToArray(options.semantic,elements,options.filtering);if(options.data){var optionsData=typeof (options.data)==="function"?options.data(a):options.data;options.extraData=optionsData;qx=$.param(optionsData,traditional);}if(options.beforeSubmit&&options.beforeSubmit(a,this,options)===false){log('ajaxSubmit: submit aborted via beforeSubmit callback');return this;}this.trigger('form-submit-validate',[a,this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-submit-validate trigger');return this;}var q=$.param(a,traditional);if(qx)q=(q?(q+'&'+qx):qx);if(options.type.toUpperCase()==='GET'){options.url+=(options.url.indexOf('?')>=0?'&':'?')+q;options.data=null;}else options.data=q;var callbacks=[];if(options.resetForm)callbacks.push(function(){$form.resetForm();});if(options.clearForm)callbacks.push(function(){$form.clearForm(options.includeHidden);});if(!options.dataType&&options.target){var oldSuccess=options.success||function(){};callbacks.push(function(data,textStatus,jqXHR){var successArguments=arguments,fn=options.replaceTarget?'replaceWith':'html';$(options.target)[fn](data).each(function(){oldSuccess.apply(this,successArguments);});});}else{if(options.success)if(Array.isArray(options.success))callbacks=callbacks.concat(options.success);else callbacks.push(options.success);}options.success=function(data,status,xhr){var context=options.context||this;for(var i=0,max=callbacks.length;i<max;i++)callbacks[i].apply(context,[data,status,xhr||$form,$form]);};if(options.error){var oldError=options.error;options.error=function(xhr,status,error){var context=options.context||this;oldError.apply(context,[xhr,status,error,$form]);};}if(options.complete){var oldComplete=options.complete;options.complete=function(xhr,status){var context=options.context||this;oldComplete.apply(context,[xhr,status,$form]);};}var fileInputs=$('input[type=file]:enabled',this).filter(function(){return $(this).val()!=='';});var hasFileInputs=fileInputs.length>0;var mp='multipart/form-data';var multipart=($form.attr('enctype')===mp||$form.attr('encoding')===mp);var fileAPI=feature.fileapi&&feature.formdata;log('fileAPI :'+fileAPI);var shouldUseFrame=(hasFileInputs||multipart)&&!fileAPI;var jqxhr;if(options.iframe!==false&&(options.iframe||shouldUseFrame))if(options.closeKeepAlive)$.get(options.closeKeepAlive,function(){jqxhr=fileUploadIframe(a);});else jqxhr=fileUploadIframe(a);else if((hasFileInputs||multipart)&&fileAPI)jqxhr=fileUploadXhr(a);else jqxhr=$.ajax(options);$form.removeData('jqxhr').data('jqxhr',jqxhr);for(var k=0;k<elements.length;k++)elements[k]=null;this.trigger('form-submit-notify',[this,options]);return this;function deepSerialize(extraData){var serialized=$.param(extraData,options.traditional).split('&');var len=serialized.length;var result=[];var i,part;for(i=0;i<len;i++){serialized[i]=serialized[i].replace(/\+/g,' ');part=serialized[i].split('=');result.push([decodeURIComponent(part[0]),decodeURIComponent(part[1])]);}return result;}function fileUploadXhr(a){var formdata=new FormData();for(var i=0;i<a.length;i++)formdata.append(a[i].name,a[i].value);if(options.extraData){var serializedData=deepSerialize(options.extraData);for(i=0;i<serializedData.length;i++)if(serializedData[i])formdata.append(serializedData[i][0],serializedData[i][1]);}options.data=null;var s=$.extend(true,{},$.ajaxSettings,options,{contentType:false,processData:false,cache:false,type:method||'POST'});if(options.uploadProgress)s.xhr=function(){var xhr=$.ajaxSettings.xhr();if(xhr.upload)xhr.upload.addEventListener('progress',function(event){var percent=0;var position=event.loaded||event.position;var total=event.total;if(event.lengthComputable)percent=Math.ceil(position/total*100);options.uploadProgress(event,position,total,percent);},false);return xhr;};s.data=null;var beforeSend=s.beforeSend;s.beforeSend=function(xhr,o){if(options.formData)o.data=options.formData;else o.data=formdata;
7if(beforeSend)beforeSend.call(this,xhr,o);};return $.ajax(s);}function fileUploadIframe(a){var form=$form[0],el,i,s,g,id,$io,io,xhr,sub,n,timedOut,timeoutHandle;var deferred=$.Deferred();deferred.abort=function(status){xhr.abort(status);};if(a)for(i=0;i<elements.length;i++){el=$(elements[i]);if(hasProp)el.prop('disabled',false);else el.removeAttr('disabled');}s=$.extend(true,{},$.ajaxSettings,options);s.context=s.context||s;id='jqFormIO'+new Date().getTime();var ownerDocument=form.ownerDocument;var $body=$form.closest('body');if(s.iframeTarget){$io=$(s.iframeTarget,ownerDocument);n=$io.attr2('name');if(!n)$io.attr2('name',id);else id=n;}else{$io=$('<iframe name="'+id+'" src="'+s.iframeSrc+'" />',ownerDocument);$io.css({position:'absolute',top:'-1000px',left:'-1000px'});}io=$io[0];xhr={aborted:0,responseText:null,responseXML:null,status:0,statusText:'n/a',getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(status){var e=(status==='timeout'?'timeout':'aborted');log('aborting upload... '+e);this.aborted=1;try{if(io.contentWindow.document.execCommand)io.contentWindow.document.execCommand('Stop');}catch(ignore){}$io.attr('src',s.iframeSrc);xhr.error=e;if(s.error)s.error.call(s.context,xhr,e,status);if(g)$.event.trigger('ajaxError',[xhr,s,e]);if(s.complete)s.complete.call(s.context,xhr,e);}};g=s.global;if(g&&$.active++===0)$.event.trigger('ajaxStart');if(g)$.event.trigger('ajaxSend',[xhr,s]);if(s.beforeSend&&s.beforeSend.call(s.context,xhr,s)===false){if(s.global)$.active--;deferred.reject();return deferred;}if(xhr.aborted){deferred.reject();return deferred;}sub=form.clk;if(sub){n=sub.name;if(n&&!sub.disabled){s.extraData=s.extraData||{};s.extraData[n]=sub.value;if(sub.type==='image'){s.extraData[n+'.x']=form.clk_x;s.extraData[n+'.y']=form.clk_y;}}}var CLIENT_TIMEOUT_ABORT=1;var SERVER_ABORT=2;function getDoc(frame){var doc=null;try{if(frame.contentWindow)doc=frame.contentWindow.document;}catch(err){log('cannot get iframe.contentWindow document: '+err);}if(doc)return doc;try{doc=frame.contentDocument?frame.contentDocument:frame.document;}catch(err){log('cannot get iframe.contentDocument: '+err);doc=frame.document;}return doc;}var csrf_token=$('meta[name=csrf-token]').attr('content');var csrf_param=$('meta[name=csrf-param]').attr('content');if(csrf_param&&csrf_token){s.extraData=s.extraData||{};s.extraData[csrf_param]=csrf_token;}function doSubmit(){var t=$form.attr2('target'),a=$form.attr2('action'),mp='multipart/form-data',et=$form.attr('enctype')||$form.attr('encoding')||mp;form.setAttribute('target',id);if(!method||/post/i.test(method))form.setAttribute('method','POST');if(a!==s.url)form.setAttribute('action',s.url);if(!s.skipEncodingOverride&&(!method||/post/i.test(method)))$form.attr({encoding:'multipart/form-data',enctype:'multipart/form-data'});if(s.timeout)timeoutHandle=setTimeout(function(){timedOut=true;cb(CLIENT_TIMEOUT_ABORT);},s.timeout);function checkState(){try{var state=getDoc(io).readyState;log('state = '+state);if(state&&state.toLowerCase()==='uninitialized')setTimeout(checkState,50);}catch(e){log('Server abort: ',e,' (',e.name,')');cb(SERVER_ABORT);if(timeoutHandle)clearTimeout(timeoutHandle);timeoutHandle=undefined;}}var extraInputs=[];try{if(s.extraData)for(var n in s.extraData)if(s.extraData.hasOwnProperty(n))if($.isPlainObject(s.extraData[n])&&s.extraData[n].hasOwnProperty('name')&&s.extraData[n].hasOwnProperty('value'))extraInputs.push($('<input type="hidden" name="'+s.extraData[n].name+'">',ownerDocument).val(s.extraData[n].value).appendTo(form)[0]);else extraInputs.push($('<input type="hidden" name="'+n+'">',ownerDocument).val(s.extraData[n]).appendTo(form)[0]);if(!s.iframeTarget)$io.appendTo($body);if(io.attachEvent)io.attachEvent('onload',cb);else io.addEventListener('load',cb,false);setTimeout(checkState,15);try{form.submit();}catch(err){var submitFn=document.createElement('form').submit;submitFn.apply(form);}}finally{form.setAttribute('action',a);form.setAttribute('enctype',et);if(t)form.setAttribute('target',t);else $form.removeAttr('target');$(extraInputs).remove();}}if(s.forceSync)doSubmit();else setTimeout(doSubmit,10);var data,doc,domCheckCount=50,callbackProcessed;function cb(e){if(xhr.aborted||callbackProcessed)return;doc=getDoc(io);if(!doc){log('cannot access response document');e=SERVER_ABORT;}if(e===CLIENT_TIMEOUT_ABORT&&xhr){xhr.abort('timeout');deferred.reject(xhr,'timeout');return;}if(e===SERVER_ABORT&&xhr){xhr.abort('server abort');deferred.reject(xhr,'error','server abort');return;}if(!doc||doc.location.href===s.iframeSrc)if(!timedOut)return;if(io.detachEvent)io.detachEvent('onload',cb);else io.removeEventListener('load',cb,false);var status='success',errMsg;
7try{if(timedOut)throw 'timeout';var isXml=s.dataType==='xml'||doc.XMLDocument||$.isXMLDoc(doc);log('isXml='+isXml);if(!isXml&&window.opera&&(doc.body===null||!doc.body.innerHTML))if(--domCheckCount){log('requeing onLoad callback, DOM not available');setTimeout(cb,250);return;}var docRoot=doc.body?doc.body:doc.documentElement;xhr.responseText=docRoot?docRoot.innerHTML:null;xhr.responseXML=doc.XMLDocument?doc.XMLDocument:doc;if(isXml)s.dataType='xml';xhr.getResponseHeader=function(header){var headers={'content-type':s.dataType};return headers[header.toLowerCase()];};if(docRoot){xhr.status=Number(docRoot.getAttribute('status'))||xhr.status;xhr.statusText=docRoot.getAttribute('statusText')||xhr.statusText;}var dt=(s.dataType||'').toLowerCase();var scr=/(json|script|text)/.test(dt);if(scr||s.textarea){var ta=doc.getElementsByTagName('textarea')[0];if(ta){xhr.responseText=ta.value;xhr.status=Number(ta.getAttribute('status'))||xhr.status;xhr.statusText=ta.getAttribute('statusText')||xhr.statusText;}else{if(scr){var pre=doc.getElementsByTagName('pre')[0];var b=doc.getElementsByTagName('body')[0];if(pre)xhr.responseText=pre.textContent?pre.textContent:pre.innerText;else{if(b)xhr.responseText=b.textContent?b.textContent:b.innerText;}}}}else{if(dt==='xml'&&!xhr.responseXML&&xhr.responseText)xhr.responseXML=toXml(xhr.responseText);}try{data=httpData(xhr,dt,s);}catch(err){status='parsererror';xhr.error=errMsg=(err||status);}}catch(err){log('error caught: ',err);status='error';xhr.error=errMsg=(err||status);}if(xhr.aborted){log('upload aborted');status=null;}if(xhr.status)status=((xhr.status>=200&&xhr.status<300)||xhr.status===304)?'success':'error';if(status==='success'){if(s.success)s.success.call(s.context,data,'success',xhr);deferred.resolve(xhr.responseText,'success',xhr);if(g)$.event.trigger('ajaxSuccess',[xhr,s]);}else{if(status){if(typeof errMsg==='undefined')errMsg=xhr.statusText;if(s.error)s.error.call(s.context,xhr,status,errMsg);deferred.reject(xhr,'error',errMsg);if(g)$.event.trigger('ajaxError',[xhr,s,errMsg]);}}if(g)$.event.trigger('ajaxComplete',[xhr,s]);if(g&&!--$.active)$.event.trigger('ajaxStop');if(s.complete)s.complete.call(s.context,xhr,status);callbackProcessed=true;if(s.timeout)clearTimeout(timeoutHandle);setTimeout(function(){if(!s.iframeTarget)$io.remove();else $io.attr('src',s.iframeSrc);xhr.responseXML=null;},100);}var toXml=$.parseXML||function(s,doc){if(window.ActiveXObject){doc=new ActiveXObject('Microsoft.XMLDOM');doc.async='false';doc.loadXML(s);}else doc=(new DOMParser()).parseFromString(s,'text/xml');return (doc&&doc.documentElement&&doc.documentElement.nodeName!=='parsererror')?doc:null;};var parseJSON=$.parseJSON||function(s){return window['eval']('('+s+')');};var httpData=function(xhr,type,s){var ct=xhr.getResponseHeader('content-type')||'',xml=((type==='xml'||!type)&&ct.indexOf('xml')>=0),data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.nodeName==='parsererror')if($.error)$.error('parsererror');if(s&&s.dataFilter)data=s.dataFilter(data,type);if(typeof data==='string')if((type==='json'||!type)&&ct.indexOf('json')>=0)data=parseJSON(data);else{if((type==='script'||!type)&&ct.indexOf('javascript')>=0)$.globalEval(data);}return data;};return deferred;}};$.fn.ajaxForm=function(options,data,dataType,onSuccess){if(typeof options==='string'||(options===false&&arguments.length>0)){options={'url':options,'data':data,'dataType':dataType};if(typeof onSuccess==='function')options.success=onSuccess;}options=options||{};options.delegation=options.delegation&&typeof $.fn.on==='function';if(!options.delegation&&this.length===0){var o={s:this.selector,c:this.context};if(!$.isReady&&o.s){log('DOM not ready, queuing ajaxForm');$(function(){$(o.s,o.c).ajaxForm(options);});return this;}log('terminating; zero elements found by selector'+($.isReady?'':' (DOM not ready)'));return this;}if(options.delegation){$(document).off('submit.form-plugin',this.selector,doAjaxSubmit).off('click.form-plugin',this.selector,captureSubmittingElement).on('submit.form-plugin',this.selector,options,doAjaxSubmit).on('click.form-plugin',this.selector,options,captureSubmittingElement);return this;}if(options.beforeFormUnbind)options.beforeFormUnbind(this,options);return this.ajaxFormUnbind().on('submit.form-plugin',options,doAjaxSubmit).on('click.form-plugin',options,captureSubmittingElement);};function doAjaxSubmit(e){var options=e.data;if(!e.isDefaultPrevented()){e.preventDefault();$(e.target).closest('form').ajaxSubmit(options);}}function captureSubmittingElement(e){var target=e.target;var $el=$(target);if(!$el.is('[type=submit],[type=image]')){var t=$el.closest('[type=submit]');if(t.length===0)return;target=t[0];}var form=target.form;form.clk=target;if(target.type==='image')if(typeof e.offsetX!=='undefined'){form.clk_x=e.offsetX;form.clk_y=e.offsetY;}else if(typeof $.fn.offset==='function'){var offset=$el.offset();form.clk_x=e.pageX-offset.left;form.clk_y=e.pageY-offset.top;}else{form.clk_x=e.pageX-target.offsetLeft;form.clk_y=e.pageY-target.offsetTop;}setTimeout(function(){form.clk=form.clk_x=form.clk_y=null;},100);}$.fn.ajaxFormUnbind=function(){return this.off('submit.form-plugin click.form-plugin');};$.fn.formToArray=function(semantic,elements,filtering){var a=[];if(this.length===0)return a;var form=this[0];var formId=this.attr('id');var els=(semantic||typeof form.elements==='undefined')?form.getElementsByTagName('*'):form.elements;var els2;if(els)els=$.makeArray(els);if(formId&&(semantic||/(Edge|Trident)\//.test(navigator.userAgent))){els2=$(':input[form="'+formId+'"]').get();if(els2.length)els=(els||[]).concat(els2);}if(!els||!els.length)return a;
7if(typeof (filtering)==="function")els=$.map(els,filtering);var i,j,n,v,el,max,jmax;for(i=0,max=els.length;i<max;i++){el=els[i];n=el.name;if(!n||el.disabled)continue;if(semantic&&form.clk&&el.type==='image'){if(form.clk===el){a.push({name:n,value:$(el).val(),type:el.type});a.push({name:n+'.x',value:form.clk_x},{name:n+'.y',value:form.clk_y});}continue;}v=$.fieldValue(el,true);if(v&&v.constructor===Array){if(elements)elements.push(el);for(j=0,jmax=v.length;j<jmax;j++)a.push({name:n,value:v[j]});}else if(feature.fileapi&&el.type==='file'){if(elements)elements.push(el);var files=el.files;if(files.length)for(j=0;j<files.length;j++)a.push({name:n,value:files[j],type:el.type});else a.push({name:n,value:'',type:el.type});}else{if(v!==null&&typeof v!=='undefined'){if(elements)elements.push(el);a.push({name:n,value:v,type:el.type,required:el.required});}}}if(!semantic&&form.clk){var $input=$(form.clk),input=$input[0];n=input.name;if(n&&!input.disabled&&input.type==='image'){a.push({name:n,value:$input.val()});a.push({name:n+'.x',value:form.clk_x},{name:n+'.y',value:form.clk_y});}}return a;};$.fn.formSerialize=function(semantic){return $.param(this.formToArray(semantic));};$.fn.fieldSerialize=function(successful){var a=[];this.each(function(){var n=this.name;if(!n)return;var v=$.fieldValue(this,successful);if(v&&v.constructor===Array)for(var i=0,max=v.length;i<max;i++)a.push({name:n,value:v[i]});else{if(v!==null&&typeof v!=='undefined')a.push({name:this.name,value:v});}});return $.param(a);};$.fn.fieldValue=function(successful){for(var val=[],i=0,max=this.length;i<max;i++){var el=this[i];var v=$.fieldValue(el,successful);if(v===null||typeof v==='undefined'||(v.constructor===Array&&!v.length))continue;if(Array.isArray(v))val=val.concat(v);else val.push(v);}return val;};$.fieldValue=function(el,successful){var n=el.name,t=el.type,tag=el.tagName.toLowerCase();if(typeof successful==='undefined')successful=true;if(successful&&(!n||el.disabled||t==='reset'||t==='button'||(t==='checkbox'||t==='radio')&&!el.checked||(t==='submit'||t==='image')&&el.form&&el.form.clk!==el||tag==='select'&&el.selectedIndex===-1))return null;if(tag==='select'){var index=el.selectedIndex;if(index<0)return null;var a=[],ops=el.options;var one=(t==='select-one');var max=(one?index+1:ops.length);for(var i=(one?index:0);i<max;i++){var op=ops[i];if(op.selected&&!op.disabled){var v=op.value;if(!v)v=(op.attributes&&op.attributes.value&&!(op.attributes.value.specified))?op.text:op.value;if(one)return v;a.push(v);}}return a;}return $(el).val().replace(rCRLF,'\r\n');};$.fn.clearForm=function(includeHidden){return this.each(function(){$('input,select,textarea',this).clearFields(includeHidden);});};$.fn.clearFields=$.fn.clearInputs=function(includeHidden){var re=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var t=this.type,tag=this.tagName.toLowerCase();if(re.test(t)||tag==='textarea')this.value='';else if(t==='checkbox'||t==='radio')this.checked=false;else if(tag==='select')this.selectedIndex=-1;else if(t==='file')if(/MSIE/.test(navigator.userAgent))$(this).replaceWith($(this).clone(true));else $(this).val('');else{if(includeHidden)if((includeHidden===true&&/hidden/.test(t))||(typeof includeHidden==='string'&&$(this).is(includeHidden)))this.value='';}});};$.fn.resetForm=function(){return this.each(function(){var el=$(this);var tag=this.tagName.toLowerCase();switch(tag){case 'input':this.checked=this.defaultChecked;case 'textarea':this.value=this.defaultValue;return true;case 'option':case 'optgroup':var select=el.parents('select');if(select.length&&select[0].multiple)if(tag==='option')this.selected=this.defaultSelected;else el.find('option').resetForm();else select.resetForm();return true;case 'select':el.find('option').each(function(i){this.selected=this.defaultSelected;if(this.defaultSelected&&!el[0].multiple){el[0].selectedIndex=i;return false;}});return true;case 'label':var forEl=$(el.attr('for'));var list=el.find('input,select,textarea');if(forEl[0])list.unshift(forEl[0]);list.resetForm();return true;case 'form':if(typeof this.reset==='function'||(typeof this.reset==='object'&&!this.reset.nodeType))this.reset();return true;default:el.find('form,input,label,select,textarea').resetForm();return true;}}
7);};$.fn.enable=function(b){if(typeof b==='undefined')b=true;return this.each(function(){this.disabled=!b;});};$.fn.selected=function(select){if(typeof select==='undefined')select=true;return this.each(function(){var t=this.type;if(t==='checkbox'||t==='radio')this.checked=select;else{if(this.tagName.toLowerCase()==='option'){var $sel=$(this).parent('select');if(select&&$sel[0]&&$sel[0].type==='select-one')$sel.find('option').selected(false);this.selected=select;}}});};$.fn.ajaxSubmit.debug=false;function log(){if(!$.fn.ajaxSubmit.debug)return;var msg='[jquery.form] '+Array.prototype.join.call(arguments,'');if(window.console&&window.console.log)window.console.log(msg);else{if(window.opera&&window.opera.postError)window.opera.postError(msg);}}}));;
8/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
9(function($,Drupal,drupalSettings){Drupal.Views={};Drupal.Views.parseQueryString=function(query){const args={};if(query.includes('?'))query=query.substring(query.indexOf('?')+1);let pair;const pairs=query.split('&');for(let i=0;i<pairs.length;i++){pair=pairs[i].split('=');if(pair[0]!=='q')if(pair[1])args[decodeURIComponent(pair[0].replace(/\+/g,' '))]=decodeURIComponent(pair[1].replace(/\+/g,' '));else args[decodeURIComponent(pair[0].replace(/\+/g,' '))]='';}return args;};Drupal.Views.parseViewArgs=function(href,viewPath){const returnObj={};const path=Drupal.Views.getPath(href);const viewHref=Drupal.url(viewPath).substring(drupalSettings.path.baseUrl.length);if(viewHref&&path.startsWith(`${viewHref}/`)){returnObj.view_args=decodeURIComponent(path.substring(viewHref.length+1,path.length));returnObj.view_path=path;}return returnObj;};Drupal.Views.pathPortion=function(href){const protocol=window.location.protocol;if(href.startsWith(protocol))href=href.substring(href.indexOf('/',protocol.length+2));return href;};Drupal.Views.getPath=function(href){href=Drupal.Views.pathPortion(href);href=href.substring(drupalSettings.path.baseUrl.length,href.length);if(href.startsWith('?q='))href=href.substring(3,href.length);const chars=['#','?','&'];for(let i=0;i<chars.length;i++)if(href.includes(chars[i]))href=href.substring(0,href.indexOf(chars[i]));return href;};})(jQuery,Drupal,drupalSettings);;
10(function($,Drupal,drupalSettings){Drupal.behaviors.ViewsAjaxView={};Drupal.behaviors.ViewsAjaxView.attach=function(context,settings){if(settings&&settings.views&&settings.views.ajaxViews){const {views:{ajaxViews}}=settings;Object.keys(ajaxViews||{}).forEach((i)=>{Drupal.views.instances[i]=new Drupal.views.ajaxView(ajaxViews[i]);});}};Drupal.behaviors.ViewsAjaxView.detach=(context,settings,trigger)=>{if(trigger==='unload')if(settings&&settings.views&&settings.views.ajaxViews){const {views:{ajaxViews}}=settings;Object.keys(ajaxViews||{}).forEach((i)=>{const selector=`.js-view-dom-id-${ajaxViews[i].view_dom_id}`;if($(selector,context).length){delete Drupal.views.instances[i];delete settings.views.ajaxViews[i];}});}};Drupal.views={};Drupal.views.instances={};Drupal.views.ajaxView=function(settings){const selector=`.js-view-dom-id-${settings.view_dom_id}`;this.$view=$(selector);let ajaxPath=drupalSettings.views.ajax_path;if(ajaxPath.constructor.toString().includes('Array'))ajaxPath=ajaxPath[0];let queryString=window.location.search||'';if(queryString!==''){queryString=queryString.slice(1).replace(/q=[^&]+&?|page=[^&]+&?|&?render=[^&]+/,'');if(queryString!=='')queryString=(/\?/.test(ajaxPath)?'&':'?')+queryString;}this.element_settings={url:ajaxPath+queryString,submit:settings,httpMethod:'GET',setClick:true,event:'click',selector,progress:{type:'fullscreen'}};this.settings=settings;this.$exposed_form=$(`form#views-exposed-form-${settings.view_name.replace(/_/g,'-')}-${settings.view_display_id.replace(/_/g,'-')}`);once('exposed-form',this.$exposed_form).forEach(this.attachExposedFormAjax.bind(this));once('ajax-pager',this.$view.filter(this.filterNestedViews.bind(this))).forEach(this.attachPagerAjax.bind(this));const selfSettings=$.extend({},this.element_settings,{event:'RefreshView',base:this.selector,httpMethod:'GET',element:this.$view.get(0)});this.refreshViewAjax=Drupal.ajax(selfSettings);};Drupal.views.ajaxView.prototype.attachExposedFormAjax=function(){const that=this;this.exposedFormAjax=[];$('input[type=submit], button[type=submit], input[type=image]',this.$exposed_form).not('[data-drupal-selector=edit-reset]').each(function(index){const selfSettings=$.extend({},that.element_settings,{base:$(this).attr('id'),element:this});that.exposedFormAjax[index]=Drupal.ajax(selfSettings);});};Drupal.views.ajaxView.prototype.filterNestedViews=function(){return !this.$view.parents('.view').length;};Drupal.views.ajaxView.prototype.attachPagerAjax=function(){this.$view.find('.js-pager__items a, th.views-field a, .attachment .views-summary a').each(this.attachPagerLinkAjax.bind(this));};Drupal.views.ajaxView.prototype.attachPagerLinkAjax=function(id,link){const $link=$(link);const viewData={};const href=$link.attr('href');$.extend(viewData,this.settings,Drupal.Views.parseQueryString(href),Drupal.Views.parseViewArgs(href,this.settings.view_base_path));const selfSettings=$.extend({},this.element_settings,{submit:viewData,base:false,element:link,httpMethod:'GET'});this.pagerAjax=Drupal.ajax(selfSettings);};Drupal.AjaxCommands.prototype.viewsScrollTop=function(ajax,response){Drupal.AjaxCommands.prototype.scrollTop(ajax,response);};})(jQuery,Drupal,drupalSettings);;

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.