1(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{201:function(t,e,i){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}i.r(e);var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.element=e,this.active="is-active",this.content=this.element.querySelectorAll(".js-accordion-content"),this.heading=this.element.querySelectorAll(".js-accordion-heading"),this.visible="is-visible",this.content.length<1||this.heading.length<1||this.bindEvents()}var e,i,s;return e=t,(i=[{key:"bindEvents",value:function(){for(var t=this,e=0;e<this.heading.length;e++)this.heading[e].addEventListener("click",function(e){return t.toggleContent(e.target)})}},{key:"contentUpdate",value:function(t){if(t.classList.contains(this.visible))t.classList.remove(this.visible);else{for(var e=0;e<this.content.length;e++)this.content[e].classList.remove(this.visible);t.classList.add(this.visible)}}},{key:"headingUpdate",value:function(t){if(t.classList.contains(this.active))t.classList.remove(this.active);else{for(var e=0;e<this.heading.length;e++)this.heading[e].classList.remove(this.active);t.classList.add(this.active)}}},{key:"toggleContent",value:function(t){var e=t.getAttribute("data-accordion");if(e){var i=this.element.querySelector('.js-accordion-heading[data-accordion="'.concat(e,'"]'));if(i){var n=this.element.querySelector('.js-accordion-content[data-accordion="'.concat(e,'"]'));n&&(this.headingUpdate(i),this.contentUpdate(n))}}}}])&&n(e.prototype,i),s&&n(e,s),t}();e.default=s}}]);
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.