2016-02-11 11:28:13 +01:00
/ * !
DataTables Bootstrap 3 integration
© 2011 - 2015 SpryMedia Ltd - datatables . net / license
* /
2019-10-01 14:26:26 +02:00
var $jscomp = $jscomp || { } ; $jscomp . scope = { } ; $jscomp . findInternal = function ( a , b , c ) { a instanceof String && ( a = String ( a ) ) ; for ( var e = a . length , d = 0 ; d < e ; d ++ ) { var k = a [ d ] ; if ( b . call ( c , k , d , a ) ) return { i : d , v : k } } return { i : - 1 , v : void 0 } } ; $jscomp . ASSUME _ES5 = ! 1 ; $jscomp . ASSUME _NO _NATIVE _MAP = ! 1 ; $jscomp . ASSUME _NO _NATIVE _SET = ! 1 ; $jscomp . SIMPLE _FROUND _POLYFILL = ! 1 ;
2020-05-21 11:24:54 +02:00
$jscomp . defineProperty = $jscomp . ASSUME _ES5 || "function" == typeof Object . defineProperties ? Object . defineProperty : function ( a , b , c ) { a != Array . prototype && a != Object . prototype && ( a [ b ] = c . value ) } ; $jscomp . getGlobal = function ( a ) { a = [ "object" == typeof window && window , "object" == typeof self && self , "object" == typeof global && global , a ] ; for ( var b = 0 ; b < a . length ; ++ b ) { var c = a [ b ] ; if ( c && c . Math == Math ) return c } throw Error ( "Cannot find global object" ) ; } ; $jscomp . global = $jscomp . getGlobal ( this ) ;
2019-10-01 14:26:26 +02:00
$jscomp . polyfill = function ( a , b , c , e ) { if ( b ) { c = $jscomp . global ; a = a . split ( "." ) ; for ( e = 0 ; e < a . length - 1 ; e ++ ) { var d = a [ e ] ; d in c || ( c [ d ] = { } ) ; c = c [ d ] } a = a [ a . length - 1 ] ; e = c [ a ] ; b = b ( e ) ; b != e && null != b && $jscomp . defineProperty ( c , a , { configurable : ! 0 , writable : ! 0 , value : b } ) } } ; $jscomp . polyfill ( "Array.prototype.find" , function ( a ) { return a ? a : function ( a , c ) { return $jscomp . findInternal ( this , a , c ) . v } } , "es6" , "es3" ) ;
( function ( a ) { "function" === typeof define && define . amd ? define ( [ "jquery" , "datatables.net" ] , function ( b ) { return a ( b , window , document ) } ) : "object" === typeof exports ? module . exports = function ( b , c ) { b || ( b = window ) ; c && c . fn . dataTable || ( c = require ( "datatables.net" ) ( b , c ) . $ ) ; return a ( c , b , b . document ) } : a ( jQuery , window , document ) } ) ( function ( a , b , c , e ) { var d = a . fn . dataTable ; a . extend ( ! 0 , d . defaults , { dom : "<'ui stackable grid'<'row'<'eight wide column'l><'right aligned eight wide column'f>><'row dt-table'<'sixteen wide column'tr>><'row'<'seven wide column'i><'right aligned nine wide column'p>>>" ,
renderer : "semanticUI" } ) ; a . extend ( d . ext . classes , { sWrapper : "dataTables_wrapper dt-semanticUI" , sFilter : "dataTables_filter ui input" , sProcessing : "dataTables_processing ui segment" , sPageButton : "paginate_button item" } ) ; d . ext . renderer . pageButton . semanticUI = function ( b , l , w , x , m , r ) { var k = new d . Api ( b ) , y = b . oClasses , n = b . oLanguage . oPaginate , z = b . oLanguage . oAria . paginate || { } , g , h , t = 0 , u = function ( c , d ) { var e , l = function ( b ) { b . preventDefault ( ) ; a ( b . currentTarget ) . hasClass ( "disabled" ) || k . page ( ) == b . data . action || k . page ( b . data . action ) . draw ( "page" ) } ;
var p = 0 ; for ( e = d . length ; p < e ; p ++ ) { var f = d [ p ] ; if ( a . isArray ( f ) ) u ( c , f ) ; else { h = g = "" ; switch ( f ) { case "ellipsis" : g = "…" ; h = "disabled" ; break ; case "first" : g = n . sFirst ; h = f + ( 0 < m ? "" : " disabled" ) ; break ; case "previous" : g = n . sPrevious ; h = f + ( 0 < m ? "" : " disabled" ) ; break ; case "next" : g = n . sNext ; h = f + ( m < r - 1 ? "" : " disabled" ) ; break ; case "last" : g = n . sLast ; h = f + ( m < r - 1 ? "" : " disabled" ) ; break ; default : g = f + 1 , h = m === f ? "active" : "" } var q = - 1 === h . indexOf ( "disabled" ) ? "a" : "div" ; g && ( q = a ( "<" + q + ">" , { "class" : y . sPageButton + " " + h , id : 0 === w && "string" ===
2020-05-21 11:25:40 +02:00
typeof f ? b . sTableId + "_" + f : null , href : "#" , "aria-controls" : b . sTableId , "aria-label" : z [ f ] , "data-dt-idx" : t , tabindex : b . iTabIndex } ) . html ( g ) . appendTo ( c ) , b . oApi . _fnBindAction ( q , { action : f } , l ) , t ++ ) } } } ; try { var v = a ( l ) . find ( c . activeElement ) . data ( "dt-idx" ) } catch ( A ) { } u ( a ( l ) . empty ( ) . html ( '<div class="ui stackable pagination menu"/>' ) . children ( ) , x ) ; v !== e && a ( l ) . find ( "[data-dt-idx=" + v + "]" ) . focus ( ) } ; a ( c ) . on ( "init.dt" , function ( b , c ) { "dt" === b . namespace && ( b = new a . fn . dataTable . Api ( c ) , a . fn . dropdown && a ( "div.dataTables_length select" ,
b . table ( ) . container ( ) ) . dropdown ( ) , a ( "div.dataTables_filter.ui.input" , b . table ( ) . container ( ) ) . removeClass ( "input" ) . addClass ( "form" ) , a ( "div.dataTables_filter input" , b . table ( ) . container ( ) ) . wrap ( '<span class="ui input" />' ) ) } ) ; return d } ) ;