PageSourceSearch

https://getsouldeep.com/wp-content/themes/musicplay/js/sys_custom.js

js getsouldeep.com collected 2026-10-10 01:07:33 UTC 24,455 bytes, 701 lines download raw bytes

1// Preloadify jQuery
2jQuery(function(){jQuery.fn.preloadify=function(e){e=jQuery.extend({delay:0,imagedelay:0,mode:"parallel",preload_parent:"a",check_timer:200,ondone:function(){},oneachload:function(e){},fadein:700,force_icon:!1},e);var a,i=jQuery(this),r=0,l=e.imagedelay,n=0,o=i.find("img").css({display:"block",visibility:"hidden",opacity:0}),t=[],c=function(a,i){jQuery(a).css("visibility","visible").delay(i).animate({opacity:1},e.fadein,function(){jQuery(this).parent().removeClass("preloader")})};function d(a){0==t[a]&&(n++,e.oneachload(o[a]),t[a]=!0),0==e.imagedelay&&0==e.delay?jQuery(o[a]).css("visibility","visible").animate({opacity:1},700):0==e.delay?(c(o[a],l),l+=e.imagedelay):0==e.imagedelay?c(o[a],e.delay):(c(o[a],e.delay+l),l+=e.imagedelay)}function y(){a=setInterval(function(){if(n>=t.length)for(clearInterval(a),e.ondone(),r=0;r<o.length;r++)jQuery(o[r]).parent().hasClass("preloader")&&(jQuery(o[r]).css({visibility:"visible",opacity:1}),jQuery(o[r]).parent().removeClass("preloader"));else"parallel"==e.mode?function(){for(r=0;r<o.length;r++)1==o[r].complete&&d(r)}():1==o[r].complete&&(d(r),r++)},e.check_timer)}if(o.each(function(){0==jQuery(this).parent(e.preload_parent).length?jQuery(this).wrap("<a class='preloader' />"):jQuery(this).parent().addClass("preloader"),t[r++]=!1}),o=jQuery.makeArray(o),n=0,r=0,l=e.imagedelay,1==e.force_icon){var s=jQuery(".preloader").css("background-image");s=s.replace(/url\(|\)|"|'/g,"");var u=jQuery("<img />",{id:"loadingicon",src:s}).hide().appendTo("body");a=setInterval(function(){if(1==u[0].complete)return clearInterval(a),setTimeout(function(){y()},e.check_timer),void u.remove()},50)}else y()}});
3
4//
5(function ($) {
6    atpcustom = {
7        atpinit: function () {
8
9            /* ------------------------------------- */
10            $(".minithumb, .grid, .gallery-item, .postimg, .port_img, .bio, .mejs-video, .mejs-overlay-play").preloadify({
11                force_icon: "true",
12                mode: "sequence"
13            });
14
15            /* ------------------------------------- */
16            $("a[data-rel^='prettyPhoto']").prettyPhoto({
17                theme: 'pp_default',
18 				social_tools: false,
19				 deeplinking : false
20            });
21
22			jQuery('li span.lyrics').click(function () {
23        		jQuery(this).closest('.mp3options').next('div').slideToggle();
24        		jQuery(this).parent().parent().siblings().children().next().next('.lyricdesc').slideUp();
25        		return false;
26   			});
27
28            /* ------------------------------------- */
29            $('.atpsocials li').hover(function () {
30                $(this).find('span.ttip').fadeIn();
31            }, function () {
32                $(this).find('span.ttip').fadeOut();
33            });
34
35             /* ------------------------------------- */
36            $("span.close").click(function () {
37                $(this).parent().hide();
38                $(this).parent().animate({
39                    opacity: '0'
40                }).slideUp(400);
41            });
42
43			jQuery(".track-select").click(function () {
44				jQuery('ul').children().removeClass('selected');
45				jQuery(this).closest('li').addClass('selected');
46			});
47
48			jQuery(".tracklist-details .fap-single-track").click(function () {
49					jQuery('.tracklist-details').children().removeClass('selected');
50					jQuery(this).closest('div').addClass('selected');
51
52				});
53				if(  iva_panel.ajaxify == 'enabled' ) {
54					choose_player = aws_data['choose_player'];
55					if ( choose_player !== 'radio') {
56						jQuery('.fap-single-track').on('click',function(){
57							jQuery.fullwidthAudioPlayer.setPlayerPosition('open', true );
58						});
59					}
60				}
61			/* --------------Hover Socialicons----------------------- */
62			$('.album-playlist li').hover(function () {
63				$(this).find('span.ttip').fadeIn();
64			}, function () {
65				$(this).find('span.ttip').fadeOut();
66			});
67			/* ------------------------------------- */
68			$('.video-frame,.boxcontent,.video-stage,.video').fitVids();
69			/* ------------------------------------- */
70
71			// fade in #back-top
72			$(function () {
73
74			if(window.innerWidth >= 1024){
75				$(window).scroll(function () {
76					if ($(this).scrollTop() > 100) {
77						$('#back-top').fadeIn();
78					} else {
79						$('#back-top').fadeOut();
80					}
81				});
82
83				// scroll body to 0px on click
84				$('#back-top a').click(function () {
85					$('body,html').animate({
86						scrollTop: 0
87					}, 800);
88
89				   return false;
90				});
91			}
92			});
93
94
95		  jQuery('ul.fap-my-playlist li > a').click(function(){
96           	$(this).parent().addClass("selected").siblings().removeClass("selected");
97 		   });
98
99
100			//  Like post
101
102			jQuery('.PostLike').on('click',function(e){
103
104			e.preventDefault();
105			var task = jQuery(this).attr("data-action");
106			var post_id = jQuery(this).attr("data-id");
107
108				jQuery.ajax({
109					type : "post",
110					dataType : "html",
111					url: iva_panel.ajaxurl,
112					data : {action: "iva_like_post_process_vote", task : task, post_id : post_id},
113					success: function(response) {
114					jQuery('.iva_like_post .likes_count'+post_id).html(response);
115					}
116
117				});
118
119		});
120
121		// Tracks Likes
122		jQuery('.track_like').on('click',function(e){
123			e.preventDefault();
124			var task = jQuery(this).children().next().attr("data-action");
125			var track_id = jQuery(this).children().next().attr("data-id");
126
127			jQuery.ajax({
128				type : "post",
129				dataType : "html",
130				url: iva_panel.ajaxurl,
131				data : {action: "iva_track_like", task : task, track_id : track_id},
132				success: function(response) {
133					jQuery('span.likes_count-'+track_id).html(response);
134				}
135
136			});
137
138		});
139
140		jQuery( ".iva_music_download,.music_download" ).click(function() {
141			var iva_file 	= jQuery(this).attr("data-download");
142			var iva_id 		= jQuery(this).attr("data-id");
143			var dcount 		= jQuery('.iva_dcount',this);
144			dcount.text( parseInt( dcount.text())+1);
145			var download_count = dcount.text();
146
147			jQuery.post(
148				atp_panel.SiteUrl+"/musicband/music_download.php",
149				{
150				type:iva_file,
151				},
152				function(response) {
153					window.location	= atp_panel.SiteUrl+"/musicband/music_download.php?type="+ iva_file + "&iva_id="+ iva_id + "&dcount=" + download_count + "";
154				}
155			);
156		});
157
158
159		jQuery( ".fap-download-album" ).click(function() {
160		   var albumid = jQuery(this).attr("data-albumid");
161		   jQuery.post(
162		    atp_panel.SiteUrl+"/musicband/music_all_download.php",
163		    {
164		     albumid:albumid,
165		    },
166		    function(response) {
167		       window.location = atp_panel.SiteUrl+"/musicband/music_all_download.php?albumid="+albumid+"";
168		    }
169		   );
170		});
171
172		// track hit count
173			jQuery('a.fap-single-track').on('click',function(e){
174
175 				if(jQuery(this).hasClass('trackcount')){
176					   e.preventDefault();
177					}else{
178						var trackid=jQuery(this);
179						var attach_id = trackid.attr("data-id");
180
181						jQuery.ajax({
182							type : "post",
183							dataType : "html",
184							url: iva_panel.ajaxurl,
185							data : {action: "iva_track_count", attach_id : attach_id},
186							success: function(response) {
187								jQuery('span.ivaplay-'+attach_id).html(response);
188
189							}
190
191						});
192				}
193
194				jQuery(this).addClass('trackcount');
195			});
196
197        },
198/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
199	Testimonials Slider
200-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
201        MySlider: function (interval, id) {
202            var slides;
203            var cnt;
204            var amount;
205            var i;
206
207            function run() {
208                // hiding previous image and showing next
209                $(slides[i]).fadeOut('slow', function () {
210                    // Animation complete.
211                    i++;
212                    if (i >= amount) i = 0;
213                    $(slides[i]).fadeIn('slow');
214
215                    // updating counter
216                    cnt.text(i + 1 + ' / ' + amount);
217                });
218
219
220                // loop
221                setTimeout(run, interval);
222            }
223
224            //slides = $('.testimonials > li');
225            slides = jQuery('#' + id + ' .testimonials > li');
226            cnt = $('#counter');
227            amount = slides.length;
228            i = 0;
229
230            // updating counter
231            cnt.text(i + 1 + ' / ' + amount);
232
233            if (amount > 1) setTimeout(run, interval);
234        },
235
236/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
237	T O G G L E S
238-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
239
240/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
241	Accordion
242-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
243        accordion: function () {
244            jQuery('.ac_wrap').each(function () {
245                tabid = jQuery(this).attr('id');
246                //jQuery("#" + tabid + " .ac_title:eq(1)").addClass("active");
247                jQuery("#" + tabid + " .ac_content:not('.active')").hide();
248            });
249
250            jQuery(".ac_wrap .ac_title").click(function () {
251                jQuery(this).next(".ac_content").slideToggle(400, 'swing').siblings(".ac_content:visible").slideUp(400, 'swing');
252                jQuery(this).toggleClass("active");
253                jQuery(this).siblings(".ac_title").removeClass("active");
254            });
255        },
256
257/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
258	B U T T O N   D A T A   A T T R I B U T E S
259 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
260        buttondata: function () {
261            jQuery(".btn").hover(function () {
262                var $hoverBg = jQuery(this).attr('btn-hoverBg');
263                var $hoverColor = jQuery(this).attr('btn-hoverColor');
264
265                if ($hoverBg != undefined) {
266                    jQuery(this).css('background-color', $hoverBg);
267                } else {}
268                if ($hoverColor != undefined) {
269                    jQuery('span', this).css('color', $hoverColor);
270                } else {}
271            }, function () {
272                var $btncolor = jQuery(this).attr('btn-color');
273                var $btnbg = jQuery(this).attr('btn-bg');
274                if ($btnbg != undefined) {
275                }
276                if ($btncolor != undefined) {
277                    jQuery('span', this).css('color', $btncolor);
278                }
279                    jQuery(this).css('background-color', $btnbg);
280            });
281        },
282/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
283	Tabs
284-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
285        tabs: function () {
286            jQuery('.systabspane ').each(function () {
287                tabid = jQuery(this).attr('id');
288
289                jQuery("#" + tabid + " .tab_content").hide(); // Hide all tab conten divs by default
290                jQuery("#" + tabid + " .tab_content:first").show(); // Show the first div of tab content by default
291                jQuery("#" + tabid + " ul.tabs li:first").addClass("current"); // Show the current by default
292            });
293            jQuery("ul.tabs li").click(function () { //Fire the click event
294                tab_id = jQuery(this).parents('.systabspane').attr("id");
295                var activeTab = jQuery(this).attr("id"); // Catch the click link
296                jQuery("#" + tab_id + " ul li").removeClass("current"); // Remove pre-highlighted link
297                jQuery(this).addClass("current"); // set clicked link to highlight state
298                jQuery("#" + tab_id + " .tab_content").hide(); // hide currently visible tab content div
299                jQuery(activeTab).fadeIn(600); // show the target tab content div by matching clicked link.
300            });
301        },
302/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
303	P R O G R E S S B A R
304-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
305        progressbar: function () {
306            jQuery('.progress_bar').each(function () {
307                var percent = jQuery(this).attr('data_width');
308                jQuery(this).animate({
309                    width: percent
310                }, 1500);
311            });
312        },
313
314/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
315	H O V E R  I M A G E
316-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
317    hoverimage: function () {
318		jQuery('.hover_type').animate({opacity: 0});
319
320		jQuery(".port_img, .sort_img").hover(function() {
321			jQuery(this).find('.hover_type').css({display:'block'}).animate({
322				opacity: 1,
323				bottom: (jQuery('.port_img, .sort_img').height())/2 - 20+'px'}, 200, 'swing');
324
325			jQuery(this).find('img').fadeTo(300,0.4);
326
327		},function() {
328			jQuery(this).find('.hover_type').animate({
329				opacity: 0,
330				bottom: '100%'}, 200, 'swing', function() {
331				jQuery(this).css({'bottom':'0'});
332			});
333			jQuery(this).find('img').fadeTo(300,1);
334		});
335	},
336
337/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
338	Mobile Menu
339-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
340        mobilemenu: function () {
341
342	         // show meun starting from iPad Portrait
343			if( window.innerWidth < 768 ){
344				jQuery('.header #menuwrap').hide();
345			}else {
346				jQuery('.header #menuwrap').show();
347				jQuery('.iva-mobile-menu').hide();
348			}
349        },
350	/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
351		F L E X S L I D E R
352	-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
353		flexslider:function() {
354			if ( $.isFunction($.fn.flexslider) ) {
355				if(typeof flexslider_args != "undefined") {
356					var slider_navigation = flexslider_args.slidednav == 'true' ? true : false;
357					jQuery(".flexslider").flexslider({
358						animation: flexslider_args.slideeffect,
359						controlsContainer: ".flex-container",
360						slideshow: false,
361						slideshowSpeed:flexslider_args.slidespeed,
362						animationSpeed: 1200,
363						directionNav: slider_navigation,
364						controlNav: false,
365						mousewheel: false,
366						smoothHeight: false,
367					    prevText: " ",           //String: Set the text for the "previous" directionNav item
368					    nextText: " ",               //String: Set the text for the "next" directionNav item
369						start: function(slider) {
370							jQuery(".total-slides").text(slider.count);
371						},
372						after: function(slider) {
373							jQuery(".current-slide").text(slider.currentSlide);
374						}
375					});
376				}
377			}
378		},
379		/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
380			P A R T I A L   S E C T I O N
381		-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
382    	partial_section_resize: function () {
383			var ps_imgsrc = jQuery('.partial-image img').attr('src');
384			if( jQuery( window ).width() > 768 ) {
385				jQuery('.partial-image').css('background-image', 'url(' + ps_imgsrc + ')').addClass('partial-image-props');
386				jQuery('.partial-image img').hide();
387			} else {
388				jQuery('.partial-image img').show();
389			}
390		}
391    };
392
393})(jQuery);
394
395	/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
396		Waypoint jQuery
397	-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
398	jQuery(document).ready(function ($) {
399		jQuery('.iva_anim').waypoint(function (event) {
400			jQuery(this).each(function (index) {
401				var jQuerythis = jQuery(this);
402				var animatedclass = jQuery(this).attr('data-id');
403				if (typeof animatedclass !== 'undefined' && animatedclass !== false) {
404					jQuerythis.delay(0 * (index + 1)).queue(function () {
405						jQuerythis.addClass('animated  ' + animatedclass + '');
406					});
407				}
408			});
409		});
410	});
411
412	/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
413		Fixed Header Effect
414	-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
415
416	jQuery(window).scroll(function () {
417		 var sc = jQuery(window).scrollTop();
418		if (sc > 75) {
419			jQuery(".fixed-header").addClass("scroll");
420		} else {
421			jQuery(".fixed-header").removeClass("scroll");
422		}
423	});
424
425	jQuery(document).ready(function ($) {
426		 $("#trigger").click(function () {
427                $(this).next("#sticky").slideToggle({
428                    duration: 300,
429                    easing: 'easeOutQuart'
430                });
431            });
432            
433
434
435        $(document).on('click', '.toggle-title', function() {
436           //  var tid=jQuery(this).attr('id');
437
438           jQuery(this).next(" .toggle_content").slideToggle({
439              duration: 200
440           });
441
442			jQuery(this).toggleClass('active');
443
444           return false;
445        });
446		jQuery("#atp_menu").superfish({
447			cssArrows: false	// cssArrows
448			});
449		atpcustom.atpinit();
450		atpcustom.buttondata();
451		atpcustom.flexslider();
452		atpcustom.accordion();
453		atpcustom.progressbar();
454		atpcustom.tabs();
455		atpcustom.hoverimage();
456		atpcustom.partial_section_resize();
457
458		atpcustom.mobilemenu();
459		jQuery(window).resize(function () {
460			atpcustom.mobilemenu();
461			atpcustom.partial_section_resize();
462
463			jQuery('.iva_mmenu .menu-item').click(function () {
464
465			jQuery(".iva-mobile-menu").css('display', 'none');
466
467			});
468		});
469
470		jQuery('.iva-mobile-dropdown').click(function(){
471			jQuery(this).toggleClass('open');
472			jQuery('.iva-mobile-menu').slideToggle(500);
473			 return false;
474		});
475
476		// Child Menu Toggle
477		jQuery('.iva-children-indenter').click(function(){
478			jQuery(this).parent().parent().toggleClass('iva-menu-open');
479			jQuery(this).parent().parent().find('> ul').slideToggle();
480			jQuery(this).parent().parent().siblings('li').removeClass('iva-menu-open');
481			jQuery(this).parent().parent().siblings('li').find('> ul').hide();
482			return false;
483		});
484		jQuery('.iva_mmenu .menu-item').click(function () {
485
486			jQuery(".iva-mobile-menu").css('display', 'none');
487
488		});
489		// Mobile  Footer Margin
490		var isMobile_class = jQuery(document.body).hasClass('iva_mobile');
491
492		if( isMobile_class ) {
493			jQuery('#footer').css({'margin':'0'});
494			jQuery('#back-top').hide();
495		}
496
497
498		// Radio Player Position top Switcher
499		jQuery(".jp-radio-top .jp-close-btn").toggle(function () {
500			var rado_topbar = 0;
501			if( jQuery('body').hasClass('admin-bar')){  var rado_topbar = -48 };
502                jQuery(this).parents(".jp-radio").animate({top: rado_topbar } ,300);
503            },function () {
504				var rado_topbar = -50;
505				if( jQuery('body').hasClass('admin-bar')){  var rado_topbar = 32 };
506			jQuery(this).parents(".jp-radio").animate({ top:rado_topbar } ,300);
507		});
508		// Radio Player Switcher
509		jQuery(".jp-close-btn").toggle(function () {
510                jQuery(this).parents(".jp-radio").animate({bottom: -50} ,300);
511            },function () {
512			jQuery(this).parents(".jp-radio").animate({bottom: 0} ,300);
513		});
514
515	});
516/*global jQuery */
517/*jshint multistr:true browser:true */
518/*!
519* FitVids 1.0
520*
521* Copyright 2011, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
522* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
523* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
524*
525* Date: Thu Sept 01 18:00:00 2011 -0500
526*/
527
528(function( $ ){
529
530  "use strict";
531
532  $.fn.fitVids = function( options ) {
533    var settings = {
534      customSelector: null
535    };
536
537    var div = document.createElement('div'),
538        ref = document.getElementsByTagName('base')[0] || document.getElementsByTagName('script')[0];
539
540    div.className = 'fit-vids-style';
541    div.innerHTML = '&shy;<style>         \
542      .fluid-width-video-wrapper {        \
543         width: 100%;                     \
544         position: relative;              \
545         padding: 0;                      \
546      }                                   \
547                                          \
548      .fluid-width-video-wrapper iframe,  \
549      .fluid-width-video-wrapper object,  \
550      .fluid-width-video-wrapper embed {  \
551         position: absolute;              \
552         top: 0;                          \
553         left: 0;                         \
554         width: 100%;                     \
555         height: 100%;                    \
556      }                                   \
557    </style>';
558
559    ref.parentNode.insertBefore(div,ref);
560
561    if ( options ) {
562      $.extend( settings, options );
563    }
564
565    return this.each(function(){
566      var selectors = [
567        "iframe[src*='player.vimeo.com']",
568        "iframe[src*='www.youtube.com']",
569        "iframe[src*='www.youtube-nocookie.com']",
570        "iframe[src*='www.kickstarter.com']",
571        "object",
572        "embed"
573      ];
574
575      if (settings.customSelector) {
576        selectors.push(settings.customSelector);
577      }
578
579      var $allVideos = $(this).find(selectors.join(','));
580
581      $allVideos.each(function(){
582        var $this = $(this);
583        if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }
584        var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),
585            width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),
586            aspectRatio = height / width;
587        if(!$this.attr('id')){
588          var videoID = 'fitvid' + Math.floor(Math.random()*999999);
589          $this.attr('id', videoID);
590        }
591        $this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+"%");
592        $this.removeAttr('height').removeAttr('width');
593      });
594    });
595  };
596})( jQuery );
597
598/*!
599 * classie - class helper functions
600 * from bonzo https://github.com/ded/bonzo
601 *
602 * classie.has( elem, 'my-class' ) -> true/false
603 * classie.add( elem, 'my-new-class' )
604 * classie.remove( elem, 'my-unwanted-class' )
605 * classie.toggle( elem, 'my-class' )
606 */
607
608/*jshint browser: true, strict: true, undef: true */
609/*global define: false */
610
611(function (window) {
612
613    'use strict';
614    // class helper functions from bonzo https://github.com/ded/bonzo
615    function classReg(className) {
616        return new RegExp("(^|\\s+)" + className + "(\\s+|$)");
617    }
618
619    // classList support for class management
620    // altho to be fair, the api sucks because it won't accept multiple classes at once
621    var hasClass, addClass, removeClass;
622
623    if ('classList' in document.documentElement) {
624        hasClass = function (elem, c) {
625            return elem.classList.contains(c);
626        };
627        addClass = function (elem, c) {
628            elem.classList.add(c);
629        };
630        removeClass = function (elem, c) {
631            elem.classList.remove(c);
632        };
633    } else {
634        hasClass = function (elem, c) {
635            return classReg(c).test(elem.className);
636        };
637        addClass = function (elem, c) {
638            if (!hasClass(elem, c)) {
639                elem.className = elem.className + ' ' + c;
640            }
641        };
642        removeClass = function (elem, c) {
643            elem.className = elem.className.replace(classReg(c), ' ');
644        };
645    }
646
647    function toggleClass(elem, c) {
648        var fn = hasClass(elem, c) ? removeClass : addClass;
649        fn(elem, c);
650    }
651
652    var classie = {
653        // full names
654        hasClass: hasClass,
655        addClass: addClass,
656        removeClass: removeClass,
657        toggleClass: toggleClass,
658        // short names
659        has: hasClass,
660        add: addClass,
661        remove: removeClass,
662        toggle: toggleClass
663    };
664
665    // transport
666    if (typeof define === 'function' && define.amd) {
667        // AMD
668        define(classie);
669    } else {
670        // browser global
671        window.classie = classie;
672    }
673
674})(window);
675
676    function systoggle() {
677
678        jQuery(".toggle-title").toggle(function () {
679            jQuery(this).addClass("active");
680        }, function () {
681            jQuery(this).removeClass("active");
682        });
683
684
685		// Radio Player Switcher
686		jQuery(".jp-close-btn").toggle(function () {
687            jQuery(this).parents(".jp-radio").animate({bottom: -80} ,300);
688        },function () {
689			jQuery(this).parents(".jp-radio").animate({bottom: 0} ,300);
690		});
691
692		jQuery('li span.lyrics').click(function () {
693    		jQuery(this).closest('.mp3options').next('div').slideToggle();
694    		jQuery(this).parent().parent().siblings().children().next().next('.lyricdesc').slideUp();
695    		return false;
696		});
697
698    }
699jQuery(window).on('load',function() {
700	jQuery('.iva_page_loader').fadeOut(600);
701});

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.