{
  "version": 3,
  "sources": ["../../../node_modules/react-stripe-elements/es/components/Provider.js", "../../../node_modules/react-stripe-elements/es/components/Elements.js", "../../../node_modules/react-stripe-elements/es/components/inject.js", "../../../node_modules/react-stripe-elements/es/utils/isEqual.js", "../../../node_modules/react-stripe-elements/es/components/Element.js", "../../../node_modules/react-stripe-elements/es/utils/shallowEqual.js", "../../../node_modules/react-stripe-elements/es/components/PaymentRequestButtonElement.js", "../../../node_modules/react-stripe-elements/es/index.js"],
  "sourcesContent": ["'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.providerContextTypes = undefined;\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// TODO(jez) 'sync' and 'async' are bad tag names.\n// TODO(jez) What if redux also uses this.context.tag?\nvar providerContextTypes = exports.providerContextTypes = {\n  tag: _propTypes2.default.string.isRequired,\n  stripe: _propTypes2.default.object,\n  addStripeLoadListener: _propTypes2.default.func\n};\n\nvar getOrCreateStripe = function getOrCreateStripe(apiKey, options) {\n  /**\n   * Note that this is not meant to be a generic memoization solution.\n   * This is specifically a solution for `StripeProvider`s being initialized\n   * and destroyed regularly (with the same set of props) when users only\n   * use `StripeProvider` for the subtree that contains their checkout form.\n   */\n  window.Stripe.__cachedInstances = window.Stripe.__cachedInstances || {};\n  var cacheKey = 'key=' + apiKey + ' options=' + JSON.stringify(options);\n\n  var stripe = window.Stripe.__cachedInstances[cacheKey] || window.Stripe(apiKey, options);\n  window.Stripe.__cachedInstances[cacheKey] = stripe;\n\n  return stripe;\n};\n\nvar ensureStripeShape = function ensureStripeShape(stripe) {\n  if (stripe && stripe.elements && stripe.createSource && stripe.createToken) {\n    return stripe;\n  } else {\n    throw new Error(\"Please pass a valid Stripe object to StripeProvider. You can obtain a Stripe object by calling 'Stripe(...)' with your publishable key.\");\n  }\n};\n\nvar Provider = function (_React$Component) {\n  _inherits(Provider, _React$Component);\n\n  // on the other hand: childContextTypes is *required* to use context.\n  function Provider(props) {\n    _classCallCheck(this, Provider);\n\n    var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\n    if (_this.props.apiKey && _this.props.stripe) {\n      throw new Error(\"Please pass either 'apiKey' or 'stripe' to StripeProvider, not both.\");\n    } else if (_this.props.apiKey) {\n      if (!window.Stripe) {\n        throw new Error(\"Please load Stripe.js (https://js.stripe.com/v3/) on this page to use react-stripe-elements. If Stripe.js isn't available yet (it's loading asynchronously, or you're using server-side rendering), see https://github.com/stripe/react-stripe-elements#advanced-integrations\");\n      } else {\n        var _this$props = _this.props,\n            _apiKey = _this$props.apiKey,\n            _children = _this$props.children,\n            _stripe = _this$props.stripe,\n            options = _objectWithoutProperties(_this$props, ['apiKey', 'children', 'stripe']);\n\n        _this._meta = {\n          tag: 'sync',\n          stripe: getOrCreateStripe(_apiKey, options)\n        };\n      }\n    } else if (_this.props.stripe) {\n      // If we already have a stripe instance (in the constructor), we can behave synchronously.\n      _this._meta = {\n        tag: 'sync',\n        stripe: ensureStripeShape(_this.props.stripe)\n      };\n    } else if (_this.props.stripe === null) {\n      _this._meta = {\n        tag: 'async',\n        stripe: null\n      };\n    } else {\n      throw new Error(\"Please pass either 'apiKey' or 'stripe' to StripeProvider. If you're using 'stripe' but don't have a Stripe instance yet, pass 'null' explicitly.\");\n    }\n\n    _this._didWarn = false;\n    _this._didWakeUpListeners = false;\n    _this._listeners = [];\n    return _this;\n  }\n  // Even though we're using flow, also use PropTypes so we can take advantage of developer warnings.\n\n\n  Provider.prototype.getChildContext = function getChildContext() {\n    var _this2 = this;\n\n    // getChildContext is run after the constructor, so we WILL have access to\n    // the initial state.\n    //\n    // However, context doesn't update in respnse to state changes like you\n    // might expect: context is pulled by the child, not pushed by the parent.\n    if (this._meta.tag === 'sync') {\n      return {\n        tag: 'sync',\n        stripe: this._meta.stripe\n      };\n    } else {\n      return {\n        tag: 'async',\n        addStripeLoadListener: function addStripeLoadListener(fn) {\n          if (_this2._meta.stripe) {\n            fn(_this2._meta.stripe);\n          } else {\n            _this2._listeners.push(fn);\n          }\n        }\n      };\n    }\n  };\n\n  Provider.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n    var apiKeyChanged = this.props.apiKey && nextProps.apiKey && this.props.apiKey !== nextProps.apiKey;\n\n    var stripeInstanceChanged = this.props.stripe && nextProps.stripe && this.props.stripe !== nextProps.stripe;\n    if (!this._didWarn && (apiKeyChanged || stripeInstanceChanged) && window.console && window.console.error) {\n      this._didWarn = true;\n      // eslint-disable-next-line no-console\n      console.error('StripeProvider does not support changing the apiKey parameter.');\n      return;\n    }\n\n    if (!this._didWakeUpListeners && nextProps.stripe) {\n      // Wake up the listeners if we've finally been given a StripeShape\n      this._didWakeUpListeners = true;\n      var _stripe2 = ensureStripeShape(nextProps.stripe);\n      this._meta.stripe = _stripe2;\n      this._listeners.forEach(function (fn) {\n        fn(_stripe2);\n      });\n    }\n  };\n\n  Provider.prototype.render = function render() {\n    return _react2.default.Children.only(this.props.children);\n  };\n\n  return Provider;\n}(_react2.default.Component);\n\nProvider.propTypes = {\n  apiKey: _propTypes2.default.string,\n  // PropTypes.object is the only way we can accept a Stripe instance\n  // eslint-disable-next-line react/forbid-prop-types\n  stripe: _propTypes2.default.object,\n  children: _propTypes2.default.node\n};\nProvider.childContextTypes = providerContextTypes;\nProvider.defaultProps = {\n  apiKey: undefined,\n  stripe: undefined,\n  children: null\n};\nexports.default = Provider;", "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.elementContextTypes = exports.injectContextTypes = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _Provider = require('./Provider');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar injectContextTypes = exports.injectContextTypes = {\n  getRegisteredElements: _propTypes2.default.func.isRequired\n};\n\nvar elementContextTypes = exports.elementContextTypes = {\n  addElementsLoadListener: _propTypes2.default.func.isRequired,\n  registerElement: _propTypes2.default.func.isRequired,\n  unregisterElement: _propTypes2.default.func.isRequired\n};\n\nvar Elements = function (_React$Component) {\n  _inherits(Elements, _React$Component);\n\n  function Elements(props, context) {\n    _classCallCheck(this, Elements);\n\n    var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));\n\n    _this.handleRegisterElement = function (element, impliedTokenType, impliedSourceType) {\n      _this.setState(function (prevState) {\n        return {\n          registeredElements: [].concat(_toConsumableArray(prevState.registeredElements), [_extends({\n            element: element\n          }, impliedTokenType ? { impliedTokenType: impliedTokenType } : {}, impliedSourceType ? { impliedSourceType: impliedSourceType } : {})])\n        };\n      });\n    };\n\n    _this.handleUnregisterElement = function (el) {\n      _this.setState(function (prevState) {\n        return {\n          registeredElements: prevState.registeredElements.filter(function (_ref) {\n            var element = _ref.element;\n            return element !== el;\n          })\n        };\n      });\n    };\n\n    _this.state = {\n      registeredElements: []\n    };\n    return _this;\n  }\n\n  Elements.prototype.getChildContext = function getChildContext() {\n    var _this2 = this;\n\n    return {\n      addElementsLoadListener: function addElementsLoadListener(fn) {\n        // Return the existing elements instance if we already have one.\n        if (_this2._elements) {\n          fn(_this2._elements);\n          return;\n        }\n\n        var _props = _this2.props,\n            children = _props.children,\n            options = _objectWithoutProperties(_props, ['children']);\n\n        if (_this2.context.tag === 'sync') {\n          _this2._elements = _this2.context.stripe.elements(options);\n          fn(_this2._elements);\n        } else {\n          _this2.context.addStripeLoadListener(function (stripe) {\n            if (_this2._elements) {\n              fn(_this2._elements);\n            } else {\n              _this2._elements = stripe.elements(options);\n              fn(_this2._elements);\n            }\n          });\n        }\n      },\n      registerElement: this.handleRegisterElement,\n      unregisterElement: this.handleUnregisterElement,\n      getRegisteredElements: function getRegisteredElements() {\n        return _this2.state.registeredElements;\n      }\n    };\n  };\n\n  Elements.prototype.render = function render() {\n    return _react2.default.Children.only(this.props.children);\n  };\n\n  return Elements;\n}(_react2.default.Component);\n\nElements.childContextTypes = _extends({}, injectContextTypes, elementContextTypes);\nElements.contextTypes = _Provider.providerContextTypes;\nElements.defaultProps = {\n  children: null\n};\nexports.default = Elements;", "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Elements = require('./Elements');\n\nvar _Provider = require('./Provider');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// react-redux does a bunch of stuff with pure components / checking if it needs to re-render.\n// not sure if we need to do the same.\nvar inject = function inject(WrappedComponent) {\n  var _class, _temp;\n\n  var componentOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _componentOptions$wit = componentOptions.withRef,\n      withRef = _componentOptions$wit === undefined ? false : _componentOptions$wit;\n\n\n  return _temp = _class = function (_React$Component) {\n    _inherits(_class, _React$Component);\n\n    function _class(props, context) {\n      _classCallCheck(this, _class);\n\n      if (!context || !context.getRegisteredElements) {\n        throw new Error('It looks like you are trying to inject Stripe context outside of an Elements context.\\nPlease be sure the component that calls createSource or createToken is within an <Elements> component.');\n      }\n\n      var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));\n\n      _this.findElement = function (filterBy, specifiedType) {\n        var allElements = _this.context.getRegisteredElements();\n        var filteredElements = allElements.filter(function (e) {\n          return e[filterBy];\n        });\n        var matchingElements = specifiedType === 'auto' ? filteredElements : filteredElements.filter(function (e) {\n          return e[filterBy] === specifiedType;\n        });\n\n        if (matchingElements.length === 1) {\n          return matchingElements[0].element;\n        } else if (matchingElements.length > 1) {\n          throw new Error('You did not specify the type of Source or Token to create.\\n        We could not infer which Element you want to use for this operation.');\n        } else {\n          return null;\n        }\n      };\n\n      _this.requireElement = function (filterBy, specifiedType) {\n        var element = _this.findElement(filterBy, specifiedType);\n        if (element) {\n          return element;\n        } else {\n          throw new Error('You did not specify the type of Source or Token to create.\\n        We could not infer which Element you want to use for this operation.');\n        }\n      };\n\n      _this.wrappedCreateToken = function (stripe) {\n        return function () {\n          var tokenTypeOrOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n          if (tokenTypeOrOptions && (typeof tokenTypeOrOptions === 'undefined' ? 'undefined' : _typeof(tokenTypeOrOptions)) === 'object') {\n            // First argument is options; infer the Element and tokenize\n            var opts = tokenTypeOrOptions;\n\n            var tokenType = opts.type,\n                rest = _objectWithoutProperties(opts, ['type']);\n\n            var specifiedType = typeof tokenType === 'string' ? tokenType : 'auto';\n            // Since only options were passed in, a corresponding Element must exist\n            // for the tokenization to succeed -- thus we call requireElement.\n            var element = _this.requireElement('impliedTokenType', specifiedType);\n            return stripe.createToken(element, rest);\n          } else if (typeof tokenTypeOrOptions === 'string') {\n            // First argument is token type; tokenize with token type and options\n            var _tokenType = tokenTypeOrOptions;\n            return stripe.createToken(_tokenType, options);\n          } else {\n            // If a bad value was passed in for options, throw an error.\n            throw new Error('Invalid options passed to createToken. Expected an object, got ' + (typeof tokenTypeOrOptions === 'undefined' ? 'undefined' : _typeof(tokenTypeOrOptions)) + '.');\n          }\n        };\n      };\n\n      _this.wrappedCreateSource = function (stripe) {\n        return function () {\n          var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n          if (options && (typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {\n            if (typeof options.type !== 'string') {\n              throw new Error('Invalid Source type passed to createSource. Expected string, got ' + _typeof(options.type) + '.');\n            }\n\n            var element = _this.findElement('impliedSourceType', options.type);\n            if (element) {\n              // If an Element exists for the source type, use that to create the\n              // corresponding source.\n              //\n              // NOTE: this prevents users from independently creating sources of\n              // type `foo` if an Element that can create `foo` sources exists in\n              // the current <Elements /> context.\n              return stripe.createSource(element, options);\n            } else {\n              // If no Element exists for the source type, directly create a source.\n              return stripe.createSource(options);\n            }\n          } else {\n            // If a bad value was passed in for options, throw an error.\n            throw new Error('Invalid options passed to createSource. Expected an object, got ' + (typeof options === 'undefined' ? 'undefined' : _typeof(options)) + '.');\n          }\n        };\n      };\n\n      if (_this.context.tag === 'sync') {\n        _this.state = {\n          stripe: _this.stripeProps(_this.context.stripe)\n        };\n      } else {\n        _this.state = {\n          stripe: null\n        };\n      }\n      return _this;\n    }\n\n    _class.prototype.componentDidMount = function componentDidMount() {\n      var _this2 = this;\n\n      if (this.context.tag === 'async') {\n        this.context.addStripeLoadListener(function (stripe) {\n          _this2.setState({\n            stripe: _this2.stripeProps(stripe)\n          });\n        });\n      } else {\n        // when 'sync', it's already set in the constructor.\n      }\n    };\n\n    _class.prototype.getWrappedInstance = function getWrappedInstance() {\n      if (!withRef) {\n        throw new Error('To access the wrapped instance, the `{withRef: true}` option must be set when calling `injectStripe()`');\n      }\n      return this.wrappedInstance;\n    };\n\n    _class.prototype.stripeProps = function stripeProps(stripe) {\n      return _extends({}, stripe, {\n        // These are the only functions that take elements.\n        createToken: this.wrappedCreateToken(stripe),\n        createSource: this.wrappedCreateSource(stripe)\n      });\n    };\n\n    // Finds an Element by the specified type, if one exists.\n    // Throws if multiple Elements match.\n\n\n    // Require that exactly one Element is found for the specified type.\n    // Throws if no Element is found.\n\n\n    // Wraps createToken in order to infer the Element that is being tokenized.\n\n\n    // Wraps createSource in order to infer the Element that is being used for\n    // source creation.\n\n\n    _class.prototype.render = function render() {\n      var _this3 = this;\n\n      return _react2.default.createElement(WrappedComponent, _extends({}, this.props, {\n        stripe: this.state.stripe,\n        ref: withRef ? function (c) {\n          _this3.wrappedInstance = c;\n        } : null\n      }));\n    };\n\n    return _class;\n  }(_react2.default.Component), _class.contextTypes = _extends({}, _Provider.providerContextTypes, _Elements.injectContextTypes), _class.displayName = 'InjectStripe(' + (WrappedComponent.displayName || WrappedComponent.name || 'Component') + ')', _temp;\n};\n\nexports.default = inject;", "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar PLAIN_OBJECT_STR = '[object Object]';\n\nvar isEqual = function isEqual(left, right) {\n  if ((typeof left === 'undefined' ? 'undefined' : _typeof(left)) !== 'object' || (typeof right === 'undefined' ? 'undefined' : _typeof(right)) !== 'object') {\n    return left === right;\n  }\n\n  if (left === null || right === null) return left === right;\n\n  var leftArray = Array.isArray(left);\n  var rightArray = Array.isArray(right);\n\n  if (leftArray !== rightArray) return false;\n\n  var leftPlainObject = Object.prototype.toString.call(left) === PLAIN_OBJECT_STR;\n  var rightPlainObject = Object.prototype.toString.call(right) === PLAIN_OBJECT_STR;\n\n  if (leftPlainObject !== rightPlainObject) return false;\n\n  if (!leftPlainObject && !leftArray) return false;\n\n  var leftKeys = Object.keys(left);\n  var rightKeys = Object.keys(right);\n\n  if (leftKeys.length !== rightKeys.length) return false;\n\n  var keySet = {};\n  for (var i = 0; i < leftKeys.length; i += 1) {\n    keySet[leftKeys[i]] = true;\n  }\n  for (var _i = 0; _i < rightKeys.length; _i += 1) {\n    keySet[rightKeys[_i]] = true;\n  }\n  var allKeys = Object.keys(keySet);\n  if (allKeys.length !== leftKeys.length) {\n    return false;\n  }\n\n  var l = left;\n  var r = right;\n  var pred = function pred(key) {\n    return isEqual(l[key], r[key]);\n  };\n\n  return allKeys.every(pred);\n};\n\nexports.default = isEqual;", "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _isEqual = require('../utils/isEqual');\n\nvar _isEqual2 = _interopRequireDefault(_isEqual);\n\nvar _Elements = require('./Elements');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nvar noop = function noop() {};\n\nvar _extractOptions = function _extractOptions(props) {\n  var id = props.id,\n      className = props.className,\n      onChange = props.onChange,\n      onFocus = props.onFocus,\n      onBlur = props.onBlur,\n      onReady = props.onReady,\n      options = _objectWithoutProperties(props, ['id', 'className', 'onChange', 'onFocus', 'onBlur', 'onReady']);\n\n  return options;\n};\n\nvar capitalized = function capitalized(str) {\n  return str.charAt(0).toUpperCase() + str.slice(1);\n};\n\nvar Element = function Element(type) {\n  var _class, _temp;\n\n  var hocOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  return _temp = _class = function (_React$Component) {\n    _inherits(_class, _React$Component);\n\n    function _class(props, context) {\n      _classCallCheck(this, _class);\n\n      var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));\n\n      _this.handleRef = function (ref) {\n        _this._ref = ref;\n      };\n\n      _this._element = null;\n\n      var options = _extractOptions(_this.props);\n      // We keep track of the extracted options on this._options to avoid re-rendering.\n      // (We would unnecessarily re-render if we were tracking them with state.)\n      _this._options = options;\n      return _this;\n    }\n\n    _class.prototype.componentDidMount = function componentDidMount() {\n      var _this2 = this;\n\n      this.context.addElementsLoadListener(function (elements) {\n        var element = elements.create(type, _this2._options);\n        _this2._element = element;\n\n        _this2._setupEventListeners(element);\n\n        element.mount(_this2._ref);\n\n        // Register Element for automatic token / source creation\n        if (hocOptions.impliedTokenType || hocOptions.impliedSourceType) {\n          _this2.context.registerElement(element, hocOptions.impliedTokenType, hocOptions.impliedSourceType);\n        }\n      });\n    };\n\n    _class.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n      var options = _extractOptions(nextProps);\n      if (Object.keys(options).length !== 0 && !(0, _isEqual2.default)(options, this._options)) {\n        this._options = options;\n        if (this._element) {\n          this._element.update(options);\n        }\n      }\n    };\n\n    _class.prototype.componentWillUnmount = function componentWillUnmount() {\n      if (this._element) {\n        var element = this._element;\n        element.destroy();\n        this.context.unregisterElement(element);\n      }\n    };\n\n    _class.prototype._setupEventListeners = function _setupEventListeners(element) {\n      var _this3 = this;\n\n      element.on('ready', function () {\n        _this3.props.onReady(_this3._element);\n      });\n\n      element.on('change', function (change) {\n        _this3.props.onChange(change);\n      });\n\n      element.on('blur', function () {\n        var _props;\n\n        return (_props = _this3.props).onBlur.apply(_props, arguments);\n      });\n      element.on('focus', function () {\n        var _props2;\n\n        return (_props2 = _this3.props).onFocus.apply(_props2, arguments);\n      });\n    };\n\n    _class.prototype.render = function render() {\n      return _react2.default.createElement('div', {\n        id: this.props.id,\n        className: this.props.className,\n        ref: this.handleRef\n      });\n    };\n\n    return _class;\n  }(_react2.default.Component), _class.propTypes = {\n    id: _propTypes2.default.string,\n    className: _propTypes2.default.string,\n    onChange: _propTypes2.default.func,\n    onBlur: _propTypes2.default.func,\n    onFocus: _propTypes2.default.func,\n    onReady: _propTypes2.default.func\n  }, _class.defaultProps = {\n    id: undefined,\n    className: undefined,\n    onChange: noop,\n    onBlur: noop,\n    onFocus: noop,\n    onReady: noop\n  }, _class.contextTypes = _Elements.elementContextTypes, _class.displayName = capitalized(type) + 'Element', _temp;\n};\n\nexports.default = Element;", "\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nvar shallowEqual = function shallowEqual(a, b) {\n  var keysA = Object.keys(a);\n  var keysB = Object.keys(b);\n\n  return keysA.length === keysB.length && keysA.every(function (key) {\n    return b.hasOwnProperty(key) && b[key] === a[key];\n  });\n};\n\nexports.default = shallowEqual;", "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _shallowEqual = require('../utils/shallowEqual');\n\nvar _shallowEqual2 = _interopRequireDefault(_shallowEqual);\n\nvar _Elements = require('./Elements');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nvar noop = function noop() {};\n\nvar _extractOptions = function _extractOptions(props) {\n  var id = props.id,\n      className = props.className,\n      onBlur = props.onBlur,\n      onClick = props.onClick,\n      onFocus = props.onFocus,\n      onReady = props.onReady,\n      paymentRequest = props.paymentRequest,\n      options = _objectWithoutProperties(props, ['id', 'className', 'onBlur', 'onClick', 'onFocus', 'onReady', 'paymentRequest']);\n\n  return options;\n};\n\nvar PaymentRequestButtonElement = function (_React$Component) {\n  _inherits(PaymentRequestButtonElement, _React$Component);\n\n  function PaymentRequestButtonElement(props, context) {\n    _classCallCheck(this, PaymentRequestButtonElement);\n\n    var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));\n\n    _this.handleRef = function (ref) {\n      _this._ref = ref;\n    };\n\n    var options = _extractOptions(props);\n    // We keep track of the extracted options on this._options to avoid re-rendering.\n    // (We would unnecessarily re-render if we were tracking them with state.)\n    _this._options = options;\n    return _this;\n  }\n\n  PaymentRequestButtonElement.prototype.componentDidMount = function componentDidMount() {\n    var _this2 = this;\n\n    this.context.addElementsLoadListener(function (elements) {\n      _this2._element = elements.create('paymentRequestButton', _extends({\n        paymentRequest: _this2.props.paymentRequest\n      }, _this2._options));\n      _this2._element.on('ready', function () {\n        _this2.props.onReady(_this2._element);\n      });\n      _this2._element.on('focus', function () {\n        var _props;\n\n        return (_props = _this2.props).onFocus.apply(_props, arguments);\n      });\n      _this2._element.on('click', function () {\n        var _props2;\n\n        return (_props2 = _this2.props).onClick.apply(_props2, arguments);\n      });\n      _this2._element.on('blur', function () {\n        var _props3;\n\n        return (_props3 = _this2.props).onBlur.apply(_props3, arguments);\n      });\n      _this2._element.mount(_this2._ref);\n    });\n  };\n\n  PaymentRequestButtonElement.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n    if (this.props.paymentRequest !== nextProps.paymentRequest) {\n      console.warn('Unsupported prop change: paymentRequest is not a customizable property.');\n    }\n    var options = _extractOptions(nextProps);\n    if (Object.keys(options).length !== 0 && !(0, _shallowEqual2.default)(options, this._options)) {\n      this._options = options;\n      this._element.update(options);\n    }\n  };\n\n  PaymentRequestButtonElement.prototype.componentWillUnmount = function componentWillUnmount() {\n    this._element.destroy();\n  };\n\n  PaymentRequestButtonElement.prototype.render = function render() {\n    return _react2.default.createElement('div', {\n      id: this.props.id,\n      className: this.props.className,\n      ref: this.handleRef\n    });\n  };\n\n  return PaymentRequestButtonElement;\n}(_react2.default.Component);\n\nPaymentRequestButtonElement.propTypes = {\n  id: _propTypes2.default.string,\n  className: _propTypes2.default.string,\n  onBlur: _propTypes2.default.func,\n  onClick: _propTypes2.default.func,\n  onFocus: _propTypes2.default.func,\n  onReady: _propTypes2.default.func,\n  paymentRequest: _propTypes2.default.shape({\n    canMakePayment: _propTypes2.default.func.isRequired,\n    on: _propTypes2.default.func.isRequired,\n    show: _propTypes2.default.func.isRequired\n  }).isRequired\n};\nPaymentRequestButtonElement.defaultProps = {\n  id: undefined,\n  className: undefined,\n  onBlur: noop,\n  onClick: noop,\n  onFocus: noop,\n  onReady: noop\n};\nPaymentRequestButtonElement.contextTypes = _Elements.elementContextTypes;\nexports.default = PaymentRequestButtonElement;", "'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.IdealBankElement = exports.IbanElement = exports.PaymentRequestButtonElement = exports.PostalCodeElement = exports.CardCVCElement = exports.CardExpiryElement = exports.CardNumberElement = exports.CardElement = exports.Elements = exports.injectStripe = exports.StripeProvider = undefined;\n\nvar _Provider = require('./components/Provider');\n\nvar _Provider2 = _interopRequireDefault(_Provider);\n\nvar _inject = require('./components/inject');\n\nvar _inject2 = _interopRequireDefault(_inject);\n\nvar _Elements = require('./components/Elements');\n\nvar _Elements2 = _interopRequireDefault(_Elements);\n\nvar _Element = require('./components/Element');\n\nvar _Element2 = _interopRequireDefault(_Element);\n\nvar _PaymentRequestButtonElement = require('./components/PaymentRequestButtonElement');\n\nvar _PaymentRequestButtonElement2 = _interopRequireDefault(_PaymentRequestButtonElement);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Define Elements, and register their implied token / source types for\n// automatic token / source creation.\n\n// Card\nvar CardElement = (0, _Element2.default)('card', {\n  impliedTokenType: 'card',\n  impliedSourceType: 'card'\n});\n\n// Split Fields\n// Note: we only register the CardNumberElement for split fields so that we have\n// a unique Element to infer when calling `wrappedCreateToken` or `wrappedCreateSource`.\n\nvar CardNumberElement = (0, _Element2.default)('cardNumber', {\n  impliedTokenType: 'card',\n  impliedSourceType: 'card'\n});\nvar CardExpiryElement = (0, _Element2.default)('cardExpiry');\nvar CardCVCElement = (0, _Element2.default)('cardCvc');\nvar PostalCodeElement = (0, _Element2.default)('postalCode');\n\n// IBAN\nvar IbanElement = (0, _Element2.default)('iban', {\n  impliedTokenType: 'bank_account',\n  impliedSourceType: 'sepa_debit'\n});\n\n// iDEAL Bank\nvar IdealBankElement = (0, _Element2.default)('idealBank', { impliedSourceType: 'ideal' });\n\nexports.StripeProvider = _Provider2.default;\nexports.injectStripe = _inject2.default;\nexports.Elements = _Elements2.default;\nexports.CardElement = CardElement;\nexports.CardNumberElement = CardNumberElement;\nexports.CardExpiryElement = CardExpiryElement;\nexports.CardCVCElement = CardCVCElement;\nexports.PostalCodeElement = PostalCodeElement;\nexports.PaymentRequestButtonElement = _PaymentRequestButtonElement2.default;\nexports.IbanElement = IbanElement;\nexports.IdealBankElement = IdealBankElement;"],
  "mappings": "+JAAA,IAAAA,EAAAC,EAAAC,GAAA,cAAAC,IAAAC,IAEA,OAAO,eAAeF,EAAS,aAAc,CAC3C,MAAO,EACT,CAAC,EACDA,EAAQ,qBAAuB,OAE/B,IAAIG,GAAS,IAETC,EAAUC,EAAuBF,EAAM,EAEvCG,GAAa,IAEbC,EAAcF,EAAuBC,EAAU,EAEnD,SAASD,EAAuBG,EAAK,CAAE,OAAOA,GAAOA,EAAI,WAAaA,EAAM,CAAE,QAASA,CAAI,CAAG,CAArFC,EAAAJ,EAAA,0BAET,SAASK,GAAyBF,EAAKG,EAAM,CAAE,IAAIC,EAAS,CAAC,EAAG,QAASC,KAAKL,EAAWG,EAAK,QAAQE,CAAC,GAAK,GAAiB,CAAC,OAAO,UAAU,eAAe,KAAKL,EAAKK,CAAC,IAAaD,EAAOC,GAAKL,EAAIK,IAAM,OAAOD,CAAQ,CAAlNH,EAAAC,GAAA,4B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aAAeO,GAAS,QAChCP,EAAQ,SAAWS,GAAW,QAC9BT,EAAQ,YAAcgB,GACtBhB,EAAQ,kBAAoBiB,GAC5BjB,EAAQ,kBAAoBkB,GAC5BlB,EAAQ,eAAiBmB,GACzBnB,EAAQ,kBAAoBoB,GAC5BpB,EAAQ,4BAA8Ba,GAA8B,QACpEb,EAAQ,YAAcqB,GACtBrB,EAAQ,iBAAmBsB",
  "names": ["require_Provider", "__commonJSMin", "exports", "init_virtual_process_polyfill", "init_buffer", "_react", "_react2", "_interopRequireDefault", "_propTypes", "_propTypes2", "obj", "__name", "_objectWithoutProperties", "keys", "target", "i", "_classCallCheck", "instance", "Constructor", "_possibleConstructorReturn", "self", "call", "_inherits", "subClass", "superClass", "providerContextTypes", "getOrCreateStripe", "apiKey", "options", "cacheKey", "stripe", "ensureStripeShape", "Provider", "_React$Component", "props", "_this", "_this$props", "_apiKey", "_children", "_stripe", "_this2", "fn", "nextProps", "apiKeyChanged", "stripeInstanceChanged", "_stripe2", "require_Elements", "__commonJSMin", "exports", "init_virtual_process_polyfill", "init_buffer", "_extends", "target", "i", "source", "key", "_react", "_react2", "_interopRequireDefault", "_propTypes", "_propTypes2", "_Provider", "obj", "__name", "_objectWithoutProperties", "keys", "_toConsumableArray", "arr", "arr2", "_classCallCheck", "instance", "Constructor", "_possibleConstructorReturn", "self", "call", "_inherits", "subClass", "superClass", "injectContextTypes", "elementContextTypes", "Elements", "_React$Component", "props", "context", "_this", "element", "impliedTokenType", "impliedSourceType", "prevState", "el", "_ref", "_this2", "fn", "_props", "children", "options", "stripe", "require_inject", "__commonJSMin", "exports", "init_virtual_process_polyfill", "init_buffer", "_extends", "target", "i", "source", "key", "_typeof", "obj", "_react", "_react2", "_interopRequireDefault", "_Elements", "_Provider", "__name", "_objectWithoutProperties", "keys", "_classCallCheck", "instance", "Constructor", "_possibleConstructorReturn", "self", "call", "_inherits", "subClass", "superClass", "inject", "WrappedComponent", "_class", "_temp", "componentOptions", "_componentOptions$wit", "withRef", "_React$Component", "props", "context", "_this", "filterBy", "specifiedType", "allElements", "filteredElements", "e", "matchingElements", "element", "stripe", "tokenTypeOrOptions", "options", "opts", "tokenType", "rest", "_tokenType", "_this2", "_this3", "c", "require_isEqual", "__commonJSMin", "exports", "init_virtual_process_polyfill", "init_buffer", "_typeof", "obj", "PLAIN_OBJECT_STR", "isEqual", "__name", "left", "right", "leftArray", "rightArray", "leftPlainObject", "rightPlainObject", "leftKeys", "rightKeys", "keySet", "i", "_i", "allKeys", "l", "r", "pred", "key", "require_Element", "__commonJSMin", "exports", "init_virtual_process_polyfill", "init_buffer", "_react", "_react2", "_interopRequireDefault", "_propTypes", "_propTypes2", "_isEqual", "_isEqual2", "_Elements", "obj", "__name", "_classCallCheck", "instance", "Constructor", "_possibleConstructorReturn", "self", "call", "_inherits", "subClass", "superClass", "_objectWithoutProperties", "keys", "target", "i", "noop", "_extractOptions", "props", "id", "className", "onChange", "onFocus", "onBlur", "onReady", "options", "capitalized", "str", "Element", "type", "_class", "_temp", "hocOptions", "_React$Component", "context", "_this", "ref", "_this2", "elements", "element", "nextProps", "_this3", "change", "_props", "_props2", "require_shallowEqual", "__commonJSMin", "exports", "init_virtual_process_polyfill", "init_buffer", "shallowEqual", "__name", "a", "b", "keysA", "keysB", "key", "require_PaymentRequestButtonElement", "__commonJSMin", "exports", "init_virtual_process_polyfill", "init_buffer", "_extends", "target", "i", "source", "key", "_react", "_react2", "_interopRequireDefault", "_propTypes", "_propTypes2", "_shallowEqual", "_shallowEqual2", "_Elements", "obj", "__name", "_classCallCheck", "instance", "Constructor", "_possibleConstructorReturn", "self", "call", "_inherits", "subClass", "superClass", "_objectWithoutProperties", "keys", "noop", "_extractOptions", "props", "id", "className", "onBlur", "onClick", "onFocus", "onReady", "paymentRequest", "options", "PaymentRequestButtonElement", "_React$Component", "context", "_this", "ref", "_this2", "elements", "_props", "_props2", "_props3", "nextProps", "require_es", "__commonJSMin", "exports", "init_virtual_process_polyfill", "init_buffer", "_Provider", "_Provider2", "_interopRequireDefault", "_inject", "_inject2", "_Elements", "_Elements2", "_Element", "_Element2", "_PaymentRequestButtonElement", "_PaymentRequestButtonElement2", "obj", "__name", "CardElement", "CardNumberElement", "CardExpiryElement", "CardCVCElement", "PostalCodeElement", "IbanElement", "IdealBankElement"]
}