2018-07-01 09:27:35 +02:00
! function ( a ) { "function" == typeof define && define . amd ? define ( [ "jquery" ] , a ) : a ( "object" == typeof exports ? require ( "jquery" ) : jQuery ) } ( function ( a , b ) { function c ( ) { return new Date ( Date . UTC . apply ( Date , arguments ) ) } function d ( ) { var a = new Date ; return c ( a . getFullYear ( ) , a . getMonth ( ) , a . getDate ( ) ) } function e ( a , b ) { return a . getUTCFullYear ( ) === b . getUTCFullYear ( ) && a . getUTCMonth ( ) === b . getUTCMonth ( ) && a . getUTCDate ( ) === b . getUTCDate ( ) } function f ( c , d ) { return function ( ) { return d !== b && a . fn . datepicker . deprecated ( d ) , this [ c ] . apply ( this , arguments ) } } function g ( a ) { return a && ! isNaN ( a . getTime ( ) ) } function h ( b , c ) { function d ( a , b ) { return b . toLowerCase ( ) } var e , f = a ( b ) . data ( ) , g = { } , h = new RegExp ( "^" + c . toLowerCase ( ) + "([A-Z])" ) ; c = new RegExp ( "^" + c . toLowerCase ( ) ) ; for ( var i in f ) c . test ( i ) && ( e = i . replace ( h , d ) , g [ e ] = f [ i ] ) ; return g } function i ( b ) { var c = { } ; if ( q [ b ] || ( b = b . split ( "-" ) [ 0 ] , q [ b ] ) ) { var d = q [ b ] ; return a . each ( p , function ( a , b ) { b in d && ( c [ b ] = d [ b ] ) } ) , c } } var j = function ( ) { var b = { get : function ( a ) { return this . slice ( a ) [ 0 ] } , contains : function ( a ) { for ( var b = a && a . valueOf ( ) , c = 0 , d = this . length ; c < d ; c ++ ) if ( 0 <= this [ c ] . valueOf ( ) - b && this [ c ] . valueOf ( ) - b < 864e5 ) return c ; return - 1 } , remove : function ( a ) { this . splice ( a , 1 ) } , replace : function ( b ) { b && ( a . isArray ( b ) || ( b = [ b ] ) , this . clear ( ) , this . push . apply ( this , b ) ) } , clear : function ( ) { this . length = 0 } , copy : function ( ) { var a = new j ; return a . replace ( this ) , a } } ; return function ( ) { var c = [ ] ; return c . push . apply ( c , arguments ) , a . extend ( c , b ) , c } } ( ) , k = function ( b , c ) { a . data ( b , "datepicker" , this ) , this . _process _options ( c ) , this . dates = new j , this . viewDate = this . o . defaultViewDate , this . focusDate = null , this . element = a ( b ) , this . isInput = this . element . is ( "input" ) , this . inputField = this . isInput ? this . element : this . element . find ( "input" ) , this . component = ! ! this . element . hasClass ( "date" ) && this . element . find ( ".add-on, .input-group-addon, .btn" ) , this . component && 0 === this . component . length && ( this . component = ! 1 ) , this . isInline = ! this . component && this . element . is ( "div" ) , this . picker = a ( r . template ) , this . _check _template ( this . o . templates . leftArrow ) && this . picker . find ( ".prev" ) . html ( this . o . templates . leftArrow ) , this . _check _template ( this . o . templates . rightArrow ) && this . picker . find ( ".next" ) . html ( this . o . templates . rightArrow ) , this . _buildEvents ( ) , this . _attachEvents ( ) , this . isInline ? this . picker . addClass ( "datepicker-inline" ) . appendTo ( this . element ) : this . picker . addClass ( "datepicker-dropdown dropdown-menu" ) , this . o . rtl && this . picker . addClass ( "datepicker-rtl" ) , this . o . calendarWeeks && this . picker . find ( ".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear" ) . attr ( "colspan" , function ( a , b ) { return Number ( b ) + 1 } ) , this . _process _options ( { startDate : this . _o . startDate , endDate : this . _o . endDate , daysOfWeekDisabled : this . o . daysOfWeekDisabled , daysOfWeekHighlighted : this . o . daysOfWeekHighlighted , datesDisabled : this . o . datesDisabled } ) , this . _allow _update = ! 1 , this . setViewMode ( this . o . startView ) , this . _allow _update = ! 0 , this . fillDow ( ) , this . fillMonths ( ) , this . update ( ) , this . isInline && this . show ( ) } ; k . prototype = { constructor : k , _resolveViewName : function ( b ) { return a . each ( r . viewModes , function ( c , d ) { if ( b === c || a . inArray ( b , d . names ) !== - 1 ) return b = c , ! 1 } ) , b } , _resolveDaysOfWeek : function ( b ) { return a . isArray ( b ) || ( b = b . split ( /[,\s]*/ ) ) , a . map ( b , Number ) } , _check _template : function ( c ) { try { if ( c === b || "" === c ) return ! 1 ; if ( ( c . match ( /[<>]/g ) || [ ] ) . length <= 0 ) return ! 0 ; var d = a ( c ) ; return d . length > 0 } catch ( a ) { return ! 1 } } , _process _options : function ( b ) { this . _o = a . extend ( { } , this . _o , b ) ; var e = this . o = a . extend ( { } , this . _o ) , f = e . language ; q [ f ] || ( f = f . split ( "-" ) [ 0 ] , q [ f ] || ( f = o . language ) ) , e . language = f , e . startView = this . _resolveViewName ( e . startView ) , e . minViewMode = this . _resolveViewName ( e . minViewMode ) , e . maxViewMode = this . _resolveViewName ( e . maxViewMode ) , e . startView = Math . max ( this . o . minViewMode , Math . min ( this . o . maxViewMode , e . startView ) ) , e . multidate !== ! 0 && ( e . multidate = Number ( e . multidate ) || ! 1 , e . multidate !== ! 1 && ( e . multidate = Math . max ( 0 , e . multidate ) ) ) , e . multidateSeparator = String ( e . multidateSeparator ) , e . weekStart %= 7 , e . weekEnd = ( e . weekStart + 6 ) % 7 ; var g = r . parseFormat ( e . format ) ; e . startDate !== - ( 1 / 0 ) && ( e . startDate ? e . startDate instanceof Date ? e . startDate = this . _local _to _utc ( this . _zero _time ( e . startDate ) ) : e . startDate = r . parseDate ( e . star