PageSourceSearch

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

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

1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/tickerWebsocket"],{9631:function(e,n,t){t.r(n);var o=t(8836);n.default=function(e){var n=e.options,t=n.webSocketBaseUrl,r=n.domain,i=n.baseUrl,u=n.sophoraId,c="wss:"+t+r,a=1,d=function(){var e=new WebSocket(c);e.addEventListener("open",(function(){(0,o.BX)("hr:global:webSocketConnectionOpen",{url:e.url}),a=1})),e.addEventListener("message",(function(e){var n=JSON.parse(e.data).data,t=!!n["hr:ticker"],r="FIRST_PUBLICATION"===n.publishType,c=n["hr:ticker"]["sophora:id"]===u;if(!0===t&&!0===r&&!0===c){var a=i+"/"+u+"~inline.html";n.url=a,(0,o.BX)("hr:global:webSocketTickerReceived",{wsData:n})}})),e.addEventListener("close",(function(e){e.wasClean?(0,o.BX)("hr:global:webSocketConnectionClosed",{code:e.code,reason:e.reason}):(0,o.BX)("hr:global:webSocketConnectionDied",{code:e.code,reason:e.reason})})),e.addEventListener("error",(function(e){(0,o.BX)("hr:global:webSocketConnectionError",{message:e.message})}))},l=function(){a=a>15?15:a+1,setTimeout(d,2*a*1e3)},s=function(e){},f=function(e){l()},m=function(e){l()},v=function(e){};d(),(0,o.oL)("hr:global:webSocketConnectionOpen",s),(0,o.oL)("hr:global:webSocketConnectionClosed",f),(0,o.oL)("hr:global:webSocketConnectionDied",m),(0,o.oL)("hr:global:webSocketConnectionError",v),window.addEventListener("offline",(function(e){})),window.addEventListener("online",(function(e){d()}))}},8836:function(e,n,t){t.d(n,{BX:function(){return h},Ds:function(){return s},Ev:function(){return v},GV:function(){return N},HD:function(){return a},JU:function(){return S},MJ:function(){return M},P2:function(){return f},PN:function(){return i},SG:function(){return l},TD:function(){return g},Tx:function(){return O},Vv:function(){return E},Vx:function(){return w},X_:function(){return L},_U:function(){return c},aM:function(){return C},bv:function(){return d},cQ:function(){return I},cu:function(){return x},kT:function(){return T},lU:function(){return D},oL:function(){return m},oN:function(){return u},pW:function(){return B},ve:function(){return A},xQ:function(){return F}});var o=t(4413),r=t(7247),i=function(e,n){var t=n||document;return e?e.indexOf(",")>0||e.split(" ").length>1||e.split(".").length>1?t.querySelectorAll(e):"."===e[0]?t.getElementsByClassName(e.substring(1)):"#"===e[0]?new Array(document.getElementById(e.substring(1))):t.querySelectorAll(e):t},u=function(e){return!!e&&e.replace(/(<([^>]+)>)/gi,"")},c=function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)},a=function(e){return"[object String]"===Object.prototype.toString.call(e)},d=function(e,n){for(;null!==n&&"BODY"!==n.tagName;){if(n.tagName&&n.tagName.toLowerCase()===e)return n;n=n.parentNode}return!1},l=function(e,n){for(var t=n.parentNode;null!==t;){if(t===e)return!0;t=t.parentNode}return!1},s=function(e,n){var t=null;return function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u=this;clearTimeout(t),t=setTimeout((function(){e.apply(u,r)}),n)}},f=function(e,n,t){var o,r;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=t||this,d=+new Date;o&&d<o+n?(clearTimeout(r),r=setTimeout((function(){o=d,e.apply(a,u)}),n)):(o=d,e.apply(a,u))}},m=function(e,n,t){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t=void 0===t?document:t;var r="touchstart"===e||"touchmove"===e||"wheel"===e,i=Modernizr.passiveeventlisteners&&!o&&r;window.attachEvent?t.attachEvent(e,n):t.addEventListener(e,n,!!i&&{passive:!0})},v=function(e,n,t){t=void 0===t?document:t,window.attachEvent?t.detachEvent(e,n):t.removeEventListener(e,n)},w=function(e,n,t){(t=void 0===t?document:t).addEventListener(e,n,{once:!0})},h=function(e,n,t){var o=document.createEvent("CustomEvent");o.initCustomEvent(e,!0,!0,n),document.dispatchEvent(o),t&&(i("#js-iFrame")[0]&&i("#js-iFrame")[0].contentWindow.document.dispatchEvent(o),p()&&parent.document.dispatchEvent(o))},p=function(){try{return window.self!==window.top}catch(e){return!0}},g=function(e,n,t){b(e,JSON.stringify(n),t)},b=function(e,n,t){var o,r=k();t?((o=new Date).setMilliseconds(o.getMilliseconds()+t),o=o.toUTCString()):o="",document.cookie=e+"="+n+";expires="+o+";domain="+r+";path=/;"},E=function(e){var n;try{n=JSON.parse(y(e))}catch(e){}return n},y=function(e){var n=RegExp(e+"[^;]+").exec(document.cookie);return unescape(n?n.toString().replace(/^[^=]+./,""):"")},T=function(e){var n=k();document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+n+";path=/;"},k=function(){return window.location.hostname.substring(window.location.hostname.indexOf(".")+1)},C=function(e,n){var t=window.requestAnimationFrame||function(e,n){window.setTimeout(e,1e3/60)},o=(new Date).getTime(),r={};return r.value=t((function i(){(new Date).getTime()-o>=n?e.call():r.value=t(i)})),r},S=function(e,n,t,i,u,c,a,d,l){var s="opacity";u=u||800,c=c||.2,a=a||1,d=d||"ease-in-out",l=l||"0.8s",e.style.WebkitTransition=s+" "+l+" "+d,e.style.MozTransition=s+" "+l+" "+d,e.style.transition=s+" "+l+" "+d,e.style[s]=c,C((function(){if(n&&(e.innerHTML=n),e.style[s]=a,t){o.Z.run(e,r.Z);try{hrScriptLoad.rescanForModulesAndVariants(e)}catch(e){}}i&&i()}),u)},L=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},B=function(e){var n;return n=Math.round(e.getBoundingClientRect().left),{top:Math.round(e.getBoundingClientRect().top),left
1:n}},N=function(e){o.Z.run(e,r.Z)},D=function(e){var n=document.getElementById(e);n&&n.parentNode.removeChild(n)},A=function(e,n,t,o){if(!document.getElementById(e)){var r=i("script")[0],u=document.createElement("script");u.id=e,u.src=n,t&&u.setAttribute("async",!!t),o&&u.addEventListener("load",(function(e){o(null,e)}),!1),r.parentNode.insertBefore(u,r)}},M=function(e,n,t){if(!document.getElementById(e)){var o=document.createElement("link");o.id=e,o.href=n,t.type&&(o.type=t.type),t.rel&&(o.rel=t.rel),t.title&&(o.title=t.title),t.as&&(o.as=t.as),document.getElementsByTagName("head")[0].appendChild(o)}},x=function(e,n){var t=document.createElement("style");return n&&t.setAttribute("media",n),t.styleSheet?t.styleSheet.cssText=e||"":t.appendChild(document.createTextNode(e||"")),document.head.appendChild(t),t.sheet},O=function(e){e.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},I=function(e,n){var t=window.requestAnimationFrame||function(e,n){window.setTimeout(e,1e3/60)},o={},r=(new Date).getTime();return o.value=t((function i(){o.value=t(i),(new Date).getTime()-r>=n&&(e.call(),r=(new Date).getTime())})),o},F=function(e){return window.cancelAnimationFrame&&e?window.cancelAnimationFrame(e.value):window.clearInterval(e)}}}]);

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.