PageSourceSearch

https://www.psbatt.com/AMBIANCE_F7L9R6ZMCC_concessionSkoda-grid/template/js/template.min.js

js psbatt.com collected 2026-09-26 18:50:13 UTC 9,988 bytes, 1 lines download raw bytes

1$.fn.easeScroll=function(e){!function(){function t(){m.keyboardSupport&&l("keydown",n)}function a(){if(document.body){var e=document.body,a=document.documentElement,o=window.innerHeight,n=e.scrollHeight;if(x=document.compatMode.indexOf("CSS")>=0?a:e,p=e,t(),b=!0,top!=self)w=!0;else if(n>o&&(e.offsetHeight<=o||a.offsetHeight<=o)){var r=!1;if(a.style.height="auto",setTimeout(function(){r||a.scrollHeight==document.height||(r=!0,setTimeout(function(){a.style.height=document.height+"px",r=!1},100))},10),x.offsetHeight<=o){var i=document.createElement("div");i.style.clear="both",e.appendChild(i)}}m.fixedBackground||g||(e.style.backgroundAttachment="scroll",a.style.backgroundAttachment="scroll")}}function o(e,t,a,o){if(o||(o=1e3),function(e,t){e=e>0?1:-1,t=t>0?1:-1,(v.x!==e||v.y!==t)&&(v.x=e,v.y=t,S=[],T=0)}(t,a),1!=m.accelerationMax){var n=+new Date-T;if(n<m.accelerationDelta){var r=(1+30/n)/2;r>1&&(r=Math.min(r,m.accelerationMax),t*=r,a*=r)}T=+new Date}if(S.push({x:t,y:a,lastX:0>t?.99:-.99,lastY:0>a?.99:-.99,start:+new Date}),!C){var i=e===document.body,l=function(){for(var n=+new Date,r=0,c=0,s=0;s<S.length;s++){var u=S[s],p=n-u.start,h=p>=m.animationTime,f=h?1:p/m.animationTime;m.pulseAlgorithm&&(f=d(f));var g=u.x*f-u.lastX>>0,w=u.y*f-u.lastY>>0;r+=g,c+=w,u.lastX+=g,u.lastY+=w,h&&(S.splice(s,1),s--)}i?window.scrollBy(r,c):(r&&(e.scrollLeft+=r),c&&(e.scrollTop+=c)),t||a||(S=[]),S.length?A(l,e,o/m.frameRate+1):C=!1};A(l,e,0),C=!0}}function n(e){var t=e.target,a=e.ctrlKey||e.altKey||e.metaKey||e.shiftKey&&e.keyCode!==k.spacebar;if(/input|textarea|select|embed/i.test(t.nodeName)||t.isContentEditable||e.defaultPrevented||a)return!0;if(c(t,"button")&&e.keyCode===k.spacebar)return!0;var n=0,r=0,l=i(p),s=l.clientHeight;switch(l==document.body&&(s=window.innerHeight),e.keyCode){case k.up:r=-m.arrowScroll;break;case k.down:r=m.arrowScroll;break;case k.spacebar:r=-(e.shiftKey?1:-1)*s*.9;break;case k.pageup:r=.9*-s;break;case k.pagedown:r=.9*s;break;case k.home:r=-l.scrollTop;break;case k.end:var u=l.scrollHeight-l.scrollTop-s;r=u>0?u+10:0;break;case k.left:n=-m.arrowScroll;break;case k.right:n=m.arrowScroll;break;default:return!0}o(l,n,r),e.preventDefault()}function r(e,t){for(var a=e.length;a--;)H[z(e[a])]=t;return t}function i(e){var t=[],a=x.scrollHeight;do{var o=H[z(e)];if(o)return r(t,o);if(t.push(e),a===e.scrollHeight){if(!w||x.clientHeight+10<a)return r(t,document.body)}else if(e.clientHeight+10<e.scrollHeight&&(overflow=getComputedStyle(e,"").getPropertyValue("overflow-y"),"scroll"===overflow||"auto"===overflow))return r(t,e)}while(e=e.parentNode)}function l(e,t,a){window.addEventListener(e,t,a||!1)}function c(e,t){return(e.nodeName||"").toLowerCase()===t.toLowerCase()}function s(e,t){return Math.floor(e/t)==e/t}function u(e){var t,a;return 1>(e*=m.pulseScale)?t=e-(1-Math.exp(-e)):(e-=1,t=(a=Math.exp(-1))+(1-Math.exp(-e))*(1-a)),t*m.pulseNormalize}function d(e){return e>=1?1:0>=e?0:(1==m.pulseNormalize&&(m.pulseNormalize/=u(1)),u(e))}var p,h=$.extend({frameRate:60,animationTime:1e3,stepSize:120,pulseAlgorithm:!0,pulseScale:8,pulseNormalize:1,accelerationDelta:20,accelerationMax:1,keyboardSupport:!0,arrowScroll:50,touchpadSupport:!0,fixedBackground:!0},e),f={frameRate:h.frameRate,animationTime:h.animationTime,stepSize:h.stepSize,pulseAlgorithm:h.pulseAlgorithm,pulseScale:h.pulseScale,pulseNormalize:h.pulseNormalize,accelerationDelta:h.accelerationDelta,accelerationMax:h.accelerationMax,keyboardSupport:h.keyboardSupport,arrowScroll:h.arrowScroll,touchpadSupport:h.touchpadSupport,fixedBackground:h.fixedBackground,excluded:""},m=f,g=!1,w=!1,v={x:0,y:0},b=!1,x=document.documentElement,y=[120,120,120],k={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36},S=(m=f,[]),C=!1,T=+new Date,H={};setInterval(function(){H={}},1e4);var M=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){M=!0}}))}catch(e){}var D,z=function(){var e=0;return function(t){return t.uniqueID||(t.uniqueID=e++)}}(),A=window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(e,t,a){window.setTimeout(e,a||1e3/60)},q=/chrome|iPad/i.test(window.navigator.userAgent);
1"onmousewheel"in document&&q&&(l("mousedown",function(e){p=e.target}),l("mousewheel",function(e){b||a();var t=e.target,n=i(t);if(!n||e.defaultPrevented||c(p,"embed")||c(t,"embed")&&/\.pdf/i.test(t.src))return!0;var r=e.wheelDeltaX||0,l=e.wheelDeltaY||0;return r||l||(l=e.wheelDelta||0),!(m.touchpadSupport||!function(e){if(e){e=Math.abs(e),y.push(e),y.shift(),clearTimeout(D);var t=y[0]==y[1]&&y[1]==y[2],a=s(y[0],120)&&s(y[1],120)&&s(y[2],120);return!(t||a)}}(l))||(Math.abs(r)>1.2&&(r*=m.stepSize/120),Math.abs(l)>1.2&&(l*=m.stepSize/120),o(n,-r,-l),void e.preventDefault())},!!M&&{passive:!1}),l("load",a))}()},-1!==navigator.userAgent.indexOf("MSIE")||navigator.appVersion.indexOf("Trident/")>-1||window.matchMedia("(min-width: 1026px)").matches&&$("html").easeScroll(),function(){window.addEventListener("scroll",function(e){var t,a,o,n,r,i;for(r=this.pageYOffset,t=0,n=(o=document.querySelectorAll('[data-type="parallax"]')).length;t<n;t++)i="translate3d(0, "+-r*(a=o[t]).getAttribute("data-depth")+"px, 0)",a.style["-webkit-transform"]=i,a.style["-moz-transform"]=i,a.style["-ms-transform"]=i,a.style["-o-transform"]=i,a.style.transform=i})}
1.call(this),function(){var e=$("body"),t=$("#elements-parallax");e.length&&t.length&&t.detach().prependTo(e)}.call(this),function(e){var t=e(window),a=t.height();t.resize(function(){a=t.height()}),e.fn.parallax=function(o,n,r,i){var l,c,s=e(this);function u(){var r=t.scrollTop();s.each(function(){var u=e(this),d=u.offset().top,p="";if(!(d+l(u)<r||d>r+a)){if(1==i)p="0 0, ";t.width()>1008?s.css("backgroundPosition",p+o+" "+Math.round((c-r)*n-100)+"px"):s.css("backgroundPosition",p+o+" 0px")}})}s.each(function(){c=s.offset().top}),l=r?function(e){return e.outerHeight(!0)}:function(e){return e.height()},(arguments.length<1||null===o)&&(o="50%"),(arguments.length<2||null===n)&&(n=.1),(arguments.length<3||null===r)&&(r=!0),(arguments.length<3||null===i)&&(i=!1),t.bind("scroll",u).resize(u),u()}}(jQuery),-1!==navigator.userAgent.indexOf("MSIE")||navigator.appVersion.indexOf("Trident/")>-1?$(".section-background-image").addClass("no-parallax"):window.matchMedia("(min-width: 1026px)").matches&&($(".section-ideal-cta").parallax("50%",.1),$(".section-ideal-quote").parallax("50%",.1),$(".section-ideal-partners").parallax("50%",.1),$(".section-ideal-labels").parallax("50%",.1),$(".section-ideal-team").parallax("50%",.1),$(".section-ideal-achievements").parallax("50%",.1),$(".section-ideal-video").parallax("50%",.1),$(".section-ideal-benefits").parallax("50%",.1),$(".section-ideal-benefitsForm").parallax("50%",.1),$(".section-ideal-bottomForm").parallax("50%",.1),$(".section-ideal-formSticky").parallax("50%",.1),$(".sectionideal2-intro.section-background-image:not(.no-parallax)").parallax("50%",.1,!0,!0),$(".sectionideal2-quote.section-background-image:not(.no-parallax)").parallax("50%",.1,!0,!0),$(".sectionideal2-cta.section-background-image:not(.no-parallax)").parallax("50%",.1,!0,!0),$(".sectionideal2-paragraph.section-background-image:not(.alt):not(.no-parallax)").parallax("50%",.1,!0,!0),$(".sectionideal2-paragraph.alt.section-background-image:not(.no-parallax)").parallax("50%",.1,!0,!0),$(".sectionideal2-benefits.section-background-image:not(.no-parallax)").parallax("50%",.1,!0,!0),$(".sectionideal2-form.section-background-image:not(.no-parallax)").parallax("50%",.1,!0,!0),$(".sectionideal2-benefitsForm.section-background-image:not(.no-parallax)").parallax("50%",.1,!0,!0),$(".sectionideal2-formSticky.section-background-image:not(.no-parallax)").parallax("50%",.1,!0,!0)),$.fn.isInViewport=function(){var e=$
1(this).offset().top,t=e+$(this).outerHeight(),a=$(window).scrollTop(),o=a+$(window).height();return t>a&&e<o};var animation_elements=$("main [class^=block-]:not(.block-title):not(.block-termsandconditions)");animation_elements.addClass("animations-scroll"),$(window).on("load resize scroll",function(){$(animation_elements).each(function(){var e=$(this);$(e).isInViewport()?(e.addClass("in-view-up"),e.removeClass("in-view-down")):(e.removeClass("in-view-up"),e.addClass("in-view-down"))})});var getVarHeroHeight=getComputedStyle(document.querySelector(".stickyfooter"),null).getPropertyValue("--hero-height");$(window).on("load",function(){if(window.matchMedia("(max-width: 1026px)").matches){if($("#tab-mobile-bottom").length){var e=$("#tab-mobile-bottom").innerHeight();document.querySelector(".scrollUp").style.setProperty("bottom",e+20+"px")}else if($(".bottom-bar.tab-bar").length){e=$(".bottom-bar.tab-bar").innerHeight();document.querySelector(".scrollUp").style.setProperty("bottom",e+20+"px")}else e=0;if("100vh"==getVarHeroHeight){var t=window.innerHeight-e+2;document.querySelector(".stickyfooter").style.setProperty("--hero-height",t+"px")}}});var loc=window.location.pathname;$(".top-nav").find("a").each(function(){$(this).toggleClass("active",$(this).attr("href")==loc)}),$(".side-nav").find("a").each(function(){$(this).toggleClass("active",$(this).attr("href")==loc)}),$(".footer-nav").find("a").each(function(){$(this).toggleClass("active",$(this).attr("href")==loc)}),$("#menu-mobile").find("a").each(function(){$(this).toggleClass("active",$(this).attr("href")==loc)}),$(".bottom-bar-section").find("a").each(function(){$(this).toggleClass("active",$(this).attr("href")==loc)}),$(".scrollUp").click(function(){$("html,body").animate({scrollTop:0},"slow")});var lastScrollTop=0;$(window).scroll(function(e){var t=$(this).scrollTop(),a=$(window).scrollTop();t>lastScrollTop?$(".scrollUp").removeClass("active"):a>100?$(".scrollUp").addClass("active"):$(".scrollUp").removeClass("active"),lastScrollTop=t});var getVarThemeColor=getComputedStyle(document.querySelector(".stickyfooter"),null).getPropertyValue("--theme-color");$("head").append('<meta name="theme-color" content="'+getVarThemeColor+'">');

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.