/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 44);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports) {

module.exports = React;

/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {

/**
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

if (false) { var throwOnDirectAccess, ReactIs; } else {
  // By explicitly using `prop-types` you are opting into new production behavior.
  // http://fb.me/prop-types-in-prod
  module.exports = __webpack_require__(45)();
}


/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {

/* WEBPACK VAR INJECTION */(function(global, module) {var __WEBPACK_AMD_DEFINE_RESULT__;/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */
;(function() {

  /** Used as a safe reference for `undefined` in pre-ES5 environments. */
  var undefined;

  /** Used as the semantic version number. */
  var VERSION = '4.17.21';

  /** Used as the size to enable large array optimizations. */
  var LARGE_ARRAY_SIZE = 200;

  /** Error message constants. */
  var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',
      FUNC_ERROR_TEXT = 'Expected a function',
      INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';

  /** Used to stand-in for `undefined` hash values. */
  var HASH_UNDEFINED = '__lodash_hash_undefined__';

  /** Used as the maximum memoize cache size. */
  var MAX_MEMOIZE_SIZE = 500;

  /** Used as the internal argument placeholder. */
  var PLACEHOLDER = '__lodash_placeholder__';

  /** Used to compose bitmasks for cloning. */
  var CLONE_DEEP_FLAG = 1,
      CLONE_FLAT_FLAG = 2,
      CLONE_SYMBOLS_FLAG = 4;

  /** Used to compose bitmasks for value comparisons. */
  var COMPARE_PARTIAL_FLAG = 1,
      COMPARE_UNORDERED_FLAG = 2;

  /** Used to compose bitmasks for function metadata. */
  var WRAP_BIND_FLAG = 1,
      WRAP_BIND_KEY_FLAG = 2,
      WRAP_CURRY_BOUND_FLAG = 4,
      WRAP_CURRY_FLAG = 8,
      WRAP_CURRY_RIGHT_FLAG = 16,
      WRAP_PARTIAL_FLAG = 32,
      WRAP_PARTIAL_RIGHT_FLAG = 64,
      WRAP_ARY_FLAG = 128,
      WRAP_REARG_FLAG = 256,
      WRAP_FLIP_FLAG = 512;

  /** Used as default options for `_.truncate`. */
  var DEFAULT_TRUNC_LENGTH = 30,
      DEFAULT_TRUNC_OMISSION = '...';

  /** Used to detect hot functions by number of calls within a span of milliseconds. */
  var HOT_COUNT = 800,
      HOT_SPAN = 16;

  /** Used to indicate the type of lazy iteratees. */
  var LAZY_FILTER_FLAG = 1,
      LAZY_MAP_FLAG = 2,
      LAZY_WHILE_FLAG = 3;

  /** Used as references for various `Number` constants. */
  var INFINITY = 1 / 0,
      MAX_SAFE_INTEGER = 9007199254740991,
      MAX_INTEGER = 1.7976931348623157e+308,
      NAN = 0 / 0;

  /** Used as references for the maximum length and index of an array. */
  var MAX_ARRAY_LENGTH = 4294967295,
      MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,
      HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;

  /** Used to associate wrap methods with their bit flags. */
  var wrapFlags = [
    ['ary', WRAP_ARY_FLAG],
    ['bind', WRAP_BIND_FLAG],
    ['bindKey', WRAP_BIND_KEY_FLAG],
    ['curry', WRAP_CURRY_FLAG],
    ['curryRight', WRAP_CURRY_RIGHT_FLAG],
    ['flip', WRAP_FLIP_FLAG],
    ['partial', WRAP_PARTIAL_FLAG],
    ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],
    ['rearg', WRAP_REARG_FLAG]
  ];

  /** `Object#toString` result references. */
  var argsTag = '[object Arguments]',
      arrayTag = '[object Array]',
      asyncTag = '[object AsyncFunction]',
      boolTag = '[object Boolean]',
      dateTag = '[object Date]',
      domExcTag = '[object DOMException]',
      errorTag = '[object Error]',
      funcTag = '[object Function]',
      genTag = '[object GeneratorFunction]',
      mapTag = '[object Map]',
      numberTag = '[object Number]',
      nullTag = '[object Null]',
      objectTag = '[object Object]',
      promiseTag = '[object Promise]',
      proxyTag = '[object Proxy]',
      regexpTag = '[object RegExp]',
      setTag = '[object Set]',
      stringTag = '[object String]',
      symbolTag = '[object Symbol]',
      undefinedTag = '[object Undefined]',
      weakMapTag = '[object WeakMap]',
      weakSetTag = '[object WeakSet]';

  var arrayBufferTag = '[object ArrayBuffer]',
      dataViewTag = '[object DataView]',
      float32Tag = '[object Float32Array]',
      float64Tag = '[object Float64Array]',
      int8Tag = '[object Int8Array]',
      int16Tag = '[object Int16Array]',
      int32Tag = '[object Int32Array]',
      uint8Tag = '[object Uint8Array]',
      uint8ClampedTag = '[object Uint8ClampedArray]',
      uint16Tag = '[object Uint16Array]',
      uint32Tag = '[object Uint32Array]';

  /** Used to match empty string literals in compiled template source. */
  var reEmptyStringLeading = /\b__p \+= '';/g,
      reEmptyStringMiddle = /\b(__p \+=) '' \+/g,
      reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;

  /** Used to match HTML entities and HTML characters. */
  var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,
      reUnescapedHtml = /[&<>"']/g,
      reHasEscapedHtml = RegExp(reEscapedHtml.source),
      reHasUnescapedHtml = RegExp(reUnescapedHtml.source);

  /** Used to match template delimiters. */
  var reEscape = /<%-([\s\S]+?)%>/g,
      reEvaluate = /<%([\s\S]+?)%>/g,
      reInterpolate = /<%=([\s\S]+?)%>/g;

  /** Used to match property names within property paths. */
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
      reIsPlainProp = /^\w*$/,
      rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;

  /**
   * Used to match `RegExp`
   * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
   */
  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g,
      reHasRegExpChar = RegExp(reRegExpChar.source);

  /** Used to match leading whitespace. */
  var reTrimStart = /^\s+/;

  /** Used to match a single whitespace character. */
  var reWhitespace = /\s/;

  /** Used to match wrap detail comments. */
  var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
      reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/,
      reSplitDetails = /,? & /;

  /** Used to match words composed of alphanumeric characters. */
  var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;

  /**
   * Used to validate the `validate` option in `_.template` variable.
   *
   * Forbids characters which could potentially change the meaning of the function argument definition:
   * - "()," (modification of function parameters)
   * - "=" (default value)
   * - "[]{}" (destructuring of function parameters)
   * - "/" (beginning of a comment)
   * - whitespace
   */
  var reForbiddenIdentifierChars = /[()=,{}\[\]\/\s]/;

  /** Used to match backslashes in property paths. */
  var reEscapeChar = /\\(\\)?/g;

  /**
   * Used to match
   * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).
   */
  var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;

  /** Used to match `RegExp` flags from their coerced string values. */
  var reFlags = /\w*$/;

  /** Used to detect bad signed hexadecimal string values. */
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;

  /** Used to detect binary string values. */
  var reIsBinary = /^0b[01]+$/i;

  /** Used to detect host constructors (Safari). */
  var reIsHostCtor = /^\[object .+?Constructor\]$/;

  /** Used to detect octal string values. */
  var reIsOctal = /^0o[0-7]+$/i;

  /** Used to detect unsigned integer values. */
  var reIsUint = /^(?:0|[1-9]\d*)$/;

  /** Used to match Latin Unicode letters (excluding mathematical operators). */
  var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;

  /** Used to ensure capturing order of template delimiters. */
  var reNoMatch = /($^)/;

  /** Used to match unescaped characters in compiled string literals. */
  var reUnescapedString = /['\n\r\u2028\u2029\\]/g;

  /** Used to compose unicode character classes. */
  var rsAstralRange = '\\ud800-\\udfff',
      rsComboMarksRange = '\\u0300-\\u036f',
      reComboHalfMarksRange = '\\ufe20-\\ufe2f',
      rsComboSymbolsRange = '\\u20d0-\\u20ff',
      rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
      rsDingbatRange = '\\u2700-\\u27bf',
      rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
      rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
      rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
      rsPunctuationRange = '\\u2000-\\u206f',
      rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
      rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
      rsVarRange = '\\ufe0e\\ufe0f',
      rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;

  /** Used to compose unicode capture groups. */
  var rsApos = "['\u2019]",
      rsAstral = '[' + rsAstralRange + ']',
      rsBreak = '[' + rsBreakRange + ']',
      rsCombo = '[' + rsComboRange + ']',
      rsDigits = '\\d+',
      rsDingbat = '[' + rsDingbatRange + ']',
      rsLower = '[' + rsLowerRange + ']',
      rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
      rsFitz = '\\ud83c[\\udffb-\\udfff]',
      rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
      rsNonAstral = '[^' + rsAstralRange + ']',
      rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
      rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
      rsUpper = '[' + rsUpperRange + ']',
      rsZWJ = '\\u200d';

  /** Used to compose unicode regexes. */
  var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
      rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
      rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
      rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
      reOptMod = rsModifier + '?',
      rsOptVar = '[' + rsVarRange + ']?',
      rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
      rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
      rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
      rsSeq = rsOptVar + reOptMod + rsOptJoin,
      rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,
      rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';

  /** Used to match apostrophes. */
  var reApos = RegExp(rsApos, 'g');

  /**
   * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
   * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
   */
  var reComboMark = RegExp(rsCombo, 'g');

  /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
  var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');

  /** Used to match complex or compound words. */
  var reUnicodeWord = RegExp([
    rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
    rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
    rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
    rsUpper + '+' + rsOptContrUpper,
    rsOrdUpper,
    rsOrdLower,
    rsDigits,
    rsEmoji
  ].join('|'), 'g');

  /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
  var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange  + rsComboRange + rsVarRange + ']');

  /** Used to detect strings that need a more robust regexp to match words. */
  var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;

  /** Used to assign default `context` object properties. */
  var contextProps = [
    'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',
    'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',
    'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',
    'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',
    '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'
  ];

  /** Used to make template sourceURLs easier to identify. */
  var templateCounter = -1;

  /** Used to identify `toStringTag` values of typed arrays. */
  var typedArrayTags = {};
  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
  typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
  typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
  typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
  typedArrayTags[uint32Tag] = true;
  typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
  typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
  typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
  typedArrayTags[errorTag] = typedArrayTags[funcTag] =
  typedArrayTags[mapTag] = typedArrayTags[numberTag] =
  typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
  typedArrayTags[setTag] = typedArrayTags[stringTag] =
  typedArrayTags[weakMapTag] = false;

  /** Used to identify `toStringTag` values supported by `_.clone`. */
  var cloneableTags = {};
  cloneableTags[argsTag] = cloneableTags[arrayTag] =
  cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
  cloneableTags[boolTag] = cloneableTags[dateTag] =
  cloneableTags[float32Tag] = cloneableTags[float64Tag] =
  cloneableTags[int8Tag] = cloneableTags[int16Tag] =
  cloneableTags[int32Tag] = cloneableTags[mapTag] =
  cloneableTags[numberTag] = cloneableTags[objectTag] =
  cloneableTags[regexpTag] = cloneableTags[setTag] =
  cloneableTags[stringTag] = cloneableTags[symbolTag] =
  cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
  cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
  cloneableTags[errorTag] = cloneableTags[funcTag] =
  cloneableTags[weakMapTag] = false;

  /** Used to map Latin Unicode letters to basic Latin letters. */
  var deburredLetters = {
    // Latin-1 Supplement block.
    '\xc0': 'A',  '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
    '\xe0': 'a',  '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
    '\xc7': 'C',  '\xe7': 'c',
    '\xd0': 'D',  '\xf0': 'd',
    '\xc8': 'E',  '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
    '\xe8': 'e',  '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
    '\xcc': 'I',  '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
    '\xec': 'i',  '\xed': 'i', '\xee': 'i', '\xef': 'i',
    '\xd1': 'N',  '\xf1': 'n',
    '\xd2': 'O',  '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
    '\xf2': 'o',  '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
    '\xd9': 'U',  '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
    '\xf9': 'u',  '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
    '\xdd': 'Y',  '\xfd': 'y', '\xff': 'y',
    '\xc6': 'Ae', '\xe6': 'ae',
    '\xde': 'Th', '\xfe': 'th',
    '\xdf': 'ss',
    // Latin Extended-A block.
    '\u0100': 'A',  '\u0102': 'A', '\u0104': 'A',
    '\u0101': 'a',  '\u0103': 'a', '\u0105': 'a',
    '\u0106': 'C',  '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
    '\u0107': 'c',  '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
    '\u010e': 'D',  '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
    '\u0112': 'E',  '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
    '\u0113': 'e',  '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
    '\u011c': 'G',  '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
    '\u011d': 'g',  '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
    '\u0124': 'H',  '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
    '\u0128': 'I',  '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
    '\u0129': 'i',  '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
    '\u0134': 'J',  '\u0135': 'j',
    '\u0136': 'K',  '\u0137': 'k', '\u0138': 'k',
    '\u0139': 'L',  '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
    '\u013a': 'l',  '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
    '\u0143': 'N',  '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
    '\u0144': 'n',  '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
    '\u014c': 'O',  '\u014e': 'O', '\u0150': 'O',
    '\u014d': 'o',  '\u014f': 'o', '\u0151': 'o',
    '\u0154': 'R',  '\u0156': 'R', '\u0158': 'R',
    '\u0155': 'r',  '\u0157': 'r', '\u0159': 'r',
    '\u015a': 'S',  '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
    '\u015b': 's',  '\u015d': 's', '\u015f': 's', '\u0161': 's',
    '\u0162': 'T',  '\u0164': 'T', '\u0166': 'T',
    '\u0163': 't',  '\u0165': 't', '\u0167': 't',
    '\u0168': 'U',  '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
    '\u0169': 'u',  '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
    '\u0174': 'W',  '\u0175': 'w',
    '\u0176': 'Y',  '\u0177': 'y', '\u0178': 'Y',
    '\u0179': 'Z',  '\u017b': 'Z', '\u017d': 'Z',
    '\u017a': 'z',  '\u017c': 'z', '\u017e': 'z',
    '\u0132': 'IJ', '\u0133': 'ij',
    '\u0152': 'Oe', '\u0153': 'oe',
    '\u0149': "'n", '\u017f': 's'
  };

  /** Used to map characters to HTML entities. */
  var htmlEscapes = {
    '&': '&amp;',
    '<': '&lt;',
    '>': '&gt;',
    '"': '&quot;',
    "'": '&#39;'
  };

  /** Used to map HTML entities to characters. */
  var htmlUnescapes = {
    '&amp;': '&',
    '&lt;': '<',
    '&gt;': '>',
    '&quot;': '"',
    '&#39;': "'"
  };

  /** Used to escape characters for inclusion in compiled string literals. */
  var stringEscapes = {
    '\\': '\\',
    "'": "'",
    '\n': 'n',
    '\r': 'r',
    '\u2028': 'u2028',
    '\u2029': 'u2029'
  };

  /** Built-in method references without a dependency on `root`. */
  var freeParseFloat = parseFloat,
      freeParseInt = parseInt;

  /** Detect free variable `global` from Node.js. */
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;

  /** Detect free variable `self`. */
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;

  /** Used as a reference to the global object. */
  var root = freeGlobal || freeSelf || Function('return this')();

  /** Detect free variable `exports`. */
  var freeExports =  true && exports && !exports.nodeType && exports;

  /** Detect free variable `module`. */
  var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;

  /** Detect the popular CommonJS extension `module.exports`. */
  var moduleExports = freeModule && freeModule.exports === freeExports;

  /** Detect free variable `process` from Node.js. */
  var freeProcess = moduleExports && freeGlobal.process;

  /** Used to access faster Node.js helpers. */
  var nodeUtil = (function() {
    try {
      // Use `util.types` for Node.js 10+.
      var types = freeModule && freeModule.require && freeModule.require('util').types;

      if (types) {
        return types;
      }

      // Legacy `process.binding('util')` for Node.js < 10.
      return freeProcess && freeProcess.binding && freeProcess.binding('util');
    } catch (e) {}
  }());

  /* Node.js helper references. */
  var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,
      nodeIsDate = nodeUtil && nodeUtil.isDate,
      nodeIsMap = nodeUtil && nodeUtil.isMap,
      nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,
      nodeIsSet = nodeUtil && nodeUtil.isSet,
      nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;

  /*--------------------------------------------------------------------------*/

  /**
   * A faster alternative to `Function#apply`, this function invokes `func`
   * with the `this` binding of `thisArg` and the arguments of `args`.
   *
   * @private
   * @param {Function} func The function to invoke.
   * @param {*} thisArg The `this` binding of `func`.
   * @param {Array} args The arguments to invoke `func` with.
   * @returns {*} Returns the result of `func`.
   */
  function apply(func, thisArg, args) {
    switch (args.length) {
      case 0: return func.call(thisArg);
      case 1: return func.call(thisArg, args[0]);
      case 2: return func.call(thisArg, args[0], args[1]);
      case 3: return func.call(thisArg, args[0], args[1], args[2]);
    }
    return func.apply(thisArg, args);
  }

  /**
   * A specialized version of `baseAggregator` for arrays.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} setter The function to set `accumulator` values.
   * @param {Function} iteratee The iteratee to transform keys.
   * @param {Object} accumulator The initial aggregated object.
   * @returns {Function} Returns `accumulator`.
   */
  function arrayAggregator(array, setter, iteratee, accumulator) {
    var index = -1,
        length = array == null ? 0 : array.length;

    while (++index < length) {
      var value = array[index];
      setter(accumulator, value, iteratee(value), array);
    }
    return accumulator;
  }

  /**
   * A specialized version of `_.forEach` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {Array} Returns `array`.
   */
  function arrayEach(array, iteratee) {
    var index = -1,
        length = array == null ? 0 : array.length;

    while (++index < length) {
      if (iteratee(array[index], index, array) === false) {
        break;
      }
    }
    return array;
  }

  /**
   * A specialized version of `_.forEachRight` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {Array} Returns `array`.
   */
  function arrayEachRight(array, iteratee) {
    var length = array == null ? 0 : array.length;

    while (length--) {
      if (iteratee(array[length], length, array) === false) {
        break;
      }
    }
    return array;
  }

  /**
   * A specialized version of `_.every` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} predicate The function invoked per iteration.
   * @returns {boolean} Returns `true` if all elements pass the predicate check,
   *  else `false`.
   */
  function arrayEvery(array, predicate) {
    var index = -1,
        length = array == null ? 0 : array.length;

    while (++index < length) {
      if (!predicate(array[index], index, array)) {
        return false;
      }
    }
    return true;
  }

  /**
   * A specialized version of `_.filter` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} predicate The function invoked per iteration.
   * @returns {Array} Returns the new filtered array.
   */
  function arrayFilter(array, predicate) {
    var index = -1,
        length = array == null ? 0 : array.length,
        resIndex = 0,
        result = [];

    while (++index < length) {
      var value = array[index];
      if (predicate(value, index, array)) {
        result[resIndex++] = value;
      }
    }
    return result;
  }

  /**
   * A specialized version of `_.includes` for arrays without support for
   * specifying an index to search from.
   *
   * @private
   * @param {Array} [array] The array to inspect.
   * @param {*} target The value to search for.
   * @returns {boolean} Returns `true` if `target` is found, else `false`.
   */
  function arrayIncludes(array, value) {
    var length = array == null ? 0 : array.length;
    return !!length && baseIndexOf(array, value, 0) > -1;
  }

  /**
   * This function is like `arrayIncludes` except that it accepts a comparator.
   *
   * @private
   * @param {Array} [array] The array to inspect.
   * @param {*} target The value to search for.
   * @param {Function} comparator The comparator invoked per element.
   * @returns {boolean} Returns `true` if `target` is found, else `false`.
   */
  function arrayIncludesWith(array, value, comparator) {
    var index = -1,
        length = array == null ? 0 : array.length;

    while (++index < length) {
      if (comparator(value, array[index])) {
        return true;
      }
    }
    return false;
  }

  /**
   * A specialized version of `_.map` for arrays without support for iteratee
   * shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {Array} Returns the new mapped array.
   */
  function arrayMap(array, iteratee) {
    var index = -1,
        length = array == null ? 0 : array.length,
        result = Array(length);

    while (++index < length) {
      result[index] = iteratee(array[index], index, array);
    }
    return result;
  }

  /**
   * Appends the elements of `values` to `array`.
   *
   * @private
   * @param {Array} array The array to modify.
   * @param {Array} values The values to append.
   * @returns {Array} Returns `array`.
   */
  function arrayPush(array, values) {
    var index = -1,
        length = values.length,
        offset = array.length;

    while (++index < length) {
      array[offset + index] = values[index];
    }
    return array;
  }

  /**
   * A specialized version of `_.reduce` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @param {*} [accumulator] The initial value.
   * @param {boolean} [initAccum] Specify using the first element of `array` as
   *  the initial value.
   * @returns {*} Returns the accumulated value.
   */
  function arrayReduce(array, iteratee, accumulator, initAccum) {
    var index = -1,
        length = array == null ? 0 : array.length;

    if (initAccum && length) {
      accumulator = array[++index];
    }
    while (++index < length) {
      accumulator = iteratee(accumulator, array[index], index, array);
    }
    return accumulator;
  }

  /**
   * A specialized version of `_.reduceRight` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @param {*} [accumulator] The initial value.
   * @param {boolean} [initAccum] Specify using the last element of `array` as
   *  the initial value.
   * @returns {*} Returns the accumulated value.
   */
  function arrayReduceRight(array, iteratee, accumulator, initAccum) {
    var length = array == null ? 0 : array.length;
    if (initAccum && length) {
      accumulator = array[--length];
    }
    while (length--) {
      accumulator = iteratee(accumulator, array[length], length, array);
    }
    return accumulator;
  }

  /**
   * A specialized version of `_.some` for arrays without support for iteratee
   * shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} predicate The function invoked per iteration.
   * @returns {boolean} Returns `true` if any element passes the predicate check,
   *  else `false`.
   */
  function arraySome(array, predicate) {
    var index = -1,
        length = array == null ? 0 : array.length;

    while (++index < length) {
      if (predicate(array[index], index, array)) {
        return true;
      }
    }
    return false;
  }

  /**
   * Gets the size of an ASCII `string`.
   *
   * @private
   * @param {string} string The string inspect.
   * @returns {number} Returns the string size.
   */
  var asciiSize = baseProperty('length');

  /**
   * Converts an ASCII `string` to an array.
   *
   * @private
   * @param {string} string The string to convert.
   * @returns {Array} Returns the converted array.
   */
  function asciiToArray(string) {
    return string.split('');
  }

  /**
   * Splits an ASCII `string` into an array of its words.
   *
   * @private
   * @param {string} The string to inspect.
   * @returns {Array} Returns the words of `string`.
   */
  function asciiWords(string) {
    return string.match(reAsciiWord) || [];
  }

  /**
   * The base implementation of methods like `_.findKey` and `_.findLastKey`,
   * without support for iteratee shorthands, which iterates over `collection`
   * using `eachFunc`.
   *
   * @private
   * @param {Array|Object} collection The collection to inspect.
   * @param {Function} predicate The function invoked per iteration.
   * @param {Function} eachFunc The function to iterate over `collection`.
   * @returns {*} Returns the found element or its key, else `undefined`.
   */
  function baseFindKey(collection, predicate, eachFunc) {
    var result;
    eachFunc(collection, function(value, key, collection) {
      if (predicate(value, key, collection)) {
        result = key;
        return false;
      }
    });
    return result;
  }

  /**
   * The base implementation of `_.findIndex` and `_.findLastIndex` without
   * support for iteratee shorthands.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {Function} predicate The function invoked per iteration.
   * @param {number} fromIndex The index to search from.
   * @param {boolean} [fromRight] Specify iterating from right to left.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */
  function baseFindIndex(array, predicate, fromIndex, fromRight) {
    var length = array.length,
        index = fromIndex + (fromRight ? 1 : -1);

    while ((fromRight ? index-- : ++index < length)) {
      if (predicate(array[index], index, array)) {
        return index;
      }
    }
    return -1;
  }

  /**
   * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} value The value to search for.
   * @param {number} fromIndex The index to search from.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */
  function baseIndexOf(array, value, fromIndex) {
    return value === value
      ? strictIndexOf(array, value, fromIndex)
      : baseFindIndex(array, baseIsNaN, fromIndex);
  }

  /**
   * This function is like `baseIndexOf` except that it accepts a comparator.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} value The value to search for.
   * @param {number} fromIndex The index to search from.
   * @param {Function} comparator The comparator invoked per element.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */
  function baseIndexOfWith(array, value, fromIndex, comparator) {
    var index = fromIndex - 1,
        length = array.length;

    while (++index < length) {
      if (comparator(array[index], value)) {
        return index;
      }
    }
    return -1;
  }

  /**
   * The base implementation of `_.isNaN` without support for number objects.
   *
   * @private
   * @param {*} value The value to check.
   * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
   */
  function baseIsNaN(value) {
    return value !== value;
  }

  /**
   * The base implementation of `_.mean` and `_.meanBy` without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} array The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {number} Returns the mean.
   */
  function baseMean(array, iteratee) {
    var length = array == null ? 0 : array.length;
    return length ? (baseSum(array, iteratee) / length) : NAN;
  }

  /**
   * The base implementation of `_.property` without support for deep paths.
   *
   * @private
   * @param {string} key The key of the property to get.
   * @returns {Function} Returns the new accessor function.
   */
  function baseProperty(key) {
    return function(object) {
      return object == null ? undefined : object[key];
    };
  }

  /**
   * The base implementation of `_.propertyOf` without support for deep paths.
   *
   * @private
   * @param {Object} object The object to query.
   * @returns {Function} Returns the new accessor function.
   */
  function basePropertyOf(object) {
    return function(key) {
      return object == null ? undefined : object[key];
    };
  }

  /**
   * The base implementation of `_.reduce` and `_.reduceRight`, without support
   * for iteratee shorthands, which iterates over `collection` using `eachFunc`.
   *
   * @private
   * @param {Array|Object} collection The collection to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @param {*} accumulator The initial value.
   * @param {boolean} initAccum Specify using the first or last element of
   *  `collection` as the initial value.
   * @param {Function} eachFunc The function to iterate over `collection`.
   * @returns {*} Returns the accumulated value.
   */
  function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
    eachFunc(collection, function(value, index, collection) {
      accumulator = initAccum
        ? (initAccum = false, value)
        : iteratee(accumulator, value, index, collection);
    });
    return accumulator;
  }

  /**
   * The base implementation of `_.sortBy` which uses `comparer` to define the
   * sort order of `array` and replaces criteria objects with their corresponding
   * values.
   *
   * @private
   * @param {Array} array The array to sort.
   * @param {Function} comparer The function to define sort order.
   * @returns {Array} Returns `array`.
   */
  function baseSortBy(array, comparer) {
    var length = array.length;

    array.sort(comparer);
    while (length--) {
      array[length] = array[length].value;
    }
    return array;
  }

  /**
   * The base implementation of `_.sum` and `_.sumBy` without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} array The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {number} Returns the sum.
   */
  function baseSum(array, iteratee) {
    var result,
        index = -1,
        length = array.length;

    while (++index < length) {
      var current = iteratee(array[index]);
      if (current !== undefined) {
        result = result === undefined ? current : (result + current);
      }
    }
    return result;
  }

  /**
   * The base implementation of `_.times` without support for iteratee shorthands
   * or max array length checks.
   *
   * @private
   * @param {number} n The number of times to invoke `iteratee`.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {Array} Returns the array of results.
   */
  function baseTimes(n, iteratee) {
    var index = -1,
        result = Array(n);

    while (++index < n) {
      result[index] = iteratee(index);
    }
    return result;
  }

  /**
   * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array
   * of key-value pairs for `object` corresponding to the property names of `props`.
   *
   * @private
   * @param {Object} object The object to query.
   * @param {Array} props The property names to get values for.
   * @returns {Object} Returns the key-value pairs.
   */
  function baseToPairs(object, props) {
    return arrayMap(props, function(key) {
      return [key, object[key]];
    });
  }

  /**
   * The base implementation of `_.trim`.
   *
   * @private
   * @param {string} string The string to trim.
   * @returns {string} Returns the trimmed string.
   */
  function baseTrim(string) {
    return string
      ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
      : string;
  }

  /**
   * The base implementation of `_.unary` without support for storing metadata.
   *
   * @private
   * @param {Function} func The function to cap arguments for.
   * @returns {Function} Returns the new capped function.
   */
  function baseUnary(func) {
    return function(value) {
      return func(value);
    };
  }

  /**
   * The base implementation of `_.values` and `_.valuesIn` which creates an
   * array of `object` property values corresponding to the property names
   * of `props`.
   *
   * @private
   * @param {Object} object The object to query.
   * @param {Array} props The property names to get values for.
   * @returns {Object} Returns the array of property values.
   */
  function baseValues(object, props) {
    return arrayMap(props, function(key) {
      return object[key];
    });
  }

  /**
   * Checks if a `cache` value for `key` exists.
   *
   * @private
   * @param {Object} cache The cache to query.
   * @param {string} key The key of the entry to check.
   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
   */
  function cacheHas(cache, key) {
    return cache.has(key);
  }

  /**
   * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol
   * that is not found in the character symbols.
   *
   * @private
   * @param {Array} strSymbols The string symbols to inspect.
   * @param {Array} chrSymbols The character symbols to find.
   * @returns {number} Returns the index of the first unmatched string symbol.
   */
  function charsStartIndex(strSymbols, chrSymbols) {
    var index = -1,
        length = strSymbols.length;

    while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
    return index;
  }

  /**
   * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol
   * that is not found in the character symbols.
   *
   * @private
   * @param {Array} strSymbols The string symbols to inspect.
   * @param {Array} chrSymbols The character symbols to find.
   * @returns {number} Returns the index of the last unmatched string symbol.
   */
  function charsEndIndex(strSymbols, chrSymbols) {
    var index = strSymbols.length;

    while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
    return index;
  }

  /**
   * Gets the number of `placeholder` occurrences in `array`.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} placeholder The placeholder to search for.
   * @returns {number} Returns the placeholder count.
   */
  function countHolders(array, placeholder) {
    var length = array.length,
        result = 0;

    while (length--) {
      if (array[length] === placeholder) {
        ++result;
      }
    }
    return result;
  }

  /**
   * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
   * letters to basic Latin letters.
   *
   * @private
   * @param {string} letter The matched letter to deburr.
   * @returns {string} Returns the deburred letter.
   */
  var deburrLetter = basePropertyOf(deburredLetters);

  /**
   * Used by `_.escape` to convert characters to HTML entities.
   *
   * @private
   * @param {string} chr The matched character to escape.
   * @returns {string} Returns the escaped character.
   */
  var escapeHtmlChar = basePropertyOf(htmlEscapes);

  /**
   * Used by `_.template` to escape characters for inclusion in compiled string literals.
   *
   * @private
   * @param {string} chr The matched character to escape.
   * @returns {string} Returns the escaped character.
   */
  function escapeStringChar(chr) {
    return '\\' + stringEscapes[chr];
  }

  /**
   * Gets the value at `key` of `object`.
   *
   * @private
   * @param {Object} [object] The object to query.
   * @param {string} key The key of the property to get.
   * @returns {*} Returns the property value.
   */
  function getValue(object, key) {
    return object == null ? undefined : object[key];
  }

  /**
   * Checks if `string` contains Unicode symbols.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {boolean} Returns `true` if a symbol is found, else `false`.
   */
  function hasUnicode(string) {
    return reHasUnicode.test(string);
  }

  /**
   * Checks if `string` contains a word composed of Unicode symbols.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {boolean} Returns `true` if a word is found, else `false`.
   */
  function hasUnicodeWord(string) {
    return reHasUnicodeWord.test(string);
  }

  /**
   * Converts `iterator` to an array.
   *
   * @private
   * @param {Object} iterator The iterator to convert.
   * @returns {Array} Returns the converted array.
   */
  function iteratorToArray(iterator) {
    var data,
        result = [];

    while (!(data = iterator.next()).done) {
      result.push(data.value);
    }
    return result;
  }

  /**
   * Converts `map` to its key-value pairs.
   *
   * @private
   * @param {Object} map The map to convert.
   * @returns {Array} Returns the key-value pairs.
   */
  function mapToArray(map) {
    var index = -1,
        result = Array(map.size);

    map.forEach(function(value, key) {
      result[++index] = [key, value];
    });
    return result;
  }

  /**
   * Creates a unary function that invokes `func` with its argument transformed.
   *
   * @private
   * @param {Function} func The function to wrap.
   * @param {Function} transform The argument transform.
   * @returns {Function} Returns the new function.
   */
  function overArg(func, transform) {
    return function(arg) {
      return func(transform(arg));
    };
  }

  /**
   * Replaces all `placeholder` elements in `array` with an internal placeholder
   * and returns an array of their indexes.
   *
   * @private
   * @param {Array} array The array to modify.
   * @param {*} placeholder The placeholder to replace.
   * @returns {Array} Returns the new array of placeholder indexes.
   */
  function replaceHolders(array, placeholder) {
    var index = -1,
        length = array.length,
        resIndex = 0,
        result = [];

    while (++index < length) {
      var value = array[index];
      if (value === placeholder || value === PLACEHOLDER) {
        array[index] = PLACEHOLDER;
        result[resIndex++] = index;
      }
    }
    return result;
  }

  /**
   * Converts `set` to an array of its values.
   *
   * @private
   * @param {Object} set The set to convert.
   * @returns {Array} Returns the values.
   */
  function setToArray(set) {
    var index = -1,
        result = Array(set.size);

    set.forEach(function(value) {
      result[++index] = value;
    });
    return result;
  }

  /**
   * Converts `set` to its value-value pairs.
   *
   * @private
   * @param {Object} set The set to convert.
   * @returns {Array} Returns the value-value pairs.
   */
  function setToPairs(set) {
    var index = -1,
        result = Array(set.size);

    set.forEach(function(value) {
      result[++index] = [value, value];
    });
    return result;
  }

  /**
   * A specialized version of `_.indexOf` which performs strict equality
   * comparisons of values, i.e. `===`.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} value The value to search for.
   * @param {number} fromIndex The index to search from.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */
  function strictIndexOf(array, value, fromIndex) {
    var index = fromIndex - 1,
        length = array.length;

    while (++index < length) {
      if (array[index] === value) {
        return index;
      }
    }
    return -1;
  }

  /**
   * A specialized version of `_.lastIndexOf` which performs strict equality
   * comparisons of values, i.e. `===`.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} value The value to search for.
   * @param {number} fromIndex The index to search from.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */
  function strictLastIndexOf(array, value, fromIndex) {
    var index = fromIndex + 1;
    while (index--) {
      if (array[index] === value) {
        return index;
      }
    }
    return index;
  }

  /**
   * Gets the number of symbols in `string`.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {number} Returns the string size.
   */
  function stringSize(string) {
    return hasUnicode(string)
      ? unicodeSize(string)
      : asciiSize(string);
  }

  /**
   * Converts `string` to an array.
   *
   * @private
   * @param {string} string The string to convert.
   * @returns {Array} Returns the converted array.
   */
  function stringToArray(string) {
    return hasUnicode(string)
      ? unicodeToArray(string)
      : asciiToArray(string);
  }

  /**
   * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
   * character of `string`.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {number} Returns the index of the last non-whitespace character.
   */
  function trimmedEndIndex(string) {
    var index = string.length;

    while (index-- && reWhitespace.test(string.charAt(index))) {}
    return index;
  }

  /**
   * Used by `_.unescape` to convert HTML entities to characters.
   *
   * @private
   * @param {string} chr The matched character to unescape.
   * @returns {string} Returns the unescaped character.
   */
  var unescapeHtmlChar = basePropertyOf(htmlUnescapes);

  /**
   * Gets the size of a Unicode `string`.
   *
   * @private
   * @param {string} string The string inspect.
   * @returns {number} Returns the string size.
   */
  function unicodeSize(string) {
    var result = reUnicode.lastIndex = 0;
    while (reUnicode.test(string)) {
      ++result;
    }
    return result;
  }

  /**
   * Converts a Unicode `string` to an array.
   *
   * @private
   * @param {string} string The string to convert.
   * @returns {Array} Returns the converted array.
   */
  function unicodeToArray(string) {
    return string.match(reUnicode) || [];
  }

  /**
   * Splits a Unicode `string` into an array of its words.
   *
   * @private
   * @param {string} The string to inspect.
   * @returns {Array} Returns the words of `string`.
   */
  function unicodeWords(string) {
    return string.match(reUnicodeWord) || [];
  }

  /*--------------------------------------------------------------------------*/

  /**
   * Create a new pristine `lodash` function using the `context` object.
   *
   * @static
   * @memberOf _
   * @since 1.1.0
   * @category Util
   * @param {Object} [context=root] The context object.
   * @returns {Function} Returns a new `lodash` function.
   * @example
   *
   * _.mixin({ 'foo': _.constant('foo') });
   *
   * var lodash = _.runInContext();
   * lodash.mixin({ 'bar': lodash.constant('bar') });
   *
   * _.isFunction(_.foo);
   * // => true
   * _.isFunction(_.bar);
   * // => false
   *
   * lodash.isFunction(lodash.foo);
   * // => false
   * lodash.isFunction(lodash.bar);
   * // => true
   *
   * // Create a suped-up `defer` in Node.js.
   * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;
   */
  var runInContext = (function runInContext(context) {
    context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));

    /** Built-in constructor references. */
    var Array = context.Array,
        Date = context.Date,
        Error = context.Error,
        Function = context.Function,
        Math = context.Math,
        Object = context.Object,
        RegExp = context.RegExp,
        String = context.String,
        TypeError = context.TypeError;

    /** Used for built-in method references. */
    var arrayProto = Array.prototype,
        funcProto = Function.prototype,
        objectProto = Object.prototype;

    /** Used to detect overreaching core-js shims. */
    var coreJsData = context['__core-js_shared__'];

    /** Used to resolve the decompiled source of functions. */
    var funcToString = funcProto.toString;

    /** Used to check objects for own properties. */
    var hasOwnProperty = objectProto.hasOwnProperty;

    /** Used to generate unique IDs. */
    var idCounter = 0;

    /** Used to detect methods masquerading as native. */
    var maskSrcKey = (function() {
      var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
      return uid ? ('Symbol(src)_1.' + uid) : '';
    }());

    /**
     * Used to resolve the
     * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
     * of values.
     */
    var nativeObjectToString = objectProto.toString;

    /** Used to infer the `Object` constructor. */
    var objectCtorString = funcToString.call(Object);

    /** Used to restore the original `_` reference in `_.noConflict`. */
    var oldDash = root._;

    /** Used to detect if a method is native. */
    var reIsNative = RegExp('^' +
      funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
      .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
    );

    /** Built-in value references. */
    var Buffer = moduleExports ? context.Buffer : undefined,
        Symbol = context.Symbol,
        Uint8Array = context.Uint8Array,
        allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,
        getPrototype = overArg(Object.getPrototypeOf, Object),
        objectCreate = Object.create,
        propertyIsEnumerable = objectProto.propertyIsEnumerable,
        splice = arrayProto.splice,
        spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,
        symIterator = Symbol ? Symbol.iterator : undefined,
        symToStringTag = Symbol ? Symbol.toStringTag : undefined;

    var defineProperty = (function() {
      try {
        var func = getNative(Object, 'defineProperty');
        func({}, '', {});
        return func;
      } catch (e) {}
    }());

    /** Mocked built-ins. */
    var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,
        ctxNow = Date && Date.now !== root.Date.now && Date.now,
        ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;

    /* Built-in method references for those with the same name as other `lodash` methods. */
    var nativeCeil = Math.ceil,
        nativeFloor = Math.floor,
        nativeGetSymbols = Object.getOwnPropertySymbols,
        nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
        nativeIsFinite = context.isFinite,
        nativeJoin = arrayProto.join,
        nativeKeys = overArg(Object.keys, Object),
        nativeMax = Math.max,
        nativeMin = Math.min,
        nativeNow = Date.now,
        nativeParseInt = context.parseInt,
        nativeRandom = Math.random,
        nativeReverse = arrayProto.reverse;

    /* Built-in method references that are verified to be native. */
    var DataView = getNative(context, 'DataView'),
        Map = getNative(context, 'Map'),
        Promise = getNative(context, 'Promise'),
        Set = getNative(context, 'Set'),
        WeakMap = getNative(context, 'WeakMap'),
        nativeCreate = getNative(Object, 'create');

    /** Used to store function metadata. */
    var metaMap = WeakMap && new WeakMap;

    /** Used to lookup unminified function names. */
    var realNames = {};

    /** Used to detect maps, sets, and weakmaps. */
    var dataViewCtorString = toSource(DataView),
        mapCtorString = toSource(Map),
        promiseCtorString = toSource(Promise),
        setCtorString = toSource(Set),
        weakMapCtorString = toSource(WeakMap);

    /** Used to convert symbols to primitives and strings. */
    var symbolProto = Symbol ? Symbol.prototype : undefined,
        symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,
        symbolToString = symbolProto ? symbolProto.toString : undefined;

    /*------------------------------------------------------------------------*/

    /**
     * Creates a `lodash` object which wraps `value` to enable implicit method
     * chain sequences. Methods that operate on and return arrays, collections,
     * and functions can be chained together. Methods that retrieve a single value
     * or may return a primitive value will automatically end the chain sequence
     * and return the unwrapped value. Otherwise, the value must be unwrapped
     * with `_#value`.
     *
     * Explicit chain sequences, which must be unwrapped with `_#value`, may be
     * enabled using `_.chain`.
     *
     * The execution of chained methods is lazy, that is, it's deferred until
     * `_#value` is implicitly or explicitly called.
     *
     * Lazy evaluation allows several methods to support shortcut fusion.
     * Shortcut fusion is an optimization to merge iteratee calls; this avoids
     * the creation of intermediate arrays and can greatly reduce the number of
     * iteratee executions. Sections of a chain sequence qualify for shortcut
     * fusion if the section is applied to an array and iteratees accept only
     * one argument. The heuristic for whether a section qualifies for shortcut
     * fusion is subject to change.
     *
     * Chaining is supported in custom builds as long as the `_#value` method is
     * directly or indirectly included in the build.
     *
     * In addition to lodash methods, wrappers have `Array` and `String` methods.
     *
     * The wrapper `Array` methods are:
     * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`
     *
     * The wrapper `String` methods are:
     * `replace` and `split`
     *
     * The wrapper methods that support shortcut fusion are:
     * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,
     * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,
     * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`
     *
     * The chainable wrapper methods are:
     * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,
     * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,
     * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,
     * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,
     * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,
     * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,
     * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,
     * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,
     * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,
     * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,
     * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,
     * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,
     * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,
     * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,
     * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,
     * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,
     * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
     * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,
     * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,
     * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,
     * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,
     * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,
     * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,
     * `zipObject`, `zipObjectDeep`, and `zipWith`
     *
     * The wrapper methods that are **not** chainable by default are:
     * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,
     * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,
     * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,
     * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,
     * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,
     * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,
     * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,
     * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,
     * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,
     * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,
     * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,
     * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,
     * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,
     * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,
     * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,
     * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,
     * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,
     * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,
     * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,
     * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,
     * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,
     * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,
     * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,
     * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,
     * `upperFirst`, `value`, and `words`
     *
     * @name _
     * @constructor
     * @category Seq
     * @param {*} value The value to wrap in a `lodash` instance.
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var wrapped = _([1, 2, 3]);
     *
     * // Returns an unwrapped value.
     * wrapped.reduce(_.add);
     * // => 6
     *
     * // Returns a wrapped value.
     * var squares = wrapped.map(square);
     *
     * _.isArray(squares);
     * // => false
     *
     * _.isArray(squares.value());
     * // => true
     */
    function lodash(value) {
      if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {
        if (value instanceof LodashWrapper) {
          return value;
        }
        if (hasOwnProperty.call(value, '__wrapped__')) {
          return wrapperClone(value);
        }
      }
      return new LodashWrapper(value);
    }

    /**
     * The base implementation of `_.create` without support for assigning
     * properties to the created object.
     *
     * @private
     * @param {Object} proto The object to inherit from.
     * @returns {Object} Returns the new object.
     */
    var baseCreate = (function() {
      function object() {}
      return function(proto) {
        if (!isObject(proto)) {
          return {};
        }
        if (objectCreate) {
          return objectCreate(proto);
        }
        object.prototype = proto;
        var result = new object;
        object.prototype = undefined;
        return result;
      };
    }());

    /**
     * The function whose prototype chain sequence wrappers inherit from.
     *
     * @private
     */
    function baseLodash() {
      // No operation performed.
    }

    /**
     * The base constructor for creating `lodash` wrapper objects.
     *
     * @private
     * @param {*} value The value to wrap.
     * @param {boolean} [chainAll] Enable explicit method chain sequences.
     */
    function LodashWrapper(value, chainAll) {
      this.__wrapped__ = value;
      this.__actions__ = [];
      this.__chain__ = !!chainAll;
      this.__index__ = 0;
      this.__values__ = undefined;
    }

    /**
     * By default, the template delimiters used by lodash are like those in
     * embedded Ruby (ERB) as well as ES2015 template strings. Change the
     * following template settings to use alternative delimiters.
     *
     * @static
     * @memberOf _
     * @type {Object}
     */
    lodash.templateSettings = {

      /**
       * Used to detect `data` property values to be HTML-escaped.
       *
       * @memberOf _.templateSettings
       * @type {RegExp}
       */
      'escape': reEscape,

      /**
       * Used to detect code to be evaluated.
       *
       * @memberOf _.templateSettings
       * @type {RegExp}
       */
      'evaluate': reEvaluate,

      /**
       * Used to detect `data` property values to inject.
       *
       * @memberOf _.templateSettings
       * @type {RegExp}
       */
      'interpolate': reInterpolate,

      /**
       * Used to reference the data object in the template text.
       *
       * @memberOf _.templateSettings
       * @type {string}
       */
      'variable': '',

      /**
       * Used to import variables into the compiled template.
       *
       * @memberOf _.templateSettings
       * @type {Object}
       */
      'imports': {

        /**
         * A reference to the `lodash` function.
         *
         * @memberOf _.templateSettings.imports
         * @type {Function}
         */
        '_': lodash
      }
    };

    // Ensure wrappers are instances of `baseLodash`.
    lodash.prototype = baseLodash.prototype;
    lodash.prototype.constructor = lodash;

    LodashWrapper.prototype = baseCreate(baseLodash.prototype);
    LodashWrapper.prototype.constructor = LodashWrapper;

    /*------------------------------------------------------------------------*/

    /**
     * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
     *
     * @private
     * @constructor
     * @param {*} value The value to wrap.
     */
    function LazyWrapper(value) {
      this.__wrapped__ = value;
      this.__actions__ = [];
      this.__dir__ = 1;
      this.__filtered__ = false;
      this.__iteratees__ = [];
      this.__takeCount__ = MAX_ARRAY_LENGTH;
      this.__views__ = [];
    }

    /**
     * Creates a clone of the lazy wrapper object.
     *
     * @private
     * @name clone
     * @memberOf LazyWrapper
     * @returns {Object} Returns the cloned `LazyWrapper` object.
     */
    function lazyClone() {
      var result = new LazyWrapper(this.__wrapped__);
      result.__actions__ = copyArray(this.__actions__);
      result.__dir__ = this.__dir__;
      result.__filtered__ = this.__filtered__;
      result.__iteratees__ = copyArray(this.__iteratees__);
      result.__takeCount__ = this.__takeCount__;
      result.__views__ = copyArray(this.__views__);
      return result;
    }

    /**
     * Reverses the direction of lazy iteration.
     *
     * @private
     * @name reverse
     * @memberOf LazyWrapper
     * @returns {Object} Returns the new reversed `LazyWrapper` object.
     */
    function lazyReverse() {
      if (this.__filtered__) {
        var result = new LazyWrapper(this);
        result.__dir__ = -1;
        result.__filtered__ = true;
      } else {
        result = this.clone();
        result.__dir__ *= -1;
      }
      return result;
    }

    /**
     * Extracts the unwrapped value from its lazy wrapper.
     *
     * @private
     * @name value
     * @memberOf LazyWrapper
     * @returns {*} Returns the unwrapped value.
     */
    function lazyValue() {
      var array = this.__wrapped__.value(),
          dir = this.__dir__,
          isArr = isArray(array),
          isRight = dir < 0,
          arrLength = isArr ? array.length : 0,
          view = getView(0, arrLength, this.__views__),
          start = view.start,
          end = view.end,
          length = end - start,
          index = isRight ? end : (start - 1),
          iteratees = this.__iteratees__,
          iterLength = iteratees.length,
          resIndex = 0,
          takeCount = nativeMin(length, this.__takeCount__);

      if (!isArr || (!isRight && arrLength == length && takeCount == length)) {
        return baseWrapperValue(array, this.__actions__);
      }
      var result = [];

      outer:
      while (length-- && resIndex < takeCount) {
        index += dir;

        var iterIndex = -1,
            value = array[index];

        while (++iterIndex < iterLength) {
          var data = iteratees[iterIndex],
              iteratee = data.iteratee,
              type = data.type,
              computed = iteratee(value);

          if (type == LAZY_MAP_FLAG) {
            value = computed;
          } else if (!computed) {
            if (type == LAZY_FILTER_FLAG) {
              continue outer;
            } else {
              break outer;
            }
          }
        }
        result[resIndex++] = value;
      }
      return result;
    }

    // Ensure `LazyWrapper` is an instance of `baseLodash`.
    LazyWrapper.prototype = baseCreate(baseLodash.prototype);
    LazyWrapper.prototype.constructor = LazyWrapper;

    /*------------------------------------------------------------------------*/

    /**
     * Creates a hash object.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */
    function Hash(entries) {
      var index = -1,
          length = entries == null ? 0 : entries.length;

      this.clear();
      while (++index < length) {
        var entry = entries[index];
        this.set(entry[0], entry[1]);
      }
    }

    /**
     * Removes all key-value entries from the hash.
     *
     * @private
     * @name clear
     * @memberOf Hash
     */
    function hashClear() {
      this.__data__ = nativeCreate ? nativeCreate(null) : {};
      this.size = 0;
    }

    /**
     * Removes `key` and its value from the hash.
     *
     * @private
     * @name delete
     * @memberOf Hash
     * @param {Object} hash The hash to modify.
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */
    function hashDelete(key) {
      var result = this.has(key) && delete this.__data__[key];
      this.size -= result ? 1 : 0;
      return result;
    }

    /**
     * Gets the hash value for `key`.
     *
     * @private
     * @name get
     * @memberOf Hash
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */
    function hashGet(key) {
      var data = this.__data__;
      if (nativeCreate) {
        var result = data[key];
        return result === HASH_UNDEFINED ? undefined : result;
      }
      return hasOwnProperty.call(data, key) ? data[key] : undefined;
    }

    /**
     * Checks if a hash value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf Hash
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */
    function hashHas(key) {
      var data = this.__data__;
      return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
    }

    /**
     * Sets the hash `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf Hash
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the hash instance.
     */
    function hashSet(key, value) {
      var data = this.__data__;
      this.size += this.has(key) ? 0 : 1;
      data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
      return this;
    }

    // Add methods to `Hash`.
    Hash.prototype.clear = hashClear;
    Hash.prototype['delete'] = hashDelete;
    Hash.prototype.get = hashGet;
    Hash.prototype.has = hashHas;
    Hash.prototype.set = hashSet;

    /*------------------------------------------------------------------------*/

    /**
     * Creates an list cache object.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */
    function ListCache(entries) {
      var index = -1,
          length = entries == null ? 0 : entries.length;

      this.clear();
      while (++index < length) {
        var entry = entries[index];
        this.set(entry[0], entry[1]);
      }
    }

    /**
     * Removes all key-value entries from the list cache.
     *
     * @private
     * @name clear
     * @memberOf ListCache
     */
    function listCacheClear() {
      this.__data__ = [];
      this.size = 0;
    }

    /**
     * Removes `key` and its value from the list cache.
     *
     * @private
     * @name delete
     * @memberOf ListCache
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */
    function listCacheDelete(key) {
      var data = this.__data__,
          index = assocIndexOf(data, key);

      if (index < 0) {
        return false;
      }
      var lastIndex = data.length - 1;
      if (index == lastIndex) {
        data.pop();
      } else {
        splice.call(data, index, 1);
      }
      --this.size;
      return true;
    }

    /**
     * Gets the list cache value for `key`.
     *
     * @private
     * @name get
     * @memberOf ListCache
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */
    function listCacheGet(key) {
      var data = this.__data__,
          index = assocIndexOf(data, key);

      return index < 0 ? undefined : data[index][1];
    }

    /**
     * Checks if a list cache value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf ListCache
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */
    function listCacheHas(key) {
      return assocIndexOf(this.__data__, key) > -1;
    }

    /**
     * Sets the list cache `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf ListCache
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the list cache instance.
     */
    function listCacheSet(key, value) {
      var data = this.__data__,
          index = assocIndexOf(data, key);

      if (index < 0) {
        ++this.size;
        data.push([key, value]);
      } else {
        data[index][1] = value;
      }
      return this;
    }

    // Add methods to `ListCache`.
    ListCache.prototype.clear = listCacheClear;
    ListCache.prototype['delete'] = listCacheDelete;
    ListCache.prototype.get = listCacheGet;
    ListCache.prototype.has = listCacheHas;
    ListCache.prototype.set = listCacheSet;

    /*------------------------------------------------------------------------*/

    /**
     * Creates a map cache object to store key-value pairs.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */
    function MapCache(entries) {
      var index = -1,
          length = entries == null ? 0 : entries.length;

      this.clear();
      while (++index < length) {
        var entry = entries[index];
        this.set(entry[0], entry[1]);
      }
    }

    /**
     * Removes all key-value entries from the map.
     *
     * @private
     * @name clear
     * @memberOf MapCache
     */
    function mapCacheClear() {
      this.size = 0;
      this.__data__ = {
        'hash': new Hash,
        'map': new (Map || ListCache),
        'string': new Hash
      };
    }

    /**
     * Removes `key` and its value from the map.
     *
     * @private
     * @name delete
     * @memberOf MapCache
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */
    function mapCacheDelete(key) {
      var result = getMapData(this, key)['delete'](key);
      this.size -= result ? 1 : 0;
      return result;
    }

    /**
     * Gets the map value for `key`.
     *
     * @private
     * @name get
     * @memberOf MapCache
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */
    function mapCacheGet(key) {
      return getMapData(this, key).get(key);
    }

    /**
     * Checks if a map value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf MapCache
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */
    function mapCacheHas(key) {
      return getMapData(this, key).has(key);
    }

    /**
     * Sets the map `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf MapCache
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the map cache instance.
     */
    function mapCacheSet(key, value) {
      var data = getMapData(this, key),
          size = data.size;

      data.set(key, value);
      this.size += data.size == size ? 0 : 1;
      return this;
    }

    // Add methods to `MapCache`.
    MapCache.prototype.clear = mapCacheClear;
    MapCache.prototype['delete'] = mapCacheDelete;
    MapCache.prototype.get = mapCacheGet;
    MapCache.prototype.has = mapCacheHas;
    MapCache.prototype.set = mapCacheSet;

    /*------------------------------------------------------------------------*/

    /**
     *
     * Creates an array cache object to store unique values.
     *
     * @private
     * @constructor
     * @param {Array} [values] The values to cache.
     */
    function SetCache(values) {
      var index = -1,
          length = values == null ? 0 : values.length;

      this.__data__ = new MapCache;
      while (++index < length) {
        this.add(values[index]);
      }
    }

    /**
     * Adds `value` to the array cache.
     *
     * @private
     * @name add
     * @memberOf SetCache
     * @alias push
     * @param {*} value The value to cache.
     * @returns {Object} Returns the cache instance.
     */
    function setCacheAdd(value) {
      this.__data__.set(value, HASH_UNDEFINED);
      return this;
    }

    /**
     * Checks if `value` is in the array cache.
     *
     * @private
     * @name has
     * @memberOf SetCache
     * @param {*} value The value to search for.
     * @returns {number} Returns `true` if `value` is found, else `false`.
     */
    function setCacheHas(value) {
      return this.__data__.has(value);
    }

    // Add methods to `SetCache`.
    SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
    SetCache.prototype.has = setCacheHas;

    /*------------------------------------------------------------------------*/

    /**
     * Creates a stack cache object to store key-value pairs.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */
    function Stack(entries) {
      var data = this.__data__ = new ListCache(entries);
      this.size = data.size;
    }

    /**
     * Removes all key-value entries from the stack.
     *
     * @private
     * @name clear
     * @memberOf Stack
     */
    function stackClear() {
      this.__data__ = new ListCache;
      this.size = 0;
    }

    /**
     * Removes `key` and its value from the stack.
     *
     * @private
     * @name delete
     * @memberOf Stack
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */
    function stackDelete(key) {
      var data = this.__data__,
          result = data['delete'](key);

      this.size = data.size;
      return result;
    }

    /**
     * Gets the stack value for `key`.
     *
     * @private
     * @name get
     * @memberOf Stack
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */
    function stackGet(key) {
      return this.__data__.get(key);
    }

    /**
     * Checks if a stack value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf Stack
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */
    function stackHas(key) {
      return this.__data__.has(key);
    }

    /**
     * Sets the stack `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf Stack
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the stack cache instance.
     */
    function stackSet(key, value) {
      var data = this.__data__;
      if (data instanceof ListCache) {
        var pairs = data.__data__;
        if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
          pairs.push([key, value]);
          this.size = ++data.size;
          return this;
        }
        data = this.__data__ = new MapCache(pairs);
      }
      data.set(key, value);
      this.size = data.size;
      return this;
    }

    // Add methods to `Stack`.
    Stack.prototype.clear = stackClear;
    Stack.prototype['delete'] = stackDelete;
    Stack.prototype.get = stackGet;
    Stack.prototype.has = stackHas;
    Stack.prototype.set = stackSet;

    /*------------------------------------------------------------------------*/

    /**
     * Creates an array of the enumerable property names of the array-like `value`.
     *
     * @private
     * @param {*} value The value to query.
     * @param {boolean} inherited Specify returning inherited property names.
     * @returns {Array} Returns the array of property names.
     */
    function arrayLikeKeys(value, inherited) {
      var isArr = isArray(value),
          isArg = !isArr && isArguments(value),
          isBuff = !isArr && !isArg && isBuffer(value),
          isType = !isArr && !isArg && !isBuff && isTypedArray(value),
          skipIndexes = isArr || isArg || isBuff || isType,
          result = skipIndexes ? baseTimes(value.length, String) : [],
          length = result.length;

      for (var key in value) {
        if ((inherited || hasOwnProperty.call(value, key)) &&
            !(skipIndexes && (
               // Safari 9 has enumerable `arguments.length` in strict mode.
               key == 'length' ||
               // Node.js 0.10 has enumerable non-index properties on buffers.
               (isBuff && (key == 'offset' || key == 'parent')) ||
               // PhantomJS 2 has enumerable non-index properties on typed arrays.
               (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
               // Skip index properties.
               isIndex(key, length)
            ))) {
          result.push(key);
        }
      }
      return result;
    }

    /**
     * A specialized version of `_.sample` for arrays.
     *
     * @private
     * @param {Array} array The array to sample.
     * @returns {*} Returns the random element.
     */
    function arraySample(array) {
      var length = array.length;
      return length ? array[baseRandom(0, length - 1)] : undefined;
    }

    /**
     * A specialized version of `_.sampleSize` for arrays.
     *
     * @private
     * @param {Array} array The array to sample.
     * @param {number} n The number of elements to sample.
     * @returns {Array} Returns the random elements.
     */
    function arraySampleSize(array, n) {
      return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));
    }

    /**
     * A specialized version of `_.shuffle` for arrays.
     *
     * @private
     * @param {Array} array The array to shuffle.
     * @returns {Array} Returns the new shuffled array.
     */
    function arrayShuffle(array) {
      return shuffleSelf(copyArray(array));
    }

    /**
     * This function is like `assignValue` except that it doesn't assign
     * `undefined` values.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {string} key The key of the property to assign.
     * @param {*} value The value to assign.
     */
    function assignMergeValue(object, key, value) {
      if ((value !== undefined && !eq(object[key], value)) ||
          (value === undefined && !(key in object))) {
        baseAssignValue(object, key, value);
      }
    }

    /**
     * Assigns `value` to `key` of `object` if the existing value is not equivalent
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {string} key The key of the property to assign.
     * @param {*} value The value to assign.
     */
    function assignValue(object, key, value) {
      var objValue = object[key];
      if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
          (value === undefined && !(key in object))) {
        baseAssignValue(object, key, value);
      }
    }

    /**
     * Gets the index at which the `key` is found in `array` of key-value pairs.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {*} key The key to search for.
     * @returns {number} Returns the index of the matched value, else `-1`.
     */
    function assocIndexOf(array, key) {
      var length = array.length;
      while (length--) {
        if (eq(array[length][0], key)) {
          return length;
        }
      }
      return -1;
    }

    /**
     * Aggregates elements of `collection` on `accumulator` with keys transformed
     * by `iteratee` and values set by `setter`.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} setter The function to set `accumulator` values.
     * @param {Function} iteratee The iteratee to transform keys.
     * @param {Object} accumulator The initial aggregated object.
     * @returns {Function} Returns `accumulator`.
     */
    function baseAggregator(collection, setter, iteratee, accumulator) {
      baseEach(collection, function(value, key, collection) {
        setter(accumulator, value, iteratee(value), collection);
      });
      return accumulator;
    }

    /**
     * The base implementation of `_.assign` without support for multiple sources
     * or `customizer` functions.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @returns {Object} Returns `object`.
     */
    function baseAssign(object, source) {
      return object && copyObject(source, keys(source), object);
    }

    /**
     * The base implementation of `_.assignIn` without support for multiple sources
     * or `customizer` functions.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @returns {Object} Returns `object`.
     */
    function baseAssignIn(object, source) {
      return object && copyObject(source, keysIn(source), object);
    }

    /**
     * The base implementation of `assignValue` and `assignMergeValue` without
     * value checks.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {string} key The key of the property to assign.
     * @param {*} value The value to assign.
     */
    function baseAssignValue(object, key, value) {
      if (key == '__proto__' && defineProperty) {
        defineProperty(object, key, {
          'configurable': true,
          'enumerable': true,
          'value': value,
          'writable': true
        });
      } else {
        object[key] = value;
      }
    }

    /**
     * The base implementation of `_.at` without support for individual paths.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {string[]} paths The property paths to pick.
     * @returns {Array} Returns the picked elements.
     */
    function baseAt(object, paths) {
      var index = -1,
          length = paths.length,
          result = Array(length),
          skip = object == null;

      while (++index < length) {
        result[index] = skip ? undefined : get(object, paths[index]);
      }
      return result;
    }

    /**
     * The base implementation of `_.clamp` which doesn't coerce arguments.
     *
     * @private
     * @param {number} number The number to clamp.
     * @param {number} [lower] The lower bound.
     * @param {number} upper The upper bound.
     * @returns {number} Returns the clamped number.
     */
    function baseClamp(number, lower, upper) {
      if (number === number) {
        if (upper !== undefined) {
          number = number <= upper ? number : upper;
        }
        if (lower !== undefined) {
          number = number >= lower ? number : lower;
        }
      }
      return number;
    }

    /**
     * The base implementation of `_.clone` and `_.cloneDeep` which tracks
     * traversed objects.
     *
     * @private
     * @param {*} value The value to clone.
     * @param {boolean} bitmask The bitmask flags.
     *  1 - Deep clone
     *  2 - Flatten inherited properties
     *  4 - Clone symbols
     * @param {Function} [customizer] The function to customize cloning.
     * @param {string} [key] The key of `value`.
     * @param {Object} [object] The parent object of `value`.
     * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
     * @returns {*} Returns the cloned value.
     */
    function baseClone(value, bitmask, customizer, key, object, stack) {
      var result,
          isDeep = bitmask & CLONE_DEEP_FLAG,
          isFlat = bitmask & CLONE_FLAT_FLAG,
          isFull = bitmask & CLONE_SYMBOLS_FLAG;

      if (customizer) {
        result = object ? customizer(value, key, object, stack) : customizer(value);
      }
      if (result !== undefined) {
        return result;
      }
      if (!isObject(value)) {
        return value;
      }
      var isArr = isArray(value);
      if (isArr) {
        result = initCloneArray(value);
        if (!isDeep) {
          return copyArray(value, result);
        }
      } else {
        var tag = getTag(value),
            isFunc = tag == funcTag || tag == genTag;

        if (isBuffer(value)) {
          return cloneBuffer(value, isDeep);
        }
        if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
          result = (isFlat || isFunc) ? {} : initCloneObject(value);
          if (!isDeep) {
            return isFlat
              ? copySymbolsIn(value, baseAssignIn(result, value))
              : copySymbols(value, baseAssign(result, value));
          }
        } else {
          if (!cloneableTags[tag]) {
            return object ? value : {};
          }
          result = initCloneByTag(value, tag, isDeep);
        }
      }
      // Check for circular references and return its corresponding clone.
      stack || (stack = new Stack);
      var stacked = stack.get(value);
      if (stacked) {
        return stacked;
      }
      stack.set(value, result);

      if (isSet(value)) {
        value.forEach(function(subValue) {
          result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
        });
      } else if (isMap(value)) {
        value.forEach(function(subValue, key) {
          result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
        });
      }

      var keysFunc = isFull
        ? (isFlat ? getAllKeysIn : getAllKeys)
        : (isFlat ? keysIn : keys);

      var props = isArr ? undefined : keysFunc(value);
      arrayEach(props || value, function(subValue, key) {
        if (props) {
          key = subValue;
          subValue = value[key];
        }
        // Recursively populate clone (susceptible to call stack limits).
        assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
      });
      return result;
    }

    /**
     * The base implementation of `_.conforms` which doesn't clone `source`.
     *
     * @private
     * @param {Object} source The object of property predicates to conform to.
     * @returns {Function} Returns the new spec function.
     */
    function baseConforms(source) {
      var props = keys(source);
      return function(object) {
        return baseConformsTo(object, source, props);
      };
    }

    /**
     * The base implementation of `_.conformsTo` which accepts `props` to check.
     *
     * @private
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property predicates to conform to.
     * @returns {boolean} Returns `true` if `object` conforms, else `false`.
     */
    function baseConformsTo(object, source, props) {
      var length = props.length;
      if (object == null) {
        return !length;
      }
      object = Object(object);
      while (length--) {
        var key = props[length],
            predicate = source[key],
            value = object[key];

        if ((value === undefined && !(key in object)) || !predicate(value)) {
          return false;
        }
      }
      return true;
    }

    /**
     * The base implementation of `_.delay` and `_.defer` which accepts `args`
     * to provide to `func`.
     *
     * @private
     * @param {Function} func The function to delay.
     * @param {number} wait The number of milliseconds to delay invocation.
     * @param {Array} args The arguments to provide to `func`.
     * @returns {number|Object} Returns the timer id or timeout object.
     */
    function baseDelay(func, wait, args) {
      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      return setTimeout(function() { func.apply(undefined, args); }, wait);
    }

    /**
     * The base implementation of methods like `_.difference` without support
     * for excluding multiple arrays or iteratee shorthands.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {Array} values The values to exclude.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of filtered values.
     */
    function baseDifference(array, values, iteratee, comparator) {
      var index = -1,
          includes = arrayIncludes,
          isCommon = true,
          length = array.length,
          result = [],
          valuesLength = values.length;

      if (!length) {
        return result;
      }
      if (iteratee) {
        values = arrayMap(values, baseUnary(iteratee));
      }
      if (comparator) {
        includes = arrayIncludesWith;
        isCommon = false;
      }
      else if (values.length >= LARGE_ARRAY_SIZE) {
        includes = cacheHas;
        isCommon = false;
        values = new SetCache(values);
      }
      outer:
      while (++index < length) {
        var value = array[index],
            computed = iteratee == null ? value : iteratee(value);

        value = (comparator || value !== 0) ? value : 0;
        if (isCommon && computed === computed) {
          var valuesIndex = valuesLength;
          while (valuesIndex--) {
            if (values[valuesIndex] === computed) {
              continue outer;
            }
          }
          result.push(value);
        }
        else if (!includes(values, computed, comparator)) {
          result.push(value);
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.forEach` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Array|Object} Returns `collection`.
     */
    var baseEach = createBaseEach(baseForOwn);

    /**
     * The base implementation of `_.forEachRight` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Array|Object} Returns `collection`.
     */
    var baseEachRight = createBaseEach(baseForOwnRight, true);

    /**
     * The base implementation of `_.every` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} predicate The function invoked per iteration.
     * @returns {boolean} Returns `true` if all elements pass the predicate check,
     *  else `false`
     */
    function baseEvery(collection, predicate) {
      var result = true;
      baseEach(collection, function(value, index, collection) {
        result = !!predicate(value, index, collection);
        return result;
      });
      return result;
    }

    /**
     * The base implementation of methods like `_.max` and `_.min` which accepts a
     * `comparator` to determine the extremum value.
     *
     * @private
     * @param {Array} array The array to iterate over.
     * @param {Function} iteratee The iteratee invoked per iteration.
     * @param {Function} comparator The comparator used to compare values.
     * @returns {*} Returns the extremum value.
     */
    function baseExtremum(array, iteratee, comparator) {
      var index = -1,
          length = array.length;

      while (++index < length) {
        var value = array[index],
            current = iteratee(value);

        if (current != null && (computed === undefined
              ? (current === current && !isSymbol(current))
              : comparator(current, computed)
            )) {
          var computed = current,
              result = value;
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.fill` without an iteratee call guard.
     *
     * @private
     * @param {Array} array The array to fill.
     * @param {*} value The value to fill `array` with.
     * @param {number} [start=0] The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns `array`.
     */
    function baseFill(array, value, start, end) {
      var length = array.length;

      start = toInteger(start);
      if (start < 0) {
        start = -start > length ? 0 : (length + start);
      }
      end = (end === undefined || end > length) ? length : toInteger(end);
      if (end < 0) {
        end += length;
      }
      end = start > end ? 0 : toLength(end);
      while (start < end) {
        array[start++] = value;
      }
      return array;
    }

    /**
     * The base implementation of `_.filter` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} predicate The function invoked per iteration.
     * @returns {Array} Returns the new filtered array.
     */
    function baseFilter(collection, predicate) {
      var result = [];
      baseEach(collection, function(value, index, collection) {
        if (predicate(value, index, collection)) {
          result.push(value);
        }
      });
      return result;
    }

    /**
     * The base implementation of `_.flatten` with support for restricting flattening.
     *
     * @private
     * @param {Array} array The array to flatten.
     * @param {number} depth The maximum recursion depth.
     * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
     * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
     * @param {Array} [result=[]] The initial result value.
     * @returns {Array} Returns the new flattened array.
     */
    function baseFlatten(array, depth, predicate, isStrict, result) {
      var index = -1,
          length = array.length;

      predicate || (predicate = isFlattenable);
      result || (result = []);

      while (++index < length) {
        var value = array[index];
        if (depth > 0 && predicate(value)) {
          if (depth > 1) {
            // Recursively flatten arrays (susceptible to call stack limits).
            baseFlatten(value, depth - 1, predicate, isStrict, result);
          } else {
            arrayPush(result, value);
          }
        } else if (!isStrict) {
          result[result.length] = value;
        }
      }
      return result;
    }

    /**
     * The base implementation of `baseForOwn` which iterates over `object`
     * properties returned by `keysFunc` and invokes `iteratee` for each property.
     * Iteratee functions may exit iteration early by explicitly returning `false`.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @param {Function} keysFunc The function to get the keys of `object`.
     * @returns {Object} Returns `object`.
     */
    var baseFor = createBaseFor();

    /**
     * This function is like `baseFor` except that it iterates over properties
     * in the opposite order.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @param {Function} keysFunc The function to get the keys of `object`.
     * @returns {Object} Returns `object`.
     */
    var baseForRight = createBaseFor(true);

    /**
     * The base implementation of `_.forOwn` without support for iteratee shorthands.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Object} Returns `object`.
     */
    function baseForOwn(object, iteratee) {
      return object && baseFor(object, iteratee, keys);
    }

    /**
     * The base implementation of `_.forOwnRight` without support for iteratee shorthands.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Object} Returns `object`.
     */
    function baseForOwnRight(object, iteratee) {
      return object && baseForRight(object, iteratee, keys);
    }

    /**
     * The base implementation of `_.functions` which creates an array of
     * `object` function property names filtered from `props`.
     *
     * @private
     * @param {Object} object The object to inspect.
     * @param {Array} props The property names to filter.
     * @returns {Array} Returns the function names.
     */
    function baseFunctions(object, props) {
      return arrayFilter(props, function(key) {
        return isFunction(object[key]);
      });
    }

    /**
     * The base implementation of `_.get` without support for default values.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the property to get.
     * @returns {*} Returns the resolved value.
     */
    function baseGet(object, path) {
      path = castPath(path, object);

      var index = 0,
          length = path.length;

      while (object != null && index < length) {
        object = object[toKey(path[index++])];
      }
      return (index && index == length) ? object : undefined;
    }

    /**
     * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
     * `keysFunc` and `symbolsFunc` to get the enumerable property names and
     * symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Function} keysFunc The function to get the keys of `object`.
     * @param {Function} symbolsFunc The function to get the symbols of `object`.
     * @returns {Array} Returns the array of property names and symbols.
     */
    function baseGetAllKeys(object, keysFunc, symbolsFunc) {
      var result = keysFunc(object);
      return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
    }

    /**
     * The base implementation of `getTag` without fallbacks for buggy environments.
     *
     * @private
     * @param {*} value The value to query.
     * @returns {string} Returns the `toStringTag`.
     */
    function baseGetTag(value) {
      if (value == null) {
        return value === undefined ? undefinedTag : nullTag;
      }
      return (symToStringTag && symToStringTag in Object(value))
        ? getRawTag(value)
        : objectToString(value);
    }

    /**
     * The base implementation of `_.gt` which doesn't coerce arguments.
     *
     * @private
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is greater than `other`,
     *  else `false`.
     */
    function baseGt(value, other) {
      return value > other;
    }

    /**
     * The base implementation of `_.has` without support for deep paths.
     *
     * @private
     * @param {Object} [object] The object to query.
     * @param {Array|string} key The key to check.
     * @returns {boolean} Returns `true` if `key` exists, else `false`.
     */
    function baseHas(object, key) {
      return object != null && hasOwnProperty.call(object, key);
    }

    /**
     * The base implementation of `_.hasIn` without support for deep paths.
     *
     * @private
     * @param {Object} [object] The object to query.
     * @param {Array|string} key The key to check.
     * @returns {boolean} Returns `true` if `key` exists, else `false`.
     */
    function baseHasIn(object, key) {
      return object != null && key in Object(object);
    }

    /**
     * The base implementation of `_.inRange` which doesn't coerce arguments.
     *
     * @private
     * @param {number} number The number to check.
     * @param {number} start The start of the range.
     * @param {number} end The end of the range.
     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
     */
    function baseInRange(number, start, end) {
      return number >= nativeMin(start, end) && number < nativeMax(start, end);
    }

    /**
     * The base implementation of methods like `_.intersection`, without support
     * for iteratee shorthands, that accepts an array of arrays to inspect.
     *
     * @private
     * @param {Array} arrays The arrays to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of shared values.
     */
    function baseIntersection(arrays, iteratee, comparator) {
      var includes = comparator ? arrayIncludesWith : arrayIncludes,
          length = arrays[0].length,
          othLength = arrays.length,
          othIndex = othLength,
          caches = Array(othLength),
          maxLength = Infinity,
          result = [];

      while (othIndex--) {
        var array = arrays[othIndex];
        if (othIndex && iteratee) {
          array = arrayMap(array, baseUnary(iteratee));
        }
        maxLength = nativeMin(array.length, maxLength);
        caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))
          ? new SetCache(othIndex && array)
          : undefined;
      }
      array = arrays[0];

      var index = -1,
          seen = caches[0];

      outer:
      while (++index < length && result.length < maxLength) {
        var value = array[index],
            computed = iteratee ? iteratee(value) : value;

        value = (comparator || value !== 0) ? value : 0;
        if (!(seen
              ? cacheHas(seen, computed)
              : includes(result, computed, comparator)
            )) {
          othIndex = othLength;
          while (--othIndex) {
            var cache = caches[othIndex];
            if (!(cache
                  ? cacheHas(cache, computed)
                  : includes(arrays[othIndex], computed, comparator))
                ) {
              continue outer;
            }
          }
          if (seen) {
            seen.push(computed);
          }
          result.push(value);
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.invert` and `_.invertBy` which inverts
     * `object` with values transformed by `iteratee` and set by `setter`.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} setter The function to set `accumulator` values.
     * @param {Function} iteratee The iteratee to transform values.
     * @param {Object} accumulator The initial inverted object.
     * @returns {Function} Returns `accumulator`.
     */
    function baseInverter(object, setter, iteratee, accumulator) {
      baseForOwn(object, function(value, key, object) {
        setter(accumulator, iteratee(value), key, object);
      });
      return accumulator;
    }

    /**
     * The base implementation of `_.invoke` without support for individual
     * method arguments.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the method to invoke.
     * @param {Array} args The arguments to invoke the method with.
     * @returns {*} Returns the result of the invoked method.
     */
    function baseInvoke(object, path, args) {
      path = castPath(path, object);
      object = parent(object, path);
      var func = object == null ? object : object[toKey(last(path))];
      return func == null ? undefined : apply(func, object, args);
    }

    /**
     * The base implementation of `_.isArguments`.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an `arguments` object,
     */
    function baseIsArguments(value) {
      return isObjectLike(value) && baseGetTag(value) == argsTag;
    }

    /**
     * The base implementation of `_.isArrayBuffer` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.
     */
    function baseIsArrayBuffer(value) {
      return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;
    }

    /**
     * The base implementation of `_.isDate` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a date object, else `false`.
     */
    function baseIsDate(value) {
      return isObjectLike(value) && baseGetTag(value) == dateTag;
    }

    /**
     * The base implementation of `_.isEqual` which supports partial comparisons
     * and tracks traversed objects.
     *
     * @private
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @param {boolean} bitmask The bitmask flags.
     *  1 - Unordered comparison
     *  2 - Partial comparison
     * @param {Function} [customizer] The function to customize comparisons.
     * @param {Object} [stack] Tracks traversed `value` and `other` objects.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     */
    function baseIsEqual(value, other, bitmask, customizer, stack) {
      if (value === other) {
        return true;
      }
      if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
        return value !== value && other !== other;
      }
      return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
    }

    /**
     * A specialized version of `baseIsEqual` for arrays and objects which performs
     * deep comparisons and tracks traversed objects enabling objects with circular
     * references to be compared.
     *
     * @private
     * @param {Object} object The object to compare.
     * @param {Object} other The other object to compare.
     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
     * @param {Function} customizer The function to customize comparisons.
     * @param {Function} equalFunc The function to determine equivalents of values.
     * @param {Object} [stack] Tracks traversed `object` and `other` objects.
     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
     */
    function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
      var objIsArr = isArray(object),
          othIsArr = isArray(other),
          objTag = objIsArr ? arrayTag : getTag(object),
          othTag = othIsArr ? arrayTag : getTag(other);

      objTag = objTag == argsTag ? objectTag : objTag;
      othTag = othTag == argsTag ? objectTag : othTag;

      var objIsObj = objTag == objectTag,
          othIsObj = othTag == objectTag,
          isSameTag = objTag == othTag;

      if (isSameTag && isBuffer(object)) {
        if (!isBuffer(other)) {
          return false;
        }
        objIsArr = true;
        objIsObj = false;
      }
      if (isSameTag && !objIsObj) {
        stack || (stack = new Stack);
        return (objIsArr || isTypedArray(object))
          ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
          : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
      }
      if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
        var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
            othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');

        if (objIsWrapped || othIsWrapped) {
          var objUnwrapped = objIsWrapped ? object.value() : object,
              othUnwrapped = othIsWrapped ? other.value() : other;

          stack || (stack = new Stack);
          return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
        }
      }
      if (!isSameTag) {
        return false;
      }
      stack || (stack = new Stack);
      return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
    }

    /**
     * The base implementation of `_.isMap` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a map, else `false`.
     */
    function baseIsMap(value) {
      return isObjectLike(value) && getTag(value) == mapTag;
    }

    /**
     * The base implementation of `_.isMatch` without support for iteratee shorthands.
     *
     * @private
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property values to match.
     * @param {Array} matchData The property names, values, and compare flags to match.
     * @param {Function} [customizer] The function to customize comparisons.
     * @returns {boolean} Returns `true` if `object` is a match, else `false`.
     */
    function baseIsMatch(object, source, matchData, customizer) {
      var index = matchData.length,
          length = index,
          noCustomizer = !customizer;

      if (object == null) {
        return !length;
      }
      object = Object(object);
      while (index--) {
        var data = matchData[index];
        if ((noCustomizer && data[2])
              ? data[1] !== object[data[0]]
              : !(data[0] in object)
            ) {
          return false;
        }
      }
      while (++index < length) {
        data = matchData[index];
        var key = data[0],
            objValue = object[key],
            srcValue = data[1];

        if (noCustomizer && data[2]) {
          if (objValue === undefined && !(key in object)) {
            return false;
          }
        } else {
          var stack = new Stack;
          if (customizer) {
            var result = customizer(objValue, srcValue, key, object, source, stack);
          }
          if (!(result === undefined
                ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
                : result
              )) {
            return false;
          }
        }
      }
      return true;
    }

    /**
     * The base implementation of `_.isNative` without bad shim checks.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a native function,
     *  else `false`.
     */
    function baseIsNative(value) {
      if (!isObject(value) || isMasked(value)) {
        return false;
      }
      var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
      return pattern.test(toSource(value));
    }

    /**
     * The base implementation of `_.isRegExp` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
     */
    function baseIsRegExp(value) {
      return isObjectLike(value) && baseGetTag(value) == regexpTag;
    }

    /**
     * The base implementation of `_.isSet` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a set, else `false`.
     */
    function baseIsSet(value) {
      return isObjectLike(value) && getTag(value) == setTag;
    }

    /**
     * The base implementation of `_.isTypedArray` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
     */
    function baseIsTypedArray(value) {
      return isObjectLike(value) &&
        isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
    }

    /**
     * The base implementation of `_.iteratee`.
     *
     * @private
     * @param {*} [value=_.identity] The value to convert to an iteratee.
     * @returns {Function} Returns the iteratee.
     */
    function baseIteratee(value) {
      // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
      // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
      if (typeof value == 'function') {
        return value;
      }
      if (value == null) {
        return identity;
      }
      if (typeof value == 'object') {
        return isArray(value)
          ? baseMatchesProperty(value[0], value[1])
          : baseMatches(value);
      }
      return property(value);
    }

    /**
     * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     */
    function baseKeys(object) {
      if (!isPrototype(object)) {
        return nativeKeys(object);
      }
      var result = [];
      for (var key in Object(object)) {
        if (hasOwnProperty.call(object, key) && key != 'constructor') {
          result.push(key);
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     */
    function baseKeysIn(object) {
      if (!isObject(object)) {
        return nativeKeysIn(object);
      }
      var isProto = isPrototype(object),
          result = [];

      for (var key in object) {
        if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
          result.push(key);
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.lt` which doesn't coerce arguments.
     *
     * @private
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is less than `other`,
     *  else `false`.
     */
    function baseLt(value, other) {
      return value < other;
    }

    /**
     * The base implementation of `_.map` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Array} Returns the new mapped array.
     */
    function baseMap(collection, iteratee) {
      var index = -1,
          result = isArrayLike(collection) ? Array(collection.length) : [];

      baseEach(collection, function(value, key, collection) {
        result[++index] = iteratee(value, key, collection);
      });
      return result;
    }

    /**
     * The base implementation of `_.matches` which doesn't clone `source`.
     *
     * @private
     * @param {Object} source The object of property values to match.
     * @returns {Function} Returns the new spec function.
     */
    function baseMatches(source) {
      var matchData = getMatchData(source);
      if (matchData.length == 1 && matchData[0][2]) {
        return matchesStrictComparable(matchData[0][0], matchData[0][1]);
      }
      return function(object) {
        return object === source || baseIsMatch(object, source, matchData);
      };
    }

    /**
     * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
     *
     * @private
     * @param {string} path The path of the property to get.
     * @param {*} srcValue The value to match.
     * @returns {Function} Returns the new spec function.
     */
    function baseMatchesProperty(path, srcValue) {
      if (isKey(path) && isStrictComparable(srcValue)) {
        return matchesStrictComparable(toKey(path), srcValue);
      }
      return function(object) {
        var objValue = get(object, path);
        return (objValue === undefined && objValue === srcValue)
          ? hasIn(object, path)
          : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
      };
    }

    /**
     * The base implementation of `_.merge` without support for multiple sources.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @param {number} srcIndex The index of `source`.
     * @param {Function} [customizer] The function to customize merged values.
     * @param {Object} [stack] Tracks traversed source values and their merged
     *  counterparts.
     */
    function baseMerge(object, source, srcIndex, customizer, stack) {
      if (object === source) {
        return;
      }
      baseFor(source, function(srcValue, key) {
        stack || (stack = new Stack);
        if (isObject(srcValue)) {
          baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
        }
        else {
          var newValue = customizer
            ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)
            : undefined;

          if (newValue === undefined) {
            newValue = srcValue;
          }
          assignMergeValue(object, key, newValue);
        }
      }, keysIn);
    }

    /**
     * A specialized version of `baseMerge` for arrays and objects which performs
     * deep merges and tracks traversed objects enabling objects with circular
     * references to be merged.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @param {string} key The key of the value to merge.
     * @param {number} srcIndex The index of `source`.
     * @param {Function} mergeFunc The function to merge values.
     * @param {Function} [customizer] The function to customize assigned values.
     * @param {Object} [stack] Tracks traversed source values and their merged
     *  counterparts.
     */
    function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
      var objValue = safeGet(object, key),
          srcValue = safeGet(source, key),
          stacked = stack.get(srcValue);

      if (stacked) {
        assignMergeValue(object, key, stacked);
        return;
      }
      var newValue = customizer
        ? customizer(objValue, srcValue, (key + ''), object, source, stack)
        : undefined;

      var isCommon = newValue === undefined;

      if (isCommon) {
        var isArr = isArray(srcValue),
            isBuff = !isArr && isBuffer(srcValue),
            isTyped = !isArr && !isBuff && isTypedArray(srcValue);

        newValue = srcValue;
        if (isArr || isBuff || isTyped) {
          if (isArray(objValue)) {
            newValue = objValue;
          }
          else if (isArrayLikeObject(objValue)) {
            newValue = copyArray(objValue);
          }
          else if (isBuff) {
            isCommon = false;
            newValue = cloneBuffer(srcValue, true);
          }
          else if (isTyped) {
            isCommon = false;
            newValue = cloneTypedArray(srcValue, true);
          }
          else {
            newValue = [];
          }
        }
        else if (isPlainObject(srcValue) || isArguments(srcValue)) {
          newValue = objValue;
          if (isArguments(objValue)) {
            newValue = toPlainObject(objValue);
          }
          else if (!isObject(objValue) || isFunction(objValue)) {
            newValue = initCloneObject(srcValue);
          }
        }
        else {
          isCommon = false;
        }
      }
      if (isCommon) {
        // Recursively merge objects and arrays (susceptible to call stack limits).
        stack.set(srcValue, newValue);
        mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
        stack['delete'](srcValue);
      }
      assignMergeValue(object, key, newValue);
    }

    /**
     * The base implementation of `_.nth` which doesn't coerce arguments.
     *
     * @private
     * @param {Array} array The array to query.
     * @param {number} n The index of the element to return.
     * @returns {*} Returns the nth element of `array`.
     */
    function baseNth(array, n) {
      var length = array.length;
      if (!length) {
        return;
      }
      n += n < 0 ? length : 0;
      return isIndex(n, length) ? array[n] : undefined;
    }

    /**
     * The base implementation of `_.orderBy` without param guards.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.
     * @param {string[]} orders The sort orders of `iteratees`.
     * @returns {Array} Returns the new sorted array.
     */
    function baseOrderBy(collection, iteratees, orders) {
      if (iteratees.length) {
        iteratees = arrayMap(iteratees, function(iteratee) {
          if (isArray(iteratee)) {
            return function(value) {
              return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
            }
          }
          return iteratee;
        });
      } else {
        iteratees = [identity];
      }

      var index = -1;
      iteratees = arrayMap(iteratees, baseUnary(getIteratee()));

      var result = baseMap(collection, function(value, key, collection) {
        var criteria = arrayMap(iteratees, function(iteratee) {
          return iteratee(value);
        });
        return { 'criteria': criteria, 'index': ++index, 'value': value };
      });

      return baseSortBy(result, function(object, other) {
        return compareMultiple(object, other, orders);
      });
    }

    /**
     * The base implementation of `_.pick` without support for individual
     * property identifiers.
     *
     * @private
     * @param {Object} object The source object.
     * @param {string[]} paths The property paths to pick.
     * @returns {Object} Returns the new object.
     */
    function basePick(object, paths) {
      return basePickBy(object, paths, function(value, path) {
        return hasIn(object, path);
      });
    }

    /**
     * The base implementation of  `_.pickBy` without support for iteratee shorthands.
     *
     * @private
     * @param {Object} object The source object.
     * @param {string[]} paths The property paths to pick.
     * @param {Function} predicate The function invoked per property.
     * @returns {Object} Returns the new object.
     */
    function basePickBy(object, paths, predicate) {
      var index = -1,
          length = paths.length,
          result = {};

      while (++index < length) {
        var path = paths[index],
            value = baseGet(object, path);

        if (predicate(value, path)) {
          baseSet(result, castPath(path, object), value);
        }
      }
      return result;
    }

    /**
     * A specialized version of `baseProperty` which supports deep paths.
     *
     * @private
     * @param {Array|string} path The path of the property to get.
     * @returns {Function} Returns the new accessor function.
     */
    function basePropertyDeep(path) {
      return function(object) {
        return baseGet(object, path);
      };
    }

    /**
     * The base implementation of `_.pullAllBy` without support for iteratee
     * shorthands.
     *
     * @private
     * @param {Array} array The array to modify.
     * @param {Array} values The values to remove.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns `array`.
     */
    function basePullAll(array, values, iteratee, comparator) {
      var indexOf = comparator ? baseIndexOfWith : baseIndexOf,
          index = -1,
          length = values.length,
          seen = array;

      if (array === values) {
        values = copyArray(values);
      }
      if (iteratee) {
        seen = arrayMap(array, baseUnary(iteratee));
      }
      while (++index < length) {
        var fromIndex = 0,
            value = values[index],
            computed = iteratee ? iteratee(value) : value;

        while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {
          if (seen !== array) {
            splice.call(seen, fromIndex, 1);
          }
          splice.call(array, fromIndex, 1);
        }
      }
      return array;
    }

    /**
     * The base implementation of `_.pullAt` without support for individual
     * indexes or capturing the removed elements.
     *
     * @private
     * @param {Array} array The array to modify.
     * @param {number[]} indexes The indexes of elements to remove.
     * @returns {Array} Returns `array`.
     */
    function basePullAt(array, indexes) {
      var length = array ? indexes.length : 0,
          lastIndex = length - 1;

      while (length--) {
        var index = indexes[length];
        if (length == lastIndex || index !== previous) {
          var previous = index;
          if (isIndex(index)) {
            splice.call(array, index, 1);
          } else {
            baseUnset(array, index);
          }
        }
      }
      return array;
    }

    /**
     * The base implementation of `_.random` without support for returning
     * floating-point numbers.
     *
     * @private
     * @param {number} lower The lower bound.
     * @param {number} upper The upper bound.
     * @returns {number} Returns the random number.
     */
    function baseRandom(lower, upper) {
      return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
    }

    /**
     * The base implementation of `_.range` and `_.rangeRight` which doesn't
     * coerce arguments.
     *
     * @private
     * @param {number} start The start of the range.
     * @param {number} end The end of the range.
     * @param {number} step The value to increment or decrement by.
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Array} Returns the range of numbers.
     */
    function baseRange(start, end, step, fromRight) {
      var index = -1,
          length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),
          result = Array(length);

      while (length--) {
        result[fromRight ? length : ++index] = start;
        start += step;
      }
      return result;
    }

    /**
     * The base implementation of `_.repeat` which doesn't coerce arguments.
     *
     * @private
     * @param {string} string The string to repeat.
     * @param {number} n The number of times to repeat the string.
     * @returns {string} Returns the repeated string.
     */
    function baseRepeat(string, n) {
      var result = '';
      if (!string || n < 1 || n > MAX_SAFE_INTEGER) {
        return result;
      }
      // Leverage the exponentiation by squaring algorithm for a faster repeat.
      // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.
      do {
        if (n % 2) {
          result += string;
        }
        n = nativeFloor(n / 2);
        if (n) {
          string += string;
        }
      } while (n);

      return result;
    }

    /**
     * The base implementation of `_.rest` which doesn't validate or coerce arguments.
     *
     * @private
     * @param {Function} func The function to apply a rest parameter to.
     * @param {number} [start=func.length-1] The start position of the rest parameter.
     * @returns {Function} Returns the new function.
     */
    function baseRest(func, start) {
      return setToString(overRest(func, start, identity), func + '');
    }

    /**
     * The base implementation of `_.sample`.
     *
     * @private
     * @param {Array|Object} collection The collection to sample.
     * @returns {*} Returns the random element.
     */
    function baseSample(collection) {
      return arraySample(values(collection));
    }

    /**
     * The base implementation of `_.sampleSize` without param guards.
     *
     * @private
     * @param {Array|Object} collection The collection to sample.
     * @param {number} n The number of elements to sample.
     * @returns {Array} Returns the random elements.
     */
    function baseSampleSize(collection, n) {
      var array = values(collection);
      return shuffleSelf(array, baseClamp(n, 0, array.length));
    }

    /**
     * The base implementation of `_.set`.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {*} value The value to set.
     * @param {Function} [customizer] The function to customize path creation.
     * @returns {Object} Returns `object`.
     */
    function baseSet(object, path, value, customizer) {
      if (!isObject(object)) {
        return object;
      }
      path = castPath(path, object);

      var index = -1,
          length = path.length,
          lastIndex = length - 1,
          nested = object;

      while (nested != null && ++index < length) {
        var key = toKey(path[index]),
            newValue = value;

        if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
          return object;
        }

        if (index != lastIndex) {
          var objValue = nested[key];
          newValue = customizer ? customizer(objValue, key, nested) : undefined;
          if (newValue === undefined) {
            newValue = isObject(objValue)
              ? objValue
              : (isIndex(path[index + 1]) ? [] : {});
          }
        }
        assignValue(nested, key, newValue);
        nested = nested[key];
      }
      return object;
    }

    /**
     * The base implementation of `setData` without support for hot loop shorting.
     *
     * @private
     * @param {Function} func The function to associate metadata with.
     * @param {*} data The metadata.
     * @returns {Function} Returns `func`.
     */
    var baseSetData = !metaMap ? identity : function(func, data) {
      metaMap.set(func, data);
      return func;
    };

    /**
     * The base implementation of `setToString` without support for hot loop shorting.
     *
     * @private
     * @param {Function} func The function to modify.
     * @param {Function} string The `toString` result.
     * @returns {Function} Returns `func`.
     */
    var baseSetToString = !defineProperty ? identity : function(func, string) {
      return defineProperty(func, 'toString', {
        'configurable': true,
        'enumerable': false,
        'value': constant(string),
        'writable': true
      });
    };

    /**
     * The base implementation of `_.shuffle`.
     *
     * @private
     * @param {Array|Object} collection The collection to shuffle.
     * @returns {Array} Returns the new shuffled array.
     */
    function baseShuffle(collection) {
      return shuffleSelf(values(collection));
    }

    /**
     * The base implementation of `_.slice` without an iteratee call guard.
     *
     * @private
     * @param {Array} array The array to slice.
     * @param {number} [start=0] The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns the slice of `array`.
     */
    function baseSlice(array, start, end) {
      var index = -1,
          length = array.length;

      if (start < 0) {
        start = -start > length ? 0 : (length + start);
      }
      end = end > length ? length : end;
      if (end < 0) {
        end += length;
      }
      length = start > end ? 0 : ((end - start) >>> 0);
      start >>>= 0;

      var result = Array(length);
      while (++index < length) {
        result[index] = array[index + start];
      }
      return result;
    }

    /**
     * The base implementation of `_.some` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} predicate The function invoked per iteration.
     * @returns {boolean} Returns `true` if any element passes the predicate check,
     *  else `false`.
     */
    function baseSome(collection, predicate) {
      var result;

      baseEach(collection, function(value, index, collection) {
        result = predicate(value, index, collection);
        return !result;
      });
      return !!result;
    }

    /**
     * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which
     * performs a binary search of `array` to determine the index at which `value`
     * should be inserted into `array` in order to maintain its sort order.
     *
     * @private
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @param {boolean} [retHighest] Specify returning the highest qualified index.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     */
    function baseSortedIndex(array, value, retHighest) {
      var low = 0,
          high = array == null ? low : array.length;

      if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {
        while (low < high) {
          var mid = (low + high) >>> 1,
              computed = array[mid];

          if (computed !== null && !isSymbol(computed) &&
              (retHighest ? (computed <= value) : (computed < value))) {
            low = mid + 1;
          } else {
            high = mid;
          }
        }
        return high;
      }
      return baseSortedIndexBy(array, value, identity, retHighest);
    }

    /**
     * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`
     * which invokes `iteratee` for `value` and each element of `array` to compute
     * their sort ranking. The iteratee is invoked with one argument; (value).
     *
     * @private
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @param {Function} iteratee The iteratee invoked per element.
     * @param {boolean} [retHighest] Specify returning the highest qualified index.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     */
    function baseSortedIndexBy(array, value, iteratee, retHighest) {
      var low = 0,
          high = array == null ? 0 : array.length;
      if (high === 0) {
        return 0;
      }

      value = iteratee(value);
      var valIsNaN = value !== value,
          valIsNull = value === null,
          valIsSymbol = isSymbol(value),
          valIsUndefined = value === undefined;

      while (low < high) {
        var mid = nativeFloor((low + high) / 2),
            computed = iteratee(array[mid]),
            othIsDefined = computed !== undefined,
            othIsNull = computed === null,
            othIsReflexive = computed === computed,
            othIsSymbol = isSymbol(computed);

        if (valIsNaN) {
          var setLow = retHighest || othIsReflexive;
        } else if (valIsUndefined) {
          setLow = othIsReflexive && (retHighest || othIsDefined);
        } else if (valIsNull) {
          setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);
        } else if (valIsSymbol) {
          setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);
        } else if (othIsNull || othIsSymbol) {
          setLow = false;
        } else {
          setLow = retHighest ? (computed <= value) : (computed < value);
        }
        if (setLow) {
          low = mid + 1;
        } else {
          high = mid;
        }
      }
      return nativeMin(high, MAX_ARRAY_INDEX);
    }

    /**
     * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without
     * support for iteratee shorthands.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     */
    function baseSortedUniq(array, iteratee) {
      var index = -1,
          length = array.length,
          resIndex = 0,
          result = [];

      while (++index < length) {
        var value = array[index],
            computed = iteratee ? iteratee(value) : value;

        if (!index || !eq(computed, seen)) {
          var seen = computed;
          result[resIndex++] = value === 0 ? 0 : value;
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.toNumber` which doesn't ensure correct
     * conversions of binary, hexadecimal, or octal string values.
     *
     * @private
     * @param {*} value The value to process.
     * @returns {number} Returns the number.
     */
    function baseToNumber(value) {
      if (typeof value == 'number') {
        return value;
      }
      if (isSymbol(value)) {
        return NAN;
      }
      return +value;
    }

    /**
     * The base implementation of `_.toString` which doesn't convert nullish
     * values to empty strings.
     *
     * @private
     * @param {*} value The value to process.
     * @returns {string} Returns the string.
     */
    function baseToString(value) {
      // Exit early for strings to avoid a performance hit in some environments.
      if (typeof value == 'string') {
        return value;
      }
      if (isArray(value)) {
        // Recursively convert values (susceptible to call stack limits).
        return arrayMap(value, baseToString) + '';
      }
      if (isSymbol(value)) {
        return symbolToString ? symbolToString.call(value) : '';
      }
      var result = (value + '');
      return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
    }

    /**
     * The base implementation of `_.uniqBy` without support for iteratee shorthands.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     */
    function baseUniq(array, iteratee, comparator) {
      var index = -1,
          includes = arrayIncludes,
          length = array.length,
          isCommon = true,
          result = [],
          seen = result;

      if (comparator) {
        isCommon = false;
        includes = arrayIncludesWith;
      }
      else if (length >= LARGE_ARRAY_SIZE) {
        var set = iteratee ? null : createSet(array);
        if (set) {
          return setToArray(set);
        }
        isCommon = false;
        includes = cacheHas;
        seen = new SetCache;
      }
      else {
        seen = iteratee ? [] : result;
      }
      outer:
      while (++index < length) {
        var value = array[index],
            computed = iteratee ? iteratee(value) : value;

        value = (comparator || value !== 0) ? value : 0;
        if (isCommon && computed === computed) {
          var seenIndex = seen.length;
          while (seenIndex--) {
            if (seen[seenIndex] === computed) {
              continue outer;
            }
          }
          if (iteratee) {
            seen.push(computed);
          }
          result.push(value);
        }
        else if (!includes(seen, computed, comparator)) {
          if (seen !== result) {
            seen.push(computed);
          }
          result.push(value);
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.unset`.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {Array|string} path The property path to unset.
     * @returns {boolean} Returns `true` if the property is deleted, else `false`.
     */
    function baseUnset(object, path) {
      path = castPath(path, object);
      object = parent(object, path);
      return object == null || delete object[toKey(last(path))];
    }

    /**
     * The base implementation of `_.update`.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to update.
     * @param {Function} updater The function to produce the updated value.
     * @param {Function} [customizer] The function to customize path creation.
     * @returns {Object} Returns `object`.
     */
    function baseUpdate(object, path, updater, customizer) {
      return baseSet(object, path, updater(baseGet(object, path)), customizer);
    }

    /**
     * The base implementation of methods like `_.dropWhile` and `_.takeWhile`
     * without support for iteratee shorthands.
     *
     * @private
     * @param {Array} array The array to query.
     * @param {Function} predicate The function invoked per iteration.
     * @param {boolean} [isDrop] Specify dropping elements instead of taking them.
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Array} Returns the slice of `array`.
     */
    function baseWhile(array, predicate, isDrop, fromRight) {
      var length = array.length,
          index = fromRight ? length : -1;

      while ((fromRight ? index-- : ++index < length) &&
        predicate(array[index], index, array)) {}

      return isDrop
        ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))
        : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));
    }

    /**
     * The base implementation of `wrapperValue` which returns the result of
     * performing a sequence of actions on the unwrapped `value`, where each
     * successive action is supplied the return value of the previous.
     *
     * @private
     * @param {*} value The unwrapped value.
     * @param {Array} actions Actions to perform to resolve the unwrapped value.
     * @returns {*} Returns the resolved value.
     */
    function baseWrapperValue(value, actions) {
      var result = value;
      if (result instanceof LazyWrapper) {
        result = result.value();
      }
      return arrayReduce(actions, function(result, action) {
        return action.func.apply(action.thisArg, arrayPush([result], action.args));
      }, result);
    }

    /**
     * The base implementation of methods like `_.xor`, without support for
     * iteratee shorthands, that accepts an array of arrays to inspect.
     *
     * @private
     * @param {Array} arrays The arrays to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of values.
     */
    function baseXor(arrays, iteratee, comparator) {
      var length = arrays.length;
      if (length < 2) {
        return length ? baseUniq(arrays[0]) : [];
      }
      var index = -1,
          result = Array(length);

      while (++index < length) {
        var array = arrays[index],
            othIndex = -1;

        while (++othIndex < length) {
          if (othIndex != index) {
            result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);
          }
        }
      }
      return baseUniq(baseFlatten(result, 1), iteratee, comparator);
    }

    /**
     * This base implementation of `_.zipObject` which assigns values using `assignFunc`.
     *
     * @private
     * @param {Array} props The property identifiers.
     * @param {Array} values The property values.
     * @param {Function} assignFunc The function to assign values.
     * @returns {Object} Returns the new object.
     */
    function baseZipObject(props, values, assignFunc) {
      var index = -1,
          length = props.length,
          valsLength = values.length,
          result = {};

      while (++index < length) {
        var value = index < valsLength ? values[index] : undefined;
        assignFunc(result, props[index], value);
      }
      return result;
    }

    /**
     * Casts `value` to an empty array if it's not an array like object.
     *
     * @private
     * @param {*} value The value to inspect.
     * @returns {Array|Object} Returns the cast array-like object.
     */
    function castArrayLikeObject(value) {
      return isArrayLikeObject(value) ? value : [];
    }

    /**
     * Casts `value` to `identity` if it's not a function.
     *
     * @private
     * @param {*} value The value to inspect.
     * @returns {Function} Returns cast function.
     */
    function castFunction(value) {
      return typeof value == 'function' ? value : identity;
    }

    /**
     * Casts `value` to a path array if it's not one.
     *
     * @private
     * @param {*} value The value to inspect.
     * @param {Object} [object] The object to query keys on.
     * @returns {Array} Returns the cast property path array.
     */
    function castPath(value, object) {
      if (isArray(value)) {
        return value;
      }
      return isKey(value, object) ? [value] : stringToPath(toString(value));
    }

    /**
     * A `baseRest` alias which can be replaced with `identity` by module
     * replacement plugins.
     *
     * @private
     * @type {Function}
     * @param {Function} func The function to apply a rest parameter to.
     * @returns {Function} Returns the new function.
     */
    var castRest = baseRest;

    /**
     * Casts `array` to a slice if it's needed.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {number} start The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns the cast slice.
     */
    function castSlice(array, start, end) {
      var length = array.length;
      end = end === undefined ? length : end;
      return (!start && end >= length) ? array : baseSlice(array, start, end);
    }

    /**
     * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).
     *
     * @private
     * @param {number|Object} id The timer id or timeout object of the timer to clear.
     */
    var clearTimeout = ctxClearTimeout || function(id) {
      return root.clearTimeout(id);
    };

    /**
     * Creates a clone of  `buffer`.
     *
     * @private
     * @param {Buffer} buffer The buffer to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Buffer} Returns the cloned buffer.
     */
    function cloneBuffer(buffer, isDeep) {
      if (isDeep) {
        return buffer.slice();
      }
      var length = buffer.length,
          result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);

      buffer.copy(result);
      return result;
    }

    /**
     * Creates a clone of `arrayBuffer`.
     *
     * @private
     * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
     * @returns {ArrayBuffer} Returns the cloned array buffer.
     */
    function cloneArrayBuffer(arrayBuffer) {
      var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
      new Uint8Array(result).set(new Uint8Array(arrayBuffer));
      return result;
    }

    /**
     * Creates a clone of `dataView`.
     *
     * @private
     * @param {Object} dataView The data view to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Object} Returns the cloned data view.
     */
    function cloneDataView(dataView, isDeep) {
      var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
      return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
    }

    /**
     * Creates a clone of `regexp`.
     *
     * @private
     * @param {Object} regexp The regexp to clone.
     * @returns {Object} Returns the cloned regexp.
     */
    function cloneRegExp(regexp) {
      var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
      result.lastIndex = regexp.lastIndex;
      return result;
    }

    /**
     * Creates a clone of the `symbol` object.
     *
     * @private
     * @param {Object} symbol The symbol object to clone.
     * @returns {Object} Returns the cloned symbol object.
     */
    function cloneSymbol(symbol) {
      return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
    }

    /**
     * Creates a clone of `typedArray`.
     *
     * @private
     * @param {Object} typedArray The typed array to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Object} Returns the cloned typed array.
     */
    function cloneTypedArray(typedArray, isDeep) {
      var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
      return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
    }

    /**
     * Compares values to sort them in ascending order.
     *
     * @private
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {number} Returns the sort order indicator for `value`.
     */
    function compareAscending(value, other) {
      if (value !== other) {
        var valIsDefined = value !== undefined,
            valIsNull = value === null,
            valIsReflexive = value === value,
            valIsSymbol = isSymbol(value);

        var othIsDefined = other !== undefined,
            othIsNull = other === null,
            othIsReflexive = other === other,
            othIsSymbol = isSymbol(other);

        if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||
            (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||
            (valIsNull && othIsDefined && othIsReflexive) ||
            (!valIsDefined && othIsReflexive) ||
            !valIsReflexive) {
          return 1;
        }
        if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||
            (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||
            (othIsNull && valIsDefined && valIsReflexive) ||
            (!othIsDefined && valIsReflexive) ||
            !othIsReflexive) {
          return -1;
        }
      }
      return 0;
    }

    /**
     * Used by `_.orderBy` to compare multiple properties of a value to another
     * and stable sort them.
     *
     * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,
     * specify an order of "desc" for descending or "asc" for ascending sort order
     * of corresponding values.
     *
     * @private
     * @param {Object} object The object to compare.
     * @param {Object} other The other object to compare.
     * @param {boolean[]|string[]} orders The order to sort by for each property.
     * @returns {number} Returns the sort order indicator for `object`.
     */
    function compareMultiple(object, other, orders) {
      var index = -1,
          objCriteria = object.criteria,
          othCriteria = other.criteria,
          length = objCriteria.length,
          ordersLength = orders.length;

      while (++index < length) {
        var result = compareAscending(objCriteria[index], othCriteria[index]);
        if (result) {
          if (index >= ordersLength) {
            return result;
          }
          var order = orders[index];
          return result * (order == 'desc' ? -1 : 1);
        }
      }
      // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications
      // that causes it, under certain circumstances, to provide the same value for
      // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247
      // for more details.
      //
      // This also ensures a stable sort in V8 and other engines.
      // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.
      return object.index - other.index;
    }

    /**
     * Creates an array that is the composition of partially applied arguments,
     * placeholders, and provided arguments into a single array of arguments.
     *
     * @private
     * @param {Array} args The provided arguments.
     * @param {Array} partials The arguments to prepend to those provided.
     * @param {Array} holders The `partials` placeholder indexes.
     * @params {boolean} [isCurried] Specify composing for a curried function.
     * @returns {Array} Returns the new array of composed arguments.
     */
    function composeArgs(args, partials, holders, isCurried) {
      var argsIndex = -1,
          argsLength = args.length,
          holdersLength = holders.length,
          leftIndex = -1,
          leftLength = partials.length,
          rangeLength = nativeMax(argsLength - holdersLength, 0),
          result = Array(leftLength + rangeLength),
          isUncurried = !isCurried;

      while (++leftIndex < leftLength) {
        result[leftIndex] = partials[leftIndex];
      }
      while (++argsIndex < holdersLength) {
        if (isUncurried || argsIndex < argsLength) {
          result[holders[argsIndex]] = args[argsIndex];
        }
      }
      while (rangeLength--) {
        result[leftIndex++] = args[argsIndex++];
      }
      return result;
    }

    /**
     * This function is like `composeArgs` except that the arguments composition
     * is tailored for `_.partialRight`.
     *
     * @private
     * @param {Array} args The provided arguments.
     * @param {Array} partials The arguments to append to those provided.
     * @param {Array} holders The `partials` placeholder indexes.
     * @params {boolean} [isCurried] Specify composing for a curried function.
     * @returns {Array} Returns the new array of composed arguments.
     */
    function composeArgsRight(args, partials, holders, isCurried) {
      var argsIndex = -1,
          argsLength = args.length,
          holdersIndex = -1,
          holdersLength = holders.length,
          rightIndex = -1,
          rightLength = partials.length,
          rangeLength = nativeMax(argsLength - holdersLength, 0),
          result = Array(rangeLength + rightLength),
          isUncurried = !isCurried;

      while (++argsIndex < rangeLength) {
        result[argsIndex] = args[argsIndex];
      }
      var offset = argsIndex;
      while (++rightIndex < rightLength) {
        result[offset + rightIndex] = partials[rightIndex];
      }
      while (++holdersIndex < holdersLength) {
        if (isUncurried || argsIndex < argsLength) {
          result[offset + holders[holdersIndex]] = args[argsIndex++];
        }
      }
      return result;
    }

    /**
     * Copies the values of `source` to `array`.
     *
     * @private
     * @param {Array} source The array to copy values from.
     * @param {Array} [array=[]] The array to copy values to.
     * @returns {Array} Returns `array`.
     */
    function copyArray(source, array) {
      var index = -1,
          length = source.length;

      array || (array = Array(length));
      while (++index < length) {
        array[index] = source[index];
      }
      return array;
    }

    /**
     * Copies properties of `source` to `object`.
     *
     * @private
     * @param {Object} source The object to copy properties from.
     * @param {Array} props The property identifiers to copy.
     * @param {Object} [object={}] The object to copy properties to.
     * @param {Function} [customizer] The function to customize copied values.
     * @returns {Object} Returns `object`.
     */
    function copyObject(source, props, object, customizer) {
      var isNew = !object;
      object || (object = {});

      var index = -1,
          length = props.length;

      while (++index < length) {
        var key = props[index];

        var newValue = customizer
          ? customizer(object[key], source[key], key, object, source)
          : undefined;

        if (newValue === undefined) {
          newValue = source[key];
        }
        if (isNew) {
          baseAssignValue(object, key, newValue);
        } else {
          assignValue(object, key, newValue);
        }
      }
      return object;
    }

    /**
     * Copies own symbols of `source` to `object`.
     *
     * @private
     * @param {Object} source The object to copy symbols from.
     * @param {Object} [object={}] The object to copy symbols to.
     * @returns {Object} Returns `object`.
     */
    function copySymbols(source, object) {
      return copyObject(source, getSymbols(source), object);
    }

    /**
     * Copies own and inherited symbols of `source` to `object`.
     *
     * @private
     * @param {Object} source The object to copy symbols from.
     * @param {Object} [object={}] The object to copy symbols to.
     * @returns {Object} Returns `object`.
     */
    function copySymbolsIn(source, object) {
      return copyObject(source, getSymbolsIn(source), object);
    }

    /**
     * Creates a function like `_.groupBy`.
     *
     * @private
     * @param {Function} setter The function to set accumulator values.
     * @param {Function} [initializer] The accumulator object initializer.
     * @returns {Function} Returns the new aggregator function.
     */
    function createAggregator(setter, initializer) {
      return function(collection, iteratee) {
        var func = isArray(collection) ? arrayAggregator : baseAggregator,
            accumulator = initializer ? initializer() : {};

        return func(collection, setter, getIteratee(iteratee, 2), accumulator);
      };
    }

    /**
     * Creates a function like `_.assign`.
     *
     * @private
     * @param {Function} assigner The function to assign values.
     * @returns {Function} Returns the new assigner function.
     */
    function createAssigner(assigner) {
      return baseRest(function(object, sources) {
        var index = -1,
            length = sources.length,
            customizer = length > 1 ? sources[length - 1] : undefined,
            guard = length > 2 ? sources[2] : undefined;

        customizer = (assigner.length > 3 && typeof customizer == 'function')
          ? (length--, customizer)
          : undefined;

        if (guard && isIterateeCall(sources[0], sources[1], guard)) {
          customizer = length < 3 ? undefined : customizer;
          length = 1;
        }
        object = Object(object);
        while (++index < length) {
          var source = sources[index];
          if (source) {
            assigner(object, source, index, customizer);
          }
        }
        return object;
      });
    }

    /**
     * Creates a `baseEach` or `baseEachRight` function.
     *
     * @private
     * @param {Function} eachFunc The function to iterate over a collection.
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new base function.
     */
    function createBaseEach(eachFunc, fromRight) {
      return function(collection, iteratee) {
        if (collection == null) {
          return collection;
        }
        if (!isArrayLike(collection)) {
          return eachFunc(collection, iteratee);
        }
        var length = collection.length,
            index = fromRight ? length : -1,
            iterable = Object(collection);

        while ((fromRight ? index-- : ++index < length)) {
          if (iteratee(iterable[index], index, iterable) === false) {
            break;
          }
        }
        return collection;
      };
    }

    /**
     * Creates a base function for methods like `_.forIn` and `_.forOwn`.
     *
     * @private
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new base function.
     */
    function createBaseFor(fromRight) {
      return function(object, iteratee, keysFunc) {
        var index = -1,
            iterable = Object(object),
            props = keysFunc(object),
            length = props.length;

        while (length--) {
          var key = props[fromRight ? length : ++index];
          if (iteratee(iterable[key], key, iterable) === false) {
            break;
          }
        }
        return object;
      };
    }

    /**
     * Creates a function that wraps `func` to invoke it with the optional `this`
     * binding of `thisArg`.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {*} [thisArg] The `this` binding of `func`.
     * @returns {Function} Returns the new wrapped function.
     */
    function createBind(func, bitmask, thisArg) {
      var isBind = bitmask & WRAP_BIND_FLAG,
          Ctor = createCtor(func);

      function wrapper() {
        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
        return fn.apply(isBind ? thisArg : this, arguments);
      }
      return wrapper;
    }

    /**
     * Creates a function like `_.lowerFirst`.
     *
     * @private
     * @param {string} methodName The name of the `String` case method to use.
     * @returns {Function} Returns the new case function.
     */
    function createCaseFirst(methodName) {
      return function(string) {
        string = toString(string);

        var strSymbols = hasUnicode(string)
          ? stringToArray(string)
          : undefined;

        var chr = strSymbols
          ? strSymbols[0]
          : string.charAt(0);

        var trailing = strSymbols
          ? castSlice(strSymbols, 1).join('')
          : string.slice(1);

        return chr[methodName]() + trailing;
      };
    }

    /**
     * Creates a function like `_.camelCase`.
     *
     * @private
     * @param {Function} callback The function to combine each word.
     * @returns {Function} Returns the new compounder function.
     */
    function createCompounder(callback) {
      return function(string) {
        return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');
      };
    }

    /**
     * Creates a function that produces an instance of `Ctor` regardless of
     * whether it was invoked as part of a `new` expression or by `call` or `apply`.
     *
     * @private
     * @param {Function} Ctor The constructor to wrap.
     * @returns {Function} Returns the new wrapped function.
     */
    function createCtor(Ctor) {
      return function() {
        // Use a `switch` statement to work with class constructors. See
        // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist
        // for more details.
        var args = arguments;
        switch (args.length) {
          case 0: return new Ctor;
          case 1: return new Ctor(args[0]);
          case 2: return new Ctor(args[0], args[1]);
          case 3: return new Ctor(args[0], args[1], args[2]);
          case 4: return new Ctor(args[0], args[1], args[2], args[3]);
          case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);
          case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);
          case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
        }
        var thisBinding = baseCreate(Ctor.prototype),
            result = Ctor.apply(thisBinding, args);

        // Mimic the constructor's `return` behavior.
        // See https://es5.github.io/#x13.2.2 for more details.
        return isObject(result) ? result : thisBinding;
      };
    }

    /**
     * Creates a function that wraps `func` to enable currying.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {number} arity The arity of `func`.
     * @returns {Function} Returns the new wrapped function.
     */
    function createCurry(func, bitmask, arity) {
      var Ctor = createCtor(func);

      function wrapper() {
        var length = arguments.length,
            args = Array(length),
            index = length,
            placeholder = getHolder(wrapper);

        while (index--) {
          args[index] = arguments[index];
        }
        var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)
          ? []
          : replaceHolders(args, placeholder);

        length -= holders.length;
        if (length < arity) {
          return createRecurry(
            func, bitmask, createHybrid, wrapper.placeholder, undefined,
            args, holders, undefined, undefined, arity - length);
        }
        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
        return apply(fn, this, args);
      }
      return wrapper;
    }

    /**
     * Creates a `_.find` or `_.findLast` function.
     *
     * @private
     * @param {Function} findIndexFunc The function to find the collection index.
     * @returns {Function} Returns the new find function.
     */
    function createFind(findIndexFunc) {
      return function(collection, predicate, fromIndex) {
        var iterable = Object(collection);
        if (!isArrayLike(collection)) {
          var iteratee = getIteratee(predicate, 3);
          collection = keys(collection);
          predicate = function(key) { return iteratee(iterable[key], key, iterable); };
        }
        var index = findIndexFunc(collection, predicate, fromIndex);
        return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;
      };
    }

    /**
     * Creates a `_.flow` or `_.flowRight` function.
     *
     * @private
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new flow function.
     */
    function createFlow(fromRight) {
      return flatRest(function(funcs) {
        var length = funcs.length,
            index = length,
            prereq = LodashWrapper.prototype.thru;

        if (fromRight) {
          funcs.reverse();
        }
        while (index--) {
          var func = funcs[index];
          if (typeof func != 'function') {
            throw new TypeError(FUNC_ERROR_TEXT);
          }
          if (prereq && !wrapper && getFuncName(func) == 'wrapper') {
            var wrapper = new LodashWrapper([], true);
          }
        }
        index = wrapper ? index : length;
        while (++index < length) {
          func = funcs[index];

          var funcName = getFuncName(func),
              data = funcName == 'wrapper' ? getData(func) : undefined;

          if (data && isLaziable(data[0]) &&
                data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&
                !data[4].length && data[9] == 1
              ) {
            wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);
          } else {
            wrapper = (func.length == 1 && isLaziable(func))
              ? wrapper[funcName]()
              : wrapper.thru(func);
          }
        }
        return function() {
          var args = arguments,
              value = args[0];

          if (wrapper && args.length == 1 && isArray(value)) {
            return wrapper.plant(value).value();
          }
          var index = 0,
              result = length ? funcs[index].apply(this, args) : value;

          while (++index < length) {
            result = funcs[index].call(this, result);
          }
          return result;
        };
      });
    }

    /**
     * Creates a function that wraps `func` to invoke it with optional `this`
     * binding of `thisArg`, partial application, and currying.
     *
     * @private
     * @param {Function|string} func The function or method name to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {*} [thisArg] The `this` binding of `func`.
     * @param {Array} [partials] The arguments to prepend to those provided to
     *  the new function.
     * @param {Array} [holders] The `partials` placeholder indexes.
     * @param {Array} [partialsRight] The arguments to append to those provided
     *  to the new function.
     * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.
     * @param {Array} [argPos] The argument positions of the new function.
     * @param {number} [ary] The arity cap of `func`.
     * @param {number} [arity] The arity of `func`.
     * @returns {Function} Returns the new wrapped function.
     */
    function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {
      var isAry = bitmask & WRAP_ARY_FLAG,
          isBind = bitmask & WRAP_BIND_FLAG,
          isBindKey = bitmask & WRAP_BIND_KEY_FLAG,
          isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),
          isFlip = bitmask & WRAP_FLIP_FLAG,
          Ctor = isBindKey ? undefined : createCtor(func);

      function wrapper() {
        var length = arguments.length,
            args = Array(length),
            index = length;

        while (index--) {
          args[index] = arguments[index];
        }
        if (isCurried) {
          var placeholder = getHolder(wrapper),
              holdersCount = countHolders(args, placeholder);
        }
        if (partials) {
          args = composeArgs(args, partials, holders, isCurried);
        }
        if (partialsRight) {
          args = composeArgsRight(args, partialsRight, holdersRight, isCurried);
        }
        length -= holdersCount;
        if (isCurried && length < arity) {
          var newHolders = replaceHolders(args, placeholder);
          return createRecurry(
            func, bitmask, createHybrid, wrapper.placeholder, thisArg,
            args, newHolders, argPos, ary, arity - length
          );
        }
        var thisBinding = isBind ? thisArg : this,
            fn = isBindKey ? thisBinding[func] : func;

        length = args.length;
        if (argPos) {
          args = reorder(args, argPos);
        } else if (isFlip && length > 1) {
          args.reverse();
        }
        if (isAry && ary < length) {
          args.length = ary;
        }
        if (this && this !== root && this instanceof wrapper) {
          fn = Ctor || createCtor(fn);
        }
        return fn.apply(thisBinding, args);
      }
      return wrapper;
    }

    /**
     * Creates a function like `_.invertBy`.
     *
     * @private
     * @param {Function} setter The function to set accumulator values.
     * @param {Function} toIteratee The function to resolve iteratees.
     * @returns {Function} Returns the new inverter function.
     */
    function createInverter(setter, toIteratee) {
      return function(object, iteratee) {
        return baseInverter(object, setter, toIteratee(iteratee), {});
      };
    }

    /**
     * Creates a function that performs a mathematical operation on two values.
     *
     * @private
     * @param {Function} operator The function to perform the operation.
     * @param {number} [defaultValue] The value used for `undefined` arguments.
     * @returns {Function} Returns the new mathematical operation function.
     */
    function createMathOperation(operator, defaultValue) {
      return function(value, other) {
        var result;
        if (value === undefined && other === undefined) {
          return defaultValue;
        }
        if (value !== undefined) {
          result = value;
        }
        if (other !== undefined) {
          if (result === undefined) {
            return other;
          }
          if (typeof value == 'string' || typeof other == 'string') {
            value = baseToString(value);
            other = baseToString(other);
          } else {
            value = baseToNumber(value);
            other = baseToNumber(other);
          }
          result = operator(value, other);
        }
        return result;
      };
    }

    /**
     * Creates a function like `_.over`.
     *
     * @private
     * @param {Function} arrayFunc The function to iterate over iteratees.
     * @returns {Function} Returns the new over function.
     */
    function createOver(arrayFunc) {
      return flatRest(function(iteratees) {
        iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
        return baseRest(function(args) {
          var thisArg = this;
          return arrayFunc(iteratees, function(iteratee) {
            return apply(iteratee, thisArg, args);
          });
        });
      });
    }

    /**
     * Creates the padding for `string` based on `length`. The `chars` string
     * is truncated if the number of characters exceeds `length`.
     *
     * @private
     * @param {number} length The padding length.
     * @param {string} [chars=' '] The string used as padding.
     * @returns {string} Returns the padding for `string`.
     */
    function createPadding(length, chars) {
      chars = chars === undefined ? ' ' : baseToString(chars);

      var charsLength = chars.length;
      if (charsLength < 2) {
        return charsLength ? baseRepeat(chars, length) : chars;
      }
      var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));
      return hasUnicode(chars)
        ? castSlice(stringToArray(result), 0, length).join('')
        : result.slice(0, length);
    }

    /**
     * Creates a function that wraps `func` to invoke it with the `this` binding
     * of `thisArg` and `partials` prepended to the arguments it receives.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {*} thisArg The `this` binding of `func`.
     * @param {Array} partials The arguments to prepend to those provided to
     *  the new function.
     * @returns {Function} Returns the new wrapped function.
     */
    function createPartial(func, bitmask, thisArg, partials) {
      var isBind = bitmask & WRAP_BIND_FLAG,
          Ctor = createCtor(func);

      function wrapper() {
        var argsIndex = -1,
            argsLength = arguments.length,
            leftIndex = -1,
            leftLength = partials.length,
            args = Array(leftLength + argsLength),
            fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;

        while (++leftIndex < leftLength) {
          args[leftIndex] = partials[leftIndex];
        }
        while (argsLength--) {
          args[leftIndex++] = arguments[++argsIndex];
        }
        return apply(fn, isBind ? thisArg : this, args);
      }
      return wrapper;
    }

    /**
     * Creates a `_.range` or `_.rangeRight` function.
     *
     * @private
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new range function.
     */
    function createRange(fromRight) {
      return function(start, end, step) {
        if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {
          end = step = undefined;
        }
        // Ensure the sign of `-0` is preserved.
        start = toFinite(start);
        if (end === undefined) {
          end = start;
          start = 0;
        } else {
          end = toFinite(end);
        }
        step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);
        return baseRange(start, end, step, fromRight);
      };
    }

    /**
     * Creates a function that performs a relational operation on two values.
     *
     * @private
     * @param {Function} operator The function to perform the operation.
     * @returns {Function} Returns the new relational operation function.
     */
    function createRelationalOperation(operator) {
      return function(value, other) {
        if (!(typeof value == 'string' && typeof other == 'string')) {
          value = toNumber(value);
          other = toNumber(other);
        }
        return operator(value, other);
      };
    }

    /**
     * Creates a function that wraps `func` to continue currying.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {Function} wrapFunc The function to create the `func` wrapper.
     * @param {*} placeholder The placeholder value.
     * @param {*} [thisArg] The `this` binding of `func`.
     * @param {Array} [partials] The arguments to prepend to those provided to
     *  the new function.
     * @param {Array} [holders] The `partials` placeholder indexes.
     * @param {Array} [argPos] The argument positions of the new function.
     * @param {number} [ary] The arity cap of `func`.
     * @param {number} [arity] The arity of `func`.
     * @returns {Function} Returns the new wrapped function.
     */
    function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {
      var isCurry = bitmask & WRAP_CURRY_FLAG,
          newHolders = isCurry ? holders : undefined,
          newHoldersRight = isCurry ? undefined : holders,
          newPartials = isCurry ? partials : undefined,
          newPartialsRight = isCurry ? undefined : partials;

      bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);
      bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);

      if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {
        bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);
      }
      var newData = [
        func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,
        newHoldersRight, argPos, ary, arity
      ];

      var result = wrapFunc.apply(undefined, newData);
      if (isLaziable(func)) {
        setData(result, newData);
      }
      result.placeholder = placeholder;
      return setWrapToString(result, func, bitmask);
    }

    /**
     * Creates a function like `_.round`.
     *
     * @private
     * @param {string} methodName The name of the `Math` method to use when rounding.
     * @returns {Function} Returns the new round function.
     */
    function createRound(methodName) {
      var func = Math[methodName];
      return function(number, precision) {
        number = toNumber(number);
        precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);
        if (precision && nativeIsFinite(number)) {
          // Shift with exponential notation to avoid floating-point issues.
          // See [MDN](https://mdn.io/round#Examples) for more details.
          var pair = (toString(number) + 'e').split('e'),
              value = func(pair[0] + 'e' + (+pair[1] + precision));

          pair = (toString(value) + 'e').split('e');
          return +(pair[0] + 'e' + (+pair[1] - precision));
        }
        return func(number);
      };
    }

    /**
     * Creates a set object of `values`.
     *
     * @private
     * @param {Array} values The values to add to the set.
     * @returns {Object} Returns the new set.
     */
    var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {
      return new Set(values);
    };

    /**
     * Creates a `_.toPairs` or `_.toPairsIn` function.
     *
     * @private
     * @param {Function} keysFunc The function to get the keys of a given object.
     * @returns {Function} Returns the new pairs function.
     */
    function createToPairs(keysFunc) {
      return function(object) {
        var tag = getTag(object);
        if (tag == mapTag) {
          return mapToArray(object);
        }
        if (tag == setTag) {
          return setToPairs(object);
        }
        return baseToPairs(object, keysFunc(object));
      };
    }

    /**
     * Creates a function that either curries or invokes `func` with optional
     * `this` binding and partially applied arguments.
     *
     * @private
     * @param {Function|string} func The function or method name to wrap.
     * @param {number} bitmask The bitmask flags.
     *    1 - `_.bind`
     *    2 - `_.bindKey`
     *    4 - `_.curry` or `_.curryRight` of a bound function
     *    8 - `_.curry`
     *   16 - `_.curryRight`
     *   32 - `_.partial`
     *   64 - `_.partialRight`
     *  128 - `_.rearg`
     *  256 - `_.ary`
     *  512 - `_.flip`
     * @param {*} [thisArg] The `this` binding of `func`.
     * @param {Array} [partials] The arguments to be partially applied.
     * @param {Array} [holders] The `partials` placeholder indexes.
     * @param {Array} [argPos] The argument positions of the new function.
     * @param {number} [ary] The arity cap of `func`.
     * @param {number} [arity] The arity of `func`.
     * @returns {Function} Returns the new wrapped function.
     */
    function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {
      var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;
      if (!isBindKey && typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      var length = partials ? partials.length : 0;
      if (!length) {
        bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
        partials = holders = undefined;
      }
      ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);
      arity = arity === undefined ? arity : toInteger(arity);
      length -= holders ? holders.length : 0;

      if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {
        var partialsRight = partials,
            holdersRight = holders;

        partials = holders = undefined;
      }
      var data = isBindKey ? undefined : getData(func);

      var newData = [
        func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,
        argPos, ary, arity
      ];

      if (data) {
        mergeData(newData, data);
      }
      func = newData[0];
      bitmask = newData[1];
      thisArg = newData[2];
      partials = newData[3];
      holders = newData[4];
      arity = newData[9] = newData[9] === undefined
        ? (isBindKey ? 0 : func.length)
        : nativeMax(newData[9] - length, 0);

      if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {
        bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);
      }
      if (!bitmask || bitmask == WRAP_BIND_FLAG) {
        var result = createBind(func, bitmask, thisArg);
      } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {
        result = createCurry(func, bitmask, arity);
      } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {
        result = createPartial(func, bitmask, thisArg, partials);
      } else {
        result = createHybrid.apply(undefined, newData);
      }
      var setter = data ? baseSetData : setData;
      return setWrapToString(setter(result, newData), func, bitmask);
    }

    /**
     * Used by `_.defaults` to customize its `_.assignIn` use to assign properties
     * of source objects to the destination object for all destination properties
     * that resolve to `undefined`.
     *
     * @private
     * @param {*} objValue The destination value.
     * @param {*} srcValue The source value.
     * @param {string} key The key of the property to assign.
     * @param {Object} object The parent object of `objValue`.
     * @returns {*} Returns the value to assign.
     */
    function customDefaultsAssignIn(objValue, srcValue, key, object) {
      if (objValue === undefined ||
          (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {
        return srcValue;
      }
      return objValue;
    }

    /**
     * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source
     * objects into destination objects that are passed thru.
     *
     * @private
     * @param {*} objValue The destination value.
     * @param {*} srcValue The source value.
     * @param {string} key The key of the property to merge.
     * @param {Object} object The parent object of `objValue`.
     * @param {Object} source The parent object of `srcValue`.
     * @param {Object} [stack] Tracks traversed source values and their merged
     *  counterparts.
     * @returns {*} Returns the value to assign.
     */
    function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {
      if (isObject(objValue) && isObject(srcValue)) {
        // Recursively merge objects and arrays (susceptible to call stack limits).
        stack.set(srcValue, objValue);
        baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);
        stack['delete'](srcValue);
      }
      return objValue;
    }

    /**
     * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
     * objects.
     *
     * @private
     * @param {*} value The value to inspect.
     * @param {string} key The key of the property to inspect.
     * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
     */
    function customOmitClone(value) {
      return isPlainObject(value) ? undefined : value;
    }

    /**
     * A specialized version of `baseIsEqualDeep` for arrays with support for
     * partial deep comparisons.
     *
     * @private
     * @param {Array} array The array to compare.
     * @param {Array} other The other array to compare.
     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
     * @param {Function} customizer The function to customize comparisons.
     * @param {Function} equalFunc The function to determine equivalents of values.
     * @param {Object} stack Tracks traversed `array` and `other` objects.
     * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
     */
    function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
      var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
          arrLength = array.length,
          othLength = other.length;

      if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
        return false;
      }
      // Check that cyclic values are equal.
      var arrStacked = stack.get(array);
      var othStacked = stack.get(other);
      if (arrStacked && othStacked) {
        return arrStacked == other && othStacked == array;
      }
      var index = -1,
          result = true,
          seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;

      stack.set(array, other);
      stack.set(other, array);

      // Ignore non-index properties.
      while (++index < arrLength) {
        var arrValue = array[index],
            othValue = other[index];

        if (customizer) {
          var compared = isPartial
            ? customizer(othValue, arrValue, index, other, array, stack)
            : customizer(arrValue, othValue, index, array, other, stack);
        }
        if (compared !== undefined) {
          if (compared) {
            continue;
          }
          result = false;
          break;
        }
        // Recursively compare arrays (susceptible to call stack limits).
        if (seen) {
          if (!arraySome(other, function(othValue, othIndex) {
                if (!cacheHas(seen, othIndex) &&
                    (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
                  return seen.push(othIndex);
                }
              })) {
            result = false;
            break;
          }
        } else if (!(
              arrValue === othValue ||
                equalFunc(arrValue, othValue, bitmask, customizer, stack)
            )) {
          result = false;
          break;
        }
      }
      stack['delete'](array);
      stack['delete'](other);
      return result;
    }

    /**
     * A specialized version of `baseIsEqualDeep` for comparing objects of
     * the same `toStringTag`.
     *
     * **Note:** This function only supports comparing values with tags of
     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
     *
     * @private
     * @param {Object} object The object to compare.
     * @param {Object} other The other object to compare.
     * @param {string} tag The `toStringTag` of the objects to compare.
     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
     * @param {Function} customizer The function to customize comparisons.
     * @param {Function} equalFunc The function to determine equivalents of values.
     * @param {Object} stack Tracks traversed `object` and `other` objects.
     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
     */
    function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
      switch (tag) {
        case dataViewTag:
          if ((object.byteLength != other.byteLength) ||
              (object.byteOffset != other.byteOffset)) {
            return false;
          }
          object = object.buffer;
          other = other.buffer;

        case arrayBufferTag:
          if ((object.byteLength != other.byteLength) ||
              !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
            return false;
          }
          return true;

        case boolTag:
        case dateTag:
        case numberTag:
          // Coerce booleans to `1` or `0` and dates to milliseconds.
          // Invalid dates are coerced to `NaN`.
          return eq(+object, +other);

        case errorTag:
          return object.name == other.name && object.message == other.message;

        case regexpTag:
        case stringTag:
          // Coerce regexes to strings and treat strings, primitives and objects,
          // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
          // for more details.
          return object == (other + '');

        case mapTag:
          var convert = mapToArray;

        case setTag:
          var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
          convert || (convert = setToArray);

          if (object.size != other.size && !isPartial) {
            return false;
          }
          // Assume cyclic values are equal.
          var stacked = stack.get(object);
          if (stacked) {
            return stacked == other;
          }
          bitmask |= COMPARE_UNORDERED_FLAG;

          // Recursively compare objects (susceptible to call stack limits).
          stack.set(object, other);
          var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
          stack['delete'](object);
          return result;

        case symbolTag:
          if (symbolValueOf) {
            return symbolValueOf.call(object) == symbolValueOf.call(other);
          }
      }
      return false;
    }

    /**
     * A specialized version of `baseIsEqualDeep` for objects with support for
     * partial deep comparisons.
     *
     * @private
     * @param {Object} object The object to compare.
     * @param {Object} other The other object to compare.
     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
     * @param {Function} customizer The function to customize comparisons.
     * @param {Function} equalFunc The function to determine equivalents of values.
     * @param {Object} stack Tracks traversed `object` and `other` objects.
     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
     */
    function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
      var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
          objProps = getAllKeys(object),
          objLength = objProps.length,
          othProps = getAllKeys(other),
          othLength = othProps.length;

      if (objLength != othLength && !isPartial) {
        return false;
      }
      var index = objLength;
      while (index--) {
        var key = objProps[index];
        if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
          return false;
        }
      }
      // Check that cyclic values are equal.
      var objStacked = stack.get(object);
      var othStacked = stack.get(other);
      if (objStacked && othStacked) {
        return objStacked == other && othStacked == object;
      }
      var result = true;
      stack.set(object, other);
      stack.set(other, object);

      var skipCtor = isPartial;
      while (++index < objLength) {
        key = objProps[index];
        var objValue = object[key],
            othValue = other[key];

        if (customizer) {
          var compared = isPartial
            ? customizer(othValue, objValue, key, other, object, stack)
            : customizer(objValue, othValue, key, object, other, stack);
        }
        // Recursively compare objects (susceptible to call stack limits).
        if (!(compared === undefined
              ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
              : compared
            )) {
          result = false;
          break;
        }
        skipCtor || (skipCtor = key == 'constructor');
      }
      if (result && !skipCtor) {
        var objCtor = object.constructor,
            othCtor = other.constructor;

        // Non `Object` object instances with different constructors are not equal.
        if (objCtor != othCtor &&
            ('constructor' in object && 'constructor' in other) &&
            !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
              typeof othCtor == 'function' && othCtor instanceof othCtor)) {
          result = false;
        }
      }
      stack['delete'](object);
      stack['delete'](other);
      return result;
    }

    /**
     * A specialized version of `baseRest` which flattens the rest array.
     *
     * @private
     * @param {Function} func The function to apply a rest parameter to.
     * @returns {Function} Returns the new function.
     */
    function flatRest(func) {
      return setToString(overRest(func, undefined, flatten), func + '');
    }

    /**
     * Creates an array of own enumerable property names and symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names and symbols.
     */
    function getAllKeys(object) {
      return baseGetAllKeys(object, keys, getSymbols);
    }

    /**
     * Creates an array of own and inherited enumerable property names and
     * symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names and symbols.
     */
    function getAllKeysIn(object) {
      return baseGetAllKeys(object, keysIn, getSymbolsIn);
    }

    /**
     * Gets metadata for `func`.
     *
     * @private
     * @param {Function} func The function to query.
     * @returns {*} Returns the metadata for `func`.
     */
    var getData = !metaMap ? noop : function(func) {
      return metaMap.get(func);
    };

    /**
     * Gets the name of `func`.
     *
     * @private
     * @param {Function} func The function to query.
     * @returns {string} Returns the function name.
     */
    function getFuncName(func) {
      var result = (func.name + ''),
          array = realNames[result],
          length = hasOwnProperty.call(realNames, result) ? array.length : 0;

      while (length--) {
        var data = array[length],
            otherFunc = data.func;
        if (otherFunc == null || otherFunc == func) {
          return data.name;
        }
      }
      return result;
    }

    /**
     * Gets the argument placeholder value for `func`.
     *
     * @private
     * @param {Function} func The function to inspect.
     * @returns {*} Returns the placeholder value.
     */
    function getHolder(func) {
      var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;
      return object.placeholder;
    }

    /**
     * Gets the appropriate "iteratee" function. If `_.iteratee` is customized,
     * this function returns the custom method, otherwise it returns `baseIteratee`.
     * If arguments are provided, the chosen function is invoked with them and
     * its result is returned.
     *
     * @private
     * @param {*} [value] The value to convert to an iteratee.
     * @param {number} [arity] The arity of the created iteratee.
     * @returns {Function} Returns the chosen function or its result.
     */
    function getIteratee() {
      var result = lodash.iteratee || iteratee;
      result = result === iteratee ? baseIteratee : result;
      return arguments.length ? result(arguments[0], arguments[1]) : result;
    }

    /**
     * Gets the data for `map`.
     *
     * @private
     * @param {Object} map The map to query.
     * @param {string} key The reference key.
     * @returns {*} Returns the map data.
     */
    function getMapData(map, key) {
      var data = map.__data__;
      return isKeyable(key)
        ? data[typeof key == 'string' ? 'string' : 'hash']
        : data.map;
    }

    /**
     * Gets the property names, values, and compare flags of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the match data of `object`.
     */
    function getMatchData(object) {
      var result = keys(object),
          length = result.length;

      while (length--) {
        var key = result[length],
            value = object[key];

        result[length] = [key, value, isStrictComparable(value)];
      }
      return result;
    }

    /**
     * Gets the native function at `key` of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {string} key The key of the method to get.
     * @returns {*} Returns the function if it's native, else `undefined`.
     */
    function getNative(object, key) {
      var value = getValue(object, key);
      return baseIsNative(value) ? value : undefined;
    }

    /**
     * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
     *
     * @private
     * @param {*} value The value to query.
     * @returns {string} Returns the raw `toStringTag`.
     */
    function getRawTag(value) {
      var isOwn = hasOwnProperty.call(value, symToStringTag),
          tag = value[symToStringTag];

      try {
        value[symToStringTag] = undefined;
        var unmasked = true;
      } catch (e) {}

      var result = nativeObjectToString.call(value);
      if (unmasked) {
        if (isOwn) {
          value[symToStringTag] = tag;
        } else {
          delete value[symToStringTag];
        }
      }
      return result;
    }

    /**
     * Creates an array of the own enumerable symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of symbols.
     */
    var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
      if (object == null) {
        return [];
      }
      object = Object(object);
      return arrayFilter(nativeGetSymbols(object), function(symbol) {
        return propertyIsEnumerable.call(object, symbol);
      });
    };

    /**
     * Creates an array of the own and inherited enumerable symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of symbols.
     */
    var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
      var result = [];
      while (object) {
        arrayPush(result, getSymbols(object));
        object = getPrototype(object);
      }
      return result;
    };

    /**
     * Gets the `toStringTag` of `value`.
     *
     * @private
     * @param {*} value The value to query.
     * @returns {string} Returns the `toStringTag`.
     */
    var getTag = baseGetTag;

    // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
    if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
        (Map && getTag(new Map) != mapTag) ||
        (Promise && getTag(Promise.resolve()) != promiseTag) ||
        (Set && getTag(new Set) != setTag) ||
        (WeakMap && getTag(new WeakMap) != weakMapTag)) {
      getTag = function(value) {
        var result = baseGetTag(value),
            Ctor = result == objectTag ? value.constructor : undefined,
            ctorString = Ctor ? toSource(Ctor) : '';

        if (ctorString) {
          switch (ctorString) {
            case dataViewCtorString: return dataViewTag;
            case mapCtorString: return mapTag;
            case promiseCtorString: return promiseTag;
            case setCtorString: return setTag;
            case weakMapCtorString: return weakMapTag;
          }
        }
        return result;
      };
    }

    /**
     * Gets the view, applying any `transforms` to the `start` and `end` positions.
     *
     * @private
     * @param {number} start The start of the view.
     * @param {number} end The end of the view.
     * @param {Array} transforms The transformations to apply to the view.
     * @returns {Object} Returns an object containing the `start` and `end`
     *  positions of the view.
     */
    function getView(start, end, transforms) {
      var index = -1,
          length = transforms.length;

      while (++index < length) {
        var data = transforms[index],
            size = data.size;

        switch (data.type) {
          case 'drop':      start += size; break;
          case 'dropRight': end -= size; break;
          case 'take':      end = nativeMin(end, start + size); break;
          case 'takeRight': start = nativeMax(start, end - size); break;
        }
      }
      return { 'start': start, 'end': end };
    }

    /**
     * Extracts wrapper details from the `source` body comment.
     *
     * @private
     * @param {string} source The source to inspect.
     * @returns {Array} Returns the wrapper details.
     */
    function getWrapDetails(source) {
      var match = source.match(reWrapDetails);
      return match ? match[1].split(reSplitDetails) : [];
    }

    /**
     * Checks if `path` exists on `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Array|string} path The path to check.
     * @param {Function} hasFunc The function to check properties.
     * @returns {boolean} Returns `true` if `path` exists, else `false`.
     */
    function hasPath(object, path, hasFunc) {
      path = castPath(path, object);

      var index = -1,
          length = path.length,
          result = false;

      while (++index < length) {
        var key = toKey(path[index]);
        if (!(result = object != null && hasFunc(object, key))) {
          break;
        }
        object = object[key];
      }
      if (result || ++index != length) {
        return result;
      }
      length = object == null ? 0 : object.length;
      return !!length && isLength(length) && isIndex(key, length) &&
        (isArray(object) || isArguments(object));
    }

    /**
     * Initializes an array clone.
     *
     * @private
     * @param {Array} array The array to clone.
     * @returns {Array} Returns the initialized clone.
     */
    function initCloneArray(array) {
      var length = array.length,
          result = new array.constructor(length);

      // Add properties assigned by `RegExp#exec`.
      if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
        result.index = array.index;
        result.input = array.input;
      }
      return result;
    }

    /**
     * Initializes an object clone.
     *
     * @private
     * @param {Object} object The object to clone.
     * @returns {Object} Returns the initialized clone.
     */
    function initCloneObject(object) {
      return (typeof object.constructor == 'function' && !isPrototype(object))
        ? baseCreate(getPrototype(object))
        : {};
    }

    /**
     * Initializes an object clone based on its `toStringTag`.
     *
     * **Note:** This function only supports cloning values with tags of
     * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
     *
     * @private
     * @param {Object} object The object to clone.
     * @param {string} tag The `toStringTag` of the object to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Object} Returns the initialized clone.
     */
    function initCloneByTag(object, tag, isDeep) {
      var Ctor = object.constructor;
      switch (tag) {
        case arrayBufferTag:
          return cloneArrayBuffer(object);

        case boolTag:
        case dateTag:
          return new Ctor(+object);

        case dataViewTag:
          return cloneDataView(object, isDeep);

        case float32Tag: case float64Tag:
        case int8Tag: case int16Tag: case int32Tag:
        case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
          return cloneTypedArray(object, isDeep);

        case mapTag:
          return new Ctor;

        case numberTag:
        case stringTag:
          return new Ctor(object);

        case regexpTag:
          return cloneRegExp(object);

        case setTag:
          return new Ctor;

        case symbolTag:
          return cloneSymbol(object);
      }
    }

    /**
     * Inserts wrapper `details` in a comment at the top of the `source` body.
     *
     * @private
     * @param {string} source The source to modify.
     * @returns {Array} details The details to insert.
     * @returns {string} Returns the modified source.
     */
    function insertWrapDetails(source, details) {
      var length = details.length;
      if (!length) {
        return source;
      }
      var lastIndex = length - 1;
      details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];
      details = details.join(length > 2 ? ', ' : ' ');
      return source.replace(reWrapComment, '{\n/* [wrapped with ' + details + '] */\n');
    }

    /**
     * Checks if `value` is a flattenable `arguments` object or array.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
     */
    function isFlattenable(value) {
      return isArray(value) || isArguments(value) ||
        !!(spreadableSymbol && value && value[spreadableSymbol]);
    }

    /**
     * Checks if `value` is a valid array-like index.
     *
     * @private
     * @param {*} value The value to check.
     * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
     * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
     */
    function isIndex(value, length) {
      var type = typeof value;
      length = length == null ? MAX_SAFE_INTEGER : length;

      return !!length &&
        (type == 'number' ||
          (type != 'symbol' && reIsUint.test(value))) &&
            (value > -1 && value % 1 == 0 && value < length);
    }

    /**
     * Checks if the given arguments are from an iteratee call.
     *
     * @private
     * @param {*} value The potential iteratee value argument.
     * @param {*} index The potential iteratee index or key argument.
     * @param {*} object The potential iteratee object argument.
     * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
     *  else `false`.
     */
    function isIterateeCall(value, index, object) {
      if (!isObject(object)) {
        return false;
      }
      var type = typeof index;
      if (type == 'number'
            ? (isArrayLike(object) && isIndex(index, object.length))
            : (type == 'string' && index in object)
          ) {
        return eq(object[index], value);
      }
      return false;
    }

    /**
     * Checks if `value` is a property name and not a property path.
     *
     * @private
     * @param {*} value The value to check.
     * @param {Object} [object] The object to query keys on.
     * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
     */
    function isKey(value, object) {
      if (isArray(value)) {
        return false;
      }
      var type = typeof value;
      if (type == 'number' || type == 'symbol' || type == 'boolean' ||
          value == null || isSymbol(value)) {
        return true;
      }
      return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
        (object != null && value in Object(object));
    }

    /**
     * Checks if `value` is suitable for use as unique object key.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
     */
    function isKeyable(value) {
      var type = typeof value;
      return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
        ? (value !== '__proto__')
        : (value === null);
    }

    /**
     * Checks if `func` has a lazy counterpart.
     *
     * @private
     * @param {Function} func The function to check.
     * @returns {boolean} Returns `true` if `func` has a lazy counterpart,
     *  else `false`.
     */
    function isLaziable(func) {
      var funcName = getFuncName(func),
          other = lodash[funcName];

      if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {
        return false;
      }
      if (func === other) {
        return true;
      }
      var data = getData(other);
      return !!data && func === data[0];
    }

    /**
     * Checks if `func` has its source masked.
     *
     * @private
     * @param {Function} func The function to check.
     * @returns {boolean} Returns `true` if `func` is masked, else `false`.
     */
    function isMasked(func) {
      return !!maskSrcKey && (maskSrcKey in func);
    }

    /**
     * Checks if `func` is capable of being masked.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `func` is maskable, else `false`.
     */
    var isMaskable = coreJsData ? isFunction : stubFalse;

    /**
     * Checks if `value` is likely a prototype object.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
     */
    function isPrototype(value) {
      var Ctor = value && value.constructor,
          proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;

      return value === proto;
    }

    /**
     * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` if suitable for strict
     *  equality comparisons, else `false`.
     */
    function isStrictComparable(value) {
      return value === value && !isObject(value);
    }

    /**
     * A specialized version of `matchesProperty` for source values suitable
     * for strict equality comparisons, i.e. `===`.
     *
     * @private
     * @param {string} key The key of the property to get.
     * @param {*} srcValue The value to match.
     * @returns {Function} Returns the new spec function.
     */
    function matchesStrictComparable(key, srcValue) {
      return function(object) {
        if (object == null) {
          return false;
        }
        return object[key] === srcValue &&
          (srcValue !== undefined || (key in Object(object)));
      };
    }

    /**
     * A specialized version of `_.memoize` which clears the memoized function's
     * cache when it exceeds `MAX_MEMOIZE_SIZE`.
     *
     * @private
     * @param {Function} func The function to have its output memoized.
     * @returns {Function} Returns the new memoized function.
     */
    function memoizeCapped(func) {
      var result = memoize(func, function(key) {
        if (cache.size === MAX_MEMOIZE_SIZE) {
          cache.clear();
        }
        return key;
      });

      var cache = result.cache;
      return result;
    }

    /**
     * Merges the function metadata of `source` into `data`.
     *
     * Merging metadata reduces the number of wrappers used to invoke a function.
     * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`
     * may be applied regardless of execution order. Methods like `_.ary` and
     * `_.rearg` modify function arguments, making the order in which they are
     * executed important, preventing the merging of metadata. However, we make
     * an exception for a safe combined case where curried functions have `_.ary`
     * and or `_.rearg` applied.
     *
     * @private
     * @param {Array} data The destination metadata.
     * @param {Array} source The source metadata.
     * @returns {Array} Returns `data`.
     */
    function mergeData(data, source) {
      var bitmask = data[1],
          srcBitmask = source[1],
          newBitmask = bitmask | srcBitmask,
          isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);

      var isCombo =
        ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||
        ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||
        ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));

      // Exit early if metadata can't be merged.
      if (!(isCommon || isCombo)) {
        return data;
      }
      // Use source `thisArg` if available.
      if (srcBitmask & WRAP_BIND_FLAG) {
        data[2] = source[2];
        // Set when currying a bound function.
        newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;
      }
      // Compose partial arguments.
      var value = source[3];
      if (value) {
        var partials = data[3];
        data[3] = partials ? composeArgs(partials, value, source[4]) : value;
        data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];
      }
      // Compose partial right arguments.
      value = source[5];
      if (value) {
        partials = data[5];
        data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;
        data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];
      }
      // Use source `argPos` if available.
      value = source[7];
      if (value) {
        data[7] = value;
      }
      // Use source `ary` if it's smaller.
      if (srcBitmask & WRAP_ARY_FLAG) {
        data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);
      }
      // Use source `arity` if one is not provided.
      if (data[9] == null) {
        data[9] = source[9];
      }
      // Use source `func` and merge bitmasks.
      data[0] = source[0];
      data[1] = newBitmask;

      return data;
    }

    /**
     * This function is like
     * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
     * except that it includes inherited enumerable properties.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     */
    function nativeKeysIn(object) {
      var result = [];
      if (object != null) {
        for (var key in Object(object)) {
          result.push(key);
        }
      }
      return result;
    }

    /**
     * Converts `value` to a string using `Object.prototype.toString`.
     *
     * @private
     * @param {*} value The value to convert.
     * @returns {string} Returns the converted string.
     */
    function objectToString(value) {
      return nativeObjectToString.call(value);
    }

    /**
     * A specialized version of `baseRest` which transforms the rest array.
     *
     * @private
     * @param {Function} func The function to apply a rest parameter to.
     * @param {number} [start=func.length-1] The start position of the rest parameter.
     * @param {Function} transform The rest array transform.
     * @returns {Function} Returns the new function.
     */
    function overRest(func, start, transform) {
      start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
      return function() {
        var args = arguments,
            index = -1,
            length = nativeMax(args.length - start, 0),
            array = Array(length);

        while (++index < length) {
          array[index] = args[start + index];
        }
        index = -1;
        var otherArgs = Array(start + 1);
        while (++index < start) {
          otherArgs[index] = args[index];
        }
        otherArgs[start] = transform(array);
        return apply(func, this, otherArgs);
      };
    }

    /**
     * Gets the parent value at `path` of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Array} path The path to get the parent value of.
     * @returns {*} Returns the parent value.
     */
    function parent(object, path) {
      return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
    }

    /**
     * Reorder `array` according to the specified indexes where the element at
     * the first index is assigned as the first element, the element at
     * the second index is assigned as the second element, and so on.
     *
     * @private
     * @param {Array} array The array to reorder.
     * @param {Array} indexes The arranged array indexes.
     * @returns {Array} Returns `array`.
     */
    function reorder(array, indexes) {
      var arrLength = array.length,
          length = nativeMin(indexes.length, arrLength),
          oldArray = copyArray(array);

      while (length--) {
        var index = indexes[length];
        array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;
      }
      return array;
    }

    /**
     * Gets the value at `key`, unless `key` is "__proto__" or "constructor".
     *
     * @private
     * @param {Object} object The object to query.
     * @param {string} key The key of the property to get.
     * @returns {*} Returns the property value.
     */
    function safeGet(object, key) {
      if (key === 'constructor' && typeof object[key] === 'function') {
        return;
      }

      if (key == '__proto__') {
        return;
      }

      return object[key];
    }

    /**
     * Sets metadata for `func`.
     *
     * **Note:** If this function becomes hot, i.e. is invoked a lot in a short
     * period of time, it will trip its breaker and transition to an identity
     * function to avoid garbage collection pauses in V8. See
     * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)
     * for more details.
     *
     * @private
     * @param {Function} func The function to associate metadata with.
     * @param {*} data The metadata.
     * @returns {Function} Returns `func`.
     */
    var setData = shortOut(baseSetData);

    /**
     * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).
     *
     * @private
     * @param {Function} func The function to delay.
     * @param {number} wait The number of milliseconds to delay invocation.
     * @returns {number|Object} Returns the timer id or timeout object.
     */
    var setTimeout = ctxSetTimeout || function(func, wait) {
      return root.setTimeout(func, wait);
    };

    /**
     * Sets the `toString` method of `func` to return `string`.
     *
     * @private
     * @param {Function} func The function to modify.
     * @param {Function} string The `toString` result.
     * @returns {Function} Returns `func`.
     */
    var setToString = shortOut(baseSetToString);

    /**
     * Sets the `toString` method of `wrapper` to mimic the source of `reference`
     * with wrapper details in a comment at the top of the source body.
     *
     * @private
     * @param {Function} wrapper The function to modify.
     * @param {Function} reference The reference function.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @returns {Function} Returns `wrapper`.
     */
    function setWrapToString(wrapper, reference, bitmask) {
      var source = (reference + '');
      return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));
    }

    /**
     * Creates a function that'll short out and invoke `identity` instead
     * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
     * milliseconds.
     *
     * @private
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new shortable function.
     */
    function shortOut(func) {
      var count = 0,
          lastCalled = 0;

      return function() {
        var stamp = nativeNow(),
            remaining = HOT_SPAN - (stamp - lastCalled);

        lastCalled = stamp;
        if (remaining > 0) {
          if (++count >= HOT_COUNT) {
            return arguments[0];
          }
        } else {
          count = 0;
        }
        return func.apply(undefined, arguments);
      };
    }

    /**
     * A specialized version of `_.shuffle` which mutates and sets the size of `array`.
     *
     * @private
     * @param {Array} array The array to shuffle.
     * @param {number} [size=array.length] The size of `array`.
     * @returns {Array} Returns `array`.
     */
    function shuffleSelf(array, size) {
      var index = -1,
          length = array.length,
          lastIndex = length - 1;

      size = size === undefined ? length : size;
      while (++index < size) {
        var rand = baseRandom(index, lastIndex),
            value = array[rand];

        array[rand] = array[index];
        array[index] = value;
      }
      array.length = size;
      return array;
    }

    /**
     * Converts `string` to a property path array.
     *
     * @private
     * @param {string} string The string to convert.
     * @returns {Array} Returns the property path array.
     */
    var stringToPath = memoizeCapped(function(string) {
      var result = [];
      if (string.charCodeAt(0) === 46 /* . */) {
        result.push('');
      }
      string.replace(rePropName, function(match, number, quote, subString) {
        result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
      });
      return result;
    });

    /**
     * Converts `value` to a string key if it's not a string or symbol.
     *
     * @private
     * @param {*} value The value to inspect.
     * @returns {string|symbol} Returns the key.
     */
    function toKey(value) {
      if (typeof value == 'string' || isSymbol(value)) {
        return value;
      }
      var result = (value + '');
      return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
    }

    /**
     * Converts `func` to its source code.
     *
     * @private
     * @param {Function} func The function to convert.
     * @returns {string} Returns the source code.
     */
    function toSource(func) {
      if (func != null) {
        try {
          return funcToString.call(func);
        } catch (e) {}
        try {
          return (func + '');
        } catch (e) {}
      }
      return '';
    }

    /**
     * Updates wrapper `details` based on `bitmask` flags.
     *
     * @private
     * @returns {Array} details The details to modify.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @returns {Array} Returns `details`.
     */
    function updateWrapDetails(details, bitmask) {
      arrayEach(wrapFlags, function(pair) {
        var value = '_.' + pair[0];
        if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {
          details.push(value);
        }
      });
      return details.sort();
    }

    /**
     * Creates a clone of `wrapper`.
     *
     * @private
     * @param {Object} wrapper The wrapper to clone.
     * @returns {Object} Returns the cloned wrapper.
     */
    function wrapperClone(wrapper) {
      if (wrapper instanceof LazyWrapper) {
        return wrapper.clone();
      }
      var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);
      result.__actions__ = copyArray(wrapper.__actions__);
      result.__index__  = wrapper.__index__;
      result.__values__ = wrapper.__values__;
      return result;
    }

    /*------------------------------------------------------------------------*/

    /**
     * Creates an array of elements split into groups the length of `size`.
     * If `array` can't be split evenly, the final chunk will be the remaining
     * elements.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to process.
     * @param {number} [size=1] The length of each chunk
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the new array of chunks.
     * @example
     *
     * _.chunk(['a', 'b', 'c', 'd'], 2);
     * // => [['a', 'b'], ['c', 'd']]
     *
     * _.chunk(['a', 'b', 'c', 'd'], 3);
     * // => [['a', 'b', 'c'], ['d']]
     */
    function chunk(array, size, guard) {
      if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {
        size = 1;
      } else {
        size = nativeMax(toInteger(size), 0);
      }
      var length = array == null ? 0 : array.length;
      if (!length || size < 1) {
        return [];
      }
      var index = 0,
          resIndex = 0,
          result = Array(nativeCeil(length / size));

      while (index < length) {
        result[resIndex++] = baseSlice(array, index, (index += size));
      }
      return result;
    }

    /**
     * Creates an array with all falsey values removed. The values `false`, `null`,
     * `0`, `""`, `undefined`, and `NaN` are falsey.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to compact.
     * @returns {Array} Returns the new array of filtered values.
     * @example
     *
     * _.compact([0, 1, false, 2, '', 3]);
     * // => [1, 2, 3]
     */
    function compact(array) {
      var index = -1,
          length = array == null ? 0 : array.length,
          resIndex = 0,
          result = [];

      while (++index < length) {
        var value = array[index];
        if (value) {
          result[resIndex++] = value;
        }
      }
      return result;
    }

    /**
     * Creates a new array concatenating `array` with any additional arrays
     * and/or values.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to concatenate.
     * @param {...*} [values] The values to concatenate.
     * @returns {Array} Returns the new concatenated array.
     * @example
     *
     * var array = [1];
     * var other = _.concat(array, 2, [3], [[4]]);
     *
     * console.log(other);
     * // => [1, 2, 3, [4]]
     *
     * console.log(array);
     * // => [1]
     */
    function concat() {
      var length = arguments.length;
      if (!length) {
        return [];
      }
      var args = Array(length - 1),
          array = arguments[0],
          index = length;

      while (index--) {
        args[index - 1] = arguments[index];
      }
      return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));
    }

    /**
     * Creates an array of `array` values not included in the other given arrays
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons. The order and references of result values are
     * determined by the first array.
     *
     * **Note:** Unlike `_.pullAll`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {...Array} [values] The values to exclude.
     * @returns {Array} Returns the new array of filtered values.
     * @see _.without, _.xor
     * @example
     *
     * _.difference([2, 1], [2, 3]);
     * // => [1]
     */
    var difference = baseRest(function(array, values) {
      return isArrayLikeObject(array)
        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))
        : [];
    });

    /**
     * This method is like `_.difference` except that it accepts `iteratee` which
     * is invoked for each element of `array` and `values` to generate the criterion
     * by which they're compared. The order and references of result values are
     * determined by the first array. The iteratee is invoked with one argument:
     * (value).
     *
     * **Note:** Unlike `_.pullAllBy`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {...Array} [values] The values to exclude.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new array of filtered values.
     * @example
     *
     * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);
     * // => [1.2]
     *
     * // The `_.property` iteratee shorthand.
     * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');
     * // => [{ 'x': 2 }]
     */
    var differenceBy = baseRest(function(array, values) {
      var iteratee = last(values);
      if (isArrayLikeObject(iteratee)) {
        iteratee = undefined;
      }
      return isArrayLikeObject(array)
        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))
        : [];
    });

    /**
     * This method is like `_.difference` except that it accepts `comparator`
     * which is invoked to compare elements of `array` to `values`. The order and
     * references of result values are determined by the first array. The comparator
     * is invoked with two arguments: (arrVal, othVal).
     *
     * **Note:** Unlike `_.pullAllWith`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {...Array} [values] The values to exclude.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of filtered values.
     * @example
     *
     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
     *
     * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);
     * // => [{ 'x': 2, 'y': 1 }]
     */
    var differenceWith = baseRest(function(array, values) {
      var comparator = last(values);
      if (isArrayLikeObject(comparator)) {
        comparator = undefined;
      }
      return isArrayLikeObject(array)
        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)
        : [];
    });

    /**
     * Creates a slice of `array` with `n` elements dropped from the beginning.
     *
     * @static
     * @memberOf _
     * @since 0.5.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=1] The number of elements to drop.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.drop([1, 2, 3]);
     * // => [2, 3]
     *
     * _.drop([1, 2, 3], 2);
     * // => [3]
     *
     * _.drop([1, 2, 3], 5);
     * // => []
     *
     * _.drop([1, 2, 3], 0);
     * // => [1, 2, 3]
     */
    function drop(array, n, guard) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return [];
      }
      n = (guard || n === undefined) ? 1 : toInteger(n);
      return baseSlice(array, n < 0 ? 0 : n, length);
    }

    /**
     * Creates a slice of `array` with `n` elements dropped from the end.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=1] The number of elements to drop.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.dropRight([1, 2, 3]);
     * // => [1, 2]
     *
     * _.dropRight([1, 2, 3], 2);
     * // => [1]
     *
     * _.dropRight([1, 2, 3], 5);
     * // => []
     *
     * _.dropRight([1, 2, 3], 0);
     * // => [1, 2, 3]
     */
    function dropRight(array, n, guard) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return [];
      }
      n = (guard || n === undefined) ? 1 : toInteger(n);
      n = length - n;
      return baseSlice(array, 0, n < 0 ? 0 : n);
    }

    /**
     * Creates a slice of `array` excluding elements dropped from the end.
     * Elements are dropped until `predicate` returns falsey. The predicate is
     * invoked with three arguments: (value, index, array).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': true },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': false }
     * ];
     *
     * _.dropRightWhile(users, function(o) { return !o.active; });
     * // => objects for ['barney']
     *
     * // The `_.matches` iteratee shorthand.
     * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });
     * // => objects for ['barney', 'fred']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.dropRightWhile(users, ['active', false]);
     * // => objects for ['barney']
     *
     * // The `_.property` iteratee shorthand.
     * _.dropRightWhile(users, 'active');
     * // => objects for ['barney', 'fred', 'pebbles']
     */
    function dropRightWhile(array, predicate) {
      return (array && array.length)
        ? baseWhile(array, getIteratee(predicate, 3), true, true)
        : [];
    }

    /**
     * Creates a slice of `array` excluding elements dropped from the beginning.
     * Elements are dropped until `predicate` returns falsey. The predicate is
     * invoked with three arguments: (value, index, array).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': false },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': true }
     * ];
     *
     * _.dropWhile(users, function(o) { return !o.active; });
     * // => objects for ['pebbles']
     *
     * // The `_.matches` iteratee shorthand.
     * _.dropWhile(users, { 'user': 'barney', 'active': false });
     * // => objects for ['fred', 'pebbles']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.dropWhile(users, ['active', false]);
     * // => objects for ['pebbles']
     *
     * // The `_.property` iteratee shorthand.
     * _.dropWhile(users, 'active');
     * // => objects for ['barney', 'fred', 'pebbles']
     */
    function dropWhile(array, predicate) {
      return (array && array.length)
        ? baseWhile(array, getIteratee(predicate, 3), true)
        : [];
    }

    /**
     * Fills elements of `array` with `value` from `start` up to, but not
     * including, `end`.
     *
     * **Note:** This method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 3.2.0
     * @category Array
     * @param {Array} array The array to fill.
     * @param {*} value The value to fill `array` with.
     * @param {number} [start=0] The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = [1, 2, 3];
     *
     * _.fill(array, 'a');
     * console.log(array);
     * // => ['a', 'a', 'a']
     *
     * _.fill(Array(3), 2);
     * // => [2, 2, 2]
     *
     * _.fill([4, 6, 8, 10], '*', 1, 3);
     * // => [4, '*', '*', 10]
     */
    function fill(array, value, start, end) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return [];
      }
      if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {
        start = 0;
        end = length;
      }
      return baseFill(array, value, start, end);
    }

    /**
     * This method is like `_.find` except that it returns the index of the first
     * element `predicate` returns truthy for instead of the element itself.
     *
     * @static
     * @memberOf _
     * @since 1.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param {number} [fromIndex=0] The index to search from.
     * @returns {number} Returns the index of the found element, else `-1`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': false },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': true }
     * ];
     *
     * _.findIndex(users, function(o) { return o.user == 'barney'; });
     * // => 0
     *
     * // The `_.matches` iteratee shorthand.
     * _.findIndex(users, { 'user': 'fred', 'active': false });
     * // => 1
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.findIndex(users, ['active', false]);
     * // => 0
     *
     * // The `_.property` iteratee shorthand.
     * _.findIndex(users, 'active');
     * // => 2
     */
    function findIndex(array, predicate, fromIndex) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return -1;
      }
      var index = fromIndex == null ? 0 : toInteger(fromIndex);
      if (index < 0) {
        index = nativeMax(length + index, 0);
      }
      return baseFindIndex(array, getIteratee(predicate, 3), index);
    }

    /**
     * This method is like `_.findIndex` except that it iterates over elements
     * of `collection` from right to left.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param {number} [fromIndex=array.length-1] The index to search from.
     * @returns {number} Returns the index of the found element, else `-1`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': true },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': false }
     * ];
     *
     * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });
     * // => 2
     *
     * // The `_.matches` iteratee shorthand.
     * _.findLastIndex(users, { 'user': 'barney', 'active': true });
     * // => 0
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.findLastIndex(users, ['active', false]);
     * // => 2
     *
     * // The `_.property` iteratee shorthand.
     * _.findLastIndex(users, 'active');
     * // => 0
     */
    function findLastIndex(array, predicate, fromIndex) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return -1;
      }
      var index = length - 1;
      if (fromIndex !== undefined) {
        index = toInteger(fromIndex);
        index = fromIndex < 0
          ? nativeMax(length + index, 0)
          : nativeMin(index, length - 1);
      }
      return baseFindIndex(array, getIteratee(predicate, 3), index, true);
    }

    /**
     * Flattens `array` a single level deep.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to flatten.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * _.flatten([1, [2, [3, [4]], 5]]);
     * // => [1, 2, [3, [4]], 5]
     */
    function flatten(array) {
      var length = array == null ? 0 : array.length;
      return length ? baseFlatten(array, 1) : [];
    }

    /**
     * Recursively flattens `array`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to flatten.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * _.flattenDeep([1, [2, [3, [4]], 5]]);
     * // => [1, 2, 3, 4, 5]
     */
    function flattenDeep(array) {
      var length = array == null ? 0 : array.length;
      return length ? baseFlatten(array, INFINITY) : [];
    }

    /**
     * Recursively flatten `array` up to `depth` times.
     *
     * @static
     * @memberOf _
     * @since 4.4.0
     * @category Array
     * @param {Array} array The array to flatten.
     * @param {number} [depth=1] The maximum recursion depth.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * var array = [1, [2, [3, [4]], 5]];
     *
     * _.flattenDepth(array, 1);
     * // => [1, 2, [3, [4]], 5]
     *
     * _.flattenDepth(array, 2);
     * // => [1, 2, 3, [4], 5]
     */
    function flattenDepth(array, depth) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return [];
      }
      depth = depth === undefined ? 1 : toInteger(depth);
      return baseFlatten(array, depth);
    }

    /**
     * The inverse of `_.toPairs`; this method returns an object composed
     * from key-value `pairs`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} pairs The key-value pairs.
     * @returns {Object} Returns the new object.
     * @example
     *
     * _.fromPairs([['a', 1], ['b', 2]]);
     * // => { 'a': 1, 'b': 2 }
     */
    function fromPairs(pairs) {
      var index = -1,
          length = pairs == null ? 0 : pairs.length,
          result = {};

      while (++index < length) {
        var pair = pairs[index];
        result[pair[0]] = pair[1];
      }
      return result;
    }

    /**
     * Gets the first element of `array`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @alias first
     * @category Array
     * @param {Array} array The array to query.
     * @returns {*} Returns the first element of `array`.
     * @example
     *
     * _.head([1, 2, 3]);
     * // => 1
     *
     * _.head([]);
     * // => undefined
     */
    function head(array) {
      return (array && array.length) ? array[0] : undefined;
    }

    /**
     * Gets the index at which the first occurrence of `value` is found in `array`
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons. If `fromIndex` is negative, it's used as the
     * offset from the end of `array`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {*} value The value to search for.
     * @param {number} [fromIndex=0] The index to search from.
     * @returns {number} Returns the index of the matched value, else `-1`.
     * @example
     *
     * _.indexOf([1, 2, 1, 2], 2);
     * // => 1
     *
     * // Search from the `fromIndex`.
     * _.indexOf([1, 2, 1, 2], 2, 2);
     * // => 3
     */
    function indexOf(array, value, fromIndex) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return -1;
      }
      var index = fromIndex == null ? 0 : toInteger(fromIndex);
      if (index < 0) {
        index = nativeMax(length + index, 0);
      }
      return baseIndexOf(array, value, index);
    }

    /**
     * Gets all but the last element of `array`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to query.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.initial([1, 2, 3]);
     * // => [1, 2]
     */
    function initial(array) {
      var length = array == null ? 0 : array.length;
      return length ? baseSlice(array, 0, -1) : [];
    }

    /**
     * Creates an array of unique values that are included in all given arrays
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons. The order and references of result values are
     * determined by the first array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @returns {Array} Returns the new array of intersecting values.
     * @example
     *
     * _.intersection([2, 1], [2, 3]);
     * // => [2]
     */
    var intersection = baseRest(function(arrays) {
      var mapped = arrayMap(arrays, castArrayLikeObject);
      return (mapped.length && mapped[0] === arrays[0])
        ? baseIntersection(mapped)
        : [];
    });

    /**
     * This method is like `_.intersection` except that it accepts `iteratee`
     * which is invoked for each element of each `arrays` to generate the criterion
     * by which they're compared. The order and references of result values are
     * determined by the first array. The iteratee is invoked with one argument:
     * (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new array of intersecting values.
     * @example
     *
     * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);
     * // => [2.1]
     *
     * // The `_.property` iteratee shorthand.
     * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
     * // => [{ 'x': 1 }]
     */
    var intersectionBy = baseRest(function(arrays) {
      var iteratee = last(arrays),
          mapped = arrayMap(arrays, castArrayLikeObject);

      if (iteratee === last(mapped)) {
        iteratee = undefined;
      } else {
        mapped.pop();
      }
      return (mapped.length && mapped[0] === arrays[0])
        ? baseIntersection(mapped, getIteratee(iteratee, 2))
        : [];
    });

    /**
     * This method is like `_.intersection` except that it accepts `comparator`
     * which is invoked to compare elements of `arrays`. The order and references
     * of result values are determined by the first array. The comparator is
     * invoked with two arguments: (arrVal, othVal).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of intersecting values.
     * @example
     *
     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
     *
     * _.intersectionWith(objects, others, _.isEqual);
     * // => [{ 'x': 1, 'y': 2 }]
     */
    var intersectionWith = baseRest(function(arrays) {
      var comparator = last(arrays),
          mapped = arrayMap(arrays, castArrayLikeObject);

      comparator = typeof comparator == 'function' ? comparator : undefined;
      if (comparator) {
        mapped.pop();
      }
      return (mapped.length && mapped[0] === arrays[0])
        ? baseIntersection(mapped, undefined, comparator)
        : [];
    });

    /**
     * Converts all elements in `array` into a string separated by `separator`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to convert.
     * @param {string} [separator=','] The element separator.
     * @returns {string} Returns the joined string.
     * @example
     *
     * _.join(['a', 'b', 'c'], '~');
     * // => 'a~b~c'
     */
    function join(array, separator) {
      return array == null ? '' : nativeJoin.call(array, separator);
    }

    /**
     * Gets the last element of `array`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to query.
     * @returns {*} Returns the last element of `array`.
     * @example
     *
     * _.last([1, 2, 3]);
     * // => 3
     */
    function last(array) {
      var length = array == null ? 0 : array.length;
      return length ? array[length - 1] : undefined;
    }

    /**
     * This method is like `_.indexOf` except that it iterates over elements of
     * `array` from right to left.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {*} value The value to search for.
     * @param {number} [fromIndex=array.length-1] The index to search from.
     * @returns {number} Returns the index of the matched value, else `-1`.
     * @example
     *
     * _.lastIndexOf([1, 2, 1, 2], 2);
     * // => 3
     *
     * // Search from the `fromIndex`.
     * _.lastIndexOf([1, 2, 1, 2], 2, 2);
     * // => 1
     */
    function lastIndexOf(array, value, fromIndex) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return -1;
      }
      var index = length;
      if (fromIndex !== undefined) {
        index = toInteger(fromIndex);
        index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);
      }
      return value === value
        ? strictLastIndexOf(array, value, index)
        : baseFindIndex(array, baseIsNaN, index, true);
    }

    /**
     * Gets the element at index `n` of `array`. If `n` is negative, the nth
     * element from the end is returned.
     *
     * @static
     * @memberOf _
     * @since 4.11.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=0] The index of the element to return.
     * @returns {*} Returns the nth element of `array`.
     * @example
     *
     * var array = ['a', 'b', 'c', 'd'];
     *
     * _.nth(array, 1);
     * // => 'b'
     *
     * _.nth(array, -2);
     * // => 'c';
     */
    function nth(array, n) {
      return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;
    }

    /**
     * Removes all given values from `array` using
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`
     * to remove elements from an array by predicate.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {...*} [values] The values to remove.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];
     *
     * _.pull(array, 'a', 'c');
     * console.log(array);
     * // => ['b', 'b']
     */
    var pull = baseRest(pullAll);

    /**
     * This method is like `_.pull` except that it accepts an array of values to remove.
     *
     * **Note:** Unlike `_.difference`, this method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {Array} values The values to remove.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];
     *
     * _.pullAll(array, ['a', 'c']);
     * console.log(array);
     * // => ['b', 'b']
     */
    function pullAll(array, values) {
      return (array && array.length && values && values.length)
        ? basePullAll(array, values)
        : array;
    }

    /**
     * This method is like `_.pullAll` except that it accepts `iteratee` which is
     * invoked for each element of `array` and `values` to generate the criterion
     * by which they're compared. The iteratee is invoked with one argument: (value).
     *
     * **Note:** Unlike `_.differenceBy`, this method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {Array} values The values to remove.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];
     *
     * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');
     * console.log(array);
     * // => [{ 'x': 2 }]
     */
    function pullAllBy(array, values, iteratee) {
      return (array && array.length && values && values.length)
        ? basePullAll(array, values, getIteratee(iteratee, 2))
        : array;
    }

    /**
     * This method is like `_.pullAll` except that it accepts `comparator` which
     * is invoked to compare elements of `array` to `values`. The comparator is
     * invoked with two arguments: (arrVal, othVal).
     *
     * **Note:** Unlike `_.differenceWith`, this method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 4.6.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {Array} values The values to remove.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
     *
     * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);
     * console.log(array);
     * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]
     */
    function pullAllWith(array, values, comparator) {
      return (array && array.length && values && values.length)
        ? basePullAll(array, values, undefined, comparator)
        : array;
    }

    /**
     * Removes elements from `array` corresponding to `indexes` and returns an
     * array of removed elements.
     *
     * **Note:** Unlike `_.at`, this method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {...(number|number[])} [indexes] The indexes of elements to remove.
     * @returns {Array} Returns the new array of removed elements.
     * @example
     *
     * var array = ['a', 'b', 'c', 'd'];
     * var pulled = _.pullAt(array, [1, 3]);
     *
     * console.log(array);
     * // => ['a', 'c']
     *
     * console.log(pulled);
     * // => ['b', 'd']
     */
    var pullAt = flatRest(function(array, indexes) {
      var length = array == null ? 0 : array.length,
          result = baseAt(array, indexes);

      basePullAt(array, arrayMap(indexes, function(index) {
        return isIndex(index, length) ? +index : index;
      }).sort(compareAscending));

      return result;
    });

    /**
     * Removes all elements from `array` that `predicate` returns truthy for
     * and returns an array of the removed elements. The predicate is invoked
     * with three arguments: (value, index, array).
     *
     * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`
     * to pull elements from an array by value.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new array of removed elements.
     * @example
     *
     * var array = [1, 2, 3, 4];
     * var evens = _.remove(array, function(n) {
     *   return n % 2 == 0;
     * });
     *
     * console.log(array);
     * // => [1, 3]
     *
     * console.log(evens);
     * // => [2, 4]
     */
    function remove(array, predicate) {
      var result = [];
      if (!(array && array.length)) {
        return result;
      }
      var index = -1,
          indexes = [],
          length = array.length;

      predicate = getIteratee(predicate, 3);
      while (++index < length) {
        var value = array[index];
        if (predicate(value, index, array)) {
          result.push(value);
          indexes.push(index);
        }
      }
      basePullAt(array, indexes);
      return result;
    }

    /**
     * Reverses `array` so that the first element becomes the last, the second
     * element becomes the second to last, and so on.
     *
     * **Note:** This method mutates `array` and is based on
     * [`Array#reverse`](https://mdn.io/Array/reverse).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = [1, 2, 3];
     *
     * _.reverse(array);
     * // => [3, 2, 1]
     *
     * console.log(array);
     * // => [3, 2, 1]
     */
    function reverse(array) {
      return array == null ? array : nativeReverse.call(array);
    }

    /**
     * Creates a slice of `array` from `start` up to, but not including, `end`.
     *
     * **Note:** This method is used instead of
     * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are
     * returned.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to slice.
     * @param {number} [start=0] The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns the slice of `array`.
     */
    function slice(array, start, end) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return [];
      }
      if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {
        start = 0;
        end = length;
      }
      else {
        start = start == null ? 0 : toInteger(start);
        end = end === undefined ? length : toInteger(end);
      }
      return baseSlice(array, start, end);
    }

    /**
     * Uses a binary search to determine the lowest index at which `value`
     * should be inserted into `array` in order to maintain its sort order.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     * @example
     *
     * _.sortedIndex([30, 50], 40);
     * // => 1
     */
    function sortedIndex(array, value) {
      return baseSortedIndex(array, value);
    }

    /**
     * This method is like `_.sortedIndex` except that it accepts `iteratee`
     * which is invoked for `value` and each element of `array` to compute their
     * sort ranking. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     * @example
     *
     * var objects = [{ 'x': 4 }, { 'x': 5 }];
     *
     * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
     * // => 0
     *
     * // The `_.property` iteratee shorthand.
     * _.sortedIndexBy(objects, { 'x': 4 }, 'x');
     * // => 0
     */
    function sortedIndexBy(array, value, iteratee) {
      return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));
    }

    /**
     * This method is like `_.indexOf` except that it performs a binary
     * search on a sorted `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {*} value The value to search for.
     * @returns {number} Returns the index of the matched value, else `-1`.
     * @example
     *
     * _.sortedIndexOf([4, 5, 5, 5, 6], 5);
     * // => 1
     */
    function sortedIndexOf(array, value) {
      var length = array == null ? 0 : array.length;
      if (length) {
        var index = baseSortedIndex(array, value);
        if (index < length && eq(array[index], value)) {
          return index;
        }
      }
      return -1;
    }

    /**
     * This method is like `_.sortedIndex` except that it returns the highest
     * index at which `value` should be inserted into `array` in order to
     * maintain its sort order.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     * @example
     *
     * _.sortedLastIndex([4, 5, 5, 5, 6], 5);
     * // => 4
     */
    function sortedLastIndex(array, value) {
      return baseSortedIndex(array, value, true);
    }

    /**
     * This method is like `_.sortedLastIndex` except that it accepts `iteratee`
     * which is invoked for `value` and each element of `array` to compute their
     * sort ranking. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     * @example
     *
     * var objects = [{ 'x': 4 }, { 'x': 5 }];
     *
     * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
     * // => 1
     *
     * // The `_.property` iteratee shorthand.
     * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');
     * // => 1
     */
    function sortedLastIndexBy(array, value, iteratee) {
      return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);
    }

    /**
     * This method is like `_.lastIndexOf` except that it performs a binary
     * search on a sorted `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {*} value The value to search for.
     * @returns {number} Returns the index of the matched value, else `-1`.
     * @example
     *
     * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);
     * // => 3
     */
    function sortedLastIndexOf(array, value) {
      var length = array == null ? 0 : array.length;
      if (length) {
        var index = baseSortedIndex(array, value, true) - 1;
        if (eq(array[index], value)) {
          return index;
        }
      }
      return -1;
    }

    /**
     * This method is like `_.uniq` except that it's designed and optimized
     * for sorted arrays.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * _.sortedUniq([1, 1, 2]);
     * // => [1, 2]
     */
    function sortedUniq(array) {
      return (array && array.length)
        ? baseSortedUniq(array)
        : [];
    }

    /**
     * This method is like `_.uniqBy` except that it's designed and optimized
     * for sorted arrays.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);
     * // => [1.1, 2.3]
     */
    function sortedUniqBy(array, iteratee) {
      return (array && array.length)
        ? baseSortedUniq(array, getIteratee(iteratee, 2))
        : [];
    }

    /**
     * Gets all but the first element of `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.tail([1, 2, 3]);
     * // => [2, 3]
     */
    function tail(array) {
      var length = array == null ? 0 : array.length;
      return length ? baseSlice(array, 1, length) : [];
    }

    /**
     * Creates a slice of `array` with `n` elements taken from the beginning.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=1] The number of elements to take.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.take([1, 2, 3]);
     * // => [1]
     *
     * _.take([1, 2, 3], 2);
     * // => [1, 2]
     *
     * _.take([1, 2, 3], 5);
     * // => [1, 2, 3]
     *
     * _.take([1, 2, 3], 0);
     * // => []
     */
    function take(array, n, guard) {
      if (!(array && array.length)) {
        return [];
      }
      n = (guard || n === undefined) ? 1 : toInteger(n);
      return baseSlice(array, 0, n < 0 ? 0 : n);
    }

    /**
     * Creates a slice of `array` with `n` elements taken from the end.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=1] The number of elements to take.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.takeRight([1, 2, 3]);
     * // => [3]
     *
     * _.takeRight([1, 2, 3], 2);
     * // => [2, 3]
     *
     * _.takeRight([1, 2, 3], 5);
     * // => [1, 2, 3]
     *
     * _.takeRight([1, 2, 3], 0);
     * // => []
     */
    function takeRight(array, n, guard) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return [];
      }
      n = (guard || n === undefined) ? 1 : toInteger(n);
      n = length - n;
      return baseSlice(array, n < 0 ? 0 : n, length);
    }

    /**
     * Creates a slice of `array` with elements taken from the end. Elements are
     * taken until `predicate` returns falsey. The predicate is invoked with
     * three arguments: (value, index, array).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': true },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': false }
     * ];
     *
     * _.takeRightWhile(users, function(o) { return !o.active; });
     * // => objects for ['fred', 'pebbles']
     *
     * // The `_.matches` iteratee shorthand.
     * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });
     * // => objects for ['pebbles']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.takeRightWhile(users, ['active', false]);
     * // => objects for ['fred', 'pebbles']
     *
     * // The `_.property` iteratee shorthand.
     * _.takeRightWhile(users, 'active');
     * // => []
     */
    function takeRightWhile(array, predicate) {
      return (array && array.length)
        ? baseWhile(array, getIteratee(predicate, 3), false, true)
        : [];
    }

    /**
     * Creates a slice of `array` with elements taken from the beginning. Elements
     * are taken until `predicate` returns falsey. The predicate is invoked with
     * three arguments: (value, index, array).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': false },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': true }
     * ];
     *
     * _.takeWhile(users, function(o) { return !o.active; });
     * // => objects for ['barney', 'fred']
     *
     * // The `_.matches` iteratee shorthand.
     * _.takeWhile(users, { 'user': 'barney', 'active': false });
     * // => objects for ['barney']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.takeWhile(users, ['active', false]);
     * // => objects for ['barney', 'fred']
     *
     * // The `_.property` iteratee shorthand.
     * _.takeWhile(users, 'active');
     * // => []
     */
    function takeWhile(array, predicate) {
      return (array && array.length)
        ? baseWhile(array, getIteratee(predicate, 3))
        : [];
    }

    /**
     * Creates an array of unique values, in order, from all given arrays using
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @returns {Array} Returns the new array of combined values.
     * @example
     *
     * _.union([2], [1, 2]);
     * // => [2, 1]
     */
    var union = baseRest(function(arrays) {
      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));
    });

    /**
     * This method is like `_.union` except that it accepts `iteratee` which is
     * invoked for each element of each `arrays` to generate the criterion by
     * which uniqueness is computed. Result values are chosen from the first
     * array in which the value occurs. The iteratee is invoked with one argument:
     * (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new array of combined values.
     * @example
     *
     * _.unionBy([2.1], [1.2, 2.3], Math.floor);
     * // => [2.1, 1.2]
     *
     * // The `_.property` iteratee shorthand.
     * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
     * // => [{ 'x': 1 }, { 'x': 2 }]
     */
    var unionBy = baseRest(function(arrays) {
      var iteratee = last(arrays);
      if (isArrayLikeObject(iteratee)) {
        iteratee = undefined;
      }
      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));
    });

    /**
     * This method is like `_.union` except that it accepts `comparator` which
     * is invoked to compare elements of `arrays`. Result values are chosen from
     * the first array in which the value occurs. The comparator is invoked
     * with two arguments: (arrVal, othVal).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of combined values.
     * @example
     *
     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
     *
     * _.unionWith(objects, others, _.isEqual);
     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]
     */
    var unionWith = baseRest(function(arrays) {
      var comparator = last(arrays);
      comparator = typeof comparator == 'function' ? comparator : undefined;
      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);
    });

    /**
     * Creates a duplicate-free version of an array, using
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons, in which only the first occurrence of each element
     * is kept. The order of result values is determined by the order they occur
     * in the array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * _.uniq([2, 1, 2]);
     * // => [2, 1]
     */
    function uniq(array) {
      return (array && array.length) ? baseUniq(array) : [];
    }

    /**
     * This method is like `_.uniq` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the criterion by which
     * uniqueness is computed. The order of result values is determined by the
     * order they occur in the array. The iteratee is invoked with one argument:
     * (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * _.uniqBy([2.1, 1.2, 2.3], Math.floor);
     * // => [2.1, 1.2]
     *
     * // The `_.property` iteratee shorthand.
     * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
     * // => [{ 'x': 1 }, { 'x': 2 }]
     */
    function uniqBy(array, iteratee) {
      return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];
    }

    /**
     * This method is like `_.uniq` except that it accepts `comparator` which
     * is invoked to compare elements of `array`. The order of result values is
     * determined by the order they occur in the array.The comparator is invoked
     * with two arguments: (arrVal, othVal).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];
     *
     * _.uniqWith(objects, _.isEqual);
     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]
     */
    function uniqWith(array, comparator) {
      comparator = typeof comparator == 'function' ? comparator : undefined;
      return (array && array.length) ? baseUniq(array, undefined, comparator) : [];
    }

    /**
     * This method is like `_.zip` except that it accepts an array of grouped
     * elements and creates an array regrouping the elements to their pre-zip
     * configuration.
     *
     * @static
     * @memberOf _
     * @since 1.2.0
     * @category Array
     * @param {Array} array The array of grouped elements to process.
     * @returns {Array} Returns the new array of regrouped elements.
     * @example
     *
     * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);
     * // => [['a', 1, true], ['b', 2, false]]
     *
     * _.unzip(zipped);
     * // => [['a', 'b'], [1, 2], [true, false]]
     */
    function unzip(array) {
      if (!(array && array.length)) {
        return [];
      }
      var length = 0;
      array = arrayFilter(array, function(group) {
        if (isArrayLikeObject(group)) {
          length = nativeMax(group.length, length);
          return true;
        }
      });
      return baseTimes(length, function(index) {
        return arrayMap(array, baseProperty(index));
      });
    }

    /**
     * This method is like `_.unzip` except that it accepts `iteratee` to specify
     * how regrouped values should be combined. The iteratee is invoked with the
     * elements of each group: (...group).
     *
     * @static
     * @memberOf _
     * @since 3.8.0
     * @category Array
     * @param {Array} array The array of grouped elements to process.
     * @param {Function} [iteratee=_.identity] The function to combine
     *  regrouped values.
     * @returns {Array} Returns the new array of regrouped elements.
     * @example
     *
     * var zipped = _.zip([1, 2], [10, 20], [100, 200]);
     * // => [[1, 10, 100], [2, 20, 200]]
     *
     * _.unzipWith(zipped, _.add);
     * // => [3, 30, 300]
     */
    function unzipWith(array, iteratee) {
      if (!(array && array.length)) {
        return [];
      }
      var result = unzip(array);
      if (iteratee == null) {
        return result;
      }
      return arrayMap(result, function(group) {
        return apply(iteratee, undefined, group);
      });
    }

    /**
     * Creates an array excluding all given values using
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * **Note:** Unlike `_.pull`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {...*} [values] The values to exclude.
     * @returns {Array} Returns the new array of filtered values.
     * @see _.difference, _.xor
     * @example
     *
     * _.without([2, 1, 2, 3], 1, 2);
     * // => [3]
     */
    var without = baseRest(function(array, values) {
      return isArrayLikeObject(array)
        ? baseDifference(array, values)
        : [];
    });

    /**
     * Creates an array of unique values that is the
     * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)
     * of the given arrays. The order of result values is determined by the order
     * they occur in the arrays.
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @returns {Array} Returns the new array of filtered values.
     * @see _.difference, _.without
     * @example
     *
     * _.xor([2, 1], [2, 3]);
     * // => [1, 3]
     */
    var xor = baseRest(function(arrays) {
      return baseXor(arrayFilter(arrays, isArrayLikeObject));
    });

    /**
     * This method is like `_.xor` except that it accepts `iteratee` which is
     * invoked for each element of each `arrays` to generate the criterion by
     * which by which they're compared. The order of result values is determined
     * by the order they occur in the arrays. The iteratee is invoked with one
     * argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new array of filtered values.
     * @example
     *
     * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);
     * // => [1.2, 3.4]
     *
     * // The `_.property` iteratee shorthand.
     * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
     * // => [{ 'x': 2 }]
     */
    var xorBy = baseRest(function(arrays) {
      var iteratee = last(arrays);
      if (isArrayLikeObject(iteratee)) {
        iteratee = undefined;
      }
      return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));
    });

    /**
     * This method is like `_.xor` except that it accepts `comparator` which is
     * invoked to compare elements of `arrays`. The order of result values is
     * determined by the order they occur in the arrays. The comparator is invoked
     * with two arguments: (arrVal, othVal).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of filtered values.
     * @example
     *
     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
     *
     * _.xorWith(objects, others, _.isEqual);
     * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]
     */
    var xorWith = baseRest(function(arrays) {
      var comparator = last(arrays);
      comparator = typeof comparator == 'function' ? comparator : undefined;
      return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);
    });

    /**
     * Creates an array of grouped elements, the first of which contains the
     * first elements of the given arrays, the second of which contains the
     * second elements of the given arrays, and so on.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {...Array} [arrays] The arrays to process.
     * @returns {Array} Returns the new array of grouped elements.
     * @example
     *
     * _.zip(['a', 'b'], [1, 2], [true, false]);
     * // => [['a', 1, true], ['b', 2, false]]
     */
    var zip = baseRest(unzip);

    /**
     * This method is like `_.fromPairs` except that it accepts two arrays,
     * one of property identifiers and one of corresponding values.
     *
     * @static
     * @memberOf _
     * @since 0.4.0
     * @category Array
     * @param {Array} [props=[]] The property identifiers.
     * @param {Array} [values=[]] The property values.
     * @returns {Object} Returns the new object.
     * @example
     *
     * _.zipObject(['a', 'b'], [1, 2]);
     * // => { 'a': 1, 'b': 2 }
     */
    function zipObject(props, values) {
      return baseZipObject(props || [], values || [], assignValue);
    }

    /**
     * This method is like `_.zipObject` except that it supports property paths.
     *
     * @static
     * @memberOf _
     * @since 4.1.0
     * @category Array
     * @param {Array} [props=[]] The property identifiers.
     * @param {Array} [values=[]] The property values.
     * @returns {Object} Returns the new object.
     * @example
     *
     * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);
     * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }
     */
    function zipObjectDeep(props, values) {
      return baseZipObject(props || [], values || [], baseSet);
    }

    /**
     * This method is like `_.zip` except that it accepts `iteratee` to specify
     * how grouped values should be combined. The iteratee is invoked with the
     * elements of each group: (...group).
     *
     * @static
     * @memberOf _
     * @since 3.8.0
     * @category Array
     * @param {...Array} [arrays] The arrays to process.
     * @param {Function} [iteratee=_.identity] The function to combine
     *  grouped values.
     * @returns {Array} Returns the new array of grouped elements.
     * @example
     *
     * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {
     *   return a + b + c;
     * });
     * // => [111, 222]
     */
    var zipWith = baseRest(function(arrays) {
      var length = arrays.length,
          iteratee = length > 1 ? arrays[length - 1] : undefined;

      iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;
      return unzipWith(arrays, iteratee);
    });

    /*------------------------------------------------------------------------*/

    /**
     * Creates a `lodash` wrapper instance that wraps `value` with explicit method
     * chain sequences enabled. The result of such sequences must be unwrapped
     * with `_#value`.
     *
     * @static
     * @memberOf _
     * @since 1.3.0
     * @category Seq
     * @param {*} value The value to wrap.
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'age': 36 },
     *   { 'user': 'fred',    'age': 40 },
     *   { 'user': 'pebbles', 'age': 1 }
     * ];
     *
     * var youngest = _
     *   .chain(users)
     *   .sortBy('age')
     *   .map(function(o) {
     *     return o.user + ' is ' + o.age;
     *   })
     *   .head()
     *   .value();
     * // => 'pebbles is 1'
     */
    function chain(value) {
      var result = lodash(value);
      result.__chain__ = true;
      return result;
    }

    /**
     * This method invokes `interceptor` and returns `value`. The interceptor
     * is invoked with one argument; (value). The purpose of this method is to
     * "tap into" a method chain sequence in order to modify intermediate results.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Seq
     * @param {*} value The value to provide to `interceptor`.
     * @param {Function} interceptor The function to invoke.
     * @returns {*} Returns `value`.
     * @example
     *
     * _([1, 2, 3])
     *  .tap(function(array) {
     *    // Mutate input array.
     *    array.pop();
     *  })
     *  .reverse()
     *  .value();
     * // => [2, 1]
     */
    function tap(value, interceptor) {
      interceptor(value);
      return value;
    }

    /**
     * This method is like `_.tap` except that it returns the result of `interceptor`.
     * The purpose of this method is to "pass thru" values replacing intermediate
     * results in a method chain sequence.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Seq
     * @param {*} value The value to provide to `interceptor`.
     * @param {Function} interceptor The function to invoke.
     * @returns {*} Returns the result of `interceptor`.
     * @example
     *
     * _('  abc  ')
     *  .chain()
     *  .trim()
     *  .thru(function(value) {
     *    return [value];
     *  })
     *  .value();
     * // => ['abc']
     */
    function thru(value, interceptor) {
      return interceptor(value);
    }

    /**
     * This method is the wrapper version of `_.at`.
     *
     * @name at
     * @memberOf _
     * @since 1.0.0
     * @category Seq
     * @param {...(string|string[])} [paths] The property paths to pick.
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
     *
     * _(object).at(['a[0].b.c', 'a[1]']).value();
     * // => [3, 4]
     */
    var wrapperAt = flatRest(function(paths) {
      var length = paths.length,
          start = length ? paths[0] : 0,
          value = this.__wrapped__,
          interceptor = function(object) { return baseAt(object, paths); };

      if (length > 1 || this.__actions__.length ||
          !(value instanceof LazyWrapper) || !isIndex(start)) {
        return this.thru(interceptor);
      }
      value = value.slice(start, +start + (length ? 1 : 0));
      value.__actions__.push({
        'func': thru,
        'args': [interceptor],
        'thisArg': undefined
      });
      return new LodashWrapper(value, this.__chain__).thru(function(array) {
        if (length && !array.length) {
          array.push(undefined);
        }
        return array;
      });
    });

    /**
     * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.
     *
     * @name chain
     * @memberOf _
     * @since 0.1.0
     * @category Seq
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36 },
     *   { 'user': 'fred',   'age': 40 }
     * ];
     *
     * // A sequence without explicit chaining.
     * _(users).head();
     * // => { 'user': 'barney', 'age': 36 }
     *
     * // A sequence with explicit chaining.
     * _(users)
     *   .chain()
     *   .head()
     *   .pick('user')
     *   .value();
     * // => { 'user': 'barney' }
     */
    function wrapperChain() {
      return chain(this);
    }

    /**
     * Executes the chain sequence and returns the wrapped result.
     *
     * @name commit
     * @memberOf _
     * @since 3.2.0
     * @category Seq
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var array = [1, 2];
     * var wrapped = _(array).push(3);
     *
     * console.log(array);
     * // => [1, 2]
     *
     * wrapped = wrapped.commit();
     * console.log(array);
     * // => [1, 2, 3]
     *
     * wrapped.last();
     * // => 3
     *
     * console.log(array);
     * // => [1, 2, 3]
     */
    function wrapperCommit() {
      return new LodashWrapper(this.value(), this.__chain__);
    }

    /**
     * Gets the next value on a wrapped object following the
     * [iterator protocol](https://mdn.io/iteration_protocols#iterator).
     *
     * @name next
     * @memberOf _
     * @since 4.0.0
     * @category Seq
     * @returns {Object} Returns the next iterator value.
     * @example
     *
     * var wrapped = _([1, 2]);
     *
     * wrapped.next();
     * // => { 'done': false, 'value': 1 }
     *
     * wrapped.next();
     * // => { 'done': false, 'value': 2 }
     *
     * wrapped.next();
     * // => { 'done': true, 'value': undefined }
     */
    function wrapperNext() {
      if (this.__values__ === undefined) {
        this.__values__ = toArray(this.value());
      }
      var done = this.__index__ >= this.__values__.length,
          value = done ? undefined : this.__values__[this.__index__++];

      return { 'done': done, 'value': value };
    }

    /**
     * Enables the wrapper to be iterable.
     *
     * @name Symbol.iterator
     * @memberOf _
     * @since 4.0.0
     * @category Seq
     * @returns {Object} Returns the wrapper object.
     * @example
     *
     * var wrapped = _([1, 2]);
     *
     * wrapped[Symbol.iterator]() === wrapped;
     * // => true
     *
     * Array.from(wrapped);
     * // => [1, 2]
     */
    function wrapperToIterator() {
      return this;
    }

    /**
     * Creates a clone of the chain sequence planting `value` as the wrapped value.
     *
     * @name plant
     * @memberOf _
     * @since 3.2.0
     * @category Seq
     * @param {*} value The value to plant.
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var wrapped = _([1, 2]).map(square);
     * var other = wrapped.plant([3, 4]);
     *
     * other.value();
     * // => [9, 16]
     *
     * wrapped.value();
     * // => [1, 4]
     */
    function wrapperPlant(value) {
      var result,
          parent = this;

      while (parent instanceof baseLodash) {
        var clone = wrapperClone(parent);
        clone.__index__ = 0;
        clone.__values__ = undefined;
        if (result) {
          previous.__wrapped__ = clone;
        } else {
          result = clone;
        }
        var previous = clone;
        parent = parent.__wrapped__;
      }
      previous.__wrapped__ = value;
      return result;
    }

    /**
     * This method is the wrapper version of `_.reverse`.
     *
     * **Note:** This method mutates the wrapped array.
     *
     * @name reverse
     * @memberOf _
     * @since 0.1.0
     * @category Seq
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var array = [1, 2, 3];
     *
     * _(array).reverse().value()
     * // => [3, 2, 1]
     *
     * console.log(array);
     * // => [3, 2, 1]
     */
    function wrapperReverse() {
      var value = this.__wrapped__;
      if (value instanceof LazyWrapper) {
        var wrapped = value;
        if (this.__actions__.length) {
          wrapped = new LazyWrapper(this);
        }
        wrapped = wrapped.reverse();
        wrapped.__actions__.push({
          'func': thru,
          'args': [reverse],
          'thisArg': undefined
        });
        return new LodashWrapper(wrapped, this.__chain__);
      }
      return this.thru(reverse);
    }

    /**
     * Executes the chain sequence to resolve the unwrapped value.
     *
     * @name value
     * @memberOf _
     * @since 0.1.0
     * @alias toJSON, valueOf
     * @category Seq
     * @returns {*} Returns the resolved unwrapped value.
     * @example
     *
     * _([1, 2, 3]).value();
     * // => [1, 2, 3]
     */
    function wrapperValue() {
      return baseWrapperValue(this.__wrapped__, this.__actions__);
    }

    /*------------------------------------------------------------------------*/

    /**
     * Creates an object composed of keys generated from the results of running
     * each element of `collection` thru `iteratee`. The corresponding value of
     * each key is the number of times the key was returned by `iteratee`. The
     * iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 0.5.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
     * @returns {Object} Returns the composed aggregate object.
     * @example
     *
     * _.countBy([6.1, 4.2, 6.3], Math.floor);
     * // => { '4': 1, '6': 2 }
     *
     * // The `_.property` iteratee shorthand.
     * _.countBy(['one', 'two', 'three'], 'length');
     * // => { '3': 2, '5': 1 }
     */
    var countBy = createAggregator(function(result, value, key) {
      if (hasOwnProperty.call(result, key)) {
        ++result[key];
      } else {
        baseAssignValue(result, key, 1);
      }
    });

    /**
     * Checks if `predicate` returns truthy for **all** elements of `collection`.
     * Iteration is stopped once `predicate` returns falsey. The predicate is
     * invoked with three arguments: (value, index|key, collection).
     *
     * **Note:** This method returns `true` for
     * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because
     * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of
     * elements of empty collections.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {boolean} Returns `true` if all elements pass the predicate check,
     *  else `false`.
     * @example
     *
     * _.every([true, 1, null, 'yes'], Boolean);
     * // => false
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36, 'active': false },
     *   { 'user': 'fred',   'age': 40, 'active': false }
     * ];
     *
     * // The `_.matches` iteratee shorthand.
     * _.every(users, { 'user': 'barney', 'active': false });
     * // => false
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.every(users, ['active', false]);
     * // => true
     *
     * // The `_.property` iteratee shorthand.
     * _.every(users, 'active');
     * // => false
     */
    function every(collection, predicate, guard) {
      var func = isArray(collection) ? arrayEvery : baseEvery;
      if (guard && isIterateeCall(collection, predicate, guard)) {
        predicate = undefined;
      }
      return func(collection, getIteratee(predicate, 3));
    }

    /**
     * Iterates over elements of `collection`, returning an array of all elements
     * `predicate` returns truthy for. The predicate is invoked with three
     * arguments: (value, index|key, collection).
     *
     * **Note:** Unlike `_.remove`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new filtered array.
     * @see _.reject
     * @example
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36, 'active': true },
     *   { 'user': 'fred',   'age': 40, 'active': false }
     * ];
     *
     * _.filter(users, function(o) { return !o.active; });
     * // => objects for ['fred']
     *
     * // The `_.matches` iteratee shorthand.
     * _.filter(users, { 'age': 36, 'active': true });
     * // => objects for ['barney']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.filter(users, ['active', false]);
     * // => objects for ['fred']
     *
     * // The `_.property` iteratee shorthand.
     * _.filter(users, 'active');
     * // => objects for ['barney']
     *
     * // Combining several predicates using `_.overEvery` or `_.overSome`.
     * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
     * // => objects for ['fred', 'barney']
     */
    function filter(collection, predicate) {
      var func = isArray(collection) ? arrayFilter : baseFilter;
      return func(collection, getIteratee(predicate, 3));
    }

    /**
     * Iterates over elements of `collection`, returning the first element
     * `predicate` returns truthy for. The predicate is invoked with three
     * arguments: (value, index|key, collection).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param {number} [fromIndex=0] The index to search from.
     * @returns {*} Returns the matched element, else `undefined`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'age': 36, 'active': true },
     *   { 'user': 'fred',    'age': 40, 'active': false },
     *   { 'user': 'pebbles', 'age': 1,  'active': true }
     * ];
     *
     * _.find(users, function(o) { return o.age < 40; });
     * // => object for 'barney'
     *
     * // The `_.matches` iteratee shorthand.
     * _.find(users, { 'age': 1, 'active': true });
     * // => object for 'pebbles'
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.find(users, ['active', false]);
     * // => object for 'fred'
     *
     * // The `_.property` iteratee shorthand.
     * _.find(users, 'active');
     * // => object for 'barney'
     */
    var find = createFind(findIndex);

    /**
     * This method is like `_.find` except that it iterates over elements of
     * `collection` from right to left.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param {number} [fromIndex=collection.length-1] The index to search from.
     * @returns {*} Returns the matched element, else `undefined`.
     * @example
     *
     * _.findLast([1, 2, 3, 4], function(n) {
     *   return n % 2 == 1;
     * });
     * // => 3
     */
    var findLast = createFind(findLastIndex);

    /**
     * Creates a flattened array of values by running each element in `collection`
     * thru `iteratee` and flattening the mapped results. The iteratee is invoked
     * with three arguments: (value, index|key, collection).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * function duplicate(n) {
     *   return [n, n];
     * }
     *
     * _.flatMap([1, 2], duplicate);
     * // => [1, 1, 2, 2]
     */
    function flatMap(collection, iteratee) {
      return baseFlatten(map(collection, iteratee), 1);
    }

    /**
     * This method is like `_.flatMap` except that it recursively flattens the
     * mapped results.
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * function duplicate(n) {
     *   return [[[n, n]]];
     * }
     *
     * _.flatMapDeep([1, 2], duplicate);
     * // => [1, 1, 2, 2]
     */
    function flatMapDeep(collection, iteratee) {
      return baseFlatten(map(collection, iteratee), INFINITY);
    }

    /**
     * This method is like `_.flatMap` except that it recursively flattens the
     * mapped results up to `depth` times.
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @param {number} [depth=1] The maximum recursion depth.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * function duplicate(n) {
     *   return [[[n, n]]];
     * }
     *
     * _.flatMapDepth([1, 2], duplicate, 2);
     * // => [[1, 1], [2, 2]]
     */
    function flatMapDepth(collection, iteratee, depth) {
      depth = depth === undefined ? 1 : toInteger(depth);
      return baseFlatten(map(collection, iteratee), depth);
    }

    /**
     * Iterates over elements of `collection` and invokes `iteratee` for each element.
     * The iteratee is invoked with three arguments: (value, index|key, collection).
     * Iteratee functions may exit iteration early by explicitly returning `false`.
     *
     * **Note:** As with other "Collections" methods, objects with a "length"
     * property are iterated like arrays. To avoid this behavior use `_.forIn`
     * or `_.forOwn` for object iteration.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @alias each
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array|Object} Returns `collection`.
     * @see _.forEachRight
     * @example
     *
     * _.forEach([1, 2], function(value) {
     *   console.log(value);
     * });
     * // => Logs `1` then `2`.
     *
     * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'a' then 'b' (iteration order is not guaranteed).
     */
    function forEach(collection, iteratee) {
      var func = isArray(collection) ? arrayEach : baseEach;
      return func(collection, getIteratee(iteratee, 3));
    }

    /**
     * This method is like `_.forEach` except that it iterates over elements of
     * `collection` from right to left.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @alias eachRight
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array|Object} Returns `collection`.
     * @see _.forEach
     * @example
     *
     * _.forEachRight([1, 2], function(value) {
     *   console.log(value);
     * });
     * // => Logs `2` then `1`.
     */
    function forEachRight(collection, iteratee) {
      var func = isArray(collection) ? arrayEachRight : baseEachRight;
      return func(collection, getIteratee(iteratee, 3));
    }

    /**
     * Creates an object composed of keys generated from the results of running
     * each element of `collection` thru `iteratee`. The order of grouped values
     * is determined by the order they occur in `collection`. The corresponding
     * value of each key is an array of elements responsible for generating the
     * key. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
     * @returns {Object} Returns the composed aggregate object.
     * @example
     *
     * _.groupBy([6.1, 4.2, 6.3], Math.floor);
     * // => { '4': [4.2], '6': [6.1, 6.3] }
     *
     * // The `_.property` iteratee shorthand.
     * _.groupBy(['one', 'two', 'three'], 'length');
     * // => { '3': ['one', 'two'], '5': ['three'] }
     */
    var groupBy = createAggregator(function(result, value, key) {
      if (hasOwnProperty.call(result, key)) {
        result[key].push(value);
      } else {
        baseAssignValue(result, key, [value]);
      }
    });

    /**
     * Checks if `value` is in `collection`. If `collection` is a string, it's
     * checked for a substring of `value`, otherwise
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * is used for equality comparisons. If `fromIndex` is negative, it's used as
     * the offset from the end of `collection`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object|string} collection The collection to inspect.
     * @param {*} value The value to search for.
     * @param {number} [fromIndex=0] The index to search from.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
     * @returns {boolean} Returns `true` if `value` is found, else `false`.
     * @example
     *
     * _.includes([1, 2, 3], 1);
     * // => true
     *
     * _.includes([1, 2, 3], 1, 2);
     * // => false
     *
     * _.includes({ 'a': 1, 'b': 2 }, 1);
     * // => true
     *
     * _.includes('abcd', 'bc');
     * // => true
     */
    function includes(collection, value, fromIndex, guard) {
      collection = isArrayLike(collection) ? collection : values(collection);
      fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;

      var length = collection.length;
      if (fromIndex < 0) {
        fromIndex = nativeMax(length + fromIndex, 0);
      }
      return isString(collection)
        ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)
        : (!!length && baseIndexOf(collection, value, fromIndex) > -1);
    }

    /**
     * Invokes the method at `path` of each element in `collection`, returning
     * an array of the results of each invoked method. Any additional arguments
     * are provided to each invoked method. If `path` is a function, it's invoked
     * for, and `this` bound to, each element in `collection`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Array|Function|string} path The path of the method to invoke or
     *  the function invoked per iteration.
     * @param {...*} [args] The arguments to invoke each method with.
     * @returns {Array} Returns the array of results.
     * @example
     *
     * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');
     * // => [[1, 5, 7], [1, 2, 3]]
     *
     * _.invokeMap([123, 456], String.prototype.split, '');
     * // => [['1', '2', '3'], ['4', '5', '6']]
     */
    var invokeMap = baseRest(function(collection, path, args) {
      var index = -1,
          isFunc = typeof path == 'function',
          result = isArrayLike(collection) ? Array(collection.length) : [];

      baseEach(collection, function(value) {
        result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);
      });
      return result;
    });

    /**
     * Creates an object composed of keys generated from the results of running
     * each element of `collection` thru `iteratee`. The corresponding value of
     * each key is the last element responsible for generating the key. The
     * iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
     * @returns {Object} Returns the composed aggregate object.
     * @example
     *
     * var array = [
     *   { 'dir': 'left', 'code': 97 },
     *   { 'dir': 'right', 'code': 100 }
     * ];
     *
     * _.keyBy(array, function(o) {
     *   return String.fromCharCode(o.code);
     * });
     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }
     *
     * _.keyBy(array, 'dir');
     * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }
     */
    var keyBy = createAggregator(function(result, value, key) {
      baseAssignValue(result, key, value);
    });

    /**
     * Creates an array of values by running each element in `collection` thru
     * `iteratee`. The iteratee is invoked with three arguments:
     * (value, index|key, collection).
     *
     * Many lodash methods are guarded to work as iteratees for methods like
     * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
     *
     * The guarded methods are:
     * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
     * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
     * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
     * `template`, `trim`, `trimEnd`, `trimStart`, and `words`
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new mapped array.
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * _.map([4, 8], square);
     * // => [16, 64]
     *
     * _.map({ 'a': 4, 'b': 8 }, square);
     * // => [16, 64] (iteration order is not guaranteed)
     *
     * var users = [
     *   { 'user': 'barney' },
     *   { 'user': 'fred' }
     * ];
     *
     * // The `_.property` iteratee shorthand.
     * _.map(users, 'user');
     * // => ['barney', 'fred']
     */
    function map(collection, iteratee) {
      var func = isArray(collection) ? arrayMap : baseMap;
      return func(collection, getIteratee(iteratee, 3));
    }

    /**
     * This method is like `_.sortBy` except that it allows specifying the sort
     * orders of the iteratees to sort by. If `orders` is unspecified, all values
     * are sorted in ascending order. Otherwise, specify an order of "desc" for
     * descending or "asc" for ascending sort order of corresponding values.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]
     *  The iteratees to sort by.
     * @param {string[]} [orders] The sort orders of `iteratees`.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
     * @returns {Array} Returns the new sorted array.
     * @example
     *
     * var users = [
     *   { 'user': 'fred',   'age': 48 },
     *   { 'user': 'barney', 'age': 34 },
     *   { 'user': 'fred',   'age': 40 },
     *   { 'user': 'barney', 'age': 36 }
     * ];
     *
     * // Sort by `user` in ascending order and by `age` in descending order.
     * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);
     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
     */
    function orderBy(collection, iteratees, orders, guard) {
      if (collection == null) {
        return [];
      }
      if (!isArray(iteratees)) {
        iteratees = iteratees == null ? [] : [iteratees];
      }
      orders = guard ? undefined : orders;
      if (!isArray(orders)) {
        orders = orders == null ? [] : [orders];
      }
      return baseOrderBy(collection, iteratees, orders);
    }

    /**
     * Creates an array of elements split into two groups, the first of which
     * contains elements `predicate` returns truthy for, the second of which
     * contains elements `predicate` returns falsey for. The predicate is
     * invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the array of grouped elements.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'age': 36, 'active': false },
     *   { 'user': 'fred',    'age': 40, 'active': true },
     *   { 'user': 'pebbles', 'age': 1,  'active': false }
     * ];
     *
     * _.partition(users, function(o) { return o.active; });
     * // => objects for [['fred'], ['barney', 'pebbles']]
     *
     * // The `_.matches` iteratee shorthand.
     * _.partition(users, { 'age': 1, 'active': false });
     * // => objects for [['pebbles'], ['barney', 'fred']]
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.partition(users, ['active', false]);
     * // => objects for [['barney', 'pebbles'], ['fred']]
     *
     * // The `_.property` iteratee shorthand.
     * _.partition(users, 'active');
     * // => objects for [['fred'], ['barney', 'pebbles']]
     */
    var partition = createAggregator(function(result, value, key) {
      result[key ? 0 : 1].push(value);
    }, function() { return [[], []]; });

    /**
     * Reduces `collection` to a value which is the accumulated result of running
     * each element in `collection` thru `iteratee`, where each successive
     * invocation is supplied the return value of the previous. If `accumulator`
     * is not given, the first element of `collection` is used as the initial
     * value. The iteratee is invoked with four arguments:
     * (accumulator, value, index|key, collection).
     *
     * Many lodash methods are guarded to work as iteratees for methods like
     * `_.reduce`, `_.reduceRight`, and `_.transform`.
     *
     * The guarded methods are:
     * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
     * and `sortBy`
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @param {*} [accumulator] The initial value.
     * @returns {*} Returns the accumulated value.
     * @see _.reduceRight
     * @example
     *
     * _.reduce([1, 2], function(sum, n) {
     *   return sum + n;
     * }, 0);
     * // => 3
     *
     * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
     *   (result[value] || (result[value] = [])).push(key);
     *   return result;
     * }, {});
     * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
     */
    function reduce(collection, iteratee, accumulator) {
      var func = isArray(collection) ? arrayReduce : baseReduce,
          initAccum = arguments.length < 3;

      return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);
    }

    /**
     * This method is like `_.reduce` except that it iterates over elements of
     * `collection` from right to left.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @param {*} [accumulator] The initial value.
     * @returns {*} Returns the accumulated value.
     * @see _.reduce
     * @example
     *
     * var array = [[0, 1], [2, 3], [4, 5]];
     *
     * _.reduceRight(array, function(flattened, other) {
     *   return flattened.concat(other);
     * }, []);
     * // => [4, 5, 2, 3, 0, 1]
     */
    function reduceRight(collection, iteratee, accumulator) {
      var func = isArray(collection) ? arrayReduceRight : baseReduce,
          initAccum = arguments.length < 3;

      return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);
    }

    /**
     * The opposite of `_.filter`; this method returns the elements of `collection`
     * that `predicate` does **not** return truthy for.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new filtered array.
     * @see _.filter
     * @example
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36, 'active': false },
     *   { 'user': 'fred',   'age': 40, 'active': true }
     * ];
     *
     * _.reject(users, function(o) { return !o.active; });
     * // => objects for ['fred']
     *
     * // The `_.matches` iteratee shorthand.
     * _.reject(users, { 'age': 40, 'active': true });
     * // => objects for ['barney']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.reject(users, ['active', false]);
     * // => objects for ['fred']
     *
     * // The `_.property` iteratee shorthand.
     * _.reject(users, 'active');
     * // => objects for ['barney']
     */
    function reject(collection, predicate) {
      var func = isArray(collection) ? arrayFilter : baseFilter;
      return func(collection, negate(getIteratee(predicate, 3)));
    }

    /**
     * Gets a random element from `collection`.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to sample.
     * @returns {*} Returns the random element.
     * @example
     *
     * _.sample([1, 2, 3, 4]);
     * // => 2
     */
    function sample(collection) {
      var func = isArray(collection) ? arraySample : baseSample;
      return func(collection);
    }

    /**
     * Gets `n` random elements at unique keys from `collection` up to the
     * size of `collection`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to sample.
     * @param {number} [n=1] The number of elements to sample.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the random elements.
     * @example
     *
     * _.sampleSize([1, 2, 3], 2);
     * // => [3, 1]
     *
     * _.sampleSize([1, 2, 3], 4);
     * // => [2, 3, 1]
     */
    function sampleSize(collection, n, guard) {
      if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {
        n = 1;
      } else {
        n = toInteger(n);
      }
      var func = isArray(collection) ? arraySampleSize : baseSampleSize;
      return func(collection, n);
    }

    /**
     * Creates an array of shuffled values, using a version of the
     * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to shuffle.
     * @returns {Array} Returns the new shuffled array.
     * @example
     *
     * _.shuffle([1, 2, 3, 4]);
     * // => [4, 1, 3, 2]
     */
    function shuffle(collection) {
      var func = isArray(collection) ? arrayShuffle : baseShuffle;
      return func(collection);
    }

    /**
     * Gets the size of `collection` by returning its length for array-like
     * values or the number of own enumerable string keyed properties for objects.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object|string} collection The collection to inspect.
     * @returns {number} Returns the collection size.
     * @example
     *
     * _.size([1, 2, 3]);
     * // => 3
     *
     * _.size({ 'a': 1, 'b': 2 });
     * // => 2
     *
     * _.size('pebbles');
     * // => 7
     */
    function size(collection) {
      if (collection == null) {
        return 0;
      }
      if (isArrayLike(collection)) {
        return isString(collection) ? stringSize(collection) : collection.length;
      }
      var tag = getTag(collection);
      if (tag == mapTag || tag == setTag) {
        return collection.size;
      }
      return baseKeys(collection).length;
    }

    /**
     * Checks if `predicate` returns truthy for **any** element of `collection`.
     * Iteration is stopped once `predicate` returns truthy. The predicate is
     * invoked with three arguments: (value, index|key, collection).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {boolean} Returns `true` if any element passes the predicate check,
     *  else `false`.
     * @example
     *
     * _.some([null, 0, 'yes', false], Boolean);
     * // => true
     *
     * var users = [
     *   { 'user': 'barney', 'active': true },
     *   { 'user': 'fred',   'active': false }
     * ];
     *
     * // The `_.matches` iteratee shorthand.
     * _.some(users, { 'user': 'barney', 'active': false });
     * // => false
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.some(users, ['active', false]);
     * // => true
     *
     * // The `_.property` iteratee shorthand.
     * _.some(users, 'active');
     * // => true
     */
    function some(collection, predicate, guard) {
      var func = isArray(collection) ? arraySome : baseSome;
      if (guard && isIterateeCall(collection, predicate, guard)) {
        predicate = undefined;
      }
      return func(collection, getIteratee(predicate, 3));
    }

    /**
     * Creates an array of elements, sorted in ascending order by the results of
     * running each element in a collection thru each iteratee. This method
     * performs a stable sort, that is, it preserves the original sort order of
     * equal elements. The iteratees are invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {...(Function|Function[])} [iteratees=[_.identity]]
     *  The iteratees to sort by.
     * @returns {Array} Returns the new sorted array.
     * @example
     *
     * var users = [
     *   { 'user': 'fred',   'age': 48 },
     *   { 'user': 'barney', 'age': 36 },
     *   { 'user': 'fred',   'age': 30 },
     *   { 'user': 'barney', 'age': 34 }
     * ];
     *
     * _.sortBy(users, [function(o) { return o.user; }]);
     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
     *
     * _.sortBy(users, ['user', 'age']);
     * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
     */
    var sortBy = baseRest(function(collection, iteratees) {
      if (collection == null) {
        return [];
      }
      var length = iteratees.length;
      if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {
        iteratees = [];
      } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {
        iteratees = [iteratees[0]];
      }
      return baseOrderBy(collection, baseFlatten(iteratees, 1), []);
    });

    /*------------------------------------------------------------------------*/

    /**
     * Gets the timestamp of the number of milliseconds that have elapsed since
     * the Unix epoch (1 January 1970 00:00:00 UTC).
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Date
     * @returns {number} Returns the timestamp.
     * @example
     *
     * _.defer(function(stamp) {
     *   console.log(_.now() - stamp);
     * }, _.now());
     * // => Logs the number of milliseconds it took for the deferred invocation.
     */
    var now = ctxNow || function() {
      return root.Date.now();
    };

    /*------------------------------------------------------------------------*/

    /**
     * The opposite of `_.before`; this method creates a function that invokes
     * `func` once it's called `n` or more times.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {number} n The number of calls before `func` is invoked.
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new restricted function.
     * @example
     *
     * var saves = ['profile', 'settings'];
     *
     * var done = _.after(saves.length, function() {
     *   console.log('done saving!');
     * });
     *
     * _.forEach(saves, function(type) {
     *   asyncSave({ 'type': type, 'complete': done });
     * });
     * // => Logs 'done saving!' after the two async saves have completed.
     */
    function after(n, func) {
      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      n = toInteger(n);
      return function() {
        if (--n < 1) {
          return func.apply(this, arguments);
        }
      };
    }

    /**
     * Creates a function that invokes `func`, with up to `n` arguments,
     * ignoring any additional arguments.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {Function} func The function to cap arguments for.
     * @param {number} [n=func.length] The arity cap.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Function} Returns the new capped function.
     * @example
     *
     * _.map(['6', '8', '10'], _.ary(parseInt, 1));
     * // => [6, 8, 10]
     */
    function ary(func, n, guard) {
      n = guard ? undefined : n;
      n = (func && n == null) ? func.length : n;
      return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);
    }

    /**
     * Creates a function that invokes `func`, with the `this` binding and arguments
     * of the created function, while it's called less than `n` times. Subsequent
     * calls to the created function return the result of the last `func` invocation.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {number} n The number of calls at which `func` is no longer invoked.
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new restricted function.
     * @example
     *
     * jQuery(element).on('click', _.before(5, addContactToList));
     * // => Allows adding up to 4 contacts to the list.
     */
    function before(n, func) {
      var result;
      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      n = toInteger(n);
      return function() {
        if (--n > 0) {
          result = func.apply(this, arguments);
        }
        if (n <= 1) {
          func = undefined;
        }
        return result;
      };
    }

    /**
     * Creates a function that invokes `func` with the `this` binding of `thisArg`
     * and `partials` prepended to the arguments it receives.
     *
     * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,
     * may be used as a placeholder for partially applied arguments.
     *
     * **Note:** Unlike native `Function#bind`, this method doesn't set the "length"
     * property of bound functions.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to bind.
     * @param {*} thisArg The `this` binding of `func`.
     * @param {...*} [partials] The arguments to be partially applied.
     * @returns {Function} Returns the new bound function.
     * @example
     *
     * function greet(greeting, punctuation) {
     *   return greeting + ' ' + this.user + punctuation;
     * }
     *
     * var object = { 'user': 'fred' };
     *
     * var bound = _.bind(greet, object, 'hi');
     * bound('!');
     * // => 'hi fred!'
     *
     * // Bound with placeholders.
     * var bound = _.bind(greet, object, _, '!');
     * bound('hi');
     * // => 'hi fred!'
     */
    var bind = baseRest(function(func, thisArg, partials) {
      var bitmask = WRAP_BIND_FLAG;
      if (partials.length) {
        var holders = replaceHolders(partials, getHolder(bind));
        bitmask |= WRAP_PARTIAL_FLAG;
      }
      return createWrap(func, bitmask, thisArg, partials, holders);
    });

    /**
     * Creates a function that invokes the method at `object[key]` with `partials`
     * prepended to the arguments it receives.
     *
     * This method differs from `_.bind` by allowing bound functions to reference
     * methods that may be redefined or don't yet exist. See
     * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)
     * for more details.
     *
     * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic
     * builds, may be used as a placeholder for partially applied arguments.
     *
     * @static
     * @memberOf _
     * @since 0.10.0
     * @category Function
     * @param {Object} object The object to invoke the method on.
     * @param {string} key The key of the method.
     * @param {...*} [partials] The arguments to be partially applied.
     * @returns {Function} Returns the new bound function.
     * @example
     *
     * var object = {
     *   'user': 'fred',
     *   'greet': function(greeting, punctuation) {
     *     return greeting + ' ' + this.user + punctuation;
     *   }
     * };
     *
     * var bound = _.bindKey(object, 'greet', 'hi');
     * bound('!');
     * // => 'hi fred!'
     *
     * object.greet = function(greeting, punctuation) {
     *   return greeting + 'ya ' + this.user + punctuation;
     * };
     *
     * bound('!');
     * // => 'hiya fred!'
     *
     * // Bound with placeholders.
     * var bound = _.bindKey(object, 'greet', _, '!');
     * bound('hi');
     * // => 'hiya fred!'
     */
    var bindKey = baseRest(function(object, key, partials) {
      var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;
      if (partials.length) {
        var holders = replaceHolders(partials, getHolder(bindKey));
        bitmask |= WRAP_PARTIAL_FLAG;
      }
      return createWrap(key, bitmask, object, partials, holders);
    });

    /**
     * Creates a function that accepts arguments of `func` and either invokes
     * `func` returning its result, if at least `arity` number of arguments have
     * been provided, or returns a function that accepts the remaining `func`
     * arguments, and so on. The arity of `func` may be specified if `func.length`
     * is not sufficient.
     *
     * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,
     * may be used as a placeholder for provided arguments.
     *
     * **Note:** This method doesn't set the "length" property of curried functions.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Function
     * @param {Function} func The function to curry.
     * @param {number} [arity=func.length] The arity of `func`.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Function} Returns the new curried function.
     * @example
     *
     * var abc = function(a, b, c) {
     *   return [a, b, c];
     * };
     *
     * var curried = _.curry(abc);
     *
     * curried(1)(2)(3);
     * // => [1, 2, 3]
     *
     * curried(1, 2)(3);
     * // => [1, 2, 3]
     *
     * curried(1, 2, 3);
     * // => [1, 2, 3]
     *
     * // Curried with placeholders.
     * curried(1)(_, 3)(2);
     * // => [1, 2, 3]
     */
    function curry(func, arity, guard) {
      arity = guard ? undefined : arity;
      var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
      result.placeholder = curry.placeholder;
      return result;
    }

    /**
     * This method is like `_.curry` except that arguments are applied to `func`
     * in the manner of `_.partialRight` instead of `_.partial`.
     *
     * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic
     * builds, may be used as a placeholder for provided arguments.
     *
     * **Note:** This method doesn't set the "length" property of curried functions.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {Function} func The function to curry.
     * @param {number} [arity=func.length] The arity of `func`.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Function} Returns the new curried function.
     * @example
     *
     * var abc = function(a, b, c) {
     *   return [a, b, c];
     * };
     *
     * var curried = _.curryRight(abc);
     *
     * curried(3)(2)(1);
     * // => [1, 2, 3]
     *
     * curried(2, 3)(1);
     * // => [1, 2, 3]
     *
     * curried(1, 2, 3);
     * // => [1, 2, 3]
     *
     * // Curried with placeholders.
     * curried(3)(1, _)(2);
     * // => [1, 2, 3]
     */
    function curryRight(func, arity, guard) {
      arity = guard ? undefined : arity;
      var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
      result.placeholder = curryRight.placeholder;
      return result;
    }

    /**
     * Creates a debounced function that delays invoking `func` until after `wait`
     * milliseconds have elapsed since the last time the debounced function was
     * invoked. The debounced function comes with a `cancel` method to cancel
     * delayed `func` invocations and a `flush` method to immediately invoke them.
     * Provide `options` to indicate whether `func` should be invoked on the
     * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
     * with the last arguments provided to the debounced function. Subsequent
     * calls to the debounced function return the result of the last `func`
     * invocation.
     *
     * **Note:** If `leading` and `trailing` options are `true`, `func` is
     * invoked on the trailing edge of the timeout only if the debounced function
     * is invoked more than once during the `wait` timeout.
     *
     * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
     * until to the next tick, similar to `setTimeout` with a timeout of `0`.
     *
     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
     * for details over the differences between `_.debounce` and `_.throttle`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to debounce.
     * @param {number} [wait=0] The number of milliseconds to delay.
     * @param {Object} [options={}] The options object.
     * @param {boolean} [options.leading=false]
     *  Specify invoking on the leading edge of the timeout.
     * @param {number} [options.maxWait]
     *  The maximum time `func` is allowed to be delayed before it's invoked.
     * @param {boolean} [options.trailing=true]
     *  Specify invoking on the trailing edge of the timeout.
     * @returns {Function} Returns the new debounced function.
     * @example
     *
     * // Avoid costly calculations while the window size is in flux.
     * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
     *
     * // Invoke `sendMail` when clicked, debouncing subsequent calls.
     * jQuery(element).on('click', _.debounce(sendMail, 300, {
     *   'leading': true,
     *   'trailing': false
     * }));
     *
     * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
     * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
     * var source = new EventSource('/stream');
     * jQuery(source).on('message', debounced);
     *
     * // Cancel the trailing debounced invocation.
     * jQuery(window).on('popstate', debounced.cancel);
     */
    function debounce(func, wait, options) {
      var lastArgs,
          lastThis,
          maxWait,
          result,
          timerId,
          lastCallTime,
          lastInvokeTime = 0,
          leading = false,
          maxing = false,
          trailing = true;

      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      wait = toNumber(wait) || 0;
      if (isObject(options)) {
        leading = !!options.leading;
        maxing = 'maxWait' in options;
        maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
        trailing = 'trailing' in options ? !!options.trailing : trailing;
      }

      function invokeFunc(time) {
        var args = lastArgs,
            thisArg = lastThis;

        lastArgs = lastThis = undefined;
        lastInvokeTime = time;
        result = func.apply(thisArg, args);
        return result;
      }

      function leadingEdge(time) {
        // Reset any `maxWait` timer.
        lastInvokeTime = time;
        // Start the timer for the trailing edge.
        timerId = setTimeout(timerExpired, wait);
        // Invoke the leading edge.
        return leading ? invokeFunc(time) : result;
      }

      function remainingWait(time) {
        var timeSinceLastCall = time - lastCallTime,
            timeSinceLastInvoke = time - lastInvokeTime,
            timeWaiting = wait - timeSinceLastCall;

        return maxing
          ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
          : timeWaiting;
      }

      function shouldInvoke(time) {
        var timeSinceLastCall = time - lastCallTime,
            timeSinceLastInvoke = time - lastInvokeTime;

        // Either this is the first call, activity has stopped and we're at the
        // trailing edge, the system time has gone backwards and we're treating
        // it as the trailing edge, or we've hit the `maxWait` limit.
        return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
          (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
      }

      function timerExpired() {
        var time = now();
        if (shouldInvoke(time)) {
          return trailingEdge(time);
        }
        // Restart the timer.
        timerId = setTimeout(timerExpired, remainingWait(time));
      }

      function trailingEdge(time) {
        timerId = undefined;

        // Only invoke if we have `lastArgs` which means `func` has been
        // debounced at least once.
        if (trailing && lastArgs) {
          return invokeFunc(time);
        }
        lastArgs = lastThis = undefined;
        return result;
      }

      function cancel() {
        if (timerId !== undefined) {
          clearTimeout(timerId);
        }
        lastInvokeTime = 0;
        lastArgs = lastCallTime = lastThis = timerId = undefined;
      }

      function flush() {
        return timerId === undefined ? result : trailingEdge(now());
      }

      function debounced() {
        var time = now(),
            isInvoking = shouldInvoke(time);

        lastArgs = arguments;
        lastThis = this;
        lastCallTime = time;

        if (isInvoking) {
          if (timerId === undefined) {
            return leadingEdge(lastCallTime);
          }
          if (maxing) {
            // Handle invocations in a tight loop.
            clearTimeout(timerId);
            timerId = setTimeout(timerExpired, wait);
            return invokeFunc(lastCallTime);
          }
        }
        if (timerId === undefined) {
          timerId = setTimeout(timerExpired, wait);
        }
        return result;
      }
      debounced.cancel = cancel;
      debounced.flush = flush;
      return debounced;
    }

    /**
     * Defers invoking the `func` until the current call stack has cleared. Any
     * additional arguments are provided to `func` when it's invoked.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to defer.
     * @param {...*} [args] The arguments to invoke `func` with.
     * @returns {number} Returns the timer id.
     * @example
     *
     * _.defer(function(text) {
     *   console.log(text);
     * }, 'deferred');
     * // => Logs 'deferred' after one millisecond.
     */
    var defer = baseRest(function(func, args) {
      return baseDelay(func, 1, args);
    });

    /**
     * Invokes `func` after `wait` milliseconds. Any additional arguments are
     * provided to `func` when it's invoked.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to delay.
     * @param {number} wait The number of milliseconds to delay invocation.
     * @param {...*} [args] The arguments to invoke `func` with.
     * @returns {number} Returns the timer id.
     * @example
     *
     * _.delay(function(text) {
     *   console.log(text);
     * }, 1000, 'later');
     * // => Logs 'later' after one second.
     */
    var delay = baseRest(function(func, wait, args) {
      return baseDelay(func, toNumber(wait) || 0, args);
    });

    /**
     * Creates a function that invokes `func` with arguments reversed.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Function
     * @param {Function} func The function to flip arguments for.
     * @returns {Function} Returns the new flipped function.
     * @example
     *
     * var flipped = _.flip(function() {
     *   return _.toArray(arguments);
     * });
     *
     * flipped('a', 'b', 'c', 'd');
     * // => ['d', 'c', 'b', 'a']
     */
    function flip(func) {
      return createWrap(func, WRAP_FLIP_FLAG);
    }

    /**
     * Creates a function that memoizes the result of `func`. If `resolver` is
     * provided, it determines the cache key for storing the result based on the
     * arguments provided to the memoized function. By default, the first argument
     * provided to the memoized function is used as the map cache key. The `func`
     * is invoked with the `this` binding of the memoized function.
     *
     * **Note:** The cache is exposed as the `cache` property on the memoized
     * function. Its creation may be customized by replacing the `_.memoize.Cache`
     * constructor with one whose instances implement the
     * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
     * method interface of `clear`, `delete`, `get`, `has`, and `set`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to have its output memoized.
     * @param {Function} [resolver] The function to resolve the cache key.
     * @returns {Function} Returns the new memoized function.
     * @example
     *
     * var object = { 'a': 1, 'b': 2 };
     * var other = { 'c': 3, 'd': 4 };
     *
     * var values = _.memoize(_.values);
     * values(object);
     * // => [1, 2]
     *
     * values(other);
     * // => [3, 4]
     *
     * object.a = 2;
     * values(object);
     * // => [1, 2]
     *
     * // Modify the result cache.
     * values.cache.set(object, ['a', 'b']);
     * values(object);
     * // => ['a', 'b']
     *
     * // Replace `_.memoize.Cache`.
     * _.memoize.Cache = WeakMap;
     */
    function memoize(func, resolver) {
      if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      var memoized = function() {
        var args = arguments,
            key = resolver ? resolver.apply(this, args) : args[0],
            cache = memoized.cache;

        if (cache.has(key)) {
          return cache.get(key);
        }
        var result = func.apply(this, args);
        memoized.cache = cache.set(key, result) || cache;
        return result;
      };
      memoized.cache = new (memoize.Cache || MapCache);
      return memoized;
    }

    // Expose `MapCache`.
    memoize.Cache = MapCache;

    /**
     * Creates a function that negates the result of the predicate `func`. The
     * `func` predicate is invoked with the `this` binding and arguments of the
     * created function.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {Function} predicate The predicate to negate.
     * @returns {Function} Returns the new negated function.
     * @example
     *
     * function isEven(n) {
     *   return n % 2 == 0;
     * }
     *
     * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));
     * // => [1, 3, 5]
     */
    function negate(predicate) {
      if (typeof predicate != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      return function() {
        var args = arguments;
        switch (args.length) {
          case 0: return !predicate.call(this);
          case 1: return !predicate.call(this, args[0]);
          case 2: return !predicate.call(this, args[0], args[1]);
          case 3: return !predicate.call(this, args[0], args[1], args[2]);
        }
        return !predicate.apply(this, args);
      };
    }

    /**
     * Creates a function that is restricted to invoking `func` once. Repeat calls
     * to the function return the value of the first invocation. The `func` is
     * invoked with the `this` binding and arguments of the created function.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new restricted function.
     * @example
     *
     * var initialize = _.once(createApplication);
     * initialize();
     * initialize();
     * // => `createApplication` is invoked once
     */
    function once(func) {
      return before(2, func);
    }

    /**
     * Creates a function that invokes `func` with its arguments transformed.
     *
     * @static
     * @since 4.0.0
     * @memberOf _
     * @category Function
     * @param {Function} func The function to wrap.
     * @param {...(Function|Function[])} [transforms=[_.identity]]
     *  The argument transforms.
     * @returns {Function} Returns the new function.
     * @example
     *
     * function doubled(n) {
     *   return n * 2;
     * }
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var func = _.overArgs(function(x, y) {
     *   return [x, y];
     * }, [square, doubled]);
     *
     * func(9, 3);
     * // => [81, 6]
     *
     * func(10, 5);
     * // => [100, 10]
     */
    var overArgs = castRest(function(func, transforms) {
      transforms = (transforms.length == 1 && isArray(transforms[0]))
        ? arrayMap(transforms[0], baseUnary(getIteratee()))
        : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));

      var funcsLength = transforms.length;
      return baseRest(function(args) {
        var index = -1,
            length = nativeMin(args.length, funcsLength);

        while (++index < length) {
          args[index] = transforms[index].call(this, args[index]);
        }
        return apply(func, this, args);
      });
    });

    /**
     * Creates a function that invokes `func` with `partials` prepended to the
     * arguments it receives. This method is like `_.bind` except it does **not**
     * alter the `this` binding.
     *
     * The `_.partial.placeholder` value, which defaults to `_` in monolithic
     * builds, may be used as a placeholder for partially applied arguments.
     *
     * **Note:** This method doesn't set the "length" property of partially
     * applied functions.
     *
     * @static
     * @memberOf _
     * @since 0.2.0
     * @category Function
     * @param {Function} func The function to partially apply arguments to.
     * @param {...*} [partials] The arguments to be partially applied.
     * @returns {Function} Returns the new partially applied function.
     * @example
     *
     * function greet(greeting, name) {
     *   return greeting + ' ' + name;
     * }
     *
     * var sayHelloTo = _.partial(greet, 'hello');
     * sayHelloTo('fred');
     * // => 'hello fred'
     *
     * // Partially applied with placeholders.
     * var greetFred = _.partial(greet, _, 'fred');
     * greetFred('hi');
     * // => 'hi fred'
     */
    var partial = baseRest(function(func, partials) {
      var holders = replaceHolders(partials, getHolder(partial));
      return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);
    });

    /**
     * This method is like `_.partial` except that partially applied arguments
     * are appended to the arguments it receives.
     *
     * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic
     * builds, may be used as a placeholder for partially applied arguments.
     *
     * **Note:** This method doesn't set the "length" property of partially
     * applied functions.
     *
     * @static
     * @memberOf _
     * @since 1.0.0
     * @category Function
     * @param {Function} func The function to partially apply arguments to.
     * @param {...*} [partials] The arguments to be partially applied.
     * @returns {Function} Returns the new partially applied function.
     * @example
     *
     * function greet(greeting, name) {
     *   return greeting + ' ' + name;
     * }
     *
     * var greetFred = _.partialRight(greet, 'fred');
     * greetFred('hi');
     * // => 'hi fred'
     *
     * // Partially applied with placeholders.
     * var sayHelloTo = _.partialRight(greet, 'hello', _);
     * sayHelloTo('fred');
     * // => 'hello fred'
     */
    var partialRight = baseRest(function(func, partials) {
      var holders = replaceHolders(partials, getHolder(partialRight));
      return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);
    });

    /**
     * Creates a function that invokes `func` with arguments arranged according
     * to the specified `indexes` where the argument value at the first index is
     * provided as the first argument, the argument value at the second index is
     * provided as the second argument, and so on.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {Function} func The function to rearrange arguments for.
     * @param {...(number|number[])} indexes The arranged argument indexes.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var rearged = _.rearg(function(a, b, c) {
     *   return [a, b, c];
     * }, [2, 0, 1]);
     *
     * rearged('b', 'c', 'a')
     * // => ['a', 'b', 'c']
     */
    var rearg = flatRest(function(func, indexes) {
      return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);
    });

    /**
     * Creates a function that invokes `func` with the `this` binding of the
     * created function and arguments from `start` and beyond provided as
     * an array.
     *
     * **Note:** This method is based on the
     * [rest parameter](https://mdn.io/rest_parameters).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Function
     * @param {Function} func The function to apply a rest parameter to.
     * @param {number} [start=func.length-1] The start position of the rest parameter.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var say = _.rest(function(what, names) {
     *   return what + ' ' + _.initial(names).join(', ') +
     *     (_.size(names) > 1 ? ', & ' : '') + _.last(names);
     * });
     *
     * say('hello', 'fred', 'barney', 'pebbles');
     * // => 'hello fred, barney, & pebbles'
     */
    function rest(func, start) {
      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      start = start === undefined ? start : toInteger(start);
      return baseRest(func, start);
    }

    /**
     * Creates a function that invokes `func` with the `this` binding of the
     * create function and an array of arguments much like
     * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).
     *
     * **Note:** This method is based on the
     * [spread operator](https://mdn.io/spread_operator).
     *
     * @static
     * @memberOf _
     * @since 3.2.0
     * @category Function
     * @param {Function} func The function to spread arguments over.
     * @param {number} [start=0] The start position of the spread.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var say = _.spread(function(who, what) {
     *   return who + ' says ' + what;
     * });
     *
     * say(['fred', 'hello']);
     * // => 'fred says hello'
     *
     * var numbers = Promise.all([
     *   Promise.resolve(40),
     *   Promise.resolve(36)
     * ]);
     *
     * numbers.then(_.spread(function(x, y) {
     *   return x + y;
     * }));
     * // => a Promise of 76
     */
    function spread(func, start) {
      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      start = start == null ? 0 : nativeMax(toInteger(start), 0);
      return baseRest(function(args) {
        var array = args[start],
            otherArgs = castSlice(args, 0, start);

        if (array) {
          arrayPush(otherArgs, array);
        }
        return apply(func, this, otherArgs);
      });
    }

    /**
     * Creates a throttled function that only invokes `func` at most once per
     * every `wait` milliseconds. The throttled function comes with a `cancel`
     * method to cancel delayed `func` invocations and a `flush` method to
     * immediately invoke them. Provide `options` to indicate whether `func`
     * should be invoked on the leading and/or trailing edge of the `wait`
     * timeout. The `func` is invoked with the last arguments provided to the
     * throttled function. Subsequent calls to the throttled function return the
     * result of the last `func` invocation.
     *
     * **Note:** If `leading` and `trailing` options are `true`, `func` is
     * invoked on the trailing edge of the timeout only if the throttled function
     * is invoked more than once during the `wait` timeout.
     *
     * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
     * until to the next tick, similar to `setTimeout` with a timeout of `0`.
     *
     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
     * for details over the differences between `_.throttle` and `_.debounce`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to throttle.
     * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
     * @param {Object} [options={}] The options object.
     * @param {boolean} [options.leading=true]
     *  Specify invoking on the leading edge of the timeout.
     * @param {boolean} [options.trailing=true]
     *  Specify invoking on the trailing edge of the timeout.
     * @returns {Function} Returns the new throttled function.
     * @example
     *
     * // Avoid excessively updating the position while scrolling.
     * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
     *
     * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
     * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
     * jQuery(element).on('click', throttled);
     *
     * // Cancel the trailing throttled invocation.
     * jQuery(window).on('popstate', throttled.cancel);
     */
    function throttle(func, wait, options) {
      var leading = true,
          trailing = true;

      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      if (isObject(options)) {
        leading = 'leading' in options ? !!options.leading : leading;
        trailing = 'trailing' in options ? !!options.trailing : trailing;
      }
      return debounce(func, wait, {
        'leading': leading,
        'maxWait': wait,
        'trailing': trailing
      });
    }

    /**
     * Creates a function that accepts up to one argument, ignoring any
     * additional arguments.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Function
     * @param {Function} func The function to cap arguments for.
     * @returns {Function} Returns the new capped function.
     * @example
     *
     * _.map(['6', '8', '10'], _.unary(parseInt));
     * // => [6, 8, 10]
     */
    function unary(func) {
      return ary(func, 1);
    }

    /**
     * Creates a function that provides `value` to `wrapper` as its first
     * argument. Any additional arguments provided to the function are appended
     * to those provided to the `wrapper`. The wrapper is invoked with the `this`
     * binding of the created function.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {*} value The value to wrap.
     * @param {Function} [wrapper=identity] The wrapper function.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var p = _.wrap(_.escape, function(func, text) {
     *   return '<p>' + func(text) + '</p>';
     * });
     *
     * p('fred, barney, & pebbles');
     * // => '<p>fred, barney, &amp; pebbles</p>'
     */
    function wrap(value, wrapper) {
      return partial(castFunction(wrapper), value);
    }

    /*------------------------------------------------------------------------*/

    /**
     * Casts `value` as an array if it's not one.
     *
     * @static
     * @memberOf _
     * @since 4.4.0
     * @category Lang
     * @param {*} value The value to inspect.
     * @returns {Array} Returns the cast array.
     * @example
     *
     * _.castArray(1);
     * // => [1]
     *
     * _.castArray({ 'a': 1 });
     * // => [{ 'a': 1 }]
     *
     * _.castArray('abc');
     * // => ['abc']
     *
     * _.castArray(null);
     * // => [null]
     *
     * _.castArray(undefined);
     * // => [undefined]
     *
     * _.castArray();
     * // => []
     *
     * var array = [1, 2, 3];
     * console.log(_.castArray(array) === array);
     * // => true
     */
    function castArray() {
      if (!arguments.length) {
        return [];
      }
      var value = arguments[0];
      return isArray(value) ? value : [value];
    }

    /**
     * Creates a shallow clone of `value`.
     *
     * **Note:** This method is loosely based on the
     * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)
     * and supports cloning arrays, array buffers, booleans, date objects, maps,
     * numbers, `Object` objects, regexes, sets, strings, symbols, and typed
     * arrays. The own enumerable properties of `arguments` objects are cloned
     * as plain objects. An empty object is returned for uncloneable values such
     * as error objects, functions, DOM nodes, and WeakMaps.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to clone.
     * @returns {*} Returns the cloned value.
     * @see _.cloneDeep
     * @example
     *
     * var objects = [{ 'a': 1 }, { 'b': 2 }];
     *
     * var shallow = _.clone(objects);
     * console.log(shallow[0] === objects[0]);
     * // => true
     */
    function clone(value) {
      return baseClone(value, CLONE_SYMBOLS_FLAG);
    }

    /**
     * This method is like `_.clone` except that it accepts `customizer` which
     * is invoked to produce the cloned value. If `customizer` returns `undefined`,
     * cloning is handled by the method instead. The `customizer` is invoked with
     * up to four arguments; (value [, index|key, object, stack]).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to clone.
     * @param {Function} [customizer] The function to customize cloning.
     * @returns {*} Returns the cloned value.
     * @see _.cloneDeepWith
     * @example
     *
     * function customizer(value) {
     *   if (_.isElement(value)) {
     *     return value.cloneNode(false);
     *   }
     * }
     *
     * var el = _.cloneWith(document.body, customizer);
     *
     * console.log(el === document.body);
     * // => false
     * console.log(el.nodeName);
     * // => 'BODY'
     * console.log(el.childNodes.length);
     * // => 0
     */
    function cloneWith(value, customizer) {
      customizer = typeof customizer == 'function' ? customizer : undefined;
      return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);
    }

    /**
     * This method is like `_.clone` except that it recursively clones `value`.
     *
     * @static
     * @memberOf _
     * @since 1.0.0
     * @category Lang
     * @param {*} value The value to recursively clone.
     * @returns {*} Returns the deep cloned value.
     * @see _.clone
     * @example
     *
     * var objects = [{ 'a': 1 }, { 'b': 2 }];
     *
     * var deep = _.cloneDeep(objects);
     * console.log(deep[0] === objects[0]);
     * // => false
     */
    function cloneDeep(value) {
      return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
    }

    /**
     * This method is like `_.cloneWith` except that it recursively clones `value`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to recursively clone.
     * @param {Function} [customizer] The function to customize cloning.
     * @returns {*} Returns the deep cloned value.
     * @see _.cloneWith
     * @example
     *
     * function customizer(value) {
     *   if (_.isElement(value)) {
     *     return value.cloneNode(true);
     *   }
     * }
     *
     * var el = _.cloneDeepWith(document.body, customizer);
     *
     * console.log(el === document.body);
     * // => false
     * console.log(el.nodeName);
     * // => 'BODY'
     * console.log(el.childNodes.length);
     * // => 20
     */
    function cloneDeepWith(value, customizer) {
      customizer = typeof customizer == 'function' ? customizer : undefined;
      return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);
    }

    /**
     * Checks if `object` conforms to `source` by invoking the predicate
     * properties of `source` with the corresponding property values of `object`.
     *
     * **Note:** This method is equivalent to `_.conforms` when `source` is
     * partially applied.
     *
     * @static
     * @memberOf _
     * @since 4.14.0
     * @category Lang
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property predicates to conform to.
     * @returns {boolean} Returns `true` if `object` conforms, else `false`.
     * @example
     *
     * var object = { 'a': 1, 'b': 2 };
     *
     * _.conformsTo(object, { 'b': function(n) { return n > 1; } });
     * // => true
     *
     * _.conformsTo(object, { 'b': function(n) { return n > 2; } });
     * // => false
     */
    function conformsTo(object, source) {
      return source == null || baseConformsTo(object, source, keys(source));
    }

    /**
     * Performs a
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * comparison between two values to determine if they are equivalent.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     * @example
     *
     * var object = { 'a': 1 };
     * var other = { 'a': 1 };
     *
     * _.eq(object, object);
     * // => true
     *
     * _.eq(object, other);
     * // => false
     *
     * _.eq('a', 'a');
     * // => true
     *
     * _.eq('a', Object('a'));
     * // => false
     *
     * _.eq(NaN, NaN);
     * // => true
     */
    function eq(value, other) {
      return value === other || (value !== value && other !== other);
    }

    /**
     * Checks if `value` is greater than `other`.
     *
     * @static
     * @memberOf _
     * @since 3.9.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is greater than `other`,
     *  else `false`.
     * @see _.lt
     * @example
     *
     * _.gt(3, 1);
     * // => true
     *
     * _.gt(3, 3);
     * // => false
     *
     * _.gt(1, 3);
     * // => false
     */
    var gt = createRelationalOperation(baseGt);

    /**
     * Checks if `value` is greater than or equal to `other`.
     *
     * @static
     * @memberOf _
     * @since 3.9.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is greater than or equal to
     *  `other`, else `false`.
     * @see _.lte
     * @example
     *
     * _.gte(3, 1);
     * // => true
     *
     * _.gte(3, 3);
     * // => true
     *
     * _.gte(1, 3);
     * // => false
     */
    var gte = createRelationalOperation(function(value, other) {
      return value >= other;
    });

    /**
     * Checks if `value` is likely an `arguments` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an `arguments` object,
     *  else `false`.
     * @example
     *
     * _.isArguments(function() { return arguments; }());
     * // => true
     *
     * _.isArguments([1, 2, 3]);
     * // => false
     */
    var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
      return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
        !propertyIsEnumerable.call(value, 'callee');
    };

    /**
     * Checks if `value` is classified as an `Array` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an array, else `false`.
     * @example
     *
     * _.isArray([1, 2, 3]);
     * // => true
     *
     * _.isArray(document.body.children);
     * // => false
     *
     * _.isArray('abc');
     * // => false
     *
     * _.isArray(_.noop);
     * // => false
     */
    var isArray = Array.isArray;

    /**
     * Checks if `value` is classified as an `ArrayBuffer` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.
     * @example
     *
     * _.isArrayBuffer(new ArrayBuffer(2));
     * // => true
     *
     * _.isArrayBuffer(new Array(2));
     * // => false
     */
    var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;

    /**
     * Checks if `value` is array-like. A value is considered array-like if it's
     * not a function and has a `value.length` that's an integer greater than or
     * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
     * @example
     *
     * _.isArrayLike([1, 2, 3]);
     * // => true
     *
     * _.isArrayLike(document.body.children);
     * // => true
     *
     * _.isArrayLike('abc');
     * // => true
     *
     * _.isArrayLike(_.noop);
     * // => false
     */
    function isArrayLike(value) {
      return value != null && isLength(value.length) && !isFunction(value);
    }

    /**
     * This method is like `_.isArrayLike` except that it also checks if `value`
     * is an object.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an array-like object,
     *  else `false`.
     * @example
     *
     * _.isArrayLikeObject([1, 2, 3]);
     * // => true
     *
     * _.isArrayLikeObject(document.body.children);
     * // => true
     *
     * _.isArrayLikeObject('abc');
     * // => false
     *
     * _.isArrayLikeObject(_.noop);
     * // => false
     */
    function isArrayLikeObject(value) {
      return isObjectLike(value) && isArrayLike(value);
    }

    /**
     * Checks if `value` is classified as a boolean primitive or object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.
     * @example
     *
     * _.isBoolean(false);
     * // => true
     *
     * _.isBoolean(null);
     * // => false
     */
    function isBoolean(value) {
      return value === true || value === false ||
        (isObjectLike(value) && baseGetTag(value) == boolTag);
    }

    /**
     * Checks if `value` is a buffer.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
     * @example
     *
     * _.isBuffer(new Buffer(2));
     * // => true
     *
     * _.isBuffer(new Uint8Array(2));
     * // => false
     */
    var isBuffer = nativeIsBuffer || stubFalse;

    /**
     * Checks if `value` is classified as a `Date` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a date object, else `false`.
     * @example
     *
     * _.isDate(new Date);
     * // => true
     *
     * _.isDate('Mon April 23 2012');
     * // => false
     */
    var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;

    /**
     * Checks if `value` is likely a DOM element.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.
     * @example
     *
     * _.isElement(document.body);
     * // => true
     *
     * _.isElement('<body>');
     * // => false
     */
    function isElement(value) {
      return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);
    }

    /**
     * Checks if `value` is an empty object, collection, map, or set.
     *
     * Objects are considered empty if they have no own enumerable string keyed
     * properties.
     *
     * Array-like values such as `arguments` objects, arrays, buffers, strings, or
     * jQuery-like collections are considered empty if they have a `length` of `0`.
     * Similarly, maps and sets are considered empty if they have a `size` of `0`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is empty, else `false`.
     * @example
     *
     * _.isEmpty(null);
     * // => true
     *
     * _.isEmpty(true);
     * // => true
     *
     * _.isEmpty(1);
     * // => true
     *
     * _.isEmpty([1, 2, 3]);
     * // => false
     *
     * _.isEmpty({ 'a': 1 });
     * // => false
     */
    function isEmpty(value) {
      if (value == null) {
        return true;
      }
      if (isArrayLike(value) &&
          (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||
            isBuffer(value) || isTypedArray(value) || isArguments(value))) {
        return !value.length;
      }
      var tag = getTag(value);
      if (tag == mapTag || tag == setTag) {
        return !value.size;
      }
      if (isPrototype(value)) {
        return !baseKeys(value).length;
      }
      for (var key in value) {
        if (hasOwnProperty.call(value, key)) {
          return false;
        }
      }
      return true;
    }

    /**
     * Performs a deep comparison between two values to determine if they are
     * equivalent.
     *
     * **Note:** This method supports comparing arrays, array buffers, booleans,
     * date objects, error objects, maps, numbers, `Object` objects, regexes,
     * sets, strings, symbols, and typed arrays. `Object` objects are compared
     * by their own, not inherited, enumerable properties. Functions and DOM
     * nodes are compared by strict equality, i.e. `===`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     * @example
     *
     * var object = { 'a': 1 };
     * var other = { 'a': 1 };
     *
     * _.isEqual(object, other);
     * // => true
     *
     * object === other;
     * // => false
     */
    function isEqual(value, other) {
      return baseIsEqual(value, other);
    }

    /**
     * This method is like `_.isEqual` except that it accepts `customizer` which
     * is invoked to compare values. If `customizer` returns `undefined`, comparisons
     * are handled by the method instead. The `customizer` is invoked with up to
     * six arguments: (objValue, othValue [, index|key, object, other, stack]).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @param {Function} [customizer] The function to customize comparisons.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     * @example
     *
     * function isGreeting(value) {
     *   return /^h(?:i|ello)$/.test(value);
     * }
     *
     * function customizer(objValue, othValue) {
     *   if (isGreeting(objValue) && isGreeting(othValue)) {
     *     return true;
     *   }
     * }
     *
     * var array = ['hello', 'goodbye'];
     * var other = ['hi', 'goodbye'];
     *
     * _.isEqualWith(array, other, customizer);
     * // => true
     */
    function isEqualWith(value, other, customizer) {
      customizer = typeof customizer == 'function' ? customizer : undefined;
      var result = customizer ? customizer(value, other) : undefined;
      return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;
    }

    /**
     * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,
     * `SyntaxError`, `TypeError`, or `URIError` object.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an error object, else `false`.
     * @example
     *
     * _.isError(new Error);
     * // => true
     *
     * _.isError(Error);
     * // => false
     */
    function isError(value) {
      if (!isObjectLike(value)) {
        return false;
      }
      var tag = baseGetTag(value);
      return tag == errorTag || tag == domExcTag ||
        (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));
    }

    /**
     * Checks if `value` is a finite primitive number.
     *
     * **Note:** This method is based on
     * [`Number.isFinite`](https://mdn.io/Number/isFinite).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.
     * @example
     *
     * _.isFinite(3);
     * // => true
     *
     * _.isFinite(Number.MIN_VALUE);
     * // => true
     *
     * _.isFinite(Infinity);
     * // => false
     *
     * _.isFinite('3');
     * // => false
     */
    function isFinite(value) {
      return typeof value == 'number' && nativeIsFinite(value);
    }

    /**
     * Checks if `value` is classified as a `Function` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a function, else `false`.
     * @example
     *
     * _.isFunction(_);
     * // => true
     *
     * _.isFunction(/abc/);
     * // => false
     */
    function isFunction(value) {
      if (!isObject(value)) {
        return false;
      }
      // The use of `Object#toString` avoids issues with the `typeof` operator
      // in Safari 9 which returns 'object' for typed arrays and other constructors.
      var tag = baseGetTag(value);
      return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
    }

    /**
     * Checks if `value` is an integer.
     *
     * **Note:** This method is based on
     * [`Number.isInteger`](https://mdn.io/Number/isInteger).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an integer, else `false`.
     * @example
     *
     * _.isInteger(3);
     * // => true
     *
     * _.isInteger(Number.MIN_VALUE);
     * // => false
     *
     * _.isInteger(Infinity);
     * // => false
     *
     * _.isInteger('3');
     * // => false
     */
    function isInteger(value) {
      return typeof value == 'number' && value == toInteger(value);
    }

    /**
     * Checks if `value` is a valid array-like length.
     *
     * **Note:** This method is loosely based on
     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
     * @example
     *
     * _.isLength(3);
     * // => true
     *
     * _.isLength(Number.MIN_VALUE);
     * // => false
     *
     * _.isLength(Infinity);
     * // => false
     *
     * _.isLength('3');
     * // => false
     */
    function isLength(value) {
      return typeof value == 'number' &&
        value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
    }

    /**
     * Checks if `value` is the
     * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
     * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an object, else `false`.
     * @example
     *
     * _.isObject({});
     * // => true
     *
     * _.isObject([1, 2, 3]);
     * // => true
     *
     * _.isObject(_.noop);
     * // => true
     *
     * _.isObject(null);
     * // => false
     */
    function isObject(value) {
      var type = typeof value;
      return value != null && (type == 'object' || type == 'function');
    }

    /**
     * Checks if `value` is object-like. A value is object-like if it's not `null`
     * and has a `typeof` result of "object".
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
     * @example
     *
     * _.isObjectLike({});
     * // => true
     *
     * _.isObjectLike([1, 2, 3]);
     * // => true
     *
     * _.isObjectLike(_.noop);
     * // => false
     *
     * _.isObjectLike(null);
     * // => false
     */
    function isObjectLike(value) {
      return value != null && typeof value == 'object';
    }

    /**
     * Checks if `value` is classified as a `Map` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a map, else `false`.
     * @example
     *
     * _.isMap(new Map);
     * // => true
     *
     * _.isMap(new WeakMap);
     * // => false
     */
    var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;

    /**
     * Performs a partial deep comparison between `object` and `source` to
     * determine if `object` contains equivalent property values.
     *
     * **Note:** This method is equivalent to `_.matches` when `source` is
     * partially applied.
     *
     * Partial comparisons will match empty array and empty object `source`
     * values against any array or object value, respectively. See `_.isEqual`
     * for a list of supported value comparisons.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property values to match.
     * @returns {boolean} Returns `true` if `object` is a match, else `false`.
     * @example
     *
     * var object = { 'a': 1, 'b': 2 };
     *
     * _.isMatch(object, { 'b': 2 });
     * // => true
     *
     * _.isMatch(object, { 'b': 1 });
     * // => false
     */
    function isMatch(object, source) {
      return object === source || baseIsMatch(object, source, getMatchData(source));
    }

    /**
     * This method is like `_.isMatch` except that it accepts `customizer` which
     * is invoked to compare values. If `customizer` returns `undefined`, comparisons
     * are handled by the method instead. The `customizer` is invoked with five
     * arguments: (objValue, srcValue, index|key, object, source).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property values to match.
     * @param {Function} [customizer] The function to customize comparisons.
     * @returns {boolean} Returns `true` if `object` is a match, else `false`.
     * @example
     *
     * function isGreeting(value) {
     *   return /^h(?:i|ello)$/.test(value);
     * }
     *
     * function customizer(objValue, srcValue) {
     *   if (isGreeting(objValue) && isGreeting(srcValue)) {
     *     return true;
     *   }
     * }
     *
     * var object = { 'greeting': 'hello' };
     * var source = { 'greeting': 'hi' };
     *
     * _.isMatchWith(object, source, customizer);
     * // => true
     */
    function isMatchWith(object, source, customizer) {
      customizer = typeof customizer == 'function' ? customizer : undefined;
      return baseIsMatch(object, source, getMatchData(source), customizer);
    }

    /**
     * Checks if `value` is `NaN`.
     *
     * **Note:** This method is based on
     * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as
     * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for
     * `undefined` and other non-number values.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
     * @example
     *
     * _.isNaN(NaN);
     * // => true
     *
     * _.isNaN(new Number(NaN));
     * // => true
     *
     * isNaN(undefined);
     * // => true
     *
     * _.isNaN(undefined);
     * // => false
     */
    function isNaN(value) {
      // An `NaN` primitive is the only value that is not equal to itself.
      // Perform the `toStringTag` check first to avoid errors with some
      // ActiveX objects in IE.
      return isNumber(value) && value != +value;
    }

    /**
     * Checks if `value` is a pristine native function.
     *
     * **Note:** This method can't reliably detect native functions in the presence
     * of the core-js package because core-js circumvents this kind of detection.
     * Despite multiple requests, the core-js maintainer has made it clear: any
     * attempt to fix the detection will be obstructed. As a result, we're left
     * with little choice but to throw an error. Unfortunately, this also affects
     * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),
     * which rely on core-js.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a native function,
     *  else `false`.
     * @example
     *
     * _.isNative(Array.prototype.push);
     * // => true
     *
     * _.isNative(_);
     * // => false
     */
    function isNative(value) {
      if (isMaskable(value)) {
        throw new Error(CORE_ERROR_TEXT);
      }
      return baseIsNative(value);
    }

    /**
     * Checks if `value` is `null`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is `null`, else `false`.
     * @example
     *
     * _.isNull(null);
     * // => true
     *
     * _.isNull(void 0);
     * // => false
     */
    function isNull(value) {
      return value === null;
    }

    /**
     * Checks if `value` is `null` or `undefined`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
     * @example
     *
     * _.isNil(null);
     * // => true
     *
     * _.isNil(void 0);
     * // => true
     *
     * _.isNil(NaN);
     * // => false
     */
    function isNil(value) {
      return value == null;
    }

    /**
     * Checks if `value` is classified as a `Number` primitive or object.
     *
     * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are
     * classified as numbers, use the `_.isFinite` method.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a number, else `false`.
     * @example
     *
     * _.isNumber(3);
     * // => true
     *
     * _.isNumber(Number.MIN_VALUE);
     * // => true
     *
     * _.isNumber(Infinity);
     * // => true
     *
     * _.isNumber('3');
     * // => false
     */
    function isNumber(value) {
      return typeof value == 'number' ||
        (isObjectLike(value) && baseGetTag(value) == numberTag);
    }

    /**
     * Checks if `value` is a plain object, that is, an object created by the
     * `Object` constructor or one with a `[[Prototype]]` of `null`.
     *
     * @static
     * @memberOf _
     * @since 0.8.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     * }
     *
     * _.isPlainObject(new Foo);
     * // => false
     *
     * _.isPlainObject([1, 2, 3]);
     * // => false
     *
     * _.isPlainObject({ 'x': 0, 'y': 0 });
     * // => true
     *
     * _.isPlainObject(Object.create(null));
     * // => true
     */
    function isPlainObject(value) {
      if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
        return false;
      }
      var proto = getPrototype(value);
      if (proto === null) {
        return true;
      }
      var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
      return typeof Ctor == 'function' && Ctor instanceof Ctor &&
        funcToString.call(Ctor) == objectCtorString;
    }

    /**
     * Checks if `value` is classified as a `RegExp` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
     * @example
     *
     * _.isRegExp(/abc/);
     * // => true
     *
     * _.isRegExp('/abc/');
     * // => false
     */
    var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;

    /**
     * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754
     * double precision number which isn't the result of a rounded unsafe integer.
     *
     * **Note:** This method is based on
     * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.
     * @example
     *
     * _.isSafeInteger(3);
     * // => true
     *
     * _.isSafeInteger(Number.MIN_VALUE);
     * // => false
     *
     * _.isSafeInteger(Infinity);
     * // => false
     *
     * _.isSafeInteger('3');
     * // => false
     */
    function isSafeInteger(value) {
      return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;
    }

    /**
     * Checks if `value` is classified as a `Set` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a set, else `false`.
     * @example
     *
     * _.isSet(new Set);
     * // => true
     *
     * _.isSet(new WeakSet);
     * // => false
     */
    var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;

    /**
     * Checks if `value` is classified as a `String` primitive or object.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a string, else `false`.
     * @example
     *
     * _.isString('abc');
     * // => true
     *
     * _.isString(1);
     * // => false
     */
    function isString(value) {
      return typeof value == 'string' ||
        (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
    }

    /**
     * Checks if `value` is classified as a `Symbol` primitive or object.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
     * @example
     *
     * _.isSymbol(Symbol.iterator);
     * // => true
     *
     * _.isSymbol('abc');
     * // => false
     */
    function isSymbol(value) {
      return typeof value == 'symbol' ||
        (isObjectLike(value) && baseGetTag(value) == symbolTag);
    }

    /**
     * Checks if `value` is classified as a typed array.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
     * @example
     *
     * _.isTypedArray(new Uint8Array);
     * // => true
     *
     * _.isTypedArray([]);
     * // => false
     */
    var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;

    /**
     * Checks if `value` is `undefined`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
     * @example
     *
     * _.isUndefined(void 0);
     * // => true
     *
     * _.isUndefined(null);
     * // => false
     */
    function isUndefined(value) {
      return value === undefined;
    }

    /**
     * Checks if `value` is classified as a `WeakMap` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.
     * @example
     *
     * _.isWeakMap(new WeakMap);
     * // => true
     *
     * _.isWeakMap(new Map);
     * // => false
     */
    function isWeakMap(value) {
      return isObjectLike(value) && getTag(value) == weakMapTag;
    }

    /**
     * Checks if `value` is classified as a `WeakSet` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.
     * @example
     *
     * _.isWeakSet(new WeakSet);
     * // => true
     *
     * _.isWeakSet(new Set);
     * // => false
     */
    function isWeakSet(value) {
      return isObjectLike(value) && baseGetTag(value) == weakSetTag;
    }

    /**
     * Checks if `value` is less than `other`.
     *
     * @static
     * @memberOf _
     * @since 3.9.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is less than `other`,
     *  else `false`.
     * @see _.gt
     * @example
     *
     * _.lt(1, 3);
     * // => true
     *
     * _.lt(3, 3);
     * // => false
     *
     * _.lt(3, 1);
     * // => false
     */
    var lt = createRelationalOperation(baseLt);

    /**
     * Checks if `value` is less than or equal to `other`.
     *
     * @static
     * @memberOf _
     * @since 3.9.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is less than or equal to
     *  `other`, else `false`.
     * @see _.gte
     * @example
     *
     * _.lte(1, 3);
     * // => true
     *
     * _.lte(3, 3);
     * // => true
     *
     * _.lte(3, 1);
     * // => false
     */
    var lte = createRelationalOperation(function(value, other) {
      return value <= other;
    });

    /**
     * Converts `value` to an array.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {Array} Returns the converted array.
     * @example
     *
     * _.toArray({ 'a': 1, 'b': 2 });
     * // => [1, 2]
     *
     * _.toArray('abc');
     * // => ['a', 'b', 'c']
     *
     * _.toArray(1);
     * // => []
     *
     * _.toArray(null);
     * // => []
     */
    function toArray(value) {
      if (!value) {
        return [];
      }
      if (isArrayLike(value)) {
        return isString(value) ? stringToArray(value) : copyArray(value);
      }
      if (symIterator && value[symIterator]) {
        return iteratorToArray(value[symIterator]());
      }
      var tag = getTag(value),
          func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);

      return func(value);
    }

    /**
     * Converts `value` to a finite number.
     *
     * @static
     * @memberOf _
     * @since 4.12.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {number} Returns the converted number.
     * @example
     *
     * _.toFinite(3.2);
     * // => 3.2
     *
     * _.toFinite(Number.MIN_VALUE);
     * // => 5e-324
     *
     * _.toFinite(Infinity);
     * // => 1.7976931348623157e+308
     *
     * _.toFinite('3.2');
     * // => 3.2
     */
    function toFinite(value) {
      if (!value) {
        return value === 0 ? value : 0;
      }
      value = toNumber(value);
      if (value === INFINITY || value === -INFINITY) {
        var sign = (value < 0 ? -1 : 1);
        return sign * MAX_INTEGER;
      }
      return value === value ? value : 0;
    }

    /**
     * Converts `value` to an integer.
     *
     * **Note:** This method is loosely based on
     * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {number} Returns the converted integer.
     * @example
     *
     * _.toInteger(3.2);
     * // => 3
     *
     * _.toInteger(Number.MIN_VALUE);
     * // => 0
     *
     * _.toInteger(Infinity);
     * // => 1.7976931348623157e+308
     *
     * _.toInteger('3.2');
     * // => 3
     */
    function toInteger(value) {
      var result = toFinite(value),
          remainder = result % 1;

      return result === result ? (remainder ? result - remainder : result) : 0;
    }

    /**
     * Converts `value` to an integer suitable for use as the length of an
     * array-like object.
     *
     * **Note:** This method is based on
     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {number} Returns the converted integer.
     * @example
     *
     * _.toLength(3.2);
     * // => 3
     *
     * _.toLength(Number.MIN_VALUE);
     * // => 0
     *
     * _.toLength(Infinity);
     * // => 4294967295
     *
     * _.toLength('3.2');
     * // => 3
     */
    function toLength(value) {
      return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;
    }

    /**
     * Converts `value` to a number.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to process.
     * @returns {number} Returns the number.
     * @example
     *
     * _.toNumber(3.2);
     * // => 3.2
     *
     * _.toNumber(Number.MIN_VALUE);
     * // => 5e-324
     *
     * _.toNumber(Infinity);
     * // => Infinity
     *
     * _.toNumber('3.2');
     * // => 3.2
     */
    function toNumber(value) {
      if (typeof value == 'number') {
        return value;
      }
      if (isSymbol(value)) {
        return NAN;
      }
      if (isObject(value)) {
        var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
        value = isObject(other) ? (other + '') : other;
      }
      if (typeof value != 'string') {
        return value === 0 ? value : +value;
      }
      value = baseTrim(value);
      var isBinary = reIsBinary.test(value);
      return (isBinary || reIsOctal.test(value))
        ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
        : (reIsBadHex.test(value) ? NAN : +value);
    }

    /**
     * Converts `value` to a plain object flattening inherited enumerable string
     * keyed properties of `value` to own properties of the plain object.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {Object} Returns the converted plain object.
     * @example
     *
     * function Foo() {
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.assign({ 'a': 1 }, new Foo);
     * // => { 'a': 1, 'b': 2 }
     *
     * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
     * // => { 'a': 1, 'b': 2, 'c': 3 }
     */
    function toPlainObject(value) {
      return copyObject(value, keysIn(value));
    }

    /**
     * Converts `value` to a safe integer. A safe integer can be compared and
     * represented correctly.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {number} Returns the converted integer.
     * @example
     *
     * _.toSafeInteger(3.2);
     * // => 3
     *
     * _.toSafeInteger(Number.MIN_VALUE);
     * // => 0
     *
     * _.toSafeInteger(Infinity);
     * // => 9007199254740991
     *
     * _.toSafeInteger('3.2');
     * // => 3
     */
    function toSafeInteger(value) {
      return value
        ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)
        : (value === 0 ? value : 0);
    }

    /**
     * Converts `value` to a string. An empty string is returned for `null`
     * and `undefined` values. The sign of `-0` is preserved.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {string} Returns the converted string.
     * @example
     *
     * _.toString(null);
     * // => ''
     *
     * _.toString(-0);
     * // => '-0'
     *
     * _.toString([1, 2, 3]);
     * // => '1,2,3'
     */
    function toString(value) {
      return value == null ? '' : baseToString(value);
    }

    /*------------------------------------------------------------------------*/

    /**
     * Assigns own enumerable string keyed properties of source objects to the
     * destination object. Source objects are applied from left to right.
     * Subsequent sources overwrite property assignments of previous sources.
     *
     * **Note:** This method mutates `object` and is loosely based on
     * [`Object.assign`](https://mdn.io/Object/assign).
     *
     * @static
     * @memberOf _
     * @since 0.10.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @see _.assignIn
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     * }
     *
     * function Bar() {
     *   this.c = 3;
     * }
     *
     * Foo.prototype.b = 2;
     * Bar.prototype.d = 4;
     *
     * _.assign({ 'a': 0 }, new Foo, new Bar);
     * // => { 'a': 1, 'c': 3 }
     */
    var assign = createAssigner(function(object, source) {
      if (isPrototype(source) || isArrayLike(source)) {
        copyObject(source, keys(source), object);
        return;
      }
      for (var key in source) {
        if (hasOwnProperty.call(source, key)) {
          assignValue(object, key, source[key]);
        }
      }
    });

    /**
     * This method is like `_.assign` except that it iterates over own and
     * inherited source properties.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @alias extend
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @see _.assign
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     * }
     *
     * function Bar() {
     *   this.c = 3;
     * }
     *
     * Foo.prototype.b = 2;
     * Bar.prototype.d = 4;
     *
     * _.assignIn({ 'a': 0 }, new Foo, new Bar);
     * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }
     */
    var assignIn = createAssigner(function(object, source) {
      copyObject(source, keysIn(source), object);
    });

    /**
     * This method is like `_.assignIn` except that it accepts `customizer`
     * which is invoked to produce the assigned values. If `customizer` returns
     * `undefined`, assignment is handled by the method instead. The `customizer`
     * is invoked with five arguments: (objValue, srcValue, key, object, source).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @alias extendWith
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} sources The source objects.
     * @param {Function} [customizer] The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @see _.assignWith
     * @example
     *
     * function customizer(objValue, srcValue) {
     *   return _.isUndefined(objValue) ? srcValue : objValue;
     * }
     *
     * var defaults = _.partialRight(_.assignInWith, customizer);
     *
     * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
     * // => { 'a': 1, 'b': 2 }
     */
    var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {
      copyObject(source, keysIn(source), object, customizer);
    });

    /**
     * This method is like `_.assign` except that it accepts `customizer`
     * which is invoked to produce the assigned values. If `customizer` returns
     * `undefined`, assignment is handled by the method instead. The `customizer`
     * is invoked with five arguments: (objValue, srcValue, key, object, source).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} sources The source objects.
     * @param {Function} [customizer] The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @see _.assignInWith
     * @example
     *
     * function customizer(objValue, srcValue) {
     *   return _.isUndefined(objValue) ? srcValue : objValue;
     * }
     *
     * var defaults = _.partialRight(_.assignWith, customizer);
     *
     * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
     * // => { 'a': 1, 'b': 2 }
     */
    var assignWith = createAssigner(function(object, source, srcIndex, customizer) {
      copyObject(source, keys(source), object, customizer);
    });

    /**
     * Creates an array of values corresponding to `paths` of `object`.
     *
     * @static
     * @memberOf _
     * @since 1.0.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {...(string|string[])} [paths] The property paths to pick.
     * @returns {Array} Returns the picked values.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
     *
     * _.at(object, ['a[0].b.c', 'a[1]']);
     * // => [3, 4]
     */
    var at = flatRest(baseAt);

    /**
     * Creates an object that inherits from the `prototype` object. If a
     * `properties` object is given, its own enumerable string keyed properties
     * are assigned to the created object.
     *
     * @static
     * @memberOf _
     * @since 2.3.0
     * @category Object
     * @param {Object} prototype The object to inherit from.
     * @param {Object} [properties] The properties to assign to the object.
     * @returns {Object} Returns the new object.
     * @example
     *
     * function Shape() {
     *   this.x = 0;
     *   this.y = 0;
     * }
     *
     * function Circle() {
     *   Shape.call(this);
     * }
     *
     * Circle.prototype = _.create(Shape.prototype, {
     *   'constructor': Circle
     * });
     *
     * var circle = new Circle;
     * circle instanceof Circle;
     * // => true
     *
     * circle instanceof Shape;
     * // => true
     */
    function create(prototype, properties) {
      var result = baseCreate(prototype);
      return properties == null ? result : baseAssign(result, properties);
    }

    /**
     * Assigns own and inherited enumerable string keyed properties of source
     * objects to the destination object for all destination properties that
     * resolve to `undefined`. Source objects are applied from left to right.
     * Once a property is set, additional values of the same property are ignored.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @see _.defaultsDeep
     * @example
     *
     * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
     * // => { 'a': 1, 'b': 2 }
     */
    var defaults = baseRest(function(object, sources) {
      object = Object(object);

      var index = -1;
      var length = sources.length;
      var guard = length > 2 ? sources[2] : undefined;

      if (guard && isIterateeCall(sources[0], sources[1], guard)) {
        length = 1;
      }

      while (++index < length) {
        var source = sources[index];
        var props = keysIn(source);
        var propsIndex = -1;
        var propsLength = props.length;

        while (++propsIndex < propsLength) {
          var key = props[propsIndex];
          var value = object[key];

          if (value === undefined ||
              (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {
            object[key] = source[key];
          }
        }
      }

      return object;
    });

    /**
     * This method is like `_.defaults` except that it recursively assigns
     * default properties.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 3.10.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @see _.defaults
     * @example
     *
     * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });
     * // => { 'a': { 'b': 2, 'c': 3 } }
     */
    var defaultsDeep = baseRest(function(args) {
      args.push(undefined, customDefaultsMerge);
      return apply(mergeWith, undefined, args);
    });

    /**
     * This method is like `_.find` except that it returns the key of the first
     * element `predicate` returns truthy for instead of the element itself.
     *
     * @static
     * @memberOf _
     * @since 1.1.0
     * @category Object
     * @param {Object} object The object to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {string|undefined} Returns the key of the matched element,
     *  else `undefined`.
     * @example
     *
     * var users = {
     *   'barney':  { 'age': 36, 'active': true },
     *   'fred':    { 'age': 40, 'active': false },
     *   'pebbles': { 'age': 1,  'active': true }
     * };
     *
     * _.findKey(users, function(o) { return o.age < 40; });
     * // => 'barney' (iteration order is not guaranteed)
     *
     * // The `_.matches` iteratee shorthand.
     * _.findKey(users, { 'age': 1, 'active': true });
     * // => 'pebbles'
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.findKey(users, ['active', false]);
     * // => 'fred'
     *
     * // The `_.property` iteratee shorthand.
     * _.findKey(users, 'active');
     * // => 'barney'
     */
    function findKey(object, predicate) {
      return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);
    }

    /**
     * This method is like `_.findKey` except that it iterates over elements of
     * a collection in the opposite order.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Object
     * @param {Object} object The object to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {string|undefined} Returns the key of the matched element,
     *  else `undefined`.
     * @example
     *
     * var users = {
     *   'barney':  { 'age': 36, 'active': true },
     *   'fred':    { 'age': 40, 'active': false },
     *   'pebbles': { 'age': 1,  'active': true }
     * };
     *
     * _.findLastKey(users, function(o) { return o.age < 40; });
     * // => returns 'pebbles' assuming `_.findKey` returns 'barney'
     *
     * // The `_.matches` iteratee shorthand.
     * _.findLastKey(users, { 'age': 36, 'active': true });
     * // => 'barney'
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.findLastKey(users, ['active', false]);
     * // => 'fred'
     *
     * // The `_.property` iteratee shorthand.
     * _.findLastKey(users, 'active');
     * // => 'pebbles'
     */
    function findLastKey(object, predicate) {
      return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);
    }

    /**
     * Iterates over own and inherited enumerable string keyed properties of an
     * object and invokes `iteratee` for each property. The iteratee is invoked
     * with three arguments: (value, key, object). Iteratee functions may exit
     * iteration early by explicitly returning `false`.
     *
     * @static
     * @memberOf _
     * @since 0.3.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns `object`.
     * @see _.forInRight
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.forIn(new Foo, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).
     */
    function forIn(object, iteratee) {
      return object == null
        ? object
        : baseFor(object, getIteratee(iteratee, 3), keysIn);
    }

    /**
     * This method is like `_.forIn` except that it iterates over properties of
     * `object` in the opposite order.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns `object`.
     * @see _.forIn
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.forInRight(new Foo, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.
     */
    function forInRight(object, iteratee) {
      return object == null
        ? object
        : baseForRight(object, getIteratee(iteratee, 3), keysIn);
    }

    /**
     * Iterates over own enumerable string keyed properties of an object and
     * invokes `iteratee` for each property. The iteratee is invoked with three
     * arguments: (value, key, object). Iteratee functions may exit iteration
     * early by explicitly returning `false`.
     *
     * @static
     * @memberOf _
     * @since 0.3.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns `object`.
     * @see _.forOwnRight
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.forOwn(new Foo, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'a' then 'b' (iteration order is not guaranteed).
     */
    function forOwn(object, iteratee) {
      return object && baseForOwn(object, getIteratee(iteratee, 3));
    }

    /**
     * This method is like `_.forOwn` except that it iterates over properties of
     * `object` in the opposite order.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns `object`.
     * @see _.forOwn
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.forOwnRight(new Foo, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.
     */
    function forOwnRight(object, iteratee) {
      return object && baseForOwnRight(object, getIteratee(iteratee, 3));
    }

    /**
     * Creates an array of function property names from own enumerable properties
     * of `object`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to inspect.
     * @returns {Array} Returns the function names.
     * @see _.functionsIn
     * @example
     *
     * function Foo() {
     *   this.a = _.constant('a');
     *   this.b = _.constant('b');
     * }
     *
     * Foo.prototype.c = _.constant('c');
     *
     * _.functions(new Foo);
     * // => ['a', 'b']
     */
    function functions(object) {
      return object == null ? [] : baseFunctions(object, keys(object));
    }

    /**
     * Creates an array of function property names from own and inherited
     * enumerable properties of `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to inspect.
     * @returns {Array} Returns the function names.
     * @see _.functions
     * @example
     *
     * function Foo() {
     *   this.a = _.constant('a');
     *   this.b = _.constant('b');
     * }
     *
     * Foo.prototype.c = _.constant('c');
     *
     * _.functionsIn(new Foo);
     * // => ['a', 'b', 'c']
     */
    function functionsIn(object) {
      return object == null ? [] : baseFunctions(object, keysIn(object));
    }

    /**
     * Gets the value at `path` of `object`. If the resolved value is
     * `undefined`, the `defaultValue` is returned in its place.
     *
     * @static
     * @memberOf _
     * @since 3.7.0
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the property to get.
     * @param {*} [defaultValue] The value returned for `undefined` resolved values.
     * @returns {*} Returns the resolved value.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }] };
     *
     * _.get(object, 'a[0].b.c');
     * // => 3
     *
     * _.get(object, ['a', '0', 'b', 'c']);
     * // => 3
     *
     * _.get(object, 'a.b.c', 'default');
     * // => 'default'
     */
    function get(object, path, defaultValue) {
      var result = object == null ? undefined : baseGet(object, path);
      return result === undefined ? defaultValue : result;
    }

    /**
     * Checks if `path` is a direct property of `object`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path to check.
     * @returns {boolean} Returns `true` if `path` exists, else `false`.
     * @example
     *
     * var object = { 'a': { 'b': 2 } };
     * var other = _.create({ 'a': _.create({ 'b': 2 }) });
     *
     * _.has(object, 'a');
     * // => true
     *
     * _.has(object, 'a.b');
     * // => true
     *
     * _.has(object, ['a', 'b']);
     * // => true
     *
     * _.has(other, 'a');
     * // => false
     */
    function has(object, path) {
      return object != null && hasPath(object, path, baseHas);
    }

    /**
     * Checks if `path` is a direct or inherited property of `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path to check.
     * @returns {boolean} Returns `true` if `path` exists, else `false`.
     * @example
     *
     * var object = _.create({ 'a': _.create({ 'b': 2 }) });
     *
     * _.hasIn(object, 'a');
     * // => true
     *
     * _.hasIn(object, 'a.b');
     * // => true
     *
     * _.hasIn(object, ['a', 'b']);
     * // => true
     *
     * _.hasIn(object, 'b');
     * // => false
     */
    function hasIn(object, path) {
      return object != null && hasPath(object, path, baseHasIn);
    }

    /**
     * Creates an object composed of the inverted keys and values of `object`.
     * If `object` contains duplicate values, subsequent values overwrite
     * property assignments of previous values.
     *
     * @static
     * @memberOf _
     * @since 0.7.0
     * @category Object
     * @param {Object} object The object to invert.
     * @returns {Object} Returns the new inverted object.
     * @example
     *
     * var object = { 'a': 1, 'b': 2, 'c': 1 };
     *
     * _.invert(object);
     * // => { '1': 'c', '2': 'b' }
     */
    var invert = createInverter(function(result, value, key) {
      if (value != null &&
          typeof value.toString != 'function') {
        value = nativeObjectToString.call(value);
      }

      result[value] = key;
    }, constant(identity));

    /**
     * This method is like `_.invert` except that the inverted object is generated
     * from the results of running each element of `object` thru `iteratee`. The
     * corresponding inverted value of each inverted key is an array of keys
     * responsible for generating the inverted value. The iteratee is invoked
     * with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.1.0
     * @category Object
     * @param {Object} object The object to invert.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Object} Returns the new inverted object.
     * @example
     *
     * var object = { 'a': 1, 'b': 2, 'c': 1 };
     *
     * _.invertBy(object);
     * // => { '1': ['a', 'c'], '2': ['b'] }
     *
     * _.invertBy(object, function(value) {
     *   return 'group' + value;
     * });
     * // => { 'group1': ['a', 'c'], 'group2': ['b'] }
     */
    var invertBy = createInverter(function(result, value, key) {
      if (value != null &&
          typeof value.toString != 'function') {
        value = nativeObjectToString.call(value);
      }

      if (hasOwnProperty.call(result, value)) {
        result[value].push(key);
      } else {
        result[value] = [key];
      }
    }, getIteratee);

    /**
     * Invokes the method at `path` of `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the method to invoke.
     * @param {...*} [args] The arguments to invoke the method with.
     * @returns {*} Returns the result of the invoked method.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };
     *
     * _.invoke(object, 'a[0].b.c.slice', 1, 3);
     * // => [2, 3]
     */
    var invoke = baseRest(baseInvoke);

    /**
     * Creates an array of the own enumerable property names of `object`.
     *
     * **Note:** Non-object values are coerced to objects. See the
     * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
     * for more details.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.keys(new Foo);
     * // => ['a', 'b'] (iteration order is not guaranteed)
     *
     * _.keys('hi');
     * // => ['0', '1']
     */
    function keys(object) {
      return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
    }

    /**
     * Creates an array of the own and inherited enumerable property names of `object`.
     *
     * **Note:** Non-object values are coerced to objects.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.keysIn(new Foo);
     * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
     */
    function keysIn(object) {
      return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
    }

    /**
     * The opposite of `_.mapValues`; this method creates an object with the
     * same values as `object` and keys generated by running each own enumerable
     * string keyed property of `object` thru `iteratee`. The iteratee is invoked
     * with three arguments: (value, key, object).
     *
     * @static
     * @memberOf _
     * @since 3.8.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns the new mapped object.
     * @see _.mapValues
     * @example
     *
     * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {
     *   return key + value;
     * });
     * // => { 'a1': 1, 'b2': 2 }
     */
    function mapKeys(object, iteratee) {
      var result = {};
      iteratee = getIteratee(iteratee, 3);

      baseForOwn(object, function(value, key, object) {
        baseAssignValue(result, iteratee(value, key, object), value);
      });
      return result;
    }

    /**
     * Creates an object with the same keys as `object` and values generated
     * by running each own enumerable string keyed property of `object` thru
     * `iteratee`. The iteratee is invoked with three arguments:
     * (value, key, object).
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns the new mapped object.
     * @see _.mapKeys
     * @example
     *
     * var users = {
     *   'fred':    { 'user': 'fred',    'age': 40 },
     *   'pebbles': { 'user': 'pebbles', 'age': 1 }
     * };
     *
     * _.mapValues(users, function(o) { return o.age; });
     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
     *
     * // The `_.property` iteratee shorthand.
     * _.mapValues(users, 'age');
     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
     */
    function mapValues(object, iteratee) {
      var result = {};
      iteratee = getIteratee(iteratee, 3);

      baseForOwn(object, function(value, key, object) {
        baseAssignValue(result, key, iteratee(value, key, object));
      });
      return result;
    }

    /**
     * This method is like `_.assign` except that it recursively merges own and
     * inherited enumerable string keyed properties of source objects into the
     * destination object. Source properties that resolve to `undefined` are
     * skipped if a destination value exists. Array and plain object properties
     * are merged recursively. Other objects and value types are overridden by
     * assignment. Source objects are applied from left to right. Subsequent
     * sources overwrite property assignments of previous sources.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 0.5.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = {
     *   'a': [{ 'b': 2 }, { 'd': 4 }]
     * };
     *
     * var other = {
     *   'a': [{ 'c': 3 }, { 'e': 5 }]
     * };
     *
     * _.merge(object, other);
     * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
     */
    var merge = createAssigner(function(object, source, srcIndex) {
      baseMerge(object, source, srcIndex);
    });

    /**
     * This method is like `_.merge` except that it accepts `customizer` which
     * is invoked to produce the merged values of the destination and source
     * properties. If `customizer` returns `undefined`, merging is handled by the
     * method instead. The `customizer` is invoked with six arguments:
     * (objValue, srcValue, key, object, source, stack).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} sources The source objects.
     * @param {Function} customizer The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @example
     *
     * function customizer(objValue, srcValue) {
     *   if (_.isArray(objValue)) {
     *     return objValue.concat(srcValue);
     *   }
     * }
     *
     * var object = { 'a': [1], 'b': [2] };
     * var other = { 'a': [3], 'b': [4] };
     *
     * _.mergeWith(object, other, customizer);
     * // => { 'a': [1, 3], 'b': [2, 4] }
     */
    var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {
      baseMerge(object, source, srcIndex, customizer);
    });

    /**
     * The opposite of `_.pick`; this method creates an object composed of the
     * own and inherited enumerable property paths of `object` that are not omitted.
     *
     * **Note:** This method is considerably slower than `_.pick`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The source object.
     * @param {...(string|string[])} [paths] The property paths to omit.
     * @returns {Object} Returns the new object.
     * @example
     *
     * var object = { 'a': 1, 'b': '2', 'c': 3 };
     *
     * _.omit(object, ['a', 'c']);
     * // => { 'b': '2' }
     */
    var omit = flatRest(function(object, paths) {
      var result = {};
      if (object == null) {
        return result;
      }
      var isDeep = false;
      paths = arrayMap(paths, function(path) {
        path = castPath(path, object);
        isDeep || (isDeep = path.length > 1);
        return path;
      });
      copyObject(object, getAllKeysIn(object), result);
      if (isDeep) {
        result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
      }
      var length = paths.length;
      while (length--) {
        baseUnset(result, paths[length]);
      }
      return result;
    });

    /**
     * The opposite of `_.pickBy`; this method creates an object composed of
     * the own and inherited enumerable string keyed properties of `object` that
     * `predicate` doesn't return truthy for. The predicate is invoked with two
     * arguments: (value, key).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The source object.
     * @param {Function} [predicate=_.identity] The function invoked per property.
     * @returns {Object} Returns the new object.
     * @example
     *
     * var object = { 'a': 1, 'b': '2', 'c': 3 };
     *
     * _.omitBy(object, _.isNumber);
     * // => { 'b': '2' }
     */
    function omitBy(object, predicate) {
      return pickBy(object, negate(getIteratee(predicate)));
    }

    /**
     * Creates an object composed of the picked `object` properties.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The source object.
     * @param {...(string|string[])} [paths] The property paths to pick.
     * @returns {Object} Returns the new object.
     * @example
     *
     * var object = { 'a': 1, 'b': '2', 'c': 3 };
     *
     * _.pick(object, ['a', 'c']);
     * // => { 'a': 1, 'c': 3 }
     */
    var pick = flatRest(function(object, paths) {
      return object == null ? {} : basePick(object, paths);
    });

    /**
     * Creates an object composed of the `object` properties `predicate` returns
     * truthy for. The predicate is invoked with two arguments: (value, key).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The source object.
     * @param {Function} [predicate=_.identity] The function invoked per property.
     * @returns {Object} Returns the new object.
     * @example
     *
     * var object = { 'a': 1, 'b': '2', 'c': 3 };
     *
     * _.pickBy(object, _.isNumber);
     * // => { 'a': 1, 'c': 3 }
     */
    function pickBy(object, predicate) {
      if (object == null) {
        return {};
      }
      var props = arrayMap(getAllKeysIn(object), function(prop) {
        return [prop];
      });
      predicate = getIteratee(predicate);
      return basePickBy(object, props, function(value, path) {
        return predicate(value, path[0]);
      });
    }

    /**
     * This method is like `_.get` except that if the resolved value is a
     * function it's invoked with the `this` binding of its parent object and
     * its result is returned.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the property to resolve.
     * @param {*} [defaultValue] The value returned for `undefined` resolved values.
     * @returns {*} Returns the resolved value.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };
     *
     * _.result(object, 'a[0].b.c1');
     * // => 3
     *
     * _.result(object, 'a[0].b.c2');
     * // => 4
     *
     * _.result(object, 'a[0].b.c3', 'default');
     * // => 'default'
     *
     * _.result(object, 'a[0].b.c3', _.constant('default'));
     * // => 'default'
     */
    function result(object, path, defaultValue) {
      path = castPath(path, object);

      var index = -1,
          length = path.length;

      // Ensure the loop is entered when path is empty.
      if (!length) {
        length = 1;
        object = undefined;
      }
      while (++index < length) {
        var value = object == null ? undefined : object[toKey(path[index])];
        if (value === undefined) {
          index = length;
          value = defaultValue;
        }
        object = isFunction(value) ? value.call(object) : value;
      }
      return object;
    }

    /**
     * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
     * it's created. Arrays are created for missing index properties while objects
     * are created for all other missing properties. Use `_.setWith` to customize
     * `path` creation.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 3.7.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }] };
     *
     * _.set(object, 'a[0].b.c', 4);
     * console.log(object.a[0].b.c);
     * // => 4
     *
     * _.set(object, ['x', '0', 'y', 'z'], 5);
     * console.log(object.x[0].y.z);
     * // => 5
     */
    function set(object, path, value) {
      return object == null ? object : baseSet(object, path, value);
    }

    /**
     * This method is like `_.set` except that it accepts `customizer` which is
     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`
     * path creation is handled by the method instead. The `customizer` is invoked
     * with three arguments: (nsValue, key, nsObject).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {*} value The value to set.
     * @param {Function} [customizer] The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = {};
     *
     * _.setWith(object, '[0][1]', 'a', Object);
     * // => { '0': { '1': 'a' } }
     */
    function setWith(object, path, value, customizer) {
      customizer = typeof customizer == 'function' ? customizer : undefined;
      return object == null ? object : baseSet(object, path, value, customizer);
    }

    /**
     * Creates an array of own enumerable string keyed-value pairs for `object`
     * which can be consumed by `_.fromPairs`. If `object` is a map or set, its
     * entries are returned.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @alias entries
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the key-value pairs.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.toPairs(new Foo);
     * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)
     */
    var toPairs = createToPairs(keys);

    /**
     * Creates an array of own and inherited enumerable string keyed-value pairs
     * for `object` which can be consumed by `_.fromPairs`. If `object` is a map
     * or set, its entries are returned.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @alias entriesIn
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the key-value pairs.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.toPairsIn(new Foo);
     * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)
     */
    var toPairsIn = createToPairs(keysIn);

    /**
     * An alternative to `_.reduce`; this method transforms `object` to a new
     * `accumulator` object which is the result of running each of its own
     * enumerable string keyed properties thru `iteratee`, with each invocation
     * potentially mutating the `accumulator` object. If `accumulator` is not
     * provided, a new object with the same `[[Prototype]]` will be used. The
     * iteratee is invoked with four arguments: (accumulator, value, key, object).
     * Iteratee functions may exit iteration early by explicitly returning `false`.
     *
     * @static
     * @memberOf _
     * @since 1.3.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @param {*} [accumulator] The custom accumulator value.
     * @returns {*} Returns the accumulated value.
     * @example
     *
     * _.transform([2, 3, 4], function(result, n) {
     *   result.push(n *= n);
     *   return n % 2 == 0;
     * }, []);
     * // => [4, 9]
     *
     * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
     *   (result[value] || (result[value] = [])).push(key);
     * }, {});
     * // => { '1': ['a', 'c'], '2': ['b'] }
     */
    function transform(object, iteratee, accumulator) {
      var isArr = isArray(object),
          isArrLike = isArr || isBuffer(object) || isTypedArray(object);

      iteratee = getIteratee(iteratee, 4);
      if (accumulator == null) {
        var Ctor = object && object.constructor;
        if (isArrLike) {
          accumulator = isArr ? new Ctor : [];
        }
        else if (isObject(object)) {
          accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};
        }
        else {
          accumulator = {};
        }
      }
      (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {
        return iteratee(accumulator, value, index, object);
      });
      return accumulator;
    }

    /**
     * Removes the property at `path` of `object`.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to unset.
     * @returns {boolean} Returns `true` if the property is deleted, else `false`.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 7 } }] };
     * _.unset(object, 'a[0].b.c');
     * // => true
     *
     * console.log(object);
     * // => { 'a': [{ 'b': {} }] };
     *
     * _.unset(object, ['a', '0', 'b', 'c']);
     * // => true
     *
     * console.log(object);
     * // => { 'a': [{ 'b': {} }] };
     */
    function unset(object, path) {
      return object == null ? true : baseUnset(object, path);
    }

    /**
     * This method is like `_.set` except that accepts `updater` to produce the
     * value to set. Use `_.updateWith` to customize `path` creation. The `updater`
     * is invoked with one argument: (value).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.6.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {Function} updater The function to produce the updated value.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }] };
     *
     * _.update(object, 'a[0].b.c', function(n) { return n * n; });
     * console.log(object.a[0].b.c);
     * // => 9
     *
     * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });
     * console.log(object.x[0].y.z);
     * // => 0
     */
    function update(object, path, updater) {
      return object == null ? object : baseUpdate(object, path, castFunction(updater));
    }

    /**
     * This method is like `_.update` except that it accepts `customizer` which is
     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`
     * path creation is handled by the method instead. The `customizer` is invoked
     * with three arguments: (nsValue, key, nsObject).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.6.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {Function} updater The function to produce the updated value.
     * @param {Function} [customizer] The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = {};
     *
     * _.updateWith(object, '[0][1]', _.constant('a'), Object);
     * // => { '0': { '1': 'a' } }
     */
    function updateWith(object, path, updater, customizer) {
      customizer = typeof customizer == 'function' ? customizer : undefined;
      return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);
    }

    /**
     * Creates an array of the own enumerable string keyed property values of `object`.
     *
     * **Note:** Non-object values are coerced to objects.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property values.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.values(new Foo);
     * // => [1, 2] (iteration order is not guaranteed)
     *
     * _.values('hi');
     * // => ['h', 'i']
     */
    function values(object) {
      return object == null ? [] : baseValues(object, keys(object));
    }

    /**
     * Creates an array of the own and inherited enumerable string keyed property
     * values of `object`.
     *
     * **Note:** Non-object values are coerced to objects.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property values.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.valuesIn(new Foo);
     * // => [1, 2, 3] (iteration order is not guaranteed)
     */
    function valuesIn(object) {
      return object == null ? [] : baseValues(object, keysIn(object));
    }

    /*------------------------------------------------------------------------*/

    /**
     * Clamps `number` within the inclusive `lower` and `upper` bounds.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Number
     * @param {number} number The number to clamp.
     * @param {number} [lower] The lower bound.
     * @param {number} upper The upper bound.
     * @returns {number} Returns the clamped number.
     * @example
     *
     * _.clamp(-10, -5, 5);
     * // => -5
     *
     * _.clamp(10, -5, 5);
     * // => 5
     */
    function clamp(number, lower, upper) {
      if (upper === undefined) {
        upper = lower;
        lower = undefined;
      }
      if (upper !== undefined) {
        upper = toNumber(upper);
        upper = upper === upper ? upper : 0;
      }
      if (lower !== undefined) {
        lower = toNumber(lower);
        lower = lower === lower ? lower : 0;
      }
      return baseClamp(toNumber(number), lower, upper);
    }

    /**
     * Checks if `n` is between `start` and up to, but not including, `end`. If
     * `end` is not specified, it's set to `start` with `start` then set to `0`.
     * If `start` is greater than `end` the params are swapped to support
     * negative ranges.
     *
     * @static
     * @memberOf _
     * @since 3.3.0
     * @category Number
     * @param {number} number The number to check.
     * @param {number} [start=0] The start of the range.
     * @param {number} end The end of the range.
     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
     * @see _.range, _.rangeRight
     * @example
     *
     * _.inRange(3, 2, 4);
     * // => true
     *
     * _.inRange(4, 8);
     * // => true
     *
     * _.inRange(4, 2);
     * // => false
     *
     * _.inRange(2, 2);
     * // => false
     *
     * _.inRange(1.2, 2);
     * // => true
     *
     * _.inRange(5.2, 4);
     * // => false
     *
     * _.inRange(-3, -2, -6);
     * // => true
     */
    function inRange(number, start, end) {
      start = toFinite(start);
      if (end === undefined) {
        end = start;
        start = 0;
      } else {
        end = toFinite(end);
      }
      number = toNumber(number);
      return baseInRange(number, start, end);
    }

    /**
     * Produces a random number between the inclusive `lower` and `upper` bounds.
     * If only one argument is provided a number between `0` and the given number
     * is returned. If `floating` is `true`, or either `lower` or `upper` are
     * floats, a floating-point number is returned instead of an integer.
     *
     * **Note:** JavaScript follows the IEEE-754 standard for resolving
     * floating-point values which can produce unexpected results.
     *
     * @static
     * @memberOf _
     * @since 0.7.0
     * @category Number
     * @param {number} [lower=0] The lower bound.
     * @param {number} [upper=1] The upper bound.
     * @param {boolean} [floating] Specify returning a floating-point number.
     * @returns {number} Returns the random number.
     * @example
     *
     * _.random(0, 5);
     * // => an integer between 0 and 5
     *
     * _.random(5);
     * // => also an integer between 0 and 5
     *
     * _.random(5, true);
     * // => a floating-point number between 0 and 5
     *
     * _.random(1.2, 5.2);
     * // => a floating-point number between 1.2 and 5.2
     */
    function random(lower, upper, floating) {
      if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {
        upper = floating = undefined;
      }
      if (floating === undefined) {
        if (typeof upper == 'boolean') {
          floating = upper;
          upper = undefined;
        }
        else if (typeof lower == 'boolean') {
          floating = lower;
          lower = undefined;
        }
      }
      if (lower === undefined && upper === undefined) {
        lower = 0;
        upper = 1;
      }
      else {
        lower = toFinite(lower);
        if (upper === undefined) {
          upper = lower;
          lower = 0;
        } else {
          upper = toFinite(upper);
        }
      }
      if (lower > upper) {
        var temp = lower;
        lower = upper;
        upper = temp;
      }
      if (floating || lower % 1 || upper % 1) {
        var rand = nativeRandom();
        return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);
      }
      return baseRandom(lower, upper);
    }

    /*------------------------------------------------------------------------*/

    /**
     * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the camel cased string.
     * @example
     *
     * _.camelCase('Foo Bar');
     * // => 'fooBar'
     *
     * _.camelCase('--foo-bar--');
     * // => 'fooBar'
     *
     * _.camelCase('__FOO_BAR__');
     * // => 'fooBar'
     */
    var camelCase = createCompounder(function(result, word, index) {
      word = word.toLowerCase();
      return result + (index ? capitalize(word) : word);
    });

    /**
     * Converts the first character of `string` to upper case and the remaining
     * to lower case.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to capitalize.
     * @returns {string} Returns the capitalized string.
     * @example
     *
     * _.capitalize('FRED');
     * // => 'Fred'
     */
    function capitalize(string) {
      return upperFirst(toString(string).toLowerCase());
    }

    /**
     * Deburrs `string` by converting
     * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
     * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
     * letters to basic Latin letters and removing
     * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to deburr.
     * @returns {string} Returns the deburred string.
     * @example
     *
     * _.deburr('déjà vu');
     * // => 'deja vu'
     */
    function deburr(string) {
      string = toString(string);
      return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');
    }

    /**
     * Checks if `string` ends with the given target string.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to inspect.
     * @param {string} [target] The string to search for.
     * @param {number} [position=string.length] The position to search up to.
     * @returns {boolean} Returns `true` if `string` ends with `target`,
     *  else `false`.
     * @example
     *
     * _.endsWith('abc', 'c');
     * // => true
     *
     * _.endsWith('abc', 'b');
     * // => false
     *
     * _.endsWith('abc', 'b', 2);
     * // => true
     */
    function endsWith(string, target, position) {
      string = toString(string);
      target = baseToString(target);

      var length = string.length;
      position = position === undefined
        ? length
        : baseClamp(toInteger(position), 0, length);

      var end = position;
      position -= target.length;
      return position >= 0 && string.slice(position, end) == target;
    }

    /**
     * Converts the characters "&", "<", ">", '"', and "'" in `string` to their
     * corresponding HTML entities.
     *
     * **Note:** No other characters are escaped. To escape additional
     * characters use a third-party library like [_he_](https://mths.be/he).
     *
     * Though the ">" character is escaped for symmetry, characters like
     * ">" and "/" don't need escaping in HTML and have no special meaning
     * unless they're part of a tag or unquoted attribute value. See
     * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)
     * (under "semi-related fun fact") for more details.
     *
     * When working with HTML you should always
     * [quote attribute values](http://wonko.com/post/html-escaping) to reduce
     * XSS vectors.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category String
     * @param {string} [string=''] The string to escape.
     * @returns {string} Returns the escaped string.
     * @example
     *
     * _.escape('fred, barney, & pebbles');
     * // => 'fred, barney, &amp; pebbles'
     */
    function escape(string) {
      string = toString(string);
      return (string && reHasUnescapedHtml.test(string))
        ? string.replace(reUnescapedHtml, escapeHtmlChar)
        : string;
    }

    /**
     * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
     * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to escape.
     * @returns {string} Returns the escaped string.
     * @example
     *
     * _.escapeRegExp('[lodash](https://lodash.com/)');
     * // => '\[lodash\]\(https://lodash\.com/\)'
     */
    function escapeRegExp(string) {
      string = toString(string);
      return (string && reHasRegExpChar.test(string))
        ? string.replace(reRegExpChar, '\\$&')
        : string;
    }

    /**
     * Converts `string` to
     * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the kebab cased string.
     * @example
     *
     * _.kebabCase('Foo Bar');
     * // => 'foo-bar'
     *
     * _.kebabCase('fooBar');
     * // => 'foo-bar'
     *
     * _.kebabCase('__FOO_BAR__');
     * // => 'foo-bar'
     */
    var kebabCase = createCompounder(function(result, word, index) {
      return result + (index ? '-' : '') + word.toLowerCase();
    });

    /**
     * Converts `string`, as space separated words, to lower case.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the lower cased string.
     * @example
     *
     * _.lowerCase('--Foo-Bar--');
     * // => 'foo bar'
     *
     * _.lowerCase('fooBar');
     * // => 'foo bar'
     *
     * _.lowerCase('__FOO_BAR__');
     * // => 'foo bar'
     */
    var lowerCase = createCompounder(function(result, word, index) {
      return result + (index ? ' ' : '') + word.toLowerCase();
    });

    /**
     * Converts the first character of `string` to lower case.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the converted string.
     * @example
     *
     * _.lowerFirst('Fred');
     * // => 'fred'
     *
     * _.lowerFirst('FRED');
     * // => 'fRED'
     */
    var lowerFirst = createCaseFirst('toLowerCase');

    /**
     * Pads `string` on the left and right sides if it's shorter than `length`.
     * Padding characters are truncated if they can't be evenly divided by `length`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to pad.
     * @param {number} [length=0] The padding length.
     * @param {string} [chars=' '] The string used as padding.
     * @returns {string} Returns the padded string.
     * @example
     *
     * _.pad('abc', 8);
     * // => '  abc   '
     *
     * _.pad('abc', 8, '_-');
     * // => '_-abc_-_'
     *
     * _.pad('abc', 3);
     * // => 'abc'
     */
    function pad(string, length, chars) {
      string = toString(string);
      length = toInteger(length);

      var strLength = length ? stringSize(string) : 0;
      if (!length || strLength >= length) {
        return string;
      }
      var mid = (length - strLength) / 2;
      return (
        createPadding(nativeFloor(mid), chars) +
        string +
        createPadding(nativeCeil(mid), chars)
      );
    }

    /**
     * Pads `string` on the right side if it's shorter than `length`. Padding
     * characters are truncated if they exceed `length`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to pad.
     * @param {number} [length=0] The padding length.
     * @param {string} [chars=' '] The string used as padding.
     * @returns {string} Returns the padded string.
     * @example
     *
     * _.padEnd('abc', 6);
     * // => 'abc   '
     *
     * _.padEnd('abc', 6, '_-');
     * // => 'abc_-_'
     *
     * _.padEnd('abc', 3);
     * // => 'abc'
     */
    function padEnd(string, length, chars) {
      string = toString(string);
      length = toInteger(length);

      var strLength = length ? stringSize(string) : 0;
      return (length && strLength < length)
        ? (string + createPadding(length - strLength, chars))
        : string;
    }

    /**
     * Pads `string` on the left side if it's shorter than `length`. Padding
     * characters are truncated if they exceed `length`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to pad.
     * @param {number} [length=0] The padding length.
     * @param {string} [chars=' '] The string used as padding.
     * @returns {string} Returns the padded string.
     * @example
     *
     * _.padStart('abc', 6);
     * // => '   abc'
     *
     * _.padStart('abc', 6, '_-');
     * // => '_-_abc'
     *
     * _.padStart('abc', 3);
     * // => 'abc'
     */
    function padStart(string, length, chars) {
      string = toString(string);
      length = toInteger(length);

      var strLength = length ? stringSize(string) : 0;
      return (length && strLength < length)
        ? (createPadding(length - strLength, chars) + string)
        : string;
    }

    /**
     * Converts `string` to an integer of the specified radix. If `radix` is
     * `undefined` or `0`, a `radix` of `10` is used unless `value` is a
     * hexadecimal, in which case a `radix` of `16` is used.
     *
     * **Note:** This method aligns with the
     * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.
     *
     * @static
     * @memberOf _
     * @since 1.1.0
     * @category String
     * @param {string} string The string to convert.
     * @param {number} [radix=10] The radix to interpret `value` by.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {number} Returns the converted integer.
     * @example
     *
     * _.parseInt('08');
     * // => 8
     *
     * _.map(['6', '08', '10'], _.parseInt);
     * // => [6, 8, 10]
     */
    function parseInt(string, radix, guard) {
      if (guard || radix == null) {
        radix = 0;
      } else if (radix) {
        radix = +radix;
      }
      return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);
    }

    /**
     * Repeats the given string `n` times.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to repeat.
     * @param {number} [n=1] The number of times to repeat the string.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {string} Returns the repeated string.
     * @example
     *
     * _.repeat('*', 3);
     * // => '***'
     *
     * _.repeat('abc', 2);
     * // => 'abcabc'
     *
     * _.repeat('abc', 0);
     * // => ''
     */
    function repeat(string, n, guard) {
      if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {
        n = 1;
      } else {
        n = toInteger(n);
      }
      return baseRepeat(toString(string), n);
    }

    /**
     * Replaces matches for `pattern` in `string` with `replacement`.
     *
     * **Note:** This method is based on
     * [`String#replace`](https://mdn.io/String/replace).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to modify.
     * @param {RegExp|string} pattern The pattern to replace.
     * @param {Function|string} replacement The match replacement.
     * @returns {string} Returns the modified string.
     * @example
     *
     * _.replace('Hi Fred', 'Fred', 'Barney');
     * // => 'Hi Barney'
     */
    function replace() {
      var args = arguments,
          string = toString(args[0]);

      return args.length < 3 ? string : string.replace(args[1], args[2]);
    }

    /**
     * Converts `string` to
     * [snake case](https://en.wikipedia.org/wiki/Snake_case).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the snake cased string.
     * @example
     *
     * _.snakeCase('Foo Bar');
     * // => 'foo_bar'
     *
     * _.snakeCase('fooBar');
     * // => 'foo_bar'
     *
     * _.snakeCase('--FOO-BAR--');
     * // => 'foo_bar'
     */
    var snakeCase = createCompounder(function(result, word, index) {
      return result + (index ? '_' : '') + word.toLowerCase();
    });

    /**
     * Splits `string` by `separator`.
     *
     * **Note:** This method is based on
     * [`String#split`](https://mdn.io/String/split).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to split.
     * @param {RegExp|string} separator The separator pattern to split by.
     * @param {number} [limit] The length to truncate results to.
     * @returns {Array} Returns the string segments.
     * @example
     *
     * _.split('a-b-c', '-', 2);
     * // => ['a', 'b']
     */
    function split(string, separator, limit) {
      if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {
        separator = limit = undefined;
      }
      limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;
      if (!limit) {
        return [];
      }
      string = toString(string);
      if (string && (
            typeof separator == 'string' ||
            (separator != null && !isRegExp(separator))
          )) {
        separator = baseToString(separator);
        if (!separator && hasUnicode(string)) {
          return castSlice(stringToArray(string), 0, limit);
        }
      }
      return string.split(separator, limit);
    }

    /**
     * Converts `string` to
     * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).
     *
     * @static
     * @memberOf _
     * @since 3.1.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the start cased string.
     * @example
     *
     * _.startCase('--foo-bar--');
     * // => 'Foo Bar'
     *
     * _.startCase('fooBar');
     * // => 'Foo Bar'
     *
     * _.startCase('__FOO_BAR__');
     * // => 'FOO BAR'
     */
    var startCase = createCompounder(function(result, word, index) {
      return result + (index ? ' ' : '') + upperFirst(word);
    });

    /**
     * Checks if `string` starts with the given target string.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to inspect.
     * @param {string} [target] The string to search for.
     * @param {number} [position=0] The position to search from.
     * @returns {boolean} Returns `true` if `string` starts with `target`,
     *  else `false`.
     * @example
     *
     * _.startsWith('abc', 'a');
     * // => true
     *
     * _.startsWith('abc', 'b');
     * // => false
     *
     * _.startsWith('abc', 'b', 1);
     * // => true
     */
    function startsWith(string, target, position) {
      string = toString(string);
      position = position == null
        ? 0
        : baseClamp(toInteger(position), 0, string.length);

      target = baseToString(target);
      return string.slice(position, position + target.length) == target;
    }

    /**
     * Creates a compiled template function that can interpolate data properties
     * in "interpolate" delimiters, HTML-escape interpolated data properties in
     * "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data
     * properties may be accessed as free variables in the template. If a setting
     * object is given, it takes precedence over `_.templateSettings` values.
     *
     * **Note:** In the development build `_.template` utilizes
     * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
     * for easier debugging.
     *
     * For more information on precompiling templates see
     * [lodash's custom builds documentation](https://lodash.com/custom-builds).
     *
     * For more information on Chrome extension sandboxes see
     * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category String
     * @param {string} [string=''] The template string.
     * @param {Object} [options={}] The options object.
     * @param {RegExp} [options.escape=_.templateSettings.escape]
     *  The HTML "escape" delimiter.
     * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]
     *  The "evaluate" delimiter.
     * @param {Object} [options.imports=_.templateSettings.imports]
     *  An object to import into the template as free variables.
     * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]
     *  The "interpolate" delimiter.
     * @param {string} [options.sourceURL='lodash.templateSources[n]']
     *  The sourceURL of the compiled template.
     * @param {string} [options.variable='obj']
     *  The data object variable name.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Function} Returns the compiled template function.
     * @example
     *
     * // Use the "interpolate" delimiter to create a compiled template.
     * var compiled = _.template('hello <%= user %>!');
     * compiled({ 'user': 'fred' });
     * // => 'hello fred!'
     *
     * // Use the HTML "escape" delimiter to escape data property values.
     * var compiled = _.template('<b><%- value %></b>');
     * compiled({ 'value': '<script>' });
     * // => '<b>&lt;script&gt;</b>'
     *
     * // Use the "evaluate" delimiter to execute JavaScript and generate HTML.
     * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');
     * compiled({ 'users': ['fred', 'barney'] });
     * // => '<li>fred</li><li>barney</li>'
     *
     * // Use the internal `print` function in "evaluate" delimiters.
     * var compiled = _.template('<% print("hello " + user); %>!');
     * compiled({ 'user': 'barney' });
     * // => 'hello barney!'
     *
     * // Use the ES template literal delimiter as an "interpolate" delimiter.
     * // Disable support by replacing the "interpolate" delimiter.
     * var compiled = _.template('hello ${ user }!');
     * compiled({ 'user': 'pebbles' });
     * // => 'hello pebbles!'
     *
     * // Use backslashes to treat delimiters as plain text.
     * var compiled = _.template('<%= "\\<%- value %\\>" %>');
     * compiled({ 'value': 'ignored' });
     * // => '<%- value %>'
     *
     * // Use the `imports` option to import `jQuery` as `jq`.
     * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';
     * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });
     * compiled({ 'users': ['fred', 'barney'] });
     * // => '<li>fred</li><li>barney</li>'
     *
     * // Use the `sourceURL` option to specify a custom sourceURL for the template.
     * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });
     * compiled(data);
     * // => Find the source of "greeting.jst" under the Sources tab or Resources panel of the web inspector.
     *
     * // Use the `variable` option to ensure a with-statement isn't used in the compiled template.
     * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });
     * compiled.source;
     * // => function(data) {
     * //   var __t, __p = '';
     * //   __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';
     * //   return __p;
     * // }
     *
     * // Use custom template delimiters.
     * _.templateSettings.interpolate = /{{([\s\S]+?)}}/g;
     * var compiled = _.template('hello {{ user }}!');
     * compiled({ 'user': 'mustache' });
     * // => 'hello mustache!'
     *
     * // Use the `source` property to inline compiled templates for meaningful
     * // line numbers in error messages and stack traces.
     * fs.writeFileSync(path.join(process.cwd(), 'jst.js'), '\
     *   var JST = {\
     *     "main": ' + _.template(mainText).source + '\
     *   };\
     * ');
     */
    function template(string, options, guard) {
      // Based on John Resig's `tmpl` implementation
      // (http://ejohn.org/blog/javascript-micro-templating/)
      // and Laura Doktorova's doT.js (https://github.com/olado/doT).
      var settings = lodash.templateSettings;

      if (guard && isIterateeCall(string, options, guard)) {
        options = undefined;
      }
      string = toString(string);
      options = assignInWith({}, options, settings, customDefaultsAssignIn);

      var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn),
          importsKeys = keys(imports),
          importsValues = baseValues(imports, importsKeys);

      var isEscaping,
          isEvaluating,
          index = 0,
          interpolate = options.interpolate || reNoMatch,
          source = "__p += '";

      // Compile the regexp to match each delimiter.
      var reDelimiters = RegExp(
        (options.escape || reNoMatch).source + '|' +
        interpolate.source + '|' +
        (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' +
        (options.evaluate || reNoMatch).source + '|$'
      , 'g');

      // Use a sourceURL for easier debugging.
      // The sourceURL gets injected into the source that's eval-ed, so be careful
      // to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in
      // and escape the comment, thus injecting code that gets evaled.
      var sourceURL = '//# sourceURL=' +
        (hasOwnProperty.call(options, 'sourceURL')
          ? (options.sourceURL + '').replace(/\s/g, ' ')
          : ('lodash.templateSources[' + (++templateCounter) + ']')
        ) + '\n';

      string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
        interpolateValue || (interpolateValue = esTemplateValue);

        // Escape characters that can't be included in string literals.
        source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);

        // Replace delimiters with snippets.
        if (escapeValue) {
          isEscaping = true;
          source += "' +\n__e(" + escapeValue + ") +\n'";
        }
        if (evaluateValue) {
          isEvaluating = true;
          source += "';\n" + evaluateValue + ";\n__p += '";
        }
        if (interpolateValue) {
          source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
        }
        index = offset + match.length;

        // The JS engine embedded in Adobe products needs `match` returned in
        // order to produce the correct `offset` value.
        return match;
      });

      source += "';\n";

      // If `variable` is not specified wrap a with-statement around the generated
      // code to add the data object to the top of the scope chain.
      var variable = hasOwnProperty.call(options, 'variable') && options.variable;
      if (!variable) {
        source = 'with (obj) {\n' + source + '\n}\n';
      }
      // Throw an error if a forbidden character was found in `variable`, to prevent
      // potential command injection attacks.
      else if (reForbiddenIdentifierChars.test(variable)) {
        throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);
      }

      // Cleanup code by stripping empty strings.
      source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source)
        .replace(reEmptyStringMiddle, '$1')
        .replace(reEmptyStringTrailing, '$1;');

      // Frame code as the function body.
      source = 'function(' + (variable || 'obj') + ') {\n' +
        (variable
          ? ''
          : 'obj || (obj = {});\n'
        ) +
        "var __t, __p = ''" +
        (isEscaping
           ? ', __e = _.escape'
           : ''
        ) +
        (isEvaluating
          ? ', __j = Array.prototype.join;\n' +
            "function print() { __p += __j.call(arguments, '') }\n"
          : ';\n'
        ) +
        source +
        'return __p\n}';

      var result = attempt(function() {
        return Function(importsKeys, sourceURL + 'return ' + source)
          .apply(undefined, importsValues);
      });

      // Provide the compiled function's source by its `toString` method or
      // the `source` property as a convenience for inlining compiled templates.
      result.source = source;
      if (isError(result)) {
        throw result;
      }
      return result;
    }

    /**
     * Converts `string`, as a whole, to lower case just like
     * [String#toLowerCase](https://mdn.io/toLowerCase).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the lower cased string.
     * @example
     *
     * _.toLower('--Foo-Bar--');
     * // => '--foo-bar--'
     *
     * _.toLower('fooBar');
     * // => 'foobar'
     *
     * _.toLower('__FOO_BAR__');
     * // => '__foo_bar__'
     */
    function toLower(value) {
      return toString(value).toLowerCase();
    }

    /**
     * Converts `string`, as a whole, to upper case just like
     * [String#toUpperCase](https://mdn.io/toUpperCase).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the upper cased string.
     * @example
     *
     * _.toUpper('--foo-bar--');
     * // => '--FOO-BAR--'
     *
     * _.toUpper('fooBar');
     * // => 'FOOBAR'
     *
     * _.toUpper('__foo_bar__');
     * // => '__FOO_BAR__'
     */
    function toUpper(value) {
      return toString(value).toUpperCase();
    }

    /**
     * Removes leading and trailing whitespace or specified characters from `string`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to trim.
     * @param {string} [chars=whitespace] The characters to trim.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {string} Returns the trimmed string.
     * @example
     *
     * _.trim('  abc  ');
     * // => 'abc'
     *
     * _.trim('-_-abc-_-', '_-');
     * // => 'abc'
     *
     * _.map(['  foo  ', '  bar  '], _.trim);
     * // => ['foo', 'bar']
     */
    function trim(string, chars, guard) {
      string = toString(string);
      if (string && (guard || chars === undefined)) {
        return baseTrim(string);
      }
      if (!string || !(chars = baseToString(chars))) {
        return string;
      }
      var strSymbols = stringToArray(string),
          chrSymbols = stringToArray(chars),
          start = charsStartIndex(strSymbols, chrSymbols),
          end = charsEndIndex(strSymbols, chrSymbols) + 1;

      return castSlice(strSymbols, start, end).join('');
    }

    /**
     * Removes trailing whitespace or specified characters from `string`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to trim.
     * @param {string} [chars=whitespace] The characters to trim.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {string} Returns the trimmed string.
     * @example
     *
     * _.trimEnd('  abc  ');
     * // => '  abc'
     *
     * _.trimEnd('-_-abc-_-', '_-');
     * // => '-_-abc'
     */
    function trimEnd(string, chars, guard) {
      string = toString(string);
      if (string && (guard || chars === undefined)) {
        return string.slice(0, trimmedEndIndex(string) + 1);
      }
      if (!string || !(chars = baseToString(chars))) {
        return string;
      }
      var strSymbols = stringToArray(string),
          end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;

      return castSlice(strSymbols, 0, end).join('');
    }

    /**
     * Removes leading whitespace or specified characters from `string`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to trim.
     * @param {string} [chars=whitespace] The characters to trim.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {string} Returns the trimmed string.
     * @example
     *
     * _.trimStart('  abc  ');
     * // => 'abc  '
     *
     * _.trimStart('-_-abc-_-', '_-');
     * // => 'abc-_-'
     */
    function trimStart(string, chars, guard) {
      string = toString(string);
      if (string && (guard || chars === undefined)) {
        return string.replace(reTrimStart, '');
      }
      if (!string || !(chars = baseToString(chars))) {
        return string;
      }
      var strSymbols = stringToArray(string),
          start = charsStartIndex(strSymbols, stringToArray(chars));

      return castSlice(strSymbols, start).join('');
    }

    /**
     * Truncates `string` if it's longer than the given maximum string length.
     * The last characters of the truncated string are replaced with the omission
     * string which defaults to "...".
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to truncate.
     * @param {Object} [options={}] The options object.
     * @param {number} [options.length=30] The maximum string length.
     * @param {string} [options.omission='...'] The string to indicate text is omitted.
     * @param {RegExp|string} [options.separator] The separator pattern to truncate to.
     * @returns {string} Returns the truncated string.
     * @example
     *
     * _.truncate('hi-diddly-ho there, neighborino');
     * // => 'hi-diddly-ho there, neighbo...'
     *
     * _.truncate('hi-diddly-ho there, neighborino', {
     *   'length': 24,
     *   'separator': ' '
     * });
     * // => 'hi-diddly-ho there,...'
     *
     * _.truncate('hi-diddly-ho there, neighborino', {
     *   'length': 24,
     *   'separator': /,? +/
     * });
     * // => 'hi-diddly-ho there...'
     *
     * _.truncate('hi-diddly-ho there, neighborino', {
     *   'omission': ' [...]'
     * });
     * // => 'hi-diddly-ho there, neig [...]'
     */
    function truncate(string, options) {
      var length = DEFAULT_TRUNC_LENGTH,
          omission = DEFAULT_TRUNC_OMISSION;

      if (isObject(options)) {
        var separator = 'separator' in options ? options.separator : separator;
        length = 'length' in options ? toInteger(options.length) : length;
        omission = 'omission' in options ? baseToString(options.omission) : omission;
      }
      string = toString(string);

      var strLength = string.length;
      if (hasUnicode(string)) {
        var strSymbols = stringToArray(string);
        strLength = strSymbols.length;
      }
      if (length >= strLength) {
        return string;
      }
      var end = length - stringSize(omission);
      if (end < 1) {
        return omission;
      }
      var result = strSymbols
        ? castSlice(strSymbols, 0, end).join('')
        : string.slice(0, end);

      if (separator === undefined) {
        return result + omission;
      }
      if (strSymbols) {
        end += (result.length - end);
      }
      if (isRegExp(separator)) {
        if (string.slice(end).search(separator)) {
          var match,
              substring = result;

          if (!separator.global) {
            separator = RegExp(separator.source, toString(reFlags.exec(separator)) + 'g');
          }
          separator.lastIndex = 0;
          while ((match = separator.exec(substring))) {
            var newEnd = match.index;
          }
          result = result.slice(0, newEnd === undefined ? end : newEnd);
        }
      } else if (string.indexOf(baseToString(separator), end) != end) {
        var index = result.lastIndexOf(separator);
        if (index > -1) {
          result = result.slice(0, index);
        }
      }
      return result + omission;
    }

    /**
     * The inverse of `_.escape`; this method converts the HTML entities
     * `&amp;`, `&lt;`, `&gt;`, `&quot;`, and `&#39;` in `string` to
     * their corresponding characters.
     *
     * **Note:** No other HTML entities are unescaped. To unescape additional
     * HTML entities use a third-party library like [_he_](https://mths.be/he).
     *
     * @static
     * @memberOf _
     * @since 0.6.0
     * @category String
     * @param {string} [string=''] The string to unescape.
     * @returns {string} Returns the unescaped string.
     * @example
     *
     * _.unescape('fred, barney, &amp; pebbles');
     * // => 'fred, barney, & pebbles'
     */
    function unescape(string) {
      string = toString(string);
      return (string && reHasEscapedHtml.test(string))
        ? string.replace(reEscapedHtml, unescapeHtmlChar)
        : string;
    }

    /**
     * Converts `string`, as space separated words, to upper case.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the upper cased string.
     * @example
     *
     * _.upperCase('--foo-bar');
     * // => 'FOO BAR'
     *
     * _.upperCase('fooBar');
     * // => 'FOO BAR'
     *
     * _.upperCase('__foo_bar__');
     * // => 'FOO BAR'
     */
    var upperCase = createCompounder(function(result, word, index) {
      return result + (index ? ' ' : '') + word.toUpperCase();
    });

    /**
     * Converts the first character of `string` to upper case.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the converted string.
     * @example
     *
     * _.upperFirst('fred');
     * // => 'Fred'
     *
     * _.upperFirst('FRED');
     * // => 'FRED'
     */
    var upperFirst = createCaseFirst('toUpperCase');

    /**
     * Splits `string` into an array of its words.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to inspect.
     * @param {RegExp|string} [pattern] The pattern to match words.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the words of `string`.
     * @example
     *
     * _.words('fred, barney, & pebbles');
     * // => ['fred', 'barney', 'pebbles']
     *
     * _.words('fred, barney, & pebbles', /[^, ]+/g);
     * // => ['fred', 'barney', '&', 'pebbles']
     */
    function words(string, pattern, guard) {
      string = toString(string);
      pattern = guard ? undefined : pattern;

      if (pattern === undefined) {
        return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
      }
      return string.match(pattern) || [];
    }

    /*------------------------------------------------------------------------*/

    /**
     * Attempts to invoke `func`, returning either the result or the caught error
     * object. Any additional arguments are provided to `func` when it's invoked.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Util
     * @param {Function} func The function to attempt.
     * @param {...*} [args] The arguments to invoke `func` with.
     * @returns {*} Returns the `func` result or error object.
     * @example
     *
     * // Avoid throwing errors for invalid selectors.
     * var elements = _.attempt(function(selector) {
     *   return document.querySelectorAll(selector);
     * }, '>_>');
     *
     * if (_.isError(elements)) {
     *   elements = [];
     * }
     */
    var attempt = baseRest(function(func, args) {
      try {
        return apply(func, undefined, args);
      } catch (e) {
        return isError(e) ? e : new Error(e);
      }
    });

    /**
     * Binds methods of an object to the object itself, overwriting the existing
     * method.
     *
     * **Note:** This method doesn't set the "length" property of bound functions.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {Object} object The object to bind and assign the bound methods to.
     * @param {...(string|string[])} methodNames The object method names to bind.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var view = {
     *   'label': 'docs',
     *   'click': function() {
     *     console.log('clicked ' + this.label);
     *   }
     * };
     *
     * _.bindAll(view, ['click']);
     * jQuery(element).on('click', view.click);
     * // => Logs 'clicked docs' when clicked.
     */
    var bindAll = flatRest(function(object, methodNames) {
      arrayEach(methodNames, function(key) {
        key = toKey(key);
        baseAssignValue(object, key, bind(object[key], object));
      });
      return object;
    });

    /**
     * Creates a function that iterates over `pairs` and invokes the corresponding
     * function of the first predicate to return truthy. The predicate-function
     * pairs are invoked with the `this` binding and arguments of the created
     * function.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {Array} pairs The predicate-function pairs.
     * @returns {Function} Returns the new composite function.
     * @example
     *
     * var func = _.cond([
     *   [_.matches({ 'a': 1 }),           _.constant('matches A')],
     *   [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],
     *   [_.stubTrue,                      _.constant('no match')]
     * ]);
     *
     * func({ 'a': 1, 'b': 2 });
     * // => 'matches A'
     *
     * func({ 'a': 0, 'b': 1 });
     * // => 'matches B'
     *
     * func({ 'a': '1', 'b': '2' });
     * // => 'no match'
     */
    function cond(pairs) {
      var length = pairs == null ? 0 : pairs.length,
          toIteratee = getIteratee();

      pairs = !length ? [] : arrayMap(pairs, function(pair) {
        if (typeof pair[1] != 'function') {
          throw new TypeError(FUNC_ERROR_TEXT);
        }
        return [toIteratee(pair[0]), pair[1]];
      });

      return baseRest(function(args) {
        var index = -1;
        while (++index < length) {
          var pair = pairs[index];
          if (apply(pair[0], this, args)) {
            return apply(pair[1], this, args);
          }
        }
      });
    }

    /**
     * Creates a function that invokes the predicate properties of `source` with
     * the corresponding property values of a given object, returning `true` if
     * all predicates return truthy, else `false`.
     *
     * **Note:** The created function is equivalent to `_.conformsTo` with
     * `source` partially applied.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {Object} source The object of property predicates to conform to.
     * @returns {Function} Returns the new spec function.
     * @example
     *
     * var objects = [
     *   { 'a': 2, 'b': 1 },
     *   { 'a': 1, 'b': 2 }
     * ];
     *
     * _.filter(objects, _.conforms({ 'b': function(n) { return n > 1; } }));
     * // => [{ 'a': 1, 'b': 2 }]
     */
    function conforms(source) {
      return baseConforms(baseClone(source, CLONE_DEEP_FLAG));
    }

    /**
     * Creates a function that returns `value`.
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Util
     * @param {*} value The value to return from the new function.
     * @returns {Function} Returns the new constant function.
     * @example
     *
     * var objects = _.times(2, _.constant({ 'a': 1 }));
     *
     * console.log(objects);
     * // => [{ 'a': 1 }, { 'a': 1 }]
     *
     * console.log(objects[0] === objects[1]);
     * // => true
     */
    function constant(value) {
      return function() {
        return value;
      };
    }

    /**
     * Checks `value` to determine whether a default value should be returned in
     * its place. The `defaultValue` is returned if `value` is `NaN`, `null`,
     * or `undefined`.
     *
     * @static
     * @memberOf _
     * @since 4.14.0
     * @category Util
     * @param {*} value The value to check.
     * @param {*} defaultValue The default value.
     * @returns {*} Returns the resolved value.
     * @example
     *
     * _.defaultTo(1, 10);
     * // => 1
     *
     * _.defaultTo(undefined, 10);
     * // => 10
     */
    function defaultTo(value, defaultValue) {
      return (value == null || value !== value) ? defaultValue : value;
    }

    /**
     * Creates a function that returns the result of invoking the given functions
     * with the `this` binding of the created function, where each successive
     * invocation is supplied the return value of the previous.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Util
     * @param {...(Function|Function[])} [funcs] The functions to invoke.
     * @returns {Function} Returns the new composite function.
     * @see _.flowRight
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var addSquare = _.flow([_.add, square]);
     * addSquare(1, 2);
     * // => 9
     */
    var flow = createFlow();

    /**
     * This method is like `_.flow` except that it creates a function that
     * invokes the given functions from right to left.
     *
     * @static
     * @since 3.0.0
     * @memberOf _
     * @category Util
     * @param {...(Function|Function[])} [funcs] The functions to invoke.
     * @returns {Function} Returns the new composite function.
     * @see _.flow
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var addSquare = _.flowRight([square, _.add]);
     * addSquare(1, 2);
     * // => 9
     */
    var flowRight = createFlow(true);

    /**
     * This method returns the first argument it receives.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {*} value Any value.
     * @returns {*} Returns `value`.
     * @example
     *
     * var object = { 'a': 1 };
     *
     * console.log(_.identity(object) === object);
     * // => true
     */
    function identity(value) {
      return value;
    }

    /**
     * Creates a function that invokes `func` with the arguments of the created
     * function. If `func` is a property name, the created function returns the
     * property value for a given element. If `func` is an array or object, the
     * created function returns `true` for elements that contain the equivalent
     * source properties, otherwise it returns `false`.
     *
     * @static
     * @since 4.0.0
     * @memberOf _
     * @category Util
     * @param {*} [func=_.identity] The value to convert to a callback.
     * @returns {Function} Returns the callback.
     * @example
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36, 'active': true },
     *   { 'user': 'fred',   'age': 40, 'active': false }
     * ];
     *
     * // The `_.matches` iteratee shorthand.
     * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));
     * // => [{ 'user': 'barney', 'age': 36, 'active': true }]
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.filter(users, _.iteratee(['user', 'fred']));
     * // => [{ 'user': 'fred', 'age': 40 }]
     *
     * // The `_.property` iteratee shorthand.
     * _.map(users, _.iteratee('user'));
     * // => ['barney', 'fred']
     *
     * // Create custom iteratee shorthands.
     * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) {
     *   return !_.isRegExp(func) ? iteratee(func) : function(string) {
     *     return func.test(string);
     *   };
     * });
     *
     * _.filter(['abc', 'def'], /ef/);
     * // => ['def']
     */
    function iteratee(func) {
      return baseIteratee(typeof func == 'function' ? func : baseClone(func, CLONE_DEEP_FLAG));
    }

    /**
     * Creates a function that performs a partial deep comparison between a given
     * object and `source`, returning `true` if the given object has equivalent
     * property values, else `false`.
     *
     * **Note:** The created function is equivalent to `_.isMatch` with `source`
     * partially applied.
     *
     * Partial comparisons will match empty array and empty object `source`
     * values against any array or object value, respectively. See `_.isEqual`
     * for a list of supported value comparisons.
     *
     * **Note:** Multiple values can be checked by combining several matchers
     * using `_.overSome`
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Util
     * @param {Object} source The object of property values to match.
     * @returns {Function} Returns the new spec function.
     * @example
     *
     * var objects = [
     *   { 'a': 1, 'b': 2, 'c': 3 },
     *   { 'a': 4, 'b': 5, 'c': 6 }
     * ];
     *
     * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
     * // => [{ 'a': 4, 'b': 5, 'c': 6 }]
     *
     * // Checking for several possible values
     * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));
     * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
     */
    function matches(source) {
      return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
    }

    /**
     * Creates a function that performs a partial deep comparison between the
     * value at `path` of a given object to `srcValue`, returning `true` if the
     * object value is equivalent, else `false`.
     *
     * **Note:** Partial comparisons will match empty array and empty object
     * `srcValue` values against any array or object value, respectively. See
     * `_.isEqual` for a list of supported value comparisons.
     *
     * **Note:** Multiple values can be checked by combining several matchers
     * using `_.overSome`
     *
     * @static
     * @memberOf _
     * @since 3.2.0
     * @category Util
     * @param {Array|string} path The path of the property to get.
     * @param {*} srcValue The value to match.
     * @returns {Function} Returns the new spec function.
     * @example
     *
     * var objects = [
     *   { 'a': 1, 'b': 2, 'c': 3 },
     *   { 'a': 4, 'b': 5, 'c': 6 }
     * ];
     *
     * _.find(objects, _.matchesProperty('a', 4));
     * // => { 'a': 4, 'b': 5, 'c': 6 }
     *
     * // Checking for several possible values
     * _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));
     * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
     */
    function matchesProperty(path, srcValue) {
      return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));
    }

    /**
     * Creates a function that invokes the method at `path` of a given object.
     * Any additional arguments are provided to the invoked method.
     *
     * @static
     * @memberOf _
     * @since 3.7.0
     * @category Util
     * @param {Array|string} path The path of the method to invoke.
     * @param {...*} [args] The arguments to invoke the method with.
     * @returns {Function} Returns the new invoker function.
     * @example
     *
     * var objects = [
     *   { 'a': { 'b': _.constant(2) } },
     *   { 'a': { 'b': _.constant(1) } }
     * ];
     *
     * _.map(objects, _.method('a.b'));
     * // => [2, 1]
     *
     * _.map(objects, _.method(['a', 'b']));
     * // => [2, 1]
     */
    var method = baseRest(function(path, args) {
      return function(object) {
        return baseInvoke(object, path, args);
      };
    });

    /**
     * The opposite of `_.method`; this method creates a function that invokes
     * the method at a given path of `object`. Any additional arguments are
     * provided to the invoked method.
     *
     * @static
     * @memberOf _
     * @since 3.7.0
     * @category Util
     * @param {Object} object The object to query.
     * @param {...*} [args] The arguments to invoke the method with.
     * @returns {Function} Returns the new invoker function.
     * @example
     *
     * var array = _.times(3, _.constant),
     *     object = { 'a': array, 'b': array, 'c': array };
     *
     * _.map(['a[2]', 'c[0]'], _.methodOf(object));
     * // => [2, 0]
     *
     * _.map([['a', '2'], ['c', '0']], _.methodOf(object));
     * // => [2, 0]
     */
    var methodOf = baseRest(function(object, args) {
      return function(path) {
        return baseInvoke(object, path, args);
      };
    });

    /**
     * Adds all own enumerable string keyed function properties of a source
     * object to the destination object. If `object` is a function, then methods
     * are added to its prototype as well.
     *
     * **Note:** Use `_.runInContext` to create a pristine `lodash` function to
     * avoid conflicts caused by modifying the original.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {Function|Object} [object=lodash] The destination object.
     * @param {Object} source The object of functions to add.
     * @param {Object} [options={}] The options object.
     * @param {boolean} [options.chain=true] Specify whether mixins are chainable.
     * @returns {Function|Object} Returns `object`.
     * @example
     *
     * function vowels(string) {
     *   return _.filter(string, function(v) {
     *     return /[aeiou]/i.test(v);
     *   });
     * }
     *
     * _.mixin({ 'vowels': vowels });
     * _.vowels('fred');
     * // => ['e']
     *
     * _('fred').vowels().value();
     * // => ['e']
     *
     * _.mixin({ 'vowels': vowels }, { 'chain': false });
     * _('fred').vowels();
     * // => ['e']
     */
    function mixin(object, source, options) {
      var props = keys(source),
          methodNames = baseFunctions(source, props);

      if (options == null &&
          !(isObject(source) && (methodNames.length || !props.length))) {
        options = source;
        source = object;
        object = this;
        methodNames = baseFunctions(source, keys(source));
      }
      var chain = !(isObject(options) && 'chain' in options) || !!options.chain,
          isFunc = isFunction(object);

      arrayEach(methodNames, function(methodName) {
        var func = source[methodName];
        object[methodName] = func;
        if (isFunc) {
          object.prototype[methodName] = function() {
            var chainAll = this.__chain__;
            if (chain || chainAll) {
              var result = object(this.__wrapped__),
                  actions = result.__actions__ = copyArray(this.__actions__);

              actions.push({ 'func': func, 'args': arguments, 'thisArg': object });
              result.__chain__ = chainAll;
              return result;
            }
            return func.apply(object, arrayPush([this.value()], arguments));
          };
        }
      });

      return object;
    }

    /**
     * Reverts the `_` variable to its previous value and returns a reference to
     * the `lodash` function.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @returns {Function} Returns the `lodash` function.
     * @example
     *
     * var lodash = _.noConflict();
     */
    function noConflict() {
      if (root._ === this) {
        root._ = oldDash;
      }
      return this;
    }

    /**
     * This method returns `undefined`.
     *
     * @static
     * @memberOf _
     * @since 2.3.0
     * @category Util
     * @example
     *
     * _.times(2, _.noop);
     * // => [undefined, undefined]
     */
    function noop() {
      // No operation performed.
    }

    /**
     * Creates a function that gets the argument at index `n`. If `n` is negative,
     * the nth argument from the end is returned.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {number} [n=0] The index of the argument to return.
     * @returns {Function} Returns the new pass-thru function.
     * @example
     *
     * var func = _.nthArg(1);
     * func('a', 'b', 'c', 'd');
     * // => 'b'
     *
     * var func = _.nthArg(-2);
     * func('a', 'b', 'c', 'd');
     * // => 'c'
     */
    function nthArg(n) {
      n = toInteger(n);
      return baseRest(function(args) {
        return baseNth(args, n);
      });
    }

    /**
     * Creates a function that invokes `iteratees` with the arguments it receives
     * and returns their results.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {...(Function|Function[])} [iteratees=[_.identity]]
     *  The iteratees to invoke.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var func = _.over([Math.max, Math.min]);
     *
     * func(1, 2, 3, 4);
     * // => [4, 1]
     */
    var over = createOver(arrayMap);

    /**
     * Creates a function that checks if **all** of the `predicates` return
     * truthy when invoked with the arguments it receives.
     *
     * Following shorthands are possible for providing predicates.
     * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
     * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {...(Function|Function[])} [predicates=[_.identity]]
     *  The predicates to check.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var func = _.overEvery([Boolean, isFinite]);
     *
     * func('1');
     * // => true
     *
     * func(null);
     * // => false
     *
     * func(NaN);
     * // => false
     */
    var overEvery = createOver(arrayEvery);

    /**
     * Creates a function that checks if **any** of the `predicates` return
     * truthy when invoked with the arguments it receives.
     *
     * Following shorthands are possible for providing predicates.
     * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
     * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {...(Function|Function[])} [predicates=[_.identity]]
     *  The predicates to check.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var func = _.overSome([Boolean, isFinite]);
     *
     * func('1');
     * // => true
     *
     * func(null);
     * // => true
     *
     * func(NaN);
     * // => false
     *
     * var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])
     * var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])
     */
    var overSome = createOver(arraySome);

    /**
     * Creates a function that returns the value at `path` of a given object.
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Util
     * @param {Array|string} path The path of the property to get.
     * @returns {Function} Returns the new accessor function.
     * @example
     *
     * var objects = [
     *   { 'a': { 'b': 2 } },
     *   { 'a': { 'b': 1 } }
     * ];
     *
     * _.map(objects, _.property('a.b'));
     * // => [2, 1]
     *
     * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
     * // => [1, 2]
     */
    function property(path) {
      return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
    }

    /**
     * The opposite of `_.property`; this method creates a function that returns
     * the value at a given path of `object`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Util
     * @param {Object} object The object to query.
     * @returns {Function} Returns the new accessor function.
     * @example
     *
     * var array = [0, 1, 2],
     *     object = { 'a': array, 'b': array, 'c': array };
     *
     * _.map(['a[2]', 'c[0]'], _.propertyOf(object));
     * // => [2, 0]
     *
     * _.map([['a', '2'], ['c', '0']], _.propertyOf(object));
     * // => [2, 0]
     */
    function propertyOf(object) {
      return function(path) {
        return object == null ? undefined : baseGet(object, path);
      };
    }

    /**
     * Creates an array of numbers (positive and/or negative) progressing from
     * `start` up to, but not including, `end`. A step of `-1` is used if a negative
     * `start` is specified without an `end` or `step`. If `end` is not specified,
     * it's set to `start` with `start` then set to `0`.
     *
     * **Note:** JavaScript follows the IEEE-754 standard for resolving
     * floating-point values which can produce unexpected results.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {number} [start=0] The start of the range.
     * @param {number} end The end of the range.
     * @param {number} [step=1] The value to increment or decrement by.
     * @returns {Array} Returns the range of numbers.
     * @see _.inRange, _.rangeRight
     * @example
     *
     * _.range(4);
     * // => [0, 1, 2, 3]
     *
     * _.range(-4);
     * // => [0, -1, -2, -3]
     *
     * _.range(1, 5);
     * // => [1, 2, 3, 4]
     *
     * _.range(0, 20, 5);
     * // => [0, 5, 10, 15]
     *
     * _.range(0, -4, -1);
     * // => [0, -1, -2, -3]
     *
     * _.range(1, 4, 0);
     * // => [1, 1, 1]
     *
     * _.range(0);
     * // => []
     */
    var range = createRange();

    /**
     * This method is like `_.range` except that it populates values in
     * descending order.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {number} [start=0] The start of the range.
     * @param {number} end The end of the range.
     * @param {number} [step=1] The value to increment or decrement by.
     * @returns {Array} Returns the range of numbers.
     * @see _.inRange, _.range
     * @example
     *
     * _.rangeRight(4);
     * // => [3, 2, 1, 0]
     *
     * _.rangeRight(-4);
     * // => [-3, -2, -1, 0]
     *
     * _.rangeRight(1, 5);
     * // => [4, 3, 2, 1]
     *
     * _.rangeRight(0, 20, 5);
     * // => [15, 10, 5, 0]
     *
     * _.rangeRight(0, -4, -1);
     * // => [-3, -2, -1, 0]
     *
     * _.rangeRight(1, 4, 0);
     * // => [1, 1, 1]
     *
     * _.rangeRight(0);
     * // => []
     */
    var rangeRight = createRange(true);

    /**
     * This method returns a new empty array.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {Array} Returns the new empty array.
     * @example
     *
     * var arrays = _.times(2, _.stubArray);
     *
     * console.log(arrays);
     * // => [[], []]
     *
     * console.log(arrays[0] === arrays[1]);
     * // => false
     */
    function stubArray() {
      return [];
    }

    /**
     * This method returns `false`.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {boolean} Returns `false`.
     * @example
     *
     * _.times(2, _.stubFalse);
     * // => [false, false]
     */
    function stubFalse() {
      return false;
    }

    /**
     * This method returns a new empty object.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {Object} Returns the new empty object.
     * @example
     *
     * var objects = _.times(2, _.stubObject);
     *
     * console.log(objects);
     * // => [{}, {}]
     *
     * console.log(objects[0] === objects[1]);
     * // => false
     */
    function stubObject() {
      return {};
    }

    /**
     * This method returns an empty string.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {string} Returns the empty string.
     * @example
     *
     * _.times(2, _.stubString);
     * // => ['', '']
     */
    function stubString() {
      return '';
    }

    /**
     * This method returns `true`.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {boolean} Returns `true`.
     * @example
     *
     * _.times(2, _.stubTrue);
     * // => [true, true]
     */
    function stubTrue() {
      return true;
    }

    /**
     * Invokes the iteratee `n` times, returning an array of the results of
     * each invocation. The iteratee is invoked with one argument; (index).
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {number} n The number of times to invoke `iteratee`.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the array of results.
     * @example
     *
     * _.times(3, String);
     * // => ['0', '1', '2']
     *
     *  _.times(4, _.constant(0));
     * // => [0, 0, 0, 0]
     */
    function times(n, iteratee) {
      n = toInteger(n);
      if (n < 1 || n > MAX_SAFE_INTEGER) {
        return [];
      }
      var index = MAX_ARRAY_LENGTH,
          length = nativeMin(n, MAX_ARRAY_LENGTH);

      iteratee = getIteratee(iteratee);
      n -= MAX_ARRAY_LENGTH;

      var result = baseTimes(length, iteratee);
      while (++index < n) {
        iteratee(index);
      }
      return result;
    }

    /**
     * Converts `value` to a property path array.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {*} value The value to convert.
     * @returns {Array} Returns the new property path array.
     * @example
     *
     * _.toPath('a.b.c');
     * // => ['a', 'b', 'c']
     *
     * _.toPath('a[0].b.c');
     * // => ['a', '0', 'b', 'c']
     */
    function toPath(value) {
      if (isArray(value)) {
        return arrayMap(value, toKey);
      }
      return isSymbol(value) ? [value] : copyArray(stringToPath(toString(value)));
    }

    /**
     * Generates a unique ID. If `prefix` is given, the ID is appended to it.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {string} [prefix=''] The value to prefix the ID with.
     * @returns {string} Returns the unique ID.
     * @example
     *
     * _.uniqueId('contact_');
     * // => 'contact_104'
     *
     * _.uniqueId();
     * // => '105'
     */
    function uniqueId(prefix) {
      var id = ++idCounter;
      return toString(prefix) + id;
    }

    /*------------------------------------------------------------------------*/

    /**
     * Adds two numbers.
     *
     * @static
     * @memberOf _
     * @since 3.4.0
     * @category Math
     * @param {number} augend The first number in an addition.
     * @param {number} addend The second number in an addition.
     * @returns {number} Returns the total.
     * @example
     *
     * _.add(6, 4);
     * // => 10
     */
    var add = createMathOperation(function(augend, addend) {
      return augend + addend;
    }, 0);

    /**
     * Computes `number` rounded up to `precision`.
     *
     * @static
     * @memberOf _
     * @since 3.10.0
     * @category Math
     * @param {number} number The number to round up.
     * @param {number} [precision=0] The precision to round up to.
     * @returns {number} Returns the rounded up number.
     * @example
     *
     * _.ceil(4.006);
     * // => 5
     *
     * _.ceil(6.004, 2);
     * // => 6.01
     *
     * _.ceil(6040, -2);
     * // => 6100
     */
    var ceil = createRound('ceil');

    /**
     * Divide two numbers.
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Math
     * @param {number} dividend The first number in a division.
     * @param {number} divisor The second number in a division.
     * @returns {number} Returns the quotient.
     * @example
     *
     * _.divide(6, 4);
     * // => 1.5
     */
    var divide = createMathOperation(function(dividend, divisor) {
      return dividend / divisor;
    }, 1);

    /**
     * Computes `number` rounded down to `precision`.
     *
     * @static
     * @memberOf _
     * @since 3.10.0
     * @category Math
     * @param {number} number The number to round down.
     * @param {number} [precision=0] The precision to round down to.
     * @returns {number} Returns the rounded down number.
     * @example
     *
     * _.floor(4.006);
     * // => 4
     *
     * _.floor(0.046, 2);
     * // => 0.04
     *
     * _.floor(4060, -2);
     * // => 4000
     */
    var floor = createRound('floor');

    /**
     * Computes the maximum value of `array`. If `array` is empty or falsey,
     * `undefined` is returned.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Math
     * @param {Array} array The array to iterate over.
     * @returns {*} Returns the maximum value.
     * @example
     *
     * _.max([4, 2, 8, 6]);
     * // => 8
     *
     * _.max([]);
     * // => undefined
     */
    function max(array) {
      return (array && array.length)
        ? baseExtremum(array, identity, baseGt)
        : undefined;
    }

    /**
     * This method is like `_.max` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the criterion by which
     * the value is ranked. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {*} Returns the maximum value.
     * @example
     *
     * var objects = [{ 'n': 1 }, { 'n': 2 }];
     *
     * _.maxBy(objects, function(o) { return o.n; });
     * // => { 'n': 2 }
     *
     * // The `_.property` iteratee shorthand.
     * _.maxBy(objects, 'n');
     * // => { 'n': 2 }
     */
    function maxBy(array, iteratee) {
      return (array && array.length)
        ? baseExtremum(array, getIteratee(iteratee, 2), baseGt)
        : undefined;
    }

    /**
     * Computes the mean of the values in `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @returns {number} Returns the mean.
     * @example
     *
     * _.mean([4, 2, 8, 6]);
     * // => 5
     */
    function mean(array) {
      return baseMean(array, identity);
    }

    /**
     * This method is like `_.mean` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the value to be averaged.
     * The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {number} Returns the mean.
     * @example
     *
     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
     *
     * _.meanBy(objects, function(o) { return o.n; });
     * // => 5
     *
     * // The `_.property` iteratee shorthand.
     * _.meanBy(objects, 'n');
     * // => 5
     */
    function meanBy(array, iteratee) {
      return baseMean(array, getIteratee(iteratee, 2));
    }

    /**
     * Computes the minimum value of `array`. If `array` is empty or falsey,
     * `undefined` is returned.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Math
     * @param {Array} array The array to iterate over.
     * @returns {*} Returns the minimum value.
     * @example
     *
     * _.min([4, 2, 8, 6]);
     * // => 2
     *
     * _.min([]);
     * // => undefined
     */
    function min(array) {
      return (array && array.length)
        ? baseExtremum(array, identity, baseLt)
        : undefined;
    }

    /**
     * This method is like `_.min` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the criterion by which
     * the value is ranked. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {*} Returns the minimum value.
     * @example
     *
     * var objects = [{ 'n': 1 }, { 'n': 2 }];
     *
     * _.minBy(objects, function(o) { return o.n; });
     * // => { 'n': 1 }
     *
     * // The `_.property` iteratee shorthand.
     * _.minBy(objects, 'n');
     * // => { 'n': 1 }
     */
    function minBy(array, iteratee) {
      return (array && array.length)
        ? baseExtremum(array, getIteratee(iteratee, 2), baseLt)
        : undefined;
    }

    /**
     * Multiply two numbers.
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Math
     * @param {number} multiplier The first number in a multiplication.
     * @param {number} multiplicand The second number in a multiplication.
     * @returns {number} Returns the product.
     * @example
     *
     * _.multiply(6, 4);
     * // => 24
     */
    var multiply = createMathOperation(function(multiplier, multiplicand) {
      return multiplier * multiplicand;
    }, 1);

    /**
     * Computes `number` rounded to `precision`.
     *
     * @static
     * @memberOf _
     * @since 3.10.0
     * @category Math
     * @param {number} number The number to round.
     * @param {number} [precision=0] The precision to round to.
     * @returns {number} Returns the rounded number.
     * @example
     *
     * _.round(4.006);
     * // => 4
     *
     * _.round(4.006, 2);
     * // => 4.01
     *
     * _.round(4060, -2);
     * // => 4100
     */
    var round = createRound('round');

    /**
     * Subtract two numbers.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {number} minuend The first number in a subtraction.
     * @param {number} subtrahend The second number in a subtraction.
     * @returns {number} Returns the difference.
     * @example
     *
     * _.subtract(6, 4);
     * // => 2
     */
    var subtract = createMathOperation(function(minuend, subtrahend) {
      return minuend - subtrahend;
    }, 0);

    /**
     * Computes the sum of the values in `array`.
     *
     * @static
     * @memberOf _
     * @since 3.4.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @returns {number} Returns the sum.
     * @example
     *
     * _.sum([4, 2, 8, 6]);
     * // => 20
     */
    function sum(array) {
      return (array && array.length)
        ? baseSum(array, identity)
        : 0;
    }

    /**
     * This method is like `_.sum` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the value to be summed.
     * The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {number} Returns the sum.
     * @example
     *
     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
     *
     * _.sumBy(objects, function(o) { return o.n; });
     * // => 20
     *
     * // The `_.property` iteratee shorthand.
     * _.sumBy(objects, 'n');
     * // => 20
     */
    function sumBy(array, iteratee) {
      return (array && array.length)
        ? baseSum(array, getIteratee(iteratee, 2))
        : 0;
    }

    /*------------------------------------------------------------------------*/

    // Add methods that return wrapped values in chain sequences.
    lodash.after = after;
    lodash.ary = ary;
    lodash.assign = assign;
    lodash.assignIn = assignIn;
    lodash.assignInWith = assignInWith;
    lodash.assignWith = assignWith;
    lodash.at = at;
    lodash.before = before;
    lodash.bind = bind;
    lodash.bindAll = bindAll;
    lodash.bindKey = bindKey;
    lodash.castArray = castArray;
    lodash.chain = chain;
    lodash.chunk = chunk;
    lodash.compact = compact;
    lodash.concat = concat;
    lodash.cond = cond;
    lodash.conforms = conforms;
    lodash.constant = constant;
    lodash.countBy = countBy;
    lodash.create = create;
    lodash.curry = curry;
    lodash.curryRight = curryRight;
    lodash.debounce = debounce;
    lodash.defaults = defaults;
    lodash.defaultsDeep = defaultsDeep;
    lodash.defer = defer;
    lodash.delay = delay;
    lodash.difference = difference;
    lodash.differenceBy = differenceBy;
    lodash.differenceWith = differenceWith;
    lodash.drop = drop;
    lodash.dropRight = dropRight;
    lodash.dropRightWhile = dropRightWhile;
    lodash.dropWhile = dropWhile;
    lodash.fill = fill;
    lodash.filter = filter;
    lodash.flatMap = flatMap;
    lodash.flatMapDeep = flatMapDeep;
    lodash.flatMapDepth = flatMapDepth;
    lodash.flatten = flatten;
    lodash.flattenDeep = flattenDeep;
    lodash.flattenDepth = flattenDepth;
    lodash.flip = flip;
    lodash.flow = flow;
    lodash.flowRight = flowRight;
    lodash.fromPairs = fromPairs;
    lodash.functions = functions;
    lodash.functionsIn = functionsIn;
    lodash.groupBy = groupBy;
    lodash.initial = initial;
    lodash.intersection = intersection;
    lodash.intersectionBy = intersectionBy;
    lodash.intersectionWith = intersectionWith;
    lodash.invert = invert;
    lodash.invertBy = invertBy;
    lodash.invokeMap = invokeMap;
    lodash.iteratee = iteratee;
    lodash.keyBy = keyBy;
    lodash.keys = keys;
    lodash.keysIn = keysIn;
    lodash.map = map;
    lodash.mapKeys = mapKeys;
    lodash.mapValues = mapValues;
    lodash.matches = matches;
    lodash.matchesProperty = matchesProperty;
    lodash.memoize = memoize;
    lodash.merge = merge;
    lodash.mergeWith = mergeWith;
    lodash.method = method;
    lodash.methodOf = methodOf;
    lodash.mixin = mixin;
    lodash.negate = negate;
    lodash.nthArg = nthArg;
    lodash.omit = omit;
    lodash.omitBy = omitBy;
    lodash.once = once;
    lodash.orderBy = orderBy;
    lodash.over = over;
    lodash.overArgs = overArgs;
    lodash.overEvery = overEvery;
    lodash.overSome = overSome;
    lodash.partial = partial;
    lodash.partialRight = partialRight;
    lodash.partition = partition;
    lodash.pick = pick;
    lodash.pickBy = pickBy;
    lodash.property = property;
    lodash.propertyOf = propertyOf;
    lodash.pull = pull;
    lodash.pullAll = pullAll;
    lodash.pullAllBy = pullAllBy;
    lodash.pullAllWith = pullAllWith;
    lodash.pullAt = pullAt;
    lodash.range = range;
    lodash.rangeRight = rangeRight;
    lodash.rearg = rearg;
    lodash.reject = reject;
    lodash.remove = remove;
    lodash.rest = rest;
    lodash.reverse = reverse;
    lodash.sampleSize = sampleSize;
    lodash.set = set;
    lodash.setWith = setWith;
    lodash.shuffle = shuffle;
    lodash.slice = slice;
    lodash.sortBy = sortBy;
    lodash.sortedUniq = sortedUniq;
    lodash.sortedUniqBy = sortedUniqBy;
    lodash.split = split;
    lodash.spread = spread;
    lodash.tail = tail;
    lodash.take = take;
    lodash.takeRight = takeRight;
    lodash.takeRightWhile = takeRightWhile;
    lodash.takeWhile = takeWhile;
    lodash.tap = tap;
    lodash.throttle = throttle;
    lodash.thru = thru;
    lodash.toArray = toArray;
    lodash.toPairs = toPairs;
    lodash.toPairsIn = toPairsIn;
    lodash.toPath = toPath;
    lodash.toPlainObject = toPlainObject;
    lodash.transform = transform;
    lodash.unary = unary;
    lodash.union = union;
    lodash.unionBy = unionBy;
    lodash.unionWith = unionWith;
    lodash.uniq = uniq;
    lodash.uniqBy = uniqBy;
    lodash.uniqWith = uniqWith;
    lodash.unset = unset;
    lodash.unzip = unzip;
    lodash.unzipWith = unzipWith;
    lodash.update = update;
    lodash.updateWith = updateWith;
    lodash.values = values;
    lodash.valuesIn = valuesIn;
    lodash.without = without;
    lodash.words = words;
    lodash.wrap = wrap;
    lodash.xor = xor;
    lodash.xorBy = xorBy;
    lodash.xorWith = xorWith;
    lodash.zip = zip;
    lodash.zipObject = zipObject;
    lodash.zipObjectDeep = zipObjectDeep;
    lodash.zipWith = zipWith;

    // Add aliases.
    lodash.entries = toPairs;
    lodash.entriesIn = toPairsIn;
    lodash.extend = assignIn;
    lodash.extendWith = assignInWith;

    // Add methods to `lodash.prototype`.
    mixin(lodash, lodash);

    /*------------------------------------------------------------------------*/

    // Add methods that return unwrapped values in chain sequences.
    lodash.add = add;
    lodash.attempt = attempt;
    lodash.camelCase = camelCase;
    lodash.capitalize = capitalize;
    lodash.ceil = ceil;
    lodash.clamp = clamp;
    lodash.clone = clone;
    lodash.cloneDeep = cloneDeep;
    lodash.cloneDeepWith = cloneDeepWith;
    lodash.cloneWith = cloneWith;
    lodash.conformsTo = conformsTo;
    lodash.deburr = deburr;
    lodash.defaultTo = defaultTo;
    lodash.divide = divide;
    lodash.endsWith = endsWith;
    lodash.eq = eq;
    lodash.escape = escape;
    lodash.escapeRegExp = escapeRegExp;
    lodash.every = every;
    lodash.find = find;
    lodash.findIndex = findIndex;
    lodash.findKey = findKey;
    lodash.findLast = findLast;
    lodash.findLastIndex = findLastIndex;
    lodash.findLastKey = findLastKey;
    lodash.floor = floor;
    lodash.forEach = forEach;
    lodash.forEachRight = forEachRight;
    lodash.forIn = forIn;
    lodash.forInRight = forInRight;
    lodash.forOwn = forOwn;
    lodash.forOwnRight = forOwnRight;
    lodash.get = get;
    lodash.gt = gt;
    lodash.gte = gte;
    lodash.has = has;
    lodash.hasIn = hasIn;
    lodash.head = head;
    lodash.identity = identity;
    lodash.includes = includes;
    lodash.indexOf = indexOf;
    lodash.inRange = inRange;
    lodash.invoke = invoke;
    lodash.isArguments = isArguments;
    lodash.isArray = isArray;
    lodash.isArrayBuffer = isArrayBuffer;
    lodash.isArrayLike = isArrayLike;
    lodash.isArrayLikeObject = isArrayLikeObject;
    lodash.isBoolean = isBoolean;
    lodash.isBuffer = isBuffer;
    lodash.isDate = isDate;
    lodash.isElement = isElement;
    lodash.isEmpty = isEmpty;
    lodash.isEqual = isEqual;
    lodash.isEqualWith = isEqualWith;
    lodash.isError = isError;
    lodash.isFinite = isFinite;
    lodash.isFunction = isFunction;
    lodash.isInteger = isInteger;
    lodash.isLength = isLength;
    lodash.isMap = isMap;
    lodash.isMatch = isMatch;
    lodash.isMatchWith = isMatchWith;
    lodash.isNaN = isNaN;
    lodash.isNative = isNative;
    lodash.isNil = isNil;
    lodash.isNull = isNull;
    lodash.isNumber = isNumber;
    lodash.isObject = isObject;
    lodash.isObjectLike = isObjectLike;
    lodash.isPlainObject = isPlainObject;
    lodash.isRegExp = isRegExp;
    lodash.isSafeInteger = isSafeInteger;
    lodash.isSet = isSet;
    lodash.isString = isString;
    lodash.isSymbol = isSymbol;
    lodash.isTypedArray = isTypedArray;
    lodash.isUndefined = isUndefined;
    lodash.isWeakMap = isWeakMap;
    lodash.isWeakSet = isWeakSet;
    lodash.join = join;
    lodash.kebabCase = kebabCase;
    lodash.last = last;
    lodash.lastIndexOf = lastIndexOf;
    lodash.lowerCase = lowerCase;
    lodash.lowerFirst = lowerFirst;
    lodash.lt = lt;
    lodash.lte = lte;
    lodash.max = max;
    lodash.maxBy = maxBy;
    lodash.mean = mean;
    lodash.meanBy = meanBy;
    lodash.min = min;
    lodash.minBy = minBy;
    lodash.stubArray = stubArray;
    lodash.stubFalse = stubFalse;
    lodash.stubObject = stubObject;
    lodash.stubString = stubString;
    lodash.stubTrue = stubTrue;
    lodash.multiply = multiply;
    lodash.nth = nth;
    lodash.noConflict = noConflict;
    lodash.noop = noop;
    lodash.now = now;
    lodash.pad = pad;
    lodash.padEnd = padEnd;
    lodash.padStart = padStart;
    lodash.parseInt = parseInt;
    lodash.random = random;
    lodash.reduce = reduce;
    lodash.reduceRight = reduceRight;
    lodash.repeat = repeat;
    lodash.replace = replace;
    lodash.result = result;
    lodash.round = round;
    lodash.runInContext = runInContext;
    lodash.sample = sample;
    lodash.size = size;
    lodash.snakeCase = snakeCase;
    lodash.some = some;
    lodash.sortedIndex = sortedIndex;
    lodash.sortedIndexBy = sortedIndexBy;
    lodash.sortedIndexOf = sortedIndexOf;
    lodash.sortedLastIndex = sortedLastIndex;
    lodash.sortedLastIndexBy = sortedLastIndexBy;
    lodash.sortedLastIndexOf = sortedLastIndexOf;
    lodash.startCase = startCase;
    lodash.startsWith = startsWith;
    lodash.subtract = subtract;
    lodash.sum = sum;
    lodash.sumBy = sumBy;
    lodash.template = template;
    lodash.times = times;
    lodash.toFinite = toFinite;
    lodash.toInteger = toInteger;
    lodash.toLength = toLength;
    lodash.toLower = toLower;
    lodash.toNumber = toNumber;
    lodash.toSafeInteger = toSafeInteger;
    lodash.toString = toString;
    lodash.toUpper = toUpper;
    lodash.trim = trim;
    lodash.trimEnd = trimEnd;
    lodash.trimStart = trimStart;
    lodash.truncate = truncate;
    lodash.unescape = unescape;
    lodash.uniqueId = uniqueId;
    lodash.upperCase = upperCase;
    lodash.upperFirst = upperFirst;

    // Add aliases.
    lodash.each = forEach;
    lodash.eachRight = forEachRight;
    lodash.first = head;

    mixin(lodash, (function() {
      var source = {};
      baseForOwn(lodash, function(func, methodName) {
        if (!hasOwnProperty.call(lodash.prototype, methodName)) {
          source[methodName] = func;
        }
      });
      return source;
    }()), { 'chain': false });

    /*------------------------------------------------------------------------*/

    /**
     * The semantic version number.
     *
     * @static
     * @memberOf _
     * @type {string}
     */
    lodash.VERSION = VERSION;

    // Assign default placeholders.
    arrayEach(['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], function(methodName) {
      lodash[methodName].placeholder = lodash;
    });

    // Add `LazyWrapper` methods for `_.drop` and `_.take` variants.
    arrayEach(['drop', 'take'], function(methodName, index) {
      LazyWrapper.prototype[methodName] = function(n) {
        n = n === undefined ? 1 : nativeMax(toInteger(n), 0);

        var result = (this.__filtered__ && !index)
          ? new LazyWrapper(this)
          : this.clone();

        if (result.__filtered__) {
          result.__takeCount__ = nativeMin(n, result.__takeCount__);
        } else {
          result.__views__.push({
            'size': nativeMin(n, MAX_ARRAY_LENGTH),
            'type': methodName + (result.__dir__ < 0 ? 'Right' : '')
          });
        }
        return result;
      };

      LazyWrapper.prototype[methodName + 'Right'] = function(n) {
        return this.reverse()[methodName](n).reverse();
      };
    });

    // Add `LazyWrapper` methods that accept an `iteratee` value.
    arrayEach(['filter', 'map', 'takeWhile'], function(methodName, index) {
      var type = index + 1,
          isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG;

      LazyWrapper.prototype[methodName] = function(iteratee) {
        var result = this.clone();
        result.__iteratees__.push({
          'iteratee': getIteratee(iteratee, 3),
          'type': type
        });
        result.__filtered__ = result.__filtered__ || isFilter;
        return result;
      };
    });

    // Add `LazyWrapper` methods for `_.head` and `_.last`.
    arrayEach(['head', 'last'], function(methodName, index) {
      var takeName = 'take' + (index ? 'Right' : '');

      LazyWrapper.prototype[methodName] = function() {
        return this[takeName](1).value()[0];
      };
    });

    // Add `LazyWrapper` methods for `_.initial` and `_.tail`.
    arrayEach(['initial', 'tail'], function(methodName, index) {
      var dropName = 'drop' + (index ? '' : 'Right');

      LazyWrapper.prototype[methodName] = function() {
        return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);
      };
    });

    LazyWrapper.prototype.compact = function() {
      return this.filter(identity);
    };

    LazyWrapper.prototype.find = function(predicate) {
      return this.filter(predicate).head();
    };

    LazyWrapper.prototype.findLast = function(predicate) {
      return this.reverse().find(predicate);
    };

    LazyWrapper.prototype.invokeMap = baseRest(function(path, args) {
      if (typeof path == 'function') {
        return new LazyWrapper(this);
      }
      return this.map(function(value) {
        return baseInvoke(value, path, args);
      });
    });

    LazyWrapper.prototype.reject = function(predicate) {
      return this.filter(negate(getIteratee(predicate)));
    };

    LazyWrapper.prototype.slice = function(start, end) {
      start = toInteger(start);

      var result = this;
      if (result.__filtered__ && (start > 0 || end < 0)) {
        return new LazyWrapper(result);
      }
      if (start < 0) {
        result = result.takeRight(-start);
      } else if (start) {
        result = result.drop(start);
      }
      if (end !== undefined) {
        end = toInteger(end);
        result = end < 0 ? result.dropRight(-end) : result.take(end - start);
      }
      return result;
    };

    LazyWrapper.prototype.takeRightWhile = function(predicate) {
      return this.reverse().takeWhile(predicate).reverse();
    };

    LazyWrapper.prototype.toArray = function() {
      return this.take(MAX_ARRAY_LENGTH);
    };

    // Add `LazyWrapper` methods to `lodash.prototype`.
    baseForOwn(LazyWrapper.prototype, function(func, methodName) {
      var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName),
          isTaker = /^(?:head|last)$/.test(methodName),
          lodashFunc = lodash[isTaker ? ('take' + (methodName == 'last' ? 'Right' : '')) : methodName],
          retUnwrapped = isTaker || /^find/.test(methodName);

      if (!lodashFunc) {
        return;
      }
      lodash.prototype[methodName] = function() {
        var value = this.__wrapped__,
            args = isTaker ? [1] : arguments,
            isLazy = value instanceof LazyWrapper,
            iteratee = args[0],
            useLazy = isLazy || isArray(value);

        var interceptor = function(value) {
          var result = lodashFunc.apply(lodash, arrayPush([value], args));
          return (isTaker && chainAll) ? result[0] : result;
        };

        if (useLazy && checkIteratee && typeof iteratee == 'function' && iteratee.length != 1) {
          // Avoid lazy use if the iteratee has a "length" value other than `1`.
          isLazy = useLazy = false;
        }
        var chainAll = this.__chain__,
            isHybrid = !!this.__actions__.length,
            isUnwrapped = retUnwrapped && !chainAll,
            onlyLazy = isLazy && !isHybrid;

        if (!retUnwrapped && useLazy) {
          value = onlyLazy ? value : new LazyWrapper(this);
          var result = func.apply(value, args);
          result.__actions__.push({ 'func': thru, 'args': [interceptor], 'thisArg': undefined });
          return new LodashWrapper(result, chainAll);
        }
        if (isUnwrapped && onlyLazy) {
          return func.apply(this, args);
        }
        result = this.thru(interceptor);
        return isUnwrapped ? (isTaker ? result.value()[0] : result.value()) : result;
      };
    });

    // Add `Array` methods to `lodash.prototype`.
    arrayEach(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function(methodName) {
      var func = arrayProto[methodName],
          chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru',
          retUnwrapped = /^(?:pop|shift)$/.test(methodName);

      lodash.prototype[methodName] = function() {
        var args = arguments;
        if (retUnwrapped && !this.__chain__) {
          var value = this.value();
          return func.apply(isArray(value) ? value : [], args);
        }
        return this[chainName](function(value) {
          return func.apply(isArray(value) ? value : [], args);
        });
      };
    });

    // Map minified method names to their real names.
    baseForOwn(LazyWrapper.prototype, function(func, methodName) {
      var lodashFunc = lodash[methodName];
      if (lodashFunc) {
        var key = lodashFunc.name + '';
        if (!hasOwnProperty.call(realNames, key)) {
          realNames[key] = [];
        }
        realNames[key].push({ 'name': methodName, 'func': lodashFunc });
      }
    });

    realNames[createHybrid(undefined, WRAP_BIND_KEY_FLAG).name] = [{
      'name': 'wrapper',
      'func': undefined
    }];

    // Add methods to `LazyWrapper`.
    LazyWrapper.prototype.clone = lazyClone;
    LazyWrapper.prototype.reverse = lazyReverse;
    LazyWrapper.prototype.value = lazyValue;

    // Add chain sequence methods to the `lodash` wrapper.
    lodash.prototype.at = wrapperAt;
    lodash.prototype.chain = wrapperChain;
    lodash.prototype.commit = wrapperCommit;
    lodash.prototype.next = wrapperNext;
    lodash.prototype.plant = wrapperPlant;
    lodash.prototype.reverse = wrapperReverse;
    lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;

    // Add lazy aliases.
    lodash.prototype.first = lodash.prototype.head;

    if (symIterator) {
      lodash.prototype[symIterator] = wrapperToIterator;
    }
    return lodash;
  });

  /*--------------------------------------------------------------------------*/

  // Export lodash.
  var _ = runInContext();

  // Some AMD build optimizers, like r.js, check for condition patterns like:
  if (true) {
    // Expose Lodash on the global object to prevent errors when Lodash is
    // loaded by a script tag in the presence of an AMD loader.
    // See http://requirejs.org/docs/errors.html#mismatch for more details.
    // Use `_.noConflict` to remove Lodash from the global object.
    root._ = _;

    // Define as an anonymous module so, through path mapping, it can be
    // referenced as the "underscore" module.
    !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {
      return _;
    }).call(exports, __webpack_require__, exports, module),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  }
  // Check for `exports` after `define` in case a build optimizer adds it.
  else {}
}.call(this));

/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(25), __webpack_require__(28)(module)))

/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(66);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 4 */
/***/ (function(module, exports) {

/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author Tobias Koppers @sokra
*/
// css base code, injected by the css-loader
module.exports = function(useSourceMap) {
	var list = [];

	// return the list of modules as css string
	list.toString = function toString() {
		return this.map(function (item) {
			var content = cssWithMappingToString(item, useSourceMap);
			if(item[2]) {
				return "@media " + item[2] + "{" + content + "}";
			} else {
				return content;
			}
		}).join("");
	};

	// import a list of modules into the list
	list.i = function(modules, mediaQuery) {
		if(typeof modules === "string")
			modules = [[null, modules, ""]];
		var alreadyImportedModules = {};
		for(var i = 0; i < this.length; i++) {
			var id = this[i][0];
			if(typeof id === "number")
				alreadyImportedModules[id] = true;
		}
		for(i = 0; i < modules.length; i++) {
			var item = modules[i];
			// skip already imported module
			// this implementation is not 100% perfect for weird media query combinations
			//  when a module is imported multiple times with different media queries.
			//  I hope this will never occur (Hey this way we have smaller bundles)
			if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
				if(mediaQuery && !item[2]) {
					item[2] = mediaQuery;
				} else if(mediaQuery) {
					item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
				}
				list.push(item);
			}
		}
	};
	return list;
};

function cssWithMappingToString(item, useSourceMap) {
	var content = item[1] || '';
	var cssMapping = item[3];
	if (!cssMapping) {
		return content;
	}

	if (useSourceMap && typeof btoa === 'function') {
		var sourceMapping = toComment(cssMapping);
		var sourceURLs = cssMapping.sources.map(function (source) {
			return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
		});

		return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
	}

	return [content].join('\n');
}

// Adapted from convert-source-map (MIT)
function toComment(sourceMap) {
	// eslint-disable-next-line no-undef
	var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
	var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;

	return '/*# ' + data + ' */';
}


/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {

/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author Tobias Koppers @sokra
*/

var stylesInDom = {};

var	memoize = function (fn) {
	var memo;

	return function () {
		if (typeof memo === "undefined") memo = fn.apply(this, arguments);
		return memo;
	};
};

var isOldIE = memoize(function () {
	// Test for IE <= 9 as proposed by Browserhacks
	// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
	// Tests for existence of standard globals is to allow style-loader
	// to operate correctly into non-standard environments
	// @see https://github.com/webpack-contrib/style-loader/issues/177
	return window && document && document.all && !window.atob;
});

var getTarget = function (target, parent) {
  if (parent){
    return parent.querySelector(target);
  }
  return document.querySelector(target);
};

var getElement = (function (fn) {
	var memo = {};

	return function(target, parent) {
                // If passing function in options, then use it for resolve "head" element.
                // Useful for Shadow Root style i.e
                // {
                //   insertInto: function () { return document.querySelector("#foo").shadowRoot }
                // }
                if (typeof target === 'function') {
                        return target();
                }
                if (typeof memo[target] === "undefined") {
			var styleTarget = getTarget.call(this, target, parent);
			// Special case to return head of iframe instead of iframe itself
			if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
				try {
					// This will throw an exception if access to iframe is blocked
					// due to cross-origin restrictions
					styleTarget = styleTarget.contentDocument.head;
				} catch(e) {
					styleTarget = null;
				}
			}
			memo[target] = styleTarget;
		}
		return memo[target]
	};
})();

var singleton = null;
var	singletonCounter = 0;
var	stylesInsertedAtTop = [];

var	fixUrls = __webpack_require__(68);

module.exports = function(list, options) {
	if (typeof DEBUG !== "undefined" && DEBUG) {
		if (typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment");
	}

	options = options || {};

	options.attrs = typeof options.attrs === "object" ? options.attrs : {};

	// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
	// tags it will allow on a page
	if (!options.singleton && typeof options.singleton !== "boolean") options.singleton = isOldIE();

	// By default, add <style> tags to the <head> element
        if (!options.insertInto) options.insertInto = "head";

	// By default, add <style> tags to the bottom of the target
	if (!options.insertAt) options.insertAt = "bottom";

	var styles = listToStyles(list, options);

	addStylesToDom(styles, options);

	return function update (newList) {
		var mayRemove = [];

		for (var i = 0; i < styles.length; i++) {
			var item = styles[i];
			var domStyle = stylesInDom[item.id];

			domStyle.refs--;
			mayRemove.push(domStyle);
		}

		if(newList) {
			var newStyles = listToStyles(newList, options);
			addStylesToDom(newStyles, options);
		}

		for (var i = 0; i < mayRemove.length; i++) {
			var domStyle = mayRemove[i];

			if(domStyle.refs === 0) {
				for (var j = 0; j < domStyle.parts.length; j++) domStyle.parts[j]();

				delete stylesInDom[domStyle.id];
			}
		}
	};
};

function addStylesToDom (styles, options) {
	for (var i = 0; i < styles.length; i++) {
		var item = styles[i];
		var domStyle = stylesInDom[item.id];

		if(domStyle) {
			domStyle.refs++;

			for(var j = 0; j < domStyle.parts.length; j++) {
				domStyle.parts[j](item.parts[j]);
			}

			for(; j < item.parts.length; j++) {
				domStyle.parts.push(addStyle(item.parts[j], options));
			}
		} else {
			var parts = [];

			for(var j = 0; j < item.parts.length; j++) {
				parts.push(addStyle(item.parts[j], options));
			}

			stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};
		}
	}
}

function listToStyles (list, options) {
	var styles = [];
	var newStyles = {};

	for (var i = 0; i < list.length; i++) {
		var item = list[i];
		var id = options.base ? item[0] + options.base : item[0];
		var css = item[1];
		var media = item[2];
		var sourceMap = item[3];
		var part = {css: css, media: media, sourceMap: sourceMap};

		if(!newStyles[id]) styles.push(newStyles[id] = {id: id, parts: [part]});
		else newStyles[id].parts.push(part);
	}

	return styles;
}

function insertStyleElement (options, style) {
	var target = getElement(options.insertInto)

	if (!target) {
		throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");
	}

	var lastStyleElementInsertedAtTop = stylesInsertedAtTop[stylesInsertedAtTop.length - 1];

	if (options.insertAt === "top") {
		if (!lastStyleElementInsertedAtTop) {
			target.insertBefore(style, target.firstChild);
		} else if (lastStyleElementInsertedAtTop.nextSibling) {
			target.insertBefore(style, lastStyleElementInsertedAtTop.nextSibling);
		} else {
			target.appendChild(style);
		}
		stylesInsertedAtTop.push(style);
	} else if (options.insertAt === "bottom") {
		target.appendChild(style);
	} else if (typeof options.insertAt === "object" && options.insertAt.before) {
		var nextSibling = getElement(options.insertAt.before, target);
		target.insertBefore(style, nextSibling);
	} else {
		throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");
	}
}

function removeStyleElement (style) {
	if (style.parentNode === null) return false;
	style.parentNode.removeChild(style);

	var idx = stylesInsertedAtTop.indexOf(style);
	if(idx >= 0) {
		stylesInsertedAtTop.splice(idx, 1);
	}
}

function createStyleElement (options) {
	var style = document.createElement("style");

	if(options.attrs.type === undefined) {
		options.attrs.type = "text/css";
	}

	if(options.attrs.nonce === undefined) {
		var nonce = getNonce();
		if (nonce) {
			options.attrs.nonce = nonce;
		}
	}

	addAttrs(style, options.attrs);
	insertStyleElement(options, style);

	return style;
}

function createLinkElement (options) {
	var link = document.createElement("link");

	if(options.attrs.type === undefined) {
		options.attrs.type = "text/css";
	}
	options.attrs.rel = "stylesheet";

	addAttrs(link, options.attrs);
	insertStyleElement(options, link);

	return link;
}

function addAttrs (el, attrs) {
	Object.keys(attrs).forEach(function (key) {
		el.setAttribute(key, attrs[key]);
	});
}

function getNonce() {
	if (false) {}

	return __webpack_require__.nc;
}

function addStyle (obj, options) {
	var style, update, remove, result;

	// If a transform function was defined, run it on the css
	if (options.transform && obj.css) {
	    result = typeof options.transform === 'function'
		 ? options.transform(obj.css) 
		 : options.transform.default(obj.css);

	    if (result) {
	    	// If transform returns a value, use that instead of the original css.
	    	// This allows running runtime transformations on the css.
	    	obj.css = result;
	    } else {
	    	// If the transform function returns a falsy value, don't add this css.
	    	// This allows conditional loading of css
	    	return function() {
	    		// noop
	    	};
	    }
	}

	if (options.singleton) {
		var styleIndex = singletonCounter++;

		style = singleton || (singleton = createStyleElement(options));

		update = applyToSingletonTag.bind(null, style, styleIndex, false);
		remove = applyToSingletonTag.bind(null, style, styleIndex, true);

	} else if (
		obj.sourceMap &&
		typeof URL === "function" &&
		typeof URL.createObjectURL === "function" &&
		typeof URL.revokeObjectURL === "function" &&
		typeof Blob === "function" &&
		typeof btoa === "function"
	) {
		style = createLinkElement(options);
		update = updateLink.bind(null, style, options);
		remove = function () {
			removeStyleElement(style);

			if(style.href) URL.revokeObjectURL(style.href);
		};
	} else {
		style = createStyleElement(options);
		update = applyToTag.bind(null, style);
		remove = function () {
			removeStyleElement(style);
		};
	}

	update(obj);

	return function updateStyle (newObj) {
		if (newObj) {
			if (
				newObj.css === obj.css &&
				newObj.media === obj.media &&
				newObj.sourceMap === obj.sourceMap
			) {
				return;
			}

			update(obj = newObj);
		} else {
			remove();
		}
	};
}

var replaceText = (function () {
	var textStore = [];

	return function (index, replacement) {
		textStore[index] = replacement;

		return textStore.filter(Boolean).join('\n');
	};
})();

function applyToSingletonTag (style, index, remove, obj) {
	var css = remove ? "" : obj.css;

	if (style.styleSheet) {
		style.styleSheet.cssText = replaceText(index, css);
	} else {
		var cssNode = document.createTextNode(css);
		var childNodes = style.childNodes;

		if (childNodes[index]) style.removeChild(childNodes[index]);

		if (childNodes.length) {
			style.insertBefore(cssNode, childNodes[index]);
		} else {
			style.appendChild(cssNode);
		}
	}
}

function applyToTag (style, obj) {
	var css = obj.css;
	var media = obj.media;

	if(media) {
		style.setAttribute("media", media)
	}

	if(style.styleSheet) {
		style.styleSheet.cssText = css;
	} else {
		while(style.firstChild) {
			style.removeChild(style.firstChild);
		}

		style.appendChild(document.createTextNode(css));
	}
}

function updateLink (link, options, obj) {
	var css = obj.css;
	var sourceMap = obj.sourceMap;

	/*
		If convertToAbsoluteUrls isn't defined, but sourcemaps are enabled
		and there is no publicPath defined then lets turn convertToAbsoluteUrls
		on by default.  Otherwise default to the convertToAbsoluteUrls option
		directly
	*/
	var autoFixUrls = options.convertToAbsoluteUrls === undefined && sourceMap;

	if (options.convertToAbsoluteUrls || autoFixUrls) {
		css = fixUrls(css);
	}

	if (sourceMap) {
		// http://stackoverflow.com/a/26603875
		css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
	}

	var blob = new Blob([css], { type: "text/css" });

	var oldSrc = link.href;

	link.href = URL.createObjectURL(blob);

	if(oldSrc) URL.revokeObjectURL(oldSrc);
}


/***/ }),
/* 6 */
/***/ (function(module, exports) {

module.exports = function escape(url) {
    if (typeof url !== 'string') {
        return url
    }
    // If url is already wrapped in quotes, remove them
    if (/^['"].*['"]$/.test(url)) {
        url = url.slice(1, -1);
    }
    // Should url be wrapped?
    // See https://drafts.csswg.org/css-values-3/#urls
    if (/["'() \t\n]/.test(url)) {
        return '"' + url.replace(/"/g, '\\"').replace(/\n/g, '\\n') + '"'
    }

    return url
}


/***/ }),
/* 7 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "fonts/Fabriga-Regular.ttf");

/***/ }),
/* 8 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "fonts/Fabriga-RegularItalic.ttf");

/***/ }),
/* 9 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "fonts/Fabriga-LightItalic.ttf");

/***/ }),
/* 10 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "fonts/Fabriga-Light.ttf");

/***/ }),
/* 11 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "fonts/Fabriga-BoldItalic.ttf");

/***/ }),
/* 12 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "fonts/Fabriga-Bold.ttf");

/***/ }),
/* 13 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "fonts/Fabriga-BlackItalic.ttf");

/***/ }),
/* 14 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "fonts/Fabriga-Black.ttf");

/***/ }),
/* 15 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "fonts/Fabriga-Medium.ttf");

/***/ }),
/* 16 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (__webpack_require__.p + "fonts/Fabriga-MediumItalic.ttf");

/***/ }),
/* 17 */,
/* 18 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__(47);

/***/ }),
/* 19 */
/***/ (function(module, exports) {

module.exports = ReactDOM;

/***/ }),
/* 20 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var bind = __webpack_require__(29);

/*global toString:true*/

// utils is a library of generic helper functions non-specific to axios

var toString = Object.prototype.toString;

/**
 * Determine if a value is an Array
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is an Array, otherwise false
 */
function isArray(val) {
  return toString.call(val) === '[object Array]';
}

/**
 * Determine if a value is undefined
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if the value is undefined, otherwise false
 */
function isUndefined(val) {
  return typeof val === 'undefined';
}

/**
 * Determine if a value is a Buffer
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a Buffer, otherwise false
 */
function isBuffer(val) {
  return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
    && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);
}

/**
 * Determine if a value is an ArrayBuffer
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is an ArrayBuffer, otherwise false
 */
function isArrayBuffer(val) {
  return toString.call(val) === '[object ArrayBuffer]';
}

/**
 * Determine if a value is a FormData
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is an FormData, otherwise false
 */
function isFormData(val) {
  return (typeof FormData !== 'undefined') && (val instanceof FormData);
}

/**
 * Determine if a value is a view on an ArrayBuffer
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
 */
function isArrayBufferView(val) {
  var result;
  if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
    result = ArrayBuffer.isView(val);
  } else {
    result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);
  }
  return result;
}

/**
 * Determine if a value is a String
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a String, otherwise false
 */
function isString(val) {
  return typeof val === 'string';
}

/**
 * Determine if a value is a Number
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a Number, otherwise false
 */
function isNumber(val) {
  return typeof val === 'number';
}

/**
 * Determine if a value is an Object
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is an Object, otherwise false
 */
function isObject(val) {
  return val !== null && typeof val === 'object';
}

/**
 * Determine if a value is a plain Object
 *
 * @param {Object} val The value to test
 * @return {boolean} True if value is a plain Object, otherwise false
 */
function isPlainObject(val) {
  if (toString.call(val) !== '[object Object]') {
    return false;
  }

  var prototype = Object.getPrototypeOf(val);
  return prototype === null || prototype === Object.prototype;
}

/**
 * Determine if a value is a Date
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a Date, otherwise false
 */
function isDate(val) {
  return toString.call(val) === '[object Date]';
}

/**
 * Determine if a value is a File
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a File, otherwise false
 */
function isFile(val) {
  return toString.call(val) === '[object File]';
}

/**
 * Determine if a value is a Blob
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a Blob, otherwise false
 */
function isBlob(val) {
  return toString.call(val) === '[object Blob]';
}

/**
 * Determine if a value is a Function
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a Function, otherwise false
 */
function isFunction(val) {
  return toString.call(val) === '[object Function]';
}

/**
 * Determine if a value is a Stream
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a Stream, otherwise false
 */
function isStream(val) {
  return isObject(val) && isFunction(val.pipe);
}

/**
 * Determine if a value is a URLSearchParams object
 *
 * @param {Object} val The value to test
 * @returns {boolean} True if value is a URLSearchParams object, otherwise false
 */
function isURLSearchParams(val) {
  return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
}

/**
 * Trim excess whitespace off the beginning and end of a string
 *
 * @param {String} str The String to trim
 * @returns {String} The String freed of excess whitespace
 */
function trim(str) {
  return str.replace(/^\s*/, '').replace(/\s*$/, '');
}

/**
 * Determine if we're running in a standard browser environment
 *
 * This allows axios to run in a web worker, and react-native.
 * Both environments support XMLHttpRequest, but not fully standard globals.
 *
 * web workers:
 *  typeof window -> undefined
 *  typeof document -> undefined
 *
 * react-native:
 *  navigator.product -> 'ReactNative'
 * nativescript
 *  navigator.product -> 'NativeScript' or 'NS'
 */
function isStandardBrowserEnv() {
  if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||
                                           navigator.product === 'NativeScript' ||
                                           navigator.product === 'NS')) {
    return false;
  }
  return (
    typeof window !== 'undefined' &&
    typeof document !== 'undefined'
  );
}

/**
 * Iterate over an Array or an Object invoking a function for each item.
 *
 * If `obj` is an Array callback will be called passing
 * the value, index, and complete array for each item.
 *
 * If 'obj' is an Object callback will be called passing
 * the value, key, and complete object for each property.
 *
 * @param {Object|Array} obj The object to iterate
 * @param {Function} fn The callback to invoke for each item
 */
function forEach(obj, fn) {
  // Don't bother if no value provided
  if (obj === null || typeof obj === 'undefined') {
    return;
  }

  // Force an array if not already something iterable
  if (typeof obj !== 'object') {
    /*eslint no-param-reassign:0*/
    obj = [obj];
  }

  if (isArray(obj)) {
    // Iterate over array values
    for (var i = 0, l = obj.length; i < l; i++) {
      fn.call(null, obj[i], i, obj);
    }
  } else {
    // Iterate over object keys
    for (var key in obj) {
      if (Object.prototype.hasOwnProperty.call(obj, key)) {
        fn.call(null, obj[key], key, obj);
      }
    }
  }
}

/**
 * Accepts varargs expecting each argument to be an object, then
 * immutably merges the properties of each object and returns result.
 *
 * When multiple objects contain the same key the later object in
 * the arguments list will take precedence.
 *
 * Example:
 *
 * ```js
 * var result = merge({foo: 123}, {foo: 456});
 * console.log(result.foo); // outputs 456
 * ```
 *
 * @param {Object} obj1 Object to merge
 * @returns {Object} Result of all merge properties
 */
function merge(/* obj1, obj2, obj3, ... */) {
  var result = {};
  function assignValue(val, key) {
    if (isPlainObject(result[key]) && isPlainObject(val)) {
      result[key] = merge(result[key], val);
    } else if (isPlainObject(val)) {
      result[key] = merge({}, val);
    } else if (isArray(val)) {
      result[key] = val.slice();
    } else {
      result[key] = val;
    }
  }

  for (var i = 0, l = arguments.length; i < l; i++) {
    forEach(arguments[i], assignValue);
  }
  return result;
}

/**
 * Extends object a by mutably adding to it the properties of object b.
 *
 * @param {Object} a The object to be extended
 * @param {Object} b The object to copy properties from
 * @param {Object} thisArg The object to bind function to
 * @return {Object} The resulting value of object a
 */
function extend(a, b, thisArg) {
  forEach(b, function assignValue(val, key) {
    if (thisArg && typeof val === 'function') {
      a[key] = bind(val, thisArg);
    } else {
      a[key] = val;
    }
  });
  return a;
}

/**
 * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
 *
 * @param {string} content with BOM
 * @return {string} content value without BOM
 */
function stripBOM(content) {
  if (content.charCodeAt(0) === 0xFEFF) {
    content = content.slice(1);
  }
  return content;
}

module.exports = {
  isArray: isArray,
  isArrayBuffer: isArrayBuffer,
  isBuffer: isBuffer,
  isFormData: isFormData,
  isArrayBufferView: isArrayBufferView,
  isString: isString,
  isNumber: isNumber,
  isObject: isObject,
  isPlainObject: isPlainObject,
  isUndefined: isUndefined,
  isDate: isDate,
  isFile: isFile,
  isBlob: isBlob,
  isFunction: isFunction,
  isStream: isStream,
  isURLSearchParams: isURLSearchParams,
  isStandardBrowserEnv: isStandardBrowserEnv,
  forEach: forEach,
  merge: merge,
  extend: extend,
  trim: trim,
  stripBOM: stripBOM
};


/***/ }),
/* 21 */
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
  Copyright (c) 2018 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
/* global define */

(function () {
	'use strict';

	var hasOwn = {}.hasOwnProperty;

	function classNames() {
		var classes = [];

		for (var i = 0; i < arguments.length; i++) {
			var arg = arguments[i];
			if (!arg) continue;

			var argType = typeof arg;

			if (argType === 'string' || argType === 'number') {
				classes.push(arg);
			} else if (Array.isArray(arg)) {
				if (arg.length) {
					var inner = classNames.apply(null, arg);
					if (inner) {
						classes.push(inner);
					}
				}
			} else if (argType === 'object') {
				if (arg.toString === Object.prototype.toString) {
					for (var key in arg) {
						if (hasOwn.call(arg, key) && arg[key]) {
							classes.push(key);
						}
					}
				} else {
					classes.push(arg.toString());
				}
			}
		}

		return classes.join(' ');
	}

	if ( true && module.exports) {
		classNames.default = classNames;
		module.exports = classNames;
	} else if (true) {
		// register as 'classnames', consistent with npm package name
		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
			return classNames;
		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
	} else {}
}());


/***/ }),
/* 22 */
/***/ (function(module, exports) {

module.exports = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjEycHgiIGhlaWdodD0iMTJweCIgdmlld0JveD0iMCAwIDEyIDEyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBza2V0Y2h0b29sIDU0ICg3NjQ4MCkgLSBodHRwczovL3NrZXRjaGFwcC5jb20gLS0+DQogICAgPHRpdGxlPkM0RkE4ODg3LUIxRkMtNEIxNS1BMEFFLTY4RjhGQzYxRjY5MDwvdGl0bGU+DQogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPg0KICAgIDxnIGlkPSJMYW5kaW5ncGFnaW5hJ3MiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0iTGFuZGluZ3NwYWdpbmEtVGVtcGxhdGUtRGVza3RvcC0xNDQwLSstTWluaWNhbGN1bGF0b3ItNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTg5MC4wMDAwMDAsIC03OTEuMDAwMDAwKSIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1ydWxlPSJub256ZXJvIj4NCiAgICAgICAgICAgIDxwYXRoIGQ9Ik04OTYsODAxLjgxNzMwOCBDODk2Ljg2NTM4OSw4MDEuODE3MzA4IDg5Ny42NzMwNzMsODAxLjU5NjE1NiA4OTguNDIzMDc3LDgwMS4xNTM4NDYgQzg5OS4xNTM4NSw4MDAuNzMwNzY3IDg5OS43MzA3NjcsODAwLjE1Mzg1IDkwMC4xNTM4NDYsNzk5LjQyMzA3NyBDOTAwLjU5NjE1Niw3OTguNjczMDczIDkwMC44MTczMDgsNzk3Ljg2NTM4OSA5MDAuODE3MzA4LDc5NyBDOTAwLjgxNzMwOCw3OTYuMTM0NjExIDkwMC41OTYxNTYsNzk1LjMyNjkyNyA5MDAuMTUzODQ2LDc5NC41NzY5MjMgQzg5OS43MzA3NjcsNzkzLjg0NjE1IDg5OS4xNTM4NSw3OTMuMjY5MjMzIDg5OC40MjMwNzcsNzkyLjg0NjE1NCBDODk3LjY3MzA3Myw3OTIuNDAzODQ0IDg5Ni44NjUzODksNzkyLjE4MjY5MiA4OTYsNzkyLjE4MjY5MiBDODk1LjEzNDYxMSw3OTIuMTgyNjkyIDg5NC4zMjY5MjcsNzkyLjQwMzg0NCA4OTMuNTc2OTIzLDc5Mi44NDYxNTQgQzg5Mi44NDYxNSw3OTMuMjY5MjMzIDg5Mi4yNjkyMzMsNzkzLjg0NjE1IDg5MS44NDYxNTQsNzk0LjU3NjkyMyBDODkxLjQwMzg0NCw3OTUuMzI2OTI3IDg5MS4xODI2OTIsNzk2LjEzNDYxMSA4OTEuMTgyNjkyLDc5NyBDODkxLjE4MjY5Miw3OTcuODY1Mzg5IDg5MS40MDM4NDQsNzk4LjY3MzA3MyA4OTEuODQ2MTU0LDc5OS40MjMwNzcgQzg5Mi4yNjkyMzMsODAwLjE1Mzg1IDg5Mi44NDYxNSw4MDAuNzMwNzY3IDg5My41NzY5MjMsODAxLjE1Mzg0NiBDODk0LjMyNjkyNyw4MDEuNTk2MTU2IDg5NS4xMzQ2MTEsODAxLjgxNzMwOCA4OTYsODAxLjgxNzMwOCBaIE04OTYsNzkxIEM4OTcuMDk2MTU5LDc5MSA4OTguMTEwNTcyLDc5MS4yNzQwMzYgODk5LjA0MzI2OSw3OTEuODIyMTE1IEM4OTkuOTQ3MTIsNzkyLjM0MTM0OSA5MDAuNjU4NjUxLDc5My4wNTI4OCA5MDEuMTc3ODg1LDc5My45NTY3MzEgQzkwMS43MjU5NjQsNzk0Ljg4OTQyOCA5MDIsNzk1LjkwMzg0MSA5MDIsNzk3IEM5MDIsNzk4LjA5NjE1OSA5MDEuNzI1OTY0LDc5OS4xMTA1NzIgOTAxLjE3Nzg4NSw4MDAuMDQzMjY5IEM5MDAuNjU4NjUxLDgwMC45NDcxMiA4OTkuOTQ3MTIsODAxLjY1ODY1MSA4OTkuMDQzMjY5LDgwMi4xNzc4ODUgQzg5OC4xMTA1NzIsODAyLjcyNTk2NCA4OTcuMDk2MTU5LDgwMyA4OTYsODAzIEM4OTQuOTAzODQxLDgwMyA4OTMuODg5NDI4LDgwMi43MjU5NjQgODkyLjk1NjczMSw4MDIuMTc3ODg1IEM4OTIuMDUyODgsODAxLjY0OTAzNiA4OTEuMzQxMzQ5LDgwMC45MzI2OTcgODkwLjgyMjExNSw4MDAuMDI4ODQ2IEM4OTAuMjc0MDM2LDc5OS4wOTYxNDkgODkwLDc5OC4wODY1NDQgODkwLDc5NyBDODkwLDc5NS45MTM0NTYgODkwLjI3NDAzNiw3OTQuOTAzODUxIDg5MC44MjIxMTUsNzkzLjk3MTE1NCBDODkxLjM1MDk2NCw3OTMuMDY3MzAzIDg5Mi4wNjczMDMsNzkyLjM1MDk2NCA4OTIuOTcxMTU0LDc5MS44MjIxMTUgQzg5My45MDM4NTEsNzkxLjI3NDAzNiA4OTQuOTEzNDU2LDc5MSA4OTYsNzkxIFogTTg5NS40MDg2NTQsNzkzLjk4NTU3NyBMODk2LjU5MTM0Niw3OTMuOTg1NTc3IEw4OTYuNTkxMzQ2LDc5Ny41OTEzNDYgTDg5NS40MDg2NTQsNzk3LjU5MTM0NiBMODk1LjQwODY1NCw3OTMuOTg1NTc3IFogTTg5NS40MDg2NTQsNzk4LjgwMjg4NSBMODk2LjU5MTM0Niw3OTguODAyODg1IEw4OTYuNTkxMzQ2LDgwMC4wMTQ0MjMgTDg5NS40MDg2NTQsODAwLjAxNDQyMyBMODk1LjQwODY1NCw3OTguODAyODg1IFoiIGlkPSIhLUJsdWUiPjwvcGF0aD4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg=="

/***/ }),
/* 23 */
/***/ (function(module, exports) {

module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJoAAAHsCAYAAAAq87R/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAADZdJREFUeNrsnW+EXWcCh597cw1DmRUSocwKwzBMhUTJGrZmv4TWrK5UV+jKykpMtVQ/rLJ0bW1tvqRarVZCbexqZKldHVli2bGrY0skVMdGSyhDiITYEEKIux/uGXv39p7J+XPvuee87/MwMnPuOfec8zvPff+d8960KMcCcBJYAnYD+4FbwE3gOnAeWC+zg263SyisrN+m7nmvLe8dy7m3Cm43DfwBOJph3U+BXwD3FK2waJXlPS7R2gVP+lLGkyZZ7/NkO4k07yKivQIs59xmEXhDZwoRRN55RduVnHgRVpPtJcK884q2AMwW3NeeZHuJMO+8os2V3N+c7sSZd17RyjYw7RBEmnfbaymKJoomMk7R5kvub7+Rx5l3XtFOlNzfqu7EmXce0XYBT5bc3z4ctI0y7zyiPQL+WXJ/68n7SGR55606fwbcL7ive8DL+hNn3nlF2wLeK7iv94AbuhNn3kWGNz4AHhaoBs7pTSGCyLuIaLfoPcmZh/P0ngKVSPMuOmD7y6RYz8LNZH0pTuPzLiraPeDtjOu+DdzVlVI0Pu8yt6Du5whJytPovMuINpNxvT06MhIanXcZ0X6Ycb3DOjISGp13UdEOk29WjrKVo/F5FxFtlt4cw6z30HYl68/qSyGCyLvzmNcXgank9/30ZkifAJ7IuZ854N/Ax8AG8G2y/CGwqUvh5502U30ZeJ9qZtFcB14lZSp/JDPVa5N3lTPV3wf+TnVTtRaS/b0faSkWRd7tgbr9E4pPWC3LK8n+Y3leLaq8+9toF3P0bMbFsaSN8kIEokWVd7vP7qM1uQBHJ/gpr7I0iSrvdtINPlOzC3Em4OGQKPNuA7/r61LXhankuEIkyrxbQJ3HD1oBDm/UOu86fRGfSCHR6jorKdTZUlHm3Qau1PTErwQqWpR5t+lN6Vqv2UmvJ8cVIlHm3aE3JetHtiIqI8q87QyIwwdiiSaiaKJoomgiiiaKJqJoomiiaCKKJoomomiiaKJoIoomiiaiaKJoomgiiiaKJqJoomiiaCKKJoomiiaiaKJoIoomiiaKJqJoomgiiiaKJoomomiiaCKKJoomiiaiaKJoIoomiiaKJqJoomiiaCKKJoomomiiaKJoIoomiiaiaKJoomgiiiaKJqJoomiiaCKKJnWnNakdd7vdqIJeWb890f2vLe+1RJM4qs5uxT9LEee9FGvelmiiaKJoIrnopCzfAu6kvHZw4O9rKevtAWaNOBPB550m2mngo7SRiYG/D6Wstwp8qEOZCD5vq05RNFE0EUUTRZNISet1HgMOZHyPsynLF4w3M8HnnSbaEtnvkZ3Uk9IEn7dVpyiahN9G2wCuZyy6z+3QZlgy4kwEn3eaaBdIvyUyeOKnUtZbVbTMBJ+3VacomiiaiKKJokmkpPU63wBOZHyPqynL9xhvZoLPO020WbI/FnxQT0oTfN5WnaJoomgiI2mjDWMLuJzy2hGcWjdqgso7j2ibpN9nu6RoIyeovK06RdFE0UQUTRRNFE1E0UTRRBRNFE1iosNo/lOL54wyExux5m2JJpXQiu2/yhFLNFE0EUUTRRNRNFE0UTQRRRNFE0UTUTRRNBFFE0UTRRNRNFE0EUUTRRNFE1E0UTQRRRNFE0UTUTRRNBFFE0UTRRNRNFE0UTQRRRNFE1E0UTRRNBFFE0UTUTRRNFE0EUUTRRNRNFE0UTQRRRNFE1E0UTRRNBFFE0UTRRNRNFE0EUUTRRNFE1E0UTQRRRNFE0UTGSWtJhxkt9ttfNAr67cbc6xry3st0ST8qvMI8DXQLfHzdfI+ElneWUXbDVwE5kvubz55n916FFfeWUVbAGZGtM+Z5P0korxto4miSXyi3RnxfreMPq68s4r2DfDOiPb5jqLFl3feAdt54DAwBTwNnEiWvwY86FtvGng3+f1j4ArwEPgiCTEXEQ/YTiTvcQzYdgp80rYP/H7fiZ8H7g30dLZPfB24YCFVuGQLIu9hoj1BtvGb/X2/H0iC6H+P/vUOZgz1foQyRZH3sKrzz8DzEwh8DfhxhFVn7fKu4l7nKxM6aYCVZP8xEU3e/aI9DZyZcPBnkuOIgajybvc1Ji8mvZtJMpUcx0zgkkWX97Zovx9obE6S/cnxhEx0ebcn3E5I4/mA22tR5t0GflXTC/KrQEWLMu/2kHbCfXqjyv18O2Tb60OWbRZc7yHfHdOZClS06RjzbgNv9f39CDgFfDBwUD8HLg+E88LACdwEfpL8u82XyXr9J3UZeHUg3A+S/T7qW/ZWoKL9Osa8twdsD9Mbbb4CXOsbZ3kS2EhOcDqpy2eAv9K7UTsNvJj8e4HebZEZ4Bi9e3F/Sv6dBZ5NXv9LsmwRWEqCWkv2eTDpbn9J7z4dEOSAba3zHseAbSuly7s4gWuxOaQKCVW0Wudd1U31fcDVCZz494nz8aEo8vYJW6mExz0m9FrSZhjGEeC3ye/PUOxJgCX+93iLBJz340S70ddYHWR+oLdzr2C1IRHknbXq3O4RSUV9h9DyziLaCeAz4HOvfyUEmXcW0Tbpzcr5QgcqG3YILu8scwauAHu9/pURZN4Ob4iiSTxV55Edej/9jwAf5//nGWZl0UsQR96PEy3rw3Dv6shICDZvq06ZWIl2Czg0gWO5Fek1iCLvbdGmgZfINsN53FwD/liwDdIUosu7Q+9rJ/9F+a+xHCWvAz8A7gYoWZR5t5OG5XzNLsZ8wB2MKPNu07uBW0dWAhUtyrw7wPfsE1VKlHk7vCGV0Aph4odYookomiiaKJqIoomiiaKJKJoomoiiiaKJookomiiaiKKJoomiiSiaKJqIoomiiaKJKJoomoiiiaKJookomiiaKJqIoomiiSiaKJoomoiiiaKJKJoomiiaiKKJookomiiaKJqIoomiiSiaKJoomoiiiaKJookomiiaiKKJoomiiSiaKJqIoomiiaKJKJoomoiiyaRoxXri3W638n2urN+2RBOps2hLQLfin6XIr1kjM7dEE6tOUTSRXHSAkwW2+xS4O+Fj3w0cLbjtuQke98mC2zU68w5wtsB2X9TgpJ8seOyTFq3oMTc683FVnS/TG6Mb9jNI2novW+GEk7ltNLEzIIomUlq0p1Lq780an8dmyjE/1ZDrEHzmlmhSCZ0xve8scDDjugd3eA8JJPNxifZG8pOFqzoSfuZWnaJoEnYb7SLwYMjyuRzvuwXcydg+uJay3p4cbYa5lOpguiHXIfjMh4m2MILgTgMfpbw2+Az1oZT1VoEPM+5vOkdDuI4En7lVp0ys6ryeUowv1LgqepAc97BP3UIDrkPwmQ8T7acMH5H+Clis6UnfSKkOFpPjrjvBZ27VKQ5vSNhttFFwDDiQcd2zY+yJxUStMx+XaEtknwt4UkfCz9yqUyZWdX7VwPNY5LuDkk0i+MzHVXVuMHyMZVixfW6H9sKSZUEYmY9LtAuk3w4ZPOlTKeutKlo4mQ8TLW2i6lF6E0jryN3kuAcpM8m4SoLPfJhobzF8lPpwjU/6ZsqndLEhogWfub1OqQRFE0WTcBjn5JQTGddNmyixx8sTTuZpT9hODVme57moWbI/EjyKJ2PTnvaca4gkwWeeNmegaczR7Gl7wWduG03sDIidgSJsAZdTXjuCX4EQdOZZRHsInB9YVuQrLjdJv8d2qcBJ3+W7N4ePpzSqm0ZwmWcR7cEOBztJht0CeTEQ0YLL3Daa2BkQRRNRNFE0UTQRRRNFE1E0qQmtWE+8261+vvHK+m1LNJGxlmiT+GSLJZqIoomiiSiaKJoomoiiiaKJKJoomiiaiKKJookomiiaKJqIoomiiaKJKJoomoiiiaKJookomiiaiKKJoomiiSiaKJqIoomiiaKJKJoomoiiiaKJookomiiaKJqIoomiiSiaKJoomoiiiaKJKJoomiiaiKKJookomkyMVogn1e12a3lcK+u3g5RobXmvJZrUp+rs5vz53NjKFbgx5m2JJoomiiaiaKJoEikd4FTObW4ZWymizLsDnPPaV0qUeVt1SmUl2skCRfma0RUmyrw7wNmc22woWimizNuqUyor0a7l3OYbYytFlHl3gENe+0qJMm+rTlE0CUs0n0erFp9HE1E0UbTHMA+8lHObFeBAzm3e9HLWN+9xi/YScBVYyLj+FHAG+Ax4IuM2+4C/Ab/Rsfrm3RnTCU8DHwLHc2wzC1wEDufYZhn4JDn5mKl93uMo0eaTT1Wek14Bvsp50m8mn6zYJWtE3qMW7XiJonumQNG9K3LJGpP3qKpOq0qryrGXaFaVVpVjF82q0qpyrFVnkaJ7f1IMW1VGmHcR0fbl/FQBLAGrOT5VAK8nRX7spVgQebfo3bgNhRbU/murgsvbr62S2lB2eOMR8GXKa3MpRfc94EbKNgdSiu4t4E5K22UhouvV2LzLinaf9EeTLwHPDlm+ATyXss1/UsI6DXw0ZPli0m2PhcbmbdUplaBoUlmvwV6nvU57nWLVKVJpr/OZlNfepTdCPawX9FrKNv9g+JOep4FPU7r0FyPrdTYy71GMo6VN8b+3w/JrO7zfMLZStnkYWcHQ2LytOqURVec06V/DtLjD8rM7vN8wjjF8ls7uyK5XY/N2eKNCHN4QGTOKJoomiiaiaKJoomgiiiYN578DAOTNyD4DkY7QAAAAAElFTkSuQmCC"

/***/ }),
/* 24 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/**
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */



/**
 * Use invariant() to assert state which your program assumes to be true.
 *
 * Provide sprintf-style format (only %s is supported) and arguments
 * to provide information about what broke and what you were
 * expecting.
 *
 * The invariant message will be stripped in production, but the invariant
 * will remain to ensure logic does not differ in production.
 */

var invariant = function(condition, format, a, b, c, d, e, f) {
  if (false) {}

  if (!condition) {
    var error;
    if (format === undefined) {
      error = new Error(
        'Minified exception occurred; use the non-minified dev environment ' +
        'for the full error message and additional helpful warnings.'
      );
    } else {
      var args = [a, b, c, d, e, f];
      var argIndex = 0;
      error = new Error(
        format.replace(/%s/g, function() { return args[argIndex++]; })
      );
      error.name = 'Invariant Violation';
    }

    error.framesToPop = 1; // we don't care about invariant's own frame
    throw error;
  }
};

module.exports = invariant;


/***/ }),
/* 25 */
/***/ (function(module, exports) {

var g;

// This works in non-strict mode
g = (function() {
	return this;
})();

try {
	// This works if eval is allowed (see CSP)
	g = g || new Function("return this")();
} catch (e) {
	// This works if the window reference is available
	if (typeof window === "object") g = window;
}

// g can still be undefined, but nothing to do about it...
// We return undefined, instead of nothing here, so it's
// easier to handle this case. if(!global) { ...}

module.exports = g;


/***/ }),
/* 26 */
/***/ (function(module, exports) {

module.exports = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjEwMHB4IiBoZWlnaHQ9IjExM3B4IiB2aWV3Qm94PSIwIDAgMTAwIDExMyIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4NCiAgICA8dGl0bGU+R3JvdXAgNTJAM3g8L3RpdGxlPg0KICAgIDxkZWZzPg0KICAgICAgICA8cG9seWdvbiBpZD0icGF0aC0xIiBwb2ludHM9IjAgMC4wNjAwMjI5MDk1IDk1LjcxNTQ5MTUgMC4wNjAwMjI5MDk1IDk1LjcxNTQ5MTUgOTYuMTkwNTYwMSAwIDk2LjE5MDU2MDEiPjwvcG9seWdvbj4NCiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMyIgcG9pbnRzPSIwLjE3MDc1NzI2NiAwLjA3MTk1MDUzOSAzNS45MTQ1NjY1IDAuMDcxOTUwNTM5IDM1LjkxNDU2NjUgMzUuNTgyNjkzOSAwLjE3MDc1NzI2NiAzNS41ODI2OTM5Ij48L3BvbHlnb24+DQogICAgPC9kZWZzPg0KICAgIDxnIGlkPSJEZXNpZ24tLS0xNDQwcHgiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0iSG9tZXBhZ2luYS1EZXNpZ24tMTkyMHB4LXRvcDMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNTEzLjAwMDAwMCwgLTE2NjMuMDAwMDAwKSI+DQogICAgICAgICAgICA8ZyBpZD0iR3JvdXAtNTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE1MTMuMDAwMDAwLCAxNjYzLjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik04OS4yMTYwNTI0LDM0LjQwMDM2MDcgQzg3LjQxNjcyMDEsMzAuOTA3NDg5MSA4NC45OTgxMTcsMjcuODEyODQ2NCA4MS45ODc3NDA0LDI1LjIzNDkzOTMgQzc4Ljk5MjQ2NzksMjIuNjM3Nzk0MiA3NS41NjU3NTg1LDIwLjY5NzgyMyA3MS44MzA3NjkyLDE5LjQyNDY0NDggQzY4LjI3Mjc2OTgsMTguMjM2ODgzNyA2NC41OTEyMjYsMTcuNjg1OTA0MiA2MC44MTk4MzE3LDE3LjgzMzY1MjkgTDYwLjgxODI4MjYsMTcuODE3NDkyOSBMNDQuNTM5ODYzOCwxOC45Njg3MDE1IEMzOS4yODYzMjQ4LDE5LjM0MDM4MTggMzQuMjMzMDEyOCwyMC41NTkzMDg2IDI5LjQ3ODI5ODYsMjIuNjQwNDg3NiBDMjguNjM1NTYzNiwyMi45ODU2MTkzIDI3LjgxMjk2NzQsMjMuMzgxOTI0NCAyNi45ODk5ODQsMjMuNzk1OTI4NiBDMjIuNDU0NDczOCwyNi4wOTY0MjIgMTguMzk2NDg3NywyOS4wNzMzMjc1IDE0Ljg3NjQ0MjMsMzIuNzAzOTQ0IEMxNC4yODg1NDE3LDMzLjMwNTMyNzMgMTMuNzAzMzUyLDMzLjkzNzQ5MTcgMTMuMTUzNzkyNywzNC41Njg4ODY1IEM5LjI1MTg4MzAxLDM5LjA0MDk3ODEgNi4yOTQxNzczNSw0NC4xMjA2MDkyIDQuMzc5NDMzNzYsNDkuNzAzODk0IEMyLjM5MjY1NDkxLDU1LjQ3Njg2NjcgMS42MTY1MzMxMiw2MS41MTg0MDM0IDIuMDU1NzE1ODEsNjcuNjQ1MzU3MyBDMi40OTQ4OTg1LDczLjc3MjMxMTIgNC4xMjQ5ODY2NSw3OS42NDUzMjIxIDYuOTE0MjIyNzYsODUuMDc4OTM0NCBDOS42MDU4NjI3MSw5MC4zMzY3MTA0IDEzLjI1ODM2LDk0Ljk0ODQ3MDYgMTcuNzU4MjM5OSw5OC44MjY0ODkzIEMyMi4yNTgxMTk3LDEwMi43MDI5NjkgMjcuMzc0MTcyLDEwNS42MzkwODkgMzIuOTkxMzcyOSwxMDcuNTQzNjYzIEMzOC44MDIyMTY5LDEwOS41MTcxMDggNDQuODg2ODcyMywxMTAuMjg3Nzg3IDUxLjA1MDkyMTUsMTA5Ljg1MTg1MSBDNTcuMjE4MDY4OSwxMDkuNDE1OTE2IDYzLjEyODA1ODIsMTA3Ljc5NjQ1MSA2OC42MDA4MDEzLDEwNS4wMjUwMDkgQzczLjg5MzA2ODksMTAyLjM0OTM3MiA3OC41MzUwODI4LDk4LjcyMjIxODcgODIuNDM2OTkyNSw5NC4yNTIwNTEgQzg2LjM0MDQ1MTQsODkuNzc5NTc0NyA4OS4yOTY2MDc5LDg0LjY5OTk0MzYgOTEuMjExMzUxNSw3OS4xMTY2NTg3IEM5My4wMjg4ODYyLDczLjgyOTI1NiA5My44Mjc0NzA2LDY4LjMyNzkyNTUgOTMuNjEzMzAxMyw2Mi43MjY1NTY4IEw5My42NDU4MzMzLDYyLjcyNDI0ODIgTDkyLjk5MjQ4MTMsNTMuNjA5NjE1NSBMOTIuOTkyMDk0LDUzLjYwMTE1MDggTDkyLjk5MTcwNjcsNTMuNTk0OTk0NiBMOTIuNDQ5NTA1OSw0Ni4wMjc0OTA4IEM5Mi4xNTYzMzAxLDQxLjkzODYyMjUgOTEuMDU5MTQ4LDM4LjAyMzY2NjcgODkuMjE2MDUyNCwzNC40MDAzNjA3IiBpZD0iRmlsbC0xIiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+DQogICAgICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwLTUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuMDAwMDAwLCAxNS43MDMzMDEpIj4NCiAgICAgICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPg0KICAgICAgICAgICAgICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4NCiAgICAgICAgICAgICAgICAgICAgPC9tYXNrPg0KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iQ2xpcC00Ij48L2c+DQogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik02MC40MTE2MzE5LDQuMDcxNTU0MDMgTDQ0LjY3NzM1MDQsNS4xODQyODY0MyBDMzkuNjE5MDAzNyw1LjU0MjExNTMxIDM0Ljc2ODI0MjUsNi43MjQxMDQ5MSAzMC4yNTkwNjc4LDguNjk3NTUwNDQgTDMwLjIxNjg1MzYsOC43MTU2MzQyNyBDMjkuMzY2NzYwMSw5LjA2Mzg0NDEgMjguNTUwNzQ3OSw5LjQ2MzYxMjA3IDI3Ljg2NDg2MzgsOS44MDg3NDM4IEMyMy41MjI2MDk1LDEyLjAxMTUwNzYgMTkuNjE5OTI1MiwxNC44ODEwNjQ0IDE2LjI3MTA2MDQsMTguMzM1MDc1IEMxNS42ODg5NjksMTguOTMwNjg3IDE1LjEzNDc2MjMsMTkuNTMwNTMxMyAxNC42MTgxMjIzLDIwLjEyNDIxOTUgQzEwLjg2Mjk5NDEsMjQuNDI4NTU0NiA4LjAzNTAyOTM4LDI5LjMwNTgwMDggNi4yMTI0NTk5NCwzNC42MjA5MDY0IEM0LjMxMzU5NTA5LDQwLjEzODM5NjkgMy41NjUzNTc5MSw0NS45MTk0NDk2IDMuOTg3MTEyNzEsNTEuODA1NTQyMyBDNC40MDg4Njc1Miw1Ny42OTI3ODk0IDUuOTc0Mjc4ODUsNjMuMzEwMzE4MSA4LjYzOTE5NjA1LDY4LjUwMTUzMDIgQzExLjIwMjI1NjksNzMuNTA4NDQxMyAxNC42OTcxMjg3LDc3LjkzODIwODkgMTkuMDI3Mzc3MSw4MS42NzAwMTc5IEMyMy4zNTAyNjcxLDg1LjM5Mzc0NjkgMjguMjU4NzM0LDg4LjIwMjg5NiAzMy42MTY0NTMsOTAuMDE5MzU4NSBDMzkuMTY5NzUxNiw5MS45MDU0NjMgNDQuOTg4MzQxMyw5Mi42NDc2Njk0IDUwLjkxMzA0NzUsOTIuMjI5NDMyOCBDNTYuODM3MzY2NSw5MS44MTA4MTE1IDYyLjQ5MjEzNDEsOTAuMjU1NjAyNSA2Ny43MjEyNzQsODcuNjA3Mjg0IEM3Mi43NjQxMjkzLDg1LjA1Nzg0OTQgNzcuMjIyNTY5NCw4MS41ODY1MjQ1IDgwLjk3NDIxMjEsNzcuMjg4MzQ1NSBDODQuNzI3MDE2Niw3Mi45ODc4NTggODcuNTU0NTk0LDY4LjExMDk5NjYgODkuMzc4MzI1Myw2Mi43OTI4MTI5IEM5MS4xMTAyNjk4LDU3Ljc1NDM1MTMgOTEuODgzNjgwNiw1Mi40NzM4NzQ0IDkxLjY3ODAzMTUsNDcuMDk2MDUyNSBMOTEuNjQxNjI2Niw0Ni4xMzkxNDg4IEw5MC41MTc3MjE3LDMwLjQ2MDg1NzEgQzkwLjI0NDY4NDgsMjYuNjQ4MjQ4IDg5LjIyNjEyMTgsMjIuOTg0NTQyIDg3LjQ5MTA3OTEsMTkuNTcwOTMxNCBDODUuNzg1MDgyOCwxNi4yNjA4MjE4IDgzLjUwODIyNjUsMTMuMzczNTY2IDgwLjcyMzI1MDUsMTAuOTg4ODA5NiBDNzcuOTQzMzA5Myw4LjU3ODI3NDE1IDc0Ljc0Mjc3NTEsNi43NDc5NjAxNyA3MS4yMDI1OTA4LDUuNTQwOTYxMDIgQzY3Ljg0MDk0NTUsNC40MTg5OTQzMyA2NC4zNzEyNDczLDMuOTE4MDMzODkgNjAuODk1NzM5OSw0LjA1MjcwMDY4IEw2MC40MTE2MzE5LDQuMDcxNTU0MDMgWiBNNDcuNzExNzM4OCw5Ni4xOTA1NjAyIEM0Mi40Njc0OTQ3LDk2LjE5MDU2MDIgMzcuMzE5Njg0OCw5NS4zNDMzMTM3IDMyLjM2NTEzMDksOTMuNjYwNzQ4NCBDMjYuNTMzMzczNCw5MS42ODM0NTUyIDIxLjE5MTkyMDQsODguNjI3Mjg4NyAxNi40ODk4NzcxLDg0LjU3NjUxMTkgQzExLjc4MDA4ODEsODAuNTE4NDI0NSA3Ljk3ODA5ODI5LDc1LjY5Njk2ODkgNS4xODg0NzQ4OSw3MC4yNDc1ODEzIEMyLjI4NzMxMzAzLDY0LjU5Njk2MyAwLjU4MzI1MzIwNSw1OC40ODMwOTEgMC4xMjM5MzE2MjQsNTIuMDc4NzIzNSBDLTAuMzM1MDAyNjcxLDQ1LjY3NTg5NTEgMC40ODAyMzUwNDMsMzkuMzgzODc4MiAyLjU0NzE4MjE2LDMzLjM3ODUwOTEgQzQuNTMwODYyNzEsMjcuNTkyODM5MyA3LjYwNzQ2NTI4LDIyLjI4NTQyOSAxMS42OTAyMzc3LDE3LjYwNTU2NTggQzEyLjI1NDEyNjYsMTYuOTU4MDExIDEyLjg1OTA2NzgsMTYuMzAzMTQ1NyAxMy40ODY4NTksMTUuNjYwNTkyNyBDMTcuMTI5Mjg2OSwxMS45MDMzODk0IDIxLjM3NzgxNzgsOC43NzkxMjAwNCAyNi4xMDk2ODIyLDYuMzc5MzU3OTUgQzI2LjgxODQxNjEsNi4wMjI2ODMzNSAyNy43NDgyOTA2LDUuNTY1OTcwNTcgMjguNzE4ODMwMSw1LjE2NzM1Njg5IEMzMy42MzAzOTUzLDMuMDIwNzY4MzUgMzguOTA2Nzg0MiwxLjczNTI3NzcgNDQuNDAyMzc3MSwxLjM0NjI4MzA4IEw2Mi41OTI4Mjg1LDAuMDYwMDIyOTA5NSBMNjIuNjAzNjcyNSwwLjE4ODUzMzQ5OCBDNjUuOTI0MjY1NSwwLjI0OTcxMDY5NCA2OS4yMjc0MzA2LDAuODIyNjIxNjcgNzIuNDQ3NzE2MywxLjg5NzY0NzM3IEM3Ni40NzYyNjg3LDMuMjcwODYzODEgODAuMTEwMTc2Myw1LjM1MDUwMzcyIDgzLjI2MTEzNzgsOC4wODE5MzA4NiBDODYuNDE4Mjk1OSwxMC43ODYwMzk5IDg5LjAwNDk4MTMsMTQuMDY0OTgzNyA5MC45Mzk4NjM4LDE3LjgyMDI2MzIgTDkwLjk0NDEyMzksMTcuODI5MTEyNyBDOTIuOTE0NjM2OCwyMS43MDI4OTg5IDk0LjA3MTA3MzcsMjUuODYwNjM5NyA5NC4zODA5MDI4LDMwLjE4NzY3NTkgTDk1LjcxNTQ5MTUsNDguODA3ODU5NyBMOTUuNTgzNDI2OCw0OC44MTY3MDkzIEM5NS41ODA3MTU4LDU0LjAyMjkyNzEgOTQuNzI4Mjk4Niw1OS4xMzM3MjQgOTMuMDQzNjAzMSw2NC4wMzUyMTAyIEM5MS4wNTg3NjA3LDY5LjgyNDM0MjggODcuOTgyMTU4MSw3NS4xMzE3NTMyIDgzLjkwMDE2MDMsNzkuODA4OTIzIEM3OS44MTk3MTE1LDg0LjQ4Mzc4NDIgNzQuOTY3Nzg4NSw4OC4yNjEzNzk5IDY5LjQ3ODc3OTQsOTEuMDM1OTAwNCBDNjMuNzg2NDQ1LDkzLjkxODkyMzggNTcuNjMyMDc4LDk1LjYxMTg3NzcgNTEuMTg4NDA4MSw5Ni4wNjc0MzYyIEM1MC4wMjUzODczLDk2LjE0OTc3NTMgNDguODY1ODUyLDk2LjE5MDU2MDIgNDcuNzExNzM4OCw5Ni4xOTA1NjAyIEw0Ny43MTE3Mzg4LDk2LjE5MDU2MDIgWiIgaWQ9IkZpbGwtMyIgZmlsbD0iI0Y2QkQ2MCIgbWFzaz0idXJsKCNtYXNrLTIpIj48L3BhdGg+DQogICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgICAgIDxwb2x5Z29uIGlkPSJGaWxsLTYiIGZpbGw9IiMxRjI0NDYiIHBvaW50cz0iMTkuMjcwMDEyIDQ2LjA0MzkyMDIgMTguNjAwMzk0IDUzLjIxMzE5NSAyMi41NDc2MTYyIDUyLjkzMzg1NzYgMjIuMzg4ODI4OCA1NC43NDI2MjQ5IDE2LjA3MzM1MDcgNTUuMTg5NzE4NiAxNi45MDEzNjg5IDQ2LjIxMTY3NjUiPjwvcG9seWdvbj4NCiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMjguNDg2NjEzMiw0Ny40Nzc3MzY3IEMyOC4zMzUxODQzLDQ3Ljk4MjU0NDcgMjguMDc4NDEzNSw0OC42MzE2Mzg2IDI3Ljg1NjQ5ODQsNDkuMTU0OTE1MyBMMjYuOTU3OTk0MSw1MS4xMTI1ODU1IEwyOS40NTU2MDM2LDUwLjkzNTk3OTcgTDI4LjkxODgyNDgsNDkuMDgwMjcxNCBDMjguNzY3Mzk1OCw0OC41ODMxNTg2IDI4LjYwODYwODQsNDcuOTc2NzczMyAyOC41MTQ4ODUxLDQ3LjQ3NTQyODEgTDI4LjQ4NjYxMzIsNDcuNDc3NzM2NyBaIE0yNi4xMjE4NDI5LDUyLjkyODI3ODYgTDI1LjM5OTU1NCw1NC41MzAwNDM4IEwyMi45MDIzMzE3LDU0LjcwNjY0OTYgTDIyLjkxMjc4ODUsNTQuNDU4ODYyNyBMMjcuMzc1ODc2MSw0NS40NzA0MzIgTDI5LjkzMDgwNCw0NS4yODk1OTM4IEwzMi43NTk5MzA2LDUzLjc2MjA1ODMgTDMyLjc0ODY5OTMsNTQuMDEwMjMgTDMwLjM5NDc3Myw1NC4xNzY0NDczIEwyOS45Mzk3MTE1LDUyLjY1ODE3NTUgTDI2LjEyMTg0MjksNTIuOTI4Mjc4NiBaIiBpZD0iRmlsbC04IiBmaWxsPSIjMUYyNDQ2Ij48L3BhdGg+DQogICAgICAgICAgICAgICAgPHBhdGggZD0iTTM4LjY2ODE3NzEsNDYuNzU3NDYxNyBDMzguNTE2NzQ4MSw0Ny4yNjIyNjk4IDM4LjI1OTk3NzMsNDcuOTExNzQ4NSAzOC4wMzgwNjIyLDQ4LjQzNTAyNTEgTDM3LjEzOTU1OCw1MC4zOTIzMTA2IEwzOS42MzcxNjc1LDUwLjIxNTcwNDggTDM5LjEwMDM4ODYsNDguMzU5OTk2NSBDMzguOTQ4OTU5Nyw0Ny44NjI4ODM3IDM4Ljc5MDE3MjMsNDcuMjU2NDk4NCAzOC42OTY0NDksNDYuNzU1NTM3OSBMMzguNjY4MTc3MSw0Ni43NTc0NjE3IFogTTM2LjMwMzQwNjgsNTIuMjA4MDAzNiBMMzUuNTgxMTE3OCw1My44MDk3Njg4IEwzMy4wODM4OTU2LDUzLjk4NjM3NDcgTDMzLjA5NDM1MjMsNTMuNzM4NTg3OCBMMzcuNTU3NDM5OSw0NC43NTAxNTcxIEw0MC4xMTIzNjc4LDQ0LjU2OTMxODkgTDQyLjk0MTQ5NDQsNTMuMDQyMTY4MiBMNDIuOTMwMjYzMSw1My4yOTAzMzk4IEw0MC41NzYzMzY4LDUzLjQ1NjU1NzEgTDQwLjEyMTI3NTQsNTEuOTM4Mjg1MyBMMzYuMzAzNDA2OCw1Mi4yMDgwMDM2IFoiIGlkPSJGaWxsLTEwIiBmaWxsPSIjMUYyNDQ2Ij48L3BhdGg+DQogICAgICAgICAgICAgICAgPHBhdGggZD0iTTQ4LjA0MjQ4MTMsNTMuMTM0MjAzMyBDNDUuNDQ0NTY0Niw1My4zMTgxMTk3IDQzLjQzOTU4MzMsNTEuOTA5MTIwMyA0My4yNTA1ODc2LDQ5LjI3Mzg4MzcgQzQzLjE2MDczNzIsNDguMDE4MDE5OCA0My42NTI1OTA4LDQ2LjYyNDc5NTcgNDQuNjE0OTk3Myw0NS41Njg2MjM0IEM0NS41NTEwNjg0LDQ0LjU0MTY5MyA0Ni45MzI1MTg3LDQzLjg4MTQ0MDkgNDguNDY4MTA5LDQzLjc3MjkzOCBDNTEuMDY2MDI1Niw0My41ODkwMjE2IDUyLjU0Mjc0ODQsNDQuNjY0ODE2OSA1Mi42NzYzNjIyLDQ2LjMyODkxMzYgTDUyLjY2MDQ4MzQsNDYuNTA4OTgyMyBMNTAuMzc4MjA1MSw0Ni42NzAxOTc3IEM1MC4yOTQ1NTEzLDQ1LjkwNzk4MzcgNDkuNjY0NDM2NCw0NS41Njc4NTM4IDQ4LjY0NTA5ODgsNDUuNjM5ODA0NCBDNDYuNzUwNDk0MSw0NS43NzQwODY0IDQ1LjYwMTQxNTYsNDcuMjU1NDIxIDQ1LjczMzQ4MDIsNDkuMDk4NDMyMiBDNDUuODM2NDk4NCw1MC41MzE2NzE1IDQ2LjczNDYxNTQsNTEuMzg3NzY3NSA0OC4yODQ1MzUzLDUxLjI3ODExMDMgQzQ5LjI0NjE2NzIsNTEuMjEwMDA3MyA0OS45NDI1MDgsNTAuODU5MTA0MiA1MC40MTQ2MSw1MC40MDA0Njc2IEw1MC40ODg5NjksNDkuNjI2NzEwNyBMNDguMDkyMDU0LDQ5Ljc5NjAwNjEgTDQ4LjI2NDAwOTEsNDcuOTcyNjE3OSBMNTIuNzcxMjQ3Myw0Ny42NTM2NSBMNTIuNDM4OTU1Nyw1MS4wNjY4NzU4IEM1MS43NDYxMDA0LDUxLjg3MDI1OTMgNTAuMzgyNDY1Myw1Mi45Njg3NTU1IDQ4LjA0MjQ4MTMsNTMuMTM0MjAzMyIgaWQ9IkZpbGwtMTIiIGZpbGw9IiMxRjI0NDYiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNTcuODY1ODgyNyw0My4xNDkxNjE1IEM1OS42NzQ1MDk5LDQzLjAyMTQyMDQgNjEuMTg5NTc0LDQzLjYyNzgwNTcgNjEuMjIyNDkzMyw0NS4yOTk1OTc2IEw2MS4yMDY2MTQ2LDQ1LjQ3OTI4MTYgTDU4Ljk1Mjk5NTUsNDUuNjM4NTczMSBDNTguOTU5OTY2Niw0NS4xMzAzMDIyIDU4LjYwMTcyNjgsNDQuNzU3ODUyNCA1Ny43NTQzNDQzLDQ0LjgxNzQ5MDUgQzU2Ljk5NDEwMTIsNDQuODcxMzU3MiA1Ni41MjE2MTE5LDQ1LjMyOTk5MzggNTYuNTU4MDE2OCw0NS44MzUxODY3IEM1Ni41NzM4OTU2LDQ2LjA1MzczMTYgNTYuNjQwODk2MSw0Ni4xODY0NzQ2IDU2Ljc0ODE3NDQsNDYuMjc0NTg1MSBDNTcuMzE5ODA5LDQ2Ljc5NjcwNzUgNTkuMjE0ODAxLDQ2LjY3NjY2MTcgNjAuMzE4OTU0Myw0Ny41ODYyMzk2IEM2MC43Nzg2NjMyLDQ3Ljk2NTYxNTIgNjEuMDI4NDYyOSw0OC40MjgwOTk0IDYxLjA4MTUyMTEsNDkuMTY1Njg4NiBDNjEuMTI4MzgyNyw0OS44MjA5Mzg3IDYwLjkyNjYwNjYsNTAuNjMwODYzMiA2MC4zOTE3NjQyLDUxLjIxODAxMDQgQzU5LjY1NjMwNzQsNTIuMDI0NDcyMSA1OC41MjgxNDI0LDUyLjM5MjMwNDggNTcuMTc5MjI0MSw1Mi40ODc3MjU4IEM1NS4zMjc2MDgyLDUyLjYxODkyOTcgNTMuNjE0NjQwOCw1Mi4wNjc5NTAyIDUzLjU5MjU2NTQsNTAuMTQ3OTg2NiBMNTMuNjA3MjgyMyw0OS45NTQ4MzYgTDU1LjkxODIxOTgsNDkuNzkxNjk2OCBDNTUuOTA4NTM3Nyw0OS44NjA1NjkyIDU1LjkxMjc5NzgsNDkuOTE1MjA1NSA1NS45MTc0NDUyLDQ5Ljk4MzY5MzEgQzU1Ljk2NDMwNjksNTAuNjM4OTQzMiA1Ni40ODc1MzA3LDUwLjg5MDE5MyA1Ny4yOTExNDk4LDUwLjgzMzYzMjkgQzU4LjEwOTQ4NTgsNTAuNzc1MTQ5MSA1OC43NDExNDk4LDUwLjMzMjY3MjUgNTguNjk2OTk5Miw0OS43MTgyMDcyIEM1OC42ODE1MDc3LDQ5LjUwMDA0NyA1OC42MTM3MzI2LDQ5LjM1MzgzNzMgNTguNDE0NjY3NSw0OS4xODk1NDM5IEM1Ny43ODU3MTQ1LDQ4LjY3MTY1MzkgNTUuNzQ4MjAxMSw0OC42MjM1NTg2IDU0LjgyODAwODgsNDcuODY1MTkyMiBDNTQuNDI5MTAzOSw0Ny41MzYyMjA1IDU0LjEzODYzOTIsNDcuMTA0MTMyNSA1NC4wODkwNjY1LDQ2LjQwODA5NzYgQzU0LjAzMTM2MDgsNDUuNjAyNDA1NSA1NC4yNzIyNTI5LDQ0Ljk0MDIyOTcgNTQuNzgwMzcyNiw0NC4zODMwOTQgQzU1LjYwOTkzOTksNDMuNDczNTE2IDU2Ljc0NjIzOCw0My4yMjg0MjI1IDU3Ljg2NTg4MjcsNDMuMTQ5MTYxNSIgaWQ9IkZpbGwtMTQiIGZpbGw9IiMxRjI0NDYiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8cG9seWdvbiBpZD0iRmlsbC0xNiIgZmlsbD0iIzFGMjQ0NiIgcG9pbnRzPSI2OS44MDYxNTI1IDQyLjQ2OTQ0MDUgNjkuNjM0OTcyIDQ0LjMwNjI5NTQgNjcuMDgwMDQ0MSA0NC40ODcxMzM3IDY2LjQyMzIwNjUgNTEuNjI4MzIwOSA2NC4wNTQ5NTA2IDUxLjc5NTY5MjQgNjQuNzExNzg4MiA0NC42NTQ4OSA2Mi4wNTYxNjU5IDQ0Ljg0MjY1NCA2Mi4yMjc3MzM3IDQzLjAwNTQxNDMiPjwvcG9seWdvbj4NCiAgICAgICAgICAgICAgICA8cG9seWdvbiBpZD0iRmlsbC0xOCIgZmlsbD0iIzFGMjQ0NiIgcG9pbnRzPSI3Ny4wNzUxNjgzIDQzLjc4MDA1NjEgNzIuOTg0NjUwMSA0NC4wNjkzOTczIDcyLjgyOTM0ODMgNDUuNzI3MzM3OCA3Ni4zMDI1MzIxIDQ1LjQ4MTQ3NDcgNzYuMTM1MjI0NCA0Ny4zNzM3MzU0IDcyLjY2MTY1MzMgNDcuNjE5NTk4NSA3Mi40OTc4MzEyIDQ5LjM1OTg3ODEgNzYuNTg4NzM2NiA0OS4wNzA1MzY5IDc2LjQxODcxNzkgNTAuOTIxNjI4IDY5Ljk1OTE2OTMgNTEuMzc4MzQwOCA3MC43ODc1NzQ4IDQyLjM5OTkxMzkgNzcuMjQ2NzM2MSA0MS45NDMyMDEyIj48L3BvbHlnb24+DQogICAgICAgICAgICAgICAgPHBhdGggZD0iTTIyLjI3NjAxMjMsNjcuMjE3ODQ4IEwyNC44MDg4NjQ5LDY3LjAzODU0ODggQzI3LjExODI1MzIsNjYuODc1NDA5NiAyOC4wMTUyMDgzLDY1LjQ1OTA5OTggMjcuODg0NjkyOCw2My42Mzk5NDM5IEMyNy44MDE4MTM2LDYyLjQ4MjU3OTEgMjcuMTAxNTk5OSw2MS43NzI2OTI3IDI1LjQxMzQxODgsNjEuODkxOTY5IEwyMi43NTY2MzQ2LDYyLjA3OTczMyBMMjIuMjc2MDEyMyw2Ny4yMTc4NDggWiBNMjEuNjA1MjMyNCw3NC41NzcxOTUzIEwxNy40ODMzNDQsNzQuODY4ODQ1MSBMMTguOTE1OTE2MSw1OS4zMzcxNDc4IEwyNS44Njg4Njc1LDU4Ljg0NTAzNjkgQzI5LjMyMDM2MzIsNTguNjAwNzEyOCAzMS43OTMxODY0LDYwLjAxNjYzNzkgMzIuMDMxNzU0OCw2My4zNDY3NTUxIEMzMi4xNTAyNjQ0LDY1LjAwMDA3ODQgMzEuNjE3NzQ1Nyw2Ni42MjgzOTIyIDMwLjU3NjcyMDEsNjcuNzcwNzUxMyBDMjkuMzUwMTg0Myw2OS4xMTU0OTUzIDI3LjQwOTEwNTIsNjkuODkzNDg0NiAyNS4xMDAxMDQyLDcwLjA1NzAwODUgTDIxLjk5NjAwNDMsNzAuMjc2MzIzIEwyMS42MDUyMzI0LDc0LjU3NzE5NTMgWiIgaWQ9IkZpbGwtMjAiIGZpbGw9IiMxRjI0NDYiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMzcuNjg3MTAzNCw2NS4yMjU2NjQ1IEwzOS45MjIxMzI3LDY1LjA2NzkxMiBDNDIuMDU3NjI5NSw2NC45MTY3MDA0IDQzLjEyNTM3NzksNjMuNzk2NjU3NiA0My4wMTczMjUxLDYyLjI4NDkyNjcgQzQyLjk1ODA3MDIsNjEuNDU4NDU3NCA0Mi40Mjg2NDk4LDYwLjY4ODU0ODIgNDAuODM5MjI2OCw2MC44MDA4OTg4IEwzOC4wODI5MSw2MC45OTU5NzMyIEwzNy42ODcxMDM0LDY1LjIyNTY2NDUgWiBNMzYuOTMxODk1LDczLjQ5MzA1MDggTDMyLjgzNDQwNTcsNzMuNzgyNzc2NyBMMzQuMjY3MzY1MSw1OC4yNTEwNzk0IEw0MS4yMjAzMTY1LDU3Ljc1OTM1MzIgQzQ0LjMyNDQxNjQsNTcuNTM5NjU0IDQ2Ljg1MzAwODgsNTguNjkwNDc3OSA0Ny4wODMwNTY5LDYxLjkwMjQ3MzEgQzQ3LjI1MjMwMSw2NC4yNjQ1Mjg0IDQ1Ljc1MzUwMjksNjYuMzQwMzIwNyA0My4wODE2MTQ2LDY3LjM2MTA5NSBMNDYuNzMxNzg4Miw3Mi4zMjQ5MTI2IEw0Ni42OTExMjMxLDcyLjgwMjc4NzMgTDQyLjQ2OTcwMjIsNzMuMTAxMzYyOCBMMzguODgwMzMyNSw2Ny45NDI4NTU1IEwzNy40NDAwMTQ3LDY4LjA0NDQzMjcgTDM2LjkzMTg5NSw3My40OTMwNTA4IFoiIGlkPSJGaWxsLTIyIiBmaWxsPSIjMUYyNDQ2Ij48L3BhdGg+DQogICAgICAgICAgICAgICAgPHBvbHlnb24gaWQ9IkZpbGwtMjQiIGZpbGw9IiMxRjI0NDYiIHBvaW50cz0iNDkuODE3ODAxOCA1Ny4xNTEyNzUgNTMuOTE1MjkxMSA1Ni44NjE1NDkgNTIuNDgyMzMxNyA3Mi4zOTI4NjE2IDQ4LjM4NDg0MjQgNzIuNjgyOTcyNCI+PC9wb2x5Z29uPg0KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik01NC42MjM3MTUzLDY4LjkxODExMjMgQzU1LjIxNzAzNzksNjkuMTg0NzUyNSA1Ni4wNDMxMTk3LDY5LjIyMTMwNSA1Ni43MzgyOTg2LDY5LjE3MjQ0MDIgQzU4LjE1MzgzMDEsNjkuMDcyMDE3MiA1OS4wNjE2MjkzLDY4LjUwOTQ5NDggNTkuMjI2MjI2LDY2LjYyMjIzNiBMNjAuMTkyMTE4MSw1Ni40MTc1NzE5IEw2NC4xOTAwNzQ4LDU2LjEzNDM4NjkgTDYzLjE4NjYxNTksNjYuODY0NjM2MiBDNjIuODMzNDEwOCw3MC42NDAzMDgxIDYwLjY3MTU3ODUsNzIuMTcwMTIyOCA1Ny4yOTQ0NDE4LDcyLjQwODY3NTQgQzU2LjAyODQwMjgsNzIuNDk4NzA5NyA1NC43MjQ3OTcsNzIuNDI0NDUwNiA1My44NTcyNzU2LDcyLjE1MzU3OCBMNTQuMTc2Nzg2OSw2OC45NTAwNDc2IEw1NC42MjM3MTUzLDY4LjkxODExMjMgWiIgaWQ9IkZpbGwtMjYiIGZpbGw9IiMxRjI0NDYiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNzIuNjUzMTMzLDU1LjI1MDc4MDQgQzc1Ljc4MjQwNjUsNTUuMDI5NTQyMSA3OC40MDI3ODU4LDU2LjA3ODQwNCA3OC40NjA0OTE1LDU4Ljk3MTA0NjUgTDc4LjQzMjYwNjgsNTkuMjgxOTM0NCBMNzQuNTM0MTgyNyw1OS41NTcwMzk0IEM3NC41NDYxODg2LDU4LjY3Nzg1NzcgNzMuOTI1NzU1OSw1OC4wMzMzODA5IDcyLjQ2MDY1MTcsNTguMTM3MjY2NyBDNzEuMTQ0NjUyOCw1OC4yMjk5OTQ0IDcwLjMyNzg2NTksNTkuMDI0MTQzNyA3MC4zOTA2MDYzLDU5Ljg5NzU1NCBDNzAuNDE3NzE2Myw2MC4yNzU3NzUzIDcwLjUzMzkwMjIsNjAuNTA0NzA4OCA3MC43MTk3OTk3LDYwLjY1ODIyODkgQzcxLjcwNzc2NzEsNjEuNTYxMjY1OSA3NC45ODczMDc3LDYxLjM1MzEwOTUgNzYuODk3MDE2Niw2Mi45MjcxNzE5IEM3Ny42OTI4OSw2My41ODMxOTE1IDc4LjEyNDMyNjksNjQuMzgzNDk2OSA3OC4yMTU3MjY1LDY1LjY1ODk4MzggQzc4LjI5NzA1NjYsNjYuNzkyNDkzMyA3Ny45NDg0OTg5LDY4LjE5NDE4MjIgNzcuMDIyODg0Niw2OS4yMDkxODUgQzc1Ljc1MDI2MTgsNzAuNjA1MTAyNCA3My43OTkxMTMyLDcxLjI0MTQ5OTEgNzEuNDY0OTM4Niw3MS40MDY1NjIxIEM2OC4yNjEzMDYxLDcxLjYzMzE4NzEgNjUuMjk4MTc4NCw3MC42Nzk3NDYyIDY1LjI2MDIyNDQsNjcuMzU4ODYzMyBMNjUuMjg1Nzg1Myw2Ny4wMjQ1MDQ5IEw2OS4yODM3NDIsNjYuNzQxNzA0NyBDNjkuMjY3NDc2LDY2Ljg2MTc1MDUgNjkuMjc0MDU5OCw2Ni45NTYwMTczIDY5LjI4MjU4MDEsNjcuMDc0MTM5MyBDNjkuMzYzOTEwMyw2OC4yMDgwMzM2IDcwLjI2ODYxMTEsNjguNjQyODE0OSA3MS42NTkzNTYzLDY4LjU0NDMxNTggQzczLjA3NDUwMDUsNjguNDQ0Mjc3NiA3NC4xNjc0MjI1LDY3LjY3ODYwMDggNzQuMDkxNTE0NCw2Ni42MTUxMTc5IEM3NC4wNjQ0MDQ0LDY2LjIzNzY2NjIgNzMuOTQ2NjY5Myw2NS45ODQ0OTI2IDczLjYwMTU5NzIsNjUuNzAwNTM4MSBDNzIuNTE0MDk3Miw2NC44MDQwNDIxIDY4Ljk4OTQwNDQsNjQuNzIwOTMzNCA2Ny4zOTgwNDQ5LDYzLjQwOTI3ODkgQzY2LjcwNzkwMDYsNjIuODQwOTg1MSA2Ni4yMDU1OTAzLDYyLjA5MzAwNzMgNjYuMTE4ODM4MSw2MC44ODc5MzIgQzY2LjAxOTMwNTYsNTkuNDk0NzA3OSA2Ni40MzY0MTI5LDU4LjM0OTY1NTUgNjcuMzE1NTUyOSw1Ny4zODU0NDEzIEM2OC43NTAwNjE0LDU1LjgxMjE0ODUgNzAuNzE2NzAxNCw1NS4zODc3NTU3IDcyLjY1MzEzMyw1NS4yNTA3ODA0IiBpZD0iRmlsbC0yOCIgZmlsbD0iIzFGMjQ0NiI+PC9wYXRoPg0KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMi4zOTQ3OTMsODcuMDc2MzEyMiBDMjAuMDcyMjM2OSw4Ny4yNDA5OTA0IDE4LjI3OTg3NTgsODUuOTgxMjc4OCAxOC4xMTEwMTksODMuNjI1Mzc5NiBDMTguMDMwNDYzNCw4Mi41MDI2NDM0IDE4LjQ3MDAzMzQsODEuMjU3MTY4IDE5LjMzMDk3MDksODAuMzEyOTYxNSBDMjAuMTY3ODk2Niw3OS4zOTUzMDM2IDIxLjQwMjE3ODIsNzguODA0NjkzNSAyMi43NzUxMDgyLDc4LjcwNzczMzQgQzI1LjA5NzY2NDMsNzguNTQzNDQgMjYuNDE3OTIzMyw3OS41MDQ1NzYgMjYuNTM3NTk0OCw4MC45OTMyMjExIEwyNi41MjMyNjUyLDgxLjE1MzI4MjIgTDI0LjQ4MzA0MDksODEuMjk3NTY4MSBDMjQuNDA4Mjk0Niw4MC42MTYxNTQxIDIzLjg0NDc5Myw4MC4zMTI1NzY3IDIyLjkzMzg5NTYsODAuMzc3MjE2OCBDMjEuMjM5OTA1Miw4MC40OTY4Nzc4IDIwLjIxMjgyMTgsODEuODIwODQ0NyAyMC4zMzA1NTY5LDgzLjQ2ODc4MTQgQzIwLjQyMjczMSw4NC43NTA0MjQ0IDIxLjIyNTU3NTYsODUuNTE1MzMxNyAyMi42MTEyODYxLDg1LjQxNzIxNzQgQzIzLjQ3MTA2MTcsODUuMzU2NDI0OSAyNC4wOTM0MzA4LDg1LjA0Mjg0MzcgMjQuNTE1NTcyOSw4NC42MzI2ODcyIEwyNC41ODIxODYyLDgzLjk0MDg4NDcgTDIyLjQzODk0MzYsODQuMDkyNDgxIEwyMi41OTMwODM2LDgyLjQ2MjI0MzQgTDI2LjYyMjQxMDUsODIuMTc3NTE5MyBMMjYuMzI0OTc0Niw4NS4yMjgyOTkxIEMyNS43MDYwOTExLDg1Ljk0NjY1MDIgMjQuNDg2NTI2NCw4Ni45Mjg1NjM1IDIyLjM5NDc5Myw4Ny4wNzYzMTIyIiBpZD0iRmlsbC0zMCIgZmlsbD0iIzFGMjQ0NiI+PC9wYXRoPg0KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zMS41OTY1OTk5LDgwLjEzMjU0NjUgQzMxLjQ2MTQzNyw4MC41ODM4NzI2IDMxLjIzMTc3NjIsODEuMTY0NDc4OCAzMS4wMzM0ODU2LDgxLjYzMTk2NDkgTDMwLjIzMDI1MzcsODMuMzgxNDc4OCBMMzIuNDYyOTU5NCw4My4yMjM3MjYzIEwzMS45ODMxMTE2LDgxLjU2NTAxNjMgQzMxLjg0NzU2MTQsODEuMTIwNjE1OSAzMS43MDU4MTQ2LDgwLjU3ODQ4NTkgMzEuNjIxNzczNSw4MC4xMzA2MjI3IEwzMS41OTY1OTk5LDgwLjEzMjU0NjUgWiBNMjkuNDgyNzkxMSw4NS4wMDQ3OTA3IEwyOC44MzcxODQ4LDg2LjQzNjg3NTggTDI2LjYwNDA5MTksODYuNTk0NjI4MyBMMjYuNjEzNzc0LDg2LjM3MzM5IEwzMC42MDM5ODUsNzguMzM4MDE1NCBMMzIuODg3ODEyNSw3OC4xNzY0MTUyIEwzNS40MTY3OTIyLDg1Ljc1MDg0NDcgTDM1LjQwNjcyMjgsODUuOTcyMDgzIEwzMy4zMDI1OTYyLDg2LjEyMDYwMTIgTDMyLjg5NTU1ODIsODQuNzYzNTQ0OCBMMjkuNDgyNzkxMSw4NS4wMDQ3OTA3IFoiIGlkPSJGaWxsLTMyIiBmaWxsPSIjMUYyNDQ2Ij48L3BhdGg+DQogICAgICAgICAgICAgICAgPHBhdGggZD0iTTM4LjYxODA2MjIsODEuNTAwMjYwOCBMMzkuNzcyOTUwMSw4MS40MTg2OTEyIEM0MC44NzY3MTYxLDgxLjM0MDU4NDUgNDEuNDI4MjExOCw4MC43NjE5MDIxIDQxLjM3MjQ0MjYsNzkuOTgwODM0NyBDNDEuMzQxODQ3LDc5LjU1MzM2MzkgNDEuMDY4MDM1NSw3OS4xNTU1MTk3IDQwLjI0Njk4ODUsNzkuMjE0MDAzNiBMMzguODIyNTQ5NCw3OS4zMTQ0MjY1IEwzOC42MTgwNjIyLDgxLjUwMDI2MDggWiBNMzguMjI4MDY0OSw4NS43NzI2NjA3IEwzNi4xMTAzODMzLDg1LjkyMjMzMzIgTDM2Ljg1MDg3NDcsNzcuODk2MTkyOSBMNDAuNDQ0MTE3Myw3Ny42NDIyNDk4IEM0Mi4wNDc4Njk5LDc3LjUyODc0NSA0My4zNTQxODY3LDc4LjEyMzIwMjYgNDMuNDczNDcwOSw3OS43ODMwNjY5IEM0My41NjA2MTAzLDgxLjAwMzUzMjggNDIuNzg2NDI0OSw4Mi4wNzY2MzQ3IDQxLjQwNTc0OTIsODIuNjAzNzU4OSBMNDMuMjkxODMzNiw4NS4xNjg5Njg4IEw0My4yNzA5MjAxLDg1LjQxNTk4NjEgTDQxLjA4OTMzNjMsODUuNTcwMjc1OCBMMzkuMjM0NjIyMSw4Mi45MDQyNTgyIEwzOC40OTAyNTc3LDgyLjk1Njk3MDcgTDM4LjIyODA2NDksODUuNzcyNjYwNyBaIiBpZD0iRmlsbC0zNCIgZmlsbD0iIzFGMjQ0NiI+PC9wYXRoPg0KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik00OC41OTg4MTgxLDc4LjkyOTgxODIgQzQ4LjQ2MzY1NTIsNzkuMzgxMTQ0MyA0OC4yMzM5OTQ0LDc5Ljk2MTc1MDUgNDguMDM1NzAzOCw4MC40Mjk2MjE0IEw0Ny4yMzIwODQ3LDgyLjE3OTEzNTMgTDQ5LjQ2NTE3NzYsODIuMDIxMzgyOCBMNDguOTg1MzI5OSw4MC4zNjI2NzI4IEM0OC44NDk3Nzk2LDc5LjkxNzg4NzYgNDguNzA4MDMyOSw3OS4zNzYxNDI0IDQ4LjYyMzk5MTcsNzguOTI3ODk0NCBMNDguNTk4ODE4MSw3OC45Mjk4MTgyIFogTTQ2LjQ4NDYyMjEsODMuODAyNDQ3MiBMNDUuODM5MDE1OCw4NS4yMzQ1MzIzIEw0My42MDYzMTAxLDg1LjM5MjI4NDggTDQzLjYxNTk5MjMsODUuMTcwNjYxNyBMNDcuNjA2MjAzMyw3Ny4xMzU2NzE5IEw0OS44OTAwMzA3LDc2Ljk3NDA3MTcgTDUyLjQxOTAxMDQsODQuNTQ4MTE2NCBMNTIuNDA4OTQxLDg0Ljc2OTczOTUgTDUwLjMwNDgxNDQsODQuOTE4MjU3NyBMNDkuODk3Nzc2NCw4My41NjA4MTY1IEw0Ni40ODQ2MjIxLDgzLjgwMjQ0NzIgWiIgaWQ9IkZpbGwtMzYiIGZpbGw9IiMxRjI0NDYiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNjAuNzQ3ODM1Miw4NC4xNzk3MDY2IEw1OC44NDg5NzA0LDg0LjMxNDM3MzQgTDU2LjYyMjg0ODYsODEuMTQ3MDEwNiBDNTYuMTc5NzkzLDgwLjU0MDI0MDUgNTUuNzY5NjU2OCw3OS44NTgwNTcxIDU1LjU4OTU2ODYsNzkuNTAyOTIxNSBMNTUuNTYzNjIwNSw3OS41MDQ0NjA2IEM1NS41NDQyNTYxLDc5Ljc3NTcxOCA1NS41MzQ1NzQsODAuNzIxMDc4OCA1NS40NjI1Mzg3LDgxLjUxMDk5NTcgTDU1LjE3ODY1NzksODQuNTczNzAzMSBMNTMuMTEyODcyNiw4NC43MTk1MjggTDUzLjg1MzM2NCw3Ni42OTM3NzI0IEw1NS44NDIwNzkzLDc2LjU1Mjk0OTUgTDU3Ljk3MTM3OTUsNzkuNjI4MzU0IEM1OC40NTc0MjM5LDgwLjI5MzYwOCA1OC44NDU0ODQ4LDgxLjAyNjU4IDU5LjAyMjg2MTksODEuMzQ1MTYzMiBMNTkuMDQ4NDIyOCw4MS4zNDM2MjQxIEM1OS4wNTUwMDY3LDgxLjA3MzEzNjMgNTkuMDkwNjM3LDgwLjEyNjIzNjQgNTkuMTY3NzA3LDc5LjIyNTEyMzIgTDU5LjQyMjU0MTQsNzYuMjk5Nzc1OSBMNjEuNDg4MzI2Nyw3Ni4xNTM1NjYyIEw2MC43NDc4MzUyLDg0LjE3OTcwNjYgWiIgaWQ9IkZpbGwtMzgiIGZpbGw9IiMxRjI0NDYiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8cG9seWdvbiBpZD0iRmlsbC00MCIgZmlsbD0iIzFGMjQ0NiIgcG9pbnRzPSI2OS4xNDcxMDc0IDc1LjYxMTk3NDkgNjguOTkzNzQyIDc3LjI1NDUyNDkgNjYuNzA5NTI3MiA3Ny40MTU3NDAzIDY2LjEyMjQwMTIgODMuNzk5MzMwNiA2NC4wMDU0OTQxIDgzLjk0OTM4NzkgNjQuNTkyMjMyOSA3Ny41NjU0MTI4IDYyLjIxODU1NSA3Ny43MzM1NTM5IDYyLjM3MTUzMzEgNzYuMDkxMDAzOSI+PC9wb2x5Z29uPg0KICAgICAgICAgICAgICAgIDxwb2x5Z29uIGlkPSJGaWxsLTQyIiBmaWxsPSIjMUYyNDQ2IiBwb2ludHM9IjcwLjAyNDAwMTEgNzUuNTQ5OTg5NyA3Mi4xNDEyOTU0IDc1LjM5OTkzMjQgNzEuNDAwODA0IDgzLjQyNjQ1NzUgNjkuMjgzNTA5NiA4My41NzU3NDUzIj48L3BvbHlnb24+DQogICAgICAgICAgICAgICAgPHBvbHlnb24gaWQ9IkZpbGwtNDQiIGZpbGw9IiMxRjI0NDYiIHBvaW50cz0iNzkuNDUzMzM4NyA3Ni41MTQ1MTE3IDc1Ljc5NjE5MzkgNzYuNzczMDcxOSA3NS42NTc1NDU0IDc4LjI1NDc5MTMgNzguNzYyODA3MiA3OC4wMzU0NzY4IDc4LjYxMjkyNzQgNzkuNzI2ODkxNiA3NS41MDc2NjU2IDc5Ljk0NjIwNjEgNzUuMzYxMjcxNCA4MS41MDI1Njk0IDc5LjAxODQxNjEgODEuMjQzNjI0NCA3OC44NjU4MjUzIDgyLjg5ODQ4NjggNzMuMDkxMzg2MiA4My4zMDY3MTk1IDczLjgzMTg3NzcgNzUuMjgwNTc5MiA3OS42MDYzMTY4IDc0Ljg3MTk2MTciPjwvcG9seWdvbj4NCiAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtNDgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDYzLjEyNzY3MSwgMC4zMTI4MTIpIj4NCiAgICAgICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stNCIgZmlsbD0id2hpdGUiPg0KICAgICAgICAgICAgICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjcGF0aC0zIj48L3VzZT4NCiAgICAgICAgICAgICAgICAgICAgPC9tYXNrPg0KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iQ2xpcC00NyI+PC9nPg0KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMzUuODY4Njc3OSwxNi41NjY0IEMzNi41Njk2NjYxLDI2LjM0NzA1NjEgMjkuMTU2NjE4NiwzNC44NDA2ODI2IDE5LjMxMTgwMDIsMzUuNTM3MTAyMiBDOS40NjY1OTQ1NSwzNi4yMzM1MjE5IDAuOTE3NjM2MjE4LDI4Ljg2OTE3MjYgMC4yMTY2NDc5NywxOS4wODgxMzE3IEMtMC40ODQzNDAyNzgsOS4zMDcwOTA3OSA2LjkyODMxOTk4LDAuODEzODQ5MDkxIDE2Ljc3MzUyNTYsMC4xMTc0Mjk0MzYgQzI2LjYxODczMTMsLTAuNTc4OTkwMjE5IDM1LjE2NzY4OTYsNi43ODU3NDM4MiAzNS44Njg2Nzc5LDE2LjU2NjQiIGlkPSJGaWxsLTQ2IiBmaWxsPSIjMUYyNDQ2IiBtYXNrPSJ1cmwoI21hc2stNCkiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgPHBhdGggZD0iTTczLjU1NzQwNzksMTkuNDYyNjIwOCBDNzMuNDg4MDgzNiwxOC45MTAxMDIyIDczLjQ1MDUxNjgsMTguMzg0NTE3IDczLjQ0MDA2MDEsMTcuODI3NzY2IEw3MS4zMjQzMTQ5LDE3Ljk3NzQzODUgTDcxLjY0NjE0OTgsMTUuODcxMjUgTDczLjQ5NzM3ODUsMTUuNzQwNDMwOSBDNzQuMTI1OTQ0MiwxMS4zMjM3NDUxIDc2Ljk2MjQyOTIsOC40NTMwMzQwNCA4MC45NTg4MzY4LDguMTcwMjMzNzkgQzg0Ljc0OTU5NTQsNy45MDI0MzkyOCA4OC4yNjA3MzMyLDkuOTEzMjA2NzQgODguODYwMjUyNCwxNC4xNTQ4MjU3IEw4OC44ODExNjU5LDE0LjQ0Njg2MDIgTDg1LjM1NDUzNjYsMTQuNjk2MTg2MiBDODUuMDQ4OTY3NywxMi40ODgwMzU3IDgzLjUwNjQwNjMsMTEuMTU5MDY2OSA4MS4zMDIzNTk4LDExLjMxNTI4MDMgQzc5LjEyNzc0NzEsMTEuNDY4ODAwNSA3Ny43NTI4ODA2LDEyLjg4NjY0OTMgNzcuMzE3NTcwOCwxNS40NzAzMjc4IEw4My4yMjQwNzQ1LDE1LjA1MjQ3NiBMODIuOTAyNjI2OSwxNy4xNTg2NjQ1IEw3Ny4xNDI5MDQ2LDE3LjU2NTc0MjkgQzc3LjE0OTEwMTIsMTguMDY0Mzk0OCA3Ny4xODQ3MzE2LDE4LjU2MDczODEgNzcuMjYwMjUyNCwxOS4yMDA1OTc3IEw4Mi42Mzc3MjMsMTguODIwNDUyNiBMODIuMjg2ODQxNiwyMC45Mjg1NjQ5IEw3Ny43OTA0NDc0LDIxLjI0NjM3ODUgQzc4LjY2OTU4NzMsMjMuNjE5OTc2OCA4MC4yMTgzNDU0LDI1LjAzNTkwMTggODIuMzM0MDkwNSwyNC44ODY2MTQxIEM4NC41MzgxMzcsMjQuNzMwNDAwNiA4NS44MDE4NTIzLDIyLjk5NzgxNjMgODUuNzgxMzI2MSwyMC42NTE5MjA5IEw4OS4yNzg1MjE2LDIwLjQwNDUxODggTDg5LjI5OTQzNTEsMjAuNjk2OTM4MSBDODkuMzc2MTE3OCwyNS4wNjMyMiA4Ni4yMzEzNTI4LDI3Ljc1MDM5OTQgODIuMzgxNzI2OCwyOC4wMjI4MTExIEM3OC40MTQzNjU3LDI4LjMwMzMwMjggNzUuMjI2NjExOSwyNS44NTg5MDgzIDczLjkxMTc3NDgsMjEuNTIxMDk4OCBMNzAuNzA4NTI5NiwyMS43NDczMzkgTDcxLjA1OTQxMTEsMTkuNjM5MjI2NyBMNzMuNTU3NDA3OSwxOS40NjI2MjA4IFoiIGlkPSJGaWxsLTQ5IiBmaWxsPSIjRjZCRDYwIj48L3BhdGg+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4="

/***/ }),
/* 27 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/**
 * Copyright (c) 2014-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */



/**
 * Similar to invariant but only logs a warning if the condition is not met.
 * This can be used to log issues in development environments in critical
 * paths. Removing the logging code for production environments will keep the
 * same logic and follow the same code paths.
 */

var __DEV__ = "production" !== 'production';

var warning = function() {};

if (__DEV__) {
  var printWarning = function printWarning(format, args) {
    var len = arguments.length;
    args = new Array(len > 1 ? len - 1 : 0);
    for (var key = 1; key < len; key++) {
      args[key - 1] = arguments[key];
    }
    var argIndex = 0;
    var message = 'Warning: ' +
      format.replace(/%s/g, function() {
        return args[argIndex++];
      });
    if (typeof console !== 'undefined') {
      console.error(message);
    }
    try {
      // --- Welcome to debugging React ---
      // This error was thrown as a convenience so that you can use this stack
      // to find the callsite that caused this warning to fire.
      throw new Error(message);
    } catch (x) {}
  }

  warning = function(condition, format, args) {
    var len = arguments.length;
    args = new Array(len > 2 ? len - 2 : 0);
    for (var key = 2; key < len; key++) {
      args[key - 2] = arguments[key];
    }
    if (format === undefined) {
      throw new Error(
          '`warning(condition, format, ...args)` requires a warning ' +
          'message argument'
      );
    }
    if (!condition) {
      printWarning.apply(null, [format].concat(args));
    }
  };
}

module.exports = warning;


/***/ }),
/* 28 */
/***/ (function(module, exports) {

module.exports = function(module) {
	if (!module.webpackPolyfill) {
		module.deprecate = function() {};
		module.paths = [];
		// module.parent = undefined by default
		if (!module.children) module.children = [];
		Object.defineProperty(module, "loaded", {
			enumerable: true,
			get: function() {
				return module.l;
			}
		});
		Object.defineProperty(module, "id", {
			enumerable: true,
			get: function() {
				return module.i;
			}
		});
		module.webpackPolyfill = 1;
	}
	return module;
};


/***/ }),
/* 29 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


module.exports = function bind(fn, thisArg) {
  return function wrap() {
    var args = new Array(arguments.length);
    for (var i = 0; i < args.length; i++) {
      args[i] = arguments[i];
    }
    return fn.apply(thisArg, args);
  };
};


/***/ }),
/* 30 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(20);

function encode(val) {
  return encodeURIComponent(val).
    replace(/%3A/gi, ':').
    replace(/%24/g, '$').
    replace(/%2C/gi, ',').
    replace(/%20/g, '+').
    replace(/%5B/gi, '[').
    replace(/%5D/gi, ']');
}

/**
 * Build a URL by appending params to the end
 *
 * @param {string} url The base of the url (e.g., http://www.google.com)
 * @param {object} [params] The params to be appended
 * @returns {string} The formatted url
 */
module.exports = function buildURL(url, params, paramsSerializer) {
  /*eslint no-param-reassign:0*/
  if (!params) {
    return url;
  }

  var serializedParams;
  if (paramsSerializer) {
    serializedParams = paramsSerializer(params);
  } else if (utils.isURLSearchParams(params)) {
    serializedParams = params.toString();
  } else {
    var parts = [];

    utils.forEach(params, function serialize(val, key) {
      if (val === null || typeof val === 'undefined') {
        return;
      }

      if (utils.isArray(val)) {
        key = key + '[]';
      } else {
        val = [val];
      }

      utils.forEach(val, function parseValue(v) {
        if (utils.isDate(v)) {
          v = v.toISOString();
        } else if (utils.isObject(v)) {
          v = JSON.stringify(v);
        }
        parts.push(encode(key) + '=' + encode(v));
      });
    });

    serializedParams = parts.join('&');
  }

  if (serializedParams) {
    var hashmarkIndex = url.indexOf('#');
    if (hashmarkIndex !== -1) {
      url = url.slice(0, hashmarkIndex);
    }

    url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
  }

  return url;
};


/***/ }),
/* 31 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


module.exports = function isCancel(value) {
  return !!(value && value.__CANCEL__);
};


/***/ }),
/* 32 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(process) {

var utils = __webpack_require__(20);
var normalizeHeaderName = __webpack_require__(53);

var DEFAULT_CONTENT_TYPE = {
  'Content-Type': 'application/x-www-form-urlencoded'
};

function setContentTypeIfUnset(headers, value) {
  if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {
    headers['Content-Type'] = value;
  }
}

function getDefaultAdapter() {
  var adapter;
  if (typeof XMLHttpRequest !== 'undefined') {
    // For browsers use XHR adapter
    adapter = __webpack_require__(33);
  } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
    // For node use HTTP adapter
    adapter = __webpack_require__(33);
  }
  return adapter;
}

var defaults = {
  adapter: getDefaultAdapter(),

  transformRequest: [function transformRequest(data, headers) {
    normalizeHeaderName(headers, 'Accept');
    normalizeHeaderName(headers, 'Content-Type');
    if (utils.isFormData(data) ||
      utils.isArrayBuffer(data) ||
      utils.isBuffer(data) ||
      utils.isStream(data) ||
      utils.isFile(data) ||
      utils.isBlob(data)
    ) {
      return data;
    }
    if (utils.isArrayBufferView(data)) {
      return data.buffer;
    }
    if (utils.isURLSearchParams(data)) {
      setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
      return data.toString();
    }
    if (utils.isObject(data)) {
      setContentTypeIfUnset(headers, 'application/json;charset=utf-8');
      return JSON.stringify(data);
    }
    return data;
  }],

  transformResponse: [function transformResponse(data) {
    /*eslint no-param-reassign:0*/
    if (typeof data === 'string') {
      try {
        data = JSON.parse(data);
      } catch (e) { /* Ignore */ }
    }
    return data;
  }],

  /**
   * A timeout in milliseconds to abort a request. If set to 0 (default) a
   * timeout is not created.
   */
  timeout: 0,

  xsrfCookieName: 'XSRF-TOKEN',
  xsrfHeaderName: 'X-XSRF-TOKEN',

  maxContentLength: -1,
  maxBodyLength: -1,

  validateStatus: function validateStatus(status) {
    return status >= 200 && status < 300;
  }
};

defaults.headers = {
  common: {
    'Accept': 'application/json, text/plain, */*'
  }
};

utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
  defaults.headers[method] = {};
});

utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
  defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
});

module.exports = defaults;

/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(52)))

/***/ }),
/* 33 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(20);
var settle = __webpack_require__(54);
var cookies = __webpack_require__(56);
var buildURL = __webpack_require__(30);
var buildFullPath = __webpack_require__(57);
var parseHeaders = __webpack_require__(60);
var isURLSameOrigin = __webpack_require__(61);
var createError = __webpack_require__(34);

module.exports = function xhrAdapter(config) {
  return new Promise(function dispatchXhrRequest(resolve, reject) {
    var requestData = config.data;
    var requestHeaders = config.headers;

    if (utils.isFormData(requestData)) {
      delete requestHeaders['Content-Type']; // Let the browser set it
    }

    var request = new XMLHttpRequest();

    // HTTP basic authentication
    if (config.auth) {
      var username = config.auth.username || '';
      var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
      requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
    }

    var fullPath = buildFullPath(config.baseURL, config.url);
    request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);

    // Set the request timeout in MS
    request.timeout = config.timeout;

    // Listen for ready state
    request.onreadystatechange = function handleLoad() {
      if (!request || request.readyState !== 4) {
        return;
      }

      // The request errored out and we didn't get a response, this will be
      // handled by onerror instead
      // With one exception: request that using file: protocol, most browsers
      // will return status as 0 even though it's a successful request
      if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
        return;
      }

      // Prepare the response
      var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
      var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;
      var response = {
        data: responseData,
        status: request.status,
        statusText: request.statusText,
        headers: responseHeaders,
        config: config,
        request: request
      };

      settle(resolve, reject, response);

      // Clean up request
      request = null;
    };

    // Handle browser request cancellation (as opposed to a manual cancellation)
    request.onabort = function handleAbort() {
      if (!request) {
        return;
      }

      reject(createError('Request aborted', config, 'ECONNABORTED', request));

      // Clean up request
      request = null;
    };

    // Handle low level network errors
    request.onerror = function handleError() {
      // Real errors are hidden from us by the browser
      // onerror should only fire if it's a network error
      reject(createError('Network Error', config, null, request));

      // Clean up request
      request = null;
    };

    // Handle timeout
    request.ontimeout = function handleTimeout() {
      var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';
      if (config.timeoutErrorMessage) {
        timeoutErrorMessage = config.timeoutErrorMessage;
      }
      reject(createError(timeoutErrorMessage, config, 'ECONNABORTED',
        request));

      // Clean up request
      request = null;
    };

    // Add xsrf header
    // This is only done if running in a standard browser environment.
    // Specifically not if we're in a web worker, or react-native.
    if (utils.isStandardBrowserEnv()) {
      // Add xsrf header
      var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?
        cookies.read(config.xsrfCookieName) :
        undefined;

      if (xsrfValue) {
        requestHeaders[config.xsrfHeaderName] = xsrfValue;
      }
    }

    // Add headers to the request
    if ('setRequestHeader' in request) {
      utils.forEach(requestHeaders, function setRequestHeader(val, key) {
        if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
          // Remove Content-Type if data is undefined
          delete requestHeaders[key];
        } else {
          // Otherwise add header to the request
          request.setRequestHeader(key, val);
        }
      });
    }

    // Add withCredentials to request if needed
    if (!utils.isUndefined(config.withCredentials)) {
      request.withCredentials = !!config.withCredentials;
    }

    // Add responseType to request if needed
    if (config.responseType) {
      try {
        request.responseType = config.responseType;
      } catch (e) {
        // Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.
        // But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.
        if (config.responseType !== 'json') {
          throw e;
        }
      }
    }

    // Handle progress if needed
    if (typeof config.onDownloadProgress === 'function') {
      request.addEventListener('progress', config.onDownloadProgress);
    }

    // Not all browsers support upload events
    if (typeof config.onUploadProgress === 'function' && request.upload) {
      request.upload.addEventListener('progress', config.onUploadProgress);
    }

    if (config.cancelToken) {
      // Handle cancellation
      config.cancelToken.promise.then(function onCanceled(cancel) {
        if (!request) {
          return;
        }

        request.abort();
        reject(cancel);
        // Clean up request
        request = null;
      });
    }

    if (!requestData) {
      requestData = null;
    }

    // Send the request
    request.send(requestData);
  });
};


/***/ }),
/* 34 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var enhanceError = __webpack_require__(55);

/**
 * Create an Error with the specified message, config, error code, request and response.
 *
 * @param {string} message The error message.
 * @param {Object} config The config.
 * @param {string} [code] The error code (for example, 'ECONNABORTED').
 * @param {Object} [request] The request.
 * @param {Object} [response] The response.
 * @returns {Error} The created error.
 */
module.exports = function createError(message, config, code, request, response) {
  var error = new Error(message);
  return enhanceError(error, config, code, request, response);
};


/***/ }),
/* 35 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(20);

/**
 * Config-specific merge-function which creates a new config-object
 * by merging two configuration objects together.
 *
 * @param {Object} config1
 * @param {Object} config2
 * @returns {Object} New object resulting from merging config2 to config1
 */
module.exports = function mergeConfig(config1, config2) {
  // eslint-disable-next-line no-param-reassign
  config2 = config2 || {};
  var config = {};

  var valueFromConfig2Keys = ['url', 'method', 'data'];
  var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];
  var defaultToConfig2Keys = [
    'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',
    'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',
    'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',
    'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',
    'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'
  ];
  var directMergeKeys = ['validateStatus'];

  function getMergedValue(target, source) {
    if (utils.isPlainObject(target) && utils.isPlainObject(source)) {
      return utils.merge(target, source);
    } else if (utils.isPlainObject(source)) {
      return utils.merge({}, source);
    } else if (utils.isArray(source)) {
      return source.slice();
    }
    return source;
  }

  function mergeDeepProperties(prop) {
    if (!utils.isUndefined(config2[prop])) {
      config[prop] = getMergedValue(config1[prop], config2[prop]);
    } else if (!utils.isUndefined(config1[prop])) {
      config[prop] = getMergedValue(undefined, config1[prop]);
    }
  }

  utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {
    if (!utils.isUndefined(config2[prop])) {
      config[prop] = getMergedValue(undefined, config2[prop]);
    }
  });

  utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);

  utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {
    if (!utils.isUndefined(config2[prop])) {
      config[prop] = getMergedValue(undefined, config2[prop]);
    } else if (!utils.isUndefined(config1[prop])) {
      config[prop] = getMergedValue(undefined, config1[prop]);
    }
  });

  utils.forEach(directMergeKeys, function merge(prop) {
    if (prop in config2) {
      config[prop] = getMergedValue(config1[prop], config2[prop]);
    } else if (prop in config1) {
      config[prop] = getMergedValue(undefined, config1[prop]);
    }
  });

  var axiosKeys = valueFromConfig2Keys
    .concat(mergeDeepPropertiesKeys)
    .concat(defaultToConfig2Keys)
    .concat(directMergeKeys);

  var otherKeys = Object
    .keys(config1)
    .concat(Object.keys(config2))
    .filter(function filterAxiosKeys(key) {
      return axiosKeys.indexOf(key) === -1;
    });

  utils.forEach(otherKeys, mergeDeepProperties);

  return config;
};


/***/ }),
/* 36 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


/**
 * A `Cancel` is an object that is thrown when an operation is canceled.
 *
 * @class
 * @param {string=} message The message.
 */
function Cancel(message) {
  this.message = message;
}

Cancel.prototype.toString = function toString() {
  return 'Cancel' + (this.message ? ': ' + this.message : '');
};

Cancel.prototype.__CANCEL__ = true;

module.exports = Cancel;


/***/ }),
/* 37 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(69);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 38 */
/***/ (function(module, exports) {

module.exports = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjEycHgiIGhlaWdodD0iMTJweCIgdmlld0JveD0iMCAwIDEyIDEyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBza2V0Y2h0b29sIDU0ICg3NjQ4MCkgLSBodHRwczovL3NrZXRjaGFwcC5jb20gLS0+DQogICAgPHRpdGxlPkM0RkE4ODg3LUIxRkMtNEIxNS1BMEFFLTY4RjhGQzYxRjY5MDwvdGl0bGU+DQogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPg0KICAgIDxnIGlkPSJMYW5kaW5ncGFnaW5hJ3MiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0iTGFuZGluZ3NwYWdpbmEtVGVtcGxhdGUtRGVza3RvcC0xNDQwLSstTWluaWNhbGN1bGF0b3ItNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTg5MC4wMDAwMDAsIC03OTEuMDAwMDAwKSIgZmlsbD0iIzQ3QjdFMyIgZmlsbC1ydWxlPSJub256ZXJvIj4NCiAgICAgICAgICAgIDxwYXRoIGQ9Ik04OTYsODAxLjgxNzMwOCBDODk2Ljg2NTM4OSw4MDEuODE3MzA4IDg5Ny42NzMwNzMsODAxLjU5NjE1NiA4OTguNDIzMDc3LDgwMS4xNTM4NDYgQzg5OS4xNTM4NSw4MDAuNzMwNzY3IDg5OS43MzA3NjcsODAwLjE1Mzg1IDkwMC4xNTM4NDYsNzk5LjQyMzA3NyBDOTAwLjU5NjE1Niw3OTguNjczMDczIDkwMC44MTczMDgsNzk3Ljg2NTM4OSA5MDAuODE3MzA4LDc5NyBDOTAwLjgxNzMwOCw3OTYuMTM0NjExIDkwMC41OTYxNTYsNzk1LjMyNjkyNyA5MDAuMTUzODQ2LDc5NC41NzY5MjMgQzg5OS43MzA3NjcsNzkzLjg0NjE1IDg5OS4xNTM4NSw3OTMuMjY5MjMzIDg5OC40MjMwNzcsNzkyLjg0NjE1NCBDODk3LjY3MzA3Myw3OTIuNDAzODQ0IDg5Ni44NjUzODksNzkyLjE4MjY5MiA4OTYsNzkyLjE4MjY5MiBDODk1LjEzNDYxMSw3OTIuMTgyNjkyIDg5NC4zMjY5MjcsNzkyLjQwMzg0NCA4OTMuNTc2OTIzLDc5Mi44NDYxNTQgQzg5Mi44NDYxNSw3OTMuMjY5MjMzIDg5Mi4yNjkyMzMsNzkzLjg0NjE1IDg5MS44NDYxNTQsNzk0LjU3NjkyMyBDODkxLjQwMzg0NCw3OTUuMzI2OTI3IDg5MS4xODI2OTIsNzk2LjEzNDYxMSA4OTEuMTgyNjkyLDc5NyBDODkxLjE4MjY5Miw3OTcuODY1Mzg5IDg5MS40MDM4NDQsNzk4LjY3MzA3MyA4OTEuODQ2MTU0LDc5OS40MjMwNzcgQzg5Mi4yNjkyMzMsODAwLjE1Mzg1IDg5Mi44NDYxNSw4MDAuNzMwNzY3IDg5My41NzY5MjMsODAxLjE1Mzg0NiBDODk0LjMyNjkyNyw4MDEuNTk2MTU2IDg5NS4xMzQ2MTEsODAxLjgxNzMwOCA4OTYsODAxLjgxNzMwOCBaIE04OTYsNzkxIEM4OTcuMDk2MTU5LDc5MSA4OTguMTEwNTcyLDc5MS4yNzQwMzYgODk5LjA0MzI2OSw3OTEuODIyMTE1IEM4OTkuOTQ3MTIsNzkyLjM0MTM0OSA5MDAuNjU4NjUxLDc5My4wNTI4OCA5MDEuMTc3ODg1LDc5My45NTY3MzEgQzkwMS43MjU5NjQsNzk0Ljg4OTQyOCA5MDIsNzk1LjkwMzg0MSA5MDIsNzk3IEM5MDIsNzk4LjA5NjE1OSA5MDEuNzI1OTY0LDc5OS4xMTA1NzIgOTAxLjE3Nzg4NSw4MDAuMDQzMjY5IEM5MDAuNjU4NjUxLDgwMC45NDcxMiA4OTkuOTQ3MTIsODAxLjY1ODY1MSA4OTkuMDQzMjY5LDgwMi4xNzc4ODUgQzg5OC4xMTA1NzIsODAyLjcyNTk2NCA4OTcuMDk2MTU5LDgwMyA4OTYsODAzIEM4OTQuOTAzODQxLDgwMyA4OTMuODg5NDI4LDgwMi43MjU5NjQgODkyLjk1NjczMSw4MDIuMTc3ODg1IEM4OTIuMDUyODgsODAxLjY0OTAzNiA4OTEuMzQxMzQ5LDgwMC45MzI2OTcgODkwLjgyMjExNSw4MDAuMDI4ODQ2IEM4OTAuMjc0MDM2LDc5OS4wOTYxNDkgODkwLDc5OC4wODY1NDQgODkwLDc5NyBDODkwLDc5NS45MTM0NTYgODkwLjI3NDAzNiw3OTQuOTAzODUxIDg5MC44MjIxMTUsNzkzLjk3MTE1NCBDODkxLjM1MDk2NCw3OTMuMDY3MzAzIDg5Mi4wNjczMDMsNzkyLjM1MDk2NCA4OTIuOTcxMTU0LDc5MS44MjIxMTUgQzg5My45MDM4NTEsNzkxLjI3NDAzNiA4OTQuOTEzNDU2LDc5MSA4OTYsNzkxIFogTTg5NS40MDg2NTQsNzkzLjk4NTU3NyBMODk2LjU5MTM0Niw3OTMuOTg1NTc3IEw4OTYuNTkxMzQ2LDc5Ny41OTEzNDYgTDg5NS40MDg2NTQsNzk3LjU5MTM0NiBMODk1LjQwODY1NCw3OTMuOTg1NTc3IFogTTg5NS40MDg2NTQsNzk4LjgwMjg4NSBMODk2LjU5MTM0Niw3OTguODAyODg1IEw4OTYuNTkxMzQ2LDgwMC4wMTQ0MjMgTDg5NS40MDg2NTQsODAwLjAxNDQyMyBMODk1LjQwODY1NCw3OTguODAyODg1IFoiIGlkPSIhLUJsdWUiPjwvcGF0aD4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg=="

/***/ }),
/* 39 */
/***/ (function(module, exports) {

module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABwhJREFUeNrEV1tsHdUVXWde9+lrx6849k3iGMd2bYPjGsfUkJSkhEdDSsIjIYAQUkGVKjWpQKKkUhXoDx/9rOhHpbaiv3wV0Q8UVaBKtKKUNGkcjB0ngTgJVWxsX9v3MffOzOk6M3Pl22D8SD+4V1tzZuacvfdZe+29zwgpJb7Jn/FGl7ilhckNOlLpeJWmC2/m4nw2t7jKAo9SNsU9q32rrWv/h/OHBg/tGrnj3u5/c/y9VWdroQMiGAudF+PWHajv2tn+6/S+2JZth+rbeu/Z8gafVd2KIk1UOLZWqa6LHht4ZqgF58aA89fQf7i3s6bOeGHdumj9VhBo797bd9yoycCbtYGFPIwGB7fv2vozvmtZNwLrXVDbkjrRd3RnqvSvMygJM2DSpxfQ+0RnY12T9ZIsE2w1UcYNbd0O9HXs+fbTem4c+YIO6Xjw3CKwWIQWz6J7ePPznHPb2lSJEAGycU3C+bWba070PdofmTtD4msRGnfhFflC44RPxtBzuKOKKLys5gpjZYEm4djuuhDY27N/+An36kcoOFFIj/G35+A505BuIUBBTmHH3tbnOHdw1f2L9XHAbNje9GrvDzq0qZFPIUwD+ckrmLmUwdREHvOf32BJo6rz4+g60mY1pmO/qCg7K5NQskKtJvwd3vHYrl3Fs6cgokkUJy8gdfBNpH9po+U1G7En/4LilWkg5wIzFzHw4LaHpYvv+0z7GhGUmLU2BKqbb289uf07Kcx+dhW6bpJ83HBiw1I9TySgoiBVcM9eRtuBBtHYmnyVr2LLagyzwFtLCFjrn+o/OLTdPv0eA1ENjaw3uNLLzy/py2Xg0CnPQVBjr45h8N76O10Pj0ihHLtJtKAMb9xorupAfbq/9ZWtPcDs9S9hGII57Pp5XBlhSTVMCLi07REJvPsftA7a2LQ1oriQXA4BoWlINVWRAysUCzNmHBt+aueWxY/fhxatYtqVaNeDUDutaONSpRTLQelyFsXP7QDXC1/guw/WdnP0/HJFqGh7+OT0zIoItLfd1X68bsMNZKdtvxQYnguTCJgKwgoHPNuGO6ZC4UBGiITK88tAQ7eDdFv0Fd5tWjYNtRU4EN8QPXH3ke7U/JkzMONxmMKGobvQNReWYq+5NFcvuQwPr1E6We40dASjU7h/f2qjrosXv5IJXsCZr3NgqHN3+7Ox0jhKtoClOWybkqnuwYrxnou1fH6JqKZEJBoQTEGlh1d8yTTYnMe2rtiPedd1Ew1CkivPK0R5n6yPvXjXA83G4sQkFRv00uMO6UCCzWMhC3OcCxPNSw7UdoHT/FoEN3RESVSFYgF77kvEdVP81E9ZMxDTCsfLltzdrY/pxQlCpMOM0jB3LRhf/WIGIk/ft3HWqR8BU0/TGi2Ovg0jHRhUNcJPkHIPmWU0+ohCR/S5iZH8b/nk9P+cCW8uuXXp5MnBh1J6bmQUkeoElZWgTc5Dny0GO1L1J25Ajl7B9N9e9zXUxmmriwM6qQ4ZcEOAFRQm5bNF3H+gNnLlkn3Sc7yDFRHwWzLKwqmP9+/ZtBszk5CJKMTcAsyRaegLNF6raiJnJMiueQcLw/vR8EeJht9LZPex/2S4da5BQg8IqGhe5kKOJ59kDp3fsg6UinioMiUrSZhqvq3qZNdeC/nrWehjNEzPhSqm1RSLO1T0t0xfcerIO0sLH/lDoIlNClG+j5uBYYWGDK9XC6wLpogntddCdoQIKPIosbQfDuyr7ZR/n4BzLgOz5EGvUXCXFdNChIpj0eD4ee71JdfHf0cvVOWntxErmKecULlWJmRewZxFb69xZ8nB0Zs5UNe4UT/ekruO+YslRAi3boXwmXogirI+ApSmLcA/fk6lX/A5HTr7Kxb2rbTnBdArbNXY5JqSE3igEOL0obs9nBsRL5Vs+RafLOpHt2tkrnx5qMM7GOURC4kAbdUsEOEqixKlUZOGIgyuxWuMEFTz/Dn9V7bff7Jj9CgIlwwp8okwyOxIvqhQ2OpQKSEzaLw0iRuRiPhQmanvHqh5oSkxB1sLbPqFxPJrLyWsLIpYMZXAHEQpJntM9c7gOOZQs5MP8Cxwx7IYOONSHEpJRUMGoSAKA8PkbCJ9bOKja28aVtxobB4e2uSefhcRhtCMiyDeMUoyEsQ1TljYjBCnxBgfi+SIUfRkUJNdGi9luENKgYlf4FW16/wCJccsCI5s/gGA3IItsePhe9omR/+02Shli5PnT33wG5E1etyc46pqqLHkarpkTuc5thnWjHrIqwjTq/x9JcLDBf+EWzLuHnfqEXLPv1dj6T9zw7Fq22bc0MWHf77kFQrXFGh0Ez+Zm3JM2pA6Y6eyRtNk8Dkn3ODzqeIg+ZX2HoZbbdALj3GqFnllCe8VFdTYmXdEY7sfGFLlG/48/68AAwC1G794DzIVaAAAAABJRU5ErkJggg=="

/***/ }),
/* 40 */
/***/ (function(module, exports) {

module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHUAAAAqCAYAAACN3BSeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1MjUwOTNFN0EyMUExMUUzOTBGMkJGQTg5MEQyQzM3MyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1MjUwOTNFOEEyMUExMUUzOTBGMkJGQTg5MEQyQzM3MyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkM5MkM2NDEyQTFFRTExRTM5MEYyQkZBODkwRDJDMzczIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjUyNTA5M0U2QTIxQTExRTM5MEYyQkZBODkwRDJDMzczIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+gDj5FgAAECRJREFUeNq8Wm2MXFUZPvfO9350P7rbbmpZE0IjYiRFGmowKK0EagpVS8FCShsLaWkLKKRoUSnUEmnIAoZKKx8qBpQ/hEBBKEFK+EhwpVWUNDFQlUJd293t7MzOzsfe2dn1ec6cOzszO8OcM3vHmz17596589znvu973vOecx8rd3CB0NniJwbuxe7etoULRovP25f9R3ixjfzK2ovdbR3XT2VNfjf5ymd0uPuxewDcbyn/zgv+4N6C3U/AfYfpbzX586Lvgv89OvxtTYd+Gbsfov1UNGCDUa7C7ia074vGbFvRbsZzXNsg/B+j/QDP8bUG4d+HthP8P69zsa3hUF6zN9IuLMsW23C82GOHRrDri3TgvyV24nihl/jg2w3cXRJfiPtxPMdj/otgl1tpHxzuw3HAY/4X2T5xTbhNEPdhHFuzdiq2jf6QWBJsWSAA7NcFNti2ByKiN9gM/FbBNPZzj6P8Z6EW0U78YLPowfFuj/EfDLWKEO3jD4tzcHyrhw71YfdQGAETau0RvoBYhuNrZ+VUgLbTKOH2/DEN4wuKC+loj6K817LEjnB7qzwOtc4Ttl9cifMrPDLKEssnNoZau+RxuK1TeJltwHMl+K4MtfTI40h7E7PNnTh/hkd+3YQOtTgQWSBdpbJNH/i3zaan7gq2iG5fYLqYUsB7ADzXA9J9iPIm25d3qrD8MIz89BAME56lQ5lN9iK72JYdzMPbYWYbRv/+2WYb8Auxl0q+Vt6Mtr/ds2yj7Lvb7VDcfEG9bGOVV78Ao9suRlsGrltaezr9NEbxlo4NCGdM/AUfn0d7C+1PqPzSmsaYT2y0SxDl17fOnyedWbylTg+IbFq8jY9/UPjvAt/RqR7B/wyFfwWyypqWeTOr+7HBAZFzxCv4+IrCfw/4E5r8z8JuOdq3MWysaJpbhg+YxKlBMTkhnsHRG6odBf6kJv8vKP7XoENdGGkvxZ+azIjEyWgOaL/H4ZtobwP7HyVOjT4uI+uriujFSIfn+UIIOsRhIOwTdmD+TCZAnBg/iSZky2VFVkyJd3kDdaM3caOEMkIhSHgPBMo5wLZ8Er9JRvcMePhvIjMscsSHK+EABsyflYF4j7eAnykLkmUqEBeRO8Y34LfhRs0V6GeAH81j5/mT6zvKweT/jju1UqmU2F/nc6Bo6SV3aZ9IpygPeOmoXAp2ieX5o8HBIy5v1fqBP1UWJLTRcgT6fL/C90fmoTr1z8SfiAE3lbe9I/FPFeG/Qac+gXFgA9KGNIQv2KM70ylywgTAB8X4qHyIj3DqApAeAmGmuoMw9CWh1jzR+vAdGGhYZEblQ7yHU18Bfkql6H4Y+lzi+0I+FBPzjVOddPJ4VGTi0kCv4tQ3gJ8DPiPub3ZA9KLYAv8ggrDLHD+XRADFRXpE9ocngb1eOfSz2B1BRpmLtAr7t4rCUGQy180lwD8h8dG57qN1b8SHfjdnmxpcdndEE4cVGDyFw2/SoTxPw2C3Bg9yjN/Xj58fE4E/pPBTCp+9deVkTpxi+NTjUHeshQ3o0GM4/I7iTfwYdpcjZuOoPOtyqMRHtgA2HUo7b3bPA/84dlfjO8cfaqrLoXIsx+/YY/EML+H/j+y2hQtomCvQCz7JpgbqAmWkp4bRoabEBhD9e/F3OI4z8tMxEZ0Yrw+f6SYVFaR9JfA+Lv4O/E/Q0YjSVC57qi78nDPAKCfPbwF/pIz/+3iu9cnTIsceUc82kRlgFuDDrymvPcD/EJx9U3I4BTs6deE7SVnjcFy9lgFpK2D2gJV8MD6goUdR2ESRAsRuAD5T6RKcP4Youip1Wjh0kBk8uv9pPrC4GThvVboG/Pvx/Q2p4dwUA8wsdaWALybhuOuAf7QK/wPou7enhhNyqDELyGE3IFcD50QV/o+ht/alTg9LexoHZEwG5CrVgaZzIYDrish0TBZMz+Hj3Z92HW5YV0Smo8MsZPbh949+2nXg/zQC6+7kcFTf8DIgYwzIncB/oQb/B8HjkXR0kK7SDsjksMPbbMLv+2tcvgN2PEB7moyl9Bc6zFrgf1hxngrDMCJ3ZWJ6Tp3MouslBVmsd6u5GoZhRO4fTwzrpS2k62xGHDVYpdmNseVFJzmol7bSJzkWHeICiyb+LZhqHcmm9AzvjA1zLH0Kz/3bWtfC9hzH18Gex3WHqfEEMkdO9AH/YK3Fh4+E7rQ8P6mfcqcvmtvH+gVSftpabY5awTAMrH9bZvhxnYBUQUkex3Xto9YkRnSfF/xpx1OWZcZfZ0Wp09IsUG1bzgFNV5a08S27iTvTkrNDH1/u5jUM3yd3Peb4QRP8bh2napOmVfAXVAsMDTAK10WE6TxlrnZQ+oIVjeJx0Mw1x28xwZ/B31+TNIoOJzXIsZOL7YKT8Px8cxoYhUCXQZopwefCQjY5LPFp42DL9AKCnP9aoomv53SXIcszAathJxkV2VR+cSXYPL2KlTde1DQTdFl2a0mx4iQx+U9zBYj40wsIls2ulJs3m57K2YIzll89CjQRf3oVy66Saao6laW+kyQgyv1JwYH4YRQVZ8M4N/oCA4uCLbzJvOJo+dDEqS5ZB3yB/yzOP47qcqmTzG32hwYWcoUlEOnJB01O9taPTIzCOaszlqMzMxgxuU76FPAvG0+kNvrDqW7JPyyDs5PvQA0UF8CPyKnE+JjgGjWqFfEbnH8O+KvHRxPrA5HEHOL7/HyZEtfOBHz7guf1MYGyWHIwwqJQZFX5GNofc3GxLjMaXRuMiAjxle27dJzaSbD0SIxkWbU9hAHcddhLuDFL+0sxp92SiQ9ezoUow3Gpg8txOQezwzzZh4vmb6/CwHsQlavQtlq+k8vBwVLEtZ2aijqsallC7kN7VM3Dub0O/ndNZMTVaNts/8BSiT4lU2TNkhbc2IWak0ODxP8nPv8C7dfg70p8Xsc1d8DR69C22v74F5l+cc7SLMY6ubI1dmqA07j3aXu034G/m6UOgf92dISNaJuROc+q2FP/2nWg5MSZJ5bEAHgbyf5r8eH4zOTD2+bfcJz53hKuXW5ipjFw6n9hkP3sOZVSqnpbwp77LIzxOZGXolR9DVeB/wfA/x4+PgP+2Qr8kcjEk2zg/yWF36bjVNJDew34NPaLld684Bz6r/glG/jzRckWtPZqw1Mxf3Bvg+ufh/33gvtrlZO/iOJ/H7g/gOnSpfh8w4yx9vDhw1qeGBoaksKz7u7uEuHZ+eefL7zYDh48KIVnK1asMBKeHTlyRIe7FJ6B+wzhmRf8wV0Kz8DdWHimyV8Kz8D/Hh3+tqZDGyo8g1H+L8IzPEdDhWd4joYKz8DfG+EZgKTwrKWlxbJtexuOF3vsUCk8a21tRaVr7cSxp8Iz8GWhsov42O7H8RyP+S8C71tpH47hOA54zP8i2P2a5uZmKTzDsTfCs0AgsCQSiQgA+3WBDbbtoVCoNxwOi6ampoYIz8C9nfhoDRGewS4h2icYDHoqPIOdpfCMAQPbCL/fP3vhGUCl8Ayg8piGgYM9E54hqnsR5TtcfBrG5/NdifMrPDLKEkT5RhhdHnPvZbYBz5Xgu5K8ufE58Dx34rxnwjPYezGCvoDPrAb+sxOegXA3IqRwQgHvAbAnwjNEYJOtZtEwiIv/EAwTnqVDpfAMjrQttUjK++BYCs9mm23ATwrP3IDkBgd7lm2UfXcX48PBWtlmRvULsIKmCEbY0tHR4XeN7m5jY2MinU6XCM9Q+aU1jVEQnsEI1wNfWGUr2KOjo2J8fLxEeAZ8R6d6BP+C8AxGWNPePlMDFYvFRDabLRGeAX9Ck39BeIYetGLOnNIhmkqBkZERkcvlSoRnwJ/U5F8QnqFDXVjsVLnCNDlJ/Bz2BeEZsEuFZy+//HKZ8Mw6D8awGRXs9oy+8o3EYZTixmlIifAMN0ooI5QKzyzrHIw9FvGxr4rvOE4Bf2JiYobwDPiZsiBZpgJxEbFd/uUB6RqmmD/wZwjP3KmVSqXTwjPb7iVvF9+q8EqF+MX84eAZwjPgT5UFCW20HPaY79qGrRI+8Er447hUeAanPoEfbuBA7BrDdKMTYBiRSqX4MFz5uQCkh0A4LzyzrEuIT5LFqdwEn+STySTvI4VnwE+pFN0PQ5zLcY3cZ4PPDAQDSeEZ8HPAl8Iz4Pe69qkUhLU2N4iIj89PAnu9cqgUnoHzXFVoVQxCHXwGEfHxLHnhGT70uzm7no3RxAbiUnhGh/I8DSMoPJuaOkay9RjcxecGhw4p/JTCl8IzRiqNPRt8GgY4UnimeBNfCs/wXZz49TjUHcvZu4BTIjwDvhSe4TuHtq/HoS4+OxXsnBeedXd3S+EZesEnGMfqAqVB4vE4MKc2gGiJ8AzHUniWSCSi+SxtvtEgGGel8Ax4JS/ZwV8Kz/B9ig9Wz6Z6kRSeAX+kjP/7eK71wOc4Vhc+exHsK4Vn5bUH+B8C/k2wn8wY9WyZTIY1jhSeMSBtBSyFZzB8vB7Ds7DBA+8GYEXhGc6zB1wF4g4dZJoaiY/9zcCpKDwD/358fwMDy9TwvB74k/j9dcA/WoX/AVx3ez2GLwrI1cA5UYX/Y7iuj/j1BCT9ho+rVAeantIAuK6IBCCBawrPcMO6IpIORQ/ch99/qvAM/J8G77tVAJgG5E7gv1CD/4Pg8QivNwlI9byb8PuawjPY8QDHRcOAZC9ZC/zKwjMYhhG5SxeYUYiuL4VnbjVXwzCMyP0seHTTFpqR8AyGeZHpSDdt4Xoj4Rn4HNEdppASaaOn8Nw1hWewvRSe4TfHdbMlC1P4qw/4tYVnlqbySV035U5fNLePdfFV4ZCqNketYBgpPDMswOI6AamCMi88M8PXFp6BvxKeGdlfU3hmBmouPDPDNxeemQWNsdxEt0pV1/U0mL+m8MzA6GhBtcDQKKMYC88M8bsbbPS5jcJX1+k5tdgoHOw59nDpSxVFlYh31Uua+Bx7iM+xvHhaooKmSb2eqysTsJjg2EN8juXF1XedmaCr2D7EJ66LX1xkKvxZZQLypV2Ir8bQmpnGX83o/DGNDYfi46QUnsHgZ+P4RkzyF3EFxF2Gw42NhGfuZFzhT8CxUngG/KU4txkT8YUuPrngeyPhmTsZJz6Kmgx+L4VnOHcZDLMxGAx2uys4DAK+AzVQXHSohRYXn+OgFJ4BfzXw14P3HPXGySgT8O0LsH1ukUh87AvCM+CvA/5a4EeIX61DVRSeESzBbinywjMM4AXhGW7M0v5SfL0FEXS5ImEkPFM9siA8K5q/vQoD74HBVqFtBenlcIix8ExNgwrCMzUP5/Y6+N8FQ12Ntg1GX+qmbKGhUQI3KTzjNAX8CsIz8C8Iz3DNHXD0OrStwJfCM5yzNIuxTllZoVeCf0F4Bv4F4Rn4b0dH2Ii2Gfhn6fbUGACl8Axg8SoVpnzDgRt8lnMwYSg8A74UnlV6s6PelkjhGYxRU3hWYfsA+FJ4Bq7ZCvwLwjPwr0t4BodK4VmlNy84VxCegX9N4VnZ1gZ7Pg/+e8HztSoVshSegfsDyHYVhWf/E2AAuIhGI7JWl84AAAAASUVORK5CYII="

/***/ }),
/* 41 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(133);




function _classCallCheck(instance, Constructor) {
  if (!(instance instanceof Constructor)) {
    throw new TypeError("Cannot call a class as a 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);
  }
}

function _createClass(Constructor, protoProps, staticProps) {
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  if (staticProps) _defineProperties(Constructor, staticProps);
  return Constructor;
}

function _defineProperty(obj, key, value) {
  if (key in obj) {
    Object.defineProperty(obj, key, {
      value: value,
      enumerable: true,
      configurable: true,
      writable: true
    });
  } else {
    obj[key] = value;
  }

  return obj;
}

function _extends() {
  _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;
  };

  return _extends.apply(this, arguments);
}

function ownKeys(object, enumerableOnly) {
  var keys = Object.keys(object);

  if (Object.getOwnPropertySymbols) {
    var symbols = Object.getOwnPropertySymbols(object);
    if (enumerableOnly) symbols = symbols.filter(function (sym) {
      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
    });
    keys.push.apply(keys, symbols);
  }

  return keys;
}

function _objectSpread2(target) {
  for (var i = 1; i < arguments.length; i++) {
    var source = arguments[i] != null ? arguments[i] : {};

    if (i % 2) {
      ownKeys(Object(source), true).forEach(function (key) {
        _defineProperty(target, key, source[key]);
      });
    } else if (Object.getOwnPropertyDescriptors) {
      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
    } else {
      ownKeys(Object(source)).forEach(function (key) {
        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
      });
    }
  }

  return target;
}

function _inherits(subClass, superClass) {
  if (typeof superClass !== "function" && superClass !== null) {
    throw new TypeError("Super expression must either be null or a function");
  }

  subClass.prototype = Object.create(superClass && superClass.prototype, {
    constructor: {
      value: subClass,
      writable: true,
      configurable: true
    }
  });
  if (superClass) _setPrototypeOf(subClass, superClass);
}

function _getPrototypeOf(o) {
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
    return o.__proto__ || Object.getPrototypeOf(o);
  };
  return _getPrototypeOf(o);
}

function _setPrototypeOf(o, p) {
  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
    o.__proto__ = p;
    return o;
  };

  return _setPrototypeOf(o, p);
}

function _assertThisInitialized(self) {
  if (self === void 0) {
    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  }

  return self;
}

function _possibleConstructorReturn(self, call) {
  if (call && (typeof call === "object" || typeof call === "function")) {
    return call;
  }

  return _assertThisInitialized(self);
}

var CONSTANT = {
  GLOBAL: {
    HIDE: '__react_tooltip_hide_event',
    REBUILD: '__react_tooltip_rebuild_event',
    SHOW: '__react_tooltip_show_event'
  }
};

/**
 * Static methods for react-tooltip
 */

var dispatchGlobalEvent = function dispatchGlobalEvent(eventName, opts) {
  // Compatible with IE
  // @see http://stackoverflow.com/questions/26596123/internet-explorer-9-10-11-event-constructor-doesnt-work
  // @see https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent
  var event;

  if (typeof window.CustomEvent === 'function') {
    event = new window.CustomEvent(eventName, {
      detail: opts
    });
  } else {
    event = document.createEvent('Event');
    event.initEvent(eventName, false, true, opts);
  }

  window.dispatchEvent(event);
};

function staticMethods (target) {
  /**
   * Hide all tooltip
   * @trigger ReactTooltip.hide()
   */
  target.hide = function (target) {
    dispatchGlobalEvent(CONSTANT.GLOBAL.HIDE, {
      target: target
    });
  };
  /**
   * Rebuild all tooltip
   * @trigger ReactTooltip.rebuild()
   */


  target.rebuild = function () {
    dispatchGlobalEvent(CONSTANT.GLOBAL.REBUILD);
  };
  /**
   * Show specific tooltip
   * @trigger ReactTooltip.show()
   */


  target.show = function (target) {
    dispatchGlobalEvent(CONSTANT.GLOBAL.SHOW, {
      target: target
    });
  };

  target.prototype.globalRebuild = function () {
    if (this.mount) {
      this.unbindListener();
      this.bindListener();
    }
  };

  target.prototype.globalShow = function (event) {
    if (this.mount) {
      var hasTarget = event && event.detail && event.detail.target && true || false; // Create a fake event, specific show will limit the type to `solid`
      // only `float` type cares e.clientX e.clientY

      this.showTooltip({
        currentTarget: hasTarget && event.detail.target
      }, true);
    }
  };

  target.prototype.globalHide = function (event) {
    if (this.mount) {
      var hasTarget = event && event.detail && event.detail.target && true || false;
      this.hideTooltip({
        currentTarget: hasTarget && event.detail.target
      }, hasTarget);
    }
  };
}

/**
 * Events that should be bound to the window
 */
function windowListener (target) {
  target.prototype.bindWindowEvents = function (resizeHide) {
    // ReactTooltip.hide
    window.removeEventListener(CONSTANT.GLOBAL.HIDE, this.globalHide);
    window.addEventListener(CONSTANT.GLOBAL.HIDE, this.globalHide, false); // ReactTooltip.rebuild

    window.removeEventListener(CONSTANT.GLOBAL.REBUILD, this.globalRebuild);
    window.addEventListener(CONSTANT.GLOBAL.REBUILD, this.globalRebuild, false); // ReactTooltip.show

    window.removeEventListener(CONSTANT.GLOBAL.SHOW, this.globalShow);
    window.addEventListener(CONSTANT.GLOBAL.SHOW, this.globalShow, false); // Resize

    if (resizeHide) {
      window.removeEventListener('resize', this.onWindowResize);
      window.addEventListener('resize', this.onWindowResize, false);
    }
  };

  target.prototype.unbindWindowEvents = function () {
    window.removeEventListener(CONSTANT.GLOBAL.HIDE, this.globalHide);
    window.removeEventListener(CONSTANT.GLOBAL.REBUILD, this.globalRebuild);
    window.removeEventListener(CONSTANT.GLOBAL.SHOW, this.globalShow);
    window.removeEventListener('resize', this.onWindowResize);
  };
  /**
   * invoked by resize event of window
   */


  target.prototype.onWindowResize = function () {
    if (!this.mount) return;
    this.hideTooltip();
  };
}

/**
 * Custom events to control showing and hiding of tooltip
 *
 * @attributes
 * - `event` {String}
 * - `eventOff` {String}
 */
var checkStatus = function checkStatus(dataEventOff, e) {
  var show = this.state.show;
  var id = this.props.id;
  var isCapture = this.isCapture(e.currentTarget);
  var currentItem = e.currentTarget.getAttribute('currentItem');
  if (!isCapture) e.stopPropagation();

  if (show && currentItem === 'true') {
    if (!dataEventOff) this.hideTooltip(e);
  } else {
    e.currentTarget.setAttribute('currentItem', 'true');
    setUntargetItems(e.currentTarget, this.getTargetArray(id));
    this.showTooltip(e);
  }
};

var setUntargetItems = function setUntargetItems(currentTarget, targetArray) {
  for (var i = 0; i < targetArray.length; i++) {
    if (currentTarget !== targetArray[i]) {
      targetArray[i].setAttribute('currentItem', 'false');
    } else {
      targetArray[i].setAttribute('currentItem', 'true');
    }
  }
};

var customListeners = {
  id: '9b69f92e-d3fe-498b-b1b4-c5e63a51b0cf',
  set: function set(target, event, listener) {
    if (this.id in target) {
      var map = target[this.id];
      map[event] = listener;
    } else {
      // this is workaround for WeakMap, which is not supported in older browsers, such as IE
      Object.defineProperty(target, this.id, {
        configurable: true,
        value: _defineProperty({}, event, listener)
      });
    }
  },
  get: function get(target, event) {
    var map = target[this.id];

    if (map !== undefined) {
      return map[event];
    }
  }
};
function customEvent (target) {
  target.prototype.isCustomEvent = function (ele) {
    var event = this.state.event;
    return event || !!ele.getAttribute('data-event');
  };
  /* Bind listener for custom event */


  target.prototype.customBindListener = function (ele) {
    var _this = this;

    var _this$state = this.state,
        event = _this$state.event,
        eventOff = _this$state.eventOff;
    var dataEvent = ele.getAttribute('data-event') || event;
    var dataEventOff = ele.getAttribute('data-event-off') || eventOff;
    dataEvent.split(' ').forEach(function (event) {
      ele.removeEventListener(event, customListeners.get(ele, event));
      var customListener = checkStatus.bind(_this, dataEventOff);
      customListeners.set(ele, event, customListener);
      ele.addEventListener(event, customListener, false);
    });

    if (dataEventOff) {
      dataEventOff.split(' ').forEach(function (event) {
        ele.removeEventListener(event, _this.hideTooltip);
        ele.addEventListener(event, _this.hideTooltip, false);
      });
    }
  };
  /* Unbind listener for custom event */


  target.prototype.customUnbindListener = function (ele) {
    var _this$state2 = this.state,
        event = _this$state2.event,
        eventOff = _this$state2.eventOff;
    var dataEvent = event || ele.getAttribute('data-event');
    var dataEventOff = eventOff || ele.getAttribute('data-event-off');
    ele.removeEventListener(dataEvent, customListeners.get(ele, event));
    if (dataEventOff) ele.removeEventListener(dataEventOff, this.hideTooltip);
  };
}

/**
 * Util method to judge if it should follow capture model
 */
function isCapture (target) {
  target.prototype.isCapture = function (currentTarget) {
    return currentTarget && currentTarget.getAttribute('data-iscapture') === 'true' || this.props.isCapture || false;
  };
}

/**
 * Util method to get effect
 */
function getEffect (target) {
  target.prototype.getEffect = function (currentTarget) {
    var dataEffect = currentTarget.getAttribute('data-effect');
    return dataEffect || this.props.effect || 'float';
  };
}

/**
 * Util method to get effect
 */

var makeProxy = function makeProxy(e) {
  var proxy = {};

  for (var key in e) {
    if (typeof e[key] === 'function') {
      proxy[key] = e[key].bind(e);
    } else {
      proxy[key] = e[key];
    }
  }

  return proxy;
};

var bodyListener = function bodyListener(callback, options, e) {
  var _options$respectEffec = options.respectEffect,
      respectEffect = _options$respectEffec === void 0 ? false : _options$respectEffec,
      _options$customEvent = options.customEvent,
      customEvent = _options$customEvent === void 0 ? false : _options$customEvent;
  var id = this.props.id;
  var tip = e.target.getAttribute('data-tip') || null;
  var forId = e.target.getAttribute('data-for') || null;
  var target = e.target;

  if (this.isCustomEvent(target) && !customEvent) {
    return;
  }

  var isTargetBelongsToTooltip = id == null && forId == null || forId === id;

  if (tip != null && (!respectEffect || this.getEffect(target) === 'float') && isTargetBelongsToTooltip) {
    var proxy = makeProxy(e);
    proxy.currentTarget = target;
    callback(proxy);
  }
};

var findCustomEvents = function findCustomEvents(targetArray, dataAttribute) {
  var events = {};
  targetArray.forEach(function (target) {
    var event = target.getAttribute(dataAttribute);
    if (event) event.split(' ').forEach(function (event) {
      return events[event] = true;
    });
  });
  return events;
};

var getBody = function getBody() {
  return document.getElementsByTagName('body')[0];
};

function bodyMode (target) {
  target.prototype.isBodyMode = function () {
    return !!this.props.bodyMode;
  };

  target.prototype.bindBodyListener = function (targetArray) {
    var _this = this;

    var _this$state = this.state,
        event = _this$state.event,
        eventOff = _this$state.eventOff,
        possibleCustomEvents = _this$state.possibleCustomEvents,
        possibleCustomEventsOff = _this$state.possibleCustomEventsOff;
    var body = getBody();
    var customEvents = findCustomEvents(targetArray, 'data-event');
    var customEventsOff = findCustomEvents(targetArray, 'data-event-off');
    if (event != null) customEvents[event] = true;
    if (eventOff != null) customEventsOff[eventOff] = true;
    possibleCustomEvents.split(' ').forEach(function (event) {
      return customEvents[event] = true;
    });
    possibleCustomEventsOff.split(' ').forEach(function (event) {
      return customEventsOff[event] = true;
    });
    this.unbindBodyListener(body);
    var listeners = this.bodyModeListeners = {};

    if (event == null) {
      listeners.mouseover = bodyListener.bind(this, this.showTooltip, {});
      listeners.mousemove = bodyListener.bind(this, this.updateTooltip, {
        respectEffect: true
      });
      listeners.mouseout = bodyListener.bind(this, this.hideTooltip, {});
    }

    for (var _event in customEvents) {
      listeners[_event] = bodyListener.bind(this, function (e) {
        var targetEventOff = e.currentTarget.getAttribute('data-event-off') || eventOff;
        checkStatus.call(_this, targetEventOff, e);
      }, {
        customEvent: true
      });
    }

    for (var _event2 in customEventsOff) {
      listeners[_event2] = bodyListener.bind(this, this.hideTooltip, {
        customEvent: true
      });
    }

    for (var _event3 in listeners) {
      body.addEventListener(_event3, listeners[_event3]);
    }
  };

  target.prototype.unbindBodyListener = function (body) {
    body = body || getBody();
    var listeners = this.bodyModeListeners;

    for (var event in listeners) {
      body.removeEventListener(event, listeners[event]);
    }
  };
}

/**
 * Tracking target removing from DOM.
 * It's necessary to hide tooltip when it's target disappears.
 * Otherwise, the tooltip would be shown forever until another target
 * is triggered.
 *
 * If MutationObserver is not available, this feature just doesn't work.
 */
// https://hacks.mozilla.org/2012/05/dom-mutationobserver-reacting-to-dom-changes-without-killing-browser-performance/
var getMutationObserverClass = function getMutationObserverClass() {
  return window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;
};

function trackRemoval (target) {
  target.prototype.bindRemovalTracker = function () {
    var _this = this;

    var MutationObserver = getMutationObserverClass();
    if (MutationObserver == null) return;
    var observer = new MutationObserver(function (mutations) {
      for (var m1 = 0; m1 < mutations.length; m1++) {
        var mutation = mutations[m1];

        for (var m2 = 0; m2 < mutation.removedNodes.length; m2++) {
          var element = mutation.removedNodes[m2];

          if (element === _this.state.currentTarget) {
            _this.hideTooltip();

            return;
          }
        }
      }
    });
    observer.observe(window.document, {
      childList: true,
      subtree: true
    });
    this.removalTracker = observer;
  };

  target.prototype.unbindRemovalTracker = function () {
    if (this.removalTracker) {
      this.removalTracker.disconnect();
      this.removalTracker = null;
    }
  };
}

/**
 * Calculate the position of tooltip
 *
 * @params
 * - `e` {Event} the event of current mouse
 * - `target` {Element} the currentTarget of the event
 * - `node` {DOM} the react-tooltip object
 * - `place` {String} top / right / bottom / left
 * - `effect` {String} float / solid
 * - `offset` {Object} the offset to default position
 *
 * @return {Object}
 * - `isNewState` {Bool} required
 * - `newState` {Object}
 * - `position` {Object} {left: {Number}, top: {Number}}
 */
function getPosition (e, target, node, place, desiredPlace, effect, offset) {
  var _getDimensions = getDimensions(node),
      tipWidth = _getDimensions.width,
      tipHeight = _getDimensions.height;

  var _getDimensions2 = getDimensions(target),
      targetWidth = _getDimensions2.width,
      targetHeight = _getDimensions2.height;

  var _getCurrentOffset = getCurrentOffset(e, target, effect),
      mouseX = _getCurrentOffset.mouseX,
      mouseY = _getCurrentOffset.mouseY;

  var defaultOffset = getDefaultPosition(effect, targetWidth, targetHeight, tipWidth, tipHeight);

  var _calculateOffset = calculateOffset(offset),
      extraOffsetX = _calculateOffset.extraOffsetX,
      extraOffsetY = _calculateOffset.extraOffsetY;

  var windowWidth = window.innerWidth;
  var windowHeight = window.innerHeight;

  var _getParent = getParent(node),
      parentTop = _getParent.parentTop,
      parentLeft = _getParent.parentLeft; // Get the edge offset of the tooltip


  var getTipOffsetLeft = function getTipOffsetLeft(place) {
    var offsetX = defaultOffset[place].l;
    return mouseX + offsetX + extraOffsetX;
  };

  var getTipOffsetRight = function getTipOffsetRight(place) {
    var offsetX = defaultOffset[place].r;
    return mouseX + offsetX + extraOffsetX;
  };

  var getTipOffsetTop = function getTipOffsetTop(place) {
    var offsetY = defaultOffset[place].t;
    return mouseY + offsetY + extraOffsetY;
  };

  var getTipOffsetBottom = function getTipOffsetBottom(place) {
    var offsetY = defaultOffset[place].b;
    return mouseY + offsetY + extraOffsetY;
  }; //
  // Functions to test whether the tooltip's sides are inside
  // the client window for a given orientation p
  //
  //  _____________
  // |             | <-- Right side
  // | p = 'left'  |\
  // |             |/  |\
  // |_____________|   |_\  <-- Mouse
  //      / \           |
  //       |
  //       |
  //  Bottom side
  //


  var outsideLeft = function outsideLeft(p) {
    return getTipOffsetLeft(p) < 0;
  };

  var outsideRight = function outsideRight(p) {
    return getTipOffsetRight(p) > windowWidth;
  };

  var outsideTop = function outsideTop(p) {
    return getTipOffsetTop(p) < 0;
  };

  var outsideBottom = function outsideBottom(p) {
    return getTipOffsetBottom(p) > windowHeight;
  }; // Check whether the tooltip with orientation p is completely inside the client window


  var outside = function outside(p) {
    return outsideLeft(p) || outsideRight(p) || outsideTop(p) || outsideBottom(p);
  };

  var inside = function inside(p) {
    return !outside(p);
  };

  var placesList = ['top', 'bottom', 'left', 'right'];
  var insideList = [];

  for (var i = 0; i < 4; i++) {
    var p = placesList[i];

    if (inside(p)) {
      insideList.push(p);
    }
  }

  var isNewState = false;
  var newPlace;
  var shouldUpdatePlace = desiredPlace !== place;

  if (inside(desiredPlace) && shouldUpdatePlace) {
    isNewState = true;
    newPlace = desiredPlace;
  } else if (insideList.length > 0 && outside(desiredPlace) && outside(place)) {
    isNewState = true;
    newPlace = insideList[0];
  }

  if (isNewState) {
    return {
      isNewState: true,
      newState: {
        place: newPlace
      }
    };
  }

  return {
    isNewState: false,
    position: {
      left: parseInt(getTipOffsetLeft(place) - parentLeft, 10),
      top: parseInt(getTipOffsetTop(place) - parentTop, 10)
    }
  };
}

var getDimensions = function getDimensions(node) {
  var _node$getBoundingClie = node.getBoundingClientRect(),
      height = _node$getBoundingClie.height,
      width = _node$getBoundingClie.width;

  return {
    height: parseInt(height, 10),
    width: parseInt(width, 10)
  };
}; // Get current mouse offset


var getCurrentOffset = function getCurrentOffset(e, currentTarget, effect) {
  var boundingClientRect = currentTarget.getBoundingClientRect();
  var targetTop = boundingClientRect.top;
  var targetLeft = boundingClientRect.left;

  var _getDimensions3 = getDimensions(currentTarget),
      targetWidth = _getDimensions3.width,
      targetHeight = _getDimensions3.height;

  if (effect === 'float') {
    return {
      mouseX: e.clientX,
      mouseY: e.clientY
    };
  }

  return {
    mouseX: targetLeft + targetWidth / 2,
    mouseY: targetTop + targetHeight / 2
  };
}; // List all possibility of tooltip final offset
// This is useful in judging if it is necessary for tooltip to switch position when out of window


var getDefaultPosition = function getDefaultPosition(effect, targetWidth, targetHeight, tipWidth, tipHeight) {
  var top;
  var right;
  var bottom;
  var left;
  var disToMouse = 3;
  var triangleHeight = 2;
  var cursorHeight = 12; // Optimize for float bottom only, cause the cursor will hide the tooltip

  if (effect === 'float') {
    top = {
      l: -(tipWidth / 2),
      r: tipWidth / 2,
      t: -(tipHeight + disToMouse + triangleHeight),
      b: -disToMouse
    };
    bottom = {
      l: -(tipWidth / 2),
      r: tipWidth / 2,
      t: disToMouse + cursorHeight,
      b: tipHeight + disToMouse + triangleHeight + cursorHeight
    };
    left = {
      l: -(tipWidth + disToMouse + triangleHeight),
      r: -disToMouse,
      t: -(tipHeight / 2),
      b: tipHeight / 2
    };
    right = {
      l: disToMouse,
      r: tipWidth + disToMouse + triangleHeight,
      t: -(tipHeight / 2),
      b: tipHeight / 2
    };
  } else if (effect === 'solid') {
    top = {
      l: -(tipWidth / 2),
      r: tipWidth / 2,
      t: -(targetHeight / 2 + tipHeight + triangleHeight),
      b: -(targetHeight / 2)
    };
    bottom = {
      l: -(tipWidth / 2),
      r: tipWidth / 2,
      t: targetHeight / 2,
      b: targetHeight / 2 + tipHeight + triangleHeight
    };
    left = {
      l: -(tipWidth + targetWidth / 2 + triangleHeight),
      r: -(targetWidth / 2),
      t: -(tipHeight / 2),
      b: tipHeight / 2
    };
    right = {
      l: targetWidth / 2,
      r: tipWidth + targetWidth / 2 + triangleHeight,
      t: -(tipHeight / 2),
      b: tipHeight / 2
    };
  }

  return {
    top: top,
    bottom: bottom,
    left: left,
    right: right
  };
}; // Consider additional offset into position calculation


var calculateOffset = function calculateOffset(offset) {
  var extraOffsetX = 0;
  var extraOffsetY = 0;

  if (Object.prototype.toString.apply(offset) === '[object String]') {
    offset = JSON.parse(offset.toString().replace(/'/g, '"'));
  }

  for (var key in offset) {
    if (key === 'top') {
      extraOffsetY -= parseInt(offset[key], 10);
    } else if (key === 'bottom') {
      extraOffsetY += parseInt(offset[key], 10);
    } else if (key === 'left') {
      extraOffsetX -= parseInt(offset[key], 10);
    } else if (key === 'right') {
      extraOffsetX += parseInt(offset[key], 10);
    }
  }

  return {
    extraOffsetX: extraOffsetX,
    extraOffsetY: extraOffsetY
  };
}; // Get the offset of the parent elements


var getParent = function getParent(currentTarget) {
  var currentParent = currentTarget;

  while (currentParent) {
    var computedStyle = window.getComputedStyle(currentParent); // transform and will-change: transform change the containing block
    // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_Block

    if (computedStyle.getPropertyValue('transform') !== 'none' || computedStyle.getPropertyValue('will-change') === 'transform') break;
    currentParent = currentParent.parentElement;
  }

  var parentTop = currentParent && currentParent.getBoundingClientRect().top || 0;
  var parentLeft = currentParent && currentParent.getBoundingClientRect().left || 0;
  return {
    parentTop: parentTop,
    parentLeft: parentLeft
  };
};

/**
 * To get the tooltip content
 * it may comes from data-tip or this.props.children
 * it should support multiline
 *
 * @params
 * - `tip` {String} value of data-tip
 * - `children` {ReactElement} this.props.children
 * - `multiline` {Any} could be Bool(true/false) or String('true'/'false')
 *
 * @return
 * - String or react component
 */
function getTipContent (tip, children, getContent, multiline) {
  if (children) return children;
  if (getContent !== undefined && getContent !== null) return getContent; // getContent can be 0, '', etc.

  if (getContent === null) return null; // Tip not exist and children is null or undefined

  var regexp = /<br\s*\/?>/;

  if (!multiline || multiline === 'false' || !regexp.test(tip)) {
    // No trim(), so that user can keep their input
    return tip;
  } // Multiline tooltip content


  return tip.split(regexp).map(function (d, i) {
    return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
      key: i,
      className: "multi-line"
    }, d);
  });
}

/**
 * Support aria- and role in ReactTooltip
 *
 * @params props {Object}
 * @return {Object}
 */
function parseAria(props) {
  var ariaObj = {};
  Object.keys(props).filter(function (prop) {
    // aria-xxx and role is acceptable
    return /(^aria-\w+$|^role$)/.test(prop);
  }).forEach(function (prop) {
    ariaObj[prop] = props[prop];
  });
  return ariaObj;
}

/**
 * Convert nodelist to array
 * @see https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/core/createArrayFromMixed.js#L24
 * NodeLists are functions in Safari
 */
function nodeListToArray (nodeList) {
  var length = nodeList.length;

  if (nodeList.hasOwnProperty) {
    return Array.prototype.slice.call(nodeList);
  }

  return new Array(length).fill().map(function (index) {
    return nodeList[index];
  });
}

function generateUUID() {
  return 't' + Object(uuid__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])();
}

var baseCss = ".__react_component_tooltip {\n  border-radius: 3px;\n  display: inline-block;\n  font-size: 13px;\n  left: -999em;\n  opacity: 0;\n  padding: 8px 21px;\n  position: fixed;\n  pointer-events: none;\n  transition: opacity 0.3s ease-out;\n  top: -999em;\n  visibility: hidden;\n  z-index: 999;\n}\n.__react_component_tooltip.allow_hover, .__react_component_tooltip.allow_click {\n  pointer-events: auto;\n}\n.__react_component_tooltip::before, .__react_component_tooltip::after {\n  content: \"\";\n  width: 0;\n  height: 0;\n  position: absolute;\n}\n.__react_component_tooltip.show {\n  opacity: 0.9;\n  margin-top: 0;\n  margin-left: 0;\n  visibility: visible;\n}\n.__react_component_tooltip.place-top::before {\n  border-left: 10px solid transparent;\n  border-right: 10px solid transparent;\n  bottom: -8px;\n  left: 50%;\n  margin-left: -10px;\n}\n.__react_component_tooltip.place-bottom::before {\n  border-left: 10px solid transparent;\n  border-right: 10px solid transparent;\n  top: -8px;\n  left: 50%;\n  margin-left: -10px;\n}\n.__react_component_tooltip.place-left::before {\n  border-top: 6px solid transparent;\n  border-bottom: 6px solid transparent;\n  right: -8px;\n  top: 50%;\n  margin-top: -5px;\n}\n.__react_component_tooltip.place-right::before {\n  border-top: 6px solid transparent;\n  border-bottom: 6px solid transparent;\n  left: -8px;\n  top: 50%;\n  margin-top: -5px;\n}\n.__react_component_tooltip .multi-line {\n  display: block;\n  padding: 2px 0;\n  text-align: center;\n}";

/**
 * Default pop-up style values (text color, background color).
 */
var defaultColors = {
  dark: {
    text: '#fff',
    background: '#222',
    border: 'transparent',
    arrow: '#222'
  },
  success: {
    text: '#fff',
    background: '#8DC572',
    border: 'transparent',
    arrow: '#8DC572'
  },
  warning: {
    text: '#fff',
    background: '#F0AD4E',
    border: 'transparent',
    arrow: '#F0AD4E'
  },
  error: {
    text: '#fff',
    background: '#BE6464',
    border: 'transparent',
    arrow: '#BE6464'
  },
  info: {
    text: '#fff',
    background: '#337AB7',
    border: 'transparent',
    arrow: '#337AB7'
  },
  light: {
    text: '#222',
    background: '#fff',
    border: 'transparent',
    arrow: '#fff'
  }
};
function getDefaultPopupColors(type) {
  return defaultColors[type] ? _objectSpread2({}, defaultColors[type]) : undefined;
}

/**
 * Generates the specific tooltip style for use on render.
 */

function generateTooltipStyle(uuid, customColors, type, hasBorder) {
  return generateStyle(uuid, getPopupColors(customColors, type, hasBorder));
}
/**
 * Generates the tooltip style rules based on the element-specified "data-type" property.
 */

function generateStyle(uuid, colors) {
  var textColor = colors.text;
  var backgroundColor = colors.background;
  var borderColor = colors.border;
  var arrowColor = colors.arrow;
  return "\n  \t.".concat(uuid, " {\n\t    color: ").concat(textColor, ";\n\t    background: ").concat(backgroundColor, ";\n\t    border: 1px solid ").concat(borderColor, ";\n  \t}\n\n  \t.").concat(uuid, ".place-top {\n        margin-top: -10px;\n    }\n    .").concat(uuid, ".place-top::before {\n        border-top: 8px solid ").concat(borderColor, ";\n    }\n    .").concat(uuid, ".place-top::after {\n        border-left: 8px solid transparent;\n        border-right: 8px solid transparent;\n        bottom: -6px;\n        left: 50%;\n        margin-left: -8px;\n        border-top-color: ").concat(arrowColor, ";\n        border-top-style: solid;\n        border-top-width: 6px;\n    }\n\n    .").concat(uuid, ".place-bottom {\n        margin-top: 10px;\n    }\n    .").concat(uuid, ".place-bottom::before {\n        border-bottom: 8px solid ").concat(borderColor, ";\n    }\n    .").concat(uuid, ".place-bottom::after {\n        border-left: 8px solid transparent;\n        border-right: 8px solid transparent;\n        top: -6px;\n        left: 50%;\n        margin-left: -8px;\n        border-bottom-color: ").concat(arrowColor, ";\n        border-bottom-style: solid;\n        border-bottom-width: 6px;\n    }\n\n    .").concat(uuid, ".place-left {\n        margin-left: -10px;\n    }\n    .").concat(uuid, ".place-left::before {\n        border-left: 8px solid ").concat(borderColor, ";\n    }\n    .").concat(uuid, ".place-left::after {\n        border-top: 5px solid transparent;\n        border-bottom: 5px solid transparent;\n        right: -6px;\n        top: 50%;\n        margin-top: -4px;\n        border-left-color: ").concat(arrowColor, ";\n        border-left-style: solid;\n        border-left-width: 6px;\n    }\n\n    .").concat(uuid, ".place-right {\n        margin-left: 10px;\n    }\n    .").concat(uuid, ".place-right::before {\n        border-right: 8px solid ").concat(borderColor, ";\n    }\n    .").concat(uuid, ".place-right::after {\n        border-top: 5px solid transparent;\n        border-bottom: 5px solid transparent;\n        left: -6px;\n        top: 50%;\n        margin-top: -4px;\n        border-right-color: ").concat(arrowColor, ";\n        border-right-style: solid;\n        border-right-width: 6px;\n    }\n  ");
}

function getPopupColors(customColors, type, hasBorder) {
  var textColor = customColors.text;
  var backgroundColor = customColors.background;
  var borderColor = customColors.border;
  var arrowColor = customColors.arrow ? customColors.arrow : customColors.background;
  var colors = getDefaultPopupColors(type);

  if (textColor) {
    colors.text = textColor;
  }

  if (backgroundColor) {
    colors.background = backgroundColor;
  }

  if (hasBorder) {
    if (borderColor) {
      colors.border = borderColor;
    } else {
      colors.border = type === 'light' ? 'black' : 'white';
    }
  }

  if (arrowColor) {
    colors.arrow = arrowColor;
  }

  return colors;
}

var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};

function createCommonjsModule(fn, module) {
	return module = { exports: {} }, fn(module, module.exports), module.exports;
}

var check = function (it) {
  return it && it.Math == Math && it;
};

// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global_1 =
  // eslint-disable-next-line es/no-global-this -- safe
  check(typeof globalThis == 'object' && globalThis) ||
  check(typeof window == 'object' && window) ||
  // eslint-disable-next-line no-restricted-globals -- safe
  check(typeof self == 'object' && self) ||
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
  // eslint-disable-next-line no-new-func -- fallback
  (function () { return this; })() || Function('return this')();

var fails = function (exec) {
  try {
    return !!exec();
  } catch (error) {
    return true;
  }
};

// Detect IE8's incomplete defineProperty implementation
var descriptors = !fails(function () {
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
});

var $propertyIsEnumerable = {}.propertyIsEnumerable;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;

// Nashorn ~ JDK8 bug
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);

// `Object.prototype.propertyIsEnumerable` method implementation
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
var f = NASHORN_BUG ? function propertyIsEnumerable(V) {
  var descriptor = getOwnPropertyDescriptor(this, V);
  return !!descriptor && descriptor.enumerable;
} : $propertyIsEnumerable;

var objectPropertyIsEnumerable = {
	f: f
};

var createPropertyDescriptor = function (bitmap, value) {
  return {
    enumerable: !(bitmap & 1),
    configurable: !(bitmap & 2),
    writable: !(bitmap & 4),
    value: value
  };
};

var toString = {}.toString;

var classofRaw = function (it) {
  return toString.call(it).slice(8, -1);
};

var split = ''.split;

// fallback for non-array-like ES3 and non-enumerable old V8 strings
var indexedObject = fails(function () {
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  // eslint-disable-next-line no-prototype-builtins -- safe
  return !Object('z').propertyIsEnumerable(0);
}) ? function (it) {
  return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
} : Object;

// `RequireObjectCoercible` abstract operation
// https://tc39.es/ecma262/#sec-requireobjectcoercible
var requireObjectCoercible = function (it) {
  if (it == undefined) throw TypeError("Can't call method on " + it);
  return it;
};

// toObject with fallback for non-array-like ES3 strings



var toIndexedObject = function (it) {
  return indexedObject(requireObjectCoercible(it));
};

var isObject = function (it) {
  return typeof it === 'object' ? it !== null : typeof it === 'function';
};

// `ToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-toprimitive
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
// and the second argument - flag - preferred type is a string
var toPrimitive = function (input, PREFERRED_STRING) {
  if (!isObject(input)) return input;
  var fn, val;
  if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
  if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  throw TypeError("Can't convert object to primitive value");
};

// `ToObject` abstract operation
// https://tc39.es/ecma262/#sec-toobject
var toObject = function (argument) {
  return Object(requireObjectCoercible(argument));
};

var hasOwnProperty = {}.hasOwnProperty;

var has = function hasOwn(it, key) {
  return hasOwnProperty.call(toObject(it), key);
};

var document$1 = global_1.document;
// typeof document.createElement is 'object' in old IE
var EXISTS = isObject(document$1) && isObject(document$1.createElement);

var documentCreateElement = function (it) {
  return EXISTS ? document$1.createElement(it) : {};
};

// Thank's IE8 for his funny defineProperty
var ie8DomDefine = !descriptors && !fails(function () {
  // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
  return Object.defineProperty(documentCreateElement('div'), 'a', {
    get: function () { return 7; }
  }).a != 7;
});

// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;

// `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
var f$1 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
  O = toIndexedObject(O);
  P = toPrimitive(P, true);
  if (ie8DomDefine) try {
    return $getOwnPropertyDescriptor(O, P);
  } catch (error) { /* empty */ }
  if (has(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
};

var objectGetOwnPropertyDescriptor = {
	f: f$1
};

var anObject = function (it) {
  if (!isObject(it)) {
    throw TypeError(String(it) + ' is not an object');
  } return it;
};

// eslint-disable-next-line es/no-object-defineproperty -- safe
var $defineProperty = Object.defineProperty;

// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
  anObject(O);
  P = toPrimitive(P, true);
  anObject(Attributes);
  if (ie8DomDefine) try {
    return $defineProperty(O, P, Attributes);
  } catch (error) { /* empty */ }
  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
  if ('value' in Attributes) O[P] = Attributes.value;
  return O;
};

var objectDefineProperty = {
	f: f$2
};

var createNonEnumerableProperty = descriptors ? function (object, key, value) {
  return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value));
} : function (object, key, value) {
  object[key] = value;
  return object;
};

var setGlobal = function (key, value) {
  try {
    createNonEnumerableProperty(global_1, key, value);
  } catch (error) {
    global_1[key] = value;
  } return value;
};

var SHARED = '__core-js_shared__';
var store = global_1[SHARED] || setGlobal(SHARED, {});

var sharedStore = store;

var functionToString = Function.toString;

// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
if (typeof sharedStore.inspectSource != 'function') {
  sharedStore.inspectSource = function (it) {
    return functionToString.call(it);
  };
}

var inspectSource = sharedStore.inspectSource;

var WeakMap = global_1.WeakMap;

var nativeWeakMap = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));

var shared = createCommonjsModule(function (module) {
(module.exports = function (key, value) {
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
})('versions', []).push({
  version: '3.12.1',
  mode:  'global',
  copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
});
});

var id = 0;
var postfix = Math.random();

var uid = function (key) {
  return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
};

var keys = shared('keys');

var sharedKey = function (key) {
  return keys[key] || (keys[key] = uid(key));
};

var hiddenKeys = {};

var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
var WeakMap$1 = global_1.WeakMap;
var set, get, has$1;

var enforce = function (it) {
  return has$1(it) ? get(it) : set(it, {});
};

var getterFor = function (TYPE) {
  return function (it) {
    var state;
    if (!isObject(it) || (state = get(it)).type !== TYPE) {
      throw TypeError('Incompatible receiver, ' + TYPE + ' required');
    } return state;
  };
};

if (nativeWeakMap || sharedStore.state) {
  var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$1());
  var wmget = store$1.get;
  var wmhas = store$1.has;
  var wmset = store$1.set;
  set = function (it, metadata) {
    if (wmhas.call(store$1, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
    metadata.facade = it;
    wmset.call(store$1, it, metadata);
    return metadata;
  };
  get = function (it) {
    return wmget.call(store$1, it) || {};
  };
  has$1 = function (it) {
    return wmhas.call(store$1, it);
  };
} else {
  var STATE = sharedKey('state');
  hiddenKeys[STATE] = true;
  set = function (it, metadata) {
    if (has(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
    metadata.facade = it;
    createNonEnumerableProperty(it, STATE, metadata);
    return metadata;
  };
  get = function (it) {
    return has(it, STATE) ? it[STATE] : {};
  };
  has$1 = function (it) {
    return has(it, STATE);
  };
}

var internalState = {
  set: set,
  get: get,
  has: has$1,
  enforce: enforce,
  getterFor: getterFor
};

var redefine = createCommonjsModule(function (module) {
var getInternalState = internalState.get;
var enforceInternalState = internalState.enforce;
var TEMPLATE = String(String).split('String');

(module.exports = function (O, key, value, options) {
  var unsafe = options ? !!options.unsafe : false;
  var simple = options ? !!options.enumerable : false;
  var noTargetGet = options ? !!options.noTargetGet : false;
  var state;
  if (typeof value == 'function') {
    if (typeof key == 'string' && !has(value, 'name')) {
      createNonEnumerableProperty(value, 'name', key);
    }
    state = enforceInternalState(value);
    if (!state.source) {
      state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
    }
  }
  if (O === global_1) {
    if (simple) O[key] = value;
    else setGlobal(key, value);
    return;
  } else if (!unsafe) {
    delete O[key];
  } else if (!noTargetGet && O[key]) {
    simple = true;
  }
  if (simple) O[key] = value;
  else createNonEnumerableProperty(O, key, value);
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
})(Function.prototype, 'toString', function toString() {
  return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
});
});

var path = global_1;

var aFunction = function (variable) {
  return typeof variable == 'function' ? variable : undefined;
};

var getBuiltIn = function (namespace, method) {
  return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace])
    : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
};

var ceil = Math.ceil;
var floor = Math.floor;

// `ToInteger` abstract operation
// https://tc39.es/ecma262/#sec-tointeger
var toInteger = function (argument) {
  return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
};

var min = Math.min;

// `ToLength` abstract operation
// https://tc39.es/ecma262/#sec-tolength
var toLength = function (argument) {
  return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
};

var max = Math.max;
var min$1 = Math.min;

// Helper for a popular repeating case of the spec:
// Let integer be ? ToInteger(index).
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
var toAbsoluteIndex = function (index, length) {
  var integer = toInteger(index);
  return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
};

// `Array.prototype.{ indexOf, includes }` methods implementation
var createMethod = function (IS_INCLUDES) {
  return function ($this, el, fromIndex) {
    var O = toIndexedObject($this);
    var length = toLength(O.length);
    var index = toAbsoluteIndex(fromIndex, length);
    var value;
    // Array#includes uses SameValueZero equality algorithm
    // eslint-disable-next-line no-self-compare -- NaN check
    if (IS_INCLUDES && el != el) while (length > index) {
      value = O[index++];
      // eslint-disable-next-line no-self-compare -- NaN check
      if (value != value) return true;
    // Array#indexOf ignores holes, Array#includes - not
    } else for (;length > index; index++) {
      if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
    } return !IS_INCLUDES && -1;
  };
};

var arrayIncludes = {
  // `Array.prototype.includes` method
  // https://tc39.es/ecma262/#sec-array.prototype.includes
  includes: createMethod(true),
  // `Array.prototype.indexOf` method
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
  indexOf: createMethod(false)
};

var indexOf = arrayIncludes.indexOf;


var objectKeysInternal = function (object, names) {
  var O = toIndexedObject(object);
  var i = 0;
  var result = [];
  var key;
  for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
  // Don't enum bug & hidden keys
  while (names.length > i) if (has(O, key = names[i++])) {
    ~indexOf(result, key) || result.push(key);
  }
  return result;
};

// IE8- don't enum bug keys
var enumBugKeys = [
  'constructor',
  'hasOwnProperty',
  'isPrototypeOf',
  'propertyIsEnumerable',
  'toLocaleString',
  'toString',
  'valueOf'
];

var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');

// `Object.getOwnPropertyNames` method
// https://tc39.es/ecma262/#sec-object.getownpropertynames
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  return objectKeysInternal(O, hiddenKeys$1);
};

var objectGetOwnPropertyNames = {
	f: f$3
};

// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
var f$4 = Object.getOwnPropertySymbols;

var objectGetOwnPropertySymbols = {
	f: f$4
};

// all object keys, includes non-enumerable and symbols
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
  var keys = objectGetOwnPropertyNames.f(anObject(it));
  var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
  return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
};

var copyConstructorProperties = function (target, source) {
  var keys = ownKeys$1(source);
  var defineProperty = objectDefineProperty.f;
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
  for (var i = 0; i < keys.length; i++) {
    var key = keys[i];
    if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  }
};

var replacement = /#|\.prototype\./;

var isForced = function (feature, detection) {
  var value = data[normalize(feature)];
  return value == POLYFILL ? true
    : value == NATIVE ? false
    : typeof detection == 'function' ? fails(detection)
    : !!detection;
};

var normalize = isForced.normalize = function (string) {
  return String(string).replace(replacement, '.').toLowerCase();
};

var data = isForced.data = {};
var NATIVE = isForced.NATIVE = 'N';
var POLYFILL = isForced.POLYFILL = 'P';

var isForced_1 = isForced;

var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;






/*
  options.target      - name of the target object
  options.global      - target is the global object
  options.stat        - export as static methods of target
  options.proto       - export as prototype methods of target
  options.real        - real prototype method for the `pure` version
  options.forced      - export even if the native feature is available
  options.bind        - bind methods to the target, required for the `pure` version
  options.wrap        - wrap constructors to preventing global pollution, required for the `pure` version
  options.unsafe      - use the simple assignment of property instead of delete + defineProperty
  options.sham        - add a flag to not completely full polyfills
  options.enumerable  - export as enumerable property
  options.noTargetGet - prevent calling a getter on target
*/
var _export = function (options, source) {
  var TARGET = options.target;
  var GLOBAL = options.global;
  var STATIC = options.stat;
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  if (GLOBAL) {
    target = global_1;
  } else if (STATIC) {
    target = global_1[TARGET] || setGlobal(TARGET, {});
  } else {
    target = (global_1[TARGET] || {}).prototype;
  }
  if (target) for (key in source) {
    sourceProperty = source[key];
    if (options.noTargetGet) {
      descriptor = getOwnPropertyDescriptor$1(target, key);
      targetProperty = descriptor && descriptor.value;
    } else targetProperty = target[key];
    FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
    // contained in target
    if (!FORCED && targetProperty !== undefined) {
      if (typeof sourceProperty === typeof targetProperty) continue;
      copyConstructorProperties(sourceProperty, targetProperty);
    }
    // add a flag to not completely full polyfills
    if (options.sham || (targetProperty && targetProperty.sham)) {
      createNonEnumerableProperty(sourceProperty, 'sham', true);
    }
    // extend global
    redefine(target, key, sourceProperty, options);
  }
};

var aFunction$1 = function (it) {
  if (typeof it != 'function') {
    throw TypeError(String(it) + ' is not a function');
  } return it;
};

// optional / simple context binding
var functionBindContext = function (fn, that, length) {
  aFunction$1(fn);
  if (that === undefined) return fn;
  switch (length) {
    case 0: return function () {
      return fn.call(that);
    };
    case 1: return function (a) {
      return fn.call(that, a);
    };
    case 2: return function (a, b) {
      return fn.call(that, a, b);
    };
    case 3: return function (a, b, c) {
      return fn.call(that, a, b, c);
    };
  }
  return function (/* ...args */) {
    return fn.apply(that, arguments);
  };
};

// `IsArray` abstract operation
// https://tc39.es/ecma262/#sec-isarray
// eslint-disable-next-line es/no-array-isarray -- safe
var isArray = Array.isArray || function isArray(arg) {
  return classofRaw(arg) == 'Array';
};

var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';

var process = global_1.process;
var versions = process && process.versions;
var v8 = versions && versions.v8;
var match, version;

if (v8) {
  match = v8.split('.');
  version = match[0] < 4 ? 1 : match[0] + match[1];
} else if (engineUserAgent) {
  match = engineUserAgent.match(/Edge\/(\d+)/);
  if (!match || match[1] >= 74) {
    match = engineUserAgent.match(/Chrome\/(\d+)/);
    if (match) version = match[1];
  }
}

var engineV8Version = version && +version;

/* eslint-disable es/no-symbol -- required for testing */



// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
  return !String(Symbol()) ||
    // Chrome 38 Symbol has incorrect toString conversion
    // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
    !Symbol.sham && engineV8Version && engineV8Version < 41;
});

/* eslint-disable es/no-symbol -- required for testing */


var useSymbolAsUid = nativeSymbol
  && !Symbol.sham
  && typeof Symbol.iterator == 'symbol';

var WellKnownSymbolsStore = shared('wks');
var Symbol$1 = global_1.Symbol;
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;

var wellKnownSymbol = function (name) {
  if (!has(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
    if (nativeSymbol && has(Symbol$1, name)) {
      WellKnownSymbolsStore[name] = Symbol$1[name];
    } else {
      WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
    }
  } return WellKnownSymbolsStore[name];
};

var SPECIES = wellKnownSymbol('species');

// `ArraySpeciesCreate` abstract operation
// https://tc39.es/ecma262/#sec-arrayspeciescreate
var arraySpeciesCreate = function (originalArray, length) {
  var C;
  if (isArray(originalArray)) {
    C = originalArray.constructor;
    // cross-realm fallback
    if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
    else if (isObject(C)) {
      C = C[SPECIES];
      if (C === null) C = undefined;
    }
  } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
};

var push = [].push;

// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
var createMethod$1 = function (TYPE) {
  var IS_MAP = TYPE == 1;
  var IS_FILTER = TYPE == 2;
  var IS_SOME = TYPE == 3;
  var IS_EVERY = TYPE == 4;
  var IS_FIND_INDEX = TYPE == 6;
  var IS_FILTER_OUT = TYPE == 7;
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
  return function ($this, callbackfn, that, specificCreate) {
    var O = toObject($this);
    var self = indexedObject(O);
    var boundFunction = functionBindContext(callbackfn, that, 3);
    var length = toLength(self.length);
    var index = 0;
    var create = specificCreate || arraySpeciesCreate;
    var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
    var value, result;
    for (;length > index; index++) if (NO_HOLES || index in self) {
      value = self[index];
      result = boundFunction(value, index, O);
      if (TYPE) {
        if (IS_MAP) target[index] = result; // map
        else if (result) switch (TYPE) {
          case 3: return true;              // some
          case 5: return value;             // find
          case 6: return index;             // findIndex
          case 2: push.call(target, value); // filter
        } else switch (TYPE) {
          case 4: return false;             // every
          case 7: push.call(target, value); // filterOut
        }
      }
    }
    return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
  };
};

var arrayIteration = {
  // `Array.prototype.forEach` method
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
  forEach: createMethod$1(0),
  // `Array.prototype.map` method
  // https://tc39.es/ecma262/#sec-array.prototype.map
  map: createMethod$1(1),
  // `Array.prototype.filter` method
  // https://tc39.es/ecma262/#sec-array.prototype.filter
  filter: createMethod$1(2),
  // `Array.prototype.some` method
  // https://tc39.es/ecma262/#sec-array.prototype.some
  some: createMethod$1(3),
  // `Array.prototype.every` method
  // https://tc39.es/ecma262/#sec-array.prototype.every
  every: createMethod$1(4),
  // `Array.prototype.find` method
  // https://tc39.es/ecma262/#sec-array.prototype.find
  find: createMethod$1(5),
  // `Array.prototype.findIndex` method
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
  findIndex: createMethod$1(6),
  // `Array.prototype.filterOut` method
  // https://github.com/tc39/proposal-array-filtering
  filterOut: createMethod$1(7)
};

// `Object.keys` method
// https://tc39.es/ecma262/#sec-object.keys
// eslint-disable-next-line es/no-object-keys -- safe
var objectKeys = Object.keys || function keys(O) {
  return objectKeysInternal(O, enumBugKeys);
};

// `Object.defineProperties` method
// https://tc39.es/ecma262/#sec-object.defineproperties
// eslint-disable-next-line es/no-object-defineproperties -- safe
var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
  anObject(O);
  var keys = objectKeys(Properties);
  var length = keys.length;
  var index = 0;
  var key;
  while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
  return O;
};

var html = getBuiltIn('document', 'documentElement');

var GT = '>';
var LT = '<';
var PROTOTYPE = 'prototype';
var SCRIPT = 'script';
var IE_PROTO = sharedKey('IE_PROTO');

var EmptyConstructor = function () { /* empty */ };

var scriptTag = function (content) {
  return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
};

// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
var NullProtoObjectViaActiveX = function (activeXDocument) {
  activeXDocument.write(scriptTag(''));
  activeXDocument.close();
  var temp = activeXDocument.parentWindow.Object;
  activeXDocument = null; // avoid memory leak
  return temp;
};

// Create object with fake `null` prototype: use iframe Object with cleared prototype
var NullProtoObjectViaIFrame = function () {
  // Thrash, waste and sodomy: IE GC bug
  var iframe = documentCreateElement('iframe');
  var JS = 'java' + SCRIPT + ':';
  var iframeDocument;
  iframe.style.display = 'none';
  html.appendChild(iframe);
  // https://github.com/zloirock/core-js/issues/475
  iframe.src = String(JS);
  iframeDocument = iframe.contentWindow.document;
  iframeDocument.open();
  iframeDocument.write(scriptTag('document.F=Object'));
  iframeDocument.close();
  return iframeDocument.F;
};

// Check for document.domain and active x support
// No need to use active x approach when document.domain is not set
// see https://github.com/es-shims/es5-shim/issues/150
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
// avoid IE GC bug
var activeXDocument;
var NullProtoObject = function () {
  try {
    /* global ActiveXObject -- old IE */
    activeXDocument = document.domain && new ActiveXObject('htmlfile');
  } catch (error) { /* ignore */ }
  NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
  var length = enumBugKeys.length;
  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
  return NullProtoObject();
};

hiddenKeys[IE_PROTO] = true;

// `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
var objectCreate = Object.create || function create(O, Properties) {
  var result;
  if (O !== null) {
    EmptyConstructor[PROTOTYPE] = anObject(O);
    result = new EmptyConstructor();
    EmptyConstructor[PROTOTYPE] = null;
    // add "__proto__" for Object.getPrototypeOf polyfill
    result[IE_PROTO] = O;
  } else result = NullProtoObject();
  return Properties === undefined ? result : objectDefineProperties(result, Properties);
};

var UNSCOPABLES = wellKnownSymbol('unscopables');
var ArrayPrototype = Array.prototype;

// Array.prototype[@@unscopables]
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
if (ArrayPrototype[UNSCOPABLES] == undefined) {
  objectDefineProperty.f(ArrayPrototype, UNSCOPABLES, {
    configurable: true,
    value: objectCreate(null)
  });
}

// add a key to Array.prototype[@@unscopables]
var addToUnscopables = function (key) {
  ArrayPrototype[UNSCOPABLES][key] = true;
};

var $find = arrayIteration.find;


var FIND = 'find';
var SKIPS_HOLES = true;

// Shouldn't skip holes
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });

// `Array.prototype.find` method
// https://tc39.es/ecma262/#sec-array.prototype.find
_export({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
  find: function find(callbackfn /* , that = undefined */) {
    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  }
});

// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables(FIND);

var _class, _class2, _temp;

var ReactTooltip = staticMethods(_class = windowListener(_class = customEvent(_class = isCapture(_class = getEffect(_class = bodyMode(_class = trackRemoval(_class = (_temp = _class2 =
/*#__PURE__*/
function (_React$Component) {
  _inherits(ReactTooltip, _React$Component);

  _createClass(ReactTooltip, null, [{
    key: "propTypes",
    get: function get() {
      return {
        uuid: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.any,
        place: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        type: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        effect: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        offset: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
        multiline: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
        border: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
        textColor: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        backgroundColor: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        borderColor: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        arrowColor: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        insecure: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
        "class": prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        id: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        html: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
        delayHide: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
        delayUpdate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
        delayShow: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
        event: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        eventOff: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        isCapture: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
        globalEventOff: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        getContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.any,
        afterShow: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
        afterHide: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
        overridePosition: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
        disable: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
        scrollHide: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
        resizeHide: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
        wrapper: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        bodyMode: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
        possibleCustomEvents: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        possibleCustomEventsOff: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
        clickable: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool
      };
    }
  }]);

  function ReactTooltip(props) {
    var _this;

    _classCallCheck(this, ReactTooltip);

    _this = _possibleConstructorReturn(this, _getPrototypeOf(ReactTooltip).call(this, props));
    _this.state = {
      uuid: props.uuid || generateUUID(),
      place: props.place || 'top',
      // Direction of tooltip
      desiredPlace: props.place || 'top',
      type: 'dark',
      // Color theme of tooltip
      effect: 'float',
      // float or fixed
      show: false,
      border: false,
      customColors: {},
      offset: {},
      extraClass: '',
      html: false,
      delayHide: 0,
      delayShow: 0,
      event: props.event || null,
      eventOff: props.eventOff || null,
      currentEvent: null,
      // Current mouse event
      currentTarget: null,
      // Current target of mouse event
      ariaProps: parseAria(props),
      // aria- and role attributes
      isEmptyTip: false,
      disable: false,
      possibleCustomEvents: props.possibleCustomEvents || '',
      possibleCustomEventsOff: props.possibleCustomEventsOff || '',
      originTooltip: null,
      isMultiline: false
    };

    _this.bind(['showTooltip', 'updateTooltip', 'hideTooltip', 'hideTooltipOnScroll', 'getTooltipContent', 'globalRebuild', 'globalShow', 'globalHide', 'onWindowResize', 'mouseOnToolTip']);

    _this.mount = true;
    _this.delayShowLoop = null;
    _this.delayHideLoop = null;
    _this.delayReshow = null;
    _this.intervalUpdateContent = null;
    return _this;
  }
  /**
   * For unify the bind and unbind listener
   */


  _createClass(ReactTooltip, [{
    key: "bind",
    value: function bind(methodArray) {
      var _this2 = this;

      methodArray.forEach(function (method) {
        _this2[method] = _this2[method].bind(_this2);
      });
    }
  }, {
    key: "componentDidMount",
    value: function componentDidMount() {
      var _this$props = this.props,
          insecure = _this$props.insecure,
          resizeHide = _this$props.resizeHide;
      this.bindListener(); // Bind listener for tooltip

      this.bindWindowEvents(resizeHide); // Bind global event for static method

      this.injectStyles(); // Inject styles for each DOM root having tooltip.
    }
  }, {
    key: "componentWillUnmount",
    value: function componentWillUnmount() {
      this.mount = false;
      this.clearTimer();
      this.unbindListener();
      this.removeScrollListener(this.state.currentTarget);
      this.unbindWindowEvents();
    }
    /* Look for the closest DOM root having tooltip and inject styles. */

  }, {
    key: "injectStyles",
    value: function injectStyles() {
      var tooltipRef = this.tooltipRef;

      if (!tooltipRef) {
        return;
      }

      var parentNode = tooltipRef.parentNode;

      while (parentNode.parentNode) {
        parentNode = parentNode.parentNode;
      }

      var domRoot;

      switch (parentNode.constructor.name) {
        case 'Document':
        case 'HTMLDocument':
        case undefined:
          domRoot = parentNode.head;
          break;

        case 'ShadowRoot':
        default:
          domRoot = parentNode;
          break;
      } // Prevent styles duplication.


      if (!domRoot.querySelector('style[data-react-tooltip]')) {
        var style = document.createElement('style');
        style.textContent = baseCss;
        style.setAttribute('data-react-tooltip', 'true');
        domRoot.appendChild(style);
      }
    }
    /**
     * Return if the mouse is on the tooltip.
     * @returns {boolean} true - mouse is on the tooltip
     */

  }, {
    key: "mouseOnToolTip",
    value: function mouseOnToolTip() {
      var show = this.state.show;

      if (show && this.tooltipRef) {
        /* old IE or Firefox work around */
        if (!this.tooltipRef.matches) {
          /* old IE work around */
          if (this.tooltipRef.msMatchesSelector) {
            this.tooltipRef.matches = this.tooltipRef.msMatchesSelector;
          } else {
            /* old Firefox work around */
            this.tooltipRef.matches = this.tooltipRef.mozMatchesSelector;
          }
        }

        return this.tooltipRef.matches(':hover');
      }

      return false;
    }
    /**
     * Pick out corresponded target elements
     */

  }, {
    key: "getTargetArray",
    value: function getTargetArray(id) {
      var targetArray = [];
      var selector;

      if (!id) {
        selector = '[data-tip]:not([data-for])';
      } else {
        var escaped = id.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
        selector = "[data-tip][data-for=\"".concat(escaped, "\"]");
      } // Scan document for shadow DOM elements


      nodeListToArray(document.getElementsByTagName('*')).filter(function (element) {
        return element.shadowRoot;
      }).forEach(function (element) {
        targetArray = targetArray.concat(nodeListToArray(element.shadowRoot.querySelectorAll(selector)));
      });
      return targetArray.concat(nodeListToArray(document.querySelectorAll(selector)));
    }
    /**
     * Bind listener to the target elements
     * These listeners used to trigger showing or hiding the tooltip
     */

  }, {
    key: "bindListener",
    value: function bindListener() {
      var _this3 = this;

      var _this$props2 = this.props,
          id = _this$props2.id,
          globalEventOff = _this$props2.globalEventOff,
          isCapture = _this$props2.isCapture;
      var targetArray = this.getTargetArray(id);
      targetArray.forEach(function (target) {
        if (target.getAttribute('currentItem') === null) {
          target.setAttribute('currentItem', 'false');
        }

        _this3.unbindBasicListener(target);

        if (_this3.isCustomEvent(target)) {
          _this3.customUnbindListener(target);
        }
      });

      if (this.isBodyMode()) {
        this.bindBodyListener(targetArray);
      } else {
        targetArray.forEach(function (target) {
          var isCaptureMode = _this3.isCapture(target);

          var effect = _this3.getEffect(target);

          if (_this3.isCustomEvent(target)) {
            _this3.customBindListener(target);

            return;
          }

          target.addEventListener('mouseenter', _this3.showTooltip, isCaptureMode);
          target.addEventListener('focus', _this3.showTooltip, isCaptureMode);

          if (effect === 'float') {
            target.addEventListener('mousemove', _this3.updateTooltip, isCaptureMode);
          }

          target.addEventListener('mouseleave', _this3.hideTooltip, isCaptureMode);
          target.addEventListener('blur', _this3.hideTooltip, isCaptureMode);
        });
      } // Global event to hide tooltip


      if (globalEventOff) {
        window.removeEventListener(globalEventOff, this.hideTooltip);
        window.addEventListener(globalEventOff, this.hideTooltip, isCapture);
      } // Track removal of targetArray elements from DOM


      this.bindRemovalTracker();
    }
    /**
     * Unbind listeners on target elements
     */

  }, {
    key: "unbindListener",
    value: function unbindListener() {
      var _this4 = this;

      var _this$props3 = this.props,
          id = _this$props3.id,
          globalEventOff = _this$props3.globalEventOff;

      if (this.isBodyMode()) {
        this.unbindBodyListener();
      } else {
        var targetArray = this.getTargetArray(id);
        targetArray.forEach(function (target) {
          _this4.unbindBasicListener(target);

          if (_this4.isCustomEvent(target)) _this4.customUnbindListener(target);
        });
      }

      if (globalEventOff) window.removeEventListener(globalEventOff, this.hideTooltip);
      this.unbindRemovalTracker();
    }
    /**
     * Invoke this before bind listener and unmount the component
     * it is necessary to invoke this even when binding custom event
     * so that the tooltip can switch between custom and default listener
     */

  }, {
    key: "unbindBasicListener",
    value: function unbindBasicListener(target) {
      var isCaptureMode = this.isCapture(target);
      target.removeEventListener('mouseenter', this.showTooltip, isCaptureMode);
      target.removeEventListener('mousemove', this.updateTooltip, isCaptureMode);
      target.removeEventListener('mouseleave', this.hideTooltip, isCaptureMode);
    }
  }, {
    key: "getTooltipContent",
    value: function getTooltipContent() {
      var _this$props4 = this.props,
          getContent = _this$props4.getContent,
          children = _this$props4.children; // Generate tooltip content

      var content;

      if (getContent) {
        if (Array.isArray(getContent)) {
          content = getContent[0] && getContent[0](this.state.originTooltip);
        } else {
          content = getContent(this.state.originTooltip);
        }
      }

      return getTipContent(this.state.originTooltip, children, content, this.state.isMultiline);
    }
  }, {
    key: "isEmptyTip",
    value: function isEmptyTip(placeholder) {
      return typeof placeholder === 'string' && placeholder === '' || placeholder === null;
    }
    /**
     * When mouse enter, show the tooltip
     */

  }, {
    key: "showTooltip",
    value: function showTooltip(e, isGlobalCall) {
      if (!this.tooltipRef) {
        return;
      }

      if (isGlobalCall) {
        // Don't trigger other elements belongs to other ReactTooltip
        var targetArray = this.getTargetArray(this.props.id);
        var isMyElement = targetArray.some(function (ele) {
          return ele === e.currentTarget;
        });
        if (!isMyElement) return;
      } // Get the tooltip content
      // calculate in this phrase so that tip width height can be detected


      var _this$props5 = this.props,
          multiline = _this$props5.multiline,
          getContent = _this$props5.getContent;
      var originTooltip = e.currentTarget.getAttribute('data-tip');
      var isMultiline = e.currentTarget.getAttribute('data-multiline') || multiline || false; // If it is focus event or called by ReactTooltip.show, switch to `solid` effect

      var switchToSolid = e instanceof window.FocusEvent || isGlobalCall; // if it needs to skip adding hide listener to scroll

      var scrollHide = true;

      if (e.currentTarget.getAttribute('data-scroll-hide')) {
        scrollHide = e.currentTarget.getAttribute('data-scroll-hide') === 'true';
      } else if (this.props.scrollHide != null) {
        scrollHide = this.props.scrollHide;
      } // adding aria-describedby to target to make tooltips read by screen readers


      if (e && e.currentTarget && e.currentTarget.setAttribute) {
        e.currentTarget.setAttribute('aria-describedby', this.state.uuid);
      } // Make sure the correct place is set


      var desiredPlace = e.currentTarget.getAttribute('data-place') || this.props.place || 'top';
      var effect = switchToSolid && 'solid' || this.getEffect(e.currentTarget);
      var offset = e.currentTarget.getAttribute('data-offset') || this.props.offset || {};
      var result = getPosition(e, e.currentTarget, this.tooltipRef, desiredPlace, desiredPlace, effect, offset);

      if (result.position && this.props.overridePosition) {
        result.position = this.props.overridePosition(result.position, e, e.currentTarget, this.tooltipRef, desiredPlace, desiredPlace, effect, offset);
      }

      var place = result.isNewState ? result.newState.place : desiredPlace; // To prevent previously created timers from triggering

      this.clearTimer();
      var target = e.currentTarget;
      var reshowDelay = this.state.show ? target.getAttribute('data-delay-update') || this.props.delayUpdate : 0;
      var self = this;

      var updateState = function updateState() {
        self.setState({
          originTooltip: originTooltip,
          isMultiline: isMultiline,
          desiredPlace: desiredPlace,
          place: place,
          type: target.getAttribute('data-type') || self.props.type || 'dark',
          customColors: {
            text: target.getAttribute('data-text-color') || self.props.textColor || null,
            background: target.getAttribute('data-background-color') || self.props.backgroundColor || null,
            border: target.getAttribute('data-border-color') || self.props.borderColor || null,
            arrow: target.getAttribute('data-arrow-color') || self.props.arrowColor || null
          },
          effect: effect,
          offset: offset,
          html: (target.getAttribute('data-html') ? target.getAttribute('data-html') === 'true' : self.props.html) || false,
          delayShow: target.getAttribute('data-delay-show') || self.props.delayShow || 0,
          delayHide: target.getAttribute('data-delay-hide') || self.props.delayHide || 0,
          delayUpdate: target.getAttribute('data-delay-update') || self.props.delayUpdate || 0,
          border: (target.getAttribute('data-border') ? target.getAttribute('data-border') === 'true' : self.props.border) || false,
          extraClass: target.getAttribute('data-class') || self.props["class"] || self.props.className || '',
          disable: (target.getAttribute('data-tip-disable') ? target.getAttribute('data-tip-disable') === 'true' : self.props.disable) || false,
          currentTarget: target
        }, function () {
          if (scrollHide) {
            self.addScrollListener(self.state.currentTarget);
          }

          self.updateTooltip(e);

          if (getContent && Array.isArray(getContent)) {
            self.intervalUpdateContent = setInterval(function () {
              if (self.mount) {
                var _getContent = self.props.getContent;
                var placeholder = getTipContent(originTooltip, '', _getContent[0](), isMultiline);
                var isEmptyTip = self.isEmptyTip(placeholder);
                self.setState({
                  isEmptyTip: isEmptyTip
                });
                self.updatePosition();
              }
            }, getContent[1]);
          }
        });
      }; // If there is no delay call immediately, don't allow events to get in first.


      if (reshowDelay) {
        this.delayReshow = setTimeout(updateState, reshowDelay);
      } else {
        updateState();
      }
    }
    /**
     * When mouse hover, update tool tip
     */

  }, {
    key: "updateTooltip",
    value: function updateTooltip(e) {
      var _this5 = this;

      var _this$state = this.state,
          delayShow = _this$state.delayShow,
          disable = _this$state.disable;
      var afterShow = this.props.afterShow;
      var placeholder = this.getTooltipContent();
      var eventTarget = e.currentTarget || e.target; // Check if the mouse is actually over the tooltip, if so don't hide the tooltip

      if (this.mouseOnToolTip()) {
        return;
      } // if the tooltip is empty, disable the tooltip


      if (this.isEmptyTip(placeholder) || disable) {
        return;
      }

      var delayTime = !this.state.show ? parseInt(delayShow, 10) : 0;

      var updateState = function updateState() {
        if (Array.isArray(placeholder) && placeholder.length > 0 || placeholder) {
          var isInvisible = !_this5.state.show;

          _this5.setState({
            currentEvent: e,
            currentTarget: eventTarget,
            show: true
          }, function () {
            _this5.updatePosition();

            if (isInvisible && afterShow) {
              afterShow(e);
            }
          });
        }
      };

      clearTimeout(this.delayShowLoop);

      if (delayTime) {
        this.delayShowLoop = setTimeout(updateState, delayTime);
      } else {
        updateState();
      }
    }
    /*
     * If we're mousing over the tooltip remove it when we leave.
     */

  }, {
    key: "listenForTooltipExit",
    value: function listenForTooltipExit() {
      var show = this.state.show;

      if (show && this.tooltipRef) {
        this.tooltipRef.addEventListener('mouseleave', this.hideTooltip);
      }
    }
  }, {
    key: "removeListenerForTooltipExit",
    value: function removeListenerForTooltipExit() {
      var show = this.state.show;

      if (show && this.tooltipRef) {
        this.tooltipRef.removeEventListener('mouseleave', this.hideTooltip);
      }
    }
    /**
     * When mouse leave, hide tooltip
     */

  }, {
    key: "hideTooltip",
    value: function hideTooltip(e, hasTarget) {
      var _this6 = this;

      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
        isScroll: false
      };
      var disable = this.state.disable;
      var isScroll = options.isScroll;
      var delayHide = isScroll ? 0 : this.state.delayHide;
      var afterHide = this.props.afterHide;
      var placeholder = this.getTooltipContent();
      if (!this.mount) return;
      if (this.isEmptyTip(placeholder) || disable) return; // if the tooltip is empty, disable the tooltip

      if (hasTarget) {
        // Don't trigger other elements belongs to other ReactTooltip
        var targetArray = this.getTargetArray(this.props.id);
        var isMyElement = targetArray.some(function (ele) {
          return ele === e.currentTarget;
        });
        if (!isMyElement || !this.state.show) return;
      } // clean up aria-describedby when hiding tooltip


      if (e && e.currentTarget && e.currentTarget.removeAttribute) {
        e.currentTarget.removeAttribute('aria-describedby');
      }

      var resetState = function resetState() {
        var isVisible = _this6.state.show; // Check if the mouse is actually over the tooltip, if so don't hide the tooltip

        if (_this6.mouseOnToolTip()) {
          _this6.listenForTooltipExit();

          return;
        }

        _this6.removeListenerForTooltipExit();

        _this6.setState({
          show: false
        }, function () {
          _this6.removeScrollListener(_this6.state.currentTarget);

          if (isVisible && afterHide) {
            afterHide(e);
          }
        });
      };

      this.clearTimer();

      if (delayHide) {
        this.delayHideLoop = setTimeout(resetState, parseInt(delayHide, 10));
      } else {
        resetState();
      }
    }
    /**
     * When scroll, hide tooltip
     */

  }, {
    key: "hideTooltipOnScroll",
    value: function hideTooltipOnScroll(event, hasTarget) {
      this.hideTooltip(event, hasTarget, {
        isScroll: true
      });
    }
    /**
     * Add scroll event listener when tooltip show
     * automatically hide the tooltip when scrolling
     */

  }, {
    key: "addScrollListener",
    value: function addScrollListener(currentTarget) {
      var isCaptureMode = this.isCapture(currentTarget);
      window.addEventListener('scroll', this.hideTooltipOnScroll, isCaptureMode);
    }
  }, {
    key: "removeScrollListener",
    value: function removeScrollListener(currentTarget) {
      var isCaptureMode = this.isCapture(currentTarget);
      window.removeEventListener('scroll', this.hideTooltipOnScroll, isCaptureMode);
    } // Calculation the position

  }, {
    key: "updatePosition",
    value: function updatePosition() {
      var _this7 = this;

      var _this$state2 = this.state,
          currentEvent = _this$state2.currentEvent,
          currentTarget = _this$state2.currentTarget,
          place = _this$state2.place,
          desiredPlace = _this$state2.desiredPlace,
          effect = _this$state2.effect,
          offset = _this$state2.offset;
      var node = this.tooltipRef;
      var result = getPosition(currentEvent, currentTarget, node, place, desiredPlace, effect, offset);

      if (result.position && this.props.overridePosition) {
        result.position = this.props.overridePosition(result.position, currentEvent, currentTarget, node, place, desiredPlace, effect, offset);
      }

      if (result.isNewState) {
        // Switch to reverse placement
        return this.setState(result.newState, function () {
          _this7.updatePosition();
        });
      } // Set tooltip position


      node.style.left = result.position.left + 'px';
      node.style.top = result.position.top + 'px';
    }
    /**
     * CLear all kinds of timeout of interval
     */

  }, {
    key: "clearTimer",
    value: function clearTimer() {
      clearTimeout(this.delayShowLoop);
      clearTimeout(this.delayHideLoop);
      clearTimeout(this.delayReshow);
      clearInterval(this.intervalUpdateContent);
    }
  }, {
    key: "hasCustomColors",
    value: function hasCustomColors() {
      var _this8 = this;

      return Boolean(Object.keys(this.state.customColors).find(function (color) {
        return color !== 'border' && _this8.state.customColors[color];
      }) || this.state.border && this.state.customColors['border']);
    }
  }, {
    key: "render",
    value: function render() {
      var _this9 = this;

      var _this$state3 = this.state,
          extraClass = _this$state3.extraClass,
          html = _this$state3.html,
          ariaProps = _this$state3.ariaProps,
          disable = _this$state3.disable,
          uuid = _this$state3.uuid;
      var content = this.getTooltipContent();
      var isEmptyTip = this.isEmptyTip(content);
      var style = generateTooltipStyle(this.state.uuid, this.state.customColors, this.state.type, this.state.border);
      var tooltipClass = '__react_component_tooltip' + " ".concat(this.state.uuid) + (this.state.show && !disable && !isEmptyTip ? ' show' : '') + (this.state.border ? ' border' : '') + " place-".concat(this.state.place) + // top, bottom, left, right
      " type-".concat(this.hasCustomColors() ? 'custom' : this.state.type) + ( // dark, success, warning, error, info, light, custom
      this.props.delayUpdate ? ' allow_hover' : '') + (this.props.clickable ? ' allow_click' : '');
      var Wrapper = this.props.wrapper;

      if (ReactTooltip.supportedWrappers.indexOf(Wrapper) < 0) {
        Wrapper = ReactTooltip.defaultProps.wrapper;
      }

      var wrapperClassName = [tooltipClass, extraClass].filter(Boolean).join(' ');

      if (html) {
        var htmlContent = "".concat(content, "\n<style aria-hidden=\"true\">").concat(style, "</style>");
        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Wrapper, _extends({
          className: "".concat(wrapperClassName),
          id: this.props.id || uuid,
          ref: function ref(_ref) {
            return _this9.tooltipRef = _ref;
          }
        }, ariaProps, {
          "data-id": "tooltip",
          dangerouslySetInnerHTML: {
            __html: htmlContent
          }
        }));
      } else {
        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Wrapper, _extends({
          className: "".concat(wrapperClassName),
          id: this.props.id || uuid
        }, ariaProps, {
          ref: function ref(_ref2) {
            return _this9.tooltipRef = _ref2;
          },
          "data-id": "tooltip"
        }), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("style", {
          dangerouslySetInnerHTML: {
            __html: style
          },
          "aria-hidden": "true"
        }), content);
      }
    }
  }], [{
    key: "getDerivedStateFromProps",
    value: function getDerivedStateFromProps(nextProps, prevState) {
      var ariaProps = prevState.ariaProps;
      var newAriaProps = parseAria(nextProps);
      var isChanged = Object.keys(newAriaProps).some(function (props) {
        return newAriaProps[props] !== ariaProps[props];
      });

      if (!isChanged) {
        return null;
      }

      return _objectSpread2({}, prevState, {
        ariaProps: newAriaProps
      });
    }
  }]);

  return ReactTooltip;
}(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component), _defineProperty(_class2, "defaultProps", {
  insecure: true,
  resizeHide: true,
  wrapper: 'div',
  clickable: false
}), _defineProperty(_class2, "supportedWrappers", ['div', 'span']), _defineProperty(_class2, "displayName", 'ReactTooltip'), _temp)) || _class) || _class) || _class) || _class) || _class) || _class) || _class;

/* harmony default export */ __webpack_exports__["a"] = (ReactTooltip);
//# sourceMappingURL=index.es.js.map

/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(25)))

/***/ }),
/* 42 */
/***/ (function(module, exports, __webpack_require__) {

if (true) {
  module.exports = __webpack_require__(79);
} else {}


/***/ }),
/* 43 */
/***/ (function(module, exports, __webpack_require__) {

const url = __webpack_require__(84);

const allowedUtms = [
  'utm_source',
  'utm_medium',
  'utm_campaign',
  'utm_content',
  'utm_term'
];

const filterValidUtms = (utms) => {
  return Object.keys(utms)
    .filter(k => allowedUtms.includes(k))
    .reduce((o, k) => {
      o[k] = utms[k];
      return o;
    }, {});
};

exports.utm = (link, sep) => {
  const parsed = url.parse(unescape(link));
  const query = parsed.query || '';
  sep = sep || '&';
  const utmRegx = new RegExp('((utm_[^=]+)=([^\\' + sep + ']+))', 'gi');
  const matched = query.match(utmRegx) || [];
  return (matched.reduce((o, u) => {
    const kV = u.split('=');
    o[kV[0]] = kV[1];
    return o;
  }, {})) || {};
};

exports.strict = (link, sep) => {
  const utms = exports.utm(link, sep);
  return filterValidUtms(utms);
};

exports.build = (link, utms, isStrict) => {
  const parsed = url.parse(unescape(link));
  parsed.search = undefined;

  parsed.query = isStrict ? filterValidUtms(utms) : utms;

  return url.format(parsed);
};


/***/ }),
/* 44 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__(132);


/***/ }),
/* 45 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/**
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */



var ReactPropTypesSecret = __webpack_require__(46);

function emptyFunction() {}
function emptyFunctionWithReset() {}
emptyFunctionWithReset.resetWarningCache = emptyFunction;

module.exports = function() {
  function shim(props, propName, componentName, location, propFullName, secret) {
    if (secret === ReactPropTypesSecret) {
      // It is still safe when called from React.
      return;
    }
    var err = new Error(
      'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
      'Use PropTypes.checkPropTypes() to call them. ' +
      'Read more at http://fb.me/use-check-prop-types'
    );
    err.name = 'Invariant Violation';
    throw err;
  };
  shim.isRequired = shim;
  function getShim() {
    return shim;
  };
  // Important!
  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
  var ReactPropTypes = {
    array: shim,
    bool: shim,
    func: shim,
    number: shim,
    object: shim,
    string: shim,
    symbol: shim,

    any: shim,
    arrayOf: getShim,
    element: shim,
    elementType: shim,
    instanceOf: getShim,
    node: shim,
    objectOf: getShim,
    oneOf: getShim,
    oneOfType: getShim,
    shape: getShim,
    exact: getShim,

    checkPropTypes: emptyFunctionWithReset,
    resetWarningCache: emptyFunction
  };

  ReactPropTypes.PropTypes = ReactPropTypes;

  return ReactPropTypes;
};


/***/ }),
/* 46 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/**
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */



var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';

module.exports = ReactPropTypesSecret;


/***/ }),
/* 47 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(20);
var bind = __webpack_require__(29);
var Axios = __webpack_require__(48);
var mergeConfig = __webpack_require__(35);
var defaults = __webpack_require__(32);

/**
 * Create an instance of Axios
 *
 * @param {Object} defaultConfig The default config for the instance
 * @return {Axios} A new instance of Axios
 */
function createInstance(defaultConfig) {
  var context = new Axios(defaultConfig);
  var instance = bind(Axios.prototype.request, context);

  // Copy axios.prototype to instance
  utils.extend(instance, Axios.prototype, context);

  // Copy context to instance
  utils.extend(instance, context);

  return instance;
}

// Create the default instance to be exported
var axios = createInstance(defaults);

// Expose Axios class to allow class inheritance
axios.Axios = Axios;

// Factory for creating new instances
axios.create = function create(instanceConfig) {
  return createInstance(mergeConfig(axios.defaults, instanceConfig));
};

// Expose Cancel & CancelToken
axios.Cancel = __webpack_require__(36);
axios.CancelToken = __webpack_require__(62);
axios.isCancel = __webpack_require__(31);

// Expose all/spread
axios.all = function all(promises) {
  return Promise.all(promises);
};
axios.spread = __webpack_require__(63);

// Expose isAxiosError
axios.isAxiosError = __webpack_require__(64);

module.exports = axios;

// Allow use of default import syntax in TypeScript
module.exports.default = axios;


/***/ }),
/* 48 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(20);
var buildURL = __webpack_require__(30);
var InterceptorManager = __webpack_require__(49);
var dispatchRequest = __webpack_require__(50);
var mergeConfig = __webpack_require__(35);

/**
 * Create a new instance of Axios
 *
 * @param {Object} instanceConfig The default config for the instance
 */
function Axios(instanceConfig) {
  this.defaults = instanceConfig;
  this.interceptors = {
    request: new InterceptorManager(),
    response: new InterceptorManager()
  };
}

/**
 * Dispatch a request
 *
 * @param {Object} config The config specific for this request (merged with this.defaults)
 */
Axios.prototype.request = function request(config) {
  /*eslint no-param-reassign:0*/
  // Allow for axios('example/url'[, config]) a la fetch API
  if (typeof config === 'string') {
    config = arguments[1] || {};
    config.url = arguments[0];
  } else {
    config = config || {};
  }

  config = mergeConfig(this.defaults, config);

  // Set config.method
  if (config.method) {
    config.method = config.method.toLowerCase();
  } else if (this.defaults.method) {
    config.method = this.defaults.method.toLowerCase();
  } else {
    config.method = 'get';
  }

  // Hook up interceptors middleware
  var chain = [dispatchRequest, undefined];
  var promise = Promise.resolve(config);

  this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
    chain.unshift(interceptor.fulfilled, interceptor.rejected);
  });

  this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
    chain.push(interceptor.fulfilled, interceptor.rejected);
  });

  while (chain.length) {
    promise = promise.then(chain.shift(), chain.shift());
  }

  return promise;
};

Axios.prototype.getUri = function getUri(config) {
  config = mergeConfig(this.defaults, config);
  return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, '');
};

// Provide aliases for supported request methods
utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
  /*eslint func-names:0*/
  Axios.prototype[method] = function(url, config) {
    return this.request(mergeConfig(config || {}, {
      method: method,
      url: url,
      data: (config || {}).data
    }));
  };
});

utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
  /*eslint func-names:0*/
  Axios.prototype[method] = function(url, data, config) {
    return this.request(mergeConfig(config || {}, {
      method: method,
      url: url,
      data: data
    }));
  };
});

module.exports = Axios;


/***/ }),
/* 49 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(20);

function InterceptorManager() {
  this.handlers = [];
}

/**
 * Add a new interceptor to the stack
 *
 * @param {Function} fulfilled The function to handle `then` for a `Promise`
 * @param {Function} rejected The function to handle `reject` for a `Promise`
 *
 * @return {Number} An ID used to remove interceptor later
 */
InterceptorManager.prototype.use = function use(fulfilled, rejected) {
  this.handlers.push({
    fulfilled: fulfilled,
    rejected: rejected
  });
  return this.handlers.length - 1;
};

/**
 * Remove an interceptor from the stack
 *
 * @param {Number} id The ID that was returned by `use`
 */
InterceptorManager.prototype.eject = function eject(id) {
  if (this.handlers[id]) {
    this.handlers[id] = null;
  }
};

/**
 * Iterate over all the registered interceptors
 *
 * This method is particularly useful for skipping over any
 * interceptors that may have become `null` calling `eject`.
 *
 * @param {Function} fn The function to call for each interceptor
 */
InterceptorManager.prototype.forEach = function forEach(fn) {
  utils.forEach(this.handlers, function forEachHandler(h) {
    if (h !== null) {
      fn(h);
    }
  });
};

module.exports = InterceptorManager;


/***/ }),
/* 50 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(20);
var transformData = __webpack_require__(51);
var isCancel = __webpack_require__(31);
var defaults = __webpack_require__(32);

/**
 * Throws a `Cancel` if cancellation has been requested.
 */
function throwIfCancellationRequested(config) {
  if (config.cancelToken) {
    config.cancelToken.throwIfRequested();
  }
}

/**
 * Dispatch a request to the server using the configured adapter.
 *
 * @param {object} config The config that is to be used for the request
 * @returns {Promise} The Promise to be fulfilled
 */
module.exports = function dispatchRequest(config) {
  throwIfCancellationRequested(config);

  // Ensure headers exist
  config.headers = config.headers || {};

  // Transform request data
  config.data = transformData(
    config.data,
    config.headers,
    config.transformRequest
  );

  // Flatten headers
  config.headers = utils.merge(
    config.headers.common || {},
    config.headers[config.method] || {},
    config.headers
  );

  utils.forEach(
    ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
    function cleanHeaderConfig(method) {
      delete config.headers[method];
    }
  );

  var adapter = config.adapter || defaults.adapter;

  return adapter(config).then(function onAdapterResolution(response) {
    throwIfCancellationRequested(config);

    // Transform response data
    response.data = transformData(
      response.data,
      response.headers,
      config.transformResponse
    );

    return response;
  }, function onAdapterRejection(reason) {
    if (!isCancel(reason)) {
      throwIfCancellationRequested(config);

      // Transform response data
      if (reason && reason.response) {
        reason.response.data = transformData(
          reason.response.data,
          reason.response.headers,
          config.transformResponse
        );
      }
    }

    return Promise.reject(reason);
  });
};


/***/ }),
/* 51 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(20);

/**
 * Transform the data for a request or a response
 *
 * @param {Object|String} data The data to be transformed
 * @param {Array} headers The headers for the request or response
 * @param {Array|Function} fns A single function or Array of functions
 * @returns {*} The resulting transformed data
 */
module.exports = function transformData(data, headers, fns) {
  /*eslint no-param-reassign:0*/
  utils.forEach(fns, function transform(fn) {
    data = fn(data, headers);
  });

  return data;
};


/***/ }),
/* 52 */
/***/ (function(module, exports) {

// shim for using process in browser
var process = module.exports = {};

// cached from whatever global is present so that test runners that stub it
// don't break things.  But we need to wrap it in a try catch in case it is
// wrapped in strict mode code which doesn't define any globals.  It's inside a
// function because try/catches deoptimize in certain engines.

var cachedSetTimeout;
var cachedClearTimeout;

function defaultSetTimout() {
    throw new Error('setTimeout has not been defined');
}
function defaultClearTimeout () {
    throw new Error('clearTimeout has not been defined');
}
(function () {
    try {
        if (typeof setTimeout === 'function') {
            cachedSetTimeout = setTimeout;
        } else {
            cachedSetTimeout = defaultSetTimout;
        }
    } catch (e) {
        cachedSetTimeout = defaultSetTimout;
    }
    try {
        if (typeof clearTimeout === 'function') {
            cachedClearTimeout = clearTimeout;
        } else {
            cachedClearTimeout = defaultClearTimeout;
        }
    } catch (e) {
        cachedClearTimeout = defaultClearTimeout;
    }
} ())
function runTimeout(fun) {
    if (cachedSetTimeout === setTimeout) {
        //normal enviroments in sane situations
        return setTimeout(fun, 0);
    }
    // if setTimeout wasn't available but was latter defined
    if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
        cachedSetTimeout = setTimeout;
        return setTimeout(fun, 0);
    }
    try {
        // when when somebody has screwed with setTimeout but no I.E. maddness
        return cachedSetTimeout(fun, 0);
    } catch(e){
        try {
            // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
            return cachedSetTimeout.call(null, fun, 0);
        } catch(e){
            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
            return cachedSetTimeout.call(this, fun, 0);
        }
    }


}
function runClearTimeout(marker) {
    if (cachedClearTimeout === clearTimeout) {
        //normal enviroments in sane situations
        return clearTimeout(marker);
    }
    // if clearTimeout wasn't available but was latter defined
    if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
        cachedClearTimeout = clearTimeout;
        return clearTimeout(marker);
    }
    try {
        // when when somebody has screwed with setTimeout but no I.E. maddness
        return cachedClearTimeout(marker);
    } catch (e){
        try {
            // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally
            return cachedClearTimeout.call(null, marker);
        } catch (e){
            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
            // Some versions of I.E. have different rules for clearTimeout vs setTimeout
            return cachedClearTimeout.call(this, marker);
        }
    }



}
var queue = [];
var draining = false;
var currentQueue;
var queueIndex = -1;

function cleanUpNextTick() {
    if (!draining || !currentQueue) {
        return;
    }
    draining = false;
    if (currentQueue.length) {
        queue = currentQueue.concat(queue);
    } else {
        queueIndex = -1;
    }
    if (queue.length) {
        drainQueue();
    }
}

function drainQueue() {
    if (draining) {
        return;
    }
    var timeout = runTimeout(cleanUpNextTick);
    draining = true;

    var len = queue.length;
    while(len) {
        currentQueue = queue;
        queue = [];
        while (++queueIndex < len) {
            if (currentQueue) {
                currentQueue[queueIndex].run();
            }
        }
        queueIndex = -1;
        len = queue.length;
    }
    currentQueue = null;
    draining = false;
    runClearTimeout(timeout);
}

process.nextTick = function (fun) {
    var args = new Array(arguments.length - 1);
    if (arguments.length > 1) {
        for (var i = 1; i < arguments.length; i++) {
            args[i - 1] = arguments[i];
        }
    }
    queue.push(new Item(fun, args));
    if (queue.length === 1 && !draining) {
        runTimeout(drainQueue);
    }
};

// v8 likes predictible objects
function Item(fun, array) {
    this.fun = fun;
    this.array = array;
}
Item.prototype.run = function () {
    this.fun.apply(null, this.array);
};
process.title = 'browser';
process.browser = true;
process.env = {};
process.argv = [];
process.version = ''; // empty string to avoid regexp issues
process.versions = {};

function noop() {}

process.on = noop;
process.addListener = noop;
process.once = noop;
process.off = noop;
process.removeListener = noop;
process.removeAllListeners = noop;
process.emit = noop;
process.prependListener = noop;
process.prependOnceListener = noop;

process.listeners = function (name) { return [] }

process.binding = function (name) {
    throw new Error('process.binding is not supported');
};

process.cwd = function () { return '/' };
process.chdir = function (dir) {
    throw new Error('process.chdir is not supported');
};
process.umask = function() { return 0; };


/***/ }),
/* 53 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(20);

module.exports = function normalizeHeaderName(headers, normalizedName) {
  utils.forEach(headers, function processHeader(value, name) {
    if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
      headers[normalizedName] = value;
      delete headers[name];
    }
  });
};


/***/ }),
/* 54 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var createError = __webpack_require__(34);

/**
 * Resolve or reject a Promise based on response status.
 *
 * @param {Function} resolve A function that resolves the promise.
 * @param {Function} reject A function that rejects the promise.
 * @param {object} response The response.
 */
module.exports = function settle(resolve, reject, response) {
  var validateStatus = response.config.validateStatus;
  if (!response.status || !validateStatus || validateStatus(response.status)) {
    resolve(response);
  } else {
    reject(createError(
      'Request failed with status code ' + response.status,
      response.config,
      null,
      response.request,
      response
    ));
  }
};


/***/ }),
/* 55 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


/**
 * Update an Error with the specified config, error code, and response.
 *
 * @param {Error} error The error to update.
 * @param {Object} config The config.
 * @param {string} [code] The error code (for example, 'ECONNABORTED').
 * @param {Object} [request] The request.
 * @param {Object} [response] The response.
 * @returns {Error} The error.
 */
module.exports = function enhanceError(error, config, code, request, response) {
  error.config = config;
  if (code) {
    error.code = code;
  }

  error.request = request;
  error.response = response;
  error.isAxiosError = true;

  error.toJSON = function toJSON() {
    return {
      // Standard
      message: this.message,
      name: this.name,
      // Microsoft
      description: this.description,
      number: this.number,
      // Mozilla
      fileName: this.fileName,
      lineNumber: this.lineNumber,
      columnNumber: this.columnNumber,
      stack: this.stack,
      // Axios
      config: this.config,
      code: this.code
    };
  };
  return error;
};


/***/ }),
/* 56 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(20);

module.exports = (
  utils.isStandardBrowserEnv() ?

  // Standard browser envs support document.cookie
    (function standardBrowserEnv() {
      return {
        write: function write(name, value, expires, path, domain, secure) {
          var cookie = [];
          cookie.push(name + '=' + encodeURIComponent(value));

          if (utils.isNumber(expires)) {
            cookie.push('expires=' + new Date(expires).toGMTString());
          }

          if (utils.isString(path)) {
            cookie.push('path=' + path);
          }

          if (utils.isString(domain)) {
            cookie.push('domain=' + domain);
          }

          if (secure === true) {
            cookie.push('secure');
          }

          document.cookie = cookie.join('; ');
        },

        read: function read(name) {
          var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
          return (match ? decodeURIComponent(match[3]) : null);
        },

        remove: function remove(name) {
          this.write(name, '', Date.now() - 86400000);
        }
      };
    })() :

  // Non standard browser env (web workers, react-native) lack needed support.
    (function nonStandardBrowserEnv() {
      return {
        write: function write() {},
        read: function read() { return null; },
        remove: function remove() {}
      };
    })()
);


/***/ }),
/* 57 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var isAbsoluteURL = __webpack_require__(58);
var combineURLs = __webpack_require__(59);

/**
 * Creates a new URL by combining the baseURL with the requestedURL,
 * only when the requestedURL is not already an absolute URL.
 * If the requestURL is absolute, this function returns the requestedURL untouched.
 *
 * @param {string} baseURL The base URL
 * @param {string} requestedURL Absolute or relative URL to combine
 * @returns {string} The combined full path
 */
module.exports = function buildFullPath(baseURL, requestedURL) {
  if (baseURL && !isAbsoluteURL(requestedURL)) {
    return combineURLs(baseURL, requestedURL);
  }
  return requestedURL;
};


/***/ }),
/* 58 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


/**
 * Determines whether the specified URL is absolute
 *
 * @param {string} url The URL to test
 * @returns {boolean} True if the specified URL is absolute, otherwise false
 */
module.exports = function isAbsoluteURL(url) {
  // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
  // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
  // by any combination of letters, digits, plus, period, or hyphen.
  return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
};


/***/ }),
/* 59 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


/**
 * Creates a new URL by combining the specified URLs
 *
 * @param {string} baseURL The base URL
 * @param {string} relativeURL The relative URL
 * @returns {string} The combined URL
 */
module.exports = function combineURLs(baseURL, relativeURL) {
  return relativeURL
    ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
    : baseURL;
};


/***/ }),
/* 60 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(20);

// Headers whose duplicates are ignored by node
// c.f. https://nodejs.org/api/http.html#http_message_headers
var ignoreDuplicateOf = [
  'age', 'authorization', 'content-length', 'content-type', 'etag',
  'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
  'last-modified', 'location', 'max-forwards', 'proxy-authorization',
  'referer', 'retry-after', 'user-agent'
];

/**
 * Parse headers into an object
 *
 * ```
 * Date: Wed, 27 Aug 2014 08:58:49 GMT
 * Content-Type: application/json
 * Connection: keep-alive
 * Transfer-Encoding: chunked
 * ```
 *
 * @param {String} headers Headers needing to be parsed
 * @returns {Object} Headers parsed into an object
 */
module.exports = function parseHeaders(headers) {
  var parsed = {};
  var key;
  var val;
  var i;

  if (!headers) { return parsed; }

  utils.forEach(headers.split('\n'), function parser(line) {
    i = line.indexOf(':');
    key = utils.trim(line.substr(0, i)).toLowerCase();
    val = utils.trim(line.substr(i + 1));

    if (key) {
      if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
        return;
      }
      if (key === 'set-cookie') {
        parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
      } else {
        parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
      }
    }
  });

  return parsed;
};


/***/ }),
/* 61 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(20);

module.exports = (
  utils.isStandardBrowserEnv() ?

  // Standard browser envs have full support of the APIs needed to test
  // whether the request URL is of the same origin as current location.
    (function standardBrowserEnv() {
      var msie = /(msie|trident)/i.test(navigator.userAgent);
      var urlParsingNode = document.createElement('a');
      var originURL;

      /**
    * Parse a URL to discover it's components
    *
    * @param {String} url The URL to be parsed
    * @returns {Object}
    */
      function resolveURL(url) {
        var href = url;

        if (msie) {
        // IE needs attribute set twice to normalize properties
          urlParsingNode.setAttribute('href', href);
          href = urlParsingNode.href;
        }

        urlParsingNode.setAttribute('href', href);

        // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
        return {
          href: urlParsingNode.href,
          protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
          host: urlParsingNode.host,
          search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
          hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
          hostname: urlParsingNode.hostname,
          port: urlParsingNode.port,
          pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
            urlParsingNode.pathname :
            '/' + urlParsingNode.pathname
        };
      }

      originURL = resolveURL(window.location.href);

      /**
    * Determine if a URL shares the same origin as the current location
    *
    * @param {String} requestURL The URL to test
    * @returns {boolean} True if URL shares the same origin, otherwise false
    */
      return function isURLSameOrigin(requestURL) {
        var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
        return (parsed.protocol === originURL.protocol &&
            parsed.host === originURL.host);
      };
    })() :

  // Non standard browser envs (web workers, react-native) lack needed support.
    (function nonStandardBrowserEnv() {
      return function isURLSameOrigin() {
        return true;
      };
    })()
);


/***/ }),
/* 62 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var Cancel = __webpack_require__(36);

/**
 * A `CancelToken` is an object that can be used to request cancellation of an operation.
 *
 * @class
 * @param {Function} executor The executor function.
 */
function CancelToken(executor) {
  if (typeof executor !== 'function') {
    throw new TypeError('executor must be a function.');
  }

  var resolvePromise;
  this.promise = new Promise(function promiseExecutor(resolve) {
    resolvePromise = resolve;
  });

  var token = this;
  executor(function cancel(message) {
    if (token.reason) {
      // Cancellation has already been requested
      return;
    }

    token.reason = new Cancel(message);
    resolvePromise(token.reason);
  });
}

/**
 * Throws a `Cancel` if cancellation has been requested.
 */
CancelToken.prototype.throwIfRequested = function throwIfRequested() {
  if (this.reason) {
    throw this.reason;
  }
};

/**
 * Returns an object that contains a new `CancelToken` and a function that, when called,
 * cancels the `CancelToken`.
 */
CancelToken.source = function source() {
  var cancel;
  var token = new CancelToken(function executor(c) {
    cancel = c;
  });
  return {
    token: token,
    cancel: cancel
  };
};

module.exports = CancelToken;


/***/ }),
/* 63 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


/**
 * Syntactic sugar for invoking a function and expanding an array for arguments.
 *
 * Common use case would be to use `Function.prototype.apply`.
 *
 *  ```js
 *  function f(x, y, z) {}
 *  var args = [1, 2, 3];
 *  f.apply(null, args);
 *  ```
 *
 * With `spread` this example can be re-written.
 *
 *  ```js
 *  spread(function(x, y, z) {})([1, 2, 3]);
 *  ```
 *
 * @param {Function} callback
 * @returns {Function}
 */
module.exports = function spread(callback) {
  return function wrap(arr) {
    return callback.apply(null, arr);
  };
};


/***/ }),
/* 64 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


/**
 * Determines whether the payload is an error thrown by Axios
 *
 * @param {*} payload The value to test
 * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
 */
module.exports = function isAxiosError(payload) {
  return (typeof payload === 'object') && (payload.isAxiosError === true);
};


/***/ }),
/* 65 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = isRequiredForA11y;
function isRequiredForA11y(validator) {
  return function validate(props, propName, componentName, location, propFullName) {
    var componentNameSafe = componentName || '<<anonymous>>';
    var propFullNameSafe = propFullName || propName;

    if (props[propName] == null) {
      return new Error('The ' + location + ' `' + propFullNameSafe + '` is required to make ' + ('`' + componentNameSafe + '` accessible for users of assistive ') + 'technologies such as screen readers.');
    }

    for (var _len = arguments.length, args = Array(_len > 5 ? _len - 5 : 0), _key = 5; _key < _len; _key++) {
      args[_key - 5] = arguments[_key];
    }

    return validator.apply(undefined, [props, propName, componentName, location, propFullName].concat(args));
  };
}
module.exports = exports['default'];

/***/ }),
/* 66 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports


// module
exports.push([module.i, ".sprite,.validation-icon{background-image:url(" + escape(__webpack_require__(67)) + ");background-repeat:no-repeat}.validation-icon.fa{background-image:none !important}.sprite{display:inline-block}.sprite-alert-red{width:22px;height:20px;background-position:-5px -5px}.sprite-bolt-green{width:20px;height:20px;background-position:-37px -5px}.sprite-calendar-icon{width:17px;height:18px;background-position:-67px -5px}.sprite-check-lg{width:23px;height:18px;background-position:-94px -5px}.sprite-checkbox-checked{width:20px;height:20px;background-position:-127px -5px}.sprite-checkbox-checked-EZ{width:20px;height:20px;background-position:-155px -5px}.sprite-chevron-left{width:22px;height:41px;background-position:-183px -5px}.sprite-chevron-left-black{width:16px;height:28px;background-position:-215px -5px}.sprite-chevron-right{width:22px;height:41px;background-position:-241px -5px}.sprite-chevron-right-black{width:16px;height:28px;background-position:-273px -5px}.sprite-circle-check{width:30px;height:30px;background-position:-299px -5px}.sprite-circle-check-big{width:50px;height:50px;background-position:-339px -5px}.sprite-circle-check-blue{width:30px;height:30px;background-position:-5px -65px}.sprite-circle-check-small{width:20px;height:20px;background-position:-45px -65px}.sprite-exclusief-actie-icon{width:97px;height:15px;background-position:-75px -65px}.sprite-five-person{width:85px;height:40px;background-position:-182px -65px}.sprite-five-person-hover{width:85px;height:40px;background-position:-277px -65px}.sprite-four-person{width:73px;height:40px;background-position:-5px -115px}.sprite-four-person-hover{width:73px;height:40px;background-position:-88px -115px}.sprite-gray-cheveron-down{width:15px;height:10px;background-position:-372px -65px}.sprite-green-caret-right{width:6px;height:10px;background-position:-372px -85px}.sprite-green-right-arrow{width:6px;height:10px;background-position:-388px -85px}.sprite-laagste-prijs-garantie-label{width:90px;height:90px;background-position:-208px -115px}.sprite-laagste-prijs-garantie-label-big{width:120px;height:120px;background-position:-5px -215px}.sprite-one-person{width:23px;height:40px;background-position:-404px -85px}.sprite-one-person-hover{width:23px;height:40px;background-position:-437px -85px}.sprite-optie-1-icon{width:75px;height:60px;background-position:-396px -135px}.sprite-optie-2-icon{width:114px;height:60px;background-position:-5px -349px}.sprite-optie-2-small-gray-icon{width:57px;height:30px;background-position:-399px -205px}.sprite-optie-3-icon{width:59px;height:60px;background-position:-399px -245px}.sprite-optie-3-small-gray-icon{width:36px;height:36px;background-position:-399px -315px}.sprite-phone-icon{width:10px;height:10px;background-position:-445px -315px}.sprite-three-person{width:59px;height:40px;background-position:-129px -361px}.sprite-three-person-hover{width:59px;height:40px;background-position:-198px -361px}.sprite-two-person{width:49px;height:40px;background-position:-267px -361px}.sprite-two-person-hover{width:49px;height:40px;background-position:-326px -361px}.sprite-white-right-arrow{width:6px;height:10px;background-position:-466px -205px}.sprite-yellow-check-icon{width:14px;height:14px;background-position:-445px -335px}*,*::before,*::after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",\"Liberation Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex=\"-1\"]:focus:not(:focus-visible){outline:0 !important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[title],abbr[data-original-title]{text-decoration:underline;text-decoration:underline dotted;cursor:help;border-bottom:0;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([class]){color:inherit;text-decoration:none}a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[role=\"button\"]{cursor:pointer}select{word-wrap:normal}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button:not(:disabled),[type=\"button\"]:not(:disabled),[type=\"reset\"]:not(:disabled),[type=\"submit\"]:not(:disabled){cursor:pointer}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{padding:0;border-style:none}input[type=\"radio\"],input[type=\"checkbox\"]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{outline-offset:-2px;-webkit-appearance:none}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none !important}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}h1,.h1{font-size:2.5rem}h2,.h2{font-size:2rem}h3,.h3{font-size:1.75rem}h4,.h4{font-size:1.5rem}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-height:1.2}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,0.1)}small,.small{font-size:80%;font-weight:400}mark,.mark{padding:.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer::before{content:\"\\2014\\A0\"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#6c757d}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:87.5%;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;font-size:87.5%;color:#212529}pre code{font-size:inherit;color:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-sm,.container-md,.container-lg,.container-xl{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width: 576px){.container,.container-sm{max-width:540px}}@media (min-width: 768px){.container,.container-sm,.container-md{max-width:720px}}@media (min-width: 992px){.container,.container-sm,.container-md,.container-lg{max-width:960px}}@media (min-width: 1200px){.container,.container-sm,.container-md,.container-lg,.container-xl{max-width:1140px}}.row{display:flex;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=\"col-\"]{padding-right:0;padding-left:0}.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col,.col-auto,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm,.col-sm-auto,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-md,.col-md-auto,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg,.col-lg-auto,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-1>*{flex:0 0 100%;max-width:100%}.row-cols-2>*{flex:0 0 50%;max-width:50%}.row-cols-3>*{flex:0 0 33.33333%;max-width:33.33333%}.row-cols-4>*{flex:0 0 25%;max-width:25%}.row-cols-5>*{flex:0 0 20%;max-width:20%}.row-cols-6>*{flex:0 0 16.66667%;max-width:16.66667%}.col-auto{flex:0 0 auto;width:auto;max-width:100%}.col-1{flex:0 0 8.33333%;max-width:8.33333%}.col-2{flex:0 0 16.66667%;max-width:16.66667%}.col-3{flex:0 0 25%;max-width:25%}.col-4{flex:0 0 33.33333%;max-width:33.33333%}.col-5{flex:0 0 41.66667%;max-width:41.66667%}.col-6{flex:0 0 50%;max-width:50%}.col-7{flex:0 0 58.33333%;max-width:58.33333%}.col-8{flex:0 0 66.66667%;max-width:66.66667%}.col-9{flex:0 0 75%;max-width:75%}.col-10{flex:0 0 83.33333%;max-width:83.33333%}.col-11{flex:0 0 91.66667%;max-width:91.66667%}.col-12{flex:0 0 100%;max-width:100%}.order-first{order:-1}.order-last{order:13}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}.offset-1{margin-left:8.33333%}.offset-2{margin-left:16.66667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333%}.offset-5{margin-left:41.66667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333%}.offset-8{margin-left:66.66667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333%}.offset-11{margin-left:91.66667%}@media (min-width: 576px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-sm-1>*{flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{flex:0 0 33.33333%;max-width:33.33333%}.row-cols-sm-4>*{flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{flex:0 0 16.66667%;max-width:16.66667%}.col-sm-auto{flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{flex:0 0 8.33333%;max-width:8.33333%}.col-sm-2{flex:0 0 16.66667%;max-width:16.66667%}.col-sm-3{flex:0 0 25%;max-width:25%}.col-sm-4{flex:0 0 33.33333%;max-width:33.33333%}.col-sm-5{flex:0 0 41.66667%;max-width:41.66667%}.col-sm-6{flex:0 0 50%;max-width:50%}.col-sm-7{flex:0 0 58.33333%;max-width:58.33333%}.col-sm-8{flex:0 0 66.66667%;max-width:66.66667%}.col-sm-9{flex:0 0 75%;max-width:75%}.col-sm-10{flex:0 0 83.33333%;max-width:83.33333%}.col-sm-11{flex:0 0 91.66667%;max-width:91.66667%}.col-sm-12{flex:0 0 100%;max-width:100%}.order-sm-first{order:-1}.order-sm-last{order:13}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333%}.offset-sm-2{margin-left:16.66667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333%}.offset-sm-5{margin-left:41.66667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333%}.offset-sm-8{margin-left:66.66667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333%}.offset-sm-11{margin-left:91.66667%}}@media (min-width: 768px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-md-1>*{flex:0 0 100%;max-width:100%}.row-cols-md-2>*{flex:0 0 50%;max-width:50%}.row-cols-md-3>*{flex:0 0 33.33333%;max-width:33.33333%}.row-cols-md-4>*{flex:0 0 25%;max-width:25%}.row-cols-md-5>*{flex:0 0 20%;max-width:20%}.row-cols-md-6>*{flex:0 0 16.66667%;max-width:16.66667%}.col-md-auto{flex:0 0 auto;width:auto;max-width:100%}.col-md-1{flex:0 0 8.33333%;max-width:8.33333%}.col-md-2{flex:0 0 16.66667%;max-width:16.66667%}.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.33333%;max-width:33.33333%}.col-md-5{flex:0 0 41.66667%;max-width:41.66667%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-7{flex:0 0 58.33333%;max-width:58.33333%}.col-md-8{flex:0 0 66.66667%;max-width:66.66667%}.col-md-9{flex:0 0 75%;max-width:75%}.col-md-10{flex:0 0 83.33333%;max-width:83.33333%}.col-md-11{flex:0 0 91.66667%;max-width:91.66667%}.col-md-12{flex:0 0 100%;max-width:100%}.order-md-first{order:-1}.order-md-last{order:13}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333%}.offset-md-2{margin-left:16.66667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333%}.offset-md-5{margin-left:41.66667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333%}.offset-md-8{margin-left:66.66667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333%}.offset-md-11{margin-left:91.66667%}}@media (min-width: 992px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-lg-1>*{flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{flex:0 0 33.33333%;max-width:33.33333%}.row-cols-lg-4>*{flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{flex:0 0 16.66667%;max-width:16.66667%}.col-lg-auto{flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{flex:0 0 8.33333%;max-width:8.33333%}.col-lg-2{flex:0 0 16.66667%;max-width:16.66667%}.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-4{flex:0 0 33.33333%;max-width:33.33333%}.col-lg-5{flex:0 0 41.66667%;max-width:41.66667%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-7{flex:0 0 58.33333%;max-width:58.33333%}.col-lg-8{flex:0 0 66.66667%;max-width:66.66667%}.col-lg-9{flex:0 0 75%;max-width:75%}.col-lg-10{flex:0 0 83.33333%;max-width:83.33333%}.col-lg-11{flex:0 0 91.66667%;max-width:91.66667%}.col-lg-12{flex:0 0 100%;max-width:100%}.order-lg-first{order:-1}.order-lg-last{order:13}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333%}.offset-lg-2{margin-left:16.66667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333%}.offset-lg-5{margin-left:41.66667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333%}.offset-lg-8{margin-left:66.66667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333%}.offset-lg-11{margin-left:91.66667%}}@media (min-width: 1200px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-xl-1>*{flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{flex:0 0 33.33333%;max-width:33.33333%}.row-cols-xl-4>*{flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{flex:0 0 16.66667%;max-width:16.66667%}.col-xl-auto{flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{flex:0 0 8.33333%;max-width:8.33333%}.col-xl-2{flex:0 0 16.66667%;max-width:16.66667%}.col-xl-3{flex:0 0 25%;max-width:25%}.col-xl-4{flex:0 0 33.33333%;max-width:33.33333%}.col-xl-5{flex:0 0 41.66667%;max-width:41.66667%}.col-xl-6{flex:0 0 50%;max-width:50%}.col-xl-7{flex:0 0 58.33333%;max-width:58.33333%}.col-xl-8{flex:0 0 66.66667%;max-width:66.66667%}.col-xl-9{flex:0 0 75%;max-width:75%}.col-xl-10{flex:0 0 83.33333%;max-width:83.33333%}.col-xl-11{flex:0 0 91.66667%;max-width:91.66667%}.col-xl-12{flex:0 0 100%;max-width:100%}.order-xl-first{order:-1}.order-xl-last{order:13}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333%}.offset-xl-2{margin-left:16.66667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333%}.offset-xl-5{margin-left:41.66667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333%}.offset-xl-8{margin-left:66.66667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333%}.offset-xl-11{margin-left:91.66667%}}.table{width:100%;margin-bottom:1rem;color:#212529}.table th,.table td{padding:.75rem;vertical-align:top;border-top:1px solid #dee2e6}.table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm th,.table-sm td{padding:.3rem}.table-bordered{border:1px solid #dee2e6}.table-bordered th,.table-bordered td{border:1px solid #dee2e6}.table-bordered thead th,.table-bordered thead td{border-bottom-width:2px}.table-borderless th,.table-borderless td,.table-borderless thead th,.table-borderless tbody+tbody{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,0.05)}.table-hover tbody tr:hover{color:#212529;background-color:rgba(0,0,0,0.075)}.table-primary,.table-primary>th,.table-primary>td{background-color:#b8daff}.table-primary th,.table-primary td,.table-primary thead th,.table-primary tbody+tbody{border-color:#7abaff}.table-hover .table-primary:hover{background-color:#9fcdff}.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#9fcdff}.table-secondary,.table-secondary>th,.table-secondary>td{background-color:#d6d8db}.table-secondary th,.table-secondary td,.table-secondary thead th,.table-secondary tbody+tbody{border-color:#b3b7bb}.table-hover .table-secondary:hover{background-color:#c8cbcf}.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>th,.table-success>td{background-color:#c3e6cb}.table-success th,.table-success td,.table-success thead th,.table-success tbody+tbody{border-color:#8fd19e}.table-hover .table-success:hover{background-color:#b1dfbb}.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>th,.table-info>td{background-color:#bee5eb}.table-info th,.table-info td,.table-info thead th,.table-info tbody+tbody{border-color:#86cfda}.table-hover .table-info:hover{background-color:#abdde5}.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>th,.table-warning>td{background-color:#ffeeba}.table-warning th,.table-warning td,.table-warning thead th,.table-warning tbody+tbody{border-color:#ffdf7e}.table-hover .table-warning:hover{background-color:#ffe8a1}.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>th,.table-danger>td{background-color:#f5c6cb}.table-danger th,.table-danger td,.table-danger thead th,.table-danger tbody+tbody{border-color:#ed969e}.table-hover .table-danger:hover{background-color:#f1b0b7}.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>th,.table-light>td{background-color:#fdfdfe}.table-light th,.table-light td,.table-light thead th,.table-light tbody+tbody{border-color:#fbfcfc}.table-hover .table-light:hover{background-color:#ececf6}.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>th,.table-dark>td{background-color:#c6c8ca}.table-dark th,.table-dark td,.table-dark thead th,.table-dark tbody+tbody{border-color:#95999c}.table-hover .table-dark:hover{background-color:#b9bbbe}.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b9bbbe}.table-active,.table-active>th,.table-active>td{background-color:rgba(0,0,0,0.075)}.table-hover .table-active:hover{background-color:rgba(0,0,0,0.075)}.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,0.075)}.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}.table-dark{color:#fff;background-color:#343a40}.table-dark th,.table-dark td,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,0.05)}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,0.075)}@media (max-width: 575.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width: 767.98px){.table-responsive-md{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width: 991.98px){.table-responsive-lg{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width: 1199.98px){.table-responsive-xl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,0.25)}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}input[type=\"date\"].form-control,input[type=\"time\"].form-control,input[type=\"datetime-local\"].form-control,input[type=\"month\"].form-control{appearance:none}select.form-control:focus::-ms-value{color:#495057;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem;line-height:1.5}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;font-size:1rem;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}select.form-control[size],select.form-control[multiple]{height:auto}textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:flex;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.form-row>.col,.form-row>[class*=\"col-\"]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:.3rem;margin-left:-1.25rem}.form-check-input[disabled] ~ .form-check-label,.form-check-input:disabled ~ .form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{display:inline-flex;align-items:center;padding-left:0;margin-right:.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#28a745}.valid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(40,167,69,0.9);border-radius:.25rem}.form-row>.col>.valid-tooltip,.form-row>[class*=\"col-\"]>.valid-tooltip{left:5px}.was-validated :valid ~ .valid-feedback,.was-validated :valid ~ .valid-tooltip,.is-valid ~ .valid-feedback,.is-valid ~ .valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:#28a745;padding-right:calc(1.5em + .75rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,0.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .custom-select:valid,.custom-select.is-valid{border-color:#28a745;padding-right:calc(.75em + 2.3125rem);background:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e\") right .75rem center/8px 10px no-repeat,#fff url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\") center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem) no-repeat}.was-validated .custom-select:valid:focus,.custom-select.is-valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,0.25)}.was-validated .form-check-input:valid ~ .form-check-label,.form-check-input.is-valid ~ .form-check-label{color:#28a745}.was-validated .form-check-input:valid ~ .valid-feedback,.was-validated .form-check-input:valid ~ .valid-tooltip,.form-check-input.is-valid ~ .valid-feedback,.form-check-input.is-valid ~ .valid-tooltip{display:block}.was-validated .custom-control-input:valid ~ .custom-control-label,.custom-control-input.is-valid ~ .custom-control-label{color:#28a745}.was-validated .custom-control-input:valid ~ .custom-control-label::before,.custom-control-input.is-valid ~ .custom-control-label::before{border-color:#28a745}.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before,.custom-control-input.is-valid:checked ~ .custom-control-label::before{border-color:#34ce57;background-color:#34ce57}.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before,.custom-control-input.is-valid:focus ~ .custom-control-label::before{box-shadow:0 0 0 .2rem rgba(40,167,69,0.25)}.was-validated .custom-control-input:valid:focus:not(:checked) ~ .custom-control-label::before,.custom-control-input.is-valid:focus:not(:checked) ~ .custom-control-label::before{border-color:#28a745}.was-validated .custom-file-input:valid ~ .custom-file-label,.custom-file-input.is-valid ~ .custom-file-label{border-color:#28a745}.was-validated .custom-file-input:valid:focus ~ .custom-file-label,.custom-file-input.is-valid:focus ~ .custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,0.25)}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(220,53,69,0.9);border-radius:.25rem}.form-row>.col>.invalid-tooltip,.form-row>[class*=\"col-\"]>.invalid-tooltip{left:5px}.was-validated :invalid ~ .invalid-feedback,.was-validated :invalid ~ .invalid-tooltip,.is-invalid ~ .invalid-feedback,.is-invalid ~ .invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,0.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .custom-select:invalid,.custom-select.is-invalid{border-color:#dc3545;padding-right:calc(.75em + 2.3125rem);background:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e\") right .75rem center/8px 10px no-repeat,#fff url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e\") center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem) no-repeat}.was-validated .custom-select:invalid:focus,.custom-select.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,0.25)}.was-validated .form-check-input:invalid ~ .form-check-label,.form-check-input.is-invalid ~ .form-check-label{color:#dc3545}.was-validated .form-check-input:invalid ~ .invalid-feedback,.was-validated .form-check-input:invalid ~ .invalid-tooltip,.form-check-input.is-invalid ~ .invalid-feedback,.form-check-input.is-invalid ~ .invalid-tooltip{display:block}.was-validated .custom-control-input:invalid ~ .custom-control-label,.custom-control-input.is-invalid ~ .custom-control-label{color:#dc3545}.was-validated .custom-control-input:invalid ~ .custom-control-label::before,.custom-control-input.is-invalid ~ .custom-control-label::before{border-color:#dc3545}.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before,.custom-control-input.is-invalid:checked ~ .custom-control-label::before{border-color:#e4606d;background-color:#e4606d}.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before,.custom-control-input.is-invalid:focus ~ .custom-control-label::before{box-shadow:0 0 0 .2rem rgba(220,53,69,0.25)}.was-validated .custom-control-input:invalid:focus:not(:checked) ~ .custom-control-label::before,.custom-control-input.is-invalid:focus:not(:checked) ~ .custom-control-label::before{border-color:#dc3545}.was-validated .custom-file-input:invalid ~ .custom-file-label,.custom-file-input.is-invalid ~ .custom-file-label{border-color:#dc3545}.was-validated .custom-file-input:invalid:focus ~ .custom-file-label,.custom-file-input.is-invalid:focus ~ .custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,0.25)}.form-inline{display:flex;flex-flow:row wrap;align-items:center}.form-inline .form-check{width:100%}@media (min-width: 576px){.form-inline label{display:flex;align-items:center;justify-content:center;margin-bottom:0}.form-inline .form-group{display:flex;flex:0 0 auto;flex-flow:row wrap;align-items:center;margin-bottom:0}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .input-group,.form-inline .custom-select{width:auto}.form-inline .form-check{display:flex;align-items:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{align-items:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn:focus,.btn.focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,0.25)}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.btn-primary:focus,.btn-primary.focus{color:#fff;background-color:#0069d9;border-color:#0062cc;box-shadow:0 0 0 .2rem rgba(38,143,255,0.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-primary:not(:disabled):not(.disabled):active:focus,.btn-primary:not(:disabled):not(.disabled).active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,0.5)}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5a6268;border-color:#545b62}.btn-secondary:focus,.btn-secondary.focus{color:#fff;background-color:#5a6268;border-color:#545b62;box-shadow:0 0 0 .2rem rgba(130,138,145,0.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:not(:disabled):not(.disabled):active,.btn-secondary:not(:disabled):not(.disabled).active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#545b62;border-color:#4e555b}.btn-secondary:not(:disabled):not(.disabled):active:focus,.btn-secondary:not(:disabled):not(.disabled).active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,0.5)}.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-success:focus,.btn-success.focus{color:#fff;background-color:#218838;border-color:#1e7e34;box-shadow:0 0 0 .2rem rgba(72,180,97,0.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:not(:disabled):not(.disabled):active,.btn-success:not(:disabled):not(.disabled).active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-success:not(:disabled):not(.disabled):active:focus,.btn-success:not(:disabled):not(.disabled).active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,0.5)}.btn-info{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:hover{color:#fff;background-color:#138496;border-color:#117a8b}.btn-info:focus,.btn-info.focus{color:#fff;background-color:#138496;border-color:#117a8b;box-shadow:0 0 0 .2rem rgba(58,176,195,0.5)}.btn-info.disabled,.btn-info:disabled{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:not(:disabled):not(.disabled):active,.btn-info:not(:disabled):not(.disabled).active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#117a8b;border-color:#10707f}.btn-info:not(:disabled):not(.disabled):active:focus,.btn-info:not(:disabled):not(.disabled).active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,0.5)}.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}.btn-warning:focus,.btn-warning.focus{color:#212529;background-color:#e0a800;border-color:#d39e00;box-shadow:0 0 0 .2rem rgba(222,170,12,0.5)}.btn-warning.disabled,.btn-warning:disabled{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:not(:disabled):not(.disabled):active,.btn-warning:not(:disabled):not(.disabled).active,.show>.btn-warning.dropdown-toggle{color:#212529;background-color:#d39e00;border-color:#c69500}.btn-warning:not(:disabled):not(.disabled):active:focus,.btn-warning:not(:disabled):not(.disabled).active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,0.5)}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}.btn-danger:focus,.btn-danger.focus{color:#fff;background-color:#c82333;border-color:#bd2130;box-shadow:0 0 0 .2rem rgba(225,83,97,0.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:not(:disabled):not(.disabled):active,.btn-danger:not(:disabled):not(.disabled).active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#bd2130;border-color:#b21f2d}.btn-danger:not(:disabled):not(.disabled):active:focus,.btn-danger:not(:disabled):not(.disabled).active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,0.5)}.btn-light{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#212529;background-color:#e2e6ea;border-color:#dae0e5}.btn-light:focus,.btn-light.focus{color:#212529;background-color:#e2e6ea;border-color:#dae0e5;box-shadow:0 0 0 .2rem rgba(216,217,219,0.5)}.btn-light.disabled,.btn-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:not(:disabled):not(.disabled):active,.btn-light:not(:disabled):not(.disabled).active,.show>.btn-light.dropdown-toggle{color:#212529;background-color:#dae0e5;border-color:#d3d9df}.btn-light:not(:disabled):not(.disabled):active:focus,.btn-light:not(:disabled):not(.disabled).active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,0.5)}.btn-dark{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:hover{color:#fff;background-color:#23272b;border-color:#1d2124}.btn-dark:focus,.btn-dark.focus{color:#fff;background-color:#23272b;border-color:#1d2124;box-shadow:0 0 0 .2rem rgba(82,88,93,0.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:not(:disabled):not(.disabled):active,.btn-dark:not(:disabled):not(.disabled).active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1d2124;border-color:#171a1d}.btn-dark:not(:disabled):not(.disabled):active:focus,.btn-dark:not(:disabled):not(.disabled).active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,0.5)}.btn-outline-primary{color:#007bff;border-color:#007bff}.btn-outline-primary:hover{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:focus,.btn-outline-primary.focus{box-shadow:0 0 0 .2rem rgba(0,123,255,0.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#007bff;background-color:transparent}.btn-outline-primary:not(:disabled):not(.disabled):active,.btn-outline-primary:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,0.5)}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:focus,.btn-outline-secondary.focus{box-shadow:0 0 0 .2rem rgba(108,117,125,0.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-secondary:not(:disabled):not(.disabled):active,.btn-outline-secondary:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,0.5)}.btn-outline-success{color:#28a745;border-color:#28a745}.btn-outline-success:hover{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:focus,.btn-outline-success.focus{box-shadow:0 0 0 .2rem rgba(40,167,69,0.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#28a745;background-color:transparent}.btn-outline-success:not(:disabled):not(.disabled):active,.btn-outline-success:not(:disabled):not(.disabled).active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:not(:disabled):not(.disabled):active:focus,.btn-outline-success:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,0.5)}.btn-outline-info{color:#17a2b8;border-color:#17a2b8}.btn-outline-info:hover{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:focus,.btn-outline-info.focus{box-shadow:0 0 0 .2rem rgba(23,162,184,0.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#17a2b8;background-color:transparent}.btn-outline-info:not(:disabled):not(.disabled):active,.btn-outline-info:not(:disabled):not(.disabled).active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled):active:focus,.btn-outline-info:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,0.5)}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:focus,.btn-outline-warning.focus{box-shadow:0 0 0 .2rem rgba(255,193,7,0.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-warning:not(:disabled):not(.disabled):active,.btn-outline-warning:not(:disabled):not(.disabled).active,.show>.btn-outline-warning.dropdown-toggle{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,0.5)}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:focus,.btn-outline-danger.focus{box-shadow:0 0 0 .2rem rgba(220,53,69,0.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-danger:not(:disabled):not(.disabled):active,.btn-outline-danger:not(:disabled):not(.disabled).active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,0.5)}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:focus,.btn-outline-light.focus{box-shadow:0 0 0 .2rem rgba(248,249,250,0.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-light:not(:disabled):not(.disabled):active,.btn-outline-light:not(:disabled):not(.disabled).active,.show>.btn-outline-light.dropdown-toggle{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled):active:focus,.btn-outline-light:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,0.5)}.btn-outline-dark{color:#343a40;border-color:#343a40}.btn-outline-dark:hover{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:focus,.btn-outline-dark.focus{box-shadow:0 0 0 .2rem rgba(52,58,64,0.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#343a40;background-color:transparent}.btn-outline-dark:not(:disabled):not(.disabled):active,.btn-outline-dark:not(:disabled):not(.disabled).active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,0.5)}.btn-link{font-weight:400;color:#007bff;text-decoration:none}.btn-link:hover{color:#0056b3;text-decoration:underline}.btn-link:focus,.btn-link.focus{text-decoration:underline}.btn-link:disabled,.btn-link.disabled{color:#6c757d;pointer-events:none}.btn-lg{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.btn-sm{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=\"submit\"].btn-block,input[type=\"reset\"].btn-block,input[type=\"button\"].btn-block{width:100%}.dropup,.dropright,.dropdown,.dropleft{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,0.15);border-radius:.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropright .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-toggle::after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:\"\"}.dropleft .dropdown-toggle::after{display:none}.dropleft .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:\"\";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropleft .dropdown-toggle:empty::after{margin-left:0}.dropleft .dropdown-toggle::before{vertical-align:0}.dropdown-menu[x-placement^=\"top\"],.dropdown-menu[x-placement^=\"right\"],.dropdown-menu[x-placement^=\"bottom\"],.dropdown-menu[x-placement^=\"left\"]{right:auto;bottom:auto}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:hover,.dropdown-item:focus{color:#16181b;text-decoration:none;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#007bff}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1.5rem;color:#212529}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-control-plaintext,.input-group>.custom-select,.input-group>.custom-file{position:relative;flex:1 1 auto;width:1%;min-width:0;margin-bottom:0}.input-group>.form-control+.form-control,.input-group>.form-control+.custom-select,.input-group>.form-control+.custom-file,.input-group>.form-control-plaintext+.form-control,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.custom-file,.input-group>.custom-select+.form-control,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.custom-file,.input-group>.custom-file+.form-control,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.custom-file{margin-left:-1px}.input-group>.form-control:focus,.input-group>.custom-select:focus,.input-group>.custom-file .custom-file-input:focus ~ .custom-file-label{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.form-control:not(:first-child),.input-group>.custom-select:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:flex;align-items:center}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:first-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group:not(.has-validation)>.form-control:not(:last-child),.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label::after{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.form-control:nth-last-child(n+3),.input-group.has-validation>.custom-select:nth-last-child(n+3),.input-group.has-validation>.custom-file:nth-last-child(n+3) .custom-file-label::after{border-top-right-radius:0;border-bottom-right-radius:0}.input-group-prepend,.input-group-append{display:flex}.input-group-prepend .btn,.input-group-append .btn{position:relative;z-index:2}.input-group-prepend .btn:focus,.input-group-append .btn:focus{z-index:3}.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.input-group-text,.input-group-append .input-group-text+.btn{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-text input[type=\"radio\"],.input-group-text input[type=\"checkbox\"]{margin-top:0}.input-group-lg>.form-control:not(textarea),.input-group-lg>.custom-select{height:calc(1.5em + 1rem + 2px)}.input-group-lg>.form-control,.input-group-lg>.custom-select,.input-group-lg>.input-group-prepend>.input-group-text,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-append>.btn{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.input-group-sm>.form-control:not(textarea),.input-group-sm>.custom-select{height:calc(1.5em + .5rem + 2px)}.input-group-sm>.form-control,.input-group-sm>.custom-select,.input-group-sm>.input-group-prepend>.input-group-text,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-append>.btn{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.btn,.input-group:not(.has-validation)>.input-group-append:not(:last-child)>.input-group-text,.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.btn,.input-group.has-validation>.input-group-append:nth-last-child(n+3)>.input-group-text,.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem}.nav-link:hover,.nav-link:focus{text-decoration:none}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{margin-bottom:-1px;border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:.5rem 1rem}.navbar .container,.navbar .container-fluid,.navbar .container-sm,.navbar .container-md,.navbar .container-lg,.navbar .container-xl{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:hover,.navbar-toggler:focus{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:\"\";background:50% / 100% 100% no-repeat}.navbar-nav-scroll{max-height:75vh;overflow-y:auto}@media (max-width: 575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-xl{padding-right:0;padding-left:0}}@media (min-width: 576px){.navbar-expand-sm{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-xl{flex-wrap:nowrap}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width: 767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-md,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-xl{padding-right:0;padding-left:0}}@media (min-width: 768px){.navbar-expand-md{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-md,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-xl{flex-wrap:nowrap}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width: 991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-xl{padding-right:0;padding-left:0}}@media (min-width: 992px){.navbar-expand-lg{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-xl{flex-wrap:nowrap}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width: 1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-xl{padding-right:0;padding-left:0}}@media (min-width: 1200px){.navbar-expand-xl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-xl{flex-wrap:nowrap}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-sm,.navbar-expand>.container-md,.navbar-expand>.container-lg,.navbar-expand>.container-xl{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-sm,.navbar-expand>.container-md,.navbar-expand>.container-lg,.navbar-expand>.container-xl{flex-wrap:nowrap}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand{color:rgba(0,0,0,0.9)}.navbar-light .navbar-brand:hover,.navbar-light .navbar-brand:focus{color:rgba(0,0,0,0.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,0.5)}.navbar-light .navbar-nav .nav-link:hover,.navbar-light .navbar-nav .nav-link:focus{color:rgba(0,0,0,0.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,0.3)}.navbar-light .navbar-nav .show>.nav-link,.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .nav-link.active{color:rgba(0,0,0,0.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,0.5);border-color:rgba(0,0,0,0.1)}.navbar-light .navbar-toggler-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")}.navbar-light .navbar-text{color:rgba(0,0,0,0.5)}.navbar-light .navbar-text a{color:rgba(0,0,0,0.9)}.navbar-light .navbar-text a:hover,.navbar-light .navbar-text a:focus{color:rgba(0,0,0,0.9)}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:hover,.navbar-dark .navbar-brand:focus{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,0.5)}.navbar-dark .navbar-nav .nav-link:hover,.navbar-dark .navbar-nav .nav-link:focus{color:rgba(255,255,255,0.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,0.25)}.navbar-dark .navbar-nav .show>.nav-link,.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .nav-link.active{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,0.5);border-color:rgba(255,255,255,0.1)}.navbar-dark .navbar-toggler-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")}.navbar-dark .navbar-text{color:rgba(255,255,255,0.5)}.navbar-dark .navbar-text a{color:#fff}.navbar-dark .navbar-text a:hover,.navbar-dark .navbar-text a:focus{color:#fff}.pagination{display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#007bff;background-color:#fff;border:1px solid #dee2e6}.page-link:hover{z-index:2;color:#0056b3;text-decoration:none;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,0.25)}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item.active .page-link{z-index:3;color:#fff;background-color:#007bff;border-color:#007bff}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out}@media (prefers-reduced-motion: reduce){.badge{transition:none}}a.badge:hover,a.badge:focus{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#007bff}a.badge-primary:hover,a.badge-primary:focus{color:#fff;background-color:#0062cc}a.badge-primary:focus,a.badge-primary.focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,0.5)}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:hover,a.badge-secondary:focus{color:#fff;background-color:#545b62}a.badge-secondary:focus,a.badge-secondary.focus{outline:0;box-shadow:0 0 0 .2rem rgba(108,117,125,0.5)}.badge-success{color:#fff;background-color:#28a745}a.badge-success:hover,a.badge-success:focus{color:#fff;background-color:#1e7e34}a.badge-success:focus,a.badge-success.focus{outline:0;box-shadow:0 0 0 .2rem rgba(40,167,69,0.5)}.badge-info{color:#fff;background-color:#17a2b8}a.badge-info:hover,a.badge-info:focus{color:#fff;background-color:#117a8b}a.badge-info:focus,a.badge-info.focus{outline:0;box-shadow:0 0 0 .2rem rgba(23,162,184,0.5)}.badge-warning{color:#212529;background-color:#ffc107}a.badge-warning:hover,a.badge-warning:focus{color:#212529;background-color:#d39e00}a.badge-warning:focus,a.badge-warning.focus{outline:0;box-shadow:0 0 0 .2rem rgba(255,193,7,0.5)}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:hover,a.badge-danger:focus{color:#fff;background-color:#bd2130}a.badge-danger:focus,a.badge-danger.focus{outline:0;box-shadow:0 0 0 .2rem rgba(220,53,69,0.5)}.badge-light{color:#212529;background-color:#f8f9fa}a.badge-light:hover,a.badge-light:focus{color:#212529;background-color:#dae0e5}a.badge-light:focus,a.badge-light.focus{outline:0;box-shadow:0 0 0 .2rem rgba(248,249,250,0.5)}.badge-dark{color:#fff;background-color:#343a40}a.badge-dark:hover,a.badge-dark:focus{color:#fff;background-color:#1d2124}a.badge-dark:focus,a.badge-dark.focus{outline:0;box-shadow:0 0 0 .2rem rgba(52,58,64,0.5)}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:4rem}.alert-dismissible .close{position:absolute;top:0;right:0;z-index:2;padding:.75rem 1.25rem;color:inherit}.alert-primary{color:#004085;background-color:#cce5ff;border-color:#b8daff}.alert-primary hr{border-top-color:#9fcdff}.alert-primary .alert-link{color:#002752}.alert-secondary{color:#383d41;background-color:#e2e3e5;border-color:#d6d8db}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{color:#818182;background-color:#fefefe;border-color:#fdfdfe}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{color:#1b1e21;background-color:#d6d8d9;border-color:#c6c8ca}.alert-dark hr{border-top-color:#b9bbbe}.alert-dark .alert-link{color:#040505}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):hover,.close:not(:disabled):not(.disabled):focus{opacity:.75}button.close{padding:0;background-color:transparent;border:0}a.close.disabled{pointer-events:none}\n", ""]);

// exports


/***/ }),
/* 67 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__.p + "464bdbe3c83c94fc38a5009ab68241bb.png";

/***/ }),
/* 68 */
/***/ (function(module, exports) {


/**
 * When source maps are enabled, `style-loader` uses a link element with a data-uri to
 * embed the css on the page. This breaks all relative urls because now they are relative to a
 * bundle instead of the current page.
 *
 * One solution is to only use full urls, but that may be impossible.
 *
 * Instead, this function "fixes" the relative urls to be absolute according to the current page location.
 *
 * A rudimentary test suite is located at `test/fixUrls.js` and can be run via the `npm test` command.
 *
 */

module.exports = function (css) {
  // get current location
  var location = typeof window !== "undefined" && window.location;

  if (!location) {
    throw new Error("fixUrls requires window.location");
  }

	// blank or null?
	if (!css || typeof css !== "string") {
	  return css;
  }

  var baseUrl = location.protocol + "//" + location.host;
  var currentDir = baseUrl + location.pathname.replace(/\/[^\/]*$/, "/");

	// convert each url(...)
	/*
	This regular expression is just a way to recursively match brackets within
	a string.

	 /url\s*\(  = Match on the word "url" with any whitespace after it and then a parens
	   (  = Start a capturing group
	     (?:  = Start a non-capturing group
	         [^)(]  = Match anything that isn't a parentheses
	         |  = OR
	         \(  = Match a start parentheses
	             (?:  = Start another non-capturing groups
	                 [^)(]+  = Match anything that isn't a parentheses
	                 |  = OR
	                 \(  = Match a start parentheses
	                     [^)(]*  = Match anything that isn't a parentheses
	                 \)  = Match a end parentheses
	             )  = End Group
              *\) = Match anything and then a close parens
          )  = Close non-capturing group
          *  = Match anything
       )  = Close capturing group
	 \)  = Match a close parens

	 /gi  = Get all matches, not the first.  Be case insensitive.
	 */
	var fixedCss = css.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi, function(fullMatch, origUrl) {
		// strip quotes (if they exist)
		var unquotedOrigUrl = origUrl
			.trim()
			.replace(/^"(.*)"$/, function(o, $1){ return $1; })
			.replace(/^'(.*)'$/, function(o, $1){ return $1; });

		// already a full url? no change
		if (/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(unquotedOrigUrl)) {
		  return fullMatch;
		}

		// convert the url to a full url
		var newUrl;

		if (unquotedOrigUrl.indexOf("//") === 0) {
		  	//TODO: should we add protocol?
			newUrl = unquotedOrigUrl;
		} else if (unquotedOrigUrl.indexOf("/") === 0) {
			// path should be relative to the base url
			newUrl = baseUrl + unquotedOrigUrl; // already starts with '/'
		} else {
			// path should be relative to current directory
			newUrl = currentDir + unquotedOrigUrl.replace(/^\.\//, ""); // Strip leading './'
		}

		// send back the fixed url(...)
		return "url(" + JSON.stringify(newUrl) + ")";
	});

	// send back the fixed css
	return fixedCss;
};


/***/ }),
/* 69 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports


// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.dropdown{position:relative;height:50px}.dropdown-toggle{white-space:nowrap}button.dropdown-toggle{font-size:15px;height:50px;cursor:pointer;width:100%;background-color:#fff;color:#1f2446;border:1px solid #ccc;border-radius:2px;text-align:left}button.dropdown-toggle.btn.btn-primary{padding-top:0px;padding-bottom:0px}.dropdown-menu.show{display:block;border-radius:unset;height:auto;max-height:400px;overflow-x:hidden;color:#888787;width:100%}.dropdown .dropdown-item{border-left:4px solid transparent;text-decoration:none;color:#1f2446;position:relative;line-height:44px;font-size:15px;padding:.25rem .5rem}button.dropdown-toggle:not(:disabled):not(.disabled):active,button.dropdown-toggle:not(:disabled):not(.disabled).active,.show>button.dropdown-toggle,button.dropdown-toggle:focus,button.dropdown-toggle:active,button.dropdown-toggle:hover{box-shadow:none !important;padding:0 12px}\n", ""]);

// exports


/***/ }),
/* 70 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(71);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 71 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports


// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.input-group{display:grid !important;grid-template-columns:25px 1fr 75px;grid-template-rows:1fr;grid-template-areas:\"input-left-side input-element input-right-side\";background-color:#fff;color:#1f2446;border:1px solid #ccc;border-radius:10px;padding:0 8px 0 8px;width:100%}.input-group input{color:#1f2446;font-weight:bold !important}.input-group .form-group{padding:0;box-shadow:none;border:none;background-color:#fff;padding-left:5px;height:46px;transition:none;margin:0}.input-group .form-group{width:92% !important}.input-group.disable,.input-group.disable .form-control{background-color:#eee;cursor:default}.disabled .input-group,.disabled .input-group .form-group{background-color:#eee !important}.input-group .input-left-side>.checkbox{margin:5px 0 0 0}.input-group .input-left-side>.checkbox label{cursor:pointer;margin:15px 0px}input[type=tel].form-group{margin-bottom:0px;border-radius:0;height:46px;margin:1px 0;padding:0;box-shadow:none;border:none !important;background-color:#fff !important;font-weight:600;font-size:15px}.input-group .form-group{width:92% !important}.input-right-side{font-size:15px;color:#47506B;text-align:right;display:flex;align-items:center;align-content:flex-end;float:right;height:48px}.input-right-side .fa{padding:0 0 0 5px}.input-right-side .fa-fire{margin:0 0 0 -3px}\n", ""]);

// exports


/***/ }),
/* 72 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(73);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 73 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports


// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.tooltip{opacity:1 !important;background-color:#fff !important;color:#000 !important;font-weight:normal;font-size:14px !important}.tooltip ul{list-style-type:disc !important}.validation-tooltip{display:block;z-index:99;font-size:13px;line-height:16px;position:relative;border-radius:2px;color:#fff !important;padding:5px 13px 5px 5px;background-color:#333 !important}.validation-tooltip.hidden{display:none}.validation-tooltip:before{content:\"\";width:0;height:0;left:20px;bottom:100%;position:absolute;margin-left:-8px;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #333}.validation-tooltip>.close{top:0;right:2px;opacity:.5;font-size:13px;position:absolute;color:#fff !important;text-shadow:0 1px 0 #fff;background-color:transparent !important;border:0px !important;font-weight:bold;line-height:1;float:right;cursor:pointer}.close:hover,.close:focus,.close:active{color:#fff !important;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);border:0px !important;box-shadow:none;opacity:.5}.close:not(:disabled):not(.disabled):hover,.close:not(:disabled):not(.disabled):focus{opacity:.75}\n", ""]);

// exports


/***/ }),
/* 74 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(75);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 75 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports


// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.checkbox{position:relative;display:block;margin-top:inherit !important;margin-bottom:0}.checkbox label{font-weight:normal}.checkbox>input[type=checkbox]+label:before{content:\"\";float:left;margin-right:5px;left:0;top:0;width:20px;height:20px;display:block;background-image:none;background-color:#f9fafc !important;border:1px solid #d9dce6 !important;border-radius:6px !important;cursor:pointer}.checkbox>input[type=checkbox]:checked+label:before{background-color:#06a77d !important;border:1px solid #d9dce6 !important;background-image:url(" + escape(__webpack_require__(76)) + ") !important;background-size:75%;background-position:center;background-repeat:no-repeat;border-radius:6px !important}.checkbox>input[type=checkbox]{display:none}.inline-checkbox{flex:100%;display:flex;flex-flow:row wrap;align-content:space-between;margin:30px 0 10px}.inline-checkbox .checkbox:first-child{margin-right:25px}\n", ""]);

// exports


/***/ }),
/* 76 */
/***/ (function(module, exports) {

module.exports = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQogPGc+DQogIDx0aXRsZT5CYWNrZ3JvdW5kPC90aXRsZT4NCiAgPHJlY3QgZmlsbD0ibm9uZSIgaWQ9ImNhbnZhc19iYWNrZ3JvdW5kIiBoZWlnaHQ9IjgwMCIgd2lkdGg9IjgwMCIgeT0iMCIgeD0iMCIvPg0KIDwvZz4NCiA8Zz4NCiAgPHRpdGxlPkNoZWNrbWFyazwvdGl0bGU+DQogIDxwYXRoIGZpbGw9IiNmZmZmZmYiIGlkPSJzdmdfMSIgZD0ibTksMjEuMDM1bC05LC04LjYzOGwyLjc5MSwtMi44N2w2LjE1Niw1Ljg3NGwxMi4yMSwtMTIuNDM2bDIuODQzLDIuODE3bC0xNSwxNS4yNTN6Ii8+DQogPC9nPg0KPC9zdmc+"

/***/ }),
/* 77 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(78);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 78 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports


// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.text-input input{font-weight:600;font-size:15px;height:50px;color:#1f2446;padding:6px 12px !important;border-radius:6px;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s}.text-input input:focus{-webkit-box-shadow:none !important;box-shadow:none !important;border:1px solid #ccc}\n", ""]);

// exports


/***/ }),
/* 79 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e["default"]:e}var React=_interopDefault(__webpack_require__(0)),reactDom=__webpack_require__(19);function _defaults2(e,t){for(var n=Object.getOwnPropertyNames(t),a=0;a<n.length;a++){var i=n[a],r=Object.getOwnPropertyDescriptor(t,i);r&&r.configurable&&e[i]===undefined&&Object.defineProperty(e,i,r)}return e}function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),_defaults2(e.prototype.constructor=e,t)}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],0<=t.indexOf(n)||(i[n]=e[n]);return i}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var invariant=function(e,t,n,a,i,r,o,s){if(!e){var l;if(t===undefined)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,a,i,r,o,s],c=0;(l=new Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}},invariant_1=invariant;function setInputSelection(e,t,n){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=t,e.selectionEnd=n;else{var a=e.createTextRange();a.collapse(!0),a.moveStart("character",t),a.moveEnd("character",n-t),a.select()}}function getInputSelection(e){var t=0,n=0;if("selectionStart"in e&&"selectionEnd"in e)t=e.selectionStart,n=e.selectionEnd;else{var a=document.selection.createRange();a.parentElement()===e&&(t=-a.moveStart("character",-e.value.length),n=-a.moveEnd("character",-e.value.length))}return{start:t,end:n,length:n-t}}var defaultFormatChars={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},defaultMaskChar="_";function parseMask(e,t,n){var a="",i="",r=null,o=[];if(t===undefined&&(t=defaultMaskChar),null==n&&(n=defaultFormatChars),!e||"string"!=typeof e)return{maskChar:t,formatChars:n,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var s=!1;return e.split("").forEach(function(e){s=!s&&"\\"===e||(s||!n[e]?(o.push(a.length),a.length===o.length-1&&(i+=e)):r=a.length+1,a+=e,!1)}),{maskChar:t,formatChars:n,prefix:i,mask:a,lastEditablePosition:r,permanents:o}}function isPermanentCharacter(e,t){return-1!==e.permanents.indexOf(t)}function isAllowedCharacter(e,t,n){var a=e.mask,i=e.formatChars;if(!n)return!1;if(isPermanentCharacter(e,t))return a[t]===n;var r=i[a[t]];return new RegExp(r).test(n)}function isEmpty(n,e){return e.split("").every(function(e,t){return isPermanentCharacter(n,t)||!isAllowedCharacter(n,t,e)})}function getFilledLength(e,t){var n=e.maskChar,a=e.prefix;if(!n){for(;t.length>a.length&&isPermanentCharacter(e,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var i=a.length,r=t.length;r>=a.length;r--){var o=t[r];if(!isPermanentCharacter(e,r)&&isAllowedCharacter(e,r,o)){i=r+1;break}}return i}function isFilled(e,t){return getFilledLength(e,t)===e.mask.length}function formatValue(e,t){var n=e.maskChar,a=e.mask,i=e.prefix;if(!n){for((t=insertString(e,"",t,0)).length<i.length&&(t=i);t.length<a.length&&isPermanentCharacter(e,t.length);)t+=a[t.length];return t}if(t)return insertString(e,formatValue(e,""),t,0);for(var r=0;r<a.length;r++)isPermanentCharacter(e,r)?t+=a[r]:t+=n;return t}function clearRange(n,e,a,t){var i=a+t,r=n.maskChar,o=n.mask,s=n.prefix,l=e.split("");if(r)return l.map(function(e,t){return t<a||i<=t?e:isPermanentCharacter(n,t)?o[t]:r}).join("");for(var u=i;u<l.length;u++)isPermanentCharacter(n,u)&&(l[u]="");return a=Math.max(s.length,a),l.splice(a,i-a),e=l.join(""),formatValue(n,e)}function insertString(r,o,e,s){var l=r.mask,u=r.maskChar,c=r.prefix,t=e.split(""),h=isFilled(r,o);return!u&&s>o.length&&(o+=l.slice(o.length,s)),t.every(function(e){for(;i=e,isPermanentCharacter(r,a=s)&&i!==l[a];){if(s>=o.length&&(o+=l[s]),t=e,n=s,u&&isPermanentCharacter(r,n)&&t===u)return!0;if(++s>=l.length)return!1}var t,n,a,i;return!isAllowedCharacter(r,s,e)&&e!==u||(s<o.length?o=u||h||s<c.length?o.slice(0,s)+e+o.slice(s+1):(o=o.slice(0,s)+e+o.slice(s),formatValue(r,o)):u||(o+=e),++s<l.length)}),o}function getInsertStringLength(a,e,t,i){var r=a.mask,o=a.maskChar,n=t.split(""),s=i;return n.every(function(e){for(;n=e,isPermanentCharacter(a,t=i)&&n!==r[t];)if(++i>=r.length)return!1;var t,n;return(isAllowedCharacter(a,i,e)||e===o)&&i++,i<r.length}),i-s}function getLeftEditablePosition(e,t){for(var n=t;0<=n;--n)if(!isPermanentCharacter(e,n))return n;return null}function getRightEditablePosition(e,t){for(var n=e.mask,a=t;a<n.length;++a)if(!isPermanentCharacter(e,a))return a;return null}function getStringValue(e){return e||0===e?e+"":""}function processChange(e,t,n,a,i){var r=e.mask,o=e.prefix,s=e.lastEditablePosition,l=t,u="",c=0,h=0,f=Math.min(i.start,n.start);if(n.end>i.start?h=(c=getInsertStringLength(e,a,u=l.slice(i.start,n.end),f))?i.length:0:l.length<a.length&&(h=a.length-l.length),l=a,h){if(1===h&&!i.length)f=i.start===n.start?getRightEditablePosition(e,n.start):getLeftEditablePosition(e,n.start);l=clearRange(e,l,f,h)}return l=insertString(e,l,u,f),(f+=c)>=r.length?f=r.length:f<o.length&&!c?f=o.length:f>=o.length&&f<s&&c&&(f=getRightEditablePosition(e,f)),u||(u=null),{value:l=formatValue(e,l),enteredString:u,selection:{start:f,end:f}}}function isWindowsPhoneBrowser(){var e=new RegExp("windows","i"),t=new RegExp("phone","i"),n=navigator.userAgent;return e.test(n)&&t.test(n)}function isFunction(e){return"function"==typeof e}function getRequestAnimationFrame(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame}function getCancelAnimationFrame(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function defer(e){return(!!getCancelAnimationFrame()?getRequestAnimationFrame():function(){return setTimeout(e,1e3/60)})(e)}function cancelDefer(e){(getCancelAnimationFrame()||clearTimeout)(e)}var InputElement=function(c){function e(e){var f=c.call(this,e)||this;f.focused=!1,f.mounted=!1,f.previousSelection=null,f.selectionDeferId=null,f.saveSelectionLoopDeferId=null,f.saveSelectionLoop=function(){f.previousSelection=f.getSelection(),f.saveSelectionLoopDeferId=defer(f.saveSelectionLoop)},f.runSaveSelectionLoop=function(){null===f.saveSelectionLoopDeferId&&f.saveSelectionLoop()},f.stopSaveSelectionLoop=function(){null!==f.saveSelectionLoopDeferId&&(cancelDefer(f.saveSelectionLoopDeferId),f.saveSelectionLoopDeferId=null,f.previousSelection=null)},f.getInputDOMNode=function(){if(!f.mounted)return null;var e=reactDom.findDOMNode(_assertThisInitialized(_assertThisInitialized(f))),t="undefined"!=typeof window&&e instanceof window.Element;if(e&&!t)return null;if("INPUT"!==e.nodeName&&(e=e.querySelector("input")),!e)throw new Error("react-input-mask: inputComponent doesn't contain input node");return e},f.getInputValue=function(){var e=f.getInputDOMNode();return e?e.value:null},f.setInputValue=function(e){var t=f.getInputDOMNode();t&&(f.value=e,t.value=e)},f.setCursorToEnd=function(){var e=getFilledLength(f.maskOptions,f.value),t=getRightEditablePosition(f.maskOptions,e);null!==t&&f.setCursorPosition(t)},f.setSelection=function(e,t,n){void 0===n&&(n={});var a=f.getInputDOMNode(),i=f.isFocused();a&&i&&(n.deferred||setInputSelection(a,e,t),null!==f.selectionDeferId&&cancelDefer(f.selectionDeferId),f.selectionDeferId=defer(function(){f.selectionDeferId=null,setInputSelection(a,e,t)}),f.previousSelection={start:e,end:t,length:Math.abs(t-e)})},f.getSelection=function(){return getInputSelection(f.getInputDOMNode())},f.getCursorPosition=function(){return f.getSelection().start},f.setCursorPosition=function(e){f.setSelection(e,e)},f.isFocused=function(){return f.focused},f.getBeforeMaskedValueChangeConfig=function(){var e=f.maskOptions,t=e.mask,n=e.maskChar,a=e.permanents,i=e.formatChars;return{mask:t,maskChar:n,permanents:a,alwaysShowMask:!!f.props.alwaysShowMask,formatChars:i}},f.isInputAutofilled=function(e,t,n,a){var i=f.getInputDOMNode();try{if(i.matches(":-webkit-autofill"))return!0}catch(r){}return!f.focused||a.end<n.length&&t.end===e.length},f.onChange=function(e){var t=_assertThisInitialized(_assertThisInitialized(f)).beforePasteState,n=_assertThisInitialized(_assertThisInitialized(f)).previousSelection,a=f.props.beforeMaskedValueChange,i=f.getInputValue(),r=f.value,o=f.getSelection();f.isInputAutofilled(i,o,r,n)&&(r=formatValue(f.maskOptions,""),n={start:0,end:0,length:0}),t&&(n=t.selection,r=t.value,o={start:n.start+i.length,end:n.start+i.length,length:0},i=r.slice(0,n.start)+i+r.slice(n.end),f.beforePasteState=null);var s=processChange(f.maskOptions,i,o,r,n),l=s.enteredString,u=s.selection,c=s.value;if(isFunction(a)){var h=a({value:c,selection:u},{value:r,selection:n},l,f.getBeforeMaskedValueChangeConfig());c=h.value,u=h.selection}f.setInputValue(c),isFunction(f.props.onChange)&&f.props.onChange(e),f.isWindowsPhoneBrowser?f.setSelection(u.start,u.end,{deferred:!0}):f.setSelection(u.start,u.end)},f.onFocus=function(e){var t=f.props.beforeMaskedValueChange,n=f.maskOptions,a=n.mask,i=n.prefix;if(f.focused=!0,f.mounted=!0,a){if(f.value)getFilledLength(f.maskOptions,f.value)<f.maskOptions.mask.length&&f.setCursorToEnd();else{var r=formatValue(f.maskOptions,i),o=formatValue(f.maskOptions,r),s=getFilledLength(f.maskOptions,o),l=getRightEditablePosition(f.maskOptions,s),u={start:l,end:l};if(isFunction(t)){var c=t({value:o,selection:u},{value:f.value,selection:null},null,f.getBeforeMaskedValueChangeConfig());o=c.value,u=c.selection}var h=o!==f.getInputValue();h&&f.setInputValue(o),h&&isFunction(f.props.onChange)&&f.props.onChange(e),f.setSelection(u.start,u.end)}f.runSaveSelectionLoop()}isFunction(f.props.onFocus)&&f.props.onFocus(e)},f.onBlur=function(e){var t=f.props.beforeMaskedValueChange,n=f.maskOptions.mask;if(f.stopSaveSelectionLoop(),f.focused=!1,n&&!f.props.alwaysShowMask&&isEmpty(f.maskOptions,f.value)){var a="";if(isFunction(t))a=t({value:a,selection:null},{value:f.value,selection:f.previousSelection},null,f.getBeforeMaskedValueChangeConfig()).value;var i=a!==f.getInputValue();i&&f.setInputValue(a),i&&isFunction(f.props.onChange)&&f.props.onChange(e)}isFunction(f.props.onBlur)&&f.props.onBlur(e)},f.onMouseDown=function(e){if(!f.focused&&document.addEventListener){f.mouseDownX=e.clientX,f.mouseDownY=e.clientY,f.mouseDownTime=(new Date).getTime();var r=function r(e){if(document.removeEventListener("mouseup",r),f.focused){var t=Math.abs(e.clientX-f.mouseDownX),n=Math.abs(e.clientY-f.mouseDownY),a=Math.max(t,n),i=(new Date).getTime()-f.mouseDownTime;(a<=10&&i<=200||a<=5&&i<=300)&&f.setCursorToEnd()}};document.addEventListener("mouseup",r)}isFunction(f.props.onMouseDown)&&f.props.onMouseDown(e)},f.onPaste=function(e){isFunction(f.props.onPaste)&&f.props.onPaste(e),e.defaultPrevented||(f.beforePasteState={value:f.getInputValue(),selection:f.getSelection()},f.setInputValue(""))},f.handleRef=function(e){null==f.props.children&&isFunction(f.props.inputRef)&&f.props.inputRef(e)};var t=e.mask,n=e.maskChar,a=e.formatChars,i=e.alwaysShowMask,r=e.beforeMaskedValueChange,o=e.defaultValue,s=e.value;f.maskOptions=parseMask(t,n,a),null==o&&(o=""),null==s&&(s=o);var l=getStringValue(s);if(f.maskOptions.mask&&(i||l)&&(l=formatValue(f.maskOptions,l),isFunction(r))){var u=e.value;null==e.value&&(u=o),l=r({value:l,selection:null},{value:u=getStringValue(u),selection:null},null,f.getBeforeMaskedValueChangeConfig()).value}return f.value=l,f}_inheritsLoose(e,c);var t=e.prototype;return t.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=isWindowsPhoneBrowser(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},t.componentDidUpdate=function(){var e=this.previousSelection,t=this.props,n=t.beforeMaskedValueChange,a=t.alwaysShowMask,i=t.mask,r=t.maskChar,o=t.formatChars,s=this.maskOptions,l=a||this.isFocused(),u=null!=this.props.value,c=u?getStringValue(this.props.value):this.value,h=e?e.start:null;if(this.maskOptions=parseMask(i,r,o),this.maskOptions.mask){!s.mask&&this.isFocused()&&this.runSaveSelectionLoop();var f=this.maskOptions.mask&&this.maskOptions.mask!==s.mask;if(s.mask||u||(c=this.getInputValue()),(f||this.maskOptions.mask&&(c||l))&&(c=formatValue(this.maskOptions,c)),f){var p=getFilledLength(this.maskOptions,c);(null===h||p<h)&&(h=isFilled(this.maskOptions,c)?p:getRightEditablePosition(this.maskOptions,p))}!this.maskOptions.mask||!isEmpty(this.maskOptions,c)||l||u&&this.props.value||(c="");var d={start:h,end:h};if(isFunction(n)){var m=n({value:c,selection:d},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());c=m.value,d=m.selection}this.value=c;var g=this.getInputValue()!==this.value;g?(this.setInputValue(this.value),this.forceUpdate()):f&&this.forceUpdate();var v=!1;null!=d.start&&null!=d.end&&(v=!e||e.start!==d.start||e.end!==d.end),(v||g)&&this.setSelection(d.start,d.end)}else s.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},t.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&cancelDefer(this.selectionDeferId),this.stopSaveSelectionLoop()},t.render=function(){var t,e=this.props,n=(e.mask,e.alwaysShowMask,e.maskChar,e.formatChars,e.inputRef,e.beforeMaskedValueChange,e.children),a=_objectWithoutPropertiesLoose(e,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(n){isFunction(n)||invariant_1(!1);var i=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],r=_extends({},a);i.forEach(function(e){return delete r[e]}),t=n(r),i.filter(function(e){return null!=t.props[e]&&t.props[e]!==a[e]}).length&&invariant_1(!1)}else t=React.createElement("input",_extends({ref:this.handleRef},a));var o={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(a.disabled||a.readOnly||(o.onChange=this.onChange,o.onPaste=this.onPaste,o.onMouseDown=this.onMouseDown),null!=a.value&&(o.value=this.value)),t=React.cloneElement(t,o)},e}(React.Component);module.exports=InputElement;


/***/ }),
/* 80 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(81);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 81 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports


// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}\n", ""]);

// exports


/***/ }),
/* 82 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(83);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 83 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports


// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.number-input{border-collapse:separate;border:1px solid #ccc;position:relative;border-radius:2px !important;display:flex;width:100%;height:50px}.number-input input{border:none !important;text-align:center;position:relative;box-shadow:none;padding:3px;z-index:2;float:left;width:100%}.number-input input:hover,.number-input input:focus{border:none !important;box-shadow:none !important}.number-input .btn-plus,.number-input .btn-minus{line-height:36px}.number-input .btn-plus,.number-input .btn-minus{display:flex;font-weight:normal;background-color:#f8f8f8;transition:all .5s ease;color:#888787;padding:6px 13px;border:none;border-radius:0}.number-input .btn:hover,.number-input .btn:focus{box-shadow:none !important}\n", ""]);

// exports


/***/ }),
/* 84 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.



var punycode = __webpack_require__(85);
var util = __webpack_require__(86);

exports.parse = urlParse;
exports.resolve = urlResolve;
exports.resolveObject = urlResolveObject;
exports.format = urlFormat;

exports.Url = Url;

function Url() {
  this.protocol = null;
  this.slashes = null;
  this.auth = null;
  this.host = null;
  this.port = null;
  this.hostname = null;
  this.hash = null;
  this.search = null;
  this.query = null;
  this.pathname = null;
  this.path = null;
  this.href = null;
}

// Reference: RFC 3986, RFC 1808, RFC 2396

// define these here so at least they only have to be
// compiled once on the first module load.
var protocolPattern = /^([a-z0-9.+-]+:)/i,
    portPattern = /:[0-9]*$/,

    // Special case for a simple path URL
    simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,

    // RFC 2396: characters reserved for delimiting URLs.
    // We actually just auto-escape these.
    delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'],

    // RFC 2396: characters not allowed for various reasons.
    unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims),

    // Allowed by RFCs, but cause of XSS attacks.  Always escape these.
    autoEscape = ['\''].concat(unwise),
    // Characters that are never ever allowed in a hostname.
    // Note that any invalid chars are also handled, but these
    // are the ones that are *expected* to be seen, so we fast-path
    // them.
    nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),
    hostEndingChars = ['/', '?', '#'],
    hostnameMaxLen = 255,
    hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,
    hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,
    // protocols that can allow "unsafe" and "unwise" chars.
    unsafeProtocol = {
      'javascript': true,
      'javascript:': true
    },
    // protocols that never have a hostname.
    hostlessProtocol = {
      'javascript': true,
      'javascript:': true
    },
    // protocols that always contain a // bit.
    slashedProtocol = {
      'http': true,
      'https': true,
      'ftp': true,
      'gopher': true,
      'file': true,
      'http:': true,
      'https:': true,
      'ftp:': true,
      'gopher:': true,
      'file:': true
    },
    querystring = __webpack_require__(87);

function urlParse(url, parseQueryString, slashesDenoteHost) {
  if (url && util.isObject(url) && url instanceof Url) return url;

  var u = new Url;
  u.parse(url, parseQueryString, slashesDenoteHost);
  return u;
}

Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
  if (!util.isString(url)) {
    throw new TypeError("Parameter 'url' must be a string, not " + typeof url);
  }

  // Copy chrome, IE, opera backslash-handling behavior.
  // Back slashes before the query string get converted to forward slashes
  // See: https://code.google.com/p/chromium/issues/detail?id=25916
  var queryIndex = url.indexOf('?'),
      splitter =
          (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',
      uSplit = url.split(splitter),
      slashRegex = /\\/g;
  uSplit[0] = uSplit[0].replace(slashRegex, '/');
  url = uSplit.join(splitter);

  var rest = url;

  // trim before proceeding.
  // This is to support parse stuff like "  http://foo.com  \n"
  rest = rest.trim();

  if (!slashesDenoteHost && url.split('#').length === 1) {
    // Try fast path regexp
    var simplePath = simplePathPattern.exec(rest);
    if (simplePath) {
      this.path = rest;
      this.href = rest;
      this.pathname = simplePath[1];
      if (simplePath[2]) {
        this.search = simplePath[2];
        if (parseQueryString) {
          this.query = querystring.parse(this.search.substr(1));
        } else {
          this.query = this.search.substr(1);
        }
      } else if (parseQueryString) {
        this.search = '';
        this.query = {};
      }
      return this;
    }
  }

  var proto = protocolPattern.exec(rest);
  if (proto) {
    proto = proto[0];
    var lowerProto = proto.toLowerCase();
    this.protocol = lowerProto;
    rest = rest.substr(proto.length);
  }

  // figure out if it's got a host
  // user@server is *always* interpreted as a hostname, and url
  // resolution will treat //foo/bar as host=foo,path=bar because that's
  // how the browser resolves relative URLs.
  if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) {
    var slashes = rest.substr(0, 2) === '//';
    if (slashes && !(proto && hostlessProtocol[proto])) {
      rest = rest.substr(2);
      this.slashes = true;
    }
  }

  if (!hostlessProtocol[proto] &&
      (slashes || (proto && !slashedProtocol[proto]))) {

    // there's a hostname.
    // the first instance of /, ?, ;, or # ends the host.
    //
    // If there is an @ in the hostname, then non-host chars *are* allowed
    // to the left of the last @ sign, unless some host-ending character
    // comes *before* the @-sign.
    // URLs are obnoxious.
    //
    // ex:
    // http://a@b@c/ => user:a@b host:c
    // http://a@b?@c => user:a host:c path:/?@c

    // v0.12 TODO(isaacs): This is not quite how Chrome does things.
    // Review our test case against browsers more comprehensively.

    // find the first instance of any hostEndingChars
    var hostEnd = -1;
    for (var i = 0; i < hostEndingChars.length; i++) {
      var hec = rest.indexOf(hostEndingChars[i]);
      if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
        hostEnd = hec;
    }

    // at this point, either we have an explicit point where the
    // auth portion cannot go past, or the last @ char is the decider.
    var auth, atSign;
    if (hostEnd === -1) {
      // atSign can be anywhere.
      atSign = rest.lastIndexOf('@');
    } else {
      // atSign must be in auth portion.
      // http://a@b/c@d => host:b auth:a path:/c@d
      atSign = rest.lastIndexOf('@', hostEnd);
    }

    // Now we have a portion which is definitely the auth.
    // Pull that off.
    if (atSign !== -1) {
      auth = rest.slice(0, atSign);
      rest = rest.slice(atSign + 1);
      this.auth = decodeURIComponent(auth);
    }

    // the host is the remaining to the left of the first non-host char
    hostEnd = -1;
    for (var i = 0; i < nonHostChars.length; i++) {
      var hec = rest.indexOf(nonHostChars[i]);
      if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
        hostEnd = hec;
    }
    // if we still have not hit it, then the entire thing is a host.
    if (hostEnd === -1)
      hostEnd = rest.length;

    this.host = rest.slice(0, hostEnd);
    rest = rest.slice(hostEnd);

    // pull out port.
    this.parseHost();

    // we've indicated that there is a hostname,
    // so even if it's empty, it has to be present.
    this.hostname = this.hostname || '';

    // if hostname begins with [ and ends with ]
    // assume that it's an IPv6 address.
    var ipv6Hostname = this.hostname[0] === '[' &&
        this.hostname[this.hostname.length - 1] === ']';

    // validate a little.
    if (!ipv6Hostname) {
      var hostparts = this.hostname.split(/\./);
      for (var i = 0, l = hostparts.length; i < l; i++) {
        var part = hostparts[i];
        if (!part) continue;
        if (!part.match(hostnamePartPattern)) {
          var newpart = '';
          for (var j = 0, k = part.length; j < k; j++) {
            if (part.charCodeAt(j) > 127) {
              // we replace non-ASCII char with a temporary placeholder
              // we need this to make sure size of hostname is not
              // broken by replacing non-ASCII by nothing
              newpart += 'x';
            } else {
              newpart += part[j];
            }
          }
          // we test again with ASCII char only
          if (!newpart.match(hostnamePartPattern)) {
            var validParts = hostparts.slice(0, i);
            var notHost = hostparts.slice(i + 1);
            var bit = part.match(hostnamePartStart);
            if (bit) {
              validParts.push(bit[1]);
              notHost.unshift(bit[2]);
            }
            if (notHost.length) {
              rest = '/' + notHost.join('.') + rest;
            }
            this.hostname = validParts.join('.');
            break;
          }
        }
      }
    }

    if (this.hostname.length > hostnameMaxLen) {
      this.hostname = '';
    } else {
      // hostnames are always lower case.
      this.hostname = this.hostname.toLowerCase();
    }

    if (!ipv6Hostname) {
      // IDNA Support: Returns a punycoded representation of "domain".
      // It only converts parts of the domain name that
      // have non-ASCII characters, i.e. it doesn't matter if
      // you call it with a domain that already is ASCII-only.
      this.hostname = punycode.toASCII(this.hostname);
    }

    var p = this.port ? ':' + this.port : '';
    var h = this.hostname || '';
    this.host = h + p;
    this.href += this.host;

    // strip [ and ] from the hostname
    // the host field still retains them, though
    if (ipv6Hostname) {
      this.hostname = this.hostname.substr(1, this.hostname.length - 2);
      if (rest[0] !== '/') {
        rest = '/' + rest;
      }
    }
  }

  // now rest is set to the post-host stuff.
  // chop off any delim chars.
  if (!unsafeProtocol[lowerProto]) {

    // First, make 100% sure that any "autoEscape" chars get
    // escaped, even if encodeURIComponent doesn't think they
    // need to be.
    for (var i = 0, l = autoEscape.length; i < l; i++) {
      var ae = autoEscape[i];
      if (rest.indexOf(ae) === -1)
        continue;
      var esc = encodeURIComponent(ae);
      if (esc === ae) {
        esc = escape(ae);
      }
      rest = rest.split(ae).join(esc);
    }
  }


  // chop off from the tail first.
  var hash = rest.indexOf('#');
  if (hash !== -1) {
    // got a fragment string.
    this.hash = rest.substr(hash);
    rest = rest.slice(0, hash);
  }
  var qm = rest.indexOf('?');
  if (qm !== -1) {
    this.search = rest.substr(qm);
    this.query = rest.substr(qm + 1);
    if (parseQueryString) {
      this.query = querystring.parse(this.query);
    }
    rest = rest.slice(0, qm);
  } else if (parseQueryString) {
    // no query string, but parseQueryString still requested
    this.search = '';
    this.query = {};
  }
  if (rest) this.pathname = rest;
  if (slashedProtocol[lowerProto] &&
      this.hostname && !this.pathname) {
    this.pathname = '/';
  }

  //to support http.request
  if (this.pathname || this.search) {
    var p = this.pathname || '';
    var s = this.search || '';
    this.path = p + s;
  }

  // finally, reconstruct the href based on what has been validated.
  this.href = this.format();
  return this;
};

// format a parsed object into a url string
function urlFormat(obj) {
  // ensure it's an object, and not a string url.
  // If it's an obj, this is a no-op.
  // this way, you can call url_format() on strings
  // to clean up potentially wonky urls.
  if (util.isString(obj)) obj = urlParse(obj);
  if (!(obj instanceof Url)) return Url.prototype.format.call(obj);
  return obj.format();
}

Url.prototype.format = function() {
  var auth = this.auth || '';
  if (auth) {
    auth = encodeURIComponent(auth);
    auth = auth.replace(/%3A/i, ':');
    auth += '@';
  }

  var protocol = this.protocol || '',
      pathname = this.pathname || '',
      hash = this.hash || '',
      host = false,
      query = '';

  if (this.host) {
    host = auth + this.host;
  } else if (this.hostname) {
    host = auth + (this.hostname.indexOf(':') === -1 ?
        this.hostname :
        '[' + this.hostname + ']');
    if (this.port) {
      host += ':' + this.port;
    }
  }

  if (this.query &&
      util.isObject(this.query) &&
      Object.keys(this.query).length) {
    query = querystring.stringify(this.query);
  }

  var search = this.search || (query && ('?' + query)) || '';

  if (protocol && protocol.substr(-1) !== ':') protocol += ':';

  // only the slashedProtocols get the //.  Not mailto:, xmpp:, etc.
  // unless they had them to begin with.
  if (this.slashes ||
      (!protocol || slashedProtocol[protocol]) && host !== false) {
    host = '//' + (host || '');
    if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;
  } else if (!host) {
    host = '';
  }

  if (hash && hash.charAt(0) !== '#') hash = '#' + hash;
  if (search && search.charAt(0) !== '?') search = '?' + search;

  pathname = pathname.replace(/[?#]/g, function(match) {
    return encodeURIComponent(match);
  });
  search = search.replace('#', '%23');

  return protocol + host + pathname + search + hash;
};

function urlResolve(source, relative) {
  return urlParse(source, false, true).resolve(relative);
}

Url.prototype.resolve = function(relative) {
  return this.resolveObject(urlParse(relative, false, true)).format();
};

function urlResolveObject(source, relative) {
  if (!source) return relative;
  return urlParse(source, false, true).resolveObject(relative);
}

Url.prototype.resolveObject = function(relative) {
  if (util.isString(relative)) {
    var rel = new Url();
    rel.parse(relative, false, true);
    relative = rel;
  }

  var result = new Url();
  var tkeys = Object.keys(this);
  for (var tk = 0; tk < tkeys.length; tk++) {
    var tkey = tkeys[tk];
    result[tkey] = this[tkey];
  }

  // hash is always overridden, no matter what.
  // even href="" will remove it.
  result.hash = relative.hash;

  // if the relative url is empty, then there's nothing left to do here.
  if (relative.href === '') {
    result.href = result.format();
    return result;
  }

  // hrefs like //foo/bar always cut to the protocol.
  if (relative.slashes && !relative.protocol) {
    // take everything except the protocol from relative
    var rkeys = Object.keys(relative);
    for (var rk = 0; rk < rkeys.length; rk++) {
      var rkey = rkeys[rk];
      if (rkey !== 'protocol')
        result[rkey] = relative[rkey];
    }

    //urlParse appends trailing / to urls like http://www.example.com
    if (slashedProtocol[result.protocol] &&
        result.hostname && !result.pathname) {
      result.path = result.pathname = '/';
    }

    result.href = result.format();
    return result;
  }

  if (relative.protocol && relative.protocol !== result.protocol) {
    // if it's a known url protocol, then changing
    // the protocol does weird things
    // first, if it's not file:, then we MUST have a host,
    // and if there was a path
    // to begin with, then we MUST have a path.
    // if it is file:, then the host is dropped,
    // because that's known to be hostless.
    // anything else is assumed to be absolute.
    if (!slashedProtocol[relative.protocol]) {
      var keys = Object.keys(relative);
      for (var v = 0; v < keys.length; v++) {
        var k = keys[v];
        result[k] = relative[k];
      }
      result.href = result.format();
      return result;
    }

    result.protocol = relative.protocol;
    if (!relative.host && !hostlessProtocol[relative.protocol]) {
      var relPath = (relative.pathname || '').split('/');
      while (relPath.length && !(relative.host = relPath.shift()));
      if (!relative.host) relative.host = '';
      if (!relative.hostname) relative.hostname = '';
      if (relPath[0] !== '') relPath.unshift('');
      if (relPath.length < 2) relPath.unshift('');
      result.pathname = relPath.join('/');
    } else {
      result.pathname = relative.pathname;
    }
    result.search = relative.search;
    result.query = relative.query;
    result.host = relative.host || '';
    result.auth = relative.auth;
    result.hostname = relative.hostname || relative.host;
    result.port = relative.port;
    // to support http.request
    if (result.pathname || result.search) {
      var p = result.pathname || '';
      var s = result.search || '';
      result.path = p + s;
    }
    result.slashes = result.slashes || relative.slashes;
    result.href = result.format();
    return result;
  }

  var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),
      isRelAbs = (
          relative.host ||
          relative.pathname && relative.pathname.charAt(0) === '/'
      ),
      mustEndAbs = (isRelAbs || isSourceAbs ||
                    (result.host && relative.pathname)),
      removeAllDots = mustEndAbs,
      srcPath = result.pathname && result.pathname.split('/') || [],
      relPath = relative.pathname && relative.pathname.split('/') || [],
      psychotic = result.protocol && !slashedProtocol[result.protocol];

  // if the url is a non-slashed url, then relative
  // links like ../.. should be able
  // to crawl up to the hostname, as well.  This is strange.
  // result.protocol has already been set by now.
  // Later on, put the first path part into the host field.
  if (psychotic) {
    result.hostname = '';
    result.port = null;
    if (result.host) {
      if (srcPath[0] === '') srcPath[0] = result.host;
      else srcPath.unshift(result.host);
    }
    result.host = '';
    if (relative.protocol) {
      relative.hostname = null;
      relative.port = null;
      if (relative.host) {
        if (relPath[0] === '') relPath[0] = relative.host;
        else relPath.unshift(relative.host);
      }
      relative.host = null;
    }
    mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');
  }

  if (isRelAbs) {
    // it's absolute.
    result.host = (relative.host || relative.host === '') ?
                  relative.host : result.host;
    result.hostname = (relative.hostname || relative.hostname === '') ?
                      relative.hostname : result.hostname;
    result.search = relative.search;
    result.query = relative.query;
    srcPath = relPath;
    // fall through to the dot-handling below.
  } else if (relPath.length) {
    // it's relative
    // throw away the existing file, and take the new path instead.
    if (!srcPath) srcPath = [];
    srcPath.pop();
    srcPath = srcPath.concat(relPath);
    result.search = relative.search;
    result.query = relative.query;
  } else if (!util.isNullOrUndefined(relative.search)) {
    // just pull out the search.
    // like href='?foo'.
    // Put this after the other two cases because it simplifies the booleans
    if (psychotic) {
      result.hostname = result.host = srcPath.shift();
      //occationaly the auth can get stuck only in host
      //this especially happens in cases like
      //url.resolveObject('mailto:local1@domain1', 'local2@domain2')
      var authInHost = result.host && result.host.indexOf('@') > 0 ?
                       result.host.split('@') : false;
      if (authInHost) {
        result.auth = authInHost.shift();
        result.host = result.hostname = authInHost.shift();
      }
    }
    result.search = relative.search;
    result.query = relative.query;
    //to support http.request
    if (!util.isNull(result.pathname) || !util.isNull(result.search)) {
      result.path = (result.pathname ? result.pathname : '') +
                    (result.search ? result.search : '');
    }
    result.href = result.format();
    return result;
  }

  if (!srcPath.length) {
    // no path at all.  easy.
    // we've already handled the other stuff above.
    result.pathname = null;
    //to support http.request
    if (result.search) {
      result.path = '/' + result.search;
    } else {
      result.path = null;
    }
    result.href = result.format();
    return result;
  }

  // if a url ENDs in . or .., then it must get a trailing slash.
  // however, if it ends in anything else non-slashy,
  // then it must NOT get a trailing slash.
  var last = srcPath.slice(-1)[0];
  var hasTrailingSlash = (
      (result.host || relative.host || srcPath.length > 1) &&
      (last === '.' || last === '..') || last === '');

  // strip single dots, resolve double dots to parent dir
  // if the path tries to go above the root, `up` ends up > 0
  var up = 0;
  for (var i = srcPath.length; i >= 0; i--) {
    last = srcPath[i];
    if (last === '.') {
      srcPath.splice(i, 1);
    } else if (last === '..') {
      srcPath.splice(i, 1);
      up++;
    } else if (up) {
      srcPath.splice(i, 1);
      up--;
    }
  }

  // if the path is allowed to go above the root, restore leading ..s
  if (!mustEndAbs && !removeAllDots) {
    for (; up--; up) {
      srcPath.unshift('..');
    }
  }

  if (mustEndAbs && srcPath[0] !== '' &&
      (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {
    srcPath.unshift('');
  }

  if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {
    srcPath.push('');
  }

  var isAbsolute = srcPath[0] === '' ||
      (srcPath[0] && srcPath[0].charAt(0) === '/');

  // put the host back
  if (psychotic) {
    result.hostname = result.host = isAbsolute ? '' :
                                    srcPath.length ? srcPath.shift() : '';
    //occationaly the auth can get stuck only in host
    //this especially happens in cases like
    //url.resolveObject('mailto:local1@domain1', 'local2@domain2')
    var authInHost = result.host && result.host.indexOf('@') > 0 ?
                     result.host.split('@') : false;
    if (authInHost) {
      result.auth = authInHost.shift();
      result.host = result.hostname = authInHost.shift();
    }
  }

  mustEndAbs = mustEndAbs || (result.host && srcPath.length);

  if (mustEndAbs && !isAbsolute) {
    srcPath.unshift('');
  }

  if (!srcPath.length) {
    result.pathname = null;
    result.path = null;
  } else {
    result.pathname = srcPath.join('/');
  }

  //to support request.http
  if (!util.isNull(result.pathname) || !util.isNull(result.search)) {
    result.path = (result.pathname ? result.pathname : '') +
                  (result.search ? result.search : '');
  }
  result.auth = relative.auth || result.auth;
  result.slashes = result.slashes || relative.slashes;
  result.href = result.format();
  return result;
};

Url.prototype.parseHost = function() {
  var host = this.host;
  var port = portPattern.exec(host);
  if (port) {
    port = port[0];
    if (port !== ':') {
      this.port = port.substr(1);
    }
    host = host.substr(0, host.length - port.length);
  }
  if (host) this.hostname = host;
};


/***/ }),
/* 85 */
/***/ (function(module, exports, __webpack_require__) {

/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */
;(function(root) {

	/** Detect free variables */
	var freeExports =  true && exports &&
		!exports.nodeType && exports;
	var freeModule =  true && module &&
		!module.nodeType && module;
	var freeGlobal = typeof global == 'object' && global;
	if (
		freeGlobal.global === freeGlobal ||
		freeGlobal.window === freeGlobal ||
		freeGlobal.self === freeGlobal
	) {
		root = freeGlobal;
	}

	/**
	 * The `punycode` object.
	 * @name punycode
	 * @type Object
	 */
	var punycode,

	/** Highest positive signed 32-bit float value */
	maxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1

	/** Bootstring parameters */
	base = 36,
	tMin = 1,
	tMax = 26,
	skew = 38,
	damp = 700,
	initialBias = 72,
	initialN = 128, // 0x80
	delimiter = '-', // '\x2D'

	/** Regular expressions */
	regexPunycode = /^xn--/,
	regexNonASCII = /[^\x20-\x7E]/, // unprintable ASCII chars + non-ASCII chars
	regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, // RFC 3490 separators

	/** Error messages */
	errors = {
		'overflow': 'Overflow: input needs wider integers to process',
		'not-basic': 'Illegal input >= 0x80 (not a basic code point)',
		'invalid-input': 'Invalid input'
	},

	/** Convenience shortcuts */
	baseMinusTMin = base - tMin,
	floor = Math.floor,
	stringFromCharCode = String.fromCharCode,

	/** Temporary variable */
	key;

	/*--------------------------------------------------------------------------*/

	/**
	 * A generic error utility function.
	 * @private
	 * @param {String} type The error type.
	 * @returns {Error} Throws a `RangeError` with the applicable error message.
	 */
	function error(type) {
		throw new RangeError(errors[type]);
	}

	/**
	 * A generic `Array#map` utility function.
	 * @private
	 * @param {Array} array The array to iterate over.
	 * @param {Function} callback The function that gets called for every array
	 * item.
	 * @returns {Array} A new array of values returned by the callback function.
	 */
	function map(array, fn) {
		var length = array.length;
		var result = [];
		while (length--) {
			result[length] = fn(array[length]);
		}
		return result;
	}

	/**
	 * A simple `Array#map`-like wrapper to work with domain name strings or email
	 * addresses.
	 * @private
	 * @param {String} domain The domain name or email address.
	 * @param {Function} callback The function that gets called for every
	 * character.
	 * @returns {Array} A new string of characters returned by the callback
	 * function.
	 */
	function mapDomain(string, fn) {
		var parts = string.split('@');
		var result = '';
		if (parts.length > 1) {
			// In email addresses, only the domain name should be punycoded. Leave
			// the local part (i.e. everything up to `@`) intact.
			result = parts[0] + '@';
			string = parts[1];
		}
		// Avoid `split(regex)` for IE8 compatibility. See #17.
		string = string.replace(regexSeparators, '\x2E');
		var labels = string.split('.');
		var encoded = map(labels, fn).join('.');
		return result + encoded;
	}

	/**
	 * Creates an array containing the numeric code points of each Unicode
	 * character in the string. While JavaScript uses UCS-2 internally,
	 * this function will convert a pair of surrogate halves (each of which
	 * UCS-2 exposes as separate characters) into a single code point,
	 * matching UTF-16.
	 * @see `punycode.ucs2.encode`
	 * @see <https://mathiasbynens.be/notes/javascript-encoding>
	 * @memberOf punycode.ucs2
	 * @name decode
	 * @param {String} string The Unicode input string (UCS-2).
	 * @returns {Array} The new array of code points.
	 */
	function ucs2decode(string) {
		var output = [],
		    counter = 0,
		    length = string.length,
		    value,
		    extra;
		while (counter < length) {
			value = string.charCodeAt(counter++);
			if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
				// high surrogate, and there is a next character
				extra = string.charCodeAt(counter++);
				if ((extra & 0xFC00) == 0xDC00) { // low surrogate
					output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
				} else {
					// unmatched surrogate; only append this code unit, in case the next
					// code unit is the high surrogate of a surrogate pair
					output.push(value);
					counter--;
				}
			} else {
				output.push(value);
			}
		}
		return output;
	}

	/**
	 * Creates a string based on an array of numeric code points.
	 * @see `punycode.ucs2.decode`
	 * @memberOf punycode.ucs2
	 * @name encode
	 * @param {Array} codePoints The array of numeric code points.
	 * @returns {String} The new Unicode string (UCS-2).
	 */
	function ucs2encode(array) {
		return map(array, function(value) {
			var output = '';
			if (value > 0xFFFF) {
				value -= 0x10000;
				output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);
				value = 0xDC00 | value & 0x3FF;
			}
			output += stringFromCharCode(value);
			return output;
		}).join('');
	}

	/**
	 * Converts a basic code point into a digit/integer.
	 * @see `digitToBasic()`
	 * @private
	 * @param {Number} codePoint The basic numeric code point value.
	 * @returns {Number} The numeric value of a basic code point (for use in
	 * representing integers) in the range `0` to `base - 1`, or `base` if
	 * the code point does not represent a value.
	 */
	function basicToDigit(codePoint) {
		if (codePoint - 48 < 10) {
			return codePoint - 22;
		}
		if (codePoint - 65 < 26) {
			return codePoint - 65;
		}
		if (codePoint - 97 < 26) {
			return codePoint - 97;
		}
		return base;
	}

	/**
	 * Converts a digit/integer into a basic code point.
	 * @see `basicToDigit()`
	 * @private
	 * @param {Number} digit The numeric value of a basic code point.
	 * @returns {Number} The basic code point whose value (when used for
	 * representing integers) is `digit`, which needs to be in the range
	 * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is
	 * used; else, the lowercase form is used. The behavior is undefined
	 * if `flag` is non-zero and `digit` has no uppercase form.
	 */
	function digitToBasic(digit, flag) {
		//  0..25 map to ASCII a..z or A..Z
		// 26..35 map to ASCII 0..9
		return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);
	}

	/**
	 * Bias adaptation function as per section 3.4 of RFC 3492.
	 * https://tools.ietf.org/html/rfc3492#section-3.4
	 * @private
	 */
	function adapt(delta, numPoints, firstTime) {
		var k = 0;
		delta = firstTime ? floor(delta / damp) : delta >> 1;
		delta += floor(delta / numPoints);
		for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {
			delta = floor(delta / baseMinusTMin);
		}
		return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
	}

	/**
	 * Converts a Punycode string of ASCII-only symbols to a string of Unicode
	 * symbols.
	 * @memberOf punycode
	 * @param {String} input The Punycode string of ASCII-only symbols.
	 * @returns {String} The resulting string of Unicode symbols.
	 */
	function decode(input) {
		// Don't use UCS-2
		var output = [],
		    inputLength = input.length,
		    out,
		    i = 0,
		    n = initialN,
		    bias = initialBias,
		    basic,
		    j,
		    index,
		    oldi,
		    w,
		    k,
		    digit,
		    t,
		    /** Cached calculation results */
		    baseMinusT;

		// Handle the basic code points: let `basic` be the number of input code
		// points before the last delimiter, or `0` if there is none, then copy
		// the first basic code points to the output.

		basic = input.lastIndexOf(delimiter);
		if (basic < 0) {
			basic = 0;
		}

		for (j = 0; j < basic; ++j) {
			// if it's not a basic code point
			if (input.charCodeAt(j) >= 0x80) {
				error('not-basic');
			}
			output.push(input.charCodeAt(j));
		}

		// Main decoding loop: start just after the last delimiter if any basic code
		// points were copied; start at the beginning otherwise.

		for (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {

			// `index` is the index of the next character to be consumed.
			// Decode a generalized variable-length integer into `delta`,
			// which gets added to `i`. The overflow checking is easier
			// if we increase `i` as we go, then subtract off its starting
			// value at the end to obtain `delta`.
			for (oldi = i, w = 1, k = base; /* no condition */; k += base) {

				if (index >= inputLength) {
					error('invalid-input');
				}

				digit = basicToDigit(input.charCodeAt(index++));

				if (digit >= base || digit > floor((maxInt - i) / w)) {
					error('overflow');
				}

				i += digit * w;
				t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);

				if (digit < t) {
					break;
				}

				baseMinusT = base - t;
				if (w > floor(maxInt / baseMinusT)) {
					error('overflow');
				}

				w *= baseMinusT;

			}

			out = output.length + 1;
			bias = adapt(i - oldi, out, oldi == 0);

			// `i` was supposed to wrap around from `out` to `0`,
			// incrementing `n` each time, so we'll fix that now:
			if (floor(i / out) > maxInt - n) {
				error('overflow');
			}

			n += floor(i / out);
			i %= out;

			// Insert `n` at position `i` of the output
			output.splice(i++, 0, n);

		}

		return ucs2encode(output);
	}

	/**
	 * Converts a string of Unicode symbols (e.g. a domain name label) to a
	 * Punycode string of ASCII-only symbols.
	 * @memberOf punycode
	 * @param {String} input The string of Unicode symbols.
	 * @returns {String} The resulting Punycode string of ASCII-only symbols.
	 */
	function encode(input) {
		var n,
		    delta,
		    handledCPCount,
		    basicLength,
		    bias,
		    j,
		    m,
		    q,
		    k,
		    t,
		    currentValue,
		    output = [],
		    /** `inputLength` will hold the number of code points in `input`. */
		    inputLength,
		    /** Cached calculation results */
		    handledCPCountPlusOne,
		    baseMinusT,
		    qMinusT;

		// Convert the input in UCS-2 to Unicode
		input = ucs2decode(input);

		// Cache the length
		inputLength = input.length;

		// Initialize the state
		n = initialN;
		delta = 0;
		bias = initialBias;

		// Handle the basic code points
		for (j = 0; j < inputLength; ++j) {
			currentValue = input[j];
			if (currentValue < 0x80) {
				output.push(stringFromCharCode(currentValue));
			}
		}

		handledCPCount = basicLength = output.length;

		// `handledCPCount` is the number of code points that have been handled;
		// `basicLength` is the number of basic code points.

		// Finish the basic string - if it is not empty - with a delimiter
		if (basicLength) {
			output.push(delimiter);
		}

		// Main encoding loop:
		while (handledCPCount < inputLength) {

			// All non-basic code points < n have been handled already. Find the next
			// larger one:
			for (m = maxInt, j = 0; j < inputLength; ++j) {
				currentValue = input[j];
				if (currentValue >= n && currentValue < m) {
					m = currentValue;
				}
			}

			// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,
			// but guard against overflow
			handledCPCountPlusOne = handledCPCount + 1;
			if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
				error('overflow');
			}

			delta += (m - n) * handledCPCountPlusOne;
			n = m;

			for (j = 0; j < inputLength; ++j) {
				currentValue = input[j];

				if (currentValue < n && ++delta > maxInt) {
					error('overflow');
				}

				if (currentValue == n) {
					// Represent delta as a generalized variable-length integer
					for (q = delta, k = base; /* no condition */; k += base) {
						t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
						if (q < t) {
							break;
						}
						qMinusT = q - t;
						baseMinusT = base - t;
						output.push(
							stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))
						);
						q = floor(qMinusT / baseMinusT);
					}

					output.push(stringFromCharCode(digitToBasic(q, 0)));
					bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
					delta = 0;
					++handledCPCount;
				}
			}

			++delta;
			++n;

		}
		return output.join('');
	}

	/**
	 * Converts a Punycode string representing a domain name or an email address
	 * to Unicode. Only the Punycoded parts of the input will be converted, i.e.
	 * it doesn't matter if you call it on a string that has already been
	 * converted to Unicode.
	 * @memberOf punycode
	 * @param {String} input The Punycoded domain name or email address to
	 * convert to Unicode.
	 * @returns {String} The Unicode representation of the given Punycode
	 * string.
	 */
	function toUnicode(input) {
		return mapDomain(input, function(string) {
			return regexPunycode.test(string)
				? decode(string.slice(4).toLowerCase())
				: string;
		});
	}

	/**
	 * Converts a Unicode string representing a domain name or an email address to
	 * Punycode. Only the non-ASCII parts of the domain name will be converted,
	 * i.e. it doesn't matter if you call it with a domain that's already in
	 * ASCII.
	 * @memberOf punycode
	 * @param {String} input The domain name or email address to convert, as a
	 * Unicode string.
	 * @returns {String} The Punycode representation of the given domain name or
	 * email address.
	 */
	function toASCII(input) {
		return mapDomain(input, function(string) {
			return regexNonASCII.test(string)
				? 'xn--' + encode(string)
				: string;
		});
	}

	/*--------------------------------------------------------------------------*/

	/** Define the public API */
	punycode = {
		/**
		 * A string representing the current Punycode.js version number.
		 * @memberOf punycode
		 * @type String
		 */
		'version': '1.4.1',
		/**
		 * An object of methods to convert from JavaScript's internal character
		 * representation (UCS-2) to Unicode code points, and back.
		 * @see <https://mathiasbynens.be/notes/javascript-encoding>
		 * @memberOf punycode
		 * @type Object
		 */
		'ucs2': {
			'decode': ucs2decode,
			'encode': ucs2encode
		},
		'decode': decode,
		'encode': encode,
		'toASCII': toASCII,
		'toUnicode': toUnicode
	};

	/** Expose `punycode` */
	// Some AMD build optimizers, like r.js, check for specific condition patterns
	// like the following:
	if (
		true
	) {
		!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {
			return punycode;
		}).call(exports, __webpack_require__, exports, module),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
	} else {}

}(this));

/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(28)(module), __webpack_require__(25)))

/***/ }),
/* 86 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


module.exports = {
  isString: function(arg) {
    return typeof(arg) === 'string';
  },
  isObject: function(arg) {
    return typeof(arg) === 'object' && arg !== null;
  },
  isNull: function(arg) {
    return arg === null;
  },
  isNullOrUndefined: function(arg) {
    return arg == null;
  }
};


/***/ }),
/* 87 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


exports.decode = exports.parse = __webpack_require__(88);
exports.encode = exports.stringify = __webpack_require__(89);


/***/ }),
/* 88 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.



// If obj.hasOwnProperty has been overridden, then calling
// obj.hasOwnProperty(prop) will break.
// See: https://github.com/joyent/node/issues/1707
function hasOwnProperty(obj, prop) {
  return Object.prototype.hasOwnProperty.call(obj, prop);
}

module.exports = function(qs, sep, eq, options) {
  sep = sep || '&';
  eq = eq || '=';
  var obj = {};

  if (typeof qs !== 'string' || qs.length === 0) {
    return obj;
  }

  var regexp = /\+/g;
  qs = qs.split(sep);

  var maxKeys = 1000;
  if (options && typeof options.maxKeys === 'number') {
    maxKeys = options.maxKeys;
  }

  var len = qs.length;
  // maxKeys <= 0 means that we should not limit keys count
  if (maxKeys > 0 && len > maxKeys) {
    len = maxKeys;
  }

  for (var i = 0; i < len; ++i) {
    var x = qs[i].replace(regexp, '%20'),
        idx = x.indexOf(eq),
        kstr, vstr, k, v;

    if (idx >= 0) {
      kstr = x.substr(0, idx);
      vstr = x.substr(idx + 1);
    } else {
      kstr = x;
      vstr = '';
    }

    k = decodeURIComponent(kstr);
    v = decodeURIComponent(vstr);

    if (!hasOwnProperty(obj, k)) {
      obj[k] = v;
    } else if (isArray(obj[k])) {
      obj[k].push(v);
    } else {
      obj[k] = [obj[k], v];
    }
  }

  return obj;
};

var isArray = Array.isArray || function (xs) {
  return Object.prototype.toString.call(xs) === '[object Array]';
};


/***/ }),
/* 89 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.



var stringifyPrimitive = function(v) {
  switch (typeof v) {
    case 'string':
      return v;

    case 'boolean':
      return v ? 'true' : 'false';

    case 'number':
      return isFinite(v) ? v : '';

    default:
      return '';
  }
};

module.exports = function(obj, sep, eq, name) {
  sep = sep || '&';
  eq = eq || '=';
  if (obj === null) {
    obj = undefined;
  }

  if (typeof obj === 'object') {
    return map(objectKeys(obj), function(k) {
      var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;
      if (isArray(obj[k])) {
        return map(obj[k], function(v) {
          return ks + encodeURIComponent(stringifyPrimitive(v));
        }).join(sep);
      } else {
        return ks + encodeURIComponent(stringifyPrimitive(obj[k]));
      }
    }).join(sep);

  }

  if (!name) return '';
  return encodeURIComponent(stringifyPrimitive(name)) + eq +
         encodeURIComponent(stringifyPrimitive(obj));
};

var isArray = Array.isArray || function (xs) {
  return Object.prototype.toString.call(xs) === '[object Array]';
};

function map (xs, f) {
  if (xs.map) return xs.map(f);
  var res = [];
  for (var i = 0; i < xs.length; i++) {
    res.push(f(xs[i], i));
  }
  return res;
}

var objectKeys = Object.keys || function (obj) {
  var res = [];
  for (var key in obj) {
    if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);
  }
  return res;
};


/***/ }),
/* 90 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(91);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 91 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.fa,.fas{font-family:FontAwesome !important}span.option-icon{width:18px;height:18px;background-repeat:no-repeat;padding-left:20px}.option-zzp{background-image:url(" + escape(__webpack_require__(92)) + ")}.option-eenmanszaak{width:17px;height:21.64px;background-image:url(" + escape(__webpack_require__(93)) + ")}.option-winkel{background-image:url(" + escape(__webpack_require__(94)) + ")}.option-kantoorpand{background-image:url(" + escape(__webpack_require__(95)) + ")}.option-industrieel{background-image:url(" + escape(__webpack_require__(96)) + ")}.calculator{display:flex;margin:0 auto;max-width:1280px;flex-flow:column wrap}.calculator-wrapper{position:relative;margin-bottom:10px}.calculator-tab{display:grid;grid-template-columns:1fr;grid-template-rows:0.01fr 1fr;gap:0px 0px;grid-template-areas:\"top\"\r \"calculator-form\";padding:0 18px;background-color:#324376;color:#fff;border-radius:0 10px 10px 10px;font-family:\"Fabriga\", Lato, Helvetica, Sans-serif !important;padding:0 18px 10px}#gzmCalculator{padding-bottom:20px}.top{grid-area:top}.calculator-form{display:grid;grid-template-columns:1fr 400px 0.5fr;grid-template-rows:1fr 0fr;gap:0px 10px;grid-template-areas:\"side-4-col side-3-col submit-button\"\r \". solar-grid .\";grid-area:calculator-form}.mkbCalculator .calculator-form{grid-template-areas:\"side-4-col side-3-col submit-button\"\r \". solar-grid .\"}.gzmCalculator .calculator-form{grid-template-rows:1fr;grid-template-columns:434px 1fr 200px;grid-template-areas:\"side-3-col side-1-col submit-button\";gap:0 15px}.empty-column{grid-area:empty-column}.solar>.calculator-form{grid-template-rows:1fr 0fr}.side-4-col{display:grid;grid-template-columns:1fr .6fr .6fr 278px;grid-template-rows:1fr;gap:0px 10px;grid-template-areas:\"postcode huisnummer toev leverancier\";grid-area:side-4-col}.side-3-col{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:28px 75px 28px;gap:0px 10px;grid-template-areas:\"grid-label grid-label grid-label\"\r \"energy-inputs energy-inputs energy-inputs\"\r \"checkboxes checkboxes checkboxes\";grid-area:side-3-col}.gzmCalculator .side-3-col{grid-template-rows:1fr;gap:0 15px;grid-template-columns:188px 1fr 1fr;grid-template-areas:\"postcode huisnummer toev\"}.double .side-3-col{grid-template-columns:1fr 1fr;grid-template-rows:28px 75px 28px;grid-template-areas:\"grid-label grid-label\"\r \"energy-inputs energy-inputs\"\r \"checkboxes checkboxes\"}.isVerbruikIngevuld .side-3-col{grid-template-columns:1fr;grid-template-rows:28px 75px 28px;grid-template-areas:\"grid-label\"\r \"energy-inputs\"\r \"checkboxes\"}.side-1-col{display:grid;grid-template-columns:1fr;grid-template-rows:28px 1fr;gap:0px 0px;grid-template-areas:\"product-type-label\"\r \"product-types\";grid-area:side-1-col}.product-type-label{grid-area:product-type-label}.product-types{grid-area:product-types;list-style-type:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 15px}.product-types li{display:block;float:left;position:relative}.product-types li label{cursor:pointer}.product-types li input[type=radio]{display:none}.product-types li label span.fa{margin-right:2px;font-size:12px}.product-types li label span.fa:last-child{margin-right:5px}.product-types li input[type=radio]+label{color:#1F2446}.product-types li input[type=radio]+label{width:100%;text-align:center;line-height:48px;border-radius:4px;padding-left:25px;padding-right:25px;position:relative;border:1px solid #ccc;background-color:#fff;font-size:15px;height:50px}.product-types li input[type=radio]+label:hover{background-color:#f2f9fd}.product-types li input[type=radio]:checked+label{background-color:#06A77D;color:#fff;border-color:#324376}.energy-inputs{grid-area:energy-inputs;grid-template-rows:1fr;display:grid;gap:0px 10px;grid-template-columns:1fr 1fr;grid-template-areas:\"power gas\"}.double .energy-inputs{grid-template-columns:1fr 1fr 1fr;grid-template-areas:\"power-high power-low gas\"}.isVerbruikIngevuld .energy-inputs{grid-template-columns:1fr;grid-template-areas:\"typeand-block\"}.grid-label{grid-area:grid-label}.postcode{grid-area:postcode}.huisnummer{grid-area:huisnummer}.toev{grid-area:toev}.leverancier{grid-area:leverancier}.leverancier .dropdown .dropdown-item{line-height:20px}.power{grid-area:power}.power-high{grid-area:power-high}.power-low{grid-area:power-low}.gas{grid-area:gas}.typeand-block{grid-area:typeand-block}.checkboxes{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;gap:0px 10px;grid-template-areas:\"is-double-meter has-solar\";grid-area:checkboxes}.is-double-meter{grid-area:is-double-meter}.has-solar{grid-area:has-solar}.submit-button{grid-area:submit-button;display:grid;grid-template-columns:1fr;grid-template-rows:1fr 40px;grid-template-areas:\"btn\"\r \"text-below-button\"}.no-text-below-button .submit-button{grid-template-rows:50px;grid-template-areas:\"btn\"}.solar-grid{display:grid;grid-template-columns:1fr 195px;grid-template-rows:102px 28px;gap:0px 10px;grid-template-areas:\"solar-helper solar-inputs\"\r \". solar-info\";grid-area:solar-grid}.double .solar-grid{grid-template-columns:1fr 1fr 1fr;grid-template-areas:\"solar-helper solar-inputs solar-inputs\"\r \". solar-info solar-info\"}.solar-helper{display:grid;grid-template-columns:1fr;grid-template-rows:25px 1fr;gap:0px 10px;grid-template-areas:\"solar-label\"\r \"number-input\";grid-area:solar-helper}.solar-inputs{display:grid;grid-template-columns:1fr;grid-template-rows:25px 77px;gap:0px 10px;grid-template-areas:\"solar-label\"\r \"solar-single\";grid-area:solar-inputs}.double .solar-inputs{grid-template-columns:1fr 1fr;grid-template-areas:\"solar-label solar-label\"\r \"solar-high solar-low\"}.solar-high{grid-area:solar-high}.solar-low{grid-area:solar-low}.solar-single{grid-area:solar-single}.solar-info{grid-area:solar-info;font-weight:bold;white-space:nowrap}.navigation-wrapper{width:100%;flex-flow:row wrap;margin:0;padding:0;list-style:none}.navigation-wrapper>li{float:left;position:relative;background-color:#fff;color:#324376;border:1px solid #e5e5e5;border-bottom-color:transparent;transition:background-color 300ms linear}.navigation-wrapper>li:hover{background-color:#fbf5f3;color:#324376}.navigation-wrapper>li>a{float:left;font-size:15px;line-height:18px;color:#324376;padding:13px 24px}.navigation-wrapper>li>a,.navigation-wrapper>li>a:active,.navigation-wrapper>li>a:hover,.navigation-wrapper>li>a:focus{text-decoration:none}.navigation-wrapper>li.active>a,.navigation-wrapper>li.active>a:active,.navigation-wrapper>li.active>a:hover,.navigation-wrapper>li.active>a:focus{color:#fff}.navigation-wrapper>li>i{position:relative;right:3px !important;top:3px !important}.navigation-wrapper>li:first-child{border-top-left-radius:10px}.navigation-wrapper>li:last-child{border-top-right-radius:10px}.navigation-wrapper>li.active,.navigation-wrapper>li.active:hover,.navigation-wrapper>li.active:focus{background-color:#324376;color:#fff;border-color:#324376;text-decoration:none}.calculator.horizontal .navigation-wrapper>li.active>i.icon-info{background-image:url(" + escape(__webpack_require__(22)) + ") !important;right:5px}.calculator.horizontal .navigation-wrapper>li>i.icon-info{background-image:url(" + escape(__webpack_require__(97)) + ") !important}.form-title{flex:100%;margin:20px auto 15px;font-size:24px;font-weight:900}.calculator.horizontal label{font-size:15px;line-height:18px;font-weight:bold;margin-bottom:10px;position:relative;width:100%;white-space:nowrap}.calculator.horizontal i.icon-info{background-image:url(" + escape(__webpack_require__(22)) + ") !important;height:12px !important;width:12px !important;display:inline-block !important;margin:0 2px 2px 5px !important}.submit-button button{border-radius:30px;border-color:#ed6a3d;background-color:#ed6a3d;margin-top:30px}.text-below-button{display:block;margin-bottom:0;margin-top:12px;font-weight:bold;line-height:18px;color:#D9DCE6;width:100%;text-align:center}.calculator button.dropdown-toggle{background-color:#fff;color:#1f2446;border:1px solid #ccc;border-radius:6px;padding:0 12px}button.dropdown-toggle:not(:disabled):not(.disabled):active,button.dropdown-toggle:not(:disabled):not(.disabled).active,.show>button.dropdown-toggle,button.dropdown-toggle:focus,button.dropdown-toggle:active,button.dropdown-toggle:hover{background-color:#fff !important;color:#1f2446 !important;border-color:#ccc !important;box-shadow:none;padding:0 12px}span.option-icon{padding:0 0px 0px 26px !important}.dropdown-toggle::after{color:#1F2446 !important}.dropdown .dropdown-item{color:#1f2446}.dropdown .dropdown-item.active,.dropdown .dropdown-item:active,.dropdown .dropdown-item:hover,.dropdown .dropdown-item:focus{text-decoration:none;color:#2196f3 !important;background-color:#f3f3f3 !important;border-left:4px solid #2196f3 !important}.dropdown button span{font-weight:bold}.gas .input-group{grid-template-columns:25px 1fr 65px}.double .input-group{grid-template-columns:1fr 42px;grid-template-areas:\"input-element input-right-side\"}.solar-inputs .input-group{grid-template-columns:1fr 50px;grid-template-areas:\"input-element input-right-side\"}.double .gas .input-group{grid-template-columns:25px 1fr 35px;grid-template-areas:\"input-left-side input-element input-right-side\"}.solar-inputs .input-group .form-group{width:92% !important}.solar-inputs .input-group .form-group{font-weight:bold}input-group .input-left-side>.checkbox{margin:5px 0 0 0}.checkbox>input[type=checkbox]{display:none}.radio,.checkbox{margin-bottom:0 !important}.verbruik-label{font-size:13px;color:#cfcfcf;position:absolute}.typeand-block{display:flex;flex-direction:column}.typeand-dropdown{flex:100%}.text-input:nth-child(4),.select-input{margin-right:0 !important}.solar-production-wrapper{display:flex}.solar-production-block{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr}.solar-production-block.double .inputs .input-group-wrapper{display:flex}.sun-icon{padding-left:5px;background-image:url(" + escape(__webpack_require__(98)) + ");display:inline-block;position:relative;height:14px;width:14px;top:2px;margin-left:5px}.horizontal-calculator .number-input{border-color:#324376}.number-input{grid-area:number-input;background-color:#fff}.number-input .form-control{background-color:#fff}.calculator .number-input .form-control{height:48px;min-width:0}.calculator .validation-tooltip{color:#fff !important;background-color:#333 !important}.laagste-prijs-garantie-label{position:absolute;background-image:url(" + escape(__webpack_require__(26)) + ");background-position:0 0;height:113px;width:100px;top:-45px;right:-45px}.grid-label a,.solar-info a{color:#ed6a3d !important;text-decoration:underline !important;cursor:pointer !important}.grid-label a:hover,.solar-info a:hover{color:#ff9800 !important}@media (max-width: 1280px){.calculator-form{grid-template-columns:0.8fr 1fr 0.5fr}.mkbCalculator .calculator-form{grid-template-areas:\"side-4-col side-3-col submit-button\"\r \". solar-grid .\"}.gzmCalculator .calculator-form{grid-template-rows:1fr;grid-template-columns:0.8fr 1fr 0.5fr;grid-template-areas:\"side-3-col side-1-col submit-button\";gap:0 15px}.empty-column{grid-area:empty-column}.side-4-col{display:grid;grid-template-columns:1fr .6fr .6fr 0.8fr;grid-template-rows:1fr;gap:0px 10px;grid-template-areas:\"postcode huisnummer toev leverancier\";grid-area:side-4-col}.side-3-col{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:28px 75px 28px;gap:0px 10px;grid-template-areas:\"grid-label grid-label grid-label\"\r \"energy-inputs energy-inputs energy-inputs\"\r \"checkboxes checkboxes checkboxes\";grid-area:side-3-col}}@media (max-width: 991px){.laagste-prijs-garantie-label{top:-85px;right:-10px}.laagste-prijs-garantie-label{display:none}.laagste-prijs-garantie-label{display:none}.calculator-form{grid-template-columns:1fr !important;grid-template-rows:180px 140px 115px !important;grid-template-areas:\"side-4-col\"\r \"side-3-col\"\r \"submit-button\" !important}.double .calculator-form{grid-template-columns:1fr !important;grid-template-rows:180px 0fr 115px !important;grid-template-areas:\"side-4-col\"\r \"side-3-col\"\r \"submit-button\" !important}.solar>.calculator-form{grid-template-rows:180px 0fr 0fr 115px !important;grid-template-areas:\"side-4-col\"\r \"side-3-col\"\r \"solar-grid\"\r \"submit-button\" !important}.gzmCalculator .calculator-form{grid-template-rows:0fr 1fr 0fr !important;grid-template-columns:1fr !important;grid-template-areas:\"side-3-col\"\r \"side-1-col\"\r \"submit-button\" !important}.gzmCalculator .side-3-col{grid-template-columns:2fr 1fr 1fr !important;grid-template-rows:1fr !important;grid-template-areas:\"postcode huisnummer toev\"\r \"energy-inputs energy-inputs energy-inputs\" !important;margin-bottom:20px !important}.side-1-col label{margin-bottom:0}.side-1-col{grid-template-columns:1fr;grid-template-rows:25px 1fr !important;margin-bottom:20px}.product-type{margin-bottom:10px}.side-4-col{grid-template-columns:0.8fr 0.6fr 0.6fr;grid-template-rows:75px 10px 75px;grid-template-areas:\"postcode huisnummer toev\"\r \". . .\"\r \"leverancier leverancier leverancier\"}.side-3-col{grid-template-columns:1fr 1fr !important;grid-template-rows:30px 70px 30px !important;grid-template-areas:\"grid-label grid-label\"\r \"energy-inputs energy-inputs\"\r \"checkboxes checkboxes\" !important;padding-top:10px}.isVerbruikIngevuld .side-3-col{grid-template-columns:1fr !important;grid-template-rows:30px 70px 50px !important;grid-template-areas:\"grid-label\"\r \"energy-inputs\"\r \"checkboxes\" !important}.double .energy-inputs{grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;grid-template-areas:\"power-high power-low gas\" !important}.energy-inputs{grid-template-columns:1fr 1fr;grid-template-rows:1fr;grid-template-areas:\"power gas\"}.isVerbruikIngevuld .energy-inputs{grid-template-rows:1fr !important;grid-template-columns:1fr !important;grid-template-areas:\"typeand-block\" !important}.checkboxes{grid-template-columns:1fr 1fr;grid-template-rows:25px !important;grid-template-areas:\"is-double-meter has-solar\" !important}.isVerbruikIngevuld .checkboxes{grid-template-columns:1fr 1fr;grid-template-rows:25px !important;grid-template-areas:\"is-double-meter has-solar\" !important}.solar-grid{grid-template-columns:1fr !important;grid-template-rows:95px 30px !important;grid-template-areas:\"solar-inputs\"\r \"solar-info\" !important}.helper.double.solar-grid{grid-template-columns:1fr 1fr 1fr !important;grid-template-rows:95px 30px !important;grid-template-areas:\"solar-helper solar-inputs solar-inputs\"\r \"solar-info solar-info solar-info\" !important}.solar-info{padding:10px 0 5px}.solar-inputs{margin-bottom:20px}.submit-button{text-align:center}.mkbCalculator .submit-button{margin-top:20px}.submit-button button.btn.btn-success{margin:0 auto;width:100%}}@media (max-width: 767px){.laagste-prijs-garantie-label{display:none}.calculator-form{grid-template-columns:1fr !important;grid-template-rows:180px 140px 115px !important;grid-template-areas:\"side-4-col\"\r \"side-3-col\"\r \"submit-button\" !important}.isVerbruikIngevuld .calculator-form{grid-template-columns:1fr !important;grid-template-rows:180px 0fr 115px !important;grid-template-areas:\"side-4-col\"\r \"side-3-col\"\r \"submit-button\" !important}.double .calculator-form{grid-template-columns:1fr !important;grid-template-rows:180px 0fr 115px !important;grid-template-areas:\"side-4-col\"\r \"side-3-col\"\r \"submit-button\" !important}.solar>.calculator-form{grid-template-rows:180px 0fr 0fr 115px !important;grid-template-areas:\"side-4-col\"\r \"side-3-col\"\r \"solar-grid\"\r \"submit-button\" !important}.gzmCalculator .calculator-form{grid-template-rows:0fr 1fr 0fr !important;grid-template-columns:1fr !important;grid-template-areas:\"side-3-col\"\r \"side-1-col\"\r \"submit-button\" !important}.gzmCalculator .side-3-col{grid-template-columns:2fr 1fr 1fr !important;grid-template-rows:1fr !important;grid-template-areas:\"postcode huisnummer toev\"\r \"energy-inputs energy-inputs energy-inputs\" !important;margin-bottom:20px !important}.side-1-col label{margin-bottom:0}.product-types li{display:block;float:none;width:100%;margin:0 0 10px 0}.side-1-col{grid-template-columns:1fr;grid-template-rows:25px 1fr !important;margin-bottom:20px}.product-types{grid-area:product-types;list-style-type:none;padding:0;margin:0;display:grid;grid-template-columns:1fr;grid-template-rows:1fr 1fr 1fr}.product-type{margin-bottom:10px}.side-4-col{grid-template-columns:0.8fr 0.6fr 0.6fr;grid-template-rows:75px 10px 75px;grid-template-areas:\"postcode huisnummer toev\"\r \". . .\"\r \"leverancier leverancier leverancier\"}.side-3-col{grid-template-columns:1fr 1fr !important;grid-template-rows:30px 70px 30px !important;grid-template-areas:\"grid-label grid-label\"\r \"energy-inputs energy-inputs\"\r \"checkboxes checkboxes\" !important;padding-top:10px}.double .side-3-col{grid-template-columns:1fr 1fr !important;grid-template-rows:30px 140px 30px !important;grid-template-areas:\"grid-label grid-label\"\r \"energy-inputs energy-inputs\"\r \"checkboxes checkboxes\" !important;padding-top:10px}.isVerbruikIngevuld .side-3-col{grid-template-columns:1fr !important;grid-template-rows:30px 70px 50px !important;grid-template-areas:\"grid-label\"\r \"energy-inputs\"\r \"checkboxes\" !important}.double .energy-inputs{grid-template-columns:1fr 1fr;grid-template-rows:77px 77px;grid-template-areas:\"power-high power-low\"\r \"gas gas\" !important}.energy-inputs{grid-template-columns:1fr 1fr;grid-template-rows:1fr;grid-template-areas:\"power gas\"}.isVerbruikIngevuld .energy-inputs{grid-template-rows:1fr !important;grid-template-columns:1fr !important;grid-template-areas:\"typeand-block\" !important}.checkboxes{grid-template-columns:0fr 25px 0fr;grid-template-rows:25px !important;grid-template-areas:\"is-double-meter . has-solar\" !important}.isVerbruikIngevuld .checkboxes{grid-template-columns:1fr;grid-template-rows:25px 25px !important;grid-template-areas:\"is-double-meter\"\r \"has-solar\" !important}.solar-grid{grid-template-columns:1fr !important;grid-template-rows:95px 30px !important;grid-template-areas:\"solar-inputs\"\r \"solar-info\" !important}.helper.double.solar-grid{grid-template-columns:1fr 1fr !important;grid-template-rows:95px 80px 30px !important;grid-template-areas:\"solar-inputs solar-inputs\"\r \"solar-helper solar-helper\"\r \"solar-info solar-info\" !important}.solar-grid.helper{grid-template-columns:1fr 1fr !important;grid-template-rows:95px 30px !important;grid-template-areas:\"solar-helper solar-inputs\"\r \"solar-info solar-info\" !important}.solar-info{padding:10px 0 5px}.solar-inputs{margin-bottom:20px}.submit-button{grid-template-rows:50px 40px;grid-template-areas:\"btn\"\r \"text-below-button\"}.mkbCalculator .submit-button{margin-top:20px}.submit-button button.btn.btn-success{margin:0 auto;width:100%}label{font-size:14px}}\n", ""]);

// exports


/***/ }),
/* 92 */
/***/ (function(module, exports) {

module.exports = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjE4cHgiIGhlaWdodD0iMThweCIgdmlld0JveD0iMCAwIDE4IDE4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBza2V0Y2h0b29sIDUzLjIgKDcyNjQzKSAtIGh0dHBzOi8vc2tldGNoYXBwLmNvbSAtLT4NCiAgICA8dGl0bGU+QkZFNzYzQzgtRUFBNC00MTFDLUE0QzYtOTY2NjE1MEMzNzIxPC90aXRsZT4NCiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggc2tldGNodG9vbC48L2Rlc2M+DQogICAgPGcgaWQ9IkxhbmRpbmdwYWdpbmEncyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIGlkPSJTdGF0ZXMvQXNzZXRzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTIwLjAwMDAwMCwgLTI4NTAuMDAwMDAwKSIgZmlsbD0iIzAwMDAwMCIgZmlsbC1ydWxlPSJub256ZXJvIj4NCiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMjkuMDA4Nzk4LDI4NTEuMTI2MSBDMTI4LjUyNzg1NywyODUxLjEyNjEgMTI4LjA1Mjc4OCwyODUxLjIxNzAxIDEyNy41ODM1NzgsMjg1MS4zOTg4MyBDMTI3LjExNDM2NywyODUxLjU4MDY1IDEyNi42OTIwODQsMjg1MS44MTIzMiAxMjYuMzE2NzE2LDI4NTIuMDkzODQgQzEyNS45NDEzNDcsMjg1Mi4zNzUzNyAxMjUuNjM5Mjk3LDI4NTIuNjgwMzUgMTI1LjQxMDU1NywyODUzLjAwODggQzEyNS4xODE4MTcsMjg1My4zMzcyNSAxMjUuMDY3NDQ5LDI4NTMuNjQ4MDkgMTI1LjA2NzQ0OSwyODUzLjk0MTM1IEwxMjUuMDY3NDQ5LDI4NTYuNzU2NiBDMTI1LjA2NzQ0OSwyODU3LjMwNzkyIDEyNS4yMDUyNzcsMjg1OC4wMTE3MyAxMjUuNDgwOTM4LDI4NTguODY4MDQgQzEyNS43NTY2LDI4NTkuNzI0MzQgMTI2LjE4NzY4LDI4NjAuMzg3MDkgMTI2Ljc3NDE5NCwyODYwLjg1NjMgQzEyNi45MjY2ODcsMjg2MC45NzM2MSAxMjcuMDQxMDU1LDI4NjEuMTIzMTcgMTI3LjExNzMwMiwyODYxLjMwNDk5IEMxMjcuMTkzNTQ5LDI4NjEuNDg2OCAxMjcuMjE5OTQxLDI4NjEuNjc3NDIgMTI3LjE5NjQ4MSwyODYxLjg3NjgzIEMxMjcuMTYxMjksMjg2Mi4wNjQ1MiAxMjcuMDg3OTc3LDI4NjIuMjM3NTQgMTI2Ljk3NjU0LDI4NjIuMzk1ODkgQzEyNi44NjUxMDIsMjg2Mi41NTQyNSAxMjYuNzIxNDA5LDI4NjIuNjc0NDkgMTI2LjU0NTQ1NSwyODYyLjc1NjYgTDEyMS42MDExNzMsMjg2NS4wOTY3NyBDMTIxLjUzMDc5MSwyODY1LjEyMDIzIDEyMS40MzQwMTgsMjg2NS4xNzU5NSAxMjEuMzEwODUsMjg2NS4yNjM5MyBDMTIxLjE4NzY4MywyODY1LjM1MTkxIDEyMS4xMjYxLDI4NjUuNTEzMiAxMjEuMTI2MSwyODY1Ljc0NzggTDEyMS4xMjYxLDI4NjYuODkxNSBMMTM2Ljg3MzksMjg2Ni44NzM5IEwxMzYuODczOSwyODY1Ljc4Mjk5IEMxMzYuODczOSwyODY1LjQ3OCAxMzYuODAwNTg3LDI4NjUuMjg3MzkgMTM2LjY1Mzk1OSwyODY1LjIxMTE0IEMxMzYuNTA3MzMxLDI4NjUuMTM0OSAxMzYuNDI4MTUzLDI4NjUuMDk2NzcgMTM2LjQxNjQyMiwyODY1LjA5Njc3IEwxMzEuNTA3MzMxLDI4NjIuNzc0MTkgQzEzMS4zMzEzNzcsMjg2Mi42OTIwOCAxMzEuMTg0NzUxLDI4NjIuNTcxODUgMTMxLjA2NzQ0OSwyODYyLjQxMzQ5IEMxMzAuOTUwMTQ2LDI4NjIuMjU1MTMgMTMwLjg3OTc2NiwyODYyLjA3NjI1IDEzMC44NTYzMDUsMjg2MS44NzY4MyBDMTMwLjgzMjg0NCwyODYxLjY3NzQyIDEzMC44NTkyMzcsMjg2MS40ODY4IDEzMC45MzU0ODQsMjg2MS4zMDQ5OSBDMTMxLjAxMTczMSwyODYxLjEyMzE3IDEzMS4xMjYwOTksMjg2MC45NzM2MSAxMzEuMjc4NTkyLDI4NjAuODU2MyBDMTMxLjg4ODU2NiwyODYwLjM4NzA5IDEzMi4zMTk2NDcsMjg1OS43MjE0MSAxMzIuNTcxODQ4LDI4NTguODU5MjQgQzEzMi44MjQwNDgsMjg1Ny45OTcwNiAxMzIuOTUwMTQ3LDI4NTcuMjk2MTkgMTMyLjk1MDE0NywyODU2Ljc1NjYgTDEzMi45NTAxNDcsMjg1My45NDEzNSBDMTMyLjk1MDE0NywyODUzLjYzNjM2IDEzMi44MzI4NDYsMjg1My4zMTk2NSAxMzIuNTk4MjQsMjg1Mi45OTEyIEMxMzIuMzYzNjM1LDI4NTIuNjYyNzUgMTMyLjA2MTU4NSwyODUyLjM2MDcxIDEzMS42OTIwODIsMjg1Mi4wODUwNCBDMTMxLjMyMjU3OSwyODUxLjgwOTM4IDEzMC45MDAyOTYsMjg1MS41ODA2NSAxMzAuNDI1MjIsMjg1MS4zOTg4MyBDMTI5Ljk1MDE0NCwyODUxLjIxNzAxIDEyOS40NzgwMDgsMjg1MS4xMjYxIDEyOS4wMDg3OTgsMjg1MS4xMjYxIFogTTEyOS4wMDg3OTgsMjg1MCBDMTI5LjYzMDUwMiwyODUwIDEzMC4yNDMzOTksMjg1MC4xMTczIDEzMC44NDc1MDcsMjg1MC4zNTE5MSBDMTMxLjQ1MTYxNiwyODUwLjU4NjUxIDEzMS45OTEyLDI4NTAuODkxNDkgMTMyLjQ2NjI3NiwyODUxLjI2Njg2IEMxMzIuOTQxMzUxLDI4NTEuNjQyMjMgMTMzLjMyODQ0NCwyODUyLjA2NDUxIDEzMy42Mjc1NjYsMjg1Mi41MzM3MiBDMTMzLjkyNjY4OCwyODUzLjAwMjkzIDEzNC4wNzYyNDYsMjg1My40NzIxNCAxMzQuMDc2MjQ2LDI4NTMuOTQxMzUgTDEzNC4wNzYyNDYsMjg1Ni43NTY2IEMxMzQuMDc2MjQ2LDI4NTcuMDk2NzggMTM0LjA0MTA1NiwyODU3LjQ4OTczIDEzMy45NzA2NzQsMjg1Ny45MzU0OCBDMTMzLjkwMDI5MywyODU4LjM4MTIzIDEzMy43ODI5OTIsMjg1OC44MzU3NyAxMzMuNjE4NzY4LDI4NTkuMjk5MTIgQzEzMy40NTQ1NDUsMjg1OS43NjI0NyAxMzMuMjM3NTM4LDI4NjAuMjA4MjEgMTMyLjk2Nzc0MiwyODYwLjYzNjM2IEMxMzIuNjk3OTQ2LDI4NjEuMDY0NTIgMTMyLjM2OTUwMywyODYxLjQzMTA4IDEzMS45ODI0MDUsMjg2MS43MzYwNyBMMTM2Ljg5MTQ5NiwyODY0LjA3NjI1IEMxMzYuODkxNDk2LDI4NjQuMDc2MjUgMTM3LjA3NjI0NCwyODY0LjE3ODg4IDEzNy40NDU3NDgsMjg2NC4zODQxNiBDMTM3LjgxNTI1MSwyODY0LjU4OTQ0IDEzOCwyODY0Ljg1NjMgMTM4LDI4NjUuMTg0NzUgTDEzOCwyODY2Ljg5MTUgQzEzOCwyODY3LjE5NjQ4IDEzNy44OTE0OTcsMjg2Ny40NTc0OCAxMzcuNjc0NDg3LDI4NjcuNjc0NDkgQzEzNy40NTc0NzcsMjg2Ny44OTE1IDEzNy4xOTY0ODIsMjg2OCAxMzYuODkxNDk2LDI4NjggTDEyMS4xMjYxLDI4NjggQzEyMC44MDkzODMsMjg2OCAxMjAuNTQyNTIzLDI4NjcuODkxNSAxMjAuMzI1NTEzLDI4NjcuNjc0NDkgQzEyMC4xMDg1MDMsMjg2Ny40NTc0OCAxMjAsMjg2Ny4xOTY0OCAxMjAsMjg2Ni44OTE1IEwxMjAsMjg2NS4xODQ3NSBDMTIwLDI4NjQuODc5NzYgMTIwLjE4NzY4MSwyODY0LjYxODc3IDEyMC41NjMwNSwyODY0LjQwMTc2IEMxMjAuOTM4NDE4LDI4NjQuMTg0NzUgMTIxLjEyNjEsMjg2NC4wNzYyNSAxMjEuMTI2MSwyODY0LjA3NjI1IEwxMjYuMDcwMzgxLDI4NjEuNzM2MDcgQzEyNS42NzE1NTIsMjg2MS40MTkzNSAxMjUuMzM3MjQ1LDI4NjEuMDM4MTMgMTI1LjA2NzQ0OSwyODYwLjU5MjM4IEMxMjQuNzk3NjUzLDI4NjAuMTQ2NjMgMTI0LjU3NzcxMywyODU5LjY5MjA4IDEyNC40MDc2MjUsMjg1OS4yMjg3NCBDMTI0LjIzNzUzNiwyODU4Ljc2NTM5IDEyNC4xMTczMDIsMjg1OC4zMTM3OSAxMjQuMDQ2OTIxLDI4NTcuODczOSBDMTIzLjk3NjUzOSwyODU3LjQzNDAyIDEyMy45NDEzNDksMjg1Ny4wNjE1OSAxMjMuOTQxMzQ5LDI4NTYuNzU2NiBMMTIzLjk0MTM0OSwyODUzLjk0MTM1IEMxMjMuOTQxMzQ5LDI4NTMuNDcyMTQgMTI0LjA4Nzk3NSwyODUzLjAwMjkzIDEyNC4zODEyMzIsMjg1Mi41MzM3MiBDMTI0LjY3NDQ4OCwyODUyLjA2NDUxIDEyNS4wNTg2NDksMjg1MS42NDIyMyAxMjUuNTMzNzI0LDI4NTEuMjY2ODYgQzEyNi4wMDg4LDI4NTAuODkxNDkgMTI2LjU1MTMxNywyODUwLjU4NjUxIDEyNy4xNjEyOSwyODUwLjM1MTkxIEMxMjcuNzcxMjY0LDI4NTAuMTE3MyAxMjguMzg3MDk0LDI4NTAgMTI5LjAwODc5OCwyODUwIFoiIGlkPSJaWlAtTm9ybWFsIj48L3BhdGg+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4="

/***/ }),
/* 93 */
/***/ (function(module, exports) {

module.exports = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjE3cHgiIGhlaWdodD0iMjJweCIgdmlld0JveD0iMCAwIDE3IDIyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBza2V0Y2h0b29sIDUzLjIgKDcyNjQzKSAtIGh0dHBzOi8vc2tldGNoYXBwLmNvbSAtLT4NCiAgICA8dGl0bGU+RkJDQzFBNjMtRTAwMC00MUY3LTgzODQtMUE0NUQ4RUFBNjU3PC90aXRsZT4NCiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggc2tldGNodG9vbC48L2Rlc2M+DQogICAgPGcgaWQ9IkxhbmRpbmdwYWdpbmEncyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIGlkPSJTdGF0ZXMvQXNzZXRzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTIwLjAwMDAwMCwgLTI4OTguMDAwMDAwKSIgZmlsbD0iIzAwMDAwMCIgZmlsbC1ydWxlPSJub256ZXJvIj4NCiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMjQuNjM2MzY0LDI5MTMuODQwOTEgTDEyNC42MzYzNjQsMjkxNC42MTM2NCBDMTI0LjYzNjM2NCwyOTE0LjgxODg5IDEyNC40NTUyNTYsMjkxNSAxMjQuMjUsMjkxNSBMMTIzLjQ3NzI3MywyOTE1IEMxMjMuMjcyMDE3LDI5MTUgMTIzLjA5MDkwOSwyOTE0LjgxODg5IDEyMy4wOTA5MDksMjkxNC42MTM2NCBMMTIzLjA5MDkwOSwyOTEzLjg0MDkxIEMxMjMuMDkwOTA5LDI5MTMuNjM1NjUgMTIzLjI3MjAxNywyOTEzLjQ1NDU1IDEyMy40NzcyNzMsMjkxMy40NTQ1NSBMMTI0LjI1LDI5MTMuNDU0NTUgQzEyNC40NTUyNTYsMjkxMy40NTQ1NSAxMjQuNjM2MzY0LDI5MTMuNjM1NjUgMTI0LjYzNjM2NCwyOTEzLjg0MDkxIFogTTEyNC42MzYzNjQsMjkxMC43NSBMMTI0LjYzNjM2NCwyOTExLjUyMjczIEMxMjQuNjM2MzY0LDI5MTEuNzI3OTggMTI0LjQ1NTI1NiwyOTExLjkwOTA5IDEyNC4yNSwyOTExLjkwOTA5IEwxMjMuNDc3MjczLDI5MTEuOTA5MDkgQzEyMy4yNzIwMTcsMjkxMS45MDkwOSAxMjMuMDkwOTA5LDI5MTEuNzI3OTggMTIzLjA5MDkwOSwyOTExLjUyMjczIEwxMjMuMDkwOTA5LDI5MTAuNzUgQzEyMy4wOTA5MDksMjkxMC41NDQ3NCAxMjMuMjcyMDE3LDI5MTAuMzYzNjQgMTIzLjQ3NzI3MywyOTEwLjM2MzY0IEwxMjQuMjUsMjkxMC4zNjM2NCBDMTI0LjQ1NTI1NiwyOTEwLjM2MzY0IDEyNC42MzYzNjQsMjkxMC41NDQ3NCAxMjQuNjM2MzY0LDI5MTAuNzUgWiBNMTI3LjcyNzI3MywyOTEwLjc1IEwxMjcuNzI3MjczLDI5MTEuNTIyNzMgQzEyNy43MjcyNzMsMjkxMS43Mjc5OCAxMjcuNTQ2MTY1LDI5MTEuOTA5MDkgMTI3LjM0MDkwOSwyOTExLjkwOTA5IEwxMjYuNTY4MTgyLDI5MTEuOTA5MDkgQzEyNi4zNjI5MjYsMjkxMS45MDkwOSAxMjYuMTgxODE4LDI5MTEuNzI3OTggMTI2LjE4MTgxOCwyOTExLjUyMjczIEwxMjYuMTgxODE4LDI5MTAuNzUgQzEyNi4xODE4MTgsMjkxMC41NDQ3NCAxMjYuMzYyOTI2LDI5MTAuMzYzNjQgMTI2LjU2ODE4MiwyOTEwLjM2MzY0IEwxMjcuMzQwOTA5LDI5MTAuMzYzNjQgQzEyNy41NDYxNjUsMjkxMC4zNjM2NCAxMjcuNzI3MjczLDI5MTAuNTQ0NzQgMTI3LjcyNzI3MywyOTEwLjc1IFogTTEyNC42MzYzNjQsMjkwNy42NTkwOSBMMTI0LjYzNjM2NCwyOTA4LjQzMTgyIEMxMjQuNjM2MzY0LDI5MDguNjM3MDcgMTI0LjQ1NTI1NiwyOTA4LjgxODE4IDEyNC4yNSwyOTA4LjgxODE4IEwxMjMuNDc3MjczLDI5MDguODE4MTggQzEyMy4yNzIwMTcsMjkwOC44MTgxOCAxMjMuMDkwOTA5LDI5MDguNjM3MDcgMTIzLjA5MDkwOSwyOTA4LjQzMTgyIEwxMjMuMDkwOTA5LDI5MDcuNjU5MDkgQzEyMy4wOTA5MDksMjkwNy40NTM4NCAxMjMuMjcyMDE3LDI5MDcuMjcyNzMgMTIzLjQ3NzI3MywyOTA3LjI3MjczIEwxMjQuMjUsMjkwNy4yNzI3MyBDMTI0LjQ1NTI1NiwyOTA3LjI3MjczIDEyNC42MzYzNjQsMjkwNy40NTM4NCAxMjQuNjM2MzY0LDI5MDcuNjU5MDkgWiBNMTMzLjkwOTA5MSwyOTEzLjg0MDkxIEwxMzMuOTA5MDkxLDI5MTQuNjEzNjQgQzEzMy45MDkwOTEsMjkxNC44MTg4OSAxMzMuNzI3OTgzLDI5MTUgMTMzLjUyMjcyNywyOTE1IEwxMzIuNzUsMjkxNSBDMTMyLjU0NDc0NCwyOTE1IDEzMi4zNjM2MzYsMjkxNC44MTg4OSAxMzIuMzYzNjM2LDI5MTQuNjEzNjQgTDEzMi4zNjM2MzYsMjkxMy44NDA5MSBDMTMyLjM2MzYzNiwyOTEzLjYzNTY1IDEzMi41NDQ3NDQsMjkxMy40NTQ1NSAxMzIuNzUsMjkxMy40NTQ1NSBMMTMzLjUyMjcyNywyOTEzLjQ1NDU1IEMxMzMuNzI3OTgzLDI5MTMuNDU0NTUgMTMzLjkwOTA5MSwyOTEzLjYzNTY1IDEzMy45MDkwOTEsMjkxMy44NDA5MSBaIE0xMzAuODE4MTgyLDI5MTAuNzUgTDEzMC44MTgxODIsMjkxMS41MjI3MyBDMTMwLjgxODE4MiwyOTExLjcyNzk4IDEzMC42MzcwNzQsMjkxMS45MDkwOSAxMzAuNDMxODE4LDI5MTEuOTA5MDkgTDEyOS42NTkwOTEsMjkxMS45MDkwOSBDMTI5LjQ1MzgzNSwyOTExLjkwOTA5IDEyOS4yNzI3MjcsMjkxMS43Mjc5OCAxMjkuMjcyNzI3LDI5MTEuNTIyNzMgTDEyOS4yNzI3MjcsMjkxMC43NSBDMTI5LjI3MjcyNywyOTEwLjU0NDc0IDEyOS40NTM4MzUsMjkxMC4zNjM2NCAxMjkuNjU5MDkxLDI5MTAuMzYzNjQgTDEzMC40MzE4MTgsMjkxMC4zNjM2NCBDMTMwLjYzNzA3NCwyOTEwLjM2MzY0IDEzMC44MTgxODIsMjkxMC41NDQ3NCAxMzAuODE4MTgyLDI5MTAuNzUgWiBNMTI3LjcyNzI3MywyOTA3LjY1OTA5IEwxMjcuNzI3MjczLDI5MDguNDMxODIgQzEyNy43MjcyNzMsMjkwOC42MzcwNyAxMjcuNTQ2MTY1LDI5MDguODE4MTggMTI3LjM0MDkwOSwyOTA4LjgxODE4IEwxMjYuNTY4MTgyLDI5MDguODE4MTggQzEyNi4zNjI5MjYsMjkwOC44MTgxOCAxMjYuMTgxODE4LDI5MDguNjM3MDcgMTI2LjE4MTgxOCwyOTA4LjQzMTgyIEwxMjYuMTgxODE4LDI5MDcuNjU5MDkgQzEyNi4xODE4MTgsMjkwNy40NTM4NCAxMjYuMzYyOTI2LDI5MDcuMjcyNzMgMTI2LjU2ODE4MiwyOTA3LjI3MjczIEwxMjcuMzQwOTA5LDI5MDcuMjcyNzMgQzEyNy41NDYxNjUsMjkwNy4yNzI3MyAxMjcuNzI3MjczLDI5MDcuNDUzODQgMTI3LjcyNzI3MywyOTA3LjY1OTA5IFogTTEyNC42MzYzNjQsMjkwNC41NjgxOCBMMTI0LjYzNjM2NCwyOTA1LjM0MDkxIEMxMjQuNjM2MzY0LDI5MDUuNTQ2MTYgMTI0LjQ1NTI1NiwyOTA1LjcyNzI3IDEyNC4yNSwyOTA1LjcyNzI3IEwxMjMuNDc3MjczLDI5MDUuNzI3MjcgQzEyMy4yNzIwMTcsMjkwNS43MjcyNyAxMjMuMDkwOTA5LDI5MDUuNTQ2MTYgMTIzLjA5MDkwOSwyOTA1LjM0MDkxIEwxMjMuMDkwOTA5LDI5MDQuNTY4MTggQzEyMy4wOTA5MDksMjkwNC4zNjI5MyAxMjMuMjcyMDE3LDI5MDQuMTgxODIgMTIzLjQ3NzI3MywyOTA0LjE4MTgyIEwxMjQuMjUsMjkwNC4xODE4MiBDMTI0LjQ1NTI1NiwyOTA0LjE4MTgyIDEyNC42MzYzNjQsMjkwNC4zNjI5MyAxMjQuNjM2MzY0LDI5MDQuNTY4MTggWiBNMTMzLjkwOTA5MSwyOTEwLjc1IEwxMzMuOTA5MDkxLDI5MTEuNTIyNzMgQzEzMy45MDkwOTEsMjkxMS43Mjc5OCAxMzMuNzI3OTgzLDI5MTEuOTA5MDkgMTMzLjUyMjcyNywyOTExLjkwOTA5IEwxMzIuNzUsMjkxMS45MDkwOSBDMTMyLjU0NDc0NCwyOTExLjkwOTA5IDEzMi4zNjM2MzYsMjkxMS43Mjc5OCAxMzIuMzYzNjM2LDI5MTEuNTIyNzMgTDEzMi4zNjM2MzYsMjkxMC43NSBDMTMyLjM2MzYzNiwyOTEwLjU0NDc0IDEzMi41NDQ3NDQsMjkxMC4zNjM2NCAxMzIuNzUsMjkxMC4zNjM2NCBMMTMzLjUyMjcyNywyOTEwLjM2MzY0IEMxMzMuNzI3OTgzLDI5MTAuMzYzNjQgMTMzLjkwOTA5MSwyOTEwLjU0NDc0IDEzMy45MDkwOTEsMjkxMC43NSBaIE0xMzAuODE4MTgyLDI5MDcuNjU5MDkgTDEzMC44MTgxODIsMjkwOC40MzE4MiBDMTMwLjgxODE4MiwyOTA4LjYzNzA3IDEzMC42MzcwNzQsMjkwOC44MTgxOCAxMzAuNDMxODE4LDI5MDguODE4MTggTDEyOS42NTkwOTEsMjkwOC44MTgxOCBDMTI5LjQ1MzgzNSwyOTA4LjgxODE4IDEyOS4yNzI3MjcsMjkwOC42MzcwNyAxMjkuMjcyNzI3LDI5MDguNDMxODIgTDEyOS4yNzI3MjcsMjkwNy42NTkwOSBDMTI5LjI3MjcyNywyOTA3LjQ1Mzg0IDEyOS40NTM4MzUsMjkwNy4yNzI3MyAxMjkuNjU5MDkxLDI5MDcuMjcyNzMgTDEzMC40MzE4MTgsMjkwNy4yNzI3MyBDMTMwLjYzNzA3NCwyOTA3LjI3MjczIDEzMC44MTgxODIsMjkwNy40NTM4NCAxMzAuODE4MTgyLDI5MDcuNjU5MDkgWiBNMTI3LjcyNzI3MywyOTA0LjU2ODE4IEwxMjcuNzI3MjczLDI5MDUuMzQwOTEgQzEyNy43MjcyNzMsMjkwNS41NDYxNiAxMjcuNTQ2MTY1LDI5MDUuNzI3MjcgMTI3LjM0MDkwOSwyOTA1LjcyNzI3IEwxMjYuNTY4MTgyLDI5MDUuNzI3MjcgQzEyNi4zNjI5MjYsMjkwNS43MjcyNyAxMjYuMTgxODE4LDI5MDUuNTQ2MTYgMTI2LjE4MTgxOCwyOTA1LjM0MDkxIEwxMjYuMTgxODE4LDI5MDQuNTY4MTggQzEyNi4xODE4MTgsMjkwNC4zNjI5MyAxMjYuMzYyOTI2LDI5MDQuMTgxODIgMTI2LjU2ODE4MiwyOTA0LjE4MTgyIEwxMjcuMzQwOTA5LDI5MDQuMTgxODIgQzEyNy41NDYxNjUsMjkwNC4xODE4MiAxMjcuNzI3MjczLDI5MDQuMzYyOTMgMTI3LjcyNzI3MywyOTA0LjU2ODE4IFogTTEyNC42MzYzNjQsMjkwMS40NzcyNyBMMTI0LjYzNjM2NCwyOTAyLjI1IEMxMjQuNjM2MzY0LDI5MDIuNDU1MjYgMTI0LjQ1NTI1NiwyOTAyLjYzNjM2IDEyNC4yNSwyOTAyLjYzNjM2IEwxMjMuNDc3MjczLDI5MDIuNjM2MzYgQzEyMy4yNzIwMTcsMjkwMi42MzYzNiAxMjMuMDkwOTA5LDI5MDIuNDU1MjYgMTIzLjA5MDkwOSwyOTAyLjI1IEwxMjMuMDkwOTA5LDI5MDEuNDc3MjcgQzEyMy4wOTA5MDksMjkwMS4yNzIwMiAxMjMuMjcyMDE3LDI5MDEuMDkwOTEgMTIzLjQ3NzI3MywyOTAxLjA5MDkxIEwxMjQuMjUsMjkwMS4wOTA5MSBDMTI0LjQ1NTI1NiwyOTAxLjA5MDkxIDEyNC42MzYzNjQsMjkwMS4yNzIwMiAxMjQuNjM2MzY0LDI5MDEuNDc3MjcgWiBNMTMzLjkwOTA5MSwyOTA3LjY1OTA5IEwxMzMuOTA5MDkxLDI5MDguNDMxODIgQzEzMy45MDkwOTEsMjkwOC42MzcwNyAxMzMuNzI3OTgzLDI5MDguODE4MTggMTMzLjUyMjcyNywyOTA4LjgxODE4IEwxMzIuNzUsMjkwOC44MTgxOCBDMTMyLjU0NDc0NCwyOTA4LjgxODE4IDEzMi4zNjM2MzYsMjkwOC42MzcwNyAxMzIuMzYzNjM2LDI5MDguNDMxODIgTDEzMi4zNjM2MzYsMjkwNy42NTkwOSBDMTMyLjM2MzYzNiwyOTA3LjQ1Mzg0IDEzMi41NDQ3NDQsMjkwNy4yNzI3MyAxMzIuNzUsMjkwNy4yNzI3MyBMMTMzLjUyMjcyNywyOTA3LjI3MjczIEMxMzMuNzI3OTgzLDI5MDcuMjcyNzMgMTMzLjkwOTA5MSwyOTA3LjQ1Mzg0IDEzMy45MDkwOTEsMjkwNy42NTkwOSBaIE0xMzAuODE4MTgyLDI5MDQuNTY4MTggTDEzMC44MTgxODIsMjkwNS4zNDA5MSBDMTMwLjgxODE4MiwyOTA1LjU0NjE2IDEzMC42MzcwNzQsMjkwNS43MjcyNyAxMzAuNDMxODE4LDI5MDUuNzI3MjcgTDEyOS42NTkwOTEsMjkwNS43MjcyNyBDMTI5LjQ1MzgzNSwyOTA1LjcyNzI3IDEyOS4yNzI3MjcsMjkwNS41NDYxNiAxMjkuMjcyNzI3LDI5MDUuMzQwOTEgTDEyOS4yNzI3MjcsMjkwNC41NjgxOCBDMTI5LjI3MjcyNywyOTA0LjM2MjkzIDEyOS40NTM4MzUsMjkwNC4xODE4MiAxMjkuNjU5MDkxLDI5MDQuMTgxODIgTDEzMC40MzE4MTgsMjkwNC4xODE4MiBDMTMwLjYzNzA3NCwyOTA0LjE4MTgyIDEzMC44MTgxODIsMjkwNC4zNjI5MyAxMzAuODE4MTgyLDI5MDQuNTY4MTggWiBNMTI3LjcyNzI3MywyOTAxLjQ3NzI3IEwxMjcuNzI3MjczLDI5MDIuMjUgQzEyNy43MjcyNzMsMjkwMi40NTUyNiAxMjcuNTQ2MTY1LDI5MDIuNjM2MzYgMTI3LjM0MDkwOSwyOTAyLjYzNjM2IEwxMjYuNTY4MTgyLDI5MDIuNjM2MzYgQzEyNi4zNjI5MjYsMjkwMi42MzYzNiAxMjYuMTgxODE4LDI5MDIuNDU1MjYgMTI2LjE4MTgxOCwyOTAyLjI1IEwxMjYuMTgxODE4LDI5MDEuNDc3MjcgQzEyNi4xODE4MTgsMjkwMS4yNzIwMiAxMjYuMzYyOTI2LDI5MDEuMDkwOTEgMTI2LjU2ODE4MiwyOTAxLjA5MDkxIEwxMjcuMzQwOTA5LDI5MDEuMDkwOTEgQzEyNy41NDYxNjUsMjkwMS4wOTA5MSAxMjcuNzI3MjczLDI5MDEuMjcyMDIgMTI3LjcyNzI3MywyOTAxLjQ3NzI3IFogTTEzMy45MDkwOTEsMjkwNC41NjgxOCBMMTMzLjkwOTA5MSwyOTA1LjM0MDkxIEMxMzMuOTA5MDkxLDI5MDUuNTQ2MTYgMTMzLjcyNzk4MywyOTA1LjcyNzI3IDEzMy41MjI3MjcsMjkwNS43MjcyNyBMMTMyLjc1LDI5MDUuNzI3MjcgQzEzMi41NDQ3NDQsMjkwNS43MjcyNyAxMzIuMzYzNjM2LDI5MDUuNTQ2MTYgMTMyLjM2MzYzNiwyOTA1LjM0MDkxIEwxMzIuMzYzNjM2LDI5MDQuNTY4MTggQzEzMi4zNjM2MzYsMjkwNC4zNjI5MyAxMzIuNTQ0NzQ0LDI5MDQuMTgxODIgMTMyLjc1LDI5MDQuMTgxODIgTDEzMy41MjI3MjcsMjkwNC4xODE4MiBDMTMzLjcyNzk4MywyOTA0LjE4MTgyIDEzMy45MDkwOTEsMjkwNC4zNjI5MyAxMzMuOTA5MDkxLDI5MDQuNTY4MTggWiBNMTMwLjgxODE4MiwyOTAxLjQ3NzI3IEwxMzAuODE4MTgyLDI5MDIuMjUgQzEzMC44MTgxODIsMjkwMi40NTUyNiAxMzAuNjM3MDc0LDI5MDIuNjM2MzYgMTMwLjQzMTgxOCwyOTAyLjYzNjM2IEwxMjkuNjU5MDkxLDI5MDIuNjM2MzYgQzEyOS40NTM4MzUsMjkwMi42MzYzNiAxMjkuMjcyNzI3LDI5MDIuNDU1MjYgMTI5LjI3MjcyNywyOTAyLjI1IEwxMjkuMjcyNzI3LDI5MDEuNDc3MjcgQzEyOS4yNzI3MjcsMjkwMS4yNzIwMiAxMjkuNDUzODM1LDI5MDEuMDkwOTEgMTI5LjY1OTA5MSwyOTAxLjA5MDkxIEwxMzAuNDMxODE4LDI5MDEuMDkwOTEgQzEzMC42MzcwNzQsMjkwMS4wOTA5MSAxMzAuODE4MTgyLDI5MDEuMjcyMDIgMTMwLjgxODE4MiwyOTAxLjQ3NzI3IFogTTEzMy45MDkwOTEsMjkwMS40NzcyNyBMMTMzLjkwOTA5MSwyOTAyLjI1IEMxMzMuOTA5MDkxLDI5MDIuNDU1MjYgMTMzLjcyNzk4MywyOTAyLjYzNjM2IDEzMy41MjI3MjcsMjkwMi42MzYzNiBMMTMyLjc1LDI5MDIuNjM2MzYgQzEzMi41NDQ3NDQsMjkwMi42MzYzNiAxMzIuMzYzNjM2LDI5MDIuNDU1MjYgMTMyLjM2MzYzNiwyOTAyLjI1IEwxMzIuMzYzNjM2LDI5MDEuNDc3MjcgQzEzMi4zNjM2MzYsMjkwMS4yNzIwMiAxMzIuNTQ0NzQ0LDI5MDEuMDkwOTEgMTMyLjc1LDI5MDEuMDkwOTEgTDEzMy41MjI3MjcsMjkwMS4wOTA5MSBDMTMzLjcyNzk4MywyOTAxLjA5MDkxIDEzMy45MDkwOTEsMjkwMS4yNzIwMiAxMzMuOTA5MDkxLDI5MDEuNDc3MjcgWiBNMTMwLjgxODE4MiwyOTE4LjA5MDkxIEwxMzUuNDU0NTQ1LDI5MTguMDkwOTEgTDEzNS40NTQ1NDUsMjg5OS41NDU0NSBMMTIxLjU0NTQ1NSwyODk5LjU0NTQ1IEwxMjEuNTQ1NDU1LDI5MTguMDkwOTEgTDEyNi4xODE4MTgsMjkxOC4wOTA5MSBMMTI2LjE4MTgxOCwyOTE1LjM4NjM2IEMxMjYuMTgxODE4LDI5MTUuMTgxMTEgMTI2LjM2MjkyNiwyOTE1IDEyNi41NjgxODIsMjkxNSBMMTMwLjQzMTgxOCwyOTE1IEMxMzAuNjM3MDc0LDI5MTUgMTMwLjgxODE4MiwyOTE1LjE4MTExIDEzMC44MTgxODIsMjkxNS4zODYzNiBMMTMwLjgxODE4MiwyOTE4LjA5MDkxIFogTTEzNywyODk4Ljc3MjczIEwxMzcsMjkxOC44NjM2NCBDMTM3LDI5MTkuMjg2MjIgMTM2LjY0OTg1OCwyOTE5LjYzNjM2IDEzNi4yMjcyNzMsMjkxOS42MzYzNiBMMTIwLjc3MjcyNywyOTE5LjYzNjM2IEMxMjAuMzUwMTQyLDI5MTkuNjM2MzYgMTIwLDI5MTkuMjg2MjIgMTIwLDI5MTguODYzNjQgTDEyMCwyODk4Ljc3MjczIEMxMjAsMjg5OC4zNTAxNCAxMjAuMzUwMTQyLDI4OTggMTIwLjc3MjcyNywyODk4IEwxMzYuMjI3MjczLDI4OTggQzEzNi42NDk4NTgsMjg5OCAxMzcsMjg5OC4zNTAxNCAxMzcsMjg5OC43NzI3MyBaIiBpZD0iRWVubWFuc3phYWstTm9ybWFsIj48L3BhdGg+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4="

/***/ }),
/* 94 */
/***/ (function(module, exports) {

module.exports = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjE4cHgiIGhlaWdodD0iMThweCIgdmlld0JveD0iMCAwIDE4IDE4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBza2V0Y2h0b29sIDUzLjIgKDcyNjQzKSAtIGh0dHBzOi8vc2tldGNoYXBwLmNvbSAtLT4NCiAgICA8dGl0bGU+RjhDMjEyREItQjZEQi00QjcwLUE0MUQtNUJDMTNCNjk5OTNFPC90aXRsZT4NCiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggc2tldGNodG9vbC48L2Rlc2M+DQogICAgPGcgaWQ9IkxhbmRpbmdwYWdpbmEncyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIGlkPSJTdGF0ZXMvQXNzZXRzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTIwLjAwMDAwMCwgLTI5NTAuMDAwMDAwKSIgZmlsbD0iIzAwMDAwMCIgZmlsbC1ydWxlPSJub256ZXJvIj4NCiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMzYuNDkzMzA0LDI5NjEuMDY5MiBDMTM2LjY0MDYyNiwyOTYxLjIwMzEzIDEzNi43MTQyODYsMjk2MS4zNzA1MyAxMzYuNzE0Mjg2LDI5NjEuNTcxNDMgTDEzNi43MTQyODYsMjk2Ni41NTM1NyBDMTM2LjcxNDI4NiwyOTY2Ljk1NTM2IDEzNi41NzM2NjIsMjk2Ny4yOTY4NyAxMzYuMjkyNDExLDI5NjcuNTc4MTIgQzEzNi4wMTExNTksMjk2Ny44NTkzOCAxMzUuNjY5NjQ1LDI5NjggMTM1LjI2Nzg1NywyOTY4IEwxMjIuNzMyMTQzLDI5NjggQzEyMi4zMzAzNTUsMjk2OCAxMjEuOTg4ODQxLDI5NjcuODU5MzggMTIxLjcwNzU4OSwyOTY3LjU3ODEyIEMxMjEuNDI2MzM4LDI5NjcuMjk2ODcgMTIxLjI4NTcxNCwyOTY2Ljk1NTM2IDEyMS4yODU3MTQsMjk2Ni41NTM1NyBMMTIxLjI4NTcxNCwyOTYxLjU3MTQzIEMxMjEuMjg1NzE0LDI5NjEuMzcwNTMgMTIxLjM1NjAyNiwyOTYxLjE5OTc4IDEyMS40OTY2NTIsMjk2MS4wNTkxNSBDMTIxLjYzNzI3NywyOTYwLjkxODUzIDEyMS44MDgwMzUsMjk2MC44NDgyMSAxMjIuMDA4OTI5LDI5NjAuODQ4MjEgQzEyMi4yMDk4MjIsMjk2MC44NDgyMSAxMjIuMzgwNTgsMjk2MC45MTg1MyAxMjIuNTIxMjA1LDI5NjEuMDU5MTUgQzEyMi42NjE4MzEsMjk2MS4xOTk3OCAxMjIuNzMyMTQzLDI5NjEuMzcwNTMgMTIyLjczMjE0MywyOTYxLjU3MTQzIEwxMjIuNzMyMTQzLDI5NjYuNTUzNTcgTDEzNS4yNjc4NTcsMjk2Ni41NTM1NyBMMTM1LjI2Nzg1NywyOTYxLjU3MTQzIEMxMzUuMjY3ODU3LDI5NjEuMzcwNTMgMTM1LjMzODE2OSwyOTYxLjE5OTc4IDEzNS40Nzg3OTUsMjk2MS4wNTkxNSBDMTM1LjYxOTQyLDI5NjAuOTE4NTMgMTM1Ljc5MDE3OCwyOTYwLjg0ODIxIDEzNS45OTEwNzEsMjk2MC44NDgyMSBDMTM2LjE5MTk2NSwyOTYwLjg0ODIxIDEzNi4zNTkzNzQsMjk2MC45MjE4NyAxMzYuNDkzMzA0LDI5NjEuMDY5MiBaIE0xMzYuNTUzNTcxLDI5NTAgQzEzNi45NTUzNTksMjk1MCAxMzcuMjk2ODc0LDI5NTAuMTQwNjIgMTM3LjU3ODEyNSwyOTUwLjQyMTg4IEMxMzcuODU5Mzc2LDI5NTAuNzAzMTMgMTM4LDI5NTEuMDQ0NjQgMTM4LDI5NTEuNDQ2NDMgTDEzOCwyOTU1LjU0NDY0IEMxMzgsMjk1Ni40OTU1NCAxMzcuNjU4NDg2LDI5NTcuMzEyNSAxMzYuOTc1NDQ2LDI5NTcuOTk1NTQgQzEzNi4yOTI0MDcsMjk1OC42Nzg1NyAxMzUuNDY4NzU1LDI5NTkuMDIwMDkgMTM0LjUwNDQ2NCwyOTU5LjAyMDA5IEMxMzMuOTU1MzU0LDI5NTkuMDIwMDkgMTMzLjQ0MzA4MywyOTU4Ljg5OTU1IDEzMi45Njc2MzQsMjk1OC42NTg0OCBDMTMyLjQ5MjE4NSwyOTU4LjQxNzQxIDEzMi4wOTM3NTIsMjk1OC4wODkyOSAxMzEuNzcyMzIxLDI5NTcuNjc0MTEgQzEzMS40Mzc0OTgsMjk1OC4wODkyOSAxMzEuMDMyMzY4LDI5NTguNDE3NDEgMTMwLjU1NjkyLDI5NTguNjU4NDggQzEzMC4wODE0NzEsMjk1OC44OTk1NSAxMjkuNTYyNTAzLDI5NTkuMDIwMDkgMTI5LDI5NTkuMDIwMDkgQzEyOC40NTA4OSwyOTU5LjAyMDA5IDEyNy45MzUyNywyOTU4Ljg5OTU1IDEyNy40NTMxMjUsMjk1OC42NTg0OCBDMTI2Ljk3MDk4LDI5NTguNDE3NDEgMTI2LjU2OTE5OCwyOTU4LjA4MjU5IDEyNi4yNDc3NjgsMjk1Ny42NTQwMiBDMTI1LjkyNjMzOCwyOTU4LjA4MjU5IDEyNS41MjQ1NTYsMjk1OC40MTc0MSAxMjUuMDQyNDExLDI5NTguNjU4NDggQzEyNC41NjAyNjUsMjk1OC44OTk1NSAxMjQuMDQ0NjQ2LDI5NTkuMDIwMDkgMTIzLjQ5NTUzNiwyOTU5LjAyMDA5IEMxMjIuNTMxMjQ1LDI5NTkuMDIwMDkgMTIxLjcwNzU5MywyOTU4LjY3ODU3IDEyMS4wMjQ1NTQsMjk1Ny45OTU1NCBDMTIwLjM0MTUxNCwyOTU3LjMxMjUgMTIwLDI5NTYuNDk1NTQgMTIwLDI5NTUuNTQ0NjQgTDEyMCwyOTUxLjQ0NjQzIEMxMjAsMjk1MS4wNDQ2NCAxMjAuMTQwNjI0LDI5NTAuNzAzMTMgMTIwLjQyMTg3NSwyOTUwLjQyMTg4IEMxMjAuNzAzMTI2LDI5NTAuMTQwNjIgMTIxLjA0NDY0MSwyOTUwIDEyMS40NDY0MjksMjk1MCBMMTM2LjU1MzU3MSwyOTUwIFogTTEyNS41MjQ1NTQsMjk1MS40NDY0MyBMMTIxLjQ0NjQyOSwyOTUxLjQ0NjQzIEwxMjEuNDQ2NDI5LDI5NTUuNTQ0NjQgQzEyMS40NDY0MjksMjk1Ni4xMDcxNSAxMjEuNjQzOTcxLDI5NTYuNTg1OTQgMTIyLjAzOTA2MiwyOTU2Ljk4MTAzIEMxMjIuNDM0MTU0LDI5NTcuMzc2MTIgMTIyLjkxNjI5MiwyOTU3LjU3MzY2IDEyMy40ODU0OTEsMjk1Ny41NzM2NiBDMTI0LjA1NDY5LDI5NTcuNTczNjYgMTI0LjUzNjgyOCwyOTU3LjM3NjEyIDEyNC45MzE5MiwyOTU2Ljk4MTAzIEMxMjUuMzI3MDExLDI5NTYuNTg1OTQgMTI1LjUyNDU1NCwyOTU2LjEwNzE1IDEyNS41MjQ1NTQsMjk1NS41NDQ2NCBMMTI1LjUyNDU1NCwyOTUxLjQ0NjQzIFogTTEyOSwyOTU3LjU3MzY2IEMxMjkuNTIyMzI0LDI5NTcuNTczNjYgMTI5Ljk3NzY3NywyOTU3LjM5OTU2IDEzMC4zNjYwNzEsMjk1Ny4wNTEzNCBDMTMwLjc1NDQ2NiwyOTU2LjcwMzEyIDEzMC45NzU0NDYsMjk1Ni4yNzQ1NiAxMzEuMDI5MDE4LDI5NTUuNzY1NjIgTDEzMS4wMjkwMTgsMjk1MS40NDY0MyBMMTI2Ljk3MDk4MiwyOTUxLjQ0NjQzIEwxMjYuOTcwOTgyLDI5NTUuNTQ0NjQgQzEyNi45NzA5ODIsMjk1Ni4xMDcxNSAxMjcuMTY4NTI1LDI5NTYuNTg1OTQgMTI3LjU2MzYxNiwyOTU2Ljk4MTAzIEMxMjcuOTU4NzA3LDI5NTcuMzc2MTIgMTI4LjQzNzQ5NywyOTU3LjU3MzY2IDEyOSwyOTU3LjU3MzY2IFogTTEzNi41NTM1NzEsMjk1NS41NDQ2NCBMMTM2LjU1MzU3MSwyOTUxLjQ0NjQzIEwxMzIuNDc1NDQ2LDI5NTEuNDQ2NDMgTDEzMi40NzU0NDYsMjk1NS41NDQ2NCBDMTMyLjQ3NTQ0NiwyOTU2LjEwNzE1IDEzMi42NzI5ODksMjk1Ni41ODU5NCAxMzMuMDY4MDgsMjk1Ni45ODEwMyBDMTMzLjQ2MzE3MiwyOTU3LjM3NjEyIDEzMy45NDUzMSwyOTU3LjU3MzY2IDEzNC41MTQ1MDksMjk1Ny41NzM2NiBDMTM1LjA4MzcwOCwyOTU3LjU3MzY2IDEzNS41NjU4NDYsMjk1Ny4zNzYxMiAxMzUuOTYwOTM4LDI5NTYuOTgxMDMgQzEzNi4zNTYwMjksMjk1Ni41ODU5NCAxMzYuNTUzNTcxLDI5NTYuMTA3MTUgMTM2LjU1MzU3MSwyOTU1LjU0NDY0IFoiIGlkPSJXaW5rZWwtTm9ybWFsIj48L3BhdGg+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4="

/***/ }),
/* 95 */
/***/ (function(module, exports) {

module.exports = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjE4cHgiIGhlaWdodD0iMThweCIgdmlld0JveD0iMCAwIDE4IDE4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBza2V0Y2h0b29sIDUzLjIgKDcyNjQzKSAtIGh0dHBzOi8vc2tldGNoYXBwLmNvbSAtLT4NCiAgICA8dGl0bGU+RDFCOUFFOEUtMUFBQi00OTRFLTkyQUQtODBCQUQ3OUU3NjYyPC90aXRsZT4NCiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggc2tldGNodG9vbC48L2Rlc2M+DQogICAgPGcgaWQ9IkxhbmRpbmdwYWdpbmEncyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIGlkPSJTdGF0ZXMvQXNzZXRzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTIwLjAwMDAwMCwgLTMwMDEuMDAwMDAwKSIgZmlsbD0iIzAwMDAwMCIgZmlsbC1ydWxlPSJub256ZXJvIj4NCiAgICAgICAgICAgIDxnIGlkPSJLYW50b29yLU5vcm1hbCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTIwLjAwMDAwMCwgMzAwMS4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTYuODIzNjI1LDAgTDUuNDA3ODc1LDAgQzQuOTY1LDAgNC42MDY1LDAuMzU4ODc1IDQuNjA2NSwwLjgwMSBMNC42MDY1LDguMDExODc1IEwwLjgwMTM3NSw4LjAxMTg3NSBDMC4zNTg4NzUsOC4wMTE4NzUgMCw4LjM3IDAsOC44MTI1IEwwLDE2LjgyNCBDMCwxNy4yNjY1IDAuMzU4ODc1LDE3LjYyNSAwLjgwMTM3NSwxNy42MjUgTDguNDEyLDE3LjYyNSBMMTYuODIzNjI1LDE3LjYyNSBDMTcuMjY2NSwxNy42MjUgMTcuNjI1Mzc1LDE3LjI2NjEyNSAxNy42MjUzNzUsMTYuODI0IEwxNy42MjUzNzUsOC44MTI1IEwxNy42MjUzNzUsMC44MDEgQzE3LjYyNSwwLjM1OTI1IDE3LjI2NjEyNSwwIDE2LjgyMzYyNSwwIFogTTYuMjA4ODc1LDEuNjAyMzc1IEwxNi4wMjMsMS42MDIzNzUgTDE2LjAyMyw3LjQ1MzEyNSBMMTMuMDA2MTI1LDUuNzgzMjUgQzEyLjc2Mzg3NSw1LjY1MDEyNSAxMi40NzEzNzUsNS42NTAxMjUgMTIuMjI5ODc1LDUuNzgzMjUgTDguMjA1LDguMDExODc1IEw2LjIwOTI1LDguMDExODc1IEw2LjIwODg3NSwxLjYwMjM3NSBMNi4yMDg4NzUsMS42MDIzNzUgWiBNMS42MDIsOS42MTM1IEw1LjQwNzUsOS42MTM1IEw3LjYxMDYyNSw5LjYxMzUgTDcuNjEwNjI1LDE2LjAyMjYyNSBMMS42MDIsMTYuMDIyNjI1IEwxLjYwMiw5LjYxMzUgWiBNMTYuMDIzMzc1LDE2LjAyMjYyNSBMOS4yMTMsMTYuMDIyNjI1IEw5LjIxMyw5LjI4NDYyNSBMMTIuNjE3NjI1LDcuMzk5ODc1IEwxNi4wMjI2MjUsOS4yODQ2MjUgTDE2LjAyMjYyNSwxNi4wMjI2MjUgTDE2LjAyMzM3NSwxNi4wMjI2MjUgTDE2LjAyMzM3NSwxNi4wMjI2MjUgWiIgaWQ9IlNoYXBlIj48L3BhdGg+DQogICAgICAgICAgICAgICAgPHBhdGggZD0iTTMuODA1MTI1LDEwLjYxNTEyNSBMMi42MDM2MjUsMTAuNjE1MTI1IEMyLjQ5MywxMC42MTUxMjUgMi40MDMzNzUsMTAuNzA0NzUgMi40MDMzNzUsMTAuODE1Mzc1IEwyLjQwMzM3NSwxMi4wMTcyNSBDMi40MDMzNzUsMTIuMTI3ODc1IDIuNDkzLDEyLjIxNzUgMi42MDM2MjUsMTIuMjE3NSBMMy44MDUxMjUsMTIuMjE3NSBDMy45MTYxMjUsMTIuMjE3NSA0LjAwNTM3NSwxMi4xMjc4NzUgNC4wMDUzNzUsMTIuMDE3MjUgTDQuMDA1Mzc1LDEwLjgxNTM3NSBDNC4wMDU3NSwxMC43MDQ3NSAzLjkxNjEyNSwxMC42MTUxMjUgMy44MDUxMjUsMTAuNjE1MTI1IFoiIGlkPSJQYXRoIj48L3BhdGg+DQogICAgICAgICAgICAgICAgPHBhdGggZD0iTTYuNjA5Mzc1LDEwLjYxNTEyNSBMNS40MDc4NzUsMTAuNjE1MTI1IEM1LjI5Njg3NSwxMC42MTUxMjUgNS4yMDc2MjUsMTAuNzA0NzUgNS4yMDc2MjUsMTAuODE1Mzc1IEw1LjIwNzYyNSwxMi4wMTcyNSBDNS4yMDc2MjUsMTIuMTI3ODc1IDUuMjk2ODc1LDEyLjIxNzUgNS40MDc4NzUsMTIuMjE3NSBMNi42MDkzNzUsMTIuMjE3NSBDNi43MiwxMi4yMTc1IDYuODA5NjI1LDEyLjEyNzg3NSA2LjgwOTYyNSwxMi4wMTcyNSBMNi44MDk2MjUsMTAuODE1Mzc1IEM2LjgwOTYyNSwxMC43MDQ3NSA2LjcyLDEwLjYxNTEyNSA2LjYwOTM3NSwxMC42MTUxMjUgWiIgaWQ9IlBhdGgiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMy44MDUxMjUsMTMuNDE5Mzc1IEwyLjYwMzYyNSwxMy40MTkzNzUgQzIuNDkzLDEzLjQxOTM3NSAyLjQwMzM3NSwxMy41MDkgMi40MDMzNzUsMTMuNjE5NjI1IEwyLjQwMzM3NSwxNC44MjE1IEMyLjQwMzM3NSwxNC45MzIxMjUgMi40OTMsMTUuMDIxMzc1IDIuNjAzNjI1LDE1LjAyMTM3NSBMMy44MDUxMjUsMTUuMDIxMzc1IEMzLjkxNjEyNSwxNS4wMjEzNzUgNC4wMDUzNzUsMTQuOTMyMTI1IDQuMDA1Mzc1LDE0LjgyMTUgTDQuMDA1Mzc1LDEzLjYxOTYyNSBDNC4wMDU3NSwxMy41MDkgMy45MTYxMjUsMTMuNDE5Mzc1IDMuODA1MTI1LDEzLjQxOTM3NSBaIiBpZD0iUGF0aCI+PC9wYXRoPg0KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik02LjYwOTM3NSwxMy40MTkzNzUgTDUuNDA3ODc1LDEzLjQxOTM3NSBDNS4yOTY4NzUsMTMuNDE5Mzc1IDUuMjA3NjI1LDEzLjUwOSA1LjIwNzYyNSwxMy42MTk2MjUgTDUuMjA3NjI1LDE0LjgyMTUgQzUuMjA3NjI1LDE0LjkzMjEyNSA1LjI5Njg3NSwxNS4wMjEzNzUgNS40MDc4NzUsMTUuMDIxMzc1IEw2LjYwOTM3NSwxNS4wMjEzNzUgQzYuNzIsMTUuMDIxMzc1IDYuODA5NjI1LDE0LjkzMjEyNSA2LjgwOTYyNSwxNC44MjE1IEw2LjgwOTYyNSwxMy42MTk2MjUgQzYuODA5NjI1LDEzLjUwOSA2LjcyLDEzLjQxOTM3NSA2LjYwOTM3NSwxMy40MTkzNzUgWiIgaWQ9IlBhdGgiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTEuODE3LDEwLjYxNTEyNSBMMTAuNjE1MTI1LDEwLjYxNTEyNSBDMTAuNTA0NSwxMC42MTUxMjUgMTAuNDE1MjUsMTAuNzA0NzUgMTAuNDE1MjUsMTAuODE1Mzc1IEwxMC40MTUyNSwxMi4wMTcyNSBDMTAuNDE1MjUsMTIuMTI3ODc1IDEwLjUwNDUsMTIuMjE3NSAxMC42MTUxMjUsMTIuMjE3NSBMMTEuODE3LDEyLjIxNzUgQzExLjkyNzYyNSwxMi4yMTc1IDEyLjAxNzI1LDEyLjEyNzg3NSAxMi4wMTcyNSwxMi4wMTcyNSBMMTIuMDE3MjUsMTAuODE1Mzc1IEMxMi4wMTcyNSwxMC43MDQ3NSAxMS45Mjc2MjUsMTAuNjE1MTI1IDExLjgxNywxMC42MTUxMjUgWiIgaWQ9IlBhdGgiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTMuNDE5LDEyLjIxNzg3NSBMMTQuNjIwNSwxMi4yMTc4NzUgQzE0LjczMTUsMTIuMjE3ODc1IDE0LjgyMDM3NSwxMi4xMjgyNSAxNC44MjAzNzUsMTIuMDE3NjI1IEwxNC44MjAzNzUsMTAuODE1NzUgQzE0LjgyMDM3NSwxMC43MDUxMjUgMTQuNzMxNSwxMC42MTU1IDE0LjYyMDUsMTAuNjE1NSBMMTMuNDE5LDEwLjYxNTUgQzEzLjMwOCwxMC42MTU1IDEzLjIxODc1LDEwLjcwNTEyNSAxMy4yMTg3NSwxMC44MTU3NSBMMTMuMjE4NzUsMTIuMDE3NjI1IEMxMy4yMTg3NSwxMi4xMjc4NzUgMTMuMzA4LDEyLjIxNzg3NSAxMy40MTksMTIuMjE3ODc1IFoiIGlkPSJQYXRoIj48L3BhdGg+DQogICAgICAgICAgICAgICAgPHBhdGggZD0iTTExLjgxNywxMy40MTkzNzUgTDEwLjYxNTEyNSwxMy40MTkzNzUgQzEwLjUwNDUsMTMuNDE5Mzc1IDEwLjQxNTI1LDEzLjUwOSAxMC40MTUyNSwxMy42MTk2MjUgTDEwLjQxNTI1LDE0LjgyMTUgQzEwLjQxNTI1LDE0LjkzMjEyNSAxMC41MDQ1LDE1LjAyMTM3NSAxMC42MTUxMjUsMTUuMDIxMzc1IEwxMS44MTcsMTUuMDIxMzc1IEMxMS45Mjc2MjUsMTUuMDIxMzc1IDEyLjAxNzI1LDE0LjkzMjEyNSAxMi4wMTcyNSwxNC44MjE1IEwxMi4wMTcyNSwxMy42MTk2MjUgQzEyLjAxNzI1LDEzLjUwOSAxMS45Mjc2MjUsMTMuNDE5Mzc1IDExLjgxNywxMy40MTkzNzUgWiIgaWQ9IlBhdGgiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTMuNDE5LDE1LjAyMTM3NSBMMTQuNjIwNSwxNS4wMjEzNzUgQzE0LjczMTUsMTUuMDIxMzc1IDE0LjgyMDM3NSwxNC45MzIxMjUgMTQuODIwMzc1LDE0LjgyMTUgTDE0LjgyMDM3NSwxMy42MTk2MjUgQzE0LjgyMDM3NSwxMy41MDkgMTQuNzMxNSwxMy40MTkzNzUgMTQuNjIwNSwxMy40MTkzNzUgTDEzLjQxOSwxMy40MTkzNzUgQzEzLjMwOCwxMy40MTkzNzUgMTMuMjE4NzUsMTMuNTA5IDEzLjIxODc1LDEzLjYxOTYyNSBMMTMuMjE4NzUsMTQuODIxNSBDMTMuMjE4NzUsMTQuOTMyMTI1IDEzLjMwOCwxNS4wMjEzNzUgMTMuNDE5LDE1LjAyMTM3NSBaIiBpZD0iUGF0aCI+PC9wYXRoPg0KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik03LjgxMDg3NSw0LjQ4MTYyNSBMOS4wMTI3NSw0LjQ4MTYyNSBDOS4xMjMzNzUsNC40ODE2MjUgOS4yMTMsNC4zOTIgOS4yMTMsNC4yODEzNzUgTDkuMjEzLDMuMDc5MTI1IEM5LjIxMywyLjk2ODUgOS4xMjMzNzUsMi44Nzg4NzUgOS4wMTI3NSwyLjg3ODg3NSBMNy44MTA4NzUsMi44Nzg4NzUgQzcuNzAwMjUsMi44Nzg4NzUgNy42MTEsMi45Njg1IDcuNjExLDMuMDc5MTI1IEw3LjYxMSw0LjI4MSBDNy42MTEsNC4zOTE2MjUgNy43MDAyNSw0LjQ4MTYyNSA3LjgxMDg3NSw0LjQ4MTYyNSBaIiBpZD0iUGF0aCI+PC9wYXRoPg0KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMC42MTUxMjUsNC40ODE2MjUgTDExLjgxNyw0LjQ4MTYyNSBDMTEuOTI3NjI1LDQuNDgxNjI1IDEyLjAxNzI1LDQuMzkyIDEyLjAxNzI1LDQuMjgxMzc1IEwxMi4wMTcyNSwzLjA3OTEyNSBDMTIuMDE3MjUsMi45Njg1IDExLjkyNzYyNSwyLjg3ODg3NSAxMS44MTcsMi44Nzg4NzUgTDEwLjYxNTEyNSwyLjg3ODg3NSBDMTAuNTA0NSwyLjg3ODg3NSAxMC40MTUyNSwyLjk2ODUgMTAuNDE1MjUsMy4wNzkxMjUgTDEwLjQxNTI1LDQuMjgxIEMxMC40MTQxMjUsNC4zOTE2MjUgMTAuNTA0NSw0LjQ4MTYyNSAxMC42MTUxMjUsNC40ODE2MjUgWiIgaWQ9IlBhdGgiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNOS4wMTI3NSw3LjI4NTUgQzkuMTIzMzc1LDcuMjg1NSA5LjIxMyw3LjE5NTg3NSA5LjIxMyw3LjA4NTI1IEw5LjIxMyw1Ljg4MzM3NSBDOS4yMTMsNS43NzI3NSA5LjEyMzM3NSw1LjY4MzEyNSA5LjAxMjc1LDUuNjgzMTI1IEw3LjgxMDg3NSw1LjY4MzEyNSBDNy43MDAyNSw1LjY4MzEyNSA3LjYxMSw1Ljc3Mjc1IDcuNjExLDUuODgzMzc1IEw3LjYxMSw3LjA4NTI1IEM3LjYxMSw3LjE5NTg3NSA3LjcwMDI1LDcuMjg1NSA3LjgxMDg3NSw3LjI4NTUgTDkuMDEyNzUsNy4yODU1IFoiIGlkPSJQYXRoIj48L3BhdGg+DQogICAgICAgICAgICAgICAgPHBhdGggZD0iTTEzLjQxOSw0LjQ4MTYyNSBMMTQuNjIwNSw0LjQ4MTYyNSBDMTQuNzMxNSw0LjQ4MTYyNSAxNC44MjAzNzUsNC4zOTIgMTQuODIwMzc1LDQuMjgxMzc1IEwxNC44MjAzNzUsMy4wNzkxMjUgQzE0LjgyMDM3NSwyLjk2ODUgMTQuNzMxNSwyLjg3ODg3NSAxNC42MjA1LDIuODc4ODc1IEwxMy40MTksMi44Nzg4NzUgQzEzLjMwOCwyLjg3ODg3NSAxMy4yMTg3NSwyLjk2ODUgMTMuMjE4NzUsMy4wNzkxMjUgTDEzLjIxODc1LDQuMjgxIEMxMy4yMTg3NSw0LjM5MTYyNSAxMy4zMDgsNC40ODE2MjUgMTMuNDE5LDQuNDgxNjI1IFoiIGlkPSJQYXRoIj48L3BhdGg+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4="

/***/ }),
/* 96 */
/***/ (function(module, exports) {

module.exports = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjE4cHgiIGhlaWdodD0iMThweCIgdmlld0JveD0iMCAwIDE4IDE4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBza2V0Y2h0b29sIDUzLjIgKDcyNjQzKSAtIGh0dHBzOi8vc2tldGNoYXBwLmNvbSAtLT4NCiAgICA8dGl0bGU+M0UzQTMyMEMtRkMwRi00REUxLUE3ODAtQjNBOTJCQUI1RTg5PC90aXRsZT4NCiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggc2tldGNodG9vbC48L2Rlc2M+DQogICAgPGcgaWQ9IkxhbmRpbmdwYWdpbmEncyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIGlkPSJTdGF0ZXMvQXNzZXRzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTIwLjAwMDAwMCwgLTMwNTAuMDAwMDAwKSIgZmlsbD0iIzAwMDAwMCIgZmlsbC1ydWxlPSJub256ZXJvIj4NCiAgICAgICAgICAgIDxnIGlkPSJJbmR1c3RyaWUtTm9ybWFsIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMjAuMDAwMDAwLCAzMDUwLjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMC44OTQ3MzY4LDE1LjYzMTU3ODkgTDguMDUyNjMxNTgsMTUuNjMxNTc4OSBMOC4wNTI2MzE1OCwxMi43ODk0NzM3IEwxMC44OTQ3MzY4LDEyLjc4OTQ3MzcgTDEwLjg5NDczNjgsMTUuNjMxNTc4OSBaIE04Ljk5OTQ2MzQ0LDE0LjY4NDcxNTUgTDkuOTQ3ODQxODUsMTQuNjg0NzE1NSBMOS45NDc4NDE4NSwxMy43MzYzMzcxIEw4Ljk5OTQ2MzQ0LDEzLjczNjMzNzEgTDguOTk5NDYzNDQsMTQuNjg0NzE1NSBMOC45OTk0NjM0NCwxNC42ODQ3MTU1IFoiIGlkPSJTaGFwZSI+PC9wYXRoPg0KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xNC42ODQyMTA1LDE1LjYzMTU3ODkgTDExLjg0MjEwNTMsMTUuNjMxNTc4OSBMMTEuODQyMTA1MywxMi43ODk0NzM3IEwxNC42ODQyMTA1LDEyLjc4OTQ3MzcgTDE0LjY4NDIxMDUsMTUuNjMxNTc4OSBaIE0xMi43ODkwMDAzLDE0LjY4NDcxNTUgTDEzLjczNzM3ODcsMTQuNjg0NzE1NSBMMTMuNzM3Mzc4NywxMy43MzYzMzcxIEwxMi43ODkwMDAzLDEzLjczNjMzNzEgTDEyLjc4OTAwMDMsMTQuNjg0NzE1NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTcuNTI2MzE1OCwxNy41MjYzMTU4IEwxNy41MjYzMTU4LDYuMzk2MzE4NiBMMTMuNzg3OTM4OCw4Ljc1NTY4OTEgTDEzLjc4NzkzODgsNi40Mjc1NjY0MSBMOS43OTE3MTc0Myw4Ljc4NjkzNjkyIEw5Ljc5MTcxNzQzLDYuNDI3NTY2NDEgTDUuNzQ3NzAzOTMsOC44MTUxNjkwMyBMNS4zMTAxMTQ1Myw0LjI2MzE1Nzg5IEwxLjc0ODcxODI5LDQuMjYzMTU3ODkgTDAuNDczNjg0MjExLDE3LjUyNjMxNTggTDE3LjUyNjMxNTgsMTcuNTI2MzE1OCBaIE00LjM5OTE5OTg3LDUuMjI1NjE2MjkgTDQuNDkxNzUzNDEsNi4xODgyMDMwMSBMMi41NjcwNzk0MSw2LjE4ODIwMzAxIEwyLjY1OTYzMjk1LDUuMjI1NjE2MjkgTDQuMzk5MTk5ODcsNS4yMjU2MTYyOSBaIE0xLjU2OTYwNjA0LDE2LjU2Mzg1NzQgTDIuNDc0NTU5MTgsNy4xNTA2NjE0IEw0LjU4NDI3MzY0LDcuMTUwNjYxNCBMNS40ODkyMjY3OCwxNi41NjM4NTc0IEwxLjU2OTYwNjA0LDE2LjU2Mzg1NzQgWiBNMTYuNTI3MjEwNSwxNi41NjM4NTc0IEw2LjQ5MjYyODM3LDE2LjU2Mzg1NzQgTDUuODUwNDE1MzgsOS44ODMzMzc0NCBMOC43OTI2MTIxMyw4LjE0NjI2MDQ1IEw4Ljc5MjYxMjEzLDEwLjUwNTYzMSBMMTIuNzg4ODMzNSw4LjE0NjI2MDQ1IEwxMi43ODg4MzM1LDEwLjUzNjg3ODggTDE2LjUyNzIxMDUsOC4xNzc1MDgyNiBMMTYuNTI3MjEwNSwxNi41NjM4NTc0IEwxNi41MjcyMTA1LDE2LjU2Mzg1NzQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+DQogICAgICAgICAgICAgICAgPHBhdGggZD0iTTEzLjk5MTE1NzcsNS4yMTA1MjYzMiBMNy42MDU0NDM5OSw1LjIxMDUyNjMyIEw3LjQ1MzI1MDI2LDUuMDA1NTA2MSBDNy4xMzgxMTI1NCw0LjU4MTAyOTY5IDcuMDk2Mzk2MTgsMy43Nzc4MjE1NCA3LjEwNjYwNTUzLDMuNTI5ODk5NTUgQzcuMTUyOTUzMjksMi40MDQ2MzI4IDguMDQ4MjY2MjMsMS40ODkxNDkwMyA5LjEwMjM5ODg0LDEuNDg5MTQ5MDMgQzkuMzMyMDA3ODcsMS40ODkxNDkwMyA5LjU2MDE2MzI1LDEuNTI3NTA5NTYgOS43OTIwMzcyNiwxLjYwNTU1OTc1IEMxMC4yOTU2MDg1LDAuODg4OTMwNDU5IDExLjA5MDM0OTIsMC40NzM2ODQyMTEgMTEuOTk3MTIyMywwLjQ3MzY4NDIxMSBDMTIuNjkxNzk3OCwwLjQ3MzY4NDIxMSAxMy4zNTQ1MjY4LDAuNzM4MTgzNTU1IDEzLjg2MzIzNjYsMS4yMTgzNzMxOCBDMTQuMzg0OTk1MywxLjcxMDkzMTIxIDE0LjY4NDIxMDUsMi4zOTA3ODc1NyAxNC42ODQyMTA1LDMuMDgzNjAzMDYgQzE0LjY4NDIxMDUsMy42MDAzNDQxIDE0LjUxNjI2MzMsNC41NDE4NTY5MSAxNC4xNDI5MTIsNS4wMTcyNDY4NSBMMTMuOTkxMTU3Nyw1LjIxMDUyNjMyIFogTTguMTc2MDUyMTcsNC4xMDI5MDc2MiBMMTMuNDczOTI4OSw0LjEwMjkwNzYyIEMxMy41ODA2MiwzLjgzMjEzMTc3IDEzLjY3MDA3MDIsMy4zOTQxMDU1IDEzLjY3MDA3MDIsMy4wODM2Mzk5OCBDMTMuNjcwMDcwMiwyLjcwNzM0NDk5IDEzLjUwMzEzNzEsMi4zNDI0OTUzOSAxMy4yMDAwMzQzLDIuMDU2MzYwNTYgQzEyLjg4MDIzMTQsMS43NTQ0MjM3MSAxMi40NDE3NzAxLDEuNTgxMzAyOSAxMS45OTcxMjIzLDEuNTgxMzAyOSBDMTEuMjk5MDMyNCwxLjU4MTMwMjkgMTAuNzMzMTIzMywxLjkzMTQ1ODA5IDEwLjQ0NDU5MDcsMi41NDE5Nzc1MiBMMTAuMjE3NTg0NywzLjAyMjI3NzkgTDkuNzcyNDI5OSwyLjc4NjEzMzYgQzkuNTI4OTI2NjgsMi42NTY5NDgzNCA5LjMxNjAxNzcyLDIuNTk2ODA0NjQgOS4xMDIzOTg4NCwyLjU5NjgwNDY0IEM4LjUyMDQ2NTcyLDIuNTk2ODA0NjQgOC4xMzkyMzc2NSwzLjEwNzAxMDczIDguMTE5NzY1NTEsMy41Nzk3NzkzMSBDOC4xMTM1MTE0MywzLjczMDg1ODUgOC4xNDAzODcwNSwzLjk0MjMzOTgzIDguMTc2MDUyMTcsNC4xMDI5MDc2MiBaIiBpZD0iU2hhcGUiPjwvcGF0aD4NCiAgICAgICAgICAgIDwvZz4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg=="

/***/ }),
/* 97 */
/***/ (function(module, exports) {

module.exports = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjEycHgiIGhlaWdodD0iMTJweCIgdmlld0JveD0iMCAwIDEyIDEyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBza2V0Y2h0b29sIDU0ICg3NjQ4MCkgLSBodHRwczovL3NrZXRjaGFwcC5jb20gLS0+DQogICAgPHRpdGxlPkM0RkE4ODg3LUIxRkMtNEIxNS1BMEFFLTY4RjhGQzYxRjY5MDwvdGl0bGU+DQogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPg0KICAgIDxnIGlkPSJMYW5kaW5ncGFnaW5hJ3MiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0iTGFuZGluZ3NwYWdpbmEtVGVtcGxhdGUtRGVza3RvcC0xNDQwLSstTWluaWNhbGN1bGF0b3ItNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTg5MC4wMDAwMDAsIC03OTEuMDAwMDAwKSIgZmlsbD0iIzFGMjQ0NiIgZmlsbC1ydWxlPSJub256ZXJvIj4NCiAgICAgICAgICAgIDxwYXRoIGQ9Ik04OTYsODAxLjgxNzMwOCBDODk2Ljg2NTM4OSw4MDEuODE3MzA4IDg5Ny42NzMwNzMsODAxLjU5NjE1NiA4OTguNDIzMDc3LDgwMS4xNTM4NDYgQzg5OS4xNTM4NSw4MDAuNzMwNzY3IDg5OS43MzA3NjcsODAwLjE1Mzg1IDkwMC4xNTM4NDYsNzk5LjQyMzA3NyBDOTAwLjU5NjE1Niw3OTguNjczMDczIDkwMC44MTczMDgsNzk3Ljg2NTM4OSA5MDAuODE3MzA4LDc5NyBDOTAwLjgxNzMwOCw3OTYuMTM0NjExIDkwMC41OTYxNTYsNzk1LjMyNjkyNyA5MDAuMTUzODQ2LDc5NC41NzY5MjMgQzg5OS43MzA3NjcsNzkzLjg0NjE1IDg5OS4xNTM4NSw3OTMuMjY5MjMzIDg5OC40MjMwNzcsNzkyLjg0NjE1NCBDODk3LjY3MzA3Myw3OTIuNDAzODQ0IDg5Ni44NjUzODksNzkyLjE4MjY5MiA4OTYsNzkyLjE4MjY5MiBDODk1LjEzNDYxMSw3OTIuMTgyNjkyIDg5NC4zMjY5MjcsNzkyLjQwMzg0NCA4OTMuNTc2OTIzLDc5Mi44NDYxNTQgQzg5Mi44NDYxNSw3OTMuMjY5MjMzIDg5Mi4yNjkyMzMsNzkzLjg0NjE1IDg5MS44NDYxNTQsNzk0LjU3NjkyMyBDODkxLjQwMzg0NCw3OTUuMzI2OTI3IDg5MS4xODI2OTIsNzk2LjEzNDYxMSA4OTEuMTgyNjkyLDc5NyBDODkxLjE4MjY5Miw3OTcuODY1Mzg5IDg5MS40MDM4NDQsNzk4LjY3MzA3MyA4OTEuODQ2MTU0LDc5OS40MjMwNzcgQzg5Mi4yNjkyMzMsODAwLjE1Mzg1IDg5Mi44NDYxNSw4MDAuNzMwNzY3IDg5My41NzY5MjMsODAxLjE1Mzg0NiBDODk0LjMyNjkyNyw4MDEuNTk2MTU2IDg5NS4xMzQ2MTEsODAxLjgxNzMwOCA4OTYsODAxLjgxNzMwOCBaIE04OTYsNzkxIEM4OTcuMDk2MTU5LDc5MSA4OTguMTEwNTcyLDc5MS4yNzQwMzYgODk5LjA0MzI2OSw3OTEuODIyMTE1IEM4OTkuOTQ3MTIsNzkyLjM0MTM0OSA5MDAuNjU4NjUxLDc5My4wNTI4OCA5MDEuMTc3ODg1LDc5My45NTY3MzEgQzkwMS43MjU5NjQsNzk0Ljg4OTQyOCA5MDIsNzk1LjkwMzg0MSA5MDIsNzk3IEM5MDIsNzk4LjA5NjE1OSA5MDEuNzI1OTY0LDc5OS4xMTA1NzIgOTAxLjE3Nzg4NSw4MDAuMDQzMjY5IEM5MDAuNjU4NjUxLDgwMC45NDcxMiA4OTkuOTQ3MTIsODAxLjY1ODY1MSA4OTkuMDQzMjY5LDgwMi4xNzc4ODUgQzg5OC4xMTA1NzIsODAyLjcyNTk2NCA4OTcuMDk2MTU5LDgwMyA4OTYsODAzIEM4OTQuOTAzODQxLDgwMyA4OTMuODg5NDI4LDgwMi43MjU5NjQgODkyLjk1NjczMSw4MDIuMTc3ODg1IEM4OTIuMDUyODgsODAxLjY0OTAzNiA4OTEuMzQxMzQ5LDgwMC45MzI2OTcgODkwLjgyMjExNSw4MDAuMDI4ODQ2IEM4OTAuMjc0MDM2LDc5OS4wOTYxNDkgODkwLDc5OC4wODY1NDQgODkwLDc5NyBDODkwLDc5NS45MTM0NTYgODkwLjI3NDAzNiw3OTQuOTAzODUxIDg5MC44MjIxMTUsNzkzLjk3MTE1NCBDODkxLjM1MDk2NCw3OTMuMDY3MzAzIDg5Mi4wNjczMDMsNzkyLjM1MDk2NCA4OTIuOTcxMTU0LDc5MS44MjIxMTUgQzg5My45MDM4NTEsNzkxLjI3NDAzNiA4OTQuOTEzNDU2LDc5MSA4OTYsNzkxIFogTTg5NS40MDg2NTQsNzkzLjk4NTU3NyBMODk2LjU5MTM0Niw3OTMuOTg1NTc3IEw4OTYuNTkxMzQ2LDc5Ny41OTEzNDYgTDg5NS40MDg2NTQsNzk3LjU5MTM0NiBMODk1LjQwODY1NCw3OTMuOTg1NTc3IFogTTg5NS40MDg2NTQsNzk4LjgwMjg4NSBMODk2LjU5MTM0Niw3OTguODAyODg1IEw4OTYuNTkxMzQ2LDgwMC4wMTQ0MjMgTDg5NS40MDg2NTQsODAwLjAxNDQyMyBMODk1LjQwODY1NCw3OTguODAyODg1IFoiIGlkPSIhLUJsdWUiPjwvcGF0aD4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg=="

/***/ }),
/* 98 */
/***/ (function(module, exports) {

module.exports = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjE0cHgiIGhlaWdodD0iMTRweCIgdmlld0JveD0iMCAwIDE0IDE0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDx0aXRsZT4wMUNEMzQ5RS0zQUMwLTRDOTMtQjhGMi0yMEREMUNEMEQxRjU8L3RpdGxlPg0KICAgIDxnIGlkPSJMYW5kaW5ncGFnaW5hJ3MtLy1taW5pLWNhbGN1bGF0b3IiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0iTWluaS1DYWxjdWxhdG9yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtODYxLjAwMDAwMCwgLTczNS4wMDAwMDApIiBmaWxsPSIjODg4Nzg3IiBmaWxsLXJ1bGU9Im5vbnplcm8iPg0KICAgICAgICAgICAgPHBhdGggZD0iTTg2OC42MjUyNzIsNzM2Ljg4NjA5IEw4NjguNjI1MjcyLDczNSBMODY3LjM3NDcyOCw3MzUgTDg2Ny4zNzQ3MjgsNzM2Ljg4NjA5IEw4NjguNjI1MjcyLDczNi44ODYwOSBaIE04NzIuMjI0NDAxLDczOC42MzQxNzMgTDg3My4zNjgxOTIsNzM3LjQ4NDExOCBMODcyLjQ2ODQxLDczNi41OTQ3NDMgTDg3MS4zMzk4NjksNzM3LjcyOTQ2MyBMODcyLjIyNDQwMSw3MzguNjM0MTczIFogTTg2My43NzU1OTksNzM4LjYzNDE3MyBMODY0LjY2MDEzMSw3MzcuNzI5NDYzIEw4NjMuNTMxNTksNzM2LjU5NDc0MyBMODYyLjYzMTgwOCw3MzcuNDg0MTE4IEw4NjMuNzc1NTk5LDczOC42MzQxNzMgWiBNODY4LDc0NS44MTA1MTUgQzg2OC42OTEzNTgsNzQ1LjgxMDUxNSA4NjkuMzI5MzM5LDc0NS42MzkyODQgODY5LjkxMzk0Myw3NDUuMjk2ODI0IEM4NzAuNDk4NTQ4LDc0NC45NTQzNjMgODcwLjk2MTE0Nyw3NDQuNDg5MjMgODcxLjMwMTc0Myw3NDMuOTAxNDI0IEM4NzEuNjQyMzM4LDc0My4zMTM2MTggODcxLjgxMjYzNiw3NDIuNjcyMTQzIDg3MS44MTI2MzYsNzQxLjk3Njk5OSBDODcxLjgxMjYzNiw3NDEuMjgxODU1IDg3MS42NDIzMzgsNzQwLjY0MDM4IDg3MS4zMDE3NDMsNzQwLjA1MjU3NCBDODcwLjk2MTE0Nyw3MzkuNDY0NzY4IDg3MC40OTg1NDgsNzM4Ljk5OTYzNSA4NjkuOTEzOTQzLDczOC42NTcxNzQgQzg2OS4zMjkzMzksNzM4LjMxNDcxMyA4NjguNjkxMzU4LDczOC4xNDM0ODMgODY4LDczOC4xNDM0ODMgQzg2Ny4zMDg2NDIsNzM4LjE0MzQ4MyA4NjYuNjcwNjYxLDczOC4zMTQ3MTMgODY2LjA4NjA1Nyw3MzguNjU3MTc0IEM4NjUuNTAxNDUyLDczOC45OTk2MzUgODY1LjAzODg1Myw3MzkuNDY0NzY4IDg2NC42OTgyNTcsNzQwLjA1MjU3NCBDODY0LjM1NzY2Miw3NDAuNjQwMzggODY0LjE4NzM2NCw3NDEuMjgxODU1IDg2NC4xODczNjQsNzQxLjk3Njk5OSBDODY0LjE4NzM2NCw3NDIuNjcyMTQzIDg2NC4zNTc2NjIsNzQzLjMxMzYxOCA4NjQuNjk4MjU3LDc0My45MDE0MjQgQzg2NS4wMzg4NTMsNzQ0LjQ4OTIzIDg2NS41MDE0NTIsNzQ0Ljk1NDM2MyA4NjYuMDg2MDU3LDc0NS4yOTY4MjQgQzg2Ni42NzA2NjEsNzQ1LjYzOTI4NCA4NjcuMzA4NjQyLDc0NS44MTA1MTUgODY4LDc0NS44MTA1MTUgWiBNODc1LDc0Mi42MzYzNjQgTDg3NSw3NDEuMzQ4MzAyIEw4NzMuMDkzNjgyLDc0MS4zNDgzMDIgTDg3My4wOTM2ODIsNzQyLjYzNjM2NCBMODc1LDc0Mi42MzYzNjQgWiBNODYyLjkwNjMxOCw3NDIuNjM2MzY0IEw4NjIuOTA2MzE4LDc0MS4zNDgzMDIgTDg2MSw3NDEuMzQ4MzAyIEw4NjEsNzQyLjYzNjM2NCBMODYyLjkwNjMxOCw3NDIuNjM2MzY0IFogTTg2My41MzE1OSw3NDcuNDA1MjU3IEw4NjQuNjYwMTMxLDc0Ni4yMzk4NjkgTDg2My43NzU1OTksNzQ1LjMzNTE1OSBMODYyLjYzMTgwOCw3NDYuNTAwNTQ4IEw4NjMuNTMxNTksNzQ3LjQwNTI1NyBaIE04NzIuNDY4NDEsNzQ3LjQwNTI1NyBMODczLjM2ODE5Miw3NDYuNTAwNTQ4IEw4NzIuMjI0NDAxLDc0NS4zNjU4MjcgTDg3MS4zMzk4NjksNzQ2LjIzOTg2OSBMODcyLjQ2ODQxLDc0Ny40MDUyNTcgWiBNODY4LjYyNTI3Miw3NDkgTDg2OC42MjUyNzIsNzQ3LjA5ODU3NiBMODY3LjM3NDcyOCw3NDcuMDk4NTc2IEw4NjcuMzc0NzI4LDc0OSBMODY4LjYyNTI3Miw3NDkgWiIgaWQ9IlN1bi1pY29uLUNvcHktNyI+PC9wYXRoPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+"

/***/ }),
/* 99 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(100);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 100 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports


// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.btn{border-radius:30px;height:50px;font-size:18px;font-weight:bold;padding:6px 40px;transition:background-color 300ms linear;float:right;display:block;text-align:center}.submit-button .btn:hover,.submit-button .btn:focus{border-color:#d55f36;background-color:#d55f36;box-shadow:none !important}.submit-button .btn:not(:disabled):not(.disabled):active,.submit-button .btn:not(:disabled):not(.disabled).active,.show>.submit-button .btn.dropdown-toggle,.btn-success:not(:disabled):not(.disabled):active,.btn-success:not(:disabled):not(.disabled).active,.show>.btn-success.dropdown-toggle{color:#fff;border-color:#d55f36;background-color:#d55f36}.submit-button .btn:not(:disabled):not(.disabled):active:focus,.submit-button .btn:not(:disabled):not(.disabled).active:focus,.show>.submit-button .btn.dropdown-toggle:focus{box-shadow:none;outline:none;outline-offset:-2px}.submit-button .btn>.fa-caret-right{display:none}\n", ""]);

// exports


/***/ }),
/* 101 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(102);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 102 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.mini-calculator-container{position:relative;padding-right:15px;padding-left:15px;flex:100%;display:inline-table;width:405px}.mini-calculator-container .footer-info-section{color:#6E7898;display:flex;flex-flow:row wrap;font-size:15px}.mini-calculator-container .footer-info-section a{color:#3ca6d0 !important;text-decoration:underline}.mini-calculator{display:flex;margin:0 auto;max-width:1200px;flex-flow:column wrap;border-radius:10px;margin-bottom:20px;background-color:#324376;box-shadow:10px 10px 40px rgba(31,36,70,0.301961)}.mini-calculator .laagste-prijs-garantie-label{position:absolute;background-image:url(" + escape(__webpack_require__(26)) + ");background-position:0 0;height:113px;width:100px;top:-30px;right:-5px}.mini-calculator .section-header{border-radius:4px 4px 0 0;color:white;padding:52px 32px 24px;text-align:left}.mini-calculator .section-header h6{color:#f6bd60;font-weight:600}.mini-calculator .section-header h2{margin:0;font-size:24px;font-weight:700 !important}.mini-calculator .mini-calculator-address{display:flex}.mini-calculator .mini-calculator-address>*{flex-basis:100%;gap:1em;color:#ffffff;flex-direction:column;font-weight:600}.mini-calculator .postcode-item{padding-right:2%;flex:0 0 100px}.mini-calculator .huisnummer-item{padding-right:2%}.mini-calculator .mini-calculator-form{width:100%;margin:0 auto;padding:0px 32px 52px;border-top-right-radius:6px}.mini-calculator i.icon-info{background-image:url(" + escape(__webpack_require__(22)) + ") !important;height:12px !important;width:12px !important;display:inline-block !important;margin:0 2px 2px 5px !important}.mini-calculator .btn-md{height:50px;font-size:16px;font-weight:600;padding:6px 40px;border-radius:30px;background-color:#ed6a3d;transition:background-color 300ms linear;border:none;width:100%}.mini-calculator .btn-md:focus,.mini-calculator .btn-md.focus{box-shadow:none !important}.mini-calculator .btn-md:hover{background-color:#d55f36}.mini-calculator .validation-and-submit-section{display:flex;flex-flow:row wrap;justify-content:center;align-items:center;flex:100%;flex-direction:column;flex-wrap:wrap;width:100%;margin:0 auto;padding-top:32px;background-color:#324376;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.mini-calculator .validation-and-submit-section a{color:#3ca6d0 !important}.mini-calculator .validation-and-submit-section .btn.btn-success.btn-md{color:white}.mini-calculator .text-bellow-submit-button{color:#06a77d !important;text-align:center !important;justify-content:center;margin-bottom:0;margin-top:12px;font-weight:bold;line-height:18px}.mini-calculator .info-block{padding:10px 10px 10px 30px;background-color:#1f2446;position:relative;border-radius:6px;color:#d9dce6;margin-bottom:2%;font-size:15px;margin-top:-8px}.mini-calculator .info-block i.icon-info{background-image:url(" + escape(__webpack_require__(38)) + ");position:absolute;cursor:default;margin:0 8px 2px 0px !important;height:12px;width:12px;left:10px;top:15px}.mini-calculator .calculator-steps{position:relative}.mini-calculator .leverancier-block{margin:0 0 2%;width:100%}.mini-calculator .calculator-step{display:flex;flex-flow:column}.mini-calculator .dropdown{position:relative;display:flex}.mini-calculator .checkboxes-block{display:block;margin-bottom:2%}.mini-calculator .checkbox>input[type=checkbox]+label:before{margin-right:12px}.mini-calculator .checkbox>input[type=checkbox]+label{font-weight:normal;font-size:16px}.mini-calculator .dropdown-toggle{border-radius:6px;color:#47506b}.mini-calculator .dropdown button span{font-weight:600;color:#47506b}.mini-calculator .dropdown .dropdown-item{color:#47506b;font-weight:600}.mini-calculator .dropdown .btn{height:50px;font-size:15px;font-weight:bold;border-radius:2px;transition:background-color 300ms linear;float:right;display:block;text-align:left;font-weight:bold;padding:0 12px}.mini-calculator .dropdown span{font-weight:bold;font-size:15px}.mini-calculator .dropdown .dropdown-item.active,.mini-calculator .dropdown .dropdown-item:active,.mini-calculator .dropdown .dropdown-item:hover,.mini-calculator .dropdown .dropdown-item:focus{text-decoration:none;color:#2196f3 !important;background-color:#f3f3f3 !important;border-left:4px solid #2196f3 !important;float:inherit}.mini-calculator .dropdown-toggle::after{float:right;margin-top:10px}.mini-calculator .calculator-single-meter-block .amount-input-block.stroom-verbruik,.mini-calculator .calculator-double-meter-block .amount-input-block.stroom-verbruik{margin-bottom:2%;margin-right:2%}.mini-calculator .calculator-single-meter-block .amount-input-block:nth-child(even),.mini-calculator .calculator-double-meter-block .amount-input-block:nth-child(even){float:left}.mini-calculator .calculator-single-meter-block .amount-input-block,.mini-calculator .calculator-double-meter-block .amount-input-block{flex:49%;flex-grow:0}.mini-calculator .calculator-single-meter-block .amount-input-block.gas-verbruik,.mini-calculator .calculator-double-meter-block .amount-input-block.gas-verbruik{flex:49%;flex-grow:0}.mini-calculator .calculator-single-meter-block .amount-input-block:nth-child(odd),.mini-calculator .calculator-double-meter-block .amount-input-block:nth-child(odd){float:right;margin-right:0}.mini-calculator .calculator-single-meter-block .amount-input-block.stroom-verbruik .input-group .input-right-side,.mini-calculator .calculator-double-meter-block .amount-input-block.stroom-verbruik .input-group .input-right-side{min-width:49px}.mini-calculator .calculator-single-meter-block.has-solar-panels{display:flex;flex-flow:row wrap}.mini-calculator label{width:100%;color:white;font-size:15px;line-height:18px;font-weight:600;margin-bottom:8px}.mini-calculator .solar-panel-label{width:49%;float:right}.mini-calculator .toggle-verbruik{float:left;flex:100%;display:block}.mini-calculator .text-underline{color:#3ca6d0 !important;text-decoration:underline !important}.mini-calculator .validation-tooltip{left:0;top:auto;z-index:99;font-size:13px;line-height:16px;border-radius:2px;position:absolute;color:#fff !important;padding:5px 13px 5px 5px;background-color:#333333;margin-top:10px;display:flex;position:relative}.mini-calculator .validation-tooltip:before{content:'';width:0;height:0;left:20px;bottom:100%;position:absolute;margin-left:-8px;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #333}.mini-calculator .calculator-double-meter-block{display:flex;flex-flow:row wrap}.mini-calculator .calculator-single-meter-block .amount-input-block:nth-child(even),.mini-calculator .calculator-double-meter-block .amount-input-block:nth-child(even){float:left}.mini-calculator .calculator-double-meter-block .amount-input-block{margin-bottom:31px}.mini-calculator .calculator-single-meter-block .amount-input-block,.mini-calculator .calculator-double-meter-block .amount-input-block{flex:49%;flex-grow:0}.mini-calculator .amount-input-block{position:relative}.mini-calculator .calculator-single-meter-block .amount-input-block:nth-child(odd),.mini-calculator .calculator-double-meter-block .amount-input-block:nth-child(odd){float:right;margin-right:0}.mini-calculator .calculator-double-meter-block .amount-input-block{margin-bottom:31px}.mini-calculator form>div>div>div:nth-child(4)>div.typepands-block{margin-right:0 !important}.mini-calculator .typepands-block{margin-bottom:2%}.mini-calculator .amount-input-block{position:relative;flex:50%;margin-bottom:2%}.mini-calculator .number-input{grid-area:number-input;border-collapse:separate;border:1px solid #ccc;position:relative;border-radius:6px !important;display:flex;width:100%;height:52px;background-color:#fff}.mini-calculator .number-input input{border:none !important;text-align:center;position:relative;box-shadow:none;padding:3px;z-index:2;float:left;width:100%}.mini-calculator .number-input .form-control{height:48px;min-width:0}.mini-calculator .form-control,.mini-calculator .dropdown-toggle,.mini-calculator .input-group{border:1px solid #ccc;border-radius:6px}.mini-calculator button.dropdown-toggle.btn.btn-primary{padding-top:0px;padding-bottom:0px;border-radius:6px}.mini-calculator .amount-input-block.stroom-verbruik{grid-area:stroom-verbruik}.mini-calculator .stroom-verbruik .input-group{grid-template-columns:25px 1fr 40px;grid-template-areas:'input-left-side input-element input-right-side'}.mini-calculator .amount-input-block.gas-verbruik{grid-area:gas-verbruik}.mini-calculator .gas-verbruik .input-group{grid-template-columns:25px 1fr 35px;grid-template-areas:'input-left-side input-element input-right-side'}.mini-calculator .amount-input-block.stroom-energie-production{grid-area:stroom-energie-production}.mini-calculator .stroom-energie-production .input-group{grid-template-columns:1fr 50px;grid-template-areas:'input-element input-right-side'}.mini-calculator .amount-input-block.stroom-verbruik-hoog{grid-area:stroom-verbruik-hoog;margin-right:2%}.mini-calculator .stroom-verbruik-hoog .input-group{grid-template-columns:1fr 40px;grid-template-areas:'input-element input-right-side'}.mini-calculator .amount-input-block.stroom-energie-production-hoog{grid-area:stroom-energie-production-hoog}.mini-calculator .stroom-energie-production-hoog .input-group{grid-template-columns:1fr 50px;grid-template-areas:'input-element input-right-side'}.mini-calculator .amount-input-block.stroom-verbruik-laag{grid-area:stroom-verbruik-laag;margin-right:2%}.mini-calculator .stroom-verbruik-laag .input-group{grid-template-columns:1fr 40px;grid-template-areas:'input-element input-right-side'}.mini-calculator .amount-input-block.stroom-energie-production-laag{grid-area:stroom-energie-production-laag}.mini-calculator .stroom-energie-production-laag .input-group{grid-template-columns:1fr 50px;grid-template-areas:'input-element input-right-side'}.mini-calculator .text-input input{border-radius:6px;font-size:16px;color:#1f2446}.mini-calculator .text-input input::placeholder{color:#47506B;font-weight:normal}.mini-calculator>*{color:white}\n", ""]);

// exports


/***/ }),
/* 103 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(104);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 104 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports


// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}\n", ""]);

// exports


/***/ }),
/* 105 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(106);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 106 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports


// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}\n", ""]);

// exports


/***/ }),
/* 107 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(108);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 108 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.mkb-stap1-container{position:relative;padding-right:15px;padding-left:15px;flex:100%;display:inline-table}.mkb-stap1-container .footer-info-section{color:#a2a2a2;display:flex;flex-flow:row wrap;flex:100%}.mkb-stap1-container .footer-info-section a{color:#3ca6d0 !important;text-decoration:underline}.mkb-stap1{display:flex;margin:0 auto;max-width:1200px;flex-flow:column wrap;box-shadow:none;border-radius:6px;margin-bottom:20px}.mkb-stap1 .mkb-stap1-address{display:flex}.mkb-stap1 .mkb-stap1-address>*{flex:1 1 33%;flex-basis:100%;gap:1em;flex-direction:column;font-weight:600}.mkb-stap1 .postcode-item{flex:33%;display:flex;flex-direction:column;padding-right:2%}.mkb-stap1 .huisnummer-item{flex:33%;display:flex;flex-direction:column;padding-right:2%}.mkb-stap1 .toevoeging-item{flex:33%;display:flex;flex-direction:column}.mkb-stap1 .mkb-stap1-form{width:100%;margin:0 auto;padding:0px 32px 32px;border-top-right-radius:6px}.mkb-stap1 h4{font-size:16px;font-weight:600;margin-top:40px}.mkb-stap1 fieldset{background:#e6e6e6;padding:22px}.mkb-stap1 .stroom-leverancier .radio label,.mkb-stap1 .stroom-leverancier .checkbox label{padding-left:5px}.mkb-stap1 .btn-primary.dropdown-toggle:focus{border-color:#66afe9 !important}.mkb-stap1 .radio-button-items{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-around;align-items:flex-start}.mkb-stap1 .radio label,.mkb-stap1 .checkbox label{min-height:20px;margin-bottom:0;font-weight:normal;cursor:pointer}.mkb-stap1 .first-items{position:relative;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:space-around;align-items:flex-start;flex:25%}.mkb-stap1 .second-items{position:relative;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:space-around;align-items:flex-start;flex:65%}.mkb-stap1 .radio-button-item-with-dropdown{display:flex;flex-direction:row}.mkb-stap1 .radio-button-dropdown{margin-left:2rem}.mkb-stap1 button.dropdown-toggle{height:30px !important;color:#888787;font-size:15px;font-weight:lighter}.mkb-stap1 .dropdown button span{font-weight:400}.mkb-stap1 .dropdown{position:relative;display:flex;padding:6px 20px;height:0 !important}.mkb-stap1 .dropdown-toggle{border-radius:6px;color:#47506b}.mkb-stap1 .dropdown button span{color:#47506b}.mkb-stap1 .dropdown-toggle::after{color:#47506b !important}.mkb-stap1 .dropdown .dropdown-item{color:#47506b;font-weight:600}.mkb-stap1 .dropdown .btn{height:50px;font-size:15px;font-weight:bold;border-radius:2px;transition:background-color 300ms linear;float:right;display:block;text-align:left;font-weight:bold;padding:0 12px}.mkb-stap1 .dropdown span{font-weight:600px;font-size:15px}.mkb-stap1 .dropdown .dropdown-item.active,.mkb-stap1 .dropdown .dropdown-item:active,.mkb-stap1 .dropdown .dropdown-item:hover,.mkb-stap1 .dropdown .dropdown-item:focus{text-decoration:none;color:#2196f3 !important;background-color:#f3f3f3 !important;border-left:4px solid #2196f3 !important;float:inherit}.mkb-stap1 .btn-primary:not(:disabled):not(.disabled):active:focus,.mkb-stap1 .btn-primary:not(:disabled):not(.disabled).active:focus,.mkb-stap1 .show>.btn-primary.dropdown-toggle:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.mkb-stap1 button.dropdown-toggle.btn.btn-primary{padding-top:0px;padding-bottom:0px;padding:0px 40px}.mkb-stap1 .radio,.mkb-stap1 .checkbox{position:relative;display:block;margin-top:10px;margin-bottom:0 !important}.mkb-stap1 .radio-inline input[type='radio'],.mkb-stap1 .checkbox input[type='checkbox'],.mkb-stap1 .checkbox-inline input[type='checkbox']{position:absolute;margin-left:-20px}.mkb-stap1 .radio-button-list-validation{position:relative;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:space-around;align-items:flex-start;flex:25%;padding-left:2.5%}.mkb-stap1 .disabled .input-group,.mkb-stap1 .disabled .input-group .form-group{background-color:#eee !important}.mkb-stap1 i.icon-info{background-image:url(" + escape(__webpack_require__(109)) + ") !important;height:12px !important;width:12px !important;display:inline-block !important;margin:0 2px 2px 5px !important}.mkb-stap1 .form-group.custom-group-1{overflow:visible;display:flex;flex-direction:column;flex:50%}.mkb-stap1 .form-group{position:relative}.mkb-stap1 .form-group{margin-bottom:1rem}.mkb-stap1 .jaarlijks-energieverbruik{display:flex;flex-direction:column;flex:100%}.mkb-stap1 .jaarlijks-energieverbruik .form-group.custom-group-1{margin-bottom:0}.mkb-stap1 .jaarlijks-energieverbruik #number-of-panels-mkbStap1{padding-bottom:14px}.mkb-stap1 .list-2{list-style:none;margin:0;padding:0}.mkb-stap1 .list-2 .item:nth-child(1){background-position:27px 32px}.mkb-stap1 .list-2 .item:nth-child(1):hover{background-position:-65px 32px}.mkb-stap1 .list-2 .item:hover{background-color:#f3f3f3}.mkb-stap1 .list-2 .item{background:url(" + escape(__webpack_require__(23)) + ") no-repeat;height:116px;margin:18px 18px 0 0;display:inline-block;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-moz-min-width:94px;-ms-min-width:94px;-o-min-width:94px;-webkit-min-width:94px;min-width:94px}.mkb-stap1 .list-2 li{line-height:25px}.mkb-stap1 .list-2 .item:nth-child(2){background-position:41px -78px}.mkb-stap1 .list-2 .item:nth-child(2):hover{background-position:-51px -78px}.mkb-stap1 .list-2 .item.active{background-color:#fff}.mkb-stap1 .list-2 .item{background:url(" + escape(__webpack_require__(23)) + ") no-repeat;height:116px;margin:18px 18px 0 0;display:inline-block;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-moz-min-width:94px;-ms-min-width:94px;-o-min-width:94px;-webkit-min-width:94px;min-width:94px}.mkb-stap1 .list-2 .item:nth-child(3){background-position:28px -188px}.mkb-stap1 .list-2 .item:nth-child(3):hover{background-position:-64px -188px}.mkb-stap1 .list-2 .item{background:url(" + escape(__webpack_require__(23)) + ") no-repeat;height:116px;margin:18px 18px 0 0;display:inline-block;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-moz-min-width:94px;-ms-min-width:94px;-o-min-width:94px;-webkit-min-width:94px;min-width:94px}.mkb-stap1 .list-2 .item:nth-child(4){background-position:23px -310px}.mkb-stap1 .list-2 .item:nth-child(4):hover{background-position:-70px -310px}.mkb-stap1 .list-2 .item{background:url(" + escape(__webpack_require__(23)) + ") no-repeat;height:116px;margin:18px 18px 0 0;display:inline-block;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-moz-min-width:94px;-ms-min-width:94px;-o-min-width:94px;-webkit-min-width:94px;min-width:94px}.mkb-stap1 .list-2 .item:nth-child(5){background-position:18px -421px}.mkb-stap1 .list-2 .item:nth-child(5):hover{background-position:-74px -421px}.mkb-stap1 .list-2 .item{background:url(" + escape(__webpack_require__(23)) + ") no-repeat;height:116px;margin:18px 18px 0 0;display:inline-block;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-moz-min-width:94px;-ms-min-width:94px;-o-min-width:94px;-webkit-min-width:94px;min-width:94px}.mkb-stap1 .list-2 .item a{display:inline-block;height:100%;position:relative;width:100%;padding:14px 10px;line-height:161px;text-decoration:none;color:#000}.mkb-stap1 .list-2 .item a:hover,.mkb-stap1 .list-2 .item.active a{color:#4dbde9}.mkb-stap1 .dotted{border:1px dashed #c8c8c8;border-style:none none dotted}.mkb-stap1 .energie{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:flex-start}.mkb-stap1 .energie .checkbox{flex:20%;padding-top:9px}.mkb-stap1 .energie .link.text-underline{flex:100%;color:#3ca6d0 !important;text-decoration:underline}.mkb-stap1 .solar{display:flex;padding-top:3%;flex-direction:column;flex-wrap:wrap;justify-content:space-between;align-items:flex-start}.mkb-stap1 .solar-blok{display:flex;flex-direction:column;flex-wrap:wrap;margin-top:2%}.mkb-stap1 .solar-blok a{margin-left:3%;color:#3ca6d0 !important;text-decoration:underline}.mkb-stap1 .usage-input-group{grid-area:usage-input-group}.mkb-stap1 .usage-input-group .input-group{grid:none}.mkb-stap1 .usage-input-group{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-around;align-items:flex-start}.mkb-stap1 .address-info-icon{position:absolute;z-index:99;left:65px}.mkb-stap1 hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.mkb-stap1 .input-group{flex:30%;min-width:165px}.mkb-stap1 .form-control-static.rightMargin.fixedLabelSize{flex:10%;max-width:20%;text-align:left;min-width:100px;font-weight:600}.mkb-stap1 .form-control-static.leftMargin{flex:30%;text-align:left;padding-left:5px;font-weight:600}.mkb-stap1 .form-control-static{padding-top:14px;padding-bottom:14px;margin-bottom:0}.mkb-stap1 input[type='tel'].form-group{width:fit-content}.mkb-stap1 .info-section{margin-bottom:40px}.mkb-stap1 .info-section a{color:#3ca6d0 !important;text-decoration:underline}.mkb-stap1 .form-info-text.sm{font-size:12px;line-height:12px}.mkb-stap1 .l-margin-bottom-40{margin-bottom:30px !important}.mkb-stap1 .form-info-text{color:#888787;margin-top:3px;display:block;width:100%}.mkb-stap1 p{margin:0 0 10px}.mkb-stap1 .form-control[disabled],.mkb-stap1 .form-control[readonly],.mkb-stap1 input[type='tel'].form-group[disabled],.mkb-stap1 .input-group[disabled],.mkb-stap1 .disabled .input-group,.mkb-stap1 fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee !important;opacity:1}.mkb-stap1 .number-input{grid-area:number-input;border-collapse:separate;border:1px solid #ccc;position:relative;border-radius:6px !important;display:flex;width:100%;height:52px;background-color:#fff}.mkb-stap1 .number-input input{border:none !important;text-align:center;position:relative;box-shadow:none;padding:3px;z-index:2;float:left;width:100%}.mkb-stap1 .number-input .form-control{height:48px;min-width:0}.mkb-stap1 .validation-and-submit-section{display:flex;flex-flow:row wrap;justify-content:center;align-items:center;flex:100%;flex-direction:column;flex-wrap:wrap;width:100%;margin:0 auto;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.mkb-stap1 .validation-and-submit-section a{color:#3ca6d0 !important}.mkb-stap1 .validation-and-submit-section button{display:inline-block;text-align:center;width:100%;border-radius:0}.mkb-stap1 .text-input{position:relative}.mkb-stap1 .text-input span.validation-icon.fa.fa-check{top:70%;right:5px;z-index:9;position:absolute;-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%);background-image:none}.mkb-stap1 .validation-icon.fa.fa-check{color:#3e9f00;background-image:none !important}.mkb-stap1 .text-input span.validation-icon.fa.fa-times{top:65%;right:5px;z-index:9;position:absolute;-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%);background-image:none}.mkb-stap1 .validation-icon.fa.fa-times{color:#ff9800;background-image:none !important}.mkb-stap1 .fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mkb-stap1 .form-control.input-error{border-color:#ff9800}.mkb-stap1 .input-group.input-error{border-color:#ff9800}.mkb-stap1 .form-group.input-element:focus,.mkb-stap1 .form-group.custom-group-1 div:focus,.mkb-stap1 .input-group.input-error:focus,.mkb-stap1 .input-group:focus{outline:none;border-color:#84c370 !important}.mkb-stap1 .form-control:focus{outline:none;border-color:#84c370 !important}.mkb-stap1 .form-group.custom-group-1 div{position:relative}.mkb-stap1 .form-group.custom-group-1 div span.validation-icon.fa.fa-check,.mkb-stap1 .form-group.custom-group-1 div span.validation-icon.fa.fa-times{top:50%;right:40%;z-index:9;position:absolute;-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%);background-image:none}.mkb-stap1 .form-group.custom-group-1.without-label div span.validation-icon.fa.fa-check,.mkb-stap1 .form-group.custom-group-1.without-label div span.validation-icon.fa.fa-times{top:50%;right:43%;z-index:9;position:absolute;-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%);background-image:none}.mkb-stap1 .form-group.custom-group-1.normaal-daal div span.validation-icon.fa.fa-check,.mkb-stap1 .form-group.custom-group-1.normaal-daal div span.validation-icon.fa.fa-times{top:50%;right:32%;z-index:9;position:absolute;-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%);background-image:none}.mkb-stap1 .validation-tooltip{left:0;top:auto;z-index:99;font-size:13px;line-height:16px;position:absolute;border-radius:2px;position:absolute;color:#fff !important;padding:5px 13px 5px 5px;background-color:#333333;margin-top:10px}.mkb-stap1 .validation-tooltip:before{content:'';width:0;height:0;left:20px;bottom:100%;position:absolute;margin-left:-8px;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #333}.mkb-stap1 .form-group.custom-group-1 .validation-tooltip{margin-left:22%}.mkb-stap1 .form-group.custom-group-1.without-label .validation-tooltip{margin-left:0%}.mkb-stap1 .form-group.custom-group-1.normaal-daal .validation-tooltip{margin-left:25%}.mkb-stap1 .summary-messages-block{background-color:#fff5de;color:#ff9800 !important;background-image:url(" + escape(__webpack_require__(39)) + ");background-repeat:no-repeat;background-position:10px 5px;padding:10px 0 10px 55px;margin-bottom:20px;width:100%}.mkb-stap1 .summary-messages-block h5{color:#ff9800 !important;font-size:16px;font-weight:600}.mkb-stap1 .checkboxHasTooltip{border-bottom:1px dotted #428bca}\n", ""]);

// exports


/***/ }),
/* 109 */
/***/ (function(module, exports) {

module.exports = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjEycHgiIGhlaWdodD0iMTJweCIgdmlld0JveD0iMCAwIDEyIDEyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBza2V0Y2h0b29sIDU0ICg3NjQ4MCkgLSBodHRwczovL3NrZXRjaGFwcC5jb20gLS0+DQogICAgPHRpdGxlPkM0RkE4ODg3LUIxRkMtNEIxNS1BMEFFLTY4RjhGQzYxRjY5MDwvdGl0bGU+DQogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPg0KICAgIDxnIGlkPSJMYW5kaW5ncGFnaW5hJ3MiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0iTGFuZGluZ3NwYWdpbmEtVGVtcGxhdGUtRGVza3RvcC0xNDQwLSstTWluaWNhbGN1bGF0b3ItNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTg5MC4wMDAwMDAsIC03OTEuMDAwMDAwKSIgZmlsbD0iIzg4ODc4NyIgZmlsbC1ydWxlPSJub256ZXJvIj4NCiAgICAgICAgICAgIDxwYXRoIGQ9Ik04OTYsODAxLjgxNzMwOCBDODk2Ljg2NTM4OSw4MDEuODE3MzA4IDg5Ny42NzMwNzMsODAxLjU5NjE1NiA4OTguNDIzMDc3LDgwMS4xNTM4NDYgQzg5OS4xNTM4NSw4MDAuNzMwNzY3IDg5OS43MzA3NjcsODAwLjE1Mzg1IDkwMC4xNTM4NDYsNzk5LjQyMzA3NyBDOTAwLjU5NjE1Niw3OTguNjczMDczIDkwMC44MTczMDgsNzk3Ljg2NTM4OSA5MDAuODE3MzA4LDc5NyBDOTAwLjgxNzMwOCw3OTYuMTM0NjExIDkwMC41OTYxNTYsNzk1LjMyNjkyNyA5MDAuMTUzODQ2LDc5NC41NzY5MjMgQzg5OS43MzA3NjcsNzkzLjg0NjE1IDg5OS4xNTM4NSw3OTMuMjY5MjMzIDg5OC40MjMwNzcsNzkyLjg0NjE1NCBDODk3LjY3MzA3Myw3OTIuNDAzODQ0IDg5Ni44NjUzODksNzkyLjE4MjY5MiA4OTYsNzkyLjE4MjY5MiBDODk1LjEzNDYxMSw3OTIuMTgyNjkyIDg5NC4zMjY5MjcsNzkyLjQwMzg0NCA4OTMuNTc2OTIzLDc5Mi44NDYxNTQgQzg5Mi44NDYxNSw3OTMuMjY5MjMzIDg5Mi4yNjkyMzMsNzkzLjg0NjE1IDg5MS44NDYxNTQsNzk0LjU3NjkyMyBDODkxLjQwMzg0NCw3OTUuMzI2OTI3IDg5MS4xODI2OTIsNzk2LjEzNDYxMSA4OTEuMTgyNjkyLDc5NyBDODkxLjE4MjY5Miw3OTcuODY1Mzg5IDg5MS40MDM4NDQsNzk4LjY3MzA3MyA4OTEuODQ2MTU0LDc5OS40MjMwNzcgQzg5Mi4yNjkyMzMsODAwLjE1Mzg1IDg5Mi44NDYxNSw4MDAuNzMwNzY3IDg5My41NzY5MjMsODAxLjE1Mzg0NiBDODk0LjMyNjkyNyw4MDEuNTk2MTU2IDg5NS4xMzQ2MTEsODAxLjgxNzMwOCA4OTYsODAxLjgxNzMwOCBaIE04OTYsNzkxIEM4OTcuMDk2MTU5LDc5MSA4OTguMTEwNTcyLDc5MS4yNzQwMzYgODk5LjA0MzI2OSw3OTEuODIyMTE1IEM4OTkuOTQ3MTIsNzkyLjM0MTM0OSA5MDAuNjU4NjUxLDc5My4wNTI4OCA5MDEuMTc3ODg1LDc5My45NTY3MzEgQzkwMS43MjU5NjQsNzk0Ljg4OTQyOCA5MDIsNzk1LjkwMzg0MSA5MDIsNzk3IEM5MDIsNzk4LjA5NjE1OSA5MDEuNzI1OTY0LDc5OS4xMTA1NzIgOTAxLjE3Nzg4NSw4MDAuMDQzMjY5IEM5MDAuNjU4NjUxLDgwMC45NDcxMiA4OTkuOTQ3MTIsODAxLjY1ODY1MSA4OTkuMDQzMjY5LDgwMi4xNzc4ODUgQzg5OC4xMTA1NzIsODAyLjcyNTk2NCA4OTcuMDk2MTU5LDgwMyA4OTYsODAzIEM4OTQuOTAzODQxLDgwMyA4OTMuODg5NDI4LDgwMi43MjU5NjQgODkyLjk1NjczMSw4MDIuMTc3ODg1IEM4OTIuMDUyODgsODAxLjY0OTAzNiA4OTEuMzQxMzQ5LDgwMC45MzI2OTcgODkwLjgyMjExNSw4MDAuMDI4ODQ2IEM4OTAuMjc0MDM2LDc5OS4wOTYxNDkgODkwLDc5OC4wODY1NDQgODkwLDc5NyBDODkwLDc5NS45MTM0NTYgODkwLjI3NDAzNiw3OTQuOTAzODUxIDg5MC44MjIxMTUsNzkzLjk3MTE1NCBDODkxLjM1MDk2NCw3OTMuMDY3MzAzIDg5Mi4wNjczMDMsNzkyLjM1MDk2NCA4OTIuOTcxMTU0LDc5MS44MjIxMTUgQzg5My45MDM4NTEsNzkxLjI3NDAzNiA4OTQuOTEzNDU2LDc5MSA4OTYsNzkxIFogTTg5NS40MDg2NTQsNzkzLjk4NTU3NyBMODk2LjU5MTM0Niw3OTMuOTg1NTc3IEw4OTYuNTkxMzQ2LDc5Ny41OTEzNDYgTDg5NS40MDg2NTQsNzk3LjU5MTM0NiBMODk1LjQwODY1NCw3OTMuOTg1NTc3IFogTTg5NS40MDg2NTQsNzk4LjgwMjg4NSBMODk2LjU5MTM0Niw3OTguODAyODg1IEw4OTYuNTkxMzQ2LDgwMC4wMTQ0MjMgTDg5NS40MDg2NTQsODAwLjAxNDQyMyBMODk1LjQwODY1NCw3OTguODAyODg1IFoiIGlkPSIhLUJsdWUiPjwvcGF0aD4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg=="

/***/ }),
/* 110 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(111);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 111 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.compact-container{position:relative;padding-right:15px;padding-left:15px;flex:100%;display:inline-table;width:405px;margin:40px 0}.compact-container .footer-info-section{color:#a2a2a2;display:flex;flex-flow:row wrap}.compact-container .footer-info-section a{color:#3ca6d0 !important;text-decoration:underline}.compact-calculator{display:flex;margin:0 auto;max-width:1200px;flex-flow:column wrap;box-shadow:none;border-radius:10px;margin-bottom:20px;background-color:#324376;box-shadow:10px 10px 40px rgba(31,36,70,0.301961)}.compact-calculator *{font-family:'Fabriga', 'Lato', sans-serif}.compact-calculator .laagste-prijs-garantie-label{position:absolute;background-image:url(" + escape(__webpack_require__(26)) + ");background-position:0 0;height:113px;width:100px;top:-30px;right:-5px}.compact-calculator .section-header{border-radius:4px 4px 0 0;color:white;padding:32px 32px 20px;text-align:left}.compact-calculator .section-header h6{color:#f6bd60;font-weight:600}.compact-calculator .section-header h2{margin:0;font-weight:700 !important;font-size:24px}.compact-calculator .address-items{justify-content:flex-start;flex:100%;display:flex;flex-flow:row}.compact-calculator .address-items>*{flex:1 1 33%;flex-basis:100%;gap:12px;color:#ffffff;flex-direction:column;font-weight:600}.compact-calculator .postcode-item{padding-right:12px;flex:0 0 100px}.compact-calculator .huisnummer-item{padding-right:12px}.compact-calculator .compact-calculator-form{width:100%;margin:0 auto;margin-top:-4px;padding:0px 32px 32px;border-top-right-radius:6px}.compact-calculator .checkbox>input[type='checkbox']+label:before{margin-right:12px}.compact-calculator .checkbox>input[type='checkbox']+label{font-weight:normal;font-size:16px}.compact-calculator i.icon-info{background-image:url(" + escape(__webpack_require__(22)) + ") !important;height:12px !important;width:12px !important;display:inline-block !important;margin:0 2px 2px 5px !important}.compact-calculator .leverancier-block{margin-top:32px}.compact-calculator .validation-and-submit-section{display:flex;flex-flow:row wrap;justify-content:center;align-items:center;flex:100%;flex-direction:column;flex-wrap:wrap;width:100%;margin:0 auto;padding-top:32px;background-color:#324376;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.compact-calculator .validation-and-submit-section a{color:#3ca6d0 !important}.compact-calculator .btn-md{height:50px;font-size:18px;font-weight:bold;padding:6px 40px;border-radius:30px;background-color:#ed6a3d;color:#fff;transition:background-color 300ms linear;border:none;width:100%}.compact-calculator .btn-md:focus,.compact-calculator .btn-md.focus{box-shadow:none !important}.compact-calculator .btn-md:hover{background-color:#d55f36}.compact-calculator .text-input input{border-radius:6px;color:#47506b}.compact-calculator .dropdown-toggle{border-radius:6px;color:#47506b}.compact-calculator .dropdown .btn{height:50px;font-size:15px;font-weight:bold;border-radius:2px;transition:background-color 300ms linear;float:right;display:block;text-align:left;font-weight:bold;padding:0 12px}.compact-calculator .dropdown button span{font-weight:600;color:#47506b}.compact-calculator .dropdown .dropdown-item{color:#47506b;font-weight:600}.compact-calculator .dropdown{position:relative;display:flex}.compact-calculator .dropdown .dropdown-item.active,.compact-calculator .dropdown .dropdown-item:active,.compact-calculator .dropdown .dropdown-item:hover,.compact-calculator .dropdown .dropdown-item:focus{text-decoration:none;color:#2196f3 !important;background-color:#f3f3f3 !important;border-left:4px solid #2196f3 !important;float:inherit}.compact-calculator button.dropdown-toggle.btn.btn-primary{padding-top:0px;padding-bottom:0px;border-radius:6px}.compact-calculator .dropdown-toggle::after{float:right;margin-top:10px}.compact-calculator .validation-tooltip{left:0;top:auto;z-index:99;font-size:13px;line-height:16px;position:absolute;border-radius:2px;padding:5px 13px 5px 5px;margin-top:10px;display:flex;position:relative;color:#fff;background-color:#333}.compact-calculator .validation-tooltip:before{content:'';width:0;height:0;left:20px;bottom:100%;position:absolute;margin-left:-8px;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #333}.compact-calculator .text-bellow-submit-button{color:#06a77d !important;text-align:center !important;justify-content:center;margin-bottom:0;margin-top:12px;font-weight:bold;line-height:18px}.compact-calculator .text-bellow-button{color:#d9dce6 !important;text-decoration:underline !important;padding-top:12px}.compact-calculator .toggle-verbruik a.link.text-underline{color:#d9dce6 !important;text-decoration:underline}.compact-calculator .info-block{padding:10px 10px 10px 30px;background-color:#1f2446;position:relative;border-radius:6px;color:#d9dce6;margin-bottom:2%;font-size:15px}.compact-calculator .info-block i.icon-info{background-image:url(" + escape(__webpack_require__(38)) + ");position:absolute;cursor:default;margin:0 8px 2px 0px !important;height:12px;width:12px;left:10px;top:15px}.compact-calculator .checkboxes-block{display:block;margin-top:2%;margin-bottom:2%}.compact-calculator .energie-amount-input-block{display:flex;flex-flow:row wrap}.compact-calculator .energie-amount-input-block .stroom-verbruik{flex:1 1 49%;flex-grow:0;margin-right:2%}.compact-calculator .energie-amount-input-block .gas-verbruik{flex:1 1 49%;flex-grow:0}.compact-calculator .energie-amount-input-block .solar-verbruik{flex:1 1 49%;flex-grow:0;margin-bottom:24px}.compact-calculator .energie-amount-input-block .solar-verbruik .input-group{height:52px}.compact-calculator .energie-amount-input-block .toggle-verbruik{flex:100%;margin-top:2%}.compact-calculator .energie-double-meter-block{display:flex;flex-flow:row wrap}.compact-calculator .energie-double-meter-block .stroom-verbruik-hoog{flex:1 1 48%;flex-grow:0;margin-bottom:24px;margin-right:6px}.compact-calculator .energie-double-meter-block .stroom-energie-production-hoog{flex:1 1 48%;flex-grow:0;margin-bottom:24px;margin-left:6px}.compact-calculator .energie-double-meter-block .stroom-verbruik-laag{flex:1 1 48%;flex-grow:0;margin-bottom:24px;margin-right:6px}.compact-calculator .energie-double-meter-block .stroom-energie-production-laag{flex:1 1 48%;flex-grow:0;margin-bottom:24px;margin-left:6px}.compact-calculator .energie-double-meter-block .gas-verbruik{flex:1 1 48%;flex-grow:0;margin-bottom:24px}.compact-calculator .energie-double-meter-block .toggle-verbruik{flex:100%;padding-top:16px}.compact-calculator .input-right-side{font-size:15px;color:#888787;text-align:right;vertical-align:middle;min-width:40px}.compact-calculator label{width:100%;color:white;font-size:16px;line-height:18px;font-weight:600;margin-bottom:12px}.compact-calculator .solar-panel-label{width:50%;float:right}.compact-calculator .number-input{border-radius:6px !important}.compact-calculator .number-input .btn-plus,.compact-calculator .number-input .btn-minus{background-color:#f1f4f8;color:#47506b;font-weight:bold;font-size:24px;line-height:32px}.compact-calculator .number-input .form-control{background-color:#fff;padding-top:20px;color:#1f2446;font-weight:bold}.compact-calculator .amount-input-block.stroom-verbruik{grid-area:stroom-verbruik}.compact-calculator .stroom-verbruik .input-group{grid-template-columns:25px 1fr 40px;grid-template-areas:'input-left-side input-element input-right-side'}.compact-calculator .amount-input-block.gas-verbruik{grid-area:gas-verbruik}.compact-calculator .gas-verbruik .input-group{grid-template-columns:25px 1fr 35px;grid-template-areas:'input-left-side input-element input-right-side'}.compact-calculator .amount-input-block.solar-verbruik{grid-area:solar-verbruik}.compact-calculator .solar-verbruik .input-group{grid-template-columns:1fr 50px;grid-template-areas:'input-element input-right-side'}.compact-calculator .amount-input-block.stroom-verbruik-hoog{grid-area:stroom-verbruik-hoog}.compact-calculator .stroom-verbruik-hoog .input-group{grid-template-columns:1fr 40px;grid-template-areas:'input-element input-right-side'}.compact-calculator .amount-input-block.stroom-energie-production-hoog{grid-area:stroom-energie-production-hoog}.compact-calculator .stroom-energie-production-hoog .input-group{grid-template-columns:1fr 50px;grid-template-areas:'input-element input-right-side'}.compact-calculator .amount-input-block.stroom-verbruik-laag{grid-area:stroom-verbruik-laag}.compact-calculator .stroom-verbruik-laag .input-group{grid-template-columns:1fr 40px;grid-template-areas:'input-element input-right-side'}.compact-calculator .amount-input-block.stroom-energie-production-laag{grid-area:stroom-energie-production-laag}.compact-calculator .stroom-energie-production-laag .input-group{grid-template-columns:1fr 50px;grid-template-areas:'input-element input-right-side'}.compact-calculator form>div>div>div:nth-child(3)>div.typepands-block{margin-right:0 !important}.compact-calculator .typepands-block{margin-bottom:2%;width:100%;display:inline-block}.compact-calculator .calculator-steps{position:relative}.compact-calculator .calculator-step{display:flex;flex-flow:column}.compact-calculator .form-control,.compact-calculator .dropdown-toggle,.compact-calculator .input-group{border:1px solid #ccc;border-radius:6px}.compact-calculator .amount-input-block{position:relative;flex:50%;margin-bottom:24px}.compact-calculator .input-group{position:relative;display:table;border-collapse:separate}.compact-calculator .number-input{grid-area:number-input;border-collapse:separate;border:1px solid #ccc;position:relative;border-radius:6px !important;display:flex;width:100%;height:52px;background-color:#fff}.compact-calculator .number-input input{border:none !important;text-align:center;position:relative;box-shadow:none;padding:3px;z-index:2;float:left;width:100%}.compact-calculator .number-input .form-control{height:35px;min-width:0}.compact-calculator .text-input input{border-radius:6px;font-size:16px;color:#1f2446}.compact-calculator .text-input input::placeholder{color:#47506B}.compact-calculator>*{color:white}\n", ""]);

// exports


/***/ }),
/* 112 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(113);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 113 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.contact-form-container{position:relative;padding-right:15px;padding-left:15px;flex:100%}.contact-form-container .contact-form-block{display:flex;flex-flow:column}.contact-form-container .contact-form-block .naam-item{flex:100%}.contact-form-container .contact-form-block .email-item{flex:100%}.contact-form-container .contact-form-block .bericht-item{flex:100%}.contact-form-container .contact-form-block .telefoonnummer-item{flex:100%}.contact-form-container fieldset{display:flex;flex-flow:column}.contact-form-container fieldset>*{padding-bottom:15px}.contact-form-container .form-control.input-error{border-color:#ff9800}.contact-form-container .form-control:focus{outline:none;border-color:#84c370;box-shadow:0 0 5px rgba(132,195,112,0.5)}.contact-form-container .text-input{position:relative}.contact-form-container .text-input span.validation-icon.fa.fa-times{top:50%;right:5px;z-index:9;position:absolute;-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%);background-image:none}.contact-form-container .text-input span.validation-icon.fa.fa-check{top:70%;right:5px;z-index:9;position:absolute;-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%);background-image:none}.contact-form-container .validation-icon.fa.fa-times{color:#ff9800;background-image:none !important}.contact-form-container .validation-icon.fa.fa-check{color:#3e9f00;background-image:none !important}.contact-form-container .btn-success{color:#fff;background-color:#84c370;border-color:#84c370;border-radius:0}.contact-form-container textarea{overflow:auto}.contact-form-container .alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.contact-form-container .alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}\n", ""]);

// exports


/***/ }),
/* 114 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(115);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 115 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.gzm-mini-calculator-container{position:relative;padding-right:15px;padding-left:15px;flex:100%;display:inline-table}.gzm-mini-calculator-container .footer-info-section{color:#6E7898;display:flex;flex-flow:row wrap}.gzm-mini-calculator-container .footer-info-section a{color:#276FBF !important;text-decoration:underline}.gzm-mini-calculator{display:flex;margin:0 auto;max-width:1200px;flex-flow:column wrap;box-shadow:none;margin-bottom:10px}.gzm-mini-calculator *{font-family:'Fabriga', 'Lato', sans-serif}.gzm-mini-calculator .gzm-mini-calculator-address{display:flex}.gzm-mini-calculator .gzm-mini-calculator-address>*{flex:1 1 33%;flex-basis:100%;gap:1em;color:#ffffff;flex-direction:column;font-weight:600}.gzm-mini-calculator .postcode-item{padding-right:2%}.gzm-mini-calculator .huisnummer-item{padding-right:2%}.gzm-mini-calculator .gzm-mini-calculator-product-type{padding:32px 0;font-weight:600}.gzm-mini-calculator .gzm-mini-calculator-form{width:100%;margin:0 auto;background-color:#324376;padding:52px 32px 52px;border-radius:10px;box-shadow:10px 10px 40px rgba(31,36,70,0.301961)}.gzm-mini-calculator i.icon-info{background-image:url(" + escape(__webpack_require__(22)) + ") !important;height:12px !important;width:12px !important;display:block !important;position:relative;float:right;right:-5px;top:-2px}.gzm-mini-calculator .btn-md{height:50px;font-size:16px;font-weight:bold;padding:6px 40px;border-radius:30px;background-color:#ed6a3d;transition:background-color 300ms linear;border:none;width:100%}.gzm-mini-calculator .btn-success:focus,.gzm-mini-calculator .btn-success.focus{box-shadow:none !important}.gzm-mini-calculator .btn-success:hover{background-color:#d55f36}.gzm-mini-calculator .dropdown .btn{height:50px;font-size:15px;font-weight:bold;border-radius:2px;transition:background-color 300ms linear;float:right;display:block;text-align:left;font-weight:bold;padding:0 12px 0 16px}.gzm-mini-calculator .dropdown span{font-weight:bold;font-size:15px}.gzm-mini-calculator .dropdown-item-multiple-icons{float:left;flex:90%}.gzm-mini-calculator .dropdown .dropdown-item.active,.gzm-mini-calculator .dropdown .dropdown-item:active,.gzm-mini-calculator .dropdown .dropdown-item:hover,.gzm-mini-calculator .dropdown .dropdown-item:focus{text-decoration:none;color:#2196f3;background-color:#f3f3f3;border-left:4px solid #2196f3 !important;float:inherit}.gzm-mini-calculator button.dropdown-toggle:not(:disabled):not(.disabled):active,.gzm-mini-calculator button.dropdown-toggle:not(:disabled):not(.disabled).active,.gzm-mini-calculator .show>button.dropdown-toggle,.gzm-mini-calculator button.dropdown-toggle:focus,.gzm-mini-calculator button.dropdown-toggle:active,.gzm-mini-calculator button.dropdown-toggle:hover{padding:0 12px 0 16px}.gzm-mini-calculator .gzm-mini-calculator .dropdown span:first-child{padding-right:4px}.gzm-mini-calculator .gzm-mini-calculator .dropdown span:last-child{padding-right:8px}.gzm-mini-calculator .dropdown-toggle::after{float:right;margin-top:10px}.gzm-mini-calculator .validation-tooltip{color:#fff;background-color:#333;position:absolute;width:100%}.gzm-mini-calculator .extra-bold{font-weight:900 !important;font-size:24px}.gzm-mini-calculator .text-input{position:relative}.gzm-mini-calculator .text-input input{border-radius:6px;font-size:16px;color:#1f2446}.gzm-mini-calculator .text-input input::placeholder{color:#47506B;font-weight:normal}.gzm-mini-calculator>*{color:white}@media (max-width: 767px){label{font-size:14px;white-space:nowrap}}@media (max-width: 340px){.gzm-mini-calculator-container{padding:0}.gzm-mini-calculator .gzm-mini-calculator-form{padding:52px 16px}.gzm-mini-calculator .gzm-mini-calculator-address>*{flex:inherit}.toevoeging-item{width:130px}}\n", ""]);

// exports


/***/ }),
/* 116 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(117);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 117 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.mkb-overstap-form-container{position:relative;padding-right:15px;padding-left:15px;flex:100%;display:inline-table}.mkb-overstap-form-container .mkb-overstap-form-block{display:flex;flex-flow:column}.mkb-overstap-form-container .mkb-overstap-form-block .mkb-overstap-form-address .address-title{margin-top:10px;color:#1f2446 !important}.mkb-overstap-form-container .mkb-overstap-form-block .mkb-overstap-form-address .address-first-row{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-around;align-items:flex-start}.mkb-overstap-form-container .mkb-overstap-form-block .mkb-overstap-form-address .address-first-row .postcode-item{flex:33%;display:flex;flex-direction:column;padding-right:2%}.mkb-overstap-form-container .mkb-overstap-form-block .mkb-overstap-form-address .address-first-row .huisnummer-item{flex:33%;display:flex;flex-direction:column;padding-right:2%}.mkb-overstap-form-container .mkb-overstap-form-block .mkb-overstap-form-address .address-first-row .toevoeging-item{flex:33%;display:flex;flex-direction:column}.mkb-overstap-form-container .mkb-overstap-form-block .mkb-overstap-form-address .address-second-row{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-around;align-items:flex-start;margin-top:20px}.mkb-overstap-form-container .mkb-overstap-form-block .mkb-overstap-form-address .address-second-row .straatnaam-item{flex:50%;display:flex;flex-direction:column;padding-right:2%}.mkb-overstap-form-container .mkb-overstap-form-block .mkb-overstap-form-address .address-second-row .plaatsnaam-item{flex:50%;display:flex;flex-direction:column}.mkb-overstap-form-container .mkb-overstap-form-block .mkb-overstap-form-checkbox-row{margin-top:20px}.mkb-overstap-form-container .mkb-overstap-form-block h4{font-size:16px;font-weight:600}.mkb-overstap-form-container .mkb-overstap-form-block fieldset{background-color:#324376;padding:22px;margin-bottom:20px;color:white;font-weight:600}.mkb-overstap-form-container .submit-section{flex:100%}.mkb-overstap-form-container .submit-section button{display:inline-block;text-align:center;width:100%;border-radius:0;background-color:#ed6a3d;border:0 !important;box-shadow:none !important}.mkb-overstap-form-container .submit-section button:hover,.mkb-overstap-form-container .submit-section button:active,.mkb-overstap-form-container .submit-section button:focus{display:inline-block;text-align:center;width:100%;border-radius:0;background-color:#324376;border:0 !important;box-shadow:none !important}.mkb-overstap-form-container .submit-section button:active,.mkb-overstap-form-container .submit-section button:focus{display:inline-block;text-align:center;width:100%;border-radius:0;background-color:#ed6a3d;border:none !important;box-shadow:none !important}.mkb-overstap-form-container .text-input{position:relative}.mkb-overstap-form-container .text-input span.validation-icon.fa.fa-times{top:43%;right:5px;z-index:9;position:absolute;-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%);background-image:none}.mkb-overstap-form-container .straatnaam.text-input span.validation-icon.fa.fa-times,.mkb-overstap-form-container .plaatsnaam.text-input span.validation-icon.fa.fa-times,.mkb-overstap-form-container .straatnaam1.text-input span.validation-icon.fa.fa-times,.mkb-overstap-form-container .plaatsnaam1.text-input span.validation-icon.fa.fa-times{top:50%}.mkb-overstap-form-container .text-input span.validation-icon.fa.fa-check{top:70%;right:5px;z-index:9;position:absolute;-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%);background-image:none}.mkb-overstap-form-container .validation-icon.fa.fa-times{color:#ff9800;background-image:none !important}.mkb-overstap-form-container .validation-icon.fa.fa-check{color:#3e9f00;background-image:none !important}.mkb-overstap-form-container .validation-tooltip{color:#fff !important;background-color:#333 !important;font-weight:lighter}.mkb-overstap-form-container .form-control.input-error{border-color:#ff9800}.mkb-overstap-form-container .form-control:focus{outline:none;border-color:#84c370}.mkb-overstap-form-container .summary-messages-block{background-color:#fff5de;color:#ff9800 !important;background-image:url(" + escape(__webpack_require__(39)) + ");background-repeat:no-repeat;background-position:10px 5px;padding:10px 0 10px 55px;margin-bottom:20px;width:100%}.mkb-overstap-form-container .summary-messages-block h4{color:#1f2446 !important;font-size:16px;font-weight:600}.mkb-overstap-form-container .fa-fw{width:1.28571429em;text-align:center}.mkb-overstap-form-container .fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mkb-overstap-form-container .fa-remove:before,.mkb-overstap-form-container .fa-close:before,.mkb-overstap-form-container .fa-times:before{content:'\\F00D'}\n", ""]);

// exports


/***/ }),
/* 118 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(119);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 119 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.feedback-score-home-container{position:relative;padding-right:15px;padding-left:15px;flex:100%;width:1170px}.feedback-score-home-container .feedback-score{margin-bottom:15px}.feedback-score-home-container .clearfix:before,.feedback-score-home-container .control-sub-header:before,.feedback-score-home-container .clearfix:after,.feedback-score-home-container .control-sub-header:after{content:' ';display:table}.feedback-score-home-container .clearfix:after,.feedback-score-home-container .control-sub-header:after{clear:both}.feedback-score-home-container .clearfix:after,.feedback-score-home-container .control-sub-header:after{clear:both}.feedback-score-home-container .ekomi-score-titel{display:inline-block;float:left;margin:3px 5px 0 0}.feedback-score-home-container .ekomi-score-titel>span{font-size:20px}.feedback-score-home-container .rating{display:inline-block;float:left;margin-top:8px}.feedback-score-home-container .rating a{color:#fff;text-decoration:underline}.feedback-score-home-container .rating a:hover,.feedback-score-home-container .rating a:focus{color:#23527c;text-decoration:underline}.feedback-score-home-container .feedback-score-score-wrap{float:left}.feedback-score-home-container .rating-value{display:inline-block;float:left;font-size:24px;padding:0 5px 0 0;font-weight:500;margin-top:-8px}.feedback-score-home-container .sterren{float:left;width:117px !important;height:21px;margin-right:10px;margin-top:-1px;background:url(" + escape(__webpack_require__(40)) + ") 0 -21px no-repeat}.feedback-score-home-container .sterren span{display:block;float:left;height:21px;background:url(" + escape(__webpack_require__(40)) + ") 0 0 no-repeat}.feedback-score-home-container .sterren .ster-05{width:11px}.feedback-score-home-container .sterren .ster-1{width:22px}.feedback-score-home-container .sterren .ster-15{width:35px}.feedback-score-home-container .sterren .ster-2{width:46px}.feedback-score-home-container .sterren .ster-25{width:59px}.feedback-score-home-container .sterren .ster-3{width:70px}.feedback-score-home-container .sterren .ster-35{width:83px}.feedback-score-home-container .sterren .ster-4{width:94px}.feedback-score-home-container .sterren .ster-45{width:107px}.feedback-score-home-container .sterren .ster-5{width:117px}.feedback-score-home-container .feedback-score-text-wrap{float:left}.feedback-score-home-container hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}\n", ""]);

// exports


/***/ }),
/* 120 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(121);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 121 */
/***/ (function(module, exports, __webpack_require__) {

exports = module.exports = __webpack_require__(4)(false);
// imports


// module
exports.push([module.i, ".main{position:relative;padding-right:15px;padding-left:15px;flex:100%;display:inline-table}.element1{width:300px;background-color:#000000;position:relative;color:white}.element2{width:600px;background-color:#ff0000;position:relative;color:white}.animating{overflow:hidden;transition:width 0.75s ease-out, height 0.75s ease-out;position:relative}\n", ""]);

// exports


/***/ }),
/* 122 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(123);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 123 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.mkb-result-list-all-together{display:flex;flex-direction:column}.mkb-result-list-all-together .mkb-usage-form-container-row2{display:flex}.mkb-result-list-all-together .mkb-usage-form-container-row2 .row2-column1{padding-left:15px;min-width:200px}.mkb-usage-form-container{position:relative;padding-right:15px;padding-left:15px;flex:100%;display:inline-table}.mkb-usage-form-container .mkb-usage-form{display:flex;flex-flow:column}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-title{margin-bottom:5px;white-space:nowrap;overflow:hidden}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-title span{color:#1f2446;font-size:14px;font-weight:bold;margin-right:6px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-title a{font-size:13px;text-decoration:underline;outline:0 !important;color:#3ca6d0}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display{background:#fff;border:1px solid #e6e6e6;padding:10px;white-space:nowrap;overflow:hidden;-moz-min-width:231px;-ms-min-width:231px;-o-min-width:231px;-webkit-min-width:231px;min-width:231px;min-height:74px;float:left}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-postcode-display span:first-child{padding:5px 8px 5px 0}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display span{font-size:15px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display-section-left>.mkb-usage-form-group{margin-top:9px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display-section-left.has-solar-section .mkb-usage-form-group.connection-type-e{margin-top:77px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display-section-right>div:first-child{margin:1px 0 0 0}.mkb-usage-form-container .mkb-usage-form .fa-fw{width:1.28571429em;text-align:center}.mkb-usage-form-container .mkb-usage-form .fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display-section-right>.mkb-usage-form-group{margin:9px 0 0 0}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display-section-right .mkb-usage-form-group.netto-display{position:relative;left:-20px}.mkb-usage-form-container .mkb-usage-form div.mkb-usage-form-section-dark.clearfix.last>div.mkb-usage-form-group{margin:0}.mkb-usage-form-container .mkb-usage-form .clearfix:after,.mkb-usage-form-container .mkb-usage-form .control-sub-header:after{clear:both}.mkb-usage-form-container .mkb-usage-form .clearfix:before,.mkb-usage-form-container .mkb-usage-form .control-sub-header:before,.mkb-usage-form-container .mkb-usage-form .clearfix:after,.mkb-usage-form-container .mkb-usage-form .control-sub-header:after{content:' ';display:table}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display-section-left{margin:0 10px 0 0}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable-wrap{width:370px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-title.editable{background:#4dbde9;padding:10px;color:#fff;margin-bottom:0;-ms-border-top-left-radius:5px;border-top-left-radius:5px;-ms-border-top-right-radius:5px;border-top-right-radius:5px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-title{margin-bottom:5px;white-space:nowrap;overflow:hidden}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-title span{color:#1f2446;font-size:14px;font-weight:bold;margin-right:6px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display{background:#fafafa;display:flex}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .mkb-usage-form-section{padding:5px 10px;min-width:365px;display:flex}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .mkb-usage-form-label{float:left;font-size:13px;margin:7px 0 0 0;-moz-min-width:130px;-ms-min-width:130px;-o-min-width:130px;-webkit-min-width:130px;min-width:130px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .mkb-usage-form-content{float:left;max-width:100%;display:flex}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display input.mkb-usage-form-input{width:70px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .mkb-usage-form-input{float:left;font-size:13px;height:30px;padding:2px 7px;margin-right:5px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .dropdown{height:34px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .dropdown .dropdown-item{color:#1f2446;line-height:20px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .dropdown-toggle.btn.btn-primary{height:34px;text-align:center;width:216px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display button.dropdown-toggle:focus,.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display button.dropdown-toggle:active,.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display button.dropdown-toggle:hover{text-align:center;padding-top:0px;padding-bottom:0px;padding-right:40px;padding-left:40px;height:34px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .dropdown button span{font-weight:600;font-size:13px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .leverancier.select-input{display:flex}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .leverancier.select-input .dropdown-toggle.btn.btn-primary{width:216px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .form-control{line-height:normal !important}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .form-control{-ms-border-radius:0;border-radius:0}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-display .form-control{display:block;width:100%;height:34px;padding:2px 7px;font-size:13px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable{background:#fafafa}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .mkb-usage-form-section{padding:5px 10px;min-width:365px;display:flex}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .mkb-usage-form-label{float:left;font-size:13px;margin:7px 0 0 0;-moz-min-width:130px;-ms-min-width:130px;-o-min-width:130px;-webkit-min-width:130px;min-width:130px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .mkb-usage-form-content{float:left;max-width:100%;display:flex}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable input.mkb-usage-form-input{width:70px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .mkb-usage-form-input{float:left;font-size:13px;height:30px;padding:2px 7px;margin-right:5px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .dropdown{height:34px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .dropdown .dropdown-item{color:#1f2446;line-height:20px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .dropdown-toggle.btn.btn-primary{height:34px;text-align:center;width:216px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable button.dropdown-toggle:focus,.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable button.dropdown-toggle:active,.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable button.dropdown-toggle:hover{text-align:center;padding-top:0px;padding-bottom:0px;padding-right:40px;padding-left:40px;height:34px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .dropdown button span{font-weight:600;font-size:13px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .leverancier.select-input{display:flex}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .leverancier.select-input .dropdown-toggle.btn.btn-primary{width:216px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .form-control{line-height:normal !important}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .form-control{-ms-border-radius:0;border-radius:0}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-editable .form-control{display:block;width:100%;height:34px;padding:2px 7px;font-size:13px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-section-dark{padding:3px 10px 10px 10px;margin:5px 0;background:#f0f0f0;min-width:365px;width:100%}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-section-dark .mkb-usage-form-group{margin-top:9px;float:left;clear:both}.mkb-usage-form-container .mkb-usage-form .column-flow{display:flex;flex-flow:column;margin-top:7px}.mkb-usage-form-container .mkb-usage-form .row-flow{display:flex;flex-flow:row}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-section-dark.last{margin-top:10px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-content.no-label{margin-left:125px}.mkb-usage-form-container .mkb-usage-form .primaryColor-btn,.mkb-usage-form-container .mkb-usage-form .primaryColor-btn:not(:disabled){background-color:#f78f1e}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-content a{display:block;font-size:13px}.mkb-usage-form-container .mkb-usage-form .mkb-usage-form-content a.link.text-underline{color:#3ca6d0;margin:3px 0 0 0}.mkb-usage-form-container .mkb-usage-form .nr-btn{text-decoration:none !important;font-weight:bold;padding:5px 10px;width:auto}.mkb-usage-form-container .mkb-usage-form .primaryColor-btn{background-color:#84c370;color:#fff;border:none;outline:none}.mkb-usage-form-container .mkb-usage-form .nr-link-btn{font-size:13px;padding:4px 10px;color:#3ca6d0}.mkb-usage-form-container .mkb-usage-form .postcode.text-input,.mkb-usage-form-container .mkb-usage-form .huisnummer.text-input,.mkb-usage-form-container .mkb-usage-form .toevoeging.text-input{flex:33%;display:flex;flex-direction:column;padding-right:2%}.mkb-usage-form-container .pull-left{float:left !important}.mkb-usage-form-container b,.mkb-usage-form-container strong{font-weight:bold}.mkb-usage-form-container .input-group{height:34px;width:69px;grid:none;padding:2px 7px}.mkb-usage-form-container input[type='tel'].form-group{height:27px;font-size:13px;font-weight:600 !important}.mkb-usage-form-container .usage-input-group{display:flex}.mkb-usage-form-container .group-input-fields{width:216px}.mkb-usage-form-container .group-input-fields label{flex:20%;font-size:13px;padding-top:5%;padding-bottom:5%}.mkb-usage-form-container .group-input-fields label.form-control-static.leftMargin{margin-left:2%}.mkb-usage-form-container .checkbox label{font-weight:normal;font-size:13px}.mkb-usage-form-container .checkbox>input[type='checkbox']:checked+label:before{background-size:68%}.mkb-usage-form-container .checkbox>input[type='checkbox']+label:before{width:18px;height:18px}.mkb-usage-form-container .list-transition1-appear{top:0}.mkb-usage-form-container .list-transition1-appear-active{top:0}.mkb-usage-form-container .list-transition1-enter{z-index:1;top:0;width:377px;height:250px;max-height:677px}.mkb-usage-form-container .list-transition1-enter-active{top:0;width:0px;max-height:0px;transition:all 5000ms linear}.mkb-usage-form-container .list-transition1-enter-done{top:0;width:377px;height:250px;max-height:677px;transition:all 5000ms linear}.mkb-usage-form-container .list-transition1-exit{top:0;z-index:-1}.mkb-usage-form-container .list-transition1-exit-active{top:0;width:0px;max-height:0px;transition:all 5000ms linear}.mkb-usage-form-container .list-transition1-exit-done{top:0;width:0px;height:0px}.mkb-usage-form-container .slide-appear{opacity:0;z-index:1}.mkb-usage-form-container .slide-appear.slide-appear-active{opacity:1;transition:opacity 1000ms linear}.mkb-usage-form-container .slide-enter{opacity:0;transform:scale(0.97) translateY(5px);z-index:1}.mkb-usage-form-container .slide-enter.slide-enter-active{opacity:1;transform:scale(1) translateY(0);transition:opacity 3000ms linear 1000ms, transform 3000ms ease-in-out 1000ms}.mkb-usage-form-container .slide-enter-done{opacity:1;transform:scale(1) translateY(0);transition:opacity 3000ms linear 1000ms, transform 3000ms ease-in-out 1000ms}.mkb-usage-form-container .slide-exit{opacity:1;transform:scale(1) translateY(0)}.mkb-usage-form-container .slide-exit.slide-exit-active{opacity:0;transform:scale(0.97) translateY(5px);transition:opacity 1500ms linear, transform 1500ms ease-out}.mkb-usage-form-container .slide-exit-done{opacity:0}\n", ""]);

// exports


/***/ }),
/* 124 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(125);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 125 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.mkb-result-list-offers-container{position:relative;padding-right:15px;padding-left:15px;flex:100%;display:inline-table}.mkb-result-list-offers-container .show-email-dialog{color:#276fbf;float:right}.mkb-result-list-offers-container .table{display:table;margin:0 auto}.mkb-result-list-offers-container ul#horizontal-list{display:flex;list-style:none;padding-top:20px;flex-flow:column}.mkb-result-list-offers-container ul#horizontal-list li{display:flex;margin-bottom:25px;border:1px solid #d2e3f2}.mkb-result-list-offers-container .resultlist-logo{flex:20%;align-self:center;padding-left:2%}.mkb-result-list-offers-container .resultlist-aanbod{flex:30%;align-self:center}.mkb-result-list-offers-container .resultlist-jaarkosten{flex:30%;align-self:center}.mkb-result-list-offers-container .resultlist-details{flex:20%}.mkb-result-list-offers-container .with-background{background-color:#f1f9fd;vertical-align:middle;display:table-cell;position:relative;padding:25px 0;width:315px;float:none}.mkb-result-list-offers-container .buttons-section{display:flex;flex-flow:row;justify-content:center}.mkb-result-list-offers-container .btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.mkb-result-list-offers-container .btn.active,.mkb-result-list-offers-container .btn:active,.mkb-result-list-offers-container .btn:focus{background-image:none;border:none;box-shadow:none}.mkb-result-list-offers-container .buttons-section .btn-details{background-color:#fff;line-height:24px;color:#84c370;border-radius:0;font-size:16px;border:none;width:136px;height:40px}.mkb-result-list-offers-container .buttons-section .btn-aanvragen{background-color:#84c370;line-height:24px;font-weight:bold;border-radius:0;font-size:16px;border:none;color:#fff;width:136px;height:40px}.mkb-result-list-offers-container .kosten-section{display:flex;justify-content:center;flex-flow:row;place-content:space-around}.mkb-result-list-offers-container .phone-section{display:flex;justify-content:center}.mkb-result-list-offers-container .phone-section .btn-phone{text-decoration:underline;margin-top:15px;color:#202020;font-size:14px}\n", ""]);

// exports


/***/ }),
/* 126 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(127);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 127 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.mkb-result-list-filters-container{position:relative;padding-right:15px;padding-left:15px;flex:100%;display:inline-table;background-color:#fafafa}.mkb-result-list-filters-container ul{padding:0}.mkb-result-list-filters-container ul li{list-style:none;font-size:14px}.mkb-result-list-filters-container .gray-text{color:#6d6d6d !important}.mkb-result-list-filters-container a{text-decoration:underline}.mkb-result-list-filters-container a .fa.fa-close{color:#ff9800}.mkb-result-list-filters-container .filter-padding{padding-top:20px}\n", ""]);

// exports


/***/ }),
/* 128 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(129);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 129 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.mkb-result-list-details-container{position:relative;padding-right:15px;padding-left:30px;flex:100%;display:flex;flex-flow:wrap;font-family:'Lato', sans-serif;overflow-x:hidden;font-size:15px;font-weight:normal}.mkb-result-list-details-container .first-column{display:flex;flex-flow:column;flex:20%}.mkb-result-list-details-container .second-column{display:flex;flex-flow:column;flex:0 0 80%}.mkb-result-list-details-container .second-column .button-line{display:flex;flex-flow:row;width:100%}.mkb-result-list-details-container .second-column .button-line button.first{flex:0 0 49.2%;margin-right:20px;display:block;height:auto;background-color:#84c370;border:none;color:white;font-weight:bold}.mkb-result-list-details-container .second-column .button-line button.second{flex:0 0 49.2%;margin-right:20px;display:block;height:auto;color:black;font-weight:bold;border:1px #8080804d solid}.mkb-result-list-details-container .second-column .button-line button.second:focus,.mkb-result-list-details-container .second-column .button-line button.second:hover{color:#fff;background-color:black;text-decoration:none}.mkb-result-list-details-container .second-column .button-line button.first:hover,.mkb-result-list-details-container .second-column .button-line button.first:focus{background-color:#a4d695;color:#fff}.mkb-result-list-details-container .second-column .show-email-dialog{align-self:flex-end}.mkb-result-list-details-container table{background-color:transparent !important;border-spacing:0}.mkb-result-list-details-container table tr{border-top-style:dashed}.mkb-result-list-details-container table .no-border{border-top:none;border-top-style:hidden}.mkb-result-list-details-container .table-without-border tr,.mkb-result-list-details-container .table-without-border th,.mkb-result-list-details-container .table-without-border td{border:none}.mkb-result-list-details-container .table th,.mkb-result-list-details-container .table td{padding:0.75rem;vertical-align:top;border:none}.mkb-result-list-details-container table tbody>tr:nth-child(odd)>td,.mkb-result-list-details-container table tbody>tr:nth-child(odd)>th{background-color:transparent}.mkb-result-list-details-container table tbody tr:hover>td,.mkb-result-list-details-container table tbody tr:hover>th{background-color:transparent}.mkb-result-list-details-container .table>tbody>tr>td,.mkb-result-list-details-container .table>tbody>tr>th,.mkb-result-list-details-container .table>tfoot>tr>td,.mkb-result-list-details-container .table>tfoot>tr>th,.mkb-result-list-details-container .table>thead>tr>td,.mkb-result-list-details-container .table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top}.mkb-result-list-details-container table td[class*='col-'],.mkb-result-list-details-container table th[class*='col-']{position:static;display:table-cell;float:none}.mkb-result-list-details-container .text-align-right{text-align:right !important}.mkb-result-list-details-container .background-color-gray{background-color:#f3f3f3}.mkb-result-list-details-container .column-width-10{width:10%}.mkb-result-list-details-container .column-width-20{width:20%}.mkb-result-list-details-container .column-width-30{width:30%}.mkb-result-list-details-container .column-width-40{width:40%}.mkb-result-list-details-container .column-width-60{width:60%}.mkb-result-list-details-container ul{margin:7px 0;padding:0}.mkb-result-list-details-container ul li{list-style:none;padding:3px 0 3px 0;font-size:14px;margin:0}.mkb-result-list-details-container a{color:#3ca6d0;font-weight:normal}.mkb-result-list-details-container .text-header-row{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700;font-size:medium}.mkb-result-list-details-container .progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px}.mkb-result-list-details-container .progress-bar-info{background-color:#5bc0de}.mkb-result-list-details-container .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;transition:width 0.6s ease}.mkb-result-list-details-container .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}\n", ""]);

// exports


/***/ }),
/* 130 */
/***/ (function(module, exports, __webpack_require__) {


var content = __webpack_require__(131);

if(typeof content === 'string') content = [[module.i, content, '']];

var transform;
var insertInto;



var options = {"hmr":true}

options.transform = transform
options.insertInto = undefined;

var update = __webpack_require__(5)(content, options);

if(content.locals) module.exports = content.locals;

if(false) {}

/***/ }),
/* 131 */
/***/ (function(module, exports, __webpack_require__) {

var escape = __webpack_require__(6);
exports = module.exports = __webpack_require__(4)(false);
// imports
exports.push([module.i, "@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);", ""]);
exports.push([module.i, "@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap);", ""]);

// module
exports.push([module.i, "@font-face{font-family:'Fabriga';font-style:normal;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(7)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:normal;font-display:auto;src:url(" + escape(__webpack_require__(8)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(9)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:300;font-display:auto;src:url(" + escape(__webpack_require__(10)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(11)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:bold;font-display:auto;src:url(" + escape(__webpack_require__(12)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(13)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:900;font-display:auto;src:url(" + escape(__webpack_require__(14)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:normal;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(15)) + ") format(\"truetype\")}@font-face{font-family:'Fabriga';font-style:italic;font-weight:700;font-display:auto;src:url(" + escape(__webpack_require__(16)) + ") format(\"truetype\")}.mkb-result-list-container{display:flex;flex-direction:column}.mkb-result-list-container .second-row{display:flex}.mkb-result-list-container .second-row .first-column{padding-left:15px;width:280px}\n", ""]);

// exports


/***/ }),
/* 132 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXTERNAL MODULE: external "React"
var external_React_ = __webpack_require__(0);
var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);

// EXTERNAL MODULE: external "ReactDOM"
var external_ReactDOM_ = __webpack_require__(19);
var external_ReactDOM_default = /*#__PURE__*/__webpack_require__.n(external_ReactDOM_);

// EXTERNAL MODULE: ./node_modules/prop-types/index.js
var prop_types = __webpack_require__(1);
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);

// EXTERNAL MODULE: ./node_modules/lodash/lodash.js
var lodash = __webpack_require__(2);

// EXTERNAL MODULE: ./node_modules/axios/index.js
var axios = __webpack_require__(18);
var axios_default = /*#__PURE__*/__webpack_require__.n(axios);

// CONCATENATED MODULE: ./src/validation/rule-builder.js
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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); } }

function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var RuleCollection = /*#__PURE__*/function () {
  function RuleCollection(predicate) {
    _classCallCheck(this, RuleCollection);

    _defineProperty(this, "rules", []);

    _defineProperty(this, "startIndex", 0);

    var rule = this.createRule(predicate);
    this.rules.push(rule);
  }

  _createClass(RuleCollection, [{
    key: "when",
    value: function when(predicate) {
      var _this = this;

      this.rules = this.rules.map(function (rule, index) {
        if (index < _this.startIndex) return rule;
        return _objectSpread(_objectSpread({}, rule), {}, {
          when: predicate
        });
      });
      return this;
    }
  }, {
    key: "withMessage",
    value: function withMessage(message) {
      var _this2 = this;

      var increase = 0;
      this.rules = this.rules.map(function (rule, index) {
        if (index < _this2.startIndex) return rule;
        increase += 1;
        return _objectSpread(_objectSpread({}, rule), {}, {
          errorMessage: message
        });
      });
      this.startIndex += increase;
      return this;
    }
  }, {
    key: "and",
    value: function and(predicate) {
      var rule = this.createRule(predicate);
      this.rules.push(rule);
      return this;
    }
  }, {
    key: "createRule",
    value: function createRule(predicate) {
      return {
        test: predicate,
        errorMessage: null
      };
    }
  }]);

  return RuleCollection;
}();
var must = function must(predicate) {
  return new RuleCollection(predicate);
};
// CONCATENATED MODULE: ./src/common/util.js
/* eslint-disable import/no-unresolved */

function tryParseJson(str) {
  try {
    return JSON.parse(str);
  } catch (e) {
    return null;
  }
}
function isNumeric(value) {
  return !Object(lodash["isNaN"])(value - parseFloat(value));
}
function isNullOrWs(value) {
  return value == null || Object(lodash["isString"])(value) && value.trim().length === 0;
}
function tryParseInt(str) {
  var response = isNumeric(str) ? parseInt(str, 10) : null;
  return response || null;
}
function isNullOrNanOrZero(value) {
  if (value === null || value === undefined || value === 0 || Number.isNaN(value)) return true;
  return false;
} // Removes commas, periods and spaces from numbers and returns string (for use in URLs)

function cleanNumberAsString(number) {
  return number.toString().replace(/[ ,.]/g, '');
}
function generateUniqueId(uniqueId, string) {
  var asSuffix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  return !asSuffix ? string + uniqueId : uniqueId + string;
}
function hasOrganicReferrerCheck(referrer) {
  if (!isNullOrWs(referrer)) {
    if (referrer.startsWith('https://www.google.') || referrer.startsWith('http://www.google.') || referrer.startsWith('https://google.') || referrer.startsWith('http://google.') || referrer.startsWith('https://www.bing.') || referrer.startsWith('http://www.bing.') || referrer.startsWith('https://bing.') || referrer.startsWith('http://bing.')) {
      return true;
    }
  }

  return false;
}
function removeSpaceFromString(string) {
  return string.split(' ').join('');
}
function saveToLocalStorage(key, value) {
  try {
    var ls = window.localStorage;
    if (ls === null || !Object(lodash["isFunction"])(ls.setItem)) return;
    ls.setItem(key, JSON.stringify(value));
  } catch (error) {
    // eslint-disable-next-line no-console
    console.log(error);
  }
}
function loadFromLocalStorage(key) {
  try {
    var ls = window.localStorage;
    if (ls === null || !Object(lodash["isFunction"])(ls.getItem)) return;
    var data = tryParseJson(ls.getItem(key)) || {};
    return data;
  } catch (error) {
    // eslint-disable-next-line no-console
    console.log(error);
  }
}
function formatNumber(number) {
  var decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
  if (isNullOrWs(number)) return 'N/A';
  if (Object(lodash["isInteger"])(number)) return number.toLocaleString('nl-NL');
  return Object(lodash["round"])(number, decimals).toLocaleString('nl-NL');
}
function formatNumberWithThousandSeperator(number) {
  if (isNullOrWs(number)) return number;
  return number.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1.');
}
// CONCATENATED MODULE: ./src/validation/predicates.js

function beNotEmpty(value) {
  return !isNullOrWs(value);
}
function beTrue(value) {
  return value === true;
}
function minLength(length) {
  return function (value) {
    return value.length >= length;
  };
}
function maxLength(length) {
  return function (value) {
    return value.length <= length;
  };
}
function beValidEmailAddress(value) {
  if (isNullOrWs(value) || value.match(/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/)) return true;
  return false;
}
function beValidTelefoonnummer(value) {
  if (isNullOrWs(value) || value.match(/^(?=.*(?:(?:\d[ -]?){10}))\d(?:[0-9 -]*\d)?$/)) {
    return true;
  }

  return false;
}
function beValidInteger(value) {
  return isNullOrWs(value) || tryParseInt(value);
}
// CONCATENATED MODULE: ./src/components/Calculators/Horizontal/ValidationRules/mkbValidation.js


var mkbValidation_ruleSetFactory = function ruleSetFactory(hasStroom, hasGas, isDubbeleMeter, isVerbruikIngevuld, ignoreGasValue) {
  return {
    postcode: must(beNotEmpty).withMessage('Vul uw postcode in.').and(minLength(6)).withMessage('Vul uw postcode in.'),
    huisnummer: must(beNotEmpty).withMessage('Vul uw huisnummer in.'),
    toevoeging: must(maxLength(6)).withMessage('Vul een geldige huisnummertoevoeging van maximaal 6 tekens in.'),
    stroomLeverancier: must(beNotEmpty).withMessage('Kies huidige leverancier.'),
    typeandId: must(beNotEmpty).when(function () {
      return beTrue(isVerbruikIngevuld);
    }).withMessage('Type pand is verplicht.'),
    stroomVerbruik: must(beNotEmpty).when(function () {
      return beTrue(hasStroom) && !beTrue(isVerbruikIngevuld) && !beTrue(isDubbeleMeter);
    }).withMessage('Vul uw stroom verbruik in. Wilt u alleen gas vergelijken? Vink dan het groene vinkje uit.'),
    gasVerbruik: must(beNotEmpty).when(function () {
      return !beTrue(hasStroom) && !beTrue(isVerbruikIngevuld);
    }).withMessage('Vul uw gasverbruik in. Verbruikt u alleen stroom? Vink dan het vinkje bij gas uit.').and(function () {
      return false;
    }).when(function () {
      return !beTrue(hasGas) && !beTrue(ignoreGasValue) && !beTrue(isVerbruikIngevuld);
    }).withMessage('Heeft u wel een gasaansluiting, maar verbruikt u geen gas? Vul dan als verbruik “1” in.'),
    stroomVerbruikHoog: must(beNotEmpty).when(function () {
      return beTrue(isDubbeleMeter);
    }).withMessage('Vul normaalverbruik in.'),
    stroomVerbruikLaag: must(beNotEmpty).when(function () {
      return beTrue(isDubbeleMeter);
    }).withMessage('Vul dalverbruik in.')
  };
};
// CONCATENATED MODULE: ./src/components/Calculators/Horizontal/ValidationRules/solarValidation.js
/* eslint-disable import/no-unresolved */

/* eslint-disable import/extensions */


var solarValidation_ruleSetFactorySolar = function ruleSetFactorySolar(isDubbeleMeter) {
  return {
    solarProductionSingle: must(beNotEmpty).when(function () {
      return beTrue(!isDubbeleMeter);
    }).withMessage('Vul uw energie opwek in.'),
    solarProductionHigh: must(beNotEmpty).when(function () {
      return beTrue(isDubbeleMeter);
    }).withMessage('Vul uw energie opwek in.'),
    solarProductionLow: must(beNotEmpty).when(function () {
      return beTrue(isDubbeleMeter);
    }).withMessage('Vul uw energie opwek in.')
  };
};
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_isPlaceholder.js
function _isPlaceholder(a) {
  return a != null && typeof a === 'object' && a['@@functional/placeholder'] === true;
}
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_curry1.js

/**
 * Optimized internal one-arity curry function.
 *
 * @private
 * @category Function
 * @param {Function} fn The function to curry.
 * @return {Function} The curried function.
 */

function _curry1(fn) {
  return function f1(a) {
    if (arguments.length === 0 || _isPlaceholder(a)) {
      return f1;
    } else {
      return fn.apply(this, arguments);
    }
  };
}
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_curry2.js


/**
 * Optimized internal two-arity curry function.
 *
 * @private
 * @category Function
 * @param {Function} fn The function to curry.
 * @return {Function} The curried function.
 */

function _curry2(fn) {
  return function f2(a, b) {
    switch (arguments.length) {
      case 0:
        return f2;

      case 1:
        return _isPlaceholder(a) ? f2 : _curry1(function (_b) {
          return fn(a, _b);
        });

      default:
        return _isPlaceholder(a) && _isPlaceholder(b) ? f2 : _isPlaceholder(a) ? _curry1(function (_a) {
          return fn(_a, b);
        }) : _isPlaceholder(b) ? _curry1(function (_b) {
          return fn(a, _b);
        }) : fn(a, b);
    }
  };
}
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_isArray.js
/**
 * Tests whether or not an object is an array.
 *
 * @private
 * @param {*} val The object to test.
 * @return {Boolean} `true` if `val` is an array, `false` otherwise.
 * @example
 *
 *      _isArray([]); //=> true
 *      _isArray(null); //=> false
 *      _isArray({}); //=> false
 */
/* harmony default export */ var _isArray = (Array.isArray || function _isArray(val) {
  return val != null && val.length >= 0 && Object.prototype.toString.call(val) === '[object Array]';
});
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_isTransformer.js
function _isTransformer(obj) {
  return obj != null && typeof obj['@@transducer/step'] === 'function';
}
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_dispatchable.js


/**
 * Returns a function that dispatches with different strategies based on the
 * object in list position (last argument). If it is an array, executes [fn].
 * Otherwise, if it has a function with one of the given method names, it will
 * execute that function (functor case). Otherwise, if it is a transformer,
 * uses transducer [xf] to return a new transformer (transducer case).
 * Otherwise, it will default to executing [fn].
 *
 * @private
 * @param {Array} methodNames properties to check for a custom implementation
 * @param {Function} xf transducer to initialize if object is transformer
 * @param {Function} fn default ramda implementation
 * @return {Function} A function that dispatches on object in list position
 */

function _dispatchable(methodNames, xf, fn) {
  return function () {
    if (arguments.length === 0) {
      return fn();
    }

    var args = Array.prototype.slice.call(arguments, 0);
    var obj = args.pop();

    if (!_isArray(obj)) {
      var idx = 0;

      while (idx < methodNames.length) {
        if (typeof obj[methodNames[idx]] === 'function') {
          return obj[methodNames[idx]].apply(obj, args);
        }

        idx += 1;
      }

      if (_isTransformer(obj)) {
        var transducer = xf.apply(null, args);
        return transducer(obj);
      }
    }

    return fn.apply(this, arguments);
  };
}
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_map.js
function _map(fn, functor) {
  var idx = 0;
  var len = functor.length;
  var result = Array(len);

  while (idx < len) {
    result[idx] = fn(functor[idx]);
    idx += 1;
  }

  return result;
}
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_isString.js
function _isString(x) {
  return Object.prototype.toString.call(x) === '[object String]';
}
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_isArrayLike.js



/**
 * Tests whether or not an object is similar to an array.
 *
 * @private
 * @category Type
 * @category List
 * @sig * -> Boolean
 * @param {*} x The object to test.
 * @return {Boolean} `true` if `x` has a numeric length property and extreme indices defined; `false` otherwise.
 * @example
 *
 *      _isArrayLike([]); //=> true
 *      _isArrayLike(true); //=> false
 *      _isArrayLike({}); //=> false
 *      _isArrayLike({length: 10}); //=> false
 *      _isArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> true
 */

var _isArrayLike =
/*#__PURE__*/
_curry1(function isArrayLike(x) {
  if (_isArray(x)) {
    return true;
  }

  if (!x) {
    return false;
  }

  if (typeof x !== 'object') {
    return false;
  }

  if (_isString(x)) {
    return false;
  }

  if (x.nodeType === 1) {
    return !!x.length;
  }

  if (x.length === 0) {
    return true;
  }

  if (x.length > 0) {
    return x.hasOwnProperty(0) && x.hasOwnProperty(x.length - 1);
  }

  return false;
});

/* harmony default export */ var internal_isArrayLike = (_isArrayLike);
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_xwrap.js
var XWrap =
/*#__PURE__*/
function () {
  function XWrap(fn) {
    this.f = fn;
  }

  XWrap.prototype['@@transducer/init'] = function () {
    throw new Error('init not implemented on XWrap');
  };

  XWrap.prototype['@@transducer/result'] = function (acc) {
    return acc;
  };

  XWrap.prototype['@@transducer/step'] = function (acc, x) {
    return this.f(acc, x);
  };

  return XWrap;
}();

function _xwrap(fn) {
  return new XWrap(fn);
}
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_arity.js
function _arity(n, fn) {
  /* eslint-disable no-unused-vars */
  switch (n) {
    case 0:
      return function () {
        return fn.apply(this, arguments);
      };

    case 1:
      return function (a0) {
        return fn.apply(this, arguments);
      };

    case 2:
      return function (a0, a1) {
        return fn.apply(this, arguments);
      };

    case 3:
      return function (a0, a1, a2) {
        return fn.apply(this, arguments);
      };

    case 4:
      return function (a0, a1, a2, a3) {
        return fn.apply(this, arguments);
      };

    case 5:
      return function (a0, a1, a2, a3, a4) {
        return fn.apply(this, arguments);
      };

    case 6:
      return function (a0, a1, a2, a3, a4, a5) {
        return fn.apply(this, arguments);
      };

    case 7:
      return function (a0, a1, a2, a3, a4, a5, a6) {
        return fn.apply(this, arguments);
      };

    case 8:
      return function (a0, a1, a2, a3, a4, a5, a6, a7) {
        return fn.apply(this, arguments);
      };

    case 9:
      return function (a0, a1, a2, a3, a4, a5, a6, a7, a8) {
        return fn.apply(this, arguments);
      };

    case 10:
      return function (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
        return fn.apply(this, arguments);
      };

    default:
      throw new Error('First argument to _arity must be a non-negative integer no greater than ten');
  }
}
// CONCATENATED MODULE: ./node_modules/ramda/es/bind.js


/**
 * Creates a function that is bound to a context.
 * Note: `R.bind` does not provide the additional argument-binding capabilities of
 * [Function.prototype.bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).
 *
 * @func
 * @memberOf R
 * @since v0.6.0
 * @category Function
 * @category Object
 * @sig (* -> *) -> {*} -> (* -> *)
 * @param {Function} fn The function to bind to context
 * @param {Object} thisObj The context to bind `fn` to
 * @return {Function} A function that will execute in the context of `thisObj`.
 * @see R.partial
 * @example
 *
 *      const log = R.bind(console.log, console);
 *      R.pipe(R.assoc('a', 2), R.tap(log), R.assoc('a', 3))({a: 1}); //=> {a: 3}
 *      // logs {a: 2}
 * @symb R.bind(f, o)(a, b) = f.call(o, a, b)
 */

var bind_bind =
/*#__PURE__*/
_curry2(function bind(fn, thisObj) {
  return _arity(fn.length, function () {
    return fn.apply(thisObj, arguments);
  });
});

/* harmony default export */ var es_bind = (bind_bind);
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_reduce.js




function _arrayReduce(xf, acc, list) {
  var idx = 0;
  var len = list.length;

  while (idx < len) {
    acc = xf['@@transducer/step'](acc, list[idx]);

    if (acc && acc['@@transducer/reduced']) {
      acc = acc['@@transducer/value'];
      break;
    }

    idx += 1;
  }

  return xf['@@transducer/result'](acc);
}

function _iterableReduce(xf, acc, iter) {
  var step = iter.next();

  while (!step.done) {
    acc = xf['@@transducer/step'](acc, step.value);

    if (acc && acc['@@transducer/reduced']) {
      acc = acc['@@transducer/value'];
      break;
    }

    step = iter.next();
  }

  return xf['@@transducer/result'](acc);
}

function _methodReduce(xf, acc, obj, methodName) {
  return xf['@@transducer/result'](obj[methodName](es_bind(xf['@@transducer/step'], xf), acc));
}

var symIterator = typeof Symbol !== 'undefined' ? Symbol.iterator : '@@iterator';
function _reduce(fn, acc, list) {
  if (typeof fn === 'function') {
    fn = _xwrap(fn);
  }

  if (internal_isArrayLike(list)) {
    return _arrayReduce(fn, acc, list);
  }

  if (typeof list['fantasy-land/reduce'] === 'function') {
    return _methodReduce(fn, acc, list, 'fantasy-land/reduce');
  }

  if (list[symIterator] != null) {
    return _iterableReduce(fn, acc, list[symIterator]());
  }

  if (typeof list.next === 'function') {
    return _iterableReduce(fn, acc, list);
  }

  if (typeof list.reduce === 'function') {
    return _methodReduce(fn, acc, list, 'reduce');
  }

  throw new TypeError('reduce: list must be array or iterable');
}
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_xfBase.js
/* harmony default export */ var _xfBase = ({
  init: function () {
    return this.xf['@@transducer/init']();
  },
  result: function (result) {
    return this.xf['@@transducer/result'](result);
  }
});
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_xmap.js



var _xmap_XMap =
/*#__PURE__*/
function () {
  function XMap(f, xf) {
    this.xf = xf;
    this.f = f;
  }

  XMap.prototype['@@transducer/init'] = _xfBase.init;
  XMap.prototype['@@transducer/result'] = _xfBase.result;

  XMap.prototype['@@transducer/step'] = function (result, input) {
    return this.xf['@@transducer/step'](result, this.f(input));
  };

  return XMap;
}();

var _xmap =
/*#__PURE__*/
_curry2(function _xmap(f, xf) {
  return new _xmap_XMap(f, xf);
});

/* harmony default export */ var internal_xmap = (_xmap);
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_curryN.js


/**
 * Internal curryN function.
 *
 * @private
 * @category Function
 * @param {Number} length The arity of the curried function.
 * @param {Array} received An array of arguments received thus far.
 * @param {Function} fn The function to curry.
 * @return {Function} The curried function.
 */

function _curryN(length, received, fn) {
  return function () {
    var combined = [];
    var argsIdx = 0;
    var left = length;
    var combinedIdx = 0;

    while (combinedIdx < received.length || argsIdx < arguments.length) {
      var result;

      if (combinedIdx < received.length && (!_isPlaceholder(received[combinedIdx]) || argsIdx >= arguments.length)) {
        result = received[combinedIdx];
      } else {
        result = arguments[argsIdx];
        argsIdx += 1;
      }

      combined[combinedIdx] = result;

      if (!_isPlaceholder(result)) {
        left -= 1;
      }

      combinedIdx += 1;
    }

    return left <= 0 ? fn.apply(this, combined) : _arity(left, _curryN(length, combined, fn));
  };
}
// CONCATENATED MODULE: ./node_modules/ramda/es/curryN.js




/**
 * Returns a curried equivalent of the provided function, with the specified
 * arity. The curried function has two unusual capabilities. First, its
 * arguments needn't be provided one at a time. If `g` is `R.curryN(3, f)`, the
 * following are equivalent:
 *
 *   - `g(1)(2)(3)`
 *   - `g(1)(2, 3)`
 *   - `g(1, 2)(3)`
 *   - `g(1, 2, 3)`
 *
 * Secondly, the special placeholder value [`R.__`](#__) may be used to specify
 * "gaps", allowing partial application of any combination of arguments,
 * regardless of their positions. If `g` is as above and `_` is [`R.__`](#__),
 * the following are equivalent:
 *
 *   - `g(1, 2, 3)`
 *   - `g(_, 2, 3)(1)`
 *   - `g(_, _, 3)(1)(2)`
 *   - `g(_, _, 3)(1, 2)`
 *   - `g(_, 2)(1)(3)`
 *   - `g(_, 2)(1, 3)`
 *   - `g(_, 2)(_, 3)(1)`
 *
 * @func
 * @memberOf R
 * @since v0.5.0
 * @category Function
 * @sig Number -> (* -> a) -> (* -> a)
 * @param {Number} length The arity for the returned function.
 * @param {Function} fn The function to curry.
 * @return {Function} A new, curried function.
 * @see R.curry
 * @example
 *
 *      const sumArgs = (...args) => R.sum(args);
 *
 *      const curriedAddFourNumbers = R.curryN(4, sumArgs);
 *      const f = curriedAddFourNumbers(1, 2);
 *      const g = f(3);
 *      g(4); //=> 10
 */

var curryN_curryN =
/*#__PURE__*/
_curry2(function curryN(length, fn) {
  if (length === 1) {
    return _curry1(fn);
  }

  return _arity(length, _curryN(length, [], fn));
});

/* harmony default export */ var es_curryN = (curryN_curryN);
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_has.js
function _has(prop, obj) {
  return Object.prototype.hasOwnProperty.call(obj, prop);
}
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_isArguments.js

var _isArguments_toString = Object.prototype.toString;

var _isArguments_isArguments =
/*#__PURE__*/
function () {
  return _isArguments_toString.call(arguments) === '[object Arguments]' ? function _isArguments(x) {
    return _isArguments_toString.call(x) === '[object Arguments]';
  } : function _isArguments(x) {
    return _has('callee', x);
  };
}();

/* harmony default export */ var internal_isArguments = (_isArguments_isArguments);
// CONCATENATED MODULE: ./node_modules/ramda/es/keys.js


 // cover IE < 9 keys issues

var hasEnumBug = !
/*#__PURE__*/
{
  toString: null
}.propertyIsEnumerable('toString');
var nonEnumerableProps = ['constructor', 'valueOf', 'isPrototypeOf', 'toString', 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; // Safari bug

var hasArgsEnumBug =
/*#__PURE__*/
function () {
  'use strict';

  return arguments.propertyIsEnumerable('length');
}();

var contains = function contains(list, item) {
  var idx = 0;

  while (idx < list.length) {
    if (list[idx] === item) {
      return true;
    }

    idx += 1;
  }

  return false;
};
/**
 * Returns a list containing the names of all the enumerable own properties of
 * the supplied object.
 * Note that the order of the output array is not guaranteed to be consistent
 * across different JS platforms.
 *
 * @func
 * @memberOf R
 * @since v0.1.0
 * @category Object
 * @sig {k: v} -> [k]
 * @param {Object} obj The object to extract properties from
 * @return {Array} An array of the object's own properties.
 * @see R.keysIn, R.values
 * @example
 *
 *      R.keys({a: 1, b: 2, c: 3}); //=> ['a', 'b', 'c']
 */


var keys_keys = typeof Object.keys === 'function' && !hasArgsEnumBug ?
/*#__PURE__*/
_curry1(function keys(obj) {
  return Object(obj) !== obj ? [] : Object.keys(obj);
}) :
/*#__PURE__*/
_curry1(function keys(obj) {
  if (Object(obj) !== obj) {
    return [];
  }

  var prop, nIdx;
  var ks = [];

  var checkArgsLength = hasArgsEnumBug && internal_isArguments(obj);

  for (prop in obj) {
    if (_has(prop, obj) && (!checkArgsLength || prop !== 'length')) {
      ks[ks.length] = prop;
    }
  }

  if (hasEnumBug) {
    nIdx = nonEnumerableProps.length - 1;

    while (nIdx >= 0) {
      prop = nonEnumerableProps[nIdx];

      if (_has(prop, obj) && !contains(ks, prop)) {
        ks[ks.length] = prop;
      }

      nIdx -= 1;
    }
  }

  return ks;
});
/* harmony default export */ var es_keys = (keys_keys);
// CONCATENATED MODULE: ./node_modules/ramda/es/map.js







/**
 * Takes a function and
 * a [functor](https://github.com/fantasyland/fantasy-land#functor),
 * applies the function to each of the functor's values, and returns
 * a functor of the same shape.
 *
 * Ramda provides suitable `map` implementations for `Array` and `Object`,
 * so this function may be applied to `[1, 2, 3]` or `{x: 1, y: 2, z: 3}`.
 *
 * Dispatches to the `map` method of the second argument, if present.
 *
 * Acts as a transducer if a transformer is given in list position.
 *
 * Also treats functions as functors and will compose them together.
 *
 * @func
 * @memberOf R
 * @since v0.1.0
 * @category List
 * @sig Functor f => (a -> b) -> f a -> f b
 * @param {Function} fn The function to be called on every element of the input `list`.
 * @param {Array} list The list to be iterated over.
 * @return {Array} The new list.
 * @see R.transduce, R.addIndex
 * @example
 *
 *      const double = x => x * 2;
 *
 *      R.map(double, [1, 2, 3]); //=> [2, 4, 6]
 *
 *      R.map(double, {x: 1, y: 2, z: 3}); //=> {x: 2, y: 4, z: 6}
 * @symb R.map(f, [a, b]) = [f(a), f(b)]
 * @symb R.map(f, { x: a, y: b }) = { x: f(a), y: f(b) }
 * @symb R.map(f, functor_o) = functor_o.map(f)
 */

var map_map =
/*#__PURE__*/
_curry2(
/*#__PURE__*/
_dispatchable(['fantasy-land/map', 'map'], internal_xmap, function map(fn, functor) {
  switch (Object.prototype.toString.call(functor)) {
    case '[object Function]':
      return es_curryN(functor.length, function () {
        return fn.call(this, functor.apply(this, arguments));
      });

    case '[object Object]':
      return _reduce(function (acc, key) {
        acc[key] = fn(functor[key]);
        return acc;
      }, {}, es_keys(functor));

    default:
      return _map(fn, functor);
  }
}));

/* harmony default export */ var es_map = (map_map);
// CONCATENATED MODULE: ./node_modules/ramda/es/nth.js


/**
 * Returns the nth element of the given list or string. If n is negative the
 * element at index length + n is returned.
 *
 * @func
 * @memberOf R
 * @since v0.1.0
 * @category List
 * @sig Number -> [a] -> a | Undefined
 * @sig Number -> String -> String
 * @param {Number} offset
 * @param {*} list
 * @return {*}
 * @example
 *
 *      const list = ['foo', 'bar', 'baz', 'quux'];
 *      R.nth(1, list); //=> 'bar'
 *      R.nth(-1, list); //=> 'quux'
 *      R.nth(-99, list); //=> undefined
 *
 *      R.nth(2, 'abc'); //=> 'c'
 *      R.nth(3, 'abc'); //=> ''
 * @symb R.nth(-1, [a, b, c]) = c
 * @symb R.nth(0, [a, b, c]) = a
 * @symb R.nth(1, [a, b, c]) = b
 */

var nth_nth =
/*#__PURE__*/
_curry2(function nth(offset, list) {
  var idx = offset < 0 ? list.length + offset : offset;
  return _isString(list) ? list.charAt(idx) : list[idx];
});

/* harmony default export */ var es_nth = (nth_nth);
// CONCATENATED MODULE: ./node_modules/ramda/es/head.js

/**
 * Returns the first element of the given list or string. In some libraries
 * this function is named `first`.
 *
 * @func
 * @memberOf R
 * @since v0.1.0
 * @category List
 * @sig [a] -> a | Undefined
 * @sig String -> String
 * @param {Array|String} list
 * @return {*}
 * @see R.tail, R.init, R.last
 * @example
 *
 *      R.head(['fi', 'fo', 'fum']); //=> 'fi'
 *      R.head([]); //=> undefined
 *
 *      R.head('abc'); //=> 'a'
 *      R.head(''); //=> ''
 */

var head =
/*#__PURE__*/
es_nth(0);
/* harmony default export */ var es_head = (head);
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_filter.js
function _filter(fn, list) {
  var idx = 0;
  var len = list.length;
  var result = [];

  while (idx < len) {
    if (fn(list[idx])) {
      result[result.length] = list[idx];
    }

    idx += 1;
  }

  return result;
}
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_isObject.js
function _isObject(x) {
  return Object.prototype.toString.call(x) === '[object Object]';
}
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_xfilter.js



var _xfilter_XFilter =
/*#__PURE__*/
function () {
  function XFilter(f, xf) {
    this.xf = xf;
    this.f = f;
  }

  XFilter.prototype['@@transducer/init'] = _xfBase.init;
  XFilter.prototype['@@transducer/result'] = _xfBase.result;

  XFilter.prototype['@@transducer/step'] = function (result, input) {
    return this.f(input) ? this.xf['@@transducer/step'](result, input) : result;
  };

  return XFilter;
}();

var _xfilter =
/*#__PURE__*/
_curry2(function _xfilter(f, xf) {
  return new _xfilter_XFilter(f, xf);
});

/* harmony default export */ var internal_xfilter = (_xfilter);
// CONCATENATED MODULE: ./node_modules/ramda/es/filter.js







/**
 * Takes a predicate and a `Filterable`, and returns a new filterable of the
 * same type containing the members of the given filterable which satisfy the
 * given predicate. Filterable objects include plain objects or any object
 * that has a filter method such as `Array`.
 *
 * Dispatches to the `filter` method of the second argument, if present.
 *
 * Acts as a transducer if a transformer is given in list position.
 *
 * @func
 * @memberOf R
 * @since v0.1.0
 * @category List
 * @sig Filterable f => (a -> Boolean) -> f a -> f a
 * @param {Function} pred
 * @param {Array} filterable
 * @return {Array} Filterable
 * @see R.reject, R.transduce, R.addIndex
 * @example
 *
 *      const isEven = n => n % 2 === 0;
 *
 *      R.filter(isEven, [1, 2, 3, 4]); //=> [2, 4]
 *
 *      R.filter(isEven, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}
 */

var filter =
/*#__PURE__*/
_curry2(
/*#__PURE__*/
_dispatchable(['filter'], internal_xfilter, function (pred, filterable) {
  return _isObject(filterable) ? _reduce(function (acc, key) {
    if (pred(filterable[key])) {
      acc[key] = filterable[key];
    }

    return acc;
  }, {}, es_keys(filterable)) : // else
  _filter(pred, filterable);
}));

/* harmony default export */ var es_filter = (filter);
// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_curry3.js



/**
 * Optimized internal three-arity curry function.
 *
 * @private
 * @category Function
 * @param {Function} fn The function to curry.
 * @return {Function} The curried function.
 */

function _curry3(fn) {
  return function f3(a, b, c) {
    switch (arguments.length) {
      case 0:
        return f3;

      case 1:
        return _isPlaceholder(a) ? f3 : _curry2(function (_b, _c) {
          return fn(a, _b, _c);
        });

      case 2:
        return _isPlaceholder(a) && _isPlaceholder(b) ? f3 : _isPlaceholder(a) ? _curry2(function (_a, _c) {
          return fn(_a, b, _c);
        }) : _isPlaceholder(b) ? _curry2(function (_b, _c) {
          return fn(a, _b, _c);
        }) : _curry1(function (_c) {
          return fn(a, b, _c);
        });

      default:
        return _isPlaceholder(a) && _isPlaceholder(b) && _isPlaceholder(c) ? f3 : _isPlaceholder(a) && _isPlaceholder(b) ? _curry2(function (_a, _b) {
          return fn(_a, _b, c);
        }) : _isPlaceholder(a) && _isPlaceholder(c) ? _curry2(function (_a, _c) {
          return fn(_a, b, _c);
        }) : _isPlaceholder(b) && _isPlaceholder(c) ? _curry2(function (_b, _c) {
          return fn(a, _b, _c);
        }) : _isPlaceholder(a) ? _curry1(function (_a) {
          return fn(_a, b, c);
        }) : _isPlaceholder(b) ? _curry1(function (_b) {
          return fn(a, _b, c);
        }) : _isPlaceholder(c) ? _curry1(function (_c) {
          return fn(a, b, _c);
        }) : fn(a, b, c);
    }
  };
}
// CONCATENATED MODULE: ./node_modules/ramda/es/mergeWithKey.js


/**
 * Creates a new object with the own properties of the two provided objects. If
 * a key exists in both objects, the provided function is applied to the key
 * and the values associated with the key in each object, with the result being
 * used as the value associated with the key in the returned object.
 *
 * @func
 * @memberOf R
 * @since v0.19.0
 * @category Object
 * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}
 * @param {Function} fn
 * @param {Object} l
 * @param {Object} r
 * @return {Object}
 * @see R.mergeDeepWithKey, R.merge, R.mergeWith
 * @example
 *
 *      let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r
 *      R.mergeWithKey(concatValues,
 *                     { a: true, thing: 'foo', values: [10, 20] },
 *                     { b: true, thing: 'bar', values: [15, 35] });
 *      //=> { a: true, b: true, thing: 'bar', values: [10, 20, 15, 35] }
 * @symb R.mergeWithKey(f, { x: 1, y: 2 }, { y: 5, z: 3 }) = { x: 1, y: f('y', 2, 5), z: 3 }
 */

var mergeWithKey_mergeWithKey =
/*#__PURE__*/
_curry3(function mergeWithKey(fn, l, r) {
  var result = {};
  var k;

  for (k in l) {
    if (_has(k, l)) {
      result[k] = _has(k, r) ? fn(k, l[k], r[k]) : l[k];
    }
  }

  for (k in r) {
    if (_has(k, r) && !_has(k, result)) {
      result[k] = r[k];
    }
  }

  return result;
});

/* harmony default export */ var es_mergeWithKey = (mergeWithKey_mergeWithKey);
// CONCATENATED MODULE: ./node_modules/ramda/es/pick.js

/**
 * Returns a partial copy of an object containing only the keys specified. If
 * the key does not exist, the property is ignored.
 *
 * @func
 * @memberOf R
 * @since v0.1.0
 * @category Object
 * @sig [k] -> {k: v} -> {k: v}
 * @param {Array} names an array of String property names to copy onto a new object
 * @param {Object} obj The object to copy from
 * @return {Object} A new object with only properties from `names` on it.
 * @see R.omit, R.props
 * @example
 *
 *      R.pick(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1, d: 4}
 *      R.pick(['a', 'e', 'f'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1}
 */

var pick =
/*#__PURE__*/
_curry2(function pick(names, obj) {
  var result = {};
  var idx = 0;

  while (idx < names.length) {
    if (names[idx] in obj) {
      result[names[idx]] = obj[names[idx]];
    }

    idx += 1;
  }

  return result;
});

/* harmony default export */ var es_pick = (pick);
// CONCATENATED MODULE: ./src/validation/validator.js
function validator_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function validator_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { validator_ownKeys(Object(source), true).forEach(function (key) { validator_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { validator_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function validator_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

/* eslint-disable import/no-unresolved */



var validator_createPredicate = function createPredicate(rule) {
  return function (a) {
    if (Object(lodash["isFunction"])(rule.when) && !rule.when(a)) return null;
    return rule.test(a) ? null : rule.errorMessage;
  };
};

var createPredicates = es_map(validator_createPredicate);

var validator_runPredicates = function runPredicates(request) {
  return es_map(function (predFn) {
    return predFn(request.value);
  }, createPredicates(request.rules));
};

var validator_runValidation = function runValidation(request) {
  return es_head(es_filter(function (r) {
    return r != null;
  }, validator_runPredicates(request))) || null;
};

var validator_makeValidationObject = function makeValidationObject(instance, validator) {
  var merge = function merge(k, l, r) {
    return {
      value: l,
      rules: r.rules
    };
  };

  return es_mergeWithKey(merge, instance, validator);
};

var validator_validate = function validate(instance, validator) {
  var base = Object.keys(validator).reduce(function (mem, key) {
    return validator_objectSpread(validator_objectSpread({}, mem), {}, validator_defineProperty({}, key, undefined));
  }, {});

  var augmentedInstance = validator_objectSpread(validator_objectSpread({}, base), instance);

  var keys = Object(lodash["intersection"])(Object.keys(augmentedInstance), Object.keys(validator));
  var items = validator_makeValidationObject(es_pick(keys, instance), es_pick(keys, validator));
  var response = es_map(validator_runValidation, items);
  var result = Object(lodash["pickBy"])(response, function (i) {
    return !Object(lodash["isEmpty"])(i);
  });
  if (false) {} // Used while in development

  return result;
};
var validateProp = function validateProp(value, collection) {
  return validator_runValidation({
    value: value,
    rules: collection.rules
  });
};
var validator_isResultValid = function isResultValid(value) {
  return Object(lodash["isEmpty"])(value);
};
var isInstanceValid = function isInstanceValid(instance, validator) {
  return validator_isResultValid(validator_validate(instance, validator));
};
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
function _extends() {
  _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;
  };

  return _extends.apply(this, arguments);
}
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
function _objectWithoutPropertiesLoose(source, excluded) {
  if (source == null) return {};
  var target = {};
  var sourceKeys = Object.keys(source);
  var key, i;

  for (i = 0; i < sourceKeys.length; i++) {
    key = sourceKeys[i];
    if (excluded.indexOf(key) >= 0) continue;
    target[key] = source[key];
  }

  return target;
}
// EXTERNAL MODULE: ./node_modules/classnames/index.js
var classnames = __webpack_require__(21);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);

// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/matches.js
var matchesImpl;
/**
 * Checks if a given element matches a selector.
 * 
 * @param node the element
 * @param selector the selector
 */

function matches(node, selector) {
  if (!matchesImpl) {
    var body = document.body;
    var nativeMatch = body.matches || body.matchesSelector || body.webkitMatchesSelector || body.mozMatchesSelector || body.msMatchesSelector;

    matchesImpl = function matchesImpl(n, s) {
      return nativeMatch.call(n, s);
    };
  }

  return matchesImpl(node, selector);
}
// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/querySelectorAll.js
var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
/**
 * Runs `querySelectorAll` on a given element.
 * 
 * @param element the element
 * @param selector the selector
 */

function qsa(element, selector) {
  return toArray(element.querySelectorAll(selector));
}
// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/canUseDOM.js
/* harmony default export */ var canUseDOM = (!!(typeof window !== 'undefined' && window.document && window.document.createElement));
// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/addEventListener.js
/* eslint-disable no-return-assign */

var optionsSupported = false;
var onceSupported = false;

try {
  var addEventListener_options = {
    get passive() {
      return optionsSupported = true;
    },

    get once() {
      // eslint-disable-next-line no-multi-assign
      return onceSupported = optionsSupported = true;
    }

  };

  if (canUseDOM) {
    window.addEventListener('test', addEventListener_options, addEventListener_options);
    window.removeEventListener('test', addEventListener_options, true);
  }
} catch (e) {
  /* */
}

/**
 * An `addEventListener` ponyfill, supports the `once` option
 * 
 * @param node the element
 * @param eventName the event name
 * @param handle the handler
 * @param options event options
 */
function addEventListener(node, eventName, handler, options) {
  if (options && typeof options !== 'boolean' && !onceSupported) {
    var once = options.once,
        capture = options.capture;
    var wrappedHandler = handler;

    if (!onceSupported && once) {
      wrappedHandler = handler.__once || function onceHandler(event) {
        this.removeEventListener(eventName, onceHandler, capture);
        handler.call(this, event);
      };

      handler.__once = wrappedHandler;
    }

    node.addEventListener(eventName, wrappedHandler, optionsSupported ? options : capture);
  }

  node.addEventListener(eventName, handler, options);
}

/* harmony default export */ var esm_addEventListener = (addEventListener);
// EXTERNAL MODULE: ./node_modules/invariant/browser.js
var browser = __webpack_require__(24);
var browser_default = /*#__PURE__*/__webpack_require__.n(browser);

// CONCATENATED MODULE: ./node_modules/uncontrollable/lib/esm/utils.js


var noop = function noop() {};

function readOnlyPropType(handler, name) {
  return function (props, propName) {
    if (props[propName] !== undefined) {
      if (!props[handler]) {
        return new Error("You have provided a `" + propName + "` prop to `" + name + "` " + ("without an `" + handler + "` handler prop. This will render a read-only field. ") + ("If the field should be mutable use `" + defaultKey(propName) + "`. ") + ("Otherwise, set `" + handler + "`."));
      }
    }
  };
}

function uncontrolledPropTypes(controlledValues, displayName) {
  var propTypes = {};
  Object.keys(controlledValues).forEach(function (prop) {
    // add default propTypes for folks that use runtime checks
    propTypes[defaultKey(prop)] = noop;

    if (false) { var handler; }
  });
  return propTypes;
}
function utils_isProp(props, prop) {
  return props[prop] !== undefined;
}
function defaultKey(key) {
  return 'default' + key.charAt(0).toUpperCase() + key.substr(1);
}
/**
 * Copyright (c) 2013-present, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 */

function utils_canAcceptRef(component) {
  return !!component && (typeof component !== 'function' || component.prototype && component.prototype.isReactComponent);
}
// CONCATENATED MODULE: ./node_modules/uncontrollable/lib/esm/hook.js



function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }

function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }




function useUncontrolledProp(propValue, defaultValue, handler) {
  var wasPropRef = Object(external_React_["useRef"])(propValue !== undefined);

  var _useState = Object(external_React_["useState"])(defaultValue),
      stateValue = _useState[0],
      setState = _useState[1];

  var isProp = propValue !== undefined;
  var wasProp = wasPropRef.current;
  wasPropRef.current = isProp;
  /**
   * If a prop switches from controlled to Uncontrolled
   * reset its value to the defaultValue
   */

  if (!isProp && wasProp && stateValue !== defaultValue) {
    setState(defaultValue);
  }

  return [isProp ? propValue : stateValue, Object(external_React_["useCallback"])(function (value) {
    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
      args[_key - 1] = arguments[_key];
    }

    if (handler) handler.apply(void 0, [value].concat(args));
    setState(value);
  }, [handler])];
}


function useUncontrolled(props, config) {
  return Object.keys(config).reduce(function (result, fieldName) {
    var _extends2;

    var _ref = result,
        defaultValue = _ref[defaultKey(fieldName)],
        propsValue = _ref[fieldName],
        rest = _objectWithoutPropertiesLoose(_ref, [defaultKey(fieldName), fieldName].map(_toPropertyKey));

    var handlerName = config[fieldName];

    var _useUncontrolledProp = useUncontrolledProp(propsValue, defaultValue, props[handlerName]),
        value = _useUncontrolledProp[0],
        handler = _useUncontrolledProp[1];

    return _extends({}, rest, (_extends2 = {}, _extends2[fieldName] = value, _extends2[handlerName] = handler, _extends2));
  }, props);
}
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
function _setPrototypeOf(o, p) {
  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
    o.__proto__ = p;
    return o;
  };

  return _setPrototypeOf(o, p);
}
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js

function _inheritsLoose(subClass, superClass) {
  subClass.prototype = Object.create(superClass.prototype);
  subClass.prototype.constructor = subClass;
  _setPrototypeOf(subClass, superClass);
}
// CONCATENATED MODULE: ./node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js
/**
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

function componentWillMount() {
  // Call this.constructor.gDSFP to support sub-classes.
  var state = this.constructor.getDerivedStateFromProps(this.props, this.state);
  if (state !== null && state !== undefined) {
    this.setState(state);
  }
}

function componentWillReceiveProps(nextProps) {
  // Call this.constructor.gDSFP to support sub-classes.
  // Use the setState() updater to ensure state isn't stale in certain edge cases.
  function updater(prevState) {
    var state = this.constructor.getDerivedStateFromProps(nextProps, prevState);
    return state !== null && state !== undefined ? state : null;
  }
  // Binding "this" is important for shallow renderer support.
  this.setState(updater.bind(this));
}

function componentWillUpdate(nextProps, nextState) {
  try {
    var prevProps = this.props;
    var prevState = this.state;
    this.props = nextProps;
    this.state = nextState;
    this.__reactInternalSnapshotFlag = true;
    this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(
      prevProps,
      prevState
    );
  } finally {
    this.props = prevProps;
    this.state = prevState;
  }
}

// React may warn about cWM/cWRP/cWU methods being deprecated.
// Add a flag to suppress these warnings for this special case.
componentWillMount.__suppressDeprecationWarning = true;
componentWillReceiveProps.__suppressDeprecationWarning = true;
componentWillUpdate.__suppressDeprecationWarning = true;

function polyfill(Component) {
  var prototype = Component.prototype;

  if (!prototype || !prototype.isReactComponent) {
    throw new Error('Can only polyfill class components');
  }

  if (
    typeof Component.getDerivedStateFromProps !== 'function' &&
    typeof prototype.getSnapshotBeforeUpdate !== 'function'
  ) {
    return Component;
  }

  // If new component APIs are defined, "unsafe" lifecycles won't be called.
  // Error if any of these lifecycles are present,
  // Because they would work differently between older and newer (16.3+) versions of React.
  var foundWillMountName = null;
  var foundWillReceivePropsName = null;
  var foundWillUpdateName = null;
  if (typeof prototype.componentWillMount === 'function') {
    foundWillMountName = 'componentWillMount';
  } else if (typeof prototype.UNSAFE_componentWillMount === 'function') {
    foundWillMountName = 'UNSAFE_componentWillMount';
  }
  if (typeof prototype.componentWillReceiveProps === 'function') {
    foundWillReceivePropsName = 'componentWillReceiveProps';
  } else if (typeof prototype.UNSAFE_componentWillReceiveProps === 'function') {
    foundWillReceivePropsName = 'UNSAFE_componentWillReceiveProps';
  }
  if (typeof prototype.componentWillUpdate === 'function') {
    foundWillUpdateName = 'componentWillUpdate';
  } else if (typeof prototype.UNSAFE_componentWillUpdate === 'function') {
    foundWillUpdateName = 'UNSAFE_componentWillUpdate';
  }
  if (
    foundWillMountName !== null ||
    foundWillReceivePropsName !== null ||
    foundWillUpdateName !== null
  ) {
    var componentName = Component.displayName || Component.name;
    var newApiName =
      typeof Component.getDerivedStateFromProps === 'function'
        ? 'getDerivedStateFromProps()'
        : 'getSnapshotBeforeUpdate()';

    throw Error(
      'Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n' +
        componentName +
        ' uses ' +
        newApiName +
        ' but also contains the following legacy lifecycles:' +
        (foundWillMountName !== null ? '\n  ' + foundWillMountName : '') +
        (foundWillReceivePropsName !== null
          ? '\n  ' + foundWillReceivePropsName
          : '') +
        (foundWillUpdateName !== null ? '\n  ' + foundWillUpdateName : '') +
        '\n\nThe above lifecycles should be removed. Learn more about this warning here:\n' +
        'https://fb.me/react-async-component-lifecycle-hooks'
    );
  }

  // React <= 16.2 does not support static getDerivedStateFromProps.
  // As a workaround, use cWM and cWRP to invoke the new static lifecycle.
  // Newer versions of React will ignore these lifecycles if gDSFP exists.
  if (typeof Component.getDerivedStateFromProps === 'function') {
    prototype.componentWillMount = componentWillMount;
    prototype.componentWillReceiveProps = componentWillReceiveProps;
  }

  // React <= 16.2 does not support getSnapshotBeforeUpdate.
  // As a workaround, use cWU to invoke the new lifecycle.
  // Newer versions of React will ignore that lifecycle if gSBU exists.
  if (typeof prototype.getSnapshotBeforeUpdate === 'function') {
    if (typeof prototype.componentDidUpdate !== 'function') {
      throw new Error(
        'Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype'
      );
    }

    prototype.componentWillUpdate = componentWillUpdate;

    var componentDidUpdate = prototype.componentDidUpdate;

    prototype.componentDidUpdate = function componentDidUpdatePolyfill(
      prevProps,
      prevState,
      maybeSnapshot
    ) {
      // 16.3+ will not execute our will-update method;
      // It will pass a snapshot value to did-update though.
      // Older versions will require our polyfilled will-update value.
      // We need to handle both cases, but can't just check for the presence of "maybeSnapshot",
      // Because for <= 15.x versions this might be a "prevContext" object.
      // We also can't just check "__reactInternalSnapshot",
      // Because get-snapshot might return a falsy value.
      // So check for the explicit __reactInternalSnapshotFlag flag to determine behavior.
      var snapshot = this.__reactInternalSnapshotFlag
        ? this.__reactInternalSnapshot
        : maybeSnapshot;

      componentDidUpdate.call(this, prevProps, prevState, snapshot);
    };
  }

  return Component;
}



// CONCATENATED MODULE: ./node_modules/uncontrollable/lib/esm/uncontrollable.js



var _jsxFileName = "/Users/jquense/src/uncontrollable/src/uncontrollable.js";




function uncontrollable(Component, controlledValues, methods) {
  if (methods === void 0) {
    methods = [];
  }

  var displayName = Component.displayName || Component.name || 'Component';
  var canAcceptRef = utils_canAcceptRef(Component);
  var controlledProps = Object.keys(controlledValues);
  var PROPS_TO_OMIT = controlledProps.map(defaultKey);
  !(canAcceptRef || !methods.length) ?  false ? undefined : browser_default()(false) : void 0;

  var UncontrolledComponent =
  /*#__PURE__*/
  function (_React$Component) {
    _inheritsLoose(UncontrolledComponent, _React$Component);

    function UncontrolledComponent() {
      var _this;

      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
        args[_key] = arguments[_key];
      }

      _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
      _this.handlers = Object.create(null);
      controlledProps.forEach(function (propName) {
        var handlerName = controlledValues[propName];

        var handleChange = function handleChange(value) {
          if (_this.props[handlerName]) {
            var _this$props;

            _this._notifying = true;

            for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
              args[_key2 - 1] = arguments[_key2];
            }

            (_this$props = _this.props)[handlerName].apply(_this$props, [value].concat(args));

            _this._notifying = false;
          }

          if (!_this.unmounted) _this.setState(function (_ref) {
            var _extends2;

            var values = _ref.values;
            return {
              values: _extends(Object.create(null), values, (_extends2 = {}, _extends2[propName] = value, _extends2))
            };
          });
        };

        _this.handlers[handlerName] = handleChange;
      });
      if (methods.length) _this.attachRef = function (ref) {
        _this.inner = ref;
      };
      var values = Object.create(null);
      controlledProps.forEach(function (key) {
        values[key] = _this.props[defaultKey(key)];
      });
      _this.state = {
        values: values,
        prevProps: {}
      };
      return _this;
    }

    var _proto = UncontrolledComponent.prototype;

    _proto.shouldComponentUpdate = function shouldComponentUpdate() {
      //let setState trigger the update
      return !this._notifying;
    };

    UncontrolledComponent.getDerivedStateFromProps = function getDerivedStateFromProps(props, _ref2) {
      var values = _ref2.values,
          prevProps = _ref2.prevProps;
      var nextState = {
        values: _extends(Object.create(null), values),
        prevProps: {}
      };
      controlledProps.forEach(function (key) {
        /**
         * If a prop switches from controlled to Uncontrolled
         * reset its value to the defaultValue
         */
        nextState.prevProps[key] = props[key];

        if (!utils_isProp(props, key) && utils_isProp(prevProps, key)) {
          nextState.values[key] = props[defaultKey(key)];
        }
      });
      return nextState;
    };

    _proto.componentWillUnmount = function componentWillUnmount() {
      this.unmounted = true;
    };

    _proto.render = function render() {
      var _this2 = this;

      var _this$props2 = this.props,
          innerRef = _this$props2.innerRef,
          props = _objectWithoutPropertiesLoose(_this$props2, ["innerRef"]);

      PROPS_TO_OMIT.forEach(function (prop) {
        delete props[prop];
      });
      var newProps = {};
      controlledProps.forEach(function (propName) {
        var propValue = _this2.props[propName];
        newProps[propName] = propValue !== undefined ? propValue : _this2.state.values[propName];
      });
      return external_React_default.a.createElement(Component, _extends({}, props, newProps, this.handlers, {
        ref: innerRef || this.attachRef
      }));
    };

    return UncontrolledComponent;
  }(external_React_default.a.Component);

  polyfill(UncontrolledComponent);
  UncontrolledComponent.displayName = "Uncontrolled(" + displayName + ")";
  UncontrolledComponent.propTypes = _extends({
    innerRef: function innerRef() {}
  }, uncontrolledPropTypes(controlledValues, displayName));
  methods.forEach(function (method) {
    UncontrolledComponent.prototype[method] = function $proxiedMethod() {
      var _this$inner;

      return (_this$inner = this.inner)[method].apply(_this$inner, arguments);
    };
  });
  var WrappedComponent = UncontrolledComponent;

  if (external_React_default.a.forwardRef) {
    WrappedComponent = external_React_default.a.forwardRef(function (props, ref) {
      return external_React_default.a.createElement(UncontrolledComponent, _extends({}, props, {
        innerRef: ref,
        __source: {
          fileName: _jsxFileName,
          lineNumber: 128
        },
        __self: this
      }));
    });
    WrappedComponent.propTypes = UncontrolledComponent.propTypes;
  }

  WrappedComponent.ControlledComponent = Component;
  /**
   * useful when wrapping a Component and you want to control
   * everything
   */

  WrappedComponent.deferControlTo = function (newComponent, additions, nextMethods) {
    if (additions === void 0) {
      additions = {};
    }

    return uncontrollable(newComponent, _extends({}, controlledValues, additions), nextMethods);
  };

  return WrappedComponent;
}
// CONCATENATED MODULE: ./node_modules/uncontrollable/lib/esm/index.js


// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/usePrevious.js

/**
 * Store the last of some value. Tracked via a `Ref` only updating it
 * after the component renders.
 *
 * Helpful if you need to compare a prop value to it's previous value during render.
 *
 * ```ts
 * function Component(props) {
 *   const lastProps = usePrevious(props)
 *
 *   if (lastProps.foo !== props.foo)
 *     resetValueFromProps(props.foo)
 * }
 * ```
 *
 * @param value the value to track
 */

function usePrevious(value) {
  var ref = Object(external_React_["useRef"])(null);
  Object(external_React_["useEffect"])(function () {
    ref.current = value;
  });
  return ref.current;
}
// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useForceUpdate.js

/**
 * Returns a function that triggers a component update. the hook equivalent to
 * `this.forceUpdate()` in a class component. In most cases using a state value directly
 * is preferable but may be required in some advanced usages of refs for interop or
 * when direct DOM manipulation is required.
 *
 * ```ts
 * const forceUpdate = useForceUpdate();
 *
 * const updateOnClick = useCallback(() => {
 *  forceUpdate()
 * }, [forceUpdate])
 *
 * return <button type="button" onClick={updateOnClick}>Hi there</button>
 * ```
 */

function useForceUpdate() {
  // The toggling state value is designed to defeat React optimizations for skipping
  // updates when they are stricting equal to the last state value
  var _useReducer = Object(external_React_["useReducer"])(function (state) {
    return !state;
  }, false),
      dispatch = _useReducer[1];

  return dispatch;
}
// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useCommittedRef.js

/**
 * Creates a `Ref` whose value is updated in an effect, ensuring the most recent
 * value is the one rendered with. Generally only required for Concurrent mode usage
 * where previous work in `render()` may be discarded befor being used.
 *
 * This is safe to access in an event handler.
 *
 * @param value The `Ref` value
 */

function useCommittedRef(value) {
  var ref = Object(external_React_["useRef"])(value);
  Object(external_React_["useEffect"])(function () {
    ref.current = value;
  }, [value]);
  return ref;
}

/* harmony default export */ var esm_useCommittedRef = (useCommittedRef);
// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useEventCallback.js


function useEventCallback(fn) {
  var ref = esm_useCommittedRef(fn);
  return Object(external_React_["useCallback"])(function () {
    return ref.current && ref.current.apply(ref, arguments);
  }, [ref]);
}
// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useEventListener.js



/**
 * Attaches an event handler outside directly to specified DOM element
 * bypassing the react synthetic event system.
 *
 * @param element The target to listen for events on
 * @param event The DOM event name
 * @param handler An event handler
 * @param capture Whether or not to listen during the capture event phase
 */
function useEventListener(eventTarget, event, listener, capture) {
  if (capture === void 0) {
    capture = false;
  }

  var handler = useEventCallback(listener);
  Object(external_React_["useEffect"])(function () {
    var target = typeof eventTarget === 'function' ? eventTarget() : eventTarget;
    target.addEventListener(event, handler, capture);
    return function () {
      return target.removeEventListener(event, handler, capture);
    };
  }, [eventTarget]);
}
// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useGlobalListener.js



/**
 * Attaches an event handler outside directly to the `document`,
 * bypassing the react synthetic event system.
 *
 * ```ts
 * useGlobalListener('keydown', (event) => {
 *  console.log(event.key)
 * })
 * ```
 *
 * @param event The DOM event name
 * @param handler An event handler
 * @param capture Whether or not to listen during the capture event phase
 */
function useGlobalListener(event, handler, capture) {
  if (capture === void 0) {
    capture = false;
  }

  var documentTarget = Object(external_React_["useCallback"])(function () {
    return document;
  }, []);
  return useEventListener(documentTarget, event, handler, capture);
}
// CONCATENATED MODULE: ./node_modules/react-overlays/esm/DropdownContext.js

var DropdownContext = /*#__PURE__*/external_React_default.a.createContext(null);
/* harmony default export */ var esm_DropdownContext = (DropdownContext);
// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useCallbackRef.js

/**
 * A convenience hook around `useState` designed to be paired with
 * the component [callback ref](https://reactjs.org/docs/refs-and-the-dom.html#callback-refs) api.
 * Callback refs are useful over `useRef()` when you need to respond to the ref being set
 * instead of lazily accessing it in an effect.
 *
 * ```ts
 * const [element, attachRef] = useCallbackRef<HTMLDivElement>()
 *
 * useEffect(() => {
 *   if (!element) return
 *
 *   const calendar = new FullCalendar.Calendar(element)
 *
 *   return () => {
 *     calendar.destroy()
 *   }
 * }, [element])
 *
 * return <div ref={attachRef} />
 * ```
 *
 * @category refs
 */

function useCallbackRef() {
  return Object(external_React_["useState"])(null);
}
// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useMounted.js

/**
 * Track whether a component is current mounted. Generally less preferable than
 * properlly canceling effects so they don't run after a component is unmounted,
 * but helpful in cases where that isn't feasible, such as a `Promise` resolution.
 *
 * @returns a function that returns the current isMounted state of the component
 *
 * ```ts
 * const [data, setData] = useState(null)
 * const isMounted = useMounted()
 *
 * useEffect(() => {
 *   fetchdata().then((newData) => {
 *      if (isMounted()) {
 *        setData(newData);
 *      }
 *   })
 * })
 * ```
 */

function useMounted() {
  var mounted = Object(external_React_["useRef"])(true);
  var isMounted = Object(external_React_["useRef"])(function () {
    return mounted.current;
  });
  Object(external_React_["useEffect"])(function () {
    return function () {
      mounted.current = false;
    };
  }, []);
  return isMounted.current;
}
// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useSafeState.js



function useSafeState(state) {
  var isMounted = useMounted();
  return [state[0], Object(external_React_["useCallback"])(function (nextState) {
    if (!isMounted()) return;
    return state[1](nextState);
  }, [isMounted, state[1]])];
}

/* harmony default export */ var esm_useSafeState = (useSafeState);
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getBasePlacement.js

function getBasePlacement(placement) {
  return placement.split('-')[0];
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
function getBoundingClientRect(element) {
  var rect = element.getBoundingClientRect();
  return {
    width: rect.width,
    height: rect.height,
    top: rect.top,
    right: rect.right,
    bottom: rect.bottom,
    left: rect.left,
    x: rect.left,
    y: rect.top
  };
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js
 // Returns the layout rect of an element relative to its offsetParent. Layout
// means it doesn't take into account transforms.

function getLayoutRect(element) {
  var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
  // Fixes https://github.com/popperjs/popper-core/issues/1223

  var width = element.offsetWidth;
  var height = element.offsetHeight;

  if (Math.abs(clientRect.width - width) <= 1) {
    width = clientRect.width;
  }

  if (Math.abs(clientRect.height - height) <= 1) {
    height = clientRect.height;
  }

  return {
    x: element.offsetLeft,
    y: element.offsetTop,
    width: width,
    height: height
  };
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js
function getWindow(node) {
  if (node == null) {
    return window;
  }

  if (node.toString() !== '[object Window]') {
    var ownerDocument = node.ownerDocument;
    return ownerDocument ? ownerDocument.defaultView || window : window;
  }

  return node;
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js


function isElement(node) {
  var OwnElement = getWindow(node).Element;
  return node instanceof OwnElement || node instanceof Element;
}

function isHTMLElement(node) {
  var OwnElement = getWindow(node).HTMLElement;
  return node instanceof OwnElement || node instanceof HTMLElement;
}

function isShadowRoot(node) {
  // IE 11 has no ShadowRoot
  if (typeof ShadowRoot === 'undefined') {
    return false;
  }

  var OwnElement = getWindow(node).ShadowRoot;
  return node instanceof OwnElement || node instanceof ShadowRoot;
}


// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/contains.js

function contains_contains(parent, child) {
  var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method

  if (parent.contains(child)) {
    return true;
  } // then fallback to custom implementation with Shadow DOM support
  else if (rootNode && isShadowRoot(rootNode)) {
      var next = child;

      do {
        if (next && parent.isSameNode(next)) {
          return true;
        } // $FlowFixMe[prop-missing]: need a better way to handle this...


        next = next.parentNode || next.host;
      } while (next);
    } // Give up, the result is false


  return false;
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js
function getNodeName(element) {
  return element ? (element.nodeName || '').toLowerCase() : null;
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js

function getComputedStyle(element) {
  return getWindow(element).getComputedStyle(element);
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/isTableElement.js

function isTableElement(element) {
  return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js

function getDocumentElement(element) {
  // $FlowFixMe[incompatible-return]: assume body is always available
  return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]
  element.document) || window.document).documentElement;
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js



function getParentNode(element) {
  if (getNodeName(element) === 'html') {
    return element;
  }

  return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle
    // $FlowFixMe[incompatible-return]
    // $FlowFixMe[prop-missing]
    element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
    element.parentNode || ( // DOM Element detected
    isShadowRoot(element) ? element.host : null) || // ShadowRoot detected
    // $FlowFixMe[incompatible-call]: HTMLElement is a Node
    getDocumentElement(element) // fallback

  );
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js







function getTrueOffsetParent(element) {
  if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837
  getComputedStyle(element).position === 'fixed') {
    return null;
  }

  return element.offsetParent;
} // `.offsetParent` reports `null` for fixed elements, while absolute elements
// return the containing block


function getContainingBlock(element) {
  var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;
  var isIE = navigator.userAgent.indexOf('Trident') !== -1;

  if (isIE && isHTMLElement(element)) {
    // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
    var elementCss = getComputedStyle(element);

    if (elementCss.position === 'fixed') {
      return null;
    }
  }

  var currentNode = getParentNode(element);

  while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
    var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that
    // create a containing block.
    // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block

    if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {
      return currentNode;
    } else {
      currentNode = currentNode.parentNode;
    }
  }

  return null;
} // Gets the closest ancestor positioned element. Handles some edge cases,
// such as table ancestors and cross browser bugs.


function getOffsetParent(element) {
  var window = getWindow(element);
  var offsetParent = getTrueOffsetParent(element);

  while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
    offsetParent = getTrueOffsetParent(offsetParent);
  }

  if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {
    return window;
  }

  return offsetParent || getContainingBlock(element) || window;
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js
function getMainAxisFromPlacement(placement) {
  return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/math.js
var math_max = Math.max;
var math_min = Math.min;
var round = Math.round;
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/within.js

function within(min, value, max) {
  return math_max(min, math_min(value, max));
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getFreshSideObject.js
function getFreshSideObject() {
  return {
    top: 0,
    right: 0,
    bottom: 0,
    left: 0
  };
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/mergePaddingObject.js

function mergePaddingObject(paddingObject) {
  return Object.assign({}, getFreshSideObject(), paddingObject);
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/expandToHashMap.js
function expandToHashMap(value, keys) {
  return keys.reduce(function (hashMap, key) {
    hashMap[key] = value;
    return hashMap;
  }, {});
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/enums.js
var enums_top = 'top';
var bottom = 'bottom';
var enums_right = 'right';
var enums_left = 'left';
var auto = 'auto';
var basePlacements = [enums_top, bottom, enums_right, enums_left];
var start = 'start';
var end = 'end';
var enums_clippingParents = 'clippingParents';
var viewport = 'viewport';
var enums_popper = 'popper';
var enums_reference = 'reference';
var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
  return acc.concat([placement + "-" + start, placement + "-" + end]);
}, []);
var enums_placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
  return acc.concat([placement, placement + "-" + start, placement + "-" + end]);
}, []); // modifiers that need to read the DOM

var beforeRead = 'beforeRead';
var read = 'read';
var afterRead = 'afterRead'; // pure-logic modifiers

var beforeMain = 'beforeMain';
var main = 'main';
var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)

var beforeWrite = 'beforeWrite';
var write = 'write';
var afterWrite = 'afterWrite';
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/arrow.js









 // eslint-disable-next-line import/no-unused-modules

var arrow_toPaddingObject = function toPaddingObject(padding, state) {
  padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
    placement: state.placement
  })) : padding;
  return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
};

function arrow_arrow(_ref) {
  var _state$modifiersData$;

  var state = _ref.state,
      name = _ref.name,
      options = _ref.options;
  var arrowElement = state.elements.arrow;
  var popperOffsets = state.modifiersData.popperOffsets;
  var basePlacement = getBasePlacement(state.placement);
  var axis = getMainAxisFromPlacement(basePlacement);
  var isVertical = [enums_left, enums_right].indexOf(basePlacement) >= 0;
  var len = isVertical ? 'height' : 'width';

  if (!arrowElement || !popperOffsets) {
    return;
  }

  var paddingObject = arrow_toPaddingObject(options.padding, state);
  var arrowRect = getLayoutRect(arrowElement);
  var minProp = axis === 'y' ? enums_top : enums_left;
  var maxProp = axis === 'y' ? bottom : enums_right;
  var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
  var startDiff = popperOffsets[axis] - state.rects.reference[axis];
  var arrowOffsetParent = getOffsetParent(arrowElement);
  var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
  var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is
  // outside of the popper bounds

  var min = paddingObject[minProp];
  var max = clientSize - arrowRect[len] - paddingObject[maxProp];
  var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;
  var offset = within(min, center, max); // Prevents breaking syntax highlighting...

  var axisProp = axis;
  state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
}

function arrow_effect(_ref2) {
  var state = _ref2.state,
      options = _ref2.options;
  var _options$element = options.element,
      arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;

  if (arrowElement == null) {
    return;
  } // CSS selector


  if (typeof arrowElement === 'string') {
    arrowElement = state.elements.popper.querySelector(arrowElement);

    if (!arrowElement) {
      return;
    }
  }

  if (false) {}

  if (!contains_contains(state.elements.popper, arrowElement)) {
    if (false) {}

    return;
  }

  state.elements.arrow = arrowElement;
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ var modifiers_arrow = ({
  name: 'arrow',
  enabled: true,
  phase: 'main',
  fn: arrow_arrow,
  effect: arrow_effect,
  requires: ['popperOffsets'],
  requiresIfExists: ['preventOverflow']
});
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/computeStyles.js






 // eslint-disable-next-line import/no-unused-modules

var unsetSides = {
  top: 'auto',
  right: 'auto',
  bottom: 'auto',
  left: 'auto'
}; // Round the offsets to the nearest suitable subpixel based on the DPR.
// Zooming can change the DPR, but it seems to report a value that will
// cleanly divide the values into the appropriate subpixels.

function roundOffsetsByDPR(_ref) {
  var x = _ref.x,
      y = _ref.y;
  var win = window;
  var dpr = win.devicePixelRatio || 1;
  return {
    x: round(round(x * dpr) / dpr) || 0,
    y: round(round(y * dpr) / dpr) || 0
  };
}

function mapToStyles(_ref2) {
  var _Object$assign2;

  var popper = _ref2.popper,
      popperRect = _ref2.popperRect,
      placement = _ref2.placement,
      offsets = _ref2.offsets,
      position = _ref2.position,
      gpuAcceleration = _ref2.gpuAcceleration,
      adaptive = _ref2.adaptive,
      roundOffsets = _ref2.roundOffsets;

  var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
      _ref3$x = _ref3.x,
      x = _ref3$x === void 0 ? 0 : _ref3$x,
      _ref3$y = _ref3.y,
      y = _ref3$y === void 0 ? 0 : _ref3$y;

  var hasX = offsets.hasOwnProperty('x');
  var hasY = offsets.hasOwnProperty('y');
  var sideX = enums_left;
  var sideY = enums_top;
  var win = window;

  if (adaptive) {
    var offsetParent = getOffsetParent(popper);
    var heightProp = 'clientHeight';
    var widthProp = 'clientWidth';

    if (offsetParent === getWindow(popper)) {
      offsetParent = getDocumentElement(popper);

      if (getComputedStyle(offsetParent).position !== 'static') {
        heightProp = 'scrollHeight';
        widthProp = 'scrollWidth';
      }
    } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it


    offsetParent = offsetParent;

    if (placement === enums_top) {
      sideY = bottom; // $FlowFixMe[prop-missing]

      y -= offsetParent[heightProp] - popperRect.height;
      y *= gpuAcceleration ? 1 : -1;
    }

    if (placement === enums_left) {
      sideX = enums_right; // $FlowFixMe[prop-missing]

      x -= offsetParent[widthProp] - popperRect.width;
      x *= gpuAcceleration ? 1 : -1;
    }
  }

  var commonStyles = Object.assign({
    position: position
  }, adaptive && unsetSides);

  if (gpuAcceleration) {
    var _Object$assign;

    return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
  }

  return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
}

function computeStyles(_ref4) {
  var state = _ref4.state,
      options = _ref4.options;
  var _options$gpuAccelerat = options.gpuAcceleration,
      gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
      _options$adaptive = options.adaptive,
      adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
      _options$roundOffsets = options.roundOffsets,
      roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;

  if (false) { var transitionProperty; }

  var commonStyles = {
    placement: getBasePlacement(state.placement),
    popper: state.elements.popper,
    popperRect: state.rects.popper,
    gpuAcceleration: gpuAcceleration
  };

  if (state.modifiersData.popperOffsets != null) {
    state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
      offsets: state.modifiersData.popperOffsets,
      position: state.options.strategy,
      adaptive: adaptive,
      roundOffsets: roundOffsets
    })));
  }

  if (state.modifiersData.arrow != null) {
    state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
      offsets: state.modifiersData.arrow,
      position: 'absolute',
      adaptive: false,
      roundOffsets: roundOffsets
    })));
  }

  state.attributes.popper = Object.assign({}, state.attributes.popper, {
    'data-popper-placement': state.placement
  });
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ var modifiers_computeStyles = ({
  name: 'computeStyles',
  enabled: true,
  phase: 'beforeWrite',
  fn: computeStyles,
  data: {}
});
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/eventListeners.js
 // eslint-disable-next-line import/no-unused-modules

var passive = {
  passive: true
};

function eventListeners_effect(_ref) {
  var state = _ref.state,
      instance = _ref.instance,
      options = _ref.options;
  var _options$scroll = options.scroll,
      scroll = _options$scroll === void 0 ? true : _options$scroll,
      _options$resize = options.resize,
      resize = _options$resize === void 0 ? true : _options$resize;
  var window = getWindow(state.elements.popper);
  var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);

  if (scroll) {
    scrollParents.forEach(function (scrollParent) {
      scrollParent.addEventListener('scroll', instance.update, passive);
    });
  }

  if (resize) {
    window.addEventListener('resize', instance.update, passive);
  }

  return function () {
    if (scroll) {
      scrollParents.forEach(function (scrollParent) {
        scrollParent.removeEventListener('scroll', instance.update, passive);
      });
    }

    if (resize) {
      window.removeEventListener('resize', instance.update, passive);
    }
  };
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ var eventListeners = ({
  name: 'eventListeners',
  enabled: true,
  phase: 'write',
  fn: function fn() {},
  effect: eventListeners_effect,
  data: {}
});
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getOppositePlacement.js
var hash = {
  left: 'right',
  right: 'left',
  bottom: 'top',
  top: 'bottom'
};
function getOppositePlacement(placement) {
  return placement.replace(/left|right|bottom|top/g, function (matched) {
    return hash[matched];
  });
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js
var getOppositeVariationPlacement_hash = {
  start: 'end',
  end: 'start'
};
function getOppositeVariationPlacement(placement) {
  return placement.replace(/start|end/g, function (matched) {
    return getOppositeVariationPlacement_hash[matched];
  });
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js

function getWindowScroll(node) {
  var win = getWindow(node);
  var scrollLeft = win.pageXOffset;
  var scrollTop = win.pageYOffset;
  return {
    scrollLeft: scrollLeft,
    scrollTop: scrollTop
  };
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js



function getWindowScrollBarX(element) {
  // If <html> has a CSS width greater than the viewport, then this will be
  // incorrect for RTL.
  // Popper 1 is broken in this case and never had a bug report so let's assume
  // it's not an issue. I don't think anyone ever specifies width on <html>
  // anyway.
  // Browsers where the left scrollbar doesn't cause an issue report `0` for
  // this (e.g. Edge 2019, IE11, Safari)
  return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js



function getViewportRect(element) {
  var win = getWindow(element);
  var html = getDocumentElement(element);
  var visualViewport = win.visualViewport;
  var width = html.clientWidth;
  var height = html.clientHeight;
  var x = 0;
  var y = 0; // NB: This isn't supported on iOS <= 12. If the keyboard is open, the popper
  // can be obscured underneath it.
  // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even
  // if it isn't open, so if this isn't available, the popper will be detected
  // to overflow the bottom of the screen too early.

  if (visualViewport) {
    width = visualViewport.width;
    height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently)
    // In Chrome, it returns a value very close to 0 (+/-) but contains rounding
    // errors due to floating point numbers, so we need to check precision.
    // Safari returns a number <= 0, usually < -1 when pinch-zoomed
    // Feature detection fails in mobile emulation mode in Chrome.
    // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <
    // 0.001
    // Fallback here: "Not Safari" userAgent

    if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {
      x = visualViewport.offsetLeft;
      y = visualViewport.offsetTop;
    }
  }

  return {
    width: width,
    height: height,
    x: x + getWindowScrollBarX(element),
    y: y
  };
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js




 // Gets the entire size of the scrollable document area, even extending outside
// of the `<html>` and `<body>` rect bounds if horizontally scrollable

function getDocumentRect(element) {
  var _element$ownerDocumen;

  var html = getDocumentElement(element);
  var winScroll = getWindowScroll(element);
  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
  var width = math_max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
  var height = math_max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
  var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
  var y = -winScroll.scrollTop;

  if (getComputedStyle(body || html).direction === 'rtl') {
    x += math_max(html.clientWidth, body ? body.clientWidth : 0) - width;
  }

  return {
    width: width,
    height: height,
    x: x,
    y: y
  };
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js

function isScrollParent(element) {
  // Firefox wants us to check `-x` and `-y` variations as well
  var _getComputedStyle = getComputedStyle(element),
      overflow = _getComputedStyle.overflow,
      overflowX = _getComputedStyle.overflowX,
      overflowY = _getComputedStyle.overflowY;

  return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js




function getScrollParent(node) {
  if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {
    // $FlowFixMe[incompatible-return]: assume body is always available
    return node.ownerDocument.body;
  }

  if (isHTMLElement(node) && isScrollParent(node)) {
    return node;
  }

  return getScrollParent(getParentNode(node));
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js




/*
given a DOM element, return the list of all scroll parents, up the list of ancesors
until we get to the top window object. This list is what we attach scroll listeners
to, because if any of these parent elements scroll, we'll need to re-calculate the
reference element's position.
*/

function listScrollParents(element, list) {
  var _element$ownerDocumen;

  if (list === void 0) {
    list = [];
  }

  var scrollParent = getScrollParent(element);
  var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
  var win = getWindow(scrollParent);
  var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
  var updatedList = list.concat(target);
  return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
  updatedList.concat(listScrollParents(getParentNode(target)));
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/rectToClientRect.js
function rectToClientRect(rect) {
  return Object.assign({}, rect, {
    left: rect.x,
    top: rect.y,
    right: rect.x + rect.width,
    bottom: rect.y + rect.height
  });
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js















function getInnerBoundingClientRect(element) {
  var rect = getBoundingClientRect(element);
  rect.top = rect.top + element.clientTop;
  rect.left = rect.left + element.clientLeft;
  rect.bottom = rect.top + element.clientHeight;
  rect.right = rect.left + element.clientWidth;
  rect.width = element.clientWidth;
  rect.height = element.clientHeight;
  rect.x = rect.left;
  rect.y = rect.top;
  return rect;
}

function getClientRectFromMixedType(element, clippingParent) {
  return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
} // A "clipping parent" is an overflowable container with the characteristic of
// clipping (or hiding) overflowing elements with a position different from
// `initial`


function getClippingParents(element) {
  var clippingParents = listScrollParents(getParentNode(element));
  var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;
  var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;

  if (!isElement(clipperElement)) {
    return [];
  } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414


  return clippingParents.filter(function (clippingParent) {
    return isElement(clippingParent) && contains_contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
  });
} // Gets the maximum area that the element is visible in due to any number of
// clipping parents


function getClippingRect(element, boundary, rootBoundary) {
  var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
  var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
  var firstClippingParent = clippingParents[0];
  var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
    var rect = getClientRectFromMixedType(element, clippingParent);
    accRect.top = math_max(rect.top, accRect.top);
    accRect.right = math_min(rect.right, accRect.right);
    accRect.bottom = math_min(rect.bottom, accRect.bottom);
    accRect.left = math_max(rect.left, accRect.left);
    return accRect;
  }, getClientRectFromMixedType(element, firstClippingParent));
  clippingRect.width = clippingRect.right - clippingRect.left;
  clippingRect.height = clippingRect.bottom - clippingRect.top;
  clippingRect.x = clippingRect.left;
  clippingRect.y = clippingRect.top;
  return clippingRect;
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getVariation.js
function getVariation(placement) {
  return placement.split('-')[1];
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/computeOffsets.js




function computeOffsets(_ref) {
  var reference = _ref.reference,
      element = _ref.element,
      placement = _ref.placement;
  var basePlacement = placement ? getBasePlacement(placement) : null;
  var variation = placement ? getVariation(placement) : null;
  var commonX = reference.x + reference.width / 2 - element.width / 2;
  var commonY = reference.y + reference.height / 2 - element.height / 2;
  var offsets;

  switch (basePlacement) {
    case enums_top:
      offsets = {
        x: commonX,
        y: reference.y - element.height
      };
      break;

    case bottom:
      offsets = {
        x: commonX,
        y: reference.y + reference.height
      };
      break;

    case enums_right:
      offsets = {
        x: reference.x + reference.width,
        y: commonY
      };
      break;

    case enums_left:
      offsets = {
        x: reference.x - element.width,
        y: commonY
      };
      break;

    default:
      offsets = {
        x: reference.x,
        y: reference.y
      };
  }

  var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;

  if (mainAxis != null) {
    var len = mainAxis === 'y' ? 'height' : 'width';

    switch (variation) {
      case start:
        offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
        break;

      case end:
        offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);
        break;

      default:
    }
  }

  return offsets;
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/detectOverflow.js








 // eslint-disable-next-line import/no-unused-modules

function detectOverflow(state, options) {
  if (options === void 0) {
    options = {};
  }

  var _options = options,
      _options$placement = _options.placement,
      placement = _options$placement === void 0 ? state.placement : _options$placement,
      _options$boundary = _options.boundary,
      boundary = _options$boundary === void 0 ? enums_clippingParents : _options$boundary,
      _options$rootBoundary = _options.rootBoundary,
      rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,
      _options$elementConte = _options.elementContext,
      elementContext = _options$elementConte === void 0 ? enums_popper : _options$elementConte,
      _options$altBoundary = _options.altBoundary,
      altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,
      _options$padding = _options.padding,
      padding = _options$padding === void 0 ? 0 : _options$padding;
  var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
  var altContext = elementContext === enums_popper ? enums_reference : enums_popper;
  var referenceElement = state.elements.reference;
  var popperRect = state.rects.popper;
  var element = state.elements[altBoundary ? altContext : elementContext];
  var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
  var referenceClientRect = getBoundingClientRect(referenceElement);
  var popperOffsets = computeOffsets({
    reference: referenceClientRect,
    element: popperRect,
    strategy: 'absolute',
    placement: placement
  });
  var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
  var elementClientRect = elementContext === enums_popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect
  // 0 or negative = within the clipping rect

  var overflowOffsets = {
    top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
    bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
    left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
    right: elementClientRect.right - clippingClientRect.right + paddingObject.right
  };
  var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element

  if (elementContext === enums_popper && offsetData) {
    var offset = offsetData[placement];
    Object.keys(overflowOffsets).forEach(function (key) {
      var multiply = [enums_right, bottom].indexOf(key) >= 0 ? 1 : -1;
      var axis = [enums_top, bottom].indexOf(key) >= 0 ? 'y' : 'x';
      overflowOffsets[key] += offset[axis] * multiply;
    });
  }

  return overflowOffsets;
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js




function computeAutoPlacement(state, options) {
  if (options === void 0) {
    options = {};
  }

  var _options = options,
      placement = _options.placement,
      boundary = _options.boundary,
      rootBoundary = _options.rootBoundary,
      padding = _options.padding,
      flipVariations = _options.flipVariations,
      _options$allowedAutoP = _options.allowedAutoPlacements,
      allowedAutoPlacements = _options$allowedAutoP === void 0 ? enums_placements : _options$allowedAutoP;
  var variation = getVariation(placement);
  var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
    return getVariation(placement) === variation;
  }) : basePlacements;
  var allowedPlacements = placements.filter(function (placement) {
    return allowedAutoPlacements.indexOf(placement) >= 0;
  });

  if (allowedPlacements.length === 0) {
    allowedPlacements = placements;

    if (false) {}
  } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...


  var overflows = allowedPlacements.reduce(function (acc, placement) {
    acc[placement] = detectOverflow(state, {
      placement: placement,
      boundary: boundary,
      rootBoundary: rootBoundary,
      padding: padding
    })[getBasePlacement(placement)];
    return acc;
  }, {});
  return Object.keys(overflows).sort(function (a, b) {
    return overflows[a] - overflows[b];
  });
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/flip.js






 // eslint-disable-next-line import/no-unused-modules

function getExpandedFallbackPlacements(placement) {
  if (getBasePlacement(placement) === auto) {
    return [];
  }

  var oppositePlacement = getOppositePlacement(placement);
  return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
}

function flip_flip(_ref) {
  var state = _ref.state,
      options = _ref.options,
      name = _ref.name;

  if (state.modifiersData[name]._skip) {
    return;
  }

  var _options$mainAxis = options.mainAxis,
      checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
      _options$altAxis = options.altAxis,
      checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,
      specifiedFallbackPlacements = options.fallbackPlacements,
      padding = options.padding,
      boundary = options.boundary,
      rootBoundary = options.rootBoundary,
      altBoundary = options.altBoundary,
      _options$flipVariatio = options.flipVariations,
      flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,
      allowedAutoPlacements = options.allowedAutoPlacements;
  var preferredPlacement = state.options.placement;
  var basePlacement = getBasePlacement(preferredPlacement);
  var isBasePlacement = basePlacement === preferredPlacement;
  var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
  var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {
    return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {
      placement: placement,
      boundary: boundary,
      rootBoundary: rootBoundary,
      padding: padding,
      flipVariations: flipVariations,
      allowedAutoPlacements: allowedAutoPlacements
    }) : placement);
  }, []);
  var referenceRect = state.rects.reference;
  var popperRect = state.rects.popper;
  var checksMap = new Map();
  var makeFallbackChecks = true;
  var firstFittingPlacement = placements[0];

  for (var i = 0; i < placements.length; i++) {
    var placement = placements[i];

    var _basePlacement = getBasePlacement(placement);

    var isStartVariation = getVariation(placement) === start;
    var isVertical = [enums_top, bottom].indexOf(_basePlacement) >= 0;
    var len = isVertical ? 'width' : 'height';
    var overflow = detectOverflow(state, {
      placement: placement,
      boundary: boundary,
      rootBoundary: rootBoundary,
      altBoundary: altBoundary,
      padding: padding
    });
    var mainVariationSide = isVertical ? isStartVariation ? enums_right : enums_left : isStartVariation ? bottom : enums_top;

    if (referenceRect[len] > popperRect[len]) {
      mainVariationSide = getOppositePlacement(mainVariationSide);
    }

    var altVariationSide = getOppositePlacement(mainVariationSide);
    var checks = [];

    if (checkMainAxis) {
      checks.push(overflow[_basePlacement] <= 0);
    }

    if (checkAltAxis) {
      checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);
    }

    if (checks.every(function (check) {
      return check;
    })) {
      firstFittingPlacement = placement;
      makeFallbackChecks = false;
      break;
    }

    checksMap.set(placement, checks);
  }

  if (makeFallbackChecks) {
    // `2` may be desired in some cases – research later
    var numberOfChecks = flipVariations ? 3 : 1;

    var _loop = function _loop(_i) {
      var fittingPlacement = placements.find(function (placement) {
        var checks = checksMap.get(placement);

        if (checks) {
          return checks.slice(0, _i).every(function (check) {
            return check;
          });
        }
      });

      if (fittingPlacement) {
        firstFittingPlacement = fittingPlacement;
        return "break";
      }
    };

    for (var _i = numberOfChecks; _i > 0; _i--) {
      var _ret = _loop(_i);

      if (_ret === "break") break;
    }
  }

  if (state.placement !== firstFittingPlacement) {
    state.modifiersData[name]._skip = true;
    state.placement = firstFittingPlacement;
    state.reset = true;
  }
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ var modifiers_flip = ({
  name: 'flip',
  enabled: true,
  phase: 'main',
  fn: flip_flip,
  requiresIfExists: ['offset'],
  data: {
    _skip: false
  }
});
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/hide.js



function getSideOffsets(overflow, rect, preventedOffsets) {
  if (preventedOffsets === void 0) {
    preventedOffsets = {
      x: 0,
      y: 0
    };
  }

  return {
    top: overflow.top - rect.height - preventedOffsets.y,
    right: overflow.right - rect.width + preventedOffsets.x,
    bottom: overflow.bottom - rect.height + preventedOffsets.y,
    left: overflow.left - rect.width - preventedOffsets.x
  };
}

function isAnySideFullyClipped(overflow) {
  return [enums_top, enums_right, bottom, enums_left].some(function (side) {
    return overflow[side] >= 0;
  });
}

function hide(_ref) {
  var state = _ref.state,
      name = _ref.name;
  var referenceRect = state.rects.reference;
  var popperRect = state.rects.popper;
  var preventedOffsets = state.modifiersData.preventOverflow;
  var referenceOverflow = detectOverflow(state, {
    elementContext: 'reference'
  });
  var popperAltOverflow = detectOverflow(state, {
    altBoundary: true
  });
  var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
  var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
  var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
  var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
  state.modifiersData[name] = {
    referenceClippingOffsets: referenceClippingOffsets,
    popperEscapeOffsets: popperEscapeOffsets,
    isReferenceHidden: isReferenceHidden,
    hasPopperEscaped: hasPopperEscaped
  };
  state.attributes.popper = Object.assign({}, state.attributes.popper, {
    'data-popper-reference-hidden': isReferenceHidden,
    'data-popper-escaped': hasPopperEscaped
  });
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ var modifiers_hide = ({
  name: 'hide',
  enabled: true,
  phase: 'main',
  requiresIfExists: ['preventOverflow'],
  fn: hide
});
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/offset.js


function distanceAndSkiddingToXY(placement, rects, offset) {
  var basePlacement = getBasePlacement(placement);
  var invertDistance = [enums_left, enums_top].indexOf(basePlacement) >= 0 ? -1 : 1;

  var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
    placement: placement
  })) : offset,
      skidding = _ref[0],
      distance = _ref[1];

  skidding = skidding || 0;
  distance = (distance || 0) * invertDistance;
  return [enums_left, enums_right].indexOf(basePlacement) >= 0 ? {
    x: distance,
    y: skidding
  } : {
    x: skidding,
    y: distance
  };
}

function offset_offset(_ref2) {
  var state = _ref2.state,
      options = _ref2.options,
      name = _ref2.name;
  var _options$offset = options.offset,
      offset = _options$offset === void 0 ? [0, 0] : _options$offset;
  var data = enums_placements.reduce(function (acc, placement) {
    acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
    return acc;
  }, {});
  var _data$state$placement = data[state.placement],
      x = _data$state$placement.x,
      y = _data$state$placement.y;

  if (state.modifiersData.popperOffsets != null) {
    state.modifiersData.popperOffsets.x += x;
    state.modifiersData.popperOffsets.y += y;
  }

  state.modifiersData[name] = data;
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ var modifiers_offset = ({
  name: 'offset',
  enabled: true,
  phase: 'main',
  requires: ['popperOffsets'],
  fn: offset_offset
});
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js


function popperOffsets_popperOffsets(_ref) {
  var state = _ref.state,
      name = _ref.name;
  // Offsets are the actual position the popper needs to have to be
  // properly positioned near its reference element
  // This is the most basic placement, and will be adjusted by
  // the modifiers in the next step
  state.modifiersData[name] = computeOffsets({
    reference: state.rects.reference,
    element: state.rects.popper,
    strategy: 'absolute',
    placement: state.placement
  });
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ var modifiers_popperOffsets = ({
  name: 'popperOffsets',
  enabled: true,
  phase: 'read',
  fn: popperOffsets_popperOffsets,
  data: {}
});
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getAltAxis.js
function getAltAxis(axis) {
  return axis === 'x' ? 'y' : 'x';
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/preventOverflow.js












function preventOverflow(_ref) {
  var state = _ref.state,
      options = _ref.options,
      name = _ref.name;
  var _options$mainAxis = options.mainAxis,
      checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
      _options$altAxis = options.altAxis,
      checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,
      boundary = options.boundary,
      rootBoundary = options.rootBoundary,
      altBoundary = options.altBoundary,
      padding = options.padding,
      _options$tether = options.tether,
      tether = _options$tether === void 0 ? true : _options$tether,
      _options$tetherOffset = options.tetherOffset,
      tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
  var overflow = detectOverflow(state, {
    boundary: boundary,
    rootBoundary: rootBoundary,
    padding: padding,
    altBoundary: altBoundary
  });
  var basePlacement = getBasePlacement(state.placement);
  var variation = getVariation(state.placement);
  var isBasePlacement = !variation;
  var mainAxis = getMainAxisFromPlacement(basePlacement);
  var altAxis = getAltAxis(mainAxis);
  var popperOffsets = state.modifiersData.popperOffsets;
  var referenceRect = state.rects.reference;
  var popperRect = state.rects.popper;
  var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
    placement: state.placement
  })) : tetherOffset;
  var data = {
    x: 0,
    y: 0
  };

  if (!popperOffsets) {
    return;
  }

  if (checkMainAxis || checkAltAxis) {
    var mainSide = mainAxis === 'y' ? enums_top : enums_left;
    var altSide = mainAxis === 'y' ? bottom : enums_right;
    var len = mainAxis === 'y' ? 'height' : 'width';
    var offset = popperOffsets[mainAxis];
    var min = popperOffsets[mainAxis] + overflow[mainSide];
    var max = popperOffsets[mainAxis] - overflow[altSide];
    var additive = tether ? -popperRect[len] / 2 : 0;
    var minLen = variation === start ? referenceRect[len] : popperRect[len];
    var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
    // outside the reference bounds

    var arrowElement = state.elements.arrow;
    var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {
      width: 0,
      height: 0
    };
    var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();
    var arrowPaddingMin = arrowPaddingObject[mainSide];
    var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want
    // to include its full size in the calculation. If the reference is small
    // and near the edge of a boundary, the popper can overflow even if the
    // reference is not overflowing as well (e.g. virtual elements with no
    // width or height)

    var arrowLen = within(0, referenceRect[len], arrowRect[len]);
    var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;
    var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;
    var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
    var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
    var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
    var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;
    var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;

    if (checkMainAxis) {
      var preventedOffset = within(tether ? math_min(min, tetherMin) : min, offset, tether ? math_max(max, tetherMax) : max);
      popperOffsets[mainAxis] = preventedOffset;
      data[mainAxis] = preventedOffset - offset;
    }

    if (checkAltAxis) {
      var _mainSide = mainAxis === 'x' ? enums_top : enums_left;

      var _altSide = mainAxis === 'x' ? bottom : enums_right;

      var _offset = popperOffsets[altAxis];

      var _min = _offset + overflow[_mainSide];

      var _max = _offset - overflow[_altSide];

      var _preventedOffset = within(tether ? math_min(_min, tetherMin) : _min, _offset, tether ? math_max(_max, tetherMax) : _max);

      popperOffsets[altAxis] = _preventedOffset;
      data[altAxis] = _preventedOffset - _offset;
    }
  }

  state.modifiersData[name] = data;
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ var modifiers_preventOverflow = ({
  name: 'preventOverflow',
  enabled: true,
  phase: 'main',
  fn: preventOverflow,
  requiresIfExists: ['offset']
});
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js
function getHTMLElementScroll(element) {
  return {
    scrollLeft: element.scrollLeft,
    scrollTop: element.scrollTop
  };
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js




function getNodeScroll(node) {
  if (node === getWindow(node) || !isHTMLElement(node)) {
    return getWindowScroll(node);
  } else {
    return getHTMLElementScroll(node);
  }
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js






 // Returns the composite rect of an element relative to its offsetParent.
// Composite means it takes into account transforms as well as layout.

function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
  if (isFixed === void 0) {
    isFixed = false;
  }

  var documentElement = getDocumentElement(offsetParent);
  var rect = getBoundingClientRect(elementOrVirtualElement);
  var isOffsetParentAnElement = isHTMLElement(offsetParent);
  var scroll = {
    scrollLeft: 0,
    scrollTop: 0
  };
  var offsets = {
    x: 0,
    y: 0
  };

  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
    if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078
    isScrollParent(documentElement)) {
      scroll = getNodeScroll(offsetParent);
    }

    if (isHTMLElement(offsetParent)) {
      offsets = getBoundingClientRect(offsetParent);
      offsets.x += offsetParent.clientLeft;
      offsets.y += offsetParent.clientTop;
    } else if (documentElement) {
      offsets.x = getWindowScrollBarX(documentElement);
    }
  }

  return {
    x: rect.left + scroll.scrollLeft - offsets.x,
    y: rect.top + scroll.scrollTop - offsets.y,
    width: rect.width,
    height: rect.height
  };
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/orderModifiers.js
 // source: https://stackoverflow.com/questions/49875255

function order(modifiers) {
  var map = new Map();
  var visited = new Set();
  var result = [];
  modifiers.forEach(function (modifier) {
    map.set(modifier.name, modifier);
  }); // On visiting object, check for its dependencies and visit them recursively

  function sort(modifier) {
    visited.add(modifier.name);
    var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
    requires.forEach(function (dep) {
      if (!visited.has(dep)) {
        var depModifier = map.get(dep);

        if (depModifier) {
          sort(depModifier);
        }
      }
    });
    result.push(modifier);
  }

  modifiers.forEach(function (modifier) {
    if (!visited.has(modifier.name)) {
      // check for visited object
      sort(modifier);
    }
  });
  return result;
}

function orderModifiers(modifiers) {
  // order based on dependencies
  var orderedModifiers = order(modifiers); // order based on phase

  return modifierPhases.reduce(function (acc, phase) {
    return acc.concat(orderedModifiers.filter(function (modifier) {
      return modifier.phase === phase;
    }));
  }, []);
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/debounce.js
function debounce(fn) {
  var pending;
  return function () {
    if (!pending) {
      pending = new Promise(function (resolve) {
        Promise.resolve().then(function () {
          pending = undefined;
          resolve(fn());
        });
      });
    }

    return pending;
  };
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/mergeByName.js
function mergeByName(modifiers) {
  var merged = modifiers.reduce(function (merged, current) {
    var existing = merged[current.name];
    merged[current.name] = existing ? Object.assign({}, existing, current, {
      options: Object.assign({}, existing.options, current.options),
      data: Object.assign({}, existing.data, current.data)
    }) : current;
    return merged;
  }, {}); // IE11 does not support Object.values

  return Object.keys(merged).map(function (key) {
    return merged[key];
  });
}
// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/createPopper.js














var INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';
var INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';
var DEFAULT_OPTIONS = {
  placement: 'bottom',
  modifiers: [],
  strategy: 'absolute'
};

function areValidElements() {
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
    args[_key] = arguments[_key];
  }

  return !args.some(function (element) {
    return !(element && typeof element.getBoundingClientRect === 'function');
  });
}

function popperGenerator(generatorOptions) {
  if (generatorOptions === void 0) {
    generatorOptions = {};
  }

  var _generatorOptions = generatorOptions,
      _generatorOptions$def = _generatorOptions.defaultModifiers,
      defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,
      _generatorOptions$def2 = _generatorOptions.defaultOptions,
      defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
  return function createPopper(reference, popper, options) {
    if (options === void 0) {
      options = defaultOptions;
    }

    var state = {
      placement: 'bottom',
      orderedModifiers: [],
      options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
      modifiersData: {},
      elements: {
        reference: reference,
        popper: popper
      },
      attributes: {},
      styles: {}
    };
    var effectCleanupFns = [];
    var isDestroyed = false;
    var instance = {
      state: state,
      setOptions: function setOptions(options) {
        cleanupModifierEffects();
        state.options = Object.assign({}, defaultOptions, state.options, options);
        state.scrollParents = {
          reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
          popper: listScrollParents(popper)
        }; // Orders the modifiers based on their dependencies and `phase`
        // properties

        var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers

        state.orderedModifiers = orderedModifiers.filter(function (m) {
          return m.enabled;
        }); // Validate the provided modifiers so that the consumer will get warned
        // if one of the modifiers is invalid for any reason

        if (false) { var _getComputedStyle, marginTop, marginRight, marginBottom, marginLeft, flipModifier, modifiers; }

        runModifierEffects();
        return instance.update();
      },
      // Sync update – it will always be executed, even if not necessary. This
      // is useful for low frequency updates where sync behavior simplifies the
      // logic.
      // For high frequency updates (e.g. `resize` and `scroll` events), always
      // prefer the async Popper#update method
      forceUpdate: function forceUpdate() {
        if (isDestroyed) {
          return;
        }

        var _state$elements = state.elements,
            reference = _state$elements.reference,
            popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements
        // anymore

        if (!areValidElements(reference, popper)) {
          if (false) {}

          return;
        } // Store the reference and popper rects to be read by modifiers


        state.rects = {
          reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),
          popper: getLayoutRect(popper)
        }; // Modifiers have the ability to reset the current update cycle. The
        // most common use case for this is the `flip` modifier changing the
        // placement, which then needs to re-run all the modifiers, because the
        // logic was previously ran for the previous placement and is therefore
        // stale/incorrect

        state.reset = false;
        state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier
        // is filled with the initial data specified by the modifier. This means
        // it doesn't persist and is fresh on each update.
        // To ensure persistent data, use `${name}#persistent`

        state.orderedModifiers.forEach(function (modifier) {
          return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
        });
        var __debug_loops__ = 0;

        for (var index = 0; index < state.orderedModifiers.length; index++) {
          if (false) {}

          if (state.reset === true) {
            state.reset = false;
            index = -1;
            continue;
          }

          var _state$orderedModifie = state.orderedModifiers[index],
              fn = _state$orderedModifie.fn,
              _state$orderedModifie2 = _state$orderedModifie.options,
              _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,
              name = _state$orderedModifie.name;

          if (typeof fn === 'function') {
            state = fn({
              state: state,
              options: _options,
              name: name,
              instance: instance
            }) || state;
          }
        }
      },
      // Async and optimistically optimized update – it will not be executed if
      // not necessary (debounced to run at most once-per-tick)
      update: debounce(function () {
        return new Promise(function (resolve) {
          instance.forceUpdate();
          resolve(state);
        });
      }),
      destroy: function destroy() {
        cleanupModifierEffects();
        isDestroyed = true;
      }
    };

    if (!areValidElements(reference, popper)) {
      if (false) {}

      return instance;
    }

    instance.setOptions(options).then(function (state) {
      if (!isDestroyed && options.onFirstUpdate) {
        options.onFirstUpdate(state);
      }
    }); // Modifiers have the ability to execute arbitrary code before the first
    // update cycle runs. They will be executed in the same order as the update
    // cycle. This is useful when a modifier adds some persistent data that
    // other modifiers need to use, but the modifier is run after the dependent
    // one.

    function runModifierEffects() {
      state.orderedModifiers.forEach(function (_ref3) {
        var name = _ref3.name,
            _ref3$options = _ref3.options,
            options = _ref3$options === void 0 ? {} : _ref3$options,
            effect = _ref3.effect;

        if (typeof effect === 'function') {
          var cleanupFn = effect({
            state: state,
            name: name,
            instance: instance,
            options: options
          });

          var noopFn = function noopFn() {};

          effectCleanupFns.push(cleanupFn || noopFn);
        }
      });
    }

    function cleanupModifierEffects() {
      effectCleanupFns.forEach(function (fn) {
        return fn();
      });
      effectCleanupFns = [];
    }

    return instance;
  };
}
var createPopper_createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules


// CONCATENATED MODULE: ./node_modules/react-overlays/esm/popper.js









 // For the common JS build we will turn this file into a bundle with no imports.
// This is b/c the Popper lib is all esm files, and would break in a common js only environment

var popper_createPopper = popperGenerator({
  defaultModifiers: [modifiers_hide, modifiers_popperOffsets, modifiers_computeStyles, eventListeners, modifiers_offset, modifiers_flip, modifiers_preventOverflow, modifiers_arrow]
});

// CONCATENATED MODULE: ./node_modules/react-overlays/esm/usePopper.js






var initialPopperStyles = function initialPopperStyles(position) {
  return {
    position: position,
    top: '0',
    left: '0',
    opacity: '0',
    pointerEvents: 'none'
  };
};

var disabledApplyStylesModifier = {
  name: 'applyStyles',
  enabled: false
}; // until docjs supports type exports...

var ariaDescribedByModifier = {
  name: 'ariaDescribedBy',
  enabled: true,
  phase: 'afterWrite',
  effect: function effect(_ref) {
    var state = _ref.state;
    return function () {
      var _state$elements = state.elements,
          reference = _state$elements.reference,
          popper = _state$elements.popper;

      if ('removeAttribute' in reference) {
        var ids = (reference.getAttribute('aria-describedby') || '').split(',').filter(function (id) {
          return id.trim() !== popper.id;
        });
        if (!ids.length) reference.removeAttribute('aria-describedby');else reference.setAttribute('aria-describedby', ids.join(','));
      }
    };
  },
  fn: function fn(_ref2) {
    var _popper$getAttribute;

    var state = _ref2.state;
    var _state$elements2 = state.elements,
        popper = _state$elements2.popper,
        reference = _state$elements2.reference;
    var role = (_popper$getAttribute = popper.getAttribute('role')) == null ? void 0 : _popper$getAttribute.toLowerCase();

    if (popper.id && role === 'tooltip' && 'setAttribute' in reference) {
      var ids = reference.getAttribute('aria-describedby');

      if (ids && ids.split(',').indexOf(popper.id) !== -1) {
        return;
      }

      reference.setAttribute('aria-describedby', ids ? ids + "," + popper.id : popper.id);
    }
  }
};
var EMPTY_MODIFIERS = [];
/**
 * Position an element relative some reference element using Popper.js
 *
 * @param referenceElement
 * @param popperElement
 * @param {object}      options
 * @param {object=}     options.modifiers Popper.js modifiers
 * @param {boolean=}    options.enabled toggle the popper functionality on/off
 * @param {string=}     options.placement The popper element placement relative to the reference element
 * @param {string=}     options.strategy the positioning strategy
 * @param {boolean=}    options.eventsEnabled have Popper listen on window resize events to reposition the element
 * @param {function=}   options.onCreate called when the popper is created
 * @param {function=}   options.onUpdate called when the popper is updated
 *
 * @returns {UsePopperState} The popper state
 */

function usePopper(referenceElement, popperElement, _temp) {
  var _ref3 = _temp === void 0 ? {} : _temp,
      _ref3$enabled = _ref3.enabled,
      enabled = _ref3$enabled === void 0 ? true : _ref3$enabled,
      _ref3$placement = _ref3.placement,
      placement = _ref3$placement === void 0 ? 'bottom' : _ref3$placement,
      _ref3$strategy = _ref3.strategy,
      strategy = _ref3$strategy === void 0 ? 'absolute' : _ref3$strategy,
      _ref3$modifiers = _ref3.modifiers,
      modifiers = _ref3$modifiers === void 0 ? EMPTY_MODIFIERS : _ref3$modifiers,
      config = _objectWithoutPropertiesLoose(_ref3, ["enabled", "placement", "strategy", "modifiers"]);

  var popperInstanceRef = Object(external_React_["useRef"])();
  var update = Object(external_React_["useCallback"])(function () {
    var _popperInstanceRef$cu;

    (_popperInstanceRef$cu = popperInstanceRef.current) == null ? void 0 : _popperInstanceRef$cu.update();
  }, []);
  var forceUpdate = Object(external_React_["useCallback"])(function () {
    var _popperInstanceRef$cu2;

    (_popperInstanceRef$cu2 = popperInstanceRef.current) == null ? void 0 : _popperInstanceRef$cu2.forceUpdate();
  }, []);

  var _useSafeState = esm_useSafeState(Object(external_React_["useState"])({
    placement: placement,
    update: update,
    forceUpdate: forceUpdate,
    attributes: {},
    styles: {
      popper: initialPopperStyles(strategy),
      arrow: {}
    }
  })),
      popperState = _useSafeState[0],
      setState = _useSafeState[1];

  var updateModifier = Object(external_React_["useMemo"])(function () {
    return {
      name: 'updateStateModifier',
      enabled: true,
      phase: 'write',
      requires: ['computeStyles'],
      fn: function fn(_ref4) {
        var state = _ref4.state;
        var styles = {};
        var attributes = {};
        Object.keys(state.elements).forEach(function (element) {
          styles[element] = state.styles[element];
          attributes[element] = state.attributes[element];
        });
        setState({
          state: state,
          styles: styles,
          attributes: attributes,
          update: update,
          forceUpdate: forceUpdate,
          placement: state.placement
        });
      }
    };
  }, [update, forceUpdate, setState]);
  Object(external_React_["useEffect"])(function () {
    if (!popperInstanceRef.current || !enabled) return;
    popperInstanceRef.current.setOptions({
      placement: placement,
      strategy: strategy,
      modifiers: [].concat(modifiers, [updateModifier, disabledApplyStylesModifier])
    }); // intentionally NOT re-running on new modifiers
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, [strategy, placement, updateModifier, enabled]);
  Object(external_React_["useEffect"])(function () {
    if (!enabled || referenceElement == null || popperElement == null) {
      return undefined;
    }

    popperInstanceRef.current = popper_createPopper(referenceElement, popperElement, _extends({}, config, {
      placement: placement,
      strategy: strategy,
      modifiers: [].concat(modifiers, [ariaDescribedByModifier, updateModifier])
    }));
    return function () {
      if (popperInstanceRef.current != null) {
        popperInstanceRef.current.destroy();
        popperInstanceRef.current = undefined;
        setState(function (s) {
          return _extends({}, s, {
            attributes: {},
            styles: {
              popper: initialPopperStyles(strategy)
            }
          });
        });
      }
    }; // This is only run once to _create_ the popper
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, [enabled, referenceElement, popperElement]);
  return popperState;
}

/* harmony default export */ var esm_usePopper = (usePopper);
// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/contains.js
/* eslint-disable no-bitwise, no-cond-assign */

/**
 * Checks if an element contains another given element.
 * 
 * @param context the context element
 * @param node the element to check
 */
function esm_contains_contains(context, node) {
  // HTML DOM and SVG DOM may have different support levels,
  // so we need to check on context instead of a document root element.
  if (context.contains) return context.contains(node);
  if (context.compareDocumentPosition) return context === node || !!(context.compareDocumentPosition(node) & 16);
}
// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/removeEventListener.js
/**
 * A `removeEventListener` ponyfill
 * 
 * @param node the element
 * @param eventName the event name
 * @param handle the handler
 * @param options event options
 */
function removeEventListener(node, eventName, handler, options) {
  var capture = options && typeof options !== 'boolean' ? options.capture : options;
  node.removeEventListener(eventName, handler, capture);

  if (handler.__once) {
    node.removeEventListener(eventName, handler.__once, capture);
  }
}

/* harmony default export */ var esm_removeEventListener = (removeEventListener);
// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/listen.js



function listen(node, eventName, handler, options) {
  esm_addEventListener(node, eventName, handler, options);
  return function () {
    esm_removeEventListener(node, eventName, handler, options);
  };
}

/* harmony default export */ var esm_listen = (listen);
// EXTERNAL MODULE: ./node_modules/warning/warning.js
var warning = __webpack_require__(27);
var warning_default = /*#__PURE__*/__webpack_require__.n(warning);

// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/ownerDocument.js
/**
 * Returns the owner document of a given element.
 * 
 * @param node the element
 */
function ownerDocument(node) {
  return node && node.ownerDocument || document;
}
// CONCATENATED MODULE: ./node_modules/react-overlays/esm/safeFindDOMNode.js

function safeFindDOMNode(componentOrElement) {
  if (componentOrElement && 'setState' in componentOrElement) {
    return external_ReactDOM_default.a.findDOMNode(componentOrElement);
  }

  return componentOrElement != null ? componentOrElement : null;
}
// CONCATENATED MODULE: ./node_modules/react-overlays/esm/ownerDocument.js


/* harmony default export */ var esm_ownerDocument = (function (componentOrElement) {
  return ownerDocument(safeFindDOMNode(componentOrElement));
});
// CONCATENATED MODULE: ./node_modules/react-overlays/esm/useRootClose.js






var escapeKeyCode = 27;

var useRootClose_noop = function noop() {};

function isLeftClickEvent(event) {
  return event.button === 0;
}

function isModifiedEvent(event) {
  return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
}

var getRefTarget = function getRefTarget(ref) {
  return ref && ('current' in ref ? ref.current : ref);
};

/**
 * The `useRootClose` hook registers your callback on the document
 * when rendered. Powers the `<Overlay/>` component. This is used achieve modal
 * style behavior where your callback is triggered when the user tries to
 * interact with the rest of the document or hits the `esc` key.
 *
 * @param {Ref<HTMLElement>| HTMLElement} ref  The element boundary
 * @param {function} onRootClose
 * @param {object=}  options
 * @param {boolean=} options.disabled
 * @param {string=}  options.clickTrigger The DOM event name (click, mousedown, etc) to attach listeners on
 */
function useRootClose(ref, onRootClose, _temp) {
  var _ref = _temp === void 0 ? {} : _temp,
      disabled = _ref.disabled,
      _ref$clickTrigger = _ref.clickTrigger,
      clickTrigger = _ref$clickTrigger === void 0 ? 'click' : _ref$clickTrigger;

  var preventMouseRootCloseRef = Object(external_React_["useRef"])(false);
  var onClose = onRootClose || useRootClose_noop;
  var handleMouseCapture = Object(external_React_["useCallback"])(function (e) {
    var currentTarget = getRefTarget(ref);
    warning_default()(!!currentTarget, 'RootClose captured a close event but does not have a ref to compare it to. ' + 'useRootClose(), should be passed a ref that resolves to a DOM node');
    preventMouseRootCloseRef.current = !currentTarget || isModifiedEvent(e) || !isLeftClickEvent(e) || !!esm_contains_contains(currentTarget, e.target);
  }, [ref]);
  var handleMouse = useEventCallback(function (e) {
    if (!preventMouseRootCloseRef.current) {
      onClose(e);
    }
  });
  var handleKeyUp = useEventCallback(function (e) {
    if (e.keyCode === escapeKeyCode) {
      onClose(e);
    }
  });
  Object(external_React_["useEffect"])(function () {
    if (disabled || ref == null) return undefined; // Store the current event to avoid triggering handlers immediately
    // https://github.com/facebook/react/issues/20074

    var currentEvent = window.event;
    var doc = esm_ownerDocument(getRefTarget(ref)); // Use capture for this listener so it fires before React's listener, to
    // avoid false positives in the contains() check below if the target DOM
    // element is removed in the React mouse callback.

    var removeMouseCaptureListener = esm_listen(doc, clickTrigger, handleMouseCapture, true);
    var removeMouseListener = esm_listen(doc, clickTrigger, function (e) {
      // skip if this event is the same as the one running when we added the handlers
      if (e === currentEvent) {
        currentEvent = undefined;
        return;
      }

      handleMouse(e);
    });
    var removeKeyupListener = esm_listen(doc, 'keyup', function (e) {
      // skip if this event is the same as the one running when we added the handlers
      if (e === currentEvent) {
        currentEvent = undefined;
        return;
      }

      handleKeyUp(e);
    });
    var mobileSafariHackListeners = [];

    if ('ontouchstart' in doc.documentElement) {
      mobileSafariHackListeners = [].slice.call(doc.body.children).map(function (el) {
        return esm_listen(el, 'mousemove', useRootClose_noop);
      });
    }

    return function () {
      removeMouseCaptureListener();
      removeMouseListener();
      removeKeyupListener();
      mobileSafariHackListeners.forEach(function (remove) {
        return remove();
      });
    };
  }, [ref, disabled, clickTrigger, handleMouseCapture, handleMouse, handleKeyUp]);
}

/* harmony default export */ var esm_useRootClose = (useRootClose);
// CONCATENATED MODULE: ./node_modules/react-overlays/esm/mergeOptionsWithPopperConfig.js

function toModifierMap(modifiers) {
  var result = {};

  if (!Array.isArray(modifiers)) {
    return modifiers || result;
  } // eslint-disable-next-line no-unused-expressions


  modifiers == null ? void 0 : modifiers.forEach(function (m) {
    result[m.name] = m;
  });
  return result;
}
function toModifierArray(map) {
  if (map === void 0) {
    map = {};
  }

  if (Array.isArray(map)) return map;
  return Object.keys(map).map(function (k) {
    map[k].name = k;
    return map[k];
  });
}
function mergeOptionsWithPopperConfig(_ref) {
  var _modifiers$preventOve, _modifiers$preventOve2, _modifiers$offset, _modifiers$arrow;

  var enabled = _ref.enabled,
      enableEvents = _ref.enableEvents,
      placement = _ref.placement,
      flip = _ref.flip,
      offset = _ref.offset,
      fixed = _ref.fixed,
      containerPadding = _ref.containerPadding,
      arrowElement = _ref.arrowElement,
      _ref$popperConfig = _ref.popperConfig,
      popperConfig = _ref$popperConfig === void 0 ? {} : _ref$popperConfig;
  var modifiers = toModifierMap(popperConfig.modifiers);
  return _extends({}, popperConfig, {
    placement: placement,
    enabled: enabled,
    strategy: fixed ? 'fixed' : popperConfig.strategy,
    modifiers: toModifierArray(_extends({}, modifiers, {
      eventListeners: {
        enabled: enableEvents
      },
      preventOverflow: _extends({}, modifiers.preventOverflow, {
        options: containerPadding ? _extends({
          padding: containerPadding
        }, (_modifiers$preventOve = modifiers.preventOverflow) == null ? void 0 : _modifiers$preventOve.options) : (_modifiers$preventOve2 = modifiers.preventOverflow) == null ? void 0 : _modifiers$preventOve2.options
      }),
      offset: {
        options: _extends({
          offset: offset
        }, (_modifiers$offset = modifiers.offset) == null ? void 0 : _modifiers$offset.options)
      },
      arrow: _extends({}, modifiers.arrow, {
        enabled: !!arrowElement,
        options: _extends({}, (_modifiers$arrow = modifiers.arrow) == null ? void 0 : _modifiers$arrow.options, {
          element: arrowElement
        })
      }),
      flip: _extends({
        enabled: !!flip
      }, modifiers.flip)
    }))
  });
}
// CONCATENATED MODULE: ./node_modules/react-overlays/esm/DropdownMenu.js










var DropdownMenu_noop = function noop() {};
/**
 * @memberOf Dropdown
 * @param {object}  options
 * @param {boolean} options.flip Automatically adjust the menu `drop` position based on viewport edge detection
 * @param {[number, number]} options.offset Define an offset distance between the Menu and the Toggle
 * @param {boolean} options.show Display the menu manually, ignored in the context of a `Dropdown`
 * @param {boolean} options.usePopper opt in/out of using PopperJS to position menus. When disabled you must position it yourself.
 * @param {string}  options.rootCloseEvent The pointer event to listen for when determining "clicks outside" the menu for triggering a close.
 * @param {object}  options.popperConfig Options passed to the [`usePopper`](/api/usePopper) hook.
 */


function useDropdownMenu(options) {
  if (options === void 0) {
    options = {};
  }

  var context = Object(external_React_["useContext"])(esm_DropdownContext);

  var _useCallbackRef = useCallbackRef(),
      arrowElement = _useCallbackRef[0],
      attachArrowRef = _useCallbackRef[1];

  var hasShownRef = Object(external_React_["useRef"])(false);
  var _options = options,
      flip = _options.flip,
      offset = _options.offset,
      rootCloseEvent = _options.rootCloseEvent,
      _options$fixed = _options.fixed,
      fixed = _options$fixed === void 0 ? false : _options$fixed,
      _options$popperConfig = _options.popperConfig,
      popperConfig = _options$popperConfig === void 0 ? {} : _options$popperConfig,
      _options$usePopper = _options.usePopper,
      shouldUsePopper = _options$usePopper === void 0 ? !!context : _options$usePopper;
  var show = (context == null ? void 0 : context.show) == null ? !!options.show : context.show;
  var alignEnd = (context == null ? void 0 : context.alignEnd) == null ? options.alignEnd : context.alignEnd;

  if (show && !hasShownRef.current) {
    hasShownRef.current = true;
  }

  var handleClose = function handleClose(e) {
    context == null ? void 0 : context.toggle(false, e);
  };

  var _ref = context || {},
      drop = _ref.drop,
      setMenu = _ref.setMenu,
      menuElement = _ref.menuElement,
      toggleElement = _ref.toggleElement;

  var placement = alignEnd ? 'bottom-end' : 'bottom-start';
  if (drop === 'up') placement = alignEnd ? 'top-end' : 'top-start';else if (drop === 'right') placement = alignEnd ? 'right-end' : 'right-start';else if (drop === 'left') placement = alignEnd ? 'left-end' : 'left-start';
  var popper = esm_usePopper(toggleElement, menuElement, mergeOptionsWithPopperConfig({
    placement: placement,
    enabled: !!(shouldUsePopper && show),
    enableEvents: show,
    offset: offset,
    flip: flip,
    fixed: fixed,
    arrowElement: arrowElement,
    popperConfig: popperConfig
  }));

  var menuProps = _extends({
    ref: setMenu || DropdownMenu_noop,
    'aria-labelledby': toggleElement == null ? void 0 : toggleElement.id
  }, popper.attributes.popper, {
    style: popper.styles.popper
  });

  var metadata = {
    show: show,
    alignEnd: alignEnd,
    hasShown: hasShownRef.current,
    toggle: context == null ? void 0 : context.toggle,
    popper: shouldUsePopper ? popper : null,
    arrowProps: shouldUsePopper ? _extends({
      ref: attachArrowRef
    }, popper.attributes.arrow, {
      style: popper.styles.arrow
    }) : {}
  };
  esm_useRootClose(menuElement, handleClose, {
    clickTrigger: rootCloseEvent,
    disabled: !show
  });
  return [menuProps, metadata];
}
var propTypes = {
  /**
   * A render prop that returns a Menu element. The `props`
   * argument should spread through to **a component that can accept a ref**.
   *
   * @type {Function ({
   *   show: boolean,
   *   alignEnd: boolean,
   *   close: (?SyntheticEvent) => void,
   *   placement: Placement,
   *   update: () => void,
   *   forceUpdate: () => void,
   *   props: {
   *     ref: (?HTMLElement) => void,
   *     style: { [string]: string | number },
   *     aria-labelledby: ?string
   *   },
   *   arrowProps: {
   *     ref: (?HTMLElement) => void,
   *     style: { [string]: string | number },
   *   },
   * }) => React.Element}
   */
  children: prop_types_default.a.func.isRequired,

  /**
   * Controls the visible state of the menu, generally this is
   * provided by the parent `Dropdown` component,
   * but may also be specified as a prop directly.
   */
  show: prop_types_default.a.bool,

  /**
   * Aligns the dropdown menu to the 'end' of it's placement position.
   * Generally this is provided by the parent `Dropdown` component,
   * but may also be specified as a prop directly.
   */
  alignEnd: prop_types_default.a.bool,

  /**
   * Enables the Popper.js `flip` modifier, allowing the Dropdown to
   * automatically adjust it's placement in case of overlap with the viewport or toggle.
   * Refer to the [flip docs](https://popper.js.org/popper-documentation.html#modifiers..flip.enabled) for more info
   */
  flip: prop_types_default.a.bool,
  usePopper: prop_types_default.a.oneOf([true, false]),

  /**
   * A set of popper options and props passed directly to react-popper's Popper component.
   */
  popperConfig: prop_types_default.a.object,

  /**
   * Override the default event used by RootCloseWrapper.
   */
  rootCloseEvent: prop_types_default.a.string
};
var DropdownMenu_defaultProps = {
  usePopper: true
};

/**
 * Also exported as `<Dropdown.Menu>` from `Dropdown`.
 *
 * @displayName DropdownMenu
 * @memberOf Dropdown
 */
function DropdownMenu(_ref2) {
  var children = _ref2.children,
      options = _objectWithoutPropertiesLoose(_ref2, ["children"]);

  var _useDropdownMenu = useDropdownMenu(options),
      props = _useDropdownMenu[0],
      meta = _useDropdownMenu[1];

  return /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, null, meta.hasShown ? children(props, meta) : null);
}

DropdownMenu.displayName = 'ReactOverlaysDropdownMenu';
DropdownMenu.propTypes = propTypes;
DropdownMenu.defaultProps = DropdownMenu_defaultProps;
/** @component */

/* harmony default export */ var esm_DropdownMenu = (DropdownMenu);
// CONCATENATED MODULE: ./node_modules/react-overlays/esm/DropdownToggle.js




var DropdownToggle_noop = function noop() {};
/**
 * Wires up Dropdown toggle functionality, returning a set a props to attach
 * to the element that functions as the dropdown toggle (generally a button).
 *
 * @memberOf Dropdown
 */


function useDropdownToggle() {
  var _ref = Object(external_React_["useContext"])(esm_DropdownContext) || {},
      _ref$show = _ref.show,
      show = _ref$show === void 0 ? false : _ref$show,
      _ref$toggle = _ref.toggle,
      toggle = _ref$toggle === void 0 ? DropdownToggle_noop : _ref$toggle,
      setToggle = _ref.setToggle;

  var handleClick = Object(external_React_["useCallback"])(function (e) {
    toggle(!show, e);
  }, [show, toggle]);
  return [{
    ref: setToggle || DropdownToggle_noop,
    onClick: handleClick,
    'aria-haspopup': true,
    'aria-expanded': !!show
  }, {
    show: show,
    toggle: toggle
  }];
}
var DropdownToggle_propTypes = {
  /**
   * A render prop that returns a Toggle element. The `props`
   * argument should spread through to **a component that can accept a ref**. Use
   * the `onToggle` argument to toggle the menu open or closed
   *
   * @type {Function ({
   *   show: boolean,
   *   toggle: (show: boolean) => void,
   *   props: {
   *     ref: (?HTMLElement) => void,
   *     aria-haspopup: true
   *     aria-expanded: boolean
   *   },
   * }) => React.Element}
   */
  children: prop_types_default.a.func.isRequired
};

/**
 * Also exported as `<Dropdown.Toggle>` from `Dropdown`.
 *
 * @displayName DropdownToggle
 * @memberOf Dropdown
 */
function DropdownToggle(_ref2) {
  var children = _ref2.children;

  var _useDropdownToggle = useDropdownToggle(),
      props = _useDropdownToggle[0],
      meta = _useDropdownToggle[1];

  return /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, null, children(props, meta));
}

DropdownToggle.displayName = 'ReactOverlaysDropdownToggle';
DropdownToggle.propTypes = DropdownToggle_propTypes;
/** @component */

/* harmony default export */ var esm_DropdownToggle = (DropdownToggle);
// CONCATENATED MODULE: ./node_modules/react-overlays/esm/Dropdown.js













var Dropdown_propTypes = {
  /**
   * A render prop that returns the root dropdown element. The `props`
   * argument should spread through to an element containing _both_ the
   * menu and toggle in order to handle keyboard events for focus management.
   *
   * @type {Function ({
   *   props: {
   *     onKeyDown: (SyntheticEvent) => void,
   *   },
   * }) => React.Element}
   */
  children: prop_types_default.a.node,

  /**
   * Determines the direction and location of the Menu in relation to it's Toggle.
   */
  drop: prop_types_default.a.oneOf(['up', 'left', 'right', 'down']),

  /**
   * Controls the focus behavior for when the Dropdown is opened. Set to
   * `true` to always focus the first menu item, `keyboard` to focus only when
   * navigating via the keyboard, or `false` to disable completely
   *
   * The Default behavior is `false` **unless** the Menu has a `role="menu"`
   * where it will default to `keyboard` to match the recommended [ARIA Authoring practices](https://www.w3.org/TR/wai-aria-practices-1.1/#menubutton).
   */
  focusFirstItemOnShow: prop_types_default.a.oneOf([false, true, 'keyboard']),

  /**
   * A css slector string that will return __focusable__ menu items.
   * Selectors should be relative to the menu component:
   * e.g. ` > li:not('.disabled')`
   */
  itemSelector: prop_types_default.a.string,

  /**
   * Align the menu to the 'end' side of the placement side of the Dropdown toggle. The default placement is `top-start` or `bottom-start`.
   */
  alignEnd: prop_types_default.a.bool,

  /**
   * Whether or not the Dropdown is visible.
   *
   * @controllable onToggle
   */
  show: prop_types_default.a.bool,

  /**
   * Sets the initial show position of the Dropdown.
   */
  defaultShow: prop_types_default.a.bool,

  /**
   * A callback fired when the Dropdown wishes to change visibility. Called with the requested
   * `show` value, the DOM event, and the source that fired it: `'click'`,`'keydown'`,`'rootClose'`, or `'select'`.
   *
   * ```ts static
   * function(
   *   isOpen: boolean,
   *   event: SyntheticEvent,
   * ): void
   * ```
   *
   * @controllable show
   */
  onToggle: prop_types_default.a.func
};

function useRefWithUpdate() {
  var forceUpdate = useForceUpdate();
  var ref = Object(external_React_["useRef"])(null);
  var attachRef = Object(external_React_["useCallback"])(function (element) {
    ref.current = element; // ensure that a menu set triggers an update for consumers

    forceUpdate();
  }, [forceUpdate]);
  return [ref, attachRef];
}
/**
 * @displayName Dropdown
 * @public
 */


function Dropdown(_ref) {
  var drop = _ref.drop,
      alignEnd = _ref.alignEnd,
      defaultShow = _ref.defaultShow,
      rawShow = _ref.show,
      rawOnToggle = _ref.onToggle,
      _ref$itemSelector = _ref.itemSelector,
      itemSelector = _ref$itemSelector === void 0 ? '* > *' : _ref$itemSelector,
      focusFirstItemOnShow = _ref.focusFirstItemOnShow,
      children = _ref.children;

  var _useUncontrolledProp = useUncontrolledProp(rawShow, defaultShow, rawOnToggle),
      show = _useUncontrolledProp[0],
      onToggle = _useUncontrolledProp[1]; // We use normal refs instead of useCallbackRef in order to populate the
  // the value as quickly as possible, otherwise the effect to focus the element
  // may run before the state value is set


  var _useRefWithUpdate = useRefWithUpdate(),
      menuRef = _useRefWithUpdate[0],
      setMenu = _useRefWithUpdate[1];

  var menuElement = menuRef.current;

  var _useRefWithUpdate2 = useRefWithUpdate(),
      toggleRef = _useRefWithUpdate2[0],
      setToggle = _useRefWithUpdate2[1];

  var toggleElement = toggleRef.current;
  var lastShow = usePrevious(show);
  var lastSourceEvent = Object(external_React_["useRef"])(null);
  var focusInDropdown = Object(external_React_["useRef"])(false);
  var toggle = Object(external_React_["useCallback"])(function (nextShow, event) {
    onToggle(nextShow, event);
  }, [onToggle]);
  var context = Object(external_React_["useMemo"])(function () {
    return {
      toggle: toggle,
      drop: drop,
      show: show,
      alignEnd: alignEnd,
      menuElement: menuElement,
      toggleElement: toggleElement,
      setMenu: setMenu,
      setToggle: setToggle
    };
  }, [toggle, drop, show, alignEnd, menuElement, toggleElement, setMenu, setToggle]);

  if (menuElement && lastShow && !show) {
    focusInDropdown.current = menuElement.contains(document.activeElement);
  }

  var focusToggle = useEventCallback(function () {
    if (toggleElement && toggleElement.focus) {
      toggleElement.focus();
    }
  });
  var maybeFocusFirst = useEventCallback(function () {
    var type = lastSourceEvent.current;
    var focusType = focusFirstItemOnShow;

    if (focusType == null) {
      focusType = menuRef.current && matches(menuRef.current, '[role=menu]') ? 'keyboard' : false;
    }

    if (focusType === false || focusType === 'keyboard' && !/^key.+$/.test(type)) {
      return;
    }

    var first = qsa(menuRef.current, itemSelector)[0];
    if (first && first.focus) first.focus();
  });
  Object(external_React_["useEffect"])(function () {
    if (show) maybeFocusFirst();else if (focusInDropdown.current) {
      focusInDropdown.current = false;
      focusToggle();
    } // only `show` should be changing
  }, [show, focusInDropdown, focusToggle, maybeFocusFirst]);
  Object(external_React_["useEffect"])(function () {
    lastSourceEvent.current = null;
  });

  var getNextFocusedChild = function getNextFocusedChild(current, offset) {
    if (!menuRef.current) return null;
    var items = qsa(menuRef.current, itemSelector);
    var index = items.indexOf(current) + offset;
    index = Math.max(0, Math.min(index, items.length));
    return items[index];
  };

  useGlobalListener('keydown', function (event) {
    var _menuRef$current, _toggleRef$current;

    var key = event.key;
    var target = event.target;
    var fromMenu = (_menuRef$current = menuRef.current) == null ? void 0 : _menuRef$current.contains(target);
    var fromToggle = (_toggleRef$current = toggleRef.current) == null ? void 0 : _toggleRef$current.contains(target); // Second only to https://github.com/twbs/bootstrap/blob/8cfbf6933b8a0146ac3fbc369f19e520bd1ebdac/js/src/dropdown.js#L400
    // in inscrutability

    var isInput = /input|textarea/i.test(target.tagName);

    if (isInput && (key === ' ' || key !== 'Escape' && fromMenu)) {
      return;
    }

    if (!fromMenu && !fromToggle) {
      return;
    }

    lastSourceEvent.current = event.type;

    switch (key) {
      case 'ArrowUp':
        {
          var next = getNextFocusedChild(target, -1);
          if (next && next.focus) next.focus();
          event.preventDefault();
          return;
        }

      case 'ArrowDown':
        event.preventDefault();

        if (!show) {
          onToggle(true, event);
        } else {
          var _next = getNextFocusedChild(target, 1);

          if (_next && _next.focus) _next.focus();
        }

        return;

      case 'Tab':
        // on keydown the target is the element being tabbed FROM, we need that
        // to know if this event is relevant to this dropdown (e.g. in this menu).
        // On `keyup` the target is the element being tagged TO which we use to check
        // if focus has left the menu
        esm_addEventListener(document, 'keyup', function (e) {
          if (e.key === 'Tab' && !e.target || !menuRef.current.contains(e.target)) {
            onToggle(false, event);
          }
        }, {
          once: true
        });
        break;

      case 'Escape':
        event.preventDefault();
        event.stopPropagation();
        onToggle(false, event);
        break;

      default:
    }
  });
  return /*#__PURE__*/external_React_default.a.createElement(esm_DropdownContext.Provider, {
    value: context
  }, children);
}

Dropdown.displayName = 'ReactOverlaysDropdown';
Dropdown.propTypes = Dropdown_propTypes;
Dropdown.Menu = esm_DropdownMenu;
Dropdown.Toggle = esm_DropdownToggle;
/* harmony default export */ var esm_Dropdown = (Dropdown);
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/SelectableContext.js
 // TODO (apparently this is a bare "onSelect"?)

var SelectableContext = /*#__PURE__*/external_React_default.a.createContext(null);
var makeEventKey = function makeEventKey(eventKey, href) {
  if (href === void 0) {
    href = null;
  }

  if (eventKey != null) return String(eventKey);
  return href || null;
};
/* harmony default export */ var esm_SelectableContext = (SelectableContext);
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/ThemeProvider.js


var ThemeContext = /*#__PURE__*/external_React_default.a.createContext({});
var Consumer = ThemeContext.Consumer,
    Provider = ThemeContext.Provider;

function ThemeProvider(_ref) {
  var prefixes = _ref.prefixes,
      children = _ref.children;
  var copiedPrefixes = Object(external_React_["useMemo"])(function () {
    return _extends({}, prefixes);
  }, [prefixes]);
  return /*#__PURE__*/external_React_default.a.createElement(Provider, {
    value: copiedPrefixes
  }, children);
}

function useBootstrapPrefix(prefix, defaultPrefix) {
  var prefixes = Object(external_React_["useContext"])(ThemeContext);
  return prefix || prefixes[defaultPrefix] || defaultPrefix;
}

function createBootstrapComponent(Component, opts) {
  if (typeof opts === 'string') opts = {
    prefix: opts
  };
  var isClassy = Component.prototype && Component.prototype.isReactComponent; // If it's a functional component make sure we don't break it with a ref

  var _opts = opts,
      prefix = _opts.prefix,
      _opts$forwardRefAs = _opts.forwardRefAs,
      forwardRefAs = _opts$forwardRefAs === void 0 ? isClassy ? 'ref' : 'innerRef' : _opts$forwardRefAs;
  var Wrapped = /*#__PURE__*/external_React_default.a.forwardRef(function (_ref2, ref) {
    var props = _extends({}, _ref2);

    props[forwardRefAs] = ref;
    var bsPrefix = useBootstrapPrefix(props.bsPrefix, prefix);
    return /*#__PURE__*/external_React_default.a.createElement(Component, _extends({}, props, {
      bsPrefix: bsPrefix
    }));
  });
  Wrapped.displayName = "Bootstrap(" + (Component.displayName || Component.name) + ")";
  return Wrapped;
}


/* harmony default export */ var esm_ThemeProvider = (ThemeProvider);
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/NavContext.js
 // TODO: check this

var NavContext = /*#__PURE__*/external_React_default.a.createContext(null);
NavContext.displayName = 'NavContext';
/* harmony default export */ var esm_NavContext = (NavContext);
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/createChainedFunction.js
/**
 * Safe chained function
 *
 * Will only create a new function if needed,
 * otherwise will pass back existing functions or null.
 *
 * @param {function} functions to chain
 * @returns {function|null}
 */
function createChainedFunction() {
  for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {
    funcs[_key] = arguments[_key];
  }

  return funcs.filter(function (f) {
    return f != null;
  }).reduce(function (acc, f) {
    if (typeof f !== 'function') {
      throw new Error('Invalid Argument Type, must only provide functions, undefined, or null.');
    }

    if (acc === null) return f;
    return function chainedFunction() {
      for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
        args[_key2] = arguments[_key2];
      }

      // @ts-ignore
      acc.apply(this, args); // @ts-ignore

      f.apply(this, args);
    };
  }, null);
}

/* harmony default export */ var esm_createChainedFunction = (createChainedFunction);
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/SafeAnchor.js


var _excluded = ["as", "disabled", "onKeyDown"];



function isTrivialHref(href) {
  return !href || href.trim() === '#';
}
/**
 * There are situations due to browser quirks or Bootstrap CSS where
 * an anchor tag is needed, when semantically a button tag is the
 * better choice. SafeAnchor ensures that when an anchor is used like a
 * button its accessible. It also emulates input `disabled` behavior for
 * links, which is usually desirable for Buttons, NavItems, DropdownItems, etc.
 */


var SafeAnchor = /*#__PURE__*/external_React_default.a.forwardRef(function (_ref, ref) {
  var _ref$as = _ref.as,
      Component = _ref$as === void 0 ? 'a' : _ref$as,
      disabled = _ref.disabled,
      onKeyDown = _ref.onKeyDown,
      props = _objectWithoutPropertiesLoose(_ref, _excluded);

  var handleClick = function handleClick(event) {
    var href = props.href,
        onClick = props.onClick;

    if (disabled || isTrivialHref(href)) {
      event.preventDefault();
    }

    if (disabled) {
      event.stopPropagation();
      return;
    }

    if (onClick) {
      onClick(event);
    }
  };

  var handleKeyDown = function handleKeyDown(event) {
    if (event.key === ' ') {
      event.preventDefault();
      handleClick(event);
    }
  };

  if (isTrivialHref(props.href)) {
    props.role = props.role || 'button'; // we want to make sure there is a href attribute on the node
    // otherwise, the cursor incorrectly styled (except with role='button')

    props.href = props.href || '#';
  }

  if (disabled) {
    props.tabIndex = -1;
    props['aria-disabled'] = true;
  }

  return /*#__PURE__*/external_React_default.a.createElement(Component, _extends({
    ref: ref
  }, props, {
    onClick: handleClick,
    onKeyDown: esm_createChainedFunction(handleKeyDown, onKeyDown)
  }));
});
SafeAnchor.displayName = 'SafeAnchor';
/* harmony default export */ var esm_SafeAnchor = (SafeAnchor);
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/DropdownItem.js


var DropdownItem_excluded = ["bsPrefix", "className", "children", "eventKey", "disabled", "href", "onClick", "onSelect", "active", "as"];







var DropdownItem_defaultProps = {
  as: esm_SafeAnchor,
  disabled: false
};
var DropdownItem = /*#__PURE__*/external_React_default.a.forwardRef(function (_ref, ref) {
  var bsPrefix = _ref.bsPrefix,
      className = _ref.className,
      children = _ref.children,
      eventKey = _ref.eventKey,
      disabled = _ref.disabled,
      href = _ref.href,
      onClick = _ref.onClick,
      onSelect = _ref.onSelect,
      propActive = _ref.active,
      Component = _ref.as,
      props = _objectWithoutPropertiesLoose(_ref, DropdownItem_excluded);

  var prefix = useBootstrapPrefix(bsPrefix, 'dropdown-item');
  var onSelectCtx = Object(external_React_["useContext"])(esm_SelectableContext);
  var navContext = Object(external_React_["useContext"])(esm_NavContext);

  var _ref2 = navContext || {},
      activeKey = _ref2.activeKey;

  var key = makeEventKey(eventKey, href);
  var active = propActive == null && key != null ? makeEventKey(activeKey) === key : propActive;
  var handleClick = useEventCallback(function (event) {
    // SafeAnchor handles the disabled case, but we handle it here
    // for other components
    if (disabled) return;
    if (onClick) onClick(event);
    if (onSelectCtx) onSelectCtx(key, event);
    if (onSelect) onSelect(key, event);
  });
  return (
    /*#__PURE__*/
    // "TS2604: JSX element type 'Component' does not have any construct or call signatures."
    // @ts-ignore
    external_React_default.a.createElement(Component, _extends({}, props, {
      ref: ref,
      href: href,
      disabled: disabled,
      className: classnames_default()(className, prefix, active && 'active', disabled && 'disabled'),
      onClick: handleClick
    }), children)
  );
});
DropdownItem.displayName = 'DropdownItem';
DropdownItem.defaultProps = DropdownItem_defaultProps;
/* harmony default export */ var esm_DropdownItem = (DropdownItem);
// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useMergedRefs.js


var toFnRef = function toFnRef(ref) {
  return !ref || typeof ref === 'function' ? ref : function (value) {
    ref.current = value;
  };
};

function mergeRefs(refA, refB) {
  var a = toFnRef(refA);
  var b = toFnRef(refB);
  return function (value) {
    if (a) a(value);
    if (b) b(value);
  };
}
/**
 * Create and returns a single callback ref composed from two other Refs.
 *
 * ```tsx
 * const Button = React.forwardRef((props, ref) => {
 *   const [element, attachRef] = useCallbackRef<HTMLButtonElement>();
 *   const mergedRef = useMergedRefs(ref, attachRef);
 *
 *   return <button ref={mergedRef} {...props}/>
 * })
 * ```
 *
 * @param refA A Callback or mutable Ref
 * @param refB A Callback or mutable Ref
 * @category refs
 */

function useMergedRefs(refA, refB) {
  return Object(external_React_["useMemo"])(function () {
    return mergeRefs(refA, refB);
  }, [refA, refB]);
}

/* harmony default export */ var esm_useMergedRefs = (useMergedRefs);
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/NavbarContext.js
 // TODO: check

var NavbarContext_context = /*#__PURE__*/external_React_default.a.createContext(null);
NavbarContext_context.displayName = 'NavbarContext';
/* harmony default export */ var NavbarContext = (NavbarContext_context);
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/useWrappedRefWithWarning.js



function useWrappedRefWithWarning(ref, componentName) {
  // @ts-ignore
  if (true) return ref; // eslint-disable-next-line react-hooks/rules-of-hooks

  var warningRef = Object(external_React_["useCallback"])(function (refValue) {
    !(refValue == null || !refValue.isReactComponent) ?  false ? undefined : browser_default()(false) : void 0;
  }, [componentName]); // eslint-disable-next-line react-hooks/rules-of-hooks

  return esm_useMergedRefs(warningRef, ref);
}
// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/hasClass.js
/**
 * Checks if a given element has a CSS class.
 * 
 * @param element the element
 * @param className the CSS class name
 */
function hasClass(element, className) {
  if (element.classList) return !!className && element.classList.contains(className);
  return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
}
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/usePopperMarginModifiers.js




function getMargins(element) {
  var styles = window.getComputedStyle(element);
  var top = parseFloat(styles.marginTop) || 0;
  var right = parseFloat(styles.marginRight) || 0;
  var bottom = parseFloat(styles.marginBottom) || 0;
  var left = parseFloat(styles.marginLeft) || 0;
  return {
    top: top,
    right: right,
    bottom: bottom,
    left: left
  };
}

function usePopperMarginModifiers() {
  var overlayRef = Object(external_React_["useRef"])(null);
  var margins = Object(external_React_["useRef"])(null);
  var arrowMargins = Object(external_React_["useRef"])(null);
  var popoverClass = useBootstrapPrefix(undefined, 'popover');
  var dropdownMenuClass = useBootstrapPrefix(undefined, 'dropdown-menu');
  var callback = Object(external_React_["useCallback"])(function (overlay) {
    if (!overlay || !(hasClass(overlay, popoverClass) || hasClass(overlay, dropdownMenuClass))) return;
    margins.current = getMargins(overlay);
    overlay.style.margin = '0';
    overlayRef.current = overlay;
  }, [popoverClass, dropdownMenuClass]);
  var offset = Object(external_React_["useMemo"])(function () {
    return {
      name: 'offset',
      options: {
        offset: function offset(_ref) {
          var placement = _ref.placement;
          if (!margins.current) return [0, 0];
          var _margins$current = margins.current,
              top = _margins$current.top,
              left = _margins$current.left,
              bottom = _margins$current.bottom,
              right = _margins$current.right;

          switch (placement.split('-')[0]) {
            case 'top':
              return [0, bottom];

            case 'left':
              return [0, right];

            case 'bottom':
              return [0, top];

            case 'right':
              return [0, left];

            default:
              return [0, 0];
          }
        }
      }
    };
  }, [margins]);
  var arrow = Object(external_React_["useMemo"])(function () {
    return {
      name: 'arrow',
      options: {
        padding: function padding() {
          // The options here are used for Popper 2.8.4 and up.
          // For earlier version, padding is handled in popoverArrowMargins below.
          if (!arrowMargins.current) {
            return 0;
          }

          var _arrowMargins$current = arrowMargins.current,
              top = _arrowMargins$current.top,
              right = _arrowMargins$current.right;
          var padding = top || right;
          return {
            top: padding,
            left: padding,
            right: padding,
            bottom: padding
          };
        }
      }
    };
  }, [arrowMargins]); // Converts popover arrow margin to arrow modifier padding

  var popoverArrowMargins = Object(external_React_["useMemo"])(function () {
    return {
      name: 'popoverArrowMargins',
      enabled: true,
      phase: 'main',
      requiresIfExists: ['arrow'],
      effect: function effect(_ref2) {
        var state = _ref2.state;

        if (!overlayRef.current || !state.elements.arrow || !hasClass(overlayRef.current, popoverClass)) {
          return undefined;
        }

        if (state.modifiersData['arrow#persistent']) {
          // @popperjs/core <= 2.8.3 uses arrow#persistent to pass padding to arrow modifier.
          var _getMargins = getMargins(state.elements.arrow),
              top = _getMargins.top,
              right = _getMargins.right;

          var padding = top || right;
          state.modifiersData['arrow#persistent'].padding = {
            top: padding,
            left: padding,
            right: padding,
            bottom: padding
          };
        } else {
          // @popperjs/core >= 2.8.4 gets the padding from the arrow modifier options,
          // so we'll get the margins here, and let the arrow modifier above pass
          // it to popper.
          arrowMargins.current = getMargins(state.elements.arrow);
        }

        state.elements.arrow.style.margin = '0';
        return function () {
          if (state.elements.arrow) state.elements.arrow.style.margin = '';
        };
      }
    };
  }, [popoverClass]);
  return [callback, [offset, arrow, popoverArrowMargins]];
}
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/DropdownMenu.js


var DropdownMenu_excluded = ["bsPrefix", "className", "align", "alignRight", "rootCloseEvent", "flip", "show", "renderOnMount", "as", "popperConfig"];










var alignDirection = prop_types_default.a.oneOf(['left', 'right']);
var alignPropType = prop_types_default.a.oneOfType([alignDirection, prop_types_default.a.shape({
  sm: alignDirection
}), prop_types_default.a.shape({
  md: alignDirection
}), prop_types_default.a.shape({
  lg: alignDirection
}), prop_types_default.a.shape({
  xl: alignDirection
})]);
var esm_DropdownMenu_defaultProps = {
  align: 'left',
  alignRight: false,
  flip: true
};
var DropdownMenu_DropdownMenu = /*#__PURE__*/external_React_default.a.forwardRef(function (_ref, ref) {
  var bsPrefix = _ref.bsPrefix,
      className = _ref.className,
      align = _ref.align,
      alignRight = _ref.alignRight,
      rootCloseEvent = _ref.rootCloseEvent,
      flip = _ref.flip,
      showProps = _ref.show,
      renderOnMount = _ref.renderOnMount,
      _ref$as = _ref.as,
      Component = _ref$as === void 0 ? 'div' : _ref$as,
      popperConfig = _ref.popperConfig,
      props = _objectWithoutPropertiesLoose(_ref, DropdownMenu_excluded);

  var isNavbar = Object(external_React_["useContext"])(NavbarContext);
  var prefix = useBootstrapPrefix(bsPrefix, 'dropdown-menu');

  var _usePopperMarginModif = usePopperMarginModifiers(),
      popperRef = _usePopperMarginModif[0],
      marginModifiers = _usePopperMarginModif[1];

  var alignClasses = [];

  if (align) {
    if (typeof align === 'object') {
      var keys = Object.keys(align);
       false ? undefined : void 0;

      if (keys.length) {
        var brkPoint = keys[0];
        var direction = align[brkPoint]; // .dropdown-menu-right is required for responsively aligning
        // left in addition to align left classes.
        // Reuse alignRight to toggle the class below.

        alignRight = direction === 'left';
        alignClasses.push(prefix + "-" + brkPoint + "-" + direction);
      }
    } else if (align === 'right') {
      alignRight = true;
    }
  }

  var _useDropdownMenu = useDropdownMenu({
    flip: flip,
    rootCloseEvent: rootCloseEvent,
    show: showProps,
    alignEnd: alignRight,
    usePopper: !isNavbar && alignClasses.length === 0,
    popperConfig: _extends({}, popperConfig, {
      modifiers: marginModifiers.concat((popperConfig == null ? void 0 : popperConfig.modifiers) || [])
    })
  }),
      menuProps = _useDropdownMenu[0],
      _useDropdownMenu$ = _useDropdownMenu[1],
      hasShown = _useDropdownMenu$.hasShown,
      popper = _useDropdownMenu$.popper,
      show = _useDropdownMenu$.show,
      alignEnd = _useDropdownMenu$.alignEnd,
      toggle = _useDropdownMenu$.toggle;

  menuProps.ref = esm_useMergedRefs(popperRef, esm_useMergedRefs(useWrappedRefWithWarning(ref, 'DropdownMenu'), menuProps.ref));
  if (!hasShown && !renderOnMount) return null; // For custom components provide additional, non-DOM, props;

  if (typeof Component !== 'string') {
    menuProps.show = show;

    menuProps.close = function () {
      return toggle == null ? void 0 : toggle(false);
    };

    menuProps.alignRight = alignEnd;
  }

  var style = props.style;

  if (popper != null && popper.placement) {
    // we don't need the default popper style,
    // menus are display: none when not shown.
    style = _extends({}, props.style, menuProps.style);
    props['x-placement'] = popper.placement;
  }

  return /*#__PURE__*/external_React_default.a.createElement(Component, _extends({}, props, menuProps, {
    style: style,
    className: classnames_default.a.apply(void 0, [className, prefix, show && 'show', alignEnd && prefix + "-right"].concat(alignClasses))
  }));
});
DropdownMenu_DropdownMenu.displayName = 'DropdownMenu';
DropdownMenu_DropdownMenu.defaultProps = esm_DropdownMenu_defaultProps;
/* harmony default export */ var react_bootstrap_esm_DropdownMenu = (DropdownMenu_DropdownMenu);
// EXTERNAL MODULE: ./node_modules/prop-types-extra/lib/isRequiredForA11y.js
var isRequiredForA11y = __webpack_require__(65);

// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/Button.js


var Button_excluded = ["bsPrefix", "variant", "size", "active", "className", "block", "type", "as"];




var Button_defaultProps = {
  variant: 'primary',
  active: false,
  disabled: false
};
var Button_Button = /*#__PURE__*/external_React_default.a.forwardRef(function (_ref, ref) {
  var bsPrefix = _ref.bsPrefix,
      variant = _ref.variant,
      size = _ref.size,
      active = _ref.active,
      className = _ref.className,
      block = _ref.block,
      type = _ref.type,
      as = _ref.as,
      props = _objectWithoutPropertiesLoose(_ref, Button_excluded);

  var prefix = useBootstrapPrefix(bsPrefix, 'btn');
  var classes = classnames_default()(className, prefix, active && 'active', variant && prefix + "-" + variant, block && prefix + "-block", size && prefix + "-" + size);

  if (props.href) {
    return /*#__PURE__*/external_React_default.a.createElement(esm_SafeAnchor, _extends({}, props, {
      as: as,
      ref: ref,
      className: classnames_default()(classes, props.disabled && 'disabled')
    }));
  }

  if (ref) {
    props.ref = ref;
  }

  if (type) {
    props.type = type;
  } else if (!as) {
    props.type = 'button';
  }

  var Component = as || 'button';
  return /*#__PURE__*/external_React_default.a.createElement(Component, _extends({}, props, {
    className: classes
  }));
});
Button_Button.displayName = 'Button';
Button_Button.defaultProps = Button_defaultProps;
/* harmony default export */ var esm_Button = (Button_Button);
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/DropdownToggle.js


var DropdownToggle_excluded = ["bsPrefix", "split", "className", "childBsPrefix", "as"];








var DropdownToggle_DropdownToggle = /*#__PURE__*/external_React_default.a.forwardRef(function (_ref, ref) {
  var bsPrefix = _ref.bsPrefix,
      split = _ref.split,
      className = _ref.className,
      childBsPrefix = _ref.childBsPrefix,
      _ref$as = _ref.as,
      Component = _ref$as === void 0 ? esm_Button : _ref$as,
      props = _objectWithoutPropertiesLoose(_ref, DropdownToggle_excluded);

  var prefix = useBootstrapPrefix(bsPrefix, 'dropdown-toggle');

  if (childBsPrefix !== undefined) {
    props.bsPrefix = childBsPrefix;
  }

  var _useDropdownToggle = useDropdownToggle(),
      toggleProps = _useDropdownToggle[0];

  toggleProps.ref = esm_useMergedRefs(toggleProps.ref, useWrappedRefWithWarning(ref, 'DropdownToggle')); // This intentionally forwards size and variant (if set) to the
  // underlying component, to allow it to render size and style variants.

  return /*#__PURE__*/external_React_default.a.createElement(Component, _extends({
    className: classnames_default()(className, prefix, split && prefix + "-split")
  }, toggleProps, props));
});
DropdownToggle_DropdownToggle.displayName = 'DropdownToggle';
/* harmony default export */ var react_bootstrap_esm_DropdownToggle = (DropdownToggle_DropdownToggle);
// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/camelize.js
var rHyphen = /-(.)/g;
function camelize(string) {
  return string.replace(rHyphen, function (_, chr) {
    return chr.toUpperCase();
  });
}
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/createWithBsPrefix.js


var createWithBsPrefix_excluded = ["className", "bsPrefix", "as"];





var createWithBsPrefix_pascalCase = function pascalCase(str) {
  return str[0].toUpperCase() + camelize(str).slice(1);
};

// TODO: emstricten & fix the typing here! `createWithBsPrefix<TElementType>...`
function createWithBsPrefix(prefix, _temp) {
  var _ref = _temp === void 0 ? {} : _temp,
      _ref$displayName = _ref.displayName,
      displayName = _ref$displayName === void 0 ? createWithBsPrefix_pascalCase(prefix) : _ref$displayName,
      Component = _ref.Component,
      defaultProps = _ref.defaultProps;

  var BsComponent = /*#__PURE__*/external_React_default.a.forwardRef(function (_ref2, ref) {
    var className = _ref2.className,
        bsPrefix = _ref2.bsPrefix,
        _ref2$as = _ref2.as,
        Tag = _ref2$as === void 0 ? Component || 'div' : _ref2$as,
        props = _objectWithoutPropertiesLoose(_ref2, createWithBsPrefix_excluded);

    var resolvedPrefix = useBootstrapPrefix(bsPrefix, prefix);
    return /*#__PURE__*/external_React_default.a.createElement(Tag, _extends({
      ref: ref,
      className: classnames_default()(className, resolvedPrefix)
    }, props));
  });
  BsComponent.defaultProps = defaultProps;
  BsComponent.displayName = displayName;
  return BsComponent;
}
// CONCATENATED MODULE: ./node_modules/react-bootstrap/esm/Dropdown.js


var Dropdown_excluded = ["bsPrefix", "drop", "show", "className", "alignRight", "onSelect", "onToggle", "focusFirstItemOnShow", "as", "navbar"];











var DropdownHeader = createWithBsPrefix('dropdown-header', {
  defaultProps: {
    role: 'heading'
  }
});
var DropdownDivider = createWithBsPrefix('dropdown-divider', {
  defaultProps: {
    role: 'separator'
  }
});
var DropdownItemText = createWithBsPrefix('dropdown-item-text', {
  Component: 'span'
});
var Dropdown_defaultProps = {
  navbar: false
};
var Dropdown_Dropdown = /*#__PURE__*/external_React_default.a.forwardRef(function (pProps, ref) {
  var _useUncontrolled = useUncontrolled(pProps, {
    show: 'onToggle'
  }),
      bsPrefix = _useUncontrolled.bsPrefix,
      drop = _useUncontrolled.drop,
      show = _useUncontrolled.show,
      className = _useUncontrolled.className,
      alignRight = _useUncontrolled.alignRight,
      onSelect = _useUncontrolled.onSelect,
      onToggle = _useUncontrolled.onToggle,
      focusFirstItemOnShow = _useUncontrolled.focusFirstItemOnShow,
      _useUncontrolled$as = _useUncontrolled.as,
      Component = _useUncontrolled$as === void 0 ? 'div' : _useUncontrolled$as,
      _4 = _useUncontrolled.navbar,
      props = _objectWithoutPropertiesLoose(_useUncontrolled, Dropdown_excluded);

  var onSelectCtx = Object(external_React_["useContext"])(esm_SelectableContext);
  var prefix = useBootstrapPrefix(bsPrefix, 'dropdown');
  var handleToggle = useEventCallback(function (nextShow, event, source) {
    if (source === void 0) {
      source = event.type;
    }

    if (event.currentTarget === document && (source !== 'keydown' || event.key === 'Escape')) source = 'rootClose';

    if (onToggle) {
      onToggle(nextShow, event, {
        source: source
      });
    }
  });
  var handleSelect = useEventCallback(function (key, event) {
    if (onSelectCtx) onSelectCtx(key, event);
    if (onSelect) onSelect(key, event);
    handleToggle(false, event, 'select');
  });
  return /*#__PURE__*/external_React_default.a.createElement(esm_SelectableContext.Provider, {
    value: handleSelect
  }, /*#__PURE__*/external_React_default.a.createElement(esm_Dropdown, {
    drop: drop,
    show: show,
    alignEnd: alignRight,
    onToggle: handleToggle,
    focusFirstItemOnShow: focusFirstItemOnShow,
    itemSelector: "." + prefix + "-item:not(.disabled):not(:disabled)"
  }, /*#__PURE__*/external_React_default.a.createElement(Component, _extends({}, props, {
    ref: ref,
    className: classnames_default()(className, show && 'show', (!drop || drop === 'down') && prefix, drop === 'up' && 'dropup', drop === 'right' && 'dropright', drop === 'left' && 'dropleft')
  }))));
});
Dropdown_Dropdown.displayName = 'Dropdown';
Dropdown_Dropdown.defaultProps = Dropdown_defaultProps;
Dropdown_Dropdown.Divider = DropdownDivider;
Dropdown_Dropdown.Header = DropdownHeader;
Dropdown_Dropdown.Item = esm_DropdownItem;
Dropdown_Dropdown.ItemText = DropdownItemText;
Dropdown_Dropdown.Menu = react_bootstrap_esm_DropdownMenu;
Dropdown_Dropdown.Toggle = react_bootstrap_esm_DropdownToggle;
/* harmony default export */ var react_bootstrap_esm_Dropdown = (Dropdown_Dropdown);
// CONCATENATED MODULE: ./src/components/LeverancierSelectList/index.jsx
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }

function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }

function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }

function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }

function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }

function LeverancierSelectList_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function LeverancierSelectList_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); } }

function LeverancierSelectList_createClass(Constructor, protoProps, staticProps) { if (protoProps) LeverancierSelectList_defineProperties(Constructor.prototype, protoProps); if (staticProps) LeverancierSelectList_defineProperties(Constructor, staticProps); return Constructor; }

function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) LeverancierSelectList_setPrototypeOf(subClass, superClass); }

function LeverancierSelectList_setPrototypeOf(o, p) { LeverancierSelectList_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return LeverancierSelectList_setPrototypeOf(o, p); }

function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }

function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }

function LeverancierSelectList_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }









var LeverancierSelectList_LeverancierSelectList = /*#__PURE__*/function (_Component) {
  _inherits(LeverancierSelectList, _Component);

  var _super = _createSuper(LeverancierSelectList);

  function LeverancierSelectList() {
    var _this;

    LeverancierSelectList_classCallCheck(this, LeverancierSelectList);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    LeverancierSelectList_defineProperty(_assertThisInitialized(_this), "state", {});

    LeverancierSelectList_defineProperty(_assertThisInitialized(_this), "handleItemClick", function (event, itemId) {
      event.preventDefault();

      _this.props.onItemSelected(itemId);
    });

    return _this;
  }

  LeverancierSelectList_createClass(LeverancierSelectList, [{
    key: "render",
    value: function render() {
      var _this2 = this;

      var _this$props = this.props,
          items = _this$props.items,
          selectedItemId = _this$props.selectedItemId,
          label = _this$props.label,
          labelHasTooltip = _this$props.labelHasTooltip,
          tooltipId = _this$props.tooltipId,
          placeholder = _this$props.placeholder,
          className = _this$props.className,
          name = _this$props.name,
          rules = _this$props.rules,
          showValidationMessage = _this$props.showValidationMessage;
      var alwaysAvailableItems = [{
        id: -2,
        label: 'Onbekend'
      }, {
        id: -1,
        label: 'Geen i.v.m. verhuizing'
      }];
      var first3Items = items !== undefined ? items.slice(0, 3) : null;
      var otherItems = items !== undefined ? items.slice(3, items.length) : null;
      var everyItemArray = [].concat(alwaysAvailableItems, _toConsumableArray(first3Items), _toConsumableArray(otherItems));
      var item = !isNullOrWs(selectedItemId) ? everyItemArray.find(function (x) {
        return x.id === selectedItemId;
      }) : null;
      var validationMessage = !Object(lodash["isEmpty"])(rules) && showValidationMessage ? validateProp(selectedItemId, rules) : null;
      var isValid = Object(lodash["isEmpty"])(validationMessage);
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "".concat(className, " select-input")
      }, /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: selectedItemId
      }, label, labelHasTooltip && /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": tooltipId
      })), /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown, {
        drop: "down",
        name: name
      }, /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown.Toggle, {
        caret: true
      }, item != null ? /*#__PURE__*/external_React_default.a.createElement("span", null, item.label) : /*#__PURE__*/external_React_default.a.createElement("span", null, placeholder)), /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown.Menu, {
        as: "ul"
      }, alwaysAvailableItems.map(function (i) {
        return /*#__PURE__*/external_React_default.a.createElement(esm_DropdownItem, {
          eventKey: i.id,
          onClick: function onClick(event) {
            return _this2.handleItemClick(event, i.id);
          }
        }, /*#__PURE__*/external_React_default.a.createElement("span", null, i.label));
      }), /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown.Divider, null), first3Items.map(function (i) {
        return /*#__PURE__*/external_React_default.a.createElement(esm_DropdownItem, {
          eventKey: i.id,
          onClick: function onClick(event) {
            return _this2.handleItemClick(event, i.id);
          }
        }, /*#__PURE__*/external_React_default.a.createElement("span", null, i.label));
      }), /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown.Divider, null), otherItems.map(function (i) {
        return /*#__PURE__*/external_React_default.a.createElement(esm_DropdownItem, {
          eventKey: i.id,
          onClick: function onClick(event) {
            return _this2.handleItemClick(event, i.id);
          }
        }, /*#__PURE__*/external_React_default.a.createElement("span", null, i.label));
      }))), !isValid && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: !isValid ? 'validation-tooltip active' : 'validation-tooltip'
      }, validationMessage));
    }
  }]);

  return LeverancierSelectList;
}(external_React_["Component"]);

LeverancierSelectList_defineProperty(LeverancierSelectList_LeverancierSelectList, "propTypes", {
  label: prop_types_default.a.string.isRequired,
  items: prop_types_default.a.array.isRequired,
  placeholder: prop_types_default.a.string,
  selectedItemId: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]),
  onItemSelected: prop_types_default.a.func.isRequired,
  labelHasTooltip: prop_types_default.a.bool,
  tooltipId: prop_types_default.a.string,
  name: prop_types_default.a.string,
  className: prop_types_default.a.string,
  rules: prop_types_default.a.object,
  showValidationMessage: prop_types_default.a.bool
});

LeverancierSelectList_defineProperty(LeverancierSelectList_LeverancierSelectList, "defaultProps", {
  selectedItemId: null,
  placeholder: 'Maak uw keuze',
  labelHasTooltip: false,
  tooltipId: '',
  name: '',
  className: '',
  rules: {},
  showValidationMessage: false
});


// EXTERNAL MODULE: ./src/sass/bundles/styles.scss
var styles = __webpack_require__(3);

// EXTERNAL MODULE: ./src/sass/components/selectList.scss
var selectList = __webpack_require__(37);

// CONCATENATED MODULE: ./src/components/SelectList/index.jsx
function SelectList_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { SelectList_typeof = function _typeof(obj) { return typeof obj; }; } else { SelectList_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return SelectList_typeof(obj); }

function SelectList_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function SelectList_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); } }

function SelectList_createClass(Constructor, protoProps, staticProps) { if (protoProps) SelectList_defineProperties(Constructor.prototype, protoProps); if (staticProps) SelectList_defineProperties(Constructor, staticProps); return Constructor; }

function SelectList_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) SelectList_setPrototypeOf(subClass, superClass); }

function SelectList_setPrototypeOf(o, p) { SelectList_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return SelectList_setPrototypeOf(o, p); }

function SelectList_createSuper(Derived) { var hasNativeReflectConstruct = SelectList_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = SelectList_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = SelectList_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return SelectList_possibleConstructorReturn(this, result); }; }

function SelectList_possibleConstructorReturn(self, call) { if (call && (SelectList_typeof(call) === "object" || typeof call === "function")) { return call; } return SelectList_assertThisInitialized(self); }

function SelectList_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function SelectList_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function SelectList_getPrototypeOf(o) { SelectList_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return SelectList_getPrototypeOf(o); }

function SelectList_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }











var SelectList_SelectList = /*#__PURE__*/function (_Component) {
  SelectList_inherits(SelectList, _Component);

  var _super = SelectList_createSuper(SelectList);

  function SelectList() {
    var _this;

    SelectList_classCallCheck(this, SelectList);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    SelectList_defineProperty(SelectList_assertThisInitialized(_this), "state", {});

    SelectList_defineProperty(SelectList_assertThisInitialized(_this), "handleItemClick", function (event, itemId) {
      event.preventDefault();

      _this.props.onItemSelected(itemId);
    });

    return _this;
  }

  SelectList_createClass(SelectList, [{
    key: "render",
    value: function render() {
      var _this2 = this;

      var _this$props = this.props,
          items = _this$props.items,
          selectedItemId = _this$props.selectedItemId,
          label = _this$props.label,
          labelHasTooltip = _this$props.labelHasTooltip,
          tooltipId = _this$props.tooltipId,
          placeholder = _this$props.placeholder,
          name = _this$props.name,
          rules = _this$props.rules,
          showValidationMessage = _this$props.showValidationMessage;
      var item = !isNullOrWs(selectedItemId) ? items.find(function (x) {
        return x.id === selectedItemId;
      }) : null;
      var validationMessage = !Object(lodash["isEmpty"])(rules) && showValidationMessage ? validateProp(selectedItemId, rules) : null;
      var isValid = Object(lodash["isEmpty"])(validationMessage);
      return /*#__PURE__*/external_React_default.a.createElement("div", null, labelHasTooltip && /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: selectedItemId
      }, label, labelHasTooltip && /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": tooltipId
      })), /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown, {
        drop: "down",
        name: name
      }, /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown.Toggle, {
        caret: true
      }, item != null ? /*#__PURE__*/external_React_default.a.createElement("span", {
        className: !isNullOrWs(item.itemIcon) ? item.itemIcon : ''
      }, item.label) : /*#__PURE__*/external_React_default.a.createElement("span", null, placeholder)), /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown.Menu, {
        as: "ul"
      }, items.map(function (i) {
        return /*#__PURE__*/external_React_default.a.createElement(esm_DropdownItem, {
          eventKey: i.id,
          onClick: function onClick(event) {
            return _this2.handleItemClick(event, i.id);
          }
        }, /*#__PURE__*/external_React_default.a.createElement("span", {
          className: !isNullOrWs(i.itemIcon) ? i.itemIcon : ''
        }, i.label));
      }))), !isValid && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: !isValid ? 'validation-tooltip active' : 'validation-tooltip'
      }, validationMessage));
    }
  }]);

  return SelectList;
}(external_React_["Component"]);

SelectList_defineProperty(SelectList_SelectList, "propTypes", {
  label: prop_types_default.a.string.isRequired,
  items: prop_types_default.a.array.isRequired,
  placeholder: prop_types_default.a.string,
  selectedItemId: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]),
  onItemSelected: prop_types_default.a.func.isRequired,
  labelHasTooltip: prop_types_default.a.bool,
  tooltipId: prop_types_default.a.string,
  name: prop_types_default.a.string,
  rules: prop_types_default.a.object,
  showValidationMessage: prop_types_default.a.bool
});

SelectList_defineProperty(SelectList_SelectList, "defaultProps", {
  selectedItemId: null,
  placeholder: 'Maak uw keuze',
  labelHasTooltip: false,
  tooltipId: '',
  name: '',
  rules: {},
  showValidationMessage: false
});


// CONCATENATED MODULE: ./node_modules/react-onclickoutside/dist/react-onclickoutside.es.js
function react_onclickoutside_es_inheritsLoose(subClass, superClass) {
  subClass.prototype = Object.create(superClass.prototype);
  subClass.prototype.constructor = subClass;

  react_onclickoutside_es_setPrototypeOf(subClass, superClass);
}

function react_onclickoutside_es_setPrototypeOf(o, p) {
  react_onclickoutside_es_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
    o.__proto__ = p;
    return o;
  };

  return react_onclickoutside_es_setPrototypeOf(o, p);
}

function react_onclickoutside_es_objectWithoutPropertiesLoose(source, excluded) {
  if (source == null) return {};
  var target = {};
  var sourceKeys = Object.keys(source);
  var key, i;

  for (i = 0; i < sourceKeys.length; i++) {
    key = sourceKeys[i];
    if (excluded.indexOf(key) >= 0) continue;
    target[key] = source[key];
  }

  return target;
}

function react_onclickoutside_es_assertThisInitialized(self) {
  if (self === void 0) {
    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  }

  return self;
}/**
 * Check whether some DOM node is our Component's node.
 */
function isNodeFound(current, componentNode, ignoreClass) {
  if (current === componentNode) {
    return true;
  } // SVG <use/> elements do not technically reside in the rendered DOM, so
  // they do not have classList directly, but they offer a link to their
  // corresponding element, which can have classList. This extra check is for
  // that case.
  // See: http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGUseElement
  // Discussion: https://github.com/Pomax/react-onclickoutside/pull/17


  if (current.correspondingElement) {
    return current.correspondingElement.classList.contains(ignoreClass);
  }

  return current.classList.contains(ignoreClass);
}
/**
 * Try to find our node in a hierarchy of nodes, returning the document
 * node as highest node if our node is not found in the path up.
 */

function findHighest(current, componentNode, ignoreClass) {
  if (current === componentNode) {
    return true;
  } // If source=local then this event came from 'somewhere'
  // inside and should be ignored. We could handle this with
  // a layered approach, too, but that requires going back to
  // thinking in terms of Dom node nesting, running counter
  // to React's 'you shouldn't care about the DOM' philosophy.


  while (current.parentNode) {
    if (isNodeFound(current, componentNode, ignoreClass)) {
      return true;
    }

    current = current.parentNode;
  }

  return current;
}
/**
 * Check if the browser scrollbar was clicked
 */

function clickedScrollbar(evt) {
  return document.documentElement.clientWidth <= evt.clientX || document.documentElement.clientHeight <= evt.clientY;
}// ideally will get replaced with external dep
// when rafrex/detect-passive-events#4 and rafrex/detect-passive-events#5 get merged in
var testPassiveEventSupport = function testPassiveEventSupport() {
  if (typeof window === 'undefined' || typeof window.addEventListener !== 'function') {
    return;
  }

  var passive = false;
  var options = Object.defineProperty({}, 'passive', {
    get: function get() {
      passive = true;
    }
  });

  var noop = function noop() {};

  window.addEventListener('testPassiveEventSupport', noop, options);
  window.removeEventListener('testPassiveEventSupport', noop, options);
  return passive;
};function autoInc(seed) {
  if (seed === void 0) {
    seed = 0;
  }

  return function () {
    return ++seed;
  };
}

var uid = autoInc();var passiveEventSupport;
var handlersMap = {};
var enabledInstances = {};
var touchEvents = ['touchstart', 'touchmove'];
var IGNORE_CLASS_NAME = 'ignore-react-onclickoutside';
/**
 * Options for addEventHandler and removeEventHandler
 */

function getEventHandlerOptions(instance, eventName) {
  var handlerOptions = null;
  var isTouchEvent = touchEvents.indexOf(eventName) !== -1;

  if (isTouchEvent && passiveEventSupport) {
    handlerOptions = {
      passive: !instance.props.preventDefault
    };
  }

  return handlerOptions;
}
/**
 * This function generates the HOC function that you'll use
 * in order to impart onOutsideClick listening to an
 * arbitrary component. It gets called at the end of the
 * bootstrapping code to yield an instance of the
 * onClickOutsideHOC function defined inside setupHOC().
 */


function onClickOutsideHOC(WrappedComponent, config) {
  var _class, _temp;

  var componentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';
  return _temp = _class = /*#__PURE__*/function (_Component) {
    react_onclickoutside_es_inheritsLoose(onClickOutside, _Component);

    function onClickOutside(props) {
      var _this;

      _this = _Component.call(this, props) || this;

      _this.__outsideClickHandler = function (event) {
        if (typeof _this.__clickOutsideHandlerProp === 'function') {
          _this.__clickOutsideHandlerProp(event);

          return;
        }

        var instance = _this.getInstance();

        if (typeof instance.props.handleClickOutside === 'function') {
          instance.props.handleClickOutside(event);
          return;
        }

        if (typeof instance.handleClickOutside === 'function') {
          instance.handleClickOutside(event);
          return;
        }

        throw new Error("WrappedComponent: " + componentName + " lacks a handleClickOutside(event) function for processing outside click events.");
      };

      _this.__getComponentNode = function () {
        var instance = _this.getInstance();

        if (config && typeof config.setClickOutsideRef === 'function') {
          return config.setClickOutsideRef()(instance);
        }

        if (typeof instance.setClickOutsideRef === 'function') {
          return instance.setClickOutsideRef();
        }

        return Object(external_ReactDOM_["findDOMNode"])(instance);
      };

      _this.enableOnClickOutside = function () {
        if (typeof document === 'undefined' || enabledInstances[_this._uid]) {
          return;
        }

        if (typeof passiveEventSupport === 'undefined') {
          passiveEventSupport = testPassiveEventSupport();
        }

        enabledInstances[_this._uid] = true;
        var events = _this.props.eventTypes;

        if (!events.forEach) {
          events = [events];
        }

        handlersMap[_this._uid] = function (event) {
          if (_this.componentNode === null) return;

          if (_this.props.preventDefault) {
            event.preventDefault();
          }

          if (_this.props.stopPropagation) {
            event.stopPropagation();
          }

          if (_this.props.excludeScrollbar && clickedScrollbar(event)) return;
          var current = event.target;

          if (findHighest(current, _this.componentNode, _this.props.outsideClickIgnoreClass) !== document) {
            return;
          }

          _this.__outsideClickHandler(event);
        };

        events.forEach(function (eventName) {
          document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(react_onclickoutside_es_assertThisInitialized(_this), eventName));
        });
      };

      _this.disableOnClickOutside = function () {
        delete enabledInstances[_this._uid];
        var fn = handlersMap[_this._uid];

        if (fn && typeof document !== 'undefined') {
          var events = _this.props.eventTypes;

          if (!events.forEach) {
            events = [events];
          }

          events.forEach(function (eventName) {
            return document.removeEventListener(eventName, fn, getEventHandlerOptions(react_onclickoutside_es_assertThisInitialized(_this), eventName));
          });
          delete handlersMap[_this._uid];
        }
      };

      _this.getRef = function (ref) {
        return _this.instanceRef = ref;
      };

      _this._uid = uid();
      return _this;
    }
    /**
     * Access the WrappedComponent's instance.
     */


    var _proto = onClickOutside.prototype;

    _proto.getInstance = function getInstance() {
      if (WrappedComponent.prototype && !WrappedComponent.prototype.isReactComponent) {
        return this;
      }

      var ref = this.instanceRef;
      return ref.getInstance ? ref.getInstance() : ref;
    };

    /**
     * Add click listeners to the current document,
     * linked to this component's state.
     */
    _proto.componentDidMount = function componentDidMount() {
      // If we are in an environment without a DOM such
      // as shallow rendering or snapshots then we exit
      // early to prevent any unhandled errors being thrown.
      if (typeof document === 'undefined' || !document.createElement) {
        return;
      }

      var instance = this.getInstance();

      if (config && typeof config.handleClickOutside === 'function') {
        this.__clickOutsideHandlerProp = config.handleClickOutside(instance);

        if (typeof this.__clickOutsideHandlerProp !== 'function') {
          throw new Error("WrappedComponent: " + componentName + " lacks a function for processing outside click events specified by the handleClickOutside config option.");
        }
      }

      this.componentNode = this.__getComponentNode(); // return early so we dont initiate onClickOutside

      if (this.props.disableOnClickOutside) return;
      this.enableOnClickOutside();
    };

    _proto.componentDidUpdate = function componentDidUpdate() {
      this.componentNode = this.__getComponentNode();
    }
    /**
     * Remove all document's event listeners for this component
     */
    ;

    _proto.componentWillUnmount = function componentWillUnmount() {
      this.disableOnClickOutside();
    }
    /**
     * Can be called to explicitly enable event listening
     * for clicks and touches outside of this element.
     */
    ;

    /**
     * Pass-through render
     */
    _proto.render = function render() {
      // eslint-disable-next-line no-unused-vars
      var _this$props = this.props;
          _this$props.excludeScrollbar;
          var props = react_onclickoutside_es_objectWithoutPropertiesLoose(_this$props, ["excludeScrollbar"]);

      if (WrappedComponent.prototype && WrappedComponent.prototype.isReactComponent) {
        props.ref = this.getRef;
      } else {
        props.wrappedRef = this.getRef;
      }

      props.disableOnClickOutside = this.disableOnClickOutside;
      props.enableOnClickOutside = this.enableOnClickOutside;
      return Object(external_React_["createElement"])(WrappedComponent, props);
    };

    return onClickOutside;
  }(external_React_["Component"]), _class.displayName = "OnClickOutside(" + componentName + ")", _class.defaultProps = {
    eventTypes: ['mousedown', 'touchstart'],
    excludeScrollbar: config && config.excludeScrollbar || false,
    outsideClickIgnoreClass: IGNORE_CLASS_NAME,
    preventDefault: false,
    stopPropagation: false
  }, _class.getClass = function () {
    return WrappedComponent.getClass ? WrappedComponent.getClass() : WrappedComponent;
  }, _temp;
}/* harmony default export */ var react_onclickoutside_es = (onClickOutsideHOC);
// CONCATENATED MODULE: ./node_modules/react-number-format/dist/react-number-format.es.js
/**
 * react-number-format - 4.6.3
 * Author : Sudhanshu Yadav
 * Copyright (c) 2016, 2021 to Sudhanshu Yadav, released under the MIT license.
 * https://github.com/s-yadav/react-number-format
 */



function createCommonjsModule(fn, module) {
	return module = { exports: {} }, fn(module, module.exports), module.exports;
}

/**
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';

var ReactPropTypesSecret_1 = ReactPropTypesSecret;

function emptyFunction() {}
function emptyFunctionWithReset() {}
emptyFunctionWithReset.resetWarningCache = emptyFunction;

var factoryWithThrowingShims = function() {
  function shim(props, propName, componentName, location, propFullName, secret) {
    if (secret === ReactPropTypesSecret_1) {
      // It is still safe when called from React.
      return;
    }
    var err = new Error(
      'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
      'Use PropTypes.checkPropTypes() to call them. ' +
      'Read more at http://fb.me/use-check-prop-types'
    );
    err.name = 'Invariant Violation';
    throw err;
  }  shim.isRequired = shim;
  function getShim() {
    return shim;
  }  // Important!
  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
  var ReactPropTypes = {
    array: shim,
    bool: shim,
    func: shim,
    number: shim,
    object: shim,
    string: shim,
    symbol: shim,

    any: shim,
    arrayOf: getShim,
    element: shim,
    elementType: shim,
    instanceOf: getShim,
    node: shim,
    objectOf: getShim,
    oneOf: getShim,
    oneOfType: getShim,
    shape: getShim,
    exact: getShim,

    checkPropTypes: emptyFunctionWithReset,
    resetWarningCache: emptyFunction
  };

  ReactPropTypes.PropTypes = ReactPropTypes;

  return ReactPropTypes;
};

var react_number_format_es_propTypes = createCommonjsModule(function (module) {
/**
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

{
  // By explicitly using `prop-types` you are opting into new production behavior.
  // http://fb.me/prop-types-in-prod
  module.exports = factoryWithThrowingShims();
}
});

//     

                                                               

// basic noop function
function react_number_format_es_noop() {}
function returnTrue() {
  return true;
}

function charIsNumber(char         ) {
  return !!(char || '').match(/\d/);
}

function isNil(val     ) {
  return val === null || val === undefined;
}

function escapeRegExp(str        ) {
  return str.replace(/[-[\]/{}()*+?.\\^$|]/g, '\\$&');
}

function getThousandsGroupRegex(thousandsGroupStyle        ) {
  switch (thousandsGroupStyle) {
    case 'lakh':
      return /(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;
    case 'wan':
      return /(\d)(?=(\d{4})+(?!\d))/g;
    case 'thousand':
    default:
      return /(\d)(?=(\d{3})+(?!\d))/g;
  }
}

function applyThousandSeparator(
  str        ,
  thousandSeparator        ,
  thousandsGroupStyle        
) {
  var thousandsGroupRegex = getThousandsGroupRegex(thousandsGroupStyle);
  var index = str.search(/[1-9]/);
  index = index === -1 ? str.length : index;
  return (
    str.substring(0, index) +
    str.substring(index, str.length).replace(thousandsGroupRegex, '$1' + thousandSeparator)
  );
}

//spilt a float number into different parts beforeDecimal, afterDecimal, and negation
function splitDecimal(numStr        , allowNegative) {
  if ( allowNegative === void 0 ) allowNegative          = true;

  var hasNagation = numStr[0] === '-';
  var addNegation = hasNagation && allowNegative;
  numStr = numStr.replace('-', '');

  var parts = numStr.split('.');
  var beforeDecimal = parts[0];
  var afterDecimal = parts[1] || '';

  return {
    beforeDecimal: beforeDecimal,
    afterDecimal: afterDecimal,
    hasNagation: hasNagation,
    addNegation: addNegation,
  };
}

function fixLeadingZero(numStr         ) {
  if (!numStr) { return numStr; }
  var isNegative = numStr[0] === '-';
  if (isNegative) { numStr = numStr.substring(1, numStr.length); }
  var parts = numStr.split('.');
  var beforeDecimal = parts[0].replace(/^0+/, '') || '0';
  var afterDecimal = parts[1] || '';

  return ("" + (isNegative ? '-' : '') + beforeDecimal + (afterDecimal ? ("." + afterDecimal) : ''));
}

/**
 * limit decimal numbers to given scale
 * Not used .fixedTo because that will break with big numbers
 */
function limitToScale(numStr        , scale        , fixedDecimalScale         ) {
  var str = '';
  var filler = fixedDecimalScale ? '0' : '';
  for (var i = 0; i <= scale - 1; i++) {
    str += numStr[i] || filler;
  }
  return str;
}

function repeat(str, count) {
  return Array(count + 1).join(str);
}

function toNumericString(num) {
  num += ''; // typecast number to string

  // store the sign and remove it from the number.
  var sign = num[0] === '-' ? '-' : '';
  if (sign) { num = num.substring(1); }

  // split the number into cofficient and exponent
  var ref = num.split(/[eE]/g);
  var coefficient = ref[0];
  var exponent = ref[1];

  // covert exponent to number;
  exponent = Number(exponent);

  // if there is no exponent part or its 0, return the coffiecient with sign
  if (!exponent) { return sign + coefficient; }

  coefficient = coefficient.replace('.', '');

  /**
   * for scientific notation the current decimal index will be after first number (index 0)
   * So effective decimal index will always be 1 + exponent value
   */
  var decimalIndex = 1 + exponent;

  var coffiecientLn = coefficient.length;

  if (decimalIndex < 0) {
    // if decimal index is less then 0 add preceding 0s
    // add 1 as join will have
    coefficient = '0.' + repeat('0', Math.abs(decimalIndex)) + coefficient;
  } else if (decimalIndex >= coffiecientLn) {
    // if decimal index is less then 0 add leading 0s
    coefficient = coefficient + repeat('0', decimalIndex - coffiecientLn);
  } else {
    // else add decimal point at proper index
    coefficient =
      (coefficient.substring(0, decimalIndex) || '0') + '.' + coefficient.substring(decimalIndex);
  }

  return sign + coefficient;
}

/**
 * This method is required to round prop value to given scale.
 * Not used .round or .fixedTo because that will break with big numbers
 */
function roundToPrecision(numStr        , scale        , fixedDecimalScale         ) {
  //if number is empty don't do anything return empty string
  if (['', '-'].indexOf(numStr) !== -1) { return numStr; }

  var shoudHaveDecimalSeparator = numStr.indexOf('.') !== -1 && scale;
  var ref = splitDecimal(numStr);
  var beforeDecimal = ref.beforeDecimal;
  var afterDecimal = ref.afterDecimal;
  var hasNagation = ref.hasNagation;
  var floatValue = parseFloat(("0." + (afterDecimal || '0')));
  var floatValueStr =
    afterDecimal.length <= scale ? ("0." + afterDecimal) : floatValue.toFixed(scale);
  var roundedDecimalParts = floatValueStr.split('.');
  var intPart = beforeDecimal
    .split('')
    .reverse()
    .reduce(function (roundedStr, current, idx) {
      if (roundedStr.length > idx) {
        return (
          (Number(roundedStr[0]) + Number(current)).toString() +
          roundedStr.substring(1, roundedStr.length)
        );
      }
      return current + roundedStr;
    }, roundedDecimalParts[0]);

  var decimalPart = limitToScale(
    roundedDecimalParts[1] || '',
    Math.min(scale, afterDecimal.length),
    fixedDecimalScale
  );
  var negation = hasNagation ? '-' : '';
  var decimalSeparator = shoudHaveDecimalSeparator ? '.' : '';
  return ("" + negation + intPart + decimalSeparator + decimalPart);
}

function omit(obj        , keyMaps        ) {
  var filteredObj = {};
  Object.keys(obj).forEach(function (key) {
    if (!keyMaps[key]) { filteredObj[key] = obj[key]; }
  });
  return filteredObj;
}

/** set the caret positon in an input field **/
function setCaretPosition(el                  , caretPos        ) {
  el.value = el.value;
  // ^ this is used to not only get 'focus', but
  // to make sure we don't have it everything -selected-
  // (it causes an issue in chrome, and having it doesn't hurt any other browser)
  if (el !== null) {
    if (el.createTextRange) {
      var range = el.createTextRange();
      range.move('character', caretPos);
      range.select();
      return true;
    }
    // (el.selectionStart === 0 added for Firefox bug)
    if (el.selectionStart || el.selectionStart === 0) {
      el.focus();
      el.setSelectionRange(caretPos, caretPos);
      return true;
    }

    // fail city, fortunately this never happens (as far as I've tested) :)
    el.focus();
    return false;
  }
}

/**
  Given previous value and newValue it returns the index
  start - end to which values have changed.
  This function makes assumption about only consecutive
  characters are changed which is correct assumption for caret input.
*/
function findChangedIndex(prevValue        , newValue        ) {
  var i = 0,
    j = 0;
  var prevLength = prevValue.length;
  var newLength = newValue.length;
  while (prevValue[i] === newValue[i] && i < prevLength) { i++; }

  //check what has been changed from last
  while (
    prevValue[prevLength - 1 - j] === newValue[newLength - 1 - j] &&
    newLength - j > i &&
    prevLength - j > i
  ) {
    j++;
  }

  return { start: i, end: prevLength - j };
}

/*
  Returns a number whose value is limited to the given range
*/
function clamp(num        , min        , max        ) {
  return Math.min(Math.max(num, min), max);
}

function getCurrentCaretPosition(el                  ) {
  /*Max of selectionStart and selectionEnd is taken for the patch of pixel and other mobile device caret bug*/
  return Math.max(el.selectionStart, el.selectionEnd);
}

function addInputMode(format                                   ) {
  return format || !(navigator.platform && /iPhone|iPod/.test(navigator.platform));
}

//     

var propTypes$1 = {
  thousandSeparator: react_number_format_es_propTypes.oneOfType([react_number_format_es_propTypes.string, react_number_format_es_propTypes.oneOf([true])]),
  decimalSeparator: react_number_format_es_propTypes.string,
  allowedDecimalSeparators: react_number_format_es_propTypes.arrayOf(react_number_format_es_propTypes.string),
  thousandsGroupStyle: react_number_format_es_propTypes.oneOf(['thousand', 'lakh', 'wan']),
  decimalScale: react_number_format_es_propTypes.number,
  fixedDecimalScale: react_number_format_es_propTypes.bool,
  displayType: react_number_format_es_propTypes.oneOf(['input', 'text']),
  prefix: react_number_format_es_propTypes.string,
  suffix: react_number_format_es_propTypes.string,
  format: react_number_format_es_propTypes.oneOfType([react_number_format_es_propTypes.string, react_number_format_es_propTypes.func]),
  removeFormatting: react_number_format_es_propTypes.func,
  mask: react_number_format_es_propTypes.oneOfType([react_number_format_es_propTypes.string, react_number_format_es_propTypes.arrayOf(react_number_format_es_propTypes.string)]),
  value: react_number_format_es_propTypes.oneOfType([react_number_format_es_propTypes.number, react_number_format_es_propTypes.string]),
  defaultValue: react_number_format_es_propTypes.oneOfType([react_number_format_es_propTypes.number, react_number_format_es_propTypes.string]),
  isNumericString: react_number_format_es_propTypes.bool,
  customInput: react_number_format_es_propTypes.elementType,
  allowNegative: react_number_format_es_propTypes.bool,
  allowEmptyFormatting: react_number_format_es_propTypes.bool,
  allowLeadingZeros: react_number_format_es_propTypes.bool,
  onValueChange: react_number_format_es_propTypes.func,
  onKeyDown: react_number_format_es_propTypes.func,
  onMouseUp: react_number_format_es_propTypes.func,
  onChange: react_number_format_es_propTypes.func,
  onFocus: react_number_format_es_propTypes.func,
  onBlur: react_number_format_es_propTypes.func,
  type: react_number_format_es_propTypes.oneOf(['text', 'tel', 'password']),
  isAllowed: react_number_format_es_propTypes.func,
  renderText: react_number_format_es_propTypes.func,
  getInputRef: react_number_format_es_propTypes.oneOfType([
    react_number_format_es_propTypes.func, // for legacy refs
    react_number_format_es_propTypes.shape({ current: react_number_format_es_propTypes.any }) ]),
};

var react_number_format_es_defaultProps = {
  displayType: 'input',
  decimalSeparator: '.',
  thousandsGroupStyle: 'thousand',
  fixedDecimalScale: false,
  prefix: '',
  suffix: '',
  allowNegative: true,
  allowEmptyFormatting: false,
  allowLeadingZeros: false,
  isNumericString: false,
  type: 'text',
  onValueChange: react_number_format_es_noop,
  onChange: react_number_format_es_noop,
  onKeyDown: react_number_format_es_noop,
  onMouseUp: react_number_format_es_noop,
  onFocus: react_number_format_es_noop,
  onBlur: react_number_format_es_noop,
  isAllowed: returnTrue,
};
var react_number_format_es_NumberFormat = /*@__PURE__*/(function (superclass) {
  function NumberFormat(props        ) {
    superclass.call(this, props);

    var defaultValue = props.defaultValue;

    //validate props
    this.validateProps();

    var formattedValue = this.formatValueProp(defaultValue);

    this.state = {
      value: formattedValue,
      numAsString: this.removeFormatting(formattedValue),
      mounted: false,
    };

    this.selectionBeforeInput = {
      selectionStart: 0,
      selectionEnd: 0,
    };

    this.onChange = this.onChange.bind(this);
    this.onKeyDown = this.onKeyDown.bind(this);
    this.onMouseUp = this.onMouseUp.bind(this);
    this.onFocus = this.onFocus.bind(this);
    this.onBlur = this.onBlur.bind(this);
  }

  if ( superclass ) NumberFormat.__proto__ = superclass;
  NumberFormat.prototype = Object.create( superclass && superclass.prototype );
  NumberFormat.prototype.constructor = NumberFormat;

  NumberFormat.prototype.componentDidMount = function componentDidMount () {
    // set mounted state
    // eslint-disable-next-line react/no-did-mount-set-state
    this.setState({
      mounted: true,
    });
  };

  NumberFormat.prototype.componentDidUpdate = function componentDidUpdate (prevProps        ) {
    this.updateValueIfRequired(prevProps);
  };

  NumberFormat.prototype.componentWillUnmount = function componentWillUnmount () {
    clearTimeout(this.focusTimeout);
    clearTimeout(this.caretPositionTimeout);
  };

  NumberFormat.prototype.updateValueIfRequired = function updateValueIfRequired (prevProps        ) {
    var ref = this;
    var props = ref.props;
    var state = ref.state;
    var focusedElm = ref.focusedElm;
    var stateValue = state.value;
    var lastNumStr = state.numAsString; if ( lastNumStr === void 0 ) lastNumStr = '';

    // If only state changed no need to do any thing
    if (prevProps !== props) {
      //validate props
      this.validateProps();

      var lastValueWithNewFormat = this.formatNumString(lastNumStr);

      var formattedValue = isNil(props.value) ? lastValueWithNewFormat : this.formatValueProp();
      var numAsString = this.removeFormatting(formattedValue);

      var floatValue = parseFloat(numAsString);
      var lastFloatValue = parseFloat(lastNumStr);

      if (
        //while typing set state only when float value changes
        ((!isNaN(floatValue) || !isNaN(lastFloatValue)) && floatValue !== lastFloatValue) ||
        //can also set state when float value is same and the format props changes
        lastValueWithNewFormat !== stateValue ||
        //set state always when not in focus and formatted value is changed
        (focusedElm === null && formattedValue !== stateValue)
      ) {
        this.updateValue({ formattedValue: formattedValue, numAsString: numAsString, input: focusedElm });
      }
    }
  };

  /** Misc methods **/
  NumberFormat.prototype.getFloatString = function getFloatString (num) {
    if ( num === void 0 ) num         = '';

    var ref = this.props;
    var decimalScale = ref.decimalScale;
    var ref$1 = this.getSeparators();
    var decimalSeparator = ref$1.decimalSeparator;
    var numRegex = this.getNumberRegex(true);

    //remove negation for regex check
    var hasNegation = num[0] === '-';
    if (hasNegation) { num = num.replace('-', ''); }

    //if decimal scale is zero remove decimal and number after decimalSeparator
    if (decimalSeparator && decimalScale === 0) {
      num = num.split(decimalSeparator)[0];
    }

    num = (num.match(numRegex) || []).join('').replace(decimalSeparator, '.');

    //remove extra decimals
    var firstDecimalIndex = num.indexOf('.');

    if (firstDecimalIndex !== -1) {
      num = (num.substring(0, firstDecimalIndex)) + "." + (num
        .substring(firstDecimalIndex + 1, num.length)
        .replace(new RegExp(escapeRegExp(decimalSeparator), 'g'), ''));
    }

    //add negation back
    if (hasNegation) { num = '-' + num; }

    return num;
  };

  //returned regex assumes decimalSeparator is as per prop
  NumberFormat.prototype.getNumberRegex = function getNumberRegex (g         , ignoreDecimalSeparator          ) {
    var ref = this.props;
    var format = ref.format;
    var decimalScale = ref.decimalScale;
    var ref$1 = this.getSeparators();
    var decimalSeparator = ref$1.decimalSeparator;
    return new RegExp(
      '\\d' +
        (decimalSeparator && decimalScale !== 0 && !ignoreDecimalSeparator && !format
          ? '|' + escapeRegExp(decimalSeparator)
          : ''),
      g ? 'g' : undefined
    );
  };

  NumberFormat.prototype.getSeparators = function getSeparators () {
    var ref = this.props;
    var decimalSeparator = ref.decimalSeparator;
    var ref$1 = this.props;
    var thousandSeparator = ref$1.thousandSeparator;
    var allowedDecimalSeparators = ref$1.allowedDecimalSeparators;

    if (thousandSeparator === true) {
      thousandSeparator = ',';
    }
    if (!allowedDecimalSeparators) {
      allowedDecimalSeparators = [decimalSeparator, '.'];
    }

    return {
      decimalSeparator: decimalSeparator,
      thousandSeparator: thousandSeparator,
      allowedDecimalSeparators: allowedDecimalSeparators,
    };
  };

  NumberFormat.prototype.getMaskAtIndex = function getMaskAtIndex (index        ) {
    var ref = this.props;
    var mask = ref.mask; if ( mask === void 0 ) mask = ' ';
    if (typeof mask === 'string') {
      return mask;
    }

    return mask[index] || ' ';
  };

  NumberFormat.prototype.getValueObject = function getValueObject (formattedValue        , numAsString        ) {
    var floatValue = parseFloat(numAsString);

    return {
      formattedValue: formattedValue,
      value: numAsString,
      floatValue: isNaN(floatValue) ? undefined : floatValue,
    };
  };

  NumberFormat.prototype.validateProps = function validateProps () {
    var ref = this.props;
    var mask = ref.mask;

    //validate decimalSeparator and thousandSeparator
    var ref$1 = this.getSeparators();
    var decimalSeparator = ref$1.decimalSeparator;
    var thousandSeparator = ref$1.thousandSeparator;

    if (decimalSeparator === thousandSeparator) {
      throw new Error(("\n          Decimal separator can't be same as thousand separator.\n          thousandSeparator: " + thousandSeparator + " (thousandSeparator = {true} is same as thousandSeparator = \",\")\n          decimalSeparator: " + decimalSeparator + " (default value for decimalSeparator is .)\n       "));
    }

    //validate mask
    if (mask) {
      var maskAsStr = mask === 'string' ? mask : mask.toString();
      if (maskAsStr.match(/\d/g)) {
        throw new Error(("\n          Mask " + mask + " should not contain numeric character;\n        "));
      }
    }
  };
  /** Misc methods end **/

  /** caret specific methods **/
  NumberFormat.prototype.setPatchedCaretPosition = function setPatchedCaretPosition (el                  , caretPos        , currentValue        ) {
    /* setting caret position within timeout of 0ms is required for mobile chrome,
    otherwise browser resets the caret position after we set it
    We are also setting it without timeout so that in normal browser we don't see the flickering */
    setCaretPosition(el, caretPos);
    this.caretPositionTimeout = setTimeout(function () {
      if (el.value === currentValue) { setCaretPosition(el, caretPos); }
    }, 0);
  };

  /* This keeps the caret within typing area so people can't type in between prefix or suffix */
  NumberFormat.prototype.correctCaretPosition = function correctCaretPosition (value        , caretPos        , direction         ) {
    var ref = this.props;
    var prefix = ref.prefix;
    var suffix = ref.suffix;
    var format = ref.format;

    //if value is empty return 0
    if (value === '') { return 0; }

    //caret position should be between 0 and value length
    caretPos = clamp(caretPos, 0, value.length);

    //in case of format as number limit between prefix and suffix
    if (!format) {
      var hasNegation = value[0] === '-';
      return clamp(caretPos, prefix.length + (hasNegation ? 1 : 0), value.length - suffix.length);
    }

    //in case if custom format method don't do anything
    if (typeof format === 'function') { return caretPos; }

    /* in case format is string find the closest # position from the caret position */

    //in case the caretPos have input value on it don't do anything
    if (format[caretPos] === '#' && charIsNumber(value[caretPos])) {
      return caretPos;
    }

    //if caretPos is just after input value don't do anything
    if (format[caretPos - 1] === '#' && charIsNumber(value[caretPos - 1])) {
      return caretPos;
    }

    //find the nearest caret position
    var firstHashPosition = format.indexOf('#');
    var lastHashPosition = format.lastIndexOf('#');

    //limit the cursor between the first # position and the last # position
    caretPos = clamp(caretPos, firstHashPosition, lastHashPosition + 1);

    var nextPos = format.substring(caretPos, format.length).indexOf('#');
    var caretLeftBound = caretPos;
    var caretRightBound = caretPos + (nextPos === -1 ? 0 : nextPos);

    //get the position where the last number is present
    while (
      caretLeftBound > firstHashPosition &&
      (format[caretLeftBound] !== '#' || !charIsNumber(value[caretLeftBound]))
    ) {
      caretLeftBound -= 1;
    }

    var goToLeft =
      !charIsNumber(value[caretRightBound]) ||
      (direction === 'left' && caretPos !== firstHashPosition) ||
      caretPos - caretLeftBound < caretRightBound - caretPos;

    if (goToLeft) {
      //check if number should be taken after the bound or after it
      //if number preceding a valid number keep it after
      return charIsNumber(value[caretLeftBound]) ? caretLeftBound + 1 : caretLeftBound;
    }

    return caretRightBound;
  };

  NumberFormat.prototype.getCaretPosition = function getCaretPosition (inputValue        , formattedValue        , caretPos        ) {
    var ref = this.props;
    var format = ref.format;
    var stateValue = this.state.value;
    var numRegex = this.getNumberRegex(true);
    var inputNumber = (inputValue.match(numRegex) || []).join('');
    var formattedNumber = (formattedValue.match(numRegex) || []).join('');
    var j, i;

    j = 0;

    for (i = 0; i < caretPos; i++) {
      var currentInputChar = inputValue[i] || '';
      var currentFormatChar = formattedValue[j] || '';
      //no need to increase new cursor position if formatted value does not have those characters
      //case inputValue = 1a23 and formattedValue =  123
      if (!currentInputChar.match(numRegex) && currentInputChar !== currentFormatChar) {
        continue;
      }

      //When we are striping out leading zeros maintain the new cursor position
      //Case inputValue = 00023 and formattedValue = 23;
      if (
        currentInputChar === '0' &&
        currentFormatChar.match(numRegex) &&
        currentFormatChar !== '0' &&
        inputNumber.length !== formattedNumber.length
      ) {
        continue;
      }

      //we are not using currentFormatChar because j can change here
      while (currentInputChar !== formattedValue[j] && j < formattedValue.length) {
        j++;
      }
      j++;
    }

    if (typeof format === 'string' && !stateValue) {
      //set it to the maximum value so it goes after the last number
      j = formattedValue.length;
    }

    //correct caret position if its outside of editable area
    j = this.correctCaretPosition(formattedValue, j);

    return j;
  };
  /** caret specific methods ends **/

  /** methods to remove formattting **/
  NumberFormat.prototype.removePrefixAndSuffix = function removePrefixAndSuffix (val        ) {
    var ref = this.props;
    var format = ref.format;
    var prefix = ref.prefix;
    var suffix = ref.suffix;

    //remove prefix and suffix
    if (!format && val) {
      var isNegative = val[0] === '-';

      //remove negation sign
      if (isNegative) { val = val.substring(1, val.length); }

      //remove prefix
      val = prefix && val.indexOf(prefix) === 0 ? val.substring(prefix.length, val.length) : val;

      //remove suffix
      var suffixLastIndex = val.lastIndexOf(suffix);
      val =
        suffix && suffixLastIndex !== -1 && suffixLastIndex === val.length - suffix.length
          ? val.substring(0, suffixLastIndex)
          : val;

      //add negation sign back
      if (isNegative) { val = '-' + val; }
    }

    return val;
  };

  NumberFormat.prototype.removePatternFormatting = function removePatternFormatting (val        ) {
    var ref = this.props;
    var format = ref.format;
    var formatArray = format.split('#').filter(function (str) { return str !== ''; });
    var start = 0;
    var numStr = '';

    for (var i = 0, ln = formatArray.length; i <= ln; i++) {
      var part = formatArray[i] || '';

      //if i is the last fragment take the index of end of the value
      //For case like +1 (911) 911 91 91 having pattern +1 (###) ### ## ##
      var index = i === ln ? val.length : val.indexOf(part, start);

      /* in any case if we don't find the pattern part in the value assume the val as numeric string
      This will be also in case if user has started typing, in any other case it will not be -1
      unless wrong prop value is provided */
      if (index === -1) {
        numStr = val;
        break;
      } else {
        numStr += val.substring(start, index);
        start = index + part.length;
      }
    }

    return (numStr.match(/\d/g) || []).join('');
  };

  NumberFormat.prototype.removeFormatting = function removeFormatting (val        ) {
    var ref = this.props;
    var format = ref.format;
    var removeFormatting = ref.removeFormatting;
    if (!val) { return val; }

    if (!format) {
      val = this.removePrefixAndSuffix(val);
      val = this.getFloatString(val);
    } else if (typeof format === 'string') {
      val = this.removePatternFormatting(val);
    } else if (typeof removeFormatting === 'function') {
      //condition need to be handled if format method is provide,
      val = removeFormatting(val);
    } else {
      val = (val.match(/\d/g) || []).join('');
    }
    return val;
  };
  /** methods to remove formattting end **/

  /*** format specific methods start ***/
  /**
   * Format when # based string is provided
   * @param  {string} numStr Numeric String
   * @return {string}        formatted Value
   */
  NumberFormat.prototype.formatWithPattern = function formatWithPattern (numStr        ) {
    var ref = this.props;
    var format = ref.format;
    var hashCount = 0;
    var formattedNumberAry = format.split('');
    for (var i = 0, ln = format.length; i < ln; i++) {
      if (format[i] === '#') {
        formattedNumberAry[i] = numStr[hashCount] || this.getMaskAtIndex(hashCount);
        hashCount += 1;
      }
    }
    return formattedNumberAry.join('');
  };
  /**
   * @param  {string} numStr Numeric string/floatString] It always have decimalSeparator as .
   * @return {string} formatted Value
   */
  NumberFormat.prototype.formatAsNumber = function formatAsNumber (numStr        ) {
    var ref = this.props;
    var decimalScale = ref.decimalScale;
    var fixedDecimalScale = ref.fixedDecimalScale;
    var prefix = ref.prefix;
    var suffix = ref.suffix;
    var allowNegative = ref.allowNegative;
    var thousandsGroupStyle = ref.thousandsGroupStyle;
    var ref$1 = this.getSeparators();
    var thousandSeparator = ref$1.thousandSeparator;
    var decimalSeparator = ref$1.decimalSeparator;

    var hasDecimalSeparator = numStr.indexOf('.') !== -1 || (decimalScale && fixedDecimalScale);
    var ref$2 = splitDecimal(numStr, allowNegative);
    var beforeDecimal = ref$2.beforeDecimal;
    var afterDecimal = ref$2.afterDecimal;
    var addNegation = ref$2.addNegation; // eslint-disable-line prefer-const

    //apply decimal precision if its defined
    if (decimalScale !== undefined) {
      afterDecimal = limitToScale(afterDecimal, decimalScale, fixedDecimalScale);
    }

    if (thousandSeparator) {
      beforeDecimal = applyThousandSeparator(beforeDecimal, thousandSeparator, thousandsGroupStyle);
    }

    //add prefix and suffix
    if (prefix) { beforeDecimal = prefix + beforeDecimal; }
    if (suffix) { afterDecimal = afterDecimal + suffix; }

    //restore negation sign
    if (addNegation) { beforeDecimal = '-' + beforeDecimal; }

    numStr = beforeDecimal + ((hasDecimalSeparator && decimalSeparator) || '') + afterDecimal;

    return numStr;
  };

  NumberFormat.prototype.formatNumString = function formatNumString (numStr) {
    if ( numStr === void 0 ) numStr         = '';

    var ref = this.props;
    var format = ref.format;
    var allowEmptyFormatting = ref.allowEmptyFormatting;
    var formattedValue = numStr;

    if (numStr === '' && !allowEmptyFormatting) {
      formattedValue = '';
    } else if (numStr === '-' && !format) {
      formattedValue = '-';
    } else if (typeof format === 'string') {
      formattedValue = this.formatWithPattern(formattedValue);
    } else if (typeof format === 'function') {
      formattedValue = format(formattedValue);
    } else {
      formattedValue = this.formatAsNumber(formattedValue);
    }

    return formattedValue;
  };

  NumberFormat.prototype.formatValueProp = function formatValueProp (defaultValue                 ) {
    var ref = this.props;
    var format = ref.format;
    var decimalScale = ref.decimalScale;
    var fixedDecimalScale = ref.fixedDecimalScale;
    var allowEmptyFormatting = ref.allowEmptyFormatting;
    var ref$1 = this.props;
    var value = ref$1.value;
    var isNumericString = ref$1.isNumericString;

    // if value is undefined or null, use defaultValue instead
    value = isNil(value) ? defaultValue : value;

    var isNonNumericFalsy = !value && value !== 0;

    if (isNonNumericFalsy && allowEmptyFormatting) {
      value = '';
    }

    // if value is not defined return empty string
    if (isNonNumericFalsy && !allowEmptyFormatting) { return ''; }

    if (typeof value === 'number') {
      value = toNumericString(value);
      isNumericString = true;
    }

    //change infinity value to empty string
    if (value === 'Infinity' && isNumericString) {
      value = '';
    }

    //round the number based on decimalScale
    //format only if non formatted value is provided
    if (isNumericString && !format && typeof decimalScale === 'number') {
      value = roundToPrecision(value, decimalScale, fixedDecimalScale);
    }

    var formattedValue = isNumericString ? this.formatNumString(value) : this.formatInput(value);

    return formattedValue;
  };

  NumberFormat.prototype.formatNegation = function formatNegation (value) {
    if ( value === void 0 ) value         = '';

    var ref = this.props;
    var allowNegative = ref.allowNegative;
    var negationRegex = new RegExp('(-)');
    var doubleNegationRegex = new RegExp('(-)(.)*(-)');

    // Check number has '-' value
    var hasNegation = negationRegex.test(value);

    // Check number has 2 or more '-' values
    var removeNegation = doubleNegationRegex.test(value);

    //remove negation
    value = value.replace(/-/g, '');

    if (hasNegation && !removeNegation && allowNegative) {
      value = '-' + value;
    }

    return value;
  };

  NumberFormat.prototype.formatInput = function formatInput (value) {
    if ( value === void 0 ) value         = '';

    var ref = this.props;
    var format = ref.format;

    //format negation only if we are formatting as number
    if (!format) {
      value = this.removePrefixAndSuffix(value);
      value = this.formatNegation(value);
    }

    //remove formatting from number
    value = this.removeFormatting(value);

    return this.formatNumString(value);
  };

  /*** format specific methods end ***/
  NumberFormat.prototype.isCharacterAFormat = function isCharacterAFormat (caretPos        , value        ) {
    var ref = this.props;
    var format = ref.format;
    var prefix = ref.prefix;
    var suffix = ref.suffix;
    var decimalScale = ref.decimalScale;
    var fixedDecimalScale = ref.fixedDecimalScale;
    var ref$1 = this.getSeparators();
    var decimalSeparator = ref$1.decimalSeparator;

    //check within format pattern
    if (typeof format === 'string' && format[caretPos] !== '#') { return true; }

    //check in number format
    if (
      !format &&
      (caretPos < prefix.length ||
        caretPos >= value.length - suffix.length ||
        (decimalScale && fixedDecimalScale && value[caretPos] === decimalSeparator))
    ) {
      return true;
    }

    return false;
  };

  /**
   * This will check if any formatting got removed by the delete or backspace and reset the value
   * It will also work as fallback if android chome keyDown handler does not work
   **/
  NumberFormat.prototype.correctInputValue = function correctInputValue (caretPos        , lastValue        , value        ) {
    var this$1 = this;

    var ref = this.props;
    var format = ref.format;
    var allowNegative = ref.allowNegative;
    var prefix = ref.prefix;
    var suffix = ref.suffix;
    var decimalScale = ref.decimalScale;
    var ref$1 = this.getSeparators();
    var allowedDecimalSeparators = ref$1.allowedDecimalSeparators;
    var decimalSeparator = ref$1.decimalSeparator;
    var lastNumStr = this.state.numAsString || '';
    var ref$2 = this.selectionBeforeInput;
    var selectionStart = ref$2.selectionStart;
    var selectionEnd = ref$2.selectionEnd;
    var ref$3 = findChangedIndex(lastValue, value);
    var start = ref$3.start;
    var end = ref$3.end;

    /** Check for any allowed decimal separator is added in the numeric format and replace it with decimal separator */
    if (
      !format &&
      start === end &&
      allowedDecimalSeparators.indexOf(value[selectionStart]) !== -1
    ) {
      var separator = decimalScale === 0 ? '' : decimalSeparator;
      return (
        value.substr(0, selectionStart) + separator + value.substr(selectionStart + 1, value.length)
      );
    }

    var leftBound = !!format ? 0 : prefix.length;
    var rightBound = lastValue.length - (!!format ? 0 : suffix.length);

    if (
      // don't do anything if something got added
      value.length > lastValue.length ||
      // or if the new value is an empty string
      !value.length ||
      // or if nothing has changed, in which case start will be same as end
      start === end ||
      // or in case if whole input is selected and new value is typed
      (selectionStart === 0 && selectionEnd === lastValue.length) ||
      // or in case if the whole content is replaced by browser, example (autocomplete)
      (start === 0 && end === lastValue.length) ||
      // or if charcters between prefix and suffix is selected.
      // For numeric inputs we apply the format so, prefix and suffix can be ignored
      (selectionStart === leftBound && selectionEnd === rightBound)
    ) {
      return value;
    }

    // check whether the deleted portion has a character that is part of a format
    var deletedValues = lastValue.substr(start, end - start);
    var formatGotDeleted = !![].concat( deletedValues ).find(function (deletedVal, idx) { return this$1.isCharacterAFormat(idx + start, lastValue); });

    // if it has, only remove characters that are not part of the format
    if(formatGotDeleted) {
      var deletedValuePortion = lastValue.substr(start);
      var recordIndexOfFormatCharacters = {};
      var resolvedPortion = [];
      [].concat( deletedValuePortion ).forEach(function (currentPortion, idx) {
        if(this$1.isCharacterAFormat(idx + start, lastValue)){
          recordIndexOfFormatCharacters[idx] = currentPortion;
        } else if (idx > deletedValues.length - 1) {
          resolvedPortion.push(currentPortion);
        }
      });

      Object.keys(recordIndexOfFormatCharacters).forEach(function (idx) {
        if(resolvedPortion.length > idx){
          resolvedPortion.splice(idx, 0, recordIndexOfFormatCharacters[idx]);
        } else {
          resolvedPortion.push(recordIndexOfFormatCharacters[idx]);
        }
      });

      value = lastValue.substr(0, start) + resolvedPortion.join('');
    }




    //for numbers check if beforeDecimal got deleted and there is nothing after decimal,
    //clear all numbers in such case while keeping the - sign
    if (!format) {
      var numericString = this.removeFormatting(value);
      var ref$4 = splitDecimal(
        numericString,
        allowNegative
      );
      var beforeDecimal = ref$4.beforeDecimal;
      var afterDecimal = ref$4.afterDecimal;
      var addNegation = ref$4.addNegation; // eslint-disable-line prefer-const

      //clear only if something got deleted
      var isBeforeDecimalPoint = caretPos < value.indexOf(decimalSeparator) + 1;
      if (
        numericString.length < lastNumStr.length &&
        isBeforeDecimalPoint &&
        beforeDecimal === '' &&
        !parseFloat(afterDecimal)
      ) {
        return addNegation ? '-' : '';
      }
    }

    return value;
  };

  /** Update value and caret position */
  NumberFormat.prototype.updateValue = function updateValue (params   
                           
                        
                       
                            
                     
                              
   ) {
    var formattedValue = params.formattedValue;
    var input = params.input;
    var setCaretPosition = params.setCaretPosition; if ( setCaretPosition === void 0 ) setCaretPosition = true;
    var numAsString = params.numAsString;
    var caretPos = params.caretPos;
    var ref = this.props;
    var onValueChange = ref.onValueChange;
    var ref$1 = this.state;
    var lastValue = ref$1.value;

    if (input) {
      //set caret position, and value imperatively when element is provided
      if (setCaretPosition) {
        //calculate caret position if not defined
        if (!caretPos) {
          var inputValue = params.inputValue || input.value;

          var currentCaretPosition = getCurrentCaretPosition(input);

          /**
           * set the value imperatively, this is required for IE fix
           * This is also required as if new caret position is beyond the previous value.
           * Caret position will not be set correctly
           */
          input.value = formattedValue;

          //get the caret position
          caretPos = this.getCaretPosition(inputValue, formattedValue, currentCaretPosition);
        }

        //set caret position
        this.setPatchedCaretPosition(input, caretPos, formattedValue);
      } else {
        /**
         * if we are not setting caret position set the value imperatively.
         * This is required on onBlur method
         */
        input.value = formattedValue;
      }
    }

    //calculate numeric string if not passed
    if (numAsString === undefined) {
      numAsString = this.removeFormatting(formattedValue);
    }

    //update state if value is changed
    if (formattedValue !== lastValue) {
      this.setState({ value: formattedValue, numAsString: numAsString });

      // trigger onValueChange synchronously, so parent is updated along with the number format. Fix for #277, #287
      onValueChange(this.getValueObject(formattedValue, numAsString));
    }
  };

  NumberFormat.prototype.onChange = function onChange (e                     ) {
    var el = e.target;
    var inputValue = el.value;
    var ref = this;
    var state = ref.state;
    var props = ref.props;
    var isAllowed = props.isAllowed;
    var lastValue = state.value || '';

    var currentCaretPosition = getCurrentCaretPosition(el);

    inputValue = this.correctInputValue(currentCaretPosition, lastValue, inputValue);

    var formattedValue = this.formatInput(inputValue) || '';
    var numAsString = this.removeFormatting(formattedValue);

    var valueObj = this.getValueObject(formattedValue, numAsString);
    var isChangeAllowed = isAllowed(valueObj);

    if (!isChangeAllowed) {
      formattedValue = lastValue;
    }

    this.updateValue({ formattedValue: formattedValue, numAsString: numAsString, inputValue: inputValue, input: el });

    if (isChangeAllowed) {
      props.onChange(e);
    }
  };

  NumberFormat.prototype.onBlur = function onBlur (e                     ) {
    var ref = this;
    var props = ref.props;
    var state = ref.state;
    var format = props.format;
    var onBlur = props.onBlur;
    var allowLeadingZeros = props.allowLeadingZeros;
    var numAsString = state.numAsString;
    var lastValue = state.value;
    this.focusedElm = null;

    clearTimeout(this.focusTimeout);
    clearTimeout(this.caretPositionTimeout);

    if (!format) {
      // if the numAsString is not a valid number reset it to empty
      if (isNaN(parseFloat(numAsString))) {
        numAsString = '';
      }

      if (!allowLeadingZeros) {
        numAsString = fixLeadingZero(numAsString);
      }

      var formattedValue = this.formatNumString(numAsString);

      //change the state
      if (formattedValue !== lastValue) {
        // the event needs to be persisted because its properties can be accessed in an asynchronous way
        this.updateValue({
          formattedValue: formattedValue,
          numAsString: numAsString,
          input: e.target,
          setCaretPosition: false,
        });
        onBlur(e);
        return;
      }
    }
    onBlur(e);
  };

  NumberFormat.prototype.onKeyDown = function onKeyDown (e                             ) {
    var el = e.target;
    var key = e.key;
    var selectionStart = el.selectionStart;
    var selectionEnd = el.selectionEnd;
    var value = el.value; if ( value === void 0 ) value = '';
    var expectedCaretPosition;
    var ref = this.props;
    var decimalScale = ref.decimalScale;
    var fixedDecimalScale = ref.fixedDecimalScale;
    var prefix = ref.prefix;
    var suffix = ref.suffix;
    var format = ref.format;
    var onKeyDown = ref.onKeyDown;
    var ignoreDecimalSeparator = decimalScale !== undefined && fixedDecimalScale;
    var numRegex = this.getNumberRegex(false, ignoreDecimalSeparator);
    var negativeRegex = new RegExp('-');
    var isPatternFormat = typeof format === 'string';

    this.selectionBeforeInput = {
      selectionStart: selectionStart,
      selectionEnd: selectionEnd,
    };

    //Handle backspace and delete against non numerical/decimal characters or arrow keys
    if (key === 'ArrowLeft' || key === 'Backspace') {
      expectedCaretPosition = selectionStart - 1;
    } else if (key === 'ArrowRight') {
      expectedCaretPosition = selectionStart + 1;
    } else if (key === 'Delete') {
      expectedCaretPosition = selectionStart;
    }

    //if expectedCaretPosition is not set it means we don't want to Handle keyDown
    //also if multiple characters are selected don't handle
    if (expectedCaretPosition === undefined || selectionStart !== selectionEnd) {
      onKeyDown(e);
      return;
    }

    var newCaretPosition = expectedCaretPosition;
    var leftBound = isPatternFormat ? format.indexOf('#') : prefix.length;
    var rightBound = isPatternFormat ? format.lastIndexOf('#') + 1 : value.length - suffix.length;

    if (key === 'ArrowLeft' || key === 'ArrowRight') {
      var direction = key === 'ArrowLeft' ? 'left' : 'right';
      newCaretPosition = this.correctCaretPosition(value, expectedCaretPosition, direction);
    } else if (
      key === 'Delete' &&
      !numRegex.test(value[expectedCaretPosition]) &&
      !negativeRegex.test(value[expectedCaretPosition])
    ) {
      while (!numRegex.test(value[newCaretPosition]) && newCaretPosition < rightBound) {
        newCaretPosition++;
      }
    } else if (key === 'Backspace' && !numRegex.test(value[expectedCaretPosition])) {
      /* NOTE: This is special case when backspace is pressed on a
      negative value while the cursor position is after prefix. We can't handle it on onChange because
      we will not have any information of keyPress
      */
      if (selectionStart <= leftBound + 1 && value[0] === '-' && typeof format === 'undefined') {
        var newValue = value.substring(1);
        this.updateValue({
          formattedValue: newValue,
          caretPos: newCaretPosition,
          input: el,
        });
      } else if (!negativeRegex.test(value[expectedCaretPosition])) {
        while (!numRegex.test(value[newCaretPosition - 1]) && newCaretPosition > leftBound) {
          newCaretPosition--;
        }
        newCaretPosition = this.correctCaretPosition(value, newCaretPosition, 'left');
      }
    }

    if (
      newCaretPosition !== expectedCaretPosition ||
      expectedCaretPosition < leftBound ||
      expectedCaretPosition > rightBound
    ) {
      e.preventDefault();
      this.setPatchedCaretPosition(el, newCaretPosition, value);
    }

    /* NOTE: this is just required for unit test as we need to get the newCaretPosition,
            Remove this when you find different solution */
    if (e.isUnitTestRun) {
      this.setPatchedCaretPosition(el, newCaretPosition, value);
    }

    onKeyDown(e);
  };

  /** required to handle the caret position when click anywhere within the input **/
  NumberFormat.prototype.onMouseUp = function onMouseUp (e                          ) {
    var el = e.target;

    /**
     * NOTE: we have to give default value for value as in case when custom input is provided
     * value can come as undefined when nothing is provided on value prop.
     */
    var selectionStart = el.selectionStart;
    var selectionEnd = el.selectionEnd;
    var value = el.value; if ( value === void 0 ) value = '';

    if (selectionStart === selectionEnd) {
      var caretPosition = this.correctCaretPosition(value, selectionStart);
      if (caretPosition !== selectionStart) {
        this.setPatchedCaretPosition(el, caretPosition, value);
      }
    }

    this.props.onMouseUp(e);
  };

  NumberFormat.prototype.onFocus = function onFocus (e                     ) {
    var this$1 = this;

    // Workaround Chrome and Safari bug https://bugs.chromium.org/p/chromium/issues/detail?id=779328
    // (onFocus event target selectionStart is always 0 before setTimeout)
    e.persist();

    this.focusedElm = e.target;
    this.focusTimeout = setTimeout(function () {
      var el = e.target;
      var selectionStart = el.selectionStart;
      var selectionEnd = el.selectionEnd;
      var value = el.value; if ( value === void 0 ) value = '';

      var caretPosition = this$1.correctCaretPosition(value, selectionStart);

      //setPatchedCaretPosition only when everything is not selected on focus (while tabbing into the field)
      if (
        caretPosition !== selectionStart &&
        !(selectionStart === 0 && selectionEnd === value.length)
      ) {
        this$1.setPatchedCaretPosition(el, caretPosition, value);
      }

      this$1.props.onFocus(e);
    }, 0);
  };

  NumberFormat.prototype.render = function render () {
    var ref = this.props;
    var type = ref.type;
    var displayType = ref.displayType;
    var customInput = ref.customInput;
    var renderText = ref.renderText;
    var getInputRef = ref.getInputRef;
    var format = ref.format;
    var ref$1 = this.state;
    var value = ref$1.value;
    var mounted = ref$1.mounted;

    var otherProps = omit(this.props, propTypes$1);

    // add input mode on element based on format prop and device once the component is mounted
    var inputMode = mounted && addInputMode(format) ? 'numeric' : undefined;

    var inputProps = Object.assign({ inputMode: inputMode }, otherProps, {
      type: type,
      value: value,
      onChange: this.onChange,
      onKeyDown: this.onKeyDown,
      onMouseUp: this.onMouseUp,
      onFocus: this.onFocus,
      onBlur: this.onBlur,
    });

    if (displayType === 'text') {
      return renderText ? (
        renderText(value, otherProps) || null
      ) : (
        external_React_default.a.createElement( 'span', Object.assign({}, otherProps, { ref: getInputRef }),
          value
        )
      );
    } else if (customInput) {
      var CustomInput = customInput;
      return external_React_default.a.createElement( CustomInput, Object.assign({}, inputProps, { ref: getInputRef }));
    }

    return external_React_default.a.createElement( 'input', Object.assign({}, inputProps, { ref: getInputRef }));
  };

  return NumberFormat;
}(external_React_default.a.Component));

react_number_format_es_NumberFormat.propTypes = propTypes$1;
react_number_format_es_NumberFormat.defaultProps = react_number_format_es_defaultProps;

/* harmony default export */ var react_number_format_es = (react_number_format_es_NumberFormat);

// EXTERNAL MODULE: ./src/sass/components/inputGroup.scss
var inputGroup = __webpack_require__(70);

// CONCATENATED MODULE: ./src/components/InputGroup/index.jsx
function InputGroup_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { InputGroup_typeof = function _typeof(obj) { return typeof obj; }; } else { InputGroup_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return InputGroup_typeof(obj); }

function InputGroup_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function InputGroup_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); } }

function InputGroup_createClass(Constructor, protoProps, staticProps) { if (protoProps) InputGroup_defineProperties(Constructor.prototype, protoProps); if (staticProps) InputGroup_defineProperties(Constructor, staticProps); return Constructor; }

function InputGroup_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) InputGroup_setPrototypeOf(subClass, superClass); }

function InputGroup_setPrototypeOf(o, p) { InputGroup_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return InputGroup_setPrototypeOf(o, p); }

function InputGroup_createSuper(Derived) { var hasNativeReflectConstruct = InputGroup_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = InputGroup_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = InputGroup_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return InputGroup_possibleConstructorReturn(this, result); }; }

function InputGroup_possibleConstructorReturn(self, call) { if (call && (InputGroup_typeof(call) === "object" || typeof call === "function")) { return call; } return InputGroup_assertThisInitialized(self); }

function InputGroup_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function InputGroup_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function InputGroup_getPrototypeOf(o) { InputGroup_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return InputGroup_getPrototypeOf(o); }

function InputGroup_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }










var InputGroup_InputGroup = /*#__PURE__*/function (_Component) {
  InputGroup_inherits(InputGroup, _Component);

  var _super = InputGroup_createSuper(InputGroup);

  function InputGroup() {
    var _this;

    InputGroup_classCallCheck(this, InputGroup);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    InputGroup_defineProperty(InputGroup_assertThisInitialized(_this), "state", {
      hideValidation: false
    });

    InputGroup_defineProperty(InputGroup_assertThisInitialized(_this), "handleChange", function (event) {
      var onChange = _this.props.onChange;

      _this.setState({
        hideValidation: false
      });

      if (Object(lodash["isFunction"])(onChange)) onChange(event);
    });

    InputGroup_defineProperty(InputGroup_assertThisInitialized(_this), "toggleCheckboxChange", function (event) {
      var handleCheckboxChange = _this.props.handleCheckboxChange;

      _this.setState({
        hideValidation: false
      });

      if (Object(lodash["isFunction"])(handleCheckboxChange)) handleCheckboxChange(event);
    });

    InputGroup_defineProperty(InputGroup_assertThisInitialized(_this), "handleValidationMessageCallback", function (event) {
      var _this$props = _this.props,
          validationClosingCallback = _this$props.validationClosingCallback,
          enableValidationClosing = _this$props.enableValidationClosing,
          isChecked = _this$props.isChecked;
      var hideValidation = _this.state.hideValidation;
      if (enableValidationClosing && !hideValidation && !isChecked) _this.setState({
        hideValidation: true
      });
      if (Object(lodash["isFunction"])(validationClosingCallback)) validationClosingCallback(event);
    });

    InputGroup_defineProperty(InputGroup_assertThisInitialized(_this), "handleClickOutside", function (event) {
      var _this$props2 = _this.props,
          hideValidationOnClick = _this$props2.hideValidationOnClick,
          isChecked = _this$props2.isChecked;
      if (hideValidationOnClick && !isChecked) _this.handleValidationMessageCallback(event);
    });

    return _this;
  }

  InputGroup_createClass(InputGroup, [{
    key: "render",
    value: function render() {
      var _this$props3 = this.props,
          hasCheckbox = _this$props3.hasCheckbox,
          checkboxId = _this$props3.checkboxId,
          checkboxLabel = _this$props3.checkboxLabel,
          id = _this$props3.id,
          name = _this$props3.name,
          checkboxName = _this$props3.checkboxName,
          value = _this$props3.value,
          type = _this$props3.type,
          labelBelow = _this$props3.labelBelow,
          unit = _this$props3.unit,
          inputIcon = _this$props3.inputIcon,
          hasInputIcon = _this$props3.hasInputIcon,
          hasLabelBelow = _this$props3.hasLabelBelow,
          rules = _this$props3.rules,
          showValidationMessage = _this$props3.showValidationMessage,
          isChecked = _this$props3.isChecked,
          className = _this$props3.className,
          enableValidationClosing = _this$props3.enableValidationClosing,
          isFormatedNumber = _this$props3.isFormatedNumber,
          decimalScale = _this$props3.decimalScale,
          decimalSeparator = _this$props3.decimalSeparator,
          thousandSeparator = _this$props3.thousandSeparator;
      var validationMessage = !Object(lodash["isEmpty"])(rules) && showValidationMessage ? validateProp(value, rules) : null;
      var isValid = Object(lodash["isEmpty"])(validationMessage);
      var hideValidation = this.state.hideValidation;
      return /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, {
        onClick: this.handleClick
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "input-group"
      }, hasCheckbox && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "input-left-side"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: className
      }, /*#__PURE__*/external_React_default.a.createElement("input", {
        type: "checkbox",
        id: checkboxId,
        value: checkboxLabel,
        checked: isChecked,
        name: checkboxName,
        onChange: this.toggleCheckboxChange
      }), /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: checkboxId
      }))), !isFormatedNumber ? /*#__PURE__*/external_React_default.a.createElement("input", {
        id: id,
        value: value,
        type: type,
        name: name,
        className: "form-group input-element",
        onChange: this.handleChange,
        disabled: hasCheckbox && !isChecked || false,
        ref: this.props.setInputRef,
        autoComplete: "off"
      }) : /*#__PURE__*/external_React_default.a.createElement(react_number_format_es, {
        id: id,
        value: value,
        type: type,
        name: name,
        className: "form-group input-element",
        onChange: this.handleChange,
        disabled: hasCheckbox && !isChecked || false,
        ref: this.props.setInputRef,
        autoComplete: "off",
        decimalScale: decimalScale,
        thousandSeparator: thousandSeparator,
        decimalSeparator: decimalSeparator,
        thousandsGroupStyle: "thousand"
      }), hasInputIcon && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "input-right-side"
      }, unit, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: inputIcon
      }))), hasLabelBelow && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "verbruik-label"
      }, labelBelow), !isValid && !hideValidation && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: !isValid ? 'validation-tooltip active' : 'validation-tooltip'
      }, enableValidationClosing && !isChecked && /*#__PURE__*/external_React_default.a.createElement("span", {
        onClick: this.handleValidationMessageCallback,
        className: !hideValidation ? 'close' : 'close hidden'
      }, "x"), validationMessage));
    }
  }]);

  return InputGroup;
}(external_React_["Component"]);

InputGroup_defineProperty(InputGroup_InputGroup, "propTypes", {
  id: prop_types_default.a.string.isRequired,
  name: prop_types_default.a.string.isRequired,
  checkboxName: prop_types_default.a.string.isRequired,
  labelBelow: prop_types_default.a.string.isRequired,
  value: prop_types_default.a.string,
  onChange: prop_types_default.a.func.isRequired,
  handleCheckboxChange: prop_types_default.a.func.isRequired,
  type: prop_types_default.a.string.isRequired,
  unit: prop_types_default.a.string.isRequired,
  setInputRef: prop_types_default.a.func,
  hasCheckbox: prop_types_default.a.bool,
  hasInputIcon: prop_types_default.a.bool,
  hasLabelBelow: prop_types_default.a.bool,
  checkboxId: prop_types_default.a.string.isRequired,
  checkboxLabel: prop_types_default.a.string.isRequired,
  inputIcon: prop_types_default.a.string.isRequired,
  rules: prop_types_default.a.object,
  showValidationMessage: prop_types_default.a.bool,
  hideValidationOnClick: prop_types_default.a.bool,
  isChecked: prop_types_default.a.bool,
  className: prop_types_default.a.string.isRequired,
  enableValidationClosing: prop_types_default.a.bool,
  validationClosingCallback: prop_types_default.a.func,
  isFormatedNumber: prop_types_default.a.bool,
  decimalScale: prop_types_default.a.number,
  decimalSeparator: prop_types_default.a.string,
  thousandSeparator: prop_types_default.a.string
});

InputGroup_defineProperty(InputGroup_InputGroup, "defaultProps", {
  value: '',
  hasCheckbox: false,
  hasInputIcon: false,
  hasLabelBelow: false,
  setInputRef: function setInputRef(i) {
    return i;
  },
  rules: {},
  showValidationMessage: false,
  hideValidationOnClick: false,
  isChecked: false,
  enableValidationClosing: false,
  validationClosingCallback: null,
  isFormatedNumber: false,
  decimalScale: 2,
  decimalSeparator: ',',
  thousandSeparator: '.'
});

/* harmony default export */ var components_InputGroup = (react_onclickoutside_es(InputGroup_InputGroup));
// EXTERNAL MODULE: ./node_modules/react-tooltip/dist/index.es.js
var index_es = __webpack_require__(41);

// EXTERNAL MODULE: ./src/sass/components/tooltip.scss
var tooltip = __webpack_require__(72);

// CONCATENATED MODULE: ./src/components/Tooltip/index.jsx
function Tooltip_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Tooltip_typeof = function _typeof(obj) { return typeof obj; }; } else { Tooltip_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Tooltip_typeof(obj); }

function Tooltip_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function Tooltip_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); } }

function Tooltip_createClass(Constructor, protoProps, staticProps) { if (protoProps) Tooltip_defineProperties(Constructor.prototype, protoProps); if (staticProps) Tooltip_defineProperties(Constructor, staticProps); return Constructor; }

function Tooltip_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) Tooltip_setPrototypeOf(subClass, superClass); }

function Tooltip_setPrototypeOf(o, p) { Tooltip_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Tooltip_setPrototypeOf(o, p); }

function Tooltip_createSuper(Derived) { var hasNativeReflectConstruct = Tooltip_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = Tooltip_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = Tooltip_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Tooltip_possibleConstructorReturn(this, result); }; }

function Tooltip_possibleConstructorReturn(self, call) { if (call && (Tooltip_typeof(call) === "object" || typeof call === "function")) { return call; } return Tooltip_assertThisInitialized(self); }

function Tooltip_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function Tooltip_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function Tooltip_getPrototypeOf(o) { Tooltip_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Tooltip_getPrototypeOf(o); }

function Tooltip_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

/* eslint-disable import/no-unresolved */

/* eslint-disable import/extensions */






var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
  Tooltip_inherits(Tooltip, _Component);

  var _super = Tooltip_createSuper(Tooltip);

  function Tooltip() {
    Tooltip_classCallCheck(this, Tooltip);

    return _super.apply(this, arguments);
  }

  Tooltip_createClass(Tooltip, [{
    key: "render",
    value: function render() {
      var _this = this;

      var _this$props = this.props,
          id = _this$props.id,
          children = _this$props.children,
          type = _this$props.type,
          place = _this$props.place,
          effect = _this$props.effect,
          arrowColor = _this$props.arrowColor,
          border = _this$props.border,
          borderColor = _this$props.borderColor;
      return /*#__PURE__*/external_React_default.a.createElement(index_es["a" /* default */], {
        id: id,
        "aria-haspopup": "true",
        place: place,
        type: type,
        effect: effect,
        globalEventOff: "click",
        ref: function ref(el) {
          _this.tooltip = el;
        },
        arrowColor: arrowColor,
        border: border,
        borderColor: borderColor,
        className: "tooltip",
        multiline: "true" // disable
        ,
        clickable: true
      }, children);
    }
  }]);

  return Tooltip;
}(external_React_["Component"]);

Tooltip_defineProperty(Tooltip_Tooltip, "propTypes", {
  id: prop_types_default.a.string.isRequired,
  children: prop_types_default.a.number.isRequired,
  type: prop_types_default.a.string,
  place: prop_types_default.a.string,
  effect: prop_types_default.a.string,
  arrowColor: prop_types_default.a.string,
  border: prop_types_default.a.bool,
  borderColor: prop_types_default.a.string
});

Tooltip_defineProperty(Tooltip_Tooltip, "defaultProps", {
  type: 'light',
  place: 'top',
  effect: 'solid',
  arrowColor: '#fff',
  border: true,
  borderColor: '#ccc'
});

/* harmony default export */ var components_Tooltip = (Tooltip_Tooltip);
// EXTERNAL MODULE: ./src/sass/components/checkbox.scss
var components_checkbox = __webpack_require__(74);

// CONCATENATED MODULE: ./src/components/Checkbox/index.jsx
function Checkbox_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Checkbox_typeof = function _typeof(obj) { return typeof obj; }; } else { Checkbox_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Checkbox_typeof(obj); }

function Checkbox_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function Checkbox_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); } }

function Checkbox_createClass(Constructor, protoProps, staticProps) { if (protoProps) Checkbox_defineProperties(Constructor.prototype, protoProps); if (staticProps) Checkbox_defineProperties(Constructor, staticProps); return Constructor; }

function Checkbox_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) Checkbox_setPrototypeOf(subClass, superClass); }

function Checkbox_setPrototypeOf(o, p) { Checkbox_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Checkbox_setPrototypeOf(o, p); }

function Checkbox_createSuper(Derived) { var hasNativeReflectConstruct = Checkbox_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = Checkbox_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = Checkbox_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Checkbox_possibleConstructorReturn(this, result); }; }

function Checkbox_possibleConstructorReturn(self, call) { if (call && (Checkbox_typeof(call) === "object" || typeof call === "function")) { return call; } return Checkbox_assertThisInitialized(self); }

function Checkbox_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function Checkbox_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function Checkbox_getPrototypeOf(o) { Checkbox_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Checkbox_getPrototypeOf(o); }

function Checkbox_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }






var Checkbox_Checkbox = /*#__PURE__*/function (_Component) {
  Checkbox_inherits(Checkbox, _Component);

  var _super = Checkbox_createSuper(Checkbox);

  function Checkbox() {
    var _this;

    Checkbox_classCallCheck(this, Checkbox);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    Checkbox_defineProperty(Checkbox_assertThisInitialized(_this), "state", {});

    Checkbox_defineProperty(Checkbox_assertThisInitialized(_this), "toggleCheckboxChange", function (event) {
      var _this$props = _this.props,
          handleCheckboxChange = _this$props.handleCheckboxChange,
          label = _this$props.label;
      handleCheckboxChange(event, label);
    });

    return _this;
  }

  Checkbox_createClass(Checkbox, [{
    key: "render",
    value: function render() {
      var _this$props2 = this.props,
          label = _this$props2.label,
          id = _this$props2.id,
          name = _this$props2.name,
          className = _this$props2.className,
          isChecked = _this$props2.isChecked,
          checkboxHasTooltip = _this$props2.checkboxHasTooltip,
          tooltipId = _this$props2.tooltipId,
          labelHasIcon = _this$props2.labelHasIcon,
          labelIcon = _this$props2.labelIcon;
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: className
      }, /*#__PURE__*/external_React_default.a.createElement("input", {
        type: "checkbox",
        value: label,
        id: id,
        name: name,
        checked: isChecked,
        onChange: this.toggleCheckboxChange
      }), /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: id
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: labelHasIcon && checkboxHasTooltip && 'checkboxHasTooltip'
      }, label), labelHasIcon && checkboxHasTooltip && /*#__PURE__*/external_React_default.a.createElement("i", {
        className: labelIcon,
        "data-tip": "tooltip",
        "data-for": tooltipId
      }), !labelHasIcon && checkboxHasTooltip && /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": tooltipId
      })));
    }
  }]);

  return Checkbox;
}(external_React_["Component"]);

Checkbox_defineProperty(Checkbox_Checkbox, "propTypes", {
  id: prop_types_default.a.string.isRequired,
  label: prop_types_default.a.string.isRequired,
  name: prop_types_default.a.string.isRequired,
  className: prop_types_default.a.string.isRequired,
  handleCheckboxChange: prop_types_default.a.func.isRequired,
  isChecked: prop_types_default.a.bool,
  checkboxHasTooltip: prop_types_default.a.bool,
  tooltipId: prop_types_default.a.string,
  labelIcon: prop_types_default.a.string,
  labelHasIcon: prop_types_default.a.bool
});

Checkbox_defineProperty(Checkbox_Checkbox, "defaultProps", {
  isChecked: false,
  checkboxHasTooltip: false,
  tooltipId: '',
  labelIcon: '',
  labelHasIcon: false
});


// EXTERNAL MODULE: ./src/sass/components/textinput.scss
var textinput = __webpack_require__(77);

// CONCATENATED MODULE: ./src/components/TextInput/index.jsx
function TextInput_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { TextInput_typeof = function _typeof(obj) { return typeof obj; }; } else { TextInput_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return TextInput_typeof(obj); }

function TextInput_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function TextInput_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); } }

function TextInput_createClass(Constructor, protoProps, staticProps) { if (protoProps) TextInput_defineProperties(Constructor.prototype, protoProps); if (staticProps) TextInput_defineProperties(Constructor, staticProps); return Constructor; }

function TextInput_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) TextInput_setPrototypeOf(subClass, superClass); }

function TextInput_setPrototypeOf(o, p) { TextInput_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return TextInput_setPrototypeOf(o, p); }

function TextInput_createSuper(Derived) { var hasNativeReflectConstruct = TextInput_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = TextInput_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = TextInput_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return TextInput_possibleConstructorReturn(this, result); }; }

function TextInput_possibleConstructorReturn(self, call) { if (call && (TextInput_typeof(call) === "object" || typeof call === "function")) { return call; } return TextInput_assertThisInitialized(self); }

function TextInput_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function TextInput_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function TextInput_getPrototypeOf(o) { TextInput_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return TextInput_getPrototypeOf(o); }

function TextInput_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }








var TextInput_TextInput = /*#__PURE__*/function (_Component) {
  TextInput_inherits(TextInput, _Component);

  var _super = TextInput_createSuper(TextInput);

  function TextInput() {
    var _this;

    TextInput_classCallCheck(this, TextInput);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    TextInput_defineProperty(TextInput_assertThisInitialized(_this), "state", {});

    TextInput_defineProperty(TextInput_assertThisInitialized(_this), "handleChange", function (event) {
      var onChange = _this.props.onChange;
      if (Object(lodash["isFunction"])(onChange)) onChange(event);
    });

    return _this;
  }

  TextInput_createClass(TextInput, [{
    key: "render",
    value: function render() {
      var _this$props = this.props,
          id = _this$props.id,
          type = _this$props.type,
          label = _this$props.label,
          value = _this$props.value,
          placeholder = _this$props.placeholder,
          inputClass = _this$props.inputClass,
          name = _this$props.name,
          labelHasTooltip = _this$props.labelHasTooltip,
          tooltipId = _this$props.tooltipId,
          rules = _this$props.rules,
          showValidationMessage = _this$props.showValidationMessage,
          hasValidationIcon = _this$props.hasValidationIcon;
      var validationMessage = !Object(lodash["isEmpty"])(rules) && showValidationMessage ? validateProp(value, rules) : null;
      var isValid = Object(lodash["isEmpty"])(validationMessage);
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "".concat(name, " text-input")
      }, /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: id
      }, label, labelHasTooltip && /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": tooltipId
      })), /*#__PURE__*/external_React_default.a.createElement("input", {
        type: type,
        name: name,
        className: !isValid ? "".concat(inputClass, " input-error") : inputClass,
        placeholder: placeholder,
        value: value,
        onChange: this.handleChange,
        onBlur: this.handleChange,
        id: id,
        ref: this.props.setInputRef
      }), !isValid && hasValidationIcon && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "validation-icon fa fa-times"
      }), isValid && hasValidationIcon && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "validation-icon fa fa-check"
      }), !isValid && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: !isValid ? 'validation-tooltip active' : 'validation-tooltip'
      }, validationMessage));
    }
  }]);

  return TextInput;
}(external_React_["Component"]);

TextInput_defineProperty(TextInput_TextInput, "propTypes", {
  id: prop_types_default.a.string.isRequired,
  type: prop_types_default.a.string.isRequired,
  onChange: prop_types_default.a.func.isRequired,
  label: prop_types_default.a.string.isRequired,
  value: prop_types_default.a.string,
  placeholder: prop_types_default.a.string,
  inputClass: prop_types_default.a.string,
  name: prop_types_default.a.string,
  setInputRef: prop_types_default.a.func,
  labelHasTooltip: prop_types_default.a.bool,
  tooltipId: prop_types_default.a.string,
  rules: prop_types_default.a.object,
  showValidationMessage: prop_types_default.a.bool,
  hasValidationIcon: prop_types_default.a.bool
});

TextInput_defineProperty(TextInput_TextInput, "defaultProps", {
  value: '',
  placeholder: '',
  inputClass: 'form-control',
  name: '',
  setInputRef: function setInputRef(i) {
    return i;
  },
  labelHasTooltip: false,
  tooltipId: '',
  rules: {},
  showValidationMessage: false,
  hasValidationIcon: false
});


// EXTERNAL MODULE: ./node_modules/react-input-mask/index.js
var react_input_mask = __webpack_require__(42);
var react_input_mask_default = /*#__PURE__*/__webpack_require__.n(react_input_mask);

// EXTERNAL MODULE: ./src/sass/components/maskedTextInput.scss
var maskedTextInput = __webpack_require__(80);

// CONCATENATED MODULE: ./src/components/MaskedTextInput/index.jsx
function MaskedTextInput_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MaskedTextInput_typeof = function _typeof(obj) { return typeof obj; }; } else { MaskedTextInput_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MaskedTextInput_typeof(obj); }

function MaskedTextInput_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MaskedTextInput_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); } }

function MaskedTextInput_createClass(Constructor, protoProps, staticProps) { if (protoProps) MaskedTextInput_defineProperties(Constructor.prototype, protoProps); if (staticProps) MaskedTextInput_defineProperties(Constructor, staticProps); return Constructor; }

function MaskedTextInput_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MaskedTextInput_setPrototypeOf(subClass, superClass); }

function MaskedTextInput_setPrototypeOf(o, p) { MaskedTextInput_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MaskedTextInput_setPrototypeOf(o, p); }

function MaskedTextInput_createSuper(Derived) { var hasNativeReflectConstruct = MaskedTextInput_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MaskedTextInput_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MaskedTextInput_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MaskedTextInput_possibleConstructorReturn(this, result); }; }

function MaskedTextInput_possibleConstructorReturn(self, call) { if (call && (MaskedTextInput_typeof(call) === "object" || typeof call === "function")) { return call; } return MaskedTextInput_assertThisInitialized(self); }

function MaskedTextInput_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MaskedTextInput_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MaskedTextInput_getPrototypeOf(o) { MaskedTextInput_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MaskedTextInput_getPrototypeOf(o); }

function MaskedTextInput_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

/* eslint-disable import/extensions */

/* eslint-disable import/no-unresolved */








var MaskedTextInput_MaskedTextInput = /*#__PURE__*/function (_Component) {
  MaskedTextInput_inherits(MaskedTextInput, _Component);

  var _super = MaskedTextInput_createSuper(MaskedTextInput);

  function MaskedTextInput() {
    var _this;

    MaskedTextInput_classCallCheck(this, MaskedTextInput);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MaskedTextInput_defineProperty(MaskedTextInput_assertThisInitialized(_this), "state", {});

    MaskedTextInput_defineProperty(MaskedTextInput_assertThisInitialized(_this), "handleChange", function (event) {
      var onChange = _this.props.onChange;
      if (Object(lodash["isFunction"])(onChange)) onChange(event);
    });

    return _this;
  }

  MaskedTextInput_createClass(MaskedTextInput, [{
    key: "render",
    value: function render() {
      var _this$props = this.props,
          id = _this$props.id,
          type = _this$props.type,
          label = _this$props.label,
          value = _this$props.value,
          placeholder = _this$props.placeholder,
          inputClass = _this$props.inputClass,
          name = _this$props.name,
          labelHasTooltip = _this$props.labelHasTooltip,
          tooltipId = _this$props.tooltipId,
          mask = _this$props.mask,
          maskChar = _this$props.maskChar,
          rules = _this$props.rules,
          showValidationMessage = _this$props.showValidationMessage;
      var validationMessage = !Object(lodash["isEmpty"])(rules) && showValidationMessage ? validateProp(value, rules) : null;
      var isValid = Object(lodash["isEmpty"])(validationMessage);
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "".concat(name, " text-input")
      }, /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: id
      }, label, labelHasTooltip && /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": tooltipId
      })), /*#__PURE__*/external_React_default.a.createElement(react_input_mask_default.a, {
        mask: mask,
        maskChar: maskChar,
        type: type,
        name: name,
        className: inputClass,
        placeholder: placeholder,
        value: value,
        onChange: this.handleChange,
        onBlur: this.handleChange,
        id: id,
        ref: this.props.setInputRef
      }), !isValid && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: !isValid ? 'validation-tooltip active' : 'validation-tooltip'
      }, validationMessage));
    }
  }]);

  return MaskedTextInput;
}(external_React_["Component"]);

MaskedTextInput_defineProperty(MaskedTextInput_MaskedTextInput, "propTypes", {
  id: prop_types_default.a.string.isRequired,
  type: prop_types_default.a.string.isRequired,
  onChange: prop_types_default.a.func.isRequired,
  label: prop_types_default.a.string.isRequired,
  value: prop_types_default.a.string,
  placeholder: prop_types_default.a.string,
  inputClass: prop_types_default.a.string,
  name: prop_types_default.a.string,
  setInputRef: prop_types_default.a.func,
  labelHasTooltip: prop_types_default.a.bool,
  tooltipId: prop_types_default.a.string,
  mask: prop_types_default.a.string.isRequired,
  maskChar: prop_types_default.a.string,
  rules: prop_types_default.a.object,
  showValidationMessage: prop_types_default.a.bool
});

MaskedTextInput_defineProperty(MaskedTextInput_MaskedTextInput, "defaultProps", {
  value: '',
  placeholder: '',
  inputClass: 'form-control',
  name: '',
  setInputRef: function setInputRef(i) {
    return i;
  },
  labelHasTooltip: false,
  tooltipId: '',
  maskChar: '',
  rules: {},
  showValidationMessage: false
});


// CONCATENATED MODULE: ./src/components/Calculators/Horizontal/HorizontalCalculatorAddressPart.jsx
function HorizontalCalculatorAddressPart_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { HorizontalCalculatorAddressPart_typeof = function _typeof(obj) { return typeof obj; }; } else { HorizontalCalculatorAddressPart_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return HorizontalCalculatorAddressPart_typeof(obj); }

function HorizontalCalculatorAddressPart_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function HorizontalCalculatorAddressPart_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); } }

function HorizontalCalculatorAddressPart_createClass(Constructor, protoProps, staticProps) { if (protoProps) HorizontalCalculatorAddressPart_defineProperties(Constructor.prototype, protoProps); if (staticProps) HorizontalCalculatorAddressPart_defineProperties(Constructor, staticProps); return Constructor; }

function HorizontalCalculatorAddressPart_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) HorizontalCalculatorAddressPart_setPrototypeOf(subClass, superClass); }

function HorizontalCalculatorAddressPart_setPrototypeOf(o, p) { HorizontalCalculatorAddressPart_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return HorizontalCalculatorAddressPart_setPrototypeOf(o, p); }

function HorizontalCalculatorAddressPart_createSuper(Derived) { var hasNativeReflectConstruct = HorizontalCalculatorAddressPart_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = HorizontalCalculatorAddressPart_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = HorizontalCalculatorAddressPart_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return HorizontalCalculatorAddressPart_possibleConstructorReturn(this, result); }; }

function HorizontalCalculatorAddressPart_possibleConstructorReturn(self, call) { if (call && (HorizontalCalculatorAddressPart_typeof(call) === "object" || typeof call === "function")) { return call; } return HorizontalCalculatorAddressPart_assertThisInitialized(self); }

function HorizontalCalculatorAddressPart_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function HorizontalCalculatorAddressPart_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function HorizontalCalculatorAddressPart_getPrototypeOf(o) { HorizontalCalculatorAddressPart_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return HorizontalCalculatorAddressPart_getPrototypeOf(o); }

function HorizontalCalculatorAddressPart_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }







var HorizontalCalculatorAddressPart_HorizontalCalculatorAddressPart = /*#__PURE__*/function (_Component) {
  HorizontalCalculatorAddressPart_inherits(HorizontalCalculatorAddressPart, _Component);

  var _super = HorizontalCalculatorAddressPart_createSuper(HorizontalCalculatorAddressPart);

  function HorizontalCalculatorAddressPart() {
    var _this;

    HorizontalCalculatorAddressPart_classCallCheck(this, HorizontalCalculatorAddressPart);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    HorizontalCalculatorAddressPart_defineProperty(HorizontalCalculatorAddressPart_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    return _this;
  }

  HorizontalCalculatorAddressPart_createClass(HorizontalCalculatorAddressPart, [{
    key: "render",
    value: function render() {
      return /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, null, /*#__PURE__*/external_React_default.a.createElement(MaskedTextInput_MaskedTextInput, {
        type: "text",
        name: "postcode",
        label: "Postcode",
        className: "form-control",
        placeholder: "6532 TJ",
        mask: "9999 aa",
        value: this.props.postcode,
        onChange: this.props.setStateCallback,
        onBlur: this.props.setStateCallback,
        id: this.generateUniqueId('postcode-'),
        tooltipId: "postcodeTooltip",
        labelHasTooltip: true,
        showValidationMessage: this.props.showValidation,
        rules: this.props.ruleSet.postcode
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "postcodeTooltip"
      }, "Uw adresgegevens zijn nodig om de juiste ", /*#__PURE__*/external_React_default.a.createElement("br", null), "gasregiotoeslag te bepalen. Het totale gastarief is ", /*#__PURE__*/external_React_default.a.createElement("br", null), "namelijk afhankelijk van uw locatie."), /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "tel",
        name: "huisnummer",
        label: "Huisnr.",
        className: "form-control calculator-small-width",
        placeholder: "20",
        value: this.props.huisnummer,
        onChange: this.props.setStateCallback,
        onBlur: this.props.setStateCallback,
        id: this.generateUniqueId('huisnummer-'),
        showValidationMessage: this.props.showValidation,
        rules: this.props.ruleSet.huisnummer
      }), /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "toevoeging",
        label: "Toev.",
        className: "form-control",
        placeholder: "A",
        value: this.props.toevoeging,
        onChange: this.props.setStateCallback,
        onBlur: this.props.setStateCallback,
        id: this.generateUniqueId('toevoeging-'),
        showValidationMessage: this.props.showValidation,
        rules: this.props.ruleSet.toevoeging
      }));
    }
  }]);

  return HorizontalCalculatorAddressPart;
}(external_React_["Component"]);

HorizontalCalculatorAddressPart_defineProperty(HorizontalCalculatorAddressPart_HorizontalCalculatorAddressPart, "propTypes", {
  uniqueId: prop_types_default.a.string,
  postcode: prop_types_default.a.string,
  huisnummer: prop_types_default.a.string,
  toevoeging: prop_types_default.a.string,
  showValidation: prop_types_default.a.bool.isRequired,
  setStateCallback: prop_types_default.a.func.isRequired,
  ruleSet: prop_types_default.a.any.isRequired
});

HorizontalCalculatorAddressPart_defineProperty(HorizontalCalculatorAddressPart_HorizontalCalculatorAddressPart, "defaultProps", {
  uniqueId: '',
  postcode: '',
  huisnummer: '',
  toevoeging: ''
});

/* harmony default export */ var Horizontal_HorizontalCalculatorAddressPart = (HorizontalCalculatorAddressPart_HorizontalCalculatorAddressPart);
// EXTERNAL MODULE: ./src/sass/components/numberInput.scss
var numberInput = __webpack_require__(82);

// CONCATENATED MODULE: ./src/components/NumberInput/index.jsx
function NumberInput_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { NumberInput_typeof = function _typeof(obj) { return typeof obj; }; } else { NumberInput_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return NumberInput_typeof(obj); }

function NumberInput_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function NumberInput_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); } }

function NumberInput_createClass(Constructor, protoProps, staticProps) { if (protoProps) NumberInput_defineProperties(Constructor.prototype, protoProps); if (staticProps) NumberInput_defineProperties(Constructor, staticProps); return Constructor; }

function NumberInput_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) NumberInput_setPrototypeOf(subClass, superClass); }

function NumberInput_setPrototypeOf(o, p) { NumberInput_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return NumberInput_setPrototypeOf(o, p); }

function NumberInput_createSuper(Derived) { var hasNativeReflectConstruct = NumberInput_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = NumberInput_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = NumberInput_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return NumberInput_possibleConstructorReturn(this, result); }; }

function NumberInput_possibleConstructorReturn(self, call) { if (call && (NumberInput_typeof(call) === "object" || typeof call === "function")) { return call; } return NumberInput_assertThisInitialized(self); }

function NumberInput_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function NumberInput_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function NumberInput_getPrototypeOf(o) { NumberInput_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return NumberInput_getPrototypeOf(o); }

function NumberInput_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }







var NumberInput_NumberInput = /*#__PURE__*/function (_Component) {
  NumberInput_inherits(NumberInput, _Component);

  var _super = NumberInput_createSuper(NumberInput);

  function NumberInput() {
    var _this;

    NumberInput_classCallCheck(this, NumberInput);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    NumberInput_defineProperty(NumberInput_assertThisInitialized(_this), "state", {});

    NumberInput_defineProperty(NumberInput_assertThisInitialized(_this), "handleItemMinusClick", function (event) {
      event.preventDefault();

      _this.props.handleDecreaseNumber(event);
    });

    NumberInput_defineProperty(NumberInput_assertThisInitialized(_this), "handleItemPlusClick", function (event) {
      event.preventDefault();

      _this.props.handleIncreaseNumber(event);
    });

    return _this;
  }

  NumberInput_createClass(NumberInput, [{
    key: "render",
    value: function render() {
      var _this$props = this.props,
          label = _this$props.label,
          value = _this$props.value,
          id = _this$props.id,
          className = _this$props.className;
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: className,
        id: id
      }, !isNullOrWs(label) && /*#__PURE__*/external_React_default.a.createElement("label", null, label), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "number-input"
      }, /*#__PURE__*/external_React_default.a.createElement("button", {
        name: "decrease",
        className: "btn btn-default btn-minus",
        onClick: this.handleItemMinusClick
      }, "-"), /*#__PURE__*/external_React_default.a.createElement("input", {
        type: "tel",
        className: "form-control",
        min: "1",
        value: value
      }), /*#__PURE__*/external_React_default.a.createElement("button", {
        name: "increase",
        className: "btn btn-default btn-plus",
        onClick: this.handleItemPlusClick
      }, "+")));
    }
  }]);

  return NumberInput;
}(external_React_["Component"]);

NumberInput_defineProperty(NumberInput_NumberInput, "propTypes", {
  id: prop_types_default.a.string.isRequired,
  className: prop_types_default.a.string.isRequired,
  label: prop_types_default.a.string,
  value: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]),
  handleDecreaseNumber: prop_types_default.a.func.isRequired,
  handleIncreaseNumber: prop_types_default.a.func.isRequired
});

NumberInput_defineProperty(NumberInput_NumberInput, "defaultProps", {
  value: 1,
  label: ''
});


// CONCATENATED MODULE: ./src/components/Calculators/Horizontal/HorizontalCalculatorSolarPanel.jsx
function HorizontalCalculatorSolarPanel_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { HorizontalCalculatorSolarPanel_typeof = function _typeof(obj) { return typeof obj; }; } else { HorizontalCalculatorSolarPanel_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return HorizontalCalculatorSolarPanel_typeof(obj); }

function HorizontalCalculatorSolarPanel_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function HorizontalCalculatorSolarPanel_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); } }

function HorizontalCalculatorSolarPanel_createClass(Constructor, protoProps, staticProps) { if (protoProps) HorizontalCalculatorSolarPanel_defineProperties(Constructor.prototype, protoProps); if (staticProps) HorizontalCalculatorSolarPanel_defineProperties(Constructor, staticProps); return Constructor; }

function HorizontalCalculatorSolarPanel_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) HorizontalCalculatorSolarPanel_setPrototypeOf(subClass, superClass); }

function HorizontalCalculatorSolarPanel_setPrototypeOf(o, p) { HorizontalCalculatorSolarPanel_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return HorizontalCalculatorSolarPanel_setPrototypeOf(o, p); }

function HorizontalCalculatorSolarPanel_createSuper(Derived) { var hasNativeReflectConstruct = HorizontalCalculatorSolarPanel_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = HorizontalCalculatorSolarPanel_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = HorizontalCalculatorSolarPanel_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return HorizontalCalculatorSolarPanel_possibleConstructorReturn(this, result); }; }

function HorizontalCalculatorSolarPanel_possibleConstructorReturn(self, call) { if (call && (HorizontalCalculatorSolarPanel_typeof(call) === "object" || typeof call === "function")) { return call; } return HorizontalCalculatorSolarPanel_assertThisInitialized(self); }

function HorizontalCalculatorSolarPanel_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function HorizontalCalculatorSolarPanel_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function HorizontalCalculatorSolarPanel_getPrototypeOf(o) { HorizontalCalculatorSolarPanel_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return HorizontalCalculatorSolarPanel_getPrototypeOf(o); }

function HorizontalCalculatorSolarPanel_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }







var HorizontalCalculatorSolarPanel_HorizontalCalculatorSolarPanel = /*#__PURE__*/function (_Component) {
  HorizontalCalculatorSolarPanel_inherits(HorizontalCalculatorSolarPanel, _Component);

  var _super = HorizontalCalculatorSolarPanel_createSuper(HorizontalCalculatorSolarPanel);

  function HorizontalCalculatorSolarPanel() {
    var _this;

    HorizontalCalculatorSolarPanel_classCallCheck(this, HorizontalCalculatorSolarPanel);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    HorizontalCalculatorSolarPanel_defineProperty(HorizontalCalculatorSolarPanel_assertThisInitialized(_this), "state", {
      isSolarProductionHelperVisible: false,
      numberOfPanels: 1
    });

    HorizontalCalculatorSolarPanel_defineProperty(HorizontalCalculatorSolarPanel_assertThisInitialized(_this), "handleClick", function (event) {
      var name = event.target.name;
      var numberOfPanels = _this.state.numberOfPanels;

      switch (name) {
        case 'solarPanelHelperToggle':
          if (_this.state.isSolarProductionHelperVisible) _this.setState({
            isSolarProductionHelperVisible: false
          });else _this.setState({
            isSolarProductionHelperVisible: true
          });
          break;

        case 'decrease':
          numberOfPanels -= 1;
          if (numberOfPanels < 1) numberOfPanels = 1;

          _this.setState({
            numberOfPanels: numberOfPanels
          });

          _this.props.solarProductionCallback('numberOfPanels', numberOfPanels);

          break;

        case 'increase':
          numberOfPanels += 1;

          _this.setState({
            numberOfPanels: numberOfPanels
          });

          _this.props.solarProductionCallback('numberOfPanels', numberOfPanels);

          break;

        default:
          break;
      }
    });

    HorizontalCalculatorSolarPanel_defineProperty(HorizontalCalculatorSolarPanel_assertThisInitialized(_this), "handleChange", function (event) {
      var _event$target = event.target,
          name = _event$target.name,
          value = _event$target.value;

      _this.props.solarProductionCallback(name, value);
    });

    HorizontalCalculatorSolarPanel_defineProperty(HorizontalCalculatorSolarPanel_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    return _this;
  }

  HorizontalCalculatorSolarPanel_createClass(HorizontalCalculatorSolarPanel, [{
    key: "render",
    value: function render() {
      var isDoubleMeter = this.props.isDoubleMeter;
      var isSolarProductionHelperVisible = this.state.isSolarProductionHelperVisible;
      var ruleSet = solarValidation_ruleSetFactorySolar(isDoubleMeter);
      var solarBlock = 'solar-grid';
      if (isDoubleMeter) solarBlock += ' double';
      var solarInputsWrapper = 'solar-inputs inputs';
      var solarHelperBlockLink = 'solar-info';
      var solarHelperBlock = 'solar-helper';
      if (isSolarProductionHelperVisible) solarBlock += ' helper';
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: solarBlock
      }, isSolarProductionHelperVisible ? /*#__PURE__*/external_React_default.a.createElement(NumberInput_NumberInput, {
        className: solarHelperBlock,
        label: "Aantal panelen",
        id: this.generateUniqueId('number-of-panels-'),
        value: this.state.numberOfPanels,
        handleDecreaseNumber: this.handleClick,
        handleIncreaseNumber: this.handleClick
      }) : null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: solarInputsWrapper
      }, /*#__PURE__*/external_React_default.a.createElement("label", {
        className: "solar-label"
      }, "Ik wek in totaal op"), !isDoubleMeter ? /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "solar-single"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('solar-production-'),
        name: "solarProductionSingle",
        value: this.props.solarProductionSingle,
        onChange: this.handleChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "sun-icon",
        hasInputIcon: true,
        showValidationMessage: this.props.showValidation,
        rules: ruleSet.solarProductionSingle,
        isFormatedNumber: true,
        decimalScale: "0"
      })) : /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "solar-high"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('solar-production-hoog-'),
        name: "solarProductionHigh",
        labelBelow: "Normaal",
        value: this.props.solarProductionHigh,
        onChange: this.handleChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "sun-icon",
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.props.showValidation,
        rules: ruleSet.solarProductionHigh,
        isFormatedNumber: true,
        decimalScale: "0"
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "solar-low"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('solar-production-laag-'),
        name: "solarProductionLow",
        labelBelow: "Dal",
        value: this.props.solarProductionLow,
        onChange: this.handleChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "sun-icon",
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.props.showValidation,
        rules: ruleSet.solarProductionLow,
        isFormatedNumber: true,
        decimalScale: "0"
      })))), !isSolarProductionHelperVisible ? /*#__PURE__*/external_React_default.a.createElement("span", {
        className: solarHelperBlockLink
      }, /*#__PURE__*/external_React_default.a.createElement("a", {
        name: "solarPanelHelperToggle",
        className: "solarHelperLink",
        onClick: this.handleClick
      }, "Help mij schatten"), ' ', "hoeveel ik opwek") : /*#__PURE__*/external_React_default.a.createElement("span", {
        className: solarHelperBlockLink
      }, /*#__PURE__*/external_React_default.a.createElement("a", {
        name: "solarPanelHelperToggle",
        className: "solarHelperLink",
        onClick: this.handleClick
      }, "Ik weet hoeveel ik opwek")));
    }
  }]);

  return HorizontalCalculatorSolarPanel;
}(external_React_["Component"]);

HorizontalCalculatorSolarPanel_defineProperty(HorizontalCalculatorSolarPanel_HorizontalCalculatorSolarPanel, "propTypes", {
  uniqueId: prop_types_default.a.string,
  isDoubleMeter: prop_types_default.a.bool,
  solarProductionSingle: prop_types_default.a.string,
  solarProductionHigh: prop_types_default.a.string,
  solarProductionLow: prop_types_default.a.string,
  showValidation: prop_types_default.a.bool.isRequired,
  solarProductionCallback: prop_types_default.a.func.isRequired
});

HorizontalCalculatorSolarPanel_defineProperty(HorizontalCalculatorSolarPanel_HorizontalCalculatorSolarPanel, "defaultProps", {
  uniqueId: '',
  isDoubleMeter: false,
  solarProductionSingle: '',
  solarProductionHigh: '',
  solarProductionLow: ''
});

/* harmony default export */ var Horizontal_HorizontalCalculatorSolarPanel = (HorizontalCalculatorSolarPanel_HorizontalCalculatorSolarPanel);
// EXTERNAL MODULE: ./node_modules/url-utm-params/lib/index.js
var lib = __webpack_require__(43);

// CONCATENATED MODULE: ./src/common/resultlistUrlGenerator.js
function resultlistUrlGenerator_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }



var SubmitUrlModel = function SubmitUrlModel() {
  var submitUrl = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  var postcode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
  var huisnummer = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  var toevoeging = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';
  var productType = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;
  var stroomLeverancier = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;
  var isDubbeleMeter = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
  var stroomVerbruikHoog = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : null;
  var stroomVerbruikLaag = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : null;
  var hasSolarPanels = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : false;
  var solarProductionLow = arguments.length > 10 && arguments[10] !== undefined ? arguments[10] : null;
  var solarProductionHigh = arguments.length > 11 && arguments[11] !== undefined ? arguments[11] : null;
  var stroomVerbruik = arguments.length > 12 && arguments[12] !== undefined ? arguments[12] : null;
  var hasStroom = arguments.length > 13 && arguments[13] !== undefined ? arguments[13] : true;
  var solarProductionSingle = arguments.length > 14 && arguments[14] !== undefined ? arguments[14] : null;
  var hasGas = arguments.length > 15 && arguments[15] !== undefined ? arguments[15] : true;
  var isVerbruikIngevuld = arguments.length > 16 && arguments[16] !== undefined ? arguments[16] : true;
  var verbruikGas = arguments.length > 17 && arguments[17] !== undefined ? arguments[17] : null;
  var vergelijkAlleenStroom = arguments.length > 18 && arguments[18] !== undefined ? arguments[18] : false;

  resultlistUrlGenerator_classCallCheck(this, SubmitUrlModel);

  this.submitUrl = submitUrl;
  this.postcode = postcode;
  this.huisnummer = huisnummer;
  this.toevoeging = toevoeging;
  this.productType = productType;
  this.stroomLeverancier = stroomLeverancier;
  this.isDubbeleMeter = isDubbeleMeter;
  this.stroomVerbruikHoog = stroomVerbruikHoog;
  this.stroomVerbruikLaag = stroomVerbruikLaag;
  this.hasSolarPanels = hasSolarPanels;
  this.solarProductionLow = solarProductionLow;
  this.solarProductionHigh = solarProductionHigh;
  this.stroomVerbruik = stroomVerbruik;
  this.hasStroom = hasStroom;
  this.solarProductionSingle = solarProductionSingle;
  this.hasGas = hasGas;
  this.isVerbruikIngevuld = isVerbruikIngevuld;
  this.verbruikGas = verbruikGas;
  this.vergelijkAlleenStroom = vergelijkAlleenStroom;
};
function generateProductType(hasGas, hasStroom, isVerbruikIngevuld, vergelijkAlleenStroom) {
  if (isVerbruikIngevuld) {
    if (vergelijkAlleenStroom) return 1;
    return 0;
  }

  if (hasStroom && hasGas) return 0;
  if (hasStroom && !hasGas) return 1;
  if (!hasStroom && hasGas) return 2;
}
function generateFinalUrl(data) {
  var url = new URL(data.submitUrl);
  var hasOrganicReferrer = hasOrganicReferrerCheck(document.referrer);
  var postcode = data.postcode,
      huisnummer = data.huisnummer,
      toevoeging = data.toevoeging,
      productType = data.productType,
      stroomLeverancier = data.stroomLeverancier,
      isDubbeleMeter = data.isDubbeleMeter,
      stroomVerbruikHoog = data.stroomVerbruikHoog,
      stroomVerbruikLaag = data.stroomVerbruikLaag,
      hasSolarPanels = data.hasSolarPanels,
      solarProductionHigh = data.solarProductionHigh,
      solarProductionLow = data.solarProductionLow,
      stroomVerbruik = data.stroomVerbruik,
      hasStroom = data.hasStroom,
      solarProductionSingle = data.solarProductionSingle,
      hasGas = data.hasGas,
      isVerbruikIngevuld = data.isVerbruikIngevuld,
      verbruikGas = data.verbruikGas,
      vergelijkAlleenStroom = data.vergelijkAlleenStroom;
  var urlParams = null;

  if (!isNullOrWs(productType)) {
    // Generate main params object
    urlParams = {
      postcode: postcode,
      huisnummer: huisnummer,
      toevoeging: toevoeging,
      productType: productType,
      hasOrganicReferrer: hasOrganicReferrer
    };
  }

  if (!isNullOrWs(stroomLeverancier)) {
    // Generate main params object
    urlParams = {
      postcode: postcode,
      huisnummer: huisnummer,
      toevoeging: toevoeging,
      stroomLeverancier: stroomLeverancier,
      hasOrganicReferrer: hasOrganicReferrer
    };
  } // Take params from WP site


  Object.assign(urlParams, Object.fromEntries(new URLSearchParams(window.location.search))); // Take params from submit URL

  Object.assign(urlParams, Object.fromEntries(new URLSearchParams(url.search)));

  if (isDubbeleMeter) {
    if (!isNullOrWs(stroomVerbruikHoog)) urlParams.stroomVerbruikHoog = cleanNumberAsString(stroomVerbruikHoog);
    if (!isNullOrWs(stroomVerbruikLaag)) urlParams.stroomVerbruikLaag = cleanNumberAsString(stroomVerbruikLaag);

    if (hasSolarPanels) {
      if (!isNullOrWs(solarProductionHigh)) urlParams.eph = cleanNumberAsString(solarProductionHigh);
      if (!isNullOrWs(solarProductionLow)) urlParams.epl = cleanNumberAsString(solarProductionLow);
    }
  } else {
    if (!isNullOrWs(stroomVerbruik) && hasStroom) urlParams.stroomVerbruik = cleanNumberAsString(stroomVerbruik);
    if (!isNullOrWs(solarProductionSingle) && hasSolarPanels) urlParams.ep = cleanNumberAsString(solarProductionSingle);
  }

  if ((hasGas || isVerbruikIngevuld && !vergelijkAlleenStroom) && !isNullOrWs(verbruikGas)) {
    urlParams.verbruikGas = cleanNumberAsString(verbruikGas);
  }

  if (isNullOrWs(productType)) {
    urlParams.meter = isDubbeleMeter ? 'dubbel' : 'enkel';
  }

  var hasGasValue = isNullOrWs(verbruikGas) ? false : hasGas; // if no gas specified hasGas = false in any case

  urlParams.productType = !isNullOrWs(productType) ? productType : generateProductType(hasGasValue, hasStroom, isVerbruikIngevuld, vergelijkAlleenStroom); // Build final url

  url = Object(lib["build"])(url, urlParams); // return url;

  window.open(url, '_self');
}
// CONCATENATED MODULE: ./src/components/Calculators/Horizontal/HorizontalCalculatorMkb.jsx
function HorizontalCalculatorMkb_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { HorizontalCalculatorMkb_typeof = function _typeof(obj) { return typeof obj; }; } else { HorizontalCalculatorMkb_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return HorizontalCalculatorMkb_typeof(obj); }

function HorizontalCalculatorMkb_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function HorizontalCalculatorMkb_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { HorizontalCalculatorMkb_ownKeys(Object(source), true).forEach(function (key) { HorizontalCalculatorMkb_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { HorizontalCalculatorMkb_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function HorizontalCalculatorMkb_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function HorizontalCalculatorMkb_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); } }

function HorizontalCalculatorMkb_createClass(Constructor, protoProps, staticProps) { if (protoProps) HorizontalCalculatorMkb_defineProperties(Constructor.prototype, protoProps); if (staticProps) HorizontalCalculatorMkb_defineProperties(Constructor, staticProps); return Constructor; }

function HorizontalCalculatorMkb_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) HorizontalCalculatorMkb_setPrototypeOf(subClass, superClass); }

function HorizontalCalculatorMkb_setPrototypeOf(o, p) { HorizontalCalculatorMkb_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return HorizontalCalculatorMkb_setPrototypeOf(o, p); }

function HorizontalCalculatorMkb_createSuper(Derived) { var hasNativeReflectConstruct = HorizontalCalculatorMkb_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = HorizontalCalculatorMkb_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = HorizontalCalculatorMkb_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return HorizontalCalculatorMkb_possibleConstructorReturn(this, result); }; }

function HorizontalCalculatorMkb_possibleConstructorReturn(self, call) { if (call && (HorizontalCalculatorMkb_typeof(call) === "object" || typeof call === "function")) { return call; } return HorizontalCalculatorMkb_assertThisInitialized(self); }

function HorizontalCalculatorMkb_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function HorizontalCalculatorMkb_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function HorizontalCalculatorMkb_getPrototypeOf(o) { HorizontalCalculatorMkb_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return HorizontalCalculatorMkb_getPrototypeOf(o); }

function HorizontalCalculatorMkb_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }


















var HorizontalCalculatorMkb_HorizontalCalculatorMkb = /*#__PURE__*/function (_Component) {
  HorizontalCalculatorMkb_inherits(HorizontalCalculatorMkb, _Component);

  var _super = HorizontalCalculatorMkb_createSuper(HorizontalCalculatorMkb);

  function HorizontalCalculatorMkb() {
    var _this;

    HorizontalCalculatorMkb_classCallCheck(this, HorizontalCalculatorMkb);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_assertThisInitialized(_this), "state", {
      leveranciers: [],
      meter: _this.props.meter,
      postcode: '',
      huisnummer: '',
      toevoeging: '',
      stroomLeverancier: '',
      stroomVerbruik: '',
      stroomVerbruikHoog: '',
      stroomVerbruikLaag: '',
      gasVerbruik: '',
      solarProductionSingle: '',
      solarProductionHigh: '',
      solarProductionLow: '',
      hasSolarPanels: false,
      hasStroom: true,
      hasGas: true,
      isVerbruikIngevuld: false,
      isDoubleMeter: false,
      vergelijkAlleenStroom: false,
      ignoreGasValue: false,
      typeandDisplay: 'Maak uw keuze',
      typeandId: '',
      typeandItems: [{
        id: 1,
        label: 'ZZP',
        itemIcon: 'option-icon option-zzp'
      }, {
        id: 2,
        label: 'Eenmanszaak',
        itemIcon: 'option-icon option-eenmanszaak'
      }, {
        id: 3,
        label: 'Winkel',
        itemIcon: 'option-icon option-winkel'
      }, {
        id: 4,
        label: 'Kantoorpand',
        itemIcon: 'option-icon option-kantoorpand'
      }, {
        id: 5,
        label: 'Industrieel',
        itemIcon: 'option-icon option-industrieel'
      }],
      showValidation: false
    });

    HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_assertThisInitialized(_this), "handleSubmit", function (event) {
      event.preventDefault();

      _this.setState({
        showValidation: true
      });

      if (isNullOrNanOrZero(_this.state.gasVerbruik)) _this.setState('hasGas', false);
      var _this$state = _this.state,
          postcode = _this$state.postcode,
          huisnummer = _this$state.huisnummer,
          toevoeging = _this$state.toevoeging,
          stroomLeverancier = _this$state.stroomLeverancier,
          stroomVerbruik = _this$state.stroomVerbruik,
          stroomVerbruikHoog = _this$state.stroomVerbruikHoog,
          stroomVerbruikLaag = _this$state.stroomVerbruikLaag,
          gasVerbruik = _this$state.gasVerbruik,
          solarProductionHigh = _this$state.solarProductionHigh,
          solarProductionLow = _this$state.solarProductionLow,
          solarProductionSingle = _this$state.solarProductionSingle,
          hasStroom = _this$state.hasStroom,
          hasGas = _this$state.hasGas,
          hasSolarPanels = _this$state.hasSolarPanels,
          isDoubleMeter = _this$state.isDoubleMeter,
          isVerbruikIngevuld = _this$state.isVerbruikIngevuld,
          vergelijkAlleenStroom = _this$state.vergelijkAlleenStroom,
          ignoreGasValue = _this$state.ignoreGasValue;
      var isFullyValidated = false;
      var isValid = isInstanceValid(_this.state, mkbValidation_ruleSetFactory(hasStroom, hasGas, isDoubleMeter, isVerbruikIngevuld, ignoreGasValue));

      if (hasSolarPanels) {
        isFullyValidated = isValid && isInstanceValid(_this.state, solarValidation_ruleSetFactorySolar(isDoubleMeter));
      } else {
        isFullyValidated = isValid;
      }

      if (isFullyValidated) {
        saveToLocalStorage(generateUniqueId(_this.props.uniqueId, 'mkbCalculatorData', true), Object(lodash["omit"])(_this.state, ['leveranciers', 'ignoreGasValue', 'typeandDisplay', 'typeandItems', 'showValidation']));
        var model = new SubmitUrlModel(_this.props.submitUrl, postcode, huisnummer, toevoeging, null, stroomLeverancier, isDoubleMeter, stroomVerbruikHoog, stroomVerbruikLaag, hasSolarPanels, solarProductionLow, solarProductionHigh, stroomVerbruik, hasStroom, solarProductionSingle, hasGas, isVerbruikIngevuld, gasVerbruik, vergelijkAlleenStroom);
        generateFinalUrl(model);
      }
    });

    HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_assertThisInitialized(_this), "handleChange", function (event) {
      event.preventDefault();
      var _event$target = event.target,
          name = _event$target.name,
          type = _event$target.type,
          value = _event$target.value;

      switch (type) {
        case 'text':
          _this.setState(HorizontalCalculatorMkb_defineProperty({}, name, value));

          break;

        case 'tel':
        case 'number':
          if (/^[0-9,.]*$/.test(value)) _this.setState(HorizontalCalculatorMkb_defineProperty({}, name, value));
          break;

        case 'checkbox':
          _this.handleCheckboxChange(event);

          break;

        default:
          _this.setState(HorizontalCalculatorMkb_defineProperty({}, name, value));

          break;
      }
    });

    HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_assertThisInitialized(_this), "handleCheckboxChange", function (event) {
      var _this$setState5, _this$setState7, _this$setState8, _this$setState9;

      var _event$target2 = event.target,
          name = _event$target2.name,
          checked = _event$target2.checked;
      var _this$state2 = _this.state,
          hasStroom = _this$state2.hasStroom,
          hasGas = _this$state2.hasGas;

      switch (name) {
        case 'hasGas':
          if (!hasStroom && !checked) {
            var _this$setState4;

            _this.setState((_this$setState4 = {}, HorizontalCalculatorMkb_defineProperty(_this$setState4, name, checked), HorizontalCalculatorMkb_defineProperty(_this$setState4, "hasStroom", true), HorizontalCalculatorMkb_defineProperty(_this$setState4, "vergelijkAlleenStroom", !checked), HorizontalCalculatorMkb_defineProperty(_this$setState4, "ignoreGasValue", false), _this$setState4));
          }

          if (hasStroom && checked) {
            _this.setState({
              hasGas: true,
              vergelijkAlleenStroom: false,
              ignoreGasValue: false
            });
          } else _this.setState((_this$setState5 = {}, HorizontalCalculatorMkb_defineProperty(_this$setState5, name, checked), HorizontalCalculatorMkb_defineProperty(_this$setState5, "ignoreGasValue", !checked), _this$setState5));

          break;

        case 'hasStroom':
          if (!hasGas && !checked) {
            var _this$setState6;

            _this.setState((_this$setState6 = {}, HorizontalCalculatorMkb_defineProperty(_this$setState6, name, checked), HorizontalCalculatorMkb_defineProperty(_this$setState6, "hasGas", true), HorizontalCalculatorMkb_defineProperty(_this$setState6, "ignoreGasValue", false), _this$setState6));
          }

          if (hasGas && checked) {
            _this.setState({
              hasStroom: true,
              vergelijkAlleenStroom: false
            });
          } else _this.setState((_this$setState7 = {}, HorizontalCalculatorMkb_defineProperty(_this$setState7, name, checked), HorizontalCalculatorMkb_defineProperty(_this$setState7, "vergelijkAlleenStroom", checked), _this$setState7));

          break;

        case 'vergelijkAlleenStroom':
          if (hasGas && checked) _this.setState((_this$setState8 = {}, HorizontalCalculatorMkb_defineProperty(_this$setState8, name, checked), HorizontalCalculatorMkb_defineProperty(_this$setState8, "hasStroom", checked), HorizontalCalculatorMkb_defineProperty(_this$setState8, "hasGas", !checked), HorizontalCalculatorMkb_defineProperty(_this$setState8, "ignoreGasValue", true), _this$setState8));else if (!checked) _this.setState((_this$setState9 = {}, HorizontalCalculatorMkb_defineProperty(_this$setState9, name, checked), HorizontalCalculatorMkb_defineProperty(_this$setState9, "hasGas", !checked), HorizontalCalculatorMkb_defineProperty(_this$setState9, "ignoreGasValue", true), _this$setState9));else _this.setState(HorizontalCalculatorMkb_defineProperty({}, name, checked));
          break;

        case 'isDoubleMeter':
          _this.recalculateFields();

          _this.setState(HorizontalCalculatorMkb_defineProperty({}, name, checked));

          break;

        default:
          _this.setState(HorizontalCalculatorMkb_defineProperty({}, name, checked));

          break;
      }
    });

    HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_assertThisInitialized(_this), "handleClick", function (event) {
      var name = event.target.name;

      switch (name) {
        case 'isVerbruikIngevuld':
          _this.setState(function (state) {
            return {
              isVerbruikIngevuld: !state.isVerbruikIngevuld,
              hasStroom: true
            };
          });

          break;

        default:
          break;
      }
    });

    HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_assertThisInitialized(_this), "typeandSelect", function (item) {
      _this.setState(function () {
        var res = {
          typeandId: item
        };

        switch (item) {
          case 1:
            res.stroomVerbruik = 3500;
            res.gasVerbruik = 1700;
            res.stroomVerbruikHoog = 1900;
            res.stroomVerbruikLaag = 1600;
            break;

          case 2:
            res.stroomVerbruik = 6500;
            res.gasVerbruik = 2000;
            res.stroomVerbruikHoog = 3900;
            res.stroomVerbruikLaag = 2600;
            break;

          case 3:
            res.stroomVerbruik = 16000;
            res.gasVerbruik = 4000;
            res.stroomVerbruikHoog = 8000;
            res.stroomVerbruikLaag = 8000;
            break;

          case 4:
            res.stroomVerbruik = 50000;
            res.gasVerbruik = 10000;
            res.stroomVerbruikHoog = 30000;
            res.stroomVerbruikLaag = 20000;
            break;

          case 5:
            res.stroomVerbruik = 70000;
            res.gasVerbruik = 20000;
            res.stroomVerbruikHoog = 42000;
            res.stroomVerbruikLaag = 28000;
            break;

          default:
            break;
        }

        return res;
      });
    });

    HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_assertThisInitialized(_this), "typeandDisplayHtml", function () {
      return {
        __html: _this.state.typeandDisplay
      };
    });

    HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_assertThisInitialized(_this), "hideGasValidationCallback", function () {
      _this.setState({
        ignoreGasValue: true
      });
    });

    HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_assertThisInitialized(_this), "solarProductionCallback", function (name, value) {
      var multiplier = value;

      switch (name) {
        case 'numberOfPanels':
          if (multiplier < 1) multiplier = 1;

          _this.setState({
            solarProductionSingle: multiplier * 250,
            solarProductionHigh: multiplier * 200,
            solarProductionLow: multiplier * 50
          });

          break;

        case 'solarProductionSingle':
        case 'solarProductionHigh':
        case 'solarProductionLow':
          if (/^[0-9,.]*$/.test(value)) _this.setState(HorizontalCalculatorMkb_defineProperty({}, name, value));
          break;

        default:
          if (name !== undefined) _this.setState(HorizontalCalculatorMkb_defineProperty({}, name, value.toString()));
          break;
      }
    });

    HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_assertThisInitialized(_this), "recalculateFields", function () {
      if (_this.state.meter === 'enkel') {
        var stroomVerbruik = parseInt(cleanNumberAsString(_this.state.stroomVerbruik), 10);

        if (isNullOrNanOrZero(stroomVerbruik)) {
          _this.setState({
            stroomVerbruikHoog: '',
            stroomVerbruikLaag: ''
          });
        } else {
          var halfStroomVerbruik = Math.ceil(stroomVerbruik / 2);

          _this.setState({
            stroomVerbruikHoog: halfStroomVerbruik,
            stroomVerbruikLaag: halfStroomVerbruik
          });
        }

        if (_this.props.enableSolarProduction) {
          var solarProductionSingle = parseInt(cleanNumberAsString(_this.state.solarProductionSingle), 10);

          if (isNullOrNanOrZero(solarProductionSingle)) {
            _this.setState({
              solarProductionHigh: '',
              solarProductionLow: ''
            });
          } else {
            var eightyPercent = Math.round(solarProductionSingle * 0.8);
            var twentyPercent = Math.round(solarProductionSingle * 0.2);

            _this.setState({
              solarProductionHigh: eightyPercent,
              solarProductionLow: twentyPercent
            });
          }
        }

        _this.setState({
          meter: 'dubbel',
          isDoubleMeter: true,
          hasStroom: true
        });
      } else {
        var stroomVerbruikHoog = parseInt( // eslint-disable-next-line react/no-access-state-in-setstate
        cleanNumberAsString(_this.state.stroomVerbruikHoog), 10);
        var stroomVerbruikLaag = parseInt( // eslint-disable-next-line react/no-access-state-in-setstate
        cleanNumberAsString(_this.state.stroomVerbruikLaag), 10);
        if (!isNullOrNanOrZero(stroomVerbruikHoog) && !isNullOrNanOrZero(stroomVerbruikLaag)) _this.setState({
          stroomVerbruik: stroomVerbruikHoog + stroomVerbruikLaag
        });else _this.setState({
          stroomVerbruik: ''
        });

        if (_this.props.enableSolarProduction) {
          var solarProductionHigh = parseInt( // eslint-disable-next-line react/no-access-state-in-setstate
          cleanNumberAsString(_this.state.solarProductionHigh), 10);
          var solarProductionLow = parseInt( // eslint-disable-next-line react/no-access-state-in-setstate
          cleanNumberAsString(_this.state.solarProductionLow), 10);
          if (!isNullOrNanOrZero(solarProductionHigh) && !isNullOrNanOrZero(solarProductionLow)) _this.setState({
            solarProductionSingle: solarProductionHigh + solarProductionLow
          });else _this.setState({
            solarProductionSingle: ''
          });
        }

        _this.setState({
          meter: 'enkel',
          isDoubleMeter: false
        });
      }
    });

    HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_assertThisInitialized(_this), "setLeverancier", function (item) {
      _this.setState({
        stroomLeverancier: item
      });
    });

    HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_assertThisInitialized(_this), "getData", function () {
      // get leveranciers data
      axios_default.a.get('/?action=ez_api_request&controller=Wordpress&method=FetchLeveranciers').then(function (res) {
        if (res.status === 200) {
          if (res.data != null) {
            _this.setState({
              leveranciers: JSON.parse(res.data)
            });
          } else {
            // eslint-disable-next-line no-console
            console.log('Error', 'Leverancier data not available');
          }
        } else {
          // eslint-disable-next-line no-console
          console.log('Error', 'API not available');
        }
      });
    });

    return _this;
  }

  HorizontalCalculatorMkb_createClass(HorizontalCalculatorMkb, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      this.getData();
      var data = loadFromLocalStorage(generateUniqueId(this.props.uniqueId, 'mkbCalculatorData', true));
      this.setState(HorizontalCalculatorMkb_objectSpread({
        ignoreGasValue: false,
        showValidation: false
      }, data));
    }
  }, {
    key: "handleMouseHover",
    value: function handleMouseHover() {
      this.setState(this.toggleHoverState);
    }
  }, {
    key: "render",
    value: function render() {
      var _this$state3 = this.state,
          hasStroom = _this$state3.hasStroom,
          hasGas = _this$state3.hasGas,
          hasSolarPanels = _this$state3.hasSolarPanels,
          isDoubleMeter = _this$state3.isDoubleMeter,
          isVerbruikIngevuld = _this$state3.isVerbruikIngevuld;
      var ruleSet = mkbValidation_ruleSetFactory(hasStroom, hasGas, isDoubleMeter, isVerbruikIngevuld);
      var calculatorClass = 'mkbCalculator calculator-tab';
      if (isDoubleMeter) calculatorClass += ' double';
      if (isVerbruikIngevuld) calculatorClass += ' isVerbruikIngevuld';
      if (hasSolarPanels) calculatorClass += ' solar';
      var formWrapper = 'calculator-form';
      var formTitle = 'form-title';
      var year = '/jaar';
      if (isDoubleMeter) year = '';
      var calculatorInputsWrapper = 'energy-inputs inputs';
      var typeandBlock = 'typeand-block';
      var checkboxClass = 'checkbox';
      var isEnableSolarProduction = this.props.enableSolarProduction;
      var _this$props = this.props,
          title = _this$props.title,
          submitButtonText = _this$props.submitButtonText,
          textBelowButton = _this$props.textBelowButton;
      if (textBelowButton == null) calculatorClass += ' no-text-below-button';
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        id: "mkbCalculator",
        className: calculatorClass
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "top"
      }, /*#__PURE__*/external_React_default.a.createElement("h2", {
        className: formTitle
      }, title)), /*#__PURE__*/external_React_default.a.createElement("form", {
        className: formWrapper,
        onSubmit: this.handleSubmit,
        autoComplete: "off"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "side-4-col"
      }, /*#__PURE__*/external_React_default.a.createElement(Horizontal_HorizontalCalculatorAddressPart, {
        uniqueId: this.props.uniqueId,
        postcode: this.state.postcode,
        huisnummer: this.state.huisnummer,
        toevoeging: this.state.toevoeging,
        showValidation: this.state.showValidation,
        setStateCallback: this.handleChange,
        ruleSet: ruleSet
      }), /*#__PURE__*/external_React_default.a.createElement(LeverancierSelectList_LeverancierSelectList, {
        label: "Uw leverancier",
        className: "leverancier",
        selectedItemId: this.state.stroomLeverancier,
        onItemSelected: this.setLeverancier,
        items: this.state.leveranciers.map(function (x) {
          return {
            id: x.id,
            label: x.name
          };
        }),
        tooltipId: "leverancierTooltip",
        labelHasTooltip: true,
        name: "stroomLeverancier",
        id: generateUniqueId(this.props.uniqueId, 'leverancier-select-dropdown-'),
        showValidationMessage: this.state.showValidation,
        rules: ruleSet.stroomLeverancier
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "leverancierTooltip"
      }, "Sommige aanbiedingen gelden alleen voor nieuwe ", /*#__PURE__*/external_React_default.a.createElement("br", null), "klanten. Door uw huidige leverancier in te vullen ", /*#__PURE__*/external_React_default.a.createElement("br", null), "houden we hier rekening mee.")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "side-3-col"
      }, /*#__PURE__*/external_React_default.a.createElement("label", {
        className: "grid-label"
      }, !isVerbruikIngevuld ? /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, null, "Vul uw jaarverbruik in ") : /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, null, "Vul uw type bedrijf in "), /*#__PURE__*/external_React_default.a.createElement("a", {
        className: "link toggle-verbruik-link",
        name: "isVerbruikIngevuld",
        onClick: this.handleClick
      }, !isVerbruikIngevuld ? /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, null, "of kies een gemiddelde") : /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, null, "of vul uw verbruik in")), /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": true,
        "data-for": "weetOptionsTooltip"
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "weetOptionsTooltip"
      }, !isVerbruikIngevuld ? /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, null, "Vul uw werkelijke jaarverbruik in. Zo kunnen wij u de meest", /*#__PURE__*/external_React_default.a.createElement("br", null), "voordelige aanbiedingen tonen. Uw verbruik staat op uw", /*#__PURE__*/external_React_default.a.createElement("br", null), "jaarafrekening of in uw persoonlijke online omgeving bij de", /*#__PURE__*/external_React_default.a.createElement("br", null), "energieleverancier. Wilt u alleen stroom of gas vergelijken?", /*#__PURE__*/external_React_default.a.createElement("br", null), "Vink dan het groene vinkje uit.") : /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, null, "Weet u uw jaarverbruik niet? Kies hieronder uw type", /*#__PURE__*/external_React_default.a.createElement("br", null), "bedrijf voor een nauwkeurige schatting."))), /*#__PURE__*/external_React_default.a.createElement("input", {
        type: "hidden",
        name: "productType",
        value: this.state.productType
      }), !isVerbruikIngevuld ? /*#__PURE__*/external_React_default.a.createElement("div", {
        className: calculatorInputsWrapper
      }, this.state.isDoubleMeter ? /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "power-high"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        name: "stroomVerbruikHoog",
        className: "checkbox",
        id: generateUniqueId(this.props.uniqueId, 'stroom-verbruik-hoog-'),
        labelBelow: "Normaal",
        value: this.state.stroomVerbruikHoog,
        onChange: this.handleChange,
        type: "tel",
        unit: "kWh".concat(year),
        inputIcon: "fa fa-bolt",
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.showValidation,
        rules: ruleSet.stroomVerbruikHoog,
        isFormatedNumber: true,
        decimalScale: "0"
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "power-low"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        name: "stroomVerbruikLaag",
        className: "checkbox",
        id: generateUniqueId(this.props.uniqueId, 'stroom-verbruik-laag-'),
        labelBelow: "Dal",
        value: this.state.stroomVerbruikLaag,
        onChange: this.handleChange,
        type: "tel",
        unit: "kWh".concat(year),
        inputIcon: "fa fa-bolt",
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.showValidation,
        rules: ruleSet.stroomVerbruikLaag,
        isFormatedNumber: true,
        decimalScale: "0"
      }))) : /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "power ".concat(this.state.hasStroom ? '' : 'disabled')
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        name: "stroomVerbruik",
        checkboxName: "hasStroom",
        className: "checkbox",
        checkboxId: generateUniqueId(this.props.uniqueId, 'has-stroom-'),
        checkboxLabel: "hasStroom",
        isChecked: this.state.hasStroom,
        id: generateUniqueId(this.props.uniqueId, 'stroom-verbruik-'),
        value: this.state.stroomVerbruik,
        handleCheckboxChange: this.handleCheckboxChange,
        onChange: this.handleChange,
        type: "tel",
        unit: "kWh".concat(year),
        inputIcon: "fa fa-bolt",
        hasCheckbox: true,
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.showValidation,
        rules: ruleSet.stroomVerbruik,
        isFormatedNumber: true,
        decimalScale: "0"
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "gas ".concat(this.state.hasGas ? '' : 'disabled')
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        name: "gasVerbruik",
        checkboxName: "hasGas",
        className: "checkbox",
        checkboxId: generateUniqueId(this.props.uniqueId, 'has-gas-'),
        checkboxLabel: "hasGas",
        isChecked: this.state.hasGas,
        handleCheckboxChange: this.handleCheckboxChange,
        id: generateUniqueId(this.props.uniqueId, 'gas-verbruik-'),
        value: this.state.gasVerbruik,
        onChange: this.handleChange,
        type: "tel",
        unit: "m3".concat(year),
        inputIcon: "fa fa-fire",
        hasCheckbox: true,
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.showValidation || this.state.ignoreGasValue,
        hideValidationOnClick: true,
        rules: ruleSet.gasVerbruik,
        enableValidationClosing: true,
        validationClosingCallback: this.hideGasValidationCallback,
        isFormatedNumber: true,
        decimalScale: "0"
      }))) : /*#__PURE__*/external_React_default.a.createElement("div", {
        className: calculatorInputsWrapper
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: typeandBlock
      }, /*#__PURE__*/external_React_default.a.createElement(SelectList_SelectList, {
        selectedItemId: this.state.typeandId,
        onItemSelected: this.typeandSelect,
        items: this.state.typeandItems,
        id: generateUniqueId(this.props.uniqueId, 'typepands-select-'),
        name: "typeandId",
        showValidationMessage: this.state.showValidation,
        rules: ruleSet.typeandId
      }))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "checkboxes"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "is-double-meter"
      }, !isVerbruikIngevuld ? /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: checkboxClass,
        name: "isDoubleMeter",
        id: "isDoubleMeterUniqueId",
        label: "Dubbele meter?",
        handleCheckboxChange: this.handleCheckboxChange,
        isChecked: this.state.isDoubleMeter
      }) : /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: checkboxClass,
        name: "vergelijkAlleenStroom",
        id: "vergelijkAlleenStroomUniqueId",
        label: "Vergelijk alleen stroom",
        handleCheckboxChange: this.handleCheckboxChange,
        isChecked: this.state.vergelijkAlleenStroom
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "has-solar"
      }, isEnableSolarProduction ? /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: checkboxClass,
        id: generateUniqueId(this.props.uniqueId, 'has-solar-panels-'),
        name: "hasSolarPanels",
        label: "Ik heb zonnepanelen",
        handleCheckboxChange: this.handleCheckboxChange,
        isChecked: this.state.hasSolarPanels
      }) : null))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "submit-button"
      }, /*#__PURE__*/external_React_default.a.createElement("button", {
        className: "btn btn-success",
        onClick: this.validateForm
      }, submitButtonText, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "fa fa-caret-right"
      })), textBelowButton !== '' ? /*#__PURE__*/external_React_default.a.createElement("p", {
        className: "text-below-button"
      }, textBelowButton) : ''), hasSolarPanels ? /*#__PURE__*/external_React_default.a.createElement(Horizontal_HorizontalCalculatorSolarPanel, {
        uniqueId: this.props.uniqueId,
        isDoubleMeter: this.state.isDoubleMeter,
        solarProductionCallback: this.solarProductionCallback,
        solarProductionSingle: this.state.solarProductionSingle,
        solarProductionHigh: this.state.solarProductionHigh,
        solarProductionLow: this.state.solarProductionLow,
        ruleSet: ruleSet,
        showValidation: this.state.showValidation
      }) : null));
    }
  }]);

  return HorizontalCalculatorMkb;
}(external_React_["Component"]);

HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_HorizontalCalculatorMkb, "propTypes", {
  uniqueId: prop_types_default.a.string,
  meter: prop_types_default.a.string.isRequired,
  submitUrl: prop_types_default.a.string.isRequired,
  enableSolarProduction: prop_types_default.a.bool.isRequired,
  title: prop_types_default.a.bool.isRequired,
  submitButtonText: prop_types_default.a.bool.isRequired,
  textBelowButton: prop_types_default.a.string
});

HorizontalCalculatorMkb_defineProperty(HorizontalCalculatorMkb_HorizontalCalculatorMkb, "defaultProps", {
  uniqueId: '',
  textBelowButton: ''
});

/* harmony default export */ var Horizontal_HorizontalCalculatorMkb = (HorizontalCalculatorMkb_HorizontalCalculatorMkb);
// CONCATENATED MODULE: ./src/components/Calculators/Horizontal/ValidationRules/gzmValidation.js
/* eslint-disable import/no-unresolved */

/* eslint-disable import/extensions */


var gzmValidation_ruleSetFactory = function ruleSetFactory() {
  return {
    postcode: must(beNotEmpty).withMessage('Vul uw postcode in.').and(minLength(6)).withMessage('Vul uw postcode in.'),
    huisnummer: must(beNotEmpty).withMessage('Vul uw huisnummer in.'),
    toevoeging: must(maxLength(6)).withMessage('Vul een geldige huisnummertoevoeging van maximaal 6 tekens in.')
  };
};
// CONCATENATED MODULE: ./src/components/Calculators/Horizontal/HorizontalCalculatorGzm.jsx
function HorizontalCalculatorGzm_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { HorizontalCalculatorGzm_typeof = function _typeof(obj) { return typeof obj; }; } else { HorizontalCalculatorGzm_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return HorizontalCalculatorGzm_typeof(obj); }

function HorizontalCalculatorGzm_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function HorizontalCalculatorGzm_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { HorizontalCalculatorGzm_ownKeys(Object(source), true).forEach(function (key) { HorizontalCalculatorGzm_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { HorizontalCalculatorGzm_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function HorizontalCalculatorGzm_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function HorizontalCalculatorGzm_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); } }

function HorizontalCalculatorGzm_createClass(Constructor, protoProps, staticProps) { if (protoProps) HorizontalCalculatorGzm_defineProperties(Constructor.prototype, protoProps); if (staticProps) HorizontalCalculatorGzm_defineProperties(Constructor, staticProps); return Constructor; }

function HorizontalCalculatorGzm_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) HorizontalCalculatorGzm_setPrototypeOf(subClass, superClass); }

function HorizontalCalculatorGzm_setPrototypeOf(o, p) { HorizontalCalculatorGzm_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return HorizontalCalculatorGzm_setPrototypeOf(o, p); }

function HorizontalCalculatorGzm_createSuper(Derived) { var hasNativeReflectConstruct = HorizontalCalculatorGzm_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = HorizontalCalculatorGzm_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = HorizontalCalculatorGzm_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return HorizontalCalculatorGzm_possibleConstructorReturn(this, result); }; }

function HorizontalCalculatorGzm_possibleConstructorReturn(self, call) { if (call && (HorizontalCalculatorGzm_typeof(call) === "object" || typeof call === "function")) { return call; } return HorizontalCalculatorGzm_assertThisInitialized(self); }

function HorizontalCalculatorGzm_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function HorizontalCalculatorGzm_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function HorizontalCalculatorGzm_getPrototypeOf(o) { HorizontalCalculatorGzm_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return HorizontalCalculatorGzm_getPrototypeOf(o); }

function HorizontalCalculatorGzm_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }











var HorizontalCalculatorGzm_HorizontalCalculatorGzm = /*#__PURE__*/function (_Component) {
  HorizontalCalculatorGzm_inherits(HorizontalCalculatorGzm, _Component);

  var _super = HorizontalCalculatorGzm_createSuper(HorizontalCalculatorGzm);

  function HorizontalCalculatorGzm() {
    var _this;

    HorizontalCalculatorGzm_classCallCheck(this, HorizontalCalculatorGzm);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    HorizontalCalculatorGzm_defineProperty(HorizontalCalculatorGzm_assertThisInitialized(_this), "state", {
      postcode: '',
      huisnummer: '',
      toevoeging: '',
      productType: 0,
      showValidation: false
    });

    HorizontalCalculatorGzm_defineProperty(HorizontalCalculatorGzm_assertThisInitialized(_this), "handleSubmit", function (event) {
      event.preventDefault();

      _this.setState({
        showValidation: true
      });

      var ruleSet = gzmValidation_ruleSetFactory();

      if (isInstanceValid(_this.state, ruleSet)) {
        saveToLocalStorage(generateUniqueId(_this.props.uniqueId, 'gzmCalculatorData', true), Object(lodash["omit"])(_this.state, ['showValidation']));
        var _this$state = _this.state,
            postcode = _this$state.postcode,
            huisnummer = _this$state.huisnummer,
            toevoeging = _this$state.toevoeging,
            productType = _this$state.productType;
        var model = new SubmitUrlModel(_this.props.submitUrl, postcode, huisnummer, toevoeging, productType);
        generateFinalUrl(model);
      }
    });

    HorizontalCalculatorGzm_defineProperty(HorizontalCalculatorGzm_assertThisInitialized(_this), "handleChange", function (event) {
      var _event$target = event.target,
          name = _event$target.name,
          type = _event$target.type,
          value = _event$target.value;

      switch (type) {
        case 'text':
          _this.setState(HorizontalCalculatorGzm_defineProperty({}, name, value));

          break;

        case 'tel':
        case 'number':
          if (/^[0-9,.]*$/.test(value)) _this.setState(HorizontalCalculatorGzm_defineProperty({}, name, value));
          break;

        default:
          _this.setState(HorizontalCalculatorGzm_defineProperty({}, name, value));

          break;
      }
    });

    HorizontalCalculatorGzm_defineProperty(HorizontalCalculatorGzm_assertThisInitialized(_this), "handleClick", function (event) {
      var name = event.target.name;

      switch (name) {
        case 'productTypeStroomEnGas':
          _this.setState({
            productType: 0
          });

          break;

        case 'productTypeStroom':
          _this.setState({
            productType: 1
          });

          break;

        case 'productTypeGas':
          _this.setState({
            productType: 2
          });

          break;

        default:
          break;
      }
    });

    return _this;
  }

  HorizontalCalculatorGzm_createClass(HorizontalCalculatorGzm, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      var data = loadFromLocalStorage(generateUniqueId(this.props.uniqueId, 'gzmCalculatorData', true));
      this.setState(HorizontalCalculatorGzm_objectSpread({
        showValidation: false
      }, data));
    }
  }, {
    key: "render",
    value: function render() {
      var ruleSet = gzmValidation_ruleSetFactory();
      var _this$props = this.props,
          title = _this$props.title,
          submitButtonText = _this$props.submitButtonText,
          textBelowButton = _this$props.textBelowButton;
      var calculatorClass = 'gzmCalculator calculator-tab';
      if (textBelowButton == null) calculatorClass += ' no-text-below-button';
      var formWrapper = 'calculator-form';
      var formTitle = 'form-title';
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        id: "gzmCalculator",
        className: calculatorClass
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "top"
      }, /*#__PURE__*/external_React_default.a.createElement("h2", {
        className: formTitle
      }, title)), /*#__PURE__*/external_React_default.a.createElement("form", {
        className: formWrapper,
        onSubmit: this.handleSubmit
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "side-3-col"
      }, /*#__PURE__*/external_React_default.a.createElement(Horizontal_HorizontalCalculatorAddressPart, {
        postcode: this.state.postcode,
        huisnummer: this.state.huisnummer,
        toevoeging: this.state.toevoeging,
        showValidation: this.state.showValidation,
        setStateCallback: this.handleChange,
        ruleSet: ruleSet
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "side-1-col"
      }, /*#__PURE__*/external_React_default.a.createElement("label", null, "Wat wilt u vergelijken?", /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": true,
        "data-for": "productTypeTooltip"
      })), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "productTypeTooltip"
      }, "Geef hier aan of u stroom en/of gas wilt vergelijken.", /*#__PURE__*/external_React_default.a.createElement("br", null), "Zodat u alleen het aanbod ziet waar u naar op zoek bent."), /*#__PURE__*/external_React_default.a.createElement("ul", {
        className: "product-types"
      }, /*#__PURE__*/external_React_default.a.createElement("li", {
        className: "product-type",
        onClick: this.handleClick
      }, /*#__PURE__*/external_React_default.a.createElement("input", {
        type: "radio",
        id: "stroom-en-gas",
        name: "productTypeStroomEnGas",
        checked: this.state.productType === 0,
        value: "0"
      }), /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: "stroom-en-gas"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "fa fa-bolt"
      }), /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "fa fa-fire"
      }), "Stroom en gas")), /*#__PURE__*/external_React_default.a.createElement("li", {
        className: "product-type",
        onClick: this.handleClick
      }, /*#__PURE__*/external_React_default.a.createElement("input", {
        type: "radio",
        id: "stroom",
        name: "productTypeStroom",
        checked: this.state.productType === 1,
        value: "1"
      }), /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: "stroom"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "fa fa-bolt"
      }), "Stroom")), /*#__PURE__*/external_React_default.a.createElement("li", {
        className: "product-type",
        onClick: this.handleClick
      }, /*#__PURE__*/external_React_default.a.createElement("input", {
        type: "radio",
        id: "gas",
        name: "productTypeGas",
        checked: this.state.productType === 2,
        value: "2"
      }), /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: "gas"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "fa fa-fire"
      }), "Gas")))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "submit-button"
      }, /*#__PURE__*/external_React_default.a.createElement("button", {
        className: "btn btn-success",
        onClick: this.validateForm
      }, submitButtonText, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "fa fa-caret-right"
      })), textBelowButton !== null ? /*#__PURE__*/external_React_default.a.createElement("p", {
        className: "text-below-button"
      }, textBelowButton) : '')));
    }
  }]);

  return HorizontalCalculatorGzm;
}(external_React_["Component"]);

HorizontalCalculatorGzm_defineProperty(HorizontalCalculatorGzm_HorizontalCalculatorGzm, "propTypes", {
  uniqueId: prop_types_default.a.string,
  submitUrl: prop_types_default.a.string.isRequired,
  title: prop_types_default.a.bool.isRequired,
  submitButtonText: prop_types_default.a.bool.isRequired,
  textBelowButton: prop_types_default.a.string
});

HorizontalCalculatorGzm_defineProperty(HorizontalCalculatorGzm_HorizontalCalculatorGzm, "defaultProps", {
  uniqueId: '',
  textBelowButton: ''
});

/* harmony default export */ var Horizontal_HorizontalCalculatorGzm = (HorizontalCalculatorGzm_HorizontalCalculatorGzm);
// EXTERNAL MODULE: ./src/sass/components/HorizontalCalculator.scss
var components_HorizontalCalculator = __webpack_require__(90);

// CONCATENATED MODULE: ./src/components/Calculators/Horizontal/HorizontalCalculator.jsx
function HorizontalCalculator_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { HorizontalCalculator_typeof = function _typeof(obj) { return typeof obj; }; } else { HorizontalCalculator_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return HorizontalCalculator_typeof(obj); }

function HorizontalCalculator_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function HorizontalCalculator_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); } }

function HorizontalCalculator_createClass(Constructor, protoProps, staticProps) { if (protoProps) HorizontalCalculator_defineProperties(Constructor.prototype, protoProps); if (staticProps) HorizontalCalculator_defineProperties(Constructor, staticProps); return Constructor; }

function HorizontalCalculator_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) HorizontalCalculator_setPrototypeOf(subClass, superClass); }

function HorizontalCalculator_setPrototypeOf(o, p) { HorizontalCalculator_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return HorizontalCalculator_setPrototypeOf(o, p); }

function HorizontalCalculator_createSuper(Derived) { var hasNativeReflectConstruct = HorizontalCalculator_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = HorizontalCalculator_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = HorizontalCalculator_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return HorizontalCalculator_possibleConstructorReturn(this, result); }; }

function HorizontalCalculator_possibleConstructorReturn(self, call) { if (call && (HorizontalCalculator_typeof(call) === "object" || typeof call === "function")) { return call; } return HorizontalCalculator_assertThisInitialized(self); }

function HorizontalCalculator_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function HorizontalCalculator_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function HorizontalCalculator_getPrototypeOf(o) { HorizontalCalculator_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return HorizontalCalculator_getPrototypeOf(o); }

function HorizontalCalculator_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }










var HorizontalCalculator_HorizontalCalculator = /*#__PURE__*/function (_Component) {
  HorizontalCalculator_inherits(HorizontalCalculator, _Component);

  var _super = HorizontalCalculator_createSuper(HorizontalCalculator);

  function HorizontalCalculator(props) {
    var _this;

    HorizontalCalculator_classCallCheck(this, HorizontalCalculator);

    _this = _super.call(this, props);

    HorizontalCalculator_defineProperty(HorizontalCalculator_assertThisInitialized(_this), "state", {
      meter: 'enkel',
      activeTab: null,
      enableSolarProduction: true
    });

    HorizontalCalculator_defineProperty(HorizontalCalculator_assertThisInitialized(_this), "handleClick", function (event) {
      event.preventDefault();
      var name = event.target.name;

      _this.setState({
        activeTab: name
      });
    });

    _this.setState({
      activeTab: _this.props.preselectedTab
    });

    return _this;
  }

  HorizontalCalculator_createClass(HorizontalCalculator, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      if (this.state.activeTab === '') this.setState({
        activeTab: 1
      });
    }
  }, {
    key: "render",
    value: function render() {
      var _this2 = this;

      var _this$state = this.state,
          enableSolarProduction = _this$state.enableSolarProduction,
          meter = _this$state.meter;
      var activeTab = this.state.activeTab;
      var _this$props = this.props,
          uniqueId = _this$props.uniqueId,
          firstTabName = _this$props.firstTabName,
          firstTabTitle = _this$props.firstTabTitle,
          secondTabName = _this$props.secondTabName,
          secondTabTitle = _this$props.secondTabTitle,
          mkbSubmitUrl = _this$props.mkbSubmitUrl,
          mkbSubmitButtonText = _this$props.mkbSubmitButtonText,
          gzmSubmitUrl = _this$props.gzmSubmitUrl,
          gzmSubmitButtonText = _this$props.gzmSubmitButtonText,
          textBelowButtonMkb = _this$props.textBelowButtonMkb,
          textBelowButtonGzm = _this$props.textBelowButtonGzm,
          preselectedTab = _this$props.preselectedTab;
      var mainCalculatorClass = 'calculator horizontal tab-navigation';
      var navigationWrapper = 'navigation-wrapper';
      var calculatorWrapper = 'calculator-wrapper';
      var calculatorTabs = 'calculator-tabs';
      if (enableSolarProduction) mainCalculatorClass += ' solar';

      if (activeTab === null) {
        activeTab = preselectedTab;
      }

      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: mainCalculatorClass
      }, /*#__PURE__*/external_React_default.a.createElement("ul", {
        className: navigationWrapper
      }, firstTabName !== null ? /*#__PURE__*/external_React_default.a.createElement("li", {
        className: activeTab === '1' ? 'active' : ''
      }, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "",
        name: "1",
        onClick: this.handleClick
      }, firstTabName), /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": true,
        "data-for": "firstTabItemTooltip"
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "firstTabItemTooltip"
      }, "U bent ZZP/MKB als u: ", /*#__PURE__*/external_React_default.a.createElement("br", null), /*#__PURE__*/external_React_default.a.createElement("ul", null, /*#__PURE__*/external_React_default.a.createElement("li", null, "een elektriciteitsaansluiting heeft die kleiner is dan of gelijk aan 3 x 80 Amp\xE8re"), /*#__PURE__*/external_React_default.a.createElement("li", null, "en/of een gasaansluiting heeft die kleiner is dan 40 m3 per uur (t/m G25)"), /*#__PURE__*/external_React_default.a.createElement("li", null, "maandelijks een termijnbedrag betaalt voor uw energie"), /*#__PURE__*/external_React_default.a.createElement("li", null, "\xE9\xE9n (jaar)nota ontvangt voor de totale energiekosten")))) : null, secondTabName !== null ? /*#__PURE__*/external_React_default.a.createElement("li", {
        className: activeTab === '2' ? 'active' : ''
      }, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        name: "2",
        onClick: this.handleClick
      }, secondTabName), /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": true,
        "data-for": "secondTabItemTooltip"
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "secondTabItemTooltip"
      }, "U bent Grootzakelijk als u: ", /*#__PURE__*/external_React_default.a.createElement("br", null), /*#__PURE__*/external_React_default.a.createElement("ul", null, /*#__PURE__*/external_React_default.a.createElement("li", null, "een elektriciteitsaansluiting heeft die groter is dan 3 x 80 Amp\xE8re"), /*#__PURE__*/external_React_default.a.createElement("li", null, "en/of een gasaansluiting heeft vanaf 40 m3 per uur (\u2265G40)"), /*#__PURE__*/external_React_default.a.createElement("li", null, "twee facturen ontvangt: van de energieleverancier en van de netbeheerder"), /*#__PURE__*/external_React_default.a.createElement("li", null, "maandelijks wordt afgerekend op basis van daadwerkelijk energieverbruik")))) : null), /*#__PURE__*/external_React_default.a.createElement("section", {
        className: calculatorWrapper
      }, activeTab === 1 ? /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "/voorwaarden-laagste-prijs-garantie",
        target: "_blank",
        className: "laagste-prijs-garantie-label"
      }) : null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: calculatorTabs
      }, function () {
        switch (activeTab) {
          default:
          case '1':
            if (firstTabName === null) return null;
            return /*#__PURE__*/external_React_default.a.createElement(Horizontal_HorizontalCalculatorMkb, {
              uniqueId: uniqueId,
              meter: meter,
              enableSolarProduction: enableSolarProduction,
              saveCookie: _this2.saveCookie,
              submitUrl: mkbSubmitUrl,
              title: firstTabTitle,
              submitButtonText: mkbSubmitButtonText,
              textBelowButton: textBelowButtonMkb
            });

          case '2':
            if (secondTabName === null) return null;
            return /*#__PURE__*/external_React_default.a.createElement(Horizontal_HorizontalCalculatorGzm, {
              uniqueId: uniqueId,
              saveCookie: _this2.saveCookie,
              submitUrl: gzmSubmitUrl,
              title: secondTabTitle,
              submitButtonText: gzmSubmitButtonText,
              textBelowButton: textBelowButtonGzm
            });
        }
      }())), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "calculator-info-section"
      }, /*#__PURE__*/external_React_default.a.createElement("p", null, "Energie-Zakelijk.nl hecht veel waarde aan uw privacy.", ' ', /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "/privacy-en-cookieverklaring",
        target: "_blank"
      }, "Lees onze privacyverklaring"), ".")));
    }
  }]);

  return HorizontalCalculator;
}(external_React_["Component"]);

HorizontalCalculator_defineProperty(HorizontalCalculator_HorizontalCalculator, "propTypes", {
  uniqueId: prop_types_default.a.string,
  firstTabName: prop_types_default.a.string,
  secondTabName: prop_types_default.a.string,
  mkbSubmitUrl: prop_types_default.a.string,
  gzmSubmitUrl: prop_types_default.a.string,
  firstTabTitle: prop_types_default.a.string,
  secondTabTitle: prop_types_default.a.string,
  mkbSubmitButtonText: prop_types_default.a.string,
  gzmSubmitButtonText: prop_types_default.a.string,
  textBelowButtonMkb: prop_types_default.a.string,
  textBelowButtonGzm: prop_types_default.a.string,
  preselectedTab: prop_types_default.a.string
});

HorizontalCalculator_defineProperty(HorizontalCalculator_HorizontalCalculator, "defaultProps", {
  uniqueId: '',
  firstTabName: '',
  secondTabName: '',
  mkbSubmitUrl: '',
  gzmSubmitUrl: '',
  firstTabTitle: '',
  secondTabTitle: '',
  mkbSubmitButtonText: '',
  gzmSubmitButtonText: '',
  textBelowButtonMkb: '',
  textBelowButtonGzm: '',
  preselectedTab: 1
});

/* harmony default export */ var Horizontal_HorizontalCalculator = (HorizontalCalculator_HorizontalCalculator);
// EXTERNAL MODULE: ./src/sass/components/button.scss
var components_button = __webpack_require__(99);

// CONCATENATED MODULE: ./src/components/Button/index.jsx





function renderIcon(icon, isLoading) {
  if (isLoading) return /*#__PURE__*/external_React_default.a.createElement("i", {
    className: "fa fa-refresh fa-spin"
  });
  if (icon != null) return /*#__PURE__*/external_React_default.a.createElement("i", {
    className: "fa fa-".concat(icon)
  });
  return null;
}

function renderButtonClass(size) {
  if (size === 'small') return 'btn-sm';
  if (size === 'medium') return 'btn-md';
  if (size === 'large') return 'btn-lg';
  return '';
}

var components_Button_Button = function Button(_ref) {
  var value = _ref.value,
      icon = _ref.icon,
      type = _ref.type,
      size = _ref.size,
      onClick = _ref.onClick,
      isLoading = _ref.isLoading,
      isSubmit = _ref.isSubmit;
  return (
    /*#__PURE__*/
    // eslint-disable-next-line react/button-has-type
    external_React_default.a.createElement("button", {
      type: isSubmit ? 'submit' : 'button',
      className: "btn btn-".concat(type, " ").concat(renderButtonClass(size)),
      onClick: onClick,
      disabled: isLoading
    }, value, " ", renderIcon(icon, isLoading))
  );
};

components_Button_Button.defaultProps = {
  size: null,
  icon: null,
  isLoading: false,
  isSubmit: false,
  onClick: function onClick(i) {
    return i;
  }
};
components_Button_Button.propTypes = {
  value: prop_types_default.a.string.isRequired,
  icon: prop_types_default.a.string,
  type: prop_types_default.a.string.isRequired,
  onClick: prop_types_default.a.func,
  isLoading: prop_types_default.a.bool,
  isSubmit: prop_types_default.a.bool,
  size: prop_types_default.a.string
};
/* harmony default export */ var components_Button = (components_Button_Button);
// CONCATENATED MODULE: ./src/components/Calculators/Mini/ValidationRules/MiniCalculatorStep1Validation.js
function MiniCalculatorStep1Validation_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }



var Step1Model = function Step1Model() {
  MiniCalculatorStep1Validation_classCallCheck(this, Step1Model);

  this.postcode = '';
  this.huisnummer = '';
  this.toevoeging = '';
  this.areValidationMessagesVisible = false;
};
var MiniCalculatorStep1Validation_ruleSet = {
  postcode: must(beNotEmpty).withMessage('Vul uw postcode in.').and(minLength(6)).withMessage('Vul uw postcode in.'),
  huisnummer: must(beNotEmpty).withMessage('Vul uw huisnummer in.'),
  toevoeging: must(maxLength(6)).withMessage('Vul een geldige huisnummertoevoeging van maximaal 6 tekens in.')
};
// CONCATENATED MODULE: ./src/components/Calculators/Mini/MiniCalculatorStep1.jsx
function MiniCalculatorStep1_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MiniCalculatorStep1_typeof = function _typeof(obj) { return typeof obj; }; } else { MiniCalculatorStep1_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MiniCalculatorStep1_typeof(obj); }

function MiniCalculatorStep1_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function MiniCalculatorStep1_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { MiniCalculatorStep1_ownKeys(Object(source), true).forEach(function (key) { MiniCalculatorStep1_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { MiniCalculatorStep1_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function MiniCalculatorStep1_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MiniCalculatorStep1_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); } }

function MiniCalculatorStep1_createClass(Constructor, protoProps, staticProps) { if (protoProps) MiniCalculatorStep1_defineProperties(Constructor.prototype, protoProps); if (staticProps) MiniCalculatorStep1_defineProperties(Constructor, staticProps); return Constructor; }

function MiniCalculatorStep1_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MiniCalculatorStep1_setPrototypeOf(subClass, superClass); }

function MiniCalculatorStep1_setPrototypeOf(o, p) { MiniCalculatorStep1_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MiniCalculatorStep1_setPrototypeOf(o, p); }

function MiniCalculatorStep1_createSuper(Derived) { var hasNativeReflectConstruct = MiniCalculatorStep1_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MiniCalculatorStep1_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MiniCalculatorStep1_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MiniCalculatorStep1_possibleConstructorReturn(this, result); }; }

function MiniCalculatorStep1_possibleConstructorReturn(self, call) { if (call && (MiniCalculatorStep1_typeof(call) === "object" || typeof call === "function")) { return call; } return MiniCalculatorStep1_assertThisInitialized(self); }

function MiniCalculatorStep1_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MiniCalculatorStep1_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MiniCalculatorStep1_getPrototypeOf(o) { MiniCalculatorStep1_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MiniCalculatorStep1_getPrototypeOf(o); }

function MiniCalculatorStep1_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }













var MiniCalculatorStep1_MiniCalculatorStep1 = /*#__PURE__*/function (_Component) {
  MiniCalculatorStep1_inherits(MiniCalculatorStep1, _Component);

  var _super = MiniCalculatorStep1_createSuper(MiniCalculatorStep1);

  function MiniCalculatorStep1() {
    var _this;

    MiniCalculatorStep1_classCallCheck(this, MiniCalculatorStep1);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MiniCalculatorStep1_defineProperty(MiniCalculatorStep1_assertThisInitialized(_this), "state", new Step1Model());

    MiniCalculatorStep1_defineProperty(MiniCalculatorStep1_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    MiniCalculatorStep1_defineProperty(MiniCalculatorStep1_assertThisInitialized(_this), "handleChange", function (event) {
      var _this$setState, _this$setState2, _this$setState3;

      event.preventDefault();
      var _event$target = event.target,
          name = _event$target.name,
          type = _event$target.type,
          value = _event$target.value;

      switch (type) {
        case 'text':
          _this.setState((_this$setState = {}, MiniCalculatorStep1_defineProperty(_this$setState, name, value), MiniCalculatorStep1_defineProperty(_this$setState, "areValidationMessagesVisible", true), _this$setState));

          break;

        case 'tel':
        case 'number':
          if (/^[0-9,.]*$/.test(value)) _this.setState((_this$setState2 = {}, MiniCalculatorStep1_defineProperty(_this$setState2, name, value), MiniCalculatorStep1_defineProperty(_this$setState2, "areValidationMessagesVisible", true), _this$setState2));
          break;

        default:
          _this.setState((_this$setState3 = {}, MiniCalculatorStep1_defineProperty(_this$setState3, name, value), MiniCalculatorStep1_defineProperty(_this$setState3, "areValidationMessagesVisible", true), _this$setState3));

          break;
      }
    });

    MiniCalculatorStep1_defineProperty(MiniCalculatorStep1_assertThisInitialized(_this), "goToSecondStep", function (event) {
      event.preventDefault();

      _this.setState({
        areValidationMessagesVisible: true
      });

      if (isInstanceValid(_this.state, MiniCalculatorStep1Validation_ruleSet)) {
        saveToLocalStorage('mini-calculator-step1', Object(lodash["omit"])(_this.state, ['areValidationMessagesVisible']));

        _this.props.step1Callback(true);
      }
    });

    return _this;
  }

  MiniCalculatorStep1_createClass(MiniCalculatorStep1, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      var data = loadFromLocalStorage('mini-calculator-step1');
      this.setState(MiniCalculatorStep1_objectSpread({
        areValidationMessagesVisible: false
      }, data));
    }
  }, {
    key: "render",
    value: function render() {
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "calculator-step"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mini-calculator-address"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "postcode-item"
      }, /*#__PURE__*/external_React_default.a.createElement(MaskedTextInput_MaskedTextInput, {
        type: "text",
        name: "postcode",
        label: "Postcode",
        className: "form-control",
        placeholder: "6532 TJ",
        mask: "9999 aa",
        value: this.state.postcode,
        onChange: this.handleChange,
        onBlur: this.handleChange,
        id: this.generateUniqueId('postcode-'),
        tooltipId: "postcodeTooltip",
        labelHasTooltip: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: MiniCalculatorStep1Validation_ruleSet.postcode
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "postcodeTooltip"
      }, "Uw adresgegevens zijn nodig om de juiste ", /*#__PURE__*/external_React_default.a.createElement("br", null), "gasregiotoeslag te bepalen. Het totale gastarief is ", /*#__PURE__*/external_React_default.a.createElement("br", null), "namelijk afhankelijk van uw locatie.")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "huisnummer-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "tel",
        name: "huisnummer",
        label: "Huisnr.",
        className: "form-control calculator-small-width",
        placeholder: "20",
        value: this.state.huisnummer,
        onChange: this.handleChange,
        onBlur: this.handleChange,
        id: this.generateUniqueId('huisnummer-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: MiniCalculatorStep1Validation_ruleSet.huisnummer
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "toevoeging-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "toevoeging",
        label: "Toev.",
        className: "form-control",
        placeholder: "A",
        value: this.state.toevoeging,
        onChange: this.handleChange,
        onBlur: this.handleChange,
        id: this.generateUniqueId('toevoeging-') // showValidationMessage={this.state.areValidationMessagesVisible}
        // rules={ruleSet.toevoeging}

      }))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "validation-and-submit-section"
      }, /*#__PURE__*/external_React_default.a.createElement(components_Button, {
        value: "Volgende stap",
        size: "medium",
        type: "success",
        isLoading: this.props.isLoading,
        onClick: this.goToSecondStep,
        isSubmit: true
      }), /*#__PURE__*/external_React_default.a.createElement("p", {
        className: "text-bellow-submit-button"
      }, "Bespaar tot wel \u20AC650,- per jaar")));
    }
  }]);

  return MiniCalculatorStep1;
}(external_React_["Component"]);

MiniCalculatorStep1_defineProperty(MiniCalculatorStep1_MiniCalculatorStep1, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  step1Callback: prop_types_default.a.func.isRequired,
  isLoading: prop_types_default.a.bool.isRequired
});

/* harmony default export */ var Mini_MiniCalculatorStep1 = (MiniCalculatorStep1_MiniCalculatorStep1);
// CONCATENATED MODULE: ./src/components/Calculators/Mini/ValidationRules/MiniCalculatorStep2Validation.js
function MiniCalculatorStep2Validation_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }



var Step2Model = function Step2Model() {
  MiniCalculatorStep2Validation_classCallCheck(this, Step2Model);

  this.stroomLeverancier = null;
  this.isDubbeleMeter = false;
  this.hasSolarPanels = false;
  this.leveranciers = [];
  this.typeandId = null;
  this.isVerbruikIngevuld = true;
  this.numberOfPanels = 1;
  this.stroomVerbruik = null;
  this.hasStroom = true;
  this.solarProductionSingle = null;
  this.hasGas = true;
  this.verbruikGas = null;
  this.stroomVerbruikHoog = null;
  this.solarProductionHigh = null;
  this.stroomVerbruikLaag = null;
  this.solarProductionLow = null;
  this.areValidationMessagesVisible = false;
  this.isEnkel = true;
  this.showGeschatOptions = false;
  this.enableSolarProduction = false;
  this.verbruik = true;
};
var MiniCalculatorStep2Validation_ruleSetFactory = function ruleSetFactory(hasStroom, hasGas, hasSolarPanels, isDubbeleMeter, enableSolarProduction, showGeschatOptions) {
  return {
    stroomLeverancier: must(beNotEmpty).withMessage('Kies huidige leverancier.'),
    typeandId: must(beNotEmpty).when(function () {
      return beTrue(showGeschatOptions);
    }).withMessage('Typepand is verlicht.'),
    stroomVerbruik: must(beNotEmpty).when(function () {
      return beTrue(hasStroom) && !beTrue(enableSolarProduction);
    }).withMessage('Vul uw stroom verbruik in. Wilt u alleen gas vergelijken? Vink dan het groene vinkje uit.'),
    solarProductionSingle: must(beNotEmpty).when(function () {
      return beTrue(hasSolarPanels) && !beTrue(isDubbeleMeter);
    }).withMessage('Vul uw energie opwek in.'),
    verbruikGas: must(beNotEmpty).when(function () {
      return beTrue(hasGas) && !beTrue(hasStroom);
    }).withMessage('Vul uw gasverbruik in. Verbruikt u alleen stroom? Vink dan het vinkje bij gas uit.').and(function () {
      return false;
    }).when(function () {
      return !beTrue(hasGas);
    }).withMessage('Heeft u wel een gasaansluiting, maar verbruikt u geen gas? Vul dan als verbruik “1” in.'),
    stroomVerbruikHoog: must(beNotEmpty).when(function () {
      return beTrue(isDubbeleMeter) && !beTrue(enableSolarProduction);
    }).withMessage('Vul normaalverbruik in.'),
    stroomVerbruikLaag: must(beNotEmpty).when(function () {
      return beTrue(isDubbeleMeter) && !beTrue(enableSolarProduction);
    }).withMessage('Vul dalverbruik in.'),
    solarProductionHigh: must(beNotEmpty).when(function () {
      return beTrue(isDubbeleMeter) && beTrue(hasSolarPanels);
    }).withMessage('Vul uw energie opwek in.'),
    solarProductionLow: must(beNotEmpty).when(function () {
      return beTrue(isDubbeleMeter) && beTrue(hasSolarPanels);
    }).withMessage('Vul uw energie opwek in.')
  };
};
// CONCATENATED MODULE: ./src/components/Calculators/Mini/MiniCalculatorStep2.jsx
function MiniCalculatorStep2_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MiniCalculatorStep2_typeof = function _typeof(obj) { return typeof obj; }; } else { MiniCalculatorStep2_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MiniCalculatorStep2_typeof(obj); }

function MiniCalculatorStep2_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function MiniCalculatorStep2_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { MiniCalculatorStep2_ownKeys(Object(source), true).forEach(function (key) { MiniCalculatorStep2_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { MiniCalculatorStep2_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function MiniCalculatorStep2_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MiniCalculatorStep2_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); } }

function MiniCalculatorStep2_createClass(Constructor, protoProps, staticProps) { if (protoProps) MiniCalculatorStep2_defineProperties(Constructor.prototype, protoProps); if (staticProps) MiniCalculatorStep2_defineProperties(Constructor, staticProps); return Constructor; }

function MiniCalculatorStep2_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MiniCalculatorStep2_setPrototypeOf(subClass, superClass); }

function MiniCalculatorStep2_setPrototypeOf(o, p) { MiniCalculatorStep2_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MiniCalculatorStep2_setPrototypeOf(o, p); }

function MiniCalculatorStep2_createSuper(Derived) { var hasNativeReflectConstruct = MiniCalculatorStep2_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MiniCalculatorStep2_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MiniCalculatorStep2_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MiniCalculatorStep2_possibleConstructorReturn(this, result); }; }

function MiniCalculatorStep2_possibleConstructorReturn(self, call) { if (call && (MiniCalculatorStep2_typeof(call) === "object" || typeof call === "function")) { return call; } return MiniCalculatorStep2_assertThisInitialized(self); }

function MiniCalculatorStep2_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MiniCalculatorStep2_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MiniCalculatorStep2_getPrototypeOf(o) { MiniCalculatorStep2_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MiniCalculatorStep2_getPrototypeOf(o); }

function MiniCalculatorStep2_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }


















var MiniCalculatorStep2_MiniCalculatorStep2 = /*#__PURE__*/function (_Component) {
  MiniCalculatorStep2_inherits(MiniCalculatorStep2, _Component);

  var _super = MiniCalculatorStep2_createSuper(MiniCalculatorStep2);

  function MiniCalculatorStep2() {
    var _this;

    MiniCalculatorStep2_classCallCheck(this, MiniCalculatorStep2);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "state", new Step2Model());

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "getData", function () {
      // get leveranciers data
      axios_default.a.get('/?action=ez_api_request&controller=Wordpress&method=FetchLeveranciers').then(function (res) {
        if (res.status === 200) {
          if (res.data != null) {
            var data = loadFromLocalStorage('mini-calculator-step2');

            _this.setState(MiniCalculatorStep2_objectSpread({
              leveranciers: JSON.parse(res.data)
            }, data));
          } else {
            console.log('Error: Leverancier data not available');
          }
        } else {
          console.log('Error: API not available');
        }
      });
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "toggleIsDubbeleMeterCheckbox", function () {
      _this.setState(function (state) {
        return {
          isDubbeleMeter: !state.isDubbeleMeter,
          isEnkel: !state.isEnkel
        };
      });
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "toggleHasSolarPanelsCheckbox", function () {
      _this.setState(function (state) {
        return {
          hasSolarPanels: !state.hasSolarPanels,
          enableSolarProduction: !state.enableSolarProduction
        };
      });
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "toggleHasStroomCheckbox", function () {
      _this.setState(function (state) {
        var res = {
          hasStroom: !state.hasStroom,
          areValidationMessagesVisible: true
        };
        if (res.hasStroom === false) res.hasGas = true;
        return res;
      });
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "toggleHasGasCheckbox", function () {
      _this.setState(function (state) {
        var res = {
          hasGas: !state.hasGas,
          areValidationMessagesVisible: true
        };
        if (res.hasGas === false) res.hasStroom = true;
        return res;
      });
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "toggleLeverancierSelectList", function (item) {
      _this.setState({
        stroomLeverancier: item
      });
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "toggleTypeandSelectList", function (item) {
      _this.setState(function (state) {
        var res = {
          typeandId: item
        };

        if (state.enableSolarProduction && state.hasSolarPanels) {
          switch (item) {
            case 1:
              res.stroomVerbruik = 3500;
              res.verbruikGas = 1700;
              res.stroomVerbruikHoog = 1900;
              res.stroomVerbruikLaag = 1600;
              break;

            case 2:
              res.stroomVerbruik = 6500;
              res.verbruikGas = 2000;
              res.stroomVerbruikHoog = 3900;
              res.stroomVerbruikLaag = 2600;
              break;

            case 3:
              res.stroomVerbruik = 16000;
              res.verbruikGas = 4000;
              res.stroomVerbruikHoog = 8000;
              res.stroomVerbruikLaag = 8000;
              break;

            case 4:
              res.stroomVerbruik = 50000;
              res.verbruikGas = 10000;
              res.stroomVerbruikHoog = 30000;
              res.stroomVerbruikLaag = 20000;
              break;

            case 5:
              res.stroomVerbruik = 70000;
              res.verbruikGas = 20000;
              res.stroomVerbruikHoog = 42000;
              res.stroomVerbruikLaag = 28000;
              break;

            default:
              break;
          }
        }

        return res;
      });
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "decreaseNumber", function () {
      _this.setState(function (_ref) {
        var numberOfPanels = _ref.numberOfPanels;
        return {
          numberOfPanels: numberOfPanels > 1 ? numberOfPanels - 1 : numberOfPanels,
          solarProductionSingle: numberOfPanels > 1 ? 250 * (numberOfPanels - 1) : 250 * numberOfPanels,
          solarProductionHigh: numberOfPanels > 1 ? 200 * (numberOfPanels - 1) : 200 * numberOfPanels,
          solarProductionLow: numberOfPanels > 1 ? 50 * (numberOfPanels - 1) : 50 * numberOfPanels
        };
      });
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "increaseNumber", function () {
      _this.setState(function (_ref2) {
        var numberOfPanels = _ref2.numberOfPanels;
        return {
          numberOfPanels: numberOfPanels + 1,
          solarProductionSingle: 250 * (numberOfPanels + 1),
          solarProductionHigh: 200 * (numberOfPanels + 1),
          solarProductionLow: 50 * (numberOfPanels + 1)
        };
      });
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "handleChange", function (event) {
      var _this$setState, _this$setState2, _this$setState3;

      event.preventDefault();
      var _event$target = event.target,
          name = _event$target.name,
          type = _event$target.type,
          value = _event$target.value;

      switch (type) {
        case 'text':
          _this.setState((_this$setState = {}, MiniCalculatorStep2_defineProperty(_this$setState, name, value), MiniCalculatorStep2_defineProperty(_this$setState, "areValidationMessagesVisible", true), _this$setState));

          break;

        case 'tel':
        case 'number':
          if (/^[0-9,.]*$/.test(value)) _this.setState((_this$setState2 = {}, MiniCalculatorStep2_defineProperty(_this$setState2, name, value), MiniCalculatorStep2_defineProperty(_this$setState2, "areValidationMessagesVisible", true), _this$setState2));
          break;

        default:
          _this.setState((_this$setState3 = {}, MiniCalculatorStep2_defineProperty(_this$setState3, name, value), MiniCalculatorStep2_defineProperty(_this$setState3, "areValidationMessagesVisible", true), _this$setState3));

          break;
      }
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "handleLinkBelowClick", function (event) {
      event.preventDefault();

      _this.setState(function (state) {
        var res = {
          verbruik: !state.verbruik,
          showGeschatOptions: !state.showGeschatOptions,
          solarProductionSingle: state.enableSolarProduction && state.hasSolarPanels ? 250 : '',
          solarProductionHigh: state.enableSolarProduction && state.hasSolarPanels ? 200 : '',
          solarProductionLow: state.enableSolarProduction && state.hasSolarPanels ? 50 : ''
        };
        return res;
      });
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "goToFirstStep", function (event) {
      event.preventDefault();

      _this.props.step2Callback(true);
    });

    MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_assertThisInitialized(_this), "submitStep2", function (event) {
      event.preventDefault();

      _this.setState({
        areValidationMessagesVisible: true
      });

      var _this$state = _this.state,
          hasStroom = _this$state.hasStroom,
          hasGas = _this$state.hasGas,
          hasSolarPanels = _this$state.hasSolarPanels,
          isDubbeleMeter = _this$state.isDubbeleMeter,
          enableSolarProduction = _this$state.enableSolarProduction,
          showGeschatOptions = _this$state.showGeschatOptions,
          stroomLeverancier = _this$state.stroomLeverancier,
          stroomVerbruik = _this$state.stroomVerbruik,
          stroomVerbruikHoog = _this$state.stroomVerbruikHoog,
          stroomVerbruikLaag = _this$state.stroomVerbruikLaag,
          verbruikGas = _this$state.verbruikGas,
          solarProductionHigh = _this$state.solarProductionHigh,
          solarProductionLow = _this$state.solarProductionLow,
          solarProductionSingle = _this$state.solarProductionSingle,
          isVerbruikIngevuld = _this$state.isVerbruikIngevuld;

      if (isInstanceValid(_this.state, MiniCalculatorStep2Validation_ruleSetFactory(hasStroom, hasGas, hasSolarPanels, isDubbeleMeter, enableSolarProduction, showGeschatOptions))) {
        saveToLocalStorage('mini-calculator-step2', Object(lodash["omit"])(_this.state, ['leveranciers', 'areValidationMessagesVisible']));
        var _this$props$miniCalcu = _this.props.miniCalculatorStep1State,
            postcode = _this$props$miniCalcu.postcode,
            huisnummer = _this$props$miniCalcu.huisnummer,
            toevoeging = _this$props$miniCalcu.toevoeging;
        var model = new SubmitUrlModel(_this.props.submitUrl, // https://energie-zakelijk.nl/energie-vergelijken-mkb?iframepage=mkb-energie-vergelijken%2Fberekening
        postcode, huisnummer, toevoeging, null, stroomLeverancier, isDubbeleMeter, stroomVerbruikHoog, stroomVerbruikLaag, hasSolarPanels, solarProductionLow, solarProductionHigh, stroomVerbruik, hasStroom, solarProductionSingle, hasGas, isVerbruikIngevuld, verbruikGas, false);
        generateFinalUrl(model);
      }
    });

    return _this;
  }

  MiniCalculatorStep2_createClass(MiniCalculatorStep2, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      this.getData();
      this.setState({
        areValidationMessagesVisible: false
      });
    }
  }, {
    key: "render",
    value: function render() {
      var _this$state2 = this.state,
          hasStroom = _this$state2.hasStroom,
          stroomVerbruik = _this$state2.stroomVerbruik,
          hasGas = _this$state2.hasGas,
          verbruikGas = _this$state2.verbruikGas,
          hasSolarPanels = _this$state2.hasSolarPanels,
          isDubbeleMeter = _this$state2.isDubbeleMeter,
          enableSolarProduction = _this$state2.enableSolarProduction,
          showGeschatOptions = _this$state2.showGeschatOptions;
      var ruleSet = MiniCalculatorStep2Validation_ruleSetFactory(hasStroom, hasGas, hasSolarPanels, isDubbeleMeter, enableSolarProduction, showGeschatOptions);
      var linkBelowText = !this.state.verbruik ? 'Verbruik zelf invullen' : 'Help mij schatten';
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "calculator-step"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "info-block"
      }, /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info"
      }), "Voor een persoonlijke vergelijking hebben we nog", ' ', /*#__PURE__*/external_React_default.a.createElement("strong", null, "enkele gegevens nodig")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "leverancier-block"
      }, /*#__PURE__*/external_React_default.a.createElement(LeverancierSelectList_LeverancierSelectList, {
        label: "Uw leverancier",
        selectedItemId: this.state.stroomLeverancier,
        onItemSelected: this.toggleLeverancierSelectList,
        items: this.state.leveranciers.map(function (x) {
          return {
            id: x.id,
            label: x.name
          };
        }),
        tooltipId: "leverancierTooltip",
        labelHasTooltip: true,
        name: "stroomLeverancier",
        id: this.generateUniqueId('leverancier-select-dropdown-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.stroomLeverancier
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "leverancierTooltip"
      }, "Sommige aanbiedingen gelden alleen voor nieuwe ", /*#__PURE__*/external_React_default.a.createElement("br", null), "klanten. Door uw huidige leverancier in te vullen ", /*#__PURE__*/external_React_default.a.createElement("br", null), "houden we hier rekening mee.")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "checkboxes-block"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "dubbele-meter-checkbox"
      }, /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: "checkbox",
        id: this.generateUniqueId('is-dubbele-meter-'),
        name: "isDubbeleMeter",
        label: "Ik heb een dubbele meter",
        isChecked: this.state.isDubbeleMeter,
        handleCheckboxChange: this.toggleIsDubbeleMeterCheckbox
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "solar-panel-checkbox"
      }, /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: "checkbox",
        id: this.generateUniqueId('has-solar-panels-'),
        name: "hasSolarPanels",
        label: "Ik heb zonnepanelen",
        isChecked: this.state.hasSolarPanels,
        handleCheckboxChange: this.toggleHasSolarPanelsCheckbox
      }))), this.state.showGeschatOptions && /*#__PURE__*/external_React_default.a.createElement("div", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "typepands-block"
      }, /*#__PURE__*/external_React_default.a.createElement(SelectList_SelectList, {
        label: "Selecteer type bedrijf",
        selectedItemId: this.state.typeandId,
        onItemSelected: this.toggleTypeandSelectList,
        items: [{
          id: 1,
          label: 'ZZP',
          itemIcon: 'option-icon option-zzp'
        }, {
          id: 2,
          label: 'Eenmanszaak',
          itemIcon: 'option-icon option-eenmanszaak'
        }, {
          id: 3,
          label: 'Winkel',
          itemIcon: 'option-icon option-winkel'
        }, {
          id: 4,
          label: 'Kantoorpand',
          itemIcon: 'option-icon option-kantoorpand'
        }, {
          id: 5,
          label: 'Industrieel',
          itemIcon: 'option-icon option-industrieel'
        }],
        id: this.generateUniqueId('typepands-select-'),
        name: "typeandId",
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.typeandId
      })), this.state.enableSolarProduction && this.state.hasSolarPanels && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block"
      }, /*#__PURE__*/external_React_default.a.createElement(NumberInput_NumberInput, {
        label: "Aantal panelen",
        id: this.generateUniqueId('number-of-panels-'),
        value: this.state.numberOfPanels,
        handleDecreaseNumber: this.decreaseNumber,
        handleIncreaseNumber: this.increaseNumber
      }))), this.state.isEnkel && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "calculator-single-meter-block has-solar-panels"
      }, /*#__PURE__*/external_React_default.a.createElement("label", null, "Verbruik", ' ', /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": "verbruikTooltip"
      }), this.state.enableSolarProduction && this.state.hasSolarPanels && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "solar-panel-label"
      }, "Teruglevering"), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "verbruikTooltip"
      }, "Wilt u alleen stroom of gas vergelijken? Vink dan ", /*#__PURE__*/external_React_default.a.createElement("br", null), "van een van beide het groene vinkje uit.")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block stroom-verbruik"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        checkboxId: this.generateUniqueId('has-stroom-'),
        checkboxLabel: "hasStroom",
        isChecked: hasStroom,
        handleCheckboxChange: this.toggleHasStroomCheckbox,
        id: this.generateUniqueId('stroom-verbruik-'),
        value: stroomVerbruik,
        onChange: this.handleChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "fa fa-bolt",
        hasCheckbox: true,
        hasInputIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.stroomVerbruik
      })), this.state.enableSolarProduction && this.state.hasSolarPanels && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block stroom-energie-production"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('solar-production-single-'),
        value: this.state.solarProductionSingle,
        onChange: this.handleChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "sun-icon",
        hasInputIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.solarProductionSingle
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block gas-verbruik"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        checkboxId: this.generateUniqueId('has-gas-'),
        checkboxLabel: "hasGas",
        isChecked: hasGas,
        handleCheckboxChange: this.toggleHasGasCheckbox,
        id: this.generateUniqueId('verbruik-gas-single-meter-'),
        value: verbruikGas,
        onChange: this.handleChange,
        type: "tel",
        unit: "m3",
        inputIcon: "fa fa-fire",
        hasCheckbox: true,
        hasInputIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.verbruikGas
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "toggle-verbruik"
      }, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "link text-underline",
        onClick: this.handleLinkBelowClick
      }, linkBelowText), /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": "schatOptionsTooltip"
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "schatOptionsTooltip"
      }, "Weet u uw jaarverbruik en/of opwek niet? Klik dan hier ", /*#__PURE__*/external_React_default.a.createElement("br", null), "en selecteer uw type bedrijf en/of aantal ", /*#__PURE__*/external_React_default.a.createElement("br", null), "zonnepanelen voor een nauwkeurige schatting."))), !this.state.isEnkel && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "calculator-double-meter-block"
      }, /*#__PURE__*/external_React_default.a.createElement("label", null, "Verbruik", ' ', /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": "verbruikTooltip"
      }), /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "solar-panel-label"
      }, "Teruglevering"), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "verbruikTooltip"
      }, "Wilt u alleen stroom of gas vergelijken? Vink dan ", /*#__PURE__*/external_React_default.a.createElement("br", null), "van een van beide het groene vinkje uit.")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block stroom-verbruik-hoog"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('stroom-verbruik-hoog-'),
        labelBelow: "Normaaltarief",
        value: this.state.stroomVerbruikHoog,
        onChange: this.handleChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "fa fa-bolt",
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.stroomVerbruikHoog
      })), this.state.enableSolarProduction && this.state.hasSolarPanels && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block stroom-energie-production-hoog"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('solar-production-high-'),
        labelBelow: "Normaaltarief",
        value: this.state.solarProductionHigh,
        onChange: this.handleChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "sun-icon",
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.solarProductionHigh
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block stroom-verbruik-laag"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('stroom-verbruik-laag-'),
        labelBelow: "Daltarief",
        value: this.state.stroomVerbruikLaag,
        onChange: this.handleChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "fa fa-bolt",
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.stroomVerbruikLaag
      })), this.state.enableSolarProduction && this.state.hasSolarPanels && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block stroom-energie-production-laag"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('solar-production-low-'),
        labelBelow: "Daltarief",
        value: this.state.solarProductionLow,
        onChange: this.handleChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "sun-icon",
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.solarProductionLow
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block gas-verbruik"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        checkboxId: this.generateUniqueId('has-gas-'),
        checkboxLabel: "hasGas",
        isChecked: this.state.hasGas,
        handleCheckboxChange: this.toggleHasGasCheckbox,
        id: this.generateUniqueId('verbruik-gas-single-meter-'),
        value: this.state.verbruikGas,
        onChange: this.handleChange,
        type: "tel",
        unit: "m3",
        inputIcon: "fa fa-fire",
        labelBelow: "Gas",
        hasCheckbox: true,
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.verbruikGas
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "toggle-verbruik"
      }, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "link text-underline",
        onClick: this.handleLinkBelowClick
      }, linkBelowText), /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": "schatOptionsTooltip"
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "schatOptionsTooltip"
      }, "Weet u uw jaarverbruik en/of opwek wel? Klik hier om ", /*#__PURE__*/external_React_default.a.createElement("br", null), "deze zelf in te vullen. Zo kunnen wij u de meest ", /*#__PURE__*/external_React_default.a.createElement("br", null), "voordelige aanbiedingen tonen."))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "validation-and-submit-section"
      }, /*#__PURE__*/external_React_default.a.createElement(components_Button, {
        value: "Start vergelijken",
        size: "medium",
        type: "success",
        isLoading: this.props.isLoading,
        onClick: this.submitStep2,
        isSubmit: true
      }), /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "text-bellow-button",
        onClick: this.goToFirstStep
      }, "Terug")));
    }
  }]);

  return MiniCalculatorStep2;
}(external_React_["Component"]);

MiniCalculatorStep2_defineProperty(MiniCalculatorStep2_MiniCalculatorStep2, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  isLoading: prop_types_default.a.bool.isRequired,
  step2Callback: prop_types_default.a.func.isRequired,
  miniCalculatorStep1State: prop_types_default.a.object.isRequired,
  submitUrl: prop_types_default.a.string.isRequired
});

/* harmony default export */ var Mini_MiniCalculatorStep2 = (MiniCalculatorStep2_MiniCalculatorStep2);
// CONCATENATED MODULE: ./src/components/Calculators/Mini/MiniCalculatorInfoSection.jsx




var MiniCalculatorInfoSection_MiniCalculatorInfoSection = function MiniCalculatorInfoSection() {
  return /*#__PURE__*/external_React_default.a.createElement("div", {
    className: "footer-info-section"
  }, /*#__PURE__*/external_React_default.a.createElement("p", null, "Energie-Zakelijk.nl hecht veel waarde aan uw privacy.", ' ', /*#__PURE__*/external_React_default.a.createElement("a", {
    href: "/privacy-en-cookieverklaring",
    target: "_blank"
  }, "Lees onze privacyverklaring"), "."));
};

/* harmony default export */ var Mini_MiniCalculatorInfoSection = (MiniCalculatorInfoSection_MiniCalculatorInfoSection);
// EXTERNAL MODULE: ./src/sass/components/miniCalculator.scss
var components_miniCalculator = __webpack_require__(101);

// CONCATENATED MODULE: ./src/components/Calculators/Mini/MiniCalculator.jsx
function MiniCalculator_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MiniCalculator_typeof = function _typeof(obj) { return typeof obj; }; } else { MiniCalculator_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MiniCalculator_typeof(obj); }

function MiniCalculator_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MiniCalculator_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); } }

function MiniCalculator_createClass(Constructor, protoProps, staticProps) { if (protoProps) MiniCalculator_defineProperties(Constructor.prototype, protoProps); if (staticProps) MiniCalculator_defineProperties(Constructor, staticProps); return Constructor; }

function MiniCalculator_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MiniCalculator_setPrototypeOf(subClass, superClass); }

function MiniCalculator_setPrototypeOf(o, p) { MiniCalculator_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MiniCalculator_setPrototypeOf(o, p); }

function MiniCalculator_createSuper(Derived) { var hasNativeReflectConstruct = MiniCalculator_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MiniCalculator_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MiniCalculator_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MiniCalculator_possibleConstructorReturn(this, result); }; }

function MiniCalculator_possibleConstructorReturn(self, call) { if (call && (MiniCalculator_typeof(call) === "object" || typeof call === "function")) { return call; } return MiniCalculator_assertThisInitialized(self); }

function MiniCalculator_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MiniCalculator_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MiniCalculator_getPrototypeOf(o) { MiniCalculator_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MiniCalculator_getPrototypeOf(o); }

function MiniCalculator_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }











var MiniCalculator_MiniCalculator = /*#__PURE__*/function (_Component) {
  MiniCalculator_inherits(MiniCalculator, _Component);

  var _super = MiniCalculator_createSuper(MiniCalculator);

  function MiniCalculator() {
    var _this;

    MiniCalculator_classCallCheck(this, MiniCalculator);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MiniCalculator_defineProperty(MiniCalculator_assertThisInitialized(_this), "state", {
      isFirstStepVisible: true,
      isSecondStepVisible: false,
      step: 1,
      title: 'Bekijk hier uw besparing'
    });

    MiniCalculator_defineProperty(MiniCalculator_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    MiniCalculator_defineProperty(MiniCalculator_assertThisInitialized(_this), "step1Callback", function (value) {
      _this.setState(function () {
        var res = {
          isFirstStepVisible: !value,
          isSecondStepVisible: value
        };

        if (res.isFirstStepVisible) {
          res.step = 1;
          res.title = 'Bekijk hier uw besparing';
        } else {
          res.step = 2;
          res.title = 'Uw verbruik';
        }

        return res;
      });
    });

    MiniCalculator_defineProperty(MiniCalculator_assertThisInitialized(_this), "step2Callback", function (value) {
      _this.setState(function () {
        var res = {
          isFirstStepVisible: value,
          isSecondStepVisible: !value
        };

        if (res.isFirstStepVisible) {
          res.step = 1;
          res.title = 'Bekijk hier uw besparing';
        } else {
          res.step = 2;
          res.title = 'Uw verbruik';
        }

        return res;
      });
    });

    MiniCalculator_defineProperty(MiniCalculator_assertThisInitialized(_this), "handleFormSubmit", function (event) {
      event.preventDefault(); // eslint-disable-next-line no-console

      console.log('submit', event);
    });

    return _this;
  }

  MiniCalculator_createClass(MiniCalculator, [{
    key: "render",
    value: function render() {
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mini-calculator-container"
      }, /*#__PURE__*/external_React_default.a.createElement("section", {
        className: "mini-calculator"
      }, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "/voorwaarden-laagste-prijs-garantie",
        target: "_blank",
        className: "laagste-prijs-garantie-label"
      }), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "section-header"
      }, /*#__PURE__*/external_React_default.a.createElement("h6", {
        className: "bold"
      }, "Stap ", this.state.step, "/2"), /*#__PURE__*/external_React_default.a.createElement("h2", {
        className: "bold"
      }, this.state.title)), /*#__PURE__*/external_React_default.a.createElement("form", {
        className: "mini-calculator-form",
        onSubmit: this.handleFormSubmit
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "calculator-steps"
      }, this.state.isFirstStepVisible && /*#__PURE__*/external_React_default.a.createElement(Mini_MiniCalculatorStep1, {
        uniqueId: this.props.uniqueId,
        step1Callback: this.step1Callback,
        isLoading: this.props.isLoading
      }), this.state.isSecondStepVisible && /*#__PURE__*/external_React_default.a.createElement(Mini_MiniCalculatorStep2, {
        uniqueId: this.props.uniqueId,
        step2Callback: this.step2Callback,
        submitUrl: this.props.submitUrl,
        miniCalculatorStep1State: loadFromLocalStorage('mini-calculator-step1')
      })))), /*#__PURE__*/external_React_default.a.createElement(Mini_MiniCalculatorInfoSection, null));
    }
  }]);

  return MiniCalculator;
}(external_React_["Component"]);

MiniCalculator_defineProperty(MiniCalculator_MiniCalculator, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  submitUrl: prop_types_default.a.string.isRequired,
  isLoading: prop_types_default.a.bool
});

MiniCalculator_defineProperty(MiniCalculator_MiniCalculator, "defaultProps", {
  isLoading: false
});

/* harmony default export */ var Mini_MiniCalculator = (MiniCalculator_MiniCalculator);
// EXTERNAL MODULE: ./src/sass/components/radioButtonList.scss
var radioButtonList = __webpack_require__(103);

// CONCATENATED MODULE: ./src/components/RadioButtonList/index.jsx
function RadioButtonList_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { RadioButtonList_typeof = function _typeof(obj) { return typeof obj; }; } else { RadioButtonList_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return RadioButtonList_typeof(obj); }

function RadioButtonList_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function RadioButtonList_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); } }

function RadioButtonList_createClass(Constructor, protoProps, staticProps) { if (protoProps) RadioButtonList_defineProperties(Constructor.prototype, protoProps); if (staticProps) RadioButtonList_defineProperties(Constructor, staticProps); return Constructor; }

function RadioButtonList_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) RadioButtonList_setPrototypeOf(subClass, superClass); }

function RadioButtonList_setPrototypeOf(o, p) { RadioButtonList_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return RadioButtonList_setPrototypeOf(o, p); }

function RadioButtonList_createSuper(Derived) { var hasNativeReflectConstruct = RadioButtonList_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = RadioButtonList_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = RadioButtonList_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return RadioButtonList_possibleConstructorReturn(this, result); }; }

function RadioButtonList_possibleConstructorReturn(self, call) { if (call && (RadioButtonList_typeof(call) === "object" || typeof call === "function")) { return call; } return RadioButtonList_assertThisInitialized(self); }

function RadioButtonList_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function RadioButtonList_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function RadioButtonList_getPrototypeOf(o) { RadioButtonList_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return RadioButtonList_getPrototypeOf(o); }

function RadioButtonList_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }











var RadioButtonList_RadioButtonList = /*#__PURE__*/function (_Component) {
  RadioButtonList_inherits(RadioButtonList, _Component);

  var _super = RadioButtonList_createSuper(RadioButtonList);

  function RadioButtonList() {
    var _this;

    RadioButtonList_classCallCheck(this, RadioButtonList);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    RadioButtonList_defineProperty(RadioButtonList_assertThisInitialized(_this), "state", {
      radioListValue: null
    });

    RadioButtonList_defineProperty(RadioButtonList_assertThisInitialized(_this), "onRadioListChangeValue", function (event) {
      var handleRadioButtonChange = _this.props.handleRadioButtonChange;
      handleRadioButtonChange(event);
    });

    RadioButtonList_defineProperty(RadioButtonList_assertThisInitialized(_this), "handleItemClick", function (event, itemLabel) {
      event.preventDefault();

      _this.props.onItemSelected(itemLabel);
    });

    return _this;
  }

  RadioButtonList_createClass(RadioButtonList, [{
    key: "componentDidUpdate",
    value: function componentDidUpdate() {
      if (this.props.value !== this.state.radioListValue) {
        // eslint-disable-next-line react/no-did-update-set-state
        this.setState({
          radioListValue: this.props.value
        });
      }
    }
  }, {
    key: "render",
    value: function render() {
      var _this2 = this;

      var _this$props = this.props,
          id = _this$props.id,
          name = _this$props.name,
          className = _this$props.className,
          rules = _this$props.rules,
          showValidationMessage = _this$props.showValidationMessage,
          value = _this$props.value,
          items = _this$props.items,
          selectedItem = _this$props.selectedItem,
          placeholder = _this$props.placeholder,
          idForPenultimate = _this$props.idForPenultimate,
          idForLatest = _this$props.idForLatest;
      var first3Items = items !== undefined ? items.slice(0, 3) : null;
      var fourthItem = items !== undefined ? items.slice(3, 4) : null;
      var otherItems = items !== undefined ? items.slice(4, items.length) : null;
      var item = !isNullOrWs(selectedItem) ? otherItems.find(function (x) {
        return x.label === selectedItem;
      }) : null;
      var validationMessage = !Object(lodash["isEmpty"])(rules) && showValidationMessage ? validateProp(value, rules) : null;
      var isValid = Object(lodash["isEmpty"])(validationMessage);
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "radio-button-items",
        onChange: this.onRadioListChangeValue,
        value: this.state.radioListValue,
        htmlFor: id
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "first-items"
      }, first3Items.map(function (i) {
        return /*#__PURE__*/external_React_default.a.createElement("div", {
          className: className
        }, /*#__PURE__*/external_React_default.a.createElement("input", {
          type: "radio",
          value: i.label,
          id: i.id,
          checked: _this2.state.radioListValue === i.label
        }), /*#__PURE__*/external_React_default.a.createElement("label", {
          htmlFor: i.id
        }, i.label));
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "second-items"
      }, fourthItem.map(function (i) {
        return /*#__PURE__*/external_React_default.a.createElement("div", {
          className: className
        }, /*#__PURE__*/external_React_default.a.createElement("input", {
          type: "radio",
          value: i.label,
          id: i.id,
          checked: _this2.state.radioListValue === i.label
        }), /*#__PURE__*/external_React_default.a.createElement("label", {
          htmlFor: i.id
        }, i.label));
      }), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "radio-button-item-with-dropdown"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: className
      }, /*#__PURE__*/external_React_default.a.createElement("input", {
        type: "radio",
        value: "Anders:",
        id: idForPenultimate,
        name: name,
        checked: this.state.radioListValue === 'Anders:'
      }), /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: idForPenultimate
      }, "Anders:")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "radio-button-dropdown"
      }, /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown, {
        drop: "down",
        name: name
      }, /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown.Toggle, {
        caret: true
      }, item != null ? /*#__PURE__*/external_React_default.a.createElement("span", null, item.label) : /*#__PURE__*/external_React_default.a.createElement("span", null, placeholder)), /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown.Menu, {
        as: "ul"
      }, otherItems.map(function (i) {
        return /*#__PURE__*/external_React_default.a.createElement(esm_DropdownItem, {
          eventKey: i.id,
          onClick: function onClick(event) {
            return _this2.handleItemClick(event, i.label);
          }
        }, /*#__PURE__*/external_React_default.a.createElement("span", null, i.label));
      }))))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: className
      }, /*#__PURE__*/external_React_default.a.createElement("input", {
        type: "radio",
        value: "Ik heb nu geen energieleverancier",
        id: idForLatest,
        name: name,
        checked: this.state.radioListValue === 'Ik heb nu geen energieleverancier'
      }), /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: idForLatest
      }, "Ik heb nu geen energieleverancier"))), !isValid && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "radio-button-list-validation"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: !isValid ? 'validation-tooltip active' : 'validation-tooltip'
      }, validationMessage)));
    }
  }]);

  return RadioButtonList;
}(external_React_["Component"]);

RadioButtonList_defineProperty(RadioButtonList_RadioButtonList, "propTypes", {
  id: prop_types_default.a.string.isRequired,
  name: prop_types_default.a.string.isRequired,
  className: prop_types_default.a.string.isRequired,
  handleRadioButtonChange: prop_types_default.a.func.isRequired,
  onItemSelected: prop_types_default.a.func.isRequired,
  value: prop_types_default.a.bool,
  items: prop_types_default.a.array.isRequired,
  placeholder: prop_types_default.a.string,
  selectedItem: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]),
  rules: prop_types_default.a.object,
  showValidationMessage: prop_types_default.a.bool,
  idForPenultimate: prop_types_default.a.number,
  idForLatest: prop_types_default.a.number
});

RadioButtonList_defineProperty(RadioButtonList_RadioButtonList, "defaultProps", {
  selectedItem: null,
  placeholder: 'Maak uw keuze',
  value: false,
  idForPenultimate: -2,
  idForLatest: -1,
  rules: {},
  showValidationMessage: false
});


// CONCATENATED MODULE: ./src/components/InputGroup1/index.jsx
function InputGroup1_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { InputGroup1_typeof = function _typeof(obj) { return typeof obj; }; } else { InputGroup1_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return InputGroup1_typeof(obj); }

function InputGroup1_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function InputGroup1_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); } }

function InputGroup1_createClass(Constructor, protoProps, staticProps) { if (protoProps) InputGroup1_defineProperties(Constructor.prototype, protoProps); if (staticProps) InputGroup1_defineProperties(Constructor, staticProps); return Constructor; }

function InputGroup1_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) InputGroup1_setPrototypeOf(subClass, superClass); }

function InputGroup1_setPrototypeOf(o, p) { InputGroup1_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return InputGroup1_setPrototypeOf(o, p); }

function InputGroup1_createSuper(Derived) { var hasNativeReflectConstruct = InputGroup1_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = InputGroup1_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = InputGroup1_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return InputGroup1_possibleConstructorReturn(this, result); }; }

function InputGroup1_possibleConstructorReturn(self, call) { if (call && (InputGroup1_typeof(call) === "object" || typeof call === "function")) { return call; } return InputGroup1_assertThisInitialized(self); }

function InputGroup1_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function InputGroup1_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function InputGroup1_getPrototypeOf(o) { InputGroup1_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return InputGroup1_getPrototypeOf(o); }

function InputGroup1_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }








var InputGroup1_InputGroup1 = /*#__PURE__*/function (_Component) {
  InputGroup1_inherits(InputGroup1, _Component);

  var _super = InputGroup1_createSuper(InputGroup1);

  function InputGroup1() {
    var _this;

    InputGroup1_classCallCheck(this, InputGroup1);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    InputGroup1_defineProperty(InputGroup1_assertThisInitialized(_this), "state", {});

    InputGroup1_defineProperty(InputGroup1_assertThisInitialized(_this), "handleChange", function (event) {
      var onChange = _this.props.onChange;
      if (Object(lodash["isFunction"])(onChange)) onChange(event);
    });

    InputGroup1_defineProperty(InputGroup1_assertThisInitialized(_this), "toggleCheckboxChange", function (event) {
      var handleCheckboxChange = _this.props.handleCheckboxChange;
      if (Object(lodash["isFunction"])(handleCheckboxChange)) handleCheckboxChange(event);
    });

    return _this;
  }

  InputGroup1_createClass(InputGroup1, [{
    key: "render",
    value: function render() {
      var _this$props = this.props,
          id = _this$props.id,
          name = _this$props.name,
          value = _this$props.value,
          type = _this$props.type,
          unit = _this$props.unit,
          rules = _this$props.rules,
          showValidationMessage = _this$props.showValidationMessage,
          isFormatedNumber = _this$props.isFormatedNumber,
          label = _this$props.label,
          isDisabledCondition = _this$props.isDisabledCondition,
          hasValidationIcon = _this$props.hasValidationIcon,
          inputClass = _this$props.inputClass;
      var validationMessage = !Object(lodash["isEmpty"])(rules) && showValidationMessage ? validateProp(value, rules) : null;
      var isValid = Object(lodash["isEmpty"])(validationMessage);
      var groupClassName = isDisabledCondition ? 'usage-input-group disabled' : 'usage-input-group';
      return /*#__PURE__*/external_React_default.a.createElement("div", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: groupClassName
      }, !isNullOrWs(label) && /*#__PURE__*/external_React_default.a.createElement("label", {
        className: "form-control-static rightMargin fixedLabelSize"
      }, label), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: !isValid ? "".concat(inputClass, " input-error") : inputClass
      }, !isFormatedNumber ? /*#__PURE__*/external_React_default.a.createElement("input", {
        id: id,
        value: value,
        type: type,
        name: name,
        className: "form-group input-element",
        onChange: this.handleChange,
        ref: this.props.setInputRef,
        autoComplete: "off",
        disabled: isDisabledCondition,
        onBlur: this.handleChange
      }) : /*#__PURE__*/external_React_default.a.createElement(react_number_format_es, {
        id: id,
        value: value,
        type: type,
        name: name,
        className: "form-group input-element",
        onChange: this.handleChange,
        ref: this.props.setInputRef,
        autoComplete: "off",
        thousandSeparator: ".",
        decimalSeparator: ",",
        thousandsGroupStyle: "thousand",
        disabled: isDisabledCondition,
        onBlur: this.handleChange
      })), /*#__PURE__*/external_React_default.a.createElement("label", {
        className: "form-control-static leftMargin"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, unit))), !isValid && hasValidationIcon && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "validation-icon fa fa-times"
      }), isValid && hasValidationIcon && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "validation-icon fa fa-check"
      }), !isValid && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: !isValid ? 'validation-tooltip active' : 'validation-tooltip'
      }, validationMessage));
    }
  }]);

  return InputGroup1;
}(external_React_["Component"]);

InputGroup1_defineProperty(InputGroup1_InputGroup1, "propTypes", {
  id: prop_types_default.a.string.isRequired,
  name: prop_types_default.a.string.isRequired,
  label: prop_types_default.a.string,
  value: prop_types_default.a.string,
  onChange: prop_types_default.a.func.isRequired,
  handleCheckboxChange: prop_types_default.a.func.isRequired,
  type: prop_types_default.a.string.isRequired,
  unit: prop_types_default.a.string.isRequired,
  setInputRef: prop_types_default.a.func,
  rules: prop_types_default.a.object,
  showValidationMessage: prop_types_default.a.bool,
  isFormatedNumber: prop_types_default.a.bool,
  isDisabledCondition: prop_types_default.a.bool,
  hasValidationIcon: prop_types_default.a.bool,
  inputClass: prop_types_default.a.string
});

InputGroup1_defineProperty(InputGroup1_InputGroup1, "defaultProps", {
  value: '',
  setInputRef: function setInputRef(i) {
    return i;
  },
  rules: {},
  showValidationMessage: false,
  isFormatedNumber: false,
  label: '',
  isDisabledCondition: false,
  hasValidationIcon: false,
  inputClass: 'input-group'
});


// EXTERNAL MODULE: ./src/sass/components/selectTypepandList.scss
var selectTypepandList = __webpack_require__(105);

// CONCATENATED MODULE: ./src/components/SelectTypepandList/index.jsx
function SelectTypepandList_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { SelectTypepandList_typeof = function _typeof(obj) { return typeof obj; }; } else { SelectTypepandList_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return SelectTypepandList_typeof(obj); }

function SelectTypepandList_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function SelectTypepandList_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); } }

function SelectTypepandList_createClass(Constructor, protoProps, staticProps) { if (protoProps) SelectTypepandList_defineProperties(Constructor.prototype, protoProps); if (staticProps) SelectTypepandList_defineProperties(Constructor, staticProps); return Constructor; }

function SelectTypepandList_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) SelectTypepandList_setPrototypeOf(subClass, superClass); }

function SelectTypepandList_setPrototypeOf(o, p) { SelectTypepandList_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return SelectTypepandList_setPrototypeOf(o, p); }

function SelectTypepandList_createSuper(Derived) { var hasNativeReflectConstruct = SelectTypepandList_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = SelectTypepandList_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = SelectTypepandList_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return SelectTypepandList_possibleConstructorReturn(this, result); }; }

function SelectTypepandList_possibleConstructorReturn(self, call) { if (call && (SelectTypepandList_typeof(call) === "object" || typeof call === "function")) { return call; } return SelectTypepandList_assertThisInitialized(self); }

function SelectTypepandList_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function SelectTypepandList_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function SelectTypepandList_getPrototypeOf(o) { SelectTypepandList_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return SelectTypepandList_getPrototypeOf(o); }

function SelectTypepandList_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }







var SelectTypepandList_SelectTypepandList = /*#__PURE__*/function (_Component) {
  SelectTypepandList_inherits(SelectTypepandList, _Component);

  var _super = SelectTypepandList_createSuper(SelectTypepandList);

  function SelectTypepandList() {
    var _this;

    SelectTypepandList_classCallCheck(this, SelectTypepandList);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    SelectTypepandList_defineProperty(SelectTypepandList_assertThisInitialized(_this), "state", {});

    SelectTypepandList_defineProperty(SelectTypepandList_assertThisInitialized(_this), "handleItemClick", function (event, itemId) {
      event.preventDefault();

      _this.props.onItemSelected(itemId);
    });

    return _this;
  }

  SelectTypepandList_createClass(SelectTypepandList, [{
    key: "render",
    value: function render() {
      var _this2 = this;

      var _this$props = this.props,
          items = _this$props.items,
          labelHasTooltip = _this$props.labelHasTooltip,
          label = _this$props.label,
          tooltipId = _this$props.tooltipId,
          selectedItemId = _this$props.selectedItemId;
      var item = !isNullOrWs(selectedItemId) ? items.find(function (x) {
        return x.id === selectedItemId;
      }) : null;
      return /*#__PURE__*/external_React_default.a.createElement("div", null, labelHasTooltip && /*#__PURE__*/external_React_default.a.createElement("label", null, label, labelHasTooltip && /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": tooltipId
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "form-group custom-group-1"
      }, /*#__PURE__*/external_React_default.a.createElement("ul", {
        className: "list-2"
      }, items.map(function (i) {
        return /*#__PURE__*/external_React_default.a.createElement("li", {
          className: item != null && item.id === i.id ? 'item active' : 'item',
          onClick: function onClick(event) {
            return _this2.handleItemClick(event, i.id);
          }
        }, /*#__PURE__*/external_React_default.a.createElement("a", {
          href: "#",
          id: "typepand-".concat(i.label.toLocaleLowerCase())
        }, i.label));
      }))));
    }
  }]);

  return SelectTypepandList;
}(external_React_["Component"]);

SelectTypepandList_defineProperty(SelectTypepandList_SelectTypepandList, "propTypes", {
  items: prop_types_default.a.array.isRequired,
  onItemSelected: prop_types_default.a.func.isRequired,
  label: prop_types_default.a.string.isRequired,
  labelHasTooltip: prop_types_default.a.bool,
  tooltipId: prop_types_default.a.string,
  selectedItemId: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string])
});

SelectTypepandList_defineProperty(SelectTypepandList_SelectTypepandList, "defaultProps", {
  labelHasTooltip: false,
  tooltipId: '',
  selectedItemId: null
});


// CONCATENATED MODULE: ./src/components/Forms/MkbStap1/ValidationRules/MkbStap1Validation.js
function MkbStap1Validation_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }



var MkbStap1Model = function MkbStap1Model() {
  MkbStap1Validation_classCallCheck(this, MkbStap1Model);

  this.postcode = '';
  this.huisnummer = '';
  this.toevoeging = '';
  this.areValidationMessagesVisible = false;
  this.stroomLeverancier = '';
  this.leveranciers = [];
  this.stroomVerbruik = null;
  this.verbruik = true;
  this.verbruikGas = null;
  this.typepand = null;
  this.isEnkel = true;
  this.stroomVerbruikHoog = null;
  this.stroomVerbruikLaag = null;
  this.stroomDisabled = false;
  this.hasSolarPanels = false;
  this.gasDisabled = false;
  this.isNumberInputVisible = false;
  this.numberOfPanels = 1;
  this.solarProductionSingle = null;
  this.solarProductionHigh = null;
  this.solarProductionLow = null;
  this.areSummaryMessagesVisible = false;
  this.summaryMessages = [];
};
var typepands = [{
  id: 1,
  label: 'ZZP',
  itemIcon: 'option-icon option-zzp'
}, {
  id: 2,
  label: 'Eenmanszaak',
  itemIcon: 'option-icon option-eenmanszaak'
}, {
  id: 3,
  label: 'Winkel',
  itemIcon: 'option-icon option-winkel'
}, {
  id: 4,
  label: 'Kantoorpand',
  itemIcon: 'option-icon option-kantoorpand'
}, {
  id: 5,
  label: 'Industrieel',
  itemIcon: 'option-icon option-industrieel'
}];
var MkbStap1Validation_ruleSetFactory = function ruleSetFactory(isEnkel, stroomDisabled, gasDisabled, hasSolarPanels) {
  return {
    postcode: must(beNotEmpty).withMessage('Vul uw postcode in.').and(minLength(6)).withMessage('Vul uw postcode in.'),
    huisnummer: must(beNotEmpty).withMessage('Vul uw huisnummer in.'),
    toevoeging: must(maxLength(6)).withMessage('Vul een geldige huisnummertoevoeging van maximaal 6 tekens in.'),
    stroomLeverancier: must(beNotEmpty).withMessage('Kies uw huidige leverancier.'),
    stroomVerbruikHoog: must(beNotEmpty).when(function () {
      return !beTrue(isEnkel) && !beTrue(stroomDisabled);
    }).withMessage('Vul uw elektriciteitsverbruik (hoog) in.').and(beValidInteger).when(function () {
      return !beTrue(isEnkel) && !beTrue(stroomDisabled);
    }).withMessage('Vul uw elektriciteitsverbruik (hoog) in gehele getallen in.'),
    stroomVerbruikLaag: must(beNotEmpty).when(function () {
      return !beTrue(isEnkel) && !beTrue(stroomDisabled);
    }).withMessage('Vul uw elektriciteitsverbruik (laag) in.').and(beValidInteger).when(function () {
      return !beTrue(isEnkel) && !beTrue(stroomDisabled);
    }).withMessage('Vul uw elektriciteitsverbruik (laag) in gehele getallen in.'),
    verbruikGas: must(beNotEmpty).when(function () {
      return !beTrue(gasDisabled);
    }).withMessage('Vul uw gasverbruik in.').and(beValidInteger).when(function () {
      return !beTrue(gasDisabled);
    }).withMessage('Vul uw gasverbruik in gehele getallen in.'),
    stroomVerbruik: must(beNotEmpty).when(function () {
      return beTrue(isEnkel) && !beTrue(stroomDisabled);
    }).withMessage('Vul uw elektriciteitsverbruik in.').and(beValidInteger).when(function () {
      return beTrue(isEnkel) && !beTrue(stroomDisabled);
    }).withMessage('Vul uw elektriciteitsverbruik in gehele getallen in.'),
    solarProductionHigh: must(beNotEmpty).when(function () {
      return !beTrue(isEnkel) && beTrue(hasSolarPanels);
    }).withMessage('Vul uw energie opwek in.').and(beValidInteger).when(function () {
      return !beTrue(isEnkel) && beTrue(hasSolarPanels);
    }).withMessage('Vul uw energie opwek in.'),
    solarProductionLow: must(beNotEmpty).when(function () {
      return !beTrue(isEnkel) && beTrue(hasSolarPanels);
    }).withMessage('Vul uw energie opwek in.').and(beValidInteger).when(function () {
      return !beTrue(isEnkel) && beTrue(hasSolarPanels);
    }).withMessage('Vul uw energie opwek in.'),
    solarProductionSingle: must(beNotEmpty).when(function () {
      return beTrue(isEnkel) && beTrue(hasSolarPanels);
    }).withMessage('Vul uw energie opwek in.').and(beValidInteger).when(function () {
      return beTrue(isEnkel) && beTrue(hasSolarPanels);
    }).withMessage('Vul uw energie opwek in.')
  };
};
// EXTERNAL MODULE: ./src/sass/components/mkbStap1.scss
var components_mkbStap1 = __webpack_require__(107);

// CONCATENATED MODULE: ./src/components/Forms/MkbStap1/MkbStap1.jsx
function MkbStap1_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MkbStap1_typeof = function _typeof(obj) { return typeof obj; }; } else { MkbStap1_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MkbStap1_typeof(obj); }

function MkbStap1_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function MkbStap1_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { MkbStap1_ownKeys(Object(source), true).forEach(function (key) { MkbStap1_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { MkbStap1_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function MkbStap1_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MkbStap1_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); } }

function MkbStap1_createClass(Constructor, protoProps, staticProps) { if (protoProps) MkbStap1_defineProperties(Constructor.prototype, protoProps); if (staticProps) MkbStap1_defineProperties(Constructor, staticProps); return Constructor; }

function MkbStap1_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MkbStap1_setPrototypeOf(subClass, superClass); }

function MkbStap1_setPrototypeOf(o, p) { MkbStap1_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MkbStap1_setPrototypeOf(o, p); }

function MkbStap1_createSuper(Derived) { var hasNativeReflectConstruct = MkbStap1_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MkbStap1_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MkbStap1_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MkbStap1_possibleConstructorReturn(this, result); }; }

function MkbStap1_possibleConstructorReturn(self, call) { if (call && (MkbStap1_typeof(call) === "object" || typeof call === "function")) { return call; } return MkbStap1_assertThisInitialized(self); }

function MkbStap1_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MkbStap1_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MkbStap1_getPrototypeOf(o) { MkbStap1_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MkbStap1_getPrototypeOf(o); }

function MkbStap1_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }




















var MkbStap1_MkbStap1 = /*#__PURE__*/function (_Component) {
  MkbStap1_inherits(MkbStap1, _Component);

  var _super = MkbStap1_createSuper(MkbStap1);

  function MkbStap1() {
    var _this;

    MkbStap1_classCallCheck(this, MkbStap1);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "state", new MkbStap1Model());

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "getData", function () {
      // get leveranciers data
      axios_default.a.get('/?action=ez_api_request&controller=Wordpress&method=FetchLeveranciers').then(function (res) {
        if (res.status === 200) {
          if (res.data != null) {
            var data = loadFromLocalStorage('mkb-stap1');

            _this.setState(MkbStap1_objectSpread({
              leveranciers: JSON.parse(res.data)
            }, data));
          } else {
            console.log('Error: Leverancier data not available');
          }
        } else {
          console.log('Error: API not available');
        }
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "handlePostcodeChange", function (event) {
      event.preventDefault();

      _this.setState({
        postcode: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "handleHuisnummerChange", function (event) {
      event.preventDefault();

      _this.setState({
        huisnummer: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "handleToevoegingChange", function (event) {
      event.preventDefault();

      _this.setState({
        toevoeging: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "toggleStroomLeverancierRadioButtonList", function (event) {
      var value = event.target.value;

      _this.setState({
        stroomLeverancier: value !== 'Anders:' ? value : null
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "toggleLeverancierSelectList", function (item) {
      _this.setState({
        stroomLeverancier: item
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "toggleTypepandSelectList", function (item) {
      _this.setState(function () {
        var res = {
          typeandId: item
        };

        switch (item) {
          case 1:
            res.stroomVerbruik = 3500;
            res.verbruikGas = 1700;
            res.stroomVerbruikHoog = 1900;
            res.stroomVerbruikLaag = 1600;
            break;

          case 2:
            res.stroomVerbruik = 6500;
            res.verbruikGas = 2000;
            res.stroomVerbruikHoog = 3900;
            res.stroomVerbruikLaag = 2600;
            break;

          case 3:
            res.stroomVerbruik = 16000;
            res.verbruikGas = 4000;
            res.stroomVerbruikHoog = 8000;
            res.stroomVerbruikLaag = 8000;
            break;

          case 4:
            res.stroomVerbruik = 50000;
            res.verbruikGas = 10000;
            res.stroomVerbruikHoog = 30000;
            res.stroomVerbruikLaag = 20000;
            break;

          case 5:
            res.stroomVerbruik = 70000;
            res.verbruikGas = 20000;
            res.stroomVerbruikHoog = 42000;
            res.stroomVerbruikLaag = 28000;
            break;

          default:
            break;
        }

        return res;
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "stroomVerbruikChange", function (event) {
      _this.setState({
        stroomVerbruik: event.target.value
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "stroomVerbruikHoogChange", function (event) {
      _this.setState({
        stroomVerbruikHoog: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "stroomVerbruikLaagChange", function (event) {
      _this.setState({
        stroomVerbruikLaag: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "verbruikGasChange", function (event) {
      _this.setState({
        verbruikGas: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "toggleStroomDisabledCheckbox", function () {
      _this.setState(function (state) {
        return {
          stroomDisabled: !state.stroomDisabled
        };
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "toggleHasSolarPanelsCheckbox", function () {
      _this.setState(function (state) {
        return {
          hasSolarPanels: !state.hasSolarPanels,
          solarProductionSingle: 250,
          solarProductionHigh: 200,
          solarProductionLow: 50
        };
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "toggleGasDisabledCheckbox", function () {
      _this.setState(function (state) {
        return {
          gasDisabled: !state.gasDisabled
        };
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "handleLinkBelowClick", function (event) {
      event.preventDefault();

      _this.setState(function (state) {
        var res = {
          verbruik: !state.verbruik,
          isEnkel: !state.isEnkel
        };
        return res;
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "handleSolarPanelsLinkClick", function (event) {
      event.preventDefault();

      _this.setState(function (state) {
        var res = {
          isNumberInputVisible: !state.isNumberInputVisible
        };
        return res;
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "decreaseNumber", function () {
      _this.setState(function (_ref) {
        var numberOfPanels = _ref.numberOfPanels;
        return {
          numberOfPanels: numberOfPanels > 1 ? numberOfPanels - 1 : numberOfPanels,
          solarProductionSingle: numberOfPanels > 1 ? 250 * (numberOfPanels - 1) : 250 * numberOfPanels,
          solarProductionHigh: numberOfPanels > 1 ? 200 * (numberOfPanels - 1) : 200 * numberOfPanels,
          solarProductionLow: numberOfPanels > 1 ? 50 * (numberOfPanels - 1) : 50 * numberOfPanels
        };
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "increaseNumber", function () {
      _this.setState(function (_ref2) {
        var numberOfPanels = _ref2.numberOfPanels;
        return {
          numberOfPanels: numberOfPanels + 1,
          solarProductionSingle: 250 * (numberOfPanels + 1),
          solarProductionHigh: 200 * (numberOfPanels + 1),
          solarProductionLow: 50 * (numberOfPanels + 1)
        };
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "solarProductionSingleChange", function (event) {
      _this.setState({
        solarProductionSingle: event.target.value
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "solarProductionHighChange", function (event) {
      _this.setState({
        solarProductionHigh: event.target.value
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "solarProductionLowChange", function (event) {
      _this.setState({
        solarProductionLow: event.target.value
      });
    });

    MkbStap1_defineProperty(MkbStap1_assertThisInitialized(_this), "handleFormSubmit", function (event) {
      event.preventDefault();

      _this.setState({
        areValidationMessagesVisible: true,
        areSummaryMessagesVisible: false,
        summaryMessages: []
      });

      var validResult = validator_validate(_this.state, MkbStap1Validation_ruleSetFactory(_this.state.isEnkel, _this.state.stroomDisabled, _this.state.gasDisabled, _this.state.hasSolarPanels));

      if (Object(lodash["isEmpty"])(validResult)) {
        saveToLocalStorage('mkb-overstap-form', Object(lodash["omit"])(_this.state, ['areValidationMessagesVisible', 'areSummaryMessagesVisible', 'summaryMessages']));
        console.log('success!');
      } else {
        _this.setState({
          areSummaryMessagesVisible: true,
          summaryMessages: Object.entries(validResult).map(function (item) {
            return {
              value: item[0],
              message: item[1]
            };
          })
        });
      }
    });

    return _this;
  }

  MkbStap1_createClass(MkbStap1, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      this.getData();
      this.setState({
        areValidationMessagesVisible: false,
        areSummaryMessagesVisible: false,
        summaryMessages: []
      });
    }
  }, {
    key: "render",
    value: function render() {
      var linkBelowText = !this.state.verbruik ? 'Ik heb een dubbele meter' : 'Ik heb een enkele meter';
      var solarPanelsLabel = !this.state.isNumberInputVisible ? 'Aantal panelen' : 'Ik wek in totaal op';
      var solarPanelsLink = !this.state.isNumberInputVisible ? 'Of vul uw opwek in' : 'Of help mij schatten';
      var ruleSet = MkbStap1Validation_ruleSetFactory(this.state.isEnkel, this.state.stroomDisabled, this.state.gasDisabled, this.state.hasSolarPanels);
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-stap1-container"
      }, /*#__PURE__*/external_React_default.a.createElement("section", {
        className: "mkb-stap1"
      }, /*#__PURE__*/external_React_default.a.createElement("form", {
        className: "mkb-stap1-form",
        onSubmit: this.handleFormSubmit
      }, /*#__PURE__*/external_React_default.a.createElement("h4", null, "Uw adres"), /*#__PURE__*/external_React_default.a.createElement("fieldset", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-stap1-address"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "postcode-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "postcode",
        label: "Postcode",
        className: "form-control",
        placeholder: "6532 TJ",
        value: this.state.postcode,
        onChange: this.handlePostcodeChange,
        onBlur: this.handlePostcodeChange,
        id: this.generateUniqueId('postcode-'),
        tooltipId: "postcodeTooltip",
        labelHasTooltip: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.postcode,
        hasValidationIcon: true
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "postcodeTooltip"
      }, "Uw adresgegevens zijn nodig om de juiste ", /*#__PURE__*/external_React_default.a.createElement("br", null), "gasregiotoeslag te bepalen. Het totale gastarief is ", /*#__PURE__*/external_React_default.a.createElement("br", null), "namelijk afhankelijk van uw locatie.")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "huisnummer-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "number",
        name: "huisnummer",
        label: "Huisnummer",
        className: "form-control calculator-small-width",
        placeholder: "20",
        value: this.state.huisnummer,
        onChange: this.handleHuisnummerChange,
        onBlur: this.handleHuisnummerChange,
        id: this.generateUniqueId('huisnummer-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.huisnummer,
        hasValidationIcon: true
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "toevoeging-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "toevoeging",
        label: "Toevoeging",
        className: "form-control",
        placeholder: "A",
        value: this.state.toevoeging,
        onChange: this.handleToevoegingChange,
        onBlur: this.handleToevoegingChange,
        id: this.generateUniqueId('toevoeging-'),
        hasValidationIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.toevoeging
      })))), /*#__PURE__*/external_React_default.a.createElement("h4", null, "Uw huidige energieleverancier"), /*#__PURE__*/external_React_default.a.createElement("fieldset", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "stroom-leverancier"
      }, /*#__PURE__*/external_React_default.a.createElement(RadioButtonList_RadioButtonList, {
        className: "radio",
        id: this.generateUniqueId('leverancier-radio-'),
        name: "stroomLeverancier",
        value: this.state.stroomLeverancier,
        handleRadioButtonChange: this.toggleStroomLeverancierRadioButtonList,
        selectedItem: this.state.stroomLeverancier,
        onItemSelected: this.toggleLeverancierSelectList,
        items: this.state.leveranciers.map(function (x) {
          return {
            id: x.id,
            label: x.name
          };
        }),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.stroomLeverancier
      }))), /*#__PURE__*/external_React_default.a.createElement("h4", null, "Uw jaarlijks energieverbruik"), /*#__PURE__*/external_React_default.a.createElement("fieldset", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "jaarlijks-energieverbruik"
      }, /*#__PURE__*/external_React_default.a.createElement(SelectTypepandList_SelectTypepandList, {
        label: "Kies een gemiddeld jaarverbruik of vul deze handmatig in",
        items: typepands,
        selectedItemId: this.state.typeandId,
        onItemSelected: this.toggleTypepandSelectList,
        tooltipId: "infoPopoverTemplate",
        labelHasTooltip: true
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "infoPopoverTemplate"
      }, "Weet u uw jaarverbruik niet? Kies dan uw bedrijfssituatie voor een schatting. ", /*#__PURE__*/external_React_default.a.createElement("br", null), "Vul uw werkelijke verbruik in voor een precieze berekening. U vindt deze op uw energierekening."), /*#__PURE__*/external_React_default.a.createElement("hr", {
        className: "dotted"
      }), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "energie"
      }, this.state.isEnkel && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "form-group custom-group-1"
      }, /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        label: "Elektriciteit",
        id: this.generateUniqueId('stroom-verbruik-'),
        value: this.state.stroomVerbruik,
        onChange: this.stroomVerbruikChange,
        type: "tel",
        unit: "kWh per jaar",
        isDisabledCondition: this.state.stroomDisabled,
        hasValidationIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.stroomVerbruik
      })), !this.state.isEnkel && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "form-group custom-group-1"
      }, /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        label: "Hoog",
        id: this.generateUniqueId('stroom-verbruik-hoog-'),
        value: this.state.stroomVerbruikHoog,
        onChange: this.stroomVerbruikHoogChange,
        type: "tel",
        unit: "kWh per jaar",
        isDisabledCondition: this.state.stroomDisabled,
        hasValidationIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.stroomVerbruikHoog
      }), /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        label: "Laag",
        id: this.generateUniqueId('stroom-verbruik-laag-'),
        value: this.state.stroomVerbruikLaag,
        onChange: this.stroomVerbruikLaagChange,
        type: "tel",
        unit: "kWh per jaar",
        isDisabledCondition: this.state.stroomDisabled,
        hasValidationIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.stroomVerbruikLaag
      })), /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: "checkbox",
        id: this.generateUniqueId('geen-elektriciteit-checkbox-'),
        name: "stroomDisabled",
        label: "Geen elektriciteit",
        isChecked: this.state.stroomDisabled,
        handleCheckboxChange: this.toggleStroomDisabledCheckbox
      }), !this.state.stroomDisabled && /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "link text-underline",
        onClick: this.handleLinkBelowClick
      }, linkBelowText)), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "solar"
      }, /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: "checkbox",
        id: this.generateUniqueId('has-solar-panels-'),
        name: "hasSolarPanels",
        label: "Ik heb zonnepanelen",
        isChecked: this.state.hasSolarPanels,
        handleCheckboxChange: this.toggleHasSolarPanelsCheckbox,
        tooltipId: "solarPopoverTemplate",
        checkboxHasTooltip: true
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "solarPopoverTemplate"
      }, "Heeft u zonnepanelen? Vink dan deze optie aan en vul hieronder in hoeveel stroom u opwekt \xF3f geef aan ", /*#__PURE__*/external_React_default.a.createElement("br", null), "hoeveel zonnepanelen u heeft. De teruggeleverde stroom wordt verrekend met de stroom die u afneemt ", /*#__PURE__*/external_React_default.a.createElement("br", null), "van uw leverancier. Wanneer u m\xE9\xE9r teruglevert dan u afneemt krijgt u voor die extra terug geleverde ", /*#__PURE__*/external_React_default.a.createElement("br", null), "stroom een vergoeding van uw leverancier."), this.state.hasSolarPanels && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "solar-blok"
      }, /*#__PURE__*/external_React_default.a.createElement("label", {
        className: "form-control-static"
      }, solarPanelsLabel, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "link toggle-helper",
        onClick: this.handleSolarPanelsLinkClick
      }, solarPanelsLink)), this.state.isNumberInputVisible && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "form-group custom-group-1"
      }, /*#__PURE__*/external_React_default.a.createElement(NumberInput_NumberInput, {
        id: this.generateUniqueId('number-of-panels-'),
        value: this.state.numberOfPanels,
        handleDecreaseNumber: this.decreaseNumber,
        handleIncreaseNumber: this.increaseNumber
      })), !this.state.isEnkel && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "form-group custom-group-1 normaal-daal"
      }, /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        label: "Normaal",
        id: this.generateUniqueId('stroom-verbruik-hoog-'),
        value: this.state.solarProductionHigh,
        onChange: this.solarProductionHighChange,
        type: "tel",
        unit: "kWh per jaar",
        hasValidationIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.solarProductionHigh
      }), /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        label: "Daal",
        id: this.generateUniqueId('stroom-verbruik-laag-'),
        value: this.state.solarProductionLow,
        onChange: this.solarProductionLowChange,
        type: "tel",
        unit: "kWh per jaar",
        hasValidationIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.solarProductionLow
      })), this.state.isEnkel && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "form-group custom-group-1 without-label"
      }, /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        id: this.generateUniqueId('solar-production-single-'),
        value: this.state.solarProductionSingle,
        onChange: this.solarProductionSingleChange,
        type: "tel",
        unit: "kWh per jaar",
        hasValidationIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.solarProductionSingle
      })))), /*#__PURE__*/external_React_default.a.createElement("hr", {
        className: "dotted"
      }), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "energie"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "form-group custom-group-1"
      }, /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        label: "Gas",
        id: this.generateUniqueId('verbruik-gas-'),
        value: this.state.verbruikGas,
        onChange: this.verbruikGasChange,
        type: "tel",
        unit: "m3 per jaar",
        isDisabledCondition: this.state.gasDisabled,
        hasValidationIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.verbruikGas
      })), /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: "checkbox",
        id: this.generateUniqueId('geen-gas-checkbox-'),
        name: "gasDisabled",
        label: "Geen gas / stadswarmte",
        labelIcon: "fa fa-question",
        labelHasIcon: true,
        isChecked: this.state.gasDisabled,
        handleCheckboxChange: this.toggleGasDisabledCheckbox,
        tooltipId: "geengasPopoverTemplate",
        checkboxHasTooltip: true
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "geengasPopoverTemplate"
      }, /*#__PURE__*/external_React_default.a.createElement("p", null, "Sommige panden hebben geen ", /*#__PURE__*/external_React_default.a.createElement("br", null), " gasaansluiting. In plaats daarvan zijn ", /*#__PURE__*/external_React_default.a.createElement("br", null), " deze panden aangesloten op ", /*#__PURE__*/external_React_default.a.createElement("br", null), " stadsverwarming of blokverwarming voor ", /*#__PURE__*/external_React_default.a.createElement("br", null), " het verwarmen van het pand en om warm ", /*#__PURE__*/external_React_default.a.createElement("br", null), " water te krijgen. Hiervoor kunt u niet zelf ", /*#__PURE__*/external_React_default.a.createElement("br", null), " kiezen."), /*#__PURE__*/external_React_default.a.createElement("p", null, "Stadsverwarming levert warmte via ", /*#__PURE__*/external_React_default.a.createElement("br", null), " leidingen aan uw pand, zoals warmte ", /*#__PURE__*/external_React_default.a.createElement("br", null), " opgewerkt door industrie."), /*#__PURE__*/external_React_default.a.createElement("p", null, "Blokverwarming betekent dat een ", /*#__PURE__*/external_React_default.a.createElement("br", null), " huizencomplex door 1 colletieve CV-ketel ", /*#__PURE__*/external_React_default.a.createElement("br", null), " wordt voorzien."))))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "info-section"
      }, /*#__PURE__*/external_React_default.a.createElement("p", {
        className: "form-info-text sm l-margin-bottom-40"
      }, "Minder.nl hecht veel waarde aan uw privacy. Lees onze ", /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "/privacy-en-cookieverklaring",
        target: "_blank"
      }, "privacyverklaring"), " voor informatie over wat wij met uw persoonlijke informatie doen.")), this.state.areSummaryMessagesVisible && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "summary-messages-block"
      }, /*#__PURE__*/external_React_default.a.createElement("h5", null, /*#__PURE__*/external_React_default.a.createElement("strong", null, "Sorry"), ", de volgende gegevens zijn niet volledig of correct:"), this.state.summaryMessages.map(function (m) {
        return /*#__PURE__*/external_React_default.a.createElement("div", null, /*#__PURE__*/external_React_default.a.createElement("i", {
          className: "fa fa-fw fa-times"
        }), m.message);
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "validation-and-submit-section"
      }, /*#__PURE__*/external_React_default.a.createElement(components_Button, {
        value: "Start vergelijken",
        size: "medium",
        type: "success",
        isLoading: this.props.isLoading,
        onClick: this.handleFormSubmit,
        isSubmit: true
      })))));
    }
  }]);

  return MkbStap1;
}(external_React_["Component"]);

MkbStap1_defineProperty(MkbStap1_MkbStap1, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  isLoading: prop_types_default.a.bool
});

MkbStap1_defineProperty(MkbStap1_MkbStap1, "defaultProps", {
  isLoading: false
});

/* harmony default export */ var Forms_MkbStap1_MkbStap1 = (MkbStap1_MkbStap1);
// CONCATENATED MODULE: ./src/components/Calculators/Compact/ValidationRules/Step1.js
function Step1_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }



var Step1_Step1Model = function Step1Model() {
  Step1_classCallCheck(this, Step1Model);

  this.postcode = '';
  this.huisnummer = '';
  this.toevoeging = '';
  this.leveranciers = [];
  this.stroomLeverancier = null;
  this.areValidationMessagesVisible = false;
};
var Step1_ruleSet = {
  postcode: must(beNotEmpty).withMessage('Vul uw postcode in.').and(minLength(6)).withMessage('Vul uw postcode in.'),
  huisnummer: must(beNotEmpty).withMessage('Vul uw huisnummer in.'),
  toevoeging: must(maxLength(6)).withMessage('Vul een geldige huisnummertoevoeging van maximaal 6 tekens in.'),
  stroomLeverancier: must(beNotEmpty).withMessage('Type pand is verplicht.')
};
// CONCATENATED MODULE: ./src/components/Calculators/Compact/CompactCalculatorStep1.jsx
function CompactCalculatorStep1_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { CompactCalculatorStep1_typeof = function _typeof(obj) { return typeof obj; }; } else { CompactCalculatorStep1_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return CompactCalculatorStep1_typeof(obj); }

function CompactCalculatorStep1_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function CompactCalculatorStep1_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { CompactCalculatorStep1_ownKeys(Object(source), true).forEach(function (key) { CompactCalculatorStep1_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { CompactCalculatorStep1_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function CompactCalculatorStep1_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function CompactCalculatorStep1_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); } }

function CompactCalculatorStep1_createClass(Constructor, protoProps, staticProps) { if (protoProps) CompactCalculatorStep1_defineProperties(Constructor.prototype, protoProps); if (staticProps) CompactCalculatorStep1_defineProperties(Constructor, staticProps); return Constructor; }

function CompactCalculatorStep1_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) CompactCalculatorStep1_setPrototypeOf(subClass, superClass); }

function CompactCalculatorStep1_setPrototypeOf(o, p) { CompactCalculatorStep1_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return CompactCalculatorStep1_setPrototypeOf(o, p); }

function CompactCalculatorStep1_createSuper(Derived) { var hasNativeReflectConstruct = CompactCalculatorStep1_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = CompactCalculatorStep1_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = CompactCalculatorStep1_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return CompactCalculatorStep1_possibleConstructorReturn(this, result); }; }

function CompactCalculatorStep1_possibleConstructorReturn(self, call) { if (call && (CompactCalculatorStep1_typeof(call) === "object" || typeof call === "function")) { return call; } return CompactCalculatorStep1_assertThisInitialized(self); }

function CompactCalculatorStep1_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function CompactCalculatorStep1_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function CompactCalculatorStep1_getPrototypeOf(o) { CompactCalculatorStep1_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return CompactCalculatorStep1_getPrototypeOf(o); }

function CompactCalculatorStep1_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }















var CompactCalculatorStep1_CompactCalculatorStep1 = /*#__PURE__*/function (_Component) {
  CompactCalculatorStep1_inherits(CompactCalculatorStep1, _Component);

  var _super = CompactCalculatorStep1_createSuper(CompactCalculatorStep1);

  function CompactCalculatorStep1() {
    var _this;

    CompactCalculatorStep1_classCallCheck(this, CompactCalculatorStep1);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    CompactCalculatorStep1_defineProperty(CompactCalculatorStep1_assertThisInitialized(_this), "state", new Step1_Step1Model());

    CompactCalculatorStep1_defineProperty(CompactCalculatorStep1_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    CompactCalculatorStep1_defineProperty(CompactCalculatorStep1_assertThisInitialized(_this), "getData", function () {
      // get leveranciers data
      axios_default.a.get('/?action=ez_api_request&controller=Wordpress&method=FetchLeveranciers').then(function (res) {
        if (res.status === 200) {
          if (res.data != null) {
            var data = loadFromLocalStorage('compact-calculator-step1');

            _this.setState(CompactCalculatorStep1_objectSpread({
              leveranciers: JSON.parse(res.data)
            }, data));
          } else {
            console.log('Error: Leverancier data not available');
          }
        } else {
          console.log('Error: API not available');
        }
      });
    });

    CompactCalculatorStep1_defineProperty(CompactCalculatorStep1_assertThisInitialized(_this), "handlePostcodeChange", function (event) {
      event.preventDefault();

      _this.setState({
        postcode: event.target.value
      });
    });

    CompactCalculatorStep1_defineProperty(CompactCalculatorStep1_assertThisInitialized(_this), "handleHuisnummerChange", function (event) {
      event.preventDefault();

      _this.setState({
        huisnummer: event.target.value
      });
    });

    CompactCalculatorStep1_defineProperty(CompactCalculatorStep1_assertThisInitialized(_this), "handleToevoegingChange", function (event) {
      event.preventDefault();

      _this.setState({
        toevoeging: event.target.value
      });
    });

    CompactCalculatorStep1_defineProperty(CompactCalculatorStep1_assertThisInitialized(_this), "toggleLeverancierSelectList", function (item) {
      _this.setState({
        stroomLeverancier: item
      });
    });

    CompactCalculatorStep1_defineProperty(CompactCalculatorStep1_assertThisInitialized(_this), "goToSecondStep", function (event) {
      event.preventDefault();

      _this.setState({
        areValidationMessagesVisible: true
      });

      if (isInstanceValid(_this.state, Step1_ruleSet)) {
        saveToLocalStorage('compact-calculator-step1', Object(lodash["omit"])(_this.state, ['leveranciers', 'areValidationMessagesVisible']));

        _this.props.step1Callback(true);
      }
    });

    return _this;
  }

  CompactCalculatorStep1_createClass(CompactCalculatorStep1, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      this.getData();
      this.setState({
        areValidationMessagesVisible: false
      });
    }
  }, {
    key: "render",
    value: function render() {
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "calculator-step"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "address-items"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "postcode-item"
      }, /*#__PURE__*/external_React_default.a.createElement(MaskedTextInput_MaskedTextInput, {
        type: "text",
        name: "postcode",
        label: "Postcode",
        className: "form-control",
        placeholder: "6532 TJ",
        mask: "9999 aa",
        value: this.state.postcode,
        onChange: this.handlePostcodeChange,
        onBlur: this.handlePostcodeChange,
        id: this.generateUniqueId('postcode-'),
        tooltipId: "postcodeTooltip",
        labelHasTooltip: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: Step1_ruleSet.postcode
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "postcodeTooltip"
      }, "Uw adresgegevens zijn nodig om de juiste ", /*#__PURE__*/external_React_default.a.createElement("br", null), "gasregiotoeslag te bepalen. Het totale gastarief is ", /*#__PURE__*/external_React_default.a.createElement("br", null), "namelijk afhankelijk van uw locatie.")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "huisnummer-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "tel",
        name: "huisnummer",
        label: "Huisnr.",
        className: "form-control calculator-small-width",
        placeholder: "20",
        value: this.state.huisnummer,
        onChange: this.handleHuisnummerChange,
        onBlur: this.handleHuisnummerChange,
        id: this.generateUniqueId('huisnummer-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: Step1_ruleSet.huisnummer
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "toevoeging-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "toevoeging",
        label: "Toev.",
        className: "form-control",
        placeholder: "A",
        value: this.state.toevoeging,
        onChange: this.handleToevoegingChange,
        onBlur: this.handleToevoegingChange,
        id: this.generateUniqueId('toevoeging-') // showValidationMessage={this.state.areValidationMessagesVisible}
        // rules={ruleSet.toevoeging}

      }))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "leverancier-block"
      }, /*#__PURE__*/external_React_default.a.createElement(LeverancierSelectList_LeverancierSelectList, {
        label: "Uw leverancier",
        selectedItemId: this.state.stroomLeverancier,
        onItemSelected: this.toggleLeverancierSelectList,
        items: this.state.leveranciers.map(function (x) {
          return {
            id: x.id,
            label: x.name
          };
        }),
        tooltipId: "leverancierTooltip",
        labelHasTooltip: true,
        name: "stroomLeverancier",
        id: this.generateUniqueId('leverancier-select-dropdown-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: Step1_ruleSet.stroomLeverancier
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "leverancierTooltip"
      }, "Sommige aanbiedingen gelden alleen voor nieuwe ", /*#__PURE__*/external_React_default.a.createElement("br", null), "klanten. Door uw huidige leverancier in te vullen ", /*#__PURE__*/external_React_default.a.createElement("br", null), "houden we hier rekening mee.")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "validation-and-submit-section"
      }, /*#__PURE__*/external_React_default.a.createElement(components_Button, {
        value: "Volgende stap",
        size: "medium",
        type: "success",
        isLoading: this.props.isLoading,
        onClick: this.goToSecondStep,
        isSubmit: true
      }), /*#__PURE__*/external_React_default.a.createElement("p", {
        className: "text-bellow-submit-button"
      }, "Bespaar tot wel \u20AC650,- per jaar")));
    }
  }]);

  return CompactCalculatorStep1;
}(external_React_["Component"]);

CompactCalculatorStep1_defineProperty(CompactCalculatorStep1_CompactCalculatorStep1, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  step1Callback: prop_types_default.a.func.isRequired,
  isLoading: prop_types_default.a.bool.isRequired
});

/* harmony default export */ var Compact_CompactCalculatorStep1 = (CompactCalculatorStep1_CompactCalculatorStep1);
// CONCATENATED MODULE: ./src/components/Calculators/Compact/ValidationRules/Step2.js
function Step2_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }



var Step2_Step2Model = function Step2Model() {
  Step2_classCallCheck(this, Step2Model);

  this.isDubbeleMeter = false;
  this.hasSolarPanels = false;
  this.typeandId = null;
  this.isVerbruikIngevuld = true;
  this.numberOfPanels = 1;
  this.stroomVerbruik = null;
  this.hasStroom = true;
  this.solarProductionSingle = null;
  this.hasGas = true;
  this.verbruikGas = null;
  this.stroomVerbruikHoog = null;
  this.solarProductionHigh = null;
  this.stroomVerbruikLaag = null;
  this.solarProductionLow = null;
  this.isEnkel = true;
  this.showGeschatOptions = false;
  this.enableSolarProduction = false;
  this.verbruik = true;
  this.areValidationMessagesVisible = false;
};
var Step2_typepands = [{
  id: 1,
  label: 'ZZP',
  itemIcon: 'option-icon option-zzp'
}, {
  id: 2,
  label: 'Eenmanszaak',
  itemIcon: 'option-icon option-eenmanszaak'
}, {
  id: 3,
  label: 'Winkel',
  itemIcon: 'option-icon option-winkel'
}, {
  id: 4,
  label: 'Kantoorpand',
  itemIcon: 'option-icon option-kantoorpand'
}, {
  id: 5,
  label: 'Industrieel',
  itemIcon: 'option-icon option-industrieel'
}];
var Step2_ruleSetFactory = function ruleSetFactory(hasStroom, hasGas, hasSolarPanels, isDubbeleMeter, enableSolarProduction) {
  return {
    typeandId: must(beNotEmpty).withMessage('Typepand is verlicht.'),
    stroomVerbruik: must(beNotEmpty).when(function () {
      return beTrue(hasStroom) && !beTrue(enableSolarProduction);
    }).withMessage('Vul uw stroom verbruik in. Wilt u alleen gas vergelijken? Vink dan het groene vinkje uit.'),
    solarProductionSingle: must(beNotEmpty).when(function () {
      return beTrue(hasSolarPanels) && !beTrue(isDubbeleMeter);
    }).withMessage('Vul uw energie opwek in.'),
    verbruikGas: must(beNotEmpty).when(function () {
      return beTrue(hasGas) && !beTrue(hasStroom);
    }).withMessage('Vul uw gasverbruik in. Verbruikt u alleen stroom? Vink dan het vinkje bij gas uit.').and(function () {
      return false;
    }).when(function () {
      return !beTrue(hasGas);
    }).withMessage('Heeft u wel een gasaansluiting, maar verbruikt u geen gas? Vul dan als verbruik “1” in.'),
    stroomVerbruikHoog: must(beNotEmpty).when(function () {
      return beTrue(isDubbeleMeter) && !beTrue(enableSolarProduction);
    }).withMessage('Vul normaalverbruik in.'),
    stroomVerbruikLaag: must(beNotEmpty).when(function () {
      return beTrue(isDubbeleMeter) && !beTrue(enableSolarProduction);
    }).withMessage('Vul dalverbruik in.'),
    solarProductionHigh: must(beNotEmpty).when(function () {
      return beTrue(isDubbeleMeter) && beTrue(hasSolarPanels);
    }).withMessage('Vul uw energie opwek in.'),
    solarProductionLow: must(beNotEmpty).when(function () {
      return beTrue(isDubbeleMeter) && beTrue(hasSolarPanels);
    }).withMessage('Vul uw energie opwek in.')
  };
};
// CONCATENATED MODULE: ./src/components/Calculators/Compact/CompactCalculatorStep2.jsx
function CompactCalculatorStep2_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { CompactCalculatorStep2_typeof = function _typeof(obj) { return typeof obj; }; } else { CompactCalculatorStep2_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return CompactCalculatorStep2_typeof(obj); }

function CompactCalculatorStep2_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function CompactCalculatorStep2_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { CompactCalculatorStep2_ownKeys(Object(source), true).forEach(function (key) { CompactCalculatorStep2_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { CompactCalculatorStep2_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function CompactCalculatorStep2_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function CompactCalculatorStep2_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); } }

function CompactCalculatorStep2_createClass(Constructor, protoProps, staticProps) { if (protoProps) CompactCalculatorStep2_defineProperties(Constructor.prototype, protoProps); if (staticProps) CompactCalculatorStep2_defineProperties(Constructor, staticProps); return Constructor; }

function CompactCalculatorStep2_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) CompactCalculatorStep2_setPrototypeOf(subClass, superClass); }

function CompactCalculatorStep2_setPrototypeOf(o, p) { CompactCalculatorStep2_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return CompactCalculatorStep2_setPrototypeOf(o, p); }

function CompactCalculatorStep2_createSuper(Derived) { var hasNativeReflectConstruct = CompactCalculatorStep2_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = CompactCalculatorStep2_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = CompactCalculatorStep2_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return CompactCalculatorStep2_possibleConstructorReturn(this, result); }; }

function CompactCalculatorStep2_possibleConstructorReturn(self, call) { if (call && (CompactCalculatorStep2_typeof(call) === "object" || typeof call === "function")) { return call; } return CompactCalculatorStep2_assertThisInitialized(self); }

function CompactCalculatorStep2_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function CompactCalculatorStep2_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function CompactCalculatorStep2_getPrototypeOf(o) { CompactCalculatorStep2_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return CompactCalculatorStep2_getPrototypeOf(o); }

function CompactCalculatorStep2_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }















var CompactCalculatorStep2_CompactCalculatorStep2 = /*#__PURE__*/function (_Component) {
  CompactCalculatorStep2_inherits(CompactCalculatorStep2, _Component);

  var _super = CompactCalculatorStep2_createSuper(CompactCalculatorStep2);

  function CompactCalculatorStep2() {
    var _this;

    CompactCalculatorStep2_classCallCheck(this, CompactCalculatorStep2);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "state", new Step2_Step2Model());

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "toggleIsDubbeleMeterCheckbox", function () {
      _this.setState(function (state) {
        return {
          isDubbeleMeter: !state.isDubbeleMeter,
          isEnkel: !state.isEnkel
        };
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "toggleHasSolarPanelsCheckbox", function () {
      _this.setState(function (state) {
        return {
          hasSolarPanels: !state.hasSolarPanels,
          enableSolarProduction: !state.enableSolarProduction
        };
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "toggleHasStroomCheckbox", function () {
      _this.setState(function (state) {
        var res = {
          hasStroom: !state.hasStroom,
          areValidationMessagesVisible: true
        };
        if (res.hasStroom === false) res.hasGas = true;
        return res;
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "toggleHasGasCheckbox", function () {
      _this.setState(function (state) {
        var res = {
          hasGas: !state.hasGas,
          areValidationMessagesVisible: true
        };
        if (res.hasGas === false) res.hasStroom = true;
        return res;
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "toggleTypeandSelectList", function (item) {
      _this.setState(function (state) {
        var res = {
          typeandId: item
        };

        if (state.enableSolarProduction && state.hasSolarPanels) {
          switch (item) {
            case 1:
              res.stroomVerbruik = 3500;
              res.verbruikGas = 1700;
              res.stroomVerbruikHoog = 1900;
              res.stroomVerbruikLaag = 1600;
              break;

            case 2:
              res.stroomVerbruik = 6500;
              res.verbruikGas = 2000;
              res.stroomVerbruikHoog = 3900;
              res.stroomVerbruikLaag = 2600;
              break;

            case 3:
              res.stroomVerbruik = 16000;
              res.verbruikGas = 4000;
              res.stroomVerbruikHoog = 8000;
              res.stroomVerbruikLaag = 8000;
              break;

            case 4:
              res.stroomVerbruik = 50000;
              res.verbruikGas = 10000;
              res.stroomVerbruikHoog = 30000;
              res.stroomVerbruikLaag = 20000;
              break;

            case 5:
              res.stroomVerbruik = 70000;
              res.verbruikGas = 20000;
              res.stroomVerbruikHoog = 42000;
              res.stroomVerbruikLaag = 28000;
              break;

            default:
              break;
          }
        }

        return res;
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "decreaseNumber", function () {
      _this.setState(function (_ref) {
        var numberOfPanels = _ref.numberOfPanels;
        return {
          numberOfPanels: numberOfPanels > 1 ? numberOfPanels - 1 : numberOfPanels,
          solarProductionSingle: numberOfPanels > 1 ? 250 * (numberOfPanels - 1) : 250 * numberOfPanels,
          solarProductionHigh: numberOfPanels > 1 ? 200 * (numberOfPanels - 1) : 200 * numberOfPanels,
          solarProductionLow: numberOfPanels > 1 ? 50 * (numberOfPanels - 1) : 50 * numberOfPanels
        };
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "increaseNumber", function () {
      _this.setState(function (_ref2) {
        var numberOfPanels = _ref2.numberOfPanels;
        return {
          numberOfPanels: numberOfPanels + 1,
          solarProductionSingle: 250 * (numberOfPanels + 1),
          solarProductionHigh: 200 * (numberOfPanels + 1),
          solarProductionLow: 50 * (numberOfPanels + 1)
        };
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "stroomVerbruikChange", function (event) {
      _this.setState({
        stroomVerbruik: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "solarProductionSingleChange", function (event) {
      _this.setState({
        solarProductionSingle: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "verbruikGasChange", function (event) {
      _this.setState({
        verbruikGas: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "stroomVerbruikHoogChange", function (event) {
      _this.setState({
        stroomVerbruikHoog: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "solarProductionHighChange", function (event) {
      _this.setState({
        solarProductionHigh: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "stroomVerbruikLaagChange", function (event) {
      _this.setState({
        stroomVerbruikLaag: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "solarProductionLowChange", function (event) {
      _this.setState({
        solarProductionLow: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "handleLinkBelowClick", function (event) {
      event.preventDefault();

      _this.setState(function (state) {
        var res = {
          verbruik: !state.verbruik,
          showGeschatOptions: !state.showGeschatOptions,
          solarProductionSingle: state.enableSolarProduction && state.hasSolarPanels ? 250 : '',
          solarProductionHigh: state.enableSolarProduction && state.hasSolarPanels ? 200 : '',
          solarProductionLow: state.enableSolarProduction && state.hasSolarPanels ? 50 : '',
          areValidationMessagesVisible: false
        };
        return res;
      });
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "goToFirstStep", function (event) {
      event.preventDefault();

      _this.props.step2Callback(true);
    });

    CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_assertThisInitialized(_this), "submitStep2", function (event) {
      event.preventDefault();

      _this.setState({
        areValidationMessagesVisible: true
      });

      var _this$state = _this.state,
          hasStroom = _this$state.hasStroom,
          hasGas = _this$state.hasGas,
          hasSolarPanels = _this$state.hasSolarPanels,
          isDubbeleMeter = _this$state.isDubbeleMeter,
          enableSolarProduction = _this$state.enableSolarProduction;

      if (isInstanceValid(_this.state, Step2_ruleSetFactory(hasStroom, hasGas, hasSolarPanels, isDubbeleMeter, enableSolarProduction))) {
        saveToLocalStorage('compact-calculator-step2', Object(lodash["omit"])(_this.state, ['areValidationMessagesVisible']));
        var url = "".concat(_this.props.submitUrl);
        if (_this.state.postcode !== '') url += "postcode=".concat(_this.state.postcode, "&");
        if (_this.state.huisnummer !== '') url += "huisnummer=".concat(_this.state.huisnummer, "&");
        if (_this.state.toevoeging !== '') url += "toevoeging=".concat(_this.state.toevoeging, "&");
        window.open(url, '_self');
      }
    });

    return _this;
  }

  CompactCalculatorStep2_createClass(CompactCalculatorStep2, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      var data = loadFromLocalStorage('compact-calculator-step2');
      this.setState(CompactCalculatorStep2_objectSpread({
        areValidationMessagesVisible: false
      }, data));
    }
  }, {
    key: "render",
    value: function render() {
      var _this$state2 = this.state,
          hasStroom = _this$state2.hasStroom,
          stroomVerbruik = _this$state2.stroomVerbruik,
          hasGas = _this$state2.hasGas,
          verbruikGas = _this$state2.verbruikGas,
          hasSolarPanels = _this$state2.hasSolarPanels,
          isDubbeleMeter = _this$state2.isDubbeleMeter,
          enableSolarProduction = _this$state2.enableSolarProduction;
      var ruleSet = Step2_ruleSetFactory(hasStroom, hasGas, hasSolarPanels, isDubbeleMeter, enableSolarProduction);
      var linkBelowText = !this.state.verbruik ? 'Help mij schatten' : 'Verbruik zelf invullen';
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "calculator-step"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "info-block"
      }, /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info"
      }), "Voor een persoonlijke vergelijking hebben we nog ", /*#__PURE__*/external_React_default.a.createElement("strong", null, "enkele gegevens nodig")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "checkboxes-block"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "dubbele-meter-checkbox"
      }, /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: "checkbox",
        id: this.generateUniqueId('is-dubbele-meter-'),
        name: "isDubbeleMeter",
        label: "Ik heb een dubbele meter",
        isChecked: this.state.isDubbeleMeter,
        handleCheckboxChange: this.toggleIsDubbeleMeterCheckbox
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "solar-panel-checkbox"
      }, /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: "checkbox",
        id: this.generateUniqueId('has-solar-panels-'),
        name: "hasSolarPanels",
        label: "Ik heb zonnepanelen",
        isChecked: this.state.hasSolarPanels,
        handleCheckboxChange: this.toggleHasSolarPanelsCheckbox
      }))), this.state.showGeschatOptions && /*#__PURE__*/external_React_default.a.createElement("div", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "typepands-block"
      }, /*#__PURE__*/external_React_default.a.createElement(SelectList_SelectList, {
        label: "Selecteer type bedrijf",
        selectedItemId: this.state.typeandId,
        onItemSelected: this.toggleTypeandSelectList,
        items: Step2_typepands,
        id: this.generateUniqueId('typepands-select-'),
        name: "typeandId",
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.typeandId
      })), this.state.enableSolarProduction && this.state.hasSolarPanels && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block"
      }, /*#__PURE__*/external_React_default.a.createElement(NumberInput_NumberInput, {
        label: "Aantal panelen",
        id: this.generateUniqueId('number-of-panels-'),
        value: this.state.numberOfPanels,
        handleDecreaseNumber: this.decreaseNumber,
        handleIncreaseNumber: this.increaseNumber
      }))), this.state.isEnkel && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "energie-amount-input-block"
      }, /*#__PURE__*/external_React_default.a.createElement("label", null, "Verbruik ", /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": "verbruikTooltip"
      }), this.state.enableSolarProduction && this.state.hasSolarPanels && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "solar-panel-label"
      }, "Teruglevering"), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "verbruikTooltip"
      }, "Wilt u alleen stroom of gas vergelijken? Vink dan ", /*#__PURE__*/external_React_default.a.createElement("br", null), "van een van beide het groene vinkje uit.")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block stroom-verbruik"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        checkboxId: this.generateUniqueId('has-stroom-'),
        checkboxLabel: "hasStroom",
        isChecked: hasStroom,
        handleCheckboxChange: this.toggleHasStroomCheckbox,
        id: this.generateUniqueId('stroom-verbruik-'),
        value: stroomVerbruik,
        onChange: this.stroomVerbruikChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "fa fa-bolt",
        hasCheckbox: true,
        hasInputIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.stroomVerbruik
      })), this.state.enableSolarProduction && this.state.hasSolarPanels && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block solar-verbruik"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('solar-production-single-'),
        value: this.state.solarProductionSingle,
        onChange: this.solarProductionSingleChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "sun-icon",
        hasInputIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.solarProductionSingle
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block gas-verbruik"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        checkboxId: this.generateUniqueId('has-gas-'),
        checkboxLabel: "hasGas",
        isChecked: hasGas,
        handleCheckboxChange: this.toggleHasGasCheckbox,
        id: this.generateUniqueId('verbruik-gas-single-meter-'),
        value: verbruikGas,
        onChange: this.verbruikGasChange,
        type: "tel",
        unit: "m3",
        inputIcon: "fa fa-fire",
        hasCheckbox: true,
        hasInputIcon: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.verbruikGas
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "toggle-verbruik"
      }, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "link text-underline",
        onClick: this.handleLinkBelowClick
      }, linkBelowText), /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": "schatOptionsTooltip"
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "schatOptionsTooltip"
      }, "Weet u uw jaarverbruik en/of opwek niet? Klik dan hier ", /*#__PURE__*/external_React_default.a.createElement("br", null), "en selecteer uw type bedrijf en/of aantal ", /*#__PURE__*/external_React_default.a.createElement("br", null), "zonnepanelen voor een nauwkeurige schatting."))), !this.state.isEnkel && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "energie-double-meter-block"
      }, /*#__PURE__*/external_React_default.a.createElement("label", null, "Verbruik ", /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": "verbruikTooltip"
      }), /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "solar-panel-label"
      }, "Teruglevering"), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "verbruikTooltip"
      }, "Wilt u alleen stroom of gas vergelijken? Vink dan ", /*#__PURE__*/external_React_default.a.createElement("br", null), "van een van beide het groene vinkje uit.")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block stroom-verbruik-hoog"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('stroom-verbruik-hoog-'),
        labelBelow: "Normaaltarief",
        value: this.state.stroomVerbruikHoog,
        onChange: this.stroomVerbruikHoogChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "fa fa-bolt",
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.stroomVerbruikHoog
      })), this.state.enableSolarProduction && this.state.hasSolarPanels && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block stroom-energie-production-hoog"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('solar-production-high-'),
        labelBelow: "Normaaltarief",
        value: this.state.solarProductionHigh,
        onChange: this.solarProductionHighChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "sun-icon",
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.solarProductionHigh
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block stroom-verbruik-laag"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('stroom-verbruik-laag-'),
        labelBelow: "Daltarief",
        value: this.state.stroomVerbruikLaag,
        onChange: this.stroomVerbruikLaagChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "fa fa-bolt",
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.stroomVerbruikLaag
      })), this.state.enableSolarProduction && this.state.hasSolarPanels && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block stroom-energie-production-laag"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        id: this.generateUniqueId('solar-production-low-'),
        labelBelow: "Daltarief",
        value: this.state.solarProductionLow,
        onChange: this.solarProductionLowChange,
        type: "tel",
        unit: "kWh",
        inputIcon: "sun-icon",
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.solarProductionLow
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "amount-input-block gas-verbruik"
      }, /*#__PURE__*/external_React_default.a.createElement(components_InputGroup, {
        className: "checkbox",
        checkboxId: this.generateUniqueId('has-gas-'),
        checkboxLabel: "hasGas",
        isChecked: this.state.hasGas,
        handleCheckboxChange: this.toggleHasGasCheckbox,
        id: this.generateUniqueId('verbruik-gas-single-meter-'),
        value: this.state.verbruikGas,
        onChange: this.verbruikGasChange,
        type: "tel",
        unit: "m3",
        inputIcon: "fa fa-fire",
        labelBelow: "Gas",
        hasCheckbox: true,
        hasInputIcon: true,
        hasLabelBelow: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.verbruikGas
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "toggle-verbruik"
      }, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "link text-underline",
        onClick: this.handleLinkBelowClick
      }, linkBelowText), /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": "schatOptionsTooltip"
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "schatOptionsTooltip"
      }, "Weet u uw jaarverbruik en/of opwek wel? Klik hier om ", /*#__PURE__*/external_React_default.a.createElement("br", null), "deze zelf in te vullen. Zo kunnen wij u de meest ", /*#__PURE__*/external_React_default.a.createElement("br", null), "voordelige aanbiedingen tonen."))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "validation-and-submit-section"
      }, /*#__PURE__*/external_React_default.a.createElement(components_Button, {
        value: "Start vergelijken",
        size: "medium",
        type: "success",
        isLoading: this.props.isLoading,
        onClick: this.submitStep2,
        isSubmit: true
      }), /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "text-bellow-button",
        onClick: this.goToFirstStep
      }, "Terug")));
    }
  }]);

  return CompactCalculatorStep2;
}(external_React_["Component"]);

CompactCalculatorStep2_defineProperty(CompactCalculatorStep2_CompactCalculatorStep2, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  step2Callback: prop_types_default.a.func.isRequired,
  isLoading: prop_types_default.a.bool.isRequired,
  submitUrl: prop_types_default.a.string.isRequired
});

/* harmony default export */ var Compact_CompactCalculatorStep2 = (CompactCalculatorStep2_CompactCalculatorStep2);
// CONCATENATED MODULE: ./src/components/Calculators/Compact/CompactCalculatorInfoSection.jsx




var CompactCalculatorInfoSection_CompactCalculatorInfoSection = function CompactCalculatorInfoSection() {
  return /*#__PURE__*/external_React_default.a.createElement("div", {
    className: "footer-info-section"
  }, /*#__PURE__*/external_React_default.a.createElement("p", null, "Energie-Zakelijk.nl hecht veel waarde aan uw privacy.", ' ', /*#__PURE__*/external_React_default.a.createElement("a", {
    href: "/privacy-en-cookieverklaring",
    target: "_blank"
  }, "Lees onze privacyverklaring"), "."));
};

/* harmony default export */ var Compact_CompactCalculatorInfoSection = (CompactCalculatorInfoSection_CompactCalculatorInfoSection);
// EXTERNAL MODULE: ./src/sass/components/compactCalculator.scss
var components_compactCalculator = __webpack_require__(110);

// CONCATENATED MODULE: ./src/components/Calculators/Compact/CompactCalculator.jsx
function CompactCalculator_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { CompactCalculator_typeof = function _typeof(obj) { return typeof obj; }; } else { CompactCalculator_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return CompactCalculator_typeof(obj); }

function CompactCalculator_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function CompactCalculator_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); } }

function CompactCalculator_createClass(Constructor, protoProps, staticProps) { if (protoProps) CompactCalculator_defineProperties(Constructor.prototype, protoProps); if (staticProps) CompactCalculator_defineProperties(Constructor, staticProps); return Constructor; }

function CompactCalculator_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) CompactCalculator_setPrototypeOf(subClass, superClass); }

function CompactCalculator_setPrototypeOf(o, p) { CompactCalculator_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return CompactCalculator_setPrototypeOf(o, p); }

function CompactCalculator_createSuper(Derived) { var hasNativeReflectConstruct = CompactCalculator_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = CompactCalculator_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = CompactCalculator_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return CompactCalculator_possibleConstructorReturn(this, result); }; }

function CompactCalculator_possibleConstructorReturn(self, call) { if (call && (CompactCalculator_typeof(call) === "object" || typeof call === "function")) { return call; } return CompactCalculator_assertThisInitialized(self); }

function CompactCalculator_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function CompactCalculator_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function CompactCalculator_getPrototypeOf(o) { CompactCalculator_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return CompactCalculator_getPrototypeOf(o); }

function CompactCalculator_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }










var CompactCalculator_CompactCalculator = /*#__PURE__*/function (_Component) {
  CompactCalculator_inherits(CompactCalculator, _Component);

  var _super = CompactCalculator_createSuper(CompactCalculator);

  function CompactCalculator() {
    var _this;

    CompactCalculator_classCallCheck(this, CompactCalculator);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    CompactCalculator_defineProperty(CompactCalculator_assertThisInitialized(_this), "state", {
      isFirstStepVisible: true,
      isSecondStepVisible: false,
      step: 1,
      title: 'Vergelijk & bespaar'
    });

    CompactCalculator_defineProperty(CompactCalculator_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    CompactCalculator_defineProperty(CompactCalculator_assertThisInitialized(_this), "step1Callback", function (value) {
      _this.setState(function () {
        var res = {
          isFirstStepVisible: !value,
          isSecondStepVisible: value
        };

        if (res.isFirstStepVisible) {
          res.step = 1;
          res.title = 'Vergelijk & bespaar';
        } else {
          res.step = 2;
        }

        return res;
      });
    });

    CompactCalculator_defineProperty(CompactCalculator_assertThisInitialized(_this), "step2Callback", function (value) {
      _this.setState(function () {
        var res = {
          isFirstStepVisible: value,
          isSecondStepVisible: !value
        };

        if (res.isFirstStepVisible) {
          res.step = 1;
          res.title = 'Vergelijk & bespaar';
        } else {
          res.step = 2;
        }

        return res;
      });
    });

    CompactCalculator_defineProperty(CompactCalculator_assertThisInitialized(_this), "handleFormSubmit", function (event) {
      event.preventDefault(); // eslint-disable-next-line no-console

      console.log('submit', event);
    });

    return _this;
  }

  CompactCalculator_createClass(CompactCalculator, [{
    key: "render",
    value: function render() {
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "compact-container"
      }, /*#__PURE__*/external_React_default.a.createElement("section", {
        className: "compact-calculator"
      }, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "/voorwaarden-laagste-prijs-garantie",
        target: "_blank",
        className: "laagste-prijs-garantie-label"
      }), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "section-header"
      }, /*#__PURE__*/external_React_default.a.createElement("h6", {
        className: "bold"
      }, "Stap ", this.state.step, "/2"), /*#__PURE__*/external_React_default.a.createElement("h2", {
        className: "bold"
      }, this.state.title)), /*#__PURE__*/external_React_default.a.createElement("form", {
        className: "compact-calculator-form",
        onSubmit: this.handleFormSubmit
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "calculator-steps"
      }, this.state.isFirstStepVisible && /*#__PURE__*/external_React_default.a.createElement(Compact_CompactCalculatorStep1, {
        uniqueId: this.props.uniqueId,
        step1Callback: this.step1Callback,
        isLoading: this.props.isLoading
      }), this.state.isSecondStepVisible && /*#__PURE__*/external_React_default.a.createElement(Compact_CompactCalculatorStep2, {
        uniqueId: this.props.uniqueId,
        step2Callback: this.step2Callback,
        isLoading: this.props.isLoading,
        submitUrl: this.props.submitUrl
      })))), /*#__PURE__*/external_React_default.a.createElement(Compact_CompactCalculatorInfoSection, null));
    }
  }]);

  return CompactCalculator;
}(external_React_["Component"]);

CompactCalculator_defineProperty(CompactCalculator_CompactCalculator, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  submitUrl: prop_types_default.a.string.isRequired,
  isLoading: prop_types_default.a.bool
});

CompactCalculator_defineProperty(CompactCalculator_CompactCalculator, "defaultProps", {
  isLoading: false
});

/* harmony default export */ var Compact_CompactCalculator = (CompactCalculator_CompactCalculator);
// CONCATENATED MODULE: ./src/components/TextArea/index.jsx
function TextArea_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { TextArea_typeof = function _typeof(obj) { return typeof obj; }; } else { TextArea_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return TextArea_typeof(obj); }

function TextArea_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function TextArea_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); } }

function TextArea_createClass(Constructor, protoProps, staticProps) { if (protoProps) TextArea_defineProperties(Constructor.prototype, protoProps); if (staticProps) TextArea_defineProperties(Constructor, staticProps); return Constructor; }

function TextArea_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) TextArea_setPrototypeOf(subClass, superClass); }

function TextArea_setPrototypeOf(o, p) { TextArea_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return TextArea_setPrototypeOf(o, p); }

function TextArea_createSuper(Derived) { var hasNativeReflectConstruct = TextArea_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = TextArea_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = TextArea_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return TextArea_possibleConstructorReturn(this, result); }; }

function TextArea_possibleConstructorReturn(self, call) { if (call && (TextArea_typeof(call) === "object" || typeof call === "function")) { return call; } return TextArea_assertThisInitialized(self); }

function TextArea_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function TextArea_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function TextArea_getPrototypeOf(o) { TextArea_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return TextArea_getPrototypeOf(o); }

function TextArea_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }






var TextArea_TextArea = /*#__PURE__*/function (_Component) {
  TextArea_inherits(TextArea, _Component);

  var _super = TextArea_createSuper(TextArea);

  function TextArea() {
    var _this;

    TextArea_classCallCheck(this, TextArea);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    TextArea_defineProperty(TextArea_assertThisInitialized(_this), "state", {});

    TextArea_defineProperty(TextArea_assertThisInitialized(_this), "handleChange", function (event) {
      var onChange = _this.props.onChange;
      if (Object(lodash["isFunction"])(onChange)) onChange(event);
    });

    return _this;
  }

  TextArea_createClass(TextArea, [{
    key: "render",
    value: function render() {
      var _this$props = this.props,
          id = _this$props.id,
          label = _this$props.label,
          value = _this$props.value,
          placeholder = _this$props.placeholder,
          inputClass = _this$props.inputClass,
          name = _this$props.name,
          rules = _this$props.rules,
          showValidationMessage = _this$props.showValidationMessage,
          hasValidationIcon = _this$props.hasValidationIcon;
      var validationMessage = !Object(lodash["isEmpty"])(rules) && showValidationMessage ? validateProp(value, rules) : null;
      var isValid = Object(lodash["isEmpty"])(validationMessage);
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "".concat(name, " text-input")
      }, /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: id
      }, label), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "textarea"
      }, /*#__PURE__*/external_React_default.a.createElement("textarea", {
        id: id,
        className: !isValid ? "".concat(inputClass, " input-error") : inputClass,
        rows: "5",
        value: value,
        title: name,
        onChange: this.handleChange,
        onBlur: this.handleChange,
        placeholder: placeholder,
        ref: this.props.setInputRef
      }), !isValid && hasValidationIcon && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "validation-icon fa fa-times"
      }), isValid && hasValidationIcon && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "validation-icon fa fa-check"
      })), !isValid && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: !isValid ? 'validation-tooltip active' : 'validation-tooltip'
      }, validationMessage));
    }
  }]);

  return TextArea;
}(external_React_["Component"]);

TextArea_defineProperty(TextArea_TextArea, "propTypes", {
  id: prop_types_default.a.string.isRequired,
  onChange: prop_types_default.a.func.isRequired,
  label: prop_types_default.a.string.isRequired,
  value: prop_types_default.a.string,
  placeholder: prop_types_default.a.string,
  inputClass: prop_types_default.a.string,
  name: prop_types_default.a.string,
  setInputRef: prop_types_default.a.func,
  rules: prop_types_default.a.object,
  showValidationMessage: prop_types_default.a.bool,
  hasValidationIcon: prop_types_default.a.bool
});

TextArea_defineProperty(TextArea_TextArea, "defaultProps", {
  value: '',
  placeholder: '',
  inputClass: 'form-control',
  name: '',
  setInputRef: function setInputRef(i) {
    return i;
  },
  rules: {},
  showValidationMessage: false,
  hasValidationIcon: false
});


// CONCATENATED MODULE: ./src/components/Forms/Contact/ValidationRules/ContactForm.js
function ContactForm_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }



var ContactFormModel = function ContactFormModel() {
  ContactForm_classCallCheck(this, ContactFormModel);

  this.naam = '';
  this.email = '';
  this.bericht = '';
  this.telefoonnummer = '';
  this.isSuccessMessageVisible = false;
  this.areValidationMessagesVisible = false;
};
var ContactForm_ruleSet = {
  naam: must(beNotEmpty).withMessage('Dit veld is verplicht.'),
  email: must(beNotEmpty).withMessage('Dit veld is verplicht.').and(beValidEmailAddress).withMessage('Vul een geldig e-mail adres in.'),
  bericht: must(beNotEmpty).withMessage('Dit veld is verplicht.'),
  telefoonnummer: must(beNotEmpty).withMessage('Dit veld is verplicht.').and(beValidTelefoonnummer).withMessage('Graag een 10-cijferig telefoonnummer invullen.')
};
// EXTERNAL MODULE: ./src/sass/components/contactForm.scss
var components_contactForm = __webpack_require__(112);

// CONCATENATED MODULE: ./src/components/Forms/Contact/ContactForm.jsx
function ContactForm_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { ContactForm_typeof = function _typeof(obj) { return typeof obj; }; } else { ContactForm_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return ContactForm_typeof(obj); }

function ContactForm_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function ContactForm_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ContactForm_ownKeys(Object(source), true).forEach(function (key) { ContactForm_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ContactForm_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function Contact_ContactForm_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function ContactForm_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); } }

function ContactForm_createClass(Constructor, protoProps, staticProps) { if (protoProps) ContactForm_defineProperties(Constructor.prototype, protoProps); if (staticProps) ContactForm_defineProperties(Constructor, staticProps); return Constructor; }

function ContactForm_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) ContactForm_setPrototypeOf(subClass, superClass); }

function ContactForm_setPrototypeOf(o, p) { ContactForm_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return ContactForm_setPrototypeOf(o, p); }

function ContactForm_createSuper(Derived) { var hasNativeReflectConstruct = ContactForm_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = ContactForm_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = ContactForm_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return ContactForm_possibleConstructorReturn(this, result); }; }

function ContactForm_possibleConstructorReturn(self, call) { if (call && (ContactForm_typeof(call) === "object" || typeof call === "function")) { return call; } return ContactForm_assertThisInitialized(self); }

function ContactForm_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function ContactForm_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function ContactForm_getPrototypeOf(o) { ContactForm_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return ContactForm_getPrototypeOf(o); }

function ContactForm_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }














var ContactForm_ContactForm = /*#__PURE__*/function (_Component) {
  ContactForm_inherits(ContactForm, _Component);

  var _super = ContactForm_createSuper(ContactForm);

  function ContactForm() {
    var _this;

    Contact_ContactForm_classCallCheck(this, ContactForm);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    ContactForm_defineProperty(ContactForm_assertThisInitialized(_this), "state", new ContactFormModel());

    ContactForm_defineProperty(ContactForm_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    ContactForm_defineProperty(ContactForm_assertThisInitialized(_this), "handleNaamChange", function (event) {
      event.preventDefault();

      _this.setState({
        naam: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    ContactForm_defineProperty(ContactForm_assertThisInitialized(_this), "handleEmailChange", function (event) {
      event.preventDefault();

      _this.setState({
        email: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    ContactForm_defineProperty(ContactForm_assertThisInitialized(_this), "handleBerichtChange", function (event) {
      event.preventDefault();

      _this.setState({
        bericht: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    ContactForm_defineProperty(ContactForm_assertThisInitialized(_this), "handleTelefoonnummerChange", function (event) {
      event.preventDefault();

      _this.setState({
        telefoonnummer: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    ContactForm_defineProperty(ContactForm_assertThisInitialized(_this), "postData", function () {
      var data = {
        naam: _this.state.naam,
        email: _this.state.email,
        bericht: _this.state.bericht,
        telefoonnummer: _this.state.telefoonnummer
      };
      axios_default.a.post('/?action=ez_api_request&controller=Wordpress&method=PostContactForm', data).then(function (response) {
        console.log(response);
      })["catch"](function (error) {
        console.log(error, 'API not available');
      });
    });

    ContactForm_defineProperty(ContactForm_assertThisInitialized(_this), "handleFormSubmit", function (event) {
      event.preventDefault();

      _this.setState({
        areValidationMessagesVisible: true
      });

      if (isInstanceValid(_this.state, ContactForm_ruleSet)) {
        saveToLocalStorage('contact-form', Object(lodash["omit"])(_this.state, ['isSuccessMessageVisible', 'areValidationMessagesVisible']));

        _this.postData();

        _this.setState({
          isSuccessMessageVisible: true
        });
      }
    });

    return _this;
  }

  ContactForm_createClass(ContactForm, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      var data = loadFromLocalStorage('contact-form');
      this.setState(ContactForm_objectSpread({
        areValidationMessagesVisible: false,
        isSuccessMessageVisible: false
      }, data));
    }
  }, {
    key: "render",
    value: function render() {
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "contact-form-container"
      }, !this.state.isSuccessMessageVisible && /*#__PURE__*/external_React_default.a.createElement("form", {
        className: "contact-form-block",
        onSubmit: this.handleFormSubmit
      }, /*#__PURE__*/external_React_default.a.createElement("fieldset", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "naam-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "naam",
        label: "Naam",
        className: "form-control",
        value: this.state.naam,
        onChange: this.handleNaamChange,
        onBlur: this.handleNaamChange,
        id: this.generateUniqueId('naam-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ContactForm_ruleSet.naam,
        hasValidationIcon: true
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "email-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "email",
        label: "Email",
        className: "form-control",
        value: this.state.email,
        onChange: this.handleEmailChange,
        onBlur: this.handleEmailChange,
        id: this.generateUniqueId('email-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ContactForm_ruleSet.email,
        hasValidationIcon: true
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "bericht-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextArea_TextArea, {
        name: "bericht",
        label: "Bericht",
        className: "form-control",
        value: this.state.bericht,
        onChange: this.handleBerichtChange,
        onBlur: this.handleBerichtChange,
        id: this.generateUniqueId('bericht-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ContactForm_ruleSet.bericht,
        hasValidationIcon: true
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "telefoonnummer-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "telefoonnummer",
        label: "Telefoonnummer",
        className: "form-control",
        value: this.state.telefoonnummer,
        onChange: this.handleTelefoonnummerChange,
        onBlur: this.handleTelefoonnummerChange,
        id: this.generateUniqueId('telefoonnummer-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ContactForm_ruleSet.telefoonnummer,
        hasValidationIcon: true
      }))), /*#__PURE__*/external_React_default.a.createElement(components_Button, {
        value: "Versturen",
        size: "medium",
        type: "success",
        isLoading: this.props.isLoading,
        onClick: this.handleFormSubmit,
        isSubmit: true
      })), this.state.isSuccessMessageVisible && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "alert alert-success"
      }, "Hartelijk dank voor uw bericht. Onze klantenservice is u graag van dienst bij het beantwoorden van uw vragen. Wij doen onze uiterste best u binnen 24 uur een antwoord te geven.", /*#__PURE__*/external_React_default.a.createElement("br", null), /*#__PURE__*/external_React_default.a.createElement("br", null), "Met vriendelijke groet,", /*#__PURE__*/external_React_default.a.createElement("br", null), "Klantenservice Minder.nl"));
    }
  }]);

  return ContactForm;
}(external_React_["Component"]);

ContactForm_defineProperty(ContactForm_ContactForm, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  submitUrl: prop_types_default.a.string.isRequired,
  isLoading: prop_types_default.a.bool
});

ContactForm_defineProperty(ContactForm_ContactForm, "defaultProps", {
  isLoading: false
});

/* harmony default export */ var Contact_ContactForm = (ContactForm_ContactForm);
// CONCATENATED MODULE: ./src/components/SelectListWithMultipleIcons/index.jsx
function SelectListWithMultipleIcons_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { SelectListWithMultipleIcons_typeof = function _typeof(obj) { return typeof obj; }; } else { SelectListWithMultipleIcons_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return SelectListWithMultipleIcons_typeof(obj); }

function SelectListWithMultipleIcons_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function SelectListWithMultipleIcons_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); } }

function SelectListWithMultipleIcons_createClass(Constructor, protoProps, staticProps) { if (protoProps) SelectListWithMultipleIcons_defineProperties(Constructor.prototype, protoProps); if (staticProps) SelectListWithMultipleIcons_defineProperties(Constructor, staticProps); return Constructor; }

function SelectListWithMultipleIcons_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) SelectListWithMultipleIcons_setPrototypeOf(subClass, superClass); }

function SelectListWithMultipleIcons_setPrototypeOf(o, p) { SelectListWithMultipleIcons_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return SelectListWithMultipleIcons_setPrototypeOf(o, p); }

function SelectListWithMultipleIcons_createSuper(Derived) { var hasNativeReflectConstruct = SelectListWithMultipleIcons_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = SelectListWithMultipleIcons_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = SelectListWithMultipleIcons_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return SelectListWithMultipleIcons_possibleConstructorReturn(this, result); }; }

function SelectListWithMultipleIcons_possibleConstructorReturn(self, call) { if (call && (SelectListWithMultipleIcons_typeof(call) === "object" || typeof call === "function")) { return call; } return SelectListWithMultipleIcons_assertThisInitialized(self); }

function SelectListWithMultipleIcons_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function SelectListWithMultipleIcons_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function SelectListWithMultipleIcons_getPrototypeOf(o) { SelectListWithMultipleIcons_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return SelectListWithMultipleIcons_getPrototypeOf(o); }

function SelectListWithMultipleIcons_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }











var SelectListWithMultipleIcons_SelectListWithMultipleIcons = /*#__PURE__*/function (_Component) {
  SelectListWithMultipleIcons_inherits(SelectListWithMultipleIcons, _Component);

  var _super = SelectListWithMultipleIcons_createSuper(SelectListWithMultipleIcons);

  function SelectListWithMultipleIcons() {
    var _this;

    SelectListWithMultipleIcons_classCallCheck(this, SelectListWithMultipleIcons);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    SelectListWithMultipleIcons_defineProperty(SelectListWithMultipleIcons_assertThisInitialized(_this), "state", {});

    SelectListWithMultipleIcons_defineProperty(SelectListWithMultipleIcons_assertThisInitialized(_this), "handleItemClick", function (event, itemId) {
      event.preventDefault();

      _this.props.onItemSelected(itemId);
    });

    return _this;
  }

  SelectListWithMultipleIcons_createClass(SelectListWithMultipleIcons, [{
    key: "render",
    value: function render() {
      var _this2 = this;

      var _this$props = this.props,
          items = _this$props.items,
          selectedItemId = _this$props.selectedItemId,
          label = _this$props.label,
          labelHasTooltip = _this$props.labelHasTooltip,
          tooltipId = _this$props.tooltipId,
          placeholder = _this$props.placeholder,
          name = _this$props.name,
          rules = _this$props.rules,
          showValidationMessage = _this$props.showValidationMessage;
      var item = !isNullOrWs(selectedItemId) ? items.find(function (x) {
        return x.id === selectedItemId;
      }) : null;
      var validationMessage = !Object(lodash["isEmpty"])(rules) && showValidationMessage ? validateProp(selectedItemId, rules) : null;
      var isValid = Object(lodash["isEmpty"])(validationMessage);
      return /*#__PURE__*/external_React_default.a.createElement("div", null, labelHasTooltip && /*#__PURE__*/external_React_default.a.createElement("label", {
        htmlFor: selectedItemId
      }, label, labelHasTooltip && /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "icon-info",
        "data-tip": "tooltip",
        "data-for": tooltipId
      })), /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown, {
        drop: "down",
        name: name
      }, /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown.Toggle, {
        caret: true
      }, item != null ? /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "dropdown-item-multiple-icons"
      }, !isNullOrWs(item.itemIcons) ? item.itemIcons.map(function (icon) {
        return /*#__PURE__*/external_React_default.a.createElement("span", {
          className: icon
        });
      }) : /*#__PURE__*/external_React_default.a.createElement("span", {
        className: ""
      }), item.label) : /*#__PURE__*/external_React_default.a.createElement("div", null, placeholder)), /*#__PURE__*/external_React_default.a.createElement(react_bootstrap_esm_Dropdown.Menu, {
        as: "ul"
      }, items.map(function (i) {
        return /*#__PURE__*/external_React_default.a.createElement(esm_DropdownItem, {
          eventKey: i.id,
          onClick: function onClick(event) {
            return _this2.handleItemClick(event, i.id);
          }
        }, /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "dropdown-item-multiple-icons"
        }, !isNullOrWs(i.itemIcons) ? i.itemIcons.map(function (icon) {
          return /*#__PURE__*/external_React_default.a.createElement("span", {
            className: icon
          });
        }) : /*#__PURE__*/external_React_default.a.createElement("span", {
          className: ""
        }), i.label));
      }))), !isValid && /*#__PURE__*/external_React_default.a.createElement("span", {
        className: !isValid ? 'validation-tooltip active' : 'validation-tooltip'
      }, validationMessage));
    }
  }]);

  return SelectListWithMultipleIcons;
}(external_React_["Component"]);

SelectListWithMultipleIcons_defineProperty(SelectListWithMultipleIcons_SelectListWithMultipleIcons, "propTypes", {
  label: prop_types_default.a.string.isRequired,
  items: prop_types_default.a.array.isRequired,
  placeholder: prop_types_default.a.string,
  selectedItemId: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]),
  onItemSelected: prop_types_default.a.func.isRequired,
  labelHasTooltip: prop_types_default.a.bool,
  tooltipId: prop_types_default.a.string,
  name: prop_types_default.a.string,
  rules: prop_types_default.a.object,
  showValidationMessage: prop_types_default.a.bool
});

SelectListWithMultipleIcons_defineProperty(SelectListWithMultipleIcons_SelectListWithMultipleIcons, "defaultProps", {
  selectedItemId: null,
  placeholder: 'Maak uw keuze',
  labelHasTooltip: false,
  tooltipId: '',
  name: '',
  rules: {},
  showValidationMessage: false
});


// CONCATENATED MODULE: ./src/components/Calculators/GzmMini/GzmMiniCalculatorInfoSection.jsx




var GzmMiniCalculatorInfoSection_GzmMiniCalculatorInfoSection = function GzmMiniCalculatorInfoSection() {
  return /*#__PURE__*/external_React_default.a.createElement("div", {
    className: "footer-info-section"
  }, /*#__PURE__*/external_React_default.a.createElement("p", null, "Energie-Zakelijk.nl hecht veel waarde aan uw privacy.", ' ', /*#__PURE__*/external_React_default.a.createElement("a", {
    href: "/privacy-en-cookieverklaring",
    target: "_blank"
  }, "Lees onze privacyverklaring"), "."));
};

/* harmony default export */ var GzmMini_GzmMiniCalculatorInfoSection = (GzmMiniCalculatorInfoSection_GzmMiniCalculatorInfoSection);
// CONCATENATED MODULE: ./src/components/Calculators/GzmMini/ValidationRules/GzmMiniCalculator.js
function GzmMiniCalculator_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }



var GzmMiniCalculatorModel = function GzmMiniCalculatorModel() {
  GzmMiniCalculator_classCallCheck(this, GzmMiniCalculatorModel);

  this.postcode = '';
  this.huisnummer = '';
  this.toevoeging = '';
  this.productType = 0;
  this.areValidationMessagesVisible = false;
};
var productTypes = [{
  id: 0,
  label: 'Stroom en gas',
  itemIcons: ['fa fa-bolt', 'fa fa-fire']
}, {
  id: 1,
  label: 'Stroom',
  itemIcons: ['fa fa-bolt']
}, {
  id: 2,
  label: 'Gas',
  itemIcons: ['fa fa-fire']
}];
var GzmMiniCalculator_ruleSet = {
  postcode: must(beNotEmpty).withMessage('Vul uw postcode in.').and(minLength(6)).withMessage('Vul uw postcode in.'),
  huisnummer: must(beNotEmpty).withMessage('Vul uw huisnummer in.'),
  toevoeging: must(maxLength(6)).withMessage('Vul een geldige huisnummertoevoeging van maximaal 6 tekens in.'),
  productType: must(beNotEmpty).withMessage('Selecteer een product type.')
};
// EXTERNAL MODULE: ./src/sass/components/gzmMiniCalculator.scss
var components_gzmMiniCalculator = __webpack_require__(114);

// CONCATENATED MODULE: ./src/components/Calculators/GzmMini/GzmMiniCalculator.jsx
function GzmMiniCalculator_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { GzmMiniCalculator_typeof = function _typeof(obj) { return typeof obj; }; } else { GzmMiniCalculator_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return GzmMiniCalculator_typeof(obj); }

function GzmMiniCalculator_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function GzmMiniCalculator_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { GzmMiniCalculator_ownKeys(Object(source), true).forEach(function (key) { GzmMiniCalculator_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { GzmMiniCalculator_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function GzmMini_GzmMiniCalculator_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function GzmMiniCalculator_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); } }

function GzmMiniCalculator_createClass(Constructor, protoProps, staticProps) { if (protoProps) GzmMiniCalculator_defineProperties(Constructor.prototype, protoProps); if (staticProps) GzmMiniCalculator_defineProperties(Constructor, staticProps); return Constructor; }

function GzmMiniCalculator_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) GzmMiniCalculator_setPrototypeOf(subClass, superClass); }

function GzmMiniCalculator_setPrototypeOf(o, p) { GzmMiniCalculator_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return GzmMiniCalculator_setPrototypeOf(o, p); }

function GzmMiniCalculator_createSuper(Derived) { var hasNativeReflectConstruct = GzmMiniCalculator_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = GzmMiniCalculator_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = GzmMiniCalculator_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return GzmMiniCalculator_possibleConstructorReturn(this, result); }; }

function GzmMiniCalculator_possibleConstructorReturn(self, call) { if (call && (GzmMiniCalculator_typeof(call) === "object" || typeof call === "function")) { return call; } return GzmMiniCalculator_assertThisInitialized(self); }

function GzmMiniCalculator_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function GzmMiniCalculator_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function GzmMiniCalculator_getPrototypeOf(o) { GzmMiniCalculator_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return GzmMiniCalculator_getPrototypeOf(o); }

function GzmMiniCalculator_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
















var GzmMiniCalculator_GzmMiniCalculator = /*#__PURE__*/function (_Component) {
  GzmMiniCalculator_inherits(GzmMiniCalculator, _Component);

  var _super = GzmMiniCalculator_createSuper(GzmMiniCalculator);

  function GzmMiniCalculator() {
    var _this;

    GzmMini_GzmMiniCalculator_classCallCheck(this, GzmMiniCalculator);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    GzmMiniCalculator_defineProperty(GzmMiniCalculator_assertThisInitialized(_this), "state", new GzmMiniCalculatorModel());

    GzmMiniCalculator_defineProperty(GzmMiniCalculator_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    GzmMiniCalculator_defineProperty(GzmMiniCalculator_assertThisInitialized(_this), "handlePostcodeChange", function (event) {
      event.preventDefault();

      _this.setState({
        postcode: event.target.value,
        areValidationMessagesVisible: true
      });
    });

    GzmMiniCalculator_defineProperty(GzmMiniCalculator_assertThisInitialized(_this), "handleChange", function (event) {
      var _this$setState, _this$setState2, _this$setState3;

      event.preventDefault();
      var _event$target = event.target,
          name = _event$target.name,
          type = _event$target.type,
          value = _event$target.value;

      switch (type) {
        case 'text':
          _this.setState((_this$setState = {}, GzmMiniCalculator_defineProperty(_this$setState, name, value), GzmMiniCalculator_defineProperty(_this$setState, "areValidationMessagesVisible", true), _this$setState));

          break;

        case 'tel':
        case 'number':
          if (/^[0-9,.]*$/.test(value)) _this.setState((_this$setState2 = {}, GzmMiniCalculator_defineProperty(_this$setState2, name, value), GzmMiniCalculator_defineProperty(_this$setState2, "areValidationMessagesVisible", true), _this$setState2));
          break;

        default:
          _this.setState((_this$setState3 = {}, GzmMiniCalculator_defineProperty(_this$setState3, name, value), GzmMiniCalculator_defineProperty(_this$setState3, "areValidationMessagesVisible", true), _this$setState3));

          break;
      }
    });

    GzmMiniCalculator_defineProperty(GzmMiniCalculator_assertThisInitialized(_this), "toggleProductTypeSelectList", function (item) {
      _this.setState({
        productType: item,
        areValidationMessagesVisible: true
      });
    });

    GzmMiniCalculator_defineProperty(GzmMiniCalculator_assertThisInitialized(_this), "handleFormSubmit", function (event) {
      event.preventDefault();

      _this.setState({
        areValidationMessagesVisible: true
      });

      if (isInstanceValid(_this.state, GzmMiniCalculator_ruleSet)) {
        saveToLocalStorage('gzm-mini-calculator', Object(lodash["omit"])(_this.state, ['areValidationMessagesVisible']));
        var url = 'energie-vergelijken-grootzakelijk?iframepage=gzm-stap-1&';
        if (_this.state.postcode !== '') url += "postcode=".concat(removeSpaceFromString(_this.state.postcode), "&");
        if (_this.state.huisnummer !== '') url += "huisnummer=".concat(_this.state.huisnummer, "&");
        if (_this.state.toevoeging !== '') url += "toevoeging=".concat(_this.state.toevoeging, "&");
        if (_this.state.productType !== '') url += "productType=".concat(_this.state.productType);
        window.open(url, '_self');
      }
    });

    return _this;
  }

  GzmMiniCalculator_createClass(GzmMiniCalculator, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      var data = loadFromLocalStorage('gzm-mini-calculator');
      this.setState(GzmMiniCalculator_objectSpread({
        areValidationMessagesVisible: false
      }, data));
    }
  }, {
    key: "render",
    value: function render() {
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "gzm-mini-calculator-container"
      }, /*#__PURE__*/external_React_default.a.createElement("section", {
        className: "gzm-mini-calculator"
      }, /*#__PURE__*/external_React_default.a.createElement("form", {
        className: "gzm-mini-calculator with-navigation",
        onSubmit: this.handleFormSubmit
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "gzm-mini-calculator-form"
      }, /*#__PURE__*/external_React_default.a.createElement("h2", {
        className: "extra-bold"
      }, "Start uw grootzakelijke vergelijking"), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "gzm-mini-calculator-address"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "postcode-item"
      }, /*#__PURE__*/external_React_default.a.createElement(MaskedTextInput_MaskedTextInput, {
        type: "text",
        name: "postcode",
        label: "Postcode",
        className: "form-control",
        placeholder: "6532 TJ",
        mask: "9999 aa",
        value: this.state.postcode,
        onChange: this.handleChange,
        onBlur: this.handleChange,
        id: this.generateUniqueId('postcode-'),
        tooltipId: "postcodeTooltip",
        labelHasTooltip: true,
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: GzmMiniCalculator_ruleSet.postcode
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "postcodeTooltip"
      }, "Uw adresgegevens zijn nodig om de juiste ", /*#__PURE__*/external_React_default.a.createElement("br", null), "gasregiotoeslag te bepalen. Het totale gastarief is ", /*#__PURE__*/external_React_default.a.createElement("br", null), "namelijk afhankelijk van uw locatie.")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "huisnummer-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "tel",
        name: "huisnummer",
        label: "Huisnr.",
        className: "form-control calculator-small-width",
        placeholder: "20",
        value: this.state.huisnummer,
        onChange: this.handleChange,
        onBlur: this.handleChange,
        id: this.generateUniqueId('huisnummer-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: GzmMiniCalculator_ruleSet.huisnummer
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "toevoeging-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "toevoeging",
        label: "Toev.",
        className: "form-control",
        placeholder: "A",
        value: this.state.toevoeging,
        onChange: this.handleChange,
        onBlur: this.handleChange,
        id: this.generateUniqueId('toevoeging-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: GzmMiniCalculator_ruleSet.toevoeging
      }))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "gzm-mini-calculator-product-type"
      }, /*#__PURE__*/external_React_default.a.createElement(SelectListWithMultipleIcons_SelectListWithMultipleIcons, {
        label: "Wat wilt u vergelijken?",
        items: productTypes,
        selectedItemId: this.state.productType,
        onItemSelected: this.toggleProductTypeSelectList,
        tooltipId: "infoPopoverTemplate",
        labelHasTooltip: true
      }), /*#__PURE__*/external_React_default.a.createElement(components_Tooltip, {
        id: "infoPopoverTemplate"
      }, "Geef hier aan of u stroom en/of gas wilt ", /*#__PURE__*/external_React_default.a.createElement("br", null), "vergelijken. Zodat u alleen het aanbod ziet waar u ", /*#__PURE__*/external_React_default.a.createElement("br", null), "naar op zoek bent.")), /*#__PURE__*/external_React_default.a.createElement(components_Button, {
        value: "Naar stap 2",
        size: "medium",
        type: "success",
        isLoading: this.props.isLoading,
        onClick: this.handleFormSubmit,
        isSubmit: true
      })))), /*#__PURE__*/external_React_default.a.createElement(GzmMini_GzmMiniCalculatorInfoSection, null));
    }
  }]);

  return GzmMiniCalculator;
}(external_React_["Component"]);

GzmMiniCalculator_defineProperty(GzmMiniCalculator_GzmMiniCalculator, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  submitUrl: prop_types_default.a.string.isRequired,
  isLoading: prop_types_default.a.bool
});

GzmMiniCalculator_defineProperty(GzmMiniCalculator_GzmMiniCalculator, "defaultProps", {
  isLoading: false
});

/* harmony default export */ var GzmMini_GzmMiniCalculator = (GzmMiniCalculator_GzmMiniCalculator);
// CONCATENATED MODULE: ./src/common/parseUrl.js
function parseUrl_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var UrlModel = function UrlModel(model) {
  parseUrl_classCallCheck(this, UrlModel);

  this.postcode = model.postcode || null;
  this.huisnummer = model.huisnummer || null;
  this.toevoeging = model.toevoeging || null;
  this.huidigeLeverancierId = model.stroomLeverancier || null;
  this.isDubbeleMeter = findIsDubbeleMeter(model.meter) || null;
  this.stroomVerbruikEnkel = model.stroomVerbruik || null;
  this.stroomVerbruikHoog = model.stroomVerbruikHoog || null;
  this.stroomVerbruikLaag = model.stroomVerbruikLaag || null;
  this.gasVerbruik = model.verbruikGas || null;
  this.stroomEnergieProduction = model.ep || null;
  this.stroomEnergieProductionHoog = model.eph || null;
  this.stroomEnergieProductionLaag = model.epl || null;
  this.E = model.e || null;
  this.G = model.g || null;
  this.connectionSelection = model.e == null && model.g == null ? 0 : 1;
  this.productType = model.productType || null;
  this.doelgroep = model.doelgroep || null;
  this.kvkNummer = model.kvkNummer || null;
  this.bedrijfsnaam = model.bedrijfsnaam || null;
  this.comparisonType = model.comparisonType || null;
  this.isDefault = model.isDefault || null;
  this.multipleAddresses = model.multipleAddresses || null;
  this.forceTax = model.forceTax || null;
  this.isResidential = model.isResidential || null;
  this.compareDataKey = model.compareDataKey || null;
  this.usageType = model.usageType || null;
  this.productVersieId = model.productVersieId || null;
  this.meter = model.meter || null;
};
function parseUrl(data) {
  var urlSearchParams = new URLSearchParams(data);
  var urlParams = Object.fromEntries(urlSearchParams.entries());
  var model = new UrlModel(urlParams);
  return model;
}
function findIsDubbeleMeter(model) {
  if (model.meter === 'enkel') return false;
  if (model.meter === 'dubbel') return true;
}
// CONCATENATED MODULE: ./src/components/Forms/MkbOverstap/ValidationRules/MkbOverstapForm.js
function MkbOverstapForm_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }



var MkbOverstapFormModel = function MkbOverstapFormModel() {
  MkbOverstapForm_classCallCheck(this, MkbOverstapFormModel);

  this.postcode = '';
  this.huisnummer = '';
  this.toevoeging = '';
  this.straatnaam = '';
  this.plaatsnaam = '';
  this.hasAddress = false;
  this.postcode1 = '';
  this.huisnummer1 = '';
  this.toevoeging1 = '';
  this.straatnaam1 = '';
  this.plaatsnaam1 = '';
  this.productVersieId = '';
  this.areValidationMessagesVisible = false;
  this.areSummaryMessagesVisible = false;
  this.summaryMessages = [];
};
var MkbOverstapForm_ruleSetFactory = function ruleSetFactory(hasAddress) {
  return {
    postcode: must(beNotEmpty).withMessage('Vul een geldige postcode in, bijvoorbeeld 4321BA of 4321 BA.').and(minLength(6)).withMessage('Vul een geldige postcode in, bijvoorbeeld 4321BA of 4321 BA.'),
    huisnummer: must(beNotEmpty).withMessage('Vul een geldig huisnummer in, alleen nummers zijn toegestaan.'),
    toevoeging: must(maxLength(6)).withMessage('Vul een geldige huisnummertoevoeging van maximaal 6 tekens in.'),
    straatnaam: must(beNotEmpty).withMessage('Vul uw straatnaam in.'),
    plaatsnaam: must(beNotEmpty).withMessage('Vul uw plaatsnaam in.'),
    postcode1: must(beNotEmpty).when(function () {
      return beTrue(hasAddress);
    }).withMessage('Vul een geldige postcode in, bijvoorbeeld 4321BA of 4321 BA.').and(minLength(6)).when(function () {
      return beTrue(hasAddress);
    }).withMessage('Vul een geldige postcode in, bijvoorbeeld 4321BA of 4321 BA.'),
    huisnummer1: must(beNotEmpty).when(function () {
      return beTrue(hasAddress);
    }).withMessage('Vul een geldig huisnummer in, alleen nummers zijn toegestaan.'),
    toevoeging1: must(maxLength(6)).when(function () {
      return beTrue(hasAddress);
    }).withMessage('Vul een geldige huisnummertoevoeging van maximaal 6 tekens in.'),
    straatnaam1: must(beNotEmpty).when(function () {
      return beTrue(hasAddress);
    }).withMessage('Vul uw straatnaam in.'),
    plaatsnaam1: must(beNotEmpty).when(function () {
      return beTrue(hasAddress);
    }).withMessage('Vul uw plaatsnaam in.')
  };
};
// EXTERNAL MODULE: ./src/sass/components/mkbOverstapForm.scss
var components_mkbOverstapForm = __webpack_require__(116);

// CONCATENATED MODULE: ./src/components/Forms/MkbOverstap/MkbOverstapForm.jsx
function MkbOverstapForm_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MkbOverstapForm_typeof = function _typeof(obj) { return typeof obj; }; } else { MkbOverstapForm_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MkbOverstapForm_typeof(obj); }

function MkbOverstapForm_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function MkbOverstapForm_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { MkbOverstapForm_ownKeys(Object(source), true).forEach(function (key) { MkbOverstapForm_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { MkbOverstapForm_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function MkbOverstap_MkbOverstapForm_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MkbOverstapForm_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); } }

function MkbOverstapForm_createClass(Constructor, protoProps, staticProps) { if (protoProps) MkbOverstapForm_defineProperties(Constructor.prototype, protoProps); if (staticProps) MkbOverstapForm_defineProperties(Constructor, staticProps); return Constructor; }

function MkbOverstapForm_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MkbOverstapForm_setPrototypeOf(subClass, superClass); }

function MkbOverstapForm_setPrototypeOf(o, p) { MkbOverstapForm_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MkbOverstapForm_setPrototypeOf(o, p); }

function MkbOverstapForm_createSuper(Derived) { var hasNativeReflectConstruct = MkbOverstapForm_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MkbOverstapForm_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MkbOverstapForm_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MkbOverstapForm_possibleConstructorReturn(this, result); }; }

function MkbOverstapForm_possibleConstructorReturn(self, call) { if (call && (MkbOverstapForm_typeof(call) === "object" || typeof call === "function")) { return call; } return MkbOverstapForm_assertThisInitialized(self); }

function MkbOverstapForm_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MkbOverstapForm_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MkbOverstapForm_getPrototypeOf(o) { MkbOverstapForm_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MkbOverstapForm_getPrototypeOf(o); }

function MkbOverstapForm_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }














var MkbOverstapForm_MkbOverstapForm = /*#__PURE__*/function (_Component) {
  MkbOverstapForm_inherits(MkbOverstapForm, _Component);

  var _super = MkbOverstapForm_createSuper(MkbOverstapForm);

  function MkbOverstapForm() {
    var _this;

    MkbOverstap_MkbOverstapForm_classCallCheck(this, MkbOverstapForm);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "state", new MkbOverstapFormModel());

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "handlePostcodeChange", function (event) {
      event.preventDefault();

      _this.setState({
        postcode: event.target.value
      });
    });

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "handleHuisnummerChange", function (event) {
      event.preventDefault();

      _this.setState({
        huisnummer: event.target.value
      });
    });

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "handleToevoegingChange", function (event) {
      event.preventDefault();

      _this.setState({
        toevoeging: event.target.value
      });
    });

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "handleStraatnaamChange", function (event) {
      event.preventDefault();

      _this.setState({
        straatnaam: event.target.value
      });
    });

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "handlePlaatsnaamChange", function (event) {
      event.preventDefault();

      _this.setState({
        plaatsnaam: event.target.value
      });
    });

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "toggleHasAddressCheckbox", function () {
      _this.setState(function (state) {
        return {
          hasAddress: !state.hasAddress
        };
      });
    });

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "handlePostcode1Change", function (event) {
      event.preventDefault();

      _this.setState({
        postcode1: event.target.value
      });
    });

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "handleHuisnummer1Change", function (event) {
      event.preventDefault();

      _this.setState({
        huisnummer1: event.target.value
      });
    });

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "handleToevoeging1Change", function (event) {
      event.preventDefault();

      _this.setState({
        toevoeging1: event.target.value
      });
    });

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "handleStraatnaam1Change", function (event) {
      event.preventDefault();

      _this.setState({
        straatnaam1: event.target.value
      });
    });

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "handlePlaatsnaam1Change", function (event) {
      event.preventDefault();

      _this.setState({
        plaatsnaam1: event.target.value
      });
    });

    MkbOverstapForm_defineProperty(MkbOverstapForm_assertThisInitialized(_this), "handleFormSubmit", function (event) {
      event.preventDefault();

      _this.setState({
        areValidationMessagesVisible: true,
        areSummaryMessagesVisible: false,
        summaryMessages: []
      });

      var validResult = validator_validate(_this.state, MkbOverstapForm_ruleSetFactory(_this.state.hasAddress));

      if (Object(lodash["isEmpty"])(validResult)) {
        saveToLocalStorage('mkb-overstap-form', Object(lodash["omit"])(_this.state, ['areValidationMessagesVisible', 'areSummaryMessagesVisible', 'summaryMessages']));
        console.log('success submit');
      } else {
        _this.setState({
          areSummaryMessagesVisible: true,
          summaryMessages: Object.entries(validResult).map(function (item) {
            return {
              value: item[0],
              message: item[1]
            };
          })
        });
      }
    });

    return _this;
  }

  MkbOverstapForm_createClass(MkbOverstapForm, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      var data = loadFromLocalStorage('mkb-overstap-form');
      this.setState(MkbOverstapForm_objectSpread({
        areValidationMessagesVisible: false,
        areSummaryMessagesVisible: false,
        summaryMessages: []
      }, data));
      var urlParams = parseUrl(window.location.search);
      this.setState(function () {
        var res = {
          postcode: urlParams.postcode,
          huisnummer: urlParams.huisnummer,
          toevoeging: urlParams.toevoeging,
          productVersieId: urlParams.productVersieId
        };
        return res;
      });
    }
  }, {
    key: "render",
    value: function render() {
      var ruleSet = MkbOverstapForm_ruleSetFactory(this.state.hasAddress);
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-overstap-form-container"
      }, /*#__PURE__*/external_React_default.a.createElement("form", {
        className: "mkb-overstap-form-block",
        onSubmit: this.handleFormSubmit
      }, /*#__PURE__*/external_React_default.a.createElement("h4", null, "Leveringsadres"), /*#__PURE__*/external_React_default.a.createElement("fieldset", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-overstap-form-address"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "address-first-row"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "postcode-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "postcode",
        label: "Postcode",
        className: "form-control",
        placeholder: "6532 TJ",
        value: this.state.postcode,
        onChange: this.handlePostcodeChange,
        onBlur: this.handlePostcodeChange,
        id: this.generateUniqueId('postcode-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.postcode,
        hasValidationIcon: true
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "huisnummer-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "huisnummer",
        label: "Huisnummer",
        className: "form-control calculator-small-width",
        placeholder: "20",
        value: this.state.huisnummer,
        onChange: this.handleHuisnummerChange,
        onBlur: this.handleHuisnummerChange,
        id: this.generateUniqueId('huisnummer-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.huisnummer,
        hasValidationIcon: true
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "toevoeging-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "toevoeging",
        label: "Toevoeging (optioneel)",
        className: "form-control",
        placeholder: "A",
        value: this.state.toevoeging,
        onChange: this.handleToevoegingChange,
        onBlur: this.handleToevoegingChange,
        id: this.generateUniqueId('toevoeging-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.toevoeging
      }))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "address-second-row"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "straatnaam-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "straatnaam",
        label: "Straatnaam",
        className: "form-control",
        placeholder: "",
        value: this.state.straatnaam,
        onChange: this.handleStraatnaamChange,
        onBlur: this.handleStraatnaamChange,
        id: this.generateUniqueId('straatnaam-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.straatnaam,
        hasValidationIcon: true
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "plaatsnaam-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "plaatsnaam",
        label: "Plaatsnaam",
        className: "form-control",
        placeholder: "",
        value: this.state.plaatsnaam,
        onChange: this.handlePlaatsnaamChange,
        onBlur: this.handlePlaatsnaamChange,
        id: this.generateUniqueId('plaatsnaam-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.plaatsnaam,
        hasValidationIcon: true
      })))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-overstap-form-checkbox-row"
      }, /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: "checkbox",
        id: this.generateUniqueId('hasAddress-'),
        name: "hasAddress",
        label: "Mijn postadres wijkt af van mijn leveringsadres.",
        isChecked: this.state.hasAddress,
        handleCheckboxChange: this.toggleHasAddressCheckbox
      })), this.state.hasAddress && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-overstap-form-address"
      }, /*#__PURE__*/external_React_default.a.createElement("h4", {
        className: "address-title"
      }, "Uw postadres"), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "address-first-row"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "postcode-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "postcode1",
        label: "Postcode",
        className: "form-control",
        placeholder: "6532 TJ",
        value: this.state.postcode1,
        onChange: this.handlePostcode1Change,
        onBlur: this.handlePostcode1Change,
        id: this.generateUniqueId('postcode1-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.postcode1,
        hasValidationIcon: true
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "huisnummer-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "huisnummer1",
        label: "Huisnummer",
        className: "form-control calculator-small-width",
        placeholder: "20",
        value: this.state.huisnummer1,
        onChange: this.handleHuisnummer1Change,
        onBlur: this.handleHuisnummer1Change,
        id: this.generateUniqueId('huisnummer1-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.huisnummer1,
        hasValidationIcon: true
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "toevoeging-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "toevoeging1",
        label: "Toevoeging (optioneel)",
        className: "form-control",
        placeholder: "A",
        value: this.state.toevoeging1,
        onChange: this.handleToevoeging1Change,
        onBlur: this.handleToevoeging1Change,
        id: this.generateUniqueId('toevoeging1-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.toevoeging1,
        hasValidationIcon: true
      }))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "address-second-row"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "straatnaam-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "straatnaam1",
        label: "Straatnaam",
        className: "form-control",
        placeholder: "",
        value: this.state.straatnaam1,
        onChange: this.handleStraatnaam1Change,
        onBlur: this.handleStraatnaam1Change,
        id: this.generateUniqueId('straatnaam1-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.straatnaam1,
        hasValidationIcon: true
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "plaatsnaam-item"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "plaatsnaam1",
        label: "Plaatsnaam",
        className: "form-control",
        placeholder: "",
        value: this.state.plaatsnaam1,
        onChange: this.handlePlaatsnaam1Change,
        onBlur: this.handlePlaatsnaam1Change,
        id: this.generateUniqueId('plaatsnaam1-'),
        showValidationMessage: this.state.areValidationMessagesVisible,
        rules: ruleSet.plaatsnaam1,
        hasValidationIcon: true
      }))))), this.state.areSummaryMessagesVisible && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "summary-messages-block"
      }, /*#__PURE__*/external_React_default.a.createElement("h4", null, /*#__PURE__*/external_React_default.a.createElement("strong", null, "Sorry"), ", de volgende gegevens zijn niet volledig of correct:"), this.state.summaryMessages.map(function (m) {
        return /*#__PURE__*/external_React_default.a.createElement("div", null, /*#__PURE__*/external_React_default.a.createElement("i", {
          className: "fa fa-fw fa-times"
        }), m.message);
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "submit-section"
      }, /*#__PURE__*/external_React_default.a.createElement(components_Button, {
        value: "Aanmelden",
        size: "medium",
        type: "success",
        isLoading: this.props.isLoading,
        onClick: this.handleFormSubmit,
        isSubmit: true
      }))));
    }
  }]);

  return MkbOverstapForm;
}(external_React_["Component"]);

MkbOverstapForm_defineProperty(MkbOverstapForm_MkbOverstapForm, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  isLoading: prop_types_default.a.bool
});

MkbOverstapForm_defineProperty(MkbOverstapForm_MkbOverstapForm, "defaultProps", {
  isLoading: false
});

/* harmony default export */ var MkbOverstap_MkbOverstapForm = (MkbOverstapForm_MkbOverstapForm);
// EXTERNAL MODULE: ./src/sass/components/feedbackScoreHome.scss
var components_feedbackScoreHome = __webpack_require__(118);

// CONCATENATED MODULE: ./src/components/Containers/FeedbackScoreHome/index.js
function FeedbackScoreHome_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { FeedbackScoreHome_typeof = function _typeof(obj) { return typeof obj; }; } else { FeedbackScoreHome_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return FeedbackScoreHome_typeof(obj); }

function FeedbackScoreHome_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function FeedbackScoreHome_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); } }

function FeedbackScoreHome_createClass(Constructor, protoProps, staticProps) { if (protoProps) FeedbackScoreHome_defineProperties(Constructor.prototype, protoProps); if (staticProps) FeedbackScoreHome_defineProperties(Constructor, staticProps); return Constructor; }

function FeedbackScoreHome_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) FeedbackScoreHome_setPrototypeOf(subClass, superClass); }

function FeedbackScoreHome_setPrototypeOf(o, p) { FeedbackScoreHome_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return FeedbackScoreHome_setPrototypeOf(o, p); }

function FeedbackScoreHome_createSuper(Derived) { var hasNativeReflectConstruct = FeedbackScoreHome_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = FeedbackScoreHome_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = FeedbackScoreHome_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return FeedbackScoreHome_possibleConstructorReturn(this, result); }; }

function FeedbackScoreHome_possibleConstructorReturn(self, call) { if (call && (FeedbackScoreHome_typeof(call) === "object" || typeof call === "function")) { return call; } return FeedbackScoreHome_assertThisInitialized(self); }

function FeedbackScoreHome_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function FeedbackScoreHome_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function FeedbackScoreHome_getPrototypeOf(o) { FeedbackScoreHome_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return FeedbackScoreHome_getPrototypeOf(o); }

function FeedbackScoreHome_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }









var FeedbackScoreHome_FeedbackScoreHome = /*#__PURE__*/function (_Component) {
  FeedbackScoreHome_inherits(FeedbackScoreHome, _Component);

  var _super = FeedbackScoreHome_createSuper(FeedbackScoreHome);

  function FeedbackScoreHome() {
    var _this;

    FeedbackScoreHome_classCallCheck(this, FeedbackScoreHome);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    FeedbackScoreHome_defineProperty(FeedbackScoreHome_assertThisInitialized(_this), "state", {
      score: 0,
      numberOfReviews: 0
    });

    FeedbackScoreHome_defineProperty(FeedbackScoreHome_assertThisInitialized(_this), "getData", function () {
      axios_default.a.get('/?action=ez_api_request&controller=Wordpress&method=FetchFeedbackCompanyScore').then(function (res) {
        if (res.status === 200) {
          if (res.data != null) {
            var data = JSON.parse(res.data);

            _this.setState({
              score: data.score,
              numberOfReviews: data.numberOfReviews
            });
          } else {
            console.log('Error: Feedback data not available');
          }
        } else {
          console.log('Error: API not available');
        }
      });
    });

    return _this;
  }

  FeedbackScoreHome_createClass(FeedbackScoreHome, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      this.getData();
    } // get needed data

  }, {
    key: "render",
    value: function render() {
      var rating = Math.round(this.state.score, 1) / 2;
      var starClass = "ster-".concat(rating.toString().replace('.', ''));
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "feedback-score-home-container"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "feedback-score clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "ekomi-score-titel"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, "Energie-zakelijk.nl"), " is beoordeeld met een"), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "rating clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "feedback-score-score-wrap clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "rating-value"
      }, formatNumber(this.state.score, 1)), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "sterren"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: starClass
      }))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "feedback-score-text-wrap"
      }, "Dit is gebaseerd op ", /*#__PURE__*/external_React_default.a.createElement("span", null, this.state.numberOfReviews, " "), /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "https://www.feedbackcompany.com/nl-nl/reviews/minder-nl/",
        target: "_blank"
      }, "klant beoordelingen")))), /*#__PURE__*/external_React_default.a.createElement("hr", null));
    }
  }]);

  return FeedbackScoreHome;
}(external_React_["Component"]);

FeedbackScoreHome_defineProperty(FeedbackScoreHome_FeedbackScoreHome, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired
});

FeedbackScoreHome_defineProperty(FeedbackScoreHome_FeedbackScoreHome, "defaultProps", {});

/* harmony default export */ var Containers_FeedbackScoreHome = (FeedbackScoreHome_FeedbackScoreHome);
// CONCATENATED MODULE: ./src/common/utilEnums.js
var connectionTypeGOptions = {
  G6_500: 0,
  G6_500_4000: 1,
  G6_4000: 2,
  G10: 3,
  G16: 4,
  G25: 5
};
var connectionTypesG = [{
  id: 0,
  label: 'G6'
}, // { id: 1, label: 'G6' },
// { id: 2, label: 'G6' },
{
  id: 3,
  label: 'G10'
}, {
  id: 4,
  label: 'G16'
}, {
  id: 5,
  label: 'G25'
}];
function displayConnectionTypeG(value) {
  if (value >= 0 && value <= 2) return 'G6';

  switch (value) {
    // case connectionTypeGOptions.G6_500:
    //     return 'G6 < 500 m3/jaar';
    // case connectionTypeGOptions.G6_500_4000:
    //     return 'G6 ≥ 500 < 4000 m3/jaar';
    // case connectionTypeGOptions.G6_4000:
    //     return 'G6 ≥ 4000 m3/jaar';
    case connectionTypeGOptions.G10:
      return 'G10';

    case connectionTypeGOptions.G16:
      return 'G16';

    case connectionTypeGOptions.G25:
      return 'G25';

    default:
      return 'Unknown connection type G';
  }
}
var connectionTypeEOptions = {
  E3x25a: 0,
  E3x35a: 1,
  E3x50a: 2,
  E3x63a: 3,
  E3x80a: 4
};
var connectionTypesE = [{
  id: 0,
  label: '3x25A'
}, {
  id: 1,
  label: '3x35A'
}, {
  id: 2,
  label: '3x50A'
}, {
  id: 3,
  label: '3x63A'
}, {
  id: 4,
  label: '3x80A'
}];
function displayConnectionTypeE(value) {
  switch (value) {
    case connectionTypeEOptions.E3x25a:
      return '3x25A';

    case connectionTypeEOptions.E3x35a:
      return '3x35A';

    case connectionTypeEOptions.E3x50a:
      return '3x50A';

    case connectionTypeEOptions.E3x63a:
      return '3x63A';

    case connectionTypeEOptions.E3x80a:
      return '3x80A';

    default:
      return 'Unknown connection type E';
  }
}
var connectionSelections = {
  EanboekAutomatic: 0,
  UserSelected: 1
};
function displayConnectionSelections(value) {
  switch (value) {
    case connectionSelections.EanboekAutomatic:
      return 'EanboekAutomatic';

    case connectionSelections.UserSelected:
      return 'UserSelected';

    default:
      return 'Unknown connection selection';
  }
}
var utilEnums_productTypes = {
  StroomEnGas: 0,
  Stroom: 1,
  Gas: 2
};
function displayProductTypes(value) {
  switch (value) {
    case utilEnums_productTypes.StroomEnGas:
      return 'Stroom en gas';

    case utilEnums_productTypes.Stroom:
      return 'Stroom';

    case utilEnums_productTypes.Gas:
      return 'Gas';

    default:
      return 'Unknown product type';
  }
}
var productDoelgroeps = {
  Consumenten: 0,
  Mkb: 1,
  GrootZakelijk: 2
};
function displayProductDoelgroeps(value) {
  switch (value) {
    case productDoelgroeps.Consumenten:
      return 'Consumenten';

    case productDoelgroeps.Mkb:
      return 'Mkb';

    case productDoelgroeps.GrootZakelijk:
      return 'Gzm';

    default:
      return 'Unknown product doelgroep';
  }
}
var duurzaamheidFiltersItems = [{
  id: 1,
  name: 'Groen',
  showIcon: false,
  numberOfListItems: 0
}, {
  id: 2,
  name: 'Grijs',
  showIcon: false,
  numberOfListItems: 0
}, {
  id: 3,
  name: 'Half',
  showIcon: false,
  numberOfListItems: 0
}];
var duurzaamheidFilters = {
  Groen: 1,
  Grijs: 2,
  Half: 3
};
function displayDuurzaamheidFilters(value) {
  switch (value) {
    case duurzaamheidFilters.Groen:
      return 'Groen';

    case duurzaamheidFilters.Grijs:
      return 'Grijs';

    case duurzaamheidFilters.Half:
      return 'Half';

    default:
      return 'Unknown duurzaamheid filters';
  }
}
var actiesFiltersItems = [{
  id: 0,
  name: 'Zonder',
  showIcon: false,
  numberOfListItems: 0
}, {
  id: 1,
  name: 'Met',
  showIcon: false,
  numberOfListItems: 0
}];
var actiesFilters = {
  Zonder: 0,
  Met: 1
};
function displayActiesFilters(value) {
  switch (value) {
    case actiesFilters.Zonder:
      return 'Zonder';

    case actiesFilters.Met:
      return 'Met';

    default:
      return 'Unknown acties filters';
  }
}
var productsoortFiltersItems = [{
  id: 0,
  name: 'Onbepaalde tijd',
  showIcon: false,
  numberOfListItems: 0
}, {
  id: 1,
  name: '1 jaar Vast',
  showIcon: false,
  numberOfListItems: 0
}, {
  id: 2,
  name: '2 jaar Vast',
  showIcon: false,
  numberOfListItems: 0
}, {
  id: 3,
  name: '3 jaar Vast',
  showIcon: false,
  numberOfListItems: 0
}, {
  id: 4,
  name: '4 jaar Vast',
  showIcon: false,
  numberOfListItems: 0
}, {
  id: 5,
  name: '5 jaar Vast',
  showIcon: false,
  numberOfListItems: 0
}];
var productsoortFilters = {
  OnbepaaldeTijd: 0,
  JaarVast1: 1,
  JaarVast2: 2,
  JaarVast3: 3,
  JaarVast4: 4,
  JaarVast5: 5
};
function displayProductsoortFilters(value) {
  switch (value) {
    case productsoortFilters.OnbepaaldeTijd:
      return 'Onbepaalde tijd';

    case productsoortFilters.JaarVast1:
      return '1 jaar Vast';

    case productsoortFilters.JaarVast2:
      return '2 jaar Vast';

    case productsoortFilters.JaarVast3:
      return '3 jaar Vast';

    case productsoortFilters.JaarVast4:
      return '4 jaar Vast';

    case productsoortFilters.JaarVast5:
      return '5 jaar Vast';

    default:
      return 'Unknown productsoort filters';
  }
}
var boeteVergoedFiltersItems = [{
  id: 0,
  name: 'Zonder',
  showIcon: false,
  numberOfListItems: 0
}, {
  id: 1,
  name: 'Met',
  showIcon: false,
  numberOfListItems: 0
}];
var boeteVergoedFilters = {
  Zonder: 0,
  Met: 1
};
function displayBoeteVergoedFilters(value) {
  switch (value) {
    case boeteVergoedFilters.Zonder:
      return 'Zonder';

    case boeteVergoedFilters.Met:
      return 'Met';

    default:
      return 'Unknown boete vergoed filters';
  }
}
// CONCATENATED MODULE: ./src/components/Containers/MkbResultList/FirstRow/MkbResultListStep1.js
function MkbResultListStep1_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MkbResultListStep1_typeof = function _typeof(obj) { return typeof obj; }; } else { MkbResultListStep1_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MkbResultListStep1_typeof(obj); }

function MkbResultListStep1_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MkbResultListStep1_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); } }

function MkbResultListStep1_createClass(Constructor, protoProps, staticProps) { if (protoProps) MkbResultListStep1_defineProperties(Constructor.prototype, protoProps); if (staticProps) MkbResultListStep1_defineProperties(Constructor, staticProps); return Constructor; }

function MkbResultListStep1_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MkbResultListStep1_setPrototypeOf(subClass, superClass); }

function MkbResultListStep1_setPrototypeOf(o, p) { MkbResultListStep1_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MkbResultListStep1_setPrototypeOf(o, p); }

function MkbResultListStep1_createSuper(Derived) { var hasNativeReflectConstruct = MkbResultListStep1_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MkbResultListStep1_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MkbResultListStep1_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MkbResultListStep1_possibleConstructorReturn(this, result); }; }

function MkbResultListStep1_possibleConstructorReturn(self, call) { if (call && (MkbResultListStep1_typeof(call) === "object" || typeof call === "function")) { return call; } return MkbResultListStep1_assertThisInitialized(self); }

function MkbResultListStep1_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MkbResultListStep1_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MkbResultListStep1_getPrototypeOf(o) { MkbResultListStep1_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MkbResultListStep1_getPrototypeOf(o); }

function MkbResultListStep1_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }







var MkbResultListStep1_MkbResultListStep1 = /*#__PURE__*/function (_Component) {
  MkbResultListStep1_inherits(MkbResultListStep1, _Component);

  var _super = MkbResultListStep1_createSuper(MkbResultListStep1);

  function MkbResultListStep1() {
    var _this;

    MkbResultListStep1_classCallCheck(this, MkbResultListStep1);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MkbResultListStep1_defineProperty(MkbResultListStep1_assertThisInitialized(_this), "state", {
      hasToevoeging: _this.props.toevoeging != null,
      hasStroom: _this.props.stroomVerbruikEnkel != null,
      isSolarSectionVisible: true,
      hasGas: _this.props.gasVerbruik != null,
      enableConnectionSelectors: true
    });

    MkbResultListStep1_defineProperty(MkbResultListStep1_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    MkbResultListStep1_defineProperty(MkbResultListStep1_assertThisInitialized(_this), "leverancierDisplay", function (value) {
      if (value === null || value === -1) return '';

      var leverancier = _this.props.leveranciers.find(function (l) {
        return l.id === tryParseInt(value);
      });

      if (_this.props.leveranciers === null || _this.props.leveranciers.length === 0) return 'Eneco';
      return !isNullOrNanOrZero(leverancier) ? leverancier.name : '';
    });

    MkbResultListStep1_defineProperty(MkbResultListStep1_assertThisInitialized(_this), "connectionTypeEDisplay", function (value) {
      return displayConnectionTypeE(value);
    });

    MkbResultListStep1_defineProperty(MkbResultListStep1_assertThisInitialized(_this), "stroomDisplay", function () {
      var value = _this.props.meter === 'dubbel' ? "".concat(_this.props.stroomVerbruikHoog, "/").concat(_this.props.stroomVerbruikLaag) : _this.props.stroomVerbruikEnkel;
      return "".concat(formatNumberWithThousandSeperator(value), " kWh/jaar");
    });

    MkbResultListStep1_defineProperty(MkbResultListStep1_assertThisInitialized(_this), "solarDisplay", function () {
      var value = _this.props.meter === 'dubbel' ? "".concat(_this.props.solarProductionHigh, "/").concat(_this.props.solarProductionLow) : _this.props.solarProductionSingle;
      return "".concat(formatNumberWithThousandSeperator(value), " kWh/jaar");
    });

    MkbResultListStep1_defineProperty(MkbResultListStep1_assertThisInitialized(_this), "nettoDisplay", function () {
      if (_this.props.meter === 'dubbel') {
        var highNetto = _this.props.stroomVerbruikHoog - _this.props.solarProductionHigh;
        var lowNetto = _this.props.stroomVerbruikLaag - _this.props.solarProductionLow;
        return "".concat(formatNumberWithThousandSeperator(highNetto), "/").concat(formatNumberWithThousandSeperator(lowNetto), " kWh/jaar");
      }

      var singleNetto = _this.props.stroomVerbruikEnkel - _this.props.solarProductionSingle;
      return "".concat(formatNumberWithThousandSeperator(singleNetto), " kWh/jaar");
    });

    MkbResultListStep1_defineProperty(MkbResultListStep1_assertThisInitialized(_this), "gasDisplay", function (value) {
      return "".concat(formatNumberWithThousandSeperator(value), " m3/jaar");
    });

    MkbResultListStep1_defineProperty(MkbResultListStep1_assertThisInitialized(_this), "connectionTypeGDisplay", function (value) {
      return displayConnectionTypeG(value);
    });

    MkbResultListStep1_defineProperty(MkbResultListStep1_assertThisInitialized(_this), "handleLinkClick", function (event) {
      event.preventDefault();

      _this.props.callAnimationComponent();
    });

    return _this;
  }

  MkbResultListStep1_createClass(MkbResultListStep1, [{
    key: "render",
    value: function render() {
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-display-wrap"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-title"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, "Uw gegevens "), /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        onClick: this.handleLinkClick
      }, "aanpassen")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-message-wrapper"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-display"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-display-section-left pull-left has-solar-section"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-postcode-display"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, this.props.postcode), /*#__PURE__*/external_React_default.a.createElement("span", null, this.props.huisnummer), this.state.hasToevoeging && /*#__PURE__*/external_React_default.a.createElement("span", null, this.props.toevoeging)), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-group"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, this.leverancierDisplay(this.props.huidigeLeverancierId))), this.state.hasStroom && this.state.enableConnectionSelectors && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-group connection-type-e"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, "Stroomaansluiting "), /*#__PURE__*/external_React_default.a.createElement("span", null, this.connectionTypeEDisplay(this.props.connectionTypeE)))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-display-section-right"
      }, this.state.hasStroom && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-group"
      }, /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "fa fa-fw fa-flash"
      }), /*#__PURE__*/external_React_default.a.createElement("span", null, this.stroomDisplay())), this.state.isSolarSectionVisible && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-group"
      }, /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "fa fa-fw fa-sun-o"
      }), /*#__PURE__*/external_React_default.a.createElement("span", null, this.solarDisplay())), this.state.isSolarSectionVisible && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-group netto-display"
      }, /*#__PURE__*/external_React_default.a.createElement("strong", null, "Netto "), /*#__PURE__*/external_React_default.a.createElement("span", null, this.nettoDisplay())), this.state.hasGas && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-group"
      }, /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "fa fa-fw fa-fire"
      }), /*#__PURE__*/external_React_default.a.createElement("span", null, this.gasDisplay(this.props.gasVerbruik))), this.state.hasGas && this.state.enableConnectionSelectors && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-group"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, "Gasaansluiting "), /*#__PURE__*/external_React_default.a.createElement("span", null, this.connectionTypeGDisplay(this.props.connectionTypeG)))))));
    }
  }]);

  return MkbResultListStep1;
}(external_React_["Component"]);

MkbResultListStep1_defineProperty(MkbResultListStep1_MkbResultListStep1, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  postcode: prop_types_default.a.string.isRequired,
  huisnummer: prop_types_default.a.string.isRequired,
  toevoeging: prop_types_default.a.string.isRequired,
  huidigeLeverancierId: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]).isRequired,
  connectionTypeE: prop_types_default.a.number.isRequired,
  stroomVerbruikEnkel: prop_types_default.a.string.isRequired,
  gasVerbruik: prop_types_default.a.string.isRequired,
  connectionTypeG: prop_types_default.a.string.isRequired,
  meter: prop_types_default.a.string.isRequired,
  stroomVerbruikHoog: prop_types_default.a.string.isRequired,
  solarProductionHigh: prop_types_default.a.string.isRequired,
  stroomVerbruikLaag: prop_types_default.a.string.isRequired,
  solarProductionLow: prop_types_default.a.string.isRequired,
  solarProductionSingle: prop_types_default.a.string.isRequired,
  callAnimationComponent: prop_types_default.a.func.isRequired,
  leveranciers: prop_types_default.a.array.isRequired
});

MkbResultListStep1_defineProperty(MkbResultListStep1_MkbResultListStep1, "defaultProps", {});

/* harmony default export */ var FirstRow_MkbResultListStep1 = (MkbResultListStep1_MkbResultListStep1);
// CONCATENATED MODULE: ./src/components/Containers/MkbResultList/FirstRow/MkbResultListStep2.js
function MkbResultListStep2_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MkbResultListStep2_typeof = function _typeof(obj) { return typeof obj; }; } else { MkbResultListStep2_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MkbResultListStep2_typeof(obj); }

function MkbResultListStep2_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MkbResultListStep2_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); } }

function MkbResultListStep2_createClass(Constructor, protoProps, staticProps) { if (protoProps) MkbResultListStep2_defineProperties(Constructor.prototype, protoProps); if (staticProps) MkbResultListStep2_defineProperties(Constructor, staticProps); return Constructor; }

function MkbResultListStep2_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MkbResultListStep2_setPrototypeOf(subClass, superClass); }

function MkbResultListStep2_setPrototypeOf(o, p) { MkbResultListStep2_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MkbResultListStep2_setPrototypeOf(o, p); }

function MkbResultListStep2_createSuper(Derived) { var hasNativeReflectConstruct = MkbResultListStep2_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MkbResultListStep2_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MkbResultListStep2_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MkbResultListStep2_possibleConstructorReturn(this, result); }; }

function MkbResultListStep2_possibleConstructorReturn(self, call) { if (call && (MkbResultListStep2_typeof(call) === "object" || typeof call === "function")) { return call; } return MkbResultListStep2_assertThisInitialized(self); }

function MkbResultListStep2_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MkbResultListStep2_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MkbResultListStep2_getPrototypeOf(o) { MkbResultListStep2_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MkbResultListStep2_getPrototypeOf(o); }

function MkbResultListStep2_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }











var MkbResultListStep2_MkbResultListStep2 = /*#__PURE__*/function (_Component) {
  MkbResultListStep2_inherits(MkbResultListStep2, _Component);

  var _super = MkbResultListStep2_createSuper(MkbResultListStep2);

  function MkbResultListStep2() {
    var _this;

    MkbResultListStep2_classCallCheck(this, MkbResultListStep2);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "state", {
      postcode: _this.props.postcode,
      huisnummer: _this.props.huisnummer,
      toevoeging: _this.props.toevoeging,
      huidigeLeverancierId: _this.props.huidigeLeverancierId,
      hasStroom: _this.props.stroomVerbruikEnkel != null,
      stroomVerbruikHoog: _this.props.stroomVerbruikHoog,
      stroomVerbruikLaag: _this.props.stroomVerbruikLaag,
      connectionTypeE: _this.props.connectionTypeE,
      hasSolarPanels: true,
      solarProductionHigh: _this.props.solarProductionHigh,
      solarProductionLow: _this.props.solarProductionLow,
      hasGas: _this.props.gasVerbruik != null,
      gasVerbruik: _this.props.gasVerbruik,
      connectionTypeG: _this.props.connectionTypeG,
      meter: _this.props.meter,
      solarProductionSingle: _this.props.solarProductionSingle
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "handlePostcodeChange", function (event) {
      event.preventDefault();

      _this.setState({
        postcode: event.target.value
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "handleHuisnummerChange", function (event) {
      event.preventDefault();

      _this.setState({
        huisnummer: event.target.value
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "handleToevoegingChange", function (event) {
      event.preventDefault();

      _this.setState({
        toevoeging: event.target.value
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "toggleLeverancierSelectList", function (item) {
      _this.setState({
        huidigeLeverancierId: item
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "toggleHasStroomCheckbox", function () {
      _this.setState(function (state) {
        return {
          hasStroom: !state.hasStroom
        };
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "stroomVerbruikHoogChange", function (event) {
      _this.setState({
        stroomVerbruikHoog: event.target.value
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "stroomVerbruikLaagChange", function (event) {
      _this.setState({
        stroomVerbruikLaag: event.target.value
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "stroomVerbruikChange", function (event) {
      _this.setState({
        stroomVerbruikEnkel: event.target.value
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "handleLinkBelowClick", function (event) {
      event.preventDefault();

      _this.setState(function (state) {
        var res = {
          meter: state.meter === 'enkel' ? 'dubbel' : 'enkel'
        };
        return res;
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "toggleConnectionTypeESelectList", function (item) {
      _this.setState(function () {
        var res = {
          connectionTypeE: item
        };
        return res;
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "toggleHasSolarPanelsCheckbox", function () {
      _this.setState(function (state) {
        return {
          hasSolarPanels: !state.hasSolarPanels
        };
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "solarProductionHighChange", function (event) {
      _this.setState({
        solarProductionHigh: event.target.value
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "solarProductionLowChange", function (event) {
      _this.setState({
        solarProductionLow: event.target.value
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "solarProductionSingleChange", function (event) {
      _this.setState({
        solarProductionSingle: event.target.value
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "toggleHasGasCheckbox", function () {
      _this.setState(function (state) {
        return {
          hasGas: !state.hasGas
        };
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "verbruikGasChange", function (event) {
      _this.setState({
        gasVerbruik: event.target.value
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "toggleConnectionTypeGSelectList", function (item) {
      _this.setState(function () {
        var res = {
          connectionTypeG: item
        };
        return res;
      });
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "save", function () {
      console.log('save');
    });

    MkbResultListStep2_defineProperty(MkbResultListStep2_assertThisInitialized(_this), "cancel", function (event) {
      event.preventDefault();

      _this.props.callAnimationComponent();
    });

    return _this;
  }

  MkbResultListStep2_createClass(MkbResultListStep2, [{
    key: "render",
    value: function render() {
      var linkBelowText = this.state.meter === 'enkel' ? 'Ik heb een dubbele meter' : 'Ik heb een enkele meter';
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-editable-wrap"
      }, /*#__PURE__*/external_React_default.a.createElement("div", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-title editable"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, "Uw gegevens")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-editable"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-section clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "mkb-usage-form-label"
      }, "Postcode"), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-content"
      }, /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "postcode",
        className: "form-control mkb-usage-form-input",
        placeholder: "6532 TJ",
        value: this.state.postcode,
        onChange: this.handlePostcodeChange,
        onBlur: this.handlePostcodeChange,
        id: this.generateUniqueId('postcode-') // showValidationMessage={this.state.areValidationMessagesVisible}
        // rules={ruleSet.postcode}

      }), /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "number",
        name: "huisnummer",
        className: "form-control mkb-usage-form-input",
        placeholder: "20",
        value: this.state.huisnummer,
        onChange: this.handleHuisnummerChange,
        onBlur: this.handleHuisnummerChange,
        id: this.generateUniqueId('huisnummer-') // showValidationMessage={this.state.areValidationMessagesVisible}
        // rules={ruleSet.huisnummer}

      }), /*#__PURE__*/external_React_default.a.createElement(TextInput_TextInput, {
        type: "text",
        name: "toevoeging",
        className: "form-control mkb-usage-form-input",
        placeholder: "A",
        value: this.state.toevoeging,
        onChange: this.handleToevoegingChange,
        onBlur: this.handleToevoegingChange,
        id: this.generateUniqueId('toevoeging-')
      }))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-section clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "mkb-usage-form-label"
      }, "Uw leverancier"), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-content"
      }, /*#__PURE__*/external_React_default.a.createElement(LeverancierSelectList_LeverancierSelectList, {
        className: "leverancier",
        selectedItemId: this.state.huidigeLeverancierId,
        onItemSelected: this.toggleLeverancierSelectList,
        items: this.props.leveranciers.map(function (x) {
          return {
            id: x.id,
            label: x.name
          };
        }),
        name: "leverancier",
        id: this.generateUniqueId('leverancier-select-dropdown-')
      }))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "row-flow"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-section-dark clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "mkb-usage-form-label"
      }, /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "fa fa-lg fa-flash"
      }), "Stroom"), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-content column-flow"
      }, /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: "checkbox",
        id: this.generateUniqueId('hasStroom-'),
        name: "hasStroom",
        label: "Vergelijk stroom",
        isChecked: this.state.hasStroom,
        handleCheckboxChange: this.toggleHasStroomCheckbox
      }), this.state.hasStroom && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "group-input-fields"
      }, this.state.meter === 'dubbel' && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-input-groups"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-input-group clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        label: "Hoog:",
        id: this.generateUniqueId('stroom-verbruik-hoog-'),
        value: this.state.stroomVerbruikHoog,
        onChange: this.stroomVerbruikHoogChange,
        type: "tel",
        unit: "kWh/jaar"
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-input-group clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        label: "Laag:",
        id: this.generateUniqueId('stroom-verbruik-laag-'),
        value: this.state.stroomVerbruikLaag,
        onChange: this.stroomVerbruikLaagChange,
        type: "tel",
        unit: "kWh/jaar"
      }))), this.state.meter === 'enkel' && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-input-groups"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-input-group clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        id: this.generateUniqueId('stroomVerbruik-'),
        value: this.state.stroomVerbruikEnkel,
        onChange: this.stroomVerbruikChange,
        type: "tel",
        unit: "kWh/jaar"
      }))), /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "link text-underline",
        onClick: this.handleLinkBelowClick
      }, linkBelowText))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-group"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "mkb-usage-form-label"
      }, "Type aansluiting"), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-content"
      }, /*#__PURE__*/external_React_default.a.createElement(SelectList_SelectList, {
        label: "Type aansluiting",
        selectedItemId: this.state.connectionTypeE,
        onItemSelected: this.toggleConnectionTypeESelectList,
        items: connectionTypesE.map(function (x) {
          return {
            id: x.id,
            label: x.label
          };
        }),
        id: this.generateUniqueId('connectionTypeE-select-'),
        name: "connectionTypeE"
      }))))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-section-dark clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "mkb-usage-form-label"
      }, /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "fa fa-lg fa-sun-o"
      }), "Opwek"), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-content column-flow"
      }, /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: "checkbox",
        id: this.generateUniqueId('has-solar-panels-'),
        name: "hasSolarPanels",
        label: "Ik heb zonnepanelen",
        isChecked: this.state.hasSolarPanels,
        handleCheckboxChange: this.toggleHasSolarPanelsCheckbox
      }), this.state.hasSolarPanels && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "group-input-fields"
      }, this.state.meter === 'dubbel' && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-input-groups"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-input-group clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        label: "Hoog:",
        id: this.generateUniqueId('solar-production-high-'),
        value: this.state.solarProductionHigh,
        onChange: this.solarProductionHighChange,
        type: "tel",
        unit: "kWh/jaar"
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-input-group clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        label: "Laag:",
        id: this.generateUniqueId('solar-production-low-'),
        value: this.state.solarProductionLow,
        onChange: this.solarProductionLowChange,
        type: "tel",
        unit: "kWh/jaar"
      }))), this.state.meter === 'enkel' && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-input-groups"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-input-group clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        id: this.generateUniqueId('solar-production-single-'),
        value: this.state.solarProductionSingle,
        onChange: this.solarProductionSingleChange,
        type: "tel",
        unit: "kWh/jaar"
      })))))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-section-dark clearfix last"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "mkb-usage-form-label"
      }, /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "fa fa-lg fa-fire"
      }), "Gas"), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-content column-flow"
      }, /*#__PURE__*/external_React_default.a.createElement(Checkbox_Checkbox, {
        className: "checkbox",
        id: this.generateUniqueId('hasGas-'),
        name: "hasGas",
        label: "Vergelijk gas",
        isChecked: this.state.hasGas,
        handleCheckboxChange: this.toggleHasGasCheckbox
      }), this.state.hasGas && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "group-input-fields"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-input-group clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement(InputGroup1_InputGroup1, {
        className: "checkbox",
        id: this.generateUniqueId('verbruikGas-'),
        value: this.state.gasVerbruik,
        onChange: this.verbruikGasChange,
        type: "tel",
        unit: "m3/jaar"
      })))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-group"
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "mkb-usage-form-label"
      }, "Type aansluiting"), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-content"
      }, /*#__PURE__*/external_React_default.a.createElement(SelectList_SelectList, {
        label: "Type aansluiting",
        selectedItemId: this.state.connectionTypeG,
        onItemSelected: this.toggleConnectionTypeGSelectList,
        items: connectionTypesG.map(function (x) {
          return {
            id: x.id,
            label: x.label
          };
        }),
        id: this.generateUniqueId('connectionTypeG-select-'),
        name: "connectionTypeG"
      })))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-section clearfix"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-content no-label"
      }, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "custom-btn primaryColor-btn nr-btn pull-left",
        onClick: this.save
      }, "Pas aan"), /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "pull-left nr-link-btn",
        onClick: this.cancel
      }, "annuleer"))))));
    }
  }]);

  return MkbResultListStep2;
}(external_React_["Component"]);

MkbResultListStep2_defineProperty(MkbResultListStep2_MkbResultListStep2, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  postcode: prop_types_default.a.string.isRequired,
  huisnummer: prop_types_default.a.string.isRequired,
  toevoeging: prop_types_default.a.string.isRequired,
  huidigeLeverancierId: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]).isRequired,
  connectionTypeE: prop_types_default.a.number.isRequired,
  stroomVerbruikEnkel: prop_types_default.a.string.isRequired,
  gasVerbruik: prop_types_default.a.string.isRequired,
  connectionTypeG: prop_types_default.a.string.isRequired,
  meter: prop_types_default.a.string.isRequired,
  stroomVerbruikHoog: prop_types_default.a.string.isRequired,
  solarProductionHigh: prop_types_default.a.string.isRequired,
  stroomVerbruikLaag: prop_types_default.a.string.isRequired,
  solarProductionLow: prop_types_default.a.string.isRequired,
  solarProductionSingle: prop_types_default.a.string.isRequired,
  callAnimationComponent: prop_types_default.a.func.isRequired,
  leveranciers: prop_types_default.a.array.isRequired
});

MkbResultListStep2_defineProperty(MkbResultListStep2_MkbResultListStep2, "defaultProps", {});

/* harmony default export */ var FirstRow_MkbResultListStep2 = (MkbResultListStep2_MkbResultListStep2);
// EXTERNAL MODULE: ./src/sass/components/testComponent1.scss
var testComponent1 = __webpack_require__(120);

// CONCATENATED MODULE: ./src/components/AnimationComponent/index.js
function AnimationComponent_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function AnimationComponent_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { AnimationComponent_ownKeys(Object(source), true).forEach(function (key) { AnimationComponent_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { AnimationComponent_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function AnimationComponent_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || AnimationComponent_unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }

function AnimationComponent_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return AnimationComponent_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return AnimationComponent_arrayLikeToArray(o, minLen); }

function AnimationComponent_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }

function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }

function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }



 // animation without library

function AnimationComponent(props, ref) {
  var nodeRef = Object(external_React_["useRef"])(null);

  var _useState = Object(external_React_["useState"])({
    card: 1,
    pending: null,
    status: 'shown',
    style: null
  }),
      _useState2 = _slicedToArray(_useState, 2),
      state = _useState2[0],
      setState = _useState2[1];

  Object(external_React_["useEffect"])(function () {
    var status = state.status,
        pending = state.pending,
        style = state.style;

    var _ref = style || {},
        width = _ref.width,
        height = _ref.height;

    var _nodeRef$current = nodeRef.current,
        scrollWidth = _nodeRef$current.scrollWidth,
        scrollHeight = _nodeRef$current.scrollHeight;

    if (pending != null && status === 'hiding' && width === scrollWidth && height === scrollHeight) {
      setState(AnimationComponent_objectSpread(AnimationComponent_objectSpread({}, state), {}, {
        style: {
          width: 0,
          height: 0
        }
      }));
    } else if (pending == null && status === 'showing' && width === 0 && height === 0) {
      setState(AnimationComponent_objectSpread(AnimationComponent_objectSpread({}, state), {}, {
        style: {
          width: scrollWidth,
          height: scrollHeight
        }
      }));
    }
  }, [state]);

  function onToggle() {
    if (state.status !== 'shown') return;
    setState(AnimationComponent_objectSpread(AnimationComponent_objectSpread({}, state), {}, {
      pending: state.card === 1 ? 2 : 1,
      status: 'hiding',
      style: {
        width: nodeRef.current.scrollWidth,
        height: nodeRef.current.scrollHeight
      }
    }));
  }

  Object(external_React_["useImperativeHandle"])(ref, function () {
    return {
      callToggle: onToggle
    };
  });

  function onTransitionEnd(event) {
    if (event.target !== nodeRef.current) return;
    var status = state.status,
        pending = state.pending,
        style = state.style;

    var _ref2 = style || {},
        width = _ref2.width,
        height = _ref2.height;

    var _nodeRef$current2 = nodeRef.current,
        scrollWidth = _nodeRef$current2.scrollWidth,
        scrollHeight = _nodeRef$current2.scrollHeight;

    if (pending != null && status === 'hiding' && width === 0 && height === 0) {
      setState(AnimationComponent_objectSpread(AnimationComponent_objectSpread({}, state), {}, {
        card: state.pending,
        status: 'showing',
        pending: null
      }));
    } else if (pending == null && status === 'showing' && width === scrollWidth && height === scrollHeight) {
      setState(AnimationComponent_objectSpread(AnimationComponent_objectSpread({}, state), {}, {
        status: 'shown',
        style: null
      }));
    }
  }

  return /*#__PURE__*/external_React_default.a.createElement("div", {
    className: "main",
    style: {
      display: 'inline-block',
      marginBottom: '4rem'
    }
  }, /*#__PURE__*/external_React_default.a.createElement("div", {
    style: state.style,
    className: "animating",
    onTransitionEnd: onTransitionEnd,
    ref: nodeRef
  }, state.card === 1 ? props.card1 : props.card2));
}

AnimationComponent.propTypes = {
  card1: prop_types_default.a.elementType.isRequired,
  card2: prop_types_default.a.elementType.isRequired
};
/* harmony default export */ var components_AnimationComponent = (/*#__PURE__*/Object(external_React_["forwardRef"])(AnimationComponent));
// EXTERNAL MODULE: ./src/sass/components/mkbResultListSteps.scss
var mkbResultListSteps = __webpack_require__(122);

// CONCATENATED MODULE: ./src/components/Containers/MkbResultList/FirstRow/MkbResultListSteps.js
function MkbResultListSteps_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MkbResultListSteps_typeof = function _typeof(obj) { return typeof obj; }; } else { MkbResultListSteps_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MkbResultListSteps_typeof(obj); }

function MkbResultListSteps_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MkbResultListSteps_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); } }

function MkbResultListSteps_createClass(Constructor, protoProps, staticProps) { if (protoProps) MkbResultListSteps_defineProperties(Constructor.prototype, protoProps); if (staticProps) MkbResultListSteps_defineProperties(Constructor, staticProps); return Constructor; }

function MkbResultListSteps_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MkbResultListSteps_setPrototypeOf(subClass, superClass); }

function MkbResultListSteps_setPrototypeOf(o, p) { MkbResultListSteps_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MkbResultListSteps_setPrototypeOf(o, p); }

function MkbResultListSteps_createSuper(Derived) { var hasNativeReflectConstruct = MkbResultListSteps_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MkbResultListSteps_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MkbResultListSteps_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MkbResultListSteps_possibleConstructorReturn(this, result); }; }

function MkbResultListSteps_possibleConstructorReturn(self, call) { if (call && (MkbResultListSteps_typeof(call) === "object" || typeof call === "function")) { return call; } return MkbResultListSteps_assertThisInitialized(self); }

function MkbResultListSteps_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MkbResultListSteps_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MkbResultListSteps_getPrototypeOf(o) { MkbResultListSteps_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MkbResultListSteps_getPrototypeOf(o); }

function MkbResultListSteps_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }










var MkbResultListSteps_MkbResultListSteps = /*#__PURE__*/function (_Component) {
  MkbResultListSteps_inherits(MkbResultListSteps, _Component);

  var _super = MkbResultListSteps_createSuper(MkbResultListSteps);

  function MkbResultListSteps() {
    var _this;

    MkbResultListSteps_classCallCheck(this, MkbResultListSteps);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MkbResultListSteps_defineProperty(MkbResultListSteps_assertThisInitialized(_this), "state", {});

    MkbResultListSteps_defineProperty(MkbResultListSteps_assertThisInitialized(_this), "animationRef", /*#__PURE__*/external_React_default.a.createRef());

    MkbResultListSteps_defineProperty(MkbResultListSteps_assertThisInitialized(_this), "handleChangeCards", function () {
      _this.animationRef.current.callToggle();
    });

    return _this;
  }

  MkbResultListSteps_createClass(MkbResultListSteps, [{
    key: "render",
    value: function render() {
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form-container"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-usage-form"
      }, /*#__PURE__*/external_React_default.a.createElement(components_AnimationComponent, {
        ref: this.animationRef,
        card1: /*#__PURE__*/external_React_default.a.createElement(FirstRow_MkbResultListStep1, {
          uniqueId: this.props.uniqueId,
          postcode: this.props.postcode,
          huisnummer: this.props.huisnummer,
          toevoeging: this.props.toevoeging,
          huidigeLeverancierId: this.props.huidigeLeverancierId,
          connectionTypeE: this.props.connectionTypeE,
          connectionTypeG: this.props.connectionTypeG,
          stroomVerbruikEnkel: this.props.stroomVerbruikEnkel,
          gasVerbruik: this.props.gasVerbruik,
          meter: this.props.meter,
          stroomVerbruikHoog: this.props.stroomVerbruikHoog,
          solarProductionHigh: this.props.solarProductionHigh,
          stroomVerbruikLaag: this.props.stroomVerbruikLaag,
          solarProductionLow: this.props.solarProductionLow,
          solarProductionSingle: this.props.solarProductionSingle,
          leveranciers: this.props.leveranciers,
          callAnimationComponent: this.handleChangeCards
        }),
        card2: /*#__PURE__*/external_React_default.a.createElement(FirstRow_MkbResultListStep2, {
          uniqueId: this.props.uniqueId,
          postcode: this.props.postcode,
          huisnummer: this.props.huisnummer,
          toevoeging: this.props.toevoeging,
          huidigeLeverancierId: this.props.huidigeLeverancierId,
          connectionTypeE: this.props.connectionTypeE,
          connectionTypeG: this.props.connectionTypeG,
          stroomVerbruikEnkel: this.props.stroomVerbruikEnkel,
          gasVerbruik: this.props.gasVerbruik,
          meter: this.props.meter,
          stroomVerbruikHoog: this.props.stroomVerbruikHoog,
          solarProductionHigh: this.props.solarProductionHigh,
          stroomVerbruikLaag: this.props.stroomVerbruikLaag,
          solarProductionLow: this.props.solarProductionLow,
          solarProductionSingle: this.props.solarProductionSingle,
          leveranciers: this.props.leveranciers,
          callAnimationComponent: this.handleChangeCards
        })
      })));
    }
  }]);

  return MkbResultListSteps;
}(external_React_["Component"]);

MkbResultListSteps_defineProperty(MkbResultListSteps_MkbResultListSteps, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  postcode: prop_types_default.a.string.isRequired,
  huisnummer: prop_types_default.a.string.isRequired,
  toevoeging: prop_types_default.a.string.isRequired,
  huidigeLeverancierId: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]).isRequired,
  connectionTypeE: prop_types_default.a.number,
  stroomVerbruikEnkel: prop_types_default.a.string.isRequired,
  gasVerbruik: prop_types_default.a.string.isRequired,
  connectionTypeG: prop_types_default.a.string,
  meter: prop_types_default.a.string.isRequired,
  stroomVerbruikHoog: prop_types_default.a.string.isRequired,
  solarProductionHigh: prop_types_default.a.string,
  stroomVerbruikLaag: prop_types_default.a.string.isRequired,
  solarProductionLow: prop_types_default.a.string,
  solarProductionSingle: prop_types_default.a.string,
  leveranciers: prop_types_default.a.array.isRequired
});

MkbResultListSteps_defineProperty(MkbResultListSteps_MkbResultListSteps, "defaultProps", {
  connectionTypeE: 0,
  connectionTypeG: 0,
  solarProductionHigh: '1500',
  solarProductionLow: '1500',
  solarProductionSingle: ''
});

/* harmony default export */ var FirstRow_MkbResultListSteps = (MkbResultListSteps_MkbResultListSteps);
// EXTERNAL MODULE: ./src/sass/components/mkbResultListOffers.scss
var mkbResultListOffers = __webpack_require__(124);

// CONCATENATED MODULE: ./src/components/Containers/MkbResultList/SecondRow/mkbResultListFilterHelper.js


function filterMkbResultList(results, leveranciersFilter, duurzaamheidFilter, actiesFilter, productsoortFilter, boeteVergoedFilter) {
  var filteredResults = results;
  if (!Object(lodash["isEmpty"])(leveranciersFilter)) filteredResults = filteredResults.filter(function (i) {
    return leveranciersFilter.includes(i.leverancierId);
  });

  if (!Object(lodash["isEmpty"])(duurzaamheidFilter)) {
    if (duurzaamheidFilter.includes(1)) {
      filteredResults = filteredResults.filter(function (i) {
        return i.isGroenElec && i.isGroenGas;
      });
    }

    if (duurzaamheidFilter.includes(2)) {
      filteredResults = filteredResults.filter(function (i) {
        return !i.isGroenElec && !i.isGroenGas;
      });
    }

    if (duurzaamheidFilter.includes(3)) {
      filteredResults = filteredResults.filter(function (i) {
        return !i.isGroenElec && i.isGroenGas || i.isGroenElec && !i.isGroenGas;
      });
    }
  }

  if (!Object(lodash["isEmpty"])(actiesFilter)) {
    if (actiesFilter.includes(0)) {
      filteredResults = filteredResults.filter(function (i) {
        return !i.isExclusief;
      });
    }

    if (actiesFilter.includes(1)) {
      filteredResults = filteredResults.filter(function (i) {
        return i.isExclusief;
      });
    }
  }

  if (!Object(lodash["isEmpty"])(productsoortFilter)) {
    if (productsoortFilter.includes(0)) {
      filteredResults = filteredResults.filter(function (i) {
        return !isNullOrWs(i.looptijd) ? i.looptijd.soort === 0 : i.looptijdGas.soort === 0;
      });
    }

    if (productsoortFilter.includes(1)) {
      filteredResults = filteredResults.filter(function (i) {
        return !isNullOrWs(i.looptijd) ? i.looptijd.aantalMaanden <= 12 : i.looptijdGas.aantalMaanden <= 12;
      });
    }

    if (productsoortFilter.includes(2)) {
      filteredResults = filteredResults.filter(function (i) {
        return !isNullOrWs(i.looptijd) ? i.looptijd.aantalMaanden > 12 && i.looptijd.aantalMaanden <= 24 : i.looptijdGas.aantalMaanden > 12 && i.looptijdGas.aantalMaanden <= 24;
      });
    }

    if (productsoortFilter.includes(3)) {
      filteredResults = filteredResults.filter(function (i) {
        return !isNullOrWs(i.looptijd) ? i.looptijd.aantalMaanden > 24 && i.looptijd.aantalMaanden <= 36 : i.looptijdGas.aantalMaanden > 24 && i.looptijdGas.aantalMaanden <= 36;
      });
    }

    if (productsoortFilter.includes(4)) {
      filteredResults = filteredResults.filter(function (i) {
        return !isNullOrWs(i.looptijd) ? i.looptijd.aantalMaanden > 36 && i.looptijd.aantalMaanden <= 48 : i.looptijdGas.aantalMaanden > 36 && i.looptijdGas.aantalMaanden <= 48;
      });
    }

    if (productsoortFilter.includes(5)) {
      filteredResults = filteredResults.filter(function (i) {
        return !isNullOrWs(i.looptijd) ? i.looptijd.aantalMaanden > 48 && i.looptijd.aantalMaanden <= 60 : i.looptijdGas.aantalMaanden > 48 && i.looptijdGas.aantalMaanden <= 60;
      });
    }
  }

  if (!Object(lodash["isEmpty"])(boeteVergoedFilter)) {
    if (boeteVergoedFilter.includes(0)) {
      filteredResults = filteredResults.filter(function (i) {
        return !i.isBoeteVergoed;
      });
    }

    if (boeteVergoedFilter.includes(1)) {
      filteredResults = filteredResults.filter(function (i) {
        return i.isBoeteVergoed;
      });
    }
  }

  return filteredResults;
}
// CONCATENATED MODULE: ./src/components/Containers/MkbResultList/SecondRow/MkbResultListOffers.js
function MkbResultListOffers_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MkbResultListOffers_typeof = function _typeof(obj) { return typeof obj; }; } else { MkbResultListOffers_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MkbResultListOffers_typeof(obj); }

function MkbResultListOffers_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function MkbResultListOffers_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { MkbResultListOffers_ownKeys(Object(source), true).forEach(function (key) { MkbResultListOffers_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { MkbResultListOffers_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function MkbResultListOffers_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MkbResultListOffers_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); } }

function MkbResultListOffers_createClass(Constructor, protoProps, staticProps) { if (protoProps) MkbResultListOffers_defineProperties(Constructor.prototype, protoProps); if (staticProps) MkbResultListOffers_defineProperties(Constructor, staticProps); return Constructor; }

function MkbResultListOffers_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MkbResultListOffers_setPrototypeOf(subClass, superClass); }

function MkbResultListOffers_setPrototypeOf(o, p) { MkbResultListOffers_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MkbResultListOffers_setPrototypeOf(o, p); }

function MkbResultListOffers_createSuper(Derived) { var hasNativeReflectConstruct = MkbResultListOffers_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MkbResultListOffers_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MkbResultListOffers_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MkbResultListOffers_possibleConstructorReturn(this, result); }; }

function MkbResultListOffers_possibleConstructorReturn(self, call) { if (call && (MkbResultListOffers_typeof(call) === "object" || typeof call === "function")) { return call; } return MkbResultListOffers_assertThisInitialized(self); }

function MkbResultListOffers_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MkbResultListOffers_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MkbResultListOffers_getPrototypeOf(o) { MkbResultListOffers_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MkbResultListOffers_getPrototypeOf(o); }

function MkbResultListOffers_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }










var MkbResultListOffers_MkbResultListOffers = /*#__PURE__*/function (_Component) {
  MkbResultListOffers_inherits(MkbResultListOffers, _Component);

  var _super = MkbResultListOffers_createSuper(MkbResultListOffers);

  function MkbResultListOffers() {
    var _this;

    MkbResultListOffers_classCallCheck(this, MkbResultListOffers);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MkbResultListOffers_defineProperty(MkbResultListOffers_assertThisInitialized(_this), "state", {
      results: []
    });

    MkbResultListOffers_defineProperty(MkbResultListOffers_assertThisInitialized(_this), "getData", function () {
      var obj = {
        postcode: _this.props.postcode,
        huisnummer: _this.props.huisnummer,
        toevoeging: _this.props.toevoeging,
        huidigeLeverancierId: _this.props.huidigeLeverancierId,
        isDubbeleMeter: _this.props.isDubbeleMeter,
        stroomVerbruikEnkel: _this.props.stroomVerbruikEnkel,
        stroomVerbruikHoog: _this.props.stroomVerbruikHoog,
        stroomVerbruikLaag: _this.props.stroomVerbruikLaag,
        gasVerbruik: _this.props.gasVerbruik,
        stroomEnergieProduction: _this.props.stroomEnergieProduction,
        stroomEnergieProductionHoog: _this.props.stroomEnergieProductionHoog,
        stroomEnergieProductionLaag: _this.props.stroomEnergieProductionLaag,
        connectionSelection: _this.props.connectionSelection,
        E: _this.props.E,
        G: _this.props.G,
        productType: _this.props.productType,
        doelgroep: _this.props.doelgroep,
        kvkNummer: _this.props.kvkNummer,
        bedrijfsnaam: _this.props.bedrijfsnaam,
        comparisonType: _this.props.comparisonType,
        isDefault: _this.props.isDefault,
        multipleAddresses: _this.props.multipleAddresses,
        forceTax: _this.props.forceTax,
        isResidential: _this.props.isResidential,
        compareDataKey: _this.props.compareDataKey,
        usageType: _this.props.usageType
      };
      var data = JSON.stringify(obj);
      axios_default.a.post('/?action=ez_api_request&controller=Wordpress&method=CalculateOffers', data).then(function (response) {
        var res = JSON.parse(response.data);

        _this.setState({
          results: res.results
        });
      })["catch"](function (error) {
        console.log(error, 'API not available');
      });
    });

    MkbResultListOffers_defineProperty(MkbResultListOffers_assertThisInitialized(_this), "showDetails", function (event, item) {
      event.preventDefault();
      var obj = {
        postcode: _this.props.postcode,
        huisnummer: _this.props.huisnummer,
        toevoeging: _this.props.toevoeging,
        huidigeLeverancierId: _this.props.huidigeLeverancierId,
        isDubbeleMeter: _this.props.isDubbeleMeter,
        stroomVerbruikEnkel: _this.props.stroomVerbruikEnkel,
        stroomVerbruikHoog: _this.props.stroomVerbruikHoog,
        stroomVerbruikLaag: _this.props.stroomVerbruikLaag,
        gasVerbruik: _this.props.gasVerbruik,
        stroomEnergieProduction: _this.props.stroomEnergieProduction,
        stroomEnergieProductionHoog: _this.props.stroomEnergieProductionHoog,
        stroomEnergieProductionLaag: _this.props.stroomEnergieProductionLaag,
        connectionSelection: _this.props.connectionSelection,
        E: _this.props.E,
        G: _this.props.G,
        productType: _this.props.productType,
        doelgroep: _this.props.doelgroep,
        kvkNummer: _this.props.kvkNummer,
        bedrijfsnaam: _this.props.bedrijfsnaam,
        comparisonType: _this.props.comparisonType,
        isDefault: _this.props.isDefault,
        multipleAddresses: _this.props.multipleAddresses,
        forceTax: _this.props.forceTax,
        isResidential: _this.props.isResidential,
        compareDataKey: _this.props.compareDataKey,
        usageType: _this.props.usageType,
        productVersieId: item.productVersieId
      };
      var data = JSON.stringify(obj);
      axios_default.a.post('/?action=ez_api_request&controller=Wordpress&method=CalculateOfferDetails', data).then(function (response) {
        var res = JSON.parse(response.data);

        var itemData = MkbResultListOffers_objectSpread(MkbResultListOffers_objectSpread({}, res), item);

        _this.props.mkbResultListDetailsCallback(itemData);
      })["catch"](function (error) {
        console.log(error, 'API not available');
      });
    });

    MkbResultListOffers_defineProperty(MkbResultListOffers_assertThisInitialized(_this), "showAanvragen", function (event, item) {
      event.preventDefault();
      var url = 'https://www.minder.nl/mkb-energie-vergelijken/overstap?';
      var _this$props = _this.props,
          postcode = _this$props.postcode,
          huisnummer = _this$props.huisnummer,
          toevoeging = _this$props.toevoeging,
          huidigeLeverancierId = _this$props.huidigeLeverancierId,
          stroomVerbruikEnkel = _this$props.stroomVerbruikEnkel,
          gasVerbruik = _this$props.gasVerbruik,
          productType = _this$props.productType,
          bedrijfsnaam = _this$props.bedrijfsnaam,
          comparisonType = _this$props.comparisonType;
      if (postcode !== '') url += "postcode=".concat(postcode, "&");
      if (huisnummer !== '') url += "huisnummer=".concat(huisnummer, "&");
      if (toevoeging !== '') url += "toevoeging=".concat(toevoeging, "&");
      if (huidigeLeverancierId !== '') url += "stroomLeverancier=".concat(huidigeLeverancierId, "&");
      url += 'meter=enkel&';
      if (stroomVerbruikEnkel !== '') url += "stroomVerbruik=".concat(stroomVerbruikEnkel, "&");
      if (gasVerbruik !== '') url += "verbruikGas=".concat(gasVerbruik, "&");
      if (productType !== '') url += "productType=".concat(productType, "&");
      url += 'productVersieId=16153&';
      url += 'e=0&';
      url += 'g=1&';
      if (bedrijfsnaam !== '') url += "bedrijfsnaam=".concat(bedrijfsnaam, "&");
      if (comparisonType !== '') url += "comparisonType=".concat(comparisonType, "&");
      window.open(url, '_self');
    });

    return _this;
  }

  MkbResultListOffers_createClass(MkbResultListOffers, [{
    key: "componentDidMount",
    value: function componentDidMount() {// this.getData();
    }
  }, {
    key: "componentDidUpdate",
    value: function componentDidUpdate(previousProps, previousState) {
      if (previousProps.leveranciersFilter !== this.props.leveranciersFilter || previousProps.duurzaamheidFilter !== this.props.duurzaamheidFilter || previousProps.actiesFilter !== this.props.actiesFilter || previousProps.productsoortFilter !== this.props.productsoortFilter || previousProps.boeteVergoedFilter !== this.props.boeteVergoedFilter || previousState.results !== this.state.results) {
        var results = this.state.results;
        var _this$props2 = this.props,
            leveranciersFilter = _this$props2.leveranciersFilter,
            duurzaamheidFilter = _this$props2.duurzaamheidFilter,
            actiesFilter = _this$props2.actiesFilter,
            productsoortFilter = _this$props2.productsoortFilter,
            boeteVergoedFilter = _this$props2.boeteVergoedFilter;
        var filteredResults = filterMkbResultList(results, leveranciersFilter, duurzaamheidFilter, actiesFilter, productsoortFilter, boeteVergoedFilter);
        var data = {
          filteredResults: filteredResults
        };
        this.props.offersCallback(data);
      }

      this.getData();
    } // get needed data

  }, {
    key: "render",
    value: function render() {
      var _this2 = this;

      var results = this.state.results;
      var _this$props3 = this.props,
          leveranciersFilter = _this$props3.leveranciersFilter,
          duurzaamheidFilter = _this$props3.duurzaamheidFilter,
          actiesFilter = _this$props3.actiesFilter,
          productsoortFilter = _this$props3.productsoortFilter,
          boeteVergoedFilter = _this$props3.boeteVergoedFilter;
      var filteredResults = filterMkbResultList(results, leveranciersFilter, duurzaamheidFilter, actiesFilter, productsoortFilter, boeteVergoedFilter);
      var rows = filteredResults.map(function (r) {
        return /*#__PURE__*/external_React_default.a.createElement("li", {
          key: r.id
        }, /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "resultlist-logo"
        }, r.urlLeverancierLogo && /*#__PURE__*/external_React_default.a.createElement("img", {
          className: "logo",
          src: r.urlLeverancierLogo.imageUrl,
          alt: r.leverancierNaam,
          height: r.urlLeverancierLogo.height,
          width: r.urlLeverancierLogo.width
        })), /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "resultlist-aanbod"
        }, r.productNaam), /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "resultlist-jaarkosten"
        }, r.totaalPrijs), /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "resultlist-details with-background"
        }, /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "kosten-section"
        }, /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "besparing-section"
        }, /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "content"
        }, /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "section-title"
        }, "Besparing p.j."), /*#__PURE__*/external_React_default.a.createElement("span", {
          className: "section-price"
        }, /*#__PURE__*/external_React_default.a.createElement("sup", {
          className: "currency"
        }, "EUR")))), /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "jaarkosten-section"
        }, /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "content"
        }, /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "section-title",
          "data-bind": "text: totalPrijsHeaderDisplay"
        }, "Jaarkosten"), /*#__PURE__*/external_React_default.a.createElement("span", {
          className: "section-price"
        }, /*#__PURE__*/external_React_default.a.createElement("sup", {
          className: "currency"
        }, "EUR"))))), /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "buttons-section"
        }, /*#__PURE__*/external_React_default.a.createElement("a", {
          href: "#",
          className: "btn btn-details",
          onClick: function onClick(event) {
            return _this2.showDetails(event, r);
          }
        }, "Details ", /*#__PURE__*/external_React_default.a.createElement("span", {
          className: "sprite sprite-green-right-arrow"
        })), /*#__PURE__*/external_React_default.a.createElement("a", {
          href: "#",
          className: "btn btn-aanvragen",
          onClick: function onClick(event) {
            return _this2.showAanvragen(event, r);
          }
        }, "Aanvragen ", /*#__PURE__*/external_React_default.a.createElement("span", {
          className: "sprite sprite-white-right-arrow"
        }))), /*#__PURE__*/external_React_default.a.createElement("div", {
          className: "phone-section"
        }, /*#__PURE__*/external_React_default.a.createElement("a", {
          href: "#",
          className: "centered-btn btn-phone"
        }, /*#__PURE__*/external_React_default.a.createElement("span", {
          className: "sprite sprite-phone-icon"
        }), " Telefonisch aanvragen"))));
      });
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-result-list-offers-container"
      }, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "show-email-dialog"
      }, /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "fa fa-envelope",
        "aria-hidden": "true"
      }), " Mail mij deze vergelijking"), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "table"
      }, !Object(lodash["isEmpty"])(filteredResults) && /*#__PURE__*/external_React_default.a.createElement("ul", {
        id: "horizontal-list"
      }, rows)));
    }
  }]);

  return MkbResultListOffers;
}(external_React_["Component"]);

MkbResultListOffers_defineProperty(MkbResultListOffers_MkbResultListOffers, "propTypes", {
  offersCallback: prop_types_default.a.func.isRequired,
  mkbResultListDetailsCallback: prop_types_default.a.func.isRequired,
  postcode: prop_types_default.a.string.isRequired,
  huisnummer: prop_types_default.a.number.isRequired,
  toevoeging: prop_types_default.a.string.isRequired,
  huidigeLeverancierId: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]).isRequired,
  isDubbeleMeter: prop_types_default.a.bool.isRequired,
  stroomVerbruikEnkel: prop_types_default.a.number.isRequired,
  stroomVerbruikHoog: prop_types_default.a.string.isRequired,
  stroomVerbruikLaag: prop_types_default.a.string.isRequired,
  gasVerbruik: prop_types_default.a.string.isRequired,
  stroomEnergieProduction: prop_types_default.a.number.isRequired,
  stroomEnergieProductionHoog: prop_types_default.a.string.isRequired,
  stroomEnergieProductionLaag: prop_types_default.a.string.isRequired,
  connectionSelection: prop_types_default.a.number.isRequired,
  E: prop_types_default.a.string.isRequired,
  G: prop_types_default.a.string.isRequired,
  productType: prop_types_default.a.number.isRequired,
  doelgroep: prop_types_default.a.number.isRequired,
  kvkNummer: prop_types_default.a.string.isRequired,
  bedrijfsnaam: prop_types_default.a.string.isRequired,
  comparisonType: prop_types_default.a.string.isRequired,
  isDefault: prop_types_default.a.bool.isRequired,
  multipleAddresses: prop_types_default.a.bool.isRequired,
  forceTax: prop_types_default.a.bool.isRequired,
  isResidential: prop_types_default.a.bool.isRequired,
  compareDataKey: prop_types_default.a.string.isRequired,
  usageType: prop_types_default.a.string.isRequired,
  leveranciersFilter: prop_types_default.a.array,
  duurzaamheidFilter: prop_types_default.a.array,
  actiesFilter: prop_types_default.a.array,
  productsoortFilter: prop_types_default.a.array,
  boeteVergoedFilter: prop_types_default.a.array
});

MkbResultListOffers_defineProperty(MkbResultListOffers_MkbResultListOffers, "defaultProps", {
  leveranciersFilter: [],
  duurzaamheidFilter: [],
  actiesFilter: [],
  productsoortFilter: [],
  boeteVergoedFilter: []
});

/* harmony default export */ var SecondRow_MkbResultListOffers = (MkbResultListOffers_MkbResultListOffers);
// CONCATENATED MODULE: ./src/components/RenderList/index.jsx
function RenderList_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { RenderList_typeof = function _typeof(obj) { return typeof obj; }; } else { RenderList_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return RenderList_typeof(obj); }

function RenderList_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function RenderList_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { RenderList_ownKeys(Object(source), true).forEach(function (key) { RenderList_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { RenderList_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function RenderList_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function RenderList_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); } }

function RenderList_createClass(Constructor, protoProps, staticProps) { if (protoProps) RenderList_defineProperties(Constructor.prototype, protoProps); if (staticProps) RenderList_defineProperties(Constructor, staticProps); return Constructor; }

function RenderList_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) RenderList_setPrototypeOf(subClass, superClass); }

function RenderList_setPrototypeOf(o, p) { RenderList_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return RenderList_setPrototypeOf(o, p); }

function RenderList_createSuper(Derived) { var hasNativeReflectConstruct = RenderList_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = RenderList_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = RenderList_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return RenderList_possibleConstructorReturn(this, result); }; }

function RenderList_possibleConstructorReturn(self, call) { if (call && (RenderList_typeof(call) === "object" || typeof call === "function")) { return call; } return RenderList_assertThisInitialized(self); }

function RenderList_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function RenderList_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function RenderList_getPrototypeOf(o) { RenderList_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return RenderList_getPrototypeOf(o); }

function RenderList_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }






var RenderList_RenderList = /*#__PURE__*/function (_Component) {
  RenderList_inherits(RenderList, _Component);

  var _super = RenderList_createSuper(RenderList);

  function RenderList() {
    var _this;

    RenderList_classCallCheck(this, RenderList);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    RenderList_defineProperty(RenderList_assertThisInitialized(_this), "state", {
      showAllItems: false,
      arrayOfAvailableItems: []
    });

    RenderList_defineProperty(RenderList_assertThisInitialized(_this), "handleItemClick", function (event, itemId) {
      event.preventDefault();

      _this.props.handleItemClick(itemId);
    });

    RenderList_defineProperty(RenderList_assertThisInitialized(_this), "handleItemsList", function (event) {
      event.preventDefault();

      _this.setState(function (state) {
        var res = {
          showAllItems: !state.showAllItems
        };
        return res;
      });
    });

    RenderList_defineProperty(RenderList_assertThisInitialized(_this), "renderNumberOfAvailableLeverancierIds", function (id, arrayOfAvailableItems) {
      var item = arrayOfAvailableItems.find(function (a) {
        return a.leverancierId === id;
      });
      if (!isNullOrNanOrZero(item)) return item.count;
      return 0;
    });

    RenderList_defineProperty(RenderList_assertThisInitialized(_this), "renderNumberOfAvailableDuurzaamheidIds", function (id, arrayOfAvailableItems) {
      if (id === 1) {
        var items = arrayOfAvailableItems.filter(function (i) {
          return i.isGroenElec && i.isGroenGas;
        });
        if (!isNullOrNanOrZero(items)) return items.length;
      }

      if (id === 2) {
        var _items = arrayOfAvailableItems.filter(function (i) {
          return !i.isGroenElec && !i.isGroenGas;
        });

        if (!isNullOrNanOrZero(_items)) return _items.length;
      }

      if (id === 3) {
        var _items2 = arrayOfAvailableItems.filter(function (i) {
          return !i.isGroenElec && i.isGroenGas || i.isGroenElec && !i.isGroenGas;
        });

        if (!isNullOrNanOrZero(_items2)) return _items2.length;
      }
    });

    RenderList_defineProperty(RenderList_assertThisInitialized(_this), "renderNumberOfAvailableActiesIds", function (id, arrayOfAvailableItems) {
      if (id === 0) {
        var items = arrayOfAvailableItems.filter(function (i) {
          return !i.isExclusief;
        });
        if (!isNullOrNanOrZero(items)) return items.length;
      }

      if (id === 1) {
        var _items3 = arrayOfAvailableItems.filter(function (i) {
          return i.isExclusief;
        });

        if (!isNullOrNanOrZero(_items3)) return _items3.length;
      }
    });

    RenderList_defineProperty(RenderList_assertThisInitialized(_this), "renderNumberOfAvailableIsProductsoortIds", function (id, arrayOfAvailableItems) {
      if (id === 0) {
        var items = arrayOfAvailableItems.filter(function (i) {
          return !isNullOrWs(i.looptijd) ? i.looptijd.soort === 0 : i.looptijdGas.soort === 0;
        });
        if (!isNullOrNanOrZero(items)) return items.length;
      }

      if (id === 1) {
        var _items4 = arrayOfAvailableItems.filter(function (i) {
          return !isNullOrWs(i.looptijd) ? i.looptijd.aantalMaanden <= 12 : i.looptijdGas.aantalMaanden <= 12;
        });

        if (!isNullOrNanOrZero(_items4)) return _items4.length;
      }

      if (id === 2) {
        var _items5 = arrayOfAvailableItems.filter(function (i) {
          return !isNullOrWs(i.looptijd) ? i.looptijd.aantalMaanden > 12 && i.looptijd.aantalMaanden <= 24 : i.looptijdGas.aantalMaanden > 12 && i.looptijdGas.aantalMaanden <= 24;
        });

        if (!isNullOrNanOrZero(_items5)) return _items5.length;
      }

      if (id === 3) {
        var _items6 = arrayOfAvailableItems.filter(function (i) {
          return !isNullOrWs(i.looptijd) ? i.looptijd.aantalMaanden > 24 && i.looptijd.aantalMaanden <= 36 : i.looptijdGas.aantalMaanden > 24 && i.looptijdGas.aantalMaanden <= 36;
        });

        if (!isNullOrNanOrZero(_items6)) return _items6.length;
      }

      if (id === 4) {
        var _items7 = arrayOfAvailableItems.filter(function (i) {
          return !isNullOrWs(i.looptijd) ? i.looptijd.aantalMaanden > 36 && i.looptijd.aantalMaanden <= 48 : i.looptijdGas.aantalMaanden > 36 && i.looptijdGas.aantalMaanden <= 48;
        });

        if (!isNullOrNanOrZero(_items7)) return _items7.length;
      }

      if (id === 5) {
        var _items8 = arrayOfAvailableItems.filter(function (i) {
          return !isNullOrWs(i.looptijd) ? i.looptijd.aantalMaanden > 48 && i.looptijd.aantalMaanden <= 60 : i.looptijdGas.aantalMaanden > 48 && i.looptijdGas.aantalMaanden <= 60;
        });

        if (!isNullOrNanOrZero(_items8)) return _items8.length;
      }
    });

    RenderList_defineProperty(RenderList_assertThisInitialized(_this), "renderNumberOfAvailableIsBoeteVergoedIds", function (id, arrayOfAvailableItems) {
      if (id === 0) {
        var items = arrayOfAvailableItems.filter(function (i) {
          return !i.isBoeteVergoed;
        });
        if (!isNullOrNanOrZero(items)) return items.length;
      }

      if (id === 1) {
        var _items9 = arrayOfAvailableItems.filter(function (i) {
          return i.isBoeteVergoed;
        });

        if (!isNullOrNanOrZero(_items9)) return _items9.length;
      }
    });

    return _this;
  }

  RenderList_createClass(RenderList, [{
    key: "componentDidUpdate",
    value: function componentDidUpdate(previousProps, previousState) {
      if (previousProps.filteredResults !== this.props.filteredResults) {
        var _this$props = this.props,
            filteredResults = _this$props.filteredResults,
            isLeveranciersFilter = _this$props.isLeveranciersFilter;

        if (!isNullOrWs(filteredResults) && !Object(lodash["isEmpty"])(filteredResults)) {
          if (filteredResults.filteredResults.length > 0) {
            var res = {};

            if (isLeveranciersFilter) {
              var tempResult = {};
              filteredResults.filteredResults.forEach(function (element) {
                tempResult[element.leverancierId] = RenderList_objectSpread(RenderList_objectSpread({}, element), {}, {
                  count: tempResult[element.leverancierId] ? tempResult[element.leverancierId].count + 1 : 1
                });
              });
              res = Object.values(tempResult);
            } else {
              var _tempResult = {};
              _tempResult = filteredResults.filteredResults.map(function (i) {
                return i;
              });
              res = Object.values(_tempResult);
            } // eslint-disable-next-line react/no-did-update-set-state


            this.setState({
              arrayOfAvailableItems: res
            });
          }
        }
      }
    }
  }, {
    key: "render",
    value: function render() {
      var _this2 = this;

      var _this$state = this.state,
          showAllItems = _this$state.showAllItems,
          arrayOfAvailableItems = _this$state.arrayOfAvailableItems;
      var _this$props2 = this.props,
          items = _this$props2.items,
          hasShowMore = _this$props2.hasShowMore,
          isLeveranciersFilter = _this$props2.isLeveranciersFilter,
          isDuurzaamheidFilter = _this$props2.isDuurzaamheidFilter,
          isActiesFilter = _this$props2.isActiesFilter,
          isProductsoortFilter = _this$props2.isProductsoortFilter,
          isBoeteVergoedFilter = _this$props2.isBoeteVergoedFilter;
      var filterLink = showAllItems ? 'minder' : 'meer';
      var itemsList = showAllItems ? items : items.slice(0, 5);
      var rows = itemsList.map(function (i) {
        return /*#__PURE__*/external_React_default.a.createElement("li", {
          key: i.id
        }, /*#__PURE__*/external_React_default.a.createElement("a", {
          href: "#",
          className: "gray-text",
          onClick: function onClick(event) {
            return _this2.handleItemClick(event, i.id);
          }
        }, i.showIcon && /*#__PURE__*/external_React_default.a.createElement("i", {
          className: "fa fa-close",
          "aria-hidden": "true"
        }), i.name, "(", isLeveranciersFilter && _this2.renderNumberOfAvailableLeverancierIds(i.id, arrayOfAvailableItems), isDuurzaamheidFilter && _this2.renderNumberOfAvailableDuurzaamheidIds(i.id, arrayOfAvailableItems), isActiesFilter && _this2.renderNumberOfAvailableActiesIds(i.id, arrayOfAvailableItems), isProductsoortFilter && _this2.renderNumberOfAvailableIsProductsoortIds(i.id, arrayOfAvailableItems), isBoeteVergoedFilter && _this2.renderNumberOfAvailableIsBoeteVergoedIds(i.id, arrayOfAvailableItems), ")"));
      });
      return /*#__PURE__*/external_React_default.a.createElement("div", null, /*#__PURE__*/external_React_default.a.createElement("ul", null, !Object(lodash["isEmpty"])(items) && rows, hasShowMore && /*#__PURE__*/external_React_default.a.createElement("li", null, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        onClick: this.handleItemsList
      }, filterLink))));
    }
  }]);

  return RenderList;
}(external_React_["Component"]);

RenderList_defineProperty(RenderList_RenderList, "propTypes", {
  items: prop_types_default.a.array.isRequired,
  handleItemClick: prop_types_default.a.func.isRequired,
  hasShowMore: prop_types_default.a.bool,
  filteredResults: prop_types_default.a.array,
  isLeveranciersFilter: prop_types_default.a.bool,
  isDuurzaamheidFilter: prop_types_default.a.bool,
  isActiesFilter: prop_types_default.a.bool,
  isProductsoortFilter: prop_types_default.a.bool,
  isBoeteVergoedFilter: prop_types_default.a.bool
});

RenderList_defineProperty(RenderList_RenderList, "defaultProps", {
  hasShowMore: false,
  filteredResults: [],
  isLeveranciersFilter: false,
  isDuurzaamheidFilter: false,
  isActiesFilter: false,
  isProductsoortFilter: false,
  isBoeteVergoedFilter: false
});


// EXTERNAL MODULE: ./src/sass/components/mkbResultListFilters.scss
var mkbResultListFilters = __webpack_require__(126);

// CONCATENATED MODULE: ./src/components/Containers/MkbResultList/SecondRow/MkbResultListFilters.js
function MkbResultListFilters_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MkbResultListFilters_typeof = function _typeof(obj) { return typeof obj; }; } else { MkbResultListFilters_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MkbResultListFilters_typeof(obj); }

function MkbResultListFilters_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function MkbResultListFilters_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { MkbResultListFilters_ownKeys(Object(source), true).forEach(function (key) { MkbResultListFilters_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { MkbResultListFilters_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function MkbResultListFilters_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MkbResultListFilters_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); } }

function MkbResultListFilters_createClass(Constructor, protoProps, staticProps) { if (protoProps) MkbResultListFilters_defineProperties(Constructor.prototype, protoProps); if (staticProps) MkbResultListFilters_defineProperties(Constructor, staticProps); return Constructor; }

function MkbResultListFilters_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MkbResultListFilters_setPrototypeOf(subClass, superClass); }

function MkbResultListFilters_setPrototypeOf(o, p) { MkbResultListFilters_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MkbResultListFilters_setPrototypeOf(o, p); }

function MkbResultListFilters_createSuper(Derived) { var hasNativeReflectConstruct = MkbResultListFilters_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MkbResultListFilters_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MkbResultListFilters_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MkbResultListFilters_possibleConstructorReturn(this, result); }; }

function MkbResultListFilters_possibleConstructorReturn(self, call) { if (call && (MkbResultListFilters_typeof(call) === "object" || typeof call === "function")) { return call; } return MkbResultListFilters_assertThisInitialized(self); }

function MkbResultListFilters_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MkbResultListFilters_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MkbResultListFilters_getPrototypeOf(o) { MkbResultListFilters_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MkbResultListFilters_getPrototypeOf(o); }

function MkbResultListFilters_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }










var MkbResultListFilters_MkbResultListFilters = /*#__PURE__*/function (_Component) {
  MkbResultListFilters_inherits(MkbResultListFilters, _Component);

  var _super = MkbResultListFilters_createSuper(MkbResultListFilters);

  function MkbResultListFilters() {
    var _this;

    MkbResultListFilters_classCallCheck(this, MkbResultListFilters);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MkbResultListFilters_defineProperty(MkbResultListFilters_assertThisInitialized(_this), "state", {
      leveranciers: [],
      duurzaamheidItems: duurzaamheidFiltersItems,
      actiesItems: actiesFiltersItems,
      productsoortItems: productsoortFiltersItems,
      boeteVergoedItems: boeteVergoedFiltersItems
    });

    MkbResultListFilters_defineProperty(MkbResultListFilters_assertThisInitialized(_this), "getData", function () {
      axios_default.a.get('/?action=ez_api_request&controller=Wordpress&method=FetchLeveranciers').then(function (res) {
        if (res.status === 200) {
          if (res.data != null) {
            var response = JSON.parse(res.data).sort(function (a, b) {
              return a.name > b.name ? 1 : -1;
            });

            _this.setState({
              leveranciers: response.map(function (obj) {
                return MkbResultListFilters_objectSpread(MkbResultListFilters_objectSpread({}, obj), {}, {
                  showIcon: false
                });
              })
            });
          } else {
            console.log('Error: Leverancier data not available');
          }
        } else {
          console.log('Error: API not available');
        }
      });
    });

    MkbResultListFilters_defineProperty(MkbResultListFilters_assertThisInitialized(_this), "handleShowLeveranciersIcon", function (id) {
      _this.setState(function (state) {
        var res = {
          leveranciers: state.leveranciers.map(function (l) {
            return {
              id: l.id,
              name: l.name,
              showIcon: l.id === id || l.showIcon ? !l.showIcon : l.showIcon
            };
          })
        };
        return res;
      });
    });

    MkbResultListFilters_defineProperty(MkbResultListFilters_assertThisInitialized(_this), "handleShowDuurzaamheidIcon", function (id) {
      _this.setState(function (state) {
        var res = {
          duurzaamheidItems: state.duurzaamheidItems.map(function (i) {
            return {
              id: i.id,
              name: i.name,
              showIcon: i.id === id || i.showIcon ? !i.showIcon : i.showIcon
            };
          })
        };
        return res;
      });
    });

    MkbResultListFilters_defineProperty(MkbResultListFilters_assertThisInitialized(_this), "handleShowActiesIcon", function (id) {
      _this.setState(function (state) {
        var res = {
          actiesItems: state.actiesItems.map(function (i) {
            return {
              id: i.id,
              name: i.name,
              showIcon: i.id === id || i.showIcon ? !i.showIcon : i.showIcon
            };
          })
        };
        return res;
      });
    });

    MkbResultListFilters_defineProperty(MkbResultListFilters_assertThisInitialized(_this), "handleShowProductsoortIcon", function (id) {
      _this.setState(function (state) {
        var res = {
          productsoortItems: state.productsoortItems.map(function (i) {
            return {
              id: i.id,
              name: i.name,
              showIcon: i.id === id || i.showIcon ? !i.showIcon : i.showIcon
            };
          })
        };
        return res;
      });
    });

    MkbResultListFilters_defineProperty(MkbResultListFilters_assertThisInitialized(_this), "handleShowBoeteVergoedIcon", function (id) {
      _this.setState(function (state) {
        var res = {
          boeteVergoedItems: state.boeteVergoedItems.map(function (i) {
            return {
              id: i.id,
              name: i.name,
              showIcon: i.id === id || i.showIcon ? !i.showIcon : i.showIcon
            };
          })
        };
        return res;
      });
    });

    return _this;
  }

  MkbResultListFilters_createClass(MkbResultListFilters, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      this.getData();
    }
  }, {
    key: "componentDidUpdate",
    value: function componentDidUpdate(previousProps, previousState) {
      if (previousState !== this.state) {
        var _this$state = this.state,
            leveranciers = _this$state.leveranciers,
            duurzaamheidItems = _this$state.duurzaamheidItems,
            actiesItems = _this$state.actiesItems,
            productsoortItems = _this$state.productsoortItems,
            boeteVergoedItems = _this$state.boeteVergoedItems;
        var filteredLeveranciers = leveranciers.filter(function (i) {
          return i.showIcon === true;
        });
        var filteredDuurzaamheidItems = duurzaamheidItems.filter(function (i) {
          return i.showIcon === true;
        });
        var filteredActiesItems = actiesItems.filter(function (i) {
          return i.showIcon === true;
        });
        var filteredProductsoortItems = productsoortItems.filter(function (i) {
          return i.showIcon === true;
        });
        var filteredBoeteVergoedItems = boeteVergoedItems.filter(function (i) {
          return i.showIcon === true;
        });
        var data = {
          filteredLeveranciers: filteredLeveranciers,
          filteredDuurzaamheidItems: filteredDuurzaamheidItems,
          filteredActiesItems: filteredActiesItems,
          filteredProductsoortItems: filteredProductsoortItems,
          filteredBoeteVergoedItems: filteredBoeteVergoedItems
        };
        this.props.filtersCallback(data);
      }
    } // get needed data

  }, {
    key: "render",
    value: function render() {
      var filteredResults = this.props.filteredResults;
      var _this$state2 = this.state,
          leveranciers = _this$state2.leveranciers,
          duurzaamheidItems = _this$state2.duurzaamheidItems,
          actiesItems = _this$state2.actiesItems,
          productsoortItems = _this$state2.productsoortItems,
          boeteVergoedItems = _this$state2.boeteVergoedItems;
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-result-list-filters-container"
      }, /*#__PURE__*/external_React_default.a.createElement("h6", null, "Verfijn uw selectie"), /*#__PURE__*/external_React_default.a.createElement("span", null, "Leveranciers"), /*#__PURE__*/external_React_default.a.createElement(RenderList_RenderList, {
        items: leveranciers,
        handleItemClick: this.handleShowLeveranciersIcon,
        filteredResults: filteredResults,
        hasShowMore: true,
        isLeveranciersFilter: true
      }), /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "filter-padding"
      }, "Duurzaamheid"), /*#__PURE__*/external_React_default.a.createElement(RenderList_RenderList, {
        items: duurzaamheidItems,
        handleItemClick: this.handleShowDuurzaamheidIcon,
        filteredResults: filteredResults,
        isDuurzaamheidFilter: true
      }), /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "filter-padding"
      }, "Acties"), /*#__PURE__*/external_React_default.a.createElement(RenderList_RenderList, {
        items: actiesItems,
        handleItemClick: this.handleShowActiesIcon,
        filteredResults: filteredResults,
        isActiesFilter: true
      }), /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "filter-padding"
      }, "Productsoort"), /*#__PURE__*/external_React_default.a.createElement(RenderList_RenderList, {
        items: productsoortItems,
        handleItemClick: this.handleShowProductsoortIcon,
        filteredResults: filteredResults,
        hasShowMore: true,
        isProductsoortFilter: true
      }), /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "filter-padding"
      }, "Boete vergoed"), /*#__PURE__*/external_React_default.a.createElement(RenderList_RenderList, {
        items: boeteVergoedItems,
        handleItemClick: this.handleShowBoeteVergoedIcon,
        filteredResults: filteredResults,
        isBoeteVergoedFilter: true
      }));
    }
  }]);

  return MkbResultListFilters;
}(external_React_["Component"]);

MkbResultListFilters_defineProperty(MkbResultListFilters_MkbResultListFilters, "propTypes", {
  filtersCallback: prop_types_default.a.func.isRequired,
  filteredResults: prop_types_default.a.array.isRequired
});

MkbResultListFilters_defineProperty(MkbResultListFilters_MkbResultListFilters, "defaultProps", {});

/* harmony default export */ var SecondRow_MkbResultListFilters = (MkbResultListFilters_MkbResultListFilters);
// EXTERNAL MODULE: ./src/sass/components/mkbResultListDetails.scss
var mkbResultListDetails = __webpack_require__(128);

// CONCATENATED MODULE: ./src/components/Containers/MkbResultList/SecondRow/MkbResultListDetails.js
function MkbResultListDetails_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MkbResultListDetails_typeof = function _typeof(obj) { return typeof obj; }; } else { MkbResultListDetails_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MkbResultListDetails_typeof(obj); }

function MkbResultListDetails_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MkbResultListDetails_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); } }

function MkbResultListDetails_createClass(Constructor, protoProps, staticProps) { if (protoProps) MkbResultListDetails_defineProperties(Constructor.prototype, protoProps); if (staticProps) MkbResultListDetails_defineProperties(Constructor, staticProps); return Constructor; }

function MkbResultListDetails_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MkbResultListDetails_setPrototypeOf(subClass, superClass); }

function MkbResultListDetails_setPrototypeOf(o, p) { MkbResultListDetails_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MkbResultListDetails_setPrototypeOf(o, p); }

function MkbResultListDetails_createSuper(Derived) { var hasNativeReflectConstruct = MkbResultListDetails_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MkbResultListDetails_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MkbResultListDetails_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MkbResultListDetails_possibleConstructorReturn(this, result); }; }

function MkbResultListDetails_possibleConstructorReturn(self, call) { if (call && (MkbResultListDetails_typeof(call) === "object" || typeof call === "function")) { return call; } return MkbResultListDetails_assertThisInitialized(self); }

function MkbResultListDetails_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MkbResultListDetails_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MkbResultListDetails_getPrototypeOf(o) { MkbResultListDetails_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MkbResultListDetails_getPrototypeOf(o); }

function MkbResultListDetails_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }








var MkbResultListDetails_MkbResultListDetails = /*#__PURE__*/function (_Component) {
  MkbResultListDetails_inherits(MkbResultListDetails, _Component);

  var _super = MkbResultListDetails_createSuper(MkbResultListDetails);

  function MkbResultListDetails() {
    var _this;

    MkbResultListDetails_classCallCheck(this, MkbResultListDetails);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MkbResultListDetails_defineProperty(MkbResultListDetails_assertThisInitialized(_this), "state", {});

    MkbResultListDetails_defineProperty(MkbResultListDetails_assertThisInitialized(_this), "calculateWidth", function (data) {
      return {
        width: "".concat(data, "%")
      };
    });

    MkbResultListDetails_defineProperty(MkbResultListDetails_assertThisInitialized(_this), "calculateTotal", function (strArr) {
      return strArr.reduce(function (total, num) {
        return parseFloat(total) + parseFloat(num);
      });
    });

    MkbResultListDetails_defineProperty(MkbResultListDetails_assertThisInitialized(_this), "formatDecimals", function (num, decimal) {
      return (Math.round(num * 100) / 100).toFixed(decimal);
    });

    return _this;
  }

  MkbResultListDetails_createClass(MkbResultListDetails, [{
    key: "render",
    value: function render() {
      var detailsData = this.props.detailsData;
      console.log('details', detailsData);
      var stroomEtiket = detailsData.productDetails.stroomEtiket;
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-result-list-details-container"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "first-column"
      }, detailsData.urlLeverancierLogo != null && detailsData.leverancierNaam != null && /*#__PURE__*/external_React_default.a.createElement("img", {
        className: "logo",
        src: detailsData.urlLeverancierLogo.imageUrl,
        alt: detailsData.leverancierNaam,
        height: detailsData.urlLeverancierLogo.height,
        width: detailsData.urlLeverancierLogo.width
      })), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "second-column"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "button-line"
      }, /*#__PURE__*/external_React_default.a.createElement("button", {
        className: "first"
      }, "Nu aanvragen"), /*#__PURE__*/external_React_default.a.createElement("button", {
        className: "second"
      }, "Terug naar overzicht")), /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#",
        className: "show-email-dialog"
      }, /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "fa fa-envelope",
        "aria-hidden": "true"
      }), " Mail mij deze vergelijking"), detailsData.leverancierNaam != null && detailsData.productNaam != null && /*#__PURE__*/external_React_default.a.createElement("span", null, /*#__PURE__*/external_React_default.a.createElement("h5", null, detailsData.leverancierNaam, "-", detailsData.productNaam)), /*#__PURE__*/external_React_default.a.createElement("span", null, "Onderstaande kosten zijn exclusief btw en inclusief opslag duurzame energie en energiebelasting.")), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "first-column"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, /*#__PURE__*/external_React_default.a.createElement("h5", null, "Jaarlijkse kosten")), /*#__PURE__*/external_React_default.a.createElement("span", null, /*#__PURE__*/external_React_default.a.createElement("h6", null, "Leveringskosten Stroom"))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "second-column"
      }, /*#__PURE__*/external_React_default.a.createElement("table", {
        className: "table"
      }, /*#__PURE__*/external_React_default.a.createElement("thead", null, /*#__PURE__*/external_React_default.a.createElement("tr", {
        className: "no-border"
      }, /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null, "Uw netto verbruik"), /*#__PURE__*/external_React_default.a.createElement("th", null, "Tarief"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "Jaarkosten"))), /*#__PURE__*/external_React_default.a.createElement("tbody", null, /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Vaste leveringskosten (per jaar)"), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 33,00")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Leveringskosten"), /*#__PURE__*/external_React_default.a.createElement("th", null, "12 kWh"), /*#__PURE__*/external_React_default.a.createElement("th", null, "\u20AC 0,077300"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 0,93")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Energiebelasting 0 - 10.000 kWh"), /*#__PURE__*/external_React_default.a.createElement("th", null, "12 kWh"), /*#__PURE__*/external_React_default.a.createElement("th", null, "\u20AC 0,094280"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 1,13")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Opslag duurzame energie 0 - 10.000 kWh"), /*#__PURE__*/external_React_default.a.createElement("th", null, "12 kWh"), /*#__PURE__*/external_React_default.a.createElement("th", null, "\u20AC 0,030000"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 0,36")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Vermindering energiebelasting"), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "-\u20AC 461,62")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Totaal leveringskosten stroom"), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC -426,20"))))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "first-column"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, /*#__PURE__*/external_React_default.a.createElement("h6", null, "Leveringskosten Gas"))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "second-column"
      }, /*#__PURE__*/external_React_default.a.createElement("table", {
        className: "table"
      }, /*#__PURE__*/external_React_default.a.createElement("thead", null, /*#__PURE__*/external_React_default.a.createElement("tr", {
        className: "no-border"
      }, /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null, "Uw netto verbruik"), /*#__PURE__*/external_React_default.a.createElement("th", null, "Tarief"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "Jaarkosten"))), /*#__PURE__*/external_React_default.a.createElement("tbody", null, /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Vaste leveringskosten (per jaar)"), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 33,00")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Leveringskosten inclusief regiotoeslag (regio 1)"), /*#__PURE__*/external_React_default.a.createElement("th", null, "12 kWh"), /*#__PURE__*/external_React_default.a.createElement("th", null, "\u20AC 0,077300"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 0,93")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Energiebelasting 0 - 170.000 m3"), /*#__PURE__*/external_React_default.a.createElement("th", null, "12 kWh"), /*#__PURE__*/external_React_default.a.createElement("th", null, "\u20AC 0,094280"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 1,13")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Opslag duurzame energie 0 - 170.000 m3h"), /*#__PURE__*/external_React_default.a.createElement("th", null, "12 kWh"), /*#__PURE__*/external_React_default.a.createElement("th", null, "\u20AC 0,030000"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 0,36")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Totaal leveringskosten gas"), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC -426,20")))), /*#__PURE__*/external_React_default.a.createElement("table", {
        className: "table"
      }, /*#__PURE__*/external_React_default.a.createElement("tbody", null, /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Sub totaal"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 2.080,74")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Korting per jaar"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 2.080,74")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Totaal leveringskosten"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 2.080,74"))))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "first-column"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, /*#__PURE__*/external_React_default.a.createElement("h6", null, "Netbeheerkosten"))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "second-column"
      }, /*#__PURE__*/external_React_default.a.createElement("table", {
        className: "table"
      }, /*#__PURE__*/external_React_default.a.createElement("thead", null, /*#__PURE__*/external_React_default.a.createElement("tr", {
        className: "no-border"
      }, /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null, "Type aansluiting"), /*#__PURE__*/external_React_default.a.createElement("th", null, "Uw netbeheerder"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "Jaarkosten"))), /*#__PURE__*/external_React_default.a.createElement("tbody", null, /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Stroom (per jaar)"), /*#__PURE__*/external_React_default.a.createElement("th", null, "3x25A", /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "fa fa-pencil",
        "aria-hidden": "true"
      })), /*#__PURE__*/external_React_default.a.createElement("th", null, "Liander"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 226,59")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Gas (per jaar)"), /*#__PURE__*/external_React_default.a.createElement("th", null, "G6 \u2265 500", /*#__PURE__*/external_React_default.a.createElement("i", {
        className: "fa fa-pencil",
        "aria-hidden": "true"
      })), /*#__PURE__*/external_React_default.a.createElement("th", null, "Liander"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 169,18")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Totaal netbeheerkosten"), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 395,77")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Totaal leveringskosten en netbeheerkosten (excl. btw)"), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-align-right"
      }, "\u20AC 2.302,96"))))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "first-column background-color-gray"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, /*#__PURE__*/external_React_default.a.createElement("h5", null, "Contractvoorwaarden")), /*#__PURE__*/external_React_default.a.createElement("span", null, /*#__PURE__*/external_React_default.a.createElement("h6", null, "Algemeen"))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "second-column background-color-gray"
      }, /*#__PURE__*/external_React_default.a.createElement("table", {
        className: "table"
      }, /*#__PURE__*/external_React_default.a.createElement("tbody", null, /*#__PURE__*/external_React_default.a.createElement("tr", {
        className: "no-border"
      }, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "column-width-40 text-header-row"
      }, "Alleen voor nieuwe klanten:"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "column-width-60"
      }, "Ja, dit product is alleen voor nieuwe klanten")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-header-row"
      }, "Looptijd:"), /*#__PURE__*/external_React_default.a.createElement("th", null, "1 jaar")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-header-row"
      }, "Opzegtermijn:"), /*#__PURE__*/external_React_default.a.createElement("th", null, "30 dagen")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-header-row"
      }, "Grijze stroom:"), /*#__PURE__*/external_React_default.a.createElement("th", null, "Vast")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-header-row"
      }, "Grijs gas:"), /*#__PURE__*/external_React_default.a.createElement("th", null, "Vast")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-header-row"
      }, "Type aansluiting:"), /*#__PURE__*/external_React_default.a.createElement("th", null, "Standaard wordt een gemiddelde grootte van de stroom-gasaansluiting gebruikt voor het berekenen van de netbeheerkosten (3x25A voor stroom en G6 voor gas). Indien dit niet overeenkomt met uw werkelijke aansluitcapaciteit en u deze zelf nog niet in het vergelijk heeft aangepast, kunnen de daadwerkelijke netbeheerkosten afwijken. U kunt uw aansluitcapaciteit hier wijzigen of neem contact op met onze klantenservice via 020 29 00 900.")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-header-row"
      }, "Opmerking:"), /*#__PURE__*/external_React_default.a.createElement("th", null, "Vaste tarieven tot 01-07-2022. De looptijd van dit vasteprijscontract is soms korter dan \xE9\xE9n jaar. Dit is het geval als u nog een lopend contract heeft en dit duurt nog twee maanden, of korter. Vattenfall wacht dan de einddatum van dat contract af. Pas dan gaat uw vasteprijscontract in. Zo hoeft u geen opzegvergoeding te betalen. De looptijd van uw nieuwe contract is dan op zijn hoogst twee maanden korter dan \xE9\xE9n jaar. Loopt uw huidige contract nog langer dan 3 maanden? Dan stapt u binnen enkele weken over. Vattenfall vergoedt uw eventuele opzegboete niet."))))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "first-column background-color-gray"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, /*#__PURE__*/external_React_default.a.createElement("h6", null, "Actie"))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "second-column background-color-gray"
      }, /*#__PURE__*/external_React_default.a.createElement("table", {
        className: "table"
      }, /*#__PURE__*/external_React_default.a.createElement("tbody", null, /*#__PURE__*/external_React_default.a.createElement("tr", {
        className: "no-border"
      }, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "column-width-40 text-header-row"
      }, "Cashback korting:"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "column-width-60"
      }, "\u20AC 173,55")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-header-row"
      }, "Toelichting korting:"), /*#__PURE__*/external_React_default.a.createElement("th", null, "De cashback is al doorberekend in het jaarbedrag.")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-header-row"
      }, "Toelichting korting:"), /*#__PURE__*/external_React_default.a.createElement("th", null, /*#__PURE__*/external_React_default.a.createElement("p", null, "Uitbetaling van de korting De cashback wordt verrekend aan het einde van uw contract op de eindafrekening."), /*#__PURE__*/external_React_default.a.createElement("p", null, "Korting geldt voor De eenmalige cashback is alleen van toepassing bij afname van zowel stroom als gas. Dit actieproduct is alleen geldig voor zakelijke klanten die nog geen klant van Nuon zijn, of de afgelopen 12 maanden geen klant zijn geweest. Be\xEBindigt u het contract in het voor contracteinddatum dan heeft u geen recht de cashback."))), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-header-row"
      }, "Voorwaarden van Vattenfall"), /*#__PURE__*/external_React_default.a.createElement("th", null, /*#__PURE__*/external_React_default.a.createElement("ul", null, /*#__PURE__*/external_React_default.a.createElement("li", null, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#"
      }, "Vattenfall - Productvoorwaarden")), /*#__PURE__*/external_React_default.a.createElement("li", null, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#"
      }, "Vattenfall - Actievoorwaarden")), /*#__PURE__*/external_React_default.a.createElement("li", null, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#"
      }, "Nuon - Algemene voorwaarden vanaf 1 april 2017")), /*#__PURE__*/external_React_default.a.createElement("li", null, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#"
      }, "Vattenfall Privacy Statement")), /*#__PURE__*/external_React_default.a.createElement("li", null, /*#__PURE__*/external_React_default.a.createElement("a", {
        href: "#"
      }, "Algemene Product Voorwaarden")))))))), !isNullOrWs(stroomEtiket) && /*#__PURE__*/external_React_default.a.createElement(external_React_default.a.Fragment, null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "first-column"
      }, /*#__PURE__*/external_React_default.a.createElement("span", null, /*#__PURE__*/external_React_default.a.createElement("h5", null, "Stroometiket"))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "second-column"
      }, /*#__PURE__*/external_React_default.a.createElement("table", {
        className: "table-without-border"
      }, /*#__PURE__*/external_React_default.a.createElement("tbody", null, /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-header-row"
      }, "Gewone energiebronnen"), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null)), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "column-width-20"
      }, "Gas"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "column-width-60"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress-bar progress-bar-info",
        role: "progressbar",
        "aria-valuenow": stroomEtiket.gas,
        "aria-valuemin": "0",
        "aria-valuemax": "100",
        style: this.calculateWidth(stroomEtiket.gas)
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "sr-only"
      }, stroomEtiket.gas, "%")))), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "column-width-20"
      }, stroomEtiket.gas, " %")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Kolen"), /*#__PURE__*/external_React_default.a.createElement("th", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress-bar progress-bar-info",
        role: "progressbar",
        "aria-valuenow": stroomEtiket.kolen,
        "aria-valuemin": "0",
        "aria-valuemax": "100",
        style: this.calculateWidth(stroomEtiket.kolen)
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "sr-only"
      }, stroomEtiket.kolen, "%")))), /*#__PURE__*/external_React_default.a.createElement("th", null, stroomEtiket.kolen, " %")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Kern"), /*#__PURE__*/external_React_default.a.createElement("th", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress-bar progress-bar-info",
        role: "progressbar",
        "aria-valuenow": stroomEtiket.kernEnergie,
        "aria-valuemin": "0",
        "aria-valuemax": "100",
        style: this.calculateWidth(stroomEtiket.kernEnergie)
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "sr-only"
      }, stroomEtiket.kernEnergie, "%")))), /*#__PURE__*/external_React_default.a.createElement("th", null, stroomEtiket.kernEnergie, " %")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Overig grijs"), /*#__PURE__*/external_React_default.a.createElement("th", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress-bar progress-bar-info",
        role: "progressbar",
        "aria-valuenow": stroomEtiket.overigGrijs,
        "aria-valuemin": "0",
        "aria-valuemax": "100",
        style: this.calculateWidth(stroomEtiket.overigGrijs)
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "sr-only"
      }, stroomEtiket.overigGrijs, "%")))), /*#__PURE__*/external_React_default.a.createElement("th", null, stroomEtiket.overigGrijs, " %")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Total"), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null, this.calculateTotal([stroomEtiket.gas, stroomEtiket.kolen, stroomEtiket.kernEnergie, stroomEtiket.overigGrijs]), " %")))), /*#__PURE__*/external_React_default.a.createElement("table", {
        className: "table-without-border"
      }, /*#__PURE__*/external_React_default.a.createElement("tbody", null, /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-header-row"
      }, "Groene energiebronnen"), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null)), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "column-width-20"
      }, "Wind"), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "column-width-60"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress-bar progress-bar-info",
        role: "progressbar",
        "aria-valuenow": stroomEtiket.wind,
        "aria-valuemin": "0",
        "aria-valuemax": "100",
        style: this.calculateWidth(stroomEtiket.wind)
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "sr-only"
      }, stroomEtiket.wind, "%")))), /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "column-width-20"
      }, stroomEtiket.wind, " %")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Biomassa"), /*#__PURE__*/external_React_default.a.createElement("th", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress-bar progress-bar-info",
        role: "progressbar",
        "aria-valuenow": stroomEtiket.biomassa,
        "aria-valuemin": "0",
        "aria-valuemax": "100",
        style: this.calculateWidth(stroomEtiket.biomassa)
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "sr-only"
      }, stroomEtiket.biomassa, "%")))), /*#__PURE__*/external_React_default.a.createElement("th", null, stroomEtiket.biomassa, " %")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Waterkracht"), /*#__PURE__*/external_React_default.a.createElement("th", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress-bar progress-bar-info",
        role: "progressbar",
        "aria-valuenow": stroomEtiket.water,
        "aria-valuemin": "0",
        "aria-valuemax": "100",
        style: this.calculateWidth(stroomEtiket.water)
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "sr-only"
      }, stroomEtiket.water, "%")))), /*#__PURE__*/external_React_default.a.createElement("th", null, stroomEtiket.water, " %")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Zon"), /*#__PURE__*/external_React_default.a.createElement("th", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress-bar progress-bar-info",
        role: "progressbar",
        "aria-valuenow": stroomEtiket.zon,
        "aria-valuemin": "0",
        "aria-valuemax": "100",
        style: this.calculateWidth(stroomEtiket.zon)
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "sr-only"
      }, stroomEtiket.zon, "%")))), /*#__PURE__*/external_React_default.a.createElement("th", null, stroomEtiket.zon, " %")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Overig groen"), /*#__PURE__*/external_React_default.a.createElement("th", null, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "progress-bar progress-bar-info",
        role: "progressbar",
        "aria-valuenow": stroomEtiket.overigGroen,
        "aria-valuemin": "0",
        "aria-valuemax": "100",
        style: this.calculateWidth(stroomEtiket.overigGroen)
      }, /*#__PURE__*/external_React_default.a.createElement("span", {
        className: "sr-only"
      }, stroomEtiket.overigGroen, "%")))), /*#__PURE__*/external_React_default.a.createElement("th", null, stroomEtiket.overigGroen, " %")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Total"), /*#__PURE__*/external_React_default.a.createElement("th", null), /*#__PURE__*/external_React_default.a.createElement("th", null, this.calculateTotal([stroomEtiket.wind, stroomEtiket.biomassa, stroomEtiket.water, stroomEtiket.zon, stroomEtiket.overigGroen]), " %")))), /*#__PURE__*/external_React_default.a.createElement("table", {
        className: "table-without-border"
      }, /*#__PURE__*/external_React_default.a.createElement("tbody", null, /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", {
        className: "text-header-row"
      }, "Milieuconsequenties"), /*#__PURE__*/external_React_default.a.createElement("th", null)), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "CO2 uitstoot"), /*#__PURE__*/external_React_default.a.createElement("th", null, this.formatDecimals(stroomEtiket.co2Uitstoot, 9), " g/kWh")), /*#__PURE__*/external_React_default.a.createElement("tr", null, /*#__PURE__*/external_React_default.a.createElement("th", null, "Radioactief afval"), /*#__PURE__*/external_React_default.a.createElement("th", null, this.formatDecimals(stroomEtiket.radioactiefAfval, 9), " g/kWh")))))), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "first-column"
      }), /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "second-column"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "button-line"
      }, /*#__PURE__*/external_React_default.a.createElement("button", {
        className: "first"
      }, "Nu aanvragen"), /*#__PURE__*/external_React_default.a.createElement("button", {
        className: "second"
      }, "Terug naar overzicht"))));
    }
  }]);

  return MkbResultListDetails;
}(external_React_["Component"]);

MkbResultListDetails_defineProperty(MkbResultListDetails_MkbResultListDetails, "propTypes", {
  detailsData: prop_types_default.a.object.isRequired
});

MkbResultListDetails_defineProperty(MkbResultListDetails_MkbResultListDetails, "defaultProps", {});

/* harmony default export */ var SecondRow_MkbResultListDetails = (MkbResultListDetails_MkbResultListDetails);
// EXTERNAL MODULE: ./src/sass/components/mkbResultList.scss
var components_mkbResultList = __webpack_require__(130);

// CONCATENATED MODULE: ./src/components/Containers/MkbResultList/index.js
function MkbResultList_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MkbResultList_typeof = function _typeof(obj) { return typeof obj; }; } else { MkbResultList_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MkbResultList_typeof(obj); }

function MkbResultList_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function MkbResultList_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); } }

function MkbResultList_createClass(Constructor, protoProps, staticProps) { if (protoProps) MkbResultList_defineProperties(Constructor.prototype, protoProps); if (staticProps) MkbResultList_defineProperties(Constructor, staticProps); return Constructor; }

function MkbResultList_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) MkbResultList_setPrototypeOf(subClass, superClass); }

function MkbResultList_setPrototypeOf(o, p) { MkbResultList_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MkbResultList_setPrototypeOf(o, p); }

function MkbResultList_createSuper(Derived) { var hasNativeReflectConstruct = MkbResultList_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = MkbResultList_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = MkbResultList_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return MkbResultList_possibleConstructorReturn(this, result); }; }

function MkbResultList_possibleConstructorReturn(self, call) { if (call && (MkbResultList_typeof(call) === "object" || typeof call === "function")) { return call; } return MkbResultList_assertThisInitialized(self); }

function MkbResultList_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function MkbResultList_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function MkbResultList_getPrototypeOf(o) { MkbResultList_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MkbResultList_getPrototypeOf(o); }

function MkbResultList_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }














var MkbResultList_MkbResultList = /*#__PURE__*/function (_Component) {
  MkbResultList_inherits(MkbResultList, _Component);

  var _super = MkbResultList_createSuper(MkbResultList);

  function MkbResultList() {
    var _this;

    MkbResultList_classCallCheck(this, MkbResultList);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    MkbResultList_defineProperty(MkbResultList_assertThisInitialized(_this), "state", {
      leveranciersFilter: [],
      duurzaamheidFilter: [],
      actiesFilter: [],
      productsoortFilter: [],
      boeteVergoedFilter: [],
      filteredResults: [],
      showDetails: false,
      detailsData: null,
      postcode: null,
      huisnummer: null,
      toevoeging: null,
      huidigeLeverancierId: null,
      leveranciers: [],
      isDubbeleMeter: null,
      stroomVerbruikEnkel: null,
      stroomVerbruikHoog: null,
      stroomVerbruikLaag: null,
      stroomEnergieProduction: null,
      stroomEnergieProductionHoog: null,
      stroomEnergieProductionLaag: null,
      E: null,
      G: null,
      connectionSelection: connectionSelections.EanboekAutomatic,
      productType: utilEnums_productTypes.StroomEnGas,
      doelgroep: productDoelgroeps.Mkb,
      kvkNummer: null,
      bedrijfsnaam: null,
      comparisonType: null,
      isDefault: null,
      multipleAddresses: null,
      forceTax: null,
      isResidential: null,
      compareDataKey: null,
      usageType: null,
      meter: null
    });

    MkbResultList_defineProperty(MkbResultList_assertThisInitialized(_this), "getData", function () {
      // get leveranciers data
      axios_default.a.get('/?action=ez_api_request&controller=Wordpress&method=FetchLeveranciers').then(function (res) {
        if (res.status === 200) {
          if (res.data != null) {
            _this.setState({
              leveranciers: JSON.parse(res.data)
            });
          } else {
            console.log('Error: Leverancier data not available');
          }
        } else {
          console.log('Error: API not available');
        }
      });
    });

    MkbResultList_defineProperty(MkbResultList_assertThisInitialized(_this), "filtersCallback", function (data) {
      _this.setState(function () {
        var res = {
          leveranciersFilter: data.filteredLeveranciers.map(function (i) {
            return i.id;
          }),
          duurzaamheidFilter: data.filteredDuurzaamheidItems.map(function (i) {
            return i.id;
          }),
          actiesFilter: data.filteredActiesItems.map(function (i) {
            return i.id;
          }),
          productsoortFilter: data.filteredProductsoortItems.map(function (i) {
            return i.id;
          }),
          boeteVergoedFilter: data.filteredBoeteVergoedItems.map(function (i) {
            return i.id;
          })
        };
        return res;
      });
    });

    MkbResultList_defineProperty(MkbResultList_assertThisInitialized(_this), "offersCallback", function (data) {
      _this.setState(function () {
        var res = {
          filteredResults: data
        };
        return res;
      });
    });

    MkbResultList_defineProperty(MkbResultList_assertThisInitialized(_this), "mkbResultListDetailsCallback", function (data) {
      _this.setState(function (state) {
        var res = {
          showDetails: !state.showDetails,
          detailsData: data
        };
        return res;
      });
    });

    return _this;
  }

  MkbResultList_createClass(MkbResultList, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      this.getData();
      var urlParams = parseUrl(window.location.search);
      this.setState(function () {
        var res = {
          postcode: urlParams.postcode,
          huisnummer: urlParams.huisnummer,
          toevoeging: urlParams.toevoeging,
          huidigeLeverancierId: urlParams.huidigeLeverancierId,
          isDubbeleMeter: urlParams.isDubbeleMeter,
          stroomVerbruikEnkel: urlParams.stroomVerbruikEnkel,
          stroomVerbruikHoog: urlParams.stroomVerbruikHoog,
          stroomVerbruikLaag: urlParams.stroomVerbruikLaag,
          gasVerbruik: urlParams.gasVerbruik,
          stroomEnergieProduction: urlParams.stroomEnergieProduction,
          stroomEnergieProductionHoog: urlParams.stroomEnergieProductionHoog,
          stroomEnergieProductionLaag: urlParams.stroomEnergieProductionLaag,
          E: urlParams.E,
          G: urlParams.G,
          connectionSelection: urlParams.connectionSelection,
          productType: urlParams.productType,
          doelgroep: urlParams.doelgroep,
          kvkNummer: urlParams.kvkNummer,
          bedrijfsnaam: urlParams.bedrijfsnaam,
          comparisonType: urlParams.comparisonType,
          isDefault: urlParams.isDefault,
          multipleAddresses: urlParams.multipleAddresses,
          forceTax: urlParams.forceTax,
          isResidential: urlParams.isResidential,
          compareDataKey: urlParams.compareDataKey,
          usageType: urlParams.usageType,
          meter: urlParams.meter
        };
        return res;
      });
    } // get needed data

  }, {
    key: "render",
    value: function render() {
      return /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "mkb-result-list-container"
      }, /*#__PURE__*/external_React_default.a.createElement(FirstRow_MkbResultListSteps, {
        uniqueId: this.props.uniqueId,
        postcode: this.state.postcode,
        huisnummer: this.state.huisnummer,
        toevoeging: this.state.toevoeging,
        huidigeLeverancierId: this.state.huidigeLeverancierId,
        connectionTypeE: this.props.connectionTypeE,
        connectionTypeG: this.props.connectionTypeG,
        stroomVerbruikEnkel: this.state.stroomVerbruikEnkel,
        gasVerbruik: this.state.gasVerbruik,
        meter: this.state.meter,
        stroomVerbruikHoog: this.state.stroomVerbruikHoog,
        solarProductionHigh: this.props.solarProductionHigh,
        stroomVerbruikLaag: this.state.stroomVerbruikLaag,
        solarProductionLow: this.props.solarProductionLow,
        solarProductionSingle: this.props.solarProductionSingle,
        leveranciers: this.state.leveranciers
      }), !this.state.showDetails && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "second-row"
      }, /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "first-column"
      }, /*#__PURE__*/external_React_default.a.createElement(SecondRow_MkbResultListFilters, {
        filtersCallback: this.filtersCallback,
        filteredResults: this.state.filteredResults
      })), /*#__PURE__*/external_React_default.a.createElement(SecondRow_MkbResultListOffers, {
        postcode: this.state.postcode,
        huisnummer: this.state.huisnummer,
        toevoeging: this.state.toevoeging,
        huidigeLeverancierId: this.state.huidigeLeverancierId,
        isDubbeleMeter: this.state.isDubbeleMeter,
        stroomVerbruikEnkel: this.state.stroomVerbruikEnkel,
        stroomVerbruikHoog: this.state.stroomVerbruikHoog,
        stroomVerbruikLaag: this.state.stroomVerbruikLaag,
        gasVerbruik: this.state.gasVerbruik,
        stroomEnergieProduction: this.state.stroomEnergieProduction,
        stroomEnergieProductionHoog: this.state.stroomEnergieProductionHoog,
        stroomEnergieProductionLaag: this.state.stroomEnergieProductionLaag,
        connectionSelection: this.state.connectionSelection,
        E: this.state.E,
        G: this.state.G,
        productType: this.state.productType,
        doelgroep: this.state.doelgroep,
        kvkNummer: this.state.kvkNummer,
        bedrijfsnaam: this.state.bedrijfsnaam,
        comparisonType: this.state.comparisonType,
        isDefault: this.state.isDefault,
        multipleAddresses: this.state.multipleAddresses,
        forceTax: this.state.forceTax,
        isResidential: this.state.isResidential,
        compareDataKey: this.state.compareDataKey,
        usageType: this.state.usageType,
        leveranciersFilter: this.state.leveranciersFilter,
        duurzaamheidFilter: this.state.duurzaamheidFilter,
        actiesFilter: this.state.actiesFilter,
        productsoortFilter: this.state.productsoortFilter,
        boeteVergoedFilter: this.state.boeteVergoedFilter,
        offersCallback: this.offersCallback,
        mkbResultListDetailsCallback: this.mkbResultListDetailsCallback
      })), this.state.showDetails && /*#__PURE__*/external_React_default.a.createElement("div", {
        className: "second-row"
      }, /*#__PURE__*/external_React_default.a.createElement(SecondRow_MkbResultListDetails, {
        detailsData: this.state.detailsData
      })));
    }
  }]);

  return MkbResultList;
}(external_React_["Component"]);

MkbResultList_defineProperty(MkbResultList_MkbResultList, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired,
  connectionTypeE: prop_types_default.a.number,
  connectionTypeG: prop_types_default.a.string,
  solarProductionHigh: prop_types_default.a.string,
  solarProductionLow: prop_types_default.a.string,
  solarProductionSingle: prop_types_default.a.string
});

MkbResultList_defineProperty(MkbResultList_MkbResultList, "defaultProps", {
  connectionTypeE: 0,
  connectionTypeG: 0,
  solarProductionHigh: '1500',
  solarProductionLow: '1500',
  solarProductionSingle: ''
});

/* harmony default export */ var Containers_MkbResultList = (MkbResultList_MkbResultList);
// CONCATENATED MODULE: ./src/components/Containers/TestMkbResultListDetails/index.js
function TestMkbResultListDetails_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { TestMkbResultListDetails_typeof = function _typeof(obj) { return typeof obj; }; } else { TestMkbResultListDetails_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return TestMkbResultListDetails_typeof(obj); }

function TestMkbResultListDetails_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function TestMkbResultListDetails_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); } }

function TestMkbResultListDetails_createClass(Constructor, protoProps, staticProps) { if (protoProps) TestMkbResultListDetails_defineProperties(Constructor.prototype, protoProps); if (staticProps) TestMkbResultListDetails_defineProperties(Constructor, staticProps); return Constructor; }

function TestMkbResultListDetails_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) TestMkbResultListDetails_setPrototypeOf(subClass, superClass); }

function TestMkbResultListDetails_setPrototypeOf(o, p) { TestMkbResultListDetails_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return TestMkbResultListDetails_setPrototypeOf(o, p); }

function TestMkbResultListDetails_createSuper(Derived) { var hasNativeReflectConstruct = TestMkbResultListDetails_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = TestMkbResultListDetails_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = TestMkbResultListDetails_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return TestMkbResultListDetails_possibleConstructorReturn(this, result); }; }

function TestMkbResultListDetails_possibleConstructorReturn(self, call) { if (call && (TestMkbResultListDetails_typeof(call) === "object" || typeof call === "function")) { return call; } return TestMkbResultListDetails_assertThisInitialized(self); }

function TestMkbResultListDetails_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function TestMkbResultListDetails_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function TestMkbResultListDetails_getPrototypeOf(o) { TestMkbResultListDetails_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return TestMkbResultListDetails_getPrototypeOf(o); }

function TestMkbResultListDetails_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }










var TestMkbResultListDetails_TestMkbResultListDetails = /*#__PURE__*/function (_Component) {
  TestMkbResultListDetails_inherits(TestMkbResultListDetails, _Component);

  var _super = TestMkbResultListDetails_createSuper(TestMkbResultListDetails);

  function TestMkbResultListDetails() {
    var _this;

    TestMkbResultListDetails_classCallCheck(this, TestMkbResultListDetails);

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _super.call.apply(_super, [this].concat(args));

    TestMkbResultListDetails_defineProperty(TestMkbResultListDetails_assertThisInitialized(_this), "state", {
      detailsData: null,
      showDetails: false,
      postcode: null,
      huisnummer: null,
      toevoeging: null,
      huidigeLeverancierId: null,
      isDubbeleMeter: false,
      stroomVerbruikEnkel: null,
      stroomVerbruikHoog: null,
      stroomVerbruikLaag: null,
      gasVerbruik: null,
      stroomEnergieProduction: null,
      stroomEnergieProductionHoog: null,
      stroomEnergieProductionLaag: null,
      E: null,
      G: null,
      connectionSelection: connectionSelections.EanboekAutomatic,
      productType: utilEnums_productTypes.StroomEnGas,
      doelgroep: productDoelgroeps.Mkb,
      kvkNummer: null,
      bedrijfsnaam: null,
      comparisonType: null,
      isDefault: false,
      multipleAddresses: false,
      forceTax: false,
      isResidential: false,
      compareDataKey: null,
      usageType: null,
      meter: null,
      productVersieId: 15650
    });

    TestMkbResultListDetails_defineProperty(TestMkbResultListDetails_assertThisInitialized(_this), "generateUniqueId", function (prefix) {
      return prefix + _this.props.uniqueId;
    });

    TestMkbResultListDetails_defineProperty(TestMkbResultListDetails_assertThisInitialized(_this), "getData", function () {
      var obj = {
        postcode: _this.state.postcode,
        huisnummer: _this.state.huisnummer,
        toevoeging: _this.state.toevoeging,
        huidigeLeverancierId: _this.state.huidigeLeverancierId,
        isDubbeleMeter: _this.state.isDubbeleMeter,
        stroomVerbruikEnkel: _this.state.stroomVerbruikEnkel,
        stroomVerbruikHoog: _this.state.stroomVerbruikHoog,
        stroomVerbruikLaag: _this.state.stroomVerbruikLaag,
        gasVerbruik: _this.state.gasVerbruik,
        stroomEnergieProduction: _this.state.stroomEnergieProduction,
        stroomEnergieProductionHoog: _this.state.stroomEnergieProductionHoog,
        stroomEnergieProductionLaag: _this.state.stroomEnergieProductionLaag,
        E: _this.state.E,
        G: _this.state.G,
        connectionSelection: _this.state.connectionSelection,
        productType: _this.state.productType,
        doelgroep: _this.state.doelgroep,
        kvkNummer: _this.state.kvkNummer,
        bedrijfsnaam: _this.state.bedrijfsnaam,
        comparisonType: _this.state.comparisonType,
        isDefault: _this.state.isDefault,
        multipleAddresses: _this.state.multipleAddresses,
        forceTax: _this.state.forceTax,
        isResidential: _this.state.isResidential,
        compareDataKey: _this.state.compareDataKey,
        usageType: _this.state.usageType,
        productVersieId: _this.state.productVersieId
      };
      var data = JSON.stringify(obj);
      axios_default.a.post('/?action=ez_api_request&controller=Wordpress&method=CalculateOfferDetails', data).then(function (response) {
        var res = JSON.parse(response.data); // const itemData = { ...res, ...item };

        _this.setState({
          detailsData: res,
          showDetails: true
        });
      })["catch"](function (error) {
        console.log(error, 'API not available');
      });
    });

    return _this;
  }

  TestMkbResultListDetails_createClass(TestMkbResultListDetails, [{
    key: "componentDidMount",
    value: function componentDidMount() {
      this.getData();
      var urlParams = parseUrl(window.location.search);
      this.setState(function () {
        var res = {
          postcode: urlParams.postcode,
          huisnummer: urlParams.huisnummer,
          toevoeging: urlParams.toevoeging,
          huidigeLeverancierId: urlParams.huidigeLeverancierId,
          isDubbeleMeter: urlParams.isDubbeleMeter,
          stroomVerbruikEnkel: urlParams.stroomVerbruikEnkel,
          stroomVerbruikHoog: urlParams.stroomVerbruikHoog,
          stroomVerbruikLaag: urlParams.stroomVerbruikLaag,
          gasVerbruik: urlParams.gasVerbruik,
          stroomEnergieProduction: urlParams.stroomEnergieProduction,
          stroomEnergieProductionHoog: urlParams.stroomEnergieProductionHoog,
          stroomEnergieProductionLaag: urlParams.stroomEnergieProductionLaag,
          E: urlParams.E,
          G: urlParams.G,
          connectionSelection: urlParams.connectionSelection,
          productType: urlParams.productType,
          doelgroep: urlParams.doelgroep,
          kvkNummer: urlParams.kvkNummer,
          bedrijfsnaam: urlParams.bedrijfsnaam,
          comparisonType: urlParams.comparisonType,
          isDefault: urlParams.isDefault,
          multipleAddresses: urlParams.multipleAddresses,
          forceTax: urlParams.forceTax,
          isResidential: urlParams.isResidential,
          compareDataKey: urlParams.compareDataKey,
          usageType: urlParams.usageType,
          meter: urlParams.meter,
          productVersieId: urlParams.productVersieId
        };
        return res;
      });
    }
  }, {
    key: "render",
    value: function render() {
      return /*#__PURE__*/external_React_default.a.createElement("div", null, this.state.showDetails && /*#__PURE__*/external_React_default.a.createElement(SecondRow_MkbResultListDetails, {
        detailsData: this.state.detailsData
      }));
    }
  }]);

  return TestMkbResultListDetails;
}(external_React_["Component"]);

TestMkbResultListDetails_defineProperty(TestMkbResultListDetails_TestMkbResultListDetails, "propTypes", {
  uniqueId: prop_types_default.a.string.isRequired
});

TestMkbResultListDetails_defineProperty(TestMkbResultListDetails_TestMkbResultListDetails, "defaultProps", {});

/* harmony default export */ var Containers_TestMkbResultListDetails = (TestMkbResultListDetails_TestMkbResultListDetails);
// CONCATENATED MODULE: ./src/index.jsx
/* eslint-disable no-unused-vars */

/* eslint-disable import/extensions */

/* eslint-disable import/no-unresolved */

/* Version: 1.1.246 */












document.addEventListener('DOMContentLoaded', function () {
  if (document.getElementById('horizontalCalculator')) {
    var horizontalCalculator = document.getElementById('horizontalCalculator');
    var preselectedTab = '1';
    var renderCondition = true;
    var uniqueId = horizontalCalculator.getAttribute('uniqueId');
    var firstTabName = horizontalCalculator.getAttribute('firstTabName');
    var firstTabTitle = horizontalCalculator.getAttribute('firstTabTitle');
    var secondTabName = horizontalCalculator.getAttribute('secondTabName');
    var secondTabTitle = horizontalCalculator.getAttribute('secondtabtitle');
    var mkbSubmitUrl = horizontalCalculator.getAttribute('mkbSubmitUrl');
    var mkbSubmitButtonText = horizontalCalculator.getAttribute('mkbSubmitButtonText');
    var gzmSubmitUrl = horizontalCalculator.getAttribute('gzmSubmitUrl');
    var gzmSubmitButtonText = horizontalCalculator.getAttribute('gzmSubmitButtonText');
    var textBelowButtonMkb = horizontalCalculator.getAttribute('textBelowButtonMkb');
    var textBelowButtonGzm = horizontalCalculator.getAttribute('textBelowButtonGzm');
    if (horizontalCalculator.hasAttribute('preselectedTab')) preselectedTab = horizontalCalculator.getAttribute('preselectedTab');
    if (firstTabName.trim() === '') firstTabName = null;
    if (secondTabName.trim() === '') secondTabName = null; // Handling edge cases and missconfiguration

    if (firstTabName === null && preselectedTab === '1') preselectedTab = '2';
    if (secondTabName === null && preselectedTab === '2') preselectedTab = '1';
    if (firstTabName === null && secondTabName === null) renderCondition = false;
    if (renderCondition) external_ReactDOM_default.a.render( /*#__PURE__*/external_React_default.a.createElement(Horizontal_HorizontalCalculator, {
      uniqueId: uniqueId,
      preselectedTab: preselectedTab,
      firstTabName: firstTabName != null ? firstTabName.trim() : null,
      secondTabName: secondTabName != null ? secondTabName.trim() : null,
      mkbSubmitUrl: mkbSubmitUrl,
      gzmSubmitUrl: gzmSubmitUrl,
      textBelowButtonMkb: textBelowButtonMkb,
      textBelowButtonGzm: textBelowButtonGzm,
      firstTabTitle: firstTabTitle.trim(),
      secondTabTitle: secondTabTitle.trim(),
      mkbSubmitButtonText: mkbSubmitButtonText.trim(),
      gzmSubmitButtonText: gzmSubmitButtonText.trim()
    }), horizontalCalculator);else external_ReactDOM_default.a.render(null, horizontalCalculator);
  }

  if (document.getElementById('miniCalculator')) {
    var miniCalculator = document.getElementById('miniCalculator');

    var _uniqueId = miniCalculator.getAttribute('uniqueId');

    var submitUrl = miniCalculator.getAttribute('submitUrl');
    external_ReactDOM_default.a.render( /*#__PURE__*/external_React_default.a.createElement(Mini_MiniCalculator, {
      uniqueId: _uniqueId,
      submitUrl: submitUrl
    }), miniCalculator);
  }

  if (document.getElementById('mkbStap1')) {
    var mkbStap1 = document.getElementById('mkbStap1');

    var _uniqueId2 = mkbStap1.getAttribute('uniqueId');

    var _submitUrl = mkbStap1.getAttribute('submitUrl');

    external_ReactDOM_default.a.render( /*#__PURE__*/external_React_default.a.createElement(Forms_MkbStap1_MkbStap1, {
      uniqueId: _uniqueId2,
      submitUrl: _submitUrl
    }), mkbStap1);
  }

  if (document.getElementById('compactCalculator')) {
    var compactCalculator = document.getElementById('compactCalculator');

    var _uniqueId3 = compactCalculator.getAttribute('uniqueId');

    var _submitUrl2 = compactCalculator.getAttribute('submitUrl');

    external_ReactDOM_default.a.render( /*#__PURE__*/external_React_default.a.createElement(Compact_CompactCalculator, {
      uniqueId: _uniqueId3,
      submitUrl: _submitUrl2
    }), compactCalculator);
  }

  if (document.getElementById('contactForm')) {
    var contactForm = document.getElementById('contactForm');

    var _uniqueId4 = contactForm.getAttribute('uniqueId');

    var _submitUrl3 = contactForm.getAttribute('submitUrl');

    external_ReactDOM_default.a.render( /*#__PURE__*/external_React_default.a.createElement(Contact_ContactForm, {
      uniqueId: _uniqueId4,
      submitUrl: _submitUrl3
    }), contactForm);
  }

  if (document.getElementById('gzmMiniCalculator')) {
    var gzmMiniCalculator = document.getElementById('gzmMiniCalculator');

    var _uniqueId5 = gzmMiniCalculator.getAttribute('uniqueId');

    var _submitUrl4 = gzmMiniCalculator.getAttribute('submitUrl');

    external_ReactDOM_default.a.render( /*#__PURE__*/external_React_default.a.createElement(GzmMini_GzmMiniCalculator, {
      uniqueId: _uniqueId5,
      submitUrl: _submitUrl4
    }), gzmMiniCalculator);
  }

  if (document.getElementById('mkbOverstapForm')) {
    var mkbOverstapForm = document.getElementById('mkbOverstapForm');

    var _uniqueId6 = mkbOverstapForm.getAttribute('uniqueId');

    external_ReactDOM_default.a.render( /*#__PURE__*/external_React_default.a.createElement(MkbOverstap_MkbOverstapForm, {
      uniqueId: _uniqueId6
    }), mkbOverstapForm);
  }

  if (document.getElementById('feedbackScoreHome')) {
    var feedbackScoreHome = document.getElementById('feedbackScoreHome');

    var _uniqueId7 = feedbackScoreHome.getAttribute('uniqueId');

    external_ReactDOM_default.a.render( /*#__PURE__*/external_React_default.a.createElement(Containers_FeedbackScoreHome, {
      uniqueId: _uniqueId7
    }), feedbackScoreHome);
  }

  if (document.getElementById('mkbResultList')) {
    var mkbResultList = document.getElementById('mkbResultList');

    var _uniqueId8 = mkbResultList.getAttribute('uniqueId');

    external_ReactDOM_default.a.render( /*#__PURE__*/external_React_default.a.createElement(Containers_MkbResultList, {
      uniqueId: _uniqueId8
    }), mkbResultList);
  }

  if (document.getElementById('testMkbResultListDetails')) {
    var testMkbResultListDetails = document.getElementById('testMkbResultListDetails');

    var _uniqueId9 = testMkbResultListDetails.getAttribute('uniqueId');

    external_ReactDOM_default.a.render( /*#__PURE__*/external_React_default.a.createElement(Containers_TestMkbResultListDetails, {
      uniqueId: _uniqueId9
    }), testMkbResultListDetails);
  }
});

/***/ }),
/* 133 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";

// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
// Unique ID creation requires a high quality random # generator. In the browser we therefore
// require the crypto API and do not support built-in fallback to lower quality random number
// generators (like Math.random()).
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
// find the complete implementation of crypto (msCrypto) on IE11.
var getRandomValues = typeof crypto != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto != 'undefined' && typeof msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto);
var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef

function rng() {
  if (!getRandomValues) {
    throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
  }

  return getRandomValues(rnds8);
}
// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/bytesToUuid.js
/**
 * Convert array of 16 byte values to UUID string format of the form:
 * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
 */
var byteToHex = [];

for (var bytesToUuid_i = 0; bytesToUuid_i < 256; ++bytesToUuid_i) {
  byteToHex[bytesToUuid_i] = (bytesToUuid_i + 0x100).toString(16).substr(1);
}

function bytesToUuid(buf, offset) {
  var i = offset || 0;
  var bth = byteToHex; // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4

  return [bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]]].join('');
}

/* harmony default export */ var esm_browser_bytesToUuid = (bytesToUuid);
// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js



function v4(options, buf, offset) {
  var i = buf && offset || 0;

  if (typeof options == 'string') {
    buf = options === 'binary' ? new Array(16) : null;
    options = null;
  }

  options = options || {};
  var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`

  rnds[6] = rnds[6] & 0x0f | 0x40;
  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided

  if (buf) {
    for (var ii = 0; ii < 16; ++ii) {
      buf[i + ii] = rnds[ii];
    }
  }

  return buf || esm_browser_bytesToUuid(rnds);
}

/* harmony default export */ var esm_browser_v4 = __webpack_exports__["a"] = (v4);

/***/ })
/******/ ]);