!function(){"use strict";var t,n=document.currentScript;function e(t,n){return new Promise((function(e,c){var o=document.createElement("script");o.src=t,o.async=!0,n&&(o.integrity=n,o.crossOrigin="anonymous"),o.onload=e,o.onerror=c,document.head.appendChild(o)}))}function c(){return t||(t=e(n.dataset.algoliaSrc,n.dataset.algoliaIntegrity).then((function(){return e(n.dataset.searchSrc)})).catch((function(n){throw t=null,console.warn("Failed to load search.",n),n})))}document.addEventListener("pointerover",(function(t){t.target.closest(".popup-trigger")&&c().catch((function(){}))}),{passive:!0}),document.addEventListener("click",(function(t){t.target.closest(".popup-trigger")&&c().then((function(){document.body.classList.add("search-active"),window.setTimeout((function(){var t=document.querySelector(".search-input");t&&t.focus()}),50)})).catch((function(){}))}))}();
|