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E,MAAO,GACT,EAAM,cACJ,EACA,EACA,GAAY,KAAK,eAAe,EAAQ,EAAkB,IAGhE,KAGK,CACT,CA1KoB,CA0KlB,EAAM,WAGJ,EAAa,CACf,MAAO,EAAU,UAAU,CAAC,EAAU,OAAQ,EAAU,OAAQ,EAAU,OAAO,WACjF,MAAO,EAAU,UAAU,CAAC,EAAU,KAAM,EAAU,OACtD,MAAO,EAAU,SAAS,EAAU,MAEtC,EAAW,SAAW,EAAU,QAAQ,EAAU,UAAU,CAAC,EAAU,OAAQ,EAAU,OAAQ,EAAU,KAAM,EAAU,MAAM,MAEjI,EAAc,aAAe,CAC3B,UAAM,EAIN,OAAQ,GAIR,cAAe,GAIf,oBAAqB,GACrB,cAAU,EACV,cAAU,EACV,UAAW,MAaX,iBAAkB,SAA0B,EAAmB,EAAO,GACpE,IAAI,EAAQ,EAAM,MACd,EAAQ,EAAM,MAClB,OAAO,EAAM,cACX,QACA,CAAE,IAAK,CAAC,EAAO,GAAO,KAAK,MAC3B,EACA,IACA,EAEJ,GAGF,EAAc,UAAY,CACxB,KAAM,EAAU,OAChB,OAAQ,EAAU,QAAQ,EAAU,UAAU,CAAC,EAAU,OAAQ,EAAU,OAAQ,EAAU,KAAM,EAAU,MAAM,MACnH,cAAe,EAAU,QAAQ,EAAU,UAAU,CAAC,EAAU,OAAQ,EAAU,OAAQ,EAAU,QACpG,oBAAqB,EAAU,QAAQ,EAAU,UAAU,CAAC,EAAU,OAAQ,EAAU,OAAQ,EAAU,QAC1G,SAAU,EAAU,KACpB,SAAU,EAAU,KACpB,UAAW,EAAU,KACrB,iBAAkB,EAAU,MA6B9B,EAAQ,qBAAuB,EAC/B,EAAQ,SAAW,EACnB,EAAQ,cAAgB,EAExB,OAAO,eAAe,EAAS,aAAc,CAAE,OAAO,GAEtD","file":"/npm/accessible-react-checkbox-group@2.0.0-beta.4/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/accessible-react-checkbox-group@2.0.0-beta.4/lib/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :\n\ttypeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :\n\t(factory((global.AccessibleReactCheckboxGroup = {}),global.React));\n}(this, (function (exports,React) { 'use strict';\n\n\tReact = React && React.hasOwnProperty('default') ? React['default'] : React;\n\n\tfunction createCommonjsModule(fn, module) {\n\t\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n\t}\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t *\n\t * \n\t */\n\n\tfunction makeEmptyFunction(arg) {\n\t  return function () {\n\t    return arg;\n\t  };\n\t}\n\n\t/**\n\t * This function accepts and discards inputs; it has no side effects. This is\n\t * primarily useful idiomatically for overridable function endpoints which\n\t * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n\t */\n\tvar emptyFunction = function emptyFunction() {};\n\n\temptyFunction.thatReturns = makeEmptyFunction;\n\temptyFunction.thatReturnsFalse = makeEmptyFunction(false);\n\temptyFunction.thatReturnsTrue = makeEmptyFunction(true);\n\temptyFunction.thatReturnsNull = makeEmptyFunction(null);\n\temptyFunction.thatReturnsThis = function () {\n\t  return this;\n\t};\n\temptyFunction.thatReturnsArgument = function (arg) {\n\t  return arg;\n\t};\n\n\tvar emptyFunction_1 = emptyFunction;\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t *\n\t */\n\n\t/**\n\t * Use invariant() to assert state which your program assumes to be true.\n\t *\n\t * Provide sprintf-style format (only %s is supported) and arguments\n\t * to provide information about what broke and what you were\n\t * expecting.\n\t *\n\t * The invariant message will be stripped in production, but the invariant\n\t * will remain to ensure logic does not differ in production.\n\t */\n\n\tvar validateFormat = function validateFormat(format) {};\n\n\t{\n\t  validateFormat = function validateFormat(format) {\n\t    if (format === undefined) {\n\t      throw new Error('invariant requires an error message argument');\n\t    }\n\t  };\n\t}\n\n\tfunction invariant(condition, format, a, b, c, d, e, f) {\n\t  validateFormat(format);\n\n\t  if (!condition) {\n\t    var error;\n\t    if (format === undefined) {\n\t      error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n\t    } else {\n\t      var args = [a, b, c, d, e, f];\n\t      var argIndex = 0;\n\t      error = new Error(format.replace(/%s/g, function () {\n\t        return args[argIndex++];\n\t      }));\n\t      error.name = 'Invariant Violation';\n\t    }\n\n\t    error.framesToPop = 1; // we don't care about invariant's own frame\n\t    throw error;\n\t  }\n\t}\n\n\tvar invariant_1 = invariant;\n\n\t/**\n\t * Similar to invariant but only logs a warning if the condition is not met.\n\t * This can be used to log issues in development environments in critical\n\t * paths. Removing the logging code for production environments will keep the\n\t * same logic and follow the same code paths.\n\t */\n\n\tvar warning = emptyFunction_1;\n\n\t{\n\t  var printWarning = function printWarning(format) {\n\t    for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t      args[_key - 1] = arguments[_key];\n\t    }\n\n\t    var argIndex = 0;\n\t    var message = 'Warning: ' + format.replace(/%s/g, function () {\n\t      return args[argIndex++];\n\t    });\n\t    if (typeof console !== 'undefined') {\n\t      console.error(message);\n\t    }\n\t    try {\n\t      // --- Welcome to debugging React ---\n\t      // This error was thrown as a convenience so that you can use this stack\n\t      // to find the callsite that caused this warning to fire.\n\t      throw new Error(message);\n\t    } catch (x) {}\n\t  };\n\n\t  warning = function warning(condition, format) {\n\t    if (format === undefined) {\n\t      throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n\t    }\n\n\t    if (format.indexOf('Failed Composite propType: ') === 0) {\n\t      return; // Ignore CompositeComponent proptype check.\n\t    }\n\n\t    if (!condition) {\n\t      for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n\t        args[_key2 - 2] = arguments[_key2];\n\t      }\n\n\t      printWarning.apply(undefined, [format].concat(args));\n\t    }\n\t  };\n\t}\n\n\tvar warning_1 = warning;\n\n\t/*\n\tobject-assign\n\t(c) Sindre Sorhus\n\t@license MIT\n\t*/\n\t/* eslint-disable no-unused-vars */\n\tvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\n\tvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\tvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\n\tfunction toObject(val) {\n\t\tif (val === null || val === undefined) {\n\t\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t\t}\n\n\t\treturn Object(val);\n\t}\n\n\tfunction shouldUseNative() {\n\t\ttry {\n\t\t\tif (!Object.assign) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\t\tvar test1 = new String('abc');  // eslint-disable-line no-new-wrappers\n\t\t\ttest1[5] = 'de';\n\t\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\t\tvar test2 = {};\n\t\t\tfor (var i = 0; i < 10; i++) {\n\t\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t\t}\n\t\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\t\treturn test2[n];\n\t\t\t});\n\t\t\tif (order2.join('') !== '0123456789') {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\t\tvar test3 = {};\n\t\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\t\ttest3[letter] = letter;\n\t\t\t});\n\t\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\treturn true;\n\t\t} catch (err) {\n\t\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tvar objectAssign = shouldUseNative() ? Object.assign : function (target, source) {\n\t\tvar from;\n\t\tvar to = toObject(target);\n\t\tvar symbols;\n\n\t\tfor (var s = 1; s < arguments.length; s++) {\n\t\t\tfrom = Object(arguments[s]);\n\n\t\t\tfor (var key in from) {\n\t\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\t\tto[key] = from[key];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (getOwnPropertySymbols) {\n\t\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn to;\n\t};\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\n\tvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\n\tvar ReactPropTypesSecret_1 = ReactPropTypesSecret;\n\n\t{\n\t  var invariant$1 = invariant_1;\n\t  var warning$1 = warning_1;\n\t  var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;\n\t  var loggedTypeFailures = {};\n\t}\n\n\t/**\n\t * Assert that the values match with the type specs.\n\t * Error messages are memorized and will only be shown once.\n\t *\n\t * @param {object} typeSpecs Map of name to a ReactPropType\n\t * @param {object} values Runtime values that need to be type-checked\n\t * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n\t * @param {string} componentName Name of the component for error messages.\n\t * @param {?Function} getStack Returns the component stack.\n\t * @private\n\t */\n\tfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n\t  {\n\t    for (var typeSpecName in typeSpecs) {\n\t      if (typeSpecs.hasOwnProperty(typeSpecName)) {\n\t        var error;\n\t        // Prop type validation may throw. In case they do, we don't want to\n\t        // fail the render phase where it didn't fail before. So we log it.\n\t        // After these have been cleaned up, we'll let them throw.\n\t        try {\n\t          // This is intentionally an invariant that gets caught. It's the same\n\t          // behavior as without this statement except with a better message.\n\t          invariant$1(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'the `prop-types` package, but received `%s`.', componentName || 'React class', location, typeSpecName, typeof typeSpecs[typeSpecName]);\n\t          error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret$1);\n\t        } catch (ex) {\n\t          error = ex;\n\t        }\n\t        warning$1(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error);\n\t        if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n\t          // Only monitor this failure once because there tends to be a lot of the\n\t          // same error.\n\t          loggedTypeFailures[error.message] = true;\n\n\t          var stack = getStack ? getStack() : '';\n\n\t          warning$1(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');\n\t        }\n\t      }\n\t    }\n\t  }\n\t}\n\n\tvar checkPropTypes_1 = checkPropTypes;\n\n\tvar factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {\n\t  /* global Symbol */\n\t  var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n\t  var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n\t  /**\n\t   * Returns the iterator method function contained on the iterable object.\n\t   *\n\t   * Be sure to invoke the function with the iterable as context:\n\t   *\n\t   *     var iteratorFn = getIteratorFn(myIterable);\n\t   *     if (iteratorFn) {\n\t   *       var iterator = iteratorFn.call(myIterable);\n\t   *       ...\n\t   *     }\n\t   *\n\t   * @param {?object} maybeIterable\n\t   * @return {?function}\n\t   */\n\t  function getIteratorFn(maybeIterable) {\n\t    var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n\t    if (typeof iteratorFn === 'function') {\n\t      return iteratorFn;\n\t    }\n\t  }\n\n\t  /**\n\t   * Collection of methods that allow declaration and validation of props that are\n\t   * supplied to React components. Example usage:\n\t   *\n\t   *   var Props = require('ReactPropTypes');\n\t   *   var MyArticle = React.createClass({\n\t   *     propTypes: {\n\t   *       // An optional string prop named \"description\".\n\t   *       description: Props.string,\n\t   *\n\t   *       // A required enum prop named \"category\".\n\t   *       category: Props.oneOf(['News','Photos']).isRequired,\n\t   *\n\t   *       // A prop named \"dialog\" that requires an instance of Dialog.\n\t   *       dialog: Props.instanceOf(Dialog).isRequired\n\t   *     },\n\t   *     render: function() { ... }\n\t   *   });\n\t   *\n\t   * A more formal specification of how these methods are used:\n\t   *\n\t   *   type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n\t   *   decl := ReactPropTypes.{type}(.isRequired)?\n\t   *\n\t   * Each and every declaration produces a function with the same signature. This\n\t   * allows the creation of custom validation functions. For example:\n\t   *\n\t   *  var MyLink = React.createClass({\n\t   *    propTypes: {\n\t   *      // An optional string or URI prop named \"href\".\n\t   *      href: function(props, propName, componentName) {\n\t   *        var propValue = props[propName];\n\t   *        if (propValue != null && typeof propValue !== 'string' &&\n\t   *            !(propValue instanceof URI)) {\n\t   *          return new Error(\n\t   *            'Expected a string or an URI for ' + propName + ' in ' +\n\t   *            componentName\n\t   *          );\n\t   *        }\n\t   *      }\n\t   *    },\n\t   *    render: function() {...}\n\t   *  });\n\t   *\n\t   * @internal\n\t   */\n\n\t  var ANONYMOUS = '<<anonymous>>';\n\n\t  // Important!\n\t  // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n\t  var ReactPropTypes = {\n\t    array: createPrimitiveTypeChecker('array'),\n\t    bool: createPrimitiveTypeChecker('boolean'),\n\t    func: createPrimitiveTypeChecker('function'),\n\t    number: createPrimitiveTypeChecker('number'),\n\t    object: createPrimitiveTypeChecker('object'),\n\t    string: createPrimitiveTypeChecker('string'),\n\t    symbol: createPrimitiveTypeChecker('symbol'),\n\n\t    any: createAnyTypeChecker(),\n\t    arrayOf: createArrayOfTypeChecker,\n\t    element: createElementTypeChecker(),\n\t    instanceOf: createInstanceTypeChecker,\n\t    node: createNodeChecker(),\n\t    objectOf: createObjectOfTypeChecker,\n\t    oneOf: createEnumTypeChecker,\n\t    oneOfType: createUnionTypeChecker,\n\t    shape: createShapeTypeChecker,\n\t    exact: createStrictShapeTypeChecker,\n\t  };\n\n\t  /**\n\t   * inlined Object.is polyfill to avoid requiring consumers ship their own\n\t   * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n\t   */\n\t  /*eslint-disable no-self-compare*/\n\t  function is(x, y) {\n\t    // SameValue algorithm\n\t    if (x === y) {\n\t      // Steps 1-5, 7-10\n\t      // Steps 6.b-6.e: +0 != -0\n\t      return x !== 0 || 1 / x === 1 / y;\n\t    } else {\n\t      // Step 6.a: NaN == NaN\n\t      return x !== x && y !== y;\n\t    }\n\t  }\n\t  /*eslint-enable no-self-compare*/\n\n\t  /**\n\t   * We use an Error-like object for backward compatibility as people may call\n\t   * PropTypes directly and inspect their output. However, we don't use real\n\t   * Errors anymore. We don't inspect their stack anyway, and creating them\n\t   * is prohibitively expensive if they are created too often, such as what\n\t   * happens in oneOfType() for any type before the one that matched.\n\t   */\n\t  function PropTypeError(message) {\n\t    this.message = message;\n\t    this.stack = '';\n\t  }\n\t  // Make `instanceof Error` still work for returned errors.\n\t  PropTypeError.prototype = Error.prototype;\n\n\t  function createChainableTypeChecker(validate) {\n\t    {\n\t      var manualPropTypeCallCache = {};\n\t      var manualPropTypeWarningCount = 0;\n\t    }\n\t    function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n\t      componentName = componentName || ANONYMOUS;\n\t      propFullName = propFullName || propName;\n\n\t      if (secret !== ReactPropTypesSecret_1) {\n\t        if (throwOnDirectAccess) {\n\t          // New behavior only for users of `prop-types` package\n\t          invariant_1(\n\t            false,\n\t            'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n\t            'Use `PropTypes.checkPropTypes()` to call them. ' +\n\t            'Read more at http://fb.me/use-check-prop-types'\n\t          );\n\t        } else if (typeof console !== 'undefined') {\n\t          // Old behavior for people using React.PropTypes\n\t          var cacheKey = componentName + ':' + propName;\n\t          if (\n\t            !manualPropTypeCallCache[cacheKey] &&\n\t            // Avoid spamming the console because they are often not actionable except for lib authors\n\t            manualPropTypeWarningCount < 3\n\t          ) {\n\t            warning_1(\n\t              false,\n\t              'You are manually calling a React.PropTypes validation ' +\n\t              'function for the `%s` prop on `%s`. This is deprecated ' +\n\t              'and will throw in the standalone `prop-types` package. ' +\n\t              'You may be seeing this warning due to a third-party PropTypes ' +\n\t              'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.',\n\t              propFullName,\n\t              componentName\n\t            );\n\t            manualPropTypeCallCache[cacheKey] = true;\n\t            manualPropTypeWarningCount++;\n\t          }\n\t        }\n\t      }\n\t      if (props[propName] == null) {\n\t        if (isRequired) {\n\t          if (props[propName] === null) {\n\t            return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n\t          }\n\t          return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n\t        }\n\t        return null;\n\t      } else {\n\t        return validate(props, propName, componentName, location, propFullName);\n\t      }\n\t    }\n\n\t    var chainedCheckType = checkType.bind(null, false);\n\t    chainedCheckType.isRequired = checkType.bind(null, true);\n\n\t    return chainedCheckType;\n\t  }\n\n\t  function createPrimitiveTypeChecker(expectedType) {\n\t    function validate(props, propName, componentName, location, propFullName, secret) {\n\t      var propValue = props[propName];\n\t      var propType = getPropType(propValue);\n\t      if (propType !== expectedType) {\n\t        // `propValue` being instance of, say, date/regexp, pass the 'object'\n\t        // check, but we can offer a more precise error message here rather than\n\t        // 'of type `object`'.\n\t        var preciseType = getPreciseType(propValue);\n\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\n\t  function createAnyTypeChecker() {\n\t    return createChainableTypeChecker(emptyFunction_1.thatReturnsNull);\n\t  }\n\n\t  function createArrayOfTypeChecker(typeChecker) {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      if (typeof typeChecker !== 'function') {\n\t        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n\t      }\n\t      var propValue = props[propName];\n\t      if (!Array.isArray(propValue)) {\n\t        var propType = getPropType(propValue);\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n\t      }\n\t      for (var i = 0; i < propValue.length; i++) {\n\t        var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret_1);\n\t        if (error instanceof Error) {\n\t          return error;\n\t        }\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\n\t  function createElementTypeChecker() {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      var propValue = props[propName];\n\t      if (!isValidElement(propValue)) {\n\t        var propType = getPropType(propValue);\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\n\t  function createInstanceTypeChecker(expectedClass) {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      if (!(props[propName] instanceof expectedClass)) {\n\t        var expectedClassName = expectedClass.name || ANONYMOUS;\n\t        var actualClassName = getClassName(props[propName]);\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\n\t  function createEnumTypeChecker(expectedValues) {\n\t    if (!Array.isArray(expectedValues)) {\n\t      warning_1(false, 'Invalid argument supplied to oneOf, expected an instance of array.');\n\t      return emptyFunction_1.thatReturnsNull;\n\t    }\n\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      var propValue = props[propName];\n\t      for (var i = 0; i < expectedValues.length; i++) {\n\t        if (is(propValue, expectedValues[i])) {\n\t          return null;\n\t        }\n\t      }\n\n\t      var valuesString = JSON.stringify(expectedValues);\n\t      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\n\t  function createObjectOfTypeChecker(typeChecker) {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      if (typeof typeChecker !== 'function') {\n\t        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n\t      }\n\t      var propValue = props[propName];\n\t      var propType = getPropType(propValue);\n\t      if (propType !== 'object') {\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n\t      }\n\t      for (var key in propValue) {\n\t        if (propValue.hasOwnProperty(key)) {\n\t          var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);\n\t          if (error instanceof Error) {\n\t            return error;\n\t          }\n\t        }\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\n\t  function createUnionTypeChecker(arrayOfTypeCheckers) {\n\t    if (!Array.isArray(arrayOfTypeCheckers)) {\n\t      warning_1(false, 'Invalid argument supplied to oneOfType, expected an instance of array.');\n\t      return emptyFunction_1.thatReturnsNull;\n\t    }\n\n\t    for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n\t      var checker = arrayOfTypeCheckers[i];\n\t      if (typeof checker !== 'function') {\n\t        warning_1(\n\t          false,\n\t          'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n\t          'received %s at index %s.',\n\t          getPostfixForTypeWarning(checker),\n\t          i\n\t        );\n\t        return emptyFunction_1.thatReturnsNull;\n\t      }\n\t    }\n\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n\t        var checker = arrayOfTypeCheckers[i];\n\t        if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1) == null) {\n\t          return null;\n\t        }\n\t      }\n\n\t      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\n\t  function createNodeChecker() {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      if (!isNode(props[propName])) {\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\n\t  function createShapeTypeChecker(shapeTypes) {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      var propValue = props[propName];\n\t      var propType = getPropType(propValue);\n\t      if (propType !== 'object') {\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n\t      }\n\t      for (var key in shapeTypes) {\n\t        var checker = shapeTypes[key];\n\t        if (!checker) {\n\t          continue;\n\t        }\n\t        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);\n\t        if (error) {\n\t          return error;\n\t        }\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\n\t  function createStrictShapeTypeChecker(shapeTypes) {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      var propValue = props[propName];\n\t      var propType = getPropType(propValue);\n\t      if (propType !== 'object') {\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n\t      }\n\t      // We need to check all keys in case some are required but missing from\n\t      // props.\n\t      var allKeys = objectAssign({}, props[propName], shapeTypes);\n\t      for (var key in allKeys) {\n\t        var checker = shapeTypes[key];\n\t        if (!checker) {\n\t          return new PropTypeError(\n\t            'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n\t            '\\nBad object: ' + JSON.stringify(props[propName], null, '  ') +\n\t            '\\nValid keys: ' +  JSON.stringify(Object.keys(shapeTypes), null, '  ')\n\t          );\n\t        }\n\t        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);\n\t        if (error) {\n\t          return error;\n\t        }\n\t      }\n\t      return null;\n\t    }\n\n\t    return createChainableTypeChecker(validate);\n\t  }\n\n\t  function isNode(propValue) {\n\t    switch (typeof propValue) {\n\t      case 'number':\n\t      case 'string':\n\t      case 'undefined':\n\t        return true;\n\t      case 'boolean':\n\t        return !propValue;\n\t      case 'object':\n\t        if (Array.isArray(propValue)) {\n\t          return propValue.every(isNode);\n\t        }\n\t        if (propValue === null || isValidElement(propValue)) {\n\t          return true;\n\t        }\n\n\t        var iteratorFn = getIteratorFn(propValue);\n\t        if (iteratorFn) {\n\t          var iterator = iteratorFn.call(propValue);\n\t          var step;\n\t          if (iteratorFn !== propValue.entries) {\n\t            while (!(step = iterator.next()).done) {\n\t              if (!isNode(step.value)) {\n\t                return false;\n\t              }\n\t            }\n\t          } else {\n\t            // Iterator will provide entry [k,v] tuples rather than values.\n\t            while (!(step = iterator.next()).done) {\n\t              var entry = step.value;\n\t              if (entry) {\n\t                if (!isNode(entry[1])) {\n\t                  return false;\n\t                }\n\t              }\n\t            }\n\t          }\n\t        } else {\n\t          return false;\n\t        }\n\n\t        return true;\n\t      default:\n\t        return false;\n\t    }\n\t  }\n\n\t  function isSymbol(propType, propValue) {\n\t    // Native Symbol.\n\t    if (propType === 'symbol') {\n\t      return true;\n\t    }\n\n\t    // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n\t    if (propValue['@@toStringTag'] === 'Symbol') {\n\t      return true;\n\t    }\n\n\t    // Fallback for non-spec compliant Symbols which are polyfilled.\n\t    if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n\t      return true;\n\t    }\n\n\t    return false;\n\t  }\n\n\t  // Equivalent of `typeof` but with special handling for array and regexp.\n\t  function getPropType(propValue) {\n\t    var propType = typeof propValue;\n\t    if (Array.isArray(propValue)) {\n\t      return 'array';\n\t    }\n\t    if (propValue instanceof RegExp) {\n\t      // Old webkits (at least until Android 4.0) return 'function' rather than\n\t      // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n\t      // passes PropTypes.object.\n\t      return 'object';\n\t    }\n\t    if (isSymbol(propType, propValue)) {\n\t      return 'symbol';\n\t    }\n\t    return propType;\n\t  }\n\n\t  // This handles more types than `getPropType`. Only used for error messages.\n\t  // See `createPrimitiveTypeChecker`.\n\t  function getPreciseType(propValue) {\n\t    if (typeof propValue === 'undefined' || propValue === null) {\n\t      return '' + propValue;\n\t    }\n\t    var propType = getPropType(propValue);\n\t    if (propType === 'object') {\n\t      if (propValue instanceof Date) {\n\t        return 'date';\n\t      } else if (propValue instanceof RegExp) {\n\t        return 'regexp';\n\t      }\n\t    }\n\t    return propType;\n\t  }\n\n\t  // Returns a string that is postfixed to a warning about an invalid type.\n\t  // For example, \"undefined\" or \"of type array\"\n\t  function getPostfixForTypeWarning(value) {\n\t    var type = getPreciseType(value);\n\t    switch (type) {\n\t      case 'array':\n\t      case 'object':\n\t        return 'an ' + type;\n\t      case 'boolean':\n\t      case 'date':\n\t      case 'regexp':\n\t        return 'a ' + type;\n\t      default:\n\t        return type;\n\t    }\n\t  }\n\n\t  // Returns class name of the object, if any.\n\t  function getClassName(propValue) {\n\t    if (!propValue.constructor || !propValue.constructor.name) {\n\t      return ANONYMOUS;\n\t    }\n\t    return propValue.constructor.name;\n\t  }\n\n\t  ReactPropTypes.checkPropTypes = checkPropTypes_1;\n\t  ReactPropTypes.PropTypes = ReactPropTypes;\n\n\t  return ReactPropTypes;\n\t};\n\n\tvar propTypes = createCommonjsModule(function (module) {\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\n\t{\n\t  var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&\n\t    Symbol.for &&\n\t    Symbol.for('react.element')) ||\n\t    0xeac7;\n\n\t  var isValidElement = function(object) {\n\t    return typeof object === 'object' &&\n\t      object !== null &&\n\t      object.$$typeof === REACT_ELEMENT_TYPE;\n\t  };\n\n\t  // By explicitly using `prop-types` you are opting into new development behavior.\n\t  // http://fb.me/prop-types-in-prod\n\t  var throwOnDirectAccess = true;\n\t  module.exports = factoryWithTypeCheckers(isValidElement, throwOnDirectAccess);\n\t}\n\t});\n\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\n\tvar CheckboxGroupContext = React.createContext(undefined);\n\n\t/**\n\t * Extracts checkbox group context information for a given checkbox value into a normal props object.\n\t *\n\t * @param {{name: string, checkedValues: array.<CheckboxValue>, indeterminateValues: array.<CheckboxValue>, onChange: Function}} contextValue - The context information to extract.\n\t * @param {CheckboxValue} checkboxValue - The value of the checkbox to extract context for.\n\t * @param {object} props - Normal props to pass to the individual checkbox.\n\t * @returns {ExtractedContext}\n\t */\n\tvar extractContext = function extractContext(contextValue, checkboxValue, props) {\n\t  // For some reason if we destructure values in the params hot reloading doesn't work\n\t  var name = contextValue.name,\n\t      checkedValues = contextValue.checkedValues,\n\t      indeterminateValues = contextValue.indeterminateValues,\n\t      onChange = contextValue.onChange;\n\n\n\t  var options = {};\n\t  if (checkedValues) {\n\t    options.checked = checkedValues.indexOf(checkboxValue) >= 0;\n\t  }\n\t  if (indeterminateValues) {\n\t    options.indeterminate = indeterminateValues.indexOf(checkboxValue) >= 0 ? true : undefined;\n\t  }\n\t  if (typeof onChange === 'function') {\n\t    options.onChange = onChange.bind(null, checkboxValue);\n\t  }\n\n\t  return _extends({ name: name, options: options }, props);\n\t};\n\n\t/**\n\t * A simple stateless functional component that renders a checkbox.\n\t *\n\t * @param {Object} props - The props object for the component.\n\t * @param {CheckboxValue} props.value - The value of the checkbox.\n\t * @param {boolean} props.indeterminate - Whether or not the checkbox is indeterminate.\n\t * @param {...Object} props.restProps - Any additional props for the checkbox input element.\n\t * @constructor\n\t */\n\tvar PreContextualizedCheckbox = function PreContextualizedCheckbox(_ref) {\n\t  var value = _ref.value,\n\t      indeterminate = _ref.indeterminate,\n\t      restProps = _objectWithoutProperties(_ref, ['value', 'indeterminate']);\n\n\t  return React.createElement('input', _extends({\n\t    'aria-checked': indeterminate ? 'mixed' : restProps.checked.toString(),\n\t    type: 'checkbox',\n\t    ref: function ref(elem) {\n\t      if (elem) {\n\t        // eslint-disable-next-line no-param-reassign\n\t        elem.indeterminate = indeterminate ? 'true' : undefined;\n\t      }\n\t    }\n\t  }, restProps));\n\t};\n\n\tPreContextualizedCheckbox.defaultProps = {\n\t  value: undefined,\n\t  name: undefined,\n\t  checked: false,\n\t  indeterminate: undefined,\n\t  onChange: undefined\n\t};\n\n\tPreContextualizedCheckbox.propTypes = {\n\t  value: propTypes.oneOfType([propTypes.string, propTypes.number, propTypes.bool]),\n\t  name: propTypes.string,\n\t  checked: propTypes.bool,\n\t  indeterminate: propTypes.bool,\n\t  onChange: propTypes.func\n\t};\n\n\t/**\n\t * The primary Checkbox component.\n\t * This can be used used manually within a {@link CheckboxGroup} or can be auto generated using a childless {@link CheckboxGroup}.\n\t *\n\t * @param {Object} props - The props object for the component.\n\t * @param {CheckboxValue} props.value - The value of the checkbox.\n\t * @param {...Object} props.restProps - Any additional props for the checkbox input element.\n\t * @constructor\n\t */\n\tvar Checkbox = function Checkbox(props) {\n\t  return React.createElement(\n\t    CheckboxGroupContext.Consumer,\n\t    null,\n\t    function (value) {\n\t      var _extractContext = extractContext(value, props.value, props),\n\t          name = _extractContext.name,\n\t          options = _extractContext.options,\n\t          rest = _objectWithoutProperties(_extractContext, ['name', 'options']);\n\n\t      return React.createElement(PreContextualizedCheckbox, _extends({\n\t        name: name,\n\t        checked: options.checked,\n\t        indeterminate: options.indeterminate,\n\t        onChange: options.onChange\n\t      }, rest));\n\t    }\n\t  );\n\t};\n\tCheckbox.defaultProps = {\n\t  value: undefined\n\t};\n\n\tCheckbox.propTypes = {\n\t  value: propTypes.oneOfType([propTypes.string, propTypes.number, propTypes.bool])\n\t};\n\n\t/**\n\t * A component for grouping checkboxes into a shared purpose.\n\t */\n\tvar CheckboxGroup = function (_React$Component) {\n\t  _inherits(CheckboxGroup, _React$Component);\n\n\t  function CheckboxGroup() {\n\t    var _ref2;\n\n\t    var _temp, _this, _ret;\n\n\t    _classCallCheck(this, CheckboxGroup);\n\n\t    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t      args[_key] = arguments[_key];\n\t    }\n\n\t    return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref2 = CheckboxGroup.__proto__ || Object.getPrototypeOf(CheckboxGroup)).call.apply(_ref2, [this].concat(args))), _this), _this.state = {\n\t      checkedValues: _this.props.checkedValues,\n\t      // eslint-disable-next-line\n\t      indeterminateValues: _this.props.indeterminateValues\n\t    }, _this.isControlledComponent = function () {\n\t      return Boolean(_this.props.checkedValues);\n\t    }, _this.onCheckboxChange = function (checkboxValue, event) {\n\t      var newValues = void 0;\n\t      // Remove the value from checkedValues if was checked or add it if not checked.\n\t      if (_this.state.checkedValues.includes(checkboxValue)) {\n\t        newValues = _this.state.checkedValues.filter(function (v) {\n\t          return v !== checkboxValue;\n\t        });\n\t      } else {\n\t        newValues = _this.state.checkedValues.concat(checkboxValue);\n\t      }\n\n\t      if (_this.isControlledComponent()) {\n\t        // The state will reflect checked values passed from props at all times.\n\t        _this.setState({ checkedValues: _this.props.checkedValues });\n\t      } else {\n\t        _this.setState({ checkedValues: newValues });\n\t      }\n\n\t      if (typeof _this.props.onChange === 'function') {\n\t        // The checkbox group was provided an onChange function so this calls that.\n\t        _this.props.onChange(newValues, event, _this.props.name);\n\t      }\n\t    }, _this.createChildren = function (values, renderer, providedValue) {\n\t      return values.map(function (value, index) {\n\t        var checkboxValue = value;\n\t        var props = void 0;\n\t        var label = void 0;\n\n\t        // value may be the direct value or an object with a value prop.\n\t        if ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {\n\t          checkboxValue = value.value;\n\t          props = value.props ? value.props : {};\n\t          label = value.label ? value.label : checkboxValue;\n\t        }\n\n\t        var _extractContext2 = extractContext(providedValue, checkboxValue, props),\n\t            name = _extractContext2.name,\n\t            options = _extractContext2.options,\n\t            rest = _objectWithoutProperties(_extractContext2, ['name', 'options']);\n\n\t        // label may be a function to return the label string or just the label string\n\n\n\t        if (label && {}.toString.call(label) === '[object Function]') {\n\t          label = label();\n\t        } else if (!label) {\n\t          label = checkboxValue;\n\t        }\n\n\t        var CheckboxComponent = React.createElement(PreContextualizedCheckbox, _extends({\n\t          key: [checkboxValue, index].join(' '),\n\t          name: name,\n\t          checked: options.checked,\n\t          indeterminate: options.indeterminate,\n\t          onChange: options.onChange\n\t        }, rest));\n\n\t        return renderer(CheckboxComponent, index, _extends({\n\t          label: label,\n\t          value: checkboxValue,\n\t          name: name,\n\t          options: options\n\t        }, props));\n\t      });\n\t    }, _temp), _possibleConstructorReturn(_this, _ret);\n\t  }\n\t  /**\n\t   * The state of this CheckboxGroup.\n\t   * @type {{checkedValues: array.<CheckboxValue>, indeterminateValues: array.<CheckboxValue>}}\n\t   */\n\n\n\t  _createClass(CheckboxGroup, [{\n\t    key: 'componentWillReceiveProps',\n\t    value: function componentWillReceiveProps(newProps) {\n\t      // Update this component's state with the checked/indeterminate status of each checkbox.\n\t      if (newProps.checkedValues) {\n\t        this.setState({\n\t          checkedValues: newProps.checkedValues\n\t        });\n\t      }\n\t      if (newProps.indeterminateValues) {\n\t        this.setState({\n\t          // eslint-disable-next-line\n\t          indeterminateValues: newProps.indeterminateValues\n\t        });\n\t      }\n\t    }\n\n\t    /**\n\t     * Tells whether this component is being fed in checked values externally.\n\t     *\n\t     * @returns {boolean} True if the checked values are being passed into this CheckboxGroup.\n\t     */\n\n\n\t    /**\n\t     * The change handler for when any of this group's checkboxes change state.\n\t     *\n\t     * @param {CheckboxValue} checkboxValue - The checkbox value that has changed.\n\t     * @param {Event} event - The javascript event created for the checkbox state change.\n\t     */\n\n\n\t    /**\n\t     * Creates a tree of child checkbox elements based on an array of values.\n\t     *\n\t     * @param {array.<(CheckboxValue|CheckboxValueObject)>} values - The array of values to render as checkboxes.\n\t     * @param renderer - The checkbox renderer to use.\n\t     * @param providedValue - The context value to use for each checkbox.\n\t     * @returns A renderable tree of checkbox components.\n\t     */\n\n\t  }, {\n\t    key: 'render',\n\t    value: function render() {\n\t      var _props = this.props,\n\t          Component = _props.Component,\n\t          name = _props.name,\n\t          values = _props.values,\n\t          checkedValues = _props.checkedValues,\n\t          indeterminateValues = _props.indeterminateValues,\n\t          onChange = _props.onChange,\n\t          children = _props.children,\n\t          checkboxRenderer = _props.checkboxRenderer,\n\t          rest = _objectWithoutProperties(_props, ['Component', 'name', 'values', 'checkedValues', 'indeterminateValues', 'onChange', 'children', 'checkboxRenderer']);\n\n\t      // These are the values passed through context.\n\n\n\t      var providedValue = {\n\t        name: name,\n\t        checkedValues: checkedValues,\n\t        indeterminateValues: indeterminateValues,\n\t        onChange: this.onCheckboxChange\n\t      };\n\n\t      return React.createElement(\n\t        CheckboxGroupContext.Provider,\n\t        { value: providedValue },\n\t        React.createElement(\n\t          Component,\n\t          rest,\n\t          children || this.createChildren(values, checkboxRenderer, providedValue)\n\t        )\n\t      );\n\t    }\n\t  }]);\n\n\t  return CheckboxGroup;\n\t}(React.Component);\n\n\t// Tbe shape of a checkbox value\n\tvar valueShape = {\n\t  value: propTypes.oneOfType([propTypes.string, propTypes.number, propTypes.bool]).isRequired,\n\t  label: propTypes.oneOfType([propTypes.node, propTypes.func]),\n\t  props: propTypes.objectOf(propTypes.any)\n\t};\n\tvalueShape.children = propTypes.arrayOf(propTypes.oneOfType([propTypes.string, propTypes.number, propTypes.bool, propTypes.shape(valueShape)]));\n\n\tCheckboxGroup.defaultProps = {\n\t  name: undefined,\n\t  /**\n\t   * @type {array.<(CheckboxValue|CheckboxValueObject)>}\n\t   */\n\t  values: [],\n\t  /**\n\t   * @type {array.<CheckboxValue>}\n\t   */\n\t  checkedValues: [],\n\t  /**\n\t   * @type {array.<CheckboxValue>}\n\t   */\n\t  indeterminateValues: [],\n\t  onChange: undefined,\n\t  children: undefined,\n\t  Component: 'div',\n\t  /**\n\t   *\n\t   * @param {React.Component} CheckboxComponent - The actual checkbox component to be rendered.\n\t   * @param {number} index - The index derived from the map function.\n\t   * @param {Object} props - The props of the checkbox.\n\t   * @param {CheckboxValue} props.value - The value of the checkbox.\n\t   * @param {React.Component | Function} props.label - the label to be rendered.\n\t   * @param {string} props.name - The name of the checkbox group.\n\t   * @param {CheckboxOptions} props.options - The natural attributes of a checkbox input.\n\t   * @param (...Object} props.rest - The remaining props of the checkbox.\n\t   * @returns {React.Component} A renderable checkbox.\n\t   */\n\t  checkboxRenderer: function checkboxRenderer(CheckboxComponent, index, _ref3) {\n\t    var value = _ref3.value,\n\t        label = _ref3.label;\n\t    return React.createElement(\n\t      'label',\n\t      { key: [value, index].join(' ') },\n\t      CheckboxComponent,\n\t      ' ',\n\t      label\n\t    );\n\t  }\n\t};\n\n\tCheckboxGroup.propTypes = {\n\t  name: propTypes.string,\n\t  values: propTypes.arrayOf(propTypes.oneOfType([propTypes.string, propTypes.number, propTypes.bool, propTypes.shape(valueShape)])),\n\t  checkedValues: propTypes.arrayOf(propTypes.oneOfType([propTypes.string, propTypes.number, propTypes.bool])),\n\t  indeterminateValues: propTypes.arrayOf(propTypes.oneOfType([propTypes.string, propTypes.number, propTypes.bool])),\n\t  onChange: propTypes.func,\n\t  children: propTypes.node,\n\t  Component: propTypes.node,\n\t  checkboxRenderer: propTypes.func\n\t};\n\n\t/**\n\t * @typedef {(string|number|boolean)} CheckboxValue\n\t */\n\n\t/**\n\t * @typedef {Object} CheckboxValueObject\n\t * @property {CheckboxValue} value - The actual value of the checkbox.\n\t * @property {React.Component | Function} label - The label to be associate with the checkbox.\n\t * @property {Object} props - The component props for the checkbox.\n\t * @property {?array.<(CheckboxValue|CheckboxValueObject)>} children - An optional child array of values.\n\t */\n\n\t/**\n\t * @typedef {Object} CheckboxOptions\n\t * @property {?boolean} checked - Whether or not the checkbox is checked.\n\t * @property {?boolean} indeterminate - Whether or not the checkbox is indeterminate.\n\t * @property {?Function} onChange - The function to call when the checkbox input changes state.\n\t */\n\n\t/**\n\t * @typedef {Object} ExtractedContext\n\t * @property {string} name - The name of the checkbox group.\n\t * @property {CheckboxOptions} options - The natural attributes of a checkbox input.\n\t * @property {...*} props - Any additional props to pass to a checkbox input.\n\t */\n\n\texports.CheckboxGroupContext = CheckboxGroupContext;\n\texports.Checkbox = Checkbox;\n\texports.CheckboxGroup = CheckboxGroup;\n\n\tObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n"]}