1
+ /*! jQuery Migrate v3.0.1 | (c) jQuery Foundation and other contributors | jquery.org/license */
2
+
3
+ void 0 === jQuery . migrateMute && ( jQuery . migrateMute = ! 0 ) , function ( e ) {
4
+ "function" == typeof define && define . amd ? define ( [ "jquery" ] , window , e ) : "object" == typeof module && module . exports ? module . exports = e ( require ( "jquery" ) , window ) : e ( jQuery , window ) ;
5
+ } ( function ( e , t ) {
6
+ "use strict" ;
7
+ function r ( r ) {
8
+ var n = t . console ;
9
+ o [ r ] || ( o [ r ] = ! 0 , e . migrateWarnings . push ( r ) , n && n . warn && ! e . migrateMute && ( n . warn ( "JQMIGRATE: " + r ) ,
10
+ e . migrateTrace && n . trace && n . trace ( ) ) ) ;
11
+ }
12
+ function n ( e , t , n , a ) {
13
+ Object . defineProperty ( e , t , {
14
+ configurable : ! 0 ,
15
+ enumerable : ! 0 ,
16
+ get : function ( ) {
17
+ return r ( a ) , n ;
18
+ } ,
19
+ set : function ( e ) {
20
+ r ( a ) , n = e ;
21
+ }
22
+ } ) ;
23
+ }
24
+ function a ( e , t , n , a ) {
25
+ e [ t ] = function ( ) {
26
+ return r ( a ) , n . apply ( this , arguments ) ;
27
+ } ;
28
+ }
29
+ e . migrateVersion = "3.0.1" , function ( ) {
30
+ var r = / ^ [ 1 2 ] \. / ;
31
+ t . console && t . console . log && ( e && ! r . test ( e . fn . jquery ) || t . console . log ( "JQMIGRATE: jQuery 3.0.0+ REQUIRED" ) ,
32
+ e . migrateWarnings && t . console . log ( "JQMIGRATE: Migrate plugin loaded multiple times" ) ,
33
+ t . console . log ( "JQMIGRATE: Migrate is installed" + ( e . migrateMute ? "" : " with logging active" ) + ", version " + e . migrateVersion ) ) ;
34
+ } ( ) ;
35
+ var o = { } ;
36
+ e . migrateWarnings = [ ] , void 0 === e . migrateTrace && ( e . migrateTrace = ! 0 ) , e . migrateReset = function ( ) {
37
+ o = { } , e . migrateWarnings . length = 0 ;
38
+ } , "BackCompat" === t . document . compatMode && r ( "jQuery is not compatible with Quirks Mode" ) ;
39
+ var i = e . fn . init , s = e . isNumeric , u = e . find , c = / \[ ( \s * [ - \w ] + \s * ) ( [ ~ | ^ $ * ] ? = ) \s * ( [ - \w # ] * ?# [ - \w # ] * ) \s * \] / , l = / \[ ( \s * [ - \w ] + \s * ) ( [ ~ | ^ $ * ] ? = ) \s * ( [ - \w # ] * ?# [ - \w # ] * ) \s * \] / g;
40
+ e . fn . init = function ( e ) {
41
+ var t = Array . prototype . slice . call ( arguments ) ;
42
+ return "string" == typeof e && "#" === e && ( r ( "jQuery( '#' ) is not a valid selector" ) ,
43
+ t [ 0 ] = [ ] ) , i . apply ( this , t ) ;
44
+ } , e . fn . init . prototype = e . fn , e . find = function ( e ) {
45
+ var n = Array . prototype . slice . call ( arguments ) ;
46
+ if ( "string" == typeof e && c . test ( e ) ) try {
47
+ t . document . querySelector ( e ) ;
48
+ } catch ( a ) {
49
+ e = e . replace ( l , function ( e , t , r , n ) {
50
+ return "[" + t + r + '"' + n + '"]' ;
51
+ } ) ;
52
+ try {
53
+ t . document . querySelector ( e ) , r ( "Attribute selector with '#' must be quoted: " + n [ 0 ] ) ,
54
+ n [ 0 ] = e ;
55
+ } catch ( e ) {
56
+ r ( "Attribute selector with '#' was not fixed: " + n [ 0 ] ) ;
57
+ }
58
+ }
59
+ return u . apply ( this , n ) ;
60
+ } ;
61
+ var d ;
62
+ for ( d in u ) Object . prototype . hasOwnProperty . call ( u , d ) && ( e . find [ d ] = u [ d ] ) ;
63
+ e . fn . size = function ( ) {
64
+ return r ( "jQuery.fn.size() is deprecated and removed; use the .length property" ) ,
65
+ this . length ;
66
+ } , e . parseJSON = function ( ) {
67
+ return r ( "jQuery.parseJSON is deprecated; use JSON.parse" ) , JSON . parse . apply ( null , arguments ) ;
68
+ } , e . isNumeric = function ( t ) {
69
+ var n = s ( t ) , a = function ( t ) {
70
+ var r = t && t . toString ( ) ;
71
+ return ! e . isArray ( t ) && r - parseFloat ( r ) + 1 >= 0 ;
72
+ } ( t ) ;
73
+ return n !== a && r ( "jQuery.isNumeric() should not be called on constructed objects" ) ,
74
+ a ;
75
+ } , a ( e , "holdReady" , e . holdReady , "jQuery.holdReady is deprecated" ) , a ( e , "unique" , e . uniqueSort , "jQuery.unique is deprecated; use jQuery.uniqueSort" ) ,
76
+ n ( e . expr , "filters" , e . expr . pseudos , "jQuery.expr.filters is deprecated; use jQuery.expr.pseudos" ) ,
77
+ n ( e . expr , ":" , e . expr . pseudos , "jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos" ) ;
78
+ var p = e . ajax ;
79
+ e . ajax = function ( ) {
80
+ var e = p . apply ( this , arguments ) ;
81
+ return e . promise && ( a ( e , "success" , e . done , "jQXHR.success is deprecated and removed" ) ,
82
+ a ( e , "error" , e . fail , "jQXHR.error is deprecated and removed" ) , a ( e , "complete" , e . always , "jQXHR.complete is deprecated and removed" ) ) ,
83
+ e ;
84
+ } ;
85
+ var f = e . fn . removeAttr , y = e . fn . toggleClass , m = / \S + / g;
86
+ e . fn . removeAttr = function ( t ) {
87
+ var n = this ;
88
+ return e . each ( t . match ( m ) , function ( t , a ) {
89
+ e . expr . match . bool . test ( a ) && ( r ( "jQuery.fn.removeAttr no longer sets boolean properties: " + a ) ,
90
+ n . prop ( a , ! 1 ) ) ;
91
+ } ) , f . apply ( this , arguments ) ;
92
+ } , e . fn . toggleClass = function ( t ) {
93
+ return void 0 !== t && "boolean" != typeof t ? y . apply ( this , arguments ) : ( r ( "jQuery.fn.toggleClass( boolean ) is deprecated" ) ,
94
+ this . each ( function ( ) {
95
+ var r = this . getAttribute && this . getAttribute ( "class" ) || "" ;
96
+ r && e . data ( this , "__className__" , r ) , this . setAttribute && this . setAttribute ( "class" , r || ! 1 === t ? "" : e . data ( this , "__className__" ) || "" ) ;
97
+ } ) ) ;
98
+ } ;
99
+ var h = ! 1 ;
100
+ e . swap && e . each ( [ "height" , "width" , "reliableMarginRight" ] , function ( t , r ) {
101
+ var n = e . cssHooks [ r ] && e . cssHooks [ r ] . get ;
102
+ n && ( e . cssHooks [ r ] . get = function ( ) {
103
+ var e ;
104
+ return h = ! 0 , e = n . apply ( this , arguments ) , h = ! 1 , e ;
105
+ } ) ;
106
+ } ) , e . swap = function ( e , t , n , a ) {
107
+ var o , i , s = { } ;
108
+ h || r ( "jQuery.swap() is undocumented and deprecated" ) ;
109
+ for ( i in t ) s [ i ] = e . style [ i ] , e . style [ i ] = t [ i ] ;
110
+ o = n . apply ( e , a || [ ] ) ;
111
+ for ( i in t ) e . style [ i ] = s [ i ] ;
112
+ return o ;
113
+ } ;
114
+ var g = e . data ;
115
+ e . data = function ( t , n , a ) {
116
+ var o ;
117
+ if ( n && "object" == typeof n && 2 === arguments . length ) {
118
+ o = e . hasData ( t ) && g . call ( this , t ) ;
119
+ var i = { } ;
120
+ for ( var s in n ) s !== e . camelCase ( s ) ? ( r ( "jQuery.data() always sets/gets camelCased names: " + s ) ,
121
+ o [ s ] = n [ s ] ) : i [ s ] = n [ s ] ;
122
+ return g . call ( this , t , i ) , n ;
123
+ }
124
+ return n && "string" == typeof n && n !== e . camelCase ( n ) && ( o = e . hasData ( t ) && g . call ( this , t ) ) && n in o ? ( r ( "jQuery.data() always sets/gets camelCased names: " + n ) ,
125
+ arguments . length > 2 && ( o [ n ] = a ) , o [ n ] ) : g . apply ( this , arguments ) ;
126
+ } ;
127
+ var v = e . Tween . prototype . run , j = function ( e ) {
128
+ return e ;
129
+ } ;
130
+ e . Tween . prototype . run = function ( ) {
131
+ e . easing [ this . easing ] . length > 1 && ( r ( "'jQuery.easing." + this . easing . toString ( ) + "' should use only one argument" ) ,
132
+ e . easing [ this . easing ] = j ) , v . apply ( this , arguments ) ;
133
+ } , e . fx . interval = e . fx . interval || 13 , t . requestAnimationFrame && n ( e . fx , "interval" , e . fx . interval , "jQuery.fx.interval is deprecated" ) ;
134
+ var Q = e . fn . load , b = e . event . add , w = e . event . fix ;
135
+ e . event . props = [ ] , e . event . fixHooks = { } , n ( e . event . props , "concat" , e . event . props . concat , "jQuery.event.props.concat() is deprecated and removed" ) ,
136
+ e . event . fix = function ( t ) {
137
+ var n , a = t . type , o = this . fixHooks [ a ] , i = e . event . props ;
138
+ if ( i . length ) for ( r ( "jQuery.event.props are deprecated and removed: " + i . join ( ) ) ; i . length ; ) e . event . addProp ( i . pop ( ) ) ;
139
+ if ( o && ! o . _migrated_ && ( o . _migrated_ = ! 0 , r ( "jQuery.event.fixHooks are deprecated and removed: " + a ) ,
140
+ ( i = o . props ) && i . length ) ) for ( ; i . length ; ) e . event . addProp ( i . pop ( ) ) ;
141
+ return n = w . call ( this , t ) , o && o . filter ? o . filter ( n , t ) : n ;
142
+ } , e . event . add = function ( e , n ) {
143
+ return e === t && "load" === n && "complete" === t . document . readyState && r ( "jQuery(window).on('load'...) called after load event occurred" ) ,
144
+ b . apply ( this , arguments ) ;
145
+ } , e . each ( [ "load" , "unload" , "error" ] , function ( t , n ) {
146
+ e . fn [ n ] = function ( ) {
147
+ var e = Array . prototype . slice . call ( arguments , 0 ) ;
148
+ return "load" === n && "string" == typeof e [ 0 ] ? Q . apply ( this , e ) : ( r ( "jQuery.fn." + n + "() is deprecated" ) ,
149
+ e . splice ( 0 , 0 , n ) , arguments . length ? this . on . apply ( this , e ) : ( this . triggerHandler . apply ( this , e ) ,
150
+ this ) ) ;
151
+ } ;
152
+ } ) , e . each ( "blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu" . split ( " " ) , function ( t , n ) {
153
+ e . fn [ n ] = function ( e , t ) {
154
+ return r ( "jQuery.fn." + n + "() event shorthand is deprecated" ) , arguments . length > 0 ? this . on ( n , null , e , t ) : this . trigger ( n ) ;
155
+ } ;
156
+ } ) , e ( function ( ) {
157
+ e ( t . document ) . triggerHandler ( "ready" ) ;
158
+ } ) , e . event . special . ready = {
159
+ setup : function ( ) {
160
+ this === t . document && r ( "'ready' event is deprecated" ) ;
161
+ }
162
+ } , e . fn . extend ( {
163
+ bind : function ( e , t , n ) {
164
+ return r ( "jQuery.fn.bind() is deprecated" ) , this . on ( e , null , t , n ) ;
165
+ } ,
166
+ unbind : function ( e , t ) {
167
+ return r ( "jQuery.fn.unbind() is deprecated" ) , this . off ( e , null , t ) ;
168
+ } ,
169
+ delegate : function ( e , t , n , a ) {
170
+ return r ( "jQuery.fn.delegate() is deprecated" ) , this . on ( t , e , n , a ) ;
171
+ } ,
172
+ undelegate : function ( e , t , n ) {
173
+ return r ( "jQuery.fn.undelegate() is deprecated" ) , 1 === arguments . length ? this . off ( e , "**" ) : this . off ( t , e || "**" , n ) ;
174
+ } ,
175
+ hover : function ( e , t ) {
176
+ return r ( "jQuery.fn.hover() is deprecated" ) , this . on ( "mouseenter" , e ) . on ( "mouseleave" , t || e ) ;
177
+ }
178
+ } ) ;
179
+ var x = e . fn . offset ;
180
+ e . fn . offset = function ( ) {
181
+ var n , a = this [ 0 ] , o = {
182
+ top : 0 ,
183
+ left : 0
184
+ } ;
185
+ return a && a . nodeType ? ( n = ( a . ownerDocument || t . document ) . documentElement , e . contains ( n , a ) ? x . apply ( this , arguments ) : ( r ( "jQuery.fn.offset() requires an element connected to a document" ) ,
186
+ o ) ) : ( r ( "jQuery.fn.offset() requires a valid DOM element" ) , o ) ;
187
+ } ;
188
+ var k = e . param ;
189
+ e . param = function ( t , n ) {
190
+ var a = e . ajaxSettings && e . ajaxSettings . traditional ;
191
+ return void 0 === n && a && ( r ( "jQuery.param() no longer uses jQuery.ajaxSettings.traditional" ) ,
192
+ n = a ) , k . call ( this , t , n ) ;
193
+ } ;
194
+ var A = e . fn . andSelf || e . fn . addBack ;
195
+ e . fn . andSelf = function ( ) {
196
+ return r ( "jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()" ) ,
197
+ A . apply ( this , arguments ) ;
198
+ } ;
199
+ var S = e . Deferred , q = [ [ "resolve" , "done" , e . Callbacks ( "once memory" ) , e . Callbacks ( "once memory" ) , "resolved" ] , [ "reject" , "fail" , e . Callbacks ( "once memory" ) , e . Callbacks ( "once memory" ) , "rejected" ] , [ "notify" , "progress" , e . Callbacks ( "memory" ) , e . Callbacks ( "memory" ) ] ] ;
200
+ return e . Deferred = function ( t ) {
201
+ var n = S ( ) , a = n . promise ( ) ;
202
+ return n . pipe = a . pipe = function ( ) {
203
+ var t = arguments ;
204
+ return r ( "deferred.pipe() is deprecated" ) , e . Deferred ( function ( r ) {
205
+ e . each ( q , function ( o , i ) {
206
+ var s = e . isFunction ( t [ o ] ) && t [ o ] ;
207
+ n [ i [ 1 ] ] ( function ( ) {
208
+ var t = s && s . apply ( this , arguments ) ;
209
+ t && e . isFunction ( t . promise ) ? t . promise ( ) . done ( r . resolve ) . fail ( r . reject ) . progress ( r . notify ) : r [ i [ 0 ] + "With" ] ( this === a ? r . promise ( ) : this , s ? [ t ] : arguments ) ;
210
+ } ) ;
211
+ } ) , t = null ;
212
+ } ) . promise ( ) ;
213
+ } , t && t . call ( n , n ) , n ;
214
+ } , e . Deferred . exceptionHook = S . exceptionHook , e ;
215
+ } ) ;
0 commit comments