Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
/**
|
2022-09-09 06:26:42 +00:00
|
|
|
* @file
|
|
|
|
* Wide viewport search bar interactions.
|
|
|
|
*/
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
|
2022-09-09 06:26:42 +00:00
|
|
|
((Drupal) => {
|
|
|
|
const searchWideButtonSelector =
|
|
|
|
'[data-drupal-selector="block-search-wide-button"]';
|
2022-08-30 13:18:23 +00:00
|
|
|
const searchWideButton = document.querySelector(searchWideButtonSelector);
|
2022-09-09 06:26:42 +00:00
|
|
|
const searchWideWrapperSelector =
|
|
|
|
'[data-drupal-selector="block-search-wide-wrapper"]';
|
2022-08-30 13:18:23 +00:00
|
|
|
const searchWideWrapper = document.querySelector(searchWideWrapperSelector);
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
|
2022-09-09 06:26:42 +00:00
|
|
|
/**
|
|
|
|
* Determine if search is visible.
|
|
|
|
*
|
|
|
|
* @return {boolean}
|
|
|
|
* True if the search wrapper contains "is-active" class, false if not.
|
|
|
|
*/
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
function searchIsVisible() {
|
|
|
|
return searchWideWrapper.classList.contains('is-active');
|
|
|
|
}
|
|
|
|
Drupal.olivero.searchIsVisible = searchIsVisible;
|
|
|
|
|
2022-09-09 06:26:42 +00:00
|
|
|
/**
|
|
|
|
* Closes search bar when a click event does not happen at an (x,y) coordinate
|
|
|
|
* that does not overlap with either the search wrapper or button.
|
|
|
|
*
|
|
|
|
* @see https://bugs.webkit.org/show_bug.cgi?id=229895
|
|
|
|
*
|
|
|
|
* @param {Event} e click event
|
|
|
|
*/
|
2022-08-30 13:18:23 +00:00
|
|
|
function watchForClickOut(e) {
|
|
|
|
const clickInSearchArea = e.target.matches(`
|
|
|
|
${searchWideWrapperSelector},
|
|
|
|
${searchWideWrapperSelector} *,
|
|
|
|
${searchWideButtonSelector},
|
|
|
|
${searchWideButtonSelector} *
|
|
|
|
`);
|
|
|
|
if (!clickInSearchArea && searchIsVisible()) {
|
2022-09-09 06:26:42 +00:00
|
|
|
// eslint-disable-next-line no-use-before-define
|
2022-08-30 13:18:23 +00:00
|
|
|
toggleSearchVisibility(false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-09 06:26:42 +00:00
|
|
|
/**
|
|
|
|
* Closes search bar when focus moves to another target.
|
|
|
|
* Avoids closing search bar if event does not have related target - required for Safari.
|
|
|
|
*
|
|
|
|
* @see https://bugs.webkit.org/show_bug.cgi?id=229895
|
|
|
|
*
|
|
|
|
* @param {Event} e focusout event
|
|
|
|
*/
|
2022-08-30 13:18:23 +00:00
|
|
|
function watchForFocusOut(e) {
|
|
|
|
if (e.relatedTarget) {
|
2022-09-09 06:26:42 +00:00
|
|
|
const inSearchBar = e.relatedTarget.matches(
|
|
|
|
`${searchWideWrapperSelector}, ${searchWideWrapperSelector} *`,
|
|
|
|
);
|
|
|
|
const inSearchButton = e.relatedTarget.matches(
|
|
|
|
`${searchWideButtonSelector}, ${searchWideButtonSelector} *`,
|
|
|
|
);
|
2022-08-30 13:18:23 +00:00
|
|
|
|
|
|
|
if (!inSearchBar && !inSearchButton) {
|
2022-09-09 06:26:42 +00:00
|
|
|
// eslint-disable-next-line no-use-before-define
|
2022-08-30 13:18:23 +00:00
|
|
|
toggleSearchVisibility(false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-09 06:26:42 +00:00
|
|
|
/**
|
|
|
|
* Closes search bar on escape keyup, if open.
|
|
|
|
*
|
|
|
|
* @param {Event} e keyup event
|
|
|
|
*/
|
2022-08-30 13:18:23 +00:00
|
|
|
function watchForEscapeOut(e) {
|
|
|
|
if (e.key === 'Escape') {
|
2022-09-09 06:26:42 +00:00
|
|
|
// eslint-disable-next-line no-use-before-define
|
2022-08-30 13:18:23 +00:00
|
|
|
toggleSearchVisibility(false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-09 06:26:42 +00:00
|
|
|
/**
|
|
|
|
* Set focus for the search input element.
|
|
|
|
*/
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
function handleFocus() {
|
|
|
|
if (searchIsVisible()) {
|
|
|
|
searchWideWrapper.querySelector('input[type="search"]').focus();
|
2021-09-17 07:45:27 +00:00
|
|
|
} else if (searchWideWrapper.contains(document.activeElement)) {
|
2022-09-09 06:26:42 +00:00
|
|
|
// Return focus to button only if focus was inside of the search wrapper.
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
searchWideButton.focus();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-09 06:26:42 +00:00
|
|
|
/**
|
|
|
|
* Toggle search functionality visibility.
|
|
|
|
*
|
|
|
|
* @param {boolean} visibility
|
|
|
|
* True if we want to show the form, false if we want to hide it.
|
|
|
|
*/
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
function toggleSearchVisibility(visibility) {
|
|
|
|
searchWideButton.setAttribute('aria-expanded', visibility === true);
|
2022-09-23 11:55:38 +00:00
|
|
|
searchWideWrapper.classList.toggle('is-active', visibility === true);
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
searchWideWrapper.addEventListener('transitionend', handleFocus, {
|
2022-09-09 06:26:42 +00:00
|
|
|
once: true,
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
if (visibility === true) {
|
2021-03-05 15:46:50 +00:00
|
|
|
Drupal.olivero.closeAllSubNav();
|
2022-09-09 06:26:42 +00:00
|
|
|
|
|
|
|
document.addEventListener('click', watchForClickOut, { capture: true });
|
2022-08-30 13:18:23 +00:00
|
|
|
document.addEventListener('focusout', watchForFocusOut, {
|
2022-09-09 06:26:42 +00:00
|
|
|
capture: true,
|
2022-08-30 13:18:23 +00:00
|
|
|
});
|
2022-09-09 06:26:42 +00:00
|
|
|
document.addEventListener('keyup', watchForEscapeOut, { capture: true });
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
} else {
|
2022-08-30 13:18:23 +00:00
|
|
|
document.removeEventListener('click', watchForClickOut, {
|
2022-09-09 06:26:42 +00:00
|
|
|
capture: true,
|
2022-08-30 13:18:23 +00:00
|
|
|
});
|
|
|
|
document.removeEventListener('focusout', watchForFocusOut, {
|
2022-09-09 06:26:42 +00:00
|
|
|
capture: true,
|
2022-08-30 13:18:23 +00:00
|
|
|
});
|
|
|
|
document.removeEventListener('keyup', watchForEscapeOut, {
|
2022-09-09 06:26:42 +00:00
|
|
|
capture: true,
|
2022-08-30 13:18:23 +00:00
|
|
|
});
|
Issue #3111409 by mherchel, proeung, larowlan, alexpott, lauriii, Gábor Hojtsy, andrewmacpherson, catch, xjm, andypost, rahulrasgon, rabbitlair, mrconnerton, poojakural, boulaffasae, jerseycheese, shimpy, Indrajith KB, DuneBL, kiran.kadam911, komalkolekar, keboca, hawkeye.twolf, andrewozone, Maithri Shetty, alexdmccabe, sd9121, Sreenivas Bttv, katannshaw, mgifford, nod_, webchick, mtift, rainbreaw, Berdir, brianperry, thejimbirch, Dom., q0rban, nitesh624, hansa11, himanshu_sindhwani, kostyashupenko, shaktik, bnjmnm, sharma.amitt16, sonam.chaturvedi, steinmb, shaal, ressa, Ramya Balasubramanian, Sebacic, pradeepjha, tanmaykadam, thedrupalkid, vinitk, volkswagenchick, viappidu, vebrovski, Ujval Shah, Webbeh, Yuri, trebormc, msuthars, mrinalini9, bash247, chetanbharambe, ellenoise, anevins, andriyun, CocoM, JayKandari, ambuj_gupta, hussainweb, jhodgdon, Pooja Ganjage, ju.vanderw, jwitkowski79, MaxPah, Lokender Singh2, jponch, KarenS, KarinG, Lal_: Add new Olivero frontend theme to Drupal 9.1 core as beta; later make it stable and the default
2020-10-16 09:43:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Drupal.olivero.toggleSearchVisibility = toggleSearchVisibility;
|
2022-09-09 06:26:42 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Initializes the search wide button.
|
|
|
|
*
|
|
|
|
* @type {Drupal~behavior}
|
|
|
|
*
|
|
|
|
* @prop {Drupal~behaviorAttach} attach
|
|
|
|
* Adds aria-expanded attribute to the search wide button.
|
|
|
|
*/
|
2021-08-17 12:19:37 +00:00
|
|
|
Drupal.behaviors.searchWide = {
|
2021-12-18 06:12:16 +00:00
|
|
|
attach(context) {
|
2022-09-09 06:26:42 +00:00
|
|
|
const searchWideButtonEl = once(
|
|
|
|
'search-wide',
|
|
|
|
searchWideButtonSelector,
|
|
|
|
context,
|
|
|
|
).shift();
|
2022-08-30 13:18:23 +00:00
|
|
|
if (searchWideButtonEl) {
|
|
|
|
searchWideButtonEl.setAttribute('aria-expanded', searchIsVisible());
|
|
|
|
searchWideButtonEl.addEventListener('click', () => {
|
|
|
|
toggleSearchVisibility(!searchIsVisible());
|
|
|
|
});
|
2021-08-17 12:19:37 +00:00
|
|
|
}
|
2022-09-09 06:26:42 +00:00
|
|
|
},
|
2021-08-17 12:19:37 +00:00
|
|
|
};
|
2022-09-09 06:26:42 +00:00
|
|
|
})(Drupal);
|