1(function ($) { 2 function goToByScroll(id, padding, next){ 3 if (padding == ''){ 4 padding = 150; 5 } 6 if(id != undefined && id !=''){ 7 var to = ($(id).offset().top)-padding; 8 }else{ 9 var to = 0; 10 } 11 $('html,body').animate({scrollTop: to},400); 12 next(); 13 } 14 15 function checkscroll(){ 16// console.log($(window).scrollTop()); 17 18 // if($(window).scrollTop() > ($('footer').position().top - 550)){ 19 // $('.chat').css('position','absolute').css('bottom', 'initial').css('top', '-50px'); 20 // }else{ 21 // $('.chat').css('position','fixed').css('top', 'initial').css('bottom', '40px'); 22 // } 23 24 if($(window).width() > 992){ 25 if($(window).scrollTop() < 50){ 26 27 }else{ 28 29 } 30 } 31 } 32 33 function iframefix(){ 34 $('iframe').removeAttr('height'); 35 $('iframe').removeAttr('width'); 36 $('iframe').css('width', '100%'); 37 if($(window).width() > 992){ 38 $('iframe').css('height', $('iframe').width() / 2.5); 39 $('#menu-item-141').css('height',$('ul.level2').height()); 40 }else{ 41 $('iframe').css('height', $('iframe').width() / 1.77); 42 } 43 } 44 45 $(window).scroll(function(){ 46 checkscroll(); 47 }); 48 49 $(window).resize(function(){ 50 iframefix(); 51 }); 52 53 $(document).on('wpcf7mailsent', function(){ 54 if(gtag != undefined){ 55 if(event.detail.contactFormId == 432 || event.detail.contactFormId == 421){ 56 gtag( 'event', 'complete_lead_webinar', {} ); 57 } 58 59 if(event.detail.contactFormId == 189){ 60 gtag( 'event', 'complete_lead_form_talents', {} ); 61 } 62 63 if(event.detail.contactFormId == 190){ 64 gtag( 'event', 'complete_lead_form_companies', {} ); 65 } 66 67 if(event.detail.contactFormId == 5){ 68 gtag( 'event', 'complete_lead_form_inquiry', {} ); 69 } 70 71 if(event.detail.contactFormId == 463 || event.detail.contactFormId == 596 ){ 72 gtag( 'event', 'complete_lead_launch_event', {} ); 73 } 74 } 75 76 $('.modal.fade.show .modal-body').html('<p class="">Dear Valued Tech Enthusiast,</p>'+ 77 '<p>Thank you for registering your interest in <b><span class="red">in</span>ctrl</b>.</p>'+ 78 '<p>We look forward to unveiling the launching date soon and welcoming you in our
78community of tech people who will access most attractive projects from customers all around the world.</p>'+ 79 '<p>In the coming months, please keep an eye on your inbox for your personal invitation to access inctrl.</p>'+ 80 '<p>Also, we encourage you to follow us on:</p><p><a href="https://www.facebook.com/profile.php?id=100087581995130" target="_blank" class="ms-0 social" title="Facebook"><img src="/wp-content/uploads/2022/12/fb_square.png" width="35" /></a><a href="https://www.linkedin.com/company/inctrl-ai" target="_blank" class="social" title="Linkedin"><img src="/wp-content/uploads/2022/12/li.png" width="35"/></a><a href="https://www.instagram.com/inctrl.ai/" target="_blank" class="social" title="Instagram"><img src="/wp-content/uploads/2022/12/insta.jpeg" width="35"/></a></p>'+ 81 '<p><span class="red">in</span>ctrl team</p>' 82 ); 83 }); 84 85 $(document).on('wpcf7submit', function(){ 86 $('.wpcf7-submit').show(); 87 }); 88 89 90 $(document).ready(function() { 91 92 var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) 93 var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { 94 return new bootstrap.Tooltip(tooltipTriggerEl) 95 }) 96 97 98 $('.wpcf7-submit').on('click', function(){ 99 $(this).hide(); 100 }); 101 102 // $('.talent_register').on('click', function(e){ 103 // e.preventDefault(); 104 // $('#talent_registration').modal('show'); 105 // }); 106 // $('.company_register').on('click', function(e){ 107 // e.preventDefault(); 108 // $('#company_registration').modal('show'); 109 // }); 110 // $('.chat_link').on('click', function(e){ 111 // e.preventDefault(); 112 // $('#get_in_touch').modal('show'); 113 // }); 114 115 // $('.register_link').on('click', function(e){ 116 // e.preventDefault(); 117 // if($('body').hasClass('home')){ 118 // $('#talent_registration').modal('show'); 119 // }else{ 120 // $('#company_registration').modal('show'); 121 // } 122 // }); 123 124 125 if($('body').hasClass('page-template-template-homepage')){ 126 $('p,h2,.custom li, p strong').each(function() { 127 var text = $(this).html(); 128 text = text.replace('inctrl', '<span class="red">in</span>ctrl'); 129 $(this).html(text); 130 }); 131 } 132 133 $('.link').on('click', function(){ 134 window.location = $(this).data('link'); 135 }); 136 137 checkscroll(); 138 iframefix(); 139 140 var docHeight = $(window).height(); 141 var footerHeight = $('footer').height(); 142 var footerTop = $('footer').position().top + footerHeight; 143 if (footerTop < docHeight) { 144 $('footer').css('margin-top', 10+ (docHeight - footerTop) + 'px'); 145 } 146 }); 147})(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.