1"use strict";(self.webpackChunkonlineservices=self.webpackChunkonlineservices||[]).push([[558],{878:function(i,e,t){t.r(e);var s=t(476);e.default=class{constructor(){console.log("bremsenrechner::initialize()"),this.$component=$(".bb-bremsenrechner"),this.isSmallDevice=void 0,this.sliders=[],this.$component.each(((i,e)=>{this.sliders.push({data:{initialised:!1,initialisedMobile:void 0},el:$(e).find(".handle")[0]})})),this._init()}_init(){window.addEventListener("resize",this._onResize.bind(this)),this._onResize();let i=this.$component.find(".handle");i[0].noUiSlider.on("set",((e,t,s)=>{const n=new Event("bremsenrechnerSliderUpdate");n.value=s[0],n.sliderId=i.closest(".slider").id,document.body.dispatchEvent(n)}))}_onResize(){this.isSmallDevice=window.matchMedia("(max-width: 991px)").matches,this.sliders.forEach((i=>{i.data.initialised?(i.data.initialisedMobile&&!1===this.isSmallDevice||!1===i.data.initialisedMobile&&this.isSmallDevice)&&(i.data.currentValue=i.el.noUiSlider.get(),i.el.noUiSlider.destroy(),this._initRangeSlider(i)):this._initRangeSlider(i)}))}_initRangeSlider(i){i.data.initialised=!0,i.data.initialisedMobile=this.isSmallDevice,s.Ay.create(i.el,{start:i.data.currentValue?i.data.currentValue:100,step:5,direction:this.isSmallDevice?"ltr":"rtl",orientation:this.isSmallDevice?"horizontal":"vertical",range:{min:50,max:100}})}}}}]);
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.