PageSourceSearch

https://philosophersguild.com/cdn/shop/t/141/assets/easy-responsive-tabs.js?v=95664977633353563241771473787

js philosophersguild.com collected 2026-10-03 19:23:49 UTC 3,613 bytes, 2 lines download raw bytes

1(function($){$.fn.extend({easyResponsiveTabs:function(options){var defaults={type:"default",width:"auto",fit:!0,closed:!1,activate:function(){}},options=$.extend(defaults,options),opt=options,jtype=opt.type,jfit=opt.fit,jwidth=opt.width,vtabs="vertical",accord="accordion";$(this).bind("tabactivate",function(e,currentTab){typeof options.activate=="function"&&options.activate.call(currentTab,e)}),this.each(function(){var $respTabs=$(this),$respTabsList=$respTabs.find("ul.resp-tabs-list");$respTabs.find("ul.resp-tabs-list li").addClass("resp-tab-item"),$respTabs.css({display:"block",width:jwidth}),$respTabs.find(".resp-tabs-container > div").addClass("resp-tab-content"),jtab_options();function jtab_options(){jtype==vtabs&&$respTabs.addClass("resp-vtabs"),jfit==!0&&$respTabs.css({width:"100%",margin:"0px"}),jtype==accord&&($respTabs.addClass("resp-easy-accordion"),$respTabs.find(".resp-tabs-list").css("display","none"))}var $tabItemh2;$respTabs.find(".resp-tab-content").before("<h2 class='resp-accordion' role='tab'><span class='resp-arrow'></span></h2>");var itemCount=0;$respTabs.find(".resp-accordion").each(function(){$tabItemh2=$(this);var innertext=$respTabs.find(".resp-tab-item:eq("+itemCount+")").html();$respTabs.find(".resp-accordion:eq("+itemCount+")").append(innertext),$tabItemh2.attr("aria-controls","tab_item-"+itemCount),itemCount++});var count=0,$tabContent;$respTabs.find(".resp-tab-item").each(function(){$tabItem=$(this),$tabItem.attr("aria-controls","tab_item-"+count),$tabItem.attr("role","tab"),options.closed!==!0&&!(options.closed==="accordion"&&!$respTabsList.is(":visible"))&&!(options.closed==="tabs"&&$respTabsList.is(":visible"))&&($respTabs.find(".resp-tab-item").first().addClass("resp-tab-active"),$respTabs.find(".resp-accordion").first().addClass("resp-tab-active"),$respTabs.find(".resp-tab-content").first().addClass("resp-tab-content-active").attr("style","display:block"));var tabcount=0;$respTabs.find(".resp-tab-content").each(function(){$tabContent=$(this),$tabContent.attr("aria-labelledby","tab_item-"+tabcount),tabcount++}),count++}),$respTabs.find("[role=tab]").each(function(){var $currentTab=$(this);$currentTab.click(function(){var $tabAria=$currentTab.attr("aria-controls");if($currentTab.hasClass("resp-accordion")&&$currentTab.hasClass("resp-tab-active"))return $respTabs.find(".resp-tab-content-active").slideUp("",function(){$(this).addClass("resp-accordion-closed")}),$currentTab.removeClass("resp-tab-active"),!1;!$currentTab.hasClass("resp-tab-active")&&$currentTab.hasClass("resp-accordion")?($respTabs.find(".resp-tab-active").removeClass("resp-tab-active"),$respTabs.find(".resp-tab-content-active").slideUp().removeClass("resp-tab-content-active resp-accordion-closed"),$respTabs.find("[aria-controls="+$tabAria+"]").addClass("resp-tab-active"),$respTabs.find(".resp-tab-content[aria-labelledby = "+$tabAria+"]").slideDown().addClass("resp-tab-content-active")):($respTabs.find(".resp-tab-active").removeClass("resp-tab-active"),$respTabs.find(".resp-tab-content-active").removeAttr("style").removeClass("resp-tab-content-active").removeClass("resp-accordion-closed"),$respTabs.find("[aria-controls="+$tabAria+"]").addClass("resp-tab-active"),$respTabs.find(".resp-tab-content[aria-labelledby = "+$tabAria+"]").addClass("resp-tab-content-active").attr("style","display:block")),$currentTab.trigger("tabactivate",$currentTab)}),$(window).resize(function(){$respTabs.find(".resp-accordion-closed").removeAttr("style")})})})}})})(jQuery);
2//# sourceMappingURL=/cdn/shop/t/141/assets/easy-responsive-tabs.js.map?v=95664977633353563241771473787

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.