PageSourceSearch

https://www.hr2.de/assets_4.48.0/js//feature/socialmediaCompact.bundle.js

js hr2.de collected 2026-09-24 17:21:18 UTC 9,163 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/socialmediaCompact"],{4064:function(n,e,t){t.d(e,{AF:function(){return l},BV:function(){return f},LR:function(){return d},pi:function(){return s},wM:function(){return u},xG:function(){return o}});var i=t(8471),o=function(){var n=new i.Z;return!n.isSettingsCookieExistent("ati")||n.isSettingsCookieAccepted("ati")},r=function(n,e){"undefined"!=typeof pa&&void 0!==pa&&o()&&pa.sendEvent(n,e)},c=function(n,e){return{click:n,site_level2_id:a(e)}},a=function(n){return void 0!==n?n:void 0!==pageDisplayConfig?pageDisplayConfig.site_level2_id:99},u=function(n,e){return r("click.action",c(n,e))},l=function(n,e){return r("click.navigation",c(n,e))},s=function(){return r("page.display",pageDisplayConfig)},d=function(n,e){return r("click.download",c(n,e))},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,e,t){var i=t(8836);e.Z=function(){var n={},e=function(){(0,i.TD)("hrSettings",n,31536e7)},t=function(){n=(0,i.Vv)("hrSettings")||{}};return{setCookieForOptions:function(i,o){null==o&&(o=!0),t(),n[i]=o,e()},isSettingsCookieExistent:function(e){return t(),n.hasOwnProperty(e)},isSettingsCookieAccepted:function(e){return t(),!0===n[e]}}}},7119:function(n,e,t){t.r(e);var i=t(8836),o=t(4064);e.default=function(n){var e=n.options,t=n.element,r="-isClosed",c=(0,i.PN)(".c-shareCompact__mainButton",t)[0],a=(0,i.PN)(".c-shareCompact__shareButtons",t)[0],u=(0,i.PN)(".c-shareCompact__message",t)[0],l=e.url,s=e.title,d=navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)/i),f=navigator.userAgent.match(/(Android)|(webOS)|(Blackberry)|(Windows Phone)/i),p=window.parent.document.documentElement.classList.contains("webview"),m={},h={facebook:(0,i.PN)(".js-shareLinkFacebook",t)[0],whatsapp:(0,i.PN)(".js-shareLinkWhatsapp",t)[0],mail:(0,i.PN)(".js-shareLinkMail",t)[0],copy2clip:(0,i.PN)(".js-shareLinkCopy",t)[0]},v=!0,g=function(){navigator.share({title:s,url:l}).then((function(){})).catch(console.error),(0,o.wM)("newSocialShareClick::mainButton-nativeShare")},w=function(n){n.stopPropagation(),p?(m=(0,i.Vv)("appSettings")||{},d?g():f&&(!0===m.fireCustomJsShareEvent?(0,i.BX)("hr:global:shareCompactClickAndroidApp",{title:s,url:l}):(0,i.BX)("hr:global:shareCompactClick",{origin:t,currentTarget:n.currentTarget}))):navigator.share&&d||navigator.share&&f?g():(0,i.BX)("hr:global:shareCompactClick",{origin:t,currentTarget:n.currentTarget})};(0,i.oL)("hr:global:shareCompactClick",(function(n){v?n.detail.origin===t&&((0,o.wM)("newSocialShareClick::mainButton-open"),t.classList.remove(r),a.classList.remove("hide"),v=!1,(0,i.oL)("click",w,document)):(n.detail.currentTarget===c?(0,o.wM)("newSocialShareClick::mainButton-close"):(0,o.wM)("newSocialShareClick::mainButton-close-outside"),t.classList.add(r),a.classList.add("hide"),v=!0,(0,i.Ev)("click",w,document))})),(0,i.oL)("click",w,c),(0,i.oL)("click",(function(n){var e=document.createElement("textarea");e.value=l,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),u.classList.remove("hide"),window.setTimeout((function(){u.classList.add("hide")}),2e3)}),h.copy2clip),(0,i.oL)("click",(function(){(0,o.wM)("newSocialShareClick::facebook")}),h.facebook),(0,i.oL)("click",(function(){(0,o.wM)("newSocialShareClick::whatsapp")}),h.whatsapp),(0,i.oL)("click",(function(){(0,o.wM)("newSocialShareClick::mail")}),h.mail),(0,i.oL)("click",(function(){(0,o.wM)("newSocialShareClick::copy2clipboard")}),h.copy2clip)}},8836:function(n,e,t){t.d(e,{BX:function(){return v},Ds:function(){return d},Ev:function(){return m},GV:function(){return N},HD:function(){return u},JU:function(){return T},MJ:function(){return D},P2:function(){return f},PN:function(){return r},SG:function(){return s},TD:function(){return w},Tx:function(){return x},Vv:function(){return C},Vx:function(){return h},X_:function(){return L},_U:function(){return a},aM:function(){return b},bv:function(){return l},cQ:function(){return P},cu:function(){return _},kT:function(){return S},lU:function(){return B},oL:function(){return p},oN:function(){return c},pW:function(){return M},ve:function(){return A},xQ:function(){return O}});var i=t(4413),o=t(7247),r=function(n,e){var t=e||document;return n?n.indexOf(",")>0||n.split(" ").length>1||n.split(".").length>1?t.querySelectorAll(n):"."===n[0]?t.getElementsByClassName(n.substring(1)):"#"===n[0]?new Array(document.getElementById(n.substring(1))):t.querySelectorAll(n):t},c=function(n){return!!n&&n.replace(/(<([^>]+)>)/gi,"")},a=function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)},u=function(n){return"[object String]"===Object.prototype.toString.call(n)},l=function(n,e){for(;null!==e&&"BODY"!==e.tagName;){if(e.tagName&&e.tagName.toLowerCase()===n)return e;e=e.parentNode}return!1},s=function(n,e){for(var t=e.parentNode;null!==t;){if(t===n)return!0;t=t.parentNode}return!1},d=function(n,e){var t=null;return function(){for(var i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];var c=this;clearTimeout(t),t=setTimeout((function(){n.apply(c,o)}),e)}},f=function(n,e,t){var i,o;return e=e||250,function(){for(var r=arguments.length,c=new Array(r),a=0;a<r;a++)c[a]=arguments[a];var u=t||this,l=+new Date;i&&l<i+e?(clearTimeout(o),o=setTimeout((function(){i=l,n.apply(u,c)}),e)):(i=l,n.apply(u,c))}},p=function(n,e,t){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t=void 0===t?document:t;var o="touchstart"===n||"touchmove"===n||"wheel"===n,r=Modernizr.passiveeventlisteners&&!i&&o;window.attachEvent?t.attachEvent(n,e):t.addEventListener(n,e,!!r&&{passive:!0})},m=function(n,e,t){t=void 0===t?document:t,window.attachEvent?t.detachEvent(n,e):t.removeEventListener(n,e)},h=function(n,e,t){(t=void 0===t?document:t).addEventListener(n,e,{once:!0})},v=function(n,e,t){var i=document.createEvent("CustomEvent");i.initCustomEvent(n,!0,!0,e),document.dispatchEvent(i),t&&(r("#js-iFrame")[0]&&r("#js-iFrame")[0].contentWindow.document.dispatchEvent(i),g()&&parent.document.dispatchEvent(i))},g=function(){try{return window.self!==window.top}catch(n){return!0}},w=function(n,e,t){y(n,JSON.stringify(e),t)},y=function(n,e,t){var i,o=E();t?((i=new Date).setMilliseconds(i.getMilliseconds()+t),i=i.toUTCString()):i="",document.cookie=n+"="+e+";expires="+i+";domain="+o+";path=/;"},C=function(n){var e;try{e=JSON.parse(k(n))}catch(n){}return e},k=function(n){var e=RegExp(n+"[^;]+").exec(document.cookie);return unescape(e?e.toString().replace(/^[^=]+./,""):"")},S=function(n){var e=E();document.cookie=n+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+e+";path=/;"},E=function(){return window.location.hostname.substring(window.location.hostname.indexOf(".")+1)},b=function(n,e){var t=window.requestAnimationFrame||function(n,e){window.setTimeout(n,1e3/60)},i=(new Date).getTime(),o={};return o.value=t((function r(){(new Date).getTime()-i>=e?n.call():o.value=t(r)})),o},T=function(n,e,t,r,c,a,u,l,s){var d="opacity";c=c||800,a=a||.2,u=u||1,l=l||"ease-in-out",s=s||"0.8s",n.style.WebkitTransition=d+" "+s+" "+l,n.style.MozTransition=d+" "+s+" "+l,n.style.transition=d+" "+s+" "+l,n.style[d
1]=a,b((function(){if(e&&(n.innerHTML=e),n.style[d]=u,t){i.Z.run(n,o.Z);try{hrScriptLoad.rescanForModulesAndVariants(n)}catch(n){}}r&&r()}),c)},L=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},M=function(n){var e;return e=Math.round(n.getBoundingClientRect().left),{top:Math.round(n.getBoundingClientRect().top),left:e}},N=function(n){i.Z.run(n,o.Z)},B=function(n){var e=document.getElementById(n);e&&e.parentNode.removeChild(e)},A=function(n,e,t,i){if(!document.getElementById(n)){var o=r("script")[0],c=document.createElement("script");c.id=n,c.src=e,t&&c.setAttribute("async",!!t),i&&c.addEventListener("load",(function(n){i(null,n)}),!1),o.parentNode.insertBefore(c,o)}},D=function(n,e,t){if(!document.getElementById(n)){var i=document.createElement("link");i.id=n,i.href=e,t.type&&(i.type=t.type),t.rel&&(i.rel=t.rel),t.title&&(i.title=t.title),t.as&&(i.as=t.as),document.getElementsByTagName("head")[0].appendChild(i)}},_=function(n,e){var t=document.createElement("style");return e&&t.setAttribute("media",e),t.styleSheet?t.styleSheet.cssText=n||"":t.appendChild(document.createTextNode(n||"")),document.head.appendChild(t),t.sheet},x=function(n){n.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},P=function(n,e){var t=window.requestAnimationFrame||function(n,e){window.setTimeout(n,1e3/60)},i={},o=(new Date).getTime();return i.value=t((function r(){i.value=t(r),(new Date).getTime()-o>=e&&(n.call(),o=(new Date).getTime())})),i},O=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.