1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/toggleClass"],{715:function(e,t,n){n.r(t);var o=n(8836),r=r||[];t.default=function(e){var t=e.options,n=e.element,i=t.toggleClass,c=t.id,u=!!t.closeFlyout&&t.closeFlyout,a=!!t.onInit&&"close"===t.onInit,s=t.initialState,l=t.closeOnResize?t.closeOnResize:null,d=!!t.reactToOutside&&"close"===t.reactToOutside,f=t.onCheckboxTarget?(0,o.PN)(t.onCheckboxTarget):void 0,g=t.onTarget?(0,o.PN)(t.onTarget):n,v=t.toggleOnFocus?(0,o.PN)(t.toggleOnFocus):void 0,h=!!t.closeOthers&&t.closeOthers,m=t.reactTo,p=!!t.toggleCheck&&t.toggleCheck,w=function(e){for(var t=0;t<g.length;t++)if(!(0,o.SG)(g[t],e.target))return void E(e)},y=!l||(0,o.Ds)((function(e){window.innerWidth>l.breakpoint&&T()&&k()}),l.delay),E=function(e){e.stopPropagation(),k()},T=function(){return n.checked},k=function(){if(h&&function(e){for(var t=!1,n=0;n<r.length;n++){var o=r[n];o.isOpen()&&o.getName()!==e&&(t=!0,o.toggle())}}(c),u&&function(){for(var e=document.getElementsByClassName("-is-open"),t=0;t<e.length;t++)e[t].classList.remove("-is-open")}(),g){if(g.length){if(T()&&function(){for(var e=!1,t=0;t<g.length;t++)e||(e=!g[t].classList.contains(i));return e}())for(var e=0;e<g.length;e++)g[e].classList.contains(i)||g[e].classList.toggle(i);else for(var t=0;t<g.length;t++)g[t].classList.toggle(i);var o=function(){for(var e=!0,t=0;t<g.length;t++)e&&(e=g[t].classList.contains(i));return e}();if(p&&(n.checked=o),f&&f.length)for(var a=0;a<f.length;a++)f[a].checked&&(f[a].checked=o)}}else n.classList.toggle(i),p&&(n.checked=element[0].classList.indexOf(i)>-1);d&&n.checked&&document.addEventListener(m,w),d&&!n.checked&&document.removeEventListener(m,w)};if(m||(m="click"),null!==l&&window.addEventListener("resize",y),v&&v[0]&&v[0].addEventListener("keydown",(function(e){(0,o.SG)(v[0],e.target)&&(n.checked||E(e))}
1)),n&&i){if(n.checked&&a)n.checked=!1;else if(n.checked)if(g&&g.length)for(var L=0;L<g.length;L++)g[L].classList.toggle(i);else g&&n.classList.toggle(i);n.addEventListener(m,E)}if(s&&s.length>0)for(var N=0,b=s.length;N<b;N++){var C=s[N];switch(C.action){case"toggleOnVw":var O=(0,o._U)();C.vw<O&&k();break;case"removeClassOnTarget":if(g&&g.length)for(var x=0;x<g.length;x++)g[x].classList.remove(i)}}this.isOpen=function(){return T()},this.toggle=function(){k()},this.getName=function(){return c},r.push(this)}},8836:function(e,t,n){n.d(t,{BX:function(){return m},Ds:function(){return d},Ev:function(){return v},GV:function(){return x},HD:function(){return a},JU:function(){return b},MJ:function(){return A},P2:function(){return f},PN:function(){return i},SG:function(){return l},TD:function(){return w},Tx:function(){return D},Vv:function(){return E},Vx:function(){return h},X_:function(){return C},_U:function(){return u},aM:function(){return N},bv:function(){return s},cQ:function(){return F},cu:function(){return B},kT:function(){return k},lU:function(){return S},oL:function(){return g},oN:function(){return c},pW:function(){return O},ve:function(){return M},xQ:function(){return I}});var o=n(4413),r=n(7247),i=function(e,t){var n=t||document;return e?e.indexOf(",")>0||e.split(" ").length>1||e.split(".").length>1?n.querySelectorAll(e):"."===e[0]?n.getElementsByClassName(e.substring(1)):"#"===e[0]?new Array(document.getElementById(e.substring(1))):n.querySelectorAll(e):n},c=function(e){return!!e&&e.replace(/(<([^>]+)>)/gi,"")},u=function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)},a=function(e){return"[object String]"===Object.prototype.toString.call(e)},s=function(e,t){for(;null!==t&&"BODY"!==t.tagName;){if(t.tagName&&t.tagName.toLowerCase()===e)return t;t=t.parentNode}return!1},l=function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},d=function(e,t){var n=null;return function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var c=this;clearTimeout(n),n=setTimeout((function(){e.apply(c,r)}),t)}},f=function(e,t,n){var o,r;return t=t||250,function(){for(var i=arguments.length,c=new Array(i),u=0;u<i;u++)c[u]=arguments[u];var a=n||this,s=+new Date;o&&s<o+t?(clearTimeout(r),r=setTimeout((function(){o=s,e.apply(a,c)}),t)):(o=s,e.apply(a,c))}},g=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];n=void 0===n?document:n;var r="touchstart"===e||"touchmove"===e||"wheel"===e,i=Modernizr.passiveeventlisteners&&!o&&r;window.attachEvent?n.attachEvent(e,t):n.addEventListener(e,t,!!i&&{passive:!0})},v=function(e,t,n){n=void 0===n?document:n,window.attachEvent?n.detachEvent(e,t):n.removeEventListener(e,t)},h=function(e,t,n){(n=void 0===n?document:n).addEventListener(e,t,{once:!0})},m=function(e,t,n){var o=document.createEvent("CustomEvent");o.initCustomEvent(e,!0,!0,t),document.dispatchEvent(o),n&&(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}},w=function(e,t,n){y(e,JSON.stringify(t),n)},y=function(e,t,n){var o,r=L();n?((o=new Date).setMilliseconds(o.getMilliseconds()+n),o=o.toUTCString()):o="",document.cookie=e+"="+t+";expires="+o+";domain="+r+";path=/;"},E=function(e){var t;try{t=JSON.parse(T(e))}catch(e){}return t},T=function(e){var t=RegExp(e+"[^;]+").exec(document.cookie);return unescape(t?t.toString().replace(/^[^=]+./,""):"")},k=function(e){var t=L();document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+t+";path=/;"},L=function(){return window.location.hostname.substring(window.location.hostname.indexOf(".")+1)},N=function(e,t){var n=window.requestAnimationFrame||function(e,t){window.setTimeout(e,1e3/60)},o=(new Date).getTime(),r={};return r.value=n((function i(){(new Date).getTime()-o>=t?e.call():r.value=n(i)})),r},b=function(e,t,n,i,c,u,a,s,l){var d="opacity";c=c||800,u=u||.2,a=a||1,s=s||"ease-in-out",l=l||"0.8s",e.style.WebkitTransition=d+" "+l+" "+s,e.style.MozTransition=d+" "+l+" "+s,e.style.transition=d+" "+l+" "+s,e.style[d]=u,N((function(){if(t&&(e.innerHTML=t),e.style[d]=a,n){o.Z.run(e,r.Z);try{hrScriptLoad.rescanForModulesAndVariants(e)}catch(e){}}i&&i()}),c)},C=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},O=function(e){var t;return t=Math.round(e.getBoundingClientRect().left),{top:Math.round(e.getBoundingClientRect().top),left
1:t}},x=function(e){o.Z.run(e,r.Z)},S=function(e){var t=document.getElementById(e);t&&t.parentNode.removeChild(t)},M=function(e,t,n,o){if(!document.getElementById(e)){var r=i("script")[0],c=document.createElement("script");c.id=e,c.src=t,n&&c.setAttribute("async",!!n),o&&c.addEventListener("load",(function(e){o(null,e)}),!1),r.parentNode.insertBefore(c,r)}},A=function(e,t,n){if(!document.getElementById(e)){var o=document.createElement("link");o.id=e,o.href=t,n.type&&(o.type=n.type),n.rel&&(o.rel=n.rel),n.title&&(o.title=n.title),n.as&&(o.as=n.as),document.getElementsByTagName("head")[0].appendChild(o)}},B=function(e,t){var n=document.createElement("style");return t&&n.setAttribute("media",t),n.styleSheet?n.styleSheet.cssText=e||"":n.appendChild(document.createTextNode(e||"")),document.head.appendChild(n),n.sheet},D=function(e){e.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},F=function(e,t){var n=window.requestAnimationFrame||function(e,t){window.setTimeout(e,1e3/60)},o={},r=(new Date).getTime();return o.value=n((function i(){o.value=n(i),(new Date).getTime()-r>=t&&(e.call(),r=(new Date).getTime())})),o},I=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.