PageSourceSearch

https://siyavula.github.io/javascripts/app.min.js

js siyavula.github.io collected 2026-10-03 09:57:39 UTC 10,129 bytes, 1 lines download raw bytes

1jQuery.extend({randomColor:function(){return"#"+Math.floor(256*Math.random()*256*256).toString(16)}}),function(a){jQuery.fn.removeClass=function(b){if(b&&"function"==typeof b.test)for(var c=0;c<this.length;c++){var d=this[c];if(1===d.nodeType&&d.className){for(var e=d.className.split(/\s+/),f=0;f<e.length;f++)b.test(e[f])&&e.splice(f,1);d.className=jQuery.trim(e.join(" "))}}else a.call(this,b);return this}}(jQuery.fn.removeClass),jQuery(document).ready(function(){jQuery("html").removeClass("no-js")}),jQuery(document).foundation(),function(a){"use strict";a(document).ready(function(){if(a("video").each(function(){this.muted=!0}),a(".fadeinleft, .fadeinright, .fadein, .popin").appear(function(){var b=a(this).data("delay"),c=this;setTimeout(function(){a(c).addClass("appear")},b)}),a(window).scroll(function(){var b=a(window).scrollTop();b>=40?a("body").addClass("shrink"):a("body").removeClass("shrink")}),a(".masonry-container").length>0&&a(".masonry-container").each(function(){var b=a(this);a(b).imagesLoaded(function(){setTimeout(function(){window.msnry=new Masonry(a(b)[0],{itemSelector:".mod",gutter:30})},10)})}),a("nav.top-bar.onepage").length>0){a(".top-bar-section a[href=#top]").closest("li").addClass("active");var e,b=a("nav.top-bar.onepage"),c=59,d=!1;a(".top-bar-section a",b).click(function(e){var f;a(".top-bar-section a",b).closest("li").removeClass("active"),a(this).closest("li").addClass("active"),d=!0;try{f="#top"==a(this).attr("href")?0:a(a(this).attr("href")).offset().top-c+"px",a("html, body").stop().animate({scrollTop:f},{duration:1200,easing:"easeInOutExpo",complete:function(){d=!1}}),e.preventDefault()}catch(g){}});var f=a(".top-bar-section a",b).map(function(){var b=a(a(this).attr("href"));return b.length?b:void 0});a(window).scroll(function(){if(d)return!1;var g=a(this).scrollTop(),h=f.map(function(){return g+c+1>=a(this).offset().top?this:void 0}),i=h[h.length-1];i&&e!==i.attr("id")&&(e=i.attr("id"),a(".top-bar-section a",b).closest("li").removeClass("active"),a(".top-bar-section a[href=#"+e+"]",b).closest("li").addClass("active"))})}a("#contact_form").submit(function(b){if(b.preventDefault(),a(this).valid()){var c=a("#name").val(),d=a("#email").val(),e=a("#message").val();a("#message_result").remove(),e="Email from: "+c+" (email: "+d+")\n\nMessage:\n"+e+"\n",a.ajax({type:"POST",url:"https://mandrillapp.com/api/1.0/messages/send.json",data:{key:"eT5GtnFipJe4vXantH979Q",message:{from_email:"[email protected]",from_name:c,headers:{"Reply-To":d}
1,subject:"Query from Corporate Website",text:e,to:[{email:"[email protected]",name:"Siyavula",type:"to"}]}}}).done(function(b){a("#name").val(""),a("#email").val(""),a("#message").val(""),a("#name").before('<div id="message_result" class="success">Thanks! Your message was sent successfully. We&#39;ll get in touch with you shortly.</div')}).fail(function(b){a("#name").before('<div id="message_result" class="failure">Your message could not be sent.</div')})}})})}(jQuery),function(a){Tc.Module.BarGraph=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){var b=this.$ctx;a(".bars",b).each(function(){a("> li > .highlighted",a(this)).each(function(){a(this).appear(function(){var b=a(this).attr("data-percent");a(this).animate({width:b+"%"},1700,function(){a(this).css("overflow","visible")})})})})}})}(Tc.$),function(a){Tc.Module.BlogPost=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){var b=this.$ctx;0===b.find("img, .images").length&&b.addClass("no-media"),a(".images",b).slick({autoplay:!0,pauseOnHover:!1,dots:!0,speed:1500,arrows:!1})}})}(Tc.$),function(a){Tc.Module.BoxedSlider=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){var b=this.$ctx;a(".slides",b).slick({autoplay:!0,pauseOnHover:!1,dots:!0,speed:1500,arrows:!1})}})}(Tc.$),function(a){Tc.Module.BoxedTextSlider=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){var b=this.$ctx;a(".boxes",b).slick({slidesToShow:3,slidesToScroll:1,autoplay:!0,autoplaySpeed:3e3,pauseOnHover:!1,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:568,settings:{slidesToShow:1,slidesToScroll:1}}]})}})}(Tc.$),function(a){Tc.Module.CallToAction=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){this.$ctx}})}(Tc.$),function(a){Tc.Module.Clients=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){var b=this.$ctx,c=b.data("slides_to_show");a(".clients",b).slick({slidesToShow:c,slidesToScroll:1,autoplay:!0,autoplaySpeed:2e3,pauseOnHover:!1,responsive:[{breakpoint:767,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:2,slidesToScroll:1}}]})}})}(Tc.$),function(a){Tc.Module.DefaultSlider=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){var b=this.$ctx,c={nextButton:!0,prevButton:!0,autoPlay:!0,autoPlayDelay:3e3,pauseButton:!0,cycle:!0,animateStartingFrameIn:!0,pagination:!0,reverseAnimationsWhenNavigatingBackwards:!0,preventDelayWhenReversingAnimations:!0,fadeFrameWhenSkipped:!1,swipeEvents:{left:"next",right:"prev"},pauseOnHover:!1},d="on"==a(".sequence",b).data("autostop")?!0:!1,e=a(".sequence",b).data("timeout");"0"==e?c.autoPlay=!1:(c.autoPlay=!0,c.autoPlayDelay=parseInt(e)),d?c.autoStop=!0:c.autoStop=!1;var f=a(".sequence",b).sequence(c).data("sequence");f.beforeCurrentFrameAnimatesOut=function(){var a=this,b=function(){jQuery(".frame.static").removeClass("static"),!window.sequenceAutoStarted&&a.settings.autoPlay&&(a.startAutoPlay(a.settings.autoPlayDelay),window.sequenceAutoStarted=!0)};setTimeout(b,1e3),a.nextFrameID==a.frames.length&&c.autoStop&&a.stopAutoPlay()}}})}(Tc.$),function(a){Tc.Module.FullscreenSlider=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){var b=this.$ctx,c=function(){a(".fullscreen_slideshow",b).width(a(window).width()),b.hasClass("force")?a(".fullscreen_slideshow",b).height(a(window).height()):a(".fullscreen_slideshow",b).height(a(window).height()-a(".top-bar").height())};c(),a(window).on("resize",c);var d={nextButton:!0,prevButton:!0,autoPlay:!1,autoStop:!0,autoPlayDelay:3e3,pauseButton:!0,cycle:!0,animateStartingFrameIn:!0,pagination:!0,reverseAnimationsWhenNavigatingBackwards:!0,preventDelayWhenReversingAnimations:!0,fadeFrameWhenSkipped:!1,swipeEvents:{left:"next",right:"prev"},pauseOnHover:!1},e="on"==jQuery(".fullscreen_slideshow",b).data("autostop")?!0:!1,f=jQuery(".fullscreen_slideshow",b).data("timeout");"0"!=f&&f?(d.autoPlay=!0,d.autoPlayDelay=parseInt(f)):d.autoPlay=!1,e?d.autoStop=!0:d.autoStop=!1;var g=jQuery(".fullscreen_slideshow",b).sequence(d).data("sequence");g.beforeCurrentFrameAnimatesOut=function(){var a=this,b=function(){jQuery(".frame.static").removeClass("static"),!window.fullSequenceAutoStarted&&a.settings.autoPlay&&(a.startAutoPlay(a.settings.autoPlayDelay),window.fullSequenceAutoStarted=!0)};setTimeout(b,1e3),a.nextFrameID==a.frames.length&&d.autoStop&&a.stopAutoPlay()}}})}(Tc.$),function(a){Tc.Module.Gallery=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){var b=this.$ctx;a(".gallery-nav ul li a",b).click(function(){a(".gallery-nav ul li").removeClass("current"),a(this).closest("li").addClass("current");var b=a(this).attr("data-cat"),c=a(".gallery-nav").closest(".modGallery").find("ul.gallery");return"all"===b?a("li",c).removeClass("hidden"):a("li",c).each(function(){a(this).hasClass(b)?a(this).removeClass("hidden"):a(this).addClass("hidden")}),!1})}})}(Tc.$),function(a){Tc.Module.IconText=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){this.$ctx}})}(Tc.$),function(a){Tc.Module.MasonryGallery=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){var b=this.$ctx,c=a(".gallery li",b);c.each(function(b,c){a(this).data("masonry-id",b)});var d=new Masonry(a(".gallery")[0],{itemSelector:"li",gutter:0,isInitLayout:!1});window.msnry=d,a(".gallery",b).imagesLoaded(function(){d.layout()}),a(".gallery-nav ul li a",b).click(function(){var e;a(".gallery-nav ul li").removeClass("current"),a(this).closest("li").addClass("current");var h,f=a(this).attr("data-cat"),g=a(".gallery-nav").closest(".mod").find("ul.gallery");return"all"===f?(h=a(".gallery li",b),e=[],a(c).each(function(){var c=this,d=!1;h.each(function(){a(c).data("masonry-id")==a(this).data("masonry-id")&&(d=!0)}),d||(a(".gallery",b)[0].appendChild(a(this)[0]),e.push(a(this)[0]))}),d.prepended(e)):(a("li",g).each(function(){a(this).hasClass(f)||d.remove(a(this))}),h=a(".gallery li",b),e=[],a(c).each(function(){var c=this,d=!1;h.each(function(){a(c).data("masonry-id")==a(this).data("masonry-id")&&(d=!0)}),a(this).hasClass(f)&&!d&&(a(".gallery",b)[0].appendChild(a(this)[0]),e.push(a(this)[0]))}),d.appended(e)),d.layout(),!1})}})}(Tc.$),function(a){Tc.Module.Milestone=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){var b=this.$ctx;
1b.appear(function(){a("strong",b).countTo({speed:1400})})}})}(Tc.$),function(a){Tc.Module.PriceBox=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){this.$ctx}})}(Tc.$),function(a){Tc.Module.SectionHeader=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){this.$ctx}})}(Tc.$),function(a){Tc.Module.TeamMember=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){this.$ctx}})}(Tc.$),function(a){Tc.Module.Testimonials=Tc.Module.extend({init:function(a,b,c){this._super(a,b,c)},dependencies:function(){},onBinding:function(){var b=this.$ctx,c=!0;b.hasClass("simple")&&(c=!1),a(".items",b).slick({autoplay:!0,pauseOnHover:!1,dots:c,speed:1500,arrows:!1})}})}(Tc.$);

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.