Comparing version 2.1.1 to 2.1.2
@@ -213,3 +213,3 @@ Authors ordered by first contribution. | ||
Ilya Kantor <iliakan@gmail.com> | ||
hongymagic <d.hong@me.com> | ||
David Hong <d.hong@me.com> | ||
John Paul <john@johnkpaul.com> | ||
@@ -220,2 +220,3 @@ Jakob Stoeck <jakob@pokermania.de> | ||
S. Andrew Sheppard <andrew@wq.io> | ||
Leonardo Balter <leonardo.balter@gmail.com> | ||
Roman Reiß <me@silverwind.io> | ||
@@ -227,2 +228,3 @@ Benjy Cui <benjytrys@gmail.com> | ||
Christian Kosmowski <ksmwsk@gmail.com> | ||
Liang Peng <poppinlp@gmail.com> | ||
TJ VanToll <tj.vantoll@gmail.com> |
{ | ||
"name": "jquery", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"main": "dist/jquery.js", | ||
@@ -17,3 +17,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"sizzle": "1.10.19", | ||
"sizzle": "2.1.1-jquery.2.1.2", | ||
"requirejs": "2.1.10", | ||
@@ -20,0 +20,0 @@ "qunit": "1.14.0", |
@@ -5,3 +5,3 @@ { | ||
"description": "JavaScript library for DOM operations", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"main": "dist/jquery.js", | ||
@@ -11,3 +11,3 @@ "homepage": "http://jquery.com", | ||
"name": "jQuery Foundation and other contributors", | ||
"url": "https://github.com/jquery/jquery/blob/2.1.1/AUTHORS.txt" | ||
"url": "https://github.com/jquery/jquery/blob/2.1.2/AUTHORS.txt" | ||
}, | ||
@@ -30,3 +30,3 @@ "repository": { | ||
"type": "MIT", | ||
"url": "https://github.com/jquery/jquery/blob/2.1.1/MIT-LICENSE.txt" | ||
"url": "https://github.com/jquery/jquery/blob/2.1.2/MIT-LICENSE.txt" | ||
} | ||
@@ -33,0 +33,0 @@ ], |
@@ -13,6 +13,2 @@ define([ | ||
var | ||
// Document location | ||
ajaxLocParts, | ||
ajaxLocation, | ||
rhash = /#.*$/, | ||
@@ -46,18 +42,9 @@ rts = /([?&])_=[^&]*/, | ||
// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression | ||
allTypes = "*/".concat("*"); | ||
allTypes = "*/".concat( "*" ), | ||
// #8138, IE may throw an exception when accessing | ||
// a field from window.location if document.domain has been set | ||
try { | ||
ajaxLocation = location.href; | ||
} catch( e ) { | ||
// Use the href attribute of an A element | ||
// since IE will modify it given document.location | ||
ajaxLocation = document.createElement( "a" ); | ||
ajaxLocation.href = ""; | ||
ajaxLocation = ajaxLocation.href; | ||
} | ||
// Document location | ||
ajaxLocation = location.href, | ||
// Segment location into parts | ||
ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || []; | ||
// Segment location into parts | ||
ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || []; | ||
@@ -541,3 +528,4 @@ // Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport | ||
// We can fire global events as of now if asked to | ||
fireGlobals = s.global; | ||
// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) | ||
fireGlobals = jQuery.event && s.global; | ||
@@ -615,3 +603,3 @@ // Watch for a new set of requests | ||
// aborting is no longer a cancellation | ||
// Aborting is no longer a cancellation | ||
strAbort = "abort"; | ||
@@ -728,4 +716,3 @@ | ||
} else { | ||
// We extract error from statusText | ||
// then normalize statusText and status for non-aborts | ||
// Extract error from statusText and normalize for non-aborts | ||
error = statusText; | ||
@@ -786,3 +773,3 @@ if ( status || !statusText ) { | ||
jQuery[ method ] = function( url, data, callback, type ) { | ||
// shift arguments if data argument was omitted | ||
// Shift arguments if data argument was omitted | ||
if ( jQuery.isFunction( data ) ) { | ||
@@ -804,10 +791,3 @@ type = type || callback; | ||
// Attach a bunch of functions for handling common AJAX events | ||
jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) { | ||
jQuery.fn[ type ] = function( fn ) { | ||
return this.on( type, fn ); | ||
}; | ||
}); | ||
return jQuery; | ||
}); |
@@ -26,4 +26,5 @@ define([ | ||
// Open requests must be manually aborted on unload (#5280) | ||
if ( window.ActiveXObject ) { | ||
jQuery( window ).on( "unload", function() { | ||
// See https://support.microsoft.com/kb/2856746 for more info | ||
if ( window.attachEvent ) { | ||
window.attachEvent( "onunload", function() { | ||
for ( var key in xhrCallbacks ) { | ||
@@ -30,0 +31,0 @@ xhrCallbacks[ key ](); |
@@ -99,4 +99,2 @@ define([ | ||
jQuery.nodeName( elem, "input" ) ) { | ||
// Setting the type on a radio button after the value resets the value in IE6-9 | ||
// Reset value to default in case type is set after value during creation | ||
var val = elem.value; | ||
@@ -103,0 +101,0 @@ elem.setAttribute( "type", value ); |
@@ -86,3 +86,3 @@ define([ | ||
// only assign if different to avoid unneeded rendering. | ||
// Only assign if different to avoid unneeded rendering. | ||
finalValue = value ? jQuery.trim( cur ) : ""; | ||
@@ -114,3 +114,3 @@ if ( elem.className !== finalValue ) { | ||
if ( type === "string" ) { | ||
// toggle individual class names | ||
// Toggle individual class names | ||
var className, | ||
@@ -122,3 +122,3 @@ i = 0, | ||
while ( (className = classNames[ i++ ]) ) { | ||
// check each className given, space separated list | ||
// Check each className given, space separated list | ||
if ( self.hasClass( className ) ) { | ||
@@ -138,3 +138,3 @@ self.removeClass( className ); | ||
// If the element has a class name or if we're passed "false", | ||
// If the element has a class name or if we're passed `false`, | ||
// then remove the whole classname (if there was one, the above saved it). | ||
@@ -141,0 +141,0 @@ // Otherwise bring back whatever was previously saved (if anything), |
@@ -31,3 +31,3 @@ define([ | ||
// don't get/set properties on text, comment and attribute nodes | ||
// Don't get/set properties on text, comment and attribute nodes | ||
if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { | ||
@@ -68,4 +68,2 @@ return; | ||
// Support: IE9+ | ||
// Selectedness for an option in an optgroup can be inaccurate | ||
if ( !support.optSelected ) { | ||
@@ -72,0 +70,0 @@ jQuery.propHooks.selected = { |
@@ -12,17 +12,17 @@ define([ | ||
// Support: iOS 5.1, Android 4.x, Android 2.3 | ||
// Check the default checkbox/radio value ("" on old WebKit; "on" elsewhere) | ||
// Support: iOS<=5.1, Android<=4.2+ | ||
// Default value for a checkbox should be "on" | ||
support.checkOn = input.value !== ""; | ||
// Must access the parent to make an option select properly | ||
// Support: IE9, IE10 | ||
// Support: IE<=11+ | ||
// Must access selectedIndex to make default options select | ||
support.optSelected = opt.selected; | ||
// Make sure that the options inside disabled selects aren't marked as disabled | ||
// (WebKit marks them as disabled) | ||
// Support: Android<=2.3 | ||
// Options inside disabled selects are incorrectly marked as disabled | ||
select.disabled = true; | ||
support.optDisabled = !opt.disabled; | ||
// Check if an input maintains its value after becoming a radio | ||
// Support: IE9, IE10 | ||
// Support: IE<=11+ | ||
// An input loses its value after becoming a radio | ||
input = document.createElement( "input" ); | ||
@@ -29,0 +29,0 @@ input.value = "t"; |
@@ -25,5 +25,5 @@ define([ | ||
return typeof ret === "string" ? | ||
// handle most common string cases | ||
// Handle most common string cases | ||
ret.replace(rreturn, "") : | ||
// handle cases where value is null/undef or number | ||
// Handle cases where value is null/undef or number | ||
ret == null ? "" : ret; | ||
@@ -136,3 +136,3 @@ } | ||
// force browsers to behave consistently when non-matching value is set | ||
// Force browsers to behave consistently when non-matching value is set | ||
if ( !optionSet ) { | ||
@@ -158,4 +158,2 @@ elem.selectedIndex = -1; | ||
jQuery.valHooks[ this ].get = function( elem ) { | ||
// Support: Webkit | ||
// "" is returned instead of "on" if a value isn't specified | ||
return elem.getAttribute("value") === null ? "on" : elem.value; | ||
@@ -162,0 +160,0 @@ }; |
@@ -135,3 +135,3 @@ define([ | ||
// skip the boolean and the target | ||
// Skip the boolean and the target | ||
target = arguments[ i ] || {}; | ||
@@ -146,3 +146,3 @@ i++; | ||
// extend jQuery itself if only one argument is passed | ||
// Extend jQuery itself if only one argument is passed | ||
if ( i === length ) { | ||
@@ -204,5 +204,2 @@ target = this; | ||
// See test/unit/core.js for details concerning isFunction. | ||
// Since version 1.3, DOM methods and functions like alert | ||
// aren't supported. They return false on IE (#2968). | ||
isFunction: function( obj ) { | ||
@@ -222,3 +219,4 @@ return jQuery.type(obj) === "function"; | ||
// subtraction forces infinities to NaN | ||
return !jQuery.isArray( obj ) && obj - parseFloat( obj ) >= 0; | ||
// adding 1 corrects loss of precision from parseFloat (#15100) | ||
return !jQuery.isArray( obj ) && (obj - parseFloat( obj ) + 1) >= 0; | ||
}, | ||
@@ -257,3 +255,3 @@ | ||
} | ||
// Support: Android < 4.0, iOS < 6 (functionish RegExp) | ||
// Support: Android<4.0, iOS<6 (functionish RegExp) | ||
return typeof obj === "object" || typeof obj === "function" ? | ||
@@ -288,2 +286,3 @@ class2type[ toString.call(obj) ] || "object" : | ||
// Convert dashed to camelCase; used by the css and data modules | ||
// Support: IE9-11+ | ||
// Microsoft forgot to hump their vendor prefix (#9572) | ||
@@ -290,0 +289,0 @@ camelCase: function( string ) { |
@@ -41,3 +41,3 @@ // Initialize a jQuery object | ||
// scripts is true for back-compat | ||
// Option to run scripts is true for back-compat | ||
// Intentionally let the error be thrown if parseHTML is not present | ||
@@ -70,4 +70,4 @@ jQuery.merge( this, jQuery.parseHTML( | ||
// Check parentNode to catch when Blackberry 4.6 returns | ||
// nodes that are no longer in the document #6963 | ||
// Support: Blackberry 4.6 | ||
// gEBID returns nodes no longer in the document (#6963) | ||
if ( elem && elem.parentNode ) { | ||
@@ -74,0 +74,0 @@ // Inject the element directly into the jQuery object |
@@ -76,3 +76,3 @@ define([ | ||
// Catch cases where $(document).ready() is called after the browser event has already occurred. | ||
// we once tried to use readyState "interactive" here, but it caused issues like the one | ||
// We once tried to use readyState "interactive" here, but it caused issues like the one | ||
// discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 | ||
@@ -79,0 +79,0 @@ if ( document.readyState === "complete" ) { |
@@ -24,4 +24,4 @@ define([ | ||
var | ||
// swappable if display is none or starts with table except "table", "table-cell", or "table-caption" | ||
// see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display | ||
// Swappable if display is none or starts with table except "table", "table-cell", or "table-caption" | ||
// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display | ||
rdisplayswap = /^(none|table(?!-c[ea]).+)/, | ||
@@ -39,6 +39,6 @@ rnumsplit = new RegExp( "^(" + pnum + ")(.*)$", "i" ), | ||
// return a css property mapped to a potentially vendor prefixed property | ||
// Return a css property mapped to a potentially vendor prefixed property | ||
function vendorPropName( style, name ) { | ||
// shortcut for names that are not vendor prefixed | ||
// Shortcut for names that are not vendor prefixed | ||
if ( name in style ) { | ||
@@ -48,3 +48,3 @@ return name; | ||
// check for vendor prefixed names | ||
// Check for vendor prefixed names | ||
var capName = name[0].toUpperCase() + name.slice(1), | ||
@@ -82,3 +82,3 @@ origName = name, | ||
for ( ; i < 4; i += 2 ) { | ||
// both box models exclude margin, so add it if we want it | ||
// Both box models exclude margin, so add it if we want it | ||
if ( extra === "margin" ) { | ||
@@ -94,3 +94,3 @@ val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); | ||
// at this point, extra isn't border nor margin, so remove border | ||
// At this point, extra isn't border nor margin, so remove border | ||
if ( extra !== "margin" ) { | ||
@@ -100,6 +100,6 @@ val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); | ||
} else { | ||
// at this point, extra isn't content, so add padding | ||
// At this point, extra isn't content, so add padding | ||
val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); | ||
// at this point, extra isn't content nor padding, so add border | ||
// At this point, extra isn't content nor padding, so add border | ||
if ( extra !== "padding" ) { | ||
@@ -122,3 +122,3 @@ val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); | ||
// some non-html elements return undefined for offsetWidth, so check for null/undefined | ||
// Some non-html elements return undefined for offsetWidth, so check for null/undefined | ||
// svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 | ||
@@ -138,3 +138,3 @@ // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 | ||
// we need the check for style in case a browser which returns unreliable values | ||
// Check for style in case a browser which returns unreliable values | ||
// for getComputedStyle silently falls back to the reliable elem.style | ||
@@ -148,3 +148,3 @@ valueIsBorderBox = isBorderBox && | ||
// use the active box-sizing model to add/subtract irrelevant styles | ||
// Use the active box-sizing model to add/subtract irrelevant styles | ||
return ( val + | ||
@@ -213,2 +213,3 @@ augmentWidthOrHeight( | ||
jQuery.extend({ | ||
// Add in style property hooks for overriding the default | ||
@@ -220,2 +221,3 @@ // behavior of getting and setting a style property | ||
if ( computed ) { | ||
// We should always get a number back from opacity | ||
@@ -248,3 +250,2 @@ var ret = curCSS( elem, "opacity" ); | ||
cssProps: { | ||
// normalize float css property | ||
"float": "cssFloat" | ||
@@ -255,2 +256,3 @@ }, | ||
style: function( elem, name, value, extra ) { | ||
// Don't set styles on text and comment nodes | ||
@@ -268,4 +270,3 @@ if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { | ||
// gets hook for the prefixed version | ||
// followed by the unprefixed version | ||
// Gets hook for the prefixed version, then unprefixed version | ||
hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; | ||
@@ -277,3 +278,3 @@ | ||
// convert relative number strings (+= or -=) to relative numbers. #7345 | ||
// Convert "+=" or "-=" to relative numbers (#7345) | ||
if ( type === "string" && (ret = rrelNum.exec( value )) ) { | ||
@@ -285,3 +286,3 @@ value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); | ||
// Make sure that null and NaN values aren't set. See: #7116 | ||
// Make sure that null and NaN values aren't set (#7116) | ||
if ( value == null || value !== value ) { | ||
@@ -291,3 +292,3 @@ return; | ||
// If a number was passed in, add 'px' to the (except for certain CSS properties) | ||
// If a number, add 'px' to the (except for certain CSS properties) | ||
if ( type === "number" && !jQuery.cssNumber[ origName ] ) { | ||
@@ -297,4 +298,4 @@ value += "px"; | ||
// Fixes #8908, it can be done more correctly by specifying setters in cssHooks, | ||
// but it would mean to define eight (for every problematic property) identical functions | ||
// Support: IE9-11+ | ||
// background-* props affect original clone's values | ||
if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { | ||
@@ -327,4 +328,3 @@ style[ name ] = "inherit"; | ||
// gets hook for the prefixed version | ||
// followed by the unprefixed version | ||
// Try prefixed name followed by the unprefixed name | ||
hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; | ||
@@ -342,3 +342,3 @@ | ||
//convert "normal" to computed value | ||
// Convert "normal" to computed value | ||
if ( val === "normal" && name in cssNormalTransform ) { | ||
@@ -348,3 +348,3 @@ val = cssNormalTransform[ name ]; | ||
// Return, converting to number if forced or a qualifier was provided and val looks numeric | ||
// Make numeric if forced or a qualifier was provided and val looks numeric | ||
if ( extra === "" || extra ) { | ||
@@ -362,4 +362,5 @@ num = parseFloat( val ); | ||
if ( computed ) { | ||
// certain elements can have dimension info if we invisibly show them | ||
// however, it must have a current display style that would benefit from this | ||
// Certain elements can have dimension info if we invisibly show them | ||
// but it must have a current display style that would benefit | ||
return rdisplayswap.test( jQuery.css( elem, "display" ) ) && elem.offsetWidth === 0 ? | ||
@@ -392,4 +393,2 @@ jQuery.swap( elem, cssShow, function() { | ||
if ( computed ) { | ||
// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right | ||
// Work around by temporarily setting element display to inline-block | ||
return jQuery.swap( elem, { "display": "inline-block" }, | ||
@@ -412,3 +411,3 @@ curCSS, [ elem, "marginRight" ] ); | ||
// assumes a single number if not a string | ||
// Assumes a single number if not a string | ||
parts = typeof value === "string" ? value.split(" ") : [ value ]; | ||
@@ -415,0 +414,0 @@ |
@@ -8,5 +8,4 @@ define(function() { | ||
if ( conditionFn() ) { | ||
// Hook not needed (or it's not possible to use it due to missing dependency), | ||
// remove it. | ||
// Since there are no other hooks for marginRight, remove the whole object. | ||
// Hook not needed (or it's not possible to use it due | ||
// to missing dependency), remove it. | ||
delete this.get; | ||
@@ -17,3 +16,2 @@ return; | ||
// Hook needed; redefine it so that the support test is not executed again. | ||
return (this.get = hookFn).apply( this, arguments ); | ||
@@ -20,0 +18,0 @@ } |
@@ -16,3 +16,3 @@ define([ | ||
// Support: IE9 | ||
// getPropertyValue is only needed for .css('filter') in IE9, see #12537 | ||
// getPropertyValue is only needed for .css('filter') (#12537) | ||
if ( computed ) { | ||
@@ -19,0 +19,0 @@ ret = computed.getPropertyValue( name ) || computed[ name ]; |
@@ -22,3 +22,3 @@ define([ | ||
// Use of this method is a temporary fix (more like optmization) until something better comes along, | ||
// Use of this method is a temporary fix (more like optimization) until something better comes along, | ||
// since it was removed from specification and supported only in FF | ||
@@ -25,0 +25,0 @@ style.display : jQuery.css( elem[ 0 ], "display" ); |
@@ -16,2 +16,4 @@ define([ | ||
// Support: IE9-11+ | ||
// Style of cloned element affects source element cloned (#8908) | ||
div.style.backgroundClip = "content-box"; | ||
@@ -49,2 +51,3 @@ div.cloneNode( true ).style.backgroundClip = ""; | ||
pixelPosition: function() { | ||
// This test is executed only once but we still do memoizing | ||
@@ -63,2 +66,3 @@ // since we can use the boxSizingReliable pre-computing. | ||
reliableMarginRight: function() { | ||
// Support: Android 2.3 | ||
@@ -85,2 +89,3 @@ // Check if div with explicit width and no margin-right incorrectly | ||
docElem.removeChild( container ); | ||
div.removeChild( marginDiv ); | ||
@@ -87,0 +92,0 @@ return ret; |
define(function() { | ||
return function( elem ) { | ||
return elem.ownerDocument.defaultView.getComputedStyle( elem, null ); | ||
// Support: IE<=11+, Firefox<=30+ (#15098, #14150) | ||
// IE throws on elements created in popups | ||
// FF meanwhile throws on frame elements through "defaultView.getComputedStyle" | ||
if ( elem.ownerDocument.defaultView.opener ) { | ||
return elem.ownerDocument.defaultView.getComputedStyle( elem, null ); | ||
} | ||
return window.getComputedStyle( elem, null ); | ||
}; | ||
}); |
@@ -9,13 +9,12 @@ define([ | ||
/* | ||
Implementation Summary | ||
// Implementation Summary | ||
// | ||
// 1. Enforce API surface and semantic compatibility with 1.9.x branch | ||
// 2. Improve the module's maintainability by reducing the storage | ||
// paths to a single mechanism. | ||
// 3. Use the same single mechanism to support "private" and "user" data. | ||
// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) | ||
// 5. Avoid exposing implementation details on user objects (eg. expando properties) | ||
// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 | ||
1. Enforce API surface and semantic compatibility with 1.9.x branch | ||
2. Improve the module's maintainability by reducing the storage | ||
paths to a single mechanism. | ||
3. Use the same single mechanism to support "private" and "user" data. | ||
4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) | ||
5. Avoid exposing implementation details on user objects (eg. expando properties) | ||
6. Provide a clear path for implementation upgrade to WeakMap in 2014 | ||
*/ | ||
var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, | ||
@@ -22,0 +21,0 @@ rmultiDash = /([A-Z])/g; |
@@ -8,3 +8,3 @@ define([ | ||
function Data() { | ||
// Support: Android < 4, | ||
// Support: Android<4, | ||
// Old WebKit does not have Object.preventExtensions/freeze method, | ||
@@ -18,3 +18,3 @@ // return new empty object instead with no [[set]] accessor | ||
this.expando = jQuery.expando + Math.random(); | ||
this.expando = jQuery.expando + Data.uid++; | ||
} | ||
@@ -47,3 +47,3 @@ | ||
// Support: Android < 4 | ||
// Support: Android<4 | ||
// Fallback to a less secure definition | ||
@@ -50,0 +50,0 @@ } catch ( e ) { |
@@ -122,3 +122,3 @@ define([ | ||
// add listeners to Deferred subordinates; treat others as resolved | ||
// Add listeners to Deferred subordinates; treat others as resolved | ||
if ( length > 1 ) { | ||
@@ -140,3 +140,3 @@ progressValues = new Array( length ); | ||
// if we're not waiting on anything, resolve the master | ||
// If we're not waiting on anything, resolve the master | ||
if ( !remaining ) { | ||
@@ -143,0 +143,0 @@ deferred.resolveWith( resolveContexts, resolveValues ); |
@@ -10,3 +10,3 @@ define([ | ||
jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) { | ||
// margin is only for outerHeight, outerWidth | ||
// Margin is only for outerHeight, outerWidth | ||
jQuery.fn[ funcName ] = function( margin, value ) { | ||
@@ -13,0 +13,0 @@ var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), |
@@ -47,4 +47,4 @@ define([ | ||
do { | ||
// If previous iteration zeroed out, double until we get *something* | ||
// Use a string for doubling factor so we don't accidentally see scale as unchanged below | ||
// If previous iteration zeroed out, double until we get *something*. | ||
// Use string for doubling so we don't accidentally see scale as unchanged below | ||
scale = scale || ".5"; | ||
@@ -56,4 +56,4 @@ | ||
// Update scale, tolerating zero or NaN from tween.cur() | ||
// And breaking the loop if scale is unchanged or perfect, or if we've just had enough | ||
// Update scale, tolerating zero or NaN from tween.cur(), | ||
// break the loop if scale is unchanged or perfect, or if we've just had enough | ||
} while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations ); | ||
@@ -90,4 +90,4 @@ } | ||
// if we include width, step value is 1 to do all cssExpand values, | ||
// if we don't include width, step value is 2 to skip over Left and Right | ||
// If we include width, step value is 1 to do all cssExpand values, | ||
// otherwise step value is 2 to skip over Left and Right | ||
includeWidth = includeWidth ? 1 : 0; | ||
@@ -114,3 +114,3 @@ for ( ; i < 4 ; i += 2 - includeWidth ) { | ||
// we're done with this property | ||
// We're done with this property | ||
return tween; | ||
@@ -130,3 +130,3 @@ } | ||
// handle queue: false promises | ||
// Handle queue: false promises | ||
if ( !opts.queue ) { | ||
@@ -146,4 +146,3 @@ hooks = jQuery._queueHooks( elem, "fx" ); | ||
anim.always(function() { | ||
// doing this makes sure that the complete handler will be called | ||
// before this completes | ||
// Ensure the complete handler is called before this completes | ||
anim.always(function() { | ||
@@ -158,3 +157,3 @@ hooks.unqueued--; | ||
// height/width overflow pass | ||
// Height/width overflow pass | ||
if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) { | ||
@@ -221,3 +220,3 @@ // Make sure that nothing sneaks out | ||
// store state if its toggle - enables .stop().toggle() to "reverse" | ||
// Store state if its toggle - enables .stop().toggle() to "reverse" | ||
if ( toggle ) { | ||
@@ -282,4 +281,4 @@ dataShow.hidden = !hidden; | ||
// not quite $.extend, this wont overwrite keys already present. | ||
// also - reusing 'index' from above because we have the correct "name" | ||
// Not quite $.extend, this won't overwrite existing keys. | ||
// Reusing 'index' because we have the correct "name" | ||
for ( index in value ) { | ||
@@ -303,3 +302,3 @@ if ( !( index in props ) ) { | ||
deferred = jQuery.Deferred().always( function() { | ||
// don't match elem in the :animated selector | ||
// Don't match elem in the :animated selector | ||
delete tick.elem; | ||
@@ -313,3 +312,4 @@ }), | ||
remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), | ||
// archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497) | ||
// Support: Android 2.3 | ||
// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) | ||
temp = remaining / animation.duration || 0, | ||
@@ -350,3 +350,3 @@ percent = 1 - temp, | ||
var index = 0, | ||
// if we are going to the end, we want to run all the tweens | ||
// If we are going to the end, we want to run all the tweens | ||
// otherwise we skip this part | ||
@@ -362,4 +362,3 @@ length = gotoEnd ? animation.tweens.length : 0; | ||
// resolve when we played the last frame | ||
// otherwise, reject | ||
// Resolve when we played the last frame; otherwise, reject | ||
if ( gotoEnd ) { | ||
@@ -446,3 +445,3 @@ deferred.resolveWith( elem, [ animation, gotoEnd ] ); | ||
// normalize opt.queue - true/undefined/null -> "fx" | ||
// Normalize opt.queue - true/undefined/null -> "fx" | ||
if ( opt.queue == null || opt.queue === true ) { | ||
@@ -471,6 +470,6 @@ opt.queue = "fx"; | ||
// show any hidden elements after setting opacity to 0 | ||
// Show any hidden elements after setting opacity to 0 | ||
return this.filter( isHidden ).css( "opacity", 0 ).show() | ||
// animate to the value specified | ||
// Animate to the value specified | ||
.end().animate({ opacity: to }, speed, easing, callback ); | ||
@@ -538,5 +537,5 @@ }, | ||
// start the next in the queue if the last step wasn't forced | ||
// timers currently will call their complete callbacks, which will dequeue | ||
// but only if they were gotoEnd | ||
// Start the next in the queue if the last step wasn't forced. | ||
// Timers currently will call their complete callbacks, which | ||
// will dequeue but only if they were gotoEnd. | ||
if ( dequeue || !gotoEnd ) { | ||
@@ -559,6 +558,6 @@ jQuery.dequeue( this, type ); | ||
// enable finishing flag on private data | ||
// Enable finishing flag on private data | ||
data.finish = true; | ||
// empty the queue first | ||
// Empty the queue first | ||
jQuery.queue( this, type, [] ); | ||
@@ -570,3 +569,3 @@ | ||
// look for any active animations, and finish them | ||
// Look for any active animations, and finish them | ||
for ( index = timers.length; index--; ) { | ||
@@ -579,3 +578,3 @@ if ( timers[ index ].elem === this && timers[ index ].queue === type ) { | ||
// look for any animations in the old queue and finish them | ||
// Look for any animations in the old queue and finish them | ||
for ( index = 0; index < length; index++ ) { | ||
@@ -587,3 +586,3 @@ if ( queue[ index ] && queue[ index ].finish ) { | ||
// turn off finishing flag | ||
// Turn off finishing flag | ||
delete data.finish; | ||
@@ -590,0 +589,0 @@ }); |
@@ -67,6 +67,6 @@ define([ | ||
// passing an empty string as a 3rd parameter to .css will automatically | ||
// attempt a parseFloat and fallback to a string if the parse fails | ||
// so, simple values such as "10px" are parsed to Float. | ||
// complex values such as "rotate(1rad)" are returned as is. | ||
// Passing an empty string as a 3rd parameter to .css will automatically | ||
// attempt a parseFloat and fallback to a string if the parse fails. | ||
// Simple values such as "10px" are parsed to Float; | ||
// complex values such as "rotate(1rad)" are returned as-is. | ||
result = jQuery.css( tween.elem, tween.prop, "" ); | ||
@@ -77,4 +77,5 @@ // Empty strings, null, undefined and "auto" are converted to 0. | ||
set: function( tween ) { | ||
// use step hook for back compat - use cssHook if its there - use .style if its | ||
// available and use plain properties where available | ||
// Use step hook for back compat. | ||
// Use cssHook if its there. | ||
// Use .style if available and use plain properties where available. | ||
if ( jQuery.fx.step[ tween.prop ] ) { | ||
@@ -93,3 +94,2 @@ jQuery.fx.step[ tween.prop ]( tween ); | ||
// Panic based approach to setting things on disconnected nodes | ||
Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { | ||
@@ -96,0 +96,0 @@ set: function( tween ) { |
@@ -382,4 +382,4 @@ define([ | ||
// Triggered event must either 1) have no namespace, or | ||
// 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). | ||
// Triggered event must either 1) have no namespace, or 2) have namespace(s) | ||
// a subset or equal to those in the bound event (both can have no namespace). | ||
if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { | ||
@@ -534,3 +534,3 @@ | ||
// Support: Safari 6.0+, Chrome < 28 | ||
// Support: Safari 6.0+, Chrome<28 | ||
// Target should not be a text node (#504, #13143) | ||
@@ -640,3 +640,3 @@ if ( event.target.nodeType === 3 ) { | ||
src.defaultPrevented === undefined && | ||
// Support: Android < 4.0 | ||
// Support: Android<4.0 | ||
src.returnValue === false ? | ||
@@ -731,4 +731,4 @@ returnTrue : | ||
// Support: Firefox, Chrome, Safari | ||
// Create "bubbling" focus and blur events | ||
// Support: Firefox, Chrome, Safari | ||
if ( !support.focusinBubbles ) { | ||
@@ -735,0 +735,0 @@ jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { |
@@ -25,4 +25,4 @@ define([ | ||
// Expose jQuery and $ identifiers, even in | ||
// AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557) | ||
// Expose jQuery and $ identifiers, even in AMD | ||
// (#7102#comment:10, https://github.com/jquery/jquery/pull/557) | ||
// and CommonJS for browser emulators (#13566) | ||
@@ -29,0 +29,0 @@ if ( typeof noGlobal === strundefined ) { |
@@ -18,9 +18,9 @@ /*! | ||
if ( typeof module === "object" && typeof module.exports === "object" ) { | ||
// For CommonJS and CommonJS-like environments where a proper window is present, | ||
// execute the factory and get jQuery | ||
// For environments that do not inherently posses a window with a document | ||
// (such as Node.js), expose a jQuery-making factory as module.exports | ||
// This accentuates the need for the creation of a real window | ||
// For CommonJS and CommonJS-like environments where a proper `window` | ||
// is present, execute the factory and get jQuery. | ||
// For environments that do not have a `window` with a `document` | ||
// (such as Node.js), expose a factory as module.exports. | ||
// This accentuates the need for the creation of a real `window`. | ||
// e.g. var jQuery = require("jquery")(window); | ||
// See ticket #14549 for more info | ||
// See ticket #14549 for more info. | ||
module.exports = global.document ? | ||
@@ -41,6 +41,6 @@ factory( global, true ) : | ||
// Can't do this because several apps including ASP.NET trace | ||
// Support: Firefox 18+ | ||
// Can't be in strict mode, several libs including ASP.NET trace | ||
// the stack via arguments.caller.callee and Firefox dies if | ||
// you try to trace through "use strict" call chains. (#13335) | ||
// Support: Firefox 18+ | ||
//"use strict"; |
@@ -25,2 +25,3 @@ define([ | ||
"./ajax/load", | ||
"./event/ajax", | ||
"./effects", | ||
@@ -27,0 +28,0 @@ "./effects/animatedSelector", |
@@ -32,3 +32,3 @@ define([ | ||
// Support: IE 9 | ||
// Support: IE9 | ||
option: [ 1, "<select multiple='multiple'>", "</select>" ], | ||
@@ -44,3 +44,3 @@ | ||
// Support: IE 9 | ||
// Support: IE9 | ||
wrapMap.optgroup = wrapMap.option; | ||
@@ -135,3 +135,3 @@ | ||
// Support: IE >= 9 | ||
// Fix IE bugs, see support tests | ||
function fixInput( src, dest ) { | ||
@@ -156,4 +156,3 @@ var nodeName = dest.nodeName.toLowerCase(); | ||
// Support: IE >= 9 | ||
// Fix Cloning issues | ||
// Fix IE cloning issues | ||
if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && | ||
@@ -209,4 +208,4 @@ !jQuery.isXMLDoc( elem ) ) { | ||
if ( jQuery.type( elem ) === "object" ) { | ||
// Support: QtWebKit | ||
// jQuery.merge because push.apply(_, arraylike) throws | ||
// Support: QtWebKit, PhantomJS | ||
// push.apply(_, arraylike) throws on ancient WebKit | ||
jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); | ||
@@ -233,4 +232,4 @@ | ||
// Support: QtWebKit | ||
// jQuery.merge because push.apply(_, arraylike) throws | ||
// Support: QtWebKit, PhantomJS | ||
// push.apply(_, arraylike) throws on ancient WebKit | ||
jQuery.merge( nodes, tmp.childNodes ); | ||
@@ -241,4 +240,3 @@ | ||
// Fixes #12346 | ||
// Support: Webkit, IE | ||
// Ensure the created nodes are orphaned (#12392) | ||
tmp.textContent = ""; | ||
@@ -245,0 +243,0 @@ } |
@@ -10,5 +10,6 @@ define([ | ||
// #11217 - WebKit loses check when the name is after the checked attribute | ||
// Support: Safari<=5.1 | ||
// Check state lost if the name is set (#11217) | ||
// Support: Windows Web Apps (WWA) | ||
// `name` and `type` need .setAttribute for WWA | ||
// `name` and `type` must use .setAttribute for WWA (#14901) | ||
input.setAttribute( "type", "radio" ); | ||
@@ -20,8 +21,8 @@ input.setAttribute( "checked", "checked" ); | ||
// Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 | ||
// old WebKit doesn't clone checked state correctly in fragments | ||
// Support: Safari<=5.1, Android<4.2 | ||
// Older WebKit doesn't clone checked state correctly in fragments | ||
support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; | ||
// Support: IE<=11+ | ||
// Make sure textarea (and checkbox) defaultValue is properly cloned | ||
// Support: IE9-IE11+ | ||
div.innerHTML = "<textarea>x</textarea>"; | ||
@@ -28,0 +29,0 @@ support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; |
@@ -42,3 +42,4 @@ define([ | ||
// Need to be able to calculate position if either top or left is auto and position is either absolute or fixed | ||
// Need to be able to calculate position if either | ||
// top or left is auto and position is either absolute or fixed | ||
if ( calculatePosition ) { | ||
@@ -100,4 +101,4 @@ curPosition = curElem.position(); | ||
// Support: BlackBerry 5, iOS 3 (original iPhone) | ||
// If we don't have gBCR, just use 0,0 rather than error | ||
// BlackBerry 5, iOS 3 (original iPhone) | ||
if ( typeof elem.getBoundingClientRect !== strundefined ) { | ||
@@ -124,3 +125,3 @@ box = elem.getBoundingClientRect(); | ||
if ( jQuery.css( elem, "position" ) === "fixed" ) { | ||
// We assume that getBoundingClientRect is available when computed position is fixed | ||
// Assume getBoundingClientRect is there when computed position is fixed | ||
offset = elem.getBoundingClientRect(); | ||
@@ -188,6 +189,8 @@ | ||
// Support: Safari<7+, Chrome<37+ | ||
// Add the top/left cssHooks using jQuery.fn.position | ||
// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 | ||
// getComputedStyle returns percent when specified for top/left/bottom/right | ||
// rather than make the css module depend on the offset module, we just check for it here | ||
// Blink bug: https://code.google.com/p/chromium/issues/detail?id=229280 | ||
// getComputedStyle returns percent when specified for top/left/bottom/right; | ||
// rather than make the css module depend on the offset module, just check for it here | ||
jQuery.each( [ "top", "left" ], function( i, prop ) { | ||
@@ -198,3 +201,3 @@ jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition, | ||
computed = curCSS( elem, prop ); | ||
// if curCSS returns percentage, fallback to offset | ||
// If curCSS returns percentage, fallback to offset | ||
return rnumnonpx.test( computed ) ? | ||
@@ -201,0 +204,0 @@ jQuery( elem ).position()[ prop ] + "px" : |
@@ -53,3 +53,3 @@ define([ | ||
// clear up the last queue stop function | ||
// Clear up the last queue stop function | ||
delete hooks.stop; | ||
@@ -64,3 +64,3 @@ fn.call( elem, next, hooks ); | ||
// not intended for public consumption - generates a queueHooks object, or returns the current one | ||
// Not public - generate a queueHooks object, or return the current one | ||
_queueHooks: function( elem, type ) { | ||
@@ -95,3 +95,3 @@ var key = type + "queueHooks"; | ||
// ensure a hooks for this queue | ||
// Ensure a hooks for this queue | ||
jQuery._queueHooks( this, type ); | ||
@@ -98,0 +98,0 @@ |
/*! | ||
* Sizzle CSS Selector Engine v1.10.19 | ||
* Sizzle CSS Selector Engine v2.2.0-pre | ||
* http://sizzlejs.com/ | ||
* | ||
* Copyright 2013 jQuery Foundation, Inc. and other contributors | ||
* Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors | ||
* Released under the MIT license | ||
* http://jquery.org/license | ||
* | ||
* Date: 2014-04-18 | ||
* Date: 2014-12-16 | ||
*/ | ||
@@ -36,3 +36,3 @@ (function( window ) { | ||
// Instance-specific data | ||
expando = "sizzle" + -(new Date()), | ||
expando = "sizzle" + 1 * new Date(), | ||
preferredDoc = window.document, | ||
@@ -52,3 +52,2 @@ dirruns = 0, | ||
// General-purpose constants | ||
strundefined = typeof undefined, | ||
MAX_NEGATIVE = 1 << 31, | ||
@@ -63,8 +62,9 @@ | ||
slice = arr.slice, | ||
// Use a stripped-down indexOf if we can't use a native one | ||
indexOf = arr.indexOf || function( elem ) { | ||
// Use a stripped-down indexOf as it's faster than native | ||
// http://jsperf.com/thor-indexof-vs-for/5 | ||
indexOf = function( list, elem ) { | ||
var i = 0, | ||
len = this.length; | ||
len = list.length; | ||
for ( ; i < len; i++ ) { | ||
if ( this[i] === elem ) { | ||
if ( list[i] === elem ) { | ||
return i; | ||
@@ -109,2 +109,3 @@ } | ||
// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter | ||
rwhitespace = new RegExp( whitespace + "+", "g" ), | ||
rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), | ||
@@ -161,2 +162,10 @@ | ||
String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); | ||
}, | ||
// Used for iframes | ||
// See setDocument() | ||
// Removing the function wrapper causes a "Permission Denied" | ||
// error in IE | ||
unloadHandler = function() { | ||
setDocument(); | ||
}; | ||
@@ -204,15 +213,14 @@ | ||
results = results || []; | ||
nodeType = context.nodeType; | ||
if ( !selector || typeof selector !== "string" ) { | ||
if ( typeof selector !== "string" || !selector || | ||
nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { | ||
return results; | ||
} | ||
if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { | ||
return []; | ||
} | ||
if ( !seed && documentIsHTML ) { | ||
if ( documentIsHTML && !seed ) { | ||
// Shortcuts | ||
if ( (match = rquickExpr.exec( selector )) ) { | ||
// Try to shortcut find operations when possible (e.g., not under DocumentFragment) | ||
if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { | ||
// Speed-up: Sizzle("#ID") | ||
@@ -249,3 +257,3 @@ if ( (m = match[1]) ) { | ||
// Speed-up: Sizzle(".CLASS") | ||
} else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { | ||
} else if ( (m = match[3]) && support.getElementsByClassName ) { | ||
push.apply( results, context.getElementsByClassName( m ) ); | ||
@@ -260,3 +268,3 @@ return results; | ||
newContext = context; | ||
newSelector = nodeType === 9 && selector; | ||
newSelector = nodeType !== 1 && selector; | ||
@@ -448,3 +456,3 @@ // qSA works strangely on Element-rooted queries | ||
function testContext( context ) { | ||
return context && typeof context.getElementsByTagName !== strundefined && context; | ||
return context && typeof context.getElementsByTagName !== "undefined" && context; | ||
} | ||
@@ -473,5 +481,4 @@ | ||
setDocument = Sizzle.setDocument = function( node ) { | ||
var hasCompare, | ||
doc = node ? node.ownerDocument || node : preferredDoc, | ||
parent = doc.defaultView; | ||
var hasCompare, parent, | ||
doc = node ? node.ownerDocument || node : preferredDoc; | ||
@@ -486,6 +493,4 @@ // If no document and documentElement is available, return | ||
docElem = doc.documentElement; | ||
parent = doc.defaultView; | ||
// Support tests | ||
documentIsHTML = !isXML( doc ); | ||
// Support: IE>8 | ||
@@ -498,12 +503,12 @@ // If iframe document is assigned to "document" variable and if iframe has been reloaded, | ||
if ( parent.addEventListener ) { | ||
parent.addEventListener( "unload", function() { | ||
setDocument(); | ||
}, false ); | ||
parent.addEventListener( "unload", unloadHandler, false ); | ||
} else if ( parent.attachEvent ) { | ||
parent.attachEvent( "onunload", function() { | ||
setDocument(); | ||
}); | ||
parent.attachEvent( "onunload", unloadHandler ); | ||
} | ||
} | ||
/* Support tests | ||
---------------------------------------------------------------------- */ | ||
documentIsHTML = !isXML( doc ); | ||
/* Attributes | ||
@@ -513,3 +518,4 @@ ---------------------------------------------------------------------- */ | ||
// Support: IE<8 | ||
// Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) | ||
// Verify that getAttribute really returns attributes and not properties | ||
// (excepting IE8 booleans) | ||
support.attributes = assert(function( div ) { | ||
@@ -529,14 +535,5 @@ div.className = "i"; | ||
// Check if getElementsByClassName can be trusted | ||
support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { | ||
div.innerHTML = "<div class='a'></div><div class='a i'></div>"; | ||
// Support: IE<9 | ||
support.getElementsByClassName = rnative.test( doc.getElementsByClassName ); | ||
// Support: Safari<4 | ||
// Catch class over-caching | ||
div.firstChild.className = "i"; | ||
// Support: Opera<10 | ||
// Catch gEBCN failure to find non-leading classes | ||
return div.getElementsByClassName("i").length === 2; | ||
}); | ||
// Support: IE<10 | ||
@@ -554,3 +551,3 @@ // Check if getElementById returns elements by name | ||
Expr.find["ID"] = function( id, context ) { | ||
if ( typeof context.getElementById !== strundefined && documentIsHTML ) { | ||
if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { | ||
var m = context.getElementById( id ); | ||
@@ -576,3 +573,3 @@ // Check parentNode to catch when Blackberry 4.6 returns | ||
return function( elem ) { | ||
var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); | ||
var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); | ||
return node && node.value === attrId; | ||
@@ -586,6 +583,11 @@ }; | ||
function( tag, context ) { | ||
if ( typeof context.getElementsByTagName !== strundefined ) { | ||
if ( typeof context.getElementsByTagName !== "undefined" ) { | ||
return context.getElementsByTagName( tag ); | ||
// DocumentFragment nodes don't have gEBTN | ||
} else if ( support.qsa ) { | ||
return context.querySelectorAll( tag ); | ||
} | ||
} : | ||
function( tag, context ) { | ||
@@ -595,2 +597,3 @@ var elem, | ||
i = 0, | ||
// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too | ||
results = context.getElementsByTagName( tag ); | ||
@@ -613,3 +616,3 @@ | ||
Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { | ||
if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { | ||
if ( documentIsHTML ) { | ||
return context.getElementsByClassName( className ); | ||
@@ -643,3 +646,5 @@ } | ||
// http://bugs.jquery.com/ticket/12359 | ||
div.innerHTML = "<select msallowclip=''><option selected=''></option></select>"; | ||
docElem.appendChild( div ).innerHTML = "<a id='" + expando + "'></a>" + | ||
"<select id='" + expando + "-\f]' msallowcapture=''>" + | ||
"<option selected=''></option></select>"; | ||
@@ -650,3 +655,3 @@ // Support: IE8, Opera 11-12.16 | ||
// http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section | ||
if ( div.querySelectorAll("[msallowclip^='']").length ) { | ||
if ( div.querySelectorAll("[msallowcapture^='']").length ) { | ||
rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); | ||
@@ -661,2 +666,7 @@ } | ||
// Support: Chrome<29, Android<4.2+, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.7+ | ||
if ( !div.querySelectorAll( "[id~=" + expando + "-]" ).length ) { | ||
rbuggyQSA.push("~="); | ||
} | ||
// Webkit/Opera - :checked should return selected option elements | ||
@@ -668,2 +678,9 @@ // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked | ||
} | ||
// Support: Safari 8+, iOS 8+ | ||
// https://bugs.webkit.org/show_bug.cgi?id=136851 | ||
// In-page `selector#id sibing-combinator selector` fails | ||
if ( !div.querySelectorAll( "a#" + expando + "+*" ).length ) { | ||
rbuggyQSA.push(".#.+[+~]"); | ||
} | ||
}); | ||
@@ -785,3 +802,3 @@ | ||
return sortInput ? | ||
( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : | ||
( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : | ||
0; | ||
@@ -813,3 +830,3 @@ } | ||
sortInput ? | ||
( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : | ||
( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : | ||
0; | ||
@@ -877,3 +894,3 @@ | ||
} | ||
} catch(e) {} | ||
} catch (e) {} | ||
} | ||
@@ -1097,3 +1114,3 @@ | ||
classCache( className, function( elem ) { | ||
return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); | ||
return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); | ||
}); | ||
@@ -1120,3 +1137,3 @@ }, | ||
operator === "$=" ? check && result.slice( -check.length ) === check : | ||
operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : | ||
operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : | ||
operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : | ||
@@ -1241,3 +1258,3 @@ false; | ||
while ( i-- ) { | ||
idx = indexOf.call( seed, matched[i] ); | ||
idx = indexOf( seed, matched[i] ); | ||
seed[ idx ] = !( matches[ idx ] = matched[i] ); | ||
@@ -1281,2 +1298,4 @@ } | ||
matcher( input, null, xml, results ); | ||
// Don't keep the element (issue #299) | ||
input[0] = null; | ||
return !results.pop(); | ||
@@ -1293,2 +1312,3 @@ }; | ||
"contains": markFunction(function( text ) { | ||
text = text.replace( runescape, funescape ); | ||
return function( elem ) { | ||
@@ -1715,3 +1735,3 @@ return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; | ||
if ( (elem = matcherOut[i]) && | ||
(temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { | ||
(temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { | ||
@@ -1751,9 +1771,12 @@ seed[temp] = !(results[temp] = elem); | ||
matchAnyContext = addCombinator( function( elem ) { | ||
return indexOf.call( checkContext, elem ) > -1; | ||
return indexOf( checkContext, elem ) > -1; | ||
}, implicitRelative, true ), | ||
matchers = [ function( elem, context, xml ) { | ||
return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( | ||
var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( | ||
(checkContext = context).nodeType ? | ||
matchContext( elem, context, xml ) : | ||
matchAnyContext( elem, context, xml ) ); | ||
// Avoid hanging onto element (issue #299) | ||
checkContext = null; | ||
return ret; | ||
} ]; | ||
@@ -2008,3 +2031,3 @@ | ||
// Support: Chrome<14 | ||
// Support: Chrome 14-35+ | ||
// Always assume duplicates if they aren't passed to the comparison function | ||
@@ -2011,0 +2034,0 @@ support.detectDuplicates = !!hasDuplicate; |
@@ -1,3 +0,3 @@ | ||
/*! Sizzle v1.10.19 | (c) 2013 jQuery Foundation, Inc. | jquery.org/license */ | ||
!function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),"function"==typeof define&&define.amd?define(function(){return fb}):"undefined"!=typeof module&&module.exports?module.exports=fb:a.Sizzle=fb}(window); | ||
//# sourceMappingURL=dist/sizzle.min.map | ||
/*! Sizzle v2.2.0-pre | (c) 2008, 2014 jQuery Foundation, Inc. | jquery.org/license */ | ||
!function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=hb(),z=hb(),A=hb(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},eb=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fb){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function gb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+rb(o[l]);w=ab.test(a)&&pb(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function hb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ib(a){return a[u]=!0,a}function jb(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function kb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function lb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function nb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function ob(a){return ib(function(b){return b=+b,ib(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pb(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=gb.support={},f=gb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=gb.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",eb,!1):e.attachEvent&&e.attachEvent("onunload",eb)),p=!f(g),c.attributes=jb(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=jb(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=jb(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(jb(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\f]' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),jb(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&jb(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return lb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?lb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},gb.matches=function(a,b){return gb(a,null,null,b)},gb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return gb(b,n,null,[a]).length>0},gb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},gb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},gb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},gb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=gb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=gb.selectors={cacheLength:50,createPseudo:ib,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||gb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&gb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=gb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||gb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ib(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ib(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ib(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ib(function(a){return function(b){return gb(a,b).length>0}}),contains:ib(function(a){return a=a.replace(cb,db),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ib(function(a){return W.test(a||"")||gb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:ob(function(){return[0]}),last:ob(function(a,b){return[b-1]}),eq:ob(function(a,b,c){return[0>c?c+b:c]}),even:ob(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:ob(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:ob(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:ob(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=mb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=nb(b);function qb(){}qb.prototype=d.filters=d.pseudos,d.setFilters=new qb,g=gb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?gb.error(a):z(a,i).slice(0)};function rb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function sb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function tb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ub(a,b,c){for(var d=0,e=b.length;e>d;d++)gb(a,b[d],c);return c}function vb(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wb(a,b,c,d,e,f){return d&&!d[u]&&(d=wb(d)),e&&!e[u]&&(e=wb(e,f)),ib(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ub(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:vb(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=vb(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=vb(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sb(function(a){return a===b},h,!0),l=sb(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sb(tb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wb(i>1&&tb(m),i>1&&rb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xb(a.slice(i,e)),f>e&&xb(a=a.slice(e)),f>e&&rb(a))}m.push(c)}return tb(m)}function yb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=vb(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&gb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ib(f):f}h=gb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,yb(e,d)),f.selector=a}return f},i=gb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&pb(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&rb(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&pb(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=jb(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),jb(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||kb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&jb(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||kb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),jb(function(a){return null==a.getAttribute("disabled")})||kb(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),"function"==typeof define&&define.amd?define(function(){return gb}):"undefined"!=typeof module&&module.exports?module.exports=gb:a.Sizzle=gb}(window); | ||
//# sourceMappingURL=sizzle.min.map |
@@ -11,3 +11,3 @@ define([ | ||
var rparentsprev = /^(?:parents|prev(?:Until|All))/, | ||
// methods guaranteed to produce a unique set when starting from a unique set | ||
// Methods guaranteed to produce a unique set when starting from a unique set | ||
guaranteedUnique = { | ||
@@ -92,4 +92,3 @@ children: true, | ||
// Determine the position of an element within | ||
// the matched set of elements | ||
// Determine the position of an element within the set | ||
index: function( elem ) { | ||
@@ -102,3 +101,3 @@ | ||
// index in selector | ||
// Index in selector | ||
if ( typeof elem === "string" ) { | ||
@@ -105,0 +104,0 @@ return indexOf.call( jQuery( elem ), this[ 0 ] ); |
define([ | ||
"./core", | ||
"./core/init", | ||
"./manipulation", // clone | ||
"./traversing" // parent, contents | ||
@@ -5,0 +6,0 @@ ], function( jQuery ) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1612691
107
33765