PageSourceSearch

https://pure-energie.nl/resources/website/js/modules/DropDown.js?id=73c4dacedc5a67ed

js pure-energie.nl collected 2026-09-25 05:40:36 UTC 3,818 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4632],{4472:(n,e,t)=>{function r(n){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r(n)}function i(n,e){var t="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=function(n,e){if(n){if("string"==typeof n)return o(n,e);var t={}.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(n,e):void 0}}(n))||e&&n&&"number"==typeof n.length){t&&(n=t);var r=0,i=function(){};return{s:i,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,l=!1;return{s:function(){t=t.call(n)},n:function(){var n=t.next();return c=n.done,n},e:function(n){l=!0,a=n},f:function(){try{c||null==t.return||t.return()}finally{if(l)throw a}}}}function o(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}function a(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,c(r.key),r)}}function c(n){var e=function(n,e){if("object"!=r(n)||!n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var i=t.call(n,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(n)}(n,"string");return"symbol"==r(e)?e:e+""}t.r(e),t.d(e,{default:()=>u});var l=function(){return n=function n(){!function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),this.dropDown=document.querySelectorAll(".dropdown"),null!==this.dropDown&&(this.dropDownBtn=document.querySelectorAll(".dropdown__open"),this._init())},e=[{key:"_init",value:function(){this._bindEvents()}},{key:"_bindEvents",value:function(){this.dropDownBtn.forEach((function(n){n.addEventListener("click",(function(){n.nextElementSibling.classList.contains("active")?n.nextElementSibling.classList.remove("active"):n.nextElementSibling.classList.add("active")}));var e=new Proxy(new URLSearchParams(window.location.search),{get:function(n,e){return n.get(e)}}),t=n.nextElementSibling.children[0];if(t.classList.contains("filters")){var r,o=[],a=n.textContent,c=n.nextElementSibling.children[1],l=t.children,u=i(l);try{var s=function(){var t=r.value;e.filter&&(e.filter.split(",").forEach((function(n){t.children[0].id.split("_").pop()===n&&(o.push(t.children[0].id),t.children[0].checked=!0)})),0===o.length?n.innerHTML="<span>"+a+"</span>":n.innerHTML="<span>"+a+" ("+o.length+")</span>"),t.addEventListener("click",(function(e){"INPUT"===e.target.tagName.toUpperCase()&&(e.target.checked?o.push(t.children[0].id):o.splice(o.indexOf(t.children[0].id),1),0===o.length?n.innerHTML="<span>"+a+"</span>":n.innerHTML="<span>"+a+" ("+o.length+")</span>")}))};for(u.s();!(r=u.n()).done;)s()}catch(n){u.e(n)}finally{u.f()}c.addEventListener("click",(function(){o.length=0,n.innerHTML="<span>"+a+"</span>";var e,t=i(l);try{for(t.s();!(e=t.n()).done;)e.value.children[0].checked=!1}catch(n){t.e(n)}finally{t.f()}}))}document.addEventListener("click",(function(e){var t=e.target,r=n.parentNode.querySelector(".dropdown__content");do{if(t==n.parentNode)return;t=t.parentNode}while(t);r.classList.remove("active")}))}))}}],e&&a(n.prototype,e),t&&a(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,e,t}();const u=function(){new l}}}]);

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.