PageSourceSearch

https://www.tigeranalytics.com/wp-content/themes/mulitiwebootstrap/js/custom-js.js

js tigeranalytics.com collected 2026-10-02 04:25:25 UTC 36,941 bytes, 1,113 lines download raw bytes

1$=jQuery;
2
3/*Equal height function*/
4	function equalHeight(group) {
5		$(group).css("height", "unset");
6		var tallest = 0;
7		group.each(function() {
8			var thisHeight = $(this).outerHeight(true);
9			if (thisHeight > tallest) {
10				tallest = thisHeight;
11			}
12		});
13		$(group).css("height", tallest + "px");
14	}
15	
16$(document).ready(function(){
17	document.addEventListener('wpcf7mailsent', function (event) {
18      if (event.detail.contactFormId == '22981') {
19          // $('#pum-22375').hide();
20          // $('#pum-22365').show();
21          setTimeout(function() {
22          $('.popmake-close').trigger('click');
23          $('.partnership_test_wrap img').hide();
24          $('.partnership_iframe').show();
25        }, 2000);
26      } else if (event.detail.contactFormId == '23265') {
27        $(window).scrollTop($('.webinar-video-sec').offset().top - 88);
28        $('.web-synop-wrap').addClass('show');
29      }
30   }, false);
31	
32	$('.arithmetic-captcha .wpcf7-text').attr('placeholder', 'Type Here');
33	
34	$('.arithmetic-captcha .dscf7_refresh_captcha .dscf7_captcha_icon').on('click', function(){
35		setTimeout(function() {
36			$('.arithmetic-captcha .wpcf7-text').attr('placeholder', 'Type Here');
37		}, 600);
38	});
39	
40	$(document).on('click', '.accelerators_main_tab li, .accelerators_inside_tab', function (e) {
41    e.preventDefault();
42    var tab_id = $(this).data('tab-id');
43    $('.accelerators_main_tab li, .accelerators_inside_tab').removeClass('active');
44    $('.accelerators_main_tab li[data-tab-id="'+tab_id+'"]').addClass('active');
45    var insideTabDiv = $('.accelerators_inside_tab[data-tab-id="'+tab_id+'"]');
46    insideTabDiv.addClass('active');
47    $('.accelerators_content_sec .accelerators_content').removeClass('active');
48    $('.accelerators_content_sec .accelerators_content[data-tab-content-id="'+tab_id+'"]').addClass('active');
49    var headerHeight = $("header .mobile-menu").outerHeight();
50    if (($(window).width() <= 767) && (headerHeight != 0)) {
51      $('html, body').animate({ scrollTop: $(insideTabDiv).offset().top - headerHeight }, 200);
52    }
53  });
54	
55  function setBannerBackground() {
56    $('.home_slider_container .hero_banner_sec').each(function() {
57      var desktopImage = $(this).data('desktop-image');
58      var mobileImage = $(this).data('mobile-image');
59      var backgroundImage = window.innerWidth <= 567 ? mobileImage : desktopImage;
60      $(this).css('background-image', 'url(' + backgroundImage + ')');
61    });
62  }
63  
64  // Set initial background image
65  setBannerBackground();
66  
67  // Update background image on window resize and orientation change
68  $(window).on('resize orientationchange', function() {
69    setBannerBackground();
70  });
71  $(document).on('click', '#case_study_model_btn', function (e) {
72    var subject = $(this).data('subject');
73    var pdf_url = $(this).data('pdf-url');
74    $('#popmake-21498 input[name="subject"]').val(subject);
75    $('#popmake-21498 input[name="pdf_url"]').val(pdf_url);
76  });
77  $(document).on('click', '.expert-img-container', function (e) {
78    e.preventDefault();
79    if ($('body').hasClass('postid-23257')) {
80      $(window).scrollTop($('.webinar-banner-form').offset().top - 88);
81    } else {
82      $(this).hide();
83      var $video = $('.expert_talk_ytdesktop iframe');
84      src = $video.attr('src');
85      $video.attr('src', src + '?autoplay=1');
86      $('.expert_talk_ytdesktop').show();
87    }
88  });
89  $(document).on('click', '.eb_last_container .eb_last_content_sec', function (e) {
90    e.preventDefault();
91    $(window).scrollTop($('.eb_hero_content_sec').offset().top - 90);
92  });
93			
94	// data migration page banner height starts
95	if ($("body").width() > 992) {
96	var data_mig_frm = $('.dm_hero_content_sec').height();
97	$('.dm_hero_image_sec').css('height', data_mig_frm + 'px');		
98	}
99	// data migration page banner height starts ends
100 
101	// data migration page awards height starts
102	if ($("body").width() > 992) {
103	var take_height = $('.wrap-tits').height();
104	$('.match-wrap-hei').css('height', take_height + 'px');
105	}
106	// data migration page awards height ends
107	
108	function cap_partner() {
109		var tallest = 0;
110		$('.capabilities_content').each(function(){
111	  	var thisHeight = $(this).children('.cap-tit-wrap').height();
112			if (thisHeight > tallest) {
113				tallest = thisHeight;
114			}			
115	  });
116		
117		$('.capabilities_content').children('.cap-tit-wrap').css("height", tallest + "px");
118	}
119	function height() {
120		setTimeout(function() {
121			equalHeight($('#our-capabilities .single-cap-wrap'));
122			equalHeight($('#our-capabilities .equal_hieght_title'));
123			equalHeight($('#static-case-posts .static-case-box'));
124			equalHeight($('.inspired-inner'));
125			equalHeight($('.et_keynotes_slider'));	
126			equalHeight($('.et_awards_content .post_title'));	
127			equalHeight($('.newsroom-posts .single_blg'));	
128			equalHeight($('.web_testimonials_sec .testi-mid'));
129			equalHeight($('.web_testimonials_sec .testi_person p:last-child'));
130			equalHeight($('.expect_list_header'));
131			equalHeight($('.tech-partners .tech_wrap_bg'));
132			equalHeight($('#tab2 .awards_title'));
133			equalHeight($('.grid_slider .grid_slider_col'));
134			equalHeight($('.explore_slider_cont .explore_slider_co_tit'));
135			equalHeight($('.lats-cpy-part'));
136      equalHeight($('.ta_card_slider_title'));
137			equalHeight($('.ta_card_slider_description'));
138			equalHeight($('.customer-stories-slider .cs-slide'));
139			equalHeight($('.customer-stories-slider .cs-slide-title'));
140			equalHeight($('.genai-cards-single'));
141			equalHeight($('.isg_quote_para'));
142      equalHeight($('.story-award-title'));
143      equalHeight($('.home-award-title'));
144		}, 300); 
145		setTimeout(function() {
146			equalHeight($('.et_keynotes_slider'));	
147			equalHeight($('.et_awards_content .post_title'));	
148			equalHeight($('.expect_list_header'));
149			equalHeight($('.tech-partners .tech_wrap_bg'));
150			equalHeight($('#tab2 .awards_title'));
151			equalHeight($('.customer-stories-slider .cs-slide'));
152			equalHeight($('.customer-stories-slider .cs-slide-title'));
153		}, 400); 
154		setTimeout(function() {
155			equalHeight($('.et_keynotes_slider'));	
156			equalHeight($('.et_awards_content .post_title'));	
157		}, 500); 
158		setTimeout(function() {
159			equalHeight($('.et_keynotes_slider'));	
160			equalHeight($('.et_awards_content .post_title'));	
161		}, 600); 
162		setTimeout(function() {
163			equalHeight($('.et_keynotes_slider'));	
164			equalHeight($('.et_awards_content .post_title'));
165			cap_partner();
166// 			if ($("body").width() > 992){
167// 			 equalHeight($('.capabilities_content .cap-tit-wrap'));
168// 		 	}
169		}, 700); 		
170	}
171	height();
172	$(window).on('orientationchange resize', function() {
173		height();
174	});
175	/*Equal height function*/
176
177    // Event Vive 2024 Video
178  function event_video() {
179	  var evenheight = $('.key_point img').outerHeight();
180		$('.key_points_sec .key_point:nth-child(2) img').css('margin-top', evenheight+'px');
181	  var sec_height = $('.web_about_rhs .key_points_sec:nth-child(1)').outerHeight();
182	  	$('.web_about_rhs').css('height', sec_height+'px');
183	  /*if ($("body").width() > 992) {
184	  var speakerheight = $('.web_speaker_dflt').outerHeight();
185	  	$('.web_speaker_sec').css('height', speakerheight+'px');
186	  }*/
187    // EBook Banner
188    var ebookBanner = $('.eb_hero_container .eb_hero_image_sec img');
189    if ($("body").width() > 992) {
190      var ebookFormHeight = $('.eb_hero_container .eb_hero_content')?.outerHeight();
191      ebookBanner?.css("height", ebookFormHeight + 'px');
192    } else {
193      ebookBanner?.css("height", 'unset');
194    }
195    if ($("body").width() > 992) {
196      var eventHeight = $('.event-header-sec .form-wrap, .event_hero_form_sec, .webinar-banner-form').outerHeight();
197      $('.event_vive_2024_video').height(eventHeight);
198	  $('.event_hero_bnr_sec img')?.height(eventHeight);
199      $('.webinar-bnr-img img').css({
200        'height': eventHeight + 'px',
201        'object-fit': 'cover'
202      });
203		// RSVP		
204		var eventHeightRSVP = $('.rsvp_form_section').outerHeight();
205		$('.rsvp_img_section').height(eventHeightRSVP);
206		$('.rsvp_img_section img').css({
207			'height': eventHeightRSVP + 'px',
208			'object-fit': 'cover'
209		});
210		// AWS Retail Banner		
211      var eventHeightRSVP = $('.partnership_bnr_left').outerHeight();
212      $('.partnership_bnr_right').height(eventHeightRSVP);
213      $('.partnership_bnr_right img').css({
214        'height': eventHeightRSVP + 'px',
215        'object-fit': 'cover'
216      });
217	  // DES 2025		
218      var eventHeightDES25 = $('.des_bnr_rit').outerHeight();
219      $('.des_bnr_left').height(eventHeightDES25);
220      $('.des_bnr_left img').css({
221        'height': eventHeightDES25 + 'px',
222        'object-fit': 'cover'
223      });
224	  // Tiger Weave		
225      var weaveBanner = $('.fab_bnr_form').outerHeight();
226      $('.fab_bnr_img').height(weaveBanner);
227      $('.fab_bnr_img img').css({
228        'height': weaveBanner + 'px',
229        'object-fit': 'cover'
230      });
231    }
232	if ($("body").width() > 1200) {
233      // RSVP		
234      var eventHeightRSVP = $('.page-template-template-rsvp .des_form_section').outerHeight();
235      $('.page-template-template-rsvp .rsvp_img_section').height(eventHeightRSVP);
236      $('.page-template-template-rsvp .rsvp_img_section img').css({
237        'height': eventHeightRSVP + 'px',
238        'object-fit': 'cover'
239      });
240    } else {
241      $('.page-template-template-rsvp .rsvp_img_section').height('unset');
242      $('.page-template-template-rsvp .rsvp_img_section img').css({
243        'height': 'unset',
244        'object-fit': 'cover'
245      });
246    }
247	if ($("body").width() > 1300 && $("body").width() < 1600) {
248      // CSR Policy		
249      var eventHeightRSVP = $('.page-id-21025 .section2-content-warp').outerHeight();
250      $('.page-id-21025 .col-md-7.col-sm-7.col-xs-12.p-0 > div').height(eventHeightRSVP);
251      $('.page-id-21025 .col-md-7.col-sm-7.col-xs-12.p-0 > div img').css({
252        'height': eventHeightRSVP + 'px',
253        'object-fit': 'cover'
254      });
255    } 
256  }
257  setTimeout(function () {
258    event_video();
259  }, 1000);
260  $(window).on('orientationchange resize', function () {
261    event_video();
262  });
263
264	$(document).on('change', '.postid-20853 .event_form input, .postid-24368 .event_form input, .postid-24562 .event_form input', function (e) {
265		console.log('dfsd');
266		event_video();
267	});
268	$(document).on('click', '.postid-20853 .event_form .form_field.reg-button, .postid-24368 .event_form .form_field.reg-button, .postid-24562 .event_form .form_field.reg-button', function (e) {
269		event_video();
270		setTimeout(function(){
271			event_video();
272		}, 2000);
273	});
274
275	var origin = window.location.origin;
276	$('body').on('wpcf7mailsent', function(event) {
277	if (event.detail.contactFormId == 646){
278		jQuery('#thankyou-pop').show();
279	}
280    if (event.detail.contactFormId == 19523) {
281        jQuery('.popmake-close').click();
282        jQuery('#thankyou-pop-brochure').show();
283    }
284	if (event.detail.contactFormId == 19670) {
285		var windowWidth = $(window).width();
286		var threshold = 768;
287		if (windowWidth <= threshold) {
288			jQuery('.webinar-thumbnail-mbl').show();
289		} else {
290			jQuery('.webinar-video-container').removeClass('d-none');
291		}
292		jQuery('.webinar-img-container').addClass('d-none');
293		jQuery('.webinar-additinal-video').removeClass('d-none');
294		var vid_pos = jQuery('.webinar-video-sec').position();
295		jQuery('html, body').animate({scrollTop: vid_pos.top - 200 }, 500);
296    }
297		if (event.detail.contactFormId == 24066) {
298		var windowWidth = $(window).width();
299		var threshold = 768;
300		if (windowWidth <= threshold) {
301			jQuery('.webinar-thumbnail-mbl').show();
302		} else {
303			jQuery('.webinar-video-container').removeClass('d-none');
304		}
305		jQuery('.webinar-img-container').addClass('d-none');		
306		var vid_pos = jQuery('.webinar-video-sec').position();
307		jQuery('html, body').animate({scrollTop: vid_pos.top - 200 }, 500);
308    }
309  });
310	$('.webinar-img-container').on('click', function () {
311		jQuery('html, body').animate({scrollTop: 0 });
312	});
313  $('#webinar_event_form').on('click', function () {
314    var formData = {};
315    $(this).closest('form').find('input[name="your-name"], input[name="your-email"], input[name="number"]').each(function () {
316        formData[this.name] = $(this).val();
317    });
318    localStorage.setItem('webinar_event', JSON.stringify(formData));
319  });
320  $(document).on('wpcf7mailsent', function(event) {
321      if (event.detail.contactFormId == 19670) {
322          jQuery('.talk_us_btn_sec').show();
323      }
324      if (event.detail.contactFormId == 21478) {
325        var vid_pos = jQuery('.webinar-video-sec').position();
326        jQuery('html, body').animate({scrollTop: vid_pos.top - 200 }, 500);
327      }
328  });
329  $('#thankyou-pop .close').on('click', function () {
330      jQuery('#thankyou-pop').hide();
331  });
332  $("#thankyou-pop-brochure .close").click(function() {
333    jQuery('#thankyou-pop-brochure').hide();
334  });
335	$('#webinar_contact_btn').on('click', function () {
336		$('#webinar_form_error').hide();
337		var btn = $(this);
338		btn.prop("disabled",true);
339		$.ajax({
340			url: origin + '/wp-admin/admin-ajax.php',
341			type: 'POST',
342			dataType: 'json',
343			data: {
344				action: 'send_webinar_email', 
345				webinar_event: JSON.parse(localStorage.getItem('webinar_event'))
346			},
347			beforeSend: function() {
348				$('.talk_us_btn_sec .wpcf7-spinner').css("visibility", "visible");
349			},
350			success: function(response) {
351				if (response.status == 'success') {
352					$('#webinar_form_error').text(response.message).addClass('success').show();
353				} else {
354					$('#webinar_form_error').text(response.message).addClass('error').show();
355				}
356			},
357			error: function(jqXHR, textStatus, errorThrown) {e
358				var errorMessage = 'Oops! Something went wrong. Please try again later.';
359				$('#webinar_form_error').text(errorMessage).addClass('error').show();
360			},
361			complete: function() {
362				btn.prop("disabled",false);
363				$('.talk_us_btn_sec .wpcf7-spinner').css("visibility", "hidden");
364			},
365		});
366	});
367// 	$('body').on('wpcf7mailsent', function(){ 
368// 		$('#thankyou-pop').modal('show'); 
369// 	});
370
371// ----- industry-1	-----
372$(".tab_content").hide();
373    $(".tab_content:first").show();
374
375  /* if in tab mode */
376    $("ul.tabs li").click(function() {
377		
378      $(".tab_content").hide();
379      var activeTab = $(this).attr("rel"); 
380      $("#"+activeTab).show();		
381		
382      $("ul.tabs li").removeClass("active");
383      $(this).addClass("active");
384
385	  $(".tab_drawer_heading").removeClass("d_active");
386	  $(".tab_drawer_heading[rel^='"+activeTab+"']").addClass("d_active");
387	  
388    });
389	/* if in drawer mode */
390	$(".tab_drawer_heading").click(function() {
391      
392      $(".tab_content").hide();
393      var d_activeTab = $(this).attr("rel"); 
394      $("#"+d_activeTab).show();
395	  
396	  $(".tab_drawer_heading").removeClass("d_active");
397      $(this).addClass("d_active");
398	  
399	  $("ul.tabs li").removeClass("active");
400	  $("ul.tabs li[rel^='"+d_activeTab+"']").addClass("active");
401    });	
402	/* Extra class "tab_last" 
403	   to add border to right side
404	   of last tab */
405	$('ul.tabs li').last().addClass("tab_last");	
406// ----- industry-1	-----	
407
408// ----- industry-2	-----
409$(".tab_content2").hide();
410    $(".tab_content2:first").show();
411	
412  /* if in tab mode */
413    $("ul.tabs2 li").click(function() {		
414      $(".tab_content2").hide();
415      var activeTab2 = $(this).attr("rel"); 
416      $("#"+activeTab2).show();				
417      $("ul.tabs2 li").removeClass("active");
418      $(this).addClass("active");
419	  $(".tab_drawer_heading2").removeClass("d_active");
420	  $(".tab_drawer_heading2[rel^='"+activeTab2+"']").addClass("d_active");	  
421    });
422	
423	/* if in drawer mode */
424	$(".tab_drawer_heading2").click(function() {      
425      $(".tab_content2").hide();
426      var d_activeTab2 = $(this).attr("rel"); 
427      $("#"+d_activeTab2).show();	  
428	  $(".tab_drawer_heading2").removeClass("d_active");
429      $(this).addClass("d_active");	  
430	  $("ul.tabs2 li").removeClass("active");
431	  $("ul.tabs2 li[rel^='"+d_activeTab2+"']").addClass("active");
432    });	
433
434	$('ul.tabs2 li').last().addClass("tab_last");	
435// ----- industry-2	-----	
436
437// ----- industry-3	-----
438$(".tab_content3").hide();
439    $(".tab_content3:first").show();
440	
441  /* if in tab mode */
442    $("ul.tabs3 li").click(function() {		
443      $(".tab_content3").hide();
444      var activeTab3 = $(this).attr("rel"); 
445      $("#"+activeTab3).show();				
446      $("ul.tabs3 li").removeClass("active");
447      $(this).addClass("active");
448	  $(".tab_drawer_heading3").removeClass("d_active");
449	  $(".tab_drawer_heading3[rel^='"+activeTab3+"']").addClass("d_active");	  
450    });
451	
452	/* if in drawer mode */
453	$(".tab_drawer_heading3").click(function() {      
454      $(".tab_content3").hide();
455      var d_activeTab3 = $(this).attr("rel"); 
456      $("#"+d_activeTab3).show();	  
457	  $(".tab_drawer_heading3").removeClass("d_active");
458      $(this).addClass("d_active");	  
459	  $("ul.tabs3 li").removeClass("active");
460	  $("ul.tabs3 li[rel^='"+d_activeTab3+"']").addClass("active");
461    });	
462
463	$('ul.tabs3 li').last().addClass("tab_last");	
464// ----- industry-3	-----
465
466// ----- industry-4	-----
467$(".tab_content4").hide();
468    $(".tab_content4:first").show();
469	
470  /* if in tab mode */
471    $("ul.tabs4 li").click(function() {		
472      $(".tab_content4").hide();
473      var activeTab4 = $(this).attr("rel"); 
474      $("#"+activeTab4).show();				
475      $("ul.tabs4 li").removeClass("active");
476      $(this).addClass("active");
477	  $(".tab_drawer_heading4").removeClass("d_active");
478	  $(".tab_drawer_heading4[rel^='"+activeTab4+"']").addClass("d_active");	  
479    });
480	
481	/* if in drawer mode */
482	$(".tab_drawer_heading4").click(function() {      
483      $(".tab_content4").hide();
484      var d_activeTab4 = $(this).attr("rel"); 
485      $("#"+d_activeTab4).show();	  
486	  $(".tab_drawer_heading4").removeClass("d_active");
487      $(this).addClass("d_active");	  
488	  $("ul.tabs4 li").removeClass("active");
489	  $("ul.tabs4 li[rel^='"+d_activeTab4+"']").addClass("active");
490    });	
491
492	$('ul.tabs4 li').last().addClass("tab_last");	
493// ----- industry-4	-----	
494
495// ----- industry-5	-----
496$(".tab_content5").hide();
497    $(".tab_content5:first").show();
498	
499  /* if in tab mode */
500    $("ul.tabs5 li").click(function() {		
501      $(".tab_content5").hide();
502      var activeTab5 = $(this).attr("rel"); 
503      $("#"+activeTab5).show();				
504      $("ul.tabs5 li").removeClass("active");
505      $(this).addClass("active");
506	  $(".tab_drawer_heading5").removeClass("d_active");
507	  $(".tab_drawer_heading5[rel^='"+activeTab2+"']").addClass("d_active");	  
508    });
509	
510	/* if in drawer mode */
511	$(".tab_drawer_heading5").click(function() {      
512      $(".tab_content5").hide();
513      var d_activeTab5 = $(this).attr("rel"); 
514      $("#"+d_activeTab5).show();	  
515	  $(".tab_drawer_heading5").removeClass("d_active");
516      $(this).addClass("d_active");	  
517	  $("ul.tabs5 li").removeClass("active");
518	  $("ul.tabs5 li[rel^='"+d_activeTab5+"']").addClass("active");
519    });	
520
521	$('ul.tabs5 li').last().addClass("tab_last");	
522// ----- industry-5	-----
523
524	
525  $(".blog_search input").keyup(function(){        
526      var search = $(this).val();
527      var dataString = "sear="+search;   
528        $.ajax({
529            type: 'POST',
530            url: '/wp-content/themes/mulitiwebootstrap/search-post.php', 
531            data: dataString,
532            success: function(data){
533              $(".insights_filter_data").html(data);
534          }
535        });
536    });
537$('select.insights_dd').change(function(){
538    var insights_dd_value = $(this).val();
539	var data_type = $(this).attr('data-type');
540    var dataString = "insights_dd="+insights_dd_value+"";   
541     $.ajax({
542         type: 'POST',
543        url: '/wp-content/themes/mulitiwebootstrap/insights_filter.php', 
544        data: dataString,
545        success: function(data){      
546            $(".insights_filter_data").html(data);
547            cal_heights();
548        }
549      });
550  });
551
552$('.career_loadmore').click(function(e){
553	e.preventDefault();
554	$('.career_loadmore').removeClass('active');
555	$(this).addClass('active');
556	var data_type = $(this).attr('data-set');  
557	$.ajax({
558		type: 'POST',
559		url: '/wp-content/themes/mulitiwebootstrap/jobs.php', 
560		data: "offset="+data_type,
561		success: function(data){
562			//$(data).innerHtml('.all-jobs-list-wrap');
563			$(".jobs-wrap.india").html(data);
564			//$(data).insertAfter( ".all-jobs-list-wrap:last-child" );
565			jQuery('html, body').animate({scrollTop: 200 }, 200);
566		}
567	});
568});
569	
570$(".leader_search input").keyup(function(){ 
571  var search = $(this).val();
572  var dataString = "sear="+search;   
573    $.ajax({
574        type: 'POST',
575        url: usload+'/search-leader.php', 
576        data: dataString,
577        success: function(data){
578          $("#leadership_list").html(data);
579      }
580    });
581});
582
583$('#filter_expertise').change(function(){
584  var filter_expertise = $(this).val();
585  $.ajax({
586        type: "POST",
587        url: usload+"/leader-change.php",
588        data: {'filter_expertise': filter_expertise },
589        success: function (data) {
590          $('#leadership_list').html(data);
591          //$('.location_label,#filter_location').fadeIn();
592          var location_options = $('.filter_location').html();
593          //$('#filter_location').empty();
594          //$('#filter_location').append(location_options);
595        }
596    });
597});
598
599$('.leader_apply_wrap').click(function(e){
600    e.preventDefault();
601    var filter_expertise = $('select#filter_expertise').val();
602    var filter_location = $('select#filter_location').val();
603    $.ajax({
604        type: "POST",
605        url: usload+"/leader-filter.php",
606        data: {'filter_expertise': filter_expertise,'filter_location': filter_location },
607        success: function (data) {
608          $('#leadership_list').html(data);
609        }
610    });
611});
612
613$(document).ready(function () {
614	
615	$(".gallery_slider_wrap").slick({
616        dots: false,
617        infinite: true,
618        slidesToShow: 1,
619        slidesToScroll: 1,
620        loop:true,
621        autoplay:false,
622        arrows:true,
623        speed:2000,
624		nextArrow:"<img class='a-left' src='/wp-content/uploads/2022/12/btn-rightcarousel.svg' alt='arrow img'>",
625        prevArrow:"<img class='a-right' src='/wp-content/uploads/2022/12/btn-rightcarousel.svg' alt='arrow img'>",
626        responsive: [
627          {
628            breakpoint: 767,
629            settings: {
630              slidesToShow: 1,
631              slidesToScroll: 1,
632            },
633          },
634        ],
635    });	
636});	
637		
638$(document).ready(function () {
639     $(".powerr").slick({
640        dots: false,
641        infinite: true,
642        centerMode: false,
643        slidesToShow: 3,
644        slidesToScroll: 1,
645        loop:true,
646        autoplay:false,
647        arrows:true,
648        speed:2000, 
649        responsive: [
650          {
651            breakpoint: 767,
652            settings: {
653              slidesToShow: 1,
654              slidesToScroll: 1,
655            },
656          },
657        ],
658    });
659});		
660		
661$(document).ready(function () {
662     $(".cap-slide").slick({
663        dots: false,
664        infinite: true,
665        centerMode: false,
666        slidesToShow: 2,
667        slidesToScroll: 1,
668        loop:true,
669        autoplay:false,
670        arrows:true,
671        variableWidth: true,
672        speed:2000, 
673        nextArrow: '<button class="slide-arrow next-arrow"><svg xmlns="http://www.w3.org/2000/svg" width="115.698" height="31.112" viewBox="0 0 115.698 31.112"><g id="Group_30717" data-name="Group 30717" transform="translate(-1664.302 -4292.586)"><text id="SWIPE" transform="translate(1710 4315)" fill="#312e2d" font-size="24" font-family="ArticulatCF-Regular, Articulat CF"><tspan x="0" y="0">SWIPE</tspan></text><g id="Group_30716" data-name="Group 30716" transform="translate(4)"><g id="Group_30715" data-name="Group 30715" transform="translate(208.996 44.293)"><g id="Group_30713" data-name="Group 30713" transform="translate(1485 4263.971) rotate(135)"><path id="Path_63" data-name="Path 63" d="M24,24" transform="translate(-11.14 -10.967)" fill="none" stroke="#f7901d" stroke-linecap="round" stroke-width="2"/><path id="Path_64" data-name="Path 64" d="M0,8H8V0" transform="translate(4.86 5.033)" fill="none" stroke="#f7901d" stroke-linecap="round" stroke-width="2"/></g><g id="Group_30714" data-name="Group 30714" transform="translate(1488 4263.971) rotate(135)"><path id="Path_63-2" data-name="Path 63" d="M24,24" transform="translate(0.86 1.033)" fill="none" stroke="#f7901d" stroke-linecap="round" stroke-width="2"/><path id="Path_64-2" data-name="Path 64" d="M0,20H20V0" transform="translate(4.86 5.033)" fill="none" stroke="#f7901d" stroke-linecap="round" stroke-width="2"/></g></g></g></g></svg></button>',
674        responsive: [
675          {
676            breakpoint: 767,
677            settings: {
678              slidesToShow: 1,
679              slidesToScroll: 1,
680            },
681          },
682        ],
683    });
684});	
685
686
687     
688$(document).ready(function () {
689     $(".team-slide").slick({
690        dots: false,
691        infinite: true,
692        slidesToShow: 1,
693        slidesToScroll: 1,
694        loop:true,
695        autoplay:false,
696        arrows:true,
697        speed:2000, 
698        responsive: [
699          {
700            breakpoint: 767,
701            settings: {
702              slidesToShow: 1,
703              slidesToScroll: 1,
704            },
705          },
706        ],
707    });
708});		
709	
710
711$(document).ready(function () {
712
713    var $awardsSlider = $(".awards-slider");
714
715    if ($awardsSlider.length) {
716
717        $awardsSlider.slick({
718            arrows: true,
719            dots: false,
720            slidesToShow: 4,
721            slidesToScroll: 1,
722            autoplay: false,
723
724            prevArrow: $(".awards-prev"),
725            nextArrow: $(".awards-next"),
726
727            responsive: [
728                {
729                    breakpoint: 1600,
730                    settings: {
731                        slidesToShow: 3,
732                        slidesToScroll: 1
733                    }
734                },
735                {
736                    breakpoint: 1024,
737                    settings: {
738                        slidesToShow: 2,
739                        slidesToScroll: 2
740                    }
741                },
742                {
743                    breakpoint: 767,
744                    settings: {
745                        slidesToShow: 1,
746                        slidesToScroll: 1
747                    }
748                }
749            ]
750        });
751
752    }
753
754});			
755	
756var helpers = {
757	addZeros: function (n) {
758		return (n < 10) ? '0' + n : '' + n;
759	}
760};	
761	
762
763	
764$(document).ready(function () {
765    $(".team-head-slider").slick({
766        dots: false,
767        infinite: true,
768        slidesToShow: 1,
769        slidesToScroll: 1,
770        loop:true,
771        autoplay:false,
772        arrows:true,
773        speed:2000,
774        prevArrow: $('.teams-prev'),
775        nextArrow: $('.teams-next'),
776        responsive: [
777	        {
778	           breakpoint: 767,
779	           settings: "unslick"
780	        }
781	    ],
782    });
783});	
784	
785
786$(document).ready(function () {
787     $(".commitment-slides").slick({
788        dots: false,
789        infinite: true,
790        centerMode: false,
791        slidesToShow: 1,
792        slidesToScroll: 1,
793        loop:true,
794        autoplay:false,
795        arrows:true,
796        speed:2000, 
797		nextArrow: '<button class="slide-arrow next-arrow"><svg xmlns="http://www.w3.org/2000/svg" width="115.698" height="31.112" viewBox="0 0 115.698 31.112"><g id="Group_30717" data-name="Group 30717" transform="translate(-1664.302 -4292.586)"><text id="SWIPE" transform="translate(1710 4315)" fill="#312e2d" font-size="24" font-family="ArticulatCF-Regular, Articulat CF"><tspan x="0" y="0">SWIPE</tspan></text><g id="Group_30716" data-name="Group 30716" transform="translate(4)"><g id="Group_30715" data-name="Group 30715" transform="translate(208.996 44.293)"><g id="Group_30713" data-name="Group 30713" transform="translate(1485 4263.971) rotate(135)"><path id="Path_63" data-name="Path 63" d="M24,24" transform="translate(-11.14 -10.967)" fill="none" stroke="#f7901d" stroke-linecap="round" stroke-width="2"/><path id="Path_64" data-name="Path 64" d="M0,8H8V0" transform="translate(4.86 5.033)" fill="none" stroke="#f7901d" stroke-linecap="round" stroke-width="2"/></g><g id="Group_30714" data-name="Group 30714" transform="translate(1488 4263.971) rotate(135)"><path id="Path_63-2" data-name="Path 63" d="M24,24" transform="translate(0.86 1.033)" fill="none" stroke="#f7901d" stroke-linecap="round" stroke-width="2"/><path id="Path_64-2" data-name="Path 64" d="M0,20H20V0" transform="translate(4.86 5.033)" fill="none" stroke="#f7901d" stroke-linecap="round" stroke-width="2"/></g></g></g></g></svg></button>',
798        responsive: [
799          {
800            breakpoint: 768,
801            settings: {			  	
802              slidesToShow: 1,
803              slidesToScroll: 1,
804            },
805          },
806        ],
807    });
808});	
809	
810$(document).ready(function () {
811     $(".slid-wrap").slick({
812        dots: false,
813        infinite: false,
814        centerMode: false,
815        slidesToShow: 3,
816        slidesToScroll: 1,
817        loop:false,
818        autoplay:false,
819        arrows:true,
820        speed:2000,
821// 		initialSlide: 1,
822		nextArrow:"<img class='a-left' src='/wp-content/uploads/2022/12/btn-rightcarousel.svg' alt='arrow img'>",
823        prevArrow:"<img class='a-right' src='/wp-content/uploads/2022/12/btn-rightcarousel.svg' alt='arrow img'>",
824        responsive: [
825			{
826				breakpoint: 767,
827				settings: "unslick"
828			}
829		]
830    });
831});	
832
833// $(".slid-wrap").slick('slickSetOption', 'slidesToScroll', 2, true);	
834
835	$(document).ready(function($) {
836
837    var showChar = 150;  // How many characters are shown by default
838    var ellipsestext = "";
839    var moretext = "Read More";
840    var lesstext = "Read Less";
841    
842
843    $('.more').each(function() {
844        var content = $(this).html();
845 
846        if(content.length > showChar) {
847 
848            var c = content.substr(0, showChar);
849            var h = content.substr(showChar, content.length - showChar);
850 
851            var html = c + '<span class="moreellipses">' + ellipsestext+ '&nbsp;</span><span class="morecontent"><span>' + h + '</span>&nbsp;&nbsp;<a href="" class="morelink">' + moretext + '</a></span>';
852 
853            $(this).html(html);
854        }
855 
856    });
857 
858    $(".morelink").click(function(){
859        if($(this).ha
859sClass("less")) {
860            $(this).removeClass("less");
861            $(this).html(moretext);
862        } else {
863            $(this).addClass("less");
864            $(this).html(lesstext);
865        }
866        $(this).parent().prev().toggle();
867        $(this).prev().toggle();
868        return false;
869    });
870});
871	
872jQuery(document).ready(function(){
873	jQuery(".tab_list li a").click(function(i){
874		i.preventDefault();
875		var t=jQuery(this).attr("class");
876		jQuery(".tab_list li").removeClass("active"),jQuery(this).parent().addClass("active"),jQuery(".job_listing_wrap .job_listing").each(function(){
877			if(jQuery(this).hasClass(t)){
878				var i=jQuery(this).html();
879				jQuery(".job_listing").removeClass("active_r"),jQuery(this).parent().prepend('<div class="job_listing active_r '+t+'" id="job-1">'+i+"</div>"),jQuery(this).remove()
880			}
881		})
882	})
883});
884	
885	var header = document.getElementById("career_list_1");
886    if(header){
887		var lists = header.getElementsByClassName("lists");
888		if(lists){
889			for (var i = 0; i < lists.length; i++) {
890				lists[i].addEventListener("click", function() {
891					var current = document.getElementsByClassName("active");
892					current[0].className = current[0].className.replace(" active", "");
893					this.className += " active";
894				});
895			}
896		}
897	}
898
899const slider = document.querySelector('.parent');
900if (slider) {
901let mouseDown = false;
902let startX, scrollLeft;
903
904let startDragging = function (e) {
905  mouseDown = true;
906  startX = e.pageX - slider.offsetLeft;
907  scrollLeft = slider.scrollLeft;
908};
909let stopDragging = function (event) {
910  mouseDown = false;
911};
912
913slider.addEventListener('mousemove', (e) => {
914  e.preventDefault();
915  if(!mouseDown) { return; }
916  const x = e.pageX - slider.offsetLeft;
917  const scroll = x - startX;
918  slider.scrollLeft = scrollLeft - scroll;
919});
920
921// Add the event listeners
922slider.addEventListener('mousedown', startDragging, false);
923slider.addEventListener('mouseup', stopDragging, false);
924slider.addEventListener('mouseleave', stopDragging, false);
925}
926
927	$(".reason_text_wrap").slick({
928		dots: false,
929		infinite: false,
930		centerMode: false,
931		slidesToShow: 4,
932		slidesToScroll: 1,
933		loop:true,
934		autoplay:false,
935		arrows:false,
936		speed:2000, 
937		responsive: [
938			{
939				breakpoint: 767,
940				settings: "unslick"
941			}
942		]
943	});	
944	
945	$(".tab_content").hide();
946    $(".tab_content:first").show();
947
948  /* if in tab mode */
949    $("ul.tabs li").click(function() {
950		
951      $(".tab_content").hide();
952      var activeTab = $(this).attr("rel"); 
953      $("#"+activeTab).show();		
954		
955      $("ul.tabs li").removeClass("active");
956      $(this).addClass("active");
957
958	  $(".tab_drawer_heading").removeClass("d_active");
959	  $(".tab_drawer_heading[rel^='"+activeTab+"']").addClass("d_active");
960	  
961    });
962	/* if in drawer mode */
963	$(".tab_drawer_heading").click(function() {
964      
965      $(".tab_content").hide();
966      var d_activeTab = $(this).attr("rel"); 
967      $("#"+d_activeTab).show();
968	  
969	  $(".tab_drawer_heading").removeClass("d_active");
970      $(this).addClass("d_active");
971	  
972	  $("ul.tabs li").removeClass("active");
973	  $("ul.tabs li[rel^='"+d_activeTab+"']").addClass("active");
974    });
975	
976	
977	/* Extra class "tab_last" 
978	   to add border to right side
979	   of last tab */
980	$('ul.tabs li').last().addClass("tab_last");
981	
982	mobileOnlySlider(".team-slider", true, false, 767);
983
984    function mobileOnlySlider($slidername, $dots, $arrows, $breakpoint) {
985    	var slider = $($slidername);
986    	var settings = {
987    		mobileFirst: true,
988    		dots: false,
989    		variableWidth: true,
990    		slidesToShow: 1,
991    		prevArrow: $('.prev'),
992            nextArrow: $('.next'),
993    		responsive: [
994    			{
995    				breakpoint: $breakpoint,
996    				settings: "unslick"
997    			}
998    		]
999    	};
1000    
1001    	slider.slick(settings);
1002    
1003    	$(window).on("resize", function () {
1004    		if ($(window).width() > $breakpoint) {
1005    			return;
1006    		}
1007    		if (!slider.hasClass("slick-initialized")) {
1008    			return slider.slick(settings);
1009    		}
1010    	});
1011    } // Mobile Only Slider
1012    
1013    
1014    if($('.tab_list_wrap .lists ').length > 5){
1015        $('.tab_list_wrap .swipe_cta').show();
1016    }else{
1017        $('.tab_wrap .swipe_cta').hide();
1018    }
1019    
1020	
1021});
1022
1023$(document).ready(function() {
1024		$(".footer-list .title").click(function() {
1025		    var content = $(this).next(".content");
1026		    if (content.is(":visible")) {
1027				$(this).parent().removeClass("active");
1028				content.slideUp(500);
1029			}
1030			else {
1031				$(this).parent().siblings().removeClass("active");
1032				$(this).parent().siblings().children(".content").slideUp(500);
1033				content.slideDown(500);
1034				$(this).parent().addClass("active");
1035			}
1036	  	});
1037	
1038	});
1039
1040 $(".head").click(function() {
1041            var content = $(this).next(".content");
1042            if (content.is(":visible")) {
1043                $(".head").parent().removeClass("active");
1044                content.slideUp(500);
1045            }
1046            else {
1047                $(".head").parent().removeClass("active");
1048                $(".head").parent().children(".content").slideUp(500);
1049                content.slideDown(500);
1050                $(this).parent().addClass("active");
1051            }
1052        });
1053
1054
1055/* RSVP Changemaker */
1056$(document).ready(function() {
1057  $(".changemaker_agenda_cont").hide();
1058  $(".changemaker_agenda_col").click(function () {
1059    const $clickedContainer = $(this).find(".changemaker_agenda_cont");
1060    if ($clickedContainer.is(":visible")) {
1061      $clickedContainer.slideUp(300);
1062      $(this).removeClass("open");
1063    } else {
1064      $(".changemaker_agenda_cont").slideUp(300);
1065      $(".changemaker_agenda_col").removeClass("open");
1066      $clickedContainer.slideDown(300);
1067      $(this).addClass("open");
1068    }
1069  });
1070});
1071
1072//event page thank you scroll
1073function scrollToDiv(className, value, time = 500) {
1074   $('html, body').animate({
1075       scrollTop: $(className).offset().top - value
1076  }, time)
1077}
1078
1079/* background image change based on device (ref in aws workshop)*/
1080function updateBackgrounds() {
1081    const sections = document.querySelectorAll('.responsive-img');
1082    if(sections){
1083      sections.forEach(function(section) {
1084          if (window.innerWidth <= 768) {
1085              section.style.backgroundImage = 'url(' + section.dataset.srcMobile + ')';
1086          } else {
1087              section.style.backgroundImage = 'url(' + section.dataset.srcDesktop + ')';
1088          }
1089      });
1090    }
1091}
1092
1093/*function matchMinHeight(sourceSelector, targetSelector, breakpoint = 768) {
1094	if ($('body').width() > breakpoint) {
1095		var sourceHeight = $(sourceSelector).outerHeight();
1096		$(targetSelector).css('min-height', sourceHeight + 'px');
1097	} else {
1098		$(targetSelector).css('min-height', '');
1099	}
1100}*/
1101
1102
1103$(document).ready(function () {
1104	updateBackgrounds();
1105	//matchMinHeight('.cs-content-right', '.blog-content-main');
1106});
1107
1108$(window).on('resize', function () {
1109	updateBackgrounds();
1110	//matchMinHeight('.cs-content-right', '.blog-content-main');
1111});
1112
1113

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.