/** * Kendo UI v2019.2.619 (http://www.telerik.com/kendo-ui) * Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial license terms. */ !function(e,define){define("kendo.pager.min",["kendo.data.min"],e)}(function(){return function(e,t){function a(e,t,a,n,s){return e({idx:t,text:a,ns:p.ns,numeric:n,title:s||""})}function n(e,t,a){return T({className:e.substring(1),text:t,wrapClassName:a||""})}function s(e,t,a,n){e.find(t).parent().attr(p.attr("page"),a).attr("tabindex",-1).toggleClass("k-state-disabled",n)}function i(e,t){s(e,m,1,t<=1)}function l(e,t){s(e,f,Math.max(1,t-1),t<=1)}function r(e,t,a){s(e,h,Math.min(a,t+1),t>=a)}function o(e,t,a){s(e,c,a,t>=a)}var p=window.kendo,d=p.ui,g=d.Widget,u=e.proxy,m=".k-i-arrow-end-left",c=".k-i-arrow-end-right",f=".k-i-arrow-60-left",h=".k-i-arrow-60-right",k="k-pager-lg k-pager-md k-pager-sm",v="change",w=".kendoPager",S="click",x="keydown",_="disabled",b="down",z=e(document.documentElement),C=Number.MAX_VALUE,T=p.template(''),y=g.extend({init:function(t,a){var s,d,k,_,z=this,C=null;g.fn.init.call(z,t,a),a=z.options,z._createDataSource(a),z.linkTemplate=p.template(z.options.linkTemplate),z.selectTemplate=p.template(z.options.selectTemplate),z.currentPageTemplate=p.template(z.options.currentPageTemplate),s=z.page(),d=z.totalPages(),z._refreshHandler=u(z.refresh,z),z.dataSource.bind(v,z._refreshHandler),z.downEvent=p.applyEventMap(b,p.guid()),a.previousNext&&(z.element.find(m).length||(z.element.append(n(m,a.messages.first,"k-pager-first")),i(z.element,s,d)),z.element.find(f).length||(z.element.append(n(f,a.messages.previous)),l(z.element,s,d))),a.numeric&&(z.list=z.element.find(".k-pager-numbers"),z.list.length||(z.list=e('