PageSourceSearch

https://ailif.digital/wp-content/plugins/modeltheme-framework/js/modeltheme-custom.js?ver=1.0.0

js ailif.digital collected 2026-09-24 15:02:05 UTC 14,322 bytes, 458 lines download raw bytes

1/*
2 File name:          Custom JS
3*/
4
5// MAP PINS SHORTCODE
6jQuery(document).ready(function(jQuery){
7  //open interest point description
8  jQuery('.bitwallet-single-point').children('a').on('click', function(){
9    var selectedPoint = jQuery(this).parent('li');
10    if( selectedPoint.hasClass('is-open') ) {
11      selectedPoint.removeClass('is-open').addClass('visited');
12    } else {
13      selectedPoint.addClass('is-open').siblings('.bitwallet-single-point').removeClass('is-open');
14    }
15  });
16  //close interest point description
17  jQuery('.bitwallet-close-info').on('click', function(event){
18    event.preventDefault();
19    jQuery(this).parents('.bitwallet-single-point').eq(0).removeClass('is-open').addClass('visited');
20  });
21});
22
23 jQuery( ".cd-pricing-switcher .monthly-label" ).on( "click", function() {
24      jQuery( ".cd-pricing-switcher .yearly-label" ).removeClass('active');
25      jQuery(this).addClass('active');
26      jQuery('.package_price_per_year-parent').hide();
27      jQuery('.package_price_per_month-parent').show();
28    });
29    jQuery( ".cd-pricing-switcher .yearly-label" ).on( "click", function() {
30      jQuery( ".cd-pricing-switcher .monthly-label" ).removeClass('active');
31      jQuery(this).addClass('active');
32      jQuery('.package_price_per_month-parent').hide();
33      jQuery('.package_price_per_year-parent').show();
34    });
35jQuery("[class$='mt_circle']").percircle();
36  if ( jQuery( "#grid" ).length ) {
37    (function() {
38      function init() {
39        var speed = 300,
40          easing = mina.backout;
41        [].slice.call ( document.querySelectorAll( '#grid a' ) ).forEach( function( el ) {
42          var s = Snap( el.querySelector( 'svg' ) ), path = s.select( 'path' ),
43            pathConfig = {
44              from : path.attr( 'd' ),
45              to : el.getAttribute( 'data-path-hover' )
46            };
47          el.addEventListener( 'mouseenter', function() {
48            path.animate( { 'path' : pathConfig.to }, speed, easing );
49          } );
50          el.addEventListener( 'mouseleave', function() {
51            path.animate( { 'path' : pathConfig.from }, speed, easing );
52          } );
53        } );
54      }
55      init();
56    })();
57  }
58
59(function ($) {
60  'use strict';
61  jQuery( document ).ready(function() {
62    /*
63    * ||||||||||||||||||||||||||||||||||||||||||||||||||||||||-> TESTIMONIALS01 SLIDER (Shortcode)
64    */
65    jQuery(".testimonials-container").owlCarousel({
66        navigation      : false, // Show next and prev buttons
67        pagination      : true,
68        autoPlay        : false,
69        slideSpeed      : 700,
70        paginationSpeed : 700,
71        itemsCustom : [
72            [0,     1],
73            [450,   1],
74            [600,   2],
75            [700,   2],
76            [1000,  2],
77            [1200,  2],
78            [1400,  2],
79            [1600,  2]
80        ]
81    });
82    jQuery(".members-container").owlCarousel({
83        navigation      : false, // Show next and prev buttons
84        pagination      : false,
85        autoPlay        : false,
86        slideSpeed      : 700,
87        paginationSpeed : 700,
88        singleItem      : true,
89        itemsCustom : [
90            [0,     1],
91            [450,   1],
92            [600,   1],
93            [700,   1],
94            [1000,  1],
95            [1200,  1],
96            [1400,  1],
97            [1600,  1]
98        ]
99    });
100    jQuery(".testimonials-container-1").owlCarousel({
101        navigation      : true, // Show next and prev buttons
102        navigationText: [
103        "<i class='fa fa-long-arrow-left' aria-hidden='true'></i>",
104        "<i class='fa fa-long-arrow-right' aria-hidden='true'></i>"
105        ],
106        pagination      : false,
107        autoPlay        : false,
108        slideSpeed      : 700,
109        paginationSpeed : 700,
110        itemsCustom : [
111            [0,     1],
112            [450,   1],
113            [600,   1],
114            [700,   1],
115            [1000,  1],
116            [1200,  1],
117            [1400,  1],
118            [1600,  1]
119        ]
120    });
121    jQuery(".testimonials-container-2").owlCarousel({
122        loop:true,
123        margin:20,
124        nav:true,
125        autoPlay        : false,
126        slideSpeed      : 700,
127        paginationSpeed : 700,
128        itemsCustom : [
129            [0,     1],
130            [450,   1],
131            [600,   2],
132            [700,   2],
133            [1000,  2],
134            [1200,  2],
135            [1400,  2],
136            [1600,  2]
137        ]
138    });
139    jQuery(".testimonials-container-3").owlCarousel({
140        navigation      : false, // Show next and prev buttons
141        pagination      : false,
142        autoPlay        : false,
143        slideSpeed      : 700,
144        paginationSpeed : 700,
145        itemsCustom : [
146            [0,     1],
147            [450,   1],
148            [600,   2],
149            [700,   2],
150            [1000,  3],
151            [1200,  3],
152            [1400,  3],
153            [1600,  3]
154        ]
155    });
156    /*
157    * ||||||||||||||||||||||||||||||||||||||||||||||||||||||||-> TESTIMONIALS02 SLIDER (Shortcode)
158    */
159    jQuery(".testimonials02-container").owlCarousel({
160      navigation      : false, // Show next and prev buttons
161      pagination      : true,
162      autoPlay        : true,
163      slideSpeed      : 700,
164      paginationSpeed : 700,
165      navigationText  : ["<i class='icon-arrow-left'></i>","<i class='icon-arrow-right'></i>"],
166      // navigationText  : ["",""],
167      singleItem      : true
168    });
169    /*
170    * ||||||||||||||||||||||||||||||||||||||||||||||||||||||||-> TWEETS SLIDER (Shortcode)
171    */
172    jQuery(".mt_tweets_slider").owlCarousel({
173      navigation      : false, // Show next and prev buttons
174      pagination      : false,
175      autoPlay        : false,
176      slideSpeed      : 700,
177      paginationSpeed : 700,
178      singleItem      : true
179    });
180    /*
181    * ||||||||||||||||||||||||||||||||||||||||||||||||||||||||-> MEMBERS FANCY SLIDER (Shortcode)
182    */
183    jQuery(".mt_members_fancy_slider").owlCarousel({
184      navigation      : false, // Show next and prev buttons
185      pagination      : false,
186      autoPlay        : false,
187      slideSpeed      : 700,
188      paginationSpeed : 700,
189      autoPlay : true,
190      autoPlayTimeout:10000,
191      autoPlayHoverPause:true,
192      itemsCustom : [
193          [0,     1],
194          [450,   1],
195          [600,   2],
196          [700,   2],
197          [1000,  4],
198          [1200,  4],
199          [1400,  4],
200          [1600,  4]
201      ]
202    });
203    /*
204    * ||||||||||||||||||||||||||||||||||||||||||||||||||||||||-> CLIENTS SLIDER (Shortcode)
205    */
206    jQuery(".clients_container_shortcode-1").owlCarousel({
207        navigation      : false, // Show next and prev buttons
208        pagination      : false,
209        autoPlay        : false,
210        slideSpeed      : 700,
211        paginationSpeed : 700,
212        autoPlay : true,
213        autoPlayTimeout:10000,
214        autoPlayHoverPause:true,
215        itemsCustom : [
216            [0,     1],
217            [450,   1],
218            [600,   1],
219            [700,   1],
220            [1000,  1],
221            [1200,  1],
222            [1400,  1],
223            [1600,  1]
224        ]
225    });
226    jQuery(".clients_container_shortcode-2").owlCarousel({
227        navigation      : false, // Show next and prev buttons
228        pagination      : false,
229        autoPlay        : false,
230        slideSpeed      : 700,
231        paginationSpeed : 700,
232        autoPlay : true,
233        autoPlayTimeout:10000,
234        autoPlayHoverPause:true,
235        itemsCustom : [
236            [0,     1],
237            [450,   1],
238            [600,   2],
239            [700,   2],
240            [1000,  2],
241            [1200,  2],
242            [1400,  2],
243            [1600,  2]
244        ]
245    });
246    jQuery(".clients_container_shortcode-3").owlCarousel({
247        navigation      : false, // Show next and prev buttons
248        pagination      : false,
249        autoPlay        : false,
250        slideSpeed      : 700,
251        paginationSpeed : 700,
252        autoPlay : true,
253        autoPlayTimeout:10000,
254        autoPlayHoverPause:true,
255        itemsCustom : [
256            [0,     1],
257            [450,   1],
258            [600,   2],
259            [700,   2],
260            [1000,  3],
261            [1200,  3],
262            [1400,  3],
263            [1600,  3]
264        ]
265    });
266    jQuery(".clients_container_shortcode-4").owlCarousel({
267        navigation      : false, // Show next and prev buttons
268        pagination      : false,
269        autoPlay        : false,
270        slideSpeed      : 700,
271        paginationSpeed : 700,
272        autoPlay : true,
273        autoPlayTimeout:10000,
274        autoPlayHoverPause:true,
275        itemsCustom : [
276            [0,     1],
277            [450,   1],
278            [600,   2],
279            [700,   3],
280            [1000,  4],
281            [1200,  4],
282            [1400,  4],
283            [1600,  4]
284        ]
285    });
286    jQuery(".clients_container_shortcode-5").owlCarousel({
287        navigation      : false, // Show next and prev buttons
288        pagination      : false,
289        autoPlay        : false,
290        slideSpeed      : 700,
291        paginationSpeed : 700,
292        autoPlay : true,
293        autoPlayTimeout:10000,
294        autoPlayHoverPause:true,
295        itemsCustom : [
296            [0,     1],
297            [450,   2],
298            [600,   2],
299            [700,   5],
300            [1000,  5],
301            [1200,  5],
302            [1400,  5],
303            [1600,  5]
304        ]
305    });
306    jQuery(".clients_container_shortcode-6").owlCarousel({
307        navigation      : false, // Show next and prev buttons
308        pagination      : false,
309        autoPlay        : false,
310        slideSpeed      : 700,
311        paginationSpeed : 700,
312        autoPlay : true,
313        autoPlayTimeout:10000,
314        autoPlayHoverPause:true,
315        itemsCustom : [
316            [0,     2],
317            [450,   2],
318            [600,   2],
319            [700,   3],
320            [1000,  4],
321            [1200,  4],
322            [1400,  5],
323            [1600,  6]
324        ]
325    });
326    /*
327    * ||||||||||||||||||||||||||||||||||||||||||||||||||||||||-> GET DIV HEIGHT (Shortcode) 
328    */
329    jQuery(document).ready( function() {
330        var height = jQuery(".about_image").height();
331        jQuery('.about_text_holder').css('height',height);
332    });
333    jQuery(document).ready( function() {
334        var height = jQuery(".portfolio03_thumbnail").height();
335        jQuery('.color_verlay_portfolio3').css('height',height);
336    });
337    jQuery(document).ready( function() {
338        var height = jQuery(".color_verlay_portfolio3").height();
339        jQuery('.portfolio03_title_subtitle_holder').css('height',height);
340    });
341    /*
342    * ||||||||||||||||||||||||||||||||||||||||||||||||||||||||-> SERVICES SLIDER (Shortcode)
343    */
344    // SET LEFT SIDE height of RIGHT SIDE
345    jQuery( '.right-side' ).ready(function() {
346      var right_side_height = jQuery('.right-side').height();
347      jQuery( '.left-side' ).height( right_side_height )
348    });
349    var sync1 = jQuery("#service_big_slides");
350    var sync2 = jQuery("#service_small_slides");
351   
352    jQuery(".service_small_slides_holder .fa-angle-right").click(function(){
353      sync1.trigger('owl.next');
354    })
355    jQuery(".service_small_slides_holder .fa-angle-left").click(function(){
356      sync1.trigger('owl.prev');
357    })
358    sync1.owlCarousel({
359      // mouseDrag: false,
360      center:true,
361      loop: true,
362      navigationText:  ["<",">"],
363      rewindNav: true,
364      singleItem : true,
365      slideSpeed : 1000,
366      navigation: false,
367      pagination: false,
368      afterAction : syncPosition,
369      responsiveRefreshRate : 200,
370      afterInit : function(elem){
371        this.jumpTo(1);
372      }
373    });
374   
375    sync2.owlCarousel({
376      // mouseDrag: false,
377      center:true,
378      loop: true,
379      items : 3,
380      itemsDesktop      : [1199,3],
381      itemsDesktopSmall     : [979,3],
382      itemsTablet       : [768,3],
383      itemsMobile       : [479,3],
384      pagination:false,
385      responsiveRefreshRate : 100,
386      afterInit : function(el){
387        el.find(".owl-item").eq(1).addClass("synced");
388      }
389    });
390   
391    function syncPosition(el){
392      var current = this.currentItem;
393      jQuery("#service_small_slides")
394        .find(".owl-item")
395        .removeClass("synced")
396        .eq(current)
397        .addClass("synced")
398      if(jQuery("#service_small_slides").data("owlCarousel") !== undefined){
399        center(current)
400      }
401    }
402   
403    jQuery("#service_small_slides").on("click", ".owl-item", function(e){
404      e.preventDefault();
405      var number = jQuery(this).data("owlItem");
406      sync1.trigger("owl.goTo",number);
407    });
408   
409    function center(number){
410      var sync2visible = sync2.data("owlCarousel").owl.visibleItems;
411      var num = number;
412      var found = false;
413      for(var i in sync2visible){
414        if(num === sync2visible[i]){
415          var found = true;
416        }
417      }
418   
419      if(found===false){
420        if(num>sync2visible[sync2visible.length-1]){
421          sync2.trigger("owl.goTo", num - sync2visible.length+2)
422        }else{
423          if(num - 1 === -1){
424            num = 0;
425          }
426          sync2.trigger("owl.goTo", num);
427        }
428      } else if(num === sync2visible[sync2visible.length-1]){
429        sync2.trigger("owl.goTo", sync2visible[1])
430      } else if(num === sync2visible[0]){
431        sync2.trigger("owl.goTo", num-1)
432      }
433      
434    }
435    // Tabs
436    jQuery('.naccs .menu div').click(function(){
437      var tab_id = jQuery(this).attr('data-tab');
438      jQuery('.naccs .menu div').removeClass('active');
439      jQuery('.naccs ul li').removeClass('active');
440      jQuery('.naccs .gc--1-of-3').removeClass('active');
441      jQuery('.naccs .gc--2-of-3').removeClass('active');
442      
443      jQuery(this).parent().parent().addClass('active');
444      jQuery("#"+tab_id).parent().parent().addClass('active');
445      jQuery(this).addClass('active');
446      jQuery("#"+tab_id).addClass('active');
447    })
448    //whmcs dropdown
449    jQuery('.whmcs-bridge .navbar-collapse .nav .dropdown').hover(function(e){
450      jQuery(this).find('.dropdown-menu').stop( true, false ).slideDown(300);
451      }, function(e){
452      jQuery(this).find('.dropdown-menu').stop( true, false ).slideUp(300);
453    });
454    if(jQuery("#bridge").length != 0) {
455      jQuery('body').addClass('whmcs-bridge');
456    }
457  });
458} (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.