PageSourceSearch

https://hl7.de/wp-content/plugins/smoother/js/smoother.min.js?ver=1.0.5.1790275670

js hl7.de collected 2026-09-24 18:49:03 UTC 8,424 bytes, 12 lines download raw bytes

1/**
2 * Smoother - Smoother - Smooth scrolling experience for WordPress Websites
3 *
4 * @encoding UTF-8
5 * @version 1.0.5
6 * @copyright Copyright (C) 2019 merkulove ( https://1.envato.market/cc-merkulove ). All rights reserved.
7 * @license Commercial Software
8 * @author merkulove
9 * @url https://smoother.merkulov.design/
10**/
11
12!function(){"use strict";var s,i,c,a,o={frameRate:150,animationTime:400,stepSize:100,pulseAlgorithm:!0,pulseScale:4,pulseNormalize:1,accelerationDelta:50,accelerationMax:3,keyboardSupport:!0,arrowScroll:50,fixedBackground:!0,excluded:""},p=o,d=!1,u=!1,n={x:0,y:0},m=!1,f=document.documentElement,l=[],h=/^Mac/.test(navigator.platform),w=navigator.userAgent.toLowerCase().includes("safari")&&!navigator.userAgent.toLowerCase().includes("chrome"),v={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36},y={37:1,38:1,39:1,40:1};function b(){if(!m&&document.body){m=!0;var e=document.body,t=document.documentElement,o=window.innerHeight,n=e.scrollHeight;if(f=0<=document.compatMode.indexOf("CSS")?t:e,s=e,p.keyboardSupport&&X("keydown",k),top!=self)u=!0;else if(Z&&o<n&&(e.offsetHeight<=o||t.offsetHeight<=o)){var r,a=document.createElement("div");a.style.cssText="position:absolute; z-index:-10000; top:0; left:0; right:0; height:"+f.scrollHeight+"px",document.body.appendChild(a),c=function(){r=r||setTimeout(function(){d||(a.style.height="0",a.style.height=f.scrollHeight+"px",r=null)},500)},setTimeout(c,10),X("resize",c);if((i=new R(c)).observe(e,{attributes:!0,childList:!0,characterData:!1}),f.offsetHeight<=o){var l=document.createElement("div");l.style.clear="both",e.appendChild(l)}}p.fixedBackground||d||(e.style.backgroundAttachment="scroll",t.style.backgroundAttachment="scroll")}}var g=[],S=!1,r=Date.now();function x(u,m,f){if(!function(e,t){e=0<e?1:-1,t=0<t?1:-1,n.x===e&&n.y===t||(n.x=e,n.y=t,g=[],r=0)}(m,f),1!=p.accelerationMax){var e=Date.now()-r;if(e<p.accelerationDelta){var t=(1+50/e)/2;1<t&&(t=Math.min(t,p.accelerationMax),m*=t,f*=t)}r=Date.now()}if(g.push({x:m,y:f,lastX:m<0?.99:-.99,lastY:f<0?.99:-.99,start:Date.now()}),!S){var o=q(),h=u===o||u===document.body;null==u.$scrollBehavior&&function(e){var t=B(e);if(null==C[t]){var o=getComputedStyle(e,"")["scroll-behavior"];C[t]="smooth"==o}return C[t]}(u)&&(u.$scrollBehavior=u.style.scrollBehavior,u.style.scrollBehavior="auto");var w=function(e){for(var t=Date.now(),o=0,n=0,r=0;r<g.length;r++){var a=g[r],l=t-a.start,i=l>=p.animationTime,c=i?1:l/p.animationTime;p.pulseAlgorithm&&(c=F(c));var s=a.x*c-a.lastX>>0,d=a.y*c-a.lastY>>0;o+=s,n+=d,a.lastX+=s,a.lastY+=d,i&&(g.splice(r,1),r--)}h?window.scrollBy(o,n):(o&&(u.scrollLeft+=o),n&&(u.scrollTop+=n)),m||f||(g=[]),g.length?j(w,u,1e3/p.frameRate+1):(S=!1,null!=u.$scrollBehavior&&(u.style.scrollBehavior=u.$scrollBehavior,u.$scrollBehavior=null))};j(w,u,0),S=!0}}function e(e){if(!(e.wheelDeltaY?e.wheelDeltaY===-3*e.deltaY:0===e.deltaMode)){m||b();var t=e.target;if(e.defaultPrevented||e.ctrlKey)return!0;if(N(s,"embed")||N(t,"embed")&&/\.pdf/i.test(t.src)||N(s,"object")||t.shadowRoot)return!0;var o=-e.wheelDeltaX||e.deltaX||0,n=-e.wheelDeltaY||e.deltaY||0;w&&(n*=10,120<Math.abs(n)&&(n=0<n?120:-120)),h&&(e.wheelDeltaX&&K(e.wheelDeltaX,120)&&(o=e.wheelDeltaX/Math.abs(e.wheelDeltaX)*-120),e.wheelDeltaY&&K(e.wheelDeltaY,120)&&(n=e.wheelDeltaY/Math.abs(e.wheelDeltaY)*-120)),o||n||(n=-e.wheelDelta||0),1===e.deltaMode&&(o*=40,n*=40);var r=z(t);if(!r)return!u||!U||(Object.defineProperty(e,"target",{value:window.frameElement}),parent.wheel(e));if(function(e){if(!e)return;l.length||(l=[e,e,e]);e=Math.abs(e),l.push(e),l.shift(),clearTimeout(a),a=setTimeout(function(){try{localStorage.SS_deltaBuffer=l.join(",")}catch(e){}},1e3);var t=120<e&&P(e);return!P(120)&&!P(100)&&!t}(n))return!0;1.2<Math.abs(o)&&(o*=p.stepSize/120),1.2<Math.abs(n)&&(n*=p.stepSize/120),x(r,o,n),e.preventDefault(),H()}}function k(e){var t=e.target,o=e.ctrlKey||e.altKey||e.metaKey||e.shiftKey&&e.keyCode!==v.spacebar;document.body.contains(s)||(s=document.activeElement);var n=/^(button|submit|radio|checkbox|file|color|image)$/i;
12if(e.defaultPrevented||/^(textarea|select|embed|object)$/i.test(t.nodeName)||N(t,"input")&&!n.test(t.type)||N(s,"video")||function(e){var t=e.target,o=!1;if(-1!=document.URL.indexOf("www.youtube.com/watch"))do{if(o=t.classList&&t.classList.contains("html5-video-controls"))break}while(t=t.parentNode);return o}(e)||t.isContentEditable||o)return!0;if((N(t,"button")||N(t,"input")&&n.test(t.type))&&e.keyCode===v.spacebar)return!0;if(N(t,"input")&&"radio"==t.type&&y[e.keyCode])return!0;var r=0,a=0,l=z(s);if(!l)return!u||!U||parent.keydown(e);var i=l.clientHeight;switch(l==document.body&&(i=window.innerHeight),e.keyCode){case v.up:a=-p.arrowScroll;break;case v.down:a=p.arrowScroll;break;case v.spacebar:a=-(e.shiftKey?1:-1)*i*.9;break;case v.pageup:a=.9*-i;break;case v.pagedown:a=.9*i;break;case v.home:l==document.body&&document.scrollingElement&&(l=document.scrollingElement),a=-l.scrollTop;break;case v.end:var c=l.scrollHeight-l.scrollTop-i;a=0<c?10+c:0;break;case v.left:r=-p.arrowScroll;break;case v.right:r=p.arrowScroll;break;default:return!0}x(l,r,a),e.preventDefault(),H()}function t(e){s=e.target}var E,D,B=(E=0,function(e){return e.uniqueID||(e.uniqueID=E++)}),M={},T={},C={};function H(){clearTimeout(D),void 0===document.getElementById("scroller-body")&&(D=setInterval(function(){M=T=C={}},1e3))}function L(e,t,o){for(var n=o?M:T,r=e.length;r--;)n[B(e[r])]=t;return t}function z(e){var t=[],o=document.body,n=f.scrollHeight;do{var r=(!1?M:T)[B(e)];if(r)return L(t,r);if(t.push(e),n===e.scrollHeight){var a=A(f)&&A(o)||O(f);if(u&&Y(f)||!u&&a)return L(t,q())}else if(Y(e)&&O(e))return L(t,e)}while(e=e.parentElement)}function Y(e){return e.clientHeight+10<e.scrollHeight}function A(e){return"hidden"!==getComputedStyle(e,"").getPropertyValue("overflow-y")}function O(e){var t=getComputedStyle(e,"").getPropertyValue("overflow-y");return"scroll"===t||"auto"===t}function X(e,t,o){null!==document.getElementById("scroller-body")?document.getElementById("scroller-body").addEventListener(e,t,o||!1):window.addEventListener(e,t,o||!1)}function I(e,t,o){null!==document.getElementById("scroller-body")?document.getElementById("scroller-body").addEventListener(e,t,o||!1):window.removeEventListener(e,t,o||!1)}function N(e,t){return e&&(e.nodeName||"").toLowerCase()===t.toLowerCase()}if(window.localStorage&&localStorage.SS_deltaBuffer)try{l=localStorage.SS_deltaBuffer.split(",")}catch(e){}function K(e,t){return Math.floor(e/t)==e/t}function P(e){return K(l[0],e)&&K(l[1],e)&&K(l[2],e)}var $,j=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e,t,o){window.setTimeout(e,o||1e3/60)},R=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,q=($=document.scrollingElement,function(){if(!$){var e=document.createElement("div");e.style.cssText="height:10000px;width:1px;",document.body.appendChild(e);var t=document.body.scrollTop;document.documentElement.scrollTop,window.scrollBy(0,3),$=document.body.scrollTop!=t?document.body:document.documentElement,window.scrollBy(0,-3),document.body.removeChild(e)}return $});function V(e){var t;return((e*=p.pulseScale)<1?e-(1-Math.exp(-e)):(e-=1,(t=Math.exp(-1))+(1-Math.exp(-e))*(1-t)))*p.pulseNormalize}function F(e){return 1<=e?1:e<=0?0:(1==p.pulseNormalize&&(p.pulseNormalize/=V(1)),V(e))}var _=window.navigator.userAgent,W=/Edge/.test(_),U=/chrome/i.test(_)&&!W,G=/safari/i.test(_)&&!W,J=/mobile/i.test(_),Q=/Windows NT 6.1/i.test(_)&&/rv:11/i.test(_),Z=G&&(/Version\/8/i.test(_)||/Version\/9/i.test(_)),ee=(U||G||Q||window.mdSmootherAllBrowsers)&&!J,te=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){te=!0}}))}catch(e){}var oe=!!te&&{passive:!1},ne="onwheel"in document.createElement("div")?"wheel":"mousewheel";function re(e){for(var t in e)o.hasOwnProperty(t)&&(p[t]=e[t])}ne&&ee&&(X(ne,e,oe),X("mousedown",t),X("load",b)),re.destroy=function(){i&&i.disconnect(),I(ne,e),I("mousedown",t),I("keydown",k),I("resize",c),I("load",b)},re.restart=function(){i&&i.observe(),X(ne,e,{passive:!1}),X("mousedown",t),X("keydown",k),X("resize",c),X("load",b)},window.SmoothScrollOptions&&re(window.SmoothScrollOptions),"function"==typeof define&&define.amd?define(function(){return re}):"object"==typeof exports?module.exports=re:window.SmoothScroll=re}();

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.