1"use strict";(self.webpackChunkmvv_energie=self.webpackChunkmvv_energie||[]).push([[4174],{409(t,e,a){a.r(e),a.d(e,{default:()=>i});a(8992),a(2577);const i=new class{update(t){this.$pagination=t.pagination,this.totalPages=t.totalPages,this.currentPage=t.currentPage,this.numberNextItems=t.numberNextItems,this.numberPrevItems=t.numberPrevItems,this._updateMarkup()}_updateMarkup(){let t="";const e=this.$pagination.find("nav").attr("data-page");this.$pagination.find(".page-item.page").remove();for(let a=0;a<=this.totalPages;a++)t+='<li class="page-item page" data-page="'+(a+1)+'"><a class="page-link" href="#" role="button" aria-label="'+e+" "+(a+1)+'">'+(a+1)+"</a></li>";$(t).insertAfter(this.$pagination.find(".separator").eq(0)),this._updatePagination()}_updatePagination(){let t=this.$pagination.find(".page-item.page").eq(this.currentPage-1),e=this.$pagination.find(".page-item.page").not(t),a=this.$pagination.find(".separator"),i=this.$pagination.find(".prev"),s=this.$pagination.find(".first"),n=this.$pagination.find(".last"),r=this.$pagination.find(".next"),d=this.numberPrevItems,h=this.numberNextItems,g=this.totalPages-this.currentPage,m=this.currentPage-1;e.hide().removeClass("active"),t.addClass("active").show(),e.find("a").removeAttr("aria-current"),t.find("a").attr("aria-current","page"),a.hide(),this.totalPages<=1?this.$pagination.hide():this.$pagination.show(),1!==this.currentPage?(i.removeClass("disabled"),s.removeClass("disabled"),i.find("a").removeAttr("aria-disabled tabindex"),s.find("a").removeAttr("aria-disabled tabindex")):(i.addClass("disabled"),s.addClass("disabled"),i.find("a").attr({"aria-disabled":!0,tabindex:-1}),s.find("a").attr({"aria-disabled":!0,tabindex:-1})),this.currentPage!==this.totalPages?(r.removeClass("disabled"),n.removeClass("disabled"),r.find("a").removeAttr("aria-disabled tabindex"),n.find("a").removeAttr("aria-disabled tabindex")):(r.addClass("disabled"),n.addClass("disabled"),r.find("a").attr({"aria-disabled":!0,tabindex:-1}),n.find("a").attr({"aria-disabled":!0,tabindex:-1})),this.maxPaginationItems=this.numberNextItems+this.numberPrevItems+1,this.totalPages<=this.maxPaginationItems?this.$pagination.find(".page-item.page:lt("+this.totalPages+")").show():((m<this.numberPrevItems||g<this.numberNextItems)&&(m<this.numberPrevItems&&(d=m,h=this.numberPrevItems+this.numberNextItems-d),g<this.numberNextItems&&(h=g,d=this.numberPrevItems+this.numberNextItems-g)),this.currentPage-this.numberPrevItems>1&&a.eq(0).show(),this.currentPage+this.numberNextItems<this.totalPages&&a.eq(1).show(),t.nextAll(".page-item.page:lt("+h+")").show(),t.prevAll(".page-item.page:lt("+d+")").show()),this.$pagination.find(".pagination-text").text("Seite "+this.currentPage+" von "+this.totalPages)}}}}]);
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.