1!function($){var $prior_appeared,selectors=[],check_binded=!1,check_lock=!1,defaults={interval:250,force_process:!1},$window=$(window);function process(){check_lock=!1;for(var index=0;index<selectors.length;index++){var $appeared=$(selectors[index]).filter(function(){return $(this).is(":appeared")});if($appeared.trigger("appear",[$appeared]),$prior_appeared){var $disappeared=$prior_appeared.not($appeared);$disappeared.trigger("disappear",[$disappeared])}$prior_appeared=$appeared}}$.expr[":"].appeared=function(element){var $element=$(element);if(!$element.is(":visible"))return!1;var window_left=$window.scrollLeft(),window_top=$window.scrollTop(),offset=$element.offset(),left=offset.left,top=offset.top;return top+$element.height()>=window_top&&top-($element.data("appear-top-offset")||0)<=window_top+$window.height()&&left+$element.width()>=window_left&&left-($element.data("appear-left-offset")||0)<=window_left+$window.width()},$.fn.extend({appear:function(options){var opts=$.extend({},defaults,options||{}),selector=this.selector||this;if(!check_binded){var on_check=function(){check_lock||(check_lock=!0,setTimeout(process,opts.interval))};$(window).scroll(on_check).resize(on_check),check_binded=!0}return opts.force_process&&setTimeout(process,opts.interval),selectors.push(selector),$(selector)}}),$.extend({force_appear:function(){return!!check_binded&&(process(),!0)}})}(jQuery), 2/*! 3 * jQuery doTimeout: Like setTimeout, but better! - v1.0 - 3/3/2010 4 * http://benalman.com/projects/jquery-dotimeout-plugin/ 5 * 6 * Copyright (c) 2010 "Cowboy" Ben Alman 7 * Dual licensed under the MIT and GPL licenses. 8 * http://benalman.com/about/license/ 9 */ 10function($){var cache={},aps=Array.prototype.slice;function p_doTimeout(jquery_data_key){var elem,that=this,data={}
10,method_base=jquery_data_key?$.fn:$,args=arguments,slice_args=4,id=args[1],delay=args[2],callback=args[3];function cleanup(){jquery_data_key?elem.removeData(jquery_data_key):id&&delete cache[id]}function actually_setTimeout(){data.id=setTimeout(function(){data.fn()},delay)}if("string"!=typeof id&&(slice_args--,id=jquery_data_key=0,delay=args[1],callback=args[2]),jquery_data_key?(elem=that.eq(0)).data(jquery_data_key,data=elem.data(jquery_data_key)||{}):id&&(data=cache[id]||(cache[id]={})),data.id&&clearTimeout(data.id),delete data.id,callback)data.fn=function(no_polling_loop){"string"==typeof callback&&(callback=method_base[callback]),!0!==callback.apply(that,aps.call(args,slice_args))||no_polling_loop?cleanup():actually_setTimeout()},actually_setTimeout();else{if(data.fn)return void 0===delay?cleanup():data.fn(!1===delay),!0;cleanup()}}$.doTimeout=function(){return p_doTimeout.apply(window,[0].concat(aps.call(arguments)))},$.fn.doTimeout=function(){var args=aps.call(arguments),result=p_doTimeout.apply(this,["doTimeout"+args[0]].concat(args));return"number"==typeof args[0]||"number"==typeof args[1]?this:result}}(jQuery),$(".animatedParent").appear(),$(".animatedClick").click(function(){var target=$(this).attr("data-target");if(null!=$(this).attr("data-sequence")){var firstId=$("."+target+":first").attr("data-id"),lastId=$("."+target+":last").attr("data-id"),number=firstId;$("."+target+"[data-id="+number+"]").hasClass("go")?($("."+target+"[data-id="+number+"]").addClass("goAway"),$("."+target+"[data-id="+number+"]").removeClass("go")):($("."+target+"[data-id="+number+"]").addClass("go"),$("."+target+"[data-id="+number+"]").removeClass("goAway")),number++,delay=Number($(this).attr("data-sequence")),$.doTimeout(delay,function(){if(console.log(lastId),$("."+target+"[data-id="+number+"]").hasClass("go")?($("."+target+"[data-id="+number+"]").addClass("goAway"),$("."+target+"[data-id="+number+"]").removeClass("go")):($("."+target+"[data-id="+number+"]").addClass("go"),$("."+target+"[data-id="+number+"]").removeClass("goAway")),++number<=lastId)return!0})}else $("."+target).hasClass("go")?($("."+target).addClass("goAway"),$("."+target).removeClass("go")):($("."+target).addClass("go"),$("."+target).removeClass("goAway"))}),$(document.body).on("appear",".animatedParent",function(e,$affected){var ele=$(this).find(".animated"),parent=$(this);if(null!=parent.attr("data-sequence")){var number=$(this).find(".animated:first").attr("data-id"),lastId=$(this).find(".animated:last").attr("data-id");$(parent).find(".animated[data-id="+number+"]").addClass("go"),number++,delay=Number(parent.attr("data-sequence")),$.doTimeout(delay,function(){if($(parent).find(".animated[data-id="+number+"]").addClass("go"),++number<=lastId)return!0})}else ele.addClass("go")}),$(document.body).on("disappear",".animatedParent",function(e,$affected){$(this).hasClass("animateOnce")||$(this).find(".animated").removeClass("go")}),$(window).on("load",function(){$.force_appear()}); 11//# sourceURL=https://304927.fs1.hubspotusercontent-na1.net/hubfs/304927/hub_generated/template_assets/1/171332925530/1790081645683/template_animation.js
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.