PageSourceSearch

https://www.hr2.de/assets_4.49.0/js//feature/nativeScrollDs.bundle.js

js hr2.de collected 2026-10-02 02:53:32 UTC 8,067 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/nativeScrollDs"],{4064:function(n,t,e){e.d(t,{AF:function(){return s},BV:function(){return d},LR:function(){return f},pi:function(){return l},wM:function(){return a},xG:function(){return o}});var i=e(8471),o=function(){var n=new i.Z;return!n.isSettingsCookieExistent("ati")||n.isSettingsCookieAccepted("ati")},r=function(n,t){"undefined"!=typeof pa&&void 0!==pa&&o()&&pa.sendEvent(n,t)},u=function(n,t){return{click:n,site_level2_id:c(t)}},c=function(n){return void 0!==n?n:void 0!==pageDisplayConfig?pageDisplayConfig.site_level2_id:99},a=function(n,t){return r("click.action",u(n,t))},s=function(n,t){return r("click.navigation",u(n,t))},l=function(){return r("page.display",pageDisplayConfig)},f=function(n,t){return r("click.download",u(n,t))},d=function(n){r("page.scroll",{scroll_depth:n,page:void 0!==pageDisplayConfig?pageDisplayConfig.page:"unknown",hr_document_type:void 0!==pageDisplayConfig?pageDisplayConfig.hr_document_type:"unknown",hr_sophora_id:void 0!==pageDisplayConfig?pageDisplayConfig.hr_sophora_id:"unknown"})}},5475:function(n,t,e){e.r(t);var i=e(8836),o=e(4064);t.default=function(n){var t,e,r,u,c=n.options,a=n.element,s=c.isTeaser,l=!1,f=function(n){var t=e.clientWidth-1.5*r.clientWidth,i=n.currentTarget.classList.contains("js-left")?-1:1,u=i*t;1===i?s?(0,o.wM)("Eventkalender:: Pfeil rechts geklickt",1):(0,o.wM)("Eventkalender-Monat:: Pfeil rechts geklickt",1):s?(0,o.wM)("Eventkalender:: Pfeil links geklickt",1):(0,o.wM)("Eventkalender-Monat:: Pfeil links geklickt",1),l?e.scrollLeft+=u:d(e.scrollLeft,Date.now(),u)},d=function(n,t,e){(0,i.xQ)(u),u=(0,i.cQ)((function(){p(n,t,e)}),16)},p=function(n,t,o){var r=(Date.now()-t)/900;r=r>1?1:r,e.scrollLeft=n+o*v(r),1===r&&(0,i.xQ)(u)},v=function(n){return n<.5?4*n*n*n:(n-1)*(2*n-2)*(2*n-2)+1};if((0,i.PN)(".js-ns-scroll.js-horizontal",a).length>0){e=(0,i.PN)(".js-ns-scroll.js-horizontal",a)[0],t=(0,i.PN)(".js-ns-button",a),r=(0,i.PN)(".js-ns-item",a)[0],l="scroll-behavior"in document.documentElement.style;var m=(0,i.PN)(".js-ns-month.js-selected",a)[0];m||(m=(0,i.PN)(".js-ns-month.js-currentMonth",a)[0]),m&&(e.scrollLeft=m.offsetLeft),e.style.marginBottom=e.clientHeight-e.offsetHeight+"px";for(var g=0;g<t.length;g++)t[g].addEventListener("click",f.bind(this)),t[g].addEventListener("touch",f.bind(this))}}},8471:function(n,t,e){var i=e(8836);t.Z=function(){var n={},t=function(){(0,i.TD)("hrSettings",n,31536e7)},e=function(){n=(0,i.Vv)("hrSettings")||{}};return{setCookieForOptions:function(i,o){null==o&&(o=!0),e(),n[i]=o,t()},isSettingsCookieExistent:function(t){return e(),n.hasOwnProperty(t)},isSettingsCookieAccepted:function(t){return e(),!0===n[t]}}}},8836:function(n,t,e){e.d(t,{BX:function(){return g},Ds:function(){return f},Ev:function(){return v},GV:function(){return S},HD:function(){return a},JU:function(){return N},MJ:function(){return j},P2:function(){return d},PN:function(){return r},SG:function(){return l},TD:function(){return w},Tx:function(){return _},Vv:function(){return E},Vx:function(){return m},X_:function(){return b},_U:function(){return c},aM:function(){return D},bv:function(){return s},cQ:function(){return B},cu:function(){return A},kT:function(){return C},lU:function(){return x},oL:function(){return p},oN:function(){return u},pW:function(){return M},ve:function(){return L},xQ:function(){return P}});var i=e(4413),o=e(7247),r=function(n,t){var e=t||document;return n?n.indexOf(",")>0||n.split(" ").length>1||n.split(".").length>1?e.querySelectorAll(n):"."===n[0]?e.getElementsByClassName(n.substring(1)):"#"===n[0]?new Array(document.getElementById(n.substring(1))):e.querySelectorAll(n):e},u=function(n){return!!n&&n.replace(/(<([^>]+)>)/gi,"")},c=function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)},a=function(n){return"[object String]"===Object.prototype.toString.call(n)},s=function(n,t){for(;null!==t&&"BODY"!==t.tagName;){if(t.tagName&&t.tagName.toLowerCase()===n)return t;t=t.parentNode}return!1},l=function(n,t){for(var e=t.parentNode;null!==e;){if(e===n)return!0;e=e.parentNode}return!1},f=function(n,t){var e=null;return function(){for(var i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];var u=this;clearTimeout(e),e=setTimeout((function(){n.apply(u,o)}),t)}},d=function(n,t,e){var i,o;return t=t||250,function(){for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];var a=e||this,s=+new Date;i&&s<i+t?(clearTimeout(o),o=setTimeout((function(){i=s,n.apply(a,u)}),t)):(i=s,n.apply(a,u))}},p=function(n,t,e){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e=void 0===e?document:e;var o="touchstart"===n||"touchmove"===n||"wheel"===n,r=Modernizr.passiveeventlisteners&&!i&&o;window.attachEvent?e.attachEvent(n,t):e.addEventListener(n,t,!!r&&{passive:!0})},v=function(n,t,e){e=void 0===e?document:e,window.attachEvent?e.detachEvent(n,t):e.removeEventListener(n,t)},m=function(n,t,e){(e=void 0===e?document:e).addEventListener(n,t,{once:!0})},g=function(n,t,e){var i=document.createEvent("CustomEvent");i.initCustomEvent(n,!0,!0,t),document.dispatchEvent(i),e&&(r("#js-iFrame")[0]&&r("#js-iFrame")[0].contentWindow.document.dispatchEvent(i),h()&&parent.document.dispatchEvent(i))},h=function(){try{return window.self!==window.top}catch(n){return!0}},w=function(n,t,e){y(n,JSON.stringify(t),e)},y=function(n,t,e){var i,o=T();e?((i=new Date).setMilliseconds(i.getMilliseconds()+e),i=i.toUTCString()):i="",document.cookie=n+"="+t+";expires="+i+";domain="+o+";path=/;"},E=function(n){var t;try{t=JSON.parse(k(n))}catch(n){}return t},k=function(n){var t=RegExp(n+"[^;]+").exec(document.cookie);return unescape(t?t.toString().replace(/^[^=]+./,""):"")},C=function(n){var t=T();document.cookie=n+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+t+";path=/;"},T=function(){return window.location.hostname.substring(window.location.hostname.indexOf(".")+1)},D=function(n,t){var e=window.requestAnimationFrame||function(n,t){window.setTimeout(n,1e3/60)},i=(new Date).getTime(),o={};return o.value=e((function r(){(new Date).getTime()-i>=t?n.call():o.value=e(r)})),o},N=function(n,t,e,r,u,c,a,s,l){var f="opacity";u=u||800,c=c||.2,a=a||1,s=s||"ease-in-out",l=l||"0.8s",n.style.WebkitTransition=f+" "+l+" "+s,n.style.MozTransition=f+" "+l+" "+s,n.style.transition=f+" "+l+" "+s,n.style[f]=c,D((function(){if(t&&(n.innerHTML=t),n.style[f]=a,e){i.Z.run(n,o.Z);try{hrScriptLoad.rescanForModulesAndVariants(n)}catch(n){}}r&&r()}),u)},b=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},M=function(n){var t;return t=Math.round(n.getBoundingClientRect().left),{top:Math.round(n.getBoundingClientRect().top),left
1:t}},S=function(n){i.Z.run(n,o.Z)},x=function(n){var t=document.getElementById(n);t&&t.parentNode.removeChild(t)},L=function(n,t,e,i){if(!document.getElementById(n)){var o=r("script")[0],u=document.createElement("script");u.id=n,u.src=t,e&&u.setAttribute("async",!!e),i&&u.addEventListener("load",(function(n){i(null,n)}),!1),o.parentNode.insertBefore(u,o)}},j=function(n,t,e){if(!document.getElementById(n)){var i=document.createElement("link");i.id=n,i.href=t,e.type&&(i.type=e.type),e.rel&&(i.rel=e.rel),e.title&&(i.title=e.title),e.as&&(i.as=e.as),document.getElementsByTagName("head")[0].appendChild(i)}},A=function(n,t){var e=document.createElement("style");return t&&e.setAttribute("media",t),e.styleSheet?e.styleSheet.cssText=n||"":e.appendChild(document.createTextNode(n||"")),document.head.appendChild(e),e.sheet},_=function(n){n.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},B=function(n,t){var e=window.requestAnimationFrame||function(n,t){window.setTimeout(n,1e3/60)},i={},o=(new Date).getTime();return i.value=e((function r(){i.value=e(r),(new Date).getTime()-o>=t&&(n.call(),o=(new Date).getTime())})),i},P=function(n){return window.cancelAnimationFrame&&n?window.cancelAnimationFrame(n.value):window.clearInterval(n)}}}]);

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.