1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/votingValidator"],{8836:function(n,t,e){e.d(t,{BX:function(){return p},Ds:function(){return f},Ev:function(){return v},GV:function(){return C},HD:function(){return a},JU:function(){return A},MJ:function(){return j},P2:function(){return s},PN:function(){return o},SG:function(){return d},TD:function(){return g},Tx:function(){return D},Vv:function(){return b},Vx:function(){return h},X_:function(){return k},_U:function(){return c},aM:function(){return M},bv:function(){return l},cQ:function(){return O},cu:function(){return B},kT:function(){return T},lU:function(){return x},oL:function(){return m},oN:function(){return u},pW:function(){return L},ve:function(){return S},xQ:function(){return F}});var r=e(4413),i=e(7247),o=function(n,t){var e=t||document;return n?n.indexOf(",")>0||n.split(" ").length>1||n.split(".").length>1?e.querySelectorAll(n):"."===n[0]?e.getElementsByClassName(n.substring(1)):"#"===n[0]?new Array(document.getElementById(n.substring(1))):e.querySelectorAll(n):e},u=function(n){return!!n&&n.replace(/(<([^>]+)>)/gi,"")},c=function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)},a=function(n){return"[object String]"===Object.prototype.toString.call(n)},l=function(n,t){for(;null!==t&&"BODY"!==t.tagName;){if(t.tagName&&t.tagName.toLowerCase()===n)return t;t=t.parentNode}return!1},d=function(n,t){for(var e=t.parentNode;null!==e;){if(e===n)return!0;e=e.parentNode}return!1},f=function(n,t){var e=null;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var u=this;clearTimeout(e),e=setTimeout((function(){n.apply(u,i)}),t)}},s=function(n,t,e){var r,i;return t=t||250,function(){for(var o=arguments.length,u=new Array(o),c=0;c<o;c++)u[c]=arguments[c];var a=e||this,l=+new Date;r&&l<r+t?(clearTimeout(i),i=setTimeout((function(){r=l,n.apply(a,u)}),t)):(r=l,n.apply(a,u))}},m=function(n,t,e){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e=void 0===e?document:e;var i="touchstart"===n||"touchmove"===n||"wheel"===n,o=Modernizr.passiveeventlisteners&&!r&&i;window.attachEvent?e.attachEvent(n,t):e.addEventListener(n,t,!!o&&{passive:!0})},v=function(n,t,e){e=void 0===e?document:e,window.attachEvent?e.detachEvent(n,t):e.removeEventListener(n,t)},h=function(n,t,e){(e=void 0===e?document:e).addEventListener(n,t,{once:!0})},p=function(n,t,e){var r=document.createEvent("CustomEvent");r.initCustomEvent(n,!0,!0,t),document.dispatchEvent(r),e&&(o("#js-iFrame")[0]&&o("#js-iFrame")[0].contentWindow.document.dispatchEvent(r),w()&&parent.document.dispatchEvent(r))},w=function(){try{return window.self!==window.top}catch(n){return!0}},g=function(n,t,e){y(n,JSON.stringify(t),e)},y=function(n,t,e){var r,i=N();e?((r=new Date).setMilliseconds(r.getMilliseconds()+e),r=r.toUTCString()):r="",document.cookie=n+"="+t+";expires="+r+";domain="+i+";path=/;"},b=function(n){var t;try{t=JSON.parse(E(n))}catch(n){}return t},E=function(n){var t=RegExp(n+"[^;]+").exec(document.cookie);return unescape(t?t.toString().replace(/^[^=]+./,""):"")},T=function(n){var t=N();document.cookie=n+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+t+";path=/;"},N=function(){return window.location.hostname.substring(window.location.hostname.indexOf(".")+1)},M=function(n,t){var e=window.requestAnimationFrame||function(n,t){window.setTimeout(n,1e3/60)},r=(new Date).getTime(),i={};return i.value=e((function o(){(new Date).getTime()-r>=t?n.call():i.value=e(o)})),i},A=function(n,t,e,o,u,c,a,l,d){var f="opacity";u=u||800,c=c||.2,a=a||1,l=l||"ease-in-out",d=d||"0.8s",n.style.WebkitTransition=f+" "+d+" "+l,n.style.MozTransition=f+" "+d+" "+l,n.style.transition=f+" "+d+" "+l,n.style[f]=c,M((function(){if(t&&(n.innerHTML=t),n.style[f]=a,e){r.Z.run(n,i.Z);try{hrScriptLoad.rescanForModulesAndVariants(n)}catch(n){}}o&&o()}),u)},k=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},L=function(n){var t;return t=Math.round(n.getBoundingClientRect().left),{top:Math.round(n.getBoundingClientRect().top),left
1:t}},C=function(n){r.Z.run(n,i.Z)},x=function(n){var t=document.getElementById(n);t&&t.parentNode.removeChild(t)},S=function(n,t,e,r){if(!document.getElementById(n)){var i=o("script")[0],u=document.createElement("script");u.id=n,u.src=t,e&&u.setAttribute("async",!!e),r&&u.addEventListener("load",(function(n){r(null,n)}),!1),i.parentNode.insertBefore(u,i)}},j=function(n,t,e){if(!document.getElementById(n)){var r=document.createElement("link");r.id=n,r.href=t,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)}},B=function(n,t){var e=document.createElement("style");return t&&e.setAttribute("media",t),e.styleSheet?e.styleSheet.cssText=n||"":e.appendChild(document.createTextNode(n||"")),document.head.appendChild(e),e.sheet},D=function(n){n.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},O=function(n,t){var e=window.requestAnimationFrame||function(n,t){window.setTimeout(n,1e3/60)},r={},i=(new Date).getTime();return r.value=e((function o(){r.value=e(o),(new Date).getTime()-i>=t&&(n.call(),i=(new Date).getTime())})),r},F=function(n){return window.cancelAnimationFrame&&n?window.cancelAnimationFrame(n.value):window.clearInterval(n)}},938:function(n,t,e){e.r(t);var r=e(8836);t.default=function(n){var t,e,i,o;Array.from||(Array.from=(t=Object.prototype.toString,e=function(n){return"function"==typeof n||"[object Function]"===t.call(n)},i=Math.pow(2,53)-1,o=function(n){var t=function(n){var t=Number(n);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(n);return Math.min(Math.max(t,0),i)},function(n){var t=Object(n);if(null==n)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,i=arguments.length>1?arguments[1]:void 0;if(void 0!==i){if(!e(i))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var u,c=o(t.length),a=e(this)?Object(new this(c)):new Array(c),l=0;l<c;)u=t[l],a[l]=i?void 0===r?i(u,l):i.call(r,u,l):u,l+=1;return a.length=c,a}));var u=n.options,c=n.element,a=u.maxAnswerCount,l=u.isMultipleChoice||!1,d=Array.from((0,r.PN)("input[name=multivoting]",c)),f=(0,r.PN)("input[type=submit]",c)[0],s=(0,r.PN)(".js-voting-submit-button",c)[0],m=(0,r.PN)(".js-voting-counter",c),v=0,h=function(n){0!=y()?(f.disabled=!1,s.classList.remove("-inactive")):(f.disabled=!0,s.classList.add("-inactive")),v<a?(b(n),v==a&&E()):T()},p=function(n){return 0==n.checked},w=function(n){return 1==n.disabled},g=function(n){return 1==n.checked},y=function(){return d.filter(g).length},b=function(n){!1===n.target.checked?(v-=1,m.innerHTML=v+"/"+a):(v+=1,m.innerHTML=v+"/"+a)},E=function(){d.filter(p).map((function(n){n.disabled=!0;var t=(0,r.PN)("label[for="+n.id+"]");(t=t.item(0)).classList.add("-inactive")}))},T=function(){v-=1,m.innerHTML=v+"/"+a,d.filter(w).map((function(n){n.disabled=!1;var t=(0,r.PN)("label[for="+n.id+"]");(t=t.item(0)).classList.remove("-inactive")}))};!function(){if(l){m=m.item(0),f.disabled=!0;for(var n=0;n<d.length;n++)d[n].checked=!1;for(var t=0;t<d.length;t++)d[t].disabled=!1,(0,r.oL)("click",h,d[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.