1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[67147],{147:(e,t,l)=>{l.r(t),l.d(t,{default:()=>r});class r extends window.PluginBaseClass{init(){this.el.querySelectorAll("button").forEach(e=>{e.addEventListener("click",this.scrollToLetter.bind(this,e))})}scrollToLetter(e){let t=e.getAttribute("data-manufacturer-href");if(!t)return;let l=this.el.getAttribute("data-manufacturer-animate"),r=parseInt(this.el.getAttribute("data-manufacturer-duration"),10),a=parseInt(this.el.getAttribute("data-manufacturer-stop"),10);if(isNaN(r)&&(r=0),isNaN(a)&&(a=0),"click"===l){let e=document.querySelectorAll(".cms-element-manufacturer-listing-wrapper .manufacturer-group.hasFocus").length;if("all"===t){if(e>1)return!1;document.querySelectorAll(".cms-element-manufacturer-listing-wrapper .manufacturer-group").forEach(e=>{e.classList.add("hasFocus"),this.fade(e,"in",100)})}else{if(1==e&&"block"===document.querySelector(t).style.display)return!1;document.querySelectorAll(".cms-element-manufacturer-listing-wrapper .manufacturer-group").forEach(e=>{e.classList.remove("hasFocus"),e.style.display="none"});let l=document.querySelector(t);l.classList.add("hasFocus"),l.style.display="block",this.fade(l,"in",100)}}else{let e=0;document.querySelector("html").scrollTop>=document.querySelector("body").scrollTop?e=document.querySelector("html").scrollTop:e=document.querySelector("body").scrollTop;let l=0;if(r>0){let s=e,c=document.querySelector(t).getBoundingClientRect().top;l=(c-a)/(r/10);let o=setInterval(()=>{s+=l,window.scrollTo(0,s),s>=c+e-a-35&&clearInterval(o)},20)}else window.scrollTo(0,document.querySelector(t).getBoundingClientRect().top+l-a)}}fade(e,t,l){let r,a,s;s=l>0?.9/(l/10):.9,"in"===t?(r=.1,e.style.display="block",a=setInterval(()=>{r>=1&&clearInterval(a),e.style.opacity=r,e.style.filter="alpha(opacity="+100*r+")",r+=s},10)):(r=1,a=setInterval(()=>{r<=.1&&(clearInterval(a),e.style.display="none"),e.style.opacity=r,e.style.filter="alpha(opacity="+100*r+")",r-=s},10))}}}}]);
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.