1"use strict";(self.webpackChunkmvtec_frontend=self.webpackChunkmvtec_frontend||[]).push([[174],{8882(t,e,i){function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function n(t,e){for(var i=0;i<e.length;i++){var a=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,s(a.key),a)}}function s(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}i.r(e),i.d(e,{default:()=>r});const r=new(function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)},(e=[{key:"update",value:function(t){this.$pagination=t.pagination,this.totalPages=t.totalPages,this.currentPage=t.currentPage,this.numberNextItems=t.numberNextItems,this.numberPrevItems=t.numberPrevItems,this._updateMarkup()}},{key:"_updateMarkup",value:function(){var t="";this.$pagination.find(".bb-pagination__list-item.page").remove();for(var e=0;e<=this.totalPages;e++)t+='<li class="bb-pagination__list-item page" data-page="'+(e+1)+'"><a class="page-link" href="#">'+(e+1)+"</a></li>";$(t).insertAfter(this.$pagination.find(".separator").eq(0)),this._updatePagination()}},{key:"_updatePagination",value:function(){var t=this.$pagination.find(".bb-pagination__list-item.page").eq(this.currentPage-1),e=this.$pagination.find(".bb-pagination__list-item.page").not(t),i=this.$pagination.find(".separator"),a=this.$pagination.find(".prev"),n=this.$pagination.find(".first"),s=this.$pagination.find(".last"),r=this.$pagination.find(".next"),o=this.numberPrevItems,l=this.numberNextItems,u=this.totalPages-this.currentPage,m=this.currentPage-1;e.hide().removeClass("active"),t.addClass("active").show(),i.hide(),this.totalPages<=1?this.$pagination.hide():this.$pagination.show(),1!==this.currentPage?(a.removeClass("disabled"),n.removeClass("disabled")):(a.addClass("disabled"),n.addClass("disabled")),this.currentPage!==this.totalPages?(r.removeClass("disabled"),s.removeClass("disabled")):(r.addClass("disabled"),s.addClass("disabled")),this.maxPaginationItems=this.numberNextItems+this.numberPrevItems+1,this.totalPages<=this.maxPaginationItems?this.$pagination.find(".bb-pagination__list-item.page:lt("+this.totalPages+")").show():((m<this.numberPrevItems||u<this.numberNextItems)&&(m<this.numberPrevItems&&(o=m,l=this.numberPrevItems+this.numberNextItems-o),u<this.numberNextItems&&(l=u,o=this.numberPrevItems+this.numberNextItems-u)),this.currentPage-this.numberPrevItems>1&&i.eq(0).show(),this.currentPage+this.numberNextItems<this.totalPages&&i.eq(1).show(),t.nextAll(".bb-pagination__list-item.page:lt("+l+")").show(),t.prevAll(".bb-pagination__list-item.page:lt("+o+")").show()),this.$pagination.find(".pagination-text").text("Seite "+this.currentPage+" von "+this.totalPages)}}])&&n(t.prototype,e),i&&n(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,i}())}}]); 2//# sourceMappingURL=site.handle-pagination.72b936d6166451.js.map
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.