function createDisabledPseudo(disabled) {
	        // Known :disabled false positives:
	        // IE: *[disabled]:not(button, input, select, textarea, optgroup, option, menuitem, fieldset)
	        // not IE: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable
	        return function (elem) {

	            // Check form elements and option elements for explicit disabling
	            return "label" in elem && elem.disabled === disabled || "form" in elem && elem.disabled === disabled ||

	            // Check non-disabled form elements for fieldset[disabled] ancestors
	            "form" in elem && elem.disabled === false && (
	            // Support: IE6-11+
	            // Ancestry is covered for us
	            elem.isDisabled === disabled ||

	            // Otherwise, assume any non-<option> under fieldset[disabled] is disabled
	            /* jshint -W018 */
	            elem.isDisabled !== !disabled && ("label" in elem || !disabledAncestor(elem)) !== disabled);
	        };
	    }
/**
	     * Returns a function to use in pseudos for :enabled/:disabled
	     * @param {Boolean} disabled true for :disabled; false for :enabled
	     */
Returns a function to use in pseudos for :enabled/:disabled
@param {Boolean} disabled true for :disabled; false for :enabled
Returns a function to use in pseudos for : enabled / : disabled @param { Boolean } disabled true for : disabled ; false for : enabled
function createDisabledPseudo(disabled) {
	        return function (elem) {
	            return "label" in elem && elem.disabled === disabled || "form" in elem && elem.disabled === disabled ||
	            "form" in elem && elem.disabled === false && (
	            elem.isDisabled === disabled ||
	            elem.isDisabled !== !disabled && ("label" in elem || !disabledAncestor(elem)) !== disabled);
	        };
	    }
function createDisabledPseudo ( disabled ) { return function ( elem ) { return "label" in elem && elem . disabled === disabled || "form" in elem && elem . disabled === disabled || "form" in elem && elem . disabled === false && ( elem . isDisabled === disabled || elem . isDisabled !== ! disabled && ( "label" in elem || ! disabledAncestor ( elem ) ) !== disabled ) ; } ; }
Returns a function to use in pseudos for :enabled/:disabled
 @param {Boolean} disabled true for :disabled; false for :enabled
Returns a function to use in pseudos for : enabled / : disabled @param { Boolean } disabled true for : disabled ; false for : enabled
// Known :disabled false positives: // IE: *[disabled]:not(button, input, select, textarea, optgroup, option, menuitem, fieldset) // not IE: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable // Check form elements and option elements for explicit disabling // Check non-disabled form elements for fieldset[disabled] ancestors // Support: IE6-11+ // Ancestry is covered for us // Otherwise, assume any non-<option> under fieldset[disabled] is disabled /* jshint -W018 */