1jQuery(document).ready(function ($) 2 { 3 4$(".expand_det ").matchHeight({ 5 byRow: true, 6 property: 'height', 7 target: null, 8 remove: false 9}); 10 11}); 12$(document).on('change', '.select_language select', function() { 13 var selectedText = $(this).find('option:selected').text(); 14 console.log("Selected text:", selectedText); 15 16 // Dynamically set width based on text length plus some padding 17 var textWidth = selectedText.length * 8 ; // 8px per character + 30px padding 18 $(this).css('min-width', textWidth + 25 + 'px'); 19 console.log("0=====",textWidth); 20 // Set minimum width to prevent too narrow select 21 if (textWidth < 70) { 22 $(this).css('min-width', '90px'); 23 console.log("1=====if working"); 24 } 25}); 26 27 28 29function moveHeaderOnResize() { 30 if (jQuery(window).width() < 1200) { 31 $(".top_header_cont").insertBefore('.nav_bottom'); 32 } else { 33 $(".top_header > .container").append($(".top_header_cont")); 34 } 35 } 36 37 $(document).ready(function () { 38 moveHeaderOnResize(); 39 40 $(window).resize(function () { 41 moveHeaderOnResize(); 42 }); 43 }); 44 45 46$(document).ready(function () { 47 if ($(window).width() < 768) { 48 $(".news_btn").insertAfter($('.newsColumn').last()); 49 } 50}); 51 52function moveNewsBtn() { 53 if ($(window).width() < 768) { 54 $(".news_btn").insertAfter($('.newsColumn').last()); 55 } 56} 57moveNewsBtn(); 58$(document).ready(function() { 59 moveNewsBtn(); 60}); 61 62$(window).resize(function() { 63 moveNewsBtn(); 64}); 65 66 67 68$(document).ready(function () { 69 $(".navbar-toggler").on("click", function () { 70 $(this).toggleClass("active"); 71 }); 72 $('.wp-block-group,.wp-block-columns ,.wp-block-column').removeClass('is-layout-flow'); 73}); 74 75 76(function($) 77{ 78 $(document).ready(function() { 79 $('.acc__main .acc__title').attr('tabindex', '0'); // Make titles focusable 80 81 $('.acc__main .acc__title').on('click keydown', function(event) { 82 if (event.type === 'click' || event.key === 'Enter' || event.key === ' ') { 83 var dropDown = $(this).closest('.acc__card').find('.acc__panel'); 84 var parentAccordion = $(this).closest('.acc__main'); 85 86 parentAccordion.find('.acc__panel').not(dropDown).slideUp(); 87 parentAccordion.find('.acc__title.active').not(this).removeClass('active'); 88 89 if ($(this).hasClass('active')) { 90 $(this).removeClass('active'); 91 } else { 92 $(this).addClass('active'); 93 } 94 95 dropDown.stop(false, true).slideToggle(); 96 97 event.preventDefault(); 98 } 99 }); 100 }); 101})(jQuery); 102 103 104jQuery(document).ready(function ($) 105 { 106 function updateTabIndex() { 107 $('.kt-tabs-title-list .kt-tab-title[tabindex="-1"]').attr('tabindex', '0'); 108 } 109 110 // Run on page load 111 updateTabIndex(); 112 113 // Monitor changes in tabindex and update 114 const observer = new MutationObserver(() => { 115 updateTabIndex(); 116 }); 117 118 $('.kt-tabs-title-list .kt-tab-title').each(function () { 119 observer.observe(this, { 120 attributes: true, 121 attributeFilter: ['tabindex'] 122 }); 123 }); 124 $('.cvf-universal-pagination ul li').attr('tabindex', '0'); 125}); 126$(document).ready(function () { 127 $('.main_wrapper').attr({ 128 role: 'main', 129 id: 'main' 130 }); 131});
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.