PageSourceSearch

https://mevren.ai/wp-content/themes/ainus/elements/assets/js/tabs.js?ver=1.0.1

js mevren.ai collected 2026-10-05 13:36:50 UTC 1,312 bytes, 34 lines download raw bytes

1( function( $ ) {
2    "use strict";
3    
4    const tabsHandler = function( $scope) {
5        let tabs = $scope.find('.pxl-tabs');
6        if(!tabs.length) return;
7        let index = 0;
8        tabs.each(function(i, tab) {
9            const tabTitles = $(tab).find('.pxl-tab-title');
10            const tabContents = $(tab).find('.pxl-tab-content');
11            tabTitles.each(function(j, title)  {
12                if($(title).hasClass('active')) {
13                    index = $(this).attr('data-tab-index');
14                    $(tabContents[parseInt(index)]).addClass('active').slideDown(350);
15                }
16            })
17            $(tabTitles).on('click', function(e) {
18                e.preventDefault();
19                tabTitles.removeClass('active');
20                tabContents.removeClass('active').slideUp(350);
21                $(this).addClass('active');
22                index = $(this).attr('data-tab-index');
23                $(tabContents[parseInt(index)]).addClass('active').slideDown(350);
24            })
25        })
26    };
27
28    $( window ).on( 'elementor/frontend/init', function() {
29        elementorFrontend.hooks.addAction( 'frontend/element_ready/pxl_tabs.default', function($scope) {
30            tabsHandler($scope)
31        } );
32    } );
33
34} )( 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.