PageSourceSearch

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

js hr2.de collected 2026-10-02 02:54:07 UTC 5,910 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/votingCookieCheckerDs"],{4428:function(t,n,e){e.r(n);var r=e(8836);n.default=function(t){var n=t.options,e=t.element,o=n.votingId,i=(0,r.PN)(".js-voting-wrapper",e)[0],u=n.hideVotingResult,c='<p class="mt-6 text-base font-bold sm:text-xl font-heading sm:mt-12 dark:text-text-dark">'+n.alreadyVotedHintText+"<p>";!function(){if((0,r.Vv)(o)){var t=(0,r.PN)("#"+o)[0].querySelector(".js-voting-form__bottomWrapper");u?(0,r.JU)(t,c,!0):(0,r.JU)(i,(0,r.PN)(".js-result",e)[0].innerHTML,!0)}}()}},8836:function(t,n,e){e.d(n,{BX:function(){return h},Ds:function(){return l},Ev:function(){return v},GV:function(){return S},HD:function(){return a},JU:function(){return k},MJ:function(){return B},P2:function(){return f},PN:function(){return i},SG:function(){return s},TD:function(){return g},Tx:function(){return O},Vv:function(){return E},Vx:function(){return p},X_:function(){return C},_U:function(){return c},aM:function(){return x},bv:function(){return d},cQ:function(){return j},cu:function(){return L},kT:function(){return b},lU:function(){return A},oL:function(){return m},oN:function(){return u},pW:function(){return M},ve:function(){return D},xQ:function(){return F}});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)},d=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},l=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,d=+new Date;r&&d<r+n?(clearTimeout(o),o=setTimeout((function(){r=d,t.apply(a,u)}),n)):(r=d,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),w()&&parent.document.dispatchEvent(r))},w=function(){try{return window.self!==window.top}catch(t){return!0}},g=function(t,n,e){y(t,JSON.stringify(n),e)},y=function(t,n,e){var r,o=N();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(T(t))}catch(t){}return n},T=function(t){var n=RegExp(t+"[^;]+").exec(document.cookie);return unescape(n?n.toString().replace(/^[^=]+./,""):"")},b=function(t){var n=N();document.cookie=t+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+n+";path=/;"},N=function(){return window.location.hostname.substring(window.location.hostname.indexOf(".")+1)},x=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},k=function(t,n,e,i,u,c,a,d,s){var l="opacity";u=u||800,c=c||.2,a=a||1,d=d||"ease-in-out",s=s||"0.8s",t.style.WebkitTransition=l+" "+s+" "+d,t.style.MozTransition=l+" "+s+" "+d,t.style.transition=l+" "+s+" "+d,t.style[l]=c,x((function(){if(n&&(t.innerHTML=n),t.style[l]=a,e){r.Z.run(t,o.Z);try{hrScriptLoad.rescanForModulesAndVariants(t)}catch(t){}}i&&i()}),u)},C=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},M=function(t){var n;return n=Math.round(t.getBoundingClientRect().left),{top:Math.round(t.getBoundingClientRect().top),left
1:n}},S=function(t){r.Z.run(t,o.Z)},A=function(t){var n=document.getElementById(t);n&&n.parentNode.removeChild(n)},D=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)}},L=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},O=function(t){t.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},j=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},F=function(t){return window.cancelAnimationFrame&&t?window.cancelAnimationFrame(t.value):window.clearInterval(t)}}}]);

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.