PageSourceSearch

https://advocatemag.com/wp-content/themes/Avada/includes/lib/assets/min/js/library/awb-tab.js?ver=1

js advocatemag.com collected 2026-10-02 04:22:25 UTC 2,141 bytes, 1 lines download raw bytes

1!function(t){"use strict";function a(t){var a=t.data("target");return a||(a=(a=t.attr("href"))&&a.replace(/.*(?=#[^\s]*$)/,"")),a}function e(a){this.element=t(a)}e.prototype.show=function(){var e,n,i,s=this.element,o=s.closest("ul:not(.dropdown-menu)"),r=a(s);s.parent("li").hasClass("active")||(e=o.find(".active:last a")[0],n=t.Event("show.bs.tab",{relatedTarget:e}),s.trigger(n),n.isDefaultPrevented()||(i=t(document).find(r),this.activate(s.parent("li"),o),this.activate(i,i.parent(),function(){s.trigger({type:"shown.bs.tab",relatedTarget:e})})))},e.prototype.toggle=function(){var e=this.element,n=a(e),i=t(document).find(n);e.parent("li").toggleClass("active"),i.toggleClass("active fade in")},e.prototype.activate=function(t,a,e){var n,i,s=a.find("> .active"),o=e&&s.hasClass("fade");function r(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),t.parent(".nav-tabs").length&&t.parents(".fusion-tabs").find(".nav").find('a[href="'+t.find("a").attr("href")+'"]').parent().addClass("active"),o?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),t.parents(".fusion-builder-live-editor").length&&void 0!==t.attr("id")&&t.parents(".fusion-tabs").find('.tab-link[href="#'+t.attr("id")+'"]').parents("li").addClass("active"),e&&e()}o?s.one("bsTransitionEnd",r).emulateTransitionEnd((i=0,(n=s).length&&window.getComputedStyle?((window.getComputedStyle(n[0]).transitionDuration||"").split(",").forEach(function(t){var a=parseFloat(t);isNaN(a)||(i=Math.max(i,-1!==t.indexOf("ms")?a:1e3*a))}),i||300):300)):r(),s.removeClass("in")},t.fn.tab=function(a){return this.each(function(){var n=t(this),i=n.data("bs.tab");i||(i=new e(this),n.data("bs.tab",i)),"string"==typeof a&&i[a]()})},t.fn.tab.Constructor=e,t(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(a){var e=t(this).parents(".fusion-tabs");a.preventDefault(),e.length&&e.hasClass("mobile-mode-toggle")&&t(this).parents(".nav").hasClass("fusion-mobile-tab-nav")?t(this).tab("toggle"):t(this).tab("show")})}(jQuery);

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.