text: !function($,a){"use strict";function t(t,s){function i(a){o.toggleClass("is-open")}function n(a){e.addClass("is-horizontal");var t=e.find(".tabs"),s=t.outerHeight()<=t.find(".tabs__tab").outerHeight();e.toggleClass("is-horizontal",s),l&&e.toggleClass("is-collapse-enabled",!s),s&&o.removeClass("is-open")}var e=$(s),o=e.find("[data-drupal-nav-tabs-target]"),l=e.hasClass("is-collapsible");e.addClass("position-container is-horizontal-enabled"),e.on("click.tabs","[data-drupal-nav-tabs-trigger]",i),$(window).on("resize.tabs",a.debounce(n,150)).trigger("resize.tabs")}a.behaviors.navTabs={attach:function(a,s){var i=$(a).find("[data-drupal-nav-tabs]");if(i.length){var n=window.matchMedia("(min-width: 300px)");n.matches&&i.once("nav-tabs").each(t)}}}}(jQuery,Drupal);