PageSourceSearch

https://coltsneckinsurance.com/wp-content/themes/coltsneckinsurance/scripts/global.js?ver=1.2

js coltsneckinsurance.com collected 2026-10-08 10:27:35 UTC 7,450 bytes, 90 lines download raw bytes

1/* Minified Scripts Below This line */
2
3/*
4UItoTop jQuery Plugin 1.2 by Matt Varone
5http://www.mattvarone.com/web-design/uitotop-jquery-plugin/
6*/
7jQuery.extend(jQuery.easing,{easeInQuad:function(n,e,t,a,u){return a*(e/=u)*e+t},easeOutQuad:function(n,e,t,a,u){return-a*(e/=u)*(e-2)+t},easeInOutQuad:function(n,e,t,a,u){return(e/=u/2)<1?a/2*e*e+t:-a/2*(--e*(e-2)-1)+t},easeInCubic:function(n,e,t,a,u){return a*(e/=u)*e*e+t},easeOutCubic:function(n,e,t,a,u){return a*((e=e/u-1)*e*e+1)+t},easeInOutCubic:function(n,e,t,a,u){return(e/=u/2)<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t},easeInQuart:function(n,e,t,a,u){return a*(e/=u)*e*e*e+t},easeOutQuart:function(n,e,t,a,u){return-a*((e=e/u-1)*e*e*e-1)+t},easeInOutQuart:function(n,e,t,a,u){return(e/=u/2)<1?a/2*e*e*e*e+t:-a/2*((e-=2)*e*e*e-2)+t},easeInQuint:function(n,e,t,a,u){return a*(e/=u)*e*e*e*e+t},easeOutQuint:function(n,e,t,a,u){return a*((e=e/u-1)*e*e*e*e+1)+t},easeInOutQuint:function(n,e,t,a,u){return(e/=u/2)<1?a/2*e*e*e*e*e+t:a/2*((e-=2)*e*e*e*e+2)+t},easeInSine:function(n,e,t,a,u){return-a*Math.cos(e/u*(Math.PI/2))+a+t},easeOutSine:function(n,e,t,a,u){return a*Math.sin(e/u*(Math.PI/2))+t},easeInOutSine:function(n,e,t,a,u){return-a/2*(Math.cos(Math.PI*e/u)-1)+t},easeInExpo:function(n,e,t,a,u){return 0==e?t:a*Math.pow(2,10*(e/u-1))+t},easeOutExpo:function(n,e,t,a,u){return e==u?t+a:a*(-Math.pow(2,-10*e/u)+1)+t},easeInOutExpo:function(n,e,t,a,u){return 0==e?t:e==u?t+a:(e/=u/2)<1?a/2*Math.pow(2,10*(e-1))+t:a/2*(-Math.pow(2,-10*--e)+2)+t},easeInCirc:function(n,e,t,a,u){return-a*(Math.sqrt(1-(e/=u)*e)-1)+t},easeOutCirc:function(n,e,t,a,u){return a*Math.sqrt(1-(e=e/u-1)*e)+t},easeInOutCirc:function(n,e,t,a,u){return(e/=u/2)<1?-a/2*(Math.sqrt(1-e*e)-1)+t:a/2*(Math.sqrt(1-(e-=2)*e)+1)+t},easeInElastic:function(n,e,t,a,u){var r=1.70158,i=0,o=a;if(0==e)return t;if(1==(e/=u))return t+a;if(i||(i=.3*u),o<Math.abs(a)){o=a;var r=i/4}else var r=i/(2*Math.PI)*Math.asin(a/o);return-(o*Math.pow(2,10*(e-=1))*Math.sin(2*(e*u-r)*Math.PI/i))+t},easeOutElastic:function(n,e,t,a,u){var r=1.70158,i=0,o=a;if(0==e)return t;if(1==(e/=u))return t+a;if(i||(i=.3*u),o<Math.abs(a)){o=a;var r=i/4}else var r=i/(2*Math.PI)*Math.asin(a/o);return o*Math.pow(2,-10*e)*Math.sin(2*(e*u-r)*Math.PI/i)+a+t},easeInOutElastic:function(n,e,t,a,u){var r=1.70158,i=0,o=a;if(0==e)return t;if(2==(e/=u/2))return t+a;if(i||(i=.3*u*1.5),o<Math.abs(a)){o=a;var r=i/4}else var r=i/(2*Math.PI)*Math.asin(a/o);return 1>e?-.5*o*Math.pow(2,10*(e-=1))*Math.sin(2*(e*u-r)*Math.PI/i)+t:o*Math.pow(2,-10*(e-=1))*Math.sin(2*(e*u-r)*Math.PI/i)*.5+a+t},easeInBack:function(n,e,t,a,u,r){return void 0==r&&(r=1.70158),a*(e/=u)*e*((r+1)*e-r)+t},easeOutBack:function(n,e,t,a,u,r){return void 0==r&&(r=1.70158),a*((e=e/u-1)*e*((r+1)*e+r)+1)+t},easeInOutBack:function(n,e,t,a,u,r){return void 0==r&&(r=1.70158),(e/=u/2)<1?a/2*e*e*(((r*=1.525)+1)*e-r)+t:a/2*((e-=2)*e*(((r*=1.525)+1)*e+r)+2)+t},easeInBounce:function(n,e,t,a,u){return a-jQuery.easing.easeOutBounce(n,u-e,0,a,u)+t},easeOutBounce:function(n,e,t,a,u){return(e/=u)<1/2.75?7.5625*a*e*e+t:2/2.75>e?a*(7.5625*(e-=1.5/2.75)*e+.75)+t:2.5/2.75>e?a*(7.5625*(e-=2.25/2.75)*e+.9375)+t:a*(7.5625*(e-=2.625/2.75)*e+.984375)+t},easeInOutBounce:function(n,e,t,a,u){return u/2>e?.5*jQuery.easing.easeInBounce(n,2*e,0,a,u)+t:.5*jQuery.easing.easeOutBounce(n,2*e-u,0,a,u)+.5*a+t}}),function(n){n.fn.UItoTop=function(e){var t={text:'<i class="fa fa-chevron-up"></i>',min:200,inDelay:600,outDelay:400,containerID:"toTop",containerHoverID:"toTopHover",scrollSpeed:1200,easingType:"linear"},a=n.extend(t,e),u="#"+a.containerID,r="#"+a.containerHoverID;n("body").append('<a href="#" id="'+a.containerID+'">'+a.text+"</a>"),n(u).hide().on("click.UItoTop",function(){return n("html, body").animate({scrollTop:0},a.scrollSpeed,a.easingType),n("#"+a.containerHoverID,this).stop().animate({opacity:0}
7,a.inDelay,a.easingType),!1}).prepend('<span id="'+a.containerHoverID+'"></span>').hover(function(){n(r,this).stop().animate({opacity:1},600,"linear")},function(){n(r,this).stop().animate({opacity:0},700,"linear")}),n(window).scroll(function(){var e=n(window).scrollTop();"undefined"==typeof document.body.style.maxHeight&&n(u).css({position:"absolute",top:e+n(window).height()-50}),e>a.min?n(u).fadeIn(a.inDelay):n(u).fadeOut(a.Outdelay)})}}(jQuery);
8
9/*
10Page Builder Column Height Fix
11Version: 1.0
12Developer: Jonathan Chute
13Year: 2016
14*/
15!function(i){i.fn.PageBuilderFix=function(t){function e(){n.each(function(){var t=i(this).find(".panel-grid-cell:visible"),e=0,n=i(".webcom_options").data("siteorigin_panels_settings-mobile-width");n||(n=780),t.css("min-height",""),t.find(".widget:only-child").add(t.find(".panel-widget-style")).css("height","100%"),i("body").width()>n&&t.each(function(){i(this).outerHeight(!0)>e&&(e=i(this).outerHeight(!0))}).css("min-height",e)})}var n=i(this);void 0!==n[0]&&(e(),i(window).on("load resize",e))}}(jQuery);
16
17
18
19/*
20DoubleTapGo
21By Osvaldas Valutis, www.osvaldas.info
22Available for use under the MIT License
23*/
24!function(t,n,o){t.fn.doubleTapToGo=function(){return"ontouchstart"in n||navigator.msMaxTouchPoints||navigator.userAgent.toLowerCase().match(/windows phone os 7/i)?(this.each(function(){var n=!1;t(this).on("click",function(o){var i=t(this);i[0]!=n[0]&&(o.preventDefault(),n=i)}),t(o).on("click touchstart MSPointerDown",function(o){for(var i=!0,a=t(o.target).parents(),e=0;e<a.length;e++)a[e]==n[0]&&(i=!1);i&&(n=!1)})}),this):!1}}(jQuery,window,document);
25
26
27/* jQuery Code Below Inside this function */
28jQuery(document).ready(function($) {
29    
30    $('#primary-navigation li:has(ul)').doubleTapToGo();
31    $('#primary-navigation-toggle').on('click',function(e){
32        e.preventDefault();
33        $(this).next('ul').slideToggle('fast');
34    });
35    
36    $().UItoTop({ easingType: 'easeOutQuart' });
37
38	
39    /* Additional jQuery Code Below This Line */  
40        
41    function FixCTAHeight() { 
42	if($(window).width() >= 780) {
43		$('.bubble-row').each(function() {
44			var tallest = 0;
45			$(this).find('.bubbles').css('height', 'auto');
46			$(this).find('.panel-grid-cell').each(function() {
47				if($(this).outerHeight() > tallest) tallest = $(this).outerHeight();
48			});
49			$(this).find('.bubbles').css('height', tallest);
50		});
51	}
52    else {
53        $(this).find('.bubbles').css('height', 'auto');
54    }
55} FixCTAHeight(); $(window).on("load resize", FixCTAHeight);
56     
57});
58//quote functions
59const btnAuto = document.querySelector(".btn-auto");
60const btnHome = document.querySelector(".btn-home");
61const autoQuote = document.getElementById("auto-quote");
62const homeQuote = document.getElementById("home-quote");
63const instantQuote = document.querySelector(".instant-quote");
64if(instantQuote){
65	instantQuote.addEventListener("click", function(e){
66		window.open("https://secure.consumerratequotes.com/ConsumerV2?id=62296", "_blank");
67	})
68}
69if (btnAuto) {
70btnAuto.addEventListener("click", function (e) {
71  e.preventDefault();
72  btnAuto.classList.add("current");
73  btnHome.classList.remove("current");
74  autoQuote.classList.remove("hide-quote");
75  if (!homeQuote.classList.contains("hide-quote")) {
76    homeQuote.classList.add("hide-quote");
77  }
78});
79}
80if (btnHome) {
81btnHome.addEventListener("click", function (e) {
82  e.preventDefault();
83  btnHome.classList.add("current");
84  btnAuto.classList.remove("current");
85  homeQuote.classList.remove("hide-quote");
86  if (!autoQuote.classList.contains("hide-quote")) {
87    autoQuote.classList.add("hide-quote");
88  }
89});
90}

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.