PageSourceSearch

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

js hr2.de collected 2026-10-02 02:53:01 UTC 7,365 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/clickTracking"],{9333:function(n,t,e){e.r(t);var i=e(4064),o=e(8836);t.default=function(n){var t,e=n.options,r=n.element,u=JSON.parse((null===(t=(0,o.PN)("[data-click-tracking-settings]",r)[0])||void 0===t?void 0:t.dataset.clickTrackingSettings)||'{"settings":[]}').settings||"[]",c=e.settings||u;r.addEventListener("click",(function(n){c.forEach((function(n){var t=n.type,e=n.clickLabel,o=n.secondLevelId,r=e.replace(/&/g,"-");switch(t){case"download":(0,i.LR)(r,o);break;case"pi":(0,i.pi)();break;case"uxAction":(0,i.wM)(r,o);break;case"uxNavigation":(0,i.AF)(r,o)}}))}))}},4064:function(n,t,e){e.d(t,{AF:function(){return s},BV:function(){return f},LR:function(){return l},pi:function(){return d},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))},d=function(){return r("page.display",pageDisplayConfig)},l=function(n,t){return r("click.download",u(n,t))},f=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"})}},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 l},Ev:function(){return v},GV:function(){return x},HD:function(){return a},JU:function(){return D},MJ:function(){return _},P2:function(){return f},PN:function(){return r},SG:function(){return d},TD:function(){return w},Tx:function(){return B},Vv:function(){return k},Vx:function(){return m},X_:function(){return S},_U:function(){return c},aM:function(){return b},bv:function(){return s},cQ:function(){return O},cu:function(){return L},kT:function(){return C},lU:function(){return A},oL:function(){return p},oN:function(){return u},pW:function(){return N},ve:function(){return M},xQ:function(){return F}});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},d=function(n,t){for(var e=t.parentNode;null!==e;){if(e===n)return!0;e=e.parentNode}return!1},l=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)}},f=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=/;"},k=function(n){var t;try{t=JSON.parse(E(n))}catch(n){}return t},E=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)},b=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},D=function(n,t,e,r,u,c,a,s,d){var l="opacity";u=u||800,c=c||.2,a=a||1,s=s||"ease-in-out",d=d||"0.8s",n.style.WebkitTransition=l+" "+d+" "+s,n.style.MozTransition=l+" "+d+" "+s,n.style.transition=l+" "+d+" "+s,n.style[l]=c,b((function(){if(t&&(n.innerHTML=t),n.style[l]=a,e){i.Z.run(n,o.Z);try{hrScriptLoad.rescanForModulesAndVariants(n)}catch(n){}}r&&r()}),u)},S=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},N=function(n){var t;return t=Math.round(n.getBoundingClientRect().left),{top:Math.round(n.getBoundingClientRect().top),left
1:t}},x=function(n){i.Z.run(n,o.Z)},A=function(n){var t=document.getElementById(n);t&&t.parentNode.removeChild(t)},M=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)}},_=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)}},L=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},B=function(n){n.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},O=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},F=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.