PageSourceSearch

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

js hr2.de collected 2026-10-02 02:53:48 UTC 6,709 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/simpleErrorHandler"],{1962:function(t,n,e){e.r(n);var r=e(1002),o=e(8836);n.default=function(t){var n=t.options,e=n.key||void 0;if("object"===(0,r.Z)(n)&&null!==n.tester&&null!==n.tester.selector&&null!==n.tester.attribute&&null!==n.contents&&null!==n.contents.selector&&null!==n.contents.hideClass){var i=function(){for(var t=document.querySelectorAll(n.contents.selector),e=0;e<t.length;++e){var r=t[e];r.classList.contains(n.contents.hideClass)||r.classList.add(n.contents.hideClass)}if(null!=n.errorHint&&null!=n.errorHint.selector&&null!=n.errorHint.hideClass){var o=document.querySelector(n.errorHint.selector);null!==o&&o.classList.contains(n.errorHint.hideClass)&&o.classList.remove(n.errorHint.hideClass)}},u=document.querySelector(n.tester.selector);if(null!==u){var c=u.getAttribute(n.tester.attribute);null===c||""===c?null!==u.onerror&&"function"==typeof u.onerror&&(u.onerror=function(){this.onerror=null,i()}):i()}(0,o.oL)("hr:global:ardPlayerError",(function(t){e===t.detail.key&&i()}))}}},8836:function(t,n,e){e.d(n,{BX:function(){return h},Ds:function(){return d},Ev:function(){return v},GV:function(){return L},HD:function(){return a},JU:function(){return N},MJ:function(){return B},P2:function(){return f},PN:function(){return i},SG:function(){return s},TD:function(){return w},Tx:function(){return H},Vv:function(){return E},Vx:function(){return p},X_:function(){return A},_U:function(){return c},aM:function(){return C},bv:function(){return l},cQ:function(){return O},cu:function(){return D},kT:function(){return T},lU:function(){return M},oL:function(){return m},oN:function(){return u},pW:function(){return k},ve:function(){return x},xQ:function(){return q}});var r=e(4413),o=e(7247),i=function(t,n){var e=n||document;return t?t.indexOf(",")>0||t.split(" ").length>1||t.split(".").length>1?e.querySelectorAll(t):"."===t[0]?e.getElementsByClassName(t.substring(1)):"#"===t[0]?new Array(document.getElementById(t.substring(1))):e.querySelectorAll(t):e},u=function(t){return!!t&&t.replace(/(<([^>]+)>)/gi,"")},c=function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)},a=function(t){return"[object String]"===Object.prototype.toString.call(t)},l=function(t,n){for(;null!==n&&"BODY"!==n.tagName;){if(n.tagName&&n.tagName.toLowerCase()===t)return n;n=n.parentNode}return!1},s=function(t,n){for(var e=n.parentNode;null!==e;){if(e===t)return!0;e=e.parentNode}return!1},d=function(t,n){var e=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var u=this;clearTimeout(e),e=setTimeout((function(){t.apply(u,o)}),n)}},f=function(t,n,e){var r,o;return n=n||250,function(){for(var i=arguments.length,u=new Array(i),c=0;c<i;c++)u[c]=arguments[c];var a=e||this,l=+new Date;r&&l<r+n?(clearTimeout(o),o=setTimeout((function(){r=l,t.apply(a,u)}),n)):(r=l,t.apply(a,u))}},m=function(t,n,e){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e=void 0===e?document:e;var o="touchstart"===t||"touchmove"===t||"wheel"===t,i=Modernizr.passiveeventlisteners&&!r&&o;window.attachEvent?e.attachEvent(t,n):e.addEventListener(t,n,!!i&&{passive:!0})},v=function(t,n,e){e=void 0===e?document:e,window.attachEvent?e.detachEvent(t,n):e.removeEventListener(t,n)},p=function(t,n,e){(e=void 0===e?document:e).addEventListener(t,n,{once:!0})},h=function(t,n,e){var r=document.createEvent("CustomEvent");r.initCustomEvent(t,!0,!0,n),document.dispatchEvent(r),e&&(i("#js-iFrame")[0]&&i("#js-iFrame")[0].contentWindow.document.dispatchEvent(r),y()&&parent.document.dispatchEvent(r))},y=function(){try{return window.self!==window.top}catch(t){return!0}},w=function(t,n,e){g(t,JSON.stringify(n),e)},g=function(t,n,e){var r,o=S();e?((r=new Date).setMilliseconds(r.getMilliseconds()+e),r=r.toUTCString()):r="",document.cookie=t+"="+n+";expires="+r+";domain="+o+";path=/;"},E=function(t){var n;try{n=JSON.parse(b(t))}catch(t){}return n},b=function(t){var n=RegExp(t+"[^;]+").exec(document.cookie);return unescape(n?n.toString().replace(/^[^=]+./,""):"")},T=function(t){var n=S();document.cookie=t+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+n+";path=/;"},S=function(){return window.location.hostname.substring(window.location.hostname.indexOf(".")+1)},C=function(t,n){var e=window.requestAnimationFrame||function(t,n){window.setTimeout(t,1e3/60)},r=(new Date).getTime(),o={};return o.value=e((function i(){(new Date).getTime()-r>=n?t.call():o.value=e(i)})),o},N=function(t,n,e,i,u,c,a,l,s){var d="opacity";u=u||800,c=c||.2,a=a||1,l=l||"ease-in-out",s=s||"0.8s",t.style.WebkitTransition=d+" "+s+" "+l,t.style.MozTransition=d+" "+s+" "+l,t.style.transition=d+" "+s+" "+l,t.style[d]=c,C((function(){if(n&&(t.innerHTML=n),t.style[d]=a,e){r.Z.run(t,o.Z);try{hrScriptLoad.rescanForModulesAndVariants(t)}catch(t){}}i&&i()}),u)},A=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},k=function(t){var n;return n=Math.round(t.getBoundingClientRect().left),{top:Math.round(t.getBoundingClientRect().top),left
1:n}},L=function(t){r.Z.run(t,o.Z)},M=function(t){var n=document.getElementById(t);n&&n.parentNode.removeChild(n)},x=function(t,n,e,r){if(!document.getElementById(t)){var o=i("script")[0],u=document.createElement("script");u.id=t,u.src=n,e&&u.setAttribute("async",!!e),r&&u.addEventListener("load",(function(t){r(null,t)}),!1),o.parentNode.insertBefore(u,o)}},B=function(t,n,e){if(!document.getElementById(t)){var r=document.createElement("link");r.id=t,r.href=n,e.type&&(r.type=e.type),e.rel&&(r.rel=e.rel),e.title&&(r.title=e.title),e.as&&(r.as=e.as),document.getElementsByTagName("head")[0].appendChild(r)}},D=function(t,n){var e=document.createElement("style");return n&&e.setAttribute("media",n),e.styleSheet?e.styleSheet.cssText=t||"":e.appendChild(document.createTextNode(t||"")),document.head.appendChild(e),e.sheet},H=function(t){t.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},O=function(t,n){var e=window.requestAnimationFrame||function(t,n){window.setTimeout(t,1e3/60)},r={},o=(new Date).getTime();return r.value=e((function i(){r.value=e(i),(new Date).getTime()-o>=n&&(t.call(),o=(new Date).getTime())})),r},q=function(t){return window.cancelAnimationFrame&&t?window.cancelAnimationFrame(t.value):window.clearInterval(t)}},1002:function(t,n,e){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}e.d(n,{Z:function(){return r}})}}]);

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.